aws-sdk-lambda 1.166.0 → 1.168.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -225,14 +225,8 @@ module Aws::Lambda
225
225
  # @return [String]
226
226
  #
227
227
  # @!attribute [rw] invoked_via_function_url
228
- # Restricts the `lambda:InvokeFunction` action to function URL calls.
229
- # When specified, this option prevents the principal from invoking the
230
- # function by any means other than the function URL. For more
231
- # information, see [Control access to Lambda function URLs][1].
232
- #
233
- #
234
- #
235
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
228
+ # Indicates whether the permission applies when the function is
229
+ # invoked through a function URL.
236
230
  # @return [Boolean]
237
231
  #
238
232
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermissionRequest AWS API Documentation
@@ -375,6 +369,162 @@ module Aws::Lambda
375
369
  include Aws::Structure
376
370
  end
377
371
 
372
+ # A capacity provider manages compute resources for Lambda functions.
373
+ #
374
+ # @!attribute [rw] capacity_provider_arn
375
+ # The Amazon Resource Name (ARN) of the capacity provider.
376
+ # @return [String]
377
+ #
378
+ # @!attribute [rw] state
379
+ # The current state of the capacity provider.
380
+ # @return [String]
381
+ #
382
+ # @!attribute [rw] vpc_config
383
+ # The VPC configuration for the capacity provider.
384
+ # @return [Types::CapacityProviderVpcConfig]
385
+ #
386
+ # @!attribute [rw] permissions_config
387
+ # The permissions configuration for the capacity provider.
388
+ # @return [Types::CapacityProviderPermissionsConfig]
389
+ #
390
+ # @!attribute [rw] instance_requirements
391
+ # The instance requirements for compute resources managed by the
392
+ # capacity provider.
393
+ # @return [Types::InstanceRequirements]
394
+ #
395
+ # @!attribute [rw] capacity_provider_scaling_config
396
+ # The scaling configuration for the capacity provider.
397
+ # @return [Types::CapacityProviderScalingConfig]
398
+ #
399
+ # @!attribute [rw] kms_key_arn
400
+ # The ARN of the KMS key used to encrypt the capacity provider's
401
+ # resources.
402
+ # @return [String]
403
+ #
404
+ # @!attribute [rw] last_modified
405
+ # The date and time when the capacity provider was last modified.
406
+ # @return [Time]
407
+ #
408
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CapacityProvider AWS API Documentation
409
+ #
410
+ class CapacityProvider < Struct.new(
411
+ :capacity_provider_arn,
412
+ :state,
413
+ :vpc_config,
414
+ :permissions_config,
415
+ :instance_requirements,
416
+ :capacity_provider_scaling_config,
417
+ :kms_key_arn,
418
+ :last_modified)
419
+ SENSITIVE = []
420
+ include Aws::Structure
421
+ end
422
+
423
+ # Configuration for the capacity provider that manages compute resources
424
+ # for Lambda functions.
425
+ #
426
+ # @!attribute [rw] lambda_managed_instances_capacity_provider_config
427
+ # Configuration for Lambda-managed instances used by the capacity
428
+ # provider.
429
+ # @return [Types::LambdaManagedInstancesCapacityProviderConfig]
430
+ #
431
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CapacityProviderConfig AWS API Documentation
432
+ #
433
+ class CapacityProviderConfig < Struct.new(
434
+ :lambda_managed_instances_capacity_provider_config)
435
+ SENSITIVE = []
436
+ include Aws::Structure
437
+ end
438
+
439
+ # The maximum number of capacity providers for your account has been
440
+ # exceeded. For more information, see [Lambda quotas][1]
441
+ #
442
+ #
443
+ #
444
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
445
+ #
446
+ # @!attribute [rw] type
447
+ # The exception type.
448
+ # @return [String]
449
+ #
450
+ # @!attribute [rw] message
451
+ # @return [String]
452
+ #
453
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CapacityProviderLimitExceededException AWS API Documentation
454
+ #
455
+ class CapacityProviderLimitExceededException < Struct.new(
456
+ :type,
457
+ :message)
458
+ SENSITIVE = []
459
+ include Aws::Structure
460
+ end
461
+
462
+ # Configuration that specifies the permissions required for the capacity
463
+ # provider to manage compute resources.
464
+ #
465
+ # @!attribute [rw] capacity_provider_operator_role_arn
466
+ # The ARN of the IAM role that the capacity provider uses to manage
467
+ # compute instances and other Amazon Web Services resources.
468
+ # @return [String]
469
+ #
470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CapacityProviderPermissionsConfig AWS API Documentation
471
+ #
472
+ class CapacityProviderPermissionsConfig < Struct.new(
473
+ :capacity_provider_operator_role_arn)
474
+ SENSITIVE = []
475
+ include Aws::Structure
476
+ end
477
+
478
+ # Configuration that defines how the capacity provider scales compute
479
+ # instances based on demand and policies.
480
+ #
481
+ # @!attribute [rw] max_v_cpu_count
482
+ # The maximum number of vCPUs that the capacity provider can provision
483
+ # across all compute instances.
484
+ # @return [Integer]
485
+ #
486
+ # @!attribute [rw] scaling_mode
487
+ # The scaling mode that determines how the capacity provider responds
488
+ # to changes in demand.
489
+ # @return [String]
490
+ #
491
+ # @!attribute [rw] scaling_policies
492
+ # A list of scaling policies that define how the capacity provider
493
+ # scales compute instances based on metrics and thresholds.
494
+ # @return [Array<Types::TargetTrackingScalingPolicy>]
495
+ #
496
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CapacityProviderScalingConfig AWS API Documentation
497
+ #
498
+ class CapacityProviderScalingConfig < Struct.new(
499
+ :max_v_cpu_count,
500
+ :scaling_mode,
501
+ :scaling_policies)
502
+ SENSITIVE = []
503
+ include Aws::Structure
504
+ end
505
+
506
+ # VPC configuration that specifies the network settings for compute
507
+ # instances managed by the capacity provider.
508
+ #
509
+ # @!attribute [rw] subnet_ids
510
+ # A list of subnet IDs where the capacity provider launches compute
511
+ # instances.
512
+ # @return [Array<String>]
513
+ #
514
+ # @!attribute [rw] security_group_ids
515
+ # A list of security group IDs that control network access for compute
516
+ # instances managed by the capacity provider.
517
+ # @return [Array<String>]
518
+ #
519
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CapacityProviderVpcConfig AWS API Documentation
520
+ #
521
+ class CapacityProviderVpcConfig < Struct.new(
522
+ :subnet_ids,
523
+ :security_group_ids)
524
+ SENSITIVE = []
525
+ include Aws::Structure
526
+ end
527
+
378
528
  # Details about a [Code signing configuration][1].
