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

Amazonka.SSOAdmin.Types.AccountAssignment

Description

 
Synopsis

Documentation

data AccountAssignment Source #

The assignment that indicates a principal's limited access to a specified Amazon Web Services account with a specified permission set.

The term principal here refers to a user or group that is defined in Amazon Web Services SSO.

See: newAccountAssignment smart constructor.

Constructors

AccountAssignment' 

Fields

Instances

Instances details
Eq AccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.Types.AccountAssignment

Read AccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.Types.AccountAssignment

Show AccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.Types.AccountAssignment

Generic AccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.Types.AccountAssignment

Associated Types

type Rep AccountAssignment :: Type -> Type #

NFData AccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.Types.AccountAssignment

Methods

rnf :: AccountAssignment -> () #

Hashable AccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.Types.AccountAssignment

FromJSON AccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.Types.AccountAssignment

type Rep AccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.Types.AccountAssignment

type Rep AccountAssignment = D1 ('MetaData "AccountAssignment" "Amazonka.SSOAdmin.Types.AccountAssignment" "libZSservicesZSamazonka-sso-adminZSamazonka-sso-admin" 'False) (C1 ('MetaCons "AccountAssignment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "principalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "principalType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PrincipalType))) :*: (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "permissionSetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAccountAssignment :: AccountAssignment Source #

Create a value of AccountAssignment with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:principalId:AccountAssignment', accountAssignment_principalId - An identifier for an object in Amazon Web Services SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in Amazon Web Services SSO, see the Amazon Web Services SSO Identity Store API Reference.

$sel:principalType:AccountAssignment', accountAssignment_principalType - The entity type for which the assignment will be created.

$sel:accountId:AccountAssignment', accountAssignment_accountId - The identifier of the Amazon Web Services account.

$sel:permissionSetArn:AccountAssignment', accountAssignment_permissionSetArn - The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

accountAssignment_principalId :: Lens' AccountAssignment (Maybe Text) Source #

An identifier for an object in Amazon Web Services SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in Amazon Web Services SSO, see the Amazon Web Services SSO Identity Store API Reference.

accountAssignment_principalType :: Lens' AccountAssignment (Maybe PrincipalType) Source #

The entity type for which the assignment will be created.

accountAssignment_accountId :: Lens' AccountAssignment (Maybe Text) Source #

The identifier of the Amazon Web Services account.

accountAssignment_permissionSetArn :: Lens' AccountAssignment (Maybe Text) Source #

The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.