aws-sdk-lambda 1.47.0 → 1.52.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc406beb4d46b0ceb39630642c7574c31a505f3da5e0718a73372975a7ceef42
4
- data.tar.gz: e884595330a675e8f3dcff93c4cf1b37857082fad98ed008897e278cd016a40e
3
+ metadata.gz: 8eac0e0f27e4bdd34c10a2763bf22c16bb1a9a393ce307a7a156c579f6e7a6d2
4
+ data.tar.gz: 118425f1298b1c16684a42771ef91a5a5502b5a3527667c9a7485d7480a9cc0a
5
5
  SHA512:
6
- metadata.gz: 13b6488e596ec4424a23964cc6163aacadeb47164413bf069b97ad9b2a1a539ae4b4d0a3d0829a454e8846d912001a84b99e8890d9f879bf62714b87a9c3bcb8
7
- data.tar.gz: b928cf3ae38d711866e205c7b74d09c1f572b8b93f1fdef67be9d0fc4f3f49392c54e6599d0cd5c282c3a83275dcfba83eef38dbd75265ac4fd61a15bdc0302d
6
+ metadata.gz: d2191ed295610baf87860d4161992eba10a84b6e71df35f2688fc18ff34c272277e00b0a94a5a2546029fd94950663c3435e60ad8b56ff6bc869975363cc5adc
7
+ data.tar.gz: eb7ae0a08f21febc592e2ed6812908c42b995efea7526edd63d2d2e616dc07239609083e72fca390d1c58da02d21513c765f1e989033358db446b917624c79b9
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -45,9 +46,9 @@ require_relative 'aws-sdk-lambda/customizations'
45
46
  #
46
47
  # See {Errors} for more information.
47
48
  #
48
- # @service
49
+ # @!group service
49
50
  module Aws::Lambda
50
51
 
51
- GEM_VERSION = '1.47.0'
52
+ GEM_VERSION = '1.52.0'
52
53
 
53
54
  end
@@ -85,13 +85,28 @@ module Aws::Lambda
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::Lambda
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -672,11 +687,12 @@ module Aws::Lambda
672
687
  # or Amazon SNS topic.
673
688
  #
674
689
  # * `MaximumRecordAgeInSeconds` - Discard records older than the
675
- # specified age. Default -1 (infinite). Minimum 60. Maximum 604800.
690
+ # specified age. The default value is infinite (-1). When set to
691
+ # infinite (-1), failed records are retried until the record expires
676
692
  #
677
693
  # * `MaximumRetryAttempts` - Discard records after the specified number
678
- # of retries. Default -1 (infinite). Minimum 0. Maximum 10000. When
679
- # infinite, failed records will be retried until the record expires.
694
+ # of retries. The default value is infinite (-1). When set to infinite
695
+ # (-1), failed records are retried until the record expires.
680
696
  #
681
697
  # * `ParallelizationFactor` - Process multiple batches from each shard
682
698
  # concurrently.
@@ -772,6 +788,22 @@ module Aws::Lambda
772
788
  # @option params [Array<String>] :topics
773
789
  # (MSK) The name of the Kafka topic.
774
790
  #
791
+ # @option params [Array<String>] :queues
792
+ # (MQ) The name of the Amazon MQ broker destination queue to consume.
793
+ #
794
+ # @option params [Array<Types::SourceAccessConfiguration>] :source_access_configurations
795
+ # (MQ) The Secrets Manager secret that stores your broker credentials.
796
+ # To store your secret, use the following format: ` \{ "username": "your
797
+ # username", "password": "your password" \}`
798
+ #
799
+ # To reference the secret, use the following format: `[ \{ "Type":
800
+ # "BASIC_AUTH", "URI": "secretARN" \} ]`
801
+ #
802
+ # The value of `Type` is always `BASIC_AUTH`. To encrypt the secret, you
803
+ # can use customer or service managed keys. When using a customer
804
+ # managed KMS key, the Lambda execution role requires `kms:Decrypt`
805
+ # permissions.
806
+ #
775
807
  # @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
776
808
  #
777
809
  # * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
@@ -786,6 +818,8 @@ module Aws::Lambda
786
818
  # * {Types::EventSourceMappingConfiguration#state_transition_reason #state_transition_reason} => String
787
819
  # * {Types::EventSourceMappingConfiguration#destination_config #destination_config} => Types::DestinationConfig
788
820
  # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
821
+ # * {Types::EventSourceMappingConfiguration#queues #queues} => Array&lt;String&gt;
822
+ # * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array&lt;Types::SourceAccessConfiguration&gt;
789
823
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
790
824
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
791
825
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
@@ -835,6 +869,13 @@ module Aws::Lambda
835
869
  # bisect_batch_on_function_error: false,
836
870
  # maximum_retry_attempts: 1,
837
871
  # topics: ["Topic"],
872
+ # queues: ["Queue"],
873
+ # source_access_configurations: [
874
+ # {
875
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH
876
+ # uri: "Arn",
877
+ # },
878
+ # ],
838
879
  # })
839
880
  #
840
881
  # @example Response structure
@@ -853,6 +894,11 @@ module Aws::Lambda
853
894
  # resp.destination_config.on_failure.destination #=> String
854
895
  # resp.topics #=> Array
855
896
  # resp.topics[0] #=> String
897
+ # resp.queues #=> Array
898
+ # resp.queues[0] #=> String
899
+ # resp.source_access_configurations #=> Array
900
+ # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
901
+ # resp.source_access_configurations[0].uri #=> String
856
902
  # resp.maximum_record_age_in_seconds #=> Integer
857
903
  # resp.bisect_batch_on_function_error #=> Boolean
858
904
  # resp.maximum_retry_attempts #=> Integer
@@ -1114,7 +1160,7 @@ module Aws::Lambda
1114
1160
  #
1115
1161
  # resp = client.create_function({
1116
1162
  # function_name: "FunctionName", # required
1117
- # 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
1163
+ # 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
1118
1164
  # role: "RoleArn", # required
1119
1165
  # handler: "Handler", # required
1120
1166
  # code: { # required
@@ -1159,7 +1205,7 @@ module Aws::Lambda
1159
1205
  #
1160
1206
  # resp.function_name #=> String
1161
1207
  # resp.function_arn #=> String
1162
- # 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"
1208
+ # 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"
1163
1209
  # resp.role #=> String
1164
1210
  # resp.handler #=> String
1165
1211
  # resp.code_size #=> Integer
@@ -1284,6 +1330,8 @@ module Aws::Lambda
1284
1330
  # * {Types::EventSourceMappingConfiguration#state_transition_reason #state_transition_reason} => String
1285
1331
  # * {Types::EventSourceMappingConfiguration#destination_config #destination_config} => Types::DestinationConfig
1286
1332
  # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
1333
+ # * {Types::EventSourceMappingConfiguration#queues #queues} => Array&lt;String&gt;
1334
+ # * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array&lt;Types::SourceAccessConfiguration&gt;
1287
1335
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
1288
1336
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
1289
1337
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
@@ -1330,6 +1378,11 @@ module Aws::Lambda
1330
1378
  # resp.destination_config.on_failure.destination #=> String
1331
1379
  # resp.topics #=> Array
1332
1380
  # resp.topics[0] #=> String
1381
+ # resp.queues #=> Array
1382
+ # resp.queues[0] #=> String
1383
+ # resp.source_access_configurations #=> Array
1384
+ # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
1385
+ # resp.source_access_configurations[0].uri #=> String
1333
1386
  # resp.maximum_record_age_in_seconds #=> Integer
1334
1387
  # resp.bisect_batch_on_function_error #=> Boolean
1335
1388
  # resp.maximum_retry_attempts #=> Integer
@@ -1742,6 +1795,8 @@ module Aws::Lambda
1742
1795
  # * {Types::EventSourceMappingConfiguration#state_transition_reason #state_transition_reason} => String
1743
1796
  # * {Types::EventSourceMappingConfiguration#destination_config #destination_config} => Types::DestinationConfig
1744
1797
  # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
1798
+ # * {Types::EventSourceMappingConfiguration#queues #queues} => Array&lt;String&gt;
1799
+ # * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array&lt;Types::SourceAccessConfiguration&gt;
1745
1800
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
1746
1801
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
1747
1802
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
@@ -1795,6 +1850,11 @@ module Aws::Lambda
1795
1850
  # resp.destination_config.on_failure.destination #=> String
1796
1851
  # resp.topics #=> Array
1797
1852
  # resp.topics[0] #=> String
1853
+ # resp.queues #=> Array
1854
+ # resp.queues[0] #=> String
1855
+ # resp.source_access_configurations #=> Array
1856
+ # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
1857
+ # resp.source_access_configurations[0].uri #=> String
1798
1858
  # resp.maximum_record_age_in_seconds #=> Integer
1799
1859
  # resp.bisect_batch_on_function_error #=> Boolean
1800
1860
  # resp.maximum_retry_attempts #=> Integer
@@ -1900,7 +1960,7 @@ module Aws::Lambda
1900
1960
  #
1901
1961
  # resp.configuration.function_name #=> String
1902
1962
  # resp.configuration.function_arn #=> String
1903
- # 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"
1963
+ # 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"
1904
1964
  # resp.configuration.role #=> String
1905
1965
  # resp.configuration.handler #=> String
