@aws-sdk/client-resource-groups-tagging-api 3.300.0 → 3.303.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.
@@ -72,23 +72,20 @@ class ThrottledException extends ResourceGroupsTaggingAPIServiceException_1.Reso
72
72
  }
73
73
  }
74
74
  exports.ThrottledException = ThrottledException;
75
- var ErrorCode;
76
- (function (ErrorCode) {
77
- ErrorCode["INTERNAL_SERVICE_EXCEPTION"] = "InternalServiceException";
78
- ErrorCode["INVALID_PARAMETER_EXCEPTION"] = "InvalidParameterException";
79
- })(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {}));
80
- var GroupByAttribute;
81
- (function (GroupByAttribute) {
82
- GroupByAttribute["REGION"] = "REGION";
83
- GroupByAttribute["RESOURCE_TYPE"] = "RESOURCE_TYPE";
84
- GroupByAttribute["TARGET_ID"] = "TARGET_ID";
85
- })(GroupByAttribute = exports.GroupByAttribute || (exports.GroupByAttribute = {}));
86
- var TargetIdType;
87
- (function (TargetIdType) {
88
- TargetIdType["ACCOUNT"] = "ACCOUNT";
89
- TargetIdType["OU"] = "OU";
90
- TargetIdType["ROOT"] = "ROOT";
91
- })(TargetIdType = exports.TargetIdType || (exports.TargetIdType = {}));
75
+ exports.ErrorCode = {
76
+ INTERNAL_SERVICE_EXCEPTION: "InternalServiceException",
77
+ INVALID_PARAMETER_EXCEPTION: "InvalidParameterException",
78
+ };
79
+ exports.GroupByAttribute = {
80
+ REGION: "REGION",
81
+ RESOURCE_TYPE: "RESOURCE_TYPE",
82
+ TARGET_ID: "TARGET_ID",
83
+ };
84
+ exports.TargetIdType = {
85
+ ACCOUNT: "ACCOUNT",
86
+ OU: "OU",
87
+ ROOT: "ROOT",
88
+ };
92
89
  class PaginationTokenExpiredException extends ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException {
93
90
  constructor(opts) {
94
91
  super({
@@ -64,23 +64,20 @@ export class ThrottledException extends __BaseException {
64
64
  this.Message = opts.Message;
65
65
  }
66
66
  }
67
- export var ErrorCode;
68
- (function (ErrorCode) {
69
- ErrorCode["INTERNAL_SERVICE_EXCEPTION"] = "InternalServiceException";
70
- ErrorCode["INVALID_PARAMETER_EXCEPTION"] = "InvalidParameterException";
71
- })(ErrorCode || (ErrorCode = {}));
72
- export var GroupByAttribute;
73
- (function (GroupByAttribute) {
74
- GroupByAttribute["REGION"] = "REGION";
75
- GroupByAttribute["RESOURCE_TYPE"] = "RESOURCE_TYPE";
76
- GroupByAttribute["TARGET_ID"] = "TARGET_ID";
77
- })(GroupByAttribute || (GroupByAttribute = {}));
78
- export var TargetIdType;
79
- (function (TargetIdType) {
80
- TargetIdType["ACCOUNT"] = "ACCOUNT";
81
- TargetIdType["OU"] = "OU";
82
- TargetIdType["ROOT"] = "ROOT";
83
- })(TargetIdType || (TargetIdType = {}));
67
+ export const ErrorCode = {
68
+ INTERNAL_SERVICE_EXCEPTION: "InternalServiceException",
69
+ INVALID_PARAMETER_EXCEPTION: "InvalidParameterException",
70
+ };
71
+ export const GroupByAttribute = {
72
+ REGION: "REGION",
73
+ RESOURCE_TYPE: "RESOURCE_TYPE",
74
+ TARGET_ID: "TARGET_ID",
75
+ };
76
+ export const TargetIdType = {
77
+ ACCOUNT: "ACCOUNT",
78
+ OU: "OU",
79
+ ROOT: "ROOT",
80
+ };
84
81
  export class PaginationTokenExpiredException extends __BaseException {
85
82
  constructor(opts) {
86
83
  super({
@@ -38,20 +38,20 @@ export interface GetComplianceSummaryCommandOutput extends GetComplianceSummaryO
38
38
  * import { ResourceGroupsTaggingAPIClient, GetComplianceSummaryCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
39
39
  * // const { ResourceGroupsTaggingAPIClient, GetComplianceSummaryCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
40
40
  * const client = new ResourceGroupsTaggingAPIClient(config);
41
- * const input = {
42
- * TargetIdFilters: [
41
+ * const input = { // GetComplianceSummaryInput
42
+ * TargetIdFilters: [ // TargetIdFilterList
43
43
  * "STRING_VALUE",
44
44
  * ],
45
- * RegionFilters: [
45
+ * RegionFilters: [ // RegionFilterList
46
46
  * "STRING_VALUE",
47
47
  * ],
48
- * ResourceTypeFilters: [
48
+ * ResourceTypeFilters: [ // ResourceTypeFilterList
49
49
  * "STRING_VALUE",
50
50
  * ],
51
- * TagKeyFilters: [
51
+ * TagKeyFilters: [ // TagKeyFilterList
52
52
  * "STRING_VALUE",
53
53
  * ],
54
- * GroupBy: [
54
+ * GroupBy: [ // GroupBy
55
55
  * "STRING_VALUE",
56
56
  * ],
57
57
  * MaxResults: Number("int"),
@@ -49,24 +49,24 @@ export interface GetResourcesCommandOutput extends GetResourcesOutput, __Metadat
49
49
  * import { ResourceGroupsTaggingAPIClient, GetResourcesCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
50
50
  * // const { ResourceGroupsTaggingAPIClient, GetResourcesCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
51
51
  * const client = new ResourceGroupsTaggingAPIClient(config);
52
- * const input = {
52
+ * const input = { // GetResourcesInput
53
53
  * PaginationToken: "STRING_VALUE",
54
- * TagFilters: [
55
- * {
54
+ * TagFilters: [ // TagFilterList
55
+ * { // TagFilter
56
56
  * Key: "STRING_VALUE",
57
- * Values: [
57
+ * Values: [ // TagValueList
58
58
  * "STRING_VALUE",
59
59
  * ],
60
60
  * },
61
61
  * ],
62
62
  * ResourcesPerPage: Number("int"),
63
63
  * TagsPerPage: Number("int"),
64
- * ResourceTypeFilters: [
64
+ * ResourceTypeFilters: [ // ResourceTypeFilterList
65
65
  * "STRING_VALUE",
66
66
  * ],
67
67
  * IncludeComplianceDetails: true || false,
68
68
  * ExcludeCompliantResources: true || false,
69
- * ResourceARNList: [
69
+ * ResourceARNList: [ // ResourceARNListForGet
70
70
  * "STRING_VALUE",
71
71
  * ],
72
72
  * };
@@ -33,7 +33,7 @@ export interface GetTagKeysCommandOutput extends GetTagKeysOutput, __MetadataBea
33
33
  * import { ResourceGroupsTaggingAPIClient, GetTagKeysCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
34
34
  * // const { ResourceGroupsTaggingAPIClient, GetTagKeysCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
35
35
  * const client = new ResourceGroupsTaggingAPIClient(config);
36
- * const input = {
36
+ * const input = { // GetTagKeysInput
37
37
  * PaginationToken: "STRING_VALUE",
38
38
  * };
39
39
  * const command = new GetTagKeysCommand(input);
@@ -33,7 +33,7 @@ export interface GetTagValuesCommandOutput extends GetTagValuesOutput, __Metadat
33
33
  * import { ResourceGroupsTaggingAPIClient, GetTagValuesCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
34
34
  * // const { ResourceGroupsTaggingAPIClient, GetTagValuesCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
35
35
  * const client = new ResourceGroupsTaggingAPIClient(config);
36
- * const input = {
36
+ * const input = { // GetTagValuesInput
37
37
  * PaginationToken: "STRING_VALUE",
38
38
  * Key: "STRING_VALUE", // required
39
39
  * };
@@ -34,7 +34,7 @@ export interface StartReportCreationCommandOutput extends StartReportCreationOut
34
34
  * import { ResourceGroupsTaggingAPIClient, StartReportCreationCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
35
35
  * // const { ResourceGroupsTaggingAPIClient, StartReportCreationCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
36
36
  * const client = new ResourceGroupsTaggingAPIClient(config);
37
- * const input = {
37
+ * const input = { // StartReportCreationInput
38
38
  * S3Bucket: "STRING_VALUE", // required
39
39
  * };
40
40
  * const command = new StartReportCreationCommand(input);
@@ -75,11 +75,11 @@ export interface TagResourcesCommandOutput extends TagResourcesOutput, __Metadat
75
75
  * import { ResourceGroupsTaggingAPIClient, TagResourcesCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
76
76
  * // const { ResourceGroupsTaggingAPIClient, TagResourcesCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
77
77
  * const client = new ResourceGroupsTaggingAPIClient(config);
78
- * const input = {
79
- * ResourceARNList: [ // required
78
+ * const input = { // TagResourcesInput
79
+ * ResourceARNList: [ // ResourceARNListForTagUntag // required
80
80
  * "STRING_VALUE",
81
81
  * ],
82
- * Tags: { // required
82
+ * Tags: { // TagMap // required
83
83
  * "<keys>": "STRING_VALUE",
84
84
  * },
85
85
  * };
@@ -62,11 +62,11 @@ export interface UntagResourcesCommandOutput extends UntagResourcesOutput, __Met
62
62
  * import { ResourceGroupsTaggingAPIClient, UntagResourcesCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
63
63
  * // const { ResourceGroupsTaggingAPIClient, UntagResourcesCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
64
64
  * const client = new ResourceGroupsTaggingAPIClient(config);
65
- * const input = {
66
- * ResourceARNList: [ // required
65
+ * const input = { // UntagResourcesInput
66
+ * ResourceARNList: [ // ResourceARNListForTagUntag // required
67
67
  * "STRING_VALUE",
68
68
  * ],
69
- * TagKeys: [ // required
69
+ * TagKeys: [ // TagKeyListForUntag // required
70
70
  * "STRING_VALUE",
71
71
  * ],
72
72
  * };
@@ -176,11 +176,16 @@ export declare class ThrottledException extends __BaseException {
176
176
  }
177
177
  /**
178
178
  * @public
179
+ * @enum
179
180
  */
180
- export declare enum ErrorCode {
181
- INTERNAL_SERVICE_EXCEPTION = "InternalServiceException",
182
- INVALID_PARAMETER_EXCEPTION = "InvalidParameterException"
183
- }
181
+ export declare const ErrorCode: {
182
+ readonly INTERNAL_SERVICE_EXCEPTION: "InternalServiceException";
183
+ readonly INVALID_PARAMETER_EXCEPTION: "InvalidParameterException";
184
+ };
185
+ /**
186
+ * @public
187
+ */
188
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
184
189
  /**
185
190
  * @public
186
191
  * <p>Information about the errors that are returned for each failed resource. This
@@ -234,12 +239,17 @@ export interface FailureInfo {
234
239
  }
235
240
  /**
236
241
  * @public
242
+ * @enum
237
243
  */
238
- export declare enum GroupByAttribute {
239
- REGION = "REGION",
240
- RESOURCE_TYPE = "RESOURCE_TYPE",
241
- TARGET_ID = "TARGET_ID"
242
- }
244
+ export declare const GroupByAttribute: {
245
+ readonly REGION: "REGION";
246
+ readonly RESOURCE_TYPE: "RESOURCE_TYPE";
247
+ readonly TARGET_ID: "TARGET_ID";
248
+ };
249
+ /**
250
+ * @public
251
+ */
252
+ export type GroupByAttribute = (typeof GroupByAttribute)[keyof typeof GroupByAttribute];
243
253
  /**
244
254
  * @public
245
255
  */
@@ -313,12 +323,17 @@ export interface GetComplianceSummaryInput {
313
323
  }
314
324
  /**
315
325
  * @public
326
+ * @enum
316
327
  */
317
- export declare enum TargetIdType {
318
- ACCOUNT = "ACCOUNT",
319
- OU = "OU",
320
- ROOT = "ROOT"
321
- }
328
+ export declare const TargetIdType: {
329
+ readonly ACCOUNT: "ACCOUNT";
330
+ readonly OU: "OU";
331
+ readonly ROOT: "ROOT";
332
+ };
333
+ /**
334
+ * @public
335
+ */
336
+ export type TargetIdType = (typeof TargetIdType)[keyof typeof TargetIdType];
322
337
  /**
323
338
  * @public
324
339
  * <p>A count of noncompliant resources.</p>
@@ -53,20 +53,23 @@ export declare class ThrottledException extends __BaseException {
53
53
  Message?: string;
54
54
  constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
55
55
  }
56
- export declare enum ErrorCode {
57
- INTERNAL_SERVICE_EXCEPTION = "InternalServiceException",
58
- INVALID_PARAMETER_EXCEPTION = "InvalidParameterException",
59
- }
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];
60
61
  export interface FailureInfo {
61
62
  StatusCode?: number;
62
63
  ErrorCode?: ErrorCode | string;
63
64
  ErrorMessage?: string;
64
65
  }
65
- export declare enum GroupByAttribute {
66
- REGION = "REGION",
67
- RESOURCE_TYPE = "RESOURCE_TYPE",
68
- TARGET_ID = "TARGET_ID",
69
- }
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];
70
73
  export interface GetComplianceSummaryInput {
71
74
  TargetIdFilters?: string[];
72
75
  RegionFilters?: string[];
@@ -76,11 +79,12 @@ export interface GetComplianceSummaryInput {
76
79
  MaxResults?: number;
77
80
  PaginationToken?: string;
78
81
  }
79
- export declare enum TargetIdType {
80
- ACCOUNT = "ACCOUNT",
81
- OU = "OU",
82
- ROOT = "ROOT",
83
- }
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];
84
88
  export interface Summary {
85
89
  LastUpdated?: string;
86
90
  TargetId?: string;
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.300.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",