aws-sdk-lambdaweb 1.1.0 → 1.3.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambdaweb/client.rb +214 -171
- data/lib/aws-sdk-lambdaweb/client_api.rb +2 -0
- data/lib/aws-sdk-lambdaweb/types.rb +397 -142
- data/lib/aws-sdk-lambdaweb.rb +1 -1
- data/sig/params.rbs +1 -0
- data/sig/types.rbs +1 -0
- metadata +1 -1
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
module Aws::LambdaWeb
|
|
11
11
|
module Types
|
|
12
12
|
|
|
13
|
-
# You
|
|
13
|
+
# You don't have permission to perform this operation. Check the IAM
|
|
14
|
+
# policies for your identity and any resource-based policy on the web
|
|
15
|
+
# function.
|
|
14
16
|
#
|
|
15
17
|
# @!attribute [rw] message
|
|
16
18
|
# A message describing the access denied error.
|
|
@@ -107,8 +109,11 @@ module Aws::LambdaWeb
|
|
|
107
109
|
include Aws::Structure
|
|
108
110
|
end
|
|
109
111
|
|
|
110
|
-
# The request conflicts with the current state of the resource.
|
|
111
|
-
# the
|
|
112
|
+
# The request conflicts with the current state of the resource. For
|
|
113
|
+
# example, the resource is being modified by another request, you tried
|
|
114
|
+
# to delete a revision that is serving traffic on an endpoint, or the
|
|
115
|
+
# policy revision ID that you specified doesn't match the current
|
|
116
|
+
# policy. Resolve the conflict and try again.
|
|
112
117
|
#
|
|
113
118
|
# @!attribute [rw] message
|
|
114
119
|
# A message describing the conflict.
|
|
@@ -135,18 +140,23 @@ module Aws::LambdaWeb
|
|
|
135
140
|
# The request to create a web function endpoint.
|
|
136
141
|
#
|
|
137
142
|
# @!attribute [rw] function_name
|
|
138
|
-
# The
|
|
139
|
-
#
|
|
140
|
-
#
|
|
141
|
-
#
|
|
143
|
+
# The web function to create the endpoint for.
|
|
144
|
+
#
|
|
145
|
+
# You can specify either of the following:
|
|
146
|
+
#
|
|
147
|
+
# * The function name, for example `my-function`.
|
|
148
|
+
#
|
|
149
|
+
# * The function ARN.
|
|
150
|
+
#
|
|
151
|
+
# The length constraint applies only to the full ARN. If you specify
|
|
152
|
+
# only the function name, it is limited to 64 characters in length.
|
|
142
153
|
# @return [String]
|
|
143
154
|
#
|
|
144
155
|
# @!attribute [rw] endpoint_name
|
|
145
156
|
# The name of the endpoint to create. The name can contain letters,
|
|
146
157
|
# numbers, hyphens (-), and underscores (\_), and can't begin or end
|
|
147
|
-
# with a hyphen or an underscore. The
|
|
148
|
-
#
|
|
149
|
-
# limited to 64 characters in length.
|
|
158
|
+
# with a hyphen or an underscore. The name is limited to 64 characters
|
|
159
|
+
# in length.
|
|
150
160
|
# @return [String]
|
|
151
161
|
#
|
|
152
162
|
# @!attribute [rw] description
|
|
@@ -156,10 +166,28 @@ module Aws::LambdaWeb
|
|
|
156
166
|
# @!attribute [rw] endpoint_type
|
|
157
167
|
# The type of endpoint to create. Determines how traffic is served and
|
|
158
168
|
# routed across Regions.
|
|
169
|
+
#
|
|
170
|
+
# Valid values:
|
|
171
|
+
#
|
|
172
|
+
# * `HomeRegion` – Serves traffic from the Region where you created
|
|
173
|
+
# the web function.
|
|
174
|
+
#
|
|
175
|
+
# * `MultiRegion` – Replicates across the Regions that you choose and
|
|
176
|
+
# routes each request to the nearest one.
|
|
177
|
+
#
|
|
178
|
+
# * `PerRegion` – Creates a separate endpoint in each Region that you
|
|
179
|
+
# choose.
|
|
159
180
|
# @return [String]
|
|
160
181
|
#
|
|
161
182
|
# @!attribute [rw] auth_type
|
|
162
183
|
# The authorization type for the endpoint.
|
|
184
|
+
#
|
|
185
|
+
# Valid values:
|
|
186
|
+
#
|
|
187
|
+
# * `ApplicationManaged` – Your application handles authorization.
|
|
188
|
+
#
|
|
189
|
+
# * `IamAuth` – Lambda uses IAM to authorize requests, which must be
|
|
190
|
+
# signed with Signature Version 4 (SigV4).
|
|
163
191
|
# @return [String]
|
|
164
192
|
#
|
|
165
193
|
# @!attribute [rw] auto_deployment_mode
|
|
@@ -167,11 +195,18 @@ module Aws::LambdaWeb
|
|
|
167
195
|
# endpoint automatically serves the newest revision. If you don't
|
|
168
196
|
# specify a value, the default is `Disabled`, and this default is
|
|
169
197
|
# returned in the response.
|
|
198
|
+
#
|
|
199
|
+
# Valid values:
|
|
200
|
+
#
|
|
201
|
+
# * `LatestRevision` – The endpoint automatically serves the newest
|
|
202
|
+
# revision.
|
|
203
|
+
#
|
|
204
|
+
# * `Disabled` – Revision routing stays fixed until you change it.
|
|
170
205
|
# @return [String]
|
|
171
206
|
#
|
|
172
207
|
# @!attribute [rw] revision_weights
|
|
173
208
|
# A list of revision weights that determine how traffic is distributed
|
|
174
|
-
# across revisions.
|
|
209
|
+
# across revisions. You can specify up to two revisions for canary or
|
|
175
210
|
# blue-green deployments.
|
|
176
211
|
# @return [Array<Types::RevisionWeight>]
|
|
177
212
|
#
|
|
@@ -233,10 +268,18 @@ module Aws::LambdaWeb
|
|
|
233
268
|
# @return [String]
|
|
234
269
|
#
|
|
235
270
|
# @!attribute [rw] endpoint_type
|
|
236
|
-
# The type of a web function endpoint.
|
|
237
|
-
#
|
|
238
|
-
#
|
|
239
|
-
#
|
|
271
|
+
# The type of a web function endpoint.
|
|
272
|
+
#
|
|
273
|
+
# Valid values:
|
|
274
|
+
#
|
|
275
|
+
# * `HomeRegion` – Serves traffic from the Region where you created
|
|
276
|
+
# the web function.
|
|
277
|
+
#
|
|
278
|
+
# * `MultiRegion` – Replicates across the Regions that you choose and
|
|
279
|
+
# routes each request to the nearest one.
|
|
280
|
+
#
|
|
281
|
+
# * `PerRegion` – Creates a separate endpoint in each Region that you
|
|
282
|
+
# choose.
|
|
240
283
|
# @return [String]
|
|
241
284
|
#
|
|
242
285
|
# @!attribute [rw] domain_name
|
|
@@ -244,16 +287,25 @@ module Aws::LambdaWeb
|
|
|
244
287
|
# @return [String]
|
|
245
288
|
#
|
|
246
289
|
# @!attribute [rw] auth_type
|
|
247
|
-
# The authorization type for a web function endpoint.
|
|
248
|
-
#
|
|
249
|
-
#
|
|
290
|
+
# The authorization type for a web function endpoint.
|
|
291
|
+
#
|
|
292
|
+
# Valid values:
|
|
293
|
+
#
|
|
294
|
+
# * `ApplicationManaged` – Your application handles authorization.
|
|
295
|
+
#
|
|
296
|
+
# * `IamAuth` – Lambda uses IAM to authorize requests, which must be
|
|
297
|
+
# signed with Signature Version 4 (SigV4).
|
|
250
298
|
# @return [String]
|
|
251
299
|
#
|
|
252
300
|
# @!attribute [rw] auto_deployment_mode
|
|
253
|
-
# The auto-deployment mode for a web function endpoint.
|
|
254
|
-
#
|
|
255
|
-
#
|
|
256
|
-
#
|
|
301
|
+
# The auto-deployment mode for a web function endpoint.
|
|
302
|
+
#
|
|
303
|
+
# Valid values:
|
|
304
|
+
#
|
|
305
|
+
# * `LatestRevision` – The endpoint automatically serves the newest
|
|
306
|
+
# revision.
|
|
307
|
+
#
|
|
308
|
+
# * `Disabled` – Revision routing stays fixed until you change it.
|
|
257
309
|
# @return [String]
|
|
258
310
|
#
|
|
259
311
|
# @!attribute [rw] revision_weights
|
|
@@ -283,8 +335,13 @@ module Aws::LambdaWeb
|
|
|
283
335
|
#
|
|
284
336
|
# @!attribute [rw] update_status
|
|
285
337
|
# The status of the most recent update to an endpoint. Possible
|
|
286
|
-
# values:
|
|
287
|
-
#
|
|
338
|
+
# values:
|
|
339
|
+
#
|
|
340
|
+
# * `InProgress` – The update is in progress.
|
|
341
|
+
#
|
|
342
|
+
# * `Successful` – The update completed successfully.
|
|
343
|
+
#
|
|
344
|
+
# * `Failed` – The update failed.
|
|
288
345
|
# @return [String]
|
|
289
346
|
#
|
|
290
347
|
# @!attribute [rw] update_status_reason
|
|
@@ -334,9 +391,8 @@ module Aws::LambdaWeb
|
|
|
334
391
|
# @!attribute [rw] function_name
|
|
335
392
|
# The name of the web function. The name can contain letters, numbers,
|
|
336
393
|
# hyphens (-), and underscores (\_), and can't begin or end with a
|
|
337
|
-
# hyphen or an underscore. The
|
|
338
|
-
#
|
|
339
|
-
# characters in length.
|
|
394
|
+
# hyphen or an underscore. The name is limited to 64 characters in
|
|
395
|
+
# length.
|
|
340
396
|
# @return [String]
|
|
341
397
|
#
|
|
342
398
|
# @!attribute [rw] revision_config
|
|
@@ -420,10 +476,16 @@ module Aws::LambdaWeb
|
|
|
420
476
|
# The request to create a web function revision.
|
|
421
477
|
#
|
|
422
478
|
# @!attribute [rw] function_name
|
|
423
|
-
# The
|
|
424
|
-
#
|
|
425
|
-
#
|
|
426
|
-
#
|
|
479
|
+
# The web function.
|
|
480
|
+
#
|
|
481
|
+
# You can specify either of the following:
|
|
482
|
+
#
|
|
483
|
+
# * The function name, for example `my-function`.
|
|
484
|
+
#
|
|
485
|
+
# * The function ARN.
|
|
486
|
+
#
|
|
487
|
+
# The length constraint applies only to the full ARN. If you specify
|
|
488
|
+
# only the function name, it is limited to 64 characters in length.
|
|
427
489
|
# @return [String]
|
|
428
490
|
#
|
|
429
491
|
# @!attribute [rw] description
|
|
@@ -488,7 +550,8 @@ module Aws::LambdaWeb
|
|
|
488
550
|
#
|
|
489
551
|
# @!attribute [rw] service_config
|
|
490
552
|
# The service configuration for a web function revision, including
|
|
491
|
-
# execution role, timeout, concurrency, and
|
|
553
|
+
# execution role, timeout, VPC network access, concurrency, and
|
|
554
|
+
# telemetry settings.
|
|
492
555
|
# @return [Types::ServiceConfig]
|
|
493
556
|
#
|
|
494
557
|
# @!attribute [rw] state
|
|
@@ -551,17 +614,29 @@ module Aws::LambdaWeb
|
|
|
551
614
|
# The request to delete a web function endpoint.
|
|
552
615
|
#
|
|
553
616
|
# @!attribute [rw] function_name
|
|
554
|
-
# The
|
|
555
|
-
#
|
|
556
|
-
#
|
|
557
|
-
#
|
|
617
|
+
# The web function.
|
|
618
|
+
#
|
|
619
|
+
# You can specify either of the following:
|
|
620
|
+
#
|
|
621
|
+
# * The function name, for example `my-function`.
|
|
622
|
+
#
|
|
623
|
+
# * The function ARN.
|
|
624
|
+
#
|
|
625
|
+
# The length constraint applies only to the full ARN. If you specify
|
|
626
|
+
# only the function name, it is limited to 64 characters in length.
|
|
558
627
|
# @return [String]
|
|
559
628
|
#
|
|
560
629
|
# @!attribute [rw] endpoint_name
|
|
561
|
-
# The
|
|
562
|
-
#
|
|
563
|
-
#
|
|
564
|
-
#
|
|
630
|
+
# The endpoint to delete.
|
|
631
|
+
#
|
|
632
|
+
# You can specify either of the following:
|
|
633
|
+
#
|
|
634
|
+
# * The endpoint name, for example `my-endpoint`.
|
|
635
|
+
#
|
|
636
|
+
# * The endpoint ARN.
|
|
637
|
+
#
|
|
638
|
+
# The length constraint applies only to the full ARN. If you specify
|
|
639
|
+
# only the endpoint name, it is limited to 64 characters in length.
|
|
565
640
|
# @return [String]
|
|
566
641
|
#
|
|
567
642
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/DeleteWebFunctionEndpointRequest AWS API Documentation
|
|
@@ -576,10 +651,16 @@ module Aws::LambdaWeb
|
|
|
576
651
|
# The request to delete a web function.
|
|
577
652
|
#
|
|
578
653
|
# @!attribute [rw] function_name
|
|
579
|
-
# The
|
|
580
|
-
#
|
|
581
|
-
#
|
|
582
|
-
#
|
|
654
|
+
# The web function to delete.
|
|
655
|
+
#
|
|
656
|
+
# You can specify either of the following:
|
|
657
|
+
#
|
|
658
|
+
# * The function name, for example `my-function`.
|
|
659
|
+
#
|
|
660
|
+
# * The function ARN.
|
|
661
|
+
#
|
|
662
|
+
# The length constraint applies only to the full ARN. If you specify
|
|
663
|
+
# only the function name, it is limited to 64 characters in length.
|
|
583
664
|
# @return [String]
|
|
584
665
|
#
|
|
585
666
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/DeleteWebFunctionRequest AWS API Documentation
|
|
@@ -593,16 +674,28 @@ module Aws::LambdaWeb
|
|
|
593
674
|
# The request to delete a web function revision.
|
|
594
675
|
#
|
|
595
676
|
# @!attribute [rw] function_name
|
|
596
|
-
# The
|
|
597
|
-
#
|
|
598
|
-
#
|
|
599
|
-
#
|
|
677
|
+
# The web function.
|
|
678
|
+
#
|
|
679
|
+
# You can specify either of the following:
|
|
680
|
+
#
|
|
681
|
+
# * The function name, for example `my-function`.
|
|
682
|
+
#
|
|
683
|
+
# * The function ARN.
|
|
684
|
+
#
|
|
685
|
+
# The length constraint applies only to the full ARN. If you specify
|
|
686
|
+
# only the function name, it is limited to 64 characters in length.
|
|
600
687
|
# @return [String]
|
|
601
688
|
#
|
|
602
689
|
# @!attribute [rw] revision_id
|
|
603
|
-
# The
|
|
604
|
-
#
|
|
605
|
-
#
|
|
690
|
+
# The revision to delete.
|
|
691
|
+
#
|
|
692
|
+
# You can specify either of the following:
|
|
693
|
+
#
|
|
694
|
+
# * The revision identifier.
|
|
695
|
+
#
|
|
696
|
+
# * The revision ARN.
|
|
697
|
+
#
|
|
698
|
+
# The length constraint applies only to the full ARN.
|
|
606
699
|
# @return [String]
|
|
607
700
|
#
|
|
608
701
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/DeleteWebFunctionRevisionRequest AWS API Documentation
|
|
@@ -619,9 +712,8 @@ module Aws::LambdaWeb
|
|
|
619
712
|
# @!attribute [rw] endpoint_name
|
|
620
713
|
# The name of the endpoint. The name can contain letters, numbers,
|
|
621
714
|
# hyphens (-), and underscores (\_), and can't begin or end with a
|
|
622
|
-
# hyphen or an underscore. The
|
|
623
|
-
#
|
|
624
|
-
# characters in length.
|
|
715
|
+
# hyphen or an underscore. The name is limited to 64 characters in
|
|
716
|
+
# length.
|
|
625
717
|
# @return [String]
|
|
626
718
|
#
|
|
627
719
|
# @!attribute [rw] description
|
|
@@ -631,16 +723,41 @@ module Aws::LambdaWeb
|
|
|
631
723
|
# @!attribute [rw] endpoint_type
|
|
632
724
|
# The type of endpoint. Determines how traffic is served and routed
|
|
633
725
|
# across Regions.
|
|
726
|
+
#
|
|
727
|
+
# Valid values:
|
|
728
|
+
#
|
|
729
|
+
# * `HomeRegion` – Serves traffic from the Region where you created
|
|
730
|
+
# the web function.
|
|
731
|
+
#
|
|
732
|
+
# * `MultiRegion` – Replicates across the Regions that you choose and
|
|
733
|
+
# routes each request to the nearest one.
|
|
734
|
+
#
|
|
735
|
+
# * `PerRegion` – Creates a separate endpoint in each Region that you
|
|
736
|
+
# choose.
|
|
634
737
|
# @return [String]
|
|
635
738
|
#
|
|
636
739
|
# @!attribute [rw] auth_type
|
|
637
740
|
# The authorization type for the endpoint.
|
|
741
|
+
#
|
|
742
|
+
# Valid values:
|
|
743
|
+
#
|
|
744
|
+
# * `ApplicationManaged` – Your application handles authorization.
|
|
745
|
+
#
|
|
746
|
+
# * `IamAuth` – Lambda uses IAM to authorize requests, which must be
|
|
747
|
+
# signed with Signature Version 4 (SigV4).
|
|
638
748
|
# @return [String]
|
|
639
749
|
#
|
|
640
750
|
# @!attribute [rw] auto_deployment_mode
|
|
641
751
|
# The auto-deployment mode for the endpoint. If you don't specify a
|
|
642
752
|
# value, the default is `Disabled`, and this default is returned in
|
|
643
753
|
# the response.
|
|
754
|
+
#
|
|
755
|
+
# Valid values:
|
|
756
|
+
#
|
|
757
|
+
# * `LatestRevision` – The endpoint automatically serves the newest
|
|
758
|
+
# revision.
|
|
759
|
+
#
|
|
760
|
+
# * `Disabled` – Revision routing stays fixed until you change it.
|
|
644
761
|
# @return [String]
|
|
645
762
|
#
|
|
646
763
|
# @!attribute [rw] regions
|
|
@@ -934,17 +1051,29 @@ module Aws::LambdaWeb
|
|
|
934
1051
|
# The request to retrieve a web function endpoint.
|
|
935
1052
|
#
|
|
936
1053
|
# @!attribute [rw] function_name
|
|
937
|
-
# The
|
|
938
|
-
#
|
|
939
|
-
#
|
|
940
|
-
#
|
|
1054
|
+
# The web function.
|
|
1055
|
+
#
|
|
1056
|
+
# You can specify either of the following:
|
|
1057
|
+
#
|
|
1058
|
+
# * The function name, for example `my-function`.
|
|
1059
|
+
#
|
|
1060
|
+
# * The function ARN.
|
|
1061
|
+
#
|
|
1062
|
+
# The length constraint applies only to the full ARN. If you specify
|
|
1063
|
+
# only the function name, it is limited to 64 characters in length.
|
|
941
1064
|
# @return [String]
|
|
942
1065
|
#
|
|
943
1066
|
# @!attribute [rw] endpoint_name
|
|
944
|
-
# The
|
|
945
|
-
#
|
|
946
|
-
#
|
|
947
|
-
#
|
|
1067
|
+
# The endpoint to retrieve.
|
|
1068
|
+
#
|
|
1069
|
+
# You can specify either of the following:
|
|
1070
|
+
#
|
|
1071
|
+
# * The endpoint name, for example `my-endpoint`.
|
|
1072
|
+
#
|
|
1073
|
+
# * The endpoint ARN.
|
|
1074
|
+
#
|
|
1075
|
+
# The length constraint applies only to the full ARN. If you specify
|
|
1076
|
+
# only the endpoint name, it is limited to 64 characters in length.
|
|
948
1077
|
# @return [String]
|
|
949
1078
|
#
|
|
950
1079
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/GetWebFunctionEndpointRequest AWS API Documentation
|
|
@@ -975,10 +1104,18 @@ module Aws::LambdaWeb
|
|
|
975
1104
|
# @return [String]
|
|
976
1105
|
#
|
|
977
1106
|
# @!attribute [rw] endpoint_type
|
|
978
|
-
# The type of a web function endpoint.
|
|
979
|
-
#
|
|
980
|
-
#
|
|
981
|
-
#
|
|
1107
|
+
# The type of a web function endpoint.
|
|
1108
|
+
#
|
|
1109
|
+
# Valid values:
|
|
1110
|
+
#
|
|
1111
|
+
# * `HomeRegion` – Serves traffic from the Region where you created
|
|
1112
|
+
# the web function.
|
|
1113
|
+
#
|
|
1114
|
+
# * `MultiRegion` – Replicates across the Regions that you choose and
|
|
1115
|
+
# routes each request to the nearest one.
|
|
1116
|
+
#
|
|
1117
|
+
# * `PerRegion` – Creates a separate endpoint in each Region that you
|
|
1118
|
+
# choose.
|
|
982
1119
|
# @return [String]
|
|
983
1120
|
#
|
|
984
1121
|
# @!attribute [rw] domain_name
|
|
@@ -986,16 +1123,25 @@ module Aws::LambdaWeb
|
|
|
986
1123
|
# @return [String]
|
|
987
1124
|
#
|
|
988
1125
|
# @!attribute [rw] auth_type
|
|
989
|
-
# The authorization type for a web function endpoint.
|
|
990
|
-
#
|
|
991
|
-
#
|
|
1126
|
+
# The authorization type for a web function endpoint.
|
|
1127
|
+
#
|
|
1128
|
+
# Valid values:
|
|
1129
|
+
#
|
|
1130
|
+
# * `ApplicationManaged` – Your application handles authorization.
|
|
1131
|
+
#
|
|
1132
|
+
# * `IamAuth` – Lambda uses IAM to authorize requests, which must be
|
|
1133
|
+
# signed with Signature Version 4 (SigV4).
|
|
992
1134
|
# @return [String]
|
|
993
1135
|
#
|
|
994
1136
|
# @!attribute [rw] auto_deployment_mode
|
|
995
|
-
# The auto-deployment mode for a web function endpoint.
|
|
996
|
-
#
|
|
997
|
-
#
|
|
998
|
-
#
|
|
1137
|
+
# The auto-deployment mode for a web function endpoint.
|
|
1138
|
+
#
|
|
1139
|
+
# Valid values:
|
|
1140
|
+
#
|
|
1141
|
+
# * `LatestRevision` – The endpoint automatically serves the newest
|
|
1142
|
+
# revision.
|
|
1143
|
+
#
|
|
1144
|
+
# * `Disabled` – Revision routing stays fixed until you change it.
|
|
999
1145
|
# @return [String]
|
|
1000
1146
|
#
|
|
1001
1147
|
# @!attribute [rw] revision_weights
|
|
@@ -1025,8 +1171,13 @@ module Aws::LambdaWeb
|
|
|
1025
1171
|
#
|
|
1026
1172
|
# @!attribute [rw] update_status
|
|
1027
1173
|
# The status of the most recent update to an endpoint. Possible
|
|
1028
|
-
# values:
|
|
1029
|
-
#
|
|
1174
|
+
# values:
|
|
1175
|
+
#
|
|
1176
|
+
# * `InProgress` – The update is in progress.
|
|
1177
|
+
#
|
|
1178
|
+
# * `Successful` – The update completed successfully.
|
|
1179
|
+
#
|
|
1180
|
+
# * `Failed` – The update failed.
|
|
1030
1181
|
# @return [String]
|
|
1031
1182
|
#
|
|
1032
1183
|
# @!attribute [rw] update_status_reason
|
|
@@ -1074,10 +1225,16 @@ module Aws::LambdaWeb
|
|
|
1074
1225
|
# The request to retrieve a web function.
|
|
1075
1226
|
#
|
|
1076
1227
|
# @!attribute [rw] function_name
|
|
1077
|
-
# The
|
|
1078
|
-
#
|
|
1079
|
-
#
|
|
1080
|
-
#
|
|
1228
|
+
# The web function to retrieve.
|
|
1229
|
+
#
|
|
1230
|
+
# You can specify either of the following:
|
|
1231
|
+
#
|
|
1232
|
+
# * The function name, for example `my-function`.
|
|
1233
|
+
#
|
|
1234
|
+
# * The function ARN.
|
|
1235
|
+
#
|
|
1236
|
+
# The length constraint applies only to the full ARN. If you specify
|
|
1237
|
+
# only the function name, it is limited to 64 characters in length.
|
|
1081
1238
|
# @return [String]
|
|
1082
1239
|
#
|
|
1083
1240
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/GetWebFunctionRequest AWS API Documentation
|
|
@@ -1130,16 +1287,28 @@ module Aws::LambdaWeb
|
|
|
1130
1287
|
# The request to retrieve a web function revision.
|
|
1131
1288
|
#
|
|
1132
1289
|
# @!attribute [rw] function_name
|
|
1133
|
-
# The
|
|
1134
|
-
#
|
|
1135
|
-
#
|
|
1136
|
-
#
|
|
1290
|
+
# The web function.
|
|
1291
|
+
#
|
|
1292
|
+
# You can specify either of the following:
|
|
1293
|
+
#
|
|
1294
|
+
# * The function name, for example `my-function`.
|
|
1295
|
+
#
|
|
1296
|
+
# * The function ARN.
|
|
1297
|
+
#
|
|
1298
|
+
# The length constraint applies only to the full ARN. If you specify
|
|
1299
|
+
# only the function name, it is limited to 64 characters in length.
|
|
1137
1300
|
# @return [String]
|
|
1138
1301
|
#
|
|
1139
1302
|
# @!attribute [rw] revision_id
|
|
1140
|
-
# The
|
|
1141
|
-
#
|
|
1142
|
-
#
|
|
1303
|
+
# The revision to retrieve.
|
|
1304
|
+
#
|
|
1305
|
+
# You can specify either of the following:
|
|
1306
|
+
#
|
|
1307
|
+
# * The revision identifier.
|
|
1308
|
+
#
|
|
1309
|
+
# * The revision ARN.
|
|
1310
|
+
#
|
|
1311
|
+
# The length constraint applies only to the full ARN.
|
|
1143
1312
|
# @return [String]
|
|
1144
1313
|
#
|
|
1145
1314
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/GetWebFunctionRevisionRequest AWS API Documentation
|
|
@@ -1181,7 +1350,8 @@ module Aws::LambdaWeb
|
|
|
1181
1350
|
#
|
|
1182
1351
|
# @!attribute [rw] service_config
|
|
1183
1352
|
# The service configuration for a web function revision, including
|
|
1184
|
-
# execution role, timeout, concurrency, and
|
|
1353
|
+
# execution role, timeout, VPC network access, concurrency, and
|
|
1354
|
+
# telemetry settings.
|
|
1185
1355
|
# @return [Types::ServiceConfig]
|
|
1186
1356
|
#
|
|
1187
1357
|
# @!attribute [rw] state
|
|
@@ -1219,7 +1389,8 @@ module Aws::LambdaWeb
|
|
|
1219
1389
|
include Aws::Structure
|
|
1220
1390
|
end
|
|
1221
1391
|
|
|
1222
|
-
#
|
|
1392
|
+
# The request failed because of an internal error in the service. Retry
|
|
1393
|
+
# the request. If the error persists, open a support case.
|
|
1223
1394
|
#
|
|
1224
1395
|
# @!attribute [rw] message
|
|
1225
1396
|
# A message describing the internal error.
|
|
@@ -1264,16 +1435,23 @@ module Aws::LambdaWeb
|
|
|
1264
1435
|
# The request to list web function endpoints.
|
|
1265
1436
|
#
|
|
1266
1437
|
# @!attribute [rw] function_name
|
|
1267
|
-
# The
|
|
1268
|
-
#
|
|
1269
|
-
#
|
|
1270
|
-
#
|
|
1438
|
+
# The web function.
|
|
1439
|
+
#
|
|
1440
|
+
# You can specify either of the following:
|
|
1441
|
+
#
|
|
1442
|
+
# * The function name, for example `my-function`.
|
|
1443
|
+
#
|
|
1444
|
+
# * The function ARN.
|
|
1445
|
+
#
|
|
1446
|
+
# The length constraint applies only to the full ARN. If you specify
|
|
1447
|
+
# only the function name, it is limited to 64 characters in length.
|
|
1271
1448
|
# @return [String]
|
|
1272
1449
|
#
|
|
1273
1450
|
# @!attribute [rw] filters
|
|
1274
1451
|
# A list of filters to apply to the results. Supported filter names:
|
|
1275
1452
|
# `authType`, `autoDeploymentMode`, `endpointType`, `state`, and
|
|
1276
|
-
# `updateStatus`.
|
|
1453
|
+
# `updateStatus`. If you don't specify a filter, the operation
|
|
1454
|
+
# returns all endpoints for the web function.
|
|
1277
1455
|
# @return [Array<Types::Filter>]
|
|
1278
1456
|
#
|
|
1279
1457
|
# @!attribute [rw] max_results
|
|
@@ -1305,6 +1483,8 @@ module Aws::LambdaWeb
|
|
|
1305
1483
|
#
|
|
1306
1484
|
# @!attribute [rw] next_token
|
|
1307
1485
|
# The pagination token that's included if more results are available.
|
|
1486
|
+
# Use this value as the `nextToken` request parameter in a subsequent
|
|
1487
|
+
# call to retrieve the next page of results.
|
|
1308
1488
|
# @return [String]
|
|
1309
1489
|
#
|
|
1310
1490
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ListWebFunctionEndpointsResponse AWS API Documentation
|
|
@@ -1319,15 +1499,22 @@ module Aws::LambdaWeb
|
|
|
1319
1499
|
# The request to list web function revisions.
|
|
1320
1500
|
#
|
|
1321
1501
|
# @!attribute [rw] function_name
|
|
1322
|
-
# The
|
|
1323
|
-
#
|
|
1324
|
-
#
|
|
1325
|
-
#
|
|
1502
|
+
# The web function.
|
|
1503
|
+
#
|
|
1504
|
+
# You can specify either of the following:
|
|
1505
|
+
#
|
|
1506
|
+
# * The function name, for example `my-function`.
|
|
1507
|
+
#
|
|
1508
|
+
# * The function ARN.
|
|
1509
|
+
#
|
|
1510
|
+
# The length constraint applies only to the full ARN. If you specify
|
|
1511
|
+
# only the function name, it is limited to 64 characters in length.
|
|
1326
1512
|
# @return [String]
|
|
1327
1513
|
#
|
|
1328
1514
|
# @!attribute [rw] filters
|
|
1329
1515
|
# A list of filters to apply to the results. The only supported filter
|
|
1330
|
-
# name is `state`.
|
|
1516
|
+
# name is `state`. If you don't specify a filter, the operation
|
|
1517
|
+
# returns all revisions for the web function.
|
|
1331
1518
|
# @return [Array<Types::Filter>]
|
|
1332
1519
|
#
|
|
1333
1520
|
# @!attribute [rw] max_results
|
|
@@ -1359,6 +1546,8 @@ module Aws::LambdaWeb
|
|
|
1359
1546
|
#
|
|
1360
1547
|
# @!attribute [rw] next_token
|
|
1361
1548
|
# The pagination token that's included if more results are available.
|
|
1549
|
+
# Use this value as the `nextToken` request parameter in a subsequent
|
|
1550
|
+
# call to retrieve the next page of results.
|
|
1362
1551
|
# @return [String]
|
|
1363
1552
|
#
|
|
1364
1553
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ListWebFunctionRevisionsResponse AWS API Documentation
|
|
@@ -1374,7 +1563,8 @@ module Aws::LambdaWeb
|
|
|
1374
1563
|
#
|
|
1375
1564
|
# @!attribute [rw] filters
|
|
1376
1565
|
# A list of filters to apply to the results. The only supported filter
|
|
1377
|
-
# name is `state`.
|
|
1566
|
+
# name is `state`. If you don't specify a filter, the operation
|
|
1567
|
+
# returns all web functions.
|
|
1378
1568
|
# @return [Array<Types::Filter>]
|
|
1379
1569
|
#
|
|
1380
1570
|
# @!attribute [rw] max_results
|
|
@@ -1405,6 +1595,8 @@ module Aws::LambdaWeb
|
|
|
1405
1595
|
#
|
|
1406
1596
|
# @!attribute [rw] next_token
|
|
1407
1597
|
# The pagination token that's included if more results are available.
|
|
1598
|
+
# Use this value as the `nextToken` request parameter in a subsequent
|
|
1599
|
+
# call to retrieve the next page of results.
|
|
1408
1600
|
# @return [String]
|
|
1409
1601
|
#
|
|
1410
1602
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/ListWebFunctionsResponse AWS API Documentation
|
|
@@ -1552,8 +1744,8 @@ module Aws::LambdaWeb
|
|
|
1552
1744
|
include Aws::Structure
|
|
1553
1745
|
end
|
|
1554
1746
|
|
|
1555
|
-
# The specified
|
|
1556
|
-
# and try again.
|
|
1747
|
+
# The specified web function, revision, endpoint, or resource-based
|
|
1748
|
+
# policy doesn't exist. Verify the resource identifier and try again.
|
|
1557
1749
|
#
|
|
1558
1750
|
# @!attribute [rw] message
|
|
1559
1751
|
# A message describing the resource not found error.
|
|
@@ -1615,18 +1807,15 @@ module Aws::LambdaWeb
|
|
|
1615
1807
|
# revision has errors.
|
|
1616
1808
|
#
|
|
1617
1809
|
# @!attribute [rw] attribute
|
|
1618
|
-
# The name of the revision attribute that the error applies to.
|
|
1619
|
-
# be between 1 and 64 characters.
|
|
1810
|
+
# The name of the revision attribute that the error applies to.
|
|
1620
1811
|
# @return [String]
|
|
1621
1812
|
#
|
|
1622
1813
|
# @!attribute [rw] error_code
|
|
1623
|
-
# A short, machine-readable code that identifies the error.
|
|
1624
|
-
# between 1 and 64 characters.
|
|
1814
|
+
# A short, machine-readable code that identifies the error.
|
|
1625
1815
|
# @return [String]
|
|
1626
1816
|
#
|
|
1627
1817
|
# @!attribute [rw] error_message
|
|
1628
|
-
# A human-readable message describing the error.
|
|
1629
|
-
# 2048 characters.
|
|
1818
|
+
# A human-readable message describing the error.
|
|
1630
1819
|
# @return [String]
|
|
1631
1820
|
#
|
|
1632
1821
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-web-2025-03-07/RevisionError AWS API Documentation
|
|
@@ -1639,8 +1828,8 @@ module Aws::LambdaWeb
|
|
|
1639
1828
|
include Aws::Structure
|
|
1640
1829
|
end
|
|
1641
1830
|
|
|
1642
|
-
# Specifies a revision and its traffic weight for an endpoint.
|
|
1643
|
-
#
|
|
1831
|
+
# Specifies a revision and its traffic weight for an endpoint. You can
|
|
1832
|
+
# assign weights to up to two revisions to split traffic for canary or
|
|
1644
1833
|
# blue-green deployments.
|
|
1645
1834
|
#
|
|
1646
1835
|
# @!attribute [rw] revision_id
|
|
@@ -1679,12 +1868,11 @@ module Aws::LambdaWeb
|
|
|
1679
1868
|
# The Amazon S3 location of a deployment artifact.
|
|
1680
1869
|
#
|
|
1681
1870
|
# @!attribute [rw] bucket
|
|
1682
|
-
# The name of the Amazon S3 bucket.
|
|
1683
|
-
# characters.
|
|
1871
|
+
# The name of the Amazon S3 bucket.
|
|
1684
1872
|
# @return [String]
|
|
1685
1873
|
#
|
|
1686
1874
|
# @!attribute [rw] key
|
|
1687
|
-
# The Amazon S3 object key.
|
|
1875
|
+
# The Amazon S3 object key.
|
|
1688
1876
|
# @return [String]
|
|
1689
1877
|
#
|
|
1690
1878
|
# @!attribute [rw] version_id
|
|
@@ -1721,7 +1909,8 @@ module Aws::LambdaWeb
|
|
|
1721
1909
|
end
|
|
1722
1910
|
|
|
1723
1911
|
# The service configuration for a web function revision, including
|
|
1724
|
-
# execution role, timeout, concurrency, and
|
|
1912
|
+
# execution role, timeout, VPC network access, concurrency, and
|
|
1913
|
+
# telemetry settings.
|
|
1725
1914
|
#
|
|
1726
1915
|
# @!attribute [rw] execution_role_arn
|
|
1727
1916
|
# The ARN of the IAM role that the web function assumes when it runs.
|
|
@@ -1735,6 +1924,16 @@ module Aws::LambdaWeb
|
|
|
1735
1924
|
# is returned in the response.
|
|
1736
1925
|
# @return [Integer]
|
|
1737
1926
|
#
|
|
1927
|
+
# @!attribute [rw] egress_network_connector_arn
|
|
1928
|
+
# The Amazon Resource Name (ARN) of the Lambda network connector that
|
|
1929
|
+
# gives the web function access to resources in your VPC. You must
|
|
1930
|
+
# specify the fully qualified ARN, including the connector version,
|
|
1931
|
+
# which pins the revision to that version. If the network connector is
|
|
1932
|
+
# deleted, invocations of revisions that reference it fail. Revisions
|
|
1933
|
+
# that specify a network connector support only `HomeRegion`
|
|
1934
|
+
# endpoints, not `MultiRegion` or `PerRegion`.
|
|
1935
|
+
# @return [String]
|
|
1936
|
+
#
|
|
1738
1937
|
# @!attribute [rw] max_concurrency_per_environment
|
|
1739
1938
|
# The maximum number of concurrent requests handled per execution
|
|
1740
1939
|
# environment. Minimum value of 1, maximum value of 128. If you don't
|
|
@@ -1757,6 +1956,7 @@ module Aws::LambdaWeb
|
|
|
1757
1956
|
class ServiceConfig < Struct.new(
|
|
1758
1957
|
:execution_role_arn,
|
|
1759
1958
|
:timeout_seconds,
|
|
1959
|
+
:egress_network_connector_arn,
|
|
1760
1960
|
:max_concurrency_per_environment,
|
|
1761
1961
|
:environment_variables,
|
|
1762
1962
|
:telemetry_config)
|
|
@@ -1764,7 +1964,9 @@ module Aws::LambdaWeb
|
|
|
1764
1964
|
include Aws::Structure
|
|
1765
1965
|
end
|
|
1766
1966
|
|
|
1767
|
-
#
|
|
1967
|
+
# The request would exceed a service quota, such as the maximum number
|
|
1968
|
+
# of web functions in your account or the maximum number of revisions or
|
|
1969
|
+
# endpoints per web function. Request a quota increase or reduce usage
|
|
1768
1970
|
# and try again.
|
|
1769
1971
|
#
|
|
1770
1972
|
# @!attribute [rw] message
|
|
@@ -1854,8 +2056,9 @@ module Aws::LambdaWeb
|
|
|
1854
2056
|
include Aws::Structure
|
|
1855
2057
|
end
|
|
1856
2058
|
|
|
1857
|
-
# The request was
|
|
1858
|
-
#
|
|
2059
|
+
# The request was denied because it exceeded the request rate that
|
|
2060
|
+
# Lambda allows for your account. Reduce the frequency of requests and
|
|
2061
|
+
# retry with exponential backoff.
|
|
1859
2062
|
#
|
|
1860
2063
|
# @!attribute [rw] message
|
|
1861
2064
|
# A message describing the throttling error.
|
|
@@ -1906,29 +2109,58 @@ module Aws::LambdaWeb
|
|
|
1906
2109
|
# The request to update a web function endpoint.
|
|
1907
2110
|
#
|
|
1908
2111
|
# @!attribute [rw] function_name
|
|
1909
|
-
# The
|
|
1910
|
-
#
|
|
1911
|
-
#
|
|
1912
|
-
#
|
|
2112
|
+
# The web function.
|
|
2113
|
+
#
|
|
2114
|
+
# You can specify either of the following:
|
|
2115
|
+
#
|
|
2116
|
+
# * The function name, for example `my-function`.
|
|
2117
|
+
#
|
|
2118
|
+
# * The function ARN.
|
|
2119
|
+
#
|
|
2120
|
+
# The length constraint applies only to the full ARN. If you specify
|
|
2121
|
+
# only the function name, it is limited to 64 characters in length.
|
|
1913
2122
|
# @return [String]
|
|
1914
2123
|
#
|
|
1915
2124
|
# @!attribute [rw] endpoint_name
|
|
1916
|
-
# The
|
|
1917
|
-
#
|
|
1918
|
-
#
|
|
1919
|
-
#
|
|
2125
|
+
# The endpoint to update.
|
|
2126
|
+
#
|
|
2127
|
+
# You can specify either of the following:
|
|
2128
|
+
#
|
|
2129
|
+
# * The endpoint name, for example `my-endpoint`.
|
|
2130
|
+
#
|
|
2131
|
+
# * The endpoint ARN.
|
|
2132
|
+
#
|
|
2133
|
+
# The length constraint applies only to the full ARN. If you specify
|
|
2134
|
+
# only the endpoint name, it is limited to 64 characters in length.
|
|
1920
2135
|
# @return [String]
|
|
1921
2136
|
#
|
|
1922
2137
|
# @!attribute [rw] description
|
|
1923
|
-
# A description of the endpoint.
|
|
2138
|
+
# A description of the endpoint. Omit this field to keep the current
|
|
2139
|
+
# description.
|
|
1924
2140
|
# @return [String]
|
|
1925
2141
|
#
|
|
1926
2142
|
# @!attribute [rw] auth_type
|
|
1927
|
-
# The authorization type for the endpoint.
|
|
2143
|
+
# The authorization type for the endpoint. Omit this field to keep the
|
|
2144
|
+
# current authorization type.
|
|
2145
|
+
#
|
|
2146
|
+
# Valid values:
|
|
2147
|
+
#
|
|
2148
|
+
# * `ApplicationManaged` – Your application handles authorization.
|
|
2149
|
+
#
|
|
2150
|
+
# * `IamAuth` – Lambda uses IAM to authorize requests, which must be
|
|
2151
|
+
# signed with Signature Version 4 (SigV4).
|
|
1928
2152
|
# @return [String]
|
|
1929
2153
|
#
|
|
1930
2154
|
# @!attribute [rw] auto_deployment_mode
|
|
1931
|
-
# The auto-deployment mode for the endpoint.
|
|
2155
|
+
# The auto-deployment mode for the endpoint. Omit this field to keep
|
|
2156
|
+
# the current auto-deployment mode.
|
|
2157
|
+
#
|
|
2158
|
+
# Valid values:
|
|
2159
|
+
#
|
|
2160
|
+
# * `LatestRevision` – The endpoint automatically serves the newest
|
|
2161
|
+
# revision.
|
|
2162
|
+
#
|
|
2163
|
+
# * `Disabled` – Revision routing stays fixed until you change it.
|
|
1932
2164
|
# @return [String]
|
|
1933
2165
|
#
|
|
1934
2166
|
# @!attribute [rw] revision_weights
|
|
@@ -1982,10 +2214,18 @@ module Aws::LambdaWeb
|
|
|
1982
2214
|
# @return [String]
|
|
1983
2215
|
#
|
|
1984
2216
|
# @!attribute [rw] endpoint_type
|
|
1985
|
-
# The type of a web function endpoint.
|
|
1986
|
-
#
|
|
1987
|
-
#
|
|
1988
|
-
#
|
|
2217
|
+
# The type of a web function endpoint.
|
|
2218
|
+
#
|
|
2219
|
+
# Valid values:
|
|
2220
|
+
#
|
|
2221
|
+
# * `HomeRegion` – Serves traffic from the Region where you created
|
|
2222
|
+
# the web function.
|
|
2223
|
+
#
|
|
2224
|
+
# * `MultiRegion` – Replicates across the Regions that you choose and
|
|
2225
|
+
# routes each request to the nearest one.
|
|
2226
|
+
#
|
|
2227
|
+
# * `PerRegion` – Creates a separate endpoint in each Region that you
|
|
2228
|
+
# choose.
|
|
1989
2229
|
# @return [String]
|
|
1990
2230
|
#
|
|
1991
2231
|
# @!attribute [rw] domain_name
|
|
@@ -1993,16 +2233,25 @@ module Aws::LambdaWeb
|
|
|
1993
2233
|
# @return [String]
|
|
1994
2234
|
#
|
|
1995
2235
|
# @!attribute [rw] auth_type
|
|
1996
|
-
# The authorization type for a web function endpoint.
|
|
1997
|
-
#
|
|
1998
|
-
#
|
|
2236
|
+
# The authorization type for a web function endpoint.
|
|
2237
|
+
#
|
|
2238
|
+
# Valid values:
|
|
2239
|
+
#
|
|
2240
|
+
# * `ApplicationManaged` – Your application handles authorization.
|
|
2241
|
+
#
|
|
2242
|
+
# * `IamAuth` – Lambda uses IAM to authorize requests, which must be
|
|
2243
|
+
# signed with Signature Version 4 (SigV4).
|
|
1999
2244
|
# @return [String]
|
|
2000
2245
|
#
|
|
2001
2246
|
# @!attribute [rw] auto_deployment_mode
|
|
2002
|
-
# The auto-deployment mode for a web function endpoint.
|
|
2003
|
-
#
|
|
2004
|
-
#
|
|
2005
|
-
#
|
|
2247
|
+
# The auto-deployment mode for a web function endpoint.
|
|
2248
|
+
#
|
|
2249
|
+
# Valid values:
|
|
2250
|
+
#
|
|
2251
|
+
# * `LatestRevision` – The endpoint automatically serves the newest
|
|
2252
|
+
# revision.
|
|
2253
|
+
#
|
|
2254
|
+
# * `Disabled` – Revision routing stays fixed until you change it.
|
|
2006
2255
|
# @return [String]
|
|
2007
2256
|
#
|
|
2008
2257
|
# @!attribute [rw] revision_weights
|
|
@@ -2032,8 +2281,13 @@ module Aws::LambdaWeb
|
|
|
2032
2281
|
#
|
|
2033
2282
|
# @!attribute [rw] update_status
|
|
2034
2283
|
# The status of the most recent update to an endpoint. Possible
|
|
2035
|
-
# values:
|
|
2036
|
-
#
|
|
2284
|
+
# values:
|
|
2285
|
+
#
|
|
2286
|
+
# * `InProgress` – The update is in progress.
|
|
2287
|
+
#
|
|
2288
|
+
# * `Successful` – The update completed successfully.
|
|
2289
|
+
#
|
|
2290
|
+
# * `Failed` – The update failed.
|
|
2037
2291
|
# @return [String]
|
|
2038
2292
|
#
|
|
2039
2293
|
# @!attribute [rw] update_status_reason
|
|
@@ -2078,8 +2332,9 @@ module Aws::LambdaWeb
|
|
|
2078
2332
|
include Aws::Structure
|
|
2079
2333
|
end
|
|
2080
2334
|
|
|
2081
|
-
# The request failed validation
|
|
2082
|
-
#
|
|
2335
|
+
# The request failed validation because a parameter was missing,
|
|
2336
|
+
# malformed, or outside the allowed range. Check the request parameters
|
|
2337
|
+
# and try again.
|
|
2083
2338
|
#
|
|
2084
2339
|
# @!attribute [rw] message
|
|
2085
2340
|
# A message describing the validation error.
|