aws-sdk-lambda 1.43.1 → 1.48.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a72ac9eca724ac3de39dde2da7f5955df9b86ee62e7b8bf10a0f030d8e8cb73c
4
- data.tar.gz: 5de0da491f19c20090fc8a039d931843771f4c92cfec48dee294797e6d2198fd
3
+ metadata.gz: 48bae925b96adf289656c5c416437e1c4b21258dc621c8e0642fdafacf8e4d0d
4
+ data.tar.gz: 542242d8ed64d6e768b89e0e46681674f214febdba2c8ff87f264dfa4288a688
5
5
  SHA512:
6
- metadata.gz: 388fe3ed0713d0eba9d36002cc0403123a928617684377fddf85f63c9018657d2cd38efeace6faf8befc85e8c1516c8e32bfb93b4c9372f14e46293a07125c9c
7
- data.tar.gz: c98490e46627985d1f29505e2b7e916de9e199b8d8367e0ed630f94e62d945595970fa5ac5cb17d6bf12cbfbf32d2fd7edf4923bef7a5a40e524ee36ed9e2b8f
6
+ metadata.gz: cebed99bc8dc0d28df517aa4b8f56b72058128a0d95f234678af11bd70cfdf0413f14a1067bab96de3511c29b3ab18a7ea212f581f8bc04a56e270e30f4649f4
7
+ data.tar.gz: 217b9395909c8cb6b66b7708e07fc4174ed0c689546fb731008366dd0456cb3ebf689698448d4abb438c70f05dda33947ec04800f280a275e3fcb5a211ddc993
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -46,6 +48,6 @@ require_relative 'aws-sdk-lambda/customizations'
46
48
  # @service
47
49
  module Aws::Lambda
48
50
 
49
- GEM_VERSION = '1.43.1'
51
+ GEM_VERSION = '1.48.0'
50
52
 
51
53
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -582,7 +584,7 @@ module Aws::Lambda
582
584
  #
583
585
  #
584
586
  #
585
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
587
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing
586
588
  #
587
589
  # @return [Types::AliasConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
588
590
  #
@@ -658,6 +660,8 @@ module Aws::Lambda
658
660
  #
659
661
  # * [Using AWS Lambda with Amazon SQS][3]
660
662
  #
663
+ # * [Using AWS Lambda with Amazon MSK][4]
664
+ #
661
665
  # The following error handling options are only available for stream
662
666
  # sources (DynamoDB and Kinesis):
663
667
  #
@@ -668,10 +672,11 @@ module Aws::Lambda
668
672
  # or Amazon SNS topic.
669
673
  #
670
674
  # * `MaximumRecordAgeInSeconds` - Discard records older than the
671
- # specified age.
675
+ # specified age. Default -1 (infinite). Minimum 60. Maximum 604800.
672
676
  #
673
677
  # * `MaximumRetryAttempts` - Discard records after the specified number
674
- # of retries.
678
+ # of retries. Default -1 (infinite). Minimum 0. Maximum 10000. When
679
+ # infinite, failed records will be retried until the record expires.
675
680
  #
676
681
  # * `ParallelizationFactor` - Process multiple batches from each shard
677
682
  # concurrently.
@@ -681,6 +686,7 @@ module Aws::Lambda
681
686
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
682
687
  # [2]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html
683
688
  # [3]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html
689
+ # [4]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html
684
690
  #
685
691
  # @option params [required, String] :event_source_arn
686
692
  # The Amazon Resource Name (ARN) of the event source.
@@ -692,6 +698,9 @@ module Aws::Lambda
692
698
  #
693
699
  # * **Amazon Simple Queue Service** - The ARN of the queue.
694
700
  #
701
+ # * **Amazon Managed Streaming for Apache Kafka** - The ARN of the
702
+ # cluster.
703
+ #
695
704
  # @option params [required, String] :function_name
696
705
  # The name of the Lambda function.
697
706
  #
@@ -711,7 +720,8 @@ module Aws::Lambda
711
720
  # only the function name, it's limited to 64 characters in length.
712
721
  #
713
722
  # @option params [Boolean] :enabled
714
- # Disables the event source mapping to pause polling and invocation.
723
+ # If true, the event source mapping is active. Set to false to pause
724
+ # polling and invocation.
715
725
  #
