@aws-sdk/client-apigatewaymanagementapi 3.934.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-es/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export * from "./ApiGatewayManagementApiClient";
2
2
  export * from "./ApiGatewayManagementApi";
3
3
  export * from "./commands";
4
- export * from "./models";
4
+ export * from "./models/errors";
5
5
  export { ApiGatewayManagementApiServiceException } from "./models/ApiGatewayManagementApiServiceException";
@@ -0,0 +1,51 @@
1
+ import { ApiGatewayManagementApiServiceException as __BaseException } from "./ApiGatewayManagementApiServiceException";
2
+ export class ForbiddenException extends __BaseException {
3
+ name = "ForbiddenException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "ForbiddenException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
12
+ }
13
+ }
14
+ export class GoneException extends __BaseException {
15
+ name = "GoneException";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "GoneException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, GoneException.prototype);
24
+ }
25
+ }
26
+ export class LimitExceededException extends __BaseException {
27
+ name = "LimitExceededException";
28
+ $fault = "client";
29
+ constructor(opts) {
30
+ super({
31
+ name: "LimitExceededException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
36
+ }
37
+ }
38
+ export class PayloadTooLargeException extends __BaseException {
39
+ name = "PayloadTooLargeException";
40
+ $fault = "client";
41
+ Message;
42
+ constructor(opts) {
43
+ super({
44
+ name: "PayloadTooLargeException",
45
+ $fault: "client",
46
+ ...opts,
47
+ });
48
+ Object.setPrototypeOf(this, PayloadTooLargeException.prototype);
49
+ this.Message = opts.Message;
50
+ }
51
+ }
@@ -1,51 +1 @@
1
- import { ApiGatewayManagementApiServiceException as __BaseException } from "./ApiGatewayManagementApiServiceException";
2
- export class ForbiddenException extends __BaseException {
3
- name = "ForbiddenException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "ForbiddenException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, ForbiddenException.prototype);
12
- }
13
- }
14
- export class GoneException extends __BaseException {
15
- name = "GoneException";
16
- $fault = "client";
17
- constructor(opts) {
18
- super({
19
- name: "GoneException",
20
- $fault: "client",
21
- ...opts,
22
- });
23
- Object.setPrototypeOf(this, GoneException.prototype);
24
- }
25
- }
26
- export class LimitExceededException extends __BaseException {
27
- name = "LimitExceededException";
28
- $fault = "client";
29
- constructor(opts) {
30
- super({
31
- name: "LimitExceededException",
32
- $fault: "client",
33
- ...opts,
34
- });
35
- Object.setPrototypeOf(this, LimitExceededException.prototype);
36
- }
37
- }
38
- export class PayloadTooLargeException extends __BaseException {
39
- name = "PayloadTooLargeException";
40
- $fault = "client";
41
- Message;
42
- constructor(opts) {
43
- super({
44
- name: "PayloadTooLargeException",
45
- $fault: "client",
46
- ...opts,
47
- });
48
- Object.setPrototypeOf(this, PayloadTooLargeException.prototype);
49
- this.Message = opts.Message;
50
- }
51
- }
1
+ export {};
@@ -32,7 +32,7 @@ const _uA = "userAgent";
32
32
  const n0 = "com.amazonaws.apigatewaymanagementapi";
33
33
  import { TypeRegistry } from "@smithy/core/schema";
34
34
  import { ApiGatewayManagementApiServiceException as __ApiGatewayManagementApiServiceException } from "../models/ApiGatewayManagementApiServiceException";
35
- import { ForbiddenException as __ForbiddenException, GoneException as __GoneException, LimitExceededException as __LimitExceededException, PayloadTooLargeException as __PayloadTooLargeException, } from "../models/index";
35
+ import { ForbiddenException as __ForbiddenException, GoneException as __GoneException, LimitExceededException as __LimitExceededException, PayloadTooLargeException as __PayloadTooLargeException, } from "../models/errors";
36
36
  export var DeleteConnectionRequest = [3, n0, _DCR, 0, [_CI], [[0, 1]]];
37
37
  export var ForbiddenException = [
38
38
  -3,
@@ -9,5 +9,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { ApiGatewayManagementApiExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
- export * from "./models";
12
+ export * from "./models/errors";
13
+ export type * from "./models/models_0";
13
14
  export { ApiGatewayManagementApiServiceException } from "./models/ApiGatewayManagementApiServiceException";
@@ -0,0 +1,51 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ApiGatewayManagementApiServiceException as __BaseException } from "./ApiGatewayManagementApiServiceException";
3
+ /**
4
+ * <p>The caller is not authorized to invoke this operation.</p>
5
+ * @public
6
+ */
7
+ export declare class ForbiddenException extends __BaseException {
8
+ readonly name: "ForbiddenException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>The connection with the provided id no longer exists.</p>
17
+ * @public
18
+ */
19
+ export declare class GoneException extends __BaseException {
20
+ readonly name: "GoneException";
21
+ readonly $fault: "client";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<GoneException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>The client is sending more than the allowed number of requests per unit of time or the WebSocket client side buffer is full.</p>
29
+ * @public
30
+ */
31
+ export declare class LimitExceededException extends __BaseException {
32
+ readonly name: "LimitExceededException";
33
+ readonly $fault: "client";
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>The data has exceeded the maximum size allowed.</p>
41
+ * @public
42
+ */
43
+ export declare class PayloadTooLargeException extends __BaseException {
44
+ readonly name: "PayloadTooLargeException";
45
+ readonly $fault: "client";
46
+ Message?: string | undefined;
47
+ /**
48
+ * @internal
49
+ */
50
+ constructor(opts: __ExceptionOptionType<PayloadTooLargeException, __BaseException>);
51
+ }
@@ -1,47 +1,9 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ApiGatewayManagementApiServiceException as __BaseException } from "./ApiGatewayManagementApiServiceException";
3
1
  /**
4
2
  * @public
5
3
  */
6
4
  export interface DeleteConnectionRequest {
7
5
  ConnectionId: string | undefined;
8
6
  }
9
- /**
10
- * <p>The caller is not authorized to invoke this operation.</p>
11
- * @public
12
- */
13
- export declare class ForbiddenException extends __BaseException {
14
- readonly name: "ForbiddenException";
15
- readonly $fault: "client";
16
- /**
17
- * @internal
18
- */
19
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
20
- }
21
- /**
22
- * <p>The connection with the provided id no longer exists.</p>
23
- * @public
24
- */
25
- export declare class GoneException extends __BaseException {
26
- readonly name: "GoneException";
27
- readonly $fault: "client";
28
- /**
29
- * @internal
30
- */
31
- constructor(opts: __ExceptionOptionType<GoneException, __BaseException>);
32
- }
33
- /**
34
- * <p>The client is sending more than the allowed number of requests per unit of time or the WebSocket client side buffer is full.</p>
35
- * @public
36
- */
37
- export declare class LimitExceededException extends __BaseException {
38
- readonly name: "LimitExceededException";
39
- readonly $fault: "client";
40
- /**
41
- * @internal
42
- */
43
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
44
- }
45
7
  /**
46
8
  * @public
47
9
  */
@@ -79,19 +41,6 @@ export interface GetConnectionResponse {
79
41
  */
80
42
  LastActiveAt?: Date | undefined;
81
43
  }
82
- /**
83
- * <p>The data has exceeded the maximum size allowed.</p>
84
- * @public
85
- */
86
- export declare class PayloadTooLargeException extends __BaseException {
87
- readonly name: "PayloadTooLargeException";
88
- readonly $fault: "client";
89
- Message?: string | undefined;
90
- /**
91
- * @internal
92
- */
93
- constructor(opts: __ExceptionOptionType<PayloadTooLargeException, __BaseException>);
94
- }
95
44
  /**
96
45
  * @public
97
46
  */
@@ -4,5 +4,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ApiGatewayManagementApiExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
- export * from "./models";
7
+ export * from "./models/errors";
8
+ export * from "./models/models_0";
8
9
  export { ApiGatewayManagementApiServiceException } from "./models/ApiGatewayManagementApiServiceException";
@@ -0,0 +1,27 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ApiGatewayManagementApiServiceException as __BaseException } from "./ApiGatewayManagementApiServiceException";
3
+ export declare class ForbiddenException extends __BaseException {
4
+ readonly name: "ForbiddenException";
5
+ readonly $fault: "client";
6
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
7
+ }
8
+ export declare class GoneException extends __BaseException {
9
+ readonly name: "GoneException";
10
+ readonly $fault: "client";
11
+ constructor(opts: __ExceptionOptionType<GoneException, __BaseException>);
12
+ }
13
+ export declare class LimitExceededException extends __BaseException {
14
+ readonly name: "LimitExceededException";
15
+ readonly $fault: "client";
16
+ constructor(
17
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
18
+ );
19
+ }
20
+ export declare class PayloadTooLargeException extends __BaseException {
21
+ readonly name: "PayloadTooLargeException";
22
+ readonly $fault: "client";
23
+ Message?: string | undefined;
24
+ constructor(
25
+ opts: __ExceptionOptionType<PayloadTooLargeException, __BaseException>
26
+ );
27
+ }
@@ -1,25 +1,6 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ApiGatewayManagementApiServiceException as __BaseException } from "./ApiGatewayManagementApiServiceException";
3
1
  export interface DeleteConnectionRequest {
4
2
  ConnectionId: string | undefined;
5
3
  }
6
- export declare class ForbiddenException extends __BaseException {
7
- readonly name: "ForbiddenException";
8
- readonly $fault: "client";
9
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
10
- }
11
- export declare class GoneException extends __BaseException {
12
- readonly name: "GoneException";
13
- readonly $fault: "client";
14
- constructor(opts: __ExceptionOptionType<GoneException, __BaseException>);
15
- }
16
- export declare class LimitExceededException extends __BaseException {
17
- readonly name: "LimitExceededException";
18
- readonly $fault: "client";
19
- constructor(
20
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
21
- );
22
- }
23
4
  export interface GetConnectionRequest {
24
5
  ConnectionId: string | undefined;
25
6
  }
@@ -32,14 +13,6 @@ export interface GetConnectionResponse {
32
13
  Identity?: Identity | undefined;
33
14
  LastActiveAt?: Date | undefined;
34
15
  }
35
- export declare class PayloadTooLargeException extends __BaseException {
36
- readonly name: "PayloadTooLargeException";
37
- readonly $fault: "client";
38
- Message?: string | undefined;
39
- constructor(
40
- opts: __ExceptionOptionType<PayloadTooLargeException, __BaseException>
41
- );
42
- }
43
16
  export interface PostToConnectionRequest {
44
17
  Data: Uint8Array | undefined;
45
18
  ConnectionId: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-apigatewaymanagementapi",
3
3
  "description": "AWS SDK for JavaScript Apigatewaymanagementapi Client for Node.js, Browser and React Native",
4
- "version": "3.934.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-apigatewaymanagementapi",
@@ -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.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.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.934.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.934.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";