@aws-sdk/client-resource-groups-tagging-api 3.299.0 → 3.301.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/DescribeReportCreationCommand.d.ts +1 -0
- package/dist-types/commands/GetComplianceSummaryCommand.d.ts +19 -0
- package/dist-types/commands/GetResourcesCommand.d.ts +21 -0
- package/dist-types/commands/GetTagKeysCommand.d.ts +3 -0
- package/dist-types/commands/GetTagValuesCommand.d.ts +4 -0
- package/dist-types/commands/StartReportCreationCommand.d.ts +3 -0
- package/dist-types/commands/TagResourcesCommand.d.ts +8 -0
- package/dist-types/commands/UntagResourcesCommand.d.ts +8 -0
- package/package.json +8 -8
|
@@ -28,6 +28,7 @@ export interface DescribeReportCreationCommandOutput extends DescribeReportCreat
|
|
|
28
28
|
* import { ResourceGroupsTaggingAPIClient, DescribeReportCreationCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
|
|
29
29
|
* // const { ResourceGroupsTaggingAPIClient, DescribeReportCreationCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
|
|
30
30
|
* const client = new ResourceGroupsTaggingAPIClient(config);
|
|
31
|
+
* const input = {};
|
|
31
32
|
* const command = new DescribeReportCreationCommand(input);
|
|
32
33
|
* const response = await client.send(command);
|
|
33
34
|
* ```
|
|
@@ -38,6 +38,25 @@ export interface GetComplianceSummaryCommandOutput extends GetComplianceSummaryO
|
|
|
38
38
|
* import { ResourceGroupsTaggingAPIClient, GetComplianceSummaryCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
|
|
39
39
|
* // const { ResourceGroupsTaggingAPIClient, GetComplianceSummaryCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
|
|
40
40
|
* const client = new ResourceGroupsTaggingAPIClient(config);
|
|
41
|
+
* const input = { // GetComplianceSummaryInput
|
|
42
|
+
* TargetIdFilters: [ // TargetIdFilterList
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* RegionFilters: [ // RegionFilterList
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* ResourceTypeFilters: [ // ResourceTypeFilterList
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* TagKeyFilters: [ // TagKeyFilterList
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* GroupBy: [ // GroupBy
|
|
55
|
+
* "STRING_VALUE",
|
|
56
|
+
* ],
|
|
57
|
+
* MaxResults: Number("int"),
|
|
58
|
+
* PaginationToken: "STRING_VALUE",
|
|
59
|
+
* };
|
|
41
60
|
* const command = new GetComplianceSummaryCommand(input);
|
|
42
61
|
* const response = await client.send(command);
|
|
43
62
|
* ```
|
|
@@ -49,6 +49,27 @@ export interface GetResourcesCommandOutput extends GetResourcesOutput, __Metadat
|
|
|
49
49
|
* import { ResourceGroupsTaggingAPIClient, GetResourcesCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
|
|
50
50
|
* // const { ResourceGroupsTaggingAPIClient, GetResourcesCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
|
|
51
51
|
* const client = new ResourceGroupsTaggingAPIClient(config);
|
|
52
|
+
* const input = { // GetResourcesInput
|
|
53
|
+
* PaginationToken: "STRING_VALUE",
|
|
54
|
+
* TagFilters: [ // TagFilterList
|
|
55
|
+
* { // TagFilter
|
|
56
|
+
* Key: "STRING_VALUE",
|
|
57
|
+
* Values: [ // TagValueList
|
|
58
|
+
* "STRING_VALUE",
|
|
59
|
+
* ],
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* ResourcesPerPage: Number("int"),
|
|
63
|
+
* TagsPerPage: Number("int"),
|
|
64
|
+
* ResourceTypeFilters: [ // ResourceTypeFilterList
|
|
65
|
+
* "STRING_VALUE",
|
|
66
|
+
* ],
|
|
67
|
+
* IncludeComplianceDetails: true || false,
|
|
68
|
+
* ExcludeCompliantResources: true || false,
|
|
69
|
+
* ResourceARNList: [ // ResourceARNListForGet
|
|
70
|
+
* "STRING_VALUE",
|
|
71
|
+
* ],
|
|
72
|
+
* };
|
|
52
73
|
* const command = new GetResourcesCommand(input);
|
|
53
74
|
* const response = await client.send(command);
|
|
54
75
|
* ```
|
|
@@ -33,6 +33,9 @@ export interface GetTagKeysCommandOutput extends GetTagKeysOutput, __MetadataBea
|
|
|
33
33
|
* import { ResourceGroupsTaggingAPIClient, GetTagKeysCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
|
|
34
34
|
* // const { ResourceGroupsTaggingAPIClient, GetTagKeysCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
|
|
35
35
|
* const client = new ResourceGroupsTaggingAPIClient(config);
|
|
36
|
+
* const input = { // GetTagKeysInput
|
|
37
|
+
* PaginationToken: "STRING_VALUE",
|
|
38
|
+
* };
|
|
36
39
|
* const command = new GetTagKeysCommand(input);
|
|
37
40
|
* const response = await client.send(command);
|
|
38
41
|
* ```
|
|
@@ -33,6 +33,10 @@ export interface GetTagValuesCommandOutput extends GetTagValuesOutput, __Metadat
|
|
|
33
33
|
* import { ResourceGroupsTaggingAPIClient, GetTagValuesCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
|
|
34
34
|
* // const { ResourceGroupsTaggingAPIClient, GetTagValuesCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
|
|
35
35
|
* const client = new ResourceGroupsTaggingAPIClient(config);
|
|
36
|
+
* const input = { // GetTagValuesInput
|
|
37
|
+
* PaginationToken: "STRING_VALUE",
|
|
38
|
+
* Key: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
36
40
|
* const command = new GetTagValuesCommand(input);
|
|
37
41
|
* const response = await client.send(command);
|
|
38
42
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface StartReportCreationCommandOutput extends StartReportCreationOut
|
|
|
34
34
|
* import { ResourceGroupsTaggingAPIClient, StartReportCreationCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
|
|
35
35
|
* // const { ResourceGroupsTaggingAPIClient, StartReportCreationCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
|
|
36
36
|
* const client = new ResourceGroupsTaggingAPIClient(config);
|
|
37
|
+
* const input = { // StartReportCreationInput
|
|
38
|
+
* S3Bucket: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new StartReportCreationCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -75,6 +75,14 @@ export interface TagResourcesCommandOutput extends TagResourcesOutput, __Metadat
|
|
|
75
75
|
* import { ResourceGroupsTaggingAPIClient, TagResourcesCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
|
|
76
76
|
* // const { ResourceGroupsTaggingAPIClient, TagResourcesCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
|
|
77
77
|
* const client = new ResourceGroupsTaggingAPIClient(config);
|
|
78
|
+
* const input = { // TagResourcesInput
|
|
79
|
+
* ResourceARNList: [ // ResourceARNListForTagUntag // required
|
|
80
|
+
* "STRING_VALUE",
|
|
81
|
+
* ],
|
|
82
|
+
* Tags: { // TagMap // required
|
|
83
|
+
* "<keys>": "STRING_VALUE",
|
|
84
|
+
* },
|
|
85
|
+
* };
|
|
78
86
|
* const command = new TagResourcesCommand(input);
|
|
79
87
|
* const response = await client.send(command);
|
|
80
88
|
* ```
|
|
@@ -62,6 +62,14 @@ export interface UntagResourcesCommandOutput extends UntagResourcesOutput, __Met
|
|
|
62
62
|
* import { ResourceGroupsTaggingAPIClient, UntagResourcesCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
|
|
63
63
|
* // const { ResourceGroupsTaggingAPIClient, UntagResourcesCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
|
|
64
64
|
* const client = new ResourceGroupsTaggingAPIClient(config);
|
|
65
|
+
* const input = { // UntagResourcesInput
|
|
66
|
+
* ResourceARNList: [ // ResourceARNListForTagUntag // required
|
|
67
|
+
* "STRING_VALUE",
|
|
68
|
+
* ],
|
|
69
|
+
* TagKeys: [ // TagKeyListForUntag // required
|
|
70
|
+
* "STRING_VALUE",
|
|
71
|
+
* ],
|
|
72
|
+
* };
|
|
65
73
|
* const command = new UntagResourcesCommand(input);
|
|
66
74
|
* const response = await client.send(command);
|
|
67
75
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-resource-groups-tagging-api",
|
|
3
3
|
"description": "AWS SDK for JavaScript Resource Groups Tagging Api Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.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,9 +21,9 @@
|
|
|
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.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.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",
|
|
@@ -32,12 +32,12 @@
|
|
|
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
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
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
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
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
|
},
|