716
726
  # @option params [Integer] :batch_size
717
727
  # The maximum number of items to retrieve in a single batch.
@@ -722,6 +732,9 @@ module Aws::Lambda
722
732
  #
723
733
  # * **Amazon Simple Queue Service** - Default 10. Max 10.
724
734
  #
735
+ # * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
736
+ # 10,000.
737
+ #
725
738
  # @option params [Integer] :maximum_batching_window_in_seconds
726
739
  # (Streams) The maximum amount of time to gather records before invoking
727
740
  # the function, in seconds.
@@ -732,8 +745,8 @@ module Aws::Lambda
732
745
  #
733
746
  # @option params [String] :starting_position
734
747
  # The position in a stream from which to start reading. Required for
735
- # Amazon Kinesis and Amazon DynamoDB Streams sources. `AT_TIMESTAMP` is
736
- # only supported for Amazon Kinesis streams.
748
+ # Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources.
749
+ # `AT_TIMESTAMP` is only supported for Amazon Kinesis streams.
737
750
  #
738
751
  # @option params [Time,DateTime,Date,Integer,String] :starting_position_timestamp
739
752
  # With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to
@@ -744,16 +757,20 @@ module Aws::Lambda
744
757
  # discarded records.
745
758
  #
746
759
  # @option params [Integer] :maximum_record_age_in_seconds
747
- # (Streams) The maximum age of a record that Lambda sends to a function
748
- # for processing.
760
+ # (Streams) Discard records older than the specified age. The default
761
+ # value is infinite (-1).
749
762
  #
750
763
  # @option params [Boolean] :bisect_batch_on_function_error
751
764
  # (Streams) If the function returns an error, split the batch in two and
752
765
  # retry.
753
766
  #
754
767
  # @option params [Integer] :maximum_retry_attempts
755
- # (Streams) The maximum number of times to retry when the function
756
- # returns an error.
768
+ # (Streams) Discard records after the specified number of retries. The
769
+ # default value is infinite (-1). When set to infinite (-1), failed
770
+ # records will be retried until the record expires.
771
+ #
772
+ # @option params [Array<String>] :topics
773
+ # (MSK) The name of the Kafka topic.
757
774
  #
758
775
  # @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
759
776
  #
@@ -768,6 +785,7 @@ module Aws::Lambda
768
785
  # * {Types::EventSourceMappingConfiguration#state #state} => String
769
786
  # * {Types::EventSourceMappingConfiguration#state_transition_reason #state_transition_reason} => String
770
787
  # * {Types::EventSourceMappingConfiguration#destination_config #destination_config} => Types::DestinationConfig
788
+ # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
771
789
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
772
790
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
773
791
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
@@ -816,6 +834,7 @@ module Aws::Lambda
816
834
  # maximum_record_age_in_seconds: 1,
817
835
  # bisect_batch_on_function_error: false,
818
836
  # maximum_retry_attempts: 1,
837
+ # topics: ["Topic"],
819
838
  # })
820
839
  #
821
840
  # @example Response structure
@@ -832,6 +851,8 @@ module Aws::Lambda
832
851
  # resp.state_transition_reason #=> String
833
852
  # resp.destination_config.on_success.destination #=> String
834
853
  # resp.destination_config.on_failure.destination #=> String
854
+ # resp.topics #=> Array
855
+ # resp.topics[0] #=> String
835
856
  # resp.maximum_record_age_in_seconds #=> Integer
836
857
  # resp.bisect_batch_on_function_error #=> Boolean
837
858
  # resp.maximum_retry_attempts #=> Integer
@@ -993,6 +1014,9 @@ module Aws::Lambda
993
1014
  #
994
1015
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
995
1016
  #
1017
+ # @option params [Array<Types::FileSystemConfig>] :file_system_configs
1018
+ # Connection settings for an Amazon EFS file system.
1019
+ #
996
1020
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
997
1021
  #
998
1022
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -1021,6 +1045,7 @@ module Aws::Lambda
1021
1045
  # * {Types::FunctionConfiguration#last_update_status #last_update_status} => String
1022
1046
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
1023
1047
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
1048
+ # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
1024
1049
  #
1025
1050
  #
1026
1051
  # @example Example: To create a function
