aws-sdk-go: github.com/aws/aws-sdk-go/service/organizations Index | Examples | Files | Directories

package organizations

import "github.com/aws/aws-sdk-go/service/organizations"

Package organizations provides the client and types for making API requests to AWS Organizations.

AWS Organizations

See https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28 for more information on this service.

See organizations package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/organizations/

Using the Client

To contact AWS Organizations with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Organizations client Organizations for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/organizations/#New

Index

Examples

Package Files

api.go doc.go errors.go service.go

Constants

const (
    // AccountJoinedMethodInvited is a AccountJoinedMethod enum value
    AccountJoinedMethodInvited = "INVITED"

    // AccountJoinedMethodCreated is a AccountJoinedMethod enum value
    AccountJoinedMethodCreated = "CREATED"
)
const (
    // AccountStatusActive is a AccountStatus enum value
    AccountStatusActive = "ACTIVE"

    // AccountStatusSuspended is a AccountStatus enum value
    AccountStatusSuspended = "SUSPENDED"
)
const (
    // ActionTypeInvite is a ActionType enum value
    ActionTypeInvite = "INVITE"

    // ActionTypeEnableAllFeatures is a ActionType enum value
    ActionTypeEnableAllFeatures = "ENABLE_ALL_FEATURES"

    // ActionTypeApproveAllFeatures is a ActionType enum value
    ActionTypeApproveAllFeatures = "APPROVE_ALL_FEATURES"

    // ActionTypeAddOrganizationsServiceLinkedRole is a ActionType enum value
    ActionTypeAddOrganizationsServiceLinkedRole = "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE"
)
const (
    // ChildTypeAccount is a ChildType enum value
    ChildTypeAccount = "ACCOUNT"

    // ChildTypeOrganizationalUnit is a ChildType enum value
    ChildTypeOrganizationalUnit = "ORGANIZATIONAL_UNIT"
)
const (
    // ConstraintViolationExceptionReasonAccountNumberLimitExceeded is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonAccountNumberLimitExceeded = "ACCOUNT_NUMBER_LIMIT_EXCEEDED"

    // ConstraintViolationExceptionReasonHandshakeRateLimitExceeded is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonHandshakeRateLimitExceeded = "HANDSHAKE_RATE_LIMIT_EXCEEDED"

    // ConstraintViolationExceptionReasonOuNumberLimitExceeded is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonOuNumberLimitExceeded = "OU_NUMBER_LIMIT_EXCEEDED"

    // ConstraintViolationExceptionReasonOuDepthLimitExceeded is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonOuDepthLimitExceeded = "OU_DEPTH_LIMIT_EXCEEDED"

    // ConstraintViolationExceptionReasonPolicyNumberLimitExceeded is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonPolicyNumberLimitExceeded = "POLICY_NUMBER_LIMIT_EXCEEDED"

    // ConstraintViolationExceptionReasonPolicyContentLimitExceeded is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonPolicyContentLimitExceeded = "POLICY_CONTENT_LIMIT_EXCEEDED"

    // ConstraintViolationExceptionReasonMaxPolicyTypeAttachmentLimitExceeded is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonMaxPolicyTypeAttachmentLimitExceeded = "MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED"

    // ConstraintViolationExceptionReasonMinPolicyTypeAttachmentLimitExceeded is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonMinPolicyTypeAttachmentLimitExceeded = "MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED"

    // ConstraintViolationExceptionReasonAccountCannotLeaveOrganization is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonAccountCannotLeaveOrganization = "ACCOUNT_CANNOT_LEAVE_ORGANIZATION"

    // ConstraintViolationExceptionReasonAccountCannotLeaveWithoutEula is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonAccountCannotLeaveWithoutEula = "ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA"

    // ConstraintViolationExceptionReasonAccountCannotLeaveWithoutPhoneVerification is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonAccountCannotLeaveWithoutPhoneVerification = "ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION"

    // ConstraintViolationExceptionReasonMasterAccountPaymentInstrumentRequired is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonMasterAccountPaymentInstrumentRequired = "MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED"

    // ConstraintViolationExceptionReasonMemberAccountPaymentInstrumentRequired is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonMemberAccountPaymentInstrumentRequired = "MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED"

    // ConstraintViolationExceptionReasonAccountCreationRateLimitExceeded is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonAccountCreationRateLimitExceeded = "ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED"

    // ConstraintViolationExceptionReasonMasterAccountAddressDoesNotMatchMarketplace is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonMasterAccountAddressDoesNotMatchMarketplace = "MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE"

    // ConstraintViolationExceptionReasonMasterAccountMissingContactInfo is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonMasterAccountMissingContactInfo = "MASTER_ACCOUNT_MISSING_CONTACT_INFO"

    // ConstraintViolationExceptionReasonMasterAccountNotGovcloudEnabled is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonMasterAccountNotGovcloudEnabled = "MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED"

    // ConstraintViolationExceptionReasonOrganizationNotInAllFeaturesMode is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonOrganizationNotInAllFeaturesMode = "ORGANIZATION_NOT_IN_ALL_FEATURES_MODE"

    // ConstraintViolationExceptionReasonCreateOrganizationInBillingModeUnsupportedRegion is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonCreateOrganizationInBillingModeUnsupportedRegion = "CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION"

    // ConstraintViolationExceptionReasonEmailVerificationCodeExpired is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonEmailVerificationCodeExpired = "EMAIL_VERIFICATION_CODE_EXPIRED"

    // ConstraintViolationExceptionReasonWaitPeriodActive is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonWaitPeriodActive = "WAIT_PERIOD_ACTIVE"

    // ConstraintViolationExceptionReasonMaxTagLimitExceeded is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonMaxTagLimitExceeded = "MAX_TAG_LIMIT_EXCEEDED"

    // ConstraintViolationExceptionReasonTagPolicyViolation is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonTagPolicyViolation = "TAG_POLICY_VIOLATION"

    // ConstraintViolationExceptionReasonMaxDelegatedAdministratorsForServiceLimitExceeded is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonMaxDelegatedAdministratorsForServiceLimitExceeded = "MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED"

    // ConstraintViolationExceptionReasonCannotRegisterMasterAsDelegatedAdministrator is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonCannotRegisterMasterAsDelegatedAdministrator = "CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR"

    // ConstraintViolationExceptionReasonCannotRemoveDelegatedAdministratorFromOrg is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonCannotRemoveDelegatedAdministratorFromOrg = "CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG"

    // ConstraintViolationExceptionReasonDelegatedAdministratorExistsForThisService is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonDelegatedAdministratorExistsForThisService = "DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE"

    // ConstraintViolationExceptionReasonMasterAccountMissingBusinessLicense is a ConstraintViolationExceptionReason enum value
    ConstraintViolationExceptionReasonMasterAccountMissingBusinessLicense = "MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE"
)
const (
    // CreateAccountFailureReasonAccountLimitExceeded is a CreateAccountFailureReason enum value
    CreateAccountFailureReasonAccountLimitExceeded = "ACCOUNT_LIMIT_EXCEEDED"

    // CreateAccountFailureReasonEmailAlreadyExists is a CreateAccountFailureReason enum value
    CreateAccountFailureReasonEmailAlreadyExists = "EMAIL_ALREADY_EXISTS"

    // CreateAccountFailureReasonInvalidAddress is a CreateAccountFailureReason enum value
    CreateAccountFailureReasonInvalidAddress = "INVALID_ADDRESS"

    // CreateAccountFailureReasonInvalidEmail is a CreateAccountFailureReason enum value
    CreateAccountFailureReasonInvalidEmail = "INVALID_EMAIL"

    // CreateAccountFailureReasonConcurrentAccountModification is a CreateAccountFailureReason enum value
    CreateAccountFailureReasonConcurrentAccountModification = "CONCURRENT_ACCOUNT_MODIFICATION"

    // CreateAccountFailureReasonInternalFailure is a CreateAccountFailureReason enum value
    CreateAccountFailureReasonInternalFailure = "INTERNAL_FAILURE"

    // CreateAccountFailureReasonGovcloudAccountAlreadyExists is a CreateAccountFailureReason enum value
    CreateAccountFailureReasonGovcloudAccountAlreadyExists = "GOVCLOUD_ACCOUNT_ALREADY_EXISTS"
)
const (
    // CreateAccountStateInProgress is a CreateAccountState enum value
    CreateAccountStateInProgress = "IN_PROGRESS"

    // CreateAccountStateSucceeded is a CreateAccountState enum value
    CreateAccountStateSucceeded = "SUCCEEDED"

    // CreateAccountStateFailed is a CreateAccountState enum value
    CreateAccountStateFailed = "FAILED"
)
const (
    // EffectivePolicyTypeTagPolicy is a EffectivePolicyType enum value
    EffectivePolicyTypeTagPolicy = "TAG_POLICY"

    // EffectivePolicyTypeBackupPolicy is a EffectivePolicyType enum value
    EffectivePolicyTypeBackupPolicy = "BACKUP_POLICY"

    // EffectivePolicyTypeAiservicesOptOutPolicy is a EffectivePolicyType enum value
    EffectivePolicyTypeAiservicesOptOutPolicy = "AISERVICES_OPT_OUT_POLICY"
)
const (
    // HandshakeConstraintViolationExceptionReasonAccountNumberLimitExceeded is a HandshakeConstraintViolationExceptionReason enum value
    HandshakeConstraintViolationExceptionReasonAccountNumberLimitExceeded = "ACCOUNT_NUMBER_LIMIT_EXCEEDED"

    // HandshakeConstraintViolationExceptionReasonHandshakeRateLimitExceeded is a HandshakeConstraintViolationExceptionReason enum value
    HandshakeConstraintViolationExceptionReasonHandshakeRateLimitExceeded = "HANDSHAKE_RATE_LIMIT_EXCEEDED"

    // HandshakeConstraintViolationExceptionReasonAlreadyInAnOrganization is a HandshakeConstraintViolationExceptionReason enum value
    HandshakeConstraintViolationExceptionReasonAlreadyInAnOrganization = "ALREADY_IN_AN_ORGANIZATION"

    // HandshakeConstraintViolationExceptionReasonOrganizationAlreadyHasAllFeatures is a HandshakeConstraintViolationExceptionReason enum value
    HandshakeConstraintViolationExceptionReasonOrganizationAlreadyHasAllFeatures = "ORGANIZATION_ALREADY_HAS_ALL_FEATURES"

    // HandshakeConstraintViolationExceptionReasonInviteDisabledDuringEnableAllFeatures is a HandshakeConstraintViolationExceptionReason enum value
    HandshakeConstraintViolationExceptionReasonInviteDisabledDuringEnableAllFeatures = "INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES"

    // HandshakeConstraintViolationExceptionReasonPaymentInstrumentRequired is a HandshakeConstraintViolationExceptionReason enum value
    HandshakeConstraintViolationExceptionReasonPaymentInstrumentRequired = "PAYMENT_INSTRUMENT_REQUIRED"

    // HandshakeConstraintViolationExceptionReasonOrganizationFromDifferentSellerOfRecord is a HandshakeConstraintViolationExceptionReason enum value
    HandshakeConstraintViolationExceptionReasonOrganizationFromDifferentSellerOfRecord = "ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD"

    // HandshakeConstraintViolationExceptionReasonOrganizationMembershipChangeRateLimitExceeded is a HandshakeConstraintViolationExceptionReason enum value
    HandshakeConstraintViolationExceptionReasonOrganizationMembershipChangeRateLimitExceeded = "ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED"
)
const (
    // HandshakePartyTypeAccount is a HandshakePartyType enum value
    HandshakePartyTypeAccount = "ACCOUNT"

    // HandshakePartyTypeOrganization is a HandshakePartyType enum value
    HandshakePartyTypeOrganization = "ORGANIZATION"

    // HandshakePartyTypeEmail is a HandshakePartyType enum value
    HandshakePartyTypeEmail = "EMAIL"
)
const (
    // HandshakeResourceTypeAccount is a HandshakeResourceType enum value
    HandshakeResourceTypeAccount = "ACCOUNT"

    // HandshakeResourceTypeOrganization is a HandshakeResourceType enum value
    HandshakeResourceTypeOrganization = "ORGANIZATION"

    // HandshakeResourceTypeOrganizationFeatureSet is a HandshakeResourceType enum value
    HandshakeResourceTypeOrganizationFeatureSet = "ORGANIZATION_FEATURE_SET"

    // HandshakeResourceTypeEmail is a HandshakeResourceType enum value
    HandshakeResourceTypeEmail = "EMAIL"

    // HandshakeResourceTypeMasterEmail is a HandshakeResourceType enum value
    HandshakeResourceTypeMasterEmail = "MASTER_EMAIL"

    // HandshakeResourceTypeMasterName is a HandshakeResourceType enum value
    HandshakeResourceTypeMasterName = "MASTER_NAME"

    // HandshakeResourceTypeNotes is a HandshakeResourceType enum value
    HandshakeResourceTypeNotes = "NOTES"

    // HandshakeResourceTypeParentHandshake is a HandshakeResourceType enum value
    HandshakeResourceTypeParentHandshake = "PARENT_HANDSHAKE"
)
const (
    // HandshakeStateRequested is a HandshakeState enum value
    HandshakeStateRequested = "REQUESTED"

    // HandshakeStateOpen is a HandshakeState enum value
    HandshakeStateOpen = "OPEN"

    // HandshakeStateCanceled is a HandshakeState enum value
    HandshakeStateCanceled = "CANCELED"

    // HandshakeStateAccepted is a HandshakeState enum value
    HandshakeStateAccepted = "ACCEPTED"

    // HandshakeStateDeclined is a HandshakeState enum value
    HandshakeStateDeclined = "DECLINED"

    // HandshakeStateExpired is a HandshakeState enum value
    HandshakeStateExpired = "EXPIRED"
)
const (
    // IAMUserAccessToBillingAllow is a IAMUserAccessToBilling enum value
    IAMUserAccessToBillingAllow = "ALLOW"

    // IAMUserAccessToBillingDeny is a IAMUserAccessToBilling enum value
    IAMUserAccessToBillingDeny = "DENY"
)
const (
    // InvalidInputExceptionReasonInvalidPartyTypeTarget is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonInvalidPartyTypeTarget = "INVALID_PARTY_TYPE_TARGET"

    // InvalidInputExceptionReasonInvalidSyntaxOrganizationArn is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonInvalidSyntaxOrganizationArn = "INVALID_SYNTAX_ORGANIZATION_ARN"

    // InvalidInputExceptionReasonInvalidSyntaxPolicyId is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonInvalidSyntaxPolicyId = "INVALID_SYNTAX_POLICY_ID"

    // InvalidInputExceptionReasonInvalidEnum is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonInvalidEnum = "INVALID_ENUM"

    // InvalidInputExceptionReasonInvalidEnumPolicyType is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonInvalidEnumPolicyType = "INVALID_ENUM_POLICY_TYPE"

    // InvalidInputExceptionReasonInvalidListMember is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonInvalidListMember = "INVALID_LIST_MEMBER"

    // InvalidInputExceptionReasonMaxLengthExceeded is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonMaxLengthExceeded = "MAX_LENGTH_EXCEEDED"

    // InvalidInputExceptionReasonMaxValueExceeded is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonMaxValueExceeded = "MAX_VALUE_EXCEEDED"

    // InvalidInputExceptionReasonMinLengthExceeded is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonMinLengthExceeded = "MIN_LENGTH_EXCEEDED"

    // InvalidInputExceptionReasonMinValueExceeded is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonMinValueExceeded = "MIN_VALUE_EXCEEDED"

    // InvalidInputExceptionReasonImmutablePolicy is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonImmutablePolicy = "IMMUTABLE_POLICY"

    // InvalidInputExceptionReasonInvalidPattern is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonInvalidPattern = "INVALID_PATTERN"

    // InvalidInputExceptionReasonInvalidPatternTargetId is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonInvalidPatternTargetId = "INVALID_PATTERN_TARGET_ID"

    // InvalidInputExceptionReasonInputRequired is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonInputRequired = "INPUT_REQUIRED"

    // InvalidInputExceptionReasonInvalidNextToken is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonInvalidNextToken = "INVALID_NEXT_TOKEN"

    // InvalidInputExceptionReasonMaxLimitExceededFilter is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonMaxLimitExceededFilter = "MAX_LIMIT_EXCEEDED_FILTER"

    // InvalidInputExceptionReasonMovingAccountBetweenDifferentRoots is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonMovingAccountBetweenDifferentRoots = "MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS"

    // InvalidInputExceptionReasonInvalidFullNameTarget is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonInvalidFullNameTarget = "INVALID_FULL_NAME_TARGET"

    // InvalidInputExceptionReasonUnrecognizedServicePrincipal is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonUnrecognizedServicePrincipal = "UNRECOGNIZED_SERVICE_PRINCIPAL"

    // InvalidInputExceptionReasonInvalidRoleName is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonInvalidRoleName = "INVALID_ROLE_NAME"

    // InvalidInputExceptionReasonInvalidSystemTagsParameter is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonInvalidSystemTagsParameter = "INVALID_SYSTEM_TAGS_PARAMETER"

    // InvalidInputExceptionReasonTargetNotSupported is a InvalidInputExceptionReason enum value
    InvalidInputExceptionReasonTargetNotSupported = "TARGET_NOT_SUPPORTED"
)
const (
    // OrganizationFeatureSetAll is a OrganizationFeatureSet enum value
    OrganizationFeatureSetAll = "ALL"

    // OrganizationFeatureSetConsolidatedBilling is a OrganizationFeatureSet enum value
    OrganizationFeatureSetConsolidatedBilling = "CONSOLIDATED_BILLING"
)
const (
    // ParentTypeRoot is a ParentType enum value
    ParentTypeRoot = "ROOT"

    // ParentTypeOrganizationalUnit is a ParentType enum value
    ParentTypeOrganizationalUnit = "ORGANIZATIONAL_UNIT"
)
const (
    // PolicyTypeServiceControlPolicy is a PolicyType enum value
    PolicyTypeServiceControlPolicy = "SERVICE_CONTROL_POLICY"

    // PolicyTypeTagPolicy is a PolicyType enum value
    PolicyTypeTagPolicy = "TAG_POLICY"

    // PolicyTypeBackupPolicy is a PolicyType enum value
    PolicyTypeBackupPolicy = "BACKUP_POLICY"

    // PolicyTypeAiservicesOptOutPolicy is a PolicyType enum value
    PolicyTypeAiservicesOptOutPolicy = "AISERVICES_OPT_OUT_POLICY"
)
const (
    // PolicyTypeStatusEnabled is a PolicyTypeStatus enum value
    PolicyTypeStatusEnabled = "ENABLED"

    // PolicyTypeStatusPendingEnable is a PolicyTypeStatus enum value
    PolicyTypeStatusPendingEnable = "PENDING_ENABLE"

    // PolicyTypeStatusPendingDisable is a PolicyTypeStatus enum value
    PolicyTypeStatusPendingDisable = "PENDING_DISABLE"
)
const (
    // TargetTypeAccount is a TargetType enum value
    TargetTypeAccount = "ACCOUNT"

    // TargetTypeOrganizationalUnit is a TargetType enum value
    TargetTypeOrganizationalUnit = "ORGANIZATIONAL_UNIT"

    // TargetTypeRoot is a TargetType enum value
    TargetTypeRoot = "ROOT"
)
const (

    // ErrCodeAWSOrganizationsNotInUseException for service response error code
    // "AWSOrganizationsNotInUseException".
    //
    // Your account isn't a member of an organization. To make this request, you
    // must use the credentials of an account that belongs to an organization.
    ErrCodeAWSOrganizationsNotInUseException = "AWSOrganizationsNotInUseException"

    // ErrCodeAccessDeniedException for service response error code
    // "AccessDeniedException".
    //
    // You don't have permissions to perform the requested operation. The user or
    // role that is making the request must have at least one IAM permissions policy
    // attached that grants the required permissions. For more information, see
    // Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html)
    // in the IAM User Guide.
    ErrCodeAccessDeniedException = "AccessDeniedException"

    // ErrCodeAccessDeniedForDependencyException for service response error code
    // "AccessDeniedForDependencyException".
    //
    // The operation that you attempted requires you to have the iam:CreateServiceLinkedRole
    // for organizations.amazonaws.com permission so that AWS Organizations can
    // create the required service-linked role. You don't have that permission.
    ErrCodeAccessDeniedForDependencyException = "AccessDeniedForDependencyException"

    // ErrCodeAccountAlreadyRegisteredException for service response error code
    // "AccountAlreadyRegisteredException".
    //
    // The specified account is already a delegated administrator for this AWS service.
    ErrCodeAccountAlreadyRegisteredException = "AccountAlreadyRegisteredException"

    // ErrCodeAccountNotFoundException for service response error code
    // "AccountNotFoundException".
    //
    // We can't find an AWS 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.
    ErrCodeAccountNotFoundException = "AccountNotFoundException"

    // ErrCodeAccountNotRegisteredException for service response error code
    // "AccountNotRegisteredException".
    //
    // The specified account is not a delegated administrator for this AWS service.
    ErrCodeAccountNotRegisteredException = "AccountNotRegisteredException"

    // ErrCodeAccountOwnerNotVerifiedException for service response error code
    // "AccountOwnerNotVerifiedException".
    //
    // You can't invite an existing account to your organization until you verify
    // that you own the email address associated with the master account. For more
    // information, see Email Address Verification (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_create.html#about-email-verification)
    // in the AWS Organizations User Guide.
    ErrCodeAccountOwnerNotVerifiedException = "AccountOwnerNotVerifiedException"

    // ErrCodeAlreadyInOrganizationException for service response error code
    // "AlreadyInOrganizationException".
    //
    // This account is already a member of an organization. An account can belong
    // to only one organization at a time.
    ErrCodeAlreadyInOrganizationException = "AlreadyInOrganizationException"

    // ErrCodeChildNotFoundException for service response error code
    // "ChildNotFoundException".
    //
    // We can't find an organizational unit (OU) or AWS account with the ChildId
    // that you specified.
    ErrCodeChildNotFoundException = "ChildNotFoundException"

    // ErrCodeConcurrentModificationException for service response error code
    // "ConcurrentModificationException".
    //
    // The target of the operation is currently being modified by a different request.
    // Try again later.
    ErrCodeConcurrentModificationException = "ConcurrentModificationException"

    // ErrCodeConstraintViolationException for service response error code
    // "ConstraintViolationException".
    //
    // Performing this operation violates a minimum or maximum value limit. For
    // example, attempting to remove the last service control policy (SCP) from
    // an OU or root, inviting or creating too many accounts to the organization,
    // or attaching too many policies to an account, OU, or root. This exception
    // includes a reason that contains additional information about the violated
    // limit:
    //
    // Some of the reasons in the following list might not be applicable to this
    // specific API or operation.
    //
    //    * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
    //    account from the organization. You can't remove the master account. Instead,
    //    after you remove all member accounts, delete the organization itself.
    //
    //    * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
    //    from the organization that doesn't yet have enough information to exist
    //    as a standalone account. This account requires you to first agree to the
    //    AWS Customer Agreement. Follow the steps at Removing a member account
    //    from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in
    //    the AWS Organizations User Guide.
    //
    //    * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove
    //    an account from the organization that doesn't yet have enough information
    //    to exist as a standalone account. This account requires you to first complete
    //    phone verification. Follow the steps at Removing a member account from
    //    your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)
    //    in the AWS Organizations User Guide.
    //
    //    * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number
    //    of accounts that you can create in one day.
    //
    //    * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on
    //    the number of accounts in an organization. If you need more accounts,
    //    contact AWS Support (https://console.aws.amazon.com/support/home#/) to
    //    request an increase in your limit. Or the number of invitations that you
    //    tried to send would cause you to exceed the limit of accounts in your
    //    organization. Send fewer invitations or contact AWS Support to request
    //    an increase in the number of accounts. Deleted and closed accounts still
    //    count toward your limit. If you get this exception when running a command
    //    immediately after creating the organization, wait one hour and try again.
    //    After an hour, if the command continues to fail with this error, contact
    //    AWS Support (https://console.aws.amazon.com/support/home#/).
    //
    //    * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
    //    register the master account of the organization as a delegated administrator
    //    for an AWS service integrated with Organizations. You can designate only
    //    a member account as a delegated administrator.
    //
    //    * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
    //    an account that is registered as a delegated administrator for a service
    //    integrated with your organization. To complete this operation, you must
    //    first deregister this account as a delegated administrator.
    //
    //    * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
    //    organization in the specified region, you must enable all features mode.
    //
    //    * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
    //    an AWS account as a delegated administrator for an AWS service that already
    //    has a delegated administrator. To complete this operation, you must first
    //    deregister any existing delegated administrators for this service.
    //
    //    * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
    //    valid for a limited period of time. You must resubmit the request and
    //    generate a new verfication code.
    //
    //    * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
    //    handshakes that you can send in one day.
    //
    //    * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account
    //    in this organization, you first must migrate the organization's master
    //    account to the marketplace that corresponds to the master account's address.
    //    For example, accounts with India addresses must be associated with the
    //    AISPL marketplace. All accounts in an organization must be associated
    //    with the same marketplace.
    //
    //    * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
    //    in China. To create an organization, the master must have an valid business
    //    license. For more information, contact customer support.
    //
    //    * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
    //    must first provide a valid contact address and phone number for the master
    //    account. Then try the operation again.
    //
    //    * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the
    //    master account must have an associated account in the AWS GovCloud (US-West)
    //    Region. For more information, see AWS Organizations (http://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html)
    //    in the AWS GovCloud User Guide.
    //
    //    * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization
    //    with this master account, you first must associate a valid payment instrument,
    //    such as a credit card, with the account. Follow the steps at To leave
    //    an organization when all required account information has not yet been
    //    provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info)
    //    in the AWS Organizations User Guide.
    //
    //    * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted
    //    to register more delegated administrators than allowed for the service
    //    principal.
    //
    //    * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the
    //    number of policies of a certain type that can be attached to an entity
    //    at one time.
    //
    //    * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed
    //    on this resource.
    //
    //    * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation
    //    with this member account, you first must associate a valid payment instrument,
    //    such as a credit card, with the account. Follow the steps at To leave
    //    an organization when all required account information has not yet been
    //    provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info)
    //    in the AWS Organizations User Guide.
    //
    //    * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a
    //    policy from an entity that would cause the entity to have fewer than the
    //    minimum number of policies of a certain type required.
    //
    //    * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
    //    that requires the organization to be configured to support all features.
    //    An organization that supports only consolidated billing features can't
    //    perform this operation.
    //
    //    * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
    //    too many levels deep.
    //
    //    * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
    //    that you can have in an organization.
    //
    //    * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
    //    is larger than the maximum size.
    //
    //    * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
    //    policies that you can have in an organization.
    //
    //    * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
    //    tags that are not compliant with the tag policy requirements for this
    //    account.
    ErrCodeConstraintViolationException = "ConstraintViolationException"

    // ErrCodeCreateAccountStatusNotFoundException for service response error code
    // "CreateAccountStatusNotFoundException".
    //
    // We can't find an create account request with the CreateAccountRequestId that
    // you specified.
    ErrCodeCreateAccountStatusNotFoundException = "CreateAccountStatusNotFoundException"

    // ErrCodeDestinationParentNotFoundException for service response error code
    // "DestinationParentNotFoundException".
    //
    // We can't find the destination container (a root or OU) with the ParentId
    // that you specified.
    ErrCodeDestinationParentNotFoundException = "DestinationParentNotFoundException"

    // ErrCodeDuplicateAccountException for service response error code
    // "DuplicateAccountException".
    //
    // That account is already present in the specified destination.
    ErrCodeDuplicateAccountException = "DuplicateAccountException"

    // ErrCodeDuplicateHandshakeException for service response error code
    // "DuplicateHandshakeException".
    //
    // A handshake with the same action and target already exists. For example,
    // if you invited an account to join your organization, the invited account
    // might already have a pending invitation from this organization. If you intend
    // to resend an invitation to an account, ensure that existing handshakes that
    // might be considered duplicates are canceled or declined.
    ErrCodeDuplicateHandshakeException = "DuplicateHandshakeException"

    // ErrCodeDuplicateOrganizationalUnitException for service response error code
    // "DuplicateOrganizationalUnitException".
    //
    // An OU with the same name already exists.
    ErrCodeDuplicateOrganizationalUnitException = "DuplicateOrganizationalUnitException"

    // ErrCodeDuplicatePolicyAttachmentException for service response error code
    // "DuplicatePolicyAttachmentException".
    //
    // The selected policy is already attached to the specified target.
    ErrCodeDuplicatePolicyAttachmentException = "DuplicatePolicyAttachmentException"

    // ErrCodeDuplicatePolicyException for service response error code
    // "DuplicatePolicyException".
    //
    // A policy with the same name already exists.
    ErrCodeDuplicatePolicyException = "DuplicatePolicyException"

    // ErrCodeEffectivePolicyNotFoundException for service response error code
    // "EffectivePolicyNotFoundException".
    //
    // If you ran this action on the master account, this policy type is not enabled.
    // If you ran the action on a member account, the account doesn't have an effective
    // policy of this type. Contact the administrator of your organization about
    // attaching a policy of this type to the account.
    ErrCodeEffectivePolicyNotFoundException = "EffectivePolicyNotFoundException"

    // ErrCodeFinalizingOrganizationException for service response error code
    // "FinalizingOrganizationException".
    //
    // AWS Organizations couldn't perform the operation because your organization
    // hasn't finished initializing. This can take up to an hour. Try again later.
    // If after one hour you continue to receive this error, contact AWS Support
    // (https://console.aws.amazon.com/support/home#/).
    ErrCodeFinalizingOrganizationException = "FinalizingOrganizationException"

    // ErrCodeHandshakeAlreadyInStateException for service response error code
    // "HandshakeAlreadyInStateException".
    //
    // The specified handshake is already in the requested state. For example, you
    // can't accept a handshake that was already accepted.
    ErrCodeHandshakeAlreadyInStateException = "HandshakeAlreadyInStateException"

    // ErrCodeHandshakeConstraintViolationException for service response error code
    // "HandshakeConstraintViolationException".
    //
    // The requested operation would violate the constraint identified in the reason
    // code.
    //
    // Some of the reasons in the following list might not be applicable to this
    // specific API or operation:
    //
    //    * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on
    //    the number of accounts in an organization. Note that deleted and closed
    //    accounts still count toward your limit. If you get this exception immediately
    //    after creating the organization, wait one hour and try again. If after
    //    an hour it continues to fail with this error, contact AWS Support (https://console.aws.amazon.com/support/home#/).
    //
    //    * ALREADY_IN_AN_ORGANIZATION: The handshake request is invalid because
    //    the invited account is already a member of an organization.
    //
    //    * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
    //    handshakes that you can send in one day.
    //
    //    * INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: You can't issue new invitations
    //    to join an organization while it's in the process of enabling all features.
    //    You can resume inviting accounts after you finalize the process when all
    //    accounts have agreed to the change.
    //
    //    * ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid
    //    because the organization has already enabled all features.
    //
    //    * ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: The request failed because
    //    the account is from a different marketplace than the accounts in the organization.
    //    For example, accounts with India addresses must be associated with the
    //    AISPL marketplace. All accounts in an organization must be from the same
    //    marketplace.
    //
    //    * ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: You attempted to
    //    change the membership of an account too quickly after its previous change.
    //
    //    * PAYMENT_INSTRUMENT_REQUIRED: You can't complete the operation with an
    //    account that doesn't have a payment instrument, such as a credit card,
    //    associated with it.
    ErrCodeHandshakeConstraintViolationException = "HandshakeConstraintViolationException"

    // ErrCodeHandshakeNotFoundException for service response error code
    // "HandshakeNotFoundException".
    //
    // We can't find a handshake with the HandshakeId that you specified.
    ErrCodeHandshakeNotFoundException = "HandshakeNotFoundException"

    // ErrCodeInvalidHandshakeTransitionException for service response error code
    // "InvalidHandshakeTransitionException".
    //
    // You can't perform the operation on the handshake in its current state. For
    // example, you can't cancel a handshake that was already accepted or accept
    // a handshake that was already declined.
    ErrCodeInvalidHandshakeTransitionException = "InvalidHandshakeTransitionException"

    // ErrCodeInvalidInputException for service response error code
    // "InvalidInputException".
    //
    // The requested operation failed because you provided invalid values for one
    // or more of the request parameters. This exception includes a reason that
    // contains additional information about the violated limit:
    //
    // Some of the reasons in the following list might not be applicable to this
    // specific API or operation.
    //
    //    * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and
    //    can't be modified.
    //
    //    * INPUT_REQUIRED: You must include a value for all required parameters.
    //
    //    * INVALID_ENUM: You specified an invalid value.
    //
    //    * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid
    //    characters.
    //
    //    * INVALID_LIST_MEMBER: You provided a list to a parameter that contains
    //    at least one invalid value.
    //
    //    * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter
    //    from the response to a previous call of the operation.
    //
    //    * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account,
    //    organization, or email) as a party.
    //
    //    * INVALID_PATTERN: You provided a value that doesn't match the required
    //    pattern.
    //
    //    * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't
    //    match the required pattern.
    //
    //    * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role
    //    name can't begin with the reserved prefix AWSServiceRoleFor.
    //
    //    * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource
    //    Name (ARN) for the organization.
    //
    //    * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID.
    //
    //    * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system
    //    tag. You can’t add, edit, or delete system tag keys because they're
    //    reserved for AWS use. System tags don’t count against your tags per
    //    resource limit.
    //
    //    * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter
    //    for the operation.
    //
    //    * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer
    //    than allowed.
    //
    //    * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger
    //    value than allowed.
    //
    //    * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter
    //    than allowed.
    //
    //    * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller
    //    value than allowed.
    //
    //    * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only
    //    between entities in the same root.
    ErrCodeInvalidInputException = "InvalidInputException"

    // ErrCodeMalformedPolicyDocumentException for service response error code
    // "MalformedPolicyDocumentException".
    //
    // The provided policy document doesn't meet the requirements of the specified
    // policy type. For example, the syntax might be incorrect. For details about
    // service control policy syntax, see Service Control Policy Syntax (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html)
    // in the AWS Organizations User Guide.
    ErrCodeMalformedPolicyDocumentException = "MalformedPolicyDocumentException"

    // ErrCodeMasterCannotLeaveOrganizationException for service response error code
    // "MasterCannotLeaveOrganizationException".
    //
    // You can't remove a master account from an organization. If you want the master
    // account to become a member account in another organization, you must first
    // delete the current organization of the master account.
    ErrCodeMasterCannotLeaveOrganizationException = "MasterCannotLeaveOrganizationException"

    // ErrCodeOrganizationNotEmptyException for service response error code
    // "OrganizationNotEmptyException".
    //
    // The organization isn't empty. To delete an organization, you must first remove
    // all accounts except the master account, delete all OUs, and delete all policies.
    ErrCodeOrganizationNotEmptyException = "OrganizationNotEmptyException"

    // ErrCodeOrganizationalUnitNotEmptyException for service response error code
    // "OrganizationalUnitNotEmptyException".
    //
    // The specified OU is not empty. Move all accounts to another root or to other
    // OUs, remove all child OUs, and try the operation again.
    ErrCodeOrganizationalUnitNotEmptyException = "OrganizationalUnitNotEmptyException"

    // ErrCodeOrganizationalUnitNotFoundException for service response error code
    // "OrganizationalUnitNotFoundException".
    //
    // We can't find an OU with the OrganizationalUnitId that you specified.
    ErrCodeOrganizationalUnitNotFoundException = "OrganizationalUnitNotFoundException"

    // ErrCodeParentNotFoundException for service response error code
    // "ParentNotFoundException".
    //
    // We can't find a root or OU with the ParentId that you specified.
    ErrCodeParentNotFoundException = "ParentNotFoundException"

    // ErrCodePolicyChangesInProgressException for service response error code
    // "PolicyChangesInProgressException".
    //
    // Changes to the effective policy are in progress, and its contents can't be
    // returned. Try the operation again later.
    ErrCodePolicyChangesInProgressException = "PolicyChangesInProgressException"

    // ErrCodePolicyInUseException for service response error code
    // "PolicyInUseException".
    //
    // The policy is attached to one or more entities. You must detach it from all
    // roots, OUs, and accounts before performing this operation.
    ErrCodePolicyInUseException = "PolicyInUseException"

    // ErrCodePolicyNotAttachedException for service response error code
    // "PolicyNotAttachedException".
    //
    // The policy isn't attached to the specified target in the specified root.
    ErrCodePolicyNotAttachedException = "PolicyNotAttachedException"

    // ErrCodePolicyNotFoundException for service response error code
    // "PolicyNotFoundException".
    //
    // We can't find a policy with the PolicyId that you specified.
    ErrCodePolicyNotFoundException = "PolicyNotFoundException"

    // ErrCodePolicyTypeAlreadyEnabledException for service response error code
    // "PolicyTypeAlreadyEnabledException".
    //
    // The specified policy type is already enabled in the specified root.
    ErrCodePolicyTypeAlreadyEnabledException = "PolicyTypeAlreadyEnabledException"

    // ErrCodePolicyTypeNotAvailableForOrganizationException for service response error code
    // "PolicyTypeNotAvailableForOrganizationException".
    //
    // You can't use the specified policy type with the feature set currently enabled
    // for this organization. For example, you can enable SCPs only after you enable
    // all features in the organization. For more information, see Managing AWS
    // Organizations Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#enable_policies_on_root)in
    // the AWS Organizations User Guide.
    ErrCodePolicyTypeNotAvailableForOrganizationException = "PolicyTypeNotAvailableForOrganizationException"

    // ErrCodePolicyTypeNotEnabledException for service response error code
    // "PolicyTypeNotEnabledException".
    //
    // The specified policy type isn't currently enabled in this root. You can't
    // attach policies of the specified type to entities in a root until you enable
    // that type in the root. For more information, see Enabling All Features in
    // Your Organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html)
    // in the AWS Organizations User Guide.
    ErrCodePolicyTypeNotEnabledException = "PolicyTypeNotEnabledException"

    // ErrCodeRootNotFoundException for service response error code
    // "RootNotFoundException".
    //
    // We can't find a root with the RootId that you specified.
    ErrCodeRootNotFoundException = "RootNotFoundException"

    // ErrCodeServiceException for service response error code
    // "ServiceException".
    //
    // AWS Organizations can't complete your request because of an internal service
    // error. Try again later.
    ErrCodeServiceException = "ServiceException"

    // ErrCodeSourceParentNotFoundException for service response error code
    // "SourceParentNotFoundException".
    //
    // We can't find a source root or OU with the ParentId that you specified.
    ErrCodeSourceParentNotFoundException = "SourceParentNotFoundException"

    // ErrCodeTargetNotFoundException for service response error code
    // "TargetNotFoundException".
    //
    // We can't find a root, OU, or account with the TargetId that you specified.
    ErrCodeTargetNotFoundException = "TargetNotFoundException"

    // ErrCodeTooManyRequestsException for service response error code
    // "TooManyRequestsException".
    //
    // You have sent too many requests in too short a period of time. The quota
    // helps protect against denial-of-service attacks. Try again later.
    //
    // For information about quotas that affect AWS Organizations, see Quotas for
    // AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in
    // the AWS Organizations User Guide.
    ErrCodeTooManyRequestsException = "TooManyRequestsException"

    // ErrCodeUnsupportedAPIEndpointException for service response error code
    // "UnsupportedAPIEndpointException".
    //
    // This action isn't available in the current AWS Region.
    ErrCodeUnsupportedAPIEndpointException = "UnsupportedAPIEndpointException"
)
const (
    ServiceName = "organizations" // Name of service.
    EndpointsID = ServiceName     // ID to lookup a service endpoint with.
    ServiceID   = "Organizations" // ServiceID is a unique identifier of a specific service.
)

