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

Description

Use UpdateRole instead.

Modifies only the description of a role. This operation performs the same function as the Description parameter in the UpdateRole operation.

Synopsis

Creating a Request

data UpdateRoleDescription Source #

See: newUpdateRoleDescription smart constructor.

Constructors

UpdateRoleDescription' 

Fields

  • roleName :: Text

    The name of the role that you want to modify.

  • description :: Text

    The new description that you want to apply to the specified role.

Instances

Instances details
Eq UpdateRoleDescription Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

Read UpdateRoleDescription Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

Show UpdateRoleDescription Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

Generic UpdateRoleDescription Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

Associated Types

type Rep UpdateRoleDescription :: Type -> Type #

NFData UpdateRoleDescription Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

Methods

rnf :: UpdateRoleDescription -> () #

Hashable UpdateRoleDescription Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

AWSRequest UpdateRoleDescription Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

Associated Types

type AWSResponse UpdateRoleDescription #

ToHeaders UpdateRoleDescription Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

ToPath UpdateRoleDescription Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

ToQuery UpdateRoleDescription Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

type Rep UpdateRoleDescription Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

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

Defined in Amazonka.IAM.UpdateRoleDescription

newUpdateRoleDescription Source #

Create a value of UpdateRoleDescription 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:roleName:UpdateRoleDescription', updateRoleDescription_roleName - The name of the role that you want to modify.

$sel:description:UpdateRoleDescription', updateRoleDescription_description - The new description that you want to apply to the specified role.

Request Lenses

updateRoleDescription_roleName :: Lens' UpdateRoleDescription Text Source #

The name of the role that you want to modify.

updateRoleDescription_description :: Lens' UpdateRoleDescription Text Source #

The new description that you want to apply to the specified role.

Destructuring the Response

data UpdateRoleDescriptionResponse Source #

See: newUpdateRoleDescriptionResponse smart constructor.

Constructors

UpdateRoleDescriptionResponse' 

Fields

Instances

Instances details
Eq UpdateRoleDescriptionResponse Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

Read UpdateRoleDescriptionResponse Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

Show UpdateRoleDescriptionResponse Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

Generic UpdateRoleDescriptionResponse Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

Associated Types

type Rep UpdateRoleDescriptionResponse :: Type -> Type #

NFData UpdateRoleDescriptionResponse Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

type Rep UpdateRoleDescriptionResponse Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

type Rep UpdateRoleDescriptionResponse = D1 ('MetaData "UpdateRoleDescriptionResponse" "Amazonka.IAM.UpdateRoleDescription" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "UpdateRoleDescriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "role'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Role)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateRoleDescriptionResponse Source #

Create a value of UpdateRoleDescriptionResponse 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:role':UpdateRoleDescriptionResponse', updateRoleDescriptionResponse_role - A structure that contains details about the modified role.

$sel:httpStatus:UpdateRoleDescriptionResponse', updateRoleDescriptionResponse_httpStatus - The response's http status code.

Response Lenses

updateRoleDescriptionResponse_role :: Lens' UpdateRoleDescriptionResponse (Maybe Role) Source #

A structure that contains details about the modified role.