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.
@@ -681,14 +681,8 @@ module Aws::Lambda
681
681
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
682
682
  #
683
683
  # @option params [Boolean] :invoked_via_function_url
684
- # Restricts the `lambda:InvokeFunction` action to function URL calls.
685
- # When specified, this option prevents the principal from invoking the
686
- # function by any means other than the function URL. For more
687
- # information, see [Control access to Lambda function URLs][1].
688
- #
689
- #
690
- #
691
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
684
+ # Indicates whether the permission applies when the function is invoked
685
+ # through a function URL.
692
686
  #
693
687
  # @return [Types::AddPermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
694
688
  #
@@ -733,14 +727,14 @@ module Aws::Lambda
733
727
  # @example Request syntax with placeholder values
734
728
  #
735
729
  # resp = client.add_permission({
736
- # function_name: "FunctionName", # required
730
+ # function_name: "NamespacedFunctionName", # required
737
731
  # statement_id: "StatementId", # required
738
732
  # action: "Action", # required
739
733
  # principal: "Principal", # required
740
734
  # source_arn: "Arn",
741
735
  # source_account: "SourceOwner",
742
736
  # event_source_token: "EventSourceToken",
743
- # qualifier: "Qualifier",
737
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
744
738
  # revision_id: "String",
745
739
  # principal_org_id: "PrincipalOrgID",
746
740
  # function_url_auth_type: "NONE", # accepts NONE, AWS_IAM
@@ -760,6 +754,144 @@ module Aws::Lambda
760
754
  req.send_request(options)
761
755
  end
762
756
 
757
+ # Saves the progress of a [durable function][1] execution during
758
+ # runtime. This API is used by the Lambda durable functions SDK to
759
+ # checkpoint completed steps and schedule asynchronous operations. You
760
+ # typically don't need to call this API directly as the SDK handles
761
+ # checkpointing automatically.
762
+ #
763
+ # Each checkpoint operation consumes the current checkpoint token and
764
+ # returns a new one for the next checkpoint. This ensures that
765
+ # checkpoints are applied in the correct order and prevents duplicate or
766
+ # out-of-order state updates.
767
+ #
768
+ #
769
+ #
770
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
771
+ #
772
+ # @option params [required, String] :durable_execution_arn
773
+ # The Amazon Resource Name (ARN) of the durable execution.
774
+ #
775
+ # @option params [required, String] :checkpoint_token
776
+ # A unique token that identifies the current checkpoint state. This
777
+ # token is provided by the Lambda runtime and must be used to ensure
778
+ # checkpoints are applied in the correct order. Each checkpoint
779
+ # operation consumes this token and returns a new one.
780
+ #
781
+ # @option params [Array<Types::OperationUpdate>] :updates
782
+ # An array of state updates to apply during this checkpoint. Each update
783
+ # represents a change to the execution state, such as completing a step,
784
+ # starting a callback, or scheduling a timer. Updates are applied
785
+ # atomically as part of the checkpoint operation.
786
+ #
787
+ # @option params [String] :client_token
788
+ # An optional idempotency token to ensure that duplicate checkpoint
789
+ # requests are handled correctly. If provided, Lambda uses this token to
790
+ # detect and handle duplicate requests within a 15-minute window.
791
+ #
792
+ # **A suitable default value is auto-generated.** You should normally
793
+ # not need to pass this option.**
794
+ #
795
+ # @return [Types::CheckpointDurableExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
796
+ #
797
+ # * {Types::CheckpointDurableExecutionResponse#checkpoint_token #checkpoint_token} => String
798
+ # * {Types::CheckpointDurableExecutionResponse#new_execution_state #new_execution_state} => Types::CheckpointUpdatedExecutionState
799
+ #
800
+ # @example Request syntax with placeholder values
801
+ #
802
+ # resp = client.checkpoint_durable_execution({
803
+ # durable_execution_arn: "DurableExecutionArn", # required
804
+ # checkpoint_token: "CheckpointToken", # required
805
+ # updates: [
806
+ # {
807
+ # id: "OperationId", # required
808
+ # parent_id: "OperationId",
809
+ # name: "OperationName",
810
+ # type: "EXECUTION", # required, accepts EXECUTION, CONTEXT, STEP, WAIT, CALLBACK, CHAINED_INVOKE
811
+ # sub_type: "OperationSubType",
812
+ # action: "START", # required, accepts START, SUCCEED, FAIL, RETRY, CANCEL
813
+ # payload: "OperationPayload",
814
+ # error: {
815
+ # error_message: "ErrorMessage",
816
+ # error_type: "ErrorType",
817
+ # error_data: "ErrorData",
818
+ # stack_trace: ["StackTraceEntry"],
819
+ # },
820
+ # context_options: {
821
+ # replay_children: false,
822
+ # },
823
+ # step_options: {
824
+ # next_attempt_delay_seconds: 1,
825
+ # },
826
+ # wait_options: {
827
+ # wait_seconds: 1,
828
+ # },
829
+ # callback_options: {
830
+ # timeout_seconds: 1,
831
+ # heartbeat_timeout_seconds: 1,
832
+ # },
833
+ # chained_invoke_options: {
834
+ # function_name: "NamespacedFunctionName", # required
835
+ # tenant_id: "TenantId",
836
+ # },
837
+ # },
838
+ # ],
839
+ # client_token: "ClientToken",
840
+ # })
841
+ #
842
+ # @example Response structure
843
+ #
844
+ # resp.checkpoint_token #=> String
845
+ # resp.new_execution_state.operations #=> Array
846
+ # resp.new_execution_state.operations[0].id #=> String
847
+ # resp.new_execution_state.operations[0].parent_id #=> String
848
+ # resp.new_execution_state.operations[0].name #=> String
849
+ # resp.new_execution_state.operations[0].type #=> String, one of "EXECUTION", "CONTEXT", "STEP", "WAIT", "CALLBACK", "CHAINED_INVOKE"
850
+ # resp.new_execution_state.operations[0].sub_type #=> String
851
+ # resp.new_execution_state.operations[0].start_timestamp #=> Time
852
+ # resp.new_execution_state.operations[0].end_timestamp #=> Time
853
+ # resp.new_execution_state.operations[0].status #=> String, one of "STARTED", "PENDING", "READY", "SUCCEEDED", "FAILED", "CANCELLED", "TIMED_OUT", "STOPPED"
854
+ # resp.new_execution_state.operations[0].execution_details.input_payload #=> String
855
+ # resp.new_execution_state.operations[0].context_details.replay_children #=> Boolean
856
+ # resp.new_execution_state.operations[0].context_details.result #=> String
857
+ # resp.new_execution_state.operations[0].context_details.error.error_message #=> String
858
+ # resp.new_execution_state.operations[0].context_details.error.error_type #=> String
859
+ # resp.new_execution_state.operations[0].context_details.error.error_data #=> String
860
+ # resp.new_execution_state.operations[0].context_details.error.stack_trace #=> Array
861
+ # resp.new_execution_state.operations[0].context_details.error.stack_trace[0] #=> String
862
+ # resp.new_execution_state.operations[0].step_details.attempt #=> Integer
863
+ # resp.new_execution_state.operations[0].step_details.next_attempt_timestamp #=> Time
864
+ # resp.new_execution_state.operations[0].step_details.result #=> String
865
+ # resp.new_execution_state.operations[0].step_details.error.error_message #=> String
866
+ # resp.new_execution_state.operations[0].step_details.error.error_type #=> String
867
+ # resp.new_execution_state.operations[0].step_details.error.error_data #=> String
868
+ # resp.new_execution_state.operations[0].step_details.error.stack_trace #=> Array
869
+ # resp.new_execution_state.operations[0].step_details.error.stack_trace[0] #=> String
870
+ # resp.new_execution_state.operations[0].wait_details.scheduled_end_timestamp #=> Time
871
+ # resp.new_execution_state.operations[0].callback_details.callback_id #=> String
872
+ # resp.new_execution_state.operations[0].callback_details.result #=> String
873
+ # resp.new_execution_state.operations[0].callback_details.error.error_message #=> String
874
+ # resp.new_execution_state.operations[0].callback_details.error.error_type #=> String
875
+ # resp.new_execution_state.operations[0].callback_details.error.error_data #=> String
876
+ # resp.new_execution_state.operations[0].callback_details.error.stack_trace #=> Array
877
+ # resp.new_execution_state.operations[0].callback_details.error.stack_trace[0] #=> String
878
+ # resp.new_execution_state.operations[0].chained_invoke_details.result #=> String
879
+ # resp.new_execution_state.operations[0].chained_invoke_details.error.error_message #=> String
880
+ # resp.new_execution_state.operations[0].chained_invoke_details.error.error_type #=> String
881
+ # resp.new_execution_state.operations[0].chained_invoke_details.error.error_data #=> String
882
+ # resp.new_execution_state.operations[0].chained_invoke_details.error.stack_trace #=> Array
883
+ # resp.new_execution_state.operations[0].chained_invoke_details.error.stack_trace[0] #=> String
884
+ # resp.new_execution_state.next_marker #=> String
885
+ #
886
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CheckpointDurableExecution AWS API Documentation
887
+ #
888
+ # @overload checkpoint_durable_execution(params = {})
889
+ # @param [Hash] params ({})
890
+ def checkpoint_durable_execution(params = {}, options = {})
891
+ req = build_request(:checkpoint_durable_execution, params)
892
+ req.send_request(options)
893
+ end
894
+
763
895
  # Creates an [alias][1] for a Lambda function version. Use aliases to
764
896
  # provide clients with a function identifier that you can update to
765
897
  # invoke a different version.
@@ -838,7 +970,7 @@ module Aws::Lambda
838
970
  # resp = client.create_alias({
839
971
  # function_name: "FunctionName", # required
840
972
  # name: "Alias", # required
841
- # function_version: "Version", # required
973
+ # function_version: "VersionWithLatestPublished", # required
842
974
  # description: "Description",
843
975
  # routing_config: {
844
976
  # additional_version_weights: {
@@ -866,6 +998,105 @@ module Aws::Lambda
866
998
  req.send_request(options)
867
999
  end
868
1000
 
1001
+ # Creates a capacity provider that manages compute resources for Lambda
1002
+ # functions
1003
+ #
1004
+ # @option params [required, String] :capacity_provider_name
1005
+ # The name of the capacity provider.
1006
+ #
1007
+ # @option params [required, Types::CapacityProviderVpcConfig] :vpc_config
1008
+ # The VPC configuration for the capacity provider, including subnet IDs
1009
+ # and security group IDs where compute instances will be launched.
1010
+ #
1011
+ # @option params [required, Types::CapacityProviderPermissionsConfig] :permissions_config
1012
+ # The permissions configuration that specifies the IAM role ARN used by
1013
+ # the capacity provider to manage compute resources.
1014
+ #
1015
+ # @option params [Types::InstanceRequirements] :instance_requirements
1016
+ # The instance requirements that specify the compute instance
1017
+ # characteristics, including architectures and allowed or excluded
1018
+ # instance types.
1019
+ #
1020
+ # @option params [Types::CapacityProviderScalingConfig] :capacity_provider_scaling_config
1021
+ # The scaling configuration that defines how the capacity provider
1022
+ # scales compute instances, including maximum vCPU count and scaling
1023
+ # policies.
1024
+ #
1025
+ # @option params [String] :kms_key_arn
1026
+ # The ARN of the KMS key used to encrypt data associated with the
1027
+ # capacity provider.
1028
+ #
1029
+ # @option params [Hash<String,String>] :tags
1030
+ # A list of tags to associate with the capacity provider.
1031
+ #
1032
+ # @return [Types::CreateCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1033
+ #
1034
+ # * {Types::CreateCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
1035
+ #
1036
+ # @example Request syntax with placeholder values
1037
+ #
1038
+ # resp = client.create_capacity_provider({
1039
+ # capacity_provider_name: "CapacityProviderName", # required
1040
+ # vpc_config: { # required
1041
+ # subnet_ids: ["SubnetId"], # required
1042
+ # security_group_ids: ["SecurityGroupId"], # required
1043
+ # },
1044
+ # permissions_config: { # required
1045
+ # capacity_provider_operator_role_arn: "RoleArn", # required
1046
+ # },
1047
+ # instance_requirements: {
1048
+ # architectures: ["x86_64"], # accepts x86_64, arm64
1049
+ # allowed_instance_types: ["InstanceType"],
1050
+ # excluded_instance_types: ["InstanceType"],
1051
+ # },
1052
+ # capacity_provider_scaling_config: {
1053
+ # max_v_cpu_count: 1,
1054
+ # scaling_mode: "Auto", # accepts Auto, Manual
1055
+ # scaling_policies: [
1056
+ # {
1057
+ # predefined_metric_type: "LambdaCapacityProviderAverageCPUUtilization", # required, accepts LambdaCapacityProviderAverageCPUUtilization
1058
+ # target_value: 1.0, # required
1059
+ # },
1060
+ # ],
1061
+ # },
1062
+ # kms_key_arn: "KMSKeyArnNonEmpty",
1063
+ # tags: {
1064
+ # "TagKey" => "TagValue",
1065
+ # },
1066
+ # })
1067
+ #
1068
+ # @example Response structure
1069
+ #
1070
+ # resp.capacity_provider.capacity_provider_arn #=> String
1071
+ # resp.capacity_provider.state #=> String, one of "Pending", "Active", "Failed", "Deleting"
1072
+ # resp.capacity_provider.vpc_config.subnet_ids #=> Array
1073
+ # resp.capacity_provider.vpc_config.subnet_ids[0] #=> String
1074
+ # resp.capacity_provider.vpc_config.security_group_ids #=> Array
1075
+ # resp.capacity_provider.vpc_config.security_group_ids[0] #=> String
1076
+ # resp.capacity_provider.permissions_config.capacity_provider_operator_role_arn #=> String
1077
+ # resp.capacity_provider.instance_requirements.architectures #=> Array
1078
+ # resp.capacity_provider.instance_requirements.architectures[0] #=> String, one of "x86_64", "arm64"
1079
+ # resp.capacity_provider.instance_requirements.allowed_instance_types #=> Array
1080
+ # resp.capacity_provider.instance_requirements.allowed_instance_types[0] #=> String
1081
+ # resp.capacity_provider.instance_requirements.excluded_instance_types #=> Array
1082
+ # resp.capacity_provider.instance_requirements.excluded_instance_types[0] #=> String
1083
+ # resp.capacity_provider.capacity_provider_scaling_config.max_v_cpu_count #=> Integer
1084
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
1085
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies #=> Array
1086
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization"
1087
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
1088
+ # resp.capacity_provider.kms_key_arn #=> String
1089
+ # resp.capacity_provider.last_modified #=> Time
1090
+ #
1091
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCapacityProvider AWS API Documentation
1092
+ #
1093
+ # @overload create_capacity_provider(params = {})
1094
+ # @param [Hash] params ({})
1095
+ def create_capacity_provider(params = {}, options = {})
1096
+ req = build_request(:create_capacity_provider, params)
1097
+ req.send_request(options)
1098
+ end
1099
+
869
1100
  # Creates a code signing configuration. A [code signing
