amazonka-iam-2.0: Amazon Identity and Access Management SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

AWSRequest UpdateRoleDescription Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

Associated Types

type AWSResponse UpdateRoleDescription #

Generic UpdateRoleDescription Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

Associated Types

type Rep UpdateRoleDescription :: Type -> Type #

Read UpdateRoleDescription Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

Show UpdateRoleDescription Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

NFData UpdateRoleDescription Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

Methods

rnf :: UpdateRoleDescription -> () #

Eq UpdateRoleDescription Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

Hashable UpdateRoleDescription Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

type AWSResponse 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" "amazonka-iam-2.0-5DxkArXx9sD3CCYYGFyGET" 'False) (C1 ('MetaCons "UpdateRoleDescription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

UpdateRoleDescription, updateRoleDescription_roleName - The name of the role that you want to modify.

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
Generic UpdateRoleDescriptionResponse Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

Associated Types

type Rep UpdateRoleDescriptionResponse :: Type -> Type #

Read UpdateRoleDescriptionResponse Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

Show UpdateRoleDescriptionResponse Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

NFData UpdateRoleDescriptionResponse Source # 
Instance details

Defined in Amazonka.IAM.UpdateRoleDescription

Eq 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" "amazonka-iam-2.0-5DxkArXx9sD3CCYYGFyGET" '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.