1906
1966
  # resp.configuration.code_size #=> Integer
@@ -2120,7 +2180,7 @@ module Aws::Lambda
2120
2180
  #
2121
2181
  # resp.function_name #=> String
2122
2182
  # resp.function_arn #=> String
2123
- # 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"
2183
+ # 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"
2124
2184
  # resp.role #=> String
2125
2185
  # resp.handler #=> String
2126
2186
  # resp.code_size #=> Integer
@@ -2328,7 +2388,7 @@ module Aws::Lambda
2328
2388
  # resp.created_date #=> Time
2329
2389
  # resp.version #=> Integer
2330
2390
  # resp.compatible_runtimes #=> Array
2331
- # 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"
2391
+ # 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"
2332
2392
  # resp.license_info #=> String
2333
2393
  #
2334
2394
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersion AWS API Documentation
@@ -2404,7 +2464,7 @@ module Aws::Lambda
2404
2464
  # resp.created_date #=> Time
2405
2465
  # resp.version #=> Integer
2406
2466
  # resp.compatible_runtimes #=> Array
2407
- # 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"
2467
+ # 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"
2408
2468
  # resp.license_info #=> String
2409
2469
  #
2410
2470
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionByArn AWS API Documentation
@@ -2555,9 +2615,9 @@ module Aws::Lambda
2555
2615
  # * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
2556
2616
  #
2557
2617
  #
2558
- # @example Example: To get a provisioned concurrency configuration
2618
+ # @example Example: To view a provisioned concurrency configuration
2559
2619
  #
2560
- # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
2620
+ # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
2561
2621
  # # function.
2562
2622
  #
2563
2623
  # resp = client.get_provisioned_concurrency_config({
@@ -2574,9 +2634,9 @@ module Aws::Lambda
2574
2634
  # status: "READY",
2575
2635
  # }
2576
2636
  #
2577
- # @example Example: To view a provisioned concurrency configuration
2637
+ # @example Example: To get a provisioned concurrency configuration
2578
2638
  #
2579
- # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
2639
+ # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
2580
2640
  # # function.
2581
2641
  #
2582
2642
  # resp = client.get_provisioned_concurrency_config({
@@ -3046,6 +3106,11 @@ module Aws::Lambda
3046
3106
  # resp.event_source_mappings[0].destination_config.on_failure.destination #=> String
3047
3107
  # resp.event_source_mappings[0].topics #=> Array
3048
3108
  # resp.event_source_mappings[0].topics[0] #=> String
3109
+ # resp.event_source_mappings[0].queues #=> Array
3110
+ # resp.event_source_mappings[0].queues[0] #=> String
3111
+ # resp.event_source_mappings[0].source_access_configurations #=> Array
3112
+ # resp.event_source_mappings[0].source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
3113
+ # resp.event_source_mappings[0].source_access_configurations[0].uri #=> String
3049
3114
  # resp.event_source_mappings[0].maximum_record_age_in_seconds #=> Integer
3050
3115
  # resp.event_source_mappings[0].bisect_batch_on_function_error #=> Boolean
3051
3116
  # resp.event_source_mappings[0].maximum_retry_attempts #=> Integer
@@ -3253,7 +3318,7 @@ module Aws::Lambda
3253
3318
  # resp.functions #=> Array
3254
3319
  # resp.functions[0].function_name #=> String
3255
3320
  # resp.functions[0].function_arn #=> String
3256
- # 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"
3321
+ # 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"
3257
3322
  # resp.functions[0].role #=> String
3258
3323
  # resp.functions[0].handler #=> String
3259
3324
  # resp.functions[0].code_size #=> Integer
@@ -3364,7 +3429,7 @@ module Aws::Lambda
3364
3429
  # @example Request syntax with placeholder values
3365
3430
  #
3366
3431
  # resp = client.list_layer_versions({
3367
- # 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
3432
+ # 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
3368
3433
  # layer_name: "LayerName", # required
3369
3434
  # marker: "String",
3370
3435
  # max_items: 1,
@@ -3379,7 +3444,7 @@ module Aws::Lambda
3379
3444
  # resp.layer_versions[0].description #=> String
3380
3445
  # resp.layer_versions[0].created_date #=> Time
3381
3446
  # resp.layer_versions[0].compatible_runtimes #=> Array
3382
- # 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"
3447
+ # 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"
3383
3448
  # resp.layer_versions[0].license_info #=> String
3384
3449
  #
3385
3450
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersions AWS API Documentation
@@ -3448,7 +3513,7 @@ module Aws::Lambda
3448
3513
  # @example Request syntax with placeholder values
3449
3514
  #
3450
3515
  # resp = client.list_layers({
3451
- # 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
3516
+ # 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
3452
3517
  # marker: "String",
3453
3518
  # max_items: 1,
3454
3519
  # })
@@ -3464,7 +3529,7 @@ module Aws::Lambda
3464
3529
  # resp.layers[0].latest_matching_version.description #=> String
3465
3530
  # resp.layers[0].latest_matching_version.created_date #=> Time
3466
3531
  # resp.layers[0].latest_matching_version.compatible_runtimes #=> Array
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", "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"
3532
+ # 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"
3468
3533
  # resp.layers[0].latest_matching_version.license_info #=> String
3469
3534
  #
3470
3535
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayers AWS API Documentation
@@ -3734,7 +3799,7 @@ module Aws::Lambda
3734
3799
  # resp.versions #=> Array
3735
3800
  # resp.versions[0].function_name #=> String
3736
3801
  # resp.versions[0].function_arn #=> String
3737
- # 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"
3802
+ # 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"
3738
3803
  # resp.versions[0].role #=> String
3739
3804
  # resp.versions[0].handler #=> String
3740
3805
  # resp.versions[0].code_size #=> Integer
@@ -3883,7 +3948,7 @@ module Aws::Lambda
3883
3948
  # s3_object_version: "S3ObjectVersion",
3884
3949
  # zip_file: "data",
3885
3950
  # },
3886
- # 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
3951
+ # 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
3887
3952
  # license_info: "LicenseInfo",
3888
3953
  # })
3889
3954
  #
@@ -3898,7 +3963,7 @@ module Aws::Lambda
3898
3963
  # resp.created_date #=> Time
3899
3964
  # resp.version #=> Integer
3900
3965
  # resp.compatible_runtimes #=> Array
3901
- # 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"
3966
+ # 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"
3902
3967
  # resp.license_info #=> String
3903
3968
  #
3904
3969
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersion AWS API Documentation
@@ -4040,7 +4105,7 @@ module Aws::Lambda
4040
4105
  #
4041
4106
  # resp.function_name #=> String
4042
4107
  # resp.function_arn #=> String
4043
- # 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"
4108
+ # 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"
4044
4109
  # resp.role #=> String
4045
4110
  # resp.handler #=> String
4046
4111
  # resp.code_size #=> Integer
@@ -4710,11 +4775,12 @@ module Aws::Lambda
4710
4775
  # or Amazon SNS topic.
4711
4776
  #
4712
4777
  # * `MaximumRecordAgeInSeconds` - Discard records older than the
4713
- # specified age. Default -1 (infinite). Minimum 60. Maximum 604800.
4778
+ # specified age. The default value is infinite (-1). When set to
4779
+ # infinite (-1), failed records are retried until the record expires
4714
4780
  #
4715
4781
  # * `MaximumRetryAttempts` - Discard records after the specified number
4716
- # of retries. Default -1 (infinite). Minimum 0. Maximum 10000. When
4717
- # infinite, failed records will be retried until the record expires.
4782
+ # of retries. The default value is infinite (-1). When set to infinite
4783
+ # (-1), failed records are retried until the record expires.
4718
4784
  #
4719
4785
  # * `ParallelizationFactor` - Process multiple batches from each shard
4720
4786
  # concurrently.
@@ -4781,6 +4847,19 @@ module Aws::Lambda
4781
4847
  # (Streams) The number of batches to process from each shard
4782
4848
  # concurrently.
4783
4849
  #
4850
+ # @option params [Array<Types::SourceAccessConfiguration>] :source_access_configurations
4851
+ # (MQ) The Secrets Manager secret that stores your broker credentials.
4852
+ # To store your secret, use the following format: ` \{ "username": "your
4853
+ # username", "password": "your password" \}`
4854
+ #
4855
+ # To reference the secret, use the following format: `[ \{ "Type":
4856
+ # "BASIC_AUTH", "URI": "secretARN" \} ]`
4857
+ #
4858
+ # The value of `Type` is always `BASIC_AUTH`. To encrypt the secret, you
4859
+ # can use customer or service managed keys. When using a customer
4860
+ # managed KMS key, the Lambda execution role requires `kms:Decrypt`
4861
+ # permissions.
4862
+ #
4784
4863
  # @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4785
4864
  #
4786
4865
  # * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
@@ -4795,6 +4874,8 @@ module Aws::Lambda
4795
4874
  # * {Types::EventSourceMappingConfiguration#state_transition_reason #state_transition_reason} => String
4796
4875
  # * {Types::EventSourceMappingConfiguration#destination_config #destination_config} => Types::DestinationConfig
4797
4876
  # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
