aws-sdk-lambda 1.212.0 → 1.214.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +247 -37
- data/lib/aws-sdk-lambda/client_api.rb +116 -0
- data/lib/aws-sdk-lambda/types.rb +365 -13
- data/lib/aws-sdk-lambda.rb +1 -1
- data/sig/client.rbs +58 -12
- data/sig/params.rbs +1 -1
- data/sig/types.rbs +82 -7
- metadata +3 -3
data/lib/aws-sdk-lambda/types.rb
CHANGED
|
@@ -10,6 +10,23 @@
|
|
|
10
10
|
module Aws::Lambda
|
|
11
11
|
module Types
|
|
12
12
|
|
|
13
|
+
# The accelerator resource settings for a Lambda execution environment,
|
|
14
|
+
# including the amount of accelerator memory to allocate.
|
|
15
|
+
#
|
|
16
|
+
# @!attribute [rw] accelerator_memory_size
|
|
17
|
+
# The minimum amount of memory (in GB) of each accelerator device
|
|
18
|
+
# exposed to the execution environment. Lambda might allocate more,
|
|
19
|
+
# depending on the accelerator instance types available.
|
|
20
|
+
# @return [Integer]
|
|
21
|
+
#
|
|
22
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AcceleratorConfig AWS API Documentation
|
|
23
|
+
#
|
|
24
|
+
class AcceleratorConfig < Struct.new(
|
|
25
|
+
:accelerator_memory_size)
|
|
26
|
+
SENSITIVE = []
|
|
27
|
+
include Aws::Structure
|
|
28
|
+
end
|
|
29
|
+
|
|
13
30
|
# Limits that are related to concurrency and storage. All file and
|
|
14
31
|
# storage sizes are in bytes.
|
|
15
32
|
#
|
|
@@ -1991,7 +2008,8 @@ module Aws::Lambda
|
|
|
1991
2008
|
# @!attribute [rw] ephemeral_storage
|
|
1992
2009
|
# The size of the function's `/tmp` directory in MB. The default
|
|
1993
2010
|
# value is 512, but can be any whole number between 512 and 10,240 MB.
|
|
1994
|
-
# For
|
|
2011
|
+
# For functions that use `AcceleratorConfig`, the maximum is 32,768
|
|
2012
|
+
# MB. For more information, see [Configuring ephemeral storage
|
|
1995
2013
|
# (console)][1].
|
|
1996
2014
|
#
|
|
1997
2015
|
#
|
|
@@ -2034,6 +2052,11 @@ module Aws::Lambda
|
|
|
2034
2052
|
# your function uses.
|
|
2035
2053
|
# @return [Types::FunctionRuntimeConfig]
|
|
2036
2054
|
#
|
|
2055
|
+
# @!attribute [rw] accelerator_config
|
|
2056
|
+
# The accelerator resource settings for a Lambda execution
|
|
2057
|
+
# environment.
|
|
2058
|
+
# @return [Types::AcceleratorConfig]
|
|
2059
|
+
#
|
|
2037
2060
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
|
|
2038
2061
|
#
|
|
2039
2062
|
class CreateFunctionRequest < Struct.new(
|
|
@@ -2065,7 +2088,8 @@ module Aws::Lambda
|
|
|
2065
2088
|
:tenancy_config,
|
|
2066
2089
|
:capacity_provider_config,
|
|
2067
2090
|
:durable_config,
|
|
2068
|
-
:runtime_config
|
|
2091
|
+
:runtime_config,
|
|
2092
|
+
:accelerator_config)
|
|
2069
2093
|
SENSITIVE = []
|
|
2070
2094
|
include Aws::Structure
|
|
2071
2095
|
end
|
|
@@ -2291,6 +2315,31 @@ module Aws::Lambda
|
|
|
2291
2315
|
#
|
|
2292
2316
|
class DeleteCodeSigningConfigResponse < Aws::EmptyStructure; end
|
|
2293
2317
|
|
|
2318
|
+
# @!attribute [rw] durable_execution_arn
|
|
2319
|
+
# The Amazon Resource Name (ARN) of the durable execution.
|
|
2320
|
+
# @return [String]
|
|
2321
|
+
#
|
|
2322
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteDurableExecutionRequest AWS API Documentation
|
|
2323
|
+
#
|
|
2324
|
+
class DeleteDurableExecutionRequest < Struct.new(
|
|
2325
|
+
:durable_execution_arn)
|
|
2326
|
+
SENSITIVE = []
|
|
2327
|
+
include Aws::Structure
|
|
2328
|
+
end
|
|
2329
|
+
|
|
2330
|
+
# @!attribute [rw] deletion_request_timestamp
|
|
2331
|
+
# The timestamp when Lambda accepted the deletion request (ISO 8601
|
|
2332
|
+
# format).
|
|
2333
|
+
# @return [Time]
|
|
2334
|
+
#
|
|
2335
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteDurableExecutionResponse AWS API Documentation
|
|
2336
|
+
#
|
|
2337
|
+
class DeleteDurableExecutionResponse < Struct.new(
|
|
2338
|
+
:deletion_request_timestamp)
|
|
2339
|
+
SENSITIVE = []
|
|
2340
|
+
include Aws::Structure
|
|
2341
|
+
end
|
|
2342
|
+
|
|
2294
2343
|
# @!attribute [rw] uuid
|
|
2295
2344
|
# The identifier of the event source mapping.
|
|
2296
2345
|
# @return [String]
|
|
@@ -2883,6 +2932,7 @@ module Aws::Lambda
|
|
|
2883
2932
|
|
|
2884
2933
|
# The size of the function's `/tmp` directory in MB. The default value
|
|
2885
2934
|
# is 512, but can be any whole number between 512 and 10,240 MB. For
|
|
2935
|
+
# functions that use `AcceleratorConfig`, the maximum is 32,768 MB. For
|
|
2886
2936
|
# more information, see [Configuring ephemeral storage (console)][1].
|
|
2887
2937
|
#
|
|
2888
2938
|
#
|
|
@@ -3069,6 +3119,14 @@ module Aws::Lambda
|
|
|
3069
3119
|
# Details about a function invocation that completed.
|
|
3070
3120
|
# @return [Types::InvocationCompletedDetails]
|
|
3071
3121
|
#
|
|
3122
|
+
# @!attribute [rw] execution_paused_details
|
|
3123
|
+
# The details of an `ExecutionPaused` event.
|
|
3124
|
+
# @return [Types::ExecutionPausedDetails]
|
|
3125
|
+
#
|
|
3126
|
+
# @!attribute [rw] execution_resumed_details
|
|
3127
|
+
# The details of an `ExecutionResumed` event.
|
|
3128
|
+
# @return [Types::ExecutionResumedDetails]
|
|
3129
|
+
#
|
|
3072
3130
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Event AWS API Documentation
|
|
3073
3131
|
#
|
|
3074
3132
|
class Event < Struct.new(
|
|
@@ -3102,7 +3160,9 @@ module Aws::Lambda
|
|
|
3102
3160
|
:callback_succeeded_details,
|
|
3103
3161
|
:callback_failed_details,
|
|
3104
3162
|
:callback_timed_out_details,
|
|
3105
|
-
:invocation_completed_details
|
|
3163
|
+
:invocation_completed_details,
|
|
3164
|
+
:execution_paused_details,
|
|
3165
|
+
:execution_resumed_details)
|
|
3106
3166
|
SENSITIVE = []
|
|
3107
3167
|
include Aws::Structure
|
|
3108
3168
|
end
|
|
@@ -3145,6 +3205,29 @@ module Aws::Lambda
|
|
|
3145
3205
|
include Aws::Structure
|
|
3146
3206
|
end
|
|
3147
3207
|
|
|
3208
|
+
# The reason for pausing a durable execution, as recorded in the
|
|
3209
|
+
# execution history.
|
|
3210
|
+
#
|
|
3211
|
+
# @!attribute [rw] payload
|
|
3212
|
+
# The reason that you provided when you paused the execution. This
|
|
3213
|
+
# field is only present if you set `IncludeExecutionData` to `true` in
|
|
3214
|
+
# the request.
|
|
3215
|
+
# @return [String]
|
|
3216
|
+
#
|
|
3217
|
+
# @!attribute [rw] truncated
|
|
3218
|
+
# Specifies whether Lambda omitted the reason from the response
|
|
3219
|
+
# because `IncludeExecutionData` is `false`.
|
|
3220
|
+
# @return [Boolean]
|
|
3221
|
+
#
|
|
3222
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventPauseReason AWS API Documentation
|
|
3223
|
+
#
|
|
3224
|
+
class EventPauseReason < Struct.new(
|
|
3225
|
+
:payload,
|
|
3226
|
+
:truncated)
|
|
3227
|
+
SENSITIVE = [:payload]
|
|
3228
|
+
include Aws::Structure
|
|
3229
|
+
end
|
|
3230
|
+
|
|
3148
3231
|
# Result information for an event.
|
|
3149
3232
|
#
|
|
3150
3233
|
# @!attribute [rw] payload
|
|
@@ -3164,6 +3247,29 @@ module Aws::Lambda
|
|
|
3164
3247
|
include Aws::Structure
|
|
3165
3248
|
end
|
|
3166
3249
|
|
|
3250
|
+
# The reason for resuming a durable execution, as recorded in the
|
|
3251
|
+
# execution history.
|
|
3252
|
+
#
|
|
3253
|
+
# @!attribute [rw] payload
|
|
3254
|
+
# The reason that you provided when you resumed the execution. This
|
|
3255
|
+
# field is only present if you set `IncludeExecutionData` to `true` in
|
|
3256
|
+
# the request.
|
|
3257
|
+
# @return [String]
|
|
3258
|
+
#
|
|
3259
|
+
# @!attribute [rw] truncated
|
|
3260
|
+
# Specifies whether Lambda omitted the reason from the response
|
|
3261
|
+
# because `IncludeExecutionData` is `false`.
|
|
3262
|
+
# @return [Boolean]
|
|
3263
|
+
#
|
|
3264
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventResumeReason AWS API Documentation
|
|
3265
|
+
#
|
|
3266
|
+
class EventResumeReason < Struct.new(
|
|
3267
|
+
:payload,
|
|
3268
|
+
:truncated)
|
|
3269
|
+
SENSITIVE = [:payload]
|
|
3270
|
+
include Aws::Structure
|
|
3271
|
+
end
|
|
3272
|
+
|
|
3167
3273
|
# A mapping between an Amazon Web Services resource and a Lambda
|
|
3168
3274
|
# function. For details, see CreateEventSourceMapping.
|
|
3169
3275
|
#
|
|
@@ -3597,6 +3703,69 @@ module Aws::Lambda
|
|
|
3597
3703
|
include Aws::Structure
|
|
3598
3704
|
end
|
|
3599
3705
|
|
|
3706
|
+
# Details about a [durable execution][1] that paused. The event
|
|
3707
|
+
# timestamp is when the execution paused.
|
|
3708
|
+
#
|
|
3709
|
+
#
|
|
3710
|
+
#
|
|
3711
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
|
|
3712
|
+
#
|
|
3713
|
+
# @!attribute [rw] pause_request_timestamp
|
|
3714
|
+
# The date and time when you requested the pause, in [ISO-8601
|
|
3715
|
+
# format][1] (YYYY-MM-DDThh:mm:ss.sTZD).
|
|
3716
|
+
#
|
|
3717
|
+
#
|
|
3718
|
+
#
|
|
3719
|
+
# [1]: https://www.w3.org/TR/NOTE-datetime
|
|
3720
|
+
# @return [Time]
|
|
3721
|
+
#
|
|
3722
|
+
# @!attribute [rw] reason
|
|
3723
|
+
# The reason that you provided when you paused the execution.
|
|
3724
|
+
# @return [Types::EventPauseReason]
|
|
3725
|
+
#
|
|
3726
|
+
# @!attribute [rw] execution_timeout_paused
|
|
3727
|
+
# Specifies whether the pause also paused the execution timeout.
|
|
3728
|
+
# @return [Boolean]
|
|
3729
|
+
#
|
|
3730
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ExecutionPausedDetails AWS API Documentation
|
|
3731
|
+
#
|
|
3732
|
+
class ExecutionPausedDetails < Struct.new(
|
|
3733
|
+
:pause_request_timestamp,
|
|
3734
|
+
:reason,
|
|
3735
|
+
:execution_timeout_paused)
|
|
3736
|
+
SENSITIVE = []
|
|
3737
|
+
include Aws::Structure
|
|
3738
|
+
end
|
|
3739
|
+
|
|
3740
|
+
# Details about a [durable execution][1] that resumed. The event
|
|
3741
|
+
# timestamp is when the execution resumed.
|
|
3742
|
+
#
|
|
3743
|
+
#
|
|
3744
|
+
#
|
|
3745
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
|
|
3746
|
+
#
|
|
3747
|
+
# @!attribute [rw] resume_request_timestamp
|
|
3748
|
+
# The date and time when you requested the resume, in [ISO-8601
|
|
3749
|
+
# format][1] (YYYY-MM-DDThh:mm:ss.sTZD).
|
|
3750
|
+
#
|
|
3751
|
+
#
|
|
3752
|
+
#
|
|
3753
|
+
# [1]: https://www.w3.org/TR/NOTE-datetime
|
|
3754
|
+
# @return [Time]
|
|
3755
|
+
#
|
|
3756
|
+
# @!attribute [rw] reason
|
|
3757
|
+
# The reason that you provided when you resumed the execution.
|
|
3758
|
+
# @return [Types::EventResumeReason]
|
|
3759
|
+
#
|
|
3760
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ExecutionResumedDetails AWS API Documentation
|
|
3761
|
+
#
|
|
3762
|
+
class ExecutionResumedDetails < Struct.new(
|
|
3763
|
+
:resume_request_timestamp,
|
|
3764
|
+
:reason)
|
|
3765
|
+
SENSITIVE = []
|
|
3766
|
+
include Aws::Structure
|
|
3767
|
+
end
|
|
3768
|
+
|
|
3600
3769
|
# Details about a durable execution that started.
|
|
3601
3770
|
#
|
|
3602
3771
|
# @!attribute [rw] input
|
|
@@ -4108,7 +4277,8 @@ module Aws::Lambda
|
|
|
4108
4277
|
# @!attribute [rw] ephemeral_storage
|
|
4109
4278
|
# The size of the function's `/tmp` directory in MB. The default
|
|
4110
4279
|
# value is 512, but can be any whole number between 512 and 10,240 MB.
|
|
4111
|
-
# For
|
|
4280
|
+
# For functions that use `AcceleratorConfig`, the maximum is 32,768
|
|
4281
|
+
# MB. For more information, see [Configuring ephemeral storage
|
|
4112
4282
|
# (console)][1].
|
|
4113
4283
|
#
|
|
4114
4284
|
#
|
|
@@ -4161,6 +4331,11 @@ module Aws::Lambda
|
|
|
4161
4331
|
# your function uses.
|
|
4162
4332
|
# @return [Types::FunctionRuntimeConfig]
|
|
4163
4333
|
#
|
|
4334
|
+
# @!attribute [rw] accelerator_config
|
|
4335
|
+
# The accelerator resource settings for a Lambda execution
|
|
4336
|
+
# environment.
|
|
4337
|
+
# @return [Types::AcceleratorConfig]
|
|
4338
|
+
#
|
|
4164
4339
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
|
|
4165
4340
|
#
|
|
4166
4341
|
class FunctionConfiguration < Struct.new(
|
|
@@ -4204,7 +4379,8 @@ module Aws::Lambda
|
|
|
4204
4379
|
:capacity_provider_config,
|
|
4205
4380
|
:config_sha_256,
|
|
4206
4381
|
:durable_config,
|
|
4207
|
-
:runtime_config
|
|
4382
|
+
:runtime_config,
|
|
4383
|
+
:accelerator_config)
|
|
4208
4384
|
SENSITIVE = []
|
|
4209
4385
|
include Aws::Structure
|
|
4210
4386
|
end
|
|
@@ -4660,8 +4836,28 @@ module Aws::Lambda
|
|
|
4660
4836
|
# @return [Time]
|
|
4661
4837
|
#
|
|
4662
4838
|
# @!attribute [rw] status
|
|
4663
|
-
# The
|
|
4664
|
-
#
|
|
4839
|
+
# The durable execution has one of the following statuses:
|
|
4840
|
+
#
|
|
4841
|
+
# * `RUNNING` – The execution is running or waiting for pending
|
|
4842
|
+
# operations to complete.
|
|
4843
|
+
#
|
|
4844
|
+
# * `PAUSING` – The execution is waiting for an in-progress invocation
|
|
4845
|
+
# to reach its next checkpoint before it pauses.
|
|
4846
|
+
#
|
|
4847
|
+
# * `PAUSED` – The execution is paused, and Lambda doesn't invoke
|
|
4848
|
+
# your function.
|
|
4849
|
+
#
|
|
4850
|
+
# * `SUCCEEDED` – The execution completed successfully.
|
|
4851
|
+
#
|
|
4852
|
+
# * `FAILED` – The execution completed with an error.
|
|
4853
|
+
#
|
|
4854
|
+
# * `TIMED_OUT` – The execution exceeded its execution timeout.
|
|
4855
|
+
#
|
|
4856
|
+
# * `STOPPED` – A `StopDurableExecution` request stopped the
|
|
4857
|
+
# execution.
|
|
4858
|
+
#
|
|
4859
|
+
# * `DELETING` – A `DeleteDurableExecution` request is deleting the
|
|
4860
|
+
# execution and its data.
|
|
4665
4861
|
# @return [String]
|
|
4666
4862
|
#
|
|
4667
4863
|
# @!attribute [rw] end_timestamp
|
|
@@ -4695,6 +4891,20 @@ module Aws::Lambda
|
|
|
4695
4891
|
# including input, output, and error payloads.
|
|
4696
4892
|
# @return [Types::DurableConfig]
|
|
4697
4893
|
#
|
|
4894
|
+
# @!attribute [rw] pause_details
|
|
4895
|
+
# The details of the pause, including when you requested it and
|
|
4896
|
+
# whether it pauses the execution timeout. This field is only present
|
|
4897
|
+
# when the execution status is `PAUSING` or `PAUSED`.
|
|
4898
|
+
# @return [Types::PauseDetails]
|
|
4899
|
+
#
|
|
4900
|
+
# @!attribute [rw] expected_execution_timeout_timestamp
|
|
4901
|
+
# The date and time when the durable execution will time out, in Unix
|
|
4902
|
+
# timestamp format. This value includes any extension from time the
|
|
4903
|
+
# execution spent paused. While the execution is paused with its
|
|
4904
|
+
# execution timeout paused, this value is 366 days after the start
|
|
4905
|
+
# time. This field isn't present for completed executions.
|
|
4906
|
+
# @return [Time]
|
|
4907
|
+
#
|
|
4698
4908
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecutionResponse AWS API Documentation
|
|
4699
4909
|
#
|
|
4700
4910
|
class GetDurableExecutionResponse < Struct.new(
|
|
@@ -4710,7 +4920,9 @@ module Aws::Lambda
|
|
|
4710
4920
|
:version,
|
|
4711
4921
|
:trace_header,
|
|
4712
4922
|
:execution_data_included,
|
|
4713
|
-
:durable_config
|
|
4923
|
+
:durable_config,
|
|
4924
|
+
:pause_details,
|
|
4925
|
+
:expected_execution_timeout_timestamp)
|
|
4714
4926
|
SENSITIVE = [:input_payload, :result]
|
|
4715
4927
|
include Aws::Structure
|
|
4716
4928
|
end
|
|
@@ -6713,8 +6925,29 @@ module Aws::Lambda
|
|
|
6713
6925
|
# @return [String]
|
|
6714
6926
|
#
|
|
6715
6927
|
# @!attribute [rw] statuses
|
|
6716
|
-
#
|
|
6717
|
-
#
|
|
6928
|
+
# Filters the executions by status. Specify one of the following
|
|
6929
|
+
# values:
|
|
6930
|
+
#
|
|
6931
|
+
# * `RUNNING` – The execution is running or waiting for pending
|
|
6932
|
+
# operations to complete.
|
|
6933
|
+
#
|
|
6934
|
+
# * `PAUSING` – The execution is waiting for an in-progress invocation
|
|
6935
|
+
# to reach its next checkpoint before it pauses.
|
|
6936
|
+
#
|
|
6937
|
+
# * `PAUSED` – The execution is paused, and Lambda doesn't invoke
|
|
6938
|
+
# your function.
|
|
6939
|
+
#
|
|
6940
|
+
# * `SUCCEEDED` – The execution completed successfully.
|
|
6941
|
+
#
|
|
6942
|
+
# * `FAILED` – The execution completed with an error.
|
|
6943
|
+
#
|
|
6944
|
+
# * `TIMED_OUT` – The execution exceeded its execution timeout.
|
|
6945
|
+
#
|
|
6946
|
+
# * `STOPPED` – A `StopDurableExecution` request stopped the
|
|
6947
|
+
# execution.
|
|
6948
|
+
#
|
|
6949
|
+
# * `DELETING` – A `DeleteDurableExecution` request is deleting the
|
|
6950
|
+
# execution and its data.
|
|
6718
6951
|
# @return [Array<String>]
|
|
6719
6952
|
#
|
|
6720
6953
|
# @!attribute [rw] started_after
|
|
@@ -7708,6 +7941,84 @@ module Aws::Lambda
|
|
|
7708
7941
|
include Aws::Structure
|
|
7709
7942
|
end
|
|
7710
7943
|
|
|
7944
|
+
# Details about a [durable execution][1] that is pausing or paused.
|
|
7945
|
+
#
|
|
7946
|
+
#
|
|
7947
|
+
#
|
|
7948
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
|
|
7949
|
+
#
|
|
7950
|
+
# @!attribute [rw] pause_request_timestamp
|
|
7951
|
+
# The date and time when you requested the pause, in [ISO-8601
|
|
7952
|
+
# format][1] (YYYY-MM-DDThh:mm:ss.sTZD).
|
|
7953
|
+
#
|
|
7954
|
+
#
|
|
7955
|
+
#
|
|
7956
|
+
# [1]: https://www.w3.org/TR/NOTE-datetime
|
|
7957
|
+
# @return [Time]
|
|
7958
|
+
#
|
|
7959
|
+
# @!attribute [rw] reason
|
|
7960
|
+
# The reason that you provided when you paused the execution. This
|
|
7961
|
+
# field is only present if you set `IncludeExecutionData` to `true` in
|
|
7962
|
+
# the request.
|
|
7963
|
+
# @return [String]
|
|
7964
|
+
#
|
|
7965
|
+
# @!attribute [rw] execution_timeout_paused
|
|
7966
|
+
# Specifies whether the pause also pauses the execution timeout.
|
|
7967
|
+
# @return [Boolean]
|
|
7968
|
+
#
|
|
7969
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PauseDetails AWS API Documentation
|
|
7970
|
+
#
|
|
7971
|
+
class PauseDetails < Struct.new(
|
|
7972
|
+
:pause_request_timestamp,
|
|
7973
|
+
:reason,
|
|
7974
|
+
:execution_timeout_paused)
|
|
7975
|
+
SENSITIVE = [:reason]
|
|
7976
|
+
include Aws::Structure
|
|
7977
|
+
end
|
|
7978
|
+
|
|
7979
|
+
# @!attribute [rw] durable_execution_arn
|
|
7980
|
+
# The Amazon Resource Name (ARN) of the durable execution.
|
|
7981
|
+
# @return [String]
|
|
7982
|
+
#
|
|
7983
|
+
# @!attribute [rw] client_token
|
|
7984
|
+
# A unique, case-sensitive identifier that you provide so that the
|
|
7985
|
+
# request completes no more than one time. If you repeat a request
|
|
7986
|
+
# with the same client token and parameters within 15 minutes, Lambda
|
|
7987
|
+
# doesn't pause the execution again and returns a successful response
|
|
7988
|
+
# instead of an error.
|
|
7989
|
+
#
|
|
7990
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
7991
|
+
# not need to pass this option.
|
|
7992
|
+
# @return [String]
|
|
7993
|
+
#
|
|
7994
|
+
# @!attribute [rw] reason
|
|
7995
|
+
# A description of why you're pausing the execution. Lambda records
|
|
7996
|
+
# the reason in the execution history.
|
|
7997
|
+
# @return [String]
|
|
7998
|
+
#
|
|
7999
|
+
# @!attribute [rw] execution_timeout_paused
|
|
8000
|
+
# Specifies whether to pause the execution timeout while the execution
|
|
8001
|
+
# is paused. If `true`, Lambda extends the execution timeout by the
|
|
8002
|
+
# time the execution spends paused. An execution with a paused timeout
|
|
8003
|
+
# still times out 366 days after it started. The default value is
|
|
8004
|
+
# `true`.
|
|
8005
|
+
# @return [Boolean]
|
|
8006
|
+
#
|
|
8007
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PauseDurableExecutionRequest AWS API Documentation
|
|
8008
|
+
#
|
|
8009
|
+
class PauseDurableExecutionRequest < Struct.new(
|
|
8010
|
+
:durable_execution_arn,
|
|
8011
|
+
:client_token,
|
|
8012
|
+
:reason,
|
|
8013
|
+
:execution_timeout_paused)
|
|
8014
|
+
SENSITIVE = [:reason]
|
|
8015
|
+
include Aws::Structure
|
|
8016
|
+
end
|
|
8017
|
+
|
|
8018
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PauseDurableExecutionResponse AWS API Documentation
|
|
8019
|
+
#
|
|
8020
|
+
class PauseDurableExecutionResponse < Aws::EmptyStructure; end
|
|
8021
|
+
|
|
7711
8022
|
# The permissions policy for the resource is too large. For more
|
|
7712
8023
|
# information, see [Lambda quotas][1].
|
|
7713
8024
|
#
|
|
@@ -8814,6 +9125,40 @@ module Aws::Lambda
|
|
|
8814
9125
|
include Aws::Structure
|
|
8815
9126
|
end
|
|
8816
9127
|
|
|
9128
|
+
# @!attribute [rw] durable_execution_arn
|
|
9129
|
+
# The Amazon Resource Name (ARN) of the durable execution.
|
|
9130
|
+
# @return [String]
|
|
9131
|
+
#
|
|
9132
|
+
# @!attribute [rw] client_token
|
|
9133
|
+
# A unique, case-sensitive identifier that you provide so that the
|
|
9134
|
+
# request completes no more than one time. If you repeat a request
|
|
9135
|
+
# with the same client token and parameters within 15 minutes, Lambda
|
|
9136
|
+
# doesn't resume the execution again and returns a successful
|
|
9137
|
+
# response instead of an error.
|
|
9138
|
+
#
|
|
9139
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
9140
|
+
# not need to pass this option.
|
|
9141
|
+
# @return [String]
|
|
9142
|
+
#
|
|
9143
|
+
# @!attribute [rw] reason
|
|
9144
|
+
# A description of why you're resuming the execution. Lambda records
|
|
9145
|
+
# the reason in the execution history.
|
|
9146
|
+
# @return [String]
|
|
9147
|
+
#
|
|
9148
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ResumeDurableExecutionRequest AWS API Documentation
|
|
9149
|
+
#
|
|
9150
|
+
class ResumeDurableExecutionRequest < Struct.new(
|
|
9151
|
+
:durable_execution_arn,
|
|
9152
|
+
:client_token,
|
|
9153
|
+
:reason)
|
|
9154
|
+
SENSITIVE = [:reason]
|
|
9155
|
+
include Aws::Structure
|
|
9156
|
+
end
|
|
9157
|
+
|
|
9158
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ResumeDurableExecutionResponse AWS API Documentation
|
|
9159
|
+
#
|
|
9160
|
+
class ResumeDurableExecutionResponse < Aws::EmptyStructure; end
|
|
9161
|
+
|
|
8817
9162
|
# Information about retry attempts for an operation.
|
|
8818
9163
|
#
|
|
8819
9164
|
# @!attribute [rw] current_attempt
|
|
@@ -10440,7 +10785,8 @@ module Aws::Lambda
|
|
|
10440
10785
|
# @!attribute [rw] ephemeral_storage
|
|
10441
10786
|
# The size of the function's `/tmp` directory in MB. The default
|
|
10442
10787
|
# value is 512, but can be any whole number between 512 and 10,240 MB.
|
|
10443
|
-
# For
|
|
10788
|
+
# For functions that use `AcceleratorConfig`, the maximum is 32,768
|
|
10789
|
+
# MB. For more information, see [Configuring ephemeral storage
|
|
10444
10790
|
# (console)][1].
|
|
10445
10791
|
#
|
|
10446
10792
|
#
|
|
@@ -10483,6 +10829,11 @@ module Aws::Lambda
|
|
|
10483
10829
|
# your function uses.
|
|
10484
10830
|
# @return [Types::FunctionRuntimeConfig]
|
|
10485
10831
|
#
|
|
10832
|
+
# @!attribute [rw] accelerator_config
|
|
10833
|
+
# The accelerator resource settings for a Lambda execution
|
|
10834
|
+
# environment.
|
|
10835
|
+
# @return [Types::AcceleratorConfig]
|
|
10836
|
+
#
|
|
10486
10837
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
|
|
10487
10838
|
#
|
|
10488
10839
|
class UpdateFunctionConfigurationRequest < Struct.new(
|
|
@@ -10507,7 +10858,8 @@ module Aws::Lambda
|
|
|
10507
10858
|
:logging_config,
|
|
10508
10859
|
:capacity_provider_config,
|
|
10509
10860
|
:durable_config,
|
|
10510
|
-
:runtime_config
|
|
10861
|
+
:runtime_config,
|
|
10862
|
+
:accelerator_config)
|
|
10511
10863
|
SENSITIVE = []
|
|
10512
10864
|
include Aws::Structure
|
|
10513
10865
|
end
|
|
@@ -10816,7 +11168,7 @@ module Aws::Lambda
|
|
|
10816
11168
|
include Aws::Structure
|
|
10817
11169
|
end
|
|
10818
11170
|
|
|
10819
|
-
# Specifies how long
|
|
11171
|
+
# Specifies how long the durable execution waits.
|
|
10820
11172
|
#
|
|
10821
11173
|
# @!attribute [rw] wait_seconds
|
|
10822
11174
|
# The duration to wait, in seconds.
|