libZSservicesZSamazonka-iotZSamazonka-iot
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.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
Eq UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Read UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Show UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Generic UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Associated Types

type Rep UpdateRoleAlias :: Type -> Type #

NFData UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Methods

rnf :: UpdateRoleAlias -> () #

Hashable UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

ToJSON UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

AWSRequest UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Associated Types

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

type Rep UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

type Rep UpdateRoleAlias = D1 ('MetaData "UpdateRoleAlias" "Amazonka.IoT.UpdateRoleAlias" "libZSservicesZSamazonka-iotZSamazonka-iot" '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))))
type AWSResponse UpdateRoleAlias Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

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:

$sel:credentialDurationSeconds:UpdateRoleAlias', updateRoleAlias_credentialDurationSeconds - The number of seconds the credential will be valid.

$sel:roleArn:UpdateRoleAlias', updateRoleAlias_roleArn - The role ARN.

$sel:roleAlias: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.

Destructuring the Response

data UpdateRoleAliasResponse Source #

See: newUpdateRoleAliasResponse smart constructor.

Constructors

UpdateRoleAliasResponse' 

Fields

Instances

Instances details
Eq UpdateRoleAliasResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Read UpdateRoleAliasResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Show UpdateRoleAliasResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Generic UpdateRoleAliasResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Associated Types

type Rep UpdateRoleAliasResponse :: Type -> Type #

NFData UpdateRoleAliasResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

Methods

rnf :: UpdateRoleAliasResponse -> () #

type Rep UpdateRoleAliasResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateRoleAlias

type Rep UpdateRoleAliasResponse = D1 ('MetaData "UpdateRoleAliasResponse" "Amazonka.IoT.UpdateRoleAlias" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "UpdateRoleAliasResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roleAliasArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "roleAlias") '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:

$sel:roleAliasArn:UpdateRoleAliasResponse', updateRoleAliasResponse_roleAliasArn - The role alias ARN.

$sel:roleAlias:UpdateRoleAlias', updateRoleAliasResponse_roleAlias - The role alias.

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

Response Lenses