870
1101
  # configuration][1] defines a list of allowed signing profiles and
871
1102
  # defines the code-signing validation policy (action to be taken if
@@ -1271,7 +1502,7 @@ module Aws::Lambda
1271
1502
  #
1272
1503
  # resp = client.create_event_source_mapping({
1273
1504
  # event_source_arn: "Arn",
1274
- # function_name: "FunctionName", # required
1505
+ # function_name: "NamespacedFunctionName", # required
1275
1506
  # enabled: false,
1276
1507
  # batch_size: 1,
1277
1508
  # filter_criteria: {
@@ -1714,6 +1945,18 @@ module Aws::Lambda
1714
1945
  # @option params [Types::LoggingConfig] :logging_config
1715
1946
  # The function's Amazon CloudWatch Logs configuration settings.
1716
1947
  #
1948
+ # @option params [Types::CapacityProviderConfig] :capacity_provider_config
1949
+ # Configuration for the capacity provider that manages compute resources
1950
+ # for Lambda functions.
1951
+ #
1952
+ # @option params [String] :publish_to
1953
+ # Specifies where to publish the function version or configuration.
1954
+ #
1955
+ # @option params [Types::DurableConfig] :durable_config
1956
+ # Configuration settings for durable functions. Enables creating
1957
+ # functions with durability that can remember their state and continue
1958
+ # execution even after interruptions.
1959
+ #
1717
1960
  # @option params [Types::TenancyConfig] :tenancy_config
1718
1961
  # Configuration for multi-tenant applications that use Lambda functions.
1719
1962
  # Defines tenant isolation settings and resource allocations. Required
@@ -1757,6 +2000,9 @@ module Aws::Lambda
1757
2000
  # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
1758
2001
  # * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
1759
2002
  # * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
2003
+ # * {Types::FunctionConfiguration#capacity_provider_config #capacity_provider_config} => Types::CapacityProviderConfig
2004
+ # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
2005
+ # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
1760
2006
  # * {Types::FunctionConfiguration#tenancy_config #tenancy_config} => Types::TenancyConfig
1761
2007
  #
1762
2008
  #
@@ -1771,6 +2017,10 @@ module Aws::Lambda
1771
2017
  # s3_key: "function.zip",
1772
2018
  # },
1773
2019
  # description: "Process image objects from Amazon S3.",
2020
+ # durable_config: {
2021
+ # execution_timeout: 31622400,
2022
+ # retention_period_in_days: 30,
2023
+ # },
1774
2024
  # environment: {
1775
2025
  # variables: {
1776
2026
  # "BUCKET" => "my-bucket-1xpuxmplzrlbh",
@@ -1798,6 +2048,10 @@ module Aws::Lambda
1798
2048
  # code_sha_256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
1799
2049
  # code_size: 5797206,
1800
2050
  # description: "Process image objects from Amazon S3.",
2051
+ # durable_config: {
2052
+ # execution_timeout: 31622400,
2053
+ # retention_period_in_days: 30,
2054
+ # },
1801
2055
  # environment: {
1802
2056
  # variables: {
1803
2057
  # "BUCKET" => "my-bucket-1xpuxmplzrlbh",
@@ -1888,6 +2142,18 @@ module Aws::Lambda
1888
2142
  # system_log_level: "DEBUG", # accepts DEBUG, INFO, WARN
1889
2143
  # log_group: "LogGroup",
1890
2144
  # },
2145
+ # capacity_provider_config: {
2146
+ # lambda_managed_instances_capacity_provider_config: { # required
2147
+ # capacity_provider_arn: "CapacityProviderArn", # required
2148
+ # per_execution_environment_max_concurrency: 1,
2149
+ # execution_environment_memory_gi_b_per_v_cpu: 1.0,
2150
+ # },
2151
+ # },
2152
+ # publish_to: "LATEST_PUBLISHED", # accepts LATEST_PUBLISHED
2153
+ # durable_config: {
2154
+ # retention_period_in_days: 1,
2155
+ # execution_timeout: 1,
2156
+ # },
1891
2157
  # tenancy_config: {
1892
2158
  # tenant_isolation_mode: "PER_TENANT", # required, accepts PER_TENANT
1893
2159
  # },
@@ -1927,12 +2193,12 @@ module Aws::Lambda
1927
2193
  # resp.layers[0].code_size #=> Integer
1928
2194
  # resp.layers[0].signing_profile_version_arn #=> String
1929
2195
  # resp.layers[0].signing_job_arn #=> String
1930
- # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
2196
+ # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
1931
2197
  # resp.state_reason #=> String
1932
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
2198
+ # resp.state_reason_code #=> String, one of "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"
1933
2199
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
1934
2200
  # resp.last_update_status_reason #=> String
1935
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
2201
+ # resp.last_update_status_reason_code #=> String, one of "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"
1936
2202
  # resp.file_system_configs #=> Array
1937
2203
  # resp.file_system_configs[0].arn #=> String
1938
2204
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -1958,6 +2224,12 @@ module Aws::Lambda
1958
2224
  # resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
1959
2225
  # resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
1960
2226
  # resp.logging_config.log_group #=> String
2227
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.capacity_provider_arn #=> String
2228
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
2229
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
2230
+ # resp.config_sha_256 #=> String
2231
+ # resp.durable_config.retention_period_in_days #=> Integer
2232
+ # resp.durable_config.execution_timeout #=> Integer
1961
2233
  # resp.tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
1962
2234
  #
1963
2235
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
@@ -2128,6 +2400,54 @@ module Aws::Lambda
2128
2400
  req.send_request(options)
2129
2401
  end
2130
2402
 
2403
+ # Deletes a capacity provider. You cannot delete a capacity provider
2404
+ # that is currently being used by Lambda functions.
2405
+ #
2406
+ # @option params [required, String] :capacity_provider_name
2407
+ # The name of the capacity provider to delete.
2408
+ #
2409
+ # @return [Types::DeleteCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2410
+ #
2411
+ # * {Types::DeleteCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
2412
+ #
2413
+ # @example Request syntax with placeholder values
2414
+ #
2415
+ # resp = client.delete_capacity_provider({
2416
+ # capacity_provider_name: "CapacityProviderName", # required
2417
+ # })
2418
+ #
2419
+ # @example Response structure
2420
+ #
2421
+ # resp.capacity_provider.capacity_provider_arn #=> String
2422
+ # resp.capacity_provider.state #=> String, one of "Pending", "Active", "Failed", "Deleting"
2423
+ # resp.capacity_provider.vpc_config.subnet_ids #=> Array
2424
+ # resp.capacity_provider.vpc_config.subnet_ids[0] #=> String
2425
+ # resp.capacity_provider.vpc_config.security_group_ids #=> Array
2426
+ # resp.capacity_provider.vpc_config.security_group_ids[0] #=> String
2427
+ # resp.capacity_provider.permissions_config.capacity_provider_operator_role_arn #=> String
2428
+ # resp.capacity_provider.instance_requirements.architectures #=> Array
2429
+ # resp.capacity_provider.instance_requirements.architectures[0] #=> String, one of "x86_64", "arm64"
2430
+ # resp.capacity_provider.instance_requirements.allowed_instance_types #=> Array
2431
+ # resp.capacity_provider.instance_requirements.allowed_instance_types[0] #=> String
2432
+ # resp.capacity_provider.instance_requirements.excluded_instance_types #=> Array
2433
+ # resp.capacity_provider.instance_requirements.excluded_instance_types[0] #=> String
2434
+ # resp.capacity_provider.capacity_provider_scaling_config.max_v_cpu_count #=> Integer
2435
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
2436
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies #=> Array
2437
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization"
2438
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
2439
+ # resp.capacity_provider.kms_key_arn #=> String
2440
+ # resp.capacity_provider.last_modified #=> Time
2441
+ #
2442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteCapacityProvider AWS API Documentation
2443
+ #
2444
+ # @overload delete_capacity_provider(params = {})
2445
+ # @param [Hash] params ({})
2446
+ def delete_capacity_provider(params = {}, options = {})
2447
+ req = build_request(:delete_capacity_provider, params)
2448
+ req.send_request(options)
2449
+ end
2450
+
2131
2451
  # Deletes the code signing configuration. You can delete the code
2132
2452
  # signing configuration only if no function is using it.
2133
2453
  #
@@ -2334,7 +2654,9 @@ module Aws::Lambda
2334
2654
  # Specify a version to delete. You can't delete a version that an alias
2335
2655
  # references.
2336
2656
  #
2337
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2657
+ # @return [Types::DeleteFunctionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2658
+ #
2659
+ # * {Types::DeleteFunctionResponse#status_code #status_code} => Integer
2338
2660
  #
2339
2661
  #
2340
2662
  # @example Example: To delete a version of a Lambda function
@@ -2349,10 +2671,14 @@ module Aws::Lambda
2349
2671
  # @example Request syntax with placeholder values
2350
2672
  #
2351
2673
  # resp = client.delete_function({
2352
- # function_name: "FunctionName", # required
2353
- # qualifier: "Qualifier",
2674
+ # function_name: "NamespacedFunctionName", # required
2675
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
2354
2676
  # })
2355
2677
  #
2678
+ # @example Response structure
2679
+ #
2680
+ # resp.status_code #=> Integer
2681
+ #
2356
2682
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunction AWS API Documentation
2357
2683
  #
2358
2684
  # @overload delete_function(params = {})
@@ -2384,7 +2710,7 @@ module Aws::Lambda
2384
2710
  # @example Request syntax with placeholder values
2385
2711
  #
2386
2712
  # resp = client.delete_function_code_signing_config({
2387
- # function_name: "FunctionName", # required
2713
+ # function_name: "NamespacedFunctionName", # required
2388
2714
  # })
2389
2715
  #
2390
2716
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionCodeSigningConfig AWS API Documentation
@@ -2481,8 +2807,8 @@ module Aws::Lambda
2481
2807
  # @example Request syntax with placeholder values
2482
2808
  #
2483
2809
  # resp = client.delete_function_event_invoke_config({
2484
- # function_name: "FunctionName", # required
2485
- # qualifier: "Qualifier",
2810
+ # function_name: "NamespacedFunctionName", # required
2811
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
2486
2812
  # })
2487
2813
  #
2488
2814
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionEventInvokeConfig AWS API Documentation
@@ -2757,6 +3083,54 @@ module Aws::Lambda
2757
3083
  req.send_request(options)
2758
3084
  end
2759
3085
 
