Class: Aws::ResourceGroups::Types::QueryError
- Inherits:
-
Struct
- Object
- Struct
- Aws::ResourceGroups::Types::QueryError
- Defined in:
- gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/types.rb
Overview
A two-part error structure that can occur in ListGroupResources
or
SearchResources
operations on CloudFormation stack-based queries.
The error occurs if the CloudFormation stack on which the query is
based either does not exist, or has a status that renders the stack
inactive. A QueryError
occurrence does not necessarily mean that AWS
Resource Groups could not complete the operation, but the resulting
group might have no member resources.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#error_code ⇒ String
Possible values are
CLOUDFORMATION_STACK_INACTIVE
andCLOUDFORMATION_STACK_NOT_EXISTING
. -
#message ⇒ String
A message that explains the
ErrorCode
value.
Instance Attribute Details
#error_code ⇒ String
Possible values are CLOUDFORMATION_STACK_INACTIVE
and
CLOUDFORMATION_STACK_NOT_EXISTING
.
1061 1062 1063 1064 1065 1066 |
# File 'gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/types.rb', line 1061 class QueryError < Struct.new( :error_code, :message) SENSITIVE = [] include Aws::Structure end |
#message ⇒ String
A message that explains the ErrorCode
value. Messages might state
that the specified CloudFormation stack does not exist (or no longer
exists). For CLOUDFORMATION_STACK_INACTIVE
, the message typically
states that the CloudFormation stack has a status that is not (or no
longer) active, such as CREATE_FAILED
.
1061 1062 1063 1064 1065 1066 |
# File 'gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/types.rb', line 1061 class QueryError < Struct.new( :error_code, :message) SENSITIVE = [] include Aws::Structure end |