@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,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ResourceGroupsTaggingAPIServiceException as __BaseException } from "./ResourceGroupsTaggingAPIServiceException";
|
|
1
|
+
import { ErrorCode, GroupByAttribute, TargetIdType } from "./enums";
|
|
3
2
|
/**
|
|
4
3
|
* <p>Information that shows whether a resource is compliant with the effective tag policy,
|
|
5
4
|
* including details on any noncompliant tag keys.</p>
|
|
@@ -23,52 +22,6 @@ export interface ComplianceDetails {
|
|
|
23
22
|
*/
|
|
24
23
|
ComplianceStatus?: boolean | undefined;
|
|
25
24
|
}
|
|
26
|
-
/**
|
|
27
|
-
* <p>The target of the operation is currently being modified by a different request. Try
|
|
28
|
-
* again later.</p>
|
|
29
|
-
* @public
|
|
30
|
-
*/
|
|
31
|
-
export declare class ConcurrentModificationException extends __BaseException {
|
|
32
|
-
readonly name: "ConcurrentModificationException";
|
|
33
|
-
readonly $fault: "client";
|
|
34
|
-
Message?: string | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
|
-
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* <p>The request was denied because performing this operation violates a constraint. </p>
|
|
42
|
-
* <p>Some of the reasons in the following list might not apply to this specific
|
|
43
|
-
* operation.</p>
|
|
44
|
-
* <ul>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>You must meet the prerequisites for using tag policies. For information, see
|
|
47
|
-
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html">Prerequisites and Permissions for Using Tag Policies</a> in the
|
|
48
|
-
* <i>Organizations User Guide.</i>
|
|
49
|
-
* </p>
|
|
50
|
-
* </li>
|
|
51
|
-
* <li>
|
|
52
|
-
* <p>You must enable the tag policies service principal
|
|
53
|
-
* (<code>tagpolicies.tag.amazonaws.com</code>) to integrate with Organizations For
|
|
54
|
-
* information, see <a href="https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html">EnableAWSServiceAccess</a>.</p>
|
|
55
|
-
* </li>
|
|
56
|
-
* <li>
|
|
57
|
-
* <p>You must have a tag policy attached to the organization root, an OU, or an
|
|
58
|
-
* account.</p>
|
|
59
|
-
* </li>
|
|
60
|
-
* </ul>
|
|
61
|
-
* @public
|
|
62
|
-
*/
|
|
63
|
-
export declare class ConstraintViolationException extends __BaseException {
|
|
64
|
-
readonly name: "ConstraintViolationException";
|
|
65
|
-
readonly $fault: "client";
|
|
66
|
-
Message?: string | undefined;
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
|
-
constructor(opts: __ExceptionOptionType<ConstraintViolationException, __BaseException>);
|
|
71
|
-
}
|
|
72
25
|
/**
|
|
73
26
|
* @public
|
|
74
27
|
*/
|
|
@@ -121,78 +74,6 @@ export interface DescribeReportCreationOutput {
|
|
|
121
74
|
*/
|
|
122
75
|
ErrorMessage?: string | undefined;
|
|
123
76
|
}
|
|
124
|
-
/**
|
|
125
|
-
* <p>The request processing failed because of an unknown error, exception, or failure. You
|
|
126
|
-
* can retry the request.</p>
|
|
127
|
-
* @public
|
|
128
|
-
*/
|
|
129
|
-
export declare class InternalServiceException extends __BaseException {
|
|
130
|
-
readonly name: "InternalServiceException";
|
|
131
|
-
readonly $fault: "server";
|
|
132
|
-
Message?: string | undefined;
|
|
133
|
-
/**
|
|
134
|
-
* @internal
|
|
135
|
-
*/
|
|
136
|
-
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* <p>This error indicates one of the following:</p>
|
|
140
|
-
* <ul>
|
|
141
|
-
* <li>
|
|
142
|
-
* <p>A parameter is missing.</p>
|
|
143
|
-
* </li>
|
|
144
|
-
* <li>
|
|
145
|
-
* <p>A malformed string was supplied for the request parameter.</p>
|
|
146
|
-
* </li>
|
|
147
|
-
* <li>
|
|
148
|
-
* <p>An out-of-range value was supplied for the request parameter.</p>
|
|
149
|
-
* </li>
|
|
150
|
-
* <li>
|
|
151
|
-
* <p>The target ID is invalid, unsupported, or doesn't exist.</p>
|
|
152
|
-
* </li>
|
|
153
|
-
* <li>
|
|
154
|
-
* <p>You can't access the Amazon S3 bucket for report storage. For more information, see
|
|
155
|
-
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report">Additional Requirements for Organization-wide Tag Compliance
|
|
156
|
-
* Reports</a> in the <i>Organizations User Guide.</i>
|
|
157
|
-
* </p>
|
|
158
|
-
* </li>
|
|
159
|
-
* </ul>
|
|
160
|
-
* @public
|
|
161
|
-
*/
|
|
162
|
-
export declare class InvalidParameterException extends __BaseException {
|
|
163
|
-
readonly name: "InvalidParameterException";
|
|
164
|
-
readonly $fault: "client";
|
|
165
|
-
Message?: string | undefined;
|
|
166
|
-
/**
|
|
167
|
-
* @internal
|
|
168
|
-
*/
|
|
169
|
-
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
170
|
-
}
|
|
171
|
-
/**
|
|
172
|
-
* <p>The request was denied to limit the frequency of submitted requests.</p>
|
|
173
|
-
* @public
|
|
174
|
-
*/
|
|
175
|
-
export declare class ThrottledException extends __BaseException {
|
|
176
|
-
readonly name: "ThrottledException";
|
|
177
|
-
readonly $fault: "client";
|
|
178
|
-
Message?: string | undefined;
|
|
179
|
-
/**
|
|
180
|
-
* @internal
|
|
181
|
-
*/
|
|
182
|
-
constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
|
|
183
|
-
}
|
|
184
|
-
/**
|
|
185
|
-
* @public
|
|
186
|
-
* @enum
|
|
187
|
-
*/
|
|
188
|
-
export declare const ErrorCode: {
|
|
189
|
-
readonly INTERNAL_SERVICE_EXCEPTION: "InternalServiceException";
|
|
190
|
-
readonly INVALID_PARAMETER_EXCEPTION: "InvalidParameterException";
|
|
191
|
-
};
|
|
192
|
-
/**
|
|
193
|
-
* @public
|
|
194
|
-
*/
|
|
195
|
-
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
|
|
196
77
|
/**
|
|
197
78
|
* <p>Information about the errors that are returned for each failed resource. This
|
|
198
79
|
* information can include <code>InternalServiceException</code> and
|
|
@@ -247,19 +128,6 @@ export interface FailureInfo {
|
|
|
247
128
|
*/
|
|
248
129
|
ErrorMessage?: string | undefined;
|
|
249
130
|
}
|
|
250
|
-
/**
|
|
251
|
-
* @public
|
|
252
|
-
* @enum
|
|
253
|
-
*/
|
|
254
|
-
export declare const GroupByAttribute: {
|
|
255
|
-
readonly REGION: "REGION";
|
|
256
|
-
readonly RESOURCE_TYPE: "RESOURCE_TYPE";
|
|
257
|
-
readonly TARGET_ID: "TARGET_ID";
|
|
258
|
-
};
|
|
259
|
-
/**
|
|
260
|
-
* @public
|
|
261
|
-
*/
|
|
262
|
-
export type GroupByAttribute = (typeof GroupByAttribute)[keyof typeof GroupByAttribute];
|
|
263
131
|
/**
|
|
264
132
|
* @public
|
|
265
133
|
*/
|
|
@@ -303,6 +171,14 @@ export interface GetComplianceSummaryInput {
|
|
|
303
171
|
* (ARNs) and Amazon Web Services Service Namespaces</a>.</p>
|
|
304
172
|
* </li>
|
|
305
173
|
* </ul>
|
|
174
|
+
* <note>
|
|
175
|
+
* <p>For the list of services whose resources you can tag using the Resource Groups Tagging API, see
|
|
176
|
+
* <a href="https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/supported-services.html">Services that support the Resource Groups Tagging API</a>. If an Amazon Web Services
|
|
177
|
+
* service isn't listed on that page, you might still be able to tag that service's
|
|
178
|
+
* resources by using that service's native tagging operations instead of using
|
|
179
|
+
* Resource Groups Tagging API operations. All tagged resources, whether the tagging used the Resource Groups Tagging API
|
|
180
|
+
* or not, are returned by the <code>Get*</code> operation.</p>
|
|
181
|
+
* </note>
|
|
306
182
|
* <p>You can specify multiple resource types by using a comma separated array. The array
|
|
307
183
|
* can include up to 100 items. Note that the length constraint requirement applies to each
|
|
308
184
|
* resource type filter. </p>
|
|
@@ -338,19 +214,6 @@ export interface GetComplianceSummaryInput {
|
|
|
338
214
|
*/
|
|
339
215
|
PaginationToken?: string | undefined;
|
|
340
216
|
}
|
|
341
|
-
/**
|
|
342
|
-
* @public
|
|
343
|
-
* @enum
|
|
344
|
-
*/
|
|
345
|
-
export declare const TargetIdType: {
|
|
346
|
-
readonly ACCOUNT: "ACCOUNT";
|
|
347
|
-
readonly OU: "OU";
|
|
348
|
-
readonly ROOT: "ROOT";
|
|
349
|
-
};
|
|
350
|
-
/**
|
|
351
|
-
* @public
|
|
352
|
-
*/
|
|
353
|
-
export type TargetIdType = (typeof TargetIdType)[keyof typeof TargetIdType];
|
|
354
217
|
/**
|
|
355
218
|
* <p>A count of noncompliant resources.</p>
|
|
356
219
|
* @public
|
|
@@ -440,13 +303,17 @@ export interface GetResourcesInput {
|
|
|
440
303
|
* resources that have tags with the specified keys and, if included, the specified values.
|
|
441
304
|
* Each <code>TagFilter</code> must contain a key with values optional. A request can
|
|
442
305
|
* include up to 50 keys, and each key can include up to 20 values. </p>
|
|
306
|
+
* <p>You can't specify both this parameter and the <code>ResourceArnList</code> parameter
|
|
307
|
+
* in the same request. If you do, you get an <code>Invalid Parameter</code>
|
|
308
|
+
* exception.</p>
|
|
443
309
|
* <p>Note the following when deciding how to use TagFilters:</p>
|
|
444
310
|
* <ul>
|
|
445
311
|
* <li>
|
|
446
312
|
* <p>If you <i>don't</i> specify a <code>TagFilter</code>, the
|
|
447
313
|
* response includes all resources that are currently tagged or ever had a tag.
|
|
448
|
-
* Resources that
|
|
449
|
-
* this: <code>"Tags":
|
|
314
|
+
* Resources that were previously tagged, <i>but do not currently</i>
|
|
315
|
+
* have tags, are shown with an empty tag set, like this: <code>"Tags":
|
|
316
|
+
* []</code>.</p>
|
|
450
317
|
* </li>
|
|
451
318
|
* <li>
|
|
452
319
|
* <p>If you specify more than one filter in a single request, the response returns
|
|
@@ -460,9 +327,9 @@ export interface GetResourcesInput {
|
|
|
460
327
|
* <li>
|
|
461
328
|
* <p>If you don't specify a value for a key, the response returns all resources
|
|
462
329
|
* that are tagged with that key, with any or no value.</p>
|
|
463
|
-
* <p>For example, for the following filters: <code>filter1= \{
|
|
464
|
-
* <code>filter2=\{
|
|
465
|
-
* \{
|
|
330
|
+
* <p>For example, for the following filters: <code>filter1= \{key1,\{value1\}\}</code>,
|
|
331
|
+
* <code>filter2=\{key2,\{value2,value3,value4\}\}</code>, <code>filter3=
|
|
332
|
+
* \{key3\}</code>:</p>
|
|
466
333
|
* <ul>
|
|
467
334
|
* <li>
|
|
468
335
|
* <p>
|
|
@@ -526,12 +393,21 @@ export interface GetResourcesInput {
|
|
|
526
393
|
/**
|
|
527
394
|
* <p>Specifies the resource types that you want included in the response. The format of
|
|
528
395
|
* each resource type is <code>service[:resourceType]</code>. For example, specifying a
|
|
529
|
-
*
|
|
530
|
-
*
|
|
531
|
-
*
|
|
396
|
+
* service of <code>ec2</code> returns all Amazon EC2 resources (which includes EC2 instances).
|
|
397
|
+
* Specifying a resource type of <code>ec2:instance</code> returns only EC2 instances. </p>
|
|
398
|
+
* <p>You can't specify both this parameter and the <code>ResourceArnList</code> parameter
|
|
399
|
+
* in the same request. If you do, you get an <code>Invalid Parameter</code>
|
|
400
|
+
* exception.</p>
|
|
532
401
|
* <p>The string for each service name and resource type is the same as that embedded in a
|
|
533
|
-
* resource's Amazon Resource Name (ARN)
|
|
534
|
-
*
|
|
402
|
+
* resource's Amazon Resource Name (ARN).</p>
|
|
403
|
+
* <note>
|
|
404
|
+
* <p>For the list of services whose resources you can tag using the Resource Groups Tagging API, see
|
|
405
|
+
* <a href="https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/supported-services.html">Services that support the Resource Groups Tagging API</a>. If an Amazon Web Services
|
|
406
|
+
* service isn't listed on that page, you might still be able to tag that service's
|
|
407
|
+
* resources by using that service's native tagging operations instead of using
|
|
408
|
+
* Resource Groups Tagging API operations. All tagged resources, whether the tagging used the Resource Groups Tagging API
|
|
409
|
+
* or not, are returned by the <code>Get*</code> operation.</p>
|
|
410
|
+
* </note>
|
|
535
411
|
* <p>You can specify multiple resource types by using an array. The array can include up to
|
|
536
412
|
* 100 items. Note that the length constraint requirement applies to each resource type
|
|
537
413
|
* filter. For example, the following string would limit the response to only Amazon EC2
|
|
@@ -559,10 +435,15 @@ export interface GetResourcesInput {
|
|
|
559
435
|
*/
|
|
560
436
|
ExcludeCompliantResources?: boolean | undefined;
|
|
561
437
|
/**
|
|
562
|
-
* <p>Specifies a list of ARNs of resources for which you want to retrieve tag data
|
|
563
|
-
*
|
|
438
|
+
* <p>Specifies a list of ARNs of resources for which you want to retrieve tag data.</p>
|
|
439
|
+
* <p>You can't specify both this parameter and the <code>ResourceTypeFilters</code>
|
|
440
|
+
* parameter in the same request. If you do, you get an <code>Invalid Parameter</code>
|
|
441
|
+
* exception.</p>
|
|
442
|
+
* <p>You can't specify both this parameter and the <code>TagFilters</code> parameter in the
|
|
443
|
+
* same request. If you do, you get an <code>Invalid Parameter</code> exception.</p>
|
|
444
|
+
* <p>You can't specify both this parameter and any of the pagination parameters
|
|
564
445
|
* (<code>ResourcesPerPage</code>, <code>TagsPerPage</code>,
|
|
565
|
-
* <code>PaginationToken</code>) in the same request. If you
|
|
446
|
+
* <code>PaginationToken</code>) in the same request. If you do, you get an
|
|
566
447
|
* <code>Invalid Parameter</code> exception.</p>
|
|
567
448
|
* <p>If a resource specified by this parameter doesn't exist, it doesn't generate an error;
|
|
568
449
|
* it simply isn't included in the response.</p>
|
|
@@ -635,20 +516,6 @@ export interface GetResourcesOutput {
|
|
|
635
516
|
*/
|
|
636
517
|
ResourceTagMappingList?: ResourceTagMapping[] | undefined;
|
|
637
518
|
}
|
|
638
|
-
/**
|
|
639
|
-
* <p>A <code>PaginationToken</code> is valid for a maximum of 15 minutes. Your request was
|
|
640
|
-
* denied because the specified <code>PaginationToken</code> has expired.</p>
|
|
641
|
-
* @public
|
|
642
|
-
*/
|
|
643
|
-
export declare class PaginationTokenExpiredException extends __BaseException {
|
|
644
|
-
readonly name: "PaginationTokenExpiredException";
|
|
645
|
-
readonly $fault: "client";
|
|
646
|
-
Message?: string | undefined;
|
|
647
|
-
/**
|
|
648
|
-
* @internal
|
|
649
|
-
*/
|
|
650
|
-
constructor(opts: __ExceptionOptionType<PaginationTokenExpiredException, __BaseException>);
|
|
651
|
-
}
|
|
652
519
|
/**
|
|
653
520
|
* @public
|
|
654
521
|
*/
|
|
@@ -714,6 +581,63 @@ export interface GetTagValuesOutput {
|
|
|
714
581
|
*/
|
|
715
582
|
TagValues?: string[] | undefined;
|
|
716
583
|
}
|
|
584
|
+
/**
|
|
585
|
+
* @public
|
|
586
|
+
*/
|
|
587
|
+
export interface ListRequiredTagsInput {
|
|
588
|
+
/**
|
|
589
|
+
* <p>A token for requesting another page of required tags if the <code>NextToken</code> response element
|
|
590
|
+
* indicates that more required tags are available. Use the value of the returned <code>NextToken</code>
|
|
591
|
+
* element in your request until the token comes back as null. Pass null if this is the
|
|
592
|
+
* first call.</p>
|
|
593
|
+
* @public
|
|
594
|
+
*/
|
|
595
|
+
NextToken?: string | undefined;
|
|
596
|
+
/**
|
|
597
|
+
* <p>The maximum number of required tags.</p>
|
|
598
|
+
* @public
|
|
599
|
+
*/
|
|
600
|
+
MaxResults?: number | undefined;
|
|
601
|
+
}
|
|
602
|
+
/**
|
|
603
|
+
* <p>Information that describes the required tags for a given resource type.</p>
|
|
604
|
+
* @public
|
|
605
|
+
*/
|
|
606
|
+
export interface RequiredTag {
|
|
607
|
+
/**
|
|
608
|
+
* <p>Describes the resource type for the required tag keys.</p>
|
|
609
|
+
* @public
|
|
610
|
+
*/
|
|
611
|
+
ResourceType?: string | undefined;
|
|
612
|
+
/**
|
|
613
|
+
* <p>Describes the CloudFormation resource type assigned the required tag keys.</p>
|
|
614
|
+
* @public
|
|
615
|
+
*/
|
|
616
|
+
CloudFormationResourceTypes?: string[] | undefined;
|
|
617
|
+
/**
|
|
618
|
+
* <p>These tag keys are marked as <code>required</code> in the <code>report_required_tag_for</code> block of the effective tag policy.</p>
|
|
619
|
+
* @public
|
|
620
|
+
*/
|
|
621
|
+
ReportingTagKeys?: string[] | undefined;
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* @public
|
|
625
|
+
*/
|
|
626
|
+
export interface ListRequiredTagsOutput {
|
|
627
|
+
/**
|
|
628
|
+
* <p>The required tags.</p>
|
|
629
|
+
* @public
|
|
630
|
+
*/
|
|
631
|
+
RequiredTags?: RequiredTag[] | undefined;
|
|
632
|
+
/**
|
|
633
|
+
* <p>A token for requesting another page of required tags if the <code>NextToken</code> response element
|
|
634
|
+
* indicates that more required tags are available. Use the value of the returned <code>NextToken</code>
|
|
635
|
+
* element in your request until the token comes back as null. Pass null if this is the
|
|
636
|
+
* first call.</p>
|
|
637
|
+
* @public
|
|
638
|
+
*/
|
|
639
|
+
NextToken?: string | undefined;
|
|
640
|
+
}
|
|
717
641
|
/**
|
|
718
642
|
* @public
|
|
719
643
|
*/
|
|
@@ -721,10 +645,10 @@ export interface StartReportCreationInput {
|
|
|
721
645
|
/**
|
|
722
646
|
* <p>The name of the Amazon S3 bucket where the report will be stored; for example:</p>
|
|
723
647
|
* <p>
|
|
724
|
-
* <code>
|
|
648
|
+
* <code>amzn-s3-demo-bucket</code>
|
|
725
649
|
* </p>
|
|
726
650
|
* <p>For more information on S3 bucket requirements, including an example bucket policy,
|
|
727
|
-
* see the example S3 bucket policy on this page.</p>
|
|
651
|
+
* see the example Amazon S3 bucket policy on this page.</p>
|
|
728
652
|
* @public
|
|
729
653
|
*/
|
|
730
654
|
S3Bucket: string | undefined;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListRequiredTagsCommandInput, ListRequiredTagsCommandOutput } from "../commands/ListRequiredTagsCommand";
|
|
3
|
+
import { ResourceGroupsTaggingAPIPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListRequiredTags: (config: ResourceGroupsTaggingAPIPaginationConfiguration, input: ListRequiredTagsCommandInput, ...rest: any[]) => Paginator<ListRequiredTagsCommandOutput>;
|
|
@@ -15,7 +15,10 @@ export declare var GetTagValuesInput: StaticStructureSchema;
|
|
|
15
15
|
export declare var GetTagValuesOutput: StaticStructureSchema;
|
|
16
16
|
export declare var InternalServiceException: StaticErrorSchema;
|
|
17
17
|
export declare var InvalidParameterException: StaticErrorSchema;
|
|
18
|
+
export declare var ListRequiredTagsInput: StaticStructureSchema;
|
|
19
|
+
export declare var ListRequiredTagsOutput: StaticStructureSchema;
|
|
18
20
|
export declare var PaginationTokenExpiredException: StaticErrorSchema;
|
|
21
|
+
export declare var RequiredTag: StaticStructureSchema;
|
|
19
22
|
export declare var ResourceTagMapping: StaticStructureSchema;
|
|
20
23
|
export declare var StartReportCreationInput: StaticStructureSchema;
|
|
21
24
|
export declare var StartReportCreationOutput: StaticStructureSchema;
|
|
@@ -29,8 +32,11 @@ export declare var UntagResourcesInput: StaticStructureSchema;
|
|
|
29
32
|
export declare var UntagResourcesOutput: StaticStructureSchema;
|
|
30
33
|
export declare var __Unit: "unit";
|
|
31
34
|
export declare var ResourceGroupsTaggingAPIServiceException: StaticErrorSchema;
|
|
35
|
+
export declare var CloudFormationResourceTypes: number;
|
|
32
36
|
export declare var GroupBy: number;
|
|
33
37
|
export declare var RegionFilterList: number;
|
|
38
|
+
export declare var ReportingTagKeys: number;
|
|
39
|
+
export declare var RequiredTagsForListRequiredTags: StaticListSchema;
|
|
34
40
|
export declare var ResourceARNListForGet: number;
|
|
35
41
|
export declare var ResourceARNListForTagUntag: number;
|
|
36
42
|
export declare var ResourceTagMappingList: StaticListSchema;
|
|
@@ -51,6 +57,7 @@ export declare var GetComplianceSummary: StaticOperationSchema;
|
|
|
51
57
|
export declare var GetResources: StaticOperationSchema;
|
|
52
58
|
export declare var GetTagKeys: StaticOperationSchema;
|
|
53
59
|
export declare var GetTagValues: StaticOperationSchema;
|
|
60
|
+
export declare var ListRequiredTags: StaticOperationSchema;
|
|
54
61
|
export declare var StartReportCreation: StaticOperationSchema;
|
|
55
62
|
export declare var TagResources: StaticOperationSchema;
|
|
56
63
|
export declare var UntagResources: StaticOperationSchema;
|
|
@@ -19,6 +19,10 @@ import {
|
|
|
19
19
|
GetTagValuesCommandInput,
|
|
20
20
|
GetTagValuesCommandOutput,
|
|
21
21
|
} from "./commands/GetTagValuesCommand";
|
|
22
|
+
import {
|
|
23
|
+
ListRequiredTagsCommandInput,
|
|
24
|
+
ListRequiredTagsCommandOutput,
|
|
25
|
+
} from "./commands/ListRequiredTagsCommand";
|
|
22
26
|
import {
|
|
23
27
|
StartReportCreationCommandInput,
|
|
24
28
|
StartReportCreationCommandOutput,
|
|
@@ -102,6 +106,20 @@ export interface ResourceGroupsTaggingAPI {
|
|
|
102
106
|
options: __HttpHandlerOptions,
|
|
103
107
|
cb: (err: any, data?: GetTagValuesCommandOutput) => void
|
|
104
108
|
): void;
|
|
109
|
+
listRequiredTags(): Promise<ListRequiredTagsCommandOutput>;
|
|
110
|
+
listRequiredTags(
|
|
111
|
+
args: ListRequiredTagsCommandInput,
|
|
112
|
+
options?: __HttpHandlerOptions
|
|
113
|
+
): Promise<ListRequiredTagsCommandOutput>;
|
|
114
|
+
listRequiredTags(
|
|
115
|
+
args: ListRequiredTagsCommandInput,
|
|
116
|
+
cb: (err: any, data?: ListRequiredTagsCommandOutput) => void
|
|
117
|
+
): void;
|
|
118
|
+
listRequiredTags(
|
|
119
|
+
args: ListRequiredTagsCommandInput,
|
|
120
|
+
options: __HttpHandlerOptions,
|
|
121
|
+
cb: (err: any, data?: ListRequiredTagsCommandOutput) => void
|
|
122
|
+
): void;
|
|
105
123
|
startReportCreation(
|
|
106
124
|
args: StartReportCreationCommandInput,
|
|
107
125
|
options?: __HttpHandlerOptions
|
|
@@ -68,6 +68,10 @@ import {
|
|
|
68
68
|
GetTagValuesCommandInput,
|
|
69
69
|
GetTagValuesCommandOutput,
|
|
70
70
|
} from "./commands/GetTagValuesCommand";
|
|
71
|
+
import {
|
|
72
|
+
ListRequiredTagsCommandInput,
|
|
73
|
+
ListRequiredTagsCommandOutput,
|
|
74
|
+
} from "./commands/ListRequiredTagsCommand";
|
|
71
75
|
import {
|
|
72
76
|
StartReportCreationCommandInput,
|
|
73
77
|
StartReportCreationCommandOutput,
|
|
@@ -93,6 +97,7 @@ export type ServiceInputTypes =
|
|
|
93
97
|
| GetResourcesCommandInput
|
|
94
98
|
| GetTagKeysCommandInput
|
|
95
99
|
| GetTagValuesCommandInput
|
|
100
|
+
| ListRequiredTagsCommandInput
|
|
96
101
|
| StartReportCreationCommandInput
|
|
97
102
|
| TagResourcesCommandInput
|
|
98
103
|
| UntagResourcesCommandInput;
|
|
@@ -102,6 +107,7 @@ export type ServiceOutputTypes =
|
|
|
102
107
|
| GetResourcesCommandOutput
|
|
103
108
|
| GetTagKeysCommandOutput
|
|
104
109
|
| GetTagValuesCommandOutput
|
|
110
|
+
| ListRequiredTagsCommandOutput
|
|
105
111
|
| StartReportCreationCommandOutput
|
|
106
112
|
| TagResourcesCommandOutput
|
|
107
113
|
| UntagResourcesCommandOutput;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ListRequiredTagsInput,
|
|
5
|
+
ListRequiredTagsOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ResourceGroupsTaggingAPIClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../ResourceGroupsTaggingAPIClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListRequiredTagsCommandInput extends ListRequiredTagsInput {}
|
|
15
|
+
export interface ListRequiredTagsCommandOutput
|
|
16
|
+
extends ListRequiredTagsOutput,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ListRequiredTagsCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListRequiredTagsCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ListRequiredTagsCommandInput,
|
|
23
|
+
ListRequiredTagsCommandOutput,
|
|
24
|
+
ResourceGroupsTaggingAPIClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [ListRequiredTagsCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ListRequiredTagsCommandInput,
|
|
32
|
+
ListRequiredTagsCommandOutput,
|
|
33
|
+
ResourceGroupsTaggingAPIClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class ListRequiredTagsCommand extends ListRequiredTagsCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: ListRequiredTagsInput;
|
|
43
|
+
output: ListRequiredTagsOutput;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: ListRequiredTagsCommandInput;
|
|
47
|
+
output: ListRequiredTagsCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -3,6 +3,7 @@ export * from "./GetComplianceSummaryCommand";
|
|
|
3
3
|
export * from "./GetResourcesCommand";
|
|
4
4
|
export * from "./GetTagKeysCommand";
|
|
5
5
|
export * from "./GetTagValuesCommand";
|
|
6
|
+
export * from "./ListRequiredTagsCommand";
|
|
6
7
|
export * from "./StartReportCreationCommand";
|
|
7
8
|
export * from "./TagResourcesCommand";
|
|
8
9
|
export * from "./UntagResourcesCommand";
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { ResourceGroupsTaggingAPIExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { ResourceGroupsTaggingAPIServiceException } from "./models/ResourceGroupsTaggingAPIServiceException";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const ErrorCode: {
|
|
2
|
+
readonly INTERNAL_SERVICE_EXCEPTION: "InternalServiceException";
|
|
3
|
+
readonly INVALID_PARAMETER_EXCEPTION: "InvalidParameterException";
|
|
4
|
+
};
|
|
5
|
+
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
|
|
6
|
+
export declare const GroupByAttribute: {
|
|
7
|
+
readonly REGION: "REGION";
|
|
8
|
+
readonly RESOURCE_TYPE: "RESOURCE_TYPE";
|
|
9
|
+
readonly TARGET_ID: "TARGET_ID";
|
|
10
|
+
};
|
|
11
|
+
export type GroupByAttribute =
|
|
12
|
+
(typeof GroupByAttribute)[keyof typeof GroupByAttribute];
|
|
13
|
+
export declare const TargetIdType: {
|
|
14
|
+
readonly ACCOUNT: "ACCOUNT";
|
|
15
|
+
readonly OU: "OU";
|
|
16
|
+
readonly ROOT: "ROOT";
|
|
17
|
+
};
|
|
18
|
+
export type TargetIdType = (typeof TargetIdType)[keyof typeof TargetIdType];
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ResourceGroupsTaggingAPIServiceException as __BaseException } from "./ResourceGroupsTaggingAPIServiceException";
|
|
3
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
4
|
+
readonly name: "ConcurrentModificationException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
Message?: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<
|
|
9
|
+
ConcurrentModificationException,
|
|
10
|
+
__BaseException
|
|
11
|
+
>
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
export declare class ConstraintViolationException extends __BaseException {
|
|
15
|
+
readonly name: "ConstraintViolationException";
|
|
16
|
+
readonly $fault: "client";
|
|
17
|
+
Message?: string | undefined;
|
|
18
|
+
constructor(
|
|
19
|
+
opts: __ExceptionOptionType<ConstraintViolationException, __BaseException>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
export declare class InternalServiceException extends __BaseException {
|
|
23
|
+
readonly name: "InternalServiceException";
|
|
24
|
+
readonly $fault: "server";
|
|
25
|
+
Message?: string | undefined;
|
|
26
|
+
constructor(
|
|
27
|
+
opts: __ExceptionOptionType<InternalServiceException, __BaseException>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
31
|
+
readonly name: "InvalidParameterException";
|
|
32
|
+
readonly $fault: "client";
|
|
33
|
+
Message?: string | undefined;
|
|
34
|
+
constructor(
|
|
35
|
+
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
export declare class ThrottledException extends __BaseException {
|
|
39
|
+
readonly name: "ThrottledException";
|
|
40
|
+
readonly $fault: "client";
|
|
41
|
+
Message?: string | undefined;
|
|
42
|
+
constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
|
|
43
|
+
}
|
|
44
|
+
export declare class PaginationTokenExpiredException extends __BaseException {
|
|
45
|
+
readonly name: "PaginationTokenExpiredException";
|
|
46
|
+
readonly $fault: "client";
|
|
47
|
+
Message?: string | undefined;
|
|
48
|
+
constructor(
|
|
49
|
+
opts: __ExceptionOptionType<
|
|
50
|
+
PaginationTokenExpiredException,
|
|
51
|
+
__BaseException
|
|
52
|
+
>
|
|
53
|
+
);
|
|
54
|
+
}
|