amazonka-organizations-1.6.0: Amazon Organizations SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Organizations.Types

Contents

Description

 

Synopsis

Service Configuration

organizations :: Service Source #

API version 2016-11-28 of the Amazon Organizations SDK configuration.

Errors

_PolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

We can't find a policy with the PolicyId that you specified.

_PolicyTypeAlreadyEnabledException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified policy type is already enabled in the specified root.

_HandshakeConstraintViolationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

  • ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number of accounts in an organization. Note : deleted and closed accounts still count toward your limit.

Important: If you get an exception that indicates that you exceeded your account limits for the organization or that you can"t add an account because your organization is still initializing, please contact AWS Customer Support .

  • HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of handshakes you can send in one day.
  • ALREADY_IN_AN_ORGANIZATION: The handshake request is invalid because the invited account is already a member of an organization.
  • ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid because the organization has already enabled all features.
  • INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: You cannot issue new invitations to join an organization while it is 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.
  • PAYMENT_INSTRUMENT_REQUIRED: You cannot complete the operation with an account that does not have a payment instrument, such as a credit card, associated with it.
  • 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.

_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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 in the IAM User Guide .

_MalformedPolicyDocumentException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The provided policy document does not 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 in the AWS Organizations User Guide .

_RootNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

We can't find a root with the RootId that you specified.

_MasterCannotLeaveOrganizationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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.

_AccountNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

We can't find an AWS account with the AccountId that you specified, or the account whose credentials you used to make this request is not a member of an organization.

_DuplicatePolicyException :: AsError a => Getting (First ServiceError) a ServiceError Source #

A policy with the same name already exists.

_ConstraintViolationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Performing this operation violates a minimum or maximum value limit. For example, attempting to removing the last 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:

  • 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 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.

Note : deleted and closed accounts still count toward your limit.

Important: If you get an exception that indicates that you exceeded your account limits for the organization or that you can"t add an account because your organization is still initializing, please contact AWS Customer Support .

  • HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of handshakes you can send in one day.
  • OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of organizational units you can have in an organization.
  • OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an organizational unit tree that is too many levels deep.
  • POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of policies that you can have in an organization.
  • 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.
  • 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.
  • ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account from the organization that does not yet have enough information to exist as a stand-alone account. This account requires you to first agree to the AWS Customer Agreement. Follow the steps at To leave an organization when all required account information has not yet been provided in the AWS Organizations User Guide .
  • ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove an account from the organization that does not yet have enough information to exist as a stand-alone account. This account requires you to first complete phone verification. Follow the steps at To leave an organization when all required account information has not yet been provided in the AWS Organizations User Guide .
  • MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization with this account, you first must associate a 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 in the AWS Organizations User Guide .
  • MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation with this member account, you first must associate a 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 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.
  • 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_CONTACT_INFO: To complete this operation, you must first provide contact a valid address and phone number for the master account. Then try the operation again.

_FinalizingOrganizationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

AWS Organizations could not finalize the creation of your organization. Try again later. If this persists, contact AWS customer support.

_HandshakeNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_PolicyTypeNotAvailableForOrganizationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

You can't use the specified policy type with the feature set currently enabled for this organization. For example, you can enable service control policies (SCPs) only after you enable all features in the organization. For more information, see Enabling and Disabling a Policy Type on a Root in the AWS Organizations User Guide .

_ChildNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_OrganizationalUnitNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

We can't find an organizational unit (OU) with the OrganizationalUnitId that you specified.

_DestinationParentNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_OrganizationNotEmptyException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The organization isn't empty. To delete an organization, you must first remove all accounts except the master account, delete all organizational units (OUs), and delete all policies.

_PolicyTypeNotEnabledException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified policy type is not currently enabled in this root. You cannot 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 in the AWS Organizations User Guide .

_DuplicateHandshakeException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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.

_OrganizationalUnitNotEmptyException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified organizational unit (OU) is not empty. Move all accounts to another root or to other OUs, remove all child OUs, and then try the operation again.

_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

You've sent too many requests in too short a period of time. The limit helps protect against denial-of-service attacks. Try again later.

_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_ServiceException :: AsError a => Getting (First ServiceError) a ServiceError Source #

AWS Organizations can't complete your request because of an internal service error. Try again later.

_SourceParentNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

We can't find a source root or OU with the ParentId that you specified.

_TargetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

We can't find a root, OU, or account with the TargetId that you specified.

_CreateAccountStatusNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_AlreadyInOrganizationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_DuplicateOrganizationalUnitException :: AsError a => Getting (First ServiceError) a ServiceError Source #

An organizational unit (OU) with the same name already exists.

_InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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:

  • IMMUTABLE_POLICY: You specified a policy that is managed by AWS and cannot be modified.
  • INPUT_REQUIRED: You must include a value for all required parameters.
  • INVALID_ENUM: You specified a value that is not valid for that parameter.
  • 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_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, organization, or email) as a party.
  • INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter from the response to a previous call of the operation.
  • 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 is not valid. A role name can’t begin with the reserved prefix AWSServiceRoleFor.
  • INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid ARN for the organization.
  • INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID.
  • 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.

_PolicyNotAttachedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The policy isn't attached to the specified target in the specified root.

_ParentNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_AccessDeniedForDependencyException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The operation you attempted requires you to have the iam:CreateServiceLinkedRole so that Organizations can create the required service-linked role. You do not have that permission.

_AWSOrganizationsNotInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_PolicyInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The policy is attached to one or more entities. You must detach it from all roots, organizational units (OUs), and accounts before performing this operation.

_InvalidHandshakeTransitionException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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.

_HandshakeAlreadyInStateException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_DuplicateAccountException :: AsError a => Getting (First ServiceError) a ServiceError Source #

That account is already present in the specified destination.

_DuplicatePolicyAttachmentException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The selected policy is already attached to the specified target.

AccountJoinedMethod

data AccountJoinedMethod Source #

Constructors

Created 
Invited 

Instances

Bounded AccountJoinedMethod Source # 
Enum AccountJoinedMethod Source # 
Eq AccountJoinedMethod Source # 
Data AccountJoinedMethod Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AccountJoinedMethod -> c AccountJoinedMethod #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AccountJoinedMethod #

toConstr :: AccountJoinedMethod -> Constr #

dataTypeOf :: AccountJoinedMethod -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AccountJoinedMethod) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AccountJoinedMethod) #

gmapT :: (forall b. Data b => b -> b) -> AccountJoinedMethod -> AccountJoinedMethod #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AccountJoinedMethod -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AccountJoinedMethod -> r #

gmapQ :: (forall d. Data d => d -> u) -> AccountJoinedMethod -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AccountJoinedMethod -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AccountJoinedMethod -> m AccountJoinedMethod #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AccountJoinedMethod -> m AccountJoinedMethod #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AccountJoinedMethod -> m AccountJoinedMethod #

Ord AccountJoinedMethod Source # 
Read AccountJoinedMethod Source # 
Show AccountJoinedMethod Source # 
Generic AccountJoinedMethod Source # 
Hashable AccountJoinedMethod Source # 
FromJSON AccountJoinedMethod Source # 
NFData AccountJoinedMethod Source # 

Methods

rnf :: AccountJoinedMethod -> () #

ToHeader AccountJoinedMethod Source # 
ToQuery AccountJoinedMethod Source # 
ToByteString AccountJoinedMethod Source # 
FromText AccountJoinedMethod Source # 
ToText AccountJoinedMethod Source # 
type Rep AccountJoinedMethod Source # 
type Rep AccountJoinedMethod = D1 * (MetaData "AccountJoinedMethod" "Network.AWS.Organizations.Types.Sum" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) ((:+:) * (C1 * (MetaCons "Created" PrefixI False) (U1 *)) (C1 * (MetaCons "Invited" PrefixI False) (U1 *)))

AccountStatus

data AccountStatus Source #

Constructors

Active 
Suspended 

Instances

Bounded AccountStatus Source # 
Enum AccountStatus Source # 
Eq AccountStatus Source # 
Data AccountStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AccountStatus -> c AccountStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AccountStatus #

toConstr :: AccountStatus -> Constr #

dataTypeOf :: AccountStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AccountStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AccountStatus) #

gmapT :: (forall b. Data b => b -> b) -> AccountStatus -> AccountStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AccountStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AccountStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> AccountStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AccountStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AccountStatus -> m AccountStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AccountStatus -> m AccountStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AccountStatus -> m AccountStatus #

Ord AccountStatus Source # 
Read AccountStatus Source # 
Show AccountStatus Source # 
Generic AccountStatus Source # 

Associated Types

