aws-sdk-lambda 1.166.0 → 1.168.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
@@ -838,7 +832,7 @@ module Aws::Lambda
838
832
  # resp = client.create_alias({
839
833
  # function_name: "FunctionName", # required
840
834
  # name: "Alias", # required
841
- # function_version: "Version", # required
835
+ # function_version: "VersionWithLatestPublished", # required
842
836
  # description: "Description",
843
837
  # routing_config: {
844
838
  # additional_version_weights: {
@@ -866,6 +860,105 @@ module Aws::Lambda
866
860
  req.send_request(options)
867
861
  end
868
862
 
863
+ # Creates a capacity provider that manages compute resources for Lambda
864
+ # functions
865
+ #
866
+ # @option params [required, String] :capacity_provider_name
867
+ # The name of the capacity provider.
868
+ #
869
+ # @option params [required, Types::CapacityProviderVpcConfig] :vpc_config
870
+ # The VPC configuration for the capacity provider, including subnet IDs
871
+ # and security group IDs where compute instances will be launched.
872
+ #
873
+ # @option params [required, Types::CapacityProviderPermissionsConfig] :permissions_config
874
+ # The permissions configuration that specifies the IAM role ARN used by
875
+ # the capacity provider to manage compute resources.
876
+ #
877
+ # @option params [Types::InstanceRequirements] :instance_requirements
878
+ # The instance requirements that specify the compute instance
879
+ # characteristics, including architectures and allowed or excluded
880
+ # instance types.
881
+ #
882
+ # @option params [Types::CapacityProviderScalingConfig] :capacity_provider_scaling_config
883
+ # The scaling configuration that defines how the capacity provider
884
+ # scales compute instances, including maximum vCPU count and scaling
885
+ # policies.
886
+ #
887
+ # @option params [String] :kms_key_arn
888
+ # The ARN of the KMS key used to encrypt data associated with the
889
+ # capacity provider.
890
+ #
891
+ # @option params [Hash<String,String>] :tags
892
+ # A list of tags to associate with the capacity provider.
893
+ #
894
+ # @return [Types::CreateCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
895
+ #
896
+ # * {Types::CreateCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
897
+ #
898
+ # @example Request syntax with placeholder values
899
+ #
900
+ # resp = client.create_capacity_provider({
901
+ # capacity_provider_name: "CapacityProviderName", # required
902
+ # vpc_config: { # required
903
+ # subnet_ids: ["SubnetId"], # required
904
+ # security_group_ids: ["SecurityGroupId"], # required
905
+ # },
906
+ # permissions_config: { # required
907
+ # capacity_provider_operator_role_arn: "RoleArn", # required
908
+ # },
909
+ # instance_requirements: {
910
+ # architectures: ["x86_64"], # accepts x86_64, arm64
911
+ # allowed_instance_types: ["InstanceType"],
912
+ # excluded_instance_types: ["InstanceType"],
913
+ # },
914
+ # capacity_provider_scaling_config: {
915
+ # max_v_cpu_count: 1,
916
+ # scaling_mode: "Auto", # accepts Auto, Manual
917
+ # scaling_policies: [
918
+ # {
919
+ # predefined_metric_type: "LambdaCapacityProviderAverageCPUUtilization", # required, accepts LambdaCapacityProviderAverageCPUUtilization
920
+ # target_value: 1.0, # required
921
+ # },
922
+ # ],
923
+ # },
924
+ # kms_key_arn: "KMSKeyArnNonEmpty",
925
+ # tags: {
926
+ # "TagKey" => "TagValue",
927
+ # },
928
+ # })
929
+ #
930
+ # @example Response structure
931
+ #
932
+ # resp.capacity_provider.capacity_provider_arn #=> String
933
+ # resp.capacity_provider.state #=> String, one of "Pending", "Active", "Failed", "Deleting"
934
+ # resp.capacity_provider.vpc_config.subnet_ids #=> Array
935
+ # resp.capacity_provider.vpc_config.subnet_ids[0] #=> String
936
+ # resp.capacity_provider.vpc_config.security_group_ids #=> Array
937
+ # resp.capacity_provider.vpc_config.security_group_ids[0] #=> String
938
+ # resp.capacity_provider.permissions_config.capacity_provider_operator_role_arn #=> String
939
+ # resp.capacity_provider.instance_requirements.architectures #=> Array
940
+ # resp.capacity_provider.instance_requirements.architectures[0] #=> String, one of "x86_64", "arm64"
941
+ # resp.capacity_provider.instance_requirements.allowed_instance_types #=> Array
942
+ # resp.capacity_provider.instance_requirements.allowed_instance_types[0] #=> String
943
+ # resp.capacity_provider.instance_requirements.excluded_instance_types #=> Array
944
+ # resp.capacity_provider.instance_requirements.excluded_instance_types[0] #=> String
945
+ # resp.capacity_provider.capacity_provider_scaling_config.max_v_cpu_count #=> Integer
946
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
947
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies #=> Array
948
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization"
949
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
950
+ # resp.capacity_provider.kms_key_arn #=> String
951
+ # resp.capacity_provider.last_modified #=> Time
952
+ #
953
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCapacityProvider AWS API Documentation
954
+ #
955
+ # @overload create_capacity_provider(params = {})
956
+ # @param [Hash] params ({})
957
+ def create_capacity_provider(params = {}, options = {})
958
+ req = build_request(:create_capacity_provider, params)
959
+ req.send_request(options)
960
+ end
961
+
869
962
  # Creates a code signing configuration. A [code signing
870
963
  # configuration][1] defines a list of allowed signing profiles and
871
964
  # defines the code-signing validation policy (action to be taken if
@@ -946,8 +1039,8 @@ module Aws::Lambda
946
1039
  #
947
1040
  # * [ Amazon DocumentDB][7]
948
1041
  #
949
- # The following error handling options are available only for DynamoDB
950
- # and Kinesis event sources:
1042
+ # The following error handling options are available for stream sources
1043
+ # (DynamoDB, Kinesis, Amazon MSK, and self-managed Apache Kafka):
951
1044
  #
952
1045
  # * `BisectBatchOnFunctionError` – If the function returns an error,
953
1046
  # split the batch in two and retry.
@@ -960,15 +1053,15 @@ module Aws::Lambda
960
1053
  # of retries. The default value is infinite (-1). When set to infinite
961
1054
  # (-1), failed records are retried until the record expires.
962
1055
  #
963
- # * `ParallelizationFactor` – Process multiple batches from each shard
964
- # concurrently.
1056
+ # * `OnFailure` – Send discarded records to an Amazon SQS queue, Amazon
1057
+ # SNS topic, Kafka topic, or Amazon S3 bucket. For more information,
1058
+ # see [Adding a destination][8].
965
1059
  #
966
- # For stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed
967
- # Apache Kafka), the following option is also available:
1060
+ # The following option is available only for DynamoDB and Kinesis event
1061
+ # sources:
968
1062
  #
969
- # * `OnFailure` – Send discarded records to an Amazon SQS queue, Amazon
970
- # SNS topic, or Amazon S3 bucket. For more information, see [Adding a
971
- # destination][8].
1063
+ # * `ParallelizationFactor` – Process multiple batches from each shard
1064
+ # concurrently.
972
1065
  #
973
1066
  # ^
974
1067
  #
@@ -1118,23 +1211,24 @@ module Aws::Lambda
1118
1211
  # start reading. `StartingPositionTimestamp` cannot be in the future.
1119
1212
  #
1120
1213
  # @option params [Types::DestinationConfig] :destination_config
1121
- # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only) A
1122
- # configuration object that specifies the destination of an event after
1123
- # Lambda processes it.
1214
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka)
1215
+ # A configuration object that specifies the destination of an event
1216
+ # after Lambda processes it.
1124
1217
  #
1125
1218
  # @option params [Integer] :maximum_record_age_in_seconds
1126
- # (Kinesis and DynamoDB Streams only) Discard records older than the
1127
- # specified age. The default value is infinite (-1).
1219
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka)
1220
+ # Discard records older than the specified age. The default value is
1221
+ # infinite (-1).
1128
1222
  #