3086
+ # Retrieves information about a specific capacity provider, including
3087
+ # its configuration, state, and associated resources.
3088
+ #
3089
+ # @option params [required, String] :capacity_provider_name
3090
+ # The name of the capacity provider to retrieve.
3091
+ #
3092
+ # @return [Types::GetCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3093
+ #
3094
+ # * {Types::GetCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
3095
+ #
3096
+ # @example Request syntax with placeholder values
3097
+ #
3098
+ # resp = client.get_capacity_provider({
3099
+ # capacity_provider_name: "CapacityProviderName", # required
3100
+ # })
3101
+ #
3102
+ # @example Response structure
3103
+ #
3104
+ # resp.capacity_provider.capacity_provider_arn #=> String
3105
+ # resp.capacity_provider.state #=> String, one of "Pending", "Active", "Failed", "Deleting"
3106
+ # resp.capacity_provider.vpc_config.subnet_ids #=> Array
3107
+ # resp.capacity_provider.vpc_config.subnet_ids[0] #=> String
3108
+ # resp.capacity_provider.vpc_config.security_group_ids #=> Array
3109
+ # resp.capacity_provider.vpc_config.security_group_ids[0] #=> String
3110
+ # resp.capacity_provider.permissions_config.capacity_provider_operator_role_arn #=> String
3111
+ # resp.capacity_provider.instance_requirements.architectures #=> Array
3112
+ # resp.capacity_provider.instance_requirements.architectures[0] #=> String, one of "x86_64", "arm64"
3113
+ # resp.capacity_provider.instance_requirements.allowed_instance_types #=> Array
3114
+ # resp.capacity_provider.instance_requirements.allowed_instance_types[0] #=> String
3115
+ # resp.capacity_provider.instance_requirements.excluded_instance_types #=> Array
3116
+ # resp.capacity_provider.instance_requirements.excluded_instance_types[0] #=> String
3117
+ # resp.capacity_provider.capacity_provider_scaling_config.max_v_cpu_count #=> Integer
3118
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
3119
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies #=> Array
3120
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization"
3121
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
3122
+ # resp.capacity_provider.kms_key_arn #=> String
3123
+ # resp.capacity_provider.last_modified #=> Time
3124
+ #
3125
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetCapacityProvider AWS API Documentation
3126
+ #
3127
+ # @overload get_capacity_provider(params = {})
3128
+ # @param [Hash] params ({})
3129
+ def get_capacity_provider(params = {}, options = {})
3130
+ req = build_request(:get_capacity_provider, params)
3131
+ req.send_request(options)
3132
+ end
3133
+
2760
3134
  # Returns information about the specified code signing configuration.
2761
3135
  #
2762
3136
  # @option params [required, String] :code_signing_config_arn
@@ -2791,6 +3165,345 @@ module Aws::Lambda
2791
3165
  req.send_request(options)
2792
3166
  end
2793
3167
 