@@ -1089,7 +1114,7 @@ module Aws::Lambda
1089
1114
  #
1090
1115
  # resp = client.create_function({
1091
1116
  # function_name: "FunctionName", # required
1092
- # runtime: "nodejs", # required, accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, 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
1117
+ # runtime: "nodejs", # required, 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
1093
1118
  # role: "RoleArn", # required
1094
1119
  # handler: "Handler", # required
1095
1120
  # code: { # required
@@ -1122,13 +1147,19 @@ module Aws::Lambda
1122
1147
  # "TagKey" => "TagValue",
1123
1148
  # },
1124
1149
  # layers: ["LayerVersionArn"],
1150
+ # file_system_configs: [
1151
+ # {
1152
+ # arn: "FileSystemArn", # required
1153
+ # local_mount_path: "LocalMountPath", # required
1154
+ # },
1155
+ # ],
1125
1156
  # })
1126
1157
  #
1127
1158
  # @example Response structure
1128
1159
  #
1129
1160
  # resp.function_name #=> String
1130
1161
  # resp.function_arn #=> String
1131
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "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"
1162
+ # resp.runtime #=> String, one of "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"
1132
1163
  # resp.role #=> String
1133
1164
  # resp.handler #=> String
1134
1165
  # resp.code_size #=> Integer
@@ -1161,6 +1192,9 @@ module Aws::Lambda
1161
1192
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
1162
1193
  # resp.last_update_status_reason #=> String
1163
1194
  # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
1195
+ # resp.file_system_configs #=> Array
1196
+ # resp.file_system_configs[0].arn #=> String
1197
+ # resp.file_system_configs[0].local_mount_path #=> String
1164
1198
  #
1165
1199
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
1166
1200
  #
@@ -1249,6 +1283,7 @@ module Aws::Lambda
1249
1283
  # * {Types::EventSourceMappingConfiguration#state #state} => String
1250
1284
  # * {Types::EventSourceMappingConfiguration#state_transition_reason #state_transition_reason} => String
1251
1285
  # * {Types::EventSourceMappingConfiguration#destination_config #destination_config} => Types::DestinationConfig
1286
+ # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
1252
1287
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
1253
1288
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
1254
1289
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
@@ -1293,6 +1328,8 @@ module Aws::Lambda
1293
1328
  # resp.state_transition_reason #=> String
1294
1329
  # resp.destination_config.on_success.destination #=> String
1295
1330
  # resp.destination_config.on_failure.destination #=> String
1331
+ # resp.topics #=> Array
1332
+ # resp.topics[0] #=> String
1296
1333
  # resp.maximum_record_age_in_seconds #=> Integer
1297
1334
  # resp.bisect_batch_on_function_error #=> Boolean
1298
1335
  # resp.maximum_retry_attempts #=> Integer
@@ -1704,6 +1741,7 @@ module Aws::Lambda
1704
1741
  # * {Types::EventSourceMappingConfiguration#state #state} => String
1705
1742
  # * {Types::EventSourceMappingConfiguration#state_transition_reason #state_transition_reason} => String
1706
1743
  # * {Types::EventSourceMappingConfiguration#destination_config #destination_config} => Types::DestinationConfig
1744
+ # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
1707
1745
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
1708
1746
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
1709
1747
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
@@ -1755,6 +1793,8 @@ module Aws::Lambda
1755
1793
  # resp.state_transition_reason #=> String
1756
1794
  # resp.destination_config.on_success.destination #=> String
1757
1795
  # resp.destination_config.on_failure.destination #=> String
1796
+ # resp.topics #=> Array
1797
+ # resp.topics[0] #=> String
1758
1798
  # resp.maximum_record_age_in_seconds #=> Integer
1759
1799
  # resp.bisect_batch_on_function_error #=> Boolean
1760
1800
  # resp.maximum_retry_attempts #=> Integer
@@ -1860,7 +1900,7 @@ module Aws::Lambda
1860
1900
  #
1861
1901
  # resp.configuration.function_name #=> String
1862
1902
  # resp.configuration.function_arn #=> String
1863
- # resp.configuration.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "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"
1903
+ # resp.configuration.runtime #=> String, one of "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"
1864
1904
  # resp.configuration.role #=> String
1865
1905
  # resp.configuration.handler #=> String
