@aws-sdk/client-apigatewaymanagementapi 3.32.0 → 3.36.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/CHANGELOG.md +44 -0
- package/{dist/cjs → dist-cjs}/ApiGatewayManagementApi.js +0 -1
- package/{dist/cjs → dist-cjs}/ApiGatewayManagementApiClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/DeleteConnectionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetConnectionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PostToConnectionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/ApiGatewayManagementApi.js +1 -5
- package/{dist/es → dist-es}/ApiGatewayManagementApiClient.js +2 -11
- package/{dist/es → dist-es}/commands/DeleteConnectionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetConnectionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/PostToConnectionCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -28
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +68 -74
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/ApiGatewayManagementApi.d.ts +1 -1
- package/{dist/types → dist-types}/ApiGatewayManagementApiClient.d.ts +4 -4
- package/{dist/types → dist-types}/commands/DeleteConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PostToConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +40 -36
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/ApiGatewayManagementApi.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/ApiGatewayManagementApiClient.d.ts +4 -4
- package/{dist/types → dist-types}/ts3.4/commands/DeleteConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PostToConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +40 -36
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/ApiGatewayManagementApi.ts +0 -118
- package/ApiGatewayManagementApiClient.ts +0 -241
- package/commands/DeleteConnectionCommand.ts +0 -98
- package/commands/GetConnectionCommand.ts +0 -98
- package/commands/PostToConnectionCommand.ts +0 -98
- package/dist/cjs/ApiGatewayManagementApi.js.map +0 -1
- package/dist/cjs/ApiGatewayManagementApiClient.js.map +0 -1
- package/dist/cjs/commands/DeleteConnectionCommand.js.map +0 -1
- package/dist/cjs/commands/GetConnectionCommand.js.map +0 -1
- package/dist/cjs/commands/PostToConnectionCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/ApiGatewayManagementApi.js.map +0 -1
- package/dist/es/ApiGatewayManagementApiClient.js.map +0 -1
- package/dist/es/commands/DeleteConnectionCommand.js.map +0 -1
- package/dist/es/commands/GetConnectionCommand.js.map +0 -1
- package/dist/es/commands/PostToConnectionCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -7
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -160
- package/protocols/Aws_restJson1.ts +0 -468
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand";
|
|
2
|
-
import { GetConnectionCommandInput, GetConnectionCommandOutput } from "./commands/GetConnectionCommand";
|
|
3
|
-
import { PostToConnectionCommandInput, PostToConnectionCommandOutput } from "./commands/PostToConnectionCommand";
|
|
4
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
5
|
-
import {
|
|
6
|
-
EndpointsInputConfig,
|
|
7
|
-
EndpointsResolvedConfig,
|
|
8
|
-
RegionInputConfig,
|
|
9
|
-
RegionResolvedConfig,
|
|
10
|
-
resolveEndpointsConfig,
|
|
11
|
-
resolveRegionConfig,
|
|
12
|
-
} from "@aws-sdk/config-resolver";
|
|
13
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
14
|
-
import {
|
|
15
|
-
HostHeaderInputConfig,
|
|
16
|
-
HostHeaderResolvedConfig,
|
|
17
|
-
getHostHeaderPlugin,
|
|
18
|
-
resolveHostHeaderConfig,
|
|
19
|
-
} from "@aws-sdk/middleware-host-header";
|
|
20
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
21
|
-
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
22
|
-
import {
|
|
23
|
-
AwsAuthInputConfig,
|
|
24
|
-
AwsAuthResolvedConfig,
|
|
25
|
-
getAwsAuthPlugin,
|
|
26
|
-
resolveAwsAuthConfig,
|
|
27
|
-
} from "@aws-sdk/middleware-signing";
|
|
28
|
-
import {
|
|
29
|
-
UserAgentInputConfig,
|
|
30
|
-
UserAgentResolvedConfig,
|
|
31
|
-
getUserAgentPlugin,
|
|
32
|
-
resolveUserAgentConfig,
|
|
33
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
34
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
35
|
-
import {
|
|
36
|
-
Client as __Client,
|
|
37
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
38
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
39
|
-
} from "@aws-sdk/smithy-client";
|
|
40
|
-
import {
|
|
41
|
-
Provider,
|
|
42
|
-
RegionInfoProvider,
|
|
43
|
-
Credentials as __Credentials,
|
|
44
|
-
Decoder as __Decoder,
|
|
45
|
-
Encoder as __Encoder,
|
|
46
|
-
Hash as __Hash,
|
|
47
|
-
HashConstructor as __HashConstructor,
|
|
48
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
49
|
-
Logger as __Logger,
|
|
50
|
-
Provider as __Provider,
|
|
51
|
-
StreamCollector as __StreamCollector,
|
|
52
|
-
UrlParser as __UrlParser,
|
|
53
|
-
UserAgent as __UserAgent,
|
|
54
|
-
} from "@aws-sdk/types";
|
|
55
|
-
|
|
56
|
-
export type ServiceInputTypes = DeleteConnectionCommandInput | GetConnectionCommandInput | PostToConnectionCommandInput;
|
|
57
|
-
|
|
58
|
-
export type ServiceOutputTypes =
|
|
59
|
-
| DeleteConnectionCommandOutput
|
|
60
|
-
| GetConnectionCommandOutput
|
|
61
|
-
| PostToConnectionCommandOutput;
|
|
62
|
-
|
|
63
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
64
|
-
/**
|
|
65
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
66
|
-
*/
|
|
67
|
-
requestHandler?: __HttpHandler;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
71
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
72
|
-
* @internal
|
|
73
|
-
*/
|
|
74
|
-
sha256?: __HashConstructor;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
80
|
-
urlParser?: __UrlParser;
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* A function that can calculate the length of a request body.
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* A function that converts a stream into an array of bytes.
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
streamCollector?: __StreamCollector;
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
|
-
base64Decoder?: __Decoder;
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
104
|
-
base64Encoder?: __Encoder;
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
108
|
-
* @internal
|
|
109
|
-
*/
|
|
110
|
-
utf8Decoder?: __Decoder;
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
114
|
-
* @internal
|
|
115
|
-
*/
|
|
116
|
-
utf8Encoder?: __Encoder;
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* The runtime environment.
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
122
|
-
runtime?: string;
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
126
|
-
* trait of an operation.
|
|
127
|
-
*/
|
|
128
|
-
disableHostPrefix?: boolean;
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
132
|
-
*/
|
|
133
|
-
maxAttempts?: number | __Provider<number>;
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* Specifies which retry algorithm to use.
|
|
137
|
-
*/
|
|
138
|
-
retryMode?: string | __Provider<string>;
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Optional logger for logging debug/info/warn/error.
|
|
142
|
-
*/
|
|
143
|
-
logger?: __Logger;
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* Unique service identifier.
|
|
147
|
-
* @internal
|
|
148
|
-
*/
|
|
149
|
-
serviceId?: string;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* The AWS region to which this client will send requests
|
|
153
|
-
*/
|
|
154
|
-
region?: string | __Provider<string>;
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* Default credentials provider; Not available in browser runtime.
|
|
158
|
-
* @internal
|
|
159
|
-
*/
|
|
160
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
164
|
-
* @internal
|
|
165
|
-
*/
|
|
166
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
170
|
-
* @internal
|
|
171
|
-
*/
|
|
172
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
type ApiGatewayManagementApiClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
176
|
-
ClientDefaults &
|
|
177
|
-
RegionInputConfig &
|
|
178
|
-
EndpointsInputConfig &
|
|
179
|
-
RetryInputConfig &
|
|
180
|
-
HostHeaderInputConfig &
|
|
181
|
-
AwsAuthInputConfig &
|
|
182
|
-
UserAgentInputConfig;
|
|
183
|
-
/**
|
|
184
|
-
* The configuration interface of ApiGatewayManagementApiClient class constructor that set the region, credentials and other options.
|
|
185
|
-
*/
|
|
186
|
-
export interface ApiGatewayManagementApiClientConfig extends ApiGatewayManagementApiClientConfigType {}
|
|
187
|
-
|
|
188
|
-
type ApiGatewayManagementApiClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
189
|
-
Required<ClientDefaults> &
|
|
190
|
-
RegionResolvedConfig &
|
|
191
|
-
EndpointsResolvedConfig &
|
|
192
|
-
RetryResolvedConfig &
|
|
193
|
-
HostHeaderResolvedConfig &
|
|
194
|
-
AwsAuthResolvedConfig &
|
|
195
|
-
UserAgentResolvedConfig;
|
|
196
|
-
/**
|
|
197
|
-
* The resolved configuration interface of ApiGatewayManagementApiClient class. This is resolved and normalized from the {@link ApiGatewayManagementApiClientConfig | constructor configuration interface}.
|
|
198
|
-
*/
|
|
199
|
-
export interface ApiGatewayManagementApiClientResolvedConfig extends ApiGatewayManagementApiClientResolvedConfigType {}
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* <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>
|
|
203
|
-
*/
|
|
204
|
-
export class ApiGatewayManagementApiClient extends __Client<
|
|
205
|
-
__HttpHandlerOptions,
|
|
206
|
-
ServiceInputTypes,
|
|
207
|
-
ServiceOutputTypes,
|
|
208
|
-
ApiGatewayManagementApiClientResolvedConfig
|
|
209
|
-
> {
|
|
210
|
-
/**
|
|
211
|
-
* The resolved configuration of ApiGatewayManagementApiClient class. This is resolved and normalized from the {@link ApiGatewayManagementApiClientConfig | constructor configuration interface}.
|
|
212
|
-
*/
|
|
213
|
-
readonly config: ApiGatewayManagementApiClientResolvedConfig;
|
|
214
|
-
|
|
215
|
-
constructor(configuration: ApiGatewayManagementApiClientConfig) {
|
|
216
|
-
let _config_0 = __getRuntimeConfig(configuration);
|
|
217
|
-
let _config_1 = resolveRegionConfig(_config_0);
|
|
218
|
-
let _config_2 = resolveEndpointsConfig(_config_1);
|
|
219
|
-
let _config_3 = resolveRetryConfig(_config_2);
|
|
220
|
-
let _config_4 = resolveHostHeaderConfig(_config_3);
|
|
221
|
-
let _config_5 = resolveAwsAuthConfig(_config_4);
|
|
222
|
-
let _config_6 = resolveUserAgentConfig(_config_5);
|
|
223
|
-
super(_config_6);
|
|
224
|
-
this.config = _config_6;
|
|
225
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
226
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
227
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
228
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
229
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
230
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
235
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
236
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
237
|
-
*/
|
|
238
|
-
destroy(): void {
|
|
239
|
-
super.destroy();
|
|
240
|
-
}
|
|
241
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ApiGatewayManagementApiClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ApiGatewayManagementApiClient";
|
|
6
|
-
import { DeleteConnectionRequest } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1DeleteConnectionCommand,
|
|
9
|
-
serializeAws_restJson1DeleteConnectionCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface DeleteConnectionCommandInput extends DeleteConnectionRequest {}
|
|
25
|
-
export interface DeleteConnectionCommandOutput extends __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Delete the connection with the provided id.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { ApiGatewayManagementApiClient, DeleteConnectionCommand } from "@aws-sdk/client-apigatewaymanagementapi"; // ES Modules import
|
|
33
|
-
* // const { ApiGatewayManagementApiClient, DeleteConnectionCommand } = require("@aws-sdk/client-apigatewaymanagementapi"); // CommonJS import
|
|
34
|
-
* const client = new ApiGatewayManagementApiClient(config);
|
|
35
|
-
* const command = new DeleteConnectionCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link DeleteConnectionCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link DeleteConnectionCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link ApiGatewayManagementApiClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class DeleteConnectionCommand extends $Command<
|
|
45
|
-
DeleteConnectionCommandInput,
|
|
46
|
-
DeleteConnectionCommandOutput,
|
|
47
|
-
ApiGatewayManagementApiClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: DeleteConnectionCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: ApiGatewayManagementApiClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<DeleteConnectionCommandInput, DeleteConnectionCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "ApiGatewayManagementApiClient";
|
|
72
|
-
const commandName = "DeleteConnectionCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: DeleteConnectionRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: DeleteConnectionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_restJson1DeleteConnectionCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteConnectionCommandOutput> {
|
|
93
|
-
return deserializeAws_restJson1DeleteConnectionCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ApiGatewayManagementApiClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ApiGatewayManagementApiClient";
|
|
6
|
-
import { GetConnectionRequest, GetConnectionResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1GetConnectionCommand,
|
|
9
|
-
serializeAws_restJson1GetConnectionCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface GetConnectionCommandInput extends GetConnectionRequest {}
|
|
25
|
-
export interface GetConnectionCommandOutput extends GetConnectionResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Get information about the connection with the provided id.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { ApiGatewayManagementApiClient, GetConnectionCommand } from "@aws-sdk/client-apigatewaymanagementapi"; // ES Modules import
|
|
33
|
-
* // const { ApiGatewayManagementApiClient, GetConnectionCommand } = require("@aws-sdk/client-apigatewaymanagementapi"); // CommonJS import
|
|
34
|
-
* const client = new ApiGatewayManagementApiClient(config);
|
|
35
|
-
* const command = new GetConnectionCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link GetConnectionCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link GetConnectionCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link ApiGatewayManagementApiClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class GetConnectionCommand extends $Command<
|
|
45
|
-
GetConnectionCommandInput,
|
|
46
|
-
GetConnectionCommandOutput,
|
|
47
|
-
ApiGatewayManagementApiClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: GetConnectionCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: ApiGatewayManagementApiClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<GetConnectionCommandInput, GetConnectionCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "ApiGatewayManagementApiClient";
|
|
72
|
-
const commandName = "GetConnectionCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: GetConnectionRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: GetConnectionResponse.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: GetConnectionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_restJson1GetConnectionCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetConnectionCommandOutput> {
|
|
93
|
-
return deserializeAws_restJson1GetConnectionCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ApiGatewayManagementApiClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ApiGatewayManagementApiClient";
|
|
6
|
-
import { PostToConnectionRequest } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1PostToConnectionCommand,
|
|
9
|
-
serializeAws_restJson1PostToConnectionCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface PostToConnectionCommandInput extends PostToConnectionRequest {}
|
|
25
|
-
export interface PostToConnectionCommandOutput extends __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Sends the provided data to the specified connection.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { ApiGatewayManagementApiClient, PostToConnectionCommand } from "@aws-sdk/client-apigatewaymanagementapi"; // ES Modules import
|
|
33
|
-
* // const { ApiGatewayManagementApiClient, PostToConnectionCommand } = require("@aws-sdk/client-apigatewaymanagementapi"); // CommonJS import
|
|
34
|
-
* const client = new ApiGatewayManagementApiClient(config);
|
|
35
|
-
* const command = new PostToConnectionCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link PostToConnectionCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link PostToConnectionCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link ApiGatewayManagementApiClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class PostToConnectionCommand extends $Command<
|
|
45
|
-
PostToConnectionCommandInput,
|
|
46
|
-
PostToConnectionCommandOutput,
|
|
47
|
-
ApiGatewayManagementApiClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: PostToConnectionCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: ApiGatewayManagementApiClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<PostToConnectionCommandInput, PostToConnectionCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "ApiGatewayManagementApiClient";
|
|
72
|
-
const commandName = "PostToConnectionCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: PostToConnectionRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: PostToConnectionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_restJson1PostToConnectionCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PostToConnectionCommandOutput> {
|
|
93
|
-
return deserializeAws_restJson1PostToConnectionCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiGatewayManagementApi.js","sourceRoot":"","sources":["../../ApiGatewayManagementApi.ts"],"names":[],"mappings":";;;AAAA,mFAAgF;AAChF,gFAI4C;AAC5C,0EAIyC;AACzC,gFAI4C;AAG5C;;GAEG;AACH,MAAa,uBAAwB,SAAQ,6DAA6B;IAiBjE,gBAAgB,CACrB,IAAkC,EAClC,WAA+F,EAC/F,EAA6D;QAE7D,MAAM,OAAO,GAAG,IAAI,iDAAuB,CAAC,IAAI,CAAC,CAAC;QAClD,IAAI,OAAO,WAAW,KAAK,UAAU,EAAE;YACrC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACjC;aAAM,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE;YACnC,IAAI,OAAO,WAAW,KAAK,QAAQ;gBAAE,MAAM,IAAI,KAAK,CAAC,+BAA+B,OAAO,WAAW,EAAE,CAAC,CAAC;YAC1G,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;SAC3C;aAAM;YACL,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACxC;IACH,C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AAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED;;;;OAIG;IACH,OAAO;QACL,KAAK,CAAC,OAAO,EAAE,CAAC;IAClB,CAAC;CACF;AArCD,sEAqCC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteConnectionCommand.js","sourceRoot":"","sources":["../../../commands/DeleteConnectionCommand.ts"],"names":[],"mappings":";;;AAKA,iDAA6D;AAC7D,8DAGoC;AACpC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,uBAAwB,SAAQ,uBAI5C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAmC;QACtD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA8B;QAGtD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA0D,EAC1D,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,+BAA+B,CAAC;QACnD,MAAM,WAAW,GAAG,yBAAyB,CAAC;QAC9C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,kCAAuB,CAAC,kBAAkB;YACnE,wBAAwB,EAAE,CAAC,MAAW,EAAE,EAAE,CAAC,MAAM;SAClD,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,c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AAC,kBAAkB;YAChE,wBAAwB,EAAE,gCAAqB,CAAC,kBAAkB;SACnE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAgC,EAAE,OAAuB;QACzE,OAAO,0DAA0C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,4DAA4C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;CAIF;AAtDD,oDAsDC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PostToConnectionCommand.js","sourceRoot":"","sources":["../../../commands/PostToConnectionCommand.ts"],"names":[],"mappings":";;;AAKA,iDAA6D;AAC7D,8DAGoC;AACpC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,uBAAwB,SAAQ,uBAI5C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAmC;QACtD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA8B;QAGtD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA0D,EAC1D,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,G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AC/C;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,uCAAuC;KAClD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,iCAAiC;KAC5C;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,oCAAoC;KAC/C;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,oCAAoC;KAC/C;CACF,CAAC;AAEK,MAAM,yBAAyB,GAAuB,KAAK,EAAE,MAAc,EAAE,OAAa,EAAE,EAAE,CACnG,+BAAa,CAAC,MAAM,EAAE;IACpB,GAAG,OAAO;IACV,cAAc,EAAE,aAAa;IAC7B,UAAU;IACV,aAAa;CACd,CAAC,CAAC;AANQ,QAAA,yBAAyB,6BAMjC"}
|
package/dist/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;AAAA,0EAAgD;AAChD,oEAA0C;AAC1C,6EAAmD;AACnD,0EAAgD;AAChD,6EAAmD;AACnD,yDAA+B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":";;;AAAA,qDAA2B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"models_0.js","sourceRoot":"","sources":["../../../models/models_0.ts"],"names":[],"mappings":";;;AAMA,IAAiB,uBAAuB,CAOvC;AAPD,WAAiB,uBAAuB;IACtC;;OAEG;IACU,0CAAkB,GAAG,CAAC,GAA4B,EAAO,EAAE,CAAC,CAAC;QACxE,GAAG,GAAG;KACP,CAAC,CAAC;AACL,CAAC,EAPgB,uBAAuB,GAAvB,+BAAuB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GAAG,GAAG;KACP,CAAC,CAAC;AACL,CAAC,EAPgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAOrC;AAWD,IAAiB,wBAAwB,CAOxC;AAPD,WAAiB,wBAAwB;IACvC;;OAEG;IACU,2CAAkB,GAAG,CAAC,GAA6B,EAAO,EAAE,CAAC,CAAC;QACzE,GAAG,GAAG;KACP,CAAC,CAAC;AACL,CAAC,EAPgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAOxC;AAcD,IAAiB,uBAAuB,CAOvC;AAPD,WAAiB,uBAAuB;IACtC;;OAEG;IACU,0CAAkB,GAAG,CAAC,GAA4B,EAAO,EAAE,CAAC,CAAC;QACxE,GAAG,GAAG;KACP,CAAC,CAAC;AACL,CAAC,EAPgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAOvC"}
|
package/dist/cjs/package.json
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@aws-sdk/client-apigatewaymanagementapi",
|
|
3
|
-
"description": "AWS SDK for JavaScript Apigatewaymanagementapi Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.32.0",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
|
-
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
8
|
-
"remove-definitions": "rimraf ./types",
|
|
9
|
-
"remove-dist": "rimraf ./dist",
|
|
10
|
-
"remove-documentation": "rimraf ./docs",
|
|
11
|
-
"test": "exit 0",
|
|
12
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
13
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
14
|
-
"build": "yarn build:cjs && yarn build:es",
|
|
15
|
-
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
|
|
16
|
-
},
|
|
17
|
-
"main": "./dist/cjs/index.js",
|
|
18
|
-
"types": "./dist/types/index.d.ts",
|
|
19
|
-
"module": "./dist/es/index.js",
|
|
20
|
-
"browser": {
|
|
21
|
-
"./runtimeConfig": "./runtimeConfig.browser"
|
|
22
|
-
},
|
|
23
|
-
"react-native": {
|
|
24
|
-
"./runtimeConfig": "./runtimeConfig.native"
|
|
25
|
-
},
|
|
26
|
-
"sideEffects": false,
|
|
27
|
-
"dependencies": {
|
|
28
|
-
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
|
-
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
-
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
-
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
-
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
-
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
-
"@aws-sdk/types": "3.32.0",
|
|
49
|
-
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
|
-
"tslib": "^2.3.0"
|
|
59
|
-
},
|
|
60
|
-
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
62
|
-
"@types/node": "^12.7.5",
|
|
63
|
-
"downlevel-dts": "0.7.0",
|
|
64
|
-
"jest": "^26.1.0",
|
|
65
|
-
"rimraf": "^3.0.0",
|
|
66
|
-
"ts-jest": "^26.4.1",
|
|
67
|
-
"typedoc": "^0.19.2",
|
|
68
|
-
"typescript": "~4.3.5"
|
|
69
|
-
},
|
|
70
|
-
"engines": {
|
|
71
|
-
"node": ">=10.0.0"
|
|
72
|
-
},
|
|
73
|
-
"typesVersions": {
|
|
74
|
-
"<4.0": {
|
|
75
|
-
"dist/types/*": [
|
|
76
|
-
"dist/types/ts3.4/*"
|
|
77
|
-
]
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"author": {
|
|
81
|
-
"name": "AWS SDK for JavaScript Team",
|
|
82
|
-
"url": "https://aws.amazon.com/javascript/"
|
|
83
|
-
},
|
|
84
|
-
"license": "Apache-2.0",
|
|
85
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-apigatewaymanagementapi",
|
|
86
|
-
"repository": {
|
|
87
|
-
"type": "git",
|
|
88
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
89
|
-
"directory": "clients/client-apigatewaymanagementapi"
|
|
90
|
-
}
|
|
91
|
-
}
|