3168
+ # Retrieves detailed information about a specific [durable
3169
+ # execution][1], including its current status, input payload, result or
3170
+ # error information, and execution metadata such as start time and usage
3171
+ # statistics.
3172
+ #
3173
+ #
3174
+ #
3175
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
3176
+ #
3177
+ # @option params [required, String] :durable_execution_arn
3178
+ # The Amazon Resource Name (ARN) of the durable execution.
3179
+ #
3180
+ # @return [Types::GetDurableExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3181
+ #
3182
+ # * {Types::GetDurableExecutionResponse#durable_execution_arn #durable_execution_arn} => String
3183
+ # * {Types::GetDurableExecutionResponse#durable_execution_name #durable_execution_name} => String
3184
+ # * {Types::GetDurableExecutionResponse#function_arn #function_arn} => String
3185
+ # * {Types::GetDurableExecutionResponse#input_payload #input_payload} => String
3186
+ # * {Types::GetDurableExecutionResponse#result #result} => String
3187
+ # * {Types::GetDurableExecutionResponse#error #error} => Types::ErrorObject
3188
+ # * {Types::GetDurableExecutionResponse#start_timestamp #start_timestamp} => Time
3189
+ # * {Types::GetDurableExecutionResponse#status #status} => String
3190
+ # * {Types::GetDurableExecutionResponse#end_timestamp #end_timestamp} => Time
3191
+ # * {Types::GetDurableExecutionResponse#version #version} => String
3192
+ # * {Types::GetDurableExecutionResponse#trace_header #trace_header} => Types::TraceHeader
3193
+ #
3194
+ # @example Request syntax with placeholder values
3195
+ #
3196
+ # resp = client.get_durable_execution({
3197
+ # durable_execution_arn: "DurableExecutionArn", # required
3198
+ # })
3199
+ #
3200
+ # @example Response structure
3201
+ #
3202
+ # resp.durable_execution_arn #=> String
3203
+ # resp.durable_execution_name #=> String
3204
+ # resp.function_arn #=> String
3205
+ # resp.input_payload #=> String
3206
+ # resp.result #=> String
3207
+ # resp.error.error_message #=> String
3208
+ # resp.error.error_type #=> String
3209
+ # resp.error.error_data #=> String
3210
+ # resp.error.stack_trace #=> Array
3211
+ # resp.error.stack_trace[0] #=> String
3212
+ # resp.start_timestamp #=> Time
3213
+ # resp.status #=> String, one of "RUNNING", "SUCCEEDED", "FAILED", "TIMED_OUT", "STOPPED"
3214
+ # resp.end_timestamp #=> Time
3215
+ # resp.version #=> String
3216
+ # resp.trace_header.x_amzn_trace_id #=> String
3217
+ #
3218
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecution AWS API Documentation
3219
+ #
3220
+ # @overload get_durable_execution(params = {})
3221
+ # @param [Hash] params ({})
3222
+ def get_durable_execution(params = {}, options = {})
3223
+ req = build_request(:get_durable_execution, params)
3224
+ req.send_request(options)
3225
+ end
3226
+
3227
+ # Retrieves the execution history for a [durable execution][1], showing
3228
+ # all the steps, callbacks, and events that occurred during the
3229
+ # execution. This provides a detailed audit trail of the execution's
3230
+ # progress over time.
3231
+ #
3232
+ # The history is available while the execution is running and for a
3233
+ # retention period after it completes (1-90 days, default 30 days). You
3234
+ # can control whether to include execution data such as step results and
3235
+ # callback payloads.
3236
+ #
3237
+ #
3238
+ #
3239
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
3240
+ #
3241
+ # @option params [required, String] :durable_execution_arn
3242
+ # The Amazon Resource Name (ARN) of the durable execution.
3243
+ #
3244
+ # @option params [Boolean] :include_execution_data
3245
+ # Specifies whether to include execution data such as step results and
3246
+ # callback payloads in the history events. Set to `true` to include
3247
+ # data, or `false` to exclude it for a more compact response. The
3248
+ # default is `true`.
3249
+ #
3250
+ # @option params [Integer] :max_items
3251
+ # The maximum number of history events to return per call. You can use
3252
+ # `Marker` to retrieve additional pages of results. The default is 100
3253
+ # and the maximum allowed is 1000. A value of 0 uses the default.
3254
+ #
3255
+ # @option params [String] :marker
3256
+ # If `NextMarker` was returned from a previous request, use this value
3257
+ # to retrieve the next page of results. Each pagination token expires
3258
+ # after 24 hours.
3259
+ #
3260
+ # @option params [Boolean] :reverse_order
3261
+ # When set to `true`, returns the history events in reverse
3262
+ # chronological order (newest first). By default, events are returned in
3263
+ # chronological order (oldest first).
3264
+ #
3265
+ # @return [Types::GetDurableExecutionHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3266
+ #
3267
+ # * {Types::GetDurableExecutionHistoryResponse#events #events} => Array&lt;Types::Event&gt;
3268
+ # * {Types::GetDurableExecutionHistoryResponse#next_marker #next_marker} => String
3269
+ #
3270
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3271
+ #
3272
+ # @example Request syntax with placeholder values
3273
+ #
3274
+ # resp = client.get_durable_execution_history({
3275
+ # durable_execution_arn: "DurableExecutionArn", # required
3276
+ # include_execution_data: false,
3277
+ # max_items: 1,
3278
+ # marker: "String",
3279
+ # reverse_order: false,
3280
+ # })
3281
+ #
3282
+ # @example Response structure
3283
+ #
3284
+ # resp.events #=> Array
3285
+ # resp.events[0].event_type #=> String, one of "ExecutionStarted", "ExecutionSucceeded", "ExecutionFailed", "ExecutionTimedOut", "ExecutionStopped", "ContextStarted", "ContextSucceeded", "ContextFailed", "WaitStarted", "WaitSucceeded", "WaitCancelled", "StepStarted", "StepSucceeded", "StepFailed", "ChainedInvokeStarted", "ChainedInvokeSucceeded", "ChainedInvokeFailed", "ChainedInvokeTimedOut", "ChainedInvokeStopped", "CallbackStarted", "CallbackSucceeded", "CallbackFailed", "CallbackTimedOut", "InvocationCompleted"
3286
+ # resp.events[0].sub_type #=> String
3287
+ # resp.events[0].event_id #=> Integer
3288
+ # resp.events[0].id #=> String
3289
+ # resp.events[0].name #=> String
3290
+ # resp.events[0].event_timestamp #=> Time
3291
+ # resp.events[0].parent_id #=> String
3292
+ # resp.events[0].execution_started_details.input.payload #=> String
3293
+ # resp.events[0].execution_started_details.input.truncated #=> Boolean
3294
+ # resp.events[0].execution_started_details.execution_timeout #=> Integer
3295
+ # resp.events[0].execution_succeeded_details.result.payload #=> String
3296
+ # resp.events[0].execution_succeeded_details.result.truncated #=> Boolean
3297
+ # resp.events[0].execution_failed_details.error.payload.error_message #=> String
3298
+ # resp.events[0].execution_failed_details.error.payload.error_type #=> String
3299
+ # resp.events[0].execution_failed_details.error.payload.error_data #=> String
3300
+ # resp.events[0].execution_failed_details.error.payload.stack_trace #=> Array
3301
+ # resp.events[0].execution_failed_details.error.payload.stack_trace[0] #=> String
3302
+ # resp.events[0].execution_failed_details.error.truncated #=> Boolean
3303
+ # resp.events[0].execution_timed_out_details.error.payload.error_message #=> String
3304
+ # resp.events[0].execution_timed_out_details.error.payload.error_type #=> String
3305
+ # resp.events[0].execution_timed_out_details.error.payload.error_data #=> String
3306
+ # resp.events[0].execution_timed_out_details.error.payload.stack_trace #=> Array
3307
+ # resp.events[0].execution_timed_out_details.error.payload.stack_trace[0] #=> String
3308
+ # resp.events[0].execution_timed_out_details.error.truncated #=> Boolean
3309
+ # resp.events[0].execution_stopped_details.error.payload.error_message #=> String
3310
+ # resp.events[0].execution_stopped_details.error.payload.error_type #=> String
3311
+ # resp.events[0].execution_stopped_details.error.payload.error_data #=> String
3312
+ # resp.events[0].execution_stopped_details.error.payload.stack_trace #=> Array
3313
+ # resp.events[0].execution_stopped_details.error.payload.stack_trace[0] #=> String
3314
+ # resp.events[0].execution_stopped_details.error.truncated #=> Boolean
3315
+ # resp.events[0].context_succeeded_details.result.payload #=> String
3316
+ # resp.events[0].context_succeeded_details.result.truncated #=> Boolean
3317
+ # resp.events[0].context_failed_details.error.payload.error_message #=> String
3318
+ # resp.events[0].context_failed_details.error.payload.error_type #=> String
3319
+ # resp.events[0].context_failed_details.error.payload.error_data #=> String
3320
+ # resp.events[0].context_failed_details.error.payload.stack_trace #=> Array
3321
+ # resp.events[0].context_failed_details.error.payload.stack_trace[0] #=> String
3322
+ # resp.events[0].context_failed_details.error.truncated #=> Boolean
3323
+ # resp.events[0].wait_started_details.duration #=> Integer
3324
+ # resp.events[0].wait_started_details.scheduled_end_timestamp #=> Time
3325
+ # resp.events[0].wait_succeeded_details.duration #=> Integer
3326
+ # resp.events[0].wait_cancelled_details.error.payload.error_message #=> String
3327
+ # resp.events[0].wait_cancelled_details.error.payload.error_type #=> String
3328
+ # resp.events[0].wait_cancelled_details.error.payload.error_data #=> String
3329
+ # resp.events[0].wait_cancelled_details.error.payload.stack_trace #=> Array
3330
+ # resp.events[0].wait_cancelled_details.error.payload.stack_trace[0] #=> String
3331
+ # resp.events[0].wait_cancelled_details.error.truncated #=> Boolean
3332
+ # resp.events[0].step_succeeded_details.result.payload #=> String
3333
+ # resp.events[0].step_succeeded_details.result.truncated #=> Boolean
3334
+ # resp.events[0].step_succeeded_details.retry_details.current_attempt #=> Integer
3335
+ # resp.events[0].step_succeeded_details.retry_details.next_attempt_delay_seconds #=> Integer
3336
+ # resp.events[0].step_failed_details.error.payload.error_message #=> String
3337
+ # resp.events[0].step_failed_details.error.payload.error_type #=> String
3338
+ # resp.events[0].step_failed_details.error.payload.error_data #=> String
3339
+ # resp.events[0].step_failed_details.error.payload.stack_trace #=> Array
3340
+ # resp.events[0].step_failed_details.error.payload.stack_trace[0] #=> String
3341
+ # resp.events[0].step_failed_details.error.truncated #=> Boolean
3342
+ # resp.events[0].step_failed_details.retry_details.current_attempt #=> Integer
3343
+ # resp.events[0].step_failed_details.retry_details.next_attempt_delay_seconds #=> Integer
3344
+ # resp.events[0].chained_invoke_started_details.function_name #=> String
3345
+ # resp.events[0].chained_invoke_started_details.tenant_id #=> String
3346
+ # resp.events[0].chained_invoke_started_details.input.payload #=> String
3347
+ # resp.events[0].chained_invoke_started_details.input.truncated #=> Boolean
3348
+ # resp.events[0].chained_invoke_started_details.executed_version #=> String
3349
+ # resp.events[0].chained_invoke_started_details.durable_execution_arn #=> String
3350
+ # resp.events[0].chained_invoke_succeeded_details.result.payload #=> String
3351
+ # resp.events[0].chained_invoke_succeeded_details.result.truncated #=> Boolean
3352
+ # resp.events[0].chained_invoke_failed_details.error.payload.error_message #=> String
3353
+ # resp.events[0].chained_invoke_failed_details.error.payload.error_type #=> String
3354
+ # resp.events[0].chained_invoke_failed_details.error.payload.error_data #=> String
3355
+ # resp.events[0].chained_invoke_failed_details.error.payload.stack_trace #=> Array
3356
+ # resp.events[0].chained_invoke_failed_details.error.payload.stack_trace[0] #=> String
3357
+ # resp.events[0].chained_invoke_failed_details.error.truncated #=> Boolean
3358
+ # resp.events[0].chained_invoke_timed_out_details.error.payload.error_message #=> String
3359
+ # resp.events[0].chained_invoke_timed_out_details.error.payload.error_type #=> String
3360
+ # resp.events[0].chained_invoke_timed_out_details.error.payload.error_data #=> String
3361
+ # resp.events[0].chained_invoke_timed_out_details.error.payload.stack_trace #=> Array
3362
+ # resp.events[0].chained_invoke_timed_out_details.error.payload.stack_trace[0] #=> String
3363
+ # resp.events[0].chained_invoke_timed_out_details.error.truncated #=> Boolean
3364
+ # resp.events[0].chained_invoke_stopped_details.error.payload.error_message #=> String
3365
+ # resp.events[0].chained_invoke_stopped_details.error.payload.error_type #=> String
3366
+ # resp.events[0].chained_invoke_stopped_details.error.payload.error_data #=> String
3367
+ # resp.events[0].chained_invoke_stopped_details.error.payload.stack_trace #=> Array
3368
+ # resp.events[0].chained_invoke_stopped_details.error.payload.stack_trace[0] #=> String
3369
+ # resp.events[0].chained_invoke_stopped_details.error.truncated #=> Boolean
3370
+ # resp.events[0].callback_started_details.callback_id #=> String
3371
+ # resp.events[0].callback_started_details.heartbeat_timeout #=> Integer
3372
+ # resp.events[0].callback_started_details.timeout #=> Integer
3373
+ # resp.events[0].callback_succeeded_details.result.payload #=> String
3374
+ # resp.events[0].callback_succeeded_details.result.truncated #=> Boolean
3375
+ # resp.events[0].callback_failed_details.error.payload.error_message #=> String
3376
+ # resp.events[0].callback_failed_details.error.payload.error_type #=> String
3377
+ # resp.events[0].callback_failed_details.error.payload.error_data #=> String
3378
+ # resp.events[0].callback_failed_details.error.payload.stack_trace #=> Array
3379
+ # resp.events[0].callback_failed_details.error.payload.stack_trace[0] #=> String
3380
+ # resp.events[0].callback_failed_details.error.truncated #=> Boolean
3381
+ # resp.events[0].callback_timed_out_details.error.payload.error_message #=> String
3382
+ # resp.events[0].callback_timed_out_details.error.payload.error_type #=> String
3383
+ # resp.events[0].callback_timed_out_details.error.payload.error_data #=> String
3384
+ # resp.events[0].callback_timed_out_details.error.payload.stack_trace #=> Array
3385
+ # resp.events[0].callback_timed_out_details.error.payload.stack_trace[0] #=> String
3386
+ # resp.events[0].callback_timed_out_details.error.truncated #=> Boolean
3387
+ # resp.events[0].invocation_completed_details.start_timestamp #=> Time
3388
+ # resp.events[0].invocation_completed_details.end_timestamp #=> Time
3389
+ # resp.events[0].invocation_completed_details.request_id #=> String
3390
+ # resp.events[0].invocation_completed_details.error.payload.error_message #=> String
3391
+ # resp.events[0].invocation_completed_details.error.payload.error_type #=> String
3392
+ # resp.events[0].invocation_completed_details.error.payload.error_data #=> String
3393
+ # resp.events[0].invocation_completed_details.error.payload.stack_trace #=> Array
3394
+ # resp.events[0].invocation_completed_details.error.payload.stack_trace[0] #=> String
3395
+ # resp.events[0].invocation_completed_details.error.truncated #=> Boolean
3396
+ # resp.next_marker #=> String
3397
+ #
3398
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecutionHistory AWS API Documentation
3399
+ #
3400
+ # @overload get_durable_execution_history(params = {})
3401
+ # @param [Hash] params ({})
3402
+ def get_durable_execution_history(params = {}, options = {})
3403
+ req = build_request(:get_durable_execution_history, params)
3404
+ req.send_request(options)
3405
+ end
3406
+
3407
+ # Retrieves the current execution state required for the replay process
3408
+ # during [durable function][1] execution. This API is used by the Lambda
3409
+ # durable functions SDK to get state information needed for replay. You
3410
+ # typically don't need to call this API directly as the SDK handles
3411
+ # state management automatically.
3412
+ #
3413
+ # The response contains operations ordered by start sequence number in
3414
+ # ascending order. Completed operations with children don't include
3415
+ # child operation details since they don't need to be replayed.
3416
+ #
3417
+ #
3418
+ #
3419
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
3420
+ #
3421
+ # @option params [required, String] :durable_execution_arn
3422
+ # The Amazon Resource Name (ARN) of the durable execution.
3423
+ #
3424
+ # @option params [required, String] :checkpoint_token
3425
+ # A checkpoint token that identifies the current state of the execution.
3426
+ # This token is provided by the Lambda runtime and ensures that state
3427
+ # retrieval is consistent with the current execution context.
3428
+ #
3429
+ # @option params [String] :marker
3430
+ # If `NextMarker` was returned from a previous request, use this value
3431
+ # to retrieve the next page of operations. Each pagination token expires
3432
+ # after 24 hours.
3433
+ #
3434
+ # @option params [Integer] :max_items
3435
+ # The maximum number of operations to return per call. You can use
3436
+ # `Marker` to retrieve additional pages of results. The default is 100
3437
+ # and the maximum allowed is 1000. A value of 0 uses the default.
3438
+ #
3439
+ # @return [Types::GetDurableExecutionStateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3440
+ #
3441
+ # * {Types::GetDurableExecutionStateResponse#operations #operations} => Array&lt;Types::Operation&gt;
3442
+ # * {Types::GetDurableExecutionStateResponse#next_marker #next_marker} => String
3443
+ #
3444
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3445
+ #
3446
+ # @example Request syntax with placeholder values
3447
+ #
3448
+ # resp = client.get_durable_execution_state({
3449
+ # durable_execution_arn: "DurableExecutionArn", # required
3450
+ # checkpoint_token: "CheckpointToken", # required
3451
+ # marker: "String",
3452
+ # max_items: 1,
3453
+ # })
3454
+ #
3455
+ # @example Response structure
3456
+ #
3457
+ # resp.operations #=> Array
3458
+ # resp.operations[0].id #=> String
3459
+ # resp.operations[0].parent_id #=> String
3460
+ # resp.operations[0].name #=> String
3461
+ # resp.operations[0].type #=> String, one of "EXECUTION", "CONTEXT", "STEP", "WAIT", "CALLBACK", "CHAINED_INVOKE"
3462
+ # resp.operations[0].sub_type #=> String
3463
+ # resp.operations[0].start_timestamp #=> Time
3464
+ # resp.operations[0].end_timestamp #=> Time
3465
+ # resp.operations[0].status #=> String, one of "STARTED", "PENDING", "READY", "SUCCEEDED", "FAILED", "CANCELLED", "TIMED_OUT", "STOPPED"
3466
+ # resp.operations[0].execution_details.input_payload #=> String
3467
+ # resp.operations[0].context_details.replay_children #=> Boolean
3468
+ # resp.operations[0].context_details.result #=> String
3469
+ # resp.operations[0].context_details.error.error_message #=> String
3470
+ # resp.operations[0].context_details.error.error_type #=> String
3471
+ # resp.operations[0].context_details.error.error_data #=> String
3472
+ # resp.operations[0].context_details.error.stack_trace #=> Array
3473
+ # resp.operations[0].context_details.error.stack_trace[0] #=> String
3474
+ # resp.operations[0].step_details.attempt #=> Integer
3475
+ # resp.operations[0].step_details.next_attempt_timestamp #=> Time
3476
+ # resp.operations[0].step_details.result #=> String
3477
+ # resp.operations[0].step_details.error.error_message #=> String
3478
+ # resp.operations[0].step_details.error.error_type #=> String
3479
+ # resp.operations[0].step_details.error.error_data #=> String
3480
+ # resp.operations[0].step_details.error.stack_trace #=> Array
3481
+ # resp.operations[0].step_details.error.stack_trace[0] #=> String
3482
+ # resp.operations[0].wait_details.scheduled_end_timestamp #=> Time
3483
+ # resp.operations[0].callback_details.callback_id #=> String
3484
+ # resp.operations[0].callback_details.result #=> String
3485
+ # resp.operations[0].callback_details.error.error_message #=> String
3486
+ # resp.operations[0].callback_details.error.error_type #=> String
3487
+ # resp.operations[0].callback_details.error.error_data #=> String
3488
+ # resp.operations[0].callback_details.error.stack_trace #=> Array
3489
+ # resp.operations[0].callback_details.error.stack_trace[0] #=> String
3490
+ # resp.operations[0].chained_invoke_details.result #=> String
3491
+ # resp.operations[0].chained_invoke_details.error.error_message #=> String
3492
+ # resp.operations[0].chained_invoke_details.error.error_type #=> String
3493
+ # resp.operations[0].chained_invoke_details.error.error_data #=> String
3494
+ # resp.operations[0].chained_invoke_details.error.stack_trace #=> Array
3495
+ # resp.operations[0].chained_invoke_details.error.stack_trace[0] #=> String
3496
+ # resp.next_marker #=> String
3497
+ #
3498
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecutionState AWS API Documentation
3499
+ #
3500
+ # @overload get_durable_execution_state(params = {})
3501
+ # @param [Hash] params ({})
3502
+ def get_durable_execution_state(params = {}, options = {})
3503
+ req = build_request(:get_durable_execution_state, params)
3504
+ req.send_request(options)
3505
+ end
3506
+
2794
3507
  # Returns details about an event source mapping. You can get the
2795
3508
  # identifier of a mapping from the output of ListEventSourceMappings.
2796
3509
  #
@@ -2992,6 +3705,10 @@ module Aws::Lambda
2992
3705
  # code_sha_256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
2993
3706
  # code_size: 5797206,
2994
3707
  # description: "Process image objects from Amazon S3.",
3708
+ # durable_config: {
3709
+ # execution_timeout: 31622400,
3710
+ # retention_period_in_days: 30,
3711
+ # },
2995
3712
  # environment: {
2996
3713
  # variables: {
2997
3714
  # "BUCKET" => "my-bucket-1xpuxmplzrlbh",
@@ -3024,7 +3741,7 @@ module Aws::Lambda
3024
3741
  #
3025
3742
  # resp = client.get_function({
3026
3743
  # function_name: "NamespacedFunctionName", # required
3027
- # qualifier: "Qualifier",
3744
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
3028
3745
  # })
3029
3746
  #
3030
3747
  # @example Response structure
@@ -3061,12 +3778,12 @@ module Aws::Lambda
3061
3778
  # resp.configuration.layers[0].code_size #=> Integer
3062
3779
  # resp.configuration.layers[0].signing_profile_version_arn #=> String
3063
3780
  # resp.configuration.layers[0].signing_job_arn #=> String
3064
- # resp.configuration.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
3781
+ # resp.configuration.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
3065
3782
  # resp.configuration.state_reason #=> String
3066
- # resp.configuration.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
3783
+ # resp.configuration.state_reason_code #=> String, one of "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"
3067
3784
  # resp.configuration.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
3068
3785
  # resp.configuration.last_update_status_reason #=> String
3069
- # resp.configuration.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
3786
+ # resp.configuration.last_update_status_reason_code #=> String, one of "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"
3070
3787
  # resp.configuration.file_system_configs #=> Array
3071
3788
  # resp.configuration.file_system_configs[0].arn #=> String
3072
3789
  # resp.configuration.file_system_configs[0].local_mount_path #=> String
@@ -3092,6 +3809,12 @@ module Aws::Lambda
3092
3809
  # resp.configuration.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
3093
3810
  # resp.configuration.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
3094
3811
  # resp.configuration.logging_config.log_group #=> String
3812
+ # resp.configuration.capacity_provider_config.lambda_managed_instances_capacity_provider_config.capacity_provider_arn #=> String
3813
+ # resp.configuration.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
3814
+ # resp.configuration.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
3815
+ # resp.configuration.config_sha_256 #=> String
3816
+ # resp.configuration.durable_config.retention_period_in_days #=> Integer
3817
+ # resp.configuration.durable_config.execution_timeout #=> Integer
3095
3818
  # resp.configuration.tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
3096
3819
  # resp.code.repository_type #=> String
3097
3820
  # resp.code.location #=> String
@@ -3145,7 +3868,7 @@ module Aws::Lambda
3145
3868
  # @example Request syntax with placeholder values
3146
3869
  #
3147
3870
  # resp = client.get_function_code_signing_config({
3148
- # function_name: "FunctionName", # required
3871
+ # function_name: "NamespacedFunctionName", # required
3149
3872
  # })
3150
3873
  #
3151
3874
  # @example Response structure
@@ -3284,6 +4007,9 @@ module Aws::Lambda
3284
4007
  # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
3285
4008
  # * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
3286
4009
  # * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
4010
+ # * {Types::FunctionConfiguration#capacity_provider_config #capacity_provider_config} => Types::CapacityProviderConfig
4011
+ # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
4012
+ # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
3287
4013
  # * {Types::FunctionConfiguration#tenancy_config #tenancy_config} => Types::TenancyConfig
3288
4014
  #
3289
4015
  #
@@ -3301,6 +4027,10 @@ module Aws::Lambda
3301
4027
  # code_sha_256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
3302
4028
  # code_size: 5797206,
3303
4029
  # description: "Process image objects from Amazon S3.",
4030
+ # durable_config: {
4031
+ # execution_timeout: 31622400,
4032
+ # retention_period_in_days: 30,
4033
+ # },
3304
4034
  # environment: {
3305
4035
  # variables: {
3306
4036
  # "BUCKET" => "my-bucket-1xpuxmplzrlbh",
@@ -3329,7 +4059,7 @@ module Aws::Lambda
3329
4059
  #
3330
4060
  # resp = client.get_function_configuration({
3331
4061
  # function_name: "NamespacedFunctionName", # required
3332
- # qualifier: "Qualifier",
4062
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
3333
4063
  # })
3334
4064
  #
3335
4065
  # @example Response structure
@@ -3366,12 +4096,12 @@ module Aws::Lambda
3366
4096
  # resp.layers[0].code_size #=> Integer
3367
4097
  # resp.layers[0].signing_profile_version_arn #=> String
3368
4098
  # resp.layers[0].signing_job_arn #=> String
3369
- # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
4099
+ # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
3370
4100
  # resp.state_reason #=> String
3371
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
4101
+ # resp.state_reason_code #=> String, one of "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"
3372
4102
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
3373
4103
  # resp.last_update_status_reason #=> String
3374
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
4104
+ # resp.last_update_status_reason_code #=> String, one of "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"
3375
4105
  # resp.file_system_configs #=> Array
3376
4106
  # resp.file_system_configs[0].arn #=> String
3377
4107
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -3397,6 +4127,12 @@ module Aws::Lambda
3397
4127
  # resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
3398
4128
  # resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
3399
4129
  # resp.logging_config.log_group #=> String
4130
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.capacity_provider_arn #=> String
4131
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
4132
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
4133
+ # resp.config_sha_256 #=> String
4134
+ # resp.durable_config.retention_period_in_days #=> Integer
4135
+ # resp.durable_config.execution_timeout #=> Integer
3400
4136
  # resp.tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
3401
4137
  #
3402
4138
  #
@@ -3478,8 +4214,8 @@ module Aws::Lambda
3478
4214
  # @example Request syntax with placeholder values
3479
4215
  #
3480
4216
  # resp = client.get_function_event_invoke_config({
3481
- # function_name: "FunctionName", # required
3482
- # qualifier: "Qualifier",
4217
+ # function_name: "NamespacedFunctionName", # required
4218
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
3483
4219
  # })
3484
4220
  #
3485
4221
  # @example Response structure
@@ -3507,6 +4243,7 @@ module Aws::Lambda
3507
4243
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-recursion.html
3508
4244
  #
3509
4245
  # @option params [required, String] :function_name
4246
+ # The name of the function.
3510
4247
  #
3511
4248
  # @return [Types::GetFunctionRecursionConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3512
4249
  #
@@ -3531,6 +4268,46 @@ module Aws::Lambda
3531
4268
  req.send_request(options)
3532
4269
  end
3533
4270
 
4271
+ # Retrieves the scaling configuration for a Lambda Managed Instances
4272
+ # function.
4273
+ #
4274
+ # @option params [required, String] :function_name
4275
+ # The name or ARN of the Lambda function.
4276
+ #
4277
+ # @option params [required, String] :qualifier
4278
+ # Specify a version or alias to get the scaling configuration for a
4279
+ # published version of the function.
4280
+ #
4281
+ # @return [Types::GetFunctionScalingConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4282
+ #
4283
+ # * {Types::GetFunctionScalingConfigResponse#function_arn #function_arn} => String
4284
+ # * {Types::GetFunctionScalingConfigResponse#applied_function_scaling_config #applied_function_scaling_config} => Types::FunctionScalingConfig
4285
+ # * {Types::GetFunctionScalingConfigResponse#requested_function_scaling_config #requested_function_scaling_config} => Types::FunctionScalingConfig
4286
+ #
4287
+ # @example Request syntax with placeholder values
4288
+ #
4289
+ # resp = client.get_function_scaling_config({
4290
+ # function_name: "UnqualifiedFunctionName", # required
4291
+ # qualifier: "PublishedFunctionQualifier", # required
4292
+ # })
4293
+ #
4294
+ # @example Response structure
4295
+ #
4296
+ # resp.function_arn #=> String
4297
+ # resp.applied_function_scaling_config.min_execution_environments #=> Integer
4298
+ # resp.applied_function_scaling_config.max_execution_environments #=> Integer
4299
+ # resp.requested_function_scaling_config.min_execution_environments #=> Integer
4300
+ # resp.requested_function_scaling_config.max_execution_environments #=> Integer
4301
+ #
4302
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionScalingConfig AWS API Documentation
4303
+ #
4304
+ # @overload get_function_scaling_config(params = {})
4305
+ # @param [Hash] params ({})
4306
+ def get_function_scaling_config(params = {}, options = {})
4307
+ req = build_request(:get_function_scaling_config, params)
4308
+ req.send_request(options)
4309
+ end
4310
+
3534
4311
  # Returns details about a Lambda function URL.
3535
4312
  #
3536
4313
  # @option params [required, String] :function_name
@@ -3856,7 +4633,7 @@ module Aws::Lambda
3856
4633
  #
3857
4634
  # resp = client.get_policy({
3858
4635
  # function_name: "NamespacedFunctionName", # required
3859
- # qualifier: "Qualifier",
4636
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
3860
4637
  # })
3861
4638
  #
3862
4639
  # @example Response structure
@@ -3904,9 +4681,9 @@ module Aws::Lambda
3904
4681
  # * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
3905
4682
  #
3906
4683
  #
3907
- # @example Example: To get a provisioned concurrency configuration
4684
+ # @example Example: To view a provisioned concurrency configuration
3908
4685
  #
3909
- # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
4686
+ # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
3910
4687
  # # function.
3911
4688
  #
3912
4689
  # resp = client.get_provisioned_concurrency_config({
@@ -3923,9 +4700,9 @@ module Aws::Lambda
3923
4700
  # status: "READY",
3924
4701
  # }
3925
4702
  #
3926
- # @example Example: To view a provisioned concurrency configuration
4703
+ # @example Example: To get a provisioned concurrency configuration
3927
4704
  #
3928
- # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
4705
+ # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
3929
4706
  # # function.
3930
4707
  #
3931
4708
  # resp = client.get_provisioned_concurrency_config({
@@ -4008,7 +4785,7 @@ module Aws::Lambda
4008
4785
  #
4009
4786
  # resp = client.get_runtime_management_config({
4010
4787
  # function_name: "NamespacedFunctionName", # required
4011
- # qualifier: "Qualifier",
4788
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
4012
4789
  # })
4013
4790
  #
4014
4791
  # @example Response structure
@@ -4127,6 +4904,11 @@ module Aws::Lambda
4127
4904
  # `ClientContext` object to your function for synchronous invocations
4128
4905
  # only.
4129
4906
  #
4907
+ # @option params [String] :durable_execution_name
4908
+ # Optional unique name for the durable execution. When you start your
4909
+ # special function, you can give it a unique name to identify this
4910
+ # specific execution. It's like giving a nickname to a task.
4911
+ #
4130
4912
  # @option params [String, StringIO, File] :payload
4131
4913
  # The JSON that you want to provide to your Lambda function as input.
4132
4914
  # The maximum payload size is 6 MB for synchronous invocations and 1 MB
@@ -4150,6 +4932,7 @@ module Aws::Lambda
4150
4932
  # * {Types::InvocationResponse#log_result #log_result} => String
4151
4933
  # * {Types::InvocationResponse#payload #payload} => String
4152
4934
  # * {Types::InvocationResponse#executed_version #executed_version} => String
4935
+ # * {Types::InvocationResponse#durable_execution_arn #durable_execution_arn} => String
4153
4936
  #
4154
4937
  #
4155
4938
  # @example Example: To invoke a Lambda function
@@ -4157,7 +4940,9 @@ module Aws::Lambda
4157
4940
  # # The following example invokes version 1 of a function named my-function with an empty event payload.
4158
4941
  #
4159
4942
  # resp = client.invoke({
4943
+ # durable_execution_name: "myExecution",
4160
4944
  # function_name: "my-function",
4945
+ # invocation_type: "Event",
4161
4946
  # payload: "{}",
4162
4947
  # qualifier: "1",
4163
4948
  # })
@@ -4192,8 +4977,9 @@ module Aws::Lambda
4192
4977
  # invocation_type: "Event", # accepts Event, RequestResponse, DryRun
4193
4978
  # log_type: "None", # accepts None, Tail
4194
4979
  # client_context: "String",
4980
+ # durable_execution_name: "DurableExecutionName",
4195
4981
  # payload: "data",
4196
- # qualifier: "Qualifier",
4982
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
4197
4983
  # tenant_id: "TenantId",
4198
4984
  # })
4199
4985
  #
@@ -4204,6 +4990,7 @@ module Aws::Lambda
4204
4990
  # resp.log_result #=> String
4205
4991
  # resp.payload #=> String
4206
4992
  # resp.executed_version #=> String
4993
+ # resp.durable_execution_arn #=> String
4207
4994
  #
4208
4995
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Invoke AWS API Documentation
4209
4996
  #
@@ -4463,7 +5250,7 @@ module Aws::Lambda
4463
5250
  # invocation_type: "RequestResponse", # accepts RequestResponse, DryRun
4464
5251
  # log_type: "None", # accepts None, Tail
4465
5252
  # client_context: "String",
4466
- # qualifier: "Qualifier",
5253
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
4467
5254
  # payload: "data",
4468
5255
  # tenant_id: "TenantId",
4469
5256
  # })
@@ -4590,7 +5377,7 @@ module Aws::Lambda
4590
5377
  #
4591
5378
  # resp = client.list_aliases({
4592
5379
  # function_name: "FunctionName", # required
4593
- # function_version: "Version",
5380
+ # function_version: "VersionWithLatestPublished",
4594
5381
  # marker: "String",
4595
5382
  # max_items: 1,
4596
5383
  # })
@@ -4616,6 +5403,67 @@ module Aws::Lambda
4616
5403
  req.send_request(options)
4617
5404
  end
4618
5405
 
