@aws-sdk/client-api-gateway 3.1008.0 → 3.1009.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/README.md +26 -46
- package/dist-cjs/index.js +1 -0
- package/dist-es/models/enums.js +1 -0
- package/dist-types/commands/CreateDomainNameCommand.d.ts +2 -2
- package/dist-types/commands/CreateRestApiCommand.d.ts +2 -2
- package/dist-types/commands/GetDomainNameCommand.d.ts +1 -1
- package/dist-types/commands/GetDomainNamesCommand.d.ts +1 -1
- package/dist-types/commands/GetRestApiCommand.d.ts +1 -1
- package/dist-types/commands/GetRestApisCommand.d.ts +1 -1
- package/dist-types/commands/ImportRestApiCommand.d.ts +1 -1
- package/dist-types/commands/PutRestApiCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRestApiCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/package.json +35 -35
package/README.md
CHANGED
|
@@ -10,8 +10,9 @@ AWS SDK for JavaScript APIGateway Client for Node.js, Browser and React Native.
|
|
|
10
10
|
<p>Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.</p>
|
|
11
11
|
|
|
12
12
|
## Installing
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
|
|
14
|
+
To install this package, use the CLI of your favorite package manager:
|
|
15
|
+
|
|
15
16
|
- `npm install @aws-sdk/client-api-gateway`
|
|
16
17
|
- `yarn add @aws-sdk/client-api-gateway`
|
|
17
18
|
- `pnpm add @aws-sdk/client-api-gateway`
|
|
@@ -36,15 +37,15 @@ import { APIGatewayClient, GetAccountCommand } from "@aws-sdk/client-api-gateway
|
|
|
36
37
|
|
|
37
38
|
### Usage
|
|
38
39
|
|
|
39
|
-
To send a request
|
|
40
|
+
To send a request:
|
|
40
41
|
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
-
|
|
42
|
+
- Instantiate a client with configuration (e.g. credentials, region).
|
|
43
|
+
- See [docs/CLIENTS](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md) for configuration details.
|
|
44
|
+
- See [@aws-sdk/config](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/config/README.md) for additional options.
|
|
45
|
+
- Instantiate a command with input parameters.
|
|
46
|
+
- Call the `send` operation on the client, providing the command object as input.
|
|
45
47
|
|
|
46
48
|
```js
|
|
47
|
-
// a client can be shared by different commands.
|
|
48
49
|
const client = new APIGatewayClient({ region: "REGION" });
|
|
49
50
|
|
|
50
51
|
const params = { /** input parameters */ };
|
|
@@ -53,7 +54,7 @@ const command = new GetAccountCommand(params);
|
|
|
53
54
|
|
|
54
55
|
#### Async/await
|
|
55
56
|
|
|
56
|
-
We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
|
|
57
|
+
We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
|
|
57
58
|
operator to wait for the promise returned by send operation as follows:
|
|
58
59
|
|
|
59
60
|
```js
|
|
@@ -68,26 +69,9 @@ try {
|
|
|
68
69
|
}
|
|
69
70
|
```
|
|
70
71
|
|
|
71
|
-
Async-await is clean, concise, intuitive, easy to debug and has better error handling
|
|
72
|
-
as compared to using Promise chains or callbacks.
|
|
73
|
-
|
|
74
72
|
#### Promises
|
|
75
73
|
|
|
76
|
-
You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining)
|
|
77
|
-
to execute send operation.
|
|
78
|
-
|
|
79
|
-
```js
|
|
80
|
-
client.send(command).then(
|
|
81
|
-
(data) => {
|
|
82
|
-
// process data.
|
|
83
|
-
},
|
|
84
|
-
(error) => {
|
|
85
|
-
// error handling.
|
|
86
|
-
}
|
|
87
|
-
);
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
Promises can also be called using `.catch()` and `.finally()` as follows:
|
|
74
|
+
You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining).
|
|
91
75
|
|
|
92
76
|
```js
|
|
93
77
|
client
|
|
@@ -103,27 +87,21 @@ client
|
|
|
103
87
|
});
|
|
104
88
|
```
|
|
105
89
|
|
|
106
|
-
####
|
|
107
|
-
|
|
108
|
-
We do not recommend using callbacks because of [callback hell](http://callbackhell.com/),
|
|
109
|
-
but they are supported by the send operation.
|
|
90
|
+
#### Aggregated client
|
|
110
91
|
|
|
111
|
-
|
|
112
|
-
// callbacks.
|
|
113
|
-
client.send(command, (err, data) => {
|
|
114
|
-
// process err and data.
|
|
115
|
-
});
|
|
116
|
-
```
|
|
92
|
+
The aggregated client class is exported from the same package, but without the "Client" suffix.
|
|
117
93
|
|
|
118
|
-
|
|
94
|
+
`APIGateway` extends `APIGatewayClient` and additionally supports all operations, waiters, and paginators as methods.
|
|
95
|
+
This style may be familiar to you from the AWS SDK for JavaScript v2.
|
|
119
96
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
97
|
+
If you are bundling the AWS SDK, we recommend using only the bare-bones client (`APIGatewayClient`).
|
|
98
|
+
More details are in the blog post on
|
|
99
|
+
[modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/).
|
|
123
100
|
|
|
124
101
|
```ts
|
|
125
|
-
import
|
|
126
|
-
|
|
102
|
+
import { APIGateway } from "@aws-sdk/client-api-gateway";
|
|
103
|
+
|
|
104
|
+
const client = new APIGateway({ region: "REGION" });
|
|
127
105
|
|
|
128
106
|
// async/await.
|
|
129
107
|
try {
|
|
@@ -143,7 +121,7 @@ client
|
|
|
143
121
|
// error handling.
|
|
144
122
|
});
|
|
145
123
|
|
|
146
|
-
// callbacks.
|
|
124
|
+
// callbacks (not recommended).
|
|
147
125
|
client.getAccount(params, (err, data) => {
|
|
148
126
|
// process err and data.
|
|
149
127
|
});
|
|
@@ -171,12 +149,14 @@ try {
|
|
|
171
149
|
}
|
|
172
150
|
```
|
|
173
151
|
|
|
152
|
+
See also [docs/ERROR_HANDLING](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/ERROR_HANDLING.md).
|
|
153
|
+
|
|
174
154
|
## Getting Help
|
|
175
155
|
|
|
176
156
|
Please use these community resources for getting help.
|
|
177
|
-
We use
|
|
157
|
+
We use GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
|
|
178
158
|
|
|
179
|
-
- Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
|
|
159
|
+
- Visit the [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
|
|
180
160
|
or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html).
|
|
181
161
|
- Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/)
|
|
182
162
|
on AWS Developer Blog.
|
package/dist-cjs/index.js
CHANGED
|
@@ -1838,6 +1838,7 @@ const SecurityPolicy = {
|
|
|
1838
1838
|
SecurityPolicy_TLS12_2018_EDGE: "SecurityPolicy_TLS12_2018_EDGE",
|
|
1839
1839
|
SecurityPolicy_TLS12_PFS_2025_EDGE: "SecurityPolicy_TLS12_PFS_2025_EDGE",
|
|
1840
1840
|
SecurityPolicy_TLS13_1_2_2021_06: "SecurityPolicy_TLS13_1_2_2021_06",
|
|
1841
|
+
SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09: "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09",
|
|
1841
1842
|
SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09: "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09",
|
|
1842
1843
|
SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09: "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09",
|
|
1843
1844
|
SecurityPolicy_TLS13_1_2_PQ_2025_09: "SecurityPolicy_TLS13_1_2_PQ_2025_09",
|
package/dist-es/models/enums.js
CHANGED
|
@@ -65,6 +65,7 @@ export const SecurityPolicy = {
|
|
|
65
65
|
SecurityPolicy_TLS12_2018_EDGE: "SecurityPolicy_TLS12_2018_EDGE",
|
|
66
66
|
SecurityPolicy_TLS12_PFS_2025_EDGE: "SecurityPolicy_TLS12_PFS_2025_EDGE",
|
|
67
67
|
SecurityPolicy_TLS13_1_2_2021_06: "SecurityPolicy_TLS13_1_2_2021_06",
|
|
68
|
+
SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09: "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09",
|
|
68
69
|
SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09: "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09",
|
|
69
70
|
SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09: "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09",
|
|
70
71
|
SecurityPolicy_TLS13_1_2_PQ_2025_09: "SecurityPolicy_TLS13_1_2_PQ_2025_09",
|
|
@@ -57,7 +57,7 @@ declare const CreateDomainNameCommand_base: {
|
|
|
57
57
|
* tags: { // MapOfStringToString
|
|
58
58
|
* "<keys>": "STRING_VALUE",
|
|
59
59
|
* },
|
|
60
|
-
* securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
60
|
+
* securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
61
61
|
* endpointAccessMode: "BASIC" || "STRICT",
|
|
62
62
|
* mutualTlsAuthentication: { // MutualTlsAuthenticationInput
|
|
63
63
|
* truststoreUri: "STRING_VALUE",
|
|
@@ -93,7 +93,7 @@ declare const CreateDomainNameCommand_base: {
|
|
|
93
93
|
* // },
|
|
94
94
|
* // domainNameStatus: "AVAILABLE" || "UPDATING" || "PENDING" || "PENDING_CERTIFICATE_REIMPORT" || "PENDING_OWNERSHIP_VERIFICATION" || "FAILED",
|
|
95
95
|
* // domainNameStatusMessage: "STRING_VALUE",
|
|
96
|
-
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
96
|
+
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
97
97
|
* // endpointAccessMode: "BASIC" || "STRICT",
|
|
98
98
|
* // tags: { // MapOfStringToString
|
|
99
99
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -60,7 +60,7 @@ declare const CreateRestApiCommand_base: {
|
|
|
60
60
|
* "<keys>": "STRING_VALUE",
|
|
61
61
|
* },
|
|
62
62
|
* disableExecuteApiEndpoint: true || false,
|
|
63
|
-
* securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
63
|
+
* securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
64
64
|
* endpointAccessMode: "BASIC" || "STRICT",
|
|
65
65
|
* };
|
|
66
66
|
* const command = new CreateRestApiCommand(input);
|
|
@@ -94,7 +94,7 @@ declare const CreateRestApiCommand_base: {
|
|
|
94
94
|
* // },
|
|
95
95
|
* // disableExecuteApiEndpoint: true || false,
|
|
96
96
|
* // rootResourceId: "STRING_VALUE",
|
|
97
|
-
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
97
|
+
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
98
98
|
* // endpointAccessMode: "BASIC" || "STRICT",
|
|
99
99
|
* // apiStatus: "UPDATING" || "AVAILABLE" || "PENDING" || "FAILED",
|
|
100
100
|
* // apiStatusMessage: "STRING_VALUE",
|
|
@@ -66,7 +66,7 @@ declare const GetDomainNameCommand_base: {
|
|
|
66
66
|
* // },
|
|
67
67
|
* // domainNameStatus: "AVAILABLE" || "UPDATING" || "PENDING" || "PENDING_CERTIFICATE_REIMPORT" || "PENDING_OWNERSHIP_VERIFICATION" || "FAILED",
|
|
68
68
|
* // domainNameStatusMessage: "STRING_VALUE",
|
|
69
|
-
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
69
|
+
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
70
70
|
* // endpointAccessMode: "BASIC" || "STRICT",
|
|
71
71
|
* // tags: { // MapOfStringToString
|
|
72
72
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -69,7 +69,7 @@ declare const GetDomainNamesCommand_base: {
|
|
|
69
69
|
* // },
|
|
70
70
|
* // domainNameStatus: "AVAILABLE" || "UPDATING" || "PENDING" || "PENDING_CERTIFICATE_REIMPORT" || "PENDING_OWNERSHIP_VERIFICATION" || "FAILED",
|
|
71
71
|
* // domainNameStatusMessage: "STRING_VALUE",
|
|
72
|
-
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
72
|
+
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
73
73
|
* // endpointAccessMode: "BASIC" || "STRICT",
|
|
74
74
|
* // tags: { // MapOfStringToString
|
|
75
75
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -70,7 +70,7 @@ declare const GetRestApiCommand_base: {
|
|
|
70
70
|
* // },
|
|
71
71
|
* // disableExecuteApiEndpoint: true || false,
|
|
72
72
|
* // rootResourceId: "STRING_VALUE",
|
|
73
|
-
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
73
|
+
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
74
74
|
* // endpointAccessMode: "BASIC" || "STRICT",
|
|
75
75
|
* // apiStatus: "UPDATING" || "AVAILABLE" || "PENDING" || "FAILED",
|
|
76
76
|
* // apiStatusMessage: "STRING_VALUE",
|
|
@@ -73,7 +73,7 @@ declare const GetRestApisCommand_base: {
|
|
|
73
73
|
* // },
|
|
74
74
|
* // disableExecuteApiEndpoint: true || false,
|
|
75
75
|
* // rootResourceId: "STRING_VALUE",
|
|
76
|
-
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
76
|
+
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
77
77
|
* // endpointAccessMode: "BASIC" || "STRICT",
|
|
78
78
|
* // apiStatus: "UPDATING" || "AVAILABLE" || "PENDING" || "FAILED",
|
|
79
79
|
* // apiStatusMessage: "STRING_VALUE",
|
|
@@ -80,7 +80,7 @@ declare const ImportRestApiCommand_base: {
|
|
|
80
80
|
* // },
|
|
81
81
|
* // disableExecuteApiEndpoint: true || false,
|
|
82
82
|
* // rootResourceId: "STRING_VALUE",
|
|
83
|
-
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
83
|
+
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
84
84
|
* // endpointAccessMode: "BASIC" || "STRICT",
|
|
85
85
|
* // apiStatus: "UPDATING" || "AVAILABLE" || "PENDING" || "FAILED",
|
|
86
86
|
* // apiStatusMessage: "STRING_VALUE",
|
|
@@ -83,7 +83,7 @@ declare const PutRestApiCommand_base: {
|
|
|
83
83
|
* // },
|
|
84
84
|
* // disableExecuteApiEndpoint: true || false,
|
|
85
85
|
* // rootResourceId: "STRING_VALUE",
|
|
86
|
-
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
86
|
+
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
87
87
|
* // endpointAccessMode: "BASIC" || "STRICT",
|
|
88
88
|
* // apiStatus: "UPDATING" || "AVAILABLE" || "PENDING" || "FAILED",
|
|
89
89
|
* // apiStatusMessage: "STRING_VALUE",
|
|
@@ -74,7 +74,7 @@ declare const UpdateDomainNameCommand_base: {
|
|
|
74
74
|
* // },
|
|
75
75
|
* // domainNameStatus: "AVAILABLE" || "UPDATING" || "PENDING" || "PENDING_CERTIFICATE_REIMPORT" || "PENDING_OWNERSHIP_VERIFICATION" || "FAILED",
|
|
76
76
|
* // domainNameStatusMessage: "STRING_VALUE",
|
|
77
|
-
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
77
|
+
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
78
78
|
* // endpointAccessMode: "BASIC" || "STRICT",
|
|
79
79
|
* // tags: { // MapOfStringToString
|
|
80
80
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -78,7 +78,7 @@ declare const UpdateRestApiCommand_base: {
|
|
|
78
78
|
* // },
|
|
79
79
|
* // disableExecuteApiEndpoint: true || false,
|
|
80
80
|
* // rootResourceId: "STRING_VALUE",
|
|
81
|
-
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
81
|
+
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
82
82
|
* // endpointAccessMode: "BASIC" || "STRICT",
|
|
83
83
|
* // apiStatus: "UPDATING" || "AVAILABLE" || "PENDING" || "FAILED",
|
|
84
84
|
* // apiStatusMessage: "STRING_VALUE",
|
|
@@ -157,6 +157,7 @@ export declare const SecurityPolicy: {
|
|
|
157
157
|
readonly SecurityPolicy_TLS12_2018_EDGE: "SecurityPolicy_TLS12_2018_EDGE";
|
|
158
158
|
readonly SecurityPolicy_TLS12_PFS_2025_EDGE: "SecurityPolicy_TLS12_PFS_2025_EDGE";
|
|
159
159
|
readonly SecurityPolicy_TLS13_1_2_2021_06: "SecurityPolicy_TLS13_1_2_2021_06";
|
|
160
|
+
readonly SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09: "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09";
|
|
160
161
|
readonly SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09: "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09";
|
|
161
162
|
readonly SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09: "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09";
|
|
162
163
|
readonly SecurityPolicy_TLS13_1_2_PQ_2025_09: "SecurityPolicy_TLS13_1_2_PQ_2025_09";
|
|
@@ -82,6 +82,7 @@ export declare const SecurityPolicy: {
|
|
|
82
82
|
readonly SecurityPolicy_TLS12_2018_EDGE: "SecurityPolicy_TLS12_2018_EDGE";
|
|
83
83
|
readonly SecurityPolicy_TLS12_PFS_2025_EDGE: "SecurityPolicy_TLS12_PFS_2025_EDGE";
|
|
84
84
|
readonly SecurityPolicy_TLS13_1_2_2021_06: "SecurityPolicy_TLS13_1_2_2021_06";
|
|
85
|
+
readonly SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09: "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09";
|
|
85
86
|
readonly SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09: "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09";
|
|
86
87
|
readonly SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09: "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09";
|
|
87
88
|
readonly SecurityPolicy_TLS13_1_2_PQ_2025_09: "SecurityPolicy_TLS13_1_2_PQ_2025_09";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-api-gateway",
|
|
3
3
|
"description": "AWS SDK for JavaScript Api Gateway Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1009.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-api-gateway",
|
|
@@ -23,43 +23,43 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.973.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
31
|
-
"@aws-sdk/middleware-sdk-api-gateway": "^3.972.
|
|
32
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
33
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
34
|
-
"@aws-sdk/types": "^3.973.
|
|
35
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
36
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
37
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
38
|
-
"@smithy/config-resolver": "^4.4.
|
|
39
|
-
"@smithy/core": "^3.23.
|
|
40
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
41
|
-
"@smithy/hash-node": "^4.2.
|
|
42
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
43
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
44
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
45
|
-
"@smithy/middleware-retry": "^4.4.
|
|
46
|
-
"@smithy/middleware-serde": "^4.2.
|
|
47
|
-
"@smithy/middleware-stack": "^4.2.
|
|
48
|
-
"@smithy/node-config-provider": "^4.3.
|
|
49
|
-
"@smithy/node-http-handler": "^4.4.
|
|
50
|
-
"@smithy/protocol-http": "^5.3.
|
|
51
|
-
"@smithy/smithy-client": "^4.12.
|
|
52
|
-
"@smithy/types": "^4.13.
|
|
53
|
-
"@smithy/url-parser": "^4.2.
|
|
26
|
+
"@aws-sdk/core": "^3.973.20",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.21",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
29
|
+
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.8",
|
|
31
|
+
"@aws-sdk/middleware-sdk-api-gateway": "^3.972.8",
|
|
32
|
+
"@aws-sdk/middleware-user-agent": "^3.972.21",
|
|
33
|
+
"@aws-sdk/region-config-resolver": "^3.972.8",
|
|
34
|
+
"@aws-sdk/types": "^3.973.6",
|
|
35
|
+
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
36
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
37
|
+
"@aws-sdk/util-user-agent-node": "^3.973.7",
|
|
38
|
+
"@smithy/config-resolver": "^4.4.11",
|
|
39
|
+
"@smithy/core": "^3.23.11",
|
|
40
|
+
"@smithy/fetch-http-handler": "^5.3.15",
|
|
41
|
+
"@smithy/hash-node": "^4.2.12",
|
|
42
|
+
"@smithy/invalid-dependency": "^4.2.12",
|
|
43
|
+
"@smithy/middleware-content-length": "^4.2.12",
|
|
44
|
+
"@smithy/middleware-endpoint": "^4.4.25",
|
|
45
|
+
"@smithy/middleware-retry": "^4.4.42",
|
|
46
|
+
"@smithy/middleware-serde": "^4.2.14",
|
|
47
|
+
"@smithy/middleware-stack": "^4.2.12",
|
|
48
|
+
"@smithy/node-config-provider": "^4.3.12",
|
|
49
|
+
"@smithy/node-http-handler": "^4.4.16",
|
|
50
|
+
"@smithy/protocol-http": "^5.3.12",
|
|
51
|
+
"@smithy/smithy-client": "^4.12.5",
|
|
52
|
+
"@smithy/types": "^4.13.1",
|
|
53
|
+
"@smithy/url-parser": "^4.2.12",
|
|
54
54
|
"@smithy/util-base64": "^4.3.2",
|
|
55
55
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
56
56
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
57
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
58
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
59
|
-
"@smithy/util-endpoints": "^3.3.
|
|
60
|
-
"@smithy/util-middleware": "^4.2.
|
|
61
|
-
"@smithy/util-retry": "^4.2.
|
|
62
|
-
"@smithy/util-stream": "^4.5.
|
|
57
|
+
"@smithy/util-defaults-mode-browser": "^4.3.41",
|
|
58
|
+
"@smithy/util-defaults-mode-node": "^4.2.44",
|
|
59
|
+
"@smithy/util-endpoints": "^3.3.3",
|
|
60
|
+
"@smithy/util-middleware": "^4.2.12",
|
|
61
|
+
"@smithy/util-retry": "^4.2.12",
|
|
62
|
+
"@smithy/util-stream": "^4.5.19",
|
|
63
63
|
"@smithy/util-utf8": "^4.2.2",
|
|
64
64
|
"tslib": "^2.6.2"
|
|
65
65
|
},
|