STSClient.decode_authorization_message
rboto-sts==0.4.0 · Service index · Types
Model summary (excerpt): Decodes additional information about the authorization status of a request from an encoded message returned in response to an Amazon Web Services request. For example, if a user is not authorized to perform an operation that he or she has requested, the request returns a Client.UnauthorizedOperation response (an HTTP 403 response). Some Amazon Web Services operations additionally return an...
Install and imports
Signature
async def decode_authorization_message(
*,
encoded_message: str,
) -> DecodeAuthorizationMessageOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
encoded_message |
Yes | The encoded message that was returned with the response. |
Output
DecodeAuthorizationMessageOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
decoded_message |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
DecodeAuthorizationMessageOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_sts.exceptions:
InvalidAuthorizationMessageError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.