QueryError - Amazon Resource Groups
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

QueryError

A two-part error structure that can occur in ListGroupResources or SearchResources operations on CloudFront stack-based queries. The error occurs if the CloudFront 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 Amazon Resource Groups could not complete the operation, but the resulting group might have no member resources.

Contents

Note

In the following list, the required parameters are described first.

ErrorCode

Specifies the error code that was raised.

Type: String

Valid Values: CLOUDFORMATION_STACK_INACTIVE | CLOUDFORMATION_STACK_NOT_EXISTING | CLOUDFORMATION_STACK_UNASSUMABLE_ROLE

Required: No

Message

A message that explains the ErrorCode value. Messages might state that the specified CloudFront stack does not exist (or no longer exists). For CLOUDFORMATION_STACK_INACTIVE, the message typically states that the CloudFront stack has a status that is not (or no longer) active, such as CREATE_FAILED.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: