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

Description

Creates a permission set within a specified SSO instance.

To grant users and groups access to Amazon Web Services account resources, use CreateAccountAssignment .

Synopsis

Creating a Request

data CreatePermissionSet Source #

See: newCreatePermissionSet smart constructor.

Constructors

CreatePermissionSet' 

Fields

Instances

Instances details
Eq CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

Read CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

Show CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

Generic CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

Associated Types

type Rep CreatePermissionSet :: Type -> Type #

NFData CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

Methods

rnf :: CreatePermissionSet -> () #

Hashable CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

ToJSON CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

AWSRequest CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

Associated Types

type AWSResponse 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

type Rep CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

type Rep CreatePermissionSet = D1 ('MetaData "CreatePermissionSet" "Amazonka.SSOAdmin.CreatePermissionSet" "libZSservicesZSamazonka-sso-adminZSamazonka-sso-admin" 'False) (C1 ('MetaCons "CreatePermissionSet'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "relayState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sessionDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") '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)))))
type AWSResponse CreatePermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

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:

$sel:relayState:CreatePermissionSet', createPermissionSet_relayState - Used to redirect users within the application during the federation authentication process.

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

$sel:description:CreatePermissionSet', createPermissionSet_description - The description of the PermissionSet.

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

$sel:name:CreatePermissionSet', createPermissionSet_name - The name of the PermissionSet.

$sel:instanceArn:CreatePermissionSet', createPermissionSet_instanceArn - The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

Request Lenses

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_description :: Lens' CreatePermissionSet (Maybe Text) Source #

The description of the PermissionSet.

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 SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

Destructuring the Response

data CreatePermissionSetResponse Source #

See: newCreatePermissionSetResponse smart constructor.

Constructors

CreatePermissionSetResponse' 

Fields

Instances

Instances details
Eq CreatePermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

Read CreatePermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

Show CreatePermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

Generic CreatePermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.CreatePermissionSet

Associated Types

type Rep CreatePermissionSetResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-sso-adminZSamazonka-sso-admin" '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 Amazon Web Services account.

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

Response Lenses

createPermissionSetResponse_permissionSet :: Lens' CreatePermissionSetResponse (Maybe PermissionSet) Source #

Defines the level of access on an Amazon Web Services account.