1129
1223
  # @option params [Boolean] :bisect_batch_on_function_error
1130
- # (Kinesis and DynamoDB Streams only) If the function returns an error,
1131
- # split the batch in two and retry.
1224
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka)
1225
+ # If the function returns an error, split the batch in two and retry.
1132
1226
  #
1133
1227
  # @option params [Integer] :maximum_retry_attempts
1134
- # (Kinesis and DynamoDB Streams only) Discard records after the
1135
- # specified number of retries. The default value is infinite (-1). When
1136
- # set to infinite (-1), failed records are retried until the record
1137
- # expires.
1228
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka)
1229
+ # Discard records after the specified number of retries. The default
1230
+ # value is infinite (-1). When set to infinite (-1), failed records are
1231
+ # retried until the record expires.
1138
1232
  #
1139
1233
  # @option params [Hash<String,String>] :tags
1140
1234
  # A list of tags to apply to the event source mapping.
@@ -1158,8 +1252,9 @@ module Aws::Lambda
1158
1252
  # The self-managed Apache Kafka cluster to receive records from.
1159
1253
  #
1160
1254
  # @option params [Array<String>] :function_response_types
1161
- # (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response
1162
- # type enums applied to the event source mapping.
1255
+ # (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and
1256
+ # Amazon SQS) A list of current response type enums applied to the event
1257
+ # source mapping.
1163
1258
  #
1164
1259
  # @option params [Types::AmazonManagedKafkaEventSourceConfig] :amazon_managed_kafka_event_source_config
1165
1260
  # Specific configuration settings for an Amazon Managed Streaming for
@@ -1269,7 +1364,7 @@ module Aws::Lambda
1269
1364
  #
1270
1365
  # resp = client.create_event_source_mapping({
1271
1366
  # event_source_arn: "Arn",
1272
- # function_name: "FunctionName", # required
1367
+ # function_name: "NamespacedFunctionName", # required
1273
1368
  # enabled: false,
1274
1369
  # batch_size: 1,
1275
1370
  # filter_criteria: {
@@ -1363,6 +1458,7 @@ module Aws::Lambda
1363
1458
  # provisioned_poller_config: {
1364
1459
  # minimum_pollers: 1,
1365
1460
  # maximum_pollers: 1,
1461
+ # poller_group_name: "ProvisionedPollerGroupName",
1366
1462
  # },
1367
1463
  # })
1368
1464
  #
@@ -1428,6 +1524,7 @@ module Aws::Lambda
1428
1524
  # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
1429
1525
  # resp.provisioned_poller_config.minimum_pollers #=> Integer
1430
1526
  # resp.provisioned_poller_config.maximum_pollers #=> Integer
1527
+ # resp.provisioned_poller_config.poller_group_name #=> String
1431
1528
  #
1432
1529
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping AWS API Documentation
1433
1530
  #
@@ -1710,6 +1807,13 @@ module Aws::Lambda
1710
1807
  # @option params [Types::LoggingConfig] :logging_config
1711
1808
  # The function's Amazon CloudWatch Logs configuration settings.
1712
1809
  #
1810
+ # @option params [Types::CapacityProviderConfig] :capacity_provider_config
1811
+ # Configuration for the capacity provider that manages compute resources
1812
+ # for Lambda functions.
1813
+ #
1814
+ # @option params [String] :publish_to
1815
+ # Specifies where to publish the function version or configuration.
1816
+ #
1713
1817
  # @option params [Types::TenancyConfig] :tenancy_config
1714
1818
  # Configuration for multi-tenant applications that use Lambda functions.
1715
1819
  # Defines tenant isolation settings and resource allocations. Required
@@ -1753,6 +1857,8 @@ module Aws::Lambda
1753
1857
  # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
1754
1858
  # * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
1755
1859
  # * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
1860
+ # * {Types::FunctionConfiguration#capacity_provider_config #capacity_provider_config} => Types::CapacityProviderConfig
1861
+ # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
1756
1862
  # * {Types::FunctionConfiguration#tenancy_config #tenancy_config} => Types::TenancyConfig
1757
1863
  #
1758
1864
  #
@@ -1884,6 +1990,14 @@ module Aws::Lambda
1884
1990
  # system_log_level: "DEBUG", # accepts DEBUG, INFO, WARN
1885
1991
  # log_group: "LogGroup",
1886
1992
  # },
1993
+ # capacity_provider_config: {
1994
+ # lambda_managed_instances_capacity_provider_config: { # required
1995
+ # capacity_provider_arn: "CapacityProviderArn", # required
1996
+ # per_execution_environment_max_concurrency: 1,
1997
+ # execution_environment_memory_gi_b_per_v_cpu: 1.0,
1998
+ # },
1999
+ # },
2000
+ # publish_to: "LATEST_PUBLISHED", # accepts LATEST_PUBLISHED
1887
2001
  # tenancy_config: {
1888
2002
  # tenant_isolation_mode: "PER_TENANT", # required, accepts PER_TENANT
1889
2003
  # },
@@ -1923,12 +2037,12 @@ module Aws::Lambda
1923
2037
  # resp.layers[0].code_size #=> Integer
1924
2038
  # resp.layers[0].signing_profile_version_arn #=> String
1925
2039
  # resp.layers[0].signing_job_arn #=> String
1926
- # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
2040
+ # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
1927
2041
  # resp.state_reason #=> String
1928
- # 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"
2042
+ # 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", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted"
1929
2043
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
1930
2044
  # resp.last_update_status_reason #=> String
1931
- # 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"
2045
+ # 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"
1932
2046
  # resp.file_system_configs #=> Array
1933
2047
  # resp.file_system_configs[0].arn #=> String
1934
2048
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -1954,6 +2068,10 @@ module Aws::Lambda
1954
2068
  # resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
1955
2069
  # resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
1956
2070
  # resp.logging_config.log_group #=> String
2071
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.capacity_provider_arn #=> String
2072
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
2073
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
2074
+ # resp.config_sha_256 #=> String
1957
2075
  # resp.tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
1958
2076
  #
1959
2077
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
@@ -2124,6 +2242,54 @@ module Aws::Lambda
2124
2242
  req.send_request(options)
2125
2243
  end
2126
2244
 
2245
+ # Deletes a capacity provider. You cannot delete a capacity provider
2246
+ # that is currently being used by Lambda functions.
2247
+ #
2248
+ # @option params [required, String] :capacity_provider_name
2249
+ # The name of the capacity provider to delete.
2250
+ #
2251
+ # @return [Types::DeleteCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2252
+ #
2253
+ # * {Types::DeleteCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
2254
+ #
2255
+ # @example Request syntax with placeholder values
2256
+ #
2257
+ # resp = client.delete_capacity_provider({
2258
+ # capacity_provider_name: "CapacityProviderName", # required
2259
+ # })
2260
+ #
2261
+ # @example Response structure
2262
+ #
2263
+ # resp.capacity_provider.capacity_provider_arn #=> String
2264
+ # resp.capacity_provider.state #=> String, one of "Pending", "Active", "Failed", "Deleting"
2265
+ # resp.capacity_provider.vpc_config.subnet_ids #=> Array
2266
+ # resp.capacity_provider.vpc_config.subnet_ids[0] #=> String
2267
+ # resp.capacity_provider.vpc_config.security_group_ids #=> Array
2268
+ # resp.capacity_provider.vpc_config.security_group_ids[0] #=> String
2269
+ # resp.capacity_provider.permissions_config.capacity_provider_operator_role_arn #=> String
2270
+ # resp.capacity_provider.instance_requirements.architectures #=> Array
2271
+ # resp.capacity_provider.instance_requirements.architectures[0] #=> String, one of "x86_64", "arm64"
2272
+ # resp.capacity_provider.instance_requirements.allowed_instance_types #=> Array
2273
+ # resp.capacity_provider.instance_requirements.allowed_instance_types[0] #=> String
2274
+ # resp.capacity_provider.instance_requirements.excluded_instance_types #=> Array
2275
+ # resp.capacity_provider.instance_requirements.excluded_instance_types[0] #=> String
2276
+ # resp.capacity_provider.capacity_provider_scaling_config.max_v_cpu_count #=> Integer
2277
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
2278
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies #=> Array
2279
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization"
2280
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
2281
+ # resp.capacity_provider.kms_key_arn #=> String
2282
+ # resp.capacity_provider.last_modified #=> Time
2283
+ #
2284
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteCapacityProvider AWS API Documentation
2285
+ #
2286
+ # @overload delete_capacity_provider(params = {})
2287
+ # @param [Hash] params ({})
2288
+ def delete_capacity_provider(params = {}, options = {})
2289
+ req = build_request(:delete_capacity_provider, params)
2290
+ req.send_request(options)
2291
+ end
2292
+
2127
2293
  # Deletes the code signing configuration. You can delete the code
