aws-sdk-lambda 1.52.0 → 1.57.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/lib/aws-sdk-lambda.rb +1 -1
- data/lib/aws-sdk-lambda/client.rb +711 -70
- data/lib/aws-sdk-lambda/client_api.rb +320 -4
- data/lib/aws-sdk-lambda/errors.rb +63 -0
- data/lib/aws-sdk-lambda/types.rb +897 -84
- metadata +2 -2
@@ -27,7 +27,9 @@ module Aws::Lambda
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
|
+
# * {CodeSigningConfigNotFoundException}
|
30
31
|
# * {CodeStorageExceededException}
|
32
|
+
# * {CodeVerificationFailedException}
|
31
33
|
# * {EC2AccessDeniedException}
|
32
34
|
# * {EC2ThrottledException}
|
33
35
|
# * {EC2UnexpectedException}
|
@@ -36,6 +38,7 @@ module Aws::Lambda
|
|
36
38
|
# * {EFSMountFailureException}
|
37
39
|
# * {EFSMountTimeoutException}
|
38
40
|
# * {ENILimitReachedException}
|
41
|
+
# * {InvalidCodeSignatureException}
|
39
42
|
# * {InvalidParameterValueException}
|
40
43
|
# * {InvalidRequestContentException}
|
41
44
|
# * {InvalidRuntimeException}
|
@@ -65,6 +68,26 @@ module Aws::Lambda
|
|
65
68
|
|
66
69
|
extend Aws::Errors::DynamicErrors
|
67
70
|
|
71
|
+
class CodeSigningConfigNotFoundException < ServiceError
|
72
|
+
|
73
|
+
# @param [Seahorse::Client::RequestContext] context
|
74
|
+
# @param [String] message
|
75
|
+
# @param [Aws::Lambda::Types::CodeSigningConfigNotFoundException] data
|
76
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
77
|
+
super(context, message, data)
|
78
|
+
end
|
79
|
+
|
80
|
+
# @return [String]
|
81
|
+
def type
|
82
|
+
@data[:type]
|
83
|
+
end
|
84
|
+
|
85
|
+
# @return [String]
|
86
|
+
def message
|
87
|
+
@message || @data[:message]
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
68
91
|
class CodeStorageExceededException < ServiceError
|
69
92
|
|
70
93
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -85,6 +108,26 @@ module Aws::Lambda
|
|
85
108
|
end
|
86
109
|
end
|
87
110
|
|
111
|
+
class CodeVerificationFailedException < ServiceError
|
112
|
+
|
113
|
+
# @param [Seahorse::Client::RequestContext] context
|
114
|
+
# @param [String] message
|
115
|
+
# @param [Aws::Lambda::Types::CodeVerificationFailedException] data
|
116
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
117
|
+
super(context, message, data)
|
118
|
+
end
|
119
|
+
|
120
|
+
# @return [String]
|
121
|
+
def type
|
122
|
+
@data[:type]
|
123
|
+
end
|
124
|
+
|
125
|
+
# @return [String]
|
126
|
+
def message
|
127
|
+
@message || @data[:message]
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
88
131
|
class EC2AccessDeniedException < ServiceError
|
89
132
|
|
90
133
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -250,6 +293,26 @@ module Aws::Lambda
|
|
250
293
|
end
|
251
294
|
end
|
252
295
|
|
296
|
+
class InvalidCodeSignatureException < ServiceError
|
297
|
+
|
298
|
+
# @param [Seahorse::Client::RequestContext] context
|
299
|
+
# @param [String] message
|
300
|
+
# @param [Aws::Lambda::Types::InvalidCodeSignatureException] data
|
301
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
302
|
+
super(context, message, data)
|
303
|
+
end
|
304
|
+
|
305
|
+
# @return [String]
|
306
|
+
def type
|
307
|
+
@data[:type]
|
308
|
+
end
|
309
|
+
|
310
|
+
# @return [String]
|
311
|
+
def message
|
312
|
+
@message || @data[:message]
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
253
316
|
class InvalidParameterValueException < ServiceError
|
254
317
|
|
255
318
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -327,6 +327,114 @@ module Aws::Lambda
|
|
327
327
|
include Aws::Structure
|
328
328
|
end
|
329
329
|
|
330
|
+
# List of signing profiles that can sign a code package.
|
331
|
+
#
|
332
|
+
# @note When making an API call, you may pass AllowedPublishers
|
333
|
+
# data as a hash:
|
334
|
+
#
|
335
|
+
# {
|
336
|
+
# signing_profile_version_arns: ["Arn"], # required
|
337
|
+
# }
|
338
|
+
#
|
339
|
+
# @!attribute [rw] signing_profile_version_arns
|
340
|
+
# The Amazon Resource Name (ARN) for each of the signing profiles. A
|
341
|
+
# signing profile defines a trusted user who can sign a code package.
|
342
|
+
# @return [Array<String>]
|
343
|
+
#
|
344
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AllowedPublishers AWS API Documentation
|
345
|
+
#
|
346
|
+
class AllowedPublishers < Struct.new(
|
347
|
+
:signing_profile_version_arns)
|
348
|
+
SENSITIVE = []
|
349
|
+
include Aws::Structure
|
350
|
+
end
|
351
|
+
|
352
|
+
# Details about a Code signing configuration.
|
353
|
+
#
|
354
|
+
# @!attribute [rw] code_signing_config_id
|
355
|
+
# Unique identifer for the Code signing configuration.
|
356
|
+
# @return [String]
|
357
|
+
#
|
358
|
+
# @!attribute [rw] code_signing_config_arn
|
359
|
+
# The Amazon Resource Name (ARN) of the Code signing configuration.
|
360
|
+
# @return [String]
|
361
|
+
#
|
362
|
+
# @!attribute [rw] description
|
363
|
+
# Code signing configuration description.
|
364
|
+
# @return [String]
|
365
|
+
#
|
366
|
+
# @!attribute [rw] allowed_publishers
|
367
|
+
# List of allowed publishers.
|
368
|
+
# @return [Types::AllowedPublishers]
|
369
|
+
#
|
370
|
+
# @!attribute [rw] code_signing_policies
|
371
|
+
# The code signing policy controls the validation failure action for
|
372
|
+
# signature mismatch or expiry.
|
373
|
+
# @return [Types::CodeSigningPolicies]
|
374
|
+
#
|
375
|
+
# @!attribute [rw] last_modified
|
376
|
+
# The date and time that the Code signing configuration was last
|
377
|
+
# modified, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
|
378
|
+
# @return [Time]
|
379
|
+
#
|
380
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CodeSigningConfig AWS API Documentation
|
381
|
+
#
|
382
|
+
class CodeSigningConfig < Struct.new(
|
383
|
+
:code_signing_config_id,
|
384
|
+
:code_signing_config_arn,
|
385
|
+
:description,
|
386
|
+
:allowed_publishers,
|
387
|
+
:code_signing_policies,
|
388
|
+
:last_modified)
|
389
|
+
SENSITIVE = []
|
390
|
+
include Aws::Structure
|
391
|
+
end
|
392
|
+
|
393
|
+
# The specified code signing configuration does not exist.
|
394
|
+
#
|
395
|
+
# @!attribute [rw] type
|
396
|
+
# @return [String]
|
397
|
+
#
|
398
|
+
# @!attribute [rw] message
|
399
|
+
# @return [String]
|
400
|
+
#
|
401
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CodeSigningConfigNotFoundException AWS API Documentation
|
402
|
+
#
|
403
|
+
class CodeSigningConfigNotFoundException < Struct.new(
|
404
|
+
:type,
|
405
|
+
:message)
|
406
|
+
SENSITIVE = []
|
407
|
+
include Aws::Structure
|
408
|
+
end
|
409
|
+
|
410
|
+
# Code signing configuration policies specifies the validation failure
|
411
|
+
# action for signature mismatch or expiry.
|
412
|
+
#
|
413
|
+
# @note When making an API call, you may pass CodeSigningPolicies
|
414
|
+
# data as a hash:
|
415
|
+
#
|
416
|
+
# {
|
417
|
+
# untrusted_artifact_on_deployment: "Warn", # accepts Warn, Enforce
|
418
|
+
# }
|
419
|
+
#
|
420
|
+
# @!attribute [rw] untrusted_artifact_on_deployment
|
421
|
+
# Code signing configuration policy for deployment validation failure.
|
422
|
+
# If you set the policy to `Enforce`, Lambda blocks the deployment
|
423
|
+
# request if signature validation checks fail. If you set the policy
|
424
|
+
# to `Warn`, Lambda allows the deployment and creates a CloudWatch
|
425
|
+
# log.
|
426
|
+
#
|
427
|
+
# Default value: `Warn`
|
428
|
+
# @return [String]
|
429
|
+
#
|
430
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CodeSigningPolicies AWS API Documentation
|
431
|
+
#
|
432
|
+
class CodeSigningPolicies < Struct.new(
|
433
|
+
:untrusted_artifact_on_deployment)
|
434
|
+
SENSITIVE = []
|
435
|
+
include Aws::Structure
|
436
|
+
end
|
437
|
+
|
330
438
|
# You have exceeded your maximum total code size per account. [Learn
|
331
439
|
# more][1]
|
332
440
|
#
|
@@ -350,6 +458,25 @@ module Aws::Lambda
|
|
350
458
|
include Aws::Structure
|
351
459
|
end
|
352
460
|
|
461
|
+
# The code signature failed one or more of the validation checks for
|
462
|
+
# signature mismatch or expiry, and the code signing policy is set to
|
463
|
+
# ENFORCE. Lambda blocks the deployment.
|
464
|
+
#
|
465
|
+
# @!attribute [rw] type
|
466
|
+
# @return [String]
|
467
|
+
#
|
468
|
+
# @!attribute [rw] message
|
469
|
+
# @return [String]
|
470
|
+
#
|
471
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CodeVerificationFailedException AWS API Documentation
|
472
|
+
#
|
473
|
+
class CodeVerificationFailedException < Struct.new(
|
474
|
+
:type,
|
475
|
+
:message)
|
476
|
+
SENSITIVE = []
|
477
|
+
include Aws::Structure
|
478
|
+
end
|
479
|
+
|
353
480
|
# @!attribute [rw] reserved_concurrent_executions
|
354
481
|
# The number of concurrent executions that are reserved for this
|
355
482
|
# function. For more information, see [Managing Concurrency][1].
|
@@ -430,11 +557,59 @@ module Aws::Lambda
|
|
430
557
|
include Aws::Structure
|
431
558
|
end
|
432
559
|
|
560
|
+
# @note When making an API call, you may pass CreateCodeSigningConfigRequest
|
561
|
+
# data as a hash:
|
562
|
+
#
|
563
|
+
# {
|
564
|
+
# description: "Description",
|
565
|
+
# allowed_publishers: { # required
|
566
|
+
# signing_profile_version_arns: ["Arn"], # required
|
567
|
+
# },
|
568
|
+
# code_signing_policies: {
|
569
|
+
# untrusted_artifact_on_deployment: "Warn", # accepts Warn, Enforce
|
570
|
+
# },
|
571
|
+
# }
|
572
|
+
#
|
573
|
+
# @!attribute [rw] description
|
574
|
+
# Descriptive name for this code signing configuration.
|
575
|
+
# @return [String]
|
576
|
+
#
|
577
|
+
# @!attribute [rw] allowed_publishers
|
578
|
+
# Signing profiles for this code signing configuration.
|
579
|
+
# @return [Types::AllowedPublishers]
|
580
|
+
#
|
581
|
+
# @!attribute [rw] code_signing_policies
|
582
|
+
# The code signing policies define the actions to take if the
|
583
|
+
# validation checks fail.
|
584
|
+
# @return [Types::CodeSigningPolicies]
|
585
|
+
#
|
586
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCodeSigningConfigRequest AWS API Documentation
|
587
|
+
#
|
588
|
+
class CreateCodeSigningConfigRequest < Struct.new(
|
589
|
+
:description,
|
590
|
+
:allowed_publishers,
|
591
|
+
:code_signing_policies)
|
592
|
+
SENSITIVE = []
|
593
|
+
include Aws::Structure
|
594
|
+
end
|
595
|
+
|
596
|
+
# @!attribute [rw] code_signing_config
|
597
|
+
# The code signing configuration.
|
598
|
+
# @return [Types::CodeSigningConfig]
|
599
|
+
#
|
600
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCodeSigningConfigResponse AWS API Documentation
|
601
|
+
#
|
602
|
+
class CreateCodeSigningConfigResponse < Struct.new(
|
603
|
+
:code_signing_config)
|
604
|
+
SENSITIVE = []
|
605
|
+
include Aws::Structure
|
606
|
+
end
|
607
|
+
|
433
608
|
# @note When making an API call, you may pass CreateEventSourceMappingRequest
|
434
609
|
# data as a hash:
|
435
610
|
#
|
436
611
|
# {
|
437
|
-
# event_source_arn: "Arn",
|
612
|
+
# event_source_arn: "Arn",
|
438
613
|
# function_name: "FunctionName", # required
|
439
614
|
# enabled: false,
|
440
615
|
# batch_size: 1,
|
@@ -453,14 +628,21 @@ module Aws::Lambda
|
|
453
628
|
# maximum_record_age_in_seconds: 1,
|
454
629
|
# bisect_batch_on_function_error: false,
|
455
630
|
# maximum_retry_attempts: 1,
|
631
|
+
# tumbling_window_in_seconds: 1,
|
456
632
|
# topics: ["Topic"],
|
457
633
|
# queues: ["Queue"],
|
458
634
|
# source_access_configurations: [
|
459
635
|
# {
|
460
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH
|
461
|
-
# uri: "
|
636
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
|
637
|
+
# uri: "URI",
|
462
638
|
# },
|
463
639
|
# ],
|
640
|
+
# self_managed_event_source: {
|
641
|
+
# endpoints: {
|
642
|
+
# "KAFKA_BOOTSTRAP_SERVERS" => ["Endpoint"],
|
643
|
+
# },
|
644
|
+
# },
|
645
|
+
# function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
|
464
646
|
# }
|
465
647
|
#
|
466
648
|
# @!attribute [rw] event_source_arn
|
@@ -508,15 +690,18 @@ module Aws::Lambda
|
|
508
690
|
#
|
509
691
|
# * **Amazon DynamoDB Streams** - Default 100. Max 1,000.
|
510
692
|
#
|
511
|
-
# * **Amazon Simple Queue Service** - Default 10.
|
693
|
+
# * **Amazon Simple Queue Service** - Default 10. For standard queues
|
694
|
+
# the max is 10,000. For FIFO queues the max is 10.
|
512
695
|
#
|
513
696
|
# * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
|
514
697
|
# 10,000.
|
698
|
+
#
|
699
|
+
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
515
700
|
# @return [Integer]
|
516
701
|
#
|
517
702
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
518
|
-
# (Streams) The maximum amount of time to
|
519
|
-
# invoking the function, in seconds.
|
703
|
+
# (Streams and SQS standard queues) The maximum amount of time to
|
704
|
+
# gather records before invoking the function, in seconds.
|
520
705
|
# @return [Integer]
|
521
706
|
#
|
522
707
|
# @!attribute [rw] parallelization_factor
|
@@ -556,8 +741,13 @@ module Aws::Lambda
|
|
556
741
|
# records will be retried until the record expires.
|
557
742
|
# @return [Integer]
|
558
743
|
#
|
744
|
+
# @!attribute [rw] tumbling_window_in_seconds
|
745
|
+
# (Streams) The duration of a processing window in seconds. The range
|
746
|
+
# is between 1 second up to 15 minutes.
|
747
|
+
# @return [Integer]
|
748
|
+
#
|
559
749
|
# @!attribute [rw] topics
|
560
|
-
#
|
750
|
+
# The name of the Kafka topic.
|
561
751
|
# @return [Array<String>]
|
562
752
|
#
|
563
753
|
# @!attribute [rw] queues
|
@@ -565,18 +755,18 @@ module Aws::Lambda
|
|
565
755
|
# @return [Array<String>]
|
566
756
|
#
|
567
757
|
# @!attribute [rw] source_access_configurations
|
568
|
-
#
|
569
|
-
#
|
570
|
-
#
|
758
|
+
# An array of the authentication protocol, or the VPC components to
|
759
|
+
# secure your event source.
|
760
|
+
# @return [Array<Types::SourceAccessConfiguration>]
|
571
761
|
#
|
572
|
-
#
|
573
|
-
#
|
762
|
+
# @!attribute [rw] self_managed_event_source
|
763
|
+
# The Self-Managed Apache Kafka cluster to send records.
|
764
|
+
# @return [Types::SelfManagedEventSource]
|
574
765
|
#
|
575
|
-
#
|
576
|
-
#
|
577
|
-
#
|
578
|
-
#
|
579
|
-
# @return [Array<Types::SourceAccessConfiguration>]
|
766
|
+
# @!attribute [rw] function_response_types
|
767
|
+
# (Streams) A list of current response type enums applied to the event
|
768
|
+
# source mapping.
|
769
|
+
# @return [Array<String>]
|
580
770
|
#
|
581
771
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
|
582
772
|
#
|
@@ -593,9 +783,12 @@ module Aws::Lambda
|
|
593
783
|
:maximum_record_age_in_seconds,
|
594
784
|
:bisect_batch_on_function_error,
|
595
785
|
:maximum_retry_attempts,
|
786
|
+
:tumbling_window_in_seconds,
|
596
787
|
:topics,
|
597
788
|
:queues,
|
598
|
-
:source_access_configurations
|
789
|
+
:source_access_configurations,
|
790
|
+
:self_managed_event_source,
|
791
|
+
:function_response_types)
|
599
792
|
SENSITIVE = []
|
600
793
|
include Aws::Structure
|
601
794
|
end
|
@@ -605,14 +798,15 @@ module Aws::Lambda
|
|
605
798
|
#
|
606
799
|
# {
|
607
800
|
# function_name: "FunctionName", # required
|
608
|
-
# runtime: "nodejs", #
|
801
|
+
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
609
802
|
# role: "RoleArn", # required
|
610
|
-
# handler: "Handler",
|
803
|
+
# handler: "Handler",
|
611
804
|
# code: { # required
|
612
805
|
# zip_file: "data",
|
613
806
|
# s3_bucket: "S3Bucket",
|
614
807
|
# s3_key: "S3Key",
|
615
808
|
# s3_object_version: "S3ObjectVersion",
|
809
|
+
# image_uri: "String",
|
616
810
|
# },
|
617
811
|
# description: "Description",
|
618
812
|
# timeout: 1,
|
@@ -622,6 +816,7 @@ module Aws::Lambda
|
|
622
816
|
# subnet_ids: ["SubnetId"],
|
623
817
|
# security_group_ids: ["SecurityGroupId"],
|
624
818
|
# },
|
819
|
+
# package_type: "Zip", # accepts Zip, Image
|
625
820
|
# dead_letter_config: {
|
626
821
|
# target_arn: "ResourceArn",
|
627
822
|
# },
|
@@ -644,6 +839,12 @@ module Aws::Lambda
|
|
644
839
|
# local_mount_path: "LocalMountPath", # required
|
645
840
|
# },
|
646
841
|
# ],
|
842
|
+
# image_config: {
|
843
|
+
# entry_point: ["String"],
|
844
|
+
# command: ["String"],
|
845
|
+
# working_directory: "WorkingDirectory",
|
846
|
+
# },
|
847
|
+
# code_signing_config_arn: "CodeSigningConfigArn",
|
647
848
|
# }
|
648
849
|
#
|
649
850
|
# @!attribute [rw] function_name
|
@@ -700,9 +901,9 @@ module Aws::Lambda
|
|
700
901
|
# @return [Integer]
|
701
902
|
#
|
702
903
|
# @!attribute [rw] memory_size
|
703
|
-
# The amount of memory
|
704
|
-
# the function's memory also increases its CPU allocation.
|
705
|
-
# default value is 128 MB. The value
|
904
|
+
# The amount of memory available to the function at runtime.
|
905
|
+
# Increasing the function's memory also increases its CPU allocation.
|
906
|
+
# The default value is 128 MB. The value can be any multiple of 1 MB.
|
706
907
|
# @return [Integer]
|
707
908
|
#
|
708
909
|
# @!attribute [rw] publish
|
@@ -721,6 +922,11 @@ module Aws::Lambda
|
|
721
922
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html
|
722
923
|
# @return [Types::VpcConfig]
|
723
924
|
#
|
925
|
+
# @!attribute [rw] package_type
|
926
|
+
# The type of deployment package. Set to `Image` for container image
|
927
|
+
# and set `Zip` for ZIP archive.
|
928
|
+
# @return [String]
|
929
|
+
#
|
724
930
|
# @!attribute [rw] dead_letter_config
|
725
931
|
# A dead letter queue configuration that specifies the queue or topic
|
726
932
|
# where Lambda sends asynchronous events when they fail processing.
|
@@ -768,6 +974,17 @@ module Aws::Lambda
|
|
768
974
|
# Connection settings for an Amazon EFS file system.
|
769
975
|
# @return [Array<Types::FileSystemConfig>]
|
770
976
|
#
|
977
|
+
# @!attribute [rw] image_config
|
978
|
+
# Configuration values that override the container image Dockerfile.
|
979
|
+
# @return [Types::ImageConfig]
|
980
|
+
#
|
981
|
+
# @!attribute [rw] code_signing_config_arn
|
982
|
+
# To enable code signing for this function, specify the ARN of a
|
983
|
+
# code-signing configuration. A code-signing configuration includes a
|
984
|
+
# set of signing profiles, which define the trusted publishers for
|
985
|
+
# this function.
|
986
|
+
# @return [String]
|
987
|
+
#
|
771
988
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
|
772
989
|
#
|
773
990
|
class CreateFunctionRequest < Struct.new(
|
@@ -781,13 +998,16 @@ module Aws::Lambda
|
|
781
998
|
:memory_size,
|
782
999
|
:publish,
|
783
1000
|
:vpc_config,
|
1001
|
+
:package_type,
|
784
1002
|
:dead_letter_config,
|
785
1003
|
:environment,
|
786
1004
|
:kms_key_arn,
|
787
1005
|
:tracing_config,
|
788
1006
|
:tags,
|
789
1007
|
:layers,
|
790
|
-
:file_system_configs
|
1008
|
+
:file_system_configs,
|
1009
|
+
:image_config,
|
1010
|
+
:code_signing_config_arn)
|
791
1011
|
SENSITIVE = []
|
792
1012
|
include Aws::Structure
|
793
1013
|
end
|
@@ -855,6 +1075,30 @@ module Aws::Lambda
|
|
855
1075
|
include Aws::Structure
|
856
1076
|
end
|
857
1077
|
|
1078
|
+
# @note When making an API call, you may pass DeleteCodeSigningConfigRequest
|
1079
|
+
# data as a hash:
|
1080
|
+
#
|
1081
|
+
# {
|
1082
|
+
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
1083
|
+
# }
|
1084
|
+
#
|
1085
|
+
# @!attribute [rw] code_signing_config_arn
|
1086
|
+
# The The Amazon Resource Name (ARN) of the code signing
|
1087
|
+
# configuration.
|
1088
|
+
# @return [String]
|
1089
|
+
#
|
1090
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteCodeSigningConfigRequest AWS API Documentation
|
1091
|
+
#
|
1092
|
+
class DeleteCodeSigningConfigRequest < Struct.new(
|
1093
|
+
:code_signing_config_arn)
|
1094
|
+
SENSITIVE = []
|
1095
|
+
include Aws::Structure
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteCodeSigningConfigResponse AWS API Documentation
|
1099
|
+
#
|
1100
|
+
class DeleteCodeSigningConfigResponse < Aws::EmptyStructure; end
|
1101
|
+
|
858
1102
|
# @note When making an API call, you may pass DeleteEventSourceMappingRequest
|
859
1103
|
# data as a hash:
|
860
1104
|
#
|
@@ -874,6 +1118,37 @@ module Aws::Lambda
|
|
874
1118
|
include Aws::Structure
|
875
1119
|
end
|
876
1120
|
|
1121
|
+
# @note When making an API call, you may pass DeleteFunctionCodeSigningConfigRequest
|
1122
|
+
# data as a hash:
|
1123
|
+
#
|
1124
|
+
# {
|
1125
|
+
# function_name: "FunctionName", # required
|
1126
|
+
# }
|
1127
|
+
#
|
1128
|
+
# @!attribute [rw] function_name
|
1129
|
+
# The name of the Lambda function.
|
1130
|
+
#
|
1131
|
+
# **Name formats**
|
1132
|
+
#
|
1133
|
+
# * **Function name** - `MyFunction`.
|
1134
|
+
#
|
1135
|
+
# * **Function ARN** -
|
1136
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
1137
|
+
#
|
1138
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
1139
|
+
#
|
1140
|
+
# The length constraint applies only to the full ARN. If you specify
|
1141
|
+
# only the function name, it is limited to 64 characters in length.
|
1142
|
+
# @return [String]
|
1143
|
+
#
|
1144
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionCodeSigningConfigRequest AWS API Documentation
|
1145
|
+
#
|
1146
|
+
class DeleteFunctionCodeSigningConfigRequest < Struct.new(
|
1147
|
+
:function_name)
|
1148
|
+
SENSITIVE = []
|
1149
|
+
include Aws::Structure
|
1150
|
+
end
|
1151
|
+
|
877
1152
|
# @note When making an API call, you may pass DeleteFunctionConcurrencyRequest
|
878
1153
|
# data as a hash:
|
879
1154
|
#
|
@@ -1298,13 +1573,25 @@ module Aws::Lambda
|
|
1298
1573
|
# The identifier of the event source mapping.
|
1299
1574
|
# @return [String]
|
1300
1575
|
#
|
1576
|
+
# @!attribute [rw] starting_position
|
1577
|
+
# The position in a stream from which to start reading. Required for
|
1578
|
+
# Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources.
|
1579
|
+
# `AT_TIMESTAMP` is only supported for Amazon Kinesis streams.
|
1580
|
+
# @return [String]
|
1581
|
+
#
|
1582
|
+
# @!attribute [rw] starting_position_timestamp
|
1583
|
+
# With `StartingPosition` set to `AT_TIMESTAMP`, the time from which
|
1584
|
+
# to start reading.
|
1585
|
+
# @return [Time]
|
1586
|
+
#
|
1301
1587
|
# @!attribute [rw] batch_size
|
1302
1588
|
# The maximum number of items to retrieve in a single batch.
|
1303
1589
|
# @return [Integer]
|
1304
1590
|
#
|
1305
1591
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
1306
|
-
# (Streams) The maximum amount of time to
|
1307
|
-
# invoking the function, in seconds. The default
|
1592
|
+
# (Streams and SQS standard queues) The maximum amount of time to
|
1593
|
+
# gather records before invoking the function, in seconds. The default
|
1594
|
+
# value is zero.
|
1308
1595
|
# @return [Integer]
|
1309
1596
|
#
|
1310
1597
|
# @!attribute [rw] parallelization_factor
|
@@ -1347,7 +1634,7 @@ module Aws::Lambda
|
|
1347
1634
|
# @return [Types::DestinationConfig]
|
1348
1635
|
#
|
1349
1636
|
# @!attribute [rw] topics
|
1350
|
-
#
|
1637
|
+
# The name of the Kafka topic.
|
1351
1638
|
# @return [Array<String>]
|
1352
1639
|
#
|
1353
1640
|
# @!attribute [rw] queues
|
@@ -1355,19 +1642,14 @@ module Aws::Lambda
|
|
1355
1642
|
# @return [Array<String>]
|
1356
1643
|
#
|
1357
1644
|
# @!attribute [rw] source_access_configurations
|
1358
|
-
#
|
1359
|
-
#
|
1360
|
-
# "your username", "password": "your password" \}`
|
1361
|
-
#
|
1362
|
-
# To reference the secret, use the following format: `[ \{ "Type":
|
1363
|
-
# "BASIC_AUTH", "URI": "secretARN" \} ]`
|
1364
|
-
#
|
1365
|
-
# The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
|
1366
|
-
# you can use customer or service managed keys. When using a customer
|
1367
|
-
# managed KMS key, the Lambda execution role requires `kms:Decrypt`
|
1368
|
-
# permissions.
|
1645
|
+
# An array of the authentication protocol, or the VPC components to
|
1646
|
+
# secure your event source.
|
1369
1647
|
# @return [Array<Types::SourceAccessConfiguration>]
|
1370
1648
|
#
|
1649
|
+
# @!attribute [rw] self_managed_event_source
|
1650
|
+
# The Self-Managed Apache Kafka cluster for your event source.
|
1651
|
+
# @return [Types::SelfManagedEventSource]
|
1652
|
+
#
|
1371
1653
|
# @!attribute [rw] maximum_record_age_in_seconds
|
1372
1654
|
# (Streams) Discard records older than the specified age. The default
|
1373
1655
|
# value is infinite (-1). When set to infinite (-1), failed records
|
@@ -1385,10 +1667,22 @@ module Aws::Lambda
|
|
1385
1667
|
# records are retried until the record expires.
|
1386
1668
|
# @return [Integer]
|
1387
1669
|
#
|
1670
|
+
# @!attribute [rw] tumbling_window_in_seconds
|
1671
|
+
# (Streams) The duration of a processing window in seconds. The range
|
1672
|
+
# is between 1 second up to 15 minutes.
|
1673
|
+
# @return [Integer]
|
1674
|
+
#
|
1675
|
+
# @!attribute [rw] function_response_types
|
1676
|
+
# (Streams) A list of current response type enums applied to the event
|
1677
|
+
# source mapping.
|
1678
|
+
# @return [Array<String>]
|
1679
|
+
#
|
1388
1680
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
|
1389
1681
|
#
|
1390
1682
|
class EventSourceMappingConfiguration < Struct.new(
|
1391
1683
|
:uuid,
|
1684
|
+
:starting_position,
|
1685
|
+
:starting_position_timestamp,
|
1392
1686
|
:batch_size,
|
1393
1687
|
:maximum_batching_window_in_seconds,
|
1394
1688
|
:parallelization_factor,
|
@@ -1402,9 +1696,12 @@ module Aws::Lambda
|
|
1402
1696
|
:topics,
|
1403
1697
|
:queues,
|
1404
1698
|
:source_access_configurations,
|
1699
|
+
:self_managed_event_source,
|
1405
1700
|
:maximum_record_age_in_seconds,
|
1406
1701
|
:bisect_batch_on_function_error,
|
1407
|
-
:maximum_retry_attempts
|
1702
|
+
:maximum_retry_attempts,
|
1703
|
+
:tumbling_window_in_seconds,
|
1704
|
+
:function_response_types)
|
1408
1705
|
SENSITIVE = []
|
1409
1706
|
include Aws::Structure
|
1410
1707
|
end
|
@@ -1440,7 +1737,8 @@ module Aws::Lambda
|
|
1440
1737
|
end
|
1441
1738
|
|
1442
1739
|
# The code for the Lambda function. You can specify either an object in
|
1443
|
-
# Amazon S3,
|
1740
|
+
# Amazon S3, upload a .zip file archive deployment package directly, or
|
1741
|
+
# specify the URI of a container image.
|
1444
1742
|
#
|
1445
1743
|
# @note When making an API call, you may pass FunctionCode
|
1446
1744
|
# data as a hash:
|
@@ -1450,6 +1748,7 @@ module Aws::Lambda
|
|
1450
1748
|
# s3_bucket: "S3Bucket",
|
1451
1749
|
# s3_key: "S3Key",
|
1452
1750
|
# s3_object_version: "S3ObjectVersion",
|
1751
|
+
# image_uri: "String",
|
1453
1752
|
# }
|
1454
1753
|
#
|
1455
1754
|
# @!attribute [rw] zip_file
|
@@ -1471,13 +1770,18 @@ module Aws::Lambda
|
|
1471
1770
|
# to use.
|
1472
1771
|
# @return [String]
|
1473
1772
|
#
|
1773
|
+
# @!attribute [rw] image_uri
|
1774
|
+
# URI of a container image in the Amazon ECR registry.
|
1775
|
+
# @return [String]
|
1776
|
+
#
|
1474
1777
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCode AWS API Documentation
|
1475
1778
|
#
|
1476
1779
|
class FunctionCode < Struct.new(
|
1477
1780
|
:zip_file,
|
1478
1781
|
:s3_bucket,
|
1479
1782
|
:s3_key,
|
1480
|
-
:s3_object_version
|
1783
|
+
:s3_object_version,
|
1784
|
+
:image_uri)
|
1481
1785
|
SENSITIVE = [:zip_file]
|
1482
1786
|
include Aws::Structure
|
1483
1787
|
end
|
@@ -1492,11 +1796,21 @@ module Aws::Lambda
|
|
1492
1796
|
# A presigned URL that you can use to download the deployment package.
|
1493
1797
|
# @return [String]
|
1494
1798
|
#
|
1799
|
+
# @!attribute [rw] image_uri
|
1800
|
+
# URI of a container image in the Amazon ECR registry.
|
1801
|
+
# @return [String]
|
1802
|
+
#
|
1803
|
+
# @!attribute [rw] resolved_image_uri
|
1804
|
+
# The resolved URI for the image.
|
1805
|
+
# @return [String]
|
1806
|
+
#
|
1495
1807
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCodeLocation AWS API Documentation
|
1496
1808
|
#
|
1497
1809
|
class FunctionCodeLocation < Struct.new(
|
1498
1810
|
:repository_type,
|
1499
|
-
:location
|
1811
|
+
:location,
|
1812
|
+
:image_uri,
|
1813
|
+
:resolved_image_uri)
|
1500
1814
|
SENSITIVE = []
|
1501
1815
|
include Aws::Structure
|
1502
1816
|
end
|
@@ -1537,7 +1851,7 @@ module Aws::Lambda
|
|
1537
1851
|
# @return [Integer]
|
1538
1852
|
#
|
1539
1853
|
# @!attribute [rw] memory_size
|
1540
|
-
# The memory
|
1854
|
+
# The amount of memory available to the function at runtime.
|
1541
1855
|
# @return [Integer]
|
1542
1856
|
#
|
1543
1857
|
# @!attribute [rw] last_modified
|
@@ -1627,6 +1941,23 @@ module Aws::Lambda
|
|
1627
1941
|
# Connection settings for an Amazon EFS file system.
|
1628
1942
|
# @return [Array<Types::FileSystemConfig>]
|
1629
1943
|
#
|
1944
|
+
# @!attribute [rw] package_type
|
1945
|
+
# The type of deployment package. Set to `Image` for container image
|
1946
|
+
# and set `Zip` for .zip file archive.
|
1947
|
+
# @return [String]
|
1948
|
+
#
|
1949
|
+
# @!attribute [rw] image_config_response
|
1950
|
+
# The function's image configuration values.
|
1951
|
+
# @return [Types::ImageConfigResponse]
|
1952
|
+
#
|
1953
|
+
# @!attribute [rw] signing_profile_version_arn
|
1954
|
+
# The ARN of the signing profile version.
|
1955
|
+
# @return [String]
|
1956
|
+
#
|
1957
|
+
# @!attribute [rw] signing_job_arn
|
1958
|
+
# The ARN of the signing job.
|
1959
|
+
# @return [String]
|
1960
|
+
#
|
1630
1961
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
|
1631
1962
|
#
|
1632
1963
|
class FunctionConfiguration < Struct.new(
|
@@ -1656,7 +1987,11 @@ module Aws::Lambda
|
|
1656
1987
|
:last_update_status,
|
1657
1988
|
:last_update_status_reason,
|
1658
1989
|
:last_update_status_reason_code,
|
1659
|
-
:file_system_configs
|
1990
|
+
:file_system_configs,
|
1991
|
+
:package_type,
|
1992
|
+
:image_config_response,
|
1993
|
+
:signing_profile_version_arn,
|
1994
|
+
:signing_job_arn)
|
1660
1995
|
SENSITIVE = []
|
1661
1996
|
include Aws::Structure
|
1662
1997
|
end
|
@@ -1767,6 +2102,38 @@ module Aws::Lambda
|
|
1767
2102
|
include Aws::Structure
|
1768
2103
|
end
|
1769
2104
|
|
2105
|
+
# @note When making an API call, you may pass GetCodeSigningConfigRequest
|
2106
|
+
# data as a hash:
|
2107
|
+
#
|
2108
|
+
# {
|
2109
|
+
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
2110
|
+
# }
|
2111
|
+
#
|
2112
|
+
# @!attribute [rw] code_signing_config_arn
|
2113
|
+
# The The Amazon Resource Name (ARN) of the code signing
|
2114
|
+
# configuration.
|
2115
|
+
# @return [String]
|
2116
|
+
#
|
2117
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetCodeSigningConfigRequest AWS API Documentation
|
2118
|
+
#
|
2119
|
+
class GetCodeSigningConfigRequest < Struct.new(
|
2120
|
+
:code_signing_config_arn)
|
2121
|
+
SENSITIVE = []
|
2122
|
+
include Aws::Structure
|
2123
|
+
end
|
2124
|
+
|
2125
|
+
# @!attribute [rw] code_signing_config
|
2126
|
+
# The code signing configuration
|
2127
|
+
# @return [Types::CodeSigningConfig]
|
2128
|
+
#
|
2129
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetCodeSigningConfigResponse AWS API Documentation
|
2130
|
+
#
|
2131
|
+
class GetCodeSigningConfigResponse < Struct.new(
|
2132
|
+
:code_signing_config)
|
2133
|
+
SENSITIVE = []
|
2134
|
+
include Aws::Structure
|
2135
|
+
end
|
2136
|
+
|
1770
2137
|
# @note When making an API call, you may pass GetEventSourceMappingRequest
|
1771
2138
|
# data as a hash:
|
1772
2139
|
#
|
@@ -1786,6 +2153,67 @@ module Aws::Lambda
|
|
1786
2153
|
include Aws::Structure
|
1787
2154
|
end
|
1788
2155
|
|
2156
|
+
# @note When making an API call, you may pass GetFunctionCodeSigningConfigRequest
|
2157
|
+
# data as a hash:
|
2158
|
+
#
|
2159
|
+
# {
|
2160
|
+
# function_name: "FunctionName", # required
|
2161
|
+
# }
|
2162
|
+
#
|
2163
|
+
# @!attribute [rw] function_name
|
2164
|
+
# The name of the Lambda function.
|
2165
|
+
#
|
2166
|
+
# **Name formats**
|
2167
|
+
#
|
2168
|
+
# * **Function name** - `MyFunction`.
|
2169
|
+
#
|
2170
|
+
# * **Function ARN** -
|
2171
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
2172
|
+
#
|
2173
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
2174
|
+
#
|
2175
|
+
# The length constraint applies only to the full ARN. If you specify
|
2176
|
+
# only the function name, it is limited to 64 characters in length.
|
2177
|
+
# @return [String]
|
2178
|
+
#
|
2179
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionCodeSigningConfigRequest AWS API Documentation
|
2180
|
+
#
|
2181
|
+
class GetFunctionCodeSigningConfigRequest < Struct.new(
|
2182
|
+
:function_name)
|
2183
|
+
SENSITIVE = []
|
2184
|
+
include Aws::Structure
|
2185
|
+
end
|
2186
|
+
|
2187
|
+
# @!attribute [rw] code_signing_config_arn
|
2188
|
+
# The The Amazon Resource Name (ARN) of the code signing
|
2189
|
+
# configuration.
|
2190
|
+
# @return [String]
|
2191
|
+
#
|
2192
|
+
# @!attribute [rw] function_name
|
2193
|
+
# The name of the Lambda function.
|
2194
|
+
#
|
2195
|
+
# **Name formats**
|
2196
|
+
#
|
2197
|
+
# * **Function name** - `MyFunction`.
|
2198
|
+
#
|
2199
|
+
# * **Function ARN** -
|
2200
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
2201
|
+
#
|
2202
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
2203
|
+
#
|
2204
|
+
# The length constraint applies only to the full ARN. If you specify
|
2205
|
+
# only the function name, it is limited to 64 characters in length.
|
2206
|
+
# @return [String]
|
2207
|
+
#
|
2208
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionCodeSigningConfigResponse AWS API Documentation
|
2209
|
+
#
|
2210
|
+
class GetFunctionCodeSigningConfigResponse < Struct.new(
|
2211
|
+
:code_signing_config_arn,
|
2212
|
+
:function_name)
|
2213
|
+
SENSITIVE = []
|
2214
|
+
include Aws::Structure
|
2215
|
+
end
|
2216
|
+
|
1789
2217
|
# @note When making an API call, you may pass GetFunctionConcurrencyRequest
|
1790
2218
|
# data as a hash:
|
1791
2219
|
#
|
@@ -2258,6 +2686,102 @@ module Aws::Lambda
|
|
2258
2686
|
include Aws::Structure
|
2259
2687
|
end
|
2260
2688
|
|
2689
|
+
# Configuration values that override the container image Dockerfile
|
2690
|
+
# settings. See [Container settings][1].
|
2691
|
+
#
|
2692
|
+
#
|
2693
|
+
#
|
2694
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
|
2695
|
+
#
|
2696
|
+
# @note When making an API call, you may pass ImageConfig
|
2697
|
+
# data as a hash:
|
2698
|
+
#
|
2699
|
+
# {
|
2700
|
+
# entry_point: ["String"],
|
2701
|
+
# command: ["String"],
|
2702
|
+
# working_directory: "WorkingDirectory",
|
2703
|
+
# }
|
2704
|
+
#
|
2705
|
+
# @!attribute [rw] entry_point
|
2706
|
+
# Specifies the entry point to their application, which is typically
|
2707
|
+
# the location of the runtime executable.
|
2708
|
+
# @return [Array<String>]
|
2709
|
+
#
|
2710
|
+
# @!attribute [rw] command
|
2711
|
+
# Specifies parameters that you want to pass in with ENTRYPOINT.
|
2712
|
+
# @return [Array<String>]
|
2713
|
+
#
|
2714
|
+
# @!attribute [rw] working_directory
|
2715
|
+
# Specifies the working directory.
|
2716
|
+
# @return [String]
|
2717
|
+
#
|
2718
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ImageConfig AWS API Documentation
|
2719
|
+
#
|
2720
|
+
class ImageConfig < Struct.new(
|
2721
|
+
:entry_point,
|
2722
|
+
:command,
|
2723
|
+
:working_directory)
|
2724
|
+
SENSITIVE = []
|
2725
|
+
include Aws::Structure
|
2726
|
+
end
|
2727
|
+
|
2728
|
+
# Error response to GetFunctionConfiguration.
|
2729
|
+
#
|
2730
|
+
# @!attribute [rw] error_code
|
2731
|
+
# Error code.
|
2732
|
+
# @return [String]
|
2733
|
+
#
|
2734
|
+
# @!attribute [rw] message
|
2735
|
+
# Error message.
|
2736
|
+
# @return [String]
|
2737
|
+
#
|
2738
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ImageConfigError AWS API Documentation
|
2739
|
+
#
|
2740
|
+
class ImageConfigError < Struct.new(
|
2741
|
+
:error_code,
|
2742
|
+
:message)
|
2743
|
+
SENSITIVE = [:message]
|
2744
|
+
include Aws::Structure
|
2745
|
+
end
|
2746
|
+
|
2747
|
+
# Response to GetFunctionConfiguration request.
|
2748
|
+
#
|
2749
|
+
# @!attribute [rw] image_config
|
2750
|
+
# Configuration values that override the container image Dockerfile.
|
2751
|
+
# @return [Types::ImageConfig]
|
2752
|
+
#
|
2753
|
+
# @!attribute [rw] error
|
2754
|
+
# Error response to GetFunctionConfiguration.
|
2755
|
+
# @return [Types::ImageConfigError]
|
2756
|
+
#
|
2757
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ImageConfigResponse AWS API Documentation
|
2758
|
+
#
|
2759
|
+
class ImageConfigResponse < Struct.new(
|
2760
|
+
:image_config,
|
2761
|
+
:error)
|
2762
|
+
SENSITIVE = []
|
2763
|
+
include Aws::Structure
|
2764
|
+
end
|
2765
|
+
|
2766
|
+
# The code signature failed the integrity check. Lambda always blocks
|
2767
|
+
# deployment if the integrity check fails, even if code signing policy
|
2768
|
+
# is set to WARN.
|
2769
|
+
#
|
2770
|
+
# @!attribute [rw] type
|
2771
|
+
# @return [String]
|
2772
|
+
#
|
2773
|
+
# @!attribute [rw] message
|
2774
|
+
# @return [String]
|
2775
|
+
#
|
2776
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvalidCodeSignatureException AWS API Documentation
|
2777
|
+
#
|
2778
|
+
class InvalidCodeSignatureException < Struct.new(
|
2779
|
+
:type,
|
2780
|
+
:message)
|
2781
|
+
SENSITIVE = []
|
2782
|
+
include Aws::Structure
|
2783
|
+
end
|
2784
|
+
|
2261
2785
|
# One of the parameters in the request is invalid.
|
2262
2786
|
#
|
2263
2787
|
# @!attribute [rw] type
|
@@ -2621,11 +3145,21 @@ module Aws::Lambda
|
|
2621
3145
|
# The size of the layer archive in bytes.
|
2622
3146
|
# @return [Integer]
|
2623
3147
|
#
|
3148
|
+
# @!attribute [rw] signing_profile_version_arn
|
3149
|
+
# The Amazon Resource Name (ARN) for a signing profile version.
|
3150
|
+
# @return [String]
|
3151
|
+
#
|
3152
|
+
# @!attribute [rw] signing_job_arn
|
3153
|
+
# The Amazon Resource Name (ARN) of a signing job.
|
3154
|
+
# @return [String]
|
3155
|
+
#
|
2624
3156
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Layer AWS API Documentation
|
2625
3157
|
#
|
2626
3158
|
class Layer < Struct.new(
|
2627
3159
|
:arn,
|
2628
|
-
:code_size
|
3160
|
+
:code_size,
|
3161
|
+
:signing_profile_version_arn,
|
3162
|
+
:signing_job_arn)
|
2629
3163
|
SENSITIVE = []
|
2630
3164
|
include Aws::Structure
|
2631
3165
|
end
|
@@ -2696,12 +3230,22 @@ module Aws::Lambda
|
|
2696
3230
|
# The size of the layer archive in bytes.
|
2697
3231
|
# @return [Integer]
|
2698
3232
|
#
|
3233
|
+
# @!attribute [rw] signing_profile_version_arn
|
3234
|
+
# The Amazon Resource Name (ARN) for a signing profile version.
|
3235
|
+
# @return [String]
|
3236
|
+
#
|
3237
|
+
# @!attribute [rw] signing_job_arn
|
3238
|
+
# The Amazon Resource Name (ARN) of a signing job.
|
3239
|
+
# @return [String]
|
3240
|
+
#
|
2699
3241
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/LayerVersionContentOutput AWS API Documentation
|
2700
3242
|
#
|
2701
3243
|
class LayerVersionContentOutput < Struct.new(
|
2702
3244
|
:location,
|
2703
3245
|
:code_sha_256,
|
2704
|
-
:code_size
|
3246
|
+
:code_size,
|
3247
|
+
:signing_profile_version_arn,
|
3248
|
+
:signing_job_arn)
|
2705
3249
|
SENSITIVE = []
|
2706
3250
|
include Aws::Structure
|
2707
3251
|
end
|
@@ -2846,6 +3390,49 @@ module Aws::Lambda
|
|
2846
3390
|
include Aws::Structure
|
2847
3391
|
end
|
2848
3392
|
|
3393
|
+
# @note When making an API call, you may pass ListCodeSigningConfigsRequest
|
3394
|
+
# data as a hash:
|
3395
|
+
#
|
3396
|
+
# {
|
3397
|
+
# marker: "String",
|
3398
|
+
# max_items: 1,
|
3399
|
+
# }
|
3400
|
+
#
|
3401
|
+
# @!attribute [rw] marker
|
3402
|
+
# Specify the pagination token that's returned by a previous request
|
3403
|
+
# to retrieve the next page of results.
|
3404
|
+
# @return [String]
|
3405
|
+
#
|
3406
|
+
# @!attribute [rw] max_items
|
3407
|
+
# Maximum number of items to return.
|
3408
|
+
# @return [Integer]
|
3409
|
+
#
|
3410
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCodeSigningConfigsRequest AWS API Documentation
|
3411
|
+
#
|
3412
|
+
class ListCodeSigningConfigsRequest < Struct.new(
|
3413
|
+
:marker,
|
3414
|
+
:max_items)
|
3415
|
+
SENSITIVE = []
|
3416
|
+
include Aws::Structure
|
3417
|
+
end
|
3418
|
+
|
3419
|
+
# @!attribute [rw] next_marker
|
3420
|
+
# The pagination token that's included if more results are available.
|
3421
|
+
# @return [String]
|
3422
|
+
#
|
3423
|
+
# @!attribute [rw] code_signing_configs
|
3424
|
+
# The code signing configurations
|
3425
|
+
# @return [Array<Types::CodeSigningConfig>]
|
3426
|
+
#
|
3427
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCodeSigningConfigsResponse AWS API Documentation
|
3428
|
+
#
|
3429
|
+
class ListCodeSigningConfigsResponse < Struct.new(
|
3430
|
+
:next_marker,
|
3431
|
+
:code_signing_configs)
|
3432
|
+
SENSITIVE = []
|
3433
|
+
include Aws::Structure
|
3434
|
+
end
|
3435
|
+
|
2849
3436
|
# @note When making an API call, you may pass ListEventSourceMappingsRequest
|
2850
3437
|
# data as a hash:
|
2851
3438
|
#
|
@@ -2987,6 +3574,56 @@ module Aws::Lambda
|
|
2987
3574
|
include Aws::Structure
|
2988
3575
|
end
|
2989
3576
|
|
3577
|
+
# @note When making an API call, you may pass ListFunctionsByCodeSigningConfigRequest
|
3578
|
+
# data as a hash:
|
3579
|
+
#
|
3580
|
+
# {
|
3581
|
+
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
3582
|
+
# marker: "String",
|
3583
|
+
# max_items: 1,
|
3584
|
+
# }
|
3585
|
+
#
|
3586
|
+
# @!attribute [rw] code_signing_config_arn
|
3587
|
+
# The The Amazon Resource Name (ARN) of the code signing
|
3588
|
+
# configuration.
|
3589
|
+
# @return [String]
|
3590
|
+
#
|
3591
|
+
# @!attribute [rw] marker
|
3592
|
+
# Specify the pagination token that's returned by a previous request
|
3593
|
+
# to retrieve the next page of results.
|
3594
|
+
# @return [String]
|
3595
|
+
#
|
3596
|
+
# @!attribute [rw] max_items
|
3597
|
+
# Maximum number of items to return.
|
3598
|
+
# @return [Integer]
|
3599
|
+
#
|
3600
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsByCodeSigningConfigRequest AWS API Documentation
|
3601
|
+
#
|
3602
|
+
class ListFunctionsByCodeSigningConfigRequest < Struct.new(
|
3603
|
+
:code_signing_config_arn,
|
3604
|
+
:marker,
|
3605
|
+
:max_items)
|
3606
|
+
SENSITIVE = []
|
3607
|
+
include Aws::Structure
|
3608
|
+
end
|
3609
|
+
|
3610
|
+
# @!attribute [rw] next_marker
|
3611
|
+
# The pagination token that's included if more results are available.
|
3612
|
+
# @return [String]
|
3613
|
+
#
|
3614
|
+
# @!attribute [rw] function_arns
|
3615
|
+
# The function ARNs.
|
3616
|
+
# @return [Array<String>]
|
3617
|
+
#
|
3618
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsByCodeSigningConfigResponse AWS API Documentation
|
3619
|
+
#
|
3620
|
+
class ListFunctionsByCodeSigningConfigResponse < Struct.new(
|
3621
|
+
:next_marker,
|
3622
|
+
:function_arns)
|
3623
|
+
SENSITIVE = []
|
3624
|
+
include Aws::Structure
|
3625
|
+
end
|
3626
|
+
|
2990
3627
|
# @note When making an API call, you may pass ListFunctionsRequest
|
2991
3628
|
# data as a hash:
|
2992
3629
|
#
|
@@ -3630,6 +4267,74 @@ module Aws::Lambda
|
|
3630
4267
|
include Aws::Structure
|
3631
4268
|
end
|
3632
4269
|
|
4270
|
+
# @note When making an API call, you may pass PutFunctionCodeSigningConfigRequest
|
4271
|
+
# data as a hash:
|
4272
|
+
#
|
4273
|
+
# {
|
4274
|
+
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
4275
|
+
# function_name: "FunctionName", # required
|
4276
|
+
# }
|
4277
|
+
#
|
4278
|
+
# @!attribute [rw] code_signing_config_arn
|
4279
|
+
# The The Amazon Resource Name (ARN) of the code signing
|
4280
|
+
# configuration.
|
4281
|
+
# @return [String]
|
4282
|
+
#
|
4283
|
+
# @!attribute [rw] function_name
|
4284
|
+
# The name of the Lambda function.
|
4285
|
+
#
|
4286
|
+
# **Name formats**
|
4287
|
+
#
|
4288
|
+
# * **Function name** - `MyFunction`.
|
4289
|
+
#
|
4290
|
+
# * **Function ARN** -
|
4291
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
4292
|
+
#
|
4293
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
4294
|
+
#
|
4295
|
+
# The length constraint applies only to the full ARN. If you specify
|
4296
|
+
# only the function name, it is limited to 64 characters in length.
|
4297
|
+
# @return [String]
|
4298
|
+
#
|
4299
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionCodeSigningConfigRequest AWS API Documentation
|
4300
|
+
#
|
4301
|
+
class PutFunctionCodeSigningConfigRequest < Struct.new(
|
4302
|
+
:code_signing_config_arn,
|
4303
|
+
:function_name)
|
4304
|
+
SENSITIVE = []
|
4305
|
+
include Aws::Structure
|
4306
|
+
end
|
4307
|
+
|
4308
|
+
# @!attribute [rw] code_signing_config_arn
|
4309
|
+
# The The Amazon Resource Name (ARN) of the code signing
|
4310
|
+
# configuration.
|
4311
|
+
# @return [String]
|
4312
|
+
#
|
4313
|
+
# @!attribute [rw] function_name
|
4314
|
+
# The name of the Lambda function.
|
4315
|
+
#
|
4316
|
+
# **Name formats**
|
4317
|
+
#
|
4318
|
+
# * **Function name** - `MyFunction`.
|
4319
|
+
#
|
4320
|
+
# * **Function ARN** -
|
4321
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
4322
|
+
#
|
4323
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
4324
|
+
#
|
4325
|
+
# The length constraint applies only to the full ARN. If you specify
|
4326
|
+
# only the function name, it is limited to 64 characters in length.
|
4327
|
+
# @return [String]
|
4328
|
+
#
|
4329
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionCodeSigningConfigResponse AWS API Documentation
|
4330
|
+
#
|
4331
|
+
class PutFunctionCodeSigningConfigResponse < Struct.new(
|
4332
|
+
:code_signing_config_arn,
|
4333
|
+
:function_name)
|
4334
|
+
SENSITIVE = []
|
4335
|
+
include Aws::Structure
|
4336
|
+
end
|
4337
|
+
|
3633
4338
|
# @note When making an API call, you may pass PutFunctionConcurrencyRequest
|
3634
4339
|
# data as a hash:
|
3635
4340
|
#
|
@@ -4023,6 +4728,31 @@ module Aws::Lambda
|
|
4023
4728
|
include Aws::Structure
|
4024
4729
|
end
|
4025
4730
|
|
4731
|
+
# The Self-Managed Apache Kafka cluster for your event source.
|
4732
|
+
#
|
4733
|
+
# @note When making an API call, you may pass SelfManagedEventSource
|
4734
|
+
# data as a hash:
|
4735
|
+
#
|
4736
|
+
# {
|
4737
|
+
# endpoints: {
|
4738
|
+
# "KAFKA_BOOTSTRAP_SERVERS" => ["Endpoint"],
|
4739
|
+
# },
|
4740
|
+
# }
|
4741
|
+
#
|
4742
|
+
# @!attribute [rw] endpoints
|
4743
|
+
# The list of bootstrap servers for your Kafka brokers in the
|
4744
|
+
# following format: `"KAFKA_BOOTSTRAP_SERVERS":
|
4745
|
+
# ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]`.
|
4746
|
+
# @return [Hash<String,Array<String>>]
|
4747
|
+
#
|
4748
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SelfManagedEventSource AWS API Documentation
|
4749
|
+
#
|
4750
|
+
class SelfManagedEventSource < Struct.new(
|
4751
|
+
:endpoints)
|
4752
|
+
SENSITIVE = []
|
4753
|
+
include Aws::Structure
|
4754
|
+
end
|
4755
|
+
|
4026
4756
|
# The AWS Lambda service encountered an internal error.
|
4027
4757
|
#
|
4028
4758
|
# @!attribute [rw] type
|
@@ -4040,36 +4770,41 @@ module Aws::Lambda
|
|
4040
4770
|
include Aws::Structure
|
4041
4771
|
end
|
4042
4772
|
|
4043
|
-
#
|
4044
|
-
#
|
4045
|
-
# username", "password": "your password" \}`
|
4773
|
+
# You can specify the authentication protocol, or the VPC components to
|
4774
|
+
# secure access to your event source.
|
4046
4775
|
#
|
4047
4776
|
# @note When making an API call, you may pass SourceAccessConfiguration
|
4048
4777
|
# data as a hash:
|
4049
4778
|
#
|
4050
4779
|
# {
|
4051
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH
|
4052
|
-
# uri: "
|
4780
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
|
4781
|
+
# uri: "URI",
|
4053
4782
|
# }
|
4054
4783
|
#
|
4055
4784
|
# @!attribute [rw] type
|
4056
|
-
#
|
4057
|
-
#
|
4785
|
+
# The type of authentication protocol or the VPC components for your
|
4786
|
+
# event source. For example: `"Type":"SASL_SCRAM_512_AUTH"`.
|
4787
|
+
#
|
4788
|
+
# * `BASIC_AUTH` - (MQ) The Secrets Manager secret that stores your
|
4789
|
+
# broker credentials.
|
4790
|
+
#
|
4791
|
+
# * `VPC_SUBNET` - The subnets associated with your VPC. Lambda
|
4792
|
+
# connects to these subnets to fetch data from your Kafka cluster.
|
4058
4793
|
#
|
4059
|
-
#
|
4060
|
-
#
|
4061
|
-
#
|
4062
|
-
#
|
4794
|
+
# * `VPC_SECURITY_GROUP` - The VPC security group used to manage
|
4795
|
+
# access to your Kafka brokers.
|
4796
|
+
#
|
4797
|
+
# * `SASL_SCRAM_256_AUTH` - The ARN of your secret key used for SASL
|
4798
|
+
# SCRAM-256 authentication of your Kafka brokers.
|
4799
|
+
#
|
4800
|
+
# * `SASL_SCRAM_512_AUTH` - The ARN of your secret key used for SASL
|
4801
|
+
# SCRAM-512 authentication of your Kafka brokers.
|
4063
4802
|
# @return [String]
|
4064
4803
|
#
|
4065
4804
|
# @!attribute [rw] uri
|
4066
|
-
#
|
4067
|
-
# "
|
4068
|
-
#
|
4069
|
-
# The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
|
4070
|
-
# you can use customer or service managed keys. When using a customer
|
4071
|
-
# managed KMS key, the Lambda execution role requires `kms:Decrypt`
|
4072
|
-
# permissions.
|
4805
|
+
# The value for your chosen configuration in `Type`. For example:
|
4806
|
+
# `"URI":
|
4807
|
+
# "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName"`.
|
4073
4808
|
# @return [String]
|
4074
4809
|
#
|
4075
4810
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SourceAccessConfiguration AWS API Documentation
|
@@ -4301,6 +5036,60 @@ module Aws::Lambda
|
|
4301
5036
|
include Aws::Structure
|
4302
5037
|
end
|
4303
5038
|
|
5039
|
+
# @note When making an API call, you may pass UpdateCodeSigningConfigRequest
|
5040
|
+
# data as a hash:
|
5041
|
+
#
|
5042
|
+
# {
|
5043
|
+
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
5044
|
+
# description: "Description",
|
5045
|
+
# allowed_publishers: {
|
5046
|
+
# signing_profile_version_arns: ["Arn"], # required
|
5047
|
+
# },
|
5048
|
+
# code_signing_policies: {
|
5049
|
+
# untrusted_artifact_on_deployment: "Warn", # accepts Warn, Enforce
|
5050
|
+
# },
|
5051
|
+
# }
|
5052
|
+
#
|
5053
|
+
# @!attribute [rw] code_signing_config_arn
|
5054
|
+
# The The Amazon Resource Name (ARN) of the code signing
|
5055
|
+
# configuration.
|
5056
|
+
# @return [String]
|
5057
|
+
#
|
5058
|
+
# @!attribute [rw] description
|
5059
|
+
# Descriptive name for this code signing configuration.
|
5060
|
+
# @return [String]
|
5061
|
+
#
|
5062
|
+
# @!attribute [rw] allowed_publishers
|
5063
|
+
# Signing profiles for this code signing configuration.
|
5064
|
+
# @return [Types::AllowedPublishers]
|
5065
|
+
#
|
5066
|
+
# @!attribute [rw] code_signing_policies
|
5067
|
+
# The code signing policy.
|
5068
|
+
# @return [Types::CodeSigningPolicies]
|
5069
|
+
#
|
5070
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCodeSigningConfigRequest AWS API Documentation
|
5071
|
+
#
|
5072
|
+
class UpdateCodeSigningConfigRequest < Struct.new(
|
5073
|
+
:code_signing_config_arn,
|
5074
|
+
:description,
|
5075
|
+
:allowed_publishers,
|
5076
|
+
:code_signing_policies)
|
5077
|
+
SENSITIVE = []
|
5078
|
+
include Aws::Structure
|
5079
|
+
end
|
5080
|
+
|
5081
|
+
# @!attribute [rw] code_signing_config
|
5082
|
+
# The code signing configuration
|
5083
|
+
# @return [Types::CodeSigningConfig]
|
5084
|
+
#
|
5085
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCodeSigningConfigResponse AWS API Documentation
|
5086
|
+
#
|
5087
|
+
class UpdateCodeSigningConfigResponse < Struct.new(
|
5088
|
+
:code_signing_config)
|
5089
|
+
SENSITIVE = []
|
5090
|
+
include Aws::Structure
|
5091
|
+
end
|
5092
|
+
|
4304
5093
|
# @note When making an API call, you may pass UpdateEventSourceMappingRequest
|
4305
5094
|
# data as a hash:
|
4306
5095
|
#
|
@@ -4324,10 +5113,12 @@ module Aws::Lambda
|
|
4324
5113
|
# parallelization_factor: 1,
|
4325
5114
|
# source_access_configurations: [
|
4326
5115
|
# {
|
4327
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH
|
4328
|
-
# uri: "
|
5116
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
|
5117
|
+
# uri: "URI",
|
4329
5118
|
# },
|
4330
5119
|
# ],
|
5120
|
+
# tumbling_window_in_seconds: 1,
|
5121
|
+
# function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
|
4331
5122
|
# }
|
4332
5123
|
#
|
4333
5124
|
# @!attribute [rw] uuid
|
@@ -4365,15 +5156,18 @@ module Aws::Lambda
|
|
4365
5156
|
#
|
4366
5157
|
# * **Amazon DynamoDB Streams** - Default 100. Max 1,000.
|
4367
5158
|
#
|
4368
|
-
# * **Amazon Simple Queue Service** - Default 10.
|
5159
|
+
# * **Amazon Simple Queue Service** - Default 10. For standard queues
|
5160
|
+
# the max is 10,000. For FIFO queues the max is 10.
|
4369
5161
|
#
|
4370
5162
|
# * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
|
4371
5163
|
# 10,000.
|
5164
|
+
#
|
5165
|
+
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
4372
5166
|
# @return [Integer]
|
4373
5167
|
#
|
4374
5168
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
4375
|
-
# (Streams) The maximum amount of time to
|
4376
|
-
# invoking the function, in seconds.
|
5169
|
+
# (Streams and SQS standard queues) The maximum amount of time to
|
5170
|
+
# gather records before invoking the function, in seconds.
|
4377
5171
|
# @return [Integer]
|
4378
5172
|
#
|
4379
5173
|
# @!attribute [rw] destination_config
|
@@ -4403,18 +5197,19 @@ module Aws::Lambda
|
|
4403
5197
|
# @return [Integer]
|
4404
5198
|
#
|
4405
5199
|
# @!attribute [rw] source_access_configurations
|
4406
|
-
#
|
4407
|
-
#
|
4408
|
-
#
|
5200
|
+
# An array of the authentication protocol, or the VPC components to
|
5201
|
+
# secure your event source.
|
5202
|
+
# @return [Array<Types::SourceAccessConfiguration>]
|
4409
5203
|
#
|
4410
|
-
#
|
4411
|
-
#
|
5204
|
+
# @!attribute [rw] tumbling_window_in_seconds
|
5205
|
+
# (Streams) The duration of a processing window in seconds. The range
|
5206
|
+
# is between 1 second up to 15 minutes.
|
5207
|
+
# @return [Integer]
|
4412
5208
|
#
|
4413
|
-
#
|
4414
|
-
#
|
4415
|
-
#
|
4416
|
-
#
|
4417
|
-
# @return [Array<Types::SourceAccessConfiguration>]
|
5209
|
+
# @!attribute [rw] function_response_types
|
5210
|
+
# (Streams) A list of current response type enums applied to the event
|
5211
|
+
# source mapping.
|
5212
|
+
# @return [Array<String>]
|
4418
5213
|
#
|
4419
5214
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
|
4420
5215
|
#
|
@@ -4429,7 +5224,9 @@ module Aws::Lambda
|
|
4429
5224
|
:bisect_batch_on_function_error,
|
4430
5225
|
:maximum_retry_attempts,
|
4431
5226
|
:parallelization_factor,
|
4432
|
-
:source_access_configurations
|
5227
|
+
:source_access_configurations,
|
5228
|
+
:tumbling_window_in_seconds,
|
5229
|
+
:function_response_types)
|
4433
5230
|
SENSITIVE = []
|
4434
5231
|
include Aws::Structure
|
4435
5232
|
end
|
@@ -4443,6 +5240,7 @@ module Aws::Lambda
|
|
4443
5240
|
# s3_bucket: "S3Bucket",
|
4444
5241
|
# s3_key: "S3Key",
|
4445
5242
|
# s3_object_version: "S3ObjectVersion",
|
5243
|
+
# image_uri: "String",
|
4446
5244
|
# publish: false,
|
4447
5245
|
# dry_run: false,
|
4448
5246
|
# revision_id: "String",
|
@@ -4483,6 +5281,10 @@ module Aws::Lambda
|
|
4483
5281
|
# to use.
|
4484
5282
|
# @return [String]
|
4485
5283
|
#
|
5284
|
+
# @!attribute [rw] image_uri
|
5285
|
+
# URI of a container image in the Amazon ECR registry.
|
5286
|
+
# @return [String]
|
5287
|
+
#
|
4486
5288
|
# @!attribute [rw] publish
|
4487
5289
|
# Set to true to publish a new version of the function after updating
|
4488
5290
|
# the code. This has the same effect as calling PublishVersion
|
@@ -4508,6 +5310,7 @@ module Aws::Lambda
|
|
4508
5310
|
:s3_bucket,
|
4509
5311
|
:s3_key,
|
4510
5312
|
:s3_object_version,
|
5313
|
+
:image_uri,
|
4511
5314
|
:publish,
|
4512
5315
|
:dry_run,
|
4513
5316
|
:revision_id)
|
@@ -4550,6 +5353,11 @@ module Aws::Lambda
|
|
4550
5353
|
# local_mount_path: "LocalMountPath", # required
|
4551
5354
|
# },
|
4552
5355
|
# ],
|
5356
|
+
# image_config: {
|
5357
|
+
# entry_point: ["String"],
|
5358
|
+
# command: ["String"],
|
5359
|
+
# working_directory: "WorkingDirectory",
|
5360
|
+
# },
|
4553
5361
|
# }
|
4554
5362
|
#
|
4555
5363
|
# @!attribute [rw] function_name
|
@@ -4594,9 +5402,9 @@ module Aws::Lambda
|
|
4594
5402
|
# @return [Integer]
|
4595
5403
|
#
|
4596
5404
|
# @!attribute [rw] memory_size
|
4597
|
-
# The amount of memory
|
4598
|
-
# the function's memory also increases its CPU allocation.
|
4599
|
-
# default value is 128 MB. The value
|
5405
|
+
# The amount of memory available to the function at runtime.
|
5406
|
+
# Increasing the function's memory also increases its CPU allocation.
|
5407
|
+
# The default value is 128 MB. The value can be any multiple of 1 MB.
|
4600
5408
|
# @return [Integer]
|
4601
5409
|
#
|
4602
5410
|
# @!attribute [rw] vpc_config
|
@@ -4663,6 +5471,10 @@ module Aws::Lambda
|
|
4663
5471
|
# Connection settings for an Amazon EFS file system.
|
4664
5472
|
# @return [Array<Types::FileSystemConfig>]
|
4665
5473
|
#
|
5474
|
+
# @!attribute [rw] image_config
|
5475
|
+
# Configuration values that override the container image Dockerfile.
|
5476
|
+
# @return [Types::ImageConfig]
|
5477
|
+
#
|
4666
5478
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
|
4667
5479
|
#
|
4668
5480
|
class UpdateFunctionConfigurationRequest < Struct.new(
|
@@ -4680,7 +5492,8 @@ module Aws::Lambda
|
|
4680
5492
|
:tracing_config,
|
4681
5493
|
:revision_id,
|
4682
5494
|
:layers,
|
4683
|
-
:file_system_configs
|
5495
|
+
:file_system_configs,
|
5496
|
+
:image_config)
|
4684
5497
|
SENSITIVE = []
|
4685
5498
|
include Aws::Structure
|
4686
5499
|
end
|