5406
+ # Returns a list of capacity providers in your account.
5407
+ #
5408
+ # @option params [String] :state
5409
+ # Filter capacity providers by their current state.
5410
+ #
5411
+ # @option params [String] :marker
5412
+ # Specify the pagination token that's returned by a previous request to
5413
+ # retrieve the next page of results.
5414
+ #
5415
+ # @option params [Integer] :max_items
5416
+ # The maximum number of capacity providers to return.
5417
+ #
5418
+ # @return [Types::ListCapacityProvidersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5419
+ #
5420
+ # * {Types::ListCapacityProvidersResponse#capacity_providers #capacity_providers} => Array&lt;Types::CapacityProvider&gt;
5421
+ # * {Types::ListCapacityProvidersResponse#next_marker #next_marker} => String
5422
+ #
5423
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5424
+ #
5425
+ # @example Request syntax with placeholder values
5426
+ #
5427
+ # resp = client.list_capacity_providers({
5428
+ # state: "Pending", # accepts Pending, Active, Failed, Deleting
5429
+ # marker: "String",
5430
+ # max_items: 1,
5431
+ # })
5432
+ #
5433
+ # @example Response structure
5434
+ #
5435
+ # resp.capacity_providers #=> Array
5436
+ # resp.capacity_providers[0].capacity_provider_arn #=> String
5437
+ # resp.capacity_providers[0].state #=> String, one of "Pending", "Active", "Failed", "Deleting"
5438
+ # resp.capacity_providers[0].vpc_config.subnet_ids #=> Array
5439
+ # resp.capacity_providers[0].vpc_config.subnet_ids[0] #=> String
5440
+ # resp.capacity_providers[0].vpc_config.security_group_ids #=> Array
5441
+ # resp.capacity_providers[0].vpc_config.security_group_ids[0] #=> String
5442
+ # resp.capacity_providers[0].permissions_config.capacity_provider_operator_role_arn #=> String
5443
+ # resp.capacity_providers[0].instance_requirements.architectures #=> Array
5444
+ # resp.capacity_providers[0].instance_requirements.architectures[0] #=> String, one of "x86_64", "arm64"
5445
+ # resp.capacity_providers[0].instance_requirements.allowed_instance_types #=> Array
5446
+ # resp.capacity_providers[0].instance_requirements.allowed_instance_types[0] #=> String
5447
+ # resp.capacity_providers[0].instance_requirements.excluded_instance_types #=> Array
5448
+ # resp.capacity_providers[0].instance_requirements.excluded_instance_types[0] #=> String
5449
+ # resp.capacity_providers[0].capacity_provider_scaling_config.max_v_cpu_count #=> Integer
5450
+ # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
5451
+ # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_policies #=> Array
5452
+ # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization"
5453
+ # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
5454
+ # resp.capacity_providers[0].kms_key_arn #=> String
5455
+ # resp.capacity_providers[0].last_modified #=> Time
5456
+ # resp.next_marker #=> String
5457
+ #
5458
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCapacityProviders AWS API Documentation
5459
+ #
5460
+ # @overload list_capacity_providers(params = {})
5461
+ # @param [Hash] params ({})
5462
+ def list_capacity_providers(params = {}, options = {})
5463
+ req = build_request(:list_capacity_providers, params)
5464
+ req.send_request(options)
5465
+ end
5466
+
4619
5467
  # Returns a list of [code signing configurations][1]. A request returns
4620
5468
  # up to 10,000 configurations per call. You can use the `MaxItems`
4621
5469
  # parameter to return fewer configurations per call.
@@ -4666,6 +5514,89 @@ module Aws::Lambda
4666
5514
  req.send_request(options)
4667
5515
  end
4668
5516
 
5517
+ # Returns a list of [durable executions][1] for a specified Lambda
5518
+ # function. You can filter the results by execution name, status, and
5519
+ # start time range. This API supports pagination for large result sets.
5520
+ #
5521
+ #
5522
+ #
5523
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
5524
+ #
5525
+ # @option params [required, String] :function_name
5526
+ # The name or ARN of the Lambda function. You can specify a function
5527
+ # name, a partial ARN, or a full ARN.
5528
+ #
5529
+ # @option params [String] :qualifier
5530
+ # The function version or alias. If not specified, lists executions for
5531
+ # the $LATEST version.
5532
+ #
5533
+ # @option params [String] :durable_execution_name
5534
+ # Filter executions by name. Only executions with names that contain
5535
+ # this string are returned.
5536
+ #
5537
+ # @option params [Array<String>] :statuses
5538
+ # Filter executions by status. Valid values: RUNNING, SUCCEEDED, FAILED,
5539
+ # TIMED\_OUT, STOPPED.
5540
+ #
5541
+ # @option params [Time,DateTime,Date,Integer,String] :started_after
5542
+ # Filter executions that started after this timestamp (ISO 8601 format).
5543
+ #
5544
+ # @option params [Time,DateTime,Date,Integer,String] :started_before
5545
+ # Filter executions that started before this timestamp (ISO 8601
5546
+ # format).
5547
+ #
5548
+ # @option params [Boolean] :reverse_order
5549
+ # Set to true to return results in reverse chronological order (newest
5550
+ # first). Default is false.
5551
+ #
5552
+ # @option params [String] :marker
5553
+ # Pagination token from a previous request to continue retrieving
5554
+ # results.
5555
+ #
5556
+ # @option params [Integer] :max_items
5557
+ # Maximum number of executions to return (1-1000). Default is 100.
5558
+ #
5559
+ # @return [Types::ListDurableExecutionsByFunctionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5560
+ #
5561
+ # * {Types::ListDurableExecutionsByFunctionResponse#durable_executions #durable_executions} => Array&lt;Types::Execution&gt;
5562
+ # * {Types::ListDurableExecutionsByFunctionResponse#next_marker #next_marker} => String
5563
+ #
5564
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5565
+ #
5566
+ # @example Request syntax with placeholder values
5567
+ #
5568
+ # resp = client.list_durable_executions_by_function({
5569
+ # function_name: "NamespacedFunctionName", # required
5570
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
5571
+ # durable_execution_name: "DurableExecutionName",
5572
+ # statuses: ["RUNNING"], # accepts RUNNING, SUCCEEDED, FAILED, TIMED_OUT, STOPPED
5573
+ # started_after: Time.now,
5574
+ # started_before: Time.now,
5575
+ # reverse_order: false,
5576
+ # marker: "String",
5577
+ # max_items: 1,
5578
+ # })
5579
+ #
5580
+ # @example Response structure
5581
+ #
5582
+ # resp.durable_executions #=> Array
5583
+ # resp.durable_executions[0].durable_execution_arn #=> String
5584
+ # resp.durable_executions[0].durable_execution_name #=> String
5585
+ # resp.durable_executions[0].function_arn #=> String
5586
+ # resp.durable_executions[0].status #=> String, one of "RUNNING", "SUCCEEDED", "FAILED", "TIMED_OUT", "STOPPED"
5587
+ # resp.durable_executions[0].start_timestamp #=> Time
5588
+ # resp.durable_executions[0].end_timestamp #=> Time
5589
+ # resp.next_marker #=> String
5590
+ #
5591
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListDurableExecutionsByFunction AWS API Documentation
5592
+ #
5593
+ # @overload list_durable_executions_by_function(params = {})
5594
+ # @param [Hash] params ({})
5595
+ def list_durable_executions_by_function(params = {}, options = {})
5596
+ req = build_request(:list_durable_executions_by_function, params)
5597
+ req.send_request(options)
5598
+ end
5599
+
4669
5600
  # Lists event source mappings. Specify an `EventSourceArn` to show only
4670
5601
  # event source mappings for a single event source.
4671
5602
  #
@@ -4752,7 +5683,7 @@ module Aws::Lambda
4752
5683
  #
4753
5684
  # resp = client.list_event_source_mappings({
4754
5685
  # event_source_arn: "Arn",
4755
- # function_name: "FunctionName",
5686
+ # function_name: "NamespacedFunctionName",
4756
5687
  # marker: "String",
4757
5688
  # max_items: 1,
4758
5689
  # })
@@ -4897,7 +5828,7 @@ module Aws::Lambda
4897
5828
  # @example Request syntax with placeholder values
4898
5829
  #
4899
5830
  # resp = client.list_function_event_invoke_configs({
4900
- # function_name: "FunctionName", # required
5831
+ # function_name: "NamespacedFunctionName", # required
4901
5832
  # marker: "String",
4902
5833
  # max_items: 1,
4903
5834
  # })
@@ -4993,6 +5924,52 @@ module Aws::Lambda
4993
5924
  req.send_request(options)
4994
5925
  end
4995
5926
 
5927
+ # Returns a list of function versions that are configured to use a
5928
+ # specific capacity provider.
5929
+ #
5930
+ # @option params [required, String] :capacity_provider_name
5931
+ # The name of the capacity provider to list function versions for.
5932
+ #
5933
+ # @option params [String] :marker
5934
+ # Specify the pagination token that's returned by a previous request to
5935
+ # retrieve the next page of results.
5936
+ #
5937
+ # @option params [Integer] :max_items
5938
+ # The maximum number of function versions to return in the response.
5939
+ #
5940
+ # @return [Types::ListFunctionVersionsByCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5941
+ #
5942
+ # * {Types::ListFunctionVersionsByCapacityProviderResponse#capacity_provider_arn #capacity_provider_arn} => String
5943
+ # * {Types::ListFunctionVersionsByCapacityProviderResponse#function_versions #function_versions} => Array&lt;Types::FunctionVersionsByCapacityProviderListItem&gt;
5944
+ # * {Types::ListFunctionVersionsByCapacityProviderResponse#next_marker #next_marker} => String
5945
+ #
5946
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5947
+ #
5948
+ # @example Request syntax with placeholder values
5949
+ #
5950
+ # resp = client.list_function_versions_by_capacity_provider({
5951
+ # capacity_provider_name: "CapacityProviderName", # required
5952
+ # marker: "String",
5953
+ # max_items: 1,
5954
+ # })
5955
+ #
5956
+ # @example Response structure
5957
+ #
5958
+ # resp.capacity_provider_arn #=> String
5959
+ # resp.function_versions #=> Array
5960
+ # resp.function_versions[0].function_arn #=> String
5961
+ # resp.function_versions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
5962
+ # resp.next_marker #=> String
5963
+ #
5964
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionVersionsByCapacityProvider AWS API Documentation
5965
+ #
5966
+ # @overload list_function_versions_by_capacity_provider(params = {})
5967
+ # @param [Hash] params ({})
5968
+ def list_function_versions_by_capacity_provider(params = {}, options = {})
5969
+ req = build_request(:list_function_versions_by_capacity_provider, params)
5970
+ req.send_request(options)
5971
+ end
5972
+
4996
5973
  # Returns a list of Lambda functions, with the version-specific
4997
5974
  # configuration of each. Lambda returns up to 50 functions per call.
4998
5975
  #
@@ -5067,6 +6044,10 @@ module Aws::Lambda
5067
6044
  # code_sha_256: "sU0cJ2/hOZevwV/lTxCuQqK3gDZP3i8gUoqUUVRmY6E=",
5068
6045
  # code_size: 266,
5069
6046
  # description: "",
6047
+ # durable_config: {
6048
+ # execution_timeout: 31622400,
6049
+ # retention_period_in_days: 30,
6050
+ # },
5070
6051
  # function_arn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
5071
6052
  # function_name: "my-function",
5072
6053
  # handler: "index.handler",
@@ -5137,12 +6118,12 @@ module Aws::Lambda
5137
6118
  # resp.functions[0].layers[0].code_size #=> Integer
5138
6119
  # resp.functions[0].layers[0].signing_profile_version_arn #=> String
5139
6120
  # resp.functions[0].layers[0].signing_job_arn #=> String
5140
- # resp.functions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed"
6121
+ # resp.functions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
5141
6122
  # resp.functions[0].state_reason #=> String
5142
- # resp.functions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
6123
+ # resp.functions[0].state_reason_code #=> String, one of "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"
5143
6124
  # resp.functions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
5144
6125
  # resp.functions[0].last_update_status_reason #=> String
5145
- # resp.functions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
6126
+ # resp.functions[0].last_update_status_reason_code #=> String, one of "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"
5146
6127
  # resp.functions[0].file_system_configs #=> Array
5147
6128
  # resp.functions[0].file_system_configs[0].arn #=> String
5148
6129
  # resp.functions[0].file_system_configs[0].local_mount_path #=> String
@@ -5168,6 +6149,12 @@ module Aws::Lambda
5168
6149
  # resp.functions[0].logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
5169
6150
  # resp.functions[0].logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
5170
6151
  # resp.functions[0].logging_config.log_group #=> String
6152
+ # resp.functions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.capacity_provider_arn #=> String
6153
+ # resp.functions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
6154
+ # resp.functions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
6155
+ # resp.functions[0].config_sha_256 #=> String
6156
+ # resp.functions[0].durable_config.retention_period_in_days #=> Integer
6157
+ # resp.functions[0].durable_config.execution_timeout #=> Integer
5171
6158
  # resp.functions[0].tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
5172
6159
  #
5173
6160
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
@@ -5645,6 +6632,10 @@ module Aws::Lambda
5645
6632
  # code_sha_256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
5646
6633
  # code_size: 5797206,
5647
6634
  # description: "Process image objects from Amazon S3.",
6635
+ # durable_config: {
6636
+ # execution_timeout: 31622400,
6637
+ # retention_period_in_days: 30,
6638
+ # },
5648
6639
  # environment: {
5649
6640
  # variables: {
5650
6641
  # "BUCKET" => "my-bucket-1xpuxmplzrlbh",
@@ -5670,6 +6661,10 @@ module Aws::Lambda
5670
6661
  # code_sha_256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
5671
6662
  # code_size: 5797206,
5672
6663
  # description: "Process image objects from Amazon S3.",
6664
+ # durable_config: {
6665
+ # execution_timeout: 31622400,
6666
+ # retention_period_in_days: 30,
6667
+ # },
5673
6668
  # environment: {
5674
6669
  # variables: {
5675
6670
  # "BUCKET" => "my-bucket-1xpuxmplzrlbh",
@@ -5738,12 +6733,12 @@ module Aws::Lambda
5738
6733
  # resp.versions[0].layers[0].code_size #=> Integer
5739
6734
  # resp.versions[0].layers[0].signing_profile_version_arn #=> String
5740
6735
  # resp.versions[0].layers[0].signing_job_arn #=> String
5741
- # resp.versions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed"
6736
+ # resp.versions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
5742
6737
  # resp.versions[0].state_reason #=> String
5743
- # resp.versions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
6738
+ # resp.versions[0].state_reason_code #=> String, one of "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"
5744
6739
  # resp.versions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
5745
6740
  # resp.versions[0].last_update_status_reason #=> String
5746
- # resp.versions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
6741
+ # resp.versions[0].last_update_status_reason_code #=> String, one of "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"
5747
6742
  # resp.versions[0].file_system_configs #=> Array
5748
6743
  # resp.versions[0].file_system_configs[0].arn #=> String
5749
6744
  # resp.versions[0].file_system_configs[0].local_mount_path #=> String
@@ -5769,6 +6764,12 @@ module Aws::Lambda
5769
6764
  # resp.versions[0].logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
5770
6765
  # resp.versions[0].logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
5771
6766
  # resp.versions[0].logging_config.log_group #=> String
6767
+ # resp.versions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.capacity_provider_arn #=> String
6768
+ # resp.versions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
6769
+ # resp.versions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
6770
+ # resp.versions[0].config_sha_256 #=> String
6771
+ # resp.versions[0].durable_config.retention_period_in_days #=> Integer
6772
+ # resp.versions[0].durable_config.execution_timeout #=> Integer
5772
6773
  # resp.versions[0].tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
5773
6774
  #
5774
6775
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
@@ -5974,6 +6975,9 @@ module Aws::Lambda
5974
6975
  # specified. Use this option to avoid publishing a version if the
5975
6976
  # function configuration has changed since you last updated it.
5976
6977
  #
6978
+ # @option params [String] :publish_to
6979
+ # Specifies where to publish the function version or configuration.
6980
+ #
5977
6981
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5978
6982
  #
5979
6983
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -6012,6 +7016,9 @@ module Aws::Lambda
6012
7016
  # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
6013
7017
  # * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
6014
7018
  # * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
7019
+ # * {Types::FunctionConfiguration#capacity_provider_config #capacity_provider_config} => Types::CapacityProviderConfig
7020
+ # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
7021
+ # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
6015
7022
  # * {Types::FunctionConfiguration#tenancy_config #tenancy_config} => Types::TenancyConfig
6016
7023
  #
6017
7024
  #
@@ -6061,6 +7068,7 @@ module Aws::Lambda
6061
7068
  # code_sha_256: "String",
6062
7069
  # description: "Description",
6063
7070
  # revision_id: "String",
7071
+ # publish_to: "LATEST_PUBLISHED", # accepts LATEST_PUBLISHED
6064
7072
  # })
6065
7073
  #
6066
7074
  # @example Response structure
@@ -6097,12 +7105,12 @@ module Aws::Lambda
6097
7105
  # resp.layers[0].code_size #=> Integer
6098
7106
  # resp.layers[0].signing_profile_version_arn #=> String
6099
7107
  # resp.layers[0].signing_job_arn #=> String
6100
- # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
7108
+ # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
6101
7109
  # resp.state_reason #=> String
6102
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
7110
+ # resp.state_reason_code #=> String, one of "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"
6103
7111
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
6104
7112
  # resp.last_update_status_reason #=> String
6105
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
7113
+ # resp.last_update_status_reason_code #=> String, one of "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"
6106
7114
  # resp.file_system_configs #=> Array
6107
7115
  # resp.file_system_configs[0].arn #=> String
6108
7116
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -6128,6 +7136,12 @@ module Aws::Lambda
6128
7136
  # resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
6129
7137
  # resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
6130
7138
  # resp.logging_config.log_group #=> String
7139
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.capacity_provider_arn #=> String
7140
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
7141
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
7142
+ # resp.config_sha_256 #=> String
7143
+ # resp.durable_config.retention_period_in_days #=> Integer
7144
+ # resp.durable_config.execution_timeout #=> Integer
6131
7145
  # resp.tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
6132
7146
  #
6133
7147
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
@@ -6170,7 +7184,7 @@ module Aws::Lambda
6170
7184
  #
6171
7185
  # resp = client.put_function_code_signing_config({
6172
7186
  # code_signing_config_arn: "CodeSigningConfigArn", # required
6173
- # function_name: "FunctionName", # required
7187
+ # function_name: "NamespacedFunctionName", # required
6174
7188
  # })
6175
7189
  #
6176
7190
  # @example Response structure
@@ -6378,8 +7392,8 @@ module Aws::Lambda
6378
7392
  # @example Request syntax with placeholder values
6379
7393
  #
6380
7394
  # resp = client.put_function_event_invoke_config({
6381
- # function_name: "FunctionName", # required
6382
- # qualifier: "Qualifier",
7395
+ # function_name: "NamespacedFunctionName", # required
7396
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
6383
7397
  # maximum_retry_attempts: 1,
6384
7398
  # maximum_event_age_in_seconds: 1,
6385
7399
  # destination_config: {
@@ -6495,6 +7509,51 @@ module Aws::Lambda
6495
7509
  req.send_request(options)
6496
7510
  end
6497
7511
 
7512
+ # Sets the scaling configuration for a Lambda Managed Instances
7513
+ # function. The scaling configuration defines the minimum and maximum
7514
+ # number of execution environments that can be provisioned for the
7515
+ # function, allowing you to control scaling behavior and resource
7516
+ # allocation.
7517
+ #
7518
+ # @option params [required, String] :function_name
7519
+ # The name or ARN of the Lambda function.
7520
+ #
7521
+ # @option params [required, String] :qualifier
7522
+ # Specify a version or alias to set the scaling configuration for a
7523
+ # published version of the function.
7524
+ #
7525
+ # @option params [Types::FunctionScalingConfig] :function_scaling_config
7526
+ # The scaling configuration to apply to the function, including minimum
7527
+ # and maximum execution environment limits.
7528
+ #
7529
+ # @return [Types::PutFunctionScalingConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7530
+ #
7531
+ # * {Types::PutFunctionScalingConfigResponse#function_state #function_state} => String
7532
+ #
7533
+ # @example Request syntax with placeholder values
7534
+ #
7535
+ # resp = client.put_function_scaling_config({
7536
+ # function_name: "UnqualifiedFunctionName", # required
7537
+ # qualifier: "PublishedFunctionQualifier", # required
7538
+ # function_scaling_config: {
7539
+ # min_execution_environments: 1,
7540
+ # max_execution_environments: 1,
7541
+ # },
7542
+ # })
7543
+ #
7544
+ # @example Response structure
7545
+ #
7546
+ # resp.function_state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
7547
+ #
7548
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionScalingConfig AWS API Documentation
7549
+ #
7550
+ # @overload put_function_scaling_config(params = {})
7551
+ # @param [Hash] params ({})
7552
+ def put_function_scaling_config(params = {}, options = {})
7553
+ req = build_request(:put_function_scaling_config, params)
7554
+ req.send_request(options)
7555
+ end
7556
+
6498
7557
  # Adds a provisioned concurrency configuration to a function's alias or
6499
7558
  # version.
6500
7559
  #
@@ -6646,8 +7705,8 @@ module Aws::Lambda
6646
7705
  # @example Request syntax with placeholder values
6647
7706
  #
6648
7707
  # resp = client.put_runtime_management_config({
6649
- # function_name: "FunctionName", # required
6650
- # qualifier: "Qualifier",
7708
+ # function_name: "NamespacedFunctionName", # required
7709
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
6651
7710
  # update_runtime_on: "Auto", # required, accepts Auto, Manual, FunctionUpdate
6652
7711
  # runtime_version_arn: "RuntimeVersionArn",
6653
7712
  # })
@@ -6770,9 +7829,9 @@ module Aws::Lambda
6770
7829
  # @example Request syntax with placeholder values
6771
7830
  #
6772
7831
  # resp = client.remove_permission({
6773
- # function_name: "FunctionName", # required
7832
+ # function_name: "NamespacedFunctionName", # required
6774
7833
  # statement_id: "NamespacedStatementId", # required
6775
- # qualifier: "Qualifier",
7834
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
6776
7835
  # revision_id: "String",
6777
7836
  # })
6778
7837
  #
@@ -6785,6 +7844,135 @@ module Aws::Lambda
6785
7844
  req.send_request(options)
6786
7845
  end
6787
7846
 
7847
+ # Sends a failure response for a callback operation in a durable
7848
+ # execution. Use this API when an external system cannot complete a
7849
+ # callback operation successfully.
7850
+ #
7851
+ # @option params [required, String] :callback_id
7852
+ # The unique identifier for the callback operation.
7853
+ #
7854
+ # @option params [Types::ErrorObject] :error
7855
+ # Error details describing why the callback operation failed.
7856
+ #
7857
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7858
+ #
7859
+ # @example Request syntax with placeholder values
7860
+ #
7861
+ # resp = client.send_durable_execution_callback_failure({
7862
+ # callback_id: "CallbackId", # required
7863
+ # error: {
7864
+ # error_message: "ErrorMessage",
7865
+ # error_type: "ErrorType",
7866
+ # error_data: "ErrorData",
7867
+ # stack_trace: ["StackTraceEntry"],
7868
+ # },
7869
+ # })
7870
+ #
7871
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SendDurableExecutionCallbackFailure AWS API Documentation
7872
+ #
7873
+ # @overload send_durable_execution_callback_failure(params = {})
7874
+ # @param [Hash] params ({})
7875
+ def send_durable_execution_callback_failure(params = {}, options = {})
7876
+ req = build_request(:send_durable_execution_callback_failure, params)
7877
+ req.send_request(options)
7878
+ end
7879
+
7880
+ # Sends a heartbeat signal for a long-running callback operation to
7881
+ # prevent timeout. Use this API to extend the callback timeout period
7882
+ # while the external operation is still in progress.
7883
+ #
7884
+ # @option params [required, String] :callback_id
7885
+ # The unique identifier for the callback operation.
7886
+ #
7887
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7888
+ #
7889
+ # @example Request syntax with placeholder values
7890
+ #
7891
+ # resp = client.send_durable_execution_callback_heartbeat({
7892
+ # callback_id: "CallbackId", # required
7893
+ # })
7894
+ #
7895
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SendDurableExecutionCallbackHeartbeat AWS API Documentation
7896
+ #
7897
+ # @overload send_durable_execution_callback_heartbeat(params = {})
7898
+ # @param [Hash] params ({})
7899
+ def send_durable_execution_callback_heartbeat(params = {}, options = {})
7900
+ req = build_request(:send_durable_execution_callback_heartbeat, params)
7901
+ req.send_request(options)
7902
+ end
7903
+
7904
+ # Sends a successful completion response for a callback operation in a
7905
+ # durable execution. Use this API when an external system has
7906
+ # successfully completed a callback operation.
7907
+ #
7908
+ # @option params [required, String] :callback_id
7909
+ # The unique identifier for the callback operation.
7910
+ #
7911
+ # @option params [String, StringIO, File] :result
7912
+ # The result data from the successful callback operation. Maximum size
7913
+ # is 256 KB.
7914
+ #
7915
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7916
+ #
7917
+ # @example Request syntax with placeholder values
7918
+ #
7919
+ # resp = client.send_durable_execution_callback_success({
7920
+ # callback_id: "CallbackId", # required
7921
+ # result: "data",
7922
+ # })
7923
+ #
7924
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SendDurableExecutionCallbackSuccess AWS API Documentation
7925
+ #
7926
+ # @overload send_durable_execution_callback_success(params = {})
7927
+ # @param [Hash] params ({})
7928
+ def send_durable_execution_callback_success(params = {}, options = {})
7929
+ req = build_request(:send_durable_execution_callback_success, params)
7930
+ req.send_request(options)
7931
+ end
7932
+
7933
+ # Stops a running [durable execution][1]. The execution transitions to
7934
+ # STOPPED status and cannot be resumed. Any in-progress operations are
7935
+ # terminated.
7936
+ #
7937
+ #
7938
+ #
7939
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
7940
+ #
7941
+ # @option params [required, String] :durable_execution_arn
7942
+ # The Amazon Resource Name (ARN) of the durable execution.
7943
+ #
7944
+ # @option params [Types::ErrorObject] :error
7945
+ # Optional error details explaining why the execution is being stopped.
7946
+ #
7947
+ # @return [Types::StopDurableExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7948
+ #
7949
+ # * {Types::StopDurableExecutionResponse#stop_timestamp #stop_timestamp} => Time
7950
+ #
7951
+ # @example Request syntax with placeholder values
7952
+ #
7953
+ # resp = client.stop_durable_execution({
7954
+ # durable_execution_arn: "DurableExecutionArn", # required
7955
+ # error: {
7956
+ # error_message: "ErrorMessage",
7957
+ # error_type: "ErrorType",
7958
+ # error_data: "ErrorData",
7959
+ # stack_trace: ["StackTraceEntry"],
7960
+ # },
7961
+ # })
7962
+ #
7963
+ # @example Response structure
7964
+ #
7965
+ # resp.stop_timestamp #=> Time
7966
+ #
7967
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/StopDurableExecution AWS API Documentation
7968
+ #
7969
+ # @overload stop_durable_execution(params = {})
7970
+ # @param [Hash] params ({})
7971
+ def stop_durable_execution(params = {}, options = {})
7972
+ req = build_request(:stop_durable_execution, params)
7973
+ req.send_request(options)
7974
+ end
7975
+
6788
7976
  # Adds [tags][1] to a function, event source mapping, or code signing
