@aws-sdk/client-resource-explorer-2 3.933.0 → 3.935.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
@@ -189,10 +189,6 @@ let ValidationException$1 = class ValidationException extends ResourceExplorer2S
189
189
  this.FieldList = opts.FieldList;
190
190
  }
191
191
  };
192
- const AWSServiceAccessStatus = {
193
- DISABLED: "DISABLED",
194
- ENABLED: "ENABLED",
195
- };
196
192
  let UnauthorizedException$1 = class UnauthorizedException extends ResourceExplorer2ServiceException$1 {
197
193
  name = "UnauthorizedException";
198
194
  $fault = "client";
@@ -221,17 +217,6 @@ let ConflictException$1 = class ConflictException extends ResourceExplorer2Servi
221
217
  this.Message = opts.Message;
222
218
  }
223
219
  };
224
- const IndexState = {
225
- ACTIVE: "ACTIVE",
226
- CREATING: "CREATING",
227
- DELETED: "DELETED",
228
- DELETING: "DELETING",
229
- UPDATING: "UPDATING",
230
- };
231
- const IndexType = {
232
- AGGREGATOR: "AGGREGATOR",
233
- LOCAL: "LOCAL",
234
- };
235
220
  let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends ResourceExplorer2ServiceException$1 {
236
221
  name = "ServiceQuotaExceededException";
237
222
  $fault = "client";
@@ -250,12 +235,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
250
235
  this.Value = opts.Value;
251
236
  }
252
237
  };
253
- const OperationStatus = {
254
- FAILED: "FAILED",
255
- IN_PROGRESS: "IN_PROGRESS",
256
- SKIPPED: "SKIPPED",
257
- SUCCEEDED: "SUCCEEDED",
258
- };
259
238
 
260
239
  const _A = "Arn";
261
240
  const _ADE = "AccessDeniedException";
@@ -1609,7 +1588,6 @@ Object.defineProperty(exports, "__Client", {
1609
1588
  enumerable: true,
1610
1589
  get: function () { return smithyClient.Client; }
1611
1590
  });
1612
- exports.AWSServiceAccessStatus = AWSServiceAccessStatus;
1613
1591
  exports.AccessDeniedException = AccessDeniedException$1;
1614
1592
  exports.AssociateDefaultViewCommand = AssociateDefaultViewCommand;
1615
1593
  exports.BatchGetViewCommand = BatchGetViewCommand;
@@ -1629,8 +1607,6 @@ exports.GetResourceExplorerSetupCommand = GetResourceExplorerSetupCommand;
1629
1607
  exports.GetServiceIndexCommand = GetServiceIndexCommand;
1630
1608
  exports.GetServiceViewCommand = GetServiceViewCommand;
1631
1609
  exports.GetViewCommand = GetViewCommand;
1632
- exports.IndexState = IndexState;
1633
- exports.IndexType = IndexType;
1634
1610
  exports.InternalServerException = InternalServerException$1;
1635
1611
  exports.ListIndexesCommand = ListIndexesCommand;
1636
1612
  exports.ListIndexesForMembersCommand = ListIndexesForMembersCommand;
@@ -1642,7 +1618,6 @@ exports.ListStreamingAccessForServicesCommand = ListStreamingAccessForServicesCo
1642
1618
  exports.ListSupportedResourceTypesCommand = ListSupportedResourceTypesCommand;
1643
1619
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1644
1620
  exports.ListViewsCommand = ListViewsCommand;
1645
- exports.OperationStatus = OperationStatus;
1646
1621
  exports.ResourceExplorer2 = ResourceExplorer2;
1647
1622
  exports.ResourceExplorer2Client = ResourceExplorer2Client;
1648
1623
  exports.ResourceExplorer2ServiceException = ResourceExplorer2ServiceException$1;
package/dist-es/index.js CHANGED
@@ -2,5 +2,5 @@ export * from "./ResourceExplorer2Client";
2
2
  export * from "./ResourceExplorer2";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/errors";