1866
1906
  # resp.configuration.code_size #=> Integer
@@ -1893,6 +1933,9 @@ module Aws::Lambda
1893
1933
  # resp.configuration.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
1894
1934
  # resp.configuration.last_update_status_reason #=> String
1895
1935
  # resp.configuration.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
1936
+ # resp.configuration.file_system_configs #=> Array
1937
+ # resp.configuration.file_system_configs[0].arn #=> String
1938
+ # resp.configuration.file_system_configs[0].local_mount_path #=> String
1896
1939
  # resp.code.repository_type #=> String
1897
1940
  # resp.code.location #=> String
1898
1941
  # resp.tags #=> Hash
@@ -2025,6 +2068,7 @@ module Aws::Lambda
2025
2068
  # * {Types::FunctionConfiguration#last_update_status #last_update_status} => String
2026
2069
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
2027
2070
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
2071
+ # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
2028
2072
  #
2029
2073
  #
2030
2074
  # @example Example: To get a Lambda function's event source mapping
@@ -2076,7 +2120,7 @@ module Aws::Lambda
2076
2120
  #
2077
2121
  # resp.function_name #=> String
2078
2122
  # resp.function_arn #=> String
2079
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "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"
2123
+ # resp.runtime #=> String, one of "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"
2080
2124
  # resp.role #=> String
2081
2125
  # resp.handler #=> String
2082
2126
  # resp.code_size #=> Integer
@@ -2109,6 +2153,9 @@ module Aws::Lambda
2109
2153
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
2110
2154
  # resp.last_update_status_reason #=> String
2111
2155
  # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
2156
+ # resp.file_system_configs #=> Array
2157
+ # resp.file_system_configs[0].arn #=> String
2158
+ # resp.file_system_configs[0].local_mount_path #=> String
2112
2159
  #
2113
2160
  #
2114
2161
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -2281,7 +2328,7 @@ module Aws::Lambda
2281
2328
  # resp.created_date #=> Time
2282
2329
  # resp.version #=> Integer
2283
2330
  # resp.compatible_runtimes #=> Array
2284
- # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "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"
2331
+ # resp.compatible_runtimes[0] #=> String, one of "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"
2285
2332
  # resp.license_info #=> String
2286
2333
  #
2287
2334
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersion AWS API Documentation
@@ -2357,7 +2404,7 @@ module Aws::Lambda
2357
2404
  # resp.created_date #=> Time
2358
2405
  # resp.version #=> Integer
2359
2406
  # resp.compatible_runtimes #=> Array
2360
- # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "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"
2407
+ # resp.compatible_runtimes[0] #=> String, one of "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"
2361
2408
  # resp.license_info #=> String
2362
2409
  #
2363
2410
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionByArn AWS API Documentation
@@ -2508,9 +2555,9 @@ module Aws::Lambda
2508
2555
  # * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
2509
2556
  #
2510
2557
  #
2511
- # @example Example: To get a provisioned concurrency configuration
2558
+ # @example Example: To view a provisioned concurrency configuration
2512
2559
  #
2513
- # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
2560
+ # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
2514
2561
  # # function.
2515
2562
  #
2516
2563
  # resp = client.get_provisioned_concurrency_config({
@@ -2527,9 +2574,9 @@ module Aws::Lambda
2527
2574
  # status: "READY",
2528
2575
  # }
2529
2576
  #
2530
- # @example Example: To view a provisioned concurrency configuration
2577
+ # @example Example: To get a provisioned concurrency configuration
2531
2578
  #
2532
- # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
2579
+ # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
2533
2580
  # # function.
2534
2581
  #
2535
2582
  # resp = client.get_provisioned_concurrency_config({
@@ -2660,7 +2707,7 @@ module Aws::Lambda
2660
2707
  # Up to 3583 bytes of base64-encoded data about the invoking client to
2661
2708
  # pass to the function in the context object.
2662
2709
  #
2663
- # @option params [String, IO] :payload
2710
+ # @option params [String, StringIO, File] :payload
2664
2711
  # The JSON that you want to provide to your Lambda function as input.
2665
2712
  #
2666
2713
  # @option params [String] :qualifier
@@ -2756,7 +2803,7 @@ module Aws::Lambda
2756
2803
  # The length constraint applies only to the full ARN. If you specify