379
529
  #
380
530
  #
@@ -630,6 +780,67 @@ module Aws::Lambda
630
780
  include Aws::Structure
631
781
  end
632
782
 
783
+ # @!attribute [rw] capacity_provider_name
784
+ # The name of the capacity provider.
785
+ # @return [String]
786
+ #
787
+ # @!attribute [rw] vpc_config
788
+ # The VPC configuration for the capacity provider, including subnet
789
+ # IDs and security group IDs where compute instances will be launched.
790
+ # @return [Types::CapacityProviderVpcConfig]
791
+ #
792
+ # @!attribute [rw] permissions_config
793
+ # The permissions configuration that specifies the IAM role ARN used
794
+ # by the capacity provider to manage compute resources.
795
+ # @return [Types::CapacityProviderPermissionsConfig]
796
+ #
797
+ # @!attribute [rw] instance_requirements
798
+ # The instance requirements that specify the compute instance
799
+ # characteristics, including architectures and allowed or excluded
800
+ # instance types.
801
+ # @return [Types::InstanceRequirements]
802
+ #
803
+ # @!attribute [rw] capacity_provider_scaling_config
804
+ # The scaling configuration that defines how the capacity provider
805
+ # scales compute instances, including maximum vCPU count and scaling
806
+ # policies.
807
+ # @return [Types::CapacityProviderScalingConfig]
808
+ #
809
+ # @!attribute [rw] kms_key_arn
810
+ # The ARN of the KMS key used to encrypt data associated with the
811
+ # capacity provider.
812
+ # @return [String]
813
+ #
814
+ # @!attribute [rw] tags
815
+ # A list of tags to associate with the capacity provider.
816
+ # @return [Hash<String,String>]
817
+ #
818
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCapacityProviderRequest AWS API Documentation
819
+ #
820
+ class CreateCapacityProviderRequest < Struct.new(
821
+ :capacity_provider_name,
822
+ :vpc_config,
823
+ :permissions_config,
824
+ :instance_requirements,
825
+ :capacity_provider_scaling_config,
826
+ :kms_key_arn,
827
+ :tags)
828
+ SENSITIVE = []
829
+ include Aws::Structure
830
+ end
831
+
832
+ # @!attribute [rw] capacity_provider
833
+ # Information about the capacity provider that was created.
834
+ # @return [Types::CapacityProvider]
835
+ #
836
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCapacityProviderResponse AWS API Documentation
837
+ #
838
+ class CreateCapacityProviderResponse < Struct.new(
839
+ :capacity_provider)
840
+ SENSITIVE = []
841
+ include Aws::Structure
842
+ end
843
+
633
844
  # @!attribute [rw] description
634
845
  # Descriptive name for this code signing configuration.
635
846
  # @return [String]
@@ -791,26 +1002,28 @@ module Aws::Lambda
791
1002
  # @return [Time]
792
1003
  #
793
1004
  # @!attribute [rw] destination_config
794
- # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only)
795
- # A configuration object that specifies the destination of an event
796
- # after Lambda processes it.
1005
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
1006
+ # Kafka) A configuration object that specifies the destination of an
1007
+ # event after Lambda processes it.
797
1008
  # @return [Types::DestinationConfig]
798
1009
  #
799
1010
  # @!attribute [rw] maximum_record_age_in_seconds
800
- # (Kinesis and DynamoDB Streams only) Discard records older than the
801
- # specified age. The default value is infinite (-1).
1011
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
1012
+ # Kafka) Discard records older than the specified age. The default
1013
+ # value is infinite (-1).
802
1014
  # @return [Integer]
803
1015
  #
804
1016
  # @!attribute [rw] bisect_batch_on_function_error
805
- # (Kinesis and DynamoDB Streams only) If the function returns an
806
- # error, split the batch in two and retry.
1017
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
1018
+ # Kafka) If the function returns an error, split the batch in two and
1019
+ # retry.
807
1020
  # @return [Boolean]
808
1021
  #
809
1022
  # @!attribute [rw] maximum_retry_attempts
810
- # (Kinesis and DynamoDB Streams only) Discard records after the
811
- # specified number of retries. The default value is infinite (-1).
812
- # When set to infinite (-1), failed records are retried until the
813
- # record expires.
1023
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
1024
+ # Kafka) Discard records after the specified number of retries. The
1025
+ # default value is infinite (-1). When set to infinite (-1), failed
1026
+ # records are retried until the record expires.
814
1027
  # @return [Integer]
815
1028
  #
816
1029
  # @!attribute [rw] tags
@@ -841,8 +1054,9 @@ module Aws::Lambda
841
1054
  # @return [Types::SelfManagedEventSource]
842
1055
  #
843
1056
  # @!attribute [rw] function_response_types
844
- # (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current
845
- # response type enums applied to the event source mapping.
1057
+ # (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka,
1058
+ # and Amazon SQS) A list of current response type enums applied to the
1059
+ # event source mapping.
846
1060
  # @return [Array<String>]