4877
+ # * {Types::EventSourceMappingConfiguration#queues #queues} => Array&lt;String&gt;
4878
+ # * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array&lt;Types::SourceAccessConfiguration&gt;
4798
4879
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
4799
4880
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
4800
4881
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
@@ -4843,6 +4924,12 @@ module Aws::Lambda
4843
4924
  # bisect_batch_on_function_error: false,
4844
4925
  # maximum_retry_attempts: 1,
4845
4926
  # parallelization_factor: 1,
4927
+ # source_access_configurations: [
4928
+ # {
4929
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH
4930
+ # uri: "Arn",
4931
+ # },
4932
+ # ],
4846
4933
  # })
4847
4934
  #
4848
4935
  # @example Response structure
@@ -4861,6 +4948,11 @@ module Aws::Lambda
4861
4948
  # resp.destination_config.on_failure.destination #=> String
4862
4949
  # resp.topics #=> Array
4863
4950
  # resp.topics[0] #=> String
4951
+ # resp.queues #=> Array
4952
+ # resp.queues[0] #=> String
4953
+ # resp.source_access_configurations #=> Array
4954
+ # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
4955
+ # resp.source_access_configurations[0].uri #=> String
4864
4956
  # resp.maximum_record_age_in_seconds #=> Integer
4865
4957
  # resp.bisect_batch_on_function_error #=> Boolean
4866
4958
  # resp.maximum_retry_attempts #=> Integer
@@ -5002,7 +5094,7 @@ module Aws::Lambda
5002
5094
  #
5003
5095
  # resp.function_name #=> String
5004
5096
  # resp.function_arn #=> String
5005
- # 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"
5097
+ # 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"
5006
5098
  # resp.role #=> String
5007
5099
  # resp.handler #=> String
5008
5100
  # resp.code_size #=> Integer
@@ -5247,7 +5339,7 @@ module Aws::Lambda
5247
5339
  # "EnvironmentVariableName" => "EnvironmentVariableValue",
5248
5340
  # },
5249
5341
  # },
5250
- # 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
5342
+ # 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
5251
5343
  # dead_letter_config: {
5252
5344
  # target_arn: "ResourceArn",
5253
5345
  # },
@@ -5269,7 +5361,7 @@ module Aws::Lambda
5269
5361
  #
5270
5362
  # resp.function_name #=> String
5271
5363
  # resp.function_arn #=> String
5272
- # 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"
5364
+ # 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"
5273
5365
  # resp.role #=> String
5274
5366
  # resp.handler #=> String
5275
5367
  # resp.code_size #=> Integer
@@ -5449,7 +5541,7 @@ module Aws::Lambda
5449
5541
  params: params,
5450
5542
  config: config)
5451
5543
  context[:gem_name] = 'aws-sdk-lambda'
5452
- context[:gem_version] = '1.47.0'
5544
+ context[:gem_version] = '1.52.0'
5453
5545
  Seahorse::Client::Request.new(handlers, context)
5454
5546
  end
5455
5547
 
@@ -194,6 +194,8 @@ module Aws::Lambda
194
194
  PutProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigRequest')
195
195
  PutProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigResponse')
196
196
  Qualifier = Shapes::StringShape.new(name: 'Qualifier')
197
+ Queue = Shapes::StringShape.new(name: 'Queue')
198
+ Queues = Shapes::ListShape.new(name: 'Queues')
197
199
  RemoveLayerVersionPermissionRequest = Shapes::StructureShape.new(name: 'RemoveLayerVersionPermissionRequest')
198
200
  RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
199
201
  RequestTooLargeException = Shapes::StructureShape.new(name: 'RequestTooLargeException')
@@ -212,6 +214,9 @@ module Aws::Lambda
212
214
  SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
213
215
  SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
214
216
  ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
217
+ SourceAccessConfiguration = Shapes::StructureShape.new(name: 'SourceAccessConfiguration')
218
+ SourceAccessConfigurations = Shapes::ListShape.new(name: 'SourceAccessConfigurations')
219
+ SourceAccessType = Shapes::StringShape.new(name: 'SourceAccessType')
215
220
  SourceOwner = Shapes::StringShape.new(name: 'SourceOwner')
216
221
  State = Shapes::StringShape.new(name: 'State')
217
222
  StateReason = Shapes::StringShape.new(name: 'StateReason')
@@ -332,6 +337,8 @@ module Aws::Lambda
332
337
  CreateEventSourceMappingRequest.add_member(:bisect_batch_on_function_error, Shapes::ShapeRef.new(shape: BisectBatchOnFunctionError, location_name: "BisectBatchOnFunctionError"))
333
338
  CreateEventSourceMappingRequest.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
334
339
  CreateEventSourceMappingRequest.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
340
+ CreateEventSourceMappingRequest.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
341
+ CreateEventSourceMappingRequest.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
335
342
  CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
