github.com/aavshr/aws-sdk-go@v1.41.3/service/sts/errors.go (about)

     1  // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
     2  
     3  package sts
     4  
     5  const (
     6  
     7  	// ErrCodeExpiredTokenException for service response error code
     8  	// "ExpiredTokenException".
     9  	//
    10  	// The web identity token that was passed is expired or is not valid. Get a
    11  	// new identity token from the identity provider and then retry the request.
    12  	ErrCodeExpiredTokenException = "ExpiredTokenException"
    13  
    14  	// ErrCodeIDPCommunicationErrorException for service response error code
    15  	// "IDPCommunicationError".
    16  	//
    17  	// The request could not be fulfilled because the identity provider (IDP) that
    18  	// was asked to verify the incoming identity token could not be reached. This
    19  	// is often a transient error caused by network conditions. Retry the request
    20  	// a limited number of times so that you don't exceed the request rate. If the
    21  	// error persists, the identity provider might be down or not responding.
    22  	ErrCodeIDPCommunicationErrorException = "IDPCommunicationError"
    23  
    24  	// ErrCodeIDPRejectedClaimException for service response error code
    25  	// "IDPRejectedClaim".
    26  	//
    27  	// The identity provider (IdP) reported that authentication failed. This might
    28  	// be because the claim is invalid.
    29  	//
    30  	// If this error is returned for the AssumeRoleWithWebIdentity operation, it
    31  	// can also mean that the claim has expired or has been explicitly revoked.
    32  	ErrCodeIDPRejectedClaimException = "IDPRejectedClaim"
    33  
    34  	// ErrCodeInvalidAuthorizationMessageException for service response error code
    35  	// "InvalidAuthorizationMessageException".
    36  	//
    37  	// The error returned if the message passed to DecodeAuthorizationMessage was
    38  	// invalid. This can happen if the token contains invalid characters, such as
    39  	// linebreaks.
    40  	ErrCodeInvalidAuthorizationMessageException = "InvalidAuthorizationMessageException"
    41  
    42  	// ErrCodeInvalidIdentityTokenException for service response error code
    43  	// "InvalidIdentityToken".
    44  	//
    45  	// The web identity token that was passed could not be validated by Amazon Web
    46  	// Services. Get a new identity token from the identity provider and then retry
    47  	// the request.
    48  	ErrCodeInvalidIdentityTokenException = "InvalidIdentityToken"
    49  
    50  	// ErrCodeMalformedPolicyDocumentException for service response error code
    51  	// "MalformedPolicyDocument".
    52  	//
    53  	// The request was rejected because the policy document was malformed. The error
    54  	// message describes the specific error.
    55  	ErrCodeMalformedPolicyDocumentException = "MalformedPolicyDocument"
    56  
    57  	// ErrCodePackedPolicyTooLargeException for service response error code
    58  	// "PackedPolicyTooLarge".
    59  	//
    60  	// The request was rejected because the total packed size of the session policies
    61  	// and session tags combined was too large. An Amazon Web Services conversion
    62  	// compresses the session policy document, session policy ARNs, and session
    63  	// tags into a packed binary format that has a separate limit. The error message
    64  	// indicates by percentage how close the policies and tags are to the upper
    65  	// size limit. For more information, see Passing Session Tags in STS (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html)
    66  	// in the IAM User Guide.
    67  	//
    68  	// You could receive this error even though you meet other defined session policy
    69  	// and session tag limits. For more information, see IAM and STS Entity Character
    70  	// Limits (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
    71  	// in the IAM User Guide.
    72  	ErrCodePackedPolicyTooLargeException = "PackedPolicyTooLarge"
    73  
    74  	// ErrCodeRegionDisabledException for service response error code
    75  	// "RegionDisabledException".
    76  	//
    77  	// STS is not activated in the requested region for the account that is being
    78  	// asked to generate credentials. The account administrator must use the IAM
    79  	// console to activate STS in that region. For more information, see Activating
    80  	// and Deactivating Amazon Web Services STS in an Amazon Web Services Region
    81  	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
    82  	// in the IAM User Guide.
    83  	ErrCodeRegionDisabledException = "RegionDisabledException"
    84  )