amazonka-iot-2.0: Amazon IoT 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.IoT.UpdateRoleAlias

Description

Updates a role alias.

Requires permission to access the UpdateRoleAlias action.

Synopsis

Creating a Request

data UpdateRoleAlias Source #

See: newUpdateRoleAlias smart constructor.

Constructors

UpdateRoleAlias' 

Fields

Instances

Instances details
ToJSON UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

ToHeaders UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

ToPath UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

ToQuery UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

AWSRequest UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Associated Types

type AWSResponse UpdateRoleAlias #

Generic UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Associated Types

type Rep UpdateRoleAlias :: Type -> Type #

Read UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Show UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

NFData UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Methods

rnf :: UpdateRoleAlias -> () #

Eq UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Hashable UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

type AWSResponse UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

type Rep UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

type Rep UpdateRoleAlias = D1 ('MetaData "UpdateRoleAlias" "Amazonka.IoT.UpdateRoleAlias" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "UpdateRoleAlias'" 'PrefixI 'True) (S1 ('MetaSel ('Just "credentialDurationSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateRoleAlias Source #

Create a value of UpdateRoleAlias 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:

UpdateRoleAlias, updateRoleAlias_credentialDurationSeconds - The number of seconds the credential will be valid.

This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.

UpdateRoleAlias, updateRoleAlias_roleArn - The role ARN.

UpdateRoleAlias, updateRoleAlias_roleAlias - The role alias to update.

Request Lenses

updateRoleAlias_credentialDurationSeconds :: Lens' UpdateRoleAlias (Maybe Natural) Source #

The number of seconds the credential will be valid.

This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.

Destructuring the Response

data UpdateRoleAliasResponse Source #

See: newUpdateRoleAliasResponse smart constructor.

Constructors

UpdateRoleAliasResponse' 

Fields

Instances

Instances details
Generic UpdateRoleAliasResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Associated Types

type Rep UpdateRoleAliasResponse :: Type -> Type #

Read UpdateRoleAliasResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Show UpdateRoleAliasResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

NFData UpdateRoleAliasResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Methods

rnf :: UpdateRoleAliasResponse -> () #

Eq UpdateRoleAliasResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

type Rep UpdateRoleAliasResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

type Rep UpdateRoleAliasResponse = D1 ('MetaData "UpdateRoleAliasResponse" "Amazonka.IoT.UpdateRoleAlias" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "UpdateRoleAliasResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roleAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "roleAliasArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateRoleAliasResponse Source #

Create a value of UpdateRoleAliasResponse 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:

UpdateRoleAlias, updateRoleAliasResponse_roleAlias - The role alias.

UpdateRoleAliasResponse, updateRoleAliasResponse_roleAliasArn - The role alias ARN.

$sel:httpStatus:UpdateRoleAliasResponse', updateRoleAliasResponse_httpStatus - The response's http status code.

Response Lenses