336
343
 
337
344
  CreateFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
@@ -445,6 +452,8 @@ module Aws::Lambda
445
452
  EventSourceMappingConfiguration.add_member(:state_transition_reason, Shapes::ShapeRef.new(shape: String, location_name: "StateTransitionReason"))
446
453
  EventSourceMappingConfiguration.add_member(:destination_config, Shapes::ShapeRef.new(shape: DestinationConfig, location_name: "DestinationConfig"))
447
454
  EventSourceMappingConfiguration.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
455
+ EventSourceMappingConfiguration.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
456
+ EventSourceMappingConfiguration.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
448
457
  EventSourceMappingConfiguration.add_member(:maximum_record_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumRecordAgeInSeconds, location_name: "MaximumRecordAgeInSeconds"))
449
458
  EventSourceMappingConfiguration.add_member(:bisect_batch_on_function_error, Shapes::ShapeRef.new(shape: BisectBatchOnFunctionError, location_name: "BisectBatchOnFunctionError"))
450
459
  EventSourceMappingConfiguration.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
@@ -852,6 +861,8 @@ module Aws::Lambda
852
861
  PutProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
853
862
  PutProvisionedConcurrencyConfigResponse.struct_class = Types::PutProvisionedConcurrencyConfigResponse
854
863
 
864
+ Queues.member = Shapes::ShapeRef.new(shape: Queue)
865
+
855
866
  RemoveLayerVersionPermissionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
856
867
  RemoveLayerVersionPermissionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: LayerVersionNumber, required: true, location: "uri", location_name: "VersionNumber"))
857
868
  RemoveLayerVersionPermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location: "uri", location_name: "StatementId"))
@@ -890,6 +901,12 @@ module Aws::Lambda
890
901
  ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
891
902
  ServiceException.struct_class = Types::ServiceException
892
903
 
904
+ SourceAccessConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: SourceAccessType, location_name: "Type"))
905
+ SourceAccessConfiguration.add_member(:uri, Shapes::ShapeRef.new(shape: Arn, location_name: "URI"))
906
+ SourceAccessConfiguration.struct_class = Types::SourceAccessConfiguration
907
+
908
+ SourceAccessConfigurations.member = Shapes::ShapeRef.new(shape: SourceAccessConfiguration)
909
+
893
910
  SubnetIPAddressLimitReachedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
894
911
  SubnetIPAddressLimitReachedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
895
912
  SubnetIPAddressLimitReachedException.struct_class = Types::SubnetIPAddressLimitReachedException
@@ -945,6 +962,7 @@ module Aws::Lambda
945
962
  UpdateEventSourceMappingRequest.add_member(:bisect_batch_on_function_error, Shapes::ShapeRef.new(shape: BisectBatchOnFunctionError, location_name: "BisectBatchOnFunctionError"))
946
963
  UpdateEventSourceMappingRequest.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
947
964
  UpdateEventSourceMappingRequest.add_member(:parallelization_factor, Shapes::ShapeRef.new(shape: ParallelizationFactor, location_name: "ParallelizationFactor"))
965
+ UpdateEventSourceMappingRequest.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
948
966
  UpdateEventSourceMappingRequest.struct_class = Types::UpdateEventSourceMappingRequest
949
967
 
950
968
  UpdateFunctionCodeRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -454,6 +454,13 @@ module Aws::Lambda
454
454
  # bisect_batch_on_function_error: false,
455
455
  # maximum_retry_attempts: 1,
456
456
  # topics: ["Topic"],
457
+ # queues: ["Queue"],
458
+ # source_access_configurations: [
459
+ # {
460
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH
461
+ # uri: "Arn",
462
+ # },
463
+ # ],
457
464
  # }
458
465
  #
459
466
  # @!attribute [rw] event_source_arn
@@ -553,6 +560,24 @@ module Aws::Lambda
553
560
  # (MSK) The name of the Kafka topic.
554
561
  # @return [Array<String>]
555
562
  #
563
+ # @!attribute [rw] queues
564
+ # (MQ) The name of the Amazon MQ broker destination queue to consume.
565
+ # @return [Array<String>]
566
+ #
567
+ # @!attribute [rw] source_access_configurations
568
+ # (MQ) The Secrets Manager secret that stores your broker credentials.
569
+ # To store your secret, use the following format: ` \{ "username":
570
+ # "your username", "password": "your password" \}`
571
+ #
572
+ # To reference the secret, use the following format: `[ \{ "Type":
573
+ # "BASIC_AUTH", "URI": "secretARN" \} ]`
574
+ #
575
+ # The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
576
+ # you can use customer or service managed keys. When using a customer
577
+ # managed KMS key, the Lambda execution role requires `kms:Decrypt`
578
+ # permissions.
579
+ # @return [Array<Types::SourceAccessConfiguration>]
580
+ #
556
581
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
557
582
  #
