@aws-sdk/client-apigatewayv2 3.423.0 → 3.425.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.
|
@@ -183,6 +183,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
183
183
|
maxAttempts?: number | __Provider<number>;
|
|
184
184
|
/**
|
|
185
185
|
* Specifies which retry algorithm to use.
|
|
186
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
187
|
+
*
|
|
186
188
|
*/
|
|
187
189
|
retryMode?: string | __Provider<string>;
|
|
188
190
|
/**
|
|
@@ -28,6 +28,50 @@ export type ExportApiCommandOutputType = Omit<ExportApiResponse, "body"> & {
|
|
|
28
28
|
*/
|
|
29
29
|
export interface ExportApiCommandOutput extends ExportApiCommandOutputType, __MetadataBearer {
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { ApiGatewayV2Client, ExportApiCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
38
|
+
* // const { ApiGatewayV2Client, ExportApiCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
39
|
+
* const client = new ApiGatewayV2Client(config);
|
|
40
|
+
* const input = { // ExportApiRequest
|
|
41
|
+
* ApiId: "STRING_VALUE", // required
|
|
42
|
+
* ExportVersion: "STRING_VALUE",
|
|
43
|
+
* IncludeExtensions: true || false,
|
|
44
|
+
* OutputType: "STRING_VALUE", // required
|
|
45
|
+
* Specification: "STRING_VALUE", // required
|
|
46
|
+
* StageName: "STRING_VALUE",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new ExportApiCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // ExportApiResponse
|
|
51
|
+
* // body: "BLOB_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param ExportApiCommandInput - {@link ExportApiCommandInput}
|
|
57
|
+
* @returns {@link ExportApiCommandOutput}
|
|
58
|
+
* @see {@link ExportApiCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link ExportApiCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for ApiGatewayV2Client's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link BadRequestException} (client fault)
|
|
63
|
+
* <p>The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link NotFoundException} (client fault)
|
|
66
|
+
* <p>The resource specified in the request was not found. See the message field for more information.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
69
|
+
* <p>A limit has been exceeded. See the accompanying error message for details.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ApiGatewayV2ServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from ApiGatewayV2 service.</p>
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
31
75
|
export declare class ExportApiCommand extends $Command<ExportApiCommandInput, ExportApiCommandOutput, ApiGatewayV2ClientResolvedConfig> {
|
|
32
76
|
readonly input: ExportApiCommandInput;
|
|
33
77
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-apigatewayv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Apigatewayv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.425.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",
|
|
@@ -21,40 +21,40 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.1
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.0.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.3.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.425.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.425.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.425.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.425.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.425.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.425.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.425.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.425.0",
|
|
32
|
+
"@aws-sdk/types": "3.425.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.425.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.425.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.425.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.11",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.2.1",
|
|
38
|
+
"@smithy/hash-node": "^2.0.10",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.10",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.12",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.0.10",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.13",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.10",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.4",
|
|
45
|
+
"@smithy/node-config-provider": "^2.0.13",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.6",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.6",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.9",
|
|
49
|
+
"@smithy/types": "^2.3.4",
|
|
50
|
+
"@smithy/url-parser": "^2.0.10",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
57
|
-
"@smithy/util-stream": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.13",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.15",
|
|
56
|
+
"@smithy/util-retry": "^2.0.3",
|
|
57
|
+
"@smithy/util-stream": "^2.0.14",
|
|
58
58
|
"@smithy/util-utf8": "^2.0.0",
|
|
59
59
|
"tslib": "^2.5.0"
|
|
60
60
|
},
|