type Rep AccountStatus :: * -> * #

Hashable AccountStatus Source # 
FromJSON AccountStatus Source # 
NFData AccountStatus Source # 

Methods

rnf :: AccountStatus -> () #

ToHeader AccountStatus Source # 
ToQuery AccountStatus Source # 
ToByteString AccountStatus Source # 
FromText AccountStatus Source # 
ToText AccountStatus Source # 

Methods

toText :: AccountStatus -> Text #

type Rep AccountStatus Source # 
type Rep AccountStatus = D1 * (MetaData "AccountStatus" "Network.AWS.Organizations.Types.Sum" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) ((:+:) * (C1 * (MetaCons "Active" PrefixI False) (U1 *)) (C1 * (MetaCons "Suspended" PrefixI False) (U1 *)))

ActionType

data ActionType Source #

Instances

Bounded ActionType Source # 
Enum ActionType Source # 
Eq ActionType Source # 
Data ActionType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ActionType -> c ActionType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ActionType #

toConstr :: ActionType -> Constr #

dataTypeOf :: ActionType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ActionType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ActionType) #

gmapT :: (forall b. Data b => b -> b) -> ActionType -> ActionType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ActionType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ActionType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ActionType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ActionType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ActionType -> m ActionType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ActionType -> m ActionType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ActionType -> m ActionType #

Ord ActionType Source # 
Read ActionType Source # 
Show ActionType Source # 
Generic ActionType Source # 

Associated Types

type Rep ActionType :: * -> * #

Hashable ActionType Source # 
ToJSON ActionType Source # 
FromJSON ActionType Source # 
NFData ActionType Source # 

Methods

rnf :: ActionType -> () #

ToHeader ActionType Source # 
ToQuery ActionType Source # 
ToByteString ActionType Source # 
FromText ActionType Source # 
ToText ActionType Source # 

Methods

toText :: ActionType -> Text #

type Rep ActionType Source # 
type Rep ActionType = D1 * (MetaData "ActionType" "Network.AWS.Organizations.Types.Sum" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) ((:+:) * ((:+:) * (C1 * (MetaCons "AddOrganizationsServiceLinkedRole" PrefixI False) (U1 *)) (C1 * (MetaCons "ApproveAllFeatures" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "EnableAllFeatures" PrefixI False) (U1 *)) (C1 * (MetaCons "Invite" PrefixI False) (U1 *))))

ChildType

data ChildType Source #

Instances

Bounded ChildType Source # 
Enum ChildType Source # 
Eq ChildType Source # 
Data ChildType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ChildType -> c ChildType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ChildType #

toConstr :: ChildType -> Constr #

dataTypeOf :: ChildType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ChildType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ChildType) #

gmapT :: (forall b. Data b => b -> b) -> ChildType -> ChildType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ChildType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ChildType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ChildType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ChildType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ChildType -> m ChildType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ChildType -> m ChildType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ChildType -> m ChildType #

Ord ChildType Source # 
Read ChildType Source # 
Show ChildType Source # 
Generic ChildType Source # 

Associated Types

type Rep ChildType :: * -> * #

Hashable ChildType Source # 
ToJSON ChildType Source # 
FromJSON ChildType Source # 
NFData ChildType Source # 

Methods

rnf :: ChildType -> () #

ToHeader ChildType Source # 
ToQuery ChildType Source # 
ToByteString ChildType Source # 

Methods

toBS :: ChildType -> ByteString #

FromText ChildType Source # 
ToText ChildType Source # 

Methods

toText :: ChildType -> Text #

type Rep ChildType Source # 
type Rep ChildType = D1 * (MetaData "ChildType" "Network.AWS.Organizations.Types.Sum" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) ((:+:) * (C1 * (MetaCons "CTAccount" PrefixI False) (U1 *)) (C1 * (MetaCons "CTOrganizationalUnit" PrefixI False) (U1 *)))

CreateAccountFailureReason

data CreateAccountFailureReason Source #

Instances

Bounded CreateAccountFailureReason Source # 
Enum CreateAccountFailureReason Source # 
Eq CreateAccountFailureReason Source # 
Data CreateAccountFailureReason Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateAccountFailureReason -> c CreateAccountFailureReason #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateAccountFailureReason #

toConstr :: CreateAccountFailureReason -> Constr #

dataTypeOf :: CreateAccountFailureReason -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateAccountFailureReason) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateAccountFailureReason) #

gmapT :: (forall b. Data b => b -> b) -> CreateAccountFailureReason -> CreateAccountFailureReason #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateAccountFailureReason -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateAccountFailureReason -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateAccountFailureReason -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateAccountFailureReason -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateAccountFailureReason -> m CreateAccountFailureReason #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateAccountFailureReason -> m CreateAccountFailureReason #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateAccountFailureReason -> m CreateAccountFailureReason #

Ord CreateAccountFailureReason Source # 
Read CreateAccountFailureReason Source # 
Show CreateAccountFailureReason Source # 
Generic CreateAccountFailureReason Source # 
Hashable CreateAccountFailureReason Source # 
FromJSON CreateAccountFailureReason Source # 
NFData CreateAccountFailureReason Source # 
ToHeader CreateAccountFailureReason Source # 
ToQuery CreateAccountFailureReason Source # 
ToByteString CreateAccountFailureReason Source # 
FromText CreateAccountFailureReason Source # 
ToText CreateAccountFailureReason Source # 
type Rep CreateAccountFailureReason Source # 
type Rep CreateAccountFailureReason = D1 * (MetaData "CreateAccountFailureReason" "Network.AWS.Organizations.Types.Sum" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) ((:+:) * ((:+:) * (C1 * (MetaCons "AccountLimitExceeded" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "ConcurrentAccountModification" PrefixI False) (U1 *)) (C1 * (MetaCons "EmailAlreadyExists" PrefixI False) (U1 *)))) ((:+:) * (C1 * (MetaCons "InternalFailure" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "InvalidAddress" PrefixI False) (U1 *)) (C1 * (MetaCons "InvalidEmail" PrefixI False) (U1 *)))))

CreateAccountState

data CreateAccountState Source #

Constructors

Failed 
InProgress 
Succeeded 

Instances

Bounded CreateAccountState Source # 
Enum CreateAccountState Source # 
Eq CreateAccountState Source # 
Data CreateAccountState Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateAccountState -> c CreateAccountState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateAccountState #

toConstr :: CreateAccountState -> Constr #

dataTypeOf :: CreateAccountState -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateAccountState) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateAccountState) #

gmapT :: (forall b. Data b => b -> b) -> CreateAccountState -> CreateAccountState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateAccountState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateAccountState -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateAccountState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateAccountState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateAccountState -> m CreateAccountState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateAccountState -> m CreateAccountState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateAccountState -> m CreateAccountState #

Ord CreateAccountState Source # 
Read CreateAccountState Source # 
Show CreateAccountState Source # 
Generic CreateAccountState Source # 
Hashable CreateAccountState Source # 
ToJSON CreateAccountState Source # 
FromJSON CreateAccountState Source # 
NFData CreateAccountState Source # 

Methods

rnf :: CreateAccountState -> () #

ToHeader CreateAccountState Source # 
ToQuery CreateAccountState Source # 
ToByteString CreateAccountState Source # 
FromText CreateAccountState Source # 
ToText CreateAccountState Source # 
type Rep CreateAccountState Source # 
type Rep CreateAccountState = D1 * (MetaData "CreateAccountState" "Network.AWS.Organizations.Types.Sum" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) ((:+:) * (C1 * (MetaCons "Failed" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "InProgress" PrefixI False) (U1 *)) (C1 * (MetaCons "Succeeded" PrefixI False) (U1 *))))

HandshakePartyType

data HandshakePartyType Source #

Instances

Bounded HandshakePartyType Source # 
Enum HandshakePartyType Source # 
Eq HandshakePartyType Source # 
Data HandshakePartyType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HandshakePartyType -> c HandshakePartyType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HandshakePartyType #

toConstr :: HandshakePartyType -> Constr #

dataTypeOf :: HandshakePartyType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HandshakePartyType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HandshakePartyType) #

gmapT :: (forall b. Data b => b -> b) -> HandshakePartyType -> HandshakePartyType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HandshakePartyType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HandshakePartyType -> r #

gmapQ :: (forall d. Data d => d -> u) -> HandshakePartyType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HandshakePartyType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HandshakePartyType -> m HandshakePartyType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HandshakePartyType -> m HandshakePartyType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HandshakePartyType -> m HandshakePartyType #