2128
2294
  # signing configuration only if no function is using it.
2129
2295
  #
@@ -2283,6 +2449,7 @@ module Aws::Lambda
2283
2449
  # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
2284
2450
  # resp.provisioned_poller_config.minimum_pollers #=> Integer
2285
2451
  # resp.provisioned_poller_config.maximum_pollers #=> Integer
2452
+ # resp.provisioned_poller_config.poller_group_name #=> String
2286
2453
  #
2287
2454
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping AWS API Documentation
2288
2455
  #
@@ -2329,7 +2496,9 @@ module Aws::Lambda
2329
2496
  # Specify a version to delete. You can't delete a version that an alias
2330
2497
  # references.
2331
2498
  #
2332
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2499
+ # @return [Types::DeleteFunctionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2500
+ #
2501
+ # * {Types::DeleteFunctionResponse#status_code #status_code} => Integer
2333
2502
  #
2334
2503
  #
2335
2504
  # @example Example: To delete a version of a Lambda function
@@ -2344,10 +2513,14 @@ module Aws::Lambda
2344
2513
  # @example Request syntax with placeholder values
2345
2514
  #
2346
2515
  # resp = client.delete_function({
2347
- # function_name: "FunctionName", # required
2348
- # qualifier: "Qualifier",
2516
+ # function_name: "NamespacedFunctionName", # required
2517
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
2349
2518
  # })
2350
2519
  #
2520
+ # @example Response structure
2521
+ #
2522
+ # resp.status_code #=> Integer
2523
+ #
2351
2524
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunction AWS API Documentation
2352
2525
  #
2353
2526
  # @overload delete_function(params = {})
@@ -2379,7 +2552,7 @@ module Aws::Lambda
2379
2552
  # @example Request syntax with placeholder values
2380
2553
  #
2381
2554
  # resp = client.delete_function_code_signing_config({
2382
- # function_name: "FunctionName", # required
2555
+ # function_name: "NamespacedFunctionName", # required
2383
2556
  # })
2384
2557
  #
2385
2558
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionCodeSigningConfig AWS API Documentation
@@ -2476,8 +2649,8 @@ module Aws::Lambda
2476
2649
  # @example Request syntax with placeholder values
2477
2650
  #
2478
2651
  # resp = client.delete_function_event_invoke_config({
2479
- # function_name: "FunctionName", # required
2480
- # qualifier: "Qualifier",
2652
+ # function_name: "NamespacedFunctionName", # required
2653
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
2481
2654
  # })
2482
2655
  #
2483
2656
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionEventInvokeConfig AWS API Documentation
@@ -2752,6 +2925,54 @@ module Aws::Lambda
2752
2925
  req.send_request(options)
2753
2926
  end
2754
2927
 
2928
+ # Retrieves information about a specific capacity provider, including
2929
+ # its configuration, state, and associated resources.
2930
+ #
2931
+ # @option params [required, String] :capacity_provider_name
2932
+ # The name of the capacity provider to retrieve.
2933
+ #
2934
+ # @return [Types::GetCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2935
+ #
2936
+ # * {Types::GetCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
2937
+ #
2938
+ # @example Request syntax with placeholder values
2939
+ #
2940
+ # resp = client.get_capacity_provider({
2941
+ # capacity_provider_name: "CapacityProviderName", # required
2942
+ # })
2943
+ #
2944
+ # @example Response structure
2945
+ #
2946
+ # resp.capacity_provider.capacity_provider_arn #=> String
2947
+ # resp.capacity_provider.state #=> String, one of "Pending", "Active", "Failed", "Deleting"
2948
+ # resp.capacity_provider.vpc_config.subnet_ids #=> Array
2949
+ # resp.capacity_provider.vpc_config.subnet_ids[0] #=> String
2950
+ # resp.capacity_provider.vpc_config.security_group_ids #=> Array
2951
+ # resp.capacity_provider.vpc_config.security_group_ids[0] #=> String
2952
+ # resp.capacity_provider.permissions_config.capacity_provider_operator_role_arn #=> String
2953
+ # resp.capacity_provider.instance_requirements.architectures #=> Array
2954
+ # resp.capacity_provider.instance_requirements.architectures[0] #=> String, one of "x86_64", "arm64"
2955
+ # resp.capacity_provider.instance_requirements.allowed_instance_types #=> Array
2956
+ # resp.capacity_provider.instance_requirements.allowed_instance_types[0] #=> String
2957
+ # resp.capacity_provider.instance_requirements.excluded_instance_types #=> Array
2958
+ # resp.capacity_provider.instance_requirements.excluded_instance_types[0] #=> String
2959
+ # resp.capacity_provider.capacity_provider_scaling_config.max_v_cpu_count #=> Integer
2960
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
2961
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies #=> Array
2962
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization"
2963
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
2964
+ # resp.capacity_provider.kms_key_arn #=> String
2965
+ # resp.capacity_provider.last_modified #=> Time
2966
+ #
2967
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetCapacityProvider AWS API Documentation
2968
+ #
2969
+ # @overload get_capacity_provider(params = {})
2970
+ # @param [Hash] params ({})
2971
+ def get_capacity_provider(params = {}, options = {})
2972
+ req = build_request(:get_capacity_provider, params)
2973
+ req.send_request(options)
2974
+ end
2975
+
2755
2976
  # Returns information about the specified code signing configuration.
2756
2977
  #
2757
2978
  # @option params [required, String] :code_signing_config_arn
@@ -2922,6 +3143,7 @@ module Aws::Lambda
2922
3143
  # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
2923
3144
  # resp.provisioned_poller_config.minimum_pollers #=> Integer
2924
3145
  # resp.provisioned_poller_config.maximum_pollers #=> Integer
3146
+ # resp.provisioned_poller_config.poller_group_name #=> String
2925
3147
  #
2926
3148
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping AWS API Documentation
2927
3149
  #
@@ -3018,7 +3240,7 @@ module Aws::Lambda
3018
3240
  #
3019
3241
  # resp = client.get_function({
3020
3242
  # function_name: "NamespacedFunctionName", # required
3021
- # qualifier: "Qualifier",
3243
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
3022
3244
  # })
3023
3245
  #
3024
3246
  # @example Response structure
@@ -3055,12 +3277,12 @@ module Aws::Lambda
3055
3277
  # resp.configuration.layers[0].code_size #=> Integer
3056
3278
  # resp.configuration.layers[0].signing_profile_version_arn #=> String
3057
3279
  # resp.configuration.layers[0].signing_job_arn #=> String
3058
- # resp.configuration.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
3280
+ # resp.configuration.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
3059
3281
  # resp.configuration.state_reason #=> String
3060
- # 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"
3282
+ # 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", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted"
3061
3283
  # resp.configuration.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
3062
3284
  # resp.configuration.last_update_status_reason #=> String
3063
- # 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"
3285
+ # 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"
3064
3286
  # resp.configuration.file_system_configs #=> Array
3065
3287
  # resp.configuration.file_system_configs[0].arn #=> String
3066
3288
  # resp.configuration.file_system_configs[0].local_mount_path #=> String
@@ -3086,6 +3308,10 @@ module Aws::Lambda
3086
3308
  # resp.configuration.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
3087
3309
  # resp.configuration.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
3088
3310
  # resp.configuration.logging_config.log_group #=> String
3311
+ # resp.configuration.capacity_provider_config.lambda_managed_instances_capacity_provider_config.capacity_provider_arn #=> String
3312
+ # resp.configuration.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
3313
+ # resp.configuration.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
3314
+ # resp.configuration.config_sha_256 #=> String
3089
3315
  # resp.configuration.tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