6
6
  export { ResourceExplorer2ServiceException } from "./models/ResourceExplorer2ServiceException";
@@ -0,0 +1,119 @@
1
+ import { ResourceExplorer2ServiceException as __BaseException } from "./ResourceExplorer2ServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "AccessDeniedException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class InternalServerException extends __BaseException {
17
+ name = "InternalServerException";
18
+ $fault = "server";
19
+ Message;
20
+ constructor(opts) {
21
+ super({
22
+ name: "InternalServerException",
23
+ $fault: "server",
24
+ ...opts,
25
+ });
26
+ Object.setPrototypeOf(this, InternalServerException.prototype);
27
+ this.Message = opts.Message;
28
+ }
29
+ }
30
+ export class ResourceNotFoundException extends __BaseException {
31
+ name = "ResourceNotFoundException";
32
+ $fault = "client";
33
+ Message;
34
+ constructor(opts) {
35
+ super({
36
+ name: "ResourceNotFoundException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
41
+ this.Message = opts.Message;
42
+ }
43
+ }
44
+ export class ThrottlingException extends __BaseException {
45
+ name = "ThrottlingException";
46
+ $fault = "client";
47
+ Message;
48
+ constructor(opts) {
49
+ super({
50
+ name: "ThrottlingException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
55
+ this.Message = opts.Message;
56
+ }
57
+ }
58
+ export class ValidationException extends __BaseException {
59
+ name = "ValidationException";
60
+ $fault = "client";
61
+ Message;
62
+ FieldList;
63
+ constructor(opts) {
64
+ super({
65
+ name: "ValidationException",
66
+ $fault: "client",
67
+ ...opts,
68
+ });
69
+ Object.setPrototypeOf(this, ValidationException.prototype);
70
+ this.Message = opts.Message;
71
+ this.FieldList = opts.FieldList;
72
+ }
73
+ }
74
+ export class UnauthorizedException extends __BaseException {
75
+ name = "UnauthorizedException";
76
+ $fault = "client";
77
+ Message;
78
+ constructor(opts) {
79
+ super({
80
+ name: "UnauthorizedException",
81
+ $fault: "client",
82
+ ...opts,
83
+ });
84
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
85
+ this.Message = opts.Message;
86
+ }
87
+ }
88
+ export class ConflictException extends __BaseException {
89
+ name = "ConflictException";
90
+ $fault = "client";
91
+ Message;
92
+ constructor(opts) {
93
+ super({
94
+ name: "ConflictException",
95
+ $fault: "client",
96
+ ...opts,
97
+ });
98
+ Object.setPrototypeOf(this, ConflictException.prototype);
99
+ this.Message = opts.Message;
100
+ }
101
+ }
102
+ export class ServiceQuotaExceededException extends __BaseException {
103
+ name = "ServiceQuotaExceededException";
104
+ $fault = "client";
105
+ Message;
106
+ Name;
107
+ Value;
108
+ constructor(opts) {
109
+ super({
110
+ name: "ServiceQuotaExceededException",
111
+ $fault: "client",
112
+ ...opts,
113
+ });
114
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
115
+ this.Message = opts.Message;
116
+ this.Name = opts.Name;
117
+ this.Value = opts.Value;
118
+ }
119
+ }
@@ -1,108 +1,7 @@
1
- import { ResourceExplorer2ServiceException as __BaseException } from "./ResourceExplorer2ServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- Message;
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
- this.Message = opts.Message;
14
- }
15
- }
16
- export class InternalServerException extends __BaseException {
17
- name = "InternalServerException";
18
- $fault = "server";
19
- Message;
20
- constructor(opts) {
21
- super({
22
- name: "InternalServerException",
23
- $fault: "server",
24
- ...opts,
25
- });
26
- Object.setPrototypeOf(this, InternalServerException.prototype);
27
- this.Message = opts.Message;
28
- }
29
- }
30
- export class ResourceNotFoundException extends __BaseException {
31
- name = "ResourceNotFoundException";
32
- $fault = "client";
33
- Message;
34
- constructor(opts) {
35
- super({
36
- name: "ResourceNotFoundException",
37
- $fault: "client",
38
- ...opts,
39
- });
40
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
41
- this.Message = opts.Message;
42
- }
43
- }
44
- export class ThrottlingException extends __BaseException {
45
- name = "ThrottlingException";
46
- $fault = "client";
47
- Message;
48
- constructor(opts) {
49
- super({
50
- name: "ThrottlingException",
51
- $fault: "client",
52
- ...opts,
53
- });
54
- Object.setPrototypeOf(this, ThrottlingException.prototype);
55
- this.Message = opts.Message;
56
- }
57
- }
58
- export class ValidationException extends __BaseException {
59
- name = "ValidationException";
60
- $fault = "client";
61
- Message;
62
- FieldList;
63
- constructor(opts) {
64
- super({
65
- name: "ValidationException",
66
- $fault: "client",
67
- ...opts,
68
- });
69
- Object.setPrototypeOf(this, ValidationException.prototype);
70
- this.Message = opts.Message;
71
- this.FieldList = opts.FieldList;
72
- }
73
- }
74
1
  export const AWSServiceAccessStatus = {
75
2
  DISABLED: "DISABLED",
76
3
  ENABLED: "ENABLED",
77
4
  };
78
- export class UnauthorizedException extends __BaseException {
79
- name = "UnauthorizedException";
80
- $fault = "client";
81
- Message;
82
- constructor(opts) {
83
- super({
84
- name: "UnauthorizedException",
85
- $fault: "client",
86
- ...opts,
87
- });
88
- Object.setPrototypeOf(this, UnauthorizedException.prototype);
89
- this.Message = opts.Message;
90
- }
91
- }
92
- export class ConflictException extends __BaseException {
93
- name = "ConflictException";
94
- $fault = "client";
95
- Message;
96
- constructor(opts) {
97
- super({
98
- name: "ConflictException",
99
- $fault: "client",
100
- ...opts,
101
- });
102
- Object.setPrototypeOf(this, ConflictException.prototype);
103
- this.Message = opts.Message;
104
- }
105
- }
106
5
  export const IndexState = {
107
6
  ACTIVE: "ACTIVE",
108
7
  CREATING: "CREATING",
@@ -114,24 +13,6 @@ export const IndexType = {
114
13
  AGGREGATOR: "AGGREGATOR",
115
14
  LOCAL: "LOCAL",
116
15
  };
117
- export class ServiceQuotaExceededException extends __BaseException {
118
- name = "ServiceQuotaExceededException";
119
- $fault = "client";
120
- Message;
121
- Name;
122
- Value;
123
- constructor(opts) {
124
- super({
125
- name: "ServiceQuotaExceededException",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
130
- this.Message = opts.Message;
131
- this.Name = opts.Name;
132
- this.Value = opts.Value;
133
- }
134
- }
135
16
  export const OperationStatus = {
136
17
  FAILED: "FAILED",
137
18
  IN_PROGRESS: "IN_PROGRESS",
@@ -203,7 +203,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.resourceexplorer2";
203
203
  const _tK = "tagKeys";
204
204
  const n0 = "com.amazonaws.resourceexplorer2";
205
205
  import { TypeRegistry } from "@smithy/core/schema";
206
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, UnauthorizedException as __UnauthorizedException, ValidationException as __ValidationException, } from "../models/index";
206
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, UnauthorizedException as __UnauthorizedException, ValidationException as __ValidationException, } from "../models/errors";
207
207
  import { ResourceExplorer2ServiceException as __ResourceExplorer2ServiceException } from "../models/ResourceExplorer2ServiceException";
208
208
  export var QueryString = [0, n0, _QS, 8, 0];
209
209
  export var AccessDeniedException = [
@@ -10,5 +10,6 @@ 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";
13
+ export * from "./models/errors";
14
+ export type * from "./models/models_0";
14
15
  export { ResourceExplorer2ServiceException } from "./models/ResourceExplorer2ServiceException";
@@ -0,0 +1,122 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ValidationExceptionField } from "./models_0";
3
+ import { ResourceExplorer2ServiceException as __BaseException } from "./ResourceExplorer2ServiceException";
4
+ /**
5
+ * <p>The credentials that you used to call this operation don't have the minimum required permissions.</p>
6
+ * @public
7
+ */
8
+ export declare class AccessDeniedException extends __BaseException {
9
+ readonly name: "AccessDeniedException";
10
+ readonly $fault: "client";
11
+ Message?: string | undefined;
12
+ /**
13
+ * @internal
14
+ */
15
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
16
+ }
17
+ /**
18
+ * <p>The request failed because of internal service error. Try your request again later.</p>
19
+ * @public
20
+ */
21
+ export declare class InternalServerException extends __BaseException {
22
+ readonly name: "InternalServerException";
23
+ readonly $fault: "server";
24
+ Message?: string | undefined;
25
+ /**
26
+ * @internal
27
+ */
28
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
29
+ }
30
+ /**
31
+ * <p>You specified a resource that doesn't exist. Check the ID or ARN that you used to identity the resource, and try again.</p>
32
+ * @public
33
+ */
34
+ export declare class ResourceNotFoundException extends __BaseException {
35
+ readonly name: "ResourceNotFoundException";
36
+ readonly $fault: "client";
37
+ Message?: string | undefined;
38
+ /**
39
+ * @internal
40
+ */
41
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
42
+ }
43
+ /**
44
+ * <p>The request failed because you exceeded a rate limit for this operation. For more information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for Resource Explorer</a>.</p>
45
+ * @public
46
+ */
47
+ export declare class ThrottlingException extends __BaseException {
48
+ readonly name: "ThrottlingException";
49
+ readonly $fault: "client";
50
+ Message?: string | undefined;
51
+ /**
52
+ * @internal
53
+ */
54
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
55
+ }
56
+ /**
57
+ * <p>You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.</p>
58
+ * @public
59
+ */
60
+ export declare class ValidationException extends __BaseException {
61
+ readonly name: "ValidationException";
62
+ readonly $fault: "client";
63
+ Message: string | undefined;
64
+ /**
65
+ * <p>An array of the request fields that had validation errors.</p>
66
+ * @public
67
+ */
68
+ FieldList?: ValidationExceptionField[] | undefined;
69
+ /**
70
+ * @internal
71
+ */
72
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
73
+ }
74
+ /**
75
+ * <p>The principal making the request isn't permitted to perform the operation.</p>
76
+ * @public
77
+ */
78
+ export declare class UnauthorizedException extends __BaseException {
79
+ readonly name: "UnauthorizedException";
80
+ readonly $fault: "client";
81
+ Message?: string | undefined;
82
+ /**
83
+ * @internal
84
+ */
85
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
86
+ }
87
+ /**
88
+ * <p>If you attempted to create a view, then the request failed because either you specified parameters that didn’t match the original request, or you attempted to create a view with a name that already exists in this Amazon Web Services Region.</p> <p>If you attempted to create an index, then the request failed because either you specified parameters that didn't match the original request, or an index already exists in the current Amazon Web Services Region.</p> <p>If you attempted to update an index type to <code>AGGREGATOR</code>, then the request failed because you already have an <code>AGGREGATOR</code> index in a different Amazon Web Services Region.</p>
89
+ * @public
90
+ */
91
+ export declare class ConflictException extends __BaseException {
92
+ readonly name: "ConflictException";
93
+ readonly $fault: "client";
94
+ Message: string | undefined;
95
+ /**
96
+ * @internal
97
+ */
98
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
99
+ }
100
+ /**
101
+ * <p>The request failed because it exceeds a service quota.</p>
102
+ * @public
103
+ */
104
+ export declare class ServiceQuotaExceededException extends __BaseException {
105
+ readonly name: "ServiceQuotaExceededException";
106
+ readonly $fault: "client";
107
+ Message: string | undefined;
108
+ /**
109
+ * <p>The name of the service quota that was exceeded by the request.</p>
110
+ * @public
111
+ */
112
+ Name: string | undefined;
113
+ /**
114
+ * <p>The current value for the quota that the request tried to exceed.</p>
115
+ * @public
116
+ */
117
+ Value: string | undefined;
118
+ /**
119
+ * @internal
120
+ */
121
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
122
+ }
@@ -1,19 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import { DocumentType as __DocumentType } from "@smithy/types";
3
- import { ResourceExplorer2ServiceException as __BaseException } from "./ResourceExplorer2ServiceException";
4
- /**
5
- * <p>The credentials that you used to call this operation don't have the minimum required permissions.</p>
6
- * @public
7
- */
8
- export declare class AccessDeniedException extends __BaseException {
9
- readonly name: "AccessDeniedException";
10
- readonly $fault: "client";
11
- Message?: string | undefined;
12
- /**
13
- * @internal
14
- */
15
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
16
- }
17
2
  /**
18
3
  * @public
19
4
  */
@@ -34,45 +19,6 @@ export interface AssociateDefaultViewOutput {
34
19
  */
35
20
  ViewArn?: string | undefined;
36
21
  }
37
- /**
38
- * <p>The request failed because of internal service error. Try your request again later.</p>
39
- * @public
40
- */
41
- export declare class InternalServerException extends __BaseException {
42
- readonly name: "InternalServerException";
43
- readonly $fault: "server";
44
- Message?: string | undefined;
45
- /**
46
- * @internal
47
- */
48
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
49
- }
50
- /**
51
- * <p>You specified a resource that doesn't exist. Check the ID or ARN that you used to identity the resource, and try again.</p>
52
- * @public
53
- */
54
- export declare class ResourceNotFoundException extends __BaseException {
55
- readonly name: "ResourceNotFoundException";
56
- readonly $fault: "client";
57
- Message?: string | undefined;
58
- /**
59
- * @internal
60
- */
61
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
62
- }
63
- /**
64
- * <p>The request failed because you exceeded a rate limit for this operation. For more information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for Resource Explorer</a>.</p>
65
- * @public
66
- */
67
- export declare class ThrottlingException extends __BaseException {
68
- readonly name: "ThrottlingException";
69
- readonly $fault: "client";
70
- Message?: string | undefined;
71
- /**
72
- * @internal
73
- */
74
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
75
- }
76
22
  /**
77
23
  * <p>A structure that describes a request field with a validation error.</p>
78
24
  * @public
@@ -89,24 +35,6 @@ export interface ValidationExceptionField {
89
35
  */
90
36
  ValidationIssue: string | undefined;
91
37
  }
92
- /**
93
- * <p>You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.</p>
94
- * @public
95
- */
96
- export declare class ValidationException extends __BaseException {
97
- readonly name: "ValidationException";
98
- readonly $fault: "client";
99
- Message: string | undefined;
100
- /**
101
- * <p>An array of the request fields that had validation errors.</p>
102
- * @public
103
- */
104
- FieldList?: ValidationExceptionField[] | undefined;
105
- /**
106
- * @internal
107
- */
108
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
109
- }
110
38
  /**
111
39
  * @public
112
40
  * @enum
@@ -218,32 +146,6 @@ export interface BatchGetViewOutput {
218
146
  */
219
147
  Errors?: BatchGetViewError[] | undefined;
220
148
  }
221
- /**
222
- * <p>The principal making the request isn't permitted to perform the operation.</p>
223
- * @public
224
- */
225
- export declare class UnauthorizedException extends __BaseException {
226
- readonly name: "UnauthorizedException";
227
- readonly $fault: "client";
228
- Message?: string | undefined;
229
- /**
230
- * @internal
231
- */
232
- constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
233
- }
234
- /**
235
- * <p>If you attempted to create a view, then the request failed because either you specified parameters that didn’t match the original request, or you attempted to create a view with a name that already exists in this Amazon Web Services Region.</p> <p>If you attempted to create an index, then the request failed because either you specified parameters that didn't match the original request, or an index already exists in the current Amazon Web Services Region.</p> <p>If you attempted to update an index type to <code>AGGREGATOR</code>, then the request failed because you already have an <code>AGGREGATOR</code> index in a different Amazon Web Services Region.</p>
236
- * @public
237
- */
238
- export declare class ConflictException extends __BaseException {
239
- readonly name: "ConflictException";
240
- readonly $fault: "client";
241
- Message: string | undefined;
242
- /**
243
- * @internal
244
- */
245
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
246
- }
247
149
  /**
248
150
  * @public
249
151
  */
@@ -418,29 +320,6 @@ export interface ListIndexesOutput {
418
320
  */
419
321
  NextToken?: string | undefined;
420
322
  }
421
- /**
422
- * <p>The request failed because it exceeds a service quota.</p>
423
- * @public
424
- */
425
- export declare class ServiceQuotaExceededException extends __BaseException {
426
- readonly name: "ServiceQuotaExceededException";
427
- readonly $fault: "client";
428
- Message: string | undefined;
429
- /**
430
- * <p>The name of the service quota that was exceeded by the request.</p>
431
- * @public
432
- */
433
- Name: string | undefined;
434
- /**
435
- * <p>The current value for the quota that the request tried to exceed.</p>
436
- * @public
437
- */
438
- Value: string | undefined;
439
- /**
440
- * @internal
441
- */
442
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
443
- }
444
323
  /**
445
324
  * @public
446
325
  */
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ResourceExplorer2ExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
9
10
  export { ResourceExplorer2ServiceException } from "./models/ResourceExplorer2ServiceException";
@@ -0,0 +1,68 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ValidationExceptionField } from "./models_0";
3
+ import { ResourceExplorer2ServiceException as __BaseException } from "./ResourceExplorer2ServiceException";
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+ Message?: string | undefined;
8
+ constructor(
9
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
10
+ );
11
+ }
12
+ export declare class InternalServerException extends __BaseException {
13
+ readonly name: "InternalServerException";
14
+ readonly $fault: "server";
15
+ Message?: string | undefined;
16
+ constructor(
17
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
18
+ );
19
+ }
20
+ export declare class ResourceNotFoundException extends __BaseException {
21
+ readonly name: "ResourceNotFoundException";
22
+ readonly $fault: "client";
23
+ Message?: string | undefined;
24
+ constructor(
25
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
26
+ );
27
+ }
28
+ export declare class ThrottlingException extends __BaseException {
29
+ readonly name: "ThrottlingException";
30
+ readonly $fault: "client";
31
+ Message?: string | undefined;
32
+ constructor(
33
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
34
+ );
35
+ }
36
+ export declare class ValidationException extends __BaseException {
37
+ readonly name: "ValidationException";
38
+ readonly $fault: "client";
39
+ Message: string | undefined;
40
+ FieldList?: ValidationExceptionField[] | undefined;
41
+ constructor(
42
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
43
+ );
44
+ }
45
+ export declare class UnauthorizedException extends __BaseException {
46
+ readonly name: "UnauthorizedException";
47
+ readonly $fault: "client";
48
+ Message?: string | undefined;
49
+ constructor(
50
+ opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
51
+ );
52
+ }
53
+ export declare class ConflictException extends __BaseException {
54
+ readonly name: "ConflictException";
55
+ readonly $fault: "client";
56
+ Message: string | undefined;
57
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
58
+ }
59
+ export declare class ServiceQuotaExceededException extends __BaseException {
60
+ readonly name: "ServiceQuotaExceededException";
61
+ readonly $fault: "client";
62
+ Message: string | undefined;
63
+ Name: string | undefined;
64
+ Value: string | undefined;
65
+ constructor(
66
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
67
+ );
68
+ }
@@ -1,57 +1,14 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import { DocumentType as __DocumentType } from "@smithy/types";
3
- import { ResourceExplorer2ServiceException as __BaseException } from "./ResourceExplorer2ServiceException";
4
- export declare class AccessDeniedException extends __BaseException {
5
- readonly name: "AccessDeniedException";
6
- readonly $fault: "client";
7
- Message?: string | undefined;
8
- constructor(
9
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
10
- );
11
- }
12
2
  export interface AssociateDefaultViewInput {
13
3
  ViewArn: string | undefined;
14
4
  }
