@aws-sdk/client-lambda-web 3.1148.0 → 3.1150.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 +141 -8
- package/dist-cjs/index.js +1126 -4
- package/dist-es/LambdaWeb.js +61 -1
- package/dist-es/commands/CreateWebFunctionCommand.js +4 -0
- package/dist-es/commands/CreateWebFunctionEndpointCommand.js +4 -0
- package/dist-es/commands/CreateWebFunctionRevisionCommand.js +4 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
- package/dist-es/commands/DeleteWebFunctionCommand.js +4 -0
- package/dist-es/commands/DeleteWebFunctionEndpointCommand.js +4 -0
- package/dist-es/commands/DeleteWebFunctionRevisionCommand.js +4 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +4 -0
- package/dist-es/commands/GetWebFunctionCommand.js +4 -0
- package/dist-es/commands/GetWebFunctionEndpointCommand.js +4 -0
- package/dist-es/commands/GetWebFunctionRevisionCommand.js +4 -0
- package/dist-es/commands/ListTagsCommand.js +4 -0
- package/dist-es/commands/ListWebFunctionEndpointsCommand.js +4 -0
- package/dist-es/commands/ListWebFunctionRevisionsCommand.js +4 -0
- package/dist-es/commands/ListWebFunctionsCommand.js +4 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/UpdateWebFunctionEndpointCommand.js +4 -0
- package/dist-es/commands/index.js +19 -0
- package/dist-es/index.js +3 -0
- package/dist-es/models/LambdaWebServiceException.js +1 -0
- package/dist-es/models/enums.js +48 -0
- package/dist-es/models/errors.js +71 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListWebFunctionEndpointsPaginator.js +4 -0
- package/dist-es/pagination/ListWebFunctionRevisionsPaginator.js +4 -0
- package/dist-es/pagination/ListWebFunctionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/schemas/schemas_0.js +515 -1
- package/dist-es/waiters/index.js +6 -0
- package/dist-es/waiters/waitForWebFunctionActive.js +58 -0
- package/dist-es/waiters/waitForWebFunctionDeleted.js +34 -0
- package/dist-es/waiters/waitForWebFunctionEndpointActive.js +58 -0
- package/dist-es/waiters/waitForWebFunctionEndpointDeleted.js +34 -0
- package/dist-es/waiters/waitForWebFunctionEndpointUpdated.js +49 -0
- package/dist-es/waiters/waitForWebFunctionRevisionActive.js +49 -0
- package/dist-types/LambdaWeb.d.ts +195 -2
- package/dist-types/LambdaWebClient.d.ts +22 -3
- package/dist-types/commandBuilder.d.ts +4 -4
- package/dist-types/commands/CreateWebFunctionCommand.d.ts +189 -0
- package/dist-types/commands/CreateWebFunctionEndpointCommand.d.ts +162 -0
- package/dist-types/commands/CreateWebFunctionRevisionCommand.d.ts +164 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +88 -0
- package/dist-types/commands/DeleteWebFunctionCommand.d.ts +87 -0
- package/dist-types/commands/DeleteWebFunctionEndpointCommand.d.ts +88 -0
- package/dist-types/commands/DeleteWebFunctionRevisionCommand.d.ts +88 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +87 -0
- package/dist-types/commands/GetWebAccountSettingsCommand.d.ts +6 -6
- package/dist-types/commands/GetWebFunctionCommand.d.ts +91 -0
- package/dist-types/commands/GetWebFunctionEndpointCommand.d.ts +137 -0
- package/dist-types/commands/GetWebFunctionRevisionCommand.d.ts +129 -0
- package/dist-types/commands/ListTagsCommand.d.ts +88 -0
- package/dist-types/commands/ListWebFunctionEndpointsCommand.d.ts +128 -0
- package/dist-types/commands/ListWebFunctionRevisionsCommand.d.ts +106 -0
- package/dist-types/commands/ListWebFunctionsCommand.d.ts +102 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +95 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UpdateWebFunctionEndpointCommand.d.ts +158 -0
- package/dist-types/commands/index.d.ts +19 -0
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/LambdaWebServiceException.d.ts +1 -0
- package/dist-types/models/enums.d.ts +120 -0
- package/dist-types/models/errors.d.ts +98 -3
- package/dist-types/models/models_0.d.ts +1507 -6
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListWebFunctionEndpointsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWebFunctionRevisionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWebFunctionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/schemas/schemas_0.d.ts +73 -0
- package/dist-types/ts3.4/LambdaWeb.d.ts +395 -0
- package/dist-types/ts3.4/LambdaWebClient.d.ts +112 -2
- package/dist-types/ts3.4/commandBuilder.d.ts +10 -9
- package/dist-types/ts3.4/commands/CreateWebFunctionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateWebFunctionEndpointCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateWebFunctionRevisionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteWebFunctionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteWebFunctionEndpointCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteWebFunctionRevisionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetWebAccountSettingsCommand.d.ts +4 -4
- package/dist-types/ts3.4/commands/GetWebFunctionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetWebFunctionEndpointCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetWebFunctionRevisionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListWebFunctionEndpointsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListWebFunctionRevisionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListWebFunctionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateWebFunctionEndpointCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +19 -0
- package/dist-types/ts3.4/index.d.ts +3 -0
- package/dist-types/ts3.4/models/LambdaWebServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +57 -0
- package/dist-types/ts3.4/models/errors.d.ts +35 -0
- package/dist-types/ts3.4/models/models_0.d.ts +351 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListWebFunctionEndpointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWebFunctionRevisionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWebFunctionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +73 -0
- package/dist-types/ts3.4/waiters/index.d.ts +6 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionActive.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionDeleted.d.ts +16 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointActive.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointDeleted.d.ts +16 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointUpdated.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionRevisionActive.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +6 -0
- package/dist-types/waiters/waitForWebFunctionActive.d.ts +15 -0
- package/dist-types/waiters/waitForWebFunctionDeleted.d.ts +16 -0
- package/dist-types/waiters/waitForWebFunctionEndpointActive.d.ts +15 -0
- package/dist-types/waiters/waitForWebFunctionEndpointDeleted.d.ts +16 -0
- package/dist-types/waiters/waitForWebFunctionEndpointUpdated.d.ts +15 -0
- package/dist-types/waiters/waitForWebFunctionRevisionActive.d.ts +15 -0
- package/package.json +4 -4
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ApplicationLogLevel, AuthType, AutoDeploymentMode, EndpointState, EndpointType, EndpointUpdateStatus, FunctionState, RevisionState, SystemLogLevel } from "./enums";
|
|
1
2
|
/**
|
|
2
3
|
* <p>The quotas that apply to web functions in your account in the current AWS Region.</p>
|
|
3
4
|
* @public
|
|
@@ -35,24 +36,1524 @@ export interface AccountUsage {
|
|
|
35
36
|
*/
|
|
36
37
|
functionCount: number | undefined;
|
|
37
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* <p>The Amazon S3 location of a deployment artifact.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export interface S3Object {
|
|
44
|
+
/**
|
|
45
|
+
* <p>The name of the Amazon S3 bucket.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
bucket: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* <p>The Amazon S3 object key.</p>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
key: string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* <p>The version ID of the Amazon S3 object.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
versionId?: string | undefined;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* <p>The code configuration specifying the location of the deployment artifact.</p>
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export interface CodeConfig {
|
|
65
|
+
/**
|
|
66
|
+
* <p>The Amazon S3 location of the deployment artifact.</p>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
s3Object: S3Object | undefined;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* <p>The runtime configuration for a web function revision.</p>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export interface RuntimeConfig {
|
|
76
|
+
/**
|
|
77
|
+
* <p>The runtime identifier for the web function (for example, a Node.js runtime identifier).</p>
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
runtime: string | undefined;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* <p>The build configuration for a web function revision, including code location and runtime settings.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export interface BuildConfig {
|
|
87
|
+
/**
|
|
88
|
+
* <p>The code configuration specifying where the deployment artifact is stored.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
codeConfig: CodeConfig | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* <p>The runtime configuration for the revision.</p>
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
runtimeConfig: RuntimeConfig | undefined;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* <p>The scaling configuration for a web function endpoint.</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export interface ScalingConfig {
|
|
103
|
+
/**
|
|
104
|
+
* <p>The maximum number of concurrent execution environments for the endpoint. Minimum value of 2, maximum value of 10000. There is no default value. If you don't specify a value, the scaling configuration is absent from the response. On an update, omit <code>scalingConfig</code> to keep the current value, or specify an empty object to clear a previously set value.</p>
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
maxEnvironments?: number | undefined;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* <p>The throttling configuration for a web function endpoint.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export interface ThrottleConfig {
|
|
114
|
+
/**
|
|
115
|
+
* <p>The maximum request rate per second for the endpoint. The value must be one of the following supported values: <code>0</code>, <code>100</code>, <code>200</code>, <code>300</code>, <code>400</code>, <code>500</code>, <code>600</code>, <code>700</code>, <code>800</code>, <code>900</code>, <code>1000</code>, <code>2000</code>, <code>3000</code>, <code>4000</code>, <code>5000</code>, <code>6000</code>, <code>7000</code>, <code>8000</code>, <code>9000</code>, or <code>10000</code>. The maximum effective value is also bounded by your account-level maximum total rate limit. There is no default value. If you don't specify a value, the throttling configuration is absent from the response. On an update, omit <code>throttleConfig</code> to keep the current value, or specify an empty object to clear a previously set value.</p>
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
rateLimit?: number | undefined;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* <p>The configuration for a web function endpoint.</p>
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export interface EndpointConfig {
|
|
125
|
+
/**
|
|
126
|
+
* <p>The name of the endpoint. The name can contain letters, numbers, hyphens (-), and underscores (_), and can't begin or end with a hyphen or an underscore. The name is limited to 64 characters in length.</p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
endpointName: string | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* <p>A description of the endpoint.</p>
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
description?: string | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* <p>The type of endpoint. Determines how traffic is served and routed across Regions.</p> <p>Valid values:</p> <ul> <li> <p> <code>HomeRegion</code> – Serves traffic from the Region where you created the web function.</p> </li> <li> <p> <code>MultiRegion</code> – Replicates across the Regions that you choose and routes each request to the nearest one.</p> </li> <li> <p> <code>PerRegion</code> – Creates a separate endpoint in each Region that you choose.</p> </li> </ul>
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
endpointType: EndpointType | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* <p>The authorization type for the endpoint.</p> <p>Valid values:</p> <ul> <li> <p> <code>ApplicationManaged</code> – Your application handles authorization.</p> </li> <li> <p> <code>IamAuth</code> – Lambda uses IAM to authorize requests, which must be signed with Signature Version 4 (SigV4).</p> </li> </ul>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
authType: AuthType | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* <p>The auto-deployment mode for the endpoint. If you don't specify a value, the default is <code>Disabled</code>, and this default is returned in the response.</p> <p>Valid values:</p> <ul> <li> <p> <code>LatestRevision</code> – The endpoint automatically serves the newest revision.</p> </li> <li> <p> <code>Disabled</code> – Revision routing stays fixed until you change it.</p> </li> </ul>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
autoDeploymentMode?: AutoDeploymentMode | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* <p>The list of Regions for the endpoint. Required when the endpoint type is <code>MultiRegion</code> or <code>PerRegion</code>: specify at least one Region other than the Region where you create the endpoint (the home Region). The home Region is added automatically if you don't include it; specifying only the home Region isn't allowed. When the endpoint type is <code>HomeRegion</code>, omit this field or specify only the home Region.</p>
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
regions?: string[] | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* <p>The scaling configuration for the endpoint.</p>
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
scalingConfig?: ScalingConfig | undefined;
|
|
160
|
+
/**
|
|
161
|
+
* <p>The throttling configuration for the endpoint.</p>
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
throttleConfig?: ThrottleConfig | undefined;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* <p>The logging configuration for a web function revision.</p>
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
export interface LoggingConfig {
|
|
171
|
+
/**
|
|
172
|
+
* <p>The name of the Amazon CloudWatch Logs log group the web function sends logs to. If you don't specify a value, the default is <code>/aws/lambda/web/\{functionName\}</code>, and this default is returned in the response.</p>
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
logGroup?: string | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* <p>The log level for application logs emitted by the web function. If you don't specify a value, the default is <code>INFO</code>, and this default is returned in the response.</p>
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
applicationLogLevel?: ApplicationLogLevel | undefined;
|
|
181
|
+
/**
|
|
182
|
+
* <p>The log level for system logs emitted by the Lambda runtime. If you don't specify a value, the default is <code>INFO</code>, and this default is returned in the response.</p>
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
systemLogLevel?: SystemLogLevel | undefined;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* <p>The telemetry configuration for a web function revision.</p>
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
export interface TelemetryConfig {
|
|
192
|
+
/**
|
|
193
|
+
* <p>The logging configuration for the web function.</p>
|
|
194
|
+
* @public
|
|
195
|
+
*/
|
|
196
|
+
loggingConfig?: LoggingConfig | undefined;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* <p>The service configuration for a web function revision, including execution role, timeout, VPC network access, concurrency, and telemetry settings.</p>
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
export interface ServiceConfig {
|
|
203
|
+
/**
|
|
204
|
+
* <p>The ARN of the IAM role that the web function assumes when it runs. This role provides permissions to access AWS services and resources.</p>
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
executionRoleArn: string | undefined;
|
|
208
|
+
/**
|
|
209
|
+
* <p>The amount of time (in seconds) that Lambda allows the web function to run before stopping it. Minimum value of 3, maximum value of 900. If you don't specify a value, the default is 30, and this default is returned in the response.</p>
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
212
|
+
timeoutSeconds?: number | undefined;
|
|
213
|
+
/**
|
|
214
|
+
* <p>The Amazon Resource Name (ARN) of the Lambda network connector that gives the web function access to resources in your VPC. You must specify the fully qualified ARN, including the connector version, which pins the revision to that version. If the network connector is deleted, invocations of revisions that reference it fail. Revisions that specify a network connector support only <code>HomeRegion</code> endpoints, not <code>MultiRegion</code> or <code>PerRegion</code>.</p>
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
217
|
+
egressNetworkConnectorArn?: string | undefined;
|
|
218
|
+
/**
|
|
219
|
+
* <p>The maximum number of concurrent requests handled per execution environment. Minimum value of 1, maximum value of 128. If you don't specify a value, the default is 64, and this default is returned in the response.</p>
|
|
220
|
+
* @public
|
|
221
|
+
*/
|
|
222
|
+
maxConcurrencyPerEnvironment?: number | undefined;
|
|
223
|
+
/**
|
|
224
|
+
* <p>A map of environment variable key-value pairs available to the web function at runtime. Environment variable values are sensitive.</p>
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
environmentVariables?: Record<string, string> | undefined;
|
|
228
|
+
/**
|
|
229
|
+
* <p>The telemetry configuration for the web function, including logging settings.</p>
|
|
230
|
+
* @public
|
|
231
|
+
*/
|
|
232
|
+
telemetryConfig?: TelemetryConfig | undefined;
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* <p>The configuration for a web function revision, including code build settings and service configuration.</p>
|
|
236
|
+
* @public
|
|
237
|
+
*/
|
|
238
|
+
export interface RevisionConfig {
|
|
239
|
+
/**
|
|
240
|
+
* <p>A description of the revision.</p>
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
description?: string | undefined;
|
|
244
|
+
/**
|
|
245
|
+
* <p>The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key used to encrypt the revision's code and environment variables.</p>
|
|
246
|
+
* @public
|
|
247
|
+
*/
|
|
248
|
+
kmsKeyArn?: string | undefined;
|
|
249
|
+
/**
|
|
250
|
+
* <p>The build configuration for the revision.</p>
|
|
251
|
+
* @public
|
|
252
|
+
*/
|
|
253
|
+
buildConfig: BuildConfig | undefined;
|
|
254
|
+
/**
|
|
255
|
+
* <p>The service configuration for the revision.</p>
|
|
256
|
+
* @public
|
|
257
|
+
*/
|
|
258
|
+
serviceConfig: ServiceConfig | undefined;
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* <p>The request to create a web function.</p>
|
|
262
|
+
* @public
|
|
263
|
+
*/
|
|
264
|
+
export interface CreateWebFunctionRequest {
|
|
265
|
+
/**
|
|
266
|
+
* <p>The name of the web function. The name can contain letters, numbers, hyphens (-), and underscores (_), and can't begin or end with a hyphen or an underscore. The name is limited to 64 characters in length.</p>
|
|
267
|
+
* @public
|
|
268
|
+
*/
|
|
269
|
+
functionName: string | undefined;
|
|
270
|
+
/**
|
|
271
|
+
* <p>The configuration for the initial revision of the web function, including code and service settings.</p>
|
|
272
|
+
* @public
|
|
273
|
+
*/
|
|
274
|
+
revisionConfig?: RevisionConfig | undefined;
|
|
275
|
+
/**
|
|
276
|
+
* <p>The configuration for the initial endpoint of the web function.</p>
|
|
277
|
+
* @public
|
|
278
|
+
*/
|
|
279
|
+
endpointConfig?: EndpointConfig | undefined;
|
|
280
|
+
/**
|
|
281
|
+
* <p>A map of tag keys and values to apply to the web function.</p>
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
284
|
+
tags?: Record<string, string> | undefined;
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* <p>Specifies a revision and its traffic weight for an endpoint. You can assign weights to up to two revisions to split traffic for canary or blue-green deployments.</p>
|
|
288
|
+
* @public
|
|
289
|
+
*/
|
|
290
|
+
export interface RevisionWeight {
|
|
291
|
+
/**
|
|
292
|
+
* <p>The identifier of the revision.</p>
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
revisionId: string | undefined;
|
|
296
|
+
/**
|
|
297
|
+
* <p>The percentage of traffic to route to this revision. Minimum value of 1, maximum value of 100.</p>
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
weight: number | undefined;
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* <p>A summary of a web function endpoint.</p>
|
|
304
|
+
* @public
|
|
305
|
+
*/
|
|
306
|
+
export interface FunctionEndpointSummary {
|
|
307
|
+
/**
|
|
308
|
+
* <p>The Amazon Resource Name (ARN) of the endpoint.</p>
|
|
309
|
+
* @public
|
|
310
|
+
*/
|
|
311
|
+
endpointArn: string | undefined;
|
|
312
|
+
/**
|
|
313
|
+
* <p>The name of the endpoint.</p>
|
|
314
|
+
* @public
|
|
315
|
+
*/
|
|
316
|
+
endpointName: string | undefined;
|
|
317
|
+
/**
|
|
318
|
+
* <p>A description of the endpoint.</p>
|
|
319
|
+
* @public
|
|
320
|
+
*/
|
|
321
|
+
description?: string | undefined;
|
|
322
|
+
/**
|
|
323
|
+
* <p>The type of the endpoint.</p>
|
|
324
|
+
* @public
|
|
325
|
+
*/
|
|
326
|
+
endpointType: EndpointType | undefined;
|
|
327
|
+
/**
|
|
328
|
+
* <p>The domain name of the endpoint.</p>
|
|
329
|
+
* @public
|
|
330
|
+
*/
|
|
331
|
+
domainName: string | undefined;
|
|
332
|
+
/**
|
|
333
|
+
* <p>The authorization type for the endpoint.</p>
|
|
334
|
+
* @public
|
|
335
|
+
*/
|
|
336
|
+
authType: AuthType | undefined;
|
|
337
|
+
/**
|
|
338
|
+
* <p>The auto-deployment mode for the endpoint.</p>
|
|
339
|
+
* @public
|
|
340
|
+
*/
|
|
341
|
+
autoDeploymentMode: AutoDeploymentMode | undefined;
|
|
342
|
+
/**
|
|
343
|
+
* <p>The revision weights for the endpoint.</p>
|
|
344
|
+
* @public
|
|
345
|
+
*/
|
|
346
|
+
revisionWeights: RevisionWeight[] | undefined;
|
|
347
|
+
/**
|
|
348
|
+
* <p>The list of Regions for the endpoint.</p>
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
regions: string[] | undefined;
|
|
352
|
+
/**
|
|
353
|
+
* <p>The scaling configuration for the endpoint. This field is absent if the endpoint has no scaling configuration.</p>
|
|
354
|
+
* @public
|
|
355
|
+
*/
|
|
356
|
+
scalingConfig?: ScalingConfig | undefined;
|
|
357
|
+
/**
|
|
358
|
+
* <p>The throttling configuration for the endpoint. This field is absent if the endpoint has no throttling configuration.</p>
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
throttleConfig?: ThrottleConfig | undefined;
|
|
362
|
+
/**
|
|
363
|
+
* <p>The current state of the endpoint.</p>
|
|
364
|
+
* @public
|
|
365
|
+
*/
|
|
366
|
+
state: EndpointState | undefined;
|
|
367
|
+
/**
|
|
368
|
+
* <p>The reason for the current state of the endpoint.</p>
|
|
369
|
+
* @public
|
|
370
|
+
*/
|
|
371
|
+
stateReason: string | undefined;
|
|
372
|
+
/**
|
|
373
|
+
* <p>The status of the most recent update to the endpoint.</p>
|
|
374
|
+
* @public
|
|
375
|
+
*/
|
|
376
|
+
updateStatus?: EndpointUpdateStatus | undefined;
|
|
377
|
+
/**
|
|
378
|
+
* <p>The reason for the current update status of the endpoint.</p>
|
|
379
|
+
* @public
|
|
380
|
+
*/
|
|
381
|
+
updateStatusReason?: string | undefined;
|
|
382
|
+
/**
|
|
383
|
+
* <p>The date and time the endpoint was created.</p>
|
|
384
|
+
* @public
|
|
385
|
+
*/
|
|
386
|
+
createdAt: Date | undefined;
|
|
387
|
+
/**
|
|
388
|
+
* <p>The date and time the endpoint was last updated.</p>
|
|
389
|
+
* @public
|
|
390
|
+
*/
|
|
391
|
+
updatedAt: Date | undefined;
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* <p>A summary of a web function revision.</p>
|
|
395
|
+
* @public
|
|
396
|
+
*/
|
|
397
|
+
export interface FunctionRevisionSummary {
|
|
398
|
+
/**
|
|
399
|
+
* <p>The Amazon Resource Name (ARN) of the revision.</p>
|
|
400
|
+
* @public
|
|
401
|
+
*/
|
|
402
|
+
revisionArn: string | undefined;
|
|
403
|
+
/**
|
|
404
|
+
* <p>The identifier of the revision.</p>
|
|
405
|
+
* @public
|
|
406
|
+
*/
|
|
407
|
+
revisionId: string | undefined;
|
|
408
|
+
/**
|
|
409
|
+
* <p>A description of the revision.</p>
|
|
410
|
+
* @public
|
|
411
|
+
*/
|
|
412
|
+
description?: string | undefined;
|
|
413
|
+
/**
|
|
414
|
+
* <p>The current state of the revision.</p>
|
|
415
|
+
* @public
|
|
416
|
+
*/
|
|
417
|
+
state: RevisionState | undefined;
|
|
418
|
+
/**
|
|
419
|
+
* <p>The reason for the current state of the revision.</p>
|
|
420
|
+
* @public
|
|
421
|
+
*/
|
|
422
|
+
stateReason: string | undefined;
|
|
423
|
+
/**
|
|
424
|
+
* <p>The date and time the revision was created.</p>
|
|
425
|
+
* @public
|
|
426
|
+
*/
|
|
427
|
+
createdAt: Date | undefined;
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* <p>Contains details about the created web function.</p>
|
|
431
|
+
* @public
|
|
432
|
+
*/
|
|
433
|
+
export interface CreateWebFunctionResponse {
|
|
434
|
+
/**
|
|
435
|
+
* <p>The name of the web function.</p>
|
|
436
|
+
* @public
|
|
437
|
+
*/
|
|
438
|
+
functionName: string | undefined;
|
|
439
|
+
/**
|
|
440
|
+
* <p>The Amazon Resource Name (ARN) of the web function.</p>
|
|
441
|
+
* @public
|
|
442
|
+
*/
|
|
443
|
+
functionArn: string | undefined;
|
|
444
|
+
/**
|
|
445
|
+
* <p>The current state of the web function.</p>
|
|
446
|
+
* @public
|
|
447
|
+
*/
|
|
448
|
+
state: FunctionState | undefined;
|
|
449
|
+
/**
|
|
450
|
+
* <p>The reason for the current state of the web function.</p>
|
|
451
|
+
* @public
|
|
452
|
+
*/
|
|
453
|
+
stateReason: string | undefined;
|
|
454
|
+
/**
|
|
455
|
+
* <p>The date and time the web function was created.</p>
|
|
456
|
+
* @public
|
|
457
|
+
*/
|
|
458
|
+
createdAt: Date | undefined;
|
|
459
|
+
/**
|
|
460
|
+
* <p>The date and time the web function was last updated.</p>
|
|
461
|
+
* @public
|
|
462
|
+
*/
|
|
463
|
+
updatedAt: Date | undefined;
|
|
464
|
+
/**
|
|
465
|
+
* <p>A summary of the initial revision created with the web function.</p>
|
|
466
|
+
* @public
|
|
467
|
+
*/
|
|
468
|
+
revision?: FunctionRevisionSummary | undefined;
|
|
469
|
+
/**
|
|
470
|
+
* <p>A summary of the initial endpoint created with the web function.</p>
|
|
471
|
+
* @public
|
|
472
|
+
*/
|
|
473
|
+
endpoint?: FunctionEndpointSummary | undefined;
|
|
474
|
+
/**
|
|
475
|
+
* <p>A map of tag keys and values associated with the web function.</p>
|
|
476
|
+
* @public
|
|
477
|
+
*/
|
|
478
|
+
tags?: Record<string, string> | undefined;
|
|
479
|
+
}
|
|
480
|
+
/**
|
|
481
|
+
* <p>The request to create a web function endpoint.</p>
|
|
482
|
+
* @public
|
|
483
|
+
*/
|
|
484
|
+
export interface CreateWebFunctionEndpointRequest {
|
|
485
|
+
/**
|
|
486
|
+
* <p>The web function to create the endpoint for.</p> <p>You can specify either of the following:</p> <ul> <li> <p>The function name, for example <code>my-function</code>.</p> </li> <li> <p>The function ARN.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
487
|
+
* @public
|
|
488
|
+
*/
|
|
489
|
+
functionName: string | undefined;
|
|
490
|
+
/**
|
|
491
|
+
* <p>The name of the endpoint to create. The name can contain letters, numbers, hyphens (-), and underscores (_), and can't begin or end with a hyphen or an underscore. The name is limited to 64 characters in length.</p>
|
|
492
|
+
* @public
|
|
493
|
+
*/
|
|
494
|
+
endpointName: string | undefined;
|
|
495
|
+
/**
|
|
496
|
+
* <p>A description of the endpoint.</p>
|
|
497
|
+
* @public
|
|
498
|
+
*/
|
|
499
|
+
description?: string | undefined;
|
|
500
|
+
/**
|
|
501
|
+
* <p>The type of endpoint to create. Determines how traffic is served and routed across Regions.</p> <p>Valid values:</p> <ul> <li> <p> <code>HomeRegion</code> – Serves traffic from the Region where you created the web function.</p> </li> <li> <p> <code>MultiRegion</code> – Replicates across the Regions that you choose and routes each request to the nearest one.</p> </li> <li> <p> <code>PerRegion</code> – Creates a separate endpoint in each Region that you choose.</p> </li> </ul>
|
|
502
|
+
* @public
|
|
503
|
+
*/
|
|
504
|
+
endpointType: EndpointType | undefined;
|
|
505
|
+
/**
|
|
506
|
+
* <p>The authorization type for the endpoint.</p> <p>Valid values:</p> <ul> <li> <p> <code>ApplicationManaged</code> – Your application handles authorization.</p> </li> <li> <p> <code>IamAuth</code> – Lambda uses IAM to authorize requests, which must be signed with Signature Version 4 (SigV4).</p> </li> </ul>
|
|
507
|
+
* @public
|
|
508
|
+
*/
|
|
509
|
+
authType: AuthType | undefined;
|
|
510
|
+
/**
|
|
511
|
+
* <p>The auto-deployment mode for the endpoint. Controls whether the endpoint automatically serves the newest revision. If you don't specify a value, the default is <code>Disabled</code>, and this default is returned in the response.</p> <p>Valid values:</p> <ul> <li> <p> <code>LatestRevision</code> – The endpoint automatically serves the newest revision.</p> </li> <li> <p> <code>Disabled</code> – Revision routing stays fixed until you change it.</p> </li> </ul>
|
|
512
|
+
* @public
|
|
513
|
+
*/
|
|
514
|
+
autoDeploymentMode?: AutoDeploymentMode | undefined;
|
|
515
|
+
/**
|
|
516
|
+
* <p>A list of revision weights that determine how traffic is distributed across revisions. You can specify up to two revisions for canary or blue-green deployments.</p>
|
|
517
|
+
* @public
|
|
518
|
+
*/
|
|
519
|
+
revisionWeights?: RevisionWeight[] | undefined;
|
|
520
|
+
/**
|
|
521
|
+
* <p>The list of Regions for the endpoint. Required when the endpoint type is <code>MultiRegion</code> or <code>PerRegion</code>: specify at least one Region other than the Region where you create the endpoint (the home Region). The home Region is added automatically if you don't include it; specifying only the home Region isn't allowed. When the endpoint type is <code>HomeRegion</code>, omit this field or specify only the home Region.</p>
|
|
522
|
+
* @public
|
|
523
|
+
*/
|
|
524
|
+
regions?: string[] | undefined;
|
|
525
|
+
/**
|
|
526
|
+
* <p>The scaling configuration for the endpoint. There is no default value. If you don't specify a scaling configuration, it is absent from the response.</p>
|
|
527
|
+
* @public
|
|
528
|
+
*/
|
|
529
|
+
scalingConfig?: ScalingConfig | undefined;
|
|
530
|
+
/**
|
|
531
|
+
* <p>The throttling configuration for the endpoint. There is no default value. If you don't specify a throttling configuration, it is absent from the response.</p>
|
|
532
|
+
* @public
|
|
533
|
+
*/
|
|
534
|
+
throttleConfig?: ThrottleConfig | undefined;
|
|
535
|
+
}
|
|
536
|
+
/**
|
|
537
|
+
* <p>Represents the endpoint configuration and state in a specific Region.</p>
|
|
538
|
+
* @public
|
|
539
|
+
*/
|
|
540
|
+
export interface RegionalEndpoint {
|
|
541
|
+
/**
|
|
542
|
+
* <p>The domain name of the regional endpoint.</p>
|
|
543
|
+
* @public
|
|
544
|
+
*/
|
|
545
|
+
domainName?: string | undefined;
|
|
546
|
+
/**
|
|
547
|
+
* <p>The authorization type for the regional endpoint.</p>
|
|
548
|
+
* @public
|
|
549
|
+
*/
|
|
550
|
+
authType: AuthType | undefined;
|
|
551
|
+
/**
|
|
552
|
+
* <p>The revision weights for the regional endpoint.</p>
|
|
553
|
+
* @public
|
|
554
|
+
*/
|
|
555
|
+
revisionWeights: RevisionWeight[] | undefined;
|
|
556
|
+
/**
|
|
557
|
+
* <p>The scaling configuration for the regional endpoint. This field is absent if the endpoint has no scaling configuration.</p>
|
|
558
|
+
* @public
|
|
559
|
+
*/
|
|
560
|
+
scalingConfig?: ScalingConfig | undefined;
|
|
561
|
+
/**
|
|
562
|
+
* <p>The throttling configuration for the regional endpoint. This field is absent if the endpoint has no throttling configuration.</p>
|
|
563
|
+
* @public
|
|
564
|
+
*/
|
|
565
|
+
throttleConfig?: ThrottleConfig | undefined;
|
|
566
|
+
/**
|
|
567
|
+
* <p>The current state of the regional endpoint.</p>
|
|
568
|
+
* @public
|
|
569
|
+
*/
|
|
570
|
+
state: EndpointState | undefined;
|
|
571
|
+
/**
|
|
572
|
+
* <p>The reason for the current state of the regional endpoint.</p>
|
|
573
|
+
* @public
|
|
574
|
+
*/
|
|
575
|
+
stateReason: string | undefined;
|
|
576
|
+
/**
|
|
577
|
+
* <p>The status of the most recent update to the regional endpoint.</p>
|
|
578
|
+
* @public
|
|
579
|
+
*/
|
|
580
|
+
updateStatus?: EndpointUpdateStatus | undefined;
|
|
581
|
+
/**
|
|
582
|
+
* <p>The reason for the current update status of the regional endpoint.</p>
|
|
583
|
+
* @public
|
|
584
|
+
*/
|
|
585
|
+
updateStatusReason?: string | undefined;
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
* <p>Contains details about the created endpoint.</p>
|
|
589
|
+
* @public
|
|
590
|
+
*/
|
|
591
|
+
export interface CreateWebFunctionEndpointResponse {
|
|
592
|
+
/**
|
|
593
|
+
* <p>The Amazon Resource Name (ARN) of the web function.</p>
|
|
594
|
+
* @public
|
|
595
|
+
*/
|
|
596
|
+
functionArn: string | undefined;
|
|
597
|
+
/**
|
|
598
|
+
* <p>The Amazon Resource Name (ARN) of the endpoint.</p>
|
|
599
|
+
* @public
|
|
600
|
+
*/
|
|
601
|
+
endpointArn: string | undefined;
|
|
602
|
+
/**
|
|
603
|
+
* <p>The name of the endpoint.</p>
|
|
604
|
+
* @public
|
|
605
|
+
*/
|
|
606
|
+
endpointName: string | undefined;
|
|
607
|
+
/**
|
|
608
|
+
* <p>The description of the endpoint.</p>
|
|
609
|
+
* @public
|
|
610
|
+
*/
|
|
611
|
+
description?: string | undefined;
|
|
612
|
+
/**
|
|
613
|
+
* <p>The type of a web function endpoint.</p> <p>Valid values:</p> <ul> <li> <p> <code>HomeRegion</code> – Serves traffic from the Region where you created the web function.</p> </li> <li> <p> <code>MultiRegion</code> – Replicates across the Regions that you choose and routes each request to the nearest one.</p> </li> <li> <p> <code>PerRegion</code> – Creates a separate endpoint in each Region that you choose.</p> </li> </ul>
|
|
614
|
+
* @public
|
|
615
|
+
*/
|
|
616
|
+
endpointType: EndpointType | undefined;
|
|
617
|
+
/**
|
|
618
|
+
* <p>The domain name assigned to the endpoint.</p>
|
|
619
|
+
* @public
|
|
620
|
+
*/
|
|
621
|
+
domainName: string | undefined;
|
|
622
|
+
/**
|
|
623
|
+
* <p>The authorization type for a web function endpoint.</p> <p>Valid values:</p> <ul> <li> <p> <code>ApplicationManaged</code> – Your application handles authorization.</p> </li> <li> <p> <code>IamAuth</code> – Lambda uses IAM to authorize requests, which must be signed with Signature Version 4 (SigV4).</p> </li> </ul>
|
|
624
|
+
* @public
|
|
625
|
+
*/
|
|
626
|
+
authType: AuthType | undefined;
|
|
627
|
+
/**
|
|
628
|
+
* <p>The auto-deployment mode for a web function endpoint.</p> <p>Valid values:</p> <ul> <li> <p> <code>LatestRevision</code> – The endpoint automatically serves the newest revision.</p> </li> <li> <p> <code>Disabled</code> – Revision routing stays fixed until you change it.</p> </li> </ul>
|
|
629
|
+
* @public
|
|
630
|
+
*/
|
|
631
|
+
autoDeploymentMode: AutoDeploymentMode | undefined;
|
|
632
|
+
/**
|
|
633
|
+
* <p>The traffic distribution across revisions for the endpoint. Each entry maps a revision to a weight from 1 to 100.</p>
|
|
634
|
+
* @public
|
|
635
|
+
*/
|
|
636
|
+
revisionWeights: RevisionWeight[] | undefined;
|
|
637
|
+
/**
|
|
638
|
+
* <p>The Regions configured for the endpoint.</p>
|
|
639
|
+
* @public
|
|
640
|
+
*/
|
|
641
|
+
regions: string[] | undefined;
|
|
642
|
+
/**
|
|
643
|
+
* <p>The scaling configuration for a web function endpoint.</p>
|
|
644
|
+
* @public
|
|
645
|
+
*/
|
|
646
|
+
scalingConfig?: ScalingConfig | undefined;
|
|
647
|
+
/**
|
|
648
|
+
* <p>The throttling configuration for a web function endpoint.</p>
|
|
649
|
+
* @public
|
|
650
|
+
*/
|
|
651
|
+
throttleConfig?: ThrottleConfig | undefined;
|
|
652
|
+
/**
|
|
653
|
+
* <p>The current state of the endpoint.</p>
|
|
654
|
+
* @public
|
|
655
|
+
*/
|
|
656
|
+
state: EndpointState | undefined;
|
|
657
|
+
/**
|
|
658
|
+
* <p>The reason for the current state of the endpoint.</p>
|
|
659
|
+
* @public
|
|
660
|
+
*/
|
|
661
|
+
stateReason: string | undefined;
|
|
662
|
+
/**
|
|
663
|
+
* <p>The status of the most recent update to an endpoint. Possible values:</p> <ul> <li> <p> <code>InProgress</code> – The update is in progress.</p> </li> <li> <p> <code>Successful</code> – The update completed successfully.</p> </li> <li> <p> <code>Failed</code> – The update failed.</p> </li> </ul>
|
|
664
|
+
* @public
|
|
665
|
+
*/
|
|
666
|
+
updateStatus?: EndpointUpdateStatus | undefined;
|
|
667
|
+
/**
|
|
668
|
+
* <p>The reason for the endpoint's most recent update status.</p>
|
|
669
|
+
* @public
|
|
670
|
+
*/
|
|
671
|
+
updateStatusReason?: string | undefined;
|
|
672
|
+
/**
|
|
673
|
+
* <p>The list of regional endpoint configurations.</p>
|
|
674
|
+
* @public
|
|
675
|
+
*/
|
|
676
|
+
regionalEndpoints: Record<string, RegionalEndpoint> | undefined;
|
|
677
|
+
/**
|
|
678
|
+
* <p>The date and time the endpoint was created.</p>
|
|
679
|
+
* @public
|
|
680
|
+
*/
|
|
681
|
+
createdAt: Date | undefined;
|
|
682
|
+
/**
|
|
683
|
+
* <p>The date and time the endpoint was last updated.</p>
|
|
684
|
+
* @public
|
|
685
|
+
*/
|
|
686
|
+
updatedAt: Date | undefined;
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* <p>The request to create a web function revision.</p>
|
|
690
|
+
* @public
|
|
691
|
+
*/
|
|
692
|
+
export interface CreateWebFunctionRevisionRequest {
|
|
693
|
+
/**
|
|
694
|
+
* <p>The web function.</p> <p>You can specify either of the following:</p> <ul> <li> <p>The function name, for example <code>my-function</code>.</p> </li> <li> <p>The function ARN.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
695
|
+
* @public
|
|
696
|
+
*/
|
|
697
|
+
functionName: string | undefined;
|
|
698
|
+
/**
|
|
699
|
+
* <p>A description of the revision.</p>
|
|
700
|
+
* @public
|
|
701
|
+
*/
|
|
702
|
+
description?: string | undefined;
|
|
703
|
+
/**
|
|
704
|
+
* <p>The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key used to encrypt the revision's code and environment variables.</p>
|
|
705
|
+
* @public
|
|
706
|
+
*/
|
|
707
|
+
kmsKeyArn?: string | undefined;
|
|
708
|
+
/**
|
|
709
|
+
* <p>The build configuration for the revision, including code location and runtime settings.</p>
|
|
710
|
+
* @public
|
|
711
|
+
*/
|
|
712
|
+
buildConfig: BuildConfig | undefined;
|
|
713
|
+
/**
|
|
714
|
+
* <p>The service configuration for the revision, including execution role, timeout, and concurrency settings.</p>
|
|
715
|
+
* @public
|
|
716
|
+
*/
|
|
717
|
+
serviceConfig: ServiceConfig | undefined;
|
|
718
|
+
}
|
|
719
|
+
/**
|
|
720
|
+
* <p>A single error encountered while creating or reading a web function revision. The error describes the affected attribute, an error code, and a human-readable message. This structure is present only when the revision has errors.</p>
|
|
721
|
+
* @public
|
|
722
|
+
*/
|
|
723
|
+
export interface RevisionError {
|
|
724
|
+
/**
|
|
725
|
+
* <p>The name of the revision attribute that the error applies to.</p>
|
|
726
|
+
* @public
|
|
727
|
+
*/
|
|
728
|
+
attribute: string | undefined;
|
|
729
|
+
/**
|
|
730
|
+
* <p>A short, machine-readable code that identifies the error.</p>
|
|
731
|
+
* @public
|
|
732
|
+
*/
|
|
733
|
+
errorCode: string | undefined;
|
|
734
|
+
/**
|
|
735
|
+
* <p>A human-readable message describing the error.</p>
|
|
736
|
+
* @public
|
|
737
|
+
*/
|
|
738
|
+
errorMessage: string | undefined;
|
|
739
|
+
}
|
|
740
|
+
/**
|
|
741
|
+
* <p>Contains details about the created revision.</p>
|
|
742
|
+
* @public
|
|
743
|
+
*/
|
|
744
|
+
export interface CreateWebFunctionRevisionResponse {
|
|
745
|
+
/**
|
|
746
|
+
* <p>The Amazon Resource Name (ARN) of the web function.</p>
|
|
747
|
+
* @public
|
|
748
|
+
*/
|
|
749
|
+
functionArn: string | undefined;
|
|
750
|
+
/**
|
|
751
|
+
* <p>The Amazon Resource Name (ARN) of the revision.</p>
|
|
752
|
+
* @public
|
|
753
|
+
*/
|
|
754
|
+
revisionArn: string | undefined;
|
|
755
|
+
/**
|
|
756
|
+
* <p>The identifier of the revision.</p>
|
|
757
|
+
* @public
|
|
758
|
+
*/
|
|
759
|
+
revisionId: string | undefined;
|
|
760
|
+
/**
|
|
761
|
+
* <p>The description of the revision.</p>
|
|
762
|
+
* @public
|
|
763
|
+
*/
|
|
764
|
+
description?: string | undefined;
|
|
765
|
+
/**
|
|
766
|
+
* <p>The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the revision's code and environment variables.</p>
|
|
767
|
+
* @public
|
|
768
|
+
*/
|
|
769
|
+
kmsKeyArn?: string | undefined;
|
|
770
|
+
/**
|
|
771
|
+
* <p>The build configuration for a web function revision, including code location and runtime settings.</p>
|
|
772
|
+
* @public
|
|
773
|
+
*/
|
|
774
|
+
buildConfig: BuildConfig | undefined;
|
|
775
|
+
/**
|
|
776
|
+
* <p>The service configuration for a web function revision, including execution role, timeout, VPC network access, concurrency, and telemetry settings.</p>
|
|
777
|
+
* @public
|
|
778
|
+
*/
|
|
779
|
+
serviceConfig: ServiceConfig | undefined;
|
|
780
|
+
/**
|
|
781
|
+
* <p>The current state of the revision.</p>
|
|
782
|
+
* @public
|
|
783
|
+
*/
|
|
784
|
+
state: RevisionState | undefined;
|
|
785
|
+
/**
|
|
786
|
+
* <p>The reason for the current state of the revision.</p>
|
|
787
|
+
* @public
|
|
788
|
+
*/
|
|
789
|
+
stateReason: string | undefined;
|
|
790
|
+
/**
|
|
791
|
+
* <p>A list of errors encountered during revision creation. This field is absent when the revision has no errors.</p>
|
|
792
|
+
* @public
|
|
793
|
+
*/
|
|
794
|
+
errors?: RevisionError[] | undefined;
|
|
795
|
+
/**
|
|
796
|
+
* <p>The date and time the revision was created.</p>
|
|
797
|
+
* @public
|
|
798
|
+
*/
|
|
799
|
+
createdAt: Date | undefined;
|
|
800
|
+
}
|
|
801
|
+
/**
|
|
802
|
+
* <p>The request to delete a resource-based policy.</p>
|
|
803
|
+
* @public
|
|
804
|
+
*/
|
|
805
|
+
export interface DeleteResourcePolicyRequest {
|
|
806
|
+
/**
|
|
807
|
+
* <p>The Amazon Resource Name (ARN) of the web function.</p>
|
|
808
|
+
* @public
|
|
809
|
+
*/
|
|
810
|
+
resourceArn: string | undefined;
|
|
811
|
+
/**
|
|
812
|
+
* <p>The revision ID of the policy. Use this to prevent deleting a policy that has been updated since you last retrieved it. If you don't specify a value, the policy is deleted regardless of its current revision.</p>
|
|
813
|
+
* @public
|
|
814
|
+
*/
|
|
815
|
+
revisionId?: string | undefined;
|
|
816
|
+
}
|
|
817
|
+
/**
|
|
818
|
+
* <p>The request to delete a web function.</p>
|
|
819
|
+
* @public
|
|
820
|
+
*/
|
|
821
|
+
export interface DeleteWebFunctionRequest {
|
|
822
|
+
/**
|
|
823
|
+
* <p>The web function to delete.</p> <p>You can specify either of the following:</p> <ul> <li> <p>The function name, for example <code>my-function</code>.</p> </li> <li> <p>The function ARN.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
824
|
+
* @public
|
|
825
|
+
*/
|
|
826
|
+
functionName: string | undefined;
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
* <p>The request to delete a web function endpoint.</p>
|
|
830
|
+
* @public
|
|
831
|
+
*/
|
|
832
|
+
export interface DeleteWebFunctionEndpointRequest {
|
|
833
|
+
/**
|
|
834
|
+
* <p>The web function.</p> <p>You can specify either of the following:</p> <ul> <li> <p>The function name, for example <code>my-function</code>.</p> </li> <li> <p>The function ARN.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
835
|
+
* @public
|
|
836
|
+
*/
|
|
837
|
+
functionName: string | undefined;
|
|
838
|
+
/**
|
|
839
|
+
* <p>The endpoint to delete.</p> <p>You can specify either of the following:</p> <ul> <li> <p>The endpoint name, for example <code>my-endpoint</code>.</p> </li> <li> <p>The endpoint ARN.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the endpoint name, it is limited to 64 characters in length.</p>
|
|
840
|
+
* @public
|
|
841
|
+
*/
|
|
842
|
+
endpointName: string | undefined;
|
|
843
|
+
}
|
|
844
|
+
/**
|
|
845
|
+
* <p>The request to delete a web function revision.</p>
|
|
846
|
+
* @public
|
|
847
|
+
*/
|
|
848
|
+
export interface DeleteWebFunctionRevisionRequest {
|
|
849
|
+
/**
|
|
850
|
+
* <p>The web function.</p> <p>You can specify either of the following:</p> <ul> <li> <p>The function name, for example <code>my-function</code>.</p> </li> <li> <p>The function ARN.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
851
|
+
* @public
|
|
852
|
+
*/
|
|
853
|
+
functionName: string | undefined;
|
|
854
|
+
/**
|
|
855
|
+
* <p>The revision to delete.</p> <p>You can specify either of the following:</p> <ul> <li> <p>The revision identifier.</p> </li> <li> <p>The revision ARN.</p> </li> </ul> <p>The length constraint applies only to the full ARN.</p>
|
|
856
|
+
* @public
|
|
857
|
+
*/
|
|
858
|
+
revisionId: string | undefined;
|
|
859
|
+
}
|
|
860
|
+
/**
|
|
861
|
+
* <p>A filter to apply when listing resources.</p>
|
|
862
|
+
* @public
|
|
863
|
+
*/
|
|
864
|
+
export interface Filter {
|
|
865
|
+
/**
|
|
866
|
+
* <p>The name of the filter field.</p>
|
|
867
|
+
* @public
|
|
868
|
+
*/
|
|
869
|
+
name: string | undefined;
|
|
870
|
+
/**
|
|
871
|
+
* <p>The values to match for the filter.</p>
|
|
872
|
+
* @public
|
|
873
|
+
*/
|
|
874
|
+
values: string[] | undefined;
|
|
875
|
+
}
|
|
876
|
+
/**
|
|
877
|
+
* <p>A summary of a web function.</p>
|
|
878
|
+
* @public
|
|
879
|
+
*/
|
|
880
|
+
export interface FunctionSummary {
|
|
881
|
+
/**
|
|
882
|
+
* <p>The name of the web function.</p>
|
|
883
|
+
* @public
|
|
884
|
+
*/
|
|
885
|
+
functionName: string | undefined;
|
|
886
|
+
/**
|
|
887
|
+
* <p>The Amazon Resource Name (ARN) of the web function.</p>
|
|
888
|
+
* @public
|
|
889
|
+
*/
|
|
890
|
+
functionArn: string | undefined;
|
|
891
|
+
/**
|
|
892
|
+
* <p>The current state of the web function.</p>
|
|
893
|
+
* @public
|
|
894
|
+
*/
|
|
895
|
+
state: FunctionState | undefined;
|
|
896
|
+
/**
|
|
897
|
+
* <p>The reason for the current state of the web function.</p>
|
|
898
|
+
* @public
|
|
899
|
+
*/
|
|
900
|
+
stateReason: string | undefined;
|
|
901
|
+
/**
|
|
902
|
+
* <p>The date and time the web function was created.</p>
|
|
903
|
+
* @public
|
|
904
|
+
*/
|
|
905
|
+
createdAt: Date | undefined;
|
|
906
|
+
/**
|
|
907
|
+
* <p>The date and time the web function was last updated.</p>
|
|
908
|
+
* @public
|
|
909
|
+
*/
|
|
910
|
+
updatedAt: Date | undefined;
|
|
911
|
+
}
|
|
912
|
+
/**
|
|
913
|
+
* <p>The request to retrieve a resource-based policy.</p>
|
|
914
|
+
* @public
|
|
915
|
+
*/
|
|
916
|
+
export interface GetResourcePolicyRequest {
|
|
917
|
+
/**
|
|
918
|
+
* <p>The Amazon Resource Name (ARN) of the web function.</p>
|
|
919
|
+
* @public
|
|
920
|
+
*/
|
|
921
|
+
resourceArn: string | undefined;
|
|
922
|
+
}
|
|
923
|
+
/**
|
|
924
|
+
* <p>Contains the resource-based policy and its revision ID.</p>
|
|
925
|
+
* @public
|
|
926
|
+
*/
|
|
927
|
+
export interface GetResourcePolicyResponse {
|
|
928
|
+
/**
|
|
929
|
+
* <p>The JSON-formatted resource-based policy attached to the web function.</p>
|
|
930
|
+
* @public
|
|
931
|
+
*/
|
|
932
|
+
policy: string | undefined;
|
|
933
|
+
/**
|
|
934
|
+
* <p>The revision ID of the policy.</p>
|
|
935
|
+
* @public
|
|
936
|
+
*/
|
|
937
|
+
revisionId: string | undefined;
|
|
938
|
+
}
|
|
38
939
|
/**
|
|
39
940
|
* @public
|
|
40
941
|
*/
|
|
41
942
|
export interface GetWebAccountSettingsRequest {
|
|
42
943
|
}
|
|
43
944
|
/**
|
|
44
|
-
* <p>Contains your AWS Lambda Web Functions account quotas and usage for the current AWS Region.</p>
|
|
945
|
+
* <p>Contains your AWS Lambda Web Functions account quotas and usage for the current AWS Region.</p>
|
|
946
|
+
* @public
|
|
947
|
+
*/
|
|
948
|
+
export interface GetWebAccountSettingsResponse {
|
|
949
|
+
/**
|
|
950
|
+
* <p>The quotas that apply to web functions in your account in the current AWS Region.</p>
|
|
951
|
+
* @public
|
|
952
|
+
*/
|
|
953
|
+
accountQuotas: AccountQuotas | undefined;
|
|
954
|
+
/**
|
|
955
|
+
* <p>The current web function usage for your account in the current AWS Region.</p>
|
|
956
|
+
* @public
|
|
957
|
+
*/
|
|
958
|
+
accountUsage: AccountUsage | undefined;
|
|
959
|
+
}
|
|
960
|
+
/**
|
|
961
|
+
* <p>The request to retrieve a web function.</p>
|
|
962
|
+
* @public
|
|
963
|
+
*/
|
|
964
|
+
export interface GetWebFunctionRequest {
|
|
965
|
+
/**
|
|
966
|
+
* <p>The web function to retrieve.</p> <p>You can specify either of the following:</p> <ul> <li> <p>The function name, for example <code>my-function</code>.</p> </li> <li> <p>The function ARN.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
967
|
+
* @public
|
|
968
|
+
*/
|
|
969
|
+
functionName: string | undefined;
|
|
970
|
+
}
|
|
971
|
+
/**
|
|
972
|
+
* <p>Contains details about the web function.</p>
|
|
973
|
+
* @public
|
|
974
|
+
*/
|
|
975
|
+
export interface GetWebFunctionResponse {
|
|
976
|
+
/**
|
|
977
|
+
* <p>The name of the web function.</p>
|
|
978
|
+
* @public
|
|
979
|
+
*/
|
|
980
|
+
functionName: string | undefined;
|
|
981
|
+
/**
|
|
982
|
+
* <p>The Amazon Resource Name (ARN) of the web function.</p>
|
|
983
|
+
* @public
|
|
984
|
+
*/
|
|
985
|
+
functionArn: string | undefined;
|
|
986
|
+
/**
|
|
987
|
+
* <p>The current state of the web function.</p>
|
|
988
|
+
* @public
|
|
989
|
+
*/
|
|
990
|
+
state: FunctionState | undefined;
|
|
991
|
+
/**
|
|
992
|
+
* <p>The reason for the current state of the web function.</p>
|
|
993
|
+
* @public
|
|
994
|
+
*/
|
|
995
|
+
stateReason: string | undefined;
|
|
996
|
+
/**
|
|
997
|
+
* <p>The date and time the web function was created.</p>
|
|
998
|
+
* @public
|
|
999
|
+
*/
|
|
1000
|
+
createdAt: Date | undefined;
|
|
1001
|
+
/**
|
|
1002
|
+
* <p>The date and time the web function was last updated.</p>
|
|
1003
|
+
* @public
|
|
1004
|
+
*/
|
|
1005
|
+
updatedAt: Date | undefined;
|
|
1006
|
+
}
|
|
1007
|
+
/**
|
|
1008
|
+
* <p>The request to retrieve a web function endpoint.</p>
|
|
1009
|
+
* @public
|
|
1010
|
+
*/
|
|
1011
|
+
export interface GetWebFunctionEndpointRequest {
|
|
1012
|
+
/**
|
|
1013
|
+
* <p>The web function.</p> <p>You can specify either of the following:</p> <ul> <li> <p>The function name, for example <code>my-function</code>.</p> </li> <li> <p>The function ARN.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
1014
|
+
* @public
|
|
1015
|
+
*/
|
|
1016
|
+
functionName: string | undefined;
|
|
1017
|
+
/**
|
|
1018
|
+
* <p>The endpoint to retrieve.</p> <p>You can specify either of the following:</p> <ul> <li> <p>The endpoint name, for example <code>my-endpoint</code>.</p> </li> <li> <p>The endpoint ARN.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the endpoint name, it is limited to 64 characters in length.</p>
|
|
1019
|
+
* @public
|
|
1020
|
+
*/
|
|
1021
|
+
endpointName: string | undefined;
|
|
1022
|
+
}
|
|
1023
|
+
/**
|
|
1024
|
+
* <p>Contains details about the web function endpoint.</p>
|
|
1025
|
+
* @public
|
|
1026
|
+
*/
|
|
1027
|
+
export interface GetWebFunctionEndpointResponse {
|
|
1028
|
+
/**
|
|
1029
|
+
* <p>The Amazon Resource Name (ARN) of the web function.</p>
|
|
1030
|
+
* @public
|
|
1031
|
+
*/
|
|
1032
|
+
functionArn: string | undefined;
|
|
1033
|
+
/**
|
|
1034
|
+
* <p>The Amazon Resource Name (ARN) of the endpoint.</p>
|
|
1035
|
+
* @public
|
|
1036
|
+
*/
|
|
1037
|
+
endpointArn: string | undefined;
|
|
1038
|
+
/**
|
|
1039
|
+
* <p>The name of the endpoint.</p>
|
|
1040
|
+
* @public
|
|
1041
|
+
*/
|
|
1042
|
+
endpointName: string | undefined;
|
|
1043
|
+
/**
|
|
1044
|
+
* <p>The description of the endpoint.</p>
|
|
1045
|
+
* @public
|
|
1046
|
+
*/
|
|
1047
|
+
description?: string | undefined;
|
|
1048
|
+
/**
|
|
1049
|
+
* <p>The type of a web function endpoint.</p> <p>Valid values:</p> <ul> <li> <p> <code>HomeRegion</code> – Serves traffic from the Region where you created the web function.</p> </li> <li> <p> <code>MultiRegion</code> – Replicates across the Regions that you choose and routes each request to the nearest one.</p> </li> <li> <p> <code>PerRegion</code> – Creates a separate endpoint in each Region that you choose.</p> </li> </ul>
|
|
1050
|
+
* @public
|
|
1051
|
+
*/
|
|
1052
|
+
endpointType: EndpointType | undefined;
|
|
1053
|
+
/**
|
|
1054
|
+
* <p>The domain name assigned to the endpoint.</p>
|
|
1055
|
+
* @public
|
|
1056
|
+
*/
|
|
1057
|
+
domainName: string | undefined;
|
|
1058
|
+
/**
|
|
1059
|
+
* <p>The authorization type for a web function endpoint.</p> <p>Valid values:</p> <ul> <li> <p> <code>ApplicationManaged</code> – Your application handles authorization.</p> </li> <li> <p> <code>IamAuth</code> – Lambda uses IAM to authorize requests, which must be signed with Signature Version 4 (SigV4).</p> </li> </ul>
|
|
1060
|
+
* @public
|
|
1061
|
+
*/
|
|
1062
|
+
authType: AuthType | undefined;
|
|
1063
|
+
/**
|
|
1064
|
+
* <p>The auto-deployment mode for a web function endpoint.</p> <p>Valid values:</p> <ul> <li> <p> <code>LatestRevision</code> – The endpoint automatically serves the newest revision.</p> </li> <li> <p> <code>Disabled</code> – Revision routing stays fixed until you change it.</p> </li> </ul>
|
|
1065
|
+
* @public
|
|
1066
|
+
*/
|
|
1067
|
+
autoDeploymentMode: AutoDeploymentMode | undefined;
|
|
1068
|
+
/**
|
|
1069
|
+
* <p>The traffic distribution across revisions for the endpoint. Each entry maps a revision to a weight from 1 to 100.</p>
|
|
1070
|
+
* @public
|
|
1071
|
+
*/
|
|
1072
|
+
revisionWeights: RevisionWeight[] | undefined;
|
|
1073
|
+
/**
|
|
1074
|
+
* <p>The Regions configured for the endpoint.</p>
|
|
1075
|
+
* @public
|
|
1076
|
+
*/
|
|
1077
|
+
regions: string[] | undefined;
|
|
1078
|
+
/**
|
|
1079
|
+
* <p>The scaling configuration for a web function endpoint.</p>
|
|
1080
|
+
* @public
|
|
1081
|
+
*/
|
|
1082
|
+
scalingConfig?: ScalingConfig | undefined;
|
|
1083
|
+
/**
|
|
1084
|
+
* <p>The throttling configuration for a web function endpoint.</p>
|
|
1085
|
+
* @public
|
|
1086
|
+
*/
|
|
1087
|
+
throttleConfig?: ThrottleConfig | undefined;
|
|
1088
|
+
/**
|
|
1089
|
+
* <p>The current state of the endpoint.</p>
|
|
1090
|
+
* @public
|
|
1091
|
+
*/
|
|
1092
|
+
state: EndpointState | undefined;
|
|
1093
|
+
/**
|
|
1094
|
+
* <p>The reason for the current state of the endpoint.</p>
|
|
1095
|
+
* @public
|
|
1096
|
+
*/
|
|
1097
|
+
stateReason: string | undefined;
|
|
1098
|
+
/**
|
|
1099
|
+
* <p>The status of the most recent update to an endpoint. Possible values:</p> <ul> <li> <p> <code>InProgress</code> – The update is in progress.</p> </li> <li> <p> <code>Successful</code> – The update completed successfully.</p> </li> <li> <p> <code>Failed</code> – The update failed.</p> </li> </ul>
|
|
1100
|
+
* @public
|
|
1101
|
+
*/
|
|
1102
|
+
updateStatus?: EndpointUpdateStatus | undefined;
|
|
1103
|
+
/**
|
|
1104
|
+
* <p>The reason for the endpoint's most recent update status.</p>
|
|
1105
|
+
* @public
|
|
1106
|
+
*/
|
|
1107
|
+
updateStatusReason?: string | undefined;
|
|
1108
|
+
/**
|
|
1109
|
+
* <p>The list of regional endpoint configurations.</p>
|
|
1110
|
+
* @public
|
|
1111
|
+
*/
|
|
1112
|
+
regionalEndpoints: Record<string, RegionalEndpoint> | undefined;
|
|
1113
|
+
/**
|
|
1114
|
+
* <p>The date and time the endpoint was created.</p>
|
|
1115
|
+
* @public
|
|
1116
|
+
*/
|
|
1117
|
+
createdAt: Date | undefined;
|
|
1118
|
+
/**
|
|
1119
|
+
* <p>The date and time the endpoint was last updated.</p>
|
|
1120
|
+
* @public
|
|
1121
|
+
*/
|
|
1122
|
+
updatedAt: Date | undefined;
|
|
1123
|
+
}
|
|
1124
|
+
/**
|
|
1125
|
+
* <p>The request to retrieve a web function revision.</p>
|
|
1126
|
+
* @public
|
|
1127
|
+
*/
|
|
1128
|
+
export interface GetWebFunctionRevisionRequest {
|
|
1129
|
+
/**
|
|
1130
|
+
* <p>The web function.</p> <p>You can specify either of the following:</p> <ul> <li> <p>The function name, for example <code>my-function</code>.</p> </li> <li> <p>The function ARN.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
1131
|
+
* @public
|
|
1132
|
+
*/
|
|
1133
|
+
functionName: string | undefined;
|
|
1134
|
+
/**
|
|
1135
|
+
* <p>The revision to retrieve.</p> <p>You can specify either of the following:</p> <ul> <li> <p>The revision identifier.</p> </li> <li> <p>The revision ARN.</p> </li> </ul> <p>The length constraint applies only to the full ARN.</p>
|
|
1136
|
+
* @public
|
|
1137
|
+
*/
|
|
1138
|
+
revisionId: string | undefined;
|
|
1139
|
+
}
|
|
1140
|
+
/**
|
|
1141
|
+
* <p>Contains details about the web function revision.</p>
|
|
45
1142
|
* @public
|
|
46
1143
|
*/
|
|
47
|
-
export interface
|
|
1144
|
+
export interface GetWebFunctionRevisionResponse {
|
|
48
1145
|
/**
|
|
49
|
-
* <p>The
|
|
1146
|
+
* <p>The Amazon Resource Name (ARN) of the web function.</p>
|
|
50
1147
|
* @public
|
|
51
1148
|
*/
|
|
52
|
-
|
|
1149
|
+
functionArn: string | undefined;
|
|
53
1150
|
/**
|
|
54
|
-
* <p>The
|
|
1151
|
+
* <p>The Amazon Resource Name (ARN) of the revision.</p>
|
|
55
1152
|
* @public
|
|
56
1153
|
*/
|
|
57
|
-
|
|
1154
|
+
revisionArn: string | undefined;
|
|
1155
|
+
/**
|
|
1156
|
+
* <p>The identifier of the revision.</p>
|
|
1157
|
+
* @public
|
|
1158
|
+
*/
|
|
1159
|
+
revisionId: string | undefined;
|
|
1160
|
+
/**
|
|
1161
|
+
* <p>The description of the revision.</p>
|
|
1162
|
+
* @public
|
|
1163
|
+
*/
|
|
1164
|
+
description?: string | undefined;
|
|
1165
|
+
/**
|
|
1166
|
+
* <p>The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the revision's code and environment variables.</p>
|
|
1167
|
+
* @public
|
|
1168
|
+
*/
|
|
1169
|
+
kmsKeyArn?: string | undefined;
|
|
1170
|
+
/**
|
|
1171
|
+
* <p>The build configuration for a web function revision, including code location and runtime settings.</p>
|
|
1172
|
+
* @public
|
|
1173
|
+
*/
|
|
1174
|
+
buildConfig: BuildConfig | undefined;
|
|
1175
|
+
/**
|
|
1176
|
+
* <p>The service configuration for a web function revision, including execution role, timeout, VPC network access, concurrency, and telemetry settings.</p>
|
|
1177
|
+
* @public
|
|
1178
|
+
*/
|
|
1179
|
+
serviceConfig: ServiceConfig | undefined;
|
|
1180
|
+
/**
|
|
1181
|
+
* <p>The current state of the revision.</p>
|
|
1182
|
+
* @public
|
|
1183
|
+
*/
|
|
1184
|
+
state: RevisionState | undefined;
|
|
1185
|
+
/**
|
|
1186
|
+
* <p>The reason for the current state of the revision.</p>
|
|
1187
|
+
* @public
|
|
1188
|
+
*/
|
|
1189
|
+
stateReason: string | undefined;
|
|
1190
|
+
/**
|
|
1191
|
+
* <p>A list of errors encountered during revision creation. This field is absent when the revision has no errors.</p>
|
|
1192
|
+
* @public
|
|
1193
|
+
*/
|
|
1194
|
+
errors?: RevisionError[] | undefined;
|
|
1195
|
+
/**
|
|
1196
|
+
* <p>The date and time the revision was created.</p>
|
|
1197
|
+
* @public
|
|
1198
|
+
*/
|
|
1199
|
+
createdAt: Date | undefined;
|
|
1200
|
+
}
|
|
1201
|
+
/**
|
|
1202
|
+
* <p>The request to list tags for a resource.</p>
|
|
1203
|
+
* @public
|
|
1204
|
+
*/
|
|
1205
|
+
export interface ListTagsRequest {
|
|
1206
|
+
/**
|
|
1207
|
+
* <p>The Amazon Resource Name (ARN) of the web function.</p>
|
|
1208
|
+
* @public
|
|
1209
|
+
*/
|
|
1210
|
+
resource: string | undefined;
|
|
1211
|
+
}
|
|
1212
|
+
/**
|
|
1213
|
+
* <p>Contains the list of tags.</p>
|
|
1214
|
+
* @public
|
|
1215
|
+
*/
|
|
1216
|
+
export interface ListTagsResponse {
|
|
1217
|
+
/**
|
|
1218
|
+
* <p>A map of tag keys and values associated with the web function.</p>
|
|
1219
|
+
* @public
|
|
1220
|
+
*/
|
|
1221
|
+
tags?: Record<string, string> | undefined;
|
|
1222
|
+
}
|
|
1223
|
+
/**
|
|
1224
|
+
* <p>The request to add or update a resource-based policy.</p>
|
|
1225
|
+
* @public
|
|
1226
|
+
*/
|
|
1227
|
+
export interface PutResourcePolicyRequest {
|
|
1228
|
+
/**
|
|
1229
|
+
* <p>The Amazon Resource Name (ARN) of the web function.</p>
|
|
1230
|
+
* @public
|
|
1231
|
+
*/
|
|
1232
|
+
resourceArn: string | undefined;
|
|
1233
|
+
/**
|
|
1234
|
+
* <p>The JSON-formatted resource-based policy to attach to the web function.</p>
|
|
1235
|
+
* @public
|
|
1236
|
+
*/
|
|
1237
|
+
policy: string | undefined;
|
|
1238
|
+
/**
|
|
1239
|
+
* <p>The revision ID of the existing policy. Use this to prevent conflicts when updating a policy concurrently. If you don't specify a value, the update proceeds without checking the current revision.</p>
|
|
1240
|
+
* @public
|
|
1241
|
+
*/
|
|
1242
|
+
revisionId?: string | undefined;
|
|
1243
|
+
}
|
|
1244
|
+
/**
|
|
1245
|
+
* <p>Contains the resource-based policy and its revision ID.</p>
|
|
1246
|
+
* @public
|
|
1247
|
+
*/
|
|
1248
|
+
export interface PutResourcePolicyResponse {
|
|
1249
|
+
/**
|
|
1250
|
+
* <p>The JSON-formatted resource-based policy attached to the web function.</p>
|
|
1251
|
+
* @public
|
|
1252
|
+
*/
|
|
1253
|
+
policy: string | undefined;
|
|
1254
|
+
/**
|
|
1255
|
+
* <p>The revision ID of the policy. Use this value in subsequent <code>PutResourcePolicy</code> or <code>DeleteResourcePolicy</code> requests to prevent conflicts.</p>
|
|
1256
|
+
* @public
|
|
1257
|
+
*/
|
|
1258
|
+
revisionId: string | undefined;
|
|
1259
|
+
}
|
|
1260
|
+
/**
|
|
1261
|
+
* <p>The request to add tags to a resource.</p>
|
|
1262
|
+
* @public
|
|
1263
|
+
*/
|
|
1264
|
+
export interface TagResourceRequest {
|
|
1265
|
+
/**
|
|
1266
|
+
* <p>The Amazon Resource Name (ARN) of the web function.</p>
|
|
1267
|
+
* @public
|
|
1268
|
+
*/
|
|
1269
|
+
resource: string | undefined;
|
|
1270
|
+
/**
|
|
1271
|
+
* <p>A map of tag keys and values to add to the web function.</p>
|
|
1272
|
+
* @public
|
|
1273
|
+
*/
|
|
1274
|
+
tags: Record<string, string> | undefined;
|
|
1275
|
+
}
|
|
1276
|
+
/**
|
|
1277
|
+
* <p>The request to remove tags from a resource.</p>
|
|
1278
|
+
* @public
|
|
1279
|
+
*/
|
|
1280
|
+
export interface UntagResourceRequest {
|
|
1281
|
+
/**
|
|
1282
|
+
* <p>The Amazon Resource Name (ARN) of the web function.</p>
|
|
1283
|
+
* @public
|
|
1284
|
+
*/
|
|
1285
|
+
resource: string | undefined;
|
|
1286
|
+
/**
|
|
1287
|
+
* <p>A list of tag keys to remove from the web function.</p>
|
|
1288
|
+
* @public
|
|
1289
|
+
*/
|
|
1290
|
+
tagKeys: string[] | undefined;
|
|
1291
|
+
}
|
|
1292
|
+
/**
|
|
1293
|
+
* <p>The request to list web functions.</p>
|
|
1294
|
+
* @public
|
|
1295
|
+
*/
|
|
1296
|
+
export interface ListWebFunctionsRequest {
|
|
1297
|
+
/**
|
|
1298
|
+
* <p>A list of filters to apply to the results. The only supported filter name is <code>state</code>. If you don't specify a filter, the operation returns all web functions.</p>
|
|
1299
|
+
* @public
|
|
1300
|
+
*/
|
|
1301
|
+
filters?: Filter[] | undefined;
|
|
1302
|
+
/**
|
|
1303
|
+
* <p>The maximum number of results to return in a single call. Minimum value of 1, maximum value of 50. Default is 50.</p>
|
|
1304
|
+
* @public
|
|
1305
|
+
*/
|
|
1306
|
+
maxResults?: number | undefined;
|
|
1307
|
+
/**
|
|
1308
|
+
* <p>The pagination token that's returned by a previous request to retrieve the next page of results.</p>
|
|
1309
|
+
* @public
|
|
1310
|
+
*/
|
|
1311
|
+
nextToken?: string | undefined;
|
|
1312
|
+
}
|
|
1313
|
+
/**
|
|
1314
|
+
* <p>Contains the list of web functions.</p>
|
|
1315
|
+
* @public
|
|
1316
|
+
*/
|
|
1317
|
+
export interface ListWebFunctionsResponse {
|
|
1318
|
+
/**
|
|
1319
|
+
* <p>A list of web function summaries.</p>
|
|
1320
|
+
* @public
|
|
1321
|
+
*/
|
|
1322
|
+
functions: FunctionSummary[] | undefined;
|
|
1323
|
+
/**
|
|
1324
|
+
* <p>The pagination token that's included if more results are available. Use this value as the <code>nextToken</code> request parameter in a subsequent call to retrieve the next page of results.</p>
|
|
1325
|
+
* @public
|
|
1326
|
+
*/
|
|
1327
|
+
nextToken?: string | undefined;
|
|
1328
|
+
}
|
|
1329
|
+
/**
|
|
1330
|
+
* <p>The request to list web function endpoints.</p>
|
|
1331
|
+
* @public
|
|
1332
|
+
*/
|
|
1333
|
+
export interface ListWebFunctionEndpointsRequest {
|
|
1334
|
+
/**
|
|
1335
|
+
* <p>The web function.</p> <p>You can specify either of the following:</p> <ul> <li> <p>The function name, for example <code>my-function</code>.</p> </li> <li> <p>The function ARN.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
1336
|
+
* @public
|
|
1337
|
+
*/
|
|
1338
|
+
functionName: string | undefined;
|
|
1339
|
+
/**
|
|
1340
|
+
* <p>A list of filters to apply to the results. Supported filter names: <code>authType</code>, <code>autoDeploymentMode</code>, <code>endpointType</code>, <code>state</code>, and <code>updateStatus</code>. If you don't specify a filter, the operation returns all endpoints for the web function.</p>
|
|
1341
|
+
* @public
|
|
1342
|
+
*/
|
|
1343
|
+
filters?: Filter[] | undefined;
|
|
1344
|
+
/**
|
|
1345
|
+
* <p>The maximum number of results to return in a single call. Minimum value of 1, maximum value of 50. Default is 50.</p>
|
|
1346
|
+
* @public
|
|
1347
|
+
*/
|
|
1348
|
+
maxResults?: number | undefined;
|
|
1349
|
+
/**
|
|
1350
|
+
* <p>The pagination token that's returned by a previous request to retrieve the next page of results.</p>
|
|
1351
|
+
* @public
|
|
1352
|
+
*/
|
|
1353
|
+
nextToken?: string | undefined;
|
|
1354
|
+
}
|
|
1355
|
+
/**
|
|
1356
|
+
* <p>Contains the list of web function endpoints.</p>
|
|
1357
|
+
* @public
|
|
1358
|
+
*/
|
|
1359
|
+
export interface ListWebFunctionEndpointsResponse {
|
|
1360
|
+
/**
|
|
1361
|
+
* <p>A list of endpoint summaries for the web function.</p>
|
|
1362
|
+
* @public
|
|
1363
|
+
*/
|
|
1364
|
+
endpoints: FunctionEndpointSummary[] | undefined;
|
|
1365
|
+
/**
|
|
1366
|
+
* <p>The pagination token that's included if more results are available. Use this value as the <code>nextToken</code> request parameter in a subsequent call to retrieve the next page of results.</p>
|
|
1367
|
+
* @public
|
|
1368
|
+
*/
|
|
1369
|
+
nextToken?: string | undefined;
|
|
1370
|
+
}
|
|
1371
|
+
/**
|
|
1372
|
+
* <p>The request to update a web function endpoint.</p>
|
|
1373
|
+
* @public
|
|
1374
|
+
*/
|
|
1375
|
+
export interface UpdateWebFunctionEndpointRequest {
|
|
1376
|
+
/**
|
|
1377
|
+
* <p>The web function.</p> <p>You can specify either of the following:</p> <ul> <li> <p>The function name, for example <code>my-function</code>.</p> </li> <li> <p>The function ARN.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
1378
|
+
* @public
|
|
1379
|
+
*/
|
|
1380
|
+
functionName: string | undefined;
|
|
1381
|
+
/**
|
|
1382
|
+
* <p>The endpoint to update.</p> <p>You can specify either of the following:</p> <ul> <li> <p>The endpoint name, for example <code>my-endpoint</code>.</p> </li> <li> <p>The endpoint ARN.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the endpoint name, it is limited to 64 characters in length.</p>
|
|
1383
|
+
* @public
|
|
1384
|
+
*/
|
|
1385
|
+
endpointName: string | undefined;
|
|
1386
|
+
/**
|
|
1387
|
+
* <p>A description of the endpoint. Omit this field to keep the current description.</p>
|
|
1388
|
+
* @public
|
|
1389
|
+
*/
|
|
1390
|
+
description?: string | undefined;
|
|
1391
|
+
/**
|
|
1392
|
+
* <p>The authorization type for the endpoint. Omit this field to keep the current authorization type.</p> <p>Valid values:</p> <ul> <li> <p> <code>ApplicationManaged</code> – Your application handles authorization.</p> </li> <li> <p> <code>IamAuth</code> – Lambda uses IAM to authorize requests, which must be signed with Signature Version 4 (SigV4).</p> </li> </ul>
|
|
1393
|
+
* @public
|
|
1394
|
+
*/
|
|
1395
|
+
authType?: AuthType | undefined;
|
|
1396
|
+
/**
|
|
1397
|
+
* <p>The auto-deployment mode for the endpoint. Omit this field to keep the current auto-deployment mode.</p> <p>Valid values:</p> <ul> <li> <p> <code>LatestRevision</code> – The endpoint automatically serves the newest revision.</p> </li> <li> <p> <code>Disabled</code> – Revision routing stays fixed until you change it.</p> </li> </ul>
|
|
1398
|
+
* @public
|
|
1399
|
+
*/
|
|
1400
|
+
autoDeploymentMode?: AutoDeploymentMode | undefined;
|
|
1401
|
+
/**
|
|
1402
|
+
* <p>A list of revision weights that determine how traffic is distributed across revisions.</p>
|
|
1403
|
+
* @public
|
|
1404
|
+
*/
|
|
1405
|
+
revisionWeights?: RevisionWeight[] | undefined;
|
|
1406
|
+
/**
|
|
1407
|
+
* <p>The scaling configuration for the endpoint. Omit this field to keep the current scaling configuration. To clear a previously set <code>maxEnvironments</code> value, specify an empty object.</p>
|
|
1408
|
+
* @public
|
|
1409
|
+
*/
|
|
1410
|
+
scalingConfig?: ScalingConfig | undefined;
|
|
1411
|
+
/**
|
|
1412
|
+
* <p>The throttling configuration for the endpoint. Omit this field to keep the current throttling configuration. To clear a previously set <code>rateLimit</code> value, specify an empty object.</p>
|
|
1413
|
+
* @public
|
|
1414
|
+
*/
|
|
1415
|
+
throttleConfig?: ThrottleConfig | undefined;
|
|
1416
|
+
}
|
|
1417
|
+
/**
|
|
1418
|
+
* <p>Contains details about the updated endpoint.</p>
|
|
1419
|
+
* @public
|
|
1420
|
+
*/
|
|
1421
|
+
export interface UpdateWebFunctionEndpointResponse {
|
|
1422
|
+
/**
|
|
1423
|
+
* <p>The Amazon Resource Name (ARN) of the web function.</p>
|
|
1424
|
+
* @public
|
|
1425
|
+
*/
|
|
1426
|
+
functionArn: string | undefined;
|
|
1427
|
+
/**
|
|
1428
|
+
* <p>The Amazon Resource Name (ARN) of the endpoint.</p>
|
|
1429
|
+
* @public
|
|
1430
|
+
*/
|
|
1431
|
+
endpointArn: string | undefined;
|
|
1432
|
+
/**
|
|
1433
|
+
* <p>The name of the endpoint.</p>
|
|
1434
|
+
* @public
|
|
1435
|
+
*/
|
|
1436
|
+
endpointName: string | undefined;
|
|
1437
|
+
/**
|
|
1438
|
+
* <p>The description of the endpoint.</p>
|
|
1439
|
+
* @public
|
|
1440
|
+
*/
|
|
1441
|
+
description?: string | undefined;
|
|
1442
|
+
/**
|
|
1443
|
+
* <p>The type of a web function endpoint.</p> <p>Valid values:</p> <ul> <li> <p> <code>HomeRegion</code> – Serves traffic from the Region where you created the web function.</p> </li> <li> <p> <code>MultiRegion</code> – Replicates across the Regions that you choose and routes each request to the nearest one.</p> </li> <li> <p> <code>PerRegion</code> – Creates a separate endpoint in each Region that you choose.</p> </li> </ul>
|
|
1444
|
+
* @public
|
|
1445
|
+
*/
|
|
1446
|
+
endpointType: EndpointType | undefined;
|
|
1447
|
+
/**
|
|
1448
|
+
* <p>The domain name assigned to the endpoint.</p>
|
|
1449
|
+
* @public
|
|
1450
|
+
*/
|
|
1451
|
+
domainName: string | undefined;
|
|
1452
|
+
/**
|
|
1453
|
+
* <p>The authorization type for a web function endpoint.</p> <p>Valid values:</p> <ul> <li> <p> <code>ApplicationManaged</code> – Your application handles authorization.</p> </li> <li> <p> <code>IamAuth</code> – Lambda uses IAM to authorize requests, which must be signed with Signature Version 4 (SigV4).</p> </li> </ul>
|
|
1454
|
+
* @public
|
|
1455
|
+
*/
|
|
1456
|
+
authType: AuthType | undefined;
|
|
1457
|
+
/**
|
|
1458
|
+
* <p>The auto-deployment mode for a web function endpoint.</p> <p>Valid values:</p> <ul> <li> <p> <code>LatestRevision</code> – The endpoint automatically serves the newest revision.</p> </li> <li> <p> <code>Disabled</code> – Revision routing stays fixed until you change it.</p> </li> </ul>
|
|
1459
|
+
* @public
|
|
1460
|
+
*/
|
|
1461
|
+
autoDeploymentMode: AutoDeploymentMode | undefined;
|
|
1462
|
+
/**
|
|
1463
|
+
* <p>The traffic distribution across revisions for the endpoint. Each entry maps a revision to a weight from 1 to 100.</p>
|
|
1464
|
+
* @public
|
|
1465
|
+
*/
|
|
1466
|
+
revisionWeights: RevisionWeight[] | undefined;
|
|
1467
|
+
/**
|
|
1468
|
+
* <p>The Regions configured for the endpoint.</p>
|
|
1469
|
+
* @public
|
|
1470
|
+
*/
|
|
1471
|
+
regions: string[] | undefined;
|
|
1472
|
+
/**
|
|
1473
|
+
* <p>The scaling configuration for a web function endpoint.</p>
|
|
1474
|
+
* @public
|
|
1475
|
+
*/
|
|
1476
|
+
scalingConfig?: ScalingConfig | undefined;
|
|
1477
|
+
/**
|
|
1478
|
+
* <p>The throttling configuration for a web function endpoint.</p>
|
|
1479
|
+
* @public
|
|
1480
|
+
*/
|
|
1481
|
+
throttleConfig?: ThrottleConfig | undefined;
|
|
1482
|
+
/**
|
|
1483
|
+
* <p>The current state of the endpoint.</p>
|
|
1484
|
+
* @public
|
|
1485
|
+
*/
|
|
1486
|
+
state: EndpointState | undefined;
|
|
1487
|
+
/**
|
|
1488
|
+
* <p>The reason for the current state of the endpoint.</p>
|
|
1489
|
+
* @public
|
|
1490
|
+
*/
|
|
1491
|
+
stateReason: string | undefined;
|
|
1492
|
+
/**
|
|
1493
|
+
* <p>The status of the most recent update to an endpoint. Possible values:</p> <ul> <li> <p> <code>InProgress</code> – The update is in progress.</p> </li> <li> <p> <code>Successful</code> – The update completed successfully.</p> </li> <li> <p> <code>Failed</code> – The update failed.</p> </li> </ul>
|
|
1494
|
+
* @public
|
|
1495
|
+
*/
|
|
1496
|
+
updateStatus?: EndpointUpdateStatus | undefined;
|
|
1497
|
+
/**
|
|
1498
|
+
* <p>The reason for the endpoint's most recent update status.</p>
|
|
1499
|
+
* @public
|
|
1500
|
+
*/
|
|
1501
|
+
updateStatusReason?: string | undefined;
|
|
1502
|
+
/**
|
|
1503
|
+
* <p>The list of regional endpoint configurations.</p>
|
|
1504
|
+
* @public
|
|
1505
|
+
*/
|
|
1506
|
+
regionalEndpoints: Record<string, RegionalEndpoint> | undefined;
|
|
1507
|
+
/**
|
|
1508
|
+
* <p>The date and time the endpoint was created.</p>
|
|
1509
|
+
* @public
|
|
1510
|
+
*/
|
|
1511
|
+
createdAt: Date | undefined;
|
|
1512
|
+
/**
|
|
1513
|
+
* <p>The date and time the endpoint was last updated.</p>
|
|
1514
|
+
* @public
|
|
1515
|
+
*/
|
|
1516
|
+
updatedAt: Date | undefined;
|
|
1517
|
+
}
|
|
1518
|
+
/**
|
|
1519
|
+
* <p>The request to list web function revisions.</p>
|
|
1520
|
+
* @public
|
|
1521
|
+
*/
|
|
1522
|
+
export interface ListWebFunctionRevisionsRequest {
|
|
1523
|
+
/**
|
|
1524
|
+
* <p>The web function.</p> <p>You can specify either of the following:</p> <ul> <li> <p>The function name, for example <code>my-function</code>.</p> </li> <li> <p>The function ARN.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
1525
|
+
* @public
|
|
1526
|
+
*/
|
|
1527
|
+
functionName: string | undefined;
|
|
1528
|
+
/**
|
|
1529
|
+
* <p>A list of filters to apply to the results. The only supported filter name is <code>state</code>. If you don't specify a filter, the operation returns all revisions for the web function.</p>
|
|
1530
|
+
* @public
|
|
1531
|
+
*/
|
|
1532
|
+
filters?: Filter[] | undefined;
|
|
1533
|
+
/**
|
|
1534
|
+
* <p>The maximum number of results to return in a single call. Minimum value of 1, maximum value of 50. Default is 50.</p>
|
|
1535
|
+
* @public
|
|
1536
|
+
*/
|
|
1537
|
+
maxResults?: number | undefined;
|
|
1538
|
+
/**
|
|
1539
|
+
* <p>The pagination token that's returned by a previous request to retrieve the next page of results.</p>
|
|
1540
|
+
* @public
|
|
1541
|
+
*/
|
|
1542
|
+
nextToken?: string | undefined;
|
|
1543
|
+
}
|
|
1544
|
+
/**
|
|
1545
|
+
* <p>Contains the list of web function revisions.</p>
|
|
1546
|
+
* @public
|
|
1547
|
+
*/
|
|
1548
|
+
export interface ListWebFunctionRevisionsResponse {
|
|
1549
|
+
/**
|
|
1550
|
+
* <p>A list of revision summaries for the web function.</p>
|
|
1551
|
+
* @public
|
|
1552
|
+
*/
|
|
1553
|
+
revisions: FunctionRevisionSummary[] | undefined;
|
|
1554
|
+
/**
|
|
1555
|
+
* <p>The pagination token that's included if more results are available. Use this value as the <code>nextToken</code> request parameter in a subsequent call to retrieve the next page of results.</p>
|
|
1556
|
+
* @public
|
|
1557
|
+
*/
|
|
1558
|
+
nextToken?: string | undefined;
|
|
58
1559
|
}
|