847
1061
  #
848
1062
  # @!attribute [rw] amazon_managed_kafka_event_source_config
@@ -1161,6 +1375,15 @@ module Aws::Lambda
1161
1375
  # The function's Amazon CloudWatch Logs configuration settings.
1162
1376
  # @return [Types::LoggingConfig]
1163
1377
  #
1378
+ # @!attribute [rw] capacity_provider_config
1379
+ # Configuration for the capacity provider that manages compute
1380
+ # resources for Lambda functions.
1381
+ # @return [Types::CapacityProviderConfig]
1382
+ #
1383
+ # @!attribute [rw] publish_to
1384
+ # Specifies where to publish the function version or configuration.
1385
+ # @return [String]
1386
+ #
1164
1387
  # @!attribute [rw] tenancy_config
1165
1388
  # Configuration for multi-tenant applications that use Lambda
1166
1389
  # functions. Defines tenant isolation settings and resource
@@ -1194,6 +1417,8 @@ module Aws::Lambda
1194
1417
  :ephemeral_storage,
1195
1418
  :snap_start,
1196
1419
  :logging_config,
1420
+ :capacity_provider_config,
1421
+ :publish_to,
1197
1422
  :tenancy_config)
1198
1423
  SENSITIVE = []
1199
1424
  include Aws::Structure
@@ -1379,6 +1604,30 @@ module Aws::Lambda
1379
1604
  include Aws::Structure
1380
1605
  end
1381
1606
 
1607
+ # @!attribute [rw] capacity_provider_name
1608
+ # The name of the capacity provider to delete.
1609
+ # @return [String]
1610
+ #
1611
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteCapacityProviderRequest AWS API Documentation
1612
+ #
1613
+ class DeleteCapacityProviderRequest < Struct.new(
1614
+ :capacity_provider_name)
1615
+ SENSITIVE = []
1616
+ include Aws::Structure
1617
+ end
1618
+
1619
+ # @!attribute [rw] capacity_provider
1620
+ # Information about the deleted capacity provider.
1621
+ # @return [Types::CapacityProvider]
1622
+ #
1623
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteCapacityProviderResponse AWS API Documentation
1624
+ #
1625
+ class DeleteCapacityProviderResponse < Struct.new(
1626
+ :capacity_provider)
1627
+ SENSITIVE = []
1628
+ include Aws::Structure
1629
+ end
1630
+
1382
1631
  # @!attribute [rw] code_signing_config_arn
1383
1632
  # The The Amazon Resource Name (ARN) of the code signing
1384
1633
  # configuration.
@@ -1519,6 +1768,18 @@ module Aws::Lambda
1519
1768
  include Aws::Structure
1520
1769
  end
1521
1770
 
1771
+ # @!attribute [rw] status_code
1772
+ # The HTTP status code returned by the operation.
1773
+ # @return [Integer]
1774
+ #
1775
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionResponse AWS API Documentation
1776
+ #
1777
+ class DeleteFunctionResponse < Struct.new(
1778
+ :status_code)
1779
+ SENSITIVE = []
1780
+ include Aws::Structure
1781
+ end
1782
+
1522
1783
  # @!attribute [rw] function_name
1523
1784
  # The name or ARN of the Lambda function.
1524
1785
  #
@@ -1989,8 +2250,8 @@ module Aws::Lambda
1989
2250
  #
1990
2251
  # @!attribute [rw] destination_config
1991
2252
  # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
1992
- # Kafka event sources only) A configuration object that specifies the
1993
- # destination of an event after Lambda processes it.
2253
+ # Kafka) A configuration object that specifies the destination of an
2254
+ # event after Lambda processes it.
1994
2255
  # @return [Types::DestinationConfig]
1995
2256
  #
1996
2257
  # @!attribute [rw] topics
@@ -2012,10 +2273,10 @@ module Aws::Lambda
2012
2273
  # @return [Types::SelfManagedEventSource]
2013
2274
  #
2014
2275
  # @!attribute [rw] maximum_record_age_in_seconds
2015
- # (Kinesis and DynamoDB Streams only) Discard records older than the
2016
- # specified age. The default value is -1, which sets the maximum age
2017
- # to infinite. When the value is set to infinite, Lambda never
2018
- # discards old records.
2276
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
2277
+ # Kafka) Discard records older than the specified age. The default
2278
+ # value is -1, which sets the maximum age to infinite. When the value
2279
+ # is set to infinite, Lambda never discards old records.
2019
2280
  #
2020
2281
  # <note markdown="1"> The minimum valid value for maximum record age is 60s. Although
2021
2282
  # values less than 60 and greater than -1 fall within the parameter's
@@ -2025,16 +2286,17 @@ module Aws::Lambda
2025
2286
  # @return [Integer]
2026
2287
  #
2027
2288
  # @!attribute [rw] bisect_batch_on_function_error
2028
- # (Kinesis and DynamoDB Streams only) If the function returns an
2029
- # error, split the batch in two and retry. The default value is false.
2289
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
2290
+ # Kafka) If the function returns an error, split the batch in two and
2291
+ # retry. The default value is false.
2030
2292
  # @return [Boolean]
2031
2293
  #
2032
2294
  # @!attribute [rw] maximum_retry_attempts
2033
- # (Kinesis and DynamoDB Streams only) Discard records after the
2034
- # specified number of retries. The default value is -1, which sets the
2035
- # maximum number of retries to infinite. When MaximumRetryAttempts is
2036
- # infinite, Lambda retries failed records until the record expires in
2037
- # the event source.
2295
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
2296
+ # Kafka) Discard records after the specified number of retries. The
2297
+ # default value is -1, which sets the maximum number of retries to
2298
+ # infinite. When MaximumRetryAttempts is infinite, Lambda retries
2299
+ # failed records until the record expires in the event source.
2038
2300
  # @return [Integer]
2039
2301
  #
