Documentation
¶
Index ¶
- type AccessDeniedException
- type AccessDeniedExceptionReason
- type AuthorizationPendingException
- type AwsAdditionalDetails
- type ExpiredTokenException
- type InternalServerException
- type InvalidClientException
- type InvalidClientMetadataException
- type InvalidGrantException
- type InvalidRedirectUriException
- type InvalidRequestException
- type InvalidRequestExceptionReason
- type InvalidRequestRegionException
- type InvalidScopeException
- type SlowDownException
- type UnauthorizedClientException
- type UnsupportedGrantTypeException
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct {
Message *string
ErrorCodeOverride *string
Error_ *string
Reason AccessDeniedExceptionReason
Error_description *string
// contains filtered or unexported fields
}
You do not have sufficient access to perform this action.
func (*AccessDeniedException) Error ¶
func (e *AccessDeniedException) Error() string
func (*AccessDeniedException) ErrorCode ¶
func (e *AccessDeniedException) ErrorCode() string
func (*AccessDeniedException) ErrorFault ¶
func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault
func (*AccessDeniedException) ErrorMessage ¶
func (e *AccessDeniedException) ErrorMessage() string
type AccessDeniedExceptionReason ¶ added in v1.35.0
type AccessDeniedExceptionReason string
const (
AccessDeniedExceptionReasonKmsAccessDenied AccessDeniedExceptionReason = "KMS_AccessDeniedException"
)
Enum values for AccessDeniedExceptionReason
func (AccessDeniedExceptionReason) Values ¶ added in v1.35.0
func (AccessDeniedExceptionReason) Values() []AccessDeniedExceptionReason
Values returns all known values for AccessDeniedExceptionReason. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type AuthorizationPendingException ¶
type AuthorizationPendingException struct {
Message *string
ErrorCodeOverride *string
Error_ *string
Error_description *string
// contains filtered or unexported fields
}
Indicates that a request to authorize a client with an access user session token is pending.
func (*AuthorizationPendingException) Error ¶
func (e *AuthorizationPendingException) Error() string
func (*AuthorizationPendingException) ErrorCode ¶
func (e *AuthorizationPendingException) ErrorCode() string
func (*AuthorizationPendingException) ErrorFault ¶
func (e *AuthorizationPendingException) ErrorFault() smithy.ErrorFault
func (*AuthorizationPendingException) ErrorMessage ¶
func (e *AuthorizationPendingException) ErrorMessage() string
type AwsAdditionalDetails ¶ added in v1.30.0
type AwsAdditionalDetails struct {
// The trusted context assertion is signed and encrypted by STS. It provides
// access to sts:identity_context claim in the idToken without JWT parsing
//
// Identity context comprises information that Amazon Web Services services use to
// make authorization decisions when they receive requests.
IdentityContext *string
// contains filtered or unexported fields
}
This structure contains Amazon Web Services-specific parameter extensions and the identity context.
type ExpiredTokenException ¶
type ExpiredTokenException struct {
Message *string
ErrorCodeOverride *string
Error_ *string
Error_description *string
// contains filtered or unexported fields
}
Indicates that the token issued by the service is expired and is no longer valid.
func (*ExpiredTokenException) Error ¶
func (e *ExpiredTokenException) Error() string
func (*ExpiredTokenException) ErrorCode ¶
func (e *ExpiredTokenException) ErrorCode() string
func (*ExpiredTokenException) ErrorFault ¶
func (e *ExpiredTokenException) ErrorFault() smithy.ErrorFault
func (*ExpiredTokenException) ErrorMessage ¶
func (e *ExpiredTokenException) ErrorMessage() string
type InternalServerException ¶
type InternalServerException struct {
Message *string
ErrorCodeOverride *string
Error_ *string
Error_description *string
// contains filtered or unexported fields
}
Indicates that an error from the service occurred while trying to process a request.
func (*InternalServerException) Error ¶
func (e *InternalServerException) Error() string
func (*InternalServerException) ErrorCode ¶
func (e *InternalServerException) ErrorCode() string
func (*InternalServerException) ErrorFault ¶
func (e *InternalServerException) ErrorFault() smithy.ErrorFault
func (*InternalServerException) ErrorMessage ¶
func (e *InternalServerException) ErrorMessage() string
type InvalidClientException ¶
type InvalidClientException struct {
Message *string
ErrorCodeOverride *string
Error_ *string
Error_description *string
// contains filtered or unexported fields
}
Indicates that the clientId or clientSecret in the request is invalid. For example, this can occur when a client sends an incorrect clientId or an expired clientSecret .
func (*InvalidClientException) Error ¶
func (e *InvalidClientException) Error() string
func (*InvalidClientException) ErrorCode ¶
func (e *InvalidClientException) ErrorCode() string
func (*InvalidClientException) ErrorFault ¶
func (e *InvalidClientException) ErrorFault() smithy.ErrorFault
func (*InvalidClientException) ErrorMessage ¶
func (e *InvalidClientException) ErrorMessage() string
type InvalidClientMetadataException ¶
type InvalidClientMetadataException struct {
Message *string
ErrorCodeOverride *string
Error_ *string
Error_description *string
// contains filtered or unexported fields
}
Indicates that the client information sent in the request during registration is invalid.
func (*InvalidClientMetadataException) Error ¶
func (e *InvalidClientMetadataException) Error() string
func (*InvalidClientMetadataException) ErrorCode ¶
func (e *InvalidClientMetadataException) ErrorCode() string
func (*InvalidClientMetadataException) ErrorFault ¶
func (e *InvalidClientMetadataException) ErrorFault() smithy.ErrorFault
func (*InvalidClientMetadataException) ErrorMessage ¶
func (e *InvalidClientMetadataException) ErrorMessage() string
type InvalidGrantException ¶
type InvalidGrantException struct {
Message *string
ErrorCodeOverride *string
Error_ *string
Error_description *string
// contains filtered or unexported fields
}
Indicates that a request contains an invalid grant. This can occur if a client makes a CreateTokenrequest with an invalid grant type.
func (*InvalidGrantException) Error ¶
func (e *InvalidGrantException) Error() string
func (*InvalidGrantException) ErrorCode ¶
func (e *InvalidGrantException) ErrorCode() string
func (*InvalidGrantException) ErrorFault ¶
func (e *InvalidGrantException) ErrorFault() smithy.ErrorFault
func (*InvalidGrantException) ErrorMessage ¶
func (e *InvalidGrantException) ErrorMessage() string
type InvalidRedirectUriException ¶ added in v1.24.0
type InvalidRedirectUriException struct {
Message *string
ErrorCodeOverride *string
Error_ *string
Error_description *string
// contains filtered or unexported fields
}
Indicates that one or more redirect URI in the request is not supported for this operation.
func (*InvalidRedirectUriException) Error ¶ added in v1.24.0
func (e *InvalidRedirectUriException) Error() string
func (*InvalidRedirectUriException) ErrorCode ¶ added in v1.24.0
func (e *InvalidRedirectUriException) ErrorCode() string
func (*InvalidRedirectUriException) ErrorFault ¶ added in v1.24.0
func (e *InvalidRedirectUriException) ErrorFault() smithy.ErrorFault
func (*InvalidRedirectUriException) ErrorMessage ¶ added in v1.24.0
func (e *InvalidRedirectUriException) ErrorMessage() string
type InvalidRequestException ¶
type InvalidRequestException struct {
Message *string
ErrorCodeOverride *string
Error_ *string
Reason InvalidRequestExceptionReason
Error_description *string
// contains filtered or unexported fields
}
Indicates that something is wrong with the input to the request. For example, a required parameter might be missing or out of range.
func (*InvalidRequestException) Error ¶
func (e *InvalidRequestException) Error() string
func (*InvalidRequestException) ErrorCode ¶
func (e *InvalidRequestException) ErrorCode() string
func (*InvalidRequestException) ErrorFault ¶
func (e *InvalidRequestException) ErrorFault() smithy.ErrorFault
func (*InvalidRequestException) ErrorMessage ¶
func (e *InvalidRequestException) ErrorMessage() string
type InvalidRequestExceptionReason ¶ added in v1.35.0
type InvalidRequestExceptionReason string
const ( InvalidRequestExceptionReasonKmsKeyNotFound InvalidRequestExceptionReason = "KMS_NotFoundException" InvalidRequestExceptionReasonKmsInvalidKeyUsage InvalidRequestExceptionReason = "KMS_InvalidKeyUsageException" InvalidRequestExceptionReasonKmsInvalidState InvalidRequestExceptionReason = "KMS_InvalidStateException" InvalidRequestExceptionReasonKmsDisabledKey InvalidRequestExceptionReason = "KMS_DisabledException" )
Enum values for InvalidRequestExceptionReason
func (InvalidRequestExceptionReason) Values ¶ added in v1.35.0
func (InvalidRequestExceptionReason) Values() []InvalidRequestExceptionReason
Values returns all known values for InvalidRequestExceptionReason. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type InvalidRequestRegionException ¶ added in v1.20.0
type InvalidRequestRegionException struct {
Message *string
ErrorCodeOverride *string
Error_ *string
Error_description *string
Endpoint *string
Region *string
// contains filtered or unexported fields
}
Indicates that a token provided as input to the request was issued by and is only usable by calling IAM Identity Center endpoints in another region.
func (*InvalidRequestRegionException) Error ¶ added in v1.20.0
func (e *InvalidRequestRegionException) Error() string
func (*InvalidRequestRegionException) ErrorCode ¶ added in v1.20.0
func (e *InvalidRequestRegionException) ErrorCode() string
func (*InvalidRequestRegionException) ErrorFault ¶ added in v1.20.0
func (e *InvalidRequestRegionException) ErrorFault() smithy.ErrorFault
func (*InvalidRequestRegionException) ErrorMessage ¶ added in v1.20.0
func (e *InvalidRequestRegionException) ErrorMessage() string
type InvalidScopeException ¶
type InvalidScopeException struct {
Message *string
ErrorCodeOverride *string
Error_ *string
Error_description *string
// contains filtered or unexported fields
}
Indicates that the scope provided in the request is invalid.
func (*InvalidScopeException) Error ¶
func (e *InvalidScopeException) Error() string
func (*InvalidScopeException) ErrorCode ¶
func (e *InvalidScopeException) ErrorCode() string
func (*InvalidScopeException) ErrorFault ¶
func (e *InvalidScopeException) ErrorFault() smithy.ErrorFault
func (*InvalidScopeException) ErrorMessage ¶
func (e *InvalidScopeException) ErrorMessage() string
type SlowDownException ¶
type SlowDownException struct {
Message *string
ErrorCodeOverride *string
Error_ *string
Error_description *string
// contains filtered or unexported fields
}
Indicates that the client is making the request too frequently and is more than the service can handle.
func (*SlowDownException) Error ¶
func (e *SlowDownException) Error() string
func (*SlowDownException) ErrorCode ¶
func (e *SlowDownException) ErrorCode() string
func (*SlowDownException) ErrorFault ¶
func (e *SlowDownException) ErrorFault() smithy.ErrorFault
func (*SlowDownException) ErrorMessage ¶
func (e *SlowDownException) ErrorMessage() string
type UnauthorizedClientException ¶
type UnauthorizedClientException struct {
// contains filtered or unexported fields
}
Indicates that the client is not currently authorized to make the request. This can happen when a clientId is not issued for a public client.
func (*UnauthorizedClientException) Error ¶
func (e *UnauthorizedClientException) Error() string
func (*UnauthorizedClientException) ErrorCode ¶
func (e *UnauthorizedClientException) ErrorCode() string
func (*UnauthorizedClientException) ErrorFault ¶
func (e *UnauthorizedClientException) ErrorFault() smithy.ErrorFault
func (*UnauthorizedClientException) ErrorMessage ¶
func (e *UnauthorizedClientException) ErrorMessage() string
type UnsupportedGrantTypeException ¶
type UnsupportedGrantTypeException struct {
Message *string
ErrorCodeOverride *string
Error_ *string
Error_description *string
// contains filtered or unexported fields
}
Indicates that the grant type in the request is not supported by the service.
func (*UnsupportedGrantTypeException) Error ¶
func (e *UnsupportedGrantTypeException) Error() string
func (*UnsupportedGrantTypeException) ErrorCode ¶
func (e *UnsupportedGrantTypeException) ErrorCode() string
func (*UnsupportedGrantTypeException) ErrorFault ¶
func (e *UnsupportedGrantTypeException) ErrorFault() smithy.ErrorFault
func (*UnsupportedGrantTypeException) ErrorMessage ¶
func (e *UnsupportedGrantTypeException) ErrorMessage() string