3090
3316
  # resp.code.repository_type #=> String
3091
3317
  # resp.code.location #=> String
@@ -3139,7 +3365,7 @@ module Aws::Lambda
3139
3365
  # @example Request syntax with placeholder values
3140
3366
  #
3141
3367
  # resp = client.get_function_code_signing_config({
3142
- # function_name: "FunctionName", # required
3368
+ # function_name: "NamespacedFunctionName", # required
3143
3369
  # })
3144
3370
  #
3145
3371
  # @example Response structure
@@ -3278,6 +3504,8 @@ module Aws::Lambda
3278
3504
  # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
3279
3505
  # * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
3280
3506
  # * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
3507
+ # * {Types::FunctionConfiguration#capacity_provider_config #capacity_provider_config} => Types::CapacityProviderConfig
3508
+ # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
3281
3509
  # * {Types::FunctionConfiguration#tenancy_config #tenancy_config} => Types::TenancyConfig
3282
3510
  #
3283
3511
  #
@@ -3323,7 +3551,7 @@ module Aws::Lambda
3323
3551
  #
3324
3552
  # resp = client.get_function_configuration({
3325
3553
  # function_name: "NamespacedFunctionName", # required
3326
- # qualifier: "Qualifier",
3554
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
3327
3555
  # })
3328
3556
  #
3329
3557
  # @example Response structure
@@ -3360,12 +3588,12 @@ module Aws::Lambda
3360
3588
  # resp.layers[0].code_size #=> Integer
3361
3589
  # resp.layers[0].signing_profile_version_arn #=> String
3362
3590
  # resp.layers[0].signing_job_arn #=> String
3363
- # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
3591
+ # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
3364
3592
  # resp.state_reason #=> String
3365
- # 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"
3593
+ # 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", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted"
3366
3594
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
3367
3595
  # resp.last_update_status_reason #=> String
3368
- # 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"
3596
+ # 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"
3369
3597
  # resp.file_system_configs #=> Array
3370
3598
  # resp.file_system_configs[0].arn #=> String
3371
3599
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -3391,6 +3619,10 @@ module Aws::Lambda
3391
3619
  # resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
3392
3620
  # resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
3393
3621
  # resp.logging_config.log_group #=> String
3622
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.capacity_provider_arn #=> String
3623
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
3624
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
3625
+ # resp.config_sha_256 #=> String
3394
3626
  # resp.tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
3395
3627
  #
3396
3628
  #
@@ -3472,8 +3704,8 @@ module Aws::Lambda
3472
3704
  # @example Request syntax with placeholder values
3473
3705
  #
3474
3706
  # resp = client.get_function_event_invoke_config({
3475
- # function_name: "FunctionName", # required
3476
- # qualifier: "Qualifier",
3707
+ # function_name: "NamespacedFunctionName", # required
3708
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
3477
3709
  # })
3478
3710
  #
3479
3711
  # @example Response structure
@@ -3501,6 +3733,7 @@ module Aws::Lambda
3501
3733
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-recursion.html
3502
3734
  #
3503
3735
  # @option params [required, String] :function_name
3736
+ # The name of the function.
3504
3737
  #
3505
3738
  # @return [Types::GetFunctionRecursionConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3506
3739
  #
@@ -3525,6 +3758,46 @@ module Aws::Lambda
3525
3758
  req.send_request(options)
3526
3759
  end
3527
3760
 
3761
+ # Retrieves the scaling configuration for a Lambda Managed Instances
3762
+ # function.
3763
+ #
3764
+ # @option params [required, String] :function_name
3765
+ # The name or ARN of the Lambda function.
3766
+ #
3767
+ # @option params [required, String] :qualifier
3768
+ # Specify a version or alias to get the scaling configuration for a
3769
+ # published version of the function.
3770
+ #
3771
+ # @return [Types::GetFunctionScalingConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3772
+ #
3773
+ # * {Types::GetFunctionScalingConfigResponse#function_arn #function_arn} => String
3774
+ # * {Types::GetFunctionScalingConfigResponse#applied_function_scaling_config #applied_function_scaling_config} => Types::FunctionScalingConfig
3775
+ # * {Types::GetFunctionScalingConfigResponse#requested_function_scaling_config #requested_function_scaling_config} => Types::FunctionScalingConfig
3776
+ #
3777
+ # @example Request syntax with placeholder values
3778
+ #
3779
+ # resp = client.get_function_scaling_config({
3780
+ # function_name: "UnqualifiedFunctionName", # required
3781
+ # qualifier: "PublishedFunctionQualifier", # required
3782
+ # })
3783
+ #
3784
+ # @example Response structure
3785
+ #
3786
+ # resp.function_arn #=> String
3787
+ # resp.applied_function_scaling_config.min_execution_environments #=> Integer
3788
+ # resp.applied_function_scaling_config.max_execution_environments #=> Integer
3789
+ # resp.requested_function_scaling_config.min_execution_environments #=> Integer
3790
+ # resp.requested_function_scaling_config.max_execution_environments #=> Integer
3791
+ #
3792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionScalingConfig AWS API Documentation
3793
+ #
3794
+ # @overload get_function_scaling_config(params = {})
3795
+ # @param [Hash] params ({})
3796
+ def get_function_scaling_config(params = {}, options = {})
3797
+ req = build_request(:get_function_scaling_config, params)
3798
+ req.send_request(options)
3799
+ end
3800
+
3528
3801
  # Returns details about a Lambda function URL.
3529
3802
  #
3530
3803
  # @option params [required, String] :function_name
@@ -3850,7 +4123,7 @@ module Aws::Lambda
3850
4123
  #
3851
4124
  # resp = client.get_policy({
3852
4125
  # function_name: "NamespacedFunctionName", # required
3853
- # qualifier: "Qualifier",
4126
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
3854
4127
  # })
3855
4128
  #
3856
4129
  # @example Response structure
@@ -3898,9 +4171,9 @@ module Aws::Lambda
3898
4171
  # * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
3899
4172
  #
3900
4173
  #
3901
- # @example Example: To get a provisioned concurrency configuration
4174
+ # @example Example: To view a provisioned concurrency configuration
3902
4175
  #
3903
- # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
4176
+ # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
3904
4177
  # # function.
3905
4178
  #
3906
4179
  # resp = client.get_provisioned_concurrency_config({
@@ -3917,9 +4190,9 @@ module Aws::Lambda
3917
4190
  # status: "READY",
3918
4191
  # }
3919
4192
  #
3920
- # @example Example: To view a provisioned concurrency configuration
4193
+ # @example Example: To get a provisioned concurrency configuration
3921
4194
  #
3922
- # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
4195
+ # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
3923
4196
  # # function.
3924
4197
  #
3925
4198
  # resp = client.get_provisioned_concurrency_config({
@@ -4002,7 +4275,7 @@ module Aws::Lambda
4002
4275
  #
4003
4276
  # resp = client.get_runtime_management_config({
4004
4277
  # function_name: "NamespacedFunctionName", # required
4005
- # qualifier: "Qualifier",
4278
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
4006
4279
  # })
4007
4280
  #
4008
4281
  # @example Response structure
@@ -4187,7 +4460,7 @@ module Aws::Lambda
4187
4460
  # log_type: "None", # accepts None, Tail
4188
4461
  # client_context: "String",
4189
4462
  # payload: "data",
4190
- # qualifier: "Qualifier",
4463
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
4191
4464
  # tenant_id: "TenantId",
4192
4465
  # })
4193
4466
  #
@@ -4457,7 +4730,7 @@ module Aws::Lambda
4457
4730
  # invocation_type: "RequestResponse", # accepts RequestResponse, DryRun
4458
4731
  # log_type: "None", # accepts None, Tail
4459
4732
  # client_context: "String",
4460
- # qualifier: "Qualifier",
4733
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
4461
4734
  # payload: "data",
4462
4735
  # tenant_id: "TenantId",
4463
4736
  # })
@@ -4584,7 +4857,7 @@ module Aws::Lambda
4584
4857
  #
4585
4858
  # resp = client.list_aliases({
