|
@@ -11,6 +11,8 @@ import (
|
|
type AccessDeniedException struct {
|
|
type AccessDeniedException struct {
|
|
Message *string
|
|
Message *string
|
|
|
|
|
|
|
|
+ ErrorCodeOverride *string
|
|
|
|
+
|
|
Error_ *string
|
|
Error_ *string
|
|
Error_description *string
|
|
Error_description *string
|
|
|
|
|
|
@@ -26,7 +28,12 @@ func (e *AccessDeniedException) ErrorMessage() string {
|
|
}
|
|
}
|
|
return *e.Message
|
|
return *e.Message
|
|
}
|
|
}
|
|
-func (e *AccessDeniedException) ErrorCode() string { return "AccessDeniedException" }
|
|
|
|
|
|
+func (e *AccessDeniedException) ErrorCode() string {
|
|
|
|
+ if e == nil || e.ErrorCodeOverride == nil {
|
|
|
|
+ return "AccessDeniedException"
|
|
|
|
+ }
|
|
|
|
+ return *e.ErrorCodeOverride
|
|
|
|
+}
|
|
func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
|
|
|
|
// Indicates that a request to authorize a client with an access user session token
|
|
// Indicates that a request to authorize a client with an access user session token
|
|
@@ -34,6 +41,8 @@ func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault { return smithy.F
|
|
type AuthorizationPendingException struct {
|
|
type AuthorizationPendingException struct {
|
|
Message *string
|
|
Message *string
|
|
|
|
|
|
|
|
+ ErrorCodeOverride *string
|
|
|
|
+
|
|
Error_ *string
|
|
Error_ *string
|
|
Error_description *string
|
|
Error_description *string
|
|
|
|
|
|
@@ -49,7 +58,12 @@ func (e *AuthorizationPendingException) ErrorMessage() string {
|
|
}
|
|
}
|
|
return *e.Message
|
|
return *e.Message
|
|
}
|
|
}
|
|
-func (e *AuthorizationPendingException) ErrorCode() string { return "AuthorizationPendingException" }
|
|
|
|
|
|
+func (e *AuthorizationPendingException) ErrorCode() string {
|
|
|
|
+ if e == nil || e.ErrorCodeOverride == nil {
|
|
|
|
+ return "AuthorizationPendingException"
|
|
|
|
+ }
|
|
|
|
+ return *e.ErrorCodeOverride
|
|
|
|
+}
|
|
func (e *AuthorizationPendingException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
func (e *AuthorizationPendingException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
|
|
|
|
// Indicates that the token issued by the service is expired and is no longer
|
|
// Indicates that the token issued by the service is expired and is no longer
|
|
@@ -57,6 +71,8 @@ func (e *AuthorizationPendingException) ErrorFault() smithy.ErrorFault { return
|
|
type ExpiredTokenException struct {
|
|
type ExpiredTokenException struct {
|
|
Message *string
|
|
Message *string
|
|
|
|
|
|
|
|
+ ErrorCodeOverride *string
|
|
|
|
+
|
|
Error_ *string
|
|
Error_ *string
|
|
Error_description *string
|
|
Error_description *string
|
|
|
|
|
|
@@ -72,7 +88,12 @@ func (e *ExpiredTokenException) ErrorMessage() string {
|
|
}
|
|
}
|
|
return *e.Message
|
|
return *e.Message
|
|
}
|
|
}
|
|
-func (e *ExpiredTokenException) ErrorCode() string { return "ExpiredTokenException" }
|
|
|
|
|
|
+func (e *ExpiredTokenException) ErrorCode() string {
|
|
|
|
+ if e == nil || e.ErrorCodeOverride == nil {
|
|
|
|
+ return "ExpiredTokenException"
|
|
|
|
+ }
|
|
|
|
+ return *e.ErrorCodeOverride
|
|
|
|
+}
|
|
func (e *ExpiredTokenException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
func (e *ExpiredTokenException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
|
|
|
|
// Indicates that an error from the service occurred while trying to process a
|
|
// Indicates that an error from the service occurred while trying to process a
|
|
@@ -80,6 +101,8 @@ func (e *ExpiredTokenException) ErrorFault() smithy.ErrorFault { return smithy.F
|
|
type InternalServerException struct {
|
|
type InternalServerException struct {
|
|
Message *string
|
|
Message *string
|
|
|
|
|
|
|
|
+ ErrorCodeOverride *string
|
|
|
|
+
|
|
Error_ *string
|
|
Error_ *string
|
|
Error_description *string
|
|
Error_description *string
|
|
|
|
|
|
@@ -95,7 +118,12 @@ func (e *InternalServerException) ErrorMessage() string {
|
|
}
|
|
}
|
|
return *e.Message
|
|
return *e.Message
|
|
}
|
|
}
|
|
-func (e *InternalServerException) ErrorCode() string { return "InternalServerException" }
|
|
|
|
|
|
+func (e *InternalServerException) ErrorCode() string {
|
|
|
|
+ if e == nil || e.ErrorCodeOverride == nil {
|
|
|
|
+ return "InternalServerException"
|
|
|
|
+ }
|
|
|
|
+ return *e.ErrorCodeOverride
|
|
|
|
+}
|
|
func (e *InternalServerException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer }
|
|
func (e *InternalServerException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer }
|
|
|
|
|
|
// Indicates that the clientId or clientSecret in the request is invalid. For
|
|
// Indicates that the clientId or clientSecret in the request is invalid. For
|
|
@@ -104,6 +132,8 @@ func (e *InternalServerException) ErrorFault() smithy.ErrorFault { return smithy
|
|
type InvalidClientException struct {
|
|
type InvalidClientException struct {
|
|
Message *string
|
|
Message *string
|
|
|
|
|
|
|
|
+ ErrorCodeOverride *string
|
|
|
|
+
|
|
Error_ *string
|
|
Error_ *string
|
|
Error_description *string
|
|
Error_description *string
|
|
|
|
|
|
@@ -119,7 +149,12 @@ func (e *InvalidClientException) ErrorMessage() string {
|
|
}
|
|
}
|
|
return *e.Message
|
|
return *e.Message
|
|
}
|
|
}
|
|
-func (e *InvalidClientException) ErrorCode() string { return "InvalidClientException" }
|
|
|
|
|
|
+func (e *InvalidClientException) ErrorCode() string {
|
|
|
|
+ if e == nil || e.ErrorCodeOverride == nil {
|
|
|
|
+ return "InvalidClientException"
|
|
|
|
+ }
|
|
|
|
+ return *e.ErrorCodeOverride
|
|
|
|
+}
|
|
func (e *InvalidClientException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
func (e *InvalidClientException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
|
|
|
|
// Indicates that the client information sent in the request during registration is
|
|
// Indicates that the client information sent in the request during registration is
|
|
@@ -127,6 +162,8 @@ func (e *InvalidClientException) ErrorFault() smithy.ErrorFault { return smithy.
|
|
type InvalidClientMetadataException struct {
|
|
type InvalidClientMetadataException struct {
|
|
Message *string
|
|
Message *string
|
|
|
|
|
|
|
|
+ ErrorCodeOverride *string
|
|
|
|
+
|
|
Error_ *string
|
|
Error_ *string
|
|
Error_description *string
|
|
Error_description *string
|
|
|
|
|
|
@@ -142,7 +179,12 @@ func (e *InvalidClientMetadataException) ErrorMessage() string {
|
|
}
|
|
}
|
|
return *e.Message
|
|
return *e.Message
|
|
}
|
|
}
|
|
-func (e *InvalidClientMetadataException) ErrorCode() string { return "InvalidClientMetadataException" }
|
|
|
|
|
|
+func (e *InvalidClientMetadataException) ErrorCode() string {
|
|
|
|
+ if e == nil || e.ErrorCodeOverride == nil {
|
|
|
|
+ return "InvalidClientMetadataException"
|
|
|
|
+ }
|
|
|
|
+ return *e.ErrorCodeOverride
|
|
|
|
+}
|
|
func (e *InvalidClientMetadataException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
func (e *InvalidClientMetadataException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
|
|
|
|
// Indicates that a request contains an invalid grant. This can occur if a client
|
|
// Indicates that a request contains an invalid grant. This can occur if a client
|
|
@@ -150,6 +192,8 @@ func (e *InvalidClientMetadataException) ErrorFault() smithy.ErrorFault { return
|
|
type InvalidGrantException struct {
|
|
type InvalidGrantException struct {
|
|
Message *string
|
|
Message *string
|
|
|
|
|
|
|
|
+ ErrorCodeOverride *string
|
|
|
|
+
|
|
Error_ *string
|
|
Error_ *string
|
|
Error_description *string
|
|
Error_description *string
|
|
|
|
|
|
@@ -165,7 +209,12 @@ func (e *InvalidGrantException) ErrorMessage() string {
|
|
}
|
|
}
|
|
return *e.Message
|
|
return *e.Message
|
|
}
|
|
}
|
|
-func (e *InvalidGrantException) ErrorCode() string { return "InvalidGrantException" }
|
|
|
|
|
|
+func (e *InvalidGrantException) ErrorCode() string {
|
|
|
|
+ if e == nil || e.ErrorCodeOverride == nil {
|
|
|
|
+ return "InvalidGrantException"
|
|
|
|
+ }
|
|
|
|
+ return *e.ErrorCodeOverride
|
|
|
|
+}
|
|
func (e *InvalidGrantException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
func (e *InvalidGrantException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
|
|
|
|
// Indicates that something is wrong with the input to the request. For example, a
|
|
// Indicates that something is wrong with the input to the request. For example, a
|
|
@@ -173,6 +222,8 @@ func (e *InvalidGrantException) ErrorFault() smithy.ErrorFault { return smithy.F
|
|
type InvalidRequestException struct {
|
|
type InvalidRequestException struct {
|
|
Message *string
|
|
Message *string
|
|
|
|
|
|
|
|
+ ErrorCodeOverride *string
|
|
|
|
+
|
|
Error_ *string
|
|
Error_ *string
|
|
Error_description *string
|
|
Error_description *string
|
|
|
|
|
|
@@ -188,13 +239,20 @@ func (e *InvalidRequestException) ErrorMessage() string {
|
|
}
|
|
}
|
|
return *e.Message
|
|
return *e.Message
|
|
}
|
|
}
|
|
-func (e *InvalidRequestException) ErrorCode() string { return "InvalidRequestException" }
|
|
|
|
|
|
+func (e *InvalidRequestException) ErrorCode() string {
|
|
|
|
+ if e == nil || e.ErrorCodeOverride == nil {
|
|
|
|
+ return "InvalidRequestException"
|
|
|
|
+ }
|
|
|
|
+ return *e.ErrorCodeOverride
|
|
|
|
+}
|
|
func (e *InvalidRequestException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
func (e *InvalidRequestException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
|
|
|
|
// Indicates that the scope provided in the request is invalid.
|
|
// Indicates that the scope provided in the request is invalid.
|
|
type InvalidScopeException struct {
|
|
type InvalidScopeException struct {
|
|
Message *string
|
|
Message *string
|
|
|
|
|
|
|
|
+ ErrorCodeOverride *string
|
|
|
|
+
|
|
Error_ *string
|
|
Error_ *string
|
|
Error_description *string
|
|
Error_description *string
|
|
|
|
|
|
@@ -210,7 +268,12 @@ func (e *InvalidScopeException) ErrorMessage() string {
|
|
}
|
|
}
|
|
return *e.Message
|
|
return *e.Message
|
|
}
|
|
}
|
|
-func (e *InvalidScopeException) ErrorCode() string { return "InvalidScopeException" }
|
|
|
|
|
|
+func (e *InvalidScopeException) ErrorCode() string {
|
|
|
|
+ if e == nil || e.ErrorCodeOverride == nil {
|
|
|
|
+ return "InvalidScopeException"
|
|
|
|
+ }
|
|
|
|
+ return *e.ErrorCodeOverride
|
|
|
|
+}
|
|
func (e *InvalidScopeException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
func (e *InvalidScopeException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
|
|
|
|
// Indicates that the client is making the request too frequently and is more than
|
|
// Indicates that the client is making the request too frequently and is more than
|
|
@@ -218,6 +281,8 @@ func (e *InvalidScopeException) ErrorFault() smithy.ErrorFault { return smithy.F
|
|
type SlowDownException struct {
|
|
type SlowDownException struct {
|
|
Message *string
|
|
Message *string
|
|
|
|
|
|
|
|
+ ErrorCodeOverride *string
|
|
|
|
+
|
|
Error_ *string
|
|
Error_ *string
|
|
Error_description *string
|
|
Error_description *string
|
|
|
|
|
|
@@ -233,7 +298,12 @@ func (e *SlowDownException) ErrorMessage() string {
|
|
}
|
|
}
|
|
return *e.Message
|
|
return *e.Message
|
|
}
|
|
}
|
|
-func (e *SlowDownException) ErrorCode() string { return "SlowDownException" }
|
|
|
|
|
|
+func (e *SlowDownException) ErrorCode() string {
|
|
|
|
+ if e == nil || e.ErrorCodeOverride == nil {
|
|
|
|
+ return "SlowDownException"
|
|
|
|
+ }
|
|
|
|
+ return *e.ErrorCodeOverride
|
|
|
|
+}
|
|
func (e *SlowDownException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
func (e *SlowDownException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
|
|
|
|
// Indicates that the client is not currently authorized to make the request. This
|
|
// Indicates that the client is not currently authorized to make the request. This
|
|
@@ -241,6 +311,8 @@ func (e *SlowDownException) ErrorFault() smithy.ErrorFault { return smithy.Fault
|
|
type UnauthorizedClientException struct {
|
|
type UnauthorizedClientException struct {
|
|
Message *string
|
|
Message *string
|
|
|
|
|
|
|
|
+ ErrorCodeOverride *string
|
|
|
|
+
|
|
Error_ *string
|
|
Error_ *string
|
|
Error_description *string
|
|
Error_description *string
|
|
|
|
|
|
@@ -256,13 +328,20 @@ func (e *UnauthorizedClientException) ErrorMessage() string {
|
|
}
|
|
}
|
|
return *e.Message
|
|
return *e.Message
|
|
}
|
|
}
|
|
-func (e *UnauthorizedClientException) ErrorCode() string { return "UnauthorizedClientException" }
|
|
|
|
|
|
+func (e *UnauthorizedClientException) ErrorCode() string {
|
|
|
|
+ if e == nil || e.ErrorCodeOverride == nil {
|
|
|
|
+ return "UnauthorizedClientException"
|
|
|
|
+ }
|
|
|
|
+ return *e.ErrorCodeOverride
|
|
|
|
+}
|
|
func (e *UnauthorizedClientException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
func (e *UnauthorizedClientException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
|
|
|
|
// Indicates that the grant type in the request is not supported by the service.
|
|
// Indicates that the grant type in the request is not supported by the service.
|
|
type UnsupportedGrantTypeException struct {
|
|
type UnsupportedGrantTypeException struct {
|
|
Message *string
|
|
Message *string
|
|
|
|
|
|
|
|
+ ErrorCodeOverride *string
|
|
|
|
+
|
|
Error_ *string
|
|
Error_ *string
|
|
Error_description *string
|
|
Error_description *string
|
|
|
|
|
|
@@ -278,5 +357,10 @@ func (e *UnsupportedGrantTypeException) ErrorMessage() string {
|
|
}
|
|
}
|
|
return *e.Message
|
|
return *e.Message
|
|
}
|
|
}
|
|
-func (e *UnsupportedGrantTypeException) ErrorCode() string { return "UnsupportedGrantTypeException" }
|
|
|
|
|
|
+func (e *UnsupportedGrantTypeException) ErrorCode() string {
|
|
|
|
+ if e == nil || e.ErrorCodeOverride == nil {
|
|
|
|
+ return "UnsupportedGrantTypeException"
|
|
|
|
+ }
|
|
|
|
+ return *e.ErrorCodeOverride
|
|
|
|
+}
|
|
func (e *UnsupportedGrantTypeException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|
|
func (e *UnsupportedGrantTypeException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|