558
583
  class CreateEventSourceMappingRequest < Struct.new(
@@ -568,7 +593,9 @@ module Aws::Lambda
568
593
  :maximum_record_age_in_seconds,
569
594
  :bisect_batch_on_function_error,
570
595
  :maximum_retry_attempts,
571
- :topics)
596
+ :topics,
597
+ :queues,
598
+ :source_access_configurations)
572
599
  SENSITIVE = []
573
600
  include Aws::Structure
574
601
  end
@@ -578,7 +605,7 @@ module Aws::Lambda
578
605
  #
579
606
  # {
580
607
  # function_name: "FunctionName", # required
581
- # 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
608
+ # 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
582
609
  # role: "RoleArn", # required
583
610
  # handler: "Handler", # required
584
611
  # code: { # required
@@ -1277,12 +1304,12 @@ module Aws::Lambda
1277
1304
  #
1278
1305
  # @!attribute [rw] maximum_batching_window_in_seconds
1279
1306
  # (Streams) The maximum amount of time to gather records before
1280
- # invoking the function, in seconds.
1307
+ # invoking the function, in seconds. The default value is zero.
1281
1308
  # @return [Integer]
1282
1309
  #
1283
1310
  # @!attribute [rw] parallelization_factor
1284
1311
  # (Streams) The number of batches to process from each shard
1285
- # concurrently.
1312
+ # concurrently. The default value is 1.
1286
1313
  # @return [Integer]
1287
1314
  #
1288
1315
  # @!attribute [rw] event_source_arn
@@ -1320,22 +1347,42 @@ module Aws::Lambda
1320
1347
  # @return [Types::DestinationConfig]
1321
1348
  #
1322
1349
  # @!attribute [rw] topics
1323
- # (MSK) The name of the Kafka topic.
1350
+ # (MSK) The name of the Kafka topic to consume.
1324
1351
  # @return [Array<String>]
1325
1352
  #
1353
+ # @!attribute [rw] queues
1354
+ # (MQ) The name of the Amazon MQ broker destination queue to consume.
1355
+ # @return [Array<String>]
1356
+ #
1357
+ # @!attribute [rw] source_access_configurations
1358
+ # (MQ) The Secrets Manager secret that stores your broker credentials.
1359
+ # To store your secret, use the following format: ` \{ "username":
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.
1369
+ # @return [Array<Types::SourceAccessConfiguration>]
1370
+ #
1326
1371
  # @!attribute [rw] maximum_record_age_in_seconds
1327
- # (Streams) The maximum age of a record that Lambda sends to a
1328
- # function for processing.
1372
+ # (Streams) Discard records older than the specified age. The default
1373
+ # value is infinite (-1). When set to infinite (-1), failed records
1374
+ # are retried until the record expires.
1329
1375
  # @return [Integer]
1330
1376
  #
1331
1377
  # @!attribute [rw] bisect_batch_on_function_error
1332
1378
  # (Streams) If the function returns an error, split the batch in two
1333
- # and retry.
1379
+ # and retry. The default value is false.
1334
1380
  # @return [Boolean]
1335
1381
  #
1336
1382
  # @!attribute [rw] maximum_retry_attempts
1337
- # (Streams) The maximum number of times to retry when the function
1338
- # returns an error.
1383
+ # (Streams) Discard records after the specified number of retries. The
1384
+ # default value is infinite (-1). When set to infinite (-1), failed
1385
+ # records are retried until the record expires.
1339
1386
  # @return [Integer]
1340
1387
  #
1341
1388
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
@@ -1353,6 +1400,8 @@ module Aws::Lambda
1353
1400
  :state_transition_reason,
1354
1401
  :destination_config,
1355
1402
  :topics,
1403
+ :queues,
1404
+ :source_access_configurations,
1356
1405
  :maximum_record_age_in_seconds,
1357
1406
  :bisect_batch_on_function_error,
1358
1407
  :maximum_retry_attempts)
@@ -3004,7 +3053,7 @@ module Aws::Lambda
3004
3053
  # data as a hash:
3005
3054
  #
3006
3055
  # {
3007
- # 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
3056
+ # 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
3008
3057
  # layer_name: "LayerName", # required
3009
3058
  # marker: "String",
3010
3059
  # max_items: 1,
@@ -3059,7 +3108,7 @@ module Aws::Lambda
3059
3108
  # data as a hash:
3060
3109
  #
3061
3110
  # {
3062
- # 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
3111
+ # 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
3063
3112
  # marker: "String",
3064
3113
  # max_items: 1,