4586
4859
  # function_name: "FunctionName", # required
4587
- # function_version: "Version",
4860
+ # function_version: "VersionWithLatestPublished",
4588
4861
  # marker: "String",
4589
4862
  # max_items: 1,
4590
4863
  # })
@@ -4610,6 +4883,67 @@ module Aws::Lambda
4610
4883
  req.send_request(options)
4611
4884
  end
4612
4885
 
4886
+ # Returns a list of capacity providers in your account.
4887
+ #
4888
+ # @option params [String] :state
4889
+ # Filter capacity providers by their current state.
4890
+ #
4891
+ # @option params [String] :marker
4892
+ # Specify the pagination token that's returned by a previous request to
4893
+ # retrieve the next page of results.
4894
+ #
4895
+ # @option params [Integer] :max_items
4896
+ # The maximum number of capacity providers to return.
4897
+ #
4898
+ # @return [Types::ListCapacityProvidersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4899
+ #
4900
+ # * {Types::ListCapacityProvidersResponse#capacity_providers #capacity_providers} => Array&lt;Types::CapacityProvider&gt;
4901
+ # * {Types::ListCapacityProvidersResponse#next_marker #next_marker} => String
4902
+ #
4903
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4904
+ #
4905
+ # @example Request syntax with placeholder values
4906
+ #
4907
+ # resp = client.list_capacity_providers({
4908
+ # state: "Pending", # accepts Pending, Active, Failed, Deleting
4909
+ # marker: "String",
4910
+ # max_items: 1,
4911
+ # })
4912
+ #
4913
+ # @example Response structure
4914
+ #
4915
+ # resp.capacity_providers #=> Array
4916
+ # resp.capacity_providers[0].capacity_provider_arn #=> String
4917
+ # resp.capacity_providers[0].state #=> String, one of "Pending", "Active", "Failed", "Deleting"
4918
+ # resp.capacity_providers[0].vpc_config.subnet_ids #=> Array
4919
+ # resp.capacity_providers[0].vpc_config.subnet_ids[0] #=> String
4920
+ # resp.capacity_providers[0].vpc_config.security_group_ids #=> Array
4921
+ # resp.capacity_providers[0].vpc_config.security_group_ids[0] #=> String
4922
+ # resp.capacity_providers[0].permissions_config.capacity_provider_operator_role_arn #=> String
4923
+ # resp.capacity_providers[0].instance_requirements.architectures #=> Array
4924
+ # resp.capacity_providers[0].instance_requirements.architectures[0] #=> String, one of "x86_64", "arm64"
4925
+ # resp.capacity_providers[0].instance_requirements.allowed_instance_types #=> Array
4926
+ # resp.capacity_providers[0].instance_requirements.allowed_instance_types[0] #=> String
4927
+ # resp.capacity_providers[0].instance_requirements.excluded_instance_types #=> Array
4928
+ # resp.capacity_providers[0].instance_requirements.excluded_instance_types[0] #=> String
4929
+ # resp.capacity_providers[0].capacity_provider_scaling_config.max_v_cpu_count #=> Integer
4930
+ # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
4931
+ # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_policies #=> Array
4932
+ # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization"
4933
+ # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
4934
+ # resp.capacity_providers[0].kms_key_arn #=> String
4935
+ # resp.capacity_providers[0].last_modified #=> Time
4936
+ # resp.next_marker #=> String
4937
+ #
4938
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCapacityProviders AWS API Documentation
4939
+ #
4940
+ # @overload list_capacity_providers(params = {})
4941
+ # @param [Hash] params ({})
4942
+ def list_capacity_providers(params = {}, options = {})
4943
+ req = build_request(:list_capacity_providers, params)
4944
+ req.send_request(options)
4945
+ end
4946
+
4613
4947
  # Returns a list of [code signing configurations][1]. A request returns
4614
4948
  # up to 10,000 configurations per call. You can use the `MaxItems`
4615
4949
  # parameter to return fewer configurations per call.
@@ -4746,7 +5080,7 @@ module Aws::Lambda
4746
5080
  #
4747
5081
  # resp = client.list_event_source_mappings({
4748
5082
  # event_source_arn: "Arn",
4749
- # function_name: "FunctionName",
5083
+ # function_name: "NamespacedFunctionName",
4750
5084
  # marker: "String",
4751
5085
  # max_items: 1,
4752
5086
  # })
@@ -4815,6 +5149,7 @@ module Aws::Lambda
4815
5149
  # resp.event_source_mappings[0].metrics_config.metrics[0] #=> String, one of "EventCount"
4816
5150
  # resp.event_source_mappings[0].provisioned_poller_config.minimum_pollers #=> Integer
4817
5151
  # resp.event_source_mappings[0].provisioned_poller_config.maximum_pollers #=> Integer
5152
+ # resp.event_source_mappings[0].provisioned_poller_config.poller_group_name #=> String
4818
5153
  #
4819
5154
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings AWS API Documentation
4820
5155
  #
@@ -4890,7 +5225,7 @@ module Aws::Lambda
4890
5225
  # @example Request syntax with placeholder values
4891
5226
  #
4892
5227
  # resp = client.list_function_event_invoke_configs({
4893
- # function_name: "FunctionName", # required
5228
+ # function_name: "NamespacedFunctionName", # required
4894
5229
  # marker: "String",
4895
5230
  # max_items: 1,
4896
5231
  # })
@@ -4986,6 +5321,52 @@ module Aws::Lambda
4986
5321
  req.send_request(options)
4987
5322
  end
4988
5323
 
5324
+ # Returns a list of function versions that are configured to use a
5325
+ # specific capacity provider.
5326
+ #
5327
+ # @option params [required, String] :capacity_provider_name
5328
+ # The name of the capacity provider to list function versions for.
5329
+ #
5330
+ # @option params [String] :marker
5331
+ # Specify the pagination token that's returned by a previous request to
5332
+ # retrieve the next page of results.
5333
+ #
5334
+ # @option params [Integer] :max_items
5335
+ # The maximum number of function versions to return in the response.
5336
+ #
5337
+ # @return [Types::ListFunctionVersionsByCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5338
+ #
5339
+ # * {Types::ListFunctionVersionsByCapacityProviderResponse#capacity_provider_arn #capacity_provider_arn} => String
5340
+ # * {Types::ListFunctionVersionsByCapacityProviderResponse#function_versions #function_versions} => Array&lt;Types::FunctionVersionsByCapacityProviderListItem&gt;
5341
+ # * {Types::ListFunctionVersionsByCapacityProviderResponse#next_marker #next_marker} => String
5342
+ #
5343
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5344
+ #
5345
+ # @example Request syntax with placeholder values
5346
+ #
5347
+ # resp = client.list_function_versions_by_capacity_provider({
5348
+ # capacity_provider_name: "CapacityProviderName", # required
5349
+ # marker: "String",
5350
+ # max_items: 1,
5351
+ # })
5352
+ #
5353
+ # @example Response structure
5354
+ #
5355
+ # resp.capacity_provider_arn #=> String
5356
+ # resp.function_versions #=> Array
5357
+ # resp.function_versions[0].function_arn #=> String
5358
+ # resp.function_versions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
5359
+ # resp.next_marker #=> String
5360
+ #
5361
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionVersionsByCapacityProvider AWS API Documentation
5362
+ #
5363
+ # @overload list_function_versions_by_capacity_provider(params = {})
5364
+ # @param [Hash] params ({})
5365
+ def list_function_versions_by_capacity_provider(params = {}, options = {})
5366
+ req = build_request(:list_function_versions_by_capacity_provider, params)
5367
+ req.send_request(options)
5368
+ end
5369
+
4989
5370
  # Returns a list of Lambda functions, with the version-specific
4990
5371
  # configuration of each. Lambda returns up to 50 functions per call.
4991
5372
  #
@@ -5130,12 +5511,12 @@ module Aws::Lambda
5130
5511
  # resp.functions[0].layers[0].code_size #=> Integer
5131
5512
  # resp.functions[0].layers[0].signing_profile_version_arn #=> String
5132
5513
  # resp.functions[0].layers[0].signing_job_arn #=> String