2040
2302
  # @!attribute [rw] tumbling_window_in_seconds
@@ -2044,8 +2306,9 @@ module Aws::Lambda
2044
2306
  # @return [Integer]
2045
2307
  #
2046
2308
  # @!attribute [rw] function_response_types
2047
- # (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current
2048
- # response type enums applied to the event source mapping.
2309
+ # (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka,
2310
+ # and Amazon SQS) A list of current response type enums applied to the
2311
+ # event source mapping.
2049
2312
  # @return [Array<String>]
2050
2313
  #
2051
2314
  # @!attribute [rw] amazon_managed_kafka_event_source_config
@@ -2582,6 +2845,15 @@ module Aws::Lambda
2582
2845
  # The function's Amazon CloudWatch Logs configuration settings.
2583
2846
  # @return [Types::LoggingConfig]
2584
2847
  #
2848
+ # @!attribute [rw] capacity_provider_config
2849
+ # Configuration for the capacity provider that manages compute
2850
+ # resources for Lambda functions.
2851
+ # @return [Types::CapacityProviderConfig]
2852
+ #
2853
+ # @!attribute [rw] config_sha_256
2854
+ # The SHA256 hash of the function configuration.
2855
+ # @return [String]
2856
+ #
2585
2857
  # @!attribute [rw] tenancy_config
2586
2858
  # The function's tenant isolation configuration settings. Determines
2587
2859
  # whether the Lambda function runs on a shared or dedicated
@@ -2627,6 +2899,8 @@ module Aws::Lambda
2627
2899
  :snap_start,
2628
2900
  :runtime_version_config,
2629
2901
  :logging_config,
2902
+ :capacity_provider_config,
2903
+ :config_sha_256,
2630
2904
  :tenancy_config)
2631
2905
  SENSITIVE = []
2632
2906
  include Aws::Structure
@@ -2685,6 +2959,29 @@ module Aws::Lambda
2685
2959
  include Aws::Structure
2686
2960
  end
2687
2961
 
2962
+ # Configuration that defines the scaling behavior for a Lambda Managed
2963
+ # Instances function, including the minimum and maximum number of
2964
+ # execution environments that can be provisioned.
2965
+ #
2966
+ # @!attribute [rw] min_execution_environments
2967
+ # The minimum number of execution environments to maintain for the
2968
+ # function.
2969
+ # @return [Integer]
2970
+ #
2971
+ # @!attribute [rw] max_execution_environments
2972
+ # The maximum number of execution environments that can be provisioned
2973
+ # for the function.
2974
+ # @return [Integer]
2975
+ #
2976
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionScalingConfig AWS API Documentation
2977
+ #
2978
+ class FunctionScalingConfig < Struct.new(
2979
+ :min_execution_environments,
2980
+ :max_execution_environments)
2981
+ SENSITIVE = []
2982
+ include Aws::Structure
2983
+ end
2984
+
2688
2985
  # Details about a Lambda function URL.
2689
2986
  #
2690
2987
  # @!attribute [rw] function_url
@@ -2762,6 +3059,50 @@ module Aws::Lambda
2762
3059
  include Aws::Structure
2763
3060
  end
2764
3061
 
3062
+ # Information about a function version that uses a specific capacity
3063
+ # provider, including its ARN and current state.
3064
+ #
3065
+ # @!attribute [rw] function_arn
3066
+ # The Amazon Resource Name (ARN) of the function version.
3067
+ # @return [String]
3068
+ #
3069
+ # @!attribute [rw] state
3070
+ # The current state of the function version.
3071
+ # @return [String]
3072
+ #
3073
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionVersionsByCapacityProviderListItem AWS API Documentation
3074
+ #
3075
+ class FunctionVersionsByCapacityProviderListItem < Struct.new(
3076
+ :function_arn,
3077
+ :state)
3078
+ SENSITIVE = []
3079
+ include Aws::Structure
3080
+ end
3081
+
3082
+ # The maximum number of function versions that can be associated with a
3083
+ # single capacity provider has been exceeded. For more information, see
3084
+ # [Lambda quotas][1].
3085
+ #
3086
+ #
3087
+ #
3088
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
3089
+ #
3090
+ # @!attribute [rw] type
3091
+ # The exception type.
3092
+ # @return [String]
3093
+ #
3094
+ # @!attribute [rw] message
3095
+ # @return [String]
3096
+ #
3097
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionVersionsPerCapacityProviderLimitExceededException AWS API Documentation
3098
+ #
3099
+ class FunctionVersionsPerCapacityProviderLimitExceededException < Struct.new(
3100
+ :type,
3101
+ :message)
3102
+ SENSITIVE = []
3103
+ include Aws::Structure
3104
+ end
3105
+
2765
3106
  # @api private
2766
3107
  #
2767
3108
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettingsRequest AWS API Documentation
@@ -2814,6 +3155,31 @@ module Aws::Lambda
2814
3155
  include Aws::Structure
2815
3156
  end
2816
3157
 
3158
+ # @!attribute [rw] capacity_provider_name
3159
+ # The name of the capacity provider to retrieve.
3160
+ # @return [String]
3161
+ #
3162
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetCapacityProviderRequest AWS API Documentation
3163
+ #
3164
+ class GetCapacityProviderRequest < Struct.new(
3165
+ :capacity_provider_name)
3166
+ SENSITIVE = []
3167
+ include Aws::Structure
3168
+ end
3169
+
3170
+ # @!attribute [rw] capacity_provider
3171
+ # Information about the capacity provider, including its configuration
3172
+ # and current state.
3173
+ # @return [Types::CapacityProvider]
3174
+ #
3175
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetCapacityProviderResponse AWS API Documentation
3176
+ #
3177
+ class GetCapacityProviderResponse < Struct.new(
3178
+ :capacity_provider)
3179
+ SENSITIVE = []
3180
+ include Aws::Structure
3181
+ end
3182
+
2817
3183
  # @!attribute [rw] code_signing_config_arn
2818
3184
  # The The Amazon Resource Name (ARN) of the code signing
2819
3185
  # configuration.
@@ -3006,6 +3372,7 @@ module Aws::Lambda
3006
3372
  end
3007
3373
 
3008
3374
  # @!attribute [rw] function_name
3375
+ # The name of the function.
3009
3376
  # @return [String]
3010
3377
  #
3011
3378
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionRecursionConfigRequest AWS API Documentation
@@ -3114,6 +3481,47 @@ module Aws::Lambda
3114
3481
  include Aws::Structure
3115
3482
  end
3116
3483
 
3484
+ # @!attribute [rw] function_name
3485
+ # The name or ARN of the Lambda function.
3486
+ # @return [String]
3487
+ #
3488
+ # @!attribute [rw] qualifier
3489
+ # Specify a version or alias to get the scaling configuration for a
3490
+ # published version of the function.
3491
+ # @return [String]
3492
+ #
3493
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionScalingConfigRequest AWS API Documentation
3494
+ #
3495
+ class GetFunctionScalingConfigRequest < Struct.new(
3496
+ :function_name,
3497
+ :qualifier)
3498
+ SENSITIVE = []
3499
+ include Aws::Structure
3500
+ end
3501
+
3502
+ # @!attribute [rw] function_arn
3503
+ # The Amazon Resource Name (ARN) of the function.
3504
+ # @return [String]
3505
+ #
3506
+ # @!attribute [rw] applied_function_scaling_config
3507
+ # The scaling configuration that is currently applied to the function.
3508
+ # This represents the actual scaling settings in effect.
3509
+ # @return [Types::FunctionScalingConfig]
3510
+ #
3511
+ # @!attribute [rw] requested_function_scaling_config
3512
+ # The scaling configuration that was requested for the function.
3513
+ # @return [Types::FunctionScalingConfig]
3514
+ #
3515
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionScalingConfigResponse AWS API Documentation
3516
+ #
3517
+ class GetFunctionScalingConfigResponse < Struct.new(
3518
+ :function_arn,
3519
+ :applied_function_scaling_config,
3520
+ :requested_function_scaling_config)
3521
+ SENSITIVE = []
3522
+ include Aws::Structure
3523
+ end
3524
+
3117
3525
  # @!attribute [rw] function_name
3118
3526
  # The name or ARN of the Lambda function.
3119
3527
  #
@@ -3599,6 +4007,34 @@ module Aws::Lambda
3599
4007
  include Aws::Structure
3600
4008
  end
3601
4009
 
4010
+ # Specifications that define the characteristics and constraints for
4011
+ # compute instances used by the capacity provider.
4012
+ #
4013
+ # @!attribute [rw] architectures
4014
+ # A list of supported CPU architectures for compute instances. Valid
4015
+ # values include `x86_64` and `arm64`.
4016
+ # @return [Array<String>]
4017
+ #
4018
+ # @!attribute [rw] allowed_instance_types
4019
+ # A list of EC2 instance types that the capacity provider is allowed
4020
+ # to use. If not specified, all compatible instance types are allowed.
4021
+ # @return [Array<String>]
4022
+ #
4023
+ # @!attribute [rw] excluded_instance_types
4024
+ # A list of EC2 instance types that the capacity provider should not
4025
+ # use, even if they meet other requirements.
4026
+ # @return [Array<String>]
4027
+ #
4028
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InstanceRequirements AWS API Documentation
4029
+ #
4030
+ class InstanceRequirements < Struct.new(
4031
+ :architectures,
4032
+ :allowed_instance_types,
4033
+ :excluded_instance_types)
4034
+ SENSITIVE = []
4035
+ include Aws::Structure
4036
+ end
4037
+
3602
4038
  # The code signature failed the integrity check. If the integrity check
3603
4039
  # fails, then Lambda blocks deployment, even if the code signing policy
3604
4040
  # is set to WARN.
@@ -4196,6 +4632,33 @@ module Aws::Lambda
4196
4632
  include Aws::Structure
4197
4633
  end
4198
4634
 
4635
+ # Configuration for Lambda-managed instances used by the capacity
4636
+ # provider.
4637
+ #
4638
+ # @!attribute [rw] capacity_provider_arn
4639
+ # The Amazon Resource Name (ARN) of the capacity provider.
4640
+ # @return [String]
4641
+ #
4642
+ # @!attribute [rw] per_execution_environment_max_concurrency
4643
+ # The maximum number of concurrent execution environments that can run
4644
+ # on each compute instance.
4645
+ # @return [Integer]
4646
+ #
4647
+ # @!attribute [rw] execution_environment_memory_gi_b_per_v_cpu
4648
+ # The amount of memory in GiB allocated per vCPU for execution
4649
+ # environments.
4650
+ # @return [Float]
4651
+ #
4652
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/LambdaManagedInstancesCapacityProviderConfig AWS API Documentation
4653
+ #
4654
+ class LambdaManagedInstancesCapacityProviderConfig < Struct.new(
4655
+ :capacity_provider_arn,
4656
+ :per_execution_environment_max_concurrency,
4657
+ :execution_environment_memory_gi_b_per_v_cpu)
4658
+ SENSITIVE = []
4659
+ include Aws::Structure
4660
+ end
4661
+
4199
4662
  # An [Lambda layer][1].
4200
4663
  #
4201
4664
  #
@@ -4456,6 +4919,46 @@ module Aws::Lambda
4456
4919
  include Aws::Structure
4457
4920
  end
4458
4921
 