3065
3114
  # }
@@ -3421,7 +3470,7 @@ module Aws::Lambda
3421
3470
  # s3_object_version: "S3ObjectVersion",
3422
3471
  # zip_file: "data",
3423
3472
  # },
3424
- # 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
3473
+ # 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
3425
3474
  # license_info: "LicenseInfo",
3426
3475
  # }
3427
3476
  #
@@ -3991,6 +4040,47 @@ module Aws::Lambda
3991
4040
  include Aws::Structure
3992
4041
  end
3993
4042
 
4043
+ # (MQ) The Secrets Manager secret that stores your broker credentials.
4044
+ # To store your secret, use the following format: ` \{ "username": "your
4045
+ # username", "password": "your password" \}`
4046
+ #
4047
+ # @note When making an API call, you may pass SourceAccessConfiguration
4048
+ # data as a hash:
4049
+ #
4050
+ # {
4051
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH
4052
+ # uri: "Arn",
4053
+ # }
4054
+ #
4055
+ # @!attribute [rw] type
4056
+ # To reference the secret, use the following format: `[ \{ "Type":
4057
+ # "BASIC_AUTH", "URI": "secretARN" \} ]`
4058
+ #
4059
+ # The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
4060
+ # you can use customer or service managed keys. When using a customer
4061
+ # managed KMS key, the Lambda execution role requires `kms:Decrypt`
4062
+ # permissions.
4063
+ # @return [String]
4064
+ #
4065
+ # @!attribute [rw] uri
4066
+ # To reference the secret, use the following format: `[ \{ "Type":
4067
+ # "BASIC_AUTH", "URI": "secretARN" \} ]`
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.
4073
+ # @return [String]
4074
+ #
4075
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SourceAccessConfiguration AWS API Documentation
4076
+ #
4077
+ class SourceAccessConfiguration < Struct.new(
4078
+ :type,
4079
+ :uri)
4080
+ SENSITIVE = []
4081
+ include Aws::Structure
4082
+ end
4083
+
3994
4084
  # AWS Lambda was not able to set up VPC access for the Lambda function
3995
4085
  # because one or more configured subnets has no available IP addresses.
3996
4086
  #
@@ -4232,6 +4322,12 @@ module Aws::Lambda
4232
4322
  # bisect_batch_on_function_error: false,
4233
4323
  # maximum_retry_attempts: 1,
4234
4324
  # parallelization_factor: 1,
4325
+ # source_access_configurations: [
4326
+ # {
4327
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH
4328
+ # uri: "Arn",
4329
+ # },
4330
+ # ],
4235
4331
  # }
4236
4332
  #
4237
4333
  # @!attribute [rw] uuid
@@ -4306,6 +4402,20 @@ module Aws::Lambda
4306
4402
  # concurrently.
4307
4403
  # @return [Integer]
4308
4404
  #
4405
+ # @!attribute [rw] source_access_configurations
4406
+ # (MQ) The Secrets Manager secret that stores your broker credentials.
4407
+ # To store your secret, use the following format: ` \{ "username":
4408
+ # "your username", "password": "your password" \}`
4409
+ #
4410
+ # To reference the secret, use the following format: `[ \{ "Type":
4411
+ # "BASIC_AUTH", "URI": "secretARN" \} ]`
4412
+ #
4413
+ # The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
4414
+ # you can use customer or service managed keys. When using a customer
4415
+ # managed KMS key, the Lambda execution role requires `kms:Decrypt`
4416
+ # permissions.
4417
+ # @return [Array<Types::SourceAccessConfiguration>]
4418
+ #
4309
4419
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
4310
4420
  #
4311
4421
  class UpdateEventSourceMappingRequest < Struct.new(
@@ -4318,7 +4428,8 @@ module Aws::Lambda
4318
4428
  :maximum_record_age_in_seconds,
4319
4429
  :bisect_batch_on_function_error,
4320
4430
  :maximum_retry_attempts,
4321
- :parallelization_factor)
4431
+ :parallelization_factor,
4432
+ :source_access_configurations)
4322
4433
  SENSITIVE = []
4323
4434
  include Aws::Structure
4324
4435
  end
@@ -4423,7 +4534,7 @@ module Aws::Lambda
4423
4534
  # "EnvironmentVariableName" => "EnvironmentVariableValue",
4424
4535
  # },
4425
4536
  # },
4426
- # 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
4537
+ # 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
4427
4538
  # dead_letter_config: {
4428
4539
  # target_arn: "ResourceArn",
4429
4540
  # },
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.47.0
4
+ version: 1.52.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: 2020-08-11 00:00:00.000000000 Z
11
+ date: 2020-11-05 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.99.0
22
+ version: 3.109.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.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement