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

Description

Attaches an IAM managed policy ARN 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 operation. Calling ProvisionPermissionSet applies the corresponding IAM policy updates to all assigned accounts.

Synopsis

Creating a Request

data AttachManagedPolicyToPermissionSet Source #

Constructors

AttachManagedPolicyToPermissionSet' 

Fields

Instances

Instances details
Eq AttachManagedPolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

Read AttachManagedPolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

Show AttachManagedPolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

Generic AttachManagedPolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

Associated Types

type Rep AttachManagedPolicyToPermissionSet :: Type -> Type #

NFData AttachManagedPolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

Hashable AttachManagedPolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

ToJSON AttachManagedPolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

AWSRequest AttachManagedPolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

ToHeaders AttachManagedPolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

ToPath AttachManagedPolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

ToQuery AttachManagedPolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

type Rep AttachManagedPolicyToPermissionSet Source # 
Instance details

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

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

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

newAttachManagedPolicyToPermissionSet Source #

Create a value of AttachManagedPolicyToPermissionSet 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:AttachManagedPolicyToPermissionSet', attachManagedPolicyToPermissionSet_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:AttachManagedPolicyToPermissionSet', attachManagedPolicyToPermissionSet_permissionSetArn - The ARN of the PermissionSet that the managed policy should be attached to.

$sel:managedPolicyArn:AttachManagedPolicyToPermissionSet', attachManagedPolicyToPermissionSet_managedPolicyArn - The IAM managed policy ARN to be attached to a permission set.

Request Lenses

attachManagedPolicyToPermissionSet_instanceArn :: Lens' AttachManagedPolicyToPermissionSet 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.

attachManagedPolicyToPermissionSet_permissionSetArn :: Lens' AttachManagedPolicyToPermissionSet Text Source #

The ARN of the PermissionSet that the managed policy should be attached to.

attachManagedPolicyToPermissionSet_managedPolicyArn :: Lens' AttachManagedPolicyToPermissionSet Text Source #

The IAM managed policy ARN to be attached to a permission set.

Destructuring the Response

data AttachManagedPolicyToPermissionSetResponse Source #

Constructors

AttachManagedPolicyToPermissionSetResponse' 

Fields

Instances

Instances details
Eq AttachManagedPolicyToPermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

Read AttachManagedPolicyToPermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

Show AttachManagedPolicyToPermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

Generic AttachManagedPolicyToPermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

NFData AttachManagedPolicyToPermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

type Rep AttachManagedPolicyToPermissionSetResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.AttachManagedPolicyToPermissionSet

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

newAttachManagedPolicyToPermissionSetResponse Source #

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

Response Lenses