Ord HandshakePartyType Source # 
Read HandshakePartyType Source # 
Show HandshakePartyType Source # 
Generic HandshakePartyType Source # 
Hashable HandshakePartyType Source # 
ToJSON HandshakePartyType Source # 
FromJSON HandshakePartyType Source # 
NFData HandshakePartyType Source # 

Methods

rnf :: HandshakePartyType -> () #

ToHeader HandshakePartyType Source # 
ToQuery HandshakePartyType Source # 
ToByteString HandshakePartyType Source # 
FromText HandshakePartyType Source # 
ToText HandshakePartyType Source # 
type Rep HandshakePartyType Source # 
type Rep HandshakePartyType = D1 * (MetaData "HandshakePartyType" "Network.AWS.Organizations.Types.Sum" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) ((:+:) * (C1 * (MetaCons "HPTAccount" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "HPTEmail" PrefixI False) (U1 *)) (C1 * (MetaCons "HPTOrganization" PrefixI False) (U1 *))))

HandshakeResourceType

data HandshakeResourceType Source #

Instances

Bounded HandshakeResourceType Source # 
Enum HandshakeResourceType Source # 
Eq HandshakeResourceType Source # 
Data HandshakeResourceType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HandshakeResourceType -> c HandshakeResourceType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HandshakeResourceType #

toConstr :: HandshakeResourceType -> Constr #

dataTypeOf :: HandshakeResourceType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HandshakeResourceType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HandshakeResourceType) #

gmapT :: (forall b. Data b => b -> b) -> HandshakeResourceType -> HandshakeResourceType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HandshakeResourceType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HandshakeResourceType -> r #

gmapQ :: (forall d. Data d => d -> u) -> HandshakeResourceType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HandshakeResourceType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HandshakeResourceType -> m HandshakeResourceType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HandshakeResourceType -> m HandshakeResourceType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HandshakeResourceType -> m HandshakeResourceType #

Ord HandshakeResourceType Source # 
Read HandshakeResourceType Source # 
Show HandshakeResourceType Source # 
Generic HandshakeResourceType Source # 
Hashable HandshakeResourceType Source # 
FromJSON HandshakeResourceType Source # 
NFData HandshakeResourceType Source # 

Methods

rnf :: HandshakeResourceType -> () #

ToHeader HandshakeResourceType Source # 
ToQuery HandshakeResourceType Source # 
ToByteString HandshakeResourceType Source # 
FromText HandshakeResourceType Source # 
ToText HandshakeResourceType Source # 
type Rep HandshakeResourceType Source # 
type Rep HandshakeResourceType = D1 * (MetaData "HandshakeResourceType" "Network.AWS.Organizations.Types.Sum" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) ((:+:) * ((:+:) * ((:+:) * (C1 * (MetaCons "Account" PrefixI False) (U1 *)) (C1 * (MetaCons "Email" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "MasterEmail" PrefixI False) (U1 *)) (C1 * (MetaCons "MasterName" PrefixI False) (U1 *)))) ((:+:) * ((:+:) * (C1 * (MetaCons "Notes" PrefixI False) (U1 *)) (C1 * (MetaCons "Organization" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "OrganizationFeatureSet" PrefixI False) (U1 *)) (C1 * (MetaCons "ParentHandshake" PrefixI False) (U1 *)))))

HandshakeState

data HandshakeState Source #

Instances

Bounded HandshakeState Source # 
Enum HandshakeState Source # 
Eq HandshakeState Source # 
Data HandshakeState Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HandshakeState -> c HandshakeState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HandshakeState #

toConstr :: HandshakeState -> Constr #

dataTypeOf :: HandshakeState -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HandshakeState) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HandshakeState) #

gmapT :: (forall b. Data b => b -> b) -> HandshakeState -> HandshakeState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HandshakeState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HandshakeState -> r #

gmapQ :: (forall d. Data d => d -> u) -> HandshakeState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HandshakeState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HandshakeState -> m HandshakeState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HandshakeState -> m HandshakeState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HandshakeState -> m HandshakeState #

Ord HandshakeState Source # 
Read HandshakeState Source # 
Show HandshakeState Source # 
Generic HandshakeState Source # 

Associated Types

type Rep HandshakeState :: * -> * #

Hashable HandshakeState Source # 
FromJSON HandshakeState Source # 
NFData HandshakeState Source # 

Methods

rnf :: HandshakeState -> () #

ToHeader HandshakeState Source # 
ToQuery HandshakeState Source # 
ToByteString HandshakeState Source # 
FromText HandshakeState Source # 
ToText HandshakeState Source # 
type Rep HandshakeState Source # 
type Rep HandshakeState = D1 * (MetaData "HandshakeState" "Network.AWS.Organizations.Types.Sum" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) ((:+:) * ((:+:) * (C1 * (MetaCons "Accepted" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "Canceled" PrefixI False) (U1 *)) (C1 * (MetaCons "Declined" PrefixI False) (U1 *)))) ((:+:) * (C1 * (MetaCons "Expired" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "Open" PrefixI False) (U1 *)) (C1 * (MetaCons "Requested" PrefixI False) (U1 *)))))

IAMUserAccessToBilling

data IAMUserAccessToBilling Source #

Constructors

Allow 
Deny 

Instances

Bounded IAMUserAccessToBilling Source # 
Enum IAMUserAccessToBilling Source # 
Eq IAMUserAccessToBilling Source # 
Data IAMUserAccessToBilling Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IAMUserAccessToBilling -> c IAMUserAccessToBilling #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IAMUserAccessToBilling #

toConstr :: IAMUserAccessToBilling -> Constr #

dataTypeOf :: IAMUserAccessToBilling -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c IAMUserAccessToBilling) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IAMUserAccessToBilling) #

gmapT :: (forall b. Data b => b -> b) -> IAMUserAccessToBilling -> IAMUserAccessToBilling #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IAMUserAccessToBilling -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IAMUserAccessToBilling -> r #

gmapQ :: (forall d. Data d => d -> u) -> IAMUserAccessToBilling -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> IAMUserAccessToBilling -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> IAMUserAccessToBilling -> m IAMUserAccessToBilling #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IAMUserAccessToBilling -> m IAMUserAccessToBilling #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IAMUserAccessToBilling -> m IAMUserAccessToBilling #

Ord IAMUserAccessToBilling Source # 
Read IAMUserAccessToBilling Source # 
Show IAMUserAccessToBilling Source # 
Generic IAMUserAccessToBilling Source # 
Hashable IAMUserAccessToBilling Source # 
ToJSON IAMUserAccessToBilling Source # 
NFData IAMUserAccessToBilling Source # 

Methods

rnf :: IAMUserAccessToBilling -> () #

ToHeader IAMUserAccessToBilling Source # 
ToQuery IAMUserAccessToBilling Source # 
ToByteString IAMUserAccessToBilling Source # 
FromText IAMUserAccessToBilling Source # 
ToText IAMUserAccessToBilling Source # 
type Rep IAMUserAccessToBilling Source # 
type Rep IAMUserAccessToBilling = D1 * (MetaData "IAMUserAccessToBilling" "Network.AWS.Organizations.Types.Sum" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) ((:+:) * (C1 * (MetaCons "Allow" PrefixI False) (U1 *)) (C1 * (MetaCons "Deny" PrefixI False) (U1 *)))

OrganizationFeatureSet

data OrganizationFeatureSet Source #

Constructors

All 
ConsolidatedBilling 

Instances

Bounded OrganizationFeatureSet Source # 
Enum OrganizationFeatureSet Source # 
Eq OrganizationFeatureSet Source # 
Data OrganizationFeatureSet Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrganizationFeatureSet -> c OrganizationFeatureSet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrganizationFeatureSet #

toConstr :: OrganizationFeatureSet -> Constr #

dataTypeOf :: OrganizationFeatureSet -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c OrganizationFeatureSet) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrganizationFeatureSet) #

gmapT :: (forall b. Data b => b -> b) -> OrganizationFeatureSet -> OrganizationFeatureSet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrganizationFeatureSet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrganizationFeatureSet -> r #

gmapQ :: (forall d. Data d => d -> u) -> OrganizationFeatureSet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OrganizationFeatureSet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrganizationFeatureSet -> m OrganizationFeatureSet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrganizationFeatureSet -> m OrganizationFeatureSet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrganizationFeatureSet -> m OrganizationFeatureSet #

Ord OrganizationFeatureSet Source # 
Read OrganizationFeatureSet Source # 
Show OrganizationFeatureSet Source # 
Generic OrganizationFeatureSet Source # 
Hashable OrganizationFeatureSet Source # 
ToJSON OrganizationFeatureSet Source # 
FromJSON OrganizationFeatureSet Source # 
NFData OrganizationFeatureSet Source # 

