aws-sdk-lambda 1.168.0 → 1.169.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +783 -9
- data/lib/aws-sdk-lambda/client_api.rb +581 -0
- data/lib/aws-sdk-lambda/errors.rb +42 -0
- data/lib/aws-sdk-lambda/types.rb +1829 -77
- data/lib/aws-sdk-lambda.rb +1 -1
- data/sig/client.rbs +184 -5
- data/sig/errors.rbs +8 -0
- data/sig/types.rbs +460 -1
- metadata +1 -1
data/lib/aws-sdk-lambda.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -119,6 +119,53 @@ module Aws
|
|
|
119
119
|
) -> _AddPermissionResponseSuccess
|
|
120
120
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddPermissionResponseSuccess
|
|
121
121
|
|
|
122
|
+
interface _CheckpointDurableExecutionResponseSuccess
|
|
123
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CheckpointDurableExecutionResponse]
|
|
124
|
+
def checkpoint_token: () -> ::String
|
|
125
|
+
def new_execution_state: () -> Types::CheckpointUpdatedExecutionState
|
|
126
|
+
end
|
|
127
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#checkpoint_durable_execution-instance_method
|
|
128
|
+
def checkpoint_durable_execution: (
|
|
129
|
+
durable_execution_arn: ::String,
|
|
130
|
+
checkpoint_token: ::String,
|
|
131
|
+
?updates: Array[
|
|
132
|
+
{
|
|
133
|
+
id: ::String,
|
|
134
|
+
parent_id: ::String?,
|
|
135
|
+
name: ::String?,
|
|
136
|
+
type: ("EXECUTION" | "CONTEXT" | "STEP" | "WAIT" | "CALLBACK" | "CHAINED_INVOKE"),
|
|
137
|
+
sub_type: ::String?,
|
|
138
|
+
action: ("START" | "SUCCEED" | "FAIL" | "RETRY" | "CANCEL"),
|
|
139
|
+
payload: ::String?,
|
|
140
|
+
error: {
|
|
141
|
+
error_message: ::String?,
|
|
142
|
+
error_type: ::String?,
|
|
143
|
+
error_data: ::String?,
|
|
144
|
+
stack_trace: Array[::String]?
|
|
145
|
+
}?,
|
|
146
|
+
context_options: {
|
|
147
|
+
replay_children: bool?
|
|
148
|
+
}?,
|
|
149
|
+
step_options: {
|
|
150
|
+
next_attempt_delay_seconds: ::Integer?
|
|
151
|
+
}?,
|
|
152
|
+
wait_options: {
|
|
153
|
+
wait_seconds: ::Integer?
|
|
154
|
+
}?,
|
|
155
|
+
callback_options: {
|
|
156
|
+
timeout_seconds: ::Integer?,
|
|
157
|
+
heartbeat_timeout_seconds: ::Integer?
|
|
158
|
+
}?,
|
|
159
|
+
chained_invoke_options: {
|
|
160
|
+
function_name: ::String,
|
|
161
|
+
tenant_id: ::String?
|
|
162
|
+
}?
|
|
163
|
+
},
|
|
164
|
+
],
|
|
165
|
+
?client_token: ::String
|
|
166
|
+
) -> _CheckpointDurableExecutionResponseSuccess
|
|
167
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CheckpointDurableExecutionResponseSuccess
|
|
168
|
+
|
|
122
169
|
interface _CreateAliasResponseSuccess
|
|
123
170
|
include ::Seahorse::Client::_ResponseSuccess[Types::AliasConfiguration]
|
|
124
171
|
def alias_arn: () -> ::String
|
|
@@ -348,7 +395,7 @@ module Aws
|
|
|
348
395
|
def layers: () -> ::Array[Types::Layer]
|
|
349
396
|
def state: () -> ("Pending" | "Active" | "Inactive" | "Failed" | "Deactivating" | "Deactivated" | "ActiveNonInvocable" | "Deleting")
|
|
350
397
|
def state_reason: () -> ::String
|
|
351
|
-
def state_reason_code: () -> ("Idle" | "Creating" | "Restoring" | "EniLimitExceeded" | "InsufficientRolePermissions" | "InvalidConfiguration" | "InternalError" | "SubnetOutOfIPAddresses" | "InvalidSubnet" | "InvalidSecurityGroup" | "ImageDeleted" | "ImageAccessDenied" | "InvalidImage" | "KMSKeyAccessDenied" | "KMSKeyNotFound" | "InvalidStateKMSKey" | "DisabledKMSKey" | "EFSIOError" | "EFSMountConnectivityError" | "EFSMountFailure" | "EFSMountTimeout" | "InvalidRuntime" | "InvalidZipFileException" | "FunctionError" | "VcpuLimitExceeded" | "CapacityProviderScalingLimitExceeded" | "InsufficientCapacity" | "EC2RequestLimitExceeded" | "FunctionError.InitTimeout" | "FunctionError.RuntimeInitError" | "FunctionError.ExtensionInitError" | "FunctionError.InvalidEntryPoint" | "FunctionError.InvalidWorkingDirectory" | "FunctionError.PermissionDenied" | "FunctionError.TooManyExtensions" | "FunctionError.InitResourceExhausted")
|
|
398
|
+
def state_reason_code: () -> ("Idle" | "Creating" | "Restoring" | "EniLimitExceeded" | "InsufficientRolePermissions" | "InvalidConfiguration" | "InternalError" | "SubnetOutOfIPAddresses" | "InvalidSubnet" | "InvalidSecurityGroup" | "ImageDeleted" | "ImageAccessDenied" | "InvalidImage" | "KMSKeyAccessDenied" | "KMSKeyNotFound" | "InvalidStateKMSKey" | "DisabledKMSKey" | "EFSIOError" | "EFSMountConnectivityError" | "EFSMountFailure" | "EFSMountTimeout" | "InvalidRuntime" | "InvalidZipFileException" | "FunctionError" | "DrainingDurableExecutions" | "VcpuLimitExceeded" | "CapacityProviderScalingLimitExceeded" | "InsufficientCapacity" | "EC2RequestLimitExceeded" | "FunctionError.InitTimeout" | "FunctionError.RuntimeInitError" | "FunctionError.ExtensionInitError" | "FunctionError.InvalidEntryPoint" | "FunctionError.InvalidWorkingDirectory" | "FunctionError.PermissionDenied" | "FunctionError.TooManyExtensions" | "FunctionError.InitResourceExhausted")
|
|
352
399
|
def last_update_status: () -> ("Successful" | "Failed" | "InProgress")
|
|
353
400
|
def last_update_status_reason: () -> ::String
|
|
354
401
|
def last_update_status_reason_code: () -> ("EniLimitExceeded" | "InsufficientRolePermissions" | "InvalidConfiguration" | "InternalError" | "SubnetOutOfIPAddresses" | "InvalidSubnet" | "InvalidSecurityGroup" | "ImageDeleted" | "ImageAccessDenied" | "InvalidImage" | "KMSKeyAccessDenied" | "KMSKeyNotFound" | "InvalidStateKMSKey" | "DisabledKMSKey" | "EFSIOError" | "EFSMountConnectivityError" | "EFSMountFailure" | "EFSMountTimeout" | "InvalidRuntime" | "InvalidZipFileException" | "FunctionError" | "VcpuLimitExceeded" | "CapacityProviderScalingLimitExceeded" | "InsufficientCapacity" | "EC2RequestLimitExceeded" | "FunctionError.InitTimeout" | "FunctionError.RuntimeInitError" | "FunctionError.ExtensionInitError" | "FunctionError.InvalidEntryPoint" | "FunctionError.InvalidWorkingDirectory" | "FunctionError.PermissionDenied" | "FunctionError.TooManyExtensions" | "FunctionError.InitResourceExhausted")
|
|
@@ -364,6 +411,7 @@ module Aws
|
|
|
364
411
|
def logging_config: () -> Types::LoggingConfig
|
|
365
412
|
def capacity_provider_config: () -> Types::CapacityProviderConfig
|
|
366
413
|
def config_sha_256: () -> ::String
|
|
414
|
+
def durable_config: () -> Types::DurableConfig
|
|
367
415
|
def tenancy_config: () -> Types::TenancyConfig
|
|
368
416
|
end
|
|
369
417
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#create_function-instance_method
|
|
@@ -435,6 +483,10 @@ module Aws
|
|
|
435
483
|
}
|
|
436
484
|
},
|
|
437
485
|
?publish_to: ("LATEST_PUBLISHED"),
|
|
486
|
+
?durable_config: {
|
|
487
|
+
retention_period_in_days: ::Integer?,
|
|
488
|
+
execution_timeout: ::Integer?
|
|
489
|
+
},
|
|
438
490
|
?tenancy_config: {
|
|
439
491
|
tenant_isolation_mode: ("PER_TENANT")
|
|
440
492
|
}
|
|
@@ -631,6 +683,54 @@ module Aws
|
|
|
631
683
|
) -> _GetCodeSigningConfigResponseSuccess
|
|
632
684
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCodeSigningConfigResponseSuccess
|
|
633
685
|
|
|
686
|
+
interface _GetDurableExecutionResponseSuccess
|
|
687
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDurableExecutionResponse]
|
|
688
|
+
def durable_execution_arn: () -> ::String
|
|
689
|
+
def durable_execution_name: () -> ::String
|
|
690
|
+
def function_arn: () -> ::String
|
|
691
|
+
def input_payload: () -> ::String
|
|
692
|
+
def result: () -> ::String
|
|
693
|
+
def start_timestamp: () -> ::Time
|
|
694
|
+
def status: () -> ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "STOPPED")
|
|
695
|
+
def end_timestamp: () -> ::Time
|
|
696
|
+
def version: () -> ::String
|
|
697
|
+
def trace_header: () -> Types::TraceHeader
|
|
698
|
+
end
|
|
699
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_durable_execution-instance_method
|
|
700
|
+
def get_durable_execution: (
|
|
701
|
+
durable_execution_arn: ::String
|
|
702
|
+
) -> _GetDurableExecutionResponseSuccess
|
|
703
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDurableExecutionResponseSuccess
|
|
704
|
+
|
|
705
|
+
interface _GetDurableExecutionHistoryResponseSuccess
|
|
706
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDurableExecutionHistoryResponse]
|
|
707
|
+
def events: () -> ::Array[Types::Event]
|
|
708
|
+
def next_marker: () -> ::String
|
|
709
|
+
end
|
|
710
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_durable_execution_history-instance_method
|
|
711
|
+
def get_durable_execution_history: (
|
|
712
|
+
durable_execution_arn: ::String,
|
|
713
|
+
?include_execution_data: bool,
|
|
714
|
+
?max_items: ::Integer,
|
|
715
|
+
?marker: ::String,
|
|
716
|
+
?reverse_order: bool
|
|
717
|
+
) -> _GetDurableExecutionHistoryResponseSuccess
|
|
718
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDurableExecutionHistoryResponseSuccess
|
|
719
|
+
|
|
720
|
+
interface _GetDurableExecutionStateResponseSuccess
|
|
721
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDurableExecutionStateResponse]
|
|
722
|
+
def operations: () -> ::Array[Types::Operation]
|
|
723
|
+
def next_marker: () -> ::String
|
|
724
|
+
end
|
|
725
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_durable_execution_state-instance_method
|
|
726
|
+
def get_durable_execution_state: (
|
|
727
|
+
durable_execution_arn: ::String,
|
|
728
|
+
checkpoint_token: ::String,
|
|
729
|
+
?marker: ::String,
|
|
730
|
+
?max_items: ::Integer
|
|
731
|
+
) -> _GetDurableExecutionStateResponseSuccess
|
|
732
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDurableExecutionStateResponseSuccess
|
|
733
|
+
|
|
634
734
|
interface _GetEventSourceMappingResponseSuccess
|
|
635
735
|
include ::Seahorse::Client::_ResponseSuccess[Types::EventSourceMappingConfiguration]
|
|
636
736
|
def uuid: () -> ::String
|
|
@@ -732,7 +832,7 @@ module Aws
|
|
|
732
832
|
def layers: () -> ::Array[Types::Layer]
|
|
733
833
|
def state: () -> ("Pending" | "Active" | "Inactive" | "Failed" | "Deactivating" | "Deactivated" | "ActiveNonInvocable" | "Deleting")
|
|
734
834
|
def state_reason: () -> ::String
|
|
735
|
-
def state_reason_code: () -> ("Idle" | "Creating" | "Restoring" | "EniLimitExceeded" | "InsufficientRolePermissions" | "InvalidConfiguration" | "InternalError" | "SubnetOutOfIPAddresses" | "InvalidSubnet" | "InvalidSecurityGroup" | "ImageDeleted" | "ImageAccessDenied" | "InvalidImage" | "KMSKeyAccessDenied" | "KMSKeyNotFound" | "InvalidStateKMSKey" | "DisabledKMSKey" | "EFSIOError" | "EFSMountConnectivityError" | "EFSMountFailure" | "EFSMountTimeout" | "InvalidRuntime" | "InvalidZipFileException" | "FunctionError" | "VcpuLimitExceeded" | "CapacityProviderScalingLimitExceeded" | "InsufficientCapacity" | "EC2RequestLimitExceeded" | "FunctionError.InitTimeout" | "FunctionError.RuntimeInitError" | "FunctionError.ExtensionInitError" | "FunctionError.InvalidEntryPoint" | "FunctionError.InvalidWorkingDirectory" | "FunctionError.PermissionDenied" | "FunctionError.TooManyExtensions" | "FunctionError.InitResourceExhausted")
|
|
835
|
+
def state_reason_code: () -> ("Idle" | "Creating" | "Restoring" | "EniLimitExceeded" | "InsufficientRolePermissions" | "InvalidConfiguration" | "InternalError" | "SubnetOutOfIPAddresses" | "InvalidSubnet" | "InvalidSecurityGroup" | "ImageDeleted" | "ImageAccessDenied" | "InvalidImage" | "KMSKeyAccessDenied" | "KMSKeyNotFound" | "InvalidStateKMSKey" | "DisabledKMSKey" | "EFSIOError" | "EFSMountConnectivityError" | "EFSMountFailure" | "EFSMountTimeout" | "InvalidRuntime" | "InvalidZipFileException" | "FunctionError" | "DrainingDurableExecutions" | "VcpuLimitExceeded" | "CapacityProviderScalingLimitExceeded" | "InsufficientCapacity" | "EC2RequestLimitExceeded" | "FunctionError.InitTimeout" | "FunctionError.RuntimeInitError" | "FunctionError.ExtensionInitError" | "FunctionError.InvalidEntryPoint" | "FunctionError.InvalidWorkingDirectory" | "FunctionError.PermissionDenied" | "FunctionError.TooManyExtensions" | "FunctionError.InitResourceExhausted")
|
|
736
836
|
def last_update_status: () -> ("Successful" | "Failed" | "InProgress")
|
|
737
837
|
def last_update_status_reason: () -> ::String
|
|
738
838
|
def last_update_status_reason_code: () -> ("EniLimitExceeded" | "InsufficientRolePermissions" | "InvalidConfiguration" | "InternalError" | "SubnetOutOfIPAddresses" | "InvalidSubnet" | "InvalidSecurityGroup" | "ImageDeleted" | "ImageAccessDenied" | "InvalidImage" | "KMSKeyAccessDenied" | "KMSKeyNotFound" | "InvalidStateKMSKey" | "DisabledKMSKey" | "EFSIOError" | "EFSMountConnectivityError" | "EFSMountFailure" | "EFSMountTimeout" | "InvalidRuntime" | "InvalidZipFileException" | "FunctionError" | "VcpuLimitExceeded" | "CapacityProviderScalingLimitExceeded" | "InsufficientCapacity" | "EC2RequestLimitExceeded" | "FunctionError.InitTimeout" | "FunctionError.RuntimeInitError" | "FunctionError.ExtensionInitError" | "FunctionError.InvalidEntryPoint" | "FunctionError.InvalidWorkingDirectory" | "FunctionError.PermissionDenied" | "FunctionError.TooManyExtensions" | "FunctionError.InitResourceExhausted")
|
|
@@ -748,6 +848,7 @@ module Aws
|
|
|
748
848
|
def logging_config: () -> Types::LoggingConfig
|
|
749
849
|
def capacity_provider_config: () -> Types::CapacityProviderConfig
|
|
750
850
|
def config_sha_256: () -> ::String
|
|
851
|
+
def durable_config: () -> Types::DurableConfig
|
|
751
852
|
def tenancy_config: () -> Types::TenancyConfig
|
|
752
853
|
end
|
|
753
854
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_function_configuration-instance_method
|
|
@@ -909,6 +1010,7 @@ module Aws
|
|
|
909
1010
|
def log_result: () -> ::String
|
|
910
1011
|
def payload: () -> ::String
|
|
911
1012
|
def executed_version: () -> ::String
|
|
1013
|
+
def durable_execution_arn: () -> ::String
|
|
912
1014
|
end
|
|
913
1015
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#invoke-instance_method
|
|
914
1016
|
def invoke: (
|
|
@@ -916,6 +1018,7 @@ module Aws
|
|
|
916
1018
|
?invocation_type: ("Event" | "RequestResponse" | "DryRun"),
|
|
917
1019
|
?log_type: ("None" | "Tail"),
|
|
918
1020
|
?client_context: ::String,
|
|
1021
|
+
?durable_execution_name: ::String,
|
|
919
1022
|
?payload: ::String,
|
|
920
1023
|
?qualifier: ::String,
|
|
921
1024
|
?tenant_id: ::String
|
|
@@ -991,6 +1094,25 @@ module Aws
|
|
|
991
1094
|
) -> _ListCodeSigningConfigsResponseSuccess
|
|
992
1095
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCodeSigningConfigsResponseSuccess
|
|
993
1096
|
|
|
1097
|
+
interface _ListDurableExecutionsByFunctionResponseSuccess
|
|
1098
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDurableExecutionsByFunctionResponse]
|
|
1099
|
+
def durable_executions: () -> ::Array[Types::Execution]
|
|
1100
|
+
def next_marker: () -> ::String
|
|
1101
|
+
end
|
|
1102
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#list_durable_executions_by_function-instance_method
|
|
1103
|
+
def list_durable_executions_by_function: (
|
|
1104
|
+
function_name: ::String,
|
|
1105
|
+
?qualifier: ::String,
|
|
1106
|
+
?durable_execution_name: ::String,
|
|
1107
|
+
?statuses: Array[("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "STOPPED")],
|
|
1108
|
+
?started_after: ::Time,
|
|
1109
|
+
?started_before: ::Time,
|
|
1110
|
+
?reverse_order: bool,
|
|
1111
|
+
?marker: ::String,
|
|
1112
|
+
?max_items: ::Integer
|
|
1113
|
+
) -> _ListDurableExecutionsByFunctionResponseSuccess
|
|
1114
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDurableExecutionsByFunctionResponseSuccess
|
|
1115
|
+
|
|
994
1116
|
interface _ListEventSourceMappingsResponseSuccess
|
|
995
1117
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListEventSourceMappingsResponse]
|
|
996
1118
|
def next_marker: () -> ::String
|
|
@@ -1189,7 +1311,7 @@ module Aws
|
|
|
1189
1311
|
def layers: () -> ::Array[Types::Layer]
|
|
1190
1312
|
def state: () -> ("Pending" | "Active" | "Inactive" | "Failed" | "Deactivating" | "Deactivated" | "ActiveNonInvocable" | "Deleting")
|
|
1191
1313
|
def state_reason: () -> ::String
|
|
1192
|
-
def state_reason_code: () -> ("Idle" | "Creating" | "Restoring" | "EniLimitExceeded" | "InsufficientRolePermissions" | "InvalidConfiguration" | "InternalError" | "SubnetOutOfIPAddresses" | "InvalidSubnet" | "InvalidSecurityGroup" | "ImageDeleted" | "ImageAccessDenied" | "InvalidImage" | "KMSKeyAccessDenied" | "KMSKeyNotFound" | "InvalidStateKMSKey" | "DisabledKMSKey" | "EFSIOError" | "EFSMountConnectivityError" | "EFSMountFailure" | "EFSMountTimeout" | "InvalidRuntime" | "InvalidZipFileException" | "FunctionError" | "VcpuLimitExceeded" | "CapacityProviderScalingLimitExceeded" | "InsufficientCapacity" | "EC2RequestLimitExceeded" | "FunctionError.InitTimeout" | "FunctionError.RuntimeInitError" | "FunctionError.ExtensionInitError" | "FunctionError.InvalidEntryPoint" | "FunctionError.InvalidWorkingDirectory" | "FunctionError.PermissionDenied" | "FunctionError.TooManyExtensions" | "FunctionError.InitResourceExhausted")
|
|
1314
|
+
def state_reason_code: () -> ("Idle" | "Creating" | "Restoring" | "EniLimitExceeded" | "InsufficientRolePermissions" | "InvalidConfiguration" | "InternalError" | "SubnetOutOfIPAddresses" | "InvalidSubnet" | "InvalidSecurityGroup" | "ImageDeleted" | "ImageAccessDenied" | "InvalidImage" | "KMSKeyAccessDenied" | "KMSKeyNotFound" | "InvalidStateKMSKey" | "DisabledKMSKey" | "EFSIOError" | "EFSMountConnectivityError" | "EFSMountFailure" | "EFSMountTimeout" | "InvalidRuntime" | "InvalidZipFileException" | "FunctionError" | "DrainingDurableExecutions" | "VcpuLimitExceeded" | "CapacityProviderScalingLimitExceeded" | "InsufficientCapacity" | "EC2RequestLimitExceeded" | "FunctionError.InitTimeout" | "FunctionError.RuntimeInitError" | "FunctionError.ExtensionInitError" | "FunctionError.InvalidEntryPoint" | "FunctionError.InvalidWorkingDirectory" | "FunctionError.PermissionDenied" | "FunctionError.TooManyExtensions" | "FunctionError.InitResourceExhausted")
|
|
1193
1315
|
def last_update_status: () -> ("Successful" | "Failed" | "InProgress")
|
|
1194
1316
|
def last_update_status_reason: () -> ::String
|
|
1195
1317
|
def last_update_status_reason_code: () -> ("EniLimitExceeded" | "InsufficientRolePermissions" | "InvalidConfiguration" | "InternalError" | "SubnetOutOfIPAddresses" | "InvalidSubnet" | "InvalidSecurityGroup" | "ImageDeleted" | "ImageAccessDenied" | "InvalidImage" | "KMSKeyAccessDenied" | "KMSKeyNotFound" | "InvalidStateKMSKey" | "DisabledKMSKey" | "EFSIOError" | "EFSMountConnectivityError" | "EFSMountFailure" | "EFSMountTimeout" | "InvalidRuntime" | "InvalidZipFileException" | "FunctionError" | "VcpuLimitExceeded" | "CapacityProviderScalingLimitExceeded" | "InsufficientCapacity" | "EC2RequestLimitExceeded" | "FunctionError.InitTimeout" | "FunctionError.RuntimeInitError" | "FunctionError.ExtensionInitError" | "FunctionError.InvalidEntryPoint" | "FunctionError.InvalidWorkingDirectory" | "FunctionError.PermissionDenied" | "FunctionError.TooManyExtensions" | "FunctionError.InitResourceExhausted")
|
|
@@ -1205,6 +1327,7 @@ module Aws
|
|
|
1205
1327
|
def logging_config: () -> Types::LoggingConfig
|
|
1206
1328
|
def capacity_provider_config: () -> Types::CapacityProviderConfig
|
|
1207
1329
|
def config_sha_256: () -> ::String
|
|
1330
|
+
def durable_config: () -> Types::DurableConfig
|
|
1208
1331
|
def tenancy_config: () -> Types::TenancyConfig
|
|
1209
1332
|
end
|
|
1210
1333
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#publish_version-instance_method
|
|
@@ -1341,6 +1464,56 @@ module Aws
|
|
|
1341
1464
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1342
1465
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1343
1466
|
|
|
1467
|
+
interface _SendDurableExecutionCallbackFailureResponseSuccess
|
|
1468
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SendDurableExecutionCallbackFailureResponse]
|
|
1469
|
+
end
|
|
1470
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#send_durable_execution_callback_failure-instance_method
|
|
1471
|
+
def send_durable_execution_callback_failure: (
|
|
1472
|
+
callback_id: ::String,
|
|
1473
|
+
?error: {
|
|
1474
|
+
error_message: ::String?,
|
|
1475
|
+
error_type: ::String?,
|
|
1476
|
+
error_data: ::String?,
|
|
1477
|
+
stack_trace: Array[::String]?
|
|
1478
|
+
}
|
|
1479
|
+
) -> _SendDurableExecutionCallbackFailureResponseSuccess
|
|
1480
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendDurableExecutionCallbackFailureResponseSuccess
|
|
1481
|
+
|
|
1482
|
+
interface _SendDurableExecutionCallbackHeartbeatResponseSuccess
|
|
1483
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SendDurableExecutionCallbackHeartbeatResponse]
|
|
1484
|
+
end
|
|
1485
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#send_durable_execution_callback_heartbeat-instance_method
|
|
1486
|
+
def send_durable_execution_callback_heartbeat: (
|
|
1487
|
+
callback_id: ::String
|
|
1488
|
+
) -> _SendDurableExecutionCallbackHeartbeatResponseSuccess
|
|
1489
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendDurableExecutionCallbackHeartbeatResponseSuccess
|
|
1490
|
+
|
|
1491
|
+
interface _SendDurableExecutionCallbackSuccessResponseSuccess
|
|
1492
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SendDurableExecutionCallbackSuccessResponse]
|
|
1493
|
+
end
|
|
1494
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#send_durable_execution_callback_success-instance_method
|
|
1495
|
+
def send_durable_execution_callback_success: (
|
|
1496
|
+
callback_id: ::String,
|
|
1497
|
+
?result: ::String
|
|
1498
|
+
) -> _SendDurableExecutionCallbackSuccessResponseSuccess
|
|
1499
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendDurableExecutionCallbackSuccessResponseSuccess
|
|
1500
|
+
|
|
1501
|
+
interface _StopDurableExecutionResponseSuccess
|
|
1502
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopDurableExecutionResponse]
|
|
1503
|
+
def stop_timestamp: () -> ::Time
|
|
1504
|
+
end
|
|
1505
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#stop_durable_execution-instance_method
|
|
1506
|
+
def stop_durable_execution: (
|
|
1507
|
+
durable_execution_arn: ::String,
|
|
1508
|
+
?error: {
|
|
1509
|
+
error_message: ::String?,
|
|
1510
|
+
error_type: ::String?,
|
|
1511
|
+
error_data: ::String?,
|
|
1512
|
+
stack_trace: Array[::String]?
|
|
1513
|
+
}
|
|
1514
|
+
) -> _StopDurableExecutionResponseSuccess
|
|
1515
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopDurableExecutionResponseSuccess
|
|
1516
|
+
|
|
1344
1517
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#tag_resource-instance_method
|
|
1345
1518
|
def tag_resource: (
|
|
1346
1519
|
resource: ::String,
|
|
@@ -1563,7 +1736,7 @@ module Aws
|
|
|
1563
1736
|
def layers: () -> ::Array[Types::Layer]
|
|
1564
1737
|
def state: () -> ("Pending" | "Active" | "Inactive" | "Failed" | "Deactivating" | "Deactivated" | "ActiveNonInvocable" | "Deleting")
|
|
1565
1738
|
def state_reason: () -> ::String
|
|
1566
|
-
def state_reason_code: () -> ("Idle" | "Creating" | "Restoring" | "EniLimitExceeded" | "InsufficientRolePermissions" | "InvalidConfiguration" | "InternalError" | "SubnetOutOfIPAddresses" | "InvalidSubnet" | "InvalidSecurityGroup" | "ImageDeleted" | "ImageAccessDenied" | "InvalidImage" | "KMSKeyAccessDenied" | "KMSKeyNotFound" | "InvalidStateKMSKey" | "DisabledKMSKey" | "EFSIOError" | "EFSMountConnectivityError" | "EFSMountFailure" | "EFSMountTimeout" | "InvalidRuntime" | "InvalidZipFileException" | "FunctionError" | "VcpuLimitExceeded" | "CapacityProviderScalingLimitExceeded" | "InsufficientCapacity" | "EC2RequestLimitExceeded" | "FunctionError.InitTimeout" | "FunctionError.RuntimeInitError" | "FunctionError.ExtensionInitError" | "FunctionError.InvalidEntryPoint" | "FunctionError.InvalidWorkingDirectory" | "FunctionError.PermissionDenied" | "FunctionError.TooManyExtensions" | "FunctionError.InitResourceExhausted")
|
|
1739
|
+
def state_reason_code: () -> ("Idle" | "Creating" | "Restoring" | "EniLimitExceeded" | "InsufficientRolePermissions" | "InvalidConfiguration" | "InternalError" | "SubnetOutOfIPAddresses" | "InvalidSubnet" | "InvalidSecurityGroup" | "ImageDeleted" | "ImageAccessDenied" | "InvalidImage" | "KMSKeyAccessDenied" | "KMSKeyNotFound" | "InvalidStateKMSKey" | "DisabledKMSKey" | "EFSIOError" | "EFSMountConnectivityError" | "EFSMountFailure" | "EFSMountTimeout" | "InvalidRuntime" | "InvalidZipFileException" | "FunctionError" | "DrainingDurableExecutions" | "VcpuLimitExceeded" | "CapacityProviderScalingLimitExceeded" | "InsufficientCapacity" | "EC2RequestLimitExceeded" | "FunctionError.InitTimeout" | "FunctionError.RuntimeInitError" | "FunctionError.ExtensionInitError" | "FunctionError.InvalidEntryPoint" | "FunctionError.InvalidWorkingDirectory" | "FunctionError.PermissionDenied" | "FunctionError.TooManyExtensions" | "FunctionError.InitResourceExhausted")
|
|
1567
1740
|
def last_update_status: () -> ("Successful" | "Failed" | "InProgress")
|
|
1568
1741
|
def last_update_status_reason: () -> ::String
|
|
1569
1742
|
def last_update_status_reason_code: () -> ("EniLimitExceeded" | "InsufficientRolePermissions" | "InvalidConfiguration" | "InternalError" | "SubnetOutOfIPAddresses" | "InvalidSubnet" | "InvalidSecurityGroup" | "ImageDeleted" | "ImageAccessDenied" | "InvalidImage" | "KMSKeyAccessDenied" | "KMSKeyNotFound" | "InvalidStateKMSKey" | "DisabledKMSKey" | "EFSIOError" | "EFSMountConnectivityError" | "EFSMountFailure" | "EFSMountTimeout" | "InvalidRuntime" | "InvalidZipFileException" | "FunctionError" | "VcpuLimitExceeded" | "CapacityProviderScalingLimitExceeded" | "InsufficientCapacity" | "EC2RequestLimitExceeded" | "FunctionError.InitTimeout" | "FunctionError.RuntimeInitError" | "FunctionError.ExtensionInitError" | "FunctionError.InvalidEntryPoint" | "FunctionError.InvalidWorkingDirectory" | "FunctionError.PermissionDenied" | "FunctionError.TooManyExtensions" | "FunctionError.InitResourceExhausted")
|
|
@@ -1579,6 +1752,7 @@ module Aws
|
|
|
1579
1752
|
def logging_config: () -> Types::LoggingConfig
|
|
1580
1753
|
def capacity_provider_config: () -> Types::CapacityProviderConfig
|
|
1581
1754
|
def config_sha_256: () -> ::String
|
|
1755
|
+
def durable_config: () -> Types::DurableConfig
|
|
1582
1756
|
def tenancy_config: () -> Types::TenancyConfig
|
|
1583
1757
|
end
|
|
1584
1758
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#update_function_code-instance_method
|
|
@@ -1622,7 +1796,7 @@ module Aws
|
|
|
1622
1796
|
def layers: () -> ::Array[Types::Layer]
|
|
1623
1797
|
def state: () -> ("Pending" | "Active" | "Inactive" | "Failed" | "Deactivating" | "Deactivated" | "ActiveNonInvocable" | "Deleting")
|
|
1624
1798
|
def state_reason: () -> ::String
|
|
1625
|
-
def state_reason_code: () -> ("Idle" | "Creating" | "Restoring" | "EniLimitExceeded" | "InsufficientRolePermissions" | "InvalidConfiguration" | "InternalError" | "SubnetOutOfIPAddresses" | "InvalidSubnet" | "InvalidSecurityGroup" | "ImageDeleted" | "ImageAccessDenied" | "InvalidImage" | "KMSKeyAccessDenied" | "KMSKeyNotFound" | "InvalidStateKMSKey" | "DisabledKMSKey" | "EFSIOError" | "EFSMountConnectivityError" | "EFSMountFailure" | "EFSMountTimeout" | "InvalidRuntime" | "InvalidZipFileException" | "FunctionError" | "VcpuLimitExceeded" | "CapacityProviderScalingLimitExceeded" | "InsufficientCapacity" | "EC2RequestLimitExceeded" | "FunctionError.InitTimeout" | "FunctionError.RuntimeInitError" | "FunctionError.ExtensionInitError" | "FunctionError.InvalidEntryPoint" | "FunctionError.InvalidWorkingDirectory" | "FunctionError.PermissionDenied" | "FunctionError.TooManyExtensions" | "FunctionError.InitResourceExhausted")
|
|
1799
|
+
def state_reason_code: () -> ("Idle" | "Creating" | "Restoring" | "EniLimitExceeded" | "InsufficientRolePermissions" | "InvalidConfiguration" | "InternalError" | "SubnetOutOfIPAddresses" | "InvalidSubnet" | "InvalidSecurityGroup" | "ImageDeleted" | "ImageAccessDenied" | "InvalidImage" | "KMSKeyAccessDenied" | "KMSKeyNotFound" | "InvalidStateKMSKey" | "DisabledKMSKey" | "EFSIOError" | "EFSMountConnectivityError" | "EFSMountFailure" | "EFSMountTimeout" | "InvalidRuntime" | "InvalidZipFileException" | "FunctionError" | "DrainingDurableExecutions" | "VcpuLimitExceeded" | "CapacityProviderScalingLimitExceeded" | "InsufficientCapacity" | "EC2RequestLimitExceeded" | "FunctionError.InitTimeout" | "FunctionError.RuntimeInitError" | "FunctionError.ExtensionInitError" | "FunctionError.InvalidEntryPoint" | "FunctionError.InvalidWorkingDirectory" | "FunctionError.PermissionDenied" | "FunctionError.TooManyExtensions" | "FunctionError.InitResourceExhausted")
|
|
1626
1800
|
def last_update_status: () -> ("Successful" | "Failed" | "InProgress")
|
|
1627
1801
|
def last_update_status_reason: () -> ::String
|
|
1628
1802
|
def last_update_status_reason_code: () -> ("EniLimitExceeded" | "InsufficientRolePermissions" | "InvalidConfiguration" | "InternalError" | "SubnetOutOfIPAddresses" | "InvalidSubnet" | "InvalidSecurityGroup" | "ImageDeleted" | "ImageAccessDenied" | "InvalidImage" | "KMSKeyAccessDenied" | "KMSKeyNotFound" | "InvalidStateKMSKey" | "DisabledKMSKey" | "EFSIOError" | "EFSMountConnectivityError" | "EFSMountFailure" | "EFSMountTimeout" | "InvalidRuntime" | "InvalidZipFileException" | "FunctionError" | "VcpuLimitExceeded" | "CapacityProviderScalingLimitExceeded" | "InsufficientCapacity" | "EC2RequestLimitExceeded" | "FunctionError.InitTimeout" | "FunctionError.RuntimeInitError" | "FunctionError.ExtensionInitError" | "FunctionError.InvalidEntryPoint" | "FunctionError.InvalidWorkingDirectory" | "FunctionError.PermissionDenied" | "FunctionError.TooManyExtensions" | "FunctionError.InitResourceExhausted")
|
|
@@ -1638,6 +1812,7 @@ module Aws
|
|
|
1638
1812
|
def logging_config: () -> Types::LoggingConfig
|
|
1639
1813
|
def capacity_provider_config: () -> Types::CapacityProviderConfig
|
|
1640
1814
|
def config_sha_256: () -> ::String
|
|
1815
|
+
def durable_config: () -> Types::DurableConfig
|
|
1641
1816
|
def tenancy_config: () -> Types::TenancyConfig
|
|
1642
1817
|
end
|
|
1643
1818
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#update_function_configuration-instance_method
|
|
@@ -1695,6 +1870,10 @@ module Aws
|
|
|
1695
1870
|
per_execution_environment_max_concurrency: ::Integer?,
|
|
1696
1871
|
execution_environment_memory_gi_b_per_v_cpu: ::Float?
|
|
1697
1872
|
}
|
|
1873
|
+
},
|
|
1874
|
+
?durable_config: {
|
|
1875
|
+
retention_period_in_days: ::Integer?,
|
|
1876
|
+
execution_timeout: ::Integer?
|
|
1698
1877
|
}
|
|
1699
1878
|
) -> _UpdateFunctionConfigurationResponseSuccess
|
|
1700
1879
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFunctionConfigurationResponseSuccess
|
data/sig/errors.rbs
CHANGED
|
@@ -11,6 +11,10 @@ module Aws
|
|
|
11
11
|
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
class CallbackTimeoutException < ::Aws::Errors::ServiceError
|
|
15
|
+
def type: () -> ::String
|
|
16
|
+
def message: () -> ::String
|
|
17
|
+
end
|
|
14
18
|
class CapacityProviderLimitExceededException < ::Aws::Errors::ServiceError
|
|
15
19
|
def type: () -> ::String
|
|
16
20
|
def message: () -> ::String
|
|
@@ -27,6 +31,10 @@ module Aws
|
|
|
27
31
|
def type: () -> ::String
|
|
28
32
|
def message: () -> ::String
|
|
29
33
|
end
|
|
34
|
+
class DurableExecutionAlreadyStartedException < ::Aws::Errors::ServiceError
|
|
35
|
+
def type: () -> ::String
|
|
36
|
+
def message: () -> ::String
|
|
37
|
+
end
|
|
30
38
|
class EC2AccessDeniedException < ::Aws::Errors::ServiceError
|
|
31
39
|
def type: () -> ::String
|
|
32
40
|
def message: () -> ::String
|