5133
- # resp.functions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed"
5514
+ # resp.functions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
5134
5515
  # resp.functions[0].state_reason #=> String
5135
- # 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"
5516
+ # 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", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted"
5136
5517
  # resp.functions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
5137
5518
  # resp.functions[0].last_update_status_reason #=> String
5138
- # 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"
5519
+ # 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"
5139
5520
  # resp.functions[0].file_system_configs #=> Array
5140
5521
  # resp.functions[0].file_system_configs[0].arn #=> String
5141
5522
  # resp.functions[0].file_system_configs[0].local_mount_path #=> String
@@ -5161,6 +5542,10 @@ module Aws::Lambda
5161
5542
  # resp.functions[0].logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
5162
5543
  # resp.functions[0].logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
5163
5544
  # resp.functions[0].logging_config.log_group #=> String
5545
+ # resp.functions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.capacity_provider_arn #=> String
5546
+ # resp.functions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
5547
+ # resp.functions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
5548
+ # resp.functions[0].config_sha_256 #=> String
5164
5549
  # resp.functions[0].tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
5165
5550
  #
5166
5551
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
@@ -5731,12 +6116,12 @@ module Aws::Lambda
5731
6116
  # resp.versions[0].layers[0].code_size #=> Integer
5732
6117
  # resp.versions[0].layers[0].signing_profile_version_arn #=> String
5733
6118
  # resp.versions[0].layers[0].signing_job_arn #=> String
5734
- # resp.versions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed"
6119
+ # resp.versions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
5735
6120
  # resp.versions[0].state_reason #=> String
5736
- # 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"
6121
+ # 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", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted"
5737
6122
  # resp.versions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
5738
6123
  # resp.versions[0].last_update_status_reason #=> String
5739
- # 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"
6124
+ # 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"
5740
6125
  # resp.versions[0].file_system_configs #=> Array
5741
6126
  # resp.versions[0].file_system_configs[0].arn #=> String
5742
6127
  # resp.versions[0].file_system_configs[0].local_mount_path #=> String
@@ -5762,6 +6147,10 @@ module Aws::Lambda
5762
6147
  # resp.versions[0].logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
5763
6148
  # resp.versions[0].logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
5764
6149
  # resp.versions[0].logging_config.log_group #=> String
6150
+ # resp.versions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.capacity_provider_arn #=> String
6151
+ # resp.versions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
6152
+ # resp.versions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
6153
+ # resp.versions[0].config_sha_256 #=> String
5765
6154
  # resp.versions[0].tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
5766
6155
  #
5767
6156
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
@@ -5967,6 +6356,9 @@ module Aws::Lambda
5967
6356
  # specified. Use this option to avoid publishing a version if the
5968
6357
  # function configuration has changed since you last updated it.
5969
6358
  #
6359
+ # @option params [String] :publish_to
6360
+ # Specifies where to publish the function version or configuration.
6361
+ #
5970
6362
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5971
6363
  #
5972
6364
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -6005,6 +6397,8 @@ module Aws::Lambda
6005
6397
  # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
6006
6398
  # * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
6007
6399
  # * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
6400
+ # * {Types::FunctionConfiguration#capacity_provider_config #capacity_provider_config} => Types::CapacityProviderConfig
6401
+ # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
6008
6402
  # * {Types::FunctionConfiguration#tenancy_config #tenancy_config} => Types::TenancyConfig
6009
6403
  #
6010
6404
  #
@@ -6054,6 +6448,7 @@ module Aws::Lambda
6054
6448
  # code_sha_256: "String",
6055
6449
  # description: "Description",
6056
6450
  # revision_id: "String",
6451
+ # publish_to: "LATEST_PUBLISHED", # accepts LATEST_PUBLISHED
6057
6452
  # })
6058
6453
  #
6059
6454
  # @example Response structure
@@ -6090,12 +6485,12 @@ module Aws::Lambda
6090
6485
  # resp.layers[0].code_size #=> Integer
6091
6486
  # resp.layers[0].signing_profile_version_arn #=> String
6092
6487
  # resp.layers[0].signing_job_arn #=> String
6093
- # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
6488
+ # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
6094
6489
  # resp.state_reason #=> String
6095
- # 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"
6490
+ # 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", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted"
6096
6491
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
6097
6492
  # resp.last_update_status_reason #=> String
6098
- # 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"
6493
+ # 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"
6099
6494
  # resp.file_system_configs #=> Array
6100
6495
  # resp.file_system_configs[0].arn #=> String
6101
6496
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -6121,6 +6516,10 @@ module Aws::Lambda
6121
6516
  # resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
6122
6517
  # resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
6123
6518
  # resp.logging_config.log_group #=> String
6519
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.capacity_provider_arn #=> String
6520
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
6521
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
6522
+ # resp.config_sha_256 #=> String
6124
6523
  # resp.tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
6125
6524
  #
6126
6525
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
@@ -6163,7 +6562,7 @@ module Aws::Lambda
6163
6562
  #
6164
6563
  # resp = client.put_function_code_signing_config({
6165
6564
  # code_signing_config_arn: "CodeSigningConfigArn", # required
6166
- # function_name: "FunctionName", # required
6565
+ # function_name: "NamespacedFunctionName", # required
6167
6566
  # })
6168
6567
  #
6169
6568
  # @example Response structure
@@ -6371,8 +6770,8 @@ module Aws::Lambda
6371
6770
  # @example Request syntax with placeholder values
6372
6771
  #
6373
6772
  # resp = client.put_function_event_invoke_config({
6374
- # function_name: "FunctionName", # required
6375
- # qualifier: "Qualifier",
6773
+ # function_name: "NamespacedFunctionName", # required
6774
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
6376
6775
  # maximum_retry_attempts: 1,
6377
6776
  # maximum_event_age_in_seconds: 1,
6378
6777
  # destination_config: {
@@ -6488,6 +6887,51 @@ module Aws::Lambda
6488
6887
  req.send_request(options)
6489
6888
  end
6490
6889
 
6890
+ # Sets the scaling configuration for a Lambda Managed Instances
6891
+ # function. The scaling configuration defines the minimum and maximum
6892
+ # number of execution environments that can be provisioned for the
6893
+ # function, allowing you to control scaling behavior and resource
6894
+ # allocation.
6895
+ #
6896
+ # @option params [required, String] :function_name
6897
+ # The name or ARN of the Lambda function.
6898
+ #
6899
+ # @option params [required, String] :qualifier
6900
+ # Specify a version or alias to set the scaling configuration for a
6901
+ # published version of the function.
6902
+ #
6903
+ # @option params [Types::FunctionScalingConfig] :function_scaling_config
6904
+ # The scaling configuration to apply to the function, including minimum
6905
+ # and maximum execution environment limits.
6906
+ #
6907
+ # @return [Types::PutFunctionScalingConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6908
+ #
6909
+ # * {Types::PutFunctionScalingConfigResponse#function_state #function_state} => String
6910
+ #
6911
+ # @example Request syntax with placeholder values
6912
+ #
6913
+ # resp = client.put_function_scaling_config({
6914
+ # function_name: "UnqualifiedFunctionName", # required
6915
+ # qualifier: "PublishedFunctionQualifier", # required
6916
+ # function_scaling_config: {
6917
+ # min_execution_environments: 1,
6918
+ # max_execution_environments: 1,
6919
+ # },
6920
+ # })
6921
+ #
6922
+ # @example Response structure
6923
+ #
6924
+ # resp.function_state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
6925
+ #
6926
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionScalingConfig AWS API Documentation
6927
+ #
6928
+ # @overload put_function_scaling_config(params = {})
6929
+ # @param [Hash] params ({})
6930
+ def put_function_scaling_config(params = {}, options = {})
6931
+ req = build_request(:put_function_scaling_config, params)
6932
+ req.send_request(options)
6933
+ end
6934
+
6491
6935
  # Adds a provisioned concurrency configuration to a function's alias or
6492
6936
  # version.
6493
6937
  #
@@ -6639,8 +7083,8 @@ module Aws::Lambda
6639
7083
  # @example Request syntax with placeholder values
6640
7084
  #
6641
7085
  # resp = client.put_runtime_management_config({
