@aws-sdk/client-resource-groups 3.540.0 → 3.550.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +2 -1
- package/dist-es/models/models_0.js +1 -0
- package/dist-types/commands/ListGroupResourcesCommand.d.ts +1 -1
- package/dist-types/commands/SearchResourcesCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +41 -24
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -369,7 +369,8 @@ var ResourceFilterName = {
|
|
|
369
369
|
var QueryErrorCode = {
|
|
370
370
|
CLOUDFORMATION_STACK_INACTIVE: "CLOUDFORMATION_STACK_INACTIVE",
|
|
371
371
|
CLOUDFORMATION_STACK_NOT_EXISTING: "CLOUDFORMATION_STACK_NOT_EXISTING",
|
|
372
|
-
CLOUDFORMATION_STACK_UNASSUMABLE_ROLE: "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE"
|
|
372
|
+
CLOUDFORMATION_STACK_UNASSUMABLE_ROLE: "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE",
|
|
373
|
+
RESOURCE_TYPE_NOT_SUPPORTED: "RESOURCE_TYPE_NOT_SUPPORTED"
|
|
373
374
|
};
|
|
374
375
|
var ResourceStatusValue = {
|
|
375
376
|
Pending: "PENDING"
|
|
@@ -103,6 +103,7 @@ export const QueryErrorCode = {
|
|
|
103
103
|
CLOUDFORMATION_STACK_INACTIVE: "CLOUDFORMATION_STACK_INACTIVE",
|
|
104
104
|
CLOUDFORMATION_STACK_NOT_EXISTING: "CLOUDFORMATION_STACK_NOT_EXISTING",
|
|
105
105
|
CLOUDFORMATION_STACK_UNASSUMABLE_ROLE: "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE",
|
|
106
|
+
RESOURCE_TYPE_NOT_SUPPORTED: "RESOURCE_TYPE_NOT_SUPPORTED",
|
|
106
107
|
};
|
|
107
108
|
export const ResourceStatusValue = {
|
|
108
109
|
Pending: "PENDING",
|
|
@@ -97,7 +97,7 @@ declare const ListGroupResourcesCommand_base: {
|
|
|
97
97
|
* // NextToken: "STRING_VALUE",
|
|
98
98
|
* // QueryErrors: [ // QueryErrorList
|
|
99
99
|
* // { // QueryError
|
|
100
|
-
* // ErrorCode: "CLOUDFORMATION_STACK_INACTIVE" || "CLOUDFORMATION_STACK_NOT_EXISTING" || "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE",
|
|
100
|
+
* // ErrorCode: "CLOUDFORMATION_STACK_INACTIVE" || "CLOUDFORMATION_STACK_NOT_EXISTING" || "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE" || "RESOURCE_TYPE_NOT_SUPPORTED",
|
|
101
101
|
* // Message: "STRING_VALUE",
|
|
102
102
|
* // },
|
|
103
103
|
* // ],
|
|
@@ -81,7 +81,7 @@ declare const SearchResourcesCommand_base: {
|
|
|
81
81
|
* // NextToken: "STRING_VALUE",
|
|
82
82
|
* // QueryErrors: [ // QueryErrorList
|
|
83
83
|
* // { // QueryError
|
|
84
|
-
* // ErrorCode: "CLOUDFORMATION_STACK_INACTIVE" || "CLOUDFORMATION_STACK_NOT_EXISTING" || "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE",
|
|
84
|
+
* // ErrorCode: "CLOUDFORMATION_STACK_INACTIVE" || "CLOUDFORMATION_STACK_NOT_EXISTING" || "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE" || "RESOURCE_TYPE_NOT_SUPPORTED",
|
|
85
85
|
* // Message: "STRING_VALUE",
|
|
86
86
|
* // },
|
|
87
87
|
* // ],
|
|
@@ -279,8 +279,9 @@ export interface CreateGroupInput {
|
|
|
279
279
|
* <p>The name of the group, which is the identifier of the group in other operations. You
|
|
280
280
|
* can't change the name of a resource group after you create it. A resource group name can
|
|
281
281
|
* consist of letters, numbers, hyphens, periods, and underscores. The name cannot start
|
|
282
|
-
* with <code>AWS</code
|
|
283
|
-
* must be unique within each Amazon Web Services Region in your Amazon Web Services
|
|
282
|
+
* with <code>AWS</code>, <code>aws</code>, or any other possible capitalization; these are
|
|
283
|
+
* reserved. A resource group name must be unique within each Amazon Web Services Region in your Amazon Web Services
|
|
284
|
+
* account.</p>
|
|
284
285
|
* @public
|
|
285
286
|
*/
|
|
286
287
|
Name: string | undefined;
|
|
@@ -847,6 +848,7 @@ export declare const QueryErrorCode: {
|
|
|
847
848
|
readonly CLOUDFORMATION_STACK_INACTIVE: "CLOUDFORMATION_STACK_INACTIVE";
|
|
848
849
|
readonly CLOUDFORMATION_STACK_NOT_EXISTING: "CLOUDFORMATION_STACK_NOT_EXISTING";
|
|
849
850
|
readonly CLOUDFORMATION_STACK_UNASSUMABLE_ROLE: "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE";
|
|
851
|
+
readonly RESOURCE_TYPE_NOT_SUPPORTED: "RESOURCE_TYPE_NOT_SUPPORTED";
|
|
850
852
|
};
|
|
851
853
|
/**
|
|
852
854
|
* @public
|
|
@@ -854,11 +856,7 @@ export declare const QueryErrorCode: {
|
|
|
854
856
|
export type QueryErrorCode = (typeof QueryErrorCode)[keyof typeof QueryErrorCode];
|
|
855
857
|
/**
|
|
856
858
|
* <p>A two-part error structure that can occur in <code>ListGroupResources</code> or
|
|
857
|
-
* <code>SearchResources</code>
|
|
858
|
-
* occurs if the CloudFront stack on which the query is based either does not exist, or has a
|
|
859
|
-
* status that renders the stack inactive. A <code>QueryError</code> occurrence does not
|
|
860
|
-
* necessarily mean that Resource Groups could not complete the operation, but the resulting
|
|
861
|
-
* group might have no member resources.</p>
|
|
859
|
+
* <code>SearchResources</code>. </p>
|
|
862
860
|
* @public
|
|
863
861
|
*/
|
|
864
862
|
export interface QueryError {
|
|
@@ -868,11 +866,7 @@ export interface QueryError {
|
|
|
868
866
|
*/
|
|
869
867
|
ErrorCode?: QueryErrorCode;
|
|
870
868
|
/**
|
|
871
|
-
* <p>A message that explains the <code>ErrorCode</code>
|
|
872
|
-
* the specified CloudFront stack does not exist (or no longer exists). For
|
|
873
|
-
* <code>CLOUDFORMATION_STACK_INACTIVE</code>, the message typically states that the
|
|
874
|
-
* CloudFront stack has a status that is not (or no longer) active, such as
|
|
875
|
-
* <code>CREATE_FAILED</code>.</p>
|
|
869
|
+
* <p>A message that explains the <code>ErrorCode</code>. </p>
|
|
876
870
|
* @public
|
|
877
871
|
*/
|
|
878
872
|
Message?: string;
|
|
@@ -975,10 +969,10 @@ export interface ListGroupResourcesOutput {
|
|
|
975
969
|
*/
|
|
976
970
|
NextToken?: string;
|
|
977
971
|
/**
|
|
978
|
-
* <p>A list of <code>QueryError</code> objects. Each error
|
|
979
|
-
*
|
|
980
|
-
*
|
|
981
|
-
*
|
|
972
|
+
* <p>A list of <code>QueryError</code> objects. Each error contains an
|
|
973
|
+
* <code>ErrorCode</code> and <code>Message</code>. Possible values for
|
|
974
|
+
* ErrorCode are <code>CLOUDFORMATION_STACK_INACTIVE</code>, <code>CLOUDFORMATION_STACK_NOT_EXISTING</code>,
|
|
975
|
+
* <code>CLOUDFORMATION_STACK_UNASSUMABLE_ROLE</code> and <code>RESOURCE_TYPE_NOT_SUPPORTED</code>. </p>
|
|
982
976
|
* @public
|
|
983
977
|
*/
|
|
984
978
|
QueryErrors?: QueryError[];
|
|
@@ -1037,12 +1031,10 @@ export interface ListGroupsInput {
|
|
|
1037
1031
|
* <ul>
|
|
1038
1032
|
* <li>
|
|
1039
1033
|
* <p>
|
|
1040
|
-
* <code>resource-type</code> - Filter the results to include only those
|
|
1041
|
-
*
|
|
1042
|
-
*
|
|
1043
|
-
*
|
|
1044
|
-
* For example, <code>AWS::EC2::Instance</code>, or
|
|
1045
|
-
* <code>AWS::S3::Bucket</code>.</p>
|
|
1034
|
+
* <code>resource-type</code> - Filter the results to include only those resource groups that have the specified
|
|
1035
|
+
* resource type in their <code>ResourceTypeFilter</code>. For example, <code>AWS::EC2::Instance</code> would
|
|
1036
|
+
* return any resource group with a <code>ResourceTypeFilter</code> that includes
|
|
1037
|
+
* <code>AWS::EC2::Instance</code>.</p>
|
|
1046
1038
|
* </li>
|
|
1047
1039
|
* <li>
|
|
1048
1040
|
* <p>
|
|
@@ -1052,6 +1044,21 @@ export interface ListGroupsInput {
|
|
|
1052
1044
|
* <ul>
|
|
1053
1045
|
* <li>
|
|
1054
1046
|
* <p>
|
|
1047
|
+
* <code>AWS::AppRegistry::Application</code>
|
|
1048
|
+
* </p>
|
|
1049
|
+
* </li>
|
|
1050
|
+
* <li>
|
|
1051
|
+
* <p>
|
|
1052
|
+
* <code>AWS::AppRegistry::ApplicationResourceGroups</code>
|
|
1053
|
+
* </p>
|
|
1054
|
+
* </li>
|
|
1055
|
+
* <li>
|
|
1056
|
+
* <p>
|
|
1057
|
+
* <code>AWS::CloudFormation::Stack</code>
|
|
1058
|
+
* </p>
|
|
1059
|
+
* </li>
|
|
1060
|
+
* <li>
|
|
1061
|
+
* <p>
|
|
1055
1062
|
* <code>AWS::EC2::CapacityReservationPool</code>
|
|
1056
1063
|
* </p>
|
|
1057
1064
|
* </li>
|
|
@@ -1060,6 +1067,11 @@ export interface ListGroupsInput {
|
|
|
1060
1067
|
* <code>AWS::EC2::HostManagement</code>
|
|
1061
1068
|
* </p>
|
|
1062
1069
|
* </li>
|
|
1070
|
+
* <li>
|
|
1071
|
+
* <p>
|
|
1072
|
+
* <code>AWS::NetworkFirewall::RuleGroup</code>
|
|
1073
|
+
* </p>
|
|
1074
|
+
* </li>
|
|
1063
1075
|
* </ul>
|
|
1064
1076
|
* </li>
|
|
1065
1077
|
* </ul>
|
|
@@ -1216,8 +1228,8 @@ export interface SearchResourcesOutput {
|
|
|
1216
1228
|
*/
|
|
1217
1229
|
NextToken?: string;
|
|
1218
1230
|
/**
|
|
1219
|
-
* <p>A list of <code>QueryError</code> objects. Each error
|
|
1220
|
-
* <code>ErrorCode</code> and <code>Message</code
|
|
1231
|
+
* <p>A list of <code>QueryError</code> objects. Each error contains an
|
|
1232
|
+
* <code>ErrorCode</code> and <code>Message</code>.</p>
|
|
1221
1233
|
* <p>Possible values for <code>ErrorCode</code>:</p>
|
|
1222
1234
|
* <ul>
|
|
1223
1235
|
* <li>
|
|
@@ -1230,6 +1242,11 @@ export interface SearchResourcesOutput {
|
|
|
1230
1242
|
* <code>CLOUDFORMATION_STACK_NOT_EXISTING</code>
|
|
1231
1243
|
* </p>
|
|
1232
1244
|
* </li>
|
|
1245
|
+
* <li>
|
|
1246
|
+
* <p>
|
|
1247
|
+
* <code>CLOUDFORMATION_STACK_UNASSUMABLE_ROLE </code>
|
|
1248
|
+
* </p>
|
|
1249
|
+
* </li>
|
|
1233
1250
|
* </ul>
|
|
1234
1251
|
* @public
|
|
1235
1252
|
*/
|
|
@@ -189,6 +189,7 @@ export declare const QueryErrorCode: {
|
|
|
189
189
|
readonly CLOUDFORMATION_STACK_INACTIVE: "CLOUDFORMATION_STACK_INACTIVE";
|
|
190
190
|
readonly CLOUDFORMATION_STACK_NOT_EXISTING: "CLOUDFORMATION_STACK_NOT_EXISTING";
|
|
191
191
|
readonly CLOUDFORMATION_STACK_UNASSUMABLE_ROLE: "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE";
|
|
192
|
+
readonly RESOURCE_TYPE_NOT_SUPPORTED: "RESOURCE_TYPE_NOT_SUPPORTED";
|
|
192
193
|
};
|
|
193
194
|
export type QueryErrorCode =
|
|
194
195
|
(typeof QueryErrorCode)[keyof typeof QueryErrorCode];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-resource-groups",
|
|
3
3
|
"description": "AWS SDK for JavaScript Resource Groups Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.550.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-resource-groups",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.549.0",
|
|
24
|
+
"@aws-sdk/core": "3.549.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.549.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.2.0",
|
|
36
|
-
"@smithy/core": "^1.4.
|
|
36
|
+
"@smithy/core": "^1.4.1",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.5.0",
|
|
38
38
|
"@smithy/hash-node": "^2.2.0",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.2.0",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.2.0",
|
|
41
41
|
"@smithy/middleware-endpoint": "^2.5.0",
|
|
42
|
-
"@smithy/middleware-retry": "^2.
|
|
42
|
+
"@smithy/middleware-retry": "^2.3.0",
|
|
43
43
|
"@smithy/middleware-serde": "^2.3.0",
|
|
44
44
|
"@smithy/middleware-stack": "^2.2.0",
|
|
45
45
|
"@smithy/node-config-provider": "^2.3.0",
|