libZSservicesZSamazonka-iamZSamazonka-iam
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.IAM.PutUserPermissionsBoundary

Description

Adds or updates the policy that is specified as the IAM user's permissions boundary. You can use an Amazon Web Services managed policy or a customer managed policy to set the boundary for a user. Use the boundary to control the maximum permissions that the user can have. Setting a permissions boundary is an advanced feature that can affect the permissions for the user.

Policies that are used as permissions boundaries do not provide permissions. You must also attach a permissions policy to the user. To learn how the effective permissions for a user are evaluated, see IAM JSON policy evaluation logic in the IAM User Guide.

Synopsis

Creating a Request

data PutUserPermissionsBoundary Source #

See: newPutUserPermissionsBoundary smart constructor.

Constructors

PutUserPermissionsBoundary' 

Fields

  • userName :: Text

    The name (friendly name, not ARN) of the IAM user for which you want to set the permissions boundary.

  • permissionsBoundary :: Text

    The ARN of the policy that is used to set the permissions boundary for the user.

Instances

Instances details
Eq PutUserPermissionsBoundary Source # 
Instance details

Defined in Amazonka.IAM.PutUserPermissionsBoundary

Read PutUserPermissionsBoundary Source # 
Instance details

Defined in Amazonka.IAM.PutUserPermissionsBoundary

Show PutUserPermissionsBoundary Source # 
Instance details

Defined in Amazonka.IAM.PutUserPermissionsBoundary

Generic PutUserPermissionsBoundary Source # 
Instance details

Defined in Amazonka.IAM.PutUserPermissionsBoundary

Associated Types

type Rep PutUserPermissionsBoundary :: Type -> Type #

NFData PutUserPermissionsBoundary Source # 
Instance details

Defined in Amazonka.IAM.PutUserPermissionsBoundary

Hashable PutUserPermissionsBoundary Source # 
Instance details

Defined in Amazonka.IAM.PutUserPermissionsBoundary

AWSRequest PutUserPermissionsBoundary Source # 
Instance details

Defined in Amazonka.IAM.PutUserPermissionsBoundary

ToHeaders PutUserPermissionsBoundary Source # 
Instance details

Defined in Amazonka.IAM.PutUserPermissionsBoundary

ToPath PutUserPermissionsBoundary Source # 
Instance details

Defined in Amazonka.IAM.PutUserPermissionsBoundary

ToQuery PutUserPermissionsBoundary Source # 
Instance details

Defined in Amazonka.IAM.PutUserPermissionsBoundary

type Rep PutUserPermissionsBoundary Source # 
Instance details

Defined in Amazonka.IAM.PutUserPermissionsBoundary

type Rep PutUserPermissionsBoundary = D1 ('MetaData "PutUserPermissionsBoundary" "Amazonka.IAM.PutUserPermissionsBoundary" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "PutUserPermissionsBoundary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "permissionsBoundary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse PutUserPermissionsBoundary Source # 
Instance details

Defined in Amazonka.IAM.PutUserPermissionsBoundary

newPutUserPermissionsBoundary Source #

Create a value of PutUserPermissionsBoundary 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:userName:PutUserPermissionsBoundary', putUserPermissionsBoundary_userName - The name (friendly name, not ARN) of the IAM user for which you want to set the permissions boundary.

$sel:permissionsBoundary:PutUserPermissionsBoundary', putUserPermissionsBoundary_permissionsBoundary - The ARN of the policy that is used to set the permissions boundary for the user.

Request Lenses

putUserPermissionsBoundary_userName :: Lens' PutUserPermissionsBoundary Text Source #

The name (friendly name, not ARN) of the IAM user for which you want to set the permissions boundary.

putUserPermissionsBoundary_permissionsBoundary :: Lens' PutUserPermissionsBoundary Text Source #

The ARN of the policy that is used to set the permissions boundary for the user.

Destructuring the Response

data PutUserPermissionsBoundaryResponse Source #

Instances

Instances details
Eq PutUserPermissionsBoundaryResponse Source # 
Instance details

Defined in Amazonka.IAM.PutUserPermissionsBoundary

Read PutUserPermissionsBoundaryResponse Source # 
Instance details

Defined in Amazonka.IAM.PutUserPermissionsBoundary

Show PutUserPermissionsBoundaryResponse Source # 
Instance details

Defined in Amazonka.IAM.PutUserPermissionsBoundary

Generic PutUserPermissionsBoundaryResponse Source # 
Instance details

Defined in Amazonka.IAM.PutUserPermissionsBoundary

Associated Types

type Rep PutUserPermissionsBoundaryResponse :: Type -> Type #

NFData PutUserPermissionsBoundaryResponse Source # 
Instance details

Defined in Amazonka.IAM.PutUserPermissionsBoundary

type Rep PutUserPermissionsBoundaryResponse Source # 
Instance details

Defined in Amazonka.IAM.PutUserPermissionsBoundary

type Rep PutUserPermissionsBoundaryResponse = D1 ('MetaData "PutUserPermissionsBoundaryResponse" "Amazonka.IAM.PutUserPermissionsBoundary" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "PutUserPermissionsBoundaryResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newPutUserPermissionsBoundaryResponse :: PutUserPermissionsBoundaryResponse Source #

Create a value of PutUserPermissionsBoundaryResponse with all optional fields omitted.

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