package
1.10.20
Repository: https://github.com/jadekler/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

New creates a new instance of the Organizations client with a session.

# Constants

AccountJoinedMethodCreated is a AccountJoinedMethod enum value.
AccountJoinedMethodInvited is a AccountJoinedMethod enum value.
AccountStatusActive is a AccountStatus enum value.
AccountStatusSuspended is a AccountStatus 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.
ConstraintViolationExceptionReasonAccountCreationRateLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonAccountNumberLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonHandshakeRateLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonMasterAccountAddressDoesNotMatchMarketplace is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonMasterAccountPaymentInstrumentRequired is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonMaxPolicyTypeAttachmentLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonMemberAccountPaymentInstrumentRequired is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonMinPolicyTypeAttachmentLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonOuDepthLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonOuNumberLimitExceeded is a ConstraintViolationExceptionReason enum value.
ConstraintViolationExceptionReasonPolicyNumberLimitExceeded is a ConstraintViolationExceptionReason enum value.
CreateAccountFailureReasonAccountLimitExceeded is a CreateAccountFailureReason enum value.
CreateAccountFailureReasonEmailAlreadyExists is a CreateAccountFailureReason enum value.
CreateAccountFailureReasonInternalFailure is a CreateAccountFailureReason enum value.
CreateAccountFailureReasonInvalidAddress is a CreateAccountFailureReason enum value.
CreateAccountFailureReasonInvalidEmail is a CreateAccountFailureReason enum value.
CreateAccountStateFailed is a CreateAccountState enum value.
CreateAccountStateInProgress is a CreateAccountState enum value.
CreateAccountStateSucceeded is a CreateAccountState enum value.
Service ID for Regions and Endpoints metadata.
ErrCodeAccessDeniedException for service response error code "AccessDeniedException".
ErrCodeAccountNotFoundException for service response error code "AccountNotFoundException".
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".
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".
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".
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".
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".
HandshakeConstraintViolationExceptionReasonAccountNumberLimitExceeded is a HandshakeConstraintViolationExceptionReason enum value.
HandshakeConstraintViolationExceptionReasonAlreadyInAnOrganization is a HandshakeConstraintViolationExceptionReason enum value.
HandshakeConstraintViolationExceptionReasonHandshakeRateLimitExceeded is a HandshakeConstraintViolationExceptionReason enum value.
HandshakeConstraintViolationExceptionReasonInviteDisabledDuringEnableAllFeatures is a HandshakeConstraintViolationExceptionReason enum value.
HandshakeConstraintViolationExceptionReasonOrganizationAlreadyHasAllFeatures is a HandshakeConstraintViolationExceptionReason enum value.
HandshakeConstraintViolationExceptionReasonOrganizationFromDifferentSellerOfRecord 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.
InvalidInputExceptionReasonImmutablePolicy is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonInputRequired is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonInvalidEnum 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.
InvalidInputExceptionReasonInvalidSyntaxOrganizationArn is a InvalidInputExceptionReason enum value.
InvalidInputExceptionReasonInvalidSyntaxPolicyId 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.
OrganizationFeatureSetAll is a OrganizationFeatureSet enum value.
OrganizationFeatureSetConsolidatedBilling is a OrganizationFeatureSet enum value.
ParentTypeOrganizationalUnit is a ParentType enum value.
ParentTypeRoot is a ParentType 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.
Service endpoint prefix API calls made to.
TargetTypeAccount is a TargetType enum value.
TargetTypeOrganizationalUnit is a TargetType enum value.
TargetTypeRoot is a TargetType enum value.

# Structs

Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/AcceptHandshakeRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/AcceptHandshakeResponse.
Contains information about an AWS account that is a member of an organization.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/AttachPolicyRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/AttachPolicyOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CancelHandshakeRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CancelHandshakeResponse.
Contains a list of child entities, either OUs or accounts.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateAccountRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateAccountResponse.
Contains the status about a CreateAccount request to create an AWS account in an organization.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganizationalUnitRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganizationalUnitResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganizationRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganizationResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreatePolicyRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreatePolicyResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeclineHandshakeRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeclineHandshakeResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeleteOrganizationalUnitRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeleteOrganizationalUnitOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeleteOrganizationInput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeleteOrganizationOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeletePolicyRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeletePolicyOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeAccountRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeAccountResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeCreateAccountStatusRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeCreateAccountStatusResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeHandshakeRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeHandshakeResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganizationalUnitRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganizationalUnitResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganizationInput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganizationResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribePolicyRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribePolicyResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DetachPolicyRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DetachPolicyOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyTypeRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyTypeResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnableAllFeaturesRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnableAllFeaturesResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyTypeRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyTypeResponse.
Contains information that must be exchanged to securely establish a relationship between two accounts (an originator and a recipient).
Specifies the criteria that are used to select the handshakes for the operation.
Identifies a participant in a handshake.
Contains additional data that is needed to process a handshake.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/InviteAccountToOrganizationRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/InviteAccountToOrganizationResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/LeaveOrganizationInput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/LeaveOrganizationOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccountsForParentRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccountsForParentResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccountsRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccountsResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListChildrenRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListChildrenResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListCreateAccountStatusRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListCreateAccountStatusResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListHandshakesForAccountRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListHandshakesForAccountResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListHandshakesForOrganizationRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListHandshakesForOrganizationResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListOrganizationalUnitsForParentRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListOrganizationalUnitsForParentResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListParentsRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListParentsResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListPoliciesForTargetRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListPoliciesForTargetResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListPoliciesRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListPoliciesResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListRootsRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListRootsResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListTargetsForPolicyRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListTargetsForPolicyResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/MoveAccountRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/MoveAccountOutput.
Contains details about an organization.
Contains details about an organizational unit (OU).
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.
Contains rules to be applied to the affected accounts.
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.
Contains information about a policy type and its status in the associated root.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/RemoveAccountFromOrganizationRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/RemoveAccountFromOrganizationOutput.
Contains details about a root.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/UpdateOrganizationalUnitRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/UpdateOrganizationalUnitResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/UpdatePolicyRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/UpdatePolicyResponse.