@aws-sdk/client-resource-explorer-2 3.936.0 → 3.939.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.
package/dist-cjs/index.js CHANGED
@@ -1580,6 +1580,28 @@ const paginateListViews = core.createPaginator(ResourceExplorer2Client, ListView
1580
1580
 
1581
1581
  const paginateSearch = core.createPaginator(ResourceExplorer2Client, SearchCommand, "NextToken", "NextToken", "MaxResults");
1582
1582
 
1583
+ const AWSServiceAccessStatus = {
1584
+ DISABLED: "DISABLED",
1585
+ ENABLED: "ENABLED",
1586
+ };
1587
+ const IndexState = {
1588
+ ACTIVE: "ACTIVE",
1589
+ CREATING: "CREATING",
1590
+ DELETED: "DELETED",
1591
+ DELETING: "DELETING",
1592
+ UPDATING: "UPDATING",
1593
+ };
1594
+ const IndexType = {
1595
+ AGGREGATOR: "AGGREGATOR",
1596
+ LOCAL: "LOCAL",
1597
+ };
1598
+ const OperationStatus = {
1599
+ FAILED: "FAILED",
1600
+ IN_PROGRESS: "IN_PROGRESS",
1601
+ SKIPPED: "SKIPPED",
1602
+ SUCCEEDED: "SUCCEEDED",
1603
+ };
1604
+
1583
1605
  Object.defineProperty(exports, "$Command", {
1584
1606
  enumerable: true,
1585
1607
  get: function () { return smithyClient.Command; }
@@ -1588,6 +1610,7 @@ Object.defineProperty(exports, "__Client", {
1588
1610
  enumerable: true,
1589
1611
  get: function () { return smithyClient.Client; }
1590
1612
  });
1613
+ exports.AWSServiceAccessStatus = AWSServiceAccessStatus;
1591
1614
  exports.AccessDeniedException = AccessDeniedException$1;
1592
1615
  exports.AssociateDefaultViewCommand = AssociateDefaultViewCommand;
1593
1616
  exports.BatchGetViewCommand = BatchGetViewCommand;
@@ -1607,6 +1630,8 @@ exports.GetResourceExplorerSetupCommand = GetResourceExplorerSetupCommand;
1607
1630
  exports.GetServiceIndexCommand = GetServiceIndexCommand;
1608
1631
  exports.GetServiceViewCommand = GetServiceViewCommand;
1609
1632
  exports.GetViewCommand = GetViewCommand;
1633
+ exports.IndexState = IndexState;
1634
+ exports.IndexType = IndexType;
1610
1635
  exports.InternalServerException = InternalServerException$1;
1611
1636
  exports.ListIndexesCommand = ListIndexesCommand;
1612
1637
  exports.ListIndexesForMembersCommand = ListIndexesForMembersCommand;
@@ -1618,6 +1643,7 @@ exports.ListStreamingAccessForServicesCommand = ListStreamingAccessForServicesCo
1618
1643
  exports.ListSupportedResourceTypesCommand = ListSupportedResourceTypesCommand;
1619
1644
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1620
1645
  exports.ListViewsCommand = ListViewsCommand;
1646
+ exports.OperationStatus = OperationStatus;
1621
1647
  exports.ResourceExplorer2 = ResourceExplorer2;
1622
1648
  exports.ResourceExplorer2Client = ResourceExplorer2Client;
1623
1649
  exports.ResourceExplorer2ServiceException = ResourceExplorer2ServiceException$1;
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./ResourceExplorer2Client";
2
2
  export * from "./ResourceExplorer2";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
+ export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { ResourceExplorer2ServiceException } from "./models/ResourceExplorer2ServiceException";
@@ -0,0 +1,21 @@
1
+ export const AWSServiceAccessStatus = {
2
+ DISABLED: "DISABLED",
3
+ ENABLED: "ENABLED",
4
+ };
5
+ export const IndexState = {
6
+ ACTIVE: "ACTIVE",
7
+ CREATING: "CREATING",
8
+ DELETED: "DELETED",
9
+ DELETING: "DELETING",
10
+ UPDATING: "UPDATING",
11
+ };
12
+ export const IndexType = {
13
+ AGGREGATOR: "AGGREGATOR",
14
+ LOCAL: "LOCAL",
15
+ };
16
+ export const OperationStatus = {
17
+ FAILED: "FAILED",
18
+ IN_PROGRESS: "IN_PROGRESS",
19
+ SKIPPED: "SKIPPED",
20
+ SUCCEEDED: "SUCCEEDED",
21
+ };
@@ -1,21 +1 @@
1
- export const AWSServiceAccessStatus = {
2
- DISABLED: "DISABLED",
3
- ENABLED: "ENABLED",
4
- };
5
- export const IndexState = {
6
- ACTIVE: "ACTIVE",
7
- CREATING: "CREATING",
8
- DELETED: "DELETED",
9
- DELETING: "DELETING",
10
- UPDATING: "UPDATING",
11
- };
12
- export const IndexType = {
13
- AGGREGATOR: "AGGREGATOR",
14
- LOCAL: "LOCAL",
15
- };
16
- export const OperationStatus = {
17
- FAILED: "FAILED",
18
- IN_PROGRESS: "IN_PROGRESS",
19
- SKIPPED: "SKIPPED",
20
- SUCCEEDED: "SUCCEEDED",
21
- };
1
+ export {};
@@ -10,6 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { ResourceExplorer2ExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
+ export * from "./models/enums";
13
14
  export * from "./models/errors";
14
15
  export type * from "./models/models_0";
15
16
  export { ResourceExplorer2ServiceException } from "./models/ResourceExplorer2ServiceException";
@@ -0,0 +1,74 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AWSServiceAccessStatus: {
6
+ readonly DISABLED: "DISABLED";
7
+ readonly ENABLED: "ENABLED";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type AWSServiceAccessStatus = (typeof AWSServiceAccessStatus)[keyof typeof AWSServiceAccessStatus];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const IndexState: {
18
+ /**
19
+ * Index is active.
20
+ */
21
+ readonly ACTIVE: "ACTIVE";
22
+ /**
23
+ * Resource Explorer is creating the index.
24
+ */
25
+ readonly CREATING: "CREATING";
26
+ /**
27
+ * Resource Explorer successfully deleted the index.
28
+ */
29
+ readonly DELETED: "DELETED";
30
+ /**
31
+ * Resource Explorer is deleting the index.
32
+ */
33
+ readonly DELETING: "DELETING";
34
+ /**
35
+ * Resource Explorer is switching the index type between local and aggregator.
36
+ */
37
+ readonly UPDATING: "UPDATING";
38
+ };
39
+ /**
40
+ * @public
41
+ */
42
+ export type IndexState = (typeof IndexState)[keyof typeof IndexState];
43
+ /**
44
+ * @public
45
+ * @enum
46
+ */
47
+ export declare const IndexType: {
48
+ /**
49
+ * aggregator index
50
+ */
51
+ readonly AGGREGATOR: "AGGREGATOR";
52
+ /**
53
+ * local index
54
+ */
55
+ readonly LOCAL: "LOCAL";
56
+ };
57
+ /**
58
+ * @public
59
+ */
60
+ export type IndexType = (typeof IndexType)[keyof typeof IndexType];
61
+ /**
62
+ * @public
63
+ * @enum
64
+ */
65
+ export declare const OperationStatus: {
66
+ readonly FAILED: "FAILED";
67
+ readonly IN_PROGRESS: "IN_PROGRESS";
68
+ readonly SKIPPED: "SKIPPED";
69
+ readonly SUCCEEDED: "SUCCEEDED";
70
+ };
71
+ /**
72
+ * @public
73
+ */
74
+ export type OperationStatus = (typeof OperationStatus)[keyof typeof OperationStatus];
@@ -1,4 +1,5 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
+ import { AWSServiceAccessStatus, IndexState, IndexType, OperationStatus } from "./enums";
2
3
  /**
3
4
  * @public
4
5
  */
@@ -35,18 +36,6 @@ export interface ValidationExceptionField {
35
36
  */
36
37
  ValidationIssue: string | undefined;
37
38
  }
38
- /**
39
- * @public
40
- * @enum
41
- */
42
- export declare const AWSServiceAccessStatus: {
43
- readonly DISABLED: "DISABLED";
44
- readonly ENABLED: "ENABLED";
45
- };
46
- /**
47
- * @public
48
- */
49
- export type AWSServiceAccessStatus = (typeof AWSServiceAccessStatus)[keyof typeof AWSServiceAccessStatus];
50
39
  /**
51
40
  * @public
52
41
  */
@@ -161,36 +150,6 @@ export interface CreateIndexInput {
161
150
  */
162
151
  Tags?: Record<string, string> | undefined;
163
152
  }
164
- /**
165
- * @public
166
- * @enum
167
- */
168
- export declare const IndexState: {
169
- /**
170
- * Index is active.
171
- */
172
- readonly ACTIVE: "ACTIVE";
173
- /**
174
- * Resource Explorer is creating the index.
175
- */
176
- readonly CREATING: "CREATING";
177
- /**
178
- * Resource Explorer successfully deleted the index.
179
- */
180
- readonly DELETED: "DELETED";
181
- /**
182
- * Resource Explorer is deleting the index.
183
- */
184
- readonly DELETING: "DELETING";
185
- /**
186
- * Resource Explorer is switching the index type between local and aggregator.
187
- */
188
- readonly UPDATING: "UPDATING";
189
- };
190
- /**
191
- * @public
192
- */
193
- export type IndexState = (typeof IndexState)[keyof typeof IndexState];
194
153
  /**
195
154
  * @public
196
155
  */
@@ -241,24 +200,6 @@ export interface DeleteIndexOutput {
241
200
  */
242
201
  LastUpdatedAt?: Date | undefined;
243
202
  }
244
- /**
245
- * @public
246
- * @enum
247
- */
248
- export declare const IndexType: {
249
- /**
250
- * aggregator index
251
- */
252
- readonly AGGREGATOR: "AGGREGATOR";
253
- /**
254
- * local index
255
- */
256
- readonly LOCAL: "LOCAL";
257
- };
258
- /**
259
- * @public
260
- */
261
- export type IndexType = (typeof IndexType)[keyof typeof IndexType];
262
203
  /**
263
204
  * @public
264
205
  */
@@ -758,20 +699,6 @@ export interface GetResourceExplorerSetupInput {
758
699
  */
759
700
  NextToken?: string | undefined;
760
701
  }
761
- /**
762
- * @public
763
- * @enum
764
- */
765
- export declare const OperationStatus: {
766
- readonly FAILED: "FAILED";
767
- readonly IN_PROGRESS: "IN_PROGRESS";
768
- readonly SKIPPED: "SKIPPED";
769
- readonly SUCCEEDED: "SUCCEEDED";
770
- };
771
- /**
772
- * @public
773
- */
774
- export type OperationStatus = (typeof OperationStatus)[keyof typeof OperationStatus];
775
702
  /**
776
703
  * <p>Contains information about the status of a Resource Explorer index operation in a specific Region.</p>
777
704
  * @public
@@ -5,6 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ResourceExplorer2ExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
+ export * from "./models/enums";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
10
11
  export { ResourceExplorer2ServiceException } from "./models/ResourceExplorer2ServiceException";
@@ -0,0 +1,27 @@
1
+ export declare const AWSServiceAccessStatus: {
2
+ readonly DISABLED: "DISABLED";
3
+ readonly ENABLED: "ENABLED";
4
+ };
5
+ export type AWSServiceAccessStatus =
6
+ (typeof AWSServiceAccessStatus)[keyof typeof AWSServiceAccessStatus];
7
+ export declare const IndexState: {
8
+ readonly ACTIVE: "ACTIVE";
9
+ readonly CREATING: "CREATING";
10
+ readonly DELETED: "DELETED";
11
+ readonly DELETING: "DELETING";
12
+ readonly UPDATING: "UPDATING";
13
+ };
14
+ export type IndexState = (typeof IndexState)[keyof typeof IndexState];
15
+ export declare const IndexType: {
16
+ readonly AGGREGATOR: "AGGREGATOR";
17
+ readonly LOCAL: "LOCAL";
18
+ };
19
+ export type IndexType = (typeof IndexType)[keyof typeof IndexType];
20
+ export declare const OperationStatus: {
21
+ readonly FAILED: "FAILED";
22
+ readonly IN_PROGRESS: "IN_PROGRESS";
23
+ readonly SKIPPED: "SKIPPED";
24
+ readonly SUCCEEDED: "SUCCEEDED";
25
+ };
26
+ export type OperationStatus =
27
+ (typeof OperationStatus)[keyof typeof OperationStatus];
@@ -1,4 +1,10 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
+ import {
3
+ AWSServiceAccessStatus,
4
+ IndexState,
5
+ IndexType,
6
+ OperationStatus,
7
+ } from "./enums";
2
8
  export interface AssociateDefaultViewInput {
3
9
  ViewArn: string | undefined;
4
10
  }
@@ -9,12 +15,6 @@ export interface ValidationExceptionField {
9
15
  Name: string | undefined;
10
16
  ValidationIssue: string | undefined;
11
17
  }
12
- export declare const AWSServiceAccessStatus: {
13
- readonly DISABLED: "DISABLED";
14
- readonly ENABLED: "ENABLED";
15
- };
16
- export type AWSServiceAccessStatus =
17
- (typeof AWSServiceAccessStatus)[keyof typeof AWSServiceAccessStatus];
18
18
  export interface BatchGetViewInput {
19
19
  ViewArns?: string[] | undefined;
20
20
  }
@@ -44,14 +44,6 @@ export interface CreateIndexInput {
44
44
  ClientToken?: string | undefined;
45
45
  Tags?: Record<string, string> | undefined;
46
46
  }
47
- export declare const IndexState: {
48
- readonly ACTIVE: "ACTIVE";
49
- readonly CREATING: "CREATING";
50
- readonly DELETED: "DELETED";
51
- readonly DELETING: "DELETING";
52
- readonly UPDATING: "UPDATING";
53
- };
54
- export type IndexState = (typeof IndexState)[keyof typeof IndexState];
55
47
  export interface CreateIndexOutput {
56
48
  Arn?: string | undefined;
57
49
  State?: IndexState | undefined;
@@ -65,11 +57,6 @@ export interface DeleteIndexOutput {
65
57
  State?: IndexState | undefined;
66
58
  LastUpdatedAt?: Date | undefined;
67
59
  }
68
- export declare const IndexType: {
69
- readonly AGGREGATOR: "AGGREGATOR";
70
- readonly LOCAL: "LOCAL";
71
- };
72
- export type IndexType = (typeof IndexType)[keyof typeof IndexType];
73
60
  export interface ListIndexesInput {
74
61
  Type?: IndexType | undefined;
75
62
  Regions?: string[] | undefined;
@@ -197,14 +184,6 @@ export interface GetResourceExplorerSetupInput {
197
184
  MaxResults?: number | undefined;
198
185
  NextToken?: string | undefined;
199
186
  }
200
- export declare const OperationStatus: {
201
- readonly FAILED: "FAILED";
202
- readonly IN_PROGRESS: "IN_PROGRESS";
203
- readonly SKIPPED: "SKIPPED";
204
- readonly SUCCEEDED: "SUCCEEDED";
205
- };
206
- export type OperationStatus =
207
- (typeof OperationStatus)[keyof typeof OperationStatus];
208
187
  export interface IndexStatus {
209
188
  Status?: OperationStatus | undefined;
210
189
  Index?: Index | undefined;
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.936.0",
4
+ "version": "3.939.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-explorer-2",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.939.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",