@aws-sdk/client-resource-groups-tagging-api 3.933.0 → 3.935.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/README.md +18 -7
- package/dist-cjs/index.js +117 -24
- package/dist-es/ResourceGroupsTaggingAPI.js +2 -0
- package/dist-es/commands/ListRequiredTagsCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +14 -0
- package/dist-es/models/errors.js +85 -0
- package/dist-es/models/models_0.js +1 -99
- package/dist-es/pagination/ListRequiredTagsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +88 -11
- package/dist-types/ResourceGroupsTaggingAPI.d.ts +8 -0
- package/dist-types/ResourceGroupsTaggingAPIClient.d.ts +3 -2
- package/dist-types/commands/DescribeReportCreationCommand.d.ts +14 -12
- package/dist-types/commands/GetComplianceSummaryCommand.d.ts +14 -12
- package/dist-types/commands/GetResourcesCommand.d.ts +21 -11
- package/dist-types/commands/GetTagKeysCommand.d.ts +14 -10
- package/dist-types/commands/GetTagValuesCommand.d.ts +14 -10
- package/dist-types/commands/ListRequiredTagsCommand.d.ts +124 -0
- package/dist-types/commands/StartReportCreationCommand.d.ts +26 -15
- package/dist-types/commands/TagResourcesCommand.d.ts +31 -9
- package/dist-types/commands/UntagResourcesCommand.d.ts +20 -9
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +38 -0
- package/dist-types/models/errors.d.ts +124 -0
- package/dist-types/models/models_0.d.ts +99 -175
- package/dist-types/pagination/ListRequiredTagsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +7 -0
- package/dist-types/ts3.4/ResourceGroupsTaggingAPI.d.ts +18 -0
- package/dist-types/ts3.4/ResourceGroupsTaggingAPIClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListRequiredTagsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +18 -0
- package/dist-types/ts3.4/models/errors.d.ts +54 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -72
- package/dist-types/ts3.4/pagination/ListRequiredTagsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const _CD = "ComplianceDetails";
|
|
2
|
+
const _CFRT = "CloudFormationResourceTypes";
|
|
2
3
|
const _CME = "ConcurrentModificationException";
|
|
3
4
|
const _CS = "ComplianceStatus";
|
|
4
5
|
const _CVE = "ConstraintViolationException";
|
|
@@ -28,11 +29,15 @@ const _IPE = "InvalidParameterException";
|
|
|
28
29
|
const _ISE = "InternalServiceException";
|
|
29
30
|
const _K = "Key";
|
|
30
31
|
const _KWNV = "KeysWithNoncompliantValues";
|
|
32
|
+
const _LRT = "ListRequiredTags";
|
|
33
|
+
const _LRTI = "ListRequiredTagsInput";
|
|
34
|
+
const _LRTO = "ListRequiredTagsOutput";
|
|
31
35
|
const _LU = "LastUpdated";
|
|
32
36
|
const _M = "Message";
|
|
33
37
|
const _MR = "MaxResults";
|
|
34
38
|
const _NCR = "NonCompliantResources";
|
|
35
39
|
const _NK = "NoncompliantKeys";
|
|
40
|
+
const _NT = "NextToken";
|
|
36
41
|
const _PT = "PaginationToken";
|
|
37
42
|
const _PTEE = "PaginationTokenExpiredException";
|
|
38
43
|
const _R = "Region";
|
|
@@ -40,10 +45,14 @@ const _RARN = "ResourceARN";
|
|
|
40
45
|
const _RARNL = "ResourceARNList";
|
|
41
46
|
const _RF = "RegionFilters";
|
|
42
47
|
const _RPP = "ResourcesPerPage";
|
|
43
|
-
const _RT = "
|
|
48
|
+
const _RT = "RequiredTags";
|
|
44
49
|
const _RTF = "ResourceTypeFilters";
|
|
50
|
+
const _RTFLRT = "RequiredTagsForListRequiredTags";
|
|
51
|
+
const _RTK = "ReportingTagKeys";
|
|
45
52
|
const _RTM = "ResourceTagMapping";
|
|
46
53
|
const _RTML = "ResourceTagMappingList";
|
|
54
|
+
const _RTe = "RequiredTag";
|
|
55
|
+
const _RTes = "ResourceType";
|
|
47
56
|
const _S = "Status";
|
|
48
57
|
const _SB = "S3Bucket";
|
|
49
58
|
const _SC = "StatusCode";
|
|
@@ -78,11 +87,12 @@ const _V = "Value";
|
|
|
78
87
|
const _Va = "Values";
|
|
79
88
|
const _c = "client";
|
|
80
89
|
const _e = "error";
|
|
90
|
+
const _h = "http";
|
|
81
91
|
const _s = "server";
|
|
82
92
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.resourcegroupstaggingapi";
|
|
83
93
|
const n0 = "com.amazonaws.resourcegroupstaggingapi";
|
|
84
94
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
85
|
-
import { ConcurrentModificationException as __ConcurrentModificationException, ConstraintViolationException as __ConstraintViolationException, InternalServiceException as __InternalServiceException, InvalidParameterException as __InvalidParameterException, PaginationTokenExpiredException as __PaginationTokenExpiredException, ThrottledException as __ThrottledException, } from "../models/
|
|
95
|
+
import { ConcurrentModificationException as __ConcurrentModificationException, ConstraintViolationException as __ConstraintViolationException, InternalServiceException as __InternalServiceException, InvalidParameterException as __InvalidParameterException, PaginationTokenExpiredException as __PaginationTokenExpiredException, ThrottledException as __ThrottledException, } from "../models/errors";
|
|
86
96
|
import { ResourceGroupsTaggingAPIServiceException as __ResourceGroupsTaggingAPIServiceException } from "../models/ResourceGroupsTaggingAPIServiceException";
|
|
87
97
|
export var ComplianceDetails = [3, n0, _CD, 0, [_NK, _KWNV, _CS], [64 | 0, 64 | 0, 2]];
|
|
88
98
|
export var ConcurrentModificationException = [
|
|
@@ -161,6 +171,15 @@ export var InvalidParameterException = [
|
|
|
161
171
|
[0],
|
|
162
172
|
];
|
|
163
173
|
TypeRegistry.for(n0).registerError(InvalidParameterException, __InvalidParameterException);
|
|
174
|
+
export var ListRequiredTagsInput = [3, n0, _LRTI, 0, [_NT, _MR], [0, 1]];
|
|
175
|
+
export var ListRequiredTagsOutput = [
|
|
176
|
+
3,
|
|
177
|
+
n0,
|
|
178
|
+
_LRTO,
|
|
179
|
+
0,
|
|
180
|
+
[_RT, _NT],
|
|
181
|
+
[() => RequiredTagsForListRequiredTags, 0],
|
|
182
|
+
];
|
|
164
183
|
export var PaginationTokenExpiredException = [
|
|
165
184
|
-3,
|
|
166
185
|
n0,
|
|
@@ -172,6 +191,7 @@ export var PaginationTokenExpiredException = [
|
|
|
172
191
|
[0],
|
|
173
192
|
];
|
|
174
193
|
TypeRegistry.for(n0).registerError(PaginationTokenExpiredException, __PaginationTokenExpiredException);
|
|
194
|
+
export var RequiredTag = [3, n0, _RTe, 0, [_RTes, _CFRT, _RTK], [0, 64 | 0, 64 | 0]];
|
|
175
195
|
export var ResourceTagMapping = [
|
|
176
196
|
3,
|
|
177
197
|
n0,
|
|
@@ -182,7 +202,7 @@ export var ResourceTagMapping = [
|
|
|
182
202
|
];
|
|
183
203
|
export var StartReportCreationInput = [3, n0, _SRCI, 0, [_SB], [0]];
|
|
184
204
|
export var StartReportCreationOutput = [3, n0, _SRCO, 0, [], []];
|
|
185
|
-
export var Summary = [3, n0, _Su, 0, [_LU, _TI, _TIT, _R,
|
|
205
|
+
export var Summary = [3, n0, _Su, 0, [_LU, _TI, _TIT, _R, _RTes, _NCR], [0, 0, 0, 0, 0, 1]];
|
|
186
206
|
export var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
|
|
187
207
|
export var TagFilter = [3, n0, _TFa, 0, [_K, _Va], [0, 64 | 0]];
|
|
188
208
|
export var TagResourcesInput = [3, n0, _TRI, 0, [_RARNL, _T], [64 | 0, 128 | 0]];
|
|
@@ -210,8 +230,11 @@ export var ResourceGroupsTaggingAPIServiceException = [
|
|
|
210
230
|
[],
|
|
211
231
|
];
|
|
212
232
|
TypeRegistry.for(_sm).registerError(ResourceGroupsTaggingAPIServiceException, __ResourceGroupsTaggingAPIServiceException);
|
|
233
|
+
export var CloudFormationResourceTypes = 64 | 0;
|
|
213
234
|
export var GroupBy = 64 | 0;
|
|
214
235
|
export var RegionFilterList = 64 | 0;
|
|
236
|
+
export var ReportingTagKeys = 64 | 0;
|
|
237
|
+
export var RequiredTagsForListRequiredTags = [1, n0, _RTFLRT, 0, () => RequiredTag];
|
|
215
238
|
export var ResourceARNListForGet = 64 | 0;
|
|
216
239
|
export var ResourceARNListForTagUntag = 64 | 0;
|
|
217
240
|
export var ResourceTagMappingList = [1, n0, _RTML, 0, () => ResourceTagMapping];
|
|
@@ -231,7 +254,9 @@ export var DescribeReportCreation = [
|
|
|
231
254
|
9,
|
|
232
255
|
n0,
|
|
233
256
|
_DRC,
|
|
234
|
-
|
|
257
|
+
{
|
|
258
|
+
[_h]: ["POST", "/DescribeReportCreation", 200],
|
|
259
|
+
},
|
|
235
260
|
() => DescribeReportCreationInput,
|
|
236
261
|
() => DescribeReportCreationOutput,
|
|
237
262
|
];
|
|
@@ -239,27 +264,79 @@ export var GetComplianceSummary = [
|
|
|
239
264
|
9,
|
|
240
265
|
n0,
|
|
241
266
|
_GCS,
|
|
242
|
-
|
|
267
|
+
{
|
|
268
|
+
[_h]: ["POST", "/GetComplianceSummary", 200],
|
|
269
|
+
},
|
|
243
270
|
() => GetComplianceSummaryInput,
|
|
244
271
|
() => GetComplianceSummaryOutput,
|
|
245
272
|
];
|
|
246
|
-
export var GetResources = [
|
|
247
|
-
|
|
248
|
-
|
|
273
|
+
export var GetResources = [
|
|
274
|
+
9,
|
|
275
|
+
n0,
|
|
276
|
+
_GR,
|
|
277
|
+
{
|
|
278
|
+
[_h]: ["POST", "/GetResources", 200],
|
|
279
|
+
},
|
|
280
|
+
() => GetResourcesInput,
|
|
281
|
+
() => GetResourcesOutput,
|
|
282
|
+
];
|
|
283
|
+
export var GetTagKeys = [
|
|
284
|
+
9,
|
|
285
|
+
n0,
|
|
286
|
+
_GTK,
|
|
287
|
+
{
|
|
288
|
+
[_h]: ["POST", "/GetTagKeys", 200],
|
|
289
|
+
},
|
|
290
|
+
() => GetTagKeysInput,
|
|
291
|
+
() => GetTagKeysOutput,
|
|
292
|
+
];
|
|
293
|
+
export var GetTagValues = [
|
|
294
|
+
9,
|
|
295
|
+
n0,
|
|
296
|
+
_GTV,
|
|
297
|
+
{
|
|
298
|
+
[_h]: ["POST", "/GetTagValues", 200],
|
|
299
|
+
},
|
|
300
|
+
() => GetTagValuesInput,
|
|
301
|
+
() => GetTagValuesOutput,
|
|
302
|
+
];
|
|
303
|
+
export var ListRequiredTags = [
|
|
304
|
+
9,
|
|
305
|
+
n0,
|
|
306
|
+
_LRT,
|
|
307
|
+
{
|
|
308
|
+
[_h]: ["POST", "/ListRequiredTags", 200],
|
|
309
|
+
},
|
|
310
|
+
() => ListRequiredTagsInput,
|
|
311
|
+
() => ListRequiredTagsOutput,
|
|
312
|
+
];
|
|
249
313
|
export var StartReportCreation = [
|
|
250
314
|
9,
|
|
251
315
|
n0,
|
|
252
316
|
_SRC,
|
|
253
|
-
|
|
317
|
+
{
|
|
318
|
+
[_h]: ["POST", "/StartReportCreation", 200],
|
|
319
|
+
},
|
|
254
320
|
() => StartReportCreationInput,
|
|
255
321
|
() => StartReportCreationOutput,
|
|
256
322
|
];
|
|
257
|
-
export var TagResources = [
|
|
323
|
+
export var TagResources = [
|
|
324
|
+
9,
|
|
325
|
+
n0,
|
|
326
|
+
_TR,
|
|
327
|
+
{
|
|
328
|
+
[_h]: ["POST", "/TagResources", 200],
|
|
329
|
+
},
|
|
330
|
+
() => TagResourcesInput,
|
|
331
|
+
() => TagResourcesOutput,
|
|
332
|
+
];
|
|
258
333
|
export var UntagResources = [
|
|
259
334
|
9,
|
|
260
335
|
n0,
|
|
261
336
|
_UR,
|
|
262
|
-
|
|
337
|
+
{
|
|
338
|
+
[_h]: ["POST", "/UntagResources", 200],
|
|
339
|
+
},
|
|
263
340
|
() => UntagResourcesInput,
|
|
264
341
|
() => UntagResourcesOutput,
|
|
265
342
|
];
|
|
@@ -4,6 +4,7 @@ import { GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput } f
|
|
|
4
4
|
import { GetResourcesCommandInput, GetResourcesCommandOutput } from "./commands/GetResourcesCommand";
|
|
5
5
|
import { GetTagKeysCommandInput, GetTagKeysCommandOutput } from "./commands/GetTagKeysCommand";
|
|
6
6
|
import { GetTagValuesCommandInput, GetTagValuesCommandOutput } from "./commands/GetTagValuesCommand";
|
|
7
|
+
import { ListRequiredTagsCommandInput, ListRequiredTagsCommandOutput } from "./commands/ListRequiredTagsCommand";
|
|
7
8
|
import { StartReportCreationCommandInput, StartReportCreationCommandOutput } from "./commands/StartReportCreationCommand";
|
|
8
9
|
import { TagResourcesCommandInput, TagResourcesCommandOutput } from "./commands/TagResourcesCommand";
|
|
9
10
|
import { UntagResourcesCommandInput, UntagResourcesCommandOutput } from "./commands/UntagResourcesCommand";
|
|
@@ -43,6 +44,13 @@ export interface ResourceGroupsTaggingAPI {
|
|
|
43
44
|
getTagValues(args: GetTagValuesCommandInput, options?: __HttpHandlerOptions): Promise<GetTagValuesCommandOutput>;
|
|
44
45
|
getTagValues(args: GetTagValuesCommandInput, cb: (err: any, data?: GetTagValuesCommandOutput) => void): void;
|
|
45
46
|
getTagValues(args: GetTagValuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTagValuesCommandOutput) => void): void;
|
|
47
|
+
/**
|
|
48
|
+
* @see {@link ListRequiredTagsCommand}
|
|
49
|
+
*/
|
|
50
|
+
listRequiredTags(): Promise<ListRequiredTagsCommandOutput>;
|
|
51
|
+
listRequiredTags(args: ListRequiredTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListRequiredTagsCommandOutput>;
|
|
52
|
+
listRequiredTags(args: ListRequiredTagsCommandInput, cb: (err: any, data?: ListRequiredTagsCommandOutput) => void): void;
|
|
53
|
+
listRequiredTags(args: ListRequiredTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRequiredTagsCommandOutput) => void): void;
|
|
46
54
|
/**
|
|
47
55
|
* @see {@link StartReportCreationCommand}
|
|
48
56
|
*/
|
|
@@ -12,6 +12,7 @@ import { GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput } f
|
|
|
12
12
|
import { GetResourcesCommandInput, GetResourcesCommandOutput } from "./commands/GetResourcesCommand";
|
|
13
13
|
import { GetTagKeysCommandInput, GetTagKeysCommandOutput } from "./commands/GetTagKeysCommand";
|
|
14
14
|
import { GetTagValuesCommandInput, GetTagValuesCommandOutput } from "./commands/GetTagValuesCommand";
|
|
15
|
+
import { ListRequiredTagsCommandInput, ListRequiredTagsCommandOutput } from "./commands/ListRequiredTagsCommand";
|
|
15
16
|
import { StartReportCreationCommandInput, StartReportCreationCommandOutput } from "./commands/StartReportCreationCommand";
|
|
16
17
|
import { TagResourcesCommandInput, TagResourcesCommandOutput } from "./commands/TagResourcesCommand";
|
|
17
18
|
import { UntagResourcesCommandInput, UntagResourcesCommandOutput } from "./commands/UntagResourcesCommand";
|
|
@@ -21,11 +22,11 @@ export { __Client };
|
|
|
21
22
|
/**
|
|
22
23
|
* @public
|
|
23
24
|
*/
|
|
24
|
-
export type ServiceInputTypes = DescribeReportCreationCommandInput | GetComplianceSummaryCommandInput | GetResourcesCommandInput | GetTagKeysCommandInput | GetTagValuesCommandInput | StartReportCreationCommandInput | TagResourcesCommandInput | UntagResourcesCommandInput;
|
|
25
|
+
export type ServiceInputTypes = DescribeReportCreationCommandInput | GetComplianceSummaryCommandInput | GetResourcesCommandInput | GetTagKeysCommandInput | GetTagValuesCommandInput | ListRequiredTagsCommandInput | StartReportCreationCommandInput | TagResourcesCommandInput | UntagResourcesCommandInput;
|
|
25
26
|
/**
|
|
26
27
|
* @public
|
|
27
28
|
*/
|
|
28
|
-
export type ServiceOutputTypes = DescribeReportCreationCommandOutput | GetComplianceSummaryCommandOutput | GetResourcesCommandOutput | GetTagKeysCommandOutput | GetTagValuesCommandOutput | StartReportCreationCommandOutput | TagResourcesCommandOutput | UntagResourcesCommandOutput;
|
|
29
|
+
export type ServiceOutputTypes = DescribeReportCreationCommandOutput | GetComplianceSummaryCommandOutput | GetResourcesCommandOutput | GetTagKeysCommandOutput | GetTagValuesCommandOutput | ListRequiredTagsCommandOutput | StartReportCreationCommandOutput | TagResourcesCommandOutput | UntagResourcesCommandOutput;
|
|
29
30
|
/**
|
|
30
31
|
* @public
|
|
31
32
|
*/
|
|
@@ -57,15 +57,13 @@ declare const DescribeReportCreationCommand_base: {
|
|
|
57
57
|
* @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for ResourceGroupsTaggingAPIClient's `config` shape.
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link ConstraintViolationException} (client fault)
|
|
60
|
-
* <p>The request
|
|
60
|
+
* <p>The request failed because performing the operation would violate a constraint.</p>
|
|
61
61
|
* <p>Some of the reasons in the following list might not apply to this specific
|
|
62
62
|
* operation.</p>
|
|
63
63
|
* <ul>
|
|
64
64
|
* <li>
|
|
65
65
|
* <p>You must meet the prerequisites for using tag policies. For information, see
|
|
66
|
-
* <a href="https://docs.aws.amazon.com/
|
|
67
|
-
* <i>Organizations User Guide.</i>
|
|
68
|
-
* </p>
|
|
66
|
+
* <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tag-policies-orgs.html#tag-policies-prereqs">Prerequisites and permissions</a> in the <i>Tagging Amazon Web Services resources and Tag Editor</i> user guide. </p>
|
|
69
67
|
* </li>
|
|
70
68
|
* <li>
|
|
71
69
|
* <p>You must enable the tag policies service principal
|
|
@@ -83,30 +81,34 @@ declare const DescribeReportCreationCommand_base: {
|
|
|
83
81
|
* can retry the request.</p>
|
|
84
82
|
*
|
|
85
83
|
* @throws {@link InvalidParameterException} (client fault)
|
|
86
|
-
* <p>
|
|
84
|
+
* <p>The request failed because of one of the following reasons:</p>
|
|
87
85
|
* <ul>
|
|
88
86
|
* <li>
|
|
89
|
-
* <p>A parameter is missing.</p>
|
|
87
|
+
* <p>A required parameter is missing.</p>
|
|
90
88
|
* </li>
|
|
91
89
|
* <li>
|
|
92
|
-
* <p>A
|
|
90
|
+
* <p>A provided string parameter is malformed.</p>
|
|
93
91
|
* </li>
|
|
94
92
|
* <li>
|
|
95
|
-
* <p>An
|
|
93
|
+
* <p>An provided parameter value is out of range.</p>
|
|
96
94
|
* </li>
|
|
97
95
|
* <li>
|
|
98
96
|
* <p>The target ID is invalid, unsupported, or doesn't exist.</p>
|
|
99
97
|
* </li>
|
|
100
98
|
* <li>
|
|
101
99
|
* <p>You can't access the Amazon S3 bucket for report storage. For more information, see
|
|
102
|
-
* <a href="https://docs.aws.amazon.com/
|
|
103
|
-
*
|
|
104
|
-
*
|
|
100
|
+
* <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tag-policies-orgs.html#bucket-policy">Amazon S3 bucket policy for report storage</a> in the <i>Tagging Amazon Web Services resources and Tag Editor</i> user guide. </p>
|
|
101
|
+
* </li>
|
|
102
|
+
* <li>
|
|
103
|
+
* <p>The partition specified in an ARN parameter in the request doesn't match the
|
|
104
|
+
* partition where you invoked the operation. The partition is specified by the
|
|
105
|
+
* second field of the ARN.</p>
|
|
105
106
|
* </li>
|
|
106
107
|
* </ul>
|
|
107
108
|
*
|
|
108
109
|
* @throws {@link ThrottledException} (client fault)
|
|
109
|
-
* <p>The request
|
|
110
|
+
* <p>The request failed because it exceeded the allowed frequency of submitted
|
|
111
|
+
* requests.</p>
|
|
110
112
|
*
|
|
111
113
|
* @throws {@link ResourceGroupsTaggingAPIServiceException}
|
|
112
114
|
* <p>Base exception class for all service exceptions from ResourceGroupsTaggingAPI service.</p>
|
|
@@ -92,15 +92,13 @@ declare const GetComplianceSummaryCommand_base: {
|
|
|
92
92
|
* @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for ResourceGroupsTaggingAPIClient's `config` shape.
|
|
93
93
|
*
|
|
94
94
|
* @throws {@link ConstraintViolationException} (client fault)
|
|
95
|
-
* <p>The request
|
|
95
|
+
* <p>The request failed because performing the operation would violate a constraint.</p>
|
|
96
96
|
* <p>Some of the reasons in the following list might not apply to this specific
|
|
97
97
|
* operation.</p>
|
|
98
98
|
* <ul>
|
|
99
99
|
* <li>
|
|
100
100
|
* <p>You must meet the prerequisites for using tag policies. For information, see
|
|
101
|
-
* <a href="https://docs.aws.amazon.com/
|
|
102
|
-
* <i>Organizations User Guide.</i>
|
|
103
|
-
* </p>
|
|
101
|
+
* <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tag-policies-orgs.html#tag-policies-prereqs">Prerequisites and permissions</a> in the <i>Tagging Amazon Web Services resources and Tag Editor</i> user guide. </p>
|
|
104
102
|
* </li>
|
|
105
103
|
* <li>
|
|
106
104
|
* <p>You must enable the tag policies service principal
|
|
@@ -118,30 +116,34 @@ declare const GetComplianceSummaryCommand_base: {
|
|
|
118
116
|
* can retry the request.</p>
|
|
119
117
|
*
|
|
120
118
|
* @throws {@link InvalidParameterException} (client fault)
|
|
121
|
-
* <p>
|
|
119
|
+
* <p>The request failed because of one of the following reasons:</p>
|
|
122
120
|
* <ul>
|
|
123
121
|
* <li>
|
|
124
|
-
* <p>A parameter is missing.</p>
|
|
122
|
+
* <p>A required parameter is missing.</p>
|
|
125
123
|
* </li>
|
|
126
124
|
* <li>
|
|
127
|
-
* <p>A
|
|
125
|
+
* <p>A provided string parameter is malformed.</p>
|
|
128
126
|
* </li>
|
|
129
127
|
* <li>
|
|
130
|
-
* <p>An
|
|
128
|
+
* <p>An provided parameter value is out of range.</p>
|
|
131
129
|
* </li>
|
|
132
130
|
* <li>
|
|
133
131
|
* <p>The target ID is invalid, unsupported, or doesn't exist.</p>
|
|
134
132
|
* </li>
|
|
135
133
|
* <li>
|
|
136
134
|
* <p>You can't access the Amazon S3 bucket for report storage. For more information, see
|
|
137
|
-
* <a href="https://docs.aws.amazon.com/
|
|
138
|
-
*
|
|
139
|
-
*
|
|
135
|
+
* <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tag-policies-orgs.html#bucket-policy">Amazon S3 bucket policy for report storage</a> in the <i>Tagging Amazon Web Services resources and Tag Editor</i> user guide. </p>
|
|
136
|
+
* </li>
|
|
137
|
+
* <li>
|
|
138
|
+
* <p>The partition specified in an ARN parameter in the request doesn't match the
|
|
139
|
+
* partition where you invoked the operation. The partition is specified by the
|
|
140
|
+
* second field of the ARN.</p>
|
|
140
141
|
* </li>
|
|
141
142
|
* </ul>
|
|
142
143
|
*
|
|
143
144
|
* @throws {@link ThrottledException} (client fault)
|
|
144
|
-
* <p>The request
|
|
145
|
+
* <p>The request failed because it exceeded the allowed frequency of submitted
|
|
146
|
+
* requests.</p>
|
|
145
147
|
*
|
|
146
148
|
* @throws {@link ResourceGroupsTaggingAPIServiceException}
|
|
147
149
|
* <p>Base exception class for all service exceptions from ResourceGroupsTaggingAPI service.</p>
|
|
@@ -28,7 +28,7 @@ declare const GetResourcesCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Returns all the tagged or previously tagged resources that are located in the
|
|
31
|
-
* specified Amazon Web Services Region for the account
|
|
31
|
+
* specified Amazon Web Services Region for the account. </p>
|
|
32
32
|
* <p>Depending on what information you want returned, you can also specify the
|
|
33
33
|
* following:</p>
|
|
34
34
|
* <ul>
|
|
@@ -51,6 +51,12 @@ declare const GetResourcesCommand_base: {
|
|
|
51
51
|
* <code>PaginationToken</code> response parameter value as an input to the next request until you
|
|
52
52
|
* recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
|
|
53
53
|
* there are no more results waiting to be returned.</p>
|
|
54
|
+
* <note>
|
|
55
|
+
* <p>
|
|
56
|
+
* <code>GetResources</code> does not return untagged resources. </p>
|
|
57
|
+
* <p>To find untagged resources in your account, use Amazon Web Services Resource Explorer with a
|
|
58
|
+
* query that uses <code>tag:none</code>. For more information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html"> Search query syntax reference for Resource Explorer</a>. </p>
|
|
59
|
+
* </note>
|
|
54
60
|
* @example
|
|
55
61
|
* Use a bare-bones client and the command you need to make an API call.
|
|
56
62
|
* ```javascript
|
|
@@ -119,34 +125,38 @@ declare const GetResourcesCommand_base: {
|
|
|
119
125
|
* can retry the request.</p>
|
|
120
126
|
*
|
|
121
127
|
* @throws {@link InvalidParameterException} (client fault)
|
|
122
|
-
* <p>
|
|
128
|
+
* <p>The request failed because of one of the following reasons:</p>
|
|
123
129
|
* <ul>
|
|
124
130
|
* <li>
|
|
125
|
-
* <p>A parameter is missing.</p>
|
|
131
|
+
* <p>A required parameter is missing.</p>
|
|
126
132
|
* </li>
|
|
127
133
|
* <li>
|
|
128
|
-
* <p>A
|
|
134
|
+
* <p>A provided string parameter is malformed.</p>
|
|
129
135
|
* </li>
|
|
130
136
|
* <li>
|
|
131
|
-
* <p>An
|
|
137
|
+
* <p>An provided parameter value is out of range.</p>
|
|
132
138
|
* </li>
|
|
133
139
|
* <li>
|
|
134
140
|
* <p>The target ID is invalid, unsupported, or doesn't exist.</p>
|
|
135
141
|
* </li>
|
|
136
142
|
* <li>
|
|
137
143
|
* <p>You can't access the Amazon S3 bucket for report storage. For more information, see
|
|
138
|
-
* <a href="https://docs.aws.amazon.com/
|
|
139
|
-
*
|
|
140
|
-
*
|
|
144
|
+
* <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tag-policies-orgs.html#bucket-policy">Amazon S3 bucket policy for report storage</a> in the <i>Tagging Amazon Web Services resources and Tag Editor</i> user guide. </p>
|
|
145
|
+
* </li>
|
|
146
|
+
* <li>
|
|
147
|
+
* <p>The partition specified in an ARN parameter in the request doesn't match the
|
|
148
|
+
* partition where you invoked the operation. The partition is specified by the
|
|
149
|
+
* second field of the ARN.</p>
|
|
141
150
|
* </li>
|
|
142
151
|
* </ul>
|
|
143
152
|
*
|
|
144
153
|
* @throws {@link PaginationTokenExpiredException} (client fault)
|
|
145
|
-
* <p>
|
|
146
|
-
*
|
|
154
|
+
* <p>The request failed because the specified <code>PaginationToken</code> has expired. A
|
|
155
|
+
* <code>PaginationToken</code> is valid for a maximum of 15 minutes.</p>
|
|
147
156
|
*
|
|
148
157
|
* @throws {@link ThrottledException} (client fault)
|
|
149
|
-
* <p>The request
|
|
158
|
+
* <p>The request failed because it exceeded the allowed frequency of submitted
|
|
159
|
+
* requests.</p>
|
|
150
160
|
*
|
|
151
161
|
* @throws {@link ResourceGroupsTaggingAPIServiceException}
|
|
152
162
|
* <p>Base exception class for all service exceptions from ResourceGroupsTaggingAPI service.</p>
|
|
@@ -68,34 +68,38 @@ declare const GetTagKeysCommand_base: {
|
|
|
68
68
|
* can retry the request.</p>
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link InvalidParameterException} (client fault)
|
|
71
|
-
* <p>
|
|
71
|
+
* <p>The request failed because of one of the following reasons:</p>
|
|
72
72
|
* <ul>
|
|
73
73
|
* <li>
|
|
74
|
-
* <p>A parameter is missing.</p>
|
|
74
|
+
* <p>A required parameter is missing.</p>
|
|
75
75
|
* </li>
|
|
76
76
|
* <li>
|
|
77
|
-
* <p>A
|
|
77
|
+
* <p>A provided string parameter is malformed.</p>
|
|
78
78
|
* </li>
|
|
79
79
|
* <li>
|
|
80
|
-
* <p>An
|
|
80
|
+
* <p>An provided parameter value is out of range.</p>
|
|
81
81
|
* </li>
|
|
82
82
|
* <li>
|
|
83
83
|
* <p>The target ID is invalid, unsupported, or doesn't exist.</p>
|
|
84
84
|
* </li>
|
|
85
85
|
* <li>
|
|
86
86
|
* <p>You can't access the Amazon S3 bucket for report storage. For more information, see
|
|
87
|
-
* <a href="https://docs.aws.amazon.com/
|
|
88
|
-
*
|
|
89
|
-
*
|
|
87
|
+
* <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tag-policies-orgs.html#bucket-policy">Amazon S3 bucket policy for report storage</a> in the <i>Tagging Amazon Web Services resources and Tag Editor</i> user guide. </p>
|
|
88
|
+
* </li>
|
|
89
|
+
* <li>
|
|
90
|
+
* <p>The partition specified in an ARN parameter in the request doesn't match the
|
|
91
|
+
* partition where you invoked the operation. The partition is specified by the
|
|
92
|
+
* second field of the ARN.</p>
|
|
90
93
|
* </li>
|
|
91
94
|
* </ul>
|
|
92
95
|
*
|
|
93
96
|
* @throws {@link PaginationTokenExpiredException} (client fault)
|
|
94
|
-
* <p>
|
|
95
|
-
*
|
|
97
|
+
* <p>The request failed because the specified <code>PaginationToken</code> has expired. A
|
|
98
|
+
* <code>PaginationToken</code> is valid for a maximum of 15 minutes.</p>
|
|
96
99
|
*
|
|
97
100
|
* @throws {@link ThrottledException} (client fault)
|
|
98
|
-
* <p>The request
|
|
101
|
+
* <p>The request failed because it exceeded the allowed frequency of submitted
|
|
102
|
+
* requests.</p>
|
|
99
103
|
*
|
|
100
104
|
* @throws {@link ResourceGroupsTaggingAPIServiceException}
|
|
101
105
|
* <p>Base exception class for all service exceptions from ResourceGroupsTaggingAPI service.</p>
|
|
@@ -69,34 +69,38 @@ declare const GetTagValuesCommand_base: {
|
|
|
69
69
|
* can retry the request.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link InvalidParameterException} (client fault)
|
|
72
|
-
* <p>
|
|
72
|
+
* <p>The request failed because of one of the following reasons:</p>
|
|
73
73
|
* <ul>
|
|
74
74
|
* <li>
|
|
75
|
-
* <p>A parameter is missing.</p>
|
|
75
|
+
* <p>A required parameter is missing.</p>
|
|
76
76
|
* </li>
|
|
77
77
|
* <li>
|
|
78
|
-
* <p>A
|
|
78
|
+
* <p>A provided string parameter is malformed.</p>
|
|
79
79
|
* </li>
|
|
80
80
|
* <li>
|
|
81
|
-
* <p>An
|
|
81
|
+
* <p>An provided parameter value is out of range.</p>
|
|
82
82
|
* </li>
|
|
83
83
|
* <li>
|
|
84
84
|
* <p>The target ID is invalid, unsupported, or doesn't exist.</p>
|
|
85
85
|
* </li>
|
|
86
86
|
* <li>
|
|
87
87
|
* <p>You can't access the Amazon S3 bucket for report storage. For more information, see
|
|
88
|
-
* <a href="https://docs.aws.amazon.com/
|
|
89
|
-
*
|
|
90
|
-
*
|
|
88
|
+
* <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tag-policies-orgs.html#bucket-policy">Amazon S3 bucket policy for report storage</a> in the <i>Tagging Amazon Web Services resources and Tag Editor</i> user guide. </p>
|
|
89
|
+
* </li>
|
|
90
|
+
* <li>
|
|
91
|
+
* <p>The partition specified in an ARN parameter in the request doesn't match the
|
|
92
|
+
* partition where you invoked the operation. The partition is specified by the
|
|
93
|
+
* second field of the ARN.</p>
|
|
91
94
|
* </li>
|
|
92
95
|
* </ul>
|
|
93
96
|
*
|
|
94
97
|
* @throws {@link PaginationTokenExpiredException} (client fault)
|
|
95
|
-
* <p>
|
|
96
|
-
*
|
|
98
|
+
* <p>The request failed because the specified <code>PaginationToken</code> has expired. A
|
|
99
|
+
* <code>PaginationToken</code> is valid for a maximum of 15 minutes.</p>
|
|
97
100
|
*
|
|
98
101
|
* @throws {@link ThrottledException} (client fault)
|
|
99
|
-
* <p>The request
|
|
102
|
+
* <p>The request failed because it exceeded the allowed frequency of submitted
|
|
103
|
+
* requests.</p>
|
|
100
104
|
*
|
|
101
105
|
* @throws {@link ResourceGroupsTaggingAPIServiceException}
|
|
102
106
|
* <p>Base exception class for all service exceptions from ResourceGroupsTaggingAPI service.</p>
|