4922
+ # @!attribute [rw] state
4923
+ # Filter capacity providers by their current state.
4924
+ # @return [String]
4925
+ #
4926
+ # @!attribute [rw] marker
4927
+ # Specify the pagination token that's returned by a previous request
4928
+ # to retrieve the next page of results.
4929
+ # @return [String]
4930
+ #
4931
+ # @!attribute [rw] max_items
4932
+ # The maximum number of capacity providers to return.
4933
+ # @return [Integer]
4934
+ #
4935
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCapacityProvidersRequest AWS API Documentation
4936
+ #
4937
+ class ListCapacityProvidersRequest < Struct.new(
4938
+ :state,
4939
+ :marker,
4940
+ :max_items)
4941
+ SENSITIVE = []
4942
+ include Aws::Structure
4943
+ end
4944
+
4945
+ # @!attribute [rw] capacity_providers
4946
+ # A list of capacity providers in your account.
4947
+ # @return [Array<Types::CapacityProvider>]
4948
+ #
4949
+ # @!attribute [rw] next_marker
4950
+ # The pagination token that's included if more results are available.
4951
+ # @return [String]
4952
+ #
4953
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCapacityProvidersResponse AWS API Documentation
4954
+ #
4955
+ class ListCapacityProvidersResponse < Struct.new(
4956
+ :capacity_providers,
4957
+ :next_marker)
4958
+ SENSITIVE = []
4959
+ include Aws::Structure
4960
+ end
4961
+
4459
4962
  # @!attribute [rw] marker
4460
4963
  # Specify the pagination token that's returned by a previous request
4461
4964
  # to retrieve the next page of results.
@@ -4678,6 +5181,52 @@ module Aws::Lambda
4678
5181
  include Aws::Structure
4679
5182
  end
4680
5183
 
5184
+ # @!attribute [rw] capacity_provider_name
5185
+ # The name of the capacity provider to list function versions for.
5186
+ # @return [String]
5187
+ #
5188
+ # @!attribute [rw] marker
5189
+ # Specify the pagination token that's returned by a previous request
5190
+ # to retrieve the next page of results.
5191
+ # @return [String]
5192
+ #
5193
+ # @!attribute [rw] max_items
5194
+ # The maximum number of function versions to return in the response.
5195
+ # @return [Integer]
5196
+ #
5197
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionVersionsByCapacityProviderRequest AWS API Documentation
5198
+ #
5199
+ class ListFunctionVersionsByCapacityProviderRequest < Struct.new(
5200
+ :capacity_provider_name,
5201
+ :marker,
5202
+ :max_items)
5203
+ SENSITIVE = []
5204
+ include Aws::Structure
5205
+ end
5206
+
5207
+ # @!attribute [rw] capacity_provider_arn
5208
+ # The Amazon Resource Name (ARN) of the capacity provider.
5209
+ # @return [String]
5210
+ #
5211
+ # @!attribute [rw] function_versions
5212
+ # A list of function versions that use the specified capacity
5213
+ # provider.
5214
+ # @return [Array<Types::FunctionVersionsByCapacityProviderListItem>]
5215
+ #
5216
+ # @!attribute [rw] next_marker
5217
+ # The pagination token that's included if more results are available.
5218
+ # @return [String]
5219
+ #
5220
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionVersionsByCapacityProviderResponse AWS API Documentation
5221
+ #
5222
+ class ListFunctionVersionsByCapacityProviderResponse < Struct.new(
5223
+ :capacity_provider_arn,
5224
+ :function_versions,
5225
+ :next_marker)
5226
+ SENSITIVE = []
5227
+ include Aws::Structure
5228
+ end
5229
+
4681
5230
  # @!attribute [rw] code_signing_config_arn
4682
5231
  # The The Amazon Resource Name (ARN) of the code signing
4683
5232
  # configuration.
@@ -5069,6 +5618,24 @@ module Aws::Lambda
5069
5618
  include Aws::Structure
5070
5619
  end
5071
5620
 
5621
+ # The function has no published versions available.
5622
+ #
5623
+ # @!attribute [rw] type
5624
+ # The exception type.
5625
+ # @return [String]
5626
+ #
5627
+ # @!attribute [rw] message
5628
+ # @return [String]
5629
+ #
5630
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/NoPublishedVersionException AWS API Documentation
5631
+ #
5632
+ class NoPublishedVersionException < Struct.new(
5633
+ :type,
5634
+ :message)
5635
+ SENSITIVE = []
5636
+ include Aws::Structure
5637
+ end
5638
+
5072
5639
  # A destination for events that failed processing. For more information,
5073
5640
  # see [Adding a destination][1].
5074
5641
  #
@@ -5079,30 +5646,30 @@ module Aws::Lambda
5079
5646
  # @!attribute [rw] destination
5080
5647
  # The Amazon Resource Name (ARN) of the destination resource.
5081
5648
  #
5082
- # To retain records of unsuccessful [asynchronous invocations][1], you
5083
- # can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3
5084
- # bucket, Lambda function, or Amazon EventBridge event bus as the
5085
- # destination.
5649
+ # To retain records of failed invocations from [Kinesis][1],
5650
+ # [DynamoDB][2], [self-managed Apache Kafka][3], or [Amazon MSK][3],
5651
+ # you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3
5652
+ # bucket, or Kafka topic as the destination.
5086
5653
  #
5087
5654
  # <note markdown="1"> Amazon SNS destinations have a message size limit of 256 KB. If the
5088
5655
  # combined size of the function request and response payload exceeds
5089
5656
  # the limit, Lambda will drop the payload when sending `OnFailure`
5090
5657
  # event to the destination. For details on this behavior, refer to
5091
- # [Retaining records of asynchronous invocations][2].
5658
+ # [Retaining records of asynchronous invocations][4].
5092
5659
  #
5093
5660
  # </note>
5094
5661
  #
5095
- # To retain records of failed invocations from [Kinesis][3],
5096
- # [DynamoDB][4], [self-managed Kafka][5] or [Amazon MSK][6], you can
5662
+ # To retain records of failed invocations from [Kinesis][1],
5663
+ # [DynamoDB][2], [self-managed Kafka][5] or [Amazon MSK][6], you can
5097
5664
  # configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket
5098
5665
  # as the destination.
5099
5666
  #
5100
5667
  #
5101
5668
  #
5102
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations
5103
- # [2]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html
5104
- # [3]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html
5105
- # [4]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
5669
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html
5670
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
5671
+ # [3]: https://docs.aws.amazon.com/lambda/latest/dg/kafka-on-failure.html
5672
+ # [4]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html
5106
5673
  # [5]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination
5107
5674
  # [6]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination
5108
5675
  # @return [String]
@@ -5296,11 +5863,22 @@ module Aws::Lambda
5296
5863
  # allowed is 1.
5297
5864
  # @return [Integer]
5298
5865
  #
5866
+ # @!attribute [rw] poller_group_name
5867
+ # (Amazon MSK and self-managed Apache Kafka) The name of the
5868
+ # provisioned poller group. Use this option to group multiple ESMs
5869
+ # within the event source's VPC to share Event Poller Unit (EPU)
5870
+ # capacity. You can use this option to optimize Provisioned mode costs
5871
+ # for your ESMs. You can group up to 100 ESMs per poller group and
5872
+ # aggregate maximum pollers across all ESMs in a group cannot exceed
5873
+ # 2000.
5874
+ # @return [String]
5875
+ #
5299
5876
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ProvisionedPollerConfig AWS API Documentation
5300
5877
  #
5301
5878
  class ProvisionedPollerConfig < Struct.new(
5302
5879
  :minimum_pollers,
5303
- :maximum_pollers)
5880
+ :maximum_pollers,
5881
+ :poller_group_name)
5304
5882
  SENSITIVE = []
5305
5883
  include Aws::Structure
5306
5884
  end
@@ -5473,13 +6051,18 @@ module Aws::Lambda
5473
6051
  # function configuration has changed since you last updated it.
5474
6052
  # @return [String]
5475
6053
  #
6054
+ # @!attribute [rw] publish_to
6055
+ # Specifies where to publish the function version or configuration.
6056
+ # @return [String]
6057
+ #
5476
6058
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersionRequest AWS API Documentation
5477
6059
  #
5478
6060
  class PublishVersionRequest < Struct.new(
5479
6061
  :function_name,
5480
6062
  :code_sha_256,
5481
6063
  :description,
5482
- :revision_id)
6064
+ :revision_id,
6065
+ :publish_to)
5483
6066
  SENSITIVE = []
5484
6067
  include Aws::Structure
5485
6068
  end
@@ -5715,6 +6298,43 @@ module Aws::Lambda
5715
6298
  include Aws::Structure
5716
6299
  end
5717
6300
 
6301
+ # @!attribute [rw] function_name
6302
+ # The name or ARN of the Lambda function.
6303
+ # @return [String]
6304
+ #
6305
+ # @!attribute [rw] qualifier
6306
+ # Specify a version or alias to set the scaling configuration for a
6307
+ # published version of the function.
6308
+ # @return [String]
6309
+ #
6310
+ # @!attribute [rw] function_scaling_config
6311
+ # The scaling configuration to apply to the function, including
6312
+ # minimum and maximum execution environment limits.
6313
+ # @return [Types::FunctionScalingConfig]
6314
+ #
6315
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionScalingConfigRequest AWS API Documentation
6316
+ #
6317
+ class PutFunctionScalingConfigRequest < Struct.new(
6318
+ :function_name,
6319
+ :qualifier,
6320
+ :function_scaling_config)
6321
+ SENSITIVE = []
6322
+ include Aws::Structure
6323
+ end
6324
+
6325
+ # @!attribute [rw] function_state
6326
+ # The current state of the function after applying the scaling
6327
+ # configuration.
6328
+ # @return [String]
6329
+ #
6330
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionScalingConfigResponse AWS API Documentation
6331
+ #
6332
+ class PutFunctionScalingConfigResponse < Struct.new(
6333
+ :function_state)
6334
+ SENSITIVE = []
6335
+ include Aws::Structure
6336
+ end
6337
+
5718
6338
  # @!attribute [rw] function_name
5719
6339
  # The name or ARN of the Lambda function.
5720
6340
  #
@@ -6184,10 +6804,8 @@ module Aws::Lambda
6184
6804
  include Aws::Structure
6185
6805
  end
6186
6806
 
6187
- # The processed request payload exceeded the `Invoke` request body size
6188
- # limit for asynchronous invocations. While the event payload may be
6189
- # under 1 MB, the size after internal serialization exceeds the maximum
6190
- # allowed size for asynchronous invocations.
6807
+ # The request payload exceeded the maximum allowed size for serialized
6808
+ # request entities.
6191
6809
  #
6192
6810
  # @!attribute [rw] type
6193
6811
  # The error type.
@@ -6451,6 +7069,27 @@ module Aws::Lambda
6451
7069
  include Aws::Structure
6452
7070
  end
6453
7071
 
7072
+ # A scaling policy for the capacity provider that automatically adjusts
7073
+ # capacity to maintain a target value for a specific metric.
7074
+ #
7075
+ # @!attribute [rw] predefined_metric_type
7076
+ # The predefined metric type to track for scaling decisions.
7077
+ # @return [String]
7078
+ #
7079
+ # @!attribute [rw] target_value
7080
+ # The target value for the metric that the scaling policy attempts to
7081
+ # maintain through scaling actions.
7082
+ # @return [Float]
7083
+ #
7084
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TargetTrackingScalingPolicy AWS API Documentation
7085
+ #
7086
+ class TargetTrackingScalingPolicy < Struct.new(
7087
+ :predefined_metric_type,
7088
+ :target_value)
7089
+ SENSITIVE = []
7090
+ include Aws::Structure
7091
+ end
7092
+
6454
7093
  # Specifies the tenant isolation mode configuration for a Lambda
