@aws-sdk/client-resource-explorer-2 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.
@@ -102,19 +102,17 @@ class ConflictException extends ResourceExplorer2ServiceException_1.ResourceExpl
102
102
  }
103
103
  }
104
104
  exports.ConflictException = ConflictException;
105
- var IndexState;
106
- (function (IndexState) {
107
- IndexState["ACTIVE"] = "ACTIVE";
108
- IndexState["CREATING"] = "CREATING";
109
- IndexState["DELETED"] = "DELETED";
110
- IndexState["DELETING"] = "DELETING";
111
- IndexState["UPDATING"] = "UPDATING";
112
- })(IndexState = exports.IndexState || (exports.IndexState = {}));
113
- var IndexType;
114
- (function (IndexType) {
115
- IndexType["AGGREGATOR"] = "AGGREGATOR";
116
- IndexType["LOCAL"] = "LOCAL";
117
- })(IndexType = exports.IndexType || (exports.IndexType = {}));
105
+ exports.IndexState = {
106
+ ACTIVE: "ACTIVE",
107
+ CREATING: "CREATING",
108
+ DELETED: "DELETED",
109
+ DELETING: "DELETING",
110
+ UPDATING: "UPDATING",
111
+ };
112
+ exports.IndexType = {
113
+ AGGREGATOR: "AGGREGATOR",
114
+ LOCAL: "LOCAL",
115
+ };
118
116
  class ServiceQuotaExceededException extends ResourceExplorer2ServiceException_1.ResourceExplorer2ServiceException {
119
117
  constructor(opts) {
120
118
  super({
@@ -92,19 +92,17 @@ export class ConflictException extends __BaseException {
92
92
  this.Message = opts.Message;
93
93
  }
94
94
  }
95
- export var IndexState;
96
- (function (IndexState) {
97
- IndexState["ACTIVE"] = "ACTIVE";
98
- IndexState["CREATING"] = "CREATING";
99
- IndexState["DELETED"] = "DELETED";
100
- IndexState["DELETING"] = "DELETING";
101
- IndexState["UPDATING"] = "UPDATING";
102
- })(IndexState || (IndexState = {}));
103
- export var IndexType;
104
- (function (IndexType) {
105
- IndexType["AGGREGATOR"] = "AGGREGATOR";
106
- IndexType["LOCAL"] = "LOCAL";
107
- })(IndexType || (IndexType = {}));
95
+ export const IndexState = {
96
+ ACTIVE: "ACTIVE",
97
+ CREATING: "CREATING",
98
+ DELETED: "DELETED",
99
+ DELETING: "DELETING",
100
+ UPDATING: "UPDATING",
101
+ };
102
+ export const IndexType = {
103
+ AGGREGATOR: "AGGREGATOR",
104
+ LOCAL: "LOCAL",
105
+ };
108
106
  export class ServiceQuotaExceededException extends __BaseException {
109
107
  constructor(opts) {
110
108
  super({
@@ -271,29 +271,34 @@ export interface CreateIndexInput {
271
271
  }
272
272
  /**
273
273
  * @public
274
+ * @enum
274
275
  */
275
- export declare enum IndexState {
276
+ export declare const IndexState: {
276
277
  /**
277
278
  * Index is active.
278
279
  */
279
- ACTIVE = "ACTIVE",
280
+ readonly ACTIVE: "ACTIVE";
280
281
  /**
281
282
  * Resource Explorer is creating the index.
282
283
  */
283
- CREATING = "CREATING",
284
+ readonly CREATING: "CREATING";
284
285
  /**
285
286
  * Resource Explorer successfully deleted the index.
286
287
  */
287
- DELETED = "DELETED",
288
+ readonly DELETED: "DELETED";
288
289
  /**
289
290
  * Resource Explorer is deleting the index.
290
291
  */
291
- DELETING = "DELETING",
292
+ readonly DELETING: "DELETING";
292
293
  /**
293
294
  * Resource Explorer is switching the index type between local and aggregator.
294
295
  */
295
- UPDATING = "UPDATING"
296
- }
296
+ readonly UPDATING: "UPDATING";
297
+ };
298
+ /**
299
+ * @public
300
+ */
301
+ export type IndexState = (typeof IndexState)[keyof typeof IndexState];
297
302
  /**
298
303
  * @public
299
304
  */
@@ -352,17 +357,22 @@ export interface DeleteIndexOutput {
352
357
  }
353
358
  /**
354
359
  * @public
360
+ * @enum
355
361
  */
356
- export declare enum IndexType {
362
+ export declare const IndexType: {
357
363
  /**
358
364
  * aggregator index
359
365
  */
360
- AGGREGATOR = "AGGREGATOR",
366
+ readonly AGGREGATOR: "AGGREGATOR";
361
367
  /**
362
368
  * local index
363
369
  */
364
- LOCAL = "LOCAL"
365
- }
370
+ readonly LOCAL: "LOCAL";
371
+ };
372
+ /**
373
+ * @public
374
+ */
375
+ export type IndexType = (typeof IndexType)[keyof typeof IndexType];
366
376
  /**
367
377
  * @public
368
378
  */
@@ -95,13 +95,14 @@ export interface CreateIndexInput {
95
95
  ClientToken?: string;
96
96
  Tags?: Record<string, string>;
97
97
  }
98
- export declare enum IndexState {
99
- ACTIVE = "ACTIVE",
100
- CREATING = "CREATING",
101
- DELETED = "DELETED",
102
- DELETING = "DELETING",
103
- UPDATING = "UPDATING",
104
- }
98
+ export declare const IndexState: {
99
+ readonly ACTIVE: "ACTIVE";
100
+ readonly CREATING: "CREATING";
101
+ readonly DELETED: "DELETED";
102
+ readonly DELETING: "DELETING";
103
+ readonly UPDATING: "UPDATING";
104
+ };
105
+ export type IndexState = (typeof IndexState)[keyof typeof IndexState];
105
106
  export interface CreateIndexOutput {
106
107
  Arn?: string;
107
108
  State?: IndexState | string;
@@ -115,10 +116,11 @@ export interface DeleteIndexOutput {
115
116
  State?: IndexState | string;
116
117
  LastUpdatedAt?: Date;
117
118
  }
118
- export declare enum IndexType {
119
- AGGREGATOR = "AGGREGATOR",
120
- LOCAL = "LOCAL",
121
- }
119
+ export declare const IndexType: {
120
+ readonly AGGREGATOR: "AGGREGATOR";
121
+ readonly LOCAL: "LOCAL";
122
+ };
123
+ export type IndexType = (typeof IndexType)[keyof typeof IndexType];
122
124
  export interface ListIndexesInput {
123
125
  Type?: IndexType | string;
124
126
  Regions?: string[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-resource-explorer-2",
3
3
  "description": "AWS SDK for JavaScript Resource Explorer 2 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,43 +21,43 @@
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
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",