@aws-sdk/client-resource-groups-tagging-api 3.933.0 → 3.934.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 +102 -10
- 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/pagination/ListRequiredTagsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +87 -10
- 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/models/models_0.d.ts +116 -31
- 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/models/models_0.d.ts +13 -0
- 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 +5 -5
|
@@ -24,8 +24,8 @@ export interface ComplianceDetails {
|
|
|
24
24
|
ComplianceStatus?: boolean | undefined;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
* <p>The target of the operation is currently being modified by
|
|
28
|
-
* again later.</p>
|
|
27
|
+
* <p>The request failed because the target of the operation is currently being modified by
|
|
28
|
+
* a different request. Try again later.</p>
|
|
29
29
|
* @public
|
|
30
30
|
*/
|
|
31
31
|
export declare class ConcurrentModificationException extends __BaseException {
|
|
@@ -38,15 +38,13 @@ export declare class ConcurrentModificationException extends __BaseException {
|
|
|
38
38
|
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
* <p>The request
|
|
41
|
+
* <p>The request failed because performing the operation would violate a constraint.</p>
|
|
42
42
|
* <p>Some of the reasons in the following list might not apply to this specific
|
|
43
43
|
* operation.</p>
|
|
44
44
|
* <ul>
|
|
45
45
|
* <li>
|
|
46
46
|
* <p>You must meet the prerequisites for using tag policies. For information, see
|
|
47
|
-
* <a href="https://docs.aws.amazon.com/
|
|
48
|
-
* <i>Organizations User Guide.</i>
|
|
49
|
-
* </p>
|
|
47
|
+
* <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>
|
|
50
48
|
* </li>
|
|
51
49
|
* <li>
|
|
52
50
|
* <p>You must enable the tag policies service principal
|
|
@@ -136,25 +134,28 @@ export declare class InternalServiceException extends __BaseException {
|
|
|
136
134
|
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
137
135
|
}
|
|
138
136
|
/**
|
|
139
|
-
* <p>
|
|
137
|
+
* <p>The request failed because of one of the following reasons:</p>
|
|
140
138
|
* <ul>
|
|
141
139
|
* <li>
|
|
142
|
-
* <p>A parameter is missing.</p>
|
|
140
|
+
* <p>A required parameter is missing.</p>
|
|
143
141
|
* </li>
|
|
144
142
|
* <li>
|
|
145
|
-
* <p>A
|
|
143
|
+
* <p>A provided string parameter is malformed.</p>
|
|
146
144
|
* </li>
|
|
147
145
|
* <li>
|
|
148
|
-
* <p>An
|
|
146
|
+
* <p>An provided parameter value is out of range.</p>
|
|
149
147
|
* </li>
|
|
150
148
|
* <li>
|
|
151
149
|
* <p>The target ID is invalid, unsupported, or doesn't exist.</p>
|
|
152
150
|
* </li>
|
|
153
151
|
* <li>
|
|
154
152
|
* <p>You can't access the Amazon S3 bucket for report storage. For more information, see
|
|
155
|
-
* <a href="https://docs.aws.amazon.com/
|
|
156
|
-
*
|
|
157
|
-
*
|
|
153
|
+
* <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>
|
|
154
|
+
* </li>
|
|
155
|
+
* <li>
|
|
156
|
+
* <p>The partition specified in an ARN parameter in the request doesn't match the
|
|
157
|
+
* partition where you invoked the operation. The partition is specified by the
|
|
158
|
+
* second field of the ARN.</p>
|
|
158
159
|
* </li>
|
|
159
160
|
* </ul>
|
|
160
161
|
* @public
|
|
@@ -169,7 +170,8 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
169
170
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
170
171
|
}
|
|
171
172
|
/**
|
|
172
|
-
* <p>The request
|
|
173
|
+
* <p>The request failed because it exceeded the allowed frequency of submitted
|
|
174
|
+
* requests.</p>
|
|
173
175
|
* @public
|
|
174
176
|
*/
|
|
175
177
|
export declare class ThrottledException extends __BaseException {
|
|
@@ -303,6 +305,14 @@ export interface GetComplianceSummaryInput {
|
|
|
303
305
|
* (ARNs) and Amazon Web Services Service Namespaces</a>.</p>
|
|
304
306
|
* </li>
|
|
305
307
|
* </ul>
|
|
308
|
+
* <note>
|
|
309
|
+
* <p>For the list of services whose resources you can tag using the Resource Groups Tagging API, see
|
|
310
|
+
* <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
|
|
311
|
+
* service isn't listed on that page, you might still be able to tag that service's
|
|
312
|
+
* resources by using that service's native tagging operations instead of using
|
|
313
|
+
* Resource Groups Tagging API operations. All tagged resources, whether the tagging used the Resource Groups Tagging API
|
|
314
|
+
* or not, are returned by the <code>Get*</code> operation.</p>
|
|
315
|
+
* </note>
|
|
306
316
|
* <p>You can specify multiple resource types by using a comma separated array. The array
|
|
307
317
|
* can include up to 100 items. Note that the length constraint requirement applies to each
|
|
308
318
|
* resource type filter. </p>
|
|
@@ -440,13 +450,17 @@ export interface GetResourcesInput {
|
|
|
440
450
|
* resources that have tags with the specified keys and, if included, the specified values.
|
|
441
451
|
* Each <code>TagFilter</code> must contain a key with values optional. A request can
|
|
442
452
|
* include up to 50 keys, and each key can include up to 20 values. </p>
|
|
453
|
+
* <p>You can't specify both this parameter and the <code>ResourceArnList</code> parameter
|
|
454
|
+
* in the same request. If you do, you get an <code>Invalid Parameter</code>
|
|
455
|
+
* exception.</p>
|
|
443
456
|
* <p>Note the following when deciding how to use TagFilters:</p>
|
|
444
457
|
* <ul>
|
|
445
458
|
* <li>
|
|
446
459
|
* <p>If you <i>don't</i> specify a <code>TagFilter</code>, the
|
|
447
460
|
* response includes all resources that are currently tagged or ever had a tag.
|
|
448
|
-
* Resources that
|
|
449
|
-
* this: <code>"Tags":
|
|
461
|
+
* Resources that were previously tagged, <i>but do not currently</i>
|
|
462
|
+
* have tags, are shown with an empty tag set, like this: <code>"Tags":
|
|
463
|
+
* []</code>.</p>
|
|
450
464
|
* </li>
|
|
451
465
|
* <li>
|
|
452
466
|
* <p>If you specify more than one filter in a single request, the response returns
|
|
@@ -460,9 +474,9 @@ export interface GetResourcesInput {
|
|
|
460
474
|
* <li>
|
|
461
475
|
* <p>If you don't specify a value for a key, the response returns all resources
|
|
462
476
|
* 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
|
-
* \{
|
|
477
|
+
* <p>For example, for the following filters: <code>filter1= \{key1,\{value1\}\}</code>,
|
|
478
|
+
* <code>filter2=\{key2,\{value2,value3,value4\}\}</code>, <code>filter3=
|
|
479
|
+
* \{key3\}</code>:</p>
|
|
466
480
|
* <ul>
|
|
467
481
|
* <li>
|
|
468
482
|
* <p>
|
|
@@ -526,12 +540,21 @@ export interface GetResourcesInput {
|
|
|
526
540
|
/**
|
|
527
541
|
* <p>Specifies the resource types that you want included in the response. The format of
|
|
528
542
|
* each resource type is <code>service[:resourceType]</code>. For example, specifying a
|
|
529
|
-
*
|
|
530
|
-
*
|
|
531
|
-
*
|
|
543
|
+
* service of <code>ec2</code> returns all Amazon EC2 resources (which includes EC2 instances).
|
|
544
|
+
* Specifying a resource type of <code>ec2:instance</code> returns only EC2 instances. </p>
|
|
545
|
+
* <p>You can't specify both this parameter and the <code>ResourceArnList</code> parameter
|
|
546
|
+
* in the same request. If you do, you get an <code>Invalid Parameter</code>
|
|
547
|
+
* exception.</p>
|
|
532
548
|
* <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
|
-
*
|
|
549
|
+
* resource's Amazon Resource Name (ARN).</p>
|
|
550
|
+
* <note>
|
|
551
|
+
* <p>For the list of services whose resources you can tag using the Resource Groups Tagging API, see
|
|
552
|
+
* <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
|
|
553
|
+
* service isn't listed on that page, you might still be able to tag that service's
|
|
554
|
+
* resources by using that service's native tagging operations instead of using
|
|
555
|
+
* Resource Groups Tagging API operations. All tagged resources, whether the tagging used the Resource Groups Tagging API
|
|
556
|
+
* or not, are returned by the <code>Get*</code> operation.</p>
|
|
557
|
+
* </note>
|
|
535
558
|
* <p>You can specify multiple resource types by using an array. The array can include up to
|
|
536
559
|
* 100 items. Note that the length constraint requirement applies to each resource type
|
|
537
560
|
* filter. For example, the following string would limit the response to only Amazon EC2
|
|
@@ -559,10 +582,15 @@ export interface GetResourcesInput {
|
|
|
559
582
|
*/
|
|
560
583
|
ExcludeCompliantResources?: boolean | undefined;
|
|
561
584
|
/**
|
|
562
|
-
* <p>Specifies a list of ARNs of resources for which you want to retrieve tag data
|
|
563
|
-
*
|
|
585
|
+
* <p>Specifies a list of ARNs of resources for which you want to retrieve tag data.</p>
|
|
586
|
+
* <p>You can't specify both this parameter and the <code>ResourceTypeFilters</code>
|
|
587
|
+
* parameter in the same request. If you do, you get an <code>Invalid Parameter</code>
|
|
588
|
+
* exception.</p>
|
|
589
|
+
* <p>You can't specify both this parameter and the <code>TagFilters</code> parameter in the
|
|
590
|
+
* same request. If you do, you get an <code>Invalid Parameter</code> exception.</p>
|
|
591
|
+
* <p>You can't specify both this parameter and any of the pagination parameters
|
|
564
592
|
* (<code>ResourcesPerPage</code>, <code>TagsPerPage</code>,
|
|
565
|
-
* <code>PaginationToken</code>) in the same request. If you
|
|
593
|
+
* <code>PaginationToken</code>) in the same request. If you do, you get an
|
|
566
594
|
* <code>Invalid Parameter</code> exception.</p>
|
|
567
595
|
* <p>If a resource specified by this parameter doesn't exist, it doesn't generate an error;
|
|
568
596
|
* it simply isn't included in the response.</p>
|
|
@@ -636,8 +664,8 @@ export interface GetResourcesOutput {
|
|
|
636
664
|
ResourceTagMappingList?: ResourceTagMapping[] | undefined;
|
|
637
665
|
}
|
|
638
666
|
/**
|
|
639
|
-
* <p>
|
|
640
|
-
*
|
|
667
|
+
* <p>The request failed because the specified <code>PaginationToken</code> has expired. A
|
|
668
|
+
* <code>PaginationToken</code> is valid for a maximum of 15 minutes.</p>
|
|
641
669
|
* @public
|
|
642
670
|
*/
|
|
643
671
|
export declare class PaginationTokenExpiredException extends __BaseException {
|
|
@@ -714,6 +742,63 @@ export interface GetTagValuesOutput {
|
|
|
714
742
|
*/
|
|
715
743
|
TagValues?: string[] | undefined;
|
|
716
744
|
}
|
|
745
|
+
/**
|
|
746
|
+
* @public
|
|
747
|
+
*/
|
|
748
|
+
export interface ListRequiredTagsInput {
|
|
749
|
+
/**
|
|
750
|
+
* <p>A token for requesting another page of required tags if the <code>NextToken</code> response element
|
|
751
|
+
* indicates that more required tags are available. Use the value of the returned <code>NextToken</code>
|
|
752
|
+
* element in your request until the token comes back as null. Pass null if this is the
|
|
753
|
+
* first call.</p>
|
|
754
|
+
* @public
|
|
755
|
+
*/
|
|
756
|
+
NextToken?: string | undefined;
|
|
757
|
+
/**
|
|
758
|
+
* <p>The maximum number of required tags.</p>
|
|
759
|
+
* @public
|
|
760
|
+
*/
|
|
761
|
+
MaxResults?: number | undefined;
|
|
762
|
+
}
|
|
763
|
+
/**
|
|
764
|
+
* <p>Information that describes the required tags for a given resource type.</p>
|
|
765
|
+
* @public
|
|
766
|
+
*/
|
|
767
|
+
export interface RequiredTag {
|
|
768
|
+
/**
|
|
769
|
+
* <p>Describes the resource type for the required tag keys.</p>
|
|
770
|
+
* @public
|
|
771
|
+
*/
|
|
772
|
+
ResourceType?: string | undefined;
|
|
773
|
+
/**
|
|
774
|
+
* <p>Describes the CloudFormation resource type assigned the required tag keys.</p>
|
|
775
|
+
* @public
|
|
776
|
+
*/
|
|
777
|
+
CloudFormationResourceTypes?: string[] | undefined;
|
|
778
|
+
/**
|
|
779
|
+
* <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>
|
|
780
|
+
* @public
|
|
781
|
+
*/
|
|
782
|
+
ReportingTagKeys?: string[] | undefined;
|
|
783
|
+
}
|
|
784
|
+
/**
|
|
785
|
+
* @public
|
|
786
|
+
*/
|
|
787
|
+
export interface ListRequiredTagsOutput {
|
|
788
|
+
/**
|
|
789
|
+
* <p>The required tags.</p>
|
|
790
|
+
* @public
|
|
791
|
+
*/
|
|
792
|
+
RequiredTags?: RequiredTag[] | undefined;
|
|
793
|
+
/**
|
|
794
|
+
* <p>A token for requesting another page of required tags if the <code>NextToken</code> response element
|
|
795
|
+
* indicates that more required tags are available. Use the value of the returned <code>NextToken</code>
|
|
796
|
+
* element in your request until the token comes back as null. Pass null if this is the
|
|
797
|
+
* first call.</p>
|
|
798
|
+
* @public
|
|
799
|
+
*/
|
|
800
|
+
NextToken?: string | undefined;
|
|
801
|
+
}
|
|
717
802
|
/**
|
|
718
803
|
* @public
|
|
719
804
|
*/
|
|
@@ -721,10 +806,10 @@ export interface StartReportCreationInput {
|
|
|
721
806
|
/**
|
|
722
807
|
* <p>The name of the Amazon S3 bucket where the report will be stored; for example:</p>
|
|
723
808
|
* <p>
|
|
724
|
-
* <code>
|
|
809
|
+
* <code>amzn-s3-demo-bucket</code>
|
|
725
810
|
* </p>
|
|
726
811
|
* <p>For more information on S3 bucket requirements, including an example bucket policy,
|
|
727
|
-
* see the example S3 bucket policy on this page.</p>
|
|
812
|
+
* see the example Amazon S3 bucket policy on this page.</p>
|
|
728
813
|
* @public
|
|
729
814
|
*/
|
|
730
815
|
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";
|
|
@@ -150,6 +150,19 @@ export interface GetTagValuesOutput {
|
|
|
150
150
|
PaginationToken?: string | undefined;
|
|
151
151
|
TagValues?: string[] | undefined;
|
|
152
152
|
}
|
|
153
|
+
export interface ListRequiredTagsInput {
|
|
154
|
+
NextToken?: string | undefined;
|
|
155
|
+
MaxResults?: number | undefined;
|
|
156
|
+
}
|
|
157
|
+
export interface RequiredTag {
|
|
158
|
+
ResourceType?: string | undefined;
|
|
159
|
+
CloudFormationResourceTypes?: string[] | undefined;
|
|
160
|
+
ReportingTagKeys?: string[] | undefined;
|
|
161
|
+
}
|
|
162
|
+
export interface ListRequiredTagsOutput {
|
|
163
|
+
RequiredTags?: RequiredTag[] | undefined;
|
|
164
|
+
NextToken?: string | undefined;
|
|
165
|
+
}
|
|
153
166
|
export interface StartReportCreationInput {
|
|
154
167
|
S3Bucket: string | undefined;
|
|
155
168
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListRequiredTagsCommandInput,
|
|
4
|
+
ListRequiredTagsCommandOutput,
|
|
5
|
+
} from "../commands/ListRequiredTagsCommand";
|
|
6
|
+
import { ResourceGroupsTaggingAPIPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListRequiredTags: (
|
|
8
|
+
config: ResourceGroupsTaggingAPIPaginationConfiguration,
|
|
9
|
+
input: ListRequiredTagsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListRequiredTagsCommandOutput>;
|
|
@@ -21,7 +21,10 @@ export declare var GetTagValuesInput: StaticStructureSchema;
|
|
|
21
21
|
export declare var GetTagValuesOutput: StaticStructureSchema;
|
|
22
22
|
export declare var InternalServiceException: StaticErrorSchema;
|
|
23
23
|
export declare var InvalidParameterException: StaticErrorSchema;
|
|
24
|
+
export declare var ListRequiredTagsInput: StaticStructureSchema;
|
|
25
|
+
export declare var ListRequiredTagsOutput: StaticStructureSchema;
|
|
24
26
|
export declare var PaginationTokenExpiredException: StaticErrorSchema;
|
|
27
|
+
export declare var RequiredTag: StaticStructureSchema;
|
|
25
28
|
export declare var ResourceTagMapping: StaticStructureSchema;
|
|
26
29
|
export declare var StartReportCreationInput: StaticStructureSchema;
|
|
27
30
|
export declare var StartReportCreationOutput: StaticStructureSchema;
|
|
@@ -35,8 +38,11 @@ export declare var UntagResourcesInput: StaticStructureSchema;
|
|
|
35
38
|
export declare var UntagResourcesOutput: StaticStructureSchema;
|
|
36
39
|
export declare var __Unit: "unit";
|
|
37
40
|
export declare var ResourceGroupsTaggingAPIServiceException: StaticErrorSchema;
|
|
41
|
+
export declare var CloudFormationResourceTypes: number;
|
|
38
42
|
export declare var GroupBy: number;
|
|
39
43
|
export declare var RegionFilterList: number;
|
|
44
|
+
export declare var ReportingTagKeys: number;
|
|
45
|
+
export declare var RequiredTagsForListRequiredTags: StaticListSchema;
|
|
40
46
|
export declare var ResourceARNListForGet: number;
|
|
41
47
|
export declare var ResourceARNListForTagUntag: number;
|
|
42
48
|
export declare var ResourceTagMappingList: StaticListSchema;
|
|
@@ -57,6 +63,7 @@ export declare var GetComplianceSummary: StaticOperationSchema;
|
|
|
57
63
|
export declare var GetResources: StaticOperationSchema;
|
|
58
64
|
export declare var GetTagKeys: StaticOperationSchema;
|
|
59
65
|
export declare var GetTagValues: StaticOperationSchema;
|
|
66
|
+
export declare var ListRequiredTags: StaticOperationSchema;
|
|
60
67
|
export declare var StartReportCreation: StaticOperationSchema;
|
|
61
68
|
export declare var TagResources: StaticOperationSchema;
|
|
62
69
|
export declare var UntagResources: StaticOperationSchema;
|
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.934.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-resource-groups-tagging-api",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.934.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.934.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.934.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.934.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
35
|
"@smithy/core": "^3.18.2",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|