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

Description

Attaches an IAM inline policy to a permission set.

If the permission set is already referenced by one or more account assignments, you will need to call ProvisionPermissionSet after this action to apply the corresponding IAM policy updates to all assigned accounts.

Synopsis

Creating a Request

data PutInlinePolicyToPermissionSet Source #

See: newPutInlinePolicyToPermissionSet smart constructor.

Constructors

PutInlinePolicyToPermissionSet' 

Fields

Instances

Instances details
Eq PutInlinePolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet

Show PutInlinePolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet

Generic PutInlinePolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet

Associated Types

type Rep PutInlinePolicyToPermissionSet :: Type -> Type #

NFData PutInlinePolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet

Hashable PutInlinePolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet

ToJSON PutInlinePolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet

AWSRequest PutInlinePolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet

ToHeaders PutInlinePolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet

ToPath PutInlinePolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet

ToQuery PutInlinePolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet

type Rep PutInlinePolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet

type Rep PutInlinePolicyToPermissionSet = D1 ('MetaData "PutInlinePolicyToPermissionSet" "Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet" "libZSservicesZSamazonka-sso-adminZSamazonka-sso-admin" 'False) (C1 ('MetaCons "PutInlinePolicyToPermissionSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "permissionSetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "inlinePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))))
type AWSResponse PutInlinePolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet

newPutInlinePolicyToPermissionSet Source #

Create a value of PutInlinePolicyToPermissionSet 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:instanceArn:PutInlinePolicyToPermissionSet', putInlinePolicyToPermissionSet_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.

$sel:permissionSetArn:PutInlinePolicyToPermissionSet', putInlinePolicyToPermissionSet_permissionSetArn - The ARN of the permission set.

$sel:inlinePolicy:PutInlinePolicyToPermissionSet', putInlinePolicyToPermissionSet_inlinePolicy - The IAM inline policy to attach to a PermissionSet.

Request Lenses

putInlinePolicyToPermissionSet_instanceArn :: Lens' PutInlinePolicyToPermissionSet 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 PutInlinePolicyToPermissionSetResponse Source #

Constructors

PutInlinePolicyToPermissionSetResponse' 

Fields

Instances

Instances details
Eq PutInlinePolicyToPermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet

Read PutInlinePolicyToPermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet

Show PutInlinePolicyToPermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet

Generic PutInlinePolicyToPermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet

NFData PutInlinePolicyToPermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet

type Rep PutInlinePolicyToPermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet

type Rep PutInlinePolicyToPermissionSetResponse = D1 ('MetaData "PutInlinePolicyToPermissionSetResponse" "Amazonka.SSOAdmin.PutInlinePolicyToPermissionSet" "libZSservicesZSamazonka-sso-adminZSamazonka-sso-admin" 'False) (C1 ('MetaCons "PutInlinePolicyToPermissionSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutInlinePolicyToPermissionSetResponse Source #

Create a value of PutInlinePolicyToPermissionSetResponse 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:httpStatus:PutInlinePolicyToPermissionSetResponse', putInlinePolicyToPermissionSetResponse_httpStatus - The response's http status code.

Response Lenses