@aws-sdk/client-resource-groups 3.298.0 → 3.300.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-types/commands/CreateGroupCommand.d.ts +24 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +4 -0
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +1 -0
- package/dist-types/commands/GetGroupCommand.d.ts +4 -0
- package/dist-types/commands/GetGroupConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/GetGroupQueryCommand.d.ts +4 -0
- package/dist-types/commands/GetTagsCommand.d.ts +3 -0
- package/dist-types/commands/GroupResourcesCommand.d.ts +6 -0
- package/dist-types/commands/ListGroupResourcesCommand.d.ts +14 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +12 -0
- package/dist-types/commands/PutGroupConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/SearchResourcesCommand.d.ts +8 -0
- package/dist-types/commands/TagCommand.d.ts +6 -0
- package/dist-types/commands/UngroupResourcesCommand.d.ts +6 -0
- package/dist-types/commands/UntagCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +5 -0
- package/dist-types/commands/UpdateGroupQueryCommand.d.ts +8 -0
- package/package.json +12 -12
|
@@ -41,6 +41,30 @@ export interface CreateGroupCommandOutput extends CreateGroupOutput, __MetadataB
|
|
|
41
41
|
* import { ResourceGroupsClient, CreateGroupCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
|
|
42
42
|
* // const { ResourceGroupsClient, CreateGroupCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
|
|
43
43
|
* const client = new ResourceGroupsClient(config);
|
|
44
|
+
* const input = {
|
|
45
|
+
* Name: "STRING_VALUE", // required
|
|
46
|
+
* Description: "STRING_VALUE",
|
|
47
|
+
* ResourceQuery: {
|
|
48
|
+
* Type: "TAG_FILTERS_1_0" || "CLOUDFORMATION_STACK_1_0", // required
|
|
49
|
+
* Query: "STRING_VALUE", // required
|
|
50
|
+
* },
|
|
51
|
+
* Tags: {
|
|
52
|
+
* "<keys>": "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* Configuration: [
|
|
55
|
+
* {
|
|
56
|
+
* Type: "STRING_VALUE", // required
|
|
57
|
+
* Parameters: [
|
|
58
|
+
* {
|
|
59
|
+
* Name: "STRING_VALUE", // required
|
|
60
|
+
* Values: [
|
|
61
|
+
* "STRING_VALUE",
|
|
62
|
+
* ],
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* };
|
|
44
68
|
* const command = new CreateGroupCommand(input);
|
|
45
69
|
* const response = await client.send(command);
|
|
46
70
|
* ```
|
|
@@ -38,6 +38,10 @@ export interface DeleteGroupCommandOutput extends DeleteGroupOutput, __MetadataB
|
|
|
38
38
|
* import { ResourceGroupsClient, DeleteGroupCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
|
|
39
39
|
* // const { ResourceGroupsClient, DeleteGroupCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
|
|
40
40
|
* const client = new ResourceGroupsClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* GroupName: "STRING_VALUE",
|
|
43
|
+
* Group: "STRING_VALUE",
|
|
44
|
+
* };
|
|
41
45
|
* const command = new DeleteGroupCommand(input);
|
|
42
46
|
* const response = await client.send(command);
|
|
43
47
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface GetAccountSettingsCommandOutput extends GetAccountSettingsOutpu
|
|
|
26
26
|
* import { ResourceGroupsClient, GetAccountSettingsCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
|
|
27
27
|
* // const { ResourceGroupsClient, GetAccountSettingsCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
|
|
28
28
|
* const client = new ResourceGroupsClient(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new GetAccountSettingsCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -37,6 +37,10 @@ export interface GetGroupCommandOutput extends GetGroupOutput, __MetadataBearer
|
|
|
37
37
|
* import { ResourceGroupsClient, GetGroupCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
|
|
38
38
|
* // const { ResourceGroupsClient, GetGroupCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
|
|
39
39
|
* const client = new ResourceGroupsClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* GroupName: "STRING_VALUE",
|
|
42
|
+
* Group: "STRING_VALUE",
|
|
43
|
+
* };
|
|
40
44
|
* const command = new GetGroupCommand(input);
|
|
41
45
|
* const response = await client.send(command);
|
|
42
46
|
* ```
|
|
@@ -38,6 +38,9 @@ export interface GetGroupConfigurationCommandOutput extends GetGroupConfiguratio
|
|
|
38
38
|
* import { ResourceGroupsClient, GetGroupConfigurationCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
|
|
39
39
|
* // const { ResourceGroupsClient, GetGroupConfigurationCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
|
|
40
40
|
* const client = new ResourceGroupsClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* Group: "STRING_VALUE",
|
|
43
|
+
* };
|
|
41
44
|
* const command = new GetGroupConfigurationCommand(input);
|
|
42
45
|
* const response = await client.send(command);
|
|
43
46
|
* ```
|
|
@@ -39,6 +39,10 @@ export interface GetGroupQueryCommandOutput extends GetGroupQueryOutput, __Metad
|
|
|
39
39
|
* import { ResourceGroupsClient, GetGroupQueryCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
|
|
40
40
|
* // const { ResourceGroupsClient, GetGroupQueryCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
|
|
41
41
|
* const client = new ResourceGroupsClient(config);
|
|
42
|
+
* const input = {
|
|
43
|
+
* GroupName: "STRING_VALUE",
|
|
44
|
+
* Group: "STRING_VALUE",
|
|
45
|
+
* };
|
|
42
46
|
* const command = new GetGroupQueryCommand(input);
|
|
43
47
|
* const response = await client.send(command);
|
|
44
48
|
* ```
|
|
@@ -38,6 +38,9 @@ export interface GetTagsCommandOutput extends GetTagsOutput, __MetadataBearer {
|
|
|
38
38
|
* import { ResourceGroupsClient, GetTagsCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
|
|
39
39
|
* // const { ResourceGroupsClient, GetTagsCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
|
|
40
40
|
* const client = new ResourceGroupsClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* Arn: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
41
44
|
* const command = new GetTagsCommand(input);
|
|
42
45
|
* const response = await client.send(command);
|
|
43
46
|
* ```
|
|
@@ -55,6 +55,12 @@ export interface GroupResourcesCommandOutput extends GroupResourcesOutput, __Met
|
|
|
55
55
|
* import { ResourceGroupsClient, GroupResourcesCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
|
|
56
56
|
* // const { ResourceGroupsClient, GroupResourcesCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
|
|
57
57
|
* const client = new ResourceGroupsClient(config);
|
|
58
|
+
* const input = {
|
|
59
|
+
* Group: "STRING_VALUE", // required
|
|
60
|
+
* ResourceArns: [ // required
|
|
61
|
+
* "STRING_VALUE",
|
|
62
|
+
* ],
|
|
63
|
+
* };
|
|
58
64
|
* const command = new GroupResourcesCommand(input);
|
|
59
65
|
* const response = await client.send(command);
|
|
60
66
|
* ```
|
|
@@ -53,6 +53,20 @@ export interface ListGroupResourcesCommandOutput extends ListGroupResourcesOutpu
|
|
|
53
53
|
* import { ResourceGroupsClient, ListGroupResourcesCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
|
|
54
54
|
* // const { ResourceGroupsClient, ListGroupResourcesCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
|
|
55
55
|
* const client = new ResourceGroupsClient(config);
|
|
56
|
+
* const input = {
|
|
57
|
+
* GroupName: "STRING_VALUE",
|
|
58
|
+
* Group: "STRING_VALUE",
|
|
59
|
+
* Filters: [
|
|
60
|
+
* {
|
|
61
|
+
* Name: "resource-type", // required
|
|
62
|
+
* Values: [ // required
|
|
63
|
+
* "STRING_VALUE",
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* MaxResults: Number("int"),
|
|
68
|
+
* NextToken: "STRING_VALUE",
|
|
69
|
+
* };
|
|
56
70
|
* const command = new ListGroupResourcesCommand(input);
|
|
57
71
|
* const response = await client.send(command);
|
|
58
72
|
* ```
|
|
@@ -37,6 +37,18 @@ export interface ListGroupsCommandOutput extends ListGroupsOutput, __MetadataBea
|
|
|
37
37
|
* import { ResourceGroupsClient, ListGroupsCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
|
|
38
38
|
* // const { ResourceGroupsClient, ListGroupsCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
|
|
39
39
|
* const client = new ResourceGroupsClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* Filters: [
|
|
42
|
+
* {
|
|
43
|
+
* Name: "resource-type" || "configuration-type", // required
|
|
44
|
+
* Values: [ // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* MaxResults: Number("int"),
|
|
50
|
+
* NextToken: "STRING_VALUE",
|
|
51
|
+
* };
|
|
40
52
|
* const command = new ListGroupsCommand(input);
|
|
41
53
|
* const response = await client.send(command);
|
|
42
54
|
* ```
|
|
@@ -39,6 +39,22 @@ export interface PutGroupConfigurationCommandOutput extends PutGroupConfiguratio
|
|
|
39
39
|
* import { ResourceGroupsClient, PutGroupConfigurationCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
|
|
40
40
|
* // const { ResourceGroupsClient, PutGroupConfigurationCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
|
|
41
41
|
* const client = new ResourceGroupsClient(config);
|
|
42
|
+
* const input = {
|
|
43
|
+
* Group: "STRING_VALUE",
|
|
44
|
+
* Configuration: [
|
|
45
|
+
* {
|
|
46
|
+
* Type: "STRING_VALUE", // required
|
|
47
|
+
* Parameters: [
|
|
48
|
+
* {
|
|
49
|
+
* Name: "STRING_VALUE", // required
|
|
50
|
+
* Values: [
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* };
|
|
42
58
|
* const command = new PutGroupConfigurationCommand(input);
|
|
43
59
|
* const response = await client.send(command);
|
|
44
60
|
* ```
|
|
@@ -54,6 +54,14 @@ export interface SearchResourcesCommandOutput extends SearchResourcesOutput, __M
|
|
|
54
54
|
* import { ResourceGroupsClient, SearchResourcesCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
|
|
55
55
|
* // const { ResourceGroupsClient, SearchResourcesCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
|
|
56
56
|
* const client = new ResourceGroupsClient(config);
|
|
57
|
+
* const input = {
|
|
58
|
+
* ResourceQuery: {
|
|
59
|
+
* Type: "TAG_FILTERS_1_0" || "CLOUDFORMATION_STACK_1_0", // required
|
|
60
|
+
* Query: "STRING_VALUE", // required
|
|
61
|
+
* },
|
|
62
|
+
* MaxResults: Number("int"),
|
|
63
|
+
* NextToken: "STRING_VALUE",
|
|
64
|
+
* };
|
|
57
65
|
* const command = new SearchResourcesCommand(input);
|
|
58
66
|
* const response = await client.send(command);
|
|
59
67
|
* ```
|
|
@@ -44,6 +44,12 @@ export interface TagCommandOutput extends TagOutput, __MetadataBearer {
|
|
|
44
44
|
* import { ResourceGroupsClient, TagCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
|
|
45
45
|
* // const { ResourceGroupsClient, TagCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
|
|
46
46
|
* const client = new ResourceGroupsClient(config);
|
|
47
|
+
* const input = {
|
|
48
|
+
* Arn: "STRING_VALUE", // required
|
|
49
|
+
* Tags: { // required
|
|
50
|
+
* "<keys>": "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* };
|
|
47
53
|
* const command = new TagCommand(input);
|
|
48
54
|
* const response = await client.send(command);
|
|
49
55
|
* ```
|
|
@@ -40,6 +40,12 @@ export interface UngroupResourcesCommandOutput extends UngroupResourcesOutput, _
|
|
|
40
40
|
* import { ResourceGroupsClient, UngroupResourcesCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
|
|
41
41
|
* // const { ResourceGroupsClient, UngroupResourcesCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
|
|
42
42
|
* const client = new ResourceGroupsClient(config);
|
|
43
|
+
* const input = {
|
|
44
|
+
* Group: "STRING_VALUE", // required
|
|
45
|
+
* ResourceArns: [ // required
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* };
|
|
43
49
|
* const command = new UngroupResourcesCommand(input);
|
|
44
50
|
* const response = await client.send(command);
|
|
45
51
|
* ```
|
|
@@ -37,6 +37,12 @@ export interface UntagCommandOutput extends UntagOutput, __MetadataBearer {
|
|
|
37
37
|
* import { ResourceGroupsClient, UntagCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
|
|
38
38
|
* // const { ResourceGroupsClient, UntagCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
|
|
39
39
|
* const client = new ResourceGroupsClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* Arn: "STRING_VALUE", // required
|
|
42
|
+
* Keys: [ // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* };
|
|
40
46
|
* const command = new UntagCommand(input);
|
|
41
47
|
* const response = await client.send(command);
|
|
42
48
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface UpdateAccountSettingsCommandOutput extends UpdateAccountSetting
|
|
|
30
30
|
* import { ResourceGroupsClient, UpdateAccountSettingsCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
|
|
31
31
|
* // const { ResourceGroupsClient, UpdateAccountSettingsCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
|
|
32
32
|
* const client = new ResourceGroupsClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* GroupLifecycleEventsDesiredStatus: "ACTIVE" || "INACTIVE",
|
|
35
|
+
* };
|
|
33
36
|
* const command = new UpdateAccountSettingsCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -38,6 +38,11 @@ export interface UpdateGroupCommandOutput extends UpdateGroupOutput, __MetadataB
|
|
|
38
38
|
* import { ResourceGroupsClient, UpdateGroupCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
|
|
39
39
|
* // const { ResourceGroupsClient, UpdateGroupCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
|
|
40
40
|
* const client = new ResourceGroupsClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* GroupName: "STRING_VALUE",
|
|
43
|
+
* Group: "STRING_VALUE",
|
|
44
|
+
* Description: "STRING_VALUE",
|
|
45
|
+
* };
|
|
41
46
|
* const command = new UpdateGroupCommand(input);
|
|
42
47
|
* const response = await client.send(command);
|
|
43
48
|
* ```
|
|
@@ -38,6 +38,14 @@ export interface UpdateGroupQueryCommandOutput extends UpdateGroupQueryOutput, _
|
|
|
38
38
|
* import { ResourceGroupsClient, UpdateGroupQueryCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
|
|
39
39
|
* // const { ResourceGroupsClient, UpdateGroupQueryCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
|
|
40
40
|
* const client = new ResourceGroupsClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* GroupName: "STRING_VALUE",
|
|
43
|
+
* Group: "STRING_VALUE",
|
|
44
|
+
* ResourceQuery: {
|
|
45
|
+
* Type: "TAG_FILTERS_1_0" || "CLOUDFORMATION_STACK_1_0", // required
|
|
46
|
+
* Query: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* };
|
|
41
49
|
* const command = new UpdateGroupQueryCommand(input);
|
|
42
50
|
* const response = await client.send(command);
|
|
43
51
|
* ```
|
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.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,23 +21,23 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|