@aws-sdk/client-resource-groups-tagging-api 3.315.0 → 3.319.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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ResourceGroupsTaggingAPI = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const DescribeReportCreationCommand_1 = require("./commands/DescribeReportCreationCommand");
5
6
  const GetComplianceSummaryCommand_1 = require("./commands/GetComplianceSummaryCommand");
6
7
  const GetResourcesCommand_1 = require("./commands/GetResourcesCommand");
@@ -10,118 +11,17 @@ const StartReportCreationCommand_1 = require("./commands/StartReportCreationComm
10
11
  const TagResourcesCommand_1 = require("./commands/TagResourcesCommand");
11
12
  const UntagResourcesCommand_1 = require("./commands/UntagResourcesCommand");
12
13
  const ResourceGroupsTaggingAPIClient_1 = require("./ResourceGroupsTaggingAPIClient");
14
+ const commands = {
15
+ DescribeReportCreationCommand: DescribeReportCreationCommand_1.DescribeReportCreationCommand,
16
+ GetComplianceSummaryCommand: GetComplianceSummaryCommand_1.GetComplianceSummaryCommand,
17
+ GetResourcesCommand: GetResourcesCommand_1.GetResourcesCommand,
18
+ GetTagKeysCommand: GetTagKeysCommand_1.GetTagKeysCommand,
19
+ GetTagValuesCommand: GetTagValuesCommand_1.GetTagValuesCommand,
20
+ StartReportCreationCommand: StartReportCreationCommand_1.StartReportCreationCommand,
21
+ TagResourcesCommand: TagResourcesCommand_1.TagResourcesCommand,
22
+ UntagResourcesCommand: UntagResourcesCommand_1.UntagResourcesCommand,
23
+ };
13
24
  class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPIClient_1.ResourceGroupsTaggingAPIClient {
14
- describeReportCreation(args, optionsOrCb, cb) {
15
- const command = new DescribeReportCreationCommand_1.DescribeReportCreationCommand(args);
16
- if (typeof optionsOrCb === "function") {
17
- this.send(command, optionsOrCb);
18
- }
19
- else if (typeof cb === "function") {
20
- if (typeof optionsOrCb !== "object")
21
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
22
- this.send(command, optionsOrCb || {}, cb);
23
- }
24
- else {
25
- return this.send(command, optionsOrCb);
26
- }
27
- }
28
- getComplianceSummary(args, optionsOrCb, cb) {
29
- const command = new GetComplianceSummaryCommand_1.GetComplianceSummaryCommand(args);
30
- if (typeof optionsOrCb === "function") {
31
- this.send(command, optionsOrCb);
32
- }
33
- else if (typeof cb === "function") {
34
- if (typeof optionsOrCb !== "object")
35
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
36
- this.send(command, optionsOrCb || {}, cb);
37
- }
38
- else {
39
- return this.send(command, optionsOrCb);
40
- }
41
- }
42
- getResources(args, optionsOrCb, cb) {
43
- const command = new GetResourcesCommand_1.GetResourcesCommand(args);
44
- if (typeof optionsOrCb === "function") {
45
- this.send(command, optionsOrCb);
46
- }
47
- else if (typeof cb === "function") {
48
- if (typeof optionsOrCb !== "object")
49
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
50
- this.send(command, optionsOrCb || {}, cb);
51
- }
52
- else {
53
- return this.send(command, optionsOrCb);
54
- }
55
- }
56
- getTagKeys(args, optionsOrCb, cb) {
57
- const command = new GetTagKeysCommand_1.GetTagKeysCommand(args);
58
- if (typeof optionsOrCb === "function") {
59
- this.send(command, optionsOrCb);
60
- }
61
- else if (typeof cb === "function") {
62
- if (typeof optionsOrCb !== "object")
63
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
64
- this.send(command, optionsOrCb || {}, cb);
65
- }
66
- else {
67
- return this.send(command, optionsOrCb);
68
- }
69
- }
70
- getTagValues(args, optionsOrCb, cb) {
71
- const command = new GetTagValuesCommand_1.GetTagValuesCommand(args);
72
- if (typeof optionsOrCb === "function") {
73
- this.send(command, optionsOrCb);
74
- }
75
- else if (typeof cb === "function") {
76
- if (typeof optionsOrCb !== "object")
77
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
78
- this.send(command, optionsOrCb || {}, cb);
79
- }
80
- else {
81
- return this.send(command, optionsOrCb);
82
- }
83
- }
84
- startReportCreation(args, optionsOrCb, cb) {
85
- const command = new StartReportCreationCommand_1.StartReportCreationCommand(args);
86
- if (typeof optionsOrCb === "function") {
87
- this.send(command, optionsOrCb);
88
- }
89
- else if (typeof cb === "function") {
90
- if (typeof optionsOrCb !== "object")
91
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
92
- this.send(command, optionsOrCb || {}, cb);
93
- }
94
- else {
95
- return this.send(command, optionsOrCb);
96
- }
97
- }
98
- tagResources(args, optionsOrCb, cb) {
99
- const command = new TagResourcesCommand_1.TagResourcesCommand(args);
100
- if (typeof optionsOrCb === "function") {
101
- this.send(command, optionsOrCb);
102
- }
103
- else if (typeof cb === "function") {
104
- if (typeof optionsOrCb !== "object")
105
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
106
- this.send(command, optionsOrCb || {}, cb);
107
- }
108
- else {
109
- return this.send(command, optionsOrCb);
110
- }
111
- }
112
- untagResources(args, optionsOrCb, cb) {
113
- const command = new UntagResourcesCommand_1.UntagResourcesCommand(args);
114
- if (typeof optionsOrCb === "function") {
115
- this.send(command, optionsOrCb);
116
- }
117
- else if (typeof cb === "function") {
118
- if (typeof optionsOrCb !== "object")
119
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
120
- this.send(command, optionsOrCb || {}, cb);
121
- }
122
- else {
123
- return this.send(command, optionsOrCb);
124
- }
125
- }
126
25
  }
127
26
  exports.ResourceGroupsTaggingAPI = ResourceGroupsTaggingAPI;
27
+ (0, smithy_client_1.createAggregatedClient)(commands, ResourceGroupsTaggingAPI);
@@ -1,3 +1,4 @@
1
+ import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
2
  import { DescribeReportCreationCommand, } from "./commands/DescribeReportCreationCommand";
2
3
  import { GetComplianceSummaryCommand, } from "./commands/GetComplianceSummaryCommand";
3
4
  import { GetResourcesCommand, } from "./commands/GetResourcesCommand";
@@ -7,117 +8,16 @@ import { StartReportCreationCommand, } from "./commands/StartReportCreationComma
7
8
  import { TagResourcesCommand, } from "./commands/TagResourcesCommand";
8
9
  import { UntagResourcesCommand, } from "./commands/UntagResourcesCommand";
9
10
  import { ResourceGroupsTaggingAPIClient } from "./ResourceGroupsTaggingAPIClient";
11
+ const commands = {
12
+ DescribeReportCreationCommand,
13
+ GetComplianceSummaryCommand,
14
+ GetResourcesCommand,
15
+ GetTagKeysCommand,
16
+ GetTagValuesCommand,
17
+ StartReportCreationCommand,
18
+ TagResourcesCommand,
19
+ UntagResourcesCommand,
20
+ };
10
21
  export class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPIClient {
11
- describeReportCreation(args, optionsOrCb, cb) {
12
- const command = new DescribeReportCreationCommand(args);
13
- if (typeof optionsOrCb === "function") {
14
- this.send(command, optionsOrCb);
15
- }
16
- else if (typeof cb === "function") {
17
- if (typeof optionsOrCb !== "object")
18
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
19
- this.send(command, optionsOrCb || {}, cb);
20
- }
21
- else {
22
- return this.send(command, optionsOrCb);
23
- }
24
- }
25
- getComplianceSummary(args, optionsOrCb, cb) {
26
- const command = new GetComplianceSummaryCommand(args);
27
- if (typeof optionsOrCb === "function") {
28
- this.send(command, optionsOrCb);
29
- }
30
- else if (typeof cb === "function") {
31
- if (typeof optionsOrCb !== "object")
32
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
33
- this.send(command, optionsOrCb || {}, cb);
34
- }
35
- else {
36
- return this.send(command, optionsOrCb);
37
- }
38
- }
39
- getResources(args, optionsOrCb, cb) {
40
- const command = new GetResourcesCommand(args);
41
- if (typeof optionsOrCb === "function") {
42
- this.send(command, optionsOrCb);
43
- }
44
- else if (typeof cb === "function") {
45
- if (typeof optionsOrCb !== "object")
46
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
47
- this.send(command, optionsOrCb || {}, cb);
48
- }
49
- else {
50
- return this.send(command, optionsOrCb);
51
- }
52
- }
53
- getTagKeys(args, optionsOrCb, cb) {
54
- const command = new GetTagKeysCommand(args);
55
- if (typeof optionsOrCb === "function") {
56
- this.send(command, optionsOrCb);
57
- }
58
- else if (typeof cb === "function") {
59
- if (typeof optionsOrCb !== "object")
60
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
61
- this.send(command, optionsOrCb || {}, cb);
62
- }
63
- else {
64
- return this.send(command, optionsOrCb);
65
- }
66
- }
67
- getTagValues(args, optionsOrCb, cb) {
68
- const command = new GetTagValuesCommand(args);
69
- if (typeof optionsOrCb === "function") {
70
- this.send(command, optionsOrCb);
71
- }
72
- else if (typeof cb === "function") {
73
- if (typeof optionsOrCb !== "object")
74
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
75
- this.send(command, optionsOrCb || {}, cb);
76
- }
77
- else {
78
- return this.send(command, optionsOrCb);
79
- }
80
- }
81
- startReportCreation(args, optionsOrCb, cb) {
82
- const command = new StartReportCreationCommand(args);
83
- if (typeof optionsOrCb === "function") {
84
- this.send(command, optionsOrCb);
85
- }
86
- else if (typeof cb === "function") {
87
- if (typeof optionsOrCb !== "object")
88
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
89
- this.send(command, optionsOrCb || {}, cb);
90
- }
91
- else {
92
- return this.send(command, optionsOrCb);
93
- }
94
- }
95
- tagResources(args, optionsOrCb, cb) {
96
- const command = new TagResourcesCommand(args);
97
- if (typeof optionsOrCb === "function") {
98
- this.send(command, optionsOrCb);
99
- }
100
- else if (typeof cb === "function") {
101
- if (typeof optionsOrCb !== "object")
102
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
103
- this.send(command, optionsOrCb || {}, cb);
104
- }
105
- else {
106
- return this.send(command, optionsOrCb);
107
- }
108
- }
109
- untagResources(args, optionsOrCb, cb) {
110
- const command = new UntagResourcesCommand(args);
111
- if (typeof optionsOrCb === "function") {
112
- this.send(command, optionsOrCb);
113
- }
114
- else if (typeof cb === "function") {
115
- if (typeof optionsOrCb !== "object")
116
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
117
- this.send(command, optionsOrCb || {}, cb);
118
- }
119
- else {
120
- return this.send(command, optionsOrCb);
121
- }
122
- }
123
22
  }
23
+ createAggregatedClient(commands, ResourceGroupsTaggingAPI);
@@ -8,209 +8,59 @@ import { StartReportCreationCommandInput, StartReportCreationCommandOutput } fro
8
8
  import { TagResourcesCommandInput, TagResourcesCommandOutput } from "./commands/TagResourcesCommand";
9
9
  import { UntagResourcesCommandInput, UntagResourcesCommandOutput } from "./commands/UntagResourcesCommand";
10
10
  import { ResourceGroupsTaggingAPIClient } from "./ResourceGroupsTaggingAPIClient";
11
- /**
12
- * @public
13
- * <fullname>Resource Groups Tagging API</fullname>
14
- */
15
- export declare class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPIClient {
11
+ export interface ResourceGroupsTaggingAPI {
16
12
  /**
17
- * @public
18
- * <p>Describes the status of the <code>StartReportCreation</code> operation. </p>
19
- * <p>You can call this operation only from the organization's
20
- * management account and from the us-east-1 Region.</p>
13
+ * @see {@link DescribeReportCreationCommand}
21
14
  */
22
15
  describeReportCreation(args: DescribeReportCreationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReportCreationCommandOutput>;
23
16
  describeReportCreation(args: DescribeReportCreationCommandInput, cb: (err: any, data?: DescribeReportCreationCommandOutput) => void): void;
24
17
  describeReportCreation(args: DescribeReportCreationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReportCreationCommandOutput) => void): void;
25
18
  /**
26
- * @public
27
- * <p>Returns a table that shows counts of resources that are noncompliant with their tag
28
- * policies.</p>
29
- * <p>For more information on tag policies, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html">Tag Policies</a> in
30
- * the <i>Organizations User Guide.</i>
31
- * </p>
32
- * <p>You can call this operation only from the organization's
33
- * management account and from the us-east-1 Region.</p>
34
- * <p>This operation supports pagination, where the response can be sent in
35
- * multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
36
- * if there are additional results available to return. Repeat the query, passing the
37
- * <code>PaginationToken</code> response parameter value as an input to the next request until you
38
- * recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
39
- * there are no more results waiting to be returned.</p>
19
+ * @see {@link GetComplianceSummaryCommand}
40
20
  */
41
21
  getComplianceSummary(args: GetComplianceSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetComplianceSummaryCommandOutput>;
42
22
  getComplianceSummary(args: GetComplianceSummaryCommandInput, cb: (err: any, data?: GetComplianceSummaryCommandOutput) => void): void;
43
23
  getComplianceSummary(args: GetComplianceSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetComplianceSummaryCommandOutput) => void): void;
44
24
  /**
45
- * @public
46
- * <p>Returns all the tagged or previously tagged resources that are located in the
47
- * specified Amazon Web Services Region for the account.</p>
48
- * <p>Depending on what information you want returned, you can also specify the
49
- * following:</p>
50
- * <ul>
51
- * <li>
52
- * <p>
53
- * <i>Filters</i> that specify what tags and resource types you
54
- * want returned. The response includes all tags that are associated with the
55
- * requested resources.</p>
56
- * </li>
57
- * <li>
58
- * <p>Information about compliance with the account's effective tag policy. For more
59
- * information on tag policies, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html">Tag
60
- * Policies</a> in the <i>Organizations User Guide.</i>
61
- * </p>
62
- * </li>
63
- * </ul>
64
- * <p>This operation supports pagination, where the response can be sent in
65
- * multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
66
- * if there are additional results available to return. Repeat the query, passing the
67
- * <code>PaginationToken</code> response parameter value as an input to the next request until you
68
- * recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
69
- * there are no more results waiting to be returned.</p>
25
+ * @see {@link GetResourcesCommand}
70
26
  */
71
27
  getResources(args: GetResourcesCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcesCommandOutput>;
72
28
  getResources(args: GetResourcesCommandInput, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
73
29
  getResources(args: GetResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
74
30
  /**
75
- * @public
76
- * <p>Returns all tag keys currently in use in the specified Amazon Web Services Region for the calling
77
- * account.</p>
78
- * <p>This operation supports pagination, where the response can be sent in
79
- * multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
80
- * if there are additional results available to return. Repeat the query, passing the
81
- * <code>PaginationToken</code> response parameter value as an input to the next request until you
82
- * recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
83
- * there are no more results waiting to be returned.</p>
31
+ * @see {@link GetTagKeysCommand}
84
32
  */
85
33
  getTagKeys(args: GetTagKeysCommandInput, options?: __HttpHandlerOptions): Promise<GetTagKeysCommandOutput>;
86
34
  getTagKeys(args: GetTagKeysCommandInput, cb: (err: any, data?: GetTagKeysCommandOutput) => void): void;
87
35
  getTagKeys(args: GetTagKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTagKeysCommandOutput) => void): void;
88
36
  /**
89
- * @public
90
- * <p>Returns all tag values for the specified key that are used in the specified Amazon Web Services
91
- * Region for the calling account.</p>
92
- * <p>This operation supports pagination, where the response can be sent in
93
- * multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
94
- * if there are additional results available to return. Repeat the query, passing the
95
- * <code>PaginationToken</code> response parameter value as an input to the next request until you
96
- * recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
97
- * there are no more results waiting to be returned.</p>
37
+ * @see {@link GetTagValuesCommand}
98
38
  */
99
39
  getTagValues(args: GetTagValuesCommandInput, options?: __HttpHandlerOptions): Promise<GetTagValuesCommandOutput>;
100
40
  getTagValues(args: GetTagValuesCommandInput, cb: (err: any, data?: GetTagValuesCommandOutput) => void): void;
101
41
  getTagValues(args: GetTagValuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTagValuesCommandOutput) => void): void;
102
42
  /**
103
- * @public
104
- * <p>Generates a report that lists all tagged resources in the accounts across your
105
- * organization and tells whether each resource is compliant with the effective tag policy.
106
- * Compliance data is refreshed daily. The report is generated asynchronously.</p>
107
- * <p>The generated report is saved to the following location:</p>
108
- * <p>
109
- * <code>s3://example-bucket/AwsTagPolicies/o-exampleorgid/YYYY-MM-ddTHH:mm:ssZ/report.csv</code>
110
- * </p>
111
- * <p>You can call this operation only from the organization's
112
- * management account and from the us-east-1 Region.</p>
43
+ * @see {@link StartReportCreationCommand}
113
44
  */
114
45
  startReportCreation(args: StartReportCreationCommandInput, options?: __HttpHandlerOptions): Promise<StartReportCreationCommandOutput>;
115
46
  startReportCreation(args: StartReportCreationCommandInput, cb: (err: any, data?: StartReportCreationCommandOutput) => void): void;
116
47
  startReportCreation(args: StartReportCreationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartReportCreationCommandOutput) => void): void;
117
48
  /**
118
- * @public
119
- * <p>Applies one or more tags to the specified resources. Note the following:</p>
120
- * <ul>
121
- * <li>
122
- * <p>Not all resources can have tags. For a list of services with resources that
123
- * support tagging using this operation, see <a href="https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/supported-services.html">Services that support the
124
- * Resource Groups Tagging API</a>. If the resource doesn't yet support
125
- * this operation, the resource's service might support tagging using its own API
126
- * operations. For more information, refer to the documentation for that
127
- * service.</p>
128
- * </li>
129
- * <li>
130
- * <p>Each resource can have up to 50 tags. For other limits, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html#tag-conventions">Tag Naming and Usage Conventions</a> in the <i>Amazon Web Services General
131
- * Reference.</i>
132
- * </p>
133
- * </li>
134
- * <li>
135
- * <p>You can only tag resources that are located in the specified Amazon Web Services Region for
136
- * the Amazon Web Services account.</p>
137
- * </li>
138
- * <li>
139
- * <p>To add tags to a resource, you need the necessary permissions for the service
140
- * that the resource belongs to as well as permissions for adding tags. For more
141
- * information, see the documentation for each service.</p>
142
- * </li>
143
- * </ul>
144
- * <important>
145
- * <p>Do not store personally identifiable information (PII) or other confidential or
146
- * sensitive information in tags. We use tags to provide you with billing and
147
- * administration services. Tags are not intended to be used for private or sensitive
148
- * data.</p>
149
- * </important>
150
- * <p>
151
- * <b>Minimum permissions</b>
152
- * </p>
153
- * <p>In addition to the <code>tag:TagResources</code> permission required by this
154
- * operation, you must also have the tagging permission defined by the service that created
155
- * the resource. For example, to tag an Amazon EC2 instance using the <code>TagResources</code>
156
- * operation, you must have both of the following permissions:</p>
157
- * <ul>
158
- * <li>
159
- * <p>
160
- * <code>tag:TagResource</code>
161
- * </p>
162
- * </li>
163
- * <li>
164
- * <p>
165
- * <code>ec2:CreateTags</code>
166
- * </p>
167
- * </li>
168
- * </ul>
49
+ * @see {@link TagResourcesCommand}
169
50
  */
170
51
  tagResources(args: TagResourcesCommandInput, options?: __HttpHandlerOptions): Promise<TagResourcesCommandOutput>;
171
52
  tagResources(args: TagResourcesCommandInput, cb: (err: any, data?: TagResourcesCommandOutput) => void): void;
172
53
  tagResources(args: TagResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourcesCommandOutput) => void): void;
173
54
  /**
174
- * @public
175
- * <p>Removes the specified tags from the specified resources. When you specify a tag key,
176
- * the action removes both that key and its associated value. The operation succeeds even
177
- * if you attempt to remove tags from a resource that were already removed. Note the
178
- * following:</p>
179
- * <ul>
180
- * <li>
181
- * <p>To remove tags from a resource, you need the necessary permissions for the
182
- * service that the resource belongs to as well as permissions for removing tags.
183
- * For more information, see the documentation for the service whose resource you
184
- * want to untag.</p>
185
- * </li>
186
- * <li>
187
- * <p>You can only tag resources that are located in the specified Amazon Web Services Region for
188
- * the calling Amazon Web Services account.</p>
189
- * </li>
190
- * </ul>
191
- *
192
- * <p>
193
- * <b>Minimum permissions</b>
194
- * </p>
195
- * <p>In addition to the <code>tag:UntagResources</code> permission required by this
196
- * operation, you must also have the remove tags permission defined by the service that
197
- * created the resource. For example, to remove the tags from an Amazon EC2 instance using the
198
- * <code>UntagResources</code> operation, you must have both of the following
199
- * permissions:</p>
200
- * <ul>
201
- * <li>
202
- * <p>
203
- * <code>tag:UntagResource</code>
204
- * </p>
205
- * </li>
206
- * <li>
207
- * <p>
208
- * <code>ec2:DeleteTags</code>
209
- * </p>
210
- * </li>
211
- * </ul>
55
+ * @see {@link UntagResourcesCommand}
212
56
  */
213
57
  untagResources(args: UntagResourcesCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourcesCommandOutput>;
214
58
  untagResources(args: UntagResourcesCommandInput, cb: (err: any, data?: UntagResourcesCommandOutput) => void): void;
215
59
  untagResources(args: UntagResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourcesCommandOutput) => void): void;
216
60
  }
61
+ /**
62
+ * @public
63
+ * <fullname>Resource Groups Tagging API</fullname>
64
+ */
65
+ export declare class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPIClient implements ResourceGroupsTaggingAPI {
66
+ }
@@ -32,7 +32,7 @@ import {
32
32
  UntagResourcesCommandOutput,
33
33
  } from "./commands/UntagResourcesCommand";
34
34
  import { ResourceGroupsTaggingAPIClient } from "./ResourceGroupsTaggingAPIClient";
35
- export declare class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPIClient {
35
+ export interface ResourceGroupsTaggingAPI {
36
36
  describeReportCreation(
37
37
  args: DescribeReportCreationCommandInput,
38
38
  options?: __HttpHandlerOptions
@@ -138,3 +138,6 @@ export declare class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPICl
138
138
  cb: (err: any, data?: UntagResourcesCommandOutput) => void
139
139
  ): void;
140
140
  }
141
+ export declare class ResourceGroupsTaggingAPI
142
+ extends ResourceGroupsTaggingAPIClient
143
+ implements ResourceGroupsTaggingAPI {}
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.315.0",
4
+ "version": "3.319.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.315.0",
24
+ "@aws-sdk/client-sts": "3.319.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.315.0",
26
+ "@aws-sdk/credential-provider-node": "3.319.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -36,19 +36,19 @@
36
36
  "@aws-sdk/middleware-serde": "3.310.0",
37
37
  "@aws-sdk/middleware-signing": "3.310.0",
38
38
  "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.310.0",
39
+ "@aws-sdk/middleware-user-agent": "3.319.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.315.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.315.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.315.0",
51
- "@aws-sdk/util-endpoints": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
+ "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",