6789
7977
  # configuration.
6790
7978
  #
@@ -6960,7 +8148,7 @@ module Aws::Lambda
6960
8148
  # resp = client.update_alias({
6961
8149
  # function_name: "FunctionName", # required
6962
8150
  # name: "Alias", # required
6963
- # function_version: "Version",
8151
+ # function_version: "VersionWithLatestPublished",
6964
8152
  # description: "Description",
6965
8153
  # routing_config: {
6966
8154
  # additional_version_weights: {
@@ -6989,6 +8177,66 @@ module Aws::Lambda
6989
8177
  req.send_request(options)
6990
8178
  end
6991
8179
 
8180
+ # Updates the configuration of an existing capacity provider.
8181
+ #
8182
+ # @option params [required, String] :capacity_provider_name
8183
+ # The name of the capacity provider to update.
8184
+ #
8185
+ # @option params [Types::CapacityProviderScalingConfig] :capacity_provider_scaling_config
8186
+ # The updated scaling configuration for the capacity provider.
8187
+ #
8188
+ # @return [Types::UpdateCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8189
+ #
8190
+ # * {Types::UpdateCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
8191
+ #
8192
+ # @example Request syntax with placeholder values
8193
+ #
8194
+ # resp = client.update_capacity_provider({
8195
+ # capacity_provider_name: "CapacityProviderName", # required
8196
+ # capacity_provider_scaling_config: {
8197
+ # max_v_cpu_count: 1,
8198
+ # scaling_mode: "Auto", # accepts Auto, Manual
8199
+ # scaling_policies: [
8200
+ # {
8201
+ # predefined_metric_type: "LambdaCapacityProviderAverageCPUUtilization", # required, accepts LambdaCapacityProviderAverageCPUUtilization
8202
+ # target_value: 1.0, # required
8203
+ # },
8204
+ # ],
8205
+ # },
8206
+ # })
8207
+ #
8208
+ # @example Response structure
8209
+ #
8210
+ # resp.capacity_provider.capacity_provider_arn #=> String
8211
+ # resp.capacity_provider.state #=> String, one of "Pending", "Active", "Failed", "Deleting"
8212
+ # resp.capacity_provider.vpc_config.subnet_ids #=> Array
8213
+ # resp.capacity_provider.vpc_config.subnet_ids[0] #=> String
8214
+ # resp.capacity_provider.vpc_config.security_group_ids #=> Array
8215
+ # resp.capacity_provider.vpc_config.security_group_ids[0] #=> String
8216
+ # resp.capacity_provider.permissions_config.capacity_provider_operator_role_arn #=> String
8217
+ # resp.capacity_provider.instance_requirements.architectures #=> Array
8218
+ # resp.capacity_provider.instance_requirements.architectures[0] #=> String, one of "x86_64", "arm64"
8219
+ # resp.capacity_provider.instance_requirements.allowed_instance_types #=> Array
8220
+ # resp.capacity_provider.instance_requirements.allowed_instance_types[0] #=> String
8221
+ # resp.capacity_provider.instance_requirements.excluded_instance_types #=> Array
8222
+ # resp.capacity_provider.instance_requirements.excluded_instance_types[0] #=> String
8223
+ # resp.capacity_provider.capacity_provider_scaling_config.max_v_cpu_count #=> Integer
8224
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
8225
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies #=> Array
8226
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization"
8227
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
8228
+ # resp.capacity_provider.kms_key_arn #=> String
8229
+ # resp.capacity_provider.last_modified #=> Time
8230
+ #
8231
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCapacityProvider AWS API Documentation
8232
+ #
8233
+ # @overload update_capacity_provider(params = {})
8234
+ # @param [Hash] params ({})
8235
+ def update_capacity_provider(params = {}, options = {})
8236
+ req = build_request(:update_capacity_provider, params)
8237
+ req.send_request(options)
8238
+ end
8239
+
6992
8240
  # Update the code signing configuration. Changes to the code signing
6993
8241
  # configuration take effect the next time a user tries to deploy a code
6994
8242
  # package to the function.
@@ -7348,7 +8596,7 @@ module Aws::Lambda
7348
8596
  #
7349
8597
  # resp = client.update_event_source_mapping({
7350
8598
  # uuid: "String", # required
7351
- # function_name: "FunctionName",
8599
+ # function_name: "NamespacedFunctionName",
7352
8600
  # enabled: false,
7353
8601
  # batch_size: 1,
7354
8602
  # filter_criteria: {
@@ -7601,6 +8849,9 @@ module Aws::Lambda
7601
8849
  # you don't provide a customer managed key, Lambda uses an Amazon Web
7602
8850
  # Services managed key.
7603
8851
  #
8852
+ # @option params [String] :publish_to
8853
+ # Specifies where to publish the function version or configuration.
8854
+ #
7604
8855
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7605
8856
  #
7606
8857
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -7639,6 +8890,9 @@ module Aws::Lambda
7639
8890
  # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
7640
8891
  # * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
7641
8892
  # * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
8893
+ # * {Types::FunctionConfiguration#capacity_provider_config #capacity_provider_config} => Types::CapacityProviderConfig
8894
+ # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
8895
+ # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
7642
8896
  # * {Types::FunctionConfiguration#tenancy_config #tenancy_config} => Types::TenancyConfig
7643
8897
  #
7644
8898
  #
@@ -7687,6 +8941,7 @@ module Aws::Lambda
7687
8941
  # revision_id: "String",
7688
8942
  # architectures: ["x86_64"], # accepts x86_64, arm64
7689
8943
  # source_kms_key_arn: "KMSKeyArn",
8944
+ # publish_to: "LATEST_PUBLISHED", # accepts LATEST_PUBLISHED
7690
8945
  # })
7691
8946
  #
7692
8947
  # @example Response structure
@@ -7723,12 +8978,12 @@ module Aws::Lambda
7723
8978
  # resp.layers[0].code_size #=> Integer
7724
8979
  # resp.layers[0].signing_profile_version_arn #=> String
7725
8980
  # resp.layers[0].signing_job_arn #=> String
7726
- # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
8981
+ # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
7727
8982
  # resp.state_reason #=> String
7728
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
8983
+ # resp.state_reason_code #=> String, one of "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"
7729
8984
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
7730
8985
  # resp.last_update_status_reason #=> String
7731
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
8986
+ # resp.last_update_status_reason_code #=> String, one of "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"
7732
8987
  # resp.file_system_configs #=> Array
7733
8988
  # resp.file_system_configs[0].arn #=> String
7734
8989
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -7754,6 +9009,12 @@ module Aws::Lambda
7754
9009
  # resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
7755
9010
  # resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
7756
9011
  # resp.logging_config.log_group #=> String
9012
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.capacity_provider_arn #=> String
9013
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
9014
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
9015
+ # resp.config_sha_256 #=> String
9016
+ # resp.durable_config.retention_period_in_days #=> Integer
9017
+ # resp.durable_config.execution_timeout #=> Integer
7757
9018
  # resp.tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
7758
9019
  #
7759
9020
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
@@ -7965,6 +9226,15 @@ module Aws::Lambda
7965
9226
  # @option params [Types::LoggingConfig] :logging_config
7966
9227
  # The function's Amazon CloudWatch Logs configuration settings.
7967
9228
  #
9229
+ # @option params [Types::CapacityProviderConfig] :capacity_provider_config
9230
+ # Configuration for the capacity provider that manages compute resources
9231
+ # for Lambda functions.
9232
+ #
9233
+ # @option params [Types::DurableConfig] :durable_config
9234
+ # Configuration settings for durable functions. Allows updating
9235
+ # execution timeout and retention period for functions with durability
9236
+ # enabled.
9237
+ #
7968
9238
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7969
9239
  #
7970
9240
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -8003,6 +9273,9 @@ module Aws::Lambda
8003
9273
  # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
8004
9274
  # * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
8005
9275
  # * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
9276
+ # * {Types::FunctionConfiguration#capacity_provider_config #capacity_provider_config} => Types::CapacityProviderConfig
9277
+ # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
9278
+ # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
8006
9279
  # * {Types::FunctionConfiguration#tenancy_config #tenancy_config} => Types::TenancyConfig
8007
9280
  #
8008
9281
  #
@@ -8012,6 +9285,10 @@ module Aws::Lambda
8012
9285
  # # my-function.
8013
9286
  #
8014
9287
  # resp = client.update_function_configuration({
9288
+ # durable_config: {
9289
+ # execution_timeout: 3600,
9290
+ # retention_period_in_days: 45,
9291
+ # },
8015
9292
  # function_name: "my-function",
8016
9293
  # memory_size: 256,
8017
9294
  # })
@@ -8021,6 +9298,10 @@ module Aws::Lambda
8021
9298
  # code_sha_256: "PFn4S+er27qk+UuZSTKEQfNKG/XNn7QJs90mJgq6oH8=",
8022
9299
  # code_size: 308,
8023
9300
  # description: "",
9301
+ # durable_config: {
9302
+ # execution_timeout: 3600,
9303
+ # retention_period_in_days: 45,
9304
+ # },
8024
9305
  # function_arn: "arn:aws:lambda:us-east-2:123456789012:function:my-function",
8025
9306
  # function_name: "my-function",
8026
9307
  # handler: "index.handler",
@@ -8088,6 +9369,17 @@ module Aws::Lambda
8088
9369
  # system_log_level: "DEBUG", # accepts DEBUG, INFO, WARN
8089
9370
  # log_group: "LogGroup",
8090
9371
  # },
9372
+ # capacity_provider_config: {
9373
+ # lambda_managed_instances_capacity_provider_config: { # required
9374
+ # capacity_provider_arn: "CapacityProviderArn", # required
9375
+ # per_execution_environment_max_concurrency: 1,
9376
+ # execution_environment_memory_gi_b_per_v_cpu: 1.0,
9377
+ # },
9378
+ # },
9379
+ # durable_config: {
9380
+ # retention_period_in_days: 1,
9381
+ # execution_timeout: 1,
9382
+ # },
8091
9383
  # })
8092
9384
  #
8093
9385
  # @example Response structure
@@ -8124,12 +9416,12 @@ module Aws::Lambda
8124
9416
  # resp.layers[0].code_size #=> Integer
8125
9417
  # resp.layers[0].signing_profile_version_arn #=> String
8126
9418
  # resp.layers[0].signing_job_arn #=> String
8127
- # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
9419
+ # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
8128
9420
  # resp.state_reason #=> String
8129
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
9421
+ # resp.state_reason_code #=> String, one of "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"
8130
9422
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
8131
9423
  # resp.last_update_status_reason #=> String
8132
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
9424
+ # resp.last_update_status_reason_code #=> String, one of "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"
8133
9425
  # resp.file_system_configs #=> Array
8134
9426
  # resp.file_system_configs[0].arn #=> String
8135
9427
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -8155,6 +9447,12 @@ module Aws::Lambda
8155
9447
  # resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
8156
9448
  # resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
8157
9449
  # resp.logging_config.log_group #=> String
9450
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.capacity_provider_arn #=> String
9451
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
9452
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
9453
+ # resp.config_sha_256 #=> String
9454
+ # resp.durable_config.retention_period_in_days #=> Integer
9455
+ # resp.durable_config.execution_timeout #=> Integer
8158
9456
  # resp.tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
8159
9457
  #
8160
9458
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
@@ -8262,8 +9560,8 @@ module Aws::Lambda
8262
9560
  # @example Request syntax with placeholder values
8263
9561
  #
8264
9562
  # resp = client.update_function_event_invoke_config({
8265
- # function_name: "FunctionName", # required
8266
- # qualifier: "Qualifier",
9563
+ # function_name: "NamespacedFunctionName", # required
9564
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
8267
9565
  # maximum_retry_attempts: 1,
8268
9566
  # maximum_event_age_in_seconds: 1,
8269
9567
  # destination_config: {
@@ -8419,7 +9717,7 @@ module Aws::Lambda
8419
9717
  tracer: tracer
8420
9718
  )
8421
9719
  context[:gem_name] = 'aws-sdk-lambda'
8422
- context[:gem_version] = '1.167.0'
9720
+ context[:gem_version] = '1.169.0'
8423
9721
  Seahorse::Client::Request.new(handlers, context)
8424
9722
  end
8425
9723