6642
- # function_name: "FunctionName", # required
6643
- # qualifier: "Qualifier",
7086
+ # function_name: "NamespacedFunctionName", # required
7087
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
6644
7088
  # update_runtime_on: "Auto", # required, accepts Auto, Manual, FunctionUpdate
6645
7089
  # runtime_version_arn: "RuntimeVersionArn",
6646
7090
  # })
@@ -6763,9 +7207,9 @@ module Aws::Lambda
6763
7207
  # @example Request syntax with placeholder values
6764
7208
  #
6765
7209
  # resp = client.remove_permission({
6766
- # function_name: "FunctionName", # required
7210
+ # function_name: "NamespacedFunctionName", # required
6767
7211
  # statement_id: "NamespacedStatementId", # required
6768
- # qualifier: "Qualifier",
7212
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
6769
7213
  # revision_id: "String",
6770
7214
  # })
6771
7215
  #
@@ -6953,7 +7397,7 @@ module Aws::Lambda
6953
7397
  # resp = client.update_alias({
6954
7398
  # function_name: "FunctionName", # required
6955
7399
  # name: "Alias", # required
6956
- # function_version: "Version",
7400
+ # function_version: "VersionWithLatestPublished",
6957
7401
  # description: "Description",
6958
7402
  # routing_config: {
6959
7403
  # additional_version_weights: {
@@ -6982,6 +7426,66 @@ module Aws::Lambda
6982
7426
  req.send_request(options)
6983
7427
  end
6984
7428
 
7429
+ # Updates the configuration of an existing capacity provider.
7430
+ #
7431
+ # @option params [required, String] :capacity_provider_name
7432
+ # The name of the capacity provider to update.
7433
+ #
7434
+ # @option params [Types::CapacityProviderScalingConfig] :capacity_provider_scaling_config
7435
+ # The updated scaling configuration for the capacity provider.
7436
+ #
7437
+ # @return [Types::UpdateCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7438
+ #
7439
+ # * {Types::UpdateCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
7440
+ #
7441
+ # @example Request syntax with placeholder values
7442
+ #
7443
+ # resp = client.update_capacity_provider({
7444
+ # capacity_provider_name: "CapacityProviderName", # required
7445
+ # capacity_provider_scaling_config: {
7446
+ # max_v_cpu_count: 1,
7447
+ # scaling_mode: "Auto", # accepts Auto, Manual
7448
+ # scaling_policies: [
7449
+ # {
7450
+ # predefined_metric_type: "LambdaCapacityProviderAverageCPUUtilization", # required, accepts LambdaCapacityProviderAverageCPUUtilization
7451
+ # target_value: 1.0, # required
7452
+ # },
7453
+ # ],
7454
+ # },
7455
+ # })
7456
+ #
7457
+ # @example Response structure
7458
+ #
7459
+ # resp.capacity_provider.capacity_provider_arn #=> String
7460
+ # resp.capacity_provider.state #=> String, one of "Pending", "Active", "Failed", "Deleting"
7461
+ # resp.capacity_provider.vpc_config.subnet_ids #=> Array
7462
+ # resp.capacity_provider.vpc_config.subnet_ids[0] #=> String
7463
+ # resp.capacity_provider.vpc_config.security_group_ids #=> Array
7464
+ # resp.capacity_provider.vpc_config.security_group_ids[0] #=> String
7465
+ # resp.capacity_provider.permissions_config.capacity_provider_operator_role_arn #=> String
7466
+ # resp.capacity_provider.instance_requirements.architectures #=> Array
7467
+ # resp.capacity_provider.instance_requirements.architectures[0] #=> String, one of "x86_64", "arm64"
7468
+ # resp.capacity_provider.instance_requirements.allowed_instance_types #=> Array
7469
+ # resp.capacity_provider.instance_requirements.allowed_instance_types[0] #=> String
7470
+ # resp.capacity_provider.instance_requirements.excluded_instance_types #=> Array
7471
+ # resp.capacity_provider.instance_requirements.excluded_instance_types[0] #=> String
7472
+ # resp.capacity_provider.capacity_provider_scaling_config.max_v_cpu_count #=> Integer
7473
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
7474
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies #=> Array
7475
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization"
7476
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
7477
+ # resp.capacity_provider.kms_key_arn #=> String
7478
+ # resp.capacity_provider.last_modified #=> Time
7479
+ #
7480
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCapacityProvider AWS API Documentation
7481
+ #
7482
+ # @overload update_capacity_provider(params = {})
7483
+ # @param [Hash] params ({})
7484
+ def update_capacity_provider(params = {}, options = {})
7485
+ req = build_request(:update_capacity_provider, params)
7486
+ req.send_request(options)
7487
+ end
7488
+
6985
7489
  # Update the code signing configuration. Changes to the code signing
6986
7490
  # configuration take effect the next time a user tries to deploy a code
6987
7491
  # package to the function.
@@ -7055,8 +7559,8 @@ module Aws::Lambda
7055
7559
  #
7056
7560
  # * [ Amazon DocumentDB][7]
7057
7561
  #
7058
- # The following error handling options are available only for DynamoDB
7059
- # and Kinesis event sources:
7562
+ # The following error handling options are available for stream sources
7563
+ # (DynamoDB, Kinesis, Amazon MSK, and self-managed Apache Kafka):
7060
7564
  #
7061
7565
  # * `BisectBatchOnFunctionError` – If the function returns an error,
7062
7566
  # split the batch in two and retry.
@@ -7069,15 +7573,15 @@ module Aws::Lambda
7069
7573
  # of retries. The default value is infinite (-1). When set to infinite
7070
7574
  # (-1), failed records are retried until the record expires.
7071
7575
  #
7072
- # * `ParallelizationFactor` – Process multiple batches from each shard
7073
- # concurrently.
7576
+ # * `OnFailure` – Send discarded records to an Amazon SQS queue, Amazon
7577
+ # SNS topic, Kafka topic, or Amazon S3 bucket. For more information,
7578
+ # see [Adding a destination][8].
7074
7579
  #
7075
- # For stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed
7076
- # Apache Kafka), the following option is also available:
7580
+ # The following option is available only for DynamoDB and Kinesis event
7581
+ # sources:
7077
7582
  #
7078
- # * `OnFailure` – Send discarded records to an Amazon SQS queue, Amazon
7079
- # SNS topic, or Amazon S3 bucket. For more information, see [Adding a
7080
- # destination][8].
7583
+ # * `ParallelizationFactor` – Process multiple batches from each shard
7584
+ # concurrently.
7081
7585
  #
7082
7586
  # ^
7083
7587
  #
@@ -7194,23 +7698,24 @@ module Aws::Lambda
7194
7698
  # `MaximumBatchingWindowInSeconds` to at least 1.
7195
7699
  #
7196
7700
  # @option params [Types::DestinationConfig] :destination_config
7197
- # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only) A
7198
- # configuration object that specifies the destination of an event after
7199
- # Lambda processes it.
7701
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka)
7702
+ # A configuration object that specifies the destination of an event
7703
+ # after Lambda processes it.
7200
7704
  #
7201
7705
  # @option params [Integer] :maximum_record_age_in_seconds
7202
- # (Kinesis and DynamoDB Streams only) Discard records older than the
7203
- # specified age. The default value is infinite (-1).
7706
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka)
7707
+ # Discard records older than the specified age. The default value is
7708
+ # infinite (-1).
7204
7709
  #
7205
7710
  # @option params [Boolean] :bisect_batch_on_function_error
7206
- # (Kinesis and DynamoDB Streams only) If the function returns an error,
7207
- # split the batch in two and retry.
7711
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka)
7712
+ # If the function returns an error, split the batch in two and retry.
7208
7713
  #
7209
7714
  # @option params [Integer] :maximum_retry_attempts
7210
- # (Kinesis and DynamoDB Streams only) Discard records after the
7211
- # specified number of retries. The default value is infinite (-1). When
7212
- # set to infinite (-1), failed records are retried until the record
7213
- # expires.
7715
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka)
7716
+ # Discard records after the specified number of retries. The default
7717
+ # value is infinite (-1). When set to infinite (-1), failed records are
7718
+ # retried until the record expires.
7214
7719
  #