Service information constants

const (
    // AccessDeniedForDependencyExceptionReasonAccessDeniedDuringCreateServiceLinkedRole is a AccessDeniedForDependencyExceptionReason enum value
    AccessDeniedForDependencyExceptionReasonAccessDeniedDuringCreateServiceLinkedRole = "ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE"
)

type AWSOrganizationsNotInUseException Uses

type AWSOrganizationsNotInUseException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

Your account isn't a member of an organization. To make this request, you must use the credentials of an account that belongs to an organization.

func (*AWSOrganizationsNotInUseException) Code Uses

func (s *AWSOrganizationsNotInUseException) Code() string

Code returns the exception type name.

func (*AWSOrganizationsNotInUseException) Error Uses

func (s *AWSOrganizationsNotInUseException) Error() string

func (AWSOrganizationsNotInUseException) GoString Uses

func (s AWSOrganizationsNotInUseException) GoString() string

GoString returns the string representation

func (*AWSOrganizationsNotInUseException) Message Uses

func (s *AWSOrganizationsNotInUseException) Message() string

Message returns the exception's message.

func (*AWSOrganizationsNotInUseException) OrigErr Uses

func (s *AWSOrganizationsNotInUseException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AWSOrganizationsNotInUseException) RequestID Uses

func (s *AWSOrganizationsNotInUseException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AWSOrganizationsNotInUseException) StatusCode Uses

func (s *AWSOrganizationsNotInUseException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AWSOrganizationsNotInUseException) String Uses

func (s AWSOrganizationsNotInUseException) String() string

String returns the string representation

type AcceptHandshakeInput Uses

type AcceptHandshakeInput struct {

    // The unique identifier (ID) of the handshake that you want to accept.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for handshake ID string
    // requires "h-" followed by from 8 to 32 lowercase letters or digits.
    //
    // HandshakeId is a required field
    HandshakeId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AcceptHandshakeInput) GoString Uses

func (s AcceptHandshakeInput) GoString() string

GoString returns the string representation

func (*AcceptHandshakeInput) SetHandshakeId Uses

func (s *AcceptHandshakeInput) SetHandshakeId(v string) *AcceptHandshakeInput

SetHandshakeId sets the HandshakeId field's value.

func (AcceptHandshakeInput) String Uses

func (s AcceptHandshakeInput) String() string

String returns the string representation

func (*AcceptHandshakeInput) Validate Uses

