aws-sdk-lambda 1.68.0 → 1.72.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +230 -42
- data/lib/aws-sdk-lambda/client_api.rb +16 -0
- data/lib/aws-sdk-lambda/types.rb +183 -42
- data/lib/aws-sdk-lambda.rb +1 -1
- metadata +4 -4
@@ -27,6 +27,8 @@ module Aws::Lambda
|
|
27
27
|
AliasList = Shapes::ListShape.new(name: 'AliasList')
|
28
28
|
AliasRoutingConfiguration = Shapes::StructureShape.new(name: 'AliasRoutingConfiguration')
|
29
29
|
AllowedPublishers = Shapes::StructureShape.new(name: 'AllowedPublishers')
|
30
|
+
Architecture = Shapes::StringShape.new(name: 'Architecture')
|
31
|
+
ArchitecturesList = Shapes::ListShape.new(name: 'ArchitecturesList')
|
30
32
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
31
33
|
BatchSize = Shapes::IntegerShape.new(name: 'BatchSize')
|
32
34
|
BisectBatchOnFunctionError = Shapes::BooleanShape.new(name: 'BisectBatchOnFunctionError')
|
@@ -42,6 +44,7 @@ module Aws::Lambda
|
|
42
44
|
CodeSigningPolicy = Shapes::StringShape.new(name: 'CodeSigningPolicy')
|
43
45
|
CodeStorageExceededException = Shapes::StructureShape.new(name: 'CodeStorageExceededException')
|
44
46
|
CodeVerificationFailedException = Shapes::StructureShape.new(name: 'CodeVerificationFailedException')
|
47
|
+
CompatibleArchitectures = Shapes::ListShape.new(name: 'CompatibleArchitectures')
|
45
48
|
CompatibleRuntimes = Shapes::ListShape.new(name: 'CompatibleRuntimes')
|
46
49
|
Concurrency = Shapes::StructureShape.new(name: 'Concurrency')
|
47
50
|
CreateAliasRequest = Shapes::StructureShape.new(name: 'CreateAliasRequest')
|
@@ -355,6 +358,8 @@ module Aws::Lambda
|
|
355
358
|
AllowedPublishers.add_member(:signing_profile_version_arns, Shapes::ShapeRef.new(shape: SigningProfileVersionArns, required: true, location_name: "SigningProfileVersionArns"))
|
356
359
|
AllowedPublishers.struct_class = Types::AllowedPublishers
|
357
360
|
|
361
|
+
ArchitecturesList.member = Shapes::ShapeRef.new(shape: Architecture)
|
362
|
+
|
358
363
|
CodeSigningConfig.add_member(:code_signing_config_id, Shapes::ShapeRef.new(shape: CodeSigningConfigId, required: true, location_name: "CodeSigningConfigId"))
|
359
364
|
CodeSigningConfig.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location_name: "CodeSigningConfigArn"))
|
360
365
|
CodeSigningConfig.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
@@ -380,6 +385,8 @@ module Aws::Lambda
|
|
380
385
|
CodeVerificationFailedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
381
386
|
CodeVerificationFailedException.struct_class = Types::CodeVerificationFailedException
|
382
387
|
|
388
|
+
CompatibleArchitectures.member = Shapes::ShapeRef.new(shape: Architecture)
|
389
|
+
|
383
390
|
CompatibleRuntimes.member = Shapes::ShapeRef.new(shape: Runtime)
|
384
391
|
|
385
392
|
Concurrency.add_member(:reserved_concurrent_executions, Shapes::ShapeRef.new(shape: ReservedConcurrentExecutions, location_name: "ReservedConcurrentExecutions"))
|
@@ -440,6 +447,7 @@ module Aws::Lambda
|
|
440
447
|
CreateFunctionRequest.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
|
441
448
|
CreateFunctionRequest.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
|
442
449
|
CreateFunctionRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, location_name: "CodeSigningConfigArn"))
|
450
|
+
CreateFunctionRequest.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
|
443
451
|
CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
|
444
452
|
|
445
453
|
DeadLetterConfig.add_member(:target_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "TargetArn"))
|
@@ -613,6 +621,7 @@ module Aws::Lambda
|
|
613
621
|
FunctionConfiguration.add_member(:image_config_response, Shapes::ShapeRef.new(shape: ImageConfigResponse, location_name: "ImageConfigResponse"))
|
614
622
|
FunctionConfiguration.add_member(:signing_profile_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningProfileVersionArn"))
|
615
623
|
FunctionConfiguration.add_member(:signing_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningJobArn"))
|
624
|
+
FunctionConfiguration.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
|
616
625
|
FunctionConfiguration.struct_class = Types::FunctionConfiguration
|
617
626
|
|
618
627
|
FunctionEventInvokeConfig.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
|
@@ -701,6 +710,7 @@ module Aws::Lambda
|
|
701
710
|
GetLayerVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: LayerVersionNumber, location_name: "Version"))
|
702
711
|
GetLayerVersionResponse.add_member(:compatible_runtimes, Shapes::ShapeRef.new(shape: CompatibleRuntimes, location_name: "CompatibleRuntimes"))
|
703
712
|
GetLayerVersionResponse.add_member(:license_info, Shapes::ShapeRef.new(shape: LicenseInfo, location_name: "LicenseInfo"))
|
713
|
+
GetLayerVersionResponse.add_member(:compatible_architectures, Shapes::ShapeRef.new(shape: CompatibleArchitectures, location_name: "CompatibleArchitectures"))
|
704
714
|
GetLayerVersionResponse.struct_class = Types::GetLayerVersionResponse
|
705
715
|
|
706
716
|
GetPolicyRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
@@ -837,6 +847,7 @@ module Aws::Lambda
|
|
837
847
|
LayerVersionsListItem.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedDate"))
|
838
848
|
LayerVersionsListItem.add_member(:compatible_runtimes, Shapes::ShapeRef.new(shape: CompatibleRuntimes, location_name: "CompatibleRuntimes"))
|
839
849
|
LayerVersionsListItem.add_member(:license_info, Shapes::ShapeRef.new(shape: LicenseInfo, location_name: "LicenseInfo"))
|
850
|
+
LayerVersionsListItem.add_member(:compatible_architectures, Shapes::ShapeRef.new(shape: CompatibleArchitectures, location_name: "CompatibleArchitectures"))
|
840
851
|
LayerVersionsListItem.struct_class = Types::LayerVersionsListItem
|
841
852
|
|
842
853
|
LayersList.member = Shapes::ShapeRef.new(shape: LayersListItem)
|
@@ -908,6 +919,7 @@ module Aws::Lambda
|
|
908
919
|
ListLayerVersionsRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
|
909
920
|
ListLayerVersionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
|
910
921
|
ListLayerVersionsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxLayerListItems, location: "querystring", location_name: "MaxItems"))
|
922
|
+
ListLayerVersionsRequest.add_member(:compatible_architecture, Shapes::ShapeRef.new(shape: Architecture, location: "querystring", location_name: "CompatibleArchitecture"))
|
911
923
|
ListLayerVersionsRequest.struct_class = Types::ListLayerVersionsRequest
|
912
924
|
|
913
925
|
ListLayerVersionsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
|
@@ -917,6 +929,7 @@ module Aws::Lambda
|
|
917
929
|
ListLayersRequest.add_member(:compatible_runtime, Shapes::ShapeRef.new(shape: Runtime, location: "querystring", location_name: "CompatibleRuntime"))
|
918
930
|
ListLayersRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
|
919
931
|
ListLayersRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxLayerListItems, location: "querystring", location_name: "MaxItems"))
|
932
|
+
ListLayersRequest.add_member(:compatible_architecture, Shapes::ShapeRef.new(shape: Architecture, location: "querystring", location_name: "CompatibleArchitecture"))
|
920
933
|
ListLayersRequest.struct_class = Types::ListLayersRequest
|
921
934
|
|
922
935
|
ListLayersResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
|
@@ -981,6 +994,7 @@ module Aws::Lambda
|
|
981
994
|
PublishLayerVersionRequest.add_member(:content, Shapes::ShapeRef.new(shape: LayerVersionContentInput, required: true, location_name: "Content"))
|
982
995
|
PublishLayerVersionRequest.add_member(:compatible_runtimes, Shapes::ShapeRef.new(shape: CompatibleRuntimes, location_name: "CompatibleRuntimes"))
|
983
996
|
PublishLayerVersionRequest.add_member(:license_info, Shapes::ShapeRef.new(shape: LicenseInfo, location_name: "LicenseInfo"))
|
997
|
+
PublishLayerVersionRequest.add_member(:compatible_architectures, Shapes::ShapeRef.new(shape: CompatibleArchitectures, location_name: "CompatibleArchitectures"))
|
984
998
|
PublishLayerVersionRequest.struct_class = Types::PublishLayerVersionRequest
|
985
999
|
|
986
1000
|
PublishLayerVersionResponse.add_member(:content, Shapes::ShapeRef.new(shape: LayerVersionContentOutput, location_name: "Content"))
|
@@ -991,6 +1005,7 @@ module Aws::Lambda
|
|
991
1005
|
PublishLayerVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: LayerVersionNumber, location_name: "Version"))
|
992
1006
|
PublishLayerVersionResponse.add_member(:compatible_runtimes, Shapes::ShapeRef.new(shape: CompatibleRuntimes, location_name: "CompatibleRuntimes"))
|
993
1007
|
PublishLayerVersionResponse.add_member(:license_info, Shapes::ShapeRef.new(shape: LicenseInfo, location_name: "LicenseInfo"))
|
1008
|
+
PublishLayerVersionResponse.add_member(:compatible_architectures, Shapes::ShapeRef.new(shape: CompatibleArchitectures, location_name: "CompatibleArchitectures"))
|
994
1009
|
PublishLayerVersionResponse.struct_class = Types::PublishLayerVersionResponse
|
995
1010
|
|
996
1011
|
PublishVersionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
@@ -1162,6 +1177,7 @@ module Aws::Lambda
|
|
1162
1177
|
UpdateFunctionCodeRequest.add_member(:publish, Shapes::ShapeRef.new(shape: Boolean, location_name: "Publish"))
|
1163
1178
|
UpdateFunctionCodeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
1164
1179
|
UpdateFunctionCodeRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
|
1180
|
+
UpdateFunctionCodeRequest.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
|
1165
1181
|
UpdateFunctionCodeRequest.struct_class = Types::UpdateFunctionCodeRequest
|
1166
1182
|
|
1167
1183
|
UpdateFunctionConfigurationRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -205,6 +205,9 @@ module Aws::Lambda
|
|
205
205
|
# For Amazon Web Services services, the ARN of the Amazon Web Services
|
206
206
|
# resource that invokes the function. For example, an Amazon S3 bucket
|
207
207
|
# or Amazon SNS topic.
|
208
|
+
#
|
209
|
+
# Note that Lambda configures the comparison using the `StringLike`
|
210
|
+
# operator.
|
208
211
|
# @return [String]
|
209
212
|
#
|
210
213
|
# @!attribute [rw] source_account
|
@@ -497,7 +500,7 @@ module Aws::Lambda
|
|
497
500
|
#
|
498
501
|
#
|
499
502
|
#
|
500
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/
|
503
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html
|
501
504
|
# @return [Integer]
|
502
505
|
#
|
503
506
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Concurrency AWS API Documentation
|
@@ -647,7 +650,7 @@ module Aws::Lambda
|
|
647
650
|
# queues: ["Queue"],
|
648
651
|
# source_access_configurations: [
|
649
652
|
# {
|
650
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
|
653
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
|
651
654
|
# uri: "URI",
|
652
655
|
# },
|
653
656
|
# ],
|
@@ -693,12 +696,17 @@ module Aws::Lambda
|
|
693
696
|
# @return [String]
|
694
697
|
#
|
695
698
|
# @!attribute [rw] enabled
|
696
|
-
#
|
697
|
-
# polling and invocation.
|
699
|
+
# When true, the event source mapping is active. When false, Lambda
|
700
|
+
# pauses polling and invocation.
|
701
|
+
#
|
702
|
+
# Default: True
|
698
703
|
# @return [Boolean]
|
699
704
|
#
|
700
705
|
# @!attribute [rw] batch_size
|
701
|
-
# The maximum number of
|
706
|
+
# The maximum number of records in each batch that Lambda pulls from
|
707
|
+
# your stream or queue and sends to your function. Lambda passes all
|
708
|
+
# of the records in the batch to the function in a single call, up to
|
709
|
+
# the payload limit for synchronous invocation (6 MB).
|
702
710
|
#
|
703
711
|
# * **Amazon Kinesis** - Default 100. Max 10,000.
|
704
712
|
#
|
@@ -711,11 +719,19 @@ module Aws::Lambda
|
|
711
719
|
# 10,000.
|
712
720
|
#
|
713
721
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
722
|
+
#
|
723
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
714
724
|
# @return [Integer]
|
715
725
|
#
|
716
726
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
717
|
-
# (Streams and SQS standard queues) The maximum amount of time
|
718
|
-
#
|
727
|
+
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
728
|
+
# in seconds, that Lambda spends gathering records before invoking the
|
729
|
+
# function.
|
730
|
+
#
|
731
|
+
# Default: 0
|
732
|
+
#
|
733
|
+
# Related setting: When you set `BatchSize` to a value greater than
|
734
|
+
# 10, you must set `MaximumBatchingWindowInSeconds` to at least 1.
|
719
735
|
# @return [Integer]
|
720
736
|
#
|
721
737
|
# @!attribute [rw] parallelization_factor
|
@@ -859,6 +875,7 @@ module Aws::Lambda
|
|
859
875
|
# working_directory: "WorkingDirectory",
|
860
876
|
# },
|
861
877
|
# code_signing_config_arn: "CodeSigningConfigArn",
|
878
|
+
# architectures: ["x86_64"], # accepts x86_64, arm64
|
862
879
|
# }
|
863
880
|
#
|
864
881
|
# @!attribute [rw] function_name
|
@@ -909,10 +926,10 @@ module Aws::Lambda
|
|
909
926
|
# @return [String]
|
910
927
|
#
|
911
928
|
# @!attribute [rw] timeout
|
912
|
-
# The amount of time that Lambda allows a function to run
|
913
|
-
# stopping it. The default is 3 seconds. The maximum allowed
|
914
|
-
# 900 seconds. For additional information, see [Lambda
|
915
|
-
# environment][1].
|
929
|
+
# The amount of time (in seconds) that Lambda allows a function to run
|
930
|
+
# before stopping it. The default is 3 seconds. The maximum allowed
|
931
|
+
# value is 900 seconds. For additional information, see [Lambda
|
932
|
+
# execution environment][1].
|
916
933
|
#
|
917
934
|
#
|
918
935
|
#
|
@@ -1018,6 +1035,12 @@ module Aws::Lambda
|
|
1018
1035
|
# this function.
|
1019
1036
|
# @return [String]
|
1020
1037
|
#
|
1038
|
+
# @!attribute [rw] architectures
|
1039
|
+
# The instruction set architecture that the function supports. Enter a
|
1040
|
+
# string array with one of the valid values (arm64 or x86\_64). The
|
1041
|
+
# default value is `x86_64`.
|
1042
|
+
# @return [Array<String>]
|
1043
|
+
#
|
1021
1044
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
|
1022
1045
|
#
|
1023
1046
|
class CreateFunctionRequest < Struct.new(
|
@@ -1040,7 +1063,8 @@ module Aws::Lambda
|
|
1040
1063
|
:layers,
|
1041
1064
|
:file_system_configs,
|
1042
1065
|
:image_config,
|
1043
|
-
:code_signing_config_arn
|
1066
|
+
:code_signing_config_arn,
|
1067
|
+
:architectures)
|
1044
1068
|
SENSITIVE = []
|
1045
1069
|
include Aws::Structure
|
1046
1070
|
end
|
@@ -1444,7 +1468,7 @@ module Aws::Lambda
|
|
1444
1468
|
include Aws::Structure
|
1445
1469
|
end
|
1446
1470
|
|
1447
|
-
# An error
|
1471
|
+
# An error occurred when reading from or writing to a connected file
|
1448
1472
|
# system.
|
1449
1473
|
#
|
1450
1474
|
# @!attribute [rw] type
|
@@ -1626,13 +1650,27 @@ module Aws::Lambda
|
|
1626
1650
|
# @return [Time]
|
1627
1651
|
#
|
1628
1652
|
# @!attribute [rw] batch_size
|
1629
|
-
# The maximum number of
|
1653
|
+
# The maximum number of records in each batch that Lambda pulls from
|
1654
|
+
# your stream or queue and sends to your function. Lambda passes all
|
1655
|
+
# of the records in the batch to the function in a single call, up to
|
1656
|
+
# the payload limit for synchronous invocation (6 MB).
|
1657
|
+
#
|
1658
|
+
# Default value: Varies by service. For Amazon SQS, the default is 10.
|
1659
|
+
# For all other services, the default is 100.
|
1660
|
+
#
|
1661
|
+
# Related setting: When you set `BatchSize` to a value greater than
|
1662
|
+
# 10, you must set `MaximumBatchingWindowInSeconds` to at least 1.
|
1630
1663
|
# @return [Integer]
|
1631
1664
|
#
|
1632
1665
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
1633
|
-
# (Streams and Amazon SQS standard queues) The maximum amount of time
|
1634
|
-
#
|
1635
|
-
#
|
1666
|
+
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
1667
|
+
# in seconds, that Lambda spends gathering records before invoking the
|
1668
|
+
# function.
|
1669
|
+
#
|
1670
|
+
# Default: 0
|
1671
|
+
#
|
1672
|
+
# Related setting: When you set `BatchSize` to a value greater than
|
1673
|
+
# 10, you must set `MaximumBatchingWindowInSeconds` to at least 1.
|
1636
1674
|
# @return [Integer]
|
1637
1675
|
#
|
1638
1676
|
# @!attribute [rw] parallelization_factor
|
@@ -1942,7 +1980,7 @@ module Aws::Lambda
|
|
1942
1980
|
# @!attribute [rw] kms_key_arn
|
1943
1981
|
# The KMS key that's used to encrypt the function's environment
|
1944
1982
|
# variables. This key is only returned if you've configured a
|
1945
|
-
# customer managed
|
1983
|
+
# customer managed key.
|
1946
1984
|
# @return [String]
|
1947
1985
|
#
|
1948
1986
|
# @!attribute [rw] tracing_config
|
@@ -1950,7 +1988,7 @@ module Aws::Lambda
|
|
1950
1988
|
# @return [Types::TracingConfigResponse]
|
1951
1989
|
#
|
1952
1990
|
# @!attribute [rw] master_arn
|
1953
|
-
# For Lambda@Edge functions, the ARN of the
|
1991
|
+
# For Lambda@Edge functions, the ARN of the main function.
|
1954
1992
|
# @return [String]
|
1955
1993
|
#
|
1956
1994
|
# @!attribute [rw] revision_id
|
@@ -2018,6 +2056,12 @@ module Aws::Lambda
|
|
2018
2056
|
# The ARN of the signing job.
|
2019
2057
|
# @return [String]
|
2020
2058
|
#
|
2059
|
+
# @!attribute [rw] architectures
|
2060
|
+
# The instruction set architecture that the function supports.
|
2061
|
+
# Architecture is a string array with one of the valid values. The
|
2062
|
+
# default architecture value is `x86_64`.
|
2063
|
+
# @return [Array<String>]
|
2064
|
+
#
|
2021
2065
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
|
2022
2066
|
#
|
2023
2067
|
class FunctionConfiguration < Struct.new(
|
@@ -2051,7 +2095,8 @@ module Aws::Lambda
|
|
2051
2095
|
:package_type,
|
2052
2096
|
:image_config_response,
|
2053
2097
|
:signing_profile_version_arn,
|
2054
|
-
:signing_job_arn
|
2098
|
+
:signing_job_arn,
|
2099
|
+
:architectures)
|
2055
2100
|
SENSITIVE = []
|
2056
2101
|
include Aws::Structure
|
2057
2102
|
end
|
@@ -2595,6 +2640,14 @@ module Aws::Lambda
|
|
2595
2640
|
# The layer's software license.
|
2596
2641
|
# @return [String]
|
2597
2642
|
#
|
2643
|
+
# @!attribute [rw] compatible_architectures
|
2644
|
+
# A list of compatible [instruction set architectures][1].
|
2645
|
+
#
|
2646
|
+
#
|
2647
|
+
#
|
2648
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
|
2649
|
+
# @return [Array<String>]
|
2650
|
+
#
|
2598
2651
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionResponse AWS API Documentation
|
2599
2652
|
#
|
2600
2653
|
class GetLayerVersionResponse < Struct.new(
|
@@ -2605,7 +2658,8 @@ module Aws::Lambda
|
|
2605
2658
|
:created_date,
|
2606
2659
|
:version,
|
2607
2660
|
:compatible_runtimes,
|
2608
|
-
:license_info
|
2661
|
+
:license_info,
|
2662
|
+
:compatible_architectures)
|
2609
2663
|
SENSITIVE = []
|
2610
2664
|
include Aws::Structure
|
2611
2665
|
end
|
@@ -2997,7 +3051,8 @@ module Aws::Lambda
|
|
2997
3051
|
# @return [String]
|
2998
3052
|
#
|
2999
3053
|
# @!attribute [rw] log_type
|
3000
|
-
# Set to `Tail` to include the execution log in the response.
|
3054
|
+
# Set to `Tail` to include the execution log in the response. Applies
|
3055
|
+
# to synchronously invoked functions only.
|
3001
3056
|
# @return [String]
|
3002
3057
|
#
|
3003
3058
|
# @!attribute [rw] client_context
|
@@ -3007,6 +3062,10 @@ module Aws::Lambda
|
|
3007
3062
|
#
|
3008
3063
|
# @!attribute [rw] payload
|
3009
3064
|
# The JSON that you want to provide to your Lambda function as input.
|
3065
|
+
#
|
3066
|
+
# You can enter the JSON directly. For example, `--payload '\{ "key":
|
3067
|
+
# "value" \}'`. You can also specify a file path. For example,
|
3068
|
+
# `--payload file://payload.json`.
|
3010
3069
|
# @return [String]
|
3011
3070
|
#
|
3012
3071
|
# @!attribute [rw] qualifier
|
@@ -3342,6 +3401,14 @@ module Aws::Lambda
|
|
3342
3401
|
# The layer's open-source license.
|
3343
3402
|
# @return [String]
|
3344
3403
|
#
|
3404
|
+
# @!attribute [rw] compatible_architectures
|
3405
|
+
# A list of compatible [instruction set architectures][1].
|
3406
|
+
#
|
3407
|
+
#
|
3408
|
+
#
|
3409
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
|
3410
|
+
# @return [Array<String>]
|
3411
|
+
#
|
3345
3412
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/LayerVersionsListItem AWS API Documentation
|
3346
3413
|
#
|
3347
3414
|
class LayerVersionsListItem < Struct.new(
|
@@ -3350,7 +3417,8 @@ module Aws::Lambda
|
|
3350
3417
|
:description,
|
3351
3418
|
:created_date,
|
3352
3419
|
:compatible_runtimes,
|
3353
|
-
:license_info
|
3420
|
+
:license_info,
|
3421
|
+
:compatible_architectures)
|
3354
3422
|
SENSITIVE = []
|
3355
3423
|
include Aws::Structure
|
3356
3424
|
end
|
@@ -3759,6 +3827,7 @@ module Aws::Lambda
|
|
3759
3827
|
# layer_name: "LayerName", # required
|
3760
3828
|
# marker: "String",
|
3761
3829
|
# max_items: 1,
|
3830
|
+
# compatible_architecture: "x86_64", # accepts x86_64, arm64
|
3762
3831
|
# }
|
3763
3832
|
#
|
3764
3833
|
# @!attribute [rw] compatible_runtime
|
@@ -3777,13 +3846,22 @@ module Aws::Lambda
|
|
3777
3846
|
# The maximum number of versions to return.
|
3778
3847
|
# @return [Integer]
|
3779
3848
|
#
|
3849
|
+
# @!attribute [rw] compatible_architecture
|
3850
|
+
# The compatible [instruction set architecture][1].
|
3851
|
+
#
|
3852
|
+
#
|
3853
|
+
#
|
3854
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
|
3855
|
+
# @return [String]
|
3856
|
+
#
|
3780
3857
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersionsRequest AWS API Documentation
|
3781
3858
|
#
|
3782
3859
|
class ListLayerVersionsRequest < Struct.new(
|
3783
3860
|
:compatible_runtime,
|
3784
3861
|
:layer_name,
|
3785
3862
|
:marker,
|
3786
|
-
:max_items
|
3863
|
+
:max_items,
|
3864
|
+
:compatible_architecture)
|
3787
3865
|
SENSITIVE = []
|
3788
3866
|
include Aws::Structure
|
3789
3867
|
end
|
@@ -3813,6 +3891,7 @@ module Aws::Lambda
|
|
3813
3891
|
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
3814
3892
|
# marker: "String",
|
3815
3893
|
# max_items: 1,
|
3894
|
+
# compatible_architecture: "x86_64", # accepts x86_64, arm64
|
3816
3895
|
# }
|
3817
3896
|
#
|
3818
3897
|
# @!attribute [rw] compatible_runtime
|
@@ -3827,12 +3906,21 @@ module Aws::Lambda
|
|
3827
3906
|
# The maximum number of layers to return.
|
3828
3907
|
# @return [Integer]
|
3829
3908
|
#
|
3909
|
+
# @!attribute [rw] compatible_architecture
|
3910
|
+
# The compatible [instruction set architecture][1].
|
3911
|
+
#
|
3912
|
+
#
|
3913
|
+
#
|
3914
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
|
3915
|
+
# @return [String]
|
3916
|
+
#
|
3830
3917
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayersRequest AWS API Documentation
|
3831
3918
|
#
|
3832
3919
|
class ListLayersRequest < Struct.new(
|
3833
3920
|
:compatible_runtime,
|
3834
3921
|
:marker,
|
3835
|
-
:max_items
|
3922
|
+
:max_items,
|
3923
|
+
:compatible_architecture)
|
3836
3924
|
SENSITIVE = []
|
3837
3925
|
include Aws::Structure
|
3838
3926
|
end
|
@@ -3924,7 +4012,8 @@ module Aws::Lambda
|
|
3924
4012
|
# }
|
3925
4013
|
#
|
3926
4014
|
# @!attribute [rw] resource
|
3927
|
-
# The function's Amazon Resource Name (ARN).
|
4015
|
+
# The function's Amazon Resource Name (ARN). Note: Lambda does not
|
4016
|
+
# support adding tags to aliases or versions.
|
3928
4017
|
# @return [String]
|
3929
4018
|
#
|
3930
4019
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTagsRequest AWS API Documentation
|
@@ -4176,6 +4265,7 @@ module Aws::Lambda
|
|
4176
4265
|
# },
|
4177
4266
|
# compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
4178
4267
|
# license_info: "LicenseInfo",
|
4268
|
+
# compatible_architectures: ["x86_64"], # accepts x86_64, arm64
|
4179
4269
|
# }
|
4180
4270
|
#
|
4181
4271
|
# @!attribute [rw] layer_name
|
@@ -4214,6 +4304,14 @@ module Aws::Lambda
|
|
4214
4304
|
# [1]: https://spdx.org/licenses/
|
4215
4305
|
# @return [String]
|
4216
4306
|
#
|
4307
|
+
# @!attribute [rw] compatible_architectures
|
4308
|
+
# A list of compatible [instruction set architectures][1].
|
4309
|
+
#
|
4310
|
+
#
|
4311
|
+
#
|
4312
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
|
4313
|
+
# @return [Array<String>]
|
4314
|
+
#
|
4217
4315
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersionRequest AWS API Documentation
|
4218
4316
|
#
|
4219
4317
|
class PublishLayerVersionRequest < Struct.new(
|
@@ -4221,7 +4319,8 @@ module Aws::Lambda
|
|
4221
4319
|
:description,
|
4222
4320
|
:content,
|
4223
4321
|
:compatible_runtimes,
|
4224
|
-
:license_info
|
4322
|
+
:license_info,
|
4323
|
+
:compatible_architectures)
|
4225
4324
|
SENSITIVE = []
|
4226
4325
|
include Aws::Structure
|
4227
4326
|
end
|
@@ -4263,6 +4362,14 @@ module Aws::Lambda
|
|
4263
4362
|
# The layer's software license.
|
4264
4363
|
# @return [String]
|
4265
4364
|
#
|
4365
|
+
# @!attribute [rw] compatible_architectures
|
4366
|
+
# A list of compatible [instruction set architectures][1].
|
4367
|
+
#
|
4368
|
+
#
|
4369
|
+
#
|
4370
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
|
4371
|
+
# @return [Array<String>]
|
4372
|
+
#
|
4266
4373
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersionResponse AWS API Documentation
|
4267
4374
|
#
|
4268
4375
|
class PublishLayerVersionResponse < Struct.new(
|
@@ -4273,7 +4380,8 @@ module Aws::Lambda
|
|
4273
4380
|
:created_date,
|
4274
4381
|
:version,
|
4275
4382
|
:compatible_runtimes,
|
4276
|
-
:license_info
|
4383
|
+
:license_info,
|
4384
|
+
:compatible_architectures)
|
4277
4385
|
SENSITIVE = []
|
4278
4386
|
include Aws::Structure
|
4279
4387
|
end
|
@@ -4844,7 +4952,7 @@ module Aws::Lambda
|
|
4844
4952
|
# data as a hash:
|
4845
4953
|
#
|
4846
4954
|
# {
|
4847
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
|
4955
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
|
4848
4956
|
# uri: "URI",
|
4849
4957
|
# }
|
4850
4958
|
#
|
@@ -4876,7 +4984,19 @@ module Aws::Lambda
|
|
4876
4984
|
#
|
4877
4985
|
# * `VIRTUAL_HOST` - (Amazon MQ) The name of the virtual host in your
|
4878
4986
|
# RabbitMQ broker. Lambda uses this RabbitMQ host as the event
|
4879
|
-
# source.
|
4987
|
+
# source. This property cannot be specified in an
|
4988
|
+
# UpdateEventSourceMapping API call.
|
4989
|
+
#
|
4990
|
+
# * `CLIENT_CERTIFICATE_TLS_AUTH` - (Amazon MSK, Self-managed Apache
|
4991
|
+
# Kafka) The Secrets Manager ARN of your secret key containing the
|
4992
|
+
# certificate chain (X.509 PEM), private key (PKCS#8 PEM), and
|
4993
|
+
# private key password (optional) used for mutual TLS authentication
|
4994
|
+
# of your MSK/Apache Kafka brokers.
|
4995
|
+
#
|
4996
|
+
# * `SERVER_ROOT_CA_CERTIFICATE` - (Self-managed Apache Kafka) The
|
4997
|
+
# Secrets Manager ARN of your secret key containing the root CA
|
4998
|
+
# certificate (X.509 PEM) used for TLS encryption of your Apache
|
4999
|
+
# Kafka brokers.
|
4880
5000
|
# @return [String]
|
4881
5001
|
#
|
4882
5002
|
# @!attribute [rw] uri
|
@@ -5195,7 +5315,7 @@ module Aws::Lambda
|
|
5195
5315
|
# parallelization_factor: 1,
|
5196
5316
|
# source_access_configurations: [
|
5197
5317
|
# {
|
5198
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
|
5318
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
|
5199
5319
|
# uri: "URI",
|
5200
5320
|
# },
|
5201
5321
|
# ],
|
@@ -5227,12 +5347,17 @@ module Aws::Lambda
|
|
5227
5347
|
# @return [String]
|
5228
5348
|
#
|
5229
5349
|
# @!attribute [rw] enabled
|
5230
|
-
#
|
5231
|
-
# polling and invocation.
|
5350
|
+
# When true, the event source mapping is active. When false, Lambda
|
5351
|
+
# pauses polling and invocation.
|
5352
|
+
#
|
5353
|
+
# Default: True
|
5232
5354
|
# @return [Boolean]
|
5233
5355
|
#
|
5234
5356
|
# @!attribute [rw] batch_size
|
5235
|
-
# The maximum number of
|
5357
|
+
# The maximum number of records in each batch that Lambda pulls from
|
5358
|
+
# your stream or queue and sends to your function. Lambda passes all
|
5359
|
+
# of the records in the batch to the function in a single call, up to
|
5360
|
+
# the payload limit for synchronous invocation (6 MB).
|
5236
5361
|
#
|
5237
5362
|
# * **Amazon Kinesis** - Default 100. Max 10,000.
|
5238
5363
|
#
|
@@ -5245,11 +5370,19 @@ module Aws::Lambda
|
|
5245
5370
|
# 10,000.
|
5246
5371
|
#
|
5247
5372
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
5373
|
+
#
|
5374
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
5248
5375
|
# @return [Integer]
|
5249
5376
|
#
|
5250
5377
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
5251
|
-
# (Streams and SQS standard queues) The maximum amount of time
|
5252
|
-
#
|
5378
|
+
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
5379
|
+
# in seconds, that Lambda spends gathering records before invoking the
|
5380
|
+
# function.
|
5381
|
+
#
|
5382
|
+
# Default: 0
|
5383
|
+
#
|
5384
|
+
# Related setting: When you set `BatchSize` to a value greater than
|
5385
|
+
# 10, you must set `MaximumBatchingWindowInSeconds` to at least 1.
|
5253
5386
|
# @return [Integer]
|
5254
5387
|
#
|
5255
5388
|
# @!attribute [rw] destination_config
|
@@ -5326,6 +5459,7 @@ module Aws::Lambda
|
|
5326
5459
|
# publish: false,
|
5327
5460
|
# dry_run: false,
|
5328
5461
|
# revision_id: "String",
|
5462
|
+
# architectures: ["x86_64"], # accepts x86_64, arm64
|
5329
5463
|
# }
|
5330
5464
|
#
|
5331
5465
|
# @!attribute [rw] function_name
|
@@ -5386,6 +5520,12 @@ module Aws::Lambda
|
|
5386
5520
|
# changed since you last read it.
|
5387
5521
|
# @return [String]
|
5388
5522
|
#
|
5523
|
+
# @!attribute [rw] architectures
|
5524
|
+
# The instruction set architecture that the function supports. Enter a
|
5525
|
+
# string array with one of the valid values (arm64 or x86\_64). The
|
5526
|
+
# default value is `x86_64`.
|
5527
|
+
# @return [Array<String>]
|
5528
|
+
#
|
5389
5529
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeRequest AWS API Documentation
|
5390
5530
|
#
|
5391
5531
|
class UpdateFunctionCodeRequest < Struct.new(
|
@@ -5397,7 +5537,8 @@ module Aws::Lambda
|
|
5397
5537
|
:image_uri,
|
5398
5538
|
:publish,
|
5399
5539
|
:dry_run,
|
5400
|
-
:revision_id
|
5540
|
+
:revision_id,
|
5541
|
+
:architectures)
|
5401
5542
|
SENSITIVE = [:zip_file]
|
5402
5543
|
include Aws::Structure
|
5403
5544
|
end
|
@@ -5480,10 +5621,10 @@ module Aws::Lambda
|
|
5480
5621
|
# @return [String]
|
5481
5622
|
#
|
5482
5623
|
# @!attribute [rw] timeout
|
5483
|
-
# The amount of time that Lambda allows a function to run
|
5484
|
-
# stopping it. The default is 3 seconds. The maximum allowed
|
5485
|
-
# 900 seconds. For additional information, see [Lambda
|
5486
|
-
# environment][1].
|
5624
|
+
# The amount of time (in seconds) that Lambda allows a function to run
|
5625
|
+
# before stopping it. The default is 3 seconds. The maximum allowed
|
5626
|
+
# value is 900 seconds. For additional information, see [Lambda
|
5627
|
+
# execution environment][1].
|
5487
5628
|
#
|
5488
5629
|
#
|
5489
5630
|
#
|
@@ -5571,7 +5712,7 @@ module Aws::Lambda
|
|
5571
5712
|
#
|
5572
5713
|
# @!attribute [rw] image_config
|
5573
5714
|
# [Container image configuration values][1] that override the values
|
5574
|
-
# in the container image
|
5715
|
+
# in the container image Docker file.
|
5575
5716
|
#
|
5576
5717
|
#
|
5577
5718
|
#
|
data/lib/aws-sdk-lambda.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lambda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.72.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.122.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|