v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142381,278956.3 KB

Updates a role alias.

Requires permission to access the UpdateRoleAlias action.

put/role-aliases/{roleAlias}

Path parameters

roleAliasstring required

The role alias to update.

Request body

roleArnstring

The role ARN.

credentialDurationSecondsinteger
<p>The number of seconds the credential will be valid.</p> <p>This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.</p>

Response

Success

roleAliasstring

The role alias.

roleAliasArnstring

The role alias ARN.