This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::ResourceGroups::QueryError object:

  $service_obj->Method(Att1 => { ErrorCode => $value, ..., Message => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::ResourceGroups::QueryError object:

  $result = $service_obj->Method(...);


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.


ErrorCode => Str

  Possible values are C<CLOUDFORMATION_STACK_INACTIVE> and

Message => Str

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


This class forms part of Paws, describing an object used in Paws::ResourceGroups


The source code is located here:

Please report bugs to: