package
1.55.6
Repository: https://github.com/aws/aws-sdk-go.git
Documentation: pkg.go.dev

# Packages

Package organizationsiface provides an interface to enable mocking the AWS Organizations service client for testing your code.

# Functions

AccessDeniedForDependencyExceptionReason_Values returns all elements of the AccessDeniedForDependencyExceptionReason enum.
AccountJoinedMethod_Values returns all elements of the AccountJoinedMethod enum.
AccountStatus_Values returns all elements of the AccountStatus enum.
ActionType_Values returns all elements of the ActionType enum.
ChildType_Values returns all elements of the ChildType enum.
ConstraintViolationExceptionReason_Values returns all elements of the ConstraintViolationExceptionReason enum.
CreateAccountFailureReason_Values returns all elements of the CreateAccountFailureReason enum.
CreateAccountState_Values returns all elements of the CreateAccountState enum.
EffectivePolicyType_Values returns all elements of the EffectivePolicyType enum.
HandshakeConstraintViolationExceptionReason_Values returns all elements of the HandshakeConstraintViolationExceptionReason enum.
HandshakePartyType_Values returns all elements of the HandshakePartyType enum.
HandshakeResourceType_Values returns all elements of the HandshakeResourceType enum.
HandshakeState_Values returns all elements of the HandshakeState enum.
IAMUserAccessToBilling_Values returns all elements of the IAMUserAccessToBilling enum.
InvalidInputExceptionReason_Values returns all elements of the InvalidInputExceptionReason enum.
New creates a new instance of the Organizations client with a session.
OrganizationFeatureSet_Values returns all elements of the OrganizationFeatureSet enum.
ParentType_Values returns all elements of the ParentType enum.
PolicyType_Values returns all elements of the PolicyType enum.
PolicyTypeStatus_Values returns all elements of the PolicyTypeStatus enum.
TargetType_Values returns all elements of the TargetType enum.

# Constants

AccessDeniedForDependencyExceptionReasonAccessDeniedDuringCreateServiceLinkedRole is a AccessDeniedForDependencyExceptionReason enum value.
AccountJoinedMethodCreated is a AccountJoinedMethod enum value.
AccountJoinedMethodInvited is a AccountJoinedMethod enum value.
AccountStatusActive is a AccountStatus enum value.
AccountStatusPendingClosure is a AccountStatus enum value.
AccountStatusSuspended is a AccountStatus enum value.
ActionTypeAddOrganizationsServiceLinkedRole is a ActionType enum value.
ActionTypeApproveAllFeatures is a ActionType enum value.
ActionTypeEnableAllFeatures is a ActionType enum value.
ActionTypeInvite is a ActionType enum value.
ChildTypeAccount is a ChildType enum value.
ChildTypeOrganizationalUnit is a ChildType enum value.
ConstraintViolationExceptionReasonAccountCannotLeaveOrganization is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonAccountCannotLeaveWithoutEula is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonAccountCannotLeaveWithoutPhoneVerification is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonAccountCreationNotComplete is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonAccountCreationRateLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonAccountNumberLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonCannotCloseManagementAccount is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonCannotRegisterMasterAsDelegatedAdministrator is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonCannotRegisterSuspendedAccountAsDelegatedAdministrator is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonCannotRemoveDelegatedAdministratorFromOrg is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonCloseAccountQuotaExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonCloseAccountRequestsLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonCreateOrganizationInBillingModeUnsupportedRegion is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonDelegatedAdministratorExistsForThisService is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonEmailVerificationCodeExpired is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonHandshakeRateLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonInvalidPaymentInstrument is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonMasterAccountAddressDoesNotMatchMarketplace is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonMasterAccountMissingBusinessLicense is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonMasterAccountMissingContactInfo is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonMasterAccountNotGovcloudEnabled is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonMasterAccountPaymentInstrumentRequired is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonMaxDelegatedAdministratorsForServiceLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonMaxPolicyTypeAttachmentLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonMaxTagLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonMemberAccountPaymentInstrumentRequired is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonMinPolicyTypeAttachmentLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonOrganizationNotInAllFeaturesMode is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonOuDepthLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonOuNumberLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonPolicyContentLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonPolicyNumberLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonServiceAccessNotEnabled is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonTagPolicyViolation is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonWaitPeriodActive is a ConstraintViolationExceptionReason enum value.
CreateAccountFailureReasonAccountLimitExceeded is a CreateAccountFailureReason enum value.
CreateAccountFailureReasonConcurrentAccountModification is a CreateAccountFailureReason enum value.
CreateAccountFailureReasonEmailAlreadyExists is a CreateAccountFailureReason enum value.
CreateAccountFailureReasonFailedBusinessValidation is a CreateAccountFailureReason enum value.
CreateAccountFailureReasonGovcloudAccountAlreadyExists is a CreateAccountFailureReason enum value.
CreateAccountFailureReasonInternalFailure is a CreateAccountFailureReason enum value.
CreateAccountFailureReasonInvalidAddress is a CreateAccountFailureReason enum value.
CreateAccountFailureReasonInvalidEmail is a CreateAccountFailureReason enum value.
CreateAccountFailureReasonInvalidIdentityForBusinessValidation is a CreateAccountFailureReason enum value.
CreateAccountFailureReasonInvalidPaymentInstrument is a CreateAccountFailureReason enum value.
CreateAccountFailureReasonMissingBusinessValidation is a CreateAccountFailureReason enum value.
CreateAccountFailureReasonMissingPaymentInstrument is a CreateAccountFailureReason enum value.
CreateAccountFailureReasonPendingBusinessValidation is a CreateAccountFailureReason enum value.
CreateAccountFailureReasonUnknownBusinessValidation is a CreateAccountFailureReason enum value.
CreateAccountFailureReasonUpdateExistingResourcePolicyWithTagsNotSupported is a CreateAccountFailureReason enum value.
CreateAccountStateFailed is a CreateAccountState enum value.
CreateAccountStateInProgress is a CreateAccountState enum value.
CreateAccountStateSucceeded is a CreateAccountState enum value.
EffectivePolicyTypeAiservicesOptOutPolicy is a EffectivePolicyType enum value.
EffectivePolicyTypeBackupPolicy is a EffectivePolicyType enum value.
EffectivePolicyTypeTagPolicy is a EffectivePolicyType enum value.
ID to lookup a service endpoint with.
ErrCodeAccessDeniedException for service response error code "AccessDeniedException".
ErrCodeAccessDeniedForDependencyException for service response error code "AccessDeniedForDependencyException".
ErrCodeAccountAlreadyClosedException for service response error code "AccountAlreadyClosedException".
ErrCodeAccountAlreadyRegisteredException for service response error code "AccountAlreadyRegisteredException".
ErrCodeAccountNotFoundException for service response error code "AccountNotFoundException".
ErrCodeAccountNotRegisteredException for service response error code "AccountNotRegisteredException".
ErrCodeAccountOwnerNotVerifiedException for service response error code "AccountOwnerNotVerifiedException".
ErrCodeAlreadyInOrganizationException for service response error code "AlreadyInOrganizationException".
ErrCodeAWSOrganizationsNotInUseException for service response error code "AWSOrganizationsNotInUseException".
ErrCodeChildNotFoundException for service response error code "ChildNotFoundException".
ErrCodeConcurrentModificationException for service response error code "ConcurrentModificationException".
ErrCodeConflictException for service response error code "ConflictException".
ErrCodeConstraintViolationException for service response error code "ConstraintViolationException".
ErrCodeCreateAccountStatusNotFoundException for service response error code "CreateAccountStatusNotFoundException".
ErrCodeDestinationParentNotFoundException for service response error code "DestinationParentNotFoundException".
ErrCodeDuplicateAccountException for service response error code "DuplicateAccountException".
ErrCodeDuplicateHandshakeException for service response error code "DuplicateHandshakeException".
ErrCodeDuplicateOrganizationalUnitException for service response error code "DuplicateOrganizationalUnitException".
ErrCodeDuplicatePolicyAttachmentException for service response error code "DuplicatePolicyAttachmentException".
ErrCodeDuplicatePolicyException for service response error code "DuplicatePolicyException".
ErrCodeEffectivePolicyNotFoundException for service response error code "EffectivePolicyNotFoundException".
ErrCodeFinalizingOrganizationException for service response error code "FinalizingOrganizationException".
ErrCodeHandshakeAlreadyInStateException for service response error code "HandshakeAlreadyInStateException".
ErrCodeHandshakeConstraintViolationException for service response error code "HandshakeConstraintViolationException".
ErrCodeHandshakeNotFoundException for service response error code "HandshakeNotFoundException".
ErrCodeInvalidHandshakeTransitionException for service response error code "InvalidHandshakeTransitionException".
ErrCodeInvalidInputException for service response error code "InvalidInputException".
ErrCodeMalformedPolicyDocumentException for service response error code "MalformedPolicyDocumentException".
ErrCodeMasterCannotLeaveOrganizationException for service response error code "MasterCannotLeaveOrganizationException".
ErrCodeOrganizationalUnitNotEmptyException for service response error code "OrganizationalUnitNotEmptyException".
ErrCodeOrganizationalUnitNotFoundException for service response error code "OrganizationalUnitNotFoundException".
ErrCodeOrganizationNotEmptyException for service response error code "OrganizationNotEmptyException".
ErrCodeParentNotFoundException for service response error code "ParentNotFoundException".
ErrCodePolicyChangesInProgressException for service response error code "PolicyChangesInProgressException".
ErrCodePolicyInUseException for service response error code "PolicyInUseException".
ErrCodePolicyNotAttachedException for service response error code "PolicyNotAttachedException".
ErrCodePolicyNotFoundException for service response error code "PolicyNotFoundException".
ErrCodePolicyTypeAlreadyEnabledException for service response error code "PolicyTypeAlreadyEnabledException".
ErrCodePolicyTypeNotAvailableForOrganizationException for service response error code "PolicyTypeNotAvailableForOrganizationException".
ErrCodePolicyTypeNotEnabledException for service response error code "PolicyTypeNotEnabledException".
ErrCodeResourcePolicyNotFoundException for service response error code "ResourcePolicyNotFoundException".
ErrCodeRootNotFoundException for service response error code "RootNotFoundException".
ErrCodeServiceException for service response error code "ServiceException".
ErrCodeSourceParentNotFoundException for service response error code "SourceParentNotFoundException".
ErrCodeTargetNotFoundException for service response error code "TargetNotFoundException".
ErrCodeTooManyRequestsException for service response error code "TooManyRequestsException".
ErrCodeUnsupportedAPIEndpointException for service response error code "UnsupportedAPIEndpointException".
HandshakeConstraintViolationExceptionReasonAccountNumberLimitExceeded is a HandshakeConstraintViolationExceptionReason enum value.
HandshakeConstraintViolationExceptionReasonAlreadyInAnOrganization is a HandshakeConstraintViolationExceptionReason enum value.
HandshakeConstraintViolationExceptionReasonHandshakeRateLimitExceeded is a HandshakeConstraintViolationExceptionReason enum value.
HandshakeConstraintViolationExceptionReasonInviteDisabledDuringEnableAllFeatures is a HandshakeConstraintViolationExceptionReason enum value.
HandshakeConstraintViolationExceptionReasonManagementAccountEmailNotVerified is a HandshakeConstraintViolationExceptionReason enum value.
HandshakeConstraintViolationExceptionReasonOrganizationAlreadyHasAllFeatures is a HandshakeConstraintViolationExceptionReason enum value.
HandshakeConstraintViolationExceptionReasonOrganizationFromDifferentSellerOfRecord is a HandshakeConstraintViolationExceptionReason enum value.
HandshakeConstraintViolationExceptionReasonOrganizationIsAlreadyPendingAllFeaturesMigration is a HandshakeConstraintViolationExceptionReason enum value.
HandshakeConstraintViolationExceptionReasonOrganizationMembershipChangeRateLimitExceeded is a HandshakeConstraintViolationExceptionReason enum value.
HandshakeConstraintViolationExceptionReasonPaymentInstrumentRequired is a HandshakeConstraintViolationExceptionReason enum value.
HandshakePartyTypeAccount is a HandshakePartyType enum value.
HandshakePartyTypeEmail is a HandshakePartyType enum value.
HandshakePartyTypeOrganization is a HandshakePartyType enum value.
HandshakeResourceTypeAccount is a HandshakeResourceType enum value.
HandshakeResourceTypeEmail is a HandshakeResourceType enum value.
HandshakeResourceTypeMasterEmail is a HandshakeResourceType enum value.
HandshakeResourceTypeMasterName is a HandshakeResourceType enum value.
HandshakeResourceTypeNotes is a HandshakeResourceType enum value.
HandshakeResourceTypeOrganization is a HandshakeResourceType enum value.
HandshakeResourceTypeOrganizationFeatureSet is a HandshakeResourceType enum value.
HandshakeResourceTypeParentHandshake is a HandshakeResourceType enum value.
HandshakeStateAccepted is a HandshakeState enum value.
HandshakeStateCanceled is a HandshakeState enum value.
HandshakeStateDeclined is a HandshakeState enum value.
HandshakeStateExpired is a HandshakeState enum value.
HandshakeStateOpen is a HandshakeState enum value.
HandshakeStateRequested is a HandshakeState enum value.
IAMUserAccessToBillingAllow is a IAMUserAccessToBilling enum value.
IAMUserAccessToBillingDeny is a IAMUserAccessToBilling enum value.
InvalidInputExceptionReasonDuplicateTagKey is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonImmutablePolicy is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonInputRequired is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonInvalidEmailAddressTarget is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonInvalidEnum is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonInvalidEnumPolicyType is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonInvalidFullNameTarget is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonInvalidListMember is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonInvalidNextToken is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonInvalidPartyTypeTarget is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonInvalidPattern is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonInvalidPatternTargetId is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonInvalidResourcePolicyJson is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonInvalidRoleName is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonInvalidSyntaxOrganizationArn is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonInvalidSyntaxPolicyId is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonInvalidSystemTagsParameter is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonMaxLengthExceeded is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonMaxLimitExceededFilter is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonMaxValueExceeded is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonMinLengthExceeded is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonMinValueExceeded is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonMovingAccountBetweenDifferentRoots is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonTargetNotSupported is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonUnrecognizedServicePrincipal is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonUnsupportedActionInResourcePolicy is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonUnsupportedPolicyTypeInResourcePolicy is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonUnsupportedResourceInResourcePolicy is a InvalidInputExceptionReason enum value.
OrganizationFeatureSetAll is a OrganizationFeatureSet enum value.
OrganizationFeatureSetConsolidatedBilling is a OrganizationFeatureSet enum value.
ParentTypeOrganizationalUnit is a ParentType enum value.
ParentTypeRoot is a ParentType enum value.
PolicyTypeAiservicesOptOutPolicy is a PolicyType enum value.
PolicyTypeBackupPolicy is a PolicyType enum value.
PolicyTypeServiceControlPolicy is a PolicyType enum value.
PolicyTypeStatusEnabled is a PolicyTypeStatus enum value.
PolicyTypeStatusPendingDisable is a PolicyTypeStatus enum value.
PolicyTypeStatusPendingEnable is a PolicyTypeStatus enum value.
PolicyTypeTagPolicy is a PolicyType enum value.
ServiceID is a unique identifier of a specific service.
Name of service.
TargetTypeAccount is a TargetType enum value.
TargetTypeOrganizationalUnit is a TargetType enum value.
TargetTypeRoot is a TargetType enum value.

# Structs

You don't have permissions to perform the requested operation.
The operation that you attempted requires you to have the iam:CreateServiceLinkedRole for organizations.amazonaws.com permission so that Organizations can create the required service-linked role.
Contains information about an Amazon Web Services account that is a member of an organization.
You attempted to close an account that is already closed.
The specified account is already a delegated administrator for this Amazon Web Services service.
We can't find an Amazon Web Services account with the AccountId that you specified, or the account whose credentials you used to make this request isn't a member of an organization.
The specified account is not a delegated administrator for this Amazon Web Services service.
You can't invite an existing account to your organization until you verify that you own the email address associated with the management account.
This account is already a member of an organization.
Your account isn't a member of an organization.
Contains a list of child entities, either OUs or accounts.
We can't find an organizational unit (OU) or Amazon Web Services account with the ChildId that you specified.
The target of the operation is currently being modified by a different request.
The request failed because it conflicts with the current state of the specified resource.
Performing this operation violates a minimum or maximum value limit.
Contains the status about a CreateAccount or CreateGovCloudAccount request to create an Amazon Web Services account or an Amazon Web Services GovCloud (US) account in an organization.
We can't find an create account request with the CreateAccountRequestId that you specified.
Contains information about the delegated administrator.
Contains information about the Amazon Web Services service for which the account is a delegated administrator.
We can't find the destination container (a root or OU) with the ParentId that you specified.
That account is already present in the specified destination.
A handshake with the same action and target already exists.
An OU with the same name already exists.
The selected policy is already attached to the specified target.
A policy with the same name already exists.
Contains rules to be applied to the affected accounts.
If you ran this action on the management account, this policy type is not enabled.
A structure that contains details of a service principal that represents an Amazon Web Services service that is enabled to integrate with Organizations.
Organizations couldn't perform the operation because your organization hasn't finished initializing.
Contains information that must be exchanged to securely establish a relationship between two accounts (an originator and a recipient).
The specified handshake is already in the requested state.
The requested operation would violate the constraint identified in the reason code.
Specifies the criteria that are used to select the handshakes for the operation.
We can't find a handshake with the HandshakeId that you specified.
Identifies a participant in a handshake.
Contains additional data that is needed to process a handshake.
You can't perform the operation on the handshake in its current state.
The requested operation failed because you provided invalid values for one or more of the request parameters.
The provided policy document doesn't meet the requirements of the specified policy type.
You can't remove a management account from an organization.
Contains details about an organization.
Contains details about an organizational unit (OU).
The specified OU is not empty.
We can't find an OU with the OrganizationalUnitId that you specified.
The organization isn't empty.
Organizations provides the API operation methods for making requests to AWS Organizations.
Contains information about either a root or an organizational unit (OU) that can contain OUs or accounts in an organization.
We can't find a root or OU with the ParentId that you specified.
Contains rules to be applied to the affected accounts.
Changes to the effective policy are in progress, and its contents can't be returned.
The policy is attached to one or more entities.
The policy isn't attached to the specified target in the specified root.
We can't find a policy with the PolicyId that you specified.
Contains information about a policy, but does not include the content.
Contains information about a root, OU, or account that a policy is attached to.
The specified policy type is already enabled in the specified root.
You can't use the specified policy type with the feature set currently enabled for this organization.
The specified policy type isn't currently enabled in this root.
Contains information about a policy type and its status in the associated root.
A structure that contains details about a resource policy.
We can't find a resource policy request with the parameter that you specified.
A structure that contains resource policy ID and Amazon Resource Name (ARN).
Contains details about a root.
We can't find a root with the RootId that you specified.
Organizations can't complete your request because of an internal service error.
We can't find a source root or OU with the ParentId that you specified.
A custom key-value pair associated with a resource within your organization.
We can't find a root, OU, account, or policy with the TargetId that you specified.
You have sent too many requests in too short a period of time.
This action isn't available in the current Amazon Web Services Region.