aws-sdk-lambda 1.39.0 → 1.44.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: c1452fdce3dc72b05460b7537f8c8d4aeb0a0c44eb1ed762759a6a1348ac4b0c
4
- data.tar.gz: 2941c79e410a80689f20abc733214102b37fedaa87a04642f39e50a6160ab0ad
3
+ metadata.gz: f9d63fec3b2f344e942c399842f3ec0b624c6f8598c135c57d83b767efcd823e
4
+ data.tar.gz: 99739888eb4f5ee6f98c373887b785d327f5456bf99490d4b3f0c12bb94c40ba
5
5
  SHA512:
6
- metadata.gz: 50c48a2d83d1af74885800006a70641efad8052299700c4f7f24fd280631862c6a151d988f2c83b674aa6645576d279a1f6f2ac3540f1edf1e6bb9f865949444
7
- data.tar.gz: f06046de395a7bde4f654311c7cc365be806cc984e212ebc9aeccd99c145963acce5dafe65f970a063005352493c54b0924e562cdbdfb14c51e2f7ccfc009151
6
+ metadata.gz: e20e618a0602b5d7687ade5405f0b58a2384f0636bdcc9fbcae2d701e4921b542f194686f49e05c21ae33d63482b3bc1b0e6a4021ff7554a578ccdbc45d2b00d
7
+ data.tar.gz: a73a5cd71339643e4882e8608c955cc118c09157c4dfe606059a74ba4300099eea4e8bf77941e91fcc3a800c51caaff7e62314ebda988e4fc108533375724776
@@ -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.39.0'
51
+ GEM_VERSION = '1.44.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:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::Lambda
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::RestJson)
74
78
 
@@ -105,7 +109,7 @@ module Aws::Lambda
105
109
  # @option options [required, String] :region
106
110
  # The AWS region to connect to. The configured `:region` is
107
111
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
112
+ # a default `:region` is searched for in the following locations:
109
113
  #
110
114
  # * `Aws.config[:region]`
111
115
  # * `ENV['AWS_REGION']`
@@ -161,7 +165,7 @@ module Aws::Lambda
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +180,7 @@ module Aws::Lambda
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -580,7 +584,7 @@ module Aws::Lambda
580
584
  #
581
585
  #
582
586
  #
583
- # [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
584
588
  #
585
589
  # @return [Types::AliasConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
586
590
  #
@@ -991,6 +995,9 @@ module Aws::Lambda
991
995
  #
992
996
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
993
997
  #
998
+ # @option params [Array<Types::FileSystemConfig>] :file_system_configs
999
+ # Connection settings for an Amazon EFS file system.
1000
+ #
994
1001
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
995
1002
  #
996
1003
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -1019,9 +1026,10 @@ module Aws::Lambda
1019
1026
  # * {Types::FunctionConfiguration#last_update_status #last_update_status} => String
1020
1027
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
1021
1028
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
1029
+ # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
1022
1030
  #
1023
1031
  #
1024
- # @example Example: To update an asynchronous invocation configuration
1032
+ # @example Example: To create a function
1025
1033
  #
1026
1034
  # # The following example creates a function with a deployment package in Amazon S3 and enables X-Ray tracing and
1027
1035
  # # environment variable encryption.
@@ -1120,6 +1128,12 @@ module Aws::Lambda
1120
1128
  # "TagKey" => "TagValue",
1121
1129
  # },
1122
1130
  # layers: ["LayerVersionArn"],
1131
+ # file_system_configs: [
1132
+ # {
1133
+ # arn: "FileSystemArn", # required
1134
+ # local_mount_path: "LocalMountPath", # required
1135
+ # },
1136
+ # ],
1123
1137
  # })
1124
1138
  #
1125
1139
  # @example Response structure
@@ -1159,6 +1173,9 @@ module Aws::Lambda
1159
1173
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
1160
1174
  # resp.last_update_status_reason #=> String
1161
1175
  # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
1176
+ # resp.file_system_configs #=> Array
1177
+ # resp.file_system_configs[0].arn #=> String
1178
+ # resp.file_system_configs[0].local_mount_path #=> String
1162
1179
  #
1163
1180
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
1164
1181
  #
@@ -1891,6 +1908,9 @@ module Aws::Lambda
1891
1908
  # resp.configuration.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
1892
1909
  # resp.configuration.last_update_status_reason #=> String
1893
1910
  # resp.configuration.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
1911
+ # resp.configuration.file_system_configs #=> Array
1912
+ # resp.configuration.file_system_configs[0].arn #=> String
1913
+ # resp.configuration.file_system_configs[0].local_mount_path #=> String
1894
1914
  # resp.code.repository_type #=> String
1895
1915
  # resp.code.location #=> String
1896
1916
  # resp.tags #=> Hash
@@ -2023,6 +2043,7 @@ module Aws::Lambda
2023
2043
  # * {Types::FunctionConfiguration#last_update_status #last_update_status} => String
2024
2044
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
2025
2045
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
2046
+ # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
2026
2047
  #
2027
2048
  #
2028
2049
  # @example Example: To get a Lambda function's event source mapping
@@ -2107,6 +2128,9 @@ module Aws::Lambda
2107
2128
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
2108
2129
  # resp.last_update_status_reason #=> String
2109
2130
  # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
2131
+ # resp.file_system_configs #=> Array
2132
+ # resp.file_system_configs[0].arn #=> String
2133
+ # resp.file_system_configs[0].local_mount_path #=> String
2110
2134
  #
2111
2135
  #
2112
2136
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -2506,9 +2530,9 @@ module Aws::Lambda
2506
2530
  # * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
2507
2531
  #
2508
2532
  #
2509
- # @example Example: To get a provisioned concurrency configuration
2533
+ # @example Example: To view a provisioned concurrency configuration
2510
2534
  #
2511
- # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
2535
+ # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
2512
2536
  # # function.
2513
2537
  #
2514
2538
  # resp = client.get_provisioned_concurrency_config({
@@ -2525,9 +2549,9 @@ module Aws::Lambda
2525
2549
  # status: "READY",
2526
2550
  # }
2527
2551
  #
2528
- # @example Example: To view a provisioned concurrency configuration
2552
+ # @example Example: To get a provisioned concurrency configuration
2529
2553
  #
2530
- # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
2554
+ # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
2531
2555
  # # function.
2532
2556
  #
2533
2557
  # resp = client.get_provisioned_concurrency_config({
@@ -3232,6 +3256,9 @@ module Aws::Lambda
3232
3256
  # resp.functions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
3233
3257
  # resp.functions[0].last_update_status_reason #=> String
3234
3258
  # resp.functions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
3259
+ # resp.functions[0].file_system_configs #=> Array
3260
+ # resp.functions[0].file_system_configs[0].arn #=> String
3261
+ # resp.functions[0].file_system_configs[0].local_mount_path #=> String
3235
3262
  #
3236
3263
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
3237
3264
  #
@@ -3710,6 +3737,9 @@ module Aws::Lambda
3710
3737
  # resp.versions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
3711
3738
  # resp.versions[0].last_update_status_reason #=> String
3712
3739
  # resp.versions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
3740
+ # resp.versions[0].file_system_configs #=> Array
3741
+ # resp.versions[0].file_system_configs[0].arn #=> String
3742
+ # resp.versions[0].file_system_configs[0].local_mount_path #=> String
3713
3743
  #
3714
3744
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
3715
3745
  #
@@ -3925,6 +3955,7 @@ module Aws::Lambda
3925
3955
  # * {Types::FunctionConfiguration#last_update_status #last_update_status} => String
3926
3956
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
3927
3957
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
3958
+ # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
3928
3959
  #
3929
3960
  #
3930
3961
  # @example Example: To publish a version of a Lambda function
@@ -4012,6 +4043,9 @@ module Aws::Lambda
4012
4043
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
4013
4044
  # resp.last_update_status_reason #=> String
4014
4045
  # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
4046
+ # resp.file_system_configs #=> Array
4047
+ # resp.file_system_configs[0].arn #=> String
4048
+ # resp.file_system_configs[0].local_mount_path #=> String
4015
4049
  #
4016
4050
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
4017
4051
  #
@@ -4102,7 +4136,8 @@ module Aws::Lambda
4102
4136
  # version, or alias. If a configuration already exists for a function,
4103
4137
  # version, or alias, this operation overwrites it. If you exclude any
4104
4138
  # settings, they are removed. To set one option without affecting
4105
- # existing settings for other options, use PutFunctionEventInvokeConfig.
4139
+ # existing settings for other options, use
4140
+ # UpdateFunctionEventInvokeConfig.
4106
4141
  #
4107
4142
  # By default, Lambda retries an asynchronous invocation twice if the
4108
4143
  # function returns an error. It retains events in a queue for up to six
@@ -4551,7 +4586,7 @@ module Aws::Lambda
4551
4586
  #
4552
4587
  #
4553
4588
  #
4554
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
4589
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing
4555
4590
  #
4556
4591
  # @option params [String] :revision_id
4557
4592
  # Only update the alias if the revision ID matches the ID that's
@@ -4877,6 +4912,7 @@ module Aws::Lambda
4877
4912
  # * {Types::FunctionConfiguration#last_update_status #last_update_status} => String
4878
4913
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
4879
4914
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
4915
+ # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
4880
4916
  #
4881
4917
  #
4882
4918
  # @example Example: To update a Lambda function's code
@@ -4960,6 +4996,9 @@ module Aws::Lambda
4960
4996
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
4961
4997
  # resp.last_update_status_reason #=> String
4962
4998
  # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
4999
+ # resp.file_system_configs #=> Array
5000
+ # resp.file_system_configs[0].arn #=> String
5001
+ # resp.file_system_configs[0].local_mount_path #=> String
4963
5002
  #
4964
5003
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
4965
5004
  #
@@ -5087,6 +5126,9 @@ module Aws::Lambda
5087
5126
  #
5088
5127
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
5089
5128
  #
5129
+ # @option params [Array<Types::FileSystemConfig>] :file_system_configs
5130
+ # Connection settings for an Amazon EFS file system.
5131
+ #
5090
5132
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5091
5133
  #
5092
5134
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -5115,6 +5157,7 @@ module Aws::Lambda
5115
5157
  # * {Types::FunctionConfiguration#last_update_status #last_update_status} => String
5116
5158
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
5117
5159
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
5160
+ # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
5118
5161
  #
5119
5162
  #
5120
5163
  # @example Example: To update a Lambda function's configuration
@@ -5175,6 +5218,12 @@ module Aws::Lambda
5175
5218
  # },
5176
5219
  # revision_id: "String",
5177
5220
  # layers: ["LayerVersionArn"],
5221
+ # file_system_configs: [
5222
+ # {
5223
+ # arn: "FileSystemArn", # required
5224
+ # local_mount_path: "LocalMountPath", # required
5225
+ # },
5226
+ # ],
5178
5227
  # })
5179
5228
  #
5180
5229
  # @example Response structure
@@ -5214,6 +5263,9 @@ module Aws::Lambda
5214
5263
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
5215
5264
  # resp.last_update_status_reason #=> String
5216
5265
  # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
5266
+ # resp.file_system_configs #=> Array
5267
+ # resp.file_system_configs[0].arn #=> String
5268
+ # resp.file_system_configs[0].local_mount_path #=> String
5217
5269
  #
5218
5270
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
5219
5271
  #
@@ -5358,7 +5410,7 @@ module Aws::Lambda
5358
5410
  params: params,
5359
5411
  config: config)
5360
5412
  context[:gem_name] = 'aws-sdk-lambda'
5361
- context[:gem_version] = '1.39.0'
5413
+ context[:gem_version] = '1.44.0'
5362
5414
  Seahorse::Client::Request.new(handlers, context)
5363
5415
  end
5364
5416
 
@@ -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:
@@ -51,6 +53,10 @@ module Aws::Lambda
51
53
  EC2AccessDeniedException = Shapes::StructureShape.new(name: 'EC2AccessDeniedException')
52
54
  EC2ThrottledException = Shapes::StructureShape.new(name: 'EC2ThrottledException')
53
55
  EC2UnexpectedException = Shapes::StructureShape.new(name: 'EC2UnexpectedException')
56
+ EFSIOException = Shapes::StructureShape.new(name: 'EFSIOException')
57
+ EFSMountConnectivityException = Shapes::StructureShape.new(name: 'EFSMountConnectivityException')
58
+ EFSMountFailureException = Shapes::StructureShape.new(name: 'EFSMountFailureException')
59
+ EFSMountTimeoutException = Shapes::StructureShape.new(name: 'EFSMountTimeoutException')
54
60
  ENILimitReachedException = Shapes::StructureShape.new(name: 'ENILimitReachedException')
55
61
  Enabled = Shapes::BooleanShape.new(name: 'Enabled')
56
62
  Environment = Shapes::StructureShape.new(name: 'Environment')
@@ -63,6 +69,9 @@ module Aws::Lambda
63
69
  EventSourceMappingsList = Shapes::ListShape.new(name: 'EventSourceMappingsList')
64
70
  EventSourcePosition = Shapes::StringShape.new(name: 'EventSourcePosition')
65
71
  EventSourceToken = Shapes::StringShape.new(name: 'EventSourceToken')
72
+ FileSystemArn = Shapes::StringShape.new(name: 'FileSystemArn')
73
+ FileSystemConfig = Shapes::StructureShape.new(name: 'FileSystemConfig')
74
+ FileSystemConfigList = Shapes::ListShape.new(name: 'FileSystemConfigList')
66
75
  FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
67
76
  FunctionCode = Shapes::StructureShape.new(name: 'FunctionCode')
68
77
  FunctionCodeLocation = Shapes::StructureShape.new(name: 'FunctionCodeLocation')
@@ -147,6 +156,7 @@ module Aws::Lambda
147
156
  ListTagsResponse = Shapes::StructureShape.new(name: 'ListTagsResponse')
148
157
  ListVersionsByFunctionRequest = Shapes::StructureShape.new(name: 'ListVersionsByFunctionRequest')
149
158
  ListVersionsByFunctionResponse = Shapes::StructureShape.new(name: 'ListVersionsByFunctionResponse')
159
+ LocalMountPath = Shapes::StringShape.new(name: 'LocalMountPath')
150
160
  LogType = Shapes::StringShape.new(name: 'LogType')
151
161
  Long = Shapes::IntegerShape.new(name: 'Long')
152
162
  MasterRegion = Shapes::StringShape.new(name: 'MasterRegion')
@@ -337,6 +347,7 @@ module Aws::Lambda
337
347
  CreateFunctionRequest.add_member(:tracing_config, Shapes::ShapeRef.new(shape: TracingConfig, location_name: "TracingConfig"))
338
348
  CreateFunctionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
339
349
  CreateFunctionRequest.add_member(:layers, Shapes::ShapeRef.new(shape: LayerList, location_name: "Layers"))
350
+ CreateFunctionRequest.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
340
351
  CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
341
352
 
342
353
  DeadLetterConfig.add_member(:target_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "TargetArn"))
@@ -385,6 +396,22 @@ module Aws::Lambda
385
396
  EC2UnexpectedException.add_member(:ec2_error_code, Shapes::ShapeRef.new(shape: String, location_name: "EC2ErrorCode"))
386
397
  EC2UnexpectedException.struct_class = Types::EC2UnexpectedException
387
398
 
399
+ EFSIOException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
400
+ EFSIOException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
401
+ EFSIOException.struct_class = Types::EFSIOException
402
+
403
+ EFSMountConnectivityException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
404
+ EFSMountConnectivityException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
405
+ EFSMountConnectivityException.struct_class = Types::EFSMountConnectivityException
406
+
407
+ EFSMountFailureException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
408
+ EFSMountFailureException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
409
+ EFSMountFailureException.struct_class = Types::EFSMountFailureException
410
+
411
+ EFSMountTimeoutException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
412
+ EFSMountTimeoutException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
413
+ EFSMountTimeoutException.struct_class = Types::EFSMountTimeoutException
414
+
388
415
  ENILimitReachedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
389
416
  ENILimitReachedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
390
417
  ENILimitReachedException.struct_class = Types::ENILimitReachedException
@@ -421,6 +448,12 @@ module Aws::Lambda
421
448
 
422
449
  EventSourceMappingsList.member = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
423
450
 
451
+ FileSystemConfig.add_member(:arn, Shapes::ShapeRef.new(shape: FileSystemArn, required: true, location_name: "Arn"))
452
+ FileSystemConfig.add_member(:local_mount_path, Shapes::ShapeRef.new(shape: LocalMountPath, required: true, location_name: "LocalMountPath"))
453
+ FileSystemConfig.struct_class = Types::FileSystemConfig
454
+
455
+ FileSystemConfigList.member = Shapes::ShapeRef.new(shape: FileSystemConfig)
456
+
424
457
  FunctionCode.add_member(:zip_file, Shapes::ShapeRef.new(shape: Blob, location_name: "ZipFile"))
425
458
  FunctionCode.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
426
459
  FunctionCode.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
@@ -457,6 +490,7 @@ module Aws::Lambda
457
490
  FunctionConfiguration.add_member(:last_update_status, Shapes::ShapeRef.new(shape: LastUpdateStatus, location_name: "LastUpdateStatus"))
458
491
  FunctionConfiguration.add_member(:last_update_status_reason, Shapes::ShapeRef.new(shape: LastUpdateStatusReason, location_name: "LastUpdateStatusReason"))
459
492
  FunctionConfiguration.add_member(:last_update_status_reason_code, Shapes::ShapeRef.new(shape: LastUpdateStatusReasonCode, location_name: "LastUpdateStatusReasonCode"))
493
+ FunctionConfiguration.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
460
494
  FunctionConfiguration.struct_class = Types::FunctionConfiguration
461
495
 
462
496
  FunctionEventInvokeConfig.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
@@ -931,6 +965,7 @@ module Aws::Lambda
931
965
  UpdateFunctionConfigurationRequest.add_member(:tracing_config, Shapes::ShapeRef.new(shape: TracingConfig, location_name: "TracingConfig"))
932
966
  UpdateFunctionConfigurationRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
933
967
  UpdateFunctionConfigurationRequest.add_member(:layers, Shapes::ShapeRef.new(shape: LayerList, location_name: "Layers"))
968
+ UpdateFunctionConfigurationRequest.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
934
969
  UpdateFunctionConfigurationRequest.struct_class = Types::UpdateFunctionConfigurationRequest
935
970
 
936
971
  UpdateFunctionEventInvokeConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -1280,6 +1315,10 @@ module Aws::Lambda
1280
1315
  o.errors << Shapes::ShapeRef.new(shape: EC2UnexpectedException)
1281
1316
  o.errors << Shapes::ShapeRef.new(shape: SubnetIPAddressLimitReachedException)
1282
1317
  o.errors << Shapes::ShapeRef.new(shape: ENILimitReachedException)
1318
+ o.errors << Shapes::ShapeRef.new(shape: EFSMountConnectivityException)
1319
+ o.errors << Shapes::ShapeRef.new(shape: EFSMountFailureException)
1320
+ o.errors << Shapes::ShapeRef.new(shape: EFSMountTimeoutException)
1321
+ o.errors << Shapes::ShapeRef.new(shape: EFSIOException)
1283
1322
  o.errors << Shapes::ShapeRef.new(shape: EC2ThrottledException)
1284
1323
  o.errors << Shapes::ShapeRef.new(shape: EC2AccessDeniedException)
1285
1324
  o.errors << Shapes::ShapeRef.new(shape: InvalidSubnetIDException)
@@ -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:
@@ -29,6 +31,10 @@ module Aws::Lambda
29
31
  # * {EC2AccessDeniedException}
30
32
  # * {EC2ThrottledException}
31
33
  # * {EC2UnexpectedException}
34
+ # * {EFSIOException}
35
+ # * {EFSMountConnectivityException}
36
+ # * {EFSMountFailureException}
37
+ # * {EFSMountTimeoutException}
32
38
  # * {ENILimitReachedException}
33
39
  # * {InvalidParameterValueException}
34
40
  # * {InvalidRequestContentException}
@@ -144,6 +150,86 @@ module Aws::Lambda
144
150
  end
145
151
  end
146
152
 
153
+ class EFSIOException < ServiceError
154
+
155
+ # @param [Seahorse::Client::RequestContext] context
156
+ # @param [String] message
157
+ # @param [Aws::Lambda::Types::EFSIOException] data
158
+ def initialize(context, message, data = Aws::EmptyStructure.new)
159
+ super(context, message, data)
160
+ end
161
+
162
+ # @return [String]
163
+ def type
164
+ @data[:type]
165
+ end
166
+
167
+ # @return [String]
168
+ def message
169
+ @message || @data[:message]
170
+ end
171
+ end
172
+
173
+ class EFSMountConnectivityException < ServiceError
174
+
175
+ # @param [Seahorse::Client::RequestContext] context
176
+ # @param [String] message
177
+ # @param [Aws::Lambda::Types::EFSMountConnectivityException] data
178
+ def initialize(context, message, data = Aws::EmptyStructure.new)
179
+ super(context, message, data)
180
+ end
181
+
182
+ # @return [String]
183
+ def type
184
+ @data[:type]
185
+ end
186
+
187
+ # @return [String]
188
+ def message
189
+ @message || @data[:message]
190
+ end
191
+ end
192
+
193
+ class EFSMountFailureException < ServiceError
194
+
195
+ # @param [Seahorse::Client::RequestContext] context
196
+ # @param [String] message
197
+ # @param [Aws::Lambda::Types::EFSMountFailureException] data
198
+ def initialize(context, message, data = Aws::EmptyStructure.new)
199
+ super(context, message, data)
200
+ end
201
+
202
+ # @return [String]
203
+ def type
204
+ @data[:type]
205
+ end
206
+
207
+ # @return [String]
208
+ def message
209
+ @message || @data[:message]
210
+ end
211
+ end
212
+
213
+ class EFSMountTimeoutException < ServiceError
214
+
215
+ # @param [Seahorse::Client::RequestContext] context
216
+ # @param [String] message
217
+ # @param [Aws::Lambda::Types::EFSMountTimeoutException] data
218
+ def initialize(context, message, data = Aws::EmptyStructure.new)
219
+ super(context, message, data)
220
+ end
221
+
222
+ # @return [String]
223
+ def type
224
+ @data[:type]
225
+ end
226
+
227
+ # @return [String]
228
+ def message
229
+ @message || @data[:message]
230
+ end
231
+ end
232
+
147
233
  class ENILimitReachedException < ServiceError
148
234
 
149
235
  # @param [Seahorse::Client::RequestContext] context
@@ -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:
@@ -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:
@@ -306,8 +308,8 @@ module Aws::Lambda
306
308
  # }
307
309
  #
308
310
  # @!attribute [rw] additional_version_weights
309
- # The name of the second alias, and the percentage of traffic that's
310
- # routed to it.
311
+ # The second version, and the percentage of traffic that's routed to
312
+ # it.
311
313
  # @return [Hash<String,Float>]
312
314
  #
313
315
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AliasRoutingConfiguration AWS API Documentation
@@ -403,7 +405,7 @@ module Aws::Lambda
403
405
  #
404
406
  #
405
407
  #
406
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
408
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing
407
409
  # @return [Types::AliasRoutingConfiguration]
408
410
  #
409
411
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateAliasRequest AWS API Documentation
@@ -583,6 +585,12 @@ module Aws::Lambda
583
585
  # "TagKey" => "TagValue",
584
586
  # },
585
587
  # layers: ["LayerVersionArn"],
588
+ # file_system_configs: [
589
+ # {
590
+ # arn: "FileSystemArn", # required
591
+ # local_mount_path: "LocalMountPath", # required
592
+ # },
593
+ # ],
586
594
  # }
587
595
  #
588
596
  # @!attribute [rw] function_name
@@ -703,6 +711,10 @@ module Aws::Lambda
703
711
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
704
712
  # @return [Array<String>]
705
713
  #
714
+ # @!attribute [rw] file_system_configs
715
+ # Connection settings for an Amazon EFS file system.
716
+ # @return [Array<Types::FileSystemConfig>]
717
+ #
706
718
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
707
719
  #
708
720
  class CreateFunctionRequest < Struct.new(
@@ -721,7 +733,8 @@ module Aws::Lambda
721
733
  :kms_key_arn,
722
734
  :tracing_config,
723
735
  :tags,
724
- :layers)
736
+ :layers,
737
+ :file_system_configs)
725
738
  include Aws::Structure
726
739
  end
727
740
 
@@ -1057,6 +1070,74 @@ module Aws::Lambda
1057
1070
  include Aws::Structure
1058
1071
  end
1059
1072
 
1073
+ # An error occured when reading from or writing to a connected file
1074
+ # system.
1075
+ #
1076
+ # @!attribute [rw] type
1077
+ # @return [String]
1078
+ #
1079
+ # @!attribute [rw] message
1080
+ # @return [String]
1081
+ #
1082
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EFSIOException AWS API Documentation
1083
+ #
1084
+ class EFSIOException < Struct.new(
1085
+ :type,
1086
+ :message)
1087
+ include Aws::Structure
1088
+ end
1089
+
1090
+ # The function couldn't make a network connection to the configured
1091
+ # file system.
1092
+ #
1093
+ # @!attribute [rw] type
1094
+ # @return [String]
1095
+ #
1096
+ # @!attribute [rw] message
1097
+ # @return [String]
1098
+ #
1099
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EFSMountConnectivityException AWS API Documentation
1100
+ #
1101
+ class EFSMountConnectivityException < Struct.new(
1102
+ :type,
1103
+ :message)
1104
+ include Aws::Structure
1105
+ end
1106
+
1107
+ # The function couldn't mount the configured file system due to a
1108
+ # permission or configuration issue.
1109
+ #
1110
+ # @!attribute [rw] type
1111
+ # @return [String]
1112
+ #
1113
+ # @!attribute [rw] message
1114
+ # @return [String]
1115
+ #
1116
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EFSMountFailureException AWS API Documentation
1117
+ #
1118
+ class EFSMountFailureException < Struct.new(
1119
+ :type,
1120
+ :message)
1121
+ include Aws::Structure
1122
+ end
1123
+
1124
+ # The function was able to make a network connection to the configured
1125
+ # file system, but the mount operation timed out.
1126
+ #
1127
+ # @!attribute [rw] type
1128
+ # @return [String]
1129
+ #
1130
+ # @!attribute [rw] message
1131
+ # @return [String]
1132
+ #
1133
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EFSMountTimeoutException AWS API Documentation
1134
+ #
1135
+ class EFSMountTimeoutException < Struct.new(
1136
+ :type,
1137
+ :message)
1138
+ include Aws::Structure
1139
+ end
1140
+
1060
1141
  # AWS Lambda was not able to create an elastic network interface in the
1061
1142
  # VPC, specified as part of Lambda function configuration, because the
1062
1143
  # limit for network interfaces has been reached.
@@ -1226,6 +1307,35 @@ module Aws::Lambda
1226
1307
  include Aws::Structure
1227
1308
  end
1228
1309
 
1310
+ # Details about the connection between a Lambda function and an Amazon
1311
+ # EFS file system.
1312
+ #
1313
+ # @note When making an API call, you may pass FileSystemConfig
1314
+ # data as a hash:
1315
+ #
1316
+ # {
1317
+ # arn: "FileSystemArn", # required
1318
+ # local_mount_path: "LocalMountPath", # required
1319
+ # }
1320
+ #
1321
+ # @!attribute [rw] arn
1322
+ # The Amazon Resource Name (ARN) of the Amazon EFS access point that
1323
+ # provides access to the file system.
1324
+ # @return [String]
1325
+ #
1326
+ # @!attribute [rw] local_mount_path
1327
+ # The path where the function can access the file system, starting
1328
+ # with `/mnt/`.
1329
+ # @return [String]
1330
+ #
1331
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FileSystemConfig AWS API Documentation
1332
+ #
1333
+ class FileSystemConfig < Struct.new(
1334
+ :arn,
1335
+ :local_mount_path)
1336
+ include Aws::Structure
1337
+ end
1338
+
1229
1339
  # The code for the Lambda function. You can specify either an object in
1230
1340
  # Amazon S3, or upload a deployment package directly.
1231
1341
  #
@@ -1317,8 +1427,8 @@ module Aws::Lambda
1317
1427
  # @return [String]
1318
1428
  #
1319
1429
  # @!attribute [rw] timeout
1320
- # The amount of time that Lambda allows a function to run before
1321
- # stopping it.
1430
+ # The amount of time in seconds that Lambda allows a function to run
1431
+ # before stopping it.
1322
1432
  # @return [Integer]
1323
1433
  #
1324
1434
  # @!attribute [rw] memory_size
@@ -1408,6 +1518,10 @@ module Aws::Lambda
1408
1518
  # function.
1409
1519
  # @return [String]
1410
1520
  #
1521
+ # @!attribute [rw] file_system_configs
1522
+ # Connection settings for an Amazon EFS file system.
1523
+ # @return [Array<Types::FileSystemConfig>]
1524
+ #
1411
1525
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
1412
1526
  #
1413
1527
  class FunctionConfiguration < Struct.new(
@@ -1436,7 +1550,8 @@ module Aws::Lambda
1436
1550
  :state_reason_code,
1437
1551
  :last_update_status,
1438
1552
  :last_update_status_reason,
1439
- :last_update_status_reason_code)
1553
+ :last_update_status_reason_code,
1554
+ :file_system_configs)
1440
1555
  include Aws::Structure
1441
1556
  end
1442
1557
 
@@ -3930,7 +4045,7 @@ module Aws::Lambda
3930
4045
  #
3931
4046
  #
3932
4047
  #
3933
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
4048
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing
3934
4049
  # @return [Types::AliasRoutingConfiguration]
3935
4050
  #
3936
4051
  # @!attribute [rw] revision_id
@@ -4166,6 +4281,12 @@ module Aws::Lambda
4166
4281
  # },
4167
4282
  # revision_id: "String",
4168
4283
  # layers: ["LayerVersionArn"],
4284
+ # file_system_configs: [
4285
+ # {
4286
+ # arn: "FileSystemArn", # required
4287
+ # local_mount_path: "LocalMountPath", # required
4288
+ # },
4289
+ # ],
4169
4290
  # }
4170
4291
  #
4171
4292
  # @!attribute [rw] function_name
@@ -4275,6 +4396,10 @@ module Aws::Lambda
4275
4396
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
4276
4397
  # @return [Array<String>]
4277
4398
  #
4399
+ # @!attribute [rw] file_system_configs
4400
+ # Connection settings for an Amazon EFS file system.
4401
+ # @return [Array<Types::FileSystemConfig>]
4402
+ #
4278
4403
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
4279
4404
  #
4280
4405
  class UpdateFunctionConfigurationRequest < Struct.new(
@@ -4291,7 +4416,8 @@ module Aws::Lambda
4291
4416
  :kms_key_arn,
4292
4417
  :tracing_config,
4293
4418
  :revision_id,
4294
- :layers)
4419
+ :layers,
4420
+ :file_system_configs)
4295
4421
  include Aws::Structure
4296
4422
  end
4297
4423
 
@@ -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:
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.39.0
4
+ version: 1.44.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-04-16 00:00:00.000000000 Z
11
+ date: 2020-06-16 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.71.0
22
+ version: 3.99.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.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement