aws-sdk-lambdaweb 1.0.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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-lambdaweb/client.rb +1887 -0
- data/lib/aws-sdk-lambdaweb/client_api.rb +869 -0
- data/lib/aws-sdk-lambdaweb/customizations.rb +0 -0
- data/lib/aws-sdk-lambdaweb/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-lambdaweb/endpoint_provider.rb +50 -0
- data/lib/aws-sdk-lambdaweb/endpoints.rb +20 -0
- data/lib/aws-sdk-lambdaweb/errors.rb +217 -0
- data/lib/aws-sdk-lambdaweb/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-lambdaweb/resource.rb +26 -0
- data/lib/aws-sdk-lambdaweb/types.rb +2098 -0
- data/lib/aws-sdk-lambdaweb/waiters.rb +385 -0
- data/lib/aws-sdk-lambdaweb.rb +62 -0
- data/sig/client.rbs +472 -0
- data/sig/errors.rbs +48 -0
- data/sig/params.rbs +40 -0
- data/sig/resource.rbs +85 -0
- data/sig/types.rbs +518 -0
- data/sig/waiters.rbs +77 -0
- metadata +98 -0
|
@@ -0,0 +1,2098 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
|
4
|
+
#
|
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
|
+
#
|
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
|
9
|
+
|
|
10
|
+
module Aws::LambdaWeb
|
|
11
|
+
module Types
|
|
12
|
+
|
|
13
|
+
# You do not have sufficient permissions to perform this operation.
|
|
14
|
+
#
|
|
15
|
+
# @!attribute [rw] message
|
|
16
|
+
# A message describing the access denied error.
|
|
17
|
+
# @return [String]
|
|
18
|
+
#
|
|
19
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/AccessDeniedException AWS API Documentation
|
|
20
|
+
#
|
|
21
|
+
class AccessDeniedException < Struct.new(
|
|
22
|
+
:message)
|
|
23
|
+
SENSITIVE = []
|
|
24
|
+
include Aws::Structure
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# The quotas that apply to web functions in your account in the current
|
|
28
|
+
# AWS Region.
|
|
29
|
+
#
|
|
30
|
+
# @!attribute [rw] max_total_arm_v_cpus
|
|
31
|
+
# The maximum total number of Arm vCPUs that you can allocate across
|
|
32
|
+
# all of your web functions in the current AWS Region.
|
|
33
|
+
# @return [Integer]
|
|
34
|
+
#
|
|
35
|
+
# @!attribute [rw] max_total_rate_limit
|
|
36
|
+
# The maximum number of requests per second allowed across all of your
|
|
37
|
+
# web function endpoints in your account in the current AWS Region.
|
|
38
|
+
# @return [Integer]
|
|
39
|
+
#
|
|
40
|
+
# @!attribute [rw] max_revisions_per_function
|
|
41
|
+
# The maximum number of revisions that a single web function can have.
|
|
42
|
+
# @return [Integer]
|
|
43
|
+
#
|
|
44
|
+
# @!attribute [rw] max_endpoints_per_function
|
|
45
|
+
# The maximum number of endpoints that a single web function can have.
|
|
46
|
+
# @return [Integer]
|
|
47
|
+
#
|
|
48
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/AccountQuotas AWS API Documentation
|
|
49
|
+
#
|
|
50
|
+
class AccountQuotas < Struct.new(
|
|
51
|
+
:max_total_arm_v_cpus,
|
|
52
|
+
:max_total_rate_limit,
|
|
53
|
+
:max_revisions_per_function,
|
|
54
|
+
:max_endpoints_per_function)
|
|
55
|
+
SENSITIVE = []
|
|
56
|
+
include Aws::Structure
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Contains your current web function usage for the current AWS Region.
|
|
60
|
+
#
|
|
61
|
+
# @!attribute [rw] function_count
|
|
62
|
+
# The number of web functions in your account in the current AWS
|
|
63
|
+
# Region.
|
|
64
|
+
# @return [Integer]
|
|
65
|
+
#
|
|
66
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/AccountUsage AWS API Documentation
|
|
67
|
+
#
|
|
68
|
+
class AccountUsage < Struct.new(
|
|
69
|
+
:function_count)
|
|
70
|
+
SENSITIVE = []
|
|
71
|
+
include Aws::Structure
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# The build configuration for a web function revision, including code
|
|
75
|
+
# location and runtime settings.
|
|
76
|
+
#
|
|
77
|
+
# @!attribute [rw] code_config
|
|
78
|
+
# The code configuration specifying where the deployment artifact is
|
|
79
|
+
# stored.
|
|
80
|
+
# @return [Types::CodeConfig]
|
|
81
|
+
#
|
|
82
|
+
# @!attribute [rw] runtime_config
|
|
83
|
+
# The runtime configuration for the revision.
|
|
84
|
+
# @return [Types::RuntimeConfig]
|
|
85
|
+
#
|
|
86
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/BuildConfig AWS API Documentation
|
|
87
|
+
#
|
|
88
|
+
class BuildConfig < Struct.new(
|
|
89
|
+
:code_config,
|
|
90
|
+
:runtime_config)
|
|
91
|
+
SENSITIVE = []
|
|
92
|
+
include Aws::Structure
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# The code configuration specifying the location of the deployment
|
|
96
|
+
# artifact.
|
|
97
|
+
#
|
|
98
|
+
# @!attribute [rw] s3_object
|
|
99
|
+
# The Amazon S3 location of the deployment artifact.
|
|
100
|
+
# @return [Types::S3Object]
|
|
101
|
+
#
|
|
102
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/CodeConfig AWS API Documentation
|
|
103
|
+
#
|
|
104
|
+
class CodeConfig < Struct.new(
|
|
105
|
+
:s3_object)
|
|
106
|
+
SENSITIVE = []
|
|
107
|
+
include Aws::Structure
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# The request conflicts with the current state of the resource. Resolve
|
|
111
|
+
# the conflict and try again.
|
|
112
|
+
#
|
|
113
|
+
# @!attribute [rw] message
|
|
114
|
+
# A message describing the conflict.
|
|
115
|
+
# @return [String]
|
|
116
|
+
#
|
|
117
|
+
# @!attribute [rw] resource_id
|
|
118
|
+
# The identifier of the resource in conflict.
|
|
119
|
+
# @return [String]
|
|
120
|
+
#
|
|
121
|
+
# @!attribute [rw] resource_type
|
|
122
|
+
# The type of the resource in conflict.
|
|
123
|
+
# @return [String]
|
|
124
|
+
#
|
|
125
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ConflictException AWS API Documentation
|
|
126
|
+
#
|
|
127
|
+
class ConflictException < Struct.new(
|
|
128
|
+
:message,
|
|
129
|
+
:resource_id,
|
|
130
|
+
:resource_type)
|
|
131
|
+
SENSITIVE = []
|
|
132
|
+
include Aws::Structure
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# The request to create a web function endpoint.
|
|
136
|
+
#
|
|
137
|
+
# @!attribute [rw] function_name
|
|
138
|
+
# The name of the web function to create the endpoint for. You can
|
|
139
|
+
# specify the function name or the function ARN. The length constraint
|
|
140
|
+
# applies only to the full ARN. If you specify only the function name,
|
|
141
|
+
# it is limited to 64 characters in length.
|
|
142
|
+
# @return [String]
|
|
143
|
+
#
|
|
144
|
+
# @!attribute [rw] endpoint_name
|
|
145
|
+
# The name of the endpoint to create. The name can contain letters,
|
|
146
|
+
# numbers, hyphens (-), and underscores (\_), and can't begin or end
|
|
147
|
+
# with a hyphen or an underscore. The length constraint applies only
|
|
148
|
+
# to the full ARN. If you specify only the endpoint name, it is
|
|
149
|
+
# limited to 64 characters in length.
|
|
150
|
+
# @return [String]
|
|
151
|
+
#
|
|
152
|
+
# @!attribute [rw] description
|
|
153
|
+
# A description of the endpoint.
|
|
154
|
+
# @return [String]
|
|
155
|
+
#
|
|
156
|
+
# @!attribute [rw] endpoint_type
|
|
157
|
+
# The type of endpoint to create. Determines how traffic is served and
|
|
158
|
+
# routed across Regions.
|
|
159
|
+
# @return [String]
|
|
160
|
+
#
|
|
161
|
+
# @!attribute [rw] auth_type
|
|
162
|
+
# The authorization type for the endpoint.
|
|
163
|
+
# @return [String]
|
|
164
|
+
#
|
|
165
|
+
# @!attribute [rw] auto_deployment_mode
|
|
166
|
+
# The auto-deployment mode for the endpoint. Controls whether the
|
|
167
|
+
# endpoint automatically serves the newest revision. If you don't
|
|
168
|
+
# specify a value, the default is `Disabled`, and this default is
|
|
169
|
+
# returned in the response.
|
|
170
|
+
# @return [String]
|
|
171
|
+
#
|
|
172
|
+
# @!attribute [rw] revision_weights
|
|
173
|
+
# A list of revision weights that determine how traffic is distributed
|
|
174
|
+
# across revisions. Up to two revisions can be specified for canary or
|
|
175
|
+
# blue-green deployments.
|
|
176
|
+
# @return [Array<Types::RevisionWeight>]
|
|
177
|
+
#
|
|
178
|
+
# @!attribute [rw] regions
|
|
179
|
+
# The list of Regions for the endpoint. Required when the endpoint
|
|
180
|
+
# type is `MultiRegion` or `PerRegion`: specify at least one Region
|
|
181
|
+
# other than the Region where you create the endpoint (the home
|
|
182
|
+
# Region). The home Region is added automatically if you don't
|
|
183
|
+
# include it; specifying only the home Region isn't allowed. When the
|
|
184
|
+
# endpoint type is `HomeRegion`, omit this field or specify only the
|
|
185
|
+
# home Region.
|
|
186
|
+
# @return [Array<String>]
|
|
187
|
+
#
|
|
188
|
+
# @!attribute [rw] scaling_config
|
|
189
|
+
# The scaling configuration for the endpoint. There is no default
|
|
190
|
+
# value. If you don't specify a scaling configuration, it is absent
|
|
191
|
+
# from the response.
|
|
192
|
+
# @return [Types::ScalingConfig]
|
|
193
|
+
#
|
|
194
|
+
# @!attribute [rw] throttle_config
|
|
195
|
+
# The throttling configuration for the endpoint. There is no default
|
|
196
|
+
# value. If you don't specify a throttling configuration, it is
|
|
197
|
+
# absent from the response.
|
|
198
|
+
# @return [Types::ThrottleConfig]
|
|
199
|
+
#
|
|
200
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/CreateWebFunctionEndpointRequest AWS API Documentation
|
|
201
|
+
#
|
|
202
|
+
class CreateWebFunctionEndpointRequest < Struct.new(
|
|
203
|
+
:function_name,
|
|
204
|
+
:endpoint_name,
|
|
205
|
+
:description,
|
|
206
|
+
:endpoint_type,
|
|
207
|
+
:auth_type,
|
|
208
|
+
:auto_deployment_mode,
|
|
209
|
+
:revision_weights,
|
|
210
|
+
:regions,
|
|
211
|
+
:scaling_config,
|
|
212
|
+
:throttle_config)
|
|
213
|
+
SENSITIVE = []
|
|
214
|
+
include Aws::Structure
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
# Contains details about the created endpoint.
|
|
218
|
+
#
|
|
219
|
+
# @!attribute [rw] function_arn
|
|
220
|
+
# The Amazon Resource Name (ARN) of the web function.
|
|
221
|
+
# @return [String]
|
|
222
|
+
#
|
|
223
|
+
# @!attribute [rw] endpoint_arn
|
|
224
|
+
# The Amazon Resource Name (ARN) of the endpoint.
|
|
225
|
+
# @return [String]
|
|
226
|
+
#
|
|
227
|
+
# @!attribute [rw] endpoint_name
|
|
228
|
+
# The name of the endpoint.
|
|
229
|
+
# @return [String]
|
|
230
|
+
#
|
|
231
|
+
# @!attribute [rw] description
|
|
232
|
+
# The description of the endpoint.
|
|
233
|
+
# @return [String]
|
|
234
|
+
#
|
|
235
|
+
# @!attribute [rw] endpoint_type
|
|
236
|
+
# The type of a web function endpoint. Possible values: `HomeRegion`
|
|
237
|
+
# (serves from the Region where the function was created),
|
|
238
|
+
# `MultiRegion` (replicates across chosen Regions and routes to the
|
|
239
|
+
# nearest), `PerRegion` (separate endpoint per Region).
|
|
240
|
+
# @return [String]
|
|
241
|
+
#
|
|
242
|
+
# @!attribute [rw] domain_name
|
|
243
|
+
# The domain name assigned to the endpoint.
|
|
244
|
+
# @return [String]
|
|
245
|
+
#
|
|
246
|
+
# @!attribute [rw] auth_type
|
|
247
|
+
# The authorization type for a web function endpoint. Possible values:
|
|
248
|
+
# `ApplicationManaged` (the function handles authorization), `IamAuth`
|
|
249
|
+
# (Lambda authorizes requests with AWS SigV4 and IAM).
|
|
250
|
+
# @return [String]
|
|
251
|
+
#
|
|
252
|
+
# @!attribute [rw] auto_deployment_mode
|
|
253
|
+
# The auto-deployment mode for a web function endpoint. Possible
|
|
254
|
+
# values: `LatestRevision` (endpoint automatically serves the newest
|
|
255
|
+
# revision), `Disabled` (revision routing is fixed until explicitly
|
|
256
|
+
# changed).
|
|
257
|
+
# @return [String]
|
|
258
|
+
#
|
|
259
|
+
# @!attribute [rw] revision_weights
|
|
260
|
+
# The traffic distribution across revisions for the endpoint. Each
|
|
261
|
+
# entry maps a revision to a weight from 1 to 100.
|
|
262
|
+
# @return [Array<Types::RevisionWeight>]
|
|
263
|
+
#
|
|
264
|
+
# @!attribute [rw] regions
|
|
265
|
+
# The Regions configured for the endpoint.
|
|
266
|
+
# @return [Array<String>]
|
|
267
|
+
#
|
|
268
|
+
# @!attribute [rw] scaling_config
|
|
269
|
+
# The scaling configuration for a web function endpoint.
|
|
270
|
+
# @return [Types::ScalingConfig]
|
|
271
|
+
#
|
|
272
|
+
# @!attribute [rw] throttle_config
|
|
273
|
+
# The throttling configuration for a web function endpoint.
|
|
274
|
+
# @return [Types::ThrottleConfig]
|
|
275
|
+
#
|
|
276
|
+
# @!attribute [rw] state
|
|
277
|
+
# The current state of the endpoint.
|
|
278
|
+
# @return [String]
|
|
279
|
+
#
|
|
280
|
+
# @!attribute [rw] state_reason
|
|
281
|
+
# The reason for the current state of the endpoint.
|
|
282
|
+
# @return [String]
|
|
283
|
+
#
|
|
284
|
+
# @!attribute [rw] update_status
|
|
285
|
+
# The status of the most recent update to an endpoint. Possible
|
|
286
|
+
# values: `InProgress` (update is in progress), `Successful` (update
|
|
287
|
+
# completed successfully), `Failed` (update failed).
|
|
288
|
+
# @return [String]
|
|
289
|
+
#
|
|
290
|
+
# @!attribute [rw] update_status_reason
|
|
291
|
+
# The reason for the endpoint's most recent update status.
|
|
292
|
+
# @return [String]
|
|
293
|
+
#
|
|
294
|
+
# @!attribute [rw] regional_endpoints
|
|
295
|
+
# The list of regional endpoint configurations.
|
|
296
|
+
# @return [Hash<String,Types::RegionalEndpoint>]
|
|
297
|
+
#
|
|
298
|
+
# @!attribute [rw] created_at
|
|
299
|
+
# The date and time the endpoint was created.
|
|
300
|
+
# @return [Time]
|
|
301
|
+
#
|
|
302
|
+
# @!attribute [rw] updated_at
|
|
303
|
+
# The date and time the endpoint was last updated.
|
|
304
|
+
# @return [Time]
|
|
305
|
+
#
|
|
306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/CreateWebFunctionEndpointResponse AWS API Documentation
|
|
307
|
+
#
|
|
308
|
+
class CreateWebFunctionEndpointResponse < Struct.new(
|
|
309
|
+
:function_arn,
|
|
310
|
+
:endpoint_arn,
|
|
311
|
+
:endpoint_name,
|
|
312
|
+
:description,
|
|
313
|
+
:endpoint_type,
|
|
314
|
+
:domain_name,
|
|
315
|
+
:auth_type,
|
|
316
|
+
:auto_deployment_mode,
|
|
317
|
+
:revision_weights,
|
|
318
|
+
:regions,
|
|
319
|
+
:scaling_config,
|
|
320
|
+
:throttle_config,
|
|
321
|
+
:state,
|
|
322
|
+
:state_reason,
|
|
323
|
+
:update_status,
|
|
324
|
+
:update_status_reason,
|
|
325
|
+
:regional_endpoints,
|
|
326
|
+
:created_at,
|
|
327
|
+
:updated_at)
|
|
328
|
+
SENSITIVE = []
|
|
329
|
+
include Aws::Structure
|
|
330
|
+
end
|
|
331
|
+
|
|
332
|
+
# The request to create a web function.
|
|
333
|
+
#
|
|
334
|
+
# @!attribute [rw] function_name
|
|
335
|
+
# The name of the web function. The name can contain letters, numbers,
|
|
336
|
+
# hyphens (-), and underscores (\_), and can't begin or end with a
|
|
337
|
+
# hyphen or an underscore. The length constraint applies only to the
|
|
338
|
+
# full ARN. If you specify only the function name, it is limited to 64
|
|
339
|
+
# characters in length.
|
|
340
|
+
# @return [String]
|
|
341
|
+
#
|
|
342
|
+
# @!attribute [rw] revision_config
|
|
343
|
+
# The configuration for the initial revision of the web function,
|
|
344
|
+
# including code and service settings.
|
|
345
|
+
# @return [Types::RevisionConfig]
|
|
346
|
+
#
|
|
347
|
+
# @!attribute [rw] endpoint_config
|
|
348
|
+
# The configuration for the initial endpoint of the web function.
|
|
349
|
+
# @return [Types::EndpointConfig]
|
|
350
|
+
#
|
|
351
|
+
# @!attribute [rw] tags
|
|
352
|
+
# A map of tag keys and values to apply to the web function.
|
|
353
|
+
# @return [Hash<String,String>]
|
|
354
|
+
#
|
|
355
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/CreateWebFunctionRequest AWS API Documentation
|
|
356
|
+
#
|
|
357
|
+
class CreateWebFunctionRequest < Struct.new(
|
|
358
|
+
:function_name,
|
|
359
|
+
:revision_config,
|
|
360
|
+
:endpoint_config,
|
|
361
|
+
:tags)
|
|
362
|
+
SENSITIVE = []
|
|
363
|
+
include Aws::Structure
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
# Contains details about the created web function.
|
|
367
|
+
#
|
|
368
|
+
# @!attribute [rw] function_name
|
|
369
|
+
# The name of the web function.
|
|
370
|
+
# @return [String]
|
|
371
|
+
#
|
|
372
|
+
# @!attribute [rw] function_arn
|
|
373
|
+
# The Amazon Resource Name (ARN) of the web function.
|
|
374
|
+
# @return [String]
|
|
375
|
+
#
|
|
376
|
+
# @!attribute [rw] state
|
|
377
|
+
# The current state of the web function.
|
|
378
|
+
# @return [String]
|
|
379
|
+
#
|
|
380
|
+
# @!attribute [rw] state_reason
|
|
381
|
+
# The reason for the current state of the web function.
|
|
382
|
+
# @return [String]
|
|
383
|
+
#
|
|
384
|
+
# @!attribute [rw] created_at
|
|
385
|
+
# The date and time the web function was created.
|
|
386
|
+
# @return [Time]
|
|
387
|
+
#
|
|
388
|
+
# @!attribute [rw] updated_at
|
|
389
|
+
# The date and time the web function was last updated.
|
|
390
|
+
# @return [Time]
|
|
391
|
+
#
|
|
392
|
+
# @!attribute [rw] revision
|
|
393
|
+
# A summary of the initial revision created with the web function.
|
|
394
|
+
# @return [Types::FunctionRevisionSummary]
|
|
395
|
+
#
|
|
396
|
+
# @!attribute [rw] endpoint
|
|
397
|
+
# A summary of the initial endpoint created with the web function.
|
|
398
|
+
# @return [Types::FunctionEndpointSummary]
|
|
399
|
+
#
|
|
400
|
+
# @!attribute [rw] tags
|
|
401
|
+
# A map of tag keys and values associated with the web function.
|
|
402
|
+
# @return [Hash<String,String>]
|
|
403
|
+
#
|
|
404
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/CreateWebFunctionResponse AWS API Documentation
|
|
405
|
+
#
|
|
406
|
+
class CreateWebFunctionResponse < Struct.new(
|
|
407
|
+
:function_name,
|
|
408
|
+
:function_arn,
|
|
409
|
+
:state,
|
|
410
|
+
:state_reason,
|
|
411
|
+
:created_at,
|
|
412
|
+
:updated_at,
|
|
413
|
+
:revision,
|
|
414
|
+
:endpoint,
|
|
415
|
+
:tags)
|
|
416
|
+
SENSITIVE = []
|
|
417
|
+
include Aws::Structure
|
|
418
|
+
end
|
|
419
|
+
|
|
420
|
+
# The request to create a web function revision.
|
|
421
|
+
#
|
|
422
|
+
# @!attribute [rw] function_name
|
|
423
|
+
# The name of the web function. You can specify the function name or
|
|
424
|
+
# the function ARN. The length constraint applies only to the full
|
|
425
|
+
# ARN. If you specify only the function name, it is limited to 64
|
|
426
|
+
# characters in length.
|
|
427
|
+
# @return [String]
|
|
428
|
+
#
|
|
429
|
+
# @!attribute [rw] description
|
|
430
|
+
# A description of the revision.
|
|
431
|
+
# @return [String]
|
|
432
|
+
#
|
|
433
|
+
# @!attribute [rw] kms_key_arn
|
|
434
|
+
# The Amazon Resource Name (ARN) of the AWS Key Management Service
|
|
435
|
+
# (AWS KMS) key used to encrypt the revision's code and environment
|
|
436
|
+
# variables.
|
|
437
|
+
# @return [String]
|
|
438
|
+
#
|
|
439
|
+
# @!attribute [rw] build_config
|
|
440
|
+
# The build configuration for the revision, including code location
|
|
441
|
+
# and runtime settings.
|
|
442
|
+
# @return [Types::BuildConfig]
|
|
443
|
+
#
|
|
444
|
+
# @!attribute [rw] service_config
|
|
445
|
+
# The service configuration for the revision, including execution
|
|
446
|
+
# role, timeout, and concurrency settings.
|
|
447
|
+
# @return [Types::ServiceConfig]
|
|
448
|
+
#
|
|
449
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/CreateWebFunctionRevisionRequest AWS API Documentation
|
|
450
|
+
#
|
|
451
|
+
class CreateWebFunctionRevisionRequest < Struct.new(
|
|
452
|
+
:function_name,
|
|
453
|
+
:description,
|
|
454
|
+
:kms_key_arn,
|
|
455
|
+
:build_config,
|
|
456
|
+
:service_config)
|
|
457
|
+
SENSITIVE = []
|
|
458
|
+
include Aws::Structure
|
|
459
|
+
end
|
|
460
|
+
|
|
461
|
+
# Contains details about the created revision.
|
|
462
|
+
#
|
|
463
|
+
# @!attribute [rw] function_arn
|
|
464
|
+
# The Amazon Resource Name (ARN) of the web function.
|
|
465
|
+
# @return [String]
|
|
466
|
+
#
|
|
467
|
+
# @!attribute [rw] revision_arn
|
|
468
|
+
# The Amazon Resource Name (ARN) of the revision.
|
|
469
|
+
# @return [String]
|
|
470
|
+
#
|
|
471
|
+
# @!attribute [rw] revision_id
|
|
472
|
+
# The identifier of the revision.
|
|
473
|
+
# @return [String]
|
|
474
|
+
#
|
|
475
|
+
# @!attribute [rw] description
|
|
476
|
+
# The description of the revision.
|
|
477
|
+
# @return [String]
|
|
478
|
+
#
|
|
479
|
+
# @!attribute [rw] kms_key_arn
|
|
480
|
+
# The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt
|
|
481
|
+
# the revision's code and environment variables.
|
|
482
|
+
# @return [String]
|
|
483
|
+
#
|
|
484
|
+
# @!attribute [rw] build_config
|
|
485
|
+
# The build configuration for a web function revision, including code
|
|
486
|
+
# location and runtime settings.
|
|
487
|
+
# @return [Types::BuildConfig]
|
|
488
|
+
#
|
|
489
|
+
# @!attribute [rw] service_config
|
|
490
|
+
# The service configuration for a web function revision, including
|
|
491
|
+
# execution role, timeout, concurrency, and telemetry settings.
|
|
492
|
+
# @return [Types::ServiceConfig]
|
|
493
|
+
#
|
|
494
|
+
# @!attribute [rw] state
|
|
495
|
+
# The current state of the revision.
|
|
496
|
+
# @return [String]
|
|
497
|
+
#
|
|
498
|
+
# @!attribute [rw] state_reason
|
|
499
|
+
# The reason for the current state of the revision.
|
|
500
|
+
# @return [String]
|
|
501
|
+
#
|
|
502
|
+
# @!attribute [rw] errors
|
|
503
|
+
# A list of errors encountered during revision creation. This field is
|
|
504
|
+
# absent when the revision has no errors.
|
|
505
|
+
# @return [Array<Types::RevisionError>]
|
|
506
|
+
#
|
|
507
|
+
# @!attribute [rw] created_at
|
|
508
|
+
# The date and time the revision was created.
|
|
509
|
+
# @return [Time]
|
|
510
|
+
#
|
|
511
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/CreateWebFunctionRevisionResponse AWS API Documentation
|
|
512
|
+
#
|
|
513
|
+
class CreateWebFunctionRevisionResponse < Struct.new(
|
|
514
|
+
:function_arn,
|
|
515
|
+
:revision_arn,
|
|
516
|
+
:revision_id,
|
|
517
|
+
:description,
|
|
518
|
+
:kms_key_arn,
|
|
519
|
+
:build_config,
|
|
520
|
+
:service_config,
|
|
521
|
+
:state,
|
|
522
|
+
:state_reason,
|
|
523
|
+
:errors,
|
|
524
|
+
:created_at)
|
|
525
|
+
SENSITIVE = []
|
|
526
|
+
include Aws::Structure
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
# The request to delete a resource-based policy.
|
|
530
|
+
#
|
|
531
|
+
# @!attribute [rw] resource_arn
|
|
532
|
+
# The Amazon Resource Name (ARN) of the web function.
|
|
533
|
+
# @return [String]
|
|
534
|
+
#
|
|
535
|
+
# @!attribute [rw] revision_id
|
|
536
|
+
# The revision ID of the policy. Use this to prevent deleting a policy
|
|
537
|
+
# that has been updated since you last retrieved it. If you don't
|
|
538
|
+
# specify a value, the policy is deleted regardless of its current
|
|
539
|
+
# revision.
|
|
540
|
+
# @return [String]
|
|
541
|
+
#
|
|
542
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/DeleteResourcePolicyRequest AWS API Documentation
|
|
543
|
+
#
|
|
544
|
+
class DeleteResourcePolicyRequest < Struct.new(
|
|
545
|
+
:resource_arn,
|
|
546
|
+
:revision_id)
|
|
547
|
+
SENSITIVE = []
|
|
548
|
+
include Aws::Structure
|
|
549
|
+
end
|
|
550
|
+
|
|
551
|
+
# The request to delete a web function endpoint.
|
|
552
|
+
#
|
|
553
|
+
# @!attribute [rw] function_name
|
|
554
|
+
# The name of the web function. You can specify the function name or
|
|
555
|
+
# the function ARN. The length constraint applies only to the full
|
|
556
|
+
# ARN. If you specify only the function name, it is limited to 64
|
|
557
|
+
# characters in length.
|
|
558
|
+
# @return [String]
|
|
559
|
+
#
|
|
560
|
+
# @!attribute [rw] endpoint_name
|
|
561
|
+
# The name of the endpoint to delete. You can specify the endpoint
|
|
562
|
+
# name or the endpoint ARN. The length constraint applies only to the
|
|
563
|
+
# full ARN. If you specify only the endpoint name, it is limited to 64
|
|
564
|
+
# characters in length.
|
|
565
|
+
# @return [String]
|
|
566
|
+
#
|
|
567
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/DeleteWebFunctionEndpointRequest AWS API Documentation
|
|
568
|
+
#
|
|
569
|
+
class DeleteWebFunctionEndpointRequest < Struct.new(
|
|
570
|
+
:function_name,
|
|
571
|
+
:endpoint_name)
|
|
572
|
+
SENSITIVE = []
|
|
573
|
+
include Aws::Structure
|
|
574
|
+
end
|
|
575
|
+
|
|
576
|
+
# The request to delete a web function.
|
|
577
|
+
#
|
|
578
|
+
# @!attribute [rw] function_name
|
|
579
|
+
# The name of the web function to delete. You can specify the function
|
|
580
|
+
# name or the function ARN. The length constraint applies only to the
|
|
581
|
+
# full ARN. If you specify only the function name, it is limited to 64
|
|
582
|
+
# characters in length.
|
|
583
|
+
# @return [String]
|
|
584
|
+
#
|
|
585
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/DeleteWebFunctionRequest AWS API Documentation
|
|
586
|
+
#
|
|
587
|
+
class DeleteWebFunctionRequest < Struct.new(
|
|
588
|
+
:function_name)
|
|
589
|
+
SENSITIVE = []
|
|
590
|
+
include Aws::Structure
|
|
591
|
+
end
|
|
592
|
+
|
|
593
|
+
# The request to delete a web function revision.
|
|
594
|
+
#
|
|
595
|
+
# @!attribute [rw] function_name
|
|
596
|
+
# The name of the web function. You can specify the function name or
|
|
597
|
+
# the function ARN. The length constraint applies only to the full
|
|
598
|
+
# ARN. If you specify only the function name, it is limited to 64
|
|
599
|
+
# characters in length.
|
|
600
|
+
# @return [String]
|
|
601
|
+
#
|
|
602
|
+
# @!attribute [rw] revision_id
|
|
603
|
+
# The identifier of the revision to delete. You can specify the
|
|
604
|
+
# revision identifier or the revision ARN. The length constraint
|
|
605
|
+
# applies only to the full ARN.
|
|
606
|
+
# @return [String]
|
|
607
|
+
#
|
|
608
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/DeleteWebFunctionRevisionRequest AWS API Documentation
|
|
609
|
+
#
|
|
610
|
+
class DeleteWebFunctionRevisionRequest < Struct.new(
|
|
611
|
+
:function_name,
|
|
612
|
+
:revision_id)
|
|
613
|
+
SENSITIVE = []
|
|
614
|
+
include Aws::Structure
|
|
615
|
+
end
|
|
616
|
+
|
|
617
|
+
# The configuration for a web function endpoint.
|
|
618
|
+
#
|
|
619
|
+
# @!attribute [rw] endpoint_name
|
|
620
|
+
# The name of the endpoint. The name can contain letters, numbers,
|
|
621
|
+
# hyphens (-), and underscores (\_), and can't begin or end with a
|
|
622
|
+
# hyphen or an underscore. The length constraint applies only to the
|
|
623
|
+
# full ARN. If you specify only the endpoint name, it is limited to 64
|
|
624
|
+
# characters in length.
|
|
625
|
+
# @return [String]
|
|
626
|
+
#
|
|
627
|
+
# @!attribute [rw] description
|
|
628
|
+
# A description of the endpoint.
|
|
629
|
+
# @return [String]
|
|
630
|
+
#
|
|
631
|
+
# @!attribute [rw] endpoint_type
|
|
632
|
+
# The type of endpoint. Determines how traffic is served and routed
|
|
633
|
+
# across Regions.
|
|
634
|
+
# @return [String]
|
|
635
|
+
#
|
|
636
|
+
# @!attribute [rw] auth_type
|
|
637
|
+
# The authorization type for the endpoint.
|
|
638
|
+
# @return [String]
|
|
639
|
+
#
|
|
640
|
+
# @!attribute [rw] auto_deployment_mode
|
|
641
|
+
# The auto-deployment mode for the endpoint. If you don't specify a
|
|
642
|
+
# value, the default is `Disabled`, and this default is returned in
|
|
643
|
+
# the response.
|
|
644
|
+
# @return [String]
|
|
645
|
+
#
|
|
646
|
+
# @!attribute [rw] regions
|
|
647
|
+
# The list of Regions for the endpoint. Required when the endpoint
|
|
648
|
+
# type is `MultiRegion` or `PerRegion`: specify at least one Region
|
|
649
|
+
# other than the Region where you create the endpoint (the home
|
|
650
|
+
# Region). The home Region is added automatically if you don't
|
|
651
|
+
# include it; specifying only the home Region isn't allowed. When the
|
|
652
|
+
# endpoint type is `HomeRegion`, omit this field or specify only the
|
|
653
|
+
# home Region.
|
|
654
|
+
# @return [Array<String>]
|
|
655
|
+
#
|
|
656
|
+
# @!attribute [rw] scaling_config
|
|
657
|
+
# The scaling configuration for the endpoint.
|
|
658
|
+
# @return [Types::ScalingConfig]
|
|
659
|
+
#
|
|
660
|
+
# @!attribute [rw] throttle_config
|
|
661
|
+
# The throttling configuration for the endpoint.
|
|
662
|
+
# @return [Types::ThrottleConfig]
|
|
663
|
+
#
|
|
664
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/EndpointConfig AWS API Documentation
|
|
665
|
+
#
|
|
666
|
+
class EndpointConfig < Struct.new(
|
|
667
|
+
:endpoint_name,
|
|
668
|
+
:description,
|
|
669
|
+
:endpoint_type,
|
|
670
|
+
:auth_type,
|
|
671
|
+
:auto_deployment_mode,
|
|
672
|
+
:regions,
|
|
673
|
+
:scaling_config,
|
|
674
|
+
:throttle_config)
|
|
675
|
+
SENSITIVE = []
|
|
676
|
+
include Aws::Structure
|
|
677
|
+
end
|
|
678
|
+
|
|
679
|
+
# A filter to apply when listing resources.
|
|
680
|
+
#
|
|
681
|
+
# @!attribute [rw] name
|
|
682
|
+
# The name of the filter field.
|
|
683
|
+
# @return [String]
|
|
684
|
+
#
|
|
685
|
+
# @!attribute [rw] values
|
|
686
|
+
# The values to match for the filter.
|
|
687
|
+
# @return [Array<String>]
|
|
688
|
+
#
|
|
689
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/Filter AWS API Documentation
|
|
690
|
+
#
|
|
691
|
+
class Filter < Struct.new(
|
|
692
|
+
:name,
|
|
693
|
+
:values)
|
|
694
|
+
SENSITIVE = []
|
|
695
|
+
include Aws::Structure
|
|
696
|
+
end
|
|
697
|
+
|
|
698
|
+
# A summary of a web function endpoint.
|
|
699
|
+
#
|
|
700
|
+
# @!attribute [rw] endpoint_arn
|
|
701
|
+
# The Amazon Resource Name (ARN) of the endpoint.
|
|
702
|
+
# @return [String]
|
|
703
|
+
#
|
|
704
|
+
# @!attribute [rw] endpoint_name
|
|
705
|
+
# The name of the endpoint.
|
|
706
|
+
# @return [String]
|
|
707
|
+
#
|
|
708
|
+
# @!attribute [rw] description
|
|
709
|
+
# A description of the endpoint.
|
|
710
|
+
# @return [String]
|
|
711
|
+
#
|
|
712
|
+
# @!attribute [rw] endpoint_type
|
|
713
|
+
# The type of the endpoint.
|
|
714
|
+
# @return [String]
|
|
715
|
+
#
|
|
716
|
+
# @!attribute [rw] domain_name
|
|
717
|
+
# The domain name of the endpoint.
|
|
718
|
+
# @return [String]
|
|
719
|
+
#
|
|
720
|
+
# @!attribute [rw] auth_type
|
|
721
|
+
# The authorization type for the endpoint.
|
|
722
|
+
# @return [String]
|
|
723
|
+
#
|
|
724
|
+
# @!attribute [rw] auto_deployment_mode
|
|
725
|
+
# The auto-deployment mode for the endpoint.
|
|
726
|
+
# @return [String]
|
|
727
|
+
#
|
|
728
|
+
# @!attribute [rw] revision_weights
|
|
729
|
+
# The revision weights for the endpoint.
|
|
730
|
+
# @return [Array<Types::RevisionWeight>]
|
|
731
|
+
#
|
|
732
|
+
# @!attribute [rw] regions
|
|
733
|
+
# The list of Regions for the endpoint.
|
|
734
|
+
# @return [Array<String>]
|
|
735
|
+
#
|
|
736
|
+
# @!attribute [rw] scaling_config
|
|
737
|
+
# The scaling configuration for the endpoint. This field is absent if
|
|
738
|
+
# the endpoint has no scaling configuration.
|
|
739
|
+
# @return [Types::ScalingConfig]
|
|
740
|
+
#
|
|
741
|
+
# @!attribute [rw] throttle_config
|
|
742
|
+
# The throttling configuration for the endpoint. This field is absent
|
|
743
|
+
# if the endpoint has no throttling configuration.
|
|
744
|
+
# @return [Types::ThrottleConfig]
|
|
745
|
+
#
|
|
746
|
+
# @!attribute [rw] state
|
|
747
|
+
# The current state of the endpoint.
|
|
748
|
+
# @return [String]
|
|
749
|
+
#
|
|
750
|
+
# @!attribute [rw] state_reason
|
|
751
|
+
# The reason for the current state of the endpoint.
|
|
752
|
+
# @return [String]
|
|
753
|
+
#
|
|
754
|
+
# @!attribute [rw] update_status
|
|
755
|
+
# The status of the most recent update to the endpoint.
|
|
756
|
+
# @return [String]
|
|
757
|
+
#
|
|
758
|
+
# @!attribute [rw] update_status_reason
|
|
759
|
+
# The reason for the current update status of the endpoint.
|
|
760
|
+
# @return [String]
|
|
761
|
+
#
|
|
762
|
+
# @!attribute [rw] created_at
|
|
763
|
+
# The date and time the endpoint was created.
|
|
764
|
+
# @return [Time]
|
|
765
|
+
#
|
|
766
|
+
# @!attribute [rw] updated_at
|
|
767
|
+
# The date and time the endpoint was last updated.
|
|
768
|
+
# @return [Time]
|
|
769
|
+
#
|
|
770
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/FunctionEndpointSummary AWS API Documentation
|
|
771
|
+
#
|
|
772
|
+
class FunctionEndpointSummary < Struct.new(
|
|
773
|
+
:endpoint_arn,
|
|
774
|
+
:endpoint_name,
|
|
775
|
+
:description,
|
|
776
|
+
:endpoint_type,
|
|
777
|
+
:domain_name,
|
|
778
|
+
:auth_type,
|
|
779
|
+
:auto_deployment_mode,
|
|
780
|
+
:revision_weights,
|
|
781
|
+
:regions,
|
|
782
|
+
:scaling_config,
|
|
783
|
+
:throttle_config,
|
|
784
|
+
:state,
|
|
785
|
+
:state_reason,
|
|
786
|
+
:update_status,
|
|
787
|
+
:update_status_reason,
|
|
788
|
+
:created_at,
|
|
789
|
+
:updated_at)
|
|
790
|
+
SENSITIVE = []
|
|
791
|
+
include Aws::Structure
|
|
792
|
+
end
|
|
793
|
+
|
|
794
|
+
# A summary of a web function revision.
|
|
795
|
+
#
|
|
796
|
+
# @!attribute [rw] revision_arn
|
|
797
|
+
# The Amazon Resource Name (ARN) of the revision.
|
|
798
|
+
# @return [String]
|
|
799
|
+
#
|
|
800
|
+
# @!attribute [rw] revision_id
|
|
801
|
+
# The identifier of the revision.
|
|
802
|
+
# @return [String]
|
|
803
|
+
#
|
|
804
|
+
# @!attribute [rw] description
|
|
805
|
+
# A description of the revision.
|
|
806
|
+
# @return [String]
|
|
807
|
+
#
|
|
808
|
+
# @!attribute [rw] state
|
|
809
|
+
# The current state of the revision.
|
|
810
|
+
# @return [String]
|
|
811
|
+
#
|
|
812
|
+
# @!attribute [rw] state_reason
|
|
813
|
+
# The reason for the current state of the revision.
|
|
814
|
+
# @return [String]
|
|
815
|
+
#
|
|
816
|
+
# @!attribute [rw] created_at
|
|
817
|
+
# The date and time the revision was created.
|
|
818
|
+
# @return [Time]
|
|
819
|
+
#
|
|
820
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/FunctionRevisionSummary AWS API Documentation
|
|
821
|
+
#
|
|
822
|
+
class FunctionRevisionSummary < Struct.new(
|
|
823
|
+
:revision_arn,
|
|
824
|
+
:revision_id,
|
|
825
|
+
:description,
|
|
826
|
+
:state,
|
|
827
|
+
:state_reason,
|
|
828
|
+
:created_at)
|
|
829
|
+
SENSITIVE = []
|
|
830
|
+
include Aws::Structure
|
|
831
|
+
end
|
|
832
|
+
|
|
833
|
+
# A summary of a web function.
|
|
834
|
+
#
|
|
835
|
+
# @!attribute [rw] function_name
|
|
836
|
+
# The name of the web function.
|
|
837
|
+
# @return [String]
|
|
838
|
+
#
|
|
839
|
+
# @!attribute [rw] function_arn
|
|
840
|
+
# The Amazon Resource Name (ARN) of the web function.
|
|
841
|
+
# @return [String]
|
|
842
|
+
#
|
|
843
|
+
# @!attribute [rw] state
|
|
844
|
+
# The current state of the web function.
|
|
845
|
+
# @return [String]
|
|
846
|
+
#
|
|
847
|
+
# @!attribute [rw] state_reason
|
|
848
|
+
# The reason for the current state of the web function.
|
|
849
|
+
# @return [String]
|
|
850
|
+
#
|
|
851
|
+
# @!attribute [rw] created_at
|
|
852
|
+
# The date and time the web function was created.
|
|
853
|
+
# @return [Time]
|
|
854
|
+
#
|
|
855
|
+
# @!attribute [rw] updated_at
|
|
856
|
+
# The date and time the web function was last updated.
|
|
857
|
+
# @return [Time]
|
|
858
|
+
#
|
|
859
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/FunctionSummary AWS API Documentation
|
|
860
|
+
#
|
|
861
|
+
class FunctionSummary < Struct.new(
|
|
862
|
+
:function_name,
|
|
863
|
+
:function_arn,
|
|
864
|
+
:state,
|
|
865
|
+
:state_reason,
|
|
866
|
+
:created_at,
|
|
867
|
+
:updated_at)
|
|
868
|
+
SENSITIVE = []
|
|
869
|
+
include Aws::Structure
|
|
870
|
+
end
|
|
871
|
+
|
|
872
|
+
# The request to retrieve a resource-based policy.
|
|
873
|
+
#
|
|
874
|
+
# @!attribute [rw] resource_arn
|
|
875
|
+
# The Amazon Resource Name (ARN) of the web function.
|
|
876
|
+
# @return [String]
|
|
877
|
+
#
|
|
878
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/GetResourcePolicyRequest AWS API Documentation
|
|
879
|
+
#
|
|
880
|
+
class GetResourcePolicyRequest < Struct.new(
|
|
881
|
+
:resource_arn)
|
|
882
|
+
SENSITIVE = []
|
|
883
|
+
include Aws::Structure
|
|
884
|
+
end
|
|
885
|
+
|
|
886
|
+
# Contains the resource-based policy and its revision ID.
|
|
887
|
+
#
|
|
888
|
+
# @!attribute [rw] policy
|
|
889
|
+
# The JSON-formatted resource-based policy attached to the web
|
|
890
|
+
# function.
|
|
891
|
+
# @return [String]
|
|
892
|
+
#
|
|
893
|
+
# @!attribute [rw] revision_id
|
|
894
|
+
# The revision ID of the policy.
|
|
895
|
+
# @return [String]
|
|
896
|
+
#
|
|
897
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/GetResourcePolicyResponse AWS API Documentation
|
|
898
|
+
#
|
|
899
|
+
class GetResourcePolicyResponse < Struct.new(
|
|
900
|
+
:policy,
|
|
901
|
+
:revision_id)
|
|
902
|
+
SENSITIVE = []
|
|
903
|
+
include Aws::Structure
|
|
904
|
+
end
|
|
905
|
+
|
|
906
|
+
# @api private
|
|
907
|
+
#
|
|
908
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/GetWebAccountSettingsRequest AWS API Documentation
|
|
909
|
+
#
|
|
910
|
+
class GetWebAccountSettingsRequest < Aws::EmptyStructure; end
|
|
911
|
+
|
|
912
|
+
# Contains your AWS Lambda Web Functions account quotas and usage for
|
|
913
|
+
# the current AWS Region.
|
|
914
|
+
#
|
|
915
|
+
# @!attribute [rw] account_quotas
|
|
916
|
+
# The quotas that apply to web functions in your account in the
|
|
917
|
+
# current AWS Region.
|
|
918
|
+
# @return [Types::AccountQuotas]
|
|
919
|
+
#
|
|
920
|
+
# @!attribute [rw] account_usage
|
|
921
|
+
# The current web function usage for your account in the current AWS
|
|
922
|
+
# Region.
|
|
923
|
+
# @return [Types::AccountUsage]
|
|
924
|
+
#
|
|
925
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/GetWebAccountSettingsResponse AWS API Documentation
|
|
926
|
+
#
|
|
927
|
+
class GetWebAccountSettingsResponse < Struct.new(
|
|
928
|
+
:account_quotas,
|
|
929
|
+
:account_usage)
|
|
930
|
+
SENSITIVE = []
|
|
931
|
+
include Aws::Structure
|
|
932
|
+
end
|
|
933
|
+
|
|
934
|
+
# The request to retrieve a web function endpoint.
|
|
935
|
+
#
|
|
936
|
+
# @!attribute [rw] function_name
|
|
937
|
+
# The name of the web function. You can specify the function name or
|
|
938
|
+
# the function ARN. The length constraint applies only to the full
|
|
939
|
+
# ARN. If you specify only the function name, it is limited to 64
|
|
940
|
+
# characters in length.
|
|
941
|
+
# @return [String]
|
|
942
|
+
#
|
|
943
|
+
# @!attribute [rw] endpoint_name
|
|
944
|
+
# The name of the endpoint to retrieve. You can specify the endpoint
|
|
945
|
+
# name or the endpoint ARN. The length constraint applies only to the
|
|
946
|
+
# full ARN. If you specify only the endpoint name, it is limited to 64
|
|
947
|
+
# characters in length.
|
|
948
|
+
# @return [String]
|
|
949
|
+
#
|
|
950
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/GetWebFunctionEndpointRequest AWS API Documentation
|
|
951
|
+
#
|
|
952
|
+
class GetWebFunctionEndpointRequest < Struct.new(
|
|
953
|
+
:function_name,
|
|
954
|
+
:endpoint_name)
|
|
955
|
+
SENSITIVE = []
|
|
956
|
+
include Aws::Structure
|
|
957
|
+
end
|
|
958
|
+
|
|
959
|
+
# Contains details about the web function endpoint.
|
|
960
|
+
#
|
|
961
|
+
# @!attribute [rw] function_arn
|
|
962
|
+
# The Amazon Resource Name (ARN) of the web function.
|
|
963
|
+
# @return [String]
|
|
964
|
+
#
|
|
965
|
+
# @!attribute [rw] endpoint_arn
|
|
966
|
+
# The Amazon Resource Name (ARN) of the endpoint.
|
|
967
|
+
# @return [String]
|
|
968
|
+
#
|
|
969
|
+
# @!attribute [rw] endpoint_name
|
|
970
|
+
# The name of the endpoint.
|
|
971
|
+
# @return [String]
|
|
972
|
+
#
|
|
973
|
+
# @!attribute [rw] description
|
|
974
|
+
# The description of the endpoint.
|
|
975
|
+
# @return [String]
|
|
976
|
+
#
|
|
977
|
+
# @!attribute [rw] endpoint_type
|
|
978
|
+
# The type of a web function endpoint. Possible values: `HomeRegion`
|
|
979
|
+
# (serves from the Region where the function was created),
|
|
980
|
+
# `MultiRegion` (replicates across chosen Regions and routes to the
|
|
981
|
+
# nearest), `PerRegion` (separate endpoint per Region).
|
|
982
|
+
# @return [String]
|
|
983
|
+
#
|
|
984
|
+
# @!attribute [rw] domain_name
|
|
985
|
+
# The domain name assigned to the endpoint.
|
|
986
|
+
# @return [String]
|
|
987
|
+
#
|
|
988
|
+
# @!attribute [rw] auth_type
|
|
989
|
+
# The authorization type for a web function endpoint. Possible values:
|
|
990
|
+
# `ApplicationManaged` (the function handles authorization), `IamAuth`
|
|
991
|
+
# (Lambda authorizes requests with AWS SigV4 and IAM).
|
|
992
|
+
# @return [String]
|
|
993
|
+
#
|
|
994
|
+
# @!attribute [rw] auto_deployment_mode
|
|
995
|
+
# The auto-deployment mode for a web function endpoint. Possible
|
|
996
|
+
# values: `LatestRevision` (endpoint automatically serves the newest
|
|
997
|
+
# revision), `Disabled` (revision routing is fixed until explicitly
|
|
998
|
+
# changed).
|
|
999
|
+
# @return [String]
|
|
1000
|
+
#
|
|
1001
|
+
# @!attribute [rw] revision_weights
|
|
1002
|
+
# The traffic distribution across revisions for the endpoint. Each
|
|
1003
|
+
# entry maps a revision to a weight from 1 to 100.
|
|
1004
|
+
# @return [Array<Types::RevisionWeight>]
|
|
1005
|
+
#
|
|
1006
|
+
# @!attribute [rw] regions
|
|
1007
|
+
# The Regions configured for the endpoint.
|
|
1008
|
+
# @return [Array<String>]
|
|
1009
|
+
#
|
|
1010
|
+
# @!attribute [rw] scaling_config
|
|
1011
|
+
# The scaling configuration for a web function endpoint.
|
|
1012
|
+
# @return [Types::ScalingConfig]
|
|
1013
|
+
#
|
|
1014
|
+
# @!attribute [rw] throttle_config
|
|
1015
|
+
# The throttling configuration for a web function endpoint.
|
|
1016
|
+
# @return [Types::ThrottleConfig]
|
|
1017
|
+
#
|
|
1018
|
+
# @!attribute [rw] state
|
|
1019
|
+
# The current state of the endpoint.
|
|
1020
|
+
# @return [String]
|
|
1021
|
+
#
|
|
1022
|
+
# @!attribute [rw] state_reason
|
|
1023
|
+
# The reason for the current state of the endpoint.
|
|
1024
|
+
# @return [String]
|
|
1025
|
+
#
|
|
1026
|
+
# @!attribute [rw] update_status
|
|
1027
|
+
# The status of the most recent update to an endpoint. Possible
|
|
1028
|
+
# values: `InProgress` (update is in progress), `Successful` (update
|
|
1029
|
+
# completed successfully), `Failed` (update failed).
|
|
1030
|
+
# @return [String]
|
|
1031
|
+
#
|
|
1032
|
+
# @!attribute [rw] update_status_reason
|
|
1033
|
+
# The reason for the endpoint's most recent update status.
|
|
1034
|
+
# @return [String]
|
|
1035
|
+
#
|
|
1036
|
+
# @!attribute [rw] regional_endpoints
|
|
1037
|
+
# The list of regional endpoint configurations.
|
|
1038
|
+
# @return [Hash<String,Types::RegionalEndpoint>]
|
|
1039
|
+
#
|
|
1040
|
+
# @!attribute [rw] created_at
|
|
1041
|
+
# The date and time the endpoint was created.
|
|
1042
|
+
# @return [Time]
|
|
1043
|
+
#
|
|
1044
|
+
# @!attribute [rw] updated_at
|
|
1045
|
+
# The date and time the endpoint was last updated.
|
|
1046
|
+
# @return [Time]
|
|
1047
|
+
#
|
|
1048
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/GetWebFunctionEndpointResponse AWS API Documentation
|
|
1049
|
+
#
|
|
1050
|
+
class GetWebFunctionEndpointResponse < Struct.new(
|
|
1051
|
+
:function_arn,
|
|
1052
|
+
:endpoint_arn,
|
|
1053
|
+
:endpoint_name,
|
|
1054
|
+
:description,
|
|
1055
|
+
:endpoint_type,
|
|
1056
|
+
:domain_name,
|
|
1057
|
+
:auth_type,
|
|
1058
|
+
:auto_deployment_mode,
|
|
1059
|
+
:revision_weights,
|
|
1060
|
+
:regions,
|
|
1061
|
+
:scaling_config,
|
|
1062
|
+
:throttle_config,
|
|
1063
|
+
:state,
|
|
1064
|
+
:state_reason,
|
|
1065
|
+
:update_status,
|
|
1066
|
+
:update_status_reason,
|
|
1067
|
+
:regional_endpoints,
|
|
1068
|
+
:created_at,
|
|
1069
|
+
:updated_at)
|
|
1070
|
+
SENSITIVE = []
|
|
1071
|
+
include Aws::Structure
|
|
1072
|
+
end
|
|
1073
|
+
|
|
1074
|
+
# The request to retrieve a web function.
|
|
1075
|
+
#
|
|
1076
|
+
# @!attribute [rw] function_name
|
|
1077
|
+
# The name of the web function to retrieve. You can specify the
|
|
1078
|
+
# function name or the function ARN. The length constraint applies
|
|
1079
|
+
# only to the full ARN. If you specify only the function name, it is
|
|
1080
|
+
# limited to 64 characters in length.
|
|
1081
|
+
# @return [String]
|
|
1082
|
+
#
|
|
1083
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/GetWebFunctionRequest AWS API Documentation
|
|
1084
|
+
#
|
|
1085
|
+
class GetWebFunctionRequest < Struct.new(
|
|
1086
|
+
:function_name)
|
|
1087
|
+
SENSITIVE = []
|
|
1088
|
+
include Aws::Structure
|
|
1089
|
+
end
|
|
1090
|
+
|
|
1091
|
+
# Contains details about the web function.
|
|
1092
|
+
#
|
|
1093
|
+
# @!attribute [rw] function_name
|
|
1094
|
+
# The name of the web function.
|
|
1095
|
+
# @return [String]
|
|
1096
|
+
#
|
|
1097
|
+
# @!attribute [rw] function_arn
|
|
1098
|
+
# The Amazon Resource Name (ARN) of the web function.
|
|
1099
|
+
# @return [String]
|
|
1100
|
+
#
|
|
1101
|
+
# @!attribute [rw] state
|
|
1102
|
+
# The current state of the web function.
|
|
1103
|
+
# @return [String]
|
|
1104
|
+
#
|
|
1105
|
+
# @!attribute [rw] state_reason
|
|
1106
|
+
# The reason for the current state of the web function.
|
|
1107
|
+
# @return [String]
|
|
1108
|
+
#
|
|
1109
|
+
# @!attribute [rw] created_at
|
|
1110
|
+
# The date and time the web function was created.
|
|
1111
|
+
# @return [Time]
|
|
1112
|
+
#
|
|
1113
|
+
# @!attribute [rw] updated_at
|
|
1114
|
+
# The date and time the web function was last updated.
|
|
1115
|
+
# @return [Time]
|
|
1116
|
+
#
|
|
1117
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/GetWebFunctionResponse AWS API Documentation
|
|
1118
|
+
#
|
|
1119
|
+
class GetWebFunctionResponse < Struct.new(
|
|
1120
|
+
:function_name,
|
|
1121
|
+
:function_arn,
|
|
1122
|
+
:state,
|
|
1123
|
+
:state_reason,
|
|
1124
|
+
:created_at,
|
|
1125
|
+
:updated_at)
|
|
1126
|
+
SENSITIVE = []
|
|
1127
|
+
include Aws::Structure
|
|
1128
|
+
end
|
|
1129
|
+
|
|
1130
|
+
# The request to retrieve a web function revision.
|
|
1131
|
+
#
|
|
1132
|
+
# @!attribute [rw] function_name
|
|
1133
|
+
# The name of the web function. You can specify the function name or
|
|
1134
|
+
# the function ARN. The length constraint applies only to the full
|
|
1135
|
+
# ARN. If you specify only the function name, it is limited to 64
|
|
1136
|
+
# characters in length.
|
|
1137
|
+
# @return [String]
|
|
1138
|
+
#
|
|
1139
|
+
# @!attribute [rw] revision_id
|
|
1140
|
+
# The identifier of the revision to retrieve. You can specify the
|
|
1141
|
+
# revision identifier or the revision ARN. The length constraint
|
|
1142
|
+
# applies only to the full ARN.
|
|
1143
|
+
# @return [String]
|
|
1144
|
+
#
|
|
1145
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/GetWebFunctionRevisionRequest AWS API Documentation
|
|
1146
|
+
#
|
|
1147
|
+
class GetWebFunctionRevisionRequest < Struct.new(
|
|
1148
|
+
:function_name,
|
|
1149
|
+
:revision_id)
|
|
1150
|
+
SENSITIVE = []
|
|
1151
|
+
include Aws::Structure
|
|
1152
|
+
end
|
|
1153
|
+
|
|
1154
|
+
# Contains details about the web function revision.
|
|
1155
|
+
#
|
|
1156
|
+
# @!attribute [rw] function_arn
|
|
1157
|
+
# The Amazon Resource Name (ARN) of the web function.
|
|
1158
|
+
# @return [String]
|
|
1159
|
+
#
|
|
1160
|
+
# @!attribute [rw] revision_arn
|
|
1161
|
+
# The Amazon Resource Name (ARN) of the revision.
|
|
1162
|
+
# @return [String]
|
|
1163
|
+
#
|
|
1164
|
+
# @!attribute [rw] revision_id
|
|
1165
|
+
# The identifier of the revision.
|
|
1166
|
+
# @return [String]
|
|
1167
|
+
#
|
|
1168
|
+
# @!attribute [rw] description
|
|
1169
|
+
# The description of the revision.
|
|
1170
|
+
# @return [String]
|
|
1171
|
+
#
|
|
1172
|
+
# @!attribute [rw] kms_key_arn
|
|
1173
|
+
# The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt
|
|
1174
|
+
# the revision's code and environment variables.
|
|
1175
|
+
# @return [String]
|
|
1176
|
+
#
|
|
1177
|
+
# @!attribute [rw] build_config
|
|
1178
|
+
# The build configuration for a web function revision, including code
|
|
1179
|
+
# location and runtime settings.
|
|
1180
|
+
# @return [Types::BuildConfig]
|
|
1181
|
+
#
|
|
1182
|
+
# @!attribute [rw] service_config
|
|
1183
|
+
# The service configuration for a web function revision, including
|
|
1184
|
+
# execution role, timeout, concurrency, and telemetry settings.
|
|
1185
|
+
# @return [Types::ServiceConfig]
|
|
1186
|
+
#
|
|
1187
|
+
# @!attribute [rw] state
|
|
1188
|
+
# The current state of the revision.
|
|
1189
|
+
# @return [String]
|
|
1190
|
+
#
|
|
1191
|
+
# @!attribute [rw] state_reason
|
|
1192
|
+
# The reason for the current state of the revision.
|
|
1193
|
+
# @return [String]
|
|
1194
|
+
#
|
|
1195
|
+
# @!attribute [rw] errors
|
|
1196
|
+
# A list of errors encountered during revision creation. This field is
|
|
1197
|
+
# absent when the revision has no errors.
|
|
1198
|
+
# @return [Array<Types::RevisionError>]
|
|
1199
|
+
#
|
|
1200
|
+
# @!attribute [rw] created_at
|
|
1201
|
+
# The date and time the revision was created.
|
|
1202
|
+
# @return [Time]
|
|
1203
|
+
#
|
|
1204
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/GetWebFunctionRevisionResponse AWS API Documentation
|
|
1205
|
+
#
|
|
1206
|
+
class GetWebFunctionRevisionResponse < Struct.new(
|
|
1207
|
+
:function_arn,
|
|
1208
|
+
:revision_arn,
|
|
1209
|
+
:revision_id,
|
|
1210
|
+
:description,
|
|
1211
|
+
:kms_key_arn,
|
|
1212
|
+
:build_config,
|
|
1213
|
+
:service_config,
|
|
1214
|
+
:state,
|
|
1215
|
+
:state_reason,
|
|
1216
|
+
:errors,
|
|
1217
|
+
:created_at)
|
|
1218
|
+
SENSITIVE = []
|
|
1219
|
+
include Aws::Structure
|
|
1220
|
+
end
|
|
1221
|
+
|
|
1222
|
+
# An internal server error occurred. Try again later.
|
|
1223
|
+
#
|
|
1224
|
+
# @!attribute [rw] message
|
|
1225
|
+
# A message describing the internal error.
|
|
1226
|
+
# @return [String]
|
|
1227
|
+
#
|
|
1228
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/InternalServerException AWS API Documentation
|
|
1229
|
+
#
|
|
1230
|
+
class InternalServerException < Struct.new(
|
|
1231
|
+
:message)
|
|
1232
|
+
SENSITIVE = []
|
|
1233
|
+
include Aws::Structure
|
|
1234
|
+
end
|
|
1235
|
+
|
|
1236
|
+
# The request to list tags for a resource.
|
|
1237
|
+
#
|
|
1238
|
+
# @!attribute [rw] resource
|
|
1239
|
+
# The Amazon Resource Name (ARN) of the web function.
|
|
1240
|
+
# @return [String]
|
|
1241
|
+
#
|
|
1242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ListTagsRequest AWS API Documentation
|
|
1243
|
+
#
|
|
1244
|
+
class ListTagsRequest < Struct.new(
|
|
1245
|
+
:resource)
|
|
1246
|
+
SENSITIVE = []
|
|
1247
|
+
include Aws::Structure
|
|
1248
|
+
end
|
|
1249
|
+
|
|
1250
|
+
# Contains the list of tags.
|
|
1251
|
+
#
|
|
1252
|
+
# @!attribute [rw] tags
|
|
1253
|
+
# A map of tag keys and values associated with the web function.
|
|
1254
|
+
# @return [Hash<String,String>]
|
|
1255
|
+
#
|
|
1256
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ListTagsResponse AWS API Documentation
|
|
1257
|
+
#
|
|
1258
|
+
class ListTagsResponse < Struct.new(
|
|
1259
|
+
:tags)
|
|
1260
|
+
SENSITIVE = []
|
|
1261
|
+
include Aws::Structure
|
|
1262
|
+
end
|
|
1263
|
+
|
|
1264
|
+
# The request to list web function endpoints.
|
|
1265
|
+
#
|
|
1266
|
+
# @!attribute [rw] function_name
|
|
1267
|
+
# The name of the web function. You can specify the function name or
|
|
1268
|
+
# the function ARN. The length constraint applies only to the full
|
|
1269
|
+
# ARN. If you specify only the function name, it is limited to 64
|
|
1270
|
+
# characters in length.
|
|
1271
|
+
# @return [String]
|
|
1272
|
+
#
|
|
1273
|
+
# @!attribute [rw] filters
|
|
1274
|
+
# A list of filters to apply to the results. Supported filter names:
|
|
1275
|
+
# `authType`, `autoDeploymentMode`, `endpointType`, `state`, and
|
|
1276
|
+
# `updateStatus`.
|
|
1277
|
+
# @return [Array<Types::Filter>]
|
|
1278
|
+
#
|
|
1279
|
+
# @!attribute [rw] max_results
|
|
1280
|
+
# The maximum number of results to return in a single call. Minimum
|
|
1281
|
+
# value of 1, maximum value of 50. Default is 50.
|
|
1282
|
+
# @return [Integer]
|
|
1283
|
+
#
|
|
1284
|
+
# @!attribute [rw] next_token
|
|
1285
|
+
# The pagination token that's returned by a previous request to
|
|
1286
|
+
# retrieve the next page of results.
|
|
1287
|
+
# @return [String]
|
|
1288
|
+
#
|
|
1289
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ListWebFunctionEndpointsRequest AWS API Documentation
|
|
1290
|
+
#
|
|
1291
|
+
class ListWebFunctionEndpointsRequest < Struct.new(
|
|
1292
|
+
:function_name,
|
|
1293
|
+
:filters,
|
|
1294
|
+
:max_results,
|
|
1295
|
+
:next_token)
|
|
1296
|
+
SENSITIVE = []
|
|
1297
|
+
include Aws::Structure
|
|
1298
|
+
end
|
|
1299
|
+
|
|
1300
|
+
# Contains the list of web function endpoints.
|
|
1301
|
+
#
|
|
1302
|
+
# @!attribute [rw] endpoints
|
|
1303
|
+
# A list of endpoint summaries for the web function.
|
|
1304
|
+
# @return [Array<Types::FunctionEndpointSummary>]
|
|
1305
|
+
#
|
|
1306
|
+
# @!attribute [rw] next_token
|
|
1307
|
+
# The pagination token that's included if more results are available.
|
|
1308
|
+
# @return [String]
|
|
1309
|
+
#
|
|
1310
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ListWebFunctionEndpointsResponse AWS API Documentation
|
|
1311
|
+
#
|
|
1312
|
+
class ListWebFunctionEndpointsResponse < Struct.new(
|
|
1313
|
+
:endpoints,
|
|
1314
|
+
:next_token)
|
|
1315
|
+
SENSITIVE = []
|
|
1316
|
+
include Aws::Structure
|
|
1317
|
+
end
|
|
1318
|
+
|
|
1319
|
+
# The request to list web function revisions.
|
|
1320
|
+
#
|
|
1321
|
+
# @!attribute [rw] function_name
|
|
1322
|
+
# The name of the web function. You can specify the function name or
|
|
1323
|
+
# the function ARN. The length constraint applies only to the full
|
|
1324
|
+
# ARN. If you specify only the function name, it is limited to 64
|
|
1325
|
+
# characters in length.
|
|
1326
|
+
# @return [String]
|
|
1327
|
+
#
|
|
1328
|
+
# @!attribute [rw] filters
|
|
1329
|
+
# A list of filters to apply to the results. The only supported filter
|
|
1330
|
+
# name is `state`.
|
|
1331
|
+
# @return [Array<Types::Filter>]
|
|
1332
|
+
#
|
|
1333
|
+
# @!attribute [rw] max_results
|
|
1334
|
+
# The maximum number of results to return in a single call. Minimum
|
|
1335
|
+
# value of 1, maximum value of 50. Default is 50.
|
|
1336
|
+
# @return [Integer]
|
|
1337
|
+
#
|
|
1338
|
+
# @!attribute [rw] next_token
|
|
1339
|
+
# The pagination token that's returned by a previous request to
|
|
1340
|
+
# retrieve the next page of results.
|
|
1341
|
+
# @return [String]
|
|
1342
|
+
#
|
|
1343
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ListWebFunctionRevisionsRequest AWS API Documentation
|
|
1344
|
+
#
|
|
1345
|
+
class ListWebFunctionRevisionsRequest < Struct.new(
|
|
1346
|
+
:function_name,
|
|
1347
|
+
:filters,
|
|
1348
|
+
:max_results,
|
|
1349
|
+
:next_token)
|
|
1350
|
+
SENSITIVE = []
|
|
1351
|
+
include Aws::Structure
|
|
1352
|
+
end
|
|
1353
|
+
|
|
1354
|
+
# Contains the list of web function revisions.
|
|
1355
|
+
#
|
|
1356
|
+
# @!attribute [rw] revisions
|
|
1357
|
+
# A list of revision summaries for the web function.
|
|
1358
|
+
# @return [Array<Types::FunctionRevisionSummary>]
|
|
1359
|
+
#
|
|
1360
|
+
# @!attribute [rw] next_token
|
|
1361
|
+
# The pagination token that's included if more results are available.
|
|
1362
|
+
# @return [String]
|
|
1363
|
+
#
|
|
1364
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ListWebFunctionRevisionsResponse AWS API Documentation
|
|
1365
|
+
#
|
|
1366
|
+
class ListWebFunctionRevisionsResponse < Struct.new(
|
|
1367
|
+
:revisions,
|
|
1368
|
+
:next_token)
|
|
1369
|
+
SENSITIVE = []
|
|
1370
|
+
include Aws::Structure
|
|
1371
|
+
end
|
|
1372
|
+
|
|
1373
|
+
# The request to list web functions.
|
|
1374
|
+
#
|
|
1375
|
+
# @!attribute [rw] filters
|
|
1376
|
+
# A list of filters to apply to the results. The only supported filter
|
|
1377
|
+
# name is `state`.
|
|
1378
|
+
# @return [Array<Types::Filter>]
|
|
1379
|
+
#
|
|
1380
|
+
# @!attribute [rw] max_results
|
|
1381
|
+
# The maximum number of results to return in a single call. Minimum
|
|
1382
|
+
# value of 1, maximum value of 50. Default is 50.
|
|
1383
|
+
# @return [Integer]
|
|
1384
|
+
#
|
|
1385
|
+
# @!attribute [rw] next_token
|
|
1386
|
+
# The pagination token that's returned by a previous request to
|
|
1387
|
+
# retrieve the next page of results.
|
|
1388
|
+
# @return [String]
|
|
1389
|
+
#
|
|
1390
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ListWebFunctionsRequest AWS API Documentation
|
|
1391
|
+
#
|
|
1392
|
+
class ListWebFunctionsRequest < Struct.new(
|
|
1393
|
+
:filters,
|
|
1394
|
+
:max_results,
|
|
1395
|
+
:next_token)
|
|
1396
|
+
SENSITIVE = []
|
|
1397
|
+
include Aws::Structure
|
|
1398
|
+
end
|
|
1399
|
+
|
|
1400
|
+
# Contains the list of web functions.
|
|
1401
|
+
#
|
|
1402
|
+
# @!attribute [rw] functions
|
|
1403
|
+
# A list of web function summaries.
|
|
1404
|
+
# @return [Array<Types::FunctionSummary>]
|
|
1405
|
+
#
|
|
1406
|
+
# @!attribute [rw] next_token
|
|
1407
|
+
# The pagination token that's included if more results are available.
|
|
1408
|
+
# @return [String]
|
|
1409
|
+
#
|
|
1410
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ListWebFunctionsResponse AWS API Documentation
|
|
1411
|
+
#
|
|
1412
|
+
class ListWebFunctionsResponse < Struct.new(
|
|
1413
|
+
:functions,
|
|
1414
|
+
:next_token)
|
|
1415
|
+
SENSITIVE = []
|
|
1416
|
+
include Aws::Structure
|
|
1417
|
+
end
|
|
1418
|
+
|
|
1419
|
+
# The logging configuration for a web function revision.
|
|
1420
|
+
#
|
|
1421
|
+
# @!attribute [rw] log_group
|
|
1422
|
+
# The name of the Amazon CloudWatch Logs log group the web function
|
|
1423
|
+
# sends logs to. If you don't specify a value, the default is
|
|
1424
|
+
# `/aws/lambda/web/{functionName}`, and this default is returned in
|
|
1425
|
+
# the response.
|
|
1426
|
+
# @return [String]
|
|
1427
|
+
#
|
|
1428
|
+
# @!attribute [rw] application_log_level
|
|
1429
|
+
# The log level for application logs emitted by the web function. If
|
|
1430
|
+
# you don't specify a value, the default is `INFO`, and this default
|
|
1431
|
+
# is returned in the response.
|
|
1432
|
+
# @return [String]
|
|
1433
|
+
#
|
|
1434
|
+
# @!attribute [rw] system_log_level
|
|
1435
|
+
# The log level for system logs emitted by the Lambda runtime. If you
|
|
1436
|
+
# don't specify a value, the default is `INFO`, and this default is
|
|
1437
|
+
# returned in the response.
|
|
1438
|
+
# @return [String]
|
|
1439
|
+
#
|
|
1440
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/LoggingConfig AWS API Documentation
|
|
1441
|
+
#
|
|
1442
|
+
class LoggingConfig < Struct.new(
|
|
1443
|
+
:log_group,
|
|
1444
|
+
:application_log_level,
|
|
1445
|
+
:system_log_level)
|
|
1446
|
+
SENSITIVE = []
|
|
1447
|
+
include Aws::Structure
|
|
1448
|
+
end
|
|
1449
|
+
|
|
1450
|
+
# The request to add or update a resource-based policy.
|
|
1451
|
+
#
|
|
1452
|
+
# @!attribute [rw] resource_arn
|
|
1453
|
+
# The Amazon Resource Name (ARN) of the web function.
|
|
1454
|
+
# @return [String]
|
|
1455
|
+
#
|
|
1456
|
+
# @!attribute [rw] policy
|
|
1457
|
+
# The JSON-formatted resource-based policy to attach to the web
|
|
1458
|
+
# function.
|
|
1459
|
+
# @return [String]
|
|
1460
|
+
#
|
|
1461
|
+
# @!attribute [rw] revision_id
|
|
1462
|
+
# The revision ID of the existing policy. Use this to prevent
|
|
1463
|
+
# conflicts when updating a policy concurrently. If you don't specify
|
|
1464
|
+
# a value, the update proceeds without checking the current revision.
|
|
1465
|
+
# @return [String]
|
|
1466
|
+
#
|
|
1467
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/PutResourcePolicyRequest AWS API Documentation
|
|
1468
|
+
#
|
|
1469
|
+
class PutResourcePolicyRequest < Struct.new(
|
|
1470
|
+
:resource_arn,
|
|
1471
|
+
:policy,
|
|
1472
|
+
:revision_id)
|
|
1473
|
+
SENSITIVE = []
|
|
1474
|
+
include Aws::Structure
|
|
1475
|
+
end
|
|
1476
|
+
|
|
1477
|
+
# Contains the resource-based policy and its revision ID.
|
|
1478
|
+
#
|
|
1479
|
+
# @!attribute [rw] policy
|
|
1480
|
+
# The JSON-formatted resource-based policy attached to the web
|
|
1481
|
+
# function.
|
|
1482
|
+
# @return [String]
|
|
1483
|
+
#
|
|
1484
|
+
# @!attribute [rw] revision_id
|
|
1485
|
+
# The revision ID of the policy. Use this value in subsequent
|
|
1486
|
+
# `PutResourcePolicy` or `DeleteResourcePolicy` requests to prevent
|
|
1487
|
+
# conflicts.
|
|
1488
|
+
# @return [String]
|
|
1489
|
+
#
|
|
1490
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/PutResourcePolicyResponse AWS API Documentation
|
|
1491
|
+
#
|
|
1492
|
+
class PutResourcePolicyResponse < Struct.new(
|
|
1493
|
+
:policy,
|
|
1494
|
+
:revision_id)
|
|
1495
|
+
SENSITIVE = []
|
|
1496
|
+
include Aws::Structure
|
|
1497
|
+
end
|
|
1498
|
+
|
|
1499
|
+
# Represents the endpoint configuration and state in a specific Region.
|
|
1500
|
+
#
|
|
1501
|
+
# @!attribute [rw] domain_name
|
|
1502
|
+
# The domain name of the regional endpoint.
|
|
1503
|
+
# @return [String]
|
|
1504
|
+
#
|
|
1505
|
+
# @!attribute [rw] auth_type
|
|
1506
|
+
# The authorization type for the regional endpoint.
|
|
1507
|
+
# @return [String]
|
|
1508
|
+
#
|
|
1509
|
+
# @!attribute [rw] revision_weights
|
|
1510
|
+
# The revision weights for the regional endpoint.
|
|
1511
|
+
# @return [Array<Types::RevisionWeight>]
|
|
1512
|
+
#
|
|
1513
|
+
# @!attribute [rw] scaling_config
|
|
1514
|
+
# The scaling configuration for the regional endpoint. This field is
|
|
1515
|
+
# absent if the endpoint has no scaling configuration.
|
|
1516
|
+
# @return [Types::ScalingConfig]
|
|
1517
|
+
#
|
|
1518
|
+
# @!attribute [rw] throttle_config
|
|
1519
|
+
# The throttling configuration for the regional endpoint. This field
|
|
1520
|
+
# is absent if the endpoint has no throttling configuration.
|
|
1521
|
+
# @return [Types::ThrottleConfig]
|
|
1522
|
+
#
|
|
1523
|
+
# @!attribute [rw] state
|
|
1524
|
+
# The current state of the regional endpoint.
|
|
1525
|
+
# @return [String]
|
|
1526
|
+
#
|
|
1527
|
+
# @!attribute [rw] state_reason
|
|
1528
|
+
# The reason for the current state of the regional endpoint.
|
|
1529
|
+
# @return [String]
|
|
1530
|
+
#
|
|
1531
|
+
# @!attribute [rw] update_status
|
|
1532
|
+
# The status of the most recent update to the regional endpoint.
|
|
1533
|
+
# @return [String]
|
|
1534
|
+
#
|
|
1535
|
+
# @!attribute [rw] update_status_reason
|
|
1536
|
+
# The reason for the current update status of the regional endpoint.
|
|
1537
|
+
# @return [String]
|
|
1538
|
+
#
|
|
1539
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/RegionalEndpoint AWS API Documentation
|
|
1540
|
+
#
|
|
1541
|
+
class RegionalEndpoint < Struct.new(
|
|
1542
|
+
:domain_name,
|
|
1543
|
+
:auth_type,
|
|
1544
|
+
:revision_weights,
|
|
1545
|
+
:scaling_config,
|
|
1546
|
+
:throttle_config,
|
|
1547
|
+
:state,
|
|
1548
|
+
:state_reason,
|
|
1549
|
+
:update_status,
|
|
1550
|
+
:update_status_reason)
|
|
1551
|
+
SENSITIVE = []
|
|
1552
|
+
include Aws::Structure
|
|
1553
|
+
end
|
|
1554
|
+
|
|
1555
|
+
# The specified resource was not found. Verify the resource identifier
|
|
1556
|
+
# and try again.
|
|
1557
|
+
#
|
|
1558
|
+
# @!attribute [rw] message
|
|
1559
|
+
# A message describing the resource not found error.
|
|
1560
|
+
# @return [String]
|
|
1561
|
+
#
|
|
1562
|
+
# @!attribute [rw] resource_id
|
|
1563
|
+
# The identifier of the resource that was not found.
|
|
1564
|
+
# @return [String]
|
|
1565
|
+
#
|
|
1566
|
+
# @!attribute [rw] resource_type
|
|
1567
|
+
# The type of the resource that was not found.
|
|
1568
|
+
# @return [String]
|
|
1569
|
+
#
|
|
1570
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ResourceNotFoundException AWS API Documentation
|
|
1571
|
+
#
|
|
1572
|
+
class ResourceNotFoundException < Struct.new(
|
|
1573
|
+
:message,
|
|
1574
|
+
:resource_id,
|
|
1575
|
+
:resource_type)
|
|
1576
|
+
SENSITIVE = []
|
|
1577
|
+
include Aws::Structure
|
|
1578
|
+
end
|
|
1579
|
+
|
|
1580
|
+
# The configuration for a web function revision, including code build
|
|
1581
|
+
# settings and service configuration.
|
|
1582
|
+
#
|
|
1583
|
+
# @!attribute [rw] description
|
|
1584
|
+
# A description of the revision.
|
|
1585
|
+
# @return [String]
|
|
1586
|
+
#
|
|
1587
|
+
# @!attribute [rw] kms_key_arn
|
|
1588
|
+
# The Amazon Resource Name (ARN) of the AWS Key Management Service
|
|
1589
|
+
# (AWS KMS) key used to encrypt the revision's code and environment
|
|
1590
|
+
# variables.
|
|
1591
|
+
# @return [String]
|
|
1592
|
+
#
|
|
1593
|
+
# @!attribute [rw] build_config
|
|
1594
|
+
# The build configuration for the revision.
|
|
1595
|
+
# @return [Types::BuildConfig]
|
|
1596
|
+
#
|
|
1597
|
+
# @!attribute [rw] service_config
|
|
1598
|
+
# The service configuration for the revision.
|
|
1599
|
+
# @return [Types::ServiceConfig]
|
|
1600
|
+
#
|
|
1601
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/RevisionConfig AWS API Documentation
|
|
1602
|
+
#
|
|
1603
|
+
class RevisionConfig < Struct.new(
|
|
1604
|
+
:description,
|
|
1605
|
+
:kms_key_arn,
|
|
1606
|
+
:build_config,
|
|
1607
|
+
:service_config)
|
|
1608
|
+
SENSITIVE = []
|
|
1609
|
+
include Aws::Structure
|
|
1610
|
+
end
|
|
1611
|
+
|
|
1612
|
+
# A single error encountered while creating or reading a web function
|
|
1613
|
+
# revision. The error describes the affected attribute, an error code,
|
|
1614
|
+
# and a human-readable message. This structure is present only when the
|
|
1615
|
+
# revision has errors.
|
|
1616
|
+
#
|
|
1617
|
+
# @!attribute [rw] attribute
|
|
1618
|
+
# The name of the revision attribute that the error applies to. Must
|
|
1619
|
+
# be between 1 and 64 characters.
|
|
1620
|
+
# @return [String]
|
|
1621
|
+
#
|
|
1622
|
+
# @!attribute [rw] error_code
|
|
1623
|
+
# A short, machine-readable code that identifies the error. Must be
|
|
1624
|
+
# between 1 and 64 characters.
|
|
1625
|
+
# @return [String]
|
|
1626
|
+
#
|
|
1627
|
+
# @!attribute [rw] error_message
|
|
1628
|
+
# A human-readable message describing the error. Must be between 1 and
|
|
1629
|
+
# 2048 characters.
|
|
1630
|
+
# @return [String]
|
|
1631
|
+
#
|
|
1632
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/RevisionError AWS API Documentation
|
|
1633
|
+
#
|
|
1634
|
+
class RevisionError < Struct.new(
|
|
1635
|
+
:attribute,
|
|
1636
|
+
:error_code,
|
|
1637
|
+
:error_message)
|
|
1638
|
+
SENSITIVE = []
|
|
1639
|
+
include Aws::Structure
|
|
1640
|
+
end
|
|
1641
|
+
|
|
1642
|
+
# Specifies a revision and its traffic weight for an endpoint. Up to two
|
|
1643
|
+
# revisions can be assigned weights to split traffic for canary or
|
|
1644
|
+
# blue-green deployments.
|
|
1645
|
+
#
|
|
1646
|
+
# @!attribute [rw] revision_id
|
|
1647
|
+
# The identifier of the revision.
|
|
1648
|
+
# @return [String]
|
|
1649
|
+
#
|
|
1650
|
+
# @!attribute [rw] weight
|
|
1651
|
+
# The percentage of traffic to route to this revision. Minimum value
|
|
1652
|
+
# of 1, maximum value of 100.
|
|
1653
|
+
# @return [Integer]
|
|
1654
|
+
#
|
|
1655
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/RevisionWeight AWS API Documentation
|
|
1656
|
+
#
|
|
1657
|
+
class RevisionWeight < Struct.new(
|
|
1658
|
+
:revision_id,
|
|
1659
|
+
:weight)
|
|
1660
|
+
SENSITIVE = []
|
|
1661
|
+
include Aws::Structure
|
|
1662
|
+
end
|
|
1663
|
+
|
|
1664
|
+
# The runtime configuration for a web function revision.
|
|
1665
|
+
#
|
|
1666
|
+
# @!attribute [rw] runtime
|
|
1667
|
+
# The runtime identifier for the web function (for example, a Node.js
|
|
1668
|
+
# runtime identifier).
|
|
1669
|
+
# @return [String]
|
|
1670
|
+
#
|
|
1671
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/RuntimeConfig AWS API Documentation
|
|
1672
|
+
#
|
|
1673
|
+
class RuntimeConfig < Struct.new(
|
|
1674
|
+
:runtime)
|
|
1675
|
+
SENSITIVE = []
|
|
1676
|
+
include Aws::Structure
|
|
1677
|
+
end
|
|
1678
|
+
|
|
1679
|
+
# The Amazon S3 location of a deployment artifact.
|
|
1680
|
+
#
|
|
1681
|
+
# @!attribute [rw] bucket
|
|
1682
|
+
# The name of the Amazon S3 bucket. Must be between 3 and 63
|
|
1683
|
+
# characters.
|
|
1684
|
+
# @return [String]
|
|
1685
|
+
#
|
|
1686
|
+
# @!attribute [rw] key
|
|
1687
|
+
# The Amazon S3 object key. Must be between 1 and 1024 characters.
|
|
1688
|
+
# @return [String]
|
|
1689
|
+
#
|
|
1690
|
+
# @!attribute [rw] version_id
|
|
1691
|
+
# The version ID of the Amazon S3 object.
|
|
1692
|
+
# @return [String]
|
|
1693
|
+
#
|
|
1694
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/S3Object AWS API Documentation
|
|
1695
|
+
#
|
|
1696
|
+
class S3Object < Struct.new(
|
|
1697
|
+
:bucket,
|
|
1698
|
+
:key,
|
|
1699
|
+
:version_id)
|
|
1700
|
+
SENSITIVE = []
|
|
1701
|
+
include Aws::Structure
|
|
1702
|
+
end
|
|
1703
|
+
|
|
1704
|
+
# The scaling configuration for a web function endpoint.
|
|
1705
|
+
#
|
|
1706
|
+
# @!attribute [rw] max_environments
|
|
1707
|
+
# The maximum number of concurrent execution environments for the
|
|
1708
|
+
# endpoint. Minimum value of 2, maximum value of 10000. There is no
|
|
1709
|
+
# default value. If you don't specify a value, the scaling
|
|
1710
|
+
# configuration is absent from the response. On an update, omit
|
|
1711
|
+
# `scalingConfig` to keep the current value, or specify an empty
|
|
1712
|
+
# object to clear a previously set value.
|
|
1713
|
+
# @return [Integer]
|
|
1714
|
+
#
|
|
1715
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ScalingConfig AWS API Documentation
|
|
1716
|
+
#
|
|
1717
|
+
class ScalingConfig < Struct.new(
|
|
1718
|
+
:max_environments)
|
|
1719
|
+
SENSITIVE = []
|
|
1720
|
+
include Aws::Structure
|
|
1721
|
+
end
|
|
1722
|
+
|
|
1723
|
+
# The service configuration for a web function revision, including
|
|
1724
|
+
# execution role, timeout, concurrency, and telemetry settings.
|
|
1725
|
+
#
|
|
1726
|
+
# @!attribute [rw] execution_role_arn
|
|
1727
|
+
# The ARN of the IAM role that the web function assumes when it runs.
|
|
1728
|
+
# This role provides permissions to access AWS services and resources.
|
|
1729
|
+
# @return [String]
|
|
1730
|
+
#
|
|
1731
|
+
# @!attribute [rw] timeout_seconds
|
|
1732
|
+
# The amount of time (in seconds) that Lambda allows the web function
|
|
1733
|
+
# to run before stopping it. Minimum value of 3, maximum value of 900.
|
|
1734
|
+
# If you don't specify a value, the default is 30, and this default
|
|
1735
|
+
# is returned in the response.
|
|
1736
|
+
# @return [Integer]
|
|
1737
|
+
#
|
|
1738
|
+
# @!attribute [rw] max_concurrency_per_environment
|
|
1739
|
+
# The maximum number of concurrent requests handled per execution
|
|
1740
|
+
# environment. Minimum value of 1, maximum value of 128. If you don't
|
|
1741
|
+
# specify a value, the default is 64, and this default is returned in
|
|
1742
|
+
# the response.
|
|
1743
|
+
# @return [Integer]
|
|
1744
|
+
#
|
|
1745
|
+
# @!attribute [rw] environment_variables
|
|
1746
|
+
# A map of environment variable key-value pairs available to the web
|
|
1747
|
+
# function at runtime. Environment variable values are sensitive.
|
|
1748
|
+
# @return [Hash<String,String>]
|
|
1749
|
+
#
|
|
1750
|
+
# @!attribute [rw] telemetry_config
|
|
1751
|
+
# The telemetry configuration for the web function, including logging
|
|
1752
|
+
# settings.
|
|
1753
|
+
# @return [Types::TelemetryConfig]
|
|
1754
|
+
#
|
|
1755
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ServiceConfig AWS API Documentation
|
|
1756
|
+
#
|
|
1757
|
+
class ServiceConfig < Struct.new(
|
|
1758
|
+
:execution_role_arn,
|
|
1759
|
+
:timeout_seconds,
|
|
1760
|
+
:max_concurrency_per_environment,
|
|
1761
|
+
:environment_variables,
|
|
1762
|
+
:telemetry_config)
|
|
1763
|
+
SENSITIVE = [:environment_variables]
|
|
1764
|
+
include Aws::Structure
|
|
1765
|
+
end
|
|
1766
|
+
|
|
1767
|
+
# A service quota was exceeded. Request a quota increase or reduce usage
|
|
1768
|
+
# and try again.
|
|
1769
|
+
#
|
|
1770
|
+
# @!attribute [rw] message
|
|
1771
|
+
# A message describing the quota that was exceeded.
|
|
1772
|
+
# @return [String]
|
|
1773
|
+
#
|
|
1774
|
+
# @!attribute [rw] resource_id
|
|
1775
|
+
# The identifier of the resource that exceeded the quota.
|
|
1776
|
+
# @return [String]
|
|
1777
|
+
#
|
|
1778
|
+
# @!attribute [rw] resource_type
|
|
1779
|
+
# The type of resource that exceeded the quota.
|
|
1780
|
+
# @return [String]
|
|
1781
|
+
#
|
|
1782
|
+
# @!attribute [rw] service_code
|
|
1783
|
+
# The service code of the service that owns the quota.
|
|
1784
|
+
# @return [String]
|
|
1785
|
+
#
|
|
1786
|
+
# @!attribute [rw] quota_code
|
|
1787
|
+
# The quota code of the exceeded quota.
|
|
1788
|
+
# @return [String]
|
|
1789
|
+
#
|
|
1790
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ServiceQuotaExceededException AWS API Documentation
|
|
1791
|
+
#
|
|
1792
|
+
class ServiceQuotaExceededException < Struct.new(
|
|
1793
|
+
:message,
|
|
1794
|
+
:resource_id,
|
|
1795
|
+
:resource_type,
|
|
1796
|
+
:service_code,
|
|
1797
|
+
:quota_code)
|
|
1798
|
+
SENSITIVE = []
|
|
1799
|
+
include Aws::Structure
|
|
1800
|
+
end
|
|
1801
|
+
|
|
1802
|
+
# The request to add tags to a resource.
|
|
1803
|
+
#
|
|
1804
|
+
# @!attribute [rw] resource
|
|
1805
|
+
# The Amazon Resource Name (ARN) of the web function.
|
|
1806
|
+
# @return [String]
|
|
1807
|
+
#
|
|
1808
|
+
# @!attribute [rw] tags
|
|
1809
|
+
# A map of tag keys and values to add to the web function.
|
|
1810
|
+
# @return [Hash<String,String>]
|
|
1811
|
+
#
|
|
1812
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/TagResourceRequest AWS API Documentation
|
|
1813
|
+
#
|
|
1814
|
+
class TagResourceRequest < Struct.new(
|
|
1815
|
+
:resource,
|
|
1816
|
+
:tags)
|
|
1817
|
+
SENSITIVE = []
|
|
1818
|
+
include Aws::Structure
|
|
1819
|
+
end
|
|
1820
|
+
|
|
1821
|
+
# The telemetry configuration for a web function revision.
|
|
1822
|
+
#
|
|
1823
|
+
# @!attribute [rw] logging_config
|
|
1824
|
+
# The logging configuration for the web function.
|
|
1825
|
+
# @return [Types::LoggingConfig]
|
|
1826
|
+
#
|
|
1827
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/TelemetryConfig AWS API Documentation
|
|
1828
|
+
#
|
|
1829
|
+
class TelemetryConfig < Struct.new(
|
|
1830
|
+
:logging_config)
|
|
1831
|
+
SENSITIVE = []
|
|
1832
|
+
include Aws::Structure
|
|
1833
|
+
end
|
|
1834
|
+
|
|
1835
|
+
# The throttling configuration for a web function endpoint.
|
|
1836
|
+
#
|
|
1837
|
+
# @!attribute [rw] rate_limit
|
|
1838
|
+
# The maximum request rate per second for the endpoint. The value must
|
|
1839
|
+
# be one of the following supported values: `0`, `100`, `200`, `300`,
|
|
1840
|
+
# `400`, `500`, `600`, `700`, `800`, `900`, `1000`, `2000`, `3000`,
|
|
1841
|
+
# `4000`, `5000`, `6000`, `7000`, `8000`, `9000`, or `10000`. The
|
|
1842
|
+
# maximum effective value is also bounded by your account-level
|
|
1843
|
+
# maximum total rate limit. There is no default value. If you don't
|
|
1844
|
+
# specify a value, the throttling configuration is absent from the
|
|
1845
|
+
# response. On an update, omit `throttleConfig` to keep the current
|
|
1846
|
+
# value, or specify an empty object to clear a previously set value.
|
|
1847
|
+
# @return [Integer]
|
|
1848
|
+
#
|
|
1849
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ThrottleConfig AWS API Documentation
|
|
1850
|
+
#
|
|
1851
|
+
class ThrottleConfig < Struct.new(
|
|
1852
|
+
:rate_limit)
|
|
1853
|
+
SENSITIVE = []
|
|
1854
|
+
include Aws::Structure
|
|
1855
|
+
end
|
|
1856
|
+
|
|
1857
|
+
# The request was throttled. Reduce the frequency of requests and try
|
|
1858
|
+
# again.
|
|
1859
|
+
#
|
|
1860
|
+
# @!attribute [rw] message
|
|
1861
|
+
# A message describing the throttling error.
|
|
1862
|
+
# @return [String]
|
|
1863
|
+
#
|
|
1864
|
+
# @!attribute [rw] retry_after_seconds
|
|
1865
|
+
# The number of seconds to wait before retrying the request.
|
|
1866
|
+
# @return [Integer]
|
|
1867
|
+
#
|
|
1868
|
+
# @!attribute [rw] service_code
|
|
1869
|
+
# The service code of the throttled service.
|
|
1870
|
+
# @return [String]
|
|
1871
|
+
#
|
|
1872
|
+
# @!attribute [rw] quota_code
|
|
1873
|
+
# The quota code that was exceeded, if applicable.
|
|
1874
|
+
# @return [String]
|
|
1875
|
+
#
|
|
1876
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ThrottlingException AWS API Documentation
|
|
1877
|
+
#
|
|
1878
|
+
class ThrottlingException < Struct.new(
|
|
1879
|
+
:message,
|
|
1880
|
+
:retry_after_seconds,
|
|
1881
|
+
:service_code,
|
|
1882
|
+
:quota_code)
|
|
1883
|
+
SENSITIVE = []
|
|
1884
|
+
include Aws::Structure
|
|
1885
|
+
end
|
|
1886
|
+
|
|
1887
|
+
# The request to remove tags from a resource.
|
|
1888
|
+
#
|
|
1889
|
+
# @!attribute [rw] resource
|
|
1890
|
+
# The Amazon Resource Name (ARN) of the web function.
|
|
1891
|
+
# @return [String]
|
|
1892
|
+
#
|
|
1893
|
+
# @!attribute [rw] tag_keys
|
|
1894
|
+
# A list of tag keys to remove from the web function.
|
|
1895
|
+
# @return [Array<String>]
|
|
1896
|
+
#
|
|
1897
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/UntagResourceRequest AWS API Documentation
|
|
1898
|
+
#
|
|
1899
|
+
class UntagResourceRequest < Struct.new(
|
|
1900
|
+
:resource,
|
|
1901
|
+
:tag_keys)
|
|
1902
|
+
SENSITIVE = []
|
|
1903
|
+
include Aws::Structure
|
|
1904
|
+
end
|
|
1905
|
+
|
|
1906
|
+
# The request to update a web function endpoint.
|
|
1907
|
+
#
|
|
1908
|
+
# @!attribute [rw] function_name
|
|
1909
|
+
# The name of the web function. You can specify the function name or
|
|
1910
|
+
# the function ARN. The length constraint applies only to the full
|
|
1911
|
+
# ARN. If you specify only the function name, it is limited to 64
|
|
1912
|
+
# characters in length.
|
|
1913
|
+
# @return [String]
|
|
1914
|
+
#
|
|
1915
|
+
# @!attribute [rw] endpoint_name
|
|
1916
|
+
# The name of the endpoint to update. You can specify the endpoint
|
|
1917
|
+
# name or the endpoint ARN. The length constraint applies only to the
|
|
1918
|
+
# full ARN. If you specify only the endpoint name, it is limited to 64
|
|
1919
|
+
# characters in length.
|
|
1920
|
+
# @return [String]
|
|
1921
|
+
#
|
|
1922
|
+
# @!attribute [rw] description
|
|
1923
|
+
# A description of the endpoint.
|
|
1924
|
+
# @return [String]
|
|
1925
|
+
#
|
|
1926
|
+
# @!attribute [rw] auth_type
|
|
1927
|
+
# The authorization type for the endpoint.
|
|
1928
|
+
# @return [String]
|
|
1929
|
+
#
|
|
1930
|
+
# @!attribute [rw] auto_deployment_mode
|
|
1931
|
+
# The auto-deployment mode for the endpoint.
|
|
1932
|
+
# @return [String]
|
|
1933
|
+
#
|
|
1934
|
+
# @!attribute [rw] revision_weights
|
|
1935
|
+
# A list of revision weights that determine how traffic is distributed
|
|
1936
|
+
# across revisions.
|
|
1937
|
+
# @return [Array<Types::RevisionWeight>]
|
|
1938
|
+
#
|
|
1939
|
+
# @!attribute [rw] scaling_config
|
|
1940
|
+
# The scaling configuration for the endpoint. Omit this field to keep
|
|
1941
|
+
# the current scaling configuration. To clear a previously set
|
|
1942
|
+
# `maxEnvironments` value, specify an empty object.
|
|
1943
|
+
# @return [Types::ScalingConfig]
|
|
1944
|
+
#
|
|
1945
|
+
# @!attribute [rw] throttle_config
|
|
1946
|
+
# The throttling configuration for the endpoint. Omit this field to
|
|
1947
|
+
# keep the current throttling configuration. To clear a previously set
|
|
1948
|
+
# `rateLimit` value, specify an empty object.
|
|
1949
|
+
# @return [Types::ThrottleConfig]
|
|
1950
|
+
#
|
|
1951
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/UpdateWebFunctionEndpointRequest AWS API Documentation
|
|
1952
|
+
#
|
|
1953
|
+
class UpdateWebFunctionEndpointRequest < Struct.new(
|
|
1954
|
+
:function_name,
|
|
1955
|
+
:endpoint_name,
|
|
1956
|
+
:description,
|
|
1957
|
+
:auth_type,
|
|
1958
|
+
:auto_deployment_mode,
|
|
1959
|
+
:revision_weights,
|
|
1960
|
+
:scaling_config,
|
|
1961
|
+
:throttle_config)
|
|
1962
|
+
SENSITIVE = []
|
|
1963
|
+
include Aws::Structure
|
|
1964
|
+
end
|
|
1965
|
+
|
|
1966
|
+
# Contains details about the updated endpoint.
|
|
1967
|
+
#
|
|
1968
|
+
# @!attribute [rw] function_arn
|
|
1969
|
+
# The Amazon Resource Name (ARN) of the web function.
|
|
1970
|
+
# @return [String]
|
|
1971
|
+
#
|
|
1972
|
+
# @!attribute [rw] endpoint_arn
|
|
1973
|
+
# The Amazon Resource Name (ARN) of the endpoint.
|
|
1974
|
+
# @return [String]
|
|
1975
|
+
#
|
|
1976
|
+
# @!attribute [rw] endpoint_name
|
|
1977
|
+
# The name of the endpoint.
|
|
1978
|
+
# @return [String]
|
|
1979
|
+
#
|
|
1980
|
+
# @!attribute [rw] description
|
|
1981
|
+
# The description of the endpoint.
|
|
1982
|
+
# @return [String]
|
|
1983
|
+
#
|
|
1984
|
+
# @!attribute [rw] endpoint_type
|
|
1985
|
+
# The type of a web function endpoint. Possible values: `HomeRegion`
|
|
1986
|
+
# (serves from the Region where the function was created),
|
|
1987
|
+
# `MultiRegion` (replicates across chosen Regions and routes to the
|
|
1988
|
+
# nearest), `PerRegion` (separate endpoint per Region).
|
|
1989
|
+
# @return [String]
|
|
1990
|
+
#
|
|
1991
|
+
# @!attribute [rw] domain_name
|
|
1992
|
+
# The domain name assigned to the endpoint.
|
|
1993
|
+
# @return [String]
|
|
1994
|
+
#
|
|
1995
|
+
# @!attribute [rw] auth_type
|
|
1996
|
+
# The authorization type for a web function endpoint. Possible values:
|
|
1997
|
+
# `ApplicationManaged` (the function handles authorization), `IamAuth`
|
|
1998
|
+
# (Lambda authorizes requests with AWS SigV4 and IAM).
|
|
1999
|
+
# @return [String]
|
|
2000
|
+
#
|
|
2001
|
+
# @!attribute [rw] auto_deployment_mode
|
|
2002
|
+
# The auto-deployment mode for a web function endpoint. Possible
|
|
2003
|
+
# values: `LatestRevision` (endpoint automatically serves the newest
|
|
2004
|
+
# revision), `Disabled` (revision routing is fixed until explicitly
|
|
2005
|
+
# changed).
|
|
2006
|
+
# @return [String]
|
|
2007
|
+
#
|
|
2008
|
+
# @!attribute [rw] revision_weights
|
|
2009
|
+
# The traffic distribution across revisions for the endpoint. Each
|
|
2010
|
+
# entry maps a revision to a weight from 1 to 100.
|
|
2011
|
+
# @return [Array<Types::RevisionWeight>]
|
|
2012
|
+
#
|
|
2013
|
+
# @!attribute [rw] regions
|
|
2014
|
+
# The Regions configured for the endpoint.
|
|
2015
|
+
# @return [Array<String>]
|
|
2016
|
+
#
|
|
2017
|
+
# @!attribute [rw] scaling_config
|
|
2018
|
+
# The scaling configuration for a web function endpoint.
|
|
2019
|
+
# @return [Types::ScalingConfig]
|
|
2020
|
+
#
|
|
2021
|
+
# @!attribute [rw] throttle_config
|
|
2022
|
+
# The throttling configuration for a web function endpoint.
|
|
2023
|
+
# @return [Types::ThrottleConfig]
|
|
2024
|
+
#
|
|
2025
|
+
# @!attribute [rw] state
|
|
2026
|
+
# The current state of the endpoint.
|
|
2027
|
+
# @return [String]
|
|
2028
|
+
#
|
|
2029
|
+
# @!attribute [rw] state_reason
|
|
2030
|
+
# The reason for the current state of the endpoint.
|
|
2031
|
+
# @return [String]
|
|
2032
|
+
#
|
|
2033
|
+
# @!attribute [rw] update_status
|
|
2034
|
+
# The status of the most recent update to an endpoint. Possible
|
|
2035
|
+
# values: `InProgress` (update is in progress), `Successful` (update
|
|
2036
|
+
# completed successfully), `Failed` (update failed).
|
|
2037
|
+
# @return [String]
|
|
2038
|
+
#
|
|
2039
|
+
# @!attribute [rw] update_status_reason
|
|
2040
|
+
# The reason for the endpoint's most recent update status.
|
|
2041
|
+
# @return [String]
|
|
2042
|
+
#
|
|
2043
|
+
# @!attribute [rw] regional_endpoints
|
|
2044
|
+
# The list of regional endpoint configurations.
|
|
2045
|
+
# @return [Hash<String,Types::RegionalEndpoint>]
|
|
2046
|
+
#
|
|
2047
|
+
# @!attribute [rw] created_at
|
|
2048
|
+
# The date and time the endpoint was created.
|
|
2049
|
+
# @return [Time]
|
|
2050
|
+
#
|
|
2051
|
+
# @!attribute [rw] updated_at
|
|
2052
|
+
# The date and time the endpoint was last updated.
|
|
2053
|
+
# @return [Time]
|
|
2054
|
+
#
|
|
2055
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/UpdateWebFunctionEndpointResponse AWS API Documentation
|
|
2056
|
+
#
|
|
2057
|
+
class UpdateWebFunctionEndpointResponse < Struct.new(
|
|
2058
|
+
:function_arn,
|
|
2059
|
+
:endpoint_arn,
|
|
2060
|
+
:endpoint_name,
|
|
2061
|
+
:description,
|
|
2062
|
+
:endpoint_type,
|
|
2063
|
+
:domain_name,
|
|
2064
|
+
:auth_type,
|
|
2065
|
+
:auto_deployment_mode,
|
|
2066
|
+
:revision_weights,
|
|
2067
|
+
:regions,
|
|
2068
|
+
:scaling_config,
|
|
2069
|
+
:throttle_config,
|
|
2070
|
+
:state,
|
|
2071
|
+
:state_reason,
|
|
2072
|
+
:update_status,
|
|
2073
|
+
:update_status_reason,
|
|
2074
|
+
:regional_endpoints,
|
|
2075
|
+
:created_at,
|
|
2076
|
+
:updated_at)
|
|
2077
|
+
SENSITIVE = []
|
|
2078
|
+
include Aws::Structure
|
|
2079
|
+
end
|
|
2080
|
+
|
|
2081
|
+
# The request failed validation. Check the request parameters and try
|
|
2082
|
+
# again.
|
|
2083
|
+
#
|
|
2084
|
+
# @!attribute [rw] message
|
|
2085
|
+
# A message describing the validation error.
|
|
2086
|
+
# @return [String]
|
|
2087
|
+
#
|
|
2088
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ValidationException AWS API Documentation
|
|
2089
|
+
#
|
|
2090
|
+
class ValidationException < Struct.new(
|
|
2091
|
+
:message)
|
|
2092
|
+
SENSITIVE = []
|
|
2093
|
+
include Aws::Structure
|
|
2094
|
+
end
|
|
2095
|
+
|
|
2096
|
+
end
|
|
2097
|
+
end
|
|
2098
|
+
|