Skip to content

/AWS1/CL_IOT=>UPDATEROLEALIAS()

About UpdateRoleAlias

Updates a role alias.

Requires permission to access the UpdateRoleAlias action.

The value of credentialDurationSeconds must be less than or equal to the maximum session duration of the IAM role that the role alias references. For more information, see Modifying a role maximum session duration (Amazon Web Services API) from the Amazon Web Services Identity and Access Management User Guide.

Method Signature

IMPORTING

Required arguments:

IV_ROLEALIAS TYPE /AWS1/IOTROLEALIAS /AWS1/IOTROLEALIAS

The role alias to update.

Optional arguments:

IV_ROLEARN TYPE /AWS1/IOTROLEARN /AWS1/IOTROLEARN

The role ARN.

IV_CREDENTIALDURATIONSECONDS TYPE /AWS1/IOTCREDDURATIONSECONDS /AWS1/IOTCREDDURATIONSECONDS

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOTUPDATEROLEALIASRSP /AWS1/CL_IOTUPDATEROLEALIASRSP