Methods

rnf :: OrganizationFeatureSet -> () #

ToHeader OrganizationFeatureSet Source # 
ToQuery OrganizationFeatureSet Source # 
ToByteString OrganizationFeatureSet Source # 
FromText OrganizationFeatureSet Source # 
ToText OrganizationFeatureSet Source # 
type Rep OrganizationFeatureSet Source # 
type Rep OrganizationFeatureSet = D1 * (MetaData "OrganizationFeatureSet" "Network.AWS.Organizations.Types.Sum" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) ((:+:) * (C1 * (MetaCons "All" PrefixI False) (U1 *)) (C1 * (MetaCons "ConsolidatedBilling" PrefixI False) (U1 *)))

ParentType

data ParentType Source #

Constructors

OrganizationalUnit 
Root 

Instances

Bounded ParentType Source # 
Enum ParentType Source # 
Eq ParentType Source # 
Data ParentType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ParentType -> c ParentType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ParentType #

toConstr :: ParentType -> Constr #

dataTypeOf :: ParentType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ParentType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ParentType) #

gmapT :: (forall b. Data b => b -> b) -> ParentType -> ParentType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ParentType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ParentType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ParentType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ParentType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ParentType -> m ParentType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ParentType -> m ParentType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ParentType -> m ParentType #

Ord ParentType Source # 
Read ParentType Source # 
Show ParentType Source # 
Generic ParentType Source # 

Associated Types

type Rep ParentType :: * -> * #

Hashable ParentType Source # 
FromJSON ParentType Source # 
NFData ParentType Source # 

Methods

rnf :: ParentType -> () #

ToHeader ParentType Source # 
ToQuery ParentType Source # 
ToByteString ParentType Source # 
FromText ParentType Source # 
ToText ParentType Source # 

Methods

toText :: ParentType -> Text #

type Rep ParentType Source # 
type Rep ParentType = D1 * (MetaData "ParentType" "Network.AWS.Organizations.Types.Sum" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) ((:+:) * (C1 * (MetaCons "OrganizationalUnit" PrefixI False) (U1 *)) (C1 * (MetaCons "Root" PrefixI False) (U1 *)))

PolicyType

data PolicyType Source #

Constructors

ServiceControlPolicy 

Instances

Bounded PolicyType Source # 
Enum PolicyType Source # 
Eq PolicyType Source # 
Data PolicyType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PolicyType -> c PolicyType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PolicyType #

toConstr :: PolicyType -> Constr #

dataTypeOf :: PolicyType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PolicyType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PolicyType) #

gmapT :: (forall b. Data b => b -> b) -> PolicyType -> PolicyType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PolicyType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PolicyType -> r #

gmapQ :: (forall d. Data d => d -> u) -> PolicyType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PolicyType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PolicyType -> m PolicyType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyType -> m PolicyType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyType -> m PolicyType #

Ord PolicyType Source # 
Read PolicyType Source # 
Show PolicyType Source # 
Generic PolicyType Source # 

Associated Types

type Rep PolicyType :: * -> * #

Hashable PolicyType Source # 
ToJSON PolicyType Source # 
FromJSON PolicyType Source # 
NFData PolicyType Source # 

Methods

rnf :: PolicyType -> () #

ToHeader PolicyType Source # 
ToQuery PolicyType Source # 
ToByteString PolicyType Source # 
FromText PolicyType Source # 
ToText PolicyType Source # 

Methods

toText :: PolicyType -> Text #

type Rep PolicyType Source # 
type Rep PolicyType = D1 * (MetaData "PolicyType" "Network.AWS.Organizations.Types.Sum" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "ServiceControlPolicy" PrefixI False) (U1 *))

PolicyTypeStatus

data PolicyTypeStatus Source #

Instances

Bounded PolicyTypeStatus Source # 
Enum PolicyTypeStatus Source # 
Eq PolicyTypeStatus Source # 
Data PolicyTypeStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PolicyTypeStatus -> c PolicyTypeStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PolicyTypeStatus #

toConstr :: PolicyTypeStatus -> Constr #

dataTypeOf :: PolicyTypeStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PolicyTypeStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PolicyTypeStatus) #

gmapT :: (forall b. Data b => b -> b) -> PolicyTypeStatus -> PolicyTypeStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PolicyTypeStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PolicyTypeStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> PolicyTypeStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PolicyTypeStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PolicyTypeStatus -> m PolicyTypeStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyTypeStatus -> m PolicyTypeStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyTypeStatus -> m PolicyTypeStatus #

Ord PolicyTypeStatus Source # 
Read PolicyTypeStatus Source # 
Show PolicyTypeStatus Source # 
Generic PolicyTypeStatus Source # 
Hashable PolicyTypeStatus Source # 
FromJSON PolicyTypeStatus Source # 
NFData PolicyTypeStatus Source # 

Methods

rnf :: PolicyTypeStatus -> () #

ToHeader PolicyTypeStatus Source # 
ToQuery PolicyTypeStatus Source # 
ToByteString PolicyTypeStatus Source # 
FromText PolicyTypeStatus Source # 
ToText PolicyTypeStatus Source # 
type Rep PolicyTypeStatus Source # 
type Rep PolicyTypeStatus = D1 * (MetaData "PolicyTypeStatus" "Network.AWS.Organizations.Types.Sum" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) ((:+:) * (C1 * (MetaCons "Enabled" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "PendingDisable" PrefixI False) (U1 *)) (C1 * (MetaCons "PendingEnable" PrefixI False) (U1 *))))

TargetType

data TargetType Source #

Instances

Bounded TargetType Source # 
Enum TargetType Source # 
Eq TargetType Source # 
Data TargetType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TargetType -> c TargetType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TargetType #

toConstr :: TargetType -> Constr #

dataTypeOf :: TargetType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TargetType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TargetType) #

gmapT :: (forall b. Data b => b -> b) -> TargetType -> TargetType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TargetType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TargetType -> r #

gmapQ :: (forall d. Data d => d -> u) -> TargetType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TargetType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TargetType -> m TargetType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TargetType -> m TargetType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TargetType -> m TargetType #

Ord TargetType Source # 
Read TargetType Source # 
Show TargetType Source # 
Generic TargetType Source # 

Associated Types

type Rep TargetType :: * -> * #

Hashable TargetType Source # 
FromJSON TargetType Source # 
NFData TargetType Source # 

Methods

rnf :: TargetType -> () #

ToHeader TargetType Source # 
ToQuery TargetType Source # 
ToByteString TargetType Source # 
FromText TargetType Source # 
ToText TargetType Source # 

Methods

toText :: TargetType -> Text #

type Rep TargetType Source # 
type Rep TargetType = D1 * (MetaData "TargetType" "Network.AWS.Organizations.Types.Sum" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) ((:+:) * (C1 * (MetaCons "TTAccount" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "TTOrganizationalUnit" PrefixI False) (U1 *)) (C1 * (MetaCons "TTRoot" PrefixI False) (U1 *))))

Account

data Account Source #

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

See: account smart constructor.

Instances

Eq Account Source # 

Methods

(==) :: Account -> Account -> Bool #

(/=) :: Account -> Account -> Bool #

Data Account Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Account -> c Account #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Account #

toConstr :: Account -> Constr #

dataTypeOf :: Account -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Account) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Account) #

gmapT :: (forall b. Data b => b -> b) -> Account -> Account #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Account -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Account -> r #

gmapQ :: (forall d. Data d => d -> u) -> Account -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Account -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Account -> m Account #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Account -> m Account #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Account -> m Account #

Show Account Source # 
Generic Account Source # 

Associated Types

type Rep Account :: * -> * #

Methods

from :: Account -> Rep Account x #

to :: Rep Account x -> Account #

Hashable Account Source # 

Methods

hashWithSalt :: Int -> Account -> Int #

hash :: Account -> Int #

FromJSON Account Source # 
NFData Account Source # 

Methods

rnf :: Account -> () #

type Rep Account Source # 

account :: Account Source #

Creates a value of Account with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • aStatus - The status of the account in the organization.
  • aJoinedMethod - The method by which the account joined the organization.
  • aEmail - The email address associated with the AWS account. The regex pattern for this parameter is a string of characters that represents a standard Internet email address.
  • aARN - The Amazon Resource Name (ARN) of the account. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide .
  • aJoinedTimestamp - The date the account became a part of the organization.
  • aName - The friendly name of the account. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
  • aId - The unique identifier (ID) of the account. The regex pattern for an account ID string requires exactly 12 digits.

aStatus :: Lens' Account (Maybe AccountStatus) Source #

The status of the account in the organization.

aJoinedMethod :: Lens' Account (Maybe AccountJoinedMethod) Source #

The method by which the account joined the organization.

aEmail :: Lens' Account (Maybe Text) Source #

The email address associated with the AWS account. The regex pattern for this parameter is a string of characters that represents a standard Internet email address.

aARN :: Lens' Account (Maybe Text) Source #

The Amazon Resource Name (ARN) of the account. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide .

aJoinedTimestamp :: Lens' Account (Maybe UTCTime) Source #

The date the account became a part of the organization.

aName :: Lens' Account (Maybe Text) Source #

The friendly name of the account. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

aId :: Lens' Account (Maybe Text) Source #

The unique identifier (ID) of the account. The regex pattern for an account ID string requires exactly 12 digits.

Child

data Child Source #

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

See: child smart constructor.

Instances

Eq Child Source # 

Methods

(==) :: Child -> Child -> Bool #

(/=) :: Child -> Child -> Bool #

Data Child Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Child -> c Child #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Child #

toConstr :: Child -> Constr #

dataTypeOf :: Child -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Child) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Child) #

gmapT :: (forall b. Data b => b -> b) -> Child -> Child #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Child -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Child -> r #

gmapQ :: (forall d. Data d => d -> u) -> Child -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Child -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Child -> m Child #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Child -> m Child #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Child -> m Child #

Read Child Source # 
Show Child Source # 

Methods

showsPrec :: Int -> Child -> ShowS #

show :: Child -> String #

showList :: [Child] -> ShowS #

Generic Child Source # 

Associated Types

type Rep Child :: * -> * #

Methods

from :: Child -> Rep Child x #

to :: Rep Child x -> Child #

Hashable Child Source # 

Methods

hashWithSalt :: Int -> Child -> Int #

hash :: Child -> Int #

FromJSON Child Source # 
NFData Child Source # 

Methods

rnf :: Child -> () #

type Rep Child Source # 
type Rep Child = D1 * (MetaData "Child" "Network.AWS.Organizations.Types.Product" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "Child'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ChildType)))))

child :: Child Source #

Creates a value of Child with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cId - The unique identifier (ID) of this child entity. The regex pattern 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) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits.
  • cType - The type of this child entity.

cId :: Lens' Child (Maybe Text) Source #

The unique identifier (ID) of this child entity. The regex pattern 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) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits.

cType :: Lens' Child (Maybe ChildType) Source #

The type of this child entity.

CreateAccountStatus

data CreateAccountStatus Source #

Contains the status about a CreateAccount request to create an AWS account in an organization.

See: createAccountStatus smart constructor.

Instances

Eq CreateAccountStatus Source # 
Data CreateAccountStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateAccountStatus -> c CreateAccountStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateAccountStatus #

toConstr :: CreateAccountStatus -> Constr #

dataTypeOf :: CreateAccountStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateAccountStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateAccountStatus) #

gmapT :: (forall b. Data b => b -> b) -> CreateAccountStatus -> CreateAccountStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateAccountStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateAccountStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateAccountStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateAccountStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateAccountStatus -> m CreateAccountStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateAccountStatus -> m CreateAccountStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateAccountStatus -> m CreateAccountStatus #

Show CreateAccountStatus Source # 
Generic CreateAccountStatus Source # 
Hashable CreateAccountStatus Source # 
FromJSON CreateAccountStatus Source # 
NFData CreateAccountStatus Source # 

Methods

rnf :: CreateAccountStatus -> () #

type Rep CreateAccountStatus Source # 
type Rep CreateAccountStatus = D1 * (MetaData "CreateAccountStatus" "Network.AWS.Organizations.Types.Product" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "CreateAccountStatus'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_casFailureReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe CreateAccountFailureReason))) ((:*:) * (S1 * (MetaSel (Just Symbol "_casState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe CreateAccountState))) (S1 * (MetaSel (Just Symbol "_casCompletedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_casAccountName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Sensitive Text)))) (S1 * (MetaSel (Just Symbol "_casAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_casId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_casRequestedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))))))

createAccountStatus :: CreateAccountStatus Source #

Creates a value of CreateAccountStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • casFailureReason - 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. * 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.
  • casState - The status of the request.
  • casCompletedTimestamp - The date and time that the account was created and the request completed.
  • casAccountName - The account name given to the account when it was created.
  • casAccountId - If the account was created successfully, the unique identifier (ID) of the new account. The regex pattern for an account ID string requires exactly 12 digits.
  • casId - 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 for an create account request ID string requires "car-" followed by from 8 to 32 lower-case letters or digits.
  • casRequestedTimestamp - The date and time that the request was made for the account creation.

casFailureReason :: Lens' CreateAccountStatus (Maybe CreateAccountFailureReason) Source #

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. * 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.

casCompletedTimestamp :: Lens' CreateAccountStatus (Maybe UTCTime) Source #

The date and time that the account was created and the request completed.

casAccountName :: Lens' CreateAccountStatus (Maybe Text) Source #

The account name given to the account when it was created.

casAccountId :: Lens' CreateAccountStatus (Maybe Text) Source #

If the account was created successfully, the unique identifier (ID) of the new account. The regex pattern for an account ID string requires exactly 12 digits.

casId :: Lens' CreateAccountStatus (Maybe Text) Source #

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 for an create account request ID string requires "car-" followed by from 8 to 32 lower-case letters or digits.

casRequestedTimestamp :: Lens' CreateAccountStatus (Maybe UTCTime) Source #

The date and time that the request was made for the account creation.

EnabledServicePrincipal

data EnabledServicePrincipal Source #

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

See: enabledServicePrincipal smart constructor.

Instances

Eq EnabledServicePrincipal Source # 
Data EnabledServicePrincipal Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EnabledServicePrincipal -> c EnabledServicePrincipal #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EnabledServicePrincipal #

toConstr :: EnabledServicePrincipal -> Constr #

dataTypeOf :: EnabledServicePrincipal -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c EnabledServicePrincipal) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EnabledServicePrincipal) #

gmapT :: (forall b. Data b => b -> b) -> EnabledServicePrincipal -> EnabledServicePrincipal #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EnabledServicePrincipal -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EnabledServicePrincipal -> r #

gmapQ :: (forall d. Data d => d -> u) -> EnabledServicePrincipal -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EnabledServicePrincipal -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EnabledServicePrincipal -> m EnabledServicePrincipal #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EnabledServicePrincipal -> m EnabledServicePrincipal #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EnabledServicePrincipal -> m EnabledServicePrincipal #

Read EnabledServicePrincipal Source # 
Show EnabledServicePrincipal Source # 
Generic EnabledServicePrincipal Source # 
Hashable EnabledServicePrincipal Source # 
FromJSON EnabledServicePrincipal Source # 
NFData EnabledServicePrincipal Source # 

Methods

rnf :: EnabledServicePrincipal -> () #

type Rep EnabledServicePrincipal Source # 
type Rep EnabledServicePrincipal = D1 * (MetaData "EnabledServicePrincipal" "Network.AWS.Organizations.Types.Product" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "EnabledServicePrincipal'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_espServicePrincipal") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_espDateEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))))

enabledServicePrincipal :: EnabledServicePrincipal Source #

Creates a value of EnabledServicePrincipal with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • espServicePrincipal - The name of the service principal. This is typically in the form of a URL, such as: servicename .amazonaws.com .
  • espDateEnabled - The date that the service principal was enabled for integration with AWS Organizations.

espServicePrincipal :: Lens' EnabledServicePrincipal (Maybe Text) Source #

The name of the service principal. This is typically in the form of a URL, such as: servicename .amazonaws.com .

espDateEnabled :: Lens' EnabledServicePrincipal (Maybe UTCTime) Source #

The date that the service principal was enabled for integration with AWS Organizations.

Handshake

data Handshake Source #

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.

See: handshake smart constructor.

Instances

Eq Handshake Source # 
Data Handshake Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Handshake -> c Handshake #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Handshake #

toConstr :: Handshake -> Constr #

dataTypeOf :: Handshake -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Handshake) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Handshake) #

gmapT :: (forall b. Data b => b -> b) -> Handshake -> Handshake #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Handshake -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Handshake -> r #

gmapQ :: (forall d. Data d => d -> u) -> Handshake -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Handshake -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Handshake -> m Handshake #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Handshake -> m Handshake #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Handshake -> m Handshake #

Show Handshake Source # 
Generic Handshake Source # 

Associated Types

type Rep Handshake :: * -> * #

Hashable Handshake Source # 
FromJSON Handshake Source # 
NFData Handshake Source # 

Methods

rnf :: Handshake -> () #

type Rep Handshake Source # 

handshake :: Handshake Source #

Creates a value of Handshake with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • hState - 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).
  • hARN - The Amazon Resource Name (ARN) of a handshake. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide .
  • hAction - 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.
  • hResources - Additional information that is needed to process the handshake.
  • hId - The unique identifier (ID) of a handshake. The originating account creates the ID when it initiates the handshake. The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.
  • hExpirationTimestamp - 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.
  • hParties - Information about the two accounts that are participating in the handshake.
  • hRequestedTimestamp - The date and time that the handshake request was made.

hState :: Lens' Handshake (Maybe HandshakeState) Source #

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).

hARN :: Lens' Handshake (Maybe Text) Source #

The Amazon Resource Name (ARN) of a handshake. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide .

hAction :: Lens' Handshake (Maybe ActionType) Source #

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.

hResources :: Lens' Handshake [HandshakeResource] Source #

Additional information that is needed to process the handshake.

hId :: Lens' Handshake (Maybe Text) Source #

The unique identifier (ID) of a handshake. The originating account creates the ID when it initiates the handshake. The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.

hExpirationTimestamp :: Lens' Handshake (Maybe UTCTime) Source #

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.

hParties :: Lens' Handshake [HandshakeParty] Source #

Information about the two accounts that are participating in the handshake.

hRequestedTimestamp :: Lens' Handshake (Maybe UTCTime) Source #

The date and time that the handshake request was made.

HandshakeFilter

data HandshakeFilter Source #

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

See: handshakeFilter smart constructor.

Instances

Eq HandshakeFilter Source # 
Data HandshakeFilter Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HandshakeFilter -> c HandshakeFilter #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HandshakeFilter #

toConstr :: HandshakeFilter -> Constr #

dataTypeOf :: HandshakeFilter -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HandshakeFilter) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HandshakeFilter) #

gmapT :: (forall b. Data b => b -> b) -> HandshakeFilter -> HandshakeFilter #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HandshakeFilter -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HandshakeFilter -> r #

gmapQ :: (forall d. Data d => d -> u) -> HandshakeFilter -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HandshakeFilter -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HandshakeFilter -> m HandshakeFilter #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HandshakeFilter -> m HandshakeFilter #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HandshakeFilter -> m HandshakeFilter #

Read HandshakeFilter Source # 
Show HandshakeFilter Source # 
Generic HandshakeFilter Source # 
Hashable HandshakeFilter Source # 
ToJSON HandshakeFilter Source # 
NFData HandshakeFilter Source # 

Methods

rnf :: HandshakeFilter -> () #

type Rep HandshakeFilter Source # 
type Rep HandshakeFilter = D1 * (MetaData "HandshakeFilter" "Network.AWS.Organizations.Types.Product" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "HandshakeFilter'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_hfParentHandshakeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_hfActionType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ActionType)))))

handshakeFilter :: HandshakeFilter Source #

Creates a value of HandshakeFilter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • hfParentHandshakeId - 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 for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.
  • hfActionType - Specifies the type of handshake action. If you specify ActionType , you cannot also specify ParentHandshakeId .

hfParentHandshakeId :: Lens' HandshakeFilter (Maybe Text) Source #

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 for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.

hfActionType :: Lens' HandshakeFilter (Maybe ActionType) Source #

Specifies the type of handshake action. If you specify ActionType , you cannot also specify ParentHandshakeId .

HandshakeParty

data HandshakeParty Source #

Identifies a participant in a handshake.

See: handshakeParty smart constructor.

Instances

Eq HandshakeParty Source # 
Data HandshakeParty Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HandshakeParty -> c HandshakeParty #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HandshakeParty #

toConstr :: HandshakeParty -> Constr #

dataTypeOf :: HandshakeParty -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HandshakeParty) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HandshakeParty) #

gmapT :: (forall b. Data b => b -> b) -> HandshakeParty -> HandshakeParty #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HandshakeParty -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HandshakeParty -> r #

gmapQ :: (forall d. Data d => d -> u) -> HandshakeParty -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HandshakeParty -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HandshakeParty -> m HandshakeParty #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HandshakeParty -> m HandshakeParty #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HandshakeParty -> m HandshakeParty #

Show HandshakeParty Source # 
Generic HandshakeParty Source # 

Associated Types

type Rep HandshakeParty :: * -> * #

Hashable HandshakeParty Source # 
ToJSON HandshakeParty Source # 
FromJSON HandshakeParty Source # 
NFData HandshakeParty Source # 

Methods

rnf :: HandshakeParty -> () #

type Rep HandshakeParty Source # 
type Rep HandshakeParty = D1 * (MetaData "HandshakeParty" "Network.AWS.Organizations.Types.Product" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "HandshakeParty'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_hpId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Sensitive Text))) (S1 * (MetaSel (Just Symbol "_hpType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * HandshakePartyType))))

handshakeParty Source #

Creates a value of HandshakeParty with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • hpId - The unique identifier (ID) for the party. The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.
  • hpType - The type of party.

hpId :: Lens' HandshakeParty Text Source #

The unique identifier (ID) for the party. The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.

HandshakeResource

data HandshakeResource Source #

Contains additional data that is needed to process a handshake.

See: handshakeResource smart constructor.

Instances

Eq HandshakeResource Source # 
Data HandshakeResource Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HandshakeResource -> c HandshakeResource #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HandshakeResource #

toConstr :: HandshakeResource -> Constr #

dataTypeOf :: HandshakeResource -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HandshakeResource) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HandshakeResource) #

gmapT :: (forall b. Data b => b -> b) -> HandshakeResource -> HandshakeResource #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HandshakeResource -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HandshakeResource -> r #

gmapQ :: (forall d. Data d => d -> u) -> HandshakeResource -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HandshakeResource -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HandshakeResource -> m HandshakeResource #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HandshakeResource -> m HandshakeResource #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HandshakeResource -> m HandshakeResource #

Show HandshakeResource Source # 
Generic HandshakeResource Source # 
Hashable HandshakeResource Source # 
FromJSON HandshakeResource Source # 
NFData HandshakeResource Source # 

Methods

rnf :: HandshakeResource -> () #

type Rep HandshakeResource Source # 
type Rep HandshakeResource = D1 * (MetaData "HandshakeResource" "Network.AWS.Organizations.Types.Product" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "HandshakeResource'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_hrValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Sensitive Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_hrResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [HandshakeResource]))) (S1 * (MetaSel (Just Symbol "_hrType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe HandshakeResourceType))))))

handshakeResource :: HandshakeResource Source #

Creates a value of HandshakeResource with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • hrValue - 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.
  • hrResources - When needed, contains an additional array of HandshakeResource objects.
  • hrType - 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.

hrValue :: Lens' HandshakeResource (Maybe Text) Source #

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.

hrResources :: Lens' HandshakeResource [HandshakeResource] Source #

When needed, contains an additional array of HandshakeResource objects.

hrType :: Lens' HandshakeResource (Maybe HandshakeResourceType) Source #

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.

Organization

data Organization Source #

Contains details about an organization. An organization is a collection of accounts that are centrally managed together using consolidated billing, organized hierarchically with organizational units (OUs), and controlled with policies .

See: organization smart constructor.

Instances

Eq Organization Source # 
Data Organization Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Organization -> c Organization #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Organization #

toConstr :: Organization -> Constr #

dataTypeOf :: Organization -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Organization) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Organization) #

gmapT :: (forall b. Data b => b -> b) -> Organization -> Organization #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Organization -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Organization -> r #

gmapQ :: (forall d. Data d => d -> u) -> Organization -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Organization -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Organization -> m Organization #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Organization -> m Organization #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Organization -> m Organization #

Show Organization Source # 
Generic Organization Source # 

Associated Types

type Rep Organization :: * -> * #

Hashable Organization Source # 
FromJSON Organization Source # 
NFData Organization Source # 

Methods

rnf :: Organization -> () #

type Rep Organization Source # 

organization :: Organization Source #

Creates a value of Organization with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • oARN - The Amazon Resource Name (ARN) of an organization. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide .
  • oMasterAccountId - The unique identifier (ID) of the master account of an organization. The regex pattern for an account ID string requires exactly 12 digits.
  • oMasterAccountARN - The Amazon Resource Name (ARN) of the account that is designated as the master account for the organization. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide .
  • oMasterAccountEmail - The email address that is associated with the AWS account that is designated as the master account for the organization.
  • oAvailablePolicyTypes - A list of policy types that are enabled for this organization. For example, if your organization has all features enabled, then service control policies (SCPs) are included in the list.
  • oId - The unique identifier (ID) of an organization. The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lower-case letters or digits.
  • oFeatureSet - Specifies the functionality that currently is available to the organization. If set to ALL, then all features are enabled and policies can be applied to accounts in the organization. If set to CONSOLIDATED_BILLING, then only consolidated billing functionality is available. For more information, see Enabling All Features in Your Organization in the AWS Organizations User Guide .

oARN :: Lens' Organization (Maybe Text) Source #

The Amazon Resource Name (ARN) of an organization. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide .

oMasterAccountId :: Lens' Organization (Maybe Text) Source #

The unique identifier (ID) of the master account of an organization. The regex pattern for an account ID string requires exactly 12 digits.

oMasterAccountARN :: Lens' Organization (Maybe Text) Source #

The Amazon Resource Name (ARN) of the account that is designated as the master account for the organization. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide .

oMasterAccountEmail :: Lens' Organization (Maybe Text) Source #

The email address that is associated with the AWS account that is designated as the master account for the organization.

oAvailablePolicyTypes :: Lens' Organization [PolicyTypeSummary] Source #

A list of policy types that are enabled for this organization. For example, if your organization has all features enabled, then service control policies (SCPs) are included in the list.

oId :: Lens' Organization (Maybe Text) Source #

The unique identifier (ID) of an organization. The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lower-case letters or digits.

oFeatureSet :: Lens' Organization (Maybe OrganizationFeatureSet) Source #

Specifies the functionality that currently is available to the organization. If set to ALL, then all features are enabled and policies can be applied to accounts in the organization. If set to CONSOLIDATED_BILLING, then only consolidated billing functionality is available. For more information, see Enabling All Features in Your Organization in the AWS Organizations User Guide .

OrganizationalUnit

data OrganizationalUnit Source #

Contains details about an organizational unit (OU). An OU is a container of AWS accounts within a root of an organization. Policies that are attached to an OU apply to all accounts contained in that OU and in any child OUs.

See: organizationalUnit smart constructor.

Instances

Eq OrganizationalUnit Source # 
Data OrganizationalUnit Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrganizationalUnit -> c OrganizationalUnit #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrganizationalUnit #

toConstr :: OrganizationalUnit -> Constr #

dataTypeOf :: OrganizationalUnit -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c OrganizationalUnit) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrganizationalUnit) #

gmapT :: (forall b. Data b => b -> b) -> OrganizationalUnit -> OrganizationalUnit #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrganizationalUnit -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrganizationalUnit -> r #

gmapQ :: (forall d. Data d => d -> u) -> OrganizationalUnit -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OrganizationalUnit -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrganizationalUnit -> m OrganizationalUnit #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrganizationalUnit -> m OrganizationalUnit #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrganizationalUnit -> m OrganizationalUnit #

Read OrganizationalUnit Source # 
Show OrganizationalUnit Source # 
Generic OrganizationalUnit Source # 
Hashable OrganizationalUnit Source # 
FromJSON OrganizationalUnit Source # 
NFData OrganizationalUnit Source # 

Methods

rnf :: OrganizationalUnit -> () #

type Rep OrganizationalUnit Source # 
type Rep OrganizationalUnit = D1 * (MetaData "OrganizationalUnit" "Network.AWS.Organizations.Types.Product" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "OrganizationalUnit'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ouARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ouName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ouId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))))

organizationalUnit :: OrganizationalUnit Source #

Creates a value of OrganizationalUnit with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ouARN - The Amazon Resource Name (ARN) of this OU. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide .
  • ouName - The friendly name of this OU. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
  • ouId - The unique identifier (ID) associated with this OU. The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that contains the OU) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits.

ouARN :: Lens' OrganizationalUnit (Maybe Text) Source #

The Amazon Resource Name (ARN) of this OU. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide .

ouName :: Lens' OrganizationalUnit (Maybe Text) Source #

The friendly name of this OU. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

ouId :: Lens' OrganizationalUnit (Maybe Text) Source #

The unique identifier (ID) associated with this OU. The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that contains the OU) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits.

Parent

data Parent Source #

Contains information about either a root or an organizational unit (OU) that can contain OUs or accounts in an organization.

See: parent smart constructor.

Instances

Eq Parent Source # 

Methods

(==) :: Parent -> Parent -> Bool #

(/=) :: Parent -> Parent -> Bool #

Data Parent Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Parent -> c Parent #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Parent #

toConstr :: Parent -> Constr #

dataTypeOf :: Parent -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Parent) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Parent) #

gmapT :: (forall b. Data b => b -> b) -> Parent -> Parent #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Parent -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Parent -> r #

gmapQ :: (forall d. Data d => d -> u) -> Parent -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Parent -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Parent -> m Parent #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Parent -> m Parent #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Parent -> m Parent #

Read Parent Source # 
Show Parent Source # 
Generic Parent Source # 

Associated Types

type Rep Parent :: * -> * #

Methods

from :: Parent -> Rep Parent x #

to :: Rep Parent x -> Parent #

Hashable Parent Source # 

Methods

hashWithSalt :: Int -> Parent -> Int #

hash :: Parent -> Int #

FromJSON Parent Source # 
NFData Parent Source # 

Methods

rnf :: Parent -> () #

type Rep Parent Source # 
type Rep Parent = D1 * (MetaData "Parent" "Network.AWS.Organizations.Types.Product" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "Parent'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_pId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_pType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ParentType)))))

parent :: Parent Source #

Creates a value of Parent with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • pId - The unique identifier (ID) of the parent entity. The regex pattern for a parent ID string requires one of the following: * Root: a string that begins with "r-" followed by from 4 to 32 lower-case letters or 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 the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits.
  • pType - The type of the parent entity.

pId :: Lens' Parent (Maybe Text) Source #

The unique identifier (ID) of the parent entity. The regex pattern for a parent ID string requires one of the following: * Root: a string that begins with "r-" followed by from 4 to 32 lower-case letters or 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 the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits.

pType :: Lens' Parent (Maybe ParentType) Source #

The type of the parent entity.

Policy

data Policy Source #

Contains rules to be applied to the affected accounts. Policies can be attached directly to accounts, or to roots and OUs to affect all accounts in those hierarchies.

See: policy smart constructor.

Instances

Eq Policy Source # 

Methods

(==) :: Policy -> Policy -> Bool #

(/=) :: Policy -> Policy -> Bool #

Data Policy Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Policy -> c Policy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Policy #

toConstr :: Policy -> Constr #

dataTypeOf :: Policy -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Policy) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Policy) #

gmapT :: (forall b. Data b => b -> b) -> Policy -> Policy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Policy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Policy -> r #

gmapQ :: (forall d. Data d => d -> u) -> Policy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Policy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Policy -> m Policy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Policy -> m Policy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Policy -> m Policy #

Read Policy Source # 
Show Policy Source # 
Generic Policy Source # 

Associated Types

type Rep Policy :: * -> * #

Methods

from :: Policy -> Rep Policy x #

to :: Rep Policy x -> Policy #

Hashable Policy Source # 

Methods

hashWithSalt :: Int -> Policy -> Int #

hash :: Policy -> Int #

FromJSON Policy Source # 
NFData Policy Source # 

Methods

rnf :: Policy -> () #

type Rep Policy Source # 
type Rep Policy = D1 * (MetaData "Policy" "Network.AWS.Organizations.Types.Product" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "Policy'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_pContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_pPolicySummary") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe PolicySummary)))))

policy :: Policy Source #

Creates a value of Policy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • pContent - The text content of the policy.
  • pPolicySummary - A structure that contains additional details about the policy.

pContent :: Lens' Policy (Maybe Text) Source #

The text content of the policy.

pPolicySummary :: Lens' Policy (Maybe PolicySummary) Source #

A structure that contains additional details about the policy.

PolicySummary

data PolicySummary Source #

Contains information about a policy, but does not include the content. To see the content of a policy, see DescribePolicy .

See: policySummary smart constructor.

Instances

Eq PolicySummary Source # 
Data PolicySummary Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PolicySummary -> c PolicySummary #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PolicySummary #

toConstr :: PolicySummary -> Constr #

dataTypeOf :: PolicySummary -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PolicySummary) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PolicySummary) #

gmapT :: (forall b. Data b => b -> b) -> PolicySummary -> PolicySummary #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PolicySummary -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PolicySummary -> r #

gmapQ :: (forall d. Data d => d -> u) -> PolicySummary -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PolicySummary -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PolicySummary -> m PolicySummary #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicySummary -> m PolicySummary #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicySummary -> m PolicySummary #

Read PolicySummary Source # 
Show PolicySummary Source # 
Generic PolicySummary Source # 

Associated Types

type Rep PolicySummary :: * -> * #

Hashable PolicySummary Source # 
FromJSON PolicySummary Source # 
NFData PolicySummary Source # 

Methods

rnf :: PolicySummary -> () #

type Rep PolicySummary Source # 

policySummary :: PolicySummary Source #

Creates a value of PolicySummary with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • psARN - The Amazon Resource Name (ARN) of the policy. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide .
  • psName - The friendly name of the policy. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
  • psId - The unique identifier (ID) of the policy. The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.
  • psAWSManaged - A boolean value that indicates whether the specified policy is an AWS managed policy. If true, then you can attach the policy to roots, OUs, or accounts, but you cannot edit it.
  • psType - The type of policy.
  • psDescription - The description of the policy.

psARN :: Lens' PolicySummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the policy. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide .

psName :: Lens' PolicySummary (Maybe Text) Source #

The friendly name of the policy. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

psId :: Lens' PolicySummary (Maybe Text) Source #

The unique identifier (ID) of the policy. The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.

psAWSManaged :: Lens' PolicySummary (Maybe Bool) Source #

A boolean value that indicates whether the specified policy is an AWS managed policy. If true, then you can attach the policy to roots, OUs, or accounts, but you cannot edit it.

psDescription :: Lens' PolicySummary (Maybe Text) Source #

The description of the policy.

PolicyTargetSummary

data PolicyTargetSummary Source #

Contains information about a root, OU, or account that a policy is attached to.

See: policyTargetSummary smart constructor.

Instances

Eq PolicyTargetSummary Source # 
Data PolicyTargetSummary Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PolicyTargetSummary -> c PolicyTargetSummary #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PolicyTargetSummary #

toConstr :: PolicyTargetSummary -> Constr #

dataTypeOf :: PolicyTargetSummary -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PolicyTargetSummary) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PolicyTargetSummary) #

gmapT :: (forall b. Data b => b -> b) -> PolicyTargetSummary -> PolicyTargetSummary #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PolicyTargetSummary -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PolicyTargetSummary -> r #

gmapQ :: (forall d. Data d => d -> u) -> PolicyTargetSummary -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PolicyTargetSummary -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PolicyTargetSummary -> m PolicyTargetSummary #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyTargetSummary -> m PolicyTargetSummary #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyTargetSummary -> m PolicyTargetSummary #

Read PolicyTargetSummary Source # 
Show PolicyTargetSummary Source # 
Generic PolicyTargetSummary Source # 
Hashable PolicyTargetSummary Source # 
FromJSON PolicyTargetSummary Source # 
NFData PolicyTargetSummary Source # 

Methods

rnf :: PolicyTargetSummary -> () #

type Rep PolicyTargetSummary Source # 
type Rep PolicyTargetSummary = D1 * (MetaData "PolicyTargetSummary" "Network.AWS.Organizations.Types.Product" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "PolicyTargetSummary'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_polTargetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_polARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_polName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_polType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe TargetType))))))

policyTargetSummary :: PolicyTargetSummary Source #

Creates a value of PolicyTargetSummary with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • polTargetId - The unique identifier (ID) of the policy target. The regex pattern for a target ID string requires one of the following: * Root: a string that begins with "r-" followed by from 4 to 32 lower-case 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 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits.
  • polARN - The Amazon Resource Name (ARN) of the policy target. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide .
  • polName - The friendly name of the policy target. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
  • polType - The type of the policy target.

polTargetId :: Lens' PolicyTargetSummary (Maybe Text) Source #

The unique identifier (ID) of the policy target. The regex pattern for a target ID string requires one of the following: * Root: a string that begins with "r-" followed by from 4 to 32 lower-case 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 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits.

polARN :: Lens' PolicyTargetSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the policy target. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide .

polName :: Lens' PolicyTargetSummary (Maybe Text) Source #

The friendly name of the policy target. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

polType :: Lens' PolicyTargetSummary (Maybe TargetType) Source #

The type of the policy target.

PolicyTypeSummary

data PolicyTypeSummary Source #

Contains information about a policy type and its status in the associated root.

See: policyTypeSummary smart constructor.

Instances

Eq PolicyTypeSummary Source # 
Data PolicyTypeSummary Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PolicyTypeSummary -> c PolicyTypeSummary #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PolicyTypeSummary #

toConstr :: PolicyTypeSummary -> Constr #

dataTypeOf :: PolicyTypeSummary -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PolicyTypeSummary) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PolicyTypeSummary) #

gmapT :: (forall b. Data b => b -> b) -> PolicyTypeSummary -> PolicyTypeSummary #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PolicyTypeSummary -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PolicyTypeSummary -> r #

gmapQ :: (forall d. Data d => d -> u) -> PolicyTypeSummary -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PolicyTypeSummary -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PolicyTypeSummary -> m PolicyTypeSummary #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyTypeSummary -> m PolicyTypeSummary #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyTypeSummary -> m PolicyTypeSummary #

Read PolicyTypeSummary Source # 
Show PolicyTypeSummary Source # 
Generic PolicyTypeSummary Source # 
Hashable PolicyTypeSummary Source # 
FromJSON PolicyTypeSummary Source # 
NFData PolicyTypeSummary Source # 

Methods

rnf :: PolicyTypeSummary -> () #

type Rep PolicyTypeSummary Source # 
type Rep PolicyTypeSummary = D1 * (MetaData "PolicyTypeSummary" "Network.AWS.Organizations.Types.Product" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "PolicyTypeSummary'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ptsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe PolicyTypeStatus))) (S1 * (MetaSel (Just Symbol "_ptsType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe PolicyType)))))

policyTypeSummary :: PolicyTypeSummary Source #

Creates a value of PolicyTypeSummary with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ptsStatus - The status of the policy type as it relates to the associated root. To attach a policy of the specified type to a root or to an OU or account in that root, it must be available in the organization and enabled for that root.
  • ptsType - The name of the policy type.

ptsStatus :: Lens' PolicyTypeSummary (Maybe PolicyTypeStatus) Source #

The status of the policy type as it relates to the associated root. To attach a policy of the specified type to a root or to an OU or account in that root, it must be available in the organization and enabled for that root.

ptsType :: Lens' PolicyTypeSummary (Maybe PolicyType) Source #

The name of the policy type.

Root

data Root Source #

Contains details about a root. A root is a top-level parent node in the hierarchy of an organization that can contain organizational units (OUs) and accounts. Every root contains every AWS account in the organization. Each root enables the accounts to be organized in a different way and to have different policy types enabled for use in that root.

See: root smart constructor.

Instances

Eq Root Source # 

Methods

(==) :: Root -> Root -> Bool #

(/=) :: Root -> Root -> Bool #

Data Root Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Root -> c Root #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Root #

toConstr :: Root -> Constr #

dataTypeOf :: Root -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Root) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Root) #

gmapT :: (forall b. Data b => b -> b) -> Root -> Root #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Root -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Root -> r #

gmapQ :: (forall d. Data d => d -> u) -> Root -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Root -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Root -> m Root #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Root -> m Root #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Root -> m Root #

Read Root Source # 
Show Root Source # 

Methods

showsPrec :: Int -> Root -> ShowS #

show :: Root -> String #

showList :: [Root] -> ShowS #

Generic Root Source # 

Associated Types

type Rep Root :: * -> * #

Methods

from :: Root -> Rep Root x #

to :: Rep Root x -> Root #

Hashable Root Source # 

Methods

hashWithSalt :: Int -> Root -> Int #

hash :: Root -> Int #

FromJSON Root Source # 
NFData Root Source # 

Methods

rnf :: Root -> () #

type Rep Root Source # 
type Rep Root = D1 * (MetaData "Root" "Network.AWS.Organizations.Types.Product" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "Root'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_rARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_rName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_rId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_rPolicyTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [PolicyTypeSummary]))))))

root :: Root Source #

Creates a value of Root with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rARN - The Amazon Resource Name (ARN) of the root. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide .
  • rName - The friendly name of the root. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
  • rId - The unique identifier (ID) for the root. The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lower-case letters or digits.
  • rPolicyTypes - The types of policies that are currently enabled for the root and therefore can be attached to the root or to its OUs or accounts.

rARN :: Lens' Root (Maybe Text) Source #

The Amazon Resource Name (ARN) of the root. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide .

rName :: Lens' Root (Maybe Text) Source #

The friendly name of the root. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

rId :: Lens' Root (Maybe Text) Source #

The unique identifier (ID) for the root. The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lower-case letters or digits.

rPolicyTypes :: Lens' Root [PolicyTypeSummary] Source #

The types of policies that are currently enabled for the root and therefore can be attached to the root or to its OUs or accounts.