15
5
  export interface AssociateDefaultViewOutput {
16
6
  ViewArn?: string | undefined;
17
7
  }
18
- export declare class InternalServerException extends __BaseException {
19
- readonly name: "InternalServerException";
20
- readonly $fault: "server";
21
- Message?: string | undefined;
22
- constructor(
23
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
24
- );
25
- }
26
- export declare class ResourceNotFoundException extends __BaseException {
27
- readonly name: "ResourceNotFoundException";
28
- readonly $fault: "client";
29
- Message?: string | undefined;
30
- constructor(
31
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
32
- );
33
- }
34
- export declare class ThrottlingException extends __BaseException {
35
- readonly name: "ThrottlingException";
36
- readonly $fault: "client";
37
- Message?: string | undefined;
38
- constructor(
39
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
40
- );
41
- }
42
8
  export interface ValidationExceptionField {
43
9
  Name: string | undefined;
44
10
  ValidationIssue: string | undefined;
45
11
  }
46
- export declare class ValidationException extends __BaseException {
47
- readonly name: "ValidationException";
48
- readonly $fault: "client";
49
- Message: string | undefined;
50
- FieldList?: ValidationExceptionField[] | undefined;
51
- constructor(
52
- opts: __ExceptionOptionType<ValidationException, __BaseException>
53
- );
54
- }
55
12
  export declare const AWSServiceAccessStatus: {
56
13
  readonly DISABLED: "DISABLED";
57
14
  readonly ENABLED: "ENABLED";
@@ -83,20 +40,6 @@ export interface BatchGetViewOutput {
83
40
  Views?: View[] | undefined;
84
41
  Errors?: BatchGetViewError[] | undefined;
85
42
  }
86
- export declare class UnauthorizedException extends __BaseException {
87
- readonly name: "UnauthorizedException";
88
- readonly $fault: "client";
89
- Message?: string | undefined;
90
- constructor(
91
- opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
92
- );
93
- }
94
- export declare class ConflictException extends __BaseException {
95
- readonly name: "ConflictException";
96
- readonly $fault: "client";
97
- Message: string | undefined;
98
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
99
- }
100
43
  export interface CreateIndexInput {
101
44
  ClientToken?: string | undefined;
102
45
  Tags?: Record<string, string> | undefined;
@@ -142,16 +85,6 @@ export interface ListIndexesOutput {
142
85
  Indexes?: Index[] | undefined;
143
86
  NextToken?: string | undefined;
144
87
  }
145
- export declare class ServiceQuotaExceededException extends __BaseException {
146
- readonly name: "ServiceQuotaExceededException";
147
- readonly $fault: "client";
148
- Message: string | undefined;
149
- Name: string | undefined;
150
- Value: string | undefined;
151
- constructor(
152
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
153
- );
154
- }
155
88
  export interface UpdateIndexTypeInput {
156
89
  Arn: string | undefined;
157
90
  Type: IndexType | 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.933.0",
4
+ "version": "3.935.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",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";