@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.
Files changed (46) hide show
  1. package/README.md +18 -7
  2. package/dist-cjs/index.js +117 -24
  3. package/dist-es/ResourceGroupsTaggingAPI.js +2 -0
  4. package/dist-es/commands/ListRequiredTagsCommand.js +16 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/index.js +2 -1
  7. package/dist-es/models/enums.js +14 -0
  8. package/dist-es/models/errors.js +85 -0
  9. package/dist-es/models/models_0.js +1 -99
  10. package/dist-es/pagination/ListRequiredTagsPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/schemas/schemas_0.js +88 -11
  13. package/dist-types/ResourceGroupsTaggingAPI.d.ts +8 -0
  14. package/dist-types/ResourceGroupsTaggingAPIClient.d.ts +3 -2
  15. package/dist-types/commands/DescribeReportCreationCommand.d.ts +14 -12
  16. package/dist-types/commands/GetComplianceSummaryCommand.d.ts +14 -12
  17. package/dist-types/commands/GetResourcesCommand.d.ts +21 -11
  18. package/dist-types/commands/GetTagKeysCommand.d.ts +14 -10
  19. package/dist-types/commands/GetTagValuesCommand.d.ts +14 -10
  20. package/dist-types/commands/ListRequiredTagsCommand.d.ts +124 -0
  21. package/dist-types/commands/StartReportCreationCommand.d.ts +26 -15
  22. package/dist-types/commands/TagResourcesCommand.d.ts +31 -9
  23. package/dist-types/commands/UntagResourcesCommand.d.ts +20 -9
  24. package/dist-types/commands/index.d.ts +1 -0
  25. package/dist-types/index.d.ts +3 -1
  26. package/dist-types/models/enums.d.ts +38 -0
  27. package/dist-types/models/errors.d.ts +124 -0
  28. package/dist-types/models/models_0.d.ts +99 -175
  29. package/dist-types/pagination/ListRequiredTagsPaginator.d.ts +7 -0
  30. package/dist-types/pagination/index.d.ts +1 -0
  31. package/dist-types/schemas/schemas_0.d.ts +7 -0
  32. package/dist-types/ts3.4/ResourceGroupsTaggingAPI.d.ts +18 -0
  33. package/dist-types/ts3.4/ResourceGroupsTaggingAPIClient.d.ts +6 -0
  34. package/dist-types/ts3.4/commands/ListRequiredTagsCommand.d.ts +50 -0
  35. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  36. package/dist-types/ts3.4/index.d.ts +3 -1
  37. package/dist-types/ts3.4/models/enums.d.ts +18 -0
  38. package/dist-types/ts3.4/models/errors.d.ts +54 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +14 -72
  40. package/dist-types/ts3.4/pagination/ListRequiredTagsPaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  42. package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
  43. package/package.json +12 -12
  44. package/dist-es/models/index.js +0 -1
  45. package/dist-types/models/index.d.ts +0 -1
  46. package/dist-types/ts3.4/models/index.d.ts +0 -1
@@ -1,29 +1,9 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ResourceGroupsTaggingAPIServiceException as __BaseException } from "./ResourceGroupsTaggingAPIServiceException";
1
+ import { ErrorCode, GroupByAttribute, TargetIdType } from "./enums";
3
2
  export interface ComplianceDetails {
4
3
  NoncompliantKeys?: string[] | undefined;
5
4
  KeysWithNoncompliantValues?: string[] | undefined;
6
5
  ComplianceStatus?: boolean | undefined;
7
6
  }
8
- export declare class ConcurrentModificationException extends __BaseException {
9
- readonly name: "ConcurrentModificationException";
10
- readonly $fault: "client";
11
- Message?: string | undefined;
12
- constructor(
13
- opts: __ExceptionOptionType<
14
- ConcurrentModificationException,
15
- __BaseException
16
- >
17
- );
18
- }
19
- export declare class ConstraintViolationException extends __BaseException {
20
- readonly name: "ConstraintViolationException";
21
- readonly $fault: "client";
22
- Message?: string | undefined;
23
- constructor(
24
- opts: __ExceptionOptionType<ConstraintViolationException, __BaseException>
25
- );
26
- }
27
7
  export interface DescribeReportCreationInput {}
