Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data QueryError Source #
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.
See: newQueryError
smart constructor.
QueryError' | |
|
Instances
newQueryError :: QueryError Source #
Create a value of QueryError
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:errorCode:QueryError'
, queryError_errorCode
- Possible values are CLOUDFORMATION_STACK_INACTIVE
and
CLOUDFORMATION_STACK_NOT_EXISTING
.
$sel:message:QueryError'
, queryError_message
- 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
.
queryError_errorCode :: Lens' QueryError (Maybe QueryErrorCode) Source #
Possible values are CLOUDFORMATION_STACK_INACTIVE
and
CLOUDFORMATION_STACK_NOT_EXISTING
.
queryError_message :: Lens' QueryError (Maybe Text) Source #
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
.