2757
2804
  # only the function name, it is limited to 64 characters in length.
2758
2805
  #
2759
- # @option params [required, String, IO] :invoke_args
2806
+ # @option params [required, String, StringIO, File] :invoke_args
2760
2807
  # The JSON that you want to provide to your Lambda function as input.
2761
2808
  #
2762
2809
  # @return [Types::InvokeAsyncResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -2914,6 +2961,9 @@ module Aws::Lambda
2914
2961
  #
2915
2962
  # * **Amazon Simple Queue Service** - The ARN of the queue.
2916
2963
  #
2964
+ # * **Amazon Managed Streaming for Apache Kafka** - The ARN of the
2965
+ # cluster.
2966
+ #
2917
2967
  # @option params [String] :function_name
2918
2968
  # The name of the Lambda function.
2919
2969
  #
@@ -2994,6 +3044,8 @@ module Aws::Lambda
2994
3044
  # resp.event_source_mappings[0].state_transition_reason #=> String
2995
3045
  # resp.event_source_mappings[0].destination_config.on_success.destination #=> String
2996
3046
  # resp.event_source_mappings[0].destination_config.on_failure.destination #=> String
3047
+ # resp.event_source_mappings[0].topics #=> Array
3048
+ # resp.event_source_mappings[0].topics[0] #=> String
2997
3049
  # resp.event_source_mappings[0].maximum_record_age_in_seconds #=> Integer
2998
3050
  # resp.event_source_mappings[0].bisect_batch_on_function_error #=> Boolean
2999
3051
  # resp.event_source_mappings[0].maximum_retry_attempts #=> Integer
@@ -3201,7 +3253,7 @@ module Aws::Lambda
3201
3253
  # resp.functions #=> Array
3202
3254
  # resp.functions[0].function_name #=> String
3203
3255
  # resp.functions[0].function_arn #=> String
3204
- # resp.functions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "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"
3256
+ # resp.functions[0].runtime #=> String, one of "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"
3205
3257
  # resp.functions[0].role #=> String
3206
3258
  # resp.functions[0].handler #=> String
3207
3259
  # resp.functions[0].code_size #=> Integer
@@ -3234,6 +3286,9 @@ module Aws::Lambda
3234
3286
  # resp.functions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
3235
3287
  # resp.functions[0].last_update_status_reason #=> String
3236
3288
  # resp.functions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
3289
+ # resp.functions[0].file_system_configs #=> Array
3290
+ # resp.functions[0].file_system_configs[0].arn #=> String
3291
+ # resp.functions[0].file_system_configs[0].local_mount_path #=> String
3237
3292
  #
3238
3293
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
3239
3294
  #
@@ -3309,7 +3364,7 @@ module Aws::Lambda
3309
3364
  # @example Request syntax with placeholder values
3310
3365
  #
3311
3366
  # resp = client.list_layer_versions({
3312
- # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, 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
3367
+ # compatible_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
3313
3368
  # layer_name: "LayerName", # required
3314
3369
  # marker: "String",
3315
3370
  # max_items: 1,
@@ -3324,7 +3379,7 @@ module Aws::Lambda
3324
3379
  # resp.layer_versions[0].description #=> String
3325
3380
  # resp.layer_versions[0].created_date #=> Time
3326
3381
  # resp.layer_versions[0].compatible_runtimes #=> Array
3327
- # resp.layer_versions[0].compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "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"
3382
+ # resp.layer_versions[0].compatible_runtimes[0] #=> String, one of "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"
3328
3383
  # resp.layer_versions[0].license_info #=> String
3329
3384
  #
3330
3385
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersions AWS API Documentation
@@ -3393,7 +3448,7 @@ module Aws::Lambda
3393
3448
  # @example Request syntax with placeholder values
3394
3449
  #
3395
3450
  # resp = client.list_layers({
3396
- # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, 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
3451
+ # compatible_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
3397
3452
  # marker: "String",
3398
3453
  # max_items: 1,
3399
3454
  # })
@@ -3409,7 +3464,7 @@ module Aws::Lambda
3409
3464
  # resp.layers[0].latest_matching_version.description #=> String
3410
3465
  # resp.layers[0].latest_matching_version.created_date #=> Time
3411
3466
  # resp.layers[0].latest_matching_version.compatible_runtimes #=> Array
3412
- # resp.layers[0].latest_matching_version.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "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"
3467
+ # resp.layers[0].latest_matching_version.compatible_runtimes[0] #=> String, one of "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"
3413
3468
  # resp.layers[0].latest_matching_version.license_info #=> String
3414
3469
  #
3415
3470
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayers AWS API Documentation
@@ -3679,7 +3734,7 @@ module Aws::Lambda
3679
3734
  # resp.versions #=> Array
3680
3735
  # resp.versions[0].function_name #=> String
3681
3736
  # resp.versions[0].function_arn #=> String
3682
- # resp.versions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "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"
3737
+ # resp.versions[0].runtime #=> String, one of "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"
3683
3738
  # resp.versions[0].role #=> String
3684
3739
  # resp.versions[0].handler #=> String
3685
3740
  # resp.versions[0].code_size #=> Integer
@@ -3712,6 +3767,9 @@ module Aws::Lambda
3712
3767
  # resp.versions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
3713
3768
  # resp.versions[0].last_update_status_reason #=> String
3714
3769
  # resp.versions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
3770
+ # resp.versions[0].file_system_configs #=> Array
3771
+ # resp.versions[0].file_system_configs[0].arn #=> String
3772
+ # resp.versions[0].file_system_configs[0].local_mount_path #=> String
3715
3773
  #
3716
3774
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
3717
3775
  #
@@ -3825,7 +3883,7 @@ module Aws::Lambda
3825
3883
  # s3_object_version: "S3ObjectVersion",
3826
3884
  # zip_file: "data",
3827
3885
  # },
3828
- # compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, 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
3886
+ # compatible_runtimes: ["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
3829
3887
  # license_info: "LicenseInfo",
3830
3888
  # })
3831
3889
  #
@@ -3840,7 +3898,7 @@ module Aws::Lambda
3840
3898
  # resp.created_date #=> Time
3841
3899
  # resp.version #=> Integer
3842
3900
  # resp.compatible_runtimes #=> Array
3843
- # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "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"
3901
+ # resp.compatible_runtimes[0] #=> String, one of "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"
3844
3902
  # resp.license_info #=> String
3845
3903
  #
3846
3904
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersion AWS API Documentation
@@ -3927,6 +3985,7 @@ module Aws::Lambda
3927
3985
  # * {Types::FunctionConfiguration#last_update_status #last_update_status} => String
3928
3986
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
3929
3987
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
3988
+ # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
3930
3989
  #
3931
3990
  #
3932
3991
  # @example Example: To publish a version of a Lambda function
@@ -3981,7 +4040,7 @@ module Aws::Lambda
3981
4040
  #
3982
4041
  # resp.function_name #=> String
3983
4042
  # resp.function_arn #=> String
3984
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "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"
4043
+ # resp.runtime #=> String, one of "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"
3985
4044
  # resp.role #=> String
3986
4045
  # resp.handler #=> String
3987
4046
  # resp.code_size #=> Integer
@@ -4014,6 +4073,9 @@ module Aws::Lambda
4014
4073
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
4015
4074
  # resp.last_update_status_reason #=> String
4016
4075
  # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
4076
+ # resp.file_system_configs #=> Array
4077
+ # resp.file_system_configs[0].arn #=> String
4078
+ # resp.file_system_configs[0].local_mount_path #=> String
4017
4079
  #
4018
4080
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
4019
4081
  #
@@ -4104,7 +4166,8 @@ module Aws::Lambda
4104
4166
  # version, or alias. If a configuration already exists for a function,
4105
4167
  # version, or alias, this operation overwrites it. If you exclude any
4106
4168
  # settings, they are removed. To set one option without affecting
4107
- # existing settings for other options, use PutFunctionEventInvokeConfig.
4169
+ # existing settings for other options, use
4170
+ # UpdateFunctionEventInvokeConfig.
4108
4171
  #
4109
4172
  # By default, Lambda retries an asynchronous invocation twice if the
4110
4173
  # function returns an error. It retains events in a queue for up to six
@@ -4553,7 +4616,7 @@ module Aws::Lambda
4553
4616
  #
4554
4617
  #
4555
4618
  #
4556
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
4619
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing
4557
4620
  #