func (s *AcceptHandshakeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AcceptHandshakeOutput Uses

type AcceptHandshakeOutput struct {

    // A structure that contains details about the accepted handshake.
    Handshake *Handshake `type:"structure"`
    // contains filtered or unexported fields
}

func (AcceptHandshakeOutput) GoString Uses

func (s AcceptHandshakeOutput) GoString() string

GoString returns the string representation

func (*AcceptHandshakeOutput) SetHandshake Uses

func (s *AcceptHandshakeOutput) SetHandshake(v *Handshake) *AcceptHandshakeOutput

SetHandshake sets the Handshake field's value.

func (AcceptHandshakeOutput) String Uses

func (s AcceptHandshakeOutput) String() string

String returns the string representation

type AccessDeniedException Uses

type AccessDeniedException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

func (*AccessDeniedException) Code Uses

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error Uses

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString Uses

func (s AccessDeniedException) GoString() string

GoString returns the string representation

func (*AccessDeniedException) Message Uses

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr Uses

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID Uses

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode Uses

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String Uses

func (s AccessDeniedException) String() string

String returns the string representation

type AccessDeniedForDependencyException Uses

type AccessDeniedForDependencyException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`

    Reason *string `type:"string" enum:"AccessDeniedForDependencyExceptionReason"`
    // contains filtered or unexported fields
}

The operation that you attempted requires you to have the iam:CreateServiceLinkedRole for organizations.amazonaws.com permission so that AWS Organizations can create the required service-linked role. You don't have that permission.

func (*AccessDeniedForDependencyException) Code Uses

func (s *AccessDeniedForDependencyException) Code() string

Code returns the exception type name.

func (*AccessDeniedForDependencyException) Error Uses

func (s *AccessDeniedForDependencyException) Error() string

func (AccessDeniedForDependencyException) GoString Uses

func (s AccessDeniedForDependencyException) GoString() string

GoString returns the string representation

func (*AccessDeniedForDependencyException) Message Uses

func (s *AccessDeniedForDependencyException) Message() string

Message returns the exception's message.

func (*AccessDeniedForDependencyException) OrigErr Uses

func (s *AccessDeniedForDependencyException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedForDependencyException) RequestID Uses

func (s *AccessDeniedForDependencyException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedForDependencyException) StatusCode Uses

func (s *AccessDeniedForDependencyException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedForDependencyException) String Uses

func (s AccessDeniedForDependencyException) String() string

String returns the string representation

type Account Uses

type Account struct {

    // The Amazon Resource Name (ARN) of the account.
    //
    // For more information about ARNs in Organizations, see ARN Formats Supported
    // by Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns)
    // in the AWS Organizations User Guide.
    Arn *string `type:"string"`

    // The email address associated with the AWS account.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is
    // a string of characters that represents a standard internet email address.
    Email *string `min:"6" type:"string" sensitive:"true"`

    // The unique identifier (ID) of the account.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for an account ID string
    // requires exactly 12 digits.
    Id  *string `type:"string"`

    // The method by which the account joined the organization.
    JoinedMethod *string `type:"string" enum:"AccountJoinedMethod"`

    // The date the account became a part of the organization.
    JoinedTimestamp *time.Time `type:"timestamp"`

    // The friendly name of the account.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) that is used to validate
    // this parameter is a string of any of the characters in the ASCII character
    // range.
    Name *string `min:"1" type:"string" sensitive:"true"`

    // The status of the account in the organization.
    Status *string `type:"string" enum:"AccountStatus"`
    // contains filtered or unexported fields
}

Contains information about an AWS account that is a member of an organization.

func (Account) GoString Uses

func (s Account) GoString() string

GoString returns the string representation

func (*Account) SetArn Uses

func (s *Account) SetArn(v string) *Account

SetArn sets the Arn field's value.

func (*Account) SetEmail Uses

func (s *Account) SetEmail(v string) *Account

SetEmail sets the Email field's value.

func (*Account) SetId Uses

func (s *Account) SetId(v string) *Account

SetId sets the Id field's value.

func (*Account) SetJoinedMethod Uses

func (s *Account) SetJoinedMethod(v string) *Account

SetJoinedMethod sets the JoinedMethod field's value.

func (*Account) SetJoinedTimestamp Uses

func (s *Account) SetJoinedTimestamp(v time.Time) *Account

SetJoinedTimestamp sets the JoinedTimestamp field's value.

func (*Account) SetName Uses

func (s *Account) SetName(v string) *Account

SetName sets the Name field's value.

func (*Account) SetStatus Uses

func (s *Account) SetStatus(v string) *Account

SetStatus sets the Status field's value.

func (Account) String Uses

func (s Account) String() string

String returns the string representation

type AccountAlreadyRegisteredException Uses

type AccountAlreadyRegisteredException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The specified account is already a delegated administrator for this AWS service.

func (*AccountAlreadyRegisteredException) Code Uses

func (s *AccountAlreadyRegisteredException) Code() string

Code returns the exception type name.

func (*AccountAlreadyRegisteredException) Error Uses

func (s *AccountAlreadyRegisteredException) Error() string

func (AccountAlreadyRegisteredException) GoString Uses

func (s AccountAlreadyRegisteredException) GoString() string

GoString returns the string representation

func (*AccountAlreadyRegisteredException) Message Uses

func (s *AccountAlreadyRegisteredException) Message() string

Message returns the exception's message.

func (*AccountAlreadyRegisteredException) OrigErr Uses

func (s *AccountAlreadyRegisteredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccountAlreadyRegisteredException) RequestID Uses

func (s *AccountAlreadyRegisteredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccountAlreadyRegisteredException) StatusCode Uses

func (s *AccountAlreadyRegisteredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccountAlreadyRegisteredException) String Uses

func (s AccountAlreadyRegisteredException) String() string

String returns the string representation

type AccountNotFoundException Uses

type AccountNotFoundException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

We can't find an AWS 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.

func (*AccountNotFoundException) Code Uses

func (s *AccountNotFoundException) Code() string

Code returns the exception type name.

func (*AccountNotFoundException) Error Uses

func (s *AccountNotFoundException) Error() string

func (AccountNotFoundException) GoString Uses

func (s AccountNotFoundException) GoString() string

GoString returns the string representation

func (*AccountNotFoundException) Message Uses

func (s *AccountNotFoundException) Message() string

Message returns the exception's message.

func (*AccountNotFoundException) OrigErr Uses

func (s *AccountNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccountNotFoundException) RequestID Uses

func (s *AccountNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccountNotFoundException) StatusCode Uses

func (s *AccountNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccountNotFoundException) String Uses

func (s AccountNotFoundException) String() string

String returns the string representation

type AccountNotRegisteredException Uses

type AccountNotRegisteredException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The specified account is not a delegated administrator for this AWS service.

func (*AccountNotRegisteredException) Code Uses

func (s *AccountNotRegisteredException) Code() string

Code returns the exception type name.

func (*AccountNotRegisteredException) Error Uses

func (s *AccountNotRegisteredException) Error() string

func (AccountNotRegisteredException) GoString Uses

func (s AccountNotRegisteredException) GoString() string

GoString returns the string representation

func (*AccountNotRegisteredException) Message Uses

func (s *AccountNotRegisteredException) Message() string

Message returns the exception's message.

func (*AccountNotRegisteredException) OrigErr Uses

func (s *AccountNotRegisteredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccountNotRegisteredException) RequestID Uses

func (s *AccountNotRegisteredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccountNotRegisteredException) StatusCode Uses

func (s *AccountNotRegisteredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccountNotRegisteredException) String Uses

func (s AccountNotRegisteredException) String() string

String returns the string representation

type AccountOwnerNotVerifiedException Uses

type AccountOwnerNotVerifiedException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

You can't invite an existing account to your organization until you verify that you own the email address associated with the master account. For more information, see Email Address Verification (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_create.html#about-email-verification) in the AWS Organizations User Guide.

func (*AccountOwnerNotVerifiedException) Code Uses

func (s *AccountOwnerNotVerifiedException) Code() string

Code returns the exception type name.

func (*AccountOwnerNotVerifiedException) Error Uses

func (s *AccountOwnerNotVerifiedException) Error() string

func (AccountOwnerNotVerifiedException) GoString Uses

func (s AccountOwnerNotVerifiedException) GoString() string

GoString returns the string representation

func (*AccountOwnerNotVerifiedException) Message Uses

func (s *AccountOwnerNotVerifiedException) Message() string

Message returns the exception's message.

func (*AccountOwnerNotVerifiedException) OrigErr Uses

func (s *AccountOwnerNotVerifiedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccountOwnerNotVerifiedException) RequestID Uses

func (s *AccountOwnerNotVerifiedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccountOwnerNotVerifiedException) StatusCode Uses

func (s *AccountOwnerNotVerifiedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccountOwnerNotVerifiedException) String Uses

func (s AccountOwnerNotVerifiedException) String() string

String returns the string representation

type AlreadyInOrganizationException Uses

type AlreadyInOrganizationException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

This account is already a member of an organization. An account can belong to only one organization at a time.

func (*AlreadyInOrganizationException) Code Uses

func (s *AlreadyInOrganizationException) Code() string

Code returns the exception type name.

func (*AlreadyInOrganizationException) Error Uses

func (s *AlreadyInOrganizationException) Error() string

func (AlreadyInOrganizationException) GoString Uses

func (s AlreadyInOrganizationException) GoString() string

GoString returns the string representation

func (*AlreadyInOrganizationException) Message Uses

func (s *AlreadyInOrganizationException) Message() string

Message returns the exception's message.

func (*AlreadyInOrganizationException) OrigErr Uses

func (s *AlreadyInOrganizationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AlreadyInOrganizationException) RequestID Uses

func (s *AlreadyInOrganizationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AlreadyInOrganizationException) StatusCode Uses

func (s *AlreadyInOrganizationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AlreadyInOrganizationException) String Uses

func (s AlreadyInOrganizationException) String() string

String returns the string representation

type AttachPolicyInput Uses

type AttachPolicyInput struct {

    // The unique identifier (ID) of the policy that you want to attach to the target.
    // You can get the ID for the policy by calling the ListPolicies operation.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for a policy ID string
    // requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits,
    // or the underscore character (_).
    //
    // PolicyId is a required field
    PolicyId *string `type:"string" required:"true"`

    // The unique identifier (ID) of the root, OU, or account that you want to attach
    // the policy to. You can get the ID by calling the ListRoots, ListOrganizationalUnitsForParent,
    // or ListAccounts operations.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for a target ID string
    // requires one of the following:
    //
    //    * Root - A string that begins with "r-" followed by from 4 to 32 lowercase
    //    letters or digits.
    //
    //    * Account - A string that consists of exactly 12 digits.
    //
    //    * Organizational unit (OU) - A string that begins with "ou-" followed
    //    by from 4 to 32 lowercase letters or digits (the ID of the root that the
    //    OU is in). This string is followed by a second "-" dash and from 8 to
    //    32 additional lowercase letters or digits.
    //
    // TargetId is a required field
    TargetId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AttachPolicyInput) GoString Uses

func (s AttachPolicyInput) GoString() string

GoString returns the string representation

func (*AttachPolicyInput) SetPolicyId Uses

func (s *AttachPolicyInput) SetPolicyId(v string) *AttachPolicyInput

SetPolicyId sets the PolicyId field's value.

func (*AttachPolicyInput) SetTargetId Uses

func (s *AttachPolicyInput) SetTargetId(v string) *AttachPolicyInput

SetTargetId sets the TargetId field's value.

func (AttachPolicyInput) String Uses

func (s AttachPolicyInput) String() string

String returns the string representation

func (*AttachPolicyInput) Validate Uses

func (s *AttachPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AttachPolicyOutput Uses

type AttachPolicyOutput struct {
    // contains filtered or unexported fields
}

func (AttachPolicyOutput) GoString Uses

func (s AttachPolicyOutput) GoString() string

GoString returns the string representation

func (AttachPolicyOutput) String Uses

func (s AttachPolicyOutput) String() string

String returns the string representation

type CancelHandshakeInput Uses

type CancelHandshakeInput struct {

    // The unique identifier (ID) of the handshake that you want to cancel. You
    // can get the ID from the ListHandshakesForOrganization operation.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for handshake ID string
    // requires "h-" followed by from 8 to 32 lowercase letters or digits.
    //
    // HandshakeId is a required field
    HandshakeId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CancelHandshakeInput) GoString Uses

func (s CancelHandshakeInput) GoString() string

GoString returns the string representation

func (*CancelHandshakeInput) SetHandshakeId Uses

func (s *CancelHandshakeInput) SetHandshakeId(v string) *CancelHandshakeInput

SetHandshakeId sets the HandshakeId field's value.

func (CancelHandshakeInput) String Uses

func (s CancelHandshakeInput) String() string

String returns the string representation

func (*CancelHandshakeInput) Validate Uses

func (s *CancelHandshakeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CancelHandshakeOutput Uses

type CancelHandshakeOutput struct {

    // A structure that contains details about the handshake that you canceled.
    Handshake *Handshake `type:"structure"`
    // contains filtered or unexported fields
}

func (CancelHandshakeOutput) GoString Uses

func (s CancelHandshakeOutput) GoString() string

GoString returns the string representation

func (*CancelHandshakeOutput) SetHandshake Uses

func (s *CancelHandshakeOutput) SetHandshake(v *Handshake) *CancelHandshakeOutput

SetHandshake sets the Handshake field's value.

func (CancelHandshakeOutput) String Uses

func (s CancelHandshakeOutput) String() string

String returns the string representation

type Child Uses

type Child struct {

    // The unique identifier (ID) of this child entity.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for a child ID string
    // requires one of the following:
    //
    //    * Account: A string that consists of exactly 12 digits.
    //
    //    * Organizational unit (OU): A string that begins with "ou-" followed by
    //    from 4 to 32 lower-case letters or digits (the ID of the root that contains
    //    the OU). This string is followed by a second "-" dash and from 8 to 32
    //    additional lower-case letters or digits.
    Id  *string `type:"string"`

    // The type of this child entity.
    Type *string `type:"string" enum:"ChildType"`
    // contains filtered or unexported fields
}

Contains a list of child entities, either OUs or accounts.

func (Child) GoString Uses

func (s Child) GoString() string

GoString returns the string representation

func (*Child) SetId Uses

func (s *Child) SetId(v string) *Child

SetId sets the Id field's value.

func (*Child) SetType Uses

func (s *Child) SetType(v string) *Child

SetType sets the Type field's value.

func (Child) String Uses

func (s Child) String() string

String returns the string representation

type ChildNotFoundException Uses

type ChildNotFoundException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

We can't find an organizational unit (OU) or AWS account with the ChildId that you specified.

func (*ChildNotFoundException) Code Uses

func (s *ChildNotFoundException) Code() string

Code returns the exception type name.

func (*ChildNotFoundException) Error Uses

func (s *ChildNotFoundException) Error() string

func (ChildNotFoundException) GoString Uses

func (s ChildNotFoundException) GoString() string

GoString returns the string representation

func (*ChildNotFoundException) Message Uses

func (s *ChildNotFoundException) Message() string

Message returns the exception's message.

func (*ChildNotFoundException) OrigErr Uses

func (s *ChildNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ChildNotFoundException) RequestID Uses

func (s *ChildNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ChildNotFoundException) StatusCode Uses

func (s *ChildNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ChildNotFoundException) String Uses

func (s ChildNotFoundException) String() string

String returns the string representation

type ConcurrentModificationException Uses

type ConcurrentModificationException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The target of the operation is currently being modified by a different request. Try again later.

func (*ConcurrentModificationException) Code Uses

func (s *ConcurrentModificationException) Code() string

Code returns the exception type name.

func (*ConcurrentModificationException) Error Uses

func (s *ConcurrentModificationException) Error() string

func (ConcurrentModificationException) GoString Uses

func (s ConcurrentModificationException) GoString() string

GoString returns the string representation

func (*ConcurrentModificationException) Message Uses

func (s *ConcurrentModificationException) Message() string

Message returns the exception's message.

func (*ConcurrentModificationException) OrigErr Uses

func (s *ConcurrentModificationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConcurrentModificationException) RequestID Uses

func (s *ConcurrentModificationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConcurrentModificationException) StatusCode Uses

func (s *ConcurrentModificationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConcurrentModificationException) String Uses

func (s ConcurrentModificationException) String() string

String returns the string representation

type ConstraintViolationException Uses

type ConstraintViolationException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`

    Reason *string `type:"string" enum:"ConstraintViolationExceptionReason"`
    // contains filtered or unexported fields
}

Performing this operation violates a minimum or maximum value limit. For example, attempting to remove the last service control policy (SCP) from an OU or root, inviting or creating too many accounts to the organization, or attaching too many policies to an account, OU, or root. This exception includes a reason that contains additional information about the violated limit:

Some of the reasons in the following list might not be applicable to this specific API or operation.

* ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
account from the organization. You can't remove the master account. Instead,
after you remove all member accounts, delete the organization itself.

* ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
from the organization that doesn't yet have enough information to exist
as a standalone account. This account requires you to first agree to the
AWS Customer Agreement. Follow the steps at Removing a member account
from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in
the AWS Organizations User Guide.

* ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove
an account from the organization that doesn't yet have enough information
to exist as a standalone account. This account requires you to first complete
phone verification. Follow the steps at Removing a member account from
your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)
in the AWS Organizations User Guide.

* ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number
of accounts that you can create in one day.

* ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on
the number of accounts in an organization. If you need more accounts,
contact AWS Support (https://console.aws.amazon.com/support/home#/) to
request an increase in your limit. Or the number of invitations that you
tried to send would cause you to exceed the limit of accounts in your
organization. Send fewer invitations or contact AWS Support to request
an increase in the number of accounts. Deleted and closed accounts still
count toward your limit. If you get this exception when running a command
immediately after creating the organization, wait one hour and try again.
After an hour, if the command continues to fail with this error, contact
AWS Support (https://console.aws.amazon.com/support/home#/).

* CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
register the master account of the organization as a delegated administrator
for an AWS service integrated with Organizations. You can designate only
a member account as a delegated administrator.

* CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
an account that is registered as a delegated administrator for a service
integrated with your organization. To complete this operation, you must
first deregister this account as a delegated administrator.

* CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
organization in the specified region, you must enable all features mode.

* DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
an AWS account as a delegated administrator for an AWS service that already
has a delegated administrator. To complete this operation, you must first
deregister any existing delegated administrators for this service.

* EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
valid for a limited period of time. You must resubmit the request and
generate a new verfication code.

* HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
handshakes that you can send in one day.

* MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account
in this organization, you first must migrate the organization's master
account to the marketplace that corresponds to the master account's address.
For example, accounts with India addresses must be associated with the
AISPL marketplace. All accounts in an organization must be associated
with the same marketplace.

* MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
in China. To create an organization, the master must have an valid business
license. For more information, contact customer support.

* MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
must first provide a valid contact address and phone number for the master
account. Then try the operation again.

* MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the
master account must have an associated account in the AWS GovCloud (US-West)
Region. For more information, see AWS Organizations (http://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html)
in the AWS GovCloud User Guide.

* MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization
with this master account, you first must associate a valid payment instrument,
such as a credit card, with the account. Follow the steps at To leave
an organization when all required account information has not yet been
provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info)
in the AWS Organizations User Guide.

* MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted
to register more delegated administrators than allowed for the service
principal.

* MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the
number of policies of a certain type that can be attached to an entity
at one time.

* MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed
on this resource.

* MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation
with this member account, you first must associate a valid payment instrument,
such as a credit card, with the account. Follow the steps at To leave
an organization when all required account information has not yet been
provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info)
in the AWS Organizations User Guide.

* MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a
policy from an entity that would cause the entity to have fewer than the
minimum number of policies of a certain type required.

* ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
that requires the organization to be configured to support all features.
An organization that supports only consolidated billing features can't
perform this operation.

* OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
too many levels deep.

* OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
that you can have in an organization.

* POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
is larger than the maximum size.

* POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
policies that you can have in an organization.

* TAG_POLICY_VIOLATION: You attempted to create or update a resource with
tags that are not compliant with the tag policy requirements for this
account.

func (*ConstraintViolationException) Code Uses

func (s *ConstraintViolationException) Code() string

Code returns the exception type name.

func (*ConstraintViolationException) Error Uses

func (s *ConstraintViolationException) Error() string

func (ConstraintViolationException) GoString Uses

func (s ConstraintViolationException) GoString() string

GoString returns the string representation

func (*ConstraintViolationException) Message Uses

func (s *ConstraintViolationException) Message() string

Message returns the exception's message.

func (*ConstraintViolationException) OrigErr Uses

func (s *ConstraintViolationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConstraintViolationException) RequestID Uses

func (s *ConstraintViolationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConstraintViolationException) StatusCode Uses

func (s *ConstraintViolationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConstraintViolationException) String Uses

func (s ConstraintViolationException) String() string

String returns the string representation

type CreateAccountInput Uses

type CreateAccountInput struct {

    // The friendly name of the member account.
    //
    // AccountName is a required field
    AccountName *string `min:"1" type:"string" required:"true" sensitive:"true"`

    // The email address of the owner to assign to the new member account. This
    // email address must not already be associated with another AWS account. You
    // must use a valid email address to complete account creation. You can't access
    // the root user of the account or remove an account that was created with an
    // invalid email address.
    //
    // Email is a required field
    Email *string `min:"6" type:"string" required:"true" sensitive:"true"`

    // If set to ALLOW, the new account enables IAM users to access account billing
    // information if they have the required permissions. If set to DENY, only the
    // root user of the new account can access account billing information. For
    // more information, see Activating Access to the Billing and Cost Management
    // Console (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate)
    // in the AWS Billing and Cost Management User Guide.
    //
    // If you don't specify this parameter, the value defaults to ALLOW, and IAM
    // users and roles with the required permissions can access billing information
    // for the new account.
    IamUserAccessToBilling *string `type:"string" enum:"IAMUserAccessToBilling"`

    // (Optional)
    //
    // The name of an IAM role that AWS Organizations automatically preconfigures
    // in the new member account. This role trusts the master account, allowing
    // users in the master account to assume the role, as permitted by the master
    // account administrator. The role has administrator permissions in the new
    // member account.
    //
    // If you don't specify this parameter, the role name defaults to OrganizationAccountAccessRole.
    //
    // For more information about how to use this role to access the member account,
    // see the following links:
    //
    //    * Accessing and Administering the Member Accounts in Your Organization
    //    (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html#orgs_manage_accounts_create-cross-account-role)
    //    in the AWS Organizations User Guide
    //
    //    * Steps 2 and 3 in Tutorial: Delegate Access Across AWS Accounts Using
    //    IAM Roles (https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html)
    //    in the IAM User Guide
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) that is used to validate
    // this parameter. The pattern can include uppercase letters, lowercase letters,
    // digits with no spaces, and any of the following characters: =,.@-
    RoleName *string `type:"string"`
    // contains filtered or unexported fields
}

func (CreateAccountInput) GoString Uses

func (s CreateAccountInput) GoString() string

GoString returns the string representation

func (*CreateAccountInput) SetAccountName Uses

func (s *CreateAccountInput) SetAccountName(v string) *CreateAccountInput

SetAccountName sets the AccountName field's value.

func (*CreateAccountInput) SetEmail Uses

func (s *CreateAccountInput) SetEmail(v string) *CreateAccountInput

SetEmail sets the Email field's value.

func (*CreateAccountInput) SetIamUserAccessToBilling Uses

func (s *CreateAccountInput) SetIamUserAccessToBilling(v string) *CreateAccountInput

SetIamUserAccessToBilling sets the IamUserAccessToBilling field's value.

func (*CreateAccountInput) SetRoleName Uses

func (s *CreateAccountInput) SetRoleName(v string) *CreateAccountInput

SetRoleName sets the RoleName field's value.

func (CreateAccountInput) String Uses

func (s CreateAccountInput) String() string

String returns the string representation

func (*CreateAccountInput) Validate Uses