6455
7094
  # function. This allows you to configure specific tenant isolation
6456
7095
  # strategies for your function invocations. Tenant isolation
@@ -6623,6 +7262,35 @@ module Aws::Lambda
6623
7262
  include Aws::Structure
6624
7263
  end
6625
7264
 
7265
+ # @!attribute [rw] capacity_provider_name
7266
+ # The name of the capacity provider to update.
7267
+ # @return [String]
7268
+ #
7269
+ # @!attribute [rw] capacity_provider_scaling_config
7270
+ # The updated scaling configuration for the capacity provider.
7271
+ # @return [Types::CapacityProviderScalingConfig]
7272
+ #
7273
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCapacityProviderRequest AWS API Documentation
7274
+ #
7275
+ class UpdateCapacityProviderRequest < Struct.new(
7276
+ :capacity_provider_name,
7277
+ :capacity_provider_scaling_config)
7278
+ SENSITIVE = []
7279
+ include Aws::Structure
7280
+ end
7281
+
7282
+ # @!attribute [rw] capacity_provider
7283
+ # Information about the updated capacity provider.
7284
+ # @return [Types::CapacityProvider]
7285
+ #
7286
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCapacityProviderResponse AWS API Documentation
7287
+ #
7288
+ class UpdateCapacityProviderResponse < Struct.new(
7289
+ :capacity_provider)
7290
+ SENSITIVE = []
7291
+ include Aws::Structure
7292
+ end
7293
+
6626
7294
  # @!attribute [rw] code_signing_config_arn
6627
7295
  # The The Amazon Resource Name (ARN) of the code signing
6628
7296
  # configuration.
@@ -6747,26 +7415,28 @@ module Aws::Lambda
6747
7415
  # @return [Integer]
6748
7416
  #
6749
7417
  # @!attribute [rw] destination_config
6750
- # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only)
6751
- # A configuration object that specifies the destination of an event
6752
- # after Lambda processes it.
7418
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
7419
+ # Kafka) A configuration object that specifies the destination of an
7420
+ # event after Lambda processes it.
6753
7421
  # @return [Types::DestinationConfig]
6754
7422
  #
6755
7423
  # @!attribute [rw] maximum_record_age_in_seconds
6756
- # (Kinesis and DynamoDB Streams only) Discard records older than the
6757
- # specified age. The default value is infinite (-1).
7424
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
7425
+ # Kafka) Discard records older than the specified age. The default
7426
+ # value is infinite (-1).
6758
7427
  # @return [Integer]
6759
7428
  #
6760
7429
  # @!attribute [rw] bisect_batch_on_function_error
6761
- # (Kinesis and DynamoDB Streams only) If the function returns an
6762
- # error, split the batch in two and retry.
7430
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
7431
+ # Kafka) If the function returns an error, split the batch in two and
7432
+ # retry.
6763
7433
  # @return [Boolean]
6764
7434
  #
6765
7435
  # @!attribute [rw] maximum_retry_attempts
6766
- # (Kinesis and DynamoDB Streams only) Discard records after the
6767
- # specified number of retries. The default value is infinite (-1).
6768
- # When set to infinite (-1), failed records are retried until the
6769
- # record expires.
7436
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
7437
+ # Kafka) Discard records after the specified number of retries. The
7438
+ # default value is infinite (-1). When set to infinite (-1), failed
7439
+ # records are retried until the record expires.
6770
7440
  # @return [Integer]
6771
7441
  #
6772
7442
  # @!attribute [rw] parallelization_factor
@@ -6786,8 +7456,9 @@ module Aws::Lambda
6786
7456
  # @return [Integer]
6787
7457
  #
6788
7458
  # @!attribute [rw] function_response_types
6789
- # (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current
6790
- # response type enums applied to the event source mapping.
7459
+ # (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka,
7460
+ # and Amazon SQS) A list of current response type enums applied to the
7461
+ # event source mapping.
6791
7462
  # @return [Array<String>]
6792
7463
  #
6793
7464
  # @!attribute [rw] scaling_config
@@ -6947,6 +7618,10 @@ module Aws::Lambda
6947
7618
  # Services managed key.
6948
7619
  # @return [String]
6949
7620
  #
7621
+ # @!attribute [rw] publish_to
7622
+ # Specifies where to publish the function version or configuration.
7623
+ # @return [String]
7624
+ #
6950
7625
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeRequest AWS API Documentation
6951
7626
  #
6952
7627
  class UpdateFunctionCodeRequest < Struct.new(
@@ -6960,7 +7635,8 @@ module Aws::Lambda
6960
7635
  :dry_run,
6961
7636
  :revision_id,
6962
7637
  :architectures,
6963
- :source_kms_key_arn)
7638
+ :source_kms_key_arn,
7639
+ :publish_to)
6964
7640
  SENSITIVE = [:zip_file]
6965
7641
  include Aws::Structure
6966
7642
  end
@@ -7163,6 +7839,11 @@ module Aws::Lambda
7163
7839
  # The function's Amazon CloudWatch Logs configuration settings.
7164
7840
  # @return [Types::LoggingConfig]
7165
7841
  #
7842
+ # @!attribute [rw] capacity_provider_config
7843
+ # Configuration for the capacity provider that manages compute
7844
+ # resources for Lambda functions.
7845
+ # @return [Types::CapacityProviderConfig]
7846
+ #
7166
7847
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
7167
7848
  #
7168
7849
  class UpdateFunctionConfigurationRequest < Struct.new(
@@ -7184,7 +7865,8 @@ module Aws::Lambda
7184
7865
  :image_config,
7185
7866
  :ephemeral_storage,
7186
7867
  :snap_start,
7187
- :logging_config)
7868
+ :logging_config,
7869
+ :capacity_provider_config)
7188
7870
  SENSITIVE = []
7189
7871
  include Aws::Structure
7190
7872
  end