4558
4621
  # @option params [String] :revision_id
4559
4622
  # Only update the alias if the revision ID matches the ID that's
@@ -4647,10 +4710,11 @@ module Aws::Lambda
4647
4710
  # or Amazon SNS topic.
4648
4711
  #
4649
4712
  # * `MaximumRecordAgeInSeconds` - Discard records older than the
4650
- # specified age.
4713
+ # specified age. Default -1 (infinite). Minimum 60. Maximum 604800.
4651
4714
  #
4652
4715
  # * `MaximumRetryAttempts` - Discard records after the specified number
4653
- # of retries.
4716
+ # of retries. Default -1 (infinite). Minimum 0. Maximum 10000. When
4717
+ # infinite, failed records will be retried until the record expires.
4654
4718
  #
4655
4719
  # * `ParallelizationFactor` - Process multiple batches from each shard
4656
4720
  # concurrently.
@@ -4677,7 +4741,8 @@ module Aws::Lambda
4677
4741
  # only the function name, it's limited to 64 characters in length.
4678
4742
  #
4679
4743
  # @option params [Boolean] :enabled
4680
- # Disables the event source mapping to pause polling and invocation.
4744
+ # If true, the event source mapping is active. Set to false to pause
4745
+ # polling and invocation.
4681
4746
  #
4682
4747
  # @option params [Integer] :batch_size
4683
4748
  # The maximum number of items to retrieve in a single batch.
@@ -4688,6 +4753,9 @@ module Aws::Lambda
4688
4753
  #
4689
4754
  # * **Amazon Simple Queue Service** - Default 10. Max 10.
4690
4755
  #
4756
+ # * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
4757
+ # 10,000.
4758
+ #
4691
4759
  # @option params [Integer] :maximum_batching_window_in_seconds
4692
4760
  # (Streams) The maximum amount of time to gather records before invoking
4693
4761
  # the function, in seconds.
@@ -4697,16 +4765,17 @@ module Aws::Lambda
4697
4765
  # discarded records.
4698
4766
  #
4699
4767
  # @option params [Integer] :maximum_record_age_in_seconds
4700
- # (Streams) The maximum age of a record that Lambda sends to a function
4701
- # for processing.
4768
+ # (Streams) Discard records older than the specified age. The default
4769
+ # value is infinite (-1).
4702
4770
  #
4703
4771
  # @option params [Boolean] :bisect_batch_on_function_error
4704
4772
  # (Streams) If the function returns an error, split the batch in two and
4705
4773
  # retry.
4706
4774
  #
4707
4775
  # @option params [Integer] :maximum_retry_attempts
4708
- # (Streams) The maximum number of times to retry when the function
4709
- # returns an error.
4776
+ # (Streams) Discard records after the specified number of retries. The
4777
+ # default value is infinite (-1). When set to infinite (-1), failed
4778
+ # records will be retried until the record expires.
4710
4779
  #
4711
4780
  # @option params [Integer] :parallelization_factor
4712
4781
  # (Streams) The number of batches to process from each shard
@@ -4725,6 +4794,7 @@ module Aws::Lambda
4725
4794
  # * {Types::EventSourceMappingConfiguration#state #state} => String
4726
4795
  # * {Types::EventSourceMappingConfiguration#state_transition_reason #state_transition_reason} => String
4727
4796
  # * {Types::EventSourceMappingConfiguration#destination_config #destination_config} => Types::DestinationConfig
4797
+ # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
4728
4798
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
4729
4799
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
4730
4800
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
@@ -4789,6 +4859,8 @@ module Aws::Lambda
4789
4859
  # resp.state_transition_reason #=> String
4790
4860
  # resp.destination_config.on_success.destination #=> String
4791
4861
  # resp.destination_config.on_failure.destination #=> String
4862
+ # resp.topics #=> Array
4863
+ # resp.topics[0] #=> String
4792
4864
  # resp.maximum_record_age_in_seconds #=> Integer
4793
4865
  # resp.bisect_batch_on_function_error #=> Boolean
4794
4866
  # resp.maximum_retry_attempts #=> Integer
@@ -4822,7 +4894,7 @@ module Aws::Lambda
4822
4894
  # The length constraint applies only to the full ARN. If you specify
4823
4895
  # only the function name, it is limited to 64 characters in length.
