diff --git a/clients/client-resource-groups/src/commands/ListGroupResourcesCommand.ts b/clients/client-resource-groups/src/commands/ListGroupResourcesCommand.ts index fa71fb0c87a0..9cfdcc486f09 100644 --- a/clients/client-resource-groups/src/commands/ListGroupResourcesCommand.ts +++ b/clients/client-resource-groups/src/commands/ListGroupResourcesCommand.ts @@ -98,7 +98,7 @@ export interface ListGroupResourcesCommandOutput extends ListGroupResourcesOutpu * // NextToken: "STRING_VALUE", * // QueryErrors: [ // QueryErrorList * // { // QueryError - * // ErrorCode: "CLOUDFORMATION_STACK_INACTIVE" || "CLOUDFORMATION_STACK_NOT_EXISTING" || "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE", + * // ErrorCode: "CLOUDFORMATION_STACK_INACTIVE" || "CLOUDFORMATION_STACK_NOT_EXISTING" || "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE" || "RESOURCE_TYPE_NOT_SUPPORTED", * // Message: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-resource-groups/src/commands/SearchResourcesCommand.ts b/clients/client-resource-groups/src/commands/SearchResourcesCommand.ts index 6d50f0ab9981..7fedf2e5611d 100644 --- a/clients/client-resource-groups/src/commands/SearchResourcesCommand.ts +++ b/clients/client-resource-groups/src/commands/SearchResourcesCommand.ts @@ -82,7 +82,7 @@ export interface SearchResourcesCommandOutput extends SearchResourcesOutput, __M * // NextToken: "STRING_VALUE", * // QueryErrors: [ // QueryErrorList * // { // QueryError - * // ErrorCode: "CLOUDFORMATION_STACK_INACTIVE" || "CLOUDFORMATION_STACK_NOT_EXISTING" || "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE", + * // ErrorCode: "CLOUDFORMATION_STACK_INACTIVE" || "CLOUDFORMATION_STACK_NOT_EXISTING" || "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE" || "RESOURCE_TYPE_NOT_SUPPORTED", * // Message: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-resource-groups/src/models/models_0.ts b/clients/client-resource-groups/src/models/models_0.ts index 70d511e50db0..6c0e1530abbd 100644 --- a/clients/client-resource-groups/src/models/models_0.ts +++ b/clients/client-resource-groups/src/models/models_0.ts @@ -307,8 +307,9 @@ export interface CreateGroupInput { *
The name of the group, which is the identifier of the group in other operations. You
* can't change the name of a resource group after you create it. A resource group name can
* consist of letters, numbers, hyphens, periods, and underscores. The name cannot start
- * with AWS
or aws
; these are reserved. A resource group name
- * must be unique within each Amazon Web Services Region in your Amazon Web Services account.
AWS
, aws
, or any other possible capitalization; these are
+ * reserved. A resource group name must be unique within each Amazon Web Services Region in your Amazon Web Services
+ * account.
* @public
*/
Name: string | undefined;
@@ -973,6 +974,7 @@ export const QueryErrorCode = {
CLOUDFORMATION_STACK_INACTIVE: "CLOUDFORMATION_STACK_INACTIVE",
CLOUDFORMATION_STACK_NOT_EXISTING: "CLOUDFORMATION_STACK_NOT_EXISTING",
CLOUDFORMATION_STACK_UNASSUMABLE_ROLE: "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE",
+ RESOURCE_TYPE_NOT_SUPPORTED: "RESOURCE_TYPE_NOT_SUPPORTED",
} as const;
/**
@@ -982,11 +984,7 @@ export type QueryErrorCode = (typeof QueryErrorCode)[keyof typeof QueryErrorCode
/**
* 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 Resource Groups could not complete the operation, but the resulting
- * group might have no member resources.
SearchResources
.
* @public
*/
export interface QueryError {
@@ -997,11 +995,7 @@ export interface QueryError {
ErrorCode?: QueryErrorCode;
/**
- * 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
.
A message that explains the ErrorCode
.
A list of QueryError
objects. Each error is an object that contains
- * ErrorCode
and Message
structures. Possible values for
- * ErrorCode
are CLOUDFORMATION_STACK_INACTIVE
and
- * CLOUDFORMATION_STACK_NOT_EXISTING
.
A list of QueryError
objects. Each error contains an
+ * ErrorCode
and Message
. Possible values for
+ * ErrorCode are CLOUDFORMATION_STACK_INACTIVE
, CLOUDFORMATION_STACK_NOT_EXISTING
,
+ * CLOUDFORMATION_STACK_UNASSUMABLE_ROLE
and RESOURCE_TYPE_NOT_SUPPORTED
.
- * resource-type
- Filter the results to include only those of the
- * specified resource types. Specify up to five resource types in the format
- * AWS::ServiceCode::ResourceType
- *
.
- * For example, AWS::EC2::Instance
, or
- * AWS::S3::Bucket
.
resource-type
- Filter the results to include only those resource groups that have the specified
+ * resource type in their ResourceTypeFilter
. For example, AWS::EC2::Instance
would
+ * return any resource group with a ResourceTypeFilter
that includes
+ * AWS::EC2::Instance
.
* @@ -1206,6 +1198,21 @@ export interface ListGroupsInput { *
+ * AWS::AppRegistry::Application
+ *
+ * AWS::AppRegistry::ApplicationResourceGroups
+ *
+ * AWS::CloudFormation::Stack
+ *
* AWS::EC2::CapacityReservationPool
*
AWS::EC2::HostManagement
*
*
+ * AWS::NetworkFirewall::RuleGroup
+ *
A list of QueryError
objects. Each error is an object that contains
- * ErrorCode
and Message
structures.
A list of QueryError
objects. Each error contains an
+ * ErrorCode
and Message
.
Possible values for ErrorCode
:
CLOUDFORMATION_STACK_NOT_EXISTING
*
*
+ * CLOUDFORMATION_STACK_UNASSUMABLE_ROLE
+ *
The name of the group, which is the identifier of the group in other operations. You\n can't change the name of a resource group after you create it. A resource group name can\n consist of letters, numbers, hyphens, periods, and underscores. The name cannot start\n with AWS
or aws
; these are reserved. A resource group name\n must be unique within each Amazon Web Services Region in your Amazon Web Services account.
The name of the group, which is the identifier of the group in other operations. You\n can't change the name of a resource group after you create it. A resource group name can\n consist of letters, numbers, hyphens, periods, and underscores. The name cannot start\n with AWS
, aws
, or any other possible capitalization; these are\n reserved. A resource group name must be unique within each Amazon Web Services Region in your Amazon Web Services\n account.
A list of QueryError
objects. Each error is an object that contains\n ErrorCode
and Message
structures. Possible values for\n ErrorCode
are CLOUDFORMATION_STACK_INACTIVE
and\n CLOUDFORMATION_STACK_NOT_EXISTING
.
A list of QueryError
objects. Each error contains an\n ErrorCode
and Message
. Possible values for \n ErrorCode are CLOUDFORMATION_STACK_INACTIVE
, CLOUDFORMATION_STACK_NOT_EXISTING
, \n CLOUDFORMATION_STACK_UNASSUMABLE_ROLE
and RESOURCE_TYPE_NOT_SUPPORTED
.
Filters, formatted as GroupFilter objects, that you want to apply to\n a ListGroups
operation.
\n resource-type
- Filter the results to include only those of the\n specified resource types. Specify up to five resource types in the format\n AWS::ServiceCode::ResourceType\n
.\n For example, AWS::EC2::Instance
, or\n AWS::S3::Bucket
.
\n configuration-type
- Filter the results to include only those\n groups that have the specified configuration types attached. The current\n supported values are:
\n AWS::EC2::CapacityReservationPool
\n
\n AWS::EC2::HostManagement
\n
Filters, formatted as GroupFilter objects, that you want to apply to\n a ListGroups
operation.
\n resource-type
- Filter the results to include only those resource groups that have the specified\n resource type in their ResourceTypeFilter
. For example, AWS::EC2::Instance
would\n return any resource group with a ResourceTypeFilter
that includes\n AWS::EC2::Instance
.
\n configuration-type
- Filter the results to include only those\n groups that have the specified configuration types attached. The current\n supported values are:
\n AWS::AppRegistry::Application
\n
\n AWS::AppRegistry::ApplicationResourceGroups
\n
\n AWS::CloudFormation::Stack
\n
\n AWS::EC2::CapacityReservationPool
\n
\n AWS::EC2::HostManagement
\n
\n AWS::NetworkFirewall::RuleGroup
\n
A message that explains the ErrorCode
value. Messages might state that\n the specified CloudFront stack does not exist (or no longer exists). For\n CLOUDFORMATION_STACK_INACTIVE
, the message typically states that the\n CloudFront stack has a status that is not (or no longer) active, such as\n CREATE_FAILED
.
A message that explains the ErrorCode
.
A two-part error structure that can occur in ListGroupResources
or\n SearchResources
operations on CloudFront stack-based queries. The error\n occurs if the CloudFront stack on which the query is based either does not exist, or has a\n status that renders the stack inactive. A QueryError
occurrence does not\n necessarily mean that Resource Groups could not complete the operation, but the resulting\n group might have no member resources.
A two-part error structure that can occur in ListGroupResources
or\n SearchResources
.
A list of QueryError
objects. Each error is an object that contains\n ErrorCode
and Message
structures.
Possible values for ErrorCode
:
\n CLOUDFORMATION_STACK_INACTIVE
\n
\n CLOUDFORMATION_STACK_NOT_EXISTING
\n
A list of QueryError
objects. Each error contains an \n ErrorCode
and Message
.
Possible values for ErrorCode
:
\n CLOUDFORMATION_STACK_INACTIVE
\n
\n CLOUDFORMATION_STACK_NOT_EXISTING
\n
\n CLOUDFORMATION_STACK_UNASSUMABLE_ROLE
\n