# Packages
Package stsiface provides an interface to enable mocking the AWS Security Token Service service client for testing your code.
# Functions
New creates a new instance of the STS client with a session.
# Constants
Service ID for Regions and Endpoints metadata.
ErrCodeExpiredTokenException for service response error code "ExpiredTokenException".
ErrCodeIDPCommunicationErrorException for service response error code "IDPCommunicationError".
ErrCodeIDPRejectedClaimException for service response error code "IDPRejectedClaim".
ErrCodeInvalidAuthorizationMessageException for service response error code "InvalidAuthorizationMessageException".
ErrCodeInvalidIdentityTokenException for service response error code "InvalidIdentityToken".
ErrCodeMalformedPolicyDocumentException for service response error code "MalformedPolicyDocument".
ErrCodePackedPolicyTooLargeException for service response error code "PackedPolicyTooLarge".
ErrCodeRegionDisabledException for service response error code "RegionDisabledException".
Service endpoint prefix API calls made to.
# Structs
The identifiers for the temporary security credentials that the operation returns.
Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleRequest.
Contains the response to a successful AssumeRole request, including temporary AWS credentials that can be used to make AWS requests.
Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAMLRequest.
Contains the response to a successful AssumeRoleWithSAML request, including temporary AWS credentials that can be used to make AWS requests.
Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentityRequest.
Contains the response to a successful AssumeRoleWithWebIdentity request, including temporary AWS credentials that can be used to make AWS requests.
AWS credentials for API authentication.
Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessageRequest.
A document that contains additional information about the authorization status of a request from an encoded message that is returned in response to an AWS request.
Identifiers for the federated user that is associated with the credentials.
Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentityRequest.
Contains the response to a successful GetCallerIdentity request, including information about the entity making the request.
Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationTokenRequest.
Contains the response to a successful GetFederationToken request, including temporary AWS credentials that can be used to make AWS requests.
Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionTokenRequest.
Contains the response to a successful GetSessionToken request, including temporary AWS credentials that can be used to make AWS requests.
STS provides the API operation methods for making requests to AWS Security Token Service.