func (s *CreateAccountInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateAccountOutput Uses

type CreateAccountOutput struct {

    // A structure that contains details about the request to create an account.
    // This response structure might not be fully populated when you first receive
    // it because account creation is an asynchronous process. You can pass the
    // returned CreateAccountStatus ID as a parameter to DescribeCreateAccountStatus
    // to get status about the progress of the request at later times. You can also
    // check the AWS CloudTrail log for the CreateAccountResult event. For more
    // information, see Monitoring the Activity in Your Organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_monitoring.html)
    // in the AWS Organizations User Guide.
    CreateAccountStatus *CreateAccountStatus `type:"structure"`
    // contains filtered or unexported fields
}

func (CreateAccountOutput) GoString Uses

func (s CreateAccountOutput) GoString() string

GoString returns the string representation

func (*CreateAccountOutput) SetCreateAccountStatus Uses

func (s *CreateAccountOutput) SetCreateAccountStatus(v *CreateAccountStatus) *CreateAccountOutput

SetCreateAccountStatus sets the CreateAccountStatus field's value.

func (CreateAccountOutput) String Uses

func (s CreateAccountOutput) String() string

String returns the string representation

type CreateAccountStatus Uses

type CreateAccountStatus struct {

    // If the account was created successfully, the unique identifier (ID) of the
    // new account.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for an account ID string
    // requires exactly 12 digits.
    AccountId *string `type:"string"`

    // The account name given to the account when it was created.
    AccountName *string `min:"1" type:"string" sensitive:"true"`

    // The date and time that the account was created and the request completed.
    CompletedTimestamp *time.Time `type:"timestamp"`

    // If the request failed, a description of the reason for the failure.
    //
    //    * ACCOUNT_LIMIT_EXCEEDED: The account could not be created because you
    //    have reached the limit on the number of accounts in your organization.
    //
    //    * EMAIL_ALREADY_EXISTS: The account could not be created because another
    //    AWS account with that email address already exists.
    //
    //    * GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US)
    //    Region could not be created because this Region already includes an account
    //    with that email address.
    //
    //    * INVALID_ADDRESS: The account could not be created because the address
    //    you provided is not valid.
    //
    //    * INVALID_EMAIL: The account could not be created because the email address
    //    you provided is not valid.
    //
    //    * INTERNAL_FAILURE: The account could not be created because of an internal
    //    failure. Try again later. If the problem persists, contact Customer Support.
    FailureReason *string `type:"string" enum:"CreateAccountFailureReason"`

    // If the account was created successfully, the unique identifier (ID) of the
    // new account in the AWS GovCloud (US) Region.
    GovCloudAccountId *string `type:"string"`

    // The unique identifier (ID) that references this request. You get this value
    // from the response of the initial CreateAccount request to create the account.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for a create account
    // request ID string requires "car-" followed by from 8 to 32 lower-case letters
    // or digits.
    Id  *string `type:"string"`

    // The date and time that the request was made for the account creation.
    RequestedTimestamp *time.Time `type:"timestamp"`

    // The status of the request.
    State *string `type:"string" enum:"CreateAccountState"`
    // contains filtered or unexported fields
}

Contains the status about a CreateAccount or CreateGovCloudAccount request to create an AWS account or an AWS GovCloud (US) account in an organization.

func (CreateAccountStatus) GoString Uses

func (s CreateAccountStatus) GoString() string

GoString returns the string representation

func (*CreateAccountStatus) SetAccountId Uses

func (s *CreateAccountStatus) SetAccountId(v string) *CreateAccountStatus

SetAccountId sets the AccountId field's value.

func (*CreateAccountStatus) SetAccountName Uses

func (s *CreateAccountStatus) SetAccountName(v string) *CreateAccountStatus

SetAccountName sets the AccountName field's value.

func (*CreateAccountStatus) SetCompletedTimestamp Uses

func (s *CreateAccountStatus) SetCompletedTimestamp(v time.Time) *CreateAccountStatus

SetCompletedTimestamp sets the CompletedTimestamp field's value.

func (*CreateAccountStatus) SetFailureReason Uses

func (s *CreateAccountStatus) SetFailureReason(v string) *CreateAccountStatus

SetFailureReason sets the FailureReason field's value.

func (*CreateAccountStatus) SetGovCloudAccountId Uses

func (s *CreateAccountStatus) SetGovCloudAccountId(v string) *CreateAccountStatus

SetGovCloudAccountId sets the GovCloudAccountId field's value.

func (*CreateAccountStatus) SetId Uses

func (s *CreateAccountStatus) SetId(v string) *CreateAccountStatus

SetId sets the Id field's value.

func (*CreateAccountStatus) SetRequestedTimestamp Uses

func (s *CreateAccountStatus) SetRequestedTimestamp(v time.Time) *CreateAccountStatus

SetRequestedTimestamp sets the RequestedTimestamp field's value.

func (*CreateAccountStatus) SetState Uses

func (s *CreateAccountStatus) SetState(v string) *CreateAccountStatus

SetState sets the State field's value.

func (CreateAccountStatus) String Uses

func (s CreateAccountStatus) String() string

String returns the string representation

type CreateAccountStatusNotFoundException Uses

type CreateAccountStatusNotFoundException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

We can't find an create account request with the CreateAccountRequestId that you specified.

func (*CreateAccountStatusNotFoundException) Code Uses

func (s *CreateAccountStatusNotFoundException) Code() string

Code returns the exception type name.

func (*CreateAccountStatusNotFoundException) Error Uses

func (s *CreateAccountStatusNotFoundException) Error() string

func (CreateAccountStatusNotFoundException) GoString Uses

func (s CreateAccountStatusNotFoundException) GoString() string

GoString returns the string representation

func (*CreateAccountStatusNotFoundException) Message Uses

func (s *CreateAccountStatusNotFoundException) Message() string

Message returns the exception's message.

func (*CreateAccountStatusNotFoundException) OrigErr Uses

func (s *CreateAccountStatusNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CreateAccountStatusNotFoundException) RequestID Uses

func (s *CreateAccountStatusNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*CreateAccountStatusNotFoundException) StatusCode Uses

func (s *CreateAccountStatusNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CreateAccountStatusNotFoundException) String Uses

func (s CreateAccountStatusNotFoundException) String() string

String returns the string representation

type CreateGovCloudAccountInput Uses

type CreateGovCloudAccountInput struct {

    // The friendly name of the member account.
    //
    // AccountName is a required field
    AccountName *string `min:"1" type:"string" required:"true" sensitive:"true"`

    // The email address of the owner to assign to the new member account in the
    // commercial Region. This email address must not already be associated with
    // another AWS account. You must use a valid email address to complete account
    // creation. You can't access the root user of the account or remove an account
    // that was created with an invalid email address. Like all request parameters
    // for CreateGovCloudAccount, the request for the email address for the AWS
    // GovCloud (US) account originates from the commercial Region, not from the
    // AWS GovCloud (US) Region.
    //
    // Email is a required field
    Email *string `min:"6" type:"string" required:"true" sensitive:"true"`

    // If set to ALLOW, the new linked account in the commercial Region enables
    // IAM users to access account billing information if they have the required
    // permissions. If set to DENY, only the root user of the new account can access
    // account billing information. For more information, see Activating Access
    // to the Billing and Cost Management Console (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate)
    // in the AWS Billing and Cost Management User Guide.
    //
    // If you don't specify this parameter, the value defaults to ALLOW, and IAM
    // users and roles with the required permissions can access billing information
    // for the new account.
    IamUserAccessToBilling *string `type:"string" enum:"IAMUserAccessToBilling"`

    // (Optional)
    //
    // The name of an IAM role that AWS Organizations automatically preconfigures
    // in the new member accounts in both the AWS GovCloud (US) Region and in the
    // commercial Region. This role trusts the master account, allowing users in
    // the master account to assume the role, as permitted by the master account
    // administrator. The role has administrator permissions in the new member account.
    //
    // If you don't specify this parameter, the role name defaults to OrganizationAccountAccessRole.
    //
    // For more information about how to use this role to access the member account,
    // see Accessing and Administering the Member Accounts in Your Organization
    // (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html#orgs_manage_accounts_create-cross-account-role)
    // in the AWS Organizations User Guide and steps 2 and 3 in Tutorial: Delegate
    // Access Across AWS Accounts Using IAM Roles (https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html)
    // in the IAM User Guide.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) that is used to validate
    // this parameter. The pattern can include uppercase letters, lowercase letters,
    // digits with no spaces, and any of the following characters: =,.@-
    RoleName *string `type:"string"`
    // contains filtered or unexported fields
}

func (CreateGovCloudAccountInput) GoString Uses

func (s CreateGovCloudAccountInput) GoString() string

GoString returns the string representation

func (*CreateGovCloudAccountInput) SetAccountName Uses

func (s *CreateGovCloudAccountInput) SetAccountName(v string) *CreateGovCloudAccountInput

SetAccountName sets the AccountName field's value.

func (*CreateGovCloudAccountInput) SetEmail Uses

func (s *CreateGovCloudAccountInput) SetEmail(v string) *CreateGovCloudAccountInput

SetEmail sets the Email field's value.

func (*CreateGovCloudAccountInput) SetIamUserAccessToBilling Uses

func (s *CreateGovCloudAccountInput) SetIamUserAccessToBilling(v string) *CreateGovCloudAccountInput

SetIamUserAccessToBilling sets the IamUserAccessToBilling field's value.

func (*CreateGovCloudAccountInput) SetRoleName Uses

func (s *CreateGovCloudAccountInput) SetRoleName(v string) *CreateGovCloudAccountInput

SetRoleName sets the RoleName field's value.

func (CreateGovCloudAccountInput) String Uses

func (s CreateGovCloudAccountInput) String() string

String returns the string representation

func (*CreateGovCloudAccountInput) Validate Uses

func (s *CreateGovCloudAccountInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateGovCloudAccountOutput Uses

type CreateGovCloudAccountOutput struct {

    // Contains the status about a CreateAccount or CreateGovCloudAccount request
    // to create an AWS account or an AWS GovCloud (US) account in an organization.
    CreateAccountStatus *CreateAccountStatus `type:"structure"`
    // contains filtered or unexported fields
}

func (CreateGovCloudAccountOutput) GoString Uses

func (s CreateGovCloudAccountOutput) GoString() string

GoString returns the string representation

func (*CreateGovCloudAccountOutput) SetCreateAccountStatus Uses

func (s *CreateGovCloudAccountOutput) SetCreateAccountStatus(v *CreateAccountStatus) *CreateGovCloudAccountOutput

SetCreateAccountStatus sets the CreateAccountStatus field's value.

func (CreateGovCloudAccountOutput) String Uses

func (s CreateGovCloudAccountOutput) String() string

String returns the string representation

type CreateOrganizationInput Uses

type CreateOrganizationInput struct {

    // Specifies the feature set supported by the new organization. Each feature
    // set supports different levels of functionality.
    //
    //    * CONSOLIDATED_BILLING: All member accounts have their bills consolidated
    //    to and paid by the master account. For more information, see Consolidated
    //    billing (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set-cb-only)
    //    in the AWS Organizations User Guide. The consolidated billing feature
    //    subset isn't available for organizations in the AWS GovCloud (US) Region.
    //
    //    * ALL: In addition to all the features supported by the consolidated billing
    //    feature set, the master account can also apply any policy type to any
    //    member account in the organization. For more information, see All features
    //    (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set-all)
    //    in the AWS Organizations User Guide.
    FeatureSet *string `type:"string" enum:"OrganizationFeatureSet"`
    // contains filtered or unexported fields
}

func (CreateOrganizationInput) GoString Uses

func (s CreateOrganizationInput) GoString() string

GoString returns the string representation

func (*CreateOrganizationInput) SetFeatureSet Uses

func (s *CreateOrganizationInput) SetFeatureSet(v string) *CreateOrganizationInput

SetFeatureSet sets the FeatureSet field's value.

func (CreateOrganizationInput) String Uses

func (s CreateOrganizationInput) String() string

String returns the string representation

type CreateOrganizationOutput Uses

type CreateOrganizationOutput struct {

    // A structure that contains details about the newly created organization.
    Organization *Organization `type:"structure"`
    // contains filtered or unexported fields
}

func (CreateOrganizationOutput) GoString Uses

func (s CreateOrganizationOutput) GoString() string

GoString returns the string representation

func (*CreateOrganizationOutput) SetOrganization Uses

func (s *CreateOrganizationOutput) SetOrganization(v *Organization) *CreateOrganizationOutput

SetOrganization sets the Organization field's value.

func (CreateOrganizationOutput) String Uses

func (s CreateOrganizationOutput) String() string

String returns the string representation

type CreateOrganizationalUnitInput Uses

type CreateOrganizationalUnitInput struct {

    // The friendly name to assign to the new OU.
    //
    // Name is a required field
    Name *string `min:"1" type:"string" required:"true"`

    // The unique identifier (ID) of the parent root or OU that you want to create
    // the new OU in.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for a parent ID string
    // requires one of the following:
    //
    //    * Root - A string that begins with "r-" followed by from 4 to 32 lowercase
    //    letters or digits.
    //
    //    * Organizational unit (OU) - A string that begins with "ou-" followed
    //    by from 4 to 32 lowercase letters or digits (the ID of the root that the
    //    OU is in). This string is followed by a second "-" dash and from 8 to
    //    32 additional lowercase letters or digits.
    //
    // ParentId is a required field
    ParentId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateOrganizationalUnitInput) GoString Uses

func (s CreateOrganizationalUnitInput) GoString() string

GoString returns the string representation

func (*CreateOrganizationalUnitInput) SetName Uses

func (s *CreateOrganizationalUnitInput) SetName(v string) *CreateOrganizationalUnitInput

SetName sets the Name field's value.

func (*CreateOrganizationalUnitInput) SetParentId Uses

func (s *CreateOrganizationalUnitInput) SetParentId(v string) *CreateOrganizationalUnitInput

SetParentId sets the ParentId field's value.

func (CreateOrganizationalUnitInput) String Uses

func (s CreateOrganizationalUnitInput) String() string

String returns the string representation

func (*CreateOrganizationalUnitInput) Validate Uses

func (s *CreateOrganizationalUnitInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateOrganizationalUnitOutput Uses

type CreateOrganizationalUnitOutput struct {

    // A structure that contains details about the newly created OU.
    OrganizationalUnit *OrganizationalUnit `type:"structure"`
    // contains filtered or unexported fields
}

func (CreateOrganizationalUnitOutput) GoString Uses

func (s CreateOrganizationalUnitOutput) GoString() string

GoString returns the string representation

func (*CreateOrganizationalUnitOutput) SetOrganizationalUnit Uses

func (s *CreateOrganizationalUnitOutput) SetOrganizationalUnit(v *OrganizationalUnit) *CreateOrganizationalUnitOutput

SetOrganizationalUnit sets the OrganizationalUnit field's value.

func (CreateOrganizationalUnitOutput) String Uses

func (s CreateOrganizationalUnitOutput) String() string

String returns the string representation

type CreatePolicyInput Uses

type CreatePolicyInput struct {

    // The policy text content to add to the new policy. The text that you supply
    // must adhere to the rules of the policy type you specify in the Type parameter.
    //
    // Content is a required field
    Content *string `min:"1" type:"string" required:"true"`

    // An optional description to assign to the policy.
    //
    // Description is a required field
    Description *string `type:"string" required:"true"`

    // The friendly name to assign to the policy.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) that is used to validate
    // this parameter is a string of any of the characters in the ASCII character
    // range.
    //
    // Name is a required field
    Name *string `min:"1" type:"string" required:"true"`

    // The type of policy to create. You can specify one of the following values:
    //
    //    * AISERVICES_OPT_OUT_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html)
    //
    //    * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html)
    //
    //    * SERVICE_CONTROL_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html)
    //
    //    * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html)
    //
    // Type is a required field
    Type *string `type:"string" required:"true" enum:"PolicyType"`
    // contains filtered or unexported fields
}

func (CreatePolicyInput) GoString Uses

func (s CreatePolicyInput) GoString() string

GoString returns the string representation

func (*CreatePolicyInput) SetContent Uses

func (s *CreatePolicyInput) SetContent(v string) *CreatePolicyInput

SetContent sets the Content field's value.

func (*CreatePolicyInput) SetDescription Uses

func (s *CreatePolicyInput) SetDescription(v string) *CreatePolicyInput

SetDescription sets the Description field's value.

func (*CreatePolicyInput) SetName Uses

func (s *CreatePolicyInput) SetName(v string) *CreatePolicyInput

SetName sets the Name field's value.

func (*CreatePolicyInput) SetType Uses

func (s *CreatePolicyInput) SetType(v string) *CreatePolicyInput

SetType sets the Type field's value.

func (CreatePolicyInput) String Uses

func (s CreatePolicyInput) String() string

String returns the string representation

func (*CreatePolicyInput) Validate Uses

func (s *CreatePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreatePolicyOutput Uses

type CreatePolicyOutput struct {

    // A structure that contains details about the newly created policy.
    Policy *Policy `type:"structure"`
    // contains filtered or unexported fields
}

func (CreatePolicyOutput) GoString Uses

func (s CreatePolicyOutput) GoString() string

GoString returns the string representation

func (*CreatePolicyOutput) SetPolicy Uses

func (s *CreatePolicyOutput) SetPolicy(v *Policy) *CreatePolicyOutput

SetPolicy sets the Policy field's value.

func (CreatePolicyOutput) String Uses

func (s CreatePolicyOutput) String() string

String returns the string representation

type DeclineHandshakeInput Uses

type DeclineHandshakeInput struct {

    // The unique identifier (ID) of the handshake that you want to decline. You
    // can get the ID from the ListHandshakesForAccount operation.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for handshake ID string
    // requires "h-" followed by from 8 to 32 lowercase letters or digits.
    //
    // HandshakeId is a required field
    HandshakeId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeclineHandshakeInput) GoString Uses

func (s DeclineHandshakeInput) GoString() string

GoString returns the string representation

func (*DeclineHandshakeInput) SetHandshakeId Uses

func (s *DeclineHandshakeInput) SetHandshakeId(v string) *DeclineHandshakeInput

SetHandshakeId sets the HandshakeId field's value.

func (DeclineHandshakeInput) String Uses

func (s DeclineHandshakeInput) String() string

String returns the string representation

func (*DeclineHandshakeInput) Validate Uses

func (s *DeclineHandshakeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeclineHandshakeOutput Uses

type DeclineHandshakeOutput struct {

    // A structure that contains details about the declined handshake. The state
    // is updated to show the value DECLINED.
    Handshake *Handshake `type:"structure"`
    // contains filtered or unexported fields
}

func (DeclineHandshakeOutput) GoString Uses

func (s DeclineHandshakeOutput) GoString() string

GoString returns the string representation

func (*DeclineHandshakeOutput) SetHandshake Uses

func (s *DeclineHandshakeOutput) SetHandshake(v *Handshake) *DeclineHandshakeOutput

SetHandshake sets the Handshake field's value.

func (DeclineHandshakeOutput) String Uses

func (s DeclineHandshakeOutput) String() string

String returns the string representation

type DelegatedAdministrator Uses

type DelegatedAdministrator struct {

    // The Amazon Resource Name (ARN) of the delegated administrator's account.
    Arn *string `type:"string"`

    // The date when the account was made a delegated administrator.
    DelegationEnabledDate *time.Time `type:"timestamp"`

    // The email address that is associated with the delegated administrator's AWS
    // account.
    Email *string `min:"6" type:"string" sensitive:"true"`

    // The unique identifier (ID) of the delegated administrator's account.
    Id  *string `type:"string"`

    // The method by which the delegated administrator's account joined the organization.
    JoinedMethod *string `type:"string" enum:"AccountJoinedMethod"`

    // The date when the delegated administrator's account became a part of the
    // organization.
    JoinedTimestamp *time.Time `type:"timestamp"`

    // The friendly name of the delegated administrator's account.
    Name *string `min:"1" type:"string" sensitive:"true"`

    // The status of the delegated administrator's account in the organization.
    Status *string `type:"string" enum:"AccountStatus"`
    // contains filtered or unexported fields
}

Contains information about the delegated administrator.

func (DelegatedAdministrator) GoString Uses

func (s DelegatedAdministrator) GoString() string

GoString returns the string representation

func (*DelegatedAdministrator) SetArn Uses

func (s *DelegatedAdministrator) SetArn(v string) *DelegatedAdministrator

SetArn sets the Arn field's value.

func (*DelegatedAdministrator) SetDelegationEnabledDate Uses

func (s *DelegatedAdministrator) SetDelegationEnabledDate(v time.Time) *DelegatedAdministrator

SetDelegationEnabledDate sets the DelegationEnabledDate field's value.

func (*DelegatedAdministrator) SetEmail Uses

func (s *DelegatedAdministrator) SetEmail(v string) *DelegatedAdministrator

SetEmail sets the Email field's value.

func (*DelegatedAdministrator) SetId Uses

func (s *DelegatedAdministrator) SetId(v string) *DelegatedAdministrator

SetId sets the Id field's value.

func (*DelegatedAdministrator) SetJoinedMethod Uses

func (s *DelegatedAdministrator) SetJoinedMethod(v string) *DelegatedAdministrator

SetJoinedMethod sets the JoinedMethod field's value.

func (*DelegatedAdministrator) SetJoinedTimestamp Uses

func (s *DelegatedAdministrator) SetJoinedTimestamp(v time.Time) *DelegatedAdministrator

SetJoinedTimestamp sets the JoinedTimestamp field's value.

func (*DelegatedAdministrator) SetName Uses

func (s *DelegatedAdministrator) SetName(v string) *DelegatedAdministrator

SetName sets the Name field's value.

func (*DelegatedAdministrator) SetStatus Uses

func (s *DelegatedAdministrator) SetStatus(v string) *DelegatedAdministrator

SetStatus sets the Status field's value.

func (DelegatedAdministrator) String Uses

func (s DelegatedAdministrator) String() string

String returns the string representation

type DelegatedService Uses

type DelegatedService struct {

    // The date that the account became a delegated administrator for this service.
    DelegationEnabledDate *time.Time `type:"timestamp"`

    // The name of a service that can request an operation for the specified service.
    // This is typically in the form of a URL, such as: servicename.amazonaws.com.
    ServicePrincipal *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

Contains information about the AWS service for which the account is a delegated administrator.

func (DelegatedService) GoString Uses

func (s DelegatedService) GoString() string

GoString returns the string representation

func (*DelegatedService) SetDelegationEnabledDate Uses

func (s *DelegatedService) SetDelegationEnabledDate(v time.Time) *DelegatedService

SetDelegationEnabledDate sets the DelegationEnabledDate field's value.

func (*DelegatedService) SetServicePrincipal Uses

func (s *DelegatedService) SetServicePrincipal(v string) *DelegatedService

SetServicePrincipal sets the ServicePrincipal field's value.

func (DelegatedService) String Uses

func (s DelegatedService) String() string

String returns the string representation

type DeleteOrganizationInput Uses

type DeleteOrganizationInput struct {
    // contains filtered or unexported fields
}

func (DeleteOrganizationInput) GoString Uses

func (s DeleteOrganizationInput) GoString() string

GoString returns the string representation

func (DeleteOrganizationInput) String Uses

func (s DeleteOrganizationInput) String() string

String returns the string representation

type DeleteOrganizationOutput Uses

type DeleteOrganizationOutput struct {
    // contains filtered or unexported fields
}

func (DeleteOrganizationOutput) GoString Uses

func (s DeleteOrganizationOutput) GoString() string

GoString returns the string representation

func (DeleteOrganizationOutput) String Uses

func (s DeleteOrganizationOutput) String() string

String returns the string representation

type DeleteOrganizationalUnitInput Uses

type DeleteOrganizationalUnitInput struct {

    // The unique identifier (ID) of the organizational unit that you want to delete.
    // You can get the ID from the ListOrganizationalUnitsForParent operation.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for an organizational
    // unit ID string requires "ou-" followed by from 4 to 32 lowercase letters
    // or digits (the ID of the root that contains the OU). This string is followed
    // by a second "-" dash and from 8 to 32 additional lowercase letters or digits.
    //
    // OrganizationalUnitId is a required field
    OrganizationalUnitId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteOrganizationalUnitInput) GoString Uses

func (s DeleteOrganizationalUnitInput) GoString() string

GoString returns the string representation

func (*DeleteOrganizationalUnitInput) SetOrganizationalUnitId Uses

func (s *DeleteOrganizationalUnitInput) SetOrganizationalUnitId(v string) *DeleteOrganizationalUnitInput

SetOrganizationalUnitId sets the OrganizationalUnitId field's value.

func (DeleteOrganizationalUnitInput) String Uses

func (s DeleteOrganizationalUnitInput) String() string

String returns the string representation

func (*DeleteOrganizationalUnitInput) Validate Uses

func (s *DeleteOrganizationalUnitInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteOrganizationalUnitOutput Uses

type DeleteOrganizationalUnitOutput struct {
    // contains filtered or unexported fields
}

func (DeleteOrganizationalUnitOutput) GoString Uses

func (s DeleteOrganizationalUnitOutput) GoString() string

GoString returns the string representation

func (DeleteOrganizationalUnitOutput) String Uses

func (s DeleteOrganizationalUnitOutput) String() string

String returns the string representation

type DeletePolicyInput Uses

type DeletePolicyInput struct {

    // The unique identifier (ID) of the policy that you want to delete. You can
    // get the ID from the ListPolicies or ListPoliciesForTarget operations.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for a policy ID string
    // requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits,
    // or the underscore character (_).
    //
    // PolicyId is a required field
    PolicyId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeletePolicyInput) GoString Uses

func (s DeletePolicyInput) GoString() string

GoString returns the string representation

func (*DeletePolicyInput) SetPolicyId Uses

func (s *DeletePolicyInput) SetPolicyId(v string) *DeletePolicyInput

SetPolicyId sets the PolicyId field's value.

func (DeletePolicyInput) String Uses

func (s DeletePolicyInput) String() string

String returns the string representation

func (*DeletePolicyInput) Validate Uses

func (s *DeletePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeletePolicyOutput Uses

type DeletePolicyOutput struct {
    // contains filtered or unexported fields
}

func (DeletePolicyOutput) GoString Uses

func (s DeletePolicyOutput) GoString() string

GoString returns the string representation

func (DeletePolicyOutput) String Uses

func (s DeletePolicyOutput) String() string

String returns the string representation

type DeregisterDelegatedAdministratorInput Uses

type DeregisterDelegatedAdministratorInput struct {

    // The account ID number of the member account in the organization that you
    // want to deregister as a delegated administrator.
    //
    // AccountId is a required field
    AccountId *string `type:"string" required:"true"`

    // The service principal name of an AWS service for which the account is a delegated
    // administrator.
    //
    // Delegated administrator privileges are revoked for only the specified AWS
    // service from the member account. If the specified service is the only service
    // for which the member account is a delegated administrator, the operation
    // also revokes Organizations read action permissions.
    //
    // ServicePrincipal is a required field
    ServicePrincipal *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeregisterDelegatedAdministratorInput) GoString Uses

func (s DeregisterDelegatedAdministratorInput) GoString() string

GoString returns the string representation

func (*DeregisterDelegatedAdministratorInput) SetAccountId Uses

func (s *DeregisterDelegatedAdministratorInput) SetAccountId(v string) *DeregisterDelegatedAdministratorInput

SetAccountId sets the AccountId field's value.

func (*DeregisterDelegatedAdministratorInput) SetServicePrincipal Uses

func (s *DeregisterDelegatedAdministratorInput) SetServicePrincipal(v string) *DeregisterDelegatedAdministratorInput

SetServicePrincipal sets the ServicePrincipal field's value.

func (DeregisterDelegatedAdministratorInput) String Uses

func (s DeregisterDelegatedAdministratorInput) String() string

String returns the string representation

func (*DeregisterDelegatedAdministratorInput) Validate Uses

func (s *DeregisterDelegatedAdministratorInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeregisterDelegatedAdministratorOutput Uses

type DeregisterDelegatedAdministratorOutput struct {
    // contains filtered or unexported fields
}

func (DeregisterDelegatedAdministratorOutput) GoString Uses

func (s DeregisterDelegatedAdministratorOutput) GoString() string

GoString returns the string representation

func (DeregisterDelegatedAdministratorOutput) String Uses

func (s DeregisterDelegatedAdministratorOutput) String() string

String returns the string representation

type DescribeAccountInput Uses

type DescribeAccountInput struct {

    // The unique identifier (ID) of the AWS account that you want information about.
    // You can get the ID from the ListAccounts or ListAccountsForParent operations.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for an account ID string
    // requires exactly 12 digits.
    //
    // AccountId is a required field
    AccountId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeAccountInput) GoString Uses

func (s DescribeAccountInput) GoString() string

GoString returns the string representation

func (*DescribeAccountInput) SetAccountId Uses

func (s *DescribeAccountInput) SetAccountId(v string) *DescribeAccountInput

SetAccountId sets the AccountId field's value.

func (DescribeAccountInput) String Uses

func (s DescribeAccountInput) String() string

String returns the string representation

func (*DescribeAccountInput) Validate Uses

func (s *DescribeAccountInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeAccountOutput Uses

type DescribeAccountOutput struct {

    // A structure that contains information about the requested account.
    Account *Account `type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeAccountOutput) GoString Uses

func (s DescribeAccountOutput) GoString() string

GoString returns the string representation

func (*DescribeAccountOutput) SetAccount Uses

func (s *DescribeAccountOutput) SetAccount(v *Account) *DescribeAccountOutput

SetAccount sets the Account field's value.

func (DescribeAccountOutput) String Uses

func (s DescribeAccountOutput) String() string

String returns the string representation

type DescribeCreateAccountStatusInput Uses

type DescribeCreateAccountStatusInput struct {

    // Specifies the operationId that uniquely identifies the request. You can get
    // the ID from the response to an earlier CreateAccount request, or from the
    // ListCreateAccountStatus operation.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for a create account
    // request ID string requires "car-" followed by from 8 to 32 lowercase letters
    // or digits.
    //
    // CreateAccountRequestId is a required field
    CreateAccountRequestId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeCreateAccountStatusInput) GoString Uses

func (s DescribeCreateAccountStatusInput) GoString() string

GoString returns the string representation

func (*DescribeCreateAccountStatusInput) SetCreateAccountRequestId Uses

func (s *DescribeCreateAccountStatusInput) SetCreateAccountRequestId(v string) *DescribeCreateAccountStatusInput

SetCreateAccountRequestId sets the CreateAccountRequestId field's value.

func (DescribeCreateAccountStatusInput) String Uses

func (s DescribeCreateAccountStatusInput) String() string

String returns the string representation

func (*DescribeCreateAccountStatusInput) Validate Uses

func (s *DescribeCreateAccountStatusInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeCreateAccountStatusOutput Uses

type DescribeCreateAccountStatusOutput struct {

    // A structure that contains the current status of an account creation request.
    CreateAccountStatus *CreateAccountStatus `type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeCreateAccountStatusOutput) GoString Uses

func (s DescribeCreateAccountStatusOutput) GoString() string

GoString returns the string representation

func (*DescribeCreateAccountStatusOutput) SetCreateAccountStatus Uses

func (s *DescribeCreateAccountStatusOutput) SetCreateAccountStatus(v *CreateAccountStatus) *DescribeCreateAccountStatusOutput

SetCreateAccountStatus sets the CreateAccountStatus field's value.

func (DescribeCreateAccountStatusOutput) String Uses

func (s DescribeCreateAccountStatusOutput) String() string

String returns the string representation

type DescribeEffectivePolicyInput Uses

type DescribeEffectivePolicyInput struct {

    // The type of policy that you want information about. You can specify one of
    // the following values:
    //
    //    * AISERVICES_OPT_OUT_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html)
    //
    //    * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html)
    //
    //    * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html)
    //
    // PolicyType is a required field
    PolicyType *string `type:"string" required:"true" enum:"EffectivePolicyType"`

    // When you're signed in as the master account, specify the ID of the account
    // that you want details about. Specifying an organization root or organizational
    // unit (OU) as the target is not supported.
    TargetId *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeEffectivePolicyInput) GoString Uses

func (s DescribeEffectivePolicyInput) GoString() string

GoString returns the string representation

func (*DescribeEffectivePolicyInput) SetPolicyType Uses

func (s *DescribeEffectivePolicyInput) SetPolicyType(v string) *DescribeEffectivePolicyInput

SetPolicyType sets the PolicyType field's value.

func (*DescribeEffectivePolicyInput) SetTargetId Uses

func (s *DescribeEffectivePolicyInput) SetTargetId(v string) *DescribeEffectivePolicyInput

SetTargetId sets the TargetId field's value.

func (DescribeEffectivePolicyInput) String Uses

func (s DescribeEffectivePolicyInput) String() string

String returns the string representation

func (*DescribeEffectivePolicyInput) Validate Uses

func (s *DescribeEffectivePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeEffectivePolicyOutput Uses

type DescribeEffectivePolicyOutput struct {

    // The contents of the effective policy.
    EffectivePolicy *EffectivePolicy `type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeEffectivePolicyOutput) GoString Uses

func (s DescribeEffectivePolicyOutput) GoString() string

GoString returns the string representation

func (*DescribeEffectivePolicyOutput) SetEffectivePolicy Uses

func (s *DescribeEffectivePolicyOutput) SetEffectivePolicy(v *EffectivePolicy) *DescribeEffectivePolicyOutput

SetEffectivePolicy sets the EffectivePolicy field's value.

func (DescribeEffectivePolicyOutput) String Uses

func (s DescribeEffectivePolicyOutput) String() string

String returns the string representation

type DescribeHandshakeInput Uses

type DescribeHandshakeInput struct {

    // The unique identifier (ID) of the handshake that you want information about.
    // You can get the ID from the original call to InviteAccountToOrganization,
    // or from a call to ListHandshakesForAccount or ListHandshakesForOrganization.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for handshake ID string
    // requires "h-" followed by from 8 to 32 lowercase letters or digits.
    //
    // HandshakeId is a required field
    HandshakeId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeHandshakeInput) GoString Uses

func (s DescribeHandshakeInput) GoString() string

GoString returns the string representation

func (*DescribeHandshakeInput) SetHandshakeId Uses

func (s *DescribeHandshakeInput) SetHandshakeId(v string) *DescribeHandshakeInput

SetHandshakeId sets the HandshakeId field's value.

func (DescribeHandshakeInput) String Uses

func (s DescribeHandshakeInput) String() string

String returns the string representation

func (*DescribeHandshakeInput) Validate Uses

func (s *DescribeHandshakeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeHandshakeOutput Uses

type DescribeHandshakeOutput struct {

    // A structure that contains information about the specified handshake.
    Handshake *Handshake `type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeHandshakeOutput) GoString Uses

func (s DescribeHandshakeOutput) GoString() string

GoString returns the string representation

func (*DescribeHandshakeOutput) SetHandshake Uses

func (s *DescribeHandshakeOutput) SetHandshake(v *Handshake) *DescribeHandshakeOutput

SetHandshake sets the Handshake field's value.

func (DescribeHandshakeOutput) String Uses

func (s DescribeHandshakeOutput) String() string

String returns the string representation

type DescribeOrganizationInput Uses

type DescribeOrganizationInput struct {
    // contains filtered or unexported fields
}

func (DescribeOrganizationInput) GoString Uses

func (s DescribeOrganizationInput) GoString() string

GoString returns the string representation

func (DescribeOrganizationInput) String Uses

func (s DescribeOrganizationInput) String() string

String returns the string representation

type DescribeOrganizationOutput Uses

type DescribeOrganizationOutput struct {

    // A structure that contains information about the organization.
    //
    // The AvailablePolicyTypes part of the response is deprecated, and you shouldn't
    // use it in your apps. It doesn't include any policy type supported by Organizations
    // other than SCPs. To determine which policy types are enabled in your organization,
    // use the ListRoots operation.
    Organization *Organization `type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeOrganizationOutput) GoString Uses

func (s DescribeOrganizationOutput) GoString() string

GoString returns the string representation

func (*DescribeOrganizationOutput) SetOrganization Uses

func (s *DescribeOrganizationOutput) SetOrganization(v *Organization) *DescribeOrganizationOutput

SetOrganization sets the Organization field's value.

func (DescribeOrganizationOutput) String Uses

func (s DescribeOrganizationOutput) String() string

String returns the string representation

type DescribeOrganizationalUnitInput Uses

type DescribeOrganizationalUnitInput struct {

    // The unique identifier (ID) of the organizational unit that you want details
    // about. You can get the ID from the ListOrganizationalUnitsForParent operation.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for an organizational
    // unit ID string requires "ou-" followed by from 4 to 32 lowercase letters
    // or digits (the ID of the root that contains the OU). This string is followed
    // by a second "-" dash and from 8 to 32 additional lowercase letters or digits.
    //
    // OrganizationalUnitId is a required field
    OrganizationalUnitId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeOrganizationalUnitInput) GoString Uses

func (s DescribeOrganizationalUnitInput) GoString() string

GoString returns the string representation

func (*DescribeOrganizationalUnitInput) SetOrganizationalUnitId Uses

func (s *DescribeOrganizationalUnitInput) SetOrganizationalUnitId(v string) *DescribeOrganizationalUnitInput

SetOrganizationalUnitId sets the OrganizationalUnitId field's value.

func (DescribeOrganizationalUnitInput) String Uses

func (s DescribeOrganizationalUnitInput) String() string

String returns the string representation

func (*DescribeOrganizationalUnitInput) Validate Uses

func (s *DescribeOrganizationalUnitInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeOrganizationalUnitOutput Uses

type DescribeOrganizationalUnitOutput struct {

    // A structure that contains details about the specified OU.
    OrganizationalUnit *OrganizationalUnit `type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeOrganizationalUnitOutput) GoString Uses

func (s DescribeOrganizationalUnitOutput) GoString() string

GoString returns the string representation

func (*DescribeOrganizationalUnitOutput) SetOrganizationalUnit Uses

func (s *DescribeOrganizationalUnitOutput) SetOrganizationalUnit(v *OrganizationalUnit) *DescribeOrganizationalUnitOutput

SetOrganizationalUnit sets the OrganizationalUnit field's value.

func (DescribeOrganizationalUnitOutput) String Uses

func (s DescribeOrganizationalUnitOutput) String() string

String returns the string representation

type DescribePolicyInput Uses

type DescribePolicyInput struct {

    // The unique identifier (ID) of the policy that you want details about. You
    // can get the ID from the ListPolicies or ListPoliciesForTarget operations.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for a policy ID string
    // requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits,
    // or the underscore character (_).
    //
    // PolicyId is a required field
    PolicyId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribePolicyInput) GoString Uses

func (s DescribePolicyInput) GoString() string

GoString returns the string representation

func (*DescribePolicyInput) SetPolicyId Uses

func (s *DescribePolicyInput) SetPolicyId(v string) *DescribePolicyInput

SetPolicyId sets the PolicyId field's value.

func (DescribePolicyInput) String Uses

func (s DescribePolicyInput) String() string

String returns the string representation

func (*DescribePolicyInput) Validate Uses

func (s *DescribePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribePolicyOutput Uses

type DescribePolicyOutput struct {

    // A structure that contains details about the specified policy.
    Policy *Policy `type:"structure"`
    // contains filtered or unexported fields
}

func (DescribePolicyOutput) GoString Uses

func (s DescribePolicyOutput) GoString() string

GoString returns the string representation

func (*DescribePolicyOutput) SetPolicy Uses

func (s *DescribePolicyOutput) SetPolicy(v *Policy) *DescribePolicyOutput

SetPolicy sets the Policy field's value.

func (DescribePolicyOutput) String Uses

func (s DescribePolicyOutput) String() string

String returns the string representation

type DestinationParentNotFoundException Uses

type DestinationParentNotFoundException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

We can't find the destination container (a root or OU) with the ParentId that you specified.

func (*DestinationParentNotFoundException) Code Uses

func (s *DestinationParentNotFoundException) Code() string

Code returns the exception type name.

func (*DestinationParentNotFoundException) Error Uses

func (s *DestinationParentNotFoundException) Error() string

func (DestinationParentNotFoundException) GoString Uses

func (s DestinationParentNotFoundException) GoString() string

GoString returns the string representation

func (*DestinationParentNotFoundException) Message Uses

func (s *DestinationParentNotFoundException) Message() string

Message returns the exception's message.

func (*DestinationParentNotFoundException) OrigErr Uses

func (s *DestinationParentNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*DestinationParentNotFoundException) RequestID Uses

func (s *DestinationParentNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*DestinationParentNotFoundException) StatusCode Uses

func (s *DestinationParentNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (DestinationParentNotFoundException) String Uses

func (s DestinationParentNotFoundException) String() string

String returns the string representation

type DetachPolicyInput Uses

type DetachPolicyInput struct {

    // The unique identifier (ID) of the policy you want to detach. You can get
    // the ID from the ListPolicies or ListPoliciesForTarget operations.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for a policy ID string
    // requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits,
    // or the underscore character (_).
    //
    // PolicyId is a required field
    PolicyId *string `type:"string" required:"true"`

    // The unique identifier (ID) of the root, OU, or account that you want to detach
    // the policy from. You can get the ID from the ListRoots, ListOrganizationalUnitsForParent,
    // or ListAccounts operations.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for a target ID string
    // requires one of the following:
    //
    //    * Root - A string that begins with "r-" followed by from 4 to 32 lowercase
    //    letters or digits.
    //
    //    * Account - A string that consists of exactly 12 digits.
    //
    //    * Organizational unit (OU) - A string that begins with "ou-" followed
    //    by from 4 to 32 lowercase letters or digits (the ID of the root that the
    //    OU is in). This string is followed by a second "-" dash and from 8 to
    //    32 additional lowercase letters or digits.
    //
    // TargetId is a required field
    TargetId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DetachPolicyInput) GoString Uses

func (s DetachPolicyInput) GoString() string

GoString returns the string representation

func (*DetachPolicyInput) SetPolicyId Uses

func (s *DetachPolicyInput) SetPolicyId(v string) *DetachPolicyInput

SetPolicyId sets the PolicyId field's value.

func (*DetachPolicyInput) SetTargetId Uses

func (s *DetachPolicyInput) SetTargetId(v string) *DetachPolicyInput

SetTargetId sets the TargetId field's value.

func (DetachPolicyInput) String Uses

func (s DetachPolicyInput) String() string

String returns the string representation

func (*DetachPolicyInput) Validate Uses

func (s *DetachPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DetachPolicyOutput Uses

type DetachPolicyOutput struct {
    // contains filtered or unexported fields
}

func (DetachPolicyOutput) GoString Uses

func (s DetachPolicyOutput) GoString() string

GoString returns the string representation

func (DetachPolicyOutput) String Uses

func (s DetachPolicyOutput) String() string

String returns the string representation

type DisableAWSServiceAccessInput Uses

type DisableAWSServiceAccessInput struct {

    // The service principal name of the AWS service for which you want to disable
    // integration with your organization. This is typically in the form of a URL,
    // such as service-abbreviation.amazonaws.com.
    //
    // ServicePrincipal is a required field
    ServicePrincipal *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DisableAWSServiceAccessInput) GoString Uses

func (s DisableAWSServiceAccessInput) GoString() string

GoString returns the string representation

func (*DisableAWSServiceAccessInput) SetServicePrincipal Uses

func (s *DisableAWSServiceAccessInput) SetServicePrincipal(v string) *DisableAWSServiceAccessInput

SetServicePrincipal sets the ServicePrincipal field's value.

func (DisableAWSServiceAccessInput) String Uses

func (s DisableAWSServiceAccessInput) String() string

String returns the string representation

func (*DisableAWSServiceAccessInput) Validate Uses

func (s *DisableAWSServiceAccessInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisableAWSServiceAccessOutput Uses

type DisableAWSServiceAccessOutput struct {
    // contains filtered or unexported fields
}

func (DisableAWSServiceAccessOutput) GoString Uses

func (s DisableAWSServiceAccessOutput) GoString() string

GoString returns the string representation

func (DisableAWSServiceAccessOutput) String Uses

func (s DisableAWSServiceAccessOutput) String() string

String returns the string representation

type DisablePolicyTypeInput Uses

type DisablePolicyTypeInput struct {

    // The policy type that you want to disable in this root. You can specify one
    // of the following values:
    //
    //    * AISERVICES_OPT_OUT_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html)
    //
    //    * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html)
    //
    //    * SERVICE_CONTROL_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html)
    //
    //    * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html)
    //
    // PolicyType is a required field
    PolicyType *string `type:"string" required:"true" enum:"PolicyType"`

    // The unique identifier (ID) of the root in which you want to disable a policy
    // type. You can get the ID from the ListRoots operation.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for a root ID string
    // requires "r-" followed by from 4 to 32 lowercase letters or digits.
    //
    // RootId is a required field
    RootId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DisablePolicyTypeInput) GoString Uses

func (s DisablePolicyTypeInput) GoString() string

GoString returns the string representation

func (*DisablePolicyTypeInput) SetPolicyType Uses

func (s *DisablePolicyTypeInput) SetPolicyType(v string) *DisablePolicyTypeInput

SetPolicyType sets the PolicyType field's value.

func (*DisablePolicyTypeInput) SetRootId Uses

func (s *DisablePolicyTypeInput) SetRootId(v string) *DisablePolicyTypeInput

SetRootId sets the RootId field's value.

func (DisablePolicyTypeInput) String Uses

func (s DisablePolicyTypeInput) String() string

String returns the string representation

func (*DisablePolicyTypeInput) Validate Uses

func (s *DisablePolicyTypeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisablePolicyTypeOutput Uses

type DisablePolicyTypeOutput struct {

    // A structure that shows the root with the updated list of enabled policy types.
    Root *Root `type:"structure"`
    // contains filtered or unexported fields
}

func (DisablePolicyTypeOutput) GoString Uses

func (s DisablePolicyTypeOutput) GoString() string

GoString returns the string representation

func (*DisablePolicyTypeOutput) SetRoot Uses

func (s *DisablePolicyTypeOutput) SetRoot(v *Root) *DisablePolicyTypeOutput

SetRoot sets the Root field's value.

func (DisablePolicyTypeOutput) String Uses

func (s DisablePolicyTypeOutput) String() string

String returns the string representation

type DuplicateAccountException Uses

type DuplicateAccountException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

That account is already present in the specified destination.

func (*DuplicateAccountException) Code Uses

func (s *DuplicateAccountException) Code() string

Code returns the exception type name.

func (*DuplicateAccountException) Error Uses

func (s *DuplicateAccountException) Error() string

func (DuplicateAccountException) GoString Uses

func (s DuplicateAccountException) GoString() string

GoString returns the string representation

func (*DuplicateAccountException) Message Uses

func (s *DuplicateAccountException) Message() string

Message returns the exception's message.

func (*DuplicateAccountException) OrigErr Uses

func (s *DuplicateAccountException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*DuplicateAccountException) RequestID Uses

func (s *DuplicateAccountException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*DuplicateAccountException) StatusCode Uses

func (s *DuplicateAccountException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (DuplicateAccountException) String Uses

func (s DuplicateAccountException) String() string

String returns the string representation

type DuplicateHandshakeException Uses

type DuplicateHandshakeException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

A handshake with the same action and target already exists. For example, if you invited an account to join your organization, the invited account might already have a pending invitation from this organization. If you intend to resend an invitation to an account, ensure that existing handshakes that might be considered duplicates are canceled or declined.

func (*DuplicateHandshakeException) Code Uses

func (s *DuplicateHandshakeException) Code() string

Code returns the exception type name.

func (*DuplicateHandshakeException) Error Uses

func (s *DuplicateHandshakeException) Error() string

func (DuplicateHandshakeException) GoString Uses

func (s DuplicateHandshakeException) GoString() string

GoString returns the string representation

func (*DuplicateHandshakeException) Message Uses

func (s *DuplicateHandshakeException) Message() string

Message returns the exception's message.

func (*DuplicateHandshakeException) OrigErr Uses

func (s *DuplicateHandshakeException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*DuplicateHandshakeException) RequestID Uses

func (s *DuplicateHandshakeException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*DuplicateHandshakeException) StatusCode Uses

func (s *DuplicateHandshakeException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (DuplicateHandshakeException) String Uses

func (s DuplicateHandshakeException) String() string

String returns the string representation

type DuplicateOrganizationalUnitException Uses

type DuplicateOrganizationalUnitException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

An OU with the same name already exists.

func (*DuplicateOrganizationalUnitException) Code Uses

func (s *DuplicateOrganizationalUnitException) Code() string

Code returns the exception type name.

func (*DuplicateOrganizationalUnitException) Error Uses

func (s *DuplicateOrganizationalUnitException) Error() string

func (DuplicateOrganizationalUnitException) GoString Uses

func (s DuplicateOrganizationalUnitException) GoString() string

GoString returns the string representation

func (*DuplicateOrganizationalUnitException) Message Uses

func (s *DuplicateOrganizationalUnitException) Message() string

Message returns the exception's message.

func (*DuplicateOrganizationalUnitException) OrigErr Uses

func (s *DuplicateOrganizationalUnitException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*DuplicateOrganizationalUnitException) RequestID Uses

func (s *DuplicateOrganizationalUnitException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*DuplicateOrganizationalUnitException) StatusCode Uses

func (s *DuplicateOrganizationalUnitException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (DuplicateOrganizationalUnitException) String Uses

func (s DuplicateOrganizationalUnitException) String() string

String returns the string representation

type DuplicatePolicyAttachmentException Uses

type DuplicatePolicyAttachmentException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The selected policy is already attached to the specified target.

func (*DuplicatePolicyAttachmentException) Code Uses

func (s *DuplicatePolicyAttachmentException) Code() string

Code returns the exception type name.

func (*DuplicatePolicyAttachmentException) Error Uses

func (s *DuplicatePolicyAttachmentException) Error() string

func (DuplicatePolicyAttachmentException) GoString Uses

func (s DuplicatePolicyAttachmentException) GoString() string

GoString returns the string representation

func (*DuplicatePolicyAttachmentException) Message Uses

func (s *DuplicatePolicyAttachmentException) Message() string

Message returns the exception's message.

func (*DuplicatePolicyAttachmentException) OrigErr Uses

func (s *DuplicatePolicyAttachmentException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*DuplicatePolicyAttachmentException) RequestID Uses

func (s *DuplicatePolicyAttachmentException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*DuplicatePolicyAttachmentException) StatusCode Uses

func (s *DuplicatePolicyAttachmentException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (DuplicatePolicyAttachmentException) String Uses

func (s DuplicatePolicyAttachmentException) String() string

String returns the string representation

type DuplicatePolicyException Uses

type DuplicatePolicyException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

A policy with the same name already exists.

func (*DuplicatePolicyException) Code Uses

func (s *DuplicatePolicyException) Code() string

Code returns the exception type name.

func (*DuplicatePolicyException) Error Uses

func (s *DuplicatePolicyException) Error() string

func (DuplicatePolicyException) GoString Uses

func (s DuplicatePolicyException) GoString() string

GoString returns the string representation

func (*DuplicatePolicyException) Message Uses

func (s *DuplicatePolicyException) Message() string

Message returns the exception's message.

func (*DuplicatePolicyException) OrigErr Uses

func (s *DuplicatePolicyException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*DuplicatePolicyException) RequestID Uses

func (s *DuplicatePolicyException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*DuplicatePolicyException) StatusCode Uses

func (s *DuplicatePolicyException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (DuplicatePolicyException) String Uses

func (s DuplicatePolicyException) String() string

String returns the string representation

type EffectivePolicy Uses

type EffectivePolicy struct {

    // The time of the last update to this policy.
    LastUpdatedTimestamp *time.Time `type:"timestamp"`

    // The text content of the policy.
    PolicyContent *string `min:"1" type:"string"`

    // The policy type.
    PolicyType *string `type:"string" enum:"EffectivePolicyType"`

    // The account ID of the policy target.
    TargetId *string `type:"string"`
    // contains filtered or unexported fields
}

Contains rules to be applied to the affected accounts. The effective policy is the aggregation of any policies the account inherits, plus any policy directly attached to the account.

func (EffectivePolicy) GoString Uses

func (s EffectivePolicy) GoString() string

GoString returns the string representation

func (*EffectivePolicy) SetLastUpdatedTimestamp Uses

func (s *EffectivePolicy) SetLastUpdatedTimestamp(v time.Time) *EffectivePolicy

SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.

func (*EffectivePolicy) SetPolicyContent Uses

func (s *EffectivePolicy) SetPolicyContent(v string) *EffectivePolicy

SetPolicyContent sets the PolicyContent field's value.

func (*EffectivePolicy) SetPolicyType Uses

func (s *EffectivePolicy) SetPolicyType(v string) *EffectivePolicy

SetPolicyType sets the PolicyType field's value.

func (*EffectivePolicy) SetTargetId Uses

func (s *EffectivePolicy) SetTargetId(v string) *EffectivePolicy

SetTargetId sets the TargetId field's value.

func (EffectivePolicy) String Uses

func (s EffectivePolicy) String() string

String returns the string representation

type EffectivePolicyNotFoundException Uses

type EffectivePolicyNotFoundException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

If you ran this action on the master account, this policy type is not enabled. If you ran the action on a member account, the account doesn't have an effective policy of this type. Contact the administrator of your organization about attaching a policy of this type to the account.

func (*EffectivePolicyNotFoundException) Code Uses

func (s *EffectivePolicyNotFoundException) Code() string

Code returns the exception type name.

func (*EffectivePolicyNotFoundException) Error Uses

func (s *EffectivePolicyNotFoundException) Error() string

func (EffectivePolicyNotFoundException) GoString Uses

func (s EffectivePolicyNotFoundException) GoString() string

GoString returns the string representation

func (*EffectivePolicyNotFoundException) Message Uses

func (s *EffectivePolicyNotFoundException) Message() string

Message returns the exception's message.

func (*EffectivePolicyNotFoundException) OrigErr Uses

func (s *EffectivePolicyNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EffectivePolicyNotFoundException) RequestID Uses

func (s *EffectivePolicyNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*EffectivePolicyNotFoundException) StatusCode Uses

func (s *EffectivePolicyNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (EffectivePolicyNotFoundException) String Uses

func (s EffectivePolicyNotFoundException) String() string

String returns the string representation

type EnableAWSServiceAccessInput Uses

type EnableAWSServiceAccessInput struct {

    // The service principal name of the AWS service for which you want to enable
    // integration with your organization. This is typically in the form of a URL,
    // such as service-abbreviation.amazonaws.com.
    //
    // ServicePrincipal is a required field
    ServicePrincipal *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (EnableAWSServiceAccessInput) GoString Uses

func (s EnableAWSServiceAccessInput) GoString() string

GoString returns the string representation

func (*EnableAWSServiceAccessInput) SetServicePrincipal Uses

func (s *EnableAWSServiceAccessInput) SetServicePrincipal(v string) *EnableAWSServiceAccessInput

SetServicePrincipal sets the ServicePrincipal field's value.

func (EnableAWSServiceAccessInput) String Uses

func (s EnableAWSServiceAccessInput) String() string

String returns the string representation

func (*EnableAWSServiceAccessInput) Validate Uses

func (s *EnableAWSServiceAccessInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EnableAWSServiceAccessOutput Uses

type EnableAWSServiceAccessOutput struct {
    // contains filtered or unexported fields
}

func (EnableAWSServiceAccessOutput) GoString Uses

func (s EnableAWSServiceAccessOutput) GoString() string

GoString returns the string representation

func (EnableAWSServiceAccessOutput) String Uses

func (s EnableAWSServiceAccessOutput) String() string

String returns the string representation

type EnableAllFeaturesInput Uses

type EnableAllFeaturesInput struct {
    // contains filtered or unexported fields
}

func (EnableAllFeaturesInput) GoString Uses

func (s EnableAllFeaturesInput) GoString() string

GoString returns the string representation

func (EnableAllFeaturesInput) String Uses

func (s EnableAllFeaturesInput) String() string

String returns the string representation

type EnableAllFeaturesOutput Uses

type EnableAllFeaturesOutput struct {

    // A structure that contains details about the handshake created to support
    // this request to enable all features in the organization.
    Handshake *Handshake `type:"structure"`
    // contains filtered or unexported fields
}

func (EnableAllFeaturesOutput) GoString Uses

func (s EnableAllFeaturesOutput) GoString() string

GoString returns the string representation

func (*EnableAllFeaturesOutput) SetHandshake Uses

func (s *EnableAllFeaturesOutput) SetHandshake(v *Handshake) *EnableAllFeaturesOutput

SetHandshake sets the Handshake field's value.

func (EnableAllFeaturesOutput) String Uses

func (s EnableAllFeaturesOutput) String() string

String returns the string representation

type EnablePolicyTypeInput Uses

type EnablePolicyTypeInput struct {

    // The policy type that you want to enable. You can specify one of the following
    // values:
    //
    //    * AISERVICES_OPT_OUT_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html)
    //
    //    * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html)
    //
    //    * SERVICE_CONTROL_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html)
    //
    //    * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html)
    //
    // PolicyType is a required field
    PolicyType *string `type:"string" required:"true" enum:"PolicyType"`

    // The unique identifier (ID) of the root in which you want to enable a policy
    // type. You can get the ID from the ListRoots operation.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for a root ID string
    // requires "r-" followed by from 4 to 32 lowercase letters or digits.
    //
    // RootId is a required field
    RootId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (EnablePolicyTypeInput) GoString Uses

func (s EnablePolicyTypeInput) GoString() string

GoString returns the string representation

func (*EnablePolicyTypeInput) SetPolicyType Uses

func (s *EnablePolicyTypeInput) SetPolicyType(v string) *EnablePolicyTypeInput

SetPolicyType sets the PolicyType field's value.

func (*EnablePolicyTypeInput) SetRootId Uses

func (s *EnablePolicyTypeInput) SetRootId(v string) *EnablePolicyTypeInput

SetRootId sets the RootId field's value.

func (EnablePolicyTypeInput) String Uses

func (s EnablePolicyTypeInput) String() string

String returns the string representation

func (*EnablePolicyTypeInput) Validate Uses

func (s *EnablePolicyTypeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EnablePolicyTypeOutput Uses

type EnablePolicyTypeOutput struct {

    // A structure that shows the root with the updated list of enabled policy types.
    Root *Root `type:"structure"`
    // contains filtered or unexported fields
}

func (EnablePolicyTypeOutput) GoString Uses

func (s EnablePolicyTypeOutput) GoString() string

GoString returns the string representation

func (*EnablePolicyTypeOutput) SetRoot Uses

func (s *EnablePolicyTypeOutput) SetRoot(v *Root) *EnablePolicyTypeOutput

SetRoot sets the Root field's value.

func (EnablePolicyTypeOutput) String Uses

func (s EnablePolicyTypeOutput) String() string

String returns the string representation

type EnabledServicePrincipal Uses

type EnabledServicePrincipal struct {

    // The date that the service principal was enabled for integration with AWS
    // Organizations.
    DateEnabled *time.Time `type:"timestamp"`

    // The name of the service principal. This is typically in the form of a URL,
    // such as: servicename.amazonaws.com.
    ServicePrincipal *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

A structure that contains details of a service principal that represents an AWS service that is enabled to integrate with AWS Organizations.

func (EnabledServicePrincipal) GoString Uses

func (s EnabledServicePrincipal) GoString() string

GoString returns the string representation

func (*EnabledServicePrincipal) SetDateEnabled Uses

func (s *EnabledServicePrincipal) SetDateEnabled(v time.Time) *EnabledServicePrincipal

SetDateEnabled sets the DateEnabled field's value.

func (*EnabledServicePrincipal) SetServicePrincipal Uses

func (s *EnabledServicePrincipal) SetServicePrincipal(v string) *EnabledServicePrincipal

SetServicePrincipal sets the ServicePrincipal field's value.

func (EnabledServicePrincipal) String Uses

func (s EnabledServicePrincipal) String() string

String returns the string representation

type FinalizingOrganizationException Uses

type FinalizingOrganizationException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

AWS Organizations couldn't perform the operation because your organization hasn't finished initializing. This can take up to an hour. Try again later. If after one hour you continue to receive this error, contact AWS Support (https://console.aws.amazon.com/support/home#/).

func (*FinalizingOrganizationException) Code Uses

func (s *FinalizingOrganizationException) Code() string

Code returns the exception type name.

func (*FinalizingOrganizationException) Error Uses

func (s *FinalizingOrganizationException) Error() string

func (FinalizingOrganizationException) GoString Uses

func (s FinalizingOrganizationException) GoString() string

GoString returns the string representation

func (*FinalizingOrganizationException) Message Uses

func (s *FinalizingOrganizationException) Message() string

Message returns the exception's message.

func (*FinalizingOrganizationException) OrigErr Uses

func (s *FinalizingOrganizationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*FinalizingOrganizationException) RequestID Uses

func (s *FinalizingOrganizationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*FinalizingOrganizationException) StatusCode Uses

func (s *FinalizingOrganizationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (FinalizingOrganizationException) String Uses

func (s FinalizingOrganizationException) String() string

String returns the string representation

type Handshake Uses

type Handshake struct {

    // The type of handshake, indicating what action occurs when the recipient accepts
    // the handshake. The following handshake types are supported:
    //
    //    * INVITE: This type of handshake represents a request to join an organization.
    //    It is always sent from the master account to only non-member accounts.
    //
    //    * ENABLE_ALL_FEATURES: This type of handshake represents a request to
    //    enable all features in an organization. It is always sent from the master
    //    account to only invited member accounts. Created accounts do not receive
    //    this because those accounts were created by the organization's master
    //    account and approval is inferred.
    //
    //    * APPROVE_ALL_FEATURES: This type of handshake is sent from the Organizations
    //    service when all member accounts have approved the ENABLE_ALL_FEATURES
    //    invitation. It is sent only to the master account and signals the master
    //    that it can finalize the process to enable all features.
    Action *string `type:"string" enum:"ActionType"`

    // The Amazon Resource Name (ARN) of a handshake.
    //
    // For more information about ARNs in Organizations, see ARN Formats Supported
    // by Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns)
    // in the AWS Organizations User Guide.
    Arn *string `type:"string"`

    // The date and time that the handshake expires. If the recipient of the handshake
    // request fails to respond before the specified date and time, the handshake
    // becomes inactive and is no longer valid.
    ExpirationTimestamp *time.Time `type:"timestamp"`

    // The unique identifier (ID) of a handshake. The originating account creates
    // the ID when it initiates the handshake.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for handshake ID string
    // requires "h-" followed by from 8 to 32 lower-case letters or digits.
    Id  *string `type:"string"`

    // Information about the two accounts that are participating in the handshake.
    Parties []*HandshakeParty `type:"list"`

    // The date and time that the handshake request was made.
    RequestedTimestamp *time.Time `type:"timestamp"`

    // Additional information that is needed to process the handshake.
    Resources []*HandshakeResource `type:"list"`

    // The current state of the handshake. Use the state to trace the flow of the
    // handshake through the process from its creation to its acceptance. The meaning
    // of each of the valid values is as follows:
    //
    //    * REQUESTED: This handshake was sent to multiple recipients (applicable
    //    to only some handshake types) and not all recipients have responded yet.
    //    The request stays in this state until all recipients respond.
    //
    //    * OPEN: This handshake was sent to multiple recipients (applicable to
    //    only some policy types) and all recipients have responded, allowing the
    //    originator to complete the handshake action.
    //
    //    * CANCELED: This handshake is no longer active because it was canceled
    //    by the originating account.
    //
    //    * ACCEPTED: This handshake is complete because it has been accepted by
    //    the recipient.
    //
    //    * DECLINED: This handshake is no longer active because it was declined
    //    by the recipient account.
    //
    //    * EXPIRED: This handshake is no longer active because the originator did
    //    not receive a response of any kind from the recipient before the expiration
    //    time (15 days).
    State *string `type:"string" enum:"HandshakeState"`
    // contains filtered or unexported fields
}

Contains information that must be exchanged to securely establish a relationship between two accounts (an originator and a recipient). For example, when a master account (the originator) invites another account (the recipient) to join its organization, the two accounts exchange information as a series of handshake requests and responses.

Note: Handshakes that are CANCELED, ACCEPTED, or DECLINED show up in lists for only 30 days after entering that state After that they are deleted.

func (Handshake) GoString Uses

func (s Handshake) GoString() string

GoString returns the string representation

func (*Handshake) SetAction Uses

func (s *Handshake) SetAction(v string) *Handshake

SetAction sets the Action field's value.

func (*Handshake) SetArn Uses

func (s *Handshake) SetArn(v string) *Handshake

SetArn sets the Arn field's value.

func (*Handshake) SetExpirationTimestamp Uses

func (s *Handshake) SetExpirationTimestamp(v time.Time) *Handshake

SetExpirationTimestamp sets the ExpirationTimestamp field's value.

func (*Handshake) SetId Uses

func (s *Handshake) SetId(v string) *Handshake

SetId sets the Id field's value.

func (*Handshake) SetParties Uses

func (s *Handshake) SetParties(v []*HandshakeParty) *Handshake

SetParties sets the Parties field's value.

func (*Handshake) SetRequestedTimestamp Uses

func (s *Handshake) SetRequestedTimestamp(v time.Time) *Handshake

SetRequestedTimestamp sets the RequestedTimestamp field's value.

func (*Handshake) SetResources Uses

func (s *Handshake) SetResources(v []*HandshakeResource) *Handshake

SetResources sets the Resources field's value.

func (*Handshake) SetState Uses

func (s *Handshake) SetState(v string) *Handshake

SetState sets the State field's value.

func (Handshake) String Uses

func (s Handshake) String() string

String returns the string representation

type HandshakeAlreadyInStateException Uses

type HandshakeAlreadyInStateException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The specified handshake is already in the requested state. For example, you can't accept a handshake that was already accepted.

func (*HandshakeAlreadyInStateException) Code Uses

func (s *HandshakeAlreadyInStateException) Code() string

Code returns the exception type name.

func (*HandshakeAlreadyInStateException) Error Uses

func (s *HandshakeAlreadyInStateException) Error() string

func (HandshakeAlreadyInStateException) GoString Uses

func (s HandshakeAlreadyInStateException) GoString() string

GoString returns the string representation

func (*HandshakeAlreadyInStateException) Message Uses

func (s *HandshakeAlreadyInStateException) Message() string

Message returns the exception's message.

func (*HandshakeAlreadyInStateException) OrigErr Uses

func (s *HandshakeAlreadyInStateException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*HandshakeAlreadyInStateException) RequestID Uses

func (s *HandshakeAlreadyInStateException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*HandshakeAlreadyInStateException) StatusCode Uses

func (s *HandshakeAlreadyInStateException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (HandshakeAlreadyInStateException) String Uses

func (s HandshakeAlreadyInStateException) String() string

String returns the string representation

type HandshakeConstraintViolationException Uses

type HandshakeConstraintViolationException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`

    Reason *string `type:"string" enum:"HandshakeConstraintViolationExceptionReason"`
    // contains filtered or unexported fields
}

The requested operation would violate the constraint identified in the reason code.

Some of the reasons in the following list might not be applicable to this specific API or operation:

* ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on
the number of accounts in an organization. Note that deleted and closed
accounts still count toward your limit. If you get this exception immediately
after creating the organization, wait one hour and try again. If after
an hour it continues to fail with this error, contact AWS Support (https://console.aws.amazon.com/support/home#/).

* ALREADY_IN_AN_ORGANIZATION: The handshake request is invalid because
the invited account is already a member of an organization.

* HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
handshakes that you can send in one day.

* INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: You can't issue new invitations
to join an organization while it's in the process of enabling all features.
You can resume inviting accounts after you finalize the process when all
accounts have agreed to the change.

* ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid
because the organization has already enabled all features.

* ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: The request failed because
the account is from a different marketplace than the accounts in the organization.
For example, accounts with India addresses must be associated with the
AISPL marketplace. All accounts in an organization must be from the same
marketplace.

* ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: You attempted to
change the membership of an account too quickly after its previous change.

* PAYMENT_INSTRUMENT_REQUIRED: You can't complete the operation with an
account that doesn't have a payment instrument, such as a credit card,
associated with it.

func (*HandshakeConstraintViolationException) Code Uses

func (s *HandshakeConstraintViolationException) Code() string

Code returns the exception type name.

func (*HandshakeConstraintViolationException) Error Uses

func (s *HandshakeConstraintViolationException) Error() string

func (HandshakeConstraintViolationException) GoString Uses

func (s HandshakeConstraintViolationException) GoString() string

GoString returns the string representation

func (*HandshakeConstraintViolationException) Message Uses

func (s *HandshakeConstraintViolationException) Message() string

Message returns the exception's message.

func (*HandshakeConstraintViolationException) OrigErr Uses

func (s *HandshakeConstraintViolationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*HandshakeConstraintViolationException) RequestID Uses

func (s *HandshakeConstraintViolationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*HandshakeConstraintViolationException) StatusCode Uses

func (s *HandshakeConstraintViolationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (HandshakeConstraintViolationException) String Uses

func (s HandshakeConstraintViolationException) String() string

String returns the string representation

type HandshakeFilter Uses

type HandshakeFilter struct {

    // Specifies the type of handshake action.
    //
    // If you specify ActionType, you cannot also specify ParentHandshakeId.
    ActionType *string `type:"string" enum:"ActionType"`

    // Specifies the parent handshake. Only used for handshake types that are a
    // child of another type.
    //
    // If you specify ParentHandshakeId, you cannot also specify ActionType.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for handshake ID string
    // requires "h-" followed by from 8 to 32 lower-case letters or digits.
    ParentHandshakeId *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies the criteria that are used to select the handshakes for the operation.

func (HandshakeFilter) GoString Uses

func (s HandshakeFilter) GoString() string

GoString returns the string representation

func (*HandshakeFilter) SetActionType Uses

func (s *HandshakeFilter) SetActionType(v string) *HandshakeFilter

SetActionType sets the ActionType field's value.

func (*HandshakeFilter) SetParentHandshakeId Uses

func (s *HandshakeFilter) SetParentHandshakeId(v string) *HandshakeFilter

SetParentHandshakeId sets the ParentHandshakeId field's value.

func (HandshakeFilter) String Uses

func (s HandshakeFilter) String() string

String returns the string representation

type HandshakeNotFoundException Uses

type HandshakeNotFoundException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

We can't find a handshake with the HandshakeId that you specified.

func (*HandshakeNotFoundException) Code Uses

func (s *HandshakeNotFoundException) Code() string

Code returns the exception type name.

func (*HandshakeNotFoundException) Error Uses

func (s *HandshakeNotFoundException) Error() string

func (HandshakeNotFoundException) GoString Uses

func (s HandshakeNotFoundException) GoString() string

GoString returns the string representation

func (*HandshakeNotFoundException) Message Uses

func (s *HandshakeNotFoundException) Message() string

Message returns the exception's message.

func (*HandshakeNotFoundException) OrigErr Uses

func (s *HandshakeNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*HandshakeNotFoundException) RequestID Uses

func (s *HandshakeNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*HandshakeNotFoundException) StatusCode Uses

func (s *HandshakeNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (HandshakeNotFoundException) String Uses

func (s HandshakeNotFoundException) String() string

String returns the string representation

type HandshakeParty Uses

type HandshakeParty struct {

    // The unique identifier (ID) for the party.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for handshake ID string
    // requires "h-" followed by from 8 to 32 lower-case letters or digits.
    //
    // Id is a required field
    Id  *string `min:"1" type:"string" required:"true" sensitive:"true"`

    // The type of party.
    //
    // Type is a required field
    Type *string `type:"string" required:"true" enum:"HandshakePartyType"`
    // contains filtered or unexported fields
}

Identifies a participant in a handshake.

func (HandshakeParty) GoString Uses

func (s HandshakeParty) GoString() string

GoString returns the string representation

func (*HandshakeParty) SetId Uses

func (s *HandshakeParty) SetId(v string) *HandshakeParty

SetId sets the Id field's value.

func (*HandshakeParty) SetType Uses

func (s *HandshakeParty) SetType(v string) *HandshakeParty

SetType sets the Type field's value.

func (HandshakeParty) String Uses

func (s HandshakeParty) String() string

String returns the string representation

func (*HandshakeParty) Validate Uses

func (s *HandshakeParty) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type HandshakeResource Uses

type HandshakeResource struct {

    // When needed, contains an additional array of HandshakeResource objects.
    Resources []*HandshakeResource `type:"list"`

    // The type of information being passed, specifying how the value is to be interpreted
    // by the other party:
    //
    //    * ACCOUNT - Specifies an AWS account ID number.
    //
    //    * ORGANIZATION - Specifies an organization ID number.
    //
    //    * EMAIL - Specifies the email address that is associated with the account
    //    that receives the handshake.
    //
    //    * OWNER_EMAIL - Specifies the email address associated with the master
    //    account. Included as information about an organization.
    //
    //    * OWNER_NAME - Specifies the name associated with the master account.
    //    Included as information about an organization.
    //
    //    * NOTES - Additional text provided by the handshake initiator and intended
    //    for the recipient to read.
    Type *string `type:"string" enum:"HandshakeResourceType"`

    // The information that is passed to the other party in the handshake. The format
    // of the value string must match the requirements of the specified type.
    Value *string `type:"string" sensitive:"true"`
    // contains filtered or unexported fields
}

Contains additional data that is needed to process a handshake.

func (HandshakeResource) GoString Uses

func (s HandshakeResource) GoString() string

GoString returns the string representation

func (*HandshakeResource) SetResources Uses

func (s *HandshakeResource) SetResources(v []*HandshakeResource) *HandshakeResource

SetResources sets the Resources field's value.

func (*HandshakeResource) SetType Uses

func (s *HandshakeResource) SetType(v string) *HandshakeResource

SetType sets the Type field's value.

func (*HandshakeResource) SetValue Uses

func (s *HandshakeResource) SetValue(v string) *HandshakeResource

SetValue sets the Value field's value.

func (HandshakeResource) String Uses

func (s HandshakeResource) String() string

String returns the string representation

type InvalidHandshakeTransitionException Uses

type InvalidHandshakeTransitionException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

You can't perform the operation on the handshake in its current state. For example, you can't cancel a handshake that was already accepted or accept a handshake that was already declined.

func (*InvalidHandshakeTransitionException) Code Uses

func (s *InvalidHandshakeTransitionException) Code() string

Code returns the exception type name.

func (*InvalidHandshakeTransitionException) Error Uses

func (s *InvalidHandshakeTransitionException) Error() string

func (InvalidHandshakeTransitionException) GoString Uses

func (s InvalidHandshakeTransitionException) GoString() string

GoString returns the string representation

func (*InvalidHandshakeTransitionException) Message Uses

func (s *InvalidHandshakeTransitionException) Message() string

Message returns the exception's message.

func (*InvalidHandshakeTransitionException) OrigErr Uses

func (s *InvalidHandshakeTransitionException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidHandshakeTransitionException) RequestID Uses

func (s *InvalidHandshakeTransitionException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidHandshakeTransitionException) StatusCode Uses

func (s *InvalidHandshakeTransitionException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidHandshakeTransitionException) String Uses

func (s InvalidHandshakeTransitionException) String() string

String returns the string representation

type InvalidInputException Uses

type InvalidInputException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`

    Reason *string `type:"string" enum:"InvalidInputExceptionReason"`
    // contains filtered or unexported fields
}

The requested operation failed because you provided invalid values for one or more of the request parameters. This exception includes a reason that contains additional information about the violated limit:

Some of the reasons in the following list might not be applicable to this specific API or operation.

* IMMUTABLE_POLICY: You specified a policy that is managed by AWS and
can't be modified.

* INPUT_REQUIRED: You must include a value for all required parameters.

* INVALID_ENUM: You specified an invalid value.

* INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid
characters.

* INVALID_LIST_MEMBER: You provided a list to a parameter that contains
at least one invalid value.

* INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter
from the response to a previous call of the operation.

* INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account,
organization, or email) as a party.

* INVALID_PATTERN: You provided a value that doesn't match the required
pattern.

* INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't
match the required pattern.

* INVALID_ROLE_NAME: You provided a role name that isn't valid. A role
name can't begin with the reserved prefix AWSServiceRoleFor.

* INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource
Name (ARN) for the organization.

* INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID.

* INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system
tag. You can’t add, edit, or delete system tag keys because they're
reserved for AWS use. System tags don’t count against your tags per
resource limit.

* MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter
for the operation.

* MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer
than allowed.

* MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger
value than allowed.

* MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter
than allowed.

* MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller
value than allowed.

* MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only
between entities in the same root.

func (*InvalidInputException) Code Uses

func (s *InvalidInputException) Code() string

Code returns the exception type name.

func (*InvalidInputException) Error Uses

func (s *InvalidInputException) Error() string

func (InvalidInputException) GoString Uses

func (s InvalidInputException) GoString() string

GoString returns the string representation

func (*InvalidInputException) Message Uses

func (s *InvalidInputException) Message() string

Message returns the exception's message.

func (*InvalidInputException) OrigErr Uses

func (s *InvalidInputException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidInputException) RequestID Uses

func (s *InvalidInputException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidInputException) StatusCode Uses

func (s *InvalidInputException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidInputException) String Uses

func (s InvalidInputException) String() string

String returns the string representation

type InviteAccountToOrganizationInput Uses

type InviteAccountToOrganizationInput struct {

    // Additional information that you want to include in the generated email to
    // the recipient account owner.
    Notes *string `type:"string" sensitive:"true"`

    // The identifier (ID) of the AWS account that you want to invite to join your
    // organization. This is a JSON object that contains the following elements:
    //
    // { "Type": "ACCOUNT", "Id": "< account id number >" }
    //
    // If you use the AWS CLI, you can submit this as a single string, similar to
    // the following example:
    //
    // --target Id=123456789012,Type=ACCOUNT
    //
    // If you specify "Type": "ACCOUNT", you must provide the AWS account ID number
    // as the Id. If you specify "Type": "EMAIL", you must specify the email address
    // that is associated with the account.
    //
    // --target Id=diego@example.com,Type=EMAIL
    //
    // Target is a required field
    Target *HandshakeParty `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (InviteAccountToOrganizationInput) GoString Uses

func (s InviteAccountToOrganizationInput) GoString() string

GoString returns the string representation

func (*InviteAccountToOrganizationInput) SetNotes Uses

func (s *InviteAccountToOrganizationInput) SetNotes(v string) *InviteAccountToOrganizationInput

SetNotes sets the Notes field's value.

func (*InviteAccountToOrganizationInput) SetTarget Uses

func (s *InviteAccountToOrganizationInput) SetTarget(v *HandshakeParty) *InviteAccountToOrganizationInput

SetTarget sets the Target field's value.

func (InviteAccountToOrganizationInput) String Uses

func (s InviteAccountToOrganizationInput) String() string

String returns the string representation

func (*InviteAccountToOrganizationInput) Validate Uses

func (s *InviteAccountToOrganizationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type InviteAccountToOrganizationOutput Uses

type InviteAccountToOrganizationOutput struct {

    // A structure that contains details about the handshake that is created to
    // support this invitation request.
    Handshake *Handshake `type:"structure"`
    // contains filtered or unexported fields
}

func (InviteAccountToOrganizationOutput) GoString Uses

func (s InviteAccountToOrganizationOutput) GoString() string

GoString returns the string representation

func (*InviteAccountToOrganizationOutput) SetHandshake Uses

func (s *InviteAccountToOrganizationOutput) SetHandshake(v *Handshake) *InviteAccountToOrganizationOutput

SetHandshake sets the Handshake field's value.

func (InviteAccountToOrganizationOutput) String Uses

func (s InviteAccountToOrganizationOutput) String() string

String returns the string representation

type LeaveOrganizationInput Uses

type LeaveOrganizationInput struct {
    // contains filtered or unexported fields
}

func (LeaveOrganizationInput) GoString Uses

func (s LeaveOrganizationInput) GoString() string

GoString returns the string representation

func (LeaveOrganizationInput) String Uses

func (s LeaveOrganizationInput) String() string

String returns the string representation

type LeaveOrganizationOutput Uses

type LeaveOrganizationOutput struct {
    // contains filtered or unexported fields
}

func (LeaveOrganizationOutput) GoString Uses

func (s LeaveOrganizationOutput) GoString() string

GoString returns the string representation

func (LeaveOrganizationOutput) String Uses

func (s LeaveOrganizationOutput) String() string

String returns the string representation

type ListAWSServiceAccessForOrganizationInput Uses

type ListAWSServiceAccessForOrganizationInput struct {

    // The total number of results that you want included on each page of the response.
    // If you do not include this parameter, it defaults to a value that is specific
    // to the operation. If additional items exist beyond the maximum you specify,
    // the NextToken response element is present and has a value (is not null).
    // Include that value as the NextToken request parameter in the next call to
    // the operation to get the next part of the results. Note that Organizations
    // might return fewer results than the maximum even when there are more results
    // available. You should check NextToken after every operation to ensure that
    // you receive all of the results.
    MaxResults *int64 `min:"1" type:"integer"`

    // The parameter for receiving additional results if you receive a NextToken
    // response in a previous request. A NextToken response indicates that more
    // output is available. Set this parameter to the value of the previous call's
    // NextToken response to indicate where the output should continue from.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListAWSServiceAccessForOrganizationInput) GoString Uses

func (s ListAWSServiceAccessForOrganizationInput) GoString() string

GoString returns the string representation

func (*ListAWSServiceAccessForOrganizationInput) SetMaxResults Uses

func (s *ListAWSServiceAccessForOrganizationInput) SetMaxResults(v int64) *ListAWSServiceAccessForOrganizationInput

SetMaxResults sets the MaxResults field's value.

func (*ListAWSServiceAccessForOrganizationInput) SetNextToken Uses

func (s *ListAWSServiceAccessForOrganizationInput) SetNextToken(v string) *ListAWSServiceAccessForOrganizationInput

SetNextToken sets the NextToken field's value.

func (ListAWSServiceAccessForOrganizationInput) String Uses

func (s ListAWSServiceAccessForOrganizationInput) String() string

String returns the string representation

func (*ListAWSServiceAccessForOrganizationInput) Validate Uses

func (s *ListAWSServiceAccessForOrganizationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListAWSServiceAccessForOrganizationOutput Uses

type ListAWSServiceAccessForOrganizationOutput struct {

    // A list of the service principals for the services that are enabled to integrate
    // with your organization. Each principal is a structure that includes the name
    // and the date that it was enabled for integration with AWS Organizations.
    EnabledServicePrincipals []*EnabledServicePrincipal `type:"list"`

    // If present, indicates that more output is available than is included in the
    // current response. Use this value in the NextToken request parameter in a
    // subsequent call to the operation to get the next part of the output. You
    // should repeat this until the NextToken response element comes back as null.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListAWSServiceAccessForOrganizationOutput) GoString Uses

func (s ListAWSServiceAccessForOrganizationOutput) GoString() string

GoString returns the string representation

func (*ListAWSServiceAccessForOrganizationOutput) SetEnabledServicePrincipals Uses

func (s *ListAWSServiceAccessForOrganizationOutput) SetEnabledServicePrincipals(v []*EnabledServicePrincipal) *ListAWSServiceAccessForOrganizationOutput

SetEnabledServicePrincipals sets the EnabledServicePrincipals field's value.

func (*ListAWSServiceAccessForOrganizationOutput) SetNextToken Uses

func (s *ListAWSServiceAccessForOrganizationOutput) SetNextToken(v string) *ListAWSServiceAccessForOrganizationOutput

SetNextToken sets the NextToken field's value.

func (ListAWSServiceAccessForOrganizationOutput) String Uses

func (s ListAWSServiceAccessForOrganizationOutput) String() string

String returns the string representation

type ListAccountsForParentInput Uses

type ListAccountsForParentInput struct {

    // The total number of results that you want included on each page of the response.
    // If you do not include this parameter, it defaults to a value that is specific
    // to the operation. If additional items exist beyond the maximum you specify,
    // the NextToken response element is present and has a value (is not null).
    // Include that value as the NextToken request parameter in the next call to
    // the operation to get the next part of the results. Note that Organizations
    // might return fewer results than the maximum even when there are more results
    // available. You should check NextToken after every operation to ensure that
    // you receive all of the results.
    MaxResults *int64 `min:"1" type:"integer"`

    // The parameter for receiving additional results if you receive a NextToken
    // response in a previous request. A NextToken response indicates that more
    // output is available. Set this parameter to the value of the previous call's
    // NextToken response to indicate where the output should continue from.
    NextToken *string `type:"string"`

    // The unique identifier (ID) for the parent root or organization unit (OU)
    // whose accounts you want to list.
    //
    // ParentId is a required field
    ParentId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListAccountsForParentInput) GoString Uses

func (s ListAccountsForParentInput) GoString() string

GoString returns the string representation

func (*ListAccountsForParentInput) SetMaxResults Uses

func (s *ListAccountsForParentInput) SetMaxResults(v int64) *ListAccountsForParentInput

SetMaxResults sets the MaxResults field's value.

func (*ListAccountsForParentInput) SetNextToken Uses

func (s *ListAccountsForParentInput) SetNextToken(v string) *ListAccountsForParentInput

SetNextToken sets the NextToken field's value.

func (*ListAccountsForParentInput) SetParentId Uses

func (s *ListAccountsForParentInput) SetParentId(v string) *ListAccountsForParentInput

SetParentId sets the ParentId field's value.

func (ListAccountsForParentInput) String Uses

func (s ListAccountsForParentInput) String() string

String returns the string representation

func (*ListAccountsForParentInput) Validate Uses

func (s *ListAccountsForParentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListAccountsForParentOutput Uses

type ListAccountsForParentOutput struct {

    // A list of the accounts in the specified root or OU.
    Accounts []*Account `type:"list"`

    // If present, indicates that more output is available than is included in the
    // current response. Use this value in the NextToken request parameter in a
    // subsequent call to the operation to get the next part of the output. You
    // should repeat this until the NextToken response element comes back as null.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListAccountsForParentOutput) GoString Uses

func (s ListAccountsForParentOutput) GoString() string

GoString returns the string representation

func (*ListAccountsForParentOutput) SetAccounts Uses

func (s *ListAccountsForParentOutput) SetAccounts(v []*Account) *ListAccountsForParentOutput

SetAccounts sets the Accounts field's value.

func (*ListAccountsForParentOutput) SetNextToken Uses

func (s *ListAccountsForParentOutput) SetNextToken(v string) *ListAccountsForParentOutput

SetNextToken sets the NextToken field's value.

func (ListAccountsForParentOutput) String Uses

func (s ListAccountsForParentOutput) String() string

String returns the string representation

type ListAccountsInput Uses

type ListAccountsInput struct {

    // The total number of results that you want included on each page of the response.
    // If you do not include this parameter, it defaults to a value that is specific
    // to the operation. If additional items exist beyond the maximum you specify,
    // the NextToken response element is present and has a value (is not null).
    // Include that value as the NextToken request parameter in the next call to
    // the operation to get the next part of the results. Note that Organizations
    // might return fewer results than the maximum even when there are more results
    // available. You should check NextToken after every operation to ensure that
    // you receive all of the results.
    MaxResults *int64 `min:"1" type:"integer"`

    // The parameter for receiving additional results if you receive a NextToken
    // response in a previous request. A NextToken response indicates that more
    // output is available. Set this parameter to the value of the previous call's
    // NextToken response to indicate where the output should continue from.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListAccountsInput) GoString Uses

func (s ListAccountsInput) GoString() string

GoString returns the string representation

func (*ListAccountsInput) SetMaxResults Uses

func (s *ListAccountsInput) SetMaxResults(v int64) *ListAccountsInput

SetMaxResults sets the MaxResults field's value.

func (*ListAccountsInput) SetNextToken Uses

func (s *ListAccountsInput) SetNextToken(v string) *ListAccountsInput

SetNextToken sets the NextToken field's value.

func (ListAccountsInput) String Uses

func (s ListAccountsInput) String() string

String returns the string representation

func (*ListAccountsInput) Validate Uses

func (s *ListAccountsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListAccountsOutput Uses

type ListAccountsOutput struct {

    // A list of objects in the organization.
    Accounts []*Account `type:"list"`

    // If present, indicates that more output is available than is included in the
    // current response. Use this value in the NextToken request parameter in a
    // subsequent call to the operation to get the next part of the output. You
    // should repeat this until the NextToken response element comes back as null.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListAccountsOutput) GoString Uses

func (s ListAccountsOutput) GoString() string

GoString returns the string representation

func (*ListAccountsOutput) SetAccounts Uses

func (s *ListAccountsOutput) SetAccounts(v []*Account) *ListAccountsOutput

SetAccounts sets the Accounts field's value.

func (*ListAccountsOutput) SetNextToken Uses

func (s *ListAccountsOutput) SetNextToken(v string) *ListAccountsOutput

SetNextToken sets the NextToken field's value.

func (ListAccountsOutput) String Uses

func (s ListAccountsOutput) String() string

String returns the string representation

type ListChildrenInput Uses

type ListChildrenInput struct {

    // Filters the output to include only the specified child type.
    //
    // ChildType is a required field
    ChildType *string `type:"string" required:"true" enum:"ChildType"`

    // The total number of results that you want included on each page of the response.
    // If you do not include this parameter, it defaults to a value that is specific
    // to the operation. If additional items exist beyond the maximum you specify,
    // the NextToken response element is present and has a value (is not null).
    // Include that value as the NextToken request parameter in the next call to
    // the operation to get the next part of the results. Note that Organizations
    // might return fewer results than the maximum even when there are more results
    // available. You should check NextToken after every operation to ensure that
    // you receive all of the results.
    MaxResults *int64 `min:"1" type:"integer"`

    // The parameter for receiving additional results if you receive a NextToken
    // response in a previous request. A NextToken response indicates that more
    // output is available. Set this parameter to the value of the previous call's
    // NextToken response to indicate where the output should continue from.
    NextToken *string `type:"string"`

    // The unique identifier (ID) for the parent root or OU whose children you want
    // to list.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for a parent ID string
    // requires one of the following:
    //
    //    * Root - A string that begins with "r-" followed by from 4 to 32 lowercase
    //    letters or digits.
    //
    //    * Organizational unit (OU) - A string that begins with "ou-" followed
    //    by from 4 to 32 lowercase letters or digits (the ID of the root that the
    //    OU is in). This string is followed by a second "-" dash and from 8 to
    //    32 additional lowercase letters or digits.
    //
    // ParentId is a required field
    ParentId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListChildrenInput) GoString Uses

func (s ListChildrenInput) GoString() string

GoString returns the string representation

func (*ListChildrenInput) SetChildType Uses

func (s *ListChildrenInput) SetChildType(v string) *ListChildrenInput

SetChildType sets the ChildType field's value.

func (*ListChildrenInput) SetMaxResults Uses

func (s *ListChildrenInput) SetMaxResults(v int64) *ListChildrenInput

SetMaxResults sets the MaxResults field's value.

func (*ListChildrenInput) SetNextToken Uses

func (s *ListChildrenInput) SetNextToken(v string) *ListChildrenInput

SetNextToken sets the NextToken field's value.

func (*ListChildrenInput) SetParentId Uses

func (s *ListChildrenInput) SetParentId(v string) *ListChildrenInput

SetParentId sets the ParentId field's value.

func (ListChildrenInput) String Uses

func (s ListChildrenInput) String() string

String returns the string representation

func (*ListChildrenInput) Validate Uses

func (s *ListChildrenInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListChildrenOutput Uses

type ListChildrenOutput struct {

    // The list of children of the specified parent container.
    Children []*Child `type:"list"`

    // If present, indicates that more output is available than is included in the
    // current response. Use this value in the NextToken request parameter in a
    // subsequent call to the operation to get the next part of the output. You
    // should repeat this until the NextToken response element comes back as null.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListChildrenOutput) GoString Uses

func (s ListChildrenOutput) GoString() string

GoString returns the string representation

func (*ListChildrenOutput) SetChildren Uses

func (s *ListChildrenOutput) SetChildren(v []*Child) *ListChildrenOutput

SetChildren sets the Children field's value.

func (*ListChildrenOutput) SetNextToken Uses

func (s *ListChildrenOutput) SetNextToken(v string) *ListChildrenOutput

SetNextToken sets the NextToken field's value.

func (ListChildrenOutput) String Uses

func (s ListChildrenOutput) String() string

String returns the string representation

type ListCreateAccountStatusInput Uses

type ListCreateAccountStatusInput struct {

    // The total number of results that you want included on each page of the response.
    // If you do not include this parameter, it defaults to a value that is specific
    // to the operation. If additional items exist beyond the maximum you specify,
    // the NextToken response element is present and has a value (is not null).
    // Include that value as the NextToken request parameter in the next call to
    // the operation to get the next part of the results. Note that Organizations
    // might return fewer results than the maximum even when there are more results
    // available. You should check NextToken after every operation to ensure that
    // you receive all of the results.
    MaxResults *int64 `min:"1" type:"integer"`

    // The parameter for receiving additional results if you receive a NextToken
    // response in a previous request. A NextToken response indicates that more
    // output is available. Set this parameter to the value of the previous call's
    // NextToken response to indicate where the output should continue from.
    NextToken *string `type:"string"`

    // A list of one or more states that you want included in the response. If this
    // parameter isn't present, all requests are included in the response.
    States []*string `type:"list"`
    // contains filtered or unexported fields
}

func (ListCreateAccountStatusInput) GoString Uses

func (s ListCreateAccountStatusInput) GoString() string

GoString returns the string representation

func (*ListCreateAccountStatusInput) SetMaxResults Uses

func (s *ListCreateAccountStatusInput) SetMaxResults(v int64) *ListCreateAccountStatusInput

SetMaxResults sets the MaxResults field's value.

func (*ListCreateAccountStatusInput) SetNextToken Uses

func (s *ListCreateAccountStatusInput) SetNextToken(v string) *ListCreateAccountStatusInput

SetNextToken sets the NextToken field's value.

func (*ListCreateAccountStatusInput) SetStates Uses

func (s *ListCreateAccountStatusInput) SetStates(v []*string) *ListCreateAccountStatusInput

SetStates sets the States field's value.

func (ListCreateAccountStatusInput) String Uses

func (s ListCreateAccountStatusInput) String() string

String returns the string representation

func (*ListCreateAccountStatusInput) Validate Uses

func (s *ListCreateAccountStatusInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListCreateAccountStatusOutput Uses

type ListCreateAccountStatusOutput struct {

    // A list of objects with details about the requests. Certain elements, such
    // as the accountId number, are present in the output only after the account
    // has been successfully created.
    CreateAccountStatuses []*CreateAccountStatus `type:"list"`

    // If present, indicates that more output is available than is included in the
    // current response. Use this value in the NextToken request parameter in a
    // subsequent call to the operation to get the next part of the output. You
    // should repeat this until the NextToken response element comes back as null.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListCreateAccountStatusOutput) GoString Uses

func (s ListCreateAccountStatusOutput) GoString() string

GoString returns the string representation

func (*ListCreateAccountStatusOutput) SetCreateAccountStatuses Uses

func (s *ListCreateAccountStatusOutput) SetCreateAccountStatuses(v []*CreateAccountStatus) *ListCreateAccountStatusOutput

SetCreateAccountStatuses sets the CreateAccountStatuses field's value.

func (*ListCreateAccountStatusOutput) SetNextToken Uses

func (s *ListCreateAccountStatusOutput) SetNextToken(v string) *ListCreateAccountStatusOutput

SetNextToken sets the NextToken field's value.

func (ListCreateAccountStatusOutput) String Uses

func (s ListCreateAccountStatusOutput) String() string

String returns the string representation

type ListDelegatedAdministratorsInput Uses

type ListDelegatedAdministratorsInput struct {

    // The total number of results that you want included on each page of the response.
    // If you do not include this parameter, it defaults to a value that is specific
    // to the operation. If additional items exist beyond the maximum you specify,
    // the NextToken response element is present and has a value (is not null).
    // Include that value as the NextToken request parameter in the next call to
    // the operation to get the next part of the results. Note that Organizations
    // might return fewer results than the maximum even when there are more results
    // available. You should check NextToken after every operation to ensure that
    // you receive all of the results.
    MaxResults *int64 `min:"1" type:"integer"`

    // The parameter for receiving additional results if you receive a NextToken
    // response in a previous request. A NextToken response indicates that more
    // output is available. Set this parameter to the value of the previous call's
    // NextToken response to indicate where the output should continue from.
    NextToken *string `type:"string"`

    // Specifies a service principal name. If specified, then the operation lists
    // the delegated administrators only for the specified service.
    //
    // If you don't specify a service principal, the operation lists all delegated
    // administrators for all services in your organization.
    ServicePrincipal *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListDelegatedAdministratorsInput) GoString Uses

func (s ListDelegatedAdministratorsInput) GoString() string

GoString returns the string representation

func (*ListDelegatedAdministratorsInput) SetMaxResults Uses

func (s *ListDelegatedAdministratorsInput) SetMaxResults(v int64) *ListDelegatedAdministratorsInput

SetMaxResults sets the MaxResults field's value.

func (*ListDelegatedAdministratorsInput) SetNextToken Uses

func (s *ListDelegatedAdministratorsInput) SetNextToken(v string) *ListDelegatedAdministratorsInput

SetNextToken sets the NextToken field's value.

func (*ListDelegatedAdministratorsInput) SetServicePrincipal Uses

func (s *ListDelegatedAdministratorsInput) SetServicePrincipal(v string) *ListDelegatedAdministratorsInput

SetServicePrincipal sets the ServicePrincipal field's value.

func (ListDelegatedAdministratorsInput) String Uses

func (s ListDelegatedAdministratorsInput) String() string

String returns the string representation

func (*ListDelegatedAdministratorsInput) Validate Uses

func (s *ListDelegatedAdministratorsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListDelegatedAdministratorsOutput Uses

type ListDelegatedAdministratorsOutput struct {

    // The list of delegated administrators in your organization.
    DelegatedAdministrators []*DelegatedAdministrator `type:"list"`

    // If present, indicates that more output is available than is included in the
    // current response. Use this value in the NextToken request parameter in a
    // subsequent call to the operation to get the next part of the output. You
    // should repeat this until the NextToken response element comes back as null.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListDelegatedAdministratorsOutput) GoString Uses

func (s ListDelegatedAdministratorsOutput) GoString() string

GoString returns the string representation

func (*ListDelegatedAdministratorsOutput) SetDelegatedAdministrators Uses

func (s *ListDelegatedAdministratorsOutput) SetDelegatedAdministrators(v []*DelegatedAdministrator) *ListDelegatedAdministratorsOutput

SetDelegatedAdministrators sets the DelegatedAdministrators field's value.

func (*ListDelegatedAdministratorsOutput) SetNextToken Uses

func (s *ListDelegatedAdministratorsOutput) SetNextToken(v string) *ListDelegatedAdministratorsOutput

SetNextToken sets the NextToken field's value.

func (ListDelegatedAdministratorsOutput) String Uses

func (s ListDelegatedAdministratorsOutput) String() string

String returns the string representation

type ListDelegatedServicesForAccountInput Uses

type ListDelegatedServicesForAccountInput struct {

    // The account ID number of a delegated administrator account in the organization.
    //
    // AccountId is a required field
    AccountId *string `type:"string" required:"true"`

    // The total number of results that you want included on each page of the response.
    // If you do not include this parameter, it defaults to a value that is specific
    // to the operation. If additional items exist beyond the maximum you specify,
    // the NextToken response element is present and has a value (is not null).
    // Include that value as the NextToken request parameter in the next call to
    // the operation to get the next part of the results. Note that Organizations
    // might return fewer results than the maximum even when there are more results
    // available. You should check NextToken after every operation to ensure that
    // you receive all of the results.
    MaxResults *int64 `min:"1" type:"integer"`

    // The parameter for receiving additional results if you receive a NextToken
    // response in a previous request. A NextToken response indicates that more
    // output is available. Set this parameter to the value of the previous call's
    // NextToken response to indicate where the output should continue from.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListDelegatedServicesForAccountInput) GoString Uses

func (s ListDelegatedServicesForAccountInput) GoString() string

GoString returns the string representation

func (*ListDelegatedServicesForAccountInput) SetAccountId Uses

func (s *ListDelegatedServicesForAccountInput) SetAccountId(v string) *ListDelegatedServicesForAccountInput

SetAccountId sets the AccountId field's value.

func (*ListDelegatedServicesForAccountInput) SetMaxResults Uses

func (s *ListDelegatedServicesForAccountInput) SetMaxResults(v int64) *ListDelegatedServicesForAccountInput

SetMaxResults sets the MaxResults field's value.

func (*ListDelegatedServicesForAccountInput) SetNextToken Uses

func (s *ListDelegatedServicesForAccountInput) SetNextToken(v string) *ListDelegatedServicesForAccountInput

SetNextToken sets the NextToken field's value.

func (ListDelegatedServicesForAccountInput) String Uses

func (s ListDelegatedServicesForAccountInput) String() string

String returns the string representation

func (*ListDelegatedServicesForAccountInput) Validate Uses

func (s *ListDelegatedServicesForAccountInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListDelegatedServicesForAccountOutput Uses

type ListDelegatedServicesForAccountOutput struct {

    // The services for which the account is a delegated administrator.
    DelegatedServices []*DelegatedService `type:"list"`

    // If present, indicates that more output is available than is included in the
    // current response. Use this value in the NextToken request parameter in a
    // subsequent call to the operation to get the next part of the output. You
    // should repeat this until the NextToken response element comes back as null.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListDelegatedServicesForAccountOutput) GoString Uses

func (s ListDelegatedServicesForAccountOutput) GoString() string

GoString returns the string representation

func (*ListDelegatedServicesForAccountOutput) SetDelegatedServices Uses

func (s *ListDelegatedServicesForAccountOutput) SetDelegatedServices(v []*DelegatedService) *ListDelegatedServicesForAccountOutput

SetDelegatedServices sets the DelegatedServices field's value.

func (*ListDelegatedServicesForAccountOutput) SetNextToken Uses

func (s *ListDelegatedServicesForAccountOutput) SetNextToken(v string) *ListDelegatedServicesForAccountOutput

SetNextToken sets the NextToken field's value.

func (ListDelegatedServicesForAccountOutput) String Uses

func (s ListDelegatedServicesForAccountOutput) String() string

String returns the string representation

type ListHandshakesForAccountInput Uses

type ListHandshakesForAccountInput struct {

    // Filters the handshakes that you want included in the response. The default
    // is all types. Use the ActionType element to limit the output to only a specified
    // type, such as INVITE, ENABLE_ALL_FEATURES, or APPROVE_ALL_FEATURES. Alternatively,
    // for the ENABLE_ALL_FEATURES handshake that generates a separate child handshake
    // for each member account, you can specify ParentHandshakeId to see only the
    // handshakes that were generated by that parent request.
    Filter *HandshakeFilter `type:"structure"`

    // The total number of results that you want included on each page of the response.
    // If you do not include this parameter, it defaults to a value that is specific
    // to the operation. If additional items exist beyond the maximum you specify,
    // the NextToken response element is present and has a value (is not null).
    // Include that value as the NextToken request parameter in the next call to
    // the operation to get the next part of the results. Note that Organizations
    // might return fewer results than the maximum even when there are more results
    // available. You should check NextToken after every operation to ensure that
    // you receive all of the results.
    MaxResults *int64 `min:"1" type:"integer"`

    // The parameter for receiving additional results if you receive a NextToken
    // response in a previous request. A NextToken response indicates that more
    // output is available. Set this parameter to the value of the previous call's
    // NextToken response to indicate where the output should continue from.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListHandshakesForAccountInput) GoString Uses

func (s ListHandshakesForAccountInput) GoString() string

GoString returns the string representation

func (*ListHandshakesForAccountInput) SetFilter Uses

func (s *ListHandshakesForAccountInput) SetFilter(v *HandshakeFilter) *ListHandshakesForAccountInput

SetFilter sets the Filter field's value.

func (*ListHandshakesForAccountInput) SetMaxResults Uses

func (s *ListHandshakesForAccountInput) SetMaxResults(v int64) *ListHandshakesForAccountInput

SetMaxResults sets the MaxResults field's value.

func (*ListHandshakesForAccountInput) SetNextToken Uses

func (s *ListHandshakesForAccountInput) SetNextToken(v string) *ListHandshakesForAccountInput

SetNextToken sets the NextToken field's value.

func (ListHandshakesForAccountInput) String Uses

func (s ListHandshakesForAccountInput) String() string

String returns the string representation

func (*ListHandshakesForAccountInput) Validate Uses

func (s *ListHandshakesForAccountInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListHandshakesForAccountOutput Uses

type ListHandshakesForAccountOutput struct {

    // A list of Handshake objects with details about each of the handshakes that
    // is associated with the specified account.
    Handshakes []*Handshake `type:"list"`

    // If present, indicates that more output is available than is included in the
    // current response. Use this value in the NextToken request parameter in a
    // subsequent call to the operation to get the next part of the output. You
    // should repeat this until the NextToken response element comes back as null.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListHandshakesForAccountOutput) GoString Uses

func (s ListHandshakesForAccountOutput) GoString() string

GoString returns the string representation

func (*ListHandshakesForAccountOutput) SetHandshakes Uses

func (s *ListHandshakesForAccountOutput) SetHandshakes(v []*Handshake) *ListHandshakesForAccountOutput

SetHandshakes sets the Handshakes field's value.

func (*ListHandshakesForAccountOutput) SetNextToken Uses

func (s *ListHandshakesForAccountOutput) SetNextToken(v string) *ListHandshakesForAccountOutput

SetNextToken sets the NextToken field's value.

func (ListHandshakesForAccountOutput) String Uses

func (s ListHandshakesForAccountOutput) String() string

String returns the string representation

type ListHandshakesForOrganizationInput Uses

type ListHandshakesForOrganizationInput struct {

    // A filter of the handshakes that you want included in the response. The default
    // is all types. Use the ActionType element to limit the output to only a specified
    // type, such as INVITE, ENABLE-ALL-FEATURES, or APPROVE-ALL-FEATURES. Alternatively,
    // for the ENABLE-ALL-FEATURES handshake that generates a separate child handshake
    // for each member account, you can specify the ParentHandshakeId to see only
    // the handshakes that were generated by that parent request.
    Filter *HandshakeFilter `type:"structure"`

    // The total number of results that you want included on each page of the response.
    // If you do not include this parameter, it defaults to a value that is specific
    // to the operation. If additional items exist beyond the maximum you specify,
    // the NextToken response element is present and has a value (is not null).
    // Include that value as the NextToken request parameter in the next call to
    // the operation to get the next part of the results. Note that Organizations
    // might return fewer results than the maximum even when there are more results
    // available. You should check NextToken after every operation to ensure that
    // you receive all of the results.
    MaxResults *int64 `min:"1" type:"integer"`

    // The parameter for receiving additional results if you receive a NextToken
    // response in a previous request. A NextToken response indicates that more
    // output is available. Set this parameter to the value of the previous call's
    // NextToken response to indicate where the output should continue from.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListHandshakesForOrganizationInput) GoString Uses

func (s ListHandshakesForOrganizationInput) GoString() string

GoString returns the string representation

func (*ListHandshakesForOrganizationInput) SetFilter Uses

func (s *ListHandshakesForOrganizationInput) SetFilter(v *HandshakeFilter) *ListHandshakesForOrganizationInput

SetFilter sets the Filter field's value.

func (*ListHandshakesForOrganizationInput) SetMaxResults Uses

func (s *ListHandshakesForOrganizationInput) SetMaxResults(v int64) *ListHandshakesForOrganizationInput

SetMaxResults sets the MaxResults field's value.

func (*ListHandshakesForOrganizationInput) SetNextToken Uses

func (s *ListHandshakesForOrganizationInput) SetNextToken(v string) *ListHandshakesForOrganizationInput

SetNextToken sets the NextToken field's value.

func (ListHandshakesForOrganizationInput) String Uses

func (s ListHandshakesForOrganizationInput) String() string

String returns the string representation

func (*ListHandshakesForOrganizationInput) Validate Uses

func (s *ListHandshakesForOrganizationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListHandshakesForOrganizationOutput Uses

type ListHandshakesForOrganizationOutput struct {

    // A list of Handshake objects with details about each of the handshakes that
    // are associated with an organization.
    Handshakes []*Handshake `type:"list"`

    // If present, indicates that more output is available than is included in the
    // current response. Use this value in the NextToken request parameter in a
    // subsequent call to the operation to get the next part of the output. You
    // should repeat this until the NextToken response element comes back as null.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListHandshakesForOrganizationOutput) GoString Uses

func (s ListHandshakesForOrganizationOutput) GoString() string

GoString returns the string representation

func (*ListHandshakesForOrganizationOutput) SetHandshakes Uses

func (s *ListHandshakesForOrganizationOutput) SetHandshakes(v []*Handshake) *ListHandshakesForOrganizationOutput

SetHandshakes sets the Handshakes field's value.

func (*ListHandshakesForOrganizationOutput) SetNextToken Uses

func (s *ListHandshakesForOrganizationOutput) SetNextToken(v string) *ListHandshakesForOrganizationOutput

SetNextToken sets the NextToken field's value.

func (ListHandshakesForOrganizationOutput) String Uses

func (s ListHandshakesForOrganizationOutput) String() string

String returns the string representation

type ListOrganizationalUnitsForParentInput Uses

type ListOrganizationalUnitsForParentInput struct {

    // The total number of results that you want included on each page of the response.
    // If you do not include this parameter, it defaults to a value that is specific
    // to the operation. If additional items exist beyond the maximum you specify,
    // the NextToken response element is present and has a value (is not null).
    // Include that value as the NextToken request parameter in the next call to
    // the operation to get the next part of the results. Note that Organizations
    // might return fewer results than the maximum even when there are more results
    // available. You should check NextToken after every operation to ensure that
    // you receive all of the results.
    MaxResults *int64 `min:"1" type:"integer"`

    // The parameter for receiving additional results if you receive a NextToken
    // response in a previous request. A NextToken response indicates that more
    // output is available. Set this parameter to the value of the previous call's
    // NextToken response to indicate where the output should continue from.
    NextToken *string `type:"string"`

    // The unique identifier (ID) of the root or OU whose child OUs you want to
    // list.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for a parent ID string
    // requires one of the following:
    //
    //    * Root - A string that begins with "r-" followed by from 4 to 32 lowercase
    //    letters or digits.
    //
    //    * Organizational unit (OU) - A string that begins with "ou-" followed
    //    by from 4 to 32 lowercase letters or digits (the ID of the root that the
    //    OU is in). This string is followed by a second "-" dash and from 8 to
    //    32 additional lowercase letters or digits.
    //
    // ParentId is a required field
    ParentId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListOrganizationalUnitsForParentInput) GoString Uses

func (s ListOrganizationalUnitsForParentInput) GoString() string

GoString returns the string representation

func (*ListOrganizationalUnitsForParentInput) SetMaxResults Uses

func (s *ListOrganizationalUnitsForParentInput) SetMaxResults(v int64) *ListOrganizationalUnitsForParentInput

SetMaxResults sets the MaxResults field's value.

func (*ListOrganizationalUnitsForParentInput) SetNextToken Uses

func (s *ListOrganizationalUnitsForParentInput) SetNextToken(v string) *ListOrganizationalUnitsForParentInput

SetNextToken sets the NextToken field's value.

func (*ListOrganizationalUnitsForParentInput) SetParentId Uses

func (s *ListOrganizationalUnitsForParentInput) SetParentId(v string) *ListOrganizationalUnitsForParentInput

SetParentId sets the ParentId field's value.

func (ListOrganizationalUnitsForParentInput) String Uses

func (s ListOrganizationalUnitsForParentInput) String() string

String returns the string representation

func (*ListOrganizationalUnitsForParentInput) Validate Uses

func (s *ListOrganizationalUnitsForParentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListOrganizationalUnitsForParentOutput Uses

type ListOrganizationalUnitsForParentOutput struct {

    // If present, indicates that more output is available than is included in the
    // current response. Use this value in the NextToken request parameter in a
    // subsequent call to the operation to get the next part of the output. You
    // should repeat this until the NextToken response element comes back as null.
    NextToken *string `type:"string"`

    // A list of the OUs in the specified root or parent OU.
    OrganizationalUnits []*OrganizationalUnit `type:"list"`
    // contains filtered or unexported fields
}

func (ListOrganizationalUnitsForParentOutput) GoString Uses

func (s ListOrganizationalUnitsForParentOutput) GoString() string

GoString returns the string representation

func (*ListOrganizationalUnitsForParentOutput) SetNextToken Uses

func (s *ListOrganizationalUnitsForParentOutput) SetNextToken(v string) *ListOrganizationalUnitsForParentOutput

SetNextToken sets the NextToken field's value.

func (*ListOrganizationalUnitsForParentOutput) SetOrganizationalUnits Uses

func (s *ListOrganizationalUnitsForParentOutput) SetOrganizationalUnits(v []*OrganizationalUnit) *ListOrganizationalUnitsForParentOutput

SetOrganizationalUnits sets the OrganizationalUnits field's value.

func (ListOrganizationalUnitsForParentOutput) String Uses

func (s ListOrganizationalUnitsForParentOutput) String() string

String returns the string representation

type ListParentsInput Uses

type ListParentsInput struct {

    // The unique identifier (ID) of the OU or account whose parent containers you
    // want to list. Don't specify a root.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for a child ID string
    // requires one of the following:
    //
    //    * Account - A string that consists of exactly 12 digits.
    //
    //    * Organizational unit (OU) - A string that begins with "ou-" followed
    //    by from 4 to 32 lowercase letters or digits (the ID of the root that contains
    //    the OU). This string is followed by a second "-" dash and from 8 to 32
    //    additional lowercase letters or digits.
    //
    // ChildId is a required field
    ChildId *string `type:"string" required:"true"`

    // The total number of results that you want included on each page of the response.
    // If you do not include this parameter, it defaults to a value that is specific
    // to the operation. If additional items exist beyond the maximum you specify,
    // the NextToken response element is present and has a value (is not null).
    // Include that value as the NextToken request parameter in the next call to
    // the operation to get the next part of the results. Note that Organizations
    // might return fewer results than the maximum even when there are more results
    // available. You should check NextToken after every operation to ensure that
    // you receive all of the results.
    MaxResults *int64 `min:"1" type:"integer"`

    // The parameter for receiving additional results if you receive a NextToken
    // response in a previous request. A NextToken response indicates that more
    // output is available. Set this parameter to the value of the previous call's
    // NextToken response to indicate where the output should continue from.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListParentsInput) GoString Uses

func (s ListParentsInput) GoString() string

GoString returns the string representation

func (*ListParentsInput) SetChildId Uses

func (s *ListParentsInput) SetChildId(v string) *ListParentsInput

SetChildId sets the ChildId field's value.

func (*ListParentsInput) SetMaxResults Uses

func (s *ListParentsInput) SetMaxResults(v int64) *ListParentsInput

SetMaxResults sets the MaxResults field's value.

func (*ListParentsInput) SetNextToken Uses

func (s *ListParentsInput) SetNextToken(v string) *ListParentsInput

SetNextToken sets the NextToken field's value.

func (ListParentsInput) String Uses

func (s ListParentsInput) String() string

String returns the string representation

func (*ListParentsInput) Validate Uses

func (s *ListParentsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListParentsOutput Uses

type ListParentsOutput struct {

    // If present, indicates that more output is available than is included in the
    // current response. Use this value in the NextToken request parameter in a
    // subsequent call to the operation to get the next part of the output. You
    // should repeat this until the NextToken response element comes back as null.
    NextToken *string `type:"string"`

    // A list of parents for the specified child account or OU.
    Parents []*Parent `type:"list"`
    // contains filtered or unexported fields
}

func (ListParentsOutput) GoString Uses

func (s ListParentsOutput) GoString() string

GoString returns the string representation

func (*ListParentsOutput) SetNextToken Uses

func (s *ListParentsOutput) SetNextToken(v string) *ListParentsOutput

SetNextToken sets the NextToken field's value.

func (*ListParentsOutput) SetParents Uses

func (s *ListParentsOutput) SetParents(v []*Parent) *ListParentsOutput

SetParents sets the Parents field's value.

func (ListParentsOutput) String Uses

func (s ListParentsOutput) String() string

String returns the string representation

type ListPoliciesForTargetInput Uses

type ListPoliciesForTargetInput struct {

    // The type of policy that you want to include in the returned list. You must
    // specify one of the following values:
    //
    //    * AISERVICES_OPT_OUT_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html)
    //
    //    * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html)
    //
    //    * SERVICE_CONTROL_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html)
    //
    //    * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html)
    //
    // Filter is a required field
    Filter *string `type:"string" required:"true" enum:"PolicyType"`

    // The total number of results that you want included on each page of the response.
    // If you do not include this parameter, it defaults to a value that is specific
    // to the operation. If additional items exist beyond the maximum you specify,
    // the NextToken response element is present and has a value (is not null).
    // Include that value as the NextToken request parameter in the next call to
    // the operation to get the next part of the results. Note that Organizations
    // might return fewer results than the maximum even when there are more results
    // available. You should check NextToken after every operation to ensure that
    // you receive all of the results.
    MaxResults *int64 `min:"1" type:"integer"`

    // The parameter for receiving additional results if you receive a NextToken
    // response in a previous request. A NextToken response indicates that more
    // output is available. Set this parameter to the value of the previous call's
    // NextToken response to indicate where the output should continue from.
    NextToken *string `type:"string"`

    // The unique identifier (ID) of the root, organizational unit, or account whose
    // policies you want to list.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) for a target ID string
    // requires one of the following:
    //
    //    * Root - A string that begins with "r-" followed by from 4 to 32 lowercase
    //    letters or digits.
    //
    //    * Account - A string that consists of exactly 12 digits.
    //
    //    * Organizational unit (OU) - A string that begins with "ou-" followed
    //    by from 4 to 32 lowercase letters or digits (the ID of the root that the
    //    OU is in). This string is followed by a second "-" dash and from 8 to
    //    32 additional lowercase letters or digits.
    //
    // TargetId is a required field
    TargetId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListPoliciesForTargetInput) GoString Uses

func (s ListPoliciesForTargetInput) GoString() string

GoString returns the string representation

func (*ListPoliciesForTargetInput) SetFilter Uses

func (s *ListPoliciesForTargetInput) SetFilter(v string) *ListPoliciesForTargetInput

SetFilter sets the Filter field's value.

func (*ListPoliciesForTargetInput) SetMaxResults Uses

func (s *ListPoliciesForTargetInput) SetMaxResults(v int64) *ListPoliciesForTargetInput

SetMaxResults sets the MaxResults field's value.

func (*ListPoliciesForTargetInput) SetNextToken Uses

func (s *ListPoliciesForTargetInput) SetNextToken(v string) *ListPoliciesForTargetInput

SetNextToken sets the NextToken field's value.

func (*ListPoliciesForTargetInput) SetTargetId Uses

func (s *ListPoliciesForTargetInput) SetTargetId(v string) *ListPoliciesForTargetInput

SetTargetId sets the TargetId field's value.

func (ListPoliciesForTargetInput) String Uses

func (s ListPoliciesForTargetInput) String() string

String returns the string representation

func (*ListPoliciesForTargetInput) Validate Uses

func (s *ListPoliciesForTargetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListPoliciesForTargetOutput Uses

type ListPoliciesForTargetOutput struct {

    // If present, indicates that more output is available than is included in the
    // current response. Use this value in the NextToken request parameter in a
    // subsequent call to the operation to get the next part of the output. You
    // should repeat this until the NextToken response element comes back as null.
    NextToken *string `type:"string"`

    // The list of policies that match the criteria in the request.
    Policies []*PolicySummary `type:"list"`
    // contains filtered or unexported fields
}

func (ListPoliciesForTargetOutput) GoString Uses

func (s ListPoliciesForTargetOutput) GoString() string

GoString returns the string representation

func (*ListPoliciesForTargetOutput) SetNextToken Uses

func (s *ListPoliciesForTargetOutput) SetNextToken(v string) *ListPoliciesForTargetOutput

SetNextToken sets the NextToken field's value.

func (*ListPoliciesForTargetOutput) SetPolicies Uses

func (s *ListPoliciesForTargetOutput) SetPolicies(v []*PolicySummary) *ListPoliciesForTargetOutput

SetPolicies sets the Policies field's value.

func (ListPoliciesForTargetOutput) String Uses

func (s ListPoliciesForTargetOutput) String() string

String returns the string representation

type ListPoliciesInput Uses

type ListPoliciesInput struct {

    // Specifies the type of policy that you want to include in the response. You
    // must specify one of the following values:
    //
    //    * AISERVICES_OPT_OUT_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html)
    //
    //    * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html)
    //
    //    * SERVICE_CONTROL_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html)
    //
    //    * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html)
    //
    // Filter is a required field
    Filter *string `type:"string" required:"true" enum:"PolicyType"`

    // The total number of results that you want included on each page of the response.
    // If you do not include this parameter, it defaults to a value that is specific
    // to the operation. If additional items exist beyond the maximum you specify,
    // the NextToken response element is present and has a value (is not null).
    // Include that value as the NextToken request parameter in the next call to
    // the operation to get the next part of the results. Note that Organizations
    // might return fewer results than the maximum even when there are more results
    // available. You should check NextToken after every operation to ensure that
    // you receive all of the results.
    MaxResults *int64 `min:"1" type:"integer"`

    // The parameter for receiving additional results if you receive a NextToken
    // response in a previous request. A NextToken response indicates that more
    // output is available. Set this parameter to the value of the previous call's
    // NextToken response to indicate where the output should continue from.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListPoliciesInput) GoString Uses

func (s ListPoliciesInput) GoString() string

GoString returns the string representation

func (*ListPoliciesInput) SetFilter Uses

func (s *ListPoliciesInput) SetFilter(v string) *ListPoliciesInput

SetFilter sets the Filter field's value.

func (*ListPoliciesInput) SetMaxResults Uses

func (s *ListPoliciesInput) SetMaxResults(v int64) *ListPoliciesInput

SetMaxResults sets the MaxResults field's value.

func (*ListPoliciesInput) SetNextToken Uses

func (s *ListPoliciesInput) SetNextToken(v string) *ListPoliciesInput

SetNextToken sets the NextToken field's value.

func (ListPoliciesInput) String Uses

func (s ListPoliciesInput) String() string

String returns the string representation

func (*ListPoliciesInput) Validate Uses

func (s *ListPoliciesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListPoliciesOutput Uses

type ListPoliciesOutput struct {

    // If present, indicates that more output is available than is included in the
    // current response. Use this value in the NextToken request parameter in a
    // subsequent call to the operation to get the next part of the output. You
    // should repeat this until the NextToken response element comes back as null.
    NextToken *string `type:"string"`

    // A list of policies that match the filter criteria in the request. The output
    // list doesn't include the policy contents. To see the content for a policy,
    // see DescribePolicy.
    Policies []*PolicySummary `type:"list"`
    // contains filtered or unexported fields
}

func (ListPoliciesOutput) GoString Uses

func (s ListPoliciesOutput) GoString() string

GoString returns the string representation

func (*ListPoliciesOutput) SetNextToken