aws-sdk-lambda 1.167.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +594 -70
- data/lib/aws-sdk-lambda/client_api.rb +349 -33
- data/lib/aws-sdk-lambda/errors.rb +63 -0
- data/lib/aws-sdk-lambda/types.rb +683 -19
- data/lib/aws-sdk-lambda.rb +1 -1
- data/sig/client.rbs +179 -19
- data/sig/errors.rbs +12 -0
- data/sig/types.rbs +199 -3
- metadata +1 -1
|
@@ -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
|
-
#
|
|
685
|
-
#
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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
|
|
@@ -1271,7 +1364,7 @@ module Aws::Lambda
|
|
|
1271
1364
|
#
|
|
1272
1365
|
# resp = client.create_event_source_mapping({
|
|
1273
1366
|
# event_source_arn: "Arn",
|
|
1274
|
-
# function_name: "
|
|
1367
|
+
# function_name: "NamespacedFunctionName", # required
|
|
1275
1368
|
# enabled: false,
|
|
1276
1369
|
# batch_size: 1,
|
|
1277
1370
|
# filter_criteria: {
|
|
@@ -1714,6 +1807,13 @@ module Aws::Lambda
|
|
|
1714
1807
|
# @option params [Types::LoggingConfig] :logging_config
|
|
1715
1808
|
# The function's Amazon CloudWatch Logs configuration settings.
|
|
1716
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
|
+
#
|
|
1717
1817
|
# @option params [Types::TenancyConfig] :tenancy_config
|
|
1718
1818
|
# Configuration for multi-tenant applications that use Lambda functions.
|
|
1719
1819
|
# Defines tenant isolation settings and resource allocations. Required
|
|
@@ -1757,6 +1857,8 @@ module Aws::Lambda
|
|
|
1757
1857
|
# * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
|
|
1758
1858
|
# * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
|
|
1759
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
|
|
1760
1862
|
# * {Types::FunctionConfiguration#tenancy_config #tenancy_config} => Types::TenancyConfig
|
|
1761
1863
|
#
|
|
1762
1864
|
#
|
|
@@ -1888,6 +1990,14 @@ module Aws::Lambda
|
|
|
1888
1990
|
# system_log_level: "DEBUG", # accepts DEBUG, INFO, WARN
|
|
1889
1991
|
# log_group: "LogGroup",
|
|
1890
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
|
|
1891
2001
|
# tenancy_config: {
|
|
1892
2002
|
# tenant_isolation_mode: "PER_TENANT", # required, accepts PER_TENANT
|
|
1893
2003
|
# },
|
|
@@ -1927,12 +2037,12 @@ module Aws::Lambda
|
|
|
1927
2037
|
# resp.layers[0].code_size #=> Integer
|
|
1928
2038
|
# resp.layers[0].signing_profile_version_arn #=> String
|
|
1929
2039
|
# resp.layers[0].signing_job_arn #=> String
|
|
1930
|
-
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
|
2040
|
+
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
|
|
1931
2041
|
# resp.state_reason #=> String
|
|
1932
|
-
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
|
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"
|
|
1933
2043
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
|
1934
2044
|
# resp.last_update_status_reason #=> String
|
|
1935
|
-
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
|
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"
|
|
1936
2046
|
# resp.file_system_configs #=> Array
|
|
1937
2047
|
# resp.file_system_configs[0].arn #=> String
|
|
1938
2048
|
# resp.file_system_configs[0].local_mount_path #=> String
|
|
@@ -1958,6 +2068,10 @@ module Aws::Lambda
|
|
|
1958
2068
|
# resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
|
|
1959
2069
|
# resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
|
|
1960
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
|
|
1961
2075
|
# resp.tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
|
|
1962
2076
|
#
|
|
1963
2077
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
|
|
@@ -2128,6 +2242,54 @@ module Aws::Lambda
|
|
|
2128
2242
|
req.send_request(options)
|
|
2129
2243
|
end
|
|
2130
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
|
+
|
|
2131
2293
|
# Deletes the code signing configuration. You can delete the code
|
|
2132
2294
|
# signing configuration only if no function is using it.
|
|
2133
2295
|
#
|
|
@@ -2334,7 +2496,9 @@ module Aws::Lambda
|
|
|
2334
2496
|
# Specify a version to delete. You can't delete a version that an alias
|
|
2335
2497
|
# references.
|
|
2336
2498
|
#
|
|
2337
|
-
# @return [
|
|
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
|
|
2338
2502
|
#
|
|
2339
2503
|
#
|
|
2340
2504
|
# @example Example: To delete a version of a Lambda function
|
|
@@ -2349,10 +2513,14 @@ module Aws::Lambda
|
|
|
2349
2513
|
# @example Request syntax with placeholder values
|
|
2350
2514
|
#
|
|
2351
2515
|
# resp = client.delete_function({
|
|
2352
|
-
# function_name: "
|
|
2353
|
-
# qualifier: "
|
|
2516
|
+
# function_name: "NamespacedFunctionName", # required
|
|
2517
|
+
# qualifier: "NumericLatestPublishedOrAliasQualifier",
|
|
2354
2518
|
# })
|
|
2355
2519
|
#
|
|
2520
|
+
# @example Response structure
|
|
2521
|
+
#
|
|
2522
|
+
# resp.status_code #=> Integer
|
|
2523
|
+
#
|
|
2356
2524
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunction AWS API Documentation
|
|
2357
2525
|
#
|
|
2358
2526
|
# @overload delete_function(params = {})
|
|
@@ -2384,7 +2552,7 @@ module Aws::Lambda
|
|
|
2384
2552
|
# @example Request syntax with placeholder values
|
|
2385
2553
|
#
|
|
2386
2554
|
# resp = client.delete_function_code_signing_config({
|
|
2387
|
-
# function_name: "
|
|
2555
|
+
# function_name: "NamespacedFunctionName", # required
|
|
2388
2556
|
# })
|
|
2389
2557
|
#
|
|
2390
2558
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionCodeSigningConfig AWS API Documentation
|
|
@@ -2481,8 +2649,8 @@ module Aws::Lambda
|
|
|
2481
2649
|
# @example Request syntax with placeholder values
|
|
2482
2650
|
#
|
|
2483
2651
|
# resp = client.delete_function_event_invoke_config({
|
|
2484
|
-
# function_name: "
|
|
2485
|
-
# qualifier: "
|
|
2652
|
+
# function_name: "NamespacedFunctionName", # required
|
|
2653
|
+
# qualifier: "NumericLatestPublishedOrAliasQualifier",
|
|
2486
2654
|
# })
|
|
2487
2655
|
#
|
|
2488
2656
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionEventInvokeConfig AWS API Documentation
|
|
@@ -2757,6 +2925,54 @@ module Aws::Lambda
|
|
|
2757
2925
|
req.send_request(options)
|
|
2758
2926
|
end
|
|
2759
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
|
+
|
|
2760
2976
|
# Returns information about the specified code signing configuration.
|
|
2761
2977
|
#
|
|
2762
2978
|
# @option params [required, String] :code_signing_config_arn
|
|
@@ -3024,7 +3240,7 @@ module Aws::Lambda
|
|
|
3024
3240
|
#
|
|
3025
3241
|
# resp = client.get_function({
|
|
3026
3242
|
# function_name: "NamespacedFunctionName", # required
|
|
3027
|
-
# qualifier: "
|
|
3243
|
+
# qualifier: "NumericLatestPublishedOrAliasQualifier",
|
|
3028
3244
|
# })
|
|
3029
3245
|
#
|
|
3030
3246
|
# @example Response structure
|
|
@@ -3061,12 +3277,12 @@ module Aws::Lambda
|
|
|
3061
3277
|
# resp.configuration.layers[0].code_size #=> Integer
|
|
3062
3278
|
# resp.configuration.layers[0].signing_profile_version_arn #=> String
|
|
3063
3279
|
# resp.configuration.layers[0].signing_job_arn #=> String
|
|
3064
|
-
# 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"
|
|
3065
3281
|
# resp.configuration.state_reason #=> String
|
|
3066
|
-
# resp.configuration.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
|
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"
|
|
3067
3283
|
# resp.configuration.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
|
3068
3284
|
# resp.configuration.last_update_status_reason #=> String
|
|
3069
|
-
# resp.configuration.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
|
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"
|
|
3070
3286
|
# resp.configuration.file_system_configs #=> Array
|
|
3071
3287
|
# resp.configuration.file_system_configs[0].arn #=> String
|
|
3072
3288
|
# resp.configuration.file_system_configs[0].local_mount_path #=> String
|
|
@@ -3092,6 +3308,10 @@ module Aws::Lambda
|
|
|
3092
3308
|
# resp.configuration.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
|
|
3093
3309
|
# resp.configuration.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
|
|
3094
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
|
|
3095
3315
|
# resp.configuration.tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
|
|
3096
3316
|
# resp.code.repository_type #=> String
|
|
3097
3317
|
# resp.code.location #=> String
|
|
@@ -3145,7 +3365,7 @@ module Aws::Lambda
|
|
|
3145
3365
|
# @example Request syntax with placeholder values
|
|
3146
3366
|
#
|
|
3147
3367
|
# resp = client.get_function_code_signing_config({
|
|
3148
|
-
# function_name: "
|
|
3368
|
+
# function_name: "NamespacedFunctionName", # required
|
|
3149
3369
|
# })
|
|
3150
3370
|
#
|
|
3151
3371
|
# @example Response structure
|
|
@@ -3284,6 +3504,8 @@ module Aws::Lambda
|
|
|
3284
3504
|
# * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
|
|
3285
3505
|
# * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
|
|
3286
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
|
|
3287
3509
|
# * {Types::FunctionConfiguration#tenancy_config #tenancy_config} => Types::TenancyConfig
|
|
3288
3510
|
#
|
|
3289
3511
|
#
|
|
@@ -3329,7 +3551,7 @@ module Aws::Lambda
|
|
|
3329
3551
|
#
|
|
3330
3552
|
# resp = client.get_function_configuration({
|
|
3331
3553
|
# function_name: "NamespacedFunctionName", # required
|
|
3332
|
-
# qualifier: "
|
|
3554
|
+
# qualifier: "NumericLatestPublishedOrAliasQualifier",
|
|
3333
3555
|
# })
|
|
3334
3556
|
#
|
|
3335
3557
|
# @example Response structure
|
|
@@ -3366,12 +3588,12 @@ module Aws::Lambda
|
|
|
3366
3588
|
# resp.layers[0].code_size #=> Integer
|
|
3367
3589
|
# resp.layers[0].signing_profile_version_arn #=> String
|
|
3368
3590
|
# resp.layers[0].signing_job_arn #=> String
|
|
3369
|
-
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
|
3591
|
+
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
|
|
3370
3592
|
# resp.state_reason #=> String
|
|
3371
|
-
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
|
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"
|
|
3372
3594
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
|
3373
3595
|
# resp.last_update_status_reason #=> String
|
|
3374
|
-
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
|
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"
|
|
3375
3597
|
# resp.file_system_configs #=> Array
|
|
3376
3598
|
# resp.file_system_configs[0].arn #=> String
|
|
3377
3599
|
# resp.file_system_configs[0].local_mount_path #=> String
|
|
@@ -3397,6 +3619,10 @@ module Aws::Lambda
|
|
|
3397
3619
|
# resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
|
|
3398
3620
|
# resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
|
|
3399
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
|
|
3400
3626
|
# resp.tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
|
|
3401
3627
|
#
|
|
3402
3628
|
#
|
|
@@ -3478,8 +3704,8 @@ module Aws::Lambda
|
|
|
3478
3704
|
# @example Request syntax with placeholder values
|
|
3479
3705
|
#
|
|
3480
3706
|
# resp = client.get_function_event_invoke_config({
|
|
3481
|
-
# function_name: "
|
|
3482
|
-
# qualifier: "
|
|
3707
|
+
# function_name: "NamespacedFunctionName", # required
|
|
3708
|
+
# qualifier: "NumericLatestPublishedOrAliasQualifier",
|
|
3483
3709
|
# })
|
|
3484
3710
|
#
|
|
3485
3711
|
# @example Response structure
|
|
@@ -3507,6 +3733,7 @@ module Aws::Lambda
|
|
|
3507
3733
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-recursion.html
|
|
3508
3734
|
#
|
|
3509
3735
|
# @option params [required, String] :function_name
|
|
3736
|
+
# The name of the function.
|
|
3510
3737
|
#
|
|
3511
3738
|
# @return [Types::GetFunctionRecursionConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3512
3739
|
#
|
|
@@ -3531,6 +3758,46 @@ module Aws::Lambda
|
|
|
3531
3758
|
req.send_request(options)
|
|
3532
3759
|
end
|
|
3533
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
|
+
|
|
3534
3801
|
# Returns details about a Lambda function URL.
|
|
3535
3802
|
#
|
|
3536
3803
|
# @option params [required, String] :function_name
|
|
@@ -3856,7 +4123,7 @@ module Aws::Lambda
|
|
|
3856
4123
|
#
|
|
3857
4124
|
# resp = client.get_policy({
|
|
3858
4125
|
# function_name: "NamespacedFunctionName", # required
|
|
3859
|
-
# qualifier: "
|
|
4126
|
+
# qualifier: "NumericLatestPublishedOrAliasQualifier",
|
|
3860
4127
|
# })
|
|
3861
4128
|
#
|
|
3862
4129
|
# @example Response structure
|
|
@@ -3904,9 +4171,9 @@ module Aws::Lambda
|
|
|
3904
4171
|
# * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
|
|
3905
4172
|
#
|
|
3906
4173
|
#
|
|
3907
|
-
# @example Example: To
|
|
4174
|
+
# @example Example: To view a provisioned concurrency configuration
|
|
3908
4175
|
#
|
|
3909
|
-
# # The following example
|
|
4176
|
+
# # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
|
|
3910
4177
|
# # function.
|
|
3911
4178
|
#
|
|
3912
4179
|
# resp = client.get_provisioned_concurrency_config({
|
|
@@ -3923,9 +4190,9 @@ module Aws::Lambda
|
|
|
3923
4190
|
# status: "READY",
|
|
3924
4191
|
# }
|
|
3925
4192
|
#
|
|
3926
|
-
# @example Example: To
|
|
4193
|
+
# @example Example: To get a provisioned concurrency configuration
|
|
3927
4194
|
#
|
|
3928
|
-
# # The following example
|
|
4195
|
+
# # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
|
|
3929
4196
|
# # function.
|
|
3930
4197
|
#
|
|
3931
4198
|
# resp = client.get_provisioned_concurrency_config({
|
|
@@ -4008,7 +4275,7 @@ module Aws::Lambda
|
|
|
4008
4275
|
#
|
|
4009
4276
|
# resp = client.get_runtime_management_config({
|
|
4010
4277
|
# function_name: "NamespacedFunctionName", # required
|
|
4011
|
-
# qualifier: "
|
|
4278
|
+
# qualifier: "NumericLatestPublishedOrAliasQualifier",
|
|
4012
4279
|
# })
|
|
4013
4280
|
#
|
|
4014
4281
|
# @example Response structure
|
|
@@ -4193,7 +4460,7 @@ module Aws::Lambda
|
|
|
4193
4460
|
# log_type: "None", # accepts None, Tail
|
|
4194
4461
|
# client_context: "String",
|
|
4195
4462
|
# payload: "data",
|
|
4196
|
-
# qualifier: "
|
|
4463
|
+
# qualifier: "NumericLatestPublishedOrAliasQualifier",
|
|
4197
4464
|
# tenant_id: "TenantId",
|
|
4198
4465
|
# })
|
|
4199
4466
|
#
|
|
@@ -4463,7 +4730,7 @@ module Aws::Lambda
|
|
|
4463
4730
|
# invocation_type: "RequestResponse", # accepts RequestResponse, DryRun
|
|
4464
4731
|
# log_type: "None", # accepts None, Tail
|
|
4465
4732
|
# client_context: "String",
|
|
4466
|
-
# qualifier: "
|
|
4733
|
+
# qualifier: "NumericLatestPublishedOrAliasQualifier",
|
|
4467
4734
|
# payload: "data",
|
|
4468
4735
|
# tenant_id: "TenantId",
|
|
4469
4736
|
# })
|
|
@@ -4590,7 +4857,7 @@ module Aws::Lambda
|
|
|
4590
4857
|
#
|
|
4591
4858
|
# resp = client.list_aliases({
|
|
4592
4859
|
# function_name: "FunctionName", # required
|
|
4593
|
-
# function_version: "
|
|
4860
|
+
# function_version: "VersionWithLatestPublished",
|
|
4594
4861
|
# marker: "String",
|
|
4595
4862
|
# max_items: 1,
|
|
4596
4863
|
# })
|
|
@@ -4616,6 +4883,67 @@ module Aws::Lambda
|
|
|
4616
4883
|
req.send_request(options)
|
|
4617
4884
|
end
|
|
4618
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<Types::CapacityProvider>
|
|
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
|
+
|
|
4619
4947
|
# Returns a list of [code signing configurations][1]. A request returns
|
|
4620
4948
|
# up to 10,000 configurations per call. You can use the `MaxItems`
|
|
4621
4949
|
# parameter to return fewer configurations per call.
|
|
@@ -4752,7 +5080,7 @@ module Aws::Lambda
|
|
|
4752
5080
|
#
|
|
4753
5081
|
# resp = client.list_event_source_mappings({
|
|
4754
5082
|
# event_source_arn: "Arn",
|
|
4755
|
-
# function_name: "
|
|
5083
|
+
# function_name: "NamespacedFunctionName",
|
|
4756
5084
|
# marker: "String",
|
|
4757
5085
|
# max_items: 1,
|
|
4758
5086
|
# })
|
|
@@ -4897,7 +5225,7 @@ module Aws::Lambda
|
|
|
4897
5225
|
# @example Request syntax with placeholder values
|
|
4898
5226
|
#
|
|
4899
5227
|
# resp = client.list_function_event_invoke_configs({
|
|
4900
|
-
# function_name: "
|
|
5228
|
+
# function_name: "NamespacedFunctionName", # required
|
|
4901
5229
|
# marker: "String",
|
|
4902
5230
|
# max_items: 1,
|
|
4903
5231
|
# })
|
|
@@ -4993,6 +5321,52 @@ module Aws::Lambda
|
|
|
4993
5321
|
req.send_request(options)
|
|
4994
5322
|
end
|
|
4995
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<Types::FunctionVersionsByCapacityProviderListItem>
|
|
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
|
+
|
|
4996
5370
|
# Returns a list of Lambda functions, with the version-specific
|
|
4997
5371
|
# configuration of each. Lambda returns up to 50 functions per call.
|
|
4998
5372
|
#
|
|
@@ -5137,12 +5511,12 @@ module Aws::Lambda
|
|
|
5137
5511
|
# resp.functions[0].layers[0].code_size #=> Integer
|
|
5138
5512
|
# resp.functions[0].layers[0].signing_profile_version_arn #=> String
|
|
5139
5513
|
# resp.functions[0].layers[0].signing_job_arn #=> String
|
|
5140
|
-
# 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"
|
|
5141
5515
|
# resp.functions[0].state_reason #=> String
|
|
5142
|
-
# resp.functions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
|
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"
|
|
5143
5517
|
# resp.functions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
|
5144
5518
|
# resp.functions[0].last_update_status_reason #=> String
|
|
5145
|
-
# resp.functions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
|
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"
|
|
5146
5520
|
# resp.functions[0].file_system_configs #=> Array
|
|
5147
5521
|
# resp.functions[0].file_system_configs[0].arn #=> String
|
|
5148
5522
|
# resp.functions[0].file_system_configs[0].local_mount_path #=> String
|
|
@@ -5168,6 +5542,10 @@ module Aws::Lambda
|
|
|
5168
5542
|
# resp.functions[0].logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
|
|
5169
5543
|
# resp.functions[0].logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
|
|
5170
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
|
|
5171
5549
|
# resp.functions[0].tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
|
|
5172
5550
|
#
|
|
5173
5551
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
|
|
@@ -5738,12 +6116,12 @@ module Aws::Lambda
|
|
|
5738
6116
|
# resp.versions[0].layers[0].code_size #=> Integer
|
|
5739
6117
|
# resp.versions[0].layers[0].signing_profile_version_arn #=> String
|
|
5740
6118
|
# resp.versions[0].layers[0].signing_job_arn #=> String
|
|
5741
|
-
# 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"
|
|
5742
6120
|
# resp.versions[0].state_reason #=> String
|
|
5743
|
-
# resp.versions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
|
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"
|
|
5744
6122
|
# resp.versions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
|
5745
6123
|
# resp.versions[0].last_update_status_reason #=> String
|
|
5746
|
-
# resp.versions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
|
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"
|
|
5747
6125
|
# resp.versions[0].file_system_configs #=> Array
|
|
5748
6126
|
# resp.versions[0].file_system_configs[0].arn #=> String
|
|
5749
6127
|
# resp.versions[0].file_system_configs[0].local_mount_path #=> String
|
|
@@ -5769,6 +6147,10 @@ module Aws::Lambda
|
|
|
5769
6147
|
# resp.versions[0].logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
|
|
5770
6148
|
# resp.versions[0].logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
|
|
5771
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
|
|
5772
6154
|
# resp.versions[0].tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
|
|
5773
6155
|
#
|
|
5774
6156
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
|
|
@@ -5974,6 +6356,9 @@ module Aws::Lambda
|
|
|
5974
6356
|
# specified. Use this option to avoid publishing a version if the
|
|
5975
6357
|
# function configuration has changed since you last updated it.
|
|
5976
6358
|
#
|
|
6359
|
+
# @option params [String] :publish_to
|
|
6360
|
+
# Specifies where to publish the function version or configuration.
|
|
6361
|
+
#
|
|
5977
6362
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5978
6363
|
#
|
|
5979
6364
|
# * {Types::FunctionConfiguration#function_name #function_name} => String
|
|
@@ -6012,6 +6397,8 @@ module Aws::Lambda
|
|
|
6012
6397
|
# * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
|
|
6013
6398
|
# * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
|
|
6014
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
|
|
6015
6402
|
# * {Types::FunctionConfiguration#tenancy_config #tenancy_config} => Types::TenancyConfig
|
|
6016
6403
|
#
|
|
6017
6404
|
#
|
|
@@ -6061,6 +6448,7 @@ module Aws::Lambda
|
|
|
6061
6448
|
# code_sha_256: "String",
|
|
6062
6449
|
# description: "Description",
|
|
6063
6450
|
# revision_id: "String",
|
|
6451
|
+
# publish_to: "LATEST_PUBLISHED", # accepts LATEST_PUBLISHED
|
|
6064
6452
|
# })
|
|
6065
6453
|
#
|
|
6066
6454
|
# @example Response structure
|
|
@@ -6097,12 +6485,12 @@ module Aws::Lambda
|
|
|
6097
6485
|
# resp.layers[0].code_size #=> Integer
|
|
6098
6486
|
# resp.layers[0].signing_profile_version_arn #=> String
|
|
6099
6487
|
# resp.layers[0].signing_job_arn #=> String
|
|
6100
|
-
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
|
6488
|
+
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
|
|
6101
6489
|
# resp.state_reason #=> String
|
|
6102
|
-
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
|
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"
|
|
6103
6491
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
|
6104
6492
|
# resp.last_update_status_reason #=> String
|
|
6105
|
-
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
|
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"
|
|
6106
6494
|
# resp.file_system_configs #=> Array
|
|
6107
6495
|
# resp.file_system_configs[0].arn #=> String
|
|
6108
6496
|
# resp.file_system_configs[0].local_mount_path #=> String
|
|
@@ -6128,6 +6516,10 @@ module Aws::Lambda
|
|
|
6128
6516
|
# resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
|
|
6129
6517
|
# resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
|
|
6130
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
|
|
6131
6523
|
# resp.tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
|
|
6132
6524
|
#
|
|
6133
6525
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
|
|
@@ -6170,7 +6562,7 @@ module Aws::Lambda
|
|
|
6170
6562
|
#
|
|
6171
6563
|
# resp = client.put_function_code_signing_config({
|
|
6172
6564
|
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
|
6173
|
-
# function_name: "
|
|
6565
|
+
# function_name: "NamespacedFunctionName", # required
|
|
6174
6566
|
# })
|
|
6175
6567
|
#
|
|
6176
6568
|
# @example Response structure
|
|
@@ -6378,8 +6770,8 @@ module Aws::Lambda
|
|
|
6378
6770
|
# @example Request syntax with placeholder values
|
|
6379
6771
|
#
|
|
6380
6772
|
# resp = client.put_function_event_invoke_config({
|
|
6381
|
-
# function_name: "
|
|
6382
|
-
# qualifier: "
|
|
6773
|
+
# function_name: "NamespacedFunctionName", # required
|
|
6774
|
+
# qualifier: "NumericLatestPublishedOrAliasQualifier",
|
|
6383
6775
|
# maximum_retry_attempts: 1,
|
|
6384
6776
|
# maximum_event_age_in_seconds: 1,
|
|
6385
6777
|
# destination_config: {
|
|
@@ -6495,6 +6887,51 @@ module Aws::Lambda
|
|
|
6495
6887
|
req.send_request(options)
|
|
6496
6888
|
end
|
|
6497
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
|
+
|
|
6498
6935
|
# Adds a provisioned concurrency configuration to a function's alias or
|
|
6499
6936
|
# version.
|
|
6500
6937
|
#
|
|
@@ -6646,8 +7083,8 @@ module Aws::Lambda
|
|
|
6646
7083
|
# @example Request syntax with placeholder values
|
|
6647
7084
|
#
|
|
6648
7085
|
# resp = client.put_runtime_management_config({
|
|
6649
|
-
# function_name: "
|
|
6650
|
-
# qualifier: "
|
|
7086
|
+
# function_name: "NamespacedFunctionName", # required
|
|
7087
|
+
# qualifier: "NumericLatestPublishedOrAliasQualifier",
|
|
6651
7088
|
# update_runtime_on: "Auto", # required, accepts Auto, Manual, FunctionUpdate
|
|
6652
7089
|
# runtime_version_arn: "RuntimeVersionArn",
|
|
6653
7090
|
# })
|
|
@@ -6770,9 +7207,9 @@ module Aws::Lambda
|
|
|
6770
7207
|
# @example Request syntax with placeholder values
|
|
6771
7208
|
#
|
|
6772
7209
|
# resp = client.remove_permission({
|
|
6773
|
-
# function_name: "
|
|
7210
|
+
# function_name: "NamespacedFunctionName", # required
|
|
6774
7211
|
# statement_id: "NamespacedStatementId", # required
|
|
6775
|
-
# qualifier: "
|
|
7212
|
+
# qualifier: "NumericLatestPublishedOrAliasQualifier",
|
|
6776
7213
|
# revision_id: "String",
|
|
6777
7214
|
# })
|
|
6778
7215
|
#
|
|
@@ -6960,7 +7397,7 @@ module Aws::Lambda
|
|
|
6960
7397
|
# resp = client.update_alias({
|
|
6961
7398
|
# function_name: "FunctionName", # required
|
|
6962
7399
|
# name: "Alias", # required
|
|
6963
|
-
# function_version: "
|
|
7400
|
+
# function_version: "VersionWithLatestPublished",
|
|
6964
7401
|
# description: "Description",
|
|
6965
7402
|
# routing_config: {
|
|
6966
7403
|
# additional_version_weights: {
|
|
@@ -6989,6 +7426,66 @@ module Aws::Lambda
|
|
|
6989
7426
|
req.send_request(options)
|
|
6990
7427
|
end
|
|
6991
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
|
+
|
|
6992
7489
|
# Update the code signing configuration. Changes to the code signing
|
|
6993
7490
|
# configuration take effect the next time a user tries to deploy a code
|
|
6994
7491
|
# package to the function.
|
|
@@ -7348,7 +7845,7 @@ module Aws::Lambda
|
|
|
7348
7845
|
#
|
|
7349
7846
|
# resp = client.update_event_source_mapping({
|
|
7350
7847
|
# uuid: "String", # required
|
|
7351
|
-
# function_name: "
|
|
7848
|
+
# function_name: "NamespacedFunctionName",
|
|
7352
7849
|
# enabled: false,
|
|
7353
7850
|
# batch_size: 1,
|
|
7354
7851
|
# filter_criteria: {
|
|
@@ -7601,6 +8098,9 @@ module Aws::Lambda
|
|
|
7601
8098
|
# you don't provide a customer managed key, Lambda uses an Amazon Web
|
|
7602
8099
|
# Services managed key.
|
|
7603
8100
|
#
|
|
8101
|
+
# @option params [String] :publish_to
|
|
8102
|
+
# Specifies where to publish the function version or configuration.
|
|
8103
|
+
#
|
|
7604
8104
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7605
8105
|
#
|
|
7606
8106
|
# * {Types::FunctionConfiguration#function_name #function_name} => String
|
|
@@ -7639,6 +8139,8 @@ module Aws::Lambda
|
|
|
7639
8139
|
# * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
|
|
7640
8140
|
# * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
|
|
7641
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
|
|
7642
8144
|
# * {Types::FunctionConfiguration#tenancy_config #tenancy_config} => Types::TenancyConfig
|
|
7643
8145
|
#
|
|
7644
8146
|
#
|
|
@@ -7687,6 +8189,7 @@ module Aws::Lambda
|
|
|
7687
8189
|
# revision_id: "String",
|
|
7688
8190
|
# architectures: ["x86_64"], # accepts x86_64, arm64
|
|
7689
8191
|
# source_kms_key_arn: "KMSKeyArn",
|
|
8192
|
+
# publish_to: "LATEST_PUBLISHED", # accepts LATEST_PUBLISHED
|
|
7690
8193
|
# })
|
|
7691
8194
|
#
|
|
7692
8195
|
# @example Response structure
|
|
@@ -7723,12 +8226,12 @@ module Aws::Lambda
|
|
|
7723
8226
|
# resp.layers[0].code_size #=> Integer
|
|
7724
8227
|
# resp.layers[0].signing_profile_version_arn #=> String
|
|
7725
8228
|
# resp.layers[0].signing_job_arn #=> String
|
|
7726
|
-
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
|
8229
|
+
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
|
|
7727
8230
|
# resp.state_reason #=> String
|
|
7728
|
-
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
|
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"
|
|
7729
8232
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
|
7730
8233
|
# resp.last_update_status_reason #=> String
|
|
7731
|
-
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
|
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"
|
|
7732
8235
|
# resp.file_system_configs #=> Array
|
|
7733
8236
|
# resp.file_system_configs[0].arn #=> String
|
|
7734
8237
|
# resp.file_system_configs[0].local_mount_path #=> String
|
|
@@ -7754,6 +8257,10 @@ module Aws::Lambda
|
|
|
7754
8257
|
# resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
|
|
7755
8258
|
# resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
|
|
7756
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
|
|
7757
8264
|
# resp.tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
|
|
7758
8265
|
#
|
|
7759
8266
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
|
|
@@ -7965,6 +8472,10 @@ module Aws::Lambda
|
|
|
7965
8472
|
# @option params [Types::LoggingConfig] :logging_config
|
|
7966
8473
|
# The function's Amazon CloudWatch Logs configuration settings.
|
|
7967
8474
|
#
|
|
8475
|
+
# @option params [Types::CapacityProviderConfig] :capacity_provider_config
|
|
8476
|
+
# Configuration for the capacity provider that manages compute resources
|
|
8477
|
+
# for Lambda functions.
|
|
8478
|
+
#
|
|
7968
8479
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7969
8480
|
#
|
|
7970
8481
|
# * {Types::FunctionConfiguration#function_name #function_name} => String
|
|
@@ -8003,6 +8514,8 @@ module Aws::Lambda
|
|
|
8003
8514
|
# * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
|
|
8004
8515
|
# * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
|
|
8005
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
|
|
8006
8519
|
# * {Types::FunctionConfiguration#tenancy_config #tenancy_config} => Types::TenancyConfig
|
|
8007
8520
|
#
|
|
8008
8521
|
#
|
|
@@ -8088,6 +8601,13 @@ module Aws::Lambda
|
|
|
8088
8601
|
# system_log_level: "DEBUG", # accepts DEBUG, INFO, WARN
|
|
8089
8602
|
# log_group: "LogGroup",
|
|
8090
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
|
+
# },
|
|
8091
8611
|
# })
|
|
8092
8612
|
#
|
|
8093
8613
|
# @example Response structure
|
|
@@ -8124,12 +8644,12 @@ module Aws::Lambda
|
|
|
8124
8644
|
# resp.layers[0].code_size #=> Integer
|
|
8125
8645
|
# resp.layers[0].signing_profile_version_arn #=> String
|
|
8126
8646
|
# resp.layers[0].signing_job_arn #=> String
|
|
8127
|
-
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
|
8647
|
+
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
|
|
8128
8648
|
# resp.state_reason #=> String
|
|
8129
|
-
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
|
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"
|
|
8130
8650
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
|
8131
8651
|
# resp.last_update_status_reason #=> String
|
|
8132
|
-
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
|
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"
|
|
8133
8653
|
# resp.file_system_configs #=> Array
|
|
8134
8654
|
# resp.file_system_configs[0].arn #=> String
|
|
8135
8655
|
# resp.file_system_configs[0].local_mount_path #=> String
|
|
@@ -8155,6 +8675,10 @@ module Aws::Lambda
|
|
|
8155
8675
|
# resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
|
|
8156
8676
|
# resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
|
|
8157
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
|
|
8158
8682
|
# resp.tenancy_config.tenant_isolation_mode #=> String, one of "PER_TENANT"
|
|
8159
8683
|
#
|
|
8160
8684
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
|
|
@@ -8262,8 +8786,8 @@ module Aws::Lambda
|
|
|
8262
8786
|
# @example Request syntax with placeholder values
|
|
8263
8787
|
#
|
|
8264
8788
|
# resp = client.update_function_event_invoke_config({
|
|
8265
|
-
# function_name: "
|
|
8266
|
-
# qualifier: "
|
|
8789
|
+
# function_name: "NamespacedFunctionName", # required
|
|
8790
|
+
# qualifier: "NumericLatestPublishedOrAliasQualifier",
|
|
8267
8791
|
# maximum_retry_attempts: 1,
|
|
8268
8792
|
# maximum_event_age_in_seconds: 1,
|
|
8269
8793
|
# destination_config: {
|
|
@@ -8419,7 +8943,7 @@ module Aws::Lambda
|
|
|
8419
8943
|
tracer: tracer
|
|
8420
8944
|
)
|
|
8421
8945
|
context[:gem_name] = 'aws-sdk-lambda'
|
|
8422
|
-
context[:gem_version] = '1.
|
|
8946
|
+
context[:gem_version] = '1.168.0'
|
|
8423
8947
|
Seahorse::Client::Request.new(handlers, context)
|
|
8424
8948
|
end
|
|
8425
8949
|
|