@aws-sdk/client-resource-groups-tagging-api 3.301.0 → 3.306.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({
@@ -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.301.0",
4
+ "version": "3.306.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.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.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.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.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.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
54
+ "@aws-sdk/util-user-agent-node": "3.306.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",