4824
4896
  #
4825
- # @option params [String, IO] :zip_file
4897
+ # @option params [String, StringIO, File] :zip_file
4826
4898
  # The base64-encoded contents of the deployment package. AWS SDK and AWS
4827
4899
  # CLI clients handle the encoding for you.
4828
4900
  #
@@ -4879,6 +4951,7 @@ module Aws::Lambda
4879
4951
  # * {Types::FunctionConfiguration#last_update_status #last_update_status} => String
4880
4952
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
4881
4953
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
4954
+ # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
4882
4955
  #
4883
4956
  #
4884
4957
  # @example Example: To update a Lambda function's code
@@ -4929,7 +5002,7 @@ module Aws::Lambda
4929
5002
  #
4930
5003
  # resp.function_name #=> String
4931
5004
  # resp.function_arn #=> String
4932
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "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"
5005
+ # resp.runtime #=> String, one of "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"
4933
5006
  # resp.role #=> String
4934
5007
  # resp.handler #=> String
4935
5008
  # resp.code_size #=> Integer
@@ -4962,6 +5035,9 @@ module Aws::Lambda
4962
5035
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
4963
5036
  # resp.last_update_status_reason #=> String
4964
5037
  # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
5038
+ # resp.file_system_configs #=> Array
5039
+ # resp.file_system_configs[0].arn #=> String
5040
+ # resp.file_system_configs[0].local_mount_path #=> String
4965
5041
  #
4966
5042
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
4967
5043
  #
@@ -5089,6 +5165,9 @@ module Aws::Lambda
5089
5165
  #
5090
5166
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
5091
5167
  #
5168
+ # @option params [Array<Types::FileSystemConfig>] :file_system_configs
5169
+ # Connection settings for an Amazon EFS file system.
5170
+ #
5092
5171
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5093
5172
  #
5094
5173
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -5117,6 +5196,7 @@ module Aws::Lambda
5117
5196
  # * {Types::FunctionConfiguration#last_update_status #last_update_status} => String
5118
5197
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
5119
5198
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
5199
+ # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
5120
5200
  #
5121
5201
  #
5122
5202
  # @example Example: To update a Lambda function's configuration
@@ -5167,7 +5247,7 @@ module Aws::Lambda
5167
5247
  # "EnvironmentVariableName" => "EnvironmentVariableValue",
5168
5248
  # },
5169
5249
  # },
5170
- # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, 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
5250
+ # 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
5171
5251
  # dead_letter_config: {
5172
5252
  # target_arn: "ResourceArn",
5173
5253
  # },
@@ -5177,13 +5257,19 @@ module Aws::Lambda
5177
5257
  # },
5178
5258
  # revision_id: "String",
5179
5259
  # layers: ["LayerVersionArn"],
5260
+ # file_system_configs: [
5261
+ # {
5262
+ # arn: "FileSystemArn", # required
5263
+ # local_mount_path: "LocalMountPath", # required
5264
+ # },
5265
+ # ],
5180
5266
  # })
5181
5267
  #
5182
5268
  # @example Response structure
5183
5269
  #
5184
5270
  # resp.function_name #=> String
5185
5271
  # resp.function_arn #=> String
5186
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "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"
5272
+ # resp.runtime #=> String, one of "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"
5187
5273
  # resp.role #=> String
5188
5274
  # resp.handler #=> String
5189
5275
  # resp.code_size #=> Integer
@@ -5216,6 +5302,9 @@ module Aws::Lambda
5216
5302
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
5217
5303
  # resp.last_update_status_reason #=> String
5218
5304
  # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
5305
+ # resp.file_system_configs #=> Array
5306
+ # resp.file_system_configs[0].arn #=> String
5307
+ # resp.file_system_configs[0].local_mount_path #=> String
5219
5308
  #
5220
5309
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
5221
5310
  #
@@ -5360,7 +5449,7 @@ module Aws::Lambda
5360
5449
  params: params,
5361
5450
  config: config)
5362
5451
  context[:gem_name] = 'aws-sdk-lambda'
5363
- context[:gem_version] = '1.43.1'
5452
+ context[:gem_version] = '1.48.0'
5364
5453
  Seahorse::Client::Request.new(handlers, context)
5365
5454
  end
5366
5455