@aws-sdk/client-apigatewaymanagementapi 3.533.0 → 3.535.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.
@@ -24,8 +24,8 @@ export interface ApiGatewayManagementApi {
24
24
  postToConnection(args: PostToConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostToConnectionCommandOutput) => void): void;
25
25
  }
26
26
  /**
27
- * @public
28
27
  * <p>The Amazon API Gateway Management API allows you to directly manage runtime aspects of your deployed APIs. To use it, you must explicitly set the SDK's endpoint to point to the endpoint of your deployed API. The endpoint will be of the form https://\{api-id\}.execute-api.\{region\}.amazonaws.com/\{stage\}, or will be the endpoint corresponding to your API's custom domain and base path, if applicable.</p>
28
+ * @public
29
29
  */
30
30
  export declare class ApiGatewayManagementApi extends ApiGatewayManagementApiClient implements ApiGatewayManagementApi {
31
31
  }
@@ -154,8 +154,8 @@ export type ApiGatewayManagementApiClientResolvedConfigType = __SmithyResolvedCo
154
154
  export interface ApiGatewayManagementApiClientResolvedConfig extends ApiGatewayManagementApiClientResolvedConfigType {
155
155
  }
156
156
  /**
157
- * @public
158
157
  * <p>The Amazon API Gateway Management API allows you to directly manage runtime aspects of your deployed APIs. To use it, you must explicitly set the SDK's endpoint to point to the endpoint of your deployed API. The endpoint will be of the form https://\{api-id\}.execute-api.\{region\}.amazonaws.com/\{stage\}, or will be the endpoint corresponding to your API's custom domain and base path, if applicable.</p>
158
+ * @public
159
159
  */
160
160
  export declare class ApiGatewayManagementApiClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ApiGatewayManagementApiClientResolvedConfig> {
161
161
  /**
@@ -22,10 +22,10 @@ export interface DeleteConnectionCommandOutput extends __MetadataBearer {
22
22
  }
23
23
  declare const DeleteConnectionCommand_base: {
24
24
  new (input: DeleteConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, ApiGatewayManagementApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DeleteConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, ApiGatewayManagementApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Delete the connection with the provided id.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -60,6 +60,7 @@ declare const DeleteConnectionCommand_base: {
60
60
  * @throws {@link ApiGatewayManagementApiServiceException}
61
61
  * <p>Base exception class for all service exceptions from ApiGatewayManagementApi service.</p>
62
62
  *
63
+ * @public
63
64
  */
64
65
  export declare class DeleteConnectionCommand extends DeleteConnectionCommand_base {
65
66
  }
@@ -22,10 +22,10 @@ export interface GetConnectionCommandOutput extends GetConnectionResponse, __Met
22
22
  }
23
23
  declare const GetConnectionCommand_base: {
24
24
  new (input: GetConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectionCommandInput, GetConnectionCommandOutput, ApiGatewayManagementApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectionCommandInput, GetConnectionCommandOutput, ApiGatewayManagementApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Get information about the connection with the provided id.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -67,6 +67,7 @@ declare const GetConnectionCommand_base: {
67
67
  * @throws {@link ApiGatewayManagementApiServiceException}
68
68
  * <p>Base exception class for all service exceptions from ApiGatewayManagementApi service.</p>
69
69
  *
70
+ * @public
70
71
  */
71
72
  export declare class GetConnectionCommand extends GetConnectionCommand_base {
72
73
  }
@@ -28,10 +28,10 @@ export interface PostToConnectionCommandOutput extends __MetadataBearer {
28
28
  }
29
29
  declare const PostToConnectionCommand_base: {
30
30
  new (input: PostToConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<PostToConnectionCommandInput, PostToConnectionCommandOutput, ApiGatewayManagementApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
31
+ new (__0_0: PostToConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<PostToConnectionCommandInput, PostToConnectionCommandOutput, ApiGatewayManagementApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
31
32
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
32
33
  };
33
34
  /**
34
- * @public
35
35
  * <p>Sends the provided data to the specified connection.</p>
36
36
  * @example
37
37
  * Use a bare-bones client and the command you need to make an API call.
@@ -70,6 +70,7 @@ declare const PostToConnectionCommand_base: {
70
70
  * @throws {@link ApiGatewayManagementApiServiceException}
71
71
  * <p>Base exception class for all service exceptions from ApiGatewayManagementApi service.</p>
72
72
  *
73
+ * @public
73
74
  */
74
75
  export declare class PostToConnectionCommand extends PostToConnectionCommand_base {
75
76
  }
@@ -7,8 +7,8 @@ export interface DeleteConnectionRequest {
7
7
  ConnectionId: string | undefined;
8
8
  }
9
9
  /**
10
- * @public
11
10
  * <p>The caller is not authorized to invoke this operation.</p>
11
+ * @public
12
12
  */
13
13
  export declare class ForbiddenException extends __BaseException {
14
14
  readonly name: "ForbiddenException";
@@ -19,8 +19,8 @@ export declare class ForbiddenException extends __BaseException {
19
19
  constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
20
20
  }
21
21
  /**
22
- * @public
23
22
  * <p>The connection with the provided id no longer exists.</p>
23
+ * @public
24
24
  */
25
25
  export declare class GoneException extends __BaseException {
26
26
  readonly name: "GoneException";
@@ -31,8 +31,8 @@ export declare class GoneException extends __BaseException {
31
31
  constructor(opts: __ExceptionOptionType<GoneException, __BaseException>);
32
32
  }
33
33
  /**
34
- * @public
35
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
36
  */
37
37
  export declare class LimitExceededException extends __BaseException {
38
38
  readonly name: "LimitExceededException";
@@ -53,13 +53,13 @@ export interface GetConnectionRequest {
53
53
  */
54
54
  export interface Identity {
55
55
  /**
56
- * @public
57
56
  * <p>The source IP address of the TCP connection making the request to API Gateway.</p>
57
+ * @public
58
58
  */
59
59
  SourceIp: string | undefined;
60
60
  /**
61
- * @public
62
61
  * <p>The User Agent of the API caller.</p>
62
+ * @public
63
63
  */
64
64
  UserAgent: string | undefined;
65
65
  }
@@ -68,20 +68,20 @@ export interface Identity {
68
68
  */
69
69
  export interface GetConnectionResponse {
70
70
  /**
71
- * @public
72
71
  * <p>The time in ISO 8601 format for when the connection was established.</p>
72
+ * @public
73
73
  */
74
74
  ConnectedAt?: Date;
75
75
  Identity?: Identity;
76
76
  /**
77
- * @public
78
77
  * <p>The time in ISO 8601 format for when the connection was last active.</p>
78
+ * @public
79
79
  */
80
80
  LastActiveAt?: Date;
81
81
  }
82
82
  /**
83
- * @public
84
83
  * <p>The data has exceeded the maximum size allowed.</p>
84
+ * @public
85
85
  */
86
86
  export declare class PayloadTooLargeException extends __BaseException {
87
87
  readonly name: "PayloadTooLargeException";
@@ -97,13 +97,13 @@ export declare class PayloadTooLargeException extends __BaseException {
97
97
  */
98
98
  export interface PostToConnectionRequest {
99
99
  /**
100
- * @public
101
100
  * <p>The data to be sent to the client specified by its connection id.</p>
101
+ * @public
102
102
  */
103
103
  Data: Uint8Array | undefined;
104
104
  /**
105
- * @public
106
105
  * <p>The identifier of the connection that a specific client is using.</p>
106
+ * @public
107
107
  */
108
108
  ConnectionId: string | undefined;
109
109
  }
@@ -19,6 +19,15 @@ declare const DeleteConnectionCommand_base: {
19
19
  ServiceInputTypes,
20
20
  ServiceOutputTypes
21
21
  >;
22
+ new (
23
+ __0_0: DeleteConnectionCommandInput
24
+ ): import("@smithy/smithy-client").CommandImpl<
25
+ DeleteConnectionCommandInput,
26
+ DeleteConnectionCommandOutput,
27
+ ApiGatewayManagementApiClientResolvedConfig,
28
+ ServiceInputTypes,
29
+ ServiceOutputTypes
30
+ >;
22
31
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
23
32
  };
24
33
  export declare class DeleteConnectionCommand extends DeleteConnectionCommand_base {}
@@ -24,6 +24,15 @@ declare const GetConnectionCommand_base: {
24
24
  ServiceInputTypes,
25
25
  ServiceOutputTypes
26
26
  >;
27
+ new (
28
+ __0_0: GetConnectionCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ GetConnectionCommandInput,
31
+ GetConnectionCommandOutput,
32
+ ApiGatewayManagementApiClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
27
36
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
37
  };
29
38
  export declare class GetConnectionCommand extends GetConnectionCommand_base {}
@@ -29,6 +29,15 @@ declare const PostToConnectionCommand_base: {
29
29
  ServiceInputTypes,
30
30
  ServiceOutputTypes
31
31
  >;
32
+ new (
33
+ __0_0: PostToConnectionCommandInput
34
+ ): import("@smithy/smithy-client").CommandImpl<
35
+ PostToConnectionCommandInput,
36
+ PostToConnectionCommandOutput,
37
+ ApiGatewayManagementApiClientResolvedConfig,
38
+ ServiceInputTypes,
39
+ ServiceOutputTypes
40
+ >;
32
41
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
33
42
  };
34
43
  export declare class PostToConnectionCommand extends PostToConnectionCommand_base {}
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.533.0",
4
+ "version": "3.535.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,47 +20,47 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.533.0",
24
- "@aws-sdk/core": "3.533.0",
25
- "@aws-sdk/credential-provider-node": "3.533.0",
26
- "@aws-sdk/middleware-host-header": "3.533.0",
27
- "@aws-sdk/middleware-logger": "3.533.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
- "@aws-sdk/middleware-user-agent": "3.533.0",
30
- "@aws-sdk/region-config-resolver": "3.533.0",
31
- "@aws-sdk/types": "3.533.0",
32
- "@aws-sdk/util-endpoints": "3.533.0",
33
- "@aws-sdk/util-user-agent-browser": "3.533.0",
34
- "@aws-sdk/util-user-agent-node": "3.533.0",
35
- "@smithy/config-resolver": "^2.1.5",
36
- "@smithy/core": "^1.3.8",
37
- "@smithy/fetch-http-handler": "^2.4.5",
38
- "@smithy/hash-node": "^2.1.4",
39
- "@smithy/invalid-dependency": "^2.1.4",
40
- "@smithy/middleware-content-length": "^2.1.4",
41
- "@smithy/middleware-endpoint": "^2.4.6",
42
- "@smithy/middleware-retry": "^2.1.7",
43
- "@smithy/middleware-serde": "^2.2.1",
44
- "@smithy/middleware-stack": "^2.1.4",
45
- "@smithy/node-config-provider": "^2.2.5",
46
- "@smithy/node-http-handler": "^2.4.3",
47
- "@smithy/protocol-http": "^3.2.2",
48
- "@smithy/smithy-client": "^2.4.5",
49
- "@smithy/types": "^2.11.0",
50
- "@smithy/url-parser": "^2.1.4",
51
- "@smithy/util-base64": "^2.2.1",
52
- "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.2",
54
- "@smithy/util-defaults-mode-browser": "^2.1.7",
55
- "@smithy/util-defaults-mode-node": "^2.2.7",
56
- "@smithy/util-endpoints": "^1.1.5",
57
- "@smithy/util-middleware": "^2.1.4",
58
- "@smithy/util-retry": "^2.1.4",
59
- "@smithy/util-utf8": "^2.2.0",
60
- "tslib": "^2.5.0"
23
+ "@aws-sdk/client-sts": "3.535.0",
24
+ "@aws-sdk/core": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.535.0",
26
+ "@aws-sdk/middleware-host-header": "3.535.0",
27
+ "@aws-sdk/middleware-logger": "3.535.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.535.0",
30
+ "@aws-sdk/region-config-resolver": "3.535.0",
31
+ "@aws-sdk/types": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.535.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.535.0",
34
+ "@aws-sdk/util-user-agent-node": "3.535.0",
35
+ "@smithy/config-resolver": "^2.2.0",
36
+ "@smithy/core": "^1.4.0",
37
+ "@smithy/fetch-http-handler": "^2.5.0",
38
+ "@smithy/hash-node": "^2.2.0",
39
+ "@smithy/invalid-dependency": "^2.2.0",
40
+ "@smithy/middleware-content-length": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.0",
42
+ "@smithy/middleware-retry": "^2.2.0",
43
+ "@smithy/middleware-serde": "^2.3.0",
44
+ "@smithy/middleware-stack": "^2.2.0",
45
+ "@smithy/node-config-provider": "^2.3.0",
46
+ "@smithy/node-http-handler": "^2.5.0",
47
+ "@smithy/protocol-http": "^3.3.0",
48
+ "@smithy/smithy-client": "^2.5.0",
49
+ "@smithy/types": "^2.12.0",
50
+ "@smithy/url-parser": "^2.2.0",
51
+ "@smithy/util-base64": "^2.3.0",
52
+ "@smithy/util-body-length-browser": "^2.2.0",
53
+ "@smithy/util-body-length-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.0",
55
+ "@smithy/util-defaults-mode-node": "^2.3.0",
56
+ "@smithy/util-endpoints": "^1.2.0",
57
+ "@smithy/util-middleware": "^2.2.0",
58
+ "@smithy/util-retry": "^2.2.0",
59
+ "@smithy/util-utf8": "^2.3.0",
60
+ "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@smithy/service-client-documentation-generator": "^2.1.1",
63
+ "@smithy/service-client-documentation-generator": "^2.2.0",
64
64
  "@tsconfig/node14": "1.0.3",
65
65
  "@types/node": "^14.14.31",
66
66
  "concurrently": "7.0.0",