aws-sdk-lambda 1.167.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +1368 -70
- data/lib/aws-sdk-lambda/client_api.rb +930 -33
- data/lib/aws-sdk-lambda/errors.rb +105 -0
- data/lib/aws-sdk-lambda/types.rb +2526 -110
- data/lib/aws-sdk-lambda.rb +1 -1
- data/sig/client.rbs +358 -19
- data/sig/errors.rbs +20 -0
- data/sig/types.rbs +658 -3
- 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
|
|
@@ -140,6 +187,40 @@ module Aws
|
|
|
140
187
|
) -> _CreateAliasResponseSuccess
|
|
141
188
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAliasResponseSuccess
|
|
142
189
|
|
|
190
|
+
interface _CreateCapacityProviderResponseSuccess
|
|
191
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateCapacityProviderResponse]
|
|
192
|
+
def capacity_provider: () -> Types::CapacityProvider
|
|
193
|
+
end
|
|
194
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#create_capacity_provider-instance_method
|
|
195
|
+
def create_capacity_provider: (
|
|
196
|
+
capacity_provider_name: ::String,
|
|
197
|
+
vpc_config: {
|
|
198
|
+
subnet_ids: Array[::String],
|
|
199
|
+
security_group_ids: Array[::String]
|
|
200
|
+
},
|
|
201
|
+
permissions_config: {
|
|
202
|
+
capacity_provider_operator_role_arn: ::String
|
|
203
|
+
},
|
|
204
|
+
?instance_requirements: {
|
|
205
|
+
architectures: Array[("x86_64" | "arm64")]?,
|
|
206
|
+
allowed_instance_types: Array[::String]?,
|
|
207
|
+
excluded_instance_types: Array[::String]?
|
|
208
|
+
},
|
|
209
|
+
?capacity_provider_scaling_config: {
|
|
210
|
+
max_v_cpu_count: ::Integer?,
|
|
211
|
+
scaling_mode: ("Auto" | "Manual")?,
|
|
212
|
+
scaling_policies: Array[
|
|
213
|
+
{
|
|
214
|
+
predefined_metric_type: ("LambdaCapacityProviderAverageCPUUtilization"),
|
|
215
|
+
target_value: ::Float
|
|
216
|
+
},
|
|
217
|
+
]?
|
|
218
|
+
},
|
|
219
|
+
?kms_key_arn: ::String,
|
|
220
|
+
?tags: Hash[::String, ::String]
|
|
221
|
+
) -> _CreateCapacityProviderResponseSuccess
|
|
222
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCapacityProviderResponseSuccess
|
|
223
|
+
|
|
143
224
|
interface _CreateCodeSigningConfigResponseSuccess
|
|
144
225
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateCodeSigningConfigResponse]
|
|
145
226
|
def code_signing_config: () -> Types::CodeSigningConfig
|
|
@@ -312,12 +393,12 @@ module Aws
|
|
|
312
393
|
def master_arn: () -> ::String
|
|
313
394
|
def revision_id: () -> ::String
|
|
314
395
|
def layers: () -> ::Array[Types::Layer]
|
|
315
|
-
def state: () -> ("Pending" | "Active" | "Inactive" | "Failed")
|
|
396
|
+
def state: () -> ("Pending" | "Active" | "Inactive" | "Failed" | "Deactivating" | "Deactivated" | "ActiveNonInvocable" | "Deleting")
|
|
316
397
|
def state_reason: () -> ::String
|
|
317
|
-
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")
|
|
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")
|
|
318
399
|
def last_update_status: () -> ("Successful" | "Failed" | "InProgress")
|
|
319
400
|
def last_update_status_reason: () -> ::String
|
|
320
|
-
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")
|
|
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")
|
|
321
402
|
def file_system_configs: () -> ::Array[Types::FileSystemConfig]
|
|
322
403
|
def package_type: () -> ("Zip" | "Image")
|
|
323
404
|
def image_config_response: () -> Types::ImageConfigResponse
|
|
@@ -328,6 +409,9 @@ module Aws
|
|
|
328
409
|
def snap_start: () -> Types::SnapStartResponse
|
|
329
410
|
def runtime_version_config: () -> Types::RuntimeVersionConfig
|
|
330
411
|
def logging_config: () -> Types::LoggingConfig
|
|
412
|
+
def capacity_provider_config: () -> Types::CapacityProviderConfig
|
|
413
|
+
def config_sha_256: () -> ::String
|
|
414
|
+
def durable_config: () -> Types::DurableConfig
|
|
331
415
|
def tenancy_config: () -> Types::TenancyConfig
|
|
332
416
|
end
|
|
333
417
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#create_function-instance_method
|
|
@@ -391,6 +475,18 @@ module Aws
|
|
|
391
475
|
system_log_level: ("DEBUG" | "INFO" | "WARN")?,
|
|
392
476
|
log_group: ::String?
|
|
393
477
|
},
|
|
478
|
+
?capacity_provider_config: {
|
|
479
|
+
lambda_managed_instances_capacity_provider_config: {
|
|
480
|
+
capacity_provider_arn: ::String,
|
|
481
|
+
per_execution_environment_max_concurrency: ::Integer?,
|
|
482
|
+
execution_environment_memory_gi_b_per_v_cpu: ::Float?
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
?publish_to: ("LATEST_PUBLISHED"),
|
|
486
|
+
?durable_config: {
|
|
487
|
+
retention_period_in_days: ::Integer?,
|
|
488
|
+
execution_timeout: ::Integer?
|
|
489
|
+
},
|
|
394
490
|
?tenancy_config: {
|
|
395
491
|
tenant_isolation_mode: ("PER_TENANT")
|
|
396
492
|
}
|
|
@@ -430,6 +526,16 @@ module Aws
|
|
|
430
526
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
431
527
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
432
528
|
|
|
529
|
+
interface _DeleteCapacityProviderResponseSuccess
|
|
530
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCapacityProviderResponse]
|
|
531
|
+
def capacity_provider: () -> Types::CapacityProvider
|
|
532
|
+
end
|
|
533
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#delete_capacity_provider-instance_method
|
|
534
|
+
def delete_capacity_provider: (
|
|
535
|
+
capacity_provider_name: ::String
|
|
536
|
+
) -> _DeleteCapacityProviderResponseSuccess
|
|
537
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCapacityProviderResponseSuccess
|
|
538
|
+
|
|
433
539
|
interface _DeleteCodeSigningConfigResponseSuccess
|
|
434
540
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCodeSigningConfigResponse]
|
|
435
541
|
end
|
|
@@ -480,12 +586,16 @@ module Aws
|
|
|
480
586
|
) -> _DeleteEventSourceMappingResponseSuccess
|
|
481
587
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEventSourceMappingResponseSuccess
|
|
482
588
|
|
|
589
|
+
interface _DeleteFunctionResponseSuccess
|
|
590
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFunctionResponse]
|
|
591
|
+
def status_code: () -> ::Integer
|
|
592
|
+
end
|
|
483
593
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#delete_function-instance_method
|
|
484
594
|
def delete_function: (
|
|
485
595
|
function_name: ::String,
|
|
486
596
|
?qualifier: ::String
|
|
487
|
-
) ->
|
|
488
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ->
|
|
597
|
+
) -> _DeleteFunctionResponseSuccess
|
|
598
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFunctionResponseSuccess
|
|
489
599
|
|
|
490
600
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#delete_function_code_signing_config-instance_method
|
|
491
601
|
def delete_function_code_signing_config: (
|
|
@@ -553,6 +663,16 @@ module Aws
|
|
|
553
663
|
) -> _GetAliasResponseSuccess
|
|
554
664
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAliasResponseSuccess
|
|
555
665
|
|
|
666
|
+
interface _GetCapacityProviderResponseSuccess
|
|
667
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetCapacityProviderResponse]
|
|
668
|
+
def capacity_provider: () -> Types::CapacityProvider
|
|
669
|
+
end
|
|
670
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_capacity_provider-instance_method
|
|
671
|
+
def get_capacity_provider: (
|
|
672
|
+
capacity_provider_name: ::String
|
|
673
|
+
) -> _GetCapacityProviderResponseSuccess
|
|
674
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCapacityProviderResponseSuccess
|
|
675
|
+
|
|
556
676
|
interface _GetCodeSigningConfigResponseSuccess
|
|
557
677
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetCodeSigningConfigResponse]
|
|
558
678
|
def code_signing_config: () -> Types::CodeSigningConfig
|
|
@@ -563,6 +683,54 @@ module Aws
|
|
|
563
683
|
) -> _GetCodeSigningConfigResponseSuccess
|
|
564
684
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCodeSigningConfigResponseSuccess
|
|
565
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
|
+
|
|
566
734
|
interface _GetEventSourceMappingResponseSuccess
|
|
567
735
|
include ::Seahorse::Client::_ResponseSuccess[Types::EventSourceMappingConfiguration]
|
|
568
736
|
def uuid: () -> ::String
|
|
@@ -662,12 +830,12 @@ module Aws
|
|
|
662
830
|
def master_arn: () -> ::String
|
|
663
831
|
def revision_id: () -> ::String
|
|
664
832
|
def layers: () -> ::Array[Types::Layer]
|
|
665
|
-
def state: () -> ("Pending" | "Active" | "Inactive" | "Failed")
|
|
833
|
+
def state: () -> ("Pending" | "Active" | "Inactive" | "Failed" | "Deactivating" | "Deactivated" | "ActiveNonInvocable" | "Deleting")
|
|
666
834
|
def state_reason: () -> ::String
|
|
667
|
-
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")
|
|
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")
|
|
668
836
|
def last_update_status: () -> ("Successful" | "Failed" | "InProgress")
|
|
669
837
|
def last_update_status_reason: () -> ::String
|
|
670
|
-
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")
|
|
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")
|
|
671
839
|
def file_system_configs: () -> ::Array[Types::FileSystemConfig]
|
|
672
840
|
def package_type: () -> ("Zip" | "Image")
|
|
673
841
|
def image_config_response: () -> Types::ImageConfigResponse
|
|
@@ -678,6 +846,9 @@ module Aws
|
|
|
678
846
|
def snap_start: () -> Types::SnapStartResponse
|
|
679
847
|
def runtime_version_config: () -> Types::RuntimeVersionConfig
|
|
680
848
|
def logging_config: () -> Types::LoggingConfig
|
|
849
|
+
def capacity_provider_config: () -> Types::CapacityProviderConfig
|
|
850
|
+
def config_sha_256: () -> ::String
|
|
851
|
+
def durable_config: () -> Types::DurableConfig
|
|
681
852
|
def tenancy_config: () -> Types::TenancyConfig
|
|
682
853
|
end
|
|
683
854
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_function_configuration-instance_method
|
|
@@ -712,6 +883,19 @@ module Aws
|
|
|
712
883
|
) -> _GetFunctionRecursionConfigResponseSuccess
|
|
713
884
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFunctionRecursionConfigResponseSuccess
|
|
714
885
|
|
|
886
|
+
interface _GetFunctionScalingConfigResponseSuccess
|
|
887
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetFunctionScalingConfigResponse]
|
|
888
|
+
def function_arn: () -> ::String
|
|
889
|
+
def applied_function_scaling_config: () -> Types::FunctionScalingConfig
|
|
890
|
+
def requested_function_scaling_config: () -> Types::FunctionScalingConfig
|
|
891
|
+
end
|
|
892
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_function_scaling_config-instance_method
|
|
893
|
+
def get_function_scaling_config: (
|
|
894
|
+
function_name: ::String,
|
|
895
|
+
qualifier: ::String
|
|
896
|
+
) -> _GetFunctionScalingConfigResponseSuccess
|
|
897
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFunctionScalingConfigResponseSuccess
|
|
898
|
+
|
|
715
899
|
interface _GetFunctionUrlConfigResponseSuccess
|
|
716
900
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetFunctionUrlConfigResponse]
|
|
717
901
|
def function_url: () -> ::String
|
|
@@ -826,6 +1010,7 @@ module Aws
|
|
|
826
1010
|
def log_result: () -> ::String
|
|
827
1011
|
def payload: () -> ::String
|
|
828
1012
|
def executed_version: () -> ::String
|
|
1013
|
+
def durable_execution_arn: () -> ::String
|
|
829
1014
|
end
|
|
830
1015
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#invoke-instance_method
|
|
831
1016
|
def invoke: (
|
|
@@ -833,6 +1018,7 @@ module Aws
|
|
|
833
1018
|
?invocation_type: ("Event" | "RequestResponse" | "DryRun"),
|
|
834
1019
|
?log_type: ("None" | "Tail"),
|
|
835
1020
|
?client_context: ::String,
|
|
1021
|
+
?durable_execution_name: ::String,
|
|
836
1022
|
?payload: ::String,
|
|
837
1023
|
?qualifier: ::String,
|
|
838
1024
|
?tenant_id: ::String
|
|
@@ -883,6 +1069,19 @@ module Aws
|
|
|
883
1069
|
) -> _ListAliasesResponseSuccess
|
|
884
1070
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAliasesResponseSuccess
|
|
885
1071
|
|
|
1072
|
+
interface _ListCapacityProvidersResponseSuccess
|
|
1073
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListCapacityProvidersResponse]
|
|
1074
|
+
def capacity_providers: () -> ::Array[Types::CapacityProvider]
|
|
1075
|
+
def next_marker: () -> ::String
|
|
1076
|
+
end
|
|
1077
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#list_capacity_providers-instance_method
|
|
1078
|
+
def list_capacity_providers: (
|
|
1079
|
+
?state: ("Pending" | "Active" | "Failed" | "Deleting"),
|
|
1080
|
+
?marker: ::String,
|
|
1081
|
+
?max_items: ::Integer
|
|
1082
|
+
) -> _ListCapacityProvidersResponseSuccess
|
|
1083
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCapacityProvidersResponseSuccess
|
|
1084
|
+
|
|
886
1085
|
interface _ListCodeSigningConfigsResponseSuccess
|
|
887
1086
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListCodeSigningConfigsResponse]
|
|
888
1087
|
def next_marker: () -> ::String
|
|
@@ -895,6 +1094,25 @@ module Aws
|
|
|
895
1094
|
) -> _ListCodeSigningConfigsResponseSuccess
|
|
896
1095
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCodeSigningConfigsResponseSuccess
|
|
897
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
|
+
|
|
898
1116
|
interface _ListEventSourceMappingsResponseSuccess
|
|
899
1117
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListEventSourceMappingsResponse]
|
|
900
1118
|
def next_marker: () -> ::String
|
|
@@ -935,6 +1153,20 @@ module Aws
|
|
|
935
1153
|
) -> _ListFunctionUrlConfigsResponseSuccess
|
|
936
1154
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFunctionUrlConfigsResponseSuccess
|
|
937
1155
|
|
|
1156
|
+
interface _ListFunctionVersionsByCapacityProviderResponseSuccess
|
|
1157
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListFunctionVersionsByCapacityProviderResponse]
|
|
1158
|
+
def capacity_provider_arn: () -> ::String
|
|
1159
|
+
def function_versions: () -> ::Array[Types::FunctionVersionsByCapacityProviderListItem]
|
|
1160
|
+
def next_marker: () -> ::String
|
|
1161
|
+
end
|
|
1162
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#list_function_versions_by_capacity_provider-instance_method
|
|
1163
|
+
def list_function_versions_by_capacity_provider: (
|
|
1164
|
+
capacity_provider_name: ::String,
|
|
1165
|
+
?marker: ::String,
|
|
1166
|
+
?max_items: ::Integer
|
|
1167
|
+
) -> _ListFunctionVersionsByCapacityProviderResponseSuccess
|
|
1168
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFunctionVersionsByCapacityProviderResponseSuccess
|
|
1169
|
+
|
|
938
1170
|
interface _ListFunctionsResponseSuccess
|
|
939
1171
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListFunctionsResponse]
|
|
940
1172
|
def next_marker: () -> ::String
|
|
@@ -1077,12 +1309,12 @@ module Aws
|
|
|
1077
1309
|
def master_arn: () -> ::String
|
|
1078
1310
|
def revision_id: () -> ::String
|
|
1079
1311
|
def layers: () -> ::Array[Types::Layer]
|
|
1080
|
-
def state: () -> ("Pending" | "Active" | "Inactive" | "Failed")
|
|
1312
|
+
def state: () -> ("Pending" | "Active" | "Inactive" | "Failed" | "Deactivating" | "Deactivated" | "ActiveNonInvocable" | "Deleting")
|
|
1081
1313
|
def state_reason: () -> ::String
|
|
1082
|
-
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")
|
|
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")
|
|
1083
1315
|
def last_update_status: () -> ("Successful" | "Failed" | "InProgress")
|
|
1084
1316
|
def last_update_status_reason: () -> ::String
|
|
1085
|
-
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")
|
|
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")
|
|
1086
1318
|
def file_system_configs: () -> ::Array[Types::FileSystemConfig]
|
|
1087
1319
|
def package_type: () -> ("Zip" | "Image")
|
|
1088
1320
|
def image_config_response: () -> Types::ImageConfigResponse
|
|
@@ -1093,6 +1325,9 @@ module Aws
|
|
|
1093
1325
|
def snap_start: () -> Types::SnapStartResponse
|
|
1094
1326
|
def runtime_version_config: () -> Types::RuntimeVersionConfig
|
|
1095
1327
|
def logging_config: () -> Types::LoggingConfig
|
|
1328
|
+
def capacity_provider_config: () -> Types::CapacityProviderConfig
|
|
1329
|
+
def config_sha_256: () -> ::String
|
|
1330
|
+
def durable_config: () -> Types::DurableConfig
|
|
1096
1331
|
def tenancy_config: () -> Types::TenancyConfig
|
|
1097
1332
|
end
|
|
1098
1333
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#publish_version-instance_method
|
|
@@ -1100,7 +1335,8 @@ module Aws
|
|
|
1100
1335
|
function_name: ::String,
|
|
1101
1336
|
?code_sha_256: ::String,
|
|
1102
1337
|
?description: ::String,
|
|
1103
|
-
?revision_id: ::String
|
|
1338
|
+
?revision_id: ::String,
|
|
1339
|
+
?publish_to: ("LATEST_PUBLISHED")
|
|
1104
1340
|
) -> _PublishVersionResponseSuccess
|
|
1105
1341
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PublishVersionResponseSuccess
|
|
1106
1342
|
|
|
@@ -1163,6 +1399,21 @@ module Aws
|
|
|
1163
1399
|
) -> _PutFunctionRecursionConfigResponseSuccess
|
|
1164
1400
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutFunctionRecursionConfigResponseSuccess
|
|
1165
1401
|
|
|
1402
|
+
interface _PutFunctionScalingConfigResponseSuccess
|
|
1403
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutFunctionScalingConfigResponse]
|
|
1404
|
+
def function_state: () -> ("Pending" | "Active" | "Inactive" | "Failed" | "Deactivating" | "Deactivated" | "ActiveNonInvocable" | "Deleting")
|
|
1405
|
+
end
|
|
1406
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#put_function_scaling_config-instance_method
|
|
1407
|
+
def put_function_scaling_config: (
|
|
1408
|
+
function_name: ::String,
|
|
1409
|
+
qualifier: ::String,
|
|
1410
|
+
?function_scaling_config: {
|
|
1411
|
+
min_execution_environments: ::Integer?,
|
|
1412
|
+
max_execution_environments: ::Integer?
|
|
1413
|
+
}
|
|
1414
|
+
) -> _PutFunctionScalingConfigResponseSuccess
|
|
1415
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutFunctionScalingConfigResponseSuccess
|
|
1416
|
+
|
|
1166
1417
|
interface _PutProvisionedConcurrencyConfigResponseSuccess
|
|
1167
1418
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutProvisionedConcurrencyConfigResponse]
|
|
1168
1419
|
def requested_provisioned_concurrent_executions: () -> ::Integer
|
|
@@ -1213,6 +1464,56 @@ module Aws
|
|
|
1213
1464
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1214
1465
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1215
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
|
+
|
|
1216
1517
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#tag_resource-instance_method
|
|
1217
1518
|
def tag_resource: (
|
|
1218
1519
|
resource: ::String,
|
|
@@ -1249,6 +1550,26 @@ module Aws
|
|
|
1249
1550
|
) -> _UpdateAliasResponseSuccess
|
|
1250
1551
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAliasResponseSuccess
|
|
1251
1552
|
|
|
1553
|
+
interface _UpdateCapacityProviderResponseSuccess
|
|
1554
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCapacityProviderResponse]
|
|
1555
|
+
def capacity_provider: () -> Types::CapacityProvider
|
|
1556
|
+
end
|
|
1557
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#update_capacity_provider-instance_method
|
|
1558
|
+
def update_capacity_provider: (
|
|
1559
|
+
capacity_provider_name: ::String,
|
|
1560
|
+
?capacity_provider_scaling_config: {
|
|
1561
|
+
max_v_cpu_count: ::Integer?,
|
|
1562
|
+
scaling_mode: ("Auto" | "Manual")?,
|
|
1563
|
+
scaling_policies: Array[
|
|
1564
|
+
{
|
|
1565
|
+
predefined_metric_type: ("LambdaCapacityProviderAverageCPUUtilization"),
|
|
1566
|
+
target_value: ::Float
|
|
1567
|
+
},
|
|
1568
|
+
]?
|
|
1569
|
+
}
|
|
1570
|
+
) -> _UpdateCapacityProviderResponseSuccess
|
|
1571
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCapacityProviderResponseSuccess
|
|
1572
|
+
|
|
1252
1573
|
interface _UpdateCodeSigningConfigResponseSuccess
|
|
1253
1574
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCodeSigningConfigResponse]
|
|
1254
1575
|
def code_signing_config: () -> Types::CodeSigningConfig
|
|
@@ -1413,12 +1734,12 @@ module Aws
|
|
|
1413
1734
|
def master_arn: () -> ::String
|
|
1414
1735
|
def revision_id: () -> ::String
|
|
1415
1736
|
def layers: () -> ::Array[Types::Layer]
|
|
1416
|
-
def state: () -> ("Pending" | "Active" | "Inactive" | "Failed")
|
|
1737
|
+
def state: () -> ("Pending" | "Active" | "Inactive" | "Failed" | "Deactivating" | "Deactivated" | "ActiveNonInvocable" | "Deleting")
|
|
1417
1738
|
def state_reason: () -> ::String
|
|
1418
|
-
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")
|
|
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")
|
|
1419
1740
|
def last_update_status: () -> ("Successful" | "Failed" | "InProgress")
|
|
1420
1741
|
def last_update_status_reason: () -> ::String
|
|
1421
|
-
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")
|
|
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")
|
|
1422
1743
|
def file_system_configs: () -> ::Array[Types::FileSystemConfig]
|
|
1423
1744
|
def package_type: () -> ("Zip" | "Image")
|
|
1424
1745
|
def image_config_response: () -> Types::ImageConfigResponse
|
|
@@ -1429,6 +1750,9 @@ module Aws
|
|
|
1429
1750
|
def snap_start: () -> Types::SnapStartResponse
|
|
1430
1751
|
def runtime_version_config: () -> Types::RuntimeVersionConfig
|
|
1431
1752
|
def logging_config: () -> Types::LoggingConfig
|
|
1753
|
+
def capacity_provider_config: () -> Types::CapacityProviderConfig
|
|
1754
|
+
def config_sha_256: () -> ::String
|
|
1755
|
+
def durable_config: () -> Types::DurableConfig
|
|
1432
1756
|
def tenancy_config: () -> Types::TenancyConfig
|
|
1433
1757
|
end
|
|
1434
1758
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#update_function_code-instance_method
|
|
@@ -1443,7 +1767,8 @@ module Aws
|
|
|
1443
1767
|
?dry_run: bool,
|
|
1444
1768
|
?revision_id: ::String,
|
|
1445
1769
|
?architectures: Array[("x86_64" | "arm64")],
|
|
1446
|
-
?source_kms_key_arn: ::String
|
|
1770
|
+
?source_kms_key_arn: ::String,
|
|
1771
|
+
?publish_to: ("LATEST_PUBLISHED")
|
|
1447
1772
|
) -> _UpdateFunctionCodeResponseSuccess
|
|
1448
1773
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFunctionCodeResponseSuccess
|
|
1449
1774
|
|
|
@@ -1469,12 +1794,12 @@ module Aws
|
|
|
1469
1794
|
def master_arn: () -> ::String
|
|
1470
1795
|
def revision_id: () -> ::String
|
|
1471
1796
|
def layers: () -> ::Array[Types::Layer]
|
|
1472
|
-
def state: () -> ("Pending" | "Active" | "Inactive" | "Failed")
|
|
1797
|
+
def state: () -> ("Pending" | "Active" | "Inactive" | "Failed" | "Deactivating" | "Deactivated" | "ActiveNonInvocable" | "Deleting")
|
|
1473
1798
|
def state_reason: () -> ::String
|
|
1474
|
-
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")
|
|
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")
|
|
1475
1800
|
def last_update_status: () -> ("Successful" | "Failed" | "InProgress")
|
|
1476
1801
|
def last_update_status_reason: () -> ::String
|
|
1477
|
-
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")
|
|
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")
|
|
1478
1803
|
def file_system_configs: () -> ::Array[Types::FileSystemConfig]
|
|
1479
1804
|
def package_type: () -> ("Zip" | "Image")
|
|
1480
1805
|
def image_config_response: () -> Types::ImageConfigResponse
|
|
@@ -1485,6 +1810,9 @@ module Aws
|
|
|
1485
1810
|
def snap_start: () -> Types::SnapStartResponse
|
|
1486
1811
|
def runtime_version_config: () -> Types::RuntimeVersionConfig
|
|
1487
1812
|
def logging_config: () -> Types::LoggingConfig
|
|
1813
|
+
def capacity_provider_config: () -> Types::CapacityProviderConfig
|
|
1814
|
+
def config_sha_256: () -> ::String
|
|
1815
|
+
def durable_config: () -> Types::DurableConfig
|
|
1488
1816
|
def tenancy_config: () -> Types::TenancyConfig
|
|
1489
1817
|
end
|
|
1490
1818
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#update_function_configuration-instance_method
|
|
@@ -1535,6 +1863,17 @@ module Aws
|
|
|
1535
1863
|
application_log_level: ("TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR" | "FATAL")?,
|
|
1536
1864
|
system_log_level: ("DEBUG" | "INFO" | "WARN")?,
|
|
1537
1865
|
log_group: ::String?
|
|
1866
|
+
},
|
|
1867
|
+
?capacity_provider_config: {
|
|
1868
|
+
lambda_managed_instances_capacity_provider_config: {
|
|
1869
|
+
capacity_provider_arn: ::String,
|
|
1870
|
+
per_execution_environment_max_concurrency: ::Integer?,
|
|
1871
|
+
execution_environment_memory_gi_b_per_v_cpu: ::Float?
|
|
1872
|
+
}
|
|
1873
|
+
},
|
|
1874
|
+
?durable_config: {
|
|
1875
|
+
retention_period_in_days: ::Integer?,
|
|
1876
|
+
execution_timeout: ::Integer?
|
|
1538
1877
|
}
|
|
1539
1878
|
) -> _UpdateFunctionConfigurationResponseSuccess
|
|
1540
1879
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFunctionConfigurationResponseSuccess
|