packages feed

amazonka-organizations 1.6.1 → 2.0

raw patch · 180 files changed

+22542/−10043 lines, 180 filesdep +case-insensitivedep ~amazonka-coredep ~amazonka-testdep ~basesetup-changedPVP ok

version bump matches the API change (PVP)

Dependencies added: case-insensitive

Dependency ranges changed: amazonka-core, amazonka-test, base

API changes (from Hackage documentation)

- Network.AWS.Organizations: Accepted :: HandshakeState
- Network.AWS.Organizations: Account :: HandshakeResourceType
- Network.AWS.Organizations: AccountLimitExceeded :: CreateAccountFailureReason
- Network.AWS.Organizations: Active :: AccountStatus
- Network.AWS.Organizations: AddOrganizationsServiceLinkedRole :: ActionType
- Network.AWS.Organizations: All :: OrganizationFeatureSet
- Network.AWS.Organizations: Allow :: IAMUserAccessToBilling
- Network.AWS.Organizations: ApproveAllFeatures :: ActionType
- Network.AWS.Organizations: CTAccount :: ChildType
- Network.AWS.Organizations: CTOrganizationalUnit :: ChildType
- Network.AWS.Organizations: Canceled :: HandshakeState
- Network.AWS.Organizations: ConcurrentAccountModification :: CreateAccountFailureReason
- Network.AWS.Organizations: ConsolidatedBilling :: OrganizationFeatureSet
- Network.AWS.Organizations: Created :: AccountJoinedMethod
- Network.AWS.Organizations: Declined :: HandshakeState
- Network.AWS.Organizations: Deny :: IAMUserAccessToBilling
- Network.AWS.Organizations: Email :: HandshakeResourceType
- Network.AWS.Organizations: EmailAlreadyExists :: CreateAccountFailureReason
- Network.AWS.Organizations: EnableAllFeatures :: ActionType
- Network.AWS.Organizations: Enabled :: PolicyTypeStatus
- Network.AWS.Organizations: Expired :: HandshakeState
- Network.AWS.Organizations: Failed :: CreateAccountState
- Network.AWS.Organizations: HPTAccount :: HandshakePartyType
- Network.AWS.Organizations: HPTEmail :: HandshakePartyType
- Network.AWS.Organizations: HPTOrganization :: HandshakePartyType
- Network.AWS.Organizations: InProgress :: CreateAccountState
- Network.AWS.Organizations: InternalFailure :: CreateAccountFailureReason
- Network.AWS.Organizations: InvalidAddress :: CreateAccountFailureReason
- Network.AWS.Organizations: InvalidEmail :: CreateAccountFailureReason
- Network.AWS.Organizations: Invite :: ActionType
- Network.AWS.Organizations: Invited :: AccountJoinedMethod
- Network.AWS.Organizations: MasterEmail :: HandshakeResourceType
- Network.AWS.Organizations: MasterName :: HandshakeResourceType
- Network.AWS.Organizations: Notes :: HandshakeResourceType
- Network.AWS.Organizations: Open :: HandshakeState
- Network.AWS.Organizations: Organization :: HandshakeResourceType
- Network.AWS.Organizations: OrganizationFeatureSet :: HandshakeResourceType
- Network.AWS.Organizations: OrganizationalUnit :: ParentType
- Network.AWS.Organizations: ParentHandshake :: HandshakeResourceType
- Network.AWS.Organizations: PendingDisable :: PolicyTypeStatus
- Network.AWS.Organizations: PendingEnable :: PolicyTypeStatus
- Network.AWS.Organizations: Requested :: HandshakeState
- Network.AWS.Organizations: Root :: ParentType
- Network.AWS.Organizations: ServiceControlPolicy :: PolicyType
- Network.AWS.Organizations: Succeeded :: CreateAccountState
- Network.AWS.Organizations: Suspended :: AccountStatus
- Network.AWS.Organizations: TTAccount :: TargetType
- Network.AWS.Organizations: TTOrganizationalUnit :: TargetType
- Network.AWS.Organizations: TTRoot :: TargetType
- Network.AWS.Organizations: _AWSOrganizationsNotInUseException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _AccessDeniedForDependencyException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _AccountNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _AlreadyInOrganizationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _ChildNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _ConstraintViolationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _CreateAccountStatusNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _DestinationParentNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _DuplicateAccountException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _DuplicateHandshakeException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _DuplicateOrganizationalUnitException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _DuplicatePolicyAttachmentException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _DuplicatePolicyException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _FinalizingOrganizationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _HandshakeAlreadyInStateException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _HandshakeConstraintViolationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _HandshakeNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _InvalidHandshakeTransitionException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _MalformedPolicyDocumentException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _MasterCannotLeaveOrganizationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _OrganizationNotEmptyException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _OrganizationalUnitNotEmptyException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _OrganizationalUnitNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _ParentNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _PolicyInUseException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _PolicyNotAttachedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _PolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _PolicyTypeAlreadyEnabledException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _PolicyTypeNotAvailableForOrganizationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _PolicyTypeNotEnabledException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _RootNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _ServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _SourceParentNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _TargetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations: aARN :: Lens' Account (Maybe Text)
- Network.AWS.Organizations: aEmail :: Lens' Account (Maybe Text)
- Network.AWS.Organizations: aId :: Lens' Account (Maybe Text)
- Network.AWS.Organizations: aJoinedMethod :: Lens' Account (Maybe AccountJoinedMethod)
- Network.AWS.Organizations: aJoinedTimestamp :: Lens' Account (Maybe UTCTime)
- Network.AWS.Organizations: aName :: Lens' Account (Maybe Text)
- Network.AWS.Organizations: aStatus :: Lens' Account (Maybe AccountStatus)
- Network.AWS.Organizations: account :: Account
- Network.AWS.Organizations: cId :: Lens' Child (Maybe Text)
- Network.AWS.Organizations: cType :: Lens' Child (Maybe ChildType)
- Network.AWS.Organizations: casAccountId :: Lens' CreateAccountStatus (Maybe Text)
- Network.AWS.Organizations: casAccountName :: Lens' CreateAccountStatus (Maybe Text)
- Network.AWS.Organizations: casCompletedTimestamp :: Lens' CreateAccountStatus (Maybe UTCTime)
- Network.AWS.Organizations: casFailureReason :: Lens' CreateAccountStatus (Maybe CreateAccountFailureReason)
- Network.AWS.Organizations: casId :: Lens' CreateAccountStatus (Maybe Text)
- Network.AWS.Organizations: casRequestedTimestamp :: Lens' CreateAccountStatus (Maybe UTCTime)
- Network.AWS.Organizations: casState :: Lens' CreateAccountStatus (Maybe CreateAccountState)
- Network.AWS.Organizations: child :: Child
- Network.AWS.Organizations: createAccountStatus :: CreateAccountStatus
- Network.AWS.Organizations: data Account
- Network.AWS.Organizations: data AccountJoinedMethod
- Network.AWS.Organizations: data AccountStatus
- Network.AWS.Organizations: data ActionType
- Network.AWS.Organizations: data Child
- Network.AWS.Organizations: data ChildType
- Network.AWS.Organizations: data CreateAccountFailureReason
- Network.AWS.Organizations: data CreateAccountState
- Network.AWS.Organizations: data CreateAccountStatus
- Network.AWS.Organizations: data EnabledServicePrincipal
- Network.AWS.Organizations: data Handshake
- Network.AWS.Organizations: data HandshakeFilter
- Network.AWS.Organizations: data HandshakeParty
- Network.AWS.Organizations: data HandshakePartyType
- Network.AWS.Organizations: data HandshakeResource
- Network.AWS.Organizations: data HandshakeResourceType
- Network.AWS.Organizations: data HandshakeState
- Network.AWS.Organizations: data IAMUserAccessToBilling
- Network.AWS.Organizations: data Organization
- Network.AWS.Organizations: data OrganizationFeatureSet
- Network.AWS.Organizations: data OrganizationalUnit
- Network.AWS.Organizations: data Parent
- Network.AWS.Organizations: data ParentType
- Network.AWS.Organizations: data Policy
- Network.AWS.Organizations: data PolicySummary
- Network.AWS.Organizations: data PolicyTargetSummary
- Network.AWS.Organizations: data PolicyType
- Network.AWS.Organizations: data PolicyTypeStatus
- Network.AWS.Organizations: data PolicyTypeSummary
- Network.AWS.Organizations: data Root
- Network.AWS.Organizations: data TargetType
- Network.AWS.Organizations: enabledServicePrincipal :: EnabledServicePrincipal
- Network.AWS.Organizations: espDateEnabled :: Lens' EnabledServicePrincipal (Maybe UTCTime)
- Network.AWS.Organizations: espServicePrincipal :: Lens' EnabledServicePrincipal (Maybe Text)
- Network.AWS.Organizations: hARN :: Lens' Handshake (Maybe Text)
- Network.AWS.Organizations: hAction :: Lens' Handshake (Maybe ActionType)
- Network.AWS.Organizations: hExpirationTimestamp :: Lens' Handshake (Maybe UTCTime)
- Network.AWS.Organizations: hId :: Lens' Handshake (Maybe Text)
- Network.AWS.Organizations: hParties :: Lens' Handshake [HandshakeParty]
- Network.AWS.Organizations: hRequestedTimestamp :: Lens' Handshake (Maybe UTCTime)
- Network.AWS.Organizations: hResources :: Lens' Handshake [HandshakeResource]
- Network.AWS.Organizations: hState :: Lens' Handshake (Maybe HandshakeState)
- Network.AWS.Organizations: handshake :: Handshake
- Network.AWS.Organizations: handshakeFilter :: HandshakeFilter
- Network.AWS.Organizations: handshakeParty :: Text -> HandshakePartyType -> HandshakeParty
- Network.AWS.Organizations: handshakeResource :: HandshakeResource
- Network.AWS.Organizations: hfActionType :: Lens' HandshakeFilter (Maybe ActionType)
- Network.AWS.Organizations: hfParentHandshakeId :: Lens' HandshakeFilter (Maybe Text)
- Network.AWS.Organizations: hpId :: Lens' HandshakeParty Text
- Network.AWS.Organizations: hpType :: Lens' HandshakeParty HandshakePartyType
- Network.AWS.Organizations: hrResources :: Lens' HandshakeResource [HandshakeResource]
- Network.AWS.Organizations: hrType :: Lens' HandshakeResource (Maybe HandshakeResourceType)
- Network.AWS.Organizations: hrValue :: Lens' HandshakeResource (Maybe Text)
- Network.AWS.Organizations: oARN :: Lens' Organization (Maybe Text)
- Network.AWS.Organizations: oAvailablePolicyTypes :: Lens' Organization [PolicyTypeSummary]
- Network.AWS.Organizations: oFeatureSet :: Lens' Organization (Maybe OrganizationFeatureSet)
- Network.AWS.Organizations: oId :: Lens' Organization (Maybe Text)
- Network.AWS.Organizations: oMasterAccountARN :: Lens' Organization (Maybe Text)
- Network.AWS.Organizations: oMasterAccountEmail :: Lens' Organization (Maybe Text)
- Network.AWS.Organizations: oMasterAccountId :: Lens' Organization (Maybe Text)
- Network.AWS.Organizations: organization :: Organization
- Network.AWS.Organizations: organizationalUnit :: OrganizationalUnit
- Network.AWS.Organizations: organizations :: Service
- Network.AWS.Organizations: ouARN :: Lens' OrganizationalUnit (Maybe Text)
- Network.AWS.Organizations: ouId :: Lens' OrganizationalUnit (Maybe Text)
- Network.AWS.Organizations: ouName :: Lens' OrganizationalUnit (Maybe Text)
- Network.AWS.Organizations: pContent :: Lens' Policy (Maybe Text)
- Network.AWS.Organizations: pId :: Lens' Parent (Maybe Text)
- Network.AWS.Organizations: pPolicySummary :: Lens' Policy (Maybe PolicySummary)
- Network.AWS.Organizations: pType :: Lens' Parent (Maybe ParentType)
- Network.AWS.Organizations: parent :: Parent
- Network.AWS.Organizations: polARN :: Lens' PolicyTargetSummary (Maybe Text)
- Network.AWS.Organizations: polName :: Lens' PolicyTargetSummary (Maybe Text)
- Network.AWS.Organizations: polTargetId :: Lens' PolicyTargetSummary (Maybe Text)
- Network.AWS.Organizations: polType :: Lens' PolicyTargetSummary (Maybe TargetType)
- Network.AWS.Organizations: policy :: Policy
- Network.AWS.Organizations: policySummary :: PolicySummary
- Network.AWS.Organizations: policyTargetSummary :: PolicyTargetSummary
- Network.AWS.Organizations: policyTypeSummary :: PolicyTypeSummary
- Network.AWS.Organizations: psARN :: Lens' PolicySummary (Maybe Text)
- Network.AWS.Organizations: psAWSManaged :: Lens' PolicySummary (Maybe Bool)
- Network.AWS.Organizations: psDescription :: Lens' PolicySummary (Maybe Text)
- Network.AWS.Organizations: psId :: Lens' PolicySummary (Maybe Text)
- Network.AWS.Organizations: psName :: Lens' PolicySummary (Maybe Text)
- Network.AWS.Organizations: psType :: Lens' PolicySummary (Maybe PolicyType)
- Network.AWS.Organizations: ptsStatus :: Lens' PolicyTypeSummary (Maybe PolicyTypeStatus)
- Network.AWS.Organizations: ptsType :: Lens' PolicyTypeSummary (Maybe PolicyType)
- Network.AWS.Organizations: rARN :: Lens' Root (Maybe Text)
- Network.AWS.Organizations: rId :: Lens' Root (Maybe Text)
- Network.AWS.Organizations: rName :: Lens' Root (Maybe Text)
- Network.AWS.Organizations: rPolicyTypes :: Lens' Root [PolicyTypeSummary]
- Network.AWS.Organizations: root :: Root
- Network.AWS.Organizations.AcceptHandshake: acceptHandshake :: Text -> AcceptHandshake
- Network.AWS.Organizations.AcceptHandshake: acceptHandshakeResponse :: Int -> AcceptHandshakeResponse
- Network.AWS.Organizations.AcceptHandshake: ahHandshakeId :: Lens' AcceptHandshake Text
- Network.AWS.Organizations.AcceptHandshake: ahrsHandshake :: Lens' AcceptHandshakeResponse (Maybe Handshake)
- Network.AWS.Organizations.AcceptHandshake: ahrsResponseStatus :: Lens' AcceptHandshakeResponse Int
- Network.AWS.Organizations.AcceptHandshake: data AcceptHandshake
- Network.AWS.Organizations.AcceptHandshake: data AcceptHandshakeResponse
- Network.AWS.Organizations.AcceptHandshake: instance Control.DeepSeq.NFData Network.AWS.Organizations.AcceptHandshake.AcceptHandshake
- Network.AWS.Organizations.AcceptHandshake: instance Control.DeepSeq.NFData Network.AWS.Organizations.AcceptHandshake.AcceptHandshakeResponse
- Network.AWS.Organizations.AcceptHandshake: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.AcceptHandshake.AcceptHandshake
- Network.AWS.Organizations.AcceptHandshake: instance Data.Data.Data Network.AWS.Organizations.AcceptHandshake.AcceptHandshake
- Network.AWS.Organizations.AcceptHandshake: instance Data.Data.Data Network.AWS.Organizations.AcceptHandshake.AcceptHandshakeResponse
- Network.AWS.Organizations.AcceptHandshake: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.AcceptHandshake.AcceptHandshake
- Network.AWS.Organizations.AcceptHandshake: instance GHC.Classes.Eq Network.AWS.Organizations.AcceptHandshake.AcceptHandshake
- Network.AWS.Organizations.AcceptHandshake: instance GHC.Classes.Eq Network.AWS.Organizations.AcceptHandshake.AcceptHandshakeResponse
- Network.AWS.Organizations.AcceptHandshake: instance GHC.Generics.Generic Network.AWS.Organizations.AcceptHandshake.AcceptHandshake
- Network.AWS.Organizations.AcceptHandshake: instance GHC.Generics.Generic Network.AWS.Organizations.AcceptHandshake.AcceptHandshakeResponse
- Network.AWS.Organizations.AcceptHandshake: instance GHC.Read.Read Network.AWS.Organizations.AcceptHandshake.AcceptHandshake
- Network.AWS.Organizations.AcceptHandshake: instance GHC.Show.Show Network.AWS.Organizations.AcceptHandshake.AcceptHandshake
- Network.AWS.Organizations.AcceptHandshake: instance GHC.Show.Show Network.AWS.Organizations.AcceptHandshake.AcceptHandshakeResponse
- Network.AWS.Organizations.AcceptHandshake: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.AcceptHandshake.AcceptHandshake
- Network.AWS.Organizations.AcceptHandshake: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.AcceptHandshake.AcceptHandshake
- Network.AWS.Organizations.AcceptHandshake: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.AcceptHandshake.AcceptHandshake
- Network.AWS.Organizations.AcceptHandshake: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.AcceptHandshake.AcceptHandshake
- Network.AWS.Organizations.AttachPolicy: apPolicyId :: Lens' AttachPolicy Text
- Network.AWS.Organizations.AttachPolicy: apTargetId :: Lens' AttachPolicy Text
- Network.AWS.Organizations.AttachPolicy: attachPolicy :: Text -> Text -> AttachPolicy
- Network.AWS.Organizations.AttachPolicy: attachPolicyResponse :: AttachPolicyResponse
- Network.AWS.Organizations.AttachPolicy: data AttachPolicy
- Network.AWS.Organizations.AttachPolicy: data AttachPolicyResponse
- Network.AWS.Organizations.AttachPolicy: instance Control.DeepSeq.NFData Network.AWS.Organizations.AttachPolicy.AttachPolicy
- Network.AWS.Organizations.AttachPolicy: instance Control.DeepSeq.NFData Network.AWS.Organizations.AttachPolicy.AttachPolicyResponse
- Network.AWS.Organizations.AttachPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.AttachPolicy.AttachPolicy
- Network.AWS.Organizations.AttachPolicy: instance Data.Data.Data Network.AWS.Organizations.AttachPolicy.AttachPolicy
- Network.AWS.Organizations.AttachPolicy: instance Data.Data.Data Network.AWS.Organizations.AttachPolicy.AttachPolicyResponse
- Network.AWS.Organizations.AttachPolicy: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.AttachPolicy.AttachPolicy
- Network.AWS.Organizations.AttachPolicy: instance GHC.Classes.Eq Network.AWS.Organizations.AttachPolicy.AttachPolicy
- Network.AWS.Organizations.AttachPolicy: instance GHC.Classes.Eq Network.AWS.Organizations.AttachPolicy.AttachPolicyResponse
- Network.AWS.Organizations.AttachPolicy: instance GHC.Generics.Generic Network.AWS.Organizations.AttachPolicy.AttachPolicy
- Network.AWS.Organizations.AttachPolicy: instance GHC.Generics.Generic Network.AWS.Organizations.AttachPolicy.AttachPolicyResponse
- Network.AWS.Organizations.AttachPolicy: instance GHC.Read.Read Network.AWS.Organizations.AttachPolicy.AttachPolicy
- Network.AWS.Organizations.AttachPolicy: instance GHC.Read.Read Network.AWS.Organizations.AttachPolicy.AttachPolicyResponse
- Network.AWS.Organizations.AttachPolicy: instance GHC.Show.Show Network.AWS.Organizations.AttachPolicy.AttachPolicy
- Network.AWS.Organizations.AttachPolicy: instance GHC.Show.Show Network.AWS.Organizations.AttachPolicy.AttachPolicyResponse
- Network.AWS.Organizations.AttachPolicy: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.AttachPolicy.AttachPolicy
- Network.AWS.Organizations.AttachPolicy: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.AttachPolicy.AttachPolicy
- Network.AWS.Organizations.AttachPolicy: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.AttachPolicy.AttachPolicy
- Network.AWS.Organizations.AttachPolicy: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.AttachPolicy.AttachPolicy
- Network.AWS.Organizations.CancelHandshake: cancelHandshake :: Text -> CancelHandshake
- Network.AWS.Organizations.CancelHandshake: cancelHandshakeResponse :: Int -> CancelHandshakeResponse
- Network.AWS.Organizations.CancelHandshake: chHandshakeId :: Lens' CancelHandshake Text
- Network.AWS.Organizations.CancelHandshake: chrsHandshake :: Lens' CancelHandshakeResponse (Maybe Handshake)
- Network.AWS.Organizations.CancelHandshake: chrsResponseStatus :: Lens' CancelHandshakeResponse Int
- Network.AWS.Organizations.CancelHandshake: data CancelHandshake
- Network.AWS.Organizations.CancelHandshake: data CancelHandshakeResponse
- Network.AWS.Organizations.CancelHandshake: instance Control.DeepSeq.NFData Network.AWS.Organizations.CancelHandshake.CancelHandshake
- Network.AWS.Organizations.CancelHandshake: instance Control.DeepSeq.NFData Network.AWS.Organizations.CancelHandshake.CancelHandshakeResponse
- Network.AWS.Organizations.CancelHandshake: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.CancelHandshake.CancelHandshake
- Network.AWS.Organizations.CancelHandshake: instance Data.Data.Data Network.AWS.Organizations.CancelHandshake.CancelHandshake
- Network.AWS.Organizations.CancelHandshake: instance Data.Data.Data Network.AWS.Organizations.CancelHandshake.CancelHandshakeResponse
- Network.AWS.Organizations.CancelHandshake: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.CancelHandshake.CancelHandshake
- Network.AWS.Organizations.CancelHandshake: instance GHC.Classes.Eq Network.AWS.Organizations.CancelHandshake.CancelHandshake
- Network.AWS.Organizations.CancelHandshake: instance GHC.Classes.Eq Network.AWS.Organizations.CancelHandshake.CancelHandshakeResponse
- Network.AWS.Organizations.CancelHandshake: instance GHC.Generics.Generic Network.AWS.Organizations.CancelHandshake.CancelHandshake
- Network.AWS.Organizations.CancelHandshake: instance GHC.Generics.Generic Network.AWS.Organizations.CancelHandshake.CancelHandshakeResponse
- Network.AWS.Organizations.CancelHandshake: instance GHC.Read.Read Network.AWS.Organizations.CancelHandshake.CancelHandshake
- Network.AWS.Organizations.CancelHandshake: instance GHC.Show.Show Network.AWS.Organizations.CancelHandshake.CancelHandshake
- Network.AWS.Organizations.CancelHandshake: instance GHC.Show.Show Network.AWS.Organizations.CancelHandshake.CancelHandshakeResponse
- Network.AWS.Organizations.CancelHandshake: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.CancelHandshake.CancelHandshake
- Network.AWS.Organizations.CancelHandshake: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.CancelHandshake.CancelHandshake
- Network.AWS.Organizations.CancelHandshake: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.CancelHandshake.CancelHandshake
- Network.AWS.Organizations.CancelHandshake: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.CancelHandshake.CancelHandshake
- Network.AWS.Organizations.CreateAccount: caAccountName :: Lens' CreateAccount Text
- Network.AWS.Organizations.CreateAccount: caEmail :: Lens' CreateAccount Text
- Network.AWS.Organizations.CreateAccount: caIAMUserAccessToBilling :: Lens' CreateAccount (Maybe IAMUserAccessToBilling)
- Network.AWS.Organizations.CreateAccount: caRoleName :: Lens' CreateAccount (Maybe Text)
- Network.AWS.Organizations.CreateAccount: carsCreateAccountStatus :: Lens' CreateAccountResponse (Maybe CreateAccountStatus)
- Network.AWS.Organizations.CreateAccount: carsResponseStatus :: Lens' CreateAccountResponse Int
- Network.AWS.Organizations.CreateAccount: createAccount :: Text -> Text -> CreateAccount
- Network.AWS.Organizations.CreateAccount: createAccountResponse :: Int -> CreateAccountResponse
- Network.AWS.Organizations.CreateAccount: data CreateAccount
- Network.AWS.Organizations.CreateAccount: data CreateAccountResponse
- Network.AWS.Organizations.CreateAccount: instance Control.DeepSeq.NFData Network.AWS.Organizations.CreateAccount.CreateAccount
- Network.AWS.Organizations.CreateAccount: instance Control.DeepSeq.NFData Network.AWS.Organizations.CreateAccount.CreateAccountResponse
- Network.AWS.Organizations.CreateAccount: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.CreateAccount.CreateAccount
- Network.AWS.Organizations.CreateAccount: instance Data.Data.Data Network.AWS.Organizations.CreateAccount.CreateAccount
- Network.AWS.Organizations.CreateAccount: instance Data.Data.Data Network.AWS.Organizations.CreateAccount.CreateAccountResponse
- Network.AWS.Organizations.CreateAccount: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.CreateAccount.CreateAccount
- Network.AWS.Organizations.CreateAccount: instance GHC.Classes.Eq Network.AWS.Organizations.CreateAccount.CreateAccount
- Network.AWS.Organizations.CreateAccount: instance GHC.Classes.Eq Network.AWS.Organizations.CreateAccount.CreateAccountResponse
- Network.AWS.Organizations.CreateAccount: instance GHC.Generics.Generic Network.AWS.Organizations.CreateAccount.CreateAccount
- Network.AWS.Organizations.CreateAccount: instance GHC.Generics.Generic Network.AWS.Organizations.CreateAccount.CreateAccountResponse
- Network.AWS.Organizations.CreateAccount: instance GHC.Show.Show Network.AWS.Organizations.CreateAccount.CreateAccount
- Network.AWS.Organizations.CreateAccount: instance GHC.Show.Show Network.AWS.Organizations.CreateAccount.CreateAccountResponse
- Network.AWS.Organizations.CreateAccount: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.CreateAccount.CreateAccount
- Network.AWS.Organizations.CreateAccount: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.CreateAccount.CreateAccount
- Network.AWS.Organizations.CreateAccount: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.CreateAccount.CreateAccount
- Network.AWS.Organizations.CreateAccount: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.CreateAccount.CreateAccount
- Network.AWS.Organizations.CreateOrganization: coFeatureSet :: Lens' CreateOrganization (Maybe OrganizationFeatureSet)
- Network.AWS.Organizations.CreateOrganization: corsOrganization :: Lens' CreateOrganizationResponse (Maybe Organization)
- Network.AWS.Organizations.CreateOrganization: corsResponseStatus :: Lens' CreateOrganizationResponse Int
- Network.AWS.Organizations.CreateOrganization: createOrganization :: CreateOrganization
- Network.AWS.Organizations.CreateOrganization: createOrganizationResponse :: Int -> CreateOrganizationResponse
- Network.AWS.Organizations.CreateOrganization: data CreateOrganization
- Network.AWS.Organizations.CreateOrganization: data CreateOrganizationResponse
- Network.AWS.Organizations.CreateOrganization: instance Control.DeepSeq.NFData Network.AWS.Organizations.CreateOrganization.CreateOrganization
- Network.AWS.Organizations.CreateOrganization: instance Control.DeepSeq.NFData Network.AWS.Organizations.CreateOrganization.CreateOrganizationResponse
- Network.AWS.Organizations.CreateOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.CreateOrganization.CreateOrganization
- Network.AWS.Organizations.CreateOrganization: instance Data.Data.Data Network.AWS.Organizations.CreateOrganization.CreateOrganization
- Network.AWS.Organizations.CreateOrganization: instance Data.Data.Data Network.AWS.Organizations.CreateOrganization.CreateOrganizationResponse
- Network.AWS.Organizations.CreateOrganization: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.CreateOrganization.CreateOrganization
- Network.AWS.Organizations.CreateOrganization: instance GHC.Classes.Eq Network.AWS.Organizations.CreateOrganization.CreateOrganization
- Network.AWS.Organizations.CreateOrganization: instance GHC.Classes.Eq Network.AWS.Organizations.CreateOrganization.CreateOrganizationResponse
- Network.AWS.Organizations.CreateOrganization: instance GHC.Generics.Generic Network.AWS.Organizations.CreateOrganization.CreateOrganization
- Network.AWS.Organizations.CreateOrganization: instance GHC.Generics.Generic Network.AWS.Organizations.CreateOrganization.CreateOrganizationResponse
- Network.AWS.Organizations.CreateOrganization: instance GHC.Read.Read Network.AWS.Organizations.CreateOrganization.CreateOrganization
- Network.AWS.Organizations.CreateOrganization: instance GHC.Show.Show Network.AWS.Organizations.CreateOrganization.CreateOrganization
- Network.AWS.Organizations.CreateOrganization: instance GHC.Show.Show Network.AWS.Organizations.CreateOrganization.CreateOrganizationResponse
- Network.AWS.Organizations.CreateOrganization: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.CreateOrganization.CreateOrganization
- Network.AWS.Organizations.CreateOrganization: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.CreateOrganization.CreateOrganization
- Network.AWS.Organizations.CreateOrganization: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.CreateOrganization.CreateOrganization
- Network.AWS.Organizations.CreateOrganization: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.CreateOrganization.CreateOrganization
- Network.AWS.Organizations.CreateOrganizationalUnit: couName :: Lens' CreateOrganizationalUnit Text
- Network.AWS.Organizations.CreateOrganizationalUnit: couParentId :: Lens' CreateOrganizationalUnit Text
- Network.AWS.Organizations.CreateOrganizationalUnit: coursOrganizationalUnit :: Lens' CreateOrganizationalUnitResponse (Maybe OrganizationalUnit)
- Network.AWS.Organizations.CreateOrganizationalUnit: coursResponseStatus :: Lens' CreateOrganizationalUnitResponse Int
- Network.AWS.Organizations.CreateOrganizationalUnit: createOrganizationalUnit :: Text -> Text -> CreateOrganizationalUnit
- Network.AWS.Organizations.CreateOrganizationalUnit: createOrganizationalUnitResponse :: Int -> CreateOrganizationalUnitResponse
- Network.AWS.Organizations.CreateOrganizationalUnit: data CreateOrganizationalUnit
- Network.AWS.Organizations.CreateOrganizationalUnit: data CreateOrganizationalUnitResponse
- Network.AWS.Organizations.CreateOrganizationalUnit: instance Control.DeepSeq.NFData Network.AWS.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
- Network.AWS.Organizations.CreateOrganizationalUnit: instance Control.DeepSeq.NFData Network.AWS.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnitResponse
- Network.AWS.Organizations.CreateOrganizationalUnit: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
- Network.AWS.Organizations.CreateOrganizationalUnit: instance Data.Data.Data Network.AWS.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
- Network.AWS.Organizations.CreateOrganizationalUnit: instance Data.Data.Data Network.AWS.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnitResponse
- Network.AWS.Organizations.CreateOrganizationalUnit: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
- Network.AWS.Organizations.CreateOrganizationalUnit: instance GHC.Classes.Eq Network.AWS.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
- Network.AWS.Organizations.CreateOrganizationalUnit: instance GHC.Classes.Eq Network.AWS.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnitResponse
- Network.AWS.Organizations.CreateOrganizationalUnit: instance GHC.Generics.Generic Network.AWS.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
- Network.AWS.Organizations.CreateOrganizationalUnit: instance GHC.Generics.Generic Network.AWS.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnitResponse
- Network.AWS.Organizations.CreateOrganizationalUnit: instance GHC.Read.Read Network.AWS.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
- Network.AWS.Organizations.CreateOrganizationalUnit: instance GHC.Read.Read Network.AWS.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnitResponse
- Network.AWS.Organizations.CreateOrganizationalUnit: instance GHC.Show.Show Network.AWS.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
- Network.AWS.Organizations.CreateOrganizationalUnit: instance GHC.Show.Show Network.AWS.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnitResponse
- Network.AWS.Organizations.CreateOrganizationalUnit: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
- Network.AWS.Organizations.CreateOrganizationalUnit: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
- Network.AWS.Organizations.CreateOrganizationalUnit: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
- Network.AWS.Organizations.CreateOrganizationalUnit: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
- Network.AWS.Organizations.CreatePolicy: cpContent :: Lens' CreatePolicy Text
- Network.AWS.Organizations.CreatePolicy: cpDescription :: Lens' CreatePolicy Text
- Network.AWS.Organizations.CreatePolicy: cpName :: Lens' CreatePolicy Text
- Network.AWS.Organizations.CreatePolicy: cpType :: Lens' CreatePolicy PolicyType
- Network.AWS.Organizations.CreatePolicy: cprsPolicy :: Lens' CreatePolicyResponse (Maybe Policy)
- Network.AWS.Organizations.CreatePolicy: cprsResponseStatus :: Lens' CreatePolicyResponse Int
- Network.AWS.Organizations.CreatePolicy: createPolicy :: Text -> Text -> Text -> PolicyType -> CreatePolicy
- Network.AWS.Organizations.CreatePolicy: createPolicyResponse :: Int -> CreatePolicyResponse
- Network.AWS.Organizations.CreatePolicy: data CreatePolicy
- Network.AWS.Organizations.CreatePolicy: data CreatePolicyResponse
- Network.AWS.Organizations.CreatePolicy: instance Control.DeepSeq.NFData Network.AWS.Organizations.CreatePolicy.CreatePolicy
- Network.AWS.Organizations.CreatePolicy: instance Control.DeepSeq.NFData Network.AWS.Organizations.CreatePolicy.CreatePolicyResponse
- Network.AWS.Organizations.CreatePolicy: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.CreatePolicy.CreatePolicy
- Network.AWS.Organizations.CreatePolicy: instance Data.Data.Data Network.AWS.Organizations.CreatePolicy.CreatePolicy
- Network.AWS.Organizations.CreatePolicy: instance Data.Data.Data Network.AWS.Organizations.CreatePolicy.CreatePolicyResponse
- Network.AWS.Organizations.CreatePolicy: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.CreatePolicy.CreatePolicy
- Network.AWS.Organizations.CreatePolicy: instance GHC.Classes.Eq Network.AWS.Organizations.CreatePolicy.CreatePolicy
- Network.AWS.Organizations.CreatePolicy: instance GHC.Classes.Eq Network.AWS.Organizations.CreatePolicy.CreatePolicyResponse
- Network.AWS.Organizations.CreatePolicy: instance GHC.Generics.Generic Network.AWS.Organizations.CreatePolicy.CreatePolicy
- Network.AWS.Organizations.CreatePolicy: instance GHC.Generics.Generic Network.AWS.Organizations.CreatePolicy.CreatePolicyResponse
- Network.AWS.Organizations.CreatePolicy: instance GHC.Read.Read Network.AWS.Organizations.CreatePolicy.CreatePolicy
- Network.AWS.Organizations.CreatePolicy: instance GHC.Read.Read Network.AWS.Organizations.CreatePolicy.CreatePolicyResponse
- Network.AWS.Organizations.CreatePolicy: instance GHC.Show.Show Network.AWS.Organizations.CreatePolicy.CreatePolicy
- Network.AWS.Organizations.CreatePolicy: instance GHC.Show.Show Network.AWS.Organizations.CreatePolicy.CreatePolicyResponse
- Network.AWS.Organizations.CreatePolicy: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.CreatePolicy.CreatePolicy
- Network.AWS.Organizations.CreatePolicy: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.CreatePolicy.CreatePolicy
- Network.AWS.Organizations.CreatePolicy: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.CreatePolicy.CreatePolicy
- Network.AWS.Organizations.CreatePolicy: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.CreatePolicy.CreatePolicy
- Network.AWS.Organizations.DeclineHandshake: dHandshakeId :: Lens' DeclineHandshake Text
- Network.AWS.Organizations.DeclineHandshake: data DeclineHandshake
- Network.AWS.Organizations.DeclineHandshake: data DeclineHandshakeResponse
- Network.AWS.Organizations.DeclineHandshake: declineHandshake :: Text -> DeclineHandshake
- Network.AWS.Organizations.DeclineHandshake: declineHandshakeResponse :: Int -> DeclineHandshakeResponse
- Network.AWS.Organizations.DeclineHandshake: drsHandshake :: Lens' DeclineHandshakeResponse (Maybe Handshake)
- Network.AWS.Organizations.DeclineHandshake: drsResponseStatus :: Lens' DeclineHandshakeResponse Int
- Network.AWS.Organizations.DeclineHandshake: instance Control.DeepSeq.NFData Network.AWS.Organizations.DeclineHandshake.DeclineHandshake
- Network.AWS.Organizations.DeclineHandshake: instance Control.DeepSeq.NFData Network.AWS.Organizations.DeclineHandshake.DeclineHandshakeResponse
- Network.AWS.Organizations.DeclineHandshake: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.DeclineHandshake.DeclineHandshake
- Network.AWS.Organizations.DeclineHandshake: instance Data.Data.Data Network.AWS.Organizations.DeclineHandshake.DeclineHandshake
- Network.AWS.Organizations.DeclineHandshake: instance Data.Data.Data Network.AWS.Organizations.DeclineHandshake.DeclineHandshakeResponse
- Network.AWS.Organizations.DeclineHandshake: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.DeclineHandshake.DeclineHandshake
- Network.AWS.Organizations.DeclineHandshake: instance GHC.Classes.Eq Network.AWS.Organizations.DeclineHandshake.DeclineHandshake
- Network.AWS.Organizations.DeclineHandshake: instance GHC.Classes.Eq Network.AWS.Organizations.DeclineHandshake.DeclineHandshakeResponse
- Network.AWS.Organizations.DeclineHandshake: instance GHC.Generics.Generic Network.AWS.Organizations.DeclineHandshake.DeclineHandshake
- Network.AWS.Organizations.DeclineHandshake: instance GHC.Generics.Generic Network.AWS.Organizations.DeclineHandshake.DeclineHandshakeResponse
- Network.AWS.Organizations.DeclineHandshake: instance GHC.Read.Read Network.AWS.Organizations.DeclineHandshake.DeclineHandshake
- Network.AWS.Organizations.DeclineHandshake: instance GHC.Show.Show Network.AWS.Organizations.DeclineHandshake.DeclineHandshake
- Network.AWS.Organizations.DeclineHandshake: instance GHC.Show.Show Network.AWS.Organizations.DeclineHandshake.DeclineHandshakeResponse
- Network.AWS.Organizations.DeclineHandshake: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.DeclineHandshake.DeclineHandshake
- Network.AWS.Organizations.DeclineHandshake: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.DeclineHandshake.DeclineHandshake
- Network.AWS.Organizations.DeclineHandshake: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.DeclineHandshake.DeclineHandshake
- Network.AWS.Organizations.DeclineHandshake: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.DeclineHandshake.DeclineHandshake
- Network.AWS.Organizations.DeleteOrganization: data DeleteOrganization
- Network.AWS.Organizations.DeleteOrganization: data DeleteOrganizationResponse
- Network.AWS.Organizations.DeleteOrganization: deleteOrganization :: DeleteOrganization
- Network.AWS.Organizations.DeleteOrganization: deleteOrganizationResponse :: DeleteOrganizationResponse
- Network.AWS.Organizations.DeleteOrganization: instance Control.DeepSeq.NFData Network.AWS.Organizations.DeleteOrganization.DeleteOrganization
- Network.AWS.Organizations.DeleteOrganization: instance Control.DeepSeq.NFData Network.AWS.Organizations.DeleteOrganization.DeleteOrganizationResponse
- Network.AWS.Organizations.DeleteOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.DeleteOrganization.DeleteOrganization
- Network.AWS.Organizations.DeleteOrganization: instance Data.Data.Data Network.AWS.Organizations.DeleteOrganization.DeleteOrganization
- Network.AWS.Organizations.DeleteOrganization: instance Data.Data.Data Network.AWS.Organizations.DeleteOrganization.DeleteOrganizationResponse
- Network.AWS.Organizations.DeleteOrganization: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.DeleteOrganization.DeleteOrganization
- Network.AWS.Organizations.DeleteOrganization: instance GHC.Classes.Eq Network.AWS.Organizations.DeleteOrganization.DeleteOrganization
- Network.AWS.Organizations.DeleteOrganization: instance GHC.Classes.Eq Network.AWS.Organizations.DeleteOrganization.DeleteOrganizationResponse
- Network.AWS.Organizations.DeleteOrganization: instance GHC.Generics.Generic Network.AWS.Organizations.DeleteOrganization.DeleteOrganization
- Network.AWS.Organizations.DeleteOrganization: instance GHC.Generics.Generic Network.AWS.Organizations.DeleteOrganization.DeleteOrganizationResponse
- Network.AWS.Organizations.DeleteOrganization: instance GHC.Read.Read Network.AWS.Organizations.DeleteOrganization.DeleteOrganization
- Network.AWS.Organizations.DeleteOrganization: instance GHC.Read.Read Network.AWS.Organizations.DeleteOrganization.DeleteOrganizationResponse
- Network.AWS.Organizations.DeleteOrganization: instance GHC.Show.Show Network.AWS.Organizations.DeleteOrganization.DeleteOrganization
- Network.AWS.Organizations.DeleteOrganization: instance GHC.Show.Show Network.AWS.Organizations.DeleteOrganization.DeleteOrganizationResponse
- Network.AWS.Organizations.DeleteOrganization: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.DeleteOrganization.DeleteOrganization
- Network.AWS.Organizations.DeleteOrganization: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.DeleteOrganization.DeleteOrganization
- Network.AWS.Organizations.DeleteOrganization: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.DeleteOrganization.DeleteOrganization
- Network.AWS.Organizations.DeleteOrganization: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.DeleteOrganization.DeleteOrganization
- Network.AWS.Organizations.DeleteOrganizationalUnit: dOrganizationalUnitId :: Lens' DeleteOrganizationalUnit Text
- Network.AWS.Organizations.DeleteOrganizationalUnit: data DeleteOrganizationalUnit
- Network.AWS.Organizations.DeleteOrganizationalUnit: data DeleteOrganizationalUnitResponse
- Network.AWS.Organizations.DeleteOrganizationalUnit: deleteOrganizationalUnit :: Text -> DeleteOrganizationalUnit
- Network.AWS.Organizations.DeleteOrganizationalUnit: deleteOrganizationalUnitResponse :: DeleteOrganizationalUnitResponse
- Network.AWS.Organizations.DeleteOrganizationalUnit: instance Control.DeepSeq.NFData Network.AWS.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
- Network.AWS.Organizations.DeleteOrganizationalUnit: instance Control.DeepSeq.NFData Network.AWS.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnitResponse
- Network.AWS.Organizations.DeleteOrganizationalUnit: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
- Network.AWS.Organizations.DeleteOrganizationalUnit: instance Data.Data.Data Network.AWS.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
- Network.AWS.Organizations.DeleteOrganizationalUnit: instance Data.Data.Data Network.AWS.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnitResponse
- Network.AWS.Organizations.DeleteOrganizationalUnit: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
- Network.AWS.Organizations.DeleteOrganizationalUnit: instance GHC.Classes.Eq Network.AWS.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
- Network.AWS.Organizations.DeleteOrganizationalUnit: instance GHC.Classes.Eq Network.AWS.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnitResponse
- Network.AWS.Organizations.DeleteOrganizationalUnit: instance GHC.Generics.Generic Network.AWS.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
- Network.AWS.Organizations.DeleteOrganizationalUnit: instance GHC.Generics.Generic Network.AWS.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnitResponse
- Network.AWS.Organizations.DeleteOrganizationalUnit: instance GHC.Read.Read Network.AWS.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
- Network.AWS.Organizations.DeleteOrganizationalUnit: instance GHC.Read.Read Network.AWS.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnitResponse
- Network.AWS.Organizations.DeleteOrganizationalUnit: instance GHC.Show.Show Network.AWS.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
- Network.AWS.Organizations.DeleteOrganizationalUnit: instance GHC.Show.Show Network.AWS.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnitResponse
- Network.AWS.Organizations.DeleteOrganizationalUnit: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
- Network.AWS.Organizations.DeleteOrganizationalUnit: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
- Network.AWS.Organizations.DeleteOrganizationalUnit: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
- Network.AWS.Organizations.DeleteOrganizationalUnit: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
- Network.AWS.Organizations.DeletePolicy: dPolicyId :: Lens' DeletePolicy Text
- Network.AWS.Organizations.DeletePolicy: data DeletePolicy
- Network.AWS.Organizations.DeletePolicy: data DeletePolicyResponse
- Network.AWS.Organizations.DeletePolicy: deletePolicy :: Text -> DeletePolicy
- Network.AWS.Organizations.DeletePolicy: deletePolicyResponse :: DeletePolicyResponse
- Network.AWS.Organizations.DeletePolicy: instance Control.DeepSeq.NFData Network.AWS.Organizations.DeletePolicy.DeletePolicy
- Network.AWS.Organizations.DeletePolicy: instance Control.DeepSeq.NFData Network.AWS.Organizations.DeletePolicy.DeletePolicyResponse
- Network.AWS.Organizations.DeletePolicy: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.DeletePolicy.DeletePolicy
- Network.AWS.Organizations.DeletePolicy: instance Data.Data.Data Network.AWS.Organizations.DeletePolicy.DeletePolicy
- Network.AWS.Organizations.DeletePolicy: instance Data.Data.Data Network.AWS.Organizations.DeletePolicy.DeletePolicyResponse
- Network.AWS.Organizations.DeletePolicy: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.DeletePolicy.DeletePolicy
- Network.AWS.Organizations.DeletePolicy: instance GHC.Classes.Eq Network.AWS.Organizations.DeletePolicy.DeletePolicy
- Network.AWS.Organizations.DeletePolicy: instance GHC.Classes.Eq Network.AWS.Organizations.DeletePolicy.DeletePolicyResponse
- Network.AWS.Organizations.DeletePolicy: instance GHC.Generics.Generic Network.AWS.Organizations.DeletePolicy.DeletePolicy
- Network.AWS.Organizations.DeletePolicy: instance GHC.Generics.Generic Network.AWS.Organizations.DeletePolicy.DeletePolicyResponse
- Network.AWS.Organizations.DeletePolicy: instance GHC.Read.Read Network.AWS.Organizations.DeletePolicy.DeletePolicy
- Network.AWS.Organizations.DeletePolicy: instance GHC.Read.Read Network.AWS.Organizations.DeletePolicy.DeletePolicyResponse
- Network.AWS.Organizations.DeletePolicy: instance GHC.Show.Show Network.AWS.Organizations.DeletePolicy.DeletePolicy
- Network.AWS.Organizations.DeletePolicy: instance GHC.Show.Show Network.AWS.Organizations.DeletePolicy.DeletePolicyResponse
- Network.AWS.Organizations.DeletePolicy: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.DeletePolicy.DeletePolicy
- Network.AWS.Organizations.DeletePolicy: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.DeletePolicy.DeletePolicy
- Network.AWS.Organizations.DeletePolicy: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.DeletePolicy.DeletePolicy
- Network.AWS.Organizations.DeletePolicy: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.DeletePolicy.DeletePolicy
- Network.AWS.Organizations.DescribeAccount: daAccountId :: Lens' DescribeAccount Text
- Network.AWS.Organizations.DescribeAccount: darsAccount :: Lens' DescribeAccountResponse (Maybe Account)
- Network.AWS.Organizations.DescribeAccount: darsResponseStatus :: Lens' DescribeAccountResponse Int
- Network.AWS.Organizations.DescribeAccount: data DescribeAccount
- Network.AWS.Organizations.DescribeAccount: data DescribeAccountResponse
- Network.AWS.Organizations.DescribeAccount: describeAccount :: Text -> DescribeAccount
- Network.AWS.Organizations.DescribeAccount: describeAccountResponse :: Int -> DescribeAccountResponse
- Network.AWS.Organizations.DescribeAccount: instance Control.DeepSeq.NFData Network.AWS.Organizations.DescribeAccount.DescribeAccount
- Network.AWS.Organizations.DescribeAccount: instance Control.DeepSeq.NFData Network.AWS.Organizations.DescribeAccount.DescribeAccountResponse
- Network.AWS.Organizations.DescribeAccount: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.DescribeAccount.DescribeAccount
- Network.AWS.Organizations.DescribeAccount: instance Data.Data.Data Network.AWS.Organizations.DescribeAccount.DescribeAccount
- Network.AWS.Organizations.DescribeAccount: instance Data.Data.Data Network.AWS.Organizations.DescribeAccount.DescribeAccountResponse
- Network.AWS.Organizations.DescribeAccount: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.DescribeAccount.DescribeAccount
- Network.AWS.Organizations.DescribeAccount: instance GHC.Classes.Eq Network.AWS.Organizations.DescribeAccount.DescribeAccount
- Network.AWS.Organizations.DescribeAccount: instance GHC.Classes.Eq Network.AWS.Organizations.DescribeAccount.DescribeAccountResponse
- Network.AWS.Organizations.DescribeAccount: instance GHC.Generics.Generic Network.AWS.Organizations.DescribeAccount.DescribeAccount
- Network.AWS.Organizations.DescribeAccount: instance GHC.Generics.Generic Network.AWS.Organizations.DescribeAccount.DescribeAccountResponse
- Network.AWS.Organizations.DescribeAccount: instance GHC.Read.Read Network.AWS.Organizations.DescribeAccount.DescribeAccount
- Network.AWS.Organizations.DescribeAccount: instance GHC.Show.Show Network.AWS.Organizations.DescribeAccount.DescribeAccount
- Network.AWS.Organizations.DescribeAccount: instance GHC.Show.Show Network.AWS.Organizations.DescribeAccount.DescribeAccountResponse
- Network.AWS.Organizations.DescribeAccount: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.DescribeAccount.DescribeAccount
- Network.AWS.Organizations.DescribeAccount: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.DescribeAccount.DescribeAccount
- Network.AWS.Organizations.DescribeAccount: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.DescribeAccount.DescribeAccount
- Network.AWS.Organizations.DescribeAccount: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.DescribeAccount.DescribeAccount
- Network.AWS.Organizations.DescribeCreateAccountStatus: data DescribeCreateAccountStatus
- Network.AWS.Organizations.DescribeCreateAccountStatus: data DescribeCreateAccountStatusResponse
- Network.AWS.Organizations.DescribeCreateAccountStatus: dcasCreateAccountRequestId :: Lens' DescribeCreateAccountStatus Text
- Network.AWS.Organizations.DescribeCreateAccountStatus: dcasrsCreateAccountStatus :: Lens' DescribeCreateAccountStatusResponse (Maybe CreateAccountStatus)
- Network.AWS.Organizations.DescribeCreateAccountStatus: dcasrsResponseStatus :: Lens' DescribeCreateAccountStatusResponse Int
- Network.AWS.Organizations.DescribeCreateAccountStatus: describeCreateAccountStatus :: Text -> DescribeCreateAccountStatus
- Network.AWS.Organizations.DescribeCreateAccountStatus: describeCreateAccountStatusResponse :: Int -> DescribeCreateAccountStatusResponse
- Network.AWS.Organizations.DescribeCreateAccountStatus: instance Control.DeepSeq.NFData Network.AWS.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
- Network.AWS.Organizations.DescribeCreateAccountStatus: instance Control.DeepSeq.NFData Network.AWS.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatusResponse
- Network.AWS.Organizations.DescribeCreateAccountStatus: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
- Network.AWS.Organizations.DescribeCreateAccountStatus: instance Data.Data.Data Network.AWS.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
- Network.AWS.Organizations.DescribeCreateAccountStatus: instance Data.Data.Data Network.AWS.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatusResponse
- Network.AWS.Organizations.DescribeCreateAccountStatus: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
- Network.AWS.Organizations.DescribeCreateAccountStatus: instance GHC.Classes.Eq Network.AWS.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
- Network.AWS.Organizations.DescribeCreateAccountStatus: instance GHC.Classes.Eq Network.AWS.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatusResponse
- Network.AWS.Organizations.DescribeCreateAccountStatus: instance GHC.Generics.Generic Network.AWS.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
- Network.AWS.Organizations.DescribeCreateAccountStatus: instance GHC.Generics.Generic Network.AWS.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatusResponse
- Network.AWS.Organizations.DescribeCreateAccountStatus: instance GHC.Read.Read Network.AWS.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
- Network.AWS.Organizations.DescribeCreateAccountStatus: instance GHC.Show.Show Network.AWS.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
- Network.AWS.Organizations.DescribeCreateAccountStatus: instance GHC.Show.Show Network.AWS.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatusResponse
- Network.AWS.Organizations.DescribeCreateAccountStatus: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
- Network.AWS.Organizations.DescribeCreateAccountStatus: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
- Network.AWS.Organizations.DescribeCreateAccountStatus: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
- Network.AWS.Organizations.DescribeCreateAccountStatus: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
- Network.AWS.Organizations.DescribeHandshake: data DescribeHandshake
- Network.AWS.Organizations.DescribeHandshake: data DescribeHandshakeResponse
- Network.AWS.Organizations.DescribeHandshake: describeHandshake :: Text -> DescribeHandshake
- Network.AWS.Organizations.DescribeHandshake: describeHandshakeResponse :: Int -> DescribeHandshakeResponse
- Network.AWS.Organizations.DescribeHandshake: dhHandshakeId :: Lens' DescribeHandshake Text
- Network.AWS.Organizations.DescribeHandshake: dhrsHandshake :: Lens' DescribeHandshakeResponse (Maybe Handshake)
- Network.AWS.Organizations.DescribeHandshake: dhrsResponseStatus :: Lens' DescribeHandshakeResponse Int
- Network.AWS.Organizations.DescribeHandshake: instance Control.DeepSeq.NFData Network.AWS.Organizations.DescribeHandshake.DescribeHandshake
- Network.AWS.Organizations.DescribeHandshake: instance Control.DeepSeq.NFData Network.AWS.Organizations.DescribeHandshake.DescribeHandshakeResponse
- Network.AWS.Organizations.DescribeHandshake: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.DescribeHandshake.DescribeHandshake
- Network.AWS.Organizations.DescribeHandshake: instance Data.Data.Data Network.AWS.Organizations.DescribeHandshake.DescribeHandshake
- Network.AWS.Organizations.DescribeHandshake: instance Data.Data.Data Network.AWS.Organizations.DescribeHandshake.DescribeHandshakeResponse
- Network.AWS.Organizations.DescribeHandshake: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.DescribeHandshake.DescribeHandshake
- Network.AWS.Organizations.DescribeHandshake: instance GHC.Classes.Eq Network.AWS.Organizations.DescribeHandshake.DescribeHandshake
- Network.AWS.Organizations.DescribeHandshake: instance GHC.Classes.Eq Network.AWS.Organizations.DescribeHandshake.DescribeHandshakeResponse
- Network.AWS.Organizations.DescribeHandshake: instance GHC.Generics.Generic Network.AWS.Organizations.DescribeHandshake.DescribeHandshake
- Network.AWS.Organizations.DescribeHandshake: instance GHC.Generics.Generic Network.AWS.Organizations.DescribeHandshake.DescribeHandshakeResponse
- Network.AWS.Organizations.DescribeHandshake: instance GHC.Read.Read Network.AWS.Organizations.DescribeHandshake.DescribeHandshake
- Network.AWS.Organizations.DescribeHandshake: instance GHC.Show.Show Network.AWS.Organizations.DescribeHandshake.DescribeHandshake
- Network.AWS.Organizations.DescribeHandshake: instance GHC.Show.Show Network.AWS.Organizations.DescribeHandshake.DescribeHandshakeResponse
- Network.AWS.Organizations.DescribeHandshake: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.DescribeHandshake.DescribeHandshake
- Network.AWS.Organizations.DescribeHandshake: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.DescribeHandshake.DescribeHandshake
- Network.AWS.Organizations.DescribeHandshake: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.DescribeHandshake.DescribeHandshake
- Network.AWS.Organizations.DescribeHandshake: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.DescribeHandshake.DescribeHandshake
- Network.AWS.Organizations.DescribeOrganization: data DescribeOrganization
- Network.AWS.Organizations.DescribeOrganization: data DescribeOrganizationResponse
- Network.AWS.Organizations.DescribeOrganization: describeOrganization :: DescribeOrganization
- Network.AWS.Organizations.DescribeOrganization: describeOrganizationResponse :: Int -> DescribeOrganizationResponse
- Network.AWS.Organizations.DescribeOrganization: dorsOrganization :: Lens' DescribeOrganizationResponse (Maybe Organization)
- Network.AWS.Organizations.DescribeOrganization: dorsResponseStatus :: Lens' DescribeOrganizationResponse Int
- Network.AWS.Organizations.DescribeOrganization: instance Control.DeepSeq.NFData Network.AWS.Organizations.DescribeOrganization.DescribeOrganization
- Network.AWS.Organizations.DescribeOrganization: instance Control.DeepSeq.NFData Network.AWS.Organizations.DescribeOrganization.DescribeOrganizationResponse
- Network.AWS.Organizations.DescribeOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.DescribeOrganization.DescribeOrganization
- Network.AWS.Organizations.DescribeOrganization: instance Data.Data.Data Network.AWS.Organizations.DescribeOrganization.DescribeOrganization
- Network.AWS.Organizations.DescribeOrganization: instance Data.Data.Data Network.AWS.Organizations.DescribeOrganization.DescribeOrganizationResponse
- Network.AWS.Organizations.DescribeOrganization: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.DescribeOrganization.DescribeOrganization
- Network.AWS.Organizations.DescribeOrganization: instance GHC.Classes.Eq Network.AWS.Organizations.DescribeOrganization.DescribeOrganization
- Network.AWS.Organizations.DescribeOrganization: instance GHC.Classes.Eq Network.AWS.Organizations.DescribeOrganization.DescribeOrganizationResponse
- Network.AWS.Organizations.DescribeOrganization: instance GHC.Generics.Generic Network.AWS.Organizations.DescribeOrganization.DescribeOrganization
- Network.AWS.Organizations.DescribeOrganization: instance GHC.Generics.Generic Network.AWS.Organizations.DescribeOrganization.DescribeOrganizationResponse
- Network.AWS.Organizations.DescribeOrganization: instance GHC.Read.Read Network.AWS.Organizations.DescribeOrganization.DescribeOrganization
- Network.AWS.Organizations.DescribeOrganization: instance GHC.Show.Show Network.AWS.Organizations.DescribeOrganization.DescribeOrganization
- Network.AWS.Organizations.DescribeOrganization: instance GHC.Show.Show Network.AWS.Organizations.DescribeOrganization.DescribeOrganizationResponse
- Network.AWS.Organizations.DescribeOrganization: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.DescribeOrganization.DescribeOrganization
- Network.AWS.Organizations.DescribeOrganization: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.DescribeOrganization.DescribeOrganization
- Network.AWS.Organizations.DescribeOrganization: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.DescribeOrganization.DescribeOrganization
- Network.AWS.Organizations.DescribeOrganization: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.DescribeOrganization.DescribeOrganization
- Network.AWS.Organizations.DescribeOrganizationalUnit: data DescribeOrganizationalUnit
- Network.AWS.Organizations.DescribeOrganizationalUnit: data DescribeOrganizationalUnitResponse
- Network.AWS.Organizations.DescribeOrganizationalUnit: describeOrganizationalUnit :: Text -> DescribeOrganizationalUnit
- Network.AWS.Organizations.DescribeOrganizationalUnit: describeOrganizationalUnitResponse :: Int -> DescribeOrganizationalUnitResponse
- Network.AWS.Organizations.DescribeOrganizationalUnit: douOrganizationalUnitId :: Lens' DescribeOrganizationalUnit Text
- Network.AWS.Organizations.DescribeOrganizationalUnit: doursOrganizationalUnit :: Lens' DescribeOrganizationalUnitResponse (Maybe OrganizationalUnit)
- Network.AWS.Organizations.DescribeOrganizationalUnit: doursResponseStatus :: Lens' DescribeOrganizationalUnitResponse Int
- Network.AWS.Organizations.DescribeOrganizationalUnit: instance Control.DeepSeq.NFData Network.AWS.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
- Network.AWS.Organizations.DescribeOrganizationalUnit: instance Control.DeepSeq.NFData Network.AWS.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnitResponse
- Network.AWS.Organizations.DescribeOrganizationalUnit: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
- Network.AWS.Organizations.DescribeOrganizationalUnit: instance Data.Data.Data Network.AWS.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
- Network.AWS.Organizations.DescribeOrganizationalUnit: instance Data.Data.Data Network.AWS.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnitResponse
- Network.AWS.Organizations.DescribeOrganizationalUnit: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
- Network.AWS.Organizations.DescribeOrganizationalUnit: instance GHC.Classes.Eq Network.AWS.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
- Network.AWS.Organizations.DescribeOrganizationalUnit: instance GHC.Classes.Eq Network.AWS.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnitResponse
- Network.AWS.Organizations.DescribeOrganizationalUnit: instance GHC.Generics.Generic Network.AWS.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
- Network.AWS.Organizations.DescribeOrganizationalUnit: instance GHC.Generics.Generic Network.AWS.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnitResponse
- Network.AWS.Organizations.DescribeOrganizationalUnit: instance GHC.Read.Read Network.AWS.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
- Network.AWS.Organizations.DescribeOrganizationalUnit: instance GHC.Read.Read Network.AWS.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnitResponse
- Network.AWS.Organizations.DescribeOrganizationalUnit: instance GHC.Show.Show Network.AWS.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
- Network.AWS.Organizations.DescribeOrganizationalUnit: instance GHC.Show.Show Network.AWS.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnitResponse
- Network.AWS.Organizations.DescribeOrganizationalUnit: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
- Network.AWS.Organizations.DescribeOrganizationalUnit: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
- Network.AWS.Organizations.DescribeOrganizationalUnit: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
- Network.AWS.Organizations.DescribeOrganizationalUnit: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
- Network.AWS.Organizations.DescribePolicy: data DescribePolicy
- Network.AWS.Organizations.DescribePolicy: data DescribePolicyResponse
- Network.AWS.Organizations.DescribePolicy: describePolicy :: Text -> DescribePolicy
- Network.AWS.Organizations.DescribePolicy: describePolicyResponse :: Int -> DescribePolicyResponse
- Network.AWS.Organizations.DescribePolicy: dpPolicyId :: Lens' DescribePolicy Text
- Network.AWS.Organizations.DescribePolicy: dprsPolicy :: Lens' DescribePolicyResponse (Maybe Policy)
- Network.AWS.Organizations.DescribePolicy: dprsResponseStatus :: Lens' DescribePolicyResponse Int
- Network.AWS.Organizations.DescribePolicy: instance Control.DeepSeq.NFData Network.AWS.Organizations.DescribePolicy.DescribePolicy
- Network.AWS.Organizations.DescribePolicy: instance Control.DeepSeq.NFData Network.AWS.Organizations.DescribePolicy.DescribePolicyResponse
- Network.AWS.Organizations.DescribePolicy: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.DescribePolicy.DescribePolicy
- Network.AWS.Organizations.DescribePolicy: instance Data.Data.Data Network.AWS.Organizations.DescribePolicy.DescribePolicy
- Network.AWS.Organizations.DescribePolicy: instance Data.Data.Data Network.AWS.Organizations.DescribePolicy.DescribePolicyResponse
- Network.AWS.Organizations.DescribePolicy: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.DescribePolicy.DescribePolicy
- Network.AWS.Organizations.DescribePolicy: instance GHC.Classes.Eq Network.AWS.Organizations.DescribePolicy.DescribePolicy
- Network.AWS.Organizations.DescribePolicy: instance GHC.Classes.Eq Network.AWS.Organizations.DescribePolicy.DescribePolicyResponse
- Network.AWS.Organizations.DescribePolicy: instance GHC.Generics.Generic Network.AWS.Organizations.DescribePolicy.DescribePolicy
- Network.AWS.Organizations.DescribePolicy: instance GHC.Generics.Generic Network.AWS.Organizations.DescribePolicy.DescribePolicyResponse
- Network.AWS.Organizations.DescribePolicy: instance GHC.Read.Read Network.AWS.Organizations.DescribePolicy.DescribePolicy
- Network.AWS.Organizations.DescribePolicy: instance GHC.Read.Read Network.AWS.Organizations.DescribePolicy.DescribePolicyResponse
- Network.AWS.Organizations.DescribePolicy: instance GHC.Show.Show Network.AWS.Organizations.DescribePolicy.DescribePolicy
- Network.AWS.Organizations.DescribePolicy: instance GHC.Show.Show Network.AWS.Organizations.DescribePolicy.DescribePolicyResponse
- Network.AWS.Organizations.DescribePolicy: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.DescribePolicy.DescribePolicy
- Network.AWS.Organizations.DescribePolicy: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.DescribePolicy.DescribePolicy
- Network.AWS.Organizations.DescribePolicy: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.DescribePolicy.DescribePolicy
- Network.AWS.Organizations.DescribePolicy: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.DescribePolicy.DescribePolicy
- Network.AWS.Organizations.DetachPolicy: data DetachPolicy
- Network.AWS.Organizations.DetachPolicy: data DetachPolicyResponse
- Network.AWS.Organizations.DetachPolicy: detPolicyId :: Lens' DetachPolicy Text
- Network.AWS.Organizations.DetachPolicy: detTargetId :: Lens' DetachPolicy Text
- Network.AWS.Organizations.DetachPolicy: detachPolicy :: Text -> Text -> DetachPolicy
- Network.AWS.Organizations.DetachPolicy: detachPolicyResponse :: DetachPolicyResponse
- Network.AWS.Organizations.DetachPolicy: instance Control.DeepSeq.NFData Network.AWS.Organizations.DetachPolicy.DetachPolicy
- Network.AWS.Organizations.DetachPolicy: instance Control.DeepSeq.NFData Network.AWS.Organizations.DetachPolicy.DetachPolicyResponse
- Network.AWS.Organizations.DetachPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.DetachPolicy.DetachPolicy
- Network.AWS.Organizations.DetachPolicy: instance Data.Data.Data Network.AWS.Organizations.DetachPolicy.DetachPolicy
- Network.AWS.Organizations.DetachPolicy: instance Data.Data.Data Network.AWS.Organizations.DetachPolicy.DetachPolicyResponse
- Network.AWS.Organizations.DetachPolicy: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.DetachPolicy.DetachPolicy
- Network.AWS.Organizations.DetachPolicy: instance GHC.Classes.Eq Network.AWS.Organizations.DetachPolicy.DetachPolicy
- Network.AWS.Organizations.DetachPolicy: instance GHC.Classes.Eq Network.AWS.Organizations.DetachPolicy.DetachPolicyResponse
- Network.AWS.Organizations.DetachPolicy: instance GHC.Generics.Generic Network.AWS.Organizations.DetachPolicy.DetachPolicy
- Network.AWS.Organizations.DetachPolicy: instance GHC.Generics.Generic Network.AWS.Organizations.DetachPolicy.DetachPolicyResponse
- Network.AWS.Organizations.DetachPolicy: instance GHC.Read.Read Network.AWS.Organizations.DetachPolicy.DetachPolicy
- Network.AWS.Organizations.DetachPolicy: instance GHC.Read.Read Network.AWS.Organizations.DetachPolicy.DetachPolicyResponse
- Network.AWS.Organizations.DetachPolicy: instance GHC.Show.Show Network.AWS.Organizations.DetachPolicy.DetachPolicy
- Network.AWS.Organizations.DetachPolicy: instance GHC.Show.Show Network.AWS.Organizations.DetachPolicy.DetachPolicyResponse
- Network.AWS.Organizations.DetachPolicy: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.DetachPolicy.DetachPolicy
- Network.AWS.Organizations.DetachPolicy: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.DetachPolicy.DetachPolicy
- Network.AWS.Organizations.DetachPolicy: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.DetachPolicy.DetachPolicy
- Network.AWS.Organizations.DetachPolicy: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.DetachPolicy.DetachPolicy
- Network.AWS.Organizations.DisableAWSServiceAccess: dasaServicePrincipal :: Lens' DisableAWSServiceAccess Text
- Network.AWS.Organizations.DisableAWSServiceAccess: data DisableAWSServiceAccess
- Network.AWS.Organizations.DisableAWSServiceAccess: data DisableAWSServiceAccessResponse
- Network.AWS.Organizations.DisableAWSServiceAccess: disableAWSServiceAccess :: Text -> DisableAWSServiceAccess
- Network.AWS.Organizations.DisableAWSServiceAccess: disableAWSServiceAccessResponse :: DisableAWSServiceAccessResponse
- Network.AWS.Organizations.DisableAWSServiceAccess: instance Control.DeepSeq.NFData Network.AWS.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
- Network.AWS.Organizations.DisableAWSServiceAccess: instance Control.DeepSeq.NFData Network.AWS.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccessResponse
- Network.AWS.Organizations.DisableAWSServiceAccess: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
- Network.AWS.Organizations.DisableAWSServiceAccess: instance Data.Data.Data Network.AWS.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
- Network.AWS.Organizations.DisableAWSServiceAccess: instance Data.Data.Data Network.AWS.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccessResponse
- Network.AWS.Organizations.DisableAWSServiceAccess: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
- Network.AWS.Organizations.DisableAWSServiceAccess: instance GHC.Classes.Eq Network.AWS.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
- Network.AWS.Organizations.DisableAWSServiceAccess: instance GHC.Classes.Eq Network.AWS.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccessResponse
- Network.AWS.Organizations.DisableAWSServiceAccess: instance GHC.Generics.Generic Network.AWS.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
- Network.AWS.Organizations.DisableAWSServiceAccess: instance GHC.Generics.Generic Network.AWS.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccessResponse
- Network.AWS.Organizations.DisableAWSServiceAccess: instance GHC.Read.Read Network.AWS.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
- Network.AWS.Organizations.DisableAWSServiceAccess: instance GHC.Read.Read Network.AWS.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccessResponse
- Network.AWS.Organizations.DisableAWSServiceAccess: instance GHC.Show.Show Network.AWS.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
- Network.AWS.Organizations.DisableAWSServiceAccess: instance GHC.Show.Show Network.AWS.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccessResponse
- Network.AWS.Organizations.DisableAWSServiceAccess: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
- Network.AWS.Organizations.DisableAWSServiceAccess: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
- Network.AWS.Organizations.DisableAWSServiceAccess: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
- Network.AWS.Organizations.DisableAWSServiceAccess: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
- Network.AWS.Organizations.DisablePolicyType: data DisablePolicyType
- Network.AWS.Organizations.DisablePolicyType: data DisablePolicyTypeResponse
- Network.AWS.Organizations.DisablePolicyType: disablePolicyType :: Text -> PolicyType -> DisablePolicyType
- Network.AWS.Organizations.DisablePolicyType: disablePolicyTypeResponse :: Int -> DisablePolicyTypeResponse
- Network.AWS.Organizations.DisablePolicyType: dptPolicyType :: Lens' DisablePolicyType PolicyType
- Network.AWS.Organizations.DisablePolicyType: dptRootId :: Lens' DisablePolicyType Text
- Network.AWS.Organizations.DisablePolicyType: dptrsResponseStatus :: Lens' DisablePolicyTypeResponse Int
- Network.AWS.Organizations.DisablePolicyType: dptrsRoot :: Lens' DisablePolicyTypeResponse (Maybe Root)
- Network.AWS.Organizations.DisablePolicyType: instance Control.DeepSeq.NFData Network.AWS.Organizations.DisablePolicyType.DisablePolicyType
- Network.AWS.Organizations.DisablePolicyType: instance Control.DeepSeq.NFData Network.AWS.Organizations.DisablePolicyType.DisablePolicyTypeResponse
- Network.AWS.Organizations.DisablePolicyType: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.DisablePolicyType.DisablePolicyType
- Network.AWS.Organizations.DisablePolicyType: instance Data.Data.Data Network.AWS.Organizations.DisablePolicyType.DisablePolicyType
- Network.AWS.Organizations.DisablePolicyType: instance Data.Data.Data Network.AWS.Organizations.DisablePolicyType.DisablePolicyTypeResponse
- Network.AWS.Organizations.DisablePolicyType: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.DisablePolicyType.DisablePolicyType
- Network.AWS.Organizations.DisablePolicyType: instance GHC.Classes.Eq Network.AWS.Organizations.DisablePolicyType.DisablePolicyType
- Network.AWS.Organizations.DisablePolicyType: instance GHC.Classes.Eq Network.AWS.Organizations.DisablePolicyType.DisablePolicyTypeResponse
- Network.AWS.Organizations.DisablePolicyType: instance GHC.Generics.Generic Network.AWS.Organizations.DisablePolicyType.DisablePolicyType
- Network.AWS.Organizations.DisablePolicyType: instance GHC.Generics.Generic Network.AWS.Organizations.DisablePolicyType.DisablePolicyTypeResponse
- Network.AWS.Organizations.DisablePolicyType: instance GHC.Read.Read Network.AWS.Organizations.DisablePolicyType.DisablePolicyType
- Network.AWS.Organizations.DisablePolicyType: instance GHC.Read.Read Network.AWS.Organizations.DisablePolicyType.DisablePolicyTypeResponse
- Network.AWS.Organizations.DisablePolicyType: instance GHC.Show.Show Network.AWS.Organizations.DisablePolicyType.DisablePolicyType
- Network.AWS.Organizations.DisablePolicyType: instance GHC.Show.Show Network.AWS.Organizations.DisablePolicyType.DisablePolicyTypeResponse
- Network.AWS.Organizations.DisablePolicyType: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.DisablePolicyType.DisablePolicyType
- Network.AWS.Organizations.DisablePolicyType: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.DisablePolicyType.DisablePolicyType
- Network.AWS.Organizations.DisablePolicyType: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.DisablePolicyType.DisablePolicyType
- Network.AWS.Organizations.DisablePolicyType: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.DisablePolicyType.DisablePolicyType
- Network.AWS.Organizations.EnableAWSServiceAccess: data EnableAWSServiceAccess
- Network.AWS.Organizations.EnableAWSServiceAccess: data EnableAWSServiceAccessResponse
- Network.AWS.Organizations.EnableAWSServiceAccess: easaServicePrincipal :: Lens' EnableAWSServiceAccess Text
- Network.AWS.Organizations.EnableAWSServiceAccess: enableAWSServiceAccess :: Text -> EnableAWSServiceAccess
- Network.AWS.Organizations.EnableAWSServiceAccess: enableAWSServiceAccessResponse :: EnableAWSServiceAccessResponse
- Network.AWS.Organizations.EnableAWSServiceAccess: instance Control.DeepSeq.NFData Network.AWS.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
- Network.AWS.Organizations.EnableAWSServiceAccess: instance Control.DeepSeq.NFData Network.AWS.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccessResponse
- Network.AWS.Organizations.EnableAWSServiceAccess: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
- Network.AWS.Organizations.EnableAWSServiceAccess: instance Data.Data.Data Network.AWS.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
- Network.AWS.Organizations.EnableAWSServiceAccess: instance Data.Data.Data Network.AWS.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccessResponse
- Network.AWS.Organizations.EnableAWSServiceAccess: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
- Network.AWS.Organizations.EnableAWSServiceAccess: instance GHC.Classes.Eq Network.AWS.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
- Network.AWS.Organizations.EnableAWSServiceAccess: instance GHC.Classes.Eq Network.AWS.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccessResponse
- Network.AWS.Organizations.EnableAWSServiceAccess: instance GHC.Generics.Generic Network.AWS.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
- Network.AWS.Organizations.EnableAWSServiceAccess: instance GHC.Generics.Generic Network.AWS.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccessResponse
- Network.AWS.Organizations.EnableAWSServiceAccess: instance GHC.Read.Read Network.AWS.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
- Network.AWS.Organizations.EnableAWSServiceAccess: instance GHC.Read.Read Network.AWS.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccessResponse
- Network.AWS.Organizations.EnableAWSServiceAccess: instance GHC.Show.Show Network.AWS.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
- Network.AWS.Organizations.EnableAWSServiceAccess: instance GHC.Show.Show Network.AWS.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccessResponse
- Network.AWS.Organizations.EnableAWSServiceAccess: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
- Network.AWS.Organizations.EnableAWSServiceAccess: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
- Network.AWS.Organizations.EnableAWSServiceAccess: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
- Network.AWS.Organizations.EnableAWSServiceAccess: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
- Network.AWS.Organizations.EnableAllFeatures: data EnableAllFeatures
- Network.AWS.Organizations.EnableAllFeatures: data EnableAllFeaturesResponse
- Network.AWS.Organizations.EnableAllFeatures: eafrsHandshake :: Lens' EnableAllFeaturesResponse (Maybe Handshake)
- Network.AWS.Organizations.EnableAllFeatures: eafrsResponseStatus :: Lens' EnableAllFeaturesResponse Int
- Network.AWS.Organizations.EnableAllFeatures: enableAllFeatures :: EnableAllFeatures
- Network.AWS.Organizations.EnableAllFeatures: enableAllFeaturesResponse :: Int -> EnableAllFeaturesResponse
- Network.AWS.Organizations.EnableAllFeatures: instance Control.DeepSeq.NFData Network.AWS.Organizations.EnableAllFeatures.EnableAllFeatures
- Network.AWS.Organizations.EnableAllFeatures: instance Control.DeepSeq.NFData Network.AWS.Organizations.EnableAllFeatures.EnableAllFeaturesResponse
- Network.AWS.Organizations.EnableAllFeatures: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.EnableAllFeatures.EnableAllFeatures
- Network.AWS.Organizations.EnableAllFeatures: instance Data.Data.Data Network.AWS.Organizations.EnableAllFeatures.EnableAllFeatures
- Network.AWS.Organizations.EnableAllFeatures: instance Data.Data.Data Network.AWS.Organizations.EnableAllFeatures.EnableAllFeaturesResponse
- Network.AWS.Organizations.EnableAllFeatures: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.EnableAllFeatures.EnableAllFeatures
- Network.AWS.Organizations.EnableAllFeatures: instance GHC.Classes.Eq Network.AWS.Organizations.EnableAllFeatures.EnableAllFeatures
- Network.AWS.Organizations.EnableAllFeatures: instance GHC.Classes.Eq Network.AWS.Organizations.EnableAllFeatures.EnableAllFeaturesResponse
- Network.AWS.Organizations.EnableAllFeatures: instance GHC.Generics.Generic Network.AWS.Organizations.EnableAllFeatures.EnableAllFeatures
- Network.AWS.Organizations.EnableAllFeatures: instance GHC.Generics.Generic Network.AWS.Organizations.EnableAllFeatures.EnableAllFeaturesResponse
- Network.AWS.Organizations.EnableAllFeatures: instance GHC.Read.Read Network.AWS.Organizations.EnableAllFeatures.EnableAllFeatures
- Network.AWS.Organizations.EnableAllFeatures: instance GHC.Show.Show Network.AWS.Organizations.EnableAllFeatures.EnableAllFeatures
- Network.AWS.Organizations.EnableAllFeatures: instance GHC.Show.Show Network.AWS.Organizations.EnableAllFeatures.EnableAllFeaturesResponse
- Network.AWS.Organizations.EnableAllFeatures: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.EnableAllFeatures.EnableAllFeatures
- Network.AWS.Organizations.EnableAllFeatures: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.EnableAllFeatures.EnableAllFeatures
- Network.AWS.Organizations.EnableAllFeatures: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.EnableAllFeatures.EnableAllFeatures
- Network.AWS.Organizations.EnableAllFeatures: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.EnableAllFeatures.EnableAllFeatures
- Network.AWS.Organizations.EnablePolicyType: data EnablePolicyType
- Network.AWS.Organizations.EnablePolicyType: data EnablePolicyTypeResponse
- Network.AWS.Organizations.EnablePolicyType: enablePolicyType :: Text -> PolicyType -> EnablePolicyType
- Network.AWS.Organizations.EnablePolicyType: enablePolicyTypeResponse :: Int -> EnablePolicyTypeResponse
- Network.AWS.Organizations.EnablePolicyType: eptPolicyType :: Lens' EnablePolicyType PolicyType
- Network.AWS.Organizations.EnablePolicyType: eptRootId :: Lens' EnablePolicyType Text
- Network.AWS.Organizations.EnablePolicyType: eptrsResponseStatus :: Lens' EnablePolicyTypeResponse Int
- Network.AWS.Organizations.EnablePolicyType: eptrsRoot :: Lens' EnablePolicyTypeResponse (Maybe Root)
- Network.AWS.Organizations.EnablePolicyType: instance Control.DeepSeq.NFData Network.AWS.Organizations.EnablePolicyType.EnablePolicyType
- Network.AWS.Organizations.EnablePolicyType: instance Control.DeepSeq.NFData Network.AWS.Organizations.EnablePolicyType.EnablePolicyTypeResponse
- Network.AWS.Organizations.EnablePolicyType: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.EnablePolicyType.EnablePolicyType
- Network.AWS.Organizations.EnablePolicyType: instance Data.Data.Data Network.AWS.Organizations.EnablePolicyType.EnablePolicyType
- Network.AWS.Organizations.EnablePolicyType: instance Data.Data.Data Network.AWS.Organizations.EnablePolicyType.EnablePolicyTypeResponse
- Network.AWS.Organizations.EnablePolicyType: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.EnablePolicyType.EnablePolicyType
- Network.AWS.Organizations.EnablePolicyType: instance GHC.Classes.Eq Network.AWS.Organizations.EnablePolicyType.EnablePolicyType
- Network.AWS.Organizations.EnablePolicyType: instance GHC.Classes.Eq Network.AWS.Organizations.EnablePolicyType.EnablePolicyTypeResponse
- Network.AWS.Organizations.EnablePolicyType: instance GHC.Generics.Generic Network.AWS.Organizations.EnablePolicyType.EnablePolicyType
- Network.AWS.Organizations.EnablePolicyType: instance GHC.Generics.Generic Network.AWS.Organizations.EnablePolicyType.EnablePolicyTypeResponse
- Network.AWS.Organizations.EnablePolicyType: instance GHC.Read.Read Network.AWS.Organizations.EnablePolicyType.EnablePolicyType
- Network.AWS.Organizations.EnablePolicyType: instance GHC.Read.Read Network.AWS.Organizations.EnablePolicyType.EnablePolicyTypeResponse
- Network.AWS.Organizations.EnablePolicyType: instance GHC.Show.Show Network.AWS.Organizations.EnablePolicyType.EnablePolicyType
- Network.AWS.Organizations.EnablePolicyType: instance GHC.Show.Show Network.AWS.Organizations.EnablePolicyType.EnablePolicyTypeResponse
- Network.AWS.Organizations.EnablePolicyType: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.EnablePolicyType.EnablePolicyType
- Network.AWS.Organizations.EnablePolicyType: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.EnablePolicyType.EnablePolicyType
- Network.AWS.Organizations.EnablePolicyType: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.EnablePolicyType.EnablePolicyType
- Network.AWS.Organizations.EnablePolicyType: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.EnablePolicyType.EnablePolicyType
- Network.AWS.Organizations.InviteAccountToOrganization: data InviteAccountToOrganization
- Network.AWS.Organizations.InviteAccountToOrganization: data InviteAccountToOrganizationResponse
- Network.AWS.Organizations.InviteAccountToOrganization: iatoNotes :: Lens' InviteAccountToOrganization (Maybe Text)
- Network.AWS.Organizations.InviteAccountToOrganization: iatoTarget :: Lens' InviteAccountToOrganization HandshakeParty
- Network.AWS.Organizations.InviteAccountToOrganization: iatorsHandshake :: Lens' InviteAccountToOrganizationResponse (Maybe Handshake)
- Network.AWS.Organizations.InviteAccountToOrganization: iatorsResponseStatus :: Lens' InviteAccountToOrganizationResponse Int
- Network.AWS.Organizations.InviteAccountToOrganization: instance Control.DeepSeq.NFData Network.AWS.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
- Network.AWS.Organizations.InviteAccountToOrganization: instance Control.DeepSeq.NFData Network.AWS.Organizations.InviteAccountToOrganization.InviteAccountToOrganizationResponse
- Network.AWS.Organizations.InviteAccountToOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
- Network.AWS.Organizations.InviteAccountToOrganization: instance Data.Data.Data Network.AWS.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
- Network.AWS.Organizations.InviteAccountToOrganization: instance Data.Data.Data Network.AWS.Organizations.InviteAccountToOrganization.InviteAccountToOrganizationResponse
- Network.AWS.Organizations.InviteAccountToOrganization: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
- Network.AWS.Organizations.InviteAccountToOrganization: instance GHC.Classes.Eq Network.AWS.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
- Network.AWS.Organizations.InviteAccountToOrganization: instance GHC.Classes.Eq Network.AWS.Organizations.InviteAccountToOrganization.InviteAccountToOrganizationResponse
- Network.AWS.Organizations.InviteAccountToOrganization: instance GHC.Generics.Generic Network.AWS.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
- Network.AWS.Organizations.InviteAccountToOrganization: instance GHC.Generics.Generic Network.AWS.Organizations.InviteAccountToOrganization.InviteAccountToOrganizationResponse
- Network.AWS.Organizations.InviteAccountToOrganization: instance GHC.Show.Show Network.AWS.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
- Network.AWS.Organizations.InviteAccountToOrganization: instance GHC.Show.Show Network.AWS.Organizations.InviteAccountToOrganization.InviteAccountToOrganizationResponse
- Network.AWS.Organizations.InviteAccountToOrganization: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
- Network.AWS.Organizations.InviteAccountToOrganization: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
- Network.AWS.Organizations.InviteAccountToOrganization: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
- Network.AWS.Organizations.InviteAccountToOrganization: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
- Network.AWS.Organizations.InviteAccountToOrganization: inviteAccountToOrganization :: HandshakeParty -> InviteAccountToOrganization
- Network.AWS.Organizations.InviteAccountToOrganization: inviteAccountToOrganizationResponse :: Int -> InviteAccountToOrganizationResponse
- Network.AWS.Organizations.LeaveOrganization: data LeaveOrganization
- Network.AWS.Organizations.LeaveOrganization: data LeaveOrganizationResponse
- Network.AWS.Organizations.LeaveOrganization: instance Control.DeepSeq.NFData Network.AWS.Organizations.LeaveOrganization.LeaveOrganization
- Network.AWS.Organizations.LeaveOrganization: instance Control.DeepSeq.NFData Network.AWS.Organizations.LeaveOrganization.LeaveOrganizationResponse
- Network.AWS.Organizations.LeaveOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.LeaveOrganization.LeaveOrganization
- Network.AWS.Organizations.LeaveOrganization: instance Data.Data.Data Network.AWS.Organizations.LeaveOrganization.LeaveOrganization
- Network.AWS.Organizations.LeaveOrganization: instance Data.Data.Data Network.AWS.Organizations.LeaveOrganization.LeaveOrganizationResponse
- Network.AWS.Organizations.LeaveOrganization: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.LeaveOrganization.LeaveOrganization
- Network.AWS.Organizations.LeaveOrganization: instance GHC.Classes.Eq Network.AWS.Organizations.LeaveOrganization.LeaveOrganization
- Network.AWS.Organizations.LeaveOrganization: instance GHC.Classes.Eq Network.AWS.Organizations.LeaveOrganization.LeaveOrganizationResponse
- Network.AWS.Organizations.LeaveOrganization: instance GHC.Generics.Generic Network.AWS.Organizations.LeaveOrganization.LeaveOrganization
- Network.AWS.Organizations.LeaveOrganization: instance GHC.Generics.Generic Network.AWS.Organizations.LeaveOrganization.LeaveOrganizationResponse
- Network.AWS.Organizations.LeaveOrganization: instance GHC.Read.Read Network.AWS.Organizations.LeaveOrganization.LeaveOrganization
- Network.AWS.Organizations.LeaveOrganization: instance GHC.Read.Read Network.AWS.Organizations.LeaveOrganization.LeaveOrganizationResponse
- Network.AWS.Organizations.LeaveOrganization: instance GHC.Show.Show Network.AWS.Organizations.LeaveOrganization.LeaveOrganization
- Network.AWS.Organizations.LeaveOrganization: instance GHC.Show.Show Network.AWS.Organizations.LeaveOrganization.LeaveOrganizationResponse
- Network.AWS.Organizations.LeaveOrganization: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.LeaveOrganization.LeaveOrganization
- Network.AWS.Organizations.LeaveOrganization: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.LeaveOrganization.LeaveOrganization
- Network.AWS.Organizations.LeaveOrganization: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.LeaveOrganization.LeaveOrganization
- Network.AWS.Organizations.LeaveOrganization: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.LeaveOrganization.LeaveOrganization
- Network.AWS.Organizations.LeaveOrganization: leaveOrganization :: LeaveOrganization
- Network.AWS.Organizations.LeaveOrganization: leaveOrganizationResponse :: LeaveOrganizationResponse
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: data ListAWSServiceAccessForOrganization
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: data ListAWSServiceAccessForOrganizationResponse
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganizationResponse
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance Data.Data.Data Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance Data.Data.Data Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganizationResponse
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance GHC.Classes.Eq Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance GHC.Classes.Eq Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganizationResponse
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance GHC.Generics.Generic Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance GHC.Generics.Generic Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganizationResponse
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance GHC.Read.Read Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance GHC.Read.Read Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganizationResponse
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance GHC.Show.Show Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance GHC.Show.Show Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganizationResponse
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance Network.AWS.Pager.AWSPager Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: lasafoMaxResults :: Lens' ListAWSServiceAccessForOrganization (Maybe Natural)
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: lasafoNextToken :: Lens' ListAWSServiceAccessForOrganization (Maybe Text)
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: lasaforsEnabledServicePrincipals :: Lens' ListAWSServiceAccessForOrganizationResponse [EnabledServicePrincipal]
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: lasaforsNextToken :: Lens' ListAWSServiceAccessForOrganizationResponse (Maybe Text)
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: lasaforsResponseStatus :: Lens' ListAWSServiceAccessForOrganizationResponse Int
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: listAWSServiceAccessForOrganization :: ListAWSServiceAccessForOrganization
- Network.AWS.Organizations.ListAWSServiceAccessForOrganization: listAWSServiceAccessForOrganizationResponse :: Int -> ListAWSServiceAccessForOrganizationResponse
- Network.AWS.Organizations.ListAccounts: data ListAccounts
- Network.AWS.Organizations.ListAccounts: data ListAccountsResponse
- Network.AWS.Organizations.ListAccounts: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListAccounts.ListAccounts
- Network.AWS.Organizations.ListAccounts: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListAccounts.ListAccountsResponse
- Network.AWS.Organizations.ListAccounts: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.ListAccounts.ListAccounts
- Network.AWS.Organizations.ListAccounts: instance Data.Data.Data Network.AWS.Organizations.ListAccounts.ListAccounts
- Network.AWS.Organizations.ListAccounts: instance Data.Data.Data Network.AWS.Organizations.ListAccounts.ListAccountsResponse
- Network.AWS.Organizations.ListAccounts: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.ListAccounts.ListAccounts
- Network.AWS.Organizations.ListAccounts: instance GHC.Classes.Eq Network.AWS.Organizations.ListAccounts.ListAccounts
- Network.AWS.Organizations.ListAccounts: instance GHC.Classes.Eq Network.AWS.Organizations.ListAccounts.ListAccountsResponse
- Network.AWS.Organizations.ListAccounts: instance GHC.Generics.Generic Network.AWS.Organizations.ListAccounts.ListAccounts
- Network.AWS.Organizations.ListAccounts: instance GHC.Generics.Generic Network.AWS.Organizations.ListAccounts.ListAccountsResponse
- Network.AWS.Organizations.ListAccounts: instance GHC.Read.Read Network.AWS.Organizations.ListAccounts.ListAccounts
- Network.AWS.Organizations.ListAccounts: instance GHC.Show.Show Network.AWS.Organizations.ListAccounts.ListAccounts
- Network.AWS.Organizations.ListAccounts: instance GHC.Show.Show Network.AWS.Organizations.ListAccounts.ListAccountsResponse
- Network.AWS.Organizations.ListAccounts: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.ListAccounts.ListAccounts
- Network.AWS.Organizations.ListAccounts: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.ListAccounts.ListAccounts
- Network.AWS.Organizations.ListAccounts: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.ListAccounts.ListAccounts
- Network.AWS.Organizations.ListAccounts: instance Network.AWS.Pager.AWSPager Network.AWS.Organizations.ListAccounts.ListAccounts
- Network.AWS.Organizations.ListAccounts: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.ListAccounts.ListAccounts
- Network.AWS.Organizations.ListAccounts: laMaxResults :: Lens' ListAccounts (Maybe Natural)
- Network.AWS.Organizations.ListAccounts: laNextToken :: Lens' ListAccounts (Maybe Text)
- Network.AWS.Organizations.ListAccounts: larsAccounts :: Lens' ListAccountsResponse [Account]
- Network.AWS.Organizations.ListAccounts: larsNextToken :: Lens' ListAccountsResponse (Maybe Text)
- Network.AWS.Organizations.ListAccounts: larsResponseStatus :: Lens' ListAccountsResponse Int
- Network.AWS.Organizations.ListAccounts: listAccounts :: ListAccounts
- Network.AWS.Organizations.ListAccounts: listAccountsResponse :: Int -> ListAccountsResponse
- Network.AWS.Organizations.ListAccountsForParent: data ListAccountsForParent
- Network.AWS.Organizations.ListAccountsForParent: data ListAccountsForParentResponse
- Network.AWS.Organizations.ListAccountsForParent: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListAccountsForParent.ListAccountsForParent
- Network.AWS.Organizations.ListAccountsForParent: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListAccountsForParent.ListAccountsForParentResponse
- Network.AWS.Organizations.ListAccountsForParent: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.ListAccountsForParent.ListAccountsForParent
- Network.AWS.Organizations.ListAccountsForParent: instance Data.Data.Data Network.AWS.Organizations.ListAccountsForParent.ListAccountsForParent
- Network.AWS.Organizations.ListAccountsForParent: instance Data.Data.Data Network.AWS.Organizations.ListAccountsForParent.ListAccountsForParentResponse
- Network.AWS.Organizations.ListAccountsForParent: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.ListAccountsForParent.ListAccountsForParent
- Network.AWS.Organizations.ListAccountsForParent: instance GHC.Classes.Eq Network.AWS.Organizations.ListAccountsForParent.ListAccountsForParent
- Network.AWS.Organizations.ListAccountsForParent: instance GHC.Classes.Eq Network.AWS.Organizations.ListAccountsForParent.ListAccountsForParentResponse
- Network.AWS.Organizations.ListAccountsForParent: instance GHC.Generics.Generic Network.AWS.Organizations.ListAccountsForParent.ListAccountsForParent
- Network.AWS.Organizations.ListAccountsForParent: instance GHC.Generics.Generic Network.AWS.Organizations.ListAccountsForParent.ListAccountsForParentResponse
- Network.AWS.Organizations.ListAccountsForParent: instance GHC.Read.Read Network.AWS.Organizations.ListAccountsForParent.ListAccountsForParent
- Network.AWS.Organizations.ListAccountsForParent: instance GHC.Show.Show Network.AWS.Organizations.ListAccountsForParent.ListAccountsForParent
- Network.AWS.Organizations.ListAccountsForParent: instance GHC.Show.Show Network.AWS.Organizations.ListAccountsForParent.ListAccountsForParentResponse
- Network.AWS.Organizations.ListAccountsForParent: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.ListAccountsForParent.ListAccountsForParent
- Network.AWS.Organizations.ListAccountsForParent: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.ListAccountsForParent.ListAccountsForParent
- Network.AWS.Organizations.ListAccountsForParent: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.ListAccountsForParent.ListAccountsForParent
- Network.AWS.Organizations.ListAccountsForParent: instance Network.AWS.Pager.AWSPager Network.AWS.Organizations.ListAccountsForParent.ListAccountsForParent
- Network.AWS.Organizations.ListAccountsForParent: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.ListAccountsForParent.ListAccountsForParent
- Network.AWS.Organizations.ListAccountsForParent: lafpMaxResults :: Lens' ListAccountsForParent (Maybe Natural)
- Network.AWS.Organizations.ListAccountsForParent: lafpNextToken :: Lens' ListAccountsForParent (Maybe Text)
- Network.AWS.Organizations.ListAccountsForParent: lafpParentId :: Lens' ListAccountsForParent Text
- Network.AWS.Organizations.ListAccountsForParent: lafprsAccounts :: Lens' ListAccountsForParentResponse [Account]
- Network.AWS.Organizations.ListAccountsForParent: lafprsNextToken :: Lens' ListAccountsForParentResponse (Maybe Text)
- Network.AWS.Organizations.ListAccountsForParent: lafprsResponseStatus :: Lens' ListAccountsForParentResponse Int
- Network.AWS.Organizations.ListAccountsForParent: listAccountsForParent :: Text -> ListAccountsForParent
- Network.AWS.Organizations.ListAccountsForParent: listAccountsForParentResponse :: Int -> ListAccountsForParentResponse
- Network.AWS.Organizations.ListChildren: data ListChildren
- Network.AWS.Organizations.ListChildren: data ListChildrenResponse
- Network.AWS.Organizations.ListChildren: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListChildren.ListChildren
- Network.AWS.Organizations.ListChildren: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListChildren.ListChildrenResponse
- Network.AWS.Organizations.ListChildren: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.ListChildren.ListChildren
- Network.AWS.Organizations.ListChildren: instance Data.Data.Data Network.AWS.Organizations.ListChildren.ListChildren
- Network.AWS.Organizations.ListChildren: instance Data.Data.Data Network.AWS.Organizations.ListChildren.ListChildrenResponse
- Network.AWS.Organizations.ListChildren: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.ListChildren.ListChildren
- Network.AWS.Organizations.ListChildren: instance GHC.Classes.Eq Network.AWS.Organizations.ListChildren.ListChildren
- Network.AWS.Organizations.ListChildren: instance GHC.Classes.Eq Network.AWS.Organizations.ListChildren.ListChildrenResponse
- Network.AWS.Organizations.ListChildren: instance GHC.Generics.Generic Network.AWS.Organizations.ListChildren.ListChildren
- Network.AWS.Organizations.ListChildren: instance GHC.Generics.Generic Network.AWS.Organizations.ListChildren.ListChildrenResponse
- Network.AWS.Organizations.ListChildren: instance GHC.Read.Read Network.AWS.Organizations.ListChildren.ListChildren
- Network.AWS.Organizations.ListChildren: instance GHC.Read.Read Network.AWS.Organizations.ListChildren.ListChildrenResponse
- Network.AWS.Organizations.ListChildren: instance GHC.Show.Show Network.AWS.Organizations.ListChildren.ListChildren
- Network.AWS.Organizations.ListChildren: instance GHC.Show.Show Network.AWS.Organizations.ListChildren.ListChildrenResponse
- Network.AWS.Organizations.ListChildren: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.ListChildren.ListChildren
- Network.AWS.Organizations.ListChildren: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.ListChildren.ListChildren
- Network.AWS.Organizations.ListChildren: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.ListChildren.ListChildren
- Network.AWS.Organizations.ListChildren: instance Network.AWS.Pager.AWSPager Network.AWS.Organizations.ListChildren.ListChildren
- Network.AWS.Organizations.ListChildren: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.ListChildren.ListChildren
- Network.AWS.Organizations.ListChildren: lcChildType :: Lens' ListChildren ChildType
- Network.AWS.Organizations.ListChildren: lcMaxResults :: Lens' ListChildren (Maybe Natural)
- Network.AWS.Organizations.ListChildren: lcNextToken :: Lens' ListChildren (Maybe Text)
- Network.AWS.Organizations.ListChildren: lcParentId :: Lens' ListChildren Text
- Network.AWS.Organizations.ListChildren: lcrsChildren :: Lens' ListChildrenResponse [Child]
- Network.AWS.Organizations.ListChildren: lcrsNextToken :: Lens' ListChildrenResponse (Maybe Text)
- Network.AWS.Organizations.ListChildren: lcrsResponseStatus :: Lens' ListChildrenResponse Int
- Network.AWS.Organizations.ListChildren: listChildren :: Text -> ChildType -> ListChildren
- Network.AWS.Organizations.ListChildren: listChildrenResponse :: Int -> ListChildrenResponse
- Network.AWS.Organizations.ListCreateAccountStatus: data ListCreateAccountStatus
- Network.AWS.Organizations.ListCreateAccountStatus: data ListCreateAccountStatusResponse
- Network.AWS.Organizations.ListCreateAccountStatus: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
- Network.AWS.Organizations.ListCreateAccountStatus: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListCreateAccountStatus.ListCreateAccountStatusResponse
- Network.AWS.Organizations.ListCreateAccountStatus: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
- Network.AWS.Organizations.ListCreateAccountStatus: instance Data.Data.Data Network.AWS.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
- Network.AWS.Organizations.ListCreateAccountStatus: instance Data.Data.Data Network.AWS.Organizations.ListCreateAccountStatus.ListCreateAccountStatusResponse
- Network.AWS.Organizations.ListCreateAccountStatus: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
- Network.AWS.Organizations.ListCreateAccountStatus: instance GHC.Classes.Eq Network.AWS.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
- Network.AWS.Organizations.ListCreateAccountStatus: instance GHC.Classes.Eq Network.AWS.Organizations.ListCreateAccountStatus.ListCreateAccountStatusResponse
- Network.AWS.Organizations.ListCreateAccountStatus: instance GHC.Generics.Generic Network.AWS.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
- Network.AWS.Organizations.ListCreateAccountStatus: instance GHC.Generics.Generic Network.AWS.Organizations.ListCreateAccountStatus.ListCreateAccountStatusResponse
- Network.AWS.Organizations.ListCreateAccountStatus: instance GHC.Read.Read Network.AWS.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
- Network.AWS.Organizations.ListCreateAccountStatus: instance GHC.Show.Show Network.AWS.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
- Network.AWS.Organizations.ListCreateAccountStatus: instance GHC.Show.Show Network.AWS.Organizations.ListCreateAccountStatus.ListCreateAccountStatusResponse
- Network.AWS.Organizations.ListCreateAccountStatus: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
- Network.AWS.Organizations.ListCreateAccountStatus: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
- Network.AWS.Organizations.ListCreateAccountStatus: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
- Network.AWS.Organizations.ListCreateAccountStatus: instance Network.AWS.Pager.AWSPager Network.AWS.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
- Network.AWS.Organizations.ListCreateAccountStatus: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
- Network.AWS.Organizations.ListCreateAccountStatus: lcasMaxResults :: Lens' ListCreateAccountStatus (Maybe Natural)
- Network.AWS.Organizations.ListCreateAccountStatus: lcasNextToken :: Lens' ListCreateAccountStatus (Maybe Text)
- Network.AWS.Organizations.ListCreateAccountStatus: lcasStates :: Lens' ListCreateAccountStatus [CreateAccountState]
- Network.AWS.Organizations.ListCreateAccountStatus: lcasrsCreateAccountStatuses :: Lens' ListCreateAccountStatusResponse [CreateAccountStatus]
- Network.AWS.Organizations.ListCreateAccountStatus: lcasrsNextToken :: Lens' ListCreateAccountStatusResponse (Maybe Text)
- Network.AWS.Organizations.ListCreateAccountStatus: lcasrsResponseStatus :: Lens' ListCreateAccountStatusResponse Int
- Network.AWS.Organizations.ListCreateAccountStatus: listCreateAccountStatus :: ListCreateAccountStatus
- Network.AWS.Organizations.ListCreateAccountStatus: listCreateAccountStatusResponse :: Int -> ListCreateAccountStatusResponse
- Network.AWS.Organizations.ListHandshakesForAccount: data ListHandshakesForAccount
- Network.AWS.Organizations.ListHandshakesForAccount: data ListHandshakesForAccountResponse
- Network.AWS.Organizations.ListHandshakesForAccount: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
- Network.AWS.Organizations.ListHandshakesForAccount: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListHandshakesForAccount.ListHandshakesForAccountResponse
- Network.AWS.Organizations.ListHandshakesForAccount: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
- Network.AWS.Organizations.ListHandshakesForAccount: instance Data.Data.Data Network.AWS.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
- Network.AWS.Organizations.ListHandshakesForAccount: instance Data.Data.Data Network.AWS.Organizations.ListHandshakesForAccount.ListHandshakesForAccountResponse
- Network.AWS.Organizations.ListHandshakesForAccount: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
- Network.AWS.Organizations.ListHandshakesForAccount: instance GHC.Classes.Eq Network.AWS.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
- Network.AWS.Organizations.ListHandshakesForAccount: instance GHC.Classes.Eq Network.AWS.Organizations.ListHandshakesForAccount.ListHandshakesForAccountResponse
- Network.AWS.Organizations.ListHandshakesForAccount: instance GHC.Generics.Generic Network.AWS.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
- Network.AWS.Organizations.ListHandshakesForAccount: instance GHC.Generics.Generic Network.AWS.Organizations.ListHandshakesForAccount.ListHandshakesForAccountResponse
- Network.AWS.Organizations.ListHandshakesForAccount: instance GHC.Read.Read Network.AWS.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
- Network.AWS.Organizations.ListHandshakesForAccount: instance GHC.Show.Show Network.AWS.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
- Network.AWS.Organizations.ListHandshakesForAccount: instance GHC.Show.Show Network.AWS.Organizations.ListHandshakesForAccount.ListHandshakesForAccountResponse
- Network.AWS.Organizations.ListHandshakesForAccount: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
- Network.AWS.Organizations.ListHandshakesForAccount: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
- Network.AWS.Organizations.ListHandshakesForAccount: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
- Network.AWS.Organizations.ListHandshakesForAccount: instance Network.AWS.Pager.AWSPager Network.AWS.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
- Network.AWS.Organizations.ListHandshakesForAccount: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
- Network.AWS.Organizations.ListHandshakesForAccount: lhfaFilter :: Lens' ListHandshakesForAccount (Maybe HandshakeFilter)
- Network.AWS.Organizations.ListHandshakesForAccount: lhfaMaxResults :: Lens' ListHandshakesForAccount (Maybe Natural)
- Network.AWS.Organizations.ListHandshakesForAccount: lhfaNextToken :: Lens' ListHandshakesForAccount (Maybe Text)
- Network.AWS.Organizations.ListHandshakesForAccount: lhfarsHandshakes :: Lens' ListHandshakesForAccountResponse [Handshake]
- Network.AWS.Organizations.ListHandshakesForAccount: lhfarsNextToken :: Lens' ListHandshakesForAccountResponse (Maybe Text)
- Network.AWS.Organizations.ListHandshakesForAccount: lhfarsResponseStatus :: Lens' ListHandshakesForAccountResponse Int
- Network.AWS.Organizations.ListHandshakesForAccount: listHandshakesForAccount :: ListHandshakesForAccount
- Network.AWS.Organizations.ListHandshakesForAccount: listHandshakesForAccountResponse :: Int -> ListHandshakesForAccountResponse
- Network.AWS.Organizations.ListHandshakesForOrganization: data ListHandshakesForOrganization
- Network.AWS.Organizations.ListHandshakesForOrganization: data ListHandshakesForOrganizationResponse
- Network.AWS.Organizations.ListHandshakesForOrganization: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
- Network.AWS.Organizations.ListHandshakesForOrganization: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganizationResponse
- Network.AWS.Organizations.ListHandshakesForOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
- Network.AWS.Organizations.ListHandshakesForOrganization: instance Data.Data.Data Network.AWS.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
- Network.AWS.Organizations.ListHandshakesForOrganization: instance Data.Data.Data Network.AWS.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganizationResponse
- Network.AWS.Organizations.ListHandshakesForOrganization: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
- Network.AWS.Organizations.ListHandshakesForOrganization: instance GHC.Classes.Eq Network.AWS.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
- Network.AWS.Organizations.ListHandshakesForOrganization: instance GHC.Classes.Eq Network.AWS.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganizationResponse
- Network.AWS.Organizations.ListHandshakesForOrganization: instance GHC.Generics.Generic Network.AWS.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
- Network.AWS.Organizations.ListHandshakesForOrganization: instance GHC.Generics.Generic Network.AWS.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganizationResponse
- Network.AWS.Organizations.ListHandshakesForOrganization: instance GHC.Read.Read Network.AWS.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
- Network.AWS.Organizations.ListHandshakesForOrganization: instance GHC.Show.Show Network.AWS.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
- Network.AWS.Organizations.ListHandshakesForOrganization: instance GHC.Show.Show Network.AWS.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganizationResponse
- Network.AWS.Organizations.ListHandshakesForOrganization: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
- Network.AWS.Organizations.ListHandshakesForOrganization: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
- Network.AWS.Organizations.ListHandshakesForOrganization: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
- Network.AWS.Organizations.ListHandshakesForOrganization: instance Network.AWS.Pager.AWSPager Network.AWS.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
- Network.AWS.Organizations.ListHandshakesForOrganization: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
- Network.AWS.Organizations.ListHandshakesForOrganization: lhfoFilter :: Lens' ListHandshakesForOrganization (Maybe HandshakeFilter)
- Network.AWS.Organizations.ListHandshakesForOrganization: lhfoMaxResults :: Lens' ListHandshakesForOrganization (Maybe Natural)
- Network.AWS.Organizations.ListHandshakesForOrganization: lhfoNextToken :: Lens' ListHandshakesForOrganization (Maybe Text)
- Network.AWS.Organizations.ListHandshakesForOrganization: lhforsHandshakes :: Lens' ListHandshakesForOrganizationResponse [Handshake]
- Network.AWS.Organizations.ListHandshakesForOrganization: lhforsNextToken :: Lens' ListHandshakesForOrganizationResponse (Maybe Text)
- Network.AWS.Organizations.ListHandshakesForOrganization: lhforsResponseStatus :: Lens' ListHandshakesForOrganizationResponse Int
- Network.AWS.Organizations.ListHandshakesForOrganization: listHandshakesForOrganization :: ListHandshakesForOrganization
- Network.AWS.Organizations.ListHandshakesForOrganization: listHandshakesForOrganizationResponse :: Int -> ListHandshakesForOrganizationResponse
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: data ListOrganizationalUnitsForParent
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: data ListOrganizationalUnitsForParentResponse
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParentResponse
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance Data.Data.Data Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance Data.Data.Data Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParentResponse
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance GHC.Classes.Eq Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance GHC.Classes.Eq Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParentResponse
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance GHC.Generics.Generic Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance GHC.Generics.Generic Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParentResponse
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance GHC.Read.Read Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance GHC.Read.Read Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParentResponse
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance GHC.Show.Show Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance GHC.Show.Show Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParentResponse
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance Network.AWS.Pager.AWSPager Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: listOrganizationalUnitsForParent :: Text -> ListOrganizationalUnitsForParent
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: listOrganizationalUnitsForParentResponse :: Int -> ListOrganizationalUnitsForParentResponse
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: loufpMaxResults :: Lens' ListOrganizationalUnitsForParent (Maybe Natural)
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: loufpNextToken :: Lens' ListOrganizationalUnitsForParent (Maybe Text)
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: loufpParentId :: Lens' ListOrganizationalUnitsForParent Text
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: loufprsNextToken :: Lens' ListOrganizationalUnitsForParentResponse (Maybe Text)
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: loufprsOrganizationalUnits :: Lens' ListOrganizationalUnitsForParentResponse [OrganizationalUnit]
- Network.AWS.Organizations.ListOrganizationalUnitsForParent: loufprsResponseStatus :: Lens' ListOrganizationalUnitsForParentResponse Int
- Network.AWS.Organizations.ListParents: data ListParents
- Network.AWS.Organizations.ListParents: data ListParentsResponse
- Network.AWS.Organizations.ListParents: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListParents.ListParents
- Network.AWS.Organizations.ListParents: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListParents.ListParentsResponse
- Network.AWS.Organizations.ListParents: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.ListParents.ListParents
- Network.AWS.Organizations.ListParents: instance Data.Data.Data Network.AWS.Organizations.ListParents.ListParents
- Network.AWS.Organizations.ListParents: instance Data.Data.Data Network.AWS.Organizations.ListParents.ListParentsResponse
- Network.AWS.Organizations.ListParents: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.ListParents.ListParents
- Network.AWS.Organizations.ListParents: instance GHC.Classes.Eq Network.AWS.Organizations.ListParents.ListParents
- Network.AWS.Organizations.ListParents: instance GHC.Classes.Eq Network.AWS.Organizations.ListParents.ListParentsResponse
- Network.AWS.Organizations.ListParents: instance GHC.Generics.Generic Network.AWS.Organizations.ListParents.ListParents
- Network.AWS.Organizations.ListParents: instance GHC.Generics.Generic Network.AWS.Organizations.ListParents.ListParentsResponse
- Network.AWS.Organizations.ListParents: instance GHC.Read.Read Network.AWS.Organizations.ListParents.ListParents
- Network.AWS.Organizations.ListParents: instance GHC.Read.Read Network.AWS.Organizations.ListParents.ListParentsResponse
- Network.AWS.Organizations.ListParents: instance GHC.Show.Show Network.AWS.Organizations.ListParents.ListParents
- Network.AWS.Organizations.ListParents: instance GHC.Show.Show Network.AWS.Organizations.ListParents.ListParentsResponse
- Network.AWS.Organizations.ListParents: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.ListParents.ListParents
- Network.AWS.Organizations.ListParents: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.ListParents.ListParents
- Network.AWS.Organizations.ListParents: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.ListParents.ListParents
- Network.AWS.Organizations.ListParents: instance Network.AWS.Pager.AWSPager Network.AWS.Organizations.ListParents.ListParents
- Network.AWS.Organizations.ListParents: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.ListParents.ListParents
- Network.AWS.Organizations.ListParents: lChildId :: Lens' ListParents Text
- Network.AWS.Organizations.ListParents: lMaxResults :: Lens' ListParents (Maybe Natural)
- Network.AWS.Organizations.ListParents: lNextToken :: Lens' ListParents (Maybe Text)
- Network.AWS.Organizations.ListParents: listParents :: Text -> ListParents
- Network.AWS.Organizations.ListParents: listParentsResponse :: Int -> ListParentsResponse
- Network.AWS.Organizations.ListParents: lrsNextToken :: Lens' ListParentsResponse (Maybe Text)
- Network.AWS.Organizations.ListParents: lrsParents :: Lens' ListParentsResponse [Parent]
- Network.AWS.Organizations.ListParents: lrsResponseStatus :: Lens' ListParentsResponse Int
- Network.AWS.Organizations.ListPolicies: data ListPolicies
- Network.AWS.Organizations.ListPolicies: data ListPoliciesResponse
- Network.AWS.Organizations.ListPolicies: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListPolicies.ListPolicies
- Network.AWS.Organizations.ListPolicies: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListPolicies.ListPoliciesResponse
- Network.AWS.Organizations.ListPolicies: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.ListPolicies.ListPolicies
- Network.AWS.Organizations.ListPolicies: instance Data.Data.Data Network.AWS.Organizations.ListPolicies.ListPolicies
- Network.AWS.Organizations.ListPolicies: instance Data.Data.Data Network.AWS.Organizations.ListPolicies.ListPoliciesResponse
- Network.AWS.Organizations.ListPolicies: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.ListPolicies.ListPolicies
- Network.AWS.Organizations.ListPolicies: instance GHC.Classes.Eq Network.AWS.Organizations.ListPolicies.ListPolicies
- Network.AWS.Organizations.ListPolicies: instance GHC.Classes.Eq Network.AWS.Organizations.ListPolicies.ListPoliciesResponse
- Network.AWS.Organizations.ListPolicies: instance GHC.Generics.Generic Network.AWS.Organizations.ListPolicies.ListPolicies
- Network.AWS.Organizations.ListPolicies: instance GHC.Generics.Generic Network.AWS.Organizations.ListPolicies.ListPoliciesResponse
- Network.AWS.Organizations.ListPolicies: instance GHC.Read.Read Network.AWS.Organizations.ListPolicies.ListPolicies
- Network.AWS.Organizations.ListPolicies: instance GHC.Read.Read Network.AWS.Organizations.ListPolicies.ListPoliciesResponse
- Network.AWS.Organizations.ListPolicies: instance GHC.Show.Show Network.AWS.Organizations.ListPolicies.ListPolicies
- Network.AWS.Organizations.ListPolicies: instance GHC.Show.Show Network.AWS.Organizations.ListPolicies.ListPoliciesResponse
- Network.AWS.Organizations.ListPolicies: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.ListPolicies.ListPolicies
- Network.AWS.Organizations.ListPolicies: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.ListPolicies.ListPolicies
- Network.AWS.Organizations.ListPolicies: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.ListPolicies.ListPolicies
- Network.AWS.Organizations.ListPolicies: instance Network.AWS.Pager.AWSPager Network.AWS.Organizations.ListPolicies.ListPolicies
- Network.AWS.Organizations.ListPolicies: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.ListPolicies.ListPolicies
- Network.AWS.Organizations.ListPolicies: listPolicies :: PolicyType -> ListPolicies
- Network.AWS.Organizations.ListPolicies: listPoliciesResponse :: Int -> ListPoliciesResponse
- Network.AWS.Organizations.ListPolicies: lpFilter :: Lens' ListPolicies PolicyType
- Network.AWS.Organizations.ListPolicies: lpMaxResults :: Lens' ListPolicies (Maybe Natural)
- Network.AWS.Organizations.ListPolicies: lpNextToken :: Lens' ListPolicies (Maybe Text)
- Network.AWS.Organizations.ListPolicies: lprsNextToken :: Lens' ListPoliciesResponse (Maybe Text)
- Network.AWS.Organizations.ListPolicies: lprsPolicies :: Lens' ListPoliciesResponse [PolicySummary]
- Network.AWS.Organizations.ListPolicies: lprsResponseStatus :: Lens' ListPoliciesResponse Int
- Network.AWS.Organizations.ListPoliciesForTarget: data ListPoliciesForTarget
- Network.AWS.Organizations.ListPoliciesForTarget: data ListPoliciesForTargetResponse
- Network.AWS.Organizations.ListPoliciesForTarget: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
- Network.AWS.Organizations.ListPoliciesForTarget: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTargetResponse
- Network.AWS.Organizations.ListPoliciesForTarget: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
- Network.AWS.Organizations.ListPoliciesForTarget: instance Data.Data.Data Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
- Network.AWS.Organizations.ListPoliciesForTarget: instance Data.Data.Data Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTargetResponse
- Network.AWS.Organizations.ListPoliciesForTarget: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
- Network.AWS.Organizations.ListPoliciesForTarget: instance GHC.Classes.Eq Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
- Network.AWS.Organizations.ListPoliciesForTarget: instance GHC.Classes.Eq Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTargetResponse
- Network.AWS.Organizations.ListPoliciesForTarget: instance GHC.Generics.Generic Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
- Network.AWS.Organizations.ListPoliciesForTarget: instance GHC.Generics.Generic Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTargetResponse
- Network.AWS.Organizations.ListPoliciesForTarget: instance GHC.Read.Read Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
- Network.AWS.Organizations.ListPoliciesForTarget: instance GHC.Read.Read Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTargetResponse
- Network.AWS.Organizations.ListPoliciesForTarget: instance GHC.Show.Show Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
- Network.AWS.Organizations.ListPoliciesForTarget: instance GHC.Show.Show Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTargetResponse
- Network.AWS.Organizations.ListPoliciesForTarget: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
- Network.AWS.Organizations.ListPoliciesForTarget: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
- Network.AWS.Organizations.ListPoliciesForTarget: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
- Network.AWS.Organizations.ListPoliciesForTarget: instance Network.AWS.Pager.AWSPager Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
- Network.AWS.Organizations.ListPoliciesForTarget: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
- Network.AWS.Organizations.ListPoliciesForTarget: listPoliciesForTarget :: Text -> PolicyType -> ListPoliciesForTarget
- Network.AWS.Organizations.ListPoliciesForTarget: listPoliciesForTargetResponse :: Int -> ListPoliciesForTargetResponse
- Network.AWS.Organizations.ListPoliciesForTarget: lpftFilter :: Lens' ListPoliciesForTarget PolicyType
- Network.AWS.Organizations.ListPoliciesForTarget: lpftMaxResults :: Lens' ListPoliciesForTarget (Maybe Natural)
- Network.AWS.Organizations.ListPoliciesForTarget: lpftNextToken :: Lens' ListPoliciesForTarget (Maybe Text)
- Network.AWS.Organizations.ListPoliciesForTarget: lpftTargetId :: Lens' ListPoliciesForTarget Text
- Network.AWS.Organizations.ListPoliciesForTarget: lpftrsNextToken :: Lens' ListPoliciesForTargetResponse (Maybe Text)
- Network.AWS.Organizations.ListPoliciesForTarget: lpftrsPolicies :: Lens' ListPoliciesForTargetResponse [PolicySummary]
- Network.AWS.Organizations.ListPoliciesForTarget: lpftrsResponseStatus :: Lens' ListPoliciesForTargetResponse Int
- Network.AWS.Organizations.ListRoots: data ListRoots
- Network.AWS.Organizations.ListRoots: data ListRootsResponse
- Network.AWS.Organizations.ListRoots: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListRoots.ListRoots
- Network.AWS.Organizations.ListRoots: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListRoots.ListRootsResponse
- Network.AWS.Organizations.ListRoots: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.ListRoots.ListRoots
- Network.AWS.Organizations.ListRoots: instance Data.Data.Data Network.AWS.Organizations.ListRoots.ListRoots
- Network.AWS.Organizations.ListRoots: instance Data.Data.Data Network.AWS.Organizations.ListRoots.ListRootsResponse
- Network.AWS.Organizations.ListRoots: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.ListRoots.ListRoots
- Network.AWS.Organizations.ListRoots: instance GHC.Classes.Eq Network.AWS.Organizations.ListRoots.ListRoots
- Network.AWS.Organizations.ListRoots: instance GHC.Classes.Eq Network.AWS.Organizations.ListRoots.ListRootsResponse
- Network.AWS.Organizations.ListRoots: instance GHC.Generics.Generic Network.AWS.Organizations.ListRoots.ListRoots
- Network.AWS.Organizations.ListRoots: instance GHC.Generics.Generic Network.AWS.Organizations.ListRoots.ListRootsResponse
- Network.AWS.Organizations.ListRoots: instance GHC.Read.Read Network.AWS.Organizations.ListRoots.ListRoots
- Network.AWS.Organizations.ListRoots: instance GHC.Read.Read Network.AWS.Organizations.ListRoots.ListRootsResponse
- Network.AWS.Organizations.ListRoots: instance GHC.Show.Show Network.AWS.Organizations.ListRoots.ListRoots
- Network.AWS.Organizations.ListRoots: instance GHC.Show.Show Network.AWS.Organizations.ListRoots.ListRootsResponse
- Network.AWS.Organizations.ListRoots: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.ListRoots.ListRoots
- Network.AWS.Organizations.ListRoots: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.ListRoots.ListRoots
- Network.AWS.Organizations.ListRoots: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.ListRoots.ListRoots
- Network.AWS.Organizations.ListRoots: instance Network.AWS.Pager.AWSPager Network.AWS.Organizations.ListRoots.ListRoots
- Network.AWS.Organizations.ListRoots: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.ListRoots.ListRoots
- Network.AWS.Organizations.ListRoots: listRoots :: ListRoots
- Network.AWS.Organizations.ListRoots: listRootsResponse :: Int -> ListRootsResponse
- Network.AWS.Organizations.ListRoots: lrMaxResults :: Lens' ListRoots (Maybe Natural)
- Network.AWS.Organizations.ListRoots: lrNextToken :: Lens' ListRoots (Maybe Text)
- Network.AWS.Organizations.ListRoots: lrrsNextToken :: Lens' ListRootsResponse (Maybe Text)
- Network.AWS.Organizations.ListRoots: lrrsResponseStatus :: Lens' ListRootsResponse Int
- Network.AWS.Organizations.ListRoots: lrrsRoots :: Lens' ListRootsResponse [Root]
- Network.AWS.Organizations.ListTargetsForPolicy: data ListTargetsForPolicy
- Network.AWS.Organizations.ListTargetsForPolicy: data ListTargetsForPolicyResponse
- Network.AWS.Organizations.ListTargetsForPolicy: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
- Network.AWS.Organizations.ListTargetsForPolicy: instance Control.DeepSeq.NFData Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicyResponse
- Network.AWS.Organizations.ListTargetsForPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
- Network.AWS.Organizations.ListTargetsForPolicy: instance Data.Data.Data Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
- Network.AWS.Organizations.ListTargetsForPolicy: instance Data.Data.Data Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicyResponse
- Network.AWS.Organizations.ListTargetsForPolicy: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
- Network.AWS.Organizations.ListTargetsForPolicy: instance GHC.Classes.Eq Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
- Network.AWS.Organizations.ListTargetsForPolicy: instance GHC.Classes.Eq Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicyResponse
- Network.AWS.Organizations.ListTargetsForPolicy: instance GHC.Generics.Generic Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
- Network.AWS.Organizations.ListTargetsForPolicy: instance GHC.Generics.Generic Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicyResponse
- Network.AWS.Organizations.ListTargetsForPolicy: instance GHC.Read.Read Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
- Network.AWS.Organizations.ListTargetsForPolicy: instance GHC.Read.Read Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicyResponse
- Network.AWS.Organizations.ListTargetsForPolicy: instance GHC.Show.Show Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
- Network.AWS.Organizations.ListTargetsForPolicy: instance GHC.Show.Show Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicyResponse
- Network.AWS.Organizations.ListTargetsForPolicy: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
- Network.AWS.Organizations.ListTargetsForPolicy: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
- Network.AWS.Organizations.ListTargetsForPolicy: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
- Network.AWS.Organizations.ListTargetsForPolicy: instance Network.AWS.Pager.AWSPager Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
- Network.AWS.Organizations.ListTargetsForPolicy: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
- Network.AWS.Organizations.ListTargetsForPolicy: listTargetsForPolicy :: Text -> ListTargetsForPolicy
- Network.AWS.Organizations.ListTargetsForPolicy: listTargetsForPolicyResponse :: Int -> ListTargetsForPolicyResponse
- Network.AWS.Organizations.ListTargetsForPolicy: ltfpMaxResults :: Lens' ListTargetsForPolicy (Maybe Natural)
- Network.AWS.Organizations.ListTargetsForPolicy: ltfpNextToken :: Lens' ListTargetsForPolicy (Maybe Text)
- Network.AWS.Organizations.ListTargetsForPolicy: ltfpPolicyId :: Lens' ListTargetsForPolicy Text
- Network.AWS.Organizations.ListTargetsForPolicy: ltfprsNextToken :: Lens' ListTargetsForPolicyResponse (Maybe Text)
- Network.AWS.Organizations.ListTargetsForPolicy: ltfprsResponseStatus :: Lens' ListTargetsForPolicyResponse Int
- Network.AWS.Organizations.ListTargetsForPolicy: ltfprsTargets :: Lens' ListTargetsForPolicyResponse [PolicyTargetSummary]
- Network.AWS.Organizations.MoveAccount: data MoveAccount
- Network.AWS.Organizations.MoveAccount: data MoveAccountResponse
- Network.AWS.Organizations.MoveAccount: instance Control.DeepSeq.NFData Network.AWS.Organizations.MoveAccount.MoveAccount
- Network.AWS.Organizations.MoveAccount: instance Control.DeepSeq.NFData Network.AWS.Organizations.MoveAccount.MoveAccountResponse
- Network.AWS.Organizations.MoveAccount: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.MoveAccount.MoveAccount
- Network.AWS.Organizations.MoveAccount: instance Data.Data.Data Network.AWS.Organizations.MoveAccount.MoveAccount
- Network.AWS.Organizations.MoveAccount: instance Data.Data.Data Network.AWS.Organizations.MoveAccount.MoveAccountResponse
- Network.AWS.Organizations.MoveAccount: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.MoveAccount.MoveAccount
- Network.AWS.Organizations.MoveAccount: instance GHC.Classes.Eq Network.AWS.Organizations.MoveAccount.MoveAccount
- Network.AWS.Organizations.MoveAccount: instance GHC.Classes.Eq Network.AWS.Organizations.MoveAccount.MoveAccountResponse
- Network.AWS.Organizations.MoveAccount: instance GHC.Generics.Generic Network.AWS.Organizations.MoveAccount.MoveAccount
- Network.AWS.Organizations.MoveAccount: instance GHC.Generics.Generic Network.AWS.Organizations.MoveAccount.MoveAccountResponse
- Network.AWS.Organizations.MoveAccount: instance GHC.Read.Read Network.AWS.Organizations.MoveAccount.MoveAccount
- Network.AWS.Organizations.MoveAccount: instance GHC.Read.Read Network.AWS.Organizations.MoveAccount.MoveAccountResponse
- Network.AWS.Organizations.MoveAccount: instance GHC.Show.Show Network.AWS.Organizations.MoveAccount.MoveAccount
- Network.AWS.Organizations.MoveAccount: instance GHC.Show.Show Network.AWS.Organizations.MoveAccount.MoveAccountResponse
- Network.AWS.Organizations.MoveAccount: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.MoveAccount.MoveAccount
- Network.AWS.Organizations.MoveAccount: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.MoveAccount.MoveAccount
- Network.AWS.Organizations.MoveAccount: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.MoveAccount.MoveAccount
- Network.AWS.Organizations.MoveAccount: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.MoveAccount.MoveAccount
- Network.AWS.Organizations.MoveAccount: maAccountId :: Lens' MoveAccount Text
- Network.AWS.Organizations.MoveAccount: maDestinationParentId :: Lens' MoveAccount Text
- Network.AWS.Organizations.MoveAccount: maSourceParentId :: Lens' MoveAccount Text
- Network.AWS.Organizations.MoveAccount: moveAccount :: Text -> Text -> Text -> MoveAccount
- Network.AWS.Organizations.MoveAccount: moveAccountResponse :: MoveAccountResponse
- Network.AWS.Organizations.RemoveAccountFromOrganization: data RemoveAccountFromOrganization
- Network.AWS.Organizations.RemoveAccountFromOrganization: data RemoveAccountFromOrganizationResponse
- Network.AWS.Organizations.RemoveAccountFromOrganization: instance Control.DeepSeq.NFData Network.AWS.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
- Network.AWS.Organizations.RemoveAccountFromOrganization: instance Control.DeepSeq.NFData Network.AWS.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganizationResponse
- Network.AWS.Organizations.RemoveAccountFromOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
- Network.AWS.Organizations.RemoveAccountFromOrganization: instance Data.Data.Data Network.AWS.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
- Network.AWS.Organizations.RemoveAccountFromOrganization: instance Data.Data.Data Network.AWS.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganizationResponse
- Network.AWS.Organizations.RemoveAccountFromOrganization: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
- Network.AWS.Organizations.RemoveAccountFromOrganization: instance GHC.Classes.Eq Network.AWS.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
- Network.AWS.Organizations.RemoveAccountFromOrganization: instance GHC.Classes.Eq Network.AWS.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganizationResponse
- Network.AWS.Organizations.RemoveAccountFromOrganization: instance GHC.Generics.Generic Network.AWS.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
- Network.AWS.Organizations.RemoveAccountFromOrganization: instance GHC.Generics.Generic Network.AWS.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganizationResponse
- Network.AWS.Organizations.RemoveAccountFromOrganization: instance GHC.Read.Read Network.AWS.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
- Network.AWS.Organizations.RemoveAccountFromOrganization: instance GHC.Read.Read Network.AWS.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganizationResponse
- Network.AWS.Organizations.RemoveAccountFromOrganization: instance GHC.Show.Show Network.AWS.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
- Network.AWS.Organizations.RemoveAccountFromOrganization: instance GHC.Show.Show Network.AWS.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganizationResponse
- Network.AWS.Organizations.RemoveAccountFromOrganization: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
- Network.AWS.Organizations.RemoveAccountFromOrganization: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
- Network.AWS.Organizations.RemoveAccountFromOrganization: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
- Network.AWS.Organizations.RemoveAccountFromOrganization: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
- Network.AWS.Organizations.RemoveAccountFromOrganization: rafoAccountId :: Lens' RemoveAccountFromOrganization Text
- Network.AWS.Organizations.RemoveAccountFromOrganization: removeAccountFromOrganization :: Text -> RemoveAccountFromOrganization
- Network.AWS.Organizations.RemoveAccountFromOrganization: removeAccountFromOrganizationResponse :: RemoveAccountFromOrganizationResponse
- Network.AWS.Organizations.Types: Accepted :: HandshakeState
- Network.AWS.Organizations.Types: Account :: HandshakeResourceType
- Network.AWS.Organizations.Types: AccountLimitExceeded :: CreateAccountFailureReason
- Network.AWS.Organizations.Types: Active :: AccountStatus
- Network.AWS.Organizations.Types: AddOrganizationsServiceLinkedRole :: ActionType
- Network.AWS.Organizations.Types: All :: OrganizationFeatureSet
- Network.AWS.Organizations.Types: Allow :: IAMUserAccessToBilling
- Network.AWS.Organizations.Types: ApproveAllFeatures :: ActionType
- Network.AWS.Organizations.Types: CTAccount :: ChildType
- Network.AWS.Organizations.Types: CTOrganizationalUnit :: ChildType
- Network.AWS.Organizations.Types: Canceled :: HandshakeState
- Network.AWS.Organizations.Types: ConcurrentAccountModification :: CreateAccountFailureReason
- Network.AWS.Organizations.Types: ConsolidatedBilling :: OrganizationFeatureSet
- Network.AWS.Organizations.Types: Created :: AccountJoinedMethod
- Network.AWS.Organizations.Types: Declined :: HandshakeState
- Network.AWS.Organizations.Types: Deny :: IAMUserAccessToBilling
- Network.AWS.Organizations.Types: Email :: HandshakeResourceType
- Network.AWS.Organizations.Types: EmailAlreadyExists :: CreateAccountFailureReason
- Network.AWS.Organizations.Types: EnableAllFeatures :: ActionType
- Network.AWS.Organizations.Types: Enabled :: PolicyTypeStatus
- Network.AWS.Organizations.Types: Expired :: HandshakeState
- Network.AWS.Organizations.Types: Failed :: CreateAccountState
- Network.AWS.Organizations.Types: HPTAccount :: HandshakePartyType
- Network.AWS.Organizations.Types: HPTEmail :: HandshakePartyType
- Network.AWS.Organizations.Types: HPTOrganization :: HandshakePartyType
- Network.AWS.Organizations.Types: InProgress :: CreateAccountState
- Network.AWS.Organizations.Types: InternalFailure :: CreateAccountFailureReason
- Network.AWS.Organizations.Types: InvalidAddress :: CreateAccountFailureReason
- Network.AWS.Organizations.Types: InvalidEmail :: CreateAccountFailureReason
- Network.AWS.Organizations.Types: Invite :: ActionType
- Network.AWS.Organizations.Types: Invited :: AccountJoinedMethod
- Network.AWS.Organizations.Types: MasterEmail :: HandshakeResourceType
- Network.AWS.Organizations.Types: MasterName :: HandshakeResourceType
- Network.AWS.Organizations.Types: Notes :: HandshakeResourceType
- Network.AWS.Organizations.Types: Open :: HandshakeState
- Network.AWS.Organizations.Types: Organization :: HandshakeResourceType
- Network.AWS.Organizations.Types: OrganizationFeatureSet :: HandshakeResourceType
- Network.AWS.Organizations.Types: OrganizationalUnit :: ParentType
- Network.AWS.Organizations.Types: ParentHandshake :: HandshakeResourceType
- Network.AWS.Organizations.Types: PendingDisable :: PolicyTypeStatus
- Network.AWS.Organizations.Types: PendingEnable :: PolicyTypeStatus
- Network.AWS.Organizations.Types: Requested :: HandshakeState
- Network.AWS.Organizations.Types: Root :: ParentType
- Network.AWS.Organizations.Types: ServiceControlPolicy :: PolicyType
- Network.AWS.Organizations.Types: Succeeded :: CreateAccountState
- Network.AWS.Organizations.Types: Suspended :: AccountStatus
- Network.AWS.Organizations.Types: TTAccount :: TargetType
- Network.AWS.Organizations.Types: TTOrganizationalUnit :: TargetType
- Network.AWS.Organizations.Types: TTRoot :: TargetType
- Network.AWS.Organizations.Types: _AWSOrganizationsNotInUseException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _AccessDeniedForDependencyException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _AccountNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _AlreadyInOrganizationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _ChildNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _ConstraintViolationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _CreateAccountStatusNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _DestinationParentNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _DuplicateAccountException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _DuplicateHandshakeException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _DuplicateOrganizationalUnitException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _DuplicatePolicyAttachmentException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _DuplicatePolicyException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _FinalizingOrganizationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _HandshakeAlreadyInStateException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _HandshakeConstraintViolationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _HandshakeNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _InvalidHandshakeTransitionException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _MalformedPolicyDocumentException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _MasterCannotLeaveOrganizationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _OrganizationNotEmptyException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _OrganizationalUnitNotEmptyException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _OrganizationalUnitNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _ParentNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _PolicyInUseException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _PolicyNotAttachedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _PolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _PolicyTypeAlreadyEnabledException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _PolicyTypeNotAvailableForOrganizationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _PolicyTypeNotEnabledException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _RootNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _ServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _SourceParentNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _TargetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Organizations.Types: aARN :: Lens' Account (Maybe Text)
- Network.AWS.Organizations.Types: aEmail :: Lens' Account (Maybe Text)
- Network.AWS.Organizations.Types: aId :: Lens' Account (Maybe Text)
- Network.AWS.Organizations.Types: aJoinedMethod :: Lens' Account (Maybe AccountJoinedMethod)
- Network.AWS.Organizations.Types: aJoinedTimestamp :: Lens' Account (Maybe UTCTime)
- Network.AWS.Organizations.Types: aName :: Lens' Account (Maybe Text)
- Network.AWS.Organizations.Types: aStatus :: Lens' Account (Maybe AccountStatus)
- Network.AWS.Organizations.Types: account :: Account
- Network.AWS.Organizations.Types: cId :: Lens' Child (Maybe Text)
- Network.AWS.Organizations.Types: cType :: Lens' Child (Maybe ChildType)
- Network.AWS.Organizations.Types: casAccountId :: Lens' CreateAccountStatus (Maybe Text)
- Network.AWS.Organizations.Types: casAccountName :: Lens' CreateAccountStatus (Maybe Text)
- Network.AWS.Organizations.Types: casCompletedTimestamp :: Lens' CreateAccountStatus (Maybe UTCTime)
- Network.AWS.Organizations.Types: casFailureReason :: Lens' CreateAccountStatus (Maybe CreateAccountFailureReason)
- Network.AWS.Organizations.Types: casId :: Lens' CreateAccountStatus (Maybe Text)
- Network.AWS.Organizations.Types: casRequestedTimestamp :: Lens' CreateAccountStatus (Maybe UTCTime)
- Network.AWS.Organizations.Types: casState :: Lens' CreateAccountStatus (Maybe CreateAccountState)
- Network.AWS.Organizations.Types: child :: Child
- Network.AWS.Organizations.Types: createAccountStatus :: CreateAccountStatus
- Network.AWS.Organizations.Types: data Account
- Network.AWS.Organizations.Types: data AccountJoinedMethod
- Network.AWS.Organizations.Types: data AccountStatus
- Network.AWS.Organizations.Types: data ActionType
- Network.AWS.Organizations.Types: data Child
- Network.AWS.Organizations.Types: data ChildType
- Network.AWS.Organizations.Types: data CreateAccountFailureReason
- Network.AWS.Organizations.Types: data CreateAccountState
- Network.AWS.Organizations.Types: data CreateAccountStatus
- Network.AWS.Organizations.Types: data EnabledServicePrincipal
- Network.AWS.Organizations.Types: data Handshake
- Network.AWS.Organizations.Types: data HandshakeFilter
- Network.AWS.Organizations.Types: data HandshakeParty
- Network.AWS.Organizations.Types: data HandshakePartyType
- Network.AWS.Organizations.Types: data HandshakeResource
- Network.AWS.Organizations.Types: data HandshakeResourceType
- Network.AWS.Organizations.Types: data HandshakeState
- Network.AWS.Organizations.Types: data IAMUserAccessToBilling
- Network.AWS.Organizations.Types: data Organization
- Network.AWS.Organizations.Types: data OrganizationFeatureSet
- Network.AWS.Organizations.Types: data OrganizationalUnit
- Network.AWS.Organizations.Types: data Parent
- Network.AWS.Organizations.Types: data ParentType
- Network.AWS.Organizations.Types: data Policy
- Network.AWS.Organizations.Types: data PolicySummary
- Network.AWS.Organizations.Types: data PolicyTargetSummary
- Network.AWS.Organizations.Types: data PolicyType
- Network.AWS.Organizations.Types: data PolicyTypeStatus
- Network.AWS.Organizations.Types: data PolicyTypeSummary
- Network.AWS.Organizations.Types: data Root
- Network.AWS.Organizations.Types: data TargetType
- Network.AWS.Organizations.Types: enabledServicePrincipal :: EnabledServicePrincipal
- Network.AWS.Organizations.Types: espDateEnabled :: Lens' EnabledServicePrincipal (Maybe UTCTime)
- Network.AWS.Organizations.Types: espServicePrincipal :: Lens' EnabledServicePrincipal (Maybe Text)
- Network.AWS.Organizations.Types: hARN :: Lens' Handshake (Maybe Text)
- Network.AWS.Organizations.Types: hAction :: Lens' Handshake (Maybe ActionType)
- Network.AWS.Organizations.Types: hExpirationTimestamp :: Lens' Handshake (Maybe UTCTime)
- Network.AWS.Organizations.Types: hId :: Lens' Handshake (Maybe Text)
- Network.AWS.Organizations.Types: hParties :: Lens' Handshake [HandshakeParty]
- Network.AWS.Organizations.Types: hRequestedTimestamp :: Lens' Handshake (Maybe UTCTime)
- Network.AWS.Organizations.Types: hResources :: Lens' Handshake [HandshakeResource]
- Network.AWS.Organizations.Types: hState :: Lens' Handshake (Maybe HandshakeState)
- Network.AWS.Organizations.Types: handshake :: Handshake
- Network.AWS.Organizations.Types: handshakeFilter :: HandshakeFilter
- Network.AWS.Organizations.Types: handshakeParty :: Text -> HandshakePartyType -> HandshakeParty
- Network.AWS.Organizations.Types: handshakeResource :: HandshakeResource
- Network.AWS.Organizations.Types: hfActionType :: Lens' HandshakeFilter (Maybe ActionType)
- Network.AWS.Organizations.Types: hfParentHandshakeId :: Lens' HandshakeFilter (Maybe Text)
- Network.AWS.Organizations.Types: hpId :: Lens' HandshakeParty Text
- Network.AWS.Organizations.Types: hpType :: Lens' HandshakeParty HandshakePartyType
- Network.AWS.Organizations.Types: hrResources :: Lens' HandshakeResource [HandshakeResource]
- Network.AWS.Organizations.Types: hrType :: Lens' HandshakeResource (Maybe HandshakeResourceType)
- Network.AWS.Organizations.Types: hrValue :: Lens' HandshakeResource (Maybe Text)
- Network.AWS.Organizations.Types: oARN :: Lens' Organization (Maybe Text)
- Network.AWS.Organizations.Types: oAvailablePolicyTypes :: Lens' Organization [PolicyTypeSummary]
- Network.AWS.Organizations.Types: oFeatureSet :: Lens' Organization (Maybe OrganizationFeatureSet)
- Network.AWS.Organizations.Types: oId :: Lens' Organization (Maybe Text)
- Network.AWS.Organizations.Types: oMasterAccountARN :: Lens' Organization (Maybe Text)
- Network.AWS.Organizations.Types: oMasterAccountEmail :: Lens' Organization (Maybe Text)
- Network.AWS.Organizations.Types: oMasterAccountId :: Lens' Organization (Maybe Text)
- Network.AWS.Organizations.Types: organization :: Organization
- Network.AWS.Organizations.Types: organizationalUnit :: OrganizationalUnit
- Network.AWS.Organizations.Types: organizations :: Service
- Network.AWS.Organizations.Types: ouARN :: Lens' OrganizationalUnit (Maybe Text)
- Network.AWS.Organizations.Types: ouId :: Lens' OrganizationalUnit (Maybe Text)
- Network.AWS.Organizations.Types: ouName :: Lens' OrganizationalUnit (Maybe Text)
- Network.AWS.Organizations.Types: pContent :: Lens' Policy (Maybe Text)
- Network.AWS.Organizations.Types: pId :: Lens' Parent (Maybe Text)
- Network.AWS.Organizations.Types: pPolicySummary :: Lens' Policy (Maybe PolicySummary)
- Network.AWS.Organizations.Types: pType :: Lens' Parent (Maybe ParentType)
- Network.AWS.Organizations.Types: parent :: Parent
- Network.AWS.Organizations.Types: polARN :: Lens' PolicyTargetSummary (Maybe Text)
- Network.AWS.Organizations.Types: polName :: Lens' PolicyTargetSummary (Maybe Text)
- Network.AWS.Organizations.Types: polTargetId :: Lens' PolicyTargetSummary (Maybe Text)
- Network.AWS.Organizations.Types: polType :: Lens' PolicyTargetSummary (Maybe TargetType)
- Network.AWS.Organizations.Types: policy :: Policy
- Network.AWS.Organizations.Types: policySummary :: PolicySummary
- Network.AWS.Organizations.Types: policyTargetSummary :: PolicyTargetSummary
- Network.AWS.Organizations.Types: policyTypeSummary :: PolicyTypeSummary
- Network.AWS.Organizations.Types: psARN :: Lens' PolicySummary (Maybe Text)
- Network.AWS.Organizations.Types: psAWSManaged :: Lens' PolicySummary (Maybe Bool)
- Network.AWS.Organizations.Types: psDescription :: Lens' PolicySummary (Maybe Text)
- Network.AWS.Organizations.Types: psId :: Lens' PolicySummary (Maybe Text)
- Network.AWS.Organizations.Types: psName :: Lens' PolicySummary (Maybe Text)
- Network.AWS.Organizations.Types: psType :: Lens' PolicySummary (Maybe PolicyType)
- Network.AWS.Organizations.Types: ptsStatus :: Lens' PolicyTypeSummary (Maybe PolicyTypeStatus)
- Network.AWS.Organizations.Types: ptsType :: Lens' PolicyTypeSummary (Maybe PolicyType)
- Network.AWS.Organizations.Types: rARN :: Lens' Root (Maybe Text)
- Network.AWS.Organizations.Types: rId :: Lens' Root (Maybe Text)
- Network.AWS.Organizations.Types: rName :: Lens' Root (Maybe Text)
- Network.AWS.Organizations.Types: rPolicyTypes :: Lens' Root [PolicyTypeSummary]
- Network.AWS.Organizations.Types: root :: Root
- Network.AWS.Organizations.UpdateOrganizationalUnit: data UpdateOrganizationalUnit
- Network.AWS.Organizations.UpdateOrganizationalUnit: data UpdateOrganizationalUnitResponse
- Network.AWS.Organizations.UpdateOrganizationalUnit: instance Control.DeepSeq.NFData Network.AWS.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
- Network.AWS.Organizations.UpdateOrganizationalUnit: instance Control.DeepSeq.NFData Network.AWS.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnitResponse
- Network.AWS.Organizations.UpdateOrganizationalUnit: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
- Network.AWS.Organizations.UpdateOrganizationalUnit: instance Data.Data.Data Network.AWS.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
- Network.AWS.Organizations.UpdateOrganizationalUnit: instance Data.Data.Data Network.AWS.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnitResponse
- Network.AWS.Organizations.UpdateOrganizationalUnit: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
- Network.AWS.Organizations.UpdateOrganizationalUnit: instance GHC.Classes.Eq Network.AWS.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
- Network.AWS.Organizations.UpdateOrganizationalUnit: instance GHC.Classes.Eq Network.AWS.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnitResponse
- Network.AWS.Organizations.UpdateOrganizationalUnit: instance GHC.Generics.Generic Network.AWS.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
- Network.AWS.Organizations.UpdateOrganizationalUnit: instance GHC.Generics.Generic Network.AWS.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnitResponse
- Network.AWS.Organizations.UpdateOrganizationalUnit: instance GHC.Read.Read Network.AWS.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
- Network.AWS.Organizations.UpdateOrganizationalUnit: instance GHC.Read.Read Network.AWS.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnitResponse
- Network.AWS.Organizations.UpdateOrganizationalUnit: instance GHC.Show.Show Network.AWS.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
- Network.AWS.Organizations.UpdateOrganizationalUnit: instance GHC.Show.Show Network.AWS.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnitResponse
- Network.AWS.Organizations.UpdateOrganizationalUnit: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
- Network.AWS.Organizations.UpdateOrganizationalUnit: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
- Network.AWS.Organizations.UpdateOrganizationalUnit: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
- Network.AWS.Organizations.UpdateOrganizationalUnit: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
- Network.AWS.Organizations.UpdateOrganizationalUnit: uouName :: Lens' UpdateOrganizationalUnit (Maybe Text)
- Network.AWS.Organizations.UpdateOrganizationalUnit: uouOrganizationalUnitId :: Lens' UpdateOrganizationalUnit Text
- Network.AWS.Organizations.UpdateOrganizationalUnit: uoursOrganizationalUnit :: Lens' UpdateOrganizationalUnitResponse (Maybe OrganizationalUnit)
- Network.AWS.Organizations.UpdateOrganizationalUnit: uoursResponseStatus :: Lens' UpdateOrganizationalUnitResponse Int
- Network.AWS.Organizations.UpdateOrganizationalUnit: updateOrganizationalUnit :: Text -> UpdateOrganizationalUnit
- Network.AWS.Organizations.UpdateOrganizationalUnit: updateOrganizationalUnitResponse :: Int -> UpdateOrganizationalUnitResponse
- Network.AWS.Organizations.UpdatePolicy: data UpdatePolicy
- Network.AWS.Organizations.UpdatePolicy: data UpdatePolicyResponse
- Network.AWS.Organizations.UpdatePolicy: instance Control.DeepSeq.NFData Network.AWS.Organizations.UpdatePolicy.UpdatePolicy
- Network.AWS.Organizations.UpdatePolicy: instance Control.DeepSeq.NFData Network.AWS.Organizations.UpdatePolicy.UpdatePolicyResponse
- Network.AWS.Organizations.UpdatePolicy: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Organizations.UpdatePolicy.UpdatePolicy
- Network.AWS.Organizations.UpdatePolicy: instance Data.Data.Data Network.AWS.Organizations.UpdatePolicy.UpdatePolicy
- Network.AWS.Organizations.UpdatePolicy: instance Data.Data.Data Network.AWS.Organizations.UpdatePolicy.UpdatePolicyResponse
- Network.AWS.Organizations.UpdatePolicy: instance Data.Hashable.Class.Hashable Network.AWS.Organizations.UpdatePolicy.UpdatePolicy
- Network.AWS.Organizations.UpdatePolicy: instance GHC.Classes.Eq Network.AWS.Organizations.UpdatePolicy.UpdatePolicy
- Network.AWS.Organizations.UpdatePolicy: instance GHC.Classes.Eq Network.AWS.Organizations.UpdatePolicy.UpdatePolicyResponse
- Network.AWS.Organizations.UpdatePolicy: instance GHC.Generics.Generic Network.AWS.Organizations.UpdatePolicy.UpdatePolicy
- Network.AWS.Organizations.UpdatePolicy: instance GHC.Generics.Generic Network.AWS.Organizations.UpdatePolicy.UpdatePolicyResponse
- Network.AWS.Organizations.UpdatePolicy: instance GHC.Read.Read Network.AWS.Organizations.UpdatePolicy.UpdatePolicy
- Network.AWS.Organizations.UpdatePolicy: instance GHC.Read.Read Network.AWS.Organizations.UpdatePolicy.UpdatePolicyResponse
- Network.AWS.Organizations.UpdatePolicy: instance GHC.Show.Show Network.AWS.Organizations.UpdatePolicy.UpdatePolicy
- Network.AWS.Organizations.UpdatePolicy: instance GHC.Show.Show Network.AWS.Organizations.UpdatePolicy.UpdatePolicyResponse
- Network.AWS.Organizations.UpdatePolicy: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Organizations.UpdatePolicy.UpdatePolicy
- Network.AWS.Organizations.UpdatePolicy: instance Network.AWS.Data.Path.ToPath Network.AWS.Organizations.UpdatePolicy.UpdatePolicy
- Network.AWS.Organizations.UpdatePolicy: instance Network.AWS.Data.Query.ToQuery Network.AWS.Organizations.UpdatePolicy.UpdatePolicy
- Network.AWS.Organizations.UpdatePolicy: instance Network.AWS.Types.AWSRequest Network.AWS.Organizations.UpdatePolicy.UpdatePolicy
- Network.AWS.Organizations.UpdatePolicy: upContent :: Lens' UpdatePolicy (Maybe Text)
- Network.AWS.Organizations.UpdatePolicy: upDescription :: Lens' UpdatePolicy (Maybe Text)
- Network.AWS.Organizations.UpdatePolicy: upName :: Lens' UpdatePolicy (Maybe Text)
- Network.AWS.Organizations.UpdatePolicy: upPolicyId :: Lens' UpdatePolicy Text
- Network.AWS.Organizations.UpdatePolicy: updatePolicy :: Text -> UpdatePolicy
- Network.AWS.Organizations.UpdatePolicy: updatePolicyResponse :: Int -> UpdatePolicyResponse
- Network.AWS.Organizations.UpdatePolicy: uprsPolicy :: Lens' UpdatePolicyResponse (Maybe Policy)
- Network.AWS.Organizations.UpdatePolicy: uprsResponseStatus :: Lens' UpdatePolicyResponse Int
+ Amazonka.Organizations: AcceptHandshake' :: Text -> AcceptHandshake
+ Amazonka.Organizations: AcceptHandshakeResponse' :: Maybe Handshake -> Int -> AcceptHandshakeResponse
+ Amazonka.Organizations: Account' :: Maybe Text -> Maybe (Sensitive Text) -> Maybe Text -> Maybe AccountJoinedMethod -> Maybe POSIX -> Maybe (Sensitive Text) -> Maybe AccountStatus -> Account
+ Amazonka.Organizations: AccountJoinedMethod' :: Text -> AccountJoinedMethod
+ Amazonka.Organizations: AccountStatus' :: Text -> AccountStatus
+ Amazonka.Organizations: ActionType' :: Text -> ActionType
+ Amazonka.Organizations: AttachPolicy' :: Text -> Text -> AttachPolicy
+ Amazonka.Organizations: AttachPolicyResponse' :: AttachPolicyResponse
+ Amazonka.Organizations: CancelHandshake' :: Text -> CancelHandshake
+ Amazonka.Organizations: CancelHandshakeResponse' :: Maybe Handshake -> Int -> CancelHandshakeResponse
+ Amazonka.Organizations: Child' :: Maybe Text -> Maybe ChildType -> Child
+ Amazonka.Organizations: ChildType' :: Text -> ChildType
+ Amazonka.Organizations: CloseAccount' :: Text -> CloseAccount
+ Amazonka.Organizations: CloseAccountResponse' :: CloseAccountResponse
+ Amazonka.Organizations: CreateAccount' :: Maybe IAMUserAccessToBilling -> Maybe Text -> Maybe [Tag] -> Sensitive Text -> Sensitive Text -> CreateAccount
+ Amazonka.Organizations: CreateAccountFailureReason' :: Text -> CreateAccountFailureReason
+ Amazonka.Organizations: CreateAccountResponse' :: Maybe CreateAccountStatus -> Int -> CreateAccountResponse
+ Amazonka.Organizations: CreateAccountState' :: Text -> CreateAccountState
+ Amazonka.Organizations: CreateAccountStatus' :: Maybe Text -> Maybe (Sensitive Text) -> Maybe POSIX -> Maybe CreateAccountFailureReason -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe CreateAccountState -> CreateAccountStatus
+ Amazonka.Organizations: CreateGovCloudAccount' :: Maybe IAMUserAccessToBilling -> Maybe Text -> Maybe [Tag] -> Sensitive Text -> Sensitive Text -> CreateGovCloudAccount
+ Amazonka.Organizations: CreateGovCloudAccountResponse' :: Maybe CreateAccountStatus -> Int -> CreateGovCloudAccountResponse
+ Amazonka.Organizations: CreateOrganization' :: Maybe OrganizationFeatureSet -> CreateOrganization
+ Amazonka.Organizations: CreateOrganizationResponse' :: Maybe Organization -> Int -> CreateOrganizationResponse
+ Amazonka.Organizations: CreateOrganizationalUnit' :: Maybe [Tag] -> Text -> Text -> CreateOrganizationalUnit
+ Amazonka.Organizations: CreateOrganizationalUnitResponse' :: Maybe OrganizationalUnit -> Int -> CreateOrganizationalUnitResponse
+ Amazonka.Organizations: CreatePolicy' :: Maybe [Tag] -> Text -> Text -> Text -> PolicyType -> CreatePolicy
+ Amazonka.Organizations: CreatePolicyResponse' :: Maybe Policy -> Int -> CreatePolicyResponse
+ Amazonka.Organizations: DeclineHandshake' :: Text -> DeclineHandshake
+ Amazonka.Organizations: DeclineHandshakeResponse' :: Maybe Handshake -> Int -> DeclineHandshakeResponse
+ Amazonka.Organizations: DelegatedAdministrator' :: Maybe Text -> Maybe POSIX -> Maybe (Sensitive Text) -> Maybe Text -> Maybe AccountJoinedMethod -> Maybe POSIX -> Maybe (Sensitive Text) -> Maybe AccountStatus -> DelegatedAdministrator
+ Amazonka.Organizations: DelegatedService' :: Maybe POSIX -> Maybe Text -> DelegatedService
+ Amazonka.Organizations: DeleteOrganization' :: DeleteOrganization
+ Amazonka.Organizations: DeleteOrganizationResponse' :: DeleteOrganizationResponse
+ Amazonka.Organizations: DeleteOrganizationalUnit' :: Text -> DeleteOrganizationalUnit
+ Amazonka.Organizations: DeleteOrganizationalUnitResponse' :: DeleteOrganizationalUnitResponse
+ Amazonka.Organizations: DeletePolicy' :: Text -> DeletePolicy
+ Amazonka.Organizations: DeletePolicyResponse' :: DeletePolicyResponse
+ Amazonka.Organizations: DeleteResourcePolicy' :: DeleteResourcePolicy
+ Amazonka.Organizations: DeleteResourcePolicyResponse' :: DeleteResourcePolicyResponse
+ Amazonka.Organizations: DeregisterDelegatedAdministrator' :: Text -> Text -> DeregisterDelegatedAdministrator
+ Amazonka.Organizations: DeregisterDelegatedAdministratorResponse' :: DeregisterDelegatedAdministratorResponse
+ Amazonka.Organizations: DescribeAccount' :: Text -> DescribeAccount
+ Amazonka.Organizations: DescribeAccountResponse' :: Maybe Account -> Int -> DescribeAccountResponse
+ Amazonka.Organizations: DescribeCreateAccountStatus' :: Text -> DescribeCreateAccountStatus
+ Amazonka.Organizations: DescribeCreateAccountStatusResponse' :: Maybe CreateAccountStatus -> Int -> DescribeCreateAccountStatusResponse
+ Amazonka.Organizations: DescribeEffectivePolicy' :: Maybe Text -> EffectivePolicyType -> DescribeEffectivePolicy
+ Amazonka.Organizations: DescribeEffectivePolicyResponse' :: Maybe EffectivePolicy -> Int -> DescribeEffectivePolicyResponse
+ Amazonka.Organizations: DescribeHandshake' :: Text -> DescribeHandshake
+ Amazonka.Organizations: DescribeHandshakeResponse' :: Maybe Handshake -> Int -> DescribeHandshakeResponse
+ Amazonka.Organizations: DescribeOrganization' :: DescribeOrganization
+ Amazonka.Organizations: DescribeOrganizationResponse' :: Maybe Organization -> Int -> DescribeOrganizationResponse
+ Amazonka.Organizations: DescribeOrganizationalUnit' :: Text -> DescribeOrganizationalUnit
+ Amazonka.Organizations: DescribeOrganizationalUnitResponse' :: Maybe OrganizationalUnit -> Int -> DescribeOrganizationalUnitResponse
+ Amazonka.Organizations: DescribePolicy' :: Text -> DescribePolicy
+ Amazonka.Organizations: DescribePolicyResponse' :: Maybe Policy -> Int -> DescribePolicyResponse
+ Amazonka.Organizations: DescribeResourcePolicy' :: DescribeResourcePolicy
+ Amazonka.Organizations: DescribeResourcePolicyResponse' :: Maybe ResourcePolicy -> Int -> DescribeResourcePolicyResponse
+ Amazonka.Organizations: DetachPolicy' :: Text -> Text -> DetachPolicy
+ Amazonka.Organizations: DetachPolicyResponse' :: DetachPolicyResponse
+ Amazonka.Organizations: DisableAWSServiceAccess' :: Text -> DisableAWSServiceAccess
+ Amazonka.Organizations: DisableAWSServiceAccessResponse' :: DisableAWSServiceAccessResponse
+ Amazonka.Organizations: DisablePolicyType' :: Text -> PolicyType -> DisablePolicyType
+ Amazonka.Organizations: DisablePolicyTypeResponse' :: Maybe Root -> Int -> DisablePolicyTypeResponse
+ Amazonka.Organizations: EffectivePolicy' :: Maybe POSIX -> Maybe Text -> Maybe EffectivePolicyType -> Maybe Text -> EffectivePolicy
+ Amazonka.Organizations: EffectivePolicyType' :: Text -> EffectivePolicyType
+ Amazonka.Organizations: EnableAWSServiceAccess' :: Text -> EnableAWSServiceAccess
+ Amazonka.Organizations: EnableAWSServiceAccessResponse' :: EnableAWSServiceAccessResponse
+ Amazonka.Organizations: EnableAllFeatures' :: EnableAllFeatures
+ Amazonka.Organizations: EnableAllFeaturesResponse' :: Maybe Handshake -> Int -> EnableAllFeaturesResponse
+ Amazonka.Organizations: EnablePolicyType' :: Text -> PolicyType -> EnablePolicyType
+ Amazonka.Organizations: EnablePolicyTypeResponse' :: Maybe Root -> Int -> EnablePolicyTypeResponse
+ Amazonka.Organizations: EnabledServicePrincipal' :: Maybe POSIX -> Maybe Text -> EnabledServicePrincipal
+ Amazonka.Organizations: Handshake' :: Maybe ActionType -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe [HandshakeParty] -> Maybe POSIX -> Maybe [HandshakeResource] -> Maybe HandshakeState -> Handshake
+ Amazonka.Organizations: HandshakeFilter' :: Maybe ActionType -> Maybe Text -> HandshakeFilter
+ Amazonka.Organizations: HandshakeParty' :: Sensitive Text -> HandshakePartyType -> HandshakeParty
+ Amazonka.Organizations: HandshakePartyType' :: Text -> HandshakePartyType
+ Amazonka.Organizations: HandshakeResource' :: Maybe [HandshakeResource] -> Maybe HandshakeResourceType -> Maybe (Sensitive Text) -> HandshakeResource
+ Amazonka.Organizations: HandshakeResourceType' :: Text -> HandshakeResourceType
+ Amazonka.Organizations: HandshakeState' :: Text -> HandshakeState
+ Amazonka.Organizations: IAMUserAccessToBilling' :: Text -> IAMUserAccessToBilling
+ Amazonka.Organizations: InviteAccountToOrganization' :: Maybe (Sensitive Text) -> Maybe [Tag] -> HandshakeParty -> InviteAccountToOrganization
+ Amazonka.Organizations: InviteAccountToOrganizationResponse' :: Maybe Handshake -> Int -> InviteAccountToOrganizationResponse
+ Amazonka.Organizations: LeaveOrganization' :: LeaveOrganization
+ Amazonka.Organizations: LeaveOrganizationResponse' :: LeaveOrganizationResponse
+ Amazonka.Organizations: ListAWSServiceAccessForOrganization' :: Maybe Natural -> Maybe Text -> ListAWSServiceAccessForOrganization
+ Amazonka.Organizations: ListAWSServiceAccessForOrganizationResponse' :: Maybe [EnabledServicePrincipal] -> Maybe Text -> Int -> ListAWSServiceAccessForOrganizationResponse
+ Amazonka.Organizations: ListAccounts' :: Maybe Natural -> Maybe Text -> ListAccounts
+ Amazonka.Organizations: ListAccountsForParent' :: Maybe Natural -> Maybe Text -> Text -> ListAccountsForParent
+ Amazonka.Organizations: ListAccountsForParentResponse' :: Maybe [Account] -> Maybe Text -> Int -> ListAccountsForParentResponse
+ Amazonka.Organizations: ListAccountsResponse' :: Maybe [Account] -> Maybe Text -> Int -> ListAccountsResponse
+ Amazonka.Organizations: ListChildren' :: Maybe Natural -> Maybe Text -> Text -> ChildType -> ListChildren
+ Amazonka.Organizations: ListChildrenResponse' :: Maybe [Child] -> Maybe Text -> Int -> ListChildrenResponse
+ Amazonka.Organizations: ListCreateAccountStatus' :: Maybe Natural -> Maybe Text -> Maybe [CreateAccountState] -> ListCreateAccountStatus
+ Amazonka.Organizations: ListCreateAccountStatusResponse' :: Maybe [CreateAccountStatus] -> Maybe Text -> Int -> ListCreateAccountStatusResponse
+ Amazonka.Organizations: ListDelegatedAdministrators' :: Maybe Natural -> Maybe Text -> Maybe Text -> ListDelegatedAdministrators
+ Amazonka.Organizations: ListDelegatedAdministratorsResponse' :: Maybe [DelegatedAdministrator] -> Maybe Text -> Int -> ListDelegatedAdministratorsResponse
+ Amazonka.Organizations: ListDelegatedServicesForAccount' :: Maybe Natural -> Maybe Text -> Text -> ListDelegatedServicesForAccount
+ Amazonka.Organizations: ListDelegatedServicesForAccountResponse' :: Maybe [DelegatedService] -> Maybe Text -> Int -> ListDelegatedServicesForAccountResponse
+ Amazonka.Organizations: ListHandshakesForAccount' :: Maybe HandshakeFilter -> Maybe Natural -> Maybe Text -> ListHandshakesForAccount
+ Amazonka.Organizations: ListHandshakesForAccountResponse' :: Maybe [Handshake] -> Maybe Text -> Int -> ListHandshakesForAccountResponse
+ Amazonka.Organizations: ListHandshakesForOrganization' :: Maybe HandshakeFilter -> Maybe Natural -> Maybe Text -> ListHandshakesForOrganization
+ Amazonka.Organizations: ListHandshakesForOrganizationResponse' :: Maybe [Handshake] -> Maybe Text -> Int -> ListHandshakesForOrganizationResponse
+ Amazonka.Organizations: ListOrganizationalUnitsForParent' :: Maybe Natural -> Maybe Text -> Text -> ListOrganizationalUnitsForParent
+ Amazonka.Organizations: ListOrganizationalUnitsForParentResponse' :: Maybe Text -> Maybe [OrganizationalUnit] -> Int -> ListOrganizationalUnitsForParentResponse
+ Amazonka.Organizations: ListParents' :: Maybe Natural -> Maybe Text -> Text -> ListParents
+ Amazonka.Organizations: ListParentsResponse' :: Maybe Text -> Maybe [Parent] -> Int -> ListParentsResponse
+ Amazonka.Organizations: ListPolicies' :: Maybe Natural -> Maybe Text -> PolicyType -> ListPolicies
+ Amazonka.Organizations: ListPoliciesForTarget' :: Maybe Natural -> Maybe Text -> Text -> PolicyType -> ListPoliciesForTarget
+ Amazonka.Organizations: ListPoliciesForTargetResponse' :: Maybe Text -> Maybe [PolicySummary] -> Int -> ListPoliciesForTargetResponse
+ Amazonka.Organizations: ListPoliciesResponse' :: Maybe Text -> Maybe [PolicySummary] -> Int -> ListPoliciesResponse
+ Amazonka.Organizations: ListRoots' :: Maybe Natural -> Maybe Text -> ListRoots
+ Amazonka.Organizations: ListRootsResponse' :: Maybe Text -> Maybe [Root] -> Int -> ListRootsResponse
+ Amazonka.Organizations: ListTagsForResource' :: Maybe Text -> Text -> ListTagsForResource
+ Amazonka.Organizations: ListTagsForResourceResponse' :: Maybe Text -> Maybe [Tag] -> Int -> ListTagsForResourceResponse
+ Amazonka.Organizations: ListTargetsForPolicy' :: Maybe Natural -> Maybe Text -> Text -> ListTargetsForPolicy
+ Amazonka.Organizations: ListTargetsForPolicyResponse' :: Maybe Text -> Maybe [PolicyTargetSummary] -> Int -> ListTargetsForPolicyResponse
+ Amazonka.Organizations: MoveAccount' :: Text -> Text -> Text -> MoveAccount
+ Amazonka.Organizations: MoveAccountResponse' :: MoveAccountResponse
+ Amazonka.Organizations: Organization' :: Maybe Text -> Maybe [PolicyTypeSummary] -> Maybe OrganizationFeatureSet -> Maybe Text -> Maybe Text -> Maybe (Sensitive Text) -> Maybe Text -> Organization
+ Amazonka.Organizations: OrganizationFeatureSet' :: Text -> OrganizationFeatureSet
+ Amazonka.Organizations: OrganizationalUnit' :: Maybe Text -> Maybe Text -> Maybe Text -> OrganizationalUnit
+ Amazonka.Organizations: Parent' :: Maybe Text -> Maybe ParentType -> Parent
+ Amazonka.Organizations: ParentType' :: Text -> ParentType
+ Amazonka.Organizations: Policy' :: Maybe Text -> Maybe PolicySummary -> Policy
+ Amazonka.Organizations: PolicySummary' :: Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PolicyType -> PolicySummary
+ Amazonka.Organizations: PolicyTargetSummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe TargetType -> PolicyTargetSummary
+ Amazonka.Organizations: PolicyType' :: Text -> PolicyType
+ Amazonka.Organizations: PolicyTypeStatus' :: Text -> PolicyTypeStatus
+ Amazonka.Organizations: PolicyTypeSummary' :: Maybe PolicyTypeStatus -> Maybe PolicyType -> PolicyTypeSummary
+ Amazonka.Organizations: PutResourcePolicy' :: Maybe [Tag] -> Text -> PutResourcePolicy
+ Amazonka.Organizations: PutResourcePolicyResponse' :: Maybe ResourcePolicy -> Int -> PutResourcePolicyResponse
+ Amazonka.Organizations: RegisterDelegatedAdministrator' :: Text -> Text -> RegisterDelegatedAdministrator
+ Amazonka.Organizations: RegisterDelegatedAdministratorResponse' :: RegisterDelegatedAdministratorResponse
+ Amazonka.Organizations: RemoveAccountFromOrganization' :: Text -> RemoveAccountFromOrganization
+ Amazonka.Organizations: RemoveAccountFromOrganizationResponse' :: RemoveAccountFromOrganizationResponse
+ Amazonka.Organizations: ResourcePolicy' :: Maybe Text -> Maybe ResourcePolicySummary -> ResourcePolicy
+ Amazonka.Organizations: ResourcePolicySummary' :: Maybe Text -> Maybe Text -> ResourcePolicySummary
+ Amazonka.Organizations: Root' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe [PolicyTypeSummary] -> Root
+ Amazonka.Organizations: Tag' :: Text -> Text -> Tag
+ Amazonka.Organizations: TagResource' :: Text -> [Tag] -> TagResource
+ Amazonka.Organizations: TagResourceResponse' :: TagResourceResponse
+ Amazonka.Organizations: TargetType' :: Text -> TargetType
+ Amazonka.Organizations: UntagResource' :: Text -> [Text] -> UntagResource
+ Amazonka.Organizations: UntagResourceResponse' :: UntagResourceResponse
+ Amazonka.Organizations: UpdateOrganizationalUnit' :: Maybe Text -> Text -> UpdateOrganizationalUnit
+ Amazonka.Organizations: UpdateOrganizationalUnitResponse' :: Maybe OrganizationalUnit -> Int -> UpdateOrganizationalUnitResponse
+ Amazonka.Organizations: UpdatePolicy' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> UpdatePolicy
+ Amazonka.Organizations: UpdatePolicyResponse' :: Maybe Policy -> Int -> UpdatePolicyResponse
+ Amazonka.Organizations: [fromAccountJoinedMethod] :: AccountJoinedMethod -> Text
+ Amazonka.Organizations: [fromAccountStatus] :: AccountStatus -> Text
+ Amazonka.Organizations: [fromActionType] :: ActionType -> Text
+ Amazonka.Organizations: [fromChildType] :: ChildType -> Text
+ Amazonka.Organizations: [fromCreateAccountFailureReason] :: CreateAccountFailureReason -> Text
+ Amazonka.Organizations: [fromCreateAccountState] :: CreateAccountState -> Text
+ Amazonka.Organizations: [fromEffectivePolicyType] :: EffectivePolicyType -> Text
+ Amazonka.Organizations: [fromHandshakePartyType] :: HandshakePartyType -> Text
+ Amazonka.Organizations: [fromHandshakeResourceType] :: HandshakeResourceType -> Text
+ Amazonka.Organizations: [fromHandshakeState] :: HandshakeState -> Text
+ Amazonka.Organizations: [fromIAMUserAccessToBilling] :: IAMUserAccessToBilling -> Text
+ Amazonka.Organizations: [fromOrganizationFeatureSet] :: OrganizationFeatureSet -> Text
+ Amazonka.Organizations: [fromParentType] :: ParentType -> Text
+ Amazonka.Organizations: [fromPolicyTypeStatus] :: PolicyTypeStatus -> Text
+ Amazonka.Organizations: [fromPolicyType] :: PolicyType -> Text
+ Amazonka.Organizations: [fromTargetType] :: TargetType -> Text
+ Amazonka.Organizations: _AWSOrganizationsNotInUseException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _AccessDeniedException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _AccessDeniedForDependencyException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _AccountAlreadyClosedException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _AccountAlreadyRegisteredException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _AccountNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _AccountNotRegisteredException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _AccountOwnerNotVerifiedException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _AlreadyInOrganizationException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _ChildNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _ConcurrentModificationException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _ConflictException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _ConstraintViolationException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _CreateAccountStatusNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _DestinationParentNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _DuplicateAccountException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _DuplicateHandshakeException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _DuplicateOrganizationalUnitException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _DuplicatePolicyAttachmentException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _DuplicatePolicyException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _EffectivePolicyNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _FinalizingOrganizationException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _HandshakeAlreadyInStateException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _HandshakeConstraintViolationException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _HandshakeNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _InvalidHandshakeTransitionException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _InvalidInputException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _MalformedPolicyDocumentException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _MasterCannotLeaveOrganizationException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _OrganizationNotEmptyException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _OrganizationalUnitNotEmptyException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _OrganizationalUnitNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _ParentNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _PolicyChangesInProgressException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _PolicyInUseException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _PolicyNotAttachedException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _PolicyNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _PolicyTypeAlreadyEnabledException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _PolicyTypeNotAvailableForOrganizationException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _PolicyTypeNotEnabledException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _ResourcePolicyNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _RootNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _ServiceException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _SourceParentNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _TargetNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _TooManyRequestsException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: _UnsupportedAPIEndpointException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations: data AcceptHandshake
+ Amazonka.Organizations: data AcceptHandshakeResponse
+ Amazonka.Organizations: data Account
+ Amazonka.Organizations: data AttachPolicy
+ Amazonka.Organizations: data AttachPolicyResponse
+ Amazonka.Organizations: data CancelHandshake
+ Amazonka.Organizations: data CancelHandshakeResponse
+ Amazonka.Organizations: data Child
+ Amazonka.Organizations: data CloseAccount
+ Amazonka.Organizations: data CloseAccountResponse
+ Amazonka.Organizations: data CreateAccount
+ Amazonka.Organizations: data CreateAccountResponse
+ Amazonka.Organizations: data CreateAccountStatus
+ Amazonka.Organizations: data CreateGovCloudAccount
+ Amazonka.Organizations: data CreateGovCloudAccountResponse
+ Amazonka.Organizations: data CreateOrganization
+ Amazonka.Organizations: data CreateOrganizationResponse
+ Amazonka.Organizations: data CreateOrganizationalUnit
+ Amazonka.Organizations: data CreateOrganizationalUnitResponse
+ Amazonka.Organizations: data CreatePolicy
+ Amazonka.Organizations: data CreatePolicyResponse
+ Amazonka.Organizations: data DeclineHandshake
+ Amazonka.Organizations: data DeclineHandshakeResponse
+ Amazonka.Organizations: data DelegatedAdministrator
+ Amazonka.Organizations: data DelegatedService
+ Amazonka.Organizations: data DeleteOrganization
+ Amazonka.Organizations: data DeleteOrganizationResponse
+ Amazonka.Organizations: data DeleteOrganizationalUnit
+ Amazonka.Organizations: data DeleteOrganizationalUnitResponse
+ Amazonka.Organizations: data DeletePolicy
+ Amazonka.Organizations: data DeletePolicyResponse
+ Amazonka.Organizations: data DeleteResourcePolicy
+ Amazonka.Organizations: data DeleteResourcePolicyResponse
+ Amazonka.Organizations: data DeregisterDelegatedAdministrator
+ Amazonka.Organizations: data DeregisterDelegatedAdministratorResponse
+ Amazonka.Organizations: data DescribeAccount
+ Amazonka.Organizations: data DescribeAccountResponse
+ Amazonka.Organizations: data DescribeCreateAccountStatus
+ Amazonka.Organizations: data DescribeCreateAccountStatusResponse
+ Amazonka.Organizations: data DescribeEffectivePolicy
+ Amazonka.Organizations: data DescribeEffectivePolicyResponse
+ Amazonka.Organizations: data DescribeHandshake
+ Amazonka.Organizations: data DescribeHandshakeResponse
+ Amazonka.Organizations: data DescribeOrganization
+ Amazonka.Organizations: data DescribeOrganizationResponse
+ Amazonka.Organizations: data DescribeOrganizationalUnit
+ Amazonka.Organizations: data DescribeOrganizationalUnitResponse
+ Amazonka.Organizations: data DescribePolicy
+ Amazonka.Organizations: data DescribePolicyResponse
+ Amazonka.Organizations: data DescribeResourcePolicy
+ Amazonka.Organizations: data DescribeResourcePolicyResponse
+ Amazonka.Organizations: data DetachPolicy
+ Amazonka.Organizations: data DetachPolicyResponse
+ Amazonka.Organizations: data DisableAWSServiceAccess
+ Amazonka.Organizations: data DisableAWSServiceAccessResponse
+ Amazonka.Organizations: data DisablePolicyType
+ Amazonka.Organizations: data DisablePolicyTypeResponse
+ Amazonka.Organizations: data EffectivePolicy
+ Amazonka.Organizations: data EnableAWSServiceAccess
+ Amazonka.Organizations: data EnableAWSServiceAccessResponse
+ Amazonka.Organizations: data EnableAllFeatures
+ Amazonka.Organizations: data EnableAllFeaturesResponse
+ Amazonka.Organizations: data EnablePolicyType
+ Amazonka.Organizations: data EnablePolicyTypeResponse
+ Amazonka.Organizations: data EnabledServicePrincipal
+ Amazonka.Organizations: data Handshake
+ Amazonka.Organizations: data HandshakeFilter
+ Amazonka.Organizations: data HandshakeParty
+ Amazonka.Organizations: data HandshakeResource
+ Amazonka.Organizations: data InviteAccountToOrganization
+ Amazonka.Organizations: data InviteAccountToOrganizationResponse
+ Amazonka.Organizations: data LeaveOrganization
+ Amazonka.Organizations: data LeaveOrganizationResponse
+ Amazonka.Organizations: data ListAWSServiceAccessForOrganization
+ Amazonka.Organizations: data ListAWSServiceAccessForOrganizationResponse
+ Amazonka.Organizations: data ListAccounts
+ Amazonka.Organizations: data ListAccountsForParent
+ Amazonka.Organizations: data ListAccountsForParentResponse
+ Amazonka.Organizations: data ListAccountsResponse
+ Amazonka.Organizations: data ListChildren
+ Amazonka.Organizations: data ListChildrenResponse
+ Amazonka.Organizations: data ListCreateAccountStatus
+ Amazonka.Organizations: data ListCreateAccountStatusResponse
+ Amazonka.Organizations: data ListDelegatedAdministrators
+ Amazonka.Organizations: data ListDelegatedAdministratorsResponse
+ Amazonka.Organizations: data ListDelegatedServicesForAccount
+ Amazonka.Organizations: data ListDelegatedServicesForAccountResponse
+ Amazonka.Organizations: data ListHandshakesForAccount
+ Amazonka.Organizations: data ListHandshakesForAccountResponse
+ Amazonka.Organizations: data ListHandshakesForOrganization
+ Amazonka.Organizations: data ListHandshakesForOrganizationResponse
+ Amazonka.Organizations: data ListOrganizationalUnitsForParent
+ Amazonka.Organizations: data ListOrganizationalUnitsForParentResponse
+ Amazonka.Organizations: data ListParents
+ Amazonka.Organizations: data ListParentsResponse
+ Amazonka.Organizations: data ListPolicies
+ Amazonka.Organizations: data ListPoliciesForTarget
+ Amazonka.Organizations: data ListPoliciesForTargetResponse
+ Amazonka.Organizations: data ListPoliciesResponse
+ Amazonka.Organizations: data ListRoots
+ Amazonka.Organizations: data ListRootsResponse
+ Amazonka.Organizations: data ListTagsForResource
+ Amazonka.Organizations: data ListTagsForResourceResponse
+ Amazonka.Organizations: data ListTargetsForPolicy
+ Amazonka.Organizations: data ListTargetsForPolicyResponse
+ Amazonka.Organizations: data MoveAccount
+ Amazonka.Organizations: data MoveAccountResponse
+ Amazonka.Organizations: data Organization
+ Amazonka.Organizations: data OrganizationalUnit
+ Amazonka.Organizations: data Parent
+ Amazonka.Organizations: data Policy
+ Amazonka.Organizations: data PolicySummary
+ Amazonka.Organizations: data PolicyTargetSummary
+ Amazonka.Organizations: data PolicyTypeSummary
+ Amazonka.Organizations: data PutResourcePolicy
+ Amazonka.Organizations: data PutResourcePolicyResponse
+ Amazonka.Organizations: data RegisterDelegatedAdministrator
+ Amazonka.Organizations: data RegisterDelegatedAdministratorResponse
+ Amazonka.Organizations: data RemoveAccountFromOrganization
+ Amazonka.Organizations: data RemoveAccountFromOrganizationResponse
+ Amazonka.Organizations: data ResourcePolicy
+ Amazonka.Organizations: data ResourcePolicySummary
+ Amazonka.Organizations: data Root
+ Amazonka.Organizations: data Tag
+ Amazonka.Organizations: data TagResource
+ Amazonka.Organizations: data TagResourceResponse
+ Amazonka.Organizations: data UntagResource
+ Amazonka.Organizations: data UntagResourceResponse
+ Amazonka.Organizations: data UpdateOrganizationalUnit
+ Amazonka.Organizations: data UpdateOrganizationalUnitResponse
+ Amazonka.Organizations: data UpdatePolicy
+ Amazonka.Organizations: data UpdatePolicyResponse
+ Amazonka.Organizations: defaultService :: Service
+ Amazonka.Organizations: newAcceptHandshake :: Text -> AcceptHandshake
+ Amazonka.Organizations: newAcceptHandshakeResponse :: Int -> AcceptHandshakeResponse
+ Amazonka.Organizations: newAccount :: Account
+ Amazonka.Organizations: newAttachPolicy :: Text -> Text -> AttachPolicy
+ Amazonka.Organizations: newAttachPolicyResponse :: AttachPolicyResponse
+ Amazonka.Organizations: newCancelHandshake :: Text -> CancelHandshake
+ Amazonka.Organizations: newCancelHandshakeResponse :: Int -> CancelHandshakeResponse
+ Amazonka.Organizations: newChild :: Child
+ Amazonka.Organizations: newCloseAccount :: Text -> CloseAccount
+ Amazonka.Organizations: newCloseAccountResponse :: CloseAccountResponse
+ Amazonka.Organizations: newCreateAccount :: Text -> Text -> CreateAccount
+ Amazonka.Organizations: newCreateAccountResponse :: Int -> CreateAccountResponse
+ Amazonka.Organizations: newCreateAccountStatus :: CreateAccountStatus
+ Amazonka.Organizations: newCreateGovCloudAccount :: Text -> Text -> CreateGovCloudAccount
+ Amazonka.Organizations: newCreateGovCloudAccountResponse :: Int -> CreateGovCloudAccountResponse
+ Amazonka.Organizations: newCreateOrganization :: CreateOrganization
+ Amazonka.Organizations: newCreateOrganizationResponse :: Int -> CreateOrganizationResponse
+ Amazonka.Organizations: newCreateOrganizationalUnit :: Text -> Text -> CreateOrganizationalUnit
+ Amazonka.Organizations: newCreateOrganizationalUnitResponse :: Int -> CreateOrganizationalUnitResponse
+ Amazonka.Organizations: newCreatePolicy :: Text -> Text -> Text -> PolicyType -> CreatePolicy
+ Amazonka.Organizations: newCreatePolicyResponse :: Int -> CreatePolicyResponse
+ Amazonka.Organizations: newDeclineHandshake :: Text -> DeclineHandshake
+ Amazonka.Organizations: newDeclineHandshakeResponse :: Int -> DeclineHandshakeResponse
+ Amazonka.Organizations: newDelegatedAdministrator :: DelegatedAdministrator
+ Amazonka.Organizations: newDelegatedService :: DelegatedService
+ Amazonka.Organizations: newDeleteOrganization :: DeleteOrganization
+ Amazonka.Organizations: newDeleteOrganizationResponse :: DeleteOrganizationResponse
+ Amazonka.Organizations: newDeleteOrganizationalUnit :: Text -> DeleteOrganizationalUnit
+ Amazonka.Organizations: newDeleteOrganizationalUnitResponse :: DeleteOrganizationalUnitResponse
+ Amazonka.Organizations: newDeletePolicy :: Text -> DeletePolicy
+ Amazonka.Organizations: newDeletePolicyResponse :: DeletePolicyResponse
+ Amazonka.Organizations: newDeleteResourcePolicy :: DeleteResourcePolicy
+ Amazonka.Organizations: newDeleteResourcePolicyResponse :: DeleteResourcePolicyResponse
+ Amazonka.Organizations: newDeregisterDelegatedAdministrator :: Text -> Text -> DeregisterDelegatedAdministrator
+ Amazonka.Organizations: newDeregisterDelegatedAdministratorResponse :: DeregisterDelegatedAdministratorResponse
+ Amazonka.Organizations: newDescribeAccount :: Text -> DescribeAccount
+ Amazonka.Organizations: newDescribeAccountResponse :: Int -> DescribeAccountResponse
+ Amazonka.Organizations: newDescribeCreateAccountStatus :: Text -> DescribeCreateAccountStatus
+ Amazonka.Organizations: newDescribeCreateAccountStatusResponse :: Int -> DescribeCreateAccountStatusResponse
+ Amazonka.Organizations: newDescribeEffectivePolicy :: EffectivePolicyType -> DescribeEffectivePolicy
+ Amazonka.Organizations: newDescribeEffectivePolicyResponse :: Int -> DescribeEffectivePolicyResponse
+ Amazonka.Organizations: newDescribeHandshake :: Text -> DescribeHandshake
+ Amazonka.Organizations: newDescribeHandshakeResponse :: Int -> DescribeHandshakeResponse
+ Amazonka.Organizations: newDescribeOrganization :: DescribeOrganization
+ Amazonka.Organizations: newDescribeOrganizationResponse :: Int -> DescribeOrganizationResponse
+ Amazonka.Organizations: newDescribeOrganizationalUnit :: Text -> DescribeOrganizationalUnit
+ Amazonka.Organizations: newDescribeOrganizationalUnitResponse :: Int -> DescribeOrganizationalUnitResponse
+ Amazonka.Organizations: newDescribePolicy :: Text -> DescribePolicy
+ Amazonka.Organizations: newDescribePolicyResponse :: Int -> DescribePolicyResponse
+ Amazonka.Organizations: newDescribeResourcePolicy :: DescribeResourcePolicy
+ Amazonka.Organizations: newDescribeResourcePolicyResponse :: Int -> DescribeResourcePolicyResponse
+ Amazonka.Organizations: newDetachPolicy :: Text -> Text -> DetachPolicy
+ Amazonka.Organizations: newDetachPolicyResponse :: DetachPolicyResponse
+ Amazonka.Organizations: newDisableAWSServiceAccess :: Text -> DisableAWSServiceAccess
+ Amazonka.Organizations: newDisableAWSServiceAccessResponse :: DisableAWSServiceAccessResponse
+ Amazonka.Organizations: newDisablePolicyType :: Text -> PolicyType -> DisablePolicyType
+ Amazonka.Organizations: newDisablePolicyTypeResponse :: Int -> DisablePolicyTypeResponse
+ Amazonka.Organizations: newEffectivePolicy :: EffectivePolicy
+ Amazonka.Organizations: newEnableAWSServiceAccess :: Text -> EnableAWSServiceAccess
+ Amazonka.Organizations: newEnableAWSServiceAccessResponse :: EnableAWSServiceAccessResponse
+ Amazonka.Organizations: newEnableAllFeatures :: EnableAllFeatures
+ Amazonka.Organizations: newEnableAllFeaturesResponse :: Int -> EnableAllFeaturesResponse
+ Amazonka.Organizations: newEnablePolicyType :: Text -> PolicyType -> EnablePolicyType
+ Amazonka.Organizations: newEnablePolicyTypeResponse :: Int -> EnablePolicyTypeResponse
+ Amazonka.Organizations: newEnabledServicePrincipal :: EnabledServicePrincipal
+ Amazonka.Organizations: newHandshake :: Handshake
+ Amazonka.Organizations: newHandshakeFilter :: HandshakeFilter
+ Amazonka.Organizations: newHandshakeParty :: Text -> HandshakePartyType -> HandshakeParty
+ Amazonka.Organizations: newHandshakeResource :: HandshakeResource
+ Amazonka.Organizations: newInviteAccountToOrganization :: HandshakeParty -> InviteAccountToOrganization
+ Amazonka.Organizations: newInviteAccountToOrganizationResponse :: Int -> InviteAccountToOrganizationResponse
+ Amazonka.Organizations: newLeaveOrganization :: LeaveOrganization
+ Amazonka.Organizations: newLeaveOrganizationResponse :: LeaveOrganizationResponse
+ Amazonka.Organizations: newListAWSServiceAccessForOrganization :: ListAWSServiceAccessForOrganization
+ Amazonka.Organizations: newListAWSServiceAccessForOrganizationResponse :: Int -> ListAWSServiceAccessForOrganizationResponse
+ Amazonka.Organizations: newListAccounts :: ListAccounts
+ Amazonka.Organizations: newListAccountsForParent :: Text -> ListAccountsForParent
+ Amazonka.Organizations: newListAccountsForParentResponse :: Int -> ListAccountsForParentResponse
+ Amazonka.Organizations: newListAccountsResponse :: Int -> ListAccountsResponse
+ Amazonka.Organizations: newListChildren :: Text -> ChildType -> ListChildren
+ Amazonka.Organizations: newListChildrenResponse :: Int -> ListChildrenResponse
+ Amazonka.Organizations: newListCreateAccountStatus :: ListCreateAccountStatus
+ Amazonka.Organizations: newListCreateAccountStatusResponse :: Int -> ListCreateAccountStatusResponse
+ Amazonka.Organizations: newListDelegatedAdministrators :: ListDelegatedAdministrators
+ Amazonka.Organizations: newListDelegatedAdministratorsResponse :: Int -> ListDelegatedAdministratorsResponse
+ Amazonka.Organizations: newListDelegatedServicesForAccount :: Text -> ListDelegatedServicesForAccount
+ Amazonka.Organizations: newListDelegatedServicesForAccountResponse :: Int -> ListDelegatedServicesForAccountResponse
+ Amazonka.Organizations: newListHandshakesForAccount :: ListHandshakesForAccount
+ Amazonka.Organizations: newListHandshakesForAccountResponse :: Int -> ListHandshakesForAccountResponse
+ Amazonka.Organizations: newListHandshakesForOrganization :: ListHandshakesForOrganization
+ Amazonka.Organizations: newListHandshakesForOrganizationResponse :: Int -> ListHandshakesForOrganizationResponse
+ Amazonka.Organizations: newListOrganizationalUnitsForParent :: Text -> ListOrganizationalUnitsForParent
+ Amazonka.Organizations: newListOrganizationalUnitsForParentResponse :: Int -> ListOrganizationalUnitsForParentResponse
+ Amazonka.Organizations: newListParents :: Text -> ListParents
+ Amazonka.Organizations: newListParentsResponse :: Int -> ListParentsResponse
+ Amazonka.Organizations: newListPolicies :: PolicyType -> ListPolicies
+ Amazonka.Organizations: newListPoliciesForTarget :: Text -> PolicyType -> ListPoliciesForTarget
+ Amazonka.Organizations: newListPoliciesForTargetResponse :: Int -> ListPoliciesForTargetResponse
+ Amazonka.Organizations: newListPoliciesResponse :: Int -> ListPoliciesResponse
+ Amazonka.Organizations: newListRoots :: ListRoots
+ Amazonka.Organizations: newListRootsResponse :: Int -> ListRootsResponse
+ Amazonka.Organizations: newListTagsForResource :: Text -> ListTagsForResource
+ Amazonka.Organizations: newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
+ Amazonka.Organizations: newListTargetsForPolicy :: Text -> ListTargetsForPolicy
+ Amazonka.Organizations: newListTargetsForPolicyResponse :: Int -> ListTargetsForPolicyResponse
+ Amazonka.Organizations: newMoveAccount :: Text -> Text -> Text -> MoveAccount
+ Amazonka.Organizations: newMoveAccountResponse :: MoveAccountResponse
+ Amazonka.Organizations: newOrganization :: Organization
+ Amazonka.Organizations: newOrganizationalUnit :: OrganizationalUnit
+ Amazonka.Organizations: newParent :: Parent
+ Amazonka.Organizations: newPolicy :: Policy
+ Amazonka.Organizations: newPolicySummary :: PolicySummary
+ Amazonka.Organizations: newPolicyTargetSummary :: PolicyTargetSummary
+ Amazonka.Organizations: newPolicyTypeSummary :: PolicyTypeSummary
+ Amazonka.Organizations: newPutResourcePolicy :: Text -> PutResourcePolicy
+ Amazonka.Organizations: newPutResourcePolicyResponse :: Int -> PutResourcePolicyResponse
+ Amazonka.Organizations: newRegisterDelegatedAdministrator :: Text -> Text -> RegisterDelegatedAdministrator
+ Amazonka.Organizations: newRegisterDelegatedAdministratorResponse :: RegisterDelegatedAdministratorResponse
+ Amazonka.Organizations: newRemoveAccountFromOrganization :: Text -> RemoveAccountFromOrganization
+ Amazonka.Organizations: newRemoveAccountFromOrganizationResponse :: RemoveAccountFromOrganizationResponse
+ Amazonka.Organizations: newResourcePolicy :: ResourcePolicy
+ Amazonka.Organizations: newResourcePolicySummary :: ResourcePolicySummary
+ Amazonka.Organizations: newRoot :: Root
+ Amazonka.Organizations: newTag :: Text -> Text -> Tag
+ Amazonka.Organizations: newTagResource :: Text -> TagResource
+ Amazonka.Organizations: newTagResourceResponse :: TagResourceResponse
+ Amazonka.Organizations: newUntagResource :: Text -> UntagResource
+ Amazonka.Organizations: newUntagResourceResponse :: UntagResourceResponse
+ Amazonka.Organizations: newUpdateOrganizationalUnit :: Text -> UpdateOrganizationalUnit
+ Amazonka.Organizations: newUpdateOrganizationalUnitResponse :: Int -> UpdateOrganizationalUnitResponse
+ Amazonka.Organizations: newUpdatePolicy :: Text -> UpdatePolicy
+ Amazonka.Organizations: newUpdatePolicyResponse :: Int -> UpdatePolicyResponse
+ Amazonka.Organizations: newtype AccountJoinedMethod
+ Amazonka.Organizations: newtype AccountStatus
+ Amazonka.Organizations: newtype ActionType
+ Amazonka.Organizations: newtype ChildType
+ Amazonka.Organizations: newtype CreateAccountFailureReason
+ Amazonka.Organizations: newtype CreateAccountState
+ Amazonka.Organizations: newtype EffectivePolicyType
+ Amazonka.Organizations: newtype HandshakePartyType
+ Amazonka.Organizations: newtype HandshakeResourceType
+ Amazonka.Organizations: newtype HandshakeState
+ Amazonka.Organizations: newtype IAMUserAccessToBilling
+ Amazonka.Organizations: newtype OrganizationFeatureSet
+ Amazonka.Organizations: newtype ParentType
+ Amazonka.Organizations: newtype PolicyType
+ Amazonka.Organizations: newtype PolicyTypeStatus
+ Amazonka.Organizations: newtype TargetType
+ Amazonka.Organizations: pattern AccountJoinedMethod_CREATED :: AccountJoinedMethod
+ Amazonka.Organizations: pattern AccountJoinedMethod_INVITED :: AccountJoinedMethod
+ Amazonka.Organizations: pattern AccountStatus_ACTIVE :: AccountStatus
+ Amazonka.Organizations: pattern AccountStatus_PENDING_CLOSURE :: AccountStatus
+ Amazonka.Organizations: pattern AccountStatus_SUSPENDED :: AccountStatus
+ Amazonka.Organizations: pattern ActionType_ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE :: ActionType
+ Amazonka.Organizations: pattern ActionType_APPROVE_ALL_FEATURES :: ActionType
+ Amazonka.Organizations: pattern ActionType_ENABLE_ALL_FEATURES :: ActionType
+ Amazonka.Organizations: pattern ActionType_INVITE :: ActionType
+ Amazonka.Organizations: pattern ChildType_ACCOUNT :: ChildType
+ Amazonka.Organizations: pattern ChildType_ORGANIZATIONAL_UNIT :: ChildType
+ Amazonka.Organizations: pattern CreateAccountFailureReason_ACCOUNT_LIMIT_EXCEEDED :: CreateAccountFailureReason
+ Amazonka.Organizations: pattern CreateAccountFailureReason_CONCURRENT_ACCOUNT_MODIFICATION :: CreateAccountFailureReason
+ Amazonka.Organizations: pattern CreateAccountFailureReason_EMAIL_ALREADY_EXISTS :: CreateAccountFailureReason
+ Amazonka.Organizations: pattern CreateAccountFailureReason_FAILED_BUSINESS_VALIDATION :: CreateAccountFailureReason
+ Amazonka.Organizations: pattern CreateAccountFailureReason_GOVCLOUD_ACCOUNT_ALREADY_EXISTS :: CreateAccountFailureReason
+ Amazonka.Organizations: pattern CreateAccountFailureReason_INTERNAL_FAILURE :: CreateAccountFailureReason
+ Amazonka.Organizations: pattern CreateAccountFailureReason_INVALID_ADDRESS :: CreateAccountFailureReason
+ Amazonka.Organizations: pattern CreateAccountFailureReason_INVALID_EMAIL :: CreateAccountFailureReason
+ Amazonka.Organizations: pattern CreateAccountFailureReason_INVALID_IDENTITY_FOR_BUSINESS_VALIDATION :: CreateAccountFailureReason
+ Amazonka.Organizations: pattern CreateAccountFailureReason_INVALID_PAYMENT_INSTRUMENT :: CreateAccountFailureReason
+ Amazonka.Organizations: pattern CreateAccountFailureReason_MISSING_BUSINESS_VALIDATION :: CreateAccountFailureReason
+ Amazonka.Organizations: pattern CreateAccountFailureReason_MISSING_PAYMENT_INSTRUMENT :: CreateAccountFailureReason
+ Amazonka.Organizations: pattern CreateAccountFailureReason_PENDING_BUSINESS_VALIDATION :: CreateAccountFailureReason
+ Amazonka.Organizations: pattern CreateAccountFailureReason_UNKNOWN_BUSINESS_VALIDATION :: CreateAccountFailureReason
+ Amazonka.Organizations: pattern CreateAccountFailureReason_UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED :: CreateAccountFailureReason
+ Amazonka.Organizations: pattern CreateAccountState_FAILED :: CreateAccountState
+ Amazonka.Organizations: pattern CreateAccountState_IN_PROGRESS :: CreateAccountState
+ Amazonka.Organizations: pattern CreateAccountState_SUCCEEDED :: CreateAccountState
+ Amazonka.Organizations: pattern EffectivePolicyType_AISERVICES_OPT_OUT_POLICY :: EffectivePolicyType
+ Amazonka.Organizations: pattern EffectivePolicyType_BACKUP_POLICY :: EffectivePolicyType
+ Amazonka.Organizations: pattern EffectivePolicyType_TAG_POLICY :: EffectivePolicyType
+ Amazonka.Organizations: pattern HandshakePartyType_ACCOUNT :: HandshakePartyType
+ Amazonka.Organizations: pattern HandshakePartyType_EMAIL :: HandshakePartyType
+ Amazonka.Organizations: pattern HandshakePartyType_ORGANIZATION :: HandshakePartyType
+ Amazonka.Organizations: pattern HandshakeResourceType_ACCOUNT :: HandshakeResourceType
+ Amazonka.Organizations: pattern HandshakeResourceType_EMAIL :: HandshakeResourceType
+ Amazonka.Organizations: pattern HandshakeResourceType_MASTER_EMAIL :: HandshakeResourceType
+ Amazonka.Organizations: pattern HandshakeResourceType_MASTER_NAME :: HandshakeResourceType
+ Amazonka.Organizations: pattern HandshakeResourceType_NOTES :: HandshakeResourceType
+ Amazonka.Organizations: pattern HandshakeResourceType_ORGANIZATION :: HandshakeResourceType
+ Amazonka.Organizations: pattern HandshakeResourceType_ORGANIZATION_FEATURE_SET :: HandshakeResourceType
+ Amazonka.Organizations: pattern HandshakeResourceType_PARENT_HANDSHAKE :: HandshakeResourceType
+ Amazonka.Organizations: pattern HandshakeState_ACCEPTED :: HandshakeState
+ Amazonka.Organizations: pattern HandshakeState_CANCELED :: HandshakeState
+ Amazonka.Organizations: pattern HandshakeState_DECLINED :: HandshakeState
+ Amazonka.Organizations: pattern HandshakeState_EXPIRED :: HandshakeState
+ Amazonka.Organizations: pattern HandshakeState_OPEN :: HandshakeState
+ Amazonka.Organizations: pattern HandshakeState_REQUESTED :: HandshakeState
+ Amazonka.Organizations: pattern IAMUserAccessToBilling_ALLOW :: IAMUserAccessToBilling
+ Amazonka.Organizations: pattern IAMUserAccessToBilling_DENY :: IAMUserAccessToBilling
+ Amazonka.Organizations: pattern OrganizationFeatureSet_ALL :: OrganizationFeatureSet
+ Amazonka.Organizations: pattern OrganizationFeatureSet_CONSOLIDATED_BILLING :: OrganizationFeatureSet
+ Amazonka.Organizations: pattern ParentType_ORGANIZATIONAL_UNIT :: ParentType
+ Amazonka.Organizations: pattern ParentType_ROOT :: ParentType
+ Amazonka.Organizations: pattern PolicyTypeStatus_ENABLED :: PolicyTypeStatus
+ Amazonka.Organizations: pattern PolicyTypeStatus_PENDING_DISABLE :: PolicyTypeStatus
+ Amazonka.Organizations: pattern PolicyTypeStatus_PENDING_ENABLE :: PolicyTypeStatus
+ Amazonka.Organizations: pattern PolicyType_AISERVICES_OPT_OUT_POLICY :: PolicyType
+ Amazonka.Organizations: pattern PolicyType_BACKUP_POLICY :: PolicyType
+ Amazonka.Organizations: pattern PolicyType_SERVICE_CONTROL_POLICY :: PolicyType
+ Amazonka.Organizations: pattern PolicyType_TAG_POLICY :: PolicyType
+ Amazonka.Organizations: pattern TargetType_ACCOUNT :: TargetType
+ Amazonka.Organizations: pattern TargetType_ORGANIZATIONAL_UNIT :: TargetType
+ Amazonka.Organizations: pattern TargetType_ROOT :: TargetType
+ Amazonka.Organizations.AcceptHandshake: AcceptHandshake' :: Text -> AcceptHandshake
+ Amazonka.Organizations.AcceptHandshake: AcceptHandshakeResponse' :: Maybe Handshake -> Int -> AcceptHandshakeResponse
+ Amazonka.Organizations.AcceptHandshake: [$sel:handshake:AcceptHandshakeResponse'] :: AcceptHandshakeResponse -> Maybe Handshake
+ Amazonka.Organizations.AcceptHandshake: [$sel:handshakeId:AcceptHandshake'] :: AcceptHandshake -> Text
+ Amazonka.Organizations.AcceptHandshake: [$sel:httpStatus:AcceptHandshakeResponse'] :: AcceptHandshakeResponse -> Int
+ Amazonka.Organizations.AcceptHandshake: acceptHandshakeResponse_handshake :: Lens' AcceptHandshakeResponse (Maybe Handshake)
+ Amazonka.Organizations.AcceptHandshake: acceptHandshakeResponse_httpStatus :: Lens' AcceptHandshakeResponse Int
+ Amazonka.Organizations.AcceptHandshake: acceptHandshake_handshakeId :: Lens' AcceptHandshake Text
+ Amazonka.Organizations.AcceptHandshake: data AcceptHandshake
+ Amazonka.Organizations.AcceptHandshake: data AcceptHandshakeResponse
+ Amazonka.Organizations.AcceptHandshake: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.AcceptHandshake.AcceptHandshake
+ Amazonka.Organizations.AcceptHandshake: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.AcceptHandshake.AcceptHandshake
+ Amazonka.Organizations.AcceptHandshake: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.AcceptHandshake.AcceptHandshake
+ Amazonka.Organizations.AcceptHandshake: instance Amazonka.Types.AWSRequest Amazonka.Organizations.AcceptHandshake.AcceptHandshake
+ Amazonka.Organizations.AcceptHandshake: instance Control.DeepSeq.NFData Amazonka.Organizations.AcceptHandshake.AcceptHandshake
+ Amazonka.Organizations.AcceptHandshake: instance Control.DeepSeq.NFData Amazonka.Organizations.AcceptHandshake.AcceptHandshakeResponse
+ Amazonka.Organizations.AcceptHandshake: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.AcceptHandshake.AcceptHandshake
+ Amazonka.Organizations.AcceptHandshake: instance Data.Hashable.Class.Hashable Amazonka.Organizations.AcceptHandshake.AcceptHandshake
+ Amazonka.Organizations.AcceptHandshake: instance GHC.Classes.Eq Amazonka.Organizations.AcceptHandshake.AcceptHandshake
+ Amazonka.Organizations.AcceptHandshake: instance GHC.Classes.Eq Amazonka.Organizations.AcceptHandshake.AcceptHandshakeResponse
+ Amazonka.Organizations.AcceptHandshake: instance GHC.Generics.Generic Amazonka.Organizations.AcceptHandshake.AcceptHandshake
+ Amazonka.Organizations.AcceptHandshake: instance GHC.Generics.Generic Amazonka.Organizations.AcceptHandshake.AcceptHandshakeResponse
+ Amazonka.Organizations.AcceptHandshake: instance GHC.Read.Read Amazonka.Organizations.AcceptHandshake.AcceptHandshake
+ Amazonka.Organizations.AcceptHandshake: instance GHC.Show.Show Amazonka.Organizations.AcceptHandshake.AcceptHandshake
+ Amazonka.Organizations.AcceptHandshake: instance GHC.Show.Show Amazonka.Organizations.AcceptHandshake.AcceptHandshakeResponse
+ Amazonka.Organizations.AcceptHandshake: newAcceptHandshake :: Text -> AcceptHandshake
+ Amazonka.Organizations.AcceptHandshake: newAcceptHandshakeResponse :: Int -> AcceptHandshakeResponse
+ Amazonka.Organizations.AttachPolicy: AttachPolicy' :: Text -> Text -> AttachPolicy
+ Amazonka.Organizations.AttachPolicy: AttachPolicyResponse' :: AttachPolicyResponse
+ Amazonka.Organizations.AttachPolicy: [$sel:policyId:AttachPolicy'] :: AttachPolicy -> Text
+ Amazonka.Organizations.AttachPolicy: [$sel:targetId:AttachPolicy'] :: AttachPolicy -> Text
+ Amazonka.Organizations.AttachPolicy: attachPolicy_policyId :: Lens' AttachPolicy Text
+ Amazonka.Organizations.AttachPolicy: attachPolicy_targetId :: Lens' AttachPolicy Text
+ Amazonka.Organizations.AttachPolicy: data AttachPolicy
+ Amazonka.Organizations.AttachPolicy: data AttachPolicyResponse
+ Amazonka.Organizations.AttachPolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.AttachPolicy.AttachPolicy
+ Amazonka.Organizations.AttachPolicy: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.AttachPolicy.AttachPolicy
+ Amazonka.Organizations.AttachPolicy: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.AttachPolicy.AttachPolicy
+ Amazonka.Organizations.AttachPolicy: instance Amazonka.Types.AWSRequest Amazonka.Organizations.AttachPolicy.AttachPolicy
+ Amazonka.Organizations.AttachPolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.AttachPolicy.AttachPolicy
+ Amazonka.Organizations.AttachPolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.AttachPolicy.AttachPolicyResponse
+ Amazonka.Organizations.AttachPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.AttachPolicy.AttachPolicy
+ Amazonka.Organizations.AttachPolicy: instance Data.Hashable.Class.Hashable Amazonka.Organizations.AttachPolicy.AttachPolicy
+ Amazonka.Organizations.AttachPolicy: instance GHC.Classes.Eq Amazonka.Organizations.AttachPolicy.AttachPolicy
+ Amazonka.Organizations.AttachPolicy: instance GHC.Classes.Eq Amazonka.Organizations.AttachPolicy.AttachPolicyResponse
+ Amazonka.Organizations.AttachPolicy: instance GHC.Generics.Generic Amazonka.Organizations.AttachPolicy.AttachPolicy
+ Amazonka.Organizations.AttachPolicy: instance GHC.Generics.Generic Amazonka.Organizations.AttachPolicy.AttachPolicyResponse
+ Amazonka.Organizations.AttachPolicy: instance GHC.Read.Read Amazonka.Organizations.AttachPolicy.AttachPolicy
+ Amazonka.Organizations.AttachPolicy: instance GHC.Read.Read Amazonka.Organizations.AttachPolicy.AttachPolicyResponse
+ Amazonka.Organizations.AttachPolicy: instance GHC.Show.Show Amazonka.Organizations.AttachPolicy.AttachPolicy
+ Amazonka.Organizations.AttachPolicy: instance GHC.Show.Show Amazonka.Organizations.AttachPolicy.AttachPolicyResponse
+ Amazonka.Organizations.AttachPolicy: newAttachPolicy :: Text -> Text -> AttachPolicy
+ Amazonka.Organizations.AttachPolicy: newAttachPolicyResponse :: AttachPolicyResponse
+ Amazonka.Organizations.CancelHandshake: CancelHandshake' :: Text -> CancelHandshake
+ Amazonka.Organizations.CancelHandshake: CancelHandshakeResponse' :: Maybe Handshake -> Int -> CancelHandshakeResponse
+ Amazonka.Organizations.CancelHandshake: [$sel:handshake:CancelHandshakeResponse'] :: CancelHandshakeResponse -> Maybe Handshake
+ Amazonka.Organizations.CancelHandshake: [$sel:handshakeId:CancelHandshake'] :: CancelHandshake -> Text
+ Amazonka.Organizations.CancelHandshake: [$sel:httpStatus:CancelHandshakeResponse'] :: CancelHandshakeResponse -> Int
+ Amazonka.Organizations.CancelHandshake: cancelHandshakeResponse_handshake :: Lens' CancelHandshakeResponse (Maybe Handshake)
+ Amazonka.Organizations.CancelHandshake: cancelHandshakeResponse_httpStatus :: Lens' CancelHandshakeResponse Int
+ Amazonka.Organizations.CancelHandshake: cancelHandshake_handshakeId :: Lens' CancelHandshake Text
+ Amazonka.Organizations.CancelHandshake: data CancelHandshake
+ Amazonka.Organizations.CancelHandshake: data CancelHandshakeResponse
+ Amazonka.Organizations.CancelHandshake: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.CancelHandshake.CancelHandshake
+ Amazonka.Organizations.CancelHandshake: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.CancelHandshake.CancelHandshake
+ Amazonka.Organizations.CancelHandshake: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.CancelHandshake.CancelHandshake
+ Amazonka.Organizations.CancelHandshake: instance Amazonka.Types.AWSRequest Amazonka.Organizations.CancelHandshake.CancelHandshake
+ Amazonka.Organizations.CancelHandshake: instance Control.DeepSeq.NFData Amazonka.Organizations.CancelHandshake.CancelHandshake
+ Amazonka.Organizations.CancelHandshake: instance Control.DeepSeq.NFData Amazonka.Organizations.CancelHandshake.CancelHandshakeResponse
+ Amazonka.Organizations.CancelHandshake: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.CancelHandshake.CancelHandshake
+ Amazonka.Organizations.CancelHandshake: instance Data.Hashable.Class.Hashable Amazonka.Organizations.CancelHandshake.CancelHandshake
+ Amazonka.Organizations.CancelHandshake: instance GHC.Classes.Eq Amazonka.Organizations.CancelHandshake.CancelHandshake
+ Amazonka.Organizations.CancelHandshake: instance GHC.Classes.Eq Amazonka.Organizations.CancelHandshake.CancelHandshakeResponse
+ Amazonka.Organizations.CancelHandshake: instance GHC.Generics.Generic Amazonka.Organizations.CancelHandshake.CancelHandshake
+ Amazonka.Organizations.CancelHandshake: instance GHC.Generics.Generic Amazonka.Organizations.CancelHandshake.CancelHandshakeResponse
+ Amazonka.Organizations.CancelHandshake: instance GHC.Read.Read Amazonka.Organizations.CancelHandshake.CancelHandshake
+ Amazonka.Organizations.CancelHandshake: instance GHC.Show.Show Amazonka.Organizations.CancelHandshake.CancelHandshake
+ Amazonka.Organizations.CancelHandshake: instance GHC.Show.Show Amazonka.Organizations.CancelHandshake.CancelHandshakeResponse
+ Amazonka.Organizations.CancelHandshake: newCancelHandshake :: Text -> CancelHandshake
+ Amazonka.Organizations.CancelHandshake: newCancelHandshakeResponse :: Int -> CancelHandshakeResponse
+ Amazonka.Organizations.CloseAccount: CloseAccount' :: Text -> CloseAccount
+ Amazonka.Organizations.CloseAccount: CloseAccountResponse' :: CloseAccountResponse
+ Amazonka.Organizations.CloseAccount: [$sel:accountId:CloseAccount'] :: CloseAccount -> Text
+ Amazonka.Organizations.CloseAccount: closeAccount_accountId :: Lens' CloseAccount Text
+ Amazonka.Organizations.CloseAccount: data CloseAccount
+ Amazonka.Organizations.CloseAccount: data CloseAccountResponse
+ Amazonka.Organizations.CloseAccount: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.CloseAccount.CloseAccount
+ Amazonka.Organizations.CloseAccount: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.CloseAccount.CloseAccount
+ Amazonka.Organizations.CloseAccount: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.CloseAccount.CloseAccount
+ Amazonka.Organizations.CloseAccount: instance Amazonka.Types.AWSRequest Amazonka.Organizations.CloseAccount.CloseAccount
+ Amazonka.Organizations.CloseAccount: instance Control.DeepSeq.NFData Amazonka.Organizations.CloseAccount.CloseAccount
+ Amazonka.Organizations.CloseAccount: instance Control.DeepSeq.NFData Amazonka.Organizations.CloseAccount.CloseAccountResponse
+ Amazonka.Organizations.CloseAccount: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.CloseAccount.CloseAccount
+ Amazonka.Organizations.CloseAccount: instance Data.Hashable.Class.Hashable Amazonka.Organizations.CloseAccount.CloseAccount
+ Amazonka.Organizations.CloseAccount: instance GHC.Classes.Eq Amazonka.Organizations.CloseAccount.CloseAccount
+ Amazonka.Organizations.CloseAccount: instance GHC.Classes.Eq Amazonka.Organizations.CloseAccount.CloseAccountResponse
+ Amazonka.Organizations.CloseAccount: instance GHC.Generics.Generic Amazonka.Organizations.CloseAccount.CloseAccount
+ Amazonka.Organizations.CloseAccount: instance GHC.Generics.Generic Amazonka.Organizations.CloseAccount.CloseAccountResponse
+ Amazonka.Organizations.CloseAccount: instance GHC.Read.Read Amazonka.Organizations.CloseAccount.CloseAccount
+ Amazonka.Organizations.CloseAccount: instance GHC.Read.Read Amazonka.Organizations.CloseAccount.CloseAccountResponse
+ Amazonka.Organizations.CloseAccount: instance GHC.Show.Show Amazonka.Organizations.CloseAccount.CloseAccount
+ Amazonka.Organizations.CloseAccount: instance GHC.Show.Show Amazonka.Organizations.CloseAccount.CloseAccountResponse
+ Amazonka.Organizations.CloseAccount: newCloseAccount :: Text -> CloseAccount
+ Amazonka.Organizations.CloseAccount: newCloseAccountResponse :: CloseAccountResponse
+ Amazonka.Organizations.CreateAccount: CreateAccount' :: Maybe IAMUserAccessToBilling -> Maybe Text -> Maybe [Tag] -> Sensitive Text -> Sensitive Text -> CreateAccount
+ Amazonka.Organizations.CreateAccount: CreateAccountResponse' :: Maybe CreateAccountStatus -> Int -> CreateAccountResponse
+ Amazonka.Organizations.CreateAccount: [$sel:accountName:CreateAccount'] :: CreateAccount -> Sensitive Text
+ Amazonka.Organizations.CreateAccount: [$sel:createAccountStatus:CreateAccountResponse'] :: CreateAccountResponse -> Maybe CreateAccountStatus
+ Amazonka.Organizations.CreateAccount: [$sel:email:CreateAccount'] :: CreateAccount -> Sensitive Text
+ Amazonka.Organizations.CreateAccount: [$sel:httpStatus:CreateAccountResponse'] :: CreateAccountResponse -> Int
+ Amazonka.Organizations.CreateAccount: [$sel:iamUserAccessToBilling:CreateAccount'] :: CreateAccount -> Maybe IAMUserAccessToBilling
+ Amazonka.Organizations.CreateAccount: [$sel:roleName:CreateAccount'] :: CreateAccount -> Maybe Text
+ Amazonka.Organizations.CreateAccount: [$sel:tags:CreateAccount'] :: CreateAccount -> Maybe [Tag]
+ Amazonka.Organizations.CreateAccount: createAccountResponse_createAccountStatus :: Lens' CreateAccountResponse (Maybe CreateAccountStatus)
+ Amazonka.Organizations.CreateAccount: createAccountResponse_httpStatus :: Lens' CreateAccountResponse Int
+ Amazonka.Organizations.CreateAccount: createAccount_accountName :: Lens' CreateAccount Text
+ Amazonka.Organizations.CreateAccount: createAccount_email :: Lens' CreateAccount Text
+ Amazonka.Organizations.CreateAccount: createAccount_iamUserAccessToBilling :: Lens' CreateAccount (Maybe IAMUserAccessToBilling)
+ Amazonka.Organizations.CreateAccount: createAccount_roleName :: Lens' CreateAccount (Maybe Text)
+ Amazonka.Organizations.CreateAccount: createAccount_tags :: Lens' CreateAccount (Maybe [Tag])
+ Amazonka.Organizations.CreateAccount: data CreateAccount
+ Amazonka.Organizations.CreateAccount: data CreateAccountResponse
+ Amazonka.Organizations.CreateAccount: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.CreateAccount.CreateAccount
+ Amazonka.Organizations.CreateAccount: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.CreateAccount.CreateAccount
+ Amazonka.Organizations.CreateAccount: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.CreateAccount.CreateAccount
+ Amazonka.Organizations.CreateAccount: instance Amazonka.Types.AWSRequest Amazonka.Organizations.CreateAccount.CreateAccount
+ Amazonka.Organizations.CreateAccount: instance Control.DeepSeq.NFData Amazonka.Organizations.CreateAccount.CreateAccount
+ Amazonka.Organizations.CreateAccount: instance Control.DeepSeq.NFData Amazonka.Organizations.CreateAccount.CreateAccountResponse
+ Amazonka.Organizations.CreateAccount: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.CreateAccount.CreateAccount
+ Amazonka.Organizations.CreateAccount: instance Data.Hashable.Class.Hashable Amazonka.Organizations.CreateAccount.CreateAccount
+ Amazonka.Organizations.CreateAccount: instance GHC.Classes.Eq Amazonka.Organizations.CreateAccount.CreateAccount
+ Amazonka.Organizations.CreateAccount: instance GHC.Classes.Eq Amazonka.Organizations.CreateAccount.CreateAccountResponse
+ Amazonka.Organizations.CreateAccount: instance GHC.Generics.Generic Amazonka.Organizations.CreateAccount.CreateAccount
+ Amazonka.Organizations.CreateAccount: instance GHC.Generics.Generic Amazonka.Organizations.CreateAccount.CreateAccountResponse
+ Amazonka.Organizations.CreateAccount: instance GHC.Show.Show Amazonka.Organizations.CreateAccount.CreateAccount
+ Amazonka.Organizations.CreateAccount: instance GHC.Show.Show Amazonka.Organizations.CreateAccount.CreateAccountResponse
+ Amazonka.Organizations.CreateAccount: newCreateAccount :: Text -> Text -> CreateAccount
+ Amazonka.Organizations.CreateAccount: newCreateAccountResponse :: Int -> CreateAccountResponse
+ Amazonka.Organizations.CreateGovCloudAccount: CreateGovCloudAccount' :: Maybe IAMUserAccessToBilling -> Maybe Text -> Maybe [Tag] -> Sensitive Text -> Sensitive Text -> CreateGovCloudAccount
+ Amazonka.Organizations.CreateGovCloudAccount: CreateGovCloudAccountResponse' :: Maybe CreateAccountStatus -> Int -> CreateGovCloudAccountResponse
+ Amazonka.Organizations.CreateGovCloudAccount: [$sel:accountName:CreateGovCloudAccount'] :: CreateGovCloudAccount -> Sensitive Text
+ Amazonka.Organizations.CreateGovCloudAccount: [$sel:createAccountStatus:CreateGovCloudAccountResponse'] :: CreateGovCloudAccountResponse -> Maybe CreateAccountStatus
+ Amazonka.Organizations.CreateGovCloudAccount: [$sel:email:CreateGovCloudAccount'] :: CreateGovCloudAccount -> Sensitive Text
+ Amazonka.Organizations.CreateGovCloudAccount: [$sel:httpStatus:CreateGovCloudAccountResponse'] :: CreateGovCloudAccountResponse -> Int
+ Amazonka.Organizations.CreateGovCloudAccount: [$sel:iamUserAccessToBilling:CreateGovCloudAccount'] :: CreateGovCloudAccount -> Maybe IAMUserAccessToBilling
+ Amazonka.Organizations.CreateGovCloudAccount: [$sel:roleName:CreateGovCloudAccount'] :: CreateGovCloudAccount -> Maybe Text
+ Amazonka.Organizations.CreateGovCloudAccount: [$sel:tags:CreateGovCloudAccount'] :: CreateGovCloudAccount -> Maybe [Tag]
+ Amazonka.Organizations.CreateGovCloudAccount: createGovCloudAccountResponse_createAccountStatus :: Lens' CreateGovCloudAccountResponse (Maybe CreateAccountStatus)
+ Amazonka.Organizations.CreateGovCloudAccount: createGovCloudAccountResponse_httpStatus :: Lens' CreateGovCloudAccountResponse Int
+ Amazonka.Organizations.CreateGovCloudAccount: createGovCloudAccount_accountName :: Lens' CreateGovCloudAccount Text
+ Amazonka.Organizations.CreateGovCloudAccount: createGovCloudAccount_email :: Lens' CreateGovCloudAccount Text
+ Amazonka.Organizations.CreateGovCloudAccount: createGovCloudAccount_iamUserAccessToBilling :: Lens' CreateGovCloudAccount (Maybe IAMUserAccessToBilling)
+ Amazonka.Organizations.CreateGovCloudAccount: createGovCloudAccount_roleName :: Lens' CreateGovCloudAccount (Maybe Text)
+ Amazonka.Organizations.CreateGovCloudAccount: createGovCloudAccount_tags :: Lens' CreateGovCloudAccount (Maybe [Tag])
+ Amazonka.Organizations.CreateGovCloudAccount: data CreateGovCloudAccount
+ Amazonka.Organizations.CreateGovCloudAccount: data CreateGovCloudAccountResponse
+ Amazonka.Organizations.CreateGovCloudAccount: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.CreateGovCloudAccount.CreateGovCloudAccount
+ Amazonka.Organizations.CreateGovCloudAccount: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.CreateGovCloudAccount.CreateGovCloudAccount
+ Amazonka.Organizations.CreateGovCloudAccount: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.CreateGovCloudAccount.CreateGovCloudAccount
+ Amazonka.Organizations.CreateGovCloudAccount: instance Amazonka.Types.AWSRequest Amazonka.Organizations.CreateGovCloudAccount.CreateGovCloudAccount
+ Amazonka.Organizations.CreateGovCloudAccount: instance Control.DeepSeq.NFData Amazonka.Organizations.CreateGovCloudAccount.CreateGovCloudAccount
+ Amazonka.Organizations.CreateGovCloudAccount: instance Control.DeepSeq.NFData Amazonka.Organizations.CreateGovCloudAccount.CreateGovCloudAccountResponse
+ Amazonka.Organizations.CreateGovCloudAccount: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.CreateGovCloudAccount.CreateGovCloudAccount
+ Amazonka.Organizations.CreateGovCloudAccount: instance Data.Hashable.Class.Hashable Amazonka.Organizations.CreateGovCloudAccount.CreateGovCloudAccount
+ Amazonka.Organizations.CreateGovCloudAccount: instance GHC.Classes.Eq Amazonka.Organizations.CreateGovCloudAccount.CreateGovCloudAccount
+ Amazonka.Organizations.CreateGovCloudAccount: instance GHC.Classes.Eq Amazonka.Organizations.CreateGovCloudAccount.CreateGovCloudAccountResponse
+ Amazonka.Organizations.CreateGovCloudAccount: instance GHC.Generics.Generic Amazonka.Organizations.CreateGovCloudAccount.CreateGovCloudAccount
+ Amazonka.Organizations.CreateGovCloudAccount: instance GHC.Generics.Generic Amazonka.Organizations.CreateGovCloudAccount.CreateGovCloudAccountResponse
+ Amazonka.Organizations.CreateGovCloudAccount: instance GHC.Show.Show Amazonka.Organizations.CreateGovCloudAccount.CreateGovCloudAccount
+ Amazonka.Organizations.CreateGovCloudAccount: instance GHC.Show.Show Amazonka.Organizations.CreateGovCloudAccount.CreateGovCloudAccountResponse
+ Amazonka.Organizations.CreateGovCloudAccount: newCreateGovCloudAccount :: Text -> Text -> CreateGovCloudAccount
+ Amazonka.Organizations.CreateGovCloudAccount: newCreateGovCloudAccountResponse :: Int -> CreateGovCloudAccountResponse
+ Amazonka.Organizations.CreateOrganization: CreateOrganization' :: Maybe OrganizationFeatureSet -> CreateOrganization
+ Amazonka.Organizations.CreateOrganization: CreateOrganizationResponse' :: Maybe Organization -> Int -> CreateOrganizationResponse
+ Amazonka.Organizations.CreateOrganization: [$sel:featureSet:CreateOrganization'] :: CreateOrganization -> Maybe OrganizationFeatureSet
+ Amazonka.Organizations.CreateOrganization: [$sel:httpStatus:CreateOrganizationResponse'] :: CreateOrganizationResponse -> Int
+ Amazonka.Organizations.CreateOrganization: [$sel:organization:CreateOrganizationResponse'] :: CreateOrganizationResponse -> Maybe Organization
+ Amazonka.Organizations.CreateOrganization: createOrganizationResponse_httpStatus :: Lens' CreateOrganizationResponse Int
+ Amazonka.Organizations.CreateOrganization: createOrganizationResponse_organization :: Lens' CreateOrganizationResponse (Maybe Organization)
+ Amazonka.Organizations.CreateOrganization: createOrganization_featureSet :: Lens' CreateOrganization (Maybe OrganizationFeatureSet)
+ Amazonka.Organizations.CreateOrganization: data CreateOrganization
+ Amazonka.Organizations.CreateOrganization: data CreateOrganizationResponse
+ Amazonka.Organizations.CreateOrganization: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.CreateOrganization.CreateOrganization
+ Amazonka.Organizations.CreateOrganization: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.CreateOrganization.CreateOrganization
+ Amazonka.Organizations.CreateOrganization: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.CreateOrganization.CreateOrganization
+ Amazonka.Organizations.CreateOrganization: instance Amazonka.Types.AWSRequest Amazonka.Organizations.CreateOrganization.CreateOrganization
+ Amazonka.Organizations.CreateOrganization: instance Control.DeepSeq.NFData Amazonka.Organizations.CreateOrganization.CreateOrganization
+ Amazonka.Organizations.CreateOrganization: instance Control.DeepSeq.NFData Amazonka.Organizations.CreateOrganization.CreateOrganizationResponse
+ Amazonka.Organizations.CreateOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.CreateOrganization.CreateOrganization
+ Amazonka.Organizations.CreateOrganization: instance Data.Hashable.Class.Hashable Amazonka.Organizations.CreateOrganization.CreateOrganization
+ Amazonka.Organizations.CreateOrganization: instance GHC.Classes.Eq Amazonka.Organizations.CreateOrganization.CreateOrganization
+ Amazonka.Organizations.CreateOrganization: instance GHC.Classes.Eq Amazonka.Organizations.CreateOrganization.CreateOrganizationResponse
+ Amazonka.Organizations.CreateOrganization: instance GHC.Generics.Generic Amazonka.Organizations.CreateOrganization.CreateOrganization
+ Amazonka.Organizations.CreateOrganization: instance GHC.Generics.Generic Amazonka.Organizations.CreateOrganization.CreateOrganizationResponse
+ Amazonka.Organizations.CreateOrganization: instance GHC.Read.Read Amazonka.Organizations.CreateOrganization.CreateOrganization
+ Amazonka.Organizations.CreateOrganization: instance GHC.Show.Show Amazonka.Organizations.CreateOrganization.CreateOrganization
+ Amazonka.Organizations.CreateOrganization: instance GHC.Show.Show Amazonka.Organizations.CreateOrganization.CreateOrganizationResponse
+ Amazonka.Organizations.CreateOrganization: newCreateOrganization :: CreateOrganization
+ Amazonka.Organizations.CreateOrganization: newCreateOrganizationResponse :: Int -> CreateOrganizationResponse
+ Amazonka.Organizations.CreateOrganizationalUnit: CreateOrganizationalUnit' :: Maybe [Tag] -> Text -> Text -> CreateOrganizationalUnit
+ Amazonka.Organizations.CreateOrganizationalUnit: CreateOrganizationalUnitResponse' :: Maybe OrganizationalUnit -> Int -> CreateOrganizationalUnitResponse
+ Amazonka.Organizations.CreateOrganizationalUnit: [$sel:httpStatus:CreateOrganizationalUnitResponse'] :: CreateOrganizationalUnitResponse -> Int
+ Amazonka.Organizations.CreateOrganizationalUnit: [$sel:name:CreateOrganizationalUnit'] :: CreateOrganizationalUnit -> Text
+ Amazonka.Organizations.CreateOrganizationalUnit: [$sel:organizationalUnit:CreateOrganizationalUnitResponse'] :: CreateOrganizationalUnitResponse -> Maybe OrganizationalUnit
+ Amazonka.Organizations.CreateOrganizationalUnit: [$sel:parentId:CreateOrganizationalUnit'] :: CreateOrganizationalUnit -> Text
+ Amazonka.Organizations.CreateOrganizationalUnit: [$sel:tags:CreateOrganizationalUnit'] :: CreateOrganizationalUnit -> Maybe [Tag]
+ Amazonka.Organizations.CreateOrganizationalUnit: createOrganizationalUnitResponse_httpStatus :: Lens' CreateOrganizationalUnitResponse Int
+ Amazonka.Organizations.CreateOrganizationalUnit: createOrganizationalUnitResponse_organizationalUnit :: Lens' CreateOrganizationalUnitResponse (Maybe OrganizationalUnit)
+ Amazonka.Organizations.CreateOrganizationalUnit: createOrganizationalUnit_name :: Lens' CreateOrganizationalUnit Text
+ Amazonka.Organizations.CreateOrganizationalUnit: createOrganizationalUnit_parentId :: Lens' CreateOrganizationalUnit Text
+ Amazonka.Organizations.CreateOrganizationalUnit: createOrganizationalUnit_tags :: Lens' CreateOrganizationalUnit (Maybe [Tag])
+ Amazonka.Organizations.CreateOrganizationalUnit: data CreateOrganizationalUnit
+ Amazonka.Organizations.CreateOrganizationalUnit: data CreateOrganizationalUnitResponse
+ Amazonka.Organizations.CreateOrganizationalUnit: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
+ Amazonka.Organizations.CreateOrganizationalUnit: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
+ Amazonka.Organizations.CreateOrganizationalUnit: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
+ Amazonka.Organizations.CreateOrganizationalUnit: instance Amazonka.Types.AWSRequest Amazonka.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
+ Amazonka.Organizations.CreateOrganizationalUnit: instance Control.DeepSeq.NFData Amazonka.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
+ Amazonka.Organizations.CreateOrganizationalUnit: instance Control.DeepSeq.NFData Amazonka.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnitResponse
+ Amazonka.Organizations.CreateOrganizationalUnit: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
+ Amazonka.Organizations.CreateOrganizationalUnit: instance Data.Hashable.Class.Hashable Amazonka.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
+ Amazonka.Organizations.CreateOrganizationalUnit: instance GHC.Classes.Eq Amazonka.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
+ Amazonka.Organizations.CreateOrganizationalUnit: instance GHC.Classes.Eq Amazonka.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnitResponse
+ Amazonka.Organizations.CreateOrganizationalUnit: instance GHC.Generics.Generic Amazonka.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
+ Amazonka.Organizations.CreateOrganizationalUnit: instance GHC.Generics.Generic Amazonka.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnitResponse
+ Amazonka.Organizations.CreateOrganizationalUnit: instance GHC.Read.Read Amazonka.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
+ Amazonka.Organizations.CreateOrganizationalUnit: instance GHC.Read.Read Amazonka.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnitResponse
+ Amazonka.Organizations.CreateOrganizationalUnit: instance GHC.Show.Show Amazonka.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnit
+ Amazonka.Organizations.CreateOrganizationalUnit: instance GHC.Show.Show Amazonka.Organizations.CreateOrganizationalUnit.CreateOrganizationalUnitResponse
+ Amazonka.Organizations.CreateOrganizationalUnit: newCreateOrganizationalUnit :: Text -> Text -> CreateOrganizationalUnit
+ Amazonka.Organizations.CreateOrganizationalUnit: newCreateOrganizationalUnitResponse :: Int -> CreateOrganizationalUnitResponse
+ Amazonka.Organizations.CreatePolicy: CreatePolicy' :: Maybe [Tag] -> Text -> Text -> Text -> PolicyType -> CreatePolicy
+ Amazonka.Organizations.CreatePolicy: CreatePolicyResponse' :: Maybe Policy -> Int -> CreatePolicyResponse
+ Amazonka.Organizations.CreatePolicy: [$sel:content:CreatePolicy'] :: CreatePolicy -> Text
+ Amazonka.Organizations.CreatePolicy: [$sel:description:CreatePolicy'] :: CreatePolicy -> Text
+ Amazonka.Organizations.CreatePolicy: [$sel:httpStatus:CreatePolicyResponse'] :: CreatePolicyResponse -> Int
+ Amazonka.Organizations.CreatePolicy: [$sel:name:CreatePolicy'] :: CreatePolicy -> Text
+ Amazonka.Organizations.CreatePolicy: [$sel:policy:CreatePolicyResponse'] :: CreatePolicyResponse -> Maybe Policy
+ Amazonka.Organizations.CreatePolicy: [$sel:tags:CreatePolicy'] :: CreatePolicy -> Maybe [Tag]
+ Amazonka.Organizations.CreatePolicy: [$sel:type':CreatePolicy'] :: CreatePolicy -> PolicyType
+ Amazonka.Organizations.CreatePolicy: createPolicyResponse_httpStatus :: Lens' CreatePolicyResponse Int
+ Amazonka.Organizations.CreatePolicy: createPolicyResponse_policy :: Lens' CreatePolicyResponse (Maybe Policy)
+ Amazonka.Organizations.CreatePolicy: createPolicy_content :: Lens' CreatePolicy Text
+ Amazonka.Organizations.CreatePolicy: createPolicy_description :: Lens' CreatePolicy Text
+ Amazonka.Organizations.CreatePolicy: createPolicy_name :: Lens' CreatePolicy Text
+ Amazonka.Organizations.CreatePolicy: createPolicy_tags :: Lens' CreatePolicy (Maybe [Tag])
+ Amazonka.Organizations.CreatePolicy: createPolicy_type :: Lens' CreatePolicy PolicyType
+ Amazonka.Organizations.CreatePolicy: data CreatePolicy
+ Amazonka.Organizations.CreatePolicy: data CreatePolicyResponse
+ Amazonka.Organizations.CreatePolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.CreatePolicy.CreatePolicy
+ Amazonka.Organizations.CreatePolicy: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.CreatePolicy.CreatePolicy
+ Amazonka.Organizations.CreatePolicy: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.CreatePolicy.CreatePolicy
+ Amazonka.Organizations.CreatePolicy: instance Amazonka.Types.AWSRequest Amazonka.Organizations.CreatePolicy.CreatePolicy
+ Amazonka.Organizations.CreatePolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.CreatePolicy.CreatePolicy
+ Amazonka.Organizations.CreatePolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.CreatePolicy.CreatePolicyResponse
+ Amazonka.Organizations.CreatePolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.CreatePolicy.CreatePolicy
+ Amazonka.Organizations.CreatePolicy: instance Data.Hashable.Class.Hashable Amazonka.Organizations.CreatePolicy.CreatePolicy
+ Amazonka.Organizations.CreatePolicy: instance GHC.Classes.Eq Amazonka.Organizations.CreatePolicy.CreatePolicy
+ Amazonka.Organizations.CreatePolicy: instance GHC.Classes.Eq Amazonka.Organizations.CreatePolicy.CreatePolicyResponse
+ Amazonka.Organizations.CreatePolicy: instance GHC.Generics.Generic Amazonka.Organizations.CreatePolicy.CreatePolicy
+ Amazonka.Organizations.CreatePolicy: instance GHC.Generics.Generic Amazonka.Organizations.CreatePolicy.CreatePolicyResponse
+ Amazonka.Organizations.CreatePolicy: instance GHC.Read.Read Amazonka.Organizations.CreatePolicy.CreatePolicy
+ Amazonka.Organizations.CreatePolicy: instance GHC.Read.Read Amazonka.Organizations.CreatePolicy.CreatePolicyResponse
+ Amazonka.Organizations.CreatePolicy: instance GHC.Show.Show Amazonka.Organizations.CreatePolicy.CreatePolicy
+ Amazonka.Organizations.CreatePolicy: instance GHC.Show.Show Amazonka.Organizations.CreatePolicy.CreatePolicyResponse
+ Amazonka.Organizations.CreatePolicy: newCreatePolicy :: Text -> Text -> Text -> PolicyType -> CreatePolicy
+ Amazonka.Organizations.CreatePolicy: newCreatePolicyResponse :: Int -> CreatePolicyResponse
+ Amazonka.Organizations.DeclineHandshake: DeclineHandshake' :: Text -> DeclineHandshake
+ Amazonka.Organizations.DeclineHandshake: DeclineHandshakeResponse' :: Maybe Handshake -> Int -> DeclineHandshakeResponse
+ Amazonka.Organizations.DeclineHandshake: [$sel:handshake:DeclineHandshakeResponse'] :: DeclineHandshakeResponse -> Maybe Handshake
+ Amazonka.Organizations.DeclineHandshake: [$sel:handshakeId:DeclineHandshake'] :: DeclineHandshake -> Text
+ Amazonka.Organizations.DeclineHandshake: [$sel:httpStatus:DeclineHandshakeResponse'] :: DeclineHandshakeResponse -> Int
+ Amazonka.Organizations.DeclineHandshake: data DeclineHandshake
+ Amazonka.Organizations.DeclineHandshake: data DeclineHandshakeResponse
+ Amazonka.Organizations.DeclineHandshake: declineHandshakeResponse_handshake :: Lens' DeclineHandshakeResponse (Maybe Handshake)
+ Amazonka.Organizations.DeclineHandshake: declineHandshakeResponse_httpStatus :: Lens' DeclineHandshakeResponse Int
+ Amazonka.Organizations.DeclineHandshake: declineHandshake_handshakeId :: Lens' DeclineHandshake Text
+ Amazonka.Organizations.DeclineHandshake: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.DeclineHandshake.DeclineHandshake
+ Amazonka.Organizations.DeclineHandshake: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.DeclineHandshake.DeclineHandshake
+ Amazonka.Organizations.DeclineHandshake: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.DeclineHandshake.DeclineHandshake
+ Amazonka.Organizations.DeclineHandshake: instance Amazonka.Types.AWSRequest Amazonka.Organizations.DeclineHandshake.DeclineHandshake
+ Amazonka.Organizations.DeclineHandshake: instance Control.DeepSeq.NFData Amazonka.Organizations.DeclineHandshake.DeclineHandshake
+ Amazonka.Organizations.DeclineHandshake: instance Control.DeepSeq.NFData Amazonka.Organizations.DeclineHandshake.DeclineHandshakeResponse
+ Amazonka.Organizations.DeclineHandshake: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.DeclineHandshake.DeclineHandshake
+ Amazonka.Organizations.DeclineHandshake: instance Data.Hashable.Class.Hashable Amazonka.Organizations.DeclineHandshake.DeclineHandshake
+ Amazonka.Organizations.DeclineHandshake: instance GHC.Classes.Eq Amazonka.Organizations.DeclineHandshake.DeclineHandshake
+ Amazonka.Organizations.DeclineHandshake: instance GHC.Classes.Eq Amazonka.Organizations.DeclineHandshake.DeclineHandshakeResponse
+ Amazonka.Organizations.DeclineHandshake: instance GHC.Generics.Generic Amazonka.Organizations.DeclineHandshake.DeclineHandshake
+ Amazonka.Organizations.DeclineHandshake: instance GHC.Generics.Generic Amazonka.Organizations.DeclineHandshake.DeclineHandshakeResponse
+ Amazonka.Organizations.DeclineHandshake: instance GHC.Read.Read Amazonka.Organizations.DeclineHandshake.DeclineHandshake
+ Amazonka.Organizations.DeclineHandshake: instance GHC.Show.Show Amazonka.Organizations.DeclineHandshake.DeclineHandshake
+ Amazonka.Organizations.DeclineHandshake: instance GHC.Show.Show Amazonka.Organizations.DeclineHandshake.DeclineHandshakeResponse
+ Amazonka.Organizations.DeclineHandshake: newDeclineHandshake :: Text -> DeclineHandshake
+ Amazonka.Organizations.DeclineHandshake: newDeclineHandshakeResponse :: Int -> DeclineHandshakeResponse
+ Amazonka.Organizations.DeleteOrganization: DeleteOrganization' :: DeleteOrganization
+ Amazonka.Organizations.DeleteOrganization: DeleteOrganizationResponse' :: DeleteOrganizationResponse
+ Amazonka.Organizations.DeleteOrganization: data DeleteOrganization
+ Amazonka.Organizations.DeleteOrganization: data DeleteOrganizationResponse
+ Amazonka.Organizations.DeleteOrganization: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.DeleteOrganization.DeleteOrganization
+ Amazonka.Organizations.DeleteOrganization: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.DeleteOrganization.DeleteOrganization
+ Amazonka.Organizations.DeleteOrganization: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.DeleteOrganization.DeleteOrganization
+ Amazonka.Organizations.DeleteOrganization: instance Amazonka.Types.AWSRequest Amazonka.Organizations.DeleteOrganization.DeleteOrganization
+ Amazonka.Organizations.DeleteOrganization: instance Control.DeepSeq.NFData Amazonka.Organizations.DeleteOrganization.DeleteOrganization
+ Amazonka.Organizations.DeleteOrganization: instance Control.DeepSeq.NFData Amazonka.Organizations.DeleteOrganization.DeleteOrganizationResponse
+ Amazonka.Organizations.DeleteOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.DeleteOrganization.DeleteOrganization
+ Amazonka.Organizations.DeleteOrganization: instance Data.Hashable.Class.Hashable Amazonka.Organizations.DeleteOrganization.DeleteOrganization
+ Amazonka.Organizations.DeleteOrganization: instance GHC.Classes.Eq Amazonka.Organizations.DeleteOrganization.DeleteOrganization
+ Amazonka.Organizations.DeleteOrganization: instance GHC.Classes.Eq Amazonka.Organizations.DeleteOrganization.DeleteOrganizationResponse
+ Amazonka.Organizations.DeleteOrganization: instance GHC.Generics.Generic Amazonka.Organizations.DeleteOrganization.DeleteOrganization
+ Amazonka.Organizations.DeleteOrganization: instance GHC.Generics.Generic Amazonka.Organizations.DeleteOrganization.DeleteOrganizationResponse
+ Amazonka.Organizations.DeleteOrganization: instance GHC.Read.Read Amazonka.Organizations.DeleteOrganization.DeleteOrganization
+ Amazonka.Organizations.DeleteOrganization: instance GHC.Read.Read Amazonka.Organizations.DeleteOrganization.DeleteOrganizationResponse
+ Amazonka.Organizations.DeleteOrganization: instance GHC.Show.Show Amazonka.Organizations.DeleteOrganization.DeleteOrganization
+ Amazonka.Organizations.DeleteOrganization: instance GHC.Show.Show Amazonka.Organizations.DeleteOrganization.DeleteOrganizationResponse
+ Amazonka.Organizations.DeleteOrganization: newDeleteOrganization :: DeleteOrganization
+ Amazonka.Organizations.DeleteOrganization: newDeleteOrganizationResponse :: DeleteOrganizationResponse
+ Amazonka.Organizations.DeleteOrganizationalUnit: DeleteOrganizationalUnit' :: Text -> DeleteOrganizationalUnit
+ Amazonka.Organizations.DeleteOrganizationalUnit: DeleteOrganizationalUnitResponse' :: DeleteOrganizationalUnitResponse
+ Amazonka.Organizations.DeleteOrganizationalUnit: [$sel:organizationalUnitId:DeleteOrganizationalUnit'] :: DeleteOrganizationalUnit -> Text
+ Amazonka.Organizations.DeleteOrganizationalUnit: data DeleteOrganizationalUnit
+ Amazonka.Organizations.DeleteOrganizationalUnit: data DeleteOrganizationalUnitResponse
+ Amazonka.Organizations.DeleteOrganizationalUnit: deleteOrganizationalUnit_organizationalUnitId :: Lens' DeleteOrganizationalUnit Text
+ Amazonka.Organizations.DeleteOrganizationalUnit: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
+ Amazonka.Organizations.DeleteOrganizationalUnit: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
+ Amazonka.Organizations.DeleteOrganizationalUnit: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
+ Amazonka.Organizations.DeleteOrganizationalUnit: instance Amazonka.Types.AWSRequest Amazonka.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
+ Amazonka.Organizations.DeleteOrganizationalUnit: instance Control.DeepSeq.NFData Amazonka.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
+ Amazonka.Organizations.DeleteOrganizationalUnit: instance Control.DeepSeq.NFData Amazonka.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnitResponse
+ Amazonka.Organizations.DeleteOrganizationalUnit: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
+ Amazonka.Organizations.DeleteOrganizationalUnit: instance Data.Hashable.Class.Hashable Amazonka.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
+ Amazonka.Organizations.DeleteOrganizationalUnit: instance GHC.Classes.Eq Amazonka.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
+ Amazonka.Organizations.DeleteOrganizationalUnit: instance GHC.Classes.Eq Amazonka.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnitResponse
+ Amazonka.Organizations.DeleteOrganizationalUnit: instance GHC.Generics.Generic Amazonka.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
+ Amazonka.Organizations.DeleteOrganizationalUnit: instance GHC.Generics.Generic Amazonka.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnitResponse
+ Amazonka.Organizations.DeleteOrganizationalUnit: instance GHC.Read.Read Amazonka.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
+ Amazonka.Organizations.DeleteOrganizationalUnit: instance GHC.Read.Read Amazonka.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnitResponse
+ Amazonka.Organizations.DeleteOrganizationalUnit: instance GHC.Show.Show Amazonka.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnit
+ Amazonka.Organizations.DeleteOrganizationalUnit: instance GHC.Show.Show Amazonka.Organizations.DeleteOrganizationalUnit.DeleteOrganizationalUnitResponse
+ Amazonka.Organizations.DeleteOrganizationalUnit: newDeleteOrganizationalUnit :: Text -> DeleteOrganizationalUnit
+ Amazonka.Organizations.DeleteOrganizationalUnit: newDeleteOrganizationalUnitResponse :: DeleteOrganizationalUnitResponse
+ Amazonka.Organizations.DeletePolicy: DeletePolicy' :: Text -> DeletePolicy
+ Amazonka.Organizations.DeletePolicy: DeletePolicyResponse' :: DeletePolicyResponse
+ Amazonka.Organizations.DeletePolicy: [$sel:policyId:DeletePolicy'] :: DeletePolicy -> Text
+ Amazonka.Organizations.DeletePolicy: data DeletePolicy
+ Amazonka.Organizations.DeletePolicy: data DeletePolicyResponse
+ Amazonka.Organizations.DeletePolicy: deletePolicy_policyId :: Lens' DeletePolicy Text
+ Amazonka.Organizations.DeletePolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.DeletePolicy.DeletePolicy
+ Amazonka.Organizations.DeletePolicy: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.DeletePolicy.DeletePolicy
+ Amazonka.Organizations.DeletePolicy: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.DeletePolicy.DeletePolicy
+ Amazonka.Organizations.DeletePolicy: instance Amazonka.Types.AWSRequest Amazonka.Organizations.DeletePolicy.DeletePolicy
+ Amazonka.Organizations.DeletePolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.DeletePolicy.DeletePolicy
+ Amazonka.Organizations.DeletePolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.DeletePolicy.DeletePolicyResponse
+ Amazonka.Organizations.DeletePolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.DeletePolicy.DeletePolicy
+ Amazonka.Organizations.DeletePolicy: instance Data.Hashable.Class.Hashable Amazonka.Organizations.DeletePolicy.DeletePolicy
+ Amazonka.Organizations.DeletePolicy: instance GHC.Classes.Eq Amazonka.Organizations.DeletePolicy.DeletePolicy
+ Amazonka.Organizations.DeletePolicy: instance GHC.Classes.Eq Amazonka.Organizations.DeletePolicy.DeletePolicyResponse
+ Amazonka.Organizations.DeletePolicy: instance GHC.Generics.Generic Amazonka.Organizations.DeletePolicy.DeletePolicy
+ Amazonka.Organizations.DeletePolicy: instance GHC.Generics.Generic Amazonka.Organizations.DeletePolicy.DeletePolicyResponse
+ Amazonka.Organizations.DeletePolicy: instance GHC.Read.Read Amazonka.Organizations.DeletePolicy.DeletePolicy
+ Amazonka.Organizations.DeletePolicy: instance GHC.Read.Read Amazonka.Organizations.DeletePolicy.DeletePolicyResponse
+ Amazonka.Organizations.DeletePolicy: instance GHC.Show.Show Amazonka.Organizations.DeletePolicy.DeletePolicy
+ Amazonka.Organizations.DeletePolicy: instance GHC.Show.Show Amazonka.Organizations.DeletePolicy.DeletePolicyResponse
+ Amazonka.Organizations.DeletePolicy: newDeletePolicy :: Text -> DeletePolicy
+ Amazonka.Organizations.DeletePolicy: newDeletePolicyResponse :: DeletePolicyResponse
+ Amazonka.Organizations.DeleteResourcePolicy: DeleteResourcePolicy' :: DeleteResourcePolicy
+ Amazonka.Organizations.DeleteResourcePolicy: DeleteResourcePolicyResponse' :: DeleteResourcePolicyResponse
+ Amazonka.Organizations.DeleteResourcePolicy: data DeleteResourcePolicy
+ Amazonka.Organizations.DeleteResourcePolicy: data DeleteResourcePolicyResponse
+ Amazonka.Organizations.DeleteResourcePolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.DeleteResourcePolicy.DeleteResourcePolicy
+ Amazonka.Organizations.DeleteResourcePolicy: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.DeleteResourcePolicy.DeleteResourcePolicy
+ Amazonka.Organizations.DeleteResourcePolicy: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.DeleteResourcePolicy.DeleteResourcePolicy
+ Amazonka.Organizations.DeleteResourcePolicy: instance Amazonka.Types.AWSRequest Amazonka.Organizations.DeleteResourcePolicy.DeleteResourcePolicy
+ Amazonka.Organizations.DeleteResourcePolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.DeleteResourcePolicy.DeleteResourcePolicy
+ Amazonka.Organizations.DeleteResourcePolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.DeleteResourcePolicy.DeleteResourcePolicyResponse
+ Amazonka.Organizations.DeleteResourcePolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.DeleteResourcePolicy.DeleteResourcePolicy
+ Amazonka.Organizations.DeleteResourcePolicy: instance Data.Hashable.Class.Hashable Amazonka.Organizations.DeleteResourcePolicy.DeleteResourcePolicy
+ Amazonka.Organizations.DeleteResourcePolicy: instance GHC.Classes.Eq Amazonka.Organizations.DeleteResourcePolicy.DeleteResourcePolicy
+ Amazonka.Organizations.DeleteResourcePolicy: instance GHC.Classes.Eq Amazonka.Organizations.DeleteResourcePolicy.DeleteResourcePolicyResponse
+ Amazonka.Organizations.DeleteResourcePolicy: instance GHC.Generics.Generic Amazonka.Organizations.DeleteResourcePolicy.DeleteResourcePolicy
+ Amazonka.Organizations.DeleteResourcePolicy: instance GHC.Generics.Generic Amazonka.Organizations.DeleteResourcePolicy.DeleteResourcePolicyResponse
+ Amazonka.Organizations.DeleteResourcePolicy: instance GHC.Read.Read Amazonka.Organizations.DeleteResourcePolicy.DeleteResourcePolicy
+ Amazonka.Organizations.DeleteResourcePolicy: instance GHC.Read.Read Amazonka.Organizations.DeleteResourcePolicy.DeleteResourcePolicyResponse
+ Amazonka.Organizations.DeleteResourcePolicy: instance GHC.Show.Show Amazonka.Organizations.DeleteResourcePolicy.DeleteResourcePolicy
+ Amazonka.Organizations.DeleteResourcePolicy: instance GHC.Show.Show Amazonka.Organizations.DeleteResourcePolicy.DeleteResourcePolicyResponse
+ Amazonka.Organizations.DeleteResourcePolicy: newDeleteResourcePolicy :: DeleteResourcePolicy
+ Amazonka.Organizations.DeleteResourcePolicy: newDeleteResourcePolicyResponse :: DeleteResourcePolicyResponse
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: DeregisterDelegatedAdministrator' :: Text -> Text -> DeregisterDelegatedAdministrator
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: DeregisterDelegatedAdministratorResponse' :: DeregisterDelegatedAdministratorResponse
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: [$sel:accountId:DeregisterDelegatedAdministrator'] :: DeregisterDelegatedAdministrator -> Text
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: [$sel:servicePrincipal:DeregisterDelegatedAdministrator'] :: DeregisterDelegatedAdministrator -> Text
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: data DeregisterDelegatedAdministrator
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: data DeregisterDelegatedAdministratorResponse
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: deregisterDelegatedAdministrator_accountId :: Lens' DeregisterDelegatedAdministrator Text
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: deregisterDelegatedAdministrator_servicePrincipal :: Lens' DeregisterDelegatedAdministrator Text
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.DeregisterDelegatedAdministrator.DeregisterDelegatedAdministrator
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.DeregisterDelegatedAdministrator.DeregisterDelegatedAdministrator
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.DeregisterDelegatedAdministrator.DeregisterDelegatedAdministrator
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: instance Amazonka.Types.AWSRequest Amazonka.Organizations.DeregisterDelegatedAdministrator.DeregisterDelegatedAdministrator
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: instance Control.DeepSeq.NFData Amazonka.Organizations.DeregisterDelegatedAdministrator.DeregisterDelegatedAdministrator
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: instance Control.DeepSeq.NFData Amazonka.Organizations.DeregisterDelegatedAdministrator.DeregisterDelegatedAdministratorResponse
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.DeregisterDelegatedAdministrator.DeregisterDelegatedAdministrator
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: instance Data.Hashable.Class.Hashable Amazonka.Organizations.DeregisterDelegatedAdministrator.DeregisterDelegatedAdministrator
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: instance GHC.Classes.Eq Amazonka.Organizations.DeregisterDelegatedAdministrator.DeregisterDelegatedAdministrator
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: instance GHC.Classes.Eq Amazonka.Organizations.DeregisterDelegatedAdministrator.DeregisterDelegatedAdministratorResponse
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: instance GHC.Generics.Generic Amazonka.Organizations.DeregisterDelegatedAdministrator.DeregisterDelegatedAdministrator
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: instance GHC.Generics.Generic Amazonka.Organizations.DeregisterDelegatedAdministrator.DeregisterDelegatedAdministratorResponse
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: instance GHC.Read.Read Amazonka.Organizations.DeregisterDelegatedAdministrator.DeregisterDelegatedAdministrator
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: instance GHC.Read.Read Amazonka.Organizations.DeregisterDelegatedAdministrator.DeregisterDelegatedAdministratorResponse
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: instance GHC.Show.Show Amazonka.Organizations.DeregisterDelegatedAdministrator.DeregisterDelegatedAdministrator
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: instance GHC.Show.Show Amazonka.Organizations.DeregisterDelegatedAdministrator.DeregisterDelegatedAdministratorResponse
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: newDeregisterDelegatedAdministrator :: Text -> Text -> DeregisterDelegatedAdministrator
+ Amazonka.Organizations.DeregisterDelegatedAdministrator: newDeregisterDelegatedAdministratorResponse :: DeregisterDelegatedAdministratorResponse
+ Amazonka.Organizations.DescribeAccount: DescribeAccount' :: Text -> DescribeAccount
+ Amazonka.Organizations.DescribeAccount: DescribeAccountResponse' :: Maybe Account -> Int -> DescribeAccountResponse
+ Amazonka.Organizations.DescribeAccount: [$sel:account:DescribeAccountResponse'] :: DescribeAccountResponse -> Maybe Account
+ Amazonka.Organizations.DescribeAccount: [$sel:accountId:DescribeAccount'] :: DescribeAccount -> Text
+ Amazonka.Organizations.DescribeAccount: [$sel:httpStatus:DescribeAccountResponse'] :: DescribeAccountResponse -> Int
+ Amazonka.Organizations.DescribeAccount: data DescribeAccount
+ Amazonka.Organizations.DescribeAccount: data DescribeAccountResponse
+ Amazonka.Organizations.DescribeAccount: describeAccountResponse_account :: Lens' DescribeAccountResponse (Maybe Account)
+ Amazonka.Organizations.DescribeAccount: describeAccountResponse_httpStatus :: Lens' DescribeAccountResponse Int
+ Amazonka.Organizations.DescribeAccount: describeAccount_accountId :: Lens' DescribeAccount Text
+ Amazonka.Organizations.DescribeAccount: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.DescribeAccount.DescribeAccount
+ Amazonka.Organizations.DescribeAccount: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.DescribeAccount.DescribeAccount
+ Amazonka.Organizations.DescribeAccount: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.DescribeAccount.DescribeAccount
+ Amazonka.Organizations.DescribeAccount: instance Amazonka.Types.AWSRequest Amazonka.Organizations.DescribeAccount.DescribeAccount
+ Amazonka.Organizations.DescribeAccount: instance Control.DeepSeq.NFData Amazonka.Organizations.DescribeAccount.DescribeAccount
+ Amazonka.Organizations.DescribeAccount: instance Control.DeepSeq.NFData Amazonka.Organizations.DescribeAccount.DescribeAccountResponse
+ Amazonka.Organizations.DescribeAccount: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.DescribeAccount.DescribeAccount
+ Amazonka.Organizations.DescribeAccount: instance Data.Hashable.Class.Hashable Amazonka.Organizations.DescribeAccount.DescribeAccount
+ Amazonka.Organizations.DescribeAccount: instance GHC.Classes.Eq Amazonka.Organizations.DescribeAccount.DescribeAccount
+ Amazonka.Organizations.DescribeAccount: instance GHC.Classes.Eq Amazonka.Organizations.DescribeAccount.DescribeAccountResponse
+ Amazonka.Organizations.DescribeAccount: instance GHC.Generics.Generic Amazonka.Organizations.DescribeAccount.DescribeAccount
+ Amazonka.Organizations.DescribeAccount: instance GHC.Generics.Generic Amazonka.Organizations.DescribeAccount.DescribeAccountResponse
+ Amazonka.Organizations.DescribeAccount: instance GHC.Read.Read Amazonka.Organizations.DescribeAccount.DescribeAccount
+ Amazonka.Organizations.DescribeAccount: instance GHC.Show.Show Amazonka.Organizations.DescribeAccount.DescribeAccount
+ Amazonka.Organizations.DescribeAccount: instance GHC.Show.Show Amazonka.Organizations.DescribeAccount.DescribeAccountResponse
+ Amazonka.Organizations.DescribeAccount: newDescribeAccount :: Text -> DescribeAccount
+ Amazonka.Organizations.DescribeAccount: newDescribeAccountResponse :: Int -> DescribeAccountResponse
+ Amazonka.Organizations.DescribeCreateAccountStatus: DescribeCreateAccountStatus' :: Text -> DescribeCreateAccountStatus
+ Amazonka.Organizations.DescribeCreateAccountStatus: DescribeCreateAccountStatusResponse' :: Maybe CreateAccountStatus -> Int -> DescribeCreateAccountStatusResponse
+ Amazonka.Organizations.DescribeCreateAccountStatus: [$sel:createAccountRequestId:DescribeCreateAccountStatus'] :: DescribeCreateAccountStatus -> Text
+ Amazonka.Organizations.DescribeCreateAccountStatus: [$sel:createAccountStatus:DescribeCreateAccountStatusResponse'] :: DescribeCreateAccountStatusResponse -> Maybe CreateAccountStatus
+ Amazonka.Organizations.DescribeCreateAccountStatus: [$sel:httpStatus:DescribeCreateAccountStatusResponse'] :: DescribeCreateAccountStatusResponse -> Int
+ Amazonka.Organizations.DescribeCreateAccountStatus: data DescribeCreateAccountStatus
+ Amazonka.Organizations.DescribeCreateAccountStatus: data DescribeCreateAccountStatusResponse
+ Amazonka.Organizations.DescribeCreateAccountStatus: describeCreateAccountStatusResponse_createAccountStatus :: Lens' DescribeCreateAccountStatusResponse (Maybe CreateAccountStatus)
+ Amazonka.Organizations.DescribeCreateAccountStatus: describeCreateAccountStatusResponse_httpStatus :: Lens' DescribeCreateAccountStatusResponse Int
+ Amazonka.Organizations.DescribeCreateAccountStatus: describeCreateAccountStatus_createAccountRequestId :: Lens' DescribeCreateAccountStatus Text
+ Amazonka.Organizations.DescribeCreateAccountStatus: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
+ Amazonka.Organizations.DescribeCreateAccountStatus: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
+ Amazonka.Organizations.DescribeCreateAccountStatus: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
+ Amazonka.Organizations.DescribeCreateAccountStatus: instance Amazonka.Types.AWSRequest Amazonka.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
+ Amazonka.Organizations.DescribeCreateAccountStatus: instance Control.DeepSeq.NFData Amazonka.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
+ Amazonka.Organizations.DescribeCreateAccountStatus: instance Control.DeepSeq.NFData Amazonka.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatusResponse
+ Amazonka.Organizations.DescribeCreateAccountStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
+ Amazonka.Organizations.DescribeCreateAccountStatus: instance Data.Hashable.Class.Hashable Amazonka.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
+ Amazonka.Organizations.DescribeCreateAccountStatus: instance GHC.Classes.Eq Amazonka.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
+ Amazonka.Organizations.DescribeCreateAccountStatus: instance GHC.Classes.Eq Amazonka.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatusResponse
+ Amazonka.Organizations.DescribeCreateAccountStatus: instance GHC.Generics.Generic Amazonka.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
+ Amazonka.Organizations.DescribeCreateAccountStatus: instance GHC.Generics.Generic Amazonka.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatusResponse
+ Amazonka.Organizations.DescribeCreateAccountStatus: instance GHC.Read.Read Amazonka.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
+ Amazonka.Organizations.DescribeCreateAccountStatus: instance GHC.Show.Show Amazonka.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatus
+ Amazonka.Organizations.DescribeCreateAccountStatus: instance GHC.Show.Show Amazonka.Organizations.DescribeCreateAccountStatus.DescribeCreateAccountStatusResponse
+ Amazonka.Organizations.DescribeCreateAccountStatus: newDescribeCreateAccountStatus :: Text -> DescribeCreateAccountStatus
+ Amazonka.Organizations.DescribeCreateAccountStatus: newDescribeCreateAccountStatusResponse :: Int -> DescribeCreateAccountStatusResponse
+ Amazonka.Organizations.DescribeEffectivePolicy: DescribeEffectivePolicy' :: Maybe Text -> EffectivePolicyType -> DescribeEffectivePolicy
+ Amazonka.Organizations.DescribeEffectivePolicy: DescribeEffectivePolicyResponse' :: Maybe EffectivePolicy -> Int -> DescribeEffectivePolicyResponse
+ Amazonka.Organizations.DescribeEffectivePolicy: [$sel:effectivePolicy:DescribeEffectivePolicyResponse'] :: DescribeEffectivePolicyResponse -> Maybe EffectivePolicy
+ Amazonka.Organizations.DescribeEffectivePolicy: [$sel:httpStatus:DescribeEffectivePolicyResponse'] :: DescribeEffectivePolicyResponse -> Int
+ Amazonka.Organizations.DescribeEffectivePolicy: [$sel:policyType:DescribeEffectivePolicy'] :: DescribeEffectivePolicy -> EffectivePolicyType
+ Amazonka.Organizations.DescribeEffectivePolicy: [$sel:targetId:DescribeEffectivePolicy'] :: DescribeEffectivePolicy -> Maybe Text
+ Amazonka.Organizations.DescribeEffectivePolicy: data DescribeEffectivePolicy
+ Amazonka.Organizations.DescribeEffectivePolicy: data DescribeEffectivePolicyResponse
+ Amazonka.Organizations.DescribeEffectivePolicy: describeEffectivePolicyResponse_effectivePolicy :: Lens' DescribeEffectivePolicyResponse (Maybe EffectivePolicy)
+ Amazonka.Organizations.DescribeEffectivePolicy: describeEffectivePolicyResponse_httpStatus :: Lens' DescribeEffectivePolicyResponse Int
+ Amazonka.Organizations.DescribeEffectivePolicy: describeEffectivePolicy_policyType :: Lens' DescribeEffectivePolicy EffectivePolicyType
+ Amazonka.Organizations.DescribeEffectivePolicy: describeEffectivePolicy_targetId :: Lens' DescribeEffectivePolicy (Maybe Text)
+ Amazonka.Organizations.DescribeEffectivePolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.DescribeEffectivePolicy.DescribeEffectivePolicy
+ Amazonka.Organizations.DescribeEffectivePolicy: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.DescribeEffectivePolicy.DescribeEffectivePolicy
+ Amazonka.Organizations.DescribeEffectivePolicy: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.DescribeEffectivePolicy.DescribeEffectivePolicy
+ Amazonka.Organizations.DescribeEffectivePolicy: instance Amazonka.Types.AWSRequest Amazonka.Organizations.DescribeEffectivePolicy.DescribeEffectivePolicy
+ Amazonka.Organizations.DescribeEffectivePolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.DescribeEffectivePolicy.DescribeEffectivePolicy
+ Amazonka.Organizations.DescribeEffectivePolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.DescribeEffectivePolicy.DescribeEffectivePolicyResponse
+ Amazonka.Organizations.DescribeEffectivePolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.DescribeEffectivePolicy.DescribeEffectivePolicy
+ Amazonka.Organizations.DescribeEffectivePolicy: instance Data.Hashable.Class.Hashable Amazonka.Organizations.DescribeEffectivePolicy.DescribeEffectivePolicy
+ Amazonka.Organizations.DescribeEffectivePolicy: instance GHC.Classes.Eq Amazonka.Organizations.DescribeEffectivePolicy.DescribeEffectivePolicy
+ Amazonka.Organizations.DescribeEffectivePolicy: instance GHC.Classes.Eq Amazonka.Organizations.DescribeEffectivePolicy.DescribeEffectivePolicyResponse
+ Amazonka.Organizations.DescribeEffectivePolicy: instance GHC.Generics.Generic Amazonka.Organizations.DescribeEffectivePolicy.DescribeEffectivePolicy
+ Amazonka.Organizations.DescribeEffectivePolicy: instance GHC.Generics.Generic Amazonka.Organizations.DescribeEffectivePolicy.DescribeEffectivePolicyResponse
+ Amazonka.Organizations.DescribeEffectivePolicy: instance GHC.Read.Read Amazonka.Organizations.DescribeEffectivePolicy.DescribeEffectivePolicy
+ Amazonka.Organizations.DescribeEffectivePolicy: instance GHC.Read.Read Amazonka.Organizations.DescribeEffectivePolicy.DescribeEffectivePolicyResponse
+ Amazonka.Organizations.DescribeEffectivePolicy: instance GHC.Show.Show Amazonka.Organizations.DescribeEffectivePolicy.DescribeEffectivePolicy
+ Amazonka.Organizations.DescribeEffectivePolicy: instance GHC.Show.Show Amazonka.Organizations.DescribeEffectivePolicy.DescribeEffectivePolicyResponse
+ Amazonka.Organizations.DescribeEffectivePolicy: newDescribeEffectivePolicy :: EffectivePolicyType -> DescribeEffectivePolicy
+ Amazonka.Organizations.DescribeEffectivePolicy: newDescribeEffectivePolicyResponse :: Int -> DescribeEffectivePolicyResponse
+ Amazonka.Organizations.DescribeHandshake: DescribeHandshake' :: Text -> DescribeHandshake
+ Amazonka.Organizations.DescribeHandshake: DescribeHandshakeResponse' :: Maybe Handshake -> Int -> DescribeHandshakeResponse
+ Amazonka.Organizations.DescribeHandshake: [$sel:handshake:DescribeHandshakeResponse'] :: DescribeHandshakeResponse -> Maybe Handshake
+ Amazonka.Organizations.DescribeHandshake: [$sel:handshakeId:DescribeHandshake'] :: DescribeHandshake -> Text
+ Amazonka.Organizations.DescribeHandshake: [$sel:httpStatus:DescribeHandshakeResponse'] :: DescribeHandshakeResponse -> Int
+ Amazonka.Organizations.DescribeHandshake: data DescribeHandshake
+ Amazonka.Organizations.DescribeHandshake: data DescribeHandshakeResponse
+ Amazonka.Organizations.DescribeHandshake: describeHandshakeResponse_handshake :: Lens' DescribeHandshakeResponse (Maybe Handshake)
+ Amazonka.Organizations.DescribeHandshake: describeHandshakeResponse_httpStatus :: Lens' DescribeHandshakeResponse Int
+ Amazonka.Organizations.DescribeHandshake: describeHandshake_handshakeId :: Lens' DescribeHandshake Text
+ Amazonka.Organizations.DescribeHandshake: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.DescribeHandshake.DescribeHandshake
+ Amazonka.Organizations.DescribeHandshake: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.DescribeHandshake.DescribeHandshake
+ Amazonka.Organizations.DescribeHandshake: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.DescribeHandshake.DescribeHandshake
+ Amazonka.Organizations.DescribeHandshake: instance Amazonka.Types.AWSRequest Amazonka.Organizations.DescribeHandshake.DescribeHandshake
+ Amazonka.Organizations.DescribeHandshake: instance Control.DeepSeq.NFData Amazonka.Organizations.DescribeHandshake.DescribeHandshake
+ Amazonka.Organizations.DescribeHandshake: instance Control.DeepSeq.NFData Amazonka.Organizations.DescribeHandshake.DescribeHandshakeResponse
+ Amazonka.Organizations.DescribeHandshake: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.DescribeHandshake.DescribeHandshake
+ Amazonka.Organizations.DescribeHandshake: instance Data.Hashable.Class.Hashable Amazonka.Organizations.DescribeHandshake.DescribeHandshake
+ Amazonka.Organizations.DescribeHandshake: instance GHC.Classes.Eq Amazonka.Organizations.DescribeHandshake.DescribeHandshake
+ Amazonka.Organizations.DescribeHandshake: instance GHC.Classes.Eq Amazonka.Organizations.DescribeHandshake.DescribeHandshakeResponse
+ Amazonka.Organizations.DescribeHandshake: instance GHC.Generics.Generic Amazonka.Organizations.DescribeHandshake.DescribeHandshake
+ Amazonka.Organizations.DescribeHandshake: instance GHC.Generics.Generic Amazonka.Organizations.DescribeHandshake.DescribeHandshakeResponse
+ Amazonka.Organizations.DescribeHandshake: instance GHC.Read.Read Amazonka.Organizations.DescribeHandshake.DescribeHandshake
+ Amazonka.Organizations.DescribeHandshake: instance GHC.Show.Show Amazonka.Organizations.DescribeHandshake.DescribeHandshake
+ Amazonka.Organizations.DescribeHandshake: instance GHC.Show.Show Amazonka.Organizations.DescribeHandshake.DescribeHandshakeResponse
+ Amazonka.Organizations.DescribeHandshake: newDescribeHandshake :: Text -> DescribeHandshake
+ Amazonka.Organizations.DescribeHandshake: newDescribeHandshakeResponse :: Int -> DescribeHandshakeResponse
+ Amazonka.Organizations.DescribeOrganization: DescribeOrganization' :: DescribeOrganization
+ Amazonka.Organizations.DescribeOrganization: DescribeOrganizationResponse' :: Maybe Organization -> Int -> DescribeOrganizationResponse
+ Amazonka.Organizations.DescribeOrganization: [$sel:httpStatus:DescribeOrganizationResponse'] :: DescribeOrganizationResponse -> Int
+ Amazonka.Organizations.DescribeOrganization: [$sel:organization:DescribeOrganizationResponse'] :: DescribeOrganizationResponse -> Maybe Organization
+ Amazonka.Organizations.DescribeOrganization: data DescribeOrganization
+ Amazonka.Organizations.DescribeOrganization: data DescribeOrganizationResponse
+ Amazonka.Organizations.DescribeOrganization: describeOrganizationResponse_httpStatus :: Lens' DescribeOrganizationResponse Int
+ Amazonka.Organizations.DescribeOrganization: describeOrganizationResponse_organization :: Lens' DescribeOrganizationResponse (Maybe Organization)
+ Amazonka.Organizations.DescribeOrganization: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.DescribeOrganization.DescribeOrganization
+ Amazonka.Organizations.DescribeOrganization: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.DescribeOrganization.DescribeOrganization
+ Amazonka.Organizations.DescribeOrganization: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.DescribeOrganization.DescribeOrganization
+ Amazonka.Organizations.DescribeOrganization: instance Amazonka.Types.AWSRequest Amazonka.Organizations.DescribeOrganization.DescribeOrganization
+ Amazonka.Organizations.DescribeOrganization: instance Control.DeepSeq.NFData Amazonka.Organizations.DescribeOrganization.DescribeOrganization
+ Amazonka.Organizations.DescribeOrganization: instance Control.DeepSeq.NFData Amazonka.Organizations.DescribeOrganization.DescribeOrganizationResponse
+ Amazonka.Organizations.DescribeOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.DescribeOrganization.DescribeOrganization
+ Amazonka.Organizations.DescribeOrganization: instance Data.Hashable.Class.Hashable Amazonka.Organizations.DescribeOrganization.DescribeOrganization
+ Amazonka.Organizations.DescribeOrganization: instance GHC.Classes.Eq Amazonka.Organizations.DescribeOrganization.DescribeOrganization
+ Amazonka.Organizations.DescribeOrganization: instance GHC.Classes.Eq Amazonka.Organizations.DescribeOrganization.DescribeOrganizationResponse
+ Amazonka.Organizations.DescribeOrganization: instance GHC.Generics.Generic Amazonka.Organizations.DescribeOrganization.DescribeOrganization
+ Amazonka.Organizations.DescribeOrganization: instance GHC.Generics.Generic Amazonka.Organizations.DescribeOrganization.DescribeOrganizationResponse
+ Amazonka.Organizations.DescribeOrganization: instance GHC.Read.Read Amazonka.Organizations.DescribeOrganization.DescribeOrganization
+ Amazonka.Organizations.DescribeOrganization: instance GHC.Show.Show Amazonka.Organizations.DescribeOrganization.DescribeOrganization
+ Amazonka.Organizations.DescribeOrganization: instance GHC.Show.Show Amazonka.Organizations.DescribeOrganization.DescribeOrganizationResponse
+ Amazonka.Organizations.DescribeOrganization: newDescribeOrganization :: DescribeOrganization
+ Amazonka.Organizations.DescribeOrganization: newDescribeOrganizationResponse :: Int -> DescribeOrganizationResponse
+ Amazonka.Organizations.DescribeOrganizationalUnit: DescribeOrganizationalUnit' :: Text -> DescribeOrganizationalUnit
+ Amazonka.Organizations.DescribeOrganizationalUnit: DescribeOrganizationalUnitResponse' :: Maybe OrganizationalUnit -> Int -> DescribeOrganizationalUnitResponse
+ Amazonka.Organizations.DescribeOrganizationalUnit: [$sel:httpStatus:DescribeOrganizationalUnitResponse'] :: DescribeOrganizationalUnitResponse -> Int
+ Amazonka.Organizations.DescribeOrganizationalUnit: [$sel:organizationalUnit:DescribeOrganizationalUnitResponse'] :: DescribeOrganizationalUnitResponse -> Maybe OrganizationalUnit
+ Amazonka.Organizations.DescribeOrganizationalUnit: [$sel:organizationalUnitId:DescribeOrganizationalUnit'] :: DescribeOrganizationalUnit -> Text
+ Amazonka.Organizations.DescribeOrganizationalUnit: data DescribeOrganizationalUnit
+ Amazonka.Organizations.DescribeOrganizationalUnit: data DescribeOrganizationalUnitResponse
+ Amazonka.Organizations.DescribeOrganizationalUnit: describeOrganizationalUnitResponse_httpStatus :: Lens' DescribeOrganizationalUnitResponse Int
+ Amazonka.Organizations.DescribeOrganizationalUnit: describeOrganizationalUnitResponse_organizationalUnit :: Lens' DescribeOrganizationalUnitResponse (Maybe OrganizationalUnit)
+ Amazonka.Organizations.DescribeOrganizationalUnit: describeOrganizationalUnit_organizationalUnitId :: Lens' DescribeOrganizationalUnit Text
+ Amazonka.Organizations.DescribeOrganizationalUnit: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
+ Amazonka.Organizations.DescribeOrganizationalUnit: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
+ Amazonka.Organizations.DescribeOrganizationalUnit: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
+ Amazonka.Organizations.DescribeOrganizationalUnit: instance Amazonka.Types.AWSRequest Amazonka.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
+ Amazonka.Organizations.DescribeOrganizationalUnit: instance Control.DeepSeq.NFData Amazonka.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
+ Amazonka.Organizations.DescribeOrganizationalUnit: instance Control.DeepSeq.NFData Amazonka.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnitResponse
+ Amazonka.Organizations.DescribeOrganizationalUnit: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
+ Amazonka.Organizations.DescribeOrganizationalUnit: instance Data.Hashable.Class.Hashable Amazonka.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
+ Amazonka.Organizations.DescribeOrganizationalUnit: instance GHC.Classes.Eq Amazonka.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
+ Amazonka.Organizations.DescribeOrganizationalUnit: instance GHC.Classes.Eq Amazonka.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnitResponse
+ Amazonka.Organizations.DescribeOrganizationalUnit: instance GHC.Generics.Generic Amazonka.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
+ Amazonka.Organizations.DescribeOrganizationalUnit: instance GHC.Generics.Generic Amazonka.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnitResponse
+ Amazonka.Organizations.DescribeOrganizationalUnit: instance GHC.Read.Read Amazonka.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
+ Amazonka.Organizations.DescribeOrganizationalUnit: instance GHC.Read.Read Amazonka.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnitResponse
+ Amazonka.Organizations.DescribeOrganizationalUnit: instance GHC.Show.Show Amazonka.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnit
+ Amazonka.Organizations.DescribeOrganizationalUnit: instance GHC.Show.Show Amazonka.Organizations.DescribeOrganizationalUnit.DescribeOrganizationalUnitResponse
+ Amazonka.Organizations.DescribeOrganizationalUnit: newDescribeOrganizationalUnit :: Text -> DescribeOrganizationalUnit
+ Amazonka.Organizations.DescribeOrganizationalUnit: newDescribeOrganizationalUnitResponse :: Int -> DescribeOrganizationalUnitResponse
+ Amazonka.Organizations.DescribePolicy: DescribePolicy' :: Text -> DescribePolicy
+ Amazonka.Organizations.DescribePolicy: DescribePolicyResponse' :: Maybe Policy -> Int -> DescribePolicyResponse
+ Amazonka.Organizations.DescribePolicy: [$sel:httpStatus:DescribePolicyResponse'] :: DescribePolicyResponse -> Int
+ Amazonka.Organizations.DescribePolicy: [$sel:policy:DescribePolicyResponse'] :: DescribePolicyResponse -> Maybe Policy
+ Amazonka.Organizations.DescribePolicy: [$sel:policyId:DescribePolicy'] :: DescribePolicy -> Text
+ Amazonka.Organizations.DescribePolicy: data DescribePolicy
+ Amazonka.Organizations.DescribePolicy: data DescribePolicyResponse
+ Amazonka.Organizations.DescribePolicy: describePolicyResponse_httpStatus :: Lens' DescribePolicyResponse Int
+ Amazonka.Organizations.DescribePolicy: describePolicyResponse_policy :: Lens' DescribePolicyResponse (Maybe Policy)
+ Amazonka.Organizations.DescribePolicy: describePolicy_policyId :: Lens' DescribePolicy Text
+ Amazonka.Organizations.DescribePolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.DescribePolicy.DescribePolicy
+ Amazonka.Organizations.DescribePolicy: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.DescribePolicy.DescribePolicy
+ Amazonka.Organizations.DescribePolicy: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.DescribePolicy.DescribePolicy
+ Amazonka.Organizations.DescribePolicy: instance Amazonka.Types.AWSRequest Amazonka.Organizations.DescribePolicy.DescribePolicy
+ Amazonka.Organizations.DescribePolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.DescribePolicy.DescribePolicy
+ Amazonka.Organizations.DescribePolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.DescribePolicy.DescribePolicyResponse
+ Amazonka.Organizations.DescribePolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.DescribePolicy.DescribePolicy
+ Amazonka.Organizations.DescribePolicy: instance Data.Hashable.Class.Hashable Amazonka.Organizations.DescribePolicy.DescribePolicy
+ Amazonka.Organizations.DescribePolicy: instance GHC.Classes.Eq Amazonka.Organizations.DescribePolicy.DescribePolicy
+ Amazonka.Organizations.DescribePolicy: instance GHC.Classes.Eq Amazonka.Organizations.DescribePolicy.DescribePolicyResponse
+ Amazonka.Organizations.DescribePolicy: instance GHC.Generics.Generic Amazonka.Organizations.DescribePolicy.DescribePolicy
+ Amazonka.Organizations.DescribePolicy: instance GHC.Generics.Generic Amazonka.Organizations.DescribePolicy.DescribePolicyResponse
+ Amazonka.Organizations.DescribePolicy: instance GHC.Read.Read Amazonka.Organizations.DescribePolicy.DescribePolicy
+ Amazonka.Organizations.DescribePolicy: instance GHC.Read.Read Amazonka.Organizations.DescribePolicy.DescribePolicyResponse
+ Amazonka.Organizations.DescribePolicy: instance GHC.Show.Show Amazonka.Organizations.DescribePolicy.DescribePolicy
+ Amazonka.Organizations.DescribePolicy: instance GHC.Show.Show Amazonka.Organizations.DescribePolicy.DescribePolicyResponse
+ Amazonka.Organizations.DescribePolicy: newDescribePolicy :: Text -> DescribePolicy
+ Amazonka.Organizations.DescribePolicy: newDescribePolicyResponse :: Int -> DescribePolicyResponse
+ Amazonka.Organizations.DescribeResourcePolicy: DescribeResourcePolicy' :: DescribeResourcePolicy
+ Amazonka.Organizations.DescribeResourcePolicy: DescribeResourcePolicyResponse' :: Maybe ResourcePolicy -> Int -> DescribeResourcePolicyResponse
+ Amazonka.Organizations.DescribeResourcePolicy: [$sel:httpStatus:DescribeResourcePolicyResponse'] :: DescribeResourcePolicyResponse -> Int
+ Amazonka.Organizations.DescribeResourcePolicy: [$sel:resourcePolicy:DescribeResourcePolicyResponse'] :: DescribeResourcePolicyResponse -> Maybe ResourcePolicy
+ Amazonka.Organizations.DescribeResourcePolicy: data DescribeResourcePolicy
+ Amazonka.Organizations.DescribeResourcePolicy: data DescribeResourcePolicyResponse
+ Amazonka.Organizations.DescribeResourcePolicy: describeResourcePolicyResponse_httpStatus :: Lens' DescribeResourcePolicyResponse Int
+ Amazonka.Organizations.DescribeResourcePolicy: describeResourcePolicyResponse_resourcePolicy :: Lens' DescribeResourcePolicyResponse (Maybe ResourcePolicy)
+ Amazonka.Organizations.DescribeResourcePolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.DescribeResourcePolicy.DescribeResourcePolicy
+ Amazonka.Organizations.DescribeResourcePolicy: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.DescribeResourcePolicy.DescribeResourcePolicy
+ Amazonka.Organizations.DescribeResourcePolicy: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.DescribeResourcePolicy.DescribeResourcePolicy
+ Amazonka.Organizations.DescribeResourcePolicy: instance Amazonka.Types.AWSRequest Amazonka.Organizations.DescribeResourcePolicy.DescribeResourcePolicy
+ Amazonka.Organizations.DescribeResourcePolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.DescribeResourcePolicy.DescribeResourcePolicy
+ Amazonka.Organizations.DescribeResourcePolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.DescribeResourcePolicy.DescribeResourcePolicyResponse
+ Amazonka.Organizations.DescribeResourcePolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.DescribeResourcePolicy.DescribeResourcePolicy
+ Amazonka.Organizations.DescribeResourcePolicy: instance Data.Hashable.Class.Hashable Amazonka.Organizations.DescribeResourcePolicy.DescribeResourcePolicy
+ Amazonka.Organizations.DescribeResourcePolicy: instance GHC.Classes.Eq Amazonka.Organizations.DescribeResourcePolicy.DescribeResourcePolicy
+ Amazonka.Organizations.DescribeResourcePolicy: instance GHC.Classes.Eq Amazonka.Organizations.DescribeResourcePolicy.DescribeResourcePolicyResponse
+ Amazonka.Organizations.DescribeResourcePolicy: instance GHC.Generics.Generic Amazonka.Organizations.DescribeResourcePolicy.DescribeResourcePolicy
+ Amazonka.Organizations.DescribeResourcePolicy: instance GHC.Generics.Generic Amazonka.Organizations.DescribeResourcePolicy.DescribeResourcePolicyResponse
+ Amazonka.Organizations.DescribeResourcePolicy: instance GHC.Read.Read Amazonka.Organizations.DescribeResourcePolicy.DescribeResourcePolicy
+ Amazonka.Organizations.DescribeResourcePolicy: instance GHC.Read.Read Amazonka.Organizations.DescribeResourcePolicy.DescribeResourcePolicyResponse
+ Amazonka.Organizations.DescribeResourcePolicy: instance GHC.Show.Show Amazonka.Organizations.DescribeResourcePolicy.DescribeResourcePolicy
+ Amazonka.Organizations.DescribeResourcePolicy: instance GHC.Show.Show Amazonka.Organizations.DescribeResourcePolicy.DescribeResourcePolicyResponse
+ Amazonka.Organizations.DescribeResourcePolicy: newDescribeResourcePolicy :: DescribeResourcePolicy
+ Amazonka.Organizations.DescribeResourcePolicy: newDescribeResourcePolicyResponse :: Int -> DescribeResourcePolicyResponse
+ Amazonka.Organizations.DetachPolicy: DetachPolicy' :: Text -> Text -> DetachPolicy
+ Amazonka.Organizations.DetachPolicy: DetachPolicyResponse' :: DetachPolicyResponse
+ Amazonka.Organizations.DetachPolicy: [$sel:policyId:DetachPolicy'] :: DetachPolicy -> Text
+ Amazonka.Organizations.DetachPolicy: [$sel:targetId:DetachPolicy'] :: DetachPolicy -> Text
+ Amazonka.Organizations.DetachPolicy: data DetachPolicy
+ Amazonka.Organizations.DetachPolicy: data DetachPolicyResponse
+ Amazonka.Organizations.DetachPolicy: detachPolicy_policyId :: Lens' DetachPolicy Text
+ Amazonka.Organizations.DetachPolicy: detachPolicy_targetId :: Lens' DetachPolicy Text
+ Amazonka.Organizations.DetachPolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.DetachPolicy.DetachPolicy
+ Amazonka.Organizations.DetachPolicy: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.DetachPolicy.DetachPolicy
+ Amazonka.Organizations.DetachPolicy: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.DetachPolicy.DetachPolicy
+ Amazonka.Organizations.DetachPolicy: instance Amazonka.Types.AWSRequest Amazonka.Organizations.DetachPolicy.DetachPolicy
+ Amazonka.Organizations.DetachPolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.DetachPolicy.DetachPolicy
+ Amazonka.Organizations.DetachPolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.DetachPolicy.DetachPolicyResponse
+ Amazonka.Organizations.DetachPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.DetachPolicy.DetachPolicy
+ Amazonka.Organizations.DetachPolicy: instance Data.Hashable.Class.Hashable Amazonka.Organizations.DetachPolicy.DetachPolicy
+ Amazonka.Organizations.DetachPolicy: instance GHC.Classes.Eq Amazonka.Organizations.DetachPolicy.DetachPolicy
+ Amazonka.Organizations.DetachPolicy: instance GHC.Classes.Eq Amazonka.Organizations.DetachPolicy.DetachPolicyResponse
+ Amazonka.Organizations.DetachPolicy: instance GHC.Generics.Generic Amazonka.Organizations.DetachPolicy.DetachPolicy
+ Amazonka.Organizations.DetachPolicy: instance GHC.Generics.Generic Amazonka.Organizations.DetachPolicy.DetachPolicyResponse
+ Amazonka.Organizations.DetachPolicy: instance GHC.Read.Read Amazonka.Organizations.DetachPolicy.DetachPolicy
+ Amazonka.Organizations.DetachPolicy: instance GHC.Read.Read Amazonka.Organizations.DetachPolicy.DetachPolicyResponse
+ Amazonka.Organizations.DetachPolicy: instance GHC.Show.Show Amazonka.Organizations.DetachPolicy.DetachPolicy
+ Amazonka.Organizations.DetachPolicy: instance GHC.Show.Show Amazonka.Organizations.DetachPolicy.DetachPolicyResponse
+ Amazonka.Organizations.DetachPolicy: newDetachPolicy :: Text -> Text -> DetachPolicy
+ Amazonka.Organizations.DetachPolicy: newDetachPolicyResponse :: DetachPolicyResponse
+ Amazonka.Organizations.DisableAWSServiceAccess: DisableAWSServiceAccess' :: Text -> DisableAWSServiceAccess
+ Amazonka.Organizations.DisableAWSServiceAccess: DisableAWSServiceAccessResponse' :: DisableAWSServiceAccessResponse
+ Amazonka.Organizations.DisableAWSServiceAccess: [$sel:servicePrincipal:DisableAWSServiceAccess'] :: DisableAWSServiceAccess -> Text
+ Amazonka.Organizations.DisableAWSServiceAccess: data DisableAWSServiceAccess
+ Amazonka.Organizations.DisableAWSServiceAccess: data DisableAWSServiceAccessResponse
+ Amazonka.Organizations.DisableAWSServiceAccess: disableAWSServiceAccess_servicePrincipal :: Lens' DisableAWSServiceAccess Text
+ Amazonka.Organizations.DisableAWSServiceAccess: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
+ Amazonka.Organizations.DisableAWSServiceAccess: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
+ Amazonka.Organizations.DisableAWSServiceAccess: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
+ Amazonka.Organizations.DisableAWSServiceAccess: instance Amazonka.Types.AWSRequest Amazonka.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
+ Amazonka.Organizations.DisableAWSServiceAccess: instance Control.DeepSeq.NFData Amazonka.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
+ Amazonka.Organizations.DisableAWSServiceAccess: instance Control.DeepSeq.NFData Amazonka.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccessResponse
+ Amazonka.Organizations.DisableAWSServiceAccess: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
+ Amazonka.Organizations.DisableAWSServiceAccess: instance Data.Hashable.Class.Hashable Amazonka.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
+ Amazonka.Organizations.DisableAWSServiceAccess: instance GHC.Classes.Eq Amazonka.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
+ Amazonka.Organizations.DisableAWSServiceAccess: instance GHC.Classes.Eq Amazonka.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccessResponse
+ Amazonka.Organizations.DisableAWSServiceAccess: instance GHC.Generics.Generic Amazonka.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
+ Amazonka.Organizations.DisableAWSServiceAccess: instance GHC.Generics.Generic Amazonka.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccessResponse
+ Amazonka.Organizations.DisableAWSServiceAccess: instance GHC.Read.Read Amazonka.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
+ Amazonka.Organizations.DisableAWSServiceAccess: instance GHC.Read.Read Amazonka.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccessResponse
+ Amazonka.Organizations.DisableAWSServiceAccess: instance GHC.Show.Show Amazonka.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccess
+ Amazonka.Organizations.DisableAWSServiceAccess: instance GHC.Show.Show Amazonka.Organizations.DisableAWSServiceAccess.DisableAWSServiceAccessResponse
+ Amazonka.Organizations.DisableAWSServiceAccess: newDisableAWSServiceAccess :: Text -> DisableAWSServiceAccess
+ Amazonka.Organizations.DisableAWSServiceAccess: newDisableAWSServiceAccessResponse :: DisableAWSServiceAccessResponse
+ Amazonka.Organizations.DisablePolicyType: DisablePolicyType' :: Text -> PolicyType -> DisablePolicyType
+ Amazonka.Organizations.DisablePolicyType: DisablePolicyTypeResponse' :: Maybe Root -> Int -> DisablePolicyTypeResponse
+ Amazonka.Organizations.DisablePolicyType: [$sel:httpStatus:DisablePolicyTypeResponse'] :: DisablePolicyTypeResponse -> Int
+ Amazonka.Organizations.DisablePolicyType: [$sel:policyType:DisablePolicyType'] :: DisablePolicyType -> PolicyType
+ Amazonka.Organizations.DisablePolicyType: [$sel:root:DisablePolicyTypeResponse'] :: DisablePolicyTypeResponse -> Maybe Root
+ Amazonka.Organizations.DisablePolicyType: [$sel:rootId:DisablePolicyType'] :: DisablePolicyType -> Text
+ Amazonka.Organizations.DisablePolicyType: data DisablePolicyType
+ Amazonka.Organizations.DisablePolicyType: data DisablePolicyTypeResponse
+ Amazonka.Organizations.DisablePolicyType: disablePolicyTypeResponse_httpStatus :: Lens' DisablePolicyTypeResponse Int
+ Amazonka.Organizations.DisablePolicyType: disablePolicyTypeResponse_root :: Lens' DisablePolicyTypeResponse (Maybe Root)
+ Amazonka.Organizations.DisablePolicyType: disablePolicyType_policyType :: Lens' DisablePolicyType PolicyType
+ Amazonka.Organizations.DisablePolicyType: disablePolicyType_rootId :: Lens' DisablePolicyType Text
+ Amazonka.Organizations.DisablePolicyType: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.DisablePolicyType.DisablePolicyType
+ Amazonka.Organizations.DisablePolicyType: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.DisablePolicyType.DisablePolicyType
+ Amazonka.Organizations.DisablePolicyType: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.DisablePolicyType.DisablePolicyType
+ Amazonka.Organizations.DisablePolicyType: instance Amazonka.Types.AWSRequest Amazonka.Organizations.DisablePolicyType.DisablePolicyType
+ Amazonka.Organizations.DisablePolicyType: instance Control.DeepSeq.NFData Amazonka.Organizations.DisablePolicyType.DisablePolicyType
+ Amazonka.Organizations.DisablePolicyType: instance Control.DeepSeq.NFData Amazonka.Organizations.DisablePolicyType.DisablePolicyTypeResponse
+ Amazonka.Organizations.DisablePolicyType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.DisablePolicyType.DisablePolicyType
+ Amazonka.Organizations.DisablePolicyType: instance Data.Hashable.Class.Hashable Amazonka.Organizations.DisablePolicyType.DisablePolicyType
+ Amazonka.Organizations.DisablePolicyType: instance GHC.Classes.Eq Amazonka.Organizations.DisablePolicyType.DisablePolicyType
+ Amazonka.Organizations.DisablePolicyType: instance GHC.Classes.Eq Amazonka.Organizations.DisablePolicyType.DisablePolicyTypeResponse
+ Amazonka.Organizations.DisablePolicyType: instance GHC.Generics.Generic Amazonka.Organizations.DisablePolicyType.DisablePolicyType
+ Amazonka.Organizations.DisablePolicyType: instance GHC.Generics.Generic Amazonka.Organizations.DisablePolicyType.DisablePolicyTypeResponse
+ Amazonka.Organizations.DisablePolicyType: instance GHC.Read.Read Amazonka.Organizations.DisablePolicyType.DisablePolicyType
+ Amazonka.Organizations.DisablePolicyType: instance GHC.Read.Read Amazonka.Organizations.DisablePolicyType.DisablePolicyTypeResponse
+ Amazonka.Organizations.DisablePolicyType: instance GHC.Show.Show Amazonka.Organizations.DisablePolicyType.DisablePolicyType
+ Amazonka.Organizations.DisablePolicyType: instance GHC.Show.Show Amazonka.Organizations.DisablePolicyType.DisablePolicyTypeResponse
+ Amazonka.Organizations.DisablePolicyType: newDisablePolicyType :: Text -> PolicyType -> DisablePolicyType
+ Amazonka.Organizations.DisablePolicyType: newDisablePolicyTypeResponse :: Int -> DisablePolicyTypeResponse
+ Amazonka.Organizations.EnableAWSServiceAccess: EnableAWSServiceAccess' :: Text -> EnableAWSServiceAccess
+ Amazonka.Organizations.EnableAWSServiceAccess: EnableAWSServiceAccessResponse' :: EnableAWSServiceAccessResponse
+ Amazonka.Organizations.EnableAWSServiceAccess: [$sel:servicePrincipal:EnableAWSServiceAccess'] :: EnableAWSServiceAccess -> Text
+ Amazonka.Organizations.EnableAWSServiceAccess: data EnableAWSServiceAccess
+ Amazonka.Organizations.EnableAWSServiceAccess: data EnableAWSServiceAccessResponse
+ Amazonka.Organizations.EnableAWSServiceAccess: enableAWSServiceAccess_servicePrincipal :: Lens' EnableAWSServiceAccess Text
+ Amazonka.Organizations.EnableAWSServiceAccess: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
+ Amazonka.Organizations.EnableAWSServiceAccess: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
+ Amazonka.Organizations.EnableAWSServiceAccess: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
+ Amazonka.Organizations.EnableAWSServiceAccess: instance Amazonka.Types.AWSRequest Amazonka.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
+ Amazonka.Organizations.EnableAWSServiceAccess: instance Control.DeepSeq.NFData Amazonka.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
+ Amazonka.Organizations.EnableAWSServiceAccess: instance Control.DeepSeq.NFData Amazonka.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccessResponse
+ Amazonka.Organizations.EnableAWSServiceAccess: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
+ Amazonka.Organizations.EnableAWSServiceAccess: instance Data.Hashable.Class.Hashable Amazonka.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
+ Amazonka.Organizations.EnableAWSServiceAccess: instance GHC.Classes.Eq Amazonka.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
+ Amazonka.Organizations.EnableAWSServiceAccess: instance GHC.Classes.Eq Amazonka.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccessResponse
+ Amazonka.Organizations.EnableAWSServiceAccess: instance GHC.Generics.Generic Amazonka.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
+ Amazonka.Organizations.EnableAWSServiceAccess: instance GHC.Generics.Generic Amazonka.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccessResponse
+ Amazonka.Organizations.EnableAWSServiceAccess: instance GHC.Read.Read Amazonka.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
+ Amazonka.Organizations.EnableAWSServiceAccess: instance GHC.Read.Read Amazonka.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccessResponse
+ Amazonka.Organizations.EnableAWSServiceAccess: instance GHC.Show.Show Amazonka.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccess
+ Amazonka.Organizations.EnableAWSServiceAccess: instance GHC.Show.Show Amazonka.Organizations.EnableAWSServiceAccess.EnableAWSServiceAccessResponse
+ Amazonka.Organizations.EnableAWSServiceAccess: newEnableAWSServiceAccess :: Text -> EnableAWSServiceAccess
+ Amazonka.Organizations.EnableAWSServiceAccess: newEnableAWSServiceAccessResponse :: EnableAWSServiceAccessResponse
+ Amazonka.Organizations.EnableAllFeatures: EnableAllFeatures' :: EnableAllFeatures
+ Amazonka.Organizations.EnableAllFeatures: EnableAllFeaturesResponse' :: Maybe Handshake -> Int -> EnableAllFeaturesResponse
+ Amazonka.Organizations.EnableAllFeatures: [$sel:handshake:EnableAllFeaturesResponse'] :: EnableAllFeaturesResponse -> Maybe Handshake
+ Amazonka.Organizations.EnableAllFeatures: [$sel:httpStatus:EnableAllFeaturesResponse'] :: EnableAllFeaturesResponse -> Int
+ Amazonka.Organizations.EnableAllFeatures: data EnableAllFeatures
+ Amazonka.Organizations.EnableAllFeatures: data EnableAllFeaturesResponse
+ Amazonka.Organizations.EnableAllFeatures: enableAllFeaturesResponse_handshake :: Lens' EnableAllFeaturesResponse (Maybe Handshake)
+ Amazonka.Organizations.EnableAllFeatures: enableAllFeaturesResponse_httpStatus :: Lens' EnableAllFeaturesResponse Int
+ Amazonka.Organizations.EnableAllFeatures: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.EnableAllFeatures.EnableAllFeatures
+ Amazonka.Organizations.EnableAllFeatures: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.EnableAllFeatures.EnableAllFeatures
+ Amazonka.Organizations.EnableAllFeatures: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.EnableAllFeatures.EnableAllFeatures
+ Amazonka.Organizations.EnableAllFeatures: instance Amazonka.Types.AWSRequest Amazonka.Organizations.EnableAllFeatures.EnableAllFeatures
+ Amazonka.Organizations.EnableAllFeatures: instance Control.DeepSeq.NFData Amazonka.Organizations.EnableAllFeatures.EnableAllFeatures
+ Amazonka.Organizations.EnableAllFeatures: instance Control.DeepSeq.NFData Amazonka.Organizations.EnableAllFeatures.EnableAllFeaturesResponse
+ Amazonka.Organizations.EnableAllFeatures: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.EnableAllFeatures.EnableAllFeatures
+ Amazonka.Organizations.EnableAllFeatures: instance Data.Hashable.Class.Hashable Amazonka.Organizations.EnableAllFeatures.EnableAllFeatures
+ Amazonka.Organizations.EnableAllFeatures: instance GHC.Classes.Eq Amazonka.Organizations.EnableAllFeatures.EnableAllFeatures
+ Amazonka.Organizations.EnableAllFeatures: instance GHC.Classes.Eq Amazonka.Organizations.EnableAllFeatures.EnableAllFeaturesResponse
+ Amazonka.Organizations.EnableAllFeatures: instance GHC.Generics.Generic Amazonka.Organizations.EnableAllFeatures.EnableAllFeatures
+ Amazonka.Organizations.EnableAllFeatures: instance GHC.Generics.Generic Amazonka.Organizations.EnableAllFeatures.EnableAllFeaturesResponse
+ Amazonka.Organizations.EnableAllFeatures: instance GHC.Read.Read Amazonka.Organizations.EnableAllFeatures.EnableAllFeatures
+ Amazonka.Organizations.EnableAllFeatures: instance GHC.Show.Show Amazonka.Organizations.EnableAllFeatures.EnableAllFeatures
+ Amazonka.Organizations.EnableAllFeatures: instance GHC.Show.Show Amazonka.Organizations.EnableAllFeatures.EnableAllFeaturesResponse
+ Amazonka.Organizations.EnableAllFeatures: newEnableAllFeatures :: EnableAllFeatures
+ Amazonka.Organizations.EnableAllFeatures: newEnableAllFeaturesResponse :: Int -> EnableAllFeaturesResponse
+ Amazonka.Organizations.EnablePolicyType: EnablePolicyType' :: Text -> PolicyType -> EnablePolicyType
+ Amazonka.Organizations.EnablePolicyType: EnablePolicyTypeResponse' :: Maybe Root -> Int -> EnablePolicyTypeResponse
+ Amazonka.Organizations.EnablePolicyType: [$sel:httpStatus:EnablePolicyTypeResponse'] :: EnablePolicyTypeResponse -> Int
+ Amazonka.Organizations.EnablePolicyType: [$sel:policyType:EnablePolicyType'] :: EnablePolicyType -> PolicyType
+ Amazonka.Organizations.EnablePolicyType: [$sel:root:EnablePolicyTypeResponse'] :: EnablePolicyTypeResponse -> Maybe Root
+ Amazonka.Organizations.EnablePolicyType: [$sel:rootId:EnablePolicyType'] :: EnablePolicyType -> Text
+ Amazonka.Organizations.EnablePolicyType: data EnablePolicyType
+ Amazonka.Organizations.EnablePolicyType: data EnablePolicyTypeResponse
+ Amazonka.Organizations.EnablePolicyType: enablePolicyTypeResponse_httpStatus :: Lens' EnablePolicyTypeResponse Int
+ Amazonka.Organizations.EnablePolicyType: enablePolicyTypeResponse_root :: Lens' EnablePolicyTypeResponse (Maybe Root)
+ Amazonka.Organizations.EnablePolicyType: enablePolicyType_policyType :: Lens' EnablePolicyType PolicyType
+ Amazonka.Organizations.EnablePolicyType: enablePolicyType_rootId :: Lens' EnablePolicyType Text
+ Amazonka.Organizations.EnablePolicyType: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.EnablePolicyType.EnablePolicyType
+ Amazonka.Organizations.EnablePolicyType: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.EnablePolicyType.EnablePolicyType
+ Amazonka.Organizations.EnablePolicyType: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.EnablePolicyType.EnablePolicyType
+ Amazonka.Organizations.EnablePolicyType: instance Amazonka.Types.AWSRequest Amazonka.Organizations.EnablePolicyType.EnablePolicyType
+ Amazonka.Organizations.EnablePolicyType: instance Control.DeepSeq.NFData Amazonka.Organizations.EnablePolicyType.EnablePolicyType
+ Amazonka.Organizations.EnablePolicyType: instance Control.DeepSeq.NFData Amazonka.Organizations.EnablePolicyType.EnablePolicyTypeResponse
+ Amazonka.Organizations.EnablePolicyType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.EnablePolicyType.EnablePolicyType
+ Amazonka.Organizations.EnablePolicyType: instance Data.Hashable.Class.Hashable Amazonka.Organizations.EnablePolicyType.EnablePolicyType
+ Amazonka.Organizations.EnablePolicyType: instance GHC.Classes.Eq Amazonka.Organizations.EnablePolicyType.EnablePolicyType
+ Amazonka.Organizations.EnablePolicyType: instance GHC.Classes.Eq Amazonka.Organizations.EnablePolicyType.EnablePolicyTypeResponse
+ Amazonka.Organizations.EnablePolicyType: instance GHC.Generics.Generic Amazonka.Organizations.EnablePolicyType.EnablePolicyType
+ Amazonka.Organizations.EnablePolicyType: instance GHC.Generics.Generic Amazonka.Organizations.EnablePolicyType.EnablePolicyTypeResponse
+ Amazonka.Organizations.EnablePolicyType: instance GHC.Read.Read Amazonka.Organizations.EnablePolicyType.EnablePolicyType
+ Amazonka.Organizations.EnablePolicyType: instance GHC.Read.Read Amazonka.Organizations.EnablePolicyType.EnablePolicyTypeResponse
+ Amazonka.Organizations.EnablePolicyType: instance GHC.Show.Show Amazonka.Organizations.EnablePolicyType.EnablePolicyType
+ Amazonka.Organizations.EnablePolicyType: instance GHC.Show.Show Amazonka.Organizations.EnablePolicyType.EnablePolicyTypeResponse
+ Amazonka.Organizations.EnablePolicyType: newEnablePolicyType :: Text -> PolicyType -> EnablePolicyType
+ Amazonka.Organizations.EnablePolicyType: newEnablePolicyTypeResponse :: Int -> EnablePolicyTypeResponse
+ Amazonka.Organizations.InviteAccountToOrganization: InviteAccountToOrganization' :: Maybe (Sensitive Text) -> Maybe [Tag] -> HandshakeParty -> InviteAccountToOrganization
+ Amazonka.Organizations.InviteAccountToOrganization: InviteAccountToOrganizationResponse' :: Maybe Handshake -> Int -> InviteAccountToOrganizationResponse
+ Amazonka.Organizations.InviteAccountToOrganization: [$sel:handshake:InviteAccountToOrganizationResponse'] :: InviteAccountToOrganizationResponse -> Maybe Handshake
+ Amazonka.Organizations.InviteAccountToOrganization: [$sel:httpStatus:InviteAccountToOrganizationResponse'] :: InviteAccountToOrganizationResponse -> Int
+ Amazonka.Organizations.InviteAccountToOrganization: [$sel:notes:InviteAccountToOrganization'] :: InviteAccountToOrganization -> Maybe (Sensitive Text)
+ Amazonka.Organizations.InviteAccountToOrganization: [$sel:tags:InviteAccountToOrganization'] :: InviteAccountToOrganization -> Maybe [Tag]
+ Amazonka.Organizations.InviteAccountToOrganization: [$sel:target:InviteAccountToOrganization'] :: InviteAccountToOrganization -> HandshakeParty
+ Amazonka.Organizations.InviteAccountToOrganization: data InviteAccountToOrganization
+ Amazonka.Organizations.InviteAccountToOrganization: data InviteAccountToOrganizationResponse
+ Amazonka.Organizations.InviteAccountToOrganization: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
+ Amazonka.Organizations.InviteAccountToOrganization: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
+ Amazonka.Organizations.InviteAccountToOrganization: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
+ Amazonka.Organizations.InviteAccountToOrganization: instance Amazonka.Types.AWSRequest Amazonka.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
+ Amazonka.Organizations.InviteAccountToOrganization: instance Control.DeepSeq.NFData Amazonka.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
+ Amazonka.Organizations.InviteAccountToOrganization: instance Control.DeepSeq.NFData Amazonka.Organizations.InviteAccountToOrganization.InviteAccountToOrganizationResponse
+ Amazonka.Organizations.InviteAccountToOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
+ Amazonka.Organizations.InviteAccountToOrganization: instance Data.Hashable.Class.Hashable Amazonka.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
+ Amazonka.Organizations.InviteAccountToOrganization: instance GHC.Classes.Eq Amazonka.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
+ Amazonka.Organizations.InviteAccountToOrganization: instance GHC.Classes.Eq Amazonka.Organizations.InviteAccountToOrganization.InviteAccountToOrganizationResponse
+ Amazonka.Organizations.InviteAccountToOrganization: instance GHC.Generics.Generic Amazonka.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
+ Amazonka.Organizations.InviteAccountToOrganization: instance GHC.Generics.Generic Amazonka.Organizations.InviteAccountToOrganization.InviteAccountToOrganizationResponse
+ Amazonka.Organizations.InviteAccountToOrganization: instance GHC.Show.Show Amazonka.Organizations.InviteAccountToOrganization.InviteAccountToOrganization
+ Amazonka.Organizations.InviteAccountToOrganization: instance GHC.Show.Show Amazonka.Organizations.InviteAccountToOrganization.InviteAccountToOrganizationResponse
+ Amazonka.Organizations.InviteAccountToOrganization: inviteAccountToOrganizationResponse_handshake :: Lens' InviteAccountToOrganizationResponse (Maybe Handshake)
+ Amazonka.Organizations.InviteAccountToOrganization: inviteAccountToOrganizationResponse_httpStatus :: Lens' InviteAccountToOrganizationResponse Int
+ Amazonka.Organizations.InviteAccountToOrganization: inviteAccountToOrganization_notes :: Lens' InviteAccountToOrganization (Maybe Text)
+ Amazonka.Organizations.InviteAccountToOrganization: inviteAccountToOrganization_tags :: Lens' InviteAccountToOrganization (Maybe [Tag])
+ Amazonka.Organizations.InviteAccountToOrganization: inviteAccountToOrganization_target :: Lens' InviteAccountToOrganization HandshakeParty
+ Amazonka.Organizations.InviteAccountToOrganization: newInviteAccountToOrganization :: HandshakeParty -> InviteAccountToOrganization
+ Amazonka.Organizations.InviteAccountToOrganization: newInviteAccountToOrganizationResponse :: Int -> InviteAccountToOrganizationResponse
+ Amazonka.Organizations.LeaveOrganization: LeaveOrganization' :: LeaveOrganization
+ Amazonka.Organizations.LeaveOrganization: LeaveOrganizationResponse' :: LeaveOrganizationResponse
+ Amazonka.Organizations.LeaveOrganization: data LeaveOrganization
+ Amazonka.Organizations.LeaveOrganization: data LeaveOrganizationResponse
+ Amazonka.Organizations.LeaveOrganization: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.LeaveOrganization.LeaveOrganization
+ Amazonka.Organizations.LeaveOrganization: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.LeaveOrganization.LeaveOrganization
+ Amazonka.Organizations.LeaveOrganization: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.LeaveOrganization.LeaveOrganization
+ Amazonka.Organizations.LeaveOrganization: instance Amazonka.Types.AWSRequest Amazonka.Organizations.LeaveOrganization.LeaveOrganization
+ Amazonka.Organizations.LeaveOrganization: instance Control.DeepSeq.NFData Amazonka.Organizations.LeaveOrganization.LeaveOrganization
+ Amazonka.Organizations.LeaveOrganization: instance Control.DeepSeq.NFData Amazonka.Organizations.LeaveOrganization.LeaveOrganizationResponse
+ Amazonka.Organizations.LeaveOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.LeaveOrganization.LeaveOrganization
+ Amazonka.Organizations.LeaveOrganization: instance Data.Hashable.Class.Hashable Amazonka.Organizations.LeaveOrganization.LeaveOrganization
+ Amazonka.Organizations.LeaveOrganization: instance GHC.Classes.Eq Amazonka.Organizations.LeaveOrganization.LeaveOrganization
+ Amazonka.Organizations.LeaveOrganization: instance GHC.Classes.Eq Amazonka.Organizations.LeaveOrganization.LeaveOrganizationResponse
+ Amazonka.Organizations.LeaveOrganization: instance GHC.Generics.Generic Amazonka.Organizations.LeaveOrganization.LeaveOrganization
+ Amazonka.Organizations.LeaveOrganization: instance GHC.Generics.Generic Amazonka.Organizations.LeaveOrganization.LeaveOrganizationResponse
+ Amazonka.Organizations.LeaveOrganization: instance GHC.Read.Read Amazonka.Organizations.LeaveOrganization.LeaveOrganization
+ Amazonka.Organizations.LeaveOrganization: instance GHC.Read.Read Amazonka.Organizations.LeaveOrganization.LeaveOrganizationResponse
+ Amazonka.Organizations.LeaveOrganization: instance GHC.Show.Show Amazonka.Organizations.LeaveOrganization.LeaveOrganization
+ Amazonka.Organizations.LeaveOrganization: instance GHC.Show.Show Amazonka.Organizations.LeaveOrganization.LeaveOrganizationResponse
+ Amazonka.Organizations.LeaveOrganization: newLeaveOrganization :: LeaveOrganization
+ Amazonka.Organizations.LeaveOrganization: newLeaveOrganizationResponse :: LeaveOrganizationResponse
+ Amazonka.Organizations.Lens: acceptHandshakeResponse_handshake :: Lens' AcceptHandshakeResponse (Maybe Handshake)
+ Amazonka.Organizations.Lens: acceptHandshakeResponse_httpStatus :: Lens' AcceptHandshakeResponse Int
+ Amazonka.Organizations.Lens: acceptHandshake_handshakeId :: Lens' AcceptHandshake Text
+ Amazonka.Organizations.Lens: account_arn :: Lens' Account (Maybe Text)
+ Amazonka.Organizations.Lens: account_email :: Lens' Account (Maybe Text)
+ Amazonka.Organizations.Lens: account_id :: Lens' Account (Maybe Text)
+ Amazonka.Organizations.Lens: account_joinedMethod :: Lens' Account (Maybe AccountJoinedMethod)
+ Amazonka.Organizations.Lens: account_joinedTimestamp :: Lens' Account (Maybe UTCTime)
+ Amazonka.Organizations.Lens: account_name :: Lens' Account (Maybe Text)
+ Amazonka.Organizations.Lens: account_status :: Lens' Account (Maybe AccountStatus)
+ Amazonka.Organizations.Lens: attachPolicy_policyId :: Lens' AttachPolicy Text
+ Amazonka.Organizations.Lens: attachPolicy_targetId :: Lens' AttachPolicy Text
+ Amazonka.Organizations.Lens: cancelHandshakeResponse_handshake :: Lens' CancelHandshakeResponse (Maybe Handshake)
+ Amazonka.Organizations.Lens: cancelHandshakeResponse_httpStatus :: Lens' CancelHandshakeResponse Int
+ Amazonka.Organizations.Lens: cancelHandshake_handshakeId :: Lens' CancelHandshake Text
+ Amazonka.Organizations.Lens: child_id :: Lens' Child (Maybe Text)
+ Amazonka.Organizations.Lens: child_type :: Lens' Child (Maybe ChildType)
+ Amazonka.Organizations.Lens: closeAccount_accountId :: Lens' CloseAccount Text
+ Amazonka.Organizations.Lens: createAccountResponse_createAccountStatus :: Lens' CreateAccountResponse (Maybe CreateAccountStatus)
+ Amazonka.Organizations.Lens: createAccountResponse_httpStatus :: Lens' CreateAccountResponse Int
+ Amazonka.Organizations.Lens: createAccountStatus_accountId :: Lens' CreateAccountStatus (Maybe Text)
+ Amazonka.Organizations.Lens: createAccountStatus_accountName :: Lens' CreateAccountStatus (Maybe Text)
+ Amazonka.Organizations.Lens: createAccountStatus_completedTimestamp :: Lens' CreateAccountStatus (Maybe UTCTime)
+ Amazonka.Organizations.Lens: createAccountStatus_failureReason :: Lens' CreateAccountStatus (Maybe CreateAccountFailureReason)
+ Amazonka.Organizations.Lens: createAccountStatus_govCloudAccountId :: Lens' CreateAccountStatus (Maybe Text)
+ Amazonka.Organizations.Lens: createAccountStatus_id :: Lens' CreateAccountStatus (Maybe Text)
+ Amazonka.Organizations.Lens: createAccountStatus_requestedTimestamp :: Lens' CreateAccountStatus (Maybe UTCTime)
+ Amazonka.Organizations.Lens: createAccountStatus_state :: Lens' CreateAccountStatus (Maybe CreateAccountState)
+ Amazonka.Organizations.Lens: createAccount_accountName :: Lens' CreateAccount Text
+ Amazonka.Organizations.Lens: createAccount_email :: Lens' CreateAccount Text
+ Amazonka.Organizations.Lens: createAccount_iamUserAccessToBilling :: Lens' CreateAccount (Maybe IAMUserAccessToBilling)
+ Amazonka.Organizations.Lens: createAccount_roleName :: Lens' CreateAccount (Maybe Text)
+ Amazonka.Organizations.Lens: createAccount_tags :: Lens' CreateAccount (Maybe [Tag])
+ Amazonka.Organizations.Lens: createGovCloudAccountResponse_createAccountStatus :: Lens' CreateGovCloudAccountResponse (Maybe CreateAccountStatus)
+ Amazonka.Organizations.Lens: createGovCloudAccountResponse_httpStatus :: Lens' CreateGovCloudAccountResponse Int
+ Amazonka.Organizations.Lens: createGovCloudAccount_accountName :: Lens' CreateGovCloudAccount Text
+ Amazonka.Organizations.Lens: createGovCloudAccount_email :: Lens' CreateGovCloudAccount Text
+ Amazonka.Organizations.Lens: createGovCloudAccount_iamUserAccessToBilling :: Lens' CreateGovCloudAccount (Maybe IAMUserAccessToBilling)
+ Amazonka.Organizations.Lens: createGovCloudAccount_roleName :: Lens' CreateGovCloudAccount (Maybe Text)
+ Amazonka.Organizations.Lens: createGovCloudAccount_tags :: Lens' CreateGovCloudAccount (Maybe [Tag])
+ Amazonka.Organizations.Lens: createOrganizationResponse_httpStatus :: Lens' CreateOrganizationResponse Int
+ Amazonka.Organizations.Lens: createOrganizationResponse_organization :: Lens' CreateOrganizationResponse (Maybe Organization)
+ Amazonka.Organizations.Lens: createOrganization_featureSet :: Lens' CreateOrganization (Maybe OrganizationFeatureSet)
+ Amazonka.Organizations.Lens: createOrganizationalUnitResponse_httpStatus :: Lens' CreateOrganizationalUnitResponse Int
+ Amazonka.Organizations.Lens: createOrganizationalUnitResponse_organizationalUnit :: Lens' CreateOrganizationalUnitResponse (Maybe OrganizationalUnit)
+ Amazonka.Organizations.Lens: createOrganizationalUnit_name :: Lens' CreateOrganizationalUnit Text
+ Amazonka.Organizations.Lens: createOrganizationalUnit_parentId :: Lens' CreateOrganizationalUnit Text
+ Amazonka.Organizations.Lens: createOrganizationalUnit_tags :: Lens' CreateOrganizationalUnit (Maybe [Tag])
+ Amazonka.Organizations.Lens: createPolicyResponse_httpStatus :: Lens' CreatePolicyResponse Int
+ Amazonka.Organizations.Lens: createPolicyResponse_policy :: Lens' CreatePolicyResponse (Maybe Policy)
+ Amazonka.Organizations.Lens: createPolicy_content :: Lens' CreatePolicy Text
+ Amazonka.Organizations.Lens: createPolicy_description :: Lens' CreatePolicy Text
+ Amazonka.Organizations.Lens: createPolicy_name :: Lens' CreatePolicy Text
+ Amazonka.Organizations.Lens: createPolicy_tags :: Lens' CreatePolicy (Maybe [Tag])
+ Amazonka.Organizations.Lens: createPolicy_type :: Lens' CreatePolicy PolicyType
+ Amazonka.Organizations.Lens: declineHandshakeResponse_handshake :: Lens' DeclineHandshakeResponse (Maybe Handshake)
+ Amazonka.Organizations.Lens: declineHandshakeResponse_httpStatus :: Lens' DeclineHandshakeResponse Int
+ Amazonka.Organizations.Lens: declineHandshake_handshakeId :: Lens' DeclineHandshake Text
+ Amazonka.Organizations.Lens: delegatedAdministrator_arn :: Lens' DelegatedAdministrator (Maybe Text)
+ Amazonka.Organizations.Lens: delegatedAdministrator_delegationEnabledDate :: Lens' DelegatedAdministrator (Maybe UTCTime)
+ Amazonka.Organizations.Lens: delegatedAdministrator_email :: Lens' DelegatedAdministrator (Maybe Text)
+ Amazonka.Organizations.Lens: delegatedAdministrator_id :: Lens' DelegatedAdministrator (Maybe Text)
+ Amazonka.Organizations.Lens: delegatedAdministrator_joinedMethod :: Lens' DelegatedAdministrator (Maybe AccountJoinedMethod)
+ Amazonka.Organizations.Lens: delegatedAdministrator_joinedTimestamp :: Lens' DelegatedAdministrator (Maybe UTCTime)
+ Amazonka.Organizations.Lens: delegatedAdministrator_name :: Lens' DelegatedAdministrator (Maybe Text)
+ Amazonka.Organizations.Lens: delegatedAdministrator_status :: Lens' DelegatedAdministrator (Maybe AccountStatus)
+ Amazonka.Organizations.Lens: delegatedService_delegationEnabledDate :: Lens' DelegatedService (Maybe UTCTime)
+ Amazonka.Organizations.Lens: delegatedService_servicePrincipal :: Lens' DelegatedService (Maybe Text)
+ Amazonka.Organizations.Lens: deleteOrganizationalUnit_organizationalUnitId :: Lens' DeleteOrganizationalUnit Text
+ Amazonka.Organizations.Lens: deletePolicy_policyId :: Lens' DeletePolicy Text
+ Amazonka.Organizations.Lens: deregisterDelegatedAdministrator_accountId :: Lens' DeregisterDelegatedAdministrator Text
+ Amazonka.Organizations.Lens: deregisterDelegatedAdministrator_servicePrincipal :: Lens' DeregisterDelegatedAdministrator Text
+ Amazonka.Organizations.Lens: describeAccountResponse_account :: Lens' DescribeAccountResponse (Maybe Account)
+ Amazonka.Organizations.Lens: describeAccountResponse_httpStatus :: Lens' DescribeAccountResponse Int
+ Amazonka.Organizations.Lens: describeAccount_accountId :: Lens' DescribeAccount Text
+ Amazonka.Organizations.Lens: describeCreateAccountStatusResponse_createAccountStatus :: Lens' DescribeCreateAccountStatusResponse (Maybe CreateAccountStatus)
+ Amazonka.Organizations.Lens: describeCreateAccountStatusResponse_httpStatus :: Lens' DescribeCreateAccountStatusResponse Int
+ Amazonka.Organizations.Lens: describeCreateAccountStatus_createAccountRequestId :: Lens' DescribeCreateAccountStatus Text
+ Amazonka.Organizations.Lens: describeEffectivePolicyResponse_effectivePolicy :: Lens' DescribeEffectivePolicyResponse (Maybe EffectivePolicy)
+ Amazonka.Organizations.Lens: describeEffectivePolicyResponse_httpStatus :: Lens' DescribeEffectivePolicyResponse Int
+ Amazonka.Organizations.Lens: describeEffectivePolicy_policyType :: Lens' DescribeEffectivePolicy EffectivePolicyType
+ Amazonka.Organizations.Lens: describeEffectivePolicy_targetId :: Lens' DescribeEffectivePolicy (Maybe Text)
+ Amazonka.Organizations.Lens: describeHandshakeResponse_handshake :: Lens' DescribeHandshakeResponse (Maybe Handshake)
+ Amazonka.Organizations.Lens: describeHandshakeResponse_httpStatus :: Lens' DescribeHandshakeResponse Int
+ Amazonka.Organizations.Lens: describeHandshake_handshakeId :: Lens' DescribeHandshake Text
+ Amazonka.Organizations.Lens: describeOrganizationResponse_httpStatus :: Lens' DescribeOrganizationResponse Int
+ Amazonka.Organizations.Lens: describeOrganizationResponse_organization :: Lens' DescribeOrganizationResponse (Maybe Organization)
+ Amazonka.Organizations.Lens: describeOrganizationalUnitResponse_httpStatus :: Lens' DescribeOrganizationalUnitResponse Int
+ Amazonka.Organizations.Lens: describeOrganizationalUnitResponse_organizationalUnit :: Lens' DescribeOrganizationalUnitResponse (Maybe OrganizationalUnit)
+ Amazonka.Organizations.Lens: describeOrganizationalUnit_organizationalUnitId :: Lens' DescribeOrganizationalUnit Text
+ Amazonka.Organizations.Lens: describePolicyResponse_httpStatus :: Lens' DescribePolicyResponse Int
+ Amazonka.Organizations.Lens: describePolicyResponse_policy :: Lens' DescribePolicyResponse (Maybe Policy)
+ Amazonka.Organizations.Lens: describePolicy_policyId :: Lens' DescribePolicy Text
+ Amazonka.Organizations.Lens: describeResourcePolicyResponse_httpStatus :: Lens' DescribeResourcePolicyResponse Int
+ Amazonka.Organizations.Lens: describeResourcePolicyResponse_resourcePolicy :: Lens' DescribeResourcePolicyResponse (Maybe ResourcePolicy)
+ Amazonka.Organizations.Lens: detachPolicy_policyId :: Lens' DetachPolicy Text
+ Amazonka.Organizations.Lens: detachPolicy_targetId :: Lens' DetachPolicy Text
+ Amazonka.Organizations.Lens: disableAWSServiceAccess_servicePrincipal :: Lens' DisableAWSServiceAccess Text
+ Amazonka.Organizations.Lens: disablePolicyTypeResponse_httpStatus :: Lens' DisablePolicyTypeResponse Int
+ Amazonka.Organizations.Lens: disablePolicyTypeResponse_root :: Lens' DisablePolicyTypeResponse (Maybe Root)
+ Amazonka.Organizations.Lens: disablePolicyType_policyType :: Lens' DisablePolicyType PolicyType
+ Amazonka.Organizations.Lens: disablePolicyType_rootId :: Lens' DisablePolicyType Text
+ Amazonka.Organizations.Lens: effectivePolicy_lastUpdatedTimestamp :: Lens' EffectivePolicy (Maybe UTCTime)
+ Amazonka.Organizations.Lens: effectivePolicy_policyContent :: Lens' EffectivePolicy (Maybe Text)
+ Amazonka.Organizations.Lens: effectivePolicy_policyType :: Lens' EffectivePolicy (Maybe EffectivePolicyType)
+ Amazonka.Organizations.Lens: effectivePolicy_targetId :: Lens' EffectivePolicy (Maybe Text)
+ Amazonka.Organizations.Lens: enableAWSServiceAccess_servicePrincipal :: Lens' EnableAWSServiceAccess Text
+ Amazonka.Organizations.Lens: enableAllFeaturesResponse_handshake :: Lens' EnableAllFeaturesResponse (Maybe Handshake)
+ Amazonka.Organizations.Lens: enableAllFeaturesResponse_httpStatus :: Lens' EnableAllFeaturesResponse Int
+ Amazonka.Organizations.Lens: enablePolicyTypeResponse_httpStatus :: Lens' EnablePolicyTypeResponse Int
+ Amazonka.Organizations.Lens: enablePolicyTypeResponse_root :: Lens' EnablePolicyTypeResponse (Maybe Root)
+ Amazonka.Organizations.Lens: enablePolicyType_policyType :: Lens' EnablePolicyType PolicyType
+ Amazonka.Organizations.Lens: enablePolicyType_rootId :: Lens' EnablePolicyType Text
+ Amazonka.Organizations.Lens: enabledServicePrincipal_dateEnabled :: Lens' EnabledServicePrincipal (Maybe UTCTime)
+ Amazonka.Organizations.Lens: enabledServicePrincipal_servicePrincipal :: Lens' EnabledServicePrincipal (Maybe Text)
+ Amazonka.Organizations.Lens: handshakeFilter_actionType :: Lens' HandshakeFilter (Maybe ActionType)
+ Amazonka.Organizations.Lens: handshakeFilter_parentHandshakeId :: Lens' HandshakeFilter (Maybe Text)
+ Amazonka.Organizations.Lens: handshakeParty_id :: Lens' HandshakeParty Text
+ Amazonka.Organizations.Lens: handshakeParty_type :: Lens' HandshakeParty HandshakePartyType
+ Amazonka.Organizations.Lens: handshakeResource_resources :: Lens' HandshakeResource (Maybe [HandshakeResource])
+ Amazonka.Organizations.Lens: handshakeResource_type :: Lens' HandshakeResource (Maybe HandshakeResourceType)
+ Amazonka.Organizations.Lens: handshakeResource_value :: Lens' HandshakeResource (Maybe Text)
+ Amazonka.Organizations.Lens: handshake_action :: Lens' Handshake (Maybe ActionType)
+ Amazonka.Organizations.Lens: handshake_arn :: Lens' Handshake (Maybe Text)
+ Amazonka.Organizations.Lens: handshake_expirationTimestamp :: Lens' Handshake (Maybe UTCTime)
+ Amazonka.Organizations.Lens: handshake_id :: Lens' Handshake (Maybe Text)
+ Amazonka.Organizations.Lens: handshake_parties :: Lens' Handshake (Maybe [HandshakeParty])
+ Amazonka.Organizations.Lens: handshake_requestedTimestamp :: Lens' Handshake (Maybe UTCTime)
+ Amazonka.Organizations.Lens: handshake_resources :: Lens' Handshake (Maybe [HandshakeResource])
+ Amazonka.Organizations.Lens: handshake_state :: Lens' Handshake (Maybe HandshakeState)
+ Amazonka.Organizations.Lens: inviteAccountToOrganizationResponse_handshake :: Lens' InviteAccountToOrganizationResponse (Maybe Handshake)
+ Amazonka.Organizations.Lens: inviteAccountToOrganizationResponse_httpStatus :: Lens' InviteAccountToOrganizationResponse Int
+ Amazonka.Organizations.Lens: inviteAccountToOrganization_notes :: Lens' InviteAccountToOrganization (Maybe Text)
+ Amazonka.Organizations.Lens: inviteAccountToOrganization_tags :: Lens' InviteAccountToOrganization (Maybe [Tag])
+ Amazonka.Organizations.Lens: inviteAccountToOrganization_target :: Lens' InviteAccountToOrganization HandshakeParty
+ Amazonka.Organizations.Lens: listAWSServiceAccessForOrganizationResponse_enabledServicePrincipals :: Lens' ListAWSServiceAccessForOrganizationResponse (Maybe [EnabledServicePrincipal])
+ Amazonka.Organizations.Lens: listAWSServiceAccessForOrganizationResponse_httpStatus :: Lens' ListAWSServiceAccessForOrganizationResponse Int
+ Amazonka.Organizations.Lens: listAWSServiceAccessForOrganizationResponse_nextToken :: Lens' ListAWSServiceAccessForOrganizationResponse (Maybe Text)
+ Amazonka.Organizations.Lens: listAWSServiceAccessForOrganization_maxResults :: Lens' ListAWSServiceAccessForOrganization (Maybe Natural)
+ Amazonka.Organizations.Lens: listAWSServiceAccessForOrganization_nextToken :: Lens' ListAWSServiceAccessForOrganization (Maybe Text)
+ Amazonka.Organizations.Lens: listAccountsForParentResponse_accounts :: Lens' ListAccountsForParentResponse (Maybe [Account])
+ Amazonka.Organizations.Lens: listAccountsForParentResponse_httpStatus :: Lens' ListAccountsForParentResponse Int
+ Amazonka.Organizations.Lens: listAccountsForParentResponse_nextToken :: Lens' ListAccountsForParentResponse (Maybe Text)
+ Amazonka.Organizations.Lens: listAccountsForParent_maxResults :: Lens' ListAccountsForParent (Maybe Natural)
+ Amazonka.Organizations.Lens: listAccountsForParent_nextToken :: Lens' ListAccountsForParent (Maybe Text)
+ Amazonka.Organizations.Lens: listAccountsForParent_parentId :: Lens' ListAccountsForParent Text
+ Amazonka.Organizations.Lens: listAccountsResponse_accounts :: Lens' ListAccountsResponse (Maybe [Account])
+ Amazonka.Organizations.Lens: listAccountsResponse_httpStatus :: Lens' ListAccountsResponse Int
+ Amazonka.Organizations.Lens: listAccountsResponse_nextToken :: Lens' ListAccountsResponse (Maybe Text)
+ Amazonka.Organizations.Lens: listAccounts_maxResults :: Lens' ListAccounts (Maybe Natural)
+ Amazonka.Organizations.Lens: listAccounts_nextToken :: Lens' ListAccounts (Maybe Text)
+ Amazonka.Organizations.Lens: listChildrenResponse_children :: Lens' ListChildrenResponse (Maybe [Child])
+ Amazonka.Organizations.Lens: listChildrenResponse_httpStatus :: Lens' ListChildrenResponse Int
+ Amazonka.Organizations.Lens: listChildrenResponse_nextToken :: Lens' ListChildrenResponse (Maybe Text)
+ Amazonka.Organizations.Lens: listChildren_childType :: Lens' ListChildren ChildType
+ Amazonka.Organizations.Lens: listChildren_maxResults :: Lens' ListChildren (Maybe Natural)
+ Amazonka.Organizations.Lens: listChildren_nextToken :: Lens' ListChildren (Maybe Text)
+ Amazonka.Organizations.Lens: listChildren_parentId :: Lens' ListChildren Text
+ Amazonka.Organizations.Lens: listCreateAccountStatusResponse_createAccountStatuses :: Lens' ListCreateAccountStatusResponse (Maybe [CreateAccountStatus])
+ Amazonka.Organizations.Lens: listCreateAccountStatusResponse_httpStatus :: Lens' ListCreateAccountStatusResponse Int
+ Amazonka.Organizations.Lens: listCreateAccountStatusResponse_nextToken :: Lens' ListCreateAccountStatusResponse (Maybe Text)
+ Amazonka.Organizations.Lens: listCreateAccountStatus_maxResults :: Lens' ListCreateAccountStatus (Maybe Natural)
+ Amazonka.Organizations.Lens: listCreateAccountStatus_nextToken :: Lens' ListCreateAccountStatus (Maybe Text)
+ Amazonka.Organizations.Lens: listCreateAccountStatus_states :: Lens' ListCreateAccountStatus (Maybe [CreateAccountState])
+ Amazonka.Organizations.Lens: listDelegatedAdministratorsResponse_delegatedAdministrators :: Lens' ListDelegatedAdministratorsResponse (Maybe [DelegatedAdministrator])
+ Amazonka.Organizations.Lens: listDelegatedAdministratorsResponse_httpStatus :: Lens' ListDelegatedAdministratorsResponse Int
+ Amazonka.Organizations.Lens: listDelegatedAdministratorsResponse_nextToken :: Lens' ListDelegatedAdministratorsResponse (Maybe Text)
+ Amazonka.Organizations.Lens: listDelegatedAdministrators_maxResults :: Lens' ListDelegatedAdministrators (Maybe Natural)
+ Amazonka.Organizations.Lens: listDelegatedAdministrators_nextToken :: Lens' ListDelegatedAdministrators (Maybe Text)
+ Amazonka.Organizations.Lens: listDelegatedAdministrators_servicePrincipal :: Lens' ListDelegatedAdministrators (Maybe Text)
+ Amazonka.Organizations.Lens: listDelegatedServicesForAccountResponse_delegatedServices :: Lens' ListDelegatedServicesForAccountResponse (Maybe [DelegatedService])
+ Amazonka.Organizations.Lens: listDelegatedServicesForAccountResponse_httpStatus :: Lens' ListDelegatedServicesForAccountResponse Int
+ Amazonka.Organizations.Lens: listDelegatedServicesForAccountResponse_nextToken :: Lens' ListDelegatedServicesForAccountResponse (Maybe Text)
+ Amazonka.Organizations.Lens: listDelegatedServicesForAccount_accountId :: Lens' ListDelegatedServicesForAccount Text
+ Amazonka.Organizations.Lens: listDelegatedServicesForAccount_maxResults :: Lens' ListDelegatedServicesForAccount (Maybe Natural)
+ Amazonka.Organizations.Lens: listDelegatedServicesForAccount_nextToken :: Lens' ListDelegatedServicesForAccount (Maybe Text)
+ Amazonka.Organizations.Lens: listHandshakesForAccountResponse_handshakes :: Lens' ListHandshakesForAccountResponse (Maybe [Handshake])
+ Amazonka.Organizations.Lens: listHandshakesForAccountResponse_httpStatus :: Lens' ListHandshakesForAccountResponse Int
+ Amazonka.Organizations.Lens: listHandshakesForAccountResponse_nextToken :: Lens' ListHandshakesForAccountResponse (Maybe Text)
+ Amazonka.Organizations.Lens: listHandshakesForAccount_filter :: Lens' ListHandshakesForAccount (Maybe HandshakeFilter)
+ Amazonka.Organizations.Lens: listHandshakesForAccount_maxResults :: Lens' ListHandshakesForAccount (Maybe Natural)
+ Amazonka.Organizations.Lens: listHandshakesForAccount_nextToken :: Lens' ListHandshakesForAccount (Maybe Text)
+ Amazonka.Organizations.Lens: listHandshakesForOrganizationResponse_handshakes :: Lens' ListHandshakesForOrganizationResponse (Maybe [Handshake])
+ Amazonka.Organizations.Lens: listHandshakesForOrganizationResponse_httpStatus :: Lens' ListHandshakesForOrganizationResponse Int
+ Amazonka.Organizations.Lens: listHandshakesForOrganizationResponse_nextToken :: Lens' ListHandshakesForOrganizationResponse (Maybe Text)
+ Amazonka.Organizations.Lens: listHandshakesForOrganization_filter :: Lens' ListHandshakesForOrganization (Maybe HandshakeFilter)
+ Amazonka.Organizations.Lens: listHandshakesForOrganization_maxResults :: Lens' ListHandshakesForOrganization (Maybe Natural)
+ Amazonka.Organizations.Lens: listHandshakesForOrganization_nextToken :: Lens' ListHandshakesForOrganization (Maybe Text)
+ Amazonka.Organizations.Lens: listOrganizationalUnitsForParentResponse_httpStatus :: Lens' ListOrganizationalUnitsForParentResponse Int
+ Amazonka.Organizations.Lens: listOrganizationalUnitsForParentResponse_nextToken :: Lens' ListOrganizationalUnitsForParentResponse (Maybe Text)
+ Amazonka.Organizations.Lens: listOrganizationalUnitsForParentResponse_organizationalUnits :: Lens' ListOrganizationalUnitsForParentResponse (Maybe [OrganizationalUnit])
+ Amazonka.Organizations.Lens: listOrganizationalUnitsForParent_maxResults :: Lens' ListOrganizationalUnitsForParent (Maybe Natural)
+ Amazonka.Organizations.Lens: listOrganizationalUnitsForParent_nextToken :: Lens' ListOrganizationalUnitsForParent (Maybe Text)
+ Amazonka.Organizations.Lens: listOrganizationalUnitsForParent_parentId :: Lens' ListOrganizationalUnitsForParent Text
+ Amazonka.Organizations.Lens: listParentsResponse_httpStatus :: Lens' ListParentsResponse Int
+ Amazonka.Organizations.Lens: listParentsResponse_nextToken :: Lens' ListParentsResponse (Maybe Text)
+ Amazonka.Organizations.Lens: listParentsResponse_parents :: Lens' ListParentsResponse (Maybe [Parent])
+ Amazonka.Organizations.Lens: listParents_childId :: Lens' ListParents Text
+ Amazonka.Organizations.Lens: listParents_maxResults :: Lens' ListParents (Maybe Natural)
+ Amazonka.Organizations.Lens: listParents_nextToken :: Lens' ListParents (Maybe Text)
+ Amazonka.Organizations.Lens: listPoliciesForTargetResponse_httpStatus :: Lens' ListPoliciesForTargetResponse Int
+ Amazonka.Organizations.Lens: listPoliciesForTargetResponse_nextToken :: Lens' ListPoliciesForTargetResponse (Maybe Text)
+ Amazonka.Organizations.Lens: listPoliciesForTargetResponse_policies :: Lens' ListPoliciesForTargetResponse (Maybe [PolicySummary])
+ Amazonka.Organizations.Lens: listPoliciesForTarget_filter :: Lens' ListPoliciesForTarget PolicyType
+ Amazonka.Organizations.Lens: listPoliciesForTarget_maxResults :: Lens' ListPoliciesForTarget (Maybe Natural)
+ Amazonka.Organizations.Lens: listPoliciesForTarget_nextToken :: Lens' ListPoliciesForTarget (Maybe Text)
+ Amazonka.Organizations.Lens: listPoliciesForTarget_targetId :: Lens' ListPoliciesForTarget Text
+ Amazonka.Organizations.Lens: listPoliciesResponse_httpStatus :: Lens' ListPoliciesResponse Int
+ Amazonka.Organizations.Lens: listPoliciesResponse_nextToken :: Lens' ListPoliciesResponse (Maybe Text)
+ Amazonka.Organizations.Lens: listPoliciesResponse_policies :: Lens' ListPoliciesResponse (Maybe [PolicySummary])
+ Amazonka.Organizations.Lens: listPolicies_filter :: Lens' ListPolicies PolicyType
+ Amazonka.Organizations.Lens: listPolicies_maxResults :: Lens' ListPolicies (Maybe Natural)
+ Amazonka.Organizations.Lens: listPolicies_nextToken :: Lens' ListPolicies (Maybe Text)
+ Amazonka.Organizations.Lens: listRootsResponse_httpStatus :: Lens' ListRootsResponse Int
+ Amazonka.Organizations.Lens: listRootsResponse_nextToken :: Lens' ListRootsResponse (Maybe Text)
+ Amazonka.Organizations.Lens: listRootsResponse_roots :: Lens' ListRootsResponse (Maybe [Root])
+ Amazonka.Organizations.Lens: listRoots_maxResults :: Lens' ListRoots (Maybe Natural)
+ Amazonka.Organizations.Lens: listRoots_nextToken :: Lens' ListRoots (Maybe Text)
+ Amazonka.Organizations.Lens: listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
+ Amazonka.Organizations.Lens: listTagsForResourceResponse_nextToken :: Lens' ListTagsForResourceResponse (Maybe Text)
+ Amazonka.Organizations.Lens: listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
+ Amazonka.Organizations.Lens: listTagsForResource_nextToken :: Lens' ListTagsForResource (Maybe Text)
+ Amazonka.Organizations.Lens: listTagsForResource_resourceId :: Lens' ListTagsForResource Text
+ Amazonka.Organizations.Lens: listTargetsForPolicyResponse_httpStatus :: Lens' ListTargetsForPolicyResponse Int
+ Amazonka.Organizations.Lens: listTargetsForPolicyResponse_nextToken :: Lens' ListTargetsForPolicyResponse (Maybe Text)
+ Amazonka.Organizations.Lens: listTargetsForPolicyResponse_targets :: Lens' ListTargetsForPolicyResponse (Maybe [PolicyTargetSummary])
+ Amazonka.Organizations.Lens: listTargetsForPolicy_maxResults :: Lens' ListTargetsForPolicy (Maybe Natural)
+ Amazonka.Organizations.Lens: listTargetsForPolicy_nextToken :: Lens' ListTargetsForPolicy (Maybe Text)
+ Amazonka.Organizations.Lens: listTargetsForPolicy_policyId :: Lens' ListTargetsForPolicy Text
+ Amazonka.Organizations.Lens: moveAccount_accountId :: Lens' MoveAccount Text
+ Amazonka.Organizations.Lens: moveAccount_destinationParentId :: Lens' MoveAccount Text
+ Amazonka.Organizations.Lens: moveAccount_sourceParentId :: Lens' MoveAccount Text
+ Amazonka.Organizations.Lens: organization_arn :: Lens' Organization (Maybe Text)
+ Amazonka.Organizations.Lens: organization_availablePolicyTypes :: Lens' Organization (Maybe [PolicyTypeSummary])
+ Amazonka.Organizations.Lens: organization_featureSet :: Lens' Organization (Maybe OrganizationFeatureSet)
+ Amazonka.Organizations.Lens: organization_id :: Lens' Organization (Maybe Text)
+ Amazonka.Organizations.Lens: organization_masterAccountArn :: Lens' Organization (Maybe Text)
+ Amazonka.Organizations.Lens: organization_masterAccountEmail :: Lens' Organization (Maybe Text)
+ Amazonka.Organizations.Lens: organization_masterAccountId :: Lens' Organization (Maybe Text)
+ Amazonka.Organizations.Lens: organizationalUnit_arn :: Lens' OrganizationalUnit (Maybe Text)
+ Amazonka.Organizations.Lens: organizationalUnit_id :: Lens' OrganizationalUnit (Maybe Text)
+ Amazonka.Organizations.Lens: organizationalUnit_name :: Lens' OrganizationalUnit (Maybe Text)
+ Amazonka.Organizations.Lens: parent_id :: Lens' Parent (Maybe Text)
+ Amazonka.Organizations.Lens: parent_type :: Lens' Parent (Maybe ParentType)
+ Amazonka.Organizations.Lens: policySummary_arn :: Lens' PolicySummary (Maybe Text)
+ Amazonka.Organizations.Lens: policySummary_awsManaged :: Lens' PolicySummary (Maybe Bool)
+ Amazonka.Organizations.Lens: policySummary_description :: Lens' PolicySummary (Maybe Text)
+ Amazonka.Organizations.Lens: policySummary_id :: Lens' PolicySummary (Maybe Text)
+ Amazonka.Organizations.Lens: policySummary_name :: Lens' PolicySummary (Maybe Text)
+ Amazonka.Organizations.Lens: policySummary_type :: Lens' PolicySummary (Maybe PolicyType)
+ Amazonka.Organizations.Lens: policyTargetSummary_arn :: Lens' PolicyTargetSummary (Maybe Text)
+ Amazonka.Organizations.Lens: policyTargetSummary_name :: Lens' PolicyTargetSummary (Maybe Text)
+ Amazonka.Organizations.Lens: policyTargetSummary_targetId :: Lens' PolicyTargetSummary (Maybe Text)
+ Amazonka.Organizations.Lens: policyTargetSummary_type :: Lens' PolicyTargetSummary (Maybe TargetType)
+ Amazonka.Organizations.Lens: policyTypeSummary_status :: Lens' PolicyTypeSummary (Maybe PolicyTypeStatus)
+ Amazonka.Organizations.Lens: policyTypeSummary_type :: Lens' PolicyTypeSummary (Maybe PolicyType)
+ Amazonka.Organizations.Lens: policy_content :: Lens' Policy (Maybe Text)
+ Amazonka.Organizations.Lens: policy_policySummary :: Lens' Policy (Maybe PolicySummary)
+ Amazonka.Organizations.Lens: putResourcePolicyResponse_httpStatus :: Lens' PutResourcePolicyResponse Int
+ Amazonka.Organizations.Lens: putResourcePolicyResponse_resourcePolicy :: Lens' PutResourcePolicyResponse (Maybe ResourcePolicy)
+ Amazonka.Organizations.Lens: putResourcePolicy_content :: Lens' PutResourcePolicy Text
+ Amazonka.Organizations.Lens: putResourcePolicy_tags :: Lens' PutResourcePolicy (Maybe [Tag])
+ Amazonka.Organizations.Lens: registerDelegatedAdministrator_accountId :: Lens' RegisterDelegatedAdministrator Text
+ Amazonka.Organizations.Lens: registerDelegatedAdministrator_servicePrincipal :: Lens' RegisterDelegatedAdministrator Text
+ Amazonka.Organizations.Lens: removeAccountFromOrganization_accountId :: Lens' RemoveAccountFromOrganization Text
+ Amazonka.Organizations.Lens: resourcePolicySummary_arn :: Lens' ResourcePolicySummary (Maybe Text)
+ Amazonka.Organizations.Lens: resourcePolicySummary_id :: Lens' ResourcePolicySummary (Maybe Text)
+ Amazonka.Organizations.Lens: resourcePolicy_content :: Lens' ResourcePolicy (Maybe Text)
+ Amazonka.Organizations.Lens: resourcePolicy_resourcePolicySummary :: Lens' ResourcePolicy (Maybe ResourcePolicySummary)
+ Amazonka.Organizations.Lens: root_arn :: Lens' Root (Maybe Text)
+ Amazonka.Organizations.Lens: root_id :: Lens' Root (Maybe Text)
+ Amazonka.Organizations.Lens: root_name :: Lens' Root (Maybe Text)
+ Amazonka.Organizations.Lens: root_policyTypes :: Lens' Root (Maybe [PolicyTypeSummary])
+ Amazonka.Organizations.Lens: tagResource_resourceId :: Lens' TagResource Text
+ Amazonka.Organizations.Lens: tagResource_tags :: Lens' TagResource [Tag]
+ Amazonka.Organizations.Lens: tag_key :: Lens' Tag Text
+ Amazonka.Organizations.Lens: tag_value :: Lens' Tag Text
+ Amazonka.Organizations.Lens: untagResource_resourceId :: Lens' UntagResource Text
+ Amazonka.Organizations.Lens: untagResource_tagKeys :: Lens' UntagResource [Text]
+ Amazonka.Organizations.Lens: updateOrganizationalUnitResponse_httpStatus :: Lens' UpdateOrganizationalUnitResponse Int
+ Amazonka.Organizations.Lens: updateOrganizationalUnitResponse_organizationalUnit :: Lens' UpdateOrganizationalUnitResponse (Maybe OrganizationalUnit)
+ Amazonka.Organizations.Lens: updateOrganizationalUnit_name :: Lens' UpdateOrganizationalUnit (Maybe Text)
+ Amazonka.Organizations.Lens: updateOrganizationalUnit_organizationalUnitId :: Lens' UpdateOrganizationalUnit Text
+ Amazonka.Organizations.Lens: updatePolicyResponse_httpStatus :: Lens' UpdatePolicyResponse Int
+ Amazonka.Organizations.Lens: updatePolicyResponse_policy :: Lens' UpdatePolicyResponse (Maybe Policy)
+ Amazonka.Organizations.Lens: updatePolicy_content :: Lens' UpdatePolicy (Maybe Text)
+ Amazonka.Organizations.Lens: updatePolicy_description :: Lens' UpdatePolicy (Maybe Text)
+ Amazonka.Organizations.Lens: updatePolicy_name :: Lens' UpdatePolicy (Maybe Text)
+ Amazonka.Organizations.Lens: updatePolicy_policyId :: Lens' UpdatePolicy Text
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: ListAWSServiceAccessForOrganization' :: Maybe Natural -> Maybe Text -> ListAWSServiceAccessForOrganization
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: ListAWSServiceAccessForOrganizationResponse' :: Maybe [EnabledServicePrincipal] -> Maybe Text -> Int -> ListAWSServiceAccessForOrganizationResponse
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: [$sel:enabledServicePrincipals:ListAWSServiceAccessForOrganizationResponse'] :: ListAWSServiceAccessForOrganizationResponse -> Maybe [EnabledServicePrincipal]
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: [$sel:httpStatus:ListAWSServiceAccessForOrganizationResponse'] :: ListAWSServiceAccessForOrganizationResponse -> Int
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: [$sel:maxResults:ListAWSServiceAccessForOrganization'] :: ListAWSServiceAccessForOrganization -> Maybe Natural
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: [$sel:nextToken:ListAWSServiceAccessForOrganization'] :: ListAWSServiceAccessForOrganization -> Maybe Text
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: [$sel:nextToken:ListAWSServiceAccessForOrganizationResponse'] :: ListAWSServiceAccessForOrganizationResponse -> Maybe Text
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: data ListAWSServiceAccessForOrganization
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: data ListAWSServiceAccessForOrganizationResponse
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: instance Amazonka.Pager.AWSPager Amazonka.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: instance Amazonka.Types.AWSRequest Amazonka.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: instance Control.DeepSeq.NFData Amazonka.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: instance Control.DeepSeq.NFData Amazonka.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganizationResponse
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: instance Data.Hashable.Class.Hashable Amazonka.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: instance GHC.Classes.Eq Amazonka.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: instance GHC.Classes.Eq Amazonka.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganizationResponse
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: instance GHC.Generics.Generic Amazonka.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: instance GHC.Generics.Generic Amazonka.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganizationResponse
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: instance GHC.Read.Read Amazonka.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: instance GHC.Read.Read Amazonka.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganizationResponse
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: instance GHC.Show.Show Amazonka.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganization
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: instance GHC.Show.Show Amazonka.Organizations.ListAWSServiceAccessForOrganization.ListAWSServiceAccessForOrganizationResponse
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: listAWSServiceAccessForOrganizationResponse_enabledServicePrincipals :: Lens' ListAWSServiceAccessForOrganizationResponse (Maybe [EnabledServicePrincipal])
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: listAWSServiceAccessForOrganizationResponse_httpStatus :: Lens' ListAWSServiceAccessForOrganizationResponse Int
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: listAWSServiceAccessForOrganizationResponse_nextToken :: Lens' ListAWSServiceAccessForOrganizationResponse (Maybe Text)
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: listAWSServiceAccessForOrganization_maxResults :: Lens' ListAWSServiceAccessForOrganization (Maybe Natural)
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: listAWSServiceAccessForOrganization_nextToken :: Lens' ListAWSServiceAccessForOrganization (Maybe Text)
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: newListAWSServiceAccessForOrganization :: ListAWSServiceAccessForOrganization
+ Amazonka.Organizations.ListAWSServiceAccessForOrganization: newListAWSServiceAccessForOrganizationResponse :: Int -> ListAWSServiceAccessForOrganizationResponse
+ Amazonka.Organizations.ListAccounts: ListAccounts' :: Maybe Natural -> Maybe Text -> ListAccounts
+ Amazonka.Organizations.ListAccounts: ListAccountsResponse' :: Maybe [Account] -> Maybe Text -> Int -> ListAccountsResponse
+ Amazonka.Organizations.ListAccounts: [$sel:accounts:ListAccountsResponse'] :: ListAccountsResponse -> Maybe [Account]
+ Amazonka.Organizations.ListAccounts: [$sel:httpStatus:ListAccountsResponse'] :: ListAccountsResponse -> Int
+ Amazonka.Organizations.ListAccounts: [$sel:maxResults:ListAccounts'] :: ListAccounts -> Maybe Natural
+ Amazonka.Organizations.ListAccounts: [$sel:nextToken:ListAccounts'] :: ListAccounts -> Maybe Text
+ Amazonka.Organizations.ListAccounts: [$sel:nextToken:ListAccountsResponse'] :: ListAccountsResponse -> Maybe Text
+ Amazonka.Organizations.ListAccounts: data ListAccounts
+ Amazonka.Organizations.ListAccounts: data ListAccountsResponse
+ Amazonka.Organizations.ListAccounts: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.ListAccounts.ListAccounts
+ Amazonka.Organizations.ListAccounts: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.ListAccounts.ListAccounts
+ Amazonka.Organizations.ListAccounts: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.ListAccounts.ListAccounts
+ Amazonka.Organizations.ListAccounts: instance Amazonka.Pager.AWSPager Amazonka.Organizations.ListAccounts.ListAccounts
+ Amazonka.Organizations.ListAccounts: instance Amazonka.Types.AWSRequest Amazonka.Organizations.ListAccounts.ListAccounts
+ Amazonka.Organizations.ListAccounts: instance Control.DeepSeq.NFData Amazonka.Organizations.ListAccounts.ListAccounts
+ Amazonka.Organizations.ListAccounts: instance Control.DeepSeq.NFData Amazonka.Organizations.ListAccounts.ListAccountsResponse
+ Amazonka.Organizations.ListAccounts: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.ListAccounts.ListAccounts
+ Amazonka.Organizations.ListAccounts: instance Data.Hashable.Class.Hashable Amazonka.Organizations.ListAccounts.ListAccounts
+ Amazonka.Organizations.ListAccounts: instance GHC.Classes.Eq Amazonka.Organizations.ListAccounts.ListAccounts
+ Amazonka.Organizations.ListAccounts: instance GHC.Classes.Eq Amazonka.Organizations.ListAccounts.ListAccountsResponse
+ Amazonka.Organizations.ListAccounts: instance GHC.Generics.Generic Amazonka.Organizations.ListAccounts.ListAccounts
+ Amazonka.Organizations.ListAccounts: instance GHC.Generics.Generic Amazonka.Organizations.ListAccounts.ListAccountsResponse
+ Amazonka.Organizations.ListAccounts: instance GHC.Read.Read Amazonka.Organizations.ListAccounts.ListAccounts
+ Amazonka.Organizations.ListAccounts: instance GHC.Show.Show Amazonka.Organizations.ListAccounts.ListAccounts
+ Amazonka.Organizations.ListAccounts: instance GHC.Show.Show Amazonka.Organizations.ListAccounts.ListAccountsResponse
+ Amazonka.Organizations.ListAccounts: listAccountsResponse_accounts :: Lens' ListAccountsResponse (Maybe [Account])
+ Amazonka.Organizations.ListAccounts: listAccountsResponse_httpStatus :: Lens' ListAccountsResponse Int
+ Amazonka.Organizations.ListAccounts: listAccountsResponse_nextToken :: Lens' ListAccountsResponse (Maybe Text)
+ Amazonka.Organizations.ListAccounts: listAccounts_maxResults :: Lens' ListAccounts (Maybe Natural)
+ Amazonka.Organizations.ListAccounts: listAccounts_nextToken :: Lens' ListAccounts (Maybe Text)
+ Amazonka.Organizations.ListAccounts: newListAccounts :: ListAccounts
+ Amazonka.Organizations.ListAccounts: newListAccountsResponse :: Int -> ListAccountsResponse
+ Amazonka.Organizations.ListAccountsForParent: ListAccountsForParent' :: Maybe Natural -> Maybe Text -> Text -> ListAccountsForParent
+ Amazonka.Organizations.ListAccountsForParent: ListAccountsForParentResponse' :: Maybe [Account] -> Maybe Text -> Int -> ListAccountsForParentResponse
+ Amazonka.Organizations.ListAccountsForParent: [$sel:accounts:ListAccountsForParentResponse'] :: ListAccountsForParentResponse -> Maybe [Account]
+ Amazonka.Organizations.ListAccountsForParent: [$sel:httpStatus:ListAccountsForParentResponse'] :: ListAccountsForParentResponse -> Int
+ Amazonka.Organizations.ListAccountsForParent: [$sel:maxResults:ListAccountsForParent'] :: ListAccountsForParent -> Maybe Natural
+ Amazonka.Organizations.ListAccountsForParent: [$sel:nextToken:ListAccountsForParent'] :: ListAccountsForParent -> Maybe Text
+ Amazonka.Organizations.ListAccountsForParent: [$sel:nextToken:ListAccountsForParentResponse'] :: ListAccountsForParentResponse -> Maybe Text
+ Amazonka.Organizations.ListAccountsForParent: [$sel:parentId:ListAccountsForParent'] :: ListAccountsForParent -> Text
+ Amazonka.Organizations.ListAccountsForParent: data ListAccountsForParent
+ Amazonka.Organizations.ListAccountsForParent: data ListAccountsForParentResponse
+ Amazonka.Organizations.ListAccountsForParent: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.ListAccountsForParent.ListAccountsForParent
+ Amazonka.Organizations.ListAccountsForParent: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.ListAccountsForParent.ListAccountsForParent
+ Amazonka.Organizations.ListAccountsForParent: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.ListAccountsForParent.ListAccountsForParent
+ Amazonka.Organizations.ListAccountsForParent: instance Amazonka.Pager.AWSPager Amazonka.Organizations.ListAccountsForParent.ListAccountsForParent
+ Amazonka.Organizations.ListAccountsForParent: instance Amazonka.Types.AWSRequest Amazonka.Organizations.ListAccountsForParent.ListAccountsForParent
+ Amazonka.Organizations.ListAccountsForParent: instance Control.DeepSeq.NFData Amazonka.Organizations.ListAccountsForParent.ListAccountsForParent
+ Amazonka.Organizations.ListAccountsForParent: instance Control.DeepSeq.NFData Amazonka.Organizations.ListAccountsForParent.ListAccountsForParentResponse
+ Amazonka.Organizations.ListAccountsForParent: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.ListAccountsForParent.ListAccountsForParent
+ Amazonka.Organizations.ListAccountsForParent: instance Data.Hashable.Class.Hashable Amazonka.Organizations.ListAccountsForParent.ListAccountsForParent
+ Amazonka.Organizations.ListAccountsForParent: instance GHC.Classes.Eq Amazonka.Organizations.ListAccountsForParent.ListAccountsForParent
+ Amazonka.Organizations.ListAccountsForParent: instance GHC.Classes.Eq Amazonka.Organizations.ListAccountsForParent.ListAccountsForParentResponse
+ Amazonka.Organizations.ListAccountsForParent: instance GHC.Generics.Generic Amazonka.Organizations.ListAccountsForParent.ListAccountsForParent
+ Amazonka.Organizations.ListAccountsForParent: instance GHC.Generics.Generic Amazonka.Organizations.ListAccountsForParent.ListAccountsForParentResponse
+ Amazonka.Organizations.ListAccountsForParent: instance GHC.Read.Read Amazonka.Organizations.ListAccountsForParent.ListAccountsForParent
+ Amazonka.Organizations.ListAccountsForParent: instance GHC.Show.Show Amazonka.Organizations.ListAccountsForParent.ListAccountsForParent
+ Amazonka.Organizations.ListAccountsForParent: instance GHC.Show.Show Amazonka.Organizations.ListAccountsForParent.ListAccountsForParentResponse
+ Amazonka.Organizations.ListAccountsForParent: listAccountsForParentResponse_accounts :: Lens' ListAccountsForParentResponse (Maybe [Account])
+ Amazonka.Organizations.ListAccountsForParent: listAccountsForParentResponse_httpStatus :: Lens' ListAccountsForParentResponse Int
+ Amazonka.Organizations.ListAccountsForParent: listAccountsForParentResponse_nextToken :: Lens' ListAccountsForParentResponse (Maybe Text)
+ Amazonka.Organizations.ListAccountsForParent: listAccountsForParent_maxResults :: Lens' ListAccountsForParent (Maybe Natural)
+ Amazonka.Organizations.ListAccountsForParent: listAccountsForParent_nextToken :: Lens' ListAccountsForParent (Maybe Text)
+ Amazonka.Organizations.ListAccountsForParent: listAccountsForParent_parentId :: Lens' ListAccountsForParent Text
+ Amazonka.Organizations.ListAccountsForParent: newListAccountsForParent :: Text -> ListAccountsForParent
+ Amazonka.Organizations.ListAccountsForParent: newListAccountsForParentResponse :: Int -> ListAccountsForParentResponse
+ Amazonka.Organizations.ListChildren: ListChildren' :: Maybe Natural -> Maybe Text -> Text -> ChildType -> ListChildren
+ Amazonka.Organizations.ListChildren: ListChildrenResponse' :: Maybe [Child] -> Maybe Text -> Int -> ListChildrenResponse
+ Amazonka.Organizations.ListChildren: [$sel:childType:ListChildren'] :: ListChildren -> ChildType
+ Amazonka.Organizations.ListChildren: [$sel:children:ListChildrenResponse'] :: ListChildrenResponse -> Maybe [Child]
+ Amazonka.Organizations.ListChildren: [$sel:httpStatus:ListChildrenResponse'] :: ListChildrenResponse -> Int
+ Amazonka.Organizations.ListChildren: [$sel:maxResults:ListChildren'] :: ListChildren -> Maybe Natural
+ Amazonka.Organizations.ListChildren: [$sel:nextToken:ListChildren'] :: ListChildren -> Maybe Text
+ Amazonka.Organizations.ListChildren: [$sel:nextToken:ListChildrenResponse'] :: ListChildrenResponse -> Maybe Text
+ Amazonka.Organizations.ListChildren: [$sel:parentId:ListChildren'] :: ListChildren -> Text
+ Amazonka.Organizations.ListChildren: data ListChildren
+ Amazonka.Organizations.ListChildren: data ListChildrenResponse
+ Amazonka.Organizations.ListChildren: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.ListChildren.ListChildren
+ Amazonka.Organizations.ListChildren: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.ListChildren.ListChildren
+ Amazonka.Organizations.ListChildren: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.ListChildren.ListChildren
+ Amazonka.Organizations.ListChildren: instance Amazonka.Pager.AWSPager Amazonka.Organizations.ListChildren.ListChildren
+ Amazonka.Organizations.ListChildren: instance Amazonka.Types.AWSRequest Amazonka.Organizations.ListChildren.ListChildren
+ Amazonka.Organizations.ListChildren: instance Control.DeepSeq.NFData Amazonka.Organizations.ListChildren.ListChildren
+ Amazonka.Organizations.ListChildren: instance Control.DeepSeq.NFData Amazonka.Organizations.ListChildren.ListChildrenResponse
+ Amazonka.Organizations.ListChildren: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.ListChildren.ListChildren
+ Amazonka.Organizations.ListChildren: instance Data.Hashable.Class.Hashable Amazonka.Organizations.ListChildren.ListChildren
+ Amazonka.Organizations.ListChildren: instance GHC.Classes.Eq Amazonka.Organizations.ListChildren.ListChildren
+ Amazonka.Organizations.ListChildren: instance GHC.Classes.Eq Amazonka.Organizations.ListChildren.ListChildrenResponse
+ Amazonka.Organizations.ListChildren: instance GHC.Generics.Generic Amazonka.Organizations.ListChildren.ListChildren
+ Amazonka.Organizations.ListChildren: instance GHC.Generics.Generic Amazonka.Organizations.ListChildren.ListChildrenResponse
+ Amazonka.Organizations.ListChildren: instance GHC.Read.Read Amazonka.Organizations.ListChildren.ListChildren
+ Amazonka.Organizations.ListChildren: instance GHC.Read.Read Amazonka.Organizations.ListChildren.ListChildrenResponse
+ Amazonka.Organizations.ListChildren: instance GHC.Show.Show Amazonka.Organizations.ListChildren.ListChildren
+ Amazonka.Organizations.ListChildren: instance GHC.Show.Show Amazonka.Organizations.ListChildren.ListChildrenResponse
+ Amazonka.Organizations.ListChildren: listChildrenResponse_children :: Lens' ListChildrenResponse (Maybe [Child])
+ Amazonka.Organizations.ListChildren: listChildrenResponse_httpStatus :: Lens' ListChildrenResponse Int
+ Amazonka.Organizations.ListChildren: listChildrenResponse_nextToken :: Lens' ListChildrenResponse (Maybe Text)
+ Amazonka.Organizations.ListChildren: listChildren_childType :: Lens' ListChildren ChildType
+ Amazonka.Organizations.ListChildren: listChildren_maxResults :: Lens' ListChildren (Maybe Natural)
+ Amazonka.Organizations.ListChildren: listChildren_nextToken :: Lens' ListChildren (Maybe Text)
+ Amazonka.Organizations.ListChildren: listChildren_parentId :: Lens' ListChildren Text
+ Amazonka.Organizations.ListChildren: newListChildren :: Text -> ChildType -> ListChildren
+ Amazonka.Organizations.ListChildren: newListChildrenResponse :: Int -> ListChildrenResponse
+ Amazonka.Organizations.ListCreateAccountStatus: ListCreateAccountStatus' :: Maybe Natural -> Maybe Text -> Maybe [CreateAccountState] -> ListCreateAccountStatus
+ Amazonka.Organizations.ListCreateAccountStatus: ListCreateAccountStatusResponse' :: Maybe [CreateAccountStatus] -> Maybe Text -> Int -> ListCreateAccountStatusResponse
+ Amazonka.Organizations.ListCreateAccountStatus: [$sel:createAccountStatuses:ListCreateAccountStatusResponse'] :: ListCreateAccountStatusResponse -> Maybe [CreateAccountStatus]
+ Amazonka.Organizations.ListCreateAccountStatus: [$sel:httpStatus:ListCreateAccountStatusResponse'] :: ListCreateAccountStatusResponse -> Int
+ Amazonka.Organizations.ListCreateAccountStatus: [$sel:maxResults:ListCreateAccountStatus'] :: ListCreateAccountStatus -> Maybe Natural
+ Amazonka.Organizations.ListCreateAccountStatus: [$sel:nextToken:ListCreateAccountStatus'] :: ListCreateAccountStatus -> Maybe Text
+ Amazonka.Organizations.ListCreateAccountStatus: [$sel:nextToken:ListCreateAccountStatusResponse'] :: ListCreateAccountStatusResponse -> Maybe Text
+ Amazonka.Organizations.ListCreateAccountStatus: [$sel:states:ListCreateAccountStatus'] :: ListCreateAccountStatus -> Maybe [CreateAccountState]
+ Amazonka.Organizations.ListCreateAccountStatus: data ListCreateAccountStatus
+ Amazonka.Organizations.ListCreateAccountStatus: data ListCreateAccountStatusResponse
+ Amazonka.Organizations.ListCreateAccountStatus: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
+ Amazonka.Organizations.ListCreateAccountStatus: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
+ Amazonka.Organizations.ListCreateAccountStatus: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
+ Amazonka.Organizations.ListCreateAccountStatus: instance Amazonka.Pager.AWSPager Amazonka.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
+ Amazonka.Organizations.ListCreateAccountStatus: instance Amazonka.Types.AWSRequest Amazonka.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
+ Amazonka.Organizations.ListCreateAccountStatus: instance Control.DeepSeq.NFData Amazonka.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
+ Amazonka.Organizations.ListCreateAccountStatus: instance Control.DeepSeq.NFData Amazonka.Organizations.ListCreateAccountStatus.ListCreateAccountStatusResponse
+ Amazonka.Organizations.ListCreateAccountStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
+ Amazonka.Organizations.ListCreateAccountStatus: instance Data.Hashable.Class.Hashable Amazonka.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
+ Amazonka.Organizations.ListCreateAccountStatus: instance GHC.Classes.Eq Amazonka.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
+ Amazonka.Organizations.ListCreateAccountStatus: instance GHC.Classes.Eq Amazonka.Organizations.ListCreateAccountStatus.ListCreateAccountStatusResponse
+ Amazonka.Organizations.ListCreateAccountStatus: instance GHC.Generics.Generic Amazonka.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
+ Amazonka.Organizations.ListCreateAccountStatus: instance GHC.Generics.Generic Amazonka.Organizations.ListCreateAccountStatus.ListCreateAccountStatusResponse
+ Amazonka.Organizations.ListCreateAccountStatus: instance GHC.Read.Read Amazonka.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
+ Amazonka.Organizations.ListCreateAccountStatus: instance GHC.Show.Show Amazonka.Organizations.ListCreateAccountStatus.ListCreateAccountStatus
+ Amazonka.Organizations.ListCreateAccountStatus: instance GHC.Show.Show Amazonka.Organizations.ListCreateAccountStatus.ListCreateAccountStatusResponse
+ Amazonka.Organizations.ListCreateAccountStatus: listCreateAccountStatusResponse_createAccountStatuses :: Lens' ListCreateAccountStatusResponse (Maybe [CreateAccountStatus])
+ Amazonka.Organizations.ListCreateAccountStatus: listCreateAccountStatusResponse_httpStatus :: Lens' ListCreateAccountStatusResponse Int
+ Amazonka.Organizations.ListCreateAccountStatus: listCreateAccountStatusResponse_nextToken :: Lens' ListCreateAccountStatusResponse (Maybe Text)
+ Amazonka.Organizations.ListCreateAccountStatus: listCreateAccountStatus_maxResults :: Lens' ListCreateAccountStatus (Maybe Natural)
+ Amazonka.Organizations.ListCreateAccountStatus: listCreateAccountStatus_nextToken :: Lens' ListCreateAccountStatus (Maybe Text)
+ Amazonka.Organizations.ListCreateAccountStatus: listCreateAccountStatus_states :: Lens' ListCreateAccountStatus (Maybe [CreateAccountState])
+ Amazonka.Organizations.ListCreateAccountStatus: newListCreateAccountStatus :: ListCreateAccountStatus
+ Amazonka.Organizations.ListCreateAccountStatus: newListCreateAccountStatusResponse :: Int -> ListCreateAccountStatusResponse
+ Amazonka.Organizations.ListDelegatedAdministrators: ListDelegatedAdministrators' :: Maybe Natural -> Maybe Text -> Maybe Text -> ListDelegatedAdministrators
+ Amazonka.Organizations.ListDelegatedAdministrators: ListDelegatedAdministratorsResponse' :: Maybe [DelegatedAdministrator] -> Maybe Text -> Int -> ListDelegatedAdministratorsResponse
+ Amazonka.Organizations.ListDelegatedAdministrators: [$sel:delegatedAdministrators:ListDelegatedAdministratorsResponse'] :: ListDelegatedAdministratorsResponse -> Maybe [DelegatedAdministrator]
+ Amazonka.Organizations.ListDelegatedAdministrators: [$sel:httpStatus:ListDelegatedAdministratorsResponse'] :: ListDelegatedAdministratorsResponse -> Int
+ Amazonka.Organizations.ListDelegatedAdministrators: [$sel:maxResults:ListDelegatedAdministrators'] :: ListDelegatedAdministrators -> Maybe Natural
+ Amazonka.Organizations.ListDelegatedAdministrators: [$sel:nextToken:ListDelegatedAdministrators'] :: ListDelegatedAdministrators -> Maybe Text
+ Amazonka.Organizations.ListDelegatedAdministrators: [$sel:nextToken:ListDelegatedAdministratorsResponse'] :: ListDelegatedAdministratorsResponse -> Maybe Text
+ Amazonka.Organizations.ListDelegatedAdministrators: [$sel:servicePrincipal:ListDelegatedAdministrators'] :: ListDelegatedAdministrators -> Maybe Text
+ Amazonka.Organizations.ListDelegatedAdministrators: data ListDelegatedAdministrators
+ Amazonka.Organizations.ListDelegatedAdministrators: data ListDelegatedAdministratorsResponse
+ Amazonka.Organizations.ListDelegatedAdministrators: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.ListDelegatedAdministrators.ListDelegatedAdministrators
+ Amazonka.Organizations.ListDelegatedAdministrators: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.ListDelegatedAdministrators.ListDelegatedAdministrators
+ Amazonka.Organizations.ListDelegatedAdministrators: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.ListDelegatedAdministrators.ListDelegatedAdministrators
+ Amazonka.Organizations.ListDelegatedAdministrators: instance Amazonka.Pager.AWSPager Amazonka.Organizations.ListDelegatedAdministrators.ListDelegatedAdministrators
+ Amazonka.Organizations.ListDelegatedAdministrators: instance Amazonka.Types.AWSRequest Amazonka.Organizations.ListDelegatedAdministrators.ListDelegatedAdministrators
+ Amazonka.Organizations.ListDelegatedAdministrators: instance Control.DeepSeq.NFData Amazonka.Organizations.ListDelegatedAdministrators.ListDelegatedAdministrators
+ Amazonka.Organizations.ListDelegatedAdministrators: instance Control.DeepSeq.NFData Amazonka.Organizations.ListDelegatedAdministrators.ListDelegatedAdministratorsResponse
+ Amazonka.Organizations.ListDelegatedAdministrators: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.ListDelegatedAdministrators.ListDelegatedAdministrators
+ Amazonka.Organizations.ListDelegatedAdministrators: instance Data.Hashable.Class.Hashable Amazonka.Organizations.ListDelegatedAdministrators.ListDelegatedAdministrators
+ Amazonka.Organizations.ListDelegatedAdministrators: instance GHC.Classes.Eq Amazonka.Organizations.ListDelegatedAdministrators.ListDelegatedAdministrators
+ Amazonka.Organizations.ListDelegatedAdministrators: instance GHC.Classes.Eq Amazonka.Organizations.ListDelegatedAdministrators.ListDelegatedAdministratorsResponse
+ Amazonka.Organizations.ListDelegatedAdministrators: instance GHC.Generics.Generic Amazonka.Organizations.ListDelegatedAdministrators.ListDelegatedAdministrators
+ Amazonka.Organizations.ListDelegatedAdministrators: instance GHC.Generics.Generic Amazonka.Organizations.ListDelegatedAdministrators.ListDelegatedAdministratorsResponse
+ Amazonka.Organizations.ListDelegatedAdministrators: instance GHC.Read.Read Amazonka.Organizations.ListDelegatedAdministrators.ListDelegatedAdministrators
+ Amazonka.Organizations.ListDelegatedAdministrators: instance GHC.Show.Show Amazonka.Organizations.ListDelegatedAdministrators.ListDelegatedAdministrators
+ Amazonka.Organizations.ListDelegatedAdministrators: instance GHC.Show.Show Amazonka.Organizations.ListDelegatedAdministrators.ListDelegatedAdministratorsResponse
+ Amazonka.Organizations.ListDelegatedAdministrators: listDelegatedAdministratorsResponse_delegatedAdministrators :: Lens' ListDelegatedAdministratorsResponse (Maybe [DelegatedAdministrator])
+ Amazonka.Organizations.ListDelegatedAdministrators: listDelegatedAdministratorsResponse_httpStatus :: Lens' ListDelegatedAdministratorsResponse Int
+ Amazonka.Organizations.ListDelegatedAdministrators: listDelegatedAdministratorsResponse_nextToken :: Lens' ListDelegatedAdministratorsResponse (Maybe Text)
+ Amazonka.Organizations.ListDelegatedAdministrators: listDelegatedAdministrators_maxResults :: Lens' ListDelegatedAdministrators (Maybe Natural)
+ Amazonka.Organizations.ListDelegatedAdministrators: listDelegatedAdministrators_nextToken :: Lens' ListDelegatedAdministrators (Maybe Text)
+ Amazonka.Organizations.ListDelegatedAdministrators: listDelegatedAdministrators_servicePrincipal :: Lens' ListDelegatedAdministrators (Maybe Text)
+ Amazonka.Organizations.ListDelegatedAdministrators: newListDelegatedAdministrators :: ListDelegatedAdministrators
+ Amazonka.Organizations.ListDelegatedAdministrators: newListDelegatedAdministratorsResponse :: Int -> ListDelegatedAdministratorsResponse
+ Amazonka.Organizations.ListDelegatedServicesForAccount: ListDelegatedServicesForAccount' :: Maybe Natural -> Maybe Text -> Text -> ListDelegatedServicesForAccount
+ Amazonka.Organizations.ListDelegatedServicesForAccount: ListDelegatedServicesForAccountResponse' :: Maybe [DelegatedService] -> Maybe Text -> Int -> ListDelegatedServicesForAccountResponse
+ Amazonka.Organizations.ListDelegatedServicesForAccount: [$sel:accountId:ListDelegatedServicesForAccount'] :: ListDelegatedServicesForAccount -> Text
+ Amazonka.Organizations.ListDelegatedServicesForAccount: [$sel:delegatedServices:ListDelegatedServicesForAccountResponse'] :: ListDelegatedServicesForAccountResponse -> Maybe [DelegatedService]
+ Amazonka.Organizations.ListDelegatedServicesForAccount: [$sel:httpStatus:ListDelegatedServicesForAccountResponse'] :: ListDelegatedServicesForAccountResponse -> Int
+ Amazonka.Organizations.ListDelegatedServicesForAccount: [$sel:maxResults:ListDelegatedServicesForAccount'] :: ListDelegatedServicesForAccount -> Maybe Natural
+ Amazonka.Organizations.ListDelegatedServicesForAccount: [$sel:nextToken:ListDelegatedServicesForAccount'] :: ListDelegatedServicesForAccount -> Maybe Text
+ Amazonka.Organizations.ListDelegatedServicesForAccount: [$sel:nextToken:ListDelegatedServicesForAccountResponse'] :: ListDelegatedServicesForAccountResponse -> Maybe Text
+ Amazonka.Organizations.ListDelegatedServicesForAccount: data ListDelegatedServicesForAccount
+ Amazonka.Organizations.ListDelegatedServicesForAccount: data ListDelegatedServicesForAccountResponse
+ Amazonka.Organizations.ListDelegatedServicesForAccount: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.ListDelegatedServicesForAccount.ListDelegatedServicesForAccount
+ Amazonka.Organizations.ListDelegatedServicesForAccount: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.ListDelegatedServicesForAccount.ListDelegatedServicesForAccount
+ Amazonka.Organizations.ListDelegatedServicesForAccount: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.ListDelegatedServicesForAccount.ListDelegatedServicesForAccount
+ Amazonka.Organizations.ListDelegatedServicesForAccount: instance Amazonka.Pager.AWSPager Amazonka.Organizations.ListDelegatedServicesForAccount.ListDelegatedServicesForAccount
+ Amazonka.Organizations.ListDelegatedServicesForAccount: instance Amazonka.Types.AWSRequest Amazonka.Organizations.ListDelegatedServicesForAccount.ListDelegatedServicesForAccount
+ Amazonka.Organizations.ListDelegatedServicesForAccount: instance Control.DeepSeq.NFData Amazonka.Organizations.ListDelegatedServicesForAccount.ListDelegatedServicesForAccount
+ Amazonka.Organizations.ListDelegatedServicesForAccount: instance Control.DeepSeq.NFData Amazonka.Organizations.ListDelegatedServicesForAccount.ListDelegatedServicesForAccountResponse
+ Amazonka.Organizations.ListDelegatedServicesForAccount: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.ListDelegatedServicesForAccount.ListDelegatedServicesForAccount
+ Amazonka.Organizations.ListDelegatedServicesForAccount: instance Data.Hashable.Class.Hashable Amazonka.Organizations.ListDelegatedServicesForAccount.ListDelegatedServicesForAccount
+ Amazonka.Organizations.ListDelegatedServicesForAccount: instance GHC.Classes.Eq Amazonka.Organizations.ListDelegatedServicesForAccount.ListDelegatedServicesForAccount
+ Amazonka.Organizations.ListDelegatedServicesForAccount: instance GHC.Classes.Eq Amazonka.Organizations.ListDelegatedServicesForAccount.ListDelegatedServicesForAccountResponse
+ Amazonka.Organizations.ListDelegatedServicesForAccount: instance GHC.Generics.Generic Amazonka.Organizations.ListDelegatedServicesForAccount.ListDelegatedServicesForAccount
+ Amazonka.Organizations.ListDelegatedServicesForAccount: instance GHC.Generics.Generic Amazonka.Organizations.ListDelegatedServicesForAccount.ListDelegatedServicesForAccountResponse
+ Amazonka.Organizations.ListDelegatedServicesForAccount: instance GHC.Read.Read Amazonka.Organizations.ListDelegatedServicesForAccount.ListDelegatedServicesForAccount
+ Amazonka.Organizations.ListDelegatedServicesForAccount: instance GHC.Read.Read Amazonka.Organizations.ListDelegatedServicesForAccount.ListDelegatedServicesForAccountResponse
+ Amazonka.Organizations.ListDelegatedServicesForAccount: instance GHC.Show.Show Amazonka.Organizations.ListDelegatedServicesForAccount.ListDelegatedServicesForAccount
+ Amazonka.Organizations.ListDelegatedServicesForAccount: instance GHC.Show.Show Amazonka.Organizations.ListDelegatedServicesForAccount.ListDelegatedServicesForAccountResponse
+ Amazonka.Organizations.ListDelegatedServicesForAccount: listDelegatedServicesForAccountResponse_delegatedServices :: Lens' ListDelegatedServicesForAccountResponse (Maybe [DelegatedService])
+ Amazonka.Organizations.ListDelegatedServicesForAccount: listDelegatedServicesForAccountResponse_httpStatus :: Lens' ListDelegatedServicesForAccountResponse Int
+ Amazonka.Organizations.ListDelegatedServicesForAccount: listDelegatedServicesForAccountResponse_nextToken :: Lens' ListDelegatedServicesForAccountResponse (Maybe Text)
+ Amazonka.Organizations.ListDelegatedServicesForAccount: listDelegatedServicesForAccount_accountId :: Lens' ListDelegatedServicesForAccount Text
+ Amazonka.Organizations.ListDelegatedServicesForAccount: listDelegatedServicesForAccount_maxResults :: Lens' ListDelegatedServicesForAccount (Maybe Natural)
+ Amazonka.Organizations.ListDelegatedServicesForAccount: listDelegatedServicesForAccount_nextToken :: Lens' ListDelegatedServicesForAccount (Maybe Text)
+ Amazonka.Organizations.ListDelegatedServicesForAccount: newListDelegatedServicesForAccount :: Text -> ListDelegatedServicesForAccount
+ Amazonka.Organizations.ListDelegatedServicesForAccount: newListDelegatedServicesForAccountResponse :: Int -> ListDelegatedServicesForAccountResponse
+ Amazonka.Organizations.ListHandshakesForAccount: ListHandshakesForAccount' :: Maybe HandshakeFilter -> Maybe Natural -> Maybe Text -> ListHandshakesForAccount
+ Amazonka.Organizations.ListHandshakesForAccount: ListHandshakesForAccountResponse' :: Maybe [Handshake] -> Maybe Text -> Int -> ListHandshakesForAccountResponse
+ Amazonka.Organizations.ListHandshakesForAccount: [$sel:filter':ListHandshakesForAccount'] :: ListHandshakesForAccount -> Maybe HandshakeFilter
+ Amazonka.Organizations.ListHandshakesForAccount: [$sel:handshakes:ListHandshakesForAccountResponse'] :: ListHandshakesForAccountResponse -> Maybe [Handshake]
+ Amazonka.Organizations.ListHandshakesForAccount: [$sel:httpStatus:ListHandshakesForAccountResponse'] :: ListHandshakesForAccountResponse -> Int
+ Amazonka.Organizations.ListHandshakesForAccount: [$sel:maxResults:ListHandshakesForAccount'] :: ListHandshakesForAccount -> Maybe Natural
+ Amazonka.Organizations.ListHandshakesForAccount: [$sel:nextToken:ListHandshakesForAccount'] :: ListHandshakesForAccount -> Maybe Text
+ Amazonka.Organizations.ListHandshakesForAccount: [$sel:nextToken:ListHandshakesForAccountResponse'] :: ListHandshakesForAccountResponse -> Maybe Text
+ Amazonka.Organizations.ListHandshakesForAccount: data ListHandshakesForAccount
+ Amazonka.Organizations.ListHandshakesForAccount: data ListHandshakesForAccountResponse
+ Amazonka.Organizations.ListHandshakesForAccount: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
+ Amazonka.Organizations.ListHandshakesForAccount: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
+ Amazonka.Organizations.ListHandshakesForAccount: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
+ Amazonka.Organizations.ListHandshakesForAccount: instance Amazonka.Pager.AWSPager Amazonka.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
+ Amazonka.Organizations.ListHandshakesForAccount: instance Amazonka.Types.AWSRequest Amazonka.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
+ Amazonka.Organizations.ListHandshakesForAccount: instance Control.DeepSeq.NFData Amazonka.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
+ Amazonka.Organizations.ListHandshakesForAccount: instance Control.DeepSeq.NFData Amazonka.Organizations.ListHandshakesForAccount.ListHandshakesForAccountResponse
+ Amazonka.Organizations.ListHandshakesForAccount: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
+ Amazonka.Organizations.ListHandshakesForAccount: instance Data.Hashable.Class.Hashable Amazonka.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
+ Amazonka.Organizations.ListHandshakesForAccount: instance GHC.Classes.Eq Amazonka.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
+ Amazonka.Organizations.ListHandshakesForAccount: instance GHC.Classes.Eq Amazonka.Organizations.ListHandshakesForAccount.ListHandshakesForAccountResponse
+ Amazonka.Organizations.ListHandshakesForAccount: instance GHC.Generics.Generic Amazonka.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
+ Amazonka.Organizations.ListHandshakesForAccount: instance GHC.Generics.Generic Amazonka.Organizations.ListHandshakesForAccount.ListHandshakesForAccountResponse
+ Amazonka.Organizations.ListHandshakesForAccount: instance GHC.Read.Read Amazonka.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
+ Amazonka.Organizations.ListHandshakesForAccount: instance GHC.Show.Show Amazonka.Organizations.ListHandshakesForAccount.ListHandshakesForAccount
+ Amazonka.Organizations.ListHandshakesForAccount: instance GHC.Show.Show Amazonka.Organizations.ListHandshakesForAccount.ListHandshakesForAccountResponse
+ Amazonka.Organizations.ListHandshakesForAccount: listHandshakesForAccountResponse_handshakes :: Lens' ListHandshakesForAccountResponse (Maybe [Handshake])
+ Amazonka.Organizations.ListHandshakesForAccount: listHandshakesForAccountResponse_httpStatus :: Lens' ListHandshakesForAccountResponse Int
+ Amazonka.Organizations.ListHandshakesForAccount: listHandshakesForAccountResponse_nextToken :: Lens' ListHandshakesForAccountResponse (Maybe Text)
+ Amazonka.Organizations.ListHandshakesForAccount: listHandshakesForAccount_filter :: Lens' ListHandshakesForAccount (Maybe HandshakeFilter)
+ Amazonka.Organizations.ListHandshakesForAccount: listHandshakesForAccount_maxResults :: Lens' ListHandshakesForAccount (Maybe Natural)
+ Amazonka.Organizations.ListHandshakesForAccount: listHandshakesForAccount_nextToken :: Lens' ListHandshakesForAccount (Maybe Text)
+ Amazonka.Organizations.ListHandshakesForAccount: newListHandshakesForAccount :: ListHandshakesForAccount
+ Amazonka.Organizations.ListHandshakesForAccount: newListHandshakesForAccountResponse :: Int -> ListHandshakesForAccountResponse
+ Amazonka.Organizations.ListHandshakesForOrganization: ListHandshakesForOrganization' :: Maybe HandshakeFilter -> Maybe Natural -> Maybe Text -> ListHandshakesForOrganization
+ Amazonka.Organizations.ListHandshakesForOrganization: ListHandshakesForOrganizationResponse' :: Maybe [Handshake] -> Maybe Text -> Int -> ListHandshakesForOrganizationResponse
+ Amazonka.Organizations.ListHandshakesForOrganization: [$sel:filter':ListHandshakesForOrganization'] :: ListHandshakesForOrganization -> Maybe HandshakeFilter
+ Amazonka.Organizations.ListHandshakesForOrganization: [$sel:handshakes:ListHandshakesForOrganizationResponse'] :: ListHandshakesForOrganizationResponse -> Maybe [Handshake]
+ Amazonka.Organizations.ListHandshakesForOrganization: [$sel:httpStatus:ListHandshakesForOrganizationResponse'] :: ListHandshakesForOrganizationResponse -> Int
+ Amazonka.Organizations.ListHandshakesForOrganization: [$sel:maxResults:ListHandshakesForOrganization'] :: ListHandshakesForOrganization -> Maybe Natural
+ Amazonka.Organizations.ListHandshakesForOrganization: [$sel:nextToken:ListHandshakesForOrganization'] :: ListHandshakesForOrganization -> Maybe Text
+ Amazonka.Organizations.ListHandshakesForOrganization: [$sel:nextToken:ListHandshakesForOrganizationResponse'] :: ListHandshakesForOrganizationResponse -> Maybe Text
+ Amazonka.Organizations.ListHandshakesForOrganization: data ListHandshakesForOrganization
+ Amazonka.Organizations.ListHandshakesForOrganization: data ListHandshakesForOrganizationResponse
+ Amazonka.Organizations.ListHandshakesForOrganization: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
+ Amazonka.Organizations.ListHandshakesForOrganization: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
+ Amazonka.Organizations.ListHandshakesForOrganization: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
+ Amazonka.Organizations.ListHandshakesForOrganization: instance Amazonka.Pager.AWSPager Amazonka.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
+ Amazonka.Organizations.ListHandshakesForOrganization: instance Amazonka.Types.AWSRequest Amazonka.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
+ Amazonka.Organizations.ListHandshakesForOrganization: instance Control.DeepSeq.NFData Amazonka.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
+ Amazonka.Organizations.ListHandshakesForOrganization: instance Control.DeepSeq.NFData Amazonka.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganizationResponse
+ Amazonka.Organizations.ListHandshakesForOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
+ Amazonka.Organizations.ListHandshakesForOrganization: instance Data.Hashable.Class.Hashable Amazonka.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
+ Amazonka.Organizations.ListHandshakesForOrganization: instance GHC.Classes.Eq Amazonka.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
+ Amazonka.Organizations.ListHandshakesForOrganization: instance GHC.Classes.Eq Amazonka.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganizationResponse
+ Amazonka.Organizations.ListHandshakesForOrganization: instance GHC.Generics.Generic Amazonka.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
+ Amazonka.Organizations.ListHandshakesForOrganization: instance GHC.Generics.Generic Amazonka.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganizationResponse
+ Amazonka.Organizations.ListHandshakesForOrganization: instance GHC.Read.Read Amazonka.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
+ Amazonka.Organizations.ListHandshakesForOrganization: instance GHC.Show.Show Amazonka.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganization
+ Amazonka.Organizations.ListHandshakesForOrganization: instance GHC.Show.Show Amazonka.Organizations.ListHandshakesForOrganization.ListHandshakesForOrganizationResponse
+ Amazonka.Organizations.ListHandshakesForOrganization: listHandshakesForOrganizationResponse_handshakes :: Lens' ListHandshakesForOrganizationResponse (Maybe [Handshake])
+ Amazonka.Organizations.ListHandshakesForOrganization: listHandshakesForOrganizationResponse_httpStatus :: Lens' ListHandshakesForOrganizationResponse Int
+ Amazonka.Organizations.ListHandshakesForOrganization: listHandshakesForOrganizationResponse_nextToken :: Lens' ListHandshakesForOrganizationResponse (Maybe Text)
+ Amazonka.Organizations.ListHandshakesForOrganization: listHandshakesForOrganization_filter :: Lens' ListHandshakesForOrganization (Maybe HandshakeFilter)
+ Amazonka.Organizations.ListHandshakesForOrganization: listHandshakesForOrganization_maxResults :: Lens' ListHandshakesForOrganization (Maybe Natural)
+ Amazonka.Organizations.ListHandshakesForOrganization: listHandshakesForOrganization_nextToken :: Lens' ListHandshakesForOrganization (Maybe Text)
+ Amazonka.Organizations.ListHandshakesForOrganization: newListHandshakesForOrganization :: ListHandshakesForOrganization
+ Amazonka.Organizations.ListHandshakesForOrganization: newListHandshakesForOrganizationResponse :: Int -> ListHandshakesForOrganizationResponse
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: ListOrganizationalUnitsForParent' :: Maybe Natural -> Maybe Text -> Text -> ListOrganizationalUnitsForParent
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: ListOrganizationalUnitsForParentResponse' :: Maybe Text -> Maybe [OrganizationalUnit] -> Int -> ListOrganizationalUnitsForParentResponse
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: [$sel:httpStatus:ListOrganizationalUnitsForParentResponse'] :: ListOrganizationalUnitsForParentResponse -> Int
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: [$sel:maxResults:ListOrganizationalUnitsForParent'] :: ListOrganizationalUnitsForParent -> Maybe Natural
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: [$sel:nextToken:ListOrganizationalUnitsForParent'] :: ListOrganizationalUnitsForParent -> Maybe Text
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: [$sel:nextToken:ListOrganizationalUnitsForParentResponse'] :: ListOrganizationalUnitsForParentResponse -> Maybe Text
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: [$sel:organizationalUnits:ListOrganizationalUnitsForParentResponse'] :: ListOrganizationalUnitsForParentResponse -> Maybe [OrganizationalUnit]
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: [$sel:parentId:ListOrganizationalUnitsForParent'] :: ListOrganizationalUnitsForParent -> Text
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: data ListOrganizationalUnitsForParent
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: data ListOrganizationalUnitsForParentResponse
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: instance Amazonka.Pager.AWSPager Amazonka.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: instance Amazonka.Types.AWSRequest Amazonka.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: instance Control.DeepSeq.NFData Amazonka.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: instance Control.DeepSeq.NFData Amazonka.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParentResponse
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: instance Data.Hashable.Class.Hashable Amazonka.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: instance GHC.Classes.Eq Amazonka.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: instance GHC.Classes.Eq Amazonka.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParentResponse
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: instance GHC.Generics.Generic Amazonka.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: instance GHC.Generics.Generic Amazonka.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParentResponse
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: instance GHC.Read.Read Amazonka.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: instance GHC.Read.Read Amazonka.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParentResponse
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: instance GHC.Show.Show Amazonka.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParent
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: instance GHC.Show.Show Amazonka.Organizations.ListOrganizationalUnitsForParent.ListOrganizationalUnitsForParentResponse
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: listOrganizationalUnitsForParentResponse_httpStatus :: Lens' ListOrganizationalUnitsForParentResponse Int
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: listOrganizationalUnitsForParentResponse_nextToken :: Lens' ListOrganizationalUnitsForParentResponse (Maybe Text)
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: listOrganizationalUnitsForParentResponse_organizationalUnits :: Lens' ListOrganizationalUnitsForParentResponse (Maybe [OrganizationalUnit])
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: listOrganizationalUnitsForParent_maxResults :: Lens' ListOrganizationalUnitsForParent (Maybe Natural)
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: listOrganizationalUnitsForParent_nextToken :: Lens' ListOrganizationalUnitsForParent (Maybe Text)
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: listOrganizationalUnitsForParent_parentId :: Lens' ListOrganizationalUnitsForParent Text
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: newListOrganizationalUnitsForParent :: Text -> ListOrganizationalUnitsForParent
+ Amazonka.Organizations.ListOrganizationalUnitsForParent: newListOrganizationalUnitsForParentResponse :: Int -> ListOrganizationalUnitsForParentResponse
+ Amazonka.Organizations.ListParents: ListParents' :: Maybe Natural -> Maybe Text -> Text -> ListParents
+ Amazonka.Organizations.ListParents: ListParentsResponse' :: Maybe Text -> Maybe [Parent] -> Int -> ListParentsResponse
+ Amazonka.Organizations.ListParents: [$sel:childId:ListParents'] :: ListParents -> Text
+ Amazonka.Organizations.ListParents: [$sel:httpStatus:ListParentsResponse'] :: ListParentsResponse -> Int
+ Amazonka.Organizations.ListParents: [$sel:maxResults:ListParents'] :: ListParents -> Maybe Natural
+ Amazonka.Organizations.ListParents: [$sel:nextToken:ListParents'] :: ListParents -> Maybe Text
+ Amazonka.Organizations.ListParents: [$sel:nextToken:ListParentsResponse'] :: ListParentsResponse -> Maybe Text
+ Amazonka.Organizations.ListParents: [$sel:parents:ListParentsResponse'] :: ListParentsResponse -> Maybe [Parent]
+ Amazonka.Organizations.ListParents: data ListParents
+ Amazonka.Organizations.ListParents: data ListParentsResponse
+ Amazonka.Organizations.ListParents: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.ListParents.ListParents
+ Amazonka.Organizations.ListParents: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.ListParents.ListParents
+ Amazonka.Organizations.ListParents: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.ListParents.ListParents
+ Amazonka.Organizations.ListParents: instance Amazonka.Pager.AWSPager Amazonka.Organizations.ListParents.ListParents
+ Amazonka.Organizations.ListParents: instance Amazonka.Types.AWSRequest Amazonka.Organizations.ListParents.ListParents
+ Amazonka.Organizations.ListParents: instance Control.DeepSeq.NFData Amazonka.Organizations.ListParents.ListParents
+ Amazonka.Organizations.ListParents: instance Control.DeepSeq.NFData Amazonka.Organizations.ListParents.ListParentsResponse
+ Amazonka.Organizations.ListParents: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.ListParents.ListParents
+ Amazonka.Organizations.ListParents: instance Data.Hashable.Class.Hashable Amazonka.Organizations.ListParents.ListParents
+ Amazonka.Organizations.ListParents: instance GHC.Classes.Eq Amazonka.Organizations.ListParents.ListParents
+ Amazonka.Organizations.ListParents: instance GHC.Classes.Eq Amazonka.Organizations.ListParents.ListParentsResponse
+ Amazonka.Organizations.ListParents: instance GHC.Generics.Generic Amazonka.Organizations.ListParents.ListParents
+ Amazonka.Organizations.ListParents: instance GHC.Generics.Generic Amazonka.Organizations.ListParents.ListParentsResponse
+ Amazonka.Organizations.ListParents: instance GHC.Read.Read Amazonka.Organizations.ListParents.ListParents
+ Amazonka.Organizations.ListParents: instance GHC.Read.Read Amazonka.Organizations.ListParents.ListParentsResponse
+ Amazonka.Organizations.ListParents: instance GHC.Show.Show Amazonka.Organizations.ListParents.ListParents
+ Amazonka.Organizations.ListParents: instance GHC.Show.Show Amazonka.Organizations.ListParents.ListParentsResponse
+ Amazonka.Organizations.ListParents: listParentsResponse_httpStatus :: Lens' ListParentsResponse Int
+ Amazonka.Organizations.ListParents: listParentsResponse_nextToken :: Lens' ListParentsResponse (Maybe Text)
+ Amazonka.Organizations.ListParents: listParentsResponse_parents :: Lens' ListParentsResponse (Maybe [Parent])
+ Amazonka.Organizations.ListParents: listParents_childId :: Lens' ListParents Text
+ Amazonka.Organizations.ListParents: listParents_maxResults :: Lens' ListParents (Maybe Natural)
+ Amazonka.Organizations.ListParents: listParents_nextToken :: Lens' ListParents (Maybe Text)
+ Amazonka.Organizations.ListParents: newListParents :: Text -> ListParents
+ Amazonka.Organizations.ListParents: newListParentsResponse :: Int -> ListParentsResponse
+ Amazonka.Organizations.ListPolicies: ListPolicies' :: Maybe Natural -> Maybe Text -> PolicyType -> ListPolicies
+ Amazonka.Organizations.ListPolicies: ListPoliciesResponse' :: Maybe Text -> Maybe [PolicySummary] -> Int -> ListPoliciesResponse
+ Amazonka.Organizations.ListPolicies: [$sel:filter':ListPolicies'] :: ListPolicies -> PolicyType
+ Amazonka.Organizations.ListPolicies: [$sel:httpStatus:ListPoliciesResponse'] :: ListPoliciesResponse -> Int
+ Amazonka.Organizations.ListPolicies: [$sel:maxResults:ListPolicies'] :: ListPolicies -> Maybe Natural
+ Amazonka.Organizations.ListPolicies: [$sel:nextToken:ListPolicies'] :: ListPolicies -> Maybe Text
+ Amazonka.Organizations.ListPolicies: [$sel:nextToken:ListPoliciesResponse'] :: ListPoliciesResponse -> Maybe Text
+ Amazonka.Organizations.ListPolicies: [$sel:policies:ListPoliciesResponse'] :: ListPoliciesResponse -> Maybe [PolicySummary]
+ Amazonka.Organizations.ListPolicies: data ListPolicies
+ Amazonka.Organizations.ListPolicies: data ListPoliciesResponse
+ Amazonka.Organizations.ListPolicies: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.ListPolicies.ListPolicies
+ Amazonka.Organizations.ListPolicies: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.ListPolicies.ListPolicies
+ Amazonka.Organizations.ListPolicies: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.ListPolicies.ListPolicies
+ Amazonka.Organizations.ListPolicies: instance Amazonka.Pager.AWSPager Amazonka.Organizations.ListPolicies.ListPolicies
+ Amazonka.Organizations.ListPolicies: instance Amazonka.Types.AWSRequest Amazonka.Organizations.ListPolicies.ListPolicies
+ Amazonka.Organizations.ListPolicies: instance Control.DeepSeq.NFData Amazonka.Organizations.ListPolicies.ListPolicies
+ Amazonka.Organizations.ListPolicies: instance Control.DeepSeq.NFData Amazonka.Organizations.ListPolicies.ListPoliciesResponse
+ Amazonka.Organizations.ListPolicies: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.ListPolicies.ListPolicies
+ Amazonka.Organizations.ListPolicies: instance Data.Hashable.Class.Hashable Amazonka.Organizations.ListPolicies.ListPolicies
+ Amazonka.Organizations.ListPolicies: instance GHC.Classes.Eq Amazonka.Organizations.ListPolicies.ListPolicies
+ Amazonka.Organizations.ListPolicies: instance GHC.Classes.Eq Amazonka.Organizations.ListPolicies.ListPoliciesResponse
+ Amazonka.Organizations.ListPolicies: instance GHC.Generics.Generic Amazonka.Organizations.ListPolicies.ListPolicies
+ Amazonka.Organizations.ListPolicies: instance GHC.Generics.Generic Amazonka.Organizations.ListPolicies.ListPoliciesResponse
+ Amazonka.Organizations.ListPolicies: instance GHC.Read.Read Amazonka.Organizations.ListPolicies.ListPolicies
+ Amazonka.Organizations.ListPolicies: instance GHC.Read.Read Amazonka.Organizations.ListPolicies.ListPoliciesResponse
+ Amazonka.Organizations.ListPolicies: instance GHC.Show.Show Amazonka.Organizations.ListPolicies.ListPolicies
+ Amazonka.Organizations.ListPolicies: instance GHC.Show.Show Amazonka.Organizations.ListPolicies.ListPoliciesResponse
+ Amazonka.Organizations.ListPolicies: listPoliciesResponse_httpStatus :: Lens' ListPoliciesResponse Int
+ Amazonka.Organizations.ListPolicies: listPoliciesResponse_nextToken :: Lens' ListPoliciesResponse (Maybe Text)
+ Amazonka.Organizations.ListPolicies: listPoliciesResponse_policies :: Lens' ListPoliciesResponse (Maybe [PolicySummary])
+ Amazonka.Organizations.ListPolicies: listPolicies_filter :: Lens' ListPolicies PolicyType
+ Amazonka.Organizations.ListPolicies: listPolicies_maxResults :: Lens' ListPolicies (Maybe Natural)
+ Amazonka.Organizations.ListPolicies: listPolicies_nextToken :: Lens' ListPolicies (Maybe Text)
+ Amazonka.Organizations.ListPolicies: newListPolicies :: PolicyType -> ListPolicies
+ Amazonka.Organizations.ListPolicies: newListPoliciesResponse :: Int -> ListPoliciesResponse
+ Amazonka.Organizations.ListPoliciesForTarget: ListPoliciesForTarget' :: Maybe Natural -> Maybe Text -> Text -> PolicyType -> ListPoliciesForTarget
+ Amazonka.Organizations.ListPoliciesForTarget: ListPoliciesForTargetResponse' :: Maybe Text -> Maybe [PolicySummary] -> Int -> ListPoliciesForTargetResponse
+ Amazonka.Organizations.ListPoliciesForTarget: [$sel:filter':ListPoliciesForTarget'] :: ListPoliciesForTarget -> PolicyType
+ Amazonka.Organizations.ListPoliciesForTarget: [$sel:httpStatus:ListPoliciesForTargetResponse'] :: ListPoliciesForTargetResponse -> Int
+ Amazonka.Organizations.ListPoliciesForTarget: [$sel:maxResults:ListPoliciesForTarget'] :: ListPoliciesForTarget -> Maybe Natural
+ Amazonka.Organizations.ListPoliciesForTarget: [$sel:nextToken:ListPoliciesForTarget'] :: ListPoliciesForTarget -> Maybe Text
+ Amazonka.Organizations.ListPoliciesForTarget: [$sel:nextToken:ListPoliciesForTargetResponse'] :: ListPoliciesForTargetResponse -> Maybe Text
+ Amazonka.Organizations.ListPoliciesForTarget: [$sel:policies:ListPoliciesForTargetResponse'] :: ListPoliciesForTargetResponse -> Maybe [PolicySummary]
+ Amazonka.Organizations.ListPoliciesForTarget: [$sel:targetId:ListPoliciesForTarget'] :: ListPoliciesForTarget -> Text
+ Amazonka.Organizations.ListPoliciesForTarget: data ListPoliciesForTarget
+ Amazonka.Organizations.ListPoliciesForTarget: data ListPoliciesForTargetResponse
+ Amazonka.Organizations.ListPoliciesForTarget: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
+ Amazonka.Organizations.ListPoliciesForTarget: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
+ Amazonka.Organizations.ListPoliciesForTarget: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
+ Amazonka.Organizations.ListPoliciesForTarget: instance Amazonka.Pager.AWSPager Amazonka.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
+ Amazonka.Organizations.ListPoliciesForTarget: instance Amazonka.Types.AWSRequest Amazonka.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
+ Amazonka.Organizations.ListPoliciesForTarget: instance Control.DeepSeq.NFData Amazonka.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
+ Amazonka.Organizations.ListPoliciesForTarget: instance Control.DeepSeq.NFData Amazonka.Organizations.ListPoliciesForTarget.ListPoliciesForTargetResponse
+ Amazonka.Organizations.ListPoliciesForTarget: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
+ Amazonka.Organizations.ListPoliciesForTarget: instance Data.Hashable.Class.Hashable Amazonka.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
+ Amazonka.Organizations.ListPoliciesForTarget: instance GHC.Classes.Eq Amazonka.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
+ Amazonka.Organizations.ListPoliciesForTarget: instance GHC.Classes.Eq Amazonka.Organizations.ListPoliciesForTarget.ListPoliciesForTargetResponse
+ Amazonka.Organizations.ListPoliciesForTarget: instance GHC.Generics.Generic Amazonka.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
+ Amazonka.Organizations.ListPoliciesForTarget: instance GHC.Generics.Generic Amazonka.Organizations.ListPoliciesForTarget.ListPoliciesForTargetResponse
+ Amazonka.Organizations.ListPoliciesForTarget: instance GHC.Read.Read Amazonka.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
+ Amazonka.Organizations.ListPoliciesForTarget: instance GHC.Read.Read Amazonka.Organizations.ListPoliciesForTarget.ListPoliciesForTargetResponse
+ Amazonka.Organizations.ListPoliciesForTarget: instance GHC.Show.Show Amazonka.Organizations.ListPoliciesForTarget.ListPoliciesForTarget
+ Amazonka.Organizations.ListPoliciesForTarget: instance GHC.Show.Show Amazonka.Organizations.ListPoliciesForTarget.ListPoliciesForTargetResponse
+ Amazonka.Organizations.ListPoliciesForTarget: listPoliciesForTargetResponse_httpStatus :: Lens' ListPoliciesForTargetResponse Int
+ Amazonka.Organizations.ListPoliciesForTarget: listPoliciesForTargetResponse_nextToken :: Lens' ListPoliciesForTargetResponse (Maybe Text)
+ Amazonka.Organizations.ListPoliciesForTarget: listPoliciesForTargetResponse_policies :: Lens' ListPoliciesForTargetResponse (Maybe [PolicySummary])
+ Amazonka.Organizations.ListPoliciesForTarget: listPoliciesForTarget_filter :: Lens' ListPoliciesForTarget PolicyType
+ Amazonka.Organizations.ListPoliciesForTarget: listPoliciesForTarget_maxResults :: Lens' ListPoliciesForTarget (Maybe Natural)
+ Amazonka.Organizations.ListPoliciesForTarget: listPoliciesForTarget_nextToken :: Lens' ListPoliciesForTarget (Maybe Text)
+ Amazonka.Organizations.ListPoliciesForTarget: listPoliciesForTarget_targetId :: Lens' ListPoliciesForTarget Text
+ Amazonka.Organizations.ListPoliciesForTarget: newListPoliciesForTarget :: Text -> PolicyType -> ListPoliciesForTarget
+ Amazonka.Organizations.ListPoliciesForTarget: newListPoliciesForTargetResponse :: Int -> ListPoliciesForTargetResponse
+ Amazonka.Organizations.ListRoots: ListRoots' :: Maybe Natural -> Maybe Text -> ListRoots
+ Amazonka.Organizations.ListRoots: ListRootsResponse' :: Maybe Text -> Maybe [Root] -> Int -> ListRootsResponse
+ Amazonka.Organizations.ListRoots: [$sel:httpStatus:ListRootsResponse'] :: ListRootsResponse -> Int
+ Amazonka.Organizations.ListRoots: [$sel:maxResults:ListRoots'] :: ListRoots -> Maybe Natural
+ Amazonka.Organizations.ListRoots: [$sel:nextToken:ListRoots'] :: ListRoots -> Maybe Text
+ Amazonka.Organizations.ListRoots: [$sel:nextToken:ListRootsResponse'] :: ListRootsResponse -> Maybe Text
+ Amazonka.Organizations.ListRoots: [$sel:roots:ListRootsResponse'] :: ListRootsResponse -> Maybe [Root]
+ Amazonka.Organizations.ListRoots: data ListRoots
+ Amazonka.Organizations.ListRoots: data ListRootsResponse
+ Amazonka.Organizations.ListRoots: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.ListRoots.ListRoots
+ Amazonka.Organizations.ListRoots: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.ListRoots.ListRoots
+ Amazonka.Organizations.ListRoots: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.ListRoots.ListRoots
+ Amazonka.Organizations.ListRoots: instance Amazonka.Pager.AWSPager Amazonka.Organizations.ListRoots.ListRoots
+ Amazonka.Organizations.ListRoots: instance Amazonka.Types.AWSRequest Amazonka.Organizations.ListRoots.ListRoots
+ Amazonka.Organizations.ListRoots: instance Control.DeepSeq.NFData Amazonka.Organizations.ListRoots.ListRoots
+ Amazonka.Organizations.ListRoots: instance Control.DeepSeq.NFData Amazonka.Organizations.ListRoots.ListRootsResponse
+ Amazonka.Organizations.ListRoots: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.ListRoots.ListRoots
+ Amazonka.Organizations.ListRoots: instance Data.Hashable.Class.Hashable Amazonka.Organizations.ListRoots.ListRoots
+ Amazonka.Organizations.ListRoots: instance GHC.Classes.Eq Amazonka.Organizations.ListRoots.ListRoots
+ Amazonka.Organizations.ListRoots: instance GHC.Classes.Eq Amazonka.Organizations.ListRoots.ListRootsResponse
+ Amazonka.Organizations.ListRoots: instance GHC.Generics.Generic Amazonka.Organizations.ListRoots.ListRoots
+ Amazonka.Organizations.ListRoots: instance GHC.Generics.Generic Amazonka.Organizations.ListRoots.ListRootsResponse
+ Amazonka.Organizations.ListRoots: instance GHC.Read.Read Amazonka.Organizations.ListRoots.ListRoots
+ Amazonka.Organizations.ListRoots: instance GHC.Read.Read Amazonka.Organizations.ListRoots.ListRootsResponse
+ Amazonka.Organizations.ListRoots: instance GHC.Show.Show Amazonka.Organizations.ListRoots.ListRoots
+ Amazonka.Organizations.ListRoots: instance GHC.Show.Show Amazonka.Organizations.ListRoots.ListRootsResponse
+ Amazonka.Organizations.ListRoots: listRootsResponse_httpStatus :: Lens' ListRootsResponse Int
+ Amazonka.Organizations.ListRoots: listRootsResponse_nextToken :: Lens' ListRootsResponse (Maybe Text)
+ Amazonka.Organizations.ListRoots: listRootsResponse_roots :: Lens' ListRootsResponse (Maybe [Root])
+ Amazonka.Organizations.ListRoots: listRoots_maxResults :: Lens' ListRoots (Maybe Natural)
+ Amazonka.Organizations.ListRoots: listRoots_nextToken :: Lens' ListRoots (Maybe Text)
+ Amazonka.Organizations.ListRoots: newListRoots :: ListRoots
+ Amazonka.Organizations.ListRoots: newListRootsResponse :: Int -> ListRootsResponse
+ Amazonka.Organizations.ListTagsForResource: ListTagsForResource' :: Maybe Text -> Text -> ListTagsForResource
+ Amazonka.Organizations.ListTagsForResource: ListTagsForResourceResponse' :: Maybe Text -> Maybe [Tag] -> Int -> ListTagsForResourceResponse
+ Amazonka.Organizations.ListTagsForResource: [$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int
+ Amazonka.Organizations.ListTagsForResource: [$sel:nextToken:ListTagsForResource'] :: ListTagsForResource -> Maybe Text
+ Amazonka.Organizations.ListTagsForResource: [$sel:nextToken:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe Text
+ Amazonka.Organizations.ListTagsForResource: [$sel:resourceId:ListTagsForResource'] :: ListTagsForResource -> Text
+ Amazonka.Organizations.ListTagsForResource: [$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe [Tag]
+ Amazonka.Organizations.ListTagsForResource: data ListTagsForResource
+ Amazonka.Organizations.ListTagsForResource: data ListTagsForResourceResponse
+ Amazonka.Organizations.ListTagsForResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.ListTagsForResource.ListTagsForResource
+ Amazonka.Organizations.ListTagsForResource: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.ListTagsForResource.ListTagsForResource
+ Amazonka.Organizations.ListTagsForResource: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.ListTagsForResource.ListTagsForResource
+ Amazonka.Organizations.ListTagsForResource: instance Amazonka.Pager.AWSPager Amazonka.Organizations.ListTagsForResource.ListTagsForResource
+ Amazonka.Organizations.ListTagsForResource: instance Amazonka.Types.AWSRequest Amazonka.Organizations.ListTagsForResource.ListTagsForResource
+ Amazonka.Organizations.ListTagsForResource: instance Control.DeepSeq.NFData Amazonka.Organizations.ListTagsForResource.ListTagsForResource
+ Amazonka.Organizations.ListTagsForResource: instance Control.DeepSeq.NFData Amazonka.Organizations.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Organizations.ListTagsForResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.ListTagsForResource.ListTagsForResource
+ Amazonka.Organizations.ListTagsForResource: instance Data.Hashable.Class.Hashable Amazonka.Organizations.ListTagsForResource.ListTagsForResource
+ Amazonka.Organizations.ListTagsForResource: instance GHC.Classes.Eq Amazonka.Organizations.ListTagsForResource.ListTagsForResource
+ Amazonka.Organizations.ListTagsForResource: instance GHC.Classes.Eq Amazonka.Organizations.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Organizations.ListTagsForResource: instance GHC.Generics.Generic Amazonka.Organizations.ListTagsForResource.ListTagsForResource
+ Amazonka.Organizations.ListTagsForResource: instance GHC.Generics.Generic Amazonka.Organizations.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Organizations.ListTagsForResource: instance GHC.Read.Read Amazonka.Organizations.ListTagsForResource.ListTagsForResource
+ Amazonka.Organizations.ListTagsForResource: instance GHC.Read.Read Amazonka.Organizations.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Organizations.ListTagsForResource: instance GHC.Show.Show Amazonka.Organizations.ListTagsForResource.ListTagsForResource
+ Amazonka.Organizations.ListTagsForResource: instance GHC.Show.Show Amazonka.Organizations.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Organizations.ListTagsForResource: listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
+ Amazonka.Organizations.ListTagsForResource: listTagsForResourceResponse_nextToken :: Lens' ListTagsForResourceResponse (Maybe Text)
+ Amazonka.Organizations.ListTagsForResource: listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
+ Amazonka.Organizations.ListTagsForResource: listTagsForResource_nextToken :: Lens' ListTagsForResource (Maybe Text)
+ Amazonka.Organizations.ListTagsForResource: listTagsForResource_resourceId :: Lens' ListTagsForResource Text
+ Amazonka.Organizations.ListTagsForResource: newListTagsForResource :: Text -> ListTagsForResource
+ Amazonka.Organizations.ListTagsForResource: newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
+ Amazonka.Organizations.ListTargetsForPolicy: ListTargetsForPolicy' :: Maybe Natural -> Maybe Text -> Text -> ListTargetsForPolicy
+ Amazonka.Organizations.ListTargetsForPolicy: ListTargetsForPolicyResponse' :: Maybe Text -> Maybe [PolicyTargetSummary] -> Int -> ListTargetsForPolicyResponse
+ Amazonka.Organizations.ListTargetsForPolicy: [$sel:httpStatus:ListTargetsForPolicyResponse'] :: ListTargetsForPolicyResponse -> Int
+ Amazonka.Organizations.ListTargetsForPolicy: [$sel:maxResults:ListTargetsForPolicy'] :: ListTargetsForPolicy -> Maybe Natural
+ Amazonka.Organizations.ListTargetsForPolicy: [$sel:nextToken:ListTargetsForPolicy'] :: ListTargetsForPolicy -> Maybe Text
+ Amazonka.Organizations.ListTargetsForPolicy: [$sel:nextToken:ListTargetsForPolicyResponse'] :: ListTargetsForPolicyResponse -> Maybe Text
+ Amazonka.Organizations.ListTargetsForPolicy: [$sel:policyId:ListTargetsForPolicy'] :: ListTargetsForPolicy -> Text
+ Amazonka.Organizations.ListTargetsForPolicy: [$sel:targets:ListTargetsForPolicyResponse'] :: ListTargetsForPolicyResponse -> Maybe [PolicyTargetSummary]
+ Amazonka.Organizations.ListTargetsForPolicy: data ListTargetsForPolicy
+ Amazonka.Organizations.ListTargetsForPolicy: data ListTargetsForPolicyResponse
+ Amazonka.Organizations.ListTargetsForPolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
+ Amazonka.Organizations.ListTargetsForPolicy: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
+ Amazonka.Organizations.ListTargetsForPolicy: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
+ Amazonka.Organizations.ListTargetsForPolicy: instance Amazonka.Pager.AWSPager Amazonka.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
+ Amazonka.Organizations.ListTargetsForPolicy: instance Amazonka.Types.AWSRequest Amazonka.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
+ Amazonka.Organizations.ListTargetsForPolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
+ Amazonka.Organizations.ListTargetsForPolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.ListTargetsForPolicy.ListTargetsForPolicyResponse
+ Amazonka.Organizations.ListTargetsForPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
+ Amazonka.Organizations.ListTargetsForPolicy: instance Data.Hashable.Class.Hashable Amazonka.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
+ Amazonka.Organizations.ListTargetsForPolicy: instance GHC.Classes.Eq Amazonka.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
+ Amazonka.Organizations.ListTargetsForPolicy: instance GHC.Classes.Eq Amazonka.Organizations.ListTargetsForPolicy.ListTargetsForPolicyResponse
+ Amazonka.Organizations.ListTargetsForPolicy: instance GHC.Generics.Generic Amazonka.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
+ Amazonka.Organizations.ListTargetsForPolicy: instance GHC.Generics.Generic Amazonka.Organizations.ListTargetsForPolicy.ListTargetsForPolicyResponse
+ Amazonka.Organizations.ListTargetsForPolicy: instance GHC.Read.Read Amazonka.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
+ Amazonka.Organizations.ListTargetsForPolicy: instance GHC.Read.Read Amazonka.Organizations.ListTargetsForPolicy.ListTargetsForPolicyResponse
+ Amazonka.Organizations.ListTargetsForPolicy: instance GHC.Show.Show Amazonka.Organizations.ListTargetsForPolicy.ListTargetsForPolicy
+ Amazonka.Organizations.ListTargetsForPolicy: instance GHC.Show.Show Amazonka.Organizations.ListTargetsForPolicy.ListTargetsForPolicyResponse
+ Amazonka.Organizations.ListTargetsForPolicy: listTargetsForPolicyResponse_httpStatus :: Lens' ListTargetsForPolicyResponse Int
+ Amazonka.Organizations.ListTargetsForPolicy: listTargetsForPolicyResponse_nextToken :: Lens' ListTargetsForPolicyResponse (Maybe Text)
+ Amazonka.Organizations.ListTargetsForPolicy: listTargetsForPolicyResponse_targets :: Lens' ListTargetsForPolicyResponse (Maybe [PolicyTargetSummary])
+ Amazonka.Organizations.ListTargetsForPolicy: listTargetsForPolicy_maxResults :: Lens' ListTargetsForPolicy (Maybe Natural)
+ Amazonka.Organizations.ListTargetsForPolicy: listTargetsForPolicy_nextToken :: Lens' ListTargetsForPolicy (Maybe Text)
+ Amazonka.Organizations.ListTargetsForPolicy: listTargetsForPolicy_policyId :: Lens' ListTargetsForPolicy Text
+ Amazonka.Organizations.ListTargetsForPolicy: newListTargetsForPolicy :: Text -> ListTargetsForPolicy
+ Amazonka.Organizations.ListTargetsForPolicy: newListTargetsForPolicyResponse :: Int -> ListTargetsForPolicyResponse
+ Amazonka.Organizations.MoveAccount: MoveAccount' :: Text -> Text -> Text -> MoveAccount
+ Amazonka.Organizations.MoveAccount: MoveAccountResponse' :: MoveAccountResponse
+ Amazonka.Organizations.MoveAccount: [$sel:accountId:MoveAccount'] :: MoveAccount -> Text
+ Amazonka.Organizations.MoveAccount: [$sel:destinationParentId:MoveAccount'] :: MoveAccount -> Text
+ Amazonka.Organizations.MoveAccount: [$sel:sourceParentId:MoveAccount'] :: MoveAccount -> Text
+ Amazonka.Organizations.MoveAccount: data MoveAccount
+ Amazonka.Organizations.MoveAccount: data MoveAccountResponse
+ Amazonka.Organizations.MoveAccount: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.MoveAccount.MoveAccount
+ Amazonka.Organizations.MoveAccount: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.MoveAccount.MoveAccount
+ Amazonka.Organizations.MoveAccount: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.MoveAccount.MoveAccount
+ Amazonka.Organizations.MoveAccount: instance Amazonka.Types.AWSRequest Amazonka.Organizations.MoveAccount.MoveAccount
+ Amazonka.Organizations.MoveAccount: instance Control.DeepSeq.NFData Amazonka.Organizations.MoveAccount.MoveAccount
+ Amazonka.Organizations.MoveAccount: instance Control.DeepSeq.NFData Amazonka.Organizations.MoveAccount.MoveAccountResponse
+ Amazonka.Organizations.MoveAccount: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.MoveAccount.MoveAccount
+ Amazonka.Organizations.MoveAccount: instance Data.Hashable.Class.Hashable Amazonka.Organizations.MoveAccount.MoveAccount
+ Amazonka.Organizations.MoveAccount: instance GHC.Classes.Eq Amazonka.Organizations.MoveAccount.MoveAccount
+ Amazonka.Organizations.MoveAccount: instance GHC.Classes.Eq Amazonka.Organizations.MoveAccount.MoveAccountResponse
+ Amazonka.Organizations.MoveAccount: instance GHC.Generics.Generic Amazonka.Organizations.MoveAccount.MoveAccount
+ Amazonka.Organizations.MoveAccount: instance GHC.Generics.Generic Amazonka.Organizations.MoveAccount.MoveAccountResponse
+ Amazonka.Organizations.MoveAccount: instance GHC.Read.Read Amazonka.Organizations.MoveAccount.MoveAccount
+ Amazonka.Organizations.MoveAccount: instance GHC.Read.Read Amazonka.Organizations.MoveAccount.MoveAccountResponse
+ Amazonka.Organizations.MoveAccount: instance GHC.Show.Show Amazonka.Organizations.MoveAccount.MoveAccount
+ Amazonka.Organizations.MoveAccount: instance GHC.Show.Show Amazonka.Organizations.MoveAccount.MoveAccountResponse
+ Amazonka.Organizations.MoveAccount: moveAccount_accountId :: Lens' MoveAccount Text
+ Amazonka.Organizations.MoveAccount: moveAccount_destinationParentId :: Lens' MoveAccount Text
+ Amazonka.Organizations.MoveAccount: moveAccount_sourceParentId :: Lens' MoveAccount Text
+ Amazonka.Organizations.MoveAccount: newMoveAccount :: Text -> Text -> Text -> MoveAccount
+ Amazonka.Organizations.MoveAccount: newMoveAccountResponse :: MoveAccountResponse
+ Amazonka.Organizations.PutResourcePolicy: PutResourcePolicy' :: Maybe [Tag] -> Text -> PutResourcePolicy
+ Amazonka.Organizations.PutResourcePolicy: PutResourcePolicyResponse' :: Maybe ResourcePolicy -> Int -> PutResourcePolicyResponse
+ Amazonka.Organizations.PutResourcePolicy: [$sel:content:PutResourcePolicy'] :: PutResourcePolicy -> Text
+ Amazonka.Organizations.PutResourcePolicy: [$sel:httpStatus:PutResourcePolicyResponse'] :: PutResourcePolicyResponse -> Int
+ Amazonka.Organizations.PutResourcePolicy: [$sel:resourcePolicy:PutResourcePolicyResponse'] :: PutResourcePolicyResponse -> Maybe ResourcePolicy
+ Amazonka.Organizations.PutResourcePolicy: [$sel:tags:PutResourcePolicy'] :: PutResourcePolicy -> Maybe [Tag]
+ Amazonka.Organizations.PutResourcePolicy: data PutResourcePolicy
+ Amazonka.Organizations.PutResourcePolicy: data PutResourcePolicyResponse
+ Amazonka.Organizations.PutResourcePolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.PutResourcePolicy.PutResourcePolicy
+ Amazonka.Organizations.PutResourcePolicy: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.PutResourcePolicy.PutResourcePolicy
+ Amazonka.Organizations.PutResourcePolicy: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.PutResourcePolicy.PutResourcePolicy
+ Amazonka.Organizations.PutResourcePolicy: instance Amazonka.Types.AWSRequest Amazonka.Organizations.PutResourcePolicy.PutResourcePolicy
+ Amazonka.Organizations.PutResourcePolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.PutResourcePolicy.PutResourcePolicy
+ Amazonka.Organizations.PutResourcePolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.PutResourcePolicy.PutResourcePolicyResponse
+ Amazonka.Organizations.PutResourcePolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.PutResourcePolicy.PutResourcePolicy
+ Amazonka.Organizations.PutResourcePolicy: instance Data.Hashable.Class.Hashable Amazonka.Organizations.PutResourcePolicy.PutResourcePolicy
+ Amazonka.Organizations.PutResourcePolicy: instance GHC.Classes.Eq Amazonka.Organizations.PutResourcePolicy.PutResourcePolicy
+ Amazonka.Organizations.PutResourcePolicy: instance GHC.Classes.Eq Amazonka.Organizations.PutResourcePolicy.PutResourcePolicyResponse
+ Amazonka.Organizations.PutResourcePolicy: instance GHC.Generics.Generic Amazonka.Organizations.PutResourcePolicy.PutResourcePolicy
+ Amazonka.Organizations.PutResourcePolicy: instance GHC.Generics.Generic Amazonka.Organizations.PutResourcePolicy.PutResourcePolicyResponse
+ Amazonka.Organizations.PutResourcePolicy: instance GHC.Read.Read Amazonka.Organizations.PutResourcePolicy.PutResourcePolicy
+ Amazonka.Organizations.PutResourcePolicy: instance GHC.Read.Read Amazonka.Organizations.PutResourcePolicy.PutResourcePolicyResponse
+ Amazonka.Organizations.PutResourcePolicy: instance GHC.Show.Show Amazonka.Organizations.PutResourcePolicy.PutResourcePolicy
+ Amazonka.Organizations.PutResourcePolicy: instance GHC.Show.Show Amazonka.Organizations.PutResourcePolicy.PutResourcePolicyResponse
+ Amazonka.Organizations.PutResourcePolicy: newPutResourcePolicy :: Text -> PutResourcePolicy
+ Amazonka.Organizations.PutResourcePolicy: newPutResourcePolicyResponse :: Int -> PutResourcePolicyResponse
+ Amazonka.Organizations.PutResourcePolicy: putResourcePolicyResponse_httpStatus :: Lens' PutResourcePolicyResponse Int
+ Amazonka.Organizations.PutResourcePolicy: putResourcePolicyResponse_resourcePolicy :: Lens' PutResourcePolicyResponse (Maybe ResourcePolicy)
+ Amazonka.Organizations.PutResourcePolicy: putResourcePolicy_content :: Lens' PutResourcePolicy Text
+ Amazonka.Organizations.PutResourcePolicy: putResourcePolicy_tags :: Lens' PutResourcePolicy (Maybe [Tag])
+ Amazonka.Organizations.RegisterDelegatedAdministrator: RegisterDelegatedAdministrator' :: Text -> Text -> RegisterDelegatedAdministrator
+ Amazonka.Organizations.RegisterDelegatedAdministrator: RegisterDelegatedAdministratorResponse' :: RegisterDelegatedAdministratorResponse
+ Amazonka.Organizations.RegisterDelegatedAdministrator: [$sel:accountId:RegisterDelegatedAdministrator'] :: RegisterDelegatedAdministrator -> Text
+ Amazonka.Organizations.RegisterDelegatedAdministrator: [$sel:servicePrincipal:RegisterDelegatedAdministrator'] :: RegisterDelegatedAdministrator -> Text
+ Amazonka.Organizations.RegisterDelegatedAdministrator: data RegisterDelegatedAdministrator
+ Amazonka.Organizations.RegisterDelegatedAdministrator: data RegisterDelegatedAdministratorResponse
+ Amazonka.Organizations.RegisterDelegatedAdministrator: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.RegisterDelegatedAdministrator.RegisterDelegatedAdministrator
+ Amazonka.Organizations.RegisterDelegatedAdministrator: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.RegisterDelegatedAdministrator.RegisterDelegatedAdministrator
+ Amazonka.Organizations.RegisterDelegatedAdministrator: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.RegisterDelegatedAdministrator.RegisterDelegatedAdministrator
+ Amazonka.Organizations.RegisterDelegatedAdministrator: instance Amazonka.Types.AWSRequest Amazonka.Organizations.RegisterDelegatedAdministrator.RegisterDelegatedAdministrator
+ Amazonka.Organizations.RegisterDelegatedAdministrator: instance Control.DeepSeq.NFData Amazonka.Organizations.RegisterDelegatedAdministrator.RegisterDelegatedAdministrator
+ Amazonka.Organizations.RegisterDelegatedAdministrator: instance Control.DeepSeq.NFData Amazonka.Organizations.RegisterDelegatedAdministrator.RegisterDelegatedAdministratorResponse
+ Amazonka.Organizations.RegisterDelegatedAdministrator: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.RegisterDelegatedAdministrator.RegisterDelegatedAdministrator
+ Amazonka.Organizations.RegisterDelegatedAdministrator: instance Data.Hashable.Class.Hashable Amazonka.Organizations.RegisterDelegatedAdministrator.RegisterDelegatedAdministrator
+ Amazonka.Organizations.RegisterDelegatedAdministrator: instance GHC.Classes.Eq Amazonka.Organizations.RegisterDelegatedAdministrator.RegisterDelegatedAdministrator
+ Amazonka.Organizations.RegisterDelegatedAdministrator: instance GHC.Classes.Eq Amazonka.Organizations.RegisterDelegatedAdministrator.RegisterDelegatedAdministratorResponse
+ Amazonka.Organizations.RegisterDelegatedAdministrator: instance GHC.Generics.Generic Amazonka.Organizations.RegisterDelegatedAdministrator.RegisterDelegatedAdministrator
+ Amazonka.Organizations.RegisterDelegatedAdministrator: instance GHC.Generics.Generic Amazonka.Organizations.RegisterDelegatedAdministrator.RegisterDelegatedAdministratorResponse
+ Amazonka.Organizations.RegisterDelegatedAdministrator: instance GHC.Read.Read Amazonka.Organizations.RegisterDelegatedAdministrator.RegisterDelegatedAdministrator
+ Amazonka.Organizations.RegisterDelegatedAdministrator: instance GHC.Read.Read Amazonka.Organizations.RegisterDelegatedAdministrator.RegisterDelegatedAdministratorResponse
+ Amazonka.Organizations.RegisterDelegatedAdministrator: instance GHC.Show.Show Amazonka.Organizations.RegisterDelegatedAdministrator.RegisterDelegatedAdministrator
+ Amazonka.Organizations.RegisterDelegatedAdministrator: instance GHC.Show.Show Amazonka.Organizations.RegisterDelegatedAdministrator.RegisterDelegatedAdministratorResponse
+ Amazonka.Organizations.RegisterDelegatedAdministrator: newRegisterDelegatedAdministrator :: Text -> Text -> RegisterDelegatedAdministrator
+ Amazonka.Organizations.RegisterDelegatedAdministrator: newRegisterDelegatedAdministratorResponse :: RegisterDelegatedAdministratorResponse
+ Amazonka.Organizations.RegisterDelegatedAdministrator: registerDelegatedAdministrator_accountId :: Lens' RegisterDelegatedAdministrator Text
+ Amazonka.Organizations.RegisterDelegatedAdministrator: registerDelegatedAdministrator_servicePrincipal :: Lens' RegisterDelegatedAdministrator Text
+ Amazonka.Organizations.RemoveAccountFromOrganization: RemoveAccountFromOrganization' :: Text -> RemoveAccountFromOrganization
+ Amazonka.Organizations.RemoveAccountFromOrganization: RemoveAccountFromOrganizationResponse' :: RemoveAccountFromOrganizationResponse
+ Amazonka.Organizations.RemoveAccountFromOrganization: [$sel:accountId:RemoveAccountFromOrganization'] :: RemoveAccountFromOrganization -> Text
+ Amazonka.Organizations.RemoveAccountFromOrganization: data RemoveAccountFromOrganization
+ Amazonka.Organizations.RemoveAccountFromOrganization: data RemoveAccountFromOrganizationResponse
+ Amazonka.Organizations.RemoveAccountFromOrganization: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
+ Amazonka.Organizations.RemoveAccountFromOrganization: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
+ Amazonka.Organizations.RemoveAccountFromOrganization: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
+ Amazonka.Organizations.RemoveAccountFromOrganization: instance Amazonka.Types.AWSRequest Amazonka.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
+ Amazonka.Organizations.RemoveAccountFromOrganization: instance Control.DeepSeq.NFData Amazonka.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
+ Amazonka.Organizations.RemoveAccountFromOrganization: instance Control.DeepSeq.NFData Amazonka.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganizationResponse
+ Amazonka.Organizations.RemoveAccountFromOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
+ Amazonka.Organizations.RemoveAccountFromOrganization: instance Data.Hashable.Class.Hashable Amazonka.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
+ Amazonka.Organizations.RemoveAccountFromOrganization: instance GHC.Classes.Eq Amazonka.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
+ Amazonka.Organizations.RemoveAccountFromOrganization: instance GHC.Classes.Eq Amazonka.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganizationResponse
+ Amazonka.Organizations.RemoveAccountFromOrganization: instance GHC.Generics.Generic Amazonka.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
+ Amazonka.Organizations.RemoveAccountFromOrganization: instance GHC.Generics.Generic Amazonka.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganizationResponse
+ Amazonka.Organizations.RemoveAccountFromOrganization: instance GHC.Read.Read Amazonka.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
+ Amazonka.Organizations.RemoveAccountFromOrganization: instance GHC.Read.Read Amazonka.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganizationResponse
+ Amazonka.Organizations.RemoveAccountFromOrganization: instance GHC.Show.Show Amazonka.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganization
+ Amazonka.Organizations.RemoveAccountFromOrganization: instance GHC.Show.Show Amazonka.Organizations.RemoveAccountFromOrganization.RemoveAccountFromOrganizationResponse
+ Amazonka.Organizations.RemoveAccountFromOrganization: newRemoveAccountFromOrganization :: Text -> RemoveAccountFromOrganization
+ Amazonka.Organizations.RemoveAccountFromOrganization: newRemoveAccountFromOrganizationResponse :: RemoveAccountFromOrganizationResponse
+ Amazonka.Organizations.RemoveAccountFromOrganization: removeAccountFromOrganization_accountId :: Lens' RemoveAccountFromOrganization Text
+ Amazonka.Organizations.TagResource: TagResource' :: Text -> [Tag] -> TagResource
+ Amazonka.Organizations.TagResource: TagResourceResponse' :: TagResourceResponse
+ Amazonka.Organizations.TagResource: [$sel:resourceId:TagResource'] :: TagResource -> Text
+ Amazonka.Organizations.TagResource: [$sel:tags:TagResource'] :: TagResource -> [Tag]
+ Amazonka.Organizations.TagResource: data TagResource
+ Amazonka.Organizations.TagResource: data TagResourceResponse
+ Amazonka.Organizations.TagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.TagResource.TagResource
+ Amazonka.Organizations.TagResource: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.TagResource.TagResource
+ Amazonka.Organizations.TagResource: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.TagResource.TagResource
+ Amazonka.Organizations.TagResource: instance Amazonka.Types.AWSRequest Amazonka.Organizations.TagResource.TagResource
+ Amazonka.Organizations.TagResource: instance Control.DeepSeq.NFData Amazonka.Organizations.TagResource.TagResource
+ Amazonka.Organizations.TagResource: instance Control.DeepSeq.NFData Amazonka.Organizations.TagResource.TagResourceResponse
+ Amazonka.Organizations.TagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.TagResource.TagResource
+ Amazonka.Organizations.TagResource: instance Data.Hashable.Class.Hashable Amazonka.Organizations.TagResource.TagResource
+ Amazonka.Organizations.TagResource: instance GHC.Classes.Eq Amazonka.Organizations.TagResource.TagResource
+ Amazonka.Organizations.TagResource: instance GHC.Classes.Eq Amazonka.Organizations.TagResource.TagResourceResponse
+ Amazonka.Organizations.TagResource: instance GHC.Generics.Generic Amazonka.Organizations.TagResource.TagResource
+ Amazonka.Organizations.TagResource: instance GHC.Generics.Generic Amazonka.Organizations.TagResource.TagResourceResponse
+ Amazonka.Organizations.TagResource: instance GHC.Read.Read Amazonka.Organizations.TagResource.TagResource
+ Amazonka.Organizations.TagResource: instance GHC.Read.Read Amazonka.Organizations.TagResource.TagResourceResponse
+ Amazonka.Organizations.TagResource: instance GHC.Show.Show Amazonka.Organizations.TagResource.TagResource
+ Amazonka.Organizations.TagResource: instance GHC.Show.Show Amazonka.Organizations.TagResource.TagResourceResponse
+ Amazonka.Organizations.TagResource: newTagResource :: Text -> TagResource
+ Amazonka.Organizations.TagResource: newTagResourceResponse :: TagResourceResponse
+ Amazonka.Organizations.TagResource: tagResource_resourceId :: Lens' TagResource Text
+ Amazonka.Organizations.TagResource: tagResource_tags :: Lens' TagResource [Tag]
+ Amazonka.Organizations.Types: Account' :: Maybe Text -> Maybe (Sensitive Text) -> Maybe Text -> Maybe AccountJoinedMethod -> Maybe POSIX -> Maybe (Sensitive Text) -> Maybe AccountStatus -> Account
+ Amazonka.Organizations.Types: AccountJoinedMethod' :: Text -> AccountJoinedMethod
+ Amazonka.Organizations.Types: AccountStatus' :: Text -> AccountStatus
+ Amazonka.Organizations.Types: ActionType' :: Text -> ActionType
+ Amazonka.Organizations.Types: Child' :: Maybe Text -> Maybe ChildType -> Child
+ Amazonka.Organizations.Types: ChildType' :: Text -> ChildType
+ Amazonka.Organizations.Types: CreateAccountFailureReason' :: Text -> CreateAccountFailureReason
+ Amazonka.Organizations.Types: CreateAccountState' :: Text -> CreateAccountState
+ Amazonka.Organizations.Types: CreateAccountStatus' :: Maybe Text -> Maybe (Sensitive Text) -> Maybe POSIX -> Maybe CreateAccountFailureReason -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe CreateAccountState -> CreateAccountStatus
+ Amazonka.Organizations.Types: DelegatedAdministrator' :: Maybe Text -> Maybe POSIX -> Maybe (Sensitive Text) -> Maybe Text -> Maybe AccountJoinedMethod -> Maybe POSIX -> Maybe (Sensitive Text) -> Maybe AccountStatus -> DelegatedAdministrator
+ Amazonka.Organizations.Types: DelegatedService' :: Maybe POSIX -> Maybe Text -> DelegatedService
+ Amazonka.Organizations.Types: EffectivePolicy' :: Maybe POSIX -> Maybe Text -> Maybe EffectivePolicyType -> Maybe Text -> EffectivePolicy
+ Amazonka.Organizations.Types: EffectivePolicyType' :: Text -> EffectivePolicyType
+ Amazonka.Organizations.Types: EnabledServicePrincipal' :: Maybe POSIX -> Maybe Text -> EnabledServicePrincipal
+ Amazonka.Organizations.Types: Handshake' :: Maybe ActionType -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe [HandshakeParty] -> Maybe POSIX -> Maybe [HandshakeResource] -> Maybe HandshakeState -> Handshake
+ Amazonka.Organizations.Types: HandshakeFilter' :: Maybe ActionType -> Maybe Text -> HandshakeFilter
+ Amazonka.Organizations.Types: HandshakeParty' :: Sensitive Text -> HandshakePartyType -> HandshakeParty
+ Amazonka.Organizations.Types: HandshakePartyType' :: Text -> HandshakePartyType
+ Amazonka.Organizations.Types: HandshakeResource' :: Maybe [HandshakeResource] -> Maybe HandshakeResourceType -> Maybe (Sensitive Text) -> HandshakeResource
+ Amazonka.Organizations.Types: HandshakeResourceType' :: Text -> HandshakeResourceType
+ Amazonka.Organizations.Types: HandshakeState' :: Text -> HandshakeState
+ Amazonka.Organizations.Types: IAMUserAccessToBilling' :: Text -> IAMUserAccessToBilling
+ Amazonka.Organizations.Types: Organization' :: Maybe Text -> Maybe [PolicyTypeSummary] -> Maybe OrganizationFeatureSet -> Maybe Text -> Maybe Text -> Maybe (Sensitive Text) -> Maybe Text -> Organization
+ Amazonka.Organizations.Types: OrganizationFeatureSet' :: Text -> OrganizationFeatureSet
+ Amazonka.Organizations.Types: OrganizationalUnit' :: Maybe Text -> Maybe Text -> Maybe Text -> OrganizationalUnit
+ Amazonka.Organizations.Types: Parent' :: Maybe Text -> Maybe ParentType -> Parent
+ Amazonka.Organizations.Types: ParentType' :: Text -> ParentType
+ Amazonka.Organizations.Types: Policy' :: Maybe Text -> Maybe PolicySummary -> Policy
+ Amazonka.Organizations.Types: PolicySummary' :: Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PolicyType -> PolicySummary
+ Amazonka.Organizations.Types: PolicyTargetSummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe TargetType -> PolicyTargetSummary
+ Amazonka.Organizations.Types: PolicyType' :: Text -> PolicyType
+ Amazonka.Organizations.Types: PolicyTypeStatus' :: Text -> PolicyTypeStatus
+ Amazonka.Organizations.Types: PolicyTypeSummary' :: Maybe PolicyTypeStatus -> Maybe PolicyType -> PolicyTypeSummary
+ Amazonka.Organizations.Types: ResourcePolicy' :: Maybe Text -> Maybe ResourcePolicySummary -> ResourcePolicy
+ Amazonka.Organizations.Types: ResourcePolicySummary' :: Maybe Text -> Maybe Text -> ResourcePolicySummary
+ Amazonka.Organizations.Types: Root' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe [PolicyTypeSummary] -> Root
+ Amazonka.Organizations.Types: Tag' :: Text -> Text -> Tag
+ Amazonka.Organizations.Types: TargetType' :: Text -> TargetType
+ Amazonka.Organizations.Types: [$sel:accountId:CreateAccountStatus'] :: CreateAccountStatus -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:accountName:CreateAccountStatus'] :: CreateAccountStatus -> Maybe (Sensitive Text)
+ Amazonka.Organizations.Types: [$sel:action:Handshake'] :: Handshake -> Maybe ActionType
+ Amazonka.Organizations.Types: [$sel:actionType:HandshakeFilter'] :: HandshakeFilter -> Maybe ActionType
+ Amazonka.Organizations.Types: [$sel:arn:Account'] :: Account -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:arn:DelegatedAdministrator'] :: DelegatedAdministrator -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:arn:Handshake'] :: Handshake -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:arn:Organization'] :: Organization -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:arn:OrganizationalUnit'] :: OrganizationalUnit -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:arn:PolicySummary'] :: PolicySummary -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:arn:PolicyTargetSummary'] :: PolicyTargetSummary -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:arn:ResourcePolicySummary'] :: ResourcePolicySummary -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:arn:Root'] :: Root -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:availablePolicyTypes:Organization'] :: Organization -> Maybe [PolicyTypeSummary]
+ Amazonka.Organizations.Types: [$sel:awsManaged:PolicySummary'] :: PolicySummary -> Maybe Bool
+ Amazonka.Organizations.Types: [$sel:completedTimestamp:CreateAccountStatus'] :: CreateAccountStatus -> Maybe POSIX
+ Amazonka.Organizations.Types: [$sel:content:Policy'] :: Policy -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:content:ResourcePolicy'] :: ResourcePolicy -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:dateEnabled:EnabledServicePrincipal'] :: EnabledServicePrincipal -> Maybe POSIX
+ Amazonka.Organizations.Types: [$sel:delegationEnabledDate:DelegatedAdministrator'] :: DelegatedAdministrator -> Maybe POSIX
+ Amazonka.Organizations.Types: [$sel:delegationEnabledDate:DelegatedService'] :: DelegatedService -> Maybe POSIX
+ Amazonka.Organizations.Types: [$sel:description:PolicySummary'] :: PolicySummary -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:email:Account'] :: Account -> Maybe (Sensitive Text)
+ Amazonka.Organizations.Types: [$sel:email:DelegatedAdministrator'] :: DelegatedAdministrator -> Maybe (Sensitive Text)
+ Amazonka.Organizations.Types: [$sel:expirationTimestamp:Handshake'] :: Handshake -> Maybe POSIX
+ Amazonka.Organizations.Types: [$sel:failureReason:CreateAccountStatus'] :: CreateAccountStatus -> Maybe CreateAccountFailureReason
+ Amazonka.Organizations.Types: [$sel:featureSet:Organization'] :: Organization -> Maybe OrganizationFeatureSet
+ Amazonka.Organizations.Types: [$sel:govCloudAccountId:CreateAccountStatus'] :: CreateAccountStatus -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:id:Account'] :: Account -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:id:Child'] :: Child -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:id:CreateAccountStatus'] :: CreateAccountStatus -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:id:DelegatedAdministrator'] :: DelegatedAdministrator -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:id:Handshake'] :: Handshake -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:id:HandshakeParty'] :: HandshakeParty -> Sensitive Text
+ Amazonka.Organizations.Types: [$sel:id:Organization'] :: Organization -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:id:OrganizationalUnit'] :: OrganizationalUnit -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:id:Parent'] :: Parent -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:id:PolicySummary'] :: PolicySummary -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:id:ResourcePolicySummary'] :: ResourcePolicySummary -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:id:Root'] :: Root -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:joinedMethod:Account'] :: Account -> Maybe AccountJoinedMethod
+ Amazonka.Organizations.Types: [$sel:joinedMethod:DelegatedAdministrator'] :: DelegatedAdministrator -> Maybe AccountJoinedMethod
+ Amazonka.Organizations.Types: [$sel:joinedTimestamp:Account'] :: Account -> Maybe POSIX
+ Amazonka.Organizations.Types: [$sel:joinedTimestamp:DelegatedAdministrator'] :: DelegatedAdministrator -> Maybe POSIX
+ Amazonka.Organizations.Types: [$sel:key:Tag'] :: Tag -> Text
+ Amazonka.Organizations.Types: [$sel:lastUpdatedTimestamp:EffectivePolicy'] :: EffectivePolicy -> Maybe POSIX
+ Amazonka.Organizations.Types: [$sel:masterAccountArn:Organization'] :: Organization -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:masterAccountEmail:Organization'] :: Organization -> Maybe (Sensitive Text)
+ Amazonka.Organizations.Types: [$sel:masterAccountId:Organization'] :: Organization -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:name:Account'] :: Account -> Maybe (Sensitive Text)
+ Amazonka.Organizations.Types: [$sel:name:DelegatedAdministrator'] :: DelegatedAdministrator -> Maybe (Sensitive Text)
+ Amazonka.Organizations.Types: [$sel:name:OrganizationalUnit'] :: OrganizationalUnit -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:name:PolicySummary'] :: PolicySummary -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:name:PolicyTargetSummary'] :: PolicyTargetSummary -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:name:Root'] :: Root -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:parentHandshakeId:HandshakeFilter'] :: HandshakeFilter -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:parties:Handshake'] :: Handshake -> Maybe [HandshakeParty]
+ Amazonka.Organizations.Types: [$sel:policyContent:EffectivePolicy'] :: EffectivePolicy -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:policySummary:Policy'] :: Policy -> Maybe PolicySummary
+ Amazonka.Organizations.Types: [$sel:policyType:EffectivePolicy'] :: EffectivePolicy -> Maybe EffectivePolicyType
+ Amazonka.Organizations.Types: [$sel:policyTypes:Root'] :: Root -> Maybe [PolicyTypeSummary]
+ Amazonka.Organizations.Types: [$sel:requestedTimestamp:CreateAccountStatus'] :: CreateAccountStatus -> Maybe POSIX
+ Amazonka.Organizations.Types: [$sel:requestedTimestamp:Handshake'] :: Handshake -> Maybe POSIX
+ Amazonka.Organizations.Types: [$sel:resourcePolicySummary:ResourcePolicy'] :: ResourcePolicy -> Maybe ResourcePolicySummary
+ Amazonka.Organizations.Types: [$sel:resources:Handshake'] :: Handshake -> Maybe [HandshakeResource]
+ Amazonka.Organizations.Types: [$sel:resources:HandshakeResource'] :: HandshakeResource -> Maybe [HandshakeResource]
+ Amazonka.Organizations.Types: [$sel:servicePrincipal:DelegatedService'] :: DelegatedService -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:servicePrincipal:EnabledServicePrincipal'] :: EnabledServicePrincipal -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:state:CreateAccountStatus'] :: CreateAccountStatus -> Maybe CreateAccountState
+ Amazonka.Organizations.Types: [$sel:state:Handshake'] :: Handshake -> Maybe HandshakeState
+ Amazonka.Organizations.Types: [$sel:status:Account'] :: Account -> Maybe AccountStatus
+ Amazonka.Organizations.Types: [$sel:status:DelegatedAdministrator'] :: DelegatedAdministrator -> Maybe AccountStatus
+ Amazonka.Organizations.Types: [$sel:status:PolicyTypeSummary'] :: PolicyTypeSummary -> Maybe PolicyTypeStatus
+ Amazonka.Organizations.Types: [$sel:targetId:EffectivePolicy'] :: EffectivePolicy -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:targetId:PolicyTargetSummary'] :: PolicyTargetSummary -> Maybe Text
+ Amazonka.Organizations.Types: [$sel:type':Child'] :: Child -> Maybe ChildType
+ Amazonka.Organizations.Types: [$sel:type':HandshakeParty'] :: HandshakeParty -> HandshakePartyType
+ Amazonka.Organizations.Types: [$sel:type':HandshakeResource'] :: HandshakeResource -> Maybe HandshakeResourceType
+ Amazonka.Organizations.Types: [$sel:type':Parent'] :: Parent -> Maybe ParentType
+ Amazonka.Organizations.Types: [$sel:type':PolicySummary'] :: PolicySummary -> Maybe PolicyType
+ Amazonka.Organizations.Types: [$sel:type':PolicyTargetSummary'] :: PolicyTargetSummary -> Maybe TargetType
+ Amazonka.Organizations.Types: [$sel:type':PolicyTypeSummary'] :: PolicyTypeSummary -> Maybe PolicyType
+ Amazonka.Organizations.Types: [$sel:value:HandshakeResource'] :: HandshakeResource -> Maybe (Sensitive Text)
+ Amazonka.Organizations.Types: [$sel:value:Tag'] :: Tag -> Text
+ Amazonka.Organizations.Types: [fromAccountJoinedMethod] :: AccountJoinedMethod -> Text
+ Amazonka.Organizations.Types: [fromAccountStatus] :: AccountStatus -> Text
+ Amazonka.Organizations.Types: [fromActionType] :: ActionType -> Text
+ Amazonka.Organizations.Types: [fromChildType] :: ChildType -> Text
+ Amazonka.Organizations.Types: [fromCreateAccountFailureReason] :: CreateAccountFailureReason -> Text
+ Amazonka.Organizations.Types: [fromCreateAccountState] :: CreateAccountState -> Text
+ Amazonka.Organizations.Types: [fromEffectivePolicyType] :: EffectivePolicyType -> Text
+ Amazonka.Organizations.Types: [fromHandshakePartyType] :: HandshakePartyType -> Text
+ Amazonka.Organizations.Types: [fromHandshakeResourceType] :: HandshakeResourceType -> Text
+ Amazonka.Organizations.Types: [fromHandshakeState] :: HandshakeState -> Text
+ Amazonka.Organizations.Types: [fromIAMUserAccessToBilling] :: IAMUserAccessToBilling -> Text
+ Amazonka.Organizations.Types: [fromOrganizationFeatureSet] :: OrganizationFeatureSet -> Text
+ Amazonka.Organizations.Types: [fromParentType] :: ParentType -> Text
+ Amazonka.Organizations.Types: [fromPolicyTypeStatus] :: PolicyTypeStatus -> Text
+ Amazonka.Organizations.Types: [fromPolicyType] :: PolicyType -> Text
+ Amazonka.Organizations.Types: [fromTargetType] :: TargetType -> Text
+ Amazonka.Organizations.Types: _AWSOrganizationsNotInUseException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _AccessDeniedException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _AccessDeniedForDependencyException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _AccountAlreadyClosedException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _AccountAlreadyRegisteredException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _AccountNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _AccountNotRegisteredException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _AccountOwnerNotVerifiedException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _AlreadyInOrganizationException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _ChildNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _ConcurrentModificationException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _ConflictException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _ConstraintViolationException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _CreateAccountStatusNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _DestinationParentNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _DuplicateAccountException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _DuplicateHandshakeException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _DuplicateOrganizationalUnitException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _DuplicatePolicyAttachmentException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _DuplicatePolicyException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _EffectivePolicyNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _FinalizingOrganizationException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _HandshakeAlreadyInStateException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _HandshakeConstraintViolationException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _HandshakeNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _InvalidHandshakeTransitionException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _InvalidInputException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _MalformedPolicyDocumentException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _MasterCannotLeaveOrganizationException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _OrganizationNotEmptyException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _OrganizationalUnitNotEmptyException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _OrganizationalUnitNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _ParentNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _PolicyChangesInProgressException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _PolicyInUseException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _PolicyNotAttachedException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _PolicyNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _PolicyTypeAlreadyEnabledException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _PolicyTypeNotAvailableForOrganizationException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _PolicyTypeNotEnabledException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _ResourcePolicyNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _RootNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _ServiceException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _SourceParentNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _TargetNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _TooManyRequestsException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: _UnsupportedAPIEndpointException :: AsError a => Fold a ServiceError
+ Amazonka.Organizations.Types: account_arn :: Lens' Account (Maybe Text)
+ Amazonka.Organizations.Types: account_email :: Lens' Account (Maybe Text)
+ Amazonka.Organizations.Types: account_id :: Lens' Account (Maybe Text)
+ Amazonka.Organizations.Types: account_joinedMethod :: Lens' Account (Maybe AccountJoinedMethod)
+ Amazonka.Organizations.Types: account_joinedTimestamp :: Lens' Account (Maybe UTCTime)
+ Amazonka.Organizations.Types: account_name :: Lens' Account (Maybe Text)
+ Amazonka.Organizations.Types: account_status :: Lens' Account (Maybe AccountStatus)
+ Amazonka.Organizations.Types: child_id :: Lens' Child (Maybe Text)
+ Amazonka.Organizations.Types: child_type :: Lens' Child (Maybe ChildType)
+ Amazonka.Organizations.Types: createAccountStatus_accountId :: Lens' CreateAccountStatus (Maybe Text)
+ Amazonka.Organizations.Types: createAccountStatus_accountName :: Lens' CreateAccountStatus (Maybe Text)
+ Amazonka.Organizations.Types: createAccountStatus_completedTimestamp :: Lens' CreateAccountStatus (Maybe UTCTime)
+ Amazonka.Organizations.Types: createAccountStatus_failureReason :: Lens' CreateAccountStatus (Maybe CreateAccountFailureReason)
+ Amazonka.Organizations.Types: createAccountStatus_govCloudAccountId :: Lens' CreateAccountStatus (Maybe Text)
+ Amazonka.Organizations.Types: createAccountStatus_id :: Lens' CreateAccountStatus (Maybe Text)
+ Amazonka.Organizations.Types: createAccountStatus_requestedTimestamp :: Lens' CreateAccountStatus (Maybe UTCTime)
+ Amazonka.Organizations.Types: createAccountStatus_state :: Lens' CreateAccountStatus (Maybe CreateAccountState)
+ Amazonka.Organizations.Types: data Account
+ Amazonka.Organizations.Types: data Child
+ Amazonka.Organizations.Types: data CreateAccountStatus
+ Amazonka.Organizations.Types: data DelegatedAdministrator
+ Amazonka.Organizations.Types: data DelegatedService
+ Amazonka.Organizations.Types: data EffectivePolicy
+ Amazonka.Organizations.Types: data EnabledServicePrincipal
+ Amazonka.Organizations.Types: data Handshake
+ Amazonka.Organizations.Types: data HandshakeFilter
+ Amazonka.Organizations.Types: data HandshakeParty
+ Amazonka.Organizations.Types: data HandshakeResource
+ Amazonka.Organizations.Types: data Organization
+ Amazonka.Organizations.Types: data OrganizationalUnit
+ Amazonka.Organizations.Types: data Parent
+ Amazonka.Organizations.Types: data Policy
+ Amazonka.Organizations.Types: data PolicySummary
+ Amazonka.Organizations.Types: data PolicyTargetSummary
+ Amazonka.Organizations.Types: data PolicyTypeSummary
+ Amazonka.Organizations.Types: data ResourcePolicy
+ Amazonka.Organizations.Types: data ResourcePolicySummary
+ Amazonka.Organizations.Types: data Root
+ Amazonka.Organizations.Types: data Tag
+ Amazonka.Organizations.Types: defaultService :: Service
+ Amazonka.Organizations.Types: delegatedAdministrator_arn :: Lens' DelegatedAdministrator (Maybe Text)
+ Amazonka.Organizations.Types: delegatedAdministrator_delegationEnabledDate :: Lens' DelegatedAdministrator (Maybe UTCTime)
+ Amazonka.Organizations.Types: delegatedAdministrator_email :: Lens' DelegatedAdministrator (Maybe Text)
+ Amazonka.Organizations.Types: delegatedAdministrator_id :: Lens' DelegatedAdministrator (Maybe Text)
+ Amazonka.Organizations.Types: delegatedAdministrator_joinedMethod :: Lens' DelegatedAdministrator (Maybe AccountJoinedMethod)
+ Amazonka.Organizations.Types: delegatedAdministrator_joinedTimestamp :: Lens' DelegatedAdministrator (Maybe UTCTime)
+ Amazonka.Organizations.Types: delegatedAdministrator_name :: Lens' DelegatedAdministrator (Maybe Text)
+ Amazonka.Organizations.Types: delegatedAdministrator_status :: Lens' DelegatedAdministrator (Maybe AccountStatus)
+ Amazonka.Organizations.Types: delegatedService_delegationEnabledDate :: Lens' DelegatedService (Maybe UTCTime)
+ Amazonka.Organizations.Types: delegatedService_servicePrincipal :: Lens' DelegatedService (Maybe Text)
+ Amazonka.Organizations.Types: effectivePolicy_lastUpdatedTimestamp :: Lens' EffectivePolicy (Maybe UTCTime)
+ Amazonka.Organizations.Types: effectivePolicy_policyContent :: Lens' EffectivePolicy (Maybe Text)
+ Amazonka.Organizations.Types: effectivePolicy_policyType :: Lens' EffectivePolicy (Maybe EffectivePolicyType)
+ Amazonka.Organizations.Types: effectivePolicy_targetId :: Lens' EffectivePolicy (Maybe Text)
+ Amazonka.Organizations.Types: enabledServicePrincipal_dateEnabled :: Lens' EnabledServicePrincipal (Maybe UTCTime)
+ Amazonka.Organizations.Types: enabledServicePrincipal_servicePrincipal :: Lens' EnabledServicePrincipal (Maybe Text)
+ Amazonka.Organizations.Types: handshakeFilter_actionType :: Lens' HandshakeFilter (Maybe ActionType)
+ Amazonka.Organizations.Types: handshakeFilter_parentHandshakeId :: Lens' HandshakeFilter (Maybe Text)
+ Amazonka.Organizations.Types: handshakeParty_id :: Lens' HandshakeParty Text
+ Amazonka.Organizations.Types: handshakeParty_type :: Lens' HandshakeParty HandshakePartyType
+ Amazonka.Organizations.Types: handshakeResource_resources :: Lens' HandshakeResource (Maybe [HandshakeResource])
+ Amazonka.Organizations.Types: handshakeResource_type :: Lens' HandshakeResource (Maybe HandshakeResourceType)
+ Amazonka.Organizations.Types: handshakeResource_value :: Lens' HandshakeResource (Maybe Text)
+ Amazonka.Organizations.Types: handshake_action :: Lens' Handshake (Maybe ActionType)
+ Amazonka.Organizations.Types: handshake_arn :: Lens' Handshake (Maybe Text)
+ Amazonka.Organizations.Types: handshake_expirationTimestamp :: Lens' Handshake (Maybe UTCTime)
+ Amazonka.Organizations.Types: handshake_id :: Lens' Handshake (Maybe Text)
+ Amazonka.Organizations.Types: handshake_parties :: Lens' Handshake (Maybe [HandshakeParty])
+ Amazonka.Organizations.Types: handshake_requestedTimestamp :: Lens' Handshake (Maybe UTCTime)
+ Amazonka.Organizations.Types: handshake_resources :: Lens' Handshake (Maybe [HandshakeResource])
+ Amazonka.Organizations.Types: handshake_state :: Lens' Handshake (Maybe HandshakeState)
+ Amazonka.Organizations.Types: newAccount :: Account
+ Amazonka.Organizations.Types: newChild :: Child
+ Amazonka.Organizations.Types: newCreateAccountStatus :: CreateAccountStatus
+ Amazonka.Organizations.Types: newDelegatedAdministrator :: DelegatedAdministrator
+ Amazonka.Organizations.Types: newDelegatedService :: DelegatedService
+ Amazonka.Organizations.Types: newEffectivePolicy :: EffectivePolicy
+ Amazonka.Organizations.Types: newEnabledServicePrincipal :: EnabledServicePrincipal
+ Amazonka.Organizations.Types: newHandshake :: Handshake
+ Amazonka.Organizations.Types: newHandshakeFilter :: HandshakeFilter
+ Amazonka.Organizations.Types: newHandshakeParty :: Text -> HandshakePartyType -> HandshakeParty
+ Amazonka.Organizations.Types: newHandshakeResource :: HandshakeResource
+ Amazonka.Organizations.Types: newOrganization :: Organization
+ Amazonka.Organizations.Types: newOrganizationalUnit :: OrganizationalUnit
+ Amazonka.Organizations.Types: newParent :: Parent
+ Amazonka.Organizations.Types: newPolicy :: Policy
+ Amazonka.Organizations.Types: newPolicySummary :: PolicySummary
+ Amazonka.Organizations.Types: newPolicyTargetSummary :: PolicyTargetSummary
+ Amazonka.Organizations.Types: newPolicyTypeSummary :: PolicyTypeSummary
+ Amazonka.Organizations.Types: newResourcePolicy :: ResourcePolicy
+ Amazonka.Organizations.Types: newResourcePolicySummary :: ResourcePolicySummary
+ Amazonka.Organizations.Types: newRoot :: Root
+ Amazonka.Organizations.Types: newTag :: Text -> Text -> Tag
+ Amazonka.Organizations.Types: newtype AccountJoinedMethod
+ Amazonka.Organizations.Types: newtype AccountStatus
+ Amazonka.Organizations.Types: newtype ActionType
+ Amazonka.Organizations.Types: newtype ChildType
+ Amazonka.Organizations.Types: newtype CreateAccountFailureReason
+ Amazonka.Organizations.Types: newtype CreateAccountState
+ Amazonka.Organizations.Types: newtype EffectivePolicyType
+ Amazonka.Organizations.Types: newtype HandshakePartyType
+ Amazonka.Organizations.Types: newtype HandshakeResourceType
+ Amazonka.Organizations.Types: newtype HandshakeState
+ Amazonka.Organizations.Types: newtype IAMUserAccessToBilling
+ Amazonka.Organizations.Types: newtype OrganizationFeatureSet
+ Amazonka.Organizations.Types: newtype ParentType
+ Amazonka.Organizations.Types: newtype PolicyType
+ Amazonka.Organizations.Types: newtype PolicyTypeStatus
+ Amazonka.Organizations.Types: newtype TargetType
+ Amazonka.Organizations.Types: organization_arn :: Lens' Organization (Maybe Text)
+ Amazonka.Organizations.Types: organization_availablePolicyTypes :: Lens' Organization (Maybe [PolicyTypeSummary])
+ Amazonka.Organizations.Types: organization_featureSet :: Lens' Organization (Maybe OrganizationFeatureSet)
+ Amazonka.Organizations.Types: organization_id :: Lens' Organization (Maybe Text)
+ Amazonka.Organizations.Types: organization_masterAccountArn :: Lens' Organization (Maybe Text)
+ Amazonka.Organizations.Types: organization_masterAccountEmail :: Lens' Organization (Maybe Text)
+ Amazonka.Organizations.Types: organization_masterAccountId :: Lens' Organization (Maybe Text)
+ Amazonka.Organizations.Types: organizationalUnit_arn :: Lens' OrganizationalUnit (Maybe Text)
+ Amazonka.Organizations.Types: organizationalUnit_id :: Lens' OrganizationalUnit (Maybe Text)
+ Amazonka.Organizations.Types: organizationalUnit_name :: Lens' OrganizationalUnit (Maybe Text)
+ Amazonka.Organizations.Types: parent_id :: Lens' Parent (Maybe Text)
+ Amazonka.Organizations.Types: parent_type :: Lens' Parent (Maybe ParentType)
+ Amazonka.Organizations.Types: pattern AccountJoinedMethod_CREATED :: AccountJoinedMethod
+ Amazonka.Organizations.Types: pattern AccountJoinedMethod_INVITED :: AccountJoinedMethod
+ Amazonka.Organizations.Types: pattern AccountStatus_ACTIVE :: AccountStatus
+ Amazonka.Organizations.Types: pattern AccountStatus_PENDING_CLOSURE :: AccountStatus
+ Amazonka.Organizations.Types: pattern AccountStatus_SUSPENDED :: AccountStatus
+ Amazonka.Organizations.Types: pattern ActionType_ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE :: ActionType
+ Amazonka.Organizations.Types: pattern ActionType_APPROVE_ALL_FEATURES :: ActionType
+ Amazonka.Organizations.Types: pattern ActionType_ENABLE_ALL_FEATURES :: ActionType
+ Amazonka.Organizations.Types: pattern ActionType_INVITE :: ActionType
+ Amazonka.Organizations.Types: pattern ChildType_ACCOUNT :: ChildType
+ Amazonka.Organizations.Types: pattern ChildType_ORGANIZATIONAL_UNIT :: ChildType
+ Amazonka.Organizations.Types: pattern CreateAccountFailureReason_ACCOUNT_LIMIT_EXCEEDED :: CreateAccountFailureReason
+ Amazonka.Organizations.Types: pattern CreateAccountFailureReason_CONCURRENT_ACCOUNT_MODIFICATION :: CreateAccountFailureReason
+ Amazonka.Organizations.Types: pattern CreateAccountFailureReason_EMAIL_ALREADY_EXISTS :: CreateAccountFailureReason
+ Amazonka.Organizations.Types: pattern CreateAccountFailureReason_FAILED_BUSINESS_VALIDATION :: CreateAccountFailureReason
+ Amazonka.Organizations.Types: pattern CreateAccountFailureReason_GOVCLOUD_ACCOUNT_ALREADY_EXISTS :: CreateAccountFailureReason
+ Amazonka.Organizations.Types: pattern CreateAccountFailureReason_INTERNAL_FAILURE :: CreateAccountFailureReason
+ Amazonka.Organizations.Types: pattern CreateAccountFailureReason_INVALID_ADDRESS :: CreateAccountFailureReason
+ Amazonka.Organizations.Types: pattern CreateAccountFailureReason_INVALID_EMAIL :: CreateAccountFailureReason
+ Amazonka.Organizations.Types: pattern CreateAccountFailureReason_INVALID_IDENTITY_FOR_BUSINESS_VALIDATION :: CreateAccountFailureReason
+ Amazonka.Organizations.Types: pattern CreateAccountFailureReason_INVALID_PAYMENT_INSTRUMENT :: CreateAccountFailureReason
+ Amazonka.Organizations.Types: pattern CreateAccountFailureReason_MISSING_BUSINESS_VALIDATION :: CreateAccountFailureReason
+ Amazonka.Organizations.Types: pattern CreateAccountFailureReason_MISSING_PAYMENT_INSTRUMENT :: CreateAccountFailureReason
+ Amazonka.Organizations.Types: pattern CreateAccountFailureReason_PENDING_BUSINESS_VALIDATION :: CreateAccountFailureReason
+ Amazonka.Organizations.Types: pattern CreateAccountFailureReason_UNKNOWN_BUSINESS_VALIDATION :: CreateAccountFailureReason
+ Amazonka.Organizations.Types: pattern CreateAccountFailureReason_UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED :: CreateAccountFailureReason
+ Amazonka.Organizations.Types: pattern CreateAccountState_FAILED :: CreateAccountState
+ Amazonka.Organizations.Types: pattern CreateAccountState_IN_PROGRESS :: CreateAccountState
+ Amazonka.Organizations.Types: pattern CreateAccountState_SUCCEEDED :: CreateAccountState
+ Amazonka.Organizations.Types: pattern EffectivePolicyType_AISERVICES_OPT_OUT_POLICY :: EffectivePolicyType
+ Amazonka.Organizations.Types: pattern EffectivePolicyType_BACKUP_POLICY :: EffectivePolicyType
+ Amazonka.Organizations.Types: pattern EffectivePolicyType_TAG_POLICY :: EffectivePolicyType
+ Amazonka.Organizations.Types: pattern HandshakePartyType_ACCOUNT :: HandshakePartyType
+ Amazonka.Organizations.Types: pattern HandshakePartyType_EMAIL :: HandshakePartyType
+ Amazonka.Organizations.Types: pattern HandshakePartyType_ORGANIZATION :: HandshakePartyType
+ Amazonka.Organizations.Types: pattern HandshakeResourceType_ACCOUNT :: HandshakeResourceType
+ Amazonka.Organizations.Types: pattern HandshakeResourceType_EMAIL :: HandshakeResourceType
+ Amazonka.Organizations.Types: pattern HandshakeResourceType_MASTER_EMAIL :: HandshakeResourceType
+ Amazonka.Organizations.Types: pattern HandshakeResourceType_MASTER_NAME :: HandshakeResourceType
+ Amazonka.Organizations.Types: pattern HandshakeResourceType_NOTES :: HandshakeResourceType
+ Amazonka.Organizations.Types: pattern HandshakeResourceType_ORGANIZATION :: HandshakeResourceType
+ Amazonka.Organizations.Types: pattern HandshakeResourceType_ORGANIZATION_FEATURE_SET :: HandshakeResourceType
+ Amazonka.Organizations.Types: pattern HandshakeResourceType_PARENT_HANDSHAKE :: HandshakeResourceType
+ Amazonka.Organizations.Types: pattern HandshakeState_ACCEPTED :: HandshakeState
+ Amazonka.Organizations.Types: pattern HandshakeState_CANCELED :: HandshakeState
+ Amazonka.Organizations.Types: pattern HandshakeState_DECLINED :: HandshakeState
+ Amazonka.Organizations.Types: pattern HandshakeState_EXPIRED :: HandshakeState
+ Amazonka.Organizations.Types: pattern HandshakeState_OPEN :: HandshakeState
+ Amazonka.Organizations.Types: pattern HandshakeState_REQUESTED :: HandshakeState
+ Amazonka.Organizations.Types: pattern IAMUserAccessToBilling_ALLOW :: IAMUserAccessToBilling
+ Amazonka.Organizations.Types: pattern IAMUserAccessToBilling_DENY :: IAMUserAccessToBilling
+ Amazonka.Organizations.Types: pattern OrganizationFeatureSet_ALL :: OrganizationFeatureSet
+ Amazonka.Organizations.Types: pattern OrganizationFeatureSet_CONSOLIDATED_BILLING :: OrganizationFeatureSet
+ Amazonka.Organizations.Types: pattern ParentType_ORGANIZATIONAL_UNIT :: ParentType
+ Amazonka.Organizations.Types: pattern ParentType_ROOT :: ParentType
+ Amazonka.Organizations.Types: pattern PolicyTypeStatus_ENABLED :: PolicyTypeStatus
+ Amazonka.Organizations.Types: pattern PolicyTypeStatus_PENDING_DISABLE :: PolicyTypeStatus
+ Amazonka.Organizations.Types: pattern PolicyTypeStatus_PENDING_ENABLE :: PolicyTypeStatus
+ Amazonka.Organizations.Types: pattern PolicyType_AISERVICES_OPT_OUT_POLICY :: PolicyType
+ Amazonka.Organizations.Types: pattern PolicyType_BACKUP_POLICY :: PolicyType
+ Amazonka.Organizations.Types: pattern PolicyType_SERVICE_CONTROL_POLICY :: PolicyType
+ Amazonka.Organizations.Types: pattern PolicyType_TAG_POLICY :: PolicyType
+ Amazonka.Organizations.Types: pattern TargetType_ACCOUNT :: TargetType
+ Amazonka.Organizations.Types: pattern TargetType_ORGANIZATIONAL_UNIT :: TargetType
+ Amazonka.Organizations.Types: pattern TargetType_ROOT :: TargetType
+ Amazonka.Organizations.Types: policySummary_arn :: Lens' PolicySummary (Maybe Text)
+ Amazonka.Organizations.Types: policySummary_awsManaged :: Lens' PolicySummary (Maybe Bool)
+ Amazonka.Organizations.Types: policySummary_description :: Lens' PolicySummary (Maybe Text)
+ Amazonka.Organizations.Types: policySummary_id :: Lens' PolicySummary (Maybe Text)
+ Amazonka.Organizations.Types: policySummary_name :: Lens' PolicySummary (Maybe Text)
+ Amazonka.Organizations.Types: policySummary_type :: Lens' PolicySummary (Maybe PolicyType)
+ Amazonka.Organizations.Types: policyTargetSummary_arn :: Lens' PolicyTargetSummary (Maybe Text)
+ Amazonka.Organizations.Types: policyTargetSummary_name :: Lens' PolicyTargetSummary (Maybe Text)
+ Amazonka.Organizations.Types: policyTargetSummary_targetId :: Lens' PolicyTargetSummary (Maybe Text)
+ Amazonka.Organizations.Types: policyTargetSummary_type :: Lens' PolicyTargetSummary (Maybe TargetType)
+ Amazonka.Organizations.Types: policyTypeSummary_status :: Lens' PolicyTypeSummary (Maybe PolicyTypeStatus)
+ Amazonka.Organizations.Types: policyTypeSummary_type :: Lens' PolicyTypeSummary (Maybe PolicyType)
+ Amazonka.Organizations.Types: policy_content :: Lens' Policy (Maybe Text)
+ Amazonka.Organizations.Types: policy_policySummary :: Lens' Policy (Maybe PolicySummary)
+ Amazonka.Organizations.Types: resourcePolicySummary_arn :: Lens' ResourcePolicySummary (Maybe Text)
+ Amazonka.Organizations.Types: resourcePolicySummary_id :: Lens' ResourcePolicySummary (Maybe Text)
+ Amazonka.Organizations.Types: resourcePolicy_content :: Lens' ResourcePolicy (Maybe Text)
+ Amazonka.Organizations.Types: resourcePolicy_resourcePolicySummary :: Lens' ResourcePolicy (Maybe ResourcePolicySummary)
+ Amazonka.Organizations.Types: root_arn :: Lens' Root (Maybe Text)
+ Amazonka.Organizations.Types: root_id :: Lens' Root (Maybe Text)
+ Amazonka.Organizations.Types: root_name :: Lens' Root (Maybe Text)
+ Amazonka.Organizations.Types: root_policyTypes :: Lens' Root (Maybe [PolicyTypeSummary])
+ Amazonka.Organizations.Types: tag_key :: Lens' Tag Text
+ Amazonka.Organizations.Types: tag_value :: Lens' Tag Text
+ Amazonka.Organizations.Types.Account: Account' :: Maybe Text -> Maybe (Sensitive Text) -> Maybe Text -> Maybe AccountJoinedMethod -> Maybe POSIX -> Maybe (Sensitive Text) -> Maybe AccountStatus -> Account
+ Amazonka.Organizations.Types.Account: [$sel:arn:Account'] :: Account -> Maybe Text
+ Amazonka.Organizations.Types.Account: [$sel:email:Account'] :: Account -> Maybe (Sensitive Text)
+ Amazonka.Organizations.Types.Account: [$sel:id:Account'] :: Account -> Maybe Text
+ Amazonka.Organizations.Types.Account: [$sel:joinedMethod:Account'] :: Account -> Maybe AccountJoinedMethod
+ Amazonka.Organizations.Types.Account: [$sel:joinedTimestamp:Account'] :: Account -> Maybe POSIX
+ Amazonka.Organizations.Types.Account: [$sel:name:Account'] :: Account -> Maybe (Sensitive Text)
+ Amazonka.Organizations.Types.Account: [$sel:status:Account'] :: Account -> Maybe AccountStatus
+ Amazonka.Organizations.Types.Account: account_arn :: Lens' Account (Maybe Text)
+ Amazonka.Organizations.Types.Account: account_email :: Lens' Account (Maybe Text)
+ Amazonka.Organizations.Types.Account: account_id :: Lens' Account (Maybe Text)
+ Amazonka.Organizations.Types.Account: account_joinedMethod :: Lens' Account (Maybe AccountJoinedMethod)
+ Amazonka.Organizations.Types.Account: account_joinedTimestamp :: Lens' Account (Maybe UTCTime)
+ Amazonka.Organizations.Types.Account: account_name :: Lens' Account (Maybe Text)
+ Amazonka.Organizations.Types.Account: account_status :: Lens' Account (Maybe AccountStatus)
+ Amazonka.Organizations.Types.Account: data Account
+ Amazonka.Organizations.Types.Account: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.Account.Account
+ Amazonka.Organizations.Types.Account: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.Account.Account
+ Amazonka.Organizations.Types.Account: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.Account.Account
+ Amazonka.Organizations.Types.Account: instance GHC.Classes.Eq Amazonka.Organizations.Types.Account.Account
+ Amazonka.Organizations.Types.Account: instance GHC.Generics.Generic Amazonka.Organizations.Types.Account.Account
+ Amazonka.Organizations.Types.Account: instance GHC.Show.Show Amazonka.Organizations.Types.Account.Account
+ Amazonka.Organizations.Types.Account: newAccount :: Account
+ Amazonka.Organizations.Types.AccountJoinedMethod: AccountJoinedMethod' :: Text -> AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: [fromAccountJoinedMethod] :: AccountJoinedMethod -> Text
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance Amazonka.Data.ByteString.ToByteString Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance Amazonka.Data.Headers.ToHeader Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance Amazonka.Data.Log.ToLog Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance Amazonka.Data.Text.FromText Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance Amazonka.Data.Text.ToText Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance Amazonka.Data.XML.FromXML Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance Amazonka.Data.XML.ToXML Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance GHC.Classes.Eq Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance GHC.Classes.Ord Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance GHC.Generics.Generic Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance GHC.Read.Read Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: instance GHC.Show.Show Amazonka.Organizations.Types.AccountJoinedMethod.AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: newtype AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: pattern AccountJoinedMethod_CREATED :: AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountJoinedMethod: pattern AccountJoinedMethod_INVITED :: AccountJoinedMethod
+ Amazonka.Organizations.Types.AccountStatus: AccountStatus' :: Text -> AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: [fromAccountStatus] :: AccountStatus -> Text
+ Amazonka.Organizations.Types.AccountStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: instance Amazonka.Data.Log.ToLog Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: instance Amazonka.Data.Text.FromText Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: instance Amazonka.Data.Text.ToText Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: instance Amazonka.Data.XML.FromXML Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: instance Amazonka.Data.XML.ToXML Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: instance GHC.Classes.Eq Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: instance GHC.Classes.Ord Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: instance GHC.Generics.Generic Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: instance GHC.Read.Read Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: instance GHC.Show.Show Amazonka.Organizations.Types.AccountStatus.AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: newtype AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: pattern AccountStatus_ACTIVE :: AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: pattern AccountStatus_PENDING_CLOSURE :: AccountStatus
+ Amazonka.Organizations.Types.AccountStatus: pattern AccountStatus_SUSPENDED :: AccountStatus
+ Amazonka.Organizations.Types.ActionType: ActionType' :: Text -> ActionType
+ Amazonka.Organizations.Types.ActionType: [fromActionType] :: ActionType -> Text
+ Amazonka.Organizations.Types.ActionType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: instance Amazonka.Data.Headers.ToHeader Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: instance Amazonka.Data.Log.ToLog Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: instance Amazonka.Data.Text.FromText Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: instance Amazonka.Data.Text.ToText Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: instance Amazonka.Data.XML.FromXML Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: instance Amazonka.Data.XML.ToXML Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: instance GHC.Classes.Eq Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: instance GHC.Classes.Ord Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: instance GHC.Generics.Generic Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: instance GHC.Read.Read Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: instance GHC.Show.Show Amazonka.Organizations.Types.ActionType.ActionType
+ Amazonka.Organizations.Types.ActionType: newtype ActionType
+ Amazonka.Organizations.Types.ActionType: pattern ActionType_ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE :: ActionType
+ Amazonka.Organizations.Types.ActionType: pattern ActionType_APPROVE_ALL_FEATURES :: ActionType
+ Amazonka.Organizations.Types.ActionType: pattern ActionType_ENABLE_ALL_FEATURES :: ActionType
+ Amazonka.Organizations.Types.ActionType: pattern ActionType_INVITE :: ActionType
+ Amazonka.Organizations.Types.Child: Child' :: Maybe Text -> Maybe ChildType -> Child
+ Amazonka.Organizations.Types.Child: [$sel:id:Child'] :: Child -> Maybe Text
+ Amazonka.Organizations.Types.Child: [$sel:type':Child'] :: Child -> Maybe ChildType
+ Amazonka.Organizations.Types.Child: child_id :: Lens' Child (Maybe Text)
+ Amazonka.Organizations.Types.Child: child_type :: Lens' Child (Maybe ChildType)
+ Amazonka.Organizations.Types.Child: data Child
+ Amazonka.Organizations.Types.Child: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.Child.Child
+ Amazonka.Organizations.Types.Child: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.Child.Child
+ Amazonka.Organizations.Types.Child: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.Child.Child
+ Amazonka.Organizations.Types.Child: instance GHC.Classes.Eq Amazonka.Organizations.Types.Child.Child
+ Amazonka.Organizations.Types.Child: instance GHC.Generics.Generic Amazonka.Organizations.Types.Child.Child
+ Amazonka.Organizations.Types.Child: instance GHC.Read.Read Amazonka.Organizations.Types.Child.Child
+ Amazonka.Organizations.Types.Child: instance GHC.Show.Show Amazonka.Organizations.Types.Child.Child
+ Amazonka.Organizations.Types.Child: newChild :: Child
+ Amazonka.Organizations.Types.ChildType: ChildType' :: Text -> ChildType
+ Amazonka.Organizations.Types.ChildType: [fromChildType] :: ChildType -> Text
+ Amazonka.Organizations.Types.ChildType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: instance Amazonka.Data.Headers.ToHeader Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: instance Amazonka.Data.Log.ToLog Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: instance Amazonka.Data.Text.FromText Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: instance Amazonka.Data.Text.ToText Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: instance Amazonka.Data.XML.FromXML Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: instance Amazonka.Data.XML.ToXML Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: instance GHC.Classes.Eq Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: instance GHC.Classes.Ord Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: instance GHC.Generics.Generic Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: instance GHC.Read.Read Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: instance GHC.Show.Show Amazonka.Organizations.Types.ChildType.ChildType
+ Amazonka.Organizations.Types.ChildType: newtype ChildType
+ Amazonka.Organizations.Types.ChildType: pattern ChildType_ACCOUNT :: ChildType
+ Amazonka.Organizations.Types.ChildType: pattern ChildType_ORGANIZATIONAL_UNIT :: ChildType
+ Amazonka.Organizations.Types.CreateAccountFailureReason: CreateAccountFailureReason' :: Text -> CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: [fromCreateAccountFailureReason] :: CreateAccountFailureReason -> Text
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance Amazonka.Data.ByteString.ToByteString Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance Amazonka.Data.Headers.ToHeader Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance Amazonka.Data.Log.ToLog Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance Amazonka.Data.Text.FromText Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance Amazonka.Data.Text.ToText Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance Amazonka.Data.XML.FromXML Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance Amazonka.Data.XML.ToXML Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance GHC.Classes.Eq Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance GHC.Classes.Ord Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance GHC.Generics.Generic Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance GHC.Read.Read Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: instance GHC.Show.Show Amazonka.Organizations.Types.CreateAccountFailureReason.CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: newtype CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: pattern CreateAccountFailureReason_ACCOUNT_LIMIT_EXCEEDED :: CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: pattern CreateAccountFailureReason_CONCURRENT_ACCOUNT_MODIFICATION :: CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: pattern CreateAccountFailureReason_EMAIL_ALREADY_EXISTS :: CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: pattern CreateAccountFailureReason_FAILED_BUSINESS_VALIDATION :: CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: pattern CreateAccountFailureReason_GOVCLOUD_ACCOUNT_ALREADY_EXISTS :: CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: pattern CreateAccountFailureReason_INTERNAL_FAILURE :: CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: pattern CreateAccountFailureReason_INVALID_ADDRESS :: CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: pattern CreateAccountFailureReason_INVALID_EMAIL :: CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: pattern CreateAccountFailureReason_INVALID_IDENTITY_FOR_BUSINESS_VALIDATION :: CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: pattern CreateAccountFailureReason_INVALID_PAYMENT_INSTRUMENT :: CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: pattern CreateAccountFailureReason_MISSING_BUSINESS_VALIDATION :: CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: pattern CreateAccountFailureReason_MISSING_PAYMENT_INSTRUMENT :: CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: pattern CreateAccountFailureReason_PENDING_BUSINESS_VALIDATION :: CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: pattern CreateAccountFailureReason_UNKNOWN_BUSINESS_VALIDATION :: CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountFailureReason: pattern CreateAccountFailureReason_UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED :: CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountState: CreateAccountState' :: Text -> CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: [fromCreateAccountState] :: CreateAccountState -> Text
+ Amazonka.Organizations.Types.CreateAccountState: instance Amazonka.Data.ByteString.ToByteString Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: instance Amazonka.Data.Headers.ToHeader Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: instance Amazonka.Data.Log.ToLog Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: instance Amazonka.Data.Text.FromText Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: instance Amazonka.Data.Text.ToText Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: instance Amazonka.Data.XML.FromXML Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: instance Amazonka.Data.XML.ToXML Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: instance GHC.Classes.Eq Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: instance GHC.Classes.Ord Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: instance GHC.Generics.Generic Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: instance GHC.Read.Read Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: instance GHC.Show.Show Amazonka.Organizations.Types.CreateAccountState.CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: newtype CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: pattern CreateAccountState_FAILED :: CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: pattern CreateAccountState_IN_PROGRESS :: CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountState: pattern CreateAccountState_SUCCEEDED :: CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountStatus: CreateAccountStatus' :: Maybe Text -> Maybe (Sensitive Text) -> Maybe POSIX -> Maybe CreateAccountFailureReason -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe CreateAccountState -> CreateAccountStatus
+ Amazonka.Organizations.Types.CreateAccountStatus: [$sel:accountId:CreateAccountStatus'] :: CreateAccountStatus -> Maybe Text
+ Amazonka.Organizations.Types.CreateAccountStatus: [$sel:accountName:CreateAccountStatus'] :: CreateAccountStatus -> Maybe (Sensitive Text)
+ Amazonka.Organizations.Types.CreateAccountStatus: [$sel:completedTimestamp:CreateAccountStatus'] :: CreateAccountStatus -> Maybe POSIX
+ Amazonka.Organizations.Types.CreateAccountStatus: [$sel:failureReason:CreateAccountStatus'] :: CreateAccountStatus -> Maybe CreateAccountFailureReason
+ Amazonka.Organizations.Types.CreateAccountStatus: [$sel:govCloudAccountId:CreateAccountStatus'] :: CreateAccountStatus -> Maybe Text
+ Amazonka.Organizations.Types.CreateAccountStatus: [$sel:id:CreateAccountStatus'] :: CreateAccountStatus -> Maybe Text
+ Amazonka.Organizations.Types.CreateAccountStatus: [$sel:requestedTimestamp:CreateAccountStatus'] :: CreateAccountStatus -> Maybe POSIX
+ Amazonka.Organizations.Types.CreateAccountStatus: [$sel:state:CreateAccountStatus'] :: CreateAccountStatus -> Maybe CreateAccountState
+ Amazonka.Organizations.Types.CreateAccountStatus: createAccountStatus_accountId :: Lens' CreateAccountStatus (Maybe Text)
+ Amazonka.Organizations.Types.CreateAccountStatus: createAccountStatus_accountName :: Lens' CreateAccountStatus (Maybe Text)
+ Amazonka.Organizations.Types.CreateAccountStatus: createAccountStatus_completedTimestamp :: Lens' CreateAccountStatus (Maybe UTCTime)
+ Amazonka.Organizations.Types.CreateAccountStatus: createAccountStatus_failureReason :: Lens' CreateAccountStatus (Maybe CreateAccountFailureReason)
+ Amazonka.Organizations.Types.CreateAccountStatus: createAccountStatus_govCloudAccountId :: Lens' CreateAccountStatus (Maybe Text)
+ Amazonka.Organizations.Types.CreateAccountStatus: createAccountStatus_id :: Lens' CreateAccountStatus (Maybe Text)
+ Amazonka.Organizations.Types.CreateAccountStatus: createAccountStatus_requestedTimestamp :: Lens' CreateAccountStatus (Maybe UTCTime)
+ Amazonka.Organizations.Types.CreateAccountStatus: createAccountStatus_state :: Lens' CreateAccountStatus (Maybe CreateAccountState)
+ Amazonka.Organizations.Types.CreateAccountStatus: data CreateAccountStatus
+ Amazonka.Organizations.Types.CreateAccountStatus: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.CreateAccountStatus.CreateAccountStatus
+ Amazonka.Organizations.Types.CreateAccountStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.CreateAccountStatus.CreateAccountStatus
+ Amazonka.Organizations.Types.CreateAccountStatus: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.CreateAccountStatus.CreateAccountStatus
+ Amazonka.Organizations.Types.CreateAccountStatus: instance GHC.Classes.Eq Amazonka.Organizations.Types.CreateAccountStatus.CreateAccountStatus
+ Amazonka.Organizations.Types.CreateAccountStatus: instance GHC.Generics.Generic Amazonka.Organizations.Types.CreateAccountStatus.CreateAccountStatus
+ Amazonka.Organizations.Types.CreateAccountStatus: instance GHC.Show.Show Amazonka.Organizations.Types.CreateAccountStatus.CreateAccountStatus
+ Amazonka.Organizations.Types.CreateAccountStatus: newCreateAccountStatus :: CreateAccountStatus
+ Amazonka.Organizations.Types.DelegatedAdministrator: DelegatedAdministrator' :: Maybe Text -> Maybe POSIX -> Maybe (Sensitive Text) -> Maybe Text -> Maybe AccountJoinedMethod -> Maybe POSIX -> Maybe (Sensitive Text) -> Maybe AccountStatus -> DelegatedAdministrator
+ Amazonka.Organizations.Types.DelegatedAdministrator: [$sel:arn:DelegatedAdministrator'] :: DelegatedAdministrator -> Maybe Text
+ Amazonka.Organizations.Types.DelegatedAdministrator: [$sel:delegationEnabledDate:DelegatedAdministrator'] :: DelegatedAdministrator -> Maybe POSIX
+ Amazonka.Organizations.Types.DelegatedAdministrator: [$sel:email:DelegatedAdministrator'] :: DelegatedAdministrator -> Maybe (Sensitive Text)
+ Amazonka.Organizations.Types.DelegatedAdministrator: [$sel:id:DelegatedAdministrator'] :: DelegatedAdministrator -> Maybe Text
+ Amazonka.Organizations.Types.DelegatedAdministrator: [$sel:joinedMethod:DelegatedAdministrator'] :: DelegatedAdministrator -> Maybe AccountJoinedMethod
+ Amazonka.Organizations.Types.DelegatedAdministrator: [$sel:joinedTimestamp:DelegatedAdministrator'] :: DelegatedAdministrator -> Maybe POSIX
+ Amazonka.Organizations.Types.DelegatedAdministrator: [$sel:name:DelegatedAdministrator'] :: DelegatedAdministrator -> Maybe (Sensitive Text)
+ Amazonka.Organizations.Types.DelegatedAdministrator: [$sel:status:DelegatedAdministrator'] :: DelegatedAdministrator -> Maybe AccountStatus
+ Amazonka.Organizations.Types.DelegatedAdministrator: data DelegatedAdministrator
+ Amazonka.Organizations.Types.DelegatedAdministrator: delegatedAdministrator_arn :: Lens' DelegatedAdministrator (Maybe Text)
+ Amazonka.Organizations.Types.DelegatedAdministrator: delegatedAdministrator_delegationEnabledDate :: Lens' DelegatedAdministrator (Maybe UTCTime)
+ Amazonka.Organizations.Types.DelegatedAdministrator: delegatedAdministrator_email :: Lens' DelegatedAdministrator (Maybe Text)
+ Amazonka.Organizations.Types.DelegatedAdministrator: delegatedAdministrator_id :: Lens' DelegatedAdministrator (Maybe Text)
+ Amazonka.Organizations.Types.DelegatedAdministrator: delegatedAdministrator_joinedMethod :: Lens' DelegatedAdministrator (Maybe AccountJoinedMethod)
+ Amazonka.Organizations.Types.DelegatedAdministrator: delegatedAdministrator_joinedTimestamp :: Lens' DelegatedAdministrator (Maybe UTCTime)
+ Amazonka.Organizations.Types.DelegatedAdministrator: delegatedAdministrator_name :: Lens' DelegatedAdministrator (Maybe Text)
+ Amazonka.Organizations.Types.DelegatedAdministrator: delegatedAdministrator_status :: Lens' DelegatedAdministrator (Maybe AccountStatus)
+ Amazonka.Organizations.Types.DelegatedAdministrator: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.DelegatedAdministrator.DelegatedAdministrator
+ Amazonka.Organizations.Types.DelegatedAdministrator: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.DelegatedAdministrator.DelegatedAdministrator
+ Amazonka.Organizations.Types.DelegatedAdministrator: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.DelegatedAdministrator.DelegatedAdministrator
+ Amazonka.Organizations.Types.DelegatedAdministrator: instance GHC.Classes.Eq Amazonka.Organizations.Types.DelegatedAdministrator.DelegatedAdministrator
+ Amazonka.Organizations.Types.DelegatedAdministrator: instance GHC.Generics.Generic Amazonka.Organizations.Types.DelegatedAdministrator.DelegatedAdministrator
+ Amazonka.Organizations.Types.DelegatedAdministrator: instance GHC.Show.Show Amazonka.Organizations.Types.DelegatedAdministrator.DelegatedAdministrator
+ Amazonka.Organizations.Types.DelegatedAdministrator: newDelegatedAdministrator :: DelegatedAdministrator
+ Amazonka.Organizations.Types.DelegatedService: DelegatedService' :: Maybe POSIX -> Maybe Text -> DelegatedService
+ Amazonka.Organizations.Types.DelegatedService: [$sel:delegationEnabledDate:DelegatedService'] :: DelegatedService -> Maybe POSIX
+ Amazonka.Organizations.Types.DelegatedService: [$sel:servicePrincipal:DelegatedService'] :: DelegatedService -> Maybe Text
+ Amazonka.Organizations.Types.DelegatedService: data DelegatedService
+ Amazonka.Organizations.Types.DelegatedService: delegatedService_delegationEnabledDate :: Lens' DelegatedService (Maybe UTCTime)
+ Amazonka.Organizations.Types.DelegatedService: delegatedService_servicePrincipal :: Lens' DelegatedService (Maybe Text)
+ Amazonka.Organizations.Types.DelegatedService: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.DelegatedService.DelegatedService
+ Amazonka.Organizations.Types.DelegatedService: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.DelegatedService.DelegatedService
+ Amazonka.Organizations.Types.DelegatedService: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.DelegatedService.DelegatedService
+ Amazonka.Organizations.Types.DelegatedService: instance GHC.Classes.Eq Amazonka.Organizations.Types.DelegatedService.DelegatedService
+ Amazonka.Organizations.Types.DelegatedService: instance GHC.Generics.Generic Amazonka.Organizations.Types.DelegatedService.DelegatedService
+ Amazonka.Organizations.Types.DelegatedService: instance GHC.Read.Read Amazonka.Organizations.Types.DelegatedService.DelegatedService
+ Amazonka.Organizations.Types.DelegatedService: instance GHC.Show.Show Amazonka.Organizations.Types.DelegatedService.DelegatedService
+ Amazonka.Organizations.Types.DelegatedService: newDelegatedService :: DelegatedService
+ Amazonka.Organizations.Types.EffectivePolicy: EffectivePolicy' :: Maybe POSIX -> Maybe Text -> Maybe EffectivePolicyType -> Maybe Text -> EffectivePolicy
+ Amazonka.Organizations.Types.EffectivePolicy: [$sel:lastUpdatedTimestamp:EffectivePolicy'] :: EffectivePolicy -> Maybe POSIX
+ Amazonka.Organizations.Types.EffectivePolicy: [$sel:policyContent:EffectivePolicy'] :: EffectivePolicy -> Maybe Text
+ Amazonka.Organizations.Types.EffectivePolicy: [$sel:policyType:EffectivePolicy'] :: EffectivePolicy -> Maybe EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicy: [$sel:targetId:EffectivePolicy'] :: EffectivePolicy -> Maybe Text
+ Amazonka.Organizations.Types.EffectivePolicy: data EffectivePolicy
+ Amazonka.Organizations.Types.EffectivePolicy: effectivePolicy_lastUpdatedTimestamp :: Lens' EffectivePolicy (Maybe UTCTime)
+ Amazonka.Organizations.Types.EffectivePolicy: effectivePolicy_policyContent :: Lens' EffectivePolicy (Maybe Text)
+ Amazonka.Organizations.Types.EffectivePolicy: effectivePolicy_policyType :: Lens' EffectivePolicy (Maybe EffectivePolicyType)
+ Amazonka.Organizations.Types.EffectivePolicy: effectivePolicy_targetId :: Lens' EffectivePolicy (Maybe Text)
+ Amazonka.Organizations.Types.EffectivePolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.EffectivePolicy.EffectivePolicy
+ Amazonka.Organizations.Types.EffectivePolicy: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.EffectivePolicy.EffectivePolicy
+ Amazonka.Organizations.Types.EffectivePolicy: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.EffectivePolicy.EffectivePolicy
+ Amazonka.Organizations.Types.EffectivePolicy: instance GHC.Classes.Eq Amazonka.Organizations.Types.EffectivePolicy.EffectivePolicy
+ Amazonka.Organizations.Types.EffectivePolicy: instance GHC.Generics.Generic Amazonka.Organizations.Types.EffectivePolicy.EffectivePolicy
+ Amazonka.Organizations.Types.EffectivePolicy: instance GHC.Read.Read Amazonka.Organizations.Types.EffectivePolicy.EffectivePolicy
+ Amazonka.Organizations.Types.EffectivePolicy: instance GHC.Show.Show Amazonka.Organizations.Types.EffectivePolicy.EffectivePolicy
+ Amazonka.Organizations.Types.EffectivePolicy: newEffectivePolicy :: EffectivePolicy
+ Amazonka.Organizations.Types.EffectivePolicyType: EffectivePolicyType' :: Text -> EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: [fromEffectivePolicyType] :: EffectivePolicyType -> Text
+ Amazonka.Organizations.Types.EffectivePolicyType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: instance Amazonka.Data.Headers.ToHeader Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: instance Amazonka.Data.Log.ToLog Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: instance Amazonka.Data.Text.FromText Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: instance Amazonka.Data.Text.ToText Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: instance Amazonka.Data.XML.FromXML Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: instance Amazonka.Data.XML.ToXML Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: instance GHC.Classes.Eq Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: instance GHC.Classes.Ord Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: instance GHC.Generics.Generic Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: instance GHC.Read.Read Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: instance GHC.Show.Show Amazonka.Organizations.Types.EffectivePolicyType.EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: newtype EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: pattern EffectivePolicyType_AISERVICES_OPT_OUT_POLICY :: EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: pattern EffectivePolicyType_BACKUP_POLICY :: EffectivePolicyType
+ Amazonka.Organizations.Types.EffectivePolicyType: pattern EffectivePolicyType_TAG_POLICY :: EffectivePolicyType
+ Amazonka.Organizations.Types.EnabledServicePrincipal: EnabledServicePrincipal' :: Maybe POSIX -> Maybe Text -> EnabledServicePrincipal
+ Amazonka.Organizations.Types.EnabledServicePrincipal: [$sel:dateEnabled:EnabledServicePrincipal'] :: EnabledServicePrincipal -> Maybe POSIX
+ Amazonka.Organizations.Types.EnabledServicePrincipal: [$sel:servicePrincipal:EnabledServicePrincipal'] :: EnabledServicePrincipal -> Maybe Text
+ Amazonka.Organizations.Types.EnabledServicePrincipal: data EnabledServicePrincipal
+ Amazonka.Organizations.Types.EnabledServicePrincipal: enabledServicePrincipal_dateEnabled :: Lens' EnabledServicePrincipal (Maybe UTCTime)
+ Amazonka.Organizations.Types.EnabledServicePrincipal: enabledServicePrincipal_servicePrincipal :: Lens' EnabledServicePrincipal (Maybe Text)
+ Amazonka.Organizations.Types.EnabledServicePrincipal: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.EnabledServicePrincipal.EnabledServicePrincipal
+ Amazonka.Organizations.Types.EnabledServicePrincipal: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.EnabledServicePrincipal.EnabledServicePrincipal
+ Amazonka.Organizations.Types.EnabledServicePrincipal: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.EnabledServicePrincipal.EnabledServicePrincipal
+ Amazonka.Organizations.Types.EnabledServicePrincipal: instance GHC.Classes.Eq Amazonka.Organizations.Types.EnabledServicePrincipal.EnabledServicePrincipal
+ Amazonka.Organizations.Types.EnabledServicePrincipal: instance GHC.Generics.Generic Amazonka.Organizations.Types.EnabledServicePrincipal.EnabledServicePrincipal
+ Amazonka.Organizations.Types.EnabledServicePrincipal: instance GHC.Read.Read Amazonka.Organizations.Types.EnabledServicePrincipal.EnabledServicePrincipal
+ Amazonka.Organizations.Types.EnabledServicePrincipal: instance GHC.Show.Show Amazonka.Organizations.Types.EnabledServicePrincipal.EnabledServicePrincipal
+ Amazonka.Organizations.Types.EnabledServicePrincipal: newEnabledServicePrincipal :: EnabledServicePrincipal
+ Amazonka.Organizations.Types.Handshake: Handshake' :: Maybe ActionType -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe [HandshakeParty] -> Maybe POSIX -> Maybe [HandshakeResource] -> Maybe HandshakeState -> Handshake
+ Amazonka.Organizations.Types.Handshake: [$sel:action:Handshake'] :: Handshake -> Maybe ActionType
+ Amazonka.Organizations.Types.Handshake: [$sel:arn:Handshake'] :: Handshake -> Maybe Text
+ Amazonka.Organizations.Types.Handshake: [$sel:expirationTimestamp:Handshake'] :: Handshake -> Maybe POSIX
+ Amazonka.Organizations.Types.Handshake: [$sel:id:Handshake'] :: Handshake -> Maybe Text
+ Amazonka.Organizations.Types.Handshake: [$sel:parties:Handshake'] :: Handshake -> Maybe [HandshakeParty]
+ Amazonka.Organizations.Types.Handshake: [$sel:requestedTimestamp:Handshake'] :: Handshake -> Maybe POSIX
+ Amazonka.Organizations.Types.Handshake: [$sel:resources:Handshake'] :: Handshake -> Maybe [HandshakeResource]
+ Amazonka.Organizations.Types.Handshake: [$sel:state:Handshake'] :: Handshake -> Maybe HandshakeState
+ Amazonka.Organizations.Types.Handshake: data Handshake
+ Amazonka.Organizations.Types.Handshake: handshake_action :: Lens' Handshake (Maybe ActionType)
+ Amazonka.Organizations.Types.Handshake: handshake_arn :: Lens' Handshake (Maybe Text)
+ Amazonka.Organizations.Types.Handshake: handshake_expirationTimestamp :: Lens' Handshake (Maybe UTCTime)
+ Amazonka.Organizations.Types.Handshake: handshake_id :: Lens' Handshake (Maybe Text)
+ Amazonka.Organizations.Types.Handshake: handshake_parties :: Lens' Handshake (Maybe [HandshakeParty])
+ Amazonka.Organizations.Types.Handshake: handshake_requestedTimestamp :: Lens' Handshake (Maybe UTCTime)
+ Amazonka.Organizations.Types.Handshake: handshake_resources :: Lens' Handshake (Maybe [HandshakeResource])
+ Amazonka.Organizations.Types.Handshake: handshake_state :: Lens' Handshake (Maybe HandshakeState)
+ Amazonka.Organizations.Types.Handshake: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.Handshake.Handshake
+ Amazonka.Organizations.Types.Handshake: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.Handshake.Handshake
+ Amazonka.Organizations.Types.Handshake: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.Handshake.Handshake
+ Amazonka.Organizations.Types.Handshake: instance GHC.Classes.Eq Amazonka.Organizations.Types.Handshake.Handshake
+ Amazonka.Organizations.Types.Handshake: instance GHC.Generics.Generic Amazonka.Organizations.Types.Handshake.Handshake
+ Amazonka.Organizations.Types.Handshake: instance GHC.Show.Show Amazonka.Organizations.Types.Handshake.Handshake
+ Amazonka.Organizations.Types.Handshake: newHandshake :: Handshake
+ Amazonka.Organizations.Types.HandshakeFilter: HandshakeFilter' :: Maybe ActionType -> Maybe Text -> HandshakeFilter
+ Amazonka.Organizations.Types.HandshakeFilter: [$sel:actionType:HandshakeFilter'] :: HandshakeFilter -> Maybe ActionType
+ Amazonka.Organizations.Types.HandshakeFilter: [$sel:parentHandshakeId:HandshakeFilter'] :: HandshakeFilter -> Maybe Text
+ Amazonka.Organizations.Types.HandshakeFilter: data HandshakeFilter
+ Amazonka.Organizations.Types.HandshakeFilter: handshakeFilter_actionType :: Lens' HandshakeFilter (Maybe ActionType)
+ Amazonka.Organizations.Types.HandshakeFilter: handshakeFilter_parentHandshakeId :: Lens' HandshakeFilter (Maybe Text)
+ Amazonka.Organizations.Types.HandshakeFilter: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.HandshakeFilter.HandshakeFilter
+ Amazonka.Organizations.Types.HandshakeFilter: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.HandshakeFilter.HandshakeFilter
+ Amazonka.Organizations.Types.HandshakeFilter: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.HandshakeFilter.HandshakeFilter
+ Amazonka.Organizations.Types.HandshakeFilter: instance GHC.Classes.Eq Amazonka.Organizations.Types.HandshakeFilter.HandshakeFilter
+ Amazonka.Organizations.Types.HandshakeFilter: instance GHC.Generics.Generic Amazonka.Organizations.Types.HandshakeFilter.HandshakeFilter
+ Amazonka.Organizations.Types.HandshakeFilter: instance GHC.Read.Read Amazonka.Organizations.Types.HandshakeFilter.HandshakeFilter
+ Amazonka.Organizations.Types.HandshakeFilter: instance GHC.Show.Show Amazonka.Organizations.Types.HandshakeFilter.HandshakeFilter
+ Amazonka.Organizations.Types.HandshakeFilter: newHandshakeFilter :: HandshakeFilter
+ Amazonka.Organizations.Types.HandshakeParty: HandshakeParty' :: Sensitive Text -> HandshakePartyType -> HandshakeParty
+ Amazonka.Organizations.Types.HandshakeParty: [$sel:id:HandshakeParty'] :: HandshakeParty -> Sensitive Text
+ Amazonka.Organizations.Types.HandshakeParty: [$sel:type':HandshakeParty'] :: HandshakeParty -> HandshakePartyType
+ Amazonka.Organizations.Types.HandshakeParty: data HandshakeParty
+ Amazonka.Organizations.Types.HandshakeParty: handshakeParty_id :: Lens' HandshakeParty Text
+ Amazonka.Organizations.Types.HandshakeParty: handshakeParty_type :: Lens' HandshakeParty HandshakePartyType
+ Amazonka.Organizations.Types.HandshakeParty: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.HandshakeParty.HandshakeParty
+ Amazonka.Organizations.Types.HandshakeParty: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.HandshakeParty.HandshakeParty
+ Amazonka.Organizations.Types.HandshakeParty: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.HandshakeParty.HandshakeParty
+ Amazonka.Organizations.Types.HandshakeParty: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.HandshakeParty.HandshakeParty
+ Amazonka.Organizations.Types.HandshakeParty: instance GHC.Classes.Eq Amazonka.Organizations.Types.HandshakeParty.HandshakeParty
+ Amazonka.Organizations.Types.HandshakeParty: instance GHC.Generics.Generic Amazonka.Organizations.Types.HandshakeParty.HandshakeParty
+ Amazonka.Organizations.Types.HandshakeParty: instance GHC.Show.Show Amazonka.Organizations.Types.HandshakeParty.HandshakeParty
+ Amazonka.Organizations.Types.HandshakeParty: newHandshakeParty :: Text -> HandshakePartyType -> HandshakeParty
+ Amazonka.Organizations.Types.HandshakePartyType: HandshakePartyType' :: Text -> HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: [fromHandshakePartyType] :: HandshakePartyType -> Text
+ Amazonka.Organizations.Types.HandshakePartyType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: instance Amazonka.Data.Headers.ToHeader Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: instance Amazonka.Data.Log.ToLog Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: instance Amazonka.Data.Text.FromText Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: instance Amazonka.Data.Text.ToText Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: instance Amazonka.Data.XML.FromXML Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: instance Amazonka.Data.XML.ToXML Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: instance GHC.Classes.Eq Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: instance GHC.Classes.Ord Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: instance GHC.Generics.Generic Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: instance GHC.Read.Read Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: instance GHC.Show.Show Amazonka.Organizations.Types.HandshakePartyType.HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: newtype HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: pattern HandshakePartyType_ACCOUNT :: HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: pattern HandshakePartyType_EMAIL :: HandshakePartyType
+ Amazonka.Organizations.Types.HandshakePartyType: pattern HandshakePartyType_ORGANIZATION :: HandshakePartyType
+ Amazonka.Organizations.Types.HandshakeResource: HandshakeResource' :: Maybe [HandshakeResource] -> Maybe HandshakeResourceType -> Maybe (Sensitive Text) -> HandshakeResource
+ Amazonka.Organizations.Types.HandshakeResource: [$sel:resources:HandshakeResource'] :: HandshakeResource -> Maybe [HandshakeResource]
+ Amazonka.Organizations.Types.HandshakeResource: [$sel:type':HandshakeResource'] :: HandshakeResource -> Maybe HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResource: [$sel:value:HandshakeResource'] :: HandshakeResource -> Maybe (Sensitive Text)
+ Amazonka.Organizations.Types.HandshakeResource: data HandshakeResource
+ Amazonka.Organizations.Types.HandshakeResource: handshakeResource_resources :: Lens' HandshakeResource (Maybe [HandshakeResource])
+ Amazonka.Organizations.Types.HandshakeResource: handshakeResource_type :: Lens' HandshakeResource (Maybe HandshakeResourceType)
+ Amazonka.Organizations.Types.HandshakeResource: handshakeResource_value :: Lens' HandshakeResource (Maybe Text)
+ Amazonka.Organizations.Types.HandshakeResource: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.HandshakeResource.HandshakeResource
+ Amazonka.Organizations.Types.HandshakeResource: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.HandshakeResource.HandshakeResource
+ Amazonka.Organizations.Types.HandshakeResource: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.HandshakeResource.HandshakeResource
+ Amazonka.Organizations.Types.HandshakeResource: instance GHC.Classes.Eq Amazonka.Organizations.Types.HandshakeResource.HandshakeResource
+ Amazonka.Organizations.Types.HandshakeResource: instance GHC.Generics.Generic Amazonka.Organizations.Types.HandshakeResource.HandshakeResource
+ Amazonka.Organizations.Types.HandshakeResource: instance GHC.Show.Show Amazonka.Organizations.Types.HandshakeResource.HandshakeResource
+ Amazonka.Organizations.Types.HandshakeResource: newHandshakeResource :: HandshakeResource
+ Amazonka.Organizations.Types.HandshakeResourceType: HandshakeResourceType' :: Text -> HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: [fromHandshakeResourceType] :: HandshakeResourceType -> Text
+ Amazonka.Organizations.Types.HandshakeResourceType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: instance Amazonka.Data.Headers.ToHeader Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: instance Amazonka.Data.Log.ToLog Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: instance Amazonka.Data.Text.FromText Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: instance Amazonka.Data.Text.ToText Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: instance Amazonka.Data.XML.FromXML Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: instance Amazonka.Data.XML.ToXML Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: instance GHC.Classes.Eq Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: instance GHC.Classes.Ord Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: instance GHC.Generics.Generic Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: instance GHC.Read.Read Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: instance GHC.Show.Show Amazonka.Organizations.Types.HandshakeResourceType.HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: newtype HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: pattern HandshakeResourceType_ACCOUNT :: HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: pattern HandshakeResourceType_EMAIL :: HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: pattern HandshakeResourceType_MASTER_EMAIL :: HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: pattern HandshakeResourceType_MASTER_NAME :: HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: pattern HandshakeResourceType_NOTES :: HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: pattern HandshakeResourceType_ORGANIZATION :: HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: pattern HandshakeResourceType_ORGANIZATION_FEATURE_SET :: HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeResourceType: pattern HandshakeResourceType_PARENT_HANDSHAKE :: HandshakeResourceType
+ Amazonka.Organizations.Types.HandshakeState: HandshakeState' :: Text -> HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: [fromHandshakeState] :: HandshakeState -> Text
+ Amazonka.Organizations.Types.HandshakeState: instance Amazonka.Data.ByteString.ToByteString Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: instance Amazonka.Data.Headers.ToHeader Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: instance Amazonka.Data.Log.ToLog Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: instance Amazonka.Data.Text.FromText Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: instance Amazonka.Data.Text.ToText Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: instance Amazonka.Data.XML.FromXML Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: instance Amazonka.Data.XML.ToXML Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: instance GHC.Classes.Eq Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: instance GHC.Classes.Ord Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: instance GHC.Generics.Generic Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: instance GHC.Read.Read Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: instance GHC.Show.Show Amazonka.Organizations.Types.HandshakeState.HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: newtype HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: pattern HandshakeState_ACCEPTED :: HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: pattern HandshakeState_CANCELED :: HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: pattern HandshakeState_DECLINED :: HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: pattern HandshakeState_EXPIRED :: HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: pattern HandshakeState_OPEN :: HandshakeState
+ Amazonka.Organizations.Types.HandshakeState: pattern HandshakeState_REQUESTED :: HandshakeState
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: IAMUserAccessToBilling' :: Text -> IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: [fromIAMUserAccessToBilling] :: IAMUserAccessToBilling -> Text
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance Amazonka.Data.ByteString.ToByteString Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance Amazonka.Data.Headers.ToHeader Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance Amazonka.Data.Log.ToLog Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance Amazonka.Data.Text.FromText Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance Amazonka.Data.Text.ToText Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance Amazonka.Data.XML.FromXML Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance Amazonka.Data.XML.ToXML Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance GHC.Classes.Eq Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance GHC.Classes.Ord Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance GHC.Generics.Generic Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance GHC.Read.Read Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: instance GHC.Show.Show Amazonka.Organizations.Types.IAMUserAccessToBilling.IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: newtype IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: pattern IAMUserAccessToBilling_ALLOW :: IAMUserAccessToBilling
+ Amazonka.Organizations.Types.IAMUserAccessToBilling: pattern IAMUserAccessToBilling_DENY :: IAMUserAccessToBilling
+ Amazonka.Organizations.Types.Organization: Organization' :: Maybe Text -> Maybe [PolicyTypeSummary] -> Maybe OrganizationFeatureSet -> Maybe Text -> Maybe Text -> Maybe (Sensitive Text) -> Maybe Text -> Organization
+ Amazonka.Organizations.Types.Organization: [$sel:arn:Organization'] :: Organization -> Maybe Text
+ Amazonka.Organizations.Types.Organization: [$sel:availablePolicyTypes:Organization'] :: Organization -> Maybe [PolicyTypeSummary]
+ Amazonka.Organizations.Types.Organization: [$sel:featureSet:Organization'] :: Organization -> Maybe OrganizationFeatureSet
+ Amazonka.Organizations.Types.Organization: [$sel:id:Organization'] :: Organization -> Maybe Text
+ Amazonka.Organizations.Types.Organization: [$sel:masterAccountArn:Organization'] :: Organization -> Maybe Text
+ Amazonka.Organizations.Types.Organization: [$sel:masterAccountEmail:Organization'] :: Organization -> Maybe (Sensitive Text)
+ Amazonka.Organizations.Types.Organization: [$sel:masterAccountId:Organization'] :: Organization -> Maybe Text
+ Amazonka.Organizations.Types.Organization: data Organization
+ Amazonka.Organizations.Types.Organization: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.Organization.Organization
+ Amazonka.Organizations.Types.Organization: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.Organization.Organization
+ Amazonka.Organizations.Types.Organization: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.Organization.Organization
+ Amazonka.Organizations.Types.Organization: instance GHC.Classes.Eq Amazonka.Organizations.Types.Organization.Organization
+ Amazonka.Organizations.Types.Organization: instance GHC.Generics.Generic Amazonka.Organizations.Types.Organization.Organization
+ Amazonka.Organizations.Types.Organization: instance GHC.Show.Show Amazonka.Organizations.Types.Organization.Organization
+ Amazonka.Organizations.Types.Organization: newOrganization :: Organization
+ Amazonka.Organizations.Types.Organization: organization_arn :: Lens' Organization (Maybe Text)
+ Amazonka.Organizations.Types.Organization: organization_availablePolicyTypes :: Lens' Organization (Maybe [PolicyTypeSummary])
+ Amazonka.Organizations.Types.Organization: organization_featureSet :: Lens' Organization (Maybe OrganizationFeatureSet)
+ Amazonka.Organizations.Types.Organization: organization_id :: Lens' Organization (Maybe Text)
+ Amazonka.Organizations.Types.Organization: organization_masterAccountArn :: Lens' Organization (Maybe Text)
+ Amazonka.Organizations.Types.Organization: organization_masterAccountEmail :: Lens' Organization (Maybe Text)
+ Amazonka.Organizations.Types.Organization: organization_masterAccountId :: Lens' Organization (Maybe Text)
+ Amazonka.Organizations.Types.OrganizationFeatureSet: OrganizationFeatureSet' :: Text -> OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: [fromOrganizationFeatureSet] :: OrganizationFeatureSet -> Text
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance Amazonka.Data.ByteString.ToByteString Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance Amazonka.Data.Headers.ToHeader Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance Amazonka.Data.Log.ToLog Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance Amazonka.Data.Text.FromText Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance Amazonka.Data.Text.ToText Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance Amazonka.Data.XML.FromXML Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance Amazonka.Data.XML.ToXML Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance GHC.Classes.Eq Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance GHC.Classes.Ord Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance GHC.Generics.Generic Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance GHC.Read.Read Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: instance GHC.Show.Show Amazonka.Organizations.Types.OrganizationFeatureSet.OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: newtype OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: pattern OrganizationFeatureSet_ALL :: OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationFeatureSet: pattern OrganizationFeatureSet_CONSOLIDATED_BILLING :: OrganizationFeatureSet
+ Amazonka.Organizations.Types.OrganizationalUnit: OrganizationalUnit' :: Maybe Text -> Maybe Text -> Maybe Text -> OrganizationalUnit
+ Amazonka.Organizations.Types.OrganizationalUnit: [$sel:arn:OrganizationalUnit'] :: OrganizationalUnit -> Maybe Text
+ Amazonka.Organizations.Types.OrganizationalUnit: [$sel:id:OrganizationalUnit'] :: OrganizationalUnit -> Maybe Text
+ Amazonka.Organizations.Types.OrganizationalUnit: [$sel:name:OrganizationalUnit'] :: OrganizationalUnit -> Maybe Text
+ Amazonka.Organizations.Types.OrganizationalUnit: data OrganizationalUnit
+ Amazonka.Organizations.Types.OrganizationalUnit: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.OrganizationalUnit.OrganizationalUnit
+ Amazonka.Organizations.Types.OrganizationalUnit: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.OrganizationalUnit.OrganizationalUnit
+ Amazonka.Organizations.Types.OrganizationalUnit: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.OrganizationalUnit.OrganizationalUnit
+ Amazonka.Organizations.Types.OrganizationalUnit: instance GHC.Classes.Eq Amazonka.Organizations.Types.OrganizationalUnit.OrganizationalUnit
+ Amazonka.Organizations.Types.OrganizationalUnit: instance GHC.Generics.Generic Amazonka.Organizations.Types.OrganizationalUnit.OrganizationalUnit
+ Amazonka.Organizations.Types.OrganizationalUnit: instance GHC.Read.Read Amazonka.Organizations.Types.OrganizationalUnit.OrganizationalUnit
+ Amazonka.Organizations.Types.OrganizationalUnit: instance GHC.Show.Show Amazonka.Organizations.Types.OrganizationalUnit.OrganizationalUnit
+ Amazonka.Organizations.Types.OrganizationalUnit: newOrganizationalUnit :: OrganizationalUnit
+ Amazonka.Organizations.Types.OrganizationalUnit: organizationalUnit_arn :: Lens' OrganizationalUnit (Maybe Text)
+ Amazonka.Organizations.Types.OrganizationalUnit: organizationalUnit_id :: Lens' OrganizationalUnit (Maybe Text)
+ Amazonka.Organizations.Types.OrganizationalUnit: organizationalUnit_name :: Lens' OrganizationalUnit (Maybe Text)
+ Amazonka.Organizations.Types.Parent: Parent' :: Maybe Text -> Maybe ParentType -> Parent
+ Amazonka.Organizations.Types.Parent: [$sel:id:Parent'] :: Parent -> Maybe Text
+ Amazonka.Organizations.Types.Parent: [$sel:type':Parent'] :: Parent -> Maybe ParentType
+ Amazonka.Organizations.Types.Parent: data Parent
+ Amazonka.Organizations.Types.Parent: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.Parent.Parent
+ Amazonka.Organizations.Types.Parent: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.Parent.Parent
+ Amazonka.Organizations.Types.Parent: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.Parent.Parent
+ Amazonka.Organizations.Types.Parent: instance GHC.Classes.Eq Amazonka.Organizations.Types.Parent.Parent
+ Amazonka.Organizations.Types.Parent: instance GHC.Generics.Generic Amazonka.Organizations.Types.Parent.Parent
+ Amazonka.Organizations.Types.Parent: instance GHC.Read.Read Amazonka.Organizations.Types.Parent.Parent
+ Amazonka.Organizations.Types.Parent: instance GHC.Show.Show Amazonka.Organizations.Types.Parent.Parent
+ Amazonka.Organizations.Types.Parent: newParent :: Parent
+ Amazonka.Organizations.Types.Parent: parent_id :: Lens' Parent (Maybe Text)
+ Amazonka.Organizations.Types.Parent: parent_type :: Lens' Parent (Maybe ParentType)
+ Amazonka.Organizations.Types.ParentType: ParentType' :: Text -> ParentType
+ Amazonka.Organizations.Types.ParentType: [fromParentType] :: ParentType -> Text
+ Amazonka.Organizations.Types.ParentType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: instance Amazonka.Data.Headers.ToHeader Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: instance Amazonka.Data.Log.ToLog Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: instance Amazonka.Data.Text.FromText Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: instance Amazonka.Data.Text.ToText Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: instance Amazonka.Data.XML.FromXML Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: instance Amazonka.Data.XML.ToXML Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: instance GHC.Classes.Eq Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: instance GHC.Classes.Ord Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: instance GHC.Generics.Generic Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: instance GHC.Read.Read Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: instance GHC.Show.Show Amazonka.Organizations.Types.ParentType.ParentType
+ Amazonka.Organizations.Types.ParentType: newtype ParentType
+ Amazonka.Organizations.Types.ParentType: pattern ParentType_ORGANIZATIONAL_UNIT :: ParentType
+ Amazonka.Organizations.Types.ParentType: pattern ParentType_ROOT :: ParentType
+ Amazonka.Organizations.Types.Policy: Policy' :: Maybe Text -> Maybe PolicySummary -> Policy
+ Amazonka.Organizations.Types.Policy: [$sel:content:Policy'] :: Policy -> Maybe Text
+ Amazonka.Organizations.Types.Policy: [$sel:policySummary:Policy'] :: Policy -> Maybe PolicySummary
+ Amazonka.Organizations.Types.Policy: data Policy
+ Amazonka.Organizations.Types.Policy: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.Policy.Policy
+ Amazonka.Organizations.Types.Policy: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.Policy.Policy
+ Amazonka.Organizations.Types.Policy: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.Policy.Policy
+ Amazonka.Organizations.Types.Policy: instance GHC.Classes.Eq Amazonka.Organizations.Types.Policy.Policy
+ Amazonka.Organizations.Types.Policy: instance GHC.Generics.Generic Amazonka.Organizations.Types.Policy.Policy
+ Amazonka.Organizations.Types.Policy: instance GHC.Read.Read Amazonka.Organizations.Types.Policy.Policy
+ Amazonka.Organizations.Types.Policy: instance GHC.Show.Show Amazonka.Organizations.Types.Policy.Policy
+ Amazonka.Organizations.Types.Policy: newPolicy :: Policy
+ Amazonka.Organizations.Types.Policy: policy_content :: Lens' Policy (Maybe Text)
+ Amazonka.Organizations.Types.Policy: policy_policySummary :: Lens' Policy (Maybe PolicySummary)
+ Amazonka.Organizations.Types.PolicySummary: PolicySummary' :: Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PolicyType -> PolicySummary
+ Amazonka.Organizations.Types.PolicySummary: [$sel:arn:PolicySummary'] :: PolicySummary -> Maybe Text
+ Amazonka.Organizations.Types.PolicySummary: [$sel:awsManaged:PolicySummary'] :: PolicySummary -> Maybe Bool
+ Amazonka.Organizations.Types.PolicySummary: [$sel:description:PolicySummary'] :: PolicySummary -> Maybe Text
+ Amazonka.Organizations.Types.PolicySummary: [$sel:id:PolicySummary'] :: PolicySummary -> Maybe Text
+ Amazonka.Organizations.Types.PolicySummary: [$sel:name:PolicySummary'] :: PolicySummary -> Maybe Text
+ Amazonka.Organizations.Types.PolicySummary: [$sel:type':PolicySummary'] :: PolicySummary -> Maybe PolicyType
+ Amazonka.Organizations.Types.PolicySummary: data PolicySummary
+ Amazonka.Organizations.Types.PolicySummary: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.PolicySummary.PolicySummary
+ Amazonka.Organizations.Types.PolicySummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.PolicySummary.PolicySummary
+ Amazonka.Organizations.Types.PolicySummary: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.PolicySummary.PolicySummary
+ Amazonka.Organizations.Types.PolicySummary: instance GHC.Classes.Eq Amazonka.Organizations.Types.PolicySummary.PolicySummary
+ Amazonka.Organizations.Types.PolicySummary: instance GHC.Generics.Generic Amazonka.Organizations.Types.PolicySummary.PolicySummary
+ Amazonka.Organizations.Types.PolicySummary: instance GHC.Read.Read Amazonka.Organizations.Types.PolicySummary.PolicySummary
+ Amazonka.Organizations.Types.PolicySummary: instance GHC.Show.Show Amazonka.Organizations.Types.PolicySummary.PolicySummary
+ Amazonka.Organizations.Types.PolicySummary: newPolicySummary :: PolicySummary
+ Amazonka.Organizations.Types.PolicySummary: policySummary_arn :: Lens' PolicySummary (Maybe Text)
+ Amazonka.Organizations.Types.PolicySummary: policySummary_awsManaged :: Lens' PolicySummary (Maybe Bool)
+ Amazonka.Organizations.Types.PolicySummary: policySummary_description :: Lens' PolicySummary (Maybe Text)
+ Amazonka.Organizations.Types.PolicySummary: policySummary_id :: Lens' PolicySummary (Maybe Text)
+ Amazonka.Organizations.Types.PolicySummary: policySummary_name :: Lens' PolicySummary (Maybe Text)
+ Amazonka.Organizations.Types.PolicySummary: policySummary_type :: Lens' PolicySummary (Maybe PolicyType)
+ Amazonka.Organizations.Types.PolicyTargetSummary: PolicyTargetSummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe TargetType -> PolicyTargetSummary
+ Amazonka.Organizations.Types.PolicyTargetSummary: [$sel:arn:PolicyTargetSummary'] :: PolicyTargetSummary -> Maybe Text
+ Amazonka.Organizations.Types.PolicyTargetSummary: [$sel:name:PolicyTargetSummary'] :: PolicyTargetSummary -> Maybe Text
+ Amazonka.Organizations.Types.PolicyTargetSummary: [$sel:targetId:PolicyTargetSummary'] :: PolicyTargetSummary -> Maybe Text
+ Amazonka.Organizations.Types.PolicyTargetSummary: [$sel:type':PolicyTargetSummary'] :: PolicyTargetSummary -> Maybe TargetType
+ Amazonka.Organizations.Types.PolicyTargetSummary: data PolicyTargetSummary
+ Amazonka.Organizations.Types.PolicyTargetSummary: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.PolicyTargetSummary.PolicyTargetSummary
+ Amazonka.Organizations.Types.PolicyTargetSummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.PolicyTargetSummary.PolicyTargetSummary
+ Amazonka.Organizations.Types.PolicyTargetSummary: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.PolicyTargetSummary.PolicyTargetSummary
+ Amazonka.Organizations.Types.PolicyTargetSummary: instance GHC.Classes.Eq Amazonka.Organizations.Types.PolicyTargetSummary.PolicyTargetSummary
+ Amazonka.Organizations.Types.PolicyTargetSummary: instance GHC.Generics.Generic Amazonka.Organizations.Types.PolicyTargetSummary.PolicyTargetSummary
+ Amazonka.Organizations.Types.PolicyTargetSummary: instance GHC.Read.Read Amazonka.Organizations.Types.PolicyTargetSummary.PolicyTargetSummary
+ Amazonka.Organizations.Types.PolicyTargetSummary: instance GHC.Show.Show Amazonka.Organizations.Types.PolicyTargetSummary.PolicyTargetSummary
+ Amazonka.Organizations.Types.PolicyTargetSummary: newPolicyTargetSummary :: PolicyTargetSummary
+ Amazonka.Organizations.Types.PolicyTargetSummary: policyTargetSummary_arn :: Lens' PolicyTargetSummary (Maybe Text)
+ Amazonka.Organizations.Types.PolicyTargetSummary: policyTargetSummary_name :: Lens' PolicyTargetSummary (Maybe Text)
+ Amazonka.Organizations.Types.PolicyTargetSummary: policyTargetSummary_targetId :: Lens' PolicyTargetSummary (Maybe Text)
+ Amazonka.Organizations.Types.PolicyTargetSummary: policyTargetSummary_type :: Lens' PolicyTargetSummary (Maybe TargetType)
+ Amazonka.Organizations.Types.PolicyType: PolicyType' :: Text -> PolicyType
+ Amazonka.Organizations.Types.PolicyType: [fromPolicyType] :: PolicyType -> Text
+ Amazonka.Organizations.Types.PolicyType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: instance Amazonka.Data.Headers.ToHeader Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: instance Amazonka.Data.Log.ToLog Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: instance Amazonka.Data.Text.FromText Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: instance Amazonka.Data.Text.ToText Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: instance Amazonka.Data.XML.FromXML Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: instance Amazonka.Data.XML.ToXML Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: instance GHC.Classes.Eq Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: instance GHC.Classes.Ord Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: instance GHC.Generics.Generic Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: instance GHC.Read.Read Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: instance GHC.Show.Show Amazonka.Organizations.Types.PolicyType.PolicyType
+ Amazonka.Organizations.Types.PolicyType: newtype PolicyType
+ Amazonka.Organizations.Types.PolicyType: pattern PolicyType_AISERVICES_OPT_OUT_POLICY :: PolicyType
+ Amazonka.Organizations.Types.PolicyType: pattern PolicyType_BACKUP_POLICY :: PolicyType
+ Amazonka.Organizations.Types.PolicyType: pattern PolicyType_SERVICE_CONTROL_POLICY :: PolicyType
+ Amazonka.Organizations.Types.PolicyType: pattern PolicyType_TAG_POLICY :: PolicyType
+ Amazonka.Organizations.Types.PolicyTypeStatus: PolicyTypeStatus' :: Text -> PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: [fromPolicyTypeStatus] :: PolicyTypeStatus -> Text
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance Amazonka.Data.Log.ToLog Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance Amazonka.Data.Text.FromText Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance Amazonka.Data.Text.ToText Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance Amazonka.Data.XML.FromXML Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance Amazonka.Data.XML.ToXML Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance GHC.Classes.Eq Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance GHC.Classes.Ord Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance GHC.Generics.Generic Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance GHC.Read.Read Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: instance GHC.Show.Show Amazonka.Organizations.Types.PolicyTypeStatus.PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: newtype PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: pattern PolicyTypeStatus_ENABLED :: PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: pattern PolicyTypeStatus_PENDING_DISABLE :: PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeStatus: pattern PolicyTypeStatus_PENDING_ENABLE :: PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeSummary: PolicyTypeSummary' :: Maybe PolicyTypeStatus -> Maybe PolicyType -> PolicyTypeSummary
+ Amazonka.Organizations.Types.PolicyTypeSummary: [$sel:status:PolicyTypeSummary'] :: PolicyTypeSummary -> Maybe PolicyTypeStatus
+ Amazonka.Organizations.Types.PolicyTypeSummary: [$sel:type':PolicyTypeSummary'] :: PolicyTypeSummary -> Maybe PolicyType
+ Amazonka.Organizations.Types.PolicyTypeSummary: data PolicyTypeSummary
+ Amazonka.Organizations.Types.PolicyTypeSummary: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.PolicyTypeSummary.PolicyTypeSummary
+ Amazonka.Organizations.Types.PolicyTypeSummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.PolicyTypeSummary.PolicyTypeSummary
+ Amazonka.Organizations.Types.PolicyTypeSummary: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.PolicyTypeSummary.PolicyTypeSummary
+ Amazonka.Organizations.Types.PolicyTypeSummary: instance GHC.Classes.Eq Amazonka.Organizations.Types.PolicyTypeSummary.PolicyTypeSummary
+ Amazonka.Organizations.Types.PolicyTypeSummary: instance GHC.Generics.Generic Amazonka.Organizations.Types.PolicyTypeSummary.PolicyTypeSummary
+ Amazonka.Organizations.Types.PolicyTypeSummary: instance GHC.Read.Read Amazonka.Organizations.Types.PolicyTypeSummary.PolicyTypeSummary
+ Amazonka.Organizations.Types.PolicyTypeSummary: instance GHC.Show.Show Amazonka.Organizations.Types.PolicyTypeSummary.PolicyTypeSummary
+ Amazonka.Organizations.Types.PolicyTypeSummary: newPolicyTypeSummary :: PolicyTypeSummary
+ Amazonka.Organizations.Types.PolicyTypeSummary: policyTypeSummary_status :: Lens' PolicyTypeSummary (Maybe PolicyTypeStatus)
+ Amazonka.Organizations.Types.PolicyTypeSummary: policyTypeSummary_type :: Lens' PolicyTypeSummary (Maybe PolicyType)
+ Amazonka.Organizations.Types.ResourcePolicy: ResourcePolicy' :: Maybe Text -> Maybe ResourcePolicySummary -> ResourcePolicy
+ Amazonka.Organizations.Types.ResourcePolicy: [$sel:content:ResourcePolicy'] :: ResourcePolicy -> Maybe Text
+ Amazonka.Organizations.Types.ResourcePolicy: [$sel:resourcePolicySummary:ResourcePolicy'] :: ResourcePolicy -> Maybe ResourcePolicySummary
+ Amazonka.Organizations.Types.ResourcePolicy: data ResourcePolicy
+ Amazonka.Organizations.Types.ResourcePolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.ResourcePolicy.ResourcePolicy
+ Amazonka.Organizations.Types.ResourcePolicy: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.ResourcePolicy.ResourcePolicy
+ Amazonka.Organizations.Types.ResourcePolicy: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.ResourcePolicy.ResourcePolicy
+ Amazonka.Organizations.Types.ResourcePolicy: instance GHC.Classes.Eq Amazonka.Organizations.Types.ResourcePolicy.ResourcePolicy
+ Amazonka.Organizations.Types.ResourcePolicy: instance GHC.Generics.Generic Amazonka.Organizations.Types.ResourcePolicy.ResourcePolicy
+ Amazonka.Organizations.Types.ResourcePolicy: instance GHC.Read.Read Amazonka.Organizations.Types.ResourcePolicy.ResourcePolicy
+ Amazonka.Organizations.Types.ResourcePolicy: instance GHC.Show.Show Amazonka.Organizations.Types.ResourcePolicy.ResourcePolicy
+ Amazonka.Organizations.Types.ResourcePolicy: newResourcePolicy :: ResourcePolicy
+ Amazonka.Organizations.Types.ResourcePolicy: resourcePolicy_content :: Lens' ResourcePolicy (Maybe Text)
+ Amazonka.Organizations.Types.ResourcePolicy: resourcePolicy_resourcePolicySummary :: Lens' ResourcePolicy (Maybe ResourcePolicySummary)
+ Amazonka.Organizations.Types.ResourcePolicySummary: ResourcePolicySummary' :: Maybe Text -> Maybe Text -> ResourcePolicySummary
+ Amazonka.Organizations.Types.ResourcePolicySummary: [$sel:arn:ResourcePolicySummary'] :: ResourcePolicySummary -> Maybe Text
+ Amazonka.Organizations.Types.ResourcePolicySummary: [$sel:id:ResourcePolicySummary'] :: ResourcePolicySummary -> Maybe Text
+ Amazonka.Organizations.Types.ResourcePolicySummary: data ResourcePolicySummary
+ Amazonka.Organizations.Types.ResourcePolicySummary: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.ResourcePolicySummary.ResourcePolicySummary
+ Amazonka.Organizations.Types.ResourcePolicySummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.ResourcePolicySummary.ResourcePolicySummary
+ Amazonka.Organizations.Types.ResourcePolicySummary: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.ResourcePolicySummary.ResourcePolicySummary
+ Amazonka.Organizations.Types.ResourcePolicySummary: instance GHC.Classes.Eq Amazonka.Organizations.Types.ResourcePolicySummary.ResourcePolicySummary
+ Amazonka.Organizations.Types.ResourcePolicySummary: instance GHC.Generics.Generic Amazonka.Organizations.Types.ResourcePolicySummary.ResourcePolicySummary
+ Amazonka.Organizations.Types.ResourcePolicySummary: instance GHC.Read.Read Amazonka.Organizations.Types.ResourcePolicySummary.ResourcePolicySummary
+ Amazonka.Organizations.Types.ResourcePolicySummary: instance GHC.Show.Show Amazonka.Organizations.Types.ResourcePolicySummary.ResourcePolicySummary
+ Amazonka.Organizations.Types.ResourcePolicySummary: newResourcePolicySummary :: ResourcePolicySummary
+ Amazonka.Organizations.Types.ResourcePolicySummary: resourcePolicySummary_arn :: Lens' ResourcePolicySummary (Maybe Text)
+ Amazonka.Organizations.Types.ResourcePolicySummary: resourcePolicySummary_id :: Lens' ResourcePolicySummary (Maybe Text)
+ Amazonka.Organizations.Types.Root: Root' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe [PolicyTypeSummary] -> Root
+ Amazonka.Organizations.Types.Root: [$sel:arn:Root'] :: Root -> Maybe Text
+ Amazonka.Organizations.Types.Root: [$sel:id:Root'] :: Root -> Maybe Text
+ Amazonka.Organizations.Types.Root: [$sel:name:Root'] :: Root -> Maybe Text
+ Amazonka.Organizations.Types.Root: [$sel:policyTypes:Root'] :: Root -> Maybe [PolicyTypeSummary]
+ Amazonka.Organizations.Types.Root: data Root
+ Amazonka.Organizations.Types.Root: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.Root.Root
+ Amazonka.Organizations.Types.Root: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.Root.Root
+ Amazonka.Organizations.Types.Root: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.Root.Root
+ Amazonka.Organizations.Types.Root: instance GHC.Classes.Eq Amazonka.Organizations.Types.Root.Root
+ Amazonka.Organizations.Types.Root: instance GHC.Generics.Generic Amazonka.Organizations.Types.Root.Root
+ Amazonka.Organizations.Types.Root: instance GHC.Read.Read Amazonka.Organizations.Types.Root.Root
+ Amazonka.Organizations.Types.Root: instance GHC.Show.Show Amazonka.Organizations.Types.Root.Root
+ Amazonka.Organizations.Types.Root: newRoot :: Root
+ Amazonka.Organizations.Types.Root: root_arn :: Lens' Root (Maybe Text)
+ Amazonka.Organizations.Types.Root: root_id :: Lens' Root (Maybe Text)
+ Amazonka.Organizations.Types.Root: root_name :: Lens' Root (Maybe Text)
+ Amazonka.Organizations.Types.Root: root_policyTypes :: Lens' Root (Maybe [PolicyTypeSummary])
+ Amazonka.Organizations.Types.Tag: Tag' :: Text -> Text -> Tag
+ Amazonka.Organizations.Types.Tag: [$sel:key:Tag'] :: Tag -> Text
+ Amazonka.Organizations.Types.Tag: [$sel:value:Tag'] :: Tag -> Text
+ Amazonka.Organizations.Types.Tag: data Tag
+ Amazonka.Organizations.Types.Tag: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.Tag.Tag
+ Amazonka.Organizations.Types.Tag: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.Tag.Tag
+ Amazonka.Organizations.Types.Tag: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.Tag.Tag
+ Amazonka.Organizations.Types.Tag: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.Tag.Tag
+ Amazonka.Organizations.Types.Tag: instance GHC.Classes.Eq Amazonka.Organizations.Types.Tag.Tag
+ Amazonka.Organizations.Types.Tag: instance GHC.Generics.Generic Amazonka.Organizations.Types.Tag.Tag
+ Amazonka.Organizations.Types.Tag: instance GHC.Read.Read Amazonka.Organizations.Types.Tag.Tag
+ Amazonka.Organizations.Types.Tag: instance GHC.Show.Show Amazonka.Organizations.Types.Tag.Tag
+ Amazonka.Organizations.Types.Tag: newTag :: Text -> Text -> Tag
+ Amazonka.Organizations.Types.Tag: tag_key :: Lens' Tag Text
+ Amazonka.Organizations.Types.Tag: tag_value :: Lens' Tag Text
+ Amazonka.Organizations.Types.TargetType: TargetType' :: Text -> TargetType
+ Amazonka.Organizations.Types.TargetType: [fromTargetType] :: TargetType -> Text
+ Amazonka.Organizations.Types.TargetType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: instance Amazonka.Data.Headers.ToHeader Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: instance Amazonka.Data.Log.ToLog Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: instance Amazonka.Data.Text.FromText Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: instance Amazonka.Data.Text.ToText Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: instance Amazonka.Data.XML.FromXML Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: instance Amazonka.Data.XML.ToXML Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: instance Control.DeepSeq.NFData Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: instance Data.Hashable.Class.Hashable Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: instance GHC.Classes.Eq Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: instance GHC.Classes.Ord Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: instance GHC.Generics.Generic Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: instance GHC.Read.Read Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: instance GHC.Show.Show Amazonka.Organizations.Types.TargetType.TargetType
+ Amazonka.Organizations.Types.TargetType: newtype TargetType
+ Amazonka.Organizations.Types.TargetType: pattern TargetType_ACCOUNT :: TargetType
+ Amazonka.Organizations.Types.TargetType: pattern TargetType_ORGANIZATIONAL_UNIT :: TargetType
+ Amazonka.Organizations.Types.TargetType: pattern TargetType_ROOT :: TargetType
+ Amazonka.Organizations.UntagResource: UntagResource' :: Text -> [Text] -> UntagResource
+ Amazonka.Organizations.UntagResource: UntagResourceResponse' :: UntagResourceResponse
+ Amazonka.Organizations.UntagResource: [$sel:resourceId:UntagResource'] :: UntagResource -> Text
+ Amazonka.Organizations.UntagResource: [$sel:tagKeys:UntagResource'] :: UntagResource -> [Text]
+ Amazonka.Organizations.UntagResource: data UntagResource
+ Amazonka.Organizations.UntagResource: data UntagResourceResponse
+ Amazonka.Organizations.UntagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.UntagResource.UntagResource
+ Amazonka.Organizations.UntagResource: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.UntagResource.UntagResource
+ Amazonka.Organizations.UntagResource: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.UntagResource.UntagResource
+ Amazonka.Organizations.UntagResource: instance Amazonka.Types.AWSRequest Amazonka.Organizations.UntagResource.UntagResource
+ Amazonka.Organizations.UntagResource: instance Control.DeepSeq.NFData Amazonka.Organizations.UntagResource.UntagResource
+ Amazonka.Organizations.UntagResource: instance Control.DeepSeq.NFData Amazonka.Organizations.UntagResource.UntagResourceResponse
+ Amazonka.Organizations.UntagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.UntagResource.UntagResource
+ Amazonka.Organizations.UntagResource: instance Data.Hashable.Class.Hashable Amazonka.Organizations.UntagResource.UntagResource
+ Amazonka.Organizations.UntagResource: instance GHC.Classes.Eq Amazonka.Organizations.UntagResource.UntagResource
+ Amazonka.Organizations.UntagResource: instance GHC.Classes.Eq Amazonka.Organizations.UntagResource.UntagResourceResponse
+ Amazonka.Organizations.UntagResource: instance GHC.Generics.Generic Amazonka.Organizations.UntagResource.UntagResource
+ Amazonka.Organizations.UntagResource: instance GHC.Generics.Generic Amazonka.Organizations.UntagResource.UntagResourceResponse
+ Amazonka.Organizations.UntagResource: instance GHC.Read.Read Amazonka.Organizations.UntagResource.UntagResource
+ Amazonka.Organizations.UntagResource: instance GHC.Read.Read Amazonka.Organizations.UntagResource.UntagResourceResponse
+ Amazonka.Organizations.UntagResource: instance GHC.Show.Show Amazonka.Organizations.UntagResource.UntagResource
+ Amazonka.Organizations.UntagResource: instance GHC.Show.Show Amazonka.Organizations.UntagResource.UntagResourceResponse
+ Amazonka.Organizations.UntagResource: newUntagResource :: Text -> UntagResource
+ Amazonka.Organizations.UntagResource: newUntagResourceResponse :: UntagResourceResponse
+ Amazonka.Organizations.UntagResource: untagResource_resourceId :: Lens' UntagResource Text
+ Amazonka.Organizations.UntagResource: untagResource_tagKeys :: Lens' UntagResource [Text]
+ Amazonka.Organizations.UpdateOrganizationalUnit: UpdateOrganizationalUnit' :: Maybe Text -> Text -> UpdateOrganizationalUnit
+ Amazonka.Organizations.UpdateOrganizationalUnit: UpdateOrganizationalUnitResponse' :: Maybe OrganizationalUnit -> Int -> UpdateOrganizationalUnitResponse
+ Amazonka.Organizations.UpdateOrganizationalUnit: [$sel:httpStatus:UpdateOrganizationalUnitResponse'] :: UpdateOrganizationalUnitResponse -> Int
+ Amazonka.Organizations.UpdateOrganizationalUnit: [$sel:name:UpdateOrganizationalUnit'] :: UpdateOrganizationalUnit -> Maybe Text
+ Amazonka.Organizations.UpdateOrganizationalUnit: [$sel:organizationalUnit:UpdateOrganizationalUnitResponse'] :: UpdateOrganizationalUnitResponse -> Maybe OrganizationalUnit
+ Amazonka.Organizations.UpdateOrganizationalUnit: [$sel:organizationalUnitId:UpdateOrganizationalUnit'] :: UpdateOrganizationalUnit -> Text
+ Amazonka.Organizations.UpdateOrganizationalUnit: data UpdateOrganizationalUnit
+ Amazonka.Organizations.UpdateOrganizationalUnit: data UpdateOrganizationalUnitResponse
+ Amazonka.Organizations.UpdateOrganizationalUnit: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
+ Amazonka.Organizations.UpdateOrganizationalUnit: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
+ Amazonka.Organizations.UpdateOrganizationalUnit: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
+ Amazonka.Organizations.UpdateOrganizationalUnit: instance Amazonka.Types.AWSRequest Amazonka.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
+ Amazonka.Organizations.UpdateOrganizationalUnit: instance Control.DeepSeq.NFData Amazonka.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
+ Amazonka.Organizations.UpdateOrganizationalUnit: instance Control.DeepSeq.NFData Amazonka.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnitResponse
+ Amazonka.Organizations.UpdateOrganizationalUnit: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
+ Amazonka.Organizations.UpdateOrganizationalUnit: instance Data.Hashable.Class.Hashable Amazonka.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
+ Amazonka.Organizations.UpdateOrganizationalUnit: instance GHC.Classes.Eq Amazonka.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
+ Amazonka.Organizations.UpdateOrganizationalUnit: instance GHC.Classes.Eq Amazonka.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnitResponse
+ Amazonka.Organizations.UpdateOrganizationalUnit: instance GHC.Generics.Generic Amazonka.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
+ Amazonka.Organizations.UpdateOrganizationalUnit: instance GHC.Generics.Generic Amazonka.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnitResponse
+ Amazonka.Organizations.UpdateOrganizationalUnit: instance GHC.Read.Read Amazonka.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
+ Amazonka.Organizations.UpdateOrganizationalUnit: instance GHC.Read.Read Amazonka.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnitResponse
+ Amazonka.Organizations.UpdateOrganizationalUnit: instance GHC.Show.Show Amazonka.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnit
+ Amazonka.Organizations.UpdateOrganizationalUnit: instance GHC.Show.Show Amazonka.Organizations.UpdateOrganizationalUnit.UpdateOrganizationalUnitResponse
+ Amazonka.Organizations.UpdateOrganizationalUnit: newUpdateOrganizationalUnit :: Text -> UpdateOrganizationalUnit
+ Amazonka.Organizations.UpdateOrganizationalUnit: newUpdateOrganizationalUnitResponse :: Int -> UpdateOrganizationalUnitResponse
+ Amazonka.Organizations.UpdateOrganizationalUnit: updateOrganizationalUnitResponse_httpStatus :: Lens' UpdateOrganizationalUnitResponse Int
+ Amazonka.Organizations.UpdateOrganizationalUnit: updateOrganizationalUnitResponse_organizationalUnit :: Lens' UpdateOrganizationalUnitResponse (Maybe OrganizationalUnit)
+ Amazonka.Organizations.UpdateOrganizationalUnit: updateOrganizationalUnit_name :: Lens' UpdateOrganizationalUnit (Maybe Text)
+ Amazonka.Organizations.UpdateOrganizationalUnit: updateOrganizationalUnit_organizationalUnitId :: Lens' UpdateOrganizationalUnit Text
+ Amazonka.Organizations.UpdatePolicy: UpdatePolicy' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> UpdatePolicy
+ Amazonka.Organizations.UpdatePolicy: UpdatePolicyResponse' :: Maybe Policy -> Int -> UpdatePolicyResponse
+ Amazonka.Organizations.UpdatePolicy: [$sel:content:UpdatePolicy'] :: UpdatePolicy -> Maybe Text
+ Amazonka.Organizations.UpdatePolicy: [$sel:description:UpdatePolicy'] :: UpdatePolicy -> Maybe Text
+ Amazonka.Organizations.UpdatePolicy: [$sel:httpStatus:UpdatePolicyResponse'] :: UpdatePolicyResponse -> Int
+ Amazonka.Organizations.UpdatePolicy: [$sel:name:UpdatePolicy'] :: UpdatePolicy -> Maybe Text
+ Amazonka.Organizations.UpdatePolicy: [$sel:policy:UpdatePolicyResponse'] :: UpdatePolicyResponse -> Maybe Policy
+ Amazonka.Organizations.UpdatePolicy: [$sel:policyId:UpdatePolicy'] :: UpdatePolicy -> Text
+ Amazonka.Organizations.UpdatePolicy: data UpdatePolicy
+ Amazonka.Organizations.UpdatePolicy: data UpdatePolicyResponse
+ Amazonka.Organizations.UpdatePolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.Organizations.UpdatePolicy.UpdatePolicy
+ Amazonka.Organizations.UpdatePolicy: instance Amazonka.Data.Path.ToPath Amazonka.Organizations.UpdatePolicy.UpdatePolicy
+ Amazonka.Organizations.UpdatePolicy: instance Amazonka.Data.Query.ToQuery Amazonka.Organizations.UpdatePolicy.UpdatePolicy
+ Amazonka.Organizations.UpdatePolicy: instance Amazonka.Types.AWSRequest Amazonka.Organizations.UpdatePolicy.UpdatePolicy
+ Amazonka.Organizations.UpdatePolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.UpdatePolicy.UpdatePolicy
+ Amazonka.Organizations.UpdatePolicy: instance Control.DeepSeq.NFData Amazonka.Organizations.UpdatePolicy.UpdatePolicyResponse
+ Amazonka.Organizations.UpdatePolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Organizations.UpdatePolicy.UpdatePolicy
+ Amazonka.Organizations.UpdatePolicy: instance Data.Hashable.Class.Hashable Amazonka.Organizations.UpdatePolicy.UpdatePolicy
+ Amazonka.Organizations.UpdatePolicy: instance GHC.Classes.Eq Amazonka.Organizations.UpdatePolicy.UpdatePolicy
+ Amazonka.Organizations.UpdatePolicy: instance GHC.Classes.Eq Amazonka.Organizations.UpdatePolicy.UpdatePolicyResponse
+ Amazonka.Organizations.UpdatePolicy: instance GHC.Generics.Generic Amazonka.Organizations.UpdatePolicy.UpdatePolicy
+ Amazonka.Organizations.UpdatePolicy: instance GHC.Generics.Generic Amazonka.Organizations.UpdatePolicy.UpdatePolicyResponse
+ Amazonka.Organizations.UpdatePolicy: instance GHC.Read.Read Amazonka.Organizations.UpdatePolicy.UpdatePolicy
+ Amazonka.Organizations.UpdatePolicy: instance GHC.Read.Read Amazonka.Organizations.UpdatePolicy.UpdatePolicyResponse
+ Amazonka.Organizations.UpdatePolicy: instance GHC.Show.Show Amazonka.Organizations.UpdatePolicy.UpdatePolicy
+ Amazonka.Organizations.UpdatePolicy: instance GHC.Show.Show Amazonka.Organizations.UpdatePolicy.UpdatePolicyResponse
+ Amazonka.Organizations.UpdatePolicy: newUpdatePolicy :: Text -> UpdatePolicy
+ Amazonka.Organizations.UpdatePolicy: newUpdatePolicyResponse :: Int -> UpdatePolicyResponse
+ Amazonka.Organizations.UpdatePolicy: updatePolicyResponse_httpStatus :: Lens' UpdatePolicyResponse Int
+ Amazonka.Organizations.UpdatePolicy: updatePolicyResponse_policy :: Lens' UpdatePolicyResponse (Maybe Policy)
+ Amazonka.Organizations.UpdatePolicy: updatePolicy_content :: Lens' UpdatePolicy (Maybe Text)
+ Amazonka.Organizations.UpdatePolicy: updatePolicy_description :: Lens' UpdatePolicy (Maybe Text)
+ Amazonka.Organizations.UpdatePolicy: updatePolicy_name :: Lens' UpdatePolicy (Maybe Text)
+ Amazonka.Organizations.UpdatePolicy: updatePolicy_policyId :: Lens' UpdatePolicy Text

Files

README.md view
@@ -7,9 +7,8 @@   ## Version--`1.6.1`-+ +`2.0` - Derived from API version @2016-11-28@ of the AWS service descriptions, licensed under Apache 2.0.  ## Description @@ -26,7 +25,7 @@ The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core). -See [Network.AWS.Organizations](http://hackage.haskell.org/package/amazonka-organizations/docs/Network-AWS-Organizations.html)+See [Amazonka.Organizations](http://hackage.haskell.org/package/amazonka-organizations/docs/Amazonka-Organizations.html) or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.  
− Setup.hs
@@ -1,2 +0,0 @@-import           Distribution.Simple-main = defaultMain
amazonka-organizations.cabal view
@@ -1,127 +1,176 @@-name:                  amazonka-organizations-version:               1.6.1-synopsis:              Amazon Organizations SDK.-homepage:              https://github.com/brendanhay/amazonka-bug-reports:           https://github.com/brendanhay/amazonka/issues-license:               MPL-2.0-license-file:          LICENSE-author:                Brendan Hay-maintainer:            Brendan Hay <brendan.g.hay+amazonka@gmail.com>-copyright:             Copyright (c) 2013-2018 Brendan Hay-category:              Network, AWS, Cloud, Distributed Computing-build-type:            Simple-cabal-version:         >= 1.10-extra-source-files:    README.md fixture/*.yaml fixture/*.proto src/.gitkeep+cabal-version:      2.2+name:               amazonka-organizations+version:            2.0+synopsis:           Amazon Organizations SDK.+homepage:           https://github.com/brendanhay/amazonka+bug-reports:        https://github.com/brendanhay/amazonka/issues+license:            MPL-2.0+license-file:       LICENSE+author:             Brendan Hay+maintainer:+  Brendan Hay <brendan.g.hay+amazonka@gmail.com>, Jack Kelly <jack@jackkelly.name>++copyright:          Copyright (c) 2013-2023 Brendan Hay+category:           AWS+build-type:         Simple+extra-source-files:+  fixture/*.proto+  fixture/*.yaml+  README.md+  src/.gitkeep+ description:-    The types from this library are intended to be used with-    <http://hackage.haskell.org/package/amazonka amazonka>, which provides-    mechanisms for specifying AuthN/AuthZ information, sending requests,-    and receiving responses.-    .-    Lenses are used for constructing and manipulating types,-    due to the depth of nesting of AWS types and transparency regarding-    de/serialisation into more palatable Haskell values.-    The provided lenses should be compatible with any of the major lens libraries-    such as <http://hackage.haskell.org/package/lens lens> or-    <http://hackage.haskell.org/package/lens-family-core lens-family-core>.-    .-    See "Network.AWS.Organizations" or <https://aws.amazon.com/documentation/ the AWS documentation>-    to get started.+  Derived from API version @2016-11-28@ of the AWS service descriptions, licensed under Apache 2.0.+  .+  The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>,+  which provides mechanisms for specifying AuthN/AuthZ information, sending requests, and receiving responses.+  .+  It is recommended to use generic lenses or optics from packages such as <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify optional fields and deconstruct responses.+  .+  Generated lenses can be found in "Amazonka.Organizations.Lens" and are+  suitable for use with a lens package such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>.+  .+  See "Amazonka.Organizations" and the <https://aws.amazon.com/documentation/ AWS documentation> to get started.  source-repository head-    type:              git-    location:          git://github.com/brendanhay/amazonka.git-    subdir:            amazonka-organizations+  type:     git+  location: git://github.com/brendanhay/amazonka.git+  subdir:   amazonka-organizations  library-    default-language:  Haskell2010-    hs-source-dirs:    src gen--    ghc-options:-        -Wall-        -fwarn-incomplete-uni-patterns-        -fwarn-incomplete-record-updates-        -funbox-strict-fields--    exposed-modules:-          Network.AWS.Organizations-        , Network.AWS.Organizations.AcceptHandshake-        , Network.AWS.Organizations.AttachPolicy-        , Network.AWS.Organizations.CancelHandshake-        , Network.AWS.Organizations.CreateAccount-        , Network.AWS.Organizations.CreateOrganization-        , Network.AWS.Organizations.CreateOrganizationalUnit-        , Network.AWS.Organizations.CreatePolicy-        , Network.AWS.Organizations.DeclineHandshake-        , Network.AWS.Organizations.DeleteOrganization-        , Network.AWS.Organizations.DeleteOrganizationalUnit-        , Network.AWS.Organizations.DeletePolicy-        , Network.AWS.Organizations.DescribeAccount-        , Network.AWS.Organizations.DescribeCreateAccountStatus-        , Network.AWS.Organizations.DescribeHandshake-        , Network.AWS.Organizations.DescribeOrganization-        , Network.AWS.Organizations.DescribeOrganizationalUnit-        , Network.AWS.Organizations.DescribePolicy-        , Network.AWS.Organizations.DetachPolicy-        , Network.AWS.Organizations.DisableAWSServiceAccess-        , Network.AWS.Organizations.DisablePolicyType-        , Network.AWS.Organizations.EnableAWSServiceAccess-        , Network.AWS.Organizations.EnableAllFeatures-        , Network.AWS.Organizations.EnablePolicyType-        , Network.AWS.Organizations.InviteAccountToOrganization-        , Network.AWS.Organizations.LeaveOrganization-        , Network.AWS.Organizations.ListAWSServiceAccessForOrganization-        , Network.AWS.Organizations.ListAccounts-        , Network.AWS.Organizations.ListAccountsForParent-        , Network.AWS.Organizations.ListChildren-        , Network.AWS.Organizations.ListCreateAccountStatus-        , Network.AWS.Organizations.ListHandshakesForAccount-        , Network.AWS.Organizations.ListHandshakesForOrganization-        , Network.AWS.Organizations.ListOrganizationalUnitsForParent-        , Network.AWS.Organizations.ListParents-        , Network.AWS.Organizations.ListPolicies-        , Network.AWS.Organizations.ListPoliciesForTarget-        , Network.AWS.Organizations.ListRoots-        , Network.AWS.Organizations.ListTargetsForPolicy-        , Network.AWS.Organizations.MoveAccount-        , Network.AWS.Organizations.RemoveAccountFromOrganization-        , Network.AWS.Organizations.Types-        , Network.AWS.Organizations.UpdateOrganizationalUnit-        , Network.AWS.Organizations.UpdatePolicy-        , Network.AWS.Organizations.Waiters+  default-language: Haskell2010+  hs-source-dirs:   src gen+  ghc-options:+    -Wall -fwarn-incomplete-uni-patterns+    -fwarn-incomplete-record-updates -funbox-strict-fields -    other-modules:-          Network.AWS.Organizations.Types.Product-        , Network.AWS.Organizations.Types.Sum+  exposed-modules:+    Amazonka.Organizations+    Amazonka.Organizations.AcceptHandshake+    Amazonka.Organizations.AttachPolicy+    Amazonka.Organizations.CancelHandshake+    Amazonka.Organizations.CloseAccount+    Amazonka.Organizations.CreateAccount+    Amazonka.Organizations.CreateGovCloudAccount+    Amazonka.Organizations.CreateOrganization+    Amazonka.Organizations.CreateOrganizationalUnit+    Amazonka.Organizations.CreatePolicy+    Amazonka.Organizations.DeclineHandshake+    Amazonka.Organizations.DeleteOrganization+    Amazonka.Organizations.DeleteOrganizationalUnit+    Amazonka.Organizations.DeletePolicy+    Amazonka.Organizations.DeleteResourcePolicy+    Amazonka.Organizations.DeregisterDelegatedAdministrator+    Amazonka.Organizations.DescribeAccount+    Amazonka.Organizations.DescribeCreateAccountStatus+    Amazonka.Organizations.DescribeEffectivePolicy+    Amazonka.Organizations.DescribeHandshake+    Amazonka.Organizations.DescribeOrganization+    Amazonka.Organizations.DescribeOrganizationalUnit+    Amazonka.Organizations.DescribePolicy+    Amazonka.Organizations.DescribeResourcePolicy+    Amazonka.Organizations.DetachPolicy+    Amazonka.Organizations.DisableAWSServiceAccess+    Amazonka.Organizations.DisablePolicyType+    Amazonka.Organizations.EnableAllFeatures+    Amazonka.Organizations.EnableAWSServiceAccess+    Amazonka.Organizations.EnablePolicyType+    Amazonka.Organizations.InviteAccountToOrganization+    Amazonka.Organizations.LeaveOrganization+    Amazonka.Organizations.Lens+    Amazonka.Organizations.ListAccounts+    Amazonka.Organizations.ListAccountsForParent+    Amazonka.Organizations.ListAWSServiceAccessForOrganization+    Amazonka.Organizations.ListChildren+    Amazonka.Organizations.ListCreateAccountStatus+    Amazonka.Organizations.ListDelegatedAdministrators+    Amazonka.Organizations.ListDelegatedServicesForAccount+    Amazonka.Organizations.ListHandshakesForAccount+    Amazonka.Organizations.ListHandshakesForOrganization+    Amazonka.Organizations.ListOrganizationalUnitsForParent+    Amazonka.Organizations.ListParents+    Amazonka.Organizations.ListPolicies+    Amazonka.Organizations.ListPoliciesForTarget+    Amazonka.Organizations.ListRoots+    Amazonka.Organizations.ListTagsForResource+    Amazonka.Organizations.ListTargetsForPolicy+    Amazonka.Organizations.MoveAccount+    Amazonka.Organizations.PutResourcePolicy+    Amazonka.Organizations.RegisterDelegatedAdministrator+    Amazonka.Organizations.RemoveAccountFromOrganization+    Amazonka.Organizations.TagResource+    Amazonka.Organizations.Types+    Amazonka.Organizations.Types.Account+    Amazonka.Organizations.Types.AccountJoinedMethod+    Amazonka.Organizations.Types.AccountStatus+    Amazonka.Organizations.Types.ActionType+    Amazonka.Organizations.Types.Child+    Amazonka.Organizations.Types.ChildType+    Amazonka.Organizations.Types.CreateAccountFailureReason+    Amazonka.Organizations.Types.CreateAccountState+    Amazonka.Organizations.Types.CreateAccountStatus+    Amazonka.Organizations.Types.DelegatedAdministrator+    Amazonka.Organizations.Types.DelegatedService+    Amazonka.Organizations.Types.EffectivePolicy+    Amazonka.Organizations.Types.EffectivePolicyType+    Amazonka.Organizations.Types.EnabledServicePrincipal+    Amazonka.Organizations.Types.Handshake+    Amazonka.Organizations.Types.HandshakeFilter+    Amazonka.Organizations.Types.HandshakeParty+    Amazonka.Organizations.Types.HandshakePartyType+    Amazonka.Organizations.Types.HandshakeResource+    Amazonka.Organizations.Types.HandshakeResourceType+    Amazonka.Organizations.Types.HandshakeState+    Amazonka.Organizations.Types.IAMUserAccessToBilling+    Amazonka.Organizations.Types.Organization+    Amazonka.Organizations.Types.OrganizationalUnit+    Amazonka.Organizations.Types.OrganizationFeatureSet+    Amazonka.Organizations.Types.Parent+    Amazonka.Organizations.Types.ParentType+    Amazonka.Organizations.Types.Policy+    Amazonka.Organizations.Types.PolicySummary+    Amazonka.Organizations.Types.PolicyTargetSummary+    Amazonka.Organizations.Types.PolicyType+    Amazonka.Organizations.Types.PolicyTypeStatus+    Amazonka.Organizations.Types.PolicyTypeSummary+    Amazonka.Organizations.Types.ResourcePolicy+    Amazonka.Organizations.Types.ResourcePolicySummary+    Amazonka.Organizations.Types.Root+    Amazonka.Organizations.Types.Tag+    Amazonka.Organizations.Types.TargetType+    Amazonka.Organizations.UntagResource+    Amazonka.Organizations.UpdateOrganizationalUnit+    Amazonka.Organizations.UpdatePolicy+    Amazonka.Organizations.Waiters -    build-depends:-          amazonka-core == 1.6.1.*-        , base          >= 4.7     && < 5+  build-depends:+    , amazonka-core  >=2.0  && <2.1+    , base           >=4.12 && <5  test-suite amazonka-organizations-test-    type:              exitcode-stdio-1.0-    default-language:  Haskell2010-    hs-source-dirs:    test-    main-is:           Main.hs--    ghc-options:       -Wall -threaded+  type:             exitcode-stdio-1.0+  default-language: Haskell2010+  hs-source-dirs:   test+  main-is:          Main.hs+  ghc-options:      -Wall -threaded -    -- This section is encoded by the template and any modules added by-    -- hand outside these namespaces will not correctly be added to the-    -- distribution package.-    other-modules:-          Test.AWS.Organizations-        , Test.AWS.Gen.Organizations-        , Test.AWS.Organizations.Internal+  -- This section is encoded by the template and any modules added by+  -- hand outside these namespaces will not correctly be added to the+  -- distribution package.+  other-modules:+    Test.Amazonka.Gen.Organizations+    Test.Amazonka.Organizations+    Test.Amazonka.Organizations.Internal -    build-depends:-          amazonka-core == 1.6.1.*-        , amazonka-test == 1.6.1.*-        , amazonka-organizations-        , base-        , bytestring-        , tasty-        , tasty-hunit-        , text-        , time-        , unordered-containers+  build-depends:+    , amazonka-core           >=2.0 && <2.1+    , amazonka-organizations+    , amazonka-test           >=2.0 && <2.1+    , base+    , bytestring+    , case-insensitive+    , tasty+    , tasty-hunit+    , text+    , time+    , unordered-containers
+ fixture/CloseAccount.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/organizations/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  organizations.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/CloseAccountResponse.proto view
+ fixture/CreateGovCloudAccount.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/organizations/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  organizations.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/CreateGovCloudAccountResponse.proto view
+ fixture/DeleteResourcePolicy.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/organizations/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  organizations.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/DeleteResourcePolicyResponse.proto view
+ fixture/DeregisterDelegatedAdministrator.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/organizations/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  organizations.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/DeregisterDelegatedAdministratorResponse.proto view
+ fixture/DescribeEffectivePolicy.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/organizations/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  organizations.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/DescribeEffectivePolicyResponse.proto view
+ fixture/DescribeResourcePolicy.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/organizations/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  organizations.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/DescribeResourcePolicyResponse.proto view
+ fixture/ListDelegatedAdministrators.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/organizations/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  organizations.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/ListDelegatedAdministratorsResponse.proto view
+ fixture/ListDelegatedServicesForAccount.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/organizations/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  organizations.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/ListDelegatedServicesForAccountResponse.proto view
+ fixture/ListTagsForResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/organizations/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  organizations.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/ListTagsForResourceResponse.proto view
+ fixture/PutResourcePolicy.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/organizations/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  organizations.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/PutResourcePolicyResponse.proto view
+ fixture/RegisterDelegatedAdministrator.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/organizations/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  organizations.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/RegisterDelegatedAdministratorResponse.proto view
+ fixture/TagResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/organizations/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  organizations.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/TagResourceResponse.proto view
+ fixture/UntagResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/organizations/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  organizations.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/UntagResourceResponse.proto view
+ gen/Amazonka/Organizations.hs view
@@ -0,0 +1,792 @@+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- |+-- Module      : Amazonka.Organizations+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Derived from API version @2016-11-28@ of the AWS service descriptions, licensed under Apache 2.0.+--+-- Organizations is a web service that enables you to consolidate your+-- multiple Amazon Web Services accounts into an /organization/ and+-- centrally manage your accounts and their resources.+--+-- This guide provides descriptions of the Organizations operations. For+-- more information about using this service, see the+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html Organizations User Guide>.+--+-- __Support and feedback for Organizations__+--+-- We welcome your feedback. Send your comments to+-- <mailto:feedback-awsorganizations@amazon.com feedback-awsorganizations\@amazon.com>+-- or post your feedback and questions in the+-- <http://forums.aws.amazon.com/forum.jspa?forumID=219 Organizations support forum>.+-- For more information about the Amazon Web Services support forums, see+-- <http://forums.aws.amazon.com/help.jspa Forums Help>.+--+-- __Endpoint to call When using the CLI or the Amazon Web Services SDK__+--+-- For the current release of Organizations, specify the @us-east-1@ region+-- for all Amazon Web Services API and CLI calls made from the commercial+-- Amazon Web Services Regions outside of China. If calling from one of the+-- Amazon Web Services Regions in China, then specify @cn-northwest-1@. You+-- can do this in the CLI by using these parameters and commands:+--+-- -   Use the following parameter with each command to specify both the+--     endpoint and its region:+--+--     @--endpoint-url https:\/\/organizations.us-east-1.amazonaws.com@+--     /(from commercial Amazon Web Services Regions outside of China)/+--+--     or+--+--     @--endpoint-url https:\/\/organizations.cn-northwest-1.amazonaws.com.cn@+--     /(from Amazon Web Services Regions in China)/+--+-- -   Use the default endpoint, but configure your default region with+--     this command:+--+--     @aws configure set default.region us-east-1@ /(from commercial+--     Amazon Web Services Regions outside of China)/+--+--     or+--+--     @aws configure set default.region cn-northwest-1@ /(from Amazon Web+--     Services Regions in China)/+--+-- -   Use the following parameter with each command to specify the+--     endpoint:+--+--     @--region us-east-1@ /(from commercial Amazon Web Services Regions+--     outside of China)/+--+--     or+--+--     @--region cn-northwest-1@ /(from Amazon Web Services Regions in+--     China)/+--+-- __Recording API Requests__+--+-- Organizations supports CloudTrail, a service that records Amazon Web+-- Services API calls for your Amazon Web Services account and delivers log+-- files to an Amazon S3 bucket. By using information collected by+-- CloudTrail, you can determine which requests the Organizations service+-- received, who made the request and when, and so on. For more about+-- Organizations and its support for CloudTrail, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_incident-response.html#orgs_cloudtrail-integration Logging Organizations Events with CloudTrail>+-- in the /Organizations User Guide/. To learn more about CloudTrail,+-- including how to turn it on and find your log files, see the+-- <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html CloudTrail User Guide>.+module Amazonka.Organizations+  ( -- * Service Configuration+    defaultService,++    -- * Errors+    -- $errors++    -- ** AWSOrganizationsNotInUseException+    _AWSOrganizationsNotInUseException,++    -- ** AccessDeniedException+    _AccessDeniedException,++    -- ** AccessDeniedForDependencyException+    _AccessDeniedForDependencyException,++    -- ** AccountAlreadyClosedException+    _AccountAlreadyClosedException,++    -- ** AccountAlreadyRegisteredException+    _AccountAlreadyRegisteredException,++    -- ** AccountNotFoundException+    _AccountNotFoundException,++    -- ** AccountNotRegisteredException+    _AccountNotRegisteredException,++    -- ** AccountOwnerNotVerifiedException+    _AccountOwnerNotVerifiedException,++    -- ** AlreadyInOrganizationException+    _AlreadyInOrganizationException,++    -- ** ChildNotFoundException+    _ChildNotFoundException,++    -- ** ConcurrentModificationException+    _ConcurrentModificationException,++    -- ** ConflictException+    _ConflictException,++    -- ** ConstraintViolationException+    _ConstraintViolationException,++    -- ** CreateAccountStatusNotFoundException+    _CreateAccountStatusNotFoundException,++    -- ** DestinationParentNotFoundException+    _DestinationParentNotFoundException,++    -- ** DuplicateAccountException+    _DuplicateAccountException,++    -- ** DuplicateHandshakeException+    _DuplicateHandshakeException,++    -- ** DuplicateOrganizationalUnitException+    _DuplicateOrganizationalUnitException,++    -- ** DuplicatePolicyAttachmentException+    _DuplicatePolicyAttachmentException,++    -- ** DuplicatePolicyException+    _DuplicatePolicyException,++    -- ** EffectivePolicyNotFoundException+    _EffectivePolicyNotFoundException,++    -- ** FinalizingOrganizationException+    _FinalizingOrganizationException,++    -- ** HandshakeAlreadyInStateException+    _HandshakeAlreadyInStateException,++    -- ** HandshakeConstraintViolationException+    _HandshakeConstraintViolationException,++    -- ** HandshakeNotFoundException+    _HandshakeNotFoundException,++    -- ** InvalidHandshakeTransitionException+    _InvalidHandshakeTransitionException,++    -- ** InvalidInputException+    _InvalidInputException,++    -- ** MalformedPolicyDocumentException+    _MalformedPolicyDocumentException,++    -- ** MasterCannotLeaveOrganizationException+    _MasterCannotLeaveOrganizationException,++    -- ** OrganizationNotEmptyException+    _OrganizationNotEmptyException,++    -- ** OrganizationalUnitNotEmptyException+    _OrganizationalUnitNotEmptyException,++    -- ** OrganizationalUnitNotFoundException+    _OrganizationalUnitNotFoundException,++    -- ** ParentNotFoundException+    _ParentNotFoundException,++    -- ** PolicyChangesInProgressException+    _PolicyChangesInProgressException,++    -- ** PolicyInUseException+    _PolicyInUseException,++    -- ** PolicyNotAttachedException+    _PolicyNotAttachedException,++    -- ** PolicyNotFoundException+    _PolicyNotFoundException,++    -- ** PolicyTypeAlreadyEnabledException+    _PolicyTypeAlreadyEnabledException,++    -- ** PolicyTypeNotAvailableForOrganizationException+    _PolicyTypeNotAvailableForOrganizationException,++    -- ** PolicyTypeNotEnabledException+    _PolicyTypeNotEnabledException,++    -- ** ResourcePolicyNotFoundException+    _ResourcePolicyNotFoundException,++    -- ** RootNotFoundException+    _RootNotFoundException,++    -- ** ServiceException+    _ServiceException,++    -- ** SourceParentNotFoundException+    _SourceParentNotFoundException,++    -- ** TargetNotFoundException+    _TargetNotFoundException,++    -- ** TooManyRequestsException+    _TooManyRequestsException,++    -- ** UnsupportedAPIEndpointException+    _UnsupportedAPIEndpointException,++    -- * Waiters+    -- $waiters++    -- * Operations+    -- $operations++    -- ** AcceptHandshake+    AcceptHandshake (AcceptHandshake'),+    newAcceptHandshake,+    AcceptHandshakeResponse (AcceptHandshakeResponse'),+    newAcceptHandshakeResponse,++    -- ** AttachPolicy+    AttachPolicy (AttachPolicy'),+    newAttachPolicy,+    AttachPolicyResponse (AttachPolicyResponse'),+    newAttachPolicyResponse,++    -- ** CancelHandshake+    CancelHandshake (CancelHandshake'),+    newCancelHandshake,+    CancelHandshakeResponse (CancelHandshakeResponse'),+    newCancelHandshakeResponse,++    -- ** CloseAccount+    CloseAccount (CloseAccount'),+    newCloseAccount,+    CloseAccountResponse (CloseAccountResponse'),+    newCloseAccountResponse,++    -- ** CreateAccount+    CreateAccount (CreateAccount'),+    newCreateAccount,+    CreateAccountResponse (CreateAccountResponse'),+    newCreateAccountResponse,++    -- ** CreateGovCloudAccount+    CreateGovCloudAccount (CreateGovCloudAccount'),+    newCreateGovCloudAccount,+    CreateGovCloudAccountResponse (CreateGovCloudAccountResponse'),+    newCreateGovCloudAccountResponse,++    -- ** CreateOrganization+    CreateOrganization (CreateOrganization'),+    newCreateOrganization,+    CreateOrganizationResponse (CreateOrganizationResponse'),+    newCreateOrganizationResponse,++    -- ** CreateOrganizationalUnit+    CreateOrganizationalUnit (CreateOrganizationalUnit'),+    newCreateOrganizationalUnit,+    CreateOrganizationalUnitResponse (CreateOrganizationalUnitResponse'),+    newCreateOrganizationalUnitResponse,++    -- ** CreatePolicy+    CreatePolicy (CreatePolicy'),+    newCreatePolicy,+    CreatePolicyResponse (CreatePolicyResponse'),+    newCreatePolicyResponse,++    -- ** DeclineHandshake+    DeclineHandshake (DeclineHandshake'),+    newDeclineHandshake,+    DeclineHandshakeResponse (DeclineHandshakeResponse'),+    newDeclineHandshakeResponse,++    -- ** DeleteOrganization+    DeleteOrganization (DeleteOrganization'),+    newDeleteOrganization,+    DeleteOrganizationResponse (DeleteOrganizationResponse'),+    newDeleteOrganizationResponse,++    -- ** DeleteOrganizationalUnit+    DeleteOrganizationalUnit (DeleteOrganizationalUnit'),+    newDeleteOrganizationalUnit,+    DeleteOrganizationalUnitResponse (DeleteOrganizationalUnitResponse'),+    newDeleteOrganizationalUnitResponse,++    -- ** DeletePolicy+    DeletePolicy (DeletePolicy'),+    newDeletePolicy,+    DeletePolicyResponse (DeletePolicyResponse'),+    newDeletePolicyResponse,++    -- ** DeleteResourcePolicy+    DeleteResourcePolicy (DeleteResourcePolicy'),+    newDeleteResourcePolicy,+    DeleteResourcePolicyResponse (DeleteResourcePolicyResponse'),+    newDeleteResourcePolicyResponse,++    -- ** DeregisterDelegatedAdministrator+    DeregisterDelegatedAdministrator (DeregisterDelegatedAdministrator'),+    newDeregisterDelegatedAdministrator,+    DeregisterDelegatedAdministratorResponse (DeregisterDelegatedAdministratorResponse'),+    newDeregisterDelegatedAdministratorResponse,++    -- ** DescribeAccount+    DescribeAccount (DescribeAccount'),+    newDescribeAccount,+    DescribeAccountResponse (DescribeAccountResponse'),+    newDescribeAccountResponse,++    -- ** DescribeCreateAccountStatus+    DescribeCreateAccountStatus (DescribeCreateAccountStatus'),+    newDescribeCreateAccountStatus,+    DescribeCreateAccountStatusResponse (DescribeCreateAccountStatusResponse'),+    newDescribeCreateAccountStatusResponse,++    -- ** DescribeEffectivePolicy+    DescribeEffectivePolicy (DescribeEffectivePolicy'),+    newDescribeEffectivePolicy,+    DescribeEffectivePolicyResponse (DescribeEffectivePolicyResponse'),+    newDescribeEffectivePolicyResponse,++    -- ** DescribeHandshake+    DescribeHandshake (DescribeHandshake'),+    newDescribeHandshake,+    DescribeHandshakeResponse (DescribeHandshakeResponse'),+    newDescribeHandshakeResponse,++    -- ** DescribeOrganization+    DescribeOrganization (DescribeOrganization'),+    newDescribeOrganization,+    DescribeOrganizationResponse (DescribeOrganizationResponse'),+    newDescribeOrganizationResponse,++    -- ** DescribeOrganizationalUnit+    DescribeOrganizationalUnit (DescribeOrganizationalUnit'),+    newDescribeOrganizationalUnit,+    DescribeOrganizationalUnitResponse (DescribeOrganizationalUnitResponse'),+    newDescribeOrganizationalUnitResponse,++    -- ** DescribePolicy+    DescribePolicy (DescribePolicy'),+    newDescribePolicy,+    DescribePolicyResponse (DescribePolicyResponse'),+    newDescribePolicyResponse,++    -- ** DescribeResourcePolicy+    DescribeResourcePolicy (DescribeResourcePolicy'),+    newDescribeResourcePolicy,+    DescribeResourcePolicyResponse (DescribeResourcePolicyResponse'),+    newDescribeResourcePolicyResponse,++    -- ** DetachPolicy+    DetachPolicy (DetachPolicy'),+    newDetachPolicy,+    DetachPolicyResponse (DetachPolicyResponse'),+    newDetachPolicyResponse,++    -- ** DisableAWSServiceAccess+    DisableAWSServiceAccess (DisableAWSServiceAccess'),+    newDisableAWSServiceAccess,+    DisableAWSServiceAccessResponse (DisableAWSServiceAccessResponse'),+    newDisableAWSServiceAccessResponse,++    -- ** DisablePolicyType+    DisablePolicyType (DisablePolicyType'),+    newDisablePolicyType,+    DisablePolicyTypeResponse (DisablePolicyTypeResponse'),+    newDisablePolicyTypeResponse,++    -- ** EnableAWSServiceAccess+    EnableAWSServiceAccess (EnableAWSServiceAccess'),+    newEnableAWSServiceAccess,+    EnableAWSServiceAccessResponse (EnableAWSServiceAccessResponse'),+    newEnableAWSServiceAccessResponse,++    -- ** EnableAllFeatures+    EnableAllFeatures (EnableAllFeatures'),+    newEnableAllFeatures,+    EnableAllFeaturesResponse (EnableAllFeaturesResponse'),+    newEnableAllFeaturesResponse,++    -- ** EnablePolicyType+    EnablePolicyType (EnablePolicyType'),+    newEnablePolicyType,+    EnablePolicyTypeResponse (EnablePolicyTypeResponse'),+    newEnablePolicyTypeResponse,++    -- ** InviteAccountToOrganization+    InviteAccountToOrganization (InviteAccountToOrganization'),+    newInviteAccountToOrganization,+    InviteAccountToOrganizationResponse (InviteAccountToOrganizationResponse'),+    newInviteAccountToOrganizationResponse,++    -- ** LeaveOrganization+    LeaveOrganization (LeaveOrganization'),+    newLeaveOrganization,+    LeaveOrganizationResponse (LeaveOrganizationResponse'),+    newLeaveOrganizationResponse,++    -- ** ListAWSServiceAccessForOrganization (Paginated)+    ListAWSServiceAccessForOrganization (ListAWSServiceAccessForOrganization'),+    newListAWSServiceAccessForOrganization,+    ListAWSServiceAccessForOrganizationResponse (ListAWSServiceAccessForOrganizationResponse'),+    newListAWSServiceAccessForOrganizationResponse,++    -- ** ListAccounts (Paginated)+    ListAccounts (ListAccounts'),+    newListAccounts,+    ListAccountsResponse (ListAccountsResponse'),+    newListAccountsResponse,++    -- ** ListAccountsForParent (Paginated)+    ListAccountsForParent (ListAccountsForParent'),+    newListAccountsForParent,+    ListAccountsForParentResponse (ListAccountsForParentResponse'),+    newListAccountsForParentResponse,++    -- ** ListChildren (Paginated)+    ListChildren (ListChildren'),+    newListChildren,+    ListChildrenResponse (ListChildrenResponse'),+    newListChildrenResponse,++    -- ** ListCreateAccountStatus (Paginated)+    ListCreateAccountStatus (ListCreateAccountStatus'),+    newListCreateAccountStatus,+    ListCreateAccountStatusResponse (ListCreateAccountStatusResponse'),+    newListCreateAccountStatusResponse,++    -- ** ListDelegatedAdministrators (Paginated)+    ListDelegatedAdministrators (ListDelegatedAdministrators'),+    newListDelegatedAdministrators,+    ListDelegatedAdministratorsResponse (ListDelegatedAdministratorsResponse'),+    newListDelegatedAdministratorsResponse,++    -- ** ListDelegatedServicesForAccount (Paginated)+    ListDelegatedServicesForAccount (ListDelegatedServicesForAccount'),+    newListDelegatedServicesForAccount,+    ListDelegatedServicesForAccountResponse (ListDelegatedServicesForAccountResponse'),+    newListDelegatedServicesForAccountResponse,++    -- ** ListHandshakesForAccount (Paginated)+    ListHandshakesForAccount (ListHandshakesForAccount'),+    newListHandshakesForAccount,+    ListHandshakesForAccountResponse (ListHandshakesForAccountResponse'),+    newListHandshakesForAccountResponse,++    -- ** ListHandshakesForOrganization (Paginated)+    ListHandshakesForOrganization (ListHandshakesForOrganization'),+    newListHandshakesForOrganization,+    ListHandshakesForOrganizationResponse (ListHandshakesForOrganizationResponse'),+    newListHandshakesForOrganizationResponse,++    -- ** ListOrganizationalUnitsForParent (Paginated)+    ListOrganizationalUnitsForParent (ListOrganizationalUnitsForParent'),+    newListOrganizationalUnitsForParent,+    ListOrganizationalUnitsForParentResponse (ListOrganizationalUnitsForParentResponse'),+    newListOrganizationalUnitsForParentResponse,++    -- ** ListParents (Paginated)+    ListParents (ListParents'),+    newListParents,+    ListParentsResponse (ListParentsResponse'),+    newListParentsResponse,++    -- ** ListPolicies (Paginated)+    ListPolicies (ListPolicies'),+    newListPolicies,+    ListPoliciesResponse (ListPoliciesResponse'),+    newListPoliciesResponse,++    -- ** ListPoliciesForTarget (Paginated)+    ListPoliciesForTarget (ListPoliciesForTarget'),+    newListPoliciesForTarget,+    ListPoliciesForTargetResponse (ListPoliciesForTargetResponse'),+    newListPoliciesForTargetResponse,++    -- ** ListRoots (Paginated)+    ListRoots (ListRoots'),+    newListRoots,+    ListRootsResponse (ListRootsResponse'),+    newListRootsResponse,++    -- ** ListTagsForResource (Paginated)+    ListTagsForResource (ListTagsForResource'),+    newListTagsForResource,+    ListTagsForResourceResponse (ListTagsForResourceResponse'),+    newListTagsForResourceResponse,++    -- ** ListTargetsForPolicy (Paginated)+    ListTargetsForPolicy (ListTargetsForPolicy'),+    newListTargetsForPolicy,+    ListTargetsForPolicyResponse (ListTargetsForPolicyResponse'),+    newListTargetsForPolicyResponse,++    -- ** MoveAccount+    MoveAccount (MoveAccount'),+    newMoveAccount,+    MoveAccountResponse (MoveAccountResponse'),+    newMoveAccountResponse,++    -- ** PutResourcePolicy+    PutResourcePolicy (PutResourcePolicy'),+    newPutResourcePolicy,+    PutResourcePolicyResponse (PutResourcePolicyResponse'),+    newPutResourcePolicyResponse,++    -- ** RegisterDelegatedAdministrator+    RegisterDelegatedAdministrator (RegisterDelegatedAdministrator'),+    newRegisterDelegatedAdministrator,+    RegisterDelegatedAdministratorResponse (RegisterDelegatedAdministratorResponse'),+    newRegisterDelegatedAdministratorResponse,++    -- ** RemoveAccountFromOrganization+    RemoveAccountFromOrganization (RemoveAccountFromOrganization'),+    newRemoveAccountFromOrganization,+    RemoveAccountFromOrganizationResponse (RemoveAccountFromOrganizationResponse'),+    newRemoveAccountFromOrganizationResponse,++    -- ** TagResource+    TagResource (TagResource'),+    newTagResource,+    TagResourceResponse (TagResourceResponse'),+    newTagResourceResponse,++    -- ** UntagResource+    UntagResource (UntagResource'),+    newUntagResource,+    UntagResourceResponse (UntagResourceResponse'),+    newUntagResourceResponse,++    -- ** UpdateOrganizationalUnit+    UpdateOrganizationalUnit (UpdateOrganizationalUnit'),+    newUpdateOrganizationalUnit,+    UpdateOrganizationalUnitResponse (UpdateOrganizationalUnitResponse'),+    newUpdateOrganizationalUnitResponse,++    -- ** UpdatePolicy+    UpdatePolicy (UpdatePolicy'),+    newUpdatePolicy,+    UpdatePolicyResponse (UpdatePolicyResponse'),+    newUpdatePolicyResponse,++    -- * Types++    -- ** AccountJoinedMethod+    AccountJoinedMethod (..),++    -- ** AccountStatus+    AccountStatus (..),++    -- ** ActionType+    ActionType (..),++    -- ** ChildType+    ChildType (..),++    -- ** CreateAccountFailureReason+    CreateAccountFailureReason (..),++    -- ** CreateAccountState+    CreateAccountState (..),++    -- ** EffectivePolicyType+    EffectivePolicyType (..),++    -- ** HandshakePartyType+    HandshakePartyType (..),++    -- ** HandshakeResourceType+    HandshakeResourceType (..),++    -- ** HandshakeState+    HandshakeState (..),++    -- ** IAMUserAccessToBilling+    IAMUserAccessToBilling (..),++    -- ** OrganizationFeatureSet+    OrganizationFeatureSet (..),++    -- ** ParentType+    ParentType (..),++    -- ** PolicyType+    PolicyType (..),++    -- ** PolicyTypeStatus+    PolicyTypeStatus (..),++    -- ** TargetType+    TargetType (..),++    -- ** Account+    Account (Account'),+    newAccount,++    -- ** Child+    Child (Child'),+    newChild,++    -- ** CreateAccountStatus+    CreateAccountStatus (CreateAccountStatus'),+    newCreateAccountStatus,++    -- ** DelegatedAdministrator+    DelegatedAdministrator (DelegatedAdministrator'),+    newDelegatedAdministrator,++    -- ** DelegatedService+    DelegatedService (DelegatedService'),+    newDelegatedService,++    -- ** EffectivePolicy+    EffectivePolicy (EffectivePolicy'),+    newEffectivePolicy,++    -- ** EnabledServicePrincipal+    EnabledServicePrincipal (EnabledServicePrincipal'),+    newEnabledServicePrincipal,++    -- ** Handshake+    Handshake (Handshake'),+    newHandshake,++    -- ** HandshakeFilter+    HandshakeFilter (HandshakeFilter'),+    newHandshakeFilter,++    -- ** HandshakeParty+    HandshakeParty (HandshakeParty'),+    newHandshakeParty,++    -- ** HandshakeResource+    HandshakeResource (HandshakeResource'),+    newHandshakeResource,++    -- ** Organization+    Organization (Organization'),+    newOrganization,++    -- ** OrganizationalUnit+    OrganizationalUnit (OrganizationalUnit'),+    newOrganizationalUnit,++    -- ** Parent+    Parent (Parent'),+    newParent,++    -- ** Policy+    Policy (Policy'),+    newPolicy,++    -- ** PolicySummary+    PolicySummary (PolicySummary'),+    newPolicySummary,++    -- ** PolicyTargetSummary+    PolicyTargetSummary (PolicyTargetSummary'),+    newPolicyTargetSummary,++    -- ** PolicyTypeSummary+    PolicyTypeSummary (PolicyTypeSummary'),+    newPolicyTypeSummary,++    -- ** ResourcePolicy+    ResourcePolicy (ResourcePolicy'),+    newResourcePolicy,++    -- ** ResourcePolicySummary+    ResourcePolicySummary (ResourcePolicySummary'),+    newResourcePolicySummary,++    -- ** Root+    Root (Root'),+    newRoot,++    -- ** Tag+    Tag (Tag'),+    newTag,+  )+where++import Amazonka.Organizations.AcceptHandshake+import Amazonka.Organizations.AttachPolicy+import Amazonka.Organizations.CancelHandshake+import Amazonka.Organizations.CloseAccount+import Amazonka.Organizations.CreateAccount+import Amazonka.Organizations.CreateGovCloudAccount+import Amazonka.Organizations.CreateOrganization+import Amazonka.Organizations.CreateOrganizationalUnit+import Amazonka.Organizations.CreatePolicy+import Amazonka.Organizations.DeclineHandshake+import Amazonka.Organizations.DeleteOrganization+import Amazonka.Organizations.DeleteOrganizationalUnit+import Amazonka.Organizations.DeletePolicy+import Amazonka.Organizations.DeleteResourcePolicy+import Amazonka.Organizations.DeregisterDelegatedAdministrator+import Amazonka.Organizations.DescribeAccount+import Amazonka.Organizations.DescribeCreateAccountStatus+import Amazonka.Organizations.DescribeEffectivePolicy+import Amazonka.Organizations.DescribeHandshake+import Amazonka.Organizations.DescribeOrganization+import Amazonka.Organizations.DescribeOrganizationalUnit+import Amazonka.Organizations.DescribePolicy+import Amazonka.Organizations.DescribeResourcePolicy+import Amazonka.Organizations.DetachPolicy+import Amazonka.Organizations.DisableAWSServiceAccess+import Amazonka.Organizations.DisablePolicyType+import Amazonka.Organizations.EnableAWSServiceAccess+import Amazonka.Organizations.EnableAllFeatures+import Amazonka.Organizations.EnablePolicyType+import Amazonka.Organizations.InviteAccountToOrganization+import Amazonka.Organizations.LeaveOrganization+import Amazonka.Organizations.Lens+import Amazonka.Organizations.ListAWSServiceAccessForOrganization+import Amazonka.Organizations.ListAccounts+import Amazonka.Organizations.ListAccountsForParent+import Amazonka.Organizations.ListChildren+import Amazonka.Organizations.ListCreateAccountStatus+import Amazonka.Organizations.ListDelegatedAdministrators+import Amazonka.Organizations.ListDelegatedServicesForAccount+import Amazonka.Organizations.ListHandshakesForAccount+import Amazonka.Organizations.ListHandshakesForOrganization+import Amazonka.Organizations.ListOrganizationalUnitsForParent+import Amazonka.Organizations.ListParents+import Amazonka.Organizations.ListPolicies+import Amazonka.Organizations.ListPoliciesForTarget+import Amazonka.Organizations.ListRoots+import Amazonka.Organizations.ListTagsForResource+import Amazonka.Organizations.ListTargetsForPolicy+import Amazonka.Organizations.MoveAccount+import Amazonka.Organizations.PutResourcePolicy+import Amazonka.Organizations.RegisterDelegatedAdministrator+import Amazonka.Organizations.RemoveAccountFromOrganization+import Amazonka.Organizations.TagResource+import Amazonka.Organizations.Types+import Amazonka.Organizations.UntagResource+import Amazonka.Organizations.UpdateOrganizationalUnit+import Amazonka.Organizations.UpdatePolicy+import Amazonka.Organizations.Waiters++-- $errors+-- Error matchers are designed for use with the functions provided by+-- <http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.+-- This allows catching (and rethrowing) service specific errors returned+-- by 'Organizations'.++-- $operations+-- Some AWS operations return results that are incomplete and require subsequent+-- requests in order to obtain the entire result set. The process of sending+-- subsequent requests to continue where a previous request left off is called+-- pagination. For example, the 'ListObjects' operation of Amazon S3 returns up to+-- 1000 objects at a time, and you must send subsequent requests with the+-- appropriate Marker in order to retrieve the next page of results.+--+-- Operations that have an 'AWSPager' instance can transparently perform subsequent+-- requests, correctly setting Markers and other request facets to iterate through+-- the entire result set of a truncated API operation. Operations which support+-- this have an additional note in the documentation.+--+-- Many operations have the ability to filter results on the server side. See the+-- individual operation parameters for details.++-- $waiters+-- Waiters poll by repeatedly sending a request until some remote success condition+-- configured by the 'Wait' specification is fulfilled. The 'Wait' specification+-- determines how many attempts should be made, in addition to delay and retry strategies.
+ gen/Amazonka/Organizations/AcceptHandshake.hs view
@@ -0,0 +1,209 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.AcceptHandshake+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Sends a response to the originator of a handshake agreeing to the action+-- proposed by the handshake request.+--+-- You can only call this operation by the following principals when they+-- also have the relevant IAM permissions:+--+-- -   __Invitation to join__ or __Approve all features request__+--     handshakes: only a principal from the member account.+--+--     The user who calls the API for an invitation to join must have the+--     @organizations:AcceptHandshake@ permission. If you enabled all+--     features in the organization, the user must also have the+--     @iam:CreateServiceLinkedRole@ permission so that Organizations can+--     create the required service-linked role named+--     @AWSServiceRoleForOrganizations@. For more information, see+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integration_services.html#orgs_integration_service-linked-roles Organizations and Service-Linked Roles>+--     in the /Organizations User Guide/.+--+-- -   __Enable all features final confirmation__ handshake: only a+--     principal from the management account.+--+--     For more information about invitations, see+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_invites.html Inviting an Amazon Web Services account to join your organization>+--     in the /Organizations User Guide./ For more information about+--     requests to enable all features in the organization, see+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html Enabling all features in your organization>+--     in the /Organizations User Guide./+--+-- After you accept a handshake, it continues to appear in the results of+-- relevant APIs for only 30 days. After that, it\'s deleted.+module Amazonka.Organizations.AcceptHandshake+  ( -- * Creating a Request+    AcceptHandshake (..),+    newAcceptHandshake,++    -- * Request Lenses+    acceptHandshake_handshakeId,++    -- * Destructuring the Response+    AcceptHandshakeResponse (..),+    newAcceptHandshakeResponse,++    -- * Response Lenses+    acceptHandshakeResponse_handshake,+    acceptHandshakeResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newAcceptHandshake' smart constructor.+data AcceptHandshake = AcceptHandshake'+  { -- | The unique identifier (ID) of the handshake that you want to accept.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+    -- string requires \"h-\" followed by from 8 to 32 lowercase letters or+    -- digits.+    handshakeId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AcceptHandshake' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'handshakeId', 'acceptHandshake_handshakeId' - The unique identifier (ID) of the handshake that you want to accept.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+-- string requires \"h-\" followed by from 8 to 32 lowercase letters or+-- digits.+newAcceptHandshake ::+  -- | 'handshakeId'+  Prelude.Text ->+  AcceptHandshake+newAcceptHandshake pHandshakeId_ =+  AcceptHandshake' {handshakeId = pHandshakeId_}++-- | The unique identifier (ID) of the handshake that you want to accept.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+-- string requires \"h-\" followed by from 8 to 32 lowercase letters or+-- digits.+acceptHandshake_handshakeId :: Lens.Lens' AcceptHandshake Prelude.Text+acceptHandshake_handshakeId = Lens.lens (\AcceptHandshake' {handshakeId} -> handshakeId) (\s@AcceptHandshake' {} a -> s {handshakeId = a} :: AcceptHandshake)++instance Core.AWSRequest AcceptHandshake where+  type+    AWSResponse AcceptHandshake =+      AcceptHandshakeResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          AcceptHandshakeResponse'+            Prelude.<$> (x Data..?> "Handshake")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable AcceptHandshake where+  hashWithSalt _salt AcceptHandshake' {..} =+    _salt `Prelude.hashWithSalt` handshakeId++instance Prelude.NFData AcceptHandshake where+  rnf AcceptHandshake' {..} = Prelude.rnf handshakeId++instance Data.ToHeaders AcceptHandshake where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.AcceptHandshake" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON AcceptHandshake where+  toJSON AcceptHandshake' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("HandshakeId" Data..= handshakeId)]+      )++instance Data.ToPath AcceptHandshake where+  toPath = Prelude.const "/"++instance Data.ToQuery AcceptHandshake where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newAcceptHandshakeResponse' smart constructor.+data AcceptHandshakeResponse = AcceptHandshakeResponse'+  { -- | A structure that contains details about the accepted handshake.+    handshake :: Prelude.Maybe Handshake,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AcceptHandshakeResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'handshake', 'acceptHandshakeResponse_handshake' - A structure that contains details about the accepted handshake.+--+-- 'httpStatus', 'acceptHandshakeResponse_httpStatus' - The response's http status code.+newAcceptHandshakeResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  AcceptHandshakeResponse+newAcceptHandshakeResponse pHttpStatus_ =+  AcceptHandshakeResponse'+    { handshake =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains details about the accepted handshake.+acceptHandshakeResponse_handshake :: Lens.Lens' AcceptHandshakeResponse (Prelude.Maybe Handshake)+acceptHandshakeResponse_handshake = Lens.lens (\AcceptHandshakeResponse' {handshake} -> handshake) (\s@AcceptHandshakeResponse' {} a -> s {handshake = a} :: AcceptHandshakeResponse)++-- | The response's http status code.+acceptHandshakeResponse_httpStatus :: Lens.Lens' AcceptHandshakeResponse Prelude.Int+acceptHandshakeResponse_httpStatus = Lens.lens (\AcceptHandshakeResponse' {httpStatus} -> httpStatus) (\s@AcceptHandshakeResponse' {} a -> s {httpStatus = a} :: AcceptHandshakeResponse)++instance Prelude.NFData AcceptHandshakeResponse where+  rnf AcceptHandshakeResponse' {..} =+    Prelude.rnf handshake+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/AttachPolicy.hs view
@@ -0,0 +1,226 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.AttachPolicy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Attaches a policy to a root, an organizational unit (OU), or an+-- individual account. How the policy affects accounts depends on the type+-- of policy. Refer to the /Organizations User Guide/ for information about+-- each policy type:+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html SERVICE_CONTROL_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+--+-- This operation can be called only from the organization\'s management+-- account.+module Amazonka.Organizations.AttachPolicy+  ( -- * Creating a Request+    AttachPolicy (..),+    newAttachPolicy,++    -- * Request Lenses+    attachPolicy_policyId,+    attachPolicy_targetId,++    -- * Destructuring the Response+    AttachPolicyResponse (..),+    newAttachPolicyResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newAttachPolicy' smart constructor.+data AttachPolicy = AttachPolicy'+  { -- | The unique identifier (ID) of the policy that you want to attach to the+    -- target. You can get the ID for the policy by calling the ListPolicies+    -- operation.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+    -- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+    -- letters, digits, or the underscore character (_).+    policyId :: Prelude.Text,+    -- | The unique identifier (ID) of the root, OU, or account that you want to+    -- attach the policy to. You can get the ID by calling the ListRoots,+    -- ListOrganizationalUnitsForParent, or ListAccounts operations.+    --+    -- The <http://wikipedia.org/wiki/regex 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+    --     lowercase letters or digits.+    --+    -- -   __Account__ - A string that consists of exactly 12 digits.+    --+    -- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+    --     followed by from 4 to 32 lowercase letters or digits (the ID of the+    --     root that the OU is in). This string is followed by a second \"-\"+    --     dash and from 8 to 32 additional lowercase letters or digits.+    targetId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AttachPolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'policyId', 'attachPolicy_policyId' - The unique identifier (ID) of the policy that you want to attach to the+-- target. You can get the ID for the policy by calling the ListPolicies+-- operation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+-- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+-- letters, digits, or the underscore character (_).+--+-- 'targetId', 'attachPolicy_targetId' - The unique identifier (ID) of the root, OU, or account that you want to+-- attach the policy to. You can get the ID by calling the ListRoots,+-- ListOrganizationalUnitsForParent, or ListAccounts operations.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Account__ - A string that consists of exactly 12 digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+newAttachPolicy ::+  -- | 'policyId'+  Prelude.Text ->+  -- | 'targetId'+  Prelude.Text ->+  AttachPolicy+newAttachPolicy pPolicyId_ pTargetId_ =+  AttachPolicy'+    { policyId = pPolicyId_,+      targetId = pTargetId_+    }++-- | The unique identifier (ID) of the policy that you want to attach to the+-- target. You can get the ID for the policy by calling the ListPolicies+-- operation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+-- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+-- letters, digits, or the underscore character (_).+attachPolicy_policyId :: Lens.Lens' AttachPolicy Prelude.Text+attachPolicy_policyId = Lens.lens (\AttachPolicy' {policyId} -> policyId) (\s@AttachPolicy' {} a -> s {policyId = a} :: AttachPolicy)++-- | The unique identifier (ID) of the root, OU, or account that you want to+-- attach the policy to. You can get the ID by calling the ListRoots,+-- ListOrganizationalUnitsForParent, or ListAccounts operations.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Account__ - A string that consists of exactly 12 digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+attachPolicy_targetId :: Lens.Lens' AttachPolicy Prelude.Text+attachPolicy_targetId = Lens.lens (\AttachPolicy' {targetId} -> targetId) (\s@AttachPolicy' {} a -> s {targetId = a} :: AttachPolicy)++instance Core.AWSRequest AttachPolicy where+  type AWSResponse AttachPolicy = AttachPolicyResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response = Response.receiveNull AttachPolicyResponse'++instance Prelude.Hashable AttachPolicy where+  hashWithSalt _salt AttachPolicy' {..} =+    _salt+      `Prelude.hashWithSalt` policyId+      `Prelude.hashWithSalt` targetId++instance Prelude.NFData AttachPolicy where+  rnf AttachPolicy' {..} =+    Prelude.rnf policyId+      `Prelude.seq` Prelude.rnf targetId++instance Data.ToHeaders AttachPolicy where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.AttachPolicy" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON AttachPolicy where+  toJSON AttachPolicy' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("PolicyId" Data..= policyId),+            Prelude.Just ("TargetId" Data..= targetId)+          ]+      )++instance Data.ToPath AttachPolicy where+  toPath = Prelude.const "/"++instance Data.ToQuery AttachPolicy where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newAttachPolicyResponse' smart constructor.+data AttachPolicyResponse = AttachPolicyResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AttachPolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newAttachPolicyResponse ::+  AttachPolicyResponse+newAttachPolicyResponse = AttachPolicyResponse'++instance Prelude.NFData AttachPolicyResponse where+  rnf _ = ()
+ gen/Amazonka/Organizations/CancelHandshake.hs view
@@ -0,0 +1,192 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.CancelHandshake+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Cancels a handshake. Canceling a handshake sets the handshake state to+-- @CANCELED@.+--+-- This operation can be called only from the account that originated the+-- handshake. The recipient of the handshake can\'t cancel it, but can use+-- DeclineHandshake instead. After a handshake is canceled, the recipient+-- can no longer respond to that handshake.+--+-- After you cancel a handshake, it continues to appear in the results of+-- relevant APIs for only 30 days. After that, it\'s deleted.+module Amazonka.Organizations.CancelHandshake+  ( -- * Creating a Request+    CancelHandshake (..),+    newCancelHandshake,++    -- * Request Lenses+    cancelHandshake_handshakeId,++    -- * Destructuring the Response+    CancelHandshakeResponse (..),+    newCancelHandshakeResponse,++    -- * Response Lenses+    cancelHandshakeResponse_handshake,+    cancelHandshakeResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCancelHandshake' smart constructor.+data CancelHandshake = CancelHandshake'+  { -- | The unique identifier (ID) of the handshake that you want to cancel. You+    -- can get the ID from the ListHandshakesForOrganization operation.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+    -- string requires \"h-\" followed by from 8 to 32 lowercase letters or+    -- digits.+    handshakeId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CancelHandshake' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'handshakeId', 'cancelHandshake_handshakeId' - The unique identifier (ID) of the handshake that you want to cancel. You+-- can get the ID from the ListHandshakesForOrganization operation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+-- string requires \"h-\" followed by from 8 to 32 lowercase letters or+-- digits.+newCancelHandshake ::+  -- | 'handshakeId'+  Prelude.Text ->+  CancelHandshake+newCancelHandshake pHandshakeId_ =+  CancelHandshake' {handshakeId = pHandshakeId_}++-- | The unique identifier (ID) of the handshake that you want to cancel. You+-- can get the ID from the ListHandshakesForOrganization operation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+-- string requires \"h-\" followed by from 8 to 32 lowercase letters or+-- digits.+cancelHandshake_handshakeId :: Lens.Lens' CancelHandshake Prelude.Text+cancelHandshake_handshakeId = Lens.lens (\CancelHandshake' {handshakeId} -> handshakeId) (\s@CancelHandshake' {} a -> s {handshakeId = a} :: CancelHandshake)++instance Core.AWSRequest CancelHandshake where+  type+    AWSResponse CancelHandshake =+      CancelHandshakeResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          CancelHandshakeResponse'+            Prelude.<$> (x Data..?> "Handshake")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable CancelHandshake where+  hashWithSalt _salt CancelHandshake' {..} =+    _salt `Prelude.hashWithSalt` handshakeId++instance Prelude.NFData CancelHandshake where+  rnf CancelHandshake' {..} = Prelude.rnf handshakeId++instance Data.ToHeaders CancelHandshake where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.CancelHandshake" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON CancelHandshake where+  toJSON CancelHandshake' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("HandshakeId" Data..= handshakeId)]+      )++instance Data.ToPath CancelHandshake where+  toPath = Prelude.const "/"++instance Data.ToQuery CancelHandshake where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCancelHandshakeResponse' smart constructor.+data CancelHandshakeResponse = CancelHandshakeResponse'+  { -- | A structure that contains details about the handshake that you canceled.+    handshake :: Prelude.Maybe Handshake,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CancelHandshakeResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'handshake', 'cancelHandshakeResponse_handshake' - A structure that contains details about the handshake that you canceled.+--+-- 'httpStatus', 'cancelHandshakeResponse_httpStatus' - The response's http status code.+newCancelHandshakeResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  CancelHandshakeResponse+newCancelHandshakeResponse pHttpStatus_ =+  CancelHandshakeResponse'+    { handshake =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains details about the handshake that you canceled.+cancelHandshakeResponse_handshake :: Lens.Lens' CancelHandshakeResponse (Prelude.Maybe Handshake)+cancelHandshakeResponse_handshake = Lens.lens (\CancelHandshakeResponse' {handshake} -> handshake) (\s@CancelHandshakeResponse' {} a -> s {handshake = a} :: CancelHandshakeResponse)++-- | The response's http status code.+cancelHandshakeResponse_httpStatus :: Lens.Lens' CancelHandshakeResponse Prelude.Int+cancelHandshakeResponse_httpStatus = Lens.lens (\CancelHandshakeResponse' {httpStatus} -> httpStatus) (\s@CancelHandshakeResponse' {} a -> s {httpStatus = a} :: CancelHandshakeResponse)++instance Prelude.NFData CancelHandshakeResponse where+  rnf CancelHandshakeResponse' {..} =+    Prelude.rnf handshake+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/CloseAccount.hs view
@@ -0,0 +1,172 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.CloseAccount+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Closes an Amazon Web Services member account within an organization. You+-- can\'t close the management account with this API. This is an+-- asynchronous request that Amazon Web Services performs in the+-- background. Because @CloseAccount@ operates asynchronously, it can+-- return a successful completion message even though account closure might+-- still be in progress. You need to wait a few minutes before the account+-- is fully closed. To check the status of the request, do one of the+-- following:+--+-- -   Use the @AccountId@ that you sent in the @CloseAccount@ request to+--     provide as a parameter to the DescribeAccount operation.+--+--     While the close account request is in progress, Account status will+--     indicate PENDING_CLOSURE. When the close account request completes,+--     the status will change to SUSPENDED.+--+-- -   Check the CloudTrail log for the @CloseAccountResult@ event that+--     gets published after the account closes successfully. For+--     information on using CloudTrail with Organizations, see+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_security_incident-response.html#orgs_cloudtrail-integration Logging and monitoring in Organizations>+--     in the /Organizations User Guide./+--+-- -   You can only close 10% of active member accounts within a rolling 30+--     day period. This quota is not bound by a calendar month, but starts+--     when you close an account. Within 30 days of that initial account+--     closure, you can\'t exceed the 10% account closure limit.+--+-- -   To reinstate a closed account, contact Amazon Web Services Support+--     within the 90-day grace period while the account is in SUSPENDED+--     status.+--+-- -   If the Amazon Web Services account you attempt to close is linked to+--     an Amazon Web Services GovCloud (US) account, the @CloseAccount@+--     request will close both accounts. To learn important pre-closure+--     details, see+--     <https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/Closing-govcloud-account.html Closing an Amazon Web Services GovCloud (US) account>+--     in the /Amazon Web Services GovCloud User Guide/.+--+-- For more information about closing accounts, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_close.html Closing an Amazon Web Services account>+-- in the /Organizations User Guide./+module Amazonka.Organizations.CloseAccount+  ( -- * Creating a Request+    CloseAccount (..),+    newCloseAccount,++    -- * Request Lenses+    closeAccount_accountId,++    -- * Destructuring the Response+    CloseAccountResponse (..),+    newCloseAccountResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCloseAccount' smart constructor.+data CloseAccount = CloseAccount'+  { -- | Retrieves the Amazon Web Services account Id for the current+    -- @CloseAccount@ API request.+    accountId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CloseAccount' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'accountId', 'closeAccount_accountId' - Retrieves the Amazon Web Services account Id for the current+-- @CloseAccount@ API request.+newCloseAccount ::+  -- | 'accountId'+  Prelude.Text ->+  CloseAccount+newCloseAccount pAccountId_ =+  CloseAccount' {accountId = pAccountId_}++-- | Retrieves the Amazon Web Services account Id for the current+-- @CloseAccount@ API request.+closeAccount_accountId :: Lens.Lens' CloseAccount Prelude.Text+closeAccount_accountId = Lens.lens (\CloseAccount' {accountId} -> accountId) (\s@CloseAccount' {} a -> s {accountId = a} :: CloseAccount)++instance Core.AWSRequest CloseAccount where+  type AWSResponse CloseAccount = CloseAccountResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response = Response.receiveNull CloseAccountResponse'++instance Prelude.Hashable CloseAccount where+  hashWithSalt _salt CloseAccount' {..} =+    _salt `Prelude.hashWithSalt` accountId++instance Prelude.NFData CloseAccount where+  rnf CloseAccount' {..} = Prelude.rnf accountId++instance Data.ToHeaders CloseAccount where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.CloseAccount" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON CloseAccount where+  toJSON CloseAccount' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("AccountId" Data..= accountId)]+      )++instance Data.ToPath CloseAccount where+  toPath = Prelude.const "/"++instance Data.ToQuery CloseAccount where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCloseAccountResponse' smart constructor.+data CloseAccountResponse = CloseAccountResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CloseAccountResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newCloseAccountResponse ::+  CloseAccountResponse+newCloseAccountResponse = CloseAccountResponse'++instance Prelude.NFData CloseAccountResponse where+  rnf _ = ()
+ gen/Amazonka/Organizations/CreateAccount.hs view
@@ -0,0 +1,536 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.CreateAccount+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates an Amazon Web Services account that is automatically a member of+-- the organization whose credentials made the request. This is an+-- asynchronous request that Amazon Web Services performs in the+-- background. Because @CreateAccount@ operates asynchronously, it can+-- return a successful completion message even though account+-- initialization might still be in progress. You might need to wait a few+-- minutes before you can successfully access the account. To check the+-- status of the request, do one of the following:+--+-- -   Use the @Id@ value of the @CreateAccountStatus@ response element+--     from this operation to provide as a parameter to the+--     DescribeCreateAccountStatus operation.+--+-- -   Check the CloudTrail log for the @CreateAccountResult@ event. For+--     information on using CloudTrail with Organizations, see+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_security_incident-response.html#orgs_cloudtrail-integration Logging and monitoring in Organizations>+--     in the /Organizations User Guide./+--+-- The user who calls the API to create an account must have the+-- @organizations:CreateAccount@ permission. If you enabled all features in+-- the organization, Organizations creates the required service-linked role+-- named @AWSServiceRoleForOrganizations@. For more information, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html#orgs_integrate_services-using_slrs Organizations and Service-Linked Roles>+-- in the /Organizations User Guide/.+--+-- If the request includes tags, then the requester must have the+-- @organizations:TagResource@ permission.+--+-- Organizations preconfigures the new member account with a role (named+-- @OrganizationAccountAccessRole@ by default) that grants users in the+-- management account administrator permissions in the new member account.+-- Principals in the management account can assume the role. Organizations+-- clones the company name and address information for the new account from+-- the organization\'s management account.+--+-- This operation can be called only from the organization\'s management+-- account.+--+-- For more information about creating accounts, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_create.html Creating an Amazon Web Services account in Your Organization>+-- in the /Organizations User Guide./+--+-- -   When you create an account in an organization using the+--     Organizations console, API, or CLI commands, the information+--     required for the account to operate as a standalone account, such as+--     a payment method and signing the end user license agreement (EULA)+--     is /not/ automatically collected. If you must remove an account from+--     your organization later, you can do so only after you provide the+--     missing information. Follow the steps at+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info To leave an organization as a member account>+--     in the /Organizations User Guide/.+--+-- -   If you get an exception that indicates that you exceeded your+--     account limits for the organization, contact+--     <https://console.aws.amazon.com/support/home#/ Amazon Web Services Support>.+--+-- -   If you get an exception that indicates that the operation failed+--     because your organization is still initializing, wait one hour and+--     then try again. If the error persists, contact+--     <https://console.aws.amazon.com/support/home#/ Amazon Web Services Support>.+--+-- -   Using @CreateAccount@ to create multiple temporary accounts isn\'t+--     recommended. You can only close an account from the Billing and Cost+--     Management console, and you must be signed in as the root user. For+--     information on the requirements and process for closing an account,+--     see+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_close.html Closing an Amazon Web Services account>+--     in the /Organizations User Guide/.+--+-- When you create a member account with this operation, you can choose+-- whether to create the account with the __IAM User and Role Access to+-- Billing Information__ switch enabled. If you enable it, IAM users and+-- roles that have appropriate permissions can view billing information for+-- the account. If you disable it, only the account root user can access+-- billing information. For information about how to disable this switch+-- for an account, see+-- <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html Granting Access to Your Billing Information and Tools>.+module Amazonka.Organizations.CreateAccount+  ( -- * Creating a Request+    CreateAccount (..),+    newCreateAccount,++    -- * Request Lenses+    createAccount_iamUserAccessToBilling,+    createAccount_roleName,+    createAccount_tags,+    createAccount_email,+    createAccount_accountName,++    -- * Destructuring the Response+    CreateAccountResponse (..),+    newCreateAccountResponse,++    -- * Response Lenses+    createAccountResponse_createAccountStatus,+    createAccountResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateAccount' smart constructor.+data CreateAccount = CreateAccount'+  { -- | If set to @ALLOW@, the new account enables IAM users to access account+    -- billing information /if/ they have the required permissions. If set to+    -- @DENY@, only the root user of the new account can access account billing+    -- information. For more information, see+    -- <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate Activating Access to the Billing and Cost Management Console>+    -- in the /Amazon Web Services Billing and Cost Management User Guide/.+    --+    -- If you don\'t specify this parameter, the value defaults to @ALLOW@, and+    -- IAM users and roles with the required permissions can access billing+    -- information for the new account.+    iamUserAccessToBilling :: Prelude.Maybe IAMUserAccessToBilling,+    -- | The name of an IAM role that Organizations automatically preconfigures+    -- in the new member account. This role trusts the management account,+    -- allowing users in the management account to assume the role, as+    -- permitted by the management account administrator. The role has+    -- administrator permissions in the new member account.+    --+    -- If you don\'t specify this parameter, the role name defaults to+    -- @OrganizationAccountAccessRole@.+    --+    -- For more information about how to use this role to access the member+    -- account, see the following links:+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html#orgs_manage_accounts_create-cross-account-role Accessing and Administering the Member Accounts in Your Organization>+    --     in the /Organizations User Guide/+    --+    -- -   Steps 2 and 3 in+    --     <https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html Tutorial: Delegate Access Across Amazon Web Services accounts Using IAM Roles>+    --     in the /IAM User Guide/+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+    -- validate this parameter. The pattern can include uppercase letters,+    -- lowercase letters, digits with no spaces, and any of the following+    -- characters: =,.\@-+    roleName :: Prelude.Maybe Prelude.Text,+    -- | A list of tags that you want to attach to the newly created account. For+    -- each tag in the list, you must specify both a tag key and a value. You+    -- can set the value to an empty string, but you can\'t set it to @null@.+    -- For more information about tagging, see+    -- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html Tagging Organizations resources>+    -- in the Organizations User Guide.+    --+    -- If any one of the tags is invalid or if you exceed the maximum allowed+    -- number of tags for an account, then the entire request fails and the+    -- account is not created.+    tags :: Prelude.Maybe [Tag],+    -- | The email address of the owner to assign to the new member account. This+    -- email address must not already be associated with another Amazon Web+    -- Services account. You must use a valid email address to complete account+    -- creation.+    --+    -- The rules for a valid email address:+    --+    -- -   The address must be a minimum of 6 and a maximum of 64 characters+    --     long.+    --+    -- -   All characters must be 7-bit ASCII characters.+    --+    -- -   There must be one and only one \@ symbol, which separates the local+    --     name from the domain name.+    --+    -- -   The local name can\'t contain any of the following characters:+    --+    --     whitespace, \" \' ( ) \< > [ ] : ; , \\ | % &+    --+    -- -   The local name can\'t begin with a dot (.)+    --+    -- -   The domain name can consist of only the characters+    --     [a-z],[A-Z],[0-9], hyphen (-), or dot (.)+    --+    -- -   The domain name can\'t begin or end with a hyphen (-) or dot (.)+    --+    -- -   The domain name must contain at least one dot+    --+    -- You can\'t access the root user of the account or remove an account that+    -- was created with an invalid email address.+    email :: Data.Sensitive Prelude.Text,+    -- | The friendly name of the member account.+    accountName :: Data.Sensitive Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateAccount' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'iamUserAccessToBilling', 'createAccount_iamUserAccessToBilling' - If set to @ALLOW@, the new account enables IAM users to access account+-- billing information /if/ they have the required permissions. If set to+-- @DENY@, only the root user of the new account can access account billing+-- information. For more information, see+-- <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate Activating Access to the Billing and Cost Management Console>+-- in the /Amazon Web Services Billing and Cost Management User Guide/.+--+-- If you don\'t specify this parameter, the value defaults to @ALLOW@, and+-- IAM users and roles with the required permissions can access billing+-- information for the new account.+--+-- 'roleName', 'createAccount_roleName' - The name of an IAM role that Organizations automatically preconfigures+-- in the new member account. This role trusts the management account,+-- allowing users in the management account to assume the role, as+-- permitted by the management account administrator. The role has+-- administrator permissions in the new member account.+--+-- If you don\'t specify this parameter, the role name defaults to+-- @OrganizationAccountAccessRole@.+--+-- For more information about how to use this role to access the member+-- account, see the following links:+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html#orgs_manage_accounts_create-cross-account-role Accessing and Administering the Member Accounts in Your Organization>+--     in the /Organizations User Guide/+--+-- -   Steps 2 and 3 in+--     <https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html Tutorial: Delegate Access Across Amazon Web Services accounts Using IAM Roles>+--     in the /IAM User Guide/+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter. The pattern can include uppercase letters,+-- lowercase letters, digits with no spaces, and any of the following+-- characters: =,.\@-+--+-- 'tags', 'createAccount_tags' - A list of tags that you want to attach to the newly created account. For+-- each tag in the list, you must specify both a tag key and a value. You+-- can set the value to an empty string, but you can\'t set it to @null@.+-- For more information about tagging, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html Tagging Organizations resources>+-- in the Organizations User Guide.+--+-- If any one of the tags is invalid or if you exceed the maximum allowed+-- number of tags for an account, then the entire request fails and the+-- account is not created.+--+-- 'email', 'createAccount_email' - The email address of the owner to assign to the new member account. This+-- email address must not already be associated with another Amazon Web+-- Services account. You must use a valid email address to complete account+-- creation.+--+-- The rules for a valid email address:+--+-- -   The address must be a minimum of 6 and a maximum of 64 characters+--     long.+--+-- -   All characters must be 7-bit ASCII characters.+--+-- -   There must be one and only one \@ symbol, which separates the local+--     name from the domain name.+--+-- -   The local name can\'t contain any of the following characters:+--+--     whitespace, \" \' ( ) \< > [ ] : ; , \\ | % &+--+-- -   The local name can\'t begin with a dot (.)+--+-- -   The domain name can consist of only the characters+--     [a-z],[A-Z],[0-9], hyphen (-), or dot (.)+--+-- -   The domain name can\'t begin or end with a hyphen (-) or dot (.)+--+-- -   The domain name must contain at least one dot+--+-- You can\'t access the root user of the account or remove an account that+-- was created with an invalid email address.+--+-- 'accountName', 'createAccount_accountName' - The friendly name of the member account.+newCreateAccount ::+  -- | 'email'+  Prelude.Text ->+  -- | 'accountName'+  Prelude.Text ->+  CreateAccount+newCreateAccount pEmail_ pAccountName_ =+  CreateAccount'+    { iamUserAccessToBilling =+        Prelude.Nothing,+      roleName = Prelude.Nothing,+      tags = Prelude.Nothing,+      email = Data._Sensitive Lens.# pEmail_,+      accountName = Data._Sensitive Lens.# pAccountName_+    }++-- | If set to @ALLOW@, the new account enables IAM users to access account+-- billing information /if/ they have the required permissions. If set to+-- @DENY@, only the root user of the new account can access account billing+-- information. For more information, see+-- <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate Activating Access to the Billing and Cost Management Console>+-- in the /Amazon Web Services Billing and Cost Management User Guide/.+--+-- If you don\'t specify this parameter, the value defaults to @ALLOW@, and+-- IAM users and roles with the required permissions can access billing+-- information for the new account.+createAccount_iamUserAccessToBilling :: Lens.Lens' CreateAccount (Prelude.Maybe IAMUserAccessToBilling)+createAccount_iamUserAccessToBilling = Lens.lens (\CreateAccount' {iamUserAccessToBilling} -> iamUserAccessToBilling) (\s@CreateAccount' {} a -> s {iamUserAccessToBilling = a} :: CreateAccount)++-- | The name of an IAM role that Organizations automatically preconfigures+-- in the new member account. This role trusts the management account,+-- allowing users in the management account to assume the role, as+-- permitted by the management account administrator. The role has+-- administrator permissions in the new member account.+--+-- If you don\'t specify this parameter, the role name defaults to+-- @OrganizationAccountAccessRole@.+--+-- For more information about how to use this role to access the member+-- account, see the following links:+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html#orgs_manage_accounts_create-cross-account-role Accessing and Administering the Member Accounts in Your Organization>+--     in the /Organizations User Guide/+--+-- -   Steps 2 and 3 in+--     <https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html Tutorial: Delegate Access Across Amazon Web Services accounts Using IAM Roles>+--     in the /IAM User Guide/+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter. The pattern can include uppercase letters,+-- lowercase letters, digits with no spaces, and any of the following+-- characters: =,.\@-+createAccount_roleName :: Lens.Lens' CreateAccount (Prelude.Maybe Prelude.Text)+createAccount_roleName = Lens.lens (\CreateAccount' {roleName} -> roleName) (\s@CreateAccount' {} a -> s {roleName = a} :: CreateAccount)++-- | A list of tags that you want to attach to the newly created account. For+-- each tag in the list, you must specify both a tag key and a value. You+-- can set the value to an empty string, but you can\'t set it to @null@.+-- For more information about tagging, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html Tagging Organizations resources>+-- in the Organizations User Guide.+--+-- If any one of the tags is invalid or if you exceed the maximum allowed+-- number of tags for an account, then the entire request fails and the+-- account is not created.+createAccount_tags :: Lens.Lens' CreateAccount (Prelude.Maybe [Tag])+createAccount_tags = Lens.lens (\CreateAccount' {tags} -> tags) (\s@CreateAccount' {} a -> s {tags = a} :: CreateAccount) Prelude.. Lens.mapping Lens.coerced++-- | The email address of the owner to assign to the new member account. This+-- email address must not already be associated with another Amazon Web+-- Services account. You must use a valid email address to complete account+-- creation.+--+-- The rules for a valid email address:+--+-- -   The address must be a minimum of 6 and a maximum of 64 characters+--     long.+--+-- -   All characters must be 7-bit ASCII characters.+--+-- -   There must be one and only one \@ symbol, which separates the local+--     name from the domain name.+--+-- -   The local name can\'t contain any of the following characters:+--+--     whitespace, \" \' ( ) \< > [ ] : ; , \\ | % &+--+-- -   The local name can\'t begin with a dot (.)+--+-- -   The domain name can consist of only the characters+--     [a-z],[A-Z],[0-9], hyphen (-), or dot (.)+--+-- -   The domain name can\'t begin or end with a hyphen (-) or dot (.)+--+-- -   The domain name must contain at least one dot+--+-- You can\'t access the root user of the account or remove an account that+-- was created with an invalid email address.+createAccount_email :: Lens.Lens' CreateAccount Prelude.Text+createAccount_email = Lens.lens (\CreateAccount' {email} -> email) (\s@CreateAccount' {} a -> s {email = a} :: CreateAccount) Prelude.. Data._Sensitive++-- | The friendly name of the member account.+createAccount_accountName :: Lens.Lens' CreateAccount Prelude.Text+createAccount_accountName = Lens.lens (\CreateAccount' {accountName} -> accountName) (\s@CreateAccount' {} a -> s {accountName = a} :: CreateAccount) Prelude.. Data._Sensitive++instance Core.AWSRequest CreateAccount where+  type+    AWSResponse CreateAccount =+      CreateAccountResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          CreateAccountResponse'+            Prelude.<$> (x Data..?> "CreateAccountStatus")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable CreateAccount where+  hashWithSalt _salt CreateAccount' {..} =+    _salt+      `Prelude.hashWithSalt` iamUserAccessToBilling+      `Prelude.hashWithSalt` roleName+      `Prelude.hashWithSalt` tags+      `Prelude.hashWithSalt` email+      `Prelude.hashWithSalt` accountName++instance Prelude.NFData CreateAccount where+  rnf CreateAccount' {..} =+    Prelude.rnf iamUserAccessToBilling+      `Prelude.seq` Prelude.rnf roleName+      `Prelude.seq` Prelude.rnf tags+      `Prelude.seq` Prelude.rnf email+      `Prelude.seq` Prelude.rnf accountName++instance Data.ToHeaders CreateAccount where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.CreateAccount" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON CreateAccount where+  toJSON CreateAccount' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("IamUserAccessToBilling" Data..=)+              Prelude.<$> iamUserAccessToBilling,+            ("RoleName" Data..=) Prelude.<$> roleName,+            ("Tags" Data..=) Prelude.<$> tags,+            Prelude.Just ("Email" Data..= email),+            Prelude.Just ("AccountName" Data..= accountName)+          ]+      )++instance Data.ToPath CreateAccount where+  toPath = Prelude.const "/"++instance Data.ToQuery CreateAccount where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateAccountResponse' smart constructor.+data CreateAccountResponse = CreateAccountResponse'+  { -- | A structure that contains details about the request to create an+    -- account. This response structure might not be fully populated when you+    -- first receive it because account creation is an asynchronous process.+    -- You can pass the returned @CreateAccountStatus@ ID as a parameter to+    -- DescribeCreateAccountStatus to get status about the progress of the+    -- request at later times. You can also check the CloudTrail log for the+    -- @CreateAccountResult@ event. For more information, see+    -- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_monitoring.html Monitoring the Activity in Your Organization>+    -- in the /Organizations User Guide/.+    createAccountStatus :: Prelude.Maybe CreateAccountStatus,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateAccountResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'createAccountStatus', 'createAccountResponse_createAccountStatus' - A structure that contains details about the request to create an+-- account. This response structure might not be fully populated when you+-- first receive it because account creation is an asynchronous process.+-- You can pass the returned @CreateAccountStatus@ ID as a parameter to+-- DescribeCreateAccountStatus to get status about the progress of the+-- request at later times. You can also check the CloudTrail log for the+-- @CreateAccountResult@ event. For more information, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_monitoring.html Monitoring the Activity in Your Organization>+-- in the /Organizations User Guide/.+--+-- 'httpStatus', 'createAccountResponse_httpStatus' - The response's http status code.+newCreateAccountResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  CreateAccountResponse+newCreateAccountResponse pHttpStatus_ =+  CreateAccountResponse'+    { createAccountStatus =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains details about the request to create an+-- account. This response structure might not be fully populated when you+-- first receive it because account creation is an asynchronous process.+-- You can pass the returned @CreateAccountStatus@ ID as a parameter to+-- DescribeCreateAccountStatus to get status about the progress of the+-- request at later times. You can also check the CloudTrail log for the+-- @CreateAccountResult@ event. For more information, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_monitoring.html Monitoring the Activity in Your Organization>+-- in the /Organizations User Guide/.+createAccountResponse_createAccountStatus :: Lens.Lens' CreateAccountResponse (Prelude.Maybe CreateAccountStatus)+createAccountResponse_createAccountStatus = Lens.lens (\CreateAccountResponse' {createAccountStatus} -> createAccountStatus) (\s@CreateAccountResponse' {} a -> s {createAccountStatus = a} :: CreateAccountResponse)++-- | The response's http status code.+createAccountResponse_httpStatus :: Lens.Lens' CreateAccountResponse Prelude.Int+createAccountResponse_httpStatus = Lens.lens (\CreateAccountResponse' {httpStatus} -> httpStatus) (\s@CreateAccountResponse' {} a -> s {httpStatus = a} :: CreateAccountResponse)++instance Prelude.NFData CreateAccountResponse where+  rnf CreateAccountResponse' {..} =+    Prelude.rnf createAccountStatus+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/CreateGovCloudAccount.hs view
@@ -0,0 +1,592 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.CreateGovCloudAccount+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- This action is available if all of the following are true:+--+-- -   You\'re authorized to create accounts in the Amazon Web Services+--     GovCloud (US) Region. For more information on the Amazon Web+--     Services GovCloud (US) Region, see the+--     <https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/welcome.html Amazon Web Services GovCloud User Guide.>+--+-- -   You already have an account in the Amazon Web Services GovCloud (US)+--     Region that is paired with a management account of an organization+--     in the commercial Region.+--+-- -   You call this action from the management account of your+--     organization in the commercial Region.+--+-- -   You have the @organizations:CreateGovCloudAccount@ permission.+--+-- Organizations automatically creates the required service-linked role+-- named @AWSServiceRoleForOrganizations@. For more information, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html#orgs_integrate_services-using_slrs Organizations and Service-Linked Roles>+-- in the /Organizations User Guide./+--+-- Amazon Web Services automatically enables CloudTrail for Amazon Web+-- Services GovCloud (US) accounts, but you should also do the following:+--+-- -   Verify that CloudTrail is enabled to store logs.+--+-- -   Create an Amazon S3 bucket for CloudTrail log storage.+--+--     For more information, see+--     <https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/verifying-cloudtrail.html Verifying CloudTrail Is Enabled>+--     in the /Amazon Web Services GovCloud User Guide/.+--+-- If the request includes tags, then the requester must have the+-- @organizations:TagResource@ permission. The tags are attached to the+-- commercial account associated with the GovCloud account, rather than the+-- GovCloud account itself. To add tags to the GovCloud account, call the+-- TagResource operation in the GovCloud Region after the new GovCloud+-- account exists.+--+-- You call this action from the management account of your organization in+-- the commercial Region to create a standalone Amazon Web Services account+-- in the Amazon Web Services GovCloud (US) Region. After the account is+-- created, the management account of an organization in the Amazon Web+-- Services GovCloud (US) Region can invite it to that organization. For+-- more information on inviting standalone accounts in the Amazon Web+-- Services GovCloud (US) to join an organization, see+-- <https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html Organizations>+-- in the /Amazon Web Services GovCloud User Guide./+--+-- Calling @CreateGovCloudAccount@ is an asynchronous request that Amazon+-- Web Services performs in the background. Because @CreateGovCloudAccount@+-- operates asynchronously, it can return a successful completion message+-- even though account initialization might still be in progress. You might+-- need to wait a few minutes before you can successfully access the+-- account. To check the status of the request, do one of the following:+--+-- -   Use the @OperationId@ response element from this operation to+--     provide as a parameter to the DescribeCreateAccountStatus operation.+--+-- -   Check the CloudTrail log for the @CreateAccountResult@ event. For+--     information on using CloudTrail with Organizations, see+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_monitoring.html Monitoring the Activity in Your Organization>+--     in the /Organizations User Guide./+--+-- When you call the @CreateGovCloudAccount@ action, you create two+-- accounts: a standalone account in the Amazon Web Services GovCloud (US)+-- Region and an associated account in the commercial Region for billing+-- and support purposes. The account in the commercial Region is+-- automatically a member of the organization whose credentials made the+-- request. Both accounts are associated with the same email address.+--+-- A role is created in the new account in the commercial Region that+-- allows the management account in the organization in the commercial+-- Region to assume it. An Amazon Web Services GovCloud (US) account is+-- then created and associated with the commercial account that you just+-- created. A role is also created in the new Amazon Web Services GovCloud+-- (US) account that can be assumed by the Amazon Web Services GovCloud+-- (US) account that is associated with the management account of the+-- commercial organization. For more information and to view a diagram that+-- explains how account access works, see+-- <https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html Organizations>+-- in the /Amazon Web Services GovCloud User Guide./+--+-- For more information about creating accounts, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_create.html Creating an Amazon Web Services account in Your Organization>+-- in the /Organizations User Guide./+--+-- -   When you create an account in an organization using the+--     Organizations console, API, or CLI commands, the information+--     required for the account to operate as a standalone account is /not/+--     automatically collected. This includes a payment method and signing+--     the end user license agreement (EULA). If you must remove an account+--     from your organization later, you can do so only after you provide+--     the missing information. Follow the steps at+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info To leave an organization as a member account>+--     in the /Organizations User Guide./+--+-- -   If you get an exception that indicates that you exceeded your+--     account limits for the organization, contact+--     <https://console.aws.amazon.com/support/home#/ Amazon Web Services Support>.+--+-- -   If you get an exception that indicates that the operation failed+--     because your organization is still initializing, wait one hour and+--     then try again. If the error persists, contact+--     <https://console.aws.amazon.com/support/home#/ Amazon Web Services Support>.+--+-- -   Using @CreateGovCloudAccount@ to create multiple temporary accounts+--     isn\'t recommended. You can only close an account from the Amazon+--     Web Services Billing and Cost Management console, and you must be+--     signed in as the root user. For information on the requirements and+--     process for closing an account, see+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_close.html Closing an Amazon Web Services account>+--     in the /Organizations User Guide/.+--+-- When you create a member account with this operation, you can choose+-- whether to create the account with the __IAM User and Role Access to+-- Billing Information__ switch enabled. If you enable it, IAM users and+-- roles that have appropriate permissions can view billing information for+-- the account. If you disable it, only the account root user can access+-- billing information. For information about how to disable this switch+-- for an account, see+-- <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html Granting Access to Your Billing Information and Tools>.+module Amazonka.Organizations.CreateGovCloudAccount+  ( -- * Creating a Request+    CreateGovCloudAccount (..),+    newCreateGovCloudAccount,++    -- * Request Lenses+    createGovCloudAccount_iamUserAccessToBilling,+    createGovCloudAccount_roleName,+    createGovCloudAccount_tags,+    createGovCloudAccount_email,+    createGovCloudAccount_accountName,++    -- * Destructuring the Response+    CreateGovCloudAccountResponse (..),+    newCreateGovCloudAccountResponse,++    -- * Response Lenses+    createGovCloudAccountResponse_createAccountStatus,+    createGovCloudAccountResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateGovCloudAccount' smart constructor.+data CreateGovCloudAccount = CreateGovCloudAccount'+  { -- | If set to @ALLOW@, the new linked account in the commercial Region+    -- enables IAM users to access account billing information /if/ they have+    -- the required permissions. If set to @DENY@, only the root user of the+    -- new account can access account billing information. For more+    -- information, see+    -- <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate Activating Access to the Billing and Cost Management Console>+    -- in the /Amazon Web Services Billing and Cost Management User Guide./+    --+    -- If you don\'t specify this parameter, the value defaults to @ALLOW@, and+    -- IAM users and roles with the required permissions can access billing+    -- information for the new account.+    iamUserAccessToBilling :: Prelude.Maybe IAMUserAccessToBilling,+    -- | (Optional)+    --+    -- The name of an IAM role that Organizations automatically preconfigures+    -- in the new member accounts in both the Amazon Web Services GovCloud (US)+    -- Region and in the commercial Region. This role trusts the management+    -- account, allowing users in the management account to assume the role, as+    -- permitted by the management account administrator. The role has+    -- administrator permissions in the new member account.+    --+    -- If you don\'t specify this parameter, the role name defaults to+    -- @OrganizationAccountAccessRole@.+    --+    -- For more information about how to use this role to access the member+    -- account, see+    -- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html#orgs_manage_accounts_create-cross-account-role Accessing and Administering the Member Accounts in Your Organization>+    -- in the /Organizations User Guide/ and steps 2 and 3 in+    -- <https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html Tutorial: Delegate Access Across Amazon Web Services accounts Using IAM Roles>+    -- in the /IAM User Guide./+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+    -- validate this parameter. The pattern can include uppercase letters,+    -- lowercase letters, digits with no spaces, and any of the following+    -- characters: =,.\@-+    roleName :: Prelude.Maybe Prelude.Text,+    -- | A list of tags that you want to attach to the newly created account.+    -- These tags are attached to the commercial account associated with the+    -- GovCloud account, and not to the GovCloud account itself. To add tags to+    -- the actual GovCloud account, call the TagResource operation in the+    -- GovCloud region after the new GovCloud account exists.+    --+    -- For each tag in the list, you must specify both a tag key and a value.+    -- You can set the value to an empty string, but you can\'t set it to+    -- @null@. For more information about tagging, see+    -- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html Tagging Organizations resources>+    -- in the Organizations User Guide.+    --+    -- If any one of the tags is invalid or if you exceed the maximum allowed+    -- number of tags for an account, then the entire request fails and the+    -- account is not created.+    tags :: Prelude.Maybe [Tag],+    -- | Specifies the email address of the owner to assign to the new member+    -- account in the commercial Region. This email address must not already be+    -- associated with another Amazon Web Services account. You must use a+    -- valid email address to complete account creation.+    --+    -- The rules for a valid email address:+    --+    -- -   The address must be a minimum of 6 and a maximum of 64 characters+    --     long.+    --+    -- -   All characters must be 7-bit ASCII characters.+    --+    -- -   There must be one and only one \@ symbol, which separates the local+    --     name from the domain name.+    --+    -- -   The local name can\'t contain any of the following characters:+    --+    --     whitespace, \" \' ( ) \< > [ ] : ; , \\ | % &+    --+    -- -   The local name can\'t begin with a dot (.)+    --+    -- -   The domain name can consist of only the characters+    --     [a-z],[A-Z],[0-9], hyphen (-), or dot (.)+    --+    -- -   The domain name can\'t begin or end with a hyphen (-) or dot (.)+    --+    -- -   The domain name must contain at least one dot+    --+    -- You can\'t access the root user of the account or remove an account that+    -- was created with an invalid email address. Like all request parameters+    -- for @CreateGovCloudAccount@, the request for the email address for the+    -- Amazon Web Services GovCloud (US) account originates from the commercial+    -- Region, not from the Amazon Web Services GovCloud (US) Region.+    email :: Data.Sensitive Prelude.Text,+    -- | The friendly name of the member account.+    --+    -- The account name can consist of only the characters [a-z],[A-Z],[0-9],+    -- hyphen (-), or dot (.) You can\'t separate characters with a dash (–).+    accountName :: Data.Sensitive Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateGovCloudAccount' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'iamUserAccessToBilling', 'createGovCloudAccount_iamUserAccessToBilling' - If set to @ALLOW@, the new linked account in the commercial Region+-- enables IAM users to access account billing information /if/ they have+-- the required permissions. If set to @DENY@, only the root user of the+-- new account can access account billing information. For more+-- information, see+-- <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate Activating Access to the Billing and Cost Management Console>+-- in the /Amazon Web Services Billing and Cost Management User Guide./+--+-- If you don\'t specify this parameter, the value defaults to @ALLOW@, and+-- IAM users and roles with the required permissions can access billing+-- information for the new account.+--+-- 'roleName', 'createGovCloudAccount_roleName' - (Optional)+--+-- The name of an IAM role that Organizations automatically preconfigures+-- in the new member accounts in both the Amazon Web Services GovCloud (US)+-- Region and in the commercial Region. This role trusts the management+-- account, allowing users in the management account to assume the role, as+-- permitted by the management account administrator. The role has+-- administrator permissions in the new member account.+--+-- If you don\'t specify this parameter, the role name defaults to+-- @OrganizationAccountAccessRole@.+--+-- For more information about how to use this role to access the member+-- account, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html#orgs_manage_accounts_create-cross-account-role Accessing and Administering the Member Accounts in Your Organization>+-- in the /Organizations User Guide/ and steps 2 and 3 in+-- <https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html Tutorial: Delegate Access Across Amazon Web Services accounts Using IAM Roles>+-- in the /IAM User Guide./+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter. The pattern can include uppercase letters,+-- lowercase letters, digits with no spaces, and any of the following+-- characters: =,.\@-+--+-- 'tags', 'createGovCloudAccount_tags' - A list of tags that you want to attach to the newly created account.+-- These tags are attached to the commercial account associated with the+-- GovCloud account, and not to the GovCloud account itself. To add tags to+-- the actual GovCloud account, call the TagResource operation in the+-- GovCloud region after the new GovCloud account exists.+--+-- For each tag in the list, you must specify both a tag key and a value.+-- You can set the value to an empty string, but you can\'t set it to+-- @null@. For more information about tagging, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html Tagging Organizations resources>+-- in the Organizations User Guide.+--+-- If any one of the tags is invalid or if you exceed the maximum allowed+-- number of tags for an account, then the entire request fails and the+-- account is not created.+--+-- 'email', 'createGovCloudAccount_email' - Specifies the email address of the owner to assign to the new member+-- account in the commercial Region. This email address must not already be+-- associated with another Amazon Web Services account. You must use a+-- valid email address to complete account creation.+--+-- The rules for a valid email address:+--+-- -   The address must be a minimum of 6 and a maximum of 64 characters+--     long.+--+-- -   All characters must be 7-bit ASCII characters.+--+-- -   There must be one and only one \@ symbol, which separates the local+--     name from the domain name.+--+-- -   The local name can\'t contain any of the following characters:+--+--     whitespace, \" \' ( ) \< > [ ] : ; , \\ | % &+--+-- -   The local name can\'t begin with a dot (.)+--+-- -   The domain name can consist of only the characters+--     [a-z],[A-Z],[0-9], hyphen (-), or dot (.)+--+-- -   The domain name can\'t begin or end with a hyphen (-) or dot (.)+--+-- -   The domain name must contain at least one dot+--+-- You can\'t access the root user of the account or remove an account that+-- was created with an invalid email address. Like all request parameters+-- for @CreateGovCloudAccount@, the request for the email address for the+-- Amazon Web Services GovCloud (US) account originates from the commercial+-- Region, not from the Amazon Web Services GovCloud (US) Region.+--+-- 'accountName', 'createGovCloudAccount_accountName' - The friendly name of the member account.+--+-- The account name can consist of only the characters [a-z],[A-Z],[0-9],+-- hyphen (-), or dot (.) You can\'t separate characters with a dash (–).+newCreateGovCloudAccount ::+  -- | 'email'+  Prelude.Text ->+  -- | 'accountName'+  Prelude.Text ->+  CreateGovCloudAccount+newCreateGovCloudAccount pEmail_ pAccountName_ =+  CreateGovCloudAccount'+    { iamUserAccessToBilling =+        Prelude.Nothing,+      roleName = Prelude.Nothing,+      tags = Prelude.Nothing,+      email = Data._Sensitive Lens.# pEmail_,+      accountName = Data._Sensitive Lens.# pAccountName_+    }++-- | If set to @ALLOW@, the new linked account in the commercial Region+-- enables IAM users to access account billing information /if/ they have+-- the required permissions. If set to @DENY@, only the root user of the+-- new account can access account billing information. For more+-- information, see+-- <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate Activating Access to the Billing and Cost Management Console>+-- in the /Amazon Web Services Billing and Cost Management User Guide./+--+-- If you don\'t specify this parameter, the value defaults to @ALLOW@, and+-- IAM users and roles with the required permissions can access billing+-- information for the new account.+createGovCloudAccount_iamUserAccessToBilling :: Lens.Lens' CreateGovCloudAccount (Prelude.Maybe IAMUserAccessToBilling)+createGovCloudAccount_iamUserAccessToBilling = Lens.lens (\CreateGovCloudAccount' {iamUserAccessToBilling} -> iamUserAccessToBilling) (\s@CreateGovCloudAccount' {} a -> s {iamUserAccessToBilling = a} :: CreateGovCloudAccount)++-- | (Optional)+--+-- The name of an IAM role that Organizations automatically preconfigures+-- in the new member accounts in both the Amazon Web Services GovCloud (US)+-- Region and in the commercial Region. This role trusts the management+-- account, allowing users in the management account to assume the role, as+-- permitted by the management account administrator. The role has+-- administrator permissions in the new member account.+--+-- If you don\'t specify this parameter, the role name defaults to+-- @OrganizationAccountAccessRole@.+--+-- For more information about how to use this role to access the member+-- account, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html#orgs_manage_accounts_create-cross-account-role Accessing and Administering the Member Accounts in Your Organization>+-- in the /Organizations User Guide/ and steps 2 and 3 in+-- <https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html Tutorial: Delegate Access Across Amazon Web Services accounts Using IAM Roles>+-- in the /IAM User Guide./+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter. The pattern can include uppercase letters,+-- lowercase letters, digits with no spaces, and any of the following+-- characters: =,.\@-+createGovCloudAccount_roleName :: Lens.Lens' CreateGovCloudAccount (Prelude.Maybe Prelude.Text)+createGovCloudAccount_roleName = Lens.lens (\CreateGovCloudAccount' {roleName} -> roleName) (\s@CreateGovCloudAccount' {} a -> s {roleName = a} :: CreateGovCloudAccount)++-- | A list of tags that you want to attach to the newly created account.+-- These tags are attached to the commercial account associated with the+-- GovCloud account, and not to the GovCloud account itself. To add tags to+-- the actual GovCloud account, call the TagResource operation in the+-- GovCloud region after the new GovCloud account exists.+--+-- For each tag in the list, you must specify both a tag key and a value.+-- You can set the value to an empty string, but you can\'t set it to+-- @null@. For more information about tagging, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html Tagging Organizations resources>+-- in the Organizations User Guide.+--+-- If any one of the tags is invalid or if you exceed the maximum allowed+-- number of tags for an account, then the entire request fails and the+-- account is not created.+createGovCloudAccount_tags :: Lens.Lens' CreateGovCloudAccount (Prelude.Maybe [Tag])+createGovCloudAccount_tags = Lens.lens (\CreateGovCloudAccount' {tags} -> tags) (\s@CreateGovCloudAccount' {} a -> s {tags = a} :: CreateGovCloudAccount) Prelude.. Lens.mapping Lens.coerced++-- | Specifies the email address of the owner to assign to the new member+-- account in the commercial Region. This email address must not already be+-- associated with another Amazon Web Services account. You must use a+-- valid email address to complete account creation.+--+-- The rules for a valid email address:+--+-- -   The address must be a minimum of 6 and a maximum of 64 characters+--     long.+--+-- -   All characters must be 7-bit ASCII characters.+--+-- -   There must be one and only one \@ symbol, which separates the local+--     name from the domain name.+--+-- -   The local name can\'t contain any of the following characters:+--+--     whitespace, \" \' ( ) \< > [ ] : ; , \\ | % &+--+-- -   The local name can\'t begin with a dot (.)+--+-- -   The domain name can consist of only the characters+--     [a-z],[A-Z],[0-9], hyphen (-), or dot (.)+--+-- -   The domain name can\'t begin or end with a hyphen (-) or dot (.)+--+-- -   The domain name must contain at least one dot+--+-- You can\'t access the root user of the account or remove an account that+-- was created with an invalid email address. Like all request parameters+-- for @CreateGovCloudAccount@, the request for the email address for the+-- Amazon Web Services GovCloud (US) account originates from the commercial+-- Region, not from the Amazon Web Services GovCloud (US) Region.+createGovCloudAccount_email :: Lens.Lens' CreateGovCloudAccount Prelude.Text+createGovCloudAccount_email = Lens.lens (\CreateGovCloudAccount' {email} -> email) (\s@CreateGovCloudAccount' {} a -> s {email = a} :: CreateGovCloudAccount) Prelude.. Data._Sensitive++-- | The friendly name of the member account.+--+-- The account name can consist of only the characters [a-z],[A-Z],[0-9],+-- hyphen (-), or dot (.) You can\'t separate characters with a dash (–).+createGovCloudAccount_accountName :: Lens.Lens' CreateGovCloudAccount Prelude.Text+createGovCloudAccount_accountName = Lens.lens (\CreateGovCloudAccount' {accountName} -> accountName) (\s@CreateGovCloudAccount' {} a -> s {accountName = a} :: CreateGovCloudAccount) Prelude.. Data._Sensitive++instance Core.AWSRequest CreateGovCloudAccount where+  type+    AWSResponse CreateGovCloudAccount =+      CreateGovCloudAccountResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          CreateGovCloudAccountResponse'+            Prelude.<$> (x Data..?> "CreateAccountStatus")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable CreateGovCloudAccount where+  hashWithSalt _salt CreateGovCloudAccount' {..} =+    _salt+      `Prelude.hashWithSalt` iamUserAccessToBilling+      `Prelude.hashWithSalt` roleName+      `Prelude.hashWithSalt` tags+      `Prelude.hashWithSalt` email+      `Prelude.hashWithSalt` accountName++instance Prelude.NFData CreateGovCloudAccount where+  rnf CreateGovCloudAccount' {..} =+    Prelude.rnf iamUserAccessToBilling+      `Prelude.seq` Prelude.rnf roleName+      `Prelude.seq` Prelude.rnf tags+      `Prelude.seq` Prelude.rnf email+      `Prelude.seq` Prelude.rnf accountName++instance Data.ToHeaders CreateGovCloudAccount where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.CreateGovCloudAccount" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON CreateGovCloudAccount where+  toJSON CreateGovCloudAccount' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("IamUserAccessToBilling" Data..=)+              Prelude.<$> iamUserAccessToBilling,+            ("RoleName" Data..=) Prelude.<$> roleName,+            ("Tags" Data..=) Prelude.<$> tags,+            Prelude.Just ("Email" Data..= email),+            Prelude.Just ("AccountName" Data..= accountName)+          ]+      )++instance Data.ToPath CreateGovCloudAccount where+  toPath = Prelude.const "/"++instance Data.ToQuery CreateGovCloudAccount where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateGovCloudAccountResponse' smart constructor.+data CreateGovCloudAccountResponse = CreateGovCloudAccountResponse'+  { createAccountStatus :: Prelude.Maybe CreateAccountStatus,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateGovCloudAccountResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'createAccountStatus', 'createGovCloudAccountResponse_createAccountStatus' - Undocumented member.+--+-- 'httpStatus', 'createGovCloudAccountResponse_httpStatus' - The response's http status code.+newCreateGovCloudAccountResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  CreateGovCloudAccountResponse+newCreateGovCloudAccountResponse pHttpStatus_ =+  CreateGovCloudAccountResponse'+    { createAccountStatus =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | Undocumented member.+createGovCloudAccountResponse_createAccountStatus :: Lens.Lens' CreateGovCloudAccountResponse (Prelude.Maybe CreateAccountStatus)+createGovCloudAccountResponse_createAccountStatus = Lens.lens (\CreateGovCloudAccountResponse' {createAccountStatus} -> createAccountStatus) (\s@CreateGovCloudAccountResponse' {} a -> s {createAccountStatus = a} :: CreateGovCloudAccountResponse)++-- | The response's http status code.+createGovCloudAccountResponse_httpStatus :: Lens.Lens' CreateGovCloudAccountResponse Prelude.Int+createGovCloudAccountResponse_httpStatus = Lens.lens (\CreateGovCloudAccountResponse' {httpStatus} -> httpStatus) (\s@CreateGovCloudAccountResponse' {} a -> s {httpStatus = a} :: CreateGovCloudAccountResponse)++instance Prelude.NFData CreateGovCloudAccountResponse where+  rnf CreateGovCloudAccountResponse' {..} =+    Prelude.rnf createAccountStatus+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/CreateOrganization.hs view
@@ -0,0 +1,232 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.CreateOrganization+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates an Amazon Web Services organization. The account whose user is+-- calling the @CreateOrganization@ operation automatically becomes the+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account management account>+-- of the new organization.+--+-- This operation must be called using credentials from the account that is+-- to become the new organization\'s management account. The principal must+-- also have the relevant IAM permissions.+--+-- By default (or if you set the @FeatureSet@ parameter to @ALL@), the new+-- organization is created with all features enabled and service control+-- policies automatically enabled in the root. If you instead choose to+-- create the organization supporting only the consolidated billing+-- features by setting the @FeatureSet@ parameter to+-- @CONSOLIDATED_BILLING\"@, no policy types are enabled by default, and+-- you can\'t use organization policies+module Amazonka.Organizations.CreateOrganization+  ( -- * Creating a Request+    CreateOrganization (..),+    newCreateOrganization,++    -- * Request Lenses+    createOrganization_featureSet,++    -- * Destructuring the Response+    CreateOrganizationResponse (..),+    newCreateOrganizationResponse,++    -- * Response Lenses+    createOrganizationResponse_organization,+    createOrganizationResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateOrganization' smart constructor.+data CreateOrganization = CreateOrganization'+  { -- | Specifies the feature set supported by the new organization. Each+    -- feature set supports different levels of functionality.+    --+    -- -   @CONSOLIDATED_BILLING@: All member accounts have their bills+    --     consolidated to and paid by the management account. For more+    --     information, see+    --     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set-cb-only Consolidated billing>+    --     in the /Organizations User Guide./+    --+    --     The consolidated billing feature subset isn\'t available for+    --     organizations in the Amazon Web Services GovCloud (US) Region.+    --+    -- -   @ALL@: In addition to all the features supported by the consolidated+    --     billing feature set, the management account can also apply any+    --     policy type to any member account in the organization. For more+    --     information, see+    --     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set-all All features>+    --     in the /Organizations User Guide./+    featureSet :: Prelude.Maybe OrganizationFeatureSet+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateOrganization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'featureSet', 'createOrganization_featureSet' - Specifies the feature set supported by the new organization. Each+-- feature set supports different levels of functionality.+--+-- -   @CONSOLIDATED_BILLING@: All member accounts have their bills+--     consolidated to and paid by the management account. For more+--     information, see+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set-cb-only Consolidated billing>+--     in the /Organizations User Guide./+--+--     The consolidated billing feature subset isn\'t available for+--     organizations in the Amazon Web Services GovCloud (US) Region.+--+-- -   @ALL@: In addition to all the features supported by the consolidated+--     billing feature set, the management account can also apply any+--     policy type to any member account in the organization. For more+--     information, see+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set-all All features>+--     in the /Organizations User Guide./+newCreateOrganization ::+  CreateOrganization+newCreateOrganization =+  CreateOrganization' {featureSet = Prelude.Nothing}++-- | Specifies the feature set supported by the new organization. Each+-- feature set supports different levels of functionality.+--+-- -   @CONSOLIDATED_BILLING@: All member accounts have their bills+--     consolidated to and paid by the management account. For more+--     information, see+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set-cb-only Consolidated billing>+--     in the /Organizations User Guide./+--+--     The consolidated billing feature subset isn\'t available for+--     organizations in the Amazon Web Services GovCloud (US) Region.+--+-- -   @ALL@: In addition to all the features supported by the consolidated+--     billing feature set, the management account can also apply any+--     policy type to any member account in the organization. For more+--     information, see+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set-all All features>+--     in the /Organizations User Guide./+createOrganization_featureSet :: Lens.Lens' CreateOrganization (Prelude.Maybe OrganizationFeatureSet)+createOrganization_featureSet = Lens.lens (\CreateOrganization' {featureSet} -> featureSet) (\s@CreateOrganization' {} a -> s {featureSet = a} :: CreateOrganization)++instance Core.AWSRequest CreateOrganization where+  type+    AWSResponse CreateOrganization =+      CreateOrganizationResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          CreateOrganizationResponse'+            Prelude.<$> (x Data..?> "Organization")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable CreateOrganization where+  hashWithSalt _salt CreateOrganization' {..} =+    _salt `Prelude.hashWithSalt` featureSet++instance Prelude.NFData CreateOrganization where+  rnf CreateOrganization' {..} = Prelude.rnf featureSet++instance Data.ToHeaders CreateOrganization where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.CreateOrganization" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON CreateOrganization where+  toJSON CreateOrganization' {..} =+    Data.object+      ( Prelude.catMaybes+          [("FeatureSet" Data..=) Prelude.<$> featureSet]+      )++instance Data.ToPath CreateOrganization where+  toPath = Prelude.const "/"++instance Data.ToQuery CreateOrganization where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateOrganizationResponse' smart constructor.+data CreateOrganizationResponse = CreateOrganizationResponse'+  { -- | A structure that contains details about the newly created organization.+    organization :: Prelude.Maybe Organization,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateOrganizationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organization', 'createOrganizationResponse_organization' - A structure that contains details about the newly created organization.+--+-- 'httpStatus', 'createOrganizationResponse_httpStatus' - The response's http status code.+newCreateOrganizationResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  CreateOrganizationResponse+newCreateOrganizationResponse pHttpStatus_ =+  CreateOrganizationResponse'+    { organization =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains details about the newly created organization.+createOrganizationResponse_organization :: Lens.Lens' CreateOrganizationResponse (Prelude.Maybe Organization)+createOrganizationResponse_organization = Lens.lens (\CreateOrganizationResponse' {organization} -> organization) (\s@CreateOrganizationResponse' {} a -> s {organization = a} :: CreateOrganizationResponse)++-- | The response's http status code.+createOrganizationResponse_httpStatus :: Lens.Lens' CreateOrganizationResponse Prelude.Int+createOrganizationResponse_httpStatus = Lens.lens (\CreateOrganizationResponse' {httpStatus} -> httpStatus) (\s@CreateOrganizationResponse' {} a -> s {httpStatus = a} :: CreateOrganizationResponse)++instance Prelude.NFData CreateOrganizationResponse where+  rnf CreateOrganizationResponse' {..} =+    Prelude.rnf organization+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/CreateOrganizationalUnit.hs view
@@ -0,0 +1,278 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.CreateOrganizationalUnit+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates an organizational unit (OU) within a root or parent OU. An OU is+-- a container for accounts that enables you to organize your accounts to+-- apply policies according to your business requirements. The number of+-- levels deep that you can nest OUs is dependent upon the policy types+-- enabled for that root. For service control policies, the limit is five.+--+-- For more information about OUs, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_ous.html Managing Organizational Units>+-- in the /Organizations User Guide./+--+-- If the request includes tags, then the requester must have the+-- @organizations:TagResource@ permission.+--+-- This operation can be called only from the organization\'s management+-- account.+module Amazonka.Organizations.CreateOrganizationalUnit+  ( -- * Creating a Request+    CreateOrganizationalUnit (..),+    newCreateOrganizationalUnit,++    -- * Request Lenses+    createOrganizationalUnit_tags,+    createOrganizationalUnit_parentId,+    createOrganizationalUnit_name,++    -- * Destructuring the Response+    CreateOrganizationalUnitResponse (..),+    newCreateOrganizationalUnitResponse,++    -- * Response Lenses+    createOrganizationalUnitResponse_organizationalUnit,+    createOrganizationalUnitResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateOrganizationalUnit' smart constructor.+data CreateOrganizationalUnit = CreateOrganizationalUnit'+  { -- | A list of tags that you want to attach to the newly created OU. For each+    -- tag in the list, you must specify both a tag key and a value. You can+    -- set the value to an empty string, but you can\'t set it to @null@. For+    -- more information about tagging, see+    -- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html Tagging Organizations resources>+    -- in the Organizations User Guide.+    --+    -- If any one of the tags is invalid or if you exceed the allowed number of+    -- tags for an OU, then the entire request fails and the OU is not created.+    tags :: Prelude.Maybe [Tag],+    -- | The unique identifier (ID) of the parent root or OU that you want to+    -- create the new OU in.+    --+    -- The <http://wikipedia.org/wiki/regex 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+    --     lowercase letters or digits.+    --+    -- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+    --     followed by from 4 to 32 lowercase letters or digits (the ID of the+    --     root that the OU is in). This string is followed by a second \"-\"+    --     dash and from 8 to 32 additional lowercase letters or digits.+    parentId :: Prelude.Text,+    -- | The friendly name to assign to the new OU.+    name :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateOrganizationalUnit' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'tags', 'createOrganizationalUnit_tags' - A list of tags that you want to attach to the newly created OU. For each+-- tag in the list, you must specify both a tag key and a value. You can+-- set the value to an empty string, but you can\'t set it to @null@. For+-- more information about tagging, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html Tagging Organizations resources>+-- in the Organizations User Guide.+--+-- If any one of the tags is invalid or if you exceed the allowed number of+-- tags for an OU, then the entire request fails and the OU is not created.+--+-- 'parentId', 'createOrganizationalUnit_parentId' - The unique identifier (ID) of the parent root or OU that you want to+-- create the new OU in.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+--+-- 'name', 'createOrganizationalUnit_name' - The friendly name to assign to the new OU.+newCreateOrganizationalUnit ::+  -- | 'parentId'+  Prelude.Text ->+  -- | 'name'+  Prelude.Text ->+  CreateOrganizationalUnit+newCreateOrganizationalUnit pParentId_ pName_ =+  CreateOrganizationalUnit'+    { tags = Prelude.Nothing,+      parentId = pParentId_,+      name = pName_+    }++-- | A list of tags that you want to attach to the newly created OU. For each+-- tag in the list, you must specify both a tag key and a value. You can+-- set the value to an empty string, but you can\'t set it to @null@. For+-- more information about tagging, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html Tagging Organizations resources>+-- in the Organizations User Guide.+--+-- If any one of the tags is invalid or if you exceed the allowed number of+-- tags for an OU, then the entire request fails and the OU is not created.+createOrganizationalUnit_tags :: Lens.Lens' CreateOrganizationalUnit (Prelude.Maybe [Tag])+createOrganizationalUnit_tags = Lens.lens (\CreateOrganizationalUnit' {tags} -> tags) (\s@CreateOrganizationalUnit' {} a -> s {tags = a} :: CreateOrganizationalUnit) Prelude.. Lens.mapping Lens.coerced++-- | The unique identifier (ID) of the parent root or OU that you want to+-- create the new OU in.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+createOrganizationalUnit_parentId :: Lens.Lens' CreateOrganizationalUnit Prelude.Text+createOrganizationalUnit_parentId = Lens.lens (\CreateOrganizationalUnit' {parentId} -> parentId) (\s@CreateOrganizationalUnit' {} a -> s {parentId = a} :: CreateOrganizationalUnit)++-- | The friendly name to assign to the new OU.+createOrganizationalUnit_name :: Lens.Lens' CreateOrganizationalUnit Prelude.Text+createOrganizationalUnit_name = Lens.lens (\CreateOrganizationalUnit' {name} -> name) (\s@CreateOrganizationalUnit' {} a -> s {name = a} :: CreateOrganizationalUnit)++instance Core.AWSRequest CreateOrganizationalUnit where+  type+    AWSResponse CreateOrganizationalUnit =+      CreateOrganizationalUnitResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          CreateOrganizationalUnitResponse'+            Prelude.<$> (x Data..?> "OrganizationalUnit")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable CreateOrganizationalUnit where+  hashWithSalt _salt CreateOrganizationalUnit' {..} =+    _salt+      `Prelude.hashWithSalt` tags+      `Prelude.hashWithSalt` parentId+      `Prelude.hashWithSalt` name++instance Prelude.NFData CreateOrganizationalUnit where+  rnf CreateOrganizationalUnit' {..} =+    Prelude.rnf tags+      `Prelude.seq` Prelude.rnf parentId+      `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders CreateOrganizationalUnit where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.CreateOrganizationalUnit" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON CreateOrganizationalUnit where+  toJSON CreateOrganizationalUnit' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Tags" Data..=) Prelude.<$> tags,+            Prelude.Just ("ParentId" Data..= parentId),+            Prelude.Just ("Name" Data..= name)+          ]+      )++instance Data.ToPath CreateOrganizationalUnit where+  toPath = Prelude.const "/"++instance Data.ToQuery CreateOrganizationalUnit where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateOrganizationalUnitResponse' smart constructor.+data CreateOrganizationalUnitResponse = CreateOrganizationalUnitResponse'+  { -- | A structure that contains details about the newly created OU.+    organizationalUnit :: Prelude.Maybe OrganizationalUnit,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateOrganizationalUnitResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationalUnit', 'createOrganizationalUnitResponse_organizationalUnit' - A structure that contains details about the newly created OU.+--+-- 'httpStatus', 'createOrganizationalUnitResponse_httpStatus' - The response's http status code.+newCreateOrganizationalUnitResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  CreateOrganizationalUnitResponse+newCreateOrganizationalUnitResponse pHttpStatus_ =+  CreateOrganizationalUnitResponse'+    { organizationalUnit =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains details about the newly created OU.+createOrganizationalUnitResponse_organizationalUnit :: Lens.Lens' CreateOrganizationalUnitResponse (Prelude.Maybe OrganizationalUnit)+createOrganizationalUnitResponse_organizationalUnit = Lens.lens (\CreateOrganizationalUnitResponse' {organizationalUnit} -> organizationalUnit) (\s@CreateOrganizationalUnitResponse' {} a -> s {organizationalUnit = a} :: CreateOrganizationalUnitResponse)++-- | The response's http status code.+createOrganizationalUnitResponse_httpStatus :: Lens.Lens' CreateOrganizationalUnitResponse Prelude.Int+createOrganizationalUnitResponse_httpStatus = Lens.lens (\CreateOrganizationalUnitResponse' {httpStatus} -> httpStatus) (\s@CreateOrganizationalUnitResponse' {} a -> s {httpStatus = a} :: CreateOrganizationalUnitResponse)++instance+  Prelude.NFData+    CreateOrganizationalUnitResponse+  where+  rnf CreateOrganizationalUnitResponse' {..} =+    Prelude.rnf organizationalUnit+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/CreatePolicy.hs view
@@ -0,0 +1,310 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.CreatePolicy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a policy of a specified type that you can attach to a root, an+-- organizational unit (OU), or an individual Amazon Web Services account.+--+-- For more information about policies and their use, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html Managing Organization Policies>.+--+-- If the request includes tags, then the requester must have the+-- @organizations:TagResource@ permission.+--+-- This operation can be called only from the organization\'s management+-- account.+module Amazonka.Organizations.CreatePolicy+  ( -- * Creating a Request+    CreatePolicy (..),+    newCreatePolicy,++    -- * Request Lenses+    createPolicy_tags,+    createPolicy_content,+    createPolicy_description,+    createPolicy_name,+    createPolicy_type,++    -- * Destructuring the Response+    CreatePolicyResponse (..),+    newCreatePolicyResponse,++    -- * Response Lenses+    createPolicyResponse_policy,+    createPolicyResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreatePolicy' smart constructor.+data CreatePolicy = CreatePolicy'+  { -- | A list of tags that you want to attach to the newly created policy. For+    -- each tag in the list, you must specify both a tag key and a value. You+    -- can set the value to an empty string, but you can\'t set it to @null@.+    -- For more information about tagging, see+    -- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html Tagging Organizations resources>+    -- in the Organizations User Guide.+    --+    -- If any one of the tags is invalid or if you exceed the allowed number of+    -- tags for a policy, then the entire request fails and the policy is not+    -- created.+    tags :: Prelude.Maybe [Tag],+    -- | The policy text content to add to the new policy. The text that you+    -- supply must adhere to the rules of the policy type you specify in the+    -- @Type@ parameter.+    content :: Prelude.Text,+    -- | An optional description to assign to the policy.+    description :: Prelude.Text,+    -- | The friendly name to assign to the policy.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+    -- validate this parameter is a string of any of the characters in the+    -- ASCII character range.+    name :: Prelude.Text,+    -- | The type of policy to create. You can specify one of the following+    -- values:+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html SERVICE_CONTROL_POLICY>+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+    type' :: PolicyType+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreatePolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'tags', 'createPolicy_tags' - A list of tags that you want to attach to the newly created policy. For+-- each tag in the list, you must specify both a tag key and a value. You+-- can set the value to an empty string, but you can\'t set it to @null@.+-- For more information about tagging, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html Tagging Organizations resources>+-- in the Organizations User Guide.+--+-- If any one of the tags is invalid or if you exceed the allowed number of+-- tags for a policy, then the entire request fails and the policy is not+-- created.+--+-- 'content', 'createPolicy_content' - The policy text content to add to the new policy. The text that you+-- supply must adhere to the rules of the policy type you specify in the+-- @Type@ parameter.+--+-- 'description', 'createPolicy_description' - An optional description to assign to the policy.+--+-- 'name', 'createPolicy_name' - The friendly name to assign to the policy.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter is a string of any of the characters in the+-- ASCII character range.+--+-- 'type'', 'createPolicy_type' - The type of policy to create. You can specify one of the following+-- values:+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html SERVICE_CONTROL_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+newCreatePolicy ::+  -- | 'content'+  Prelude.Text ->+  -- | 'description'+  Prelude.Text ->+  -- | 'name'+  Prelude.Text ->+  -- | 'type''+  PolicyType ->+  CreatePolicy+newCreatePolicy pContent_ pDescription_ pName_ pType_ =+  CreatePolicy'+    { tags = Prelude.Nothing,+      content = pContent_,+      description = pDescription_,+      name = pName_,+      type' = pType_+    }++-- | A list of tags that you want to attach to the newly created policy. For+-- each tag in the list, you must specify both a tag key and a value. You+-- can set the value to an empty string, but you can\'t set it to @null@.+-- For more information about tagging, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html Tagging Organizations resources>+-- in the Organizations User Guide.+--+-- If any one of the tags is invalid or if you exceed the allowed number of+-- tags for a policy, then the entire request fails and the policy is not+-- created.+createPolicy_tags :: Lens.Lens' CreatePolicy (Prelude.Maybe [Tag])+createPolicy_tags = Lens.lens (\CreatePolicy' {tags} -> tags) (\s@CreatePolicy' {} a -> s {tags = a} :: CreatePolicy) Prelude.. Lens.mapping Lens.coerced++-- | The policy text content to add to the new policy. The text that you+-- supply must adhere to the rules of the policy type you specify in the+-- @Type@ parameter.+createPolicy_content :: Lens.Lens' CreatePolicy Prelude.Text+createPolicy_content = Lens.lens (\CreatePolicy' {content} -> content) (\s@CreatePolicy' {} a -> s {content = a} :: CreatePolicy)++-- | An optional description to assign to the policy.+createPolicy_description :: Lens.Lens' CreatePolicy Prelude.Text+createPolicy_description = Lens.lens (\CreatePolicy' {description} -> description) (\s@CreatePolicy' {} a -> s {description = a} :: CreatePolicy)++-- | The friendly name to assign to the policy.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter is a string of any of the characters in the+-- ASCII character range.+createPolicy_name :: Lens.Lens' CreatePolicy Prelude.Text+createPolicy_name = Lens.lens (\CreatePolicy' {name} -> name) (\s@CreatePolicy' {} a -> s {name = a} :: CreatePolicy)++-- | The type of policy to create. You can specify one of the following+-- values:+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html SERVICE_CONTROL_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+createPolicy_type :: Lens.Lens' CreatePolicy PolicyType+createPolicy_type = Lens.lens (\CreatePolicy' {type'} -> type') (\s@CreatePolicy' {} a -> s {type' = a} :: CreatePolicy)++instance Core.AWSRequest CreatePolicy where+  type AWSResponse CreatePolicy = CreatePolicyResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          CreatePolicyResponse'+            Prelude.<$> (x Data..?> "Policy")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable CreatePolicy where+  hashWithSalt _salt CreatePolicy' {..} =+    _salt+      `Prelude.hashWithSalt` tags+      `Prelude.hashWithSalt` content+      `Prelude.hashWithSalt` description+      `Prelude.hashWithSalt` name+      `Prelude.hashWithSalt` type'++instance Prelude.NFData CreatePolicy where+  rnf CreatePolicy' {..} =+    Prelude.rnf tags+      `Prelude.seq` Prelude.rnf content+      `Prelude.seq` Prelude.rnf description+      `Prelude.seq` Prelude.rnf name+      `Prelude.seq` Prelude.rnf type'++instance Data.ToHeaders CreatePolicy where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.CreatePolicy" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON CreatePolicy where+  toJSON CreatePolicy' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Tags" Data..=) Prelude.<$> tags,+            Prelude.Just ("Content" Data..= content),+            Prelude.Just ("Description" Data..= description),+            Prelude.Just ("Name" Data..= name),+            Prelude.Just ("Type" Data..= type')+          ]+      )++instance Data.ToPath CreatePolicy where+  toPath = Prelude.const "/"++instance Data.ToQuery CreatePolicy where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreatePolicyResponse' smart constructor.+data CreatePolicyResponse = CreatePolicyResponse'+  { -- | A structure that contains details about the newly created policy.+    policy :: Prelude.Maybe Policy,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreatePolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'policy', 'createPolicyResponse_policy' - A structure that contains details about the newly created policy.+--+-- 'httpStatus', 'createPolicyResponse_httpStatus' - The response's http status code.+newCreatePolicyResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  CreatePolicyResponse+newCreatePolicyResponse pHttpStatus_ =+  CreatePolicyResponse'+    { policy = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains details about the newly created policy.+createPolicyResponse_policy :: Lens.Lens' CreatePolicyResponse (Prelude.Maybe Policy)+createPolicyResponse_policy = Lens.lens (\CreatePolicyResponse' {policy} -> policy) (\s@CreatePolicyResponse' {} a -> s {policy = a} :: CreatePolicyResponse)++-- | The response's http status code.+createPolicyResponse_httpStatus :: Lens.Lens' CreatePolicyResponse Prelude.Int+createPolicyResponse_httpStatus = Lens.lens (\CreatePolicyResponse' {httpStatus} -> httpStatus) (\s@CreatePolicyResponse' {} a -> s {httpStatus = a} :: CreatePolicyResponse)++instance Prelude.NFData CreatePolicyResponse where+  rnf CreatePolicyResponse' {..} =+    Prelude.rnf policy+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/DeclineHandshake.hs view
@@ -0,0 +1,195 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.DeclineHandshake+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Declines a handshake request. This sets the handshake state to+-- @DECLINED@ and effectively deactivates the request.+--+-- This operation can be called only from the account that received the+-- handshake. The originator of the handshake can use CancelHandshake+-- instead. The originator can\'t reactivate a declined request, but can+-- reinitiate the process with a new handshake request.+--+-- After you decline a handshake, it continues to appear in the results of+-- relevant APIs for only 30 days. After that, it\'s deleted.+module Amazonka.Organizations.DeclineHandshake+  ( -- * Creating a Request+    DeclineHandshake (..),+    newDeclineHandshake,++    -- * Request Lenses+    declineHandshake_handshakeId,++    -- * Destructuring the Response+    DeclineHandshakeResponse (..),+    newDeclineHandshakeResponse,++    -- * Response Lenses+    declineHandshakeResponse_handshake,+    declineHandshakeResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeclineHandshake' smart constructor.+data DeclineHandshake = DeclineHandshake'+  { -- | The unique identifier (ID) of the handshake that you want to decline.+    -- You can get the ID from the ListHandshakesForAccount operation.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+    -- string requires \"h-\" followed by from 8 to 32 lowercase letters or+    -- digits.+    handshakeId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeclineHandshake' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'handshakeId', 'declineHandshake_handshakeId' - The unique identifier (ID) of the handshake that you want to decline.+-- You can get the ID from the ListHandshakesForAccount operation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+-- string requires \"h-\" followed by from 8 to 32 lowercase letters or+-- digits.+newDeclineHandshake ::+  -- | 'handshakeId'+  Prelude.Text ->+  DeclineHandshake+newDeclineHandshake pHandshakeId_ =+  DeclineHandshake' {handshakeId = pHandshakeId_}++-- | The unique identifier (ID) of the handshake that you want to decline.+-- You can get the ID from the ListHandshakesForAccount operation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+-- string requires \"h-\" followed by from 8 to 32 lowercase letters or+-- digits.+declineHandshake_handshakeId :: Lens.Lens' DeclineHandshake Prelude.Text+declineHandshake_handshakeId = Lens.lens (\DeclineHandshake' {handshakeId} -> handshakeId) (\s@DeclineHandshake' {} a -> s {handshakeId = a} :: DeclineHandshake)++instance Core.AWSRequest DeclineHandshake where+  type+    AWSResponse DeclineHandshake =+      DeclineHandshakeResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DeclineHandshakeResponse'+            Prelude.<$> (x Data..?> "Handshake")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DeclineHandshake where+  hashWithSalt _salt DeclineHandshake' {..} =+    _salt `Prelude.hashWithSalt` handshakeId++instance Prelude.NFData DeclineHandshake where+  rnf DeclineHandshake' {..} = Prelude.rnf handshakeId++instance Data.ToHeaders DeclineHandshake where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.DeclineHandshake" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DeclineHandshake where+  toJSON DeclineHandshake' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("HandshakeId" Data..= handshakeId)]+      )++instance Data.ToPath DeclineHandshake where+  toPath = Prelude.const "/"++instance Data.ToQuery DeclineHandshake where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeclineHandshakeResponse' smart constructor.+data DeclineHandshakeResponse = DeclineHandshakeResponse'+  { -- | A structure that contains details about the declined handshake. The+    -- state is updated to show the value @DECLINED@.+    handshake :: Prelude.Maybe Handshake,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeclineHandshakeResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'handshake', 'declineHandshakeResponse_handshake' - A structure that contains details about the declined handshake. The+-- state is updated to show the value @DECLINED@.+--+-- 'httpStatus', 'declineHandshakeResponse_httpStatus' - The response's http status code.+newDeclineHandshakeResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DeclineHandshakeResponse+newDeclineHandshakeResponse pHttpStatus_ =+  DeclineHandshakeResponse'+    { handshake =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains details about the declined handshake. The+-- state is updated to show the value @DECLINED@.+declineHandshakeResponse_handshake :: Lens.Lens' DeclineHandshakeResponse (Prelude.Maybe Handshake)+declineHandshakeResponse_handshake = Lens.lens (\DeclineHandshakeResponse' {handshake} -> handshake) (\s@DeclineHandshakeResponse' {} a -> s {handshake = a} :: DeclineHandshakeResponse)++-- | The response's http status code.+declineHandshakeResponse_httpStatus :: Lens.Lens' DeclineHandshakeResponse Prelude.Int+declineHandshakeResponse_httpStatus = Lens.lens (\DeclineHandshakeResponse' {httpStatus} -> httpStatus) (\s@DeclineHandshakeResponse' {} a -> s {httpStatus = a} :: DeclineHandshakeResponse)++instance Prelude.NFData DeclineHandshakeResponse where+  rnf DeclineHandshakeResponse' {..} =+    Prelude.rnf handshake+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/DeleteOrganization.hs view
@@ -0,0 +1,115 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.DeleteOrganization+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the organization. You can delete an organization only by using+-- credentials from the management account. The organization must be empty+-- of member accounts.+module Amazonka.Organizations.DeleteOrganization+  ( -- * Creating a Request+    DeleteOrganization (..),+    newDeleteOrganization,++    -- * Destructuring the Response+    DeleteOrganizationResponse (..),+    newDeleteOrganizationResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteOrganization' smart constructor.+data DeleteOrganization = DeleteOrganization'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteOrganization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDeleteOrganization ::+  DeleteOrganization+newDeleteOrganization = DeleteOrganization'++instance Core.AWSRequest DeleteOrganization where+  type+    AWSResponse DeleteOrganization =+      DeleteOrganizationResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveNull DeleteOrganizationResponse'++instance Prelude.Hashable DeleteOrganization where+  hashWithSalt _salt _ =+    _salt `Prelude.hashWithSalt` ()++instance Prelude.NFData DeleteOrganization where+  rnf _ = ()++instance Data.ToHeaders DeleteOrganization where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.DeleteOrganization" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DeleteOrganization where+  toJSON = Prelude.const (Data.Object Prelude.mempty)++instance Data.ToPath DeleteOrganization where+  toPath = Prelude.const "/"++instance Data.ToQuery DeleteOrganization where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteOrganizationResponse' smart constructor.+data DeleteOrganizationResponse = DeleteOrganizationResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteOrganizationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDeleteOrganizationResponse ::+  DeleteOrganizationResponse+newDeleteOrganizationResponse =+  DeleteOrganizationResponse'++instance Prelude.NFData DeleteOrganizationResponse where+  rnf _ = ()
+ gen/Amazonka/Organizations/DeleteOrganizationalUnit.hs view
@@ -0,0 +1,174 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.DeleteOrganizationalUnit+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes an organizational unit (OU) from a root or another OU. You must+-- first remove all accounts and child OUs from the OU that you want to+-- delete.+--+-- This operation can be called only from the organization\'s management+-- account.+module Amazonka.Organizations.DeleteOrganizationalUnit+  ( -- * Creating a Request+    DeleteOrganizationalUnit (..),+    newDeleteOrganizationalUnit,++    -- * Request Lenses+    deleteOrganizationalUnit_organizationalUnitId,++    -- * Destructuring the Response+    DeleteOrganizationalUnitResponse (..),+    newDeleteOrganizationalUnitResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteOrganizationalUnit' smart constructor.+data DeleteOrganizationalUnit = DeleteOrganizationalUnit'+  { -- | The unique identifier (ID) of the organizational unit that you want to+    -- delete. You can get the ID from the ListOrganizationalUnitsForParent+    -- operation.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for an+    -- organizational unit ID string requires \"ou-\" followed by from 4 to 32+    -- lowercase letters or digits (the ID of the root that contains the OU).+    -- This string is followed by a second \"-\" dash and from 8 to 32+    -- additional lowercase letters or digits.+    organizationalUnitId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteOrganizationalUnit' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationalUnitId', 'deleteOrganizationalUnit_organizationalUnitId' - The unique identifier (ID) of the organizational unit that you want to+-- delete. You can get the ID from the ListOrganizationalUnitsForParent+-- operation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an+-- organizational unit ID string requires \"ou-\" followed by from 4 to 32+-- lowercase letters or digits (the ID of the root that contains the OU).+-- This string is followed by a second \"-\" dash and from 8 to 32+-- additional lowercase letters or digits.+newDeleteOrganizationalUnit ::+  -- | 'organizationalUnitId'+  Prelude.Text ->+  DeleteOrganizationalUnit+newDeleteOrganizationalUnit pOrganizationalUnitId_ =+  DeleteOrganizationalUnit'+    { organizationalUnitId =+        pOrganizationalUnitId_+    }++-- | The unique identifier (ID) of the organizational unit that you want to+-- delete. You can get the ID from the ListOrganizationalUnitsForParent+-- operation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an+-- organizational unit ID string requires \"ou-\" followed by from 4 to 32+-- lowercase letters or digits (the ID of the root that contains the OU).+-- This string is followed by a second \"-\" dash and from 8 to 32+-- additional lowercase letters or digits.+deleteOrganizationalUnit_organizationalUnitId :: Lens.Lens' DeleteOrganizationalUnit Prelude.Text+deleteOrganizationalUnit_organizationalUnitId = Lens.lens (\DeleteOrganizationalUnit' {organizationalUnitId} -> organizationalUnitId) (\s@DeleteOrganizationalUnit' {} a -> s {organizationalUnitId = a} :: DeleteOrganizationalUnit)++instance Core.AWSRequest DeleteOrganizationalUnit where+  type+    AWSResponse DeleteOrganizationalUnit =+      DeleteOrganizationalUnitResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveNull+      DeleteOrganizationalUnitResponse'++instance Prelude.Hashable DeleteOrganizationalUnit where+  hashWithSalt _salt DeleteOrganizationalUnit' {..} =+    _salt `Prelude.hashWithSalt` organizationalUnitId++instance Prelude.NFData DeleteOrganizationalUnit where+  rnf DeleteOrganizationalUnit' {..} =+    Prelude.rnf organizationalUnitId++instance Data.ToHeaders DeleteOrganizationalUnit where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.DeleteOrganizationalUnit" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DeleteOrganizationalUnit where+  toJSON DeleteOrganizationalUnit' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just+              ( "OrganizationalUnitId"+                  Data..= organizationalUnitId+              )+          ]+      )++instance Data.ToPath DeleteOrganizationalUnit where+  toPath = Prelude.const "/"++instance Data.ToQuery DeleteOrganizationalUnit where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteOrganizationalUnitResponse' smart constructor.+data DeleteOrganizationalUnitResponse = DeleteOrganizationalUnitResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteOrganizationalUnitResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDeleteOrganizationalUnitResponse ::+  DeleteOrganizationalUnitResponse+newDeleteOrganizationalUnitResponse =+  DeleteOrganizationalUnitResponse'++instance+  Prelude.NFData+    DeleteOrganizationalUnitResponse+  where+  rnf _ = ()
+ gen/Amazonka/Organizations/DeletePolicy.hs view
@@ -0,0 +1,152 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.DeletePolicy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified policy from your organization. Before you perform+-- this operation, you must first detach the policy from all organizational+-- units (OUs), roots, and accounts.+--+-- This operation can be called only from the organization\'s management+-- account.+module Amazonka.Organizations.DeletePolicy+  ( -- * Creating a Request+    DeletePolicy (..),+    newDeletePolicy,++    -- * Request Lenses+    deletePolicy_policyId,++    -- * Destructuring the Response+    DeletePolicyResponse (..),+    newDeletePolicyResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeletePolicy' smart constructor.+data DeletePolicy = DeletePolicy'+  { -- | The unique identifier (ID) of the policy that you want to delete. You+    -- can get the ID from the ListPolicies or ListPoliciesForTarget+    -- operations.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+    -- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+    -- letters, digits, or the underscore character (_).+    policyId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeletePolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'policyId', 'deletePolicy_policyId' - The unique identifier (ID) of the policy that you want to delete. You+-- can get the ID from the ListPolicies or ListPoliciesForTarget+-- operations.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+-- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+-- letters, digits, or the underscore character (_).+newDeletePolicy ::+  -- | 'policyId'+  Prelude.Text ->+  DeletePolicy+newDeletePolicy pPolicyId_ =+  DeletePolicy' {policyId = pPolicyId_}++-- | The unique identifier (ID) of the policy that you want to delete. You+-- can get the ID from the ListPolicies or ListPoliciesForTarget+-- operations.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+-- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+-- letters, digits, or the underscore character (_).+deletePolicy_policyId :: Lens.Lens' DeletePolicy Prelude.Text+deletePolicy_policyId = Lens.lens (\DeletePolicy' {policyId} -> policyId) (\s@DeletePolicy' {} a -> s {policyId = a} :: DeletePolicy)++instance Core.AWSRequest DeletePolicy where+  type AWSResponse DeletePolicy = DeletePolicyResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response = Response.receiveNull DeletePolicyResponse'++instance Prelude.Hashable DeletePolicy where+  hashWithSalt _salt DeletePolicy' {..} =+    _salt `Prelude.hashWithSalt` policyId++instance Prelude.NFData DeletePolicy where+  rnf DeletePolicy' {..} = Prelude.rnf policyId++instance Data.ToHeaders DeletePolicy where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.DeletePolicy" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DeletePolicy where+  toJSON DeletePolicy' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("PolicyId" Data..= policyId)]+      )++instance Data.ToPath DeletePolicy where+  toPath = Prelude.const "/"++instance Data.ToQuery DeletePolicy where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeletePolicyResponse' smart constructor.+data DeletePolicyResponse = DeletePolicyResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeletePolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDeletePolicyResponse ::+  DeletePolicyResponse+newDeletePolicyResponse = DeletePolicyResponse'++instance Prelude.NFData DeletePolicyResponse where+  rnf _ = ()
+ gen/Amazonka/Organizations/DeleteResourcePolicy.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.DeleteResourcePolicy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the resource policy from your organization.+--+-- You can only call this operation from the organization\'s management+-- account.+module Amazonka.Organizations.DeleteResourcePolicy+  ( -- * Creating a Request+    DeleteResourcePolicy (..),+    newDeleteResourcePolicy,++    -- * Destructuring the Response+    DeleteResourcePolicyResponse (..),+    newDeleteResourcePolicyResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteResourcePolicy' smart constructor.+data DeleteResourcePolicy = DeleteResourcePolicy'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteResourcePolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDeleteResourcePolicy ::+  DeleteResourcePolicy+newDeleteResourcePolicy = DeleteResourcePolicy'++instance Core.AWSRequest DeleteResourcePolicy where+  type+    AWSResponse DeleteResourcePolicy =+      DeleteResourcePolicyResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveNull DeleteResourcePolicyResponse'++instance Prelude.Hashable DeleteResourcePolicy where+  hashWithSalt _salt _ =+    _salt `Prelude.hashWithSalt` ()++instance Prelude.NFData DeleteResourcePolicy where+  rnf _ = ()++instance Data.ToHeaders DeleteResourcePolicy where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.DeleteResourcePolicy" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DeleteResourcePolicy where+  toJSON = Prelude.const (Data.Object Prelude.mempty)++instance Data.ToPath DeleteResourcePolicy where+  toPath = Prelude.const "/"++instance Data.ToQuery DeleteResourcePolicy where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteResourcePolicyResponse' smart constructor.+data DeleteResourcePolicyResponse = DeleteResourcePolicyResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteResourcePolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDeleteResourcePolicyResponse ::+  DeleteResourcePolicyResponse+newDeleteResourcePolicyResponse =+  DeleteResourcePolicyResponse'++instance Prelude.NFData DeleteResourcePolicyResponse where+  rnf _ = ()
+ gen/Amazonka/Organizations/DeregisterDelegatedAdministrator.hs view
@@ -0,0 +1,217 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.DeregisterDelegatedAdministrator+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Removes the specified member Amazon Web Services account as a delegated+-- administrator for the specified Amazon Web Services service.+--+-- Deregistering a delegated administrator can have unintended impacts on+-- the functionality of the enabled Amazon Web Services service. See the+-- documentation for the enabled service before you deregister a delegated+-- administrator so that you understand any potential impacts.+--+-- You can run this action only for Amazon Web Services services that+-- support this feature. For a current list of services that support it,+-- see the column /Supports Delegated Administrator/ in the table at+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services_list.html Amazon Web Services Services that you can use with Organizations>+-- in the /Organizations User Guide./+--+-- This operation can be called only from the organization\'s management+-- account.+module Amazonka.Organizations.DeregisterDelegatedAdministrator+  ( -- * Creating a Request+    DeregisterDelegatedAdministrator (..),+    newDeregisterDelegatedAdministrator,++    -- * Request Lenses+    deregisterDelegatedAdministrator_accountId,+    deregisterDelegatedAdministrator_servicePrincipal,++    -- * Destructuring the Response+    DeregisterDelegatedAdministratorResponse (..),+    newDeregisterDelegatedAdministratorResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeregisterDelegatedAdministrator' smart constructor.+data DeregisterDelegatedAdministrator = DeregisterDelegatedAdministrator'+  { -- | The account ID number of the member account in the organization that you+    -- want to deregister as a delegated administrator.+    accountId :: Prelude.Text,+    -- | The service principal name of an Amazon Web Services service for which+    -- the account is a delegated administrator.+    --+    -- Delegated administrator privileges are revoked for only the specified+    -- Amazon Web Services service from the member account. If the specified+    -- service is the only service for which the member account is a delegated+    -- administrator, the operation also revokes Organizations read action+    -- permissions.+    servicePrincipal :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeregisterDelegatedAdministrator' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'accountId', 'deregisterDelegatedAdministrator_accountId' - The account ID number of the member account in the organization that you+-- want to deregister as a delegated administrator.+--+-- 'servicePrincipal', 'deregisterDelegatedAdministrator_servicePrincipal' - The service principal name of an Amazon Web Services service for which+-- the account is a delegated administrator.+--+-- Delegated administrator privileges are revoked for only the specified+-- Amazon Web Services service from the member account. If the specified+-- service is the only service for which the member account is a delegated+-- administrator, the operation also revokes Organizations read action+-- permissions.+newDeregisterDelegatedAdministrator ::+  -- | 'accountId'+  Prelude.Text ->+  -- | 'servicePrincipal'+  Prelude.Text ->+  DeregisterDelegatedAdministrator+newDeregisterDelegatedAdministrator+  pAccountId_+  pServicePrincipal_ =+    DeregisterDelegatedAdministrator'+      { accountId =+          pAccountId_,+        servicePrincipal = pServicePrincipal_+      }++-- | The account ID number of the member account in the organization that you+-- want to deregister as a delegated administrator.+deregisterDelegatedAdministrator_accountId :: Lens.Lens' DeregisterDelegatedAdministrator Prelude.Text+deregisterDelegatedAdministrator_accountId = Lens.lens (\DeregisterDelegatedAdministrator' {accountId} -> accountId) (\s@DeregisterDelegatedAdministrator' {} a -> s {accountId = a} :: DeregisterDelegatedAdministrator)++-- | The service principal name of an Amazon Web Services service for which+-- the account is a delegated administrator.+--+-- Delegated administrator privileges are revoked for only the specified+-- Amazon Web Services service from the member account. If the specified+-- service is the only service for which the member account is a delegated+-- administrator, the operation also revokes Organizations read action+-- permissions.+deregisterDelegatedAdministrator_servicePrincipal :: Lens.Lens' DeregisterDelegatedAdministrator Prelude.Text+deregisterDelegatedAdministrator_servicePrincipal = Lens.lens (\DeregisterDelegatedAdministrator' {servicePrincipal} -> servicePrincipal) (\s@DeregisterDelegatedAdministrator' {} a -> s {servicePrincipal = a} :: DeregisterDelegatedAdministrator)++instance+  Core.AWSRequest+    DeregisterDelegatedAdministrator+  where+  type+    AWSResponse DeregisterDelegatedAdministrator =+      DeregisterDelegatedAdministratorResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveNull+      DeregisterDelegatedAdministratorResponse'++instance+  Prelude.Hashable+    DeregisterDelegatedAdministrator+  where+  hashWithSalt+    _salt+    DeregisterDelegatedAdministrator' {..} =+      _salt+        `Prelude.hashWithSalt` accountId+        `Prelude.hashWithSalt` servicePrincipal++instance+  Prelude.NFData+    DeregisterDelegatedAdministrator+  where+  rnf DeregisterDelegatedAdministrator' {..} =+    Prelude.rnf accountId+      `Prelude.seq` Prelude.rnf servicePrincipal++instance+  Data.ToHeaders+    DeregisterDelegatedAdministrator+  where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.DeregisterDelegatedAdministrator" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DeregisterDelegatedAdministrator where+  toJSON DeregisterDelegatedAdministrator' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("AccountId" Data..= accountId),+            Prelude.Just+              ("ServicePrincipal" Data..= servicePrincipal)+          ]+      )++instance Data.ToPath DeregisterDelegatedAdministrator where+  toPath = Prelude.const "/"++instance+  Data.ToQuery+    DeregisterDelegatedAdministrator+  where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeregisterDelegatedAdministratorResponse' smart constructor.+data DeregisterDelegatedAdministratorResponse = DeregisterDelegatedAdministratorResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeregisterDelegatedAdministratorResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDeregisterDelegatedAdministratorResponse ::+  DeregisterDelegatedAdministratorResponse+newDeregisterDelegatedAdministratorResponse =+  DeregisterDelegatedAdministratorResponse'++instance+  Prelude.NFData+    DeregisterDelegatedAdministratorResponse+  where+  rnf _ = ()
+ gen/Amazonka/Organizations/DescribeAccount.hs view
@@ -0,0 +1,186 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.DescribeAccount+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves Organizations-related information about the specified account.+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+module Amazonka.Organizations.DescribeAccount+  ( -- * Creating a Request+    DescribeAccount (..),+    newDescribeAccount,++    -- * Request Lenses+    describeAccount_accountId,++    -- * Destructuring the Response+    DescribeAccountResponse (..),+    newDescribeAccountResponse,++    -- * Response Lenses+    describeAccountResponse_account,+    describeAccountResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeAccount' smart constructor.+data DescribeAccount = DescribeAccount'+  { -- | The unique identifier (ID) of the Amazon Web Services account that you+    -- want information about. You can get the ID from the ListAccounts or+    -- ListAccountsForParent operations.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for an account ID+    -- string requires exactly 12 digits.+    accountId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeAccount' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'accountId', 'describeAccount_accountId' - The unique identifier (ID) of the Amazon Web Services account that you+-- want information about. You can get the ID from the ListAccounts or+-- ListAccountsForParent operations.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an account ID+-- string requires exactly 12 digits.+newDescribeAccount ::+  -- | 'accountId'+  Prelude.Text ->+  DescribeAccount+newDescribeAccount pAccountId_ =+  DescribeAccount' {accountId = pAccountId_}++-- | The unique identifier (ID) of the Amazon Web Services account that you+-- want information about. You can get the ID from the ListAccounts or+-- ListAccountsForParent operations.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an account ID+-- string requires exactly 12 digits.+describeAccount_accountId :: Lens.Lens' DescribeAccount Prelude.Text+describeAccount_accountId = Lens.lens (\DescribeAccount' {accountId} -> accountId) (\s@DescribeAccount' {} a -> s {accountId = a} :: DescribeAccount)++instance Core.AWSRequest DescribeAccount where+  type+    AWSResponse DescribeAccount =+      DescribeAccountResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeAccountResponse'+            Prelude.<$> (x Data..?> "Account")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeAccount where+  hashWithSalt _salt DescribeAccount' {..} =+    _salt `Prelude.hashWithSalt` accountId++instance Prelude.NFData DescribeAccount where+  rnf DescribeAccount' {..} = Prelude.rnf accountId++instance Data.ToHeaders DescribeAccount where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.DescribeAccount" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeAccount where+  toJSON DescribeAccount' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("AccountId" Data..= accountId)]+      )++instance Data.ToPath DescribeAccount where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeAccount where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeAccountResponse' smart constructor.+data DescribeAccountResponse = DescribeAccountResponse'+  { -- | A structure that contains information about the requested account.+    account :: Prelude.Maybe Account,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeAccountResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'account', 'describeAccountResponse_account' - A structure that contains information about the requested account.+--+-- 'httpStatus', 'describeAccountResponse_httpStatus' - The response's http status code.+newDescribeAccountResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeAccountResponse+newDescribeAccountResponse pHttpStatus_ =+  DescribeAccountResponse'+    { account = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains information about the requested account.+describeAccountResponse_account :: Lens.Lens' DescribeAccountResponse (Prelude.Maybe Account)+describeAccountResponse_account = Lens.lens (\DescribeAccountResponse' {account} -> account) (\s@DescribeAccountResponse' {} a -> s {account = a} :: DescribeAccountResponse)++-- | The response's http status code.+describeAccountResponse_httpStatus :: Lens.Lens' DescribeAccountResponse Prelude.Int+describeAccountResponse_httpStatus = Lens.lens (\DescribeAccountResponse' {httpStatus} -> httpStatus) (\s@DescribeAccountResponse' {} a -> s {httpStatus = a} :: DescribeAccountResponse)++instance Prelude.NFData DescribeAccountResponse where+  rnf DescribeAccountResponse' {..} =+    Prelude.rnf account+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/DescribeCreateAccountStatus.hs view
@@ -0,0 +1,209 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.DescribeCreateAccountStatus+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves the current status of an asynchronous request to create an+-- account.+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+module Amazonka.Organizations.DescribeCreateAccountStatus+  ( -- * Creating a Request+    DescribeCreateAccountStatus (..),+    newDescribeCreateAccountStatus,++    -- * Request Lenses+    describeCreateAccountStatus_createAccountRequestId,++    -- * Destructuring the Response+    DescribeCreateAccountStatusResponse (..),+    newDescribeCreateAccountStatusResponse,++    -- * Response Lenses+    describeCreateAccountStatusResponse_createAccountStatus,+    describeCreateAccountStatusResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeCreateAccountStatus' smart constructor.+data DescribeCreateAccountStatus = DescribeCreateAccountStatus'+  { -- | Specifies the @Id@ value that uniquely identifies the @CreateAccount@+    -- request. You can get the value from the @CreateAccountStatus.Id@+    -- response in an earlier CreateAccount request, or from the+    -- ListCreateAccountStatus operation.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for a create account+    -- request ID string requires \"car-\" followed by from 8 to 32 lowercase+    -- letters or digits.+    createAccountRequestId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeCreateAccountStatus' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'createAccountRequestId', 'describeCreateAccountStatus_createAccountRequestId' - Specifies the @Id@ value that uniquely identifies the @CreateAccount@+-- request. You can get the value from the @CreateAccountStatus.Id@+-- response in an earlier CreateAccount request, or from the+-- ListCreateAccountStatus operation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a create account+-- request ID string requires \"car-\" followed by from 8 to 32 lowercase+-- letters or digits.+newDescribeCreateAccountStatus ::+  -- | 'createAccountRequestId'+  Prelude.Text ->+  DescribeCreateAccountStatus+newDescribeCreateAccountStatus+  pCreateAccountRequestId_ =+    DescribeCreateAccountStatus'+      { createAccountRequestId =+          pCreateAccountRequestId_+      }++-- | Specifies the @Id@ value that uniquely identifies the @CreateAccount@+-- request. You can get the value from the @CreateAccountStatus.Id@+-- response in an earlier CreateAccount request, or from the+-- ListCreateAccountStatus operation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a create account+-- request ID string requires \"car-\" followed by from 8 to 32 lowercase+-- letters or digits.+describeCreateAccountStatus_createAccountRequestId :: Lens.Lens' DescribeCreateAccountStatus Prelude.Text+describeCreateAccountStatus_createAccountRequestId = Lens.lens (\DescribeCreateAccountStatus' {createAccountRequestId} -> createAccountRequestId) (\s@DescribeCreateAccountStatus' {} a -> s {createAccountRequestId = a} :: DescribeCreateAccountStatus)++instance Core.AWSRequest DescribeCreateAccountStatus where+  type+    AWSResponse DescribeCreateAccountStatus =+      DescribeCreateAccountStatusResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeCreateAccountStatusResponse'+            Prelude.<$> (x Data..?> "CreateAccountStatus")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeCreateAccountStatus where+  hashWithSalt _salt DescribeCreateAccountStatus' {..} =+    _salt `Prelude.hashWithSalt` createAccountRequestId++instance Prelude.NFData DescribeCreateAccountStatus where+  rnf DescribeCreateAccountStatus' {..} =+    Prelude.rnf createAccountRequestId++instance Data.ToHeaders DescribeCreateAccountStatus where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.DescribeCreateAccountStatus" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeCreateAccountStatus where+  toJSON DescribeCreateAccountStatus' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just+              ( "CreateAccountRequestId"+                  Data..= createAccountRequestId+              )+          ]+      )++instance Data.ToPath DescribeCreateAccountStatus where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeCreateAccountStatus where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeCreateAccountStatusResponse' smart constructor.+data DescribeCreateAccountStatusResponse = DescribeCreateAccountStatusResponse'+  { -- | A structure that contains the current status of an account creation+    -- request.+    createAccountStatus :: Prelude.Maybe CreateAccountStatus,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeCreateAccountStatusResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'createAccountStatus', 'describeCreateAccountStatusResponse_createAccountStatus' - A structure that contains the current status of an account creation+-- request.+--+-- 'httpStatus', 'describeCreateAccountStatusResponse_httpStatus' - The response's http status code.+newDescribeCreateAccountStatusResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeCreateAccountStatusResponse+newDescribeCreateAccountStatusResponse pHttpStatus_ =+  DescribeCreateAccountStatusResponse'+    { createAccountStatus =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains the current status of an account creation+-- request.+describeCreateAccountStatusResponse_createAccountStatus :: Lens.Lens' DescribeCreateAccountStatusResponse (Prelude.Maybe CreateAccountStatus)+describeCreateAccountStatusResponse_createAccountStatus = Lens.lens (\DescribeCreateAccountStatusResponse' {createAccountStatus} -> createAccountStatus) (\s@DescribeCreateAccountStatusResponse' {} a -> s {createAccountStatus = a} :: DescribeCreateAccountStatusResponse)++-- | The response's http status code.+describeCreateAccountStatusResponse_httpStatus :: Lens.Lens' DescribeCreateAccountStatusResponse Prelude.Int+describeCreateAccountStatusResponse_httpStatus = Lens.lens (\DescribeCreateAccountStatusResponse' {httpStatus} -> httpStatus) (\s@DescribeCreateAccountStatusResponse' {} a -> s {httpStatus = a} :: DescribeCreateAccountStatusResponse)++instance+  Prelude.NFData+    DescribeCreateAccountStatusResponse+  where+  rnf DescribeCreateAccountStatusResponse' {..} =+    Prelude.rnf createAccountStatus+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/DescribeEffectivePolicy.hs view
@@ -0,0 +1,231 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.DescribeEffectivePolicy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the contents of the effective policy for specified policy type+-- and account. The effective policy is the aggregation of any policies of+-- the specified type that the account inherits, plus any policy of that+-- type that is directly attached to the account.+--+-- This operation applies only to policy types /other/ than service control+-- policies (SCPs).+--+-- For more information about policy inheritance, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies-inheritance.html How Policy Inheritance Works>+-- in the /Organizations User Guide/.+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+module Amazonka.Organizations.DescribeEffectivePolicy+  ( -- * Creating a Request+    DescribeEffectivePolicy (..),+    newDescribeEffectivePolicy,++    -- * Request Lenses+    describeEffectivePolicy_targetId,+    describeEffectivePolicy_policyType,++    -- * Destructuring the Response+    DescribeEffectivePolicyResponse (..),+    newDescribeEffectivePolicyResponse,++    -- * Response Lenses+    describeEffectivePolicyResponse_effectivePolicy,+    describeEffectivePolicyResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeEffectivePolicy' smart constructor.+data DescribeEffectivePolicy = DescribeEffectivePolicy'+  { -- | When you\'re signed in as the management account, specify the ID of the+    -- account that you want details about. Specifying an organization root or+    -- organizational unit (OU) as the target is not supported.+    targetId :: Prelude.Maybe Prelude.Text,+    -- | The type of policy that you want information about. You can specify one+    -- of the following values:+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+    policyType :: EffectivePolicyType+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEffectivePolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'targetId', 'describeEffectivePolicy_targetId' - When you\'re signed in as the management account, specify the ID of the+-- account that you want details about. Specifying an organization root or+-- organizational unit (OU) as the target is not supported.+--+-- 'policyType', 'describeEffectivePolicy_policyType' - The type of policy that you want information about. You can specify one+-- of the following values:+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+newDescribeEffectivePolicy ::+  -- | 'policyType'+  EffectivePolicyType ->+  DescribeEffectivePolicy+newDescribeEffectivePolicy pPolicyType_ =+  DescribeEffectivePolicy'+    { targetId =+        Prelude.Nothing,+      policyType = pPolicyType_+    }++-- | When you\'re signed in as the management account, specify the ID of the+-- account that you want details about. Specifying an organization root or+-- organizational unit (OU) as the target is not supported.+describeEffectivePolicy_targetId :: Lens.Lens' DescribeEffectivePolicy (Prelude.Maybe Prelude.Text)+describeEffectivePolicy_targetId = Lens.lens (\DescribeEffectivePolicy' {targetId} -> targetId) (\s@DescribeEffectivePolicy' {} a -> s {targetId = a} :: DescribeEffectivePolicy)++-- | The type of policy that you want information about. You can specify one+-- of the following values:+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+describeEffectivePolicy_policyType :: Lens.Lens' DescribeEffectivePolicy EffectivePolicyType+describeEffectivePolicy_policyType = Lens.lens (\DescribeEffectivePolicy' {policyType} -> policyType) (\s@DescribeEffectivePolicy' {} a -> s {policyType = a} :: DescribeEffectivePolicy)++instance Core.AWSRequest DescribeEffectivePolicy where+  type+    AWSResponse DescribeEffectivePolicy =+      DescribeEffectivePolicyResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeEffectivePolicyResponse'+            Prelude.<$> (x Data..?> "EffectivePolicy")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeEffectivePolicy where+  hashWithSalt _salt DescribeEffectivePolicy' {..} =+    _salt+      `Prelude.hashWithSalt` targetId+      `Prelude.hashWithSalt` policyType++instance Prelude.NFData DescribeEffectivePolicy where+  rnf DescribeEffectivePolicy' {..} =+    Prelude.rnf targetId+      `Prelude.seq` Prelude.rnf policyType++instance Data.ToHeaders DescribeEffectivePolicy where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.DescribeEffectivePolicy" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeEffectivePolicy where+  toJSON DescribeEffectivePolicy' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("TargetId" Data..=) Prelude.<$> targetId,+            Prelude.Just ("PolicyType" Data..= policyType)+          ]+      )++instance Data.ToPath DescribeEffectivePolicy where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeEffectivePolicy where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeEffectivePolicyResponse' smart constructor.+data DescribeEffectivePolicyResponse = DescribeEffectivePolicyResponse'+  { -- | The contents of the effective policy.+    effectivePolicy :: Prelude.Maybe EffectivePolicy,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEffectivePolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'effectivePolicy', 'describeEffectivePolicyResponse_effectivePolicy' - The contents of the effective policy.+--+-- 'httpStatus', 'describeEffectivePolicyResponse_httpStatus' - The response's http status code.+newDescribeEffectivePolicyResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeEffectivePolicyResponse+newDescribeEffectivePolicyResponse pHttpStatus_ =+  DescribeEffectivePolicyResponse'+    { effectivePolicy =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The contents of the effective policy.+describeEffectivePolicyResponse_effectivePolicy :: Lens.Lens' DescribeEffectivePolicyResponse (Prelude.Maybe EffectivePolicy)+describeEffectivePolicyResponse_effectivePolicy = Lens.lens (\DescribeEffectivePolicyResponse' {effectivePolicy} -> effectivePolicy) (\s@DescribeEffectivePolicyResponse' {} a -> s {effectivePolicy = a} :: DescribeEffectivePolicyResponse)++-- | The response's http status code.+describeEffectivePolicyResponse_httpStatus :: Lens.Lens' DescribeEffectivePolicyResponse Prelude.Int+describeEffectivePolicyResponse_httpStatus = Lens.lens (\DescribeEffectivePolicyResponse' {httpStatus} -> httpStatus) (\s@DescribeEffectivePolicyResponse' {} a -> s {httpStatus = a} :: DescribeEffectivePolicyResponse)++instance+  Prelude.NFData+    DescribeEffectivePolicyResponse+  where+  rnf DescribeEffectivePolicyResponse' {..} =+    Prelude.rnf effectivePolicy+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/DescribeHandshake.hs view
@@ -0,0 +1,197 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.DescribeHandshake+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves information about a previously requested handshake. The+-- handshake ID comes from the response to the original+-- InviteAccountToOrganization operation that generated the handshake.+--+-- You can access handshakes that are @ACCEPTED@, @DECLINED@, or @CANCELED@+-- for only 30 days after they change to that state. They\'re then deleted+-- and no longer accessible.+--+-- This operation can be called from any account in the organization.+module Amazonka.Organizations.DescribeHandshake+  ( -- * Creating a Request+    DescribeHandshake (..),+    newDescribeHandshake,++    -- * Request Lenses+    describeHandshake_handshakeId,++    -- * Destructuring the Response+    DescribeHandshakeResponse (..),+    newDescribeHandshakeResponse,++    -- * Response Lenses+    describeHandshakeResponse_handshake,+    describeHandshakeResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeHandshake' smart constructor.+data DescribeHandshake = DescribeHandshake'+  { -- | The unique identifier (ID) of the handshake that you want information+    -- about. You can get the ID from the original call to+    -- InviteAccountToOrganization, or from a call to ListHandshakesForAccount+    -- or ListHandshakesForOrganization.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+    -- string requires \"h-\" followed by from 8 to 32 lowercase letters or+    -- digits.+    handshakeId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeHandshake' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'handshakeId', 'describeHandshake_handshakeId' - The unique identifier (ID) of the handshake that you want information+-- about. You can get the ID from the original call to+-- InviteAccountToOrganization, or from a call to ListHandshakesForAccount+-- or ListHandshakesForOrganization.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+-- string requires \"h-\" followed by from 8 to 32 lowercase letters or+-- digits.+newDescribeHandshake ::+  -- | 'handshakeId'+  Prelude.Text ->+  DescribeHandshake+newDescribeHandshake pHandshakeId_ =+  DescribeHandshake' {handshakeId = pHandshakeId_}++-- | The unique identifier (ID) of the handshake that you want information+-- about. You can get the ID from the original call to+-- InviteAccountToOrganization, or from a call to ListHandshakesForAccount+-- or ListHandshakesForOrganization.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+-- string requires \"h-\" followed by from 8 to 32 lowercase letters or+-- digits.+describeHandshake_handshakeId :: Lens.Lens' DescribeHandshake Prelude.Text+describeHandshake_handshakeId = Lens.lens (\DescribeHandshake' {handshakeId} -> handshakeId) (\s@DescribeHandshake' {} a -> s {handshakeId = a} :: DescribeHandshake)++instance Core.AWSRequest DescribeHandshake where+  type+    AWSResponse DescribeHandshake =+      DescribeHandshakeResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeHandshakeResponse'+            Prelude.<$> (x Data..?> "Handshake")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeHandshake where+  hashWithSalt _salt DescribeHandshake' {..} =+    _salt `Prelude.hashWithSalt` handshakeId++instance Prelude.NFData DescribeHandshake where+  rnf DescribeHandshake' {..} = Prelude.rnf handshakeId++instance Data.ToHeaders DescribeHandshake where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.DescribeHandshake" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeHandshake where+  toJSON DescribeHandshake' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("HandshakeId" Data..= handshakeId)]+      )++instance Data.ToPath DescribeHandshake where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeHandshake where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeHandshakeResponse' smart constructor.+data DescribeHandshakeResponse = DescribeHandshakeResponse'+  { -- | A structure that contains information about the specified handshake.+    handshake :: Prelude.Maybe Handshake,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeHandshakeResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'handshake', 'describeHandshakeResponse_handshake' - A structure that contains information about the specified handshake.+--+-- 'httpStatus', 'describeHandshakeResponse_httpStatus' - The response's http status code.+newDescribeHandshakeResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeHandshakeResponse+newDescribeHandshakeResponse pHttpStatus_ =+  DescribeHandshakeResponse'+    { handshake =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains information about the specified handshake.+describeHandshakeResponse_handshake :: Lens.Lens' DescribeHandshakeResponse (Prelude.Maybe Handshake)+describeHandshakeResponse_handshake = Lens.lens (\DescribeHandshakeResponse' {handshake} -> handshake) (\s@DescribeHandshakeResponse' {} a -> s {handshake = a} :: DescribeHandshakeResponse)++-- | The response's http status code.+describeHandshakeResponse_httpStatus :: Lens.Lens' DescribeHandshakeResponse Prelude.Int+describeHandshakeResponse_httpStatus = Lens.lens (\DescribeHandshakeResponse' {httpStatus} -> httpStatus) (\s@DescribeHandshakeResponse' {} a -> s {httpStatus = a} :: DescribeHandshakeResponse)++instance Prelude.NFData DescribeHandshakeResponse where+  rnf DescribeHandshakeResponse' {..} =+    Prelude.rnf handshake+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/DescribeOrganization.hs view
@@ -0,0 +1,173 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.DescribeOrganization+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves information about the organization that the user\'s account+-- belongs to.+--+-- This operation can be called from any account in the organization.+--+-- Even if a policy type is shown as available in the organization, you can+-- disable it separately at the root level with DisablePolicyType. Use+-- ListRoots to see the status of policy types for a specified root.+module Amazonka.Organizations.DescribeOrganization+  ( -- * Creating a Request+    DescribeOrganization (..),+    newDescribeOrganization,++    -- * Destructuring the Response+    DescribeOrganizationResponse (..),+    newDescribeOrganizationResponse,++    -- * Response Lenses+    describeOrganizationResponse_organization,+    describeOrganizationResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeOrganization' smart constructor.+data DescribeOrganization = DescribeOrganization'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeOrganization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDescribeOrganization ::+  DescribeOrganization+newDescribeOrganization = DescribeOrganization'++instance Core.AWSRequest DescribeOrganization where+  type+    AWSResponse DescribeOrganization =+      DescribeOrganizationResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeOrganizationResponse'+            Prelude.<$> (x Data..?> "Organization")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeOrganization where+  hashWithSalt _salt _ =+    _salt `Prelude.hashWithSalt` ()++instance Prelude.NFData DescribeOrganization where+  rnf _ = ()++instance Data.ToHeaders DescribeOrganization where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.DescribeOrganization" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeOrganization where+  toJSON = Prelude.const (Data.Object Prelude.mempty)++instance Data.ToPath DescribeOrganization where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeOrganization where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeOrganizationResponse' smart constructor.+data DescribeOrganizationResponse = DescribeOrganizationResponse'+  { -- | A structure that contains information about the organization.+    --+    -- The @AvailablePolicyTypes@ part of the response is deprecated, and you+    -- shouldn\'t use it in your apps. It doesn\'t include any policy type+    -- supported by Organizations other than SCPs. To determine which policy+    -- types are enabled in your organization, use the @ @@ListRoots@@ @+    -- operation.+    organization :: Prelude.Maybe Organization,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeOrganizationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organization', 'describeOrganizationResponse_organization' - A structure that contains information about the organization.+--+-- The @AvailablePolicyTypes@ part of the response is deprecated, and you+-- shouldn\'t use it in your apps. It doesn\'t include any policy type+-- supported by Organizations other than SCPs. To determine which policy+-- types are enabled in your organization, use the @ @@ListRoots@@ @+-- operation.+--+-- 'httpStatus', 'describeOrganizationResponse_httpStatus' - The response's http status code.+newDescribeOrganizationResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeOrganizationResponse+newDescribeOrganizationResponse pHttpStatus_ =+  DescribeOrganizationResponse'+    { organization =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains information about the organization.+--+-- The @AvailablePolicyTypes@ part of the response is deprecated, and you+-- shouldn\'t use it in your apps. It doesn\'t include any policy type+-- supported by Organizations other than SCPs. To determine which policy+-- types are enabled in your organization, use the @ @@ListRoots@@ @+-- operation.+describeOrganizationResponse_organization :: Lens.Lens' DescribeOrganizationResponse (Prelude.Maybe Organization)+describeOrganizationResponse_organization = Lens.lens (\DescribeOrganizationResponse' {organization} -> organization) (\s@DescribeOrganizationResponse' {} a -> s {organization = a} :: DescribeOrganizationResponse)++-- | The response's http status code.+describeOrganizationResponse_httpStatus :: Lens.Lens' DescribeOrganizationResponse Prelude.Int+describeOrganizationResponse_httpStatus = Lens.lens (\DescribeOrganizationResponse' {httpStatus} -> httpStatus) (\s@DescribeOrganizationResponse' {} a -> s {httpStatus = a} :: DescribeOrganizationResponse)++instance Prelude.NFData DescribeOrganizationResponse where+  rnf DescribeOrganizationResponse' {..} =+    Prelude.rnf organization+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/DescribeOrganizationalUnit.hs view
@@ -0,0 +1,207 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.DescribeOrganizationalUnit+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves information about an organizational unit (OU).+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+module Amazonka.Organizations.DescribeOrganizationalUnit+  ( -- * Creating a Request+    DescribeOrganizationalUnit (..),+    newDescribeOrganizationalUnit,++    -- * Request Lenses+    describeOrganizationalUnit_organizationalUnitId,++    -- * Destructuring the Response+    DescribeOrganizationalUnitResponse (..),+    newDescribeOrganizationalUnitResponse,++    -- * Response Lenses+    describeOrganizationalUnitResponse_organizationalUnit,+    describeOrganizationalUnitResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeOrganizationalUnit' smart constructor.+data DescribeOrganizationalUnit = DescribeOrganizationalUnit'+  { -- | The unique identifier (ID) of the organizational unit that you want+    -- details about. You can get the ID from the+    -- ListOrganizationalUnitsForParent operation.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for an+    -- organizational unit ID string requires \"ou-\" followed by from 4 to 32+    -- lowercase letters or digits (the ID of the root that contains the OU).+    -- This string is followed by a second \"-\" dash and from 8 to 32+    -- additional lowercase letters or digits.+    organizationalUnitId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeOrganizationalUnit' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationalUnitId', 'describeOrganizationalUnit_organizationalUnitId' - The unique identifier (ID) of the organizational unit that you want+-- details about. You can get the ID from the+-- ListOrganizationalUnitsForParent operation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an+-- organizational unit ID string requires \"ou-\" followed by from 4 to 32+-- lowercase letters or digits (the ID of the root that contains the OU).+-- This string is followed by a second \"-\" dash and from 8 to 32+-- additional lowercase letters or digits.+newDescribeOrganizationalUnit ::+  -- | 'organizationalUnitId'+  Prelude.Text ->+  DescribeOrganizationalUnit+newDescribeOrganizationalUnit pOrganizationalUnitId_ =+  DescribeOrganizationalUnit'+    { organizationalUnitId =+        pOrganizationalUnitId_+    }++-- | The unique identifier (ID) of the organizational unit that you want+-- details about. You can get the ID from the+-- ListOrganizationalUnitsForParent operation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an+-- organizational unit ID string requires \"ou-\" followed by from 4 to 32+-- lowercase letters or digits (the ID of the root that contains the OU).+-- This string is followed by a second \"-\" dash and from 8 to 32+-- additional lowercase letters or digits.+describeOrganizationalUnit_organizationalUnitId :: Lens.Lens' DescribeOrganizationalUnit Prelude.Text+describeOrganizationalUnit_organizationalUnitId = Lens.lens (\DescribeOrganizationalUnit' {organizationalUnitId} -> organizationalUnitId) (\s@DescribeOrganizationalUnit' {} a -> s {organizationalUnitId = a} :: DescribeOrganizationalUnit)++instance Core.AWSRequest DescribeOrganizationalUnit where+  type+    AWSResponse DescribeOrganizationalUnit =+      DescribeOrganizationalUnitResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeOrganizationalUnitResponse'+            Prelude.<$> (x Data..?> "OrganizationalUnit")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeOrganizationalUnit where+  hashWithSalt _salt DescribeOrganizationalUnit' {..} =+    _salt `Prelude.hashWithSalt` organizationalUnitId++instance Prelude.NFData DescribeOrganizationalUnit where+  rnf DescribeOrganizationalUnit' {..} =+    Prelude.rnf organizationalUnitId++instance Data.ToHeaders DescribeOrganizationalUnit where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.DescribeOrganizationalUnit" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeOrganizationalUnit where+  toJSON DescribeOrganizationalUnit' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just+              ( "OrganizationalUnitId"+                  Data..= organizationalUnitId+              )+          ]+      )++instance Data.ToPath DescribeOrganizationalUnit where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeOrganizationalUnit where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeOrganizationalUnitResponse' smart constructor.+data DescribeOrganizationalUnitResponse = DescribeOrganizationalUnitResponse'+  { -- | A structure that contains details about the specified OU.+    organizationalUnit :: Prelude.Maybe OrganizationalUnit,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeOrganizationalUnitResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationalUnit', 'describeOrganizationalUnitResponse_organizationalUnit' - A structure that contains details about the specified OU.+--+-- 'httpStatus', 'describeOrganizationalUnitResponse_httpStatus' - The response's http status code.+newDescribeOrganizationalUnitResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeOrganizationalUnitResponse+newDescribeOrganizationalUnitResponse pHttpStatus_ =+  DescribeOrganizationalUnitResponse'+    { organizationalUnit =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains details about the specified OU.+describeOrganizationalUnitResponse_organizationalUnit :: Lens.Lens' DescribeOrganizationalUnitResponse (Prelude.Maybe OrganizationalUnit)+describeOrganizationalUnitResponse_organizationalUnit = Lens.lens (\DescribeOrganizationalUnitResponse' {organizationalUnit} -> organizationalUnit) (\s@DescribeOrganizationalUnitResponse' {} a -> s {organizationalUnit = a} :: DescribeOrganizationalUnitResponse)++-- | The response's http status code.+describeOrganizationalUnitResponse_httpStatus :: Lens.Lens' DescribeOrganizationalUnitResponse Prelude.Int+describeOrganizationalUnitResponse_httpStatus = Lens.lens (\DescribeOrganizationalUnitResponse' {httpStatus} -> httpStatus) (\s@DescribeOrganizationalUnitResponse' {} a -> s {httpStatus = a} :: DescribeOrganizationalUnitResponse)++instance+  Prelude.NFData+    DescribeOrganizationalUnitResponse+  where+  rnf DescribeOrganizationalUnitResponse' {..} =+    Prelude.rnf organizationalUnit+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/DescribePolicy.hs view
@@ -0,0 +1,189 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.DescribePolicy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves information about a policy.+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+module Amazonka.Organizations.DescribePolicy+  ( -- * Creating a Request+    DescribePolicy (..),+    newDescribePolicy,++    -- * Request Lenses+    describePolicy_policyId,++    -- * Destructuring the Response+    DescribePolicyResponse (..),+    newDescribePolicyResponse,++    -- * Response Lenses+    describePolicyResponse_policy,+    describePolicyResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribePolicy' smart constructor.+data DescribePolicy = DescribePolicy'+  { -- | The unique identifier (ID) of the policy that you want details about.+    -- You can get the ID from the ListPolicies or ListPoliciesForTarget+    -- operations.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+    -- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+    -- letters, digits, or the underscore character (_).+    policyId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribePolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'policyId', 'describePolicy_policyId' - The unique identifier (ID) of the policy that you want details about.+-- You can get the ID from the ListPolicies or ListPoliciesForTarget+-- operations.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+-- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+-- letters, digits, or the underscore character (_).+newDescribePolicy ::+  -- | 'policyId'+  Prelude.Text ->+  DescribePolicy+newDescribePolicy pPolicyId_ =+  DescribePolicy' {policyId = pPolicyId_}++-- | The unique identifier (ID) of the policy that you want details about.+-- You can get the ID from the ListPolicies or ListPoliciesForTarget+-- operations.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+-- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+-- letters, digits, or the underscore character (_).+describePolicy_policyId :: Lens.Lens' DescribePolicy Prelude.Text+describePolicy_policyId = Lens.lens (\DescribePolicy' {policyId} -> policyId) (\s@DescribePolicy' {} a -> s {policyId = a} :: DescribePolicy)++instance Core.AWSRequest DescribePolicy where+  type+    AWSResponse DescribePolicy =+      DescribePolicyResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribePolicyResponse'+            Prelude.<$> (x Data..?> "Policy")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribePolicy where+  hashWithSalt _salt DescribePolicy' {..} =+    _salt `Prelude.hashWithSalt` policyId++instance Prelude.NFData DescribePolicy where+  rnf DescribePolicy' {..} = Prelude.rnf policyId++instance Data.ToHeaders DescribePolicy where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.DescribePolicy" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribePolicy where+  toJSON DescribePolicy' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("PolicyId" Data..= policyId)]+      )++instance Data.ToPath DescribePolicy where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribePolicy where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribePolicyResponse' smart constructor.+data DescribePolicyResponse = DescribePolicyResponse'+  { -- | A structure that contains details about the specified policy.+    policy :: Prelude.Maybe Policy,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribePolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'policy', 'describePolicyResponse_policy' - A structure that contains details about the specified policy.+--+-- 'httpStatus', 'describePolicyResponse_httpStatus' - The response's http status code.+newDescribePolicyResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribePolicyResponse+newDescribePolicyResponse pHttpStatus_ =+  DescribePolicyResponse'+    { policy = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains details about the specified policy.+describePolicyResponse_policy :: Lens.Lens' DescribePolicyResponse (Prelude.Maybe Policy)+describePolicyResponse_policy = Lens.lens (\DescribePolicyResponse' {policy} -> policy) (\s@DescribePolicyResponse' {} a -> s {policy = a} :: DescribePolicyResponse)++-- | The response's http status code.+describePolicyResponse_httpStatus :: Lens.Lens' DescribePolicyResponse Prelude.Int+describePolicyResponse_httpStatus = Lens.lens (\DescribePolicyResponse' {httpStatus} -> httpStatus) (\s@DescribePolicyResponse' {} a -> s {httpStatus = a} :: DescribePolicyResponse)++instance Prelude.NFData DescribePolicyResponse where+  rnf DescribePolicyResponse' {..} =+    Prelude.rnf policy+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/DescribeResourcePolicy.hs view
@@ -0,0 +1,155 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.DescribeResourcePolicy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves information about a resource policy.+--+-- You can only call this operation from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- AWS service.+module Amazonka.Organizations.DescribeResourcePolicy+  ( -- * Creating a Request+    DescribeResourcePolicy (..),+    newDescribeResourcePolicy,++    -- * Destructuring the Response+    DescribeResourcePolicyResponse (..),+    newDescribeResourcePolicyResponse,++    -- * Response Lenses+    describeResourcePolicyResponse_resourcePolicy,+    describeResourcePolicyResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeResourcePolicy' smart constructor.+data DescribeResourcePolicy = DescribeResourcePolicy'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeResourcePolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDescribeResourcePolicy ::+  DescribeResourcePolicy+newDescribeResourcePolicy = DescribeResourcePolicy'++instance Core.AWSRequest DescribeResourcePolicy where+  type+    AWSResponse DescribeResourcePolicy =+      DescribeResourcePolicyResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeResourcePolicyResponse'+            Prelude.<$> (x Data..?> "ResourcePolicy")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeResourcePolicy where+  hashWithSalt _salt _ =+    _salt `Prelude.hashWithSalt` ()++instance Prelude.NFData DescribeResourcePolicy where+  rnf _ = ()++instance Data.ToHeaders DescribeResourcePolicy where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.DescribeResourcePolicy" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeResourcePolicy where+  toJSON = Prelude.const (Data.Object Prelude.mempty)++instance Data.ToPath DescribeResourcePolicy where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeResourcePolicy where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeResourcePolicyResponse' smart constructor.+data DescribeResourcePolicyResponse = DescribeResourcePolicyResponse'+  { -- | A structure that contains details about the resource policy.+    resourcePolicy :: Prelude.Maybe ResourcePolicy,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeResourcePolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourcePolicy', 'describeResourcePolicyResponse_resourcePolicy' - A structure that contains details about the resource policy.+--+-- 'httpStatus', 'describeResourcePolicyResponse_httpStatus' - The response's http status code.+newDescribeResourcePolicyResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeResourcePolicyResponse+newDescribeResourcePolicyResponse pHttpStatus_ =+  DescribeResourcePolicyResponse'+    { resourcePolicy =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains details about the resource policy.+describeResourcePolicyResponse_resourcePolicy :: Lens.Lens' DescribeResourcePolicyResponse (Prelude.Maybe ResourcePolicy)+describeResourcePolicyResponse_resourcePolicy = Lens.lens (\DescribeResourcePolicyResponse' {resourcePolicy} -> resourcePolicy) (\s@DescribeResourcePolicyResponse' {} a -> s {resourcePolicy = a} :: DescribeResourcePolicyResponse)++-- | The response's http status code.+describeResourcePolicyResponse_httpStatus :: Lens.Lens' DescribeResourcePolicyResponse Prelude.Int+describeResourcePolicyResponse_httpStatus = Lens.lens (\DescribeResourcePolicyResponse' {httpStatus} -> httpStatus) (\s@DescribeResourcePolicyResponse' {} a -> s {httpStatus = a} :: DescribeResourcePolicyResponse)++instance+  Prelude.NFData+    DescribeResourcePolicyResponse+  where+  rnf DescribeResourcePolicyResponse' {..} =+    Prelude.rnf resourcePolicy+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/DetachPolicy.hs view
@@ -0,0 +1,229 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.DetachPolicy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Detaches a policy from a target root, organizational unit (OU), or+-- account.+--+-- If the policy being detached is a service control policy (SCP), the+-- changes to permissions for Identity and Access Management (IAM) users+-- and roles in affected accounts are immediate.+--+-- Every root, OU, and account must have at least one SCP attached. If you+-- want to replace the default @FullAWSAccess@ policy with an SCP that+-- limits the permissions that can be delegated, you must attach the+-- replacement SCP before you can remove the default SCP. This is the+-- authorization strategy of an+-- \"<https://docs.aws.amazon.com/organizations/latest/userguide/SCP_strategies.html#orgs_policies_allowlist allow list>\".+-- If you instead attach a second SCP and leave the @FullAWSAccess@ SCP+-- still attached, and specify @\"Effect\": \"Deny\"@ in the second SCP to+-- override the @\"Effect\": \"Allow\"@ in the @FullAWSAccess@ policy (or+-- any other attached SCP), you\'re using the authorization strategy of a+-- \"<https://docs.aws.amazon.com/organizations/latest/userguide/SCP_strategies.html#orgs_policies_denylist deny list>\".+--+-- This operation can be called only from the organization\'s management+-- account.+module Amazonka.Organizations.DetachPolicy+  ( -- * Creating a Request+    DetachPolicy (..),+    newDetachPolicy,++    -- * Request Lenses+    detachPolicy_policyId,+    detachPolicy_targetId,++    -- * Destructuring the Response+    DetachPolicyResponse (..),+    newDetachPolicyResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDetachPolicy' smart constructor.+data DetachPolicy = DetachPolicy'+  { -- | The unique identifier (ID) of the policy you want to detach. You can get+    -- the ID from the ListPolicies or ListPoliciesForTarget operations.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+    -- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+    -- letters, digits, or the underscore character (_).+    policyId :: Prelude.Text,+    -- | The unique identifier (ID) of the root, OU, or account that you want to+    -- detach the policy from. You can get the ID from the ListRoots,+    -- ListOrganizationalUnitsForParent, or ListAccounts operations.+    --+    -- The <http://wikipedia.org/wiki/regex 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+    --     lowercase letters or digits.+    --+    -- -   __Account__ - A string that consists of exactly 12 digits.+    --+    -- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+    --     followed by from 4 to 32 lowercase letters or digits (the ID of the+    --     root that the OU is in). This string is followed by a second \"-\"+    --     dash and from 8 to 32 additional lowercase letters or digits.+    targetId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DetachPolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'policyId', 'detachPolicy_policyId' - The unique identifier (ID) of the policy you want to detach. You can get+-- the ID from the ListPolicies or ListPoliciesForTarget operations.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+-- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+-- letters, digits, or the underscore character (_).+--+-- 'targetId', 'detachPolicy_targetId' - The unique identifier (ID) of the root, OU, or account that you want to+-- detach the policy from. You can get the ID from the ListRoots,+-- ListOrganizationalUnitsForParent, or ListAccounts operations.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Account__ - A string that consists of exactly 12 digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+newDetachPolicy ::+  -- | 'policyId'+  Prelude.Text ->+  -- | 'targetId'+  Prelude.Text ->+  DetachPolicy+newDetachPolicy pPolicyId_ pTargetId_ =+  DetachPolicy'+    { policyId = pPolicyId_,+      targetId = pTargetId_+    }++-- | The unique identifier (ID) of the policy you want to detach. You can get+-- the ID from the ListPolicies or ListPoliciesForTarget operations.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+-- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+-- letters, digits, or the underscore character (_).+detachPolicy_policyId :: Lens.Lens' DetachPolicy Prelude.Text+detachPolicy_policyId = Lens.lens (\DetachPolicy' {policyId} -> policyId) (\s@DetachPolicy' {} a -> s {policyId = a} :: DetachPolicy)++-- | The unique identifier (ID) of the root, OU, or account that you want to+-- detach the policy from. You can get the ID from the ListRoots,+-- ListOrganizationalUnitsForParent, or ListAccounts operations.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Account__ - A string that consists of exactly 12 digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+detachPolicy_targetId :: Lens.Lens' DetachPolicy Prelude.Text+detachPolicy_targetId = Lens.lens (\DetachPolicy' {targetId} -> targetId) (\s@DetachPolicy' {} a -> s {targetId = a} :: DetachPolicy)++instance Core.AWSRequest DetachPolicy where+  type AWSResponse DetachPolicy = DetachPolicyResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response = Response.receiveNull DetachPolicyResponse'++instance Prelude.Hashable DetachPolicy where+  hashWithSalt _salt DetachPolicy' {..} =+    _salt+      `Prelude.hashWithSalt` policyId+      `Prelude.hashWithSalt` targetId++instance Prelude.NFData DetachPolicy where+  rnf DetachPolicy' {..} =+    Prelude.rnf policyId+      `Prelude.seq` Prelude.rnf targetId++instance Data.ToHeaders DetachPolicy where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.DetachPolicy" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DetachPolicy where+  toJSON DetachPolicy' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("PolicyId" Data..= policyId),+            Prelude.Just ("TargetId" Data..= targetId)+          ]+      )++instance Data.ToPath DetachPolicy where+  toPath = Prelude.const "/"++instance Data.ToQuery DetachPolicy where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDetachPolicyResponse' smart constructor.+data DetachPolicyResponse = DetachPolicyResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DetachPolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDetachPolicyResponse ::+  DetachPolicyResponse+newDetachPolicyResponse = DetachPolicyResponse'++instance Prelude.NFData DetachPolicyResponse where+  rnf _ = ()
+ gen/Amazonka/Organizations/DisableAWSServiceAccess.hs view
@@ -0,0 +1,215 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.DisableAWSServiceAccess+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Disables the integration of an Amazon Web Services service (the service+-- that is specified by @ServicePrincipal@) with Organizations. When you+-- disable integration, the specified service no longer can create a+-- <https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html service-linked role>+-- in /new/ accounts in your organization. This means the service can\'t+-- perform operations on your behalf on any new accounts in your+-- organization. The service can still perform operations in older accounts+-- until the service completes its clean-up from Organizations.+--+-- We __/strongly recommend/__ that you don\'t use this command to disable+-- integration between Organizations and the specified Amazon Web Services+-- service. Instead, use the console or commands that are provided by the+-- specified service. This lets the trusted service perform any required+-- initialization when enabling trusted access, such as creating any+-- required resources and any required clean up of resources when disabling+-- trusted access.+--+-- For information about how to disable trusted service access to your+-- organization using the trusted service, see the __Learn more__ link+-- under the __Supports Trusted Access__ column at+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services_list.html Amazon Web Services services that you can use with Organizations>.+-- on this page.+--+-- If you disable access by using this command, it causes the following+-- actions to occur:+--+-- -   The service can no longer create a service-linked role in the+--     accounts in your organization. This means that the service can\'t+--     perform operations on your behalf on any new accounts in your+--     organization. The service can still perform operations in older+--     accounts until the service completes its clean-up from+--     Organizations.+--+-- -   The service can no longer perform tasks in the member accounts in+--     the organization, unless those operations are explicitly permitted+--     by the IAM policies that are attached to your roles. This includes+--     any data aggregation from the member accounts to the management+--     account, or to a delegated administrator account, where relevant.+--+-- -   Some services detect this and clean up any remaining data or+--     resources related to the integration, while other services stop+--     accessing the organization but leave any historical data and+--     configuration in place to support a possible re-enabling of the+--     integration.+--+-- Using the other service\'s console or commands to disable the+-- integration ensures that the other service is aware that it can clean up+-- any resources that are required only for the integration. How the+-- service cleans up its resources in the organization\'s accounts depends+-- on that service. For more information, see the documentation for the+-- other Amazon Web Services service.+--+-- After you perform the @DisableAWSServiceAccess@ operation, the specified+-- service can no longer perform operations in your organization\'s+-- accounts+--+-- For more information about integrating other services with+-- Organizations, including the list of services that work with+-- Organizations, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html Integrating Organizations with Other Amazon Web Services Services>+-- in the /Organizations User Guide./+--+-- This operation can be called only from the organization\'s management+-- account.+module Amazonka.Organizations.DisableAWSServiceAccess+  ( -- * Creating a Request+    DisableAWSServiceAccess (..),+    newDisableAWSServiceAccess,++    -- * Request Lenses+    disableAWSServiceAccess_servicePrincipal,++    -- * Destructuring the Response+    DisableAWSServiceAccessResponse (..),+    newDisableAWSServiceAccessResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDisableAWSServiceAccess' smart constructor.+data DisableAWSServiceAccess = DisableAWSServiceAccess'+  { -- | The service principal name of the Amazon Web Services service for which+    -- you want to disable integration with your organization. This is+    -- typically in the form of a URL, such as+    -- @ @/@service-abbreviation@/@.amazonaws.com@.+    servicePrincipal :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DisableAWSServiceAccess' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'servicePrincipal', 'disableAWSServiceAccess_servicePrincipal' - The service principal name of the Amazon Web Services service for which+-- you want to disable integration with your organization. This is+-- typically in the form of a URL, such as+-- @ @/@service-abbreviation@/@.amazonaws.com@.+newDisableAWSServiceAccess ::+  -- | 'servicePrincipal'+  Prelude.Text ->+  DisableAWSServiceAccess+newDisableAWSServiceAccess pServicePrincipal_ =+  DisableAWSServiceAccess'+    { servicePrincipal =+        pServicePrincipal_+    }++-- | The service principal name of the Amazon Web Services service for which+-- you want to disable integration with your organization. This is+-- typically in the form of a URL, such as+-- @ @/@service-abbreviation@/@.amazonaws.com@.+disableAWSServiceAccess_servicePrincipal :: Lens.Lens' DisableAWSServiceAccess Prelude.Text+disableAWSServiceAccess_servicePrincipal = Lens.lens (\DisableAWSServiceAccess' {servicePrincipal} -> servicePrincipal) (\s@DisableAWSServiceAccess' {} a -> s {servicePrincipal = a} :: DisableAWSServiceAccess)++instance Core.AWSRequest DisableAWSServiceAccess where+  type+    AWSResponse DisableAWSServiceAccess =+      DisableAWSServiceAccessResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveNull+      DisableAWSServiceAccessResponse'++instance Prelude.Hashable DisableAWSServiceAccess where+  hashWithSalt _salt DisableAWSServiceAccess' {..} =+    _salt `Prelude.hashWithSalt` servicePrincipal++instance Prelude.NFData DisableAWSServiceAccess where+  rnf DisableAWSServiceAccess' {..} =+    Prelude.rnf servicePrincipal++instance Data.ToHeaders DisableAWSServiceAccess where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.DisableAWSServiceAccess" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DisableAWSServiceAccess where+  toJSON DisableAWSServiceAccess' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just+              ("ServicePrincipal" Data..= servicePrincipal)+          ]+      )++instance Data.ToPath DisableAWSServiceAccess where+  toPath = Prelude.const "/"++instance Data.ToQuery DisableAWSServiceAccess where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDisableAWSServiceAccessResponse' smart constructor.+data DisableAWSServiceAccessResponse = DisableAWSServiceAccessResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DisableAWSServiceAccessResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDisableAWSServiceAccessResponse ::+  DisableAWSServiceAccessResponse+newDisableAWSServiceAccessResponse =+  DisableAWSServiceAccessResponse'++instance+  Prelude.NFData+    DisableAWSServiceAccessResponse+  where+  rnf _ = ()
+ gen/Amazonka/Organizations/DisablePolicyType.hs view
@@ -0,0 +1,248 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.DisablePolicyType+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Disables an organizational policy type in a root. A policy of a certain+-- type can be attached to entities in a root only if that type is enabled+-- in the root. After you perform this operation, you no longer can attach+-- policies of the specified type to that root or to any organizational+-- unit (OU) or account in that root. You can undo this by using the+-- EnablePolicyType operation.+--+-- This is an asynchronous request that Amazon Web Services performs in the+-- background. If you disable a policy type for a root, it still appears+-- enabled for the organization if+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html all features>+-- are enabled for the organization. Amazon Web Services recommends that+-- you first use ListRoots to see the status of policy types for a+-- specified root, and then use this operation.+--+-- This operation can be called only from the organization\'s management+-- account.+--+-- To view the status of available policy types in the organization, use+-- DescribeOrganization.+module Amazonka.Organizations.DisablePolicyType+  ( -- * Creating a Request+    DisablePolicyType (..),+    newDisablePolicyType,++    -- * Request Lenses+    disablePolicyType_rootId,+    disablePolicyType_policyType,++    -- * Destructuring the Response+    DisablePolicyTypeResponse (..),+    newDisablePolicyTypeResponse,++    -- * Response Lenses+    disablePolicyTypeResponse_root,+    disablePolicyTypeResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDisablePolicyType' smart constructor.+data DisablePolicyType = DisablePolicyType'+  { -- | The unique identifier (ID) of the root in which you want to disable a+    -- policy type. You can get the ID from the ListRoots operation.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for a root ID string+    -- requires \"r-\" followed by from 4 to 32 lowercase letters or digits.+    rootId :: Prelude.Text,+    -- | The policy type that you want to disable in this root. You can specify+    -- one of the following values:+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html SERVICE_CONTROL_POLICY>+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+    policyType :: PolicyType+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DisablePolicyType' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'rootId', 'disablePolicyType_rootId' - The unique identifier (ID) of the root in which you want to disable a+-- policy type. You can get the ID from the ListRoots operation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a root ID string+-- requires \"r-\" followed by from 4 to 32 lowercase letters or digits.+--+-- 'policyType', 'disablePolicyType_policyType' - The policy type that you want to disable in this root. You can specify+-- one of the following values:+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html SERVICE_CONTROL_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+newDisablePolicyType ::+  -- | 'rootId'+  Prelude.Text ->+  -- | 'policyType'+  PolicyType ->+  DisablePolicyType+newDisablePolicyType pRootId_ pPolicyType_ =+  DisablePolicyType'+    { rootId = pRootId_,+      policyType = pPolicyType_+    }++-- | The unique identifier (ID) of the root in which you want to disable a+-- policy type. You can get the ID from the ListRoots operation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a root ID string+-- requires \"r-\" followed by from 4 to 32 lowercase letters or digits.+disablePolicyType_rootId :: Lens.Lens' DisablePolicyType Prelude.Text+disablePolicyType_rootId = Lens.lens (\DisablePolicyType' {rootId} -> rootId) (\s@DisablePolicyType' {} a -> s {rootId = a} :: DisablePolicyType)++-- | The policy type that you want to disable in this root. You can specify+-- one of the following values:+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html SERVICE_CONTROL_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+disablePolicyType_policyType :: Lens.Lens' DisablePolicyType PolicyType+disablePolicyType_policyType = Lens.lens (\DisablePolicyType' {policyType} -> policyType) (\s@DisablePolicyType' {} a -> s {policyType = a} :: DisablePolicyType)++instance Core.AWSRequest DisablePolicyType where+  type+    AWSResponse DisablePolicyType =+      DisablePolicyTypeResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DisablePolicyTypeResponse'+            Prelude.<$> (x Data..?> "Root")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DisablePolicyType where+  hashWithSalt _salt DisablePolicyType' {..} =+    _salt+      `Prelude.hashWithSalt` rootId+      `Prelude.hashWithSalt` policyType++instance Prelude.NFData DisablePolicyType where+  rnf DisablePolicyType' {..} =+    Prelude.rnf rootId+      `Prelude.seq` Prelude.rnf policyType++instance Data.ToHeaders DisablePolicyType where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.DisablePolicyType" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DisablePolicyType where+  toJSON DisablePolicyType' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("RootId" Data..= rootId),+            Prelude.Just ("PolicyType" Data..= policyType)+          ]+      )++instance Data.ToPath DisablePolicyType where+  toPath = Prelude.const "/"++instance Data.ToQuery DisablePolicyType where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDisablePolicyTypeResponse' smart constructor.+data DisablePolicyTypeResponse = DisablePolicyTypeResponse'+  { -- | A structure that shows the root with the updated list of enabled policy+    -- types.+    root :: Prelude.Maybe Root,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DisablePolicyTypeResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'root', 'disablePolicyTypeResponse_root' - A structure that shows the root with the updated list of enabled policy+-- types.+--+-- 'httpStatus', 'disablePolicyTypeResponse_httpStatus' - The response's http status code.+newDisablePolicyTypeResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DisablePolicyTypeResponse+newDisablePolicyTypeResponse pHttpStatus_ =+  DisablePolicyTypeResponse'+    { root = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that shows the root with the updated list of enabled policy+-- types.+disablePolicyTypeResponse_root :: Lens.Lens' DisablePolicyTypeResponse (Prelude.Maybe Root)+disablePolicyTypeResponse_root = Lens.lens (\DisablePolicyTypeResponse' {root} -> root) (\s@DisablePolicyTypeResponse' {} a -> s {root = a} :: DisablePolicyTypeResponse)++-- | The response's http status code.+disablePolicyTypeResponse_httpStatus :: Lens.Lens' DisablePolicyTypeResponse Prelude.Int+disablePolicyTypeResponse_httpStatus = Lens.lens (\DisablePolicyTypeResponse' {httpStatus} -> httpStatus) (\s@DisablePolicyTypeResponse' {} a -> s {httpStatus = a} :: DisablePolicyTypeResponse)++instance Prelude.NFData DisablePolicyTypeResponse where+  rnf DisablePolicyTypeResponse' {..} =+    Prelude.rnf root+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/EnableAWSServiceAccess.hs view
@@ -0,0 +1,174 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.EnableAWSServiceAccess+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Enables the integration of an Amazon Web Services service (the service+-- that is specified by @ServicePrincipal@) with Organizations. When you+-- enable integration, you allow the specified service to create a+-- <https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html service-linked role>+-- in all the accounts in your organization. This allows the service to+-- perform operations on your behalf in your organization and its accounts.+--+-- We recommend that you enable integration between Organizations and the+-- specified Amazon Web Services service by using the console or commands+-- that are provided by the specified service. Doing so ensures that the+-- service is aware that it can create the resources that are required for+-- the integration. How the service creates those resources in the+-- organization\'s accounts depends on that service. For more information,+-- see the documentation for the other Amazon Web Services service.+--+-- For more information about enabling services to integrate with+-- Organizations, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html Integrating Organizations with Other Amazon Web Services Services>+-- in the /Organizations User Guide./+--+-- You can only call this operation from the organization\'s management+-- account and only if the organization has+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html enabled all features>.+module Amazonka.Organizations.EnableAWSServiceAccess+  ( -- * Creating a Request+    EnableAWSServiceAccess (..),+    newEnableAWSServiceAccess,++    -- * Request Lenses+    enableAWSServiceAccess_servicePrincipal,++    -- * Destructuring the Response+    EnableAWSServiceAccessResponse (..),+    newEnableAWSServiceAccessResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newEnableAWSServiceAccess' smart constructor.+data EnableAWSServiceAccess = EnableAWSServiceAccess'+  { -- | The service principal name of the Amazon Web Services service for which+    -- you want to enable integration with your organization. This is typically+    -- in the form of a URL, such as+    -- @ @/@service-abbreviation@/@.amazonaws.com@.+    servicePrincipal :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EnableAWSServiceAccess' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'servicePrincipal', 'enableAWSServiceAccess_servicePrincipal' - The service principal name of the Amazon Web Services service for which+-- you want to enable integration with your organization. This is typically+-- in the form of a URL, such as+-- @ @/@service-abbreviation@/@.amazonaws.com@.+newEnableAWSServiceAccess ::+  -- | 'servicePrincipal'+  Prelude.Text ->+  EnableAWSServiceAccess+newEnableAWSServiceAccess pServicePrincipal_ =+  EnableAWSServiceAccess'+    { servicePrincipal =+        pServicePrincipal_+    }++-- | The service principal name of the Amazon Web Services service for which+-- you want to enable integration with your organization. This is typically+-- in the form of a URL, such as+-- @ @/@service-abbreviation@/@.amazonaws.com@.+enableAWSServiceAccess_servicePrincipal :: Lens.Lens' EnableAWSServiceAccess Prelude.Text+enableAWSServiceAccess_servicePrincipal = Lens.lens (\EnableAWSServiceAccess' {servicePrincipal} -> servicePrincipal) (\s@EnableAWSServiceAccess' {} a -> s {servicePrincipal = a} :: EnableAWSServiceAccess)++instance Core.AWSRequest EnableAWSServiceAccess where+  type+    AWSResponse EnableAWSServiceAccess =+      EnableAWSServiceAccessResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveNull+      EnableAWSServiceAccessResponse'++instance Prelude.Hashable EnableAWSServiceAccess where+  hashWithSalt _salt EnableAWSServiceAccess' {..} =+    _salt `Prelude.hashWithSalt` servicePrincipal++instance Prelude.NFData EnableAWSServiceAccess where+  rnf EnableAWSServiceAccess' {..} =+    Prelude.rnf servicePrincipal++instance Data.ToHeaders EnableAWSServiceAccess where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.EnableAWSServiceAccess" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON EnableAWSServiceAccess where+  toJSON EnableAWSServiceAccess' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just+              ("ServicePrincipal" Data..= servicePrincipal)+          ]+      )++instance Data.ToPath EnableAWSServiceAccess where+  toPath = Prelude.const "/"++instance Data.ToQuery EnableAWSServiceAccess where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newEnableAWSServiceAccessResponse' smart constructor.+data EnableAWSServiceAccessResponse = EnableAWSServiceAccessResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EnableAWSServiceAccessResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newEnableAWSServiceAccessResponse ::+  EnableAWSServiceAccessResponse+newEnableAWSServiceAccessResponse =+  EnableAWSServiceAccessResponse'++instance+  Prelude.NFData+    EnableAWSServiceAccessResponse+  where+  rnf _ = ()
+ gen/Amazonka/Organizations/EnableAllFeatures.hs view
@@ -0,0 +1,184 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.EnableAllFeatures+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Enables all features in an organization. This enables the use of+-- organization policies that can restrict the services and actions that+-- can be called in each account. Until you enable all features, you have+-- access only to consolidated billing, and you can\'t use any of the+-- advanced account administration features that Organizations supports.+-- For more information, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html Enabling All Features in Your Organization>+-- in the /Organizations User Guide./+--+-- This operation is required only for organizations that were created+-- explicitly with only the consolidated billing features enabled. Calling+-- this operation sends a handshake to every invited account in the+-- organization. The feature set change can be finalized and the additional+-- features enabled only after all administrators in the invited accounts+-- approve the change by accepting the handshake.+--+-- After you enable all features, you can separately enable or disable+-- individual policy types in a root using EnablePolicyType and+-- DisablePolicyType. To see the status of policy types in a root, use+-- ListRoots.+--+-- After all invited member accounts accept the handshake, you finalize the+-- feature set change by accepting the handshake that contains+-- @\"Action\": \"ENABLE_ALL_FEATURES\"@. This completes the change.+--+-- After you enable all features in your organization, the management+-- account in the organization can apply policies on all member accounts.+-- These policies can restrict what users and even administrators in those+-- accounts can do. The management account can apply policies that prevent+-- accounts from leaving the organization. Ensure that your account+-- administrators are aware of this.+--+-- This operation can be called only from the organization\'s management+-- account.+module Amazonka.Organizations.EnableAllFeatures+  ( -- * Creating a Request+    EnableAllFeatures (..),+    newEnableAllFeatures,++    -- * Destructuring the Response+    EnableAllFeaturesResponse (..),+    newEnableAllFeaturesResponse,++    -- * Response Lenses+    enableAllFeaturesResponse_handshake,+    enableAllFeaturesResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newEnableAllFeatures' smart constructor.+data EnableAllFeatures = EnableAllFeatures'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EnableAllFeatures' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newEnableAllFeatures ::+  EnableAllFeatures+newEnableAllFeatures = EnableAllFeatures'++instance Core.AWSRequest EnableAllFeatures where+  type+    AWSResponse EnableAllFeatures =+      EnableAllFeaturesResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          EnableAllFeaturesResponse'+            Prelude.<$> (x Data..?> "Handshake")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable EnableAllFeatures where+  hashWithSalt _salt _ =+    _salt `Prelude.hashWithSalt` ()++instance Prelude.NFData EnableAllFeatures where+  rnf _ = ()++instance Data.ToHeaders EnableAllFeatures where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.EnableAllFeatures" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON EnableAllFeatures where+  toJSON = Prelude.const (Data.Object Prelude.mempty)++instance Data.ToPath EnableAllFeatures where+  toPath = Prelude.const "/"++instance Data.ToQuery EnableAllFeatures where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newEnableAllFeaturesResponse' smart constructor.+data EnableAllFeaturesResponse = EnableAllFeaturesResponse'+  { -- | A structure that contains details about the handshake created to support+    -- this request to enable all features in the organization.+    handshake :: Prelude.Maybe Handshake,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EnableAllFeaturesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'handshake', 'enableAllFeaturesResponse_handshake' - A structure that contains details about the handshake created to support+-- this request to enable all features in the organization.+--+-- 'httpStatus', 'enableAllFeaturesResponse_httpStatus' - The response's http status code.+newEnableAllFeaturesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  EnableAllFeaturesResponse+newEnableAllFeaturesResponse pHttpStatus_ =+  EnableAllFeaturesResponse'+    { handshake =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains details about the handshake created to support+-- this request to enable all features in the organization.+enableAllFeaturesResponse_handshake :: Lens.Lens' EnableAllFeaturesResponse (Prelude.Maybe Handshake)+enableAllFeaturesResponse_handshake = Lens.lens (\EnableAllFeaturesResponse' {handshake} -> handshake) (\s@EnableAllFeaturesResponse' {} a -> s {handshake = a} :: EnableAllFeaturesResponse)++-- | The response's http status code.+enableAllFeaturesResponse_httpStatus :: Lens.Lens' EnableAllFeaturesResponse Prelude.Int+enableAllFeaturesResponse_httpStatus = Lens.lens (\EnableAllFeaturesResponse' {httpStatus} -> httpStatus) (\s@EnableAllFeaturesResponse' {} a -> s {httpStatus = a} :: EnableAllFeaturesResponse)++instance Prelude.NFData EnableAllFeaturesResponse where+  rnf EnableAllFeaturesResponse' {..} =+    Prelude.rnf handshake+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/EnablePolicyType.hs view
@@ -0,0 +1,244 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.EnablePolicyType+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Enables a policy type in a root. After you enable a policy type in a+-- root, you can attach policies of that type to the root, any+-- organizational unit (OU), or account in that root. You can undo this by+-- using the DisablePolicyType operation.+--+-- This is an asynchronous request that Amazon Web Services performs in the+-- background. Amazon Web Services recommends that you first use ListRoots+-- to see the status of policy types for a specified root, and then use+-- this operation.+--+-- This operation can be called only from the organization\'s management+-- account.+--+-- You can enable a policy type in a root only if that policy type is+-- available in the organization. To view the status of available policy+-- types in the organization, use DescribeOrganization.+module Amazonka.Organizations.EnablePolicyType+  ( -- * Creating a Request+    EnablePolicyType (..),+    newEnablePolicyType,++    -- * Request Lenses+    enablePolicyType_rootId,+    enablePolicyType_policyType,++    -- * Destructuring the Response+    EnablePolicyTypeResponse (..),+    newEnablePolicyTypeResponse,++    -- * Response Lenses+    enablePolicyTypeResponse_root,+    enablePolicyTypeResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newEnablePolicyType' smart constructor.+data EnablePolicyType = EnablePolicyType'+  { -- | The unique identifier (ID) of the root in which you want to enable a+    -- policy type. You can get the ID from the ListRoots operation.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for a root ID string+    -- requires \"r-\" followed by from 4 to 32 lowercase letters or digits.+    rootId :: Prelude.Text,+    -- | The policy type that you want to enable. You can specify one of the+    -- following values:+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html SERVICE_CONTROL_POLICY>+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+    policyType :: PolicyType+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EnablePolicyType' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'rootId', 'enablePolicyType_rootId' - The unique identifier (ID) of the root in which you want to enable a+-- policy type. You can get the ID from the ListRoots operation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a root ID string+-- requires \"r-\" followed by from 4 to 32 lowercase letters or digits.+--+-- 'policyType', 'enablePolicyType_policyType' - The policy type that you want to enable. You can specify one of the+-- following values:+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html SERVICE_CONTROL_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+newEnablePolicyType ::+  -- | 'rootId'+  Prelude.Text ->+  -- | 'policyType'+  PolicyType ->+  EnablePolicyType+newEnablePolicyType pRootId_ pPolicyType_ =+  EnablePolicyType'+    { rootId = pRootId_,+      policyType = pPolicyType_+    }++-- | The unique identifier (ID) of the root in which you want to enable a+-- policy type. You can get the ID from the ListRoots operation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a root ID string+-- requires \"r-\" followed by from 4 to 32 lowercase letters or digits.+enablePolicyType_rootId :: Lens.Lens' EnablePolicyType Prelude.Text+enablePolicyType_rootId = Lens.lens (\EnablePolicyType' {rootId} -> rootId) (\s@EnablePolicyType' {} a -> s {rootId = a} :: EnablePolicyType)++-- | The policy type that you want to enable. You can specify one of the+-- following values:+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html SERVICE_CONTROL_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+enablePolicyType_policyType :: Lens.Lens' EnablePolicyType PolicyType+enablePolicyType_policyType = Lens.lens (\EnablePolicyType' {policyType} -> policyType) (\s@EnablePolicyType' {} a -> s {policyType = a} :: EnablePolicyType)++instance Core.AWSRequest EnablePolicyType where+  type+    AWSResponse EnablePolicyType =+      EnablePolicyTypeResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          EnablePolicyTypeResponse'+            Prelude.<$> (x Data..?> "Root")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable EnablePolicyType where+  hashWithSalt _salt EnablePolicyType' {..} =+    _salt+      `Prelude.hashWithSalt` rootId+      `Prelude.hashWithSalt` policyType++instance Prelude.NFData EnablePolicyType where+  rnf EnablePolicyType' {..} =+    Prelude.rnf rootId+      `Prelude.seq` Prelude.rnf policyType++instance Data.ToHeaders EnablePolicyType where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.EnablePolicyType" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON EnablePolicyType where+  toJSON EnablePolicyType' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("RootId" Data..= rootId),+            Prelude.Just ("PolicyType" Data..= policyType)+          ]+      )++instance Data.ToPath EnablePolicyType where+  toPath = Prelude.const "/"++instance Data.ToQuery EnablePolicyType where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newEnablePolicyTypeResponse' smart constructor.+data EnablePolicyTypeResponse = EnablePolicyTypeResponse'+  { -- | A structure that shows the root with the updated list of enabled policy+    -- types.+    root :: Prelude.Maybe Root,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EnablePolicyTypeResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'root', 'enablePolicyTypeResponse_root' - A structure that shows the root with the updated list of enabled policy+-- types.+--+-- 'httpStatus', 'enablePolicyTypeResponse_httpStatus' - The response's http status code.+newEnablePolicyTypeResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  EnablePolicyTypeResponse+newEnablePolicyTypeResponse pHttpStatus_ =+  EnablePolicyTypeResponse'+    { root = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that shows the root with the updated list of enabled policy+-- types.+enablePolicyTypeResponse_root :: Lens.Lens' EnablePolicyTypeResponse (Prelude.Maybe Root)+enablePolicyTypeResponse_root = Lens.lens (\EnablePolicyTypeResponse' {root} -> root) (\s@EnablePolicyTypeResponse' {} a -> s {root = a} :: EnablePolicyTypeResponse)++-- | The response's http status code.+enablePolicyTypeResponse_httpStatus :: Lens.Lens' EnablePolicyTypeResponse Prelude.Int+enablePolicyTypeResponse_httpStatus = Lens.lens (\EnablePolicyTypeResponse' {httpStatus} -> httpStatus) (\s@EnablePolicyTypeResponse' {} a -> s {httpStatus = a} :: EnablePolicyTypeResponse)++instance Prelude.NFData EnablePolicyTypeResponse where+  rnf EnablePolicyTypeResponse' {..} =+    Prelude.rnf root+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/InviteAccountToOrganization.hs view
@@ -0,0 +1,336 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.InviteAccountToOrganization+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Sends an invitation to another account to join your organization as a+-- member account. Organizations sends email on your behalf to the email+-- address that is associated with the other account\'s owner. The+-- invitation is implemented as a Handshake whose details are in the+-- response.+--+-- -   You can invite Amazon Web Services accounts only from the same+--     seller as the management account. For example, if your+--     organization\'s management account was created by Amazon Internet+--     Services Pvt. Ltd (AISPL), an Amazon Web Services seller in India,+--     you can invite only other AISPL accounts to your organization. You+--     can\'t combine accounts from AISPL and Amazon Web Services or from+--     any other Amazon Web Services seller. For more information, see+--     <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/useconsolidatedbilliing-India.html Consolidated Billing in India>.+--+-- -   If you receive an exception that indicates that you exceeded your+--     account limits for the organization or that the operation failed+--     because your organization is still initializing, wait one hour and+--     then try again. If the error persists after an hour, contact+--     <https://console.aws.amazon.com/support/home#/ Amazon Web Services Support>.+--+-- If the request includes tags, then the requester must have the+-- @organizations:TagResource@ permission.+--+-- This operation can be called only from the organization\'s management+-- account.+module Amazonka.Organizations.InviteAccountToOrganization+  ( -- * Creating a Request+    InviteAccountToOrganization (..),+    newInviteAccountToOrganization,++    -- * Request Lenses+    inviteAccountToOrganization_notes,+    inviteAccountToOrganization_tags,+    inviteAccountToOrganization_target,++    -- * Destructuring the Response+    InviteAccountToOrganizationResponse (..),+    newInviteAccountToOrganizationResponse,++    -- * Response Lenses+    inviteAccountToOrganizationResponse_handshake,+    inviteAccountToOrganizationResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newInviteAccountToOrganization' smart constructor.+data InviteAccountToOrganization = InviteAccountToOrganization'+  { -- | Additional information that you want to include in the generated email+    -- to the recipient account owner.+    notes :: Prelude.Maybe (Data.Sensitive Prelude.Text),+    -- | A list of tags that you want to attach to the account when it becomes a+    -- member of the organization. For each tag in the list, you must specify+    -- both a tag key and a value. You can set the value to an empty string,+    -- but you can\'t set it to @null@. For more information about tagging, see+    -- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html Tagging Organizations resources>+    -- in the Organizations User Guide.+    --+    -- Any tags in the request are checked for compliance with any applicable+    -- tag policies when the request is made. The request is rejected if the+    -- tags in the request don\'t match the requirements of the policy at that+    -- time. Tag policy compliance is /__not__/ checked again when the+    -- invitation is accepted and the tags are actually attached to the+    -- account. That means that if the tag policy changes between the+    -- invitation and the acceptance, then that tags could potentially be+    -- non-compliant.+    --+    -- If any one of the tags is invalid or if you exceed the allowed number of+    -- tags for an account, then the entire request fails and invitations are+    -- not sent.+    tags :: Prelude.Maybe [Tag],+    -- | The identifier (ID) of the Amazon Web Services account that you want to+    -- invite to join your organization. This is a JSON object that contains+    -- the following elements:+    --+    -- @{ \"Type\": \"ACCOUNT\", \"Id\": \"\< @/__@account id number@__/@ >\" }@+    --+    -- If you use the CLI, you can submit this as a single string, similar to+    -- the following example:+    --+    -- @--target Id=123456789012,Type=ACCOUNT@+    --+    -- If you specify @\"Type\": \"ACCOUNT\"@, you must provide the Amazon Web+    -- Services account ID number as the @Id@. If you specify+    -- @\"Type\": \"EMAIL\"@, you must specify the email address that is+    -- associated with the account.+    --+    -- @--target Id=diego\@example.com,Type=EMAIL@+    target :: HandshakeParty+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'InviteAccountToOrganization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'notes', 'inviteAccountToOrganization_notes' - Additional information that you want to include in the generated email+-- to the recipient account owner.+--+-- 'tags', 'inviteAccountToOrganization_tags' - A list of tags that you want to attach to the account when it becomes a+-- member of the organization. For each tag in the list, you must specify+-- both a tag key and a value. You can set the value to an empty string,+-- but you can\'t set it to @null@. For more information about tagging, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html Tagging Organizations resources>+-- in the Organizations User Guide.+--+-- Any tags in the request are checked for compliance with any applicable+-- tag policies when the request is made. The request is rejected if the+-- tags in the request don\'t match the requirements of the policy at that+-- time. Tag policy compliance is /__not__/ checked again when the+-- invitation is accepted and the tags are actually attached to the+-- account. That means that if the tag policy changes between the+-- invitation and the acceptance, then that tags could potentially be+-- non-compliant.+--+-- If any one of the tags is invalid or if you exceed the allowed number of+-- tags for an account, then the entire request fails and invitations are+-- not sent.+--+-- 'target', 'inviteAccountToOrganization_target' - The identifier (ID) of the Amazon Web Services account that you want to+-- invite to join your organization. This is a JSON object that contains+-- the following elements:+--+-- @{ \"Type\": \"ACCOUNT\", \"Id\": \"\< @/__@account id number@__/@ >\" }@+--+-- If you use the CLI, you can submit this as a single string, similar to+-- the following example:+--+-- @--target Id=123456789012,Type=ACCOUNT@+--+-- If you specify @\"Type\": \"ACCOUNT\"@, you must provide the Amazon Web+-- Services account ID number as the @Id@. If you specify+-- @\"Type\": \"EMAIL\"@, you must specify the email address that is+-- associated with the account.+--+-- @--target Id=diego\@example.com,Type=EMAIL@+newInviteAccountToOrganization ::+  -- | 'target'+  HandshakeParty ->+  InviteAccountToOrganization+newInviteAccountToOrganization pTarget_ =+  InviteAccountToOrganization'+    { notes =+        Prelude.Nothing,+      tags = Prelude.Nothing,+      target = pTarget_+    }++-- | Additional information that you want to include in the generated email+-- to the recipient account owner.+inviteAccountToOrganization_notes :: Lens.Lens' InviteAccountToOrganization (Prelude.Maybe Prelude.Text)+inviteAccountToOrganization_notes = Lens.lens (\InviteAccountToOrganization' {notes} -> notes) (\s@InviteAccountToOrganization' {} a -> s {notes = a} :: InviteAccountToOrganization) Prelude.. Lens.mapping Data._Sensitive++-- | A list of tags that you want to attach to the account when it becomes a+-- member of the organization. For each tag in the list, you must specify+-- both a tag key and a value. You can set the value to an empty string,+-- but you can\'t set it to @null@. For more information about tagging, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html Tagging Organizations resources>+-- in the Organizations User Guide.+--+-- Any tags in the request are checked for compliance with any applicable+-- tag policies when the request is made. The request is rejected if the+-- tags in the request don\'t match the requirements of the policy at that+-- time. Tag policy compliance is /__not__/ checked again when the+-- invitation is accepted and the tags are actually attached to the+-- account. That means that if the tag policy changes between the+-- invitation and the acceptance, then that tags could potentially be+-- non-compliant.+--+-- If any one of the tags is invalid or if you exceed the allowed number of+-- tags for an account, then the entire request fails and invitations are+-- not sent.+inviteAccountToOrganization_tags :: Lens.Lens' InviteAccountToOrganization (Prelude.Maybe [Tag])+inviteAccountToOrganization_tags = Lens.lens (\InviteAccountToOrganization' {tags} -> tags) (\s@InviteAccountToOrganization' {} a -> s {tags = a} :: InviteAccountToOrganization) Prelude.. Lens.mapping Lens.coerced++-- | The identifier (ID) of the Amazon Web Services account that you want to+-- invite to join your organization. This is a JSON object that contains+-- the following elements:+--+-- @{ \"Type\": \"ACCOUNT\", \"Id\": \"\< @/__@account id number@__/@ >\" }@+--+-- If you use the CLI, you can submit this as a single string, similar to+-- the following example:+--+-- @--target Id=123456789012,Type=ACCOUNT@+--+-- If you specify @\"Type\": \"ACCOUNT\"@, you must provide the Amazon Web+-- Services account ID number as the @Id@. If you specify+-- @\"Type\": \"EMAIL\"@, you must specify the email address that is+-- associated with the account.+--+-- @--target Id=diego\@example.com,Type=EMAIL@+inviteAccountToOrganization_target :: Lens.Lens' InviteAccountToOrganization HandshakeParty+inviteAccountToOrganization_target = Lens.lens (\InviteAccountToOrganization' {target} -> target) (\s@InviteAccountToOrganization' {} a -> s {target = a} :: InviteAccountToOrganization)++instance Core.AWSRequest InviteAccountToOrganization where+  type+    AWSResponse InviteAccountToOrganization =+      InviteAccountToOrganizationResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          InviteAccountToOrganizationResponse'+            Prelude.<$> (x Data..?> "Handshake")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable InviteAccountToOrganization where+  hashWithSalt _salt InviteAccountToOrganization' {..} =+    _salt+      `Prelude.hashWithSalt` notes+      `Prelude.hashWithSalt` tags+      `Prelude.hashWithSalt` target++instance Prelude.NFData InviteAccountToOrganization where+  rnf InviteAccountToOrganization' {..} =+    Prelude.rnf notes+      `Prelude.seq` Prelude.rnf tags+      `Prelude.seq` Prelude.rnf target++instance Data.ToHeaders InviteAccountToOrganization where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.InviteAccountToOrganization" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON InviteAccountToOrganization where+  toJSON InviteAccountToOrganization' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Notes" Data..=) Prelude.<$> notes,+            ("Tags" Data..=) Prelude.<$> tags,+            Prelude.Just ("Target" Data..= target)+          ]+      )++instance Data.ToPath InviteAccountToOrganization where+  toPath = Prelude.const "/"++instance Data.ToQuery InviteAccountToOrganization where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newInviteAccountToOrganizationResponse' smart constructor.+data InviteAccountToOrganizationResponse = InviteAccountToOrganizationResponse'+  { -- | A structure that contains details about the handshake that is created to+    -- support this invitation request.+    handshake :: Prelude.Maybe Handshake,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'InviteAccountToOrganizationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'handshake', 'inviteAccountToOrganizationResponse_handshake' - A structure that contains details about the handshake that is created to+-- support this invitation request.+--+-- 'httpStatus', 'inviteAccountToOrganizationResponse_httpStatus' - The response's http status code.+newInviteAccountToOrganizationResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  InviteAccountToOrganizationResponse+newInviteAccountToOrganizationResponse pHttpStatus_ =+  InviteAccountToOrganizationResponse'+    { handshake =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains details about the handshake that is created to+-- support this invitation request.+inviteAccountToOrganizationResponse_handshake :: Lens.Lens' InviteAccountToOrganizationResponse (Prelude.Maybe Handshake)+inviteAccountToOrganizationResponse_handshake = Lens.lens (\InviteAccountToOrganizationResponse' {handshake} -> handshake) (\s@InviteAccountToOrganizationResponse' {} a -> s {handshake = a} :: InviteAccountToOrganizationResponse)++-- | The response's http status code.+inviteAccountToOrganizationResponse_httpStatus :: Lens.Lens' InviteAccountToOrganizationResponse Prelude.Int+inviteAccountToOrganizationResponse_httpStatus = Lens.lens (\InviteAccountToOrganizationResponse' {httpStatus} -> httpStatus) (\s@InviteAccountToOrganizationResponse' {} a -> s {httpStatus = a} :: InviteAccountToOrganizationResponse)++instance+  Prelude.NFData+    InviteAccountToOrganizationResponse+  where+  rnf InviteAccountToOrganizationResponse' {..} =+    Prelude.rnf handshake+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/LeaveOrganization.hs view
@@ -0,0 +1,167 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.LeaveOrganization+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Removes a member account from its parent organization. This version of+-- the operation is performed by the account that wants to leave. To remove+-- a member account as a user in the management account, use+-- RemoveAccountFromOrganization instead.+--+-- This operation can be called only from a member account in the+-- organization.+--+-- -   The management account in an organization with all features enabled+--     can set service control policies (SCPs) that can restrict what+--     administrators of member accounts can do. This includes preventing+--     them from successfully calling @LeaveOrganization@ and leaving the+--     organization.+--+-- -   You can leave an organization as a member account only if the+--     account is configured with the information required to operate as a+--     standalone account. When you create an account in an organization+--     using the Organizations console, API, or CLI commands, the+--     information required of standalone accounts is /not/ automatically+--     collected. For each account that you want to make standalone, you+--     must perform the following steps. If any of the steps are already+--     completed for this account, that step doesn\'t appear.+--+--     -   Choose a support plan+--+--     -   Provide and verify the required contact information+--+--     -   Provide a current payment method+--+--     Amazon Web Services uses the payment method to charge for any+--     billable (not free tier) Amazon Web Services activity that occurs+--     while the account isn\'t attached to an organization. Follow the+--     steps at+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info To leave an organization when all required account information has not yet been provided>+--     in the /Organizations User Guide./+--+-- -   The account that you want to leave must not be a delegated+--     administrator account for any Amazon Web Services service enabled+--     for your organization. If the account is a delegated administrator,+--     you must first change the delegated administrator account to another+--     account that is remaining in the organization.+--+-- -   You can leave an organization only after you enable IAM user access+--     to billing in your account. For more information, see+--     <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate Activating Access to the Billing and Cost Management Console>+--     in the /Amazon Web Services Billing and Cost Management User Guide./+--+-- -   After the account leaves the organization, all tags that were+--     attached to the account object in the organization are deleted.+--     Amazon Web Services accounts outside of an organization do not+--     support tags.+--+-- -   A newly created account has a waiting period before it can be+--     removed from its organization. If you get an error that indicates+--     that a wait period is required, then try again in a few days.+module Amazonka.Organizations.LeaveOrganization+  ( -- * Creating a Request+    LeaveOrganization (..),+    newLeaveOrganization,++    -- * Destructuring the Response+    LeaveOrganizationResponse (..),+    newLeaveOrganizationResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newLeaveOrganization' smart constructor.+data LeaveOrganization = LeaveOrganization'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'LeaveOrganization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newLeaveOrganization ::+  LeaveOrganization+newLeaveOrganization = LeaveOrganization'++instance Core.AWSRequest LeaveOrganization where+  type+    AWSResponse LeaveOrganization =+      LeaveOrganizationResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveNull LeaveOrganizationResponse'++instance Prelude.Hashable LeaveOrganization where+  hashWithSalt _salt _ =+    _salt `Prelude.hashWithSalt` ()++instance Prelude.NFData LeaveOrganization where+  rnf _ = ()++instance Data.ToHeaders LeaveOrganization where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.LeaveOrganization" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON LeaveOrganization where+  toJSON = Prelude.const (Data.Object Prelude.mempty)++instance Data.ToPath LeaveOrganization where+  toPath = Prelude.const "/"++instance Data.ToQuery LeaveOrganization where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newLeaveOrganizationResponse' smart constructor.+data LeaveOrganizationResponse = LeaveOrganizationResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'LeaveOrganizationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newLeaveOrganizationResponse ::+  LeaveOrganizationResponse+newLeaveOrganizationResponse =+  LeaveOrganizationResponse'++instance Prelude.NFData LeaveOrganizationResponse where+  rnf _ = ()
+ gen/Amazonka/Organizations/Lens.hs view
@@ -0,0 +1,540 @@+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Lens+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Lens+  ( -- * Operations++    -- ** AcceptHandshake+    acceptHandshake_handshakeId,+    acceptHandshakeResponse_handshake,+    acceptHandshakeResponse_httpStatus,++    -- ** AttachPolicy+    attachPolicy_policyId,+    attachPolicy_targetId,++    -- ** CancelHandshake+    cancelHandshake_handshakeId,+    cancelHandshakeResponse_handshake,+    cancelHandshakeResponse_httpStatus,++    -- ** CloseAccount+    closeAccount_accountId,++    -- ** CreateAccount+    createAccount_iamUserAccessToBilling,+    createAccount_roleName,+    createAccount_tags,+    createAccount_email,+    createAccount_accountName,+    createAccountResponse_createAccountStatus,+    createAccountResponse_httpStatus,++    -- ** CreateGovCloudAccount+    createGovCloudAccount_iamUserAccessToBilling,+    createGovCloudAccount_roleName,+    createGovCloudAccount_tags,+    createGovCloudAccount_email,+    createGovCloudAccount_accountName,+    createGovCloudAccountResponse_createAccountStatus,+    createGovCloudAccountResponse_httpStatus,++    -- ** CreateOrganization+    createOrganization_featureSet,+    createOrganizationResponse_organization,+    createOrganizationResponse_httpStatus,++    -- ** CreateOrganizationalUnit+    createOrganizationalUnit_tags,+    createOrganizationalUnit_parentId,+    createOrganizationalUnit_name,+    createOrganizationalUnitResponse_organizationalUnit,+    createOrganizationalUnitResponse_httpStatus,++    -- ** CreatePolicy+    createPolicy_tags,+    createPolicy_content,+    createPolicy_description,+    createPolicy_name,+    createPolicy_type,+    createPolicyResponse_policy,+    createPolicyResponse_httpStatus,++    -- ** DeclineHandshake+    declineHandshake_handshakeId,+    declineHandshakeResponse_handshake,+    declineHandshakeResponse_httpStatus,++    -- ** DeleteOrganization++    -- ** DeleteOrganizationalUnit+    deleteOrganizationalUnit_organizationalUnitId,++    -- ** DeletePolicy+    deletePolicy_policyId,++    -- ** DeleteResourcePolicy++    -- ** DeregisterDelegatedAdministrator+    deregisterDelegatedAdministrator_accountId,+    deregisterDelegatedAdministrator_servicePrincipal,++    -- ** DescribeAccount+    describeAccount_accountId,+    describeAccountResponse_account,+    describeAccountResponse_httpStatus,++    -- ** DescribeCreateAccountStatus+    describeCreateAccountStatus_createAccountRequestId,+    describeCreateAccountStatusResponse_createAccountStatus,+    describeCreateAccountStatusResponse_httpStatus,++    -- ** DescribeEffectivePolicy+    describeEffectivePolicy_targetId,+    describeEffectivePolicy_policyType,+    describeEffectivePolicyResponse_effectivePolicy,+    describeEffectivePolicyResponse_httpStatus,++    -- ** DescribeHandshake+    describeHandshake_handshakeId,+    describeHandshakeResponse_handshake,+    describeHandshakeResponse_httpStatus,++    -- ** DescribeOrganization+    describeOrganizationResponse_organization,+    describeOrganizationResponse_httpStatus,++    -- ** DescribeOrganizationalUnit+    describeOrganizationalUnit_organizationalUnitId,+    describeOrganizationalUnitResponse_organizationalUnit,+    describeOrganizationalUnitResponse_httpStatus,++    -- ** DescribePolicy+    describePolicy_policyId,+    describePolicyResponse_policy,+    describePolicyResponse_httpStatus,++    -- ** DescribeResourcePolicy+    describeResourcePolicyResponse_resourcePolicy,+    describeResourcePolicyResponse_httpStatus,++    -- ** DetachPolicy+    detachPolicy_policyId,+    detachPolicy_targetId,++    -- ** DisableAWSServiceAccess+    disableAWSServiceAccess_servicePrincipal,++    -- ** DisablePolicyType+    disablePolicyType_rootId,+    disablePolicyType_policyType,+    disablePolicyTypeResponse_root,+    disablePolicyTypeResponse_httpStatus,++    -- ** EnableAWSServiceAccess+    enableAWSServiceAccess_servicePrincipal,++    -- ** EnableAllFeatures+    enableAllFeaturesResponse_handshake,+    enableAllFeaturesResponse_httpStatus,++    -- ** EnablePolicyType+    enablePolicyType_rootId,+    enablePolicyType_policyType,+    enablePolicyTypeResponse_root,+    enablePolicyTypeResponse_httpStatus,++    -- ** InviteAccountToOrganization+    inviteAccountToOrganization_notes,+    inviteAccountToOrganization_tags,+    inviteAccountToOrganization_target,+    inviteAccountToOrganizationResponse_handshake,+    inviteAccountToOrganizationResponse_httpStatus,++    -- ** LeaveOrganization++    -- ** ListAWSServiceAccessForOrganization+    listAWSServiceAccessForOrganization_maxResults,+    listAWSServiceAccessForOrganization_nextToken,+    listAWSServiceAccessForOrganizationResponse_enabledServicePrincipals,+    listAWSServiceAccessForOrganizationResponse_nextToken,+    listAWSServiceAccessForOrganizationResponse_httpStatus,++    -- ** ListAccounts+    listAccounts_maxResults,+    listAccounts_nextToken,+    listAccountsResponse_accounts,+    listAccountsResponse_nextToken,+    listAccountsResponse_httpStatus,++    -- ** ListAccountsForParent+    listAccountsForParent_maxResults,+    listAccountsForParent_nextToken,+    listAccountsForParent_parentId,+    listAccountsForParentResponse_accounts,+    listAccountsForParentResponse_nextToken,+    listAccountsForParentResponse_httpStatus,++    -- ** ListChildren+    listChildren_maxResults,+    listChildren_nextToken,+    listChildren_parentId,+    listChildren_childType,+    listChildrenResponse_children,+    listChildrenResponse_nextToken,+    listChildrenResponse_httpStatus,++    -- ** ListCreateAccountStatus+    listCreateAccountStatus_maxResults,+    listCreateAccountStatus_nextToken,+    listCreateAccountStatus_states,+    listCreateAccountStatusResponse_createAccountStatuses,+    listCreateAccountStatusResponse_nextToken,+    listCreateAccountStatusResponse_httpStatus,++    -- ** ListDelegatedAdministrators+    listDelegatedAdministrators_maxResults,+    listDelegatedAdministrators_nextToken,+    listDelegatedAdministrators_servicePrincipal,+    listDelegatedAdministratorsResponse_delegatedAdministrators,+    listDelegatedAdministratorsResponse_nextToken,+    listDelegatedAdministratorsResponse_httpStatus,++    -- ** ListDelegatedServicesForAccount+    listDelegatedServicesForAccount_maxResults,+    listDelegatedServicesForAccount_nextToken,+    listDelegatedServicesForAccount_accountId,+    listDelegatedServicesForAccountResponse_delegatedServices,+    listDelegatedServicesForAccountResponse_nextToken,+    listDelegatedServicesForAccountResponse_httpStatus,++    -- ** ListHandshakesForAccount+    listHandshakesForAccount_filter,+    listHandshakesForAccount_maxResults,+    listHandshakesForAccount_nextToken,+    listHandshakesForAccountResponse_handshakes,+    listHandshakesForAccountResponse_nextToken,+    listHandshakesForAccountResponse_httpStatus,++    -- ** ListHandshakesForOrganization+    listHandshakesForOrganization_filter,+    listHandshakesForOrganization_maxResults,+    listHandshakesForOrganization_nextToken,+    listHandshakesForOrganizationResponse_handshakes,+    listHandshakesForOrganizationResponse_nextToken,+    listHandshakesForOrganizationResponse_httpStatus,++    -- ** ListOrganizationalUnitsForParent+    listOrganizationalUnitsForParent_maxResults,+    listOrganizationalUnitsForParent_nextToken,+    listOrganizationalUnitsForParent_parentId,+    listOrganizationalUnitsForParentResponse_nextToken,+    listOrganizationalUnitsForParentResponse_organizationalUnits,+    listOrganizationalUnitsForParentResponse_httpStatus,++    -- ** ListParents+    listParents_maxResults,+    listParents_nextToken,+    listParents_childId,+    listParentsResponse_nextToken,+    listParentsResponse_parents,+    listParentsResponse_httpStatus,++    -- ** ListPolicies+    listPolicies_maxResults,+    listPolicies_nextToken,+    listPolicies_filter,+    listPoliciesResponse_nextToken,+    listPoliciesResponse_policies,+    listPoliciesResponse_httpStatus,++    -- ** ListPoliciesForTarget+    listPoliciesForTarget_maxResults,+    listPoliciesForTarget_nextToken,+    listPoliciesForTarget_targetId,+    listPoliciesForTarget_filter,+    listPoliciesForTargetResponse_nextToken,+    listPoliciesForTargetResponse_policies,+    listPoliciesForTargetResponse_httpStatus,++    -- ** ListRoots+    listRoots_maxResults,+    listRoots_nextToken,+    listRootsResponse_nextToken,+    listRootsResponse_roots,+    listRootsResponse_httpStatus,++    -- ** ListTagsForResource+    listTagsForResource_nextToken,+    listTagsForResource_resourceId,+    listTagsForResourceResponse_nextToken,+    listTagsForResourceResponse_tags,+    listTagsForResourceResponse_httpStatus,++    -- ** ListTargetsForPolicy+    listTargetsForPolicy_maxResults,+    listTargetsForPolicy_nextToken,+    listTargetsForPolicy_policyId,+    listTargetsForPolicyResponse_nextToken,+    listTargetsForPolicyResponse_targets,+    listTargetsForPolicyResponse_httpStatus,++    -- ** MoveAccount+    moveAccount_accountId,+    moveAccount_sourceParentId,+    moveAccount_destinationParentId,++    -- ** PutResourcePolicy+    putResourcePolicy_tags,+    putResourcePolicy_content,+    putResourcePolicyResponse_resourcePolicy,+    putResourcePolicyResponse_httpStatus,++    -- ** RegisterDelegatedAdministrator+    registerDelegatedAdministrator_accountId,+    registerDelegatedAdministrator_servicePrincipal,++    -- ** RemoveAccountFromOrganization+    removeAccountFromOrganization_accountId,++    -- ** TagResource+    tagResource_resourceId,+    tagResource_tags,++    -- ** UntagResource+    untagResource_resourceId,+    untagResource_tagKeys,++    -- ** UpdateOrganizationalUnit+    updateOrganizationalUnit_name,+    updateOrganizationalUnit_organizationalUnitId,+    updateOrganizationalUnitResponse_organizationalUnit,+    updateOrganizationalUnitResponse_httpStatus,++    -- ** UpdatePolicy+    updatePolicy_content,+    updatePolicy_description,+    updatePolicy_name,+    updatePolicy_policyId,+    updatePolicyResponse_policy,+    updatePolicyResponse_httpStatus,++    -- * Types++    -- ** Account+    account_arn,+    account_email,+    account_id,+    account_joinedMethod,+    account_joinedTimestamp,+    account_name,+    account_status,++    -- ** Child+    child_id,+    child_type,++    -- ** CreateAccountStatus+    createAccountStatus_accountId,+    createAccountStatus_accountName,+    createAccountStatus_completedTimestamp,+    createAccountStatus_failureReason,+    createAccountStatus_govCloudAccountId,+    createAccountStatus_id,+    createAccountStatus_requestedTimestamp,+    createAccountStatus_state,++    -- ** DelegatedAdministrator+    delegatedAdministrator_arn,+    delegatedAdministrator_delegationEnabledDate,+    delegatedAdministrator_email,+    delegatedAdministrator_id,+    delegatedAdministrator_joinedMethod,+    delegatedAdministrator_joinedTimestamp,+    delegatedAdministrator_name,+    delegatedAdministrator_status,++    -- ** DelegatedService+    delegatedService_delegationEnabledDate,+    delegatedService_servicePrincipal,++    -- ** EffectivePolicy+    effectivePolicy_lastUpdatedTimestamp,+    effectivePolicy_policyContent,+    effectivePolicy_policyType,+    effectivePolicy_targetId,++    -- ** EnabledServicePrincipal+    enabledServicePrincipal_dateEnabled,+    enabledServicePrincipal_servicePrincipal,++    -- ** Handshake+    handshake_action,+    handshake_arn,+    handshake_expirationTimestamp,+    handshake_id,+    handshake_parties,+    handshake_requestedTimestamp,+    handshake_resources,+    handshake_state,++    -- ** HandshakeFilter+    handshakeFilter_actionType,+    handshakeFilter_parentHandshakeId,++    -- ** HandshakeParty+    handshakeParty_id,+    handshakeParty_type,++    -- ** HandshakeResource+    handshakeResource_resources,+    handshakeResource_type,+    handshakeResource_value,++    -- ** Organization+    organization_arn,+    organization_availablePolicyTypes,+    organization_featureSet,+    organization_id,+    organization_masterAccountArn,+    organization_masterAccountEmail,+    organization_masterAccountId,++    -- ** OrganizationalUnit+    organizationalUnit_arn,+    organizationalUnit_id,+    organizationalUnit_name,++    -- ** Parent+    parent_id,+    parent_type,++    -- ** Policy+    policy_content,+    policy_policySummary,++    -- ** PolicySummary+    policySummary_arn,+    policySummary_awsManaged,+    policySummary_description,+    policySummary_id,+    policySummary_name,+    policySummary_type,++    -- ** PolicyTargetSummary+    policyTargetSummary_arn,+    policyTargetSummary_name,+    policyTargetSummary_targetId,+    policyTargetSummary_type,++    -- ** PolicyTypeSummary+    policyTypeSummary_status,+    policyTypeSummary_type,++    -- ** ResourcePolicy+    resourcePolicy_content,+    resourcePolicy_resourcePolicySummary,++    -- ** ResourcePolicySummary+    resourcePolicySummary_arn,+    resourcePolicySummary_id,++    -- ** Root+    root_arn,+    root_id,+    root_name,+    root_policyTypes,++    -- ** Tag+    tag_key,+    tag_value,+  )+where++import Amazonka.Organizations.AcceptHandshake+import Amazonka.Organizations.AttachPolicy+import Amazonka.Organizations.CancelHandshake+import Amazonka.Organizations.CloseAccount+import Amazonka.Organizations.CreateAccount+import Amazonka.Organizations.CreateGovCloudAccount+import Amazonka.Organizations.CreateOrganization+import Amazonka.Organizations.CreateOrganizationalUnit+import Amazonka.Organizations.CreatePolicy+import Amazonka.Organizations.DeclineHandshake+import Amazonka.Organizations.DeleteOrganization+import Amazonka.Organizations.DeleteOrganizationalUnit+import Amazonka.Organizations.DeletePolicy+import Amazonka.Organizations.DeleteResourcePolicy+import Amazonka.Organizations.DeregisterDelegatedAdministrator+import Amazonka.Organizations.DescribeAccount+import Amazonka.Organizations.DescribeCreateAccountStatus+import Amazonka.Organizations.DescribeEffectivePolicy+import Amazonka.Organizations.DescribeHandshake+import Amazonka.Organizations.DescribeOrganization+import Amazonka.Organizations.DescribeOrganizationalUnit+import Amazonka.Organizations.DescribePolicy+import Amazonka.Organizations.DescribeResourcePolicy+import Amazonka.Organizations.DetachPolicy+import Amazonka.Organizations.DisableAWSServiceAccess+import Amazonka.Organizations.DisablePolicyType+import Amazonka.Organizations.EnableAWSServiceAccess+import Amazonka.Organizations.EnableAllFeatures+import Amazonka.Organizations.EnablePolicyType+import Amazonka.Organizations.InviteAccountToOrganization+import Amazonka.Organizations.LeaveOrganization+import Amazonka.Organizations.ListAWSServiceAccessForOrganization+import Amazonka.Organizations.ListAccounts+import Amazonka.Organizations.ListAccountsForParent+import Amazonka.Organizations.ListChildren+import Amazonka.Organizations.ListCreateAccountStatus+import Amazonka.Organizations.ListDelegatedAdministrators+import Amazonka.Organizations.ListDelegatedServicesForAccount+import Amazonka.Organizations.ListHandshakesForAccount+import Amazonka.Organizations.ListHandshakesForOrganization+import Amazonka.Organizations.ListOrganizationalUnitsForParent+import Amazonka.Organizations.ListParents+import Amazonka.Organizations.ListPolicies+import Amazonka.Organizations.ListPoliciesForTarget+import Amazonka.Organizations.ListRoots+import Amazonka.Organizations.ListTagsForResource+import Amazonka.Organizations.ListTargetsForPolicy+import Amazonka.Organizations.MoveAccount+import Amazonka.Organizations.PutResourcePolicy+import Amazonka.Organizations.RegisterDelegatedAdministrator+import Amazonka.Organizations.RemoveAccountFromOrganization+import Amazonka.Organizations.TagResource+import Amazonka.Organizations.Types.Account+import Amazonka.Organizations.Types.Child+import Amazonka.Organizations.Types.CreateAccountStatus+import Amazonka.Organizations.Types.DelegatedAdministrator+import Amazonka.Organizations.Types.DelegatedService+import Amazonka.Organizations.Types.EffectivePolicy+import Amazonka.Organizations.Types.EnabledServicePrincipal+import Amazonka.Organizations.Types.Handshake+import Amazonka.Organizations.Types.HandshakeFilter+import Amazonka.Organizations.Types.HandshakeParty+import Amazonka.Organizations.Types.HandshakeResource+import Amazonka.Organizations.Types.Organization+import Amazonka.Organizations.Types.OrganizationalUnit+import Amazonka.Organizations.Types.Parent+import Amazonka.Organizations.Types.Policy+import Amazonka.Organizations.Types.PolicySummary+import Amazonka.Organizations.Types.PolicyTargetSummary+import Amazonka.Organizations.Types.PolicyTypeSummary+import Amazonka.Organizations.Types.ResourcePolicy+import Amazonka.Organizations.Types.ResourcePolicySummary+import Amazonka.Organizations.Types.Root+import Amazonka.Organizations.Types.Tag+import Amazonka.Organizations.UntagResource+import Amazonka.Organizations.UpdateOrganizationalUnit+import Amazonka.Organizations.UpdatePolicy
+ gen/Amazonka/Organizations/ListAWSServiceAccessForOrganization.hs view
@@ -0,0 +1,327 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.ListAWSServiceAccessForOrganization+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of the Amazon Web Services services that you enabled to+-- integrate with your organization. After a service on this list creates+-- the resources that it requires for the integration, it can perform+-- operations on your organization and its accounts.+--+-- For more information about integrating other services with+-- Organizations, including the list of services that currently work with+-- Organizations, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html Integrating Organizations with Other Amazon Web Services Services>+-- in the /Organizations User Guide./+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+--+-- This operation returns paginated results.+module Amazonka.Organizations.ListAWSServiceAccessForOrganization+  ( -- * Creating a Request+    ListAWSServiceAccessForOrganization (..),+    newListAWSServiceAccessForOrganization,++    -- * Request Lenses+    listAWSServiceAccessForOrganization_maxResults,+    listAWSServiceAccessForOrganization_nextToken,++    -- * Destructuring the Response+    ListAWSServiceAccessForOrganizationResponse (..),+    newListAWSServiceAccessForOrganizationResponse,++    -- * Response Lenses+    listAWSServiceAccessForOrganizationResponse_enabledServicePrincipals,+    listAWSServiceAccessForOrganizationResponse_nextToken,+    listAWSServiceAccessForOrganizationResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListAWSServiceAccessForOrganization' smart constructor.+data ListAWSServiceAccessForOrganization = ListAWSServiceAccessForOrganization'+  { -- | The total number of results that you want included on each page of the+    -- response. If you do not include this parameter, it defaults to a value+    -- that is specific to the operation. If additional items exist beyond the+    -- maximum you specify, the @NextToken@ response element is present and has+    -- a value (is not null). Include that value as the @NextToken@ request+    -- parameter in the next call to the operation to get the next part of the+    -- results. Note that Organizations might return fewer results than the+    -- maximum even when there are more results available. You should check+    -- @NextToken@ after every operation to ensure that you receive all of the+    -- results.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The parameter for receiving additional results if you receive a+    -- @NextToken@ response in a previous request. A @NextToken@ response+    -- indicates that more output is available. Set this parameter to the value+    -- of the previous call\'s @NextToken@ response to indicate where the+    -- output should continue from.+    nextToken :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListAWSServiceAccessForOrganization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listAWSServiceAccessForOrganization_maxResults' - The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+--+-- 'nextToken', 'listAWSServiceAccessForOrganization_nextToken' - The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+newListAWSServiceAccessForOrganization ::+  ListAWSServiceAccessForOrganization+newListAWSServiceAccessForOrganization =+  ListAWSServiceAccessForOrganization'+    { maxResults =+        Prelude.Nothing,+      nextToken = Prelude.Nothing+    }++-- | The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+listAWSServiceAccessForOrganization_maxResults :: Lens.Lens' ListAWSServiceAccessForOrganization (Prelude.Maybe Prelude.Natural)+listAWSServiceAccessForOrganization_maxResults = Lens.lens (\ListAWSServiceAccessForOrganization' {maxResults} -> maxResults) (\s@ListAWSServiceAccessForOrganization' {} a -> s {maxResults = a} :: ListAWSServiceAccessForOrganization)++-- | The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+listAWSServiceAccessForOrganization_nextToken :: Lens.Lens' ListAWSServiceAccessForOrganization (Prelude.Maybe Prelude.Text)+listAWSServiceAccessForOrganization_nextToken = Lens.lens (\ListAWSServiceAccessForOrganization' {nextToken} -> nextToken) (\s@ListAWSServiceAccessForOrganization' {} a -> s {nextToken = a} :: ListAWSServiceAccessForOrganization)++instance+  Core.AWSPager+    ListAWSServiceAccessForOrganization+  where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listAWSServiceAccessForOrganizationResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listAWSServiceAccessForOrganizationResponse_enabledServicePrincipals+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listAWSServiceAccessForOrganization_nextToken+          Lens..~ rs+          Lens.^? listAWSServiceAccessForOrganizationResponse_nextToken+          Prelude.. Lens._Just++instance+  Core.AWSRequest+    ListAWSServiceAccessForOrganization+  where+  type+    AWSResponse ListAWSServiceAccessForOrganization =+      ListAWSServiceAccessForOrganizationResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListAWSServiceAccessForOrganizationResponse'+            Prelude.<$> ( x+                            Data..?> "EnabledServicePrincipals"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (x Data..?> "NextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance+  Prelude.Hashable+    ListAWSServiceAccessForOrganization+  where+  hashWithSalt+    _salt+    ListAWSServiceAccessForOrganization' {..} =+      _salt+        `Prelude.hashWithSalt` maxResults+        `Prelude.hashWithSalt` nextToken++instance+  Prelude.NFData+    ListAWSServiceAccessForOrganization+  where+  rnf ListAWSServiceAccessForOrganization' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken++instance+  Data.ToHeaders+    ListAWSServiceAccessForOrganization+  where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.ListAWSServiceAccessForOrganization" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance+  Data.ToJSON+    ListAWSServiceAccessForOrganization+  where+  toJSON ListAWSServiceAccessForOrganization' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken+          ]+      )++instance+  Data.ToPath+    ListAWSServiceAccessForOrganization+  where+  toPath = Prelude.const "/"++instance+  Data.ToQuery+    ListAWSServiceAccessForOrganization+  where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListAWSServiceAccessForOrganizationResponse' smart constructor.+data ListAWSServiceAccessForOrganizationResponse = ListAWSServiceAccessForOrganizationResponse'+  { -- | A list of the service principals for the services that are enabled to+    -- integrate with your organization. Each principal is a structure that+    -- includes the name and the date that it was enabled for integration with+    -- Organizations.+    enabledServicePrincipals :: Prelude.Maybe [EnabledServicePrincipal],+    -- | If present, indicates that more output is available than is included in+    -- the current response. Use this value in the @NextToken@ request+    -- parameter in a subsequent call to the operation to get the next part of+    -- the output. You should repeat this until the @NextToken@ response+    -- element comes back as @null@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListAWSServiceAccessForOrganizationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'enabledServicePrincipals', 'listAWSServiceAccessForOrganizationResponse_enabledServicePrincipals' - A list of the service principals for the services that are enabled to+-- integrate with your organization. Each principal is a structure that+-- includes the name and the date that it was enabled for integration with+-- Organizations.+--+-- 'nextToken', 'listAWSServiceAccessForOrganizationResponse_nextToken' - If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+--+-- 'httpStatus', 'listAWSServiceAccessForOrganizationResponse_httpStatus' - The response's http status code.+newListAWSServiceAccessForOrganizationResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListAWSServiceAccessForOrganizationResponse+newListAWSServiceAccessForOrganizationResponse+  pHttpStatus_ =+    ListAWSServiceAccessForOrganizationResponse'+      { enabledServicePrincipals =+          Prelude.Nothing,+        nextToken = Prelude.Nothing,+        httpStatus = pHttpStatus_+      }++-- | A list of the service principals for the services that are enabled to+-- integrate with your organization. Each principal is a structure that+-- includes the name and the date that it was enabled for integration with+-- Organizations.+listAWSServiceAccessForOrganizationResponse_enabledServicePrincipals :: Lens.Lens' ListAWSServiceAccessForOrganizationResponse (Prelude.Maybe [EnabledServicePrincipal])+listAWSServiceAccessForOrganizationResponse_enabledServicePrincipals = Lens.lens (\ListAWSServiceAccessForOrganizationResponse' {enabledServicePrincipals} -> enabledServicePrincipals) (\s@ListAWSServiceAccessForOrganizationResponse' {} a -> s {enabledServicePrincipals = a} :: ListAWSServiceAccessForOrganizationResponse) Prelude.. Lens.mapping Lens.coerced++-- | If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+listAWSServiceAccessForOrganizationResponse_nextToken :: Lens.Lens' ListAWSServiceAccessForOrganizationResponse (Prelude.Maybe Prelude.Text)+listAWSServiceAccessForOrganizationResponse_nextToken = Lens.lens (\ListAWSServiceAccessForOrganizationResponse' {nextToken} -> nextToken) (\s@ListAWSServiceAccessForOrganizationResponse' {} a -> s {nextToken = a} :: ListAWSServiceAccessForOrganizationResponse)++-- | The response's http status code.+listAWSServiceAccessForOrganizationResponse_httpStatus :: Lens.Lens' ListAWSServiceAccessForOrganizationResponse Prelude.Int+listAWSServiceAccessForOrganizationResponse_httpStatus = Lens.lens (\ListAWSServiceAccessForOrganizationResponse' {httpStatus} -> httpStatus) (\s@ListAWSServiceAccessForOrganizationResponse' {} a -> s {httpStatus = a} :: ListAWSServiceAccessForOrganizationResponse)++instance+  Prelude.NFData+    ListAWSServiceAccessForOrganizationResponse+  where+  rnf ListAWSServiceAccessForOrganizationResponse' {..} =+    Prelude.rnf enabledServicePrincipals+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/ListAccounts.hs view
@@ -0,0 +1,280 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.ListAccounts+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all the accounts in the organization. To request only the accounts+-- in a specified root or organizational unit (OU), use the+-- ListAccountsForParent operation instead.+--+-- Always check the @NextToken@ response parameter for a @null@ value when+-- calling a @List*@ operation. These operations can occasionally return an+-- empty set of results even when there are more results available. The+-- @NextToken@ response parameter value is @null@ /only/ when there are no+-- more results to display.+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+--+-- This operation returns paginated results.+module Amazonka.Organizations.ListAccounts+  ( -- * Creating a Request+    ListAccounts (..),+    newListAccounts,++    -- * Request Lenses+    listAccounts_maxResults,+    listAccounts_nextToken,++    -- * Destructuring the Response+    ListAccountsResponse (..),+    newListAccountsResponse,++    -- * Response Lenses+    listAccountsResponse_accounts,+    listAccountsResponse_nextToken,+    listAccountsResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListAccounts' smart constructor.+data ListAccounts = ListAccounts'+  { -- | The total number of results that you want included on each page of the+    -- response. If you do not include this parameter, it defaults to a value+    -- that is specific to the operation. If additional items exist beyond the+    -- maximum you specify, the @NextToken@ response element is present and has+    -- a value (is not null). Include that value as the @NextToken@ request+    -- parameter in the next call to the operation to get the next part of the+    -- results. Note that Organizations might return fewer results than the+    -- maximum even when there are more results available. You should check+    -- @NextToken@ after every operation to ensure that you receive all of the+    -- results.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The parameter for receiving additional results if you receive a+    -- @NextToken@ response in a previous request. A @NextToken@ response+    -- indicates that more output is available. Set this parameter to the value+    -- of the previous call\'s @NextToken@ response to indicate where the+    -- output should continue from.+    nextToken :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListAccounts' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listAccounts_maxResults' - The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+--+-- 'nextToken', 'listAccounts_nextToken' - The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+newListAccounts ::+  ListAccounts+newListAccounts =+  ListAccounts'+    { maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing+    }++-- | The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+listAccounts_maxResults :: Lens.Lens' ListAccounts (Prelude.Maybe Prelude.Natural)+listAccounts_maxResults = Lens.lens (\ListAccounts' {maxResults} -> maxResults) (\s@ListAccounts' {} a -> s {maxResults = a} :: ListAccounts)++-- | The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+listAccounts_nextToken :: Lens.Lens' ListAccounts (Prelude.Maybe Prelude.Text)+listAccounts_nextToken = Lens.lens (\ListAccounts' {nextToken} -> nextToken) (\s@ListAccounts' {} a -> s {nextToken = a} :: ListAccounts)++instance Core.AWSPager ListAccounts where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listAccountsResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listAccountsResponse_accounts+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listAccounts_nextToken+          Lens..~ rs+          Lens.^? listAccountsResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest ListAccounts where+  type AWSResponse ListAccounts = ListAccountsResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListAccountsResponse'+            Prelude.<$> (x Data..?> "Accounts" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "NextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListAccounts where+  hashWithSalt _salt ListAccounts' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListAccounts where+  rnf ListAccounts' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListAccounts where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.ListAccounts" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListAccounts where+  toJSON ListAccounts' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken+          ]+      )++instance Data.ToPath ListAccounts where+  toPath = Prelude.const "/"++instance Data.ToQuery ListAccounts where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListAccountsResponse' smart constructor.+data ListAccountsResponse = ListAccountsResponse'+  { -- | A list of objects in the organization.+    accounts :: Prelude.Maybe [Account],+    -- | If present, indicates that more output is available than is included in+    -- the current response. Use this value in the @NextToken@ request+    -- parameter in a subsequent call to the operation to get the next part of+    -- the output. You should repeat this until the @NextToken@ response+    -- element comes back as @null@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListAccountsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'accounts', 'listAccountsResponse_accounts' - A list of objects in the organization.+--+-- 'nextToken', 'listAccountsResponse_nextToken' - If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+--+-- 'httpStatus', 'listAccountsResponse_httpStatus' - The response's http status code.+newListAccountsResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListAccountsResponse+newListAccountsResponse pHttpStatus_ =+  ListAccountsResponse'+    { accounts = Prelude.Nothing,+      nextToken = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A list of objects in the organization.+listAccountsResponse_accounts :: Lens.Lens' ListAccountsResponse (Prelude.Maybe [Account])+listAccountsResponse_accounts = Lens.lens (\ListAccountsResponse' {accounts} -> accounts) (\s@ListAccountsResponse' {} a -> s {accounts = a} :: ListAccountsResponse) Prelude.. Lens.mapping Lens.coerced++-- | If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+listAccountsResponse_nextToken :: Lens.Lens' ListAccountsResponse (Prelude.Maybe Prelude.Text)+listAccountsResponse_nextToken = Lens.lens (\ListAccountsResponse' {nextToken} -> nextToken) (\s@ListAccountsResponse' {} a -> s {nextToken = a} :: ListAccountsResponse)++-- | The response's http status code.+listAccountsResponse_httpStatus :: Lens.Lens' ListAccountsResponse Prelude.Int+listAccountsResponse_httpStatus = Lens.lens (\ListAccountsResponse' {httpStatus} -> httpStatus) (\s@ListAccountsResponse' {} a -> s {httpStatus = a} :: ListAccountsResponse)++instance Prelude.NFData ListAccountsResponse where+  rnf ListAccountsResponse' {..} =+    Prelude.rnf accounts+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/ListAccountsForParent.hs view
@@ -0,0 +1,305 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.ListAccountsForParent+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the accounts in an organization that are contained by the+-- specified target root or organizational unit (OU). If you specify the+-- root, you get a list of all the accounts that aren\'t in any OU. If you+-- specify an OU, you get a list of all the accounts in only that OU and+-- not in any child OUs. To get a list of all accounts in the organization,+-- use the ListAccounts operation.+--+-- Always check the @NextToken@ response parameter for a @null@ value when+-- calling a @List*@ operation. These operations can occasionally return an+-- empty set of results even when there are more results available. The+-- @NextToken@ response parameter value is @null@ /only/ when there are no+-- more results to display.+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+--+-- This operation returns paginated results.+module Amazonka.Organizations.ListAccountsForParent+  ( -- * Creating a Request+    ListAccountsForParent (..),+    newListAccountsForParent,++    -- * Request Lenses+    listAccountsForParent_maxResults,+    listAccountsForParent_nextToken,+    listAccountsForParent_parentId,++    -- * Destructuring the Response+    ListAccountsForParentResponse (..),+    newListAccountsForParentResponse,++    -- * Response Lenses+    listAccountsForParentResponse_accounts,+    listAccountsForParentResponse_nextToken,+    listAccountsForParentResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListAccountsForParent' smart constructor.+data ListAccountsForParent = ListAccountsForParent'+  { -- | The total number of results that you want included on each page of the+    -- response. If you do not include this parameter, it defaults to a value+    -- that is specific to the operation. If additional items exist beyond the+    -- maximum you specify, the @NextToken@ response element is present and has+    -- a value (is not null). Include that value as the @NextToken@ request+    -- parameter in the next call to the operation to get the next part of the+    -- results. Note that Organizations might return fewer results than the+    -- maximum even when there are more results available. You should check+    -- @NextToken@ after every operation to ensure that you receive all of the+    -- results.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The parameter for receiving additional results if you receive a+    -- @NextToken@ response in a previous request. A @NextToken@ response+    -- indicates that more output is available. Set this parameter to the value+    -- of the previous call\'s @NextToken@ response to indicate where the+    -- output should continue from.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier (ID) for the parent root or organization unit (OU)+    -- whose accounts you want to list.+    parentId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListAccountsForParent' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listAccountsForParent_maxResults' - The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+--+-- 'nextToken', 'listAccountsForParent_nextToken' - The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+--+-- 'parentId', 'listAccountsForParent_parentId' - The unique identifier (ID) for the parent root or organization unit (OU)+-- whose accounts you want to list.+newListAccountsForParent ::+  -- | 'parentId'+  Prelude.Text ->+  ListAccountsForParent+newListAccountsForParent pParentId_ =+  ListAccountsForParent'+    { maxResults =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      parentId = pParentId_+    }++-- | The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+listAccountsForParent_maxResults :: Lens.Lens' ListAccountsForParent (Prelude.Maybe Prelude.Natural)+listAccountsForParent_maxResults = Lens.lens (\ListAccountsForParent' {maxResults} -> maxResults) (\s@ListAccountsForParent' {} a -> s {maxResults = a} :: ListAccountsForParent)++-- | The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+listAccountsForParent_nextToken :: Lens.Lens' ListAccountsForParent (Prelude.Maybe Prelude.Text)+listAccountsForParent_nextToken = Lens.lens (\ListAccountsForParent' {nextToken} -> nextToken) (\s@ListAccountsForParent' {} a -> s {nextToken = a} :: ListAccountsForParent)++-- | The unique identifier (ID) for the parent root or organization unit (OU)+-- whose accounts you want to list.+listAccountsForParent_parentId :: Lens.Lens' ListAccountsForParent Prelude.Text+listAccountsForParent_parentId = Lens.lens (\ListAccountsForParent' {parentId} -> parentId) (\s@ListAccountsForParent' {} a -> s {parentId = a} :: ListAccountsForParent)++instance Core.AWSPager ListAccountsForParent where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listAccountsForParentResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listAccountsForParentResponse_accounts+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listAccountsForParent_nextToken+          Lens..~ rs+          Lens.^? listAccountsForParentResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest ListAccountsForParent where+  type+    AWSResponse ListAccountsForParent =+      ListAccountsForParentResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListAccountsForParentResponse'+            Prelude.<$> (x Data..?> "Accounts" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "NextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListAccountsForParent where+  hashWithSalt _salt ListAccountsForParent' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` parentId++instance Prelude.NFData ListAccountsForParent where+  rnf ListAccountsForParent' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf parentId++instance Data.ToHeaders ListAccountsForParent where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.ListAccountsForParent" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListAccountsForParent where+  toJSON ListAccountsForParent' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            Prelude.Just ("ParentId" Data..= parentId)+          ]+      )++instance Data.ToPath ListAccountsForParent where+  toPath = Prelude.const "/"++instance Data.ToQuery ListAccountsForParent where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListAccountsForParentResponse' smart constructor.+data ListAccountsForParentResponse = ListAccountsForParentResponse'+  { -- | A list of the accounts in the specified root or OU.+    accounts :: Prelude.Maybe [Account],+    -- | If present, indicates that more output is available than is included in+    -- the current response. Use this value in the @NextToken@ request+    -- parameter in a subsequent call to the operation to get the next part of+    -- the output. You should repeat this until the @NextToken@ response+    -- element comes back as @null@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListAccountsForParentResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'accounts', 'listAccountsForParentResponse_accounts' - A list of the accounts in the specified root or OU.+--+-- 'nextToken', 'listAccountsForParentResponse_nextToken' - If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+--+-- 'httpStatus', 'listAccountsForParentResponse_httpStatus' - The response's http status code.+newListAccountsForParentResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListAccountsForParentResponse+newListAccountsForParentResponse pHttpStatus_ =+  ListAccountsForParentResponse'+    { accounts =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A list of the accounts in the specified root or OU.+listAccountsForParentResponse_accounts :: Lens.Lens' ListAccountsForParentResponse (Prelude.Maybe [Account])+listAccountsForParentResponse_accounts = Lens.lens (\ListAccountsForParentResponse' {accounts} -> accounts) (\s@ListAccountsForParentResponse' {} a -> s {accounts = a} :: ListAccountsForParentResponse) Prelude.. Lens.mapping Lens.coerced++-- | If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+listAccountsForParentResponse_nextToken :: Lens.Lens' ListAccountsForParentResponse (Prelude.Maybe Prelude.Text)+listAccountsForParentResponse_nextToken = Lens.lens (\ListAccountsForParentResponse' {nextToken} -> nextToken) (\s@ListAccountsForParentResponse' {} a -> s {nextToken = a} :: ListAccountsForParentResponse)++-- | The response's http status code.+listAccountsForParentResponse_httpStatus :: Lens.Lens' ListAccountsForParentResponse Prelude.Int+listAccountsForParentResponse_httpStatus = Lens.lens (\ListAccountsForParentResponse' {httpStatus} -> httpStatus) (\s@ListAccountsForParentResponse' {} a -> s {httpStatus = a} :: ListAccountsForParentResponse)++instance Prelude.NFData ListAccountsForParentResponse where+  rnf ListAccountsForParentResponse' {..} =+    Prelude.rnf accounts+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/ListChildren.hs view
@@ -0,0 +1,347 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.ListChildren+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all of the organizational units (OUs) or accounts that are+-- contained in the specified parent OU or root. This operation, along with+-- ListParents enables you to traverse the tree structure that makes up+-- this root.+--+-- Always check the @NextToken@ response parameter for a @null@ value when+-- calling a @List*@ operation. These operations can occasionally return an+-- empty set of results even when there are more results available. The+-- @NextToken@ response parameter value is @null@ /only/ when there are no+-- more results to display.+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+--+-- This operation returns paginated results.+module Amazonka.Organizations.ListChildren+  ( -- * Creating a Request+    ListChildren (..),+    newListChildren,++    -- * Request Lenses+    listChildren_maxResults,+    listChildren_nextToken,+    listChildren_parentId,+    listChildren_childType,++    -- * Destructuring the Response+    ListChildrenResponse (..),+    newListChildrenResponse,++    -- * Response Lenses+    listChildrenResponse_children,+    listChildrenResponse_nextToken,+    listChildrenResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListChildren' smart constructor.+data ListChildren = ListChildren'+  { -- | The total number of results that you want included on each page of the+    -- response. If you do not include this parameter, it defaults to a value+    -- that is specific to the operation. If additional items exist beyond the+    -- maximum you specify, the @NextToken@ response element is present and has+    -- a value (is not null). Include that value as the @NextToken@ request+    -- parameter in the next call to the operation to get the next part of the+    -- results. Note that Organizations might return fewer results than the+    -- maximum even when there are more results available. You should check+    -- @NextToken@ after every operation to ensure that you receive all of the+    -- results.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The parameter for receiving additional results if you receive a+    -- @NextToken@ response in a previous request. A @NextToken@ response+    -- indicates that more output is available. Set this parameter to the value+    -- of the previous call\'s @NextToken@ response to indicate where the+    -- output should continue from.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier (ID) for the parent root or OU whose children you+    -- want to list.+    --+    -- The <http://wikipedia.org/wiki/regex 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+    --     lowercase letters or digits.+    --+    -- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+    --     followed by from 4 to 32 lowercase letters or digits (the ID of the+    --     root that the OU is in). This string is followed by a second \"-\"+    --     dash and from 8 to 32 additional lowercase letters or digits.+    parentId :: Prelude.Text,+    -- | Filters the output to include only the specified child type.+    childType :: ChildType+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListChildren' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listChildren_maxResults' - The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+--+-- 'nextToken', 'listChildren_nextToken' - The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+--+-- 'parentId', 'listChildren_parentId' - The unique identifier (ID) for the parent root or OU whose children you+-- want to list.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+--+-- 'childType', 'listChildren_childType' - Filters the output to include only the specified child type.+newListChildren ::+  -- | 'parentId'+  Prelude.Text ->+  -- | 'childType'+  ChildType ->+  ListChildren+newListChildren pParentId_ pChildType_ =+  ListChildren'+    { maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing,+      parentId = pParentId_,+      childType = pChildType_+    }++-- | The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+listChildren_maxResults :: Lens.Lens' ListChildren (Prelude.Maybe Prelude.Natural)+listChildren_maxResults = Lens.lens (\ListChildren' {maxResults} -> maxResults) (\s@ListChildren' {} a -> s {maxResults = a} :: ListChildren)++-- | The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+listChildren_nextToken :: Lens.Lens' ListChildren (Prelude.Maybe Prelude.Text)+listChildren_nextToken = Lens.lens (\ListChildren' {nextToken} -> nextToken) (\s@ListChildren' {} a -> s {nextToken = a} :: ListChildren)++-- | The unique identifier (ID) for the parent root or OU whose children you+-- want to list.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+listChildren_parentId :: Lens.Lens' ListChildren Prelude.Text+listChildren_parentId = Lens.lens (\ListChildren' {parentId} -> parentId) (\s@ListChildren' {} a -> s {parentId = a} :: ListChildren)++-- | Filters the output to include only the specified child type.+listChildren_childType :: Lens.Lens' ListChildren ChildType+listChildren_childType = Lens.lens (\ListChildren' {childType} -> childType) (\s@ListChildren' {} a -> s {childType = a} :: ListChildren)++instance Core.AWSPager ListChildren where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listChildrenResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listChildrenResponse_children+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listChildren_nextToken+          Lens..~ rs+          Lens.^? listChildrenResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest ListChildren where+  type AWSResponse ListChildren = ListChildrenResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListChildrenResponse'+            Prelude.<$> (x Data..?> "Children" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "NextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListChildren where+  hashWithSalt _salt ListChildren' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` parentId+      `Prelude.hashWithSalt` childType++instance Prelude.NFData ListChildren where+  rnf ListChildren' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf parentId+      `Prelude.seq` Prelude.rnf childType++instance Data.ToHeaders ListChildren where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.ListChildren" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListChildren where+  toJSON ListChildren' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            Prelude.Just ("ParentId" Data..= parentId),+            Prelude.Just ("ChildType" Data..= childType)+          ]+      )++instance Data.ToPath ListChildren where+  toPath = Prelude.const "/"++instance Data.ToQuery ListChildren where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListChildrenResponse' smart constructor.+data ListChildrenResponse = ListChildrenResponse'+  { -- | The list of children of the specified parent container.+    children :: Prelude.Maybe [Child],+    -- | If present, indicates that more output is available than is included in+    -- the current response. Use this value in the @NextToken@ request+    -- parameter in a subsequent call to the operation to get the next part of+    -- the output. You should repeat this until the @NextToken@ response+    -- element comes back as @null@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListChildrenResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'children', 'listChildrenResponse_children' - The list of children of the specified parent container.+--+-- 'nextToken', 'listChildrenResponse_nextToken' - If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+--+-- 'httpStatus', 'listChildrenResponse_httpStatus' - The response's http status code.+newListChildrenResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListChildrenResponse+newListChildrenResponse pHttpStatus_ =+  ListChildrenResponse'+    { children = Prelude.Nothing,+      nextToken = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The list of children of the specified parent container.+listChildrenResponse_children :: Lens.Lens' ListChildrenResponse (Prelude.Maybe [Child])+listChildrenResponse_children = Lens.lens (\ListChildrenResponse' {children} -> children) (\s@ListChildrenResponse' {} a -> s {children = a} :: ListChildrenResponse) Prelude.. Lens.mapping Lens.coerced++-- | If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+listChildrenResponse_nextToken :: Lens.Lens' ListChildrenResponse (Prelude.Maybe Prelude.Text)+listChildrenResponse_nextToken = Lens.lens (\ListChildrenResponse' {nextToken} -> nextToken) (\s@ListChildrenResponse' {} a -> s {nextToken = a} :: ListChildrenResponse)++-- | The response's http status code.+listChildrenResponse_httpStatus :: Lens.Lens' ListChildrenResponse Prelude.Int+listChildrenResponse_httpStatus = Lens.lens (\ListChildrenResponse' {httpStatus} -> httpStatus) (\s@ListChildrenResponse' {} a -> s {httpStatus = a} :: ListChildrenResponse)++instance Prelude.NFData ListChildrenResponse where+  rnf ListChildrenResponse' {..} =+    Prelude.rnf children+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/ListCreateAccountStatus.hs view
@@ -0,0 +1,314 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.ListCreateAccountStatus+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the account creation requests that match the specified status that+-- is currently being tracked for the organization.+--+-- Always check the @NextToken@ response parameter for a @null@ value when+-- calling a @List*@ operation. These operations can occasionally return an+-- empty set of results even when there are more results available. The+-- @NextToken@ response parameter value is @null@ /only/ when there are no+-- more results to display.+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+--+-- This operation returns paginated results.+module Amazonka.Organizations.ListCreateAccountStatus+  ( -- * Creating a Request+    ListCreateAccountStatus (..),+    newListCreateAccountStatus,++    -- * Request Lenses+    listCreateAccountStatus_maxResults,+    listCreateAccountStatus_nextToken,+    listCreateAccountStatus_states,++    -- * Destructuring the Response+    ListCreateAccountStatusResponse (..),+    newListCreateAccountStatusResponse,++    -- * Response Lenses+    listCreateAccountStatusResponse_createAccountStatuses,+    listCreateAccountStatusResponse_nextToken,+    listCreateAccountStatusResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListCreateAccountStatus' smart constructor.+data ListCreateAccountStatus = ListCreateAccountStatus'+  { -- | The total number of results that you want included on each page of the+    -- response. If you do not include this parameter, it defaults to a value+    -- that is specific to the operation. If additional items exist beyond the+    -- maximum you specify, the @NextToken@ response element is present and has+    -- a value (is not null). Include that value as the @NextToken@ request+    -- parameter in the next call to the operation to get the next part of the+    -- results. Note that Organizations might return fewer results than the+    -- maximum even when there are more results available. You should check+    -- @NextToken@ after every operation to ensure that you receive all of the+    -- results.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The parameter for receiving additional results if you receive a+    -- @NextToken@ response in a previous request. A @NextToken@ response+    -- indicates that more output is available. Set this parameter to the value+    -- of the previous call\'s @NextToken@ response to indicate where the+    -- output should continue from.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | A list of one or more states that you want included in the response. If+    -- this parameter isn\'t present, all requests are included in the+    -- response.+    states :: Prelude.Maybe [CreateAccountState]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListCreateAccountStatus' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listCreateAccountStatus_maxResults' - The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+--+-- 'nextToken', 'listCreateAccountStatus_nextToken' - The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+--+-- 'states', 'listCreateAccountStatus_states' - A list of one or more states that you want included in the response. If+-- this parameter isn\'t present, all requests are included in the+-- response.+newListCreateAccountStatus ::+  ListCreateAccountStatus+newListCreateAccountStatus =+  ListCreateAccountStatus'+    { maxResults =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      states = Prelude.Nothing+    }++-- | The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+listCreateAccountStatus_maxResults :: Lens.Lens' ListCreateAccountStatus (Prelude.Maybe Prelude.Natural)+listCreateAccountStatus_maxResults = Lens.lens (\ListCreateAccountStatus' {maxResults} -> maxResults) (\s@ListCreateAccountStatus' {} a -> s {maxResults = a} :: ListCreateAccountStatus)++-- | The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+listCreateAccountStatus_nextToken :: Lens.Lens' ListCreateAccountStatus (Prelude.Maybe Prelude.Text)+listCreateAccountStatus_nextToken = Lens.lens (\ListCreateAccountStatus' {nextToken} -> nextToken) (\s@ListCreateAccountStatus' {} a -> s {nextToken = a} :: ListCreateAccountStatus)++-- | A list of one or more states that you want included in the response. If+-- this parameter isn\'t present, all requests are included in the+-- response.+listCreateAccountStatus_states :: Lens.Lens' ListCreateAccountStatus (Prelude.Maybe [CreateAccountState])+listCreateAccountStatus_states = Lens.lens (\ListCreateAccountStatus' {states} -> states) (\s@ListCreateAccountStatus' {} a -> s {states = a} :: ListCreateAccountStatus) Prelude.. Lens.mapping Lens.coerced++instance Core.AWSPager ListCreateAccountStatus where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listCreateAccountStatusResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listCreateAccountStatusResponse_createAccountStatuses+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listCreateAccountStatus_nextToken+          Lens..~ rs+          Lens.^? listCreateAccountStatusResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest ListCreateAccountStatus where+  type+    AWSResponse ListCreateAccountStatus =+      ListCreateAccountStatusResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListCreateAccountStatusResponse'+            Prelude.<$> ( x+                            Data..?> "CreateAccountStatuses"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (x Data..?> "NextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListCreateAccountStatus where+  hashWithSalt _salt ListCreateAccountStatus' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` states++instance Prelude.NFData ListCreateAccountStatus where+  rnf ListCreateAccountStatus' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf states++instance Data.ToHeaders ListCreateAccountStatus where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.ListCreateAccountStatus" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListCreateAccountStatus where+  toJSON ListCreateAccountStatus' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            ("States" Data..=) Prelude.<$> states+          ]+      )++instance Data.ToPath ListCreateAccountStatus where+  toPath = Prelude.const "/"++instance Data.ToQuery ListCreateAccountStatus where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListCreateAccountStatusResponse' smart constructor.+data ListCreateAccountStatusResponse = ListCreateAccountStatusResponse'+  { -- | A list of objects with details about the requests. Certain elements,+    -- such as the accountId number, are present in the output only after the+    -- account has been successfully created.+    createAccountStatuses :: Prelude.Maybe [CreateAccountStatus],+    -- | If present, indicates that more output is available than is included in+    -- the current response. Use this value in the @NextToken@ request+    -- parameter in a subsequent call to the operation to get the next part of+    -- the output. You should repeat this until the @NextToken@ response+    -- element comes back as @null@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListCreateAccountStatusResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'createAccountStatuses', 'listCreateAccountStatusResponse_createAccountStatuses' - A list of objects with details about the requests. Certain elements,+-- such as the accountId number, are present in the output only after the+-- account has been successfully created.+--+-- 'nextToken', 'listCreateAccountStatusResponse_nextToken' - If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+--+-- 'httpStatus', 'listCreateAccountStatusResponse_httpStatus' - The response's http status code.+newListCreateAccountStatusResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListCreateAccountStatusResponse+newListCreateAccountStatusResponse pHttpStatus_ =+  ListCreateAccountStatusResponse'+    { createAccountStatuses =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A list of objects with details about the requests. Certain elements,+-- such as the accountId number, are present in the output only after the+-- account has been successfully created.+listCreateAccountStatusResponse_createAccountStatuses :: Lens.Lens' ListCreateAccountStatusResponse (Prelude.Maybe [CreateAccountStatus])+listCreateAccountStatusResponse_createAccountStatuses = Lens.lens (\ListCreateAccountStatusResponse' {createAccountStatuses} -> createAccountStatuses) (\s@ListCreateAccountStatusResponse' {} a -> s {createAccountStatuses = a} :: ListCreateAccountStatusResponse) Prelude.. Lens.mapping Lens.coerced++-- | If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+listCreateAccountStatusResponse_nextToken :: Lens.Lens' ListCreateAccountStatusResponse (Prelude.Maybe Prelude.Text)+listCreateAccountStatusResponse_nextToken = Lens.lens (\ListCreateAccountStatusResponse' {nextToken} -> nextToken) (\s@ListCreateAccountStatusResponse' {} a -> s {nextToken = a} :: ListCreateAccountStatusResponse)++-- | The response's http status code.+listCreateAccountStatusResponse_httpStatus :: Lens.Lens' ListCreateAccountStatusResponse Prelude.Int+listCreateAccountStatusResponse_httpStatus = Lens.lens (\ListCreateAccountStatusResponse' {httpStatus} -> httpStatus) (\s@ListCreateAccountStatusResponse' {} a -> s {httpStatus = a} :: ListCreateAccountStatusResponse)++instance+  Prelude.NFData+    ListCreateAccountStatusResponse+  where+  rnf ListCreateAccountStatusResponse' {..} =+    Prelude.rnf createAccountStatuses+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/ListDelegatedAdministrators.hs view
@@ -0,0 +1,309 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.ListDelegatedAdministrators+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the Amazon Web Services accounts that are designated as delegated+-- administrators in this organization.+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+--+-- This operation returns paginated results.+module Amazonka.Organizations.ListDelegatedAdministrators+  ( -- * Creating a Request+    ListDelegatedAdministrators (..),+    newListDelegatedAdministrators,++    -- * Request Lenses+    listDelegatedAdministrators_maxResults,+    listDelegatedAdministrators_nextToken,+    listDelegatedAdministrators_servicePrincipal,++    -- * Destructuring the Response+    ListDelegatedAdministratorsResponse (..),+    newListDelegatedAdministratorsResponse,++    -- * Response Lenses+    listDelegatedAdministratorsResponse_delegatedAdministrators,+    listDelegatedAdministratorsResponse_nextToken,+    listDelegatedAdministratorsResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListDelegatedAdministrators' smart constructor.+data ListDelegatedAdministrators = ListDelegatedAdministrators'+  { -- | The total number of results that you want included on each page of the+    -- response. If you do not include this parameter, it defaults to a value+    -- that is specific to the operation. If additional items exist beyond the+    -- maximum you specify, the @NextToken@ response element is present and has+    -- a value (is not null). Include that value as the @NextToken@ request+    -- parameter in the next call to the operation to get the next part of the+    -- results. Note that Organizations might return fewer results than the+    -- maximum even when there are more results available. You should check+    -- @NextToken@ after every operation to ensure that you receive all of the+    -- results.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The parameter for receiving additional results if you receive a+    -- @NextToken@ response in a previous request. A @NextToken@ response+    -- indicates that more output is available. Set this parameter to the value+    -- of the previous call\'s @NextToken@ response to indicate where the+    -- output should continue from.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | Specifies a service principal name. If specified, then the operation+    -- lists the delegated administrators only for the specified service.+    --+    -- If you don\'t specify a service principal, the operation lists all+    -- delegated administrators for all services in your organization.+    servicePrincipal :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListDelegatedAdministrators' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listDelegatedAdministrators_maxResults' - The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+--+-- 'nextToken', 'listDelegatedAdministrators_nextToken' - The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+--+-- 'servicePrincipal', 'listDelegatedAdministrators_servicePrincipal' - Specifies a service principal name. If specified, then the operation+-- lists the delegated administrators only for the specified service.+--+-- If you don\'t specify a service principal, the operation lists all+-- delegated administrators for all services in your organization.+newListDelegatedAdministrators ::+  ListDelegatedAdministrators+newListDelegatedAdministrators =+  ListDelegatedAdministrators'+    { maxResults =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      servicePrincipal = Prelude.Nothing+    }++-- | The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+listDelegatedAdministrators_maxResults :: Lens.Lens' ListDelegatedAdministrators (Prelude.Maybe Prelude.Natural)+listDelegatedAdministrators_maxResults = Lens.lens (\ListDelegatedAdministrators' {maxResults} -> maxResults) (\s@ListDelegatedAdministrators' {} a -> s {maxResults = a} :: ListDelegatedAdministrators)++-- | The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+listDelegatedAdministrators_nextToken :: Lens.Lens' ListDelegatedAdministrators (Prelude.Maybe Prelude.Text)+listDelegatedAdministrators_nextToken = Lens.lens (\ListDelegatedAdministrators' {nextToken} -> nextToken) (\s@ListDelegatedAdministrators' {} a -> s {nextToken = a} :: ListDelegatedAdministrators)++-- | Specifies a service principal name. If specified, then the operation+-- lists the delegated administrators only for the specified service.+--+-- If you don\'t specify a service principal, the operation lists all+-- delegated administrators for all services in your organization.+listDelegatedAdministrators_servicePrincipal :: Lens.Lens' ListDelegatedAdministrators (Prelude.Maybe Prelude.Text)+listDelegatedAdministrators_servicePrincipal = Lens.lens (\ListDelegatedAdministrators' {servicePrincipal} -> servicePrincipal) (\s@ListDelegatedAdministrators' {} a -> s {servicePrincipal = a} :: ListDelegatedAdministrators)++instance Core.AWSPager ListDelegatedAdministrators where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listDelegatedAdministratorsResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listDelegatedAdministratorsResponse_delegatedAdministrators+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listDelegatedAdministrators_nextToken+          Lens..~ rs+          Lens.^? listDelegatedAdministratorsResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest ListDelegatedAdministrators where+  type+    AWSResponse ListDelegatedAdministrators =+      ListDelegatedAdministratorsResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListDelegatedAdministratorsResponse'+            Prelude.<$> ( x+                            Data..?> "DelegatedAdministrators"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (x Data..?> "NextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListDelegatedAdministrators where+  hashWithSalt _salt ListDelegatedAdministrators' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` servicePrincipal++instance Prelude.NFData ListDelegatedAdministrators where+  rnf ListDelegatedAdministrators' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf servicePrincipal++instance Data.ToHeaders ListDelegatedAdministrators where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.ListDelegatedAdministrators" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListDelegatedAdministrators where+  toJSON ListDelegatedAdministrators' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            ("ServicePrincipal" Data..=)+              Prelude.<$> servicePrincipal+          ]+      )++instance Data.ToPath ListDelegatedAdministrators where+  toPath = Prelude.const "/"++instance Data.ToQuery ListDelegatedAdministrators where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListDelegatedAdministratorsResponse' smart constructor.+data ListDelegatedAdministratorsResponse = ListDelegatedAdministratorsResponse'+  { -- | The list of delegated administrators in your organization.+    delegatedAdministrators :: Prelude.Maybe [DelegatedAdministrator],+    -- | If present, indicates that more output is available than is included in+    -- the current response. Use this value in the @NextToken@ request+    -- parameter in a subsequent call to the operation to get the next part of+    -- the output. You should repeat this until the @NextToken@ response+    -- element comes back as @null@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListDelegatedAdministratorsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'delegatedAdministrators', 'listDelegatedAdministratorsResponse_delegatedAdministrators' - The list of delegated administrators in your organization.+--+-- 'nextToken', 'listDelegatedAdministratorsResponse_nextToken' - If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+--+-- 'httpStatus', 'listDelegatedAdministratorsResponse_httpStatus' - The response's http status code.+newListDelegatedAdministratorsResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListDelegatedAdministratorsResponse+newListDelegatedAdministratorsResponse pHttpStatus_ =+  ListDelegatedAdministratorsResponse'+    { delegatedAdministrators =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The list of delegated administrators in your organization.+listDelegatedAdministratorsResponse_delegatedAdministrators :: Lens.Lens' ListDelegatedAdministratorsResponse (Prelude.Maybe [DelegatedAdministrator])+listDelegatedAdministratorsResponse_delegatedAdministrators = Lens.lens (\ListDelegatedAdministratorsResponse' {delegatedAdministrators} -> delegatedAdministrators) (\s@ListDelegatedAdministratorsResponse' {} a -> s {delegatedAdministrators = a} :: ListDelegatedAdministratorsResponse) Prelude.. Lens.mapping Lens.coerced++-- | If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+listDelegatedAdministratorsResponse_nextToken :: Lens.Lens' ListDelegatedAdministratorsResponse (Prelude.Maybe Prelude.Text)+listDelegatedAdministratorsResponse_nextToken = Lens.lens (\ListDelegatedAdministratorsResponse' {nextToken} -> nextToken) (\s@ListDelegatedAdministratorsResponse' {} a -> s {nextToken = a} :: ListDelegatedAdministratorsResponse)++-- | The response's http status code.+listDelegatedAdministratorsResponse_httpStatus :: Lens.Lens' ListDelegatedAdministratorsResponse Prelude.Int+listDelegatedAdministratorsResponse_httpStatus = Lens.lens (\ListDelegatedAdministratorsResponse' {httpStatus} -> httpStatus) (\s@ListDelegatedAdministratorsResponse' {} a -> s {httpStatus = a} :: ListDelegatedAdministratorsResponse)++instance+  Prelude.NFData+    ListDelegatedAdministratorsResponse+  where+  rnf ListDelegatedAdministratorsResponse' {..} =+    Prelude.rnf delegatedAdministrators+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/ListDelegatedServicesForAccount.hs view
@@ -0,0 +1,319 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.ListDelegatedServicesForAccount+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- List the Amazon Web Services services for which the specified account is+-- a delegated administrator.+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+--+-- This operation returns paginated results.+module Amazonka.Organizations.ListDelegatedServicesForAccount+  ( -- * Creating a Request+    ListDelegatedServicesForAccount (..),+    newListDelegatedServicesForAccount,++    -- * Request Lenses+    listDelegatedServicesForAccount_maxResults,+    listDelegatedServicesForAccount_nextToken,+    listDelegatedServicesForAccount_accountId,++    -- * Destructuring the Response+    ListDelegatedServicesForAccountResponse (..),+    newListDelegatedServicesForAccountResponse,++    -- * Response Lenses+    listDelegatedServicesForAccountResponse_delegatedServices,+    listDelegatedServicesForAccountResponse_nextToken,+    listDelegatedServicesForAccountResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListDelegatedServicesForAccount' smart constructor.+data ListDelegatedServicesForAccount = ListDelegatedServicesForAccount'+  { -- | The total number of results that you want included on each page of the+    -- response. If you do not include this parameter, it defaults to a value+    -- that is specific to the operation. If additional items exist beyond the+    -- maximum you specify, the @NextToken@ response element is present and has+    -- a value (is not null). Include that value as the @NextToken@ request+    -- parameter in the next call to the operation to get the next part of the+    -- results. Note that Organizations might return fewer results than the+    -- maximum even when there are more results available. You should check+    -- @NextToken@ after every operation to ensure that you receive all of the+    -- results.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The parameter for receiving additional results if you receive a+    -- @NextToken@ response in a previous request. A @NextToken@ response+    -- indicates that more output is available. Set this parameter to the value+    -- of the previous call\'s @NextToken@ response to indicate where the+    -- output should continue from.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The account ID number of a delegated administrator account in the+    -- organization.+    accountId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListDelegatedServicesForAccount' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listDelegatedServicesForAccount_maxResults' - The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+--+-- 'nextToken', 'listDelegatedServicesForAccount_nextToken' - The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+--+-- 'accountId', 'listDelegatedServicesForAccount_accountId' - The account ID number of a delegated administrator account in the+-- organization.+newListDelegatedServicesForAccount ::+  -- | 'accountId'+  Prelude.Text ->+  ListDelegatedServicesForAccount+newListDelegatedServicesForAccount pAccountId_ =+  ListDelegatedServicesForAccount'+    { maxResults =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      accountId = pAccountId_+    }++-- | The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+listDelegatedServicesForAccount_maxResults :: Lens.Lens' ListDelegatedServicesForAccount (Prelude.Maybe Prelude.Natural)+listDelegatedServicesForAccount_maxResults = Lens.lens (\ListDelegatedServicesForAccount' {maxResults} -> maxResults) (\s@ListDelegatedServicesForAccount' {} a -> s {maxResults = a} :: ListDelegatedServicesForAccount)++-- | The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+listDelegatedServicesForAccount_nextToken :: Lens.Lens' ListDelegatedServicesForAccount (Prelude.Maybe Prelude.Text)+listDelegatedServicesForAccount_nextToken = Lens.lens (\ListDelegatedServicesForAccount' {nextToken} -> nextToken) (\s@ListDelegatedServicesForAccount' {} a -> s {nextToken = a} :: ListDelegatedServicesForAccount)++-- | The account ID number of a delegated administrator account in the+-- organization.+listDelegatedServicesForAccount_accountId :: Lens.Lens' ListDelegatedServicesForAccount Prelude.Text+listDelegatedServicesForAccount_accountId = Lens.lens (\ListDelegatedServicesForAccount' {accountId} -> accountId) (\s@ListDelegatedServicesForAccount' {} a -> s {accountId = a} :: ListDelegatedServicesForAccount)++instance+  Core.AWSPager+    ListDelegatedServicesForAccount+  where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listDelegatedServicesForAccountResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listDelegatedServicesForAccountResponse_delegatedServices+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listDelegatedServicesForAccount_nextToken+          Lens..~ rs+          Lens.^? listDelegatedServicesForAccountResponse_nextToken+          Prelude.. Lens._Just++instance+  Core.AWSRequest+    ListDelegatedServicesForAccount+  where+  type+    AWSResponse ListDelegatedServicesForAccount =+      ListDelegatedServicesForAccountResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListDelegatedServicesForAccountResponse'+            Prelude.<$> ( x+                            Data..?> "DelegatedServices"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (x Data..?> "NextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance+  Prelude.Hashable+    ListDelegatedServicesForAccount+  where+  hashWithSalt+    _salt+    ListDelegatedServicesForAccount' {..} =+      _salt+        `Prelude.hashWithSalt` maxResults+        `Prelude.hashWithSalt` nextToken+        `Prelude.hashWithSalt` accountId++instance+  Prelude.NFData+    ListDelegatedServicesForAccount+  where+  rnf ListDelegatedServicesForAccount' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf accountId++instance+  Data.ToHeaders+    ListDelegatedServicesForAccount+  where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.ListDelegatedServicesForAccount" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListDelegatedServicesForAccount where+  toJSON ListDelegatedServicesForAccount' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            Prelude.Just ("AccountId" Data..= accountId)+          ]+      )++instance Data.ToPath ListDelegatedServicesForAccount where+  toPath = Prelude.const "/"++instance Data.ToQuery ListDelegatedServicesForAccount where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListDelegatedServicesForAccountResponse' smart constructor.+data ListDelegatedServicesForAccountResponse = ListDelegatedServicesForAccountResponse'+  { -- | The services for which the account is a delegated administrator.+    delegatedServices :: Prelude.Maybe [DelegatedService],+    -- | If present, indicates that more output is available than is included in+    -- the current response. Use this value in the @NextToken@ request+    -- parameter in a subsequent call to the operation to get the next part of+    -- the output. You should repeat this until the @NextToken@ response+    -- element comes back as @null@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListDelegatedServicesForAccountResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'delegatedServices', 'listDelegatedServicesForAccountResponse_delegatedServices' - The services for which the account is a delegated administrator.+--+-- 'nextToken', 'listDelegatedServicesForAccountResponse_nextToken' - If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+--+-- 'httpStatus', 'listDelegatedServicesForAccountResponse_httpStatus' - The response's http status code.+newListDelegatedServicesForAccountResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListDelegatedServicesForAccountResponse+newListDelegatedServicesForAccountResponse+  pHttpStatus_ =+    ListDelegatedServicesForAccountResponse'+      { delegatedServices =+          Prelude.Nothing,+        nextToken = Prelude.Nothing,+        httpStatus = pHttpStatus_+      }++-- | The services for which the account is a delegated administrator.+listDelegatedServicesForAccountResponse_delegatedServices :: Lens.Lens' ListDelegatedServicesForAccountResponse (Prelude.Maybe [DelegatedService])+listDelegatedServicesForAccountResponse_delegatedServices = Lens.lens (\ListDelegatedServicesForAccountResponse' {delegatedServices} -> delegatedServices) (\s@ListDelegatedServicesForAccountResponse' {} a -> s {delegatedServices = a} :: ListDelegatedServicesForAccountResponse) Prelude.. Lens.mapping Lens.coerced++-- | If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+listDelegatedServicesForAccountResponse_nextToken :: Lens.Lens' ListDelegatedServicesForAccountResponse (Prelude.Maybe Prelude.Text)+listDelegatedServicesForAccountResponse_nextToken = Lens.lens (\ListDelegatedServicesForAccountResponse' {nextToken} -> nextToken) (\s@ListDelegatedServicesForAccountResponse' {} a -> s {nextToken = a} :: ListDelegatedServicesForAccountResponse)++-- | The response's http status code.+listDelegatedServicesForAccountResponse_httpStatus :: Lens.Lens' ListDelegatedServicesForAccountResponse Prelude.Int+listDelegatedServicesForAccountResponse_httpStatus = Lens.lens (\ListDelegatedServicesForAccountResponse' {httpStatus} -> httpStatus) (\s@ListDelegatedServicesForAccountResponse' {} a -> s {httpStatus = a} :: ListDelegatedServicesForAccountResponse)++instance+  Prelude.NFData+    ListDelegatedServicesForAccountResponse+  where+  rnf ListDelegatedServicesForAccountResponse' {..} =+    Prelude.rnf delegatedServices+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/ListHandshakesForAccount.hs view
@@ -0,0 +1,322 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.ListHandshakesForAccount+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the current handshakes that are associated with the account of the+-- requesting user.+--+-- Handshakes that are @ACCEPTED@, @DECLINED@, @CANCELED@, or @EXPIRED@+-- appear in the results of this API for only 30 days after changing to+-- that state. After that, they\'re deleted and no longer accessible.+--+-- Always check the @NextToken@ response parameter for a @null@ value when+-- calling a @List*@ operation. These operations can occasionally return an+-- empty set of results even when there are more results available. The+-- @NextToken@ response parameter value is @null@ /only/ when there are no+-- more results to display.+--+-- This operation can be called from any account in the organization.+--+-- This operation returns paginated results.+module Amazonka.Organizations.ListHandshakesForAccount+  ( -- * Creating a Request+    ListHandshakesForAccount (..),+    newListHandshakesForAccount,++    -- * Request Lenses+    listHandshakesForAccount_filter,+    listHandshakesForAccount_maxResults,+    listHandshakesForAccount_nextToken,++    -- * Destructuring the Response+    ListHandshakesForAccountResponse (..),+    newListHandshakesForAccountResponse,++    -- * Response Lenses+    listHandshakesForAccountResponse_handshakes,+    listHandshakesForAccountResponse_nextToken,+    listHandshakesForAccountResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListHandshakesForAccount' smart constructor.+data ListHandshakesForAccount = ListHandshakesForAccount'+  { -- | Filters the handshakes that you want included in the response. The+    -- default is all types. Use the @ActionType@ element to limit the output+    -- to only a specified type, such as @INVITE@, @ENABLE_ALL_FEATURES@, or+    -- @APPROVE_ALL_FEATURES@. Alternatively, for the @ENABLE_ALL_FEATURES@+    -- handshake that generates a separate child handshake for each member+    -- account, you can specify @ParentHandshakeId@ to see only the handshakes+    -- that were generated by that parent request.+    filter' :: Prelude.Maybe HandshakeFilter,+    -- | The total number of results that you want included on each page of the+    -- response. If you do not include this parameter, it defaults to a value+    -- that is specific to the operation. If additional items exist beyond the+    -- maximum you specify, the @NextToken@ response element is present and has+    -- a value (is not null). Include that value as the @NextToken@ request+    -- parameter in the next call to the operation to get the next part of the+    -- results. Note that Organizations might return fewer results than the+    -- maximum even when there are more results available. You should check+    -- @NextToken@ after every operation to ensure that you receive all of the+    -- results.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The parameter for receiving additional results if you receive a+    -- @NextToken@ response in a previous request. A @NextToken@ response+    -- indicates that more output is available. Set this parameter to the value+    -- of the previous call\'s @NextToken@ response to indicate where the+    -- output should continue from.+    nextToken :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListHandshakesForAccount' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'filter'', 'listHandshakesForAccount_filter' - Filters the handshakes that you want included in the response. The+-- default is all types. Use the @ActionType@ element to limit the output+-- to only a specified type, such as @INVITE@, @ENABLE_ALL_FEATURES@, or+-- @APPROVE_ALL_FEATURES@. Alternatively, for the @ENABLE_ALL_FEATURES@+-- handshake that generates a separate child handshake for each member+-- account, you can specify @ParentHandshakeId@ to see only the handshakes+-- that were generated by that parent request.+--+-- 'maxResults', 'listHandshakesForAccount_maxResults' - The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+--+-- 'nextToken', 'listHandshakesForAccount_nextToken' - The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+newListHandshakesForAccount ::+  ListHandshakesForAccount+newListHandshakesForAccount =+  ListHandshakesForAccount'+    { filter' =+        Prelude.Nothing,+      maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing+    }++-- | Filters the handshakes that you want included in the response. The+-- default is all types. Use the @ActionType@ element to limit the output+-- to only a specified type, such as @INVITE@, @ENABLE_ALL_FEATURES@, or+-- @APPROVE_ALL_FEATURES@. Alternatively, for the @ENABLE_ALL_FEATURES@+-- handshake that generates a separate child handshake for each member+-- account, you can specify @ParentHandshakeId@ to see only the handshakes+-- that were generated by that parent request.+listHandshakesForAccount_filter :: Lens.Lens' ListHandshakesForAccount (Prelude.Maybe HandshakeFilter)+listHandshakesForAccount_filter = Lens.lens (\ListHandshakesForAccount' {filter'} -> filter') (\s@ListHandshakesForAccount' {} a -> s {filter' = a} :: ListHandshakesForAccount)++-- | The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+listHandshakesForAccount_maxResults :: Lens.Lens' ListHandshakesForAccount (Prelude.Maybe Prelude.Natural)+listHandshakesForAccount_maxResults = Lens.lens (\ListHandshakesForAccount' {maxResults} -> maxResults) (\s@ListHandshakesForAccount' {} a -> s {maxResults = a} :: ListHandshakesForAccount)++-- | The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+listHandshakesForAccount_nextToken :: Lens.Lens' ListHandshakesForAccount (Prelude.Maybe Prelude.Text)+listHandshakesForAccount_nextToken = Lens.lens (\ListHandshakesForAccount' {nextToken} -> nextToken) (\s@ListHandshakesForAccount' {} a -> s {nextToken = a} :: ListHandshakesForAccount)++instance Core.AWSPager ListHandshakesForAccount where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listHandshakesForAccountResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listHandshakesForAccountResponse_handshakes+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listHandshakesForAccount_nextToken+          Lens..~ rs+          Lens.^? listHandshakesForAccountResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest ListHandshakesForAccount where+  type+    AWSResponse ListHandshakesForAccount =+      ListHandshakesForAccountResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListHandshakesForAccountResponse'+            Prelude.<$> (x Data..?> "Handshakes" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "NextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListHandshakesForAccount where+  hashWithSalt _salt ListHandshakesForAccount' {..} =+    _salt+      `Prelude.hashWithSalt` filter'+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListHandshakesForAccount where+  rnf ListHandshakesForAccount' {..} =+    Prelude.rnf filter'+      `Prelude.seq` Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListHandshakesForAccount where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.ListHandshakesForAccount" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListHandshakesForAccount where+  toJSON ListHandshakesForAccount' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Filter" Data..=) Prelude.<$> filter',+            ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken+          ]+      )++instance Data.ToPath ListHandshakesForAccount where+  toPath = Prelude.const "/"++instance Data.ToQuery ListHandshakesForAccount where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListHandshakesForAccountResponse' smart constructor.+data ListHandshakesForAccountResponse = ListHandshakesForAccountResponse'+  { -- | A list of Handshake objects with details about each of the handshakes+    -- that is associated with the specified account.+    handshakes :: Prelude.Maybe [Handshake],+    -- | If present, indicates that more output is available than is included in+    -- the current response. Use this value in the @NextToken@ request+    -- parameter in a subsequent call to the operation to get the next part of+    -- the output. You should repeat this until the @NextToken@ response+    -- element comes back as @null@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListHandshakesForAccountResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'handshakes', 'listHandshakesForAccountResponse_handshakes' - A list of Handshake objects with details about each of the handshakes+-- that is associated with the specified account.+--+-- 'nextToken', 'listHandshakesForAccountResponse_nextToken' - If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+--+-- 'httpStatus', 'listHandshakesForAccountResponse_httpStatus' - The response's http status code.+newListHandshakesForAccountResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListHandshakesForAccountResponse+newListHandshakesForAccountResponse pHttpStatus_ =+  ListHandshakesForAccountResponse'+    { handshakes =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A list of Handshake objects with details about each of the handshakes+-- that is associated with the specified account.+listHandshakesForAccountResponse_handshakes :: Lens.Lens' ListHandshakesForAccountResponse (Prelude.Maybe [Handshake])+listHandshakesForAccountResponse_handshakes = Lens.lens (\ListHandshakesForAccountResponse' {handshakes} -> handshakes) (\s@ListHandshakesForAccountResponse' {} a -> s {handshakes = a} :: ListHandshakesForAccountResponse) Prelude.. Lens.mapping Lens.coerced++-- | If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+listHandshakesForAccountResponse_nextToken :: Lens.Lens' ListHandshakesForAccountResponse (Prelude.Maybe Prelude.Text)+listHandshakesForAccountResponse_nextToken = Lens.lens (\ListHandshakesForAccountResponse' {nextToken} -> nextToken) (\s@ListHandshakesForAccountResponse' {} a -> s {nextToken = a} :: ListHandshakesForAccountResponse)++-- | The response's http status code.+listHandshakesForAccountResponse_httpStatus :: Lens.Lens' ListHandshakesForAccountResponse Prelude.Int+listHandshakesForAccountResponse_httpStatus = Lens.lens (\ListHandshakesForAccountResponse' {httpStatus} -> httpStatus) (\s@ListHandshakesForAccountResponse' {} a -> s {httpStatus = a} :: ListHandshakesForAccountResponse)++instance+  Prelude.NFData+    ListHandshakesForAccountResponse+  where+  rnf ListHandshakesForAccountResponse' {..} =+    Prelude.rnf handshakes+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/ListHandshakesForOrganization.hs view
@@ -0,0 +1,332 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.ListHandshakesForOrganization+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the handshakes that are associated with the organization that the+-- requesting user is part of. The @ListHandshakesForOrganization@+-- operation returns a list of handshake structures. Each structure+-- contains details and status about a handshake.+--+-- Handshakes that are @ACCEPTED@, @DECLINED@, @CANCELED@, or @EXPIRED@+-- appear in the results of this API for only 30 days after changing to+-- that state. After that, they\'re deleted and no longer accessible.+--+-- Always check the @NextToken@ response parameter for a @null@ value when+-- calling a @List*@ operation. These operations can occasionally return an+-- empty set of results even when there are more results available. The+-- @NextToken@ response parameter value is @null@ /only/ when there are no+-- more results to display.+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+--+-- This operation returns paginated results.+module Amazonka.Organizations.ListHandshakesForOrganization+  ( -- * Creating a Request+    ListHandshakesForOrganization (..),+    newListHandshakesForOrganization,++    -- * Request Lenses+    listHandshakesForOrganization_filter,+    listHandshakesForOrganization_maxResults,+    listHandshakesForOrganization_nextToken,++    -- * Destructuring the Response+    ListHandshakesForOrganizationResponse (..),+    newListHandshakesForOrganizationResponse,++    -- * Response Lenses+    listHandshakesForOrganizationResponse_handshakes,+    listHandshakesForOrganizationResponse_nextToken,+    listHandshakesForOrganizationResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListHandshakesForOrganization' smart constructor.+data ListHandshakesForOrganization = ListHandshakesForOrganization'+  { -- | A filter of the handshakes that you want included in the response. The+    -- default is all types. Use the @ActionType@ element to limit the output+    -- to only a specified type, such as @INVITE@, @ENABLE-ALL-FEATURES@, or+    -- @APPROVE-ALL-FEATURES@. Alternatively, for the @ENABLE-ALL-FEATURES@+    -- handshake that generates a separate child handshake for each member+    -- account, you can specify the @ParentHandshakeId@ to see only the+    -- handshakes that were generated by that parent request.+    filter' :: Prelude.Maybe HandshakeFilter,+    -- | The total number of results that you want included on each page of the+    -- response. If you do not include this parameter, it defaults to a value+    -- that is specific to the operation. If additional items exist beyond the+    -- maximum you specify, the @NextToken@ response element is present and has+    -- a value (is not null). Include that value as the @NextToken@ request+    -- parameter in the next call to the operation to get the next part of the+    -- results. Note that Organizations might return fewer results than the+    -- maximum even when there are more results available. You should check+    -- @NextToken@ after every operation to ensure that you receive all of the+    -- results.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The parameter for receiving additional results if you receive a+    -- @NextToken@ response in a previous request. A @NextToken@ response+    -- indicates that more output is available. Set this parameter to the value+    -- of the previous call\'s @NextToken@ response to indicate where the+    -- output should continue from.+    nextToken :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListHandshakesForOrganization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'filter'', 'listHandshakesForOrganization_filter' - A filter of the handshakes that you want included in the response. The+-- default is all types. Use the @ActionType@ element to limit the output+-- to only a specified type, such as @INVITE@, @ENABLE-ALL-FEATURES@, or+-- @APPROVE-ALL-FEATURES@. Alternatively, for the @ENABLE-ALL-FEATURES@+-- handshake that generates a separate child handshake for each member+-- account, you can specify the @ParentHandshakeId@ to see only the+-- handshakes that were generated by that parent request.+--+-- 'maxResults', 'listHandshakesForOrganization_maxResults' - The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+--+-- 'nextToken', 'listHandshakesForOrganization_nextToken' - The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+newListHandshakesForOrganization ::+  ListHandshakesForOrganization+newListHandshakesForOrganization =+  ListHandshakesForOrganization'+    { filter' =+        Prelude.Nothing,+      maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing+    }++-- | A filter of the handshakes that you want included in the response. The+-- default is all types. Use the @ActionType@ element to limit the output+-- to only a specified type, such as @INVITE@, @ENABLE-ALL-FEATURES@, or+-- @APPROVE-ALL-FEATURES@. Alternatively, for the @ENABLE-ALL-FEATURES@+-- handshake that generates a separate child handshake for each member+-- account, you can specify the @ParentHandshakeId@ to see only the+-- handshakes that were generated by that parent request.+listHandshakesForOrganization_filter :: Lens.Lens' ListHandshakesForOrganization (Prelude.Maybe HandshakeFilter)+listHandshakesForOrganization_filter = Lens.lens (\ListHandshakesForOrganization' {filter'} -> filter') (\s@ListHandshakesForOrganization' {} a -> s {filter' = a} :: ListHandshakesForOrganization)++-- | The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+listHandshakesForOrganization_maxResults :: Lens.Lens' ListHandshakesForOrganization (Prelude.Maybe Prelude.Natural)+listHandshakesForOrganization_maxResults = Lens.lens (\ListHandshakesForOrganization' {maxResults} -> maxResults) (\s@ListHandshakesForOrganization' {} a -> s {maxResults = a} :: ListHandshakesForOrganization)++-- | The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+listHandshakesForOrganization_nextToken :: Lens.Lens' ListHandshakesForOrganization (Prelude.Maybe Prelude.Text)+listHandshakesForOrganization_nextToken = Lens.lens (\ListHandshakesForOrganization' {nextToken} -> nextToken) (\s@ListHandshakesForOrganization' {} a -> s {nextToken = a} :: ListHandshakesForOrganization)++instance Core.AWSPager ListHandshakesForOrganization where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listHandshakesForOrganizationResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listHandshakesForOrganizationResponse_handshakes+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listHandshakesForOrganization_nextToken+          Lens..~ rs+          Lens.^? listHandshakesForOrganizationResponse_nextToken+          Prelude.. Lens._Just++instance+  Core.AWSRequest+    ListHandshakesForOrganization+  where+  type+    AWSResponse ListHandshakesForOrganization =+      ListHandshakesForOrganizationResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListHandshakesForOrganizationResponse'+            Prelude.<$> (x Data..?> "Handshakes" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "NextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance+  Prelude.Hashable+    ListHandshakesForOrganization+  where+  hashWithSalt _salt ListHandshakesForOrganization' {..} =+    _salt+      `Prelude.hashWithSalt` filter'+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListHandshakesForOrganization where+  rnf ListHandshakesForOrganization' {..} =+    Prelude.rnf filter'+      `Prelude.seq` Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListHandshakesForOrganization where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.ListHandshakesForOrganization" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListHandshakesForOrganization where+  toJSON ListHandshakesForOrganization' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Filter" Data..=) Prelude.<$> filter',+            ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken+          ]+      )++instance Data.ToPath ListHandshakesForOrganization where+  toPath = Prelude.const "/"++instance Data.ToQuery ListHandshakesForOrganization where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListHandshakesForOrganizationResponse' smart constructor.+data ListHandshakesForOrganizationResponse = ListHandshakesForOrganizationResponse'+  { -- | A list of Handshake objects with details about each of the handshakes+    -- that are associated with an organization.+    handshakes :: Prelude.Maybe [Handshake],+    -- | If present, indicates that more output is available than is included in+    -- the current response. Use this value in the @NextToken@ request+    -- parameter in a subsequent call to the operation to get the next part of+    -- the output. You should repeat this until the @NextToken@ response+    -- element comes back as @null@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListHandshakesForOrganizationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'handshakes', 'listHandshakesForOrganizationResponse_handshakes' - A list of Handshake objects with details about each of the handshakes+-- that are associated with an organization.+--+-- 'nextToken', 'listHandshakesForOrganizationResponse_nextToken' - If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+--+-- 'httpStatus', 'listHandshakesForOrganizationResponse_httpStatus' - The response's http status code.+newListHandshakesForOrganizationResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListHandshakesForOrganizationResponse+newListHandshakesForOrganizationResponse pHttpStatus_ =+  ListHandshakesForOrganizationResponse'+    { handshakes =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A list of Handshake objects with details about each of the handshakes+-- that are associated with an organization.+listHandshakesForOrganizationResponse_handshakes :: Lens.Lens' ListHandshakesForOrganizationResponse (Prelude.Maybe [Handshake])+listHandshakesForOrganizationResponse_handshakes = Lens.lens (\ListHandshakesForOrganizationResponse' {handshakes} -> handshakes) (\s@ListHandshakesForOrganizationResponse' {} a -> s {handshakes = a} :: ListHandshakesForOrganizationResponse) Prelude.. Lens.mapping Lens.coerced++-- | If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+listHandshakesForOrganizationResponse_nextToken :: Lens.Lens' ListHandshakesForOrganizationResponse (Prelude.Maybe Prelude.Text)+listHandshakesForOrganizationResponse_nextToken = Lens.lens (\ListHandshakesForOrganizationResponse' {nextToken} -> nextToken) (\s@ListHandshakesForOrganizationResponse' {} a -> s {nextToken = a} :: ListHandshakesForOrganizationResponse)++-- | The response's http status code.+listHandshakesForOrganizationResponse_httpStatus :: Lens.Lens' ListHandshakesForOrganizationResponse Prelude.Int+listHandshakesForOrganizationResponse_httpStatus = Lens.lens (\ListHandshakesForOrganizationResponse' {httpStatus} -> httpStatus) (\s@ListHandshakesForOrganizationResponse' {} a -> s {httpStatus = a} :: ListHandshakesForOrganizationResponse)++instance+  Prelude.NFData+    ListHandshakesForOrganizationResponse+  where+  rnf ListHandshakesForOrganizationResponse' {..} =+    Prelude.rnf handshakes+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/ListOrganizationalUnitsForParent.hs view
@@ -0,0 +1,362 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.ListOrganizationalUnitsForParent+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the organizational units (OUs) in a parent organizational unit or+-- root.+--+-- Always check the @NextToken@ response parameter for a @null@ value when+-- calling a @List*@ operation. These operations can occasionally return an+-- empty set of results even when there are more results available. The+-- @NextToken@ response parameter value is @null@ /only/ when there are no+-- more results to display.+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+--+-- This operation returns paginated results.+module Amazonka.Organizations.ListOrganizationalUnitsForParent+  ( -- * Creating a Request+    ListOrganizationalUnitsForParent (..),+    newListOrganizationalUnitsForParent,++    -- * Request Lenses+    listOrganizationalUnitsForParent_maxResults,+    listOrganizationalUnitsForParent_nextToken,+    listOrganizationalUnitsForParent_parentId,++    -- * Destructuring the Response+    ListOrganizationalUnitsForParentResponse (..),+    newListOrganizationalUnitsForParentResponse,++    -- * Response Lenses+    listOrganizationalUnitsForParentResponse_nextToken,+    listOrganizationalUnitsForParentResponse_organizationalUnits,+    listOrganizationalUnitsForParentResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListOrganizationalUnitsForParent' smart constructor.+data ListOrganizationalUnitsForParent = ListOrganizationalUnitsForParent'+  { -- | The total number of results that you want included on each page of the+    -- response. If you do not include this parameter, it defaults to a value+    -- that is specific to the operation. If additional items exist beyond the+    -- maximum you specify, the @NextToken@ response element is present and has+    -- a value (is not null). Include that value as the @NextToken@ request+    -- parameter in the next call to the operation to get the next part of the+    -- results. Note that Organizations might return fewer results than the+    -- maximum even when there are more results available. You should check+    -- @NextToken@ after every operation to ensure that you receive all of the+    -- results.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The parameter for receiving additional results if you receive a+    -- @NextToken@ response in a previous request. A @NextToken@ response+    -- indicates that more output is available. Set this parameter to the value+    -- of the previous call\'s @NextToken@ response to indicate where the+    -- output should continue from.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier (ID) of the root or OU whose child OUs you want to+    -- list.+    --+    -- The <http://wikipedia.org/wiki/regex 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+    --     lowercase letters or digits.+    --+    -- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+    --     followed by from 4 to 32 lowercase letters or digits (the ID of the+    --     root that the OU is in). This string is followed by a second \"-\"+    --     dash and from 8 to 32 additional lowercase letters or digits.+    parentId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListOrganizationalUnitsForParent' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listOrganizationalUnitsForParent_maxResults' - The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+--+-- 'nextToken', 'listOrganizationalUnitsForParent_nextToken' - The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+--+-- 'parentId', 'listOrganizationalUnitsForParent_parentId' - The unique identifier (ID) of the root or OU whose child OUs you want to+-- list.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+newListOrganizationalUnitsForParent ::+  -- | 'parentId'+  Prelude.Text ->+  ListOrganizationalUnitsForParent+newListOrganizationalUnitsForParent pParentId_ =+  ListOrganizationalUnitsForParent'+    { maxResults =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      parentId = pParentId_+    }++-- | The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+listOrganizationalUnitsForParent_maxResults :: Lens.Lens' ListOrganizationalUnitsForParent (Prelude.Maybe Prelude.Natural)+listOrganizationalUnitsForParent_maxResults = Lens.lens (\ListOrganizationalUnitsForParent' {maxResults} -> maxResults) (\s@ListOrganizationalUnitsForParent' {} a -> s {maxResults = a} :: ListOrganizationalUnitsForParent)++-- | The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+listOrganizationalUnitsForParent_nextToken :: Lens.Lens' ListOrganizationalUnitsForParent (Prelude.Maybe Prelude.Text)+listOrganizationalUnitsForParent_nextToken = Lens.lens (\ListOrganizationalUnitsForParent' {nextToken} -> nextToken) (\s@ListOrganizationalUnitsForParent' {} a -> s {nextToken = a} :: ListOrganizationalUnitsForParent)++-- | The unique identifier (ID) of the root or OU whose child OUs you want to+-- list.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+listOrganizationalUnitsForParent_parentId :: Lens.Lens' ListOrganizationalUnitsForParent Prelude.Text+listOrganizationalUnitsForParent_parentId = Lens.lens (\ListOrganizationalUnitsForParent' {parentId} -> parentId) (\s@ListOrganizationalUnitsForParent' {} a -> s {parentId = a} :: ListOrganizationalUnitsForParent)++instance+  Core.AWSPager+    ListOrganizationalUnitsForParent+  where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listOrganizationalUnitsForParentResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listOrganizationalUnitsForParentResponse_organizationalUnits+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listOrganizationalUnitsForParent_nextToken+          Lens..~ rs+          Lens.^? listOrganizationalUnitsForParentResponse_nextToken+          Prelude.. Lens._Just++instance+  Core.AWSRequest+    ListOrganizationalUnitsForParent+  where+  type+    AWSResponse ListOrganizationalUnitsForParent =+      ListOrganizationalUnitsForParentResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListOrganizationalUnitsForParentResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> ( x+                            Data..?> "OrganizationalUnits"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance+  Prelude.Hashable+    ListOrganizationalUnitsForParent+  where+  hashWithSalt+    _salt+    ListOrganizationalUnitsForParent' {..} =+      _salt+        `Prelude.hashWithSalt` maxResults+        `Prelude.hashWithSalt` nextToken+        `Prelude.hashWithSalt` parentId++instance+  Prelude.NFData+    ListOrganizationalUnitsForParent+  where+  rnf ListOrganizationalUnitsForParent' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf parentId++instance+  Data.ToHeaders+    ListOrganizationalUnitsForParent+  where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.ListOrganizationalUnitsForParent" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListOrganizationalUnitsForParent where+  toJSON ListOrganizationalUnitsForParent' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            Prelude.Just ("ParentId" Data..= parentId)+          ]+      )++instance Data.ToPath ListOrganizationalUnitsForParent where+  toPath = Prelude.const "/"++instance+  Data.ToQuery+    ListOrganizationalUnitsForParent+  where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListOrganizationalUnitsForParentResponse' smart constructor.+data ListOrganizationalUnitsForParentResponse = ListOrganizationalUnitsForParentResponse'+  { -- | If present, indicates that more output is available than is included in+    -- the current response. Use this value in the @NextToken@ request+    -- parameter in a subsequent call to the operation to get the next part of+    -- the output. You should repeat this until the @NextToken@ response+    -- element comes back as @null@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | A list of the OUs in the specified root or parent OU.+    organizationalUnits :: Prelude.Maybe [OrganizationalUnit],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListOrganizationalUnitsForParentResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listOrganizationalUnitsForParentResponse_nextToken' - If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+--+-- 'organizationalUnits', 'listOrganizationalUnitsForParentResponse_organizationalUnits' - A list of the OUs in the specified root or parent OU.+--+-- 'httpStatus', 'listOrganizationalUnitsForParentResponse_httpStatus' - The response's http status code.+newListOrganizationalUnitsForParentResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListOrganizationalUnitsForParentResponse+newListOrganizationalUnitsForParentResponse+  pHttpStatus_ =+    ListOrganizationalUnitsForParentResponse'+      { nextToken =+          Prelude.Nothing,+        organizationalUnits =+          Prelude.Nothing,+        httpStatus = pHttpStatus_+      }++-- | If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+listOrganizationalUnitsForParentResponse_nextToken :: Lens.Lens' ListOrganizationalUnitsForParentResponse (Prelude.Maybe Prelude.Text)+listOrganizationalUnitsForParentResponse_nextToken = Lens.lens (\ListOrganizationalUnitsForParentResponse' {nextToken} -> nextToken) (\s@ListOrganizationalUnitsForParentResponse' {} a -> s {nextToken = a} :: ListOrganizationalUnitsForParentResponse)++-- | A list of the OUs in the specified root or parent OU.+listOrganizationalUnitsForParentResponse_organizationalUnits :: Lens.Lens' ListOrganizationalUnitsForParentResponse (Prelude.Maybe [OrganizationalUnit])+listOrganizationalUnitsForParentResponse_organizationalUnits = Lens.lens (\ListOrganizationalUnitsForParentResponse' {organizationalUnits} -> organizationalUnits) (\s@ListOrganizationalUnitsForParentResponse' {} a -> s {organizationalUnits = a} :: ListOrganizationalUnitsForParentResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listOrganizationalUnitsForParentResponse_httpStatus :: Lens.Lens' ListOrganizationalUnitsForParentResponse Prelude.Int+listOrganizationalUnitsForParentResponse_httpStatus = Lens.lens (\ListOrganizationalUnitsForParentResponse' {httpStatus} -> httpStatus) (\s@ListOrganizationalUnitsForParentResponse' {} a -> s {httpStatus = a} :: ListOrganizationalUnitsForParentResponse)++instance+  Prelude.NFData+    ListOrganizationalUnitsForParentResponse+  where+  rnf ListOrganizationalUnitsForParentResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf organizationalUnits+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/ListParents.hs view
@@ -0,0 +1,331 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.ListParents+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the root or organizational units (OUs) that serve as the immediate+-- parent of the specified child OU or account. This operation, along with+-- ListChildren enables you to traverse the tree structure that makes up+-- this root.+--+-- Always check the @NextToken@ response parameter for a @null@ value when+-- calling a @List*@ operation. These operations can occasionally return an+-- empty set of results even when there are more results available. The+-- @NextToken@ response parameter value is @null@ /only/ when there are no+-- more results to display.+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+--+-- In the current release, a child can have only a single parent.+--+-- This operation returns paginated results.+module Amazonka.Organizations.ListParents+  ( -- * Creating a Request+    ListParents (..),+    newListParents,++    -- * Request Lenses+    listParents_maxResults,+    listParents_nextToken,+    listParents_childId,++    -- * Destructuring the Response+    ListParentsResponse (..),+    newListParentsResponse,++    -- * Response Lenses+    listParentsResponse_nextToken,+    listParentsResponse_parents,+    listParentsResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListParents' smart constructor.+data ListParents = ListParents'+  { -- | The total number of results that you want included on each page of the+    -- response. If you do not include this parameter, it defaults to a value+    -- that is specific to the operation. If additional items exist beyond the+    -- maximum you specify, the @NextToken@ response element is present and has+    -- a value (is not null). Include that value as the @NextToken@ request+    -- parameter in the next call to the operation to get the next part of the+    -- results. Note that Organizations might return fewer results than the+    -- maximum even when there are more results available. You should check+    -- @NextToken@ after every operation to ensure that you receive all of the+    -- results.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The parameter for receiving additional results if you receive a+    -- @NextToken@ response in a previous request. A @NextToken@ response+    -- indicates that more output is available. Set this parameter to the value+    -- of the previous call\'s @NextToken@ response to indicate where the+    -- output should continue from.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier (ID) of the OU or account whose parent containers+    -- you want to list. Don\'t specify a root.+    --+    -- The <http://wikipedia.org/wiki/regex 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 lowercase letters or digits (the ID of the+    --     root that contains the OU). This string is followed by a second+    --     \"-\" dash and from 8 to 32 additional lowercase letters or digits.+    childId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListParents' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listParents_maxResults' - The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+--+-- 'nextToken', 'listParents_nextToken' - The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+--+-- 'childId', 'listParents_childId' - The unique identifier (ID) of the OU or account whose parent containers+-- you want to list. Don\'t specify a root.+--+-- The <http://wikipedia.org/wiki/regex 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 lowercase letters or digits (the ID of the+--     root that contains the OU). This string is followed by a second+--     \"-\" dash and from 8 to 32 additional lowercase letters or digits.+newListParents ::+  -- | 'childId'+  Prelude.Text ->+  ListParents+newListParents pChildId_ =+  ListParents'+    { maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing,+      childId = pChildId_+    }++-- | The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+listParents_maxResults :: Lens.Lens' ListParents (Prelude.Maybe Prelude.Natural)+listParents_maxResults = Lens.lens (\ListParents' {maxResults} -> maxResults) (\s@ListParents' {} a -> s {maxResults = a} :: ListParents)++-- | The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+listParents_nextToken :: Lens.Lens' ListParents (Prelude.Maybe Prelude.Text)+listParents_nextToken = Lens.lens (\ListParents' {nextToken} -> nextToken) (\s@ListParents' {} a -> s {nextToken = a} :: ListParents)++-- | The unique identifier (ID) of the OU or account whose parent containers+-- you want to list. Don\'t specify a root.+--+-- The <http://wikipedia.org/wiki/regex 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 lowercase letters or digits (the ID of the+--     root that contains the OU). This string is followed by a second+--     \"-\" dash and from 8 to 32 additional lowercase letters or digits.+listParents_childId :: Lens.Lens' ListParents Prelude.Text+listParents_childId = Lens.lens (\ListParents' {childId} -> childId) (\s@ListParents' {} a -> s {childId = a} :: ListParents)++instance Core.AWSPager ListParents where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listParentsResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listParentsResponse_parents+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listParents_nextToken+          Lens..~ rs+          Lens.^? listParentsResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest ListParents where+  type AWSResponse ListParents = ListParentsResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListParentsResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> (x Data..?> "Parents" Core..!@ Prelude.mempty)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListParents where+  hashWithSalt _salt ListParents' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` childId++instance Prelude.NFData ListParents where+  rnf ListParents' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf childId++instance Data.ToHeaders ListParents where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.ListParents" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListParents where+  toJSON ListParents' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            Prelude.Just ("ChildId" Data..= childId)+          ]+      )++instance Data.ToPath ListParents where+  toPath = Prelude.const "/"++instance Data.ToQuery ListParents where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListParentsResponse' smart constructor.+data ListParentsResponse = ListParentsResponse'+  { -- | If present, indicates that more output is available than is included in+    -- the current response. Use this value in the @NextToken@ request+    -- parameter in a subsequent call to the operation to get the next part of+    -- the output. You should repeat this until the @NextToken@ response+    -- element comes back as @null@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | A list of parents for the specified child account or OU.+    parents :: Prelude.Maybe [Parent],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListParentsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listParentsResponse_nextToken' - If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+--+-- 'parents', 'listParentsResponse_parents' - A list of parents for the specified child account or OU.+--+-- 'httpStatus', 'listParentsResponse_httpStatus' - The response's http status code.+newListParentsResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListParentsResponse+newListParentsResponse pHttpStatus_ =+  ListParentsResponse'+    { nextToken = Prelude.Nothing,+      parents = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+listParentsResponse_nextToken :: Lens.Lens' ListParentsResponse (Prelude.Maybe Prelude.Text)+listParentsResponse_nextToken = Lens.lens (\ListParentsResponse' {nextToken} -> nextToken) (\s@ListParentsResponse' {} a -> s {nextToken = a} :: ListParentsResponse)++-- | A list of parents for the specified child account or OU.+listParentsResponse_parents :: Lens.Lens' ListParentsResponse (Prelude.Maybe [Parent])+listParentsResponse_parents = Lens.lens (\ListParentsResponse' {parents} -> parents) (\s@ListParentsResponse' {} a -> s {parents = a} :: ListParentsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listParentsResponse_httpStatus :: Lens.Lens' ListParentsResponse Prelude.Int+listParentsResponse_httpStatus = Lens.lens (\ListParentsResponse' {httpStatus} -> httpStatus) (\s@ListParentsResponse' {} a -> s {httpStatus = a} :: ListParentsResponse)++instance Prelude.NFData ListParentsResponse where+  rnf ListParentsResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf parents+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/ListPolicies.hs view
@@ -0,0 +1,327 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.ListPolicies+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves the list of all policies in an organization of a specified+-- type.+--+-- Always check the @NextToken@ response parameter for a @null@ value when+-- calling a @List*@ operation. These operations can occasionally return an+-- empty set of results even when there are more results available. The+-- @NextToken@ response parameter value is @null@ /only/ when there are no+-- more results to display.+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+--+-- This operation returns paginated results.+module Amazonka.Organizations.ListPolicies+  ( -- * Creating a Request+    ListPolicies (..),+    newListPolicies,++    -- * Request Lenses+    listPolicies_maxResults,+    listPolicies_nextToken,+    listPolicies_filter,++    -- * Destructuring the Response+    ListPoliciesResponse (..),+    newListPoliciesResponse,++    -- * Response Lenses+    listPoliciesResponse_nextToken,+    listPoliciesResponse_policies,+    listPoliciesResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListPolicies' smart constructor.+data ListPolicies = ListPolicies'+  { -- | The total number of results that you want included on each page of the+    -- response. If you do not include this parameter, it defaults to a value+    -- that is specific to the operation. If additional items exist beyond the+    -- maximum you specify, the @NextToken@ response element is present and has+    -- a value (is not null). Include that value as the @NextToken@ request+    -- parameter in the next call to the operation to get the next part of the+    -- results. Note that Organizations might return fewer results than the+    -- maximum even when there are more results available. You should check+    -- @NextToken@ after every operation to ensure that you receive all of the+    -- results.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The parameter for receiving additional results if you receive a+    -- @NextToken@ response in a previous request. A @NextToken@ response+    -- indicates that more output is available. Set this parameter to the value+    -- of the previous call\'s @NextToken@ response to indicate where the+    -- output should continue from.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | Specifies the type of policy that you want to include in the response.+    -- You must specify one of the following values:+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html SERVICE_CONTROL_POLICY>+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+    filter' :: PolicyType+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListPolicies' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listPolicies_maxResults' - The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+--+-- 'nextToken', 'listPolicies_nextToken' - The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+--+-- 'filter'', 'listPolicies_filter' - Specifies the type of policy that you want to include in the response.+-- You must specify one of the following values:+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html SERVICE_CONTROL_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+newListPolicies ::+  -- | 'filter''+  PolicyType ->+  ListPolicies+newListPolicies pFilter_ =+  ListPolicies'+    { maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing,+      filter' = pFilter_+    }++-- | The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+listPolicies_maxResults :: Lens.Lens' ListPolicies (Prelude.Maybe Prelude.Natural)+listPolicies_maxResults = Lens.lens (\ListPolicies' {maxResults} -> maxResults) (\s@ListPolicies' {} a -> s {maxResults = a} :: ListPolicies)++-- | The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+listPolicies_nextToken :: Lens.Lens' ListPolicies (Prelude.Maybe Prelude.Text)+listPolicies_nextToken = Lens.lens (\ListPolicies' {nextToken} -> nextToken) (\s@ListPolicies' {} a -> s {nextToken = a} :: ListPolicies)++-- | Specifies the type of policy that you want to include in the response.+-- You must specify one of the following values:+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html SERVICE_CONTROL_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+listPolicies_filter :: Lens.Lens' ListPolicies PolicyType+listPolicies_filter = Lens.lens (\ListPolicies' {filter'} -> filter') (\s@ListPolicies' {} a -> s {filter' = a} :: ListPolicies)++instance Core.AWSPager ListPolicies where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listPoliciesResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listPoliciesResponse_policies+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listPolicies_nextToken+          Lens..~ rs+          Lens.^? listPoliciesResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest ListPolicies where+  type AWSResponse ListPolicies = ListPoliciesResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListPoliciesResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> (x Data..?> "Policies" Core..!@ Prelude.mempty)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListPolicies where+  hashWithSalt _salt ListPolicies' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` filter'++instance Prelude.NFData ListPolicies where+  rnf ListPolicies' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf filter'++instance Data.ToHeaders ListPolicies where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.ListPolicies" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListPolicies where+  toJSON ListPolicies' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            Prelude.Just ("Filter" Data..= filter')+          ]+      )++instance Data.ToPath ListPolicies where+  toPath = Prelude.const "/"++instance Data.ToQuery ListPolicies where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListPoliciesResponse' smart constructor.+data ListPoliciesResponse = ListPoliciesResponse'+  { -- | If present, indicates that more output is available than is included in+    -- the current response. Use this value in the @NextToken@ request+    -- parameter in a subsequent call to the operation to get the next part of+    -- the output. You should repeat this until the @NextToken@ response+    -- element comes back as @null@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | A list of policies that match the filter criteria in the request. The+    -- output list doesn\'t include the policy contents. To see the content for+    -- a policy, see DescribePolicy.+    policies :: Prelude.Maybe [PolicySummary],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListPoliciesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listPoliciesResponse_nextToken' - If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+--+-- 'policies', 'listPoliciesResponse_policies' - A list of policies that match the filter criteria in the request. The+-- output list doesn\'t include the policy contents. To see the content for+-- a policy, see DescribePolicy.+--+-- 'httpStatus', 'listPoliciesResponse_httpStatus' - The response's http status code.+newListPoliciesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListPoliciesResponse+newListPoliciesResponse pHttpStatus_ =+  ListPoliciesResponse'+    { nextToken = Prelude.Nothing,+      policies = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+listPoliciesResponse_nextToken :: Lens.Lens' ListPoliciesResponse (Prelude.Maybe Prelude.Text)+listPoliciesResponse_nextToken = Lens.lens (\ListPoliciesResponse' {nextToken} -> nextToken) (\s@ListPoliciesResponse' {} a -> s {nextToken = a} :: ListPoliciesResponse)++-- | A list of policies that match the filter criteria in the request. The+-- output list doesn\'t include the policy contents. To see the content for+-- a policy, see DescribePolicy.+listPoliciesResponse_policies :: Lens.Lens' ListPoliciesResponse (Prelude.Maybe [PolicySummary])+listPoliciesResponse_policies = Lens.lens (\ListPoliciesResponse' {policies} -> policies) (\s@ListPoliciesResponse' {} a -> s {policies = a} :: ListPoliciesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listPoliciesResponse_httpStatus :: Lens.Lens' ListPoliciesResponse Prelude.Int+listPoliciesResponse_httpStatus = Lens.lens (\ListPoliciesResponse' {httpStatus} -> httpStatus) (\s@ListPoliciesResponse' {} a -> s {httpStatus = a} :: ListPoliciesResponse)++instance Prelude.NFData ListPoliciesResponse where+  rnf ListPoliciesResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf policies+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/ListPoliciesForTarget.hs view
@@ -0,0 +1,383 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.ListPoliciesForTarget+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the policies that are directly attached to the specified target+-- root, organizational unit (OU), or account. You must specify the policy+-- type that you want included in the returned list.+--+-- Always check the @NextToken@ response parameter for a @null@ value when+-- calling a @List*@ operation. These operations can occasionally return an+-- empty set of results even when there are more results available. The+-- @NextToken@ response parameter value is @null@ /only/ when there are no+-- more results to display.+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+--+-- This operation returns paginated results.+module Amazonka.Organizations.ListPoliciesForTarget+  ( -- * Creating a Request+    ListPoliciesForTarget (..),+    newListPoliciesForTarget,++    -- * Request Lenses+    listPoliciesForTarget_maxResults,+    listPoliciesForTarget_nextToken,+    listPoliciesForTarget_targetId,+    listPoliciesForTarget_filter,++    -- * Destructuring the Response+    ListPoliciesForTargetResponse (..),+    newListPoliciesForTargetResponse,++    -- * Response Lenses+    listPoliciesForTargetResponse_nextToken,+    listPoliciesForTargetResponse_policies,+    listPoliciesForTargetResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListPoliciesForTarget' smart constructor.+data ListPoliciesForTarget = ListPoliciesForTarget'+  { -- | The total number of results that you want included on each page of the+    -- response. If you do not include this parameter, it defaults to a value+    -- that is specific to the operation. If additional items exist beyond the+    -- maximum you specify, the @NextToken@ response element is present and has+    -- a value (is not null). Include that value as the @NextToken@ request+    -- parameter in the next call to the operation to get the next part of the+    -- results. Note that Organizations might return fewer results than the+    -- maximum even when there are more results available. You should check+    -- @NextToken@ after every operation to ensure that you receive all of the+    -- results.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The parameter for receiving additional results if you receive a+    -- @NextToken@ response in a previous request. A @NextToken@ response+    -- indicates that more output is available. Set this parameter to the value+    -- of the previous call\'s @NextToken@ response to indicate where the+    -- output should continue from.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier (ID) of the root, organizational unit, or account+    -- whose policies you want to list.+    --+    -- The <http://wikipedia.org/wiki/regex 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+    --     lowercase letters or digits.+    --+    -- -   __Account__ - A string that consists of exactly 12 digits.+    --+    -- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+    --     followed by from 4 to 32 lowercase letters or digits (the ID of the+    --     root that the OU is in). This string is followed by a second \"-\"+    --     dash and from 8 to 32 additional lowercase letters or digits.+    targetId :: Prelude.Text,+    -- | The type of policy that you want to include in the returned list. You+    -- must specify one of the following values:+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html SERVICE_CONTROL_POLICY>+    --+    -- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+    filter' :: PolicyType+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListPoliciesForTarget' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listPoliciesForTarget_maxResults' - The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+--+-- 'nextToken', 'listPoliciesForTarget_nextToken' - The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+--+-- 'targetId', 'listPoliciesForTarget_targetId' - The unique identifier (ID) of the root, organizational unit, or account+-- whose policies you want to list.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Account__ - A string that consists of exactly 12 digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+--+-- 'filter'', 'listPoliciesForTarget_filter' - The type of policy that you want to include in the returned list. You+-- must specify one of the following values:+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html SERVICE_CONTROL_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+newListPoliciesForTarget ::+  -- | 'targetId'+  Prelude.Text ->+  -- | 'filter''+  PolicyType ->+  ListPoliciesForTarget+newListPoliciesForTarget pTargetId_ pFilter_ =+  ListPoliciesForTarget'+    { maxResults =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      targetId = pTargetId_,+      filter' = pFilter_+    }++-- | The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+listPoliciesForTarget_maxResults :: Lens.Lens' ListPoliciesForTarget (Prelude.Maybe Prelude.Natural)+listPoliciesForTarget_maxResults = Lens.lens (\ListPoliciesForTarget' {maxResults} -> maxResults) (\s@ListPoliciesForTarget' {} a -> s {maxResults = a} :: ListPoliciesForTarget)++-- | The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+listPoliciesForTarget_nextToken :: Lens.Lens' ListPoliciesForTarget (Prelude.Maybe Prelude.Text)+listPoliciesForTarget_nextToken = Lens.lens (\ListPoliciesForTarget' {nextToken} -> nextToken) (\s@ListPoliciesForTarget' {} a -> s {nextToken = a} :: ListPoliciesForTarget)++-- | The unique identifier (ID) of the root, organizational unit, or account+-- whose policies you want to list.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Account__ - A string that consists of exactly 12 digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+listPoliciesForTarget_targetId :: Lens.Lens' ListPoliciesForTarget Prelude.Text+listPoliciesForTarget_targetId = Lens.lens (\ListPoliciesForTarget' {targetId} -> targetId) (\s@ListPoliciesForTarget' {} a -> s {targetId = a} :: ListPoliciesForTarget)++-- | The type of policy that you want to include in the returned list. You+-- must specify one of the following values:+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html AISERVICES_OPT_OUT_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html BACKUP_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html SERVICE_CONTROL_POLICY>+--+-- -   <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html TAG_POLICY>+listPoliciesForTarget_filter :: Lens.Lens' ListPoliciesForTarget PolicyType+listPoliciesForTarget_filter = Lens.lens (\ListPoliciesForTarget' {filter'} -> filter') (\s@ListPoliciesForTarget' {} a -> s {filter' = a} :: ListPoliciesForTarget)++instance Core.AWSPager ListPoliciesForTarget where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listPoliciesForTargetResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listPoliciesForTargetResponse_policies+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listPoliciesForTarget_nextToken+          Lens..~ rs+          Lens.^? listPoliciesForTargetResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest ListPoliciesForTarget where+  type+    AWSResponse ListPoliciesForTarget =+      ListPoliciesForTargetResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListPoliciesForTargetResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> (x Data..?> "Policies" Core..!@ Prelude.mempty)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListPoliciesForTarget where+  hashWithSalt _salt ListPoliciesForTarget' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` targetId+      `Prelude.hashWithSalt` filter'++instance Prelude.NFData ListPoliciesForTarget where+  rnf ListPoliciesForTarget' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf targetId+      `Prelude.seq` Prelude.rnf filter'++instance Data.ToHeaders ListPoliciesForTarget where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.ListPoliciesForTarget" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListPoliciesForTarget where+  toJSON ListPoliciesForTarget' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            Prelude.Just ("TargetId" Data..= targetId),+            Prelude.Just ("Filter" Data..= filter')+          ]+      )++instance Data.ToPath ListPoliciesForTarget where+  toPath = Prelude.const "/"++instance Data.ToQuery ListPoliciesForTarget where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListPoliciesForTargetResponse' smart constructor.+data ListPoliciesForTargetResponse = ListPoliciesForTargetResponse'+  { -- | If present, indicates that more output is available than is included in+    -- the current response. Use this value in the @NextToken@ request+    -- parameter in a subsequent call to the operation to get the next part of+    -- the output. You should repeat this until the @NextToken@ response+    -- element comes back as @null@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The list of policies that match the criteria in the request.+    policies :: Prelude.Maybe [PolicySummary],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListPoliciesForTargetResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listPoliciesForTargetResponse_nextToken' - If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+--+-- 'policies', 'listPoliciesForTargetResponse_policies' - The list of policies that match the criteria in the request.+--+-- 'httpStatus', 'listPoliciesForTargetResponse_httpStatus' - The response's http status code.+newListPoliciesForTargetResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListPoliciesForTargetResponse+newListPoliciesForTargetResponse pHttpStatus_ =+  ListPoliciesForTargetResponse'+    { nextToken =+        Prelude.Nothing,+      policies = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+listPoliciesForTargetResponse_nextToken :: Lens.Lens' ListPoliciesForTargetResponse (Prelude.Maybe Prelude.Text)+listPoliciesForTargetResponse_nextToken = Lens.lens (\ListPoliciesForTargetResponse' {nextToken} -> nextToken) (\s@ListPoliciesForTargetResponse' {} a -> s {nextToken = a} :: ListPoliciesForTargetResponse)++-- | The list of policies that match the criteria in the request.+listPoliciesForTargetResponse_policies :: Lens.Lens' ListPoliciesForTargetResponse (Prelude.Maybe [PolicySummary])+listPoliciesForTargetResponse_policies = Lens.lens (\ListPoliciesForTargetResponse' {policies} -> policies) (\s@ListPoliciesForTargetResponse' {} a -> s {policies = a} :: ListPoliciesForTargetResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listPoliciesForTargetResponse_httpStatus :: Lens.Lens' ListPoliciesForTargetResponse Prelude.Int+listPoliciesForTargetResponse_httpStatus = Lens.lens (\ListPoliciesForTargetResponse' {httpStatus} -> httpStatus) (\s@ListPoliciesForTargetResponse' {} a -> s {httpStatus = a} :: ListPoliciesForTargetResponse)++instance Prelude.NFData ListPoliciesForTargetResponse where+  rnf ListPoliciesForTargetResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf policies+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/ListRoots.hs view
@@ -0,0 +1,285 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.ListRoots+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the roots that are defined in the current organization.+--+-- Always check the @NextToken@ response parameter for a @null@ value when+-- calling a @List*@ operation. These operations can occasionally return an+-- empty set of results even when there are more results available. The+-- @NextToken@ response parameter value is @null@ /only/ when there are no+-- more results to display.+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+--+-- Policy types can be enabled and disabled in roots. This is distinct from+-- whether they\'re available in the organization. When you enable all+-- features, you make policy types available for use in that organization.+-- Individual policy types can then be enabled and disabled in a root. To+-- see the availability of a policy type in an organization, use+-- DescribeOrganization.+--+-- This operation returns paginated results.+module Amazonka.Organizations.ListRoots+  ( -- * Creating a Request+    ListRoots (..),+    newListRoots,++    -- * Request Lenses+    listRoots_maxResults,+    listRoots_nextToken,++    -- * Destructuring the Response+    ListRootsResponse (..),+    newListRootsResponse,++    -- * Response Lenses+    listRootsResponse_nextToken,+    listRootsResponse_roots,+    listRootsResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListRoots' smart constructor.+data ListRoots = ListRoots'+  { -- | The total number of results that you want included on each page of the+    -- response. If you do not include this parameter, it defaults to a value+    -- that is specific to the operation. If additional items exist beyond the+    -- maximum you specify, the @NextToken@ response element is present and has+    -- a value (is not null). Include that value as the @NextToken@ request+    -- parameter in the next call to the operation to get the next part of the+    -- results. Note that Organizations might return fewer results than the+    -- maximum even when there are more results available. You should check+    -- @NextToken@ after every operation to ensure that you receive all of the+    -- results.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The parameter for receiving additional results if you receive a+    -- @NextToken@ response in a previous request. A @NextToken@ response+    -- indicates that more output is available. Set this parameter to the value+    -- of the previous call\'s @NextToken@ response to indicate where the+    -- output should continue from.+    nextToken :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListRoots' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listRoots_maxResults' - The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+--+-- 'nextToken', 'listRoots_nextToken' - The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+newListRoots ::+  ListRoots+newListRoots =+  ListRoots'+    { maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing+    }++-- | The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+listRoots_maxResults :: Lens.Lens' ListRoots (Prelude.Maybe Prelude.Natural)+listRoots_maxResults = Lens.lens (\ListRoots' {maxResults} -> maxResults) (\s@ListRoots' {} a -> s {maxResults = a} :: ListRoots)++-- | The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+listRoots_nextToken :: Lens.Lens' ListRoots (Prelude.Maybe Prelude.Text)+listRoots_nextToken = Lens.lens (\ListRoots' {nextToken} -> nextToken) (\s@ListRoots' {} a -> s {nextToken = a} :: ListRoots)++instance Core.AWSPager ListRoots where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listRootsResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listRootsResponse_roots+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listRoots_nextToken+          Lens..~ rs+          Lens.^? listRootsResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest ListRoots where+  type AWSResponse ListRoots = ListRootsResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListRootsResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> (x Data..?> "Roots" Core..!@ Prelude.mempty)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListRoots where+  hashWithSalt _salt ListRoots' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListRoots where+  rnf ListRoots' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListRoots where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.ListRoots" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListRoots where+  toJSON ListRoots' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken+          ]+      )++instance Data.ToPath ListRoots where+  toPath = Prelude.const "/"++instance Data.ToQuery ListRoots where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListRootsResponse' smart constructor.+data ListRootsResponse = ListRootsResponse'+  { -- | If present, indicates that more output is available than is included in+    -- the current response. Use this value in the @NextToken@ request+    -- parameter in a subsequent call to the operation to get the next part of+    -- the output. You should repeat this until the @NextToken@ response+    -- element comes back as @null@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | A list of roots that are defined in an organization.+    roots :: Prelude.Maybe [Root],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListRootsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listRootsResponse_nextToken' - If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+--+-- 'roots', 'listRootsResponse_roots' - A list of roots that are defined in an organization.+--+-- 'httpStatus', 'listRootsResponse_httpStatus' - The response's http status code.+newListRootsResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListRootsResponse+newListRootsResponse pHttpStatus_ =+  ListRootsResponse'+    { nextToken = Prelude.Nothing,+      roots = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+listRootsResponse_nextToken :: Lens.Lens' ListRootsResponse (Prelude.Maybe Prelude.Text)+listRootsResponse_nextToken = Lens.lens (\ListRootsResponse' {nextToken} -> nextToken) (\s@ListRootsResponse' {} a -> s {nextToken = a} :: ListRootsResponse)++-- | A list of roots that are defined in an organization.+listRootsResponse_roots :: Lens.Lens' ListRootsResponse (Prelude.Maybe [Root])+listRootsResponse_roots = Lens.lens (\ListRootsResponse' {roots} -> roots) (\s@ListRootsResponse' {} a -> s {roots = a} :: ListRootsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listRootsResponse_httpStatus :: Lens.Lens' ListRootsResponse Prelude.Int+listRootsResponse_httpStatus = Lens.lens (\ListRootsResponse' {httpStatus} -> httpStatus) (\s@ListRootsResponse' {} a -> s {httpStatus = a} :: ListRootsResponse)++instance Prelude.NFData ListRootsResponse where+  rnf ListRootsResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf roots+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/ListTagsForResource.hs view
@@ -0,0 +1,299 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.ListTagsForResource+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists tags that are attached to the specified resource.+--+-- You can attach tags to the following resources in Organizations.+--+-- -   Amazon Web Services account+--+-- -   Organization root+--+-- -   Organizational unit (OU)+--+-- -   Policy (any type)+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+--+-- This operation returns paginated results.+module Amazonka.Organizations.ListTagsForResource+  ( -- * Creating a Request+    ListTagsForResource (..),+    newListTagsForResource,++    -- * Request Lenses+    listTagsForResource_nextToken,+    listTagsForResource_resourceId,++    -- * Destructuring the Response+    ListTagsForResourceResponse (..),+    newListTagsForResourceResponse,++    -- * Response Lenses+    listTagsForResourceResponse_nextToken,+    listTagsForResourceResponse_tags,+    listTagsForResourceResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListTagsForResource' smart constructor.+data ListTagsForResource = ListTagsForResource'+  { -- | The parameter for receiving additional results if you receive a+    -- @NextToken@ response in a previous request. A @NextToken@ response+    -- indicates that more output is available. Set this parameter to the value+    -- of the previous call\'s @NextToken@ response to indicate where the+    -- output should continue from.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The ID of the resource with the tags to list.+    --+    -- You can specify any of the following taggable resources.+    --+    -- -   Amazon Web Services account – specify the account ID number.+    --+    -- -   Organizational unit – specify the OU ID that begins with @ou-@ and+    --     looks similar to: @ou-@/@1a2b-34uvwxyz@/@ @+    --+    -- -   Root – specify the root ID that begins with @r-@ and looks similar+    --     to: @r-@/@1a2b@/@ @+    --+    -- -   Policy – specify the policy ID that begins with @p-@ andlooks+    --     similar to: @p-@/@12abcdefg3@/@ @+    resourceId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsForResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listTagsForResource_nextToken' - The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+--+-- 'resourceId', 'listTagsForResource_resourceId' - The ID of the resource with the tags to list.+--+-- You can specify any of the following taggable resources.+--+-- -   Amazon Web Services account – specify the account ID number.+--+-- -   Organizational unit – specify the OU ID that begins with @ou-@ and+--     looks similar to: @ou-@/@1a2b-34uvwxyz@/@ @+--+-- -   Root – specify the root ID that begins with @r-@ and looks similar+--     to: @r-@/@1a2b@/@ @+--+-- -   Policy – specify the policy ID that begins with @p-@ andlooks+--     similar to: @p-@/@12abcdefg3@/@ @+newListTagsForResource ::+  -- | 'resourceId'+  Prelude.Text ->+  ListTagsForResource+newListTagsForResource pResourceId_ =+  ListTagsForResource'+    { nextToken = Prelude.Nothing,+      resourceId = pResourceId_+    }++-- | The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+listTagsForResource_nextToken :: Lens.Lens' ListTagsForResource (Prelude.Maybe Prelude.Text)+listTagsForResource_nextToken = Lens.lens (\ListTagsForResource' {nextToken} -> nextToken) (\s@ListTagsForResource' {} a -> s {nextToken = a} :: ListTagsForResource)++-- | The ID of the resource with the tags to list.+--+-- You can specify any of the following taggable resources.+--+-- -   Amazon Web Services account – specify the account ID number.+--+-- -   Organizational unit – specify the OU ID that begins with @ou-@ and+--     looks similar to: @ou-@/@1a2b-34uvwxyz@/@ @+--+-- -   Root – specify the root ID that begins with @r-@ and looks similar+--     to: @r-@/@1a2b@/@ @+--+-- -   Policy – specify the policy ID that begins with @p-@ andlooks+--     similar to: @p-@/@12abcdefg3@/@ @+listTagsForResource_resourceId :: Lens.Lens' ListTagsForResource Prelude.Text+listTagsForResource_resourceId = Lens.lens (\ListTagsForResource' {resourceId} -> resourceId) (\s@ListTagsForResource' {} a -> s {resourceId = a} :: ListTagsForResource)++instance Core.AWSPager ListTagsForResource where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listTagsForResourceResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listTagsForResourceResponse_tags+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listTagsForResource_nextToken+          Lens..~ rs+          Lens.^? listTagsForResourceResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest ListTagsForResource where+  type+    AWSResponse ListTagsForResource =+      ListTagsForResourceResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListTagsForResourceResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> (x Data..?> "Tags" Core..!@ Prelude.mempty)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListTagsForResource where+  hashWithSalt _salt ListTagsForResource' {..} =+    _salt+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` resourceId++instance Prelude.NFData ListTagsForResource where+  rnf ListTagsForResource' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf resourceId++instance Data.ToHeaders ListTagsForResource where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.ListTagsForResource" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListTagsForResource where+  toJSON ListTagsForResource' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("NextToken" Data..=) Prelude.<$> nextToken,+            Prelude.Just ("ResourceId" Data..= resourceId)+          ]+      )++instance Data.ToPath ListTagsForResource where+  toPath = Prelude.const "/"++instance Data.ToQuery ListTagsForResource where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListTagsForResourceResponse' smart constructor.+data ListTagsForResourceResponse = ListTagsForResourceResponse'+  { -- | If present, indicates that more output is available than is included in+    -- the current response. Use this value in the @NextToken@ request+    -- parameter in a subsequent call to the operation to get the next part of+    -- the output. You should repeat this until the @NextToken@ response+    -- element comes back as @null@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The tags that are assigned to the resource.+    tags :: Prelude.Maybe [Tag],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsForResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listTagsForResourceResponse_nextToken' - If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+--+-- 'tags', 'listTagsForResourceResponse_tags' - The tags that are assigned to the resource.+--+-- 'httpStatus', 'listTagsForResourceResponse_httpStatus' - The response's http status code.+newListTagsForResourceResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListTagsForResourceResponse+newListTagsForResourceResponse pHttpStatus_ =+  ListTagsForResourceResponse'+    { nextToken =+        Prelude.Nothing,+      tags = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+listTagsForResourceResponse_nextToken :: Lens.Lens' ListTagsForResourceResponse (Prelude.Maybe Prelude.Text)+listTagsForResourceResponse_nextToken = Lens.lens (\ListTagsForResourceResponse' {nextToken} -> nextToken) (\s@ListTagsForResourceResponse' {} a -> s {nextToken = a} :: ListTagsForResourceResponse)++-- | The tags that are assigned to the resource.+listTagsForResourceResponse_tags :: Lens.Lens' ListTagsForResourceResponse (Prelude.Maybe [Tag])+listTagsForResourceResponse_tags = Lens.lens (\ListTagsForResourceResponse' {tags} -> tags) (\s@ListTagsForResourceResponse' {} a -> s {tags = a} :: ListTagsForResourceResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listTagsForResourceResponse_httpStatus :: Lens.Lens' ListTagsForResourceResponse Prelude.Int+listTagsForResourceResponse_httpStatus = Lens.lens (\ListTagsForResourceResponse' {httpStatus} -> httpStatus) (\s@ListTagsForResourceResponse' {} a -> s {httpStatus = a} :: ListTagsForResourceResponse)++instance Prelude.NFData ListTagsForResourceResponse where+  rnf ListTagsForResourceResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf tags+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/ListTargetsForPolicy.hs view
@@ -0,0 +1,315 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.ListTargetsForPolicy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all the roots, organizational units (OUs), and accounts that the+-- specified policy is attached to.+--+-- Always check the @NextToken@ response parameter for a @null@ value when+-- calling a @List*@ operation. These operations can occasionally return an+-- empty set of results even when there are more results available. The+-- @NextToken@ response parameter value is @null@ /only/ when there are no+-- more results to display.+--+-- This operation can be called only from the organization\'s management+-- account or by a member account that is a delegated administrator for an+-- Amazon Web Services service.+--+-- This operation returns paginated results.+module Amazonka.Organizations.ListTargetsForPolicy+  ( -- * Creating a Request+    ListTargetsForPolicy (..),+    newListTargetsForPolicy,++    -- * Request Lenses+    listTargetsForPolicy_maxResults,+    listTargetsForPolicy_nextToken,+    listTargetsForPolicy_policyId,++    -- * Destructuring the Response+    ListTargetsForPolicyResponse (..),+    newListTargetsForPolicyResponse,++    -- * Response Lenses+    listTargetsForPolicyResponse_nextToken,+    listTargetsForPolicyResponse_targets,+    listTargetsForPolicyResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListTargetsForPolicy' smart constructor.+data ListTargetsForPolicy = ListTargetsForPolicy'+  { -- | The total number of results that you want included on each page of the+    -- response. If you do not include this parameter, it defaults to a value+    -- that is specific to the operation. If additional items exist beyond the+    -- maximum you specify, the @NextToken@ response element is present and has+    -- a value (is not null). Include that value as the @NextToken@ request+    -- parameter in the next call to the operation to get the next part of the+    -- results. Note that Organizations might return fewer results than the+    -- maximum even when there are more results available. You should check+    -- @NextToken@ after every operation to ensure that you receive all of the+    -- results.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The parameter for receiving additional results if you receive a+    -- @NextToken@ response in a previous request. A @NextToken@ response+    -- indicates that more output is available. Set this parameter to the value+    -- of the previous call\'s @NextToken@ response to indicate where the+    -- output should continue from.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier (ID) of the policy whose attachments you want to+    -- know.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+    -- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+    -- letters, digits, or the underscore character (_).+    policyId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTargetsForPolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listTargetsForPolicy_maxResults' - The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+--+-- 'nextToken', 'listTargetsForPolicy_nextToken' - The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+--+-- 'policyId', 'listTargetsForPolicy_policyId' - The unique identifier (ID) of the policy whose attachments you want to+-- know.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+-- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+-- letters, digits, or the underscore character (_).+newListTargetsForPolicy ::+  -- | 'policyId'+  Prelude.Text ->+  ListTargetsForPolicy+newListTargetsForPolicy pPolicyId_ =+  ListTargetsForPolicy'+    { maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing,+      policyId = pPolicyId_+    }++-- | The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that Organizations might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+listTargetsForPolicy_maxResults :: Lens.Lens' ListTargetsForPolicy (Prelude.Maybe Prelude.Natural)+listTargetsForPolicy_maxResults = Lens.lens (\ListTargetsForPolicy' {maxResults} -> maxResults) (\s@ListTargetsForPolicy' {} a -> s {maxResults = a} :: ListTargetsForPolicy)++-- | The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- of the previous call\'s @NextToken@ response to indicate where the+-- output should continue from.+listTargetsForPolicy_nextToken :: Lens.Lens' ListTargetsForPolicy (Prelude.Maybe Prelude.Text)+listTargetsForPolicy_nextToken = Lens.lens (\ListTargetsForPolicy' {nextToken} -> nextToken) (\s@ListTargetsForPolicy' {} a -> s {nextToken = a} :: ListTargetsForPolicy)++-- | The unique identifier (ID) of the policy whose attachments you want to+-- know.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+-- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+-- letters, digits, or the underscore character (_).+listTargetsForPolicy_policyId :: Lens.Lens' ListTargetsForPolicy Prelude.Text+listTargetsForPolicy_policyId = Lens.lens (\ListTargetsForPolicy' {policyId} -> policyId) (\s@ListTargetsForPolicy' {} a -> s {policyId = a} :: ListTargetsForPolicy)++instance Core.AWSPager ListTargetsForPolicy where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listTargetsForPolicyResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listTargetsForPolicyResponse_targets+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listTargetsForPolicy_nextToken+          Lens..~ rs+          Lens.^? listTargetsForPolicyResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest ListTargetsForPolicy where+  type+    AWSResponse ListTargetsForPolicy =+      ListTargetsForPolicyResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListTargetsForPolicyResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> (x Data..?> "Targets" Core..!@ Prelude.mempty)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListTargetsForPolicy where+  hashWithSalt _salt ListTargetsForPolicy' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` policyId++instance Prelude.NFData ListTargetsForPolicy where+  rnf ListTargetsForPolicy' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf policyId++instance Data.ToHeaders ListTargetsForPolicy where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.ListTargetsForPolicy" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListTargetsForPolicy where+  toJSON ListTargetsForPolicy' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            Prelude.Just ("PolicyId" Data..= policyId)+          ]+      )++instance Data.ToPath ListTargetsForPolicy where+  toPath = Prelude.const "/"++instance Data.ToQuery ListTargetsForPolicy where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListTargetsForPolicyResponse' smart constructor.+data ListTargetsForPolicyResponse = ListTargetsForPolicyResponse'+  { -- | If present, indicates that more output is available than is included in+    -- the current response. Use this value in the @NextToken@ request+    -- parameter in a subsequent call to the operation to get the next part of+    -- the output. You should repeat this until the @NextToken@ response+    -- element comes back as @null@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | A list of structures, each of which contains details about one of the+    -- entities to which the specified policy is attached.+    targets :: Prelude.Maybe [PolicyTargetSummary],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTargetsForPolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listTargetsForPolicyResponse_nextToken' - If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+--+-- 'targets', 'listTargetsForPolicyResponse_targets' - A list of structures, each of which contains details about one of the+-- entities to which the specified policy is attached.+--+-- 'httpStatus', 'listTargetsForPolicyResponse_httpStatus' - The response's http status code.+newListTargetsForPolicyResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListTargetsForPolicyResponse+newListTargetsForPolicyResponse pHttpStatus_ =+  ListTargetsForPolicyResponse'+    { nextToken =+        Prelude.Nothing,+      targets = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | If present, indicates that more output is available than is included in+-- the current response. Use this value in the @NextToken@ request+-- parameter in a subsequent call to the operation to get the next part of+-- the output. You should repeat this until the @NextToken@ response+-- element comes back as @null@.+listTargetsForPolicyResponse_nextToken :: Lens.Lens' ListTargetsForPolicyResponse (Prelude.Maybe Prelude.Text)+listTargetsForPolicyResponse_nextToken = Lens.lens (\ListTargetsForPolicyResponse' {nextToken} -> nextToken) (\s@ListTargetsForPolicyResponse' {} a -> s {nextToken = a} :: ListTargetsForPolicyResponse)++-- | A list of structures, each of which contains details about one of the+-- entities to which the specified policy is attached.+listTargetsForPolicyResponse_targets :: Lens.Lens' ListTargetsForPolicyResponse (Prelude.Maybe [PolicyTargetSummary])+listTargetsForPolicyResponse_targets = Lens.lens (\ListTargetsForPolicyResponse' {targets} -> targets) (\s@ListTargetsForPolicyResponse' {} a -> s {targets = a} :: ListTargetsForPolicyResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listTargetsForPolicyResponse_httpStatus :: Lens.Lens' ListTargetsForPolicyResponse Prelude.Int+listTargetsForPolicyResponse_httpStatus = Lens.lens (\ListTargetsForPolicyResponse' {httpStatus} -> httpStatus) (\s@ListTargetsForPolicyResponse' {} a -> s {httpStatus = a} :: ListTargetsForPolicyResponse)++instance Prelude.NFData ListTargetsForPolicyResponse where+  rnf ListTargetsForPolicyResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf targets+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/MoveAccount.hs view
@@ -0,0 +1,254 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.MoveAccount+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Moves an account from its current source parent root or organizational+-- unit (OU) to the specified destination parent root or OU.+--+-- This operation can be called only from the organization\'s management+-- account.+module Amazonka.Organizations.MoveAccount+  ( -- * Creating a Request+    MoveAccount (..),+    newMoveAccount,++    -- * Request Lenses+    moveAccount_accountId,+    moveAccount_sourceParentId,+    moveAccount_destinationParentId,++    -- * Destructuring the Response+    MoveAccountResponse (..),+    newMoveAccountResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newMoveAccount' smart constructor.+data MoveAccount = MoveAccount'+  { -- | The unique identifier (ID) of the account that you want to move.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for an account ID+    -- string requires exactly 12 digits.+    accountId :: Prelude.Text,+    -- | The unique identifier (ID) of the root or organizational unit that you+    -- want to move the account from.+    --+    -- The <http://wikipedia.org/wiki/regex 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+    --     lowercase letters or digits.+    --+    -- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+    --     followed by from 4 to 32 lowercase letters or digits (the ID of the+    --     root that the OU is in). This string is followed by a second \"-\"+    --     dash and from 8 to 32 additional lowercase letters or digits.+    sourceParentId :: Prelude.Text,+    -- | The unique identifier (ID) of the root or organizational unit that you+    -- want to move the account to.+    --+    -- The <http://wikipedia.org/wiki/regex 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+    --     lowercase letters or digits.+    --+    -- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+    --     followed by from 4 to 32 lowercase letters or digits (the ID of the+    --     root that the OU is in). This string is followed by a second \"-\"+    --     dash and from 8 to 32 additional lowercase letters or digits.+    destinationParentId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'MoveAccount' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'accountId', 'moveAccount_accountId' - The unique identifier (ID) of the account that you want to move.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an account ID+-- string requires exactly 12 digits.+--+-- 'sourceParentId', 'moveAccount_sourceParentId' - The unique identifier (ID) of the root or organizational unit that you+-- want to move the account from.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+--+-- 'destinationParentId', 'moveAccount_destinationParentId' - The unique identifier (ID) of the root or organizational unit that you+-- want to move the account to.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+newMoveAccount ::+  -- | 'accountId'+  Prelude.Text ->+  -- | 'sourceParentId'+  Prelude.Text ->+  -- | 'destinationParentId'+  Prelude.Text ->+  MoveAccount+newMoveAccount+  pAccountId_+  pSourceParentId_+  pDestinationParentId_ =+    MoveAccount'+      { accountId = pAccountId_,+        sourceParentId = pSourceParentId_,+        destinationParentId = pDestinationParentId_+      }++-- | The unique identifier (ID) of the account that you want to move.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an account ID+-- string requires exactly 12 digits.+moveAccount_accountId :: Lens.Lens' MoveAccount Prelude.Text+moveAccount_accountId = Lens.lens (\MoveAccount' {accountId} -> accountId) (\s@MoveAccount' {} a -> s {accountId = a} :: MoveAccount)++-- | The unique identifier (ID) of the root or organizational unit that you+-- want to move the account from.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+moveAccount_sourceParentId :: Lens.Lens' MoveAccount Prelude.Text+moveAccount_sourceParentId = Lens.lens (\MoveAccount' {sourceParentId} -> sourceParentId) (\s@MoveAccount' {} a -> s {sourceParentId = a} :: MoveAccount)++-- | The unique identifier (ID) of the root or organizational unit that you+-- want to move the account to.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+moveAccount_destinationParentId :: Lens.Lens' MoveAccount Prelude.Text+moveAccount_destinationParentId = Lens.lens (\MoveAccount' {destinationParentId} -> destinationParentId) (\s@MoveAccount' {} a -> s {destinationParentId = a} :: MoveAccount)++instance Core.AWSRequest MoveAccount where+  type AWSResponse MoveAccount = MoveAccountResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response = Response.receiveNull MoveAccountResponse'++instance Prelude.Hashable MoveAccount where+  hashWithSalt _salt MoveAccount' {..} =+    _salt+      `Prelude.hashWithSalt` accountId+      `Prelude.hashWithSalt` sourceParentId+      `Prelude.hashWithSalt` destinationParentId++instance Prelude.NFData MoveAccount where+  rnf MoveAccount' {..} =+    Prelude.rnf accountId+      `Prelude.seq` Prelude.rnf sourceParentId+      `Prelude.seq` Prelude.rnf destinationParentId++instance Data.ToHeaders MoveAccount where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.MoveAccount" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON MoveAccount where+  toJSON MoveAccount' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("AccountId" Data..= accountId),+            Prelude.Just+              ("SourceParentId" Data..= sourceParentId),+            Prelude.Just+              ("DestinationParentId" Data..= destinationParentId)+          ]+      )++instance Data.ToPath MoveAccount where+  toPath = Prelude.const "/"++instance Data.ToQuery MoveAccount where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newMoveAccountResponse' smart constructor.+data MoveAccountResponse = MoveAccountResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'MoveAccountResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newMoveAccountResponse ::+  MoveAccountResponse+newMoveAccountResponse = MoveAccountResponse'++instance Prelude.NFData MoveAccountResponse where+  rnf _ = ()
+ gen/Amazonka/Organizations/PutResourcePolicy.hs view
@@ -0,0 +1,230 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.PutResourcePolicy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates or updates a resource policy.+--+-- You can only call this operation from the organization\'s management+-- account.+module Amazonka.Organizations.PutResourcePolicy+  ( -- * Creating a Request+    PutResourcePolicy (..),+    newPutResourcePolicy,++    -- * Request Lenses+    putResourcePolicy_tags,+    putResourcePolicy_content,++    -- * Destructuring the Response+    PutResourcePolicyResponse (..),+    newPutResourcePolicyResponse,++    -- * Response Lenses+    putResourcePolicyResponse_resourcePolicy,+    putResourcePolicyResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newPutResourcePolicy' smart constructor.+data PutResourcePolicy = PutResourcePolicy'+  { -- | Updates the list of tags that you want to attach to the newly-created+    -- resource policy. For each tag in the list, you must specify both a tag+    -- key and a value. You can set the value to an empty string, but you+    -- can\'t set it to @null@. For more information about tagging, see+    -- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html Tagging Organizations resources>+    -- in the Organizations User Guide.+    --+    -- Calls with tags apply to the initial creation of the resource policy,+    -- otherwise an exception is thrown. If any one of the tags is invalid or+    -- if you exceed the allowed number of tags for the resource policy, then+    -- the entire request fails and the resource policy is not created.+    tags :: Prelude.Maybe [Tag],+    -- | If provided, the new content for the resource policy. The text must be+    -- correctly formatted JSON that complies with the syntax for the resource+    -- policy\'s type. For more information, see+    -- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html Service Control Policy Syntax>+    -- in the /Organizations User Guide./+    content :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutResourcePolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'tags', 'putResourcePolicy_tags' - Updates the list of tags that you want to attach to the newly-created+-- resource policy. For each tag in the list, you must specify both a tag+-- key and a value. You can set the value to an empty string, but you+-- can\'t set it to @null@. For more information about tagging, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html Tagging Organizations resources>+-- in the Organizations User Guide.+--+-- Calls with tags apply to the initial creation of the resource policy,+-- otherwise an exception is thrown. If any one of the tags is invalid or+-- if you exceed the allowed number of tags for the resource policy, then+-- the entire request fails and the resource policy is not created.+--+-- 'content', 'putResourcePolicy_content' - If provided, the new content for the resource policy. The text must be+-- correctly formatted JSON that complies with the syntax for the resource+-- policy\'s type. For more information, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html Service Control Policy Syntax>+-- in the /Organizations User Guide./+newPutResourcePolicy ::+  -- | 'content'+  Prelude.Text ->+  PutResourcePolicy+newPutResourcePolicy pContent_ =+  PutResourcePolicy'+    { tags = Prelude.Nothing,+      content = pContent_+    }++-- | Updates the list of tags that you want to attach to the newly-created+-- resource policy. For each tag in the list, you must specify both a tag+-- key and a value. You can set the value to an empty string, but you+-- can\'t set it to @null@. For more information about tagging, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html Tagging Organizations resources>+-- in the Organizations User Guide.+--+-- Calls with tags apply to the initial creation of the resource policy,+-- otherwise an exception is thrown. If any one of the tags is invalid or+-- if you exceed the allowed number of tags for the resource policy, then+-- the entire request fails and the resource policy is not created.+putResourcePolicy_tags :: Lens.Lens' PutResourcePolicy (Prelude.Maybe [Tag])+putResourcePolicy_tags = Lens.lens (\PutResourcePolicy' {tags} -> tags) (\s@PutResourcePolicy' {} a -> s {tags = a} :: PutResourcePolicy) Prelude.. Lens.mapping Lens.coerced++-- | If provided, the new content for the resource policy. The text must be+-- correctly formatted JSON that complies with the syntax for the resource+-- policy\'s type. For more information, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html Service Control Policy Syntax>+-- in the /Organizations User Guide./+putResourcePolicy_content :: Lens.Lens' PutResourcePolicy Prelude.Text+putResourcePolicy_content = Lens.lens (\PutResourcePolicy' {content} -> content) (\s@PutResourcePolicy' {} a -> s {content = a} :: PutResourcePolicy)++instance Core.AWSRequest PutResourcePolicy where+  type+    AWSResponse PutResourcePolicy =+      PutResourcePolicyResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          PutResourcePolicyResponse'+            Prelude.<$> (x Data..?> "ResourcePolicy")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable PutResourcePolicy where+  hashWithSalt _salt PutResourcePolicy' {..} =+    _salt+      `Prelude.hashWithSalt` tags+      `Prelude.hashWithSalt` content++instance Prelude.NFData PutResourcePolicy where+  rnf PutResourcePolicy' {..} =+    Prelude.rnf tags `Prelude.seq` Prelude.rnf content++instance Data.ToHeaders PutResourcePolicy where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.PutResourcePolicy" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON PutResourcePolicy where+  toJSON PutResourcePolicy' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Tags" Data..=) Prelude.<$> tags,+            Prelude.Just ("Content" Data..= content)+          ]+      )++instance Data.ToPath PutResourcePolicy where+  toPath = Prelude.const "/"++instance Data.ToQuery PutResourcePolicy where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutResourcePolicyResponse' smart constructor.+data PutResourcePolicyResponse = PutResourcePolicyResponse'+  { -- | A structure that contains details about the resource policy.+    resourcePolicy :: Prelude.Maybe ResourcePolicy,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutResourcePolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourcePolicy', 'putResourcePolicyResponse_resourcePolicy' - A structure that contains details about the resource policy.+--+-- 'httpStatus', 'putResourcePolicyResponse_httpStatus' - The response's http status code.+newPutResourcePolicyResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  PutResourcePolicyResponse+newPutResourcePolicyResponse pHttpStatus_ =+  PutResourcePolicyResponse'+    { resourcePolicy =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains details about the resource policy.+putResourcePolicyResponse_resourcePolicy :: Lens.Lens' PutResourcePolicyResponse (Prelude.Maybe ResourcePolicy)+putResourcePolicyResponse_resourcePolicy = Lens.lens (\PutResourcePolicyResponse' {resourcePolicy} -> resourcePolicy) (\s@PutResourcePolicyResponse' {} a -> s {resourcePolicy = a} :: PutResourcePolicyResponse)++-- | The response's http status code.+putResourcePolicyResponse_httpStatus :: Lens.Lens' PutResourcePolicyResponse Prelude.Int+putResourcePolicyResponse_httpStatus = Lens.lens (\PutResourcePolicyResponse' {httpStatus} -> httpStatus) (\s@PutResourcePolicyResponse' {} a -> s {httpStatus = a} :: PutResourcePolicyResponse)++instance Prelude.NFData PutResourcePolicyResponse where+  rnf PutResourcePolicyResponse' {..} =+    Prelude.rnf resourcePolicy+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/RegisterDelegatedAdministrator.hs view
@@ -0,0 +1,194 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.RegisterDelegatedAdministrator+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Enables the specified member account to administer the Organizations+-- features of the specified Amazon Web Services service. It grants+-- read-only access to Organizations service data. The account still+-- requires IAM permissions to access and administer the Amazon Web+-- Services service.+--+-- You can run this action only for Amazon Web Services services that+-- support this feature. For a current list of services that support it,+-- see the column /Supports Delegated Administrator/ in the table at+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services_list.html Amazon Web Services Services that you can use with Organizations>+-- in the /Organizations User Guide./+--+-- This operation can be called only from the organization\'s management+-- account.+module Amazonka.Organizations.RegisterDelegatedAdministrator+  ( -- * Creating a Request+    RegisterDelegatedAdministrator (..),+    newRegisterDelegatedAdministrator,++    -- * Request Lenses+    registerDelegatedAdministrator_accountId,+    registerDelegatedAdministrator_servicePrincipal,++    -- * Destructuring the Response+    RegisterDelegatedAdministratorResponse (..),+    newRegisterDelegatedAdministratorResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newRegisterDelegatedAdministrator' smart constructor.+data RegisterDelegatedAdministrator = RegisterDelegatedAdministrator'+  { -- | The account ID number of the member account in the organization to+    -- register as a delegated administrator.+    accountId :: Prelude.Text,+    -- | The service principal of the Amazon Web Services service for which you+    -- want to make the member account a delegated administrator.+    servicePrincipal :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RegisterDelegatedAdministrator' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'accountId', 'registerDelegatedAdministrator_accountId' - The account ID number of the member account in the organization to+-- register as a delegated administrator.+--+-- 'servicePrincipal', 'registerDelegatedAdministrator_servicePrincipal' - The service principal of the Amazon Web Services service for which you+-- want to make the member account a delegated administrator.+newRegisterDelegatedAdministrator ::+  -- | 'accountId'+  Prelude.Text ->+  -- | 'servicePrincipal'+  Prelude.Text ->+  RegisterDelegatedAdministrator+newRegisterDelegatedAdministrator+  pAccountId_+  pServicePrincipal_ =+    RegisterDelegatedAdministrator'+      { accountId =+          pAccountId_,+        servicePrincipal = pServicePrincipal_+      }++-- | The account ID number of the member account in the organization to+-- register as a delegated administrator.+registerDelegatedAdministrator_accountId :: Lens.Lens' RegisterDelegatedAdministrator Prelude.Text+registerDelegatedAdministrator_accountId = Lens.lens (\RegisterDelegatedAdministrator' {accountId} -> accountId) (\s@RegisterDelegatedAdministrator' {} a -> s {accountId = a} :: RegisterDelegatedAdministrator)++-- | The service principal of the Amazon Web Services service for which you+-- want to make the member account a delegated administrator.+registerDelegatedAdministrator_servicePrincipal :: Lens.Lens' RegisterDelegatedAdministrator Prelude.Text+registerDelegatedAdministrator_servicePrincipal = Lens.lens (\RegisterDelegatedAdministrator' {servicePrincipal} -> servicePrincipal) (\s@RegisterDelegatedAdministrator' {} a -> s {servicePrincipal = a} :: RegisterDelegatedAdministrator)++instance+  Core.AWSRequest+    RegisterDelegatedAdministrator+  where+  type+    AWSResponse RegisterDelegatedAdministrator =+      RegisterDelegatedAdministratorResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveNull+      RegisterDelegatedAdministratorResponse'++instance+  Prelude.Hashable+    RegisterDelegatedAdministrator+  where+  hashWithSalt+    _salt+    RegisterDelegatedAdministrator' {..} =+      _salt+        `Prelude.hashWithSalt` accountId+        `Prelude.hashWithSalt` servicePrincipal++instance+  Prelude.NFData+    RegisterDelegatedAdministrator+  where+  rnf RegisterDelegatedAdministrator' {..} =+    Prelude.rnf accountId+      `Prelude.seq` Prelude.rnf servicePrincipal++instance+  Data.ToHeaders+    RegisterDelegatedAdministrator+  where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.RegisterDelegatedAdministrator" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON RegisterDelegatedAdministrator where+  toJSON RegisterDelegatedAdministrator' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("AccountId" Data..= accountId),+            Prelude.Just+              ("ServicePrincipal" Data..= servicePrincipal)+          ]+      )++instance Data.ToPath RegisterDelegatedAdministrator where+  toPath = Prelude.const "/"++instance Data.ToQuery RegisterDelegatedAdministrator where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newRegisterDelegatedAdministratorResponse' smart constructor.+data RegisterDelegatedAdministratorResponse = RegisterDelegatedAdministratorResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RegisterDelegatedAdministratorResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newRegisterDelegatedAdministratorResponse ::+  RegisterDelegatedAdministratorResponse+newRegisterDelegatedAdministratorResponse =+  RegisterDelegatedAdministratorResponse'++instance+  Prelude.NFData+    RegisterDelegatedAdministratorResponse+  where+  rnf _ = ()
+ gen/Amazonka/Organizations/RemoveAccountFromOrganization.hs view
@@ -0,0 +1,196 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.RemoveAccountFromOrganization+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Removes the specified account from the organization.+--+-- The removed account becomes a standalone account that isn\'t a member of+-- any organization. It\'s no longer subject to any policies and is+-- responsible for its own bill payments. The organization\'s management+-- account is no longer charged for any expenses accrued by the member+-- account after it\'s removed from the organization.+--+-- This operation can be called only from the organization\'s management+-- account. Member accounts can remove themselves with LeaveOrganization+-- instead.+--+-- -   You can remove an account from your organization only if the account+--     is configured with the information required to operate as a+--     standalone account. When you create an account in an organization+--     using the Organizations console, API, or CLI commands, the+--     information required of standalone accounts is /not/ automatically+--     collected. For an account that you want to make standalone, you must+--     choose a support plan, provide and verify the required contact+--     information, and provide a current payment method. Amazon Web+--     Services uses the payment method to charge for any billable (not+--     free tier) Amazon Web Services activity that occurs while the+--     account isn\'t attached to an organization. To remove an account+--     that doesn\'t yet have this information, you must sign in as the+--     member account and follow the steps at+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info To leave an organization when all required account information has not yet been provided>+--     in the /Organizations User Guide./+--+-- -   The account that you want to leave must not be a delegated+--     administrator account for any Amazon Web Services service enabled+--     for your organization. If the account is a delegated administrator,+--     you must first change the delegated administrator account to another+--     account that is remaining in the organization.+--+-- -   After the account leaves the organization, all tags that were+--     attached to the account object in the organization are deleted.+--     Amazon Web Services accounts outside of an organization do not+--     support tags.+module Amazonka.Organizations.RemoveAccountFromOrganization+  ( -- * Creating a Request+    RemoveAccountFromOrganization (..),+    newRemoveAccountFromOrganization,++    -- * Request Lenses+    removeAccountFromOrganization_accountId,++    -- * Destructuring the Response+    RemoveAccountFromOrganizationResponse (..),+    newRemoveAccountFromOrganizationResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newRemoveAccountFromOrganization' smart constructor.+data RemoveAccountFromOrganization = RemoveAccountFromOrganization'+  { -- | The unique identifier (ID) of the member account that you want to remove+    -- from the organization.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for an account ID+    -- string requires exactly 12 digits.+    accountId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RemoveAccountFromOrganization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'accountId', 'removeAccountFromOrganization_accountId' - The unique identifier (ID) of the member account that you want to remove+-- from the organization.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an account ID+-- string requires exactly 12 digits.+newRemoveAccountFromOrganization ::+  -- | 'accountId'+  Prelude.Text ->+  RemoveAccountFromOrganization+newRemoveAccountFromOrganization pAccountId_ =+  RemoveAccountFromOrganization'+    { accountId =+        pAccountId_+    }++-- | The unique identifier (ID) of the member account that you want to remove+-- from the organization.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an account ID+-- string requires exactly 12 digits.+removeAccountFromOrganization_accountId :: Lens.Lens' RemoveAccountFromOrganization Prelude.Text+removeAccountFromOrganization_accountId = Lens.lens (\RemoveAccountFromOrganization' {accountId} -> accountId) (\s@RemoveAccountFromOrganization' {} a -> s {accountId = a} :: RemoveAccountFromOrganization)++instance+  Core.AWSRequest+    RemoveAccountFromOrganization+  where+  type+    AWSResponse RemoveAccountFromOrganization =+      RemoveAccountFromOrganizationResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveNull+      RemoveAccountFromOrganizationResponse'++instance+  Prelude.Hashable+    RemoveAccountFromOrganization+  where+  hashWithSalt _salt RemoveAccountFromOrganization' {..} =+    _salt `Prelude.hashWithSalt` accountId++instance Prelude.NFData RemoveAccountFromOrganization where+  rnf RemoveAccountFromOrganization' {..} =+    Prelude.rnf accountId++instance Data.ToHeaders RemoveAccountFromOrganization where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.RemoveAccountFromOrganization" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON RemoveAccountFromOrganization where+  toJSON RemoveAccountFromOrganization' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("AccountId" Data..= accountId)]+      )++instance Data.ToPath RemoveAccountFromOrganization where+  toPath = Prelude.const "/"++instance Data.ToQuery RemoveAccountFromOrganization where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newRemoveAccountFromOrganizationResponse' smart constructor.+data RemoveAccountFromOrganizationResponse = RemoveAccountFromOrganizationResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RemoveAccountFromOrganizationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newRemoveAccountFromOrganizationResponse ::+  RemoveAccountFromOrganizationResponse+newRemoveAccountFromOrganizationResponse =+  RemoveAccountFromOrganizationResponse'++instance+  Prelude.NFData+    RemoveAccountFromOrganizationResponse+  where+  rnf _ = ()
+ gen/Amazonka/Organizations/TagResource.hs view
@@ -0,0 +1,218 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.TagResource+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Adds one or more tags to the specified resource.+--+-- Currently, you can attach tags to the following resources in+-- Organizations.+--+-- -   Amazon Web Services account+--+-- -   Organization root+--+-- -   Organizational unit (OU)+--+-- -   Policy (any type)+--+-- This operation can be called only from the organization\'s management+-- account.+module Amazonka.Organizations.TagResource+  ( -- * Creating a Request+    TagResource (..),+    newTagResource,++    -- * Request Lenses+    tagResource_resourceId,+    tagResource_tags,++    -- * Destructuring the Response+    TagResourceResponse (..),+    newTagResourceResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newTagResource' smart constructor.+data TagResource = TagResource'+  { -- | The ID of the resource to add a tag to.+    --+    -- You can specify any of the following taggable resources.+    --+    -- -   Amazon Web Services account – specify the account ID number.+    --+    -- -   Organizational unit – specify the OU ID that begins with @ou-@ and+    --     looks similar to: @ou-@/@1a2b-34uvwxyz@/@ @+    --+    -- -   Root – specify the root ID that begins with @r-@ and looks similar+    --     to: @r-@/@1a2b@/@ @+    --+    -- -   Policy – specify the policy ID that begins with @p-@ andlooks+    --     similar to: @p-@/@12abcdefg3@/@ @+    resourceId :: Prelude.Text,+    -- | A list of tags to add to the specified resource.+    --+    -- For each tag in the list, you must specify both a tag key and a value.+    -- The value can be an empty string, but you can\'t set it to @null@.+    --+    -- If any one of the tags is invalid or if you exceed the maximum allowed+    -- number of tags for a resource, then the entire request fails.+    tags :: [Tag]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceId', 'tagResource_resourceId' - The ID of the resource to add a tag to.+--+-- You can specify any of the following taggable resources.+--+-- -   Amazon Web Services account – specify the account ID number.+--+-- -   Organizational unit – specify the OU ID that begins with @ou-@ and+--     looks similar to: @ou-@/@1a2b-34uvwxyz@/@ @+--+-- -   Root – specify the root ID that begins with @r-@ and looks similar+--     to: @r-@/@1a2b@/@ @+--+-- -   Policy – specify the policy ID that begins with @p-@ andlooks+--     similar to: @p-@/@12abcdefg3@/@ @+--+-- 'tags', 'tagResource_tags' - A list of tags to add to the specified resource.+--+-- For each tag in the list, you must specify both a tag key and a value.+-- The value can be an empty string, but you can\'t set it to @null@.+--+-- If any one of the tags is invalid or if you exceed the maximum allowed+-- number of tags for a resource, then the entire request fails.+newTagResource ::+  -- | 'resourceId'+  Prelude.Text ->+  TagResource+newTagResource pResourceId_ =+  TagResource'+    { resourceId = pResourceId_,+      tags = Prelude.mempty+    }++-- | The ID of the resource to add a tag to.+--+-- You can specify any of the following taggable resources.+--+-- -   Amazon Web Services account – specify the account ID number.+--+-- -   Organizational unit – specify the OU ID that begins with @ou-@ and+--     looks similar to: @ou-@/@1a2b-34uvwxyz@/@ @+--+-- -   Root – specify the root ID that begins with @r-@ and looks similar+--     to: @r-@/@1a2b@/@ @+--+-- -   Policy – specify the policy ID that begins with @p-@ andlooks+--     similar to: @p-@/@12abcdefg3@/@ @+tagResource_resourceId :: Lens.Lens' TagResource Prelude.Text+tagResource_resourceId = Lens.lens (\TagResource' {resourceId} -> resourceId) (\s@TagResource' {} a -> s {resourceId = a} :: TagResource)++-- | A list of tags to add to the specified resource.+--+-- For each tag in the list, you must specify both a tag key and a value.+-- The value can be an empty string, but you can\'t set it to @null@.+--+-- If any one of the tags is invalid or if you exceed the maximum allowed+-- number of tags for a resource, then the entire request fails.+tagResource_tags :: Lens.Lens' TagResource [Tag]+tagResource_tags = Lens.lens (\TagResource' {tags} -> tags) (\s@TagResource' {} a -> s {tags = a} :: TagResource) Prelude.. Lens.coerced++instance Core.AWSRequest TagResource where+  type AWSResponse TagResource = TagResourceResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response = Response.receiveNull TagResourceResponse'++instance Prelude.Hashable TagResource where+  hashWithSalt _salt TagResource' {..} =+    _salt+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` tags++instance Prelude.NFData TagResource where+  rnf TagResource' {..} =+    Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf tags++instance Data.ToHeaders TagResource where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.TagResource" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON TagResource where+  toJSON TagResource' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("ResourceId" Data..= resourceId),+            Prelude.Just ("Tags" Data..= tags)+          ]+      )++instance Data.ToPath TagResource where+  toPath = Prelude.const "/"++instance Data.ToQuery TagResource where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newTagResourceResponse' smart constructor.+data TagResourceResponse = TagResourceResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newTagResourceResponse ::+  TagResourceResponse+newTagResourceResponse = TagResourceResponse'++instance Prelude.NFData TagResourceResponse where+  rnf _ = ()
+ gen/Amazonka/Organizations/Types.hs view
@@ -0,0 +1,1093 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types+  ( -- * Service Configuration+    defaultService,++    -- * Errors+    _AWSOrganizationsNotInUseException,+    _AccessDeniedException,+    _AccessDeniedForDependencyException,+    _AccountAlreadyClosedException,+    _AccountAlreadyRegisteredException,+    _AccountNotFoundException,+    _AccountNotRegisteredException,+    _AccountOwnerNotVerifiedException,+    _AlreadyInOrganizationException,+    _ChildNotFoundException,+    _ConcurrentModificationException,+    _ConflictException,+    _ConstraintViolationException,+    _CreateAccountStatusNotFoundException,+    _DestinationParentNotFoundException,+    _DuplicateAccountException,+    _DuplicateHandshakeException,+    _DuplicateOrganizationalUnitException,+    _DuplicatePolicyAttachmentException,+    _DuplicatePolicyException,+    _EffectivePolicyNotFoundException,+    _FinalizingOrganizationException,+    _HandshakeAlreadyInStateException,+    _HandshakeConstraintViolationException,+    _HandshakeNotFoundException,+    _InvalidHandshakeTransitionException,+    _InvalidInputException,+    _MalformedPolicyDocumentException,+    _MasterCannotLeaveOrganizationException,+    _OrganizationNotEmptyException,+    _OrganizationalUnitNotEmptyException,+    _OrganizationalUnitNotFoundException,+    _ParentNotFoundException,+    _PolicyChangesInProgressException,+    _PolicyInUseException,+    _PolicyNotAttachedException,+    _PolicyNotFoundException,+    _PolicyTypeAlreadyEnabledException,+    _PolicyTypeNotAvailableForOrganizationException,+    _PolicyTypeNotEnabledException,+    _ResourcePolicyNotFoundException,+    _RootNotFoundException,+    _ServiceException,+    _SourceParentNotFoundException,+    _TargetNotFoundException,+    _TooManyRequestsException,+    _UnsupportedAPIEndpointException,++    -- * AccountJoinedMethod+    AccountJoinedMethod (..),++    -- * AccountStatus+    AccountStatus (..),++    -- * ActionType+    ActionType (..),++    -- * ChildType+    ChildType (..),++    -- * CreateAccountFailureReason+    CreateAccountFailureReason (..),++    -- * CreateAccountState+    CreateAccountState (..),++    -- * EffectivePolicyType+    EffectivePolicyType (..),++    -- * HandshakePartyType+    HandshakePartyType (..),++    -- * HandshakeResourceType+    HandshakeResourceType (..),++    -- * HandshakeState+    HandshakeState (..),++    -- * IAMUserAccessToBilling+    IAMUserAccessToBilling (..),++    -- * OrganizationFeatureSet+    OrganizationFeatureSet (..),++    -- * ParentType+    ParentType (..),++    -- * PolicyType+    PolicyType (..),++    -- * PolicyTypeStatus+    PolicyTypeStatus (..),++    -- * TargetType+    TargetType (..),++    -- * Account+    Account (..),+    newAccount,+    account_arn,+    account_email,+    account_id,+    account_joinedMethod,+    account_joinedTimestamp,+    account_name,+    account_status,++    -- * Child+    Child (..),+    newChild,+    child_id,+    child_type,++    -- * CreateAccountStatus+    CreateAccountStatus (..),+    newCreateAccountStatus,+    createAccountStatus_accountId,+    createAccountStatus_accountName,+    createAccountStatus_completedTimestamp,+    createAccountStatus_failureReason,+    createAccountStatus_govCloudAccountId,+    createAccountStatus_id,+    createAccountStatus_requestedTimestamp,+    createAccountStatus_state,++    -- * DelegatedAdministrator+    DelegatedAdministrator (..),+    newDelegatedAdministrator,+    delegatedAdministrator_arn,+    delegatedAdministrator_delegationEnabledDate,+    delegatedAdministrator_email,+    delegatedAdministrator_id,+    delegatedAdministrator_joinedMethod,+    delegatedAdministrator_joinedTimestamp,+    delegatedAdministrator_name,+    delegatedAdministrator_status,++    -- * DelegatedService+    DelegatedService (..),+    newDelegatedService,+    delegatedService_delegationEnabledDate,+    delegatedService_servicePrincipal,++    -- * EffectivePolicy+    EffectivePolicy (..),+    newEffectivePolicy,+    effectivePolicy_lastUpdatedTimestamp,+    effectivePolicy_policyContent,+    effectivePolicy_policyType,+    effectivePolicy_targetId,++    -- * EnabledServicePrincipal+    EnabledServicePrincipal (..),+    newEnabledServicePrincipal,+    enabledServicePrincipal_dateEnabled,+    enabledServicePrincipal_servicePrincipal,++    -- * Handshake+    Handshake (..),+    newHandshake,+    handshake_action,+    handshake_arn,+    handshake_expirationTimestamp,+    handshake_id,+    handshake_parties,+    handshake_requestedTimestamp,+    handshake_resources,+    handshake_state,++    -- * HandshakeFilter+    HandshakeFilter (..),+    newHandshakeFilter,+    handshakeFilter_actionType,+    handshakeFilter_parentHandshakeId,++    -- * HandshakeParty+    HandshakeParty (..),+    newHandshakeParty,+    handshakeParty_id,+    handshakeParty_type,++    -- * HandshakeResource+    HandshakeResource (..),+    newHandshakeResource,+    handshakeResource_resources,+    handshakeResource_type,+    handshakeResource_value,++    -- * Organization+    Organization (..),+    newOrganization,+    organization_arn,+    organization_availablePolicyTypes,+    organization_featureSet,+    organization_id,+    organization_masterAccountArn,+    organization_masterAccountEmail,+    organization_masterAccountId,++    -- * OrganizationalUnit+    OrganizationalUnit (..),+    newOrganizationalUnit,+    organizationalUnit_arn,+    organizationalUnit_id,+    organizationalUnit_name,++    -- * Parent+    Parent (..),+    newParent,+    parent_id,+    parent_type,++    -- * Policy+    Policy (..),+    newPolicy,+    policy_content,+    policy_policySummary,++    -- * PolicySummary+    PolicySummary (..),+    newPolicySummary,+    policySummary_arn,+    policySummary_awsManaged,+    policySummary_description,+    policySummary_id,+    policySummary_name,+    policySummary_type,++    -- * PolicyTargetSummary+    PolicyTargetSummary (..),+    newPolicyTargetSummary,+    policyTargetSummary_arn,+    policyTargetSummary_name,+    policyTargetSummary_targetId,+    policyTargetSummary_type,++    -- * PolicyTypeSummary+    PolicyTypeSummary (..),+    newPolicyTypeSummary,+    policyTypeSummary_status,+    policyTypeSummary_type,++    -- * ResourcePolicy+    ResourcePolicy (..),+    newResourcePolicy,+    resourcePolicy_content,+    resourcePolicy_resourcePolicySummary,++    -- * ResourcePolicySummary+    ResourcePolicySummary (..),+    newResourcePolicySummary,+    resourcePolicySummary_arn,+    resourcePolicySummary_id,++    -- * Root+    Root (..),+    newRoot,+    root_arn,+    root_id,+    root_name,+    root_policyTypes,++    -- * Tag+    Tag (..),+    newTag,+    tag_key,+    tag_value,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import Amazonka.Organizations.Types.Account+import Amazonka.Organizations.Types.AccountJoinedMethod+import Amazonka.Organizations.Types.AccountStatus+import Amazonka.Organizations.Types.ActionType+import Amazonka.Organizations.Types.Child+import Amazonka.Organizations.Types.ChildType+import Amazonka.Organizations.Types.CreateAccountFailureReason+import Amazonka.Organizations.Types.CreateAccountState+import Amazonka.Organizations.Types.CreateAccountStatus+import Amazonka.Organizations.Types.DelegatedAdministrator+import Amazonka.Organizations.Types.DelegatedService+import Amazonka.Organizations.Types.EffectivePolicy+import Amazonka.Organizations.Types.EffectivePolicyType+import Amazonka.Organizations.Types.EnabledServicePrincipal+import Amazonka.Organizations.Types.Handshake+import Amazonka.Organizations.Types.HandshakeFilter+import Amazonka.Organizations.Types.HandshakeParty+import Amazonka.Organizations.Types.HandshakePartyType+import Amazonka.Organizations.Types.HandshakeResource+import Amazonka.Organizations.Types.HandshakeResourceType+import Amazonka.Organizations.Types.HandshakeState+import Amazonka.Organizations.Types.IAMUserAccessToBilling+import Amazonka.Organizations.Types.Organization+import Amazonka.Organizations.Types.OrganizationFeatureSet+import Amazonka.Organizations.Types.OrganizationalUnit+import Amazonka.Organizations.Types.Parent+import Amazonka.Organizations.Types.ParentType+import Amazonka.Organizations.Types.Policy+import Amazonka.Organizations.Types.PolicySummary+import Amazonka.Organizations.Types.PolicyTargetSummary+import Amazonka.Organizations.Types.PolicyType+import Amazonka.Organizations.Types.PolicyTypeStatus+import Amazonka.Organizations.Types.PolicyTypeSummary+import Amazonka.Organizations.Types.ResourcePolicy+import Amazonka.Organizations.Types.ResourcePolicySummary+import Amazonka.Organizations.Types.Root+import Amazonka.Organizations.Types.Tag+import Amazonka.Organizations.Types.TargetType+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Sign.V4 as Sign++-- | API version @2016-11-28@ of the Amazon Organizations SDK configuration.+defaultService :: Core.Service+defaultService =+  Core.Service+    { Core.abbrev = "Organizations",+      Core.signer = Sign.v4,+      Core.endpointPrefix = "organizations",+      Core.signingName = "organizations",+      Core.version = "2016-11-28",+      Core.s3AddressingStyle = Core.S3AddressingStyleAuto,+      Core.endpoint = Core.defaultEndpoint defaultService,+      Core.timeout = Prelude.Just 70,+      Core.check = Core.statusSuccess,+      Core.error = Core.parseJSONError "Organizations",+      Core.retry = retry+    }+  where+    retry =+      Core.Exponential+        { Core.base = 5.0e-2,+          Core.growth = 2,+          Core.attempts = 5,+          Core.check = check+        }+    check e+      | Lens.has (Core.hasStatus 502) e =+          Prelude.Just "bad_gateway"+      | Lens.has (Core.hasStatus 504) e =+          Prelude.Just "gateway_timeout"+      | Lens.has (Core.hasStatus 500) e =+          Prelude.Just "general_server_error"+      | Lens.has (Core.hasStatus 509) e =+          Prelude.Just "limit_exceeded"+      | Lens.has+          ( Core.hasCode "RequestThrottledException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "request_throttled_exception"+      | Lens.has (Core.hasStatus 503) e =+          Prelude.Just "service_unavailable"+      | Lens.has+          ( Core.hasCode "ThrottledException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttled_exception"+      | Lens.has+          ( Core.hasCode "Throttling"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttling"+      | Lens.has+          ( Core.hasCode "ThrottlingException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttling_exception"+      | Lens.has+          ( Core.hasCode+              "ProvisionedThroughputExceededException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throughput_exceeded"+      | Lens.has (Core.hasStatus 429) e =+          Prelude.Just "too_many_requests"+      | Prelude.otherwise = Prelude.Nothing++-- | Your account isn\'t a member of an organization. To make this request,+-- you must use the credentials of an account that belongs to an+-- organization.+_AWSOrganizationsNotInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_AWSOrganizationsNotInUseException =+  Core._MatchServiceError+    defaultService+    "AWSOrganizationsNotInUseException"++-- | 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+-- <https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html Access Management>+-- in the /IAM User Guide./+_AccessDeniedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_AccessDeniedException =+  Core._MatchServiceError+    defaultService+    "AccessDeniedException"++-- | The operation that you attempted requires you to have the+-- @iam:CreateServiceLinkedRole@ for @organizations.amazonaws.com@+-- permission so that Organizations can create the required service-linked+-- role. You don\'t have that permission.+_AccessDeniedForDependencyException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_AccessDeniedForDependencyException =+  Core._MatchServiceError+    defaultService+    "AccessDeniedForDependencyException"++-- | You attempted to close an account that is already closed.+_AccountAlreadyClosedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_AccountAlreadyClosedException =+  Core._MatchServiceError+    defaultService+    "AccountAlreadyClosedException"++-- | The specified account is already a delegated administrator for this+-- Amazon Web Services service.+_AccountAlreadyRegisteredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_AccountAlreadyRegisteredException =+  Core._MatchServiceError+    defaultService+    "AccountAlreadyRegisteredException"++-- | We can\'t find an Amazon Web Services account with the @AccountId@ that+-- you specified, or the account whose credentials you used to make this+-- request isn\'t a member of an organization.+_AccountNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_AccountNotFoundException =+  Core._MatchServiceError+    defaultService+    "AccountNotFoundException"++-- | The specified account is not a delegated administrator for this Amazon+-- Web Services service.+_AccountNotRegisteredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_AccountNotRegisteredException =+  Core._MatchServiceError+    defaultService+    "AccountNotRegisteredException"++-- | You can\'t invite an existing account to your organization until you+-- verify that you own the email address associated with the management+-- account. For more information, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_create.html#about-email-verification Email Address Verification>+-- in the /Organizations User Guide./+_AccountOwnerNotVerifiedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_AccountOwnerNotVerifiedException =+  Core._MatchServiceError+    defaultService+    "AccountOwnerNotVerifiedException"++-- | This account is already a member of an organization. An account can+-- belong to only one organization at a time.+_AlreadyInOrganizationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_AlreadyInOrganizationException =+  Core._MatchServiceError+    defaultService+    "AlreadyInOrganizationException"++-- | We can\'t find an organizational unit (OU) or Amazon Web Services+-- account with the @ChildId@ that you specified.+_ChildNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ChildNotFoundException =+  Core._MatchServiceError+    defaultService+    "ChildNotFoundException"++-- | The target of the operation is currently being modified by a different+-- request. Try again later.+_ConcurrentModificationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ConcurrentModificationException =+  Core._MatchServiceError+    defaultService+    "ConcurrentModificationException"++-- | The request failed because it conflicts with the current state of the+-- specified resource.+_ConflictException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ConflictException =+  Core._MatchServiceError+    defaultService+    "ConflictException"++-- | Performing this operation violates a minimum or maximum value limit. For+-- example, attempting to remove the last service control policy (SCP) from+-- an OU or root, inviting or creating too many accounts to the+-- organization, or attaching too many policies to an account, OU, or root.+-- This exception includes a reason that contains additional information+-- about the violated limit:+--+-- Some of the reasons in the following list might not be applicable to+-- this specific API or operation.+--+-- -   ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the+--     management account from the organization. You can\'t remove the+--     management account. Instead, after you remove all member accounts,+--     delete the organization itself.+--+-- -   ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to+--     remove an account from the organization that doesn\'t yet have+--     enough information to exist as a standalone account. This account+--     requires you to first complete phone verification. Follow the steps+--     at+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master Removing a member account from your organization>+--     in the /Organizations User Guide./+--+-- -   ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the+--     number of accounts that you can create in one day.+--+-- -   ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on+--     the number of accounts in an organization. If you need more+--     accounts, contact+--     <https://docs.aws.amazon.com/support/home#/ Amazon Web Services 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 Amazon Web Services Support to request an+--     increase in the number of accounts.+--+--     Deleted and closed accounts still count toward your limit.+--+--     If you get this exception when running a command immediately after+--     creating the organization, wait one hour and try again. After an+--     hour, if the command continues to fail with this error, contact+--     <https://docs.aws.amazon.com/support/home#/ Amazon Web Services Support>.+--+-- -   CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to+--     register the management account of the organization as a delegated+--     administrator for an Amazon Web Services service integrated with+--     Organizations. You can designate only a member account as a+--     delegated administrator.+--+-- -   CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the+--     management account. To close the management account for the+--     organization, you must first either remove or close all member+--     accounts in the organization. Follow standard account closure+--     process using root credentials.​+--+-- -   CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to+--     remove an account that is registered as a delegated administrator+--     for a service integrated with your organization. To complete this+--     operation, you must first deregister this account as a delegated+--     administrator.+--+-- -   CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota+--     for the past 30 days.+--+-- -   CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the+--     number of accounts that you can close at a time. ​+--+-- -   CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an+--     organization in the specified region, you must enable all features+--     mode.+--+-- -   DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to+--     register an Amazon Web Services account as a delegated administrator+--     for an Amazon Web Services service that already has a delegated+--     administrator. To complete this operation, you must first deregister+--     any existing delegated administrators for this service.+--+-- -   EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only+--     valid for a limited period of time. You must resubmit the request+--     and generate a new verfication code.+--+-- -   HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of+--     handshakes that you can send in one day.+--+-- -   INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no+--     supported payment method is associated with the account. Amazon Web+--     Services does not support cards issued by financial institutions in+--     Russia or Belarus. For more information, see+--     <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html Managing your Amazon Web Services payments>.+--+-- -   MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an+--     account in this organization, you first must migrate the+--     organization\'s management account to the marketplace that+--     corresponds to the management account\'s address. For example,+--     accounts with India addresses must be associated with the AISPL+--     marketplace. All accounts in an organization must be associated with+--     the same marketplace.+--+-- -   MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon+--     Web Services \/> Regions in China. To create an organization, the+--     master must have a valid business license. For more information,+--     contact customer support.+--+-- -   MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you+--     must first provide a valid contact address and phone number for the+--     management account. Then try the operation again.+--+-- -   MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the+--     management account must have an associated account in the Amazon Web+--     Services GovCloud (US-West) Region. For more information, see+--     <https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html Organizations>+--     in the /Amazon Web Services GovCloud User Guide./+--+-- -   MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an+--     organization with this management account, you first must associate+--     a valid payment instrument, such as a credit card, with the account.+--     Follow the steps at+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info To leave an organization when all required account information has not yet been provided>+--     in the /Organizations User Guide./+--+-- -   MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You+--     attempted to register more delegated administrators than allowed for+--     the service principal.+--+-- -   MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed+--     the number of policies of a certain type that can be attached to an+--     entity at one time.+--+-- -   MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed+--     on this resource.+--+-- -   MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this+--     operation with this member account, you first must associate a valid+--     payment instrument, such as a credit card, with the account. Follow+--     the steps at+--     <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info To leave an organization when all required account information has not yet been provided>+--     in the /Organizations User Guide./+--+-- -   MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a+--     policy from an entity that would cause the entity to have fewer than+--     the minimum number of policies of a certain type required.+--+-- -   ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an+--     operation that requires the organization to be configured to support+--     all features. An organization that supports only consolidated+--     billing features can\'t perform this operation.+--+-- -   OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is+--     too many levels deep.+--+-- -   OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs+--     that you can have in an organization.+--+-- -   POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that+--     is larger than the maximum size.+--+-- -   POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of+--     policies that you can have in an organization.+--+-- -   SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated+--     administrator before you enabled service access. Call the+--     @EnableAWSServiceAccess@ API first.+--+-- -   TAG_POLICY_VIOLATION: You attempted to create or update a resource+--     with tags that are not compliant with the tag policy requirements+--     for this account.+--+-- -   WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account,+--     there is a waiting period before you can remove it from the+--     organization. If you get an error that indicates that a wait period+--     is required, try again in a few days.+_ConstraintViolationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ConstraintViolationException =+  Core._MatchServiceError+    defaultService+    "ConstraintViolationException"++-- | We can\'t find an create account request with the+-- @CreateAccountRequestId@ that you specified.+_CreateAccountStatusNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_CreateAccountStatusNotFoundException =+  Core._MatchServiceError+    defaultService+    "CreateAccountStatusNotFoundException"++-- | We can\'t find the destination container (a root or OU) with the+-- @ParentId@ that you specified.+_DestinationParentNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_DestinationParentNotFoundException =+  Core._MatchServiceError+    defaultService+    "DestinationParentNotFoundException"++-- | That account is already present in the specified destination.+_DuplicateAccountException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_DuplicateAccountException =+  Core._MatchServiceError+    defaultService+    "DuplicateAccountException"++-- | 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.+_DuplicateHandshakeException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_DuplicateHandshakeException =+  Core._MatchServiceError+    defaultService+    "DuplicateHandshakeException"++-- | An OU with the same name already exists.+_DuplicateOrganizationalUnitException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_DuplicateOrganizationalUnitException =+  Core._MatchServiceError+    defaultService+    "DuplicateOrganizationalUnitException"++-- | The selected policy is already attached to the specified target.+_DuplicatePolicyAttachmentException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_DuplicatePolicyAttachmentException =+  Core._MatchServiceError+    defaultService+    "DuplicatePolicyAttachmentException"++-- | A policy with the same name already exists.+_DuplicatePolicyException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_DuplicatePolicyException =+  Core._MatchServiceError+    defaultService+    "DuplicatePolicyException"++-- | If you ran this action on the management account, this policy type is+-- not enabled. If you ran the action on a member account, the account+-- doesn\'t have an effective policy of this type. Contact the+-- administrator of your organization about attaching a policy of this type+-- to the account.+_EffectivePolicyNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_EffectivePolicyNotFoundException =+  Core._MatchServiceError+    defaultService+    "EffectivePolicyNotFoundException"++-- | Organizations couldn\'t perform the operation because your organization+-- hasn\'t finished initializing. This can take up to an hour. Try again+-- later. If after one hour you continue to receive this error, contact+-- <https://console.aws.amazon.com/support/home#/ Amazon Web Services Support>.+_FinalizingOrganizationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_FinalizingOrganizationException =+  Core._MatchServiceError+    defaultService+    "FinalizingOrganizationException"++-- | The specified handshake is already in the requested state. For example,+-- you can\'t accept a handshake that was already accepted.+_HandshakeAlreadyInStateException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_HandshakeAlreadyInStateException =+  Core._MatchServiceError+    defaultService+    "HandshakeAlreadyInStateException"++-- | The requested operation would violate the constraint identified in the+-- reason code.+--+-- Some of the reasons in the following list might not be applicable to+-- this specific API or operation:+--+-- -   ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on+--     the number of accounts in an organization. Note that deleted and+--     closed accounts still count toward your limit.+--+--     If you get this exception immediately after creating the+--     organization, wait one hour and try again. If after an hour it+--     continues to fail with this error, contact+--     <https://docs.aws.amazon.com/support/home#/ Amazon Web Services Support>.+--+-- -   ALREADY_IN_AN_ORGANIZATION: The handshake request is invalid because+--     the invited account is already a member of an organization.+--+-- -   HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of+--     handshakes that you can send in one day.+--+-- -   INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: You can\'t issue new+--     invitations to join an organization while it\'s in the process of+--     enabling all features. You can resume inviting accounts after you+--     finalize the process when all accounts have agreed to the change.+--+-- -   ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is+--     invalid because the organization has already enabled all features.+--+-- -   ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: The+--     handshake request is invalid because the organization has already+--     started the process to enable all features.+--+-- -   ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: The request failed+--     because the account is from a different marketplace than the+--     accounts in the organization. For example, accounts with India+--     addresses must be associated with the AISPL marketplace. All+--     accounts in an organization must be from the same marketplace.+--+-- -   ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: You attempted to+--     change the membership of an account too quickly after its previous+--     change.+--+-- -   PAYMENT_INSTRUMENT_REQUIRED: You can\'t complete the operation with+--     an account that doesn\'t have a payment instrument, such as a credit+--     card, associated with it.+_HandshakeConstraintViolationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_HandshakeConstraintViolationException =+  Core._MatchServiceError+    defaultService+    "HandshakeConstraintViolationException"++-- | We can\'t find a handshake with the @HandshakeId@ that you specified.+_HandshakeNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_HandshakeNotFoundException =+  Core._MatchServiceError+    defaultService+    "HandshakeNotFoundException"++-- | 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.+_InvalidHandshakeTransitionException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidHandshakeTransitionException =+  Core._MatchServiceError+    defaultService+    "InvalidHandshakeTransitionException"++-- | The requested operation failed because you provided invalid values for+-- one or more of the request parameters. This exception includes a reason+-- that contains additional information about the violated limit:+--+-- Some of the reasons in the following list might not be applicable to+-- this specific API or operation.+--+-- -   DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached+--     to the same entity.+--+-- -   IMMUTABLE_POLICY: You specified a policy that is managed by Amazon+--     Web Services and can\'t be modified.+--+-- -   INPUT_REQUIRED: You must include a value for all required+--     parameters.+--+-- -   INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address+--     for the invited account owner.+--+-- -   INVALID_ENUM: You specified an invalid value.+--+-- -   INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type+--     string.+--+-- -   INVALID_FULL_NAME_TARGET: You specified a full name that contains+--     invalid characters.+--+-- -   INVALID_LIST_MEMBER: You provided a list to a parameter that+--     contains at least one invalid value.+--+-- -   INVALID_PAGINATION_TOKEN: Get the value for the @NextToken@+--     parameter from the response to a previous call of the operation.+--+-- -   INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity+--     (account, organization, or email) as a party.+--+-- -   INVALID_PATTERN: You provided a value that doesn\'t match the+--     required pattern.+--+-- -   INVALID_PATTERN_TARGET_ID: You specified a policy target ID that+--     doesn\'t match the required pattern.+--+-- -   INVALID_ROLE_NAME: You provided a role name that isn\'t valid. A+--     role name can\'t begin with the reserved prefix @AWSServiceRoleFor@.+--+-- -   INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon+--     Resource Name (ARN) for the organization.+--+-- -   INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID.+--+-- -   INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a+--     system tag. You can’t add, edit, or delete system tag keys because+--     they\'re reserved for Amazon Web Services use. System tags don’t+--     count against your tags per resource limit.+--+-- -   MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter+--     for the operation.+--+-- -   MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer+--     than allowed.+--+-- -   MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a+--     larger value than allowed.+--+-- -   MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter+--     than allowed.+--+-- -   MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a+--     smaller value than allowed.+--+-- -   MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only+--     between entities in the same root.+--+-- -   TARGET_NOT_SUPPORTED: You can\'t perform the specified operation on+--     that target entity.+--+-- -   UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal+--     that isn\'t recognized.+_InvalidInputException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidInputException =+  Core._MatchServiceError+    defaultService+    "InvalidInputException"++-- | The provided policy document doesn\'t meet the requirements of the+-- specified policy type. For example, the syntax might be incorrect. For+-- details about service control policy syntax, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html Service Control Policy Syntax>+-- in the /Organizations User Guide./+_MalformedPolicyDocumentException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_MalformedPolicyDocumentException =+  Core._MatchServiceError+    defaultService+    "MalformedPolicyDocumentException"++-- | You can\'t remove a management account from an organization. If you want+-- the management account to become a member account in another+-- organization, you must first delete the current organization of the+-- management account.+_MasterCannotLeaveOrganizationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_MasterCannotLeaveOrganizationException =+  Core._MatchServiceError+    defaultService+    "MasterCannotLeaveOrganizationException"++-- | The organization isn\'t empty. To delete an organization, you must first+-- remove all accounts except the management account, delete all OUs, and+-- delete all policies.+_OrganizationNotEmptyException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_OrganizationNotEmptyException =+  Core._MatchServiceError+    defaultService+    "OrganizationNotEmptyException"++-- | The specified OU is not empty. Move all accounts to another root or to+-- other OUs, remove all child OUs, and try the operation again.+_OrganizationalUnitNotEmptyException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_OrganizationalUnitNotEmptyException =+  Core._MatchServiceError+    defaultService+    "OrganizationalUnitNotEmptyException"++-- | We can\'t find an OU with the @OrganizationalUnitId@ that you specified.+_OrganizationalUnitNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_OrganizationalUnitNotFoundException =+  Core._MatchServiceError+    defaultService+    "OrganizationalUnitNotFoundException"++-- | We can\'t find a root or OU with the @ParentId@ that you specified.+_ParentNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ParentNotFoundException =+  Core._MatchServiceError+    defaultService+    "ParentNotFoundException"++-- | Changes to the effective policy are in progress, and its contents can\'t+-- be returned. Try the operation again later.+_PolicyChangesInProgressException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_PolicyChangesInProgressException =+  Core._MatchServiceError+    defaultService+    "PolicyChangesInProgressException"++-- | The policy is attached to one or more entities. You must detach it from+-- all roots, OUs, and accounts before performing this operation.+_PolicyInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_PolicyInUseException =+  Core._MatchServiceError+    defaultService+    "PolicyInUseException"++-- | The policy isn\'t attached to the specified target in the specified+-- root.+_PolicyNotAttachedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_PolicyNotAttachedException =+  Core._MatchServiceError+    defaultService+    "PolicyNotAttachedException"++-- | We can\'t find a policy with the @PolicyId@ that you specified.+_PolicyNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_PolicyNotFoundException =+  Core._MatchServiceError+    defaultService+    "PolicyNotFoundException"++-- | The specified policy type is already enabled in the specified root.+_PolicyTypeAlreadyEnabledException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_PolicyTypeAlreadyEnabledException =+  Core._MatchServiceError+    defaultService+    "PolicyTypeAlreadyEnabledException"++-- | You can\'t use the specified policy type with the feature set currently+-- enabled for this organization. For example, you can enable SCPs only+-- after you enable all features in the organization. For more information,+-- see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#enable_policies_on_root Managing Organizations Policies>in+-- the /Organizations User Guide./+_PolicyTypeNotAvailableForOrganizationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_PolicyTypeNotAvailableForOrganizationException =+  Core._MatchServiceError+    defaultService+    "PolicyTypeNotAvailableForOrganizationException"++-- | The specified policy type isn\'t currently enabled in this root. You+-- can\'t attach policies of the specified type to entities in a root until+-- you enable that type in the root. For more information, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html Enabling All Features in Your Organization>+-- in the /Organizations User Guide./+_PolicyTypeNotEnabledException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_PolicyTypeNotEnabledException =+  Core._MatchServiceError+    defaultService+    "PolicyTypeNotEnabledException"++-- | We can\'t find a resource policy request with the parameter that you+-- specified.+_ResourcePolicyNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ResourcePolicyNotFoundException =+  Core._MatchServiceError+    defaultService+    "ResourcePolicyNotFoundException"++-- | We can\'t find a root with the @RootId@ that you specified.+_RootNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_RootNotFoundException =+  Core._MatchServiceError+    defaultService+    "RootNotFoundException"++-- | Organizations can\'t complete your request because of an internal+-- service error. Try again later.+_ServiceException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ServiceException =+  Core._MatchServiceError+    defaultService+    "ServiceException"++-- | We can\'t find a source root or OU with the @ParentId@ that you+-- specified.+_SourceParentNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_SourceParentNotFoundException =+  Core._MatchServiceError+    defaultService+    "SourceParentNotFoundException"++-- | We can\'t find a root, OU, account, or policy with the @TargetId@ that+-- you specified.+_TargetNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_TargetNotFoundException =+  Core._MatchServiceError+    defaultService+    "TargetNotFoundException"++-- | You have sent too many requests in too short a period of time. The quota+-- helps protect against denial-of-service attacks. Try again later.+--+-- For information about quotas that affect Organizations, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html Quotas for Organizations>in+-- the /Organizations User Guide./+_TooManyRequestsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_TooManyRequestsException =+  Core._MatchServiceError+    defaultService+    "TooManyRequestsException"++-- | This action isn\'t available in the current Amazon Web Services Region.+_UnsupportedAPIEndpointException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_UnsupportedAPIEndpointException =+  Core._MatchServiceError+    defaultService+    "UnsupportedAPIEndpointException"
+ gen/Amazonka/Organizations/Types/Account.hs view
@@ -0,0 +1,192 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.Account+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.Account where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types.AccountJoinedMethod+import Amazonka.Organizations.Types.AccountStatus+import qualified Amazonka.Prelude as Prelude++-- | Contains information about an Amazon Web Services account that is a+-- member of an organization.+--+-- /See:/ 'newAccount' smart constructor.+data Account = Account'+  { -- | The Amazon Resource Name (ARN) of the account.+    --+    -- For more information about ARNs in Organizations, see+    -- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+    -- in the /Amazon Web Services Service Authorization Reference/.+    arn :: Prelude.Maybe Prelude.Text,+    -- | The email address associated with the Amazon Web Services account.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter+    -- is a string of characters that represents a standard internet email+    -- address.+    email :: Prelude.Maybe (Data.Sensitive Prelude.Text),+    -- | The unique identifier (ID) of the account.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for an account ID+    -- string requires exactly 12 digits.+    id :: Prelude.Maybe Prelude.Text,+    -- | The method by which the account joined the organization.+    joinedMethod :: Prelude.Maybe AccountJoinedMethod,+    -- | The date the account became a part of the organization.+    joinedTimestamp :: Prelude.Maybe Data.POSIX,+    -- | The friendly name of the account.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+    -- validate this parameter is a string of any of the characters in the+    -- ASCII character range.+    name :: Prelude.Maybe (Data.Sensitive Prelude.Text),+    -- | The status of the account in the organization.+    status :: Prelude.Maybe AccountStatus+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Account' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'account_arn' - The Amazon Resource Name (ARN) of the account.+--+-- For more information about ARNs in Organizations, see+-- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+-- in the /Amazon Web Services Service Authorization Reference/.+--+-- 'email', 'account_email' - The email address associated with the Amazon Web Services account.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter+-- is a string of characters that represents a standard internet email+-- address.+--+-- 'id', 'account_id' - The unique identifier (ID) of the account.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an account ID+-- string requires exactly 12 digits.+--+-- 'joinedMethod', 'account_joinedMethod' - The method by which the account joined the organization.+--+-- 'joinedTimestamp', 'account_joinedTimestamp' - The date the account became a part of the organization.+--+-- 'name', 'account_name' - The friendly name of the account.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter is a string of any of the characters in the+-- ASCII character range.+--+-- 'status', 'account_status' - The status of the account in the organization.+newAccount ::+  Account+newAccount =+  Account'+    { arn = Prelude.Nothing,+      email = Prelude.Nothing,+      id = Prelude.Nothing,+      joinedMethod = Prelude.Nothing,+      joinedTimestamp = Prelude.Nothing,+      name = Prelude.Nothing,+      status = Prelude.Nothing+    }++-- | The Amazon Resource Name (ARN) of the account.+--+-- For more information about ARNs in Organizations, see+-- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+-- in the /Amazon Web Services Service Authorization Reference/.+account_arn :: Lens.Lens' Account (Prelude.Maybe Prelude.Text)+account_arn = Lens.lens (\Account' {arn} -> arn) (\s@Account' {} a -> s {arn = a} :: Account)++-- | The email address associated with the Amazon Web Services account.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter+-- is a string of characters that represents a standard internet email+-- address.+account_email :: Lens.Lens' Account (Prelude.Maybe Prelude.Text)+account_email = Lens.lens (\Account' {email} -> email) (\s@Account' {} a -> s {email = a} :: Account) Prelude.. Lens.mapping Data._Sensitive++-- | The unique identifier (ID) of the account.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an account ID+-- string requires exactly 12 digits.+account_id :: Lens.Lens' Account (Prelude.Maybe Prelude.Text)+account_id = Lens.lens (\Account' {id} -> id) (\s@Account' {} a -> s {id = a} :: Account)++-- | The method by which the account joined the organization.+account_joinedMethod :: Lens.Lens' Account (Prelude.Maybe AccountJoinedMethod)+account_joinedMethod = Lens.lens (\Account' {joinedMethod} -> joinedMethod) (\s@Account' {} a -> s {joinedMethod = a} :: Account)++-- | The date the account became a part of the organization.+account_joinedTimestamp :: Lens.Lens' Account (Prelude.Maybe Prelude.UTCTime)+account_joinedTimestamp = Lens.lens (\Account' {joinedTimestamp} -> joinedTimestamp) (\s@Account' {} a -> s {joinedTimestamp = a} :: Account) Prelude.. Lens.mapping Data._Time++-- | The friendly name of the account.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter is a string of any of the characters in the+-- ASCII character range.+account_name :: Lens.Lens' Account (Prelude.Maybe Prelude.Text)+account_name = Lens.lens (\Account' {name} -> name) (\s@Account' {} a -> s {name = a} :: Account) Prelude.. Lens.mapping Data._Sensitive++-- | The status of the account in the organization.+account_status :: Lens.Lens' Account (Prelude.Maybe AccountStatus)+account_status = Lens.lens (\Account' {status} -> status) (\s@Account' {} a -> s {status = a} :: Account)++instance Data.FromJSON Account where+  parseJSON =+    Data.withObject+      "Account"+      ( \x ->+          Account'+            Prelude.<$> (x Data..:? "Arn")+            Prelude.<*> (x Data..:? "Email")+            Prelude.<*> (x Data..:? "Id")+            Prelude.<*> (x Data..:? "JoinedMethod")+            Prelude.<*> (x Data..:? "JoinedTimestamp")+            Prelude.<*> (x Data..:? "Name")+            Prelude.<*> (x Data..:? "Status")+      )++instance Prelude.Hashable Account where+  hashWithSalt _salt Account' {..} =+    _salt+      `Prelude.hashWithSalt` arn+      `Prelude.hashWithSalt` email+      `Prelude.hashWithSalt` id+      `Prelude.hashWithSalt` joinedMethod+      `Prelude.hashWithSalt` joinedTimestamp+      `Prelude.hashWithSalt` name+      `Prelude.hashWithSalt` status++instance Prelude.NFData Account where+  rnf Account' {..} =+    Prelude.rnf arn+      `Prelude.seq` Prelude.rnf email+      `Prelude.seq` Prelude.rnf id+      `Prelude.seq` Prelude.rnf joinedMethod+      `Prelude.seq` Prelude.rnf joinedTimestamp+      `Prelude.seq` Prelude.rnf name+      `Prelude.seq` Prelude.rnf status
+ gen/Amazonka/Organizations/Types/AccountJoinedMethod.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.AccountJoinedMethod+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.AccountJoinedMethod+  ( AccountJoinedMethod+      ( ..,+        AccountJoinedMethod_CREATED,+        AccountJoinedMethod_INVITED+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype AccountJoinedMethod = AccountJoinedMethod'+  { fromAccountJoinedMethod ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern AccountJoinedMethod_CREATED :: AccountJoinedMethod+pattern AccountJoinedMethod_CREATED = AccountJoinedMethod' "CREATED"++pattern AccountJoinedMethod_INVITED :: AccountJoinedMethod+pattern AccountJoinedMethod_INVITED = AccountJoinedMethod' "INVITED"++{-# COMPLETE+  AccountJoinedMethod_CREATED,+  AccountJoinedMethod_INVITED,+  AccountJoinedMethod'+  #-}
+ gen/Amazonka/Organizations/Types/AccountStatus.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.AccountStatus+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.AccountStatus+  ( AccountStatus+      ( ..,+        AccountStatus_ACTIVE,+        AccountStatus_PENDING_CLOSURE,+        AccountStatus_SUSPENDED+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype AccountStatus = AccountStatus'+  { fromAccountStatus ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern AccountStatus_ACTIVE :: AccountStatus+pattern AccountStatus_ACTIVE = AccountStatus' "ACTIVE"++pattern AccountStatus_PENDING_CLOSURE :: AccountStatus+pattern AccountStatus_PENDING_CLOSURE = AccountStatus' "PENDING_CLOSURE"++pattern AccountStatus_SUSPENDED :: AccountStatus+pattern AccountStatus_SUSPENDED = AccountStatus' "SUSPENDED"++{-# COMPLETE+  AccountStatus_ACTIVE,+  AccountStatus_PENDING_CLOSURE,+  AccountStatus_SUSPENDED,+  AccountStatus'+  #-}
+ gen/Amazonka/Organizations/Types/ActionType.hs view
@@ -0,0 +1,81 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.ActionType+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.ActionType+  ( ActionType+      ( ..,+        ActionType_ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE,+        ActionType_APPROVE_ALL_FEATURES,+        ActionType_ENABLE_ALL_FEATURES,+        ActionType_INVITE+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ActionType = ActionType'+  { fromActionType ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern ActionType_ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE :: ActionType+pattern ActionType_ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE = ActionType' "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE"++pattern ActionType_APPROVE_ALL_FEATURES :: ActionType+pattern ActionType_APPROVE_ALL_FEATURES = ActionType' "APPROVE_ALL_FEATURES"++pattern ActionType_ENABLE_ALL_FEATURES :: ActionType+pattern ActionType_ENABLE_ALL_FEATURES = ActionType' "ENABLE_ALL_FEATURES"++pattern ActionType_INVITE :: ActionType+pattern ActionType_INVITE = ActionType' "INVITE"++{-# COMPLETE+  ActionType_ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE,+  ActionType_APPROVE_ALL_FEATURES,+  ActionType_ENABLE_ALL_FEATURES,+  ActionType_INVITE,+  ActionType'+  #-}
+ gen/Amazonka/Organizations/Types/Child.hs view
@@ -0,0 +1,114 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.Child+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.Child where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types.ChildType+import qualified Amazonka.Prelude as Prelude++-- | Contains a list of child entities, either OUs or accounts.+--+-- /See:/ 'newChild' smart constructor.+data Child = Child'+  { -- | The unique identifier (ID) of this child entity.+    --+    -- The <http://wikipedia.org/wiki/regex 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 lowercase letters or digits (the ID of the+    --     root that contains the OU). This string is followed by a second+    --     \"-\" dash and from 8 to 32 additional lowercase letters or digits.+    id :: Prelude.Maybe Prelude.Text,+    -- | The type of this child entity.+    type' :: Prelude.Maybe ChildType+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Child' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'id', 'child_id' - The unique identifier (ID) of this child entity.+--+-- The <http://wikipedia.org/wiki/regex 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 lowercase letters or digits (the ID of the+--     root that contains the OU). This string is followed by a second+--     \"-\" dash and from 8 to 32 additional lowercase letters or digits.+--+-- 'type'', 'child_type' - The type of this child entity.+newChild ::+  Child+newChild =+  Child'+    { id = Prelude.Nothing,+      type' = Prelude.Nothing+    }++-- | The unique identifier (ID) of this child entity.+--+-- The <http://wikipedia.org/wiki/regex 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 lowercase letters or digits (the ID of the+--     root that contains the OU). This string is followed by a second+--     \"-\" dash and from 8 to 32 additional lowercase letters or digits.+child_id :: Lens.Lens' Child (Prelude.Maybe Prelude.Text)+child_id = Lens.lens (\Child' {id} -> id) (\s@Child' {} a -> s {id = a} :: Child)++-- | The type of this child entity.+child_type :: Lens.Lens' Child (Prelude.Maybe ChildType)+child_type = Lens.lens (\Child' {type'} -> type') (\s@Child' {} a -> s {type' = a} :: Child)++instance Data.FromJSON Child where+  parseJSON =+    Data.withObject+      "Child"+      ( \x ->+          Child'+            Prelude.<$> (x Data..:? "Id")+            Prelude.<*> (x Data..:? "Type")+      )++instance Prelude.Hashable Child where+  hashWithSalt _salt Child' {..} =+    _salt+      `Prelude.hashWithSalt` id+      `Prelude.hashWithSalt` type'++instance Prelude.NFData Child where+  rnf Child' {..} =+    Prelude.rnf id `Prelude.seq` Prelude.rnf type'
+ gen/Amazonka/Organizations/Types/ChildType.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.ChildType+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.ChildType+  ( ChildType+      ( ..,+        ChildType_ACCOUNT,+        ChildType_ORGANIZATIONAL_UNIT+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ChildType = ChildType'+  { fromChildType ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern ChildType_ACCOUNT :: ChildType+pattern ChildType_ACCOUNT = ChildType' "ACCOUNT"++pattern ChildType_ORGANIZATIONAL_UNIT :: ChildType+pattern ChildType_ORGANIZATIONAL_UNIT = ChildType' "ORGANIZATIONAL_UNIT"++{-# COMPLETE+  ChildType_ACCOUNT,+  ChildType_ORGANIZATIONAL_UNIT,+  ChildType'+  #-}
+ gen/Amazonka/Organizations/Types/CreateAccountFailureReason.hs view
@@ -0,0 +1,136 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.CreateAccountFailureReason+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.CreateAccountFailureReason+  ( CreateAccountFailureReason+      ( ..,+        CreateAccountFailureReason_ACCOUNT_LIMIT_EXCEEDED,+        CreateAccountFailureReason_CONCURRENT_ACCOUNT_MODIFICATION,+        CreateAccountFailureReason_EMAIL_ALREADY_EXISTS,+        CreateAccountFailureReason_FAILED_BUSINESS_VALIDATION,+        CreateAccountFailureReason_GOVCLOUD_ACCOUNT_ALREADY_EXISTS,+        CreateAccountFailureReason_INTERNAL_FAILURE,+        CreateAccountFailureReason_INVALID_ADDRESS,+        CreateAccountFailureReason_INVALID_EMAIL,+        CreateAccountFailureReason_INVALID_IDENTITY_FOR_BUSINESS_VALIDATION,+        CreateAccountFailureReason_INVALID_PAYMENT_INSTRUMENT,+        CreateAccountFailureReason_MISSING_BUSINESS_VALIDATION,+        CreateAccountFailureReason_MISSING_PAYMENT_INSTRUMENT,+        CreateAccountFailureReason_PENDING_BUSINESS_VALIDATION,+        CreateAccountFailureReason_UNKNOWN_BUSINESS_VALIDATION,+        CreateAccountFailureReason_UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype CreateAccountFailureReason = CreateAccountFailureReason'+  { fromCreateAccountFailureReason ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern CreateAccountFailureReason_ACCOUNT_LIMIT_EXCEEDED :: CreateAccountFailureReason+pattern CreateAccountFailureReason_ACCOUNT_LIMIT_EXCEEDED = CreateAccountFailureReason' "ACCOUNT_LIMIT_EXCEEDED"++pattern CreateAccountFailureReason_CONCURRENT_ACCOUNT_MODIFICATION :: CreateAccountFailureReason+pattern CreateAccountFailureReason_CONCURRENT_ACCOUNT_MODIFICATION = CreateAccountFailureReason' "CONCURRENT_ACCOUNT_MODIFICATION"++pattern CreateAccountFailureReason_EMAIL_ALREADY_EXISTS :: CreateAccountFailureReason+pattern CreateAccountFailureReason_EMAIL_ALREADY_EXISTS = CreateAccountFailureReason' "EMAIL_ALREADY_EXISTS"++pattern CreateAccountFailureReason_FAILED_BUSINESS_VALIDATION :: CreateAccountFailureReason+pattern CreateAccountFailureReason_FAILED_BUSINESS_VALIDATION = CreateAccountFailureReason' "FAILED_BUSINESS_VALIDATION"++pattern CreateAccountFailureReason_GOVCLOUD_ACCOUNT_ALREADY_EXISTS :: CreateAccountFailureReason+pattern CreateAccountFailureReason_GOVCLOUD_ACCOUNT_ALREADY_EXISTS = CreateAccountFailureReason' "GOVCLOUD_ACCOUNT_ALREADY_EXISTS"++pattern CreateAccountFailureReason_INTERNAL_FAILURE :: CreateAccountFailureReason+pattern CreateAccountFailureReason_INTERNAL_FAILURE = CreateAccountFailureReason' "INTERNAL_FAILURE"++pattern CreateAccountFailureReason_INVALID_ADDRESS :: CreateAccountFailureReason+pattern CreateAccountFailureReason_INVALID_ADDRESS = CreateAccountFailureReason' "INVALID_ADDRESS"++pattern CreateAccountFailureReason_INVALID_EMAIL :: CreateAccountFailureReason+pattern CreateAccountFailureReason_INVALID_EMAIL = CreateAccountFailureReason' "INVALID_EMAIL"++pattern CreateAccountFailureReason_INVALID_IDENTITY_FOR_BUSINESS_VALIDATION :: CreateAccountFailureReason+pattern CreateAccountFailureReason_INVALID_IDENTITY_FOR_BUSINESS_VALIDATION = CreateAccountFailureReason' "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION"++pattern CreateAccountFailureReason_INVALID_PAYMENT_INSTRUMENT :: CreateAccountFailureReason+pattern CreateAccountFailureReason_INVALID_PAYMENT_INSTRUMENT = CreateAccountFailureReason' "INVALID_PAYMENT_INSTRUMENT"++pattern CreateAccountFailureReason_MISSING_BUSINESS_VALIDATION :: CreateAccountFailureReason+pattern CreateAccountFailureReason_MISSING_BUSINESS_VALIDATION = CreateAccountFailureReason' "MISSING_BUSINESS_VALIDATION"++pattern CreateAccountFailureReason_MISSING_PAYMENT_INSTRUMENT :: CreateAccountFailureReason+pattern CreateAccountFailureReason_MISSING_PAYMENT_INSTRUMENT = CreateAccountFailureReason' "MISSING_PAYMENT_INSTRUMENT"++pattern CreateAccountFailureReason_PENDING_BUSINESS_VALIDATION :: CreateAccountFailureReason+pattern CreateAccountFailureReason_PENDING_BUSINESS_VALIDATION = CreateAccountFailureReason' "PENDING_BUSINESS_VALIDATION"++pattern CreateAccountFailureReason_UNKNOWN_BUSINESS_VALIDATION :: CreateAccountFailureReason+pattern CreateAccountFailureReason_UNKNOWN_BUSINESS_VALIDATION = CreateAccountFailureReason' "UNKNOWN_BUSINESS_VALIDATION"++pattern CreateAccountFailureReason_UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED :: CreateAccountFailureReason+pattern CreateAccountFailureReason_UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED = CreateAccountFailureReason' "UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED"++{-# COMPLETE+  CreateAccountFailureReason_ACCOUNT_LIMIT_EXCEEDED,+  CreateAccountFailureReason_CONCURRENT_ACCOUNT_MODIFICATION,+  CreateAccountFailureReason_EMAIL_ALREADY_EXISTS,+  CreateAccountFailureReason_FAILED_BUSINESS_VALIDATION,+  CreateAccountFailureReason_GOVCLOUD_ACCOUNT_ALREADY_EXISTS,+  CreateAccountFailureReason_INTERNAL_FAILURE,+  CreateAccountFailureReason_INVALID_ADDRESS,+  CreateAccountFailureReason_INVALID_EMAIL,+  CreateAccountFailureReason_INVALID_IDENTITY_FOR_BUSINESS_VALIDATION,+  CreateAccountFailureReason_INVALID_PAYMENT_INSTRUMENT,+  CreateAccountFailureReason_MISSING_BUSINESS_VALIDATION,+  CreateAccountFailureReason_MISSING_PAYMENT_INSTRUMENT,+  CreateAccountFailureReason_PENDING_BUSINESS_VALIDATION,+  CreateAccountFailureReason_UNKNOWN_BUSINESS_VALIDATION,+  CreateAccountFailureReason_UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED,+  CreateAccountFailureReason'+  #-}
+ gen/Amazonka/Organizations/Types/CreateAccountState.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.CreateAccountState+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.CreateAccountState+  ( CreateAccountState+      ( ..,+        CreateAccountState_FAILED,+        CreateAccountState_IN_PROGRESS,+        CreateAccountState_SUCCEEDED+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype CreateAccountState = CreateAccountState'+  { fromCreateAccountState ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern CreateAccountState_FAILED :: CreateAccountState+pattern CreateAccountState_FAILED = CreateAccountState' "FAILED"++pattern CreateAccountState_IN_PROGRESS :: CreateAccountState+pattern CreateAccountState_IN_PROGRESS = CreateAccountState' "IN_PROGRESS"++pattern CreateAccountState_SUCCEEDED :: CreateAccountState+pattern CreateAccountState_SUCCEEDED = CreateAccountState' "SUCCEEDED"++{-# COMPLETE+  CreateAccountState_FAILED,+  CreateAccountState_IN_PROGRESS,+  CreateAccountState_SUCCEEDED,+  CreateAccountState'+  #-}
+ gen/Amazonka/Organizations/Types/CreateAccountStatus.hs view
@@ -0,0 +1,358 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.CreateAccountStatus+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.CreateAccountStatus where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types.CreateAccountFailureReason+import Amazonka.Organizations.Types.CreateAccountState+import qualified Amazonka.Prelude as Prelude++-- | Contains the status about a CreateAccount or CreateGovCloudAccount+-- request to create an Amazon Web Services account or an Amazon Web+-- Services GovCloud (US) account in an organization.+--+-- /See:/ 'newCreateAccountStatus' smart constructor.+data CreateAccountStatus = CreateAccountStatus'+  { -- | If the account was created successfully, the unique identifier (ID) of+    -- the new account.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for an account ID+    -- string requires exactly 12 digits.+    accountId :: Prelude.Maybe Prelude.Text,+    -- | The account name given to the account when it was created.+    accountName :: Prelude.Maybe (Data.Sensitive Prelude.Text),+    -- | The date and time that the account was created and the request+    -- completed.+    completedTimestamp :: Prelude.Maybe Data.POSIX,+    -- | If the request failed, a description of the reason for the failure.+    --+    -- -   ACCOUNT_LIMIT_EXCEEDED: The account couldn\'t be created because you+    --     reached the limit on the number of accounts in your organization.+    --+    -- -   CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request+    --     with the same information.+    --+    -- -   EMAIL_ALREADY_EXISTS: The account could not be created because+    --     another Amazon Web Services account with that email address already+    --     exists.+    --+    -- -   FAILED_BUSINESS_VALIDATION: The Amazon Web Services account that+    --     owns your organization failed to receive business license+    --     validation.+    --+    -- -   GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the Amazon Web+    --     Services GovCloud (US) Region could not be created because this+    --     Region already includes an account with that email address.+    --+    -- -   IDENTITY_INVALID_BUSINESS_VALIDATION: The Amazon Web Services+    --     account that owns your organization can\'t complete business license+    --     validation because it doesn\'t have valid identity data.+    --+    -- -   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.+    --+    -- -   INVALID_PAYMENT_INSTRUMENT: The Amazon Web Services account that+    --     owns your organization does not have a supported payment method+    --     associated with the account. Amazon Web Services does not support+    --     cards issued by financial institutions in Russia or Belarus. For+    --     more information, see+    --     <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html Managing your Amazon Web Services payments>.+    --+    -- -   INTERNAL_FAILURE: The account could not be created because of an+    --     internal failure. Try again later. If the problem persists, contact+    --     Amazon Web Services Customer Support.+    --+    -- -   MISSING_BUSINESS_VALIDATION: The Amazon Web Services account that+    --     owns your organization has not received Business Validation.+    --+    -- -   MISSING_PAYMENT_INSTRUMENT: You must configure the management+    --     account with a valid payment method, such as a credit card.+    --+    -- -   PENDING_BUSINESS_VALIDATION: The Amazon Web Services account that+    --     owns your organization is still in the process of completing+    --     business license validation.+    --+    -- -   UNKNOWN_BUSINESS_VALIDATION: The Amazon Web Services account that+    --     owns your organization has an unknown issue with business license+    --     validation.+    failureReason :: Prelude.Maybe CreateAccountFailureReason,+    -- | If the account was created successfully, the unique identifier (ID) of+    -- the new account in the Amazon Web Services GovCloud (US) Region.+    govCloudAccountId :: Prelude.Maybe Prelude.Text,+    -- | 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 <http://wikipedia.org/wiki/regex regex pattern> for a create account+    -- request ID string requires \"car-\" followed by from 8 to 32 lowercase+    -- letters or digits.+    id :: Prelude.Maybe Prelude.Text,+    -- | The date and time that the request was made for the account creation.+    requestedTimestamp :: Prelude.Maybe Data.POSIX,+    -- | The status of the asynchronous request to create an Amazon Web Services+    -- account.+    state :: Prelude.Maybe CreateAccountState+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateAccountStatus' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'accountId', 'createAccountStatus_accountId' - If the account was created successfully, the unique identifier (ID) of+-- the new account.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an account ID+-- string requires exactly 12 digits.+--+-- 'accountName', 'createAccountStatus_accountName' - The account name given to the account when it was created.+--+-- 'completedTimestamp', 'createAccountStatus_completedTimestamp' - The date and time that the account was created and the request+-- completed.+--+-- 'failureReason', 'createAccountStatus_failureReason' - If the request failed, a description of the reason for the failure.+--+-- -   ACCOUNT_LIMIT_EXCEEDED: The account couldn\'t be created because you+--     reached the limit on the number of accounts in your organization.+--+-- -   CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request+--     with the same information.+--+-- -   EMAIL_ALREADY_EXISTS: The account could not be created because+--     another Amazon Web Services account with that email address already+--     exists.+--+-- -   FAILED_BUSINESS_VALIDATION: The Amazon Web Services account that+--     owns your organization failed to receive business license+--     validation.+--+-- -   GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the Amazon Web+--     Services GovCloud (US) Region could not be created because this+--     Region already includes an account with that email address.+--+-- -   IDENTITY_INVALID_BUSINESS_VALIDATION: The Amazon Web Services+--     account that owns your organization can\'t complete business license+--     validation because it doesn\'t have valid identity data.+--+-- -   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.+--+-- -   INVALID_PAYMENT_INSTRUMENT: The Amazon Web Services account that+--     owns your organization does not have a supported payment method+--     associated with the account. Amazon Web Services does not support+--     cards issued by financial institutions in Russia or Belarus. For+--     more information, see+--     <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html Managing your Amazon Web Services payments>.+--+-- -   INTERNAL_FAILURE: The account could not be created because of an+--     internal failure. Try again later. If the problem persists, contact+--     Amazon Web Services Customer Support.+--+-- -   MISSING_BUSINESS_VALIDATION: The Amazon Web Services account that+--     owns your organization has not received Business Validation.+--+-- -   MISSING_PAYMENT_INSTRUMENT: You must configure the management+--     account with a valid payment method, such as a credit card.+--+-- -   PENDING_BUSINESS_VALIDATION: The Amazon Web Services account that+--     owns your organization is still in the process of completing+--     business license validation.+--+-- -   UNKNOWN_BUSINESS_VALIDATION: The Amazon Web Services account that+--     owns your organization has an unknown issue with business license+--     validation.+--+-- 'govCloudAccountId', 'createAccountStatus_govCloudAccountId' - If the account was created successfully, the unique identifier (ID) of+-- the new account in the Amazon Web Services GovCloud (US) Region.+--+-- 'id', 'createAccountStatus_id' - 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 <http://wikipedia.org/wiki/regex regex pattern> for a create account+-- request ID string requires \"car-\" followed by from 8 to 32 lowercase+-- letters or digits.+--+-- 'requestedTimestamp', 'createAccountStatus_requestedTimestamp' - The date and time that the request was made for the account creation.+--+-- 'state', 'createAccountStatus_state' - The status of the asynchronous request to create an Amazon Web Services+-- account.+newCreateAccountStatus ::+  CreateAccountStatus+newCreateAccountStatus =+  CreateAccountStatus'+    { accountId = Prelude.Nothing,+      accountName = Prelude.Nothing,+      completedTimestamp = Prelude.Nothing,+      failureReason = Prelude.Nothing,+      govCloudAccountId = Prelude.Nothing,+      id = Prelude.Nothing,+      requestedTimestamp = Prelude.Nothing,+      state = Prelude.Nothing+    }++-- | If the account was created successfully, the unique identifier (ID) of+-- the new account.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an account ID+-- string requires exactly 12 digits.+createAccountStatus_accountId :: Lens.Lens' CreateAccountStatus (Prelude.Maybe Prelude.Text)+createAccountStatus_accountId = Lens.lens (\CreateAccountStatus' {accountId} -> accountId) (\s@CreateAccountStatus' {} a -> s {accountId = a} :: CreateAccountStatus)++-- | The account name given to the account when it was created.+createAccountStatus_accountName :: Lens.Lens' CreateAccountStatus (Prelude.Maybe Prelude.Text)+createAccountStatus_accountName = Lens.lens (\CreateAccountStatus' {accountName} -> accountName) (\s@CreateAccountStatus' {} a -> s {accountName = a} :: CreateAccountStatus) Prelude.. Lens.mapping Data._Sensitive++-- | The date and time that the account was created and the request+-- completed.+createAccountStatus_completedTimestamp :: Lens.Lens' CreateAccountStatus (Prelude.Maybe Prelude.UTCTime)+createAccountStatus_completedTimestamp = Lens.lens (\CreateAccountStatus' {completedTimestamp} -> completedTimestamp) (\s@CreateAccountStatus' {} a -> s {completedTimestamp = a} :: CreateAccountStatus) Prelude.. Lens.mapping Data._Time++-- | If the request failed, a description of the reason for the failure.+--+-- -   ACCOUNT_LIMIT_EXCEEDED: The account couldn\'t be created because you+--     reached the limit on the number of accounts in your organization.+--+-- -   CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request+--     with the same information.+--+-- -   EMAIL_ALREADY_EXISTS: The account could not be created because+--     another Amazon Web Services account with that email address already+--     exists.+--+-- -   FAILED_BUSINESS_VALIDATION: The Amazon Web Services account that+--     owns your organization failed to receive business license+--     validation.+--+-- -   GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the Amazon Web+--     Services GovCloud (US) Region could not be created because this+--     Region already includes an account with that email address.+--+-- -   IDENTITY_INVALID_BUSINESS_VALIDATION: The Amazon Web Services+--     account that owns your organization can\'t complete business license+--     validation because it doesn\'t have valid identity data.+--+-- -   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.+--+-- -   INVALID_PAYMENT_INSTRUMENT: The Amazon Web Services account that+--     owns your organization does not have a supported payment method+--     associated with the account. Amazon Web Services does not support+--     cards issued by financial institutions in Russia or Belarus. For+--     more information, see+--     <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html Managing your Amazon Web Services payments>.+--+-- -   INTERNAL_FAILURE: The account could not be created because of an+--     internal failure. Try again later. If the problem persists, contact+--     Amazon Web Services Customer Support.+--+-- -   MISSING_BUSINESS_VALIDATION: The Amazon Web Services account that+--     owns your organization has not received Business Validation.+--+-- -   MISSING_PAYMENT_INSTRUMENT: You must configure the management+--     account with a valid payment method, such as a credit card.+--+-- -   PENDING_BUSINESS_VALIDATION: The Amazon Web Services account that+--     owns your organization is still in the process of completing+--     business license validation.+--+-- -   UNKNOWN_BUSINESS_VALIDATION: The Amazon Web Services account that+--     owns your organization has an unknown issue with business license+--     validation.+createAccountStatus_failureReason :: Lens.Lens' CreateAccountStatus (Prelude.Maybe CreateAccountFailureReason)+createAccountStatus_failureReason = Lens.lens (\CreateAccountStatus' {failureReason} -> failureReason) (\s@CreateAccountStatus' {} a -> s {failureReason = a} :: CreateAccountStatus)++-- | If the account was created successfully, the unique identifier (ID) of+-- the new account in the Amazon Web Services GovCloud (US) Region.+createAccountStatus_govCloudAccountId :: Lens.Lens' CreateAccountStatus (Prelude.Maybe Prelude.Text)+createAccountStatus_govCloudAccountId = Lens.lens (\CreateAccountStatus' {govCloudAccountId} -> govCloudAccountId) (\s@CreateAccountStatus' {} a -> s {govCloudAccountId = a} :: CreateAccountStatus)++-- | 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 <http://wikipedia.org/wiki/regex regex pattern> for a create account+-- request ID string requires \"car-\" followed by from 8 to 32 lowercase+-- letters or digits.+createAccountStatus_id :: Lens.Lens' CreateAccountStatus (Prelude.Maybe Prelude.Text)+createAccountStatus_id = Lens.lens (\CreateAccountStatus' {id} -> id) (\s@CreateAccountStatus' {} a -> s {id = a} :: CreateAccountStatus)++-- | The date and time that the request was made for the account creation.+createAccountStatus_requestedTimestamp :: Lens.Lens' CreateAccountStatus (Prelude.Maybe Prelude.UTCTime)+createAccountStatus_requestedTimestamp = Lens.lens (\CreateAccountStatus' {requestedTimestamp} -> requestedTimestamp) (\s@CreateAccountStatus' {} a -> s {requestedTimestamp = a} :: CreateAccountStatus) Prelude.. Lens.mapping Data._Time++-- | The status of the asynchronous request to create an Amazon Web Services+-- account.+createAccountStatus_state :: Lens.Lens' CreateAccountStatus (Prelude.Maybe CreateAccountState)+createAccountStatus_state = Lens.lens (\CreateAccountStatus' {state} -> state) (\s@CreateAccountStatus' {} a -> s {state = a} :: CreateAccountStatus)++instance Data.FromJSON CreateAccountStatus where+  parseJSON =+    Data.withObject+      "CreateAccountStatus"+      ( \x ->+          CreateAccountStatus'+            Prelude.<$> (x Data..:? "AccountId")+            Prelude.<*> (x Data..:? "AccountName")+            Prelude.<*> (x Data..:? "CompletedTimestamp")+            Prelude.<*> (x Data..:? "FailureReason")+            Prelude.<*> (x Data..:? "GovCloudAccountId")+            Prelude.<*> (x Data..:? "Id")+            Prelude.<*> (x Data..:? "RequestedTimestamp")+            Prelude.<*> (x Data..:? "State")+      )++instance Prelude.Hashable CreateAccountStatus where+  hashWithSalt _salt CreateAccountStatus' {..} =+    _salt+      `Prelude.hashWithSalt` accountId+      `Prelude.hashWithSalt` accountName+      `Prelude.hashWithSalt` completedTimestamp+      `Prelude.hashWithSalt` failureReason+      `Prelude.hashWithSalt` govCloudAccountId+      `Prelude.hashWithSalt` id+      `Prelude.hashWithSalt` requestedTimestamp+      `Prelude.hashWithSalt` state++instance Prelude.NFData CreateAccountStatus where+  rnf CreateAccountStatus' {..} =+    Prelude.rnf accountId+      `Prelude.seq` Prelude.rnf accountName+      `Prelude.seq` Prelude.rnf completedTimestamp+      `Prelude.seq` Prelude.rnf failureReason+      `Prelude.seq` Prelude.rnf govCloudAccountId+      `Prelude.seq` Prelude.rnf id+      `Prelude.seq` Prelude.rnf requestedTimestamp+      `Prelude.seq` Prelude.rnf state
+ gen/Amazonka/Organizations/Types/DelegatedAdministrator.hs view
@@ -0,0 +1,173 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.DelegatedAdministrator+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.DelegatedAdministrator where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types.AccountJoinedMethod+import Amazonka.Organizations.Types.AccountStatus+import qualified Amazonka.Prelude as Prelude++-- | Contains information about the delegated administrator.+--+-- /See:/ 'newDelegatedAdministrator' smart constructor.+data DelegatedAdministrator = DelegatedAdministrator'+  { -- | The Amazon Resource Name (ARN) of the delegated administrator\'s+    -- account.+    arn :: Prelude.Maybe Prelude.Text,+    -- | The date when the account was made a delegated administrator.+    delegationEnabledDate :: Prelude.Maybe Data.POSIX,+    -- | The email address that is associated with the delegated administrator\'s+    -- Amazon Web Services account.+    email :: Prelude.Maybe (Data.Sensitive Prelude.Text),+    -- | The unique identifier (ID) of the delegated administrator\'s account.+    id :: Prelude.Maybe Prelude.Text,+    -- | The method by which the delegated administrator\'s account joined the+    -- organization.+    joinedMethod :: Prelude.Maybe AccountJoinedMethod,+    -- | The date when the delegated administrator\'s account became a part of+    -- the organization.+    joinedTimestamp :: Prelude.Maybe Data.POSIX,+    -- | The friendly name of the delegated administrator\'s account.+    name :: Prelude.Maybe (Data.Sensitive Prelude.Text),+    -- | The status of the delegated administrator\'s account in the+    -- organization.+    status :: Prelude.Maybe AccountStatus+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DelegatedAdministrator' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'delegatedAdministrator_arn' - The Amazon Resource Name (ARN) of the delegated administrator\'s+-- account.+--+-- 'delegationEnabledDate', 'delegatedAdministrator_delegationEnabledDate' - The date when the account was made a delegated administrator.+--+-- 'email', 'delegatedAdministrator_email' - The email address that is associated with the delegated administrator\'s+-- Amazon Web Services account.+--+-- 'id', 'delegatedAdministrator_id' - The unique identifier (ID) of the delegated administrator\'s account.+--+-- 'joinedMethod', 'delegatedAdministrator_joinedMethod' - The method by which the delegated administrator\'s account joined the+-- organization.+--+-- 'joinedTimestamp', 'delegatedAdministrator_joinedTimestamp' - The date when the delegated administrator\'s account became a part of+-- the organization.+--+-- 'name', 'delegatedAdministrator_name' - The friendly name of the delegated administrator\'s account.+--+-- 'status', 'delegatedAdministrator_status' - The status of the delegated administrator\'s account in the+-- organization.+newDelegatedAdministrator ::+  DelegatedAdministrator+newDelegatedAdministrator =+  DelegatedAdministrator'+    { arn = Prelude.Nothing,+      delegationEnabledDate = Prelude.Nothing,+      email = Prelude.Nothing,+      id = Prelude.Nothing,+      joinedMethod = Prelude.Nothing,+      joinedTimestamp = Prelude.Nothing,+      name = Prelude.Nothing,+      status = Prelude.Nothing+    }++-- | The Amazon Resource Name (ARN) of the delegated administrator\'s+-- account.+delegatedAdministrator_arn :: Lens.Lens' DelegatedAdministrator (Prelude.Maybe Prelude.Text)+delegatedAdministrator_arn = Lens.lens (\DelegatedAdministrator' {arn} -> arn) (\s@DelegatedAdministrator' {} a -> s {arn = a} :: DelegatedAdministrator)++-- | The date when the account was made a delegated administrator.+delegatedAdministrator_delegationEnabledDate :: Lens.Lens' DelegatedAdministrator (Prelude.Maybe Prelude.UTCTime)+delegatedAdministrator_delegationEnabledDate = Lens.lens (\DelegatedAdministrator' {delegationEnabledDate} -> delegationEnabledDate) (\s@DelegatedAdministrator' {} a -> s {delegationEnabledDate = a} :: DelegatedAdministrator) Prelude.. Lens.mapping Data._Time++-- | The email address that is associated with the delegated administrator\'s+-- Amazon Web Services account.+delegatedAdministrator_email :: Lens.Lens' DelegatedAdministrator (Prelude.Maybe Prelude.Text)+delegatedAdministrator_email = Lens.lens (\DelegatedAdministrator' {email} -> email) (\s@DelegatedAdministrator' {} a -> s {email = a} :: DelegatedAdministrator) Prelude.. Lens.mapping Data._Sensitive++-- | The unique identifier (ID) of the delegated administrator\'s account.+delegatedAdministrator_id :: Lens.Lens' DelegatedAdministrator (Prelude.Maybe Prelude.Text)+delegatedAdministrator_id = Lens.lens (\DelegatedAdministrator' {id} -> id) (\s@DelegatedAdministrator' {} a -> s {id = a} :: DelegatedAdministrator)++-- | The method by which the delegated administrator\'s account joined the+-- organization.+delegatedAdministrator_joinedMethod :: Lens.Lens' DelegatedAdministrator (Prelude.Maybe AccountJoinedMethod)+delegatedAdministrator_joinedMethod = Lens.lens (\DelegatedAdministrator' {joinedMethod} -> joinedMethod) (\s@DelegatedAdministrator' {} a -> s {joinedMethod = a} :: DelegatedAdministrator)++-- | The date when the delegated administrator\'s account became a part of+-- the organization.+delegatedAdministrator_joinedTimestamp :: Lens.Lens' DelegatedAdministrator (Prelude.Maybe Prelude.UTCTime)+delegatedAdministrator_joinedTimestamp = Lens.lens (\DelegatedAdministrator' {joinedTimestamp} -> joinedTimestamp) (\s@DelegatedAdministrator' {} a -> s {joinedTimestamp = a} :: DelegatedAdministrator) Prelude.. Lens.mapping Data._Time++-- | The friendly name of the delegated administrator\'s account.+delegatedAdministrator_name :: Lens.Lens' DelegatedAdministrator (Prelude.Maybe Prelude.Text)+delegatedAdministrator_name = Lens.lens (\DelegatedAdministrator' {name} -> name) (\s@DelegatedAdministrator' {} a -> s {name = a} :: DelegatedAdministrator) Prelude.. Lens.mapping Data._Sensitive++-- | The status of the delegated administrator\'s account in the+-- organization.+delegatedAdministrator_status :: Lens.Lens' DelegatedAdministrator (Prelude.Maybe AccountStatus)+delegatedAdministrator_status = Lens.lens (\DelegatedAdministrator' {status} -> status) (\s@DelegatedAdministrator' {} a -> s {status = a} :: DelegatedAdministrator)++instance Data.FromJSON DelegatedAdministrator where+  parseJSON =+    Data.withObject+      "DelegatedAdministrator"+      ( \x ->+          DelegatedAdministrator'+            Prelude.<$> (x Data..:? "Arn")+            Prelude.<*> (x Data..:? "DelegationEnabledDate")+            Prelude.<*> (x Data..:? "Email")+            Prelude.<*> (x Data..:? "Id")+            Prelude.<*> (x Data..:? "JoinedMethod")+            Prelude.<*> (x Data..:? "JoinedTimestamp")+            Prelude.<*> (x Data..:? "Name")+            Prelude.<*> (x Data..:? "Status")+      )++instance Prelude.Hashable DelegatedAdministrator where+  hashWithSalt _salt DelegatedAdministrator' {..} =+    _salt+      `Prelude.hashWithSalt` arn+      `Prelude.hashWithSalt` delegationEnabledDate+      `Prelude.hashWithSalt` email+      `Prelude.hashWithSalt` id+      `Prelude.hashWithSalt` joinedMethod+      `Prelude.hashWithSalt` joinedTimestamp+      `Prelude.hashWithSalt` name+      `Prelude.hashWithSalt` status++instance Prelude.NFData DelegatedAdministrator where+  rnf DelegatedAdministrator' {..} =+    Prelude.rnf arn+      `Prelude.seq` Prelude.rnf delegationEnabledDate+      `Prelude.seq` Prelude.rnf email+      `Prelude.seq` Prelude.rnf id+      `Prelude.seq` Prelude.rnf joinedMethod+      `Prelude.seq` Prelude.rnf joinedTimestamp+      `Prelude.seq` Prelude.rnf name+      `Prelude.seq` Prelude.rnf status
+ gen/Amazonka/Organizations/Types/DelegatedService.hs view
@@ -0,0 +1,95 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.DelegatedService+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.DelegatedService where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains information about the Amazon Web Services service for which the+-- account is a delegated administrator.+--+-- /See:/ 'newDelegatedService' smart constructor.+data DelegatedService = DelegatedService'+  { -- | The date that the account became a delegated administrator for this+    -- service.+    delegationEnabledDate :: Prelude.Maybe Data.POSIX,+    -- | The name of an Amazon Web Services service that can request an operation+    -- for the specified service. This is typically in the form of a URL, such+    -- as: @ @/@servicename@/@.amazonaws.com@.+    servicePrincipal :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DelegatedService' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'delegationEnabledDate', 'delegatedService_delegationEnabledDate' - The date that the account became a delegated administrator for this+-- service.+--+-- 'servicePrincipal', 'delegatedService_servicePrincipal' - The name of an Amazon Web Services service that can request an operation+-- for the specified service. This is typically in the form of a URL, such+-- as: @ @/@servicename@/@.amazonaws.com@.+newDelegatedService ::+  DelegatedService+newDelegatedService =+  DelegatedService'+    { delegationEnabledDate =+        Prelude.Nothing,+      servicePrincipal = Prelude.Nothing+    }++-- | The date that the account became a delegated administrator for this+-- service.+delegatedService_delegationEnabledDate :: Lens.Lens' DelegatedService (Prelude.Maybe Prelude.UTCTime)+delegatedService_delegationEnabledDate = Lens.lens (\DelegatedService' {delegationEnabledDate} -> delegationEnabledDate) (\s@DelegatedService' {} a -> s {delegationEnabledDate = a} :: DelegatedService) Prelude.. Lens.mapping Data._Time++-- | The name of an Amazon Web Services service that can request an operation+-- for the specified service. This is typically in the form of a URL, such+-- as: @ @/@servicename@/@.amazonaws.com@.+delegatedService_servicePrincipal :: Lens.Lens' DelegatedService (Prelude.Maybe Prelude.Text)+delegatedService_servicePrincipal = Lens.lens (\DelegatedService' {servicePrincipal} -> servicePrincipal) (\s@DelegatedService' {} a -> s {servicePrincipal = a} :: DelegatedService)++instance Data.FromJSON DelegatedService where+  parseJSON =+    Data.withObject+      "DelegatedService"+      ( \x ->+          DelegatedService'+            Prelude.<$> (x Data..:? "DelegationEnabledDate")+            Prelude.<*> (x Data..:? "ServicePrincipal")+      )++instance Prelude.Hashable DelegatedService where+  hashWithSalt _salt DelegatedService' {..} =+    _salt+      `Prelude.hashWithSalt` delegationEnabledDate+      `Prelude.hashWithSalt` servicePrincipal++instance Prelude.NFData DelegatedService where+  rnf DelegatedService' {..} =+    Prelude.rnf delegationEnabledDate+      `Prelude.seq` Prelude.rnf servicePrincipal
+ gen/Amazonka/Organizations/Types/EffectivePolicy.hs view
@@ -0,0 +1,112 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.EffectivePolicy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.EffectivePolicy where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types.EffectivePolicyType+import qualified Amazonka.Prelude as Prelude++-- | Contains rules to be applied to the affected accounts. The effective+-- policy is the aggregation of any policies the account inherits, plus any+-- policy directly attached to the account.+--+-- /See:/ 'newEffectivePolicy' smart constructor.+data EffectivePolicy = EffectivePolicy'+  { -- | The time of the last update to this policy.+    lastUpdatedTimestamp :: Prelude.Maybe Data.POSIX,+    -- | The text content of the policy.+    policyContent :: Prelude.Maybe Prelude.Text,+    -- | The policy type.+    policyType :: Prelude.Maybe EffectivePolicyType,+    -- | The account ID of the policy target.+    targetId :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EffectivePolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'lastUpdatedTimestamp', 'effectivePolicy_lastUpdatedTimestamp' - The time of the last update to this policy.+--+-- 'policyContent', 'effectivePolicy_policyContent' - The text content of the policy.+--+-- 'policyType', 'effectivePolicy_policyType' - The policy type.+--+-- 'targetId', 'effectivePolicy_targetId' - The account ID of the policy target.+newEffectivePolicy ::+  EffectivePolicy+newEffectivePolicy =+  EffectivePolicy'+    { lastUpdatedTimestamp =+        Prelude.Nothing,+      policyContent = Prelude.Nothing,+      policyType = Prelude.Nothing,+      targetId = Prelude.Nothing+    }++-- | The time of the last update to this policy.+effectivePolicy_lastUpdatedTimestamp :: Lens.Lens' EffectivePolicy (Prelude.Maybe Prelude.UTCTime)+effectivePolicy_lastUpdatedTimestamp = Lens.lens (\EffectivePolicy' {lastUpdatedTimestamp} -> lastUpdatedTimestamp) (\s@EffectivePolicy' {} a -> s {lastUpdatedTimestamp = a} :: EffectivePolicy) Prelude.. Lens.mapping Data._Time++-- | The text content of the policy.+effectivePolicy_policyContent :: Lens.Lens' EffectivePolicy (Prelude.Maybe Prelude.Text)+effectivePolicy_policyContent = Lens.lens (\EffectivePolicy' {policyContent} -> policyContent) (\s@EffectivePolicy' {} a -> s {policyContent = a} :: EffectivePolicy)++-- | The policy type.+effectivePolicy_policyType :: Lens.Lens' EffectivePolicy (Prelude.Maybe EffectivePolicyType)+effectivePolicy_policyType = Lens.lens (\EffectivePolicy' {policyType} -> policyType) (\s@EffectivePolicy' {} a -> s {policyType = a} :: EffectivePolicy)++-- | The account ID of the policy target.+effectivePolicy_targetId :: Lens.Lens' EffectivePolicy (Prelude.Maybe Prelude.Text)+effectivePolicy_targetId = Lens.lens (\EffectivePolicy' {targetId} -> targetId) (\s@EffectivePolicy' {} a -> s {targetId = a} :: EffectivePolicy)++instance Data.FromJSON EffectivePolicy where+  parseJSON =+    Data.withObject+      "EffectivePolicy"+      ( \x ->+          EffectivePolicy'+            Prelude.<$> (x Data..:? "LastUpdatedTimestamp")+            Prelude.<*> (x Data..:? "PolicyContent")+            Prelude.<*> (x Data..:? "PolicyType")+            Prelude.<*> (x Data..:? "TargetId")+      )++instance Prelude.Hashable EffectivePolicy where+  hashWithSalt _salt EffectivePolicy' {..} =+    _salt+      `Prelude.hashWithSalt` lastUpdatedTimestamp+      `Prelude.hashWithSalt` policyContent+      `Prelude.hashWithSalt` policyType+      `Prelude.hashWithSalt` targetId++instance Prelude.NFData EffectivePolicy where+  rnf EffectivePolicy' {..} =+    Prelude.rnf lastUpdatedTimestamp+      `Prelude.seq` Prelude.rnf policyContent+      `Prelude.seq` Prelude.rnf policyType+      `Prelude.seq` Prelude.rnf targetId
+ gen/Amazonka/Organizations/Types/EffectivePolicyType.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.EffectivePolicyType+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.EffectivePolicyType+  ( EffectivePolicyType+      ( ..,+        EffectivePolicyType_AISERVICES_OPT_OUT_POLICY,+        EffectivePolicyType_BACKUP_POLICY,+        EffectivePolicyType_TAG_POLICY+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype EffectivePolicyType = EffectivePolicyType'+  { fromEffectivePolicyType ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern EffectivePolicyType_AISERVICES_OPT_OUT_POLICY :: EffectivePolicyType+pattern EffectivePolicyType_AISERVICES_OPT_OUT_POLICY = EffectivePolicyType' "AISERVICES_OPT_OUT_POLICY"++pattern EffectivePolicyType_BACKUP_POLICY :: EffectivePolicyType+pattern EffectivePolicyType_BACKUP_POLICY = EffectivePolicyType' "BACKUP_POLICY"++pattern EffectivePolicyType_TAG_POLICY :: EffectivePolicyType+pattern EffectivePolicyType_TAG_POLICY = EffectivePolicyType' "TAG_POLICY"++{-# COMPLETE+  EffectivePolicyType_AISERVICES_OPT_OUT_POLICY,+  EffectivePolicyType_BACKUP_POLICY,+  EffectivePolicyType_TAG_POLICY,+  EffectivePolicyType'+  #-}
+ gen/Amazonka/Organizations/Types/EnabledServicePrincipal.hs view
@@ -0,0 +1,93 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.EnabledServicePrincipal+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.EnabledServicePrincipal where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A structure that contains details of a service principal that represents+-- an Amazon Web Services service that is enabled to integrate with+-- Organizations.+--+-- /See:/ 'newEnabledServicePrincipal' smart constructor.+data EnabledServicePrincipal = EnabledServicePrincipal'+  { -- | The date that the service principal was enabled for integration with+    -- Organizations.+    dateEnabled :: Prelude.Maybe Data.POSIX,+    -- | The name of the service principal. This is typically in the form of a+    -- URL, such as: @ @/@servicename@/@.amazonaws.com@.+    servicePrincipal :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EnabledServicePrincipal' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dateEnabled', 'enabledServicePrincipal_dateEnabled' - The date that the service principal was enabled for integration with+-- Organizations.+--+-- 'servicePrincipal', 'enabledServicePrincipal_servicePrincipal' - The name of the service principal. This is typically in the form of a+-- URL, such as: @ @/@servicename@/@.amazonaws.com@.+newEnabledServicePrincipal ::+  EnabledServicePrincipal+newEnabledServicePrincipal =+  EnabledServicePrincipal'+    { dateEnabled =+        Prelude.Nothing,+      servicePrincipal = Prelude.Nothing+    }++-- | The date that the service principal was enabled for integration with+-- Organizations.+enabledServicePrincipal_dateEnabled :: Lens.Lens' EnabledServicePrincipal (Prelude.Maybe Prelude.UTCTime)+enabledServicePrincipal_dateEnabled = Lens.lens (\EnabledServicePrincipal' {dateEnabled} -> dateEnabled) (\s@EnabledServicePrincipal' {} a -> s {dateEnabled = a} :: EnabledServicePrincipal) Prelude.. Lens.mapping Data._Time++-- | The name of the service principal. This is typically in the form of a+-- URL, such as: @ @/@servicename@/@.amazonaws.com@.+enabledServicePrincipal_servicePrincipal :: Lens.Lens' EnabledServicePrincipal (Prelude.Maybe Prelude.Text)+enabledServicePrincipal_servicePrincipal = Lens.lens (\EnabledServicePrincipal' {servicePrincipal} -> servicePrincipal) (\s@EnabledServicePrincipal' {} a -> s {servicePrincipal = a} :: EnabledServicePrincipal)++instance Data.FromJSON EnabledServicePrincipal where+  parseJSON =+    Data.withObject+      "EnabledServicePrincipal"+      ( \x ->+          EnabledServicePrincipal'+            Prelude.<$> (x Data..:? "DateEnabled")+            Prelude.<*> (x Data..:? "ServicePrincipal")+      )++instance Prelude.Hashable EnabledServicePrincipal where+  hashWithSalt _salt EnabledServicePrincipal' {..} =+    _salt+      `Prelude.hashWithSalt` dateEnabled+      `Prelude.hashWithSalt` servicePrincipal++instance Prelude.NFData EnabledServicePrincipal where+  rnf EnabledServicePrincipal' {..} =+    Prelude.rnf dateEnabled+      `Prelude.seq` Prelude.rnf servicePrincipal
+ gen/Amazonka/Organizations/Types/Handshake.hs view
@@ -0,0 +1,327 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.Handshake+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.Handshake where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types.ActionType+import Amazonka.Organizations.Types.HandshakeParty+import Amazonka.Organizations.Types.HandshakeResource+import Amazonka.Organizations.Types.HandshakeState+import qualified Amazonka.Prelude as Prelude++-- | Contains information that must be exchanged to securely establish a+-- relationship between two accounts (an /originator/ and a /recipient/).+-- For example, when a management 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@, @DECLINED@, or+-- @EXPIRED@ show up in lists for only 30 days after entering that state+-- After that they are deleted.+--+-- /See:/ 'newHandshake' smart constructor.+data Handshake = Handshake'+  { -- | 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 management 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 management account to only /invited/ member accounts. Created+    --     accounts do not receive this because those accounts were created by+    --     the organization\'s management 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 management+    --     account and signals the master that it can finalize the process to+    --     enable all features.+    action :: Prelude.Maybe ActionType,+    -- | The Amazon Resource Name (ARN) of a handshake.+    --+    -- For more information about ARNs in Organizations, see+    -- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+    -- in the /Amazon Web Services Service Authorization Reference/.+    arn :: Prelude.Maybe Prelude.Text,+    -- | The date and time that the handshake expires. If the recipient of the+    -- handshake request fails to respond before the specified date and time,+    -- the handshake becomes inactive and is no longer valid.+    expirationTimestamp :: Prelude.Maybe Data.POSIX,+    -- | The unique identifier (ID) of a handshake. The originating account+    -- creates the ID when it initiates the handshake.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+    -- string requires \"h-\" followed by from 8 to 32 lowercase letters or+    -- digits.+    id :: Prelude.Maybe Prelude.Text,+    -- | Information about the two accounts that are participating in the+    -- handshake.+    parties :: Prelude.Maybe [HandshakeParty],+    -- | The date and time that the handshake request was made.+    requestedTimestamp :: Prelude.Maybe Data.POSIX,+    -- | Additional information that is needed to process the handshake.+    resources :: Prelude.Maybe [HandshakeResource],+    -- | The current state of the handshake. Use the state to trace the flow of+    -- the handshake through the process from its creation to its acceptance.+    -- The meaning of each of the valid values is as follows:+    --+    -- -   __REQUESTED__: This handshake was sent to multiple recipients+    --     (applicable to only some handshake types) and not all recipients+    --     have responded yet. The request stays in this state until all+    --     recipients respond.+    --+    -- -   __OPEN__: This handshake was sent to multiple recipients (applicable+    --     to only some policy types) and all recipients have responded,+    --     allowing the originator to complete the handshake action.+    --+    -- -   __CANCELED__: This handshake is no longer active because it was+    --     canceled by the originating account.+    --+    -- -   __ACCEPTED__: This handshake is complete because it has been+    --     accepted by the recipient.+    --+    -- -   __DECLINED__: This handshake is no longer active because it was+    --     declined by the recipient account.+    --+    -- -   __EXPIRED__: This handshake is no longer active because the+    --     originator did not receive a response of any kind from the recipient+    --     before the expiration time (15 days).+    state :: Prelude.Maybe HandshakeState+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Handshake' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'action', 'handshake_action' - 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 management 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 management account to only /invited/ member accounts. Created+--     accounts do not receive this because those accounts were created by+--     the organization\'s management 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 management+--     account and signals the master that it can finalize the process to+--     enable all features.+--+-- 'arn', 'handshake_arn' - The Amazon Resource Name (ARN) of a handshake.+--+-- For more information about ARNs in Organizations, see+-- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+-- in the /Amazon Web Services Service Authorization Reference/.+--+-- 'expirationTimestamp', 'handshake_expirationTimestamp' - 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.+--+-- 'id', 'handshake_id' - The unique identifier (ID) of a handshake. The originating account+-- creates the ID when it initiates the handshake.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+-- string requires \"h-\" followed by from 8 to 32 lowercase letters or+-- digits.+--+-- 'parties', 'handshake_parties' - Information about the two accounts that are participating in the+-- handshake.+--+-- 'requestedTimestamp', 'handshake_requestedTimestamp' - The date and time that the handshake request was made.+--+-- 'resources', 'handshake_resources' - Additional information that is needed to process the handshake.+--+-- 'state', 'handshake_state' - 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).+newHandshake ::+  Handshake+newHandshake =+  Handshake'+    { action = Prelude.Nothing,+      arn = Prelude.Nothing,+      expirationTimestamp = Prelude.Nothing,+      id = Prelude.Nothing,+      parties = Prelude.Nothing,+      requestedTimestamp = Prelude.Nothing,+      resources = Prelude.Nothing,+      state = Prelude.Nothing+    }++-- | 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 management 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 management account to only /invited/ member accounts. Created+--     accounts do not receive this because those accounts were created by+--     the organization\'s management 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 management+--     account and signals the master that it can finalize the process to+--     enable all features.+handshake_action :: Lens.Lens' Handshake (Prelude.Maybe ActionType)+handshake_action = Lens.lens (\Handshake' {action} -> action) (\s@Handshake' {} a -> s {action = a} :: Handshake)++-- | The Amazon Resource Name (ARN) of a handshake.+--+-- For more information about ARNs in Organizations, see+-- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+-- in the /Amazon Web Services Service Authorization Reference/.+handshake_arn :: Lens.Lens' Handshake (Prelude.Maybe Prelude.Text)+handshake_arn = Lens.lens (\Handshake' {arn} -> arn) (\s@Handshake' {} a -> s {arn = a} :: Handshake)++-- | 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.+handshake_expirationTimestamp :: Lens.Lens' Handshake (Prelude.Maybe Prelude.UTCTime)+handshake_expirationTimestamp = Lens.lens (\Handshake' {expirationTimestamp} -> expirationTimestamp) (\s@Handshake' {} a -> s {expirationTimestamp = a} :: Handshake) Prelude.. Lens.mapping Data._Time++-- | The unique identifier (ID) of a handshake. The originating account+-- creates the ID when it initiates the handshake.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+-- string requires \"h-\" followed by from 8 to 32 lowercase letters or+-- digits.+handshake_id :: Lens.Lens' Handshake (Prelude.Maybe Prelude.Text)+handshake_id = Lens.lens (\Handshake' {id} -> id) (\s@Handshake' {} a -> s {id = a} :: Handshake)++-- | Information about the two accounts that are participating in the+-- handshake.+handshake_parties :: Lens.Lens' Handshake (Prelude.Maybe [HandshakeParty])+handshake_parties = Lens.lens (\Handshake' {parties} -> parties) (\s@Handshake' {} a -> s {parties = a} :: Handshake) Prelude.. Lens.mapping Lens.coerced++-- | The date and time that the handshake request was made.+handshake_requestedTimestamp :: Lens.Lens' Handshake (Prelude.Maybe Prelude.UTCTime)+handshake_requestedTimestamp = Lens.lens (\Handshake' {requestedTimestamp} -> requestedTimestamp) (\s@Handshake' {} a -> s {requestedTimestamp = a} :: Handshake) Prelude.. Lens.mapping Data._Time++-- | Additional information that is needed to process the handshake.+handshake_resources :: Lens.Lens' Handshake (Prelude.Maybe [HandshakeResource])+handshake_resources = Lens.lens (\Handshake' {resources} -> resources) (\s@Handshake' {} a -> s {resources = a} :: Handshake) Prelude.. Lens.mapping Lens.coerced++-- | 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).+handshake_state :: Lens.Lens' Handshake (Prelude.Maybe HandshakeState)+handshake_state = Lens.lens (\Handshake' {state} -> state) (\s@Handshake' {} a -> s {state = a} :: Handshake)++instance Data.FromJSON Handshake where+  parseJSON =+    Data.withObject+      "Handshake"+      ( \x ->+          Handshake'+            Prelude.<$> (x Data..:? "Action")+            Prelude.<*> (x Data..:? "Arn")+            Prelude.<*> (x Data..:? "ExpirationTimestamp")+            Prelude.<*> (x Data..:? "Id")+            Prelude.<*> (x Data..:? "Parties" Data..!= Prelude.mempty)+            Prelude.<*> (x Data..:? "RequestedTimestamp")+            Prelude.<*> (x Data..:? "Resources" Data..!= Prelude.mempty)+            Prelude.<*> (x Data..:? "State")+      )++instance Prelude.Hashable Handshake where+  hashWithSalt _salt Handshake' {..} =+    _salt+      `Prelude.hashWithSalt` action+      `Prelude.hashWithSalt` arn+      `Prelude.hashWithSalt` expirationTimestamp+      `Prelude.hashWithSalt` id+      `Prelude.hashWithSalt` parties+      `Prelude.hashWithSalt` requestedTimestamp+      `Prelude.hashWithSalt` resources+      `Prelude.hashWithSalt` state++instance Prelude.NFData Handshake where+  rnf Handshake' {..} =+    Prelude.rnf action+      `Prelude.seq` Prelude.rnf arn+      `Prelude.seq` Prelude.rnf expirationTimestamp+      `Prelude.seq` Prelude.rnf id+      `Prelude.seq` Prelude.rnf parties+      `Prelude.seq` Prelude.rnf requestedTimestamp+      `Prelude.seq` Prelude.rnf resources+      `Prelude.seq` Prelude.rnf state
+ gen/Amazonka/Organizations/Types/HandshakeFilter.hs view
@@ -0,0 +1,119 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.HandshakeFilter+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.HandshakeFilter where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types.ActionType+import qualified Amazonka.Prelude as Prelude++-- | Specifies the criteria that are used to select the handshakes for the+-- operation.+--+-- /See:/ 'newHandshakeFilter' smart constructor.+data HandshakeFilter = HandshakeFilter'+  { -- | Specifies the type of handshake action.+    --+    -- If you specify @ActionType@, you cannot also specify+    -- @ParentHandshakeId@.+    actionType :: Prelude.Maybe ActionType,+    -- | Specifies the parent handshake. Only used for handshake types that are a+    -- child of another type.+    --+    -- If you specify @ParentHandshakeId@, you cannot also specify+    -- @ActionType@.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+    -- string requires \"h-\" followed by from 8 to 32 lowercase letters or+    -- digits.+    parentHandshakeId :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'HandshakeFilter' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'actionType', 'handshakeFilter_actionType' - Specifies the type of handshake action.+--+-- If you specify @ActionType@, you cannot also specify+-- @ParentHandshakeId@.+--+-- 'parentHandshakeId', 'handshakeFilter_parentHandshakeId' - 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 <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+-- string requires \"h-\" followed by from 8 to 32 lowercase letters or+-- digits.+newHandshakeFilter ::+  HandshakeFilter+newHandshakeFilter =+  HandshakeFilter'+    { actionType = Prelude.Nothing,+      parentHandshakeId = Prelude.Nothing+    }++-- | Specifies the type of handshake action.+--+-- If you specify @ActionType@, you cannot also specify+-- @ParentHandshakeId@.+handshakeFilter_actionType :: Lens.Lens' HandshakeFilter (Prelude.Maybe ActionType)+handshakeFilter_actionType = Lens.lens (\HandshakeFilter' {actionType} -> actionType) (\s@HandshakeFilter' {} a -> s {actionType = a} :: HandshakeFilter)++-- | 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 <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+-- string requires \"h-\" followed by from 8 to 32 lowercase letters or+-- digits.+handshakeFilter_parentHandshakeId :: Lens.Lens' HandshakeFilter (Prelude.Maybe Prelude.Text)+handshakeFilter_parentHandshakeId = Lens.lens (\HandshakeFilter' {parentHandshakeId} -> parentHandshakeId) (\s@HandshakeFilter' {} a -> s {parentHandshakeId = a} :: HandshakeFilter)++instance Prelude.Hashable HandshakeFilter where+  hashWithSalt _salt HandshakeFilter' {..} =+    _salt+      `Prelude.hashWithSalt` actionType+      `Prelude.hashWithSalt` parentHandshakeId++instance Prelude.NFData HandshakeFilter where+  rnf HandshakeFilter' {..} =+    Prelude.rnf actionType+      `Prelude.seq` Prelude.rnf parentHandshakeId++instance Data.ToJSON HandshakeFilter where+  toJSON HandshakeFilter' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("ActionType" Data..=) Prelude.<$> actionType,+            ("ParentHandshakeId" Data..=)+              Prelude.<$> parentHandshakeId+          ]+      )
+ gen/Amazonka/Organizations/Types/HandshakeParty.hs view
@@ -0,0 +1,109 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.HandshakeParty+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.HandshakeParty where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types.HandshakePartyType+import qualified Amazonka.Prelude as Prelude++-- | Identifies a participant in a handshake.+--+-- /See:/ 'newHandshakeParty' smart constructor.+data HandshakeParty = HandshakeParty'+  { -- | The unique identifier (ID) for the party.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+    -- string requires \"h-\" followed by from 8 to 32 lowercase letters or+    -- digits.+    id :: Data.Sensitive Prelude.Text,+    -- | The type of party.+    type' :: HandshakePartyType+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'HandshakeParty' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'id', 'handshakeParty_id' - The unique identifier (ID) for the party.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+-- string requires \"h-\" followed by from 8 to 32 lowercase letters or+-- digits.+--+-- 'type'', 'handshakeParty_type' - The type of party.+newHandshakeParty ::+  -- | 'id'+  Prelude.Text ->+  -- | 'type''+  HandshakePartyType ->+  HandshakeParty+newHandshakeParty pId_ pType_ =+  HandshakeParty'+    { id = Data._Sensitive Lens.# pId_,+      type' = pType_+    }++-- | The unique identifier (ID) for the party.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID+-- string requires \"h-\" followed by from 8 to 32 lowercase letters or+-- digits.+handshakeParty_id :: Lens.Lens' HandshakeParty Prelude.Text+handshakeParty_id = Lens.lens (\HandshakeParty' {id} -> id) (\s@HandshakeParty' {} a -> s {id = a} :: HandshakeParty) Prelude.. Data._Sensitive++-- | The type of party.+handshakeParty_type :: Lens.Lens' HandshakeParty HandshakePartyType+handshakeParty_type = Lens.lens (\HandshakeParty' {type'} -> type') (\s@HandshakeParty' {} a -> s {type' = a} :: HandshakeParty)++instance Data.FromJSON HandshakeParty where+  parseJSON =+    Data.withObject+      "HandshakeParty"+      ( \x ->+          HandshakeParty'+            Prelude.<$> (x Data..: "Id")+            Prelude.<*> (x Data..: "Type")+      )++instance Prelude.Hashable HandshakeParty where+  hashWithSalt _salt HandshakeParty' {..} =+    _salt+      `Prelude.hashWithSalt` id+      `Prelude.hashWithSalt` type'++instance Prelude.NFData HandshakeParty where+  rnf HandshakeParty' {..} =+    Prelude.rnf id `Prelude.seq` Prelude.rnf type'++instance Data.ToJSON HandshakeParty where+  toJSON HandshakeParty' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("Id" Data..= id),+            Prelude.Just ("Type" Data..= type')+          ]+      )
+ gen/Amazonka/Organizations/Types/HandshakePartyType.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.HandshakePartyType+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.HandshakePartyType+  ( HandshakePartyType+      ( ..,+        HandshakePartyType_ACCOUNT,+        HandshakePartyType_EMAIL,+        HandshakePartyType_ORGANIZATION+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype HandshakePartyType = HandshakePartyType'+  { fromHandshakePartyType ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern HandshakePartyType_ACCOUNT :: HandshakePartyType+pattern HandshakePartyType_ACCOUNT = HandshakePartyType' "ACCOUNT"++pattern HandshakePartyType_EMAIL :: HandshakePartyType+pattern HandshakePartyType_EMAIL = HandshakePartyType' "EMAIL"++pattern HandshakePartyType_ORGANIZATION :: HandshakePartyType+pattern HandshakePartyType_ORGANIZATION = HandshakePartyType' "ORGANIZATION"++{-# COMPLETE+  HandshakePartyType_ACCOUNT,+  HandshakePartyType_EMAIL,+  HandshakePartyType_ORGANIZATION,+  HandshakePartyType'+  #-}
+ gen/Amazonka/Organizations/Types/HandshakeResource.hs view
@@ -0,0 +1,157 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.HandshakeResource+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.HandshakeResource where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types.HandshakeResourceType+import qualified Amazonka.Prelude as Prelude++-- | Contains additional data that is needed to process a handshake.+--+-- /See:/ 'newHandshakeResource' smart constructor.+data HandshakeResource = HandshakeResource'+  { -- | When needed, contains an additional array of @HandshakeResource@+    -- objects.+    resources :: Prelude.Maybe [HandshakeResource],+    -- | The type of information being passed, specifying how the value is to be+    -- interpreted by the other party:+    --+    -- -   @ACCOUNT@ - Specifies an Amazon Web Services 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+    --     management account. Included as information about an organization.+    --+    -- -   @OWNER_NAME@ - Specifies the name associated with the management+    --     account. Included as information about an organization.+    --+    -- -   @NOTES@ - Additional text provided by the handshake initiator and+    --     intended for the recipient to read.+    type' :: Prelude.Maybe HandshakeResourceType,+    -- | The information that is passed to the other party in the handshake. The+    -- format of the value string must match the requirements of the specified+    -- type.+    value :: Prelude.Maybe (Data.Sensitive Prelude.Text)+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'HandshakeResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resources', 'handshakeResource_resources' - When needed, contains an additional array of @HandshakeResource@+-- objects.+--+-- 'type'', 'handshakeResource_type' - The type of information being passed, specifying how the value is to be+-- interpreted by the other party:+--+-- -   @ACCOUNT@ - Specifies an Amazon Web Services 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+--     management account. Included as information about an organization.+--+-- -   @OWNER_NAME@ - Specifies the name associated with the management+--     account. Included as information about an organization.+--+-- -   @NOTES@ - Additional text provided by the handshake initiator and+--     intended for the recipient to read.+--+-- 'value', 'handshakeResource_value' - 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.+newHandshakeResource ::+  HandshakeResource+newHandshakeResource =+  HandshakeResource'+    { resources = Prelude.Nothing,+      type' = Prelude.Nothing,+      value = Prelude.Nothing+    }++-- | When needed, contains an additional array of @HandshakeResource@+-- objects.+handshakeResource_resources :: Lens.Lens' HandshakeResource (Prelude.Maybe [HandshakeResource])+handshakeResource_resources = Lens.lens (\HandshakeResource' {resources} -> resources) (\s@HandshakeResource' {} a -> s {resources = a} :: HandshakeResource) Prelude.. Lens.mapping Lens.coerced++-- | The type of information being passed, specifying how the value is to be+-- interpreted by the other party:+--+-- -   @ACCOUNT@ - Specifies an Amazon Web Services 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+--     management account. Included as information about an organization.+--+-- -   @OWNER_NAME@ - Specifies the name associated with the management+--     account. Included as information about an organization.+--+-- -   @NOTES@ - Additional text provided by the handshake initiator and+--     intended for the recipient to read.+handshakeResource_type :: Lens.Lens' HandshakeResource (Prelude.Maybe HandshakeResourceType)+handshakeResource_type = Lens.lens (\HandshakeResource' {type'} -> type') (\s@HandshakeResource' {} a -> s {type' = a} :: HandshakeResource)++-- | 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.+handshakeResource_value :: Lens.Lens' HandshakeResource (Prelude.Maybe Prelude.Text)+handshakeResource_value = Lens.lens (\HandshakeResource' {value} -> value) (\s@HandshakeResource' {} a -> s {value = a} :: HandshakeResource) Prelude.. Lens.mapping Data._Sensitive++instance Data.FromJSON HandshakeResource where+  parseJSON =+    Data.withObject+      "HandshakeResource"+      ( \x ->+          HandshakeResource'+            Prelude.<$> (x Data..:? "Resources" Data..!= Prelude.mempty)+            Prelude.<*> (x Data..:? "Type")+            Prelude.<*> (x Data..:? "Value")+      )++instance Prelude.Hashable HandshakeResource where+  hashWithSalt _salt HandshakeResource' {..} =+    _salt+      `Prelude.hashWithSalt` resources+      `Prelude.hashWithSalt` type'+      `Prelude.hashWithSalt` value++instance Prelude.NFData HandshakeResource where+  rnf HandshakeResource' {..} =+    Prelude.rnf resources+      `Prelude.seq` Prelude.rnf type'+      `Prelude.seq` Prelude.rnf value
+ gen/Amazonka/Organizations/Types/HandshakeResourceType.hs view
@@ -0,0 +1,101 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.HandshakeResourceType+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.HandshakeResourceType+  ( HandshakeResourceType+      ( ..,+        HandshakeResourceType_ACCOUNT,+        HandshakeResourceType_EMAIL,+        HandshakeResourceType_MASTER_EMAIL,+        HandshakeResourceType_MASTER_NAME,+        HandshakeResourceType_NOTES,+        HandshakeResourceType_ORGANIZATION,+        HandshakeResourceType_ORGANIZATION_FEATURE_SET,+        HandshakeResourceType_PARENT_HANDSHAKE+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype HandshakeResourceType = HandshakeResourceType'+  { fromHandshakeResourceType ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern HandshakeResourceType_ACCOUNT :: HandshakeResourceType+pattern HandshakeResourceType_ACCOUNT = HandshakeResourceType' "ACCOUNT"++pattern HandshakeResourceType_EMAIL :: HandshakeResourceType+pattern HandshakeResourceType_EMAIL = HandshakeResourceType' "EMAIL"++pattern HandshakeResourceType_MASTER_EMAIL :: HandshakeResourceType+pattern HandshakeResourceType_MASTER_EMAIL = HandshakeResourceType' "MASTER_EMAIL"++pattern HandshakeResourceType_MASTER_NAME :: HandshakeResourceType+pattern HandshakeResourceType_MASTER_NAME = HandshakeResourceType' "MASTER_NAME"++pattern HandshakeResourceType_NOTES :: HandshakeResourceType+pattern HandshakeResourceType_NOTES = HandshakeResourceType' "NOTES"++pattern HandshakeResourceType_ORGANIZATION :: HandshakeResourceType+pattern HandshakeResourceType_ORGANIZATION = HandshakeResourceType' "ORGANIZATION"++pattern HandshakeResourceType_ORGANIZATION_FEATURE_SET :: HandshakeResourceType+pattern HandshakeResourceType_ORGANIZATION_FEATURE_SET = HandshakeResourceType' "ORGANIZATION_FEATURE_SET"++pattern HandshakeResourceType_PARENT_HANDSHAKE :: HandshakeResourceType+pattern HandshakeResourceType_PARENT_HANDSHAKE = HandshakeResourceType' "PARENT_HANDSHAKE"++{-# COMPLETE+  HandshakeResourceType_ACCOUNT,+  HandshakeResourceType_EMAIL,+  HandshakeResourceType_MASTER_EMAIL,+  HandshakeResourceType_MASTER_NAME,+  HandshakeResourceType_NOTES,+  HandshakeResourceType_ORGANIZATION,+  HandshakeResourceType_ORGANIZATION_FEATURE_SET,+  HandshakeResourceType_PARENT_HANDSHAKE,+  HandshakeResourceType'+  #-}
+ gen/Amazonka/Organizations/Types/HandshakeState.hs view
@@ -0,0 +1,91 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.HandshakeState+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.HandshakeState+  ( HandshakeState+      ( ..,+        HandshakeState_ACCEPTED,+        HandshakeState_CANCELED,+        HandshakeState_DECLINED,+        HandshakeState_EXPIRED,+        HandshakeState_OPEN,+        HandshakeState_REQUESTED+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype HandshakeState = HandshakeState'+  { fromHandshakeState ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern HandshakeState_ACCEPTED :: HandshakeState+pattern HandshakeState_ACCEPTED = HandshakeState' "ACCEPTED"++pattern HandshakeState_CANCELED :: HandshakeState+pattern HandshakeState_CANCELED = HandshakeState' "CANCELED"++pattern HandshakeState_DECLINED :: HandshakeState+pattern HandshakeState_DECLINED = HandshakeState' "DECLINED"++pattern HandshakeState_EXPIRED :: HandshakeState+pattern HandshakeState_EXPIRED = HandshakeState' "EXPIRED"++pattern HandshakeState_OPEN :: HandshakeState+pattern HandshakeState_OPEN = HandshakeState' "OPEN"++pattern HandshakeState_REQUESTED :: HandshakeState+pattern HandshakeState_REQUESTED = HandshakeState' "REQUESTED"++{-# COMPLETE+  HandshakeState_ACCEPTED,+  HandshakeState_CANCELED,+  HandshakeState_DECLINED,+  HandshakeState_EXPIRED,+  HandshakeState_OPEN,+  HandshakeState_REQUESTED,+  HandshakeState'+  #-}
+ gen/Amazonka/Organizations/Types/IAMUserAccessToBilling.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.IAMUserAccessToBilling+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.IAMUserAccessToBilling+  ( IAMUserAccessToBilling+      ( ..,+        IAMUserAccessToBilling_ALLOW,+        IAMUserAccessToBilling_DENY+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype IAMUserAccessToBilling = IAMUserAccessToBilling'+  { fromIAMUserAccessToBilling ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern IAMUserAccessToBilling_ALLOW :: IAMUserAccessToBilling+pattern IAMUserAccessToBilling_ALLOW = IAMUserAccessToBilling' "ALLOW"++pattern IAMUserAccessToBilling_DENY :: IAMUserAccessToBilling+pattern IAMUserAccessToBilling_DENY = IAMUserAccessToBilling' "DENY"++{-# COMPLETE+  IAMUserAccessToBilling_ALLOW,+  IAMUserAccessToBilling_DENY,+  IAMUserAccessToBilling'+  #-}
+ gen/Amazonka/Organizations/Types/Organization.hs view
@@ -0,0 +1,236 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.Organization+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.Organization where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types.OrganizationFeatureSet+import Amazonka.Organizations.Types.PolicyTypeSummary+import qualified Amazonka.Prelude as Prelude++-- | 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:/ 'newOrganization' smart constructor.+data Organization = Organization'+  { -- | The Amazon Resource Name (ARN) of an organization.+    --+    -- For more information about ARNs in Organizations, see+    -- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+    -- in the /Amazon Web Services Service Authorization Reference/.+    arn :: Prelude.Maybe Prelude.Text,+    -- | Do not use. This field is deprecated and doesn\'t provide complete+    -- information about the policies in your organization.+    --+    -- To determine the policies that are enabled and available for use in your+    -- organization, use the ListRoots operation instead.+    availablePolicyTypes :: Prelude.Maybe [PolicyTypeSummary],+    -- | 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+    -- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html Enabling All Features in Your Organization>+    -- in the /Organizations User Guide/.+    featureSet :: Prelude.Maybe OrganizationFeatureSet,+    -- | The unique identifier (ID) of an organization.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for an organization+    -- ID string requires \"o-\" followed by from 10 to 32 lowercase letters or+    -- digits.+    id :: Prelude.Maybe Prelude.Text,+    -- | The Amazon Resource Name (ARN) of the account that is designated as the+    -- management account for the organization.+    --+    -- For more information about ARNs in Organizations, see+    -- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+    -- in the /Amazon Web Services Service Authorization Reference/.+    masterAccountArn :: Prelude.Maybe Prelude.Text,+    -- | The email address that is associated with the Amazon Web Services+    -- account that is designated as the management account for the+    -- organization.+    masterAccountEmail :: Prelude.Maybe (Data.Sensitive Prelude.Text),+    -- | The unique identifier (ID) of the management account of an organization.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for an account ID+    -- string requires exactly 12 digits.+    masterAccountId :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Organization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'organization_arn' - The Amazon Resource Name (ARN) of an organization.+--+-- For more information about ARNs in Organizations, see+-- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+-- in the /Amazon Web Services Service Authorization Reference/.+--+-- 'availablePolicyTypes', 'organization_availablePolicyTypes' - Do not use. This field is deprecated and doesn\'t provide complete+-- information about the policies in your organization.+--+-- To determine the policies that are enabled and available for use in your+-- organization, use the ListRoots operation instead.+--+-- 'featureSet', 'organization_featureSet' - 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+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html Enabling All Features in Your Organization>+-- in the /Organizations User Guide/.+--+-- 'id', 'organization_id' - The unique identifier (ID) of an organization.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an organization+-- ID string requires \"o-\" followed by from 10 to 32 lowercase letters or+-- digits.+--+-- 'masterAccountArn', 'organization_masterAccountArn' - The Amazon Resource Name (ARN) of the account that is designated as the+-- management account for the organization.+--+-- For more information about ARNs in Organizations, see+-- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+-- in the /Amazon Web Services Service Authorization Reference/.+--+-- 'masterAccountEmail', 'organization_masterAccountEmail' - The email address that is associated with the Amazon Web Services+-- account that is designated as the management account for the+-- organization.+--+-- 'masterAccountId', 'organization_masterAccountId' - The unique identifier (ID) of the management account of an organization.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an account ID+-- string requires exactly 12 digits.+newOrganization ::+  Organization+newOrganization =+  Organization'+    { arn = Prelude.Nothing,+      availablePolicyTypes = Prelude.Nothing,+      featureSet = Prelude.Nothing,+      id = Prelude.Nothing,+      masterAccountArn = Prelude.Nothing,+      masterAccountEmail = Prelude.Nothing,+      masterAccountId = Prelude.Nothing+    }++-- | The Amazon Resource Name (ARN) of an organization.+--+-- For more information about ARNs in Organizations, see+-- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+-- in the /Amazon Web Services Service Authorization Reference/.+organization_arn :: Lens.Lens' Organization (Prelude.Maybe Prelude.Text)+organization_arn = Lens.lens (\Organization' {arn} -> arn) (\s@Organization' {} a -> s {arn = a} :: Organization)++-- | Do not use. This field is deprecated and doesn\'t provide complete+-- information about the policies in your organization.+--+-- To determine the policies that are enabled and available for use in your+-- organization, use the ListRoots operation instead.+organization_availablePolicyTypes :: Lens.Lens' Organization (Prelude.Maybe [PolicyTypeSummary])+organization_availablePolicyTypes = Lens.lens (\Organization' {availablePolicyTypes} -> availablePolicyTypes) (\s@Organization' {} a -> s {availablePolicyTypes = a} :: Organization) Prelude.. Lens.mapping Lens.coerced++-- | 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+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html Enabling All Features in Your Organization>+-- in the /Organizations User Guide/.+organization_featureSet :: Lens.Lens' Organization (Prelude.Maybe OrganizationFeatureSet)+organization_featureSet = Lens.lens (\Organization' {featureSet} -> featureSet) (\s@Organization' {} a -> s {featureSet = a} :: Organization)++-- | The unique identifier (ID) of an organization.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an organization+-- ID string requires \"o-\" followed by from 10 to 32 lowercase letters or+-- digits.+organization_id :: Lens.Lens' Organization (Prelude.Maybe Prelude.Text)+organization_id = Lens.lens (\Organization' {id} -> id) (\s@Organization' {} a -> s {id = a} :: Organization)++-- | The Amazon Resource Name (ARN) of the account that is designated as the+-- management account for the organization.+--+-- For more information about ARNs in Organizations, see+-- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+-- in the /Amazon Web Services Service Authorization Reference/.+organization_masterAccountArn :: Lens.Lens' Organization (Prelude.Maybe Prelude.Text)+organization_masterAccountArn = Lens.lens (\Organization' {masterAccountArn} -> masterAccountArn) (\s@Organization' {} a -> s {masterAccountArn = a} :: Organization)++-- | The email address that is associated with the Amazon Web Services+-- account that is designated as the management account for the+-- organization.+organization_masterAccountEmail :: Lens.Lens' Organization (Prelude.Maybe Prelude.Text)+organization_masterAccountEmail = Lens.lens (\Organization' {masterAccountEmail} -> masterAccountEmail) (\s@Organization' {} a -> s {masterAccountEmail = a} :: Organization) Prelude.. Lens.mapping Data._Sensitive++-- | The unique identifier (ID) of the management account of an organization.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an account ID+-- string requires exactly 12 digits.+organization_masterAccountId :: Lens.Lens' Organization (Prelude.Maybe Prelude.Text)+organization_masterAccountId = Lens.lens (\Organization' {masterAccountId} -> masterAccountId) (\s@Organization' {} a -> s {masterAccountId = a} :: Organization)++instance Data.FromJSON Organization where+  parseJSON =+    Data.withObject+      "Organization"+      ( \x ->+          Organization'+            Prelude.<$> (x Data..:? "Arn")+            Prelude.<*> ( x+                            Data..:? "AvailablePolicyTypes"+                            Data..!= Prelude.mempty+                        )+            Prelude.<*> (x Data..:? "FeatureSet")+            Prelude.<*> (x Data..:? "Id")+            Prelude.<*> (x Data..:? "MasterAccountArn")+            Prelude.<*> (x Data..:? "MasterAccountEmail")+            Prelude.<*> (x Data..:? "MasterAccountId")+      )++instance Prelude.Hashable Organization where+  hashWithSalt _salt Organization' {..} =+    _salt+      `Prelude.hashWithSalt` arn+      `Prelude.hashWithSalt` availablePolicyTypes+      `Prelude.hashWithSalt` featureSet+      `Prelude.hashWithSalt` id+      `Prelude.hashWithSalt` masterAccountArn+      `Prelude.hashWithSalt` masterAccountEmail+      `Prelude.hashWithSalt` masterAccountId++instance Prelude.NFData Organization where+  rnf Organization' {..} =+    Prelude.rnf arn+      `Prelude.seq` Prelude.rnf availablePolicyTypes+      `Prelude.seq` Prelude.rnf featureSet+      `Prelude.seq` Prelude.rnf id+      `Prelude.seq` Prelude.rnf masterAccountArn+      `Prelude.seq` Prelude.rnf masterAccountEmail+      `Prelude.seq` Prelude.rnf masterAccountId
+ gen/Amazonka/Organizations/Types/OrganizationFeatureSet.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.OrganizationFeatureSet+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.OrganizationFeatureSet+  ( OrganizationFeatureSet+      ( ..,+        OrganizationFeatureSet_ALL,+        OrganizationFeatureSet_CONSOLIDATED_BILLING+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype OrganizationFeatureSet = OrganizationFeatureSet'+  { fromOrganizationFeatureSet ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern OrganizationFeatureSet_ALL :: OrganizationFeatureSet+pattern OrganizationFeatureSet_ALL = OrganizationFeatureSet' "ALL"++pattern OrganizationFeatureSet_CONSOLIDATED_BILLING :: OrganizationFeatureSet+pattern OrganizationFeatureSet_CONSOLIDATED_BILLING = OrganizationFeatureSet' "CONSOLIDATED_BILLING"++{-# COMPLETE+  OrganizationFeatureSet_ALL,+  OrganizationFeatureSet_CONSOLIDATED_BILLING,+  OrganizationFeatureSet'+  #-}
+ gen/Amazonka/Organizations/Types/OrganizationalUnit.hs view
@@ -0,0 +1,141 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.OrganizationalUnit+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.OrganizationalUnit where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains details about an organizational unit (OU). An OU is a container+-- of Amazon Web Services 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:/ 'newOrganizationalUnit' smart constructor.+data OrganizationalUnit = OrganizationalUnit'+  { -- | The Amazon Resource Name (ARN) of this OU.+    --+    -- For more information about ARNs in Organizations, see+    -- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+    -- in the /Amazon Web Services Service Authorization Reference/.+    arn :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier (ID) associated with this OU.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for an+    -- organizational unit ID string requires \"ou-\" followed by from 4 to 32+    -- lowercase letters or digits (the ID of the root that contains the OU).+    -- This string is followed by a second \"-\" dash and from 8 to 32+    -- additional lowercase letters or digits.+    id :: Prelude.Maybe Prelude.Text,+    -- | The friendly name of this OU.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+    -- validate this parameter is a string of any of the characters in the+    -- ASCII character range.+    name :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'OrganizationalUnit' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'organizationalUnit_arn' - The Amazon Resource Name (ARN) of this OU.+--+-- For more information about ARNs in Organizations, see+-- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+-- in the /Amazon Web Services Service Authorization Reference/.+--+-- 'id', 'organizationalUnit_id' - The unique identifier (ID) associated with this OU.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an+-- organizational unit ID string requires \"ou-\" followed by from 4 to 32+-- lowercase letters or digits (the ID of the root that contains the OU).+-- This string is followed by a second \"-\" dash and from 8 to 32+-- additional lowercase letters or digits.+--+-- 'name', 'organizationalUnit_name' - The friendly name of this OU.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter is a string of any of the characters in the+-- ASCII character range.+newOrganizationalUnit ::+  OrganizationalUnit+newOrganizationalUnit =+  OrganizationalUnit'+    { arn = Prelude.Nothing,+      id = Prelude.Nothing,+      name = Prelude.Nothing+    }++-- | The Amazon Resource Name (ARN) of this OU.+--+-- For more information about ARNs in Organizations, see+-- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+-- in the /Amazon Web Services Service Authorization Reference/.+organizationalUnit_arn :: Lens.Lens' OrganizationalUnit (Prelude.Maybe Prelude.Text)+organizationalUnit_arn = Lens.lens (\OrganizationalUnit' {arn} -> arn) (\s@OrganizationalUnit' {} a -> s {arn = a} :: OrganizationalUnit)++-- | The unique identifier (ID) associated with this OU.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an+-- organizational unit ID string requires \"ou-\" followed by from 4 to 32+-- lowercase letters or digits (the ID of the root that contains the OU).+-- This string is followed by a second \"-\" dash and from 8 to 32+-- additional lowercase letters or digits.+organizationalUnit_id :: Lens.Lens' OrganizationalUnit (Prelude.Maybe Prelude.Text)+organizationalUnit_id = Lens.lens (\OrganizationalUnit' {id} -> id) (\s@OrganizationalUnit' {} a -> s {id = a} :: OrganizationalUnit)++-- | The friendly name of this OU.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter is a string of any of the characters in the+-- ASCII character range.+organizationalUnit_name :: Lens.Lens' OrganizationalUnit (Prelude.Maybe Prelude.Text)+organizationalUnit_name = Lens.lens (\OrganizationalUnit' {name} -> name) (\s@OrganizationalUnit' {} a -> s {name = a} :: OrganizationalUnit)++instance Data.FromJSON OrganizationalUnit where+  parseJSON =+    Data.withObject+      "OrganizationalUnit"+      ( \x ->+          OrganizationalUnit'+            Prelude.<$> (x Data..:? "Arn")+            Prelude.<*> (x Data..:? "Id")+            Prelude.<*> (x Data..:? "Name")+      )++instance Prelude.Hashable OrganizationalUnit where+  hashWithSalt _salt OrganizationalUnit' {..} =+    _salt+      `Prelude.hashWithSalt` arn+      `Prelude.hashWithSalt` id+      `Prelude.hashWithSalt` name++instance Prelude.NFData OrganizationalUnit where+  rnf OrganizationalUnit' {..} =+    Prelude.rnf arn+      `Prelude.seq` Prelude.rnf id+      `Prelude.seq` Prelude.rnf name
+ gen/Amazonka/Organizations/Types/Parent.hs view
@@ -0,0 +1,118 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.Parent+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.Parent where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types.ParentType+import qualified Amazonka.Prelude as Prelude++-- | Contains information about either a root or an organizational unit (OU)+-- that can contain OUs or accounts in an organization.+--+-- /See:/ 'newParent' smart constructor.+data Parent = Parent'+  { -- | The unique identifier (ID) of the parent entity.+    --+    -- The <http://wikipedia.org/wiki/regex 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+    --     lowercase letters or digits.+    --+    -- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+    --     followed by from 4 to 32 lowercase letters or digits (the ID of the+    --     root that the OU is in). This string is followed by a second \"-\"+    --     dash and from 8 to 32 additional lowercase letters or digits.+    id :: Prelude.Maybe Prelude.Text,+    -- | The type of the parent entity.+    type' :: Prelude.Maybe ParentType+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Parent' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'id', 'parent_id' - The unique identifier (ID) of the parent entity.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+--+-- 'type'', 'parent_type' - The type of the parent entity.+newParent ::+  Parent+newParent =+  Parent'+    { id = Prelude.Nothing,+      type' = Prelude.Nothing+    }++-- | The unique identifier (ID) of the parent entity.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+parent_id :: Lens.Lens' Parent (Prelude.Maybe Prelude.Text)+parent_id = Lens.lens (\Parent' {id} -> id) (\s@Parent' {} a -> s {id = a} :: Parent)++-- | The type of the parent entity.+parent_type :: Lens.Lens' Parent (Prelude.Maybe ParentType)+parent_type = Lens.lens (\Parent' {type'} -> type') (\s@Parent' {} a -> s {type' = a} :: Parent)++instance Data.FromJSON Parent where+  parseJSON =+    Data.withObject+      "Parent"+      ( \x ->+          Parent'+            Prelude.<$> (x Data..:? "Id")+            Prelude.<*> (x Data..:? "Type")+      )++instance Prelude.Hashable Parent where+  hashWithSalt _salt Parent' {..} =+    _salt+      `Prelude.hashWithSalt` id+      `Prelude.hashWithSalt` type'++instance Prelude.NFData Parent where+  rnf Parent' {..} =+    Prelude.rnf id `Prelude.seq` Prelude.rnf type'
+ gen/Amazonka/Organizations/Types/ParentType.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.ParentType+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.ParentType+  ( ParentType+      ( ..,+        ParentType_ORGANIZATIONAL_UNIT,+        ParentType_ROOT+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ParentType = ParentType'+  { fromParentType ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern ParentType_ORGANIZATIONAL_UNIT :: ParentType+pattern ParentType_ORGANIZATIONAL_UNIT = ParentType' "ORGANIZATIONAL_UNIT"++pattern ParentType_ROOT :: ParentType+pattern ParentType_ROOT = ParentType' "ROOT"++{-# COMPLETE+  ParentType_ORGANIZATIONAL_UNIT,+  ParentType_ROOT,+  ParentType'+  #-}
+ gen/Amazonka/Organizations/Types/Policy.hs view
@@ -0,0 +1,87 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.Policy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.Policy where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types.PolicySummary+import qualified Amazonka.Prelude as Prelude++-- | 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:/ 'newPolicy' smart constructor.+data Policy = Policy'+  { -- | The text content of the policy.+    content :: Prelude.Maybe Prelude.Text,+    -- | A structure that contains additional details about the policy.+    policySummary :: Prelude.Maybe PolicySummary+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Policy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'content', 'policy_content' - The text content of the policy.+--+-- 'policySummary', 'policy_policySummary' - A structure that contains additional details about the policy.+newPolicy ::+  Policy+newPolicy =+  Policy'+    { content = Prelude.Nothing,+      policySummary = Prelude.Nothing+    }++-- | The text content of the policy.+policy_content :: Lens.Lens' Policy (Prelude.Maybe Prelude.Text)+policy_content = Lens.lens (\Policy' {content} -> content) (\s@Policy' {} a -> s {content = a} :: Policy)++-- | A structure that contains additional details about the policy.+policy_policySummary :: Lens.Lens' Policy (Prelude.Maybe PolicySummary)+policy_policySummary = Lens.lens (\Policy' {policySummary} -> policySummary) (\s@Policy' {} a -> s {policySummary = a} :: Policy)++instance Data.FromJSON Policy where+  parseJSON =+    Data.withObject+      "Policy"+      ( \x ->+          Policy'+            Prelude.<$> (x Data..:? "Content")+            Prelude.<*> (x Data..:? "PolicySummary")+      )++instance Prelude.Hashable Policy where+  hashWithSalt _salt Policy' {..} =+    _salt+      `Prelude.hashWithSalt` content+      `Prelude.hashWithSalt` policySummary++instance Prelude.NFData Policy where+  rnf Policy' {..} =+    Prelude.rnf content+      `Prelude.seq` Prelude.rnf policySummary
+ gen/Amazonka/Organizations/Types/PolicySummary.hs view
@@ -0,0 +1,176 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.PolicySummary+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.PolicySummary where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types.PolicyType+import qualified Amazonka.Prelude as Prelude++-- | Contains information about a policy, but does not include the content.+-- To see the content of a policy, see DescribePolicy.+--+-- /See:/ 'newPolicySummary' smart constructor.+data PolicySummary = PolicySummary'+  { -- | The Amazon Resource Name (ARN) of the policy.+    --+    -- For more information about ARNs in Organizations, see+    -- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+    -- in the /Amazon Web Services Service Authorization Reference/.+    arn :: Prelude.Maybe Prelude.Text,+    -- | A boolean value that indicates whether the specified policy is an Amazon+    -- Web Services managed policy. If true, then you can attach the policy to+    -- roots, OUs, or accounts, but you cannot edit it.+    awsManaged :: Prelude.Maybe Prelude.Bool,+    -- | The description of the policy.+    description :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier (ID) of the policy.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+    -- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+    -- letters, digits, or the underscore character (_).+    id :: Prelude.Maybe Prelude.Text,+    -- | The friendly name of the policy.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+    -- validate this parameter is a string of any of the characters in the+    -- ASCII character range.+    name :: Prelude.Maybe Prelude.Text,+    -- | The type of policy.+    type' :: Prelude.Maybe PolicyType+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PolicySummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'policySummary_arn' - The Amazon Resource Name (ARN) of the policy.+--+-- For more information about ARNs in Organizations, see+-- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+-- in the /Amazon Web Services Service Authorization Reference/.+--+-- 'awsManaged', 'policySummary_awsManaged' - A boolean value that indicates whether the specified policy is an Amazon+-- Web Services managed policy. If true, then you can attach the policy to+-- roots, OUs, or accounts, but you cannot edit it.+--+-- 'description', 'policySummary_description' - The description of the policy.+--+-- 'id', 'policySummary_id' - The unique identifier (ID) of the policy.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+-- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+-- letters, digits, or the underscore character (_).+--+-- 'name', 'policySummary_name' - The friendly name of the policy.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter is a string of any of the characters in the+-- ASCII character range.+--+-- 'type'', 'policySummary_type' - The type of policy.+newPolicySummary ::+  PolicySummary+newPolicySummary =+  PolicySummary'+    { arn = Prelude.Nothing,+      awsManaged = Prelude.Nothing,+      description = Prelude.Nothing,+      id = Prelude.Nothing,+      name = Prelude.Nothing,+      type' = Prelude.Nothing+    }++-- | The Amazon Resource Name (ARN) of the policy.+--+-- For more information about ARNs in Organizations, see+-- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+-- in the /Amazon Web Services Service Authorization Reference/.+policySummary_arn :: Lens.Lens' PolicySummary (Prelude.Maybe Prelude.Text)+policySummary_arn = Lens.lens (\PolicySummary' {arn} -> arn) (\s@PolicySummary' {} a -> s {arn = a} :: PolicySummary)++-- | A boolean value that indicates whether the specified policy is an Amazon+-- Web Services managed policy. If true, then you can attach the policy to+-- roots, OUs, or accounts, but you cannot edit it.+policySummary_awsManaged :: Lens.Lens' PolicySummary (Prelude.Maybe Prelude.Bool)+policySummary_awsManaged = Lens.lens (\PolicySummary' {awsManaged} -> awsManaged) (\s@PolicySummary' {} a -> s {awsManaged = a} :: PolicySummary)++-- | The description of the policy.+policySummary_description :: Lens.Lens' PolicySummary (Prelude.Maybe Prelude.Text)+policySummary_description = Lens.lens (\PolicySummary' {description} -> description) (\s@PolicySummary' {} a -> s {description = a} :: PolicySummary)++-- | The unique identifier (ID) of the policy.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+-- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+-- letters, digits, or the underscore character (_).+policySummary_id :: Lens.Lens' PolicySummary (Prelude.Maybe Prelude.Text)+policySummary_id = Lens.lens (\PolicySummary' {id} -> id) (\s@PolicySummary' {} a -> s {id = a} :: PolicySummary)++-- | The friendly name of the policy.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter is a string of any of the characters in the+-- ASCII character range.+policySummary_name :: Lens.Lens' PolicySummary (Prelude.Maybe Prelude.Text)+policySummary_name = Lens.lens (\PolicySummary' {name} -> name) (\s@PolicySummary' {} a -> s {name = a} :: PolicySummary)++-- | The type of policy.+policySummary_type :: Lens.Lens' PolicySummary (Prelude.Maybe PolicyType)+policySummary_type = Lens.lens (\PolicySummary' {type'} -> type') (\s@PolicySummary' {} a -> s {type' = a} :: PolicySummary)++instance Data.FromJSON PolicySummary where+  parseJSON =+    Data.withObject+      "PolicySummary"+      ( \x ->+          PolicySummary'+            Prelude.<$> (x Data..:? "Arn")+            Prelude.<*> (x Data..:? "AwsManaged")+            Prelude.<*> (x Data..:? "Description")+            Prelude.<*> (x Data..:? "Id")+            Prelude.<*> (x Data..:? "Name")+            Prelude.<*> (x Data..:? "Type")+      )++instance Prelude.Hashable PolicySummary where+  hashWithSalt _salt PolicySummary' {..} =+    _salt+      `Prelude.hashWithSalt` arn+      `Prelude.hashWithSalt` awsManaged+      `Prelude.hashWithSalt` description+      `Prelude.hashWithSalt` id+      `Prelude.hashWithSalt` name+      `Prelude.hashWithSalt` type'++instance Prelude.NFData PolicySummary where+  rnf PolicySummary' {..} =+    Prelude.rnf arn+      `Prelude.seq` Prelude.rnf awsManaged+      `Prelude.seq` Prelude.rnf description+      `Prelude.seq` Prelude.rnf id+      `Prelude.seq` Prelude.rnf name+      `Prelude.seq` Prelude.rnf type'
+ gen/Amazonka/Organizations/Types/PolicyTargetSummary.hs view
@@ -0,0 +1,173 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.PolicyTargetSummary+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.PolicyTargetSummary where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types.TargetType+import qualified Amazonka.Prelude as Prelude++-- | Contains information about a root, OU, or account that a policy is+-- attached to.+--+-- /See:/ 'newPolicyTargetSummary' smart constructor.+data PolicyTargetSummary = PolicyTargetSummary'+  { -- | The Amazon Resource Name (ARN) of the policy target.+    --+    -- For more information about ARNs in Organizations, see+    -- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+    -- in the /Amazon Web Services Service Authorization Reference/.+    arn :: Prelude.Maybe Prelude.Text,+    -- | The friendly name of the policy target.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+    -- validate this parameter is a string of any of the characters in the+    -- ASCII character range.+    name :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier (ID) of the policy target.+    --+    -- The <http://wikipedia.org/wiki/regex 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+    --     lowercase letters or digits.+    --+    -- -   __Account__ - A string that consists of exactly 12 digits.+    --+    -- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+    --     followed by from 4 to 32 lowercase letters or digits (the ID of the+    --     root that the OU is in). This string is followed by a second \"-\"+    --     dash and from 8 to 32 additional lowercase letters or digits.+    targetId :: Prelude.Maybe Prelude.Text,+    -- | The type of the policy target.+    type' :: Prelude.Maybe TargetType+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PolicyTargetSummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'policyTargetSummary_arn' - The Amazon Resource Name (ARN) of the policy target.+--+-- For more information about ARNs in Organizations, see+-- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+-- in the /Amazon Web Services Service Authorization Reference/.+--+-- 'name', 'policyTargetSummary_name' - The friendly name of the policy target.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter is a string of any of the characters in the+-- ASCII character range.+--+-- 'targetId', 'policyTargetSummary_targetId' - The unique identifier (ID) of the policy target.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Account__ - A string that consists of exactly 12 digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+--+-- 'type'', 'policyTargetSummary_type' - The type of the policy target.+newPolicyTargetSummary ::+  PolicyTargetSummary+newPolicyTargetSummary =+  PolicyTargetSummary'+    { arn = Prelude.Nothing,+      name = Prelude.Nothing,+      targetId = Prelude.Nothing,+      type' = Prelude.Nothing+    }++-- | The Amazon Resource Name (ARN) of the policy target.+--+-- For more information about ARNs in Organizations, see+-- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+-- in the /Amazon Web Services Service Authorization Reference/.+policyTargetSummary_arn :: Lens.Lens' PolicyTargetSummary (Prelude.Maybe Prelude.Text)+policyTargetSummary_arn = Lens.lens (\PolicyTargetSummary' {arn} -> arn) (\s@PolicyTargetSummary' {} a -> s {arn = a} :: PolicyTargetSummary)++-- | The friendly name of the policy target.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter is a string of any of the characters in the+-- ASCII character range.+policyTargetSummary_name :: Lens.Lens' PolicyTargetSummary (Prelude.Maybe Prelude.Text)+policyTargetSummary_name = Lens.lens (\PolicyTargetSummary' {name} -> name) (\s@PolicyTargetSummary' {} a -> s {name = a} :: PolicyTargetSummary)++-- | The unique identifier (ID) of the policy target.+--+-- The <http://wikipedia.org/wiki/regex 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+--     lowercase letters or digits.+--+-- -   __Account__ - A string that consists of exactly 12 digits.+--+-- -   __Organizational unit (OU)__ - A string that begins with \"ou-\"+--     followed by from 4 to 32 lowercase letters or digits (the ID of the+--     root that the OU is in). This string is followed by a second \"-\"+--     dash and from 8 to 32 additional lowercase letters or digits.+policyTargetSummary_targetId :: Lens.Lens' PolicyTargetSummary (Prelude.Maybe Prelude.Text)+policyTargetSummary_targetId = Lens.lens (\PolicyTargetSummary' {targetId} -> targetId) (\s@PolicyTargetSummary' {} a -> s {targetId = a} :: PolicyTargetSummary)++-- | The type of the policy target.+policyTargetSummary_type :: Lens.Lens' PolicyTargetSummary (Prelude.Maybe TargetType)+policyTargetSummary_type = Lens.lens (\PolicyTargetSummary' {type'} -> type') (\s@PolicyTargetSummary' {} a -> s {type' = a} :: PolicyTargetSummary)++instance Data.FromJSON PolicyTargetSummary where+  parseJSON =+    Data.withObject+      "PolicyTargetSummary"+      ( \x ->+          PolicyTargetSummary'+            Prelude.<$> (x Data..:? "Arn")+            Prelude.<*> (x Data..:? "Name")+            Prelude.<*> (x Data..:? "TargetId")+            Prelude.<*> (x Data..:? "Type")+      )++instance Prelude.Hashable PolicyTargetSummary where+  hashWithSalt _salt PolicyTargetSummary' {..} =+    _salt+      `Prelude.hashWithSalt` arn+      `Prelude.hashWithSalt` name+      `Prelude.hashWithSalt` targetId+      `Prelude.hashWithSalt` type'++instance Prelude.NFData PolicyTargetSummary where+  rnf PolicyTargetSummary' {..} =+    Prelude.rnf arn+      `Prelude.seq` Prelude.rnf name+      `Prelude.seq` Prelude.rnf targetId+      `Prelude.seq` Prelude.rnf type'
+ gen/Amazonka/Organizations/Types/PolicyType.hs view
@@ -0,0 +1,81 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.PolicyType+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.PolicyType+  ( PolicyType+      ( ..,+        PolicyType_AISERVICES_OPT_OUT_POLICY,+        PolicyType_BACKUP_POLICY,+        PolicyType_SERVICE_CONTROL_POLICY,+        PolicyType_TAG_POLICY+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype PolicyType = PolicyType'+  { fromPolicyType ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern PolicyType_AISERVICES_OPT_OUT_POLICY :: PolicyType+pattern PolicyType_AISERVICES_OPT_OUT_POLICY = PolicyType' "AISERVICES_OPT_OUT_POLICY"++pattern PolicyType_BACKUP_POLICY :: PolicyType+pattern PolicyType_BACKUP_POLICY = PolicyType' "BACKUP_POLICY"++pattern PolicyType_SERVICE_CONTROL_POLICY :: PolicyType+pattern PolicyType_SERVICE_CONTROL_POLICY = PolicyType' "SERVICE_CONTROL_POLICY"++pattern PolicyType_TAG_POLICY :: PolicyType+pattern PolicyType_TAG_POLICY = PolicyType' "TAG_POLICY"++{-# COMPLETE+  PolicyType_AISERVICES_OPT_OUT_POLICY,+  PolicyType_BACKUP_POLICY,+  PolicyType_SERVICE_CONTROL_POLICY,+  PolicyType_TAG_POLICY,+  PolicyType'+  #-}
+ gen/Amazonka/Organizations/Types/PolicyTypeStatus.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.PolicyTypeStatus+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.PolicyTypeStatus+  ( PolicyTypeStatus+      ( ..,+        PolicyTypeStatus_ENABLED,+        PolicyTypeStatus_PENDING_DISABLE,+        PolicyTypeStatus_PENDING_ENABLE+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype PolicyTypeStatus = PolicyTypeStatus'+  { fromPolicyTypeStatus ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern PolicyTypeStatus_ENABLED :: PolicyTypeStatus+pattern PolicyTypeStatus_ENABLED = PolicyTypeStatus' "ENABLED"++pattern PolicyTypeStatus_PENDING_DISABLE :: PolicyTypeStatus+pattern PolicyTypeStatus_PENDING_DISABLE = PolicyTypeStatus' "PENDING_DISABLE"++pattern PolicyTypeStatus_PENDING_ENABLE :: PolicyTypeStatus+pattern PolicyTypeStatus_PENDING_ENABLE = PolicyTypeStatus' "PENDING_ENABLE"++{-# COMPLETE+  PolicyTypeStatus_ENABLED,+  PolicyTypeStatus_PENDING_DISABLE,+  PolicyTypeStatus_PENDING_ENABLE,+  PolicyTypeStatus'+  #-}
+ gen/Amazonka/Organizations/Types/PolicyTypeSummary.hs view
@@ -0,0 +1,95 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.PolicyTypeSummary+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.PolicyTypeSummary where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types.PolicyType+import Amazonka.Organizations.Types.PolicyTypeStatus+import qualified Amazonka.Prelude as Prelude++-- | Contains information about a policy type and its status in the+-- associated root.+--+-- /See:/ 'newPolicyTypeSummary' smart constructor.+data PolicyTypeSummary = PolicyTypeSummary'+  { -- | 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.+    status :: Prelude.Maybe PolicyTypeStatus,+    -- | The name of the policy type.+    type' :: Prelude.Maybe PolicyType+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PolicyTypeSummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'status', 'policyTypeSummary_status' - 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.+--+-- 'type'', 'policyTypeSummary_type' - The name of the policy type.+newPolicyTypeSummary ::+  PolicyTypeSummary+newPolicyTypeSummary =+  PolicyTypeSummary'+    { status = Prelude.Nothing,+      type' = Prelude.Nothing+    }++-- | 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.+policyTypeSummary_status :: Lens.Lens' PolicyTypeSummary (Prelude.Maybe PolicyTypeStatus)+policyTypeSummary_status = Lens.lens (\PolicyTypeSummary' {status} -> status) (\s@PolicyTypeSummary' {} a -> s {status = a} :: PolicyTypeSummary)++-- | The name of the policy type.+policyTypeSummary_type :: Lens.Lens' PolicyTypeSummary (Prelude.Maybe PolicyType)+policyTypeSummary_type = Lens.lens (\PolicyTypeSummary' {type'} -> type') (\s@PolicyTypeSummary' {} a -> s {type' = a} :: PolicyTypeSummary)++instance Data.FromJSON PolicyTypeSummary where+  parseJSON =+    Data.withObject+      "PolicyTypeSummary"+      ( \x ->+          PolicyTypeSummary'+            Prelude.<$> (x Data..:? "Status")+            Prelude.<*> (x Data..:? "Type")+      )++instance Prelude.Hashable PolicyTypeSummary where+  hashWithSalt _salt PolicyTypeSummary' {..} =+    _salt+      `Prelude.hashWithSalt` status+      `Prelude.hashWithSalt` type'++instance Prelude.NFData PolicyTypeSummary where+  rnf PolicyTypeSummary' {..} =+    Prelude.rnf status `Prelude.seq` Prelude.rnf type'
+ gen/Amazonka/Organizations/Types/ResourcePolicy.hs view
@@ -0,0 +1,88 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.ResourcePolicy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.ResourcePolicy where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types.ResourcePolicySummary+import qualified Amazonka.Prelude as Prelude++-- | A structure that contains details about a resource policy.+--+-- /See:/ 'newResourcePolicy' smart constructor.+data ResourcePolicy = ResourcePolicy'+  { -- | The policy text of the resource policy.+    content :: Prelude.Maybe Prelude.Text,+    -- | A structure that contains resource policy ID and Amazon Resource Name+    -- (ARN).+    resourcePolicySummary :: Prelude.Maybe ResourcePolicySummary+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ResourcePolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'content', 'resourcePolicy_content' - The policy text of the resource policy.+--+-- 'resourcePolicySummary', 'resourcePolicy_resourcePolicySummary' - A structure that contains resource policy ID and Amazon Resource Name+-- (ARN).+newResourcePolicy ::+  ResourcePolicy+newResourcePolicy =+  ResourcePolicy'+    { content = Prelude.Nothing,+      resourcePolicySummary = Prelude.Nothing+    }++-- | The policy text of the resource policy.+resourcePolicy_content :: Lens.Lens' ResourcePolicy (Prelude.Maybe Prelude.Text)+resourcePolicy_content = Lens.lens (\ResourcePolicy' {content} -> content) (\s@ResourcePolicy' {} a -> s {content = a} :: ResourcePolicy)++-- | A structure that contains resource policy ID and Amazon Resource Name+-- (ARN).+resourcePolicy_resourcePolicySummary :: Lens.Lens' ResourcePolicy (Prelude.Maybe ResourcePolicySummary)+resourcePolicy_resourcePolicySummary = Lens.lens (\ResourcePolicy' {resourcePolicySummary} -> resourcePolicySummary) (\s@ResourcePolicy' {} a -> s {resourcePolicySummary = a} :: ResourcePolicy)++instance Data.FromJSON ResourcePolicy where+  parseJSON =+    Data.withObject+      "ResourcePolicy"+      ( \x ->+          ResourcePolicy'+            Prelude.<$> (x Data..:? "Content")+            Prelude.<*> (x Data..:? "ResourcePolicySummary")+      )++instance Prelude.Hashable ResourcePolicy where+  hashWithSalt _salt ResourcePolicy' {..} =+    _salt+      `Prelude.hashWithSalt` content+      `Prelude.hashWithSalt` resourcePolicySummary++instance Prelude.NFData ResourcePolicy where+  rnf ResourcePolicy' {..} =+    Prelude.rnf content+      `Prelude.seq` Prelude.rnf resourcePolicySummary
+ gen/Amazonka/Organizations/Types/ResourcePolicySummary.hs view
@@ -0,0 +1,84 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.ResourcePolicySummary+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.ResourcePolicySummary where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A structure that contains resource policy ID and Amazon Resource Name+-- (ARN).+--+-- /See:/ 'newResourcePolicySummary' smart constructor.+data ResourcePolicySummary = ResourcePolicySummary'+  { -- | The Amazon Resource Name (ARN) of the resource policy.+    arn :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier (ID) of the resource policy.+    id :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ResourcePolicySummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'resourcePolicySummary_arn' - The Amazon Resource Name (ARN) of the resource policy.+--+-- 'id', 'resourcePolicySummary_id' - The unique identifier (ID) of the resource policy.+newResourcePolicySummary ::+  ResourcePolicySummary+newResourcePolicySummary =+  ResourcePolicySummary'+    { arn = Prelude.Nothing,+      id = Prelude.Nothing+    }++-- | The Amazon Resource Name (ARN) of the resource policy.+resourcePolicySummary_arn :: Lens.Lens' ResourcePolicySummary (Prelude.Maybe Prelude.Text)+resourcePolicySummary_arn = Lens.lens (\ResourcePolicySummary' {arn} -> arn) (\s@ResourcePolicySummary' {} a -> s {arn = a} :: ResourcePolicySummary)++-- | The unique identifier (ID) of the resource policy.+resourcePolicySummary_id :: Lens.Lens' ResourcePolicySummary (Prelude.Maybe Prelude.Text)+resourcePolicySummary_id = Lens.lens (\ResourcePolicySummary' {id} -> id) (\s@ResourcePolicySummary' {} a -> s {id = a} :: ResourcePolicySummary)++instance Data.FromJSON ResourcePolicySummary where+  parseJSON =+    Data.withObject+      "ResourcePolicySummary"+      ( \x ->+          ResourcePolicySummary'+            Prelude.<$> (x Data..:? "Arn")+            Prelude.<*> (x Data..:? "Id")+      )++instance Prelude.Hashable ResourcePolicySummary where+  hashWithSalt _salt ResourcePolicySummary' {..} =+    _salt+      `Prelude.hashWithSalt` arn+      `Prelude.hashWithSalt` id++instance Prelude.NFData ResourcePolicySummary where+  rnf ResourcePolicySummary' {..} =+    Prelude.rnf arn `Prelude.seq` Prelude.rnf id
+ gen/Amazonka/Organizations/Types/Root.hs view
@@ -0,0 +1,163 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.Root+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.Root where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types.PolicyTypeSummary+import qualified Amazonka.Prelude as Prelude++-- | 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. The root contains every Amazon Web Services account in the+-- organization.+--+-- /See:/ 'newRoot' smart constructor.+data Root = Root'+  { -- | The Amazon Resource Name (ARN) of the root.+    --+    -- For more information about ARNs in Organizations, see+    -- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+    -- in the /Amazon Web Services Service Authorization Reference/.+    arn :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier (ID) for the root.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for a root ID string+    -- requires \"r-\" followed by from 4 to 32 lowercase letters or digits.+    id :: Prelude.Maybe Prelude.Text,+    -- | The friendly name of the root.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+    -- validate this parameter is a string of any of the characters in the+    -- ASCII character range.+    name :: Prelude.Maybe Prelude.Text,+    -- | 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.+    --+    -- Even if a policy type is shown as available in the organization, you can+    -- separately enable and disable them at the root level by using+    -- EnablePolicyType and DisablePolicyType. Use DescribeOrganization to see+    -- the availability of the policy types in that organization.+    policyTypes :: Prelude.Maybe [PolicyTypeSummary]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Root' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'root_arn' - The Amazon Resource Name (ARN) of the root.+--+-- For more information about ARNs in Organizations, see+-- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+-- in the /Amazon Web Services Service Authorization Reference/.+--+-- 'id', 'root_id' - The unique identifier (ID) for the root.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a root ID string+-- requires \"r-\" followed by from 4 to 32 lowercase letters or digits.+--+-- 'name', 'root_name' - The friendly name of the root.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter is a string of any of the characters in the+-- ASCII character range.+--+-- 'policyTypes', 'root_policyTypes' - 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.+--+-- Even if a policy type is shown as available in the organization, you can+-- separately enable and disable them at the root level by using+-- EnablePolicyType and DisablePolicyType. Use DescribeOrganization to see+-- the availability of the policy types in that organization.+newRoot ::+  Root+newRoot =+  Root'+    { arn = Prelude.Nothing,+      id = Prelude.Nothing,+      name = Prelude.Nothing,+      policyTypes = Prelude.Nothing+    }++-- | The Amazon Resource Name (ARN) of the root.+--+-- For more information about ARNs in Organizations, see+-- <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies ARN Formats Supported by Organizations>+-- in the /Amazon Web Services Service Authorization Reference/.+root_arn :: Lens.Lens' Root (Prelude.Maybe Prelude.Text)+root_arn = Lens.lens (\Root' {arn} -> arn) (\s@Root' {} a -> s {arn = a} :: Root)++-- | The unique identifier (ID) for the root.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a root ID string+-- requires \"r-\" followed by from 4 to 32 lowercase letters or digits.+root_id :: Lens.Lens' Root (Prelude.Maybe Prelude.Text)+root_id = Lens.lens (\Root' {id} -> id) (\s@Root' {} a -> s {id = a} :: Root)++-- | The friendly name of the root.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter is a string of any of the characters in the+-- ASCII character range.+root_name :: Lens.Lens' Root (Prelude.Maybe Prelude.Text)+root_name = Lens.lens (\Root' {name} -> name) (\s@Root' {} a -> s {name = a} :: Root)++-- | 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.+--+-- Even if a policy type is shown as available in the organization, you can+-- separately enable and disable them at the root level by using+-- EnablePolicyType and DisablePolicyType. Use DescribeOrganization to see+-- the availability of the policy types in that organization.+root_policyTypes :: Lens.Lens' Root (Prelude.Maybe [PolicyTypeSummary])+root_policyTypes = Lens.lens (\Root' {policyTypes} -> policyTypes) (\s@Root' {} a -> s {policyTypes = a} :: Root) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON Root where+  parseJSON =+    Data.withObject+      "Root"+      ( \x ->+          Root'+            Prelude.<$> (x Data..:? "Arn")+            Prelude.<*> (x Data..:? "Id")+            Prelude.<*> (x Data..:? "Name")+            Prelude.<*> (x Data..:? "PolicyTypes" Data..!= Prelude.mempty)+      )++instance Prelude.Hashable Root where+  hashWithSalt _salt Root' {..} =+    _salt+      `Prelude.hashWithSalt` arn+      `Prelude.hashWithSalt` id+      `Prelude.hashWithSalt` name+      `Prelude.hashWithSalt` policyTypes++instance Prelude.NFData Root where+  rnf Root' {..} =+    Prelude.rnf arn+      `Prelude.seq` Prelude.rnf id+      `Prelude.seq` Prelude.rnf name+      `Prelude.seq` Prelude.rnf policyTypes
+ gen/Amazonka/Organizations/Types/Tag.hs view
@@ -0,0 +1,110 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.Tag+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.Tag where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A custom key-value pair associated with a resource within your+-- organization.+--+-- You can attach tags to any of the following organization resources.+--+-- -   Amazon Web Services account+--+-- -   Organizational unit (OU)+--+-- -   Organization root+--+-- -   Policy+--+-- /See:/ 'newTag' smart constructor.+data Tag = Tag'+  { -- | The key identifier, or name, of the tag.+    key :: Prelude.Text,+    -- | The string value that\'s associated with the key of the tag. You can set+    -- the value of a tag to an empty string, but you can\'t set the value of a+    -- tag to null.+    value :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Tag' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'key', 'tag_key' - The key identifier, or name, of the tag.+--+-- 'value', 'tag_value' - The string value that\'s associated with the key of the tag. You can set+-- the value of a tag to an empty string, but you can\'t set the value of a+-- tag to null.+newTag ::+  -- | 'key'+  Prelude.Text ->+  -- | 'value'+  Prelude.Text ->+  Tag+newTag pKey_ pValue_ =+  Tag' {key = pKey_, value = pValue_}++-- | The key identifier, or name, of the tag.+tag_key :: Lens.Lens' Tag Prelude.Text+tag_key = Lens.lens (\Tag' {key} -> key) (\s@Tag' {} a -> s {key = a} :: Tag)++-- | The string value that\'s associated with the key of the tag. You can set+-- the value of a tag to an empty string, but you can\'t set the value of a+-- tag to null.+tag_value :: Lens.Lens' Tag Prelude.Text+tag_value = Lens.lens (\Tag' {value} -> value) (\s@Tag' {} a -> s {value = a} :: Tag)++instance Data.FromJSON Tag where+  parseJSON =+    Data.withObject+      "Tag"+      ( \x ->+          Tag'+            Prelude.<$> (x Data..: "Key")+            Prelude.<*> (x Data..: "Value")+      )++instance Prelude.Hashable Tag where+  hashWithSalt _salt Tag' {..} =+    _salt+      `Prelude.hashWithSalt` key+      `Prelude.hashWithSalt` value++instance Prelude.NFData Tag where+  rnf Tag' {..} =+    Prelude.rnf key `Prelude.seq` Prelude.rnf value++instance Data.ToJSON Tag where+  toJSON Tag' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("Key" Data..= key),+            Prelude.Just ("Value" Data..= value)+          ]+      )
+ gen/Amazonka/Organizations/Types/TargetType.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Types.TargetType+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Types.TargetType+  ( TargetType+      ( ..,+        TargetType_ACCOUNT,+        TargetType_ORGANIZATIONAL_UNIT,+        TargetType_ROOT+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype TargetType = TargetType'+  { fromTargetType ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern TargetType_ACCOUNT :: TargetType+pattern TargetType_ACCOUNT = TargetType' "ACCOUNT"++pattern TargetType_ORGANIZATIONAL_UNIT :: TargetType+pattern TargetType_ORGANIZATIONAL_UNIT = TargetType' "ORGANIZATIONAL_UNIT"++pattern TargetType_ROOT :: TargetType+pattern TargetType_ROOT = TargetType' "ROOT"++{-# COMPLETE+  TargetType_ACCOUNT,+  TargetType_ORGANIZATIONAL_UNIT,+  TargetType_ROOT,+  TargetType'+  #-}
+ gen/Amazonka/Organizations/UntagResource.hs view
@@ -0,0 +1,202 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.UntagResource+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Removes any tags with the specified keys from the specified resource.+--+-- You can attach tags to the following resources in Organizations.+--+-- -   Amazon Web Services account+--+-- -   Organization root+--+-- -   Organizational unit (OU)+--+-- -   Policy (any type)+--+-- This operation can be called only from the organization\'s management+-- account.+module Amazonka.Organizations.UntagResource+  ( -- * Creating a Request+    UntagResource (..),+    newUntagResource,++    -- * Request Lenses+    untagResource_resourceId,+    untagResource_tagKeys,++    -- * Destructuring the Response+    UntagResourceResponse (..),+    newUntagResourceResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUntagResource' smart constructor.+data UntagResource = UntagResource'+  { -- | The ID of the resource to remove a tag from.+    --+    -- You can specify any of the following taggable resources.+    --+    -- -   Amazon Web Services account – specify the account ID number.+    --+    -- -   Organizational unit – specify the OU ID that begins with @ou-@ and+    --     looks similar to: @ou-@/@1a2b-34uvwxyz@/@ @+    --+    -- -   Root – specify the root ID that begins with @r-@ and looks similar+    --     to: @r-@/@1a2b@/@ @+    --+    -- -   Policy – specify the policy ID that begins with @p-@ andlooks+    --     similar to: @p-@/@12abcdefg3@/@ @+    resourceId :: Prelude.Text,+    -- | The list of keys for tags to remove from the specified resource.+    tagKeys :: [Prelude.Text]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceId', 'untagResource_resourceId' - The ID of the resource to remove a tag from.+--+-- You can specify any of the following taggable resources.+--+-- -   Amazon Web Services account – specify the account ID number.+--+-- -   Organizational unit – specify the OU ID that begins with @ou-@ and+--     looks similar to: @ou-@/@1a2b-34uvwxyz@/@ @+--+-- -   Root – specify the root ID that begins with @r-@ and looks similar+--     to: @r-@/@1a2b@/@ @+--+-- -   Policy – specify the policy ID that begins with @p-@ andlooks+--     similar to: @p-@/@12abcdefg3@/@ @+--+-- 'tagKeys', 'untagResource_tagKeys' - The list of keys for tags to remove from the specified resource.+newUntagResource ::+  -- | 'resourceId'+  Prelude.Text ->+  UntagResource+newUntagResource pResourceId_ =+  UntagResource'+    { resourceId = pResourceId_,+      tagKeys = Prelude.mempty+    }++-- | The ID of the resource to remove a tag from.+--+-- You can specify any of the following taggable resources.+--+-- -   Amazon Web Services account – specify the account ID number.+--+-- -   Organizational unit – specify the OU ID that begins with @ou-@ and+--     looks similar to: @ou-@/@1a2b-34uvwxyz@/@ @+--+-- -   Root – specify the root ID that begins with @r-@ and looks similar+--     to: @r-@/@1a2b@/@ @+--+-- -   Policy – specify the policy ID that begins with @p-@ andlooks+--     similar to: @p-@/@12abcdefg3@/@ @+untagResource_resourceId :: Lens.Lens' UntagResource Prelude.Text+untagResource_resourceId = Lens.lens (\UntagResource' {resourceId} -> resourceId) (\s@UntagResource' {} a -> s {resourceId = a} :: UntagResource)++-- | The list of keys for tags to remove from the specified resource.+untagResource_tagKeys :: Lens.Lens' UntagResource [Prelude.Text]+untagResource_tagKeys = Lens.lens (\UntagResource' {tagKeys} -> tagKeys) (\s@UntagResource' {} a -> s {tagKeys = a} :: UntagResource) Prelude.. Lens.coerced++instance Core.AWSRequest UntagResource where+  type+    AWSResponse UntagResource =+      UntagResourceResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveNull UntagResourceResponse'++instance Prelude.Hashable UntagResource where+  hashWithSalt _salt UntagResource' {..} =+    _salt+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` tagKeys++instance Prelude.NFData UntagResource where+  rnf UntagResource' {..} =+    Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf tagKeys++instance Data.ToHeaders UntagResource where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.UntagResource" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON UntagResource where+  toJSON UntagResource' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("ResourceId" Data..= resourceId),+            Prelude.Just ("TagKeys" Data..= tagKeys)+          ]+      )++instance Data.ToPath UntagResource where+  toPath = Prelude.const "/"++instance Data.ToQuery UntagResource where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUntagResourceResponse' smart constructor.+data UntagResourceResponse = UntagResourceResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newUntagResourceResponse ::+  UntagResourceResponse+newUntagResourceResponse = UntagResourceResponse'++instance Prelude.NFData UntagResourceResponse where+  rnf _ = ()
+ gen/Amazonka/Organizations/UpdateOrganizationalUnit.hs view
@@ -0,0 +1,233 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.UpdateOrganizationalUnit+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Renames the specified organizational unit (OU). The ID and ARN don\'t+-- change. The child OUs and accounts remain in place, and any attached+-- policies of the OU remain attached.+--+-- This operation can be called only from the organization\'s management+-- account.+module Amazonka.Organizations.UpdateOrganizationalUnit+  ( -- * Creating a Request+    UpdateOrganizationalUnit (..),+    newUpdateOrganizationalUnit,++    -- * Request Lenses+    updateOrganizationalUnit_name,+    updateOrganizationalUnit_organizationalUnitId,++    -- * Destructuring the Response+    UpdateOrganizationalUnitResponse (..),+    newUpdateOrganizationalUnitResponse,++    -- * Response Lenses+    updateOrganizationalUnitResponse_organizationalUnit,+    updateOrganizationalUnitResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateOrganizationalUnit' smart constructor.+data UpdateOrganizationalUnit = UpdateOrganizationalUnit'+  { -- | The new name that you want to assign to the OU.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+    -- validate this parameter is a string of any of the characters in the+    -- ASCII character range.+    name :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier (ID) of the OU that you want to rename. You can+    -- get the ID from the ListOrganizationalUnitsForParent operation.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for an+    -- organizational unit ID string requires \"ou-\" followed by from 4 to 32+    -- lowercase letters or digits (the ID of the root that contains the OU).+    -- This string is followed by a second \"-\" dash and from 8 to 32+    -- additional lowercase letters or digits.+    organizationalUnitId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateOrganizationalUnit' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'updateOrganizationalUnit_name' - The new name that you want to assign to the OU.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter is a string of any of the characters in the+-- ASCII character range.+--+-- 'organizationalUnitId', 'updateOrganizationalUnit_organizationalUnitId' - The unique identifier (ID) of the OU that you want to rename. You can+-- get the ID from the ListOrganizationalUnitsForParent operation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an+-- organizational unit ID string requires \"ou-\" followed by from 4 to 32+-- lowercase letters or digits (the ID of the root that contains the OU).+-- This string is followed by a second \"-\" dash and from 8 to 32+-- additional lowercase letters or digits.+newUpdateOrganizationalUnit ::+  -- | 'organizationalUnitId'+  Prelude.Text ->+  UpdateOrganizationalUnit+newUpdateOrganizationalUnit pOrganizationalUnitId_ =+  UpdateOrganizationalUnit'+    { name = Prelude.Nothing,+      organizationalUnitId = pOrganizationalUnitId_+    }++-- | The new name that you want to assign to the OU.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter is a string of any of the characters in the+-- ASCII character range.+updateOrganizationalUnit_name :: Lens.Lens' UpdateOrganizationalUnit (Prelude.Maybe Prelude.Text)+updateOrganizationalUnit_name = Lens.lens (\UpdateOrganizationalUnit' {name} -> name) (\s@UpdateOrganizationalUnit' {} a -> s {name = a} :: UpdateOrganizationalUnit)++-- | The unique identifier (ID) of the OU that you want to rename. You can+-- get the ID from the ListOrganizationalUnitsForParent operation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for an+-- organizational unit ID string requires \"ou-\" followed by from 4 to 32+-- lowercase letters or digits (the ID of the root that contains the OU).+-- This string is followed by a second \"-\" dash and from 8 to 32+-- additional lowercase letters or digits.+updateOrganizationalUnit_organizationalUnitId :: Lens.Lens' UpdateOrganizationalUnit Prelude.Text+updateOrganizationalUnit_organizationalUnitId = Lens.lens (\UpdateOrganizationalUnit' {organizationalUnitId} -> organizationalUnitId) (\s@UpdateOrganizationalUnit' {} a -> s {organizationalUnitId = a} :: UpdateOrganizationalUnit)++instance Core.AWSRequest UpdateOrganizationalUnit where+  type+    AWSResponse UpdateOrganizationalUnit =+      UpdateOrganizationalUnitResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          UpdateOrganizationalUnitResponse'+            Prelude.<$> (x Data..?> "OrganizationalUnit")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable UpdateOrganizationalUnit where+  hashWithSalt _salt UpdateOrganizationalUnit' {..} =+    _salt+      `Prelude.hashWithSalt` name+      `Prelude.hashWithSalt` organizationalUnitId++instance Prelude.NFData UpdateOrganizationalUnit where+  rnf UpdateOrganizationalUnit' {..} =+    Prelude.rnf name+      `Prelude.seq` Prelude.rnf organizationalUnitId++instance Data.ToHeaders UpdateOrganizationalUnit where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.UpdateOrganizationalUnit" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON UpdateOrganizationalUnit where+  toJSON UpdateOrganizationalUnit' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Name" Data..=) Prelude.<$> name,+            Prelude.Just+              ( "OrganizationalUnitId"+                  Data..= organizationalUnitId+              )+          ]+      )++instance Data.ToPath UpdateOrganizationalUnit where+  toPath = Prelude.const "/"++instance Data.ToQuery UpdateOrganizationalUnit where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateOrganizationalUnitResponse' smart constructor.+data UpdateOrganizationalUnitResponse = UpdateOrganizationalUnitResponse'+  { -- | A structure that contains the details about the specified OU, including+    -- its new name.+    organizationalUnit :: Prelude.Maybe OrganizationalUnit,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateOrganizationalUnitResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationalUnit', 'updateOrganizationalUnitResponse_organizationalUnit' - A structure that contains the details about the specified OU, including+-- its new name.+--+-- 'httpStatus', 'updateOrganizationalUnitResponse_httpStatus' - The response's http status code.+newUpdateOrganizationalUnitResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  UpdateOrganizationalUnitResponse+newUpdateOrganizationalUnitResponse pHttpStatus_ =+  UpdateOrganizationalUnitResponse'+    { organizationalUnit =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains the details about the specified OU, including+-- its new name.+updateOrganizationalUnitResponse_organizationalUnit :: Lens.Lens' UpdateOrganizationalUnitResponse (Prelude.Maybe OrganizationalUnit)+updateOrganizationalUnitResponse_organizationalUnit = Lens.lens (\UpdateOrganizationalUnitResponse' {organizationalUnit} -> organizationalUnit) (\s@UpdateOrganizationalUnitResponse' {} a -> s {organizationalUnit = a} :: UpdateOrganizationalUnitResponse)++-- | The response's http status code.+updateOrganizationalUnitResponse_httpStatus :: Lens.Lens' UpdateOrganizationalUnitResponse Prelude.Int+updateOrganizationalUnitResponse_httpStatus = Lens.lens (\UpdateOrganizationalUnitResponse' {httpStatus} -> httpStatus) (\s@UpdateOrganizationalUnitResponse' {} a -> s {httpStatus = a} :: UpdateOrganizationalUnitResponse)++instance+  Prelude.NFData+    UpdateOrganizationalUnitResponse+  where+  rnf UpdateOrganizationalUnitResponse' {..} =+    Prelude.rnf organizationalUnit+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/UpdatePolicy.hs view
@@ -0,0 +1,253 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.UpdatePolicy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates an existing policy with a new name, description, or content. If+-- you don\'t supply any parameter, that value remains unchanged. You+-- can\'t change a policy\'s type.+--+-- This operation can be called only from the organization\'s management+-- account.+module Amazonka.Organizations.UpdatePolicy+  ( -- * Creating a Request+    UpdatePolicy (..),+    newUpdatePolicy,++    -- * Request Lenses+    updatePolicy_content,+    updatePolicy_description,+    updatePolicy_name,+    updatePolicy_policyId,++    -- * Destructuring the Response+    UpdatePolicyResponse (..),+    newUpdatePolicyResponse,++    -- * Response Lenses+    updatePolicyResponse_policy,+    updatePolicyResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdatePolicy' smart constructor.+data UpdatePolicy = UpdatePolicy'+  { -- | If provided, the new content for the policy. The text must be correctly+    -- formatted JSON that complies with the syntax for the policy\'s type. For+    -- more information, see+    -- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html Service Control Policy Syntax>+    -- in the /Organizations User Guide./+    content :: Prelude.Maybe Prelude.Text,+    -- | If provided, the new description for the policy.+    description :: Prelude.Maybe Prelude.Text,+    -- | If provided, the new name for the policy.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+    -- validate this parameter is a string of any of the characters in the+    -- ASCII character range.+    name :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier (ID) of the policy that you want to update.+    --+    -- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+    -- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+    -- letters, digits, or the underscore character (_).+    policyId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdatePolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'content', 'updatePolicy_content' - If provided, the new content for the policy. The text must be correctly+-- formatted JSON that complies with the syntax for the policy\'s type. For+-- more information, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html Service Control Policy Syntax>+-- in the /Organizations User Guide./+--+-- 'description', 'updatePolicy_description' - If provided, the new description for the policy.+--+-- 'name', 'updatePolicy_name' - If provided, the new name for the policy.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter is a string of any of the characters in the+-- ASCII character range.+--+-- 'policyId', 'updatePolicy_policyId' - The unique identifier (ID) of the policy that you want to update.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+-- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+-- letters, digits, or the underscore character (_).+newUpdatePolicy ::+  -- | 'policyId'+  Prelude.Text ->+  UpdatePolicy+newUpdatePolicy pPolicyId_ =+  UpdatePolicy'+    { content = Prelude.Nothing,+      description = Prelude.Nothing,+      name = Prelude.Nothing,+      policyId = pPolicyId_+    }++-- | If provided, the new content for the policy. The text must be correctly+-- formatted JSON that complies with the syntax for the policy\'s type. For+-- more information, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html Service Control Policy Syntax>+-- in the /Organizations User Guide./+updatePolicy_content :: Lens.Lens' UpdatePolicy (Prelude.Maybe Prelude.Text)+updatePolicy_content = Lens.lens (\UpdatePolicy' {content} -> content) (\s@UpdatePolicy' {} a -> s {content = a} :: UpdatePolicy)++-- | If provided, the new description for the policy.+updatePolicy_description :: Lens.Lens' UpdatePolicy (Prelude.Maybe Prelude.Text)+updatePolicy_description = Lens.lens (\UpdatePolicy' {description} -> description) (\s@UpdatePolicy' {} a -> s {description = a} :: UpdatePolicy)++-- | If provided, the new name for the policy.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> that is used to+-- validate this parameter is a string of any of the characters in the+-- ASCII character range.+updatePolicy_name :: Lens.Lens' UpdatePolicy (Prelude.Maybe Prelude.Text)+updatePolicy_name = Lens.lens (\UpdatePolicy' {name} -> name) (\s@UpdatePolicy' {} a -> s {name = a} :: UpdatePolicy)++-- | The unique identifier (ID) of the policy that you want to update.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID+-- string requires \"p-\" followed by from 8 to 128 lowercase or uppercase+-- letters, digits, or the underscore character (_).+updatePolicy_policyId :: Lens.Lens' UpdatePolicy Prelude.Text+updatePolicy_policyId = Lens.lens (\UpdatePolicy' {policyId} -> policyId) (\s@UpdatePolicy' {} a -> s {policyId = a} :: UpdatePolicy)++instance Core.AWSRequest UpdatePolicy where+  type AWSResponse UpdatePolicy = UpdatePolicyResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          UpdatePolicyResponse'+            Prelude.<$> (x Data..?> "Policy")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable UpdatePolicy where+  hashWithSalt _salt UpdatePolicy' {..} =+    _salt+      `Prelude.hashWithSalt` content+      `Prelude.hashWithSalt` description+      `Prelude.hashWithSalt` name+      `Prelude.hashWithSalt` policyId++instance Prelude.NFData UpdatePolicy where+  rnf UpdatePolicy' {..} =+    Prelude.rnf content+      `Prelude.seq` Prelude.rnf description+      `Prelude.seq` Prelude.rnf name+      `Prelude.seq` Prelude.rnf policyId++instance Data.ToHeaders UpdatePolicy where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSOrganizationsV20161128.UpdatePolicy" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON UpdatePolicy where+  toJSON UpdatePolicy' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Content" Data..=) Prelude.<$> content,+            ("Description" Data..=) Prelude.<$> description,+            ("Name" Data..=) Prelude.<$> name,+            Prelude.Just ("PolicyId" Data..= policyId)+          ]+      )++instance Data.ToPath UpdatePolicy where+  toPath = Prelude.const "/"++instance Data.ToQuery UpdatePolicy where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdatePolicyResponse' smart constructor.+data UpdatePolicyResponse = UpdatePolicyResponse'+  { -- | A structure that contains details about the updated policy, showing the+    -- requested changes.+    policy :: Prelude.Maybe Policy,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdatePolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'policy', 'updatePolicyResponse_policy' - A structure that contains details about the updated policy, showing the+-- requested changes.+--+-- 'httpStatus', 'updatePolicyResponse_httpStatus' - The response's http status code.+newUpdatePolicyResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  UpdatePolicyResponse+newUpdatePolicyResponse pHttpStatus_ =+  UpdatePolicyResponse'+    { policy = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A structure that contains details about the updated policy, showing the+-- requested changes.+updatePolicyResponse_policy :: Lens.Lens' UpdatePolicyResponse (Prelude.Maybe Policy)+updatePolicyResponse_policy = Lens.lens (\UpdatePolicyResponse' {policy} -> policy) (\s@UpdatePolicyResponse' {} a -> s {policy = a} :: UpdatePolicyResponse)++-- | The response's http status code.+updatePolicyResponse_httpStatus :: Lens.Lens' UpdatePolicyResponse Prelude.Int+updatePolicyResponse_httpStatus = Lens.lens (\UpdatePolicyResponse' {httpStatus} -> httpStatus) (\s@UpdatePolicyResponse' {} a -> s {httpStatus = a} :: UpdatePolicyResponse)++instance Prelude.NFData UpdatePolicyResponse where+  rnf UpdatePolicyResponse' {..} =+    Prelude.rnf policy+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Organizations/Waiters.hs view
@@ -0,0 +1,24 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Organizations.Waiters+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Organizations.Waiters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Organizations.Lens+import Amazonka.Organizations.Types+import qualified Amazonka.Prelude as Prelude
− gen/Network/AWS/Organizations.hs
@@ -1,570 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ __AWS Organizations API Reference__------ AWS Organizations is a web service that enables you to consolidate your multiple AWS accounts into an /organization/ and centrally manage your accounts and their resources.------ This guide provides descriptions of the Organizations API. For more information about using this service, see the <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html AWS Organizations User Guide> .------ __API Version__------ This version of the Organizations API Reference documents the Organizations API version 2016-11-28.------ We recommend that you use the AWS SDKs to make programmatic API calls to Organizations. However, you also can use the Organizations Query API to make direct calls to the Organizations web service. To learn more about the Organizations Query API, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_query-requests.html Making Query Requests> in the /AWS Organizations User Guide/ . Organizations supports GET and POST requests for all actions. That is, the API does not require you to use GET for some actions and POST for others. However, GET requests are subject to the limitation size of a URL. Therefore, for operations that require larger sizes, use a POST request.------ __Signing Requests__------ When you send HTTP requests to AWS, you must sign the requests so that AWS can identify who sent them. You sign requests with your AWS access key, which consists of an access key ID and a secret access key. We strongly recommend that you do not create an access key for your root account. Anyone who has the access key for your root account has unrestricted access to all the resources in your account. Instead, create an access key for an IAM user account that has administrative privileges. As another option, use AWS Security Token Service to generate temporary security credentials, and use those credentials to sign requests.------ To sign requests, we recommend that you use <http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html Signature Version 4> . If you have an existing application that uses Signature Version 2, you do not have to update it to use Signature Version 4. However, some operations now require Signature Version 4. The documentation for operations that require version 4 indicate this requirement.------ When you use the AWS Command Line Interface (AWS CLI) or one of the AWS SDKs to make requests to AWS, these tools automatically sign the requests for you with the access key that you specify when you configure the tools.------ In this release, each organization can have only one root. In a future release, a single organization will support multiple roots.------ __Support and Feedback for AWS Organizations__------ We welcome your feedback. Send your comments to <mailto:feedback-awsorganizations@amazon.com feedback-awsorganizations@amazon.com> or post your feedback and questions in the <http://forums.aws.amazon.com/forum.jspa?forumID=219 AWS Organizations support forum> . For more information about the AWS support forums, see <http://forums.aws.amazon.com/help.jspa Forums Help> .------ __Endpoint to Call When Using the CLI or the AWS API__------ For the current release of Organizations, you must specify the @us-east-1@ region for all AWS API and CLI calls. You can do this in the CLI by using these parameters and commands:------     * Use the following parameter with each command to specify both the endpoint and its region:------ @--endpoint-url https://organizations.us-east-1.amazonaws.com@------     * Use the default endpoint, but configure your default region with this command:------ @aws configure set default.region us-east-1@------     * Use the following parameter with each command to specify the endpoint:------ @--region us-east-1@------------ For the various SDKs used to call the APIs, see the documentation for the SDK of interest to learn how to direct the requests to a specific endpoint. For more information, see <http://docs.aws.amazon.com/general/latest/gr/rande.html#sts_region Regions and Endpoints> in the /AWS General Reference/ .------ __How examples are presented__------ The JSON returned by the AWS Organizations service as response to your requests is returned as a single long string without line breaks or formatting whitespace. Both line breaks and whitespace are included in the examples in this guide to improve readability. When example input parameters also would result in long strings that would extend beyond the screen, we insert line breaks to enhance readability. You should always submit the input as a single JSON text string.------ __Recording API Requests__------ AWS Organizations supports AWS CloudTrail, a service that records AWS API calls for your AWS account and delivers log files to an Amazon S3 bucket. By using information collected by AWS CloudTrail, you can determine which requests were successfully made to Organizations, who made the request, when it was made, and so on. For more about AWS Organizations and its support for AWS CloudTrail, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_cloudtrail-integration.html Logging AWS Organizations Events with AWS CloudTrail> in the /AWS Organizations User Guide/ . To learn more about CloudTrail, including how to turn it on and find your log files, see the <http://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html AWS CloudTrail User Guide> .----module Network.AWS.Organizations-    (-    -- * Service Configuration-      organizations--    -- * Errors-    -- $errors--    -- ** PolicyNotFoundException-    , _PolicyNotFoundException--    -- ** PolicyTypeAlreadyEnabledException-    , _PolicyTypeAlreadyEnabledException--    -- ** HandshakeConstraintViolationException-    , _HandshakeConstraintViolationException--    -- ** AccessDeniedException-    , _AccessDeniedException--    -- ** MalformedPolicyDocumentException-    , _MalformedPolicyDocumentException--    -- ** RootNotFoundException-    , _RootNotFoundException--    -- ** MasterCannotLeaveOrganizationException-    , _MasterCannotLeaveOrganizationException--    -- ** AccountNotFoundException-    , _AccountNotFoundException--    -- ** DuplicatePolicyException-    , _DuplicatePolicyException--    -- ** ConstraintViolationException-    , _ConstraintViolationException--    -- ** FinalizingOrganizationException-    , _FinalizingOrganizationException--    -- ** HandshakeNotFoundException-    , _HandshakeNotFoundException--    -- ** PolicyTypeNotAvailableForOrganizationException-    , _PolicyTypeNotAvailableForOrganizationException--    -- ** ChildNotFoundException-    , _ChildNotFoundException--    -- ** OrganizationalUnitNotFoundException-    , _OrganizationalUnitNotFoundException--    -- ** DestinationParentNotFoundException-    , _DestinationParentNotFoundException--    -- ** OrganizationNotEmptyException-    , _OrganizationNotEmptyException--    -- ** PolicyTypeNotEnabledException-    , _PolicyTypeNotEnabledException--    -- ** DuplicateHandshakeException-    , _DuplicateHandshakeException--    -- ** OrganizationalUnitNotEmptyException-    , _OrganizationalUnitNotEmptyException--    -- ** TooManyRequestsException-    , _TooManyRequestsException--    -- ** ConcurrentModificationException-    , _ConcurrentModificationException--    -- ** ServiceException-    , _ServiceException--    -- ** SourceParentNotFoundException-    , _SourceParentNotFoundException--    -- ** TargetNotFoundException-    , _TargetNotFoundException--    -- ** CreateAccountStatusNotFoundException-    , _CreateAccountStatusNotFoundException--    -- ** AlreadyInOrganizationException-    , _AlreadyInOrganizationException--    -- ** DuplicateOrganizationalUnitException-    , _DuplicateOrganizationalUnitException--    -- ** InvalidInputException-    , _InvalidInputException--    -- ** PolicyNotAttachedException-    , _PolicyNotAttachedException--    -- ** ParentNotFoundException-    , _ParentNotFoundException--    -- ** AccessDeniedForDependencyException-    , _AccessDeniedForDependencyException--    -- ** AWSOrganizationsNotInUseException-    , _AWSOrganizationsNotInUseException--    -- ** PolicyInUseException-    , _PolicyInUseException--    -- ** InvalidHandshakeTransitionException-    , _InvalidHandshakeTransitionException--    -- ** HandshakeAlreadyInStateException-    , _HandshakeAlreadyInStateException--    -- ** DuplicateAccountException-    , _DuplicateAccountException--    -- ** DuplicatePolicyAttachmentException-    , _DuplicatePolicyAttachmentException--    -- * Waiters-    -- $waiters--    -- * Operations-    -- $operations--    -- ** ListHandshakesForAccount (Paginated)-    , module Network.AWS.Organizations.ListHandshakesForAccount--    -- ** DescribeAccount-    , module Network.AWS.Organizations.DescribeAccount--    -- ** ListPolicies (Paginated)-    , module Network.AWS.Organizations.ListPolicies--    -- ** CreatePolicy-    , module Network.AWS.Organizations.CreatePolicy--    -- ** ListRoots (Paginated)-    , module Network.AWS.Organizations.ListRoots--    -- ** AcceptHandshake-    , module Network.AWS.Organizations.AcceptHandshake--    -- ** CreateOrganization-    , module Network.AWS.Organizations.CreateOrganization--    -- ** EnableAllFeatures-    , module Network.AWS.Organizations.EnableAllFeatures--    -- ** DeleteOrganization-    , module Network.AWS.Organizations.DeleteOrganization--    -- ** DescribeHandshake-    , module Network.AWS.Organizations.DescribeHandshake--    -- ** DescribePolicy-    , module Network.AWS.Organizations.DescribePolicy--    -- ** DisableAWSServiceAccess-    , module Network.AWS.Organizations.DisableAWSServiceAccess--    -- ** LeaveOrganization-    , module Network.AWS.Organizations.LeaveOrganization--    -- ** MoveAccount-    , module Network.AWS.Organizations.MoveAccount--    -- ** ListAccounts (Paginated)-    , module Network.AWS.Organizations.ListAccounts--    -- ** InviteAccountToOrganization-    , module Network.AWS.Organizations.InviteAccountToOrganization--    -- ** ListAWSServiceAccessForOrganization (Paginated)-    , module Network.AWS.Organizations.ListAWSServiceAccessForOrganization--    -- ** ListOrganizationalUnitsForParent (Paginated)-    , module Network.AWS.Organizations.ListOrganizationalUnitsForParent--    -- ** CancelHandshake-    , module Network.AWS.Organizations.CancelHandshake--    -- ** ListChildren (Paginated)-    , module Network.AWS.Organizations.ListChildren--    -- ** DeletePolicy-    , module Network.AWS.Organizations.DeletePolicy--    -- ** UpdatePolicy-    , module Network.AWS.Organizations.UpdatePolicy--    -- ** EnablePolicyType-    , module Network.AWS.Organizations.EnablePolicyType--    -- ** DisablePolicyType-    , module Network.AWS.Organizations.DisablePolicyType--    -- ** DescribeCreateAccountStatus-    , module Network.AWS.Organizations.DescribeCreateAccountStatus--    -- ** CreateOrganizationalUnit-    , module Network.AWS.Organizations.CreateOrganizationalUnit--    -- ** ListAccountsForParent (Paginated)-    , module Network.AWS.Organizations.ListAccountsForParent--    -- ** DetachPolicy-    , module Network.AWS.Organizations.DetachPolicy--    -- ** RemoveAccountFromOrganization-    , module Network.AWS.Organizations.RemoveAccountFromOrganization--    -- ** EnableAWSServiceAccess-    , module Network.AWS.Organizations.EnableAWSServiceAccess--    -- ** DescribeOrganizationalUnit-    , module Network.AWS.Organizations.DescribeOrganizationalUnit--    -- ** ListParents (Paginated)-    , module Network.AWS.Organizations.ListParents--    -- ** CreateAccount-    , module Network.AWS.Organizations.CreateAccount--    -- ** ListCreateAccountStatus (Paginated)-    , module Network.AWS.Organizations.ListCreateAccountStatus--    -- ** ListTargetsForPolicy (Paginated)-    , module Network.AWS.Organizations.ListTargetsForPolicy--    -- ** DeclineHandshake-    , module Network.AWS.Organizations.DeclineHandshake--    -- ** AttachPolicy-    , module Network.AWS.Organizations.AttachPolicy--    -- ** ListPoliciesForTarget (Paginated)-    , module Network.AWS.Organizations.ListPoliciesForTarget--    -- ** DescribeOrganization-    , module Network.AWS.Organizations.DescribeOrganization--    -- ** ListHandshakesForOrganization (Paginated)-    , module Network.AWS.Organizations.ListHandshakesForOrganization--    -- ** DeleteOrganizationalUnit-    , module Network.AWS.Organizations.DeleteOrganizationalUnit--    -- ** UpdateOrganizationalUnit-    , module Network.AWS.Organizations.UpdateOrganizationalUnit--    -- * Types--    -- ** AccountJoinedMethod-    , AccountJoinedMethod (..)--    -- ** AccountStatus-    , AccountStatus (..)--    -- ** ActionType-    , ActionType (..)--    -- ** ChildType-    , ChildType (..)--    -- ** CreateAccountFailureReason-    , CreateAccountFailureReason (..)--    -- ** CreateAccountState-    , CreateAccountState (..)--    -- ** HandshakePartyType-    , HandshakePartyType (..)--    -- ** HandshakeResourceType-    , HandshakeResourceType (..)--    -- ** HandshakeState-    , HandshakeState (..)--    -- ** IAMUserAccessToBilling-    , IAMUserAccessToBilling (..)--    -- ** OrganizationFeatureSet-    , OrganizationFeatureSet (..)--    -- ** ParentType-    , ParentType (..)--    -- ** PolicyType-    , PolicyType (..)--    -- ** PolicyTypeStatus-    , PolicyTypeStatus (..)--    -- ** TargetType-    , TargetType (..)--    -- ** Account-    , Account-    , account-    , aStatus-    , aJoinedMethod-    , aEmail-    , aARN-    , aJoinedTimestamp-    , aName-    , aId--    -- ** Child-    , Child-    , child-    , cId-    , cType--    -- ** CreateAccountStatus-    , CreateAccountStatus-    , createAccountStatus-    , casFailureReason-    , casState-    , casCompletedTimestamp-    , casAccountName-    , casAccountId-    , casId-    , casRequestedTimestamp--    -- ** EnabledServicePrincipal-    , EnabledServicePrincipal-    , enabledServicePrincipal-    , espServicePrincipal-    , espDateEnabled--    -- ** Handshake-    , Handshake-    , handshake-    , hState-    , hARN-    , hAction-    , hResources-    , hId-    , hExpirationTimestamp-    , hParties-    , hRequestedTimestamp--    -- ** HandshakeFilter-    , HandshakeFilter-    , handshakeFilter-    , hfParentHandshakeId-    , hfActionType--    -- ** HandshakeParty-    , HandshakeParty-    , handshakeParty-    , hpId-    , hpType--    -- ** HandshakeResource-    , HandshakeResource-    , handshakeResource-    , hrValue-    , hrResources-    , hrType--    -- ** Organization-    , Organization-    , organization-    , oARN-    , oMasterAccountId-    , oMasterAccountARN-    , oMasterAccountEmail-    , oAvailablePolicyTypes-    , oId-    , oFeatureSet--    -- ** OrganizationalUnit-    , OrganizationalUnit-    , organizationalUnit-    , ouARN-    , ouName-    , ouId--    -- ** Parent-    , Parent-    , parent-    , pId-    , pType--    -- ** Policy-    , Policy-    , policy-    , pContent-    , pPolicySummary--    -- ** PolicySummary-    , PolicySummary-    , policySummary-    , psARN-    , psName-    , psId-    , psAWSManaged-    , psType-    , psDescription--    -- ** PolicyTargetSummary-    , PolicyTargetSummary-    , policyTargetSummary-    , polTargetId-    , polARN-    , polName-    , polType--    -- ** PolicyTypeSummary-    , PolicyTypeSummary-    , policyTypeSummary-    , ptsStatus-    , ptsType--    -- ** Root-    , Root-    , root-    , rARN-    , rName-    , rId-    , rPolicyTypes-    ) where--import Network.AWS.Organizations.AcceptHandshake-import Network.AWS.Organizations.AttachPolicy-import Network.AWS.Organizations.CancelHandshake-import Network.AWS.Organizations.CreateAccount-import Network.AWS.Organizations.CreateOrganization-import Network.AWS.Organizations.CreateOrganizationalUnit-import Network.AWS.Organizations.CreatePolicy-import Network.AWS.Organizations.DeclineHandshake-import Network.AWS.Organizations.DeleteOrganization-import Network.AWS.Organizations.DeleteOrganizationalUnit-import Network.AWS.Organizations.DeletePolicy-import Network.AWS.Organizations.DescribeAccount-import Network.AWS.Organizations.DescribeCreateAccountStatus-import Network.AWS.Organizations.DescribeHandshake-import Network.AWS.Organizations.DescribeOrganization-import Network.AWS.Organizations.DescribeOrganizationalUnit-import Network.AWS.Organizations.DescribePolicy-import Network.AWS.Organizations.DetachPolicy-import Network.AWS.Organizations.DisableAWSServiceAccess-import Network.AWS.Organizations.DisablePolicyType-import Network.AWS.Organizations.EnableAllFeatures-import Network.AWS.Organizations.EnableAWSServiceAccess-import Network.AWS.Organizations.EnablePolicyType-import Network.AWS.Organizations.InviteAccountToOrganization-import Network.AWS.Organizations.LeaveOrganization-import Network.AWS.Organizations.ListAccounts-import Network.AWS.Organizations.ListAccountsForParent-import Network.AWS.Organizations.ListAWSServiceAccessForOrganization-import Network.AWS.Organizations.ListChildren-import Network.AWS.Organizations.ListCreateAccountStatus-import Network.AWS.Organizations.ListHandshakesForAccount-import Network.AWS.Organizations.ListHandshakesForOrganization-import Network.AWS.Organizations.ListOrganizationalUnitsForParent-import Network.AWS.Organizations.ListParents-import Network.AWS.Organizations.ListPolicies-import Network.AWS.Organizations.ListPoliciesForTarget-import Network.AWS.Organizations.ListRoots-import Network.AWS.Organizations.ListTargetsForPolicy-import Network.AWS.Organizations.MoveAccount-import Network.AWS.Organizations.RemoveAccountFromOrganization-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.UpdateOrganizationalUnit-import Network.AWS.Organizations.UpdatePolicy-import Network.AWS.Organizations.Waiters--{- $errors-Error matchers are designed for use with the functions provided by-<http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.-This allows catching (and rethrowing) service specific errors returned-by 'Organizations'.--}--{- $operations-Some AWS operations return results that are incomplete and require subsequent-requests in order to obtain the entire result set. The process of sending-subsequent requests to continue where a previous request left off is called-pagination. For example, the 'ListObjects' operation of Amazon S3 returns up to-1000 objects at a time, and you must send subsequent requests with the-appropriate Marker in order to retrieve the next page of results.--Operations that have an 'AWSPager' instance can transparently perform subsequent-requests, correctly setting Markers and other request facets to iterate through-the entire result set of a truncated API operation. Operations which support-this have an additional note in the documentation.--Many operations have the ability to filter results on the server side. See the-individual operation parameters for details.--}--{- $waiters-Waiters poll by repeatedly sending a request until some remote success condition-configured by the 'Wait' specification is fulfilled. The 'Wait' specification-determines how many attempts should be made, in addition to delay and retry strategies.--}
− gen/Network/AWS/Organizations/AcceptHandshake.hs
@@ -1,147 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.AcceptHandshake--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Sends a response to the originator of a handshake agreeing to the action proposed by the handshake request.--------- This operation can be called only by the following principals when they also have the relevant IAM permissions:------     * __Invitation to join__ or __Approve all features request__ handshakes: only a principal from the member account.------ The user who calls the API for an invitation to join must have the @organizations:AcceptHandshake@ permission. If you enabled all features in the organization, then the user must also have the @iam:CreateServiceLinkedRole@ permission so that Organizations can create the required service-linked role named /OrgsServiceLinkedRoleName/ . For more information, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_integration_services.html#orgs_integration_service-linked-roles AWS Organizations and Service-Linked Roles> in the /AWS Organizations User Guide/ .------     * __Enable all features final confirmation__ handshake: only a principal from the master account.------ For more information about invitations, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_invites.html Inviting an AWS Account to Join Your Organization> in the /AWS Organizations User Guide/ . For more information about requests to enable all features in the organization, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html Enabling All Features in Your Organization> in the /AWS Organizations User Guide/ .------------ After you accept a handshake, it continues to appear in the results of relevant APIs for only 30 days. After that it is deleted.----module Network.AWS.Organizations.AcceptHandshake-    (-    -- * Creating a Request-      acceptHandshake-    , AcceptHandshake-    -- * Request Lenses-    , ahHandshakeId--    -- * Destructuring the Response-    , acceptHandshakeResponse-    , AcceptHandshakeResponse-    -- * Response Lenses-    , ahrsHandshake-    , ahrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'acceptHandshake' smart constructor.-newtype AcceptHandshake = AcceptHandshake'-  { _ahHandshakeId :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AcceptHandshake' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ahHandshakeId' - The unique identifier (ID) of the handshake that you want to accept. The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.-acceptHandshake-    :: Text -- ^ 'ahHandshakeId'-    -> AcceptHandshake-acceptHandshake pHandshakeId_ =-  AcceptHandshake' {_ahHandshakeId = pHandshakeId_}----- | The unique identifier (ID) of the handshake that you want to accept. The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.-ahHandshakeId :: Lens' AcceptHandshake Text-ahHandshakeId = lens _ahHandshakeId (\ s a -> s{_ahHandshakeId = a})--instance AWSRequest AcceptHandshake where-        type Rs AcceptHandshake = AcceptHandshakeResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 AcceptHandshakeResponse' <$>-                   (x .?> "Handshake") <*> (pure (fromEnum s)))--instance Hashable AcceptHandshake where--instance NFData AcceptHandshake where--instance ToHeaders AcceptHandshake where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.AcceptHandshake" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON AcceptHandshake where-        toJSON AcceptHandshake'{..}-          = object-              (catMaybes [Just ("HandshakeId" .= _ahHandshakeId)])--instance ToPath AcceptHandshake where-        toPath = const "/"--instance ToQuery AcceptHandshake where-        toQuery = const mempty---- | /See:/ 'acceptHandshakeResponse' smart constructor.-data AcceptHandshakeResponse = AcceptHandshakeResponse'-  { _ahrsHandshake      :: !(Maybe Handshake)-  , _ahrsResponseStatus :: !Int-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AcceptHandshakeResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ahrsHandshake' - A structure that contains details about the accepted handshake.------ * 'ahrsResponseStatus' - -- | The response status code.-acceptHandshakeResponse-    :: Int -- ^ 'ahrsResponseStatus'-    -> AcceptHandshakeResponse-acceptHandshakeResponse pResponseStatus_ =-  AcceptHandshakeResponse'-    {_ahrsHandshake = Nothing, _ahrsResponseStatus = pResponseStatus_}----- | A structure that contains details about the accepted handshake.-ahrsHandshake :: Lens' AcceptHandshakeResponse (Maybe Handshake)-ahrsHandshake = lens _ahrsHandshake (\ s a -> s{_ahrsHandshake = a})---- | -- | The response status code.-ahrsResponseStatus :: Lens' AcceptHandshakeResponse Int-ahrsResponseStatus = lens _ahrsResponseStatus (\ s a -> s{_ahrsResponseStatus = a})--instance NFData AcceptHandshakeResponse where
− gen/Network/AWS/Organizations/AttachPolicy.hs
@@ -1,140 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.AttachPolicy--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Attaches a policy to a root, an organizational unit, or an individual account. How the policy affects accounts depends on the type of policy:---------     * __Service control policy (SCP)__ - An SCP specifies what permissions can be delegated to users in affected member accounts. The scope of influence for a policy depends on what you attach the policy to:------     * If you attach an SCP to a root, it affects all accounts in the organization.------     * If you attach an SCP to an OU, it affects all accounts in that OU and in any child OUs.------     * If you attach the policy directly to an account, then it affects only that account.------------ SCPs essentially are permission "filters". When you attach one SCP to a higher level root or OU, and you also attach a different SCP to a child OU or to an account, the child policy can further restrict only the permissions that pass through the parent filter and are available to the child. An SCP that is attached to a child cannot grant a permission that is not already granted by the parent. For example, imagine that the parent SCP allows permissions A, B, C, D, and E. The child SCP allows C, D, E, F, and G. The result is that the accounts affected by the child SCP are allowed to use only C, D, and E. They cannot use A or B because they were filtered out by the child OU. They also cannot use F and G because they were filtered out by the parent OU. They cannot be granted back by the child SCP; child SCPs can only filter the permissions they receive from the parent SCP.------ AWS Organizations attaches a default SCP named @"FullAWSAccess@ to every root, OU, and account. This default SCP allows all services and actions, enabling any new child OU or account to inherit the permissions of the parent root or OU. If you detach the default policy, you must replace it with a policy that specifies the permissions that you want to allow in that OU or account.------ For more information about how Organizations policies permissions work, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html Using Service Control Policies> in the /AWS Organizations User Guide/ .------------ This operation can be called only from the organization's master account.----module Network.AWS.Organizations.AttachPolicy-    (-    -- * Creating a Request-      attachPolicy-    , AttachPolicy-    -- * Request Lenses-    , apPolicyId-    , apTargetId--    -- * Destructuring the Response-    , attachPolicyResponse-    , AttachPolicyResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'attachPolicy' smart constructor.-data AttachPolicy = AttachPolicy'-  { _apPolicyId :: !Text-  , _apTargetId :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AttachPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'apPolicyId' - The unique identifier (ID) of the policy that you want to attach to the target. You can get the ID for the policy by calling the 'ListPolicies' operation. The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.------ * 'apTargetId' - The unique identifier (ID) of the root, OU, or account that you want to attach the policy to. You can get the ID by calling the 'ListRoots' , 'ListOrganizationalUnitsForParent' , or 'ListAccounts' operations. The <http://wikipedia.org/wiki/regex 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.-attachPolicy-    :: Text -- ^ 'apPolicyId'-    -> Text -- ^ 'apTargetId'-    -> AttachPolicy-attachPolicy pPolicyId_ pTargetId_ =-  AttachPolicy' {_apPolicyId = pPolicyId_, _apTargetId = pTargetId_}----- | The unique identifier (ID) of the policy that you want to attach to the target. You can get the ID for the policy by calling the 'ListPolicies' operation. The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.-apPolicyId :: Lens' AttachPolicy Text-apPolicyId = lens _apPolicyId (\ s a -> s{_apPolicyId = a})---- | The unique identifier (ID) of the root, OU, or account that you want to attach the policy to. You can get the ID by calling the 'ListRoots' , 'ListOrganizationalUnitsForParent' , or 'ListAccounts' operations. The <http://wikipedia.org/wiki/regex 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.-apTargetId :: Lens' AttachPolicy Text-apTargetId = lens _apTargetId (\ s a -> s{_apTargetId = a})--instance AWSRequest AttachPolicy where-        type Rs AttachPolicy = AttachPolicyResponse-        request = postJSON organizations-        response = receiveNull AttachPolicyResponse'--instance Hashable AttachPolicy where--instance NFData AttachPolicy where--instance ToHeaders AttachPolicy where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.AttachPolicy" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON AttachPolicy where-        toJSON AttachPolicy'{..}-          = object-              (catMaybes-                 [Just ("PolicyId" .= _apPolicyId),-                  Just ("TargetId" .= _apTargetId)])--instance ToPath AttachPolicy where-        toPath = const "/"--instance ToQuery AttachPolicy where-        toQuery = const mempty---- | /See:/ 'attachPolicyResponse' smart constructor.-data AttachPolicyResponse =-  AttachPolicyResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AttachPolicyResponse' with the minimum fields required to make a request.----attachPolicyResponse-    :: AttachPolicyResponse-attachPolicyResponse = AttachPolicyResponse'---instance NFData AttachPolicyResponse where
− gen/Network/AWS/Organizations/CancelHandshake.hs
@@ -1,137 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.CancelHandshake--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Cancels a handshake. Canceling a handshake sets the handshake state to @CANCELED@ .--------- This operation can be called only from the account that originated the handshake. The recipient of the handshake can't cancel it, but can use 'DeclineHandshake' instead. After a handshake is canceled, the recipient can no longer respond to that handshake.------ After you cancel a handshake, it continues to appear in the results of relevant APIs for only 30 days. After that it is deleted.----module Network.AWS.Organizations.CancelHandshake-    (-    -- * Creating a Request-      cancelHandshake-    , CancelHandshake-    -- * Request Lenses-    , chHandshakeId--    -- * Destructuring the Response-    , cancelHandshakeResponse-    , CancelHandshakeResponse-    -- * Response Lenses-    , chrsHandshake-    , chrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'cancelHandshake' smart constructor.-newtype CancelHandshake = CancelHandshake'-  { _chHandshakeId :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CancelHandshake' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'chHandshakeId' - The unique identifier (ID) of the handshake that you want to cancel. You can get the ID from the 'ListHandshakesForOrganization' operation. The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.-cancelHandshake-    :: Text -- ^ 'chHandshakeId'-    -> CancelHandshake-cancelHandshake pHandshakeId_ =-  CancelHandshake' {_chHandshakeId = pHandshakeId_}----- | The unique identifier (ID) of the handshake that you want to cancel. You can get the ID from the 'ListHandshakesForOrganization' operation. The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.-chHandshakeId :: Lens' CancelHandshake Text-chHandshakeId = lens _chHandshakeId (\ s a -> s{_chHandshakeId = a})--instance AWSRequest CancelHandshake where-        type Rs CancelHandshake = CancelHandshakeResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 CancelHandshakeResponse' <$>-                   (x .?> "Handshake") <*> (pure (fromEnum s)))--instance Hashable CancelHandshake where--instance NFData CancelHandshake where--instance ToHeaders CancelHandshake where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.CancelHandshake" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CancelHandshake where-        toJSON CancelHandshake'{..}-          = object-              (catMaybes [Just ("HandshakeId" .= _chHandshakeId)])--instance ToPath CancelHandshake where-        toPath = const "/"--instance ToQuery CancelHandshake where-        toQuery = const mempty---- | /See:/ 'cancelHandshakeResponse' smart constructor.-data CancelHandshakeResponse = CancelHandshakeResponse'-  { _chrsHandshake      :: !(Maybe Handshake)-  , _chrsResponseStatus :: !Int-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CancelHandshakeResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'chrsHandshake' - A structure that contains details about the handshake that you canceled.------ * 'chrsResponseStatus' - -- | The response status code.-cancelHandshakeResponse-    :: Int -- ^ 'chrsResponseStatus'-    -> CancelHandshakeResponse-cancelHandshakeResponse pResponseStatus_ =-  CancelHandshakeResponse'-    {_chrsHandshake = Nothing, _chrsResponseStatus = pResponseStatus_}----- | A structure that contains details about the handshake that you canceled.-chrsHandshake :: Lens' CancelHandshakeResponse (Maybe Handshake)-chrsHandshake = lens _chrsHandshake (\ s a -> s{_chrsHandshake = a})---- | -- | The response status code.-chrsResponseStatus :: Lens' CancelHandshakeResponse Int-chrsResponseStatus = lens _chrsResponseStatus (\ s a -> s{_chrsResponseStatus = a})--instance NFData CancelHandshakeResponse where
− gen/Network/AWS/Organizations/CreateAccount.hs
@@ -1,183 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.CreateAccount--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Creates an AWS account that is automatically a member of the organization whose credentials made the request. This is an asynchronous request that AWS performs in the background. If you want to check the status of the request later, you need the @OperationId@ response element from this operation to provide as a parameter to the 'DescribeCreateAccountStatus' operation.--------- The user who calls the API for an invitation to join must have the @organizations:CreateAccount@ permission. If you enabled all features in the organization, then the user must also have the @iam:CreateServiceLinkedRole@ permission so that Organizations can create the required service-linked role named /OrgsServiceLinkedRoleName/ . For more information, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_integration_services.html#orgs_integration_service-linked-roles AWS Organizations and Service-Linked Roles> in the /AWS Organizations User Guide/ .------ The user in the master account who calls this API must also have the @iam:CreateRole@ permission because AWS Organizations preconfigures the new member account with a role (named @OrganizationAccountAccessRole@ by default) that grants users in the master account administrator permissions in the new member account. Principals in the master account can assume the role. AWS Organizations clones the company name and address information for the new account from the organization's master account.------ This operation can be called only from the organization's master account.------ For more information about creating accounts, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_create.html Creating an AWS Account in Your Organization> in the /AWS Organizations User Guide/ .------ /Important:/ When you create an account in an organization using the AWS Organizations console, API, or CLI commands, the information required for the account to operate as a standalone account, such as a payment method and signing the End User Licence Agreement (EULA) is /not/ automatically collected. If you must remove an account from your organization later, you can do so only after you provide the missing information. Follow the steps at <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info To leave an organization when all required account information has not yet been provided> in the /AWS Organizations User Guide/ .------ This operation can be called only from the organization's master account.------ /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 <https://console.aws.amazon.com/support/home#/ AWS Customer Support> .----module Network.AWS.Organizations.CreateAccount-    (-    -- * Creating a Request-      createAccount-    , CreateAccount-    -- * Request Lenses-    , caIAMUserAccessToBilling-    , caRoleName-    , caEmail-    , caAccountName--    -- * Destructuring the Response-    , createAccountResponse-    , CreateAccountResponse-    -- * Response Lenses-    , carsCreateAccountStatus-    , carsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createAccount' smart constructor.-data CreateAccount = CreateAccount'-  { _caIAMUserAccessToBilling :: !(Maybe IAMUserAccessToBilling)-  , _caRoleName               :: !(Maybe Text)-  , _caEmail                  :: !(Sensitive Text)-  , _caAccountName            :: !(Sensitive Text)-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateAccount' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'caIAMUserAccessToBilling' - If set to @ALLOW@ , the new account enables IAM users to access account billing information /if/ they have the required permissions. If set to @DENY@ , then only the root user of the new account can access account billing information. For more information, see <http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate Activating Access to the Billing and Cost Management Console> in the /AWS Billing and Cost Management User Guide/ . If you do not specify this parameter, the value defaults to ALLOW, and IAM users and roles with the required permissions can access billing information for the new account.------ * 'caRoleName' - (Optional) The name of an IAM role that Organizations automatically preconfigures in the new member account. This role trusts the master account, allowing users in the master account to assume the role, as permitted by the master account administrator. The role has administrator permissions in the new member account. If you do not specify this parameter, the role name defaults to @OrganizationAccountAccessRole@ . For more information about how to use this role to access the member account, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html#orgs_manage_accounts_create-cross-account-role Accessing and Administering the Member Accounts in Your Organization> in the /AWS Organizations User Guide/ , and steps 2 and 3 in <http://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html Tutorial: Delegate Access Across AWS Accounts Using IAM Roles> in the /IAM User Guide/ . The <http://wikipedia.org/wiki/regex regex pattern> that is used to validate this parameter is a string of characters that can consist of uppercase letters, lowercase letters, digits with no spaces, and any of the following characters: =,.@------- * 'caEmail' - The email address of the owner to assign to the new member account. This email address must not already be associated with another AWS account. You must use a valid email address to complete account creation. You cannot access the root user of the account or remove an account that was created with an invalid email address.------ * 'caAccountName' - The friendly name of the member account.-createAccount-    :: Text -- ^ 'caEmail'-    -> Text -- ^ 'caAccountName'-    -> CreateAccount-createAccount pEmail_ pAccountName_ =-  CreateAccount'-    { _caIAMUserAccessToBilling = Nothing-    , _caRoleName = Nothing-    , _caEmail = _Sensitive # pEmail_-    , _caAccountName = _Sensitive # pAccountName_-    }----- | If set to @ALLOW@ , the new account enables IAM users to access account billing information /if/ they have the required permissions. If set to @DENY@ , then only the root user of the new account can access account billing information. For more information, see <http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate Activating Access to the Billing and Cost Management Console> in the /AWS Billing and Cost Management User Guide/ . If you do not specify this parameter, the value defaults to ALLOW, and IAM users and roles with the required permissions can access billing information for the new account.-caIAMUserAccessToBilling :: Lens' CreateAccount (Maybe IAMUserAccessToBilling)-caIAMUserAccessToBilling = lens _caIAMUserAccessToBilling (\ s a -> s{_caIAMUserAccessToBilling = a})---- | (Optional) The name of an IAM role that Organizations automatically preconfigures in the new member account. This role trusts the master account, allowing users in the master account to assume the role, as permitted by the master account administrator. The role has administrator permissions in the new member account. If you do not specify this parameter, the role name defaults to @OrganizationAccountAccessRole@ . For more information about how to use this role to access the member account, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html#orgs_manage_accounts_create-cross-account-role Accessing and Administering the Member Accounts in Your Organization> in the /AWS Organizations User Guide/ , and steps 2 and 3 in <http://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html Tutorial: Delegate Access Across AWS Accounts Using IAM Roles> in the /IAM User Guide/ . The <http://wikipedia.org/wiki/regex regex pattern> that is used to validate this parameter is a string of characters that can consist of uppercase letters, lowercase letters, digits with no spaces, and any of the following characters: =,.@--caRoleName :: Lens' CreateAccount (Maybe Text)-caRoleName = lens _caRoleName (\ s a -> s{_caRoleName = a})---- | The email address of the owner to assign to the new member account. This email address must not already be associated with another AWS account. You must use a valid email address to complete account creation. You cannot access the root user of the account or remove an account that was created with an invalid email address.-caEmail :: Lens' CreateAccount Text-caEmail = lens _caEmail (\ s a -> s{_caEmail = a}) . _Sensitive---- | The friendly name of the member account.-caAccountName :: Lens' CreateAccount Text-caAccountName = lens _caAccountName (\ s a -> s{_caAccountName = a}) . _Sensitive--instance AWSRequest CreateAccount where-        type Rs CreateAccount = CreateAccountResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 CreateAccountResponse' <$>-                   (x .?> "CreateAccountStatus") <*>-                     (pure (fromEnum s)))--instance Hashable CreateAccount where--instance NFData CreateAccount where--instance ToHeaders CreateAccount where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.CreateAccount" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateAccount where-        toJSON CreateAccount'{..}-          = object-              (catMaybes-                 [("IamUserAccessToBilling" .=) <$>-                    _caIAMUserAccessToBilling,-                  ("RoleName" .=) <$> _caRoleName,-                  Just ("Email" .= _caEmail),-                  Just ("AccountName" .= _caAccountName)])--instance ToPath CreateAccount where-        toPath = const "/"--instance ToQuery CreateAccount where-        toQuery = const mempty---- | /See:/ 'createAccountResponse' smart constructor.-data CreateAccountResponse = CreateAccountResponse'-  { _carsCreateAccountStatus :: !(Maybe CreateAccountStatus)-  , _carsResponseStatus      :: !Int-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateAccountResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'carsCreateAccountStatus' - A structure that contains details about the request to create an account. This response structure might not be fully populated when you first receive it because account creation is an asynchronous process. You can pass the returned CreateAccountStatus ID as a parameter to @'DescribeCreateAccountStatus' @ to get status about the progress of the request at later times.------ * 'carsResponseStatus' - -- | The response status code.-createAccountResponse-    :: Int -- ^ 'carsResponseStatus'-    -> CreateAccountResponse-createAccountResponse pResponseStatus_ =-  CreateAccountResponse'-    {_carsCreateAccountStatus = Nothing, _carsResponseStatus = pResponseStatus_}----- | A structure that contains details about the request to create an account. This response structure might not be fully populated when you first receive it because account creation is an asynchronous process. You can pass the returned CreateAccountStatus ID as a parameter to @'DescribeCreateAccountStatus' @ to get status about the progress of the request at later times.-carsCreateAccountStatus :: Lens' CreateAccountResponse (Maybe CreateAccountStatus)-carsCreateAccountStatus = lens _carsCreateAccountStatus (\ s a -> s{_carsCreateAccountStatus = a})---- | -- | The response status code.-carsResponseStatus :: Lens' CreateAccountResponse Int-carsResponseStatus = lens _carsResponseStatus (\ s a -> s{_carsResponseStatus = a})--instance NFData CreateAccountResponse where
− gen/Network/AWS/Organizations/CreateOrganization.hs
@@ -1,136 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.CreateOrganization--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Creates an AWS organization. The account whose user is calling the CreateOrganization operation automatically becomes the <http://docs.aws.amazon.com/IAM/latest/UserGuide/orgs_getting-started_concepts.html#account master account> of the new organization.--------- This operation must be called using credentials from the account that is to become the new organization's master account. The principal must also have the relevant IAM permissions.------ By default (or if you set the @FeatureSet@ parameter to @ALL@ ), the new organization is created with all features enabled and service control policies automatically enabled in the root. If you instead choose to create the organization supporting only the consolidated billing features by setting the @FeatureSet@ parameter to @CONSOLIDATED_BILLING"@ , then no policy types are enabled by default and you cannot use organization policies.----module Network.AWS.Organizations.CreateOrganization-    (-    -- * Creating a Request-      createOrganization-    , CreateOrganization-    -- * Request Lenses-    , coFeatureSet--    -- * Destructuring the Response-    , createOrganizationResponse-    , CreateOrganizationResponse-    -- * Response Lenses-    , corsOrganization-    , corsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createOrganization' smart constructor.-newtype CreateOrganization = CreateOrganization'-  { _coFeatureSet :: Maybe OrganizationFeatureSet-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateOrganization' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'coFeatureSet' - Specifies the feature set supported by the new organization. Each feature set supports different levels of functionality.     * /CONSOLIDATED_BILLING/ : All member accounts have their bills consolidated to and paid by the master account. For more information, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set-cb-only Consolidated Billing> in the /AWS Organizations User Guide/ .     * /ALL/ : In addition to all the features supported by the consolidated billing feature set, the master account can also apply any type of policy to any member account in the organization. For more information, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set-all All features> in the /AWS Organizations User Guide/ .-createOrganization-    :: CreateOrganization-createOrganization = CreateOrganization' {_coFeatureSet = Nothing}----- | Specifies the feature set supported by the new organization. Each feature set supports different levels of functionality.     * /CONSOLIDATED_BILLING/ : All member accounts have their bills consolidated to and paid by the master account. For more information, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set-cb-only Consolidated Billing> in the /AWS Organizations User Guide/ .     * /ALL/ : In addition to all the features supported by the consolidated billing feature set, the master account can also apply any type of policy to any member account in the organization. For more information, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set-all All features> in the /AWS Organizations User Guide/ .-coFeatureSet :: Lens' CreateOrganization (Maybe OrganizationFeatureSet)-coFeatureSet = lens _coFeatureSet (\ s a -> s{_coFeatureSet = a})--instance AWSRequest CreateOrganization where-        type Rs CreateOrganization =-             CreateOrganizationResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 CreateOrganizationResponse' <$>-                   (x .?> "Organization") <*> (pure (fromEnum s)))--instance Hashable CreateOrganization where--instance NFData CreateOrganization where--instance ToHeaders CreateOrganization where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.CreateOrganization" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateOrganization where-        toJSON CreateOrganization'{..}-          = object-              (catMaybes [("FeatureSet" .=) <$> _coFeatureSet])--instance ToPath CreateOrganization where-        toPath = const "/"--instance ToQuery CreateOrganization where-        toQuery = const mempty---- | /See:/ 'createOrganizationResponse' smart constructor.-data CreateOrganizationResponse = CreateOrganizationResponse'-  { _corsOrganization   :: !(Maybe Organization)-  , _corsResponseStatus :: !Int-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateOrganizationResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'corsOrganization' - A structure that contains details about the newly created organization.------ * 'corsResponseStatus' - -- | The response status code.-createOrganizationResponse-    :: Int -- ^ 'corsResponseStatus'-    -> CreateOrganizationResponse-createOrganizationResponse pResponseStatus_ =-  CreateOrganizationResponse'-    {_corsOrganization = Nothing, _corsResponseStatus = pResponseStatus_}----- | A structure that contains details about the newly created organization.-corsOrganization :: Lens' CreateOrganizationResponse (Maybe Organization)-corsOrganization = lens _corsOrganization (\ s a -> s{_corsOrganization = a})---- | -- | The response status code.-corsResponseStatus :: Lens' CreateOrganizationResponse Int-corsResponseStatus = lens _corsResponseStatus (\ s a -> s{_corsResponseStatus = a})--instance NFData CreateOrganizationResponse where
− gen/Network/AWS/Organizations/CreateOrganizationalUnit.hs
@@ -1,152 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.CreateOrganizationalUnit--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Creates an organizational unit (OU) within a root or parent OU. An OU is a container for accounts that enables you to organize your accounts to apply policies according to your business requirements. The number of levels deep that you can nest OUs is dependent upon the policy types enabled for that root. For service control policies, the limit is five.--------- For more information about OUs, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_ous.html Managing Organizational Units> in the /AWS Organizations User Guide/ .------ This operation can be called only from the organization's master account.----module Network.AWS.Organizations.CreateOrganizationalUnit-    (-    -- * Creating a Request-      createOrganizationalUnit-    , CreateOrganizationalUnit-    -- * Request Lenses-    , couParentId-    , couName--    -- * Destructuring the Response-    , createOrganizationalUnitResponse-    , CreateOrganizationalUnitResponse-    -- * Response Lenses-    , coursOrganizationalUnit-    , coursResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createOrganizationalUnit' smart constructor.-data CreateOrganizationalUnit = CreateOrganizationalUnit'-  { _couParentId :: !Text-  , _couName     :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateOrganizationalUnit' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'couParentId' - The unique identifier (ID) of the parent root or OU in which you want to create the new OU. The <http://wikipedia.org/wiki/regex 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.------ * 'couName' - The friendly name to assign to the new OU.-createOrganizationalUnit-    :: Text -- ^ 'couParentId'-    -> Text -- ^ 'couName'-    -> CreateOrganizationalUnit-createOrganizationalUnit pParentId_ pName_ =-  CreateOrganizationalUnit' {_couParentId = pParentId_, _couName = pName_}----- | The unique identifier (ID) of the parent root or OU in which you want to create the new OU. The <http://wikipedia.org/wiki/regex 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.-couParentId :: Lens' CreateOrganizationalUnit Text-couParentId = lens _couParentId (\ s a -> s{_couParentId = a})---- | The friendly name to assign to the new OU.-couName :: Lens' CreateOrganizationalUnit Text-couName = lens _couName (\ s a -> s{_couName = a})--instance AWSRequest CreateOrganizationalUnit where-        type Rs CreateOrganizationalUnit =-             CreateOrganizationalUnitResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 CreateOrganizationalUnitResponse' <$>-                   (x .?> "OrganizationalUnit") <*> (pure (fromEnum s)))--instance Hashable CreateOrganizationalUnit where--instance NFData CreateOrganizationalUnit where--instance ToHeaders CreateOrganizationalUnit where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.CreateOrganizationalUnit"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateOrganizationalUnit where-        toJSON CreateOrganizationalUnit'{..}-          = object-              (catMaybes-                 [Just ("ParentId" .= _couParentId),-                  Just ("Name" .= _couName)])--instance ToPath CreateOrganizationalUnit where-        toPath = const "/"--instance ToQuery CreateOrganizationalUnit where-        toQuery = const mempty---- | /See:/ 'createOrganizationalUnitResponse' smart constructor.-data CreateOrganizationalUnitResponse = CreateOrganizationalUnitResponse'-  { _coursOrganizationalUnit :: !(Maybe OrganizationalUnit)-  , _coursResponseStatus     :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateOrganizationalUnitResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'coursOrganizationalUnit' - A structure that contains details about the newly created OU.------ * 'coursResponseStatus' - -- | The response status code.-createOrganizationalUnitResponse-    :: Int -- ^ 'coursResponseStatus'-    -> CreateOrganizationalUnitResponse-createOrganizationalUnitResponse pResponseStatus_ =-  CreateOrganizationalUnitResponse'-    { _coursOrganizationalUnit = Nothing-    , _coursResponseStatus = pResponseStatus_-    }----- | A structure that contains details about the newly created OU.-coursOrganizationalUnit :: Lens' CreateOrganizationalUnitResponse (Maybe OrganizationalUnit)-coursOrganizationalUnit = lens _coursOrganizationalUnit (\ s a -> s{_coursOrganizationalUnit = a})---- | -- | The response status code.-coursResponseStatus :: Lens' CreateOrganizationalUnitResponse Int-coursResponseStatus = lens _coursResponseStatus (\ s a -> s{_coursResponseStatus = a})--instance NFData CreateOrganizationalUnitResponse-         where
− gen/Network/AWS/Organizations/CreatePolicy.hs
@@ -1,172 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.CreatePolicy--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a policy of a specified type that you can attach to a root, an organizational unit (OU), or an individual AWS account.--------- For more information about policies and their use, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html Managing Organization Policies> .------ This operation can be called only from the organization's master account.----module Network.AWS.Organizations.CreatePolicy-    (-    -- * Creating a Request-      createPolicy-    , CreatePolicy-    -- * Request Lenses-    , cpContent-    , cpDescription-    , cpName-    , cpType--    -- * Destructuring the Response-    , createPolicyResponse-    , CreatePolicyResponse-    -- * Response Lenses-    , cprsPolicy-    , cprsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createPolicy' smart constructor.-data CreatePolicy = CreatePolicy'-  { _cpContent     :: !Text-  , _cpDescription :: !Text-  , _cpName        :: !Text-  , _cpType        :: !PolicyType-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreatePolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cpContent' - The policy content to add to the new policy. For example, if you create a <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html service control policy> (SCP), this string must be JSON text that specifies the permissions that admins in attached accounts can delegate to their users, groups, and roles. For more information about the SCP syntax, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html Service Control Policy Syntax> in the /AWS Organizations User Guide/ .------ * 'cpDescription' - An optional description to assign to the policy.------ * 'cpName' - The friendly name to assign to the policy. The <http://wikipedia.org/wiki/regex regex pattern> that is used to validate this parameter is a string of any of the characters in the ASCII character range.------ * 'cpType' - The type of policy to create.-createPolicy-    :: Text -- ^ 'cpContent'-    -> Text -- ^ 'cpDescription'-    -> Text -- ^ 'cpName'-    -> PolicyType -- ^ 'cpType'-    -> CreatePolicy-createPolicy pContent_ pDescription_ pName_ pType_ =-  CreatePolicy'-    { _cpContent = pContent_-    , _cpDescription = pDescription_-    , _cpName = pName_-    , _cpType = pType_-    }----- | The policy content to add to the new policy. For example, if you create a <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html service control policy> (SCP), this string must be JSON text that specifies the permissions that admins in attached accounts can delegate to their users, groups, and roles. For more information about the SCP syntax, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html Service Control Policy Syntax> in the /AWS Organizations User Guide/ .-cpContent :: Lens' CreatePolicy Text-cpContent = lens _cpContent (\ s a -> s{_cpContent = a})---- | An optional description to assign to the policy.-cpDescription :: Lens' CreatePolicy Text-cpDescription = lens _cpDescription (\ s a -> s{_cpDescription = a})---- | The friendly name to assign to the policy. The <http://wikipedia.org/wiki/regex regex pattern> that is used to validate this parameter is a string of any of the characters in the ASCII character range.-cpName :: Lens' CreatePolicy Text-cpName = lens _cpName (\ s a -> s{_cpName = a})---- | The type of policy to create.-cpType :: Lens' CreatePolicy PolicyType-cpType = lens _cpType (\ s a -> s{_cpType = a})--instance AWSRequest CreatePolicy where-        type Rs CreatePolicy = CreatePolicyResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 CreatePolicyResponse' <$>-                   (x .?> "Policy") <*> (pure (fromEnum s)))--instance Hashable CreatePolicy where--instance NFData CreatePolicy where--instance ToHeaders CreatePolicy where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.CreatePolicy" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreatePolicy where-        toJSON CreatePolicy'{..}-          = object-              (catMaybes-                 [Just ("Content" .= _cpContent),-                  Just ("Description" .= _cpDescription),-                  Just ("Name" .= _cpName), Just ("Type" .= _cpType)])--instance ToPath CreatePolicy where-        toPath = const "/"--instance ToQuery CreatePolicy where-        toQuery = const mempty---- | /See:/ 'createPolicyResponse' smart constructor.-data CreatePolicyResponse = CreatePolicyResponse'-  { _cprsPolicy         :: !(Maybe Policy)-  , _cprsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreatePolicyResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cprsPolicy' - A structure that contains details about the newly created policy.------ * 'cprsResponseStatus' - -- | The response status code.-createPolicyResponse-    :: Int -- ^ 'cprsResponseStatus'-    -> CreatePolicyResponse-createPolicyResponse pResponseStatus_ =-  CreatePolicyResponse'-    {_cprsPolicy = Nothing, _cprsResponseStatus = pResponseStatus_}----- | A structure that contains details about the newly created policy.-cprsPolicy :: Lens' CreatePolicyResponse (Maybe Policy)-cprsPolicy = lens _cprsPolicy (\ s a -> s{_cprsPolicy = a})---- | -- | The response status code.-cprsResponseStatus :: Lens' CreatePolicyResponse Int-cprsResponseStatus = lens _cprsResponseStatus (\ s a -> s{_cprsResponseStatus = a})--instance NFData CreatePolicyResponse where
− gen/Network/AWS/Organizations/DeclineHandshake.hs
@@ -1,137 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.DeclineHandshake--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Declines a handshake request. This sets the handshake state to @DECLINED@ and effectively deactivates the request.--------- This operation can be called only from the account that received the handshake. The originator of the handshake can use 'CancelHandshake' instead. The originator can't reactivate a declined request, but can re-initiate the process with a new handshake request.------ After you decline a handshake, it continues to appear in the results of relevant APIs for only 30 days. After that it is deleted.----module Network.AWS.Organizations.DeclineHandshake-    (-    -- * Creating a Request-      declineHandshake-    , DeclineHandshake-    -- * Request Lenses-    , dHandshakeId--    -- * Destructuring the Response-    , declineHandshakeResponse-    , DeclineHandshakeResponse-    -- * Response Lenses-    , drsHandshake-    , drsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'declineHandshake' smart constructor.-newtype DeclineHandshake = DeclineHandshake'-  { _dHandshakeId :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeclineHandshake' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dHandshakeId' - The unique identifier (ID) of the handshake that you want to decline. You can get the ID from the 'ListHandshakesForAccount' operation. The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.-declineHandshake-    :: Text -- ^ 'dHandshakeId'-    -> DeclineHandshake-declineHandshake pHandshakeId_ =-  DeclineHandshake' {_dHandshakeId = pHandshakeId_}----- | The unique identifier (ID) of the handshake that you want to decline. You can get the ID from the 'ListHandshakesForAccount' operation. The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.-dHandshakeId :: Lens' DeclineHandshake Text-dHandshakeId = lens _dHandshakeId (\ s a -> s{_dHandshakeId = a})--instance AWSRequest DeclineHandshake where-        type Rs DeclineHandshake = DeclineHandshakeResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 DeclineHandshakeResponse' <$>-                   (x .?> "Handshake") <*> (pure (fromEnum s)))--instance Hashable DeclineHandshake where--instance NFData DeclineHandshake where--instance ToHeaders DeclineHandshake where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.DeclineHandshake" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeclineHandshake where-        toJSON DeclineHandshake'{..}-          = object-              (catMaybes [Just ("HandshakeId" .= _dHandshakeId)])--instance ToPath DeclineHandshake where-        toPath = const "/"--instance ToQuery DeclineHandshake where-        toQuery = const mempty---- | /See:/ 'declineHandshakeResponse' smart constructor.-data DeclineHandshakeResponse = DeclineHandshakeResponse'-  { _drsHandshake      :: !(Maybe Handshake)-  , _drsResponseStatus :: !Int-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DeclineHandshakeResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'drsHandshake' - A structure that contains details about the declined handshake. The state is updated to show the value @DECLINED@ .------ * 'drsResponseStatus' - -- | The response status code.-declineHandshakeResponse-    :: Int -- ^ 'drsResponseStatus'-    -> DeclineHandshakeResponse-declineHandshakeResponse pResponseStatus_ =-  DeclineHandshakeResponse'-    {_drsHandshake = Nothing, _drsResponseStatus = pResponseStatus_}----- | A structure that contains details about the declined handshake. The state is updated to show the value @DECLINED@ .-drsHandshake :: Lens' DeclineHandshakeResponse (Maybe Handshake)-drsHandshake = lens _drsHandshake (\ s a -> s{_drsHandshake = a})---- | -- | The response status code.-drsResponseStatus :: Lens' DeclineHandshakeResponse Int-drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a})--instance NFData DeclineHandshakeResponse where
− gen/Network/AWS/Organizations/DeleteOrganization.hs
@@ -1,97 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.DeleteOrganization--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes the organization. You can delete an organization only by using credentials from the master account. The organization must be empty of member accounts, OUs, and policies.-------module Network.AWS.Organizations.DeleteOrganization-    (-    -- * Creating a Request-      deleteOrganization-    , DeleteOrganization--    -- * Destructuring the Response-    , deleteOrganizationResponse-    , DeleteOrganizationResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteOrganization' smart constructor.-data DeleteOrganization =-  DeleteOrganization'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteOrganization' with the minimum fields required to make a request.----deleteOrganization-    :: DeleteOrganization-deleteOrganization = DeleteOrganization'---instance AWSRequest DeleteOrganization where-        type Rs DeleteOrganization =-             DeleteOrganizationResponse-        request = postJSON organizations-        response = receiveNull DeleteOrganizationResponse'--instance Hashable DeleteOrganization where--instance NFData DeleteOrganization where--instance ToHeaders DeleteOrganization where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.DeleteOrganization" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteOrganization where-        toJSON = const (Object mempty)--instance ToPath DeleteOrganization where-        toPath = const "/"--instance ToQuery DeleteOrganization where-        toQuery = const mempty---- | /See:/ 'deleteOrganizationResponse' smart constructor.-data DeleteOrganizationResponse =-  DeleteOrganizationResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteOrganizationResponse' with the minimum fields required to make a request.----deleteOrganizationResponse-    :: DeleteOrganizationResponse-deleteOrganizationResponse = DeleteOrganizationResponse'---instance NFData DeleteOrganizationResponse where
− gen/Network/AWS/Organizations/DeleteOrganizationalUnit.hs
@@ -1,116 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.DeleteOrganizationalUnit--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes an organizational unit from a root or another OU. You must first remove all accounts and child OUs from the OU that you want to delete.--------- This operation can be called only from the organization's master account.----module Network.AWS.Organizations.DeleteOrganizationalUnit-    (-    -- * Creating a Request-      deleteOrganizationalUnit-    , DeleteOrganizationalUnit-    -- * Request Lenses-    , dOrganizationalUnitId--    -- * Destructuring the Response-    , deleteOrganizationalUnitResponse-    , DeleteOrganizationalUnitResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteOrganizationalUnit' smart constructor.-newtype DeleteOrganizationalUnit = DeleteOrganizationalUnit'-  { _dOrganizationalUnitId :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteOrganizationalUnit' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dOrganizationalUnitId' - The unique identifier (ID) of the organizational unit that you want to delete. You can get the ID from the 'ListOrganizationalUnitsForParent' operation. The <http://wikipedia.org/wiki/regex 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.-deleteOrganizationalUnit-    :: Text -- ^ 'dOrganizationalUnitId'-    -> DeleteOrganizationalUnit-deleteOrganizationalUnit pOrganizationalUnitId_ =-  DeleteOrganizationalUnit' {_dOrganizationalUnitId = pOrganizationalUnitId_}----- | The unique identifier (ID) of the organizational unit that you want to delete. You can get the ID from the 'ListOrganizationalUnitsForParent' operation. The <http://wikipedia.org/wiki/regex 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.-dOrganizationalUnitId :: Lens' DeleteOrganizationalUnit Text-dOrganizationalUnitId = lens _dOrganizationalUnitId (\ s a -> s{_dOrganizationalUnitId = a})--instance AWSRequest DeleteOrganizationalUnit where-        type Rs DeleteOrganizationalUnit =-             DeleteOrganizationalUnitResponse-        request = postJSON organizations-        response-          = receiveNull DeleteOrganizationalUnitResponse'--instance Hashable DeleteOrganizationalUnit where--instance NFData DeleteOrganizationalUnit where--instance ToHeaders DeleteOrganizationalUnit where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.DeleteOrganizationalUnit"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteOrganizationalUnit where-        toJSON DeleteOrganizationalUnit'{..}-          = object-              (catMaybes-                 [Just-                    ("OrganizationalUnitId" .= _dOrganizationalUnitId)])--instance ToPath DeleteOrganizationalUnit where-        toPath = const "/"--instance ToQuery DeleteOrganizationalUnit where-        toQuery = const mempty---- | /See:/ 'deleteOrganizationalUnitResponse' smart constructor.-data DeleteOrganizationalUnitResponse =-  DeleteOrganizationalUnitResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteOrganizationalUnitResponse' with the minimum fields required to make a request.----deleteOrganizationalUnitResponse-    :: DeleteOrganizationalUnitResponse-deleteOrganizationalUnitResponse = DeleteOrganizationalUnitResponse'---instance NFData DeleteOrganizationalUnitResponse-         where
− gen/Network/AWS/Organizations/DeletePolicy.hs
@@ -1,110 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.DeletePolicy--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes the specified policy from your organization. Before you perform this operation, you must first detach the policy from all OUs, roots, and accounts.--------- This operation can be called only from the organization's master account.----module Network.AWS.Organizations.DeletePolicy-    (-    -- * Creating a Request-      deletePolicy-    , DeletePolicy-    -- * Request Lenses-    , dPolicyId--    -- * Destructuring the Response-    , deletePolicyResponse-    , DeletePolicyResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deletePolicy' smart constructor.-newtype DeletePolicy = DeletePolicy'-  { _dPolicyId :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeletePolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dPolicyId' - The unique identifier (ID) of the policy that you want to delete. You can get the ID from the 'ListPolicies' or 'ListPoliciesForTarget' operations. The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.-deletePolicy-    :: Text -- ^ 'dPolicyId'-    -> DeletePolicy-deletePolicy pPolicyId_ = DeletePolicy' {_dPolicyId = pPolicyId_}----- | The unique identifier (ID) of the policy that you want to delete. You can get the ID from the 'ListPolicies' or 'ListPoliciesForTarget' operations. The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.-dPolicyId :: Lens' DeletePolicy Text-dPolicyId = lens _dPolicyId (\ s a -> s{_dPolicyId = a})--instance AWSRequest DeletePolicy where-        type Rs DeletePolicy = DeletePolicyResponse-        request = postJSON organizations-        response = receiveNull DeletePolicyResponse'--instance Hashable DeletePolicy where--instance NFData DeletePolicy where--instance ToHeaders DeletePolicy where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.DeletePolicy" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeletePolicy where-        toJSON DeletePolicy'{..}-          = object-              (catMaybes [Just ("PolicyId" .= _dPolicyId)])--instance ToPath DeletePolicy where-        toPath = const "/"--instance ToQuery DeletePolicy where-        toQuery = const mempty---- | /See:/ 'deletePolicyResponse' smart constructor.-data DeletePolicyResponse =-  DeletePolicyResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeletePolicyResponse' with the minimum fields required to make a request.----deletePolicyResponse-    :: DeletePolicyResponse-deletePolicyResponse = DeletePolicyResponse'---instance NFData DeletePolicyResponse where
− gen/Network/AWS/Organizations/DescribeAccount.hs
@@ -1,134 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.DescribeAccount--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Retrieves Organizations-related information about the specified account.--------- This operation can be called only from the organization's master account.----module Network.AWS.Organizations.DescribeAccount-    (-    -- * Creating a Request-      describeAccount-    , DescribeAccount-    -- * Request Lenses-    , daAccountId--    -- * Destructuring the Response-    , describeAccountResponse-    , DescribeAccountResponse-    -- * Response Lenses-    , darsAccount-    , darsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeAccount' smart constructor.-newtype DescribeAccount = DescribeAccount'-  { _daAccountId :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeAccount' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'daAccountId' - The unique identifier (ID) of the AWS account that you want information about. You can get the ID from the 'ListAccounts' or 'ListAccountsForParent' operations. The <http://wikipedia.org/wiki/regex regex pattern> for an account ID string requires exactly 12 digits.-describeAccount-    :: Text -- ^ 'daAccountId'-    -> DescribeAccount-describeAccount pAccountId_ = DescribeAccount' {_daAccountId = pAccountId_}----- | The unique identifier (ID) of the AWS account that you want information about. You can get the ID from the 'ListAccounts' or 'ListAccountsForParent' operations. The <http://wikipedia.org/wiki/regex regex pattern> for an account ID string requires exactly 12 digits.-daAccountId :: Lens' DescribeAccount Text-daAccountId = lens _daAccountId (\ s a -> s{_daAccountId = a})--instance AWSRequest DescribeAccount where-        type Rs DescribeAccount = DescribeAccountResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 DescribeAccountResponse' <$>-                   (x .?> "Account") <*> (pure (fromEnum s)))--instance Hashable DescribeAccount where--instance NFData DescribeAccount where--instance ToHeaders DescribeAccount where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.DescribeAccount" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeAccount where-        toJSON DescribeAccount'{..}-          = object-              (catMaybes [Just ("AccountId" .= _daAccountId)])--instance ToPath DescribeAccount where-        toPath = const "/"--instance ToQuery DescribeAccount where-        toQuery = const mempty---- | /See:/ 'describeAccountResponse' smart constructor.-data DescribeAccountResponse = DescribeAccountResponse'-  { _darsAccount        :: !(Maybe Account)-  , _darsResponseStatus :: !Int-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeAccountResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'darsAccount' - A structure that contains information about the requested account.------ * 'darsResponseStatus' - -- | The response status code.-describeAccountResponse-    :: Int -- ^ 'darsResponseStatus'-    -> DescribeAccountResponse-describeAccountResponse pResponseStatus_ =-  DescribeAccountResponse'-    {_darsAccount = Nothing, _darsResponseStatus = pResponseStatus_}----- | A structure that contains information about the requested account.-darsAccount :: Lens' DescribeAccountResponse (Maybe Account)-darsAccount = lens _darsAccount (\ s a -> s{_darsAccount = a})---- | -- | The response status code.-darsResponseStatus :: Lens' DescribeAccountResponse Int-darsResponseStatus = lens _darsResponseStatus (\ s a -> s{_darsResponseStatus = a})--instance NFData DescribeAccountResponse where
− gen/Network/AWS/Organizations/DescribeCreateAccountStatus.hs
@@ -1,144 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.DescribeCreateAccountStatus--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Retrieves the current status of an asynchronous request to create an account.--------- This operation can be called only from the organization's master account.----module Network.AWS.Organizations.DescribeCreateAccountStatus-    (-    -- * Creating a Request-      describeCreateAccountStatus-    , DescribeCreateAccountStatus-    -- * Request Lenses-    , dcasCreateAccountRequestId--    -- * Destructuring the Response-    , describeCreateAccountStatusResponse-    , DescribeCreateAccountStatusResponse-    -- * Response Lenses-    , dcasrsCreateAccountStatus-    , dcasrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeCreateAccountStatus' smart constructor.-newtype DescribeCreateAccountStatus = DescribeCreateAccountStatus'-  { _dcasCreateAccountRequestId :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeCreateAccountStatus' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dcasCreateAccountRequestId' - Specifies the @operationId@ that uniquely identifies the request. You can get the ID from the response to an earlier 'CreateAccount' request, or from the 'ListCreateAccountStatus' operation. The <http://wikipedia.org/wiki/regex regex pattern> for an create account request ID string requires "car-" followed by from 8 to 32 lower-case letters or digits.-describeCreateAccountStatus-    :: Text -- ^ 'dcasCreateAccountRequestId'-    -> DescribeCreateAccountStatus-describeCreateAccountStatus pCreateAccountRequestId_ =-  DescribeCreateAccountStatus'-    {_dcasCreateAccountRequestId = pCreateAccountRequestId_}----- | Specifies the @operationId@ that uniquely identifies the request. You can get the ID from the response to an earlier 'CreateAccount' request, or from the 'ListCreateAccountStatus' operation. The <http://wikipedia.org/wiki/regex regex pattern> for an create account request ID string requires "car-" followed by from 8 to 32 lower-case letters or digits.-dcasCreateAccountRequestId :: Lens' DescribeCreateAccountStatus Text-dcasCreateAccountRequestId = lens _dcasCreateAccountRequestId (\ s a -> s{_dcasCreateAccountRequestId = a})--instance AWSRequest DescribeCreateAccountStatus where-        type Rs DescribeCreateAccountStatus =-             DescribeCreateAccountStatusResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 DescribeCreateAccountStatusResponse' <$>-                   (x .?> "CreateAccountStatus") <*>-                     (pure (fromEnum s)))--instance Hashable DescribeCreateAccountStatus where--instance NFData DescribeCreateAccountStatus where--instance ToHeaders DescribeCreateAccountStatus where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.DescribeCreateAccountStatus"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeCreateAccountStatus where-        toJSON DescribeCreateAccountStatus'{..}-          = object-              (catMaybes-                 [Just-                    ("CreateAccountRequestId" .=-                       _dcasCreateAccountRequestId)])--instance ToPath DescribeCreateAccountStatus where-        toPath = const "/"--instance ToQuery DescribeCreateAccountStatus where-        toQuery = const mempty---- | /See:/ 'describeCreateAccountStatusResponse' smart constructor.-data DescribeCreateAccountStatusResponse = DescribeCreateAccountStatusResponse'-  { _dcasrsCreateAccountStatus :: !(Maybe CreateAccountStatus)-  , _dcasrsResponseStatus      :: !Int-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeCreateAccountStatusResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dcasrsCreateAccountStatus' - A structure that contains the current status of an account creation request.------ * 'dcasrsResponseStatus' - -- | The response status code.-describeCreateAccountStatusResponse-    :: Int -- ^ 'dcasrsResponseStatus'-    -> DescribeCreateAccountStatusResponse-describeCreateAccountStatusResponse pResponseStatus_ =-  DescribeCreateAccountStatusResponse'-    { _dcasrsCreateAccountStatus = Nothing-    , _dcasrsResponseStatus = pResponseStatus_-    }----- | A structure that contains the current status of an account creation request.-dcasrsCreateAccountStatus :: Lens' DescribeCreateAccountStatusResponse (Maybe CreateAccountStatus)-dcasrsCreateAccountStatus = lens _dcasrsCreateAccountStatus (\ s a -> s{_dcasrsCreateAccountStatus = a})---- | -- | The response status code.-dcasrsResponseStatus :: Lens' DescribeCreateAccountStatusResponse Int-dcasrsResponseStatus = lens _dcasrsResponseStatus (\ s a -> s{_dcasrsResponseStatus = a})--instance NFData DescribeCreateAccountStatusResponse-         where
− gen/Network/AWS/Organizations/DescribeHandshake.hs
@@ -1,137 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.DescribeHandshake--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Retrieves information about a previously requested handshake. The handshake ID comes from the response to the original 'InviteAccountToOrganization' operation that generated the handshake.--------- You can access handshakes that are ACCEPTED, DECLINED, or CANCELED for only 30 days after they change to that state. They are then deleted and no longer accessible.------ This operation can be called from any account in the organization.----module Network.AWS.Organizations.DescribeHandshake-    (-    -- * Creating a Request-      describeHandshake-    , DescribeHandshake-    -- * Request Lenses-    , dhHandshakeId--    -- * Destructuring the Response-    , describeHandshakeResponse-    , DescribeHandshakeResponse-    -- * Response Lenses-    , dhrsHandshake-    , dhrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeHandshake' smart constructor.-newtype DescribeHandshake = DescribeHandshake'-  { _dhHandshakeId :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeHandshake' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dhHandshakeId' - The unique identifier (ID) of the handshake that you want information about. You can get the ID from the original call to 'InviteAccountToOrganization' , or from a call to 'ListHandshakesForAccount' or 'ListHandshakesForOrganization' . The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.-describeHandshake-    :: Text -- ^ 'dhHandshakeId'-    -> DescribeHandshake-describeHandshake pHandshakeId_ =-  DescribeHandshake' {_dhHandshakeId = pHandshakeId_}----- | The unique identifier (ID) of the handshake that you want information about. You can get the ID from the original call to 'InviteAccountToOrganization' , or from a call to 'ListHandshakesForAccount' or 'ListHandshakesForOrganization' . The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.-dhHandshakeId :: Lens' DescribeHandshake Text-dhHandshakeId = lens _dhHandshakeId (\ s a -> s{_dhHandshakeId = a})--instance AWSRequest DescribeHandshake where-        type Rs DescribeHandshake = DescribeHandshakeResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 DescribeHandshakeResponse' <$>-                   (x .?> "Handshake") <*> (pure (fromEnum s)))--instance Hashable DescribeHandshake where--instance NFData DescribeHandshake where--instance ToHeaders DescribeHandshake where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.DescribeHandshake" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeHandshake where-        toJSON DescribeHandshake'{..}-          = object-              (catMaybes [Just ("HandshakeId" .= _dhHandshakeId)])--instance ToPath DescribeHandshake where-        toPath = const "/"--instance ToQuery DescribeHandshake where-        toQuery = const mempty---- | /See:/ 'describeHandshakeResponse' smart constructor.-data DescribeHandshakeResponse = DescribeHandshakeResponse'-  { _dhrsHandshake      :: !(Maybe Handshake)-  , _dhrsResponseStatus :: !Int-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeHandshakeResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dhrsHandshake' - A structure that contains information about the specified handshake.------ * 'dhrsResponseStatus' - -- | The response status code.-describeHandshakeResponse-    :: Int -- ^ 'dhrsResponseStatus'-    -> DescribeHandshakeResponse-describeHandshakeResponse pResponseStatus_ =-  DescribeHandshakeResponse'-    {_dhrsHandshake = Nothing, _dhrsResponseStatus = pResponseStatus_}----- | A structure that contains information about the specified handshake.-dhrsHandshake :: Lens' DescribeHandshakeResponse (Maybe Handshake)-dhrsHandshake = lens _dhrsHandshake (\ s a -> s{_dhrsHandshake = a})---- | -- | The response status code.-dhrsResponseStatus :: Lens' DescribeHandshakeResponse Int-dhrsResponseStatus = lens _dhrsResponseStatus (\ s a -> s{_dhrsResponseStatus = a})--instance NFData DescribeHandshakeResponse where
− gen/Network/AWS/Organizations/DescribeOrganization.hs
@@ -1,123 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.DescribeOrganization--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Retrieves information about the organization that the user's account belongs to.--------- This operation can be called from any account in the organization.----module Network.AWS.Organizations.DescribeOrganization-    (-    -- * Creating a Request-      describeOrganization-    , DescribeOrganization--    -- * Destructuring the Response-    , describeOrganizationResponse-    , DescribeOrganizationResponse-    -- * Response Lenses-    , dorsOrganization-    , dorsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeOrganization' smart constructor.-data DescribeOrganization =-  DescribeOrganization'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeOrganization' with the minimum fields required to make a request.----describeOrganization-    :: DescribeOrganization-describeOrganization = DescribeOrganization'---instance AWSRequest DescribeOrganization where-        type Rs DescribeOrganization =-             DescribeOrganizationResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 DescribeOrganizationResponse' <$>-                   (x .?> "Organization") <*> (pure (fromEnum s)))--instance Hashable DescribeOrganization where--instance NFData DescribeOrganization where--instance ToHeaders DescribeOrganization where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.DescribeOrganization" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeOrganization where-        toJSON = const (Object mempty)--instance ToPath DescribeOrganization where-        toPath = const "/"--instance ToQuery DescribeOrganization where-        toQuery = const mempty---- | /See:/ 'describeOrganizationResponse' smart constructor.-data DescribeOrganizationResponse = DescribeOrganizationResponse'-  { _dorsOrganization   :: !(Maybe Organization)-  , _dorsResponseStatus :: !Int-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeOrganizationResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dorsOrganization' - A structure that contains information about the organization.------ * 'dorsResponseStatus' - -- | The response status code.-describeOrganizationResponse-    :: Int -- ^ 'dorsResponseStatus'-    -> DescribeOrganizationResponse-describeOrganizationResponse pResponseStatus_ =-  DescribeOrganizationResponse'-    {_dorsOrganization = Nothing, _dorsResponseStatus = pResponseStatus_}----- | A structure that contains information about the organization.-dorsOrganization :: Lens' DescribeOrganizationResponse (Maybe Organization)-dorsOrganization = lens _dorsOrganization (\ s a -> s{_dorsOrganization = a})---- | -- | The response status code.-dorsResponseStatus :: Lens' DescribeOrganizationResponse Int-dorsResponseStatus = lens _dorsResponseStatus (\ s a -> s{_dorsResponseStatus = a})--instance NFData DescribeOrganizationResponse where
− gen/Network/AWS/Organizations/DescribeOrganizationalUnit.hs
@@ -1,143 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.DescribeOrganizationalUnit--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Retrieves information about an organizational unit (OU).--------- This operation can be called only from the organization's master account.----module Network.AWS.Organizations.DescribeOrganizationalUnit-    (-    -- * Creating a Request-      describeOrganizationalUnit-    , DescribeOrganizationalUnit-    -- * Request Lenses-    , douOrganizationalUnitId--    -- * Destructuring the Response-    , describeOrganizationalUnitResponse-    , DescribeOrganizationalUnitResponse-    -- * Response Lenses-    , doursOrganizationalUnit-    , doursResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeOrganizationalUnit' smart constructor.-newtype DescribeOrganizationalUnit = DescribeOrganizationalUnit'-  { _douOrganizationalUnitId :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeOrganizationalUnit' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'douOrganizationalUnitId' - The unique identifier (ID) of the organizational unit that you want details about. You can get the ID from the 'ListOrganizationalUnitsForParent' operation. The <http://wikipedia.org/wiki/regex 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.-describeOrganizationalUnit-    :: Text -- ^ 'douOrganizationalUnitId'-    -> DescribeOrganizationalUnit-describeOrganizationalUnit pOrganizationalUnitId_ =-  DescribeOrganizationalUnit'-    {_douOrganizationalUnitId = pOrganizationalUnitId_}----- | The unique identifier (ID) of the organizational unit that you want details about. You can get the ID from the 'ListOrganizationalUnitsForParent' operation. The <http://wikipedia.org/wiki/regex 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.-douOrganizationalUnitId :: Lens' DescribeOrganizationalUnit Text-douOrganizationalUnitId = lens _douOrganizationalUnitId (\ s a -> s{_douOrganizationalUnitId = a})--instance AWSRequest DescribeOrganizationalUnit where-        type Rs DescribeOrganizationalUnit =-             DescribeOrganizationalUnitResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 DescribeOrganizationalUnitResponse' <$>-                   (x .?> "OrganizationalUnit") <*> (pure (fromEnum s)))--instance Hashable DescribeOrganizationalUnit where--instance NFData DescribeOrganizationalUnit where--instance ToHeaders DescribeOrganizationalUnit where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.DescribeOrganizationalUnit"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeOrganizationalUnit where-        toJSON DescribeOrganizationalUnit'{..}-          = object-              (catMaybes-                 [Just-                    ("OrganizationalUnitId" .=-                       _douOrganizationalUnitId)])--instance ToPath DescribeOrganizationalUnit where-        toPath = const "/"--instance ToQuery DescribeOrganizationalUnit where-        toQuery = const mempty---- | /See:/ 'describeOrganizationalUnitResponse' smart constructor.-data DescribeOrganizationalUnitResponse = DescribeOrganizationalUnitResponse'-  { _doursOrganizationalUnit :: !(Maybe OrganizationalUnit)-  , _doursResponseStatus     :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeOrganizationalUnitResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'doursOrganizationalUnit' - A structure that contains details about the specified OU.------ * 'doursResponseStatus' - -- | The response status code.-describeOrganizationalUnitResponse-    :: Int -- ^ 'doursResponseStatus'-    -> DescribeOrganizationalUnitResponse-describeOrganizationalUnitResponse pResponseStatus_ =-  DescribeOrganizationalUnitResponse'-    { _doursOrganizationalUnit = Nothing-    , _doursResponseStatus = pResponseStatus_-    }----- | A structure that contains details about the specified OU.-doursOrganizationalUnit :: Lens' DescribeOrganizationalUnitResponse (Maybe OrganizationalUnit)-doursOrganizationalUnit = lens _doursOrganizationalUnit (\ s a -> s{_doursOrganizationalUnit = a})---- | -- | The response status code.-doursResponseStatus :: Lens' DescribeOrganizationalUnitResponse Int-doursResponseStatus = lens _doursResponseStatus (\ s a -> s{_doursResponseStatus = a})--instance NFData DescribeOrganizationalUnitResponse-         where
− gen/Network/AWS/Organizations/DescribePolicy.hs
@@ -1,134 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.DescribePolicy--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Retrieves information about a policy.--------- This operation can be called only from the organization's master account.----module Network.AWS.Organizations.DescribePolicy-    (-    -- * Creating a Request-      describePolicy-    , DescribePolicy-    -- * Request Lenses-    , dpPolicyId--    -- * Destructuring the Response-    , describePolicyResponse-    , DescribePolicyResponse-    -- * Response Lenses-    , dprsPolicy-    , dprsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describePolicy' smart constructor.-newtype DescribePolicy = DescribePolicy'-  { _dpPolicyId :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribePolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dpPolicyId' - The unique identifier (ID) of the policy that you want details about. You can get the ID from the 'ListPolicies' or 'ListPoliciesForTarget' operations. The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.-describePolicy-    :: Text -- ^ 'dpPolicyId'-    -> DescribePolicy-describePolicy pPolicyId_ = DescribePolicy' {_dpPolicyId = pPolicyId_}----- | The unique identifier (ID) of the policy that you want details about. You can get the ID from the 'ListPolicies' or 'ListPoliciesForTarget' operations. The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.-dpPolicyId :: Lens' DescribePolicy Text-dpPolicyId = lens _dpPolicyId (\ s a -> s{_dpPolicyId = a})--instance AWSRequest DescribePolicy where-        type Rs DescribePolicy = DescribePolicyResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 DescribePolicyResponse' <$>-                   (x .?> "Policy") <*> (pure (fromEnum s)))--instance Hashable DescribePolicy where--instance NFData DescribePolicy where--instance ToHeaders DescribePolicy where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.DescribePolicy" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribePolicy where-        toJSON DescribePolicy'{..}-          = object-              (catMaybes [Just ("PolicyId" .= _dpPolicyId)])--instance ToPath DescribePolicy where-        toPath = const "/"--instance ToQuery DescribePolicy where-        toQuery = const mempty---- | /See:/ 'describePolicyResponse' smart constructor.-data DescribePolicyResponse = DescribePolicyResponse'-  { _dprsPolicy         :: !(Maybe Policy)-  , _dprsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribePolicyResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dprsPolicy' - A structure that contains details about the specified policy.------ * 'dprsResponseStatus' - -- | The response status code.-describePolicyResponse-    :: Int -- ^ 'dprsResponseStatus'-    -> DescribePolicyResponse-describePolicyResponse pResponseStatus_ =-  DescribePolicyResponse'-    {_dprsPolicy = Nothing, _dprsResponseStatus = pResponseStatus_}----- | A structure that contains details about the specified policy.-dprsPolicy :: Lens' DescribePolicyResponse (Maybe Policy)-dprsPolicy = lens _dprsPolicy (\ s a -> s{_dprsPolicy = a})---- | -- | The response status code.-dprsResponseStatus :: Lens' DescribePolicyResponse Int-dprsResponseStatus = lens _dprsResponseStatus (\ s a -> s{_dprsResponseStatus = a})--instance NFData DescribePolicyResponse where
− gen/Network/AWS/Organizations/DetachPolicy.hs
@@ -1,124 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.DetachPolicy--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Detaches a policy from a target root, organizational unit, or account. If the policy being detached is a service control policy (SCP), the changes to permissions for IAM users and roles in affected accounts are immediate.--------- __Note:__ Every root, OU, and account must have at least one SCP attached. If you want to replace the default @FullAWSAccess@ policy with one that limits the permissions that can be delegated, then you must attach the replacement policy before you can remove the default one. This is the authorization strategy of <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_about-scps.html#orgs_policies_whitelist whitelisting> . If you instead attach a second SCP and leave the @FullAWSAccess@ SCP still attached, and specify @"Effect": "Deny"@ in the second SCP to override the @"Effect": "Allow"@ in the @FullAWSAccess@ policy (or any other attached SCP), then you are using the authorization strategy of <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_about-scps.html#orgs_policies_blacklist blacklisting> .------ This operation can be called only from the organization's master account.----module Network.AWS.Organizations.DetachPolicy-    (-    -- * Creating a Request-      detachPolicy-    , DetachPolicy-    -- * Request Lenses-    , detPolicyId-    , detTargetId--    -- * Destructuring the Response-    , detachPolicyResponse-    , DetachPolicyResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'detachPolicy' smart constructor.-data DetachPolicy = DetachPolicy'-  { _detPolicyId :: !Text-  , _detTargetId :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DetachPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'detPolicyId' - The unique identifier (ID) of the policy you want to detach. You can get the ID from the 'ListPolicies' or 'ListPoliciesForTarget' operations. The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.------ * 'detTargetId' - The unique identifier (ID) of the root, OU, or account from which you want to detach the policy. You can get the ID from the 'ListRoots' , 'ListOrganizationalUnitsForParent' , or 'ListAccounts' operations. The <http://wikipedia.org/wiki/regex 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.-detachPolicy-    :: Text -- ^ 'detPolicyId'-    -> Text -- ^ 'detTargetId'-    -> DetachPolicy-detachPolicy pPolicyId_ pTargetId_ =-  DetachPolicy' {_detPolicyId = pPolicyId_, _detTargetId = pTargetId_}----- | The unique identifier (ID) of the policy you want to detach. You can get the ID from the 'ListPolicies' or 'ListPoliciesForTarget' operations. The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.-detPolicyId :: Lens' DetachPolicy Text-detPolicyId = lens _detPolicyId (\ s a -> s{_detPolicyId = a})---- | The unique identifier (ID) of the root, OU, or account from which you want to detach the policy. You can get the ID from the 'ListRoots' , 'ListOrganizationalUnitsForParent' , or 'ListAccounts' operations. The <http://wikipedia.org/wiki/regex 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.-detTargetId :: Lens' DetachPolicy Text-detTargetId = lens _detTargetId (\ s a -> s{_detTargetId = a})--instance AWSRequest DetachPolicy where-        type Rs DetachPolicy = DetachPolicyResponse-        request = postJSON organizations-        response = receiveNull DetachPolicyResponse'--instance Hashable DetachPolicy where--instance NFData DetachPolicy where--instance ToHeaders DetachPolicy where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.DetachPolicy" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DetachPolicy where-        toJSON DetachPolicy'{..}-          = object-              (catMaybes-                 [Just ("PolicyId" .= _detPolicyId),-                  Just ("TargetId" .= _detTargetId)])--instance ToPath DetachPolicy where-        toPath = const "/"--instance ToQuery DetachPolicy where-        toQuery = const mempty---- | /See:/ 'detachPolicyResponse' smart constructor.-data DetachPolicyResponse =-  DetachPolicyResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DetachPolicyResponse' with the minimum fields required to make a request.----detachPolicyResponse-    :: DetachPolicyResponse-detachPolicyResponse = DetachPolicyResponse'---instance NFData DetachPolicyResponse where
− gen/Network/AWS/Organizations/DisableAWSServiceAccess.hs
@@ -1,122 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.DisableAWSServiceAccess--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Disables the integration of an AWS service (the service that is specified by @ServicePrincipal@ ) with AWS Organizations. When you disable integration, the specified service no longer can create a <http://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html service-linked role> in /new/ accounts in your organization. This means the service can't perform operations on your behalf on any new accounts in your organization. The service can still perform operations in older accounts until the service completes its clean-up from AWS Organizations.--------------- /Important:/ We recommend that you disable integration between AWS Organizations and the specified AWS service by using the console or commands that are provided by the specified service. Doing so ensures that the other service is aware that it can clean up any resources that are required only for the integration. How the service cleans up its resources in the organization's accounts depends on that service. For more information, see the documentation for the other AWS service.------ After you perform the @DisableAWSServiceAccess@ operation, the specified service can no longer perform operations in your organization's accounts unless the operations are explicitly permitted by the IAM policies that are attached to your roles.------ For more information about integrating other services with AWS Organizations, including the list of services that work with Organizations, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html Integrating AWS Organizations with Other AWS Services> in the /AWS Organizations User Guide/ .------ This operation can be called only from the organization's master account.----module Network.AWS.Organizations.DisableAWSServiceAccess-    (-    -- * Creating a Request-      disableAWSServiceAccess-    , DisableAWSServiceAccess-    -- * Request Lenses-    , dasaServicePrincipal--    -- * Destructuring the Response-    , disableAWSServiceAccessResponse-    , DisableAWSServiceAccessResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'disableAWSServiceAccess' smart constructor.-newtype DisableAWSServiceAccess = DisableAWSServiceAccess'-  { _dasaServicePrincipal :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DisableAWSServiceAccess' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dasaServicePrincipal' - The service principal name of the AWS service for which you want to disable integration with your organization. This is typically in the form of a URL, such as @/service-abbreviation/ .amazonaws.com@ .-disableAWSServiceAccess-    :: Text -- ^ 'dasaServicePrincipal'-    -> DisableAWSServiceAccess-disableAWSServiceAccess pServicePrincipal_ =-  DisableAWSServiceAccess' {_dasaServicePrincipal = pServicePrincipal_}----- | The service principal name of the AWS service for which you want to disable integration with your organization. This is typically in the form of a URL, such as @/service-abbreviation/ .amazonaws.com@ .-dasaServicePrincipal :: Lens' DisableAWSServiceAccess Text-dasaServicePrincipal = lens _dasaServicePrincipal (\ s a -> s{_dasaServicePrincipal = a})--instance AWSRequest DisableAWSServiceAccess where-        type Rs DisableAWSServiceAccess =-             DisableAWSServiceAccessResponse-        request = postJSON organizations-        response-          = receiveNull DisableAWSServiceAccessResponse'--instance Hashable DisableAWSServiceAccess where--instance NFData DisableAWSServiceAccess where--instance ToHeaders DisableAWSServiceAccess where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.DisableAWSServiceAccess"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DisableAWSServiceAccess where-        toJSON DisableAWSServiceAccess'{..}-          = object-              (catMaybes-                 [Just ("ServicePrincipal" .= _dasaServicePrincipal)])--instance ToPath DisableAWSServiceAccess where-        toPath = const "/"--instance ToQuery DisableAWSServiceAccess where-        toQuery = const mempty---- | /See:/ 'disableAWSServiceAccessResponse' smart constructor.-data DisableAWSServiceAccessResponse =-  DisableAWSServiceAccessResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DisableAWSServiceAccessResponse' with the minimum fields required to make a request.----disableAWSServiceAccessResponse-    :: DisableAWSServiceAccessResponse-disableAWSServiceAccessResponse = DisableAWSServiceAccessResponse'---instance NFData DisableAWSServiceAccessResponse where
− gen/Network/AWS/Organizations/DisablePolicyType.hs
@@ -1,146 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.DisablePolicyType--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Disables an organizational control policy type in a root. A policy of a certain type can be attached to entities in a root only if that type is enabled in the root. After you perform this operation, you no longer can attach policies of the specified type to that root or to any OU or account in that root. You can undo this by using the 'EnablePolicyType' operation.--------- This operation can be called only from the organization's master account.----module Network.AWS.Organizations.DisablePolicyType-    (-    -- * Creating a Request-      disablePolicyType-    , DisablePolicyType-    -- * Request Lenses-    , dptRootId-    , dptPolicyType--    -- * Destructuring the Response-    , disablePolicyTypeResponse-    , DisablePolicyTypeResponse-    -- * Response Lenses-    , dptrsRoot-    , dptrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'disablePolicyType' smart constructor.-data DisablePolicyType = DisablePolicyType'-  { _dptRootId     :: !Text-  , _dptPolicyType :: !PolicyType-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DisablePolicyType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dptRootId' - The unique identifier (ID) of the root in which you want to disable a policy type. You can get the ID from the 'ListRoots' operation. The <http://wikipedia.org/wiki/regex regex pattern> for a root ID string requires "r-" followed by from 4 to 32 lower-case letters or digits.------ * 'dptPolicyType' - The policy type that you want to disable in this root.-disablePolicyType-    :: Text -- ^ 'dptRootId'-    -> PolicyType -- ^ 'dptPolicyType'-    -> DisablePolicyType-disablePolicyType pRootId_ pPolicyType_ =-  DisablePolicyType' {_dptRootId = pRootId_, _dptPolicyType = pPolicyType_}----- | The unique identifier (ID) of the root in which you want to disable a policy type. You can get the ID from the 'ListRoots' operation. The <http://wikipedia.org/wiki/regex regex pattern> for a root ID string requires "r-" followed by from 4 to 32 lower-case letters or digits.-dptRootId :: Lens' DisablePolicyType Text-dptRootId = lens _dptRootId (\ s a -> s{_dptRootId = a})---- | The policy type that you want to disable in this root.-dptPolicyType :: Lens' DisablePolicyType PolicyType-dptPolicyType = lens _dptPolicyType (\ s a -> s{_dptPolicyType = a})--instance AWSRequest DisablePolicyType where-        type Rs DisablePolicyType = DisablePolicyTypeResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 DisablePolicyTypeResponse' <$>-                   (x .?> "Root") <*> (pure (fromEnum s)))--instance Hashable DisablePolicyType where--instance NFData DisablePolicyType where--instance ToHeaders DisablePolicyType where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.DisablePolicyType" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DisablePolicyType where-        toJSON DisablePolicyType'{..}-          = object-              (catMaybes-                 [Just ("RootId" .= _dptRootId),-                  Just ("PolicyType" .= _dptPolicyType)])--instance ToPath DisablePolicyType where-        toPath = const "/"--instance ToQuery DisablePolicyType where-        toQuery = const mempty---- | /See:/ 'disablePolicyTypeResponse' smart constructor.-data DisablePolicyTypeResponse = DisablePolicyTypeResponse'-  { _dptrsRoot           :: !(Maybe Root)-  , _dptrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DisablePolicyTypeResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dptrsRoot' - A structure that shows the root with the updated list of enabled policy types.------ * 'dptrsResponseStatus' - -- | The response status code.-disablePolicyTypeResponse-    :: Int -- ^ 'dptrsResponseStatus'-    -> DisablePolicyTypeResponse-disablePolicyTypeResponse pResponseStatus_ =-  DisablePolicyTypeResponse'-    {_dptrsRoot = Nothing, _dptrsResponseStatus = pResponseStatus_}----- | A structure that shows the root with the updated list of enabled policy types.-dptrsRoot :: Lens' DisablePolicyTypeResponse (Maybe Root)-dptrsRoot = lens _dptrsRoot (\ s a -> s{_dptrsRoot = a})---- | -- | The response status code.-dptrsResponseStatus :: Lens' DisablePolicyTypeResponse Int-dptrsResponseStatus = lens _dptrsResponseStatus (\ s a -> s{_dptrsResponseStatus = a})--instance NFData DisablePolicyTypeResponse where
− gen/Network/AWS/Organizations/EnableAWSServiceAccess.hs
@@ -1,118 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.EnableAWSServiceAccess--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Enables the integration of an AWS service (the service that is specified by @ServicePrincipal@ ) with AWS Organizations. When you enable integration, you allow the specified service to create a <http://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html service-linked role> in all the accounts in your organization. This allows the service to perform operations on your behalf in your organization and its accounts.--------- /Important:/ We recommend that you enable integration between AWS Organizations and the specified AWS service by using the console or commands that are provided by the specified service. Doing so ensures that the service is aware that it can create the resources that are required for the integration. How the service creates those resources in the organization's accounts depends on that service. For more information, see the documentation for the other AWS service.------ For more information about enabling services to integrate with AWS Organizations, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html Integrating AWS Organizations with Other AWS Services> in the /AWS Organizations User Guide/ .------ This operation can be called only from the organization's master account and only if the organization has <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html enabled all features> .----module Network.AWS.Organizations.EnableAWSServiceAccess-    (-    -- * Creating a Request-      enableAWSServiceAccess-    , EnableAWSServiceAccess-    -- * Request Lenses-    , easaServicePrincipal--    -- * Destructuring the Response-    , enableAWSServiceAccessResponse-    , EnableAWSServiceAccessResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'enableAWSServiceAccess' smart constructor.-newtype EnableAWSServiceAccess = EnableAWSServiceAccess'-  { _easaServicePrincipal :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'EnableAWSServiceAccess' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'easaServicePrincipal' - The service principal name of the AWS service for which you want to enable integration with your organization. This is typically in the form of a URL, such as @/service-abbreviation/ .amazonaws.com@ .-enableAWSServiceAccess-    :: Text -- ^ 'easaServicePrincipal'-    -> EnableAWSServiceAccess-enableAWSServiceAccess pServicePrincipal_ =-  EnableAWSServiceAccess' {_easaServicePrincipal = pServicePrincipal_}----- | The service principal name of the AWS service for which you want to enable integration with your organization. This is typically in the form of a URL, such as @/service-abbreviation/ .amazonaws.com@ .-easaServicePrincipal :: Lens' EnableAWSServiceAccess Text-easaServicePrincipal = lens _easaServicePrincipal (\ s a -> s{_easaServicePrincipal = a})--instance AWSRequest EnableAWSServiceAccess where-        type Rs EnableAWSServiceAccess =-             EnableAWSServiceAccessResponse-        request = postJSON organizations-        response-          = receiveNull EnableAWSServiceAccessResponse'--instance Hashable EnableAWSServiceAccess where--instance NFData EnableAWSServiceAccess where--instance ToHeaders EnableAWSServiceAccess where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.EnableAWSServiceAccess"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON EnableAWSServiceAccess where-        toJSON EnableAWSServiceAccess'{..}-          = object-              (catMaybes-                 [Just ("ServicePrincipal" .= _easaServicePrincipal)])--instance ToPath EnableAWSServiceAccess where-        toPath = const "/"--instance ToQuery EnableAWSServiceAccess where-        toQuery = const mempty---- | /See:/ 'enableAWSServiceAccessResponse' smart constructor.-data EnableAWSServiceAccessResponse =-  EnableAWSServiceAccessResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'EnableAWSServiceAccessResponse' with the minimum fields required to make a request.----enableAWSServiceAccessResponse-    :: EnableAWSServiceAccessResponse-enableAWSServiceAccessResponse = EnableAWSServiceAccessResponse'---instance NFData EnableAWSServiceAccessResponse where
− gen/Network/AWS/Organizations/EnableAllFeatures.hs
@@ -1,130 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.EnableAllFeatures--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Enables all features in an organization. This enables the use of organization policies that can restrict the services and actions that can be called in each account. Until you enable all features, you have access only to consolidated billing, and you can't use any of the advanced account administration features that AWS Organizations supports. For more information, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html Enabling All Features in Your Organization> in the /AWS Organizations User Guide/ .--------- /Important:/ This operation is required only for organizations that were created explicitly with only the consolidated billing features enabled, or that were migrated from a Consolidated Billing account family to Organizations. Calling this operation sends a handshake to every invited account in the organization. The feature set change can be finalized and the additional features enabled only after all administrators in the invited accounts approve the change by accepting the handshake.------ After you enable all features, you can separately enable or disable individual policy types in a root using 'EnablePolicyType' and 'DisablePolicyType' . To see the status of policy types in a root, use 'ListRoots' .------ After all invited member accounts accept the handshake, you finalize the feature set change by accepting the handshake that contains @"Action": "ENABLE_ALL_FEATURES"@ . This completes the change.------ After you enable all features in your organization, the master account in the organization can apply policies on all member accounts. These policies can restrict what users and even administrators in those accounts can do. The master account can apply policies that prevent accounts from leaving the organization. Ensure that your account administrators are aware of this.------ This operation can be called only from the organization's master account.----module Network.AWS.Organizations.EnableAllFeatures-    (-    -- * Creating a Request-      enableAllFeatures-    , EnableAllFeatures--    -- * Destructuring the Response-    , enableAllFeaturesResponse-    , EnableAllFeaturesResponse-    -- * Response Lenses-    , eafrsHandshake-    , eafrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'enableAllFeatures' smart constructor.-data EnableAllFeatures =-  EnableAllFeatures'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'EnableAllFeatures' with the minimum fields required to make a request.----enableAllFeatures-    :: EnableAllFeatures-enableAllFeatures = EnableAllFeatures'---instance AWSRequest EnableAllFeatures where-        type Rs EnableAllFeatures = EnableAllFeaturesResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 EnableAllFeaturesResponse' <$>-                   (x .?> "Handshake") <*> (pure (fromEnum s)))--instance Hashable EnableAllFeatures where--instance NFData EnableAllFeatures where--instance ToHeaders EnableAllFeatures where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.EnableAllFeatures" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON EnableAllFeatures where-        toJSON = const (Object mempty)--instance ToPath EnableAllFeatures where-        toPath = const "/"--instance ToQuery EnableAllFeatures where-        toQuery = const mempty---- | /See:/ 'enableAllFeaturesResponse' smart constructor.-data EnableAllFeaturesResponse = EnableAllFeaturesResponse'-  { _eafrsHandshake      :: !(Maybe Handshake)-  , _eafrsResponseStatus :: !Int-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'EnableAllFeaturesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'eafrsHandshake' - A structure that contains details about the handshake created to support this request to enable all features in the organization.------ * 'eafrsResponseStatus' - -- | The response status code.-enableAllFeaturesResponse-    :: Int -- ^ 'eafrsResponseStatus'-    -> EnableAllFeaturesResponse-enableAllFeaturesResponse pResponseStatus_ =-  EnableAllFeaturesResponse'-    {_eafrsHandshake = Nothing, _eafrsResponseStatus = pResponseStatus_}----- | A structure that contains details about the handshake created to support this request to enable all features in the organization.-eafrsHandshake :: Lens' EnableAllFeaturesResponse (Maybe Handshake)-eafrsHandshake = lens _eafrsHandshake (\ s a -> s{_eafrsHandshake = a})---- | -- | The response status code.-eafrsResponseStatus :: Lens' EnableAllFeaturesResponse Int-eafrsResponseStatus = lens _eafrsResponseStatus (\ s a -> s{_eafrsResponseStatus = a})--instance NFData EnableAllFeaturesResponse where
− gen/Network/AWS/Organizations/EnablePolicyType.hs
@@ -1,150 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.EnablePolicyType--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Enables a policy type in a root. After you enable a policy type in a root, you can attach policies of that type to the root, any OU, or account in that root. You can undo this by using the 'DisablePolicyType' operation.--------- This operation can be called only from the organization's master account.------ You can enable a policy type in a root only if that policy type is available in the organization. Use 'DescribeOrganization' to view the status of available policy types in the organization.------ To view the status of policy type in a root, use 'ListRoots' .----module Network.AWS.Organizations.EnablePolicyType-    (-    -- * Creating a Request-      enablePolicyType-    , EnablePolicyType-    -- * Request Lenses-    , eptRootId-    , eptPolicyType--    -- * Destructuring the Response-    , enablePolicyTypeResponse-    , EnablePolicyTypeResponse-    -- * Response Lenses-    , eptrsRoot-    , eptrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'enablePolicyType' smart constructor.-data EnablePolicyType = EnablePolicyType'-  { _eptRootId     :: !Text-  , _eptPolicyType :: !PolicyType-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'EnablePolicyType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'eptRootId' - The unique identifier (ID) of the root in which you want to enable a policy type. You can get the ID from the 'ListRoots' operation. The <http://wikipedia.org/wiki/regex regex pattern> for a root ID string requires "r-" followed by from 4 to 32 lower-case letters or digits.------ * 'eptPolicyType' - The policy type that you want to enable.-enablePolicyType-    :: Text -- ^ 'eptRootId'-    -> PolicyType -- ^ 'eptPolicyType'-    -> EnablePolicyType-enablePolicyType pRootId_ pPolicyType_ =-  EnablePolicyType' {_eptRootId = pRootId_, _eptPolicyType = pPolicyType_}----- | The unique identifier (ID) of the root in which you want to enable a policy type. You can get the ID from the 'ListRoots' operation. The <http://wikipedia.org/wiki/regex regex pattern> for a root ID string requires "r-" followed by from 4 to 32 lower-case letters or digits.-eptRootId :: Lens' EnablePolicyType Text-eptRootId = lens _eptRootId (\ s a -> s{_eptRootId = a})---- | The policy type that you want to enable.-eptPolicyType :: Lens' EnablePolicyType PolicyType-eptPolicyType = lens _eptPolicyType (\ s a -> s{_eptPolicyType = a})--instance AWSRequest EnablePolicyType where-        type Rs EnablePolicyType = EnablePolicyTypeResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 EnablePolicyTypeResponse' <$>-                   (x .?> "Root") <*> (pure (fromEnum s)))--instance Hashable EnablePolicyType where--instance NFData EnablePolicyType where--instance ToHeaders EnablePolicyType where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.EnablePolicyType" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON EnablePolicyType where-        toJSON EnablePolicyType'{..}-          = object-              (catMaybes-                 [Just ("RootId" .= _eptRootId),-                  Just ("PolicyType" .= _eptPolicyType)])--instance ToPath EnablePolicyType where-        toPath = const "/"--instance ToQuery EnablePolicyType where-        toQuery = const mempty---- | /See:/ 'enablePolicyTypeResponse' smart constructor.-data EnablePolicyTypeResponse = EnablePolicyTypeResponse'-  { _eptrsRoot           :: !(Maybe Root)-  , _eptrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'EnablePolicyTypeResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'eptrsRoot' - A structure that shows the root with the updated list of enabled policy types.------ * 'eptrsResponseStatus' - -- | The response status code.-enablePolicyTypeResponse-    :: Int -- ^ 'eptrsResponseStatus'-    -> EnablePolicyTypeResponse-enablePolicyTypeResponse pResponseStatus_ =-  EnablePolicyTypeResponse'-    {_eptrsRoot = Nothing, _eptrsResponseStatus = pResponseStatus_}----- | A structure that shows the root with the updated list of enabled policy types.-eptrsRoot :: Lens' EnablePolicyTypeResponse (Maybe Root)-eptrsRoot = lens _eptrsRoot (\ s a -> s{_eptrsRoot = a})---- | -- | The response status code.-eptrsResponseStatus :: Lens' EnablePolicyTypeResponse Int-eptrsResponseStatus = lens _eptrsResponseStatus (\ s a -> s{_eptrsResponseStatus = a})--instance NFData EnablePolicyTypeResponse where
− gen/Network/AWS/Organizations/InviteAccountToOrganization.hs
@@ -1,151 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.InviteAccountToOrganization--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Sends an invitation to another account to join your organization as a member account. Organizations sends email on your behalf to the email address that is associated with the other account's owner. The invitation is implemented as a 'Handshake' whose details are in the response.--------- /Important:/ You can invite AWS accounts only from the same seller as the master account. For example, if your organization's master account was created by Amazon Internet Services Pvt. Ltd (AISPL), an AWS seller in India, then you can only invite other AISPL accounts to your organization. You can't combine accounts from AISPL and AWS, or any other AWS seller. For more information, see <http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/useconsolidatedbilliing-India.html Consolidated Billing in India> .------ This operation can be called only from the organization's master account.------ /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 <https://console.aws.amazon.com/support/home#/ AWS Customer Support> .----module Network.AWS.Organizations.InviteAccountToOrganization-    (-    -- * Creating a Request-      inviteAccountToOrganization-    , InviteAccountToOrganization-    -- * Request Lenses-    , iatoNotes-    , iatoTarget--    -- * Destructuring the Response-    , inviteAccountToOrganizationResponse-    , InviteAccountToOrganizationResponse-    -- * Response Lenses-    , iatorsHandshake-    , iatorsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'inviteAccountToOrganization' smart constructor.-data InviteAccountToOrganization = InviteAccountToOrganization'-  { _iatoNotes  :: !(Maybe (Sensitive Text))-  , _iatoTarget :: !HandshakeParty-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'InviteAccountToOrganization' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'iatoNotes' - Additional information that you want to include in the generated email to the recipient account owner.------ * 'iatoTarget' - The identifier (ID) of the AWS account that you want to invite to join your organization. This is a JSON object that contains the following elements:  @{ "Type": "ACCOUNT", "Id": "</__account id number__ / >" }@  If you use the AWS CLI, you can submit this as a single string, similar to the following example: @--target Id=123456789012,Type=ACCOUNT@  If you specify @"Type": "ACCOUNT"@ , then you must provide the AWS account ID number as the @Id@ . If you specify @"Type": "EMAIL"@ , then you must specify the email address that is associated with the account. @--target Id=bill@example.com,Type=EMAIL@-inviteAccountToOrganization-    :: HandshakeParty -- ^ 'iatoTarget'-    -> InviteAccountToOrganization-inviteAccountToOrganization pTarget_ =-  InviteAccountToOrganization' {_iatoNotes = Nothing, _iatoTarget = pTarget_}----- | Additional information that you want to include in the generated email to the recipient account owner.-iatoNotes :: Lens' InviteAccountToOrganization (Maybe Text)-iatoNotes = lens _iatoNotes (\ s a -> s{_iatoNotes = a}) . mapping _Sensitive---- | The identifier (ID) of the AWS account that you want to invite to join your organization. This is a JSON object that contains the following elements:  @{ "Type": "ACCOUNT", "Id": "</__account id number__ / >" }@  If you use the AWS CLI, you can submit this as a single string, similar to the following example: @--target Id=123456789012,Type=ACCOUNT@  If you specify @"Type": "ACCOUNT"@ , then you must provide the AWS account ID number as the @Id@ . If you specify @"Type": "EMAIL"@ , then you must specify the email address that is associated with the account. @--target Id=bill@example.com,Type=EMAIL@-iatoTarget :: Lens' InviteAccountToOrganization HandshakeParty-iatoTarget = lens _iatoTarget (\ s a -> s{_iatoTarget = a})--instance AWSRequest InviteAccountToOrganization where-        type Rs InviteAccountToOrganization =-             InviteAccountToOrganizationResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 InviteAccountToOrganizationResponse' <$>-                   (x .?> "Handshake") <*> (pure (fromEnum s)))--instance Hashable InviteAccountToOrganization where--instance NFData InviteAccountToOrganization where--instance ToHeaders InviteAccountToOrganization where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.InviteAccountToOrganization"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON InviteAccountToOrganization where-        toJSON InviteAccountToOrganization'{..}-          = object-              (catMaybes-                 [("Notes" .=) <$> _iatoNotes,-                  Just ("Target" .= _iatoTarget)])--instance ToPath InviteAccountToOrganization where-        toPath = const "/"--instance ToQuery InviteAccountToOrganization where-        toQuery = const mempty---- | /See:/ 'inviteAccountToOrganizationResponse' smart constructor.-data InviteAccountToOrganizationResponse = InviteAccountToOrganizationResponse'-  { _iatorsHandshake      :: !(Maybe Handshake)-  , _iatorsResponseStatus :: !Int-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'InviteAccountToOrganizationResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'iatorsHandshake' - A structure that contains details about the handshake that is created to support this invitation request.------ * 'iatorsResponseStatus' - -- | The response status code.-inviteAccountToOrganizationResponse-    :: Int -- ^ 'iatorsResponseStatus'-    -> InviteAccountToOrganizationResponse-inviteAccountToOrganizationResponse pResponseStatus_ =-  InviteAccountToOrganizationResponse'-    {_iatorsHandshake = Nothing, _iatorsResponseStatus = pResponseStatus_}----- | A structure that contains details about the handshake that is created to support this invitation request.-iatorsHandshake :: Lens' InviteAccountToOrganizationResponse (Maybe Handshake)-iatorsHandshake = lens _iatorsHandshake (\ s a -> s{_iatorsHandshake = a})---- | -- | The response status code.-iatorsResponseStatus :: Lens' InviteAccountToOrganizationResponse Int-iatorsResponseStatus = lens _iatorsResponseStatus (\ s a -> s{_iatorsResponseStatus = a})--instance NFData InviteAccountToOrganizationResponse-         where
− gen/Network/AWS/Organizations/LeaveOrganization.hs
@@ -1,106 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.LeaveOrganization--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Removes a member account from its parent organization. This version of the operation is performed by the account that wants to leave. To remove a member account as a user in the master account, use 'RemoveAccountFromOrganization' instead.--------- This operation can be called only from a member account in the organization.------ /Important:/     * The master account in an organization with all features enabled can set service control policies (SCPs) that can restrict what administrators of member accounts can do, including preventing them from successfully calling @LeaveOrganization@ and leaving the organization.------     * You can leave an organization as a member account only if the account is configured with the information required to operate as a standalone account. When you create an account in an organization using the AWS Organizations console, API, or CLI commands, the information required of standalone accounts is /not/ automatically collected. For each account that you want to make standalone, you must accept the End User License Agreement (EULA), choose a support plan, provide and verify the required contact information, and provide a current payment method. AWS uses the payment method to charge for any billable (not free tier) AWS activity that occurs while the account is not attached to an organization. Follow the steps at <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info To leave an organization when all required account information has not yet been provided> in the /AWS Organizations User Guide/ .------     * You can leave an organization only after you enable IAM user access to billing in your account. For more information, see <http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate Activating Access to the Billing and Cost Management Console> in the /AWS Billing and Cost Management User Guide/ .----------module Network.AWS.Organizations.LeaveOrganization-    (-    -- * Creating a Request-      leaveOrganization-    , LeaveOrganization--    -- * Destructuring the Response-    , leaveOrganizationResponse-    , LeaveOrganizationResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'leaveOrganization' smart constructor.-data LeaveOrganization =-  LeaveOrganization'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'LeaveOrganization' with the minimum fields required to make a request.----leaveOrganization-    :: LeaveOrganization-leaveOrganization = LeaveOrganization'---instance AWSRequest LeaveOrganization where-        type Rs LeaveOrganization = LeaveOrganizationResponse-        request = postJSON organizations-        response = receiveNull LeaveOrganizationResponse'--instance Hashable LeaveOrganization where--instance NFData LeaveOrganization where--instance ToHeaders LeaveOrganization where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.LeaveOrganization" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON LeaveOrganization where-        toJSON = const (Object mempty)--instance ToPath LeaveOrganization where-        toPath = const "/"--instance ToQuery LeaveOrganization where-        toQuery = const mempty---- | /See:/ 'leaveOrganizationResponse' smart constructor.-data LeaveOrganizationResponse =-  LeaveOrganizationResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'LeaveOrganizationResponse' with the minimum fields required to make a request.----leaveOrganizationResponse-    :: LeaveOrganizationResponse-leaveOrganizationResponse = LeaveOrganizationResponse'---instance NFData LeaveOrganizationResponse where
− gen/Network/AWS/Organizations/ListAWSServiceAccessForOrganization.hs
@@ -1,185 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.ListAWSServiceAccessForOrganization--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Returns a list of the AWS services that you enabled to integrate with your organization. After a service on this list creates the resources that it requires for the integration, it can perform operations on your organization and its accounts.--------- For more information about integrating other services with AWS Organizations, including the list of services that currently work with Organizations, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html Integrating AWS Organizations with Other AWS Services> in the /AWS Organizations User Guide/ .------ This operation can be called only from the organization's master account.--------- This operation returns paginated results.-module Network.AWS.Organizations.ListAWSServiceAccessForOrganization-    (-    -- * Creating a Request-      listAWSServiceAccessForOrganization-    , ListAWSServiceAccessForOrganization-    -- * Request Lenses-    , lasafoNextToken-    , lasafoMaxResults--    -- * Destructuring the Response-    , listAWSServiceAccessForOrganizationResponse-    , ListAWSServiceAccessForOrganizationResponse-    -- * Response Lenses-    , lasaforsNextToken-    , lasaforsEnabledServicePrincipals-    , lasaforsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listAWSServiceAccessForOrganization' smart constructor.-data ListAWSServiceAccessForOrganization = ListAWSServiceAccessForOrganization'-  { _lasafoNextToken  :: !(Maybe Text)-  , _lasafoMaxResults :: !(Maybe Nat)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListAWSServiceAccessForOrganization' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lasafoNextToken' - Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.------ * 'lasafoMaxResults' - (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-listAWSServiceAccessForOrganization-    :: ListAWSServiceAccessForOrganization-listAWSServiceAccessForOrganization =-  ListAWSServiceAccessForOrganization'-    {_lasafoNextToken = Nothing, _lasafoMaxResults = Nothing}----- | Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.-lasafoNextToken :: Lens' ListAWSServiceAccessForOrganization (Maybe Text)-lasafoNextToken = lens _lasafoNextToken (\ s a -> s{_lasafoNextToken = a})---- | (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-lasafoMaxResults :: Lens' ListAWSServiceAccessForOrganization (Maybe Natural)-lasafoMaxResults = lens _lasafoMaxResults (\ s a -> s{_lasafoMaxResults = a}) . mapping _Nat--instance AWSPager ListAWSServiceAccessForOrganization-         where-        page rq rs-          | stop (rs ^. lasaforsNextToken) = Nothing-          | stop (rs ^. lasaforsEnabledServicePrincipals) =-            Nothing-          | otherwise =-            Just $ rq &-              lasafoNextToken .~ rs ^. lasaforsNextToken--instance AWSRequest-           ListAWSServiceAccessForOrganization-         where-        type Rs ListAWSServiceAccessForOrganization =-             ListAWSServiceAccessForOrganizationResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 ListAWSServiceAccessForOrganizationResponse' <$>-                   (x .?> "NextToken") <*>-                     (x .?> "EnabledServicePrincipals" .!@ mempty)-                     <*> (pure (fromEnum s)))--instance Hashable ListAWSServiceAccessForOrganization-         where--instance NFData ListAWSServiceAccessForOrganization-         where--instance ToHeaders-           ListAWSServiceAccessForOrganization-         where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.ListAWSServiceAccessForOrganization"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListAWSServiceAccessForOrganization-         where-        toJSON ListAWSServiceAccessForOrganization'{..}-          = object-              (catMaybes-                 [("NextToken" .=) <$> _lasafoNextToken,-                  ("MaxResults" .=) <$> _lasafoMaxResults])--instance ToPath ListAWSServiceAccessForOrganization-         where-        toPath = const "/"--instance ToQuery ListAWSServiceAccessForOrganization-         where-        toQuery = const mempty---- | /See:/ 'listAWSServiceAccessForOrganizationResponse' smart constructor.-data ListAWSServiceAccessForOrganizationResponse = ListAWSServiceAccessForOrganizationResponse'-  { _lasaforsNextToken                :: !(Maybe Text)-  , _lasaforsEnabledServicePrincipals :: !(Maybe [EnabledServicePrincipal])-  , _lasaforsResponseStatus           :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListAWSServiceAccessForOrganizationResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lasaforsNextToken' - If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .------ * 'lasaforsEnabledServicePrincipals' - A list of the service principals for the services that are enabled to integrate with your organization. Each principal is a structure that includes the name and the date that it was enabled for integration with AWS Organizations.------ * 'lasaforsResponseStatus' - -- | The response status code.-listAWSServiceAccessForOrganizationResponse-    :: Int -- ^ 'lasaforsResponseStatus'-    -> ListAWSServiceAccessForOrganizationResponse-listAWSServiceAccessForOrganizationResponse pResponseStatus_ =-  ListAWSServiceAccessForOrganizationResponse'-    { _lasaforsNextToken = Nothing-    , _lasaforsEnabledServicePrincipals = Nothing-    , _lasaforsResponseStatus = pResponseStatus_-    }----- | If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .-lasaforsNextToken :: Lens' ListAWSServiceAccessForOrganizationResponse (Maybe Text)-lasaforsNextToken = lens _lasaforsNextToken (\ s a -> s{_lasaforsNextToken = a})---- | A list of the service principals for the services that are enabled to integrate with your organization. Each principal is a structure that includes the name and the date that it was enabled for integration with AWS Organizations.-lasaforsEnabledServicePrincipals :: Lens' ListAWSServiceAccessForOrganizationResponse [EnabledServicePrincipal]-lasaforsEnabledServicePrincipals = lens _lasaforsEnabledServicePrincipals (\ s a -> s{_lasaforsEnabledServicePrincipals = a}) . _Default . _Coerce---- | -- | The response status code.-lasaforsResponseStatus :: Lens' ListAWSServiceAccessForOrganizationResponse Int-lasaforsResponseStatus = lens _lasaforsResponseStatus (\ s a -> s{_lasaforsResponseStatus = a})--instance NFData-           ListAWSServiceAccessForOrganizationResponse-         where
− gen/Network/AWS/Organizations/ListAccounts.hs
@@ -1,165 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.ListAccounts--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Lists all the accounts in the organization. To request only the accounts in a specified root or OU, use the 'ListAccountsForParent' operation instead.--------- This operation can be called only from the organization's master account.--------- This operation returns paginated results.-module Network.AWS.Organizations.ListAccounts-    (-    -- * Creating a Request-      listAccounts-    , ListAccounts-    -- * Request Lenses-    , laNextToken-    , laMaxResults--    -- * Destructuring the Response-    , listAccountsResponse-    , ListAccountsResponse-    -- * Response Lenses-    , larsAccounts-    , larsNextToken-    , larsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listAccounts' smart constructor.-data ListAccounts = ListAccounts'-  { _laNextToken  :: !(Maybe Text)-  , _laMaxResults :: !(Maybe Nat)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListAccounts' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'laNextToken' - Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.------ * 'laMaxResults' - (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-listAccounts-    :: ListAccounts-listAccounts = ListAccounts' {_laNextToken = Nothing, _laMaxResults = Nothing}----- | Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.-laNextToken :: Lens' ListAccounts (Maybe Text)-laNextToken = lens _laNextToken (\ s a -> s{_laNextToken = a})---- | (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-laMaxResults :: Lens' ListAccounts (Maybe Natural)-laMaxResults = lens _laMaxResults (\ s a -> s{_laMaxResults = a}) . mapping _Nat--instance AWSPager ListAccounts where-        page rq rs-          | stop (rs ^. larsNextToken) = Nothing-          | stop (rs ^. larsAccounts) = Nothing-          | otherwise =-            Just $ rq & laNextToken .~ rs ^. larsNextToken--instance AWSRequest ListAccounts where-        type Rs ListAccounts = ListAccountsResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 ListAccountsResponse' <$>-                   (x .?> "Accounts" .!@ mempty) <*> (x .?> "NextToken")-                     <*> (pure (fromEnum s)))--instance Hashable ListAccounts where--instance NFData ListAccounts where--instance ToHeaders ListAccounts where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.ListAccounts" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListAccounts where-        toJSON ListAccounts'{..}-          = object-              (catMaybes-                 [("NextToken" .=) <$> _laNextToken,-                  ("MaxResults" .=) <$> _laMaxResults])--instance ToPath ListAccounts where-        toPath = const "/"--instance ToQuery ListAccounts where-        toQuery = const mempty---- | /See:/ 'listAccountsResponse' smart constructor.-data ListAccountsResponse = ListAccountsResponse'-  { _larsAccounts       :: !(Maybe [Account])-  , _larsNextToken      :: !(Maybe Text)-  , _larsResponseStatus :: !Int-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ListAccountsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'larsAccounts' - A list of objects in the organization.------ * 'larsNextToken' - If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .------ * 'larsResponseStatus' - -- | The response status code.-listAccountsResponse-    :: Int -- ^ 'larsResponseStatus'-    -> ListAccountsResponse-listAccountsResponse pResponseStatus_ =-  ListAccountsResponse'-    { _larsAccounts = Nothing-    , _larsNextToken = Nothing-    , _larsResponseStatus = pResponseStatus_-    }----- | A list of objects in the organization.-larsAccounts :: Lens' ListAccountsResponse [Account]-larsAccounts = lens _larsAccounts (\ s a -> s{_larsAccounts = a}) . _Default . _Coerce---- | If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .-larsNextToken :: Lens' ListAccountsResponse (Maybe Text)-larsNextToken = lens _larsNextToken (\ s a -> s{_larsNextToken = a})---- | -- | The response status code.-larsResponseStatus :: Lens' ListAccountsResponse Int-larsResponseStatus = lens _larsResponseStatus (\ s a -> s{_larsResponseStatus = a})--instance NFData ListAccountsResponse where
− gen/Network/AWS/Organizations/ListAccountsForParent.hs
@@ -1,181 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.ListAccountsForParent--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Lists the accounts in an organization that are contained by the specified target root or organizational unit (OU). If you specify the root, you get a list of all the accounts that are not in any OU. If you specify an OU, you get a list of all the accounts in only that OU, and not in any child OUs. To get a list of all accounts in the organization, use the 'ListAccounts' operation.--------- This operation can be called only from the organization's master account.--------- This operation returns paginated results.-module Network.AWS.Organizations.ListAccountsForParent-    (-    -- * Creating a Request-      listAccountsForParent-    , ListAccountsForParent-    -- * Request Lenses-    , lafpNextToken-    , lafpMaxResults-    , lafpParentId--    -- * Destructuring the Response-    , listAccountsForParentResponse-    , ListAccountsForParentResponse-    -- * Response Lenses-    , lafprsAccounts-    , lafprsNextToken-    , lafprsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listAccountsForParent' smart constructor.-data ListAccountsForParent = ListAccountsForParent'-  { _lafpNextToken  :: !(Maybe Text)-  , _lafpMaxResults :: !(Maybe Nat)-  , _lafpParentId   :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListAccountsForParent' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lafpNextToken' - Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.------ * 'lafpMaxResults' - (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.------ * 'lafpParentId' - The unique identifier (ID) for the parent root or organization unit (OU) whose accounts you want to list.-listAccountsForParent-    :: Text -- ^ 'lafpParentId'-    -> ListAccountsForParent-listAccountsForParent pParentId_ =-  ListAccountsForParent'-    { _lafpNextToken = Nothing-    , _lafpMaxResults = Nothing-    , _lafpParentId = pParentId_-    }----- | Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.-lafpNextToken :: Lens' ListAccountsForParent (Maybe Text)-lafpNextToken = lens _lafpNextToken (\ s a -> s{_lafpNextToken = a})---- | (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-lafpMaxResults :: Lens' ListAccountsForParent (Maybe Natural)-lafpMaxResults = lens _lafpMaxResults (\ s a -> s{_lafpMaxResults = a}) . mapping _Nat---- | The unique identifier (ID) for the parent root or organization unit (OU) whose accounts you want to list.-lafpParentId :: Lens' ListAccountsForParent Text-lafpParentId = lens _lafpParentId (\ s a -> s{_lafpParentId = a})--instance AWSPager ListAccountsForParent where-        page rq rs-          | stop (rs ^. lafprsNextToken) = Nothing-          | stop (rs ^. lafprsAccounts) = Nothing-          | otherwise =-            Just $ rq & lafpNextToken .~ rs ^. lafprsNextToken--instance AWSRequest ListAccountsForParent where-        type Rs ListAccountsForParent =-             ListAccountsForParentResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 ListAccountsForParentResponse' <$>-                   (x .?> "Accounts" .!@ mempty) <*> (x .?> "NextToken")-                     <*> (pure (fromEnum s)))--instance Hashable ListAccountsForParent where--instance NFData ListAccountsForParent where--instance ToHeaders ListAccountsForParent where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.ListAccountsForParent" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListAccountsForParent where-        toJSON ListAccountsForParent'{..}-          = object-              (catMaybes-                 [("NextToken" .=) <$> _lafpNextToken,-                  ("MaxResults" .=) <$> _lafpMaxResults,-                  Just ("ParentId" .= _lafpParentId)])--instance ToPath ListAccountsForParent where-        toPath = const "/"--instance ToQuery ListAccountsForParent where-        toQuery = const mempty---- | /See:/ 'listAccountsForParentResponse' smart constructor.-data ListAccountsForParentResponse = ListAccountsForParentResponse'-  { _lafprsAccounts       :: !(Maybe [Account])-  , _lafprsNextToken      :: !(Maybe Text)-  , _lafprsResponseStatus :: !Int-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ListAccountsForParentResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lafprsAccounts' - A list of the accounts in the specified root or OU.------ * 'lafprsNextToken' - If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .------ * 'lafprsResponseStatus' - -- | The response status code.-listAccountsForParentResponse-    :: Int -- ^ 'lafprsResponseStatus'-    -> ListAccountsForParentResponse-listAccountsForParentResponse pResponseStatus_ =-  ListAccountsForParentResponse'-    { _lafprsAccounts = Nothing-    , _lafprsNextToken = Nothing-    , _lafprsResponseStatus = pResponseStatus_-    }----- | A list of the accounts in the specified root or OU.-lafprsAccounts :: Lens' ListAccountsForParentResponse [Account]-lafprsAccounts = lens _lafprsAccounts (\ s a -> s{_lafprsAccounts = a}) . _Default . _Coerce---- | If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .-lafprsNextToken :: Lens' ListAccountsForParentResponse (Maybe Text)-lafprsNextToken = lens _lafprsNextToken (\ s a -> s{_lafprsNextToken = a})---- | -- | The response status code.-lafprsResponseStatus :: Lens' ListAccountsForParentResponse Int-lafprsResponseStatus = lens _lafprsResponseStatus (\ s a -> s{_lafprsResponseStatus = a})--instance NFData ListAccountsForParentResponse where
− gen/Network/AWS/Organizations/ListChildren.hs
@@ -1,191 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.ListChildren--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Lists all of the OUs or accounts that are contained in the specified parent OU or root. This operation, along with 'ListParents' enables you to traverse the tree structure that makes up this root.--------- This operation can be called only from the organization's master account.--------- This operation returns paginated results.-module Network.AWS.Organizations.ListChildren-    (-    -- * Creating a Request-      listChildren-    , ListChildren-    -- * Request Lenses-    , lcNextToken-    , lcMaxResults-    , lcParentId-    , lcChildType--    -- * Destructuring the Response-    , listChildrenResponse-    , ListChildrenResponse-    -- * Response Lenses-    , lcrsChildren-    , lcrsNextToken-    , lcrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listChildren' smart constructor.-data ListChildren = ListChildren'-  { _lcNextToken  :: !(Maybe Text)-  , _lcMaxResults :: !(Maybe Nat)-  , _lcParentId   :: !Text-  , _lcChildType  :: !ChildType-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListChildren' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lcNextToken' - Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.------ * 'lcMaxResults' - (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.------ * 'lcParentId' - The unique identifier (ID) for the parent root or OU whose children you want to list. The <http://wikipedia.org/wiki/regex 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.------ * 'lcChildType' - Filters the output to include only the specified child type.-listChildren-    :: Text -- ^ 'lcParentId'-    -> ChildType -- ^ 'lcChildType'-    -> ListChildren-listChildren pParentId_ pChildType_ =-  ListChildren'-    { _lcNextToken = Nothing-    , _lcMaxResults = Nothing-    , _lcParentId = pParentId_-    , _lcChildType = pChildType_-    }----- | Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.-lcNextToken :: Lens' ListChildren (Maybe Text)-lcNextToken = lens _lcNextToken (\ s a -> s{_lcNextToken = a})---- | (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-lcMaxResults :: Lens' ListChildren (Maybe Natural)-lcMaxResults = lens _lcMaxResults (\ s a -> s{_lcMaxResults = a}) . mapping _Nat---- | The unique identifier (ID) for the parent root or OU whose children you want to list. The <http://wikipedia.org/wiki/regex 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.-lcParentId :: Lens' ListChildren Text-lcParentId = lens _lcParentId (\ s a -> s{_lcParentId = a})---- | Filters the output to include only the specified child type.-lcChildType :: Lens' ListChildren ChildType-lcChildType = lens _lcChildType (\ s a -> s{_lcChildType = a})--instance AWSPager ListChildren where-        page rq rs-          | stop (rs ^. lcrsNextToken) = Nothing-          | stop (rs ^. lcrsChildren) = Nothing-          | otherwise =-            Just $ rq & lcNextToken .~ rs ^. lcrsNextToken--instance AWSRequest ListChildren where-        type Rs ListChildren = ListChildrenResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 ListChildrenResponse' <$>-                   (x .?> "Children" .!@ mempty) <*> (x .?> "NextToken")-                     <*> (pure (fromEnum s)))--instance Hashable ListChildren where--instance NFData ListChildren where--instance ToHeaders ListChildren where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.ListChildren" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListChildren where-        toJSON ListChildren'{..}-          = object-              (catMaybes-                 [("NextToken" .=) <$> _lcNextToken,-                  ("MaxResults" .=) <$> _lcMaxResults,-                  Just ("ParentId" .= _lcParentId),-                  Just ("ChildType" .= _lcChildType)])--instance ToPath ListChildren where-        toPath = const "/"--instance ToQuery ListChildren where-        toQuery = const mempty---- | /See:/ 'listChildrenResponse' smart constructor.-data ListChildrenResponse = ListChildrenResponse'-  { _lcrsChildren       :: !(Maybe [Child])-  , _lcrsNextToken      :: !(Maybe Text)-  , _lcrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListChildrenResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lcrsChildren' - The list of children of the specified parent container.------ * 'lcrsNextToken' - If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .------ * 'lcrsResponseStatus' - -- | The response status code.-listChildrenResponse-    :: Int -- ^ 'lcrsResponseStatus'-    -> ListChildrenResponse-listChildrenResponse pResponseStatus_ =-  ListChildrenResponse'-    { _lcrsChildren = Nothing-    , _lcrsNextToken = Nothing-    , _lcrsResponseStatus = pResponseStatus_-    }----- | The list of children of the specified parent container.-lcrsChildren :: Lens' ListChildrenResponse [Child]-lcrsChildren = lens _lcrsChildren (\ s a -> s{_lcrsChildren = a}) . _Default . _Coerce---- | If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .-lcrsNextToken :: Lens' ListChildrenResponse (Maybe Text)-lcrsNextToken = lens _lcrsNextToken (\ s a -> s{_lcrsNextToken = a})---- | -- | The response status code.-lcrsResponseStatus :: Lens' ListChildrenResponse Int-lcrsResponseStatus = lens _lcrsResponseStatus (\ s a -> s{_lcrsResponseStatus = a})--instance NFData ListChildrenResponse where
− gen/Network/AWS/Organizations/ListCreateAccountStatus.hs
@@ -1,178 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.ListCreateAccountStatus--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Lists the account creation requests that match the specified status that is currently being tracked for the organization.--------- This operation can be called only from the organization's master account.--------- This operation returns paginated results.-module Network.AWS.Organizations.ListCreateAccountStatus-    (-    -- * Creating a Request-      listCreateAccountStatus-    , ListCreateAccountStatus-    -- * Request Lenses-    , lcasStates-    , lcasNextToken-    , lcasMaxResults--    -- * Destructuring the Response-    , listCreateAccountStatusResponse-    , ListCreateAccountStatusResponse-    -- * Response Lenses-    , lcasrsCreateAccountStatuses-    , lcasrsNextToken-    , lcasrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listCreateAccountStatus' smart constructor.-data ListCreateAccountStatus = ListCreateAccountStatus'-  { _lcasStates     :: !(Maybe [CreateAccountState])-  , _lcasNextToken  :: !(Maybe Text)-  , _lcasMaxResults :: !(Maybe Nat)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListCreateAccountStatus' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lcasStates' - A list of one or more states that you want included in the response. If this parameter is not present, then all requests are included in the response.------ * 'lcasNextToken' - Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.------ * 'lcasMaxResults' - (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-listCreateAccountStatus-    :: ListCreateAccountStatus-listCreateAccountStatus =-  ListCreateAccountStatus'-    {_lcasStates = Nothing, _lcasNextToken = Nothing, _lcasMaxResults = Nothing}----- | A list of one or more states that you want included in the response. If this parameter is not present, then all requests are included in the response.-lcasStates :: Lens' ListCreateAccountStatus [CreateAccountState]-lcasStates = lens _lcasStates (\ s a -> s{_lcasStates = a}) . _Default . _Coerce---- | Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.-lcasNextToken :: Lens' ListCreateAccountStatus (Maybe Text)-lcasNextToken = lens _lcasNextToken (\ s a -> s{_lcasNextToken = a})---- | (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-lcasMaxResults :: Lens' ListCreateAccountStatus (Maybe Natural)-lcasMaxResults = lens _lcasMaxResults (\ s a -> s{_lcasMaxResults = a}) . mapping _Nat--instance AWSPager ListCreateAccountStatus where-        page rq rs-          | stop (rs ^. lcasrsNextToken) = Nothing-          | stop (rs ^. lcasrsCreateAccountStatuses) = Nothing-          | otherwise =-            Just $ rq & lcasNextToken .~ rs ^. lcasrsNextToken--instance AWSRequest ListCreateAccountStatus where-        type Rs ListCreateAccountStatus =-             ListCreateAccountStatusResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 ListCreateAccountStatusResponse' <$>-                   (x .?> "CreateAccountStatuses" .!@ mempty) <*>-                     (x .?> "NextToken")-                     <*> (pure (fromEnum s)))--instance Hashable ListCreateAccountStatus where--instance NFData ListCreateAccountStatus where--instance ToHeaders ListCreateAccountStatus where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.ListCreateAccountStatus"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListCreateAccountStatus where-        toJSON ListCreateAccountStatus'{..}-          = object-              (catMaybes-                 [("States" .=) <$> _lcasStates,-                  ("NextToken" .=) <$> _lcasNextToken,-                  ("MaxResults" .=) <$> _lcasMaxResults])--instance ToPath ListCreateAccountStatus where-        toPath = const "/"--instance ToQuery ListCreateAccountStatus where-        toQuery = const mempty---- | /See:/ 'listCreateAccountStatusResponse' smart constructor.-data ListCreateAccountStatusResponse = ListCreateAccountStatusResponse'-  { _lcasrsCreateAccountStatuses :: !(Maybe [CreateAccountStatus])-  , _lcasrsNextToken             :: !(Maybe Text)-  , _lcasrsResponseStatus        :: !Int-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ListCreateAccountStatusResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lcasrsCreateAccountStatuses' - A list of objects with details about the requests. Certain elements, such as the accountId number, are present in the output only after the account has been successfully created.------ * 'lcasrsNextToken' - If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .------ * 'lcasrsResponseStatus' - -- | The response status code.-listCreateAccountStatusResponse-    :: Int -- ^ 'lcasrsResponseStatus'-    -> ListCreateAccountStatusResponse-listCreateAccountStatusResponse pResponseStatus_ =-  ListCreateAccountStatusResponse'-    { _lcasrsCreateAccountStatuses = Nothing-    , _lcasrsNextToken = Nothing-    , _lcasrsResponseStatus = pResponseStatus_-    }----- | A list of objects with details about the requests. Certain elements, such as the accountId number, are present in the output only after the account has been successfully created.-lcasrsCreateAccountStatuses :: Lens' ListCreateAccountStatusResponse [CreateAccountStatus]-lcasrsCreateAccountStatuses = lens _lcasrsCreateAccountStatuses (\ s a -> s{_lcasrsCreateAccountStatuses = a}) . _Default . _Coerce---- | If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .-lcasrsNextToken :: Lens' ListCreateAccountStatusResponse (Maybe Text)-lcasrsNextToken = lens _lcasrsNextToken (\ s a -> s{_lcasrsNextToken = a})---- | -- | The response status code.-lcasrsResponseStatus :: Lens' ListCreateAccountStatusResponse Int-lcasrsResponseStatus = lens _lcasrsResponseStatus (\ s a -> s{_lcasrsResponseStatus = a})--instance NFData ListCreateAccountStatusResponse where
− gen/Network/AWS/Organizations/ListHandshakesForAccount.hs
@@ -1,181 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.ListHandshakesForAccount--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Lists the current handshakes that are associated with the account of the requesting user.--------- Handshakes that are ACCEPTED, DECLINED, or CANCELED appear in the results of this API for only 30 days after changing to that state. After that they are deleted and no longer accessible.------ This operation can be called from any account in the organization.--------- This operation returns paginated results.-module Network.AWS.Organizations.ListHandshakesForAccount-    (-    -- * Creating a Request-      listHandshakesForAccount-    , ListHandshakesForAccount-    -- * Request Lenses-    , lhfaNextToken-    , lhfaFilter-    , lhfaMaxResults--    -- * Destructuring the Response-    , listHandshakesForAccountResponse-    , ListHandshakesForAccountResponse-    -- * Response Lenses-    , lhfarsHandshakes-    , lhfarsNextToken-    , lhfarsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listHandshakesForAccount' smart constructor.-data ListHandshakesForAccount = ListHandshakesForAccount'-  { _lhfaNextToken  :: !(Maybe Text)-  , _lhfaFilter     :: !(Maybe HandshakeFilter)-  , _lhfaMaxResults :: !(Maybe Nat)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListHandshakesForAccount' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lhfaNextToken' - Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.------ * 'lhfaFilter' - Filters the handshakes that you want included in the response. The default is all types. Use the @ActionType@ element to limit the output to only a specified type, such as @INVITE@ , @ENABLE-FULL-CONTROL@ , or @APPROVE-FULL-CONTROL@ . Alternatively, for the @ENABLE-FULL-CONTROL@ handshake that generates a separate child handshake for each member account, you can specify @ParentHandshakeId@ to see only the handshakes that were generated by that parent request.------ * 'lhfaMaxResults' - (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-listHandshakesForAccount-    :: ListHandshakesForAccount-listHandshakesForAccount =-  ListHandshakesForAccount'-    {_lhfaNextToken = Nothing, _lhfaFilter = Nothing, _lhfaMaxResults = Nothing}----- | Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.-lhfaNextToken :: Lens' ListHandshakesForAccount (Maybe Text)-lhfaNextToken = lens _lhfaNextToken (\ s a -> s{_lhfaNextToken = a})---- | Filters the handshakes that you want included in the response. The default is all types. Use the @ActionType@ element to limit the output to only a specified type, such as @INVITE@ , @ENABLE-FULL-CONTROL@ , or @APPROVE-FULL-CONTROL@ . Alternatively, for the @ENABLE-FULL-CONTROL@ handshake that generates a separate child handshake for each member account, you can specify @ParentHandshakeId@ to see only the handshakes that were generated by that parent request.-lhfaFilter :: Lens' ListHandshakesForAccount (Maybe HandshakeFilter)-lhfaFilter = lens _lhfaFilter (\ s a -> s{_lhfaFilter = a})---- | (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-lhfaMaxResults :: Lens' ListHandshakesForAccount (Maybe Natural)-lhfaMaxResults = lens _lhfaMaxResults (\ s a -> s{_lhfaMaxResults = a}) . mapping _Nat--instance AWSPager ListHandshakesForAccount where-        page rq rs-          | stop (rs ^. lhfarsNextToken) = Nothing-          | stop (rs ^. lhfarsHandshakes) = Nothing-          | otherwise =-            Just $ rq & lhfaNextToken .~ rs ^. lhfarsNextToken--instance AWSRequest ListHandshakesForAccount where-        type Rs ListHandshakesForAccount =-             ListHandshakesForAccountResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 ListHandshakesForAccountResponse' <$>-                   (x .?> "Handshakes" .!@ mempty) <*>-                     (x .?> "NextToken")-                     <*> (pure (fromEnum s)))--instance Hashable ListHandshakesForAccount where--instance NFData ListHandshakesForAccount where--instance ToHeaders ListHandshakesForAccount where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.ListHandshakesForAccount"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListHandshakesForAccount where-        toJSON ListHandshakesForAccount'{..}-          = object-              (catMaybes-                 [("NextToken" .=) <$> _lhfaNextToken,-                  ("Filter" .=) <$> _lhfaFilter,-                  ("MaxResults" .=) <$> _lhfaMaxResults])--instance ToPath ListHandshakesForAccount where-        toPath = const "/"--instance ToQuery ListHandshakesForAccount where-        toQuery = const mempty---- | /See:/ 'listHandshakesForAccountResponse' smart constructor.-data ListHandshakesForAccountResponse = ListHandshakesForAccountResponse'-  { _lhfarsHandshakes     :: !(Maybe [Handshake])-  , _lhfarsNextToken      :: !(Maybe Text)-  , _lhfarsResponseStatus :: !Int-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ListHandshakesForAccountResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lhfarsHandshakes' - A list of 'Handshake' objects with details about each of the handshakes that is associated with the specified account.------ * 'lhfarsNextToken' - If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .------ * 'lhfarsResponseStatus' - -- | The response status code.-listHandshakesForAccountResponse-    :: Int -- ^ 'lhfarsResponseStatus'-    -> ListHandshakesForAccountResponse-listHandshakesForAccountResponse pResponseStatus_ =-  ListHandshakesForAccountResponse'-    { _lhfarsHandshakes = Nothing-    , _lhfarsNextToken = Nothing-    , _lhfarsResponseStatus = pResponseStatus_-    }----- | A list of 'Handshake' objects with details about each of the handshakes that is associated with the specified account.-lhfarsHandshakes :: Lens' ListHandshakesForAccountResponse [Handshake]-lhfarsHandshakes = lens _lhfarsHandshakes (\ s a -> s{_lhfarsHandshakes = a}) . _Default . _Coerce---- | If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .-lhfarsNextToken :: Lens' ListHandshakesForAccountResponse (Maybe Text)-lhfarsNextToken = lens _lhfarsNextToken (\ s a -> s{_lhfarsNextToken = a})---- | -- | The response status code.-lhfarsResponseStatus :: Lens' ListHandshakesForAccountResponse Int-lhfarsResponseStatus = lens _lhfarsResponseStatus (\ s a -> s{_lhfarsResponseStatus = a})--instance NFData ListHandshakesForAccountResponse-         where
− gen/Network/AWS/Organizations/ListHandshakesForOrganization.hs
@@ -1,183 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.ListHandshakesForOrganization--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Lists the handshakes that are associated with the organization that the requesting user is part of. The @ListHandshakesForOrganization@ operation returns a list of handshake structures. Each structure contains details and status about a handshake.--------- Handshakes that are ACCEPTED, DECLINED, or CANCELED appear in the results of this API for only 30 days after changing to that state. After that they are deleted and no longer accessible.------ This operation can be called only from the organization's master account.--------- This operation returns paginated results.-module Network.AWS.Organizations.ListHandshakesForOrganization-    (-    -- * Creating a Request-      listHandshakesForOrganization-    , ListHandshakesForOrganization-    -- * Request Lenses-    , lhfoNextToken-    , lhfoFilter-    , lhfoMaxResults--    -- * Destructuring the Response-    , listHandshakesForOrganizationResponse-    , ListHandshakesForOrganizationResponse-    -- * Response Lenses-    , lhforsHandshakes-    , lhforsNextToken-    , lhforsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listHandshakesForOrganization' smart constructor.-data ListHandshakesForOrganization = ListHandshakesForOrganization'-  { _lhfoNextToken  :: !(Maybe Text)-  , _lhfoFilter     :: !(Maybe HandshakeFilter)-  , _lhfoMaxResults :: !(Maybe Nat)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListHandshakesForOrganization' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lhfoNextToken' - Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.------ * 'lhfoFilter' - A filter of the handshakes that you want included in the response. The default is all types. Use the @ActionType@ element to limit the output to only a specified type, such as @INVITE@ , @ENABLE-ALL-FEATURES@ , or @APPROVE-ALL-FEATURES@ . Alternatively, for the @ENABLE-ALL-FEATURES@ handshake that generates a separate child handshake for each member account, you can specify the @ParentHandshakeId@ to see only the handshakes that were generated by that parent request.------ * 'lhfoMaxResults' - (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-listHandshakesForOrganization-    :: ListHandshakesForOrganization-listHandshakesForOrganization =-  ListHandshakesForOrganization'-    {_lhfoNextToken = Nothing, _lhfoFilter = Nothing, _lhfoMaxResults = Nothing}----- | Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.-lhfoNextToken :: Lens' ListHandshakesForOrganization (Maybe Text)-lhfoNextToken = lens _lhfoNextToken (\ s a -> s{_lhfoNextToken = a})---- | A filter of the handshakes that you want included in the response. The default is all types. Use the @ActionType@ element to limit the output to only a specified type, such as @INVITE@ , @ENABLE-ALL-FEATURES@ , or @APPROVE-ALL-FEATURES@ . Alternatively, for the @ENABLE-ALL-FEATURES@ handshake that generates a separate child handshake for each member account, you can specify the @ParentHandshakeId@ to see only the handshakes that were generated by that parent request.-lhfoFilter :: Lens' ListHandshakesForOrganization (Maybe HandshakeFilter)-lhfoFilter = lens _lhfoFilter (\ s a -> s{_lhfoFilter = a})---- | (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-lhfoMaxResults :: Lens' ListHandshakesForOrganization (Maybe Natural)-lhfoMaxResults = lens _lhfoMaxResults (\ s a -> s{_lhfoMaxResults = a}) . mapping _Nat--instance AWSPager ListHandshakesForOrganization where-        page rq rs-          | stop (rs ^. lhforsNextToken) = Nothing-          | stop (rs ^. lhforsHandshakes) = Nothing-          | otherwise =-            Just $ rq & lhfoNextToken .~ rs ^. lhforsNextToken--instance AWSRequest ListHandshakesForOrganization-         where-        type Rs ListHandshakesForOrganization =-             ListHandshakesForOrganizationResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 ListHandshakesForOrganizationResponse' <$>-                   (x .?> "Handshakes" .!@ mempty) <*>-                     (x .?> "NextToken")-                     <*> (pure (fromEnum s)))--instance Hashable ListHandshakesForOrganization where--instance NFData ListHandshakesForOrganization where--instance ToHeaders ListHandshakesForOrganization-         where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.ListHandshakesForOrganization"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListHandshakesForOrganization where-        toJSON ListHandshakesForOrganization'{..}-          = object-              (catMaybes-                 [("NextToken" .=) <$> _lhfoNextToken,-                  ("Filter" .=) <$> _lhfoFilter,-                  ("MaxResults" .=) <$> _lhfoMaxResults])--instance ToPath ListHandshakesForOrganization where-        toPath = const "/"--instance ToQuery ListHandshakesForOrganization where-        toQuery = const mempty---- | /See:/ 'listHandshakesForOrganizationResponse' smart constructor.-data ListHandshakesForOrganizationResponse = ListHandshakesForOrganizationResponse'-  { _lhforsHandshakes     :: !(Maybe [Handshake])-  , _lhforsNextToken      :: !(Maybe Text)-  , _lhforsResponseStatus :: !Int-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ListHandshakesForOrganizationResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lhforsHandshakes' - A list of 'Handshake' objects with details about each of the handshakes that are associated with an organization.------ * 'lhforsNextToken' - If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .------ * 'lhforsResponseStatus' - -- | The response status code.-listHandshakesForOrganizationResponse-    :: Int -- ^ 'lhforsResponseStatus'-    -> ListHandshakesForOrganizationResponse-listHandshakesForOrganizationResponse pResponseStatus_ =-  ListHandshakesForOrganizationResponse'-    { _lhforsHandshakes = Nothing-    , _lhforsNextToken = Nothing-    , _lhforsResponseStatus = pResponseStatus_-    }----- | A list of 'Handshake' objects with details about each of the handshakes that are associated with an organization.-lhforsHandshakes :: Lens' ListHandshakesForOrganizationResponse [Handshake]-lhforsHandshakes = lens _lhforsHandshakes (\ s a -> s{_lhforsHandshakes = a}) . _Default . _Coerce---- | If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .-lhforsNextToken :: Lens' ListHandshakesForOrganizationResponse (Maybe Text)-lhforsNextToken = lens _lhforsNextToken (\ s a -> s{_lhforsNextToken = a})---- | -- | The response status code.-lhforsResponseStatus :: Lens' ListHandshakesForOrganizationResponse Int-lhforsResponseStatus = lens _lhforsResponseStatus (\ s a -> s{_lhforsResponseStatus = a})--instance NFData ListHandshakesForOrganizationResponse-         where
− gen/Network/AWS/Organizations/ListOrganizationalUnitsForParent.hs
@@ -1,192 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.ListOrganizationalUnitsForParent--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Lists the organizational units (OUs) in a parent organizational unit or root.--------- This operation can be called only from the organization's master account.--------- This operation returns paginated results.-module Network.AWS.Organizations.ListOrganizationalUnitsForParent-    (-    -- * Creating a Request-      listOrganizationalUnitsForParent-    , ListOrganizationalUnitsForParent-    -- * Request Lenses-    , loufpNextToken-    , loufpMaxResults-    , loufpParentId--    -- * Destructuring the Response-    , listOrganizationalUnitsForParentResponse-    , ListOrganizationalUnitsForParentResponse-    -- * Response Lenses-    , loufprsNextToken-    , loufprsOrganizationalUnits-    , loufprsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listOrganizationalUnitsForParent' smart constructor.-data ListOrganizationalUnitsForParent = ListOrganizationalUnitsForParent'-  { _loufpNextToken  :: !(Maybe Text)-  , _loufpMaxResults :: !(Maybe Nat)-  , _loufpParentId   :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListOrganizationalUnitsForParent' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'loufpNextToken' - Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.------ * 'loufpMaxResults' - (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.------ * 'loufpParentId' - The unique identifier (ID) of the root or OU whose child OUs you want to list. The <http://wikipedia.org/wiki/regex 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.-listOrganizationalUnitsForParent-    :: Text -- ^ 'loufpParentId'-    -> ListOrganizationalUnitsForParent-listOrganizationalUnitsForParent pParentId_ =-  ListOrganizationalUnitsForParent'-    { _loufpNextToken = Nothing-    , _loufpMaxResults = Nothing-    , _loufpParentId = pParentId_-    }----- | Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.-loufpNextToken :: Lens' ListOrganizationalUnitsForParent (Maybe Text)-loufpNextToken = lens _loufpNextToken (\ s a -> s{_loufpNextToken = a})---- | (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-loufpMaxResults :: Lens' ListOrganizationalUnitsForParent (Maybe Natural)-loufpMaxResults = lens _loufpMaxResults (\ s a -> s{_loufpMaxResults = a}) . mapping _Nat---- | The unique identifier (ID) of the root or OU whose child OUs you want to list. The <http://wikipedia.org/wiki/regex 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.-loufpParentId :: Lens' ListOrganizationalUnitsForParent Text-loufpParentId = lens _loufpParentId (\ s a -> s{_loufpParentId = a})--instance AWSPager ListOrganizationalUnitsForParent-         where-        page rq rs-          | stop (rs ^. loufprsNextToken) = Nothing-          | stop (rs ^. loufprsOrganizationalUnits) = Nothing-          | otherwise =-            Just $ rq & loufpNextToken .~ rs ^. loufprsNextToken--instance AWSRequest ListOrganizationalUnitsForParent-         where-        type Rs ListOrganizationalUnitsForParent =-             ListOrganizationalUnitsForParentResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 ListOrganizationalUnitsForParentResponse' <$>-                   (x .?> "NextToken") <*>-                     (x .?> "OrganizationalUnits" .!@ mempty)-                     <*> (pure (fromEnum s)))--instance Hashable ListOrganizationalUnitsForParent-         where--instance NFData ListOrganizationalUnitsForParent-         where--instance ToHeaders ListOrganizationalUnitsForParent-         where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.ListOrganizationalUnitsForParent"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListOrganizationalUnitsForParent-         where-        toJSON ListOrganizationalUnitsForParent'{..}-          = object-              (catMaybes-                 [("NextToken" .=) <$> _loufpNextToken,-                  ("MaxResults" .=) <$> _loufpMaxResults,-                  Just ("ParentId" .= _loufpParentId)])--instance ToPath ListOrganizationalUnitsForParent-         where-        toPath = const "/"--instance ToQuery ListOrganizationalUnitsForParent-         where-        toQuery = const mempty---- | /See:/ 'listOrganizationalUnitsForParentResponse' smart constructor.-data ListOrganizationalUnitsForParentResponse = ListOrganizationalUnitsForParentResponse'-  { _loufprsNextToken           :: !(Maybe Text)-  , _loufprsOrganizationalUnits :: !(Maybe [OrganizationalUnit])-  , _loufprsResponseStatus      :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListOrganizationalUnitsForParentResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'loufprsNextToken' - If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .------ * 'loufprsOrganizationalUnits' - A list of the OUs in the specified root or parent OU.------ * 'loufprsResponseStatus' - -- | The response status code.-listOrganizationalUnitsForParentResponse-    :: Int -- ^ 'loufprsResponseStatus'-    -> ListOrganizationalUnitsForParentResponse-listOrganizationalUnitsForParentResponse pResponseStatus_ =-  ListOrganizationalUnitsForParentResponse'-    { _loufprsNextToken = Nothing-    , _loufprsOrganizationalUnits = Nothing-    , _loufprsResponseStatus = pResponseStatus_-    }----- | If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .-loufprsNextToken :: Lens' ListOrganizationalUnitsForParentResponse (Maybe Text)-loufprsNextToken = lens _loufprsNextToken (\ s a -> s{_loufprsNextToken = a})---- | A list of the OUs in the specified root or parent OU.-loufprsOrganizationalUnits :: Lens' ListOrganizationalUnitsForParentResponse [OrganizationalUnit]-loufprsOrganizationalUnits = lens _loufprsOrganizationalUnits (\ s a -> s{_loufprsOrganizationalUnits = a}) . _Default . _Coerce---- | -- | The response status code.-loufprsResponseStatus :: Lens' ListOrganizationalUnitsForParentResponse Int-loufprsResponseStatus = lens _loufprsResponseStatus (\ s a -> s{_loufprsResponseStatus = a})--instance NFData-           ListOrganizationalUnitsForParentResponse-         where
− gen/Network/AWS/Organizations/ListParents.hs
@@ -1,177 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.ListParents--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Lists the root or organizational units (OUs) that serve as the immediate parent of the specified child OU or account. This operation, along with 'ListChildren' enables you to traverse the tree structure that makes up this root.--------- This operation can be called only from the organization's master account.--------- This operation returns paginated results.-module Network.AWS.Organizations.ListParents-    (-    -- * Creating a Request-      listParents-    , ListParents-    -- * Request Lenses-    , lNextToken-    , lMaxResults-    , lChildId--    -- * Destructuring the Response-    , listParentsResponse-    , ListParentsResponse-    -- * Response Lenses-    , lrsNextToken-    , lrsParents-    , lrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listParents' smart constructor.-data ListParents = ListParents'-  { _lNextToken  :: !(Maybe Text)-  , _lMaxResults :: !(Maybe Nat)-  , _lChildId    :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListParents' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lNextToken' - Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.------ * 'lMaxResults' - (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.------ * 'lChildId' - The unique identifier (ID) of the OU or account whose parent containers you want to list. Do not specify a root. The <http://wikipedia.org/wiki/regex 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.-listParents-    :: Text -- ^ 'lChildId'-    -> ListParents-listParents pChildId_ =-  ListParents'-    {_lNextToken = Nothing, _lMaxResults = Nothing, _lChildId = pChildId_}----- | Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.-lNextToken :: Lens' ListParents (Maybe Text)-lNextToken = lens _lNextToken (\ s a -> s{_lNextToken = a})---- | (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-lMaxResults :: Lens' ListParents (Maybe Natural)-lMaxResults = lens _lMaxResults (\ s a -> s{_lMaxResults = a}) . mapping _Nat---- | The unique identifier (ID) of the OU or account whose parent containers you want to list. Do not specify a root. The <http://wikipedia.org/wiki/regex 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.-lChildId :: Lens' ListParents Text-lChildId = lens _lChildId (\ s a -> s{_lChildId = a})--instance AWSPager ListParents where-        page rq rs-          | stop (rs ^. lrsNextToken) = Nothing-          | stop (rs ^. lrsParents) = Nothing-          | otherwise =-            Just $ rq & lNextToken .~ rs ^. lrsNextToken--instance AWSRequest ListParents where-        type Rs ListParents = ListParentsResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 ListParentsResponse' <$>-                   (x .?> "NextToken") <*> (x .?> "Parents" .!@ mempty)-                     <*> (pure (fromEnum s)))--instance Hashable ListParents where--instance NFData ListParents where--instance ToHeaders ListParents where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.ListParents" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListParents where-        toJSON ListParents'{..}-          = object-              (catMaybes-                 [("NextToken" .=) <$> _lNextToken,-                  ("MaxResults" .=) <$> _lMaxResults,-                  Just ("ChildId" .= _lChildId)])--instance ToPath ListParents where-        toPath = const "/"--instance ToQuery ListParents where-        toQuery = const mempty---- | /See:/ 'listParentsResponse' smart constructor.-data ListParentsResponse = ListParentsResponse'-  { _lrsNextToken      :: !(Maybe Text)-  , _lrsParents        :: !(Maybe [Parent])-  , _lrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListParentsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lrsNextToken' - If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .------ * 'lrsParents' - A list of parents for the specified child account or OU.------ * 'lrsResponseStatus' - -- | The response status code.-listParentsResponse-    :: Int -- ^ 'lrsResponseStatus'-    -> ListParentsResponse-listParentsResponse pResponseStatus_ =-  ListParentsResponse'-    { _lrsNextToken = Nothing-    , _lrsParents = Nothing-    , _lrsResponseStatus = pResponseStatus_-    }----- | If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .-lrsNextToken :: Lens' ListParentsResponse (Maybe Text)-lrsNextToken = lens _lrsNextToken (\ s a -> s{_lrsNextToken = a})---- | A list of parents for the specified child account or OU.-lrsParents :: Lens' ListParentsResponse [Parent]-lrsParents = lens _lrsParents (\ s a -> s{_lrsParents = a}) . _Default . _Coerce---- | -- | The response status code.-lrsResponseStatus :: Lens' ListParentsResponse Int-lrsResponseStatus = lens _lrsResponseStatus (\ s a -> s{_lrsResponseStatus = a})--instance NFData ListParentsResponse where
− gen/Network/AWS/Organizations/ListPolicies.hs
@@ -1,177 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.ListPolicies--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Retrieves the list of all policies in an organization of a specified type.--------- This operation can be called only from the organization's master account.--------- This operation returns paginated results.-module Network.AWS.Organizations.ListPolicies-    (-    -- * Creating a Request-      listPolicies-    , ListPolicies-    -- * Request Lenses-    , lpNextToken-    , lpMaxResults-    , lpFilter--    -- * Destructuring the Response-    , listPoliciesResponse-    , ListPoliciesResponse-    -- * Response Lenses-    , lprsNextToken-    , lprsPolicies-    , lprsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listPolicies' smart constructor.-data ListPolicies = ListPolicies'-  { _lpNextToken  :: !(Maybe Text)-  , _lpMaxResults :: !(Maybe Nat)-  , _lpFilter     :: !PolicyType-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListPolicies' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lpNextToken' - Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.------ * 'lpMaxResults' - (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.------ * 'lpFilter' - Specifies the type of policy that you want to include in the response.-listPolicies-    :: PolicyType -- ^ 'lpFilter'-    -> ListPolicies-listPolicies pFilter_ =-  ListPolicies'-    {_lpNextToken = Nothing, _lpMaxResults = Nothing, _lpFilter = pFilter_}----- | Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.-lpNextToken :: Lens' ListPolicies (Maybe Text)-lpNextToken = lens _lpNextToken (\ s a -> s{_lpNextToken = a})---- | (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-lpMaxResults :: Lens' ListPolicies (Maybe Natural)-lpMaxResults = lens _lpMaxResults (\ s a -> s{_lpMaxResults = a}) . mapping _Nat---- | Specifies the type of policy that you want to include in the response.-lpFilter :: Lens' ListPolicies PolicyType-lpFilter = lens _lpFilter (\ s a -> s{_lpFilter = a})--instance AWSPager ListPolicies where-        page rq rs-          | stop (rs ^. lprsNextToken) = Nothing-          | stop (rs ^. lprsPolicies) = Nothing-          | otherwise =-            Just $ rq & lpNextToken .~ rs ^. lprsNextToken--instance AWSRequest ListPolicies where-        type Rs ListPolicies = ListPoliciesResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 ListPoliciesResponse' <$>-                   (x .?> "NextToken") <*> (x .?> "Policies" .!@ mempty)-                     <*> (pure (fromEnum s)))--instance Hashable ListPolicies where--instance NFData ListPolicies where--instance ToHeaders ListPolicies where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.ListPolicies" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListPolicies where-        toJSON ListPolicies'{..}-          = object-              (catMaybes-                 [("NextToken" .=) <$> _lpNextToken,-                  ("MaxResults" .=) <$> _lpMaxResults,-                  Just ("Filter" .= _lpFilter)])--instance ToPath ListPolicies where-        toPath = const "/"--instance ToQuery ListPolicies where-        toQuery = const mempty---- | /See:/ 'listPoliciesResponse' smart constructor.-data ListPoliciesResponse = ListPoliciesResponse'-  { _lprsNextToken      :: !(Maybe Text)-  , _lprsPolicies       :: !(Maybe [PolicySummary])-  , _lprsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListPoliciesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lprsNextToken' - If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .------ * 'lprsPolicies' - A list of policies that match the filter criteria in the request. The output list does not include the policy contents. To see the content for a policy, see 'DescribePolicy' .------ * 'lprsResponseStatus' - -- | The response status code.-listPoliciesResponse-    :: Int -- ^ 'lprsResponseStatus'-    -> ListPoliciesResponse-listPoliciesResponse pResponseStatus_ =-  ListPoliciesResponse'-    { _lprsNextToken = Nothing-    , _lprsPolicies = Nothing-    , _lprsResponseStatus = pResponseStatus_-    }----- | If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .-lprsNextToken :: Lens' ListPoliciesResponse (Maybe Text)-lprsNextToken = lens _lprsNextToken (\ s a -> s{_lprsNextToken = a})---- | A list of policies that match the filter criteria in the request. The output list does not include the policy contents. To see the content for a policy, see 'DescribePolicy' .-lprsPolicies :: Lens' ListPoliciesResponse [PolicySummary]-lprsPolicies = lens _lprsPolicies (\ s a -> s{_lprsPolicies = a}) . _Default . _Coerce---- | -- | The response status code.-lprsResponseStatus :: Lens' ListPoliciesResponse Int-lprsResponseStatus = lens _lprsResponseStatus (\ s a -> s{_lprsResponseStatus = a})--instance NFData ListPoliciesResponse where
− gen/Network/AWS/Organizations/ListPoliciesForTarget.hs
@@ -1,192 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.ListPoliciesForTarget--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Lists the policies that are directly attached to the specified target root, organizational unit (OU), or account. You must specify the policy type that you want included in the returned list.--------- This operation can be called only from the organization's master account.--------- This operation returns paginated results.-module Network.AWS.Organizations.ListPoliciesForTarget-    (-    -- * Creating a Request-      listPoliciesForTarget-    , ListPoliciesForTarget-    -- * Request Lenses-    , lpftNextToken-    , lpftMaxResults-    , lpftTargetId-    , lpftFilter--    -- * Destructuring the Response-    , listPoliciesForTargetResponse-    , ListPoliciesForTargetResponse-    -- * Response Lenses-    , lpftrsNextToken-    , lpftrsPolicies-    , lpftrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listPoliciesForTarget' smart constructor.-data ListPoliciesForTarget = ListPoliciesForTarget'-  { _lpftNextToken  :: !(Maybe Text)-  , _lpftMaxResults :: !(Maybe Nat)-  , _lpftTargetId   :: !Text-  , _lpftFilter     :: !PolicyType-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListPoliciesForTarget' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lpftNextToken' - Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.------ * 'lpftMaxResults' - (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.------ * 'lpftTargetId' - The unique identifier (ID) of the root, organizational unit, or account whose policies you want to list. The <http://wikipedia.org/wiki/regex 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.------ * 'lpftFilter' - The type of policy that you want to include in the returned list.-listPoliciesForTarget-    :: Text -- ^ 'lpftTargetId'-    -> PolicyType -- ^ 'lpftFilter'-    -> ListPoliciesForTarget-listPoliciesForTarget pTargetId_ pFilter_ =-  ListPoliciesForTarget'-    { _lpftNextToken = Nothing-    , _lpftMaxResults = Nothing-    , _lpftTargetId = pTargetId_-    , _lpftFilter = pFilter_-    }----- | Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.-lpftNextToken :: Lens' ListPoliciesForTarget (Maybe Text)-lpftNextToken = lens _lpftNextToken (\ s a -> s{_lpftNextToken = a})---- | (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-lpftMaxResults :: Lens' ListPoliciesForTarget (Maybe Natural)-lpftMaxResults = lens _lpftMaxResults (\ s a -> s{_lpftMaxResults = a}) . mapping _Nat---- | The unique identifier (ID) of the root, organizational unit, or account whose policies you want to list. The <http://wikipedia.org/wiki/regex 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.-lpftTargetId :: Lens' ListPoliciesForTarget Text-lpftTargetId = lens _lpftTargetId (\ s a -> s{_lpftTargetId = a})---- | The type of policy that you want to include in the returned list.-lpftFilter :: Lens' ListPoliciesForTarget PolicyType-lpftFilter = lens _lpftFilter (\ s a -> s{_lpftFilter = a})--instance AWSPager ListPoliciesForTarget where-        page rq rs-          | stop (rs ^. lpftrsNextToken) = Nothing-          | stop (rs ^. lpftrsPolicies) = Nothing-          | otherwise =-            Just $ rq & lpftNextToken .~ rs ^. lpftrsNextToken--instance AWSRequest ListPoliciesForTarget where-        type Rs ListPoliciesForTarget =-             ListPoliciesForTargetResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 ListPoliciesForTargetResponse' <$>-                   (x .?> "NextToken") <*> (x .?> "Policies" .!@ mempty)-                     <*> (pure (fromEnum s)))--instance Hashable ListPoliciesForTarget where--instance NFData ListPoliciesForTarget where--instance ToHeaders ListPoliciesForTarget where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.ListPoliciesForTarget" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListPoliciesForTarget where-        toJSON ListPoliciesForTarget'{..}-          = object-              (catMaybes-                 [("NextToken" .=) <$> _lpftNextToken,-                  ("MaxResults" .=) <$> _lpftMaxResults,-                  Just ("TargetId" .= _lpftTargetId),-                  Just ("Filter" .= _lpftFilter)])--instance ToPath ListPoliciesForTarget where-        toPath = const "/"--instance ToQuery ListPoliciesForTarget where-        toQuery = const mempty---- | /See:/ 'listPoliciesForTargetResponse' smart constructor.-data ListPoliciesForTargetResponse = ListPoliciesForTargetResponse'-  { _lpftrsNextToken      :: !(Maybe Text)-  , _lpftrsPolicies       :: !(Maybe [PolicySummary])-  , _lpftrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListPoliciesForTargetResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lpftrsNextToken' - If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .------ * 'lpftrsPolicies' - The list of policies that match the criteria in the request.------ * 'lpftrsResponseStatus' - -- | The response status code.-listPoliciesForTargetResponse-    :: Int -- ^ 'lpftrsResponseStatus'-    -> ListPoliciesForTargetResponse-listPoliciesForTargetResponse pResponseStatus_ =-  ListPoliciesForTargetResponse'-    { _lpftrsNextToken = Nothing-    , _lpftrsPolicies = Nothing-    , _lpftrsResponseStatus = pResponseStatus_-    }----- | If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .-lpftrsNextToken :: Lens' ListPoliciesForTargetResponse (Maybe Text)-lpftrsNextToken = lens _lpftrsNextToken (\ s a -> s{_lpftrsNextToken = a})---- | The list of policies that match the criteria in the request.-lpftrsPolicies :: Lens' ListPoliciesForTargetResponse [PolicySummary]-lpftrsPolicies = lens _lpftrsPolicies (\ s a -> s{_lpftrsPolicies = a}) . _Default . _Coerce---- | -- | The response status code.-lpftrsResponseStatus :: Lens' ListPoliciesForTargetResponse Int-lpftrsResponseStatus = lens _lpftrsResponseStatus (\ s a -> s{_lpftrsResponseStatus = a})--instance NFData ListPoliciesForTargetResponse where
− gen/Network/AWS/Organizations/ListRoots.hs
@@ -1,165 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.ListRoots--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Lists the roots that are defined in the current organization.--------- This operation can be called only from the organization's master account.--------- This operation returns paginated results.-module Network.AWS.Organizations.ListRoots-    (-    -- * Creating a Request-      listRoots-    , ListRoots-    -- * Request Lenses-    , lrNextToken-    , lrMaxResults--    -- * Destructuring the Response-    , listRootsResponse-    , ListRootsResponse-    -- * Response Lenses-    , lrrsRoots-    , lrrsNextToken-    , lrrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listRoots' smart constructor.-data ListRoots = ListRoots'-  { _lrNextToken  :: !(Maybe Text)-  , _lrMaxResults :: !(Maybe Nat)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListRoots' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lrNextToken' - Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.------ * 'lrMaxResults' - (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-listRoots-    :: ListRoots-listRoots = ListRoots' {_lrNextToken = Nothing, _lrMaxResults = Nothing}----- | Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.-lrNextToken :: Lens' ListRoots (Maybe Text)-lrNextToken = lens _lrNextToken (\ s a -> s{_lrNextToken = a})---- | (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-lrMaxResults :: Lens' ListRoots (Maybe Natural)-lrMaxResults = lens _lrMaxResults (\ s a -> s{_lrMaxResults = a}) . mapping _Nat--instance AWSPager ListRoots where-        page rq rs-          | stop (rs ^. lrrsNextToken) = Nothing-          | stop (rs ^. lrrsRoots) = Nothing-          | otherwise =-            Just $ rq & lrNextToken .~ rs ^. lrrsNextToken--instance AWSRequest ListRoots where-        type Rs ListRoots = ListRootsResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 ListRootsResponse' <$>-                   (x .?> "Roots" .!@ mempty) <*> (x .?> "NextToken")-                     <*> (pure (fromEnum s)))--instance Hashable ListRoots where--instance NFData ListRoots where--instance ToHeaders ListRoots where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.ListRoots" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListRoots where-        toJSON ListRoots'{..}-          = object-              (catMaybes-                 [("NextToken" .=) <$> _lrNextToken,-                  ("MaxResults" .=) <$> _lrMaxResults])--instance ToPath ListRoots where-        toPath = const "/"--instance ToQuery ListRoots where-        toQuery = const mempty---- | /See:/ 'listRootsResponse' smart constructor.-data ListRootsResponse = ListRootsResponse'-  { _lrrsRoots          :: !(Maybe [Root])-  , _lrrsNextToken      :: !(Maybe Text)-  , _lrrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListRootsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lrrsRoots' - A list of roots that are defined in an organization.------ * 'lrrsNextToken' - If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .------ * 'lrrsResponseStatus' - -- | The response status code.-listRootsResponse-    :: Int -- ^ 'lrrsResponseStatus'-    -> ListRootsResponse-listRootsResponse pResponseStatus_ =-  ListRootsResponse'-    { _lrrsRoots = Nothing-    , _lrrsNextToken = Nothing-    , _lrrsResponseStatus = pResponseStatus_-    }----- | A list of roots that are defined in an organization.-lrrsRoots :: Lens' ListRootsResponse [Root]-lrrsRoots = lens _lrrsRoots (\ s a -> s{_lrrsRoots = a}) . _Default . _Coerce---- | If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .-lrrsNextToken :: Lens' ListRootsResponse (Maybe Text)-lrrsNextToken = lens _lrrsNextToken (\ s a -> s{_lrrsNextToken = a})---- | -- | The response status code.-lrrsResponseStatus :: Lens' ListRootsResponse Int-lrrsResponseStatus = lens _lrrsResponseStatus (\ s a -> s{_lrrsResponseStatus = a})--instance NFData ListRootsResponse where
− gen/Network/AWS/Organizations/ListTargetsForPolicy.hs
@@ -1,181 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.ListTargetsForPolicy--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Lists all the roots, OUs, and accounts to which the specified policy is attached.--------- This operation can be called only from the organization's master account.--------- This operation returns paginated results.-module Network.AWS.Organizations.ListTargetsForPolicy-    (-    -- * Creating a Request-      listTargetsForPolicy-    , ListTargetsForPolicy-    -- * Request Lenses-    , ltfpNextToken-    , ltfpMaxResults-    , ltfpPolicyId--    -- * Destructuring the Response-    , listTargetsForPolicyResponse-    , ListTargetsForPolicyResponse-    -- * Response Lenses-    , ltfprsNextToken-    , ltfprsTargets-    , ltfprsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listTargetsForPolicy' smart constructor.-data ListTargetsForPolicy = ListTargetsForPolicy'-  { _ltfpNextToken  :: !(Maybe Text)-  , _ltfpMaxResults :: !(Maybe Nat)-  , _ltfpPolicyId   :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListTargetsForPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ltfpNextToken' - Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.------ * 'ltfpMaxResults' - (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.------ * 'ltfpPolicyId' - The unique identifier (ID) of the policy for which you want to know its attachments. The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.-listTargetsForPolicy-    :: Text -- ^ 'ltfpPolicyId'-    -> ListTargetsForPolicy-listTargetsForPolicy pPolicyId_ =-  ListTargetsForPolicy'-    { _ltfpNextToken = Nothing-    , _ltfpMaxResults = Nothing-    , _ltfpPolicyId = pPolicyId_-    }----- | Use this parameter if you receive a @NextToken@ response in a previous request that indicates that there is more output available. Set it to the value of the previous call's @NextToken@ response to indicate where the output should continue from.-ltfpNextToken :: Lens' ListTargetsForPolicy (Maybe Text)-ltfpNextToken = lens _ltfpNextToken (\ s a -> s{_ltfpNextToken = a})---- | (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the @NextToken@ response element is present and has a value (is not null). Include that value as the @NextToken@ request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check @NextToken@ after every operation to ensure that you receive all of the results.-ltfpMaxResults :: Lens' ListTargetsForPolicy (Maybe Natural)-ltfpMaxResults = lens _ltfpMaxResults (\ s a -> s{_ltfpMaxResults = a}) . mapping _Nat---- | The unique identifier (ID) of the policy for which you want to know its attachments. The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.-ltfpPolicyId :: Lens' ListTargetsForPolicy Text-ltfpPolicyId = lens _ltfpPolicyId (\ s a -> s{_ltfpPolicyId = a})--instance AWSPager ListTargetsForPolicy where-        page rq rs-          | stop (rs ^. ltfprsNextToken) = Nothing-          | stop (rs ^. ltfprsTargets) = Nothing-          | otherwise =-            Just $ rq & ltfpNextToken .~ rs ^. ltfprsNextToken--instance AWSRequest ListTargetsForPolicy where-        type Rs ListTargetsForPolicy =-             ListTargetsForPolicyResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 ListTargetsForPolicyResponse' <$>-                   (x .?> "NextToken") <*> (x .?> "Targets" .!@ mempty)-                     <*> (pure (fromEnum s)))--instance Hashable ListTargetsForPolicy where--instance NFData ListTargetsForPolicy where--instance ToHeaders ListTargetsForPolicy where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.ListTargetsForPolicy" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListTargetsForPolicy where-        toJSON ListTargetsForPolicy'{..}-          = object-              (catMaybes-                 [("NextToken" .=) <$> _ltfpNextToken,-                  ("MaxResults" .=) <$> _ltfpMaxResults,-                  Just ("PolicyId" .= _ltfpPolicyId)])--instance ToPath ListTargetsForPolicy where-        toPath = const "/"--instance ToQuery ListTargetsForPolicy where-        toQuery = const mempty---- | /See:/ 'listTargetsForPolicyResponse' smart constructor.-data ListTargetsForPolicyResponse = ListTargetsForPolicyResponse'-  { _ltfprsNextToken      :: !(Maybe Text)-  , _ltfprsTargets        :: !(Maybe [PolicyTargetSummary])-  , _ltfprsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListTargetsForPolicyResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ltfprsNextToken' - If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .------ * 'ltfprsTargets' - A list of structures, each of which contains details about one of the entities to which the specified policy is attached.------ * 'ltfprsResponseStatus' - -- | The response status code.-listTargetsForPolicyResponse-    :: Int -- ^ 'ltfprsResponseStatus'-    -> ListTargetsForPolicyResponse-listTargetsForPolicyResponse pResponseStatus_ =-  ListTargetsForPolicyResponse'-    { _ltfprsNextToken = Nothing-    , _ltfprsTargets = Nothing-    , _ltfprsResponseStatus = pResponseStatus_-    }----- | If present, this value indicates that there is more output available than is included in the current response. Use this value in the @NextToken@ request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the @NextToken@ response element comes back as @null@ .-ltfprsNextToken :: Lens' ListTargetsForPolicyResponse (Maybe Text)-ltfprsNextToken = lens _ltfprsNextToken (\ s a -> s{_ltfprsNextToken = a})---- | A list of structures, each of which contains details about one of the entities to which the specified policy is attached.-ltfprsTargets :: Lens' ListTargetsForPolicyResponse [PolicyTargetSummary]-ltfprsTargets = lens _ltfprsTargets (\ s a -> s{_ltfprsTargets = a}) . _Default . _Coerce---- | -- | The response status code.-ltfprsResponseStatus :: Lens' ListTargetsForPolicyResponse Int-ltfprsResponseStatus = lens _ltfprsResponseStatus (\ s a -> s{_ltfprsResponseStatus = a})--instance NFData ListTargetsForPolicyResponse where
− gen/Network/AWS/Organizations/MoveAccount.hs
@@ -1,137 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.MoveAccount--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Moves an account from its current source parent root or OU to the specified destination parent root or OU.--------- This operation can be called only from the organization's master account.----module Network.AWS.Organizations.MoveAccount-    (-    -- * Creating a Request-      moveAccount-    , MoveAccount-    -- * Request Lenses-    , maAccountId-    , maSourceParentId-    , maDestinationParentId--    -- * Destructuring the Response-    , moveAccountResponse-    , MoveAccountResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'moveAccount' smart constructor.-data MoveAccount = MoveAccount'-  { _maAccountId           :: !Text-  , _maSourceParentId      :: !Text-  , _maDestinationParentId :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'MoveAccount' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'maAccountId' - The unique identifier (ID) of the account that you want to move. The <http://wikipedia.org/wiki/regex regex pattern> for an account ID string requires exactly 12 digits.------ * 'maSourceParentId' - The unique identifier (ID) of the root or organizational unit that you want to move the account from. The <http://wikipedia.org/wiki/regex 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.------ * 'maDestinationParentId' - The unique identifier (ID) of the root or organizational unit that you want to move the account to. The <http://wikipedia.org/wiki/regex 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.-moveAccount-    :: Text -- ^ 'maAccountId'-    -> Text -- ^ 'maSourceParentId'-    -> Text -- ^ 'maDestinationParentId'-    -> MoveAccount-moveAccount pAccountId_ pSourceParentId_ pDestinationParentId_ =-  MoveAccount'-    { _maAccountId = pAccountId_-    , _maSourceParentId = pSourceParentId_-    , _maDestinationParentId = pDestinationParentId_-    }----- | The unique identifier (ID) of the account that you want to move. The <http://wikipedia.org/wiki/regex regex pattern> for an account ID string requires exactly 12 digits.-maAccountId :: Lens' MoveAccount Text-maAccountId = lens _maAccountId (\ s a -> s{_maAccountId = a})---- | The unique identifier (ID) of the root or organizational unit that you want to move the account from. The <http://wikipedia.org/wiki/regex 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.-maSourceParentId :: Lens' MoveAccount Text-maSourceParentId = lens _maSourceParentId (\ s a -> s{_maSourceParentId = a})---- | The unique identifier (ID) of the root or organizational unit that you want to move the account to. The <http://wikipedia.org/wiki/regex 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.-maDestinationParentId :: Lens' MoveAccount Text-maDestinationParentId = lens _maDestinationParentId (\ s a -> s{_maDestinationParentId = a})--instance AWSRequest MoveAccount where-        type Rs MoveAccount = MoveAccountResponse-        request = postJSON organizations-        response = receiveNull MoveAccountResponse'--instance Hashable MoveAccount where--instance NFData MoveAccount where--instance ToHeaders MoveAccount where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.MoveAccount" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON MoveAccount where-        toJSON MoveAccount'{..}-          = object-              (catMaybes-                 [Just ("AccountId" .= _maAccountId),-                  Just ("SourceParentId" .= _maSourceParentId),-                  Just-                    ("DestinationParentId" .= _maDestinationParentId)])--instance ToPath MoveAccount where-        toPath = const "/"--instance ToQuery MoveAccount where-        toQuery = const mempty---- | /See:/ 'moveAccountResponse' smart constructor.-data MoveAccountResponse =-  MoveAccountResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'MoveAccountResponse' with the minimum fields required to make a request.----moveAccountResponse-    :: MoveAccountResponse-moveAccountResponse = MoveAccountResponse'---instance NFData MoveAccountResponse where
− gen/Network/AWS/Organizations/RemoveAccountFromOrganization.hs
@@ -1,124 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.RemoveAccountFromOrganization--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Removes the specified account from the organization.--------- The removed account becomes a stand-alone account that is not a member of any organization. It is no longer subject to any policies and is responsible for its own bill payments. The organization's master account is no longer charged for any expenses accrued by the member account after it is removed from the organization.------ This operation can be called only from the organization's master account. Member accounts can remove themselves with 'LeaveOrganization' instead.------ /Important:/     * You can remove an account from your organization only if the account is configured with the information required to operate as a standalone account. When you create an account in an organization using the AWS Organizations console, API, or CLI commands, the information required of standalone accounts is /not/ automatically collected. For an account that you want to make standalone, you must accept the End User License Agreement (EULA), choose a support plan, provide and verify the required contact information, and provide a current payment method. AWS uses the payment method to charge for any billable (not free tier) AWS activity that occurs while the account is not attached to an organization. To remove an account that does not yet have this information, you must sign in as the member account and follow the steps at <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info To leave an organization when all required account information has not yet been provided> in the /AWS Organizations User Guide/ .------     * You can remove a member account only after you enable IAM user access to billing in the member account. For more information, see <http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate Activating Access to the Billing and Cost Management Console> in the /AWS Billing and Cost Management User Guide/ .----------module Network.AWS.Organizations.RemoveAccountFromOrganization-    (-    -- * Creating a Request-      removeAccountFromOrganization-    , RemoveAccountFromOrganization-    -- * Request Lenses-    , rafoAccountId--    -- * Destructuring the Response-    , removeAccountFromOrganizationResponse-    , RemoveAccountFromOrganizationResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'removeAccountFromOrganization' smart constructor.-newtype RemoveAccountFromOrganization = RemoveAccountFromOrganization'-  { _rafoAccountId :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RemoveAccountFromOrganization' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rafoAccountId' - The unique identifier (ID) of the member account that you want to remove from the organization. The <http://wikipedia.org/wiki/regex regex pattern> for an account ID string requires exactly 12 digits.-removeAccountFromOrganization-    :: Text -- ^ 'rafoAccountId'-    -> RemoveAccountFromOrganization-removeAccountFromOrganization pAccountId_ =-  RemoveAccountFromOrganization' {_rafoAccountId = pAccountId_}----- | The unique identifier (ID) of the member account that you want to remove from the organization. The <http://wikipedia.org/wiki/regex regex pattern> for an account ID string requires exactly 12 digits.-rafoAccountId :: Lens' RemoveAccountFromOrganization Text-rafoAccountId = lens _rafoAccountId (\ s a -> s{_rafoAccountId = a})--instance AWSRequest RemoveAccountFromOrganization-         where-        type Rs RemoveAccountFromOrganization =-             RemoveAccountFromOrganizationResponse-        request = postJSON organizations-        response-          = receiveNull RemoveAccountFromOrganizationResponse'--instance Hashable RemoveAccountFromOrganization where--instance NFData RemoveAccountFromOrganization where--instance ToHeaders RemoveAccountFromOrganization-         where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.RemoveAccountFromOrganization"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON RemoveAccountFromOrganization where-        toJSON RemoveAccountFromOrganization'{..}-          = object-              (catMaybes [Just ("AccountId" .= _rafoAccountId)])--instance ToPath RemoveAccountFromOrganization where-        toPath = const "/"--instance ToQuery RemoveAccountFromOrganization where-        toQuery = const mempty---- | /See:/ 'removeAccountFromOrganizationResponse' smart constructor.-data RemoveAccountFromOrganizationResponse =-  RemoveAccountFromOrganizationResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RemoveAccountFromOrganizationResponse' with the minimum fields required to make a request.----removeAccountFromOrganizationResponse-    :: RemoveAccountFromOrganizationResponse-removeAccountFromOrganizationResponse = RemoveAccountFromOrganizationResponse'---instance NFData RemoveAccountFromOrganizationResponse-         where
− gen/Network/AWS/Organizations/Types.hs
@@ -1,674 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.Types--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.Organizations.Types-    (-    -- * Service Configuration-      organizations--    -- * Errors-    , _PolicyNotFoundException-    , _PolicyTypeAlreadyEnabledException-    , _HandshakeConstraintViolationException-    , _AccessDeniedException-    , _MalformedPolicyDocumentException-    , _RootNotFoundException-    , _MasterCannotLeaveOrganizationException-    , _AccountNotFoundException-    , _DuplicatePolicyException-    , _ConstraintViolationException-    , _FinalizingOrganizationException-    , _HandshakeNotFoundException-    , _PolicyTypeNotAvailableForOrganizationException-    , _ChildNotFoundException-    , _OrganizationalUnitNotFoundException-    , _DestinationParentNotFoundException-    , _OrganizationNotEmptyException-    , _PolicyTypeNotEnabledException-    , _DuplicateHandshakeException-    , _OrganizationalUnitNotEmptyException-    , _TooManyRequestsException-    , _ConcurrentModificationException-    , _ServiceException-    , _SourceParentNotFoundException-    , _TargetNotFoundException-    , _CreateAccountStatusNotFoundException-    , _AlreadyInOrganizationException-    , _DuplicateOrganizationalUnitException-    , _InvalidInputException-    , _PolicyNotAttachedException-    , _ParentNotFoundException-    , _AccessDeniedForDependencyException-    , _AWSOrganizationsNotInUseException-    , _PolicyInUseException-    , _InvalidHandshakeTransitionException-    , _HandshakeAlreadyInStateException-    , _DuplicateAccountException-    , _DuplicatePolicyAttachmentException--    -- * AccountJoinedMethod-    , AccountJoinedMethod (..)--    -- * AccountStatus-    , AccountStatus (..)--    -- * ActionType-    , ActionType (..)--    -- * ChildType-    , ChildType (..)--    -- * CreateAccountFailureReason-    , CreateAccountFailureReason (..)--    -- * CreateAccountState-    , CreateAccountState (..)--    -- * HandshakePartyType-    , HandshakePartyType (..)--    -- * HandshakeResourceType-    , HandshakeResourceType (..)--    -- * HandshakeState-    , HandshakeState (..)--    -- * IAMUserAccessToBilling-    , IAMUserAccessToBilling (..)--    -- * OrganizationFeatureSet-    , OrganizationFeatureSet (..)--    -- * ParentType-    , ParentType (..)--    -- * PolicyType-    , PolicyType (..)--    -- * PolicyTypeStatus-    , PolicyTypeStatus (..)--    -- * TargetType-    , TargetType (..)--    -- * Account-    , Account-    , account-    , aStatus-    , aJoinedMethod-    , aEmail-    , aARN-    , aJoinedTimestamp-    , aName-    , aId--    -- * Child-    , Child-    , child-    , cId-    , cType--    -- * CreateAccountStatus-    , CreateAccountStatus-    , createAccountStatus-    , casFailureReason-    , casState-    , casCompletedTimestamp-    , casAccountName-    , casAccountId-    , casId-    , casRequestedTimestamp--    -- * EnabledServicePrincipal-    , EnabledServicePrincipal-    , enabledServicePrincipal-    , espServicePrincipal-    , espDateEnabled--    -- * Handshake-    , Handshake-    , handshake-    , hState-    , hARN-    , hAction-    , hResources-    , hId-    , hExpirationTimestamp-    , hParties-    , hRequestedTimestamp--    -- * HandshakeFilter-    , HandshakeFilter-    , handshakeFilter-    , hfParentHandshakeId-    , hfActionType--    -- * HandshakeParty-    , HandshakeParty-    , handshakeParty-    , hpId-    , hpType--    -- * HandshakeResource-    , HandshakeResource-    , handshakeResource-    , hrValue-    , hrResources-    , hrType--    -- * Organization-    , Organization-    , organization-    , oARN-    , oMasterAccountId-    , oMasterAccountARN-    , oMasterAccountEmail-    , oAvailablePolicyTypes-    , oId-    , oFeatureSet--    -- * OrganizationalUnit-    , OrganizationalUnit-    , organizationalUnit-    , ouARN-    , ouName-    , ouId--    -- * Parent-    , Parent-    , parent-    , pId-    , pType--    -- * Policy-    , Policy-    , policy-    , pContent-    , pPolicySummary--    -- * PolicySummary-    , PolicySummary-    , policySummary-    , psARN-    , psName-    , psId-    , psAWSManaged-    , psType-    , psDescription--    -- * PolicyTargetSummary-    , PolicyTargetSummary-    , policyTargetSummary-    , polTargetId-    , polARN-    , polName-    , polType--    -- * PolicyTypeSummary-    , PolicyTypeSummary-    , policyTypeSummary-    , ptsStatus-    , ptsType--    -- * Root-    , Root-    , root-    , rARN-    , rName-    , rId-    , rPolicyTypes-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types.Product-import Network.AWS.Organizations.Types.Sum-import Network.AWS.Prelude-import Network.AWS.Sign.V4---- | API version @2016-11-28@ of the Amazon Organizations SDK configuration.-organizations :: Service-organizations =-  Service-    { _svcAbbrev = "Organizations"-    , _svcSigner = v4-    , _svcPrefix = "organizations"-    , _svcVersion = "2016-11-28"-    , _svcEndpoint = defaultEndpoint organizations-    , _svcTimeout = Just 70-    , _svcCheck = statusSuccess-    , _svcError = parseJSONError "Organizations"-    , _svcRetry = retry-    }-  where-    retry =-      Exponential-        { _retryBase = 5.0e-2-        , _retryGrowth = 2-        , _retryAttempts = 5-        , _retryCheck = check-        }-    check e-      | has (hasCode "ThrottledException" . hasStatus 400) e =-        Just "throttled_exception"-      | has (hasStatus 429) e = Just "too_many_requests"-      | has (hasCode "ThrottlingException" . hasStatus 400) e =-        Just "throttling_exception"-      | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"-      | has (hasStatus 504) e = Just "gateway_timeout"-      | has (hasCode "RequestThrottledException" . hasStatus 400) e =-        Just "request_throttled_exception"-      | has (hasStatus 502) e = Just "bad_gateway"-      | has (hasStatus 503) e = Just "service_unavailable"-      | has (hasStatus 500) e = Just "general_server_error"-      | has (hasStatus 509) e = Just "limit_exceeded"-      | otherwise = Nothing----- | We can't find a policy with the PolicyId that you specified.-------_PolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_PolicyNotFoundException =-  _MatchServiceError organizations "PolicyNotFoundException"----- | The specified policy type is already enabled in the specified root.-------_PolicyTypeAlreadyEnabledException :: AsError a => Getting (First ServiceError) a ServiceError-_PolicyTypeAlreadyEnabledException =-  _MatchServiceError organizations "PolicyTypeAlreadyEnabledException"----- | 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 <https://console.aws.amazon.com/support/home#/ 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.----------_HandshakeConstraintViolationException :: AsError a => Getting (First ServiceError) a ServiceError-_HandshakeConstraintViolationException =-  _MatchServiceError organizations "HandshakeConstraintViolationException"----- | 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 <http://docs.aws.amazon.com/IAM/latest/UserGuide/access.html Access Management> in the /IAM User Guide/ .-------_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError-_AccessDeniedException =-  _MatchServiceError organizations "AccessDeniedException"----- | 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 <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html Service Control Policy Syntax> in the /AWS Organizations User Guide/ .-------_MalformedPolicyDocumentException :: AsError a => Getting (First ServiceError) a ServiceError-_MalformedPolicyDocumentException =-  _MatchServiceError organizations "MalformedPolicyDocumentException"----- | We can't find a root with the RootId that you specified.-------_RootNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_RootNotFoundException =-  _MatchServiceError organizations "RootNotFoundException"----- | 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.-------_MasterCannotLeaveOrganizationException :: AsError a => Getting (First ServiceError) a ServiceError-_MasterCannotLeaveOrganizationException =-  _MatchServiceError organizations "MasterCannotLeaveOrganizationException"----- | 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.-------_AccountNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_AccountNotFoundException =-  _MatchServiceError organizations "AccountNotFoundException"----- | A policy with the same name already exists.-------_DuplicatePolicyException :: AsError a => Getting (First ServiceError) a ServiceError-_DuplicatePolicyException =-  _MatchServiceError organizations "DuplicatePolicyException"----- | 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 <https://console.aws.amazon.com/support/home#/ 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 <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info To leave an organization when all required account information has not 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 <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info To leave an organization when all required account information has not 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 <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info To leave an organization when all required account information has not 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 <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info To leave an organization when all required account information has not 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.----------_ConstraintViolationException :: AsError a => Getting (First ServiceError) a ServiceError-_ConstraintViolationException =-  _MatchServiceError organizations "ConstraintViolationException"----- | AWS Organizations could not finalize the creation of your organization. Try again later. If this persists, contact AWS customer support.-------_FinalizingOrganizationException :: AsError a => Getting (First ServiceError) a ServiceError-_FinalizingOrganizationException =-  _MatchServiceError organizations "FinalizingOrganizationException"----- | We can't find a handshake with the HandshakeId that you specified.-------_HandshakeNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_HandshakeNotFoundException =-  _MatchServiceError organizations "HandshakeNotFoundException"----- | 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 <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#enable_policies_on_root Enabling and Disabling a Policy Type on a Root> in the /AWS Organizations User Guide/ .-------_PolicyTypeNotAvailableForOrganizationException :: AsError a => Getting (First ServiceError) a ServiceError-_PolicyTypeNotAvailableForOrganizationException =-  _MatchServiceError-    organizations-    "PolicyTypeNotAvailableForOrganizationException"----- | We can't find an organizational unit (OU) or AWS account with the ChildId that you specified.-------_ChildNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_ChildNotFoundException =-  _MatchServiceError organizations "ChildNotFoundException"----- | We can't find an organizational unit (OU) with the OrganizationalUnitId that you specified.-------_OrganizationalUnitNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_OrganizationalUnitNotFoundException =-  _MatchServiceError organizations "OrganizationalUnitNotFoundException"----- | We can't find the destination container (a root or OU) with the ParentId that you specified.-------_DestinationParentNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_DestinationParentNotFoundException =-  _MatchServiceError organizations "DestinationParentNotFoundException"----- | 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.-------_OrganizationNotEmptyException :: AsError a => Getting (First ServiceError) a ServiceError-_OrganizationNotEmptyException =-  _MatchServiceError organizations "OrganizationNotEmptyException"----- | 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 <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html Enabling All Features in Your Organization> in the /AWS Organizations User Guide/ .-------_PolicyTypeNotEnabledException :: AsError a => Getting (First ServiceError) a ServiceError-_PolicyTypeNotEnabledException =-  _MatchServiceError organizations "PolicyTypeNotEnabledException"----- | 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.-------_DuplicateHandshakeException :: AsError a => Getting (First ServiceError) a ServiceError-_DuplicateHandshakeException =-  _MatchServiceError organizations "DuplicateHandshakeException"----- | 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.-------_OrganizationalUnitNotEmptyException :: AsError a => Getting (First ServiceError) a ServiceError-_OrganizationalUnitNotEmptyException =-  _MatchServiceError organizations "OrganizationalUnitNotEmptyException"----- | 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.-------_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError-_TooManyRequestsException =-  _MatchServiceError organizations "TooManyRequestsException"----- | The target of the operation is currently being modified by a different request. Try again later.-------_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError-_ConcurrentModificationException =-  _MatchServiceError organizations "ConcurrentModificationException"----- | AWS Organizations can't complete your request because of an internal service error. Try again later.-------_ServiceException :: AsError a => Getting (First ServiceError) a ServiceError-_ServiceException = _MatchServiceError organizations "ServiceException"----- | We can't find a source root or OU with the ParentId that you specified.-------_SourceParentNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_SourceParentNotFoundException =-  _MatchServiceError organizations "SourceParentNotFoundException"----- | We can't find a root, OU, or account with the TargetId that you specified.-------_TargetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_TargetNotFoundException =-  _MatchServiceError organizations "TargetNotFoundException"----- | We can't find an create account request with the CreateAccountRequestId that you specified.-------_CreateAccountStatusNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_CreateAccountStatusNotFoundException =-  _MatchServiceError organizations "CreateAccountStatusNotFoundException"----- | This account is already a member of an organization. An account can belong to only one organization at a time.-------_AlreadyInOrganizationException :: AsError a => Getting (First ServiceError) a ServiceError-_AlreadyInOrganizationException =-  _MatchServiceError organizations "AlreadyInOrganizationException"----- | An organizational unit (OU) with the same name already exists.-------_DuplicateOrganizationalUnitException :: AsError a => Getting (First ServiceError) a ServiceError-_DuplicateOrganizationalUnitException =-  _MatchServiceError organizations "DuplicateOrganizationalUnitException"----- | 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.----------_InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidInputException =-  _MatchServiceError organizations "InvalidInputException"----- | The policy isn't attached to the specified target in the specified root.-------_PolicyNotAttachedException :: AsError a => Getting (First ServiceError) a ServiceError-_PolicyNotAttachedException =-  _MatchServiceError organizations "PolicyNotAttachedException"----- | We can't find a root or organizational unit (OU) with the ParentId that you specified.-------_ParentNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_ParentNotFoundException =-  _MatchServiceError organizations "ParentNotFoundException"----- | 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.-------_AccessDeniedForDependencyException :: AsError a => Getting (First ServiceError) a ServiceError-_AccessDeniedForDependencyException =-  _MatchServiceError organizations "AccessDeniedForDependencyException"----- | 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.-------_AWSOrganizationsNotInUseException :: AsError a => Getting (First ServiceError) a ServiceError-_AWSOrganizationsNotInUseException =-  _MatchServiceError organizations "AWSOrganizationsNotInUseException"----- | 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.-------_PolicyInUseException :: AsError a => Getting (First ServiceError) a ServiceError-_PolicyInUseException = _MatchServiceError organizations "PolicyInUseException"----- | 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.-------_InvalidHandshakeTransitionException :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidHandshakeTransitionException =-  _MatchServiceError organizations "InvalidHandshakeTransitionException"----- | The specified handshake is already in the requested state. For example, you can't accept a handshake that was already accepted.-------_HandshakeAlreadyInStateException :: AsError a => Getting (First ServiceError) a ServiceError-_HandshakeAlreadyInStateException =-  _MatchServiceError organizations "HandshakeAlreadyInStateException"----- | That account is already present in the specified destination.-------_DuplicateAccountException :: AsError a => Getting (First ServiceError) a ServiceError-_DuplicateAccountException =-  _MatchServiceError organizations "DuplicateAccountException"----- | The selected policy is already attached to the specified target.-------_DuplicatePolicyAttachmentException :: AsError a => Getting (First ServiceError) a ServiceError-_DuplicatePolicyAttachmentException =-  _MatchServiceError organizations "DuplicatePolicyAttachmentException"-
− gen/Network/AWS/Organizations/Types/Product.hs
@@ -1,1005 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.Types.Product--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.Organizations.Types.Product where--import Network.AWS.Lens-import Network.AWS.Organizations.Types.Sum-import Network.AWS.Prelude---- | Contains information about an AWS account that is a member of an organization.------------ /See:/ 'account' smart constructor.-data Account = Account'-  { _aStatus          :: !(Maybe AccountStatus)-  , _aJoinedMethod    :: !(Maybe AccountJoinedMethod)-  , _aEmail           :: !(Maybe (Sensitive Text))-  , _aARN             :: !(Maybe Text)-  , _aJoinedTimestamp :: !(Maybe POSIX)-  , _aName            :: !(Maybe (Sensitive Text))-  , _aId              :: !(Maybe Text)-  } deriving (Eq, Show, Data, Typeable, Generic)----- | 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 <http://wikipedia.org/wiki/regex 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 <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns 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 <http://wikipedia.org/wiki/regex 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 <http://wikipedia.org/wiki/regex regex pattern> for an account ID string requires exactly 12 digits.-account-    :: Account-account =-  Account'-    { _aStatus = Nothing-    , _aJoinedMethod = Nothing-    , _aEmail = Nothing-    , _aARN = Nothing-    , _aJoinedTimestamp = Nothing-    , _aName = Nothing-    , _aId = Nothing-    }----- | The status of the account in the organization.-aStatus :: Lens' Account (Maybe AccountStatus)-aStatus = lens _aStatus (\ s a -> s{_aStatus = a})---- | The method by which the account joined the organization.-aJoinedMethod :: Lens' Account (Maybe AccountJoinedMethod)-aJoinedMethod = lens _aJoinedMethod (\ s a -> s{_aJoinedMethod = a})---- | The email address associated with the AWS account. The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters that represents a standard Internet email address.-aEmail :: Lens' Account (Maybe Text)-aEmail = lens _aEmail (\ s a -> s{_aEmail = a}) . mapping _Sensitive---- | The Amazon Resource Name (ARN) of the account. For more information about ARNs in Organizations, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns ARN Formats Supported by Organizations> in the /AWS Organizations User Guide/ .-aARN :: Lens' Account (Maybe Text)-aARN = lens _aARN (\ s a -> s{_aARN = a})---- | The date the account became a part of the organization.-aJoinedTimestamp :: Lens' Account (Maybe UTCTime)-aJoinedTimestamp = lens _aJoinedTimestamp (\ s a -> s{_aJoinedTimestamp = a}) . mapping _Time---- | The friendly name of the account. The <http://wikipedia.org/wiki/regex regex pattern> that is used to validate this parameter is a string of any of the characters in the ASCII character range.-aName :: Lens' Account (Maybe Text)-aName = lens _aName (\ s a -> s{_aName = a}) . mapping _Sensitive---- | The unique identifier (ID) of the account. The <http://wikipedia.org/wiki/regex regex pattern> for an account ID string requires exactly 12 digits.-aId :: Lens' Account (Maybe Text)-aId = lens _aId (\ s a -> s{_aId = a})--instance FromJSON Account where-        parseJSON-          = withObject "Account"-              (\ x ->-                 Account' <$>-                   (x .:? "Status") <*> (x .:? "JoinedMethod") <*>-                     (x .:? "Email")-                     <*> (x .:? "Arn")-                     <*> (x .:? "JoinedTimestamp")-                     <*> (x .:? "Name")-                     <*> (x .:? "Id"))--instance Hashable Account where--instance NFData Account where---- | Contains a list of child entities, either OUs or accounts.------------ /See:/ 'child' smart constructor.-data Child = Child'-  { _cId   :: !(Maybe Text)-  , _cType :: !(Maybe ChildType)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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 <http://wikipedia.org/wiki/regex 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.-child-    :: Child-child = Child' {_cId = Nothing, _cType = Nothing}----- | The unique identifier (ID) of this child entity. The <http://wikipedia.org/wiki/regex 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.-cId :: Lens' Child (Maybe Text)-cId = lens _cId (\ s a -> s{_cId = a})---- | The type of this child entity.-cType :: Lens' Child (Maybe ChildType)-cType = lens _cType (\ s a -> s{_cType = a})--instance FromJSON Child where-        parseJSON-          = withObject "Child"-              (\ x -> Child' <$> (x .:? "Id") <*> (x .:? "Type"))--instance Hashable Child where--instance NFData Child where---- | Contains the status about a 'CreateAccount' request to create an AWS account in an organization.------------ /See:/ 'createAccountStatus' smart constructor.-data CreateAccountStatus = CreateAccountStatus'-  { _casFailureReason      :: !(Maybe CreateAccountFailureReason)-  , _casState              :: !(Maybe CreateAccountState)-  , _casCompletedTimestamp :: !(Maybe POSIX)-  , _casAccountName        :: !(Maybe (Sensitive Text))-  , _casAccountId          :: !(Maybe Text)-  , _casId                 :: !(Maybe Text)-  , _casRequestedTimestamp :: !(Maybe POSIX)-  } deriving (Eq, Show, Data, Typeable, Generic)----- | 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 <http://wikipedia.org/wiki/regex 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 <http://wikipedia.org/wiki/regex 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.-createAccountStatus-    :: CreateAccountStatus-createAccountStatus =-  CreateAccountStatus'-    { _casFailureReason = Nothing-    , _casState = Nothing-    , _casCompletedTimestamp = Nothing-    , _casAccountName = Nothing-    , _casAccountId = Nothing-    , _casId = Nothing-    , _casRequestedTimestamp = Nothing-    }----- | 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.-casFailureReason :: Lens' CreateAccountStatus (Maybe CreateAccountFailureReason)-casFailureReason = lens _casFailureReason (\ s a -> s{_casFailureReason = a})---- | The status of the request.-casState :: Lens' CreateAccountStatus (Maybe CreateAccountState)-casState = lens _casState (\ s a -> s{_casState = a})---- | The date and time that the account was created and the request completed.-casCompletedTimestamp :: Lens' CreateAccountStatus (Maybe UTCTime)-casCompletedTimestamp = lens _casCompletedTimestamp (\ s a -> s{_casCompletedTimestamp = a}) . mapping _Time---- | The account name given to the account when it was created.-casAccountName :: Lens' CreateAccountStatus (Maybe Text)-casAccountName = lens _casAccountName (\ s a -> s{_casAccountName = a}) . mapping _Sensitive---- | If the account was created successfully, the unique identifier (ID) of the new account. The <http://wikipedia.org/wiki/regex regex pattern> for an account ID string requires exactly 12 digits.-casAccountId :: Lens' CreateAccountStatus (Maybe Text)-casAccountId = lens _casAccountId (\ s a -> s{_casAccountId = a})---- | 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 <http://wikipedia.org/wiki/regex regex pattern> for an create account request ID string requires "car-" followed by from 8 to 32 lower-case letters or digits.-casId :: Lens' CreateAccountStatus (Maybe Text)-casId = lens _casId (\ s a -> s{_casId = a})---- | The date and time that the request was made for the account creation.-casRequestedTimestamp :: Lens' CreateAccountStatus (Maybe UTCTime)-casRequestedTimestamp = lens _casRequestedTimestamp (\ s a -> s{_casRequestedTimestamp = a}) . mapping _Time--instance FromJSON CreateAccountStatus where-        parseJSON-          = withObject "CreateAccountStatus"-              (\ x ->-                 CreateAccountStatus' <$>-                   (x .:? "FailureReason") <*> (x .:? "State") <*>-                     (x .:? "CompletedTimestamp")-                     <*> (x .:? "AccountName")-                     <*> (x .:? "AccountId")-                     <*> (x .:? "Id")-                     <*> (x .:? "RequestedTimestamp"))--instance Hashable CreateAccountStatus where--instance NFData CreateAccountStatus where---- | A structure that contains details of a service principal that is enabled to integrate with AWS Organizations.------------ /See:/ 'enabledServicePrincipal' smart constructor.-data EnabledServicePrincipal = EnabledServicePrincipal'-  { _espServicePrincipal :: !(Maybe Text)-  , _espDateEnabled      :: !(Maybe POSIX)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-enabledServicePrincipal-    :: EnabledServicePrincipal-enabledServicePrincipal =-  EnabledServicePrincipal'-    {_espServicePrincipal = Nothing, _espDateEnabled = Nothing}----- | The name of the service principal. This is typically in the form of a URL, such as: @/servicename/ .amazonaws.com@ .-espServicePrincipal :: Lens' EnabledServicePrincipal (Maybe Text)-espServicePrincipal = lens _espServicePrincipal (\ s a -> s{_espServicePrincipal = a})---- | The date that the service principal was enabled for integration with AWS Organizations.-espDateEnabled :: Lens' EnabledServicePrincipal (Maybe UTCTime)-espDateEnabled = lens _espDateEnabled (\ s a -> s{_espDateEnabled = a}) . mapping _Time--instance FromJSON EnabledServicePrincipal where-        parseJSON-          = withObject "EnabledServicePrincipal"-              (\ x ->-                 EnabledServicePrincipal' <$>-                   (x .:? "ServicePrincipal") <*> (x .:? "DateEnabled"))--instance Hashable EnabledServicePrincipal where--instance NFData EnabledServicePrincipal where---- | 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.-data Handshake = Handshake'-  { _hState               :: !(Maybe HandshakeState)-  , _hARN                 :: !(Maybe Text)-  , _hAction              :: !(Maybe ActionType)-  , _hResources           :: !(Maybe [HandshakeResource])-  , _hId                  :: !(Maybe Text)-  , _hExpirationTimestamp :: !(Maybe POSIX)-  , _hParties             :: !(Maybe [HandshakeParty])-  , _hRequestedTimestamp  :: !(Maybe POSIX)-  } deriving (Eq, Show, Data, Typeable, Generic)----- | 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 <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns 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 <http://wikipedia.org/wiki/regex 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.-handshake-    :: Handshake-handshake =-  Handshake'-    { _hState = Nothing-    , _hARN = Nothing-    , _hAction = Nothing-    , _hResources = Nothing-    , _hId = Nothing-    , _hExpirationTimestamp = Nothing-    , _hParties = Nothing-    , _hRequestedTimestamp = Nothing-    }----- | 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).-hState :: Lens' Handshake (Maybe HandshakeState)-hState = lens _hState (\ s a -> s{_hState = a})---- | The Amazon Resource Name (ARN) of a handshake. For more information about ARNs in Organizations, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns ARN Formats Supported by Organizations> in the /AWS Organizations User Guide/ .-hARN :: Lens' Handshake (Maybe Text)-hARN = lens _hARN (\ s a -> s{_hARN = a})---- | 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.-hAction :: Lens' Handshake (Maybe ActionType)-hAction = lens _hAction (\ s a -> s{_hAction = a})---- | Additional information that is needed to process the handshake.-hResources :: Lens' Handshake [HandshakeResource]-hResources = lens _hResources (\ s a -> s{_hResources = a}) . _Default . _Coerce---- | The unique identifier (ID) of a handshake. The originating account creates the ID when it initiates the handshake. The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.-hId :: Lens' Handshake (Maybe Text)-hId = lens _hId (\ s a -> s{_hId = a})---- | 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.-hExpirationTimestamp :: Lens' Handshake (Maybe UTCTime)-hExpirationTimestamp = lens _hExpirationTimestamp (\ s a -> s{_hExpirationTimestamp = a}) . mapping _Time---- | Information about the two accounts that are participating in the handshake.-hParties :: Lens' Handshake [HandshakeParty]-hParties = lens _hParties (\ s a -> s{_hParties = a}) . _Default . _Coerce---- | The date and time that the handshake request was made.-hRequestedTimestamp :: Lens' Handshake (Maybe UTCTime)-hRequestedTimestamp = lens _hRequestedTimestamp (\ s a -> s{_hRequestedTimestamp = a}) . mapping _Time--instance FromJSON Handshake where-        parseJSON-          = withObject "Handshake"-              (\ x ->-                 Handshake' <$>-                   (x .:? "State") <*> (x .:? "Arn") <*>-                     (x .:? "Action")-                     <*> (x .:? "Resources" .!= mempty)-                     <*> (x .:? "Id")-                     <*> (x .:? "ExpirationTimestamp")-                     <*> (x .:? "Parties" .!= mempty)-                     <*> (x .:? "RequestedTimestamp"))--instance Hashable Handshake where--instance NFData Handshake where---- | Specifies the criteria that are used to select the handshakes for the operation.------------ /See:/ 'handshakeFilter' smart constructor.-data HandshakeFilter = HandshakeFilter'-  { _hfParentHandshakeId :: !(Maybe Text)-  , _hfActionType        :: !(Maybe ActionType)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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 <http://wikipedia.org/wiki/regex 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@ .-handshakeFilter-    :: HandshakeFilter-handshakeFilter =-  HandshakeFilter' {_hfParentHandshakeId = Nothing, _hfActionType = Nothing}----- | 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 <http://wikipedia.org/wiki/regex regex pattern> for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.-hfParentHandshakeId :: Lens' HandshakeFilter (Maybe Text)-hfParentHandshakeId = lens _hfParentHandshakeId (\ s a -> s{_hfParentHandshakeId = a})---- | Specifies the type of handshake action. If you specify @ActionType@ , you cannot also specify @ParentHandshakeId@ .-hfActionType :: Lens' HandshakeFilter (Maybe ActionType)-hfActionType = lens _hfActionType (\ s a -> s{_hfActionType = a})--instance Hashable HandshakeFilter where--instance NFData HandshakeFilter where--instance ToJSON HandshakeFilter where-        toJSON HandshakeFilter'{..}-          = object-              (catMaybes-                 [("ParentHandshakeId" .=) <$> _hfParentHandshakeId,-                  ("ActionType" .=) <$> _hfActionType])---- | Identifies a participant in a handshake.------------ /See:/ 'handshakeParty' smart constructor.-data HandshakeParty = HandshakeParty'-  { _hpId   :: !(Sensitive Text)-  , _hpType :: !HandshakePartyType-  } deriving (Eq, Show, Data, Typeable, Generic)----- | 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 <http://wikipedia.org/wiki/regex regex pattern> for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.------ * 'hpType' - The type of party.-handshakeParty-    :: Text -- ^ 'hpId'-    -> HandshakePartyType -- ^ 'hpType'-    -> HandshakeParty-handshakeParty pId_ pType_ =-  HandshakeParty' {_hpId = _Sensitive # pId_, _hpType = pType_}----- | The unique identifier (ID) for the party. The <http://wikipedia.org/wiki/regex regex pattern> for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.-hpId :: Lens' HandshakeParty Text-hpId = lens _hpId (\ s a -> s{_hpId = a}) . _Sensitive---- | The type of party.-hpType :: Lens' HandshakeParty HandshakePartyType-hpType = lens _hpType (\ s a -> s{_hpType = a})--instance FromJSON HandshakeParty where-        parseJSON-          = withObject "HandshakeParty"-              (\ x ->-                 HandshakeParty' <$> (x .: "Id") <*> (x .: "Type"))--instance Hashable HandshakeParty where--instance NFData HandshakeParty where--instance ToJSON HandshakeParty where-        toJSON HandshakeParty'{..}-          = object-              (catMaybes-                 [Just ("Id" .= _hpId), Just ("Type" .= _hpType)])---- | Contains additional data that is needed to process a handshake.------------ /See:/ 'handshakeResource' smart constructor.-data HandshakeResource = HandshakeResource'-  { _hrValue     :: !(Maybe (Sensitive Text))-  , _hrResources :: !(Maybe [HandshakeResource])-  , _hrType      :: !(Maybe HandshakeResourceType)-  } deriving (Eq, Show, Data, Typeable, Generic)----- | 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.-handshakeResource-    :: HandshakeResource-handshakeResource =-  HandshakeResource'-    {_hrValue = Nothing, _hrResources = Nothing, _hrType = Nothing}----- | 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.-hrValue :: Lens' HandshakeResource (Maybe Text)-hrValue = lens _hrValue (\ s a -> s{_hrValue = a}) . mapping _Sensitive---- | When needed, contains an additional array of @HandshakeResource@ objects.-hrResources :: Lens' HandshakeResource [HandshakeResource]-hrResources = lens _hrResources (\ s a -> s{_hrResources = a}) . _Default . _Coerce---- | 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.-hrType :: Lens' HandshakeResource (Maybe HandshakeResourceType)-hrType = lens _hrType (\ s a -> s{_hrType = a})--instance FromJSON HandshakeResource where-        parseJSON-          = withObject "HandshakeResource"-              (\ x ->-                 HandshakeResource' <$>-                   (x .:? "Value") <*> (x .:? "Resources" .!= mempty)-                     <*> (x .:? "Type"))--instance Hashable HandshakeResource where--instance NFData HandshakeResource where---- | 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.-data Organization = Organization'-  { _oARN                  :: !(Maybe Text)-  , _oMasterAccountId      :: !(Maybe Text)-  , _oMasterAccountARN     :: !(Maybe Text)-  , _oMasterAccountEmail   :: !(Maybe (Sensitive Text))-  , _oAvailablePolicyTypes :: !(Maybe [PolicyTypeSummary])-  , _oId                   :: !(Maybe Text)-  , _oFeatureSet           :: !(Maybe OrganizationFeatureSet)-  } deriving (Eq, Show, Data, Typeable, Generic)----- | 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 <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns ARN Formats Supported by Organizations> in the /AWS Organizations User Guide/ .------ * 'oMasterAccountId' - The unique identifier (ID) of the master account of an organization. The <http://wikipedia.org/wiki/regex 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 <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns 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 <http://wikipedia.org/wiki/regex 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 <http://docs.aws.amazon.com/IAM/latest/UserGuide/orgs_manage_org_support-all-features.html Enabling All Features in Your Organization> in the /AWS Organizations User Guide/ .-organization-    :: Organization-organization =-  Organization'-    { _oARN = Nothing-    , _oMasterAccountId = Nothing-    , _oMasterAccountARN = Nothing-    , _oMasterAccountEmail = Nothing-    , _oAvailablePolicyTypes = Nothing-    , _oId = Nothing-    , _oFeatureSet = Nothing-    }----- | The Amazon Resource Name (ARN) of an organization. For more information about ARNs in Organizations, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns ARN Formats Supported by Organizations> in the /AWS Organizations User Guide/ .-oARN :: Lens' Organization (Maybe Text)-oARN = lens _oARN (\ s a -> s{_oARN = a})---- | The unique identifier (ID) of the master account of an organization. The <http://wikipedia.org/wiki/regex regex pattern> for an account ID string requires exactly 12 digits.-oMasterAccountId :: Lens' Organization (Maybe Text)-oMasterAccountId = lens _oMasterAccountId (\ s a -> s{_oMasterAccountId = a})---- | 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 <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns ARN Formats Supported by Organizations> in the /AWS Organizations User Guide/ .-oMasterAccountARN :: Lens' Organization (Maybe Text)-oMasterAccountARN = lens _oMasterAccountARN (\ s a -> s{_oMasterAccountARN = a})---- | The email address that is associated with the AWS account that is designated as the master account for the organization.-oMasterAccountEmail :: Lens' Organization (Maybe Text)-oMasterAccountEmail = lens _oMasterAccountEmail (\ s a -> s{_oMasterAccountEmail = a}) . mapping _Sensitive---- | 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.-oAvailablePolicyTypes :: Lens' Organization [PolicyTypeSummary]-oAvailablePolicyTypes = lens _oAvailablePolicyTypes (\ s a -> s{_oAvailablePolicyTypes = a}) . _Default . _Coerce---- | The unique identifier (ID) of an organization. The <http://wikipedia.org/wiki/regex regex pattern> for an organization ID string requires "o-" followed by from 10 to 32 lower-case letters or digits.-oId :: Lens' Organization (Maybe Text)-oId = lens _oId (\ s a -> s{_oId = a})---- | 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 <http://docs.aws.amazon.com/IAM/latest/UserGuide/orgs_manage_org_support-all-features.html Enabling All Features in Your Organization> in the /AWS Organizations User Guide/ .-oFeatureSet :: Lens' Organization (Maybe OrganizationFeatureSet)-oFeatureSet = lens _oFeatureSet (\ s a -> s{_oFeatureSet = a})--instance FromJSON Organization where-        parseJSON-          = withObject "Organization"-              (\ x ->-                 Organization' <$>-                   (x .:? "Arn") <*> (x .:? "MasterAccountId") <*>-                     (x .:? "MasterAccountArn")-                     <*> (x .:? "MasterAccountEmail")-                     <*> (x .:? "AvailablePolicyTypes" .!= mempty)-                     <*> (x .:? "Id")-                     <*> (x .:? "FeatureSet"))--instance Hashable Organization where--instance NFData Organization where---- | 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.-data OrganizationalUnit = OrganizationalUnit'-  { _ouARN  :: !(Maybe Text)-  , _ouName :: !(Maybe Text)-  , _ouId   :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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 <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns ARN Formats Supported by Organizations> in the /AWS Organizations User Guide/ .------ * 'ouName' - The friendly name of this OU. The <http://wikipedia.org/wiki/regex 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 <http://wikipedia.org/wiki/regex 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.-organizationalUnit-    :: OrganizationalUnit-organizationalUnit =-  OrganizationalUnit' {_ouARN = Nothing, _ouName = Nothing, _ouId = Nothing}----- | The Amazon Resource Name (ARN) of this OU. For more information about ARNs in Organizations, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns ARN Formats Supported by Organizations> in the /AWS Organizations User Guide/ .-ouARN :: Lens' OrganizationalUnit (Maybe Text)-ouARN = lens _ouARN (\ s a -> s{_ouARN = a})---- | The friendly name of this OU. The <http://wikipedia.org/wiki/regex regex pattern> that is used to validate this parameter is a string of any of the characters in the ASCII character range.-ouName :: Lens' OrganizationalUnit (Maybe Text)-ouName = lens _ouName (\ s a -> s{_ouName = a})---- | The unique identifier (ID) associated with this OU. The <http://wikipedia.org/wiki/regex 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.-ouId :: Lens' OrganizationalUnit (Maybe Text)-ouId = lens _ouId (\ s a -> s{_ouId = a})--instance FromJSON OrganizationalUnit where-        parseJSON-          = withObject "OrganizationalUnit"-              (\ x ->-                 OrganizationalUnit' <$>-                   (x .:? "Arn") <*> (x .:? "Name") <*> (x .:? "Id"))--instance Hashable OrganizationalUnit where--instance NFData OrganizationalUnit where---- | Contains information about either a root or an organizational unit (OU) that can contain OUs or accounts in an organization.------------ /See:/ 'parent' smart constructor.-data Parent = Parent'-  { _pId   :: !(Maybe Text)-  , _pType :: !(Maybe ParentType)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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 <http://wikipedia.org/wiki/regex 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.-parent-    :: Parent-parent = Parent' {_pId = Nothing, _pType = Nothing}----- | The unique identifier (ID) of the parent entity. The <http://wikipedia.org/wiki/regex 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.-pId :: Lens' Parent (Maybe Text)-pId = lens _pId (\ s a -> s{_pId = a})---- | The type of the parent entity.-pType :: Lens' Parent (Maybe ParentType)-pType = lens _pType (\ s a -> s{_pType = a})--instance FromJSON Parent where-        parseJSON-          = withObject "Parent"-              (\ x -> Parent' <$> (x .:? "Id") <*> (x .:? "Type"))--instance Hashable Parent where--instance NFData Parent where---- | 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.-data Policy = Policy'-  { _pContent       :: !(Maybe Text)-  , _pPolicySummary :: !(Maybe PolicySummary)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-policy-    :: Policy-policy = Policy' {_pContent = Nothing, _pPolicySummary = Nothing}----- | The text content of the policy.-pContent :: Lens' Policy (Maybe Text)-pContent = lens _pContent (\ s a -> s{_pContent = a})---- | A structure that contains additional details about the policy.-pPolicySummary :: Lens' Policy (Maybe PolicySummary)-pPolicySummary = lens _pPolicySummary (\ s a -> s{_pPolicySummary = a})--instance FromJSON Policy where-        parseJSON-          = withObject "Policy"-              (\ x ->-                 Policy' <$>-                   (x .:? "Content") <*> (x .:? "PolicySummary"))--instance Hashable Policy where--instance NFData Policy where---- | Contains information about a policy, but does not include the content. To see the content of a policy, see 'DescribePolicy' .------------ /See:/ 'policySummary' smart constructor.-data PolicySummary = PolicySummary'-  { _psARN         :: !(Maybe Text)-  , _psName        :: !(Maybe Text)-  , _psId          :: !(Maybe Text)-  , _psAWSManaged  :: !(Maybe Bool)-  , _psType        :: !(Maybe PolicyType)-  , _psDescription :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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 <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns ARN Formats Supported by Organizations> in the /AWS Organizations User Guide/ .------ * 'psName' - The friendly name of the policy. The <http://wikipedia.org/wiki/regex 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 <http://wikipedia.org/wiki/regex 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.-policySummary-    :: PolicySummary-policySummary =-  PolicySummary'-    { _psARN = Nothing-    , _psName = Nothing-    , _psId = Nothing-    , _psAWSManaged = Nothing-    , _psType = Nothing-    , _psDescription = Nothing-    }----- | The Amazon Resource Name (ARN) of the policy. For more information about ARNs in Organizations, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns ARN Formats Supported by Organizations> in the /AWS Organizations User Guide/ .-psARN :: Lens' PolicySummary (Maybe Text)-psARN = lens _psARN (\ s a -> s{_psARN = a})---- | The friendly name of the policy. The <http://wikipedia.org/wiki/regex regex pattern> that is used to validate this parameter is a string of any of the characters in the ASCII character range.-psName :: Lens' PolicySummary (Maybe Text)-psName = lens _psName (\ s a -> s{_psName = a})---- | The unique identifier (ID) of the policy. The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.-psId :: Lens' PolicySummary (Maybe Text)-psId = lens _psId (\ s a -> s{_psId = a})---- | 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.-psAWSManaged :: Lens' PolicySummary (Maybe Bool)-psAWSManaged = lens _psAWSManaged (\ s a -> s{_psAWSManaged = a})---- | The type of policy.-psType :: Lens' PolicySummary (Maybe PolicyType)-psType = lens _psType (\ s a -> s{_psType = a})---- | The description of the policy.-psDescription :: Lens' PolicySummary (Maybe Text)-psDescription = lens _psDescription (\ s a -> s{_psDescription = a})--instance FromJSON PolicySummary where-        parseJSON-          = withObject "PolicySummary"-              (\ x ->-                 PolicySummary' <$>-                   (x .:? "Arn") <*> (x .:? "Name") <*> (x .:? "Id") <*>-                     (x .:? "AwsManaged")-                     <*> (x .:? "Type")-                     <*> (x .:? "Description"))--instance Hashable PolicySummary where--instance NFData PolicySummary where---- | Contains information about a root, OU, or account that a policy is attached to.------------ /See:/ 'policyTargetSummary' smart constructor.-data PolicyTargetSummary = PolicyTargetSummary'-  { _polTargetId :: !(Maybe Text)-  , _polARN      :: !(Maybe Text)-  , _polName     :: !(Maybe Text)-  , _polType     :: !(Maybe TargetType)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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 <http://wikipedia.org/wiki/regex 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 <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns ARN Formats Supported by Organizations> in the /AWS Organizations User Guide/ .------ * 'polName' - The friendly name of the policy target. The <http://wikipedia.org/wiki/regex 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.-policyTargetSummary-    :: PolicyTargetSummary-policyTargetSummary =-  PolicyTargetSummary'-    { _polTargetId = Nothing-    , _polARN = Nothing-    , _polName = Nothing-    , _polType = Nothing-    }----- | The unique identifier (ID) of the policy target. The <http://wikipedia.org/wiki/regex 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.-polTargetId :: Lens' PolicyTargetSummary (Maybe Text)-polTargetId = lens _polTargetId (\ s a -> s{_polTargetId = a})---- | The Amazon Resource Name (ARN) of the policy target. For more information about ARNs in Organizations, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns ARN Formats Supported by Organizations> in the /AWS Organizations User Guide/ .-polARN :: Lens' PolicyTargetSummary (Maybe Text)-polARN = lens _polARN (\ s a -> s{_polARN = a})---- | The friendly name of the policy target. The <http://wikipedia.org/wiki/regex regex pattern> that is used to validate this parameter is a string of any of the characters in the ASCII character range.-polName :: Lens' PolicyTargetSummary (Maybe Text)-polName = lens _polName (\ s a -> s{_polName = a})---- | The type of the policy target.-polType :: Lens' PolicyTargetSummary (Maybe TargetType)-polType = lens _polType (\ s a -> s{_polType = a})--instance FromJSON PolicyTargetSummary where-        parseJSON-          = withObject "PolicyTargetSummary"-              (\ x ->-                 PolicyTargetSummary' <$>-                   (x .:? "TargetId") <*> (x .:? "Arn") <*>-                     (x .:? "Name")-                     <*> (x .:? "Type"))--instance Hashable PolicyTargetSummary where--instance NFData PolicyTargetSummary where---- | Contains information about a policy type and its status in the associated root.------------ /See:/ 'policyTypeSummary' smart constructor.-data PolicyTypeSummary = PolicyTypeSummary'-  { _ptsStatus :: !(Maybe PolicyTypeStatus)-  , _ptsType   :: !(Maybe PolicyType)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-policyTypeSummary-    :: PolicyTypeSummary-policyTypeSummary =-  PolicyTypeSummary' {_ptsStatus = Nothing, _ptsType = Nothing}----- | 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.-ptsStatus :: Lens' PolicyTypeSummary (Maybe PolicyTypeStatus)-ptsStatus = lens _ptsStatus (\ s a -> s{_ptsStatus = a})---- | The name of the policy type.-ptsType :: Lens' PolicyTypeSummary (Maybe PolicyType)-ptsType = lens _ptsType (\ s a -> s{_ptsType = a})--instance FromJSON PolicyTypeSummary where-        parseJSON-          = withObject "PolicyTypeSummary"-              (\ x ->-                 PolicyTypeSummary' <$>-                   (x .:? "Status") <*> (x .:? "Type"))--instance Hashable PolicyTypeSummary where--instance NFData PolicyTypeSummary where---- | 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.-data Root = Root'-  { _rARN         :: !(Maybe Text)-  , _rName        :: !(Maybe Text)-  , _rId          :: !(Maybe Text)-  , _rPolicyTypes :: !(Maybe [PolicyTypeSummary])-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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 <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns ARN Formats Supported by Organizations> in the /AWS Organizations User Guide/ .------ * 'rName' - The friendly name of the root. The <http://wikipedia.org/wiki/regex 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 <http://wikipedia.org/wiki/regex 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.-root-    :: Root-root =-  Root'-    {_rARN = Nothing, _rName = Nothing, _rId = Nothing, _rPolicyTypes = Nothing}----- | The Amazon Resource Name (ARN) of the root. For more information about ARNs in Organizations, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns ARN Formats Supported by Organizations> in the /AWS Organizations User Guide/ .-rARN :: Lens' Root (Maybe Text)-rARN = lens _rARN (\ s a -> s{_rARN = a})---- | The friendly name of the root. The <http://wikipedia.org/wiki/regex regex pattern> that is used to validate this parameter is a string of any of the characters in the ASCII character range.-rName :: Lens' Root (Maybe Text)-rName = lens _rName (\ s a -> s{_rName = a})---- | The unique identifier (ID) for the root. The <http://wikipedia.org/wiki/regex regex pattern> for a root ID string requires "r-" followed by from 4 to 32 lower-case letters or digits.-rId :: Lens' Root (Maybe Text)-rId = lens _rId (\ s a -> s{_rId = a})---- | 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.-rPolicyTypes :: Lens' Root [PolicyTypeSummary]-rPolicyTypes = lens _rPolicyTypes (\ s a -> s{_rPolicyTypes = a}) . _Default . _Coerce--instance FromJSON Root where-        parseJSON-          = withObject "Root"-              (\ x ->-                 Root' <$>-                   (x .:? "Arn") <*> (x .:? "Name") <*> (x .:? "Id") <*>-                     (x .:? "PolicyTypes" .!= mempty))--instance Hashable Root where--instance NFData Root where
− gen/Network/AWS/Organizations/Types/Sum.hs
@@ -1,500 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE LambdaCase         #-}-{-# LANGUAGE OverloadedStrings  #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.Types.Sum--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.Organizations.Types.Sum where--import Network.AWS.Prelude--data AccountJoinedMethod-  = Created-  | Invited-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText AccountJoinedMethod where-    parser = takeLowerText >>= \case-        "created" -> pure Created-        "invited" -> pure Invited-        e -> fromTextError $ "Failure parsing AccountJoinedMethod from value: '" <> e-           <> "'. Accepted values: created, invited"--instance ToText AccountJoinedMethod where-    toText = \case-        Created -> "CREATED"-        Invited -> "INVITED"--instance Hashable     AccountJoinedMethod-instance NFData       AccountJoinedMethod-instance ToByteString AccountJoinedMethod-instance ToQuery      AccountJoinedMethod-instance ToHeader     AccountJoinedMethod--instance FromJSON AccountJoinedMethod where-    parseJSON = parseJSONText "AccountJoinedMethod"--data AccountStatus-  = Active-  | Suspended-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText AccountStatus where-    parser = takeLowerText >>= \case-        "active" -> pure Active-        "suspended" -> pure Suspended-        e -> fromTextError $ "Failure parsing AccountStatus from value: '" <> e-           <> "'. Accepted values: active, suspended"--instance ToText AccountStatus where-    toText = \case-        Active -> "ACTIVE"-        Suspended -> "SUSPENDED"--instance Hashable     AccountStatus-instance NFData       AccountStatus-instance ToByteString AccountStatus-instance ToQuery      AccountStatus-instance ToHeader     AccountStatus--instance FromJSON AccountStatus where-    parseJSON = parseJSONText "AccountStatus"--data ActionType-  = AddOrganizationsServiceLinkedRole-  | ApproveAllFeatures-  | EnableAllFeatures-  | Invite-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ActionType where-    parser = takeLowerText >>= \case-        "add_organizations_service_linked_role" -> pure AddOrganizationsServiceLinkedRole-        "approve_all_features" -> pure ApproveAllFeatures-        "enable_all_features" -> pure EnableAllFeatures-        "invite" -> pure Invite-        e -> fromTextError $ "Failure parsing ActionType from value: '" <> e-           <> "'. Accepted values: add_organizations_service_linked_role, approve_all_features, enable_all_features, invite"--instance ToText ActionType where-    toText = \case-        AddOrganizationsServiceLinkedRole -> "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE"-        ApproveAllFeatures -> "APPROVE_ALL_FEATURES"-        EnableAllFeatures -> "ENABLE_ALL_FEATURES"-        Invite -> "INVITE"--instance Hashable     ActionType-instance NFData       ActionType-instance ToByteString ActionType-instance ToQuery      ActionType-instance ToHeader     ActionType--instance ToJSON ActionType where-    toJSON = toJSONText--instance FromJSON ActionType where-    parseJSON = parseJSONText "ActionType"--data ChildType-  = CTAccount-  | CTOrganizationalUnit-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ChildType where-    parser = takeLowerText >>= \case-        "account" -> pure CTAccount-        "organizational_unit" -> pure CTOrganizationalUnit-        e -> fromTextError $ "Failure parsing ChildType from value: '" <> e-           <> "'. Accepted values: account, organizational_unit"--instance ToText ChildType where-    toText = \case-        CTAccount -> "ACCOUNT"-        CTOrganizationalUnit -> "ORGANIZATIONAL_UNIT"--instance Hashable     ChildType-instance NFData       ChildType-instance ToByteString ChildType-instance ToQuery      ChildType-instance ToHeader     ChildType--instance ToJSON ChildType where-    toJSON = toJSONText--instance FromJSON ChildType where-    parseJSON = parseJSONText "ChildType"--data CreateAccountFailureReason-  = AccountLimitExceeded-  | ConcurrentAccountModification-  | EmailAlreadyExists-  | InternalFailure-  | InvalidAddress-  | InvalidEmail-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText CreateAccountFailureReason where-    parser = takeLowerText >>= \case-        "account_limit_exceeded" -> pure AccountLimitExceeded-        "concurrent_account_modification" -> pure ConcurrentAccountModification-        "email_already_exists" -> pure EmailAlreadyExists-        "internal_failure" -> pure InternalFailure-        "invalid_address" -> pure InvalidAddress-        "invalid_email" -> pure InvalidEmail-        e -> fromTextError $ "Failure parsing CreateAccountFailureReason from value: '" <> e-           <> "'. Accepted values: account_limit_exceeded, concurrent_account_modification, email_already_exists, internal_failure, invalid_address, invalid_email"--instance ToText CreateAccountFailureReason where-    toText = \case-        AccountLimitExceeded -> "ACCOUNT_LIMIT_EXCEEDED"-        ConcurrentAccountModification -> "CONCURRENT_ACCOUNT_MODIFICATION"-        EmailAlreadyExists -> "EMAIL_ALREADY_EXISTS"-        InternalFailure -> "INTERNAL_FAILURE"-        InvalidAddress -> "INVALID_ADDRESS"-        InvalidEmail -> "INVALID_EMAIL"--instance Hashable     CreateAccountFailureReason-instance NFData       CreateAccountFailureReason-instance ToByteString CreateAccountFailureReason-instance ToQuery      CreateAccountFailureReason-instance ToHeader     CreateAccountFailureReason--instance FromJSON CreateAccountFailureReason where-    parseJSON = parseJSONText "CreateAccountFailureReason"--data CreateAccountState-  = Failed-  | InProgress-  | Succeeded-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText CreateAccountState where-    parser = takeLowerText >>= \case-        "failed" -> pure Failed-        "in_progress" -> pure InProgress-        "succeeded" -> pure Succeeded-        e -> fromTextError $ "Failure parsing CreateAccountState from value: '" <> e-           <> "'. Accepted values: failed, in_progress, succeeded"--instance ToText CreateAccountState where-    toText = \case-        Failed -> "FAILED"-        InProgress -> "IN_PROGRESS"-        Succeeded -> "SUCCEEDED"--instance Hashable     CreateAccountState-instance NFData       CreateAccountState-instance ToByteString CreateAccountState-instance ToQuery      CreateAccountState-instance ToHeader     CreateAccountState--instance ToJSON CreateAccountState where-    toJSON = toJSONText--instance FromJSON CreateAccountState where-    parseJSON = parseJSONText "CreateAccountState"--data HandshakePartyType-  = HPTAccount-  | HPTEmail-  | HPTOrganization-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText HandshakePartyType where-    parser = takeLowerText >>= \case-        "account" -> pure HPTAccount-        "email" -> pure HPTEmail-        "organization" -> pure HPTOrganization-        e -> fromTextError $ "Failure parsing HandshakePartyType from value: '" <> e-           <> "'. Accepted values: account, email, organization"--instance ToText HandshakePartyType where-    toText = \case-        HPTAccount -> "ACCOUNT"-        HPTEmail -> "EMAIL"-        HPTOrganization -> "ORGANIZATION"--instance Hashable     HandshakePartyType-instance NFData       HandshakePartyType-instance ToByteString HandshakePartyType-instance ToQuery      HandshakePartyType-instance ToHeader     HandshakePartyType--instance ToJSON HandshakePartyType where-    toJSON = toJSONText--instance FromJSON HandshakePartyType where-    parseJSON = parseJSONText "HandshakePartyType"--data HandshakeResourceType-  = Account-  | Email-  | MasterEmail-  | MasterName-  | Notes-  | Organization-  | OrganizationFeatureSet-  | ParentHandshake-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText HandshakeResourceType where-    parser = takeLowerText >>= \case-        "account" -> pure Account-        "email" -> pure Email-        "master_email" -> pure MasterEmail-        "master_name" -> pure MasterName-        "notes" -> pure Notes-        "organization" -> pure Organization-        "organization_feature_set" -> pure OrganizationFeatureSet-        "parent_handshake" -> pure ParentHandshake-        e -> fromTextError $ "Failure parsing HandshakeResourceType from value: '" <> e-           <> "'. Accepted values: account, email, master_email, master_name, notes, organization, organization_feature_set, parent_handshake"--instance ToText HandshakeResourceType where-    toText = \case-        Account -> "ACCOUNT"-        Email -> "EMAIL"-        MasterEmail -> "MASTER_EMAIL"-        MasterName -> "MASTER_NAME"-        Notes -> "NOTES"-        Organization -> "ORGANIZATION"-        OrganizationFeatureSet -> "ORGANIZATION_FEATURE_SET"-        ParentHandshake -> "PARENT_HANDSHAKE"--instance Hashable     HandshakeResourceType-instance NFData       HandshakeResourceType-instance ToByteString HandshakeResourceType-instance ToQuery      HandshakeResourceType-instance ToHeader     HandshakeResourceType--instance FromJSON HandshakeResourceType where-    parseJSON = parseJSONText "HandshakeResourceType"--data HandshakeState-  = Accepted-  | Canceled-  | Declined-  | Expired-  | Open-  | Requested-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText HandshakeState where-    parser = takeLowerText >>= \case-        "accepted" -> pure Accepted-        "canceled" -> pure Canceled-        "declined" -> pure Declined-        "expired" -> pure Expired-        "open" -> pure Open-        "requested" -> pure Requested-        e -> fromTextError $ "Failure parsing HandshakeState from value: '" <> e-           <> "'. Accepted values: accepted, canceled, declined, expired, open, requested"--instance ToText HandshakeState where-    toText = \case-        Accepted -> "ACCEPTED"-        Canceled -> "CANCELED"-        Declined -> "DECLINED"-        Expired -> "EXPIRED"-        Open -> "OPEN"-        Requested -> "REQUESTED"--instance Hashable     HandshakeState-instance NFData       HandshakeState-instance ToByteString HandshakeState-instance ToQuery      HandshakeState-instance ToHeader     HandshakeState--instance FromJSON HandshakeState where-    parseJSON = parseJSONText "HandshakeState"--data IAMUserAccessToBilling-  = Allow-  | Deny-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText IAMUserAccessToBilling where-    parser = takeLowerText >>= \case-        "allow" -> pure Allow-        "deny" -> pure Deny-        e -> fromTextError $ "Failure parsing IAMUserAccessToBilling from value: '" <> e-           <> "'. Accepted values: allow, deny"--instance ToText IAMUserAccessToBilling where-    toText = \case-        Allow -> "ALLOW"-        Deny -> "DENY"--instance Hashable     IAMUserAccessToBilling-instance NFData       IAMUserAccessToBilling-instance ToByteString IAMUserAccessToBilling-instance ToQuery      IAMUserAccessToBilling-instance ToHeader     IAMUserAccessToBilling--instance ToJSON IAMUserAccessToBilling where-    toJSON = toJSONText--data OrganizationFeatureSet-  = All-  | ConsolidatedBilling-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText OrganizationFeatureSet where-    parser = takeLowerText >>= \case-        "all" -> pure All-        "consolidated_billing" -> pure ConsolidatedBilling-        e -> fromTextError $ "Failure parsing OrganizationFeatureSet from value: '" <> e-           <> "'. Accepted values: all, consolidated_billing"--instance ToText OrganizationFeatureSet where-    toText = \case-        All -> "ALL"-        ConsolidatedBilling -> "CONSOLIDATED_BILLING"--instance Hashable     OrganizationFeatureSet-instance NFData       OrganizationFeatureSet-instance ToByteString OrganizationFeatureSet-instance ToQuery      OrganizationFeatureSet-instance ToHeader     OrganizationFeatureSet--instance ToJSON OrganizationFeatureSet where-    toJSON = toJSONText--instance FromJSON OrganizationFeatureSet where-    parseJSON = parseJSONText "OrganizationFeatureSet"--data ParentType-  = OrganizationalUnit-  | Root-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ParentType where-    parser = takeLowerText >>= \case-        "organizational_unit" -> pure OrganizationalUnit-        "root" -> pure Root-        e -> fromTextError $ "Failure parsing ParentType from value: '" <> e-           <> "'. Accepted values: organizational_unit, root"--instance ToText ParentType where-    toText = \case-        OrganizationalUnit -> "ORGANIZATIONAL_UNIT"-        Root -> "ROOT"--instance Hashable     ParentType-instance NFData       ParentType-instance ToByteString ParentType-instance ToQuery      ParentType-instance ToHeader     ParentType--instance FromJSON ParentType where-    parseJSON = parseJSONText "ParentType"--data PolicyType =-  ServiceControlPolicy-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText PolicyType where-    parser = takeLowerText >>= \case-        "service_control_policy" -> pure ServiceControlPolicy-        e -> fromTextError $ "Failure parsing PolicyType from value: '" <> e-           <> "'. Accepted values: service_control_policy"--instance ToText PolicyType where-    toText = \case-        ServiceControlPolicy -> "SERVICE_CONTROL_POLICY"--instance Hashable     PolicyType-instance NFData       PolicyType-instance ToByteString PolicyType-instance ToQuery      PolicyType-instance ToHeader     PolicyType--instance ToJSON PolicyType where-    toJSON = toJSONText--instance FromJSON PolicyType where-    parseJSON = parseJSONText "PolicyType"--data PolicyTypeStatus-  = Enabled-  | PendingDisable-  | PendingEnable-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText PolicyTypeStatus where-    parser = takeLowerText >>= \case-        "enabled" -> pure Enabled-        "pending_disable" -> pure PendingDisable-        "pending_enable" -> pure PendingEnable-        e -> fromTextError $ "Failure parsing PolicyTypeStatus from value: '" <> e-           <> "'. Accepted values: enabled, pending_disable, pending_enable"--instance ToText PolicyTypeStatus where-    toText = \case-        Enabled -> "ENABLED"-        PendingDisable -> "PENDING_DISABLE"-        PendingEnable -> "PENDING_ENABLE"--instance Hashable     PolicyTypeStatus-instance NFData       PolicyTypeStatus-instance ToByteString PolicyTypeStatus-instance ToQuery      PolicyTypeStatus-instance ToHeader     PolicyTypeStatus--instance FromJSON PolicyTypeStatus where-    parseJSON = parseJSONText "PolicyTypeStatus"--data TargetType-  = TTAccount-  | TTOrganizationalUnit-  | TTRoot-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText TargetType where-    parser = takeLowerText >>= \case-        "account" -> pure TTAccount-        "organizational_unit" -> pure TTOrganizationalUnit-        "root" -> pure TTRoot-        e -> fromTextError $ "Failure parsing TargetType from value: '" <> e-           <> "'. Accepted values: account, organizational_unit, root"--instance ToText TargetType where-    toText = \case-        TTAccount -> "ACCOUNT"-        TTOrganizationalUnit -> "ORGANIZATIONAL_UNIT"-        TTRoot -> "ROOT"--instance Hashable     TargetType-instance NFData       TargetType-instance ToByteString TargetType-instance ToQuery      TargetType-instance ToHeader     TargetType--instance FromJSON TargetType where-    parseJSON = parseJSONText "TargetType"
− gen/Network/AWS/Organizations/UpdateOrganizationalUnit.hs
@@ -1,152 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.UpdateOrganizationalUnit--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Renames the specified organizational unit (OU). The ID and ARN do not change. The child OUs and accounts remain in place, and any attached policies of the OU remain attached.--------- This operation can be called only from the organization's master account.----module Network.AWS.Organizations.UpdateOrganizationalUnit-    (-    -- * Creating a Request-      updateOrganizationalUnit-    , UpdateOrganizationalUnit-    -- * Request Lenses-    , uouName-    , uouOrganizationalUnitId--    -- * Destructuring the Response-    , updateOrganizationalUnitResponse-    , UpdateOrganizationalUnitResponse-    -- * Response Lenses-    , uoursOrganizationalUnit-    , uoursResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'updateOrganizationalUnit' smart constructor.-data UpdateOrganizationalUnit = UpdateOrganizationalUnit'-  { _uouName                 :: !(Maybe Text)-  , _uouOrganizationalUnitId :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateOrganizationalUnit' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uouName' - The new name that you want to assign to the OU. The <http://wikipedia.org/wiki/regex regex pattern> that is used to validate this parameter is a string of any of the characters in the ASCII character range.------ * 'uouOrganizationalUnitId' - The unique identifier (ID) of the OU that you want to rename. You can get the ID from the 'ListOrganizationalUnitsForParent' operation. The <http://wikipedia.org/wiki/regex 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.-updateOrganizationalUnit-    :: Text -- ^ 'uouOrganizationalUnitId'-    -> UpdateOrganizationalUnit-updateOrganizationalUnit pOrganizationalUnitId_ =-  UpdateOrganizationalUnit'-    {_uouName = Nothing, _uouOrganizationalUnitId = pOrganizationalUnitId_}----- | The new name that you want to assign to the OU. The <http://wikipedia.org/wiki/regex regex pattern> that is used to validate this parameter is a string of any of the characters in the ASCII character range.-uouName :: Lens' UpdateOrganizationalUnit (Maybe Text)-uouName = lens _uouName (\ s a -> s{_uouName = a})---- | The unique identifier (ID) of the OU that you want to rename. You can get the ID from the 'ListOrganizationalUnitsForParent' operation. The <http://wikipedia.org/wiki/regex 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.-uouOrganizationalUnitId :: Lens' UpdateOrganizationalUnit Text-uouOrganizationalUnitId = lens _uouOrganizationalUnitId (\ s a -> s{_uouOrganizationalUnitId = a})--instance AWSRequest UpdateOrganizationalUnit where-        type Rs UpdateOrganizationalUnit =-             UpdateOrganizationalUnitResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 UpdateOrganizationalUnitResponse' <$>-                   (x .?> "OrganizationalUnit") <*> (pure (fromEnum s)))--instance Hashable UpdateOrganizationalUnit where--instance NFData UpdateOrganizationalUnit where--instance ToHeaders UpdateOrganizationalUnit where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.UpdateOrganizationalUnit"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UpdateOrganizationalUnit where-        toJSON UpdateOrganizationalUnit'{..}-          = object-              (catMaybes-                 [("Name" .=) <$> _uouName,-                  Just-                    ("OrganizationalUnitId" .=-                       _uouOrganizationalUnitId)])--instance ToPath UpdateOrganizationalUnit where-        toPath = const "/"--instance ToQuery UpdateOrganizationalUnit where-        toQuery = const mempty---- | /See:/ 'updateOrganizationalUnitResponse' smart constructor.-data UpdateOrganizationalUnitResponse = UpdateOrganizationalUnitResponse'-  { _uoursOrganizationalUnit :: !(Maybe OrganizationalUnit)-  , _uoursResponseStatus     :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateOrganizationalUnitResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uoursOrganizationalUnit' - A structure that contains the details about the specified OU, including its new name.------ * 'uoursResponseStatus' - -- | The response status code.-updateOrganizationalUnitResponse-    :: Int -- ^ 'uoursResponseStatus'-    -> UpdateOrganizationalUnitResponse-updateOrganizationalUnitResponse pResponseStatus_ =-  UpdateOrganizationalUnitResponse'-    { _uoursOrganizationalUnit = Nothing-    , _uoursResponseStatus = pResponseStatus_-    }----- | A structure that contains the details about the specified OU, including its new name.-uoursOrganizationalUnit :: Lens' UpdateOrganizationalUnitResponse (Maybe OrganizationalUnit)-uoursOrganizationalUnit = lens _uoursOrganizationalUnit (\ s a -> s{_uoursOrganizationalUnit = a})---- | -- | The response status code.-uoursResponseStatus :: Lens' UpdateOrganizationalUnitResponse Int-uoursResponseStatus = lens _uoursResponseStatus (\ s a -> s{_uoursResponseStatus = a})--instance NFData UpdateOrganizationalUnitResponse-         where
− gen/Network/AWS/Organizations/UpdatePolicy.hs
@@ -1,168 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.UpdatePolicy--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Updates an existing policy with a new name, description, or content. If any parameter is not supplied, that value remains unchanged. Note that you cannot change a policy's type.--------- This operation can be called only from the organization's master account.----module Network.AWS.Organizations.UpdatePolicy-    (-    -- * Creating a Request-      updatePolicy-    , UpdatePolicy-    -- * Request Lenses-    , upContent-    , upName-    , upDescription-    , upPolicyId--    -- * Destructuring the Response-    , updatePolicyResponse-    , UpdatePolicyResponse-    -- * Response Lenses-    , uprsPolicy-    , uprsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Organizations.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'updatePolicy' smart constructor.-data UpdatePolicy = UpdatePolicy'-  { _upContent     :: !(Maybe Text)-  , _upName        :: !(Maybe Text)-  , _upDescription :: !(Maybe Text)-  , _upPolicyId    :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdatePolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'upContent' - If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy's type. For more information, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html Service Control Policy Syntax> in the /AWS Organizations User Guide/ .------ * 'upName' - If provided, the new name for the policy. The <http://wikipedia.org/wiki/regex regex pattern> that is used to validate this parameter is a string of any of the characters in the ASCII character range.------ * 'upDescription' - If provided, the new description for the policy.------ * 'upPolicyId' - The unique identifier (ID) of the policy that you want to update. The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.-updatePolicy-    :: Text -- ^ 'upPolicyId'-    -> UpdatePolicy-updatePolicy pPolicyId_ =-  UpdatePolicy'-    { _upContent = Nothing-    , _upName = Nothing-    , _upDescription = Nothing-    , _upPolicyId = pPolicyId_-    }----- | If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy's type. For more information, see <http://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html Service Control Policy Syntax> in the /AWS Organizations User Guide/ .-upContent :: Lens' UpdatePolicy (Maybe Text)-upContent = lens _upContent (\ s a -> s{_upContent = a})---- | If provided, the new name for the policy. The <http://wikipedia.org/wiki/regex regex pattern> that is used to validate this parameter is a string of any of the characters in the ASCII character range.-upName :: Lens' UpdatePolicy (Maybe Text)-upName = lens _upName (\ s a -> s{_upName = a})---- | If provided, the new description for the policy.-upDescription :: Lens' UpdatePolicy (Maybe Text)-upDescription = lens _upDescription (\ s a -> s{_upDescription = a})---- | The unique identifier (ID) of the policy that you want to update. The <http://wikipedia.org/wiki/regex regex pattern> for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.-upPolicyId :: Lens' UpdatePolicy Text-upPolicyId = lens _upPolicyId (\ s a -> s{_upPolicyId = a})--instance AWSRequest UpdatePolicy where-        type Rs UpdatePolicy = UpdatePolicyResponse-        request = postJSON organizations-        response-          = receiveJSON-              (\ s h x ->-                 UpdatePolicyResponse' <$>-                   (x .?> "Policy") <*> (pure (fromEnum s)))--instance Hashable UpdatePolicy where--instance NFData UpdatePolicy where--instance ToHeaders UpdatePolicy where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSOrganizationsV20161128.UpdatePolicy" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UpdatePolicy where-        toJSON UpdatePolicy'{..}-          = object-              (catMaybes-                 [("Content" .=) <$> _upContent,-                  ("Name" .=) <$> _upName,-                  ("Description" .=) <$> _upDescription,-                  Just ("PolicyId" .= _upPolicyId)])--instance ToPath UpdatePolicy where-        toPath = const "/"--instance ToQuery UpdatePolicy where-        toQuery = const mempty---- | /See:/ 'updatePolicyResponse' smart constructor.-data UpdatePolicyResponse = UpdatePolicyResponse'-  { _uprsPolicy         :: !(Maybe Policy)-  , _uprsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdatePolicyResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uprsPolicy' - A structure that contains details about the updated policy, showing the requested changes.------ * 'uprsResponseStatus' - -- | The response status code.-updatePolicyResponse-    :: Int -- ^ 'uprsResponseStatus'-    -> UpdatePolicyResponse-updatePolicyResponse pResponseStatus_ =-  UpdatePolicyResponse'-    {_uprsPolicy = Nothing, _uprsResponseStatus = pResponseStatus_}----- | A structure that contains details about the updated policy, showing the requested changes.-uprsPolicy :: Lens' UpdatePolicyResponse (Maybe Policy)-uprsPolicy = lens _uprsPolicy (\ s a -> s{_uprsPolicy = a})---- | -- | The response status code.-uprsResponseStatus :: Lens' UpdatePolicyResponse Int-uprsResponseStatus = lens _uprsResponseStatus (\ s a -> s{_uprsResponseStatus = a})--instance NFData UpdatePolicyResponse where
− gen/Network/AWS/Organizations/Waiters.hs
@@ -1,21 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE TypeFamilies      #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Organizations.Waiters--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.Organizations.Waiters where--import Network.AWS.Lens-import Network.AWS.Organizations.Types-import Network.AWS.Prelude-import Network.AWS.Waiter
test/Main.hs view
@@ -2,20 +2,22 @@  -- | -- Module      : Main--- Copyright   : (c) 2013-2018 Brendan Hay+-- Copyright   : (c) 2013-2023 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Maintainer  : Brendan Hay -- Stability   : auto-generated -- Portability : non-portable (GHC extensions)--- module Main (main) where +import Test.Amazonka.Organizations+import Test.Amazonka.Organizations.Internal import Test.Tasty-import Test.AWS.Organizations-import Test.AWS.Organizations.Internal  main :: IO ()-main = defaultMain $ testGroup "Organizations"-    [ testGroup "tests"    tests-    , testGroup "fixtures" fixtures-    ]+main =+  defaultMain $+    testGroup+      "Organizations"+      [ testGroup "tests" tests,+        testGroup "fixtures" fixtures+      ]
− test/Test/AWS/Gen/Organizations.hs
@@ -1,795 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-orphans        #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Test.AWS.Gen.Organizations--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.Gen.Organizations where--import Data.Proxy-import Network.AWS.Organizations-import Test.AWS.Fixture-import Test.AWS.Organizations.Internal-import Test.AWS.Prelude-import Test.Tasty---- Auto-generated: the actual test selection needs to be manually placed into--- the top-level so that real test data can be incrementally added.------ This commented snippet is what the entire set should look like:---- fixtures :: TestTree--- fixtures =---     [ testGroup "request"---         [ requestListHandshakesForAccount $---             listHandshakesForAccount------         , requestDescribeAccount $---             describeAccount------         , requestListPolicies $---             listPolicies------         , requestCreatePolicy $---             createPolicy------         , requestListRoots $---             listRoots------         , requestAcceptHandshake $---             acceptHandshake------         , requestCreateOrganization $---             createOrganization------         , requestEnableAllFeatures $---             enableAllFeatures------         , requestDeleteOrganization $---             deleteOrganization------         , requestDescribeHandshake $---             describeHandshake------         , requestDescribePolicy $---             describePolicy------         , requestDisableAWSServiceAccess $---             disableAWSServiceAccess------         , requestLeaveOrganization $---             leaveOrganization------         , requestMoveAccount $---             moveAccount------         , requestListAccounts $---             listAccounts------         , requestInviteAccountToOrganization $---             inviteAccountToOrganization------         , requestListAWSServiceAccessForOrganization $---             listAWSServiceAccessForOrganization------         , requestListOrganizationalUnitsForParent $---             listOrganizationalUnitsForParent------         , requestCancelHandshake $---             cancelHandshake------         , requestListChildren $---             listChildren------         , requestDeletePolicy $---             deletePolicy------         , requestUpdatePolicy $---             updatePolicy------         , requestEnablePolicyType $---             enablePolicyType------         , requestDisablePolicyType $---             disablePolicyType------         , requestDescribeCreateAccountStatus $---             describeCreateAccountStatus------         , requestCreateOrganizationalUnit $---             createOrganizationalUnit------         , requestListAccountsForParent $---             listAccountsForParent------         , requestDetachPolicy $---             detachPolicy------         , requestRemoveAccountFromOrganization $---             removeAccountFromOrganization------         , requestEnableAWSServiceAccess $---             enableAWSServiceAccess------         , requestDescribeOrganizationalUnit $---             describeOrganizationalUnit------         , requestListParents $---             listParents------         , requestCreateAccount $---             createAccount------         , requestListCreateAccountStatus $---             listCreateAccountStatus------         , requestListTargetsForPolicy $---             listTargetsForPolicy------         , requestDeclineHandshake $---             declineHandshake------         , requestAttachPolicy $---             attachPolicy------         , requestListPoliciesForTarget $---             listPoliciesForTarget------         , requestDescribeOrganization $---             describeOrganization------         , requestListHandshakesForOrganization $---             listHandshakesForOrganization------         , requestDeleteOrganizationalUnit $---             deleteOrganizationalUnit------         , requestUpdateOrganizationalUnit $---             updateOrganizationalUnit------           ]----     , testGroup "response"---         [ responseListHandshakesForAccount $---             listHandshakesForAccountResponse------         , responseDescribeAccount $---             describeAccountResponse------         , responseListPolicies $---             listPoliciesResponse------         , responseCreatePolicy $---             createPolicyResponse------         , responseListRoots $---             listRootsResponse------         , responseAcceptHandshake $---             acceptHandshakeResponse------         , responseCreateOrganization $---             createOrganizationResponse------         , responseEnableAllFeatures $---             enableAllFeaturesResponse------         , responseDeleteOrganization $---             deleteOrganizationResponse------         , responseDescribeHandshake $---             describeHandshakeResponse------         , responseDescribePolicy $---             describePolicyResponse------         , responseDisableAWSServiceAccess $---             disableAWSServiceAccessResponse------         , responseLeaveOrganization $---             leaveOrganizationResponse------         , responseMoveAccount $---             moveAccountResponse------         , responseListAccounts $---             listAccountsResponse------         , responseInviteAccountToOrganization $---             inviteAccountToOrganizationResponse------         , responseListAWSServiceAccessForOrganization $---             listAWSServiceAccessForOrganizationResponse------         , responseListOrganizationalUnitsForParent $---             listOrganizationalUnitsForParentResponse------         , responseCancelHandshake $---             cancelHandshakeResponse------         , responseListChildren $---             listChildrenResponse------         , responseDeletePolicy $---             deletePolicyResponse------         , responseUpdatePolicy $---             updatePolicyResponse------         , responseEnablePolicyType $---             enablePolicyTypeResponse------         , responseDisablePolicyType $---             disablePolicyTypeResponse------         , responseDescribeCreateAccountStatus $---             describeCreateAccountStatusResponse------         , responseCreateOrganizationalUnit $---             createOrganizationalUnitResponse------         , responseListAccountsForParent $---             listAccountsForParentResponse------         , responseDetachPolicy $---             detachPolicyResponse------         , responseRemoveAccountFromOrganization $---             removeAccountFromOrganizationResponse------         , responseEnableAWSServiceAccess $---             enableAWSServiceAccessResponse------         , responseDescribeOrganizationalUnit $---             describeOrganizationalUnitResponse------         , responseListParents $---             listParentsResponse------         , responseCreateAccount $---             createAccountResponse------         , responseListCreateAccountStatus $---             listCreateAccountStatusResponse------         , responseListTargetsForPolicy $---             listTargetsForPolicyResponse------         , responseDeclineHandshake $---             declineHandshakeResponse------         , responseAttachPolicy $---             attachPolicyResponse------         , responseListPoliciesForTarget $---             listPoliciesForTargetResponse------         , responseDescribeOrganization $---             describeOrganizationResponse------         , responseListHandshakesForOrganization $---             listHandshakesForOrganizationResponse------         , responseDeleteOrganizationalUnit $---             deleteOrganizationalUnitResponse------         , responseUpdateOrganizationalUnit $---             updateOrganizationalUnitResponse------           ]---     ]---- Requests--requestListHandshakesForAccount :: ListHandshakesForAccount -> TestTree-requestListHandshakesForAccount = req-    "ListHandshakesForAccount"-    "fixture/ListHandshakesForAccount.yaml"--requestDescribeAccount :: DescribeAccount -> TestTree-requestDescribeAccount = req-    "DescribeAccount"-    "fixture/DescribeAccount.yaml"--requestListPolicies :: ListPolicies -> TestTree-requestListPolicies = req-    "ListPolicies"-    "fixture/ListPolicies.yaml"--requestCreatePolicy :: CreatePolicy -> TestTree-requestCreatePolicy = req-    "CreatePolicy"-    "fixture/CreatePolicy.yaml"--requestListRoots :: ListRoots -> TestTree-requestListRoots = req-    "ListRoots"-    "fixture/ListRoots.yaml"--requestAcceptHandshake :: AcceptHandshake -> TestTree-requestAcceptHandshake = req-    "AcceptHandshake"-    "fixture/AcceptHandshake.yaml"--requestCreateOrganization :: CreateOrganization -> TestTree-requestCreateOrganization = req-    "CreateOrganization"-    "fixture/CreateOrganization.yaml"--requestEnableAllFeatures :: EnableAllFeatures -> TestTree-requestEnableAllFeatures = req-    "EnableAllFeatures"-    "fixture/EnableAllFeatures.yaml"--requestDeleteOrganization :: DeleteOrganization -> TestTree-requestDeleteOrganization = req-    "DeleteOrganization"-    "fixture/DeleteOrganization.yaml"--requestDescribeHandshake :: DescribeHandshake -> TestTree-requestDescribeHandshake = req-    "DescribeHandshake"-    "fixture/DescribeHandshake.yaml"--requestDescribePolicy :: DescribePolicy -> TestTree-requestDescribePolicy = req-    "DescribePolicy"-    "fixture/DescribePolicy.yaml"--requestDisableAWSServiceAccess :: DisableAWSServiceAccess -> TestTree-requestDisableAWSServiceAccess = req-    "DisableAWSServiceAccess"-    "fixture/DisableAWSServiceAccess.yaml"--requestLeaveOrganization :: LeaveOrganization -> TestTree-requestLeaveOrganization = req-    "LeaveOrganization"-    "fixture/LeaveOrganization.yaml"--requestMoveAccount :: MoveAccount -> TestTree-requestMoveAccount = req-    "MoveAccount"-    "fixture/MoveAccount.yaml"--requestListAccounts :: ListAccounts -> TestTree-requestListAccounts = req-    "ListAccounts"-    "fixture/ListAccounts.yaml"--requestInviteAccountToOrganization :: InviteAccountToOrganization -> TestTree-requestInviteAccountToOrganization = req-    "InviteAccountToOrganization"-    "fixture/InviteAccountToOrganization.yaml"--requestListAWSServiceAccessForOrganization :: ListAWSServiceAccessForOrganization -> TestTree-requestListAWSServiceAccessForOrganization = req-    "ListAWSServiceAccessForOrganization"-    "fixture/ListAWSServiceAccessForOrganization.yaml"--requestListOrganizationalUnitsForParent :: ListOrganizationalUnitsForParent -> TestTree-requestListOrganizationalUnitsForParent = req-    "ListOrganizationalUnitsForParent"-    "fixture/ListOrganizationalUnitsForParent.yaml"--requestCancelHandshake :: CancelHandshake -> TestTree-requestCancelHandshake = req-    "CancelHandshake"-    "fixture/CancelHandshake.yaml"--requestListChildren :: ListChildren -> TestTree-requestListChildren = req-    "ListChildren"-    "fixture/ListChildren.yaml"--requestDeletePolicy :: DeletePolicy -> TestTree-requestDeletePolicy = req-    "DeletePolicy"-    "fixture/DeletePolicy.yaml"--requestUpdatePolicy :: UpdatePolicy -> TestTree-requestUpdatePolicy = req-    "UpdatePolicy"-    "fixture/UpdatePolicy.yaml"--requestEnablePolicyType :: EnablePolicyType -> TestTree-requestEnablePolicyType = req-    "EnablePolicyType"-    "fixture/EnablePolicyType.yaml"--requestDisablePolicyType :: DisablePolicyType -> TestTree-requestDisablePolicyType = req-    "DisablePolicyType"-    "fixture/DisablePolicyType.yaml"--requestDescribeCreateAccountStatus :: DescribeCreateAccountStatus -> TestTree-requestDescribeCreateAccountStatus = req-    "DescribeCreateAccountStatus"-    "fixture/DescribeCreateAccountStatus.yaml"--requestCreateOrganizationalUnit :: CreateOrganizationalUnit -> TestTree-requestCreateOrganizationalUnit = req-    "CreateOrganizationalUnit"-    "fixture/CreateOrganizationalUnit.yaml"--requestListAccountsForParent :: ListAccountsForParent -> TestTree-requestListAccountsForParent = req-    "ListAccountsForParent"-    "fixture/ListAccountsForParent.yaml"--requestDetachPolicy :: DetachPolicy -> TestTree-requestDetachPolicy = req-    "DetachPolicy"-    "fixture/DetachPolicy.yaml"--requestRemoveAccountFromOrganization :: RemoveAccountFromOrganization -> TestTree-requestRemoveAccountFromOrganization = req-    "RemoveAccountFromOrganization"-    "fixture/RemoveAccountFromOrganization.yaml"--requestEnableAWSServiceAccess :: EnableAWSServiceAccess -> TestTree-requestEnableAWSServiceAccess = req-    "EnableAWSServiceAccess"-    "fixture/EnableAWSServiceAccess.yaml"--requestDescribeOrganizationalUnit :: DescribeOrganizationalUnit -> TestTree-requestDescribeOrganizationalUnit = req-    "DescribeOrganizationalUnit"-    "fixture/DescribeOrganizationalUnit.yaml"--requestListParents :: ListParents -> TestTree-requestListParents = req-    "ListParents"-    "fixture/ListParents.yaml"--requestCreateAccount :: CreateAccount -> TestTree-requestCreateAccount = req-    "CreateAccount"-    "fixture/CreateAccount.yaml"--requestListCreateAccountStatus :: ListCreateAccountStatus -> TestTree-requestListCreateAccountStatus = req-    "ListCreateAccountStatus"-    "fixture/ListCreateAccountStatus.yaml"--requestListTargetsForPolicy :: ListTargetsForPolicy -> TestTree-requestListTargetsForPolicy = req-    "ListTargetsForPolicy"-    "fixture/ListTargetsForPolicy.yaml"--requestDeclineHandshake :: DeclineHandshake -> TestTree-requestDeclineHandshake = req-    "DeclineHandshake"-    "fixture/DeclineHandshake.yaml"--requestAttachPolicy :: AttachPolicy -> TestTree-requestAttachPolicy = req-    "AttachPolicy"-    "fixture/AttachPolicy.yaml"--requestListPoliciesForTarget :: ListPoliciesForTarget -> TestTree-requestListPoliciesForTarget = req-    "ListPoliciesForTarget"-    "fixture/ListPoliciesForTarget.yaml"--requestDescribeOrganization :: DescribeOrganization -> TestTree-requestDescribeOrganization = req-    "DescribeOrganization"-    "fixture/DescribeOrganization.yaml"--requestListHandshakesForOrganization :: ListHandshakesForOrganization -> TestTree-requestListHandshakesForOrganization = req-    "ListHandshakesForOrganization"-    "fixture/ListHandshakesForOrganization.yaml"--requestDeleteOrganizationalUnit :: DeleteOrganizationalUnit -> TestTree-requestDeleteOrganizationalUnit = req-    "DeleteOrganizationalUnit"-    "fixture/DeleteOrganizationalUnit.yaml"--requestUpdateOrganizationalUnit :: UpdateOrganizationalUnit -> TestTree-requestUpdateOrganizationalUnit = req-    "UpdateOrganizationalUnit"-    "fixture/UpdateOrganizationalUnit.yaml"---- Responses--responseListHandshakesForAccount :: ListHandshakesForAccountResponse -> TestTree-responseListHandshakesForAccount = res-    "ListHandshakesForAccountResponse"-    "fixture/ListHandshakesForAccountResponse.proto"-    organizations-    (Proxy :: Proxy ListHandshakesForAccount)--responseDescribeAccount :: DescribeAccountResponse -> TestTree-responseDescribeAccount = res-    "DescribeAccountResponse"-    "fixture/DescribeAccountResponse.proto"-    organizations-    (Proxy :: Proxy DescribeAccount)--responseListPolicies :: ListPoliciesResponse -> TestTree-responseListPolicies = res-    "ListPoliciesResponse"-    "fixture/ListPoliciesResponse.proto"-    organizations-    (Proxy :: Proxy ListPolicies)--responseCreatePolicy :: CreatePolicyResponse -> TestTree-responseCreatePolicy = res-    "CreatePolicyResponse"-    "fixture/CreatePolicyResponse.proto"-    organizations-    (Proxy :: Proxy CreatePolicy)--responseListRoots :: ListRootsResponse -> TestTree-responseListRoots = res-    "ListRootsResponse"-    "fixture/ListRootsResponse.proto"-    organizations-    (Proxy :: Proxy ListRoots)--responseAcceptHandshake :: AcceptHandshakeResponse -> TestTree-responseAcceptHandshake = res-    "AcceptHandshakeResponse"-    "fixture/AcceptHandshakeResponse.proto"-    organizations-    (Proxy :: Proxy AcceptHandshake)--responseCreateOrganization :: CreateOrganizationResponse -> TestTree-responseCreateOrganization = res-    "CreateOrganizationResponse"-    "fixture/CreateOrganizationResponse.proto"-    organizations-    (Proxy :: Proxy CreateOrganization)--responseEnableAllFeatures :: EnableAllFeaturesResponse -> TestTree-responseEnableAllFeatures = res-    "EnableAllFeaturesResponse"-    "fixture/EnableAllFeaturesResponse.proto"-    organizations-    (Proxy :: Proxy EnableAllFeatures)--responseDeleteOrganization :: DeleteOrganizationResponse -> TestTree-responseDeleteOrganization = res-    "DeleteOrganizationResponse"-    "fixture/DeleteOrganizationResponse.proto"-    organizations-    (Proxy :: Proxy DeleteOrganization)--responseDescribeHandshake :: DescribeHandshakeResponse -> TestTree-responseDescribeHandshake = res-    "DescribeHandshakeResponse"-    "fixture/DescribeHandshakeResponse.proto"-    organizations-    (Proxy :: Proxy DescribeHandshake)--responseDescribePolicy :: DescribePolicyResponse -> TestTree-responseDescribePolicy = res-    "DescribePolicyResponse"-    "fixture/DescribePolicyResponse.proto"-    organizations-    (Proxy :: Proxy DescribePolicy)--responseDisableAWSServiceAccess :: DisableAWSServiceAccessResponse -> TestTree-responseDisableAWSServiceAccess = res-    "DisableAWSServiceAccessResponse"-    "fixture/DisableAWSServiceAccessResponse.proto"-    organizations-    (Proxy :: Proxy DisableAWSServiceAccess)--responseLeaveOrganization :: LeaveOrganizationResponse -> TestTree-responseLeaveOrganization = res-    "LeaveOrganizationResponse"-    "fixture/LeaveOrganizationResponse.proto"-    organizations-    (Proxy :: Proxy LeaveOrganization)--responseMoveAccount :: MoveAccountResponse -> TestTree-responseMoveAccount = res-    "MoveAccountResponse"-    "fixture/MoveAccountResponse.proto"-    organizations-    (Proxy :: Proxy MoveAccount)--responseListAccounts :: ListAccountsResponse -> TestTree-responseListAccounts = res-    "ListAccountsResponse"-    "fixture/ListAccountsResponse.proto"-    organizations-    (Proxy :: Proxy ListAccounts)--responseInviteAccountToOrganization :: InviteAccountToOrganizationResponse -> TestTree-responseInviteAccountToOrganization = res-    "InviteAccountToOrganizationResponse"-    "fixture/InviteAccountToOrganizationResponse.proto"-    organizations-    (Proxy :: Proxy InviteAccountToOrganization)--responseListAWSServiceAccessForOrganization :: ListAWSServiceAccessForOrganizationResponse -> TestTree-responseListAWSServiceAccessForOrganization = res-    "ListAWSServiceAccessForOrganizationResponse"-    "fixture/ListAWSServiceAccessForOrganizationResponse.proto"-    organizations-    (Proxy :: Proxy ListAWSServiceAccessForOrganization)--responseListOrganizationalUnitsForParent :: ListOrganizationalUnitsForParentResponse -> TestTree-responseListOrganizationalUnitsForParent = res-    "ListOrganizationalUnitsForParentResponse"-    "fixture/ListOrganizationalUnitsForParentResponse.proto"-    organizations-    (Proxy :: Proxy ListOrganizationalUnitsForParent)--responseCancelHandshake :: CancelHandshakeResponse -> TestTree-responseCancelHandshake = res-    "CancelHandshakeResponse"-    "fixture/CancelHandshakeResponse.proto"-    organizations-    (Proxy :: Proxy CancelHandshake)--responseListChildren :: ListChildrenResponse -> TestTree-responseListChildren = res-    "ListChildrenResponse"-    "fixture/ListChildrenResponse.proto"-    organizations-    (Proxy :: Proxy ListChildren)--responseDeletePolicy :: DeletePolicyResponse -> TestTree-responseDeletePolicy = res-    "DeletePolicyResponse"-    "fixture/DeletePolicyResponse.proto"-    organizations-    (Proxy :: Proxy DeletePolicy)--responseUpdatePolicy :: UpdatePolicyResponse -> TestTree-responseUpdatePolicy = res-    "UpdatePolicyResponse"-    "fixture/UpdatePolicyResponse.proto"-    organizations-    (Proxy :: Proxy UpdatePolicy)--responseEnablePolicyType :: EnablePolicyTypeResponse -> TestTree-responseEnablePolicyType = res-    "EnablePolicyTypeResponse"-    "fixture/EnablePolicyTypeResponse.proto"-    organizations-    (Proxy :: Proxy EnablePolicyType)--responseDisablePolicyType :: DisablePolicyTypeResponse -> TestTree-responseDisablePolicyType = res-    "DisablePolicyTypeResponse"-    "fixture/DisablePolicyTypeResponse.proto"-    organizations-    (Proxy :: Proxy DisablePolicyType)--responseDescribeCreateAccountStatus :: DescribeCreateAccountStatusResponse -> TestTree-responseDescribeCreateAccountStatus = res-    "DescribeCreateAccountStatusResponse"-    "fixture/DescribeCreateAccountStatusResponse.proto"-    organizations-    (Proxy :: Proxy DescribeCreateAccountStatus)--responseCreateOrganizationalUnit :: CreateOrganizationalUnitResponse -> TestTree-responseCreateOrganizationalUnit = res-    "CreateOrganizationalUnitResponse"-    "fixture/CreateOrganizationalUnitResponse.proto"-    organizations-    (Proxy :: Proxy CreateOrganizationalUnit)--responseListAccountsForParent :: ListAccountsForParentResponse -> TestTree-responseListAccountsForParent = res-    "ListAccountsForParentResponse"-    "fixture/ListAccountsForParentResponse.proto"-    organizations-    (Proxy :: Proxy ListAccountsForParent)--responseDetachPolicy :: DetachPolicyResponse -> TestTree-responseDetachPolicy = res-    "DetachPolicyResponse"-    "fixture/DetachPolicyResponse.proto"-    organizations-    (Proxy :: Proxy DetachPolicy)--responseRemoveAccountFromOrganization :: RemoveAccountFromOrganizationResponse -> TestTree-responseRemoveAccountFromOrganization = res-    "RemoveAccountFromOrganizationResponse"-    "fixture/RemoveAccountFromOrganizationResponse.proto"-    organizations-    (Proxy :: Proxy RemoveAccountFromOrganization)--responseEnableAWSServiceAccess :: EnableAWSServiceAccessResponse -> TestTree-responseEnableAWSServiceAccess = res-    "EnableAWSServiceAccessResponse"-    "fixture/EnableAWSServiceAccessResponse.proto"-    organizations-    (Proxy :: Proxy EnableAWSServiceAccess)--responseDescribeOrganizationalUnit :: DescribeOrganizationalUnitResponse -> TestTree-responseDescribeOrganizationalUnit = res-    "DescribeOrganizationalUnitResponse"-    "fixture/DescribeOrganizationalUnitResponse.proto"-    organizations-    (Proxy :: Proxy DescribeOrganizationalUnit)--responseListParents :: ListParentsResponse -> TestTree-responseListParents = res-    "ListParentsResponse"-    "fixture/ListParentsResponse.proto"-    organizations-    (Proxy :: Proxy ListParents)--responseCreateAccount :: CreateAccountResponse -> TestTree-responseCreateAccount = res-    "CreateAccountResponse"-    "fixture/CreateAccountResponse.proto"-    organizations-    (Proxy :: Proxy CreateAccount)--responseListCreateAccountStatus :: ListCreateAccountStatusResponse -> TestTree-responseListCreateAccountStatus = res-    "ListCreateAccountStatusResponse"-    "fixture/ListCreateAccountStatusResponse.proto"-    organizations-    (Proxy :: Proxy ListCreateAccountStatus)--responseListTargetsForPolicy :: ListTargetsForPolicyResponse -> TestTree-responseListTargetsForPolicy = res-    "ListTargetsForPolicyResponse"-    "fixture/ListTargetsForPolicyResponse.proto"-    organizations-    (Proxy :: Proxy ListTargetsForPolicy)--responseDeclineHandshake :: DeclineHandshakeResponse -> TestTree-responseDeclineHandshake = res-    "DeclineHandshakeResponse"-    "fixture/DeclineHandshakeResponse.proto"-    organizations-    (Proxy :: Proxy DeclineHandshake)--responseAttachPolicy :: AttachPolicyResponse -> TestTree-responseAttachPolicy = res-    "AttachPolicyResponse"-    "fixture/AttachPolicyResponse.proto"-    organizations-    (Proxy :: Proxy AttachPolicy)--responseListPoliciesForTarget :: ListPoliciesForTargetResponse -> TestTree-responseListPoliciesForTarget = res-    "ListPoliciesForTargetResponse"-    "fixture/ListPoliciesForTargetResponse.proto"-    organizations-    (Proxy :: Proxy ListPoliciesForTarget)--responseDescribeOrganization :: DescribeOrganizationResponse -> TestTree-responseDescribeOrganization = res-    "DescribeOrganizationResponse"-    "fixture/DescribeOrganizationResponse.proto"-    organizations-    (Proxy :: Proxy DescribeOrganization)--responseListHandshakesForOrganization :: ListHandshakesForOrganizationResponse -> TestTree-responseListHandshakesForOrganization = res-    "ListHandshakesForOrganizationResponse"-    "fixture/ListHandshakesForOrganizationResponse.proto"-    organizations-    (Proxy :: Proxy ListHandshakesForOrganization)--responseDeleteOrganizationalUnit :: DeleteOrganizationalUnitResponse -> TestTree-responseDeleteOrganizationalUnit = res-    "DeleteOrganizationalUnitResponse"-    "fixture/DeleteOrganizationalUnitResponse.proto"-    organizations-    (Proxy :: Proxy DeleteOrganizationalUnit)--responseUpdateOrganizationalUnit :: UpdateOrganizationalUnitResponse -> TestTree-responseUpdateOrganizationalUnit = res-    "UpdateOrganizationalUnitResponse"-    "fixture/UpdateOrganizationalUnitResponse.proto"-    organizations-    (Proxy :: Proxy UpdateOrganizationalUnit)
− test/Test/AWS/Organizations.hs
@@ -1,20 +0,0 @@--- |--- Module      : Test.AWS.Organizations--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.Organizations-    ( tests-    , fixtures-    ) where--import Test.Tasty (TestTree)--tests :: [TestTree]-tests = []--fixtures :: [TestTree]-fixtures = []
− test/Test/AWS/Organizations/Internal.hs
@@ -1,9 +0,0 @@--- |--- Module      : Test.AWS.Organizations.Internal--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.Organizations.Internal where
+ test/Test/Amazonka/Gen/Organizations.hs view
@@ -0,0 +1,1138 @@+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Test.Amazonka.Gen.Organizations+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Gen.Organizations where++import Amazonka.Organizations+import qualified Data.Proxy as Proxy+import Test.Amazonka.Fixture+import Test.Amazonka.Organizations.Internal+import Test.Amazonka.Prelude+import Test.Tasty++-- Auto-generated: the actual test selection needs to be manually placed into+-- the top-level so that real test data can be incrementally added.+--+-- This commented snippet is what the entire set should look like:++-- fixtures :: TestTree+-- fixtures =+--     [ testGroup "request"+--         [ requestAcceptHandshake $+--             newAcceptHandshake+--+--         , requestAttachPolicy $+--             newAttachPolicy+--+--         , requestCancelHandshake $+--             newCancelHandshake+--+--         , requestCloseAccount $+--             newCloseAccount+--+--         , requestCreateAccount $+--             newCreateAccount+--+--         , requestCreateGovCloudAccount $+--             newCreateGovCloudAccount+--+--         , requestCreateOrganization $+--             newCreateOrganization+--+--         , requestCreateOrganizationalUnit $+--             newCreateOrganizationalUnit+--+--         , requestCreatePolicy $+--             newCreatePolicy+--+--         , requestDeclineHandshake $+--             newDeclineHandshake+--+--         , requestDeleteOrganization $+--             newDeleteOrganization+--+--         , requestDeleteOrganizationalUnit $+--             newDeleteOrganizationalUnit+--+--         , requestDeletePolicy $+--             newDeletePolicy+--+--         , requestDeleteResourcePolicy $+--             newDeleteResourcePolicy+--+--         , requestDeregisterDelegatedAdministrator $+--             newDeregisterDelegatedAdministrator+--+--         , requestDescribeAccount $+--             newDescribeAccount+--+--         , requestDescribeCreateAccountStatus $+--             newDescribeCreateAccountStatus+--+--         , requestDescribeEffectivePolicy $+--             newDescribeEffectivePolicy+--+--         , requestDescribeHandshake $+--             newDescribeHandshake+--+--         , requestDescribeOrganization $+--             newDescribeOrganization+--+--         , requestDescribeOrganizationalUnit $+--             newDescribeOrganizationalUnit+--+--         , requestDescribePolicy $+--             newDescribePolicy+--+--         , requestDescribeResourcePolicy $+--             newDescribeResourcePolicy+--+--         , requestDetachPolicy $+--             newDetachPolicy+--+--         , requestDisableAWSServiceAccess $+--             newDisableAWSServiceAccess+--+--         , requestDisablePolicyType $+--             newDisablePolicyType+--+--         , requestEnableAWSServiceAccess $+--             newEnableAWSServiceAccess+--+--         , requestEnableAllFeatures $+--             newEnableAllFeatures+--+--         , requestEnablePolicyType $+--             newEnablePolicyType+--+--         , requestInviteAccountToOrganization $+--             newInviteAccountToOrganization+--+--         , requestLeaveOrganization $+--             newLeaveOrganization+--+--         , requestListAWSServiceAccessForOrganization $+--             newListAWSServiceAccessForOrganization+--+--         , requestListAccounts $+--             newListAccounts+--+--         , requestListAccountsForParent $+--             newListAccountsForParent+--+--         , requestListChildren $+--             newListChildren+--+--         , requestListCreateAccountStatus $+--             newListCreateAccountStatus+--+--         , requestListDelegatedAdministrators $+--             newListDelegatedAdministrators+--+--         , requestListDelegatedServicesForAccount $+--             newListDelegatedServicesForAccount+--+--         , requestListHandshakesForAccount $+--             newListHandshakesForAccount+--+--         , requestListHandshakesForOrganization $+--             newListHandshakesForOrganization+--+--         , requestListOrganizationalUnitsForParent $+--             newListOrganizationalUnitsForParent+--+--         , requestListParents $+--             newListParents+--+--         , requestListPolicies $+--             newListPolicies+--+--         , requestListPoliciesForTarget $+--             newListPoliciesForTarget+--+--         , requestListRoots $+--             newListRoots+--+--         , requestListTagsForResource $+--             newListTagsForResource+--+--         , requestListTargetsForPolicy $+--             newListTargetsForPolicy+--+--         , requestMoveAccount $+--             newMoveAccount+--+--         , requestPutResourcePolicy $+--             newPutResourcePolicy+--+--         , requestRegisterDelegatedAdministrator $+--             newRegisterDelegatedAdministrator+--+--         , requestRemoveAccountFromOrganization $+--             newRemoveAccountFromOrganization+--+--         , requestTagResource $+--             newTagResource+--+--         , requestUntagResource $+--             newUntagResource+--+--         , requestUpdateOrganizationalUnit $+--             newUpdateOrganizationalUnit+--+--         , requestUpdatePolicy $+--             newUpdatePolicy+--+--           ]++--     , testGroup "response"+--         [ responseAcceptHandshake $+--             newAcceptHandshakeResponse+--+--         , responseAttachPolicy $+--             newAttachPolicyResponse+--+--         , responseCancelHandshake $+--             newCancelHandshakeResponse+--+--         , responseCloseAccount $+--             newCloseAccountResponse+--+--         , responseCreateAccount $+--             newCreateAccountResponse+--+--         , responseCreateGovCloudAccount $+--             newCreateGovCloudAccountResponse+--+--         , responseCreateOrganization $+--             newCreateOrganizationResponse+--+--         , responseCreateOrganizationalUnit $+--             newCreateOrganizationalUnitResponse+--+--         , responseCreatePolicy $+--             newCreatePolicyResponse+--+--         , responseDeclineHandshake $+--             newDeclineHandshakeResponse+--+--         , responseDeleteOrganization $+--             newDeleteOrganizationResponse+--+--         , responseDeleteOrganizationalUnit $+--             newDeleteOrganizationalUnitResponse+--+--         , responseDeletePolicy $+--             newDeletePolicyResponse+--+--         , responseDeleteResourcePolicy $+--             newDeleteResourcePolicyResponse+--+--         , responseDeregisterDelegatedAdministrator $+--             newDeregisterDelegatedAdministratorResponse+--+--         , responseDescribeAccount $+--             newDescribeAccountResponse+--+--         , responseDescribeCreateAccountStatus $+--             newDescribeCreateAccountStatusResponse+--+--         , responseDescribeEffectivePolicy $+--             newDescribeEffectivePolicyResponse+--+--         , responseDescribeHandshake $+--             newDescribeHandshakeResponse+--+--         , responseDescribeOrganization $+--             newDescribeOrganizationResponse+--+--         , responseDescribeOrganizationalUnit $+--             newDescribeOrganizationalUnitResponse+--+--         , responseDescribePolicy $+--             newDescribePolicyResponse+--+--         , responseDescribeResourcePolicy $+--             newDescribeResourcePolicyResponse+--+--         , responseDetachPolicy $+--             newDetachPolicyResponse+--+--         , responseDisableAWSServiceAccess $+--             newDisableAWSServiceAccessResponse+--+--         , responseDisablePolicyType $+--             newDisablePolicyTypeResponse+--+--         , responseEnableAWSServiceAccess $+--             newEnableAWSServiceAccessResponse+--+--         , responseEnableAllFeatures $+--             newEnableAllFeaturesResponse+--+--         , responseEnablePolicyType $+--             newEnablePolicyTypeResponse+--+--         , responseInviteAccountToOrganization $+--             newInviteAccountToOrganizationResponse+--+--         , responseLeaveOrganization $+--             newLeaveOrganizationResponse+--+--         , responseListAWSServiceAccessForOrganization $+--             newListAWSServiceAccessForOrganizationResponse+--+--         , responseListAccounts $+--             newListAccountsResponse+--+--         , responseListAccountsForParent $+--             newListAccountsForParentResponse+--+--         , responseListChildren $+--             newListChildrenResponse+--+--         , responseListCreateAccountStatus $+--             newListCreateAccountStatusResponse+--+--         , responseListDelegatedAdministrators $+--             newListDelegatedAdministratorsResponse+--+--         , responseListDelegatedServicesForAccount $+--             newListDelegatedServicesForAccountResponse+--+--         , responseListHandshakesForAccount $+--             newListHandshakesForAccountResponse+--+--         , responseListHandshakesForOrganization $+--             newListHandshakesForOrganizationResponse+--+--         , responseListOrganizationalUnitsForParent $+--             newListOrganizationalUnitsForParentResponse+--+--         , responseListParents $+--             newListParentsResponse+--+--         , responseListPolicies $+--             newListPoliciesResponse+--+--         , responseListPoliciesForTarget $+--             newListPoliciesForTargetResponse+--+--         , responseListRoots $+--             newListRootsResponse+--+--         , responseListTagsForResource $+--             newListTagsForResourceResponse+--+--         , responseListTargetsForPolicy $+--             newListTargetsForPolicyResponse+--+--         , responseMoveAccount $+--             newMoveAccountResponse+--+--         , responsePutResourcePolicy $+--             newPutResourcePolicyResponse+--+--         , responseRegisterDelegatedAdministrator $+--             newRegisterDelegatedAdministratorResponse+--+--         , responseRemoveAccountFromOrganization $+--             newRemoveAccountFromOrganizationResponse+--+--         , responseTagResource $+--             newTagResourceResponse+--+--         , responseUntagResource $+--             newUntagResourceResponse+--+--         , responseUpdateOrganizationalUnit $+--             newUpdateOrganizationalUnitResponse+--+--         , responseUpdatePolicy $+--             newUpdatePolicyResponse+--+--           ]+--     ]++-- Requests++requestAcceptHandshake :: AcceptHandshake -> TestTree+requestAcceptHandshake =+  req+    "AcceptHandshake"+    "fixture/AcceptHandshake.yaml"++requestAttachPolicy :: AttachPolicy -> TestTree+requestAttachPolicy =+  req+    "AttachPolicy"+    "fixture/AttachPolicy.yaml"++requestCancelHandshake :: CancelHandshake -> TestTree+requestCancelHandshake =+  req+    "CancelHandshake"+    "fixture/CancelHandshake.yaml"++requestCloseAccount :: CloseAccount -> TestTree+requestCloseAccount =+  req+    "CloseAccount"+    "fixture/CloseAccount.yaml"++requestCreateAccount :: CreateAccount -> TestTree+requestCreateAccount =+  req+    "CreateAccount"+    "fixture/CreateAccount.yaml"++requestCreateGovCloudAccount :: CreateGovCloudAccount -> TestTree+requestCreateGovCloudAccount =+  req+    "CreateGovCloudAccount"+    "fixture/CreateGovCloudAccount.yaml"++requestCreateOrganization :: CreateOrganization -> TestTree+requestCreateOrganization =+  req+    "CreateOrganization"+    "fixture/CreateOrganization.yaml"++requestCreateOrganizationalUnit :: CreateOrganizationalUnit -> TestTree+requestCreateOrganizationalUnit =+  req+    "CreateOrganizationalUnit"+    "fixture/CreateOrganizationalUnit.yaml"++requestCreatePolicy :: CreatePolicy -> TestTree+requestCreatePolicy =+  req+    "CreatePolicy"+    "fixture/CreatePolicy.yaml"++requestDeclineHandshake :: DeclineHandshake -> TestTree+requestDeclineHandshake =+  req+    "DeclineHandshake"+    "fixture/DeclineHandshake.yaml"++requestDeleteOrganization :: DeleteOrganization -> TestTree+requestDeleteOrganization =+  req+    "DeleteOrganization"+    "fixture/DeleteOrganization.yaml"++requestDeleteOrganizationalUnit :: DeleteOrganizationalUnit -> TestTree+requestDeleteOrganizationalUnit =+  req+    "DeleteOrganizationalUnit"+    "fixture/DeleteOrganizationalUnit.yaml"++requestDeletePolicy :: DeletePolicy -> TestTree+requestDeletePolicy =+  req+    "DeletePolicy"+    "fixture/DeletePolicy.yaml"++requestDeleteResourcePolicy :: DeleteResourcePolicy -> TestTree+requestDeleteResourcePolicy =+  req+    "DeleteResourcePolicy"+    "fixture/DeleteResourcePolicy.yaml"++requestDeregisterDelegatedAdministrator :: DeregisterDelegatedAdministrator -> TestTree+requestDeregisterDelegatedAdministrator =+  req+    "DeregisterDelegatedAdministrator"+    "fixture/DeregisterDelegatedAdministrator.yaml"++requestDescribeAccount :: DescribeAccount -> TestTree+requestDescribeAccount =+  req+    "DescribeAccount"+    "fixture/DescribeAccount.yaml"++requestDescribeCreateAccountStatus :: DescribeCreateAccountStatus -> TestTree+requestDescribeCreateAccountStatus =+  req+    "DescribeCreateAccountStatus"+    "fixture/DescribeCreateAccountStatus.yaml"++requestDescribeEffectivePolicy :: DescribeEffectivePolicy -> TestTree+requestDescribeEffectivePolicy =+  req+    "DescribeEffectivePolicy"+    "fixture/DescribeEffectivePolicy.yaml"++requestDescribeHandshake :: DescribeHandshake -> TestTree+requestDescribeHandshake =+  req+    "DescribeHandshake"+    "fixture/DescribeHandshake.yaml"++requestDescribeOrganization :: DescribeOrganization -> TestTree+requestDescribeOrganization =+  req+    "DescribeOrganization"+    "fixture/DescribeOrganization.yaml"++requestDescribeOrganizationalUnit :: DescribeOrganizationalUnit -> TestTree+requestDescribeOrganizationalUnit =+  req+    "DescribeOrganizationalUnit"+    "fixture/DescribeOrganizationalUnit.yaml"++requestDescribePolicy :: DescribePolicy -> TestTree+requestDescribePolicy =+  req+    "DescribePolicy"+    "fixture/DescribePolicy.yaml"++requestDescribeResourcePolicy :: DescribeResourcePolicy -> TestTree+requestDescribeResourcePolicy =+  req+    "DescribeResourcePolicy"+    "fixture/DescribeResourcePolicy.yaml"++requestDetachPolicy :: DetachPolicy -> TestTree+requestDetachPolicy =+  req+    "DetachPolicy"+    "fixture/DetachPolicy.yaml"++requestDisableAWSServiceAccess :: DisableAWSServiceAccess -> TestTree+requestDisableAWSServiceAccess =+  req+    "DisableAWSServiceAccess"+    "fixture/DisableAWSServiceAccess.yaml"++requestDisablePolicyType :: DisablePolicyType -> TestTree+requestDisablePolicyType =+  req+    "DisablePolicyType"+    "fixture/DisablePolicyType.yaml"++requestEnableAWSServiceAccess :: EnableAWSServiceAccess -> TestTree+requestEnableAWSServiceAccess =+  req+    "EnableAWSServiceAccess"+    "fixture/EnableAWSServiceAccess.yaml"++requestEnableAllFeatures :: EnableAllFeatures -> TestTree+requestEnableAllFeatures =+  req+    "EnableAllFeatures"+    "fixture/EnableAllFeatures.yaml"++requestEnablePolicyType :: EnablePolicyType -> TestTree+requestEnablePolicyType =+  req+    "EnablePolicyType"+    "fixture/EnablePolicyType.yaml"++requestInviteAccountToOrganization :: InviteAccountToOrganization -> TestTree+requestInviteAccountToOrganization =+  req+    "InviteAccountToOrganization"+    "fixture/InviteAccountToOrganization.yaml"++requestLeaveOrganization :: LeaveOrganization -> TestTree+requestLeaveOrganization =+  req+    "LeaveOrganization"+    "fixture/LeaveOrganization.yaml"++requestListAWSServiceAccessForOrganization :: ListAWSServiceAccessForOrganization -> TestTree+requestListAWSServiceAccessForOrganization =+  req+    "ListAWSServiceAccessForOrganization"+    "fixture/ListAWSServiceAccessForOrganization.yaml"++requestListAccounts :: ListAccounts -> TestTree+requestListAccounts =+  req+    "ListAccounts"+    "fixture/ListAccounts.yaml"++requestListAccountsForParent :: ListAccountsForParent -> TestTree+requestListAccountsForParent =+  req+    "ListAccountsForParent"+    "fixture/ListAccountsForParent.yaml"++requestListChildren :: ListChildren -> TestTree+requestListChildren =+  req+    "ListChildren"+    "fixture/ListChildren.yaml"++requestListCreateAccountStatus :: ListCreateAccountStatus -> TestTree+requestListCreateAccountStatus =+  req+    "ListCreateAccountStatus"+    "fixture/ListCreateAccountStatus.yaml"++requestListDelegatedAdministrators :: ListDelegatedAdministrators -> TestTree+requestListDelegatedAdministrators =+  req+    "ListDelegatedAdministrators"+    "fixture/ListDelegatedAdministrators.yaml"++requestListDelegatedServicesForAccount :: ListDelegatedServicesForAccount -> TestTree+requestListDelegatedServicesForAccount =+  req+    "ListDelegatedServicesForAccount"+    "fixture/ListDelegatedServicesForAccount.yaml"++requestListHandshakesForAccount :: ListHandshakesForAccount -> TestTree+requestListHandshakesForAccount =+  req+    "ListHandshakesForAccount"+    "fixture/ListHandshakesForAccount.yaml"++requestListHandshakesForOrganization :: ListHandshakesForOrganization -> TestTree+requestListHandshakesForOrganization =+  req+    "ListHandshakesForOrganization"+    "fixture/ListHandshakesForOrganization.yaml"++requestListOrganizationalUnitsForParent :: ListOrganizationalUnitsForParent -> TestTree+requestListOrganizationalUnitsForParent =+  req+    "ListOrganizationalUnitsForParent"+    "fixture/ListOrganizationalUnitsForParent.yaml"++requestListParents :: ListParents -> TestTree+requestListParents =+  req+    "ListParents"+    "fixture/ListParents.yaml"++requestListPolicies :: ListPolicies -> TestTree+requestListPolicies =+  req+    "ListPolicies"+    "fixture/ListPolicies.yaml"++requestListPoliciesForTarget :: ListPoliciesForTarget -> TestTree+requestListPoliciesForTarget =+  req+    "ListPoliciesForTarget"+    "fixture/ListPoliciesForTarget.yaml"++requestListRoots :: ListRoots -> TestTree+requestListRoots =+  req+    "ListRoots"+    "fixture/ListRoots.yaml"++requestListTagsForResource :: ListTagsForResource -> TestTree+requestListTagsForResource =+  req+    "ListTagsForResource"+    "fixture/ListTagsForResource.yaml"++requestListTargetsForPolicy :: ListTargetsForPolicy -> TestTree+requestListTargetsForPolicy =+  req+    "ListTargetsForPolicy"+    "fixture/ListTargetsForPolicy.yaml"++requestMoveAccount :: MoveAccount -> TestTree+requestMoveAccount =+  req+    "MoveAccount"+    "fixture/MoveAccount.yaml"++requestPutResourcePolicy :: PutResourcePolicy -> TestTree+requestPutResourcePolicy =+  req+    "PutResourcePolicy"+    "fixture/PutResourcePolicy.yaml"++requestRegisterDelegatedAdministrator :: RegisterDelegatedAdministrator -> TestTree+requestRegisterDelegatedAdministrator =+  req+    "RegisterDelegatedAdministrator"+    "fixture/RegisterDelegatedAdministrator.yaml"++requestRemoveAccountFromOrganization :: RemoveAccountFromOrganization -> TestTree+requestRemoveAccountFromOrganization =+  req+    "RemoveAccountFromOrganization"+    "fixture/RemoveAccountFromOrganization.yaml"++requestTagResource :: TagResource -> TestTree+requestTagResource =+  req+    "TagResource"+    "fixture/TagResource.yaml"++requestUntagResource :: UntagResource -> TestTree+requestUntagResource =+  req+    "UntagResource"+    "fixture/UntagResource.yaml"++requestUpdateOrganizationalUnit :: UpdateOrganizationalUnit -> TestTree+requestUpdateOrganizationalUnit =+  req+    "UpdateOrganizationalUnit"+    "fixture/UpdateOrganizationalUnit.yaml"++requestUpdatePolicy :: UpdatePolicy -> TestTree+requestUpdatePolicy =+  req+    "UpdatePolicy"+    "fixture/UpdatePolicy.yaml"++-- Responses++responseAcceptHandshake :: AcceptHandshakeResponse -> TestTree+responseAcceptHandshake =+  res+    "AcceptHandshakeResponse"+    "fixture/AcceptHandshakeResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy AcceptHandshake)++responseAttachPolicy :: AttachPolicyResponse -> TestTree+responseAttachPolicy =+  res+    "AttachPolicyResponse"+    "fixture/AttachPolicyResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy AttachPolicy)++responseCancelHandshake :: CancelHandshakeResponse -> TestTree+responseCancelHandshake =+  res+    "CancelHandshakeResponse"+    "fixture/CancelHandshakeResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy CancelHandshake)++responseCloseAccount :: CloseAccountResponse -> TestTree+responseCloseAccount =+  res+    "CloseAccountResponse"+    "fixture/CloseAccountResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy CloseAccount)++responseCreateAccount :: CreateAccountResponse -> TestTree+responseCreateAccount =+  res+    "CreateAccountResponse"+    "fixture/CreateAccountResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy CreateAccount)++responseCreateGovCloudAccount :: CreateGovCloudAccountResponse -> TestTree+responseCreateGovCloudAccount =+  res+    "CreateGovCloudAccountResponse"+    "fixture/CreateGovCloudAccountResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy CreateGovCloudAccount)++responseCreateOrganization :: CreateOrganizationResponse -> TestTree+responseCreateOrganization =+  res+    "CreateOrganizationResponse"+    "fixture/CreateOrganizationResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy CreateOrganization)++responseCreateOrganizationalUnit :: CreateOrganizationalUnitResponse -> TestTree+responseCreateOrganizationalUnit =+  res+    "CreateOrganizationalUnitResponse"+    "fixture/CreateOrganizationalUnitResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy CreateOrganizationalUnit)++responseCreatePolicy :: CreatePolicyResponse -> TestTree+responseCreatePolicy =+  res+    "CreatePolicyResponse"+    "fixture/CreatePolicyResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy CreatePolicy)++responseDeclineHandshake :: DeclineHandshakeResponse -> TestTree+responseDeclineHandshake =+  res+    "DeclineHandshakeResponse"+    "fixture/DeclineHandshakeResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeclineHandshake)++responseDeleteOrganization :: DeleteOrganizationResponse -> TestTree+responseDeleteOrganization =+  res+    "DeleteOrganizationResponse"+    "fixture/DeleteOrganizationResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeleteOrganization)++responseDeleteOrganizationalUnit :: DeleteOrganizationalUnitResponse -> TestTree+responseDeleteOrganizationalUnit =+  res+    "DeleteOrganizationalUnitResponse"+    "fixture/DeleteOrganizationalUnitResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeleteOrganizationalUnit)++responseDeletePolicy :: DeletePolicyResponse -> TestTree+responseDeletePolicy =+  res+    "DeletePolicyResponse"+    "fixture/DeletePolicyResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeletePolicy)++responseDeleteResourcePolicy :: DeleteResourcePolicyResponse -> TestTree+responseDeleteResourcePolicy =+  res+    "DeleteResourcePolicyResponse"+    "fixture/DeleteResourcePolicyResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeleteResourcePolicy)++responseDeregisterDelegatedAdministrator :: DeregisterDelegatedAdministratorResponse -> TestTree+responseDeregisterDelegatedAdministrator =+  res+    "DeregisterDelegatedAdministratorResponse"+    "fixture/DeregisterDelegatedAdministratorResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeregisterDelegatedAdministrator)++responseDescribeAccount :: DescribeAccountResponse -> TestTree+responseDescribeAccount =+  res+    "DescribeAccountResponse"+    "fixture/DescribeAccountResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeAccount)++responseDescribeCreateAccountStatus :: DescribeCreateAccountStatusResponse -> TestTree+responseDescribeCreateAccountStatus =+  res+    "DescribeCreateAccountStatusResponse"+    "fixture/DescribeCreateAccountStatusResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeCreateAccountStatus)++responseDescribeEffectivePolicy :: DescribeEffectivePolicyResponse -> TestTree+responseDescribeEffectivePolicy =+  res+    "DescribeEffectivePolicyResponse"+    "fixture/DescribeEffectivePolicyResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeEffectivePolicy)++responseDescribeHandshake :: DescribeHandshakeResponse -> TestTree+responseDescribeHandshake =+  res+    "DescribeHandshakeResponse"+    "fixture/DescribeHandshakeResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeHandshake)++responseDescribeOrganization :: DescribeOrganizationResponse -> TestTree+responseDescribeOrganization =+  res+    "DescribeOrganizationResponse"+    "fixture/DescribeOrganizationResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeOrganization)++responseDescribeOrganizationalUnit :: DescribeOrganizationalUnitResponse -> TestTree+responseDescribeOrganizationalUnit =+  res+    "DescribeOrganizationalUnitResponse"+    "fixture/DescribeOrganizationalUnitResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeOrganizationalUnit)++responseDescribePolicy :: DescribePolicyResponse -> TestTree+responseDescribePolicy =+  res+    "DescribePolicyResponse"+    "fixture/DescribePolicyResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribePolicy)++responseDescribeResourcePolicy :: DescribeResourcePolicyResponse -> TestTree+responseDescribeResourcePolicy =+  res+    "DescribeResourcePolicyResponse"+    "fixture/DescribeResourcePolicyResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeResourcePolicy)++responseDetachPolicy :: DetachPolicyResponse -> TestTree+responseDetachPolicy =+  res+    "DetachPolicyResponse"+    "fixture/DetachPolicyResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DetachPolicy)++responseDisableAWSServiceAccess :: DisableAWSServiceAccessResponse -> TestTree+responseDisableAWSServiceAccess =+  res+    "DisableAWSServiceAccessResponse"+    "fixture/DisableAWSServiceAccessResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DisableAWSServiceAccess)++responseDisablePolicyType :: DisablePolicyTypeResponse -> TestTree+responseDisablePolicyType =+  res+    "DisablePolicyTypeResponse"+    "fixture/DisablePolicyTypeResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DisablePolicyType)++responseEnableAWSServiceAccess :: EnableAWSServiceAccessResponse -> TestTree+responseEnableAWSServiceAccess =+  res+    "EnableAWSServiceAccessResponse"+    "fixture/EnableAWSServiceAccessResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy EnableAWSServiceAccess)++responseEnableAllFeatures :: EnableAllFeaturesResponse -> TestTree+responseEnableAllFeatures =+  res+    "EnableAllFeaturesResponse"+    "fixture/EnableAllFeaturesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy EnableAllFeatures)++responseEnablePolicyType :: EnablePolicyTypeResponse -> TestTree+responseEnablePolicyType =+  res+    "EnablePolicyTypeResponse"+    "fixture/EnablePolicyTypeResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy EnablePolicyType)++responseInviteAccountToOrganization :: InviteAccountToOrganizationResponse -> TestTree+responseInviteAccountToOrganization =+  res+    "InviteAccountToOrganizationResponse"+    "fixture/InviteAccountToOrganizationResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy InviteAccountToOrganization)++responseLeaveOrganization :: LeaveOrganizationResponse -> TestTree+responseLeaveOrganization =+  res+    "LeaveOrganizationResponse"+    "fixture/LeaveOrganizationResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy LeaveOrganization)++responseListAWSServiceAccessForOrganization :: ListAWSServiceAccessForOrganizationResponse -> TestTree+responseListAWSServiceAccessForOrganization =+  res+    "ListAWSServiceAccessForOrganizationResponse"+    "fixture/ListAWSServiceAccessForOrganizationResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListAWSServiceAccessForOrganization)++responseListAccounts :: ListAccountsResponse -> TestTree+responseListAccounts =+  res+    "ListAccountsResponse"+    "fixture/ListAccountsResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListAccounts)++responseListAccountsForParent :: ListAccountsForParentResponse -> TestTree+responseListAccountsForParent =+  res+    "ListAccountsForParentResponse"+    "fixture/ListAccountsForParentResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListAccountsForParent)++responseListChildren :: ListChildrenResponse -> TestTree+responseListChildren =+  res+    "ListChildrenResponse"+    "fixture/ListChildrenResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListChildren)++responseListCreateAccountStatus :: ListCreateAccountStatusResponse -> TestTree+responseListCreateAccountStatus =+  res+    "ListCreateAccountStatusResponse"+    "fixture/ListCreateAccountStatusResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListCreateAccountStatus)++responseListDelegatedAdministrators :: ListDelegatedAdministratorsResponse -> TestTree+responseListDelegatedAdministrators =+  res+    "ListDelegatedAdministratorsResponse"+    "fixture/ListDelegatedAdministratorsResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListDelegatedAdministrators)++responseListDelegatedServicesForAccount :: ListDelegatedServicesForAccountResponse -> TestTree+responseListDelegatedServicesForAccount =+  res+    "ListDelegatedServicesForAccountResponse"+    "fixture/ListDelegatedServicesForAccountResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListDelegatedServicesForAccount)++responseListHandshakesForAccount :: ListHandshakesForAccountResponse -> TestTree+responseListHandshakesForAccount =+  res+    "ListHandshakesForAccountResponse"+    "fixture/ListHandshakesForAccountResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListHandshakesForAccount)++responseListHandshakesForOrganization :: ListHandshakesForOrganizationResponse -> TestTree+responseListHandshakesForOrganization =+  res+    "ListHandshakesForOrganizationResponse"+    "fixture/ListHandshakesForOrganizationResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListHandshakesForOrganization)++responseListOrganizationalUnitsForParent :: ListOrganizationalUnitsForParentResponse -> TestTree+responseListOrganizationalUnitsForParent =+  res+    "ListOrganizationalUnitsForParentResponse"+    "fixture/ListOrganizationalUnitsForParentResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListOrganizationalUnitsForParent)++responseListParents :: ListParentsResponse -> TestTree+responseListParents =+  res+    "ListParentsResponse"+    "fixture/ListParentsResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListParents)++responseListPolicies :: ListPoliciesResponse -> TestTree+responseListPolicies =+  res+    "ListPoliciesResponse"+    "fixture/ListPoliciesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListPolicies)++responseListPoliciesForTarget :: ListPoliciesForTargetResponse -> TestTree+responseListPoliciesForTarget =+  res+    "ListPoliciesForTargetResponse"+    "fixture/ListPoliciesForTargetResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListPoliciesForTarget)++responseListRoots :: ListRootsResponse -> TestTree+responseListRoots =+  res+    "ListRootsResponse"+    "fixture/ListRootsResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListRoots)++responseListTagsForResource :: ListTagsForResourceResponse -> TestTree+responseListTagsForResource =+  res+    "ListTagsForResourceResponse"+    "fixture/ListTagsForResourceResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListTagsForResource)++responseListTargetsForPolicy :: ListTargetsForPolicyResponse -> TestTree+responseListTargetsForPolicy =+  res+    "ListTargetsForPolicyResponse"+    "fixture/ListTargetsForPolicyResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListTargetsForPolicy)++responseMoveAccount :: MoveAccountResponse -> TestTree+responseMoveAccount =+  res+    "MoveAccountResponse"+    "fixture/MoveAccountResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy MoveAccount)++responsePutResourcePolicy :: PutResourcePolicyResponse -> TestTree+responsePutResourcePolicy =+  res+    "PutResourcePolicyResponse"+    "fixture/PutResourcePolicyResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy PutResourcePolicy)++responseRegisterDelegatedAdministrator :: RegisterDelegatedAdministratorResponse -> TestTree+responseRegisterDelegatedAdministrator =+  res+    "RegisterDelegatedAdministratorResponse"+    "fixture/RegisterDelegatedAdministratorResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy RegisterDelegatedAdministrator)++responseRemoveAccountFromOrganization :: RemoveAccountFromOrganizationResponse -> TestTree+responseRemoveAccountFromOrganization =+  res+    "RemoveAccountFromOrganizationResponse"+    "fixture/RemoveAccountFromOrganizationResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy RemoveAccountFromOrganization)++responseTagResource :: TagResourceResponse -> TestTree+responseTagResource =+  res+    "TagResourceResponse"+    "fixture/TagResourceResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy TagResource)++responseUntagResource :: UntagResourceResponse -> TestTree+responseUntagResource =+  res+    "UntagResourceResponse"+    "fixture/UntagResourceResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy UntagResource)++responseUpdateOrganizationalUnit :: UpdateOrganizationalUnitResponse -> TestTree+responseUpdateOrganizationalUnit =+  res+    "UpdateOrganizationalUnitResponse"+    "fixture/UpdateOrganizationalUnitResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy UpdateOrganizationalUnit)++responseUpdatePolicy :: UpdatePolicyResponse -> TestTree+responseUpdatePolicy =+  res+    "UpdatePolicyResponse"+    "fixture/UpdatePolicyResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy UpdatePolicy)
+ test/Test/Amazonka/Organizations.hs view
@@ -0,0 +1,20 @@+-- |+-- Module      : Test.Amazonka.Organizations+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Organizations+  ( tests,+    fixtures,+  )+where++import Test.Tasty (TestTree)++tests :: [TestTree]+tests = []++fixtures :: [TestTree]+fixtures = []
+ test/Test/Amazonka/Organizations/Internal.hs view
@@ -0,0 +1,8 @@+-- |+-- Module      : Test.Amazonka.Organizations.Internal+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Organizations.Internal where