aws-sdk-for-zig/codegen/models/organizations.2016-11-28.json

5928 lines
402 KiB
JSON
Raw Permalink Normal View History

2021-05-30 01:17:45 +00:00
{
"smithy": "1.0",
"metadata": {
"suppressions": [
{
"id": "HttpMethodSemantics",
"namespace": "*"
},
{
"id": "HttpResponseCodeSemantics",
"namespace": "*"
},
{
"id": "PaginatedTrait",
"namespace": "*"
},
{
"id": "HttpHeaderTrait",
"namespace": "*"
},
{
"id": "HttpUriConflict",
"namespace": "*"
},
{
"id": "Service",
"namespace": "*"
}
]
},
"shapes": {
"com.amazonaws.organizations#AWSOrganizationsNotInUseException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>Your account isn't a member of an organization. To make this request, you must use the\n credentials of an account that belongs to an organization.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.organizations#AWSOrganizationsV20161128": {
"type": "service",
"version": "2016-11-28",
"operations": [
{
"target": "com.amazonaws.organizations#AcceptHandshake"
},
{
"target": "com.amazonaws.organizations#AttachPolicy"
},
{
"target": "com.amazonaws.organizations#CancelHandshake"
},
{
"target": "com.amazonaws.organizations#CreateAccount"
},
{
"target": "com.amazonaws.organizations#CreateGovCloudAccount"
},
{
"target": "com.amazonaws.organizations#CreateOrganization"
},
{
"target": "com.amazonaws.organizations#CreateOrganizationalUnit"
},
{
"target": "com.amazonaws.organizations#CreatePolicy"
},
{
"target": "com.amazonaws.organizations#DeclineHandshake"
},
{
"target": "com.amazonaws.organizations#DeleteOrganization"
},
{
"target": "com.amazonaws.organizations#DeleteOrganizationalUnit"
},
{
"target": "com.amazonaws.organizations#DeletePolicy"
},
{
"target": "com.amazonaws.organizations#DeregisterDelegatedAdministrator"
},
{
"target": "com.amazonaws.organizations#DescribeAccount"
},
{
"target": "com.amazonaws.organizations#DescribeCreateAccountStatus"
},
{
"target": "com.amazonaws.organizations#DescribeEffectivePolicy"
},
{
"target": "com.amazonaws.organizations#DescribeHandshake"
},
{
"target": "com.amazonaws.organizations#DescribeOrganization"
},
{
"target": "com.amazonaws.organizations#DescribeOrganizationalUnit"
},
{
"target": "com.amazonaws.organizations#DescribePolicy"
},
{
"target": "com.amazonaws.organizations#DetachPolicy"
},
{
"target": "com.amazonaws.organizations#DisableAWSServiceAccess"
},
{
"target": "com.amazonaws.organizations#DisablePolicyType"
},
{
"target": "com.amazonaws.organizations#EnableAllFeatures"
},
{
"target": "com.amazonaws.organizations#EnableAWSServiceAccess"
},
{
"target": "com.amazonaws.organizations#EnablePolicyType"
},
{
"target": "com.amazonaws.organizations#InviteAccountToOrganization"
},
{
"target": "com.amazonaws.organizations#LeaveOrganization"
},
{
"target": "com.amazonaws.organizations#ListAccounts"
},
{
"target": "com.amazonaws.organizations#ListAccountsForParent"
},
{
"target": "com.amazonaws.organizations#ListAWSServiceAccessForOrganization"
},
{
"target": "com.amazonaws.organizations#ListChildren"
},
{
"target": "com.amazonaws.organizations#ListCreateAccountStatus"
},
{
"target": "com.amazonaws.organizations#ListDelegatedAdministrators"
},
{
"target": "com.amazonaws.organizations#ListDelegatedServicesForAccount"
},
{
"target": "com.amazonaws.organizations#ListHandshakesForAccount"
},
{
"target": "com.amazonaws.organizations#ListHandshakesForOrganization"
},
{
"target": "com.amazonaws.organizations#ListOrganizationalUnitsForParent"
},
{
"target": "com.amazonaws.organizations#ListParents"
},
{
"target": "com.amazonaws.organizations#ListPolicies"
},
{
"target": "com.amazonaws.organizations#ListPoliciesForTarget"
},
{
"target": "com.amazonaws.organizations#ListRoots"
},
{
"target": "com.amazonaws.organizations#ListTagsForResource"
},
{
"target": "com.amazonaws.organizations#ListTargetsForPolicy"
},
{
"target": "com.amazonaws.organizations#MoveAccount"
},
{
"target": "com.amazonaws.organizations#RegisterDelegatedAdministrator"
},
{
"target": "com.amazonaws.organizations#RemoveAccountFromOrganization"
},
{
"target": "com.amazonaws.organizations#TagResource"
},
{
"target": "com.amazonaws.organizations#UntagResource"
},
{
"target": "com.amazonaws.organizations#UpdateOrganizationalUnit"
},
{
"target": "com.amazonaws.organizations#UpdatePolicy"
}
],
"traits": {
"aws.api#service": {
"sdkId": "Organizations",
"arnNamespace": "organizations",
"cloudFormationName": "Organizations",
"cloudTrailEventSource": "organizations.amazonaws.com",
"endpointPrefix": "organizations"
},
"aws.auth#sigv4": {
"name": "organizations"
},
"aws.protocols#awsJson1_1": {},
"smithy.api#documentation": "<p>AWS Organizations is a web service that enables you to consolidate your multiple AWS accounts\n into an <i>organization</i> and centrally manage your accounts and their\n resources.</p>\n <p>This guide provides descriptions of the Organizations operations. For more information about\n using this service, see the <a href=\"http://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html\">AWS Organizations User Guide</a>.</p>\n <p>\n <b>Support and feedback for AWS Organizations</b>\n </p>\n <p>We welcome your feedback. Send your comments to <a href=\"mailto:feedback-awsorganizations@amazon.com\">feedback-awsorganizations@amazon.com</a> or post your feedback and questions in\n the <a href=\"http://forums.aws.amazon.com/forum.jspa?forumID=219\">AWS Organizations support forum</a>. For\n more information about the AWS support forums, see <a href=\"http://forums.aws.amazon.com/help.jspa\">Forums Help</a>.</p>\n <p>\n <b>Endpoint to call When using the AWS CLI or the AWS\n SDK</b>\n </p>\n <p>For the current release of Organizations, specify the <code>us-east-1</code> region for all\n AWS API and AWS CLI calls made from the commercial AWS Regions outside of China. If\n calling from one of the AWS Regions in China, then specify\n <code>cn-northwest-1</code>. You can do this in the AWS CLI by using these parameters and\n commands:</p>\n <ul>\n <li>\n <p>Use the following parameter with each command to specify both the endpoint and\n its region:</p>\n <p>\n <code>--endpoint-url https://organizations.us-east-1.amazonaws.com</code>\n <i>(from commercial AWS Regions outside of China)</i>\n </p>\n <p>or</p>\n <p>\n <code>--endpoint-url\n https://organizations.cn-northwest-1.amazonaws.com.cn</code>\n <i>(from AWS Regions in China)</i>\n </p>\n </li>\n <li>\n <p>Use the default endpoint, but configure your default region with this\n command:</p>\n <p>\n <code>aws configure set default.region us-east-1</code>\n <i>(from commercial AWS Regions outside of China)</i>\n </p>\n <p>or</p>\n <p>\n <code>aws configure set default.region cn-northwest-1</code>\n <i>(from AWS Regions in China)</i>\n </p>\n </li>\n <li>\n <p>Use the following parameter with each command to specify the endpoint:</p>\n <p>\n <code>--region us-east-1</code>\n <i>(from commercial AWS Regions outside of China)</i>\n </p>\n <p>or</p>\n <p>\n <code>--region cn-northwest-1</code>\n <i>(from AWS Regions in China)</i>\n </p>\n </li>\n </ul>\n <p>\n <b>Recording API Requests</b>\n </p>\n <p>AWS Organizations supports AWS CloudTrail, a service that records AWS API calls for your AWS\n account and delivers log files to an Amazon S3 bucket. By using information collected by\n AWS CloudTrail, you can determine which requests the Organizations service received, who made the request\n and when, and so on. For more about AWS Organizations and its support for AWS CloudTrail, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_incident-response.html#orgs_cloudtrail-integration\">Logging\n AWS Organizations Events with AWS CloudTrail</a> in the <i>AWS Organizations User Guide</i>.\n To learn more about AWS CloudT
"smithy.api#title": "AWS Organizations",
"smithy.api#xmlNamespace": {
"uri": "http://organizations.amazonaws.com/doc/2016-11-28/"
}
}
},
"com.amazonaws.organizations#AcceptHandshake": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#AcceptHandshakeRequest"
},
"output": {
"target": "com.amazonaws.organizations#AcceptHandshakeResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AccessDeniedForDependencyException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#HandshakeAlreadyInStateException"
},
{
"target": "com.amazonaws.organizations#HandshakeConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#HandshakeNotFoundException"
},
{
"target": "com.amazonaws.organizations#InvalidHandshakeTransitionException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Sends a response to the originator of a handshake agreeing to the action proposed by\n the handshake request.</p>\n <p>This operation can be called only by the following principals when they also have the\n relevant IAM permissions:</p>\n <ul>\n <li>\n <p>\n <b>Invitation to join</b> or <b>Approve all features request</b> handshakes: only a principal from\n the member account.</p>\n <p>The user who calls the API for an invitation to join must have the\n <code>organizations:AcceptHandshake</code> permission. If you enabled all\n features in the organization, the user must also have the\n <code>iam:CreateServiceLinkedRole</code> permission so that AWS Organizations can\n create the required service-linked role named <code>AWSServiceRoleForOrganizations</code>. For\n more information, see <a href=\"http://docs.aws.amazon.com/organizations/latest/userguide/orgs_integration_services.html#orgs_integration_service-linked-roles\">AWS Organizations and Service-Linked Roles</a> in the\n <i>AWS Organizations User Guide</i>.</p>\n </li>\n <li>\n <p>\n <b>Enable all features final confirmation</b>\n handshake: only a principal from the management account.</p>\n <p>For more information about invitations, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_invites.html\">Inviting an AWS Account to Join Your Organization</a> in the\n <i>AWS Organizations User Guide.</i> For more information about requests to\n enable all features in the organization, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">Enabling All Features in Your Organization</a> in\n the <i>AWS Organizations User Guide.</i>\n </p>\n </li>\n </ul>\n <p>After you accept a handshake, it continues to appear in the results of relevant APIs\n for only 30 days. After that, it's deleted.</p>"
}
},
"com.amazonaws.organizations#AcceptHandshakeRequest": {
"type": "structure",
"members": {
"HandshakeId": {
"target": "com.amazonaws.organizations#HandshakeId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the handshake that you want to accept.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for handshake ID string requires \"h-\" \n followed by from 8 to 32 lowercase letters or digits.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#AcceptHandshakeResponse": {
"type": "structure",
"members": {
"Handshake": {
"target": "com.amazonaws.organizations#Handshake",
"traits": {
"smithy.api#documentation": "<p>A structure that contains details about the accepted handshake.</p>"
}
}
}
},
"com.amazonaws.organizations#AccessDeniedException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>You don't have permissions to perform the requested operation. The user or role that\n is making the request must have at least one IAM permissions policy attached that\n grants the required permissions. For more information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html\">Access Management</a> in the\n <i>IAM User Guide.</i>\n </p>",
"smithy.api#error": "client",
"smithy.api#httpError": 403
}
},
"com.amazonaws.organizations#AccessDeniedForDependencyException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
},
"Reason": {
"target": "com.amazonaws.organizations#AccessDeniedForDependencyExceptionReason"
}
},
"traits": {
"smithy.api#documentation": "<p>The operation that you attempted requires you to have the\n <code>iam:CreateServiceLinkedRole</code> for\n <code>organizations.amazonaws.com</code> permission so that AWS Organizations can create the\n required service-linked role. You don't have that permission.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 403
}
},
"com.amazonaws.organizations#AccessDeniedForDependencyExceptionReason": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE",
"name": "ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE"
}
]
}
},
"com.amazonaws.organizations#Account": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.organizations#AccountId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the account.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for an account ID string requires exactly 12\n digits.</p>"
}
},
"Arn": {
"target": "com.amazonaws.organizations#AccountArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the account.</p>\n <p>For more information about ARNs in Organizations, see <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies\">ARN \n Formats Supported by Organizations</a> in the <i>AWS Service Authorization Reference</i>.</p>"
}
},
"Email": {
"target": "com.amazonaws.organizations#Email",
"traits": {
"smithy.api#documentation": "<p>The email address associated with the AWS account.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for this parameter is a string of characters that represents a\n standard internet email address.</p>"
}
},
"Name": {
"target": "com.amazonaws.organizations#AccountName",
"traits": {
"smithy.api#documentation": "<p>The friendly name of the account.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> \n that is used to validate this parameter is a string of any of the characters in the ASCII \n character range.</p>"
}
},
"Status": {
"target": "com.amazonaws.organizations#AccountStatus",
"traits": {
"smithy.api#documentation": "<p>The status of the account in the organization.</p>"
}
},
"JoinedMethod": {
"target": "com.amazonaws.organizations#AccountJoinedMethod",
"traits": {
"smithy.api#documentation": "<p>The method by which the account joined the organization.</p>"
}
},
"JoinedTimestamp": {
"target": "com.amazonaws.organizations#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date the account became a part of the organization.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about an AWS account that is a member of an\n organization.</p>"
}
},
"com.amazonaws.organizations#AccountAlreadyRegisteredException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The specified account is already a delegated administrator for this AWS\n service.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#AccountArn": {
"type": "string",
"traits": {
"smithy.api#pattern": "^arn:aws:organizations::\\d{12}:account\\/o-[a-z0-9]{10,32}\\/\\d{12}"
}
},
"com.amazonaws.organizations#AccountId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 12
},
"smithy.api#pattern": "^\\d{12}$"
}
},
"com.amazonaws.organizations#AccountJoinedMethod": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "INVITED",
"name": "INVITED"
},
{
"value": "CREATED",
"name": "CREATED"
}
]
}
},
"com.amazonaws.organizations#AccountName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
},
"smithy.api#pattern": "[\\u0020-\\u007E]+",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.organizations#AccountNotFoundException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p> We can't find an AWS account with the <code>AccountId</code> that you specified, or\n the account whose credentials you used to make this request isn't a member of an\n organization.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.organizations#AccountNotRegisteredException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The specified account is not a delegated administrator for this AWS service. </p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#AccountOwnerNotVerifiedException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>You can't invite an existing account to your organization until you verify that you\n own the email address associated with the management account. For more information, see\n <a href=\"http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_create.html#about-email-verification\">Email\n Address Verification</a> in the <i>AWS Organizations User Guide.</i>\n </p>",
"smithy.api#error": "client",
"smithy.api#httpError": 403
}
},
"com.amazonaws.organizations#AccountStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ACTIVE",
"name": "ACTIVE"
},
{
"value": "SUSPENDED",
"name": "SUSPENDED"
}
]
}
},
"com.amazonaws.organizations#Accounts": {
"type": "list",
"member": {
"target": "com.amazonaws.organizations#Account"
}
},
"com.amazonaws.organizations#ActionType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "INVITE",
"name": "INVITE_ACCOUNT_TO_ORGANIZATION"
},
{
"value": "ENABLE_ALL_FEATURES",
"name": "ENABLE_ALL_FEATURES"
},
{
"value": "APPROVE_ALL_FEATURES",
"name": "APPROVE_ALL_FEATURES"
},
{
"value": "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE",
"name": "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE"
}
]
}
},
"com.amazonaws.organizations#AlreadyInOrganizationException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>This account is already a member of an organization. An account can belong to only one\n organization at a time.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#AttachPolicy": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#AttachPolicyRequest"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#DuplicatePolicyAttachmentException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#PolicyChangesInProgressException"
},
{
"target": "com.amazonaws.organizations#PolicyNotFoundException"
},
{
"target": "com.amazonaws.organizations#PolicyTypeNotEnabledException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TargetNotFoundException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Attaches a policy to a root, an organizational unit (OU), or an individual account.\n How the policy affects accounts depends on the type of policy. Refer to the\n <i>AWS Organizations User Guide</i> for information about each policy type:</p>\n <ul>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html\">AISERVICES_OPT_OUT_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html\">BACKUP_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html\">SERVICE_CONTROL_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html\">TAG_POLICY</a>\n </p>\n </li>\n </ul> \n <p>This operation can be called only from the organization's management account.</p>"
}
},
"com.amazonaws.organizations#AttachPolicyRequest": {
"type": "structure",
"members": {
"PolicyId": {
"target": "com.amazonaws.organizations#PolicyId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the policy that you want to attach to the target. You\n can get the ID for the policy by calling the <a>ListPolicies</a>\n operation.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a policy ID string requires \"p-\" followed \n by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).</p>",
"smithy.api#required": {}
}
},
"TargetId": {
"target": "com.amazonaws.organizations#PolicyTargetId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the root, OU, or account that you want to attach the\n policy to. You can get the ID by calling the <a>ListRoots</a>, <a>ListOrganizationalUnitsForParent</a>, or <a>ListAccounts</a>\n operations.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a target ID string requires one of the \n following:</p>\n <ul>\n <li>\n <p>\n <b>Root</b> - A string that begins with \"r-\" followed by from 4 to 32 lowercase letters or \n digits.</p>\n </li>\n <li>\n <p>\n <b>Account</b> - A string that consists of exactly 12 digits.</p>\n </li>\n <li>\n <p>\n <b>Organizational unit (OU)</b> - A string that begins with \"ou-\" followed by from 4 to 32 \n lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second \n \"-\" dash and from 8 to 32 additional lowercase letters or digits.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#AwsManagedPolicy": {
"type": "boolean"
},
"com.amazonaws.organizations#CancelHandshake": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#CancelHandshakeRequest"
},
"output": {
"target": "com.amazonaws.organizations#CancelHandshakeResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#HandshakeAlreadyInStateException"
},
{
"target": "com.amazonaws.organizations#HandshakeNotFoundException"
},
{
"target": "com.amazonaws.organizations#InvalidHandshakeTransitionException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Cancels a handshake. Canceling a handshake sets the handshake state to\n <code>CANCELED</code>.</p>\n <p>This operation can be called only from the account that originated the handshake. The recipient of the handshake can't cancel it, but can use <a>DeclineHandshake</a> instead. After a handshake is canceled, the recipient\n can no longer respond to that handshake.</p>\n <p>After you cancel a handshake, it continues to appear in the results of relevant APIs\n for only 30 days. After that, it's deleted.</p>"
}
},
"com.amazonaws.organizations#CancelHandshakeRequest": {
"type": "structure",
"members": {
"HandshakeId": {
"target": "com.amazonaws.organizations#HandshakeId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the handshake that you want to cancel. You can get the\n ID from the <a>ListHandshakesForOrganization</a> operation.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for handshake ID string requires \"h-\" \n followed by from 8 to 32 lowercase letters or digits.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#CancelHandshakeResponse": {
"type": "structure",
"members": {
"Handshake": {
"target": "com.amazonaws.organizations#Handshake",
"traits": {
"smithy.api#documentation": "<p>A structure that contains details about the handshake that you canceled.</p>"
}
}
}
},
"com.amazonaws.organizations#Child": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.organizations#ChildId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of this child entity.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a child ID string requires one of the \n following:</p>\n <ul>\n <li>\n <p>\n <b>Account</b> - A string that consists of exactly 12 digits.</p>\n </li>\n <li>\n <p>\n <b>Organizational unit (OU)</b> - A string that begins with\n \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that \n contains the OU). This string is followed by a second \"-\" dash and from 8 to 32 additional \n lowercase letters or digits.</p>\n </li>\n </ul>"
}
},
"Type": {
"target": "com.amazonaws.organizations#ChildType",
"traits": {
"smithy.api#documentation": "<p>The type of this child entity.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains a list of child entities, either OUs or accounts.</p>"
}
},
"com.amazonaws.organizations#ChildId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 100
},
"smithy.api#pattern": "^(\\d{12})|(ou-[0-9a-z]{4,32}-[a-z0-9]{8,32})$"
}
},
"com.amazonaws.organizations#ChildNotFoundException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>We can't find an organizational unit (OU) or AWS account with the\n <code>ChildId</code> that you specified.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.organizations#ChildType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ACCOUNT",
"name": "ACCOUNT"
},
{
"value": "ORGANIZATIONAL_UNIT",
"name": "ORGANIZATIONAL_UNIT"
}
]
}
},
"com.amazonaws.organizations#Children": {
"type": "list",
"member": {
"target": "com.amazonaws.organizations#Child"
}
},
"com.amazonaws.organizations#ConcurrentModificationException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The target of the operation is currently being modified by a different request. Try\n again later.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#ConstraintViolationException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
},
"Reason": {
"target": "com.amazonaws.organizations#ConstraintViolationExceptionReason"
}
},
"traits": {
"smithy.api#documentation": "<p>Performing this operation violates a minimum or maximum value limit. For example,\n attempting to remove the last service control policy (SCP) from an OU or root, inviting\n or creating too many accounts to the organization, or attaching too many policies to an\n account, OU, or root. This exception includes a reason that contains additional\n information about the violated limit:</p>\n <note>\n <p>Some of the reasons in the following list might not be applicable to this specific\n API or operation.</p>\n </note>\n <ul>\n <li>\n <p>ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management\n account from the organization. You can't remove the management account. Instead,\n after you remove all member accounts, delete the organization itself.</p>\n </li>\n <li>\n <p>ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account from the\n organization that doesn't yet have enough information to exist as a standalone\n account. This account requires you to first agree to the AWS Customer\n Agreement. Follow the steps at <a href=\"http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master\">Removing a member account from your organization</a>in the\n <i>AWS Organizations User Guide.</i>\n </p>\n </li>\n <li>\n <p>ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove an\n account from the organization that doesn't yet have enough information to exist\n as a standalone account. This account requires you to first complete phone\n verification. Follow the steps at <a href=\"http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master\">Removing a member account from your organization</a> in the\n <i>AWS Organizations User Guide.</i>\n </p>\n </li>\n <li>\n <p>ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of\n accounts that you can create in one day.</p>\n </li>\n <li>\n <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number\n of accounts in an organization. If you need more accounts, contact <a href=\"https://console.aws.amazon.com/support/home#/\">AWS Support</a> to request an increase\n in your limit. </p>\n <p>Or the number of invitations that you tried to send would cause you to exceed\n the limit of accounts in your organization. Send fewer invitations or contact\n AWS Support to request an increase in the number of accounts.</p>\n <note>\n <p>Deleted and closed accounts still count toward your limit.</p>\n </note>\n <important>\n <p>If you get this exception when running a command immediately after\n creating the organization, wait one hour and try again. After an hour, if\n the command continues to fail with this error, contact <a href=\"https://console.aws.amazon.com/support/home#/\">AWS Support</a>.</p>\n </important>\n </li>\n <li>\n <p>CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to register\n the management account of the organization as a delegated administrator for an\n AWS service integrated with Organizations. You can designate only a member\n account as a delegated administrator.</p>\n
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#ConstraintViolationExceptionReason": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ACCOUNT_NUMBER_LIMIT_EXCEEDED",
"name": "ACCOUNT_NUMBER_LIMIT_EXCEEDED"
},
{
"value": "HANDSHAKE_RATE_LIMIT_EXCEEDED",
"name": "HANDSHAKE_RATE_LIMIT_EXCEEDED"
},
{
"value": "OU_NUMBER_LIMIT_EXCEEDED",
"name": "OU_NUMBER_LIMIT_EXCEEDED"
},
{
"value": "OU_DEPTH_LIMIT_EXCEEDED",
"name": "OU_DEPTH_LIMIT_EXCEEDED"
},
{
"value": "POLICY_NUMBER_LIMIT_EXCEEDED",
"name": "POLICY_NUMBER_LIMIT_EXCEEDED"
},
{
"value": "POLICY_CONTENT_LIMIT_EXCEEDED",
"name": "POLICY_CONTENT_LIMIT_EXCEEDED"
},
{
"value": "MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED",
"name": "MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED"
},
{
"value": "MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED",
"name": "MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED"
},
{
"value": "ACCOUNT_CANNOT_LEAVE_ORGANIZATION",
"name": "ACCOUNT_CANNOT_LEAVE_ORGANIZATION"
},
{
"value": "ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA",
"name": "ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA"
},
{
"value": "ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION",
"name": "ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION"
},
{
"value": "MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED",
"name": "MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED"
},
{
"value": "MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED",
"name": "MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED"
},
{
"value": "ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED",
"name": "ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED"
},
{
"value": "MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE",
"name": "MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE"
},
{
"value": "MASTER_ACCOUNT_MISSING_CONTACT_INFO",
"name": "MASTER_ACCOUNT_MISSING_CONTACT_INFO"
},
{
"value": "MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED",
"name": "MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED"
},
{
"value": "ORGANIZATION_NOT_IN_ALL_FEATURES_MODE",
"name": "ORGANIZATION_NOT_IN_ALL_FEATURES_MODE"
},
{
"value": "CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION",
"name": "CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION"
},
{
"value": "EMAIL_VERIFICATION_CODE_EXPIRED",
"name": "EMAIL_VERIFICATION_CODE_EXPIRED"
},
{
"value": "WAIT_PERIOD_ACTIVE",
"name": "WAIT_PERIOD_ACTIVE"
},
{
"value": "MAX_TAG_LIMIT_EXCEEDED",
"name": "MAX_TAG_LIMIT_EXCEEDED"
},
{
"value": "TAG_POLICY_VIOLATION",
"name": "TAG_POLICY_VIOLATION"
},
{
"value": "MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED",
"name": "MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED"
},
{
"value": "CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR",
"name": "CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR"
},
{
"value": "CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG",
"name": "CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG"
},
{
"value": "DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE",
"name": "DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE"
},
{
"value": "MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE",
"name": "MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE"
}
]
}
},
"com.amazonaws.organizations#CreateAccount": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#CreateAccountRequest"
},
"output": {
"target": "com.amazonaws.organizations#CreateAccountResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#FinalizingOrganizationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates an AWS account that is automatically a member of the organization whose\n credentials made the request. This is an asynchronous request that AWS performs in the\n background. Because <code>CreateAccount</code> operates asynchronously, it can return a\n successful completion message even though account initialization might still be in\n progress. You might need to wait a few minutes before you can successfully access the\n account. To check the status of the request, do one of the following:</p>\n <ul>\n <li>\n <p>Use the <code>Id</code> member of the <code>CreateAccountStatus</code>\n response element from this operation to provide as a parameter to the <a>DescribeCreateAccountStatus</a> operation.</p>\n </li>\n <li>\n <p>Check the AWS CloudTrail log for the <code>CreateAccountResult</code> event. For\n information on using AWS CloudTrail with AWS Organizations, see <a href=\"http://docs.aws.amazon.com/organizations/latest/userguide/orgs_security_incident-response.html#orgs_cloudtrail-integration\">Logging and monitoring in AWS Organizations</a> in the\n <i>AWS Organizations User Guide.</i>\n </p>\n </li>\n </ul>\n <p>The user who calls the API to create an account must have the\n <code>organizations:CreateAccount</code> permission. If you enabled all features in\n the organization, AWS Organizations creates the required service-linked role named\n <code>AWSServiceRoleForOrganizations</code>. For more information, see <a href=\"http://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html#orgs_integrate_services-using_slrs\">AWS Organizations and Service-Linked Roles</a> in the\n <i>AWS Organizations User Guide</i>.</p>\n <p>If the request includes tags, then the requester must have the\n <code>organizations:TagResource</code> permission.</p>\n <p>AWS Organizations preconfigures the new member account with a role (named\n <code>OrganizationAccountAccessRole</code> by default) that grants users in the\n management account administrator permissions in the new member account. Principals in\n the management account can assume the role. AWS Organizations clones the company name and address\n information for the new account from the organization's management account.</p>\n <p>This operation can be called only from the organization's management account.</p>\n <p>For more information about creating accounts, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_create.html\">Creating\n an AWS Account in Your Organization</a> in the\n <i>AWS Organizations User Guide.</i>\n </p>\n <important>\n <ul>\n <li>\n <p>When you create an account in an organization using the AWS Organizations console,\n API, or CLI commands, the information required for the account to operate as\n a standalone account, such as a payment method and signing the end user\n license agreement (EULA) is <i>not</i> automatically\n collected. If you must remove an account from your organization later, you\n can do so only after you provide the missing information. Follow the steps\n at <a href=\"http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info\"> To leave an organization as a member account</a> in the\n <i>AWS Organizations User Guide</i>.</p>\n </li>\n <li>\n <p>If you get an exception that indicates that you exceeded
}
},
"com.amazonaws.organizations#CreateAccountFailureReason": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ACCOUNT_LIMIT_EXCEEDED",
"name": "ACCOUNT_LIMIT_EXCEEDED"
},
{
"value": "EMAIL_ALREADY_EXISTS",
"name": "EMAIL_ALREADY_EXISTS"
},
{
"value": "INVALID_ADDRESS",
"name": "INVALID_ADDRESS"
},
{
"value": "INVALID_EMAIL",
"name": "INVALID_EMAIL"
},
{
"value": "CONCURRENT_ACCOUNT_MODIFICATION",
"name": "CONCURRENT_ACCOUNT_MODIFICATION"
},
{
"value": "INTERNAL_FAILURE",
"name": "INTERNAL_FAILURE"
},
{
"value": "GOVCLOUD_ACCOUNT_ALREADY_EXISTS",
"name": "GOVCLOUD_ACCOUNT_ALREADY_EXISTS"
},
{
"value": "MISSING_BUSINESS_VALIDATION",
"name": "MISSING_BUSINESS_VALIDATION"
},
{
"value": "FAILED_BUSINESS_VALIDATION",
"name": "FAILED_BUSINESS_VALIDATION"
},
{
"value": "PENDING_BUSINESS_VALIDATION",
"name": "PENDING_BUSINESS_VALIDATIONv"
},
{
"value": "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION",
"name": "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION"
},
{
"value": "UNKNOWN_BUSINESS_VALIDATION",
"name": "UNKNOWN_BUSINESS_VALIDATION"
},
{
"value": "MISSING_PAYMENT_INSTRUMENT",
"name": "MISSING_PAYMENT_INSTRUMENT"
}
]
}
},
"com.amazonaws.organizations#CreateAccountRequest": {
"type": "structure",
"members": {
"Email": {
"target": "com.amazonaws.organizations#Email",
"traits": {
"smithy.api#documentation": "<p>The email address of the owner to assign to the new member account. This email address\n must not already be associated with another AWS account. You must use a valid email\n address to complete account creation. You can't access the root user of the account or\n remove an account that was created with an invalid email address.</p>",
"smithy.api#required": {}
}
},
"AccountName": {
"target": "com.amazonaws.organizations#AccountName",
"traits": {
"smithy.api#documentation": "<p>The friendly name of the member account.</p>",
"smithy.api#required": {}
}
},
"RoleName": {
"target": "com.amazonaws.organizations#RoleName",
"traits": {
"smithy.api#documentation": "<p>(Optional)</p>\n <p>The name of an IAM role that AWS Organizations automatically preconfigures in the new member\n account. This role trusts the management account, allowing users in the management\n account to assume the role, as permitted by the management account administrator. The\n role has administrator permissions in the new member account.</p>\n <p>If you don't specify this parameter, the role name defaults to\n <code>OrganizationAccountAccessRole</code>.</p>\n <p>For more information about how to use this role to access the member account, see the\n following links:</p>\n <ul>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html#orgs_manage_accounts_create-cross-account-role\">Accessing and Administering the Member Accounts in Your\n Organization</a> in the <i>AWS Organizations User Guide</i>\n </p>\n </li>\n <li>\n <p>Steps 2 and 3 in <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html\">Tutorial:\n Delegate Access Across AWS Accounts Using IAM Roles</a> in the\n <i>IAM User Guide</i>\n </p>\n </li>\n </ul>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> that \n is used to validate this parameter. The pattern can include uppercase \n letters, lowercase letters, digits with no spaces, and any of the following characters: =,.@-</p>"
}
},
"IamUserAccessToBilling": {
"target": "com.amazonaws.organizations#IAMUserAccessToBilling",
"traits": {
"smithy.api#documentation": "<p>If set to <code>ALLOW</code>, the new account enables IAM users to access account\n billing information <i>if</i> they have the required permissions. If set\n to <code>DENY</code>, only the root user of the new account can access account billing\n information. For more information, see <a href=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate\">Activating\n Access to the Billing and Cost Management Console</a> in the\n <i>AWS Billing and Cost Management User Guide</i>.</p>\n <p>If you don't specify this parameter, the value defaults to <code>ALLOW</code>, and\n IAM users and roles with the required permissions can access billing information for\n the new account.</p>"
}
},
"Tags": {
"target": "com.amazonaws.organizations#Tags",
"traits": {
"smithy.api#documentation": "<p>A list of tags that you want to attach to the newly created account. For each tag in\n the list, you must specify both a tag key and a value. You can set the value to an empty\n string, but you can't set it to <code>null</code>. For more information about tagging,\n see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html\">Tagging AWS Organizations\n resources</a> in the AWS Organizations User Guide.</p>\n <note>\n <p>If any one of the tags is invalid or if you exceed the allowed number of tags for\n an account, then the entire request fails and the account is not created.</p>\n </note>"
}
}
}
},
"com.amazonaws.organizations#CreateAccountRequestId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 36
},
"smithy.api#pattern": "^car-[a-z0-9]{8,32}$"
}
},
"com.amazonaws.organizations#CreateAccountResponse": {
"type": "structure",
"members": {
"CreateAccountStatus": {
"target": "com.amazonaws.organizations#CreateAccountStatus",
"traits": {
"smithy.api#documentation": "<p>A structure that contains details about the request to create an account. This\n response structure might not be fully populated when you first receive it because\n account creation is an asynchronous process. You can pass the returned\n <code>CreateAccountStatus</code> ID as a parameter to <a>DescribeCreateAccountStatus</a> to get status about the progress of the\n request at later times. You can also check the AWS CloudTrail log for the\n <code>CreateAccountResult</code> event. For more information, see <a href=\"http://docs.aws.amazon.com/organizations/latest/userguide/orgs_monitoring.html\">Monitoring the Activity in Your\n Organization</a> in the <i>AWS Organizations User Guide</i>.</p>"
}
}
}
},
"com.amazonaws.organizations#CreateAccountState": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "IN_PROGRESS",
"name": "IN_PROGRESS"
},
{
"value": "SUCCEEDED",
"name": "SUCCEEDED"
},
{
"value": "FAILED",
"name": "FAILED"
}
]
}
},
"com.amazonaws.organizations#CreateAccountStates": {
"type": "list",
"member": {
"target": "com.amazonaws.organizations#CreateAccountState"
}
},
"com.amazonaws.organizations#CreateAccountStatus": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.organizations#CreateAccountRequestId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) that references this request. You get this value from the\n response of the initial <a>CreateAccount</a> request to create the\n account.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a create account request ID string \n requires \"car-\" followed by from 8 to 32 lowercase letters or digits.</p>"
}
},
"AccountName": {
"target": "com.amazonaws.organizations#AccountName",
"traits": {
"smithy.api#documentation": "<p>The account name given to the account when it was created.</p>"
}
},
"State": {
"target": "com.amazonaws.organizations#CreateAccountState",
"traits": {
"smithy.api#documentation": "<p>The status of the asynchronous request to create an AWS account.</p>"
}
},
"RequestedTimestamp": {
"target": "com.amazonaws.organizations#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time that the request was made for the account creation.</p>"
}
},
"CompletedTimestamp": {
"target": "com.amazonaws.organizations#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time that the account was created and the request completed.</p>"
}
},
"AccountId": {
"target": "com.amazonaws.organizations#AccountId",
"traits": {
"smithy.api#documentation": "<p>If the account was created successfully, the unique identifier (ID) of the new\n account.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for an account ID string requires exactly 12\n digits.</p>"
}
},
"GovCloudAccountId": {
"target": "com.amazonaws.organizations#AccountId",
"traits": {
"smithy.api#documentation": "<p>If the account was created successfully, the unique identifier (ID) of the new account\n in the AWS GovCloud (US) Region.</p>"
}
},
"FailureReason": {
"target": "com.amazonaws.organizations#CreateAccountFailureReason",
"traits": {
"smithy.api#documentation": "<p>If the request failed, a description of the reason for the failure.</p>\n <ul>\n <li>\n <p>ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached\n the limit on the number of accounts in your organization.</p>\n </li>\n <li>\n <p>CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same\n information.</p>\n </li>\n <li>\n <p>EMAIL_ALREADY_EXISTS: The account could not be created because another AWS\n account with that email address already exists.</p>\n </li>\n <li>\n <p>FAILED_BUSINESS_VALIDATION: The AWS account that owns your organization\n failed to receive business license validation.</p>\n </li>\n <li>\n <p>GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US) Region\n could not be created because this Region already includes an account with that\n email address.</p>\n </li>\n <li>\n <p>IDENTITY_INVALID_BUSINESS_VALIDATION: The AWS account that owns your\n organization can't complete business license validation because it doesn't have\n valid identity data.</p>\n </li>\n <li>\n <p>INVALID_ADDRESS: The account could not be created because the address you\n provided is not valid.</p>\n </li>\n <li>\n <p>INVALID_EMAIL: The account could not be created because the email address you\n provided is not valid.</p>\n </li>\n <li>\n <p>INTERNAL_FAILURE: The account could not be created because of an internal\n failure. Try again later. If the problem persists, contact AWS Customer\n Support.</p>\n </li>\n <li>\n <p>MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization has\n not received Business Validation.</p>\n </li>\n <li>\n <p> MISSING_PAYMENT_INSTRUMENT: You must configure the management account with a\n valid payment method, such as a credit card.</p>\n </li>\n <li>\n <p>PENDING_BUSINESS_VALIDATION: The AWS account that owns your organization is\n still in the process of completing business license validation.</p>\n </li>\n <li>\n <p>UNKNOWN_BUSINESS_VALIDATION: The AWS account that owns your organization has\n an unknown issue with business license validation.</p>\n </li>\n </ul>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains the status about a <a>CreateAccount</a> or <a>CreateGovCloudAccount</a> request to create an AWS account or an AWS\n GovCloud (US) account in an organization.</p>"
}
},
"com.amazonaws.organizations#CreateAccountStatusNotFoundException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>We can't find an create account request with the <code>CreateAccountRequestId</code>\n that you specified.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.organizations#CreateAccountStatuses": {
"type": "list",
"member": {
"target": "com.amazonaws.organizations#CreateAccountStatus"
}
},
"com.amazonaws.organizations#CreateGovCloudAccount": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#CreateGovCloudAccountRequest"
},
"output": {
"target": "com.amazonaws.organizations#CreateGovCloudAccountResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#FinalizingOrganizationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>This action is available if all of the following are true:</p>\n <ul>\n <li>\n <p>You're authorized to create accounts in the AWS GovCloud (US) Region. For\n more information on the AWS GovCloud (US) Region, see the <a href=\"http://docs.aws.amazon.com/govcloud-us/latest/UserGuide/welcome.html\">\n <i>AWS GovCloud User Guide</i>.</a>\n </p>\n </li>\n <li>\n <p>You already have an account in the AWS GovCloud (US) Region that is paired\n with a management account of an organization in the commercial Region.</p>\n </li>\n <li>\n <p>You call this action from the management account of your organization in the\n commercial Region.</p>\n </li>\n <li>\n <p>You have the <code>organizations:CreateGovCloudAccount</code> permission.\n </p>\n </li>\n </ul>\n <p>AWS Organizations automatically creates the required service-linked role named\n <code>AWSServiceRoleForOrganizations</code>. For more information, see <a href=\"http://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html#orgs_integrate_services-using_slrs\">AWS Organizations and Service-Linked Roles</a> in the\n <i>AWS Organizations User Guide.</i>\n </p>\n <p>AWS automatically enables AWS CloudTrail for AWS GovCloud (US) accounts, but you should also\n do the following:</p>\n <ul>\n <li>\n <p>Verify that AWS CloudTrail is enabled to store logs.</p>\n </li>\n <li>\n <p>Create an S3 bucket for AWS CloudTrail log storage.</p>\n <p>For more information, see <a href=\"http://docs.aws.amazon.com/govcloud-us/latest/UserGuide/verifying-cloudtrail.html\">Verifying AWS CloudTrail Is\n Enabled</a> in the <i>AWS GovCloud User Guide</i>.\n </p>\n </li>\n </ul>\n <p>If the request includes tags, then the requester must have the\n <code>organizations:TagResource</code> permission. The tags are attached to the\n commercial account associated with the GovCloud account, rather than the GovCloud\n account itself. To add tags to the GovCloud account, call the <a>TagResource</a> operation in the GovCloud Region after the new GovCloud\n account exists.</p>\n <p>You call this action from the management account of your organization in the\n commercial Region to create a standalone AWS account in the AWS GovCloud (US)\n Region. After the account is created, the management account of an organization in the\n AWS GovCloud (US) Region can invite it to that organization. For more information on\n inviting standalone accounts in the AWS GovCloud (US) to join an organization, see\n <a href=\"http://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html\">AWS Organizations</a> in\n the <i>AWS GovCloud User Guide.</i>\n </p>\n <p>Calling <code>CreateGovCloudAccount</code> is an asynchronous request that AWS\n performs in the background. Because <code>CreateGovCloudAccount</code> operates\n asynchronously, it can return a successful completion message even though account\n initialization might still be in progress. You might need to wait a few minutes before\n you can successfully access the account. To check the status of the request, do one of\n the following:</p>\n <ul>\n <li>\n <p>Use the <code>OperationId</code> response element from this operation to\n provide as a parameter to the <a>DescribeCreateAccountStatus</a>\n operation.</p>\n </li>\n <li>\n
}
},
"com.amazonaws.organizations#CreateGovCloudAccountRequest": {
"type": "structure",
"members": {
"Email": {
"target": "com.amazonaws.organizations#Email",
"traits": {
"smithy.api#documentation": "<p>The email address of the owner to assign to the new member account in the commercial\n Region. This email address must not already be associated with another AWS account.\n You must use a valid email address to complete account creation. You can't access the\n root user of the account or remove an account that was created with an invalid email\n address. Like all request parameters for <code>CreateGovCloudAccount</code>, the request\n for the email address for the AWS GovCloud (US) account originates from the commercial\n Region, not from the AWS GovCloud (US) Region.</p>",
"smithy.api#required": {}
}
},
"AccountName": {
"target": "com.amazonaws.organizations#AccountName",
"traits": {
"smithy.api#documentation": "<p>The friendly name of the member account.</p>",
"smithy.api#required": {}
}
},
"RoleName": {
"target": "com.amazonaws.organizations#RoleName",
"traits": {
"smithy.api#documentation": "<p>(Optional)</p>\n <p>The name of an IAM role that AWS Organizations automatically preconfigures in the new member\n accounts in both the AWS GovCloud (US) Region and in the commercial Region. This role\n trusts the management account, allowing users in the management account to assume the\n role, as permitted by the management account administrator. The role has administrator\n permissions in the new member account.</p>\n <p>If you don't specify this parameter, the role name defaults to\n <code>OrganizationAccountAccessRole</code>.</p>\n <p>For more information about how to use this role to access the member account, see\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html#orgs_manage_accounts_create-cross-account-role\">Accessing and Administering the Member Accounts in Your Organization</a> in the\n <i>AWS Organizations User Guide</i> and steps 2 and 3 in <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html\">Tutorial: Delegate Access Across AWS Accounts Using IAM Roles</a> in the\n <i>IAM User Guide.</i>\n </p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> that \n is used to validate this parameter. The pattern can include uppercase \n letters, lowercase letters, digits with no spaces, and any of the following characters: =,.@-</p>"
}
},
"IamUserAccessToBilling": {
"target": "com.amazonaws.organizations#IAMUserAccessToBilling",
"traits": {
"smithy.api#documentation": "<p>If set to <code>ALLOW</code>, the new linked account in the commercial Region enables\n IAM users to access account billing information <i>if</i> they have the\n required permissions. If set to <code>DENY</code>, only the root user of the new account\n can access account billing information. For more information, see <a href=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate\">Activating\n Access to the Billing and Cost Management Console</a> in the\n <i>AWS Billing and Cost Management User Guide.</i>\n </p>\n <p>If you don't specify this parameter, the value defaults to <code>ALLOW</code>, and\n IAM users and roles with the required permissions can access billing information for\n the new account.</p>"
}
},
"Tags": {
"target": "com.amazonaws.organizations#Tags",
"traits": {
"smithy.api#documentation": "<p>A list of tags that you want to attach to the newly created account. These tags are\n attached to the commercial account associated with the GovCloud account, and not to the\n GovCloud account itself. To add tags to the actual GovCloud account, call the <a>TagResource</a> operation in the GovCloud region after the new GovCloud\n account exists.</p>\n <p>For each tag in the list, you must specify both a tag key and a value. You can set the\n value to an empty string, but you can't set it to <code>null</code>. For more\n information about tagging, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html\">Tagging AWS Organizations resources</a> in the\n AWS Organizations User Guide.</p>\n <note>\n <p>If any one of the tags is invalid or if you exceed the allowed number of tags for\n an account, then the entire request fails and the account is not created.</p>\n </note>"
}
}
}
},
"com.amazonaws.organizations#CreateGovCloudAccountResponse": {
"type": "structure",
"members": {
"CreateAccountStatus": {
"target": "com.amazonaws.organizations#CreateAccountStatus"
}
}
},
"com.amazonaws.organizations#CreateOrganization": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#CreateOrganizationRequest"
},
"output": {
"target": "com.amazonaws.organizations#CreateOrganizationResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AccessDeniedForDependencyException"
},
{
"target": "com.amazonaws.organizations#AlreadyInOrganizationException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates an AWS organization. The account whose user is calling the\n <code>CreateOrganization</code> operation automatically becomes the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">management account</a> of the new organization.</p>\n <p>This operation must be called using credentials from the account that is to become the\n new organization's management account. The principal must also have the relevant IAM\n permissions.</p>\n <p>By default (or if you set the <code>FeatureSet</code> parameter to <code>ALL</code>),\n the new organization is created with all features enabled and service control policies\n automatically enabled in the root. If you instead choose to create the organization\n supporting only the consolidated billing features by setting the <code>FeatureSet</code>\n parameter to <code>CONSOLIDATED_BILLING\"</code>, no policy types are enabled by default,\n and you can't use organization policies</p>"
}
},
"com.amazonaws.organizations#CreateOrganizationRequest": {
"type": "structure",
"members": {
"FeatureSet": {
"target": "com.amazonaws.organizations#OrganizationFeatureSet",
"traits": {
"smithy.api#documentation": "<p>Specifies the feature set supported by the new organization. Each feature set supports\n different levels of functionality.</p>\n <ul>\n <li>\n <p>\n <code>CONSOLIDATED_BILLING</code>: All member accounts have their bills\n consolidated to and paid by the management account. For more information, see\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set-cb-only\">Consolidated billing</a> in the\n <i>AWS Organizations User Guide.</i>\n </p>\n <p> The consolidated billing feature subset isn't available for organizations in\n the AWS GovCloud (US) Region.</p>\n </li>\n <li>\n <p>\n <code>ALL</code>: In addition to all the features supported by the\n consolidated billing feature set, the management account can also apply any\n policy type to any member account in the organization. For more information, see\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set-all\">All\n features</a> in the <i>AWS Organizations User Guide.</i>\n </p>\n </li>\n </ul>"
}
}
}
},
"com.amazonaws.organizations#CreateOrganizationResponse": {
"type": "structure",
"members": {
"Organization": {
"target": "com.amazonaws.organizations#Organization",
"traits": {
"smithy.api#documentation": "<p>A structure that contains details about the newly created organization.</p>"
}
}
}
},
"com.amazonaws.organizations#CreateOrganizationalUnit": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#CreateOrganizationalUnitRequest"
},
"output": {
"target": "com.amazonaws.organizations#CreateOrganizationalUnitResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#DuplicateOrganizationalUnitException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ParentNotFoundException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates an organizational unit (OU) within a root or parent OU. An OU is a container\n for accounts that enables you to organize your accounts to apply policies according to\n your business requirements. The number of levels deep that you can nest OUs is dependent\n upon the policy types enabled for that root. For service control policies, the limit is\n five.</p>\n <p>For more information about OUs, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_ous.html\">Managing Organizational Units</a> in the\n <i>AWS Organizations User Guide.</i>\n </p>\n <p>If the request includes tags, then the requester must have the\n <code>organizations:TagResource</code> permission.</p>\n <p>This operation can be called only from the organization's management account.</p>"
}
},
"com.amazonaws.organizations#CreateOrganizationalUnitRequest": {
"type": "structure",
"members": {
"ParentId": {
"target": "com.amazonaws.organizations#ParentId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the parent root or OU that you want to create the new OU\n in.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a parent ID string requires one of the \n following:</p>\n <ul>\n <li>\n <p>\n <b>Root</b> - A string that begins with \"r-\" followed by from 4 to 32 lowercase letters or \n digits.</p>\n </li>\n <li>\n <p>\n <b>Organizational unit (OU)</b> - A string that begins with \"ou-\" followed by from 4 to 32\n lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second \n \"-\" dash and from 8 to 32 additional lowercase letters or digits.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Name": {
"target": "com.amazonaws.organizations#OrganizationalUnitName",
"traits": {
"smithy.api#documentation": "<p>The friendly name to assign to the new OU.</p>",
"smithy.api#required": {}
}
},
"Tags": {
"target": "com.amazonaws.organizations#Tags",
"traits": {
"smithy.api#documentation": "<p>A list of tags that you want to attach to the newly created OU. For each tag in the\n list, you must specify both a tag key and a value. You can set the value to an empty\n string, but you can't set it to <code>null</code>. For more information about tagging,\n see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html\">Tagging AWS Organizations\n resources</a> in the AWS Organizations User Guide.</p>\n <note>\n <p>If any one of the tags is invalid or if you exceed the allowed number of tags for\n an OU, then the entire request fails and the OU is not created.</p>\n </note>"
}
}
}
},
"com.amazonaws.organizations#CreateOrganizationalUnitResponse": {
"type": "structure",
"members": {
"OrganizationalUnit": {
"target": "com.amazonaws.organizations#OrganizationalUnit",
"traits": {
"smithy.api#documentation": "<p>A structure that contains details about the newly created OU.</p>"
}
}
}
},
"com.amazonaws.organizations#CreatePolicy": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#CreatePolicyRequest"
},
"output": {
"target": "com.amazonaws.organizations#CreatePolicyResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#DuplicatePolicyException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#MalformedPolicyDocumentException"
},
{
"target": "com.amazonaws.organizations#PolicyTypeNotAvailableForOrganizationException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a policy of a specified type that you can attach to a root, an organizational\n unit (OU), or an individual AWS account.</p>\n <p>For more information about policies and their use, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html\">Managing\n Organization Policies</a>.</p>\n <p>If the request includes tags, then the requester must have the\n <code>organizations:TagResource</code> permission.</p>\n <p>This operation can be called only from the organization's management account.</p>"
}
},
"com.amazonaws.organizations#CreatePolicyRequest": {
"type": "structure",
"members": {
"Content": {
"target": "com.amazonaws.organizations#PolicyContent",
"traits": {
"smithy.api#documentation": "<p>The policy text content to add to the new policy. The text that you supply must adhere\n to the rules of the policy type you specify in the <code>Type</code> parameter.</p>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.organizations#PolicyDescription",
"traits": {
"smithy.api#documentation": "<p>An optional description to assign to the policy.</p>",
"smithy.api#required": {}
}
},
"Name": {
"target": "com.amazonaws.organizations#PolicyName",
"traits": {
"smithy.api#documentation": "<p>The friendly name to assign to the policy.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> \n that is used to validate this parameter is a string of any of the characters in the ASCII \n character range.</p>",
"smithy.api#required": {}
}
},
"Type": {
"target": "com.amazonaws.organizations#PolicyType",
"traits": {
"smithy.api#documentation": "<p>The type of policy to create. You can specify one of the following values:</p>\n <ul>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html\">AISERVICES_OPT_OUT_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html\">BACKUP_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html\">SERVICE_CONTROL_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html\">TAG_POLICY</a>\n </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Tags": {
"target": "com.amazonaws.organizations#Tags",
"traits": {
"smithy.api#documentation": "<p>A list of tags that you want to attach to the newly created policy. For each tag in\n the list, you must specify both a tag key and a value. You can set the value to an empty\n string, but you can't set it to <code>null</code>. For more information about tagging,\n see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html\">Tagging AWS Organizations\n resources</a> in the AWS Organizations User Guide.</p>\n <note>\n <p>If any one of the tags is invalid or if you exceed the allowed number of tags for\n a policy, then the entire request fails and the policy is not created.</p>\n </note>"
}
}
}
},
"com.amazonaws.organizations#CreatePolicyResponse": {
"type": "structure",
"members": {
"Policy": {
"target": "com.amazonaws.organizations#Policy",
"traits": {
"smithy.api#documentation": "<p>A structure that contains details about the newly created policy.</p>"
}
}
}
},
"com.amazonaws.organizations#DeclineHandshake": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#DeclineHandshakeRequest"
},
"output": {
"target": "com.amazonaws.organizations#DeclineHandshakeResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#HandshakeAlreadyInStateException"
},
{
"target": "com.amazonaws.organizations#HandshakeNotFoundException"
},
{
"target": "com.amazonaws.organizations#InvalidHandshakeTransitionException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Declines a handshake request. This sets the handshake state to <code>DECLINED</code>\n and effectively deactivates the request.</p>\n <p>This operation can be called only from the account that received the handshake. The originator of the handshake can use <a>CancelHandshake</a>\n instead. The originator can't reactivate a declined request, but can reinitiate the\n process with a new handshake request.</p>\n <p>After you decline a handshake, it continues to appear in the results of relevant APIs\n for only 30 days. After that, it's deleted.</p>"
}
},
"com.amazonaws.organizations#DeclineHandshakeRequest": {
"type": "structure",
"members": {
"HandshakeId": {
"target": "com.amazonaws.organizations#HandshakeId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the handshake that you want to decline. You can get the\n ID from the <a>ListHandshakesForAccount</a> operation.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for handshake ID string requires \"h-\" \n followed by from 8 to 32 lowercase letters or digits.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#DeclineHandshakeResponse": {
"type": "structure",
"members": {
"Handshake": {
"target": "com.amazonaws.organizations#Handshake",
"traits": {
"smithy.api#documentation": "<p>A structure that contains details about the declined handshake. The state is updated\n to show the value <code>DECLINED</code>.</p>"
}
}
}
},
"com.amazonaws.organizations#DelegatedAdministrator": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.organizations#AccountId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the delegated administrator's account.</p>"
}
},
"Arn": {
"target": "com.amazonaws.organizations#AccountArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the delegated administrator's account.</p>"
}
},
"Email": {
"target": "com.amazonaws.organizations#Email",
"traits": {
"smithy.api#documentation": "<p>The email address that is associated with the delegated administrator's AWS\n account.</p>"
}
},
"Name": {
"target": "com.amazonaws.organizations#AccountName",
"traits": {
"smithy.api#documentation": "<p>The friendly name of the delegated administrator's account.</p>"
}
},
"Status": {
"target": "com.amazonaws.organizations#AccountStatus",
"traits": {
"smithy.api#documentation": "<p>The status of the delegated administrator's account in the organization.</p>"
}
},
"JoinedMethod": {
"target": "com.amazonaws.organizations#AccountJoinedMethod",
"traits": {
"smithy.api#documentation": "<p>The method by which the delegated administrator's account joined the\n organization.</p>"
}
},
"JoinedTimestamp": {
"target": "com.amazonaws.organizations#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date when the delegated administrator's account became a part of the\n organization.</p>"
}
},
"DelegationEnabledDate": {
"target": "com.amazonaws.organizations#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date when the account was made a delegated administrator.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about the delegated administrator.</p>"
}
},
"com.amazonaws.organizations#DelegatedAdministrators": {
"type": "list",
"member": {
"target": "com.amazonaws.organizations#DelegatedAdministrator"
}
},
"com.amazonaws.organizations#DelegatedService": {
"type": "structure",
"members": {
"ServicePrincipal": {
"target": "com.amazonaws.organizations#ServicePrincipal",
"traits": {
"smithy.api#documentation": "<p>The name of an AWS service that can request an operation for the specified service.\n This is typically in the form of a URL, such as:\n <code>\n <i>servicename</i>.amazonaws.com</code>.</p>"
}
},
"DelegationEnabledDate": {
"target": "com.amazonaws.organizations#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the account became a delegated administrator for this service. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about the AWS service for which the account is a delegated\n administrator.</p>"
}
},
"com.amazonaws.organizations#DelegatedServices": {
"type": "list",
"member": {
"target": "com.amazonaws.organizations#DelegatedService"
}
},
"com.amazonaws.organizations#DeleteOrganization": {
"type": "operation",
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#OrganizationNotEmptyException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes the organization. You can delete an organization only by using credentials\n from the management account. The organization must be empty of member accounts.</p>"
}
},
"com.amazonaws.organizations#DeleteOrganizationalUnit": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#DeleteOrganizationalUnitRequest"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#OrganizationalUnitNotEmptyException"
},
{
"target": "com.amazonaws.organizations#OrganizationalUnitNotFoundException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes an organizational unit (OU) from a root or another OU. You must first remove\n all accounts and child OUs from the OU that you want to delete.</p>\n <p>This operation can be called only from the organization's management account.</p>"
}
},
"com.amazonaws.organizations#DeleteOrganizationalUnitRequest": {
"type": "structure",
"members": {
"OrganizationalUnitId": {
"target": "com.amazonaws.organizations#OrganizationalUnitId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the organizational unit that you want to delete. You can\n get the ID from the <a>ListOrganizationalUnitsForParent</a> operation.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for an organizational unit ID string requires \n \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the \n OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters \n or digits.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#DeletePolicy": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#DeletePolicyRequest"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#PolicyInUseException"
},
{
"target": "com.amazonaws.organizations#PolicyNotFoundException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes the specified policy from your organization. Before you perform this\n operation, you must first detach the policy from all organizational units (OUs), roots,\n and accounts.</p>\n <p>This operation can be called only from the organization's management account.</p>"
}
},
"com.amazonaws.organizations#DeletePolicyRequest": {
"type": "structure",
"members": {
"PolicyId": {
"target": "com.amazonaws.organizations#PolicyId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the policy that you want to delete. You can get the ID\n from the <a>ListPolicies</a> or <a>ListPoliciesForTarget</a>\n operations.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a policy ID string requires \"p-\" followed \n by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#DeregisterDelegatedAdministrator": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#DeregisterDelegatedAdministratorRequest"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AccountNotFoundException"
},
{
"target": "com.amazonaws.organizations#AccountNotRegisteredException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Removes the specified member AWS account as a delegated administrator for the\n specified AWS service.</p>\n <important>\n <p>Deregistering a delegated administrator can have unintended impacts on the\n functionality of the enabled AWS service. See the documentation for the enabled\n service before you deregister a delegated administrator so that you understand any\n potential impacts.</p>\n </important>\n <p>You can run this action only for AWS services that support this\n feature. For a current list of services that support it, see the column <i>Supports \n Delegated Administrator</i> in the table at <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services_list.html\">AWS Services that you can use with \n AWS Organizations</a> in the <i>AWS Organizations User Guide.</i>\n </p>\n <p>This operation can be called only from the organization's management account.</p>"
}
},
"com.amazonaws.organizations#DeregisterDelegatedAdministratorRequest": {
"type": "structure",
"members": {
"AccountId": {
"target": "com.amazonaws.organizations#AccountId",
"traits": {
"smithy.api#documentation": "<p>The account ID number of the member account in the organization that you want to\n deregister as a delegated administrator.</p>",
"smithy.api#required": {}
}
},
"ServicePrincipal": {
"target": "com.amazonaws.organizations#ServicePrincipal",
"traits": {
"smithy.api#documentation": "<p>The service principal name of an AWS service for which the account is a delegated\n administrator.</p>\n <p>Delegated administrator privileges are revoked for only the specified AWS service\n from the member account. If the specified service is the only service for which the\n member account is a delegated administrator, the operation also revokes Organizations read action\n permissions.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#DescribeAccount": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#DescribeAccountRequest"
},
"output": {
"target": "com.amazonaws.organizations#DescribeAccountResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AccountNotFoundException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves AWS Organizations-related information about the specified account.</p>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>"
}
},
"com.amazonaws.organizations#DescribeAccountRequest": {
"type": "structure",
"members": {
"AccountId": {
"target": "com.amazonaws.organizations#AccountId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the AWS account that you want information about. You\n can get the ID from the <a>ListAccounts</a> or <a>ListAccountsForParent</a> operations.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for an account ID string requires exactly 12\n digits.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#DescribeAccountResponse": {
"type": "structure",
"members": {
"Account": {
"target": "com.amazonaws.organizations#Account",
"traits": {
"smithy.api#documentation": "<p>A structure that contains information about the requested account.</p>"
}
}
}
},
"com.amazonaws.organizations#DescribeCreateAccountStatus": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#DescribeCreateAccountStatusRequest"
},
"output": {
"target": "com.amazonaws.organizations#DescribeCreateAccountStatusResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#CreateAccountStatusNotFoundException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves the current status of an asynchronous request to create an account.</p>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>"
}
},
"com.amazonaws.organizations#DescribeCreateAccountStatusRequest": {
"type": "structure",
"members": {
"CreateAccountRequestId": {
"target": "com.amazonaws.organizations#CreateAccountRequestId",
"traits": {
"smithy.api#documentation": "<p>Specifies the <code>Id</code> value that uniquely identifies the\n <code>CreateAccount</code> request. You can get the value from the\n <code>CreateAccountStatus.Id</code> response in an earlier <a>CreateAccount</a> request, or from the <a>ListCreateAccountStatus</a> operation.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a create account request ID string \n requires \"car-\" followed by from 8 to 32 lowercase letters or digits.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#DescribeCreateAccountStatusResponse": {
"type": "structure",
"members": {
"CreateAccountStatus": {
"target": "com.amazonaws.organizations#CreateAccountStatus",
"traits": {
"smithy.api#documentation": "<p>A structure that contains the current status of an account creation request.</p>"
}
}
}
},
"com.amazonaws.organizations#DescribeEffectivePolicy": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#DescribeEffectivePolicyRequest"
},
"output": {
"target": "com.amazonaws.organizations#DescribeEffectivePolicyResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#EffectivePolicyNotFoundException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TargetNotFoundException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns the contents of the effective policy for specified policy type and account.\n The effective policy is the aggregation of any policies of the specified type that the\n account inherits, plus any policy of that type that is directly attached to the\n account.</p>\n <p>This operation applies only to policy types <i>other</i> than service\n control policies (SCPs).</p>\n <p>For more information about policy inheritance, see <a href=\"http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies-inheritance.html\">How Policy Inheritance\n Works</a> in the <i>AWS Organizations User Guide</i>.</p>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>"
}
},
"com.amazonaws.organizations#DescribeEffectivePolicyRequest": {
"type": "structure",
"members": {
"PolicyType": {
"target": "com.amazonaws.organizations#EffectivePolicyType",
"traits": {
"smithy.api#documentation": "<p>The type of policy that you want information about. You can specify one of the\n following values:</p>\n <ul>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html\">AISERVICES_OPT_OUT_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html\">BACKUP_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html\">TAG_POLICY</a>\n </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"TargetId": {
"target": "com.amazonaws.organizations#PolicyTargetId",
"traits": {
"smithy.api#documentation": "<p>When you're signed in as the management account, specify the ID of the account that\n you want details about. Specifying an organization root or organizational unit (OU) as\n the target is not supported.</p>"
}
}
}
},
"com.amazonaws.organizations#DescribeEffectivePolicyResponse": {
"type": "structure",
"members": {
"EffectivePolicy": {
"target": "com.amazonaws.organizations#EffectivePolicy",
"traits": {
"smithy.api#documentation": "<p>The contents of the effective policy.</p>"
}
}
}
},
"com.amazonaws.organizations#DescribeHandshake": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#DescribeHandshakeRequest"
},
"output": {
"target": "com.amazonaws.organizations#DescribeHandshakeResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#HandshakeNotFoundException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves information about a previously requested handshake. The handshake ID comes\n from the response to the original <a>InviteAccountToOrganization</a>\n operation that generated the handshake.</p>\n <p>You can access handshakes that are <code>ACCEPTED</code>, <code>DECLINED</code>, or\n <code>CANCELED</code> for only 30 days after they change to that state. They're then\n deleted and no longer accessible.</p>\n <p>This operation can be called from any account in the organization.</p>"
}
},
"com.amazonaws.organizations#DescribeHandshakeRequest": {
"type": "structure",
"members": {
"HandshakeId": {
"target": "com.amazonaws.organizations#HandshakeId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the handshake that you want information about. You can\n get the ID from the original call to <a>InviteAccountToOrganization</a>, or\n from a call to <a>ListHandshakesForAccount</a> or <a>ListHandshakesForOrganization</a>.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for handshake ID string requires \"h-\" \n followed by from 8 to 32 lowercase letters or digits.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#DescribeHandshakeResponse": {
"type": "structure",
"members": {
"Handshake": {
"target": "com.amazonaws.organizations#Handshake",
"traits": {
"smithy.api#documentation": "<p>A structure that contains information about the specified handshake.</p>"
}
}
}
},
"com.amazonaws.organizations#DescribeOrganization": {
"type": "operation",
"output": {
"target": "com.amazonaws.organizations#DescribeOrganizationResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves information about the organization that the user's account belongs\n to.</p>\n <p>This operation can be called from any account in the organization.</p>\n <note>\n <p>Even if a policy type is shown as available in the organization, you can disable\n it separately at the root level with <a>DisablePolicyType</a>. Use <a>ListRoots</a> to see the status of policy types for a specified\n root.</p>\n </note>"
}
},
"com.amazonaws.organizations#DescribeOrganizationResponse": {
"type": "structure",
"members": {
"Organization": {
"target": "com.amazonaws.organizations#Organization",
"traits": {
"smithy.api#documentation": "<p>A structure that contains information about the organization.</p>\n <important>\n <p>The <code>AvailablePolicyTypes</code> part of the response is deprecated, and you\n shouldn't use it in your apps. It doesn't include any policy type supported by Organizations\n other than SCPs. To determine which policy types are enabled in your organization,\n use the <code>\n <a>ListRoots</a>\n </code> operation.</p>\n </important>"
}
}
}
},
"com.amazonaws.organizations#DescribeOrganizationalUnit": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#DescribeOrganizationalUnitRequest"
},
"output": {
"target": "com.amazonaws.organizations#DescribeOrganizationalUnitResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#OrganizationalUnitNotFoundException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves information about an organizational unit (OU).</p>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>"
}
},
"com.amazonaws.organizations#DescribeOrganizationalUnitRequest": {
"type": "structure",
"members": {
"OrganizationalUnitId": {
"target": "com.amazonaws.organizations#OrganizationalUnitId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the organizational unit that you want details about. You\n can get the ID from the <a>ListOrganizationalUnitsForParent</a>\n operation.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for an organizational unit ID string requires \n \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the \n OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters \n or digits.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#DescribeOrganizationalUnitResponse": {
"type": "structure",
"members": {
"OrganizationalUnit": {
"target": "com.amazonaws.organizations#OrganizationalUnit",
"traits": {
"smithy.api#documentation": "<p>A structure that contains details about the specified OU.</p>"
}
}
}
},
"com.amazonaws.organizations#DescribePolicy": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#DescribePolicyRequest"
},
"output": {
"target": "com.amazonaws.organizations#DescribePolicyResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#PolicyNotFoundException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves information about a policy.</p>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>"
}
},
"com.amazonaws.organizations#DescribePolicyRequest": {
"type": "structure",
"members": {
"PolicyId": {
"target": "com.amazonaws.organizations#PolicyId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the policy that you want details about. You can get the\n ID from the <a>ListPolicies</a> or <a>ListPoliciesForTarget</a>\n operations.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a policy ID string requires \"p-\" followed \n by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#DescribePolicyResponse": {
"type": "structure",
"members": {
"Policy": {
"target": "com.amazonaws.organizations#Policy",
"traits": {
"smithy.api#documentation": "<p>A structure that contains details about the specified policy.</p>"
}
}
}
},
"com.amazonaws.organizations#DestinationParentNotFoundException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>We can't find the destination container (a root or OU) with the <code>ParentId</code>\n that you specified.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.organizations#DetachPolicy": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#DetachPolicyRequest"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#PolicyChangesInProgressException"
},
{
"target": "com.amazonaws.organizations#PolicyNotAttachedException"
},
{
"target": "com.amazonaws.organizations#PolicyNotFoundException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TargetNotFoundException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Detaches a policy from a target root, organizational unit (OU), or account.</p>\n <important>\n <p>If the policy being detached is a service control policy (SCP), the changes to\n permissions for AWS Identity and Access Management (IAM) users and roles in affected accounts are\n immediate.</p>\n </important>\n <p>Every root, OU, and account must have at least one SCP attached. If you want to\n replace the default <code>FullAWSAccess</code> policy with an SCP that limits the\n permissions that can be delegated, you must attach the replacement SCP before you can\n remove the default SCP. This is the authorization strategy of an \"<a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/SCP_strategies.html#orgs_policies_allowlist\">allow list</a>\". If you instead attach a second SCP and\n leave the <code>FullAWSAccess</code> SCP still attached, and specify <code>\"Effect\":\n \"Deny\"</code> in the second SCP to override the <code>\"Effect\": \"Allow\"</code> in\n the <code>FullAWSAccess</code> policy (or any other attached SCP), you're using the\n authorization strategy of a \"<a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/SCP_strategies.html#orgs_policies_denylist\">deny list</a>\".</p>\n <p>This operation can be called only from the organization's management account.</p>"
}
},
"com.amazonaws.organizations#DetachPolicyRequest": {
"type": "structure",
"members": {
"PolicyId": {
"target": "com.amazonaws.organizations#PolicyId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the policy you want to detach. You can get the ID from\n the <a>ListPolicies</a> or <a>ListPoliciesForTarget</a>\n operations.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a policy ID string requires \"p-\" followed \n by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).</p>",
"smithy.api#required": {}
}
},
"TargetId": {
"target": "com.amazonaws.organizations#PolicyTargetId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the root, OU, or account that you want to detach the\n policy from. You can get the ID from the <a>ListRoots</a>, <a>ListOrganizationalUnitsForParent</a>, or <a>ListAccounts</a>\n operations.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a target ID string requires one of the \n following:</p>\n <ul>\n <li>\n <p>\n <b>Root</b> - A string that begins with \"r-\" followed by from 4 to 32 lowercase letters or \n digits.</p>\n </li>\n <li>\n <p>\n <b>Account</b> - A string that consists of exactly 12 digits.</p>\n </li>\n <li>\n <p>\n <b>Organizational unit (OU)</b> - A string that begins with \"ou-\" followed by from 4 to 32 \n lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second \n \"-\" dash and from 8 to 32 additional lowercase letters or digits.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#DisableAWSServiceAccess": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#DisableAWSServiceAccessRequest"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Disables the integration of an AWS service (the service that is specified by\n <code>ServicePrincipal</code>) with AWS Organizations. When you disable integration, the\n specified service no longer can create a <a href=\"http://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html\">service-linked role</a> in\n <i>new</i> accounts in your organization. This means the service can't\n perform operations on your behalf on any new accounts in your organization. The service\n can still perform operations in older accounts until the service completes its clean-up\n from AWS Organizations.</p>\n <important>\n <p>We <b>\n <i>strongly recommend</i>\n </b> that\n you don't use this command to disable integration between AWS Organizations and the specified\n AWS service. Instead, use the console or commands that are provided by the\n specified service. This lets the trusted service perform any required initialization\n when enabling trusted access, such as creating any required resources and any\n required clean up of resources when disabling trusted access. </p>\n <p>For information about how to disable trusted service access to your organization\n using the trusted service, see the <b>Learn more</b> link\n under the <b>Supports Trusted Access</b> column at <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services_list.html\">AWS services that you can use with AWS Organizations</a>. on this page.</p>\n <p>If you disable access by using this command, it causes the following actions to\n occur:</p>\n <ul>\n <li>\n <p>The service can no longer create a service-linked role in the accounts in\n your organization. This means that the service can't perform operations on\n your behalf on any new accounts in your organization. The service can still\n perform operations in older accounts until the service completes its\n clean-up from AWS Organizations. </p>\n </li>\n <li>\n <p>The service can no longer perform tasks in the member accounts in the\n organization, unless those operations are explicitly permitted by the IAM\n policies that are attached to your roles. This includes any data aggregation\n from the member accounts to the management account, or to a delegated\n administrator account, where relevant.</p>\n </li>\n <li>\n <p>Some services detect this and clean up any remaining data or resources\n related to the integration, while other services stop accessing the\n organization but leave any historical data and configuration in place to\n support a possible re-enabling of the integration.</p>\n </li>\n </ul>\n <p>Using the other service's console or commands to disable the integration ensures\n that the other service is aware that it can clean up any resources that are required\n only for the integration. How the service cleans up its resources in the\n organization's accounts depends on that service. For more information, see the\n documentation for the other AWS service. </p>\n </important>\n <p>After you perform the <code>DisableAWSServiceAccess</code> operation, the specified\n service can no longer perform operations in your organization's accounts </p>\n <p>For more information about integrating other services with AWS Organizations, including the\n
}
},
"com.amazonaws.organizations#DisableAWSServiceAccessRequest": {
"type": "structure",
"members": {
"ServicePrincipal": {
"target": "com.amazonaws.organizations#ServicePrincipal",
"traits": {
"smithy.api#documentation": "<p>The service principal name of the AWS service for which you want to disable\n integration with your organization. This is typically in the form of a URL, such as\n <code>\n <i>service-abbreviation</i>.amazonaws.com</code>.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#DisablePolicyType": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#DisablePolicyTypeRequest"
},
"output": {
"target": "com.amazonaws.organizations#DisablePolicyTypeResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#PolicyChangesInProgressException"
},
{
"target": "com.amazonaws.organizations#PolicyTypeNotEnabledException"
},
{
"target": "com.amazonaws.organizations#RootNotFoundException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Disables an organizational policy type in a root. A policy of a certain type can be\n attached to entities in a root only if that type is enabled in the root. After you\n perform this operation, you no longer can attach policies of the specified type to that\n root or to any organizational unit (OU) or account in that root. You can undo this by\n using the <a>EnablePolicyType</a> operation.</p>\n <p>This is an asynchronous request that AWS performs in the background. If you disable\n a policy type for a root, it still appears enabled for the organization if <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features</a> are enabled for the organization. AWS recommends that you\n first use <a>ListRoots</a> to see the status of policy types for a specified\n root, and then use this operation.</p>\n <p>This operation can be called only from the organization's management account.</p>\n <p> To view the status of available policy types in the organization, use <a>DescribeOrganization</a>.</p>"
}
},
"com.amazonaws.organizations#DisablePolicyTypeRequest": {
"type": "structure",
"members": {
"RootId": {
"target": "com.amazonaws.organizations#RootId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the root in which you want to disable a policy type. You\n can get the ID from the <a>ListRoots</a> operation.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a root ID string requires \"r-\" followed by \n from 4 to 32 lowercase letters or digits.</p>",
"smithy.api#required": {}
}
},
"PolicyType": {
"target": "com.amazonaws.organizations#PolicyType",
"traits": {
"smithy.api#documentation": "<p>The policy type that you want to disable in this root. You can specify one of the\n following values:</p>\n <ul>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html\">AISERVICES_OPT_OUT_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html\">BACKUP_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html\">SERVICE_CONTROL_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html\">TAG_POLICY</a>\n </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#DisablePolicyTypeResponse": {
"type": "structure",
"members": {
"Root": {
"target": "com.amazonaws.organizations#Root",
"traits": {
"smithy.api#documentation": "<p>A structure that shows the root with the updated list of enabled policy types.</p>"
}
}
}
},
"com.amazonaws.organizations#DuplicateAccountException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>That account is already present in the specified destination.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#DuplicateHandshakeException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>A handshake with the same action and target already exists. For example, if you\n invited an account to join your organization, the invited account might already have a\n pending invitation from this organization. If you intend to resend an invitation to an\n account, ensure that existing handshakes that might be considered duplicates are\n canceled or declined.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#DuplicateOrganizationalUnitException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>An OU with the same name already exists.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#DuplicatePolicyAttachmentException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The selected policy is already attached to the specified target.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#DuplicatePolicyException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>A policy with the same name already exists.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#EffectivePolicy": {
"type": "structure",
"members": {
"PolicyContent": {
"target": "com.amazonaws.organizations#PolicyContent",
"traits": {
"smithy.api#documentation": "<p>The text content of the policy.</p>"
}
},
"LastUpdatedTimestamp": {
"target": "com.amazonaws.organizations#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time of the last update to this policy.</p>"
}
},
"TargetId": {
"target": "com.amazonaws.organizations#PolicyTargetId",
"traits": {
"smithy.api#documentation": "<p>The account ID of the policy target. </p>"
}
},
"PolicyType": {
"target": "com.amazonaws.organizations#EffectivePolicyType",
"traits": {
"smithy.api#documentation": "<p>The policy type.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains rules to be applied to the affected accounts. The effective policy is the\n aggregation of any policies the account inherits, plus any policy directly attached to\n the account.</p>"
}
},
"com.amazonaws.organizations#EffectivePolicyNotFoundException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>If you ran this action on the management account, this policy type is not enabled. If\n you ran the action on a member account, the account doesn't have an effective policy of\n this type. Contact the administrator of your organization about attaching a policy of\n this type to the account. </p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.organizations#EffectivePolicyType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "TAG_POLICY",
"name": "TAG_POLICY"
},
{
"value": "BACKUP_POLICY",
"name": "BACKUP_POLICY"
},
{
"value": "AISERVICES_OPT_OUT_POLICY",
"name": "AISERVICES_OPT_OUT_POLICY"
}
]
}
},
"com.amazonaws.organizations#Email": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 6,
"max": 64
},
"smithy.api#pattern": "[^\\s@]+@[^\\s@]+\\.[^\\s@]+",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.organizations#EnableAWSServiceAccess": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#EnableAWSServiceAccessRequest"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Enables the integration of an AWS service (the service that is specified by\n <code>ServicePrincipal</code>) with AWS Organizations. When you enable integration, you allow\n the specified service to create a <a href=\"http://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html\">service-linked role</a> in\n all the accounts in your organization. This allows the service to perform operations on\n your behalf in your organization and its accounts.</p>\n <important>\n <p>We recommend that you enable integration between AWS Organizations and the specified AWS\n service by using the console or commands that are provided by the specified service.\n Doing so ensures that the service is aware that it can create the resources that are\n required for the integration. How the service creates those resources in the\n organization's accounts depends on that service. For more information, see the\n documentation for the other AWS service.</p>\n </important>\n <p>For more information about enabling services to integrate with AWS Organizations, see <a href=\"http://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html\">Integrating AWS Organizations with Other\n AWS Services</a> in the <i>AWS Organizations User Guide.</i>\n </p>\n <p>This operation can be called only from the organization's management account and only\n if the organization has <a href=\"http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">enabled all\n features</a>.</p>"
}
},
"com.amazonaws.organizations#EnableAWSServiceAccessRequest": {
"type": "structure",
"members": {
"ServicePrincipal": {
"target": "com.amazonaws.organizations#ServicePrincipal",
"traits": {
"smithy.api#documentation": "<p>The service principal name of the AWS service for which you want to enable\n integration with your organization. This is typically in the form of a URL, such as\n <code>\n <i>service-abbreviation</i>.amazonaws.com</code>.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#EnableAllFeatures": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#EnableAllFeaturesRequest"
},
"output": {
"target": "com.amazonaws.organizations#EnableAllFeaturesResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#HandshakeConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Enables all features in an organization. This enables the use of organization policies\n that can restrict the services and actions that can be called in each account. Until you\n enable all features, you have access only to consolidated billing, and you can't use any\n of the advanced account administration features that AWS Organizations supports. For more\n information, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">Enabling All Features in Your Organization</a> in the\n <i>AWS Organizations User Guide.</i>\n </p>\n <important>\n <p>This operation is required only for organizations that were created explicitly\n with only the consolidated billing features enabled. Calling this operation sends a\n handshake to every invited account in the organization. The feature set change can\n be finalized and the additional features enabled only after all administrators in\n the invited accounts approve the change by accepting the handshake.</p>\n </important>\n <p>After you enable all features, you can separately enable or disable individual policy\n types in a root using <a>EnablePolicyType</a> and <a>DisablePolicyType</a>. To see the status of policy types in a root, use\n <a>ListRoots</a>.</p>\n <p>After all invited member accounts accept the handshake, you finalize the feature set\n change by accepting the handshake that contains <code>\"Action\":\n \"ENABLE_ALL_FEATURES\"</code>. This completes the change.</p>\n <p>After you enable all features in your organization, the management account in the\n organization can apply policies on all member accounts. These policies can restrict what\n users and even administrators in those accounts can do. The management account can apply\n policies that prevent accounts from leaving the organization. Ensure that your account\n administrators are aware of this.</p>\n <p>This operation can be called only from the organization's management account.</p>"
}
},
"com.amazonaws.organizations#EnableAllFeaturesRequest": {
"type": "structure",
"members": {}
},
"com.amazonaws.organizations#EnableAllFeaturesResponse": {
"type": "structure",
"members": {
"Handshake": {
"target": "com.amazonaws.organizations#Handshake",
"traits": {
"smithy.api#documentation": "<p>A structure that contains details about the handshake created to support this request\n to enable all features in the organization.</p>"
}
}
}
},
"com.amazonaws.organizations#EnablePolicyType": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#EnablePolicyTypeRequest"
},
"output": {
"target": "com.amazonaws.organizations#EnablePolicyTypeResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#PolicyChangesInProgressException"
},
{
"target": "com.amazonaws.organizations#PolicyTypeAlreadyEnabledException"
},
{
"target": "com.amazonaws.organizations#PolicyTypeNotAvailableForOrganizationException"
},
{
"target": "com.amazonaws.organizations#RootNotFoundException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Enables a policy type in a root. After you enable a policy type in a root, you can\n attach policies of that type to the root, any organizational unit (OU), or account in\n that root. You can undo this by using the <a>DisablePolicyType</a>\n operation.</p>\n <p>This is an asynchronous request that AWS performs in the background. AWS\n recommends that you first use <a>ListRoots</a> to see the status of policy\n types for a specified root, and then use this operation.</p>\n <p>This operation can be called only from the organization's management account.</p>\n <p>You can enable a policy type in a root only if that policy type is available in the\n organization. To view the status of available policy types in the organization, use\n <a>DescribeOrganization</a>.</p>"
}
},
"com.amazonaws.organizations#EnablePolicyTypeRequest": {
"type": "structure",
"members": {
"RootId": {
"target": "com.amazonaws.organizations#RootId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the root in which you want to enable a policy type. You\n can get the ID from the <a>ListRoots</a> operation.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a root ID string requires \"r-\" followed by \n from 4 to 32 lowercase letters or digits.</p>",
"smithy.api#required": {}
}
},
"PolicyType": {
"target": "com.amazonaws.organizations#PolicyType",
"traits": {
"smithy.api#documentation": "<p>The policy type that you want to enable. You can specify one of the following\n values:</p>\n <ul>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html\">AISERVICES_OPT_OUT_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html\">BACKUP_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html\">SERVICE_CONTROL_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html\">TAG_POLICY</a>\n </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#EnablePolicyTypeResponse": {
"type": "structure",
"members": {
"Root": {
"target": "com.amazonaws.organizations#Root",
"traits": {
"smithy.api#documentation": "<p>A structure that shows the root with the updated list of enabled policy types.</p>"
}
}
}
},
"com.amazonaws.organizations#EnabledServicePrincipal": {
"type": "structure",
"members": {
"ServicePrincipal": {
"target": "com.amazonaws.organizations#ServicePrincipal",
"traits": {
"smithy.api#documentation": "<p>The name of the service principal. This is typically in the form of a URL, such as:\n <code>\n <i>servicename</i>.amazonaws.com</code>.</p>"
}
},
"DateEnabled": {
"target": "com.amazonaws.organizations#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the service principal was enabled for integration with AWS Organizations.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A structure that contains details of a service principal that represents an AWS\n service that is enabled to integrate with AWS Organizations.</p>"
}
},
"com.amazonaws.organizations#EnabledServicePrincipals": {
"type": "list",
"member": {
"target": "com.amazonaws.organizations#EnabledServicePrincipal"
}
},
"com.amazonaws.organizations#ExceptionMessage": {
"type": "string"
},
"com.amazonaws.organizations#ExceptionType": {
"type": "string"
},
"com.amazonaws.organizations#FinalizingOrganizationException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>AWS Organizations couldn't perform the operation because your organization hasn't finished\n initializing. This can take up to an hour. Try again later. If after one hour you\n continue to receive this error, contact <a href=\"https://console.aws.amazon.com/support/home#/\">AWS\n Support</a>.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#GenericArn": {
"type": "string",
"traits": {
"smithy.api#pattern": "^arn:aws:organizations::.+:.+"
}
},
"com.amazonaws.organizations#Handshake": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.organizations#HandshakeId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of a handshake. The originating account creates the ID when\n it initiates the handshake.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for handshake ID string requires \"h-\" \n followed by from 8 to 32 lowercase letters or digits.</p>"
}
},
"Arn": {
"target": "com.amazonaws.organizations#HandshakeArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of a handshake.</p>\n <p>For more information about ARNs in Organizations, see <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies\">ARN \n Formats Supported by Organizations</a> in the <i>AWS Service Authorization Reference</i>.</p>"
}
},
"Parties": {
"target": "com.amazonaws.organizations#HandshakeParties",
"traits": {
"smithy.api#documentation": "<p>Information about the two accounts that are participating in the handshake.</p>"
}
},
"State": {
"target": "com.amazonaws.organizations#HandshakeState",
"traits": {
"smithy.api#documentation": "<p>The current state of the handshake. Use the state to trace the flow of the handshake\n through the process from its creation to its acceptance. The meaning of each of the\n valid values is as follows:</p>\n <ul>\n <li>\n <p>\n <b>REQUESTED</b>: This handshake was sent to\n multiple recipients (applicable to only some handshake types) and not all\n recipients have responded yet. The request stays in this state until all\n recipients respond.</p>\n </li>\n <li>\n <p>\n <b>OPEN</b>: This handshake was sent to multiple\n recipients (applicable to only some policy types) and all recipients have\n responded, allowing the originator to complete the handshake action.</p>\n </li>\n <li>\n <p>\n <b>CANCELED</b>: This handshake is no longer active\n because it was canceled by the originating account.</p>\n </li>\n <li>\n <p>\n <b>ACCEPTED</b>: This handshake is complete because\n it has been accepted by the recipient.</p>\n </li>\n <li>\n <p>\n <b>DECLINED</b>: This handshake is no longer active\n because it was declined by the recipient account.</p>\n </li>\n <li>\n <p>\n <b>EXPIRED</b>: This handshake is no longer active\n because the originator did not receive a response of any kind from the recipient\n before the expiration time (15 days).</p>\n </li>\n </ul>"
}
},
"RequestedTimestamp": {
"target": "com.amazonaws.organizations#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time that the handshake request was made.</p>"
}
},
"ExpirationTimestamp": {
"target": "com.amazonaws.organizations#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time that the handshake expires. If the recipient of the handshake\n request fails to respond before the specified date and time, the handshake becomes\n inactive and is no longer valid.</p>"
}
},
"Action": {
"target": "com.amazonaws.organizations#ActionType",
"traits": {
"smithy.api#documentation": "<p>The type of handshake, indicating what action occurs when the recipient accepts the\n handshake. The following handshake types are supported:</p>\n <ul>\n <li>\n <p>\n <b>INVITE</b>: This type of handshake represents a\n request to join an organization. It is always sent from the management account\n to only non-member accounts.</p>\n </li>\n <li>\n <p>\n <b>ENABLE_ALL_FEATURES</b>: This type of handshake\n represents a request to enable all features in an organization. It is always\n sent from the management account to only <i>invited</i> member\n accounts. Created accounts do not receive this because those accounts were\n created by the organization's management account and approval is\n inferred.</p>\n </li>\n <li>\n <p>\n <b>APPROVE_ALL_FEATURES</b>: This type of handshake\n is sent from the Organizations service when all member accounts have approved the\n <code>ENABLE_ALL_FEATURES</code> invitation. It is sent only to the\n management account and signals the master that it can finalize the process to\n enable all features.</p>\n </li>\n </ul>"
}
},
"Resources": {
"target": "com.amazonaws.organizations#HandshakeResources",
"traits": {
"smithy.api#documentation": "<p>Additional information that is needed to process the handshake.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information that must be exchanged to securely establish a relationship\n between two accounts (an <i>originator</i> and a\n <i>recipient</i>). For example, when a management account (the\n originator) invites another account (the recipient) to join its organization, the two\n accounts exchange information as a series of handshake requests and responses.</p>\n <p>\n <b>Note:</b> Handshakes that are <code>CANCELED</code>,\n <code>ACCEPTED</code>, or <code>DECLINED</code> show up in lists for only 30 days\n after entering that state After that they are deleted.</p>"
}
},
"com.amazonaws.organizations#HandshakeAlreadyInStateException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The specified handshake is already in the requested state. For example, you can't\n accept a handshake that was already accepted.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#HandshakeArn": {
"type": "string",
"traits": {
"smithy.api#pattern": "^arn:aws:organizations::\\d{12}:handshake\\/o-[a-z0-9]{10,32}\\/[a-z_]{1,32}\\/h-[0-9a-z]{8,32}"
}
},
"com.amazonaws.organizations#HandshakeConstraintViolationException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
},
"Reason": {
"target": "com.amazonaws.organizations#HandshakeConstraintViolationExceptionReason"
}
},
"traits": {
"smithy.api#documentation": "<p>The requested operation would violate the constraint identified in the reason\n code.</p>\n <note>\n <p>Some of the reasons in the following list might not be applicable to this specific\n API or operation:</p>\n </note>\n <ul>\n <li>\n <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number\n of accounts in an organization. Note that deleted and closed accounts still\n count toward your limit.</p>\n <important>\n <p>If you get this exception immediately after creating the organization,\n wait one hour and try again. If after an hour it continues to fail with this\n error, contact <a href=\"https://console.aws.amazon.com/support/home#/\">AWS\n Support</a>.</p>\n </important>\n </li>\n <li>\n <p>ALREADY_IN_AN_ORGANIZATION: The handshake request is invalid because the\n invited account is already a member of an organization.</p>\n </li>\n <li>\n <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of\n handshakes that you can send in one day.</p>\n </li>\n <li>\n <p>INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: You can't issue new invitations to\n join an organization while it's in the process of enabling all features. You can\n resume inviting accounts after you finalize the process when all accounts have\n agreed to the change.</p>\n </li>\n <li>\n <p>ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid\n because the organization has already enabled all features.</p>\n </li>\n <li>\n <p>ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: The handshake request\n is invalid because the organization has already started the process to enable\n all features.</p>\n </li>\n <li>\n <p>ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: The request failed because the\n account is from a different marketplace than the accounts in the organization.\n For example, accounts with India addresses must be associated with the AISPL\n marketplace. All accounts in an organization must be from the same\n marketplace.</p>\n </li>\n <li>\n <p>ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: You attempted to change\n the membership of an account too quickly after its previous change.</p>\n </li>\n <li>\n <p>PAYMENT_INSTRUMENT_REQUIRED: You can't complete the operation with an account\n that doesn't have a payment instrument, such as a credit card, associated with\n it.</p>\n </li>\n </ul>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#HandshakeConstraintViolationExceptionReason": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ACCOUNT_NUMBER_LIMIT_EXCEEDED",
"name": "ACCOUNT_NUMBER_LIMIT_EXCEEDED"
},
{
"value": "HANDSHAKE_RATE_LIMIT_EXCEEDED",
"name": "HANDSHAKE_RATE_LIMIT_EXCEEDED"
},
{
"value": "ALREADY_IN_AN_ORGANIZATION",
"name": "ALREADY_IN_AN_ORGANIZATION"
},
{
"value": "ORGANIZATION_ALREADY_HAS_ALL_FEATURES",
"name": "ORGANIZATION_ALREADY_HAS_ALL_FEATURES"
},
{
"value": "ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION",
"name": "ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION"
},
{
"value": "INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES",
"name": "INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES"
},
{
"value": "PAYMENT_INSTRUMENT_REQUIRED",
"name": "PAYMENT_INSTRUMENT_REQUIRED"
},
{
"value": "ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD",
"name": "ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD"
},
{
"value": "ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED",
"name": "ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED"
}
]
}
},
"com.amazonaws.organizations#HandshakeFilter": {
"type": "structure",
"members": {
"ActionType": {
"target": "com.amazonaws.organizations#ActionType",
"traits": {
"smithy.api#documentation": "<p>Specifies the type of handshake action.</p>\n <p>If you specify <code>ActionType</code>, you cannot also specify\n <code>ParentHandshakeId</code>.</p>"
}
},
"ParentHandshakeId": {
"target": "com.amazonaws.organizations#HandshakeId",
"traits": {
"smithy.api#documentation": "<p>Specifies the parent handshake. Only used for handshake types that are a child of\n another type.</p>\n <p>If you specify <code>ParentHandshakeId</code>, you cannot also specify\n <code>ActionType</code>.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for handshake ID string requires \"h-\" \n followed by from 8 to 32 lowercase letters or digits.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Specifies the criteria that are used to select the handshakes for the\n operation.</p>"
}
},
"com.amazonaws.organizations#HandshakeId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 34
},
"smithy.api#pattern": "^h-[0-9a-z]{8,32}$"
}
},
"com.amazonaws.organizations#HandshakeNotFoundException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>We can't find a handshake with the <code>HandshakeId</code> that you specified.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.organizations#HandshakeNotes": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 1024
},
"smithy.api#pattern": "[\\s\\S]*",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.organizations#HandshakeParties": {
"type": "list",
"member": {
"target": "com.amazonaws.organizations#HandshakeParty"
}
},
"com.amazonaws.organizations#HandshakeParty": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.organizations#HandshakePartyId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) for the party.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for handshake ID string requires \"h-\" \n followed by from 8 to 32 lowercase letters or digits.</p>",
"smithy.api#required": {}
}
},
"Type": {
"target": "com.amazonaws.organizations#HandshakePartyType",
"traits": {
"smithy.api#documentation": "<p>The type of party.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Identifies a participant in a handshake.</p>"
}
},
"com.amazonaws.organizations#HandshakePartyId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 64
},
"smithy.api#pattern": "[\\s\\S]*",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.organizations#HandshakePartyType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ACCOUNT",
"name": "ACCOUNT"
},
{
"value": "ORGANIZATION",
"name": "ORGANIZATION"
},
{
"value": "EMAIL",
"name": "EMAIL"
}
]
}
},
"com.amazonaws.organizations#HandshakeResource": {
"type": "structure",
"members": {
"Value": {
"target": "com.amazonaws.organizations#HandshakeResourceValue",
"traits": {
"smithy.api#documentation": "<p>The information that is passed to the other party in the handshake. The format of the\n value string must match the requirements of the specified type.</p>"
}
},
"Type": {
"target": "com.amazonaws.organizations#HandshakeResourceType",
"traits": {
"smithy.api#documentation": "<p>The type of information being passed, specifying how the value is to be interpreted by\n the other party:</p>\n <ul>\n <li>\n <p>\n <code>ACCOUNT</code> - Specifies an AWS account ID number.</p>\n </li>\n <li>\n <p>\n <code>ORGANIZATION</code> - Specifies an organization ID number.</p>\n </li>\n <li>\n <p>\n <code>EMAIL</code> - Specifies the email address that is associated with the\n account that receives the handshake. </p>\n </li>\n <li>\n <p>\n <code>OWNER_EMAIL</code> - Specifies the email address associated with the\n management account. Included as information about an organization. </p>\n </li>\n <li>\n <p>\n <code>OWNER_NAME</code> - Specifies the name associated with the management\n account. Included as information about an organization. </p>\n </li>\n <li>\n <p>\n <code>NOTES</code> - Additional text provided by the handshake initiator and\n intended for the recipient to read.</p>\n </li>\n </ul>"
}
},
"Resources": {
"target": "com.amazonaws.organizations#HandshakeResources",
"traits": {
"smithy.api#documentation": "<p>When needed, contains an additional array of <code>HandshakeResource</code>\n objects.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains additional data that is needed to process a handshake.</p>"
}
},
"com.amazonaws.organizations#HandshakeResourceType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ACCOUNT",
"name": "ACCOUNT"
},
{
"value": "ORGANIZATION",
"name": "ORGANIZATION"
},
{
"value": "ORGANIZATION_FEATURE_SET",
"name": "ORGANIZATION_FEATURE_SET"
},
{
"value": "EMAIL",
"name": "EMAIL"
},
{
"value": "MASTER_EMAIL",
"name": "MASTER_EMAIL"
},
{
"value": "MASTER_NAME",
"name": "MASTER_NAME"
},
{
"value": "NOTES",
"name": "NOTES"
},
{
"value": "PARENT_HANDSHAKE",
"name": "PARENT_HANDSHAKE"
}
]
}
},
"com.amazonaws.organizations#HandshakeResourceValue": {
"type": "string",
"traits": {
"smithy.api#sensitive": {}
}
},
"com.amazonaws.organizations#HandshakeResources": {
"type": "list",
"member": {
"target": "com.amazonaws.organizations#HandshakeResource"
}
},
"com.amazonaws.organizations#HandshakeState": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "REQUESTED",
"name": "REQUESTED"
},
{
"value": "OPEN",
"name": "OPEN"
},
{
"value": "CANCELED",
"name": "CANCELED"
},
{
"value": "ACCEPTED",
"name": "ACCEPTED"
},
{
"value": "DECLINED",
"name": "DECLINED"
},
{
"value": "EXPIRED",
"name": "EXPIRED"
}
]
}
},
"com.amazonaws.organizations#Handshakes": {
"type": "list",
"member": {
"target": "com.amazonaws.organizations#Handshake"
}
},
"com.amazonaws.organizations#IAMUserAccessToBilling": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ALLOW",
"name": "ALLOW"
},
{
"value": "DENY",
"name": "DENY"
}
]
}
},
"com.amazonaws.organizations#InvalidHandshakeTransitionException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>You can't perform the operation on the handshake in its current state. For example,\n you can't cancel a handshake that was already accepted or accept a handshake that was\n already declined.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#InvalidInputException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
},
"Reason": {
"target": "com.amazonaws.organizations#InvalidInputExceptionReason"
}
},
"traits": {
"smithy.api#documentation": "<p>The requested operation failed because you provided invalid values for one or more of\n the request parameters. This exception includes a reason that contains additional\n information about the violated limit:</p>\n <note>\n <p>Some of the reasons in the following list might not be applicable to this specific\n API or operation.</p>\n </note>\n <ul>\n <li>\n <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same\n entity.</p>\n </li>\n <li>\n <p>IMMUTABLE_POLICY: You specified a policy that is managed by AWS and can't be\n modified.</p>\n </li>\n <li>\n <p>INPUT_REQUIRED: You must include a value for all required parameters.</p>\n </li>\n <li>\n <p>INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address for the\n invited account owner.</p>\n </li>\n <li>\n <p>INVALID_ENUM: You specified an invalid value.</p>\n </li>\n <li>\n <p>INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string.</p>\n </li>\n <li>\n <p>INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid\n characters.</p>\n </li>\n <li>\n <p>INVALID_LIST_MEMBER: You provided a list to a parameter that contains at least\n one invalid value.</p>\n </li>\n <li>\n <p>INVALID_PAGINATION_TOKEN: Get the value for the <code>NextToken</code>\n parameter from the response to a previous call of the operation.</p>\n </li>\n <li>\n <p>INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account,\n organization, or email) as a party.</p>\n </li>\n <li>\n <p>INVALID_PATTERN: You provided a value that doesn't match the required\n pattern.</p>\n </li>\n <li>\n <p>INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't match\n the required pattern.</p>\n </li>\n <li>\n <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name\n can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>\n </li>\n <li>\n <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name\n (ARN) for the organization.</p>\n </li>\n <li>\n <p>INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. </p>\n </li>\n <li>\n <p>INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system tag.\n You cant add, edit, or delete system tag keys because they're reserved for\n AWS use. System tags dont count against your tags per resource limit.</p>\n </li>\n <li>\n <p>MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter for the\n operation.</p>\n </li>\n <li>\n <p>MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer than\n allowed.</p>\n </li>\n <li>\n <p>MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger value\n than allowed.</p>\n </li>\n <li>\n <p>MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter than\n allowed.</p>\n </li>\n <li>\n <p>MIN_VALUE_EXCEEDED: You provided a numeric parameter
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.organizations#InvalidInputExceptionReason": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "INVALID_PARTY_TYPE_TARGET",
"name": "INVALID_PARTY_TYPE_TARGET"
},
{
"value": "INVALID_SYNTAX_ORGANIZATION_ARN",
"name": "INVALID_SYNTAX_ORGANIZATION"
},
{
"value": "INVALID_SYNTAX_POLICY_ID",
"name": "INVALID_SYNTAX_POLICY"
},
{
"value": "INVALID_ENUM",
"name": "INVALID_ENUM"
},
{
"value": "INVALID_ENUM_POLICY_TYPE",
"name": "INVALID_ENUM_POLICY_TYPE"
},
{
"value": "INVALID_LIST_MEMBER",
"name": "INVALID_LIST_MEMBER"
},
{
"value": "MAX_LENGTH_EXCEEDED",
"name": "MAX_LENGTH_EXCEEDED"
},
{
"value": "MAX_VALUE_EXCEEDED",
"name": "MAX_VALUE_EXCEEDED"
},
{
"value": "MIN_LENGTH_EXCEEDED",
"name": "MIN_LENGTH_EXCEEDED"
},
{
"value": "MIN_VALUE_EXCEEDED",
"name": "MIN_VALUE_EXCEEDED"
},
{
"value": "IMMUTABLE_POLICY",
"name": "IMMUTABLE_POLICY"
},
{
"value": "INVALID_PATTERN",
"name": "INVALID_PATTERN"
},
{
"value": "INVALID_PATTERN_TARGET_ID",
"name": "INVALID_PATTERN_TARGET_ID"
},
{
"value": "INPUT_REQUIRED",
"name": "INPUT_REQUIRED"
},
{
"value": "INVALID_NEXT_TOKEN",
"name": "INVALID_PAGINATION_TOKEN"
},
{
"value": "MAX_LIMIT_EXCEEDED_FILTER",
"name": "MAX_FILTER_LIMIT_EXCEEDED"
},
{
"value": "MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS",
"name": "MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS"
},
{
"value": "INVALID_FULL_NAME_TARGET",
"name": "INVALID_FULL_NAME_TARGET"
},
{
"value": "UNRECOGNIZED_SERVICE_PRINCIPAL",
"name": "UNRECOGNIZED_SERVICE_PRINCIPAL"
},
{
"value": "INVALID_ROLE_NAME",
"name": "INVALID_ROLE_NAME"
},
{
"value": "INVALID_SYSTEM_TAGS_PARAMETER",
"name": "INVALID_SYSTEM_TAGS_PARAMETER"
},
{
"value": "DUPLICATE_TAG_KEY",
"name": "DUPLICATE_TAG_KEY"
},
{
"value": "TARGET_NOT_SUPPORTED",
"name": "TARGET_NOT_SUPPORTED"
},
{
"value": "INVALID_EMAIL_ADDRESS_TARGET",
"name": "INVALID_EMAIL_ADDRESS_TARGET"
}
]
}
},
"com.amazonaws.organizations#InviteAccountToOrganization": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#InviteAccountToOrganizationRequest"
},
"output": {
"target": "com.amazonaws.organizations#InviteAccountToOrganizationResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AccountOwnerNotVerifiedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#DuplicateHandshakeException"
},
{
"target": "com.amazonaws.organizations#FinalizingOrganizationException"
},
{
"target": "com.amazonaws.organizations#HandshakeConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Sends an invitation to another account to join your organization as a member account.\n AWS Organizations sends email on your behalf to the email address that is associated with the\n other account's owner. The invitation is implemented as a <a>Handshake</a>\n whose details are in the response.</p>\n <important>\n <ul>\n <li>\n <p>You can invite AWS accounts only from the same seller as the management\n account. For example, if your organization's management account was created\n by Amazon Internet Services Pvt. Ltd (AISPL), an AWS seller in India, you\n can invite only other AISPL accounts to your organization. You can't combine\n accounts from AISPL and AWS or from any other AWS seller. For more\n information, see <a href=\"http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/useconsolidatedbilliing-India.html\">Consolidated\n Billing in India</a>.</p>\n </li>\n <li>\n <p>If you receive an exception that indicates that you exceeded your account\n limits for the organization or that the operation failed because your\n organization is still initializing, wait one hour and then try again. If the\n error persists after an hour, contact <a href=\"https://console.aws.amazon.com/support/home#/\">AWS Support</a>.</p>\n </li>\n </ul>\n </important>\n <p>If the request includes tags, then the requester must have the\n <code>organizations:TagResource</code> permission.</p>\n <p>This operation can be called only from the organization's management account.</p>"
}
},
"com.amazonaws.organizations#InviteAccountToOrganizationRequest": {
"type": "structure",
"members": {
"Target": {
"target": "com.amazonaws.organizations#HandshakeParty",
"traits": {
"smithy.api#documentation": "<p>The identifier (ID) of the AWS account that you want to invite to join your\n organization. This is a JSON object that contains the following elements:</p>\n <p>\n <code>{ \"Type\": \"ACCOUNT\", \"Id\": \"<<i>\n <b>account id\n number</b>\n </i>>\" }</code>\n </p>\n <p>If you use the AWS CLI, you can submit this as a single string, similar to the following\n example:</p>\n <p>\n <code>--target Id=123456789012,Type=ACCOUNT</code>\n </p>\n <p>If you specify <code>\"Type\": \"ACCOUNT\"</code>, you must provide the AWS account ID\n number as the <code>Id</code>. If you specify <code>\"Type\": \"EMAIL\"</code>, you must\n specify the email address that is associated with the account.</p>\n <p>\n <code>--target Id=diego@example.com,Type=EMAIL</code>\n </p>",
"smithy.api#required": {}
}
},
"Notes": {
"target": "com.amazonaws.organizations#HandshakeNotes",
"traits": {
"smithy.api#documentation": "<p>Additional information that you want to include in the generated email to the\n recipient account owner.</p>"
}
},
"Tags": {
"target": "com.amazonaws.organizations#Tags",
"traits": {
"smithy.api#documentation": "<p>A list of tags that you want to attach to the account when it becomes a member of the\n organization. For each tag in the list, you must specify both a tag key and a value. You\n can set the value to an empty string, but you can't set it to <code>null</code>. For\n more information about tagging, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html\">Tagging AWS Organizations resources</a> in the\n AWS Organizations User Guide.</p>\n <important>\n <p>Any tags in the request are checked for compliance with any applicable tag\n policies when the request is made. The request is rejected if the tags in the\n request don't match the requirements of the policy at that time. Tag policy\n compliance is <i>\n <b>not</b>\n </i> checked\n again when the invitation is accepted and the tags are actually attached to the\n account. That means that if the tag policy changes between the invitation and the\n acceptance, then that tags could potentially be non-compliant.</p>\n </important>\n <note>\n <p>If any one of the tags is invalid or if you exceed the allowed number of tags for\n an account, then the entire request fails and invitations are not sent.</p>\n </note>"
}
}
}
},
"com.amazonaws.organizations#InviteAccountToOrganizationResponse": {
"type": "structure",
"members": {
"Handshake": {
"target": "com.amazonaws.organizations#Handshake",
"traits": {
"smithy.api#documentation": "<p>A structure that contains details about the handshake that is created to support this\n invitation request.</p>"
}
}
}
},
"com.amazonaws.organizations#LeaveOrganization": {
"type": "operation",
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AccountNotFoundException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#MasterCannotLeaveOrganizationException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Removes a member account from its parent organization. This version of the operation\n is performed by the account that wants to leave. To remove a member account as a user in\n the management account, use <a>RemoveAccountFromOrganization</a>\n instead.</p>\n <p>This operation can be called only from a member account in the organization.</p>\n <important>\n <ul>\n <li>\n <p>The management account in an organization with all features enabled can\n set service control policies (SCPs) that can restrict what administrators of\n member accounts can do. This includes preventing them from successfully\n calling <code>LeaveOrganization</code> and leaving the organization.</p>\n </li>\n <li>\n <p>You can leave an organization as a member account only if the account is\n configured with the information required to operate as a standalone account.\n When you create an account in an organization using the AWS Organizations console,\n API, or CLI commands, the information required of standalone accounts is\n <i>not</i> automatically collected. For each account that\n you want to make standalone, you must perform the following steps. If any of\n the steps are already completed for this account, that step doesn't\n appear.</p>\n <ul>\n <li>\n <p>Choose a support plan</p>\n </li>\n <li>\n <p>Provide and verify the required contact information</p>\n </li>\n <li>\n <p>Provide a current payment method</p>\n </li>\n </ul>\n <p>AWS uses the payment method to charge for any billable (not free tier)\n AWS activity that occurs while the account isn't attached to an\n organization. Follow the steps at <a href=\"http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info\"> To leave an organization when all required account information has not\n yet been provided</a> in the\n <i>AWS Organizations User Guide.</i>\n </p>\n </li>\n <li>\n <p>The account that you want to leave must not be a delegated administrator\n account for any AWS service enabled for your organization. If the account\n is a delegated administrator, you must first change the delegated\n administrator account to another account that is remaining in the\n organization.</p>\n </li>\n <li>\n <p>You can leave an organization only after you enable IAM user access to\n billing in your account. For more information, see <a href=\"http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate\">Activating Access to the Billing and Cost Management Console</a> in\n the <i>AWS Billing and Cost Management User Guide.</i>\n </p>\n </li>\n <li>\n <p>After the account leaves the organization, all tags that were attached to\n the account object in the organization are deleted. AWS accounts outside\n of an organization do not support tags.</p>\n </li>\n <li>\n <p>A newly created account has a waiting period before it can be rem
}
},
"com.amazonaws.organizations#ListAWSServiceAccessForOrganization": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#ListAWSServiceAccessForOrganizationRequest"
},
"output": {
"target": "com.amazonaws.organizations#ListAWSServiceAccessForOrganizationResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns a list of the AWS services that you enabled to integrate with your\n organization. After a service on this list creates the resources that it requires for\n the integration, it can perform operations on your organization and its accounts.</p>\n <p>For more information about integrating other services with AWS Organizations, including the\n list of services that currently work with Organizations, see <a href=\"http://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html\">Integrating AWS Organizations with Other\n AWS Services</a> in the <i>AWS Organizations User Guide.</i>\n </p>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.organizations#ListAWSServiceAccessForOrganizationRequest": {
"type": "structure",
"members": {
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>The parameter for receiving additional results if you receive a \n <code>NextToken</code> response in a previous request. A <code>NextToken</code> response \n indicates that more output is available. Set this parameter to the value of the previous \n call's <code>NextToken</code> response to indicate where the output should continue \n from.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.organizations#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The total number of results that you want included on each page of the \n response. If you do not include this parameter, it defaults to a value that is specific to the \n operation. If additional items exist beyond the maximum you specify, the <code>NextToken</code> \n response element is present and has a value (is not null). Include that value as the \n <code>NextToken</code> request parameter in the next call to the operation to get the next part \n of the results. Note that Organizations might return fewer results than the maximum even when there are \n more results available. You should check <code>NextToken</code> after every operation to ensure \n that you receive all of the results.</p>"
}
}
}
},
"com.amazonaws.organizations#ListAWSServiceAccessForOrganizationResponse": {
"type": "structure",
"members": {
"EnabledServicePrincipals": {
"target": "com.amazonaws.organizations#EnabledServicePrincipals",
"traits": {
"smithy.api#documentation": "<p>A list of the service principals for the services that are enabled to integrate with\n your organization. Each principal is a structure that includes the name and the date\n that it was enabled for integration with AWS Organizations.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>If present, indicates that more output is available than is \n included in the current response. Use this value in the <code>NextToken</code> request parameter \n in a subsequent call to the operation to get the next part of the output. You should repeat this \n until the <code>NextToken</code> response element comes back as <code>null</code>.</p>"
}
}
}
},
"com.amazonaws.organizations#ListAccounts": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#ListAccountsRequest"
},
"output": {
"target": "com.amazonaws.organizations#ListAccountsResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists all the accounts in the organization. To request only the accounts in a\n specified root or organizational unit (OU), use the <a>ListAccountsForParent</a> operation instead.</p>\n <note>\n <p>Always check the <code>NextToken</code> response parameter \nfor a <code>null</code> value when calling a <code>List*</code> operation. These operations can \noccasionally return an empty set of results even when there are more results available. The \n<code>NextToken</code> response parameter value is <code>null</code> \n <i>only</i> \nwhen there are no more results to display.</p>\n </note>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.organizations#ListAccountsForParent": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#ListAccountsForParentRequest"
},
"output": {
"target": "com.amazonaws.organizations#ListAccountsForParentResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ParentNotFoundException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the accounts in an organization that are contained by the specified target root\n or organizational unit (OU). If you specify the root, you get a list of all the accounts\n that aren't in any OU. If you specify an OU, you get a list of all the accounts in only\n that OU and not in any child OUs. To get a list of all accounts in the organization, use\n the <a>ListAccounts</a> operation.</p>\n <note>\n <p>Always check the <code>NextToken</code> response parameter \nfor a <code>null</code> value when calling a <code>List*</code> operation. These operations can \noccasionally return an empty set of results even when there are more results available. The \n<code>NextToken</code> response parameter value is <code>null</code> \n <i>only</i> \nwhen there are no more results to display.</p>\n </note>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.organizations#ListAccountsForParentRequest": {
"type": "structure",
"members": {
"ParentId": {
"target": "com.amazonaws.organizations#ParentId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) for the parent root or organization unit (OU) whose\n accounts you want to list.</p>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>The parameter for receiving additional results if you receive a \n <code>NextToken</code> response in a previous request. A <code>NextToken</code> response \n indicates that more output is available. Set this parameter to the value of the previous \n call's <code>NextToken</code> response to indicate where the output should continue \n from.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.organizations#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The total number of results that you want included on each page of the \n response. If you do not include this parameter, it defaults to a value that is specific to the \n operation. If additional items exist beyond the maximum you specify, the <code>NextToken</code> \n response element is present and has a value (is not null). Include that value as the \n <code>NextToken</code> request parameter in the next call to the operation to get the next part \n of the results. Note that Organizations might return fewer results than the maximum even when there are \n more results available. You should check <code>NextToken</code> after every operation to ensure \n that you receive all of the results.</p>"
}
}
}
},
"com.amazonaws.organizations#ListAccountsForParentResponse": {
"type": "structure",
"members": {
"Accounts": {
"target": "com.amazonaws.organizations#Accounts",
"traits": {
"smithy.api#documentation": "<p>A list of the accounts in the specified root or OU.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>If present, indicates that more output is available than is \n included in the current response. Use this value in the <code>NextToken</code> request parameter \n in a subsequent call to the operation to get the next part of the output. You should repeat this \n until the <code>NextToken</code> response element comes back as <code>null</code>.</p>"
}
}
}
},
"com.amazonaws.organizations#ListAccountsRequest": {
"type": "structure",
"members": {
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>The parameter for receiving additional results if you receive a \n <code>NextToken</code> response in a previous request. A <code>NextToken</code> response \n indicates that more output is available. Set this parameter to the value of the previous \n call's <code>NextToken</code> response to indicate where the output should continue \n from.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.organizations#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The total number of results that you want included on each page of the \n response. If you do not include this parameter, it defaults to a value that is specific to the \n operation. If additional items exist beyond the maximum you specify, the <code>NextToken</code> \n response element is present and has a value (is not null). Include that value as the \n <code>NextToken</code> request parameter in the next call to the operation to get the next part \n of the results. Note that Organizations might return fewer results than the maximum even when there are \n more results available. You should check <code>NextToken</code> after every operation to ensure \n that you receive all of the results.</p>"
}
}
}
},
"com.amazonaws.organizations#ListAccountsResponse": {
"type": "structure",
"members": {
"Accounts": {
"target": "com.amazonaws.organizations#Accounts",
"traits": {
"smithy.api#documentation": "<p>A list of objects in the organization.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>If present, indicates that more output is available than is \n included in the current response. Use this value in the <code>NextToken</code> request parameter \n in a subsequent call to the operation to get the next part of the output. You should repeat this \n until the <code>NextToken</code> response element comes back as <code>null</code>.</p>"
}
}
}
},
"com.amazonaws.organizations#ListChildren": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#ListChildrenRequest"
},
"output": {
"target": "com.amazonaws.organizations#ListChildrenResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ParentNotFoundException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists all of the organizational units (OUs) or accounts that are contained in the\n specified parent OU or root. This operation, along with <a>ListParents</a>\n enables you to traverse the tree structure that makes up this root.</p>\n <note>\n <p>Always check the <code>NextToken</code> response parameter \nfor a <code>null</code> value when calling a <code>List*</code> operation. These operations can \noccasionally return an empty set of results even when there are more results available. The \n<code>NextToken</code> response parameter value is <code>null</code> \n <i>only</i> \nwhen there are no more results to display.</p>\n </note>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.organizations#ListChildrenRequest": {
"type": "structure",
"members": {
"ParentId": {
"target": "com.amazonaws.organizations#ParentId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) for the parent root or OU whose children you want to\n list.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a parent ID string requires one of the \n following:</p>\n <ul>\n <li>\n <p>\n <b>Root</b> - A string that begins with \"r-\" followed by from 4 to 32 lowercase letters or \n digits.</p>\n </li>\n <li>\n <p>\n <b>Organizational unit (OU)</b> - A string that begins with \"ou-\" followed by from 4 to 32\n lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second \n \"-\" dash and from 8 to 32 additional lowercase letters or digits.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"ChildType": {
"target": "com.amazonaws.organizations#ChildType",
"traits": {
"smithy.api#documentation": "<p>Filters the output to include only the specified child type.</p>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>The parameter for receiving additional results if you receive a \n <code>NextToken</code> response in a previous request. A <code>NextToken</code> response \n indicates that more output is available. Set this parameter to the value of the previous \n call's <code>NextToken</code> response to indicate where the output should continue \n from.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.organizations#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The total number of results that you want included on each page of the \n response. If you do not include this parameter, it defaults to a value that is specific to the \n operation. If additional items exist beyond the maximum you specify, the <code>NextToken</code> \n response element is present and has a value (is not null). Include that value as the \n <code>NextToken</code> request parameter in the next call to the operation to get the next part \n of the results. Note that Organizations might return fewer results than the maximum even when there are \n more results available. You should check <code>NextToken</code> after every operation to ensure \n that you receive all of the results.</p>"
}
}
}
},
"com.amazonaws.organizations#ListChildrenResponse": {
"type": "structure",
"members": {
"Children": {
"target": "com.amazonaws.organizations#Children",
"traits": {
"smithy.api#documentation": "<p>The list of children of the specified parent container.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>If present, indicates that more output is available than is \n included in the current response. Use this value in the <code>NextToken</code> request parameter \n in a subsequent call to the operation to get the next part of the output. You should repeat this \n until the <code>NextToken</code> response element comes back as <code>null</code>.</p>"
}
}
}
},
"com.amazonaws.organizations#ListCreateAccountStatus": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#ListCreateAccountStatusRequest"
},
"output": {
"target": "com.amazonaws.organizations#ListCreateAccountStatusResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the account creation requests that match the specified status that is currently\n being tracked for the organization.</p>\n <note>\n <p>Always check the <code>NextToken</code> response parameter \nfor a <code>null</code> value when calling a <code>List*</code> operation. These operations can \noccasionally return an empty set of results even when there are more results available. The \n<code>NextToken</code> response parameter value is <code>null</code> \n <i>only</i> \nwhen there are no more results to display.</p>\n </note>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.organizations#ListCreateAccountStatusRequest": {
"type": "structure",
"members": {
"States": {
"target": "com.amazonaws.organizations#CreateAccountStates",
"traits": {
"smithy.api#documentation": "<p>A list of one or more states that you want included in the response. If this parameter\n isn't present, all requests are included in the response.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>The parameter for receiving additional results if you receive a \n <code>NextToken</code> response in a previous request. A <code>NextToken</code> response \n indicates that more output is available. Set this parameter to the value of the previous \n call's <code>NextToken</code> response to indicate where the output should continue \n from.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.organizations#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The total number of results that you want included on each page of the \n response. If you do not include this parameter, it defaults to a value that is specific to the \n operation. If additional items exist beyond the maximum you specify, the <code>NextToken</code> \n response element is present and has a value (is not null). Include that value as the \n <code>NextToken</code> request parameter in the next call to the operation to get the next part \n of the results. Note that Organizations might return fewer results than the maximum even when there are \n more results available. You should check <code>NextToken</code> after every operation to ensure \n that you receive all of the results.</p>"
}
}
}
},
"com.amazonaws.organizations#ListCreateAccountStatusResponse": {
"type": "structure",
"members": {
"CreateAccountStatuses": {
"target": "com.amazonaws.organizations#CreateAccountStatuses",
"traits": {
"smithy.api#documentation": "<p>A list of objects with details about the requests. Certain elements, such as the\n accountId number, are present in the output only after the account has been successfully\n created.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>If present, indicates that more output is available than is \n included in the current response. Use this value in the <code>NextToken</code> request parameter \n in a subsequent call to the operation to get the next part of the output. You should repeat this \n until the <code>NextToken</code> response element comes back as <code>null</code>.</p>"
}
}
}
},
"com.amazonaws.organizations#ListDelegatedAdministrators": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#ListDelegatedAdministratorsRequest"
},
"output": {
"target": "com.amazonaws.organizations#ListDelegatedAdministratorsResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the AWS accounts that are designated as delegated administrators in this\n organization.</p>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"items": "DelegatedAdministrators",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.organizations#ListDelegatedAdministratorsRequest": {
"type": "structure",
"members": {
"ServicePrincipal": {
"target": "com.amazonaws.organizations#ServicePrincipal",
"traits": {
"smithy.api#documentation": "<p>Specifies a service principal name. If specified, then the operation lists the\n delegated administrators only for the specified service.</p>\n <p>If you don't specify a service principal, the operation lists all delegated\n administrators for all services in your organization.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>The parameter for receiving additional results if you receive a \n <code>NextToken</code> response in a previous request. A <code>NextToken</code> response \n indicates that more output is available. Set this parameter to the value of the previous \n call's <code>NextToken</code> response to indicate where the output should continue \n from.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.organizations#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The total number of results that you want included on each page of the \n response. If you do not include this parameter, it defaults to a value that is specific to the \n operation. If additional items exist beyond the maximum you specify, the <code>NextToken</code> \n response element is present and has a value (is not null). Include that value as the \n <code>NextToken</code> request parameter in the next call to the operation to get the next part \n of the results. Note that Organizations might return fewer results than the maximum even when there are \n more results available. You should check <code>NextToken</code> after every operation to ensure \n that you receive all of the results.</p>"
}
}
}
},
"com.amazonaws.organizations#ListDelegatedAdministratorsResponse": {
"type": "structure",
"members": {
"DelegatedAdministrators": {
"target": "com.amazonaws.organizations#DelegatedAdministrators",
"traits": {
"smithy.api#documentation": "<p>The list of delegated administrators in your organization.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>If present, indicates that more output is available than is \n included in the current response. Use this value in the <code>NextToken</code> request parameter \n in a subsequent call to the operation to get the next part of the output. You should repeat this \n until the <code>NextToken</code> response element comes back as <code>null</code>.</p>"
}
}
}
},
"com.amazonaws.organizations#ListDelegatedServicesForAccount": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#ListDelegatedServicesForAccountRequest"
},
"output": {
"target": "com.amazonaws.organizations#ListDelegatedServicesForAccountResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AccountNotFoundException"
},
{
"target": "com.amazonaws.organizations#AccountNotRegisteredException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>List the AWS services for which the specified account is a delegated\n administrator.</p>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"items": "DelegatedServices",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.organizations#ListDelegatedServicesForAccountRequest": {
"type": "structure",
"members": {
"AccountId": {
"target": "com.amazonaws.organizations#AccountId",
"traits": {
"smithy.api#documentation": "<p>The account ID number of a delegated administrator account in the organization.</p>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>The parameter for receiving additional results if you receive a \n <code>NextToken</code> response in a previous request. A <code>NextToken</code> response \n indicates that more output is available. Set this parameter to the value of the previous \n call's <code>NextToken</code> response to indicate where the output should continue \n from.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.organizations#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The total number of results that you want included on each page of the \n response. If you do not include this parameter, it defaults to a value that is specific to the \n operation. If additional items exist beyond the maximum you specify, the <code>NextToken</code> \n response element is present and has a value (is not null). Include that value as the \n <code>NextToken</code> request parameter in the next call to the operation to get the next part \n of the results. Note that Organizations might return fewer results than the maximum even when there are \n more results available. You should check <code>NextToken</code> after every operation to ensure \n that you receive all of the results.</p>"
}
}
}
},
"com.amazonaws.organizations#ListDelegatedServicesForAccountResponse": {
"type": "structure",
"members": {
"DelegatedServices": {
"target": "com.amazonaws.organizations#DelegatedServices",
"traits": {
"smithy.api#documentation": "<p>The services for which the account is a delegated administrator.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>If present, indicates that more output is available than is \n included in the current response. Use this value in the <code>NextToken</code> request parameter \n in a subsequent call to the operation to get the next part of the output. You should repeat this \n until the <code>NextToken</code> response element comes back as <code>null</code>.</p>"
}
}
}
},
"com.amazonaws.organizations#ListHandshakesForAccount": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#ListHandshakesForAccountRequest"
},
"output": {
"target": "com.amazonaws.organizations#ListHandshakesForAccountResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the current handshakes that are associated with the account of the requesting\n user.</p>\n <p>Handshakes that are <code>ACCEPTED</code>, <code>DECLINED</code>, or\n <code>CANCELED</code> appear in the results of this API for only 30 days after\n changing to that state. After that, they're deleted and no longer accessible.</p>\n <note>\n <p>Always check the <code>NextToken</code> response parameter \nfor a <code>null</code> value when calling a <code>List*</code> operation. These operations can \noccasionally return an empty set of results even when there are more results available. The \n<code>NextToken</code> response parameter value is <code>null</code> \n <i>only</i> \nwhen there are no more results to display.</p>\n </note>\n <p>This operation can be called from any account in the organization.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.organizations#ListHandshakesForAccountRequest": {
"type": "structure",
"members": {
"Filter": {
"target": "com.amazonaws.organizations#HandshakeFilter",
"traits": {
"smithy.api#documentation": "<p>Filters the handshakes that you want included in the response. The default is all\n types. Use the <code>ActionType</code> element to limit the output to only a specified\n type, such as <code>INVITE</code>, <code>ENABLE_ALL_FEATURES</code>, or\n <code>APPROVE_ALL_FEATURES</code>. Alternatively, for the\n <code>ENABLE_ALL_FEATURES</code> handshake that generates a separate child handshake\n for each member account, you can specify <code>ParentHandshakeId</code> to see only the\n handshakes that were generated by that parent request.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>The parameter for receiving additional results if you receive a \n <code>NextToken</code> response in a previous request. A <code>NextToken</code> response \n indicates that more output is available. Set this parameter to the value of the previous \n call's <code>NextToken</code> response to indicate where the output should continue \n from.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.organizations#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The total number of results that you want included on each page of the \n response. If you do not include this parameter, it defaults to a value that is specific to the \n operation. If additional items exist beyond the maximum you specify, the <code>NextToken</code> \n response element is present and has a value (is not null). Include that value as the \n <code>NextToken</code> request parameter in the next call to the operation to get the next part \n of the results. Note that Organizations might return fewer results than the maximum even when there are \n more results available. You should check <code>NextToken</code> after every operation to ensure \n that you receive all of the results.</p>"
}
}
}
},
"com.amazonaws.organizations#ListHandshakesForAccountResponse": {
"type": "structure",
"members": {
"Handshakes": {
"target": "com.amazonaws.organizations#Handshakes",
"traits": {
"smithy.api#documentation": "<p>A list of <a>Handshake</a> objects with details about each of the\n handshakes that is associated with the specified account.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>If present, indicates that more output is available than is \n included in the current response. Use this value in the <code>NextToken</code> request parameter \n in a subsequent call to the operation to get the next part of the output. You should repeat this \n until the <code>NextToken</code> response element comes back as <code>null</code>.</p>"
}
}
}
},
"com.amazonaws.organizations#ListHandshakesForOrganization": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#ListHandshakesForOrganizationRequest"
},
"output": {
"target": "com.amazonaws.organizations#ListHandshakesForOrganizationResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the handshakes that are associated with the organization that the requesting\n user is part of. The <code>ListHandshakesForOrganization</code> operation returns a list\n of handshake structures. Each structure contains details and status about a\n handshake.</p>\n <p>Handshakes that are <code>ACCEPTED</code>, <code>DECLINED</code>, or\n <code>CANCELED</code> appear in the results of this API for only 30 days after\n changing to that state. After that, they're deleted and no longer accessible.</p>\n <note>\n <p>Always check the <code>NextToken</code> response parameter \nfor a <code>null</code> value when calling a <code>List*</code> operation. These operations can \noccasionally return an empty set of results even when there are more results available. The \n<code>NextToken</code> response parameter value is <code>null</code> \n <i>only</i> \nwhen there are no more results to display.</p>\n </note>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.organizations#ListHandshakesForOrganizationRequest": {
"type": "structure",
"members": {
"Filter": {
"target": "com.amazonaws.organizations#HandshakeFilter",
"traits": {
"smithy.api#documentation": "<p>A filter of the handshakes that you want included in the response. The default is all\n types. Use the <code>ActionType</code> element to limit the output to only a specified\n type, such as <code>INVITE</code>, <code>ENABLE-ALL-FEATURES</code>, or\n <code>APPROVE-ALL-FEATURES</code>. Alternatively, for the\n <code>ENABLE-ALL-FEATURES</code> handshake that generates a separate child handshake\n for each member account, you can specify the <code>ParentHandshakeId</code> to see only\n the handshakes that were generated by that parent request.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>The parameter for receiving additional results if you receive a \n <code>NextToken</code> response in a previous request. A <code>NextToken</code> response \n indicates that more output is available. Set this parameter to the value of the previous \n call's <code>NextToken</code> response to indicate where the output should continue \n from.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.organizations#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The total number of results that you want included on each page of the \n response. If you do not include this parameter, it defaults to a value that is specific to the \n operation. If additional items exist beyond the maximum you specify, the <code>NextToken</code> \n response element is present and has a value (is not null). Include that value as the \n <code>NextToken</code> request parameter in the next call to the operation to get the next part \n of the results. Note that Organizations might return fewer results than the maximum even when there are \n more results available. You should check <code>NextToken</code> after every operation to ensure \n that you receive all of the results.</p>"
}
}
}
},
"com.amazonaws.organizations#ListHandshakesForOrganizationResponse": {
"type": "structure",
"members": {
"Handshakes": {
"target": "com.amazonaws.organizations#Handshakes",
"traits": {
"smithy.api#documentation": "<p>A list of <a>Handshake</a> objects with details about each of the\n handshakes that are associated with an organization.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>If present, indicates that more output is available than is \n included in the current response. Use this value in the <code>NextToken</code> request parameter \n in a subsequent call to the operation to get the next part of the output. You should repeat this \n until the <code>NextToken</code> response element comes back as <code>null</code>.</p>"
}
}
}
},
"com.amazonaws.organizations#ListOrganizationalUnitsForParent": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#ListOrganizationalUnitsForParentRequest"
},
"output": {
"target": "com.amazonaws.organizations#ListOrganizationalUnitsForParentResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ParentNotFoundException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the organizational units (OUs) in a parent organizational unit or root.</p>\n <note>\n <p>Always check the <code>NextToken</code> response parameter \nfor a <code>null</code> value when calling a <code>List*</code> operation. These operations can \noccasionally return an empty set of results even when there are more results available. The \n<code>NextToken</code> response parameter value is <code>null</code> \n <i>only</i> \nwhen there are no more results to display.</p>\n </note>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.organizations#ListOrganizationalUnitsForParentRequest": {
"type": "structure",
"members": {
"ParentId": {
"target": "com.amazonaws.organizations#ParentId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the root or OU whose child OUs you want to list.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a parent ID string requires one of the \n following:</p>\n <ul>\n <li>\n <p>\n <b>Root</b> - A string that begins with \"r-\" followed by from 4 to 32 lowercase letters or \n digits.</p>\n </li>\n <li>\n <p>\n <b>Organizational unit (OU)</b> - A string that begins with \"ou-\" followed by from 4 to 32\n lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second \n \"-\" dash and from 8 to 32 additional lowercase letters or digits.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>The parameter for receiving additional results if you receive a \n <code>NextToken</code> response in a previous request. A <code>NextToken</code> response \n indicates that more output is available. Set this parameter to the value of the previous \n call's <code>NextToken</code> response to indicate where the output should continue \n from.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.organizations#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The total number of results that you want included on each page of the \n response. If you do not include this parameter, it defaults to a value that is specific to the \n operation. If additional items exist beyond the maximum you specify, the <code>NextToken</code> \n response element is present and has a value (is not null). Include that value as the \n <code>NextToken</code> request parameter in the next call to the operation to get the next part \n of the results. Note that Organizations might return fewer results than the maximum even when there are \n more results available. You should check <code>NextToken</code> after every operation to ensure \n that you receive all of the results.</p>"
}
}
}
},
"com.amazonaws.organizations#ListOrganizationalUnitsForParentResponse": {
"type": "structure",
"members": {
"OrganizationalUnits": {
"target": "com.amazonaws.organizations#OrganizationalUnits",
"traits": {
"smithy.api#documentation": "<p>A list of the OUs in the specified root or parent OU.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>If present, indicates that more output is available than is \n included in the current response. Use this value in the <code>NextToken</code> request parameter \n in a subsequent call to the operation to get the next part of the output. You should repeat this \n until the <code>NextToken</code> response element comes back as <code>null</code>.</p>"
}
}
}
},
"com.amazonaws.organizations#ListParents": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#ListParentsRequest"
},
"output": {
"target": "com.amazonaws.organizations#ListParentsResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ChildNotFoundException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the root or organizational units (OUs) that serve as the immediate parent of the\n specified child OU or account. This operation, along with <a>ListChildren</a>\n enables you to traverse the tree structure that makes up this root.</p>\n <note>\n <p>Always check the <code>NextToken</code> response parameter \nfor a <code>null</code> value when calling a <code>List*</code> operation. These operations can \noccasionally return an empty set of results even when there are more results available. The \n<code>NextToken</code> response parameter value is <code>null</code> \n <i>only</i> \nwhen there are no more results to display.</p>\n </note>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>\n <note>\n <p>In the current release, a child can have only a single parent.</p>\n </note>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.organizations#ListParentsRequest": {
"type": "structure",
"members": {
"ChildId": {
"target": "com.amazonaws.organizations#ChildId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the OU or account whose parent containers you want to\n list. Don't specify a root.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a child ID string requires one of the \n following:</p>\n <ul>\n <li>\n <p>\n <b>Account</b> - A string that consists of exactly 12 digits.</p>\n </li>\n <li>\n <p>\n <b>Organizational unit (OU)</b> - A string that begins with\n \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that \n contains the OU). This string is followed by a second \"-\" dash and from 8 to 32 additional \n lowercase letters or digits.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>The parameter for receiving additional results if you receive a \n <code>NextToken</code> response in a previous request. A <code>NextToken</code> response \n indicates that more output is available. Set this parameter to the value of the previous \n call's <code>NextToken</code> response to indicate where the output should continue \n from.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.organizations#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The total number of results that you want included on each page of the \n response. If you do not include this parameter, it defaults to a value that is specific to the \n operation. If additional items exist beyond the maximum you specify, the <code>NextToken</code> \n response element is present and has a value (is not null). Include that value as the \n <code>NextToken</code> request parameter in the next call to the operation to get the next part \n of the results. Note that Organizations might return fewer results than the maximum even when there are \n more results available. You should check <code>NextToken</code> after every operation to ensure \n that you receive all of the results.</p>"
}
}
}
},
"com.amazonaws.organizations#ListParentsResponse": {
"type": "structure",
"members": {
"Parents": {
"target": "com.amazonaws.organizations#Parents",
"traits": {
"smithy.api#documentation": "<p>A list of parents for the specified child account or OU.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>If present, indicates that more output is available than is \n included in the current response. Use this value in the <code>NextToken</code> request parameter \n in a subsequent call to the operation to get the next part of the output. You should repeat this \n until the <code>NextToken</code> response element comes back as <code>null</code>.</p>"
}
}
}
},
"com.amazonaws.organizations#ListPolicies": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#ListPoliciesRequest"
},
"output": {
"target": "com.amazonaws.organizations#ListPoliciesResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves the list of all policies in an organization of a specified type.</p>\n <note>\n <p>Always check the <code>NextToken</code> response parameter \nfor a <code>null</code> value when calling a <code>List*</code> operation. These operations can \noccasionally return an empty set of results even when there are more results available. The \n<code>NextToken</code> response parameter value is <code>null</code> \n <i>only</i> \nwhen there are no more results to display.</p>\n </note>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.organizations#ListPoliciesForTarget": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#ListPoliciesForTargetRequest"
},
"output": {
"target": "com.amazonaws.organizations#ListPoliciesForTargetResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TargetNotFoundException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the policies that are directly attached to the specified target root,\n organizational unit (OU), or account. You must specify the policy type that you want\n included in the returned list.</p>\n <note>\n <p>Always check the <code>NextToken</code> response parameter \nfor a <code>null</code> value when calling a <code>List*</code> operation. These operations can \noccasionally return an empty set of results even when there are more results available. The \n<code>NextToken</code> response parameter value is <code>null</code> \n <i>only</i> \nwhen there are no more results to display.</p>\n </note>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.organizations#ListPoliciesForTargetRequest": {
"type": "structure",
"members": {
"TargetId": {
"target": "com.amazonaws.organizations#PolicyTargetId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the root, organizational unit, or account whose policies\n you want to list.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a target ID string requires one of the \n following:</p>\n <ul>\n <li>\n <p>\n <b>Root</b> - A string that begins with \"r-\" followed by from 4 to 32 lowercase letters or \n digits.</p>\n </li>\n <li>\n <p>\n <b>Account</b> - A string that consists of exactly 12 digits.</p>\n </li>\n <li>\n <p>\n <b>Organizational unit (OU)</b> - A string that begins with \"ou-\" followed by from 4 to 32 \n lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second \n \"-\" dash and from 8 to 32 additional lowercase letters or digits.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Filter": {
"target": "com.amazonaws.organizations#PolicyType",
"traits": {
"smithy.api#documentation": "<p>The type of policy that you want to include in the returned list. You must specify one\n of the following values:</p>\n <ul>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html\">AISERVICES_OPT_OUT_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html\">BACKUP_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html\">SERVICE_CONTROL_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html\">TAG_POLICY</a>\n </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>The parameter for receiving additional results if you receive a \n <code>NextToken</code> response in a previous request. A <code>NextToken</code> response \n indicates that more output is available. Set this parameter to the value of the previous \n call's <code>NextToken</code> response to indicate where the output should continue \n from.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.organizations#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The total number of results that you want included on each page of the \n response. If you do not include this parameter, it defaults to a value that is specific to the \n operation. If additional items exist beyond the maximum you specify, the <code>NextToken</code> \n response element is present and has a value (is not null). Include that value as the \n <code>NextToken</code> request parameter in the next call to the operation to get the next part \n of the results. Note that Organizations might return fewer results than the maximum even when there are \n more results available. You should check <code>NextToken</code> after every operation to ensure \n that you receive all of the results.</p>"
}
}
}
},
"com.amazonaws.organizations#ListPoliciesForTargetResponse": {
"type": "structure",
"members": {
"Policies": {
"target": "com.amazonaws.organizations#Policies",
"traits": {
"smithy.api#documentation": "<p>The list of policies that match the criteria in the request.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>If present, indicates that more output is available than is \n included in the current response. Use this value in the <code>NextToken</code> request parameter \n in a subsequent call to the operation to get the next part of the output. You should repeat this \n until the <code>NextToken</code> response element comes back as <code>null</code>.</p>"
}
}
}
},
"com.amazonaws.organizations#ListPoliciesRequest": {
"type": "structure",
"members": {
"Filter": {
"target": "com.amazonaws.organizations#PolicyType",
"traits": {
"smithy.api#documentation": "<p>Specifies the type of policy that you want to include in the response. You must\n specify one of the following values:</p>\n <ul>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html\">AISERVICES_OPT_OUT_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html\">BACKUP_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html\">SERVICE_CONTROL_POLICY</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html\">TAG_POLICY</a>\n </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>The parameter for receiving additional results if you receive a \n <code>NextToken</code> response in a previous request. A <code>NextToken</code> response \n indicates that more output is available. Set this parameter to the value of the previous \n call's <code>NextToken</code> response to indicate where the output should continue \n from.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.organizations#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The total number of results that you want included on each page of the \n response. If you do not include this parameter, it defaults to a value that is specific to the \n operation. If additional items exist beyond the maximum you specify, the <code>NextToken</code> \n response element is present and has a value (is not null). Include that value as the \n <code>NextToken</code> request parameter in the next call to the operation to get the next part \n of the results. Note that Organizations might return fewer results than the maximum even when there are \n more results available. You should check <code>NextToken</code> after every operation to ensure \n that you receive all of the results.</p>"
}
}
}
},
"com.amazonaws.organizations#ListPoliciesResponse": {
"type": "structure",
"members": {
"Policies": {
"target": "com.amazonaws.organizations#Policies",
"traits": {
"smithy.api#documentation": "<p>A list of policies that match the filter criteria in the request. The output list\n doesn't include the policy contents. To see the content for a policy, see <a>DescribePolicy</a>.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>If present, indicates that more output is available than is \n included in the current response. Use this value in the <code>NextToken</code> request parameter \n in a subsequent call to the operation to get the next part of the output. You should repeat this \n until the <code>NextToken</code> response element comes back as <code>null</code>.</p>"
}
}
}
},
"com.amazonaws.organizations#ListRoots": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#ListRootsRequest"
},
"output": {
"target": "com.amazonaws.organizations#ListRootsResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the roots that are defined in the current organization.</p>\n <note>\n <p>Always check the <code>NextToken</code> response parameter \nfor a <code>null</code> value when calling a <code>List*</code> operation. These operations can \noccasionally return an empty set of results even when there are more results available. The \n<code>NextToken</code> response parameter value is <code>null</code> \n <i>only</i> \nwhen there are no more results to display.</p>\n </note>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>\n <note>\n <p>Policy types can be enabled and disabled in roots. This is distinct from whether\n they're available in the organization. When you enable all features, you make policy\n types available for use in that organization. Individual policy types can then be\n enabled and disabled in a root. To see the availability of a policy type in an\n organization, use <a>DescribeOrganization</a>.</p>\n </note>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.organizations#ListRootsRequest": {
"type": "structure",
"members": {
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>The parameter for receiving additional results if you receive a \n <code>NextToken</code> response in a previous request. A <code>NextToken</code> response \n indicates that more output is available. Set this parameter to the value of the previous \n call's <code>NextToken</code> response to indicate where the output should continue \n from.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.organizations#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The total number of results that you want included on each page of the \n response. If you do not include this parameter, it defaults to a value that is specific to the \n operation. If additional items exist beyond the maximum you specify, the <code>NextToken</code> \n response element is present and has a value (is not null). Include that value as the \n <code>NextToken</code> request parameter in the next call to the operation to get the next part \n of the results. Note that Organizations might return fewer results than the maximum even when there are \n more results available. You should check <code>NextToken</code> after every operation to ensure \n that you receive all of the results.</p>"
}
}
}
},
"com.amazonaws.organizations#ListRootsResponse": {
"type": "structure",
"members": {
"Roots": {
"target": "com.amazonaws.organizations#Roots",
"traits": {
"smithy.api#documentation": "<p>A list of roots that are defined in an organization.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>If present, indicates that more output is available than is \n included in the current response. Use this value in the <code>NextToken</code> request parameter \n in a subsequent call to the operation to get the next part of the output. You should repeat this \n until the <code>NextToken</code> response element comes back as <code>null</code>.</p>"
}
}
}
},
"com.amazonaws.organizations#ListTagsForResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#ListTagsForResourceRequest"
},
"output": {
"target": "com.amazonaws.organizations#ListTagsForResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TargetNotFoundException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists tags that are attached to the specified resource.</p>\n <p>You can attach tags to the following resources in AWS Organizations.</p>\n <ul>\n <li>\n <p>AWS account</p>\n </li>\n <li>\n <p>Organization root</p>\n </li>\n <li>\n <p>Organizational unit (OU)</p>\n </li>\n <li>\n <p>Policy (any type)</p>\n </li>\n </ul>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"items": "Tags"
}
}
},
"com.amazonaws.organizations#ListTagsForResourceRequest": {
"type": "structure",
"members": {
"ResourceId": {
"target": "com.amazonaws.organizations#TaggableResourceId",
"traits": {
"smithy.api#documentation": "<p>The ID of the resource with the tags to list.</p>\n <p>You can specify any of the following taggable resources.</p>\n <ul>\n <li>\n <p>AWS account specify the account ID number.</p>\n </li>\n <li>\n <p>Organizational unit specify the OU ID that begins with <code>ou-</code> and\n looks similar to: <code>ou-<i>1a2b-34uvwxyz</i>\n </code>\n </p>\n </li>\n <li>\n <p>Root specify the root ID that begins with <code>r-</code> and looks similar\n to: <code>r-<i>1a2b</i>\n </code>\n </p>\n </li>\n <li>\n <p>Policy specify the policy ID that begins with <code>p-</code> andlooks\n similar to: <code>p-<i>12abcdefg3</i>\n </code>\n </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>The parameter for receiving additional results if you receive a \n <code>NextToken</code> response in a previous request. A <code>NextToken</code> response \n indicates that more output is available. Set this parameter to the value of the previous \n call's <code>NextToken</code> response to indicate where the output should continue \n from.</p>"
}
}
}
},
"com.amazonaws.organizations#ListTagsForResourceResponse": {
"type": "structure",
"members": {
"Tags": {
"target": "com.amazonaws.organizations#Tags",
"traits": {
"smithy.api#documentation": "<p>The tags that are assigned to the resource.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>If present, indicates that more output is available than is \n included in the current response. Use this value in the <code>NextToken</code> request parameter \n in a subsequent call to the operation to get the next part of the output. You should repeat this \n until the <code>NextToken</code> response element comes back as <code>null</code>.</p>"
}
}
}
},
"com.amazonaws.organizations#ListTargetsForPolicy": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#ListTargetsForPolicyRequest"
},
"output": {
"target": "com.amazonaws.organizations#ListTargetsForPolicyResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#PolicyNotFoundException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists all the roots, organizational units (OUs), and accounts that the specified\n policy is attached to.</p>\n <note>\n <p>Always check the <code>NextToken</code> response parameter \nfor a <code>null</code> value when calling a <code>List*</code> operation. These operations can \noccasionally return an empty set of results even when there are more results available. The \n<code>NextToken</code> response parameter value is <code>null</code> \n <i>only</i> \nwhen there are no more results to display.</p>\n </note>\n <p>This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an AWS service.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.organizations#ListTargetsForPolicyRequest": {
"type": "structure",
"members": {
"PolicyId": {
"target": "com.amazonaws.organizations#PolicyId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the policy whose attachments you want to know.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a policy ID string requires \"p-\" followed \n by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).</p>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>The parameter for receiving additional results if you receive a \n <code>NextToken</code> response in a previous request. A <code>NextToken</code> response \n indicates that more output is available. Set this parameter to the value of the previous \n call's <code>NextToken</code> response to indicate where the output should continue \n from.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.organizations#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The total number of results that you want included on each page of the \n response. If you do not include this parameter, it defaults to a value that is specific to the \n operation. If additional items exist beyond the maximum you specify, the <code>NextToken</code> \n response element is present and has a value (is not null). Include that value as the \n <code>NextToken</code> request parameter in the next call to the operation to get the next part \n of the results. Note that Organizations might return fewer results than the maximum even when there are \n more results available. You should check <code>NextToken</code> after every operation to ensure \n that you receive all of the results.</p>"
}
}
}
},
"com.amazonaws.organizations#ListTargetsForPolicyResponse": {
"type": "structure",
"members": {
"Targets": {
"target": "com.amazonaws.organizations#PolicyTargets",
"traits": {
"smithy.api#documentation": "<p>A list of structures, each of which contains details about one of the entities to\n which the specified policy is attached.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.organizations#NextToken",
"traits": {
"smithy.api#documentation": "<p>If present, indicates that more output is available than is \n included in the current response. Use this value in the <code>NextToken</code> request parameter \n in a subsequent call to the operation to get the next part of the output. You should repeat this \n until the <code>NextToken</code> response element comes back as <code>null</code>.</p>"
}
}
}
},
"com.amazonaws.organizations#MalformedPolicyDocumentException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The provided policy document doesn't meet the requirements of the specified policy\n type. For example, the syntax might be incorrect. For details about service control\n policy syntax, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html\">Service Control Policy\n Syntax</a> in the <i>AWS Organizations User Guide.</i>\n </p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.organizations#MasterCannotLeaveOrganizationException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>You can't remove a management account from an organization. If you want the management\n account to become a member account in another organization, you must first delete the\n current organization of the management account.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#MaxResults": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 20
}
}
},
"com.amazonaws.organizations#MoveAccount": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#MoveAccountRequest"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AccountNotFoundException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#DestinationParentNotFoundException"
},
{
"target": "com.amazonaws.organizations#DuplicateAccountException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#SourceParentNotFoundException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Moves an account from its current source parent root or organizational unit (OU) to\n the specified destination parent root or OU.</p>\n <p>This operation can be called only from the organization's management account.</p>"
}
},
"com.amazonaws.organizations#MoveAccountRequest": {
"type": "structure",
"members": {
"AccountId": {
"target": "com.amazonaws.organizations#AccountId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the account that you want to move.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for an account ID string requires exactly 12\n digits.</p>",
"smithy.api#required": {}
}
},
"SourceParentId": {
"target": "com.amazonaws.organizations#ParentId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the root or organizational unit that you want to move\n the account from.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a parent ID string requires one of the \n following:</p>\n <ul>\n <li>\n <p>\n <b>Root</b> - A string that begins with \"r-\" followed by from 4 to 32 lowercase letters or \n digits.</p>\n </li>\n <li>\n <p>\n <b>Organizational unit (OU)</b> - A string that begins with \"ou-\" followed by from 4 to 32\n lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second \n \"-\" dash and from 8 to 32 additional lowercase letters or digits.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"DestinationParentId": {
"target": "com.amazonaws.organizations#ParentId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the root or organizational unit that you want to move\n the account to.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a parent ID string requires one of the \n following:</p>\n <ul>\n <li>\n <p>\n <b>Root</b> - A string that begins with \"r-\" followed by from 4 to 32 lowercase letters or \n digits.</p>\n </li>\n <li>\n <p>\n <b>Organizational unit (OU)</b> - A string that begins with \"ou-\" followed by from 4 to 32\n lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second \n \"-\" dash and from 8 to 32 additional lowercase letters or digits.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#NextToken": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 100000
},
"smithy.api#pattern": "[\\s\\S]*"
}
},
"com.amazonaws.organizations#Organization": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.organizations#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of an organization.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for an organization ID string requires \"o-\" \n followed by from 10 to 32 lowercase letters or digits.</p>"
}
},
"Arn": {
"target": "com.amazonaws.organizations#OrganizationArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of an organization.</p>\n <p>For more information about ARNs in Organizations, see <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies\">ARN \n Formats Supported by Organizations</a> in the <i>AWS Service Authorization Reference</i>.</p>"
}
},
"FeatureSet": {
"target": "com.amazonaws.organizations#OrganizationFeatureSet",
"traits": {
"smithy.api#documentation": "<p>Specifies the functionality that currently is available to the organization. If set to\n \"ALL\", then all features are enabled and policies can be applied to accounts in the\n organization. If set to \"CONSOLIDATED_BILLING\", then only consolidated billing\n functionality is available. For more information, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">Enabling All Features\n in Your Organization</a> in the <i>AWS Organizations User Guide</i>.</p>"
}
},
"MasterAccountArn": {
"target": "com.amazonaws.organizations#AccountArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the account that is designated as the management\n account for the organization.</p>\n <p>For more information about ARNs in Organizations, see <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies\">ARN \n Formats Supported by Organizations</a> in the <i>AWS Service Authorization Reference</i>.</p>"
}
},
"MasterAccountId": {
"target": "com.amazonaws.organizations#AccountId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the management account of an organization.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for an account ID string requires exactly 12\n digits.</p>"
}
},
"MasterAccountEmail": {
"target": "com.amazonaws.organizations#Email",
"traits": {
"smithy.api#documentation": "<p>The email address that is associated with the AWS account that is designated as the\n management account for the organization.</p>"
}
},
"AvailablePolicyTypes": {
"target": "com.amazonaws.organizations#PolicyTypes",
"traits": {
"smithy.api#documentation": "<important>\n <p>Do not use. This field is deprecated and doesn't provide complete information\n about the policies in your organization.</p>\n </important>\n <p>To determine the policies that are enabled and available for use in your organization,\n use the <a>ListRoots</a> operation instead.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains details about an organization. An organization is a collection of accounts\n that are centrally managed together using consolidated billing, organized hierarchically\n with organizational units (OUs), and controlled with policies .</p>"
}
},
"com.amazonaws.organizations#OrganizationArn": {
"type": "string",
"traits": {
"smithy.api#pattern": "^arn:aws:organizations::\\d{12}:organization\\/o-[a-z0-9]{10,32}"
}
},
"com.amazonaws.organizations#OrganizationFeatureSet": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ALL",
"name": "ALL"
},
{
"value": "CONSOLIDATED_BILLING",
"name": "CONSOLIDATED_BILLING"
}
]
}
},
"com.amazonaws.organizations#OrganizationId": {
"type": "string",
"traits": {
"smithy.api#pattern": "^o-[a-z0-9]{10,32}$"
}
},
"com.amazonaws.organizations#OrganizationNotEmptyException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The organization isn't empty. To delete an organization, you must first remove all\n accounts except the management account, delete all OUs, and delete all policies.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#OrganizationalUnit": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.organizations#OrganizationalUnitId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) associated with this OU.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for an organizational unit ID string requires \n \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the \n OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters \n or digits.</p>"
}
},
"Arn": {
"target": "com.amazonaws.organizations#OrganizationalUnitArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of this OU.</p>\n <p>For more information about ARNs in Organizations, see <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies\">ARN \n Formats Supported by Organizations</a> in the <i>AWS Service Authorization Reference</i>.</p>"
}
},
"Name": {
"target": "com.amazonaws.organizations#OrganizationalUnitName",
"traits": {
"smithy.api#documentation": "<p>The friendly name of this OU.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> \n that is used to validate this parameter is a string of any of the characters in the ASCII \n character range.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains details about an organizational unit (OU). An OU is a container of AWS\n accounts within a root of an organization. Policies that are attached to an OU apply to\n all accounts contained in that OU and in any child OUs.</p>"
}
},
"com.amazonaws.organizations#OrganizationalUnitArn": {
"type": "string",
"traits": {
"smithy.api#pattern": "^arn:aws:organizations::\\d{12}:ou\\/o-[a-z0-9]{10,32}\\/ou-[0-9a-z]{4,32}-[0-9a-z]{8,32}"
}
},
"com.amazonaws.organizations#OrganizationalUnitId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 68
},
"smithy.api#pattern": "^ou-[0-9a-z]{4,32}-[a-z0-9]{8,32}$"
}
},
"com.amazonaws.organizations#OrganizationalUnitName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "[\\s\\S]*"
}
},
"com.amazonaws.organizations#OrganizationalUnitNotEmptyException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The specified OU is not empty. Move all accounts to another root or to other OUs,\n remove all child OUs, and try the operation again.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#OrganizationalUnitNotFoundException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>We can't find an OU with the <code>OrganizationalUnitId</code> that you\n specified.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.organizations#OrganizationalUnits": {
"type": "list",
"member": {
"target": "com.amazonaws.organizations#OrganizationalUnit"
}
},
"com.amazonaws.organizations#Parent": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.organizations#ParentId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the parent entity.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a parent ID string requires one of the \n following:</p>\n <ul>\n <li>\n <p>\n <b>Root</b> - A string that begins with \"r-\" followed by from 4 to 32 lowercase letters or \n digits.</p>\n </li>\n <li>\n <p>\n <b>Organizational unit (OU)</b> - A string that begins with \"ou-\" followed by from 4 to 32\n lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second \n \"-\" dash and from 8 to 32 additional lowercase letters or digits.</p>\n </li>\n </ul>"
}
},
"Type": {
"target": "com.amazonaws.organizations#ParentType",
"traits": {
"smithy.api#documentation": "<p>The type of the parent entity.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about either a root or an organizational unit (OU) that can\n contain OUs or accounts in an organization.</p>"
}
},
"com.amazonaws.organizations#ParentId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 100
},
"smithy.api#pattern": "^(r-[0-9a-z]{4,32})|(ou-[0-9a-z]{4,32}-[a-z0-9]{8,32})$"
}
},
"com.amazonaws.organizations#ParentNotFoundException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>We can't find a root or OU with the <code>ParentId</code> that you specified.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.organizations#ParentType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ROOT",
"name": "ROOT"
},
{
"value": "ORGANIZATIONAL_UNIT",
"name": "ORGANIZATIONAL_UNIT"
}
]
}
},
"com.amazonaws.organizations#Parents": {
"type": "list",
"member": {
"target": "com.amazonaws.organizations#Parent"
}
},
"com.amazonaws.organizations#Policies": {
"type": "list",
"member": {
"target": "com.amazonaws.organizations#PolicySummary"
}
},
"com.amazonaws.organizations#Policy": {
"type": "structure",
"members": {
"PolicySummary": {
"target": "com.amazonaws.organizations#PolicySummary",
"traits": {
"smithy.api#documentation": "<p>A structure that contains additional details about the policy.</p>"
}
},
"Content": {
"target": "com.amazonaws.organizations#PolicyContent",
"traits": {
"smithy.api#documentation": "<p>The text content of the policy.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains rules to be applied to the affected accounts. Policies can be attached\n directly to accounts, or to roots and OUs to affect all accounts in those\n hierarchies.</p>"
}
},
"com.amazonaws.organizations#PolicyArn": {
"type": "string",
"traits": {
"smithy.api#pattern": "^(arn:aws:organizations::\\d{12}:policy\\/o-[a-z0-9]{10,32}\\/[0-9a-z_]+\\/p-[0-9a-z]{10,32})|(arn:aws:organizations::aws:policy\\/[0-9a-z_]+\\/p-[0-9a-zA-Z_]{10,128})"
}
},
"com.amazonaws.organizations#PolicyChangesInProgressException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>Changes to the effective policy are in progress, and its contents can't be returned.\n Try the operation again later. </p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.organizations#PolicyContent": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 1000000
},
"smithy.api#pattern": "[\\s\\S]*"
}
},
"com.amazonaws.organizations#PolicyDescription": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 512
},
"smithy.api#pattern": "[\\s\\S]*"
}
},
"com.amazonaws.organizations#PolicyId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 130
},
"smithy.api#pattern": "^p-[0-9a-zA-Z_]{8,128}$"
}
},
"com.amazonaws.organizations#PolicyInUseException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The policy is attached to one or more entities. You must detach it from all roots,\n OUs, and accounts before performing this operation.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#PolicyName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "[\\s\\S]*"
}
},
"com.amazonaws.organizations#PolicyNotAttachedException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The policy isn't attached to the specified target in the specified root.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#PolicyNotFoundException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>We can't find a policy with the <code>PolicyId</code> that you specified.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.organizations#PolicySummary": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.organizations#PolicyId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the policy.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a policy ID string requires \"p-\" followed \n by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).</p>"
}
},
"Arn": {
"target": "com.amazonaws.organizations#PolicyArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the policy.</p>\n <p>For more information about ARNs in Organizations, see <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies\">ARN \n Formats Supported by Organizations</a> in the <i>AWS Service Authorization Reference</i>.</p>"
}
},
"Name": {
"target": "com.amazonaws.organizations#PolicyName",
"traits": {
"smithy.api#documentation": "<p>The friendly name of the policy.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> \n that is used to validate this parameter is a string of any of the characters in the ASCII \n character range.</p>"
}
},
"Description": {
"target": "com.amazonaws.organizations#PolicyDescription",
"traits": {
"smithy.api#documentation": "<p>The description of the policy.</p>"
}
},
"Type": {
"target": "com.amazonaws.organizations#PolicyType",
"traits": {
"smithy.api#documentation": "<p>The type of policy.</p>"
}
},
"AwsManaged": {
"target": "com.amazonaws.organizations#AwsManagedPolicy",
"traits": {
"smithy.api#documentation": "<p>A boolean value that indicates whether the specified policy is an AWS managed\n policy. If true, then you can attach the policy to roots, OUs, or accounts, but you\n cannot edit it.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about a policy, but does not include the content. To see the\n content of a policy, see <a>DescribePolicy</a>.</p>"
}
},
"com.amazonaws.organizations#PolicyTargetId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 100
},
"smithy.api#pattern": "^(r-[0-9a-z]{4,32})|(\\d{12})|(ou-[0-9a-z]{4,32}-[a-z0-9]{8,32})$"
}
},
"com.amazonaws.organizations#PolicyTargetSummary": {
"type": "structure",
"members": {
"TargetId": {
"target": "com.amazonaws.organizations#PolicyTargetId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the policy target.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a target ID string requires one of the \n following:</p>\n <ul>\n <li>\n <p>\n <b>Root</b> - A string that begins with \"r-\" followed by from 4 to 32 lowercase letters or \n digits.</p>\n </li>\n <li>\n <p>\n <b>Account</b> - A string that consists of exactly 12 digits.</p>\n </li>\n <li>\n <p>\n <b>Organizational unit (OU)</b> - A string that begins with \"ou-\" followed by from 4 to 32 \n lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second \n \"-\" dash and from 8 to 32 additional lowercase letters or digits.</p>\n </li>\n </ul>"
}
},
"Arn": {
"target": "com.amazonaws.organizations#GenericArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the policy target.</p>\n <p>For more information about ARNs in Organizations, see <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies\">ARN \n Formats Supported by Organizations</a> in the <i>AWS Service Authorization Reference</i>.</p>"
}
},
"Name": {
"target": "com.amazonaws.organizations#TargetName",
"traits": {
"smithy.api#documentation": "<p>The friendly name of the policy target.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> \n that is used to validate this parameter is a string of any of the characters in the ASCII \n character range.</p>"
}
},
"Type": {
"target": "com.amazonaws.organizations#TargetType",
"traits": {
"smithy.api#documentation": "<p>The type of the policy target.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about a root, OU, or account that a policy is attached to.</p>"
}
},
"com.amazonaws.organizations#PolicyTargets": {
"type": "list",
"member": {
"target": "com.amazonaws.organizations#PolicyTargetSummary"
}
},
"com.amazonaws.organizations#PolicyType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "SERVICE_CONTROL_POLICY",
"name": "SERVICE_CONTROL_POLICY"
},
{
"value": "TAG_POLICY",
"name": "TAG_POLICY"
},
{
"value": "BACKUP_POLICY",
"name": "BACKUP_POLICY"
},
{
"value": "AISERVICES_OPT_OUT_POLICY",
"name": "AISERVICES_OPT_OUT_POLICY"
}
]
}
},
"com.amazonaws.organizations#PolicyTypeAlreadyEnabledException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The specified policy type is already enabled in the specified root.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#PolicyTypeNotAvailableForOrganizationException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>You can't use the specified policy type with the feature set currently enabled for\n this organization. For example, you can enable SCPs only after you enable all features\n in the organization. For more information, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#enable_policies_on_root\">Managing\n AWS Organizations Policies</a>in the <i>AWS Organizations User Guide.</i>\n </p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#PolicyTypeNotEnabledException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The specified policy type isn't currently enabled in this root. You can't attach\n policies of the specified type to entities in a root until you enable that type in the\n root. For more information, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">Enabling All Features\n in Your Organization</a> in the <i>AWS Organizations User Guide.</i>\n </p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.organizations#PolicyTypeStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ENABLED",
"name": "ENABLED"
},
{
"value": "PENDING_ENABLE",
"name": "PENDING_ENABLE"
},
{
"value": "PENDING_DISABLE",
"name": "PENDING_DISABLE"
}
]
}
},
"com.amazonaws.organizations#PolicyTypeSummary": {
"type": "structure",
"members": {
"Type": {
"target": "com.amazonaws.organizations#PolicyType",
"traits": {
"smithy.api#documentation": "<p>The name of the policy type.</p>"
}
},
"Status": {
"target": "com.amazonaws.organizations#PolicyTypeStatus",
"traits": {
"smithy.api#documentation": "<p>The status of the policy type as it relates to the associated root. To attach a policy\n of the specified type to a root or to an OU or account in that root, it must be\n available in the organization and enabled for that root.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about a policy type and its status in the associated root.</p>"
}
},
"com.amazonaws.organizations#PolicyTypes": {
"type": "list",
"member": {
"target": "com.amazonaws.organizations#PolicyTypeSummary"
}
},
"com.amazonaws.organizations#RegisterDelegatedAdministrator": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#RegisterDelegatedAdministratorRequest"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AccountAlreadyRegisteredException"
},
{
"target": "com.amazonaws.organizations#AccountNotFoundException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Enables the specified member account to administer the Organizations features of the specified\n AWS service. It grants read-only access to AWS Organizations service data. The account still\n requires IAM permissions to access and administer the AWS service.</p>\n <p>You can run this action only for AWS services that support this\n feature. For a current list of services that support it, see the column <i>Supports \n Delegated Administrator</i> in the table at <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services_list.html\">AWS Services that you can use with \n AWS Organizations</a> in the <i>AWS Organizations User Guide.</i>\n </p>\n <p>This operation can be called only from the organization's management account.</p>"
}
},
"com.amazonaws.organizations#RegisterDelegatedAdministratorRequest": {
"type": "structure",
"members": {
"AccountId": {
"target": "com.amazonaws.organizations#AccountId",
"traits": {
"smithy.api#documentation": "<p>The account ID number of the member account in the organization to register as a\n delegated administrator.</p>",
"smithy.api#required": {}
}
},
"ServicePrincipal": {
"target": "com.amazonaws.organizations#ServicePrincipal",
"traits": {
"smithy.api#documentation": "<p>The service principal of the AWS service for which you want to make the member\n account a delegated administrator.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#RemoveAccountFromOrganization": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#RemoveAccountFromOrganizationRequest"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AccountNotFoundException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#MasterCannotLeaveOrganizationException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Removes the specified account from the organization.</p>\n <p>The removed account becomes a standalone account that isn't a member of any\n organization. It's no longer subject to any policies and is responsible for its own bill\n payments. The organization's management account is no longer charged for any expenses\n accrued by the member account after it's removed from the organization.</p>\n <p>This operation can be called only from the organization's management account. Member accounts can remove themselves with <a>LeaveOrganization</a> instead.</p>\n <important>\n <ul>\n <li>\n <p>You can remove an account from your organization only if the account is\n configured with the information required to operate as a standalone account.\n When you create an account in an organization using the AWS Organizations console,\n API, or CLI commands, the information required of standalone accounts is\n <i>not</i> automatically collected. For an account that\n you want to make standalone, you must choose a support plan, provide and\n verify the required contact information, and provide a current payment\n method. AWS uses the payment method to charge for any billable (not free\n tier) AWS activity that occurs while the account isn't attached to an\n organization. To remove an account that doesn't yet have this information,\n you must sign in as the member account and follow the steps at <a href=\"http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info\"> To leave an organization when all required account information has not\n yet been provided</a> in the\n <i>AWS Organizations User Guide.</i>\n </p>\n </li>\n <li>\n <p>The account that you want to leave must not be a delegated administrator\n account for any AWS service enabled for your organization. If the account\n is a delegated administrator, you must first change the delegated\n administrator account to another account that is remaining in the\n organization.</p>\n </li>\n <li>\n <p>After the account leaves the organization, all tags that were attached to\n the account object in the organization are deleted. AWS accounts outside\n of an organization do not support tags.</p>\n </li>\n </ul>\n </important>"
}
},
"com.amazonaws.organizations#RemoveAccountFromOrganizationRequest": {
"type": "structure",
"members": {
"AccountId": {
"target": "com.amazonaws.organizations#AccountId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the member account that you want to remove from the\n organization.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for an account ID string requires exactly 12\n digits.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#RoleName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 64
},
"smithy.api#pattern": "[\\w+=,.@-]{1,64}"
}
},
"com.amazonaws.organizations#Root": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.organizations#RootId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) for the root.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a root ID string requires \"r-\" followed by \n from 4 to 32 lowercase letters or digits.</p>"
}
},
"Arn": {
"target": "com.amazonaws.organizations#RootArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the root.</p>\n <p>For more information about ARNs in Organizations, see <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies\">ARN \n Formats Supported by Organizations</a> in the <i>AWS Service Authorization Reference</i>.</p>"
}
},
"Name": {
"target": "com.amazonaws.organizations#RootName",
"traits": {
"smithy.api#documentation": "<p>The friendly name of the root.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> \n that is used to validate this parameter is a string of any of the characters in the ASCII \n character range.</p>"
}
},
"PolicyTypes": {
"target": "com.amazonaws.organizations#PolicyTypes",
"traits": {
"smithy.api#documentation": "<p>The types of policies that are currently enabled for the root and therefore can be\n attached to the root or to its OUs or accounts.</p>\n <note>\n <p>Even if a policy type is shown as available in the organization, you can\n separately enable and disable them at the root level by using <a>EnablePolicyType</a> and <a>DisablePolicyType</a>. Use <a>DescribeOrganization</a> to see the availability of the policy types in\n that organization.</p>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains details about a root. A root is a top-level parent node in the hierarchy of\n an organization that can contain organizational units (OUs) and accounts.\n The root contains every AWS account in the\n organization.</p>"
}
},
"com.amazonaws.organizations#RootArn": {
"type": "string",
"traits": {
"smithy.api#pattern": "^arn:aws:organizations::\\d{12}:root\\/o-[a-z0-9]{10,32}\\/r-[0-9a-z]{4,32}"
}
},
"com.amazonaws.organizations#RootId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 34
},
"smithy.api#pattern": "^r-[0-9a-z]{4,32}$"
}
},
"com.amazonaws.organizations#RootName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
}
}
},
"com.amazonaws.organizations#RootNotFoundException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>We can't find a root with the <code>RootId</code> that you specified.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.organizations#Roots": {
"type": "list",
"member": {
"target": "com.amazonaws.organizations#Root"
}
},
"com.amazonaws.organizations#ServiceException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>AWS Organizations can't complete your request because of an internal service error. Try again\n later.</p>",
"smithy.api#error": "server",
"smithy.api#httpError": 500
}
},
"com.amazonaws.organizations#ServicePrincipal": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "[\\w+=,.@-]*"
}
},
"com.amazonaws.organizations#SourceParentNotFoundException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>We can't find a source root or OU with the <code>ParentId</code> that you\n specified.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.organizations#Tag": {
"type": "structure",
"members": {
"Key": {
"target": "com.amazonaws.organizations#TagKey",
"traits": {
"smithy.api#documentation": "<p>The key identifier, or name, of the tag.</p>",
"smithy.api#required": {}
}
},
"Value": {
"target": "com.amazonaws.organizations#TagValue",
"traits": {
"smithy.api#documentation": "<p>The string value that's associated with the key of the tag. You can set the value of a\n tag to an empty string, but you can't set the value of a tag to null.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A custom key-value pair associated with a resource within your organization.</p>\n <p>You can attach tags to any of the following organization resources.</p>\n <ul>\n <li>\n <p>AWS account</p>\n </li>\n <li>\n <p>Organizational unit (OU)</p>\n </li>\n <li>\n <p>Organization root</p>\n </li>\n <li>\n <p>Policy</p>\n </li>\n </ul>"
}
},
"com.amazonaws.organizations#TagKey": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
}
},
"com.amazonaws.organizations#TagKeys": {
"type": "list",
"member": {
"target": "com.amazonaws.organizations#TagKey"
}
},
"com.amazonaws.organizations#TagResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#TagResourceRequest"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TargetNotFoundException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Adds one or more tags to the specified resource.</p>\n <p>Currently, you can attach tags to the following resources in AWS Organizations.</p>\n <ul>\n <li>\n <p>AWS account</p>\n </li>\n <li>\n <p>Organization root</p>\n </li>\n <li>\n <p>Organizational unit (OU)</p>\n </li>\n <li>\n <p>Policy (any type)</p>\n </li>\n </ul>\n <p>This operation can be called only from the organization's management account.</p>"
}
},
"com.amazonaws.organizations#TagResourceRequest": {
"type": "structure",
"members": {
"ResourceId": {
"target": "com.amazonaws.organizations#TaggableResourceId",
"traits": {
"smithy.api#documentation": "<p>The ID of the resource to add a tag to.</p>",
"smithy.api#required": {}
}
},
"Tags": {
"target": "com.amazonaws.organizations#Tags",
"traits": {
"smithy.api#documentation": "<p>A list of tags to add to the specified resource.</p>\n <p>You can specify any of the following taggable resources.</p>\n <ul>\n <li>\n <p>AWS account specify the account ID number.</p>\n </li>\n <li>\n <p>Organizational unit specify the OU ID that begins with <code>ou-</code> and\n looks similar to: <code>ou-<i>1a2b-34uvwxyz</i>\n </code>\n </p>\n </li>\n <li>\n <p>Root specify the root ID that begins with <code>r-</code> and looks similar\n to: <code>r-<i>1a2b</i>\n </code>\n </p>\n </li>\n <li>\n <p>Policy specify the policy ID that begins with <code>p-</code> andlooks\n similar to: <code>p-<i>12abcdefg3</i>\n </code>\n </p>\n </li>\n </ul>\n <p>For each tag in the list, you must specify both a tag key and a value. You can set the\n value to an empty string, but you can't set it to <code>null</code>.</p>\n <note>\n <p>If any one of the tags is invalid or if you exceed the allowed number of tags for\n an account user, then the entire request fails and the account is not\n created.</p>\n </note>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#TagValue": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 256
},
"smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
}
},
"com.amazonaws.organizations#TaggableResourceId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 130
},
"smithy.api#pattern": "^(r-[0-9a-z]{4,32})|(\\d{12})|(ou-[0-9a-z]{4,32}-[a-z0-9]{8,32})|(^p-[0-9a-zA-Z_]{8,128})$"
}
},
"com.amazonaws.organizations#Tags": {
"type": "list",
"member": {
"target": "com.amazonaws.organizations#Tag"
}
},
"com.amazonaws.organizations#TargetName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
}
}
},
"com.amazonaws.organizations#TargetNotFoundException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>We can't find a root, OU, account, or policy with the <code>TargetId</code> that you\n specified.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.organizations#TargetType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ACCOUNT",
"name": "ACCOUNT"
},
{
"value": "ORGANIZATIONAL_UNIT",
"name": "ORGANIZATIONAL_UNIT"
},
{
"value": "ROOT",
"name": "ROOT"
}
]
}
},
"com.amazonaws.organizations#Timestamp": {
"type": "timestamp"
},
"com.amazonaws.organizations#TooManyRequestsException": {
"type": "structure",
"members": {
"Type": {
"target": "com.amazonaws.organizations#ExceptionType"
},
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>You have sent too many requests in too short a period of time. The quota helps protect\n against denial-of-service attacks. Try again later.</p>\n <p>For information about quotas that affect AWS Organizations, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html\">Quotas for AWS Organizations</a>in the\n <i>AWS Organizations User Guide.</i>\n </p>",
"smithy.api#error": "client",
"smithy.api#httpError": 429
}
},
"com.amazonaws.organizations#UnsupportedAPIEndpointException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.organizations#ExceptionMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>This action isn't available in the current AWS Region.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 403
}
},
"com.amazonaws.organizations#UntagResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#UntagResourceRequest"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TargetNotFoundException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Removes any tags with the specified keys from the specified resource.</p>\n <p>You can attach tags to the following resources in AWS Organizations.</p>\n <ul>\n <li>\n <p>AWS account</p>\n </li>\n <li>\n <p>Organization root</p>\n </li>\n <li>\n <p>Organizational unit (OU)</p>\n </li>\n <li>\n <p>Policy (any type)</p>\n </li>\n </ul>\n <p>This operation can be called only from the organization's management account.</p>"
}
},
"com.amazonaws.organizations#UntagResourceRequest": {
"type": "structure",
"members": {
"ResourceId": {
"target": "com.amazonaws.organizations#TaggableResourceId",
"traits": {
"smithy.api#documentation": "<p>The ID of the resource to remove a tag from.</p>\n <p>You can specify any of the following taggable resources.</p>\n <ul>\n <li>\n <p>AWS account specify the account ID number.</p>\n </li>\n <li>\n <p>Organizational unit specify the OU ID that begins with <code>ou-</code> and\n looks similar to: <code>ou-<i>1a2b-34uvwxyz</i>\n </code>\n </p>\n </li>\n <li>\n <p>Root specify the root ID that begins with <code>r-</code> and looks similar\n to: <code>r-<i>1a2b</i>\n </code>\n </p>\n </li>\n <li>\n <p>Policy specify the policy ID that begins with <code>p-</code> andlooks\n similar to: <code>p-<i>12abcdefg3</i>\n </code>\n </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"TagKeys": {
"target": "com.amazonaws.organizations#TagKeys",
"traits": {
"smithy.api#documentation": "<p>The list of keys for tags to remove from the specified resource.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.organizations#UpdateOrganizationalUnit": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#UpdateOrganizationalUnitRequest"
},
"output": {
"target": "com.amazonaws.organizations#UpdateOrganizationalUnitResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#DuplicateOrganizationalUnitException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#OrganizationalUnitNotFoundException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Renames the specified organizational unit (OU). The ID and ARN don't change. The child\n OUs and accounts remain in place, and any attached policies of the OU remain\n attached.</p>\n <p>This operation can be called only from the organization's management account.</p>"
}
},
"com.amazonaws.organizations#UpdateOrganizationalUnitRequest": {
"type": "structure",
"members": {
"OrganizationalUnitId": {
"target": "com.amazonaws.organizations#OrganizationalUnitId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the OU that you want to rename. You can get the ID from\n the <a>ListOrganizationalUnitsForParent</a> operation.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for an organizational unit ID string requires \n \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the \n OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters \n or digits.</p>",
"smithy.api#required": {}
}
},
"Name": {
"target": "com.amazonaws.organizations#OrganizationalUnitName",
"traits": {
"smithy.api#documentation": "<p>The new name that you want to assign to the OU.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> \n that is used to validate this parameter is a string of any of the characters in the ASCII \n character range.</p>"
}
}
}
},
"com.amazonaws.organizations#UpdateOrganizationalUnitResponse": {
"type": "structure",
"members": {
"OrganizationalUnit": {
"target": "com.amazonaws.organizations#OrganizationalUnit",
"traits": {
"smithy.api#documentation": "<p>A structure that contains the details about the specified OU, including its new\n name.</p>"
}
}
}
},
"com.amazonaws.organizations#UpdatePolicy": {
"type": "operation",
"input": {
"target": "com.amazonaws.organizations#UpdatePolicyRequest"
},
"output": {
"target": "com.amazonaws.organizations#UpdatePolicyResponse"
},
"errors": [
{
"target": "com.amazonaws.organizations#AccessDeniedException"
},
{
"target": "com.amazonaws.organizations#AWSOrganizationsNotInUseException"
},
{
"target": "com.amazonaws.organizations#ConcurrentModificationException"
},
{
"target": "com.amazonaws.organizations#ConstraintViolationException"
},
{
"target": "com.amazonaws.organizations#DuplicatePolicyException"
},
{
"target": "com.amazonaws.organizations#InvalidInputException"
},
{
"target": "com.amazonaws.organizations#MalformedPolicyDocumentException"
},
{
"target": "com.amazonaws.organizations#PolicyChangesInProgressException"
},
{
"target": "com.amazonaws.organizations#PolicyNotFoundException"
},
{
"target": "com.amazonaws.organizations#ServiceException"
},
{
"target": "com.amazonaws.organizations#TooManyRequestsException"
},
{
"target": "com.amazonaws.organizations#UnsupportedAPIEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates an existing policy with a new name, description, or content. If you don't\n supply any parameter, that value remains unchanged. You can't change a policy's\n type.</p>\n <p>This operation can be called only from the organization's management account.</p>"
}
},
"com.amazonaws.organizations#UpdatePolicyRequest": {
"type": "structure",
"members": {
"PolicyId": {
"target": "com.amazonaws.organizations#PolicyId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier (ID) of the policy that you want to update.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> for a policy ID string requires \"p-\" followed \n by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).</p>",
"smithy.api#required": {}
}
},
"Name": {
"target": "com.amazonaws.organizations#PolicyName",
"traits": {
"smithy.api#documentation": "<p>If provided, the new name for the policy.</p>\n <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> \n that is used to validate this parameter is a string of any of the characters in the ASCII \n character range.</p>"
}
},
"Description": {
"target": "com.amazonaws.organizations#PolicyDescription",
"traits": {
"smithy.api#documentation": "<p>If provided, the new description for the policy.</p>"
}
},
"Content": {
"target": "com.amazonaws.organizations#PolicyContent",
"traits": {
"smithy.api#documentation": "<p>If provided, the new content for the policy. The text must be correctly formatted JSON\n that complies with the syntax for the policy's type. For more information, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html\">Service\n Control Policy Syntax</a> in the <i>AWS Organizations User Guide.</i>\n </p>"
}
}
}
},
"com.amazonaws.organizations#UpdatePolicyResponse": {
"type": "structure",
"members": {
"Policy": {
"target": "com.amazonaws.organizations#Policy",
"traits": {
"smithy.api#documentation": "<p>A structure that contains details about the updated policy, showing the requested\n changes.</p>"
}
}
}
}
}
}