28
8
  export interface DescribeReportCreationOutput {
29
9
  Status?: string | undefined;
@@ -31,45 +11,11 @@ export interface DescribeReportCreationOutput {
31
11
  StartDate?: string | undefined;
32
12
  ErrorMessage?: string | undefined;
33
13
  }
34
- export declare class InternalServiceException extends __BaseException {
35
- readonly name: "InternalServiceException";
36
- readonly $fault: "server";
37
- Message?: string | undefined;
38
- constructor(
39
- opts: __ExceptionOptionType<InternalServiceException, __BaseException>
40
- );
41
- }
42
- export declare class InvalidParameterException extends __BaseException {
43
- readonly name: "InvalidParameterException";
44
- readonly $fault: "client";
45
- Message?: string | undefined;
46
- constructor(
47
- opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
48
- );
49
- }
50
- export declare class ThrottledException extends __BaseException {
51
- readonly name: "ThrottledException";
52
- readonly $fault: "client";
53
- Message?: string | undefined;
54
- constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
55
- }
56
- export declare const ErrorCode: {
57
- readonly INTERNAL_SERVICE_EXCEPTION: "InternalServiceException";
58
- readonly INVALID_PARAMETER_EXCEPTION: "InvalidParameterException";
59
- };
60
- export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
61
14
  export interface FailureInfo {
62
15
  StatusCode?: number | undefined;
63
16
  ErrorCode?: ErrorCode | undefined;
64
17
  ErrorMessage?: string | undefined;
65
18
  }
66
- export declare const GroupByAttribute: {
67
- readonly REGION: "REGION";
68
- readonly RESOURCE_TYPE: "RESOURCE_TYPE";
69
- readonly TARGET_ID: "TARGET_ID";
70
- };
71
- export type GroupByAttribute =
72
- (typeof GroupByAttribute)[keyof typeof GroupByAttribute];
73
19
  export interface GetComplianceSummaryInput {
74
20
  TargetIdFilters?: string[] | undefined;
75
21
  RegionFilters?: string[] | undefined;
@@ -79,12 +25,6 @@ export interface GetComplianceSummaryInput {
79
25
  MaxResults?: number | undefined;
80
26
  PaginationToken?: string | undefined;
81
27
  }
82
- export declare const TargetIdType: {
83
- readonly ACCOUNT: "ACCOUNT";
84
- readonly OU: "OU";
85
- readonly ROOT: "ROOT";
86
- };
87
- export type TargetIdType = (typeof TargetIdType)[keyof typeof TargetIdType];
88
28
  export interface Summary {
89
29
  LastUpdated?: string | undefined;
90
30
  TargetId?: string | undefined;
@@ -124,17 +64,6 @@ export interface GetResourcesOutput {
124
64
  PaginationToken?: string | undefined;
125
65
  ResourceTagMappingList?: ResourceTagMapping[] | undefined;
126
66
  }
127
- export declare class PaginationTokenExpiredException extends __BaseException {
128
- readonly name: "PaginationTokenExpiredException";
129
- readonly $fault: "client";
130
- Message?: string | undefined;
131
- constructor(
132
- opts: __ExceptionOptionType<
133
- PaginationTokenExpiredException,
134
- __BaseException
135
- >
136
- );
137
- }
138
67
  export interface GetTagKeysInput {
139
68
  PaginationToken?: string | undefined;
140
69
  }
@@ -150,6 +79,19 @@ export interface GetTagValuesOutput {
150
79
  PaginationToken?: string | undefined;
151
80
  TagValues?: string[] | undefined;
152
81
  }
82
+ export interface ListRequiredTagsInput {
83
+ NextToken?: string | undefined;
84
+ MaxResults?: number | undefined;
85
+ }
86
+ export interface RequiredTag {
87
+ ResourceType?: string | undefined;
88
+ CloudFormationResourceTypes?: string[] | undefined;
89
+ ReportingTagKeys?: string[] | undefined;
90
+ }
91
+ export interface ListRequiredTagsOutput {
92
+ RequiredTags?: RequiredTag[] | undefined;
93
+ NextToken?: string | undefined;
94
+ }
153
95
  export interface StartReportCreationInput {
154
96
  S3Bucket: string | undefined;
155
97
  }
@@ -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>;
@@ -3,3 +3,4 @@ export * from "./GetResourcesPaginator";
3
3
  export * from "./GetTagKeysPaginator";
4
4
  export * from "./GetTagValuesPaginator";
5
5
  export * from "./Interfaces";
6
+ export * from "./ListRequiredTagsPaginator";
@@ -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.933.0",
4
+ "version": "3.935.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,38 +20,38 @@
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.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.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.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.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.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";