ErrorResponse
Error associated with a resource returned for a Get or List resource response.
Contents
- AccountId
-
The AWS account ID of the resource owner.
Type: String
Length Constraints: Fixed length of 12.
Pattern:
^\d{12}$
Required: No
- AdditionalDetails
-
Additional details about the error.
Type: String to string map
Key Length Constraints: Minimum length of 1. Maximum length of 50.
Value Length Constraints: Minimum length of 1. Maximum length of 2048.
Required: No
- Code
-
The error code associated with the error.
Type: String
Valid Values:
INVALID_RESOURCE_STATE | RESOURCE_LIMIT_EXCEEDED | RESOURCE_CREATION_FAILURE | RESOURCE_UPDATE_FAILURE | SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE | RESOURCE_DELETION_FAILURE | RESOURCE_RETRIEVAL_FAILURE | RESOURCE_IN_USE | RESOURCE_NOT_FOUND | STATE_TRANSITION_FAILURE | REQUEST_LIMIT_EXCEEDED | NOT_AUTHORIZED
Required: No
- Message
-
The message associated with the error.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 255.
Pattern:
^[\p{Alnum}\p{Punct}\p{Blank}]*$
Required: No
- ResourceIdentifier
-
The ID of the resource.
Type: String
Length Constraints: Minimum length of 3. Maximum length of 63.
Pattern:
(^(env|svc|pxy|rte|app)-([0-9A-Za-z]{10}$))
Required: No
- ResourceType
-
The type of resource.
Type: String
Valid Values:
ENVIRONMENT | APPLICATION | ROUTE | SERVICE | TRANSIT_GATEWAY | TRANSIT_GATEWAY_ATTACHMENT | API_GATEWAY | NLB | TARGET_GROUP | LOAD_BALANCER_LISTENER | VPC_LINK | LAMBDA | VPC | SUBNET | ROUTE_TABLE | SECURITY_GROUP | VPC_ENDPOINT_SERVICE_CONFIGURATION | RESOURCE_SHARE | IAM_ROLE
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: