aws-sdk-lambda 1.81.0 → 1.82.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: cbf59df8bb6ab3666f3d34cb78b5dddec8124414d09814709c7178788e769c1f
4
- data.tar.gz: 9f87dcc69f1a2935ba755481b129cccd3a2a217a5b51b35b76228fb691d7c6f1
3
+ metadata.gz: 28cd519a3e87a105f27fb37647a04227ecb6530e1303c7bc295e0cb03544ae2d
4
+ data.tar.gz: 66bd2c883ef159b3f055337cd3ccd10a899e77004118907030634a594f4ad28f
5
5
  SHA512:
6
- metadata.gz: fedfc4453b4be2e63cdc6b8340bb8435544a7b263aa100dbc31dd170eabc22b43effee24f5aab9f24edbc5270a4c88ce49b592236fb28fdb4543db625a8018c5
7
- data.tar.gz: 975b04e9066c91b8ad57c13350356795f0968e0d15e56aac24bb0dd5ec4c2cfbde476800d76fdffd81bb1aa1ac6ed3823f92dca611b0c12d71cc04f1b1cf1fc4
6
+ metadata.gz: c441622320dd16bd405761826a4ed8316101b0321d7277cca5d7ab999818b0971c9ed4460ced5ed5c29b365507b3ed36637ec6c0448704b93b6027ec9dc4d24d
7
+ data.tar.gz: b2f3a998f57930ee17565d7febffa9be22c52813365a5233a53ec07a31d24514c362d4c02af6f7208977e520a1343cfa968dadf57e3bfb9af950e29e45115259
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.82.0 (2022-03-24)
5
+ ------------------
6
+
7
+ * Feature - Adds support for increased ephemeral storage (/tmp) up to 10GB for Lambda functions. Customers can now provision up to 10 GB of ephemeral storage per function instance, a 20x increase over the previous limit of 512 MB.
8
+
4
9
  1.81.0 (2022-03-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.81.0
1
+ 1.82.0
@@ -1209,6 +1209,10 @@ module Aws::Lambda
1209
1209
  # string array with one of the valid values (arm64 or x86\_64). The
1210
1210
  # default value is `x86_64`.
1211
1211
  #
1212
+ # @option params [Types::EphemeralStorage] :ephemeral_storage
1213
+ # The size of the function’s /tmp directory in MB. The default value is
1214
+ # 512, but can be any whole number between 512 and 10240 MB.
1215
+ #
1212
1216
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1213
1217
  #
1214
1218
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -1243,6 +1247,7 @@ module Aws::Lambda
1243
1247
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
1244
1248
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
1245
1249
  # * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
1250
+ # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
1246
1251
  #
1247
1252
  # @example Request syntax with placeholder values
1248
1253
  #
@@ -1296,6 +1301,9 @@ module Aws::Lambda
1296
1301
  # },
1297
1302
  # code_signing_config_arn: "CodeSigningConfigArn",
1298
1303
  # architectures: ["x86_64"], # accepts x86_64, arm64
1304
+ # ephemeral_storage: {
1305
+ # size: 1, # required
1306
+ # },
1299
1307
  # })
1300
1308
  #
1301
1309
  # @example Response structure
@@ -1352,6 +1360,7 @@ module Aws::Lambda
1352
1360
  # resp.signing_job_arn #=> String
1353
1361
  # resp.architectures #=> Array
1354
1362
  # resp.architectures[0] #=> String, one of "x86_64", "arm64"
1363
+ # resp.ephemeral_storage.size #=> Integer
1355
1364
  #
1356
1365
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
1357
1366
  #
@@ -2046,6 +2055,7 @@ module Aws::Lambda
2046
2055
  # resp.configuration.signing_job_arn #=> String
2047
2056
  # resp.configuration.architectures #=> Array
2048
2057
  # resp.configuration.architectures[0] #=> String, one of "x86_64", "arm64"
2058
+ # resp.configuration.ephemeral_storage.size #=> Integer
2049
2059
  # resp.code.repository_type #=> String
2050
2060
  # resp.code.location #=> String
2051
2061
  # resp.code.image_uri #=> String
@@ -2216,6 +2226,7 @@ module Aws::Lambda
2216
2226
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
2217
2227
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
2218
2228
  # * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
2229
+ # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
2219
2230
  #
2220
2231
  # @example Request syntax with placeholder values
2221
2232
  #
@@ -2278,6 +2289,7 @@ module Aws::Lambda
2278
2289
  # resp.signing_job_arn #=> String
2279
2290
  # resp.architectures #=> Array
2280
2291
  # resp.architectures[0] #=> String, one of "x86_64", "arm64"
2292
+ # resp.ephemeral_storage.size #=> Integer
2281
2293
  #
2282
2294
  #
2283
2295
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -3189,6 +3201,7 @@ module Aws::Lambda
3189
3201
  # resp.functions[0].signing_job_arn #=> String
3190
3202
  # resp.functions[0].architectures #=> Array
3191
3203
  # resp.functions[0].architectures[0] #=> String, one of "x86_64", "arm64"
3204
+ # resp.functions[0].ephemeral_storage.size #=> Integer
3192
3205
  #
3193
3206
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
3194
3207
  #
@@ -3580,6 +3593,7 @@ module Aws::Lambda
3580
3593
  # resp.versions[0].signing_job_arn #=> String
3581
3594
  # resp.versions[0].architectures #=> Array
3582
3595
  # resp.versions[0].architectures[0] #=> String, one of "x86_64", "arm64"
3596
+ # resp.versions[0].ephemeral_storage.size #=> Integer
3583
3597
  #
3584
3598
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
3585
3599
  #
@@ -3775,6 +3789,7 @@ module Aws::Lambda
3775
3789
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
3776
3790
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
3777
3791
  # * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
3792
+ # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
3778
3793
  #
3779
3794
  # @example Request syntax with placeholder values
3780
3795
  #
@@ -3839,6 +3854,7 @@ module Aws::Lambda
3839
3854
  # resp.signing_job_arn #=> String
3840
3855
  # resp.architectures #=> Array
3841
3856
  # resp.architectures[0] #=> String, one of "x86_64", "arm64"
3857
+ # resp.ephemeral_storage.size #=> Integer
3842
3858
  #
3843
3859
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
3844
3860
  #
@@ -4820,6 +4836,7 @@ module Aws::Lambda
4820
4836
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
4821
4837
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
4822
4838
  # * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
4839
+ # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
4823
4840
  #
4824
4841
  # @example Request syntax with placeholder values
4825
4842
  #
@@ -4890,6 +4907,7 @@ module Aws::Lambda
4890
4907
  # resp.signing_job_arn #=> String
4891
4908
  # resp.architectures #=> Array
4892
4909
  # resp.architectures[0] #=> String, one of "x86_64", "arm64"
4910
+ # resp.ephemeral_storage.size #=> Integer
4893
4911
  #
4894
4912
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
4895
4913
  #
@@ -5044,6 +5062,10 @@ module Aws::Lambda
5044
5062
  #
5045
5063
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
5046
5064
  #
5065
+ # @option params [Types::EphemeralStorage] :ephemeral_storage
5066
+ # The size of the function’s /tmp directory in MB. The default value is
5067
+ # 512, but can be any whole number between 512 and 10240 MB.
5068
+ #
5047
5069
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5048
5070
  #
5049
5071
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -5078,6 +5100,7 @@ module Aws::Lambda
5078
5100
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
5079
5101
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
5080
5102
  # * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
5103
+ # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
5081
5104
  #
5082
5105
  # @example Request syntax with placeholder values
5083
5106
  #
@@ -5118,6 +5141,9 @@ module Aws::Lambda
5118
5141
  # command: ["String"],
5119
5142
  # working_directory: "WorkingDirectory",
5120
5143
  # },
5144
+ # ephemeral_storage: {
5145
+ # size: 1, # required
5146
+ # },
5121
5147
  # })
5122
5148
  #
5123
5149
  # @example Response structure
@@ -5174,6 +5200,7 @@ module Aws::Lambda
5174
5200
  # resp.signing_job_arn #=> String
5175
5201
  # resp.architectures #=> Array
5176
5202
  # resp.architectures[0] #=> String, one of "x86_64", "arm64"
5203
+ # resp.ephemeral_storage.size #=> Integer
5177
5204
  #
5178
5205
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
5179
5206
  #
@@ -5288,7 +5315,7 @@ module Aws::Lambda
5288
5315
  params: params,
5289
5316
  config: config)
5290
5317
  context[:gem_name] = 'aws-sdk-lambda'
5291
- context[:gem_version] = '1.81.0'
5318
+ context[:gem_version] = '1.82.0'
5292
5319
  Seahorse::Client::Request.new(handlers, context)
5293
5320
  end
5294
5321
 
@@ -86,6 +86,8 @@ module Aws::Lambda
86
86
  EnvironmentVariableName = Shapes::StringShape.new(name: 'EnvironmentVariableName')
87
87
  EnvironmentVariableValue = Shapes::StringShape.new(name: 'EnvironmentVariableValue')
88
88
  EnvironmentVariables = Shapes::MapShape.new(name: 'EnvironmentVariables')
89
+ EphemeralStorage = Shapes::StructureShape.new(name: 'EphemeralStorage')
90
+ EphemeralStorageSize = Shapes::IntegerShape.new(name: 'EphemeralStorageSize')
89
91
  EventSourceMappingConfiguration = Shapes::StructureShape.new(name: 'EventSourceMappingConfiguration')
90
92
  EventSourceMappingsList = Shapes::ListShape.new(name: 'EventSourceMappingsList')
91
93
  EventSourcePosition = Shapes::StringShape.new(name: 'EventSourcePosition')
@@ -455,6 +457,7 @@ module Aws::Lambda
455
457
  CreateFunctionRequest.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
456
458
  CreateFunctionRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, location_name: "CodeSigningConfigArn"))
457
459
  CreateFunctionRequest.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
460
+ CreateFunctionRequest.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "EphemeralStorage"))
458
461
  CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
459
462
 
460
463
  DeadLetterConfig.add_member(:target_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "TargetArn"))
@@ -550,6 +553,9 @@ module Aws::Lambda
550
553
  EnvironmentVariables.key = Shapes::ShapeRef.new(shape: EnvironmentVariableName)
551
554
  EnvironmentVariables.value = Shapes::ShapeRef.new(shape: EnvironmentVariableValue)
552
555
 
556
+ EphemeralStorage.add_member(:size, Shapes::ShapeRef.new(shape: EphemeralStorageSize, required: true, location_name: "Size"))
557
+ EphemeralStorage.struct_class = Types::EphemeralStorage
558
+
553
559
  EventSourceMappingConfiguration.add_member(:uuid, Shapes::ShapeRef.new(shape: String, location_name: "UUID"))
554
560
  EventSourceMappingConfiguration.add_member(:starting_position, Shapes::ShapeRef.new(shape: EventSourcePosition, location_name: "StartingPosition"))
555
561
  EventSourceMappingConfiguration.add_member(:starting_position_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "StartingPositionTimestamp"))
@@ -638,6 +644,7 @@ module Aws::Lambda
638
644
  FunctionConfiguration.add_member(:signing_profile_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningProfileVersionArn"))
639
645
  FunctionConfiguration.add_member(:signing_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningJobArn"))
640
646
  FunctionConfiguration.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
647
+ FunctionConfiguration.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "EphemeralStorage"))
641
648
  FunctionConfiguration.struct_class = Types::FunctionConfiguration
642
649
 
643
650
  FunctionEventInvokeConfig.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
@@ -1213,6 +1220,7 @@ module Aws::Lambda
1213
1220
  UpdateFunctionConfigurationRequest.add_member(:layers, Shapes::ShapeRef.new(shape: LayerList, location_name: "Layers"))
1214
1221
  UpdateFunctionConfigurationRequest.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
1215
1222
  UpdateFunctionConfigurationRequest.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
1223
+ UpdateFunctionConfigurationRequest.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "EphemeralStorage"))
1216
1224
  UpdateFunctionConfigurationRequest.struct_class = Types::UpdateFunctionConfigurationRequest
1217
1225
 
1218
1226
  UpdateFunctionEventInvokeConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -902,6 +902,9 @@ module Aws::Lambda
902
902
  # },
903
903
  # code_signing_config_arn: "CodeSigningConfigArn",
904
904
  # architectures: ["x86_64"], # accepts x86_64, arm64
905
+ # ephemeral_storage: {
906
+ # size: 1, # required
907
+ # },
905
908
  # }
906
909
  #
907
910
  # @!attribute [rw] function_name
@@ -1069,6 +1072,11 @@ module Aws::Lambda
1069
1072
  # default value is `x86_64`.
1070
1073
  # @return [Array<String>]
1071
1074
  #
1075
+ # @!attribute [rw] ephemeral_storage
1076
+ # The size of the function’s /tmp directory in MB. The default value
1077
+ # is 512, but can be any whole number between 512 and 10240 MB.
1078
+ # @return [Types::EphemeralStorage]
1079
+ #
1072
1080
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
1073
1081
  #
