BadRequestException (client fault)
The server cannot process the request due to an apparent client error.
Throws
GatewayTimeoutException (server fault)
The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
Throws
InternalFailureException (server fault)
The server response when an unexpected error occurred while processing request.
Throws
NotAcceptableException (client fault)
The server response when the requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
Throws
QuotaExceededException (client fault)
The server response for the usage plan quota exceeded error.
ResourceConflictException (client fault)
The server could not process the request because of conflict in the current state of the resource.
Throws
ResourceNotFoundException (client fault)
The server response when the specified resource cannot be found after an API request passes authentication and authorization.
Throws
SerializationException (client fault)
The server response when attempting to serialize the request.
ValidationException (client fault)
A standard error for input validation failures.
This should be thrown by services when a member of the input structure
falls outside of the modeled or documented constraints.
Get (legacy) Stedi JWT token used for authentication
[IMPORTANT] Do not rely on this operation directly because it might be modified without notice.
Example
Use a bare-bones client and the command you need to make an API call.
Param
GetTokenForIAMCommandInput
Returns
GetTokenForIAMCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault) The server response for authorization failure.
Throws
BadRequestException (client fault) The server cannot process the request due to an apparent client error.
Throws
GatewayTimeoutException (server fault) The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
Throws
InternalFailureException (server fault) The server response when an unexpected error occurred while processing request.
Throws
NotAcceptableException (client fault) The server response when the requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
Throws
QuotaExceededException (client fault) The server response for the usage plan quota exceeded error.
Throws
RequestTooLargeException (client fault) The server response for the request too large error.
Throws
ResourceConflictException (client fault) The server could not process the request because of conflict in the current state of the resource.
Throws
ResourceNotFoundException (client fault) The server response when the specified resource cannot be found after an API request passes authentication and authorization.
Throws
SerializationException (client fault) The server response when attempting to serialize the request.
Throws
ServiceUnavailableException (server fault) The server cannot handle the request due to technical reasons.
Throws
ThrottlingException (client fault) The server response when usage plan or account-level throttling limits exceeded.
Throws
UnauthorizedException (client fault) The server response when the authorizer failed to authenticate the caller.
Throws
UnknownOperationException (client fault) The server response when the operation specified could not be found.
Throws
UnmappedException (client fault) The Stedi account has not been granted permission for this particular service.
Throws
UnsupportedMediaTypeException (client fault) The server response when a payload is of an unsupported media type.
Throws
ValidationException (client fault) A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
Throws
TokensServiceException
Base exception class for all service exceptions from Tokens service.