7215
7720
  # @option params [Integer] :parallelization_factor
7216
7721
  # (Kinesis and DynamoDB Streams only) The number of batches to process
@@ -7226,8 +7731,9 @@ module Aws::Lambda
7226
7731
  # value of 0 seconds indicates no tumbling window.
7227
7732
  #
7228
7733
  # @option params [Array<String>] :function_response_types
7229
- # (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response
7230
- # type enums applied to the event source mapping.
7734
+ # (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and
7735
+ # Amazon SQS) A list of current response type enums applied to the event
7736
+ # source mapping.
7231
7737
  #
7232
7738
  # @option params [Types::ScalingConfig] :scaling_config
7233
7739
  # (Amazon SQS only) The scaling configuration for the event source. For
@@ -7339,7 +7845,7 @@ module Aws::Lambda
7339
7845
  #
7340
7846
  # resp = client.update_event_source_mapping({
7341
7847
  # uuid: "String", # required
7342
- # function_name: "FunctionName",
7848
+ # function_name: "NamespacedFunctionName",
7343
7849
  # enabled: false,
7344
7850
  # batch_size: 1,
7345
7851
  # filter_criteria: {
@@ -7421,6 +7927,7 @@ module Aws::Lambda
7421
7927
  # provisioned_poller_config: {
7422
7928
  # minimum_pollers: 1,
7423
7929
  # maximum_pollers: 1,
7930
+ # poller_group_name: "ProvisionedPollerGroupName",
7424
7931
  # },
7425
7932
  # })
7426
7933
  #
@@ -7486,6 +7993,7 @@ module Aws::Lambda
7486
7993
  # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
7487
7994
  # resp.provisioned_poller_config.minimum_pollers #=> Integer
7488
7995
  # resp.provisioned_poller_config.maximum_pollers #=> Integer
7996
+ # resp.provisioned_poller_config.poller_group_name #=> String
7489
7997
  #
7490
7998
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping AWS API Documentation
7491
7999
  #
@@ -7590,6 +8098,9 @@ module Aws::Lambda
7590
8098
  # you don't provide a customer managed key, Lambda uses an Amazon Web
7591
8099
  # Services managed key.
7592
8100
  #
8101
+ # @option params [String] :publish_to
8102
+ # Specifies where to publish the function version or configuration.
8103
+ #
7593
8104
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7594
8105
  #
7595
8106
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -7628,6 +8139,8 @@ module Aws::Lambda
7628
8139
  # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
7629
8140
  # * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
7630
8141
  # * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
8142
+ # * {Types::FunctionConfiguration#capacity_provider_config #capacity_provider_config} => Types::CapacityProviderConfig
8143
+ # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
7631
8144
  # * {Types::FunctionConfiguration#tenancy_config #tenancy_config} => Types::TenancyConfig
7632
8145
  #
7633
8146
  #
@@ -7676,6 +8189,7 @@ module Aws::Lambda
7676
8189
  # revision_id: "String",
7677
8190
  # architectures: ["x86_64"], # accepts x86_64, arm64
7678
8191
  # source_kms_key_arn: "KMSKeyArn",
8192
+ # publish_to: "LATEST_PUBLISHED", # accepts LATEST_PUBLISHED
7679
8193
  # })
7680
8194
  #
7681
8195
  # @example Response structure
@@ -7712,12 +8226,12 @@ module Aws::Lambda
7712
8226
  # resp.layers[0].code_size #=> Integer
7713
8227
  # resp.layers[0].signing_profile_version_arn #=> String
7714
8228
  # resp.layers[0].signing_job_arn #=> String
7715
- # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
8229
+ # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
7716
8230
  # resp.state_reason #=> String
7717
- # 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"
8231
+ # 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", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted"
7718
8232
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
7719
8233
  # resp.last_update_status_reason #=> String
7720
- # 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"
8234
+ # 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"
7721
8235
  # resp.file_system_configs #=> Array
7722
8236
  # resp.file_system_configs[0].arn #=> String
7723
8237
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -7743,6 +8257,10 @@ module Aws::Lambda
7743
8257
  # resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
7744
8258
  # resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
7745
8259
  # resp.logging_config.log_group #=> String
8260
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.capacity_provider_arn #=> String
8261
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
8262
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
8263
+ # resp.config_sha_256 #=> String
7746
8264
  # resp.tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
7747
8265
  #
7748
8266
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
@@ -7954,6 +8472,10 @@ module Aws::Lambda
7954
8472
  # @option params [Types::LoggingConfig] :logging_config
7955
8473
  # The function's Amazon CloudWatch Logs configuration settings.
7956
8474
  #
8475
+ # @option params [Types::CapacityProviderConfig] :capacity_provider_config
8476
+ # Configuration for the capacity provider that manages compute resources
8477
+ # for Lambda functions.
8478
+ #
7957
8479
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7958
8480
  #
7959
8481
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -7992,6 +8514,8 @@ module Aws::Lambda
7992
8514
  # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
7993
8515
  # * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
7994
8516
  # * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
8517
+ # * {Types::FunctionConfiguration#capacity_provider_config #capacity_provider_config} => Types::CapacityProviderConfig
8518
+ # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
7995
8519
  # * {Types::FunctionConfiguration#tenancy_config #tenancy_config} => Types::TenancyConfig
7996
8520
  #
7997
8521
  #
@@ -8077,6 +8601,13 @@ module Aws::Lambda
8077
8601
  # system_log_level: "DEBUG", # accepts DEBUG, INFO, WARN
8078
8602
  # log_group: "LogGroup",
8079
8603
  # },
8604
+ # capacity_provider_config: {
8605
+ # lambda_managed_instances_capacity_provider_config: { # required
8606
+ # capacity_provider_arn: "CapacityProviderArn", # required
8607
+ # per_execution_environment_max_concurrency: 1,
8608
+ # execution_environment_memory_gi_b_per_v_cpu: 1.0,
8609
+ # },
8610
+ # },
8080
8611
  # })
8081
8612
  #
8082
8613
  # @example Response structure
@@ -8113,12 +8644,12 @@ module Aws::Lambda
8113
8644
  # resp.layers[0].code_size #=> Integer
8114
8645
  # resp.layers[0].signing_profile_version_arn #=> String
8115
8646
  # resp.layers[0].signing_job_arn #=> String
8116
- # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
8647
+ # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
8117
8648
  # resp.state_reason #=> String
8118
- # 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"
8649
+ # 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", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted"
8119
8650
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
8120
8651
  # resp.last_update_status_reason #=> String
8121
- # 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"
8652
+ # 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"
8122
8653
  # resp.file_system_configs #=> Array
8123
8654
  # resp.file_system_configs[0].arn #=> String
8124
8655
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -8144,6 +8675,10 @@ module Aws::Lambda
8144
8675
  # resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
8145
8676
  # resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
8146
8677
  # resp.logging_config.log_group #=> String
8678
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.capacity_provider_arn #=> String
8679
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
8680
+ # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
8681
+ # resp.config_sha_256 #=> String
8147
8682
  # resp.tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
8148
8683
  #
8149
8684
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
@@ -8251,8 +8786,8 @@ module Aws::Lambda
8251
8786
  # @example Request syntax with placeholder values
8252
8787
  #
8253
8788
  # resp = client.update_function_event_invoke_config({
8254
- # function_name: "FunctionName", # required
8255
- # qualifier: "Qualifier",
8789
+ # function_name: "NamespacedFunctionName", # required
8790
+ # qualifier: "NumericLatestPublishedOrAliasQualifier",
8256
8791
  # maximum_retry_attempts: 1,
8257
8792
  # maximum_event_age_in_seconds: 1,
8258
8793
  # destination_config: {
@@ -8408,7 +8943,7 @@ module Aws::Lambda
8408
8943
  tracer: tracer
8409
8944
  )
8410
8945
  context[:gem_name] = 'aws-sdk-lambda'
8411
- context[:gem_version] = '1.166.0'
8946
+ context[:gem_version] = '1.168.0'
8412
8947
  Seahorse::Client::Request.new(handlers, context)
8413
8948
  end
8414
8949