@aws-sdk/client-resource-explorer-2 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.
@@ -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({
@@ -32,7 +32,7 @@ export interface AssociateDefaultViewCommandOutput extends AssociateDefaultViewO
32
32
  * import { ResourceExplorer2Client, AssociateDefaultViewCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
33
33
  * // const { ResourceExplorer2Client, AssociateDefaultViewCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
34
34
  * const client = new ResourceExplorer2Client(config);
35
- * const input = {
35
+ * const input = { // AssociateDefaultViewInput
36
36
  * ViewArn: "STRING_VALUE", // required
37
37
  * };
38
38
  * const command = new AssociateDefaultViewCommand(input);
@@ -26,8 +26,8 @@ export interface BatchGetViewCommandOutput extends BatchGetViewOutput, __Metadat
26
26
  * import { ResourceExplorer2Client, BatchGetViewCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
27
27
  * // const { ResourceExplorer2Client, BatchGetViewCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
28
28
  * const client = new ResourceExplorer2Client(config);
29
- * const input = {
30
- * ViewArns: [
29
+ * const input = { // BatchGetViewInput
30
+ * ViewArns: [ // ViewArnList
31
31
  * "STRING_VALUE",
32
32
  * ],
33
33
  * };
@@ -76,9 +76,9 @@ export interface CreateIndexCommandOutput extends CreateIndexOutput, __MetadataB
76
76
  * import { ResourceExplorer2Client, CreateIndexCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
77
77
  * // const { ResourceExplorer2Client, CreateIndexCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
78
78
  * const client = new ResourceExplorer2Client(config);
79
- * const input = {
79
+ * const input = { // CreateIndexInput
80
80
  * ClientToken: "STRING_VALUE",
81
- * Tags: {
81
+ * Tags: { // TagMap
82
82
  * "<keys>": "STRING_VALUE",
83
83
  * },
84
84
  * };
@@ -33,18 +33,18 @@ export interface CreateViewCommandOutput extends CreateViewOutput, __MetadataBea
33
33
  * import { ResourceExplorer2Client, CreateViewCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
34
34
  * // const { ResourceExplorer2Client, CreateViewCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
35
35
  * const client = new ResourceExplorer2Client(config);
36
- * const input = {
36
+ * const input = { // CreateViewInput
37
37
  * ClientToken: "STRING_VALUE",
38
38
  * ViewName: "STRING_VALUE", // required
39
- * IncludedProperties: [
40
- * {
39
+ * IncludedProperties: [ // IncludedPropertyList
40
+ * { // IncludedProperty
41
41
  * Name: "STRING_VALUE", // required
42
42
  * },
43
43
  * ],
44
- * Filters: {
44
+ * Filters: { // SearchFilter
45
45
  * FilterString: "STRING_VALUE", // required
46
46
  * },
47
- * Tags: {
47
+ * Tags: { // TagMap
48
48
  * "<keys>": "STRING_VALUE",
49
49
  * },
50
50
  * };
@@ -37,7 +37,7 @@ export interface DeleteIndexCommandOutput extends DeleteIndexOutput, __MetadataB
37
37
  * import { ResourceExplorer2Client, DeleteIndexCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
38
38
  * // const { ResourceExplorer2Client, DeleteIndexCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
39
39
  * const client = new ResourceExplorer2Client(config);
40
- * const input = {
40
+ * const input = { // DeleteIndexInput
41
41
  * Arn: "STRING_VALUE", // required
42
42
  * };
43
43
  * const command = new DeleteIndexCommand(input);
@@ -29,7 +29,7 @@ export interface DeleteViewCommandOutput extends DeleteViewOutput, __MetadataBea
29
29
  * import { ResourceExplorer2Client, DeleteViewCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
30
30
  * // const { ResourceExplorer2Client, DeleteViewCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
31
31
  * const client = new ResourceExplorer2Client(config);
32
- * const input = {
32
+ * const input = { // DeleteViewInput
33
33
  * ViewArn: "STRING_VALUE", // required
34
34
  * };
35
35
  * const command = new DeleteViewCommand(input);
@@ -26,7 +26,7 @@ export interface GetViewCommandOutput extends GetViewOutput, __MetadataBearer {
26
26
  * import { ResourceExplorer2Client, GetViewCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
27
27
  * // const { ResourceExplorer2Client, GetViewCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
28
28
  * const client = new ResourceExplorer2Client(config);
29
- * const input = {
29
+ * const input = { // GetViewInput
30
30
  * ViewArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetViewCommand(input);
@@ -27,9 +27,9 @@ export interface ListIndexesCommandOutput extends ListIndexesOutput, __MetadataB
27
27
  * import { ResourceExplorer2Client, ListIndexesCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
28
28
  * // const { ResourceExplorer2Client, ListIndexesCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
29
29
  * const client = new ResourceExplorer2Client(config);
30
- * const input = {
30
+ * const input = { // ListIndexesInput
31
31
  * Type: "STRING_VALUE",
32
- * Regions: [
32
+ * Regions: [ // RegionList
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * MaxResults: Number("int"),
@@ -26,7 +26,7 @@ export interface ListSupportedResourceTypesCommandOutput extends ListSupportedRe
26
26
  * import { ResourceExplorer2Client, ListSupportedResourceTypesCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
27
27
  * // const { ResourceExplorer2Client, ListSupportedResourceTypesCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
28
28
  * const client = new ResourceExplorer2Client(config);
29
- * const input = {
29
+ * const input = { // ListSupportedResourceTypesInput
30
30
  * NextToken: "STRING_VALUE",
31
31
  * MaxResults: Number("int"),
32
32
  * };
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
26
26
  * import { ResourceExplorer2Client, ListTagsForResourceCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
27
27
  * // const { ResourceExplorer2Client, ListTagsForResourceCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
28
28
  * const client = new ResourceExplorer2Client(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceInput
30
30
  * resourceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -35,7 +35,7 @@ export interface ListViewsCommandOutput extends ListViewsOutput, __MetadataBeare
35
35
  * import { ResourceExplorer2Client, ListViewsCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
36
36
  * // const { ResourceExplorer2Client, ListViewsCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
37
37
  * const client = new ResourceExplorer2Client(config);
38
- * const input = {
38
+ * const input = { // ListViewsInput
39
39
  * NextToken: "STRING_VALUE",
40
40
  * MaxResults: Number("int"),
41
41
  * };
@@ -38,7 +38,7 @@ export interface SearchCommandOutput extends SearchOutput, __MetadataBearer {
38
38
  * import { ResourceExplorer2Client, SearchCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
39
39
  * // const { ResourceExplorer2Client, SearchCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
40
40
  * const client = new ResourceExplorer2Client(config);
41
- * const input = {
41
+ * const input = { // SearchInput
42
42
  * QueryString: "STRING_VALUE", // required
43
43
  * MaxResults: Number("int"),
44
44
  * ViewArn: "STRING_VALUE",
@@ -26,9 +26,9 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
26
26
  * import { ResourceExplorer2Client, TagResourceCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
27
27
  * // const { ResourceExplorer2Client, TagResourceCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
28
28
  * const client = new ResourceExplorer2Client(config);
29
- * const input = {
29
+ * const input = { // TagResourceInput
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * Tags: {
31
+ * Tags: { // TagMap
32
32
  * "<keys>": "STRING_VALUE",
33
33
  * },
34
34
  * };
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
26
26
  * import { ResourceExplorer2Client, UntagResourceCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
27
27
  * // const { ResourceExplorer2Client, UntagResourceCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
28
28
  * const client = new ResourceExplorer2Client(config);
29
- * const input = {
29
+ * const input = { // UntagResourceInput
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tagKeys: [ // required
31
+ * tagKeys: [ // StringList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -82,7 +82,7 @@ export interface UpdateIndexTypeCommandOutput extends UpdateIndexTypeOutput, __M
82
82
  * import { ResourceExplorer2Client, UpdateIndexTypeCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
83
83
  * // const { ResourceExplorer2Client, UpdateIndexTypeCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
84
84
  * const client = new ResourceExplorer2Client(config);
85
- * const input = {
85
+ * const input = { // UpdateIndexTypeInput
86
86
  * Arn: "STRING_VALUE", // required
87
87
  * Type: "STRING_VALUE", // required
88
88
  * };
@@ -27,14 +27,14 @@ export interface UpdateViewCommandOutput extends UpdateViewOutput, __MetadataBea
27
27
  * import { ResourceExplorer2Client, UpdateViewCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
28
28
  * // const { ResourceExplorer2Client, UpdateViewCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
29
29
  * const client = new ResourceExplorer2Client(config);
30
- * const input = {
30
+ * const input = { // UpdateViewInput
31
31
  * ViewArn: "STRING_VALUE", // required
32
- * IncludedProperties: [
33
- * {
32
+ * IncludedProperties: [ // IncludedPropertyList
33
+ * { // IncludedProperty
34
34
  * Name: "STRING_VALUE", // required
35
35
  * },
36
36
  * ],
37
- * Filters: {
37
+ * Filters: { // SearchFilter
38
38
  * FilterString: "STRING_VALUE", // required
39
39
  * },
40
40
  * };
@@ -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.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,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.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
  "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",