1074
1082
  class CreateFunctionRequest < Struct.new(
@@ -1092,7 +1100,8 @@ module Aws::Lambda
1092
1100
  :file_system_configs,
1093
1101
  :image_config,
1094
1102
  :code_signing_config_arn,
1095
- :architectures)
1103
+ :architectures,
1104
+ :ephemeral_storage)
1096
1105
  SENSITIVE = []
1097
1106
  include Aws::Structure
1098
1107
  end
@@ -1659,6 +1668,28 @@ module Aws::Lambda
1659
1668
  include Aws::Structure
1660
1669
  end
1661
1670
 
1671
+ # The size of the function’s /tmp directory in MB. The default value is
1672
+ # 512, but can be any whole number between 512 and 10240 MB.
1673
+ #
1674
+ # @note When making an API call, you may pass EphemeralStorage
1675
+ # data as a hash:
1676
+ #
1677
+ # {
1678
+ # size: 1, # required
1679
+ # }
1680
+ #
1681
+ # @!attribute [rw] size
1682
+ # The size of the function’s /tmp directory.
1683
+ # @return [Integer]
1684
+ #
1685
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EphemeralStorage AWS API Documentation
1686
+ #
1687
+ class EphemeralStorage < Struct.new(
1688
+ :size)
1689
+ SENSITIVE = []
1690
+ include Aws::Structure
1691
+ end
1692
+
1662
1693
  # A mapping between an Amazon Web Services resource and a Lambda
1663
1694
  # function. For details, see CreateEventSourceMapping.
1664
1695
  #
@@ -2153,6 +2184,11 @@ module Aws::Lambda
2153
2184
  # default architecture value is `x86_64`.
2154
2185
  # @return [Array<String>]
2155
2186
  #
2187
+ # @!attribute [rw] ephemeral_storage
2188
+ # The size of the function’s /tmp directory in MB. The default value
2189
+ # is 512, but can be any whole number between 512 and 10240 MB.
2190
+ # @return [Types::EphemeralStorage]
2191
+ #
2156
2192
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
2157
2193
  #
2158
2194
  class FunctionConfiguration < Struct.new(
@@ -2187,7 +2223,8 @@ module Aws::Lambda
2187
2223
  :image_config_response,
2188
2224
  :signing_profile_version_arn,
2189
2225
  :signing_job_arn,
2190
- :architectures)
2226
+ :architectures,
2227
+ :ephemeral_storage)
2191
2228
  SENSITIVE = []
2192
2229
  include Aws::Structure
2193
2230
  end
@@ -5696,6 +5733,9 @@ module Aws::Lambda
5696
5733
  # command: ["String"],
5697
5734
  # working_directory: "WorkingDirectory",
5698
5735
  # },
5736
+ # ephemeral_storage: {
5737
+ # size: 1, # required
5738
+ # },
5699
5739
  # }
5700
5740
  #
5701
5741
  # @!attribute [rw] function_name
@@ -5834,6 +5874,11 @@ module Aws::Lambda
5834
5874
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
5835
5875
  # @return [Types::ImageConfig]
5836
5876
  #
5877
+ # @!attribute [rw] ephemeral_storage
5878
+ # The size of the function’s /tmp directory in MB. The default value
5879
+ # is 512, but can be any whole number between 512 and 10240 MB.
5880
+ # @return [Types::EphemeralStorage]
5881
+ #
5837
5882
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
5838
5883
  #
5839
5884
  class UpdateFunctionConfigurationRequest < Struct.new(
@@ -5852,7 +5897,8 @@ module Aws::Lambda
5852
5897
  :revision_id,
5853
5898
  :layers,
5854
5899
  :file_system_configs,
5855
- :image_config)
5900
+ :image_config,
5901
+ :ephemeral_storage)
5856
5902
  SENSITIVE = []
5857
5903
  include Aws::Structure
5858
5904
  end
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-lambda/customizations'
49
49
  # @!group service
50
50
  module Aws::Lambda
51
51
 
52
- GEM_VERSION = '1.81.0'
52
+ GEM_VERSION = '1.82.0'
53
53
 
54
54
  end
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.81.0
4
+ version: 1.82.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: 2022-03-11 00:00:00.000000000 Z
11
+ date: 2022-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core