amazonka-sso-admin-2.0: Amazon Single Sign-On Admin SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SSOAdmin.CreatePermissionSet

Description

Creates a permission set within a specified IAM Identity Center instance.

To grant users and groups access to AWS account resources, use CreateAccountAssignment .

Synopsis

Creating a Request

data CreatePermissionSet Source #

See: newCreatePermissionSet smart constructor.

Constructors

CreatePermissionSet' 

Fields

Instances

Instances details
ToJSON CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

ToHeaders CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

ToPath CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

ToQuery CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

AWSRequest CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

Associated Types

type AWSResponse CreatePermissionSet #

Generic CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

Associated Types

type Rep CreatePermissionSet :: Type -> Type #

Read CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

Show CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

NFData CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

Methods

rnf :: CreatePermissionSet -> () #

Eq CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

Hashable CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

type AWSResponse CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

type Rep CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

type Rep CreatePermissionSet = D1 ('MetaData "CreatePermissionSet" "Amazonka.SSOAdmin.CreatePermissionSet" "amazonka-sso-admin-2.0-HhKPJAnDdA18B4mnMjNqZF" 'False) (C1 ('MetaCons "CreatePermissionSet'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "relayState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sessionDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "instanceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreatePermissionSet Source #

Create a value of CreatePermissionSet 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:

CreatePermissionSet, createPermissionSet_description - The description of the PermissionSet.

CreatePermissionSet, createPermissionSet_relayState - Used to redirect users within the application during the federation authentication process.

CreatePermissionSet, createPermissionSet_sessionDuration - The length of time that the application user sessions are valid in the ISO-8601 standard.

$sel:tags:CreatePermissionSet', createPermissionSet_tags - The tags to attach to the new PermissionSet.

CreatePermissionSet, createPermissionSet_name - The name of the PermissionSet.

CreatePermissionSet, createPermissionSet_instanceArn - The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

Request Lenses

createPermissionSet_description :: Lens' CreatePermissionSet (Maybe Text) Source #

The description of the PermissionSet.

createPermissionSet_relayState :: Lens' CreatePermissionSet (Maybe Text) Source #

Used to redirect users within the application during the federation authentication process.

createPermissionSet_sessionDuration :: Lens' CreatePermissionSet (Maybe Text) Source #

The length of time that the application user sessions are valid in the ISO-8601 standard.

createPermissionSet_tags :: Lens' CreatePermissionSet (Maybe [Tag]) Source #

The tags to attach to the new PermissionSet.

createPermissionSet_instanceArn :: Lens' CreatePermissionSet Text Source #

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

Destructuring the Response

data CreatePermissionSetResponse Source #

See: newCreatePermissionSetResponse smart constructor.

Constructors

CreatePermissionSetResponse' 

Fields

Instances

Instances details
Generic CreatePermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

Associated Types

type Rep CreatePermissionSetResponse :: Type -> Type #

Read CreatePermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

Show CreatePermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

NFData CreatePermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

Eq CreatePermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

type Rep CreatePermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

type Rep CreatePermissionSetResponse = D1 ('MetaData "CreatePermissionSetResponse" "Amazonka.SSOAdmin.CreatePermissionSet" "amazonka-sso-admin-2.0-HhKPJAnDdA18B4mnMjNqZF" 'False) (C1 ('MetaCons "CreatePermissionSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "permissionSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PermissionSet)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreatePermissionSetResponse Source #

Create a value of CreatePermissionSetResponse 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:permissionSet:CreatePermissionSetResponse', createPermissionSetResponse_permissionSet - Defines the level of access on an AWS account.

$sel:httpStatus:CreatePermissionSetResponse', createPermissionSetResponse_httpStatus - The response's http status code.

Response Lenses