@aws-sdk/client-direct-connect 3.52.0 → 3.53.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.
@@ -2,3 +2,4 @@ export * from "./DirectConnect";
2
2
  export * from "./DirectConnectClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { DirectConnectServiceException } from "./models/DirectConnectServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from DirectConnect service.
4
+ */
5
+ export declare class DirectConnectServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { DirectConnectServiceException as __BaseException } from "./DirectConnectServiceException";
2
3
  /**
3
4
  * <p>Information about a route filter prefix that a customer can advertise through Border Gateway Protocol (BGP)
4
5
  * over a public virtual interface.</p>
@@ -158,18 +159,24 @@ export declare namespace AcceptDirectConnectGatewayAssociationProposalResult {
158
159
  /**
159
160
  * <p>One or more parameters are not valid.</p>
160
161
  */
161
- export interface DirectConnectClientException extends __SmithyException, $MetadataBearer {
162
- name: "DirectConnectClientException";
163
- $fault: "client";
164
- message?: string;
162
+ export declare class DirectConnectClientException extends __BaseException {
163
+ readonly name: "DirectConnectClientException";
164
+ readonly $fault: "client";
165
+ /**
166
+ * @internal
167
+ */
168
+ constructor(opts: __ExceptionOptionType<DirectConnectClientException, __BaseException>);
165
169
  }
166
170
  /**
167
171
  * <p>A server-side error occurred.</p>
168
172
  */
169
- export interface DirectConnectServerException extends __SmithyException, $MetadataBearer {
170
- name: "DirectConnectServerException";
171
- $fault: "server";
172
- message?: string;
173
+ export declare class DirectConnectServerException extends __BaseException {
174
+ readonly name: "DirectConnectServerException";
175
+ readonly $fault: "server";
176
+ /**
177
+ * @internal
178
+ */
179
+ constructor(opts: __ExceptionOptionType<DirectConnectServerException, __BaseException>);
173
180
  }
174
181
  export declare enum AddressFamily {
175
182
  IPv4 = "ipv4",
@@ -474,18 +481,24 @@ export declare namespace AllocateHostedConnectionRequest {
474
481
  /**
475
482
  * <p>A tag key was specified more than once.</p>
476
483
  */
477
- export interface DuplicateTagKeysException extends __SmithyException, $MetadataBearer {
478
- name: "DuplicateTagKeysException";
479
- $fault: "client";
480
- message?: string;
484
+ export declare class DuplicateTagKeysException extends __BaseException {
485
+ readonly name: "DuplicateTagKeysException";
486
+ readonly $fault: "client";
487
+ /**
488
+ * @internal
489
+ */
490
+ constructor(opts: __ExceptionOptionType<DuplicateTagKeysException, __BaseException>);
481
491
  }
482
492
  /**
483
493
  * <p>You have reached the limit on the number of tags that can be assigned.</p>
484
494
  */
485
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
486
- name: "TooManyTagsException";
487
- $fault: "client";
488
- message?: string;
495
+ export declare class TooManyTagsException extends __BaseException {
496
+ readonly name: "TooManyTagsException";
497
+ readonly $fault: "client";
498
+ /**
499
+ * @internal
500
+ */
501
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
489
502
  }
490
503
  /**
491
504
  * <p>Information about a private virtual interface to be provisioned on a connection.</p>
@@ -2,3 +2,4 @@ export * from "./DirectConnect";
2
2
  export * from "./DirectConnectClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { DirectConnectServiceException } from "./models/DirectConnectServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class DirectConnectServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { DirectConnectServiceException as __BaseException } from "./DirectConnectServiceException";
2
3
 
3
4
  export interface RouteFilterPrefix {
4
5
 
@@ -78,16 +79,18 @@ export declare namespace AcceptDirectConnectGatewayAssociationProposalResult {
78
79
  const filterSensitiveLog: (obj: AcceptDirectConnectGatewayAssociationProposalResult) => any;
79
80
  }
80
81
 
81
- export interface DirectConnectClientException extends __SmithyException, $MetadataBearer {
82
- name: "DirectConnectClientException";
83
- $fault: "client";
84
- message?: string;
82
+ export declare class DirectConnectClientException extends __BaseException {
83
+ readonly name: "DirectConnectClientException";
84
+ readonly $fault: "client";
85
+
86
+ constructor(opts: __ExceptionOptionType<DirectConnectClientException, __BaseException>);
85
87
  }
86
88
 
87
- export interface DirectConnectServerException extends __SmithyException, $MetadataBearer {
88
- name: "DirectConnectServerException";
89
- $fault: "server";
90
- message?: string;
89
+ export declare class DirectConnectServerException extends __BaseException {
90
+ readonly name: "DirectConnectServerException";
91
+ readonly $fault: "server";
92
+
93
+ constructor(opts: __ExceptionOptionType<DirectConnectServerException, __BaseException>);
91
94
  }
92
95
  export declare enum AddressFamily {
93
96
  IPv4 = "ipv4",
@@ -222,16 +225,18 @@ export declare namespace AllocateHostedConnectionRequest {
222
225
  const filterSensitiveLog: (obj: AllocateHostedConnectionRequest) => any;
223
226
  }
224
227
 
225
- export interface DuplicateTagKeysException extends __SmithyException, $MetadataBearer {
226
- name: "DuplicateTagKeysException";
227
- $fault: "client";
228
- message?: string;
228
+ export declare class DuplicateTagKeysException extends __BaseException {
229
+ readonly name: "DuplicateTagKeysException";
230
+ readonly $fault: "client";
231
+
232
+ constructor(opts: __ExceptionOptionType<DuplicateTagKeysException, __BaseException>);
229
233
  }
230
234
 
231
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
232
- name: "TooManyTagsException";
233
- $fault: "client";
234
- message?: string;
235
+ export declare class TooManyTagsException extends __BaseException {
236
+ readonly name: "TooManyTagsException";
237
+ readonly $fault: "client";
238
+
239
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
235
240
  }
236
241
 
237
242
  export interface NewPrivateVirtualInterfaceAllocation {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-direct-connect",
3
3
  "description": "AWS SDK for JavaScript Direct Connect Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.53.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",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"