aws-sdk-lambda 1.182.0 → 1.184.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.
@@ -182,6 +182,23 @@ module Aws::Lambda
182
182
  # operator.
183
183
  # @return [String]
184
184
  #
185
+ # @!attribute [rw] function_url_auth_type
186
+ # The type of authentication that your function URL uses. Set to
187
+ # `AWS_IAM` if you want to restrict access to authenticated users
188
+ # only. Set to `NONE` if you want to bypass IAM authentication to
189
+ # create a public endpoint. For more information, see [Control access
190
+ # to Lambda function URLs][1].
191
+ #
192
+ #
193
+ #
194
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
195
+ # @return [String]
196
+ #
197
+ # @!attribute [rw] invoked_via_function_url
198
+ # Indicates whether the permission applies when the function is
199
+ # invoked through a function URL.
200
+ # @return [Boolean]
201
+ #
185
202
  # @!attribute [rw] source_account
186
203
  # For Amazon Web Services service, the ID of the Amazon Web Services
187
204
  # account that owns the resource. Use this together with `SourceArn`
@@ -212,23 +229,6 @@ module Aws::Lambda
212
229
  # organization.
213
230
  # @return [String]
214
231
  #
215
- # @!attribute [rw] function_url_auth_type
216
- # The type of authentication that your function URL uses. Set to
217
- # `AWS_IAM` if you want to restrict access to authenticated users
218
- # only. Set to `NONE` if you want to bypass IAM authentication to
219
- # create a public endpoint. For more information, see [Control access
220
- # to Lambda function URLs][1].
221
- #
222
- #
223
- #
224
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
225
- # @return [String]
226
- #
227
- # @!attribute [rw] invoked_via_function_url
228
- # Indicates whether the permission applies when the function is
229
- # invoked through a function URL.
230
- # @return [Boolean]
231
- #
232
232
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermissionRequest AWS API Documentation
233
233
  #
234
234
  class AddPermissionRequest < Struct.new(
@@ -237,13 +237,13 @@ module Aws::Lambda
237
237
  :action,
238
238
  :principal,
239
239
  :source_arn,
240
+ :function_url_auth_type,
241
+ :invoked_via_function_url,
240
242
  :source_account,
241
243
  :event_source_token,
242
244
  :qualifier,
243
245
  :revision_id,
244
- :principal_org_id,
245
- :function_url_auth_type,
246
- :invoked_via_function_url)
246
+ :principal_org_id)
247
247
  SENSITIVE = []
248
248
  include Aws::Structure
249
249
  end
@@ -307,6 +307,31 @@ module Aws::Lambda
307
307
  include Aws::Structure
308
308
  end
309
309
 
310
+ # Lambda couldn't create the alias because your Amazon Web Services
311
+ # account has exceeded the maximum number of aliases allowed per Lambda
312
+ # function. For more information, see [Lambda quotas][1].
313
+ #
314
+ #
315
+ #
316
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
317
+ #
318
+ # @!attribute [rw] type
319
+ # The exception type.
320
+ # @return [String]
321
+ #
322
+ # @!attribute [rw] message
323
+ # The exception message.
324
+ # @return [String]
325
+ #
326
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AliasLimitExceededException AWS API Documentation
327
+ #
328
+ class AliasLimitExceededException < Struct.new(
329
+ :type,
330
+ :message)
331
+ SENSITIVE = []
332
+ include Aws::Structure
333
+ end
334
+
310
335
  # The [traffic-shifting][1] configuration of a Lambda function alias.
311
336
  #
312
337
  #
@@ -543,6 +568,11 @@ module Aws::Lambda
543
568
  # The date and time when the capacity provider was last modified.
544
569
  # @return [Time]
545
570
  #
571
+ # @!attribute [rw] propagate_tags
572
+ # Configuration for tag propagation to managed resources launched by
573
+ # the capacity provider.
574
+ # @return [Types::PropagateTags]
575
+ #
546
576
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CapacityProvider AWS API Documentation
547
577
  #
548
578
  class CapacityProvider < Struct.new(
@@ -553,7 +583,8 @@ module Aws::Lambda
553
583
  :instance_requirements,
554
584
  :capacity_provider_scaling_config,
555
585
  :kms_key_arn,
556
- :last_modified)
586
+ :last_modified,
587
+ :propagate_tags)
557
588
  SENSITIVE = []
558
589
  include Aws::Structure
559
590
  end
@@ -880,6 +911,70 @@ module Aws::Lambda
880
911
  include Aws::Structure
881
912
  end
882
913
 
914
+ # The Lambda function couldn't be invoked because its code artifact
915
+ # user has been deleted. Wait for Lambda to provision a new code
916
+ # artifact user, or update the function's code package to recreate it.
917
+ #
918
+ # @!attribute [rw] type
919
+ # The exception type.
920
+ # @return [String]
921
+ #
922
+ # @!attribute [rw] message
923
+ # The exception message.
924
+ # @return [String]
925
+ #
926
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CodeArtifactUserDeletedException AWS API Documentation
927
+ #
928
+ class CodeArtifactUserDeletedException < Struct.new(
929
+ :type,
930
+ :message)
931
+ SENSITIVE = []
932
+ include Aws::Structure
933
+ end
934
+
935
+ # The Lambda function couldn't be invoked because provisioning of its
936
+ # code artifact user failed. Update the function's code package or
937
+ # check the Lambda function's `State` and `StateReasonCode` for
938
+ # additional context.
939
+ #
940
+ # @!attribute [rw] type
941
+ # The exception type.
942
+ # @return [String]
943
+ #
944
+ # @!attribute [rw] message
945
+ # The exception message.
946
+ # @return [String]
947
+ #
948
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CodeArtifactUserFailedException AWS API Documentation
949
+ #
950
+ class CodeArtifactUserFailedException < Struct.new(
951
+ :type,
952
+ :message)
953
+ SENSITIVE = []
954
+ include Aws::Structure
955
+ end
956
+
957
+ # The Lambda function couldn't be invoked because its code artifact
958
+ # user is still being provisioned. Wait for the function's `State` to
959
+ # become `Active` and try the request again.
960
+ #
961
+ # @!attribute [rw] type
962
+ # The exception type.
963
+ # @return [String]
964
+ #
965
+ # @!attribute [rw] message
966
+ # The exception message.
967
+ # @return [String]
968
+ #
969
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CodeArtifactUserPendingException AWS API Documentation
970
+ #
971
+ class CodeArtifactUserPendingException < Struct.new(
972
+ :type,
973
+ :message)
974
+ SENSITIVE = []
975
+ include Aws::Structure
976
+ end
977
+
883
978
  # Details about a [Code signing configuration][1].
884
979
  #
885
980
  #
@@ -1246,6 +1341,11 @@ module Aws::Lambda
1246
1341
  # A list of tags to associate with the capacity provider.
1247
1342
  # @return [Hash<String,String>]
1248
1343
  #
1344
+ # @!attribute [rw] propagate_tags
1345
+ # The tag propagation configuration for the capacity provider.
1346
+ # Specifies tags to apply to managed resources at launch.
1347
+ # @return [Types::PropagateTags]
1348
+ #
1249
1349
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCapacityProviderRequest AWS API Documentation
1250
1350
  #
1251
1351
  class CreateCapacityProviderRequest < Struct.new(
@@ -1255,7 +1355,8 @@ module Aws::Lambda
1255
1355
  :instance_requirements,
1256
1356
  :capacity_provider_scaling_config,
1257
1357
  :kms_key_arn,
1258
- :tags)
1358
+ :tags,
1359
+ :propagate_tags)
1259
1360
  SENSITIVE = []
1260
1361
  include Aws::Structure
1261
1362
  end
@@ -1394,6 +1495,47 @@ module Aws::Lambda
1394
1495
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
1395
1496
  # @return [Types::FilterCriteria]
1396
1497
  #
1498
+ # @!attribute [rw] kms_key_arn
1499
+ # The ARN of the Key Management Service (KMS) customer managed key
1500
+ # that Lambda uses to encrypt your function's [filter criteria][1].
1501
+ # By default, Lambda does not encrypt your filter criteria object.
1502
+ # Specify this property to encrypt data using your own customer
1503
+ # managed key.
1504
+ #
1505
+ #
1506
+ #
1507
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics
1508
+ # @return [String]
1509
+ #
1510
+ # @!attribute [rw] metrics_config
1511
+ # The metrics configuration for your event source. For more
1512
+ # information, see [Event source mapping metrics][1].
1513
+ #
1514
+ #
1515
+ #
1516
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
1517
+ # @return [Types::EventSourceMappingMetricsConfig]
1518
+ #
1519
+ # @!attribute [rw] logging_config
1520
+ # (Amazon MSK, and self-managed Apache Kafka only) The logging
1521
+ # configuration for your event source. For more information, see
1522
+ # [Event source mapping logging][1].
1523
+ #
1524
+ #
1525
+ #
1526
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html
1527
+ # @return [Types::EventSourceMappingLoggingConfig]
1528
+ #
1529
+ # @!attribute [rw] scaling_config
1530
+ # (Amazon SQS only) The scaling configuration for the event source.
1531
+ # For more information, see [Configuring maximum concurrency for
1532
+ # Amazon SQS event sources][1].
1533
+ #
1534
+ #
1535
+ #
1536
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
1537
+ # @return [Types::ScalingConfig]
1538
+ #
1397
1539
  # @!attribute [rw] maximum_batching_window_in_seconds
1398
1540
  # The maximum amount of time, in seconds, that Lambda spends gathering
1399
1541
  # records before invoking the function. You can configure
@@ -1500,51 +1642,10 @@ module Aws::Lambda
1500
1642
  # event source.
1501
1643
  # @return [Types::SelfManagedKafkaEventSourceConfig]
1502
1644
  #
1503
- # @!attribute [rw] scaling_config
1504
- # (Amazon SQS only) The scaling configuration for the event source.
1505
- # For more information, see [Configuring maximum concurrency for
1506
- # Amazon SQS event sources][1].
1507
- #
1508
- #
1509
- #
1510
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
1511
- # @return [Types::ScalingConfig]
1512
- #
1513
1645
  # @!attribute [rw] document_db_event_source_config
1514
1646
  # Specific configuration settings for a DocumentDB event source.
1515
1647
  # @return [Types::DocumentDBEventSourceConfig]
1516
1648
  #
1517
- # @!attribute [rw] kms_key_arn
1518
- # The ARN of the Key Management Service (KMS) customer managed key
1519
- # that Lambda uses to encrypt your function's [filter criteria][1].
1520
- # By default, Lambda does not encrypt your filter criteria object.
1521
- # Specify this property to encrypt data using your own customer
1522
- # managed key.
1523
- #
1524
- #
1525
- #
1526
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics
1527
- # @return [String]
1528
- #
1529
- # @!attribute [rw] metrics_config
1530
- # The metrics configuration for your event source. For more
1531
- # information, see [Event source mapping metrics][1].
1532
- #
1533
- #
1534
- #
1535
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
1536
- # @return [Types::EventSourceMappingMetricsConfig]
1537
- #
1538
- # @!attribute [rw] logging_config
1539
- # (Amazon MSK, and self-managed Apache Kafka only) The logging
1540
- # configuration for your event source. For more information, see
1541
- # [Event source mapping logging][1].
1542
- #
1543
- #
1544
- #
1545
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html
1546
- # @return [Types::EventSourceMappingLoggingConfig]
1547
- #
1548
1649
  # @!attribute [rw] provisioned_poller_config
1549
1650
  # (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The
1550
1651
  # provisioned mode configuration for the event source. For more
@@ -1563,6 +1664,10 @@ module Aws::Lambda
1563
1664
  :enabled,
1564
1665
  :batch_size,
1565
1666
  :filter_criteria,
1667
+ :kms_key_arn,
1668
+ :metrics_config,
1669
+ :logging_config,
1670
+ :scaling_config,
1566
1671
  :maximum_batching_window_in_seconds,
1567
1672
  :parallelization_factor,
1568
1673
  :starting_position,
@@ -1580,11 +1685,7 @@ module Aws::Lambda
1580
1685
  :function_response_types,
1581
1686
  :amazon_managed_kafka_event_source_config,
1582
1687
  :self_managed_kafka_event_source_config,
1583
- :scaling_config,
1584
1688
  :document_db_event_source_config,
1585
- :kms_key_arn,
1586
- :metrics_config,
1587
- :logging_config,
1588
1689
  :provisioned_poller_config)
1589
1690
  SENSITIVE = []
1590
1691
  include Aws::Structure
@@ -1677,6 +1778,10 @@ module Aws::Lambda
1677
1778
  # creation.
1678
1779
  # @return [Boolean]
1679
1780
  #
1781
+ # @!attribute [rw] publish_to
1782
+ # Specifies where to publish the function version or configuration.
1783
+ # @return [String]
1784
+ #
1680
1785
  # @!attribute [rw] vpc_config
1681
1786
  # For network connectivity to Amazon Web Services resources in a VPC,
1682
1787
  # specify a list of security groups and subnets in the VPC. When you
@@ -1773,6 +1878,13 @@ module Aws::Lambda
1773
1878
  # Files file system.
1774
1879
  # @return [Array<Types::FileSystemConfig>]
1775
1880
  #
1881
+ # @!attribute [rw] code_signing_config_arn
1882
+ # To enable code signing for this function, specify the ARN of a
1883
+ # code-signing configuration. A code-signing configuration includes a
1884
+ # set of signing profiles, which define the trusted publishers for
1885
+ # this function.
1886
+ # @return [String]
1887
+ #
1776
1888
  # @!attribute [rw] image_config
1777
1889
  # Container image [configuration values][1] that override the values
1778
1890
  # in the container image Dockerfile.
@@ -1782,13 +1894,6 @@ module Aws::Lambda
1782
1894
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms
1783
1895
  # @return [Types::ImageConfig]
1784
1896
  #
1785
- # @!attribute [rw] code_signing_config_arn
1786
- # To enable code signing for this function, specify the ARN of a
1787
- # code-signing configuration. A code-signing configuration includes a
1788
- # set of signing profiles, which define the trusted publishers for
1789
- # this function.
1790
- # @return [String]
1791
- #
1792
1897
  # @!attribute [rw] architectures
1793
1898
  # The instruction set architecture that the function supports. Enter a
1794
1899
  # string array with one of the valid values (arm64 or x86\_64). The
@@ -1818,27 +1923,23 @@ module Aws::Lambda
1818
1923
  # The function's Amazon CloudWatch Logs configuration settings.
1819
1924
  # @return [Types::LoggingConfig]
1820
1925
  #
1926
+ # @!attribute [rw] tenancy_config
1927
+ # Configuration for multi-tenant applications that use Lambda
1928
+ # functions. Defines tenant isolation settings and resource
1929
+ # allocations. Required for functions supporting multiple tenants.
1930
+ # @return [Types::TenancyConfig]
1931
+ #
1821
1932
  # @!attribute [rw] capacity_provider_config
1822
1933
  # Configuration for the capacity provider that manages compute
1823
1934
  # resources for Lambda functions.
1824
1935
  # @return [Types::CapacityProviderConfig]
1825
1936
  #
1826
- # @!attribute [rw] publish_to
1827
- # Specifies where to publish the function version or configuration.
1828
- # @return [String]
1829
- #
1830
1937
  # @!attribute [rw] durable_config
1831
1938
  # Configuration settings for durable functions. Enables creating
1832
1939
  # functions with durability that can remember their state and continue
1833
1940
  # execution even after interruptions.
1834
1941
  # @return [Types::DurableConfig]
1835
1942
  #
1836
- # @!attribute [rw] tenancy_config
1837
- # Configuration for multi-tenant applications that use Lambda
1838
- # functions. Defines tenant isolation settings and resource
1839
- # allocations. Required for functions supporting multiple tenants.
1840
- # @return [Types::TenancyConfig]
1841
- #
1842
1943
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
1843
1944
  #
1844
1945
  class CreateFunctionRequest < Struct.new(
@@ -1851,6 +1952,7 @@ module Aws::Lambda
1851
1952
  :timeout,
1852
1953
  :memory_size,
1853
1954
  :publish,
1955
+ :publish_to,
1854
1956
  :vpc_config,
1855
1957
  :package_type,
1856
1958
  :dead_letter_config,
@@ -1860,16 +1962,15 @@ module Aws::Lambda
1860
1962
  :tags,
1861
1963
  :layers,
1862
1964
  :file_system_configs,
1863
- :image_config,
1864
1965
  :code_signing_config_arn,
1966
+ :image_config,
1865
1967
  :architectures,
1866
1968
  :ephemeral_storage,
1867
1969
  :snap_start,
1868
1970
  :logging_config,
1971
+ :tenancy_config,
1869
1972
  :capacity_provider_config,
1870
- :publish_to,
1871
- :durable_config,
1872
- :tenancy_config)
1973
+ :durable_config)
1873
1974
  SENSITIVE = []
1874
1975
  include Aws::Structure
1875
1976
  end
@@ -2563,6 +2664,33 @@ module Aws::Lambda
2563
2664
  include Aws::Structure
2564
2665
  end
2565
2666
 
2667
+ # Lambda couldn't invoke the Lambda function because the elastic
2668
+ # network interface (ENI) configured for its VPC connection isn't ready
2669
+ # yet. Wait a few moments and try the request again. For more
2670
+ # information about VPC configuration, see [Configuring a Lambda
2671
+ # function to access resources in a VPC][1].
2672
+ #
2673
+ #
2674
+ #
2675
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html
2676
+ #
2677
+ # @!attribute [rw] type
2678
+ # The exception type.
2679
+ # @return [String]
2680
+ #
2681
+ # @!attribute [rw] message
2682
+ # The exception message.
2683
+ # @return [String]
2684
+ #
2685
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ENINotReadyException AWS API Documentation
2686
+ #
2687
+ class ENINotReadyException < Struct.new(
2688
+ :type,
2689
+ :message)
2690
+ SENSITIVE = []
2691
+ include Aws::Structure
2692
+ end
2693
+
2566
2694
  # A function's environment variable settings. You can use environment
2567
2695
  # variables to adjust your function's behavior without updating code.
2568
2696
  # An environment variable is a pair of strings that are stored in a
@@ -2986,6 +3114,49 @@ module Aws::Lambda
2986
3114
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
2987
3115
  # @return [Types::FilterCriteria]
2988
3116
  #
3117
+ # @!attribute [rw] filter_criteria_error
3118
+ # An object that contains details about an error related to filter
3119
+ # criteria encryption.
3120
+ # @return [Types::FilterCriteriaError]
3121
+ #
3122
+ # @!attribute [rw] kms_key_arn
3123
+ # The ARN of the Key Management Service (KMS) customer managed key
3124
+ # that Lambda uses to encrypt your function's [filter criteria][1].
3125
+ #
3126
+ #
3127
+ #
3128
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics
3129
+ # @return [String]
3130
+ #
3131
+ # @!attribute [rw] metrics_config
3132
+ # The metrics configuration for your event source. For more
3133
+ # information, see [Event source mapping metrics][1].
3134
+ #
3135
+ #
3136
+ #
3137
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
3138
+ # @return [Types::EventSourceMappingMetricsConfig]
3139
+ #
3140
+ # @!attribute [rw] logging_config
3141
+ # (Amazon MSK, and self-managed Apache Kafka only) The logging
3142
+ # configuration for your event source. For more information, see
3143
+ # [Event source mapping logging][1].
3144
+ #
3145
+ #
3146
+ #
3147
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html
3148
+ # @return [Types::EventSourceMappingLoggingConfig]
3149
+ #
3150
+ # @!attribute [rw] scaling_config
3151
+ # (Amazon SQS only) The scaling configuration for the event source.
3152
+ # For more information, see [Configuring maximum concurrency for
3153
+ # Amazon SQS event sources][1].
3154
+ #
3155
+ #
3156
+ #
3157
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
3158
+ # @return [Types::ScalingConfig]
3159
+ #
2989
3160
  # @!attribute [rw] function_arn
2990
3161
  # The ARN of the Lambda function.
2991
3162
  # @return [String]
@@ -3083,57 +3254,14 @@ module Aws::Lambda
3083
3254
  # event source.
3084
3255
  # @return [Types::SelfManagedKafkaEventSourceConfig]
3085
3256
  #
3086
- # @!attribute [rw] scaling_config
3087
- # (Amazon SQS only) The scaling configuration for the event source.
3088
- # For more information, see [Configuring maximum concurrency for
3089
- # Amazon SQS event sources][1].
3090
- #
3091
- #
3092
- #
3093
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
3094
- # @return [Types::ScalingConfig]
3095
- #
3096
3257
  # @!attribute [rw] document_db_event_source_config
3097
3258
  # Specific configuration settings for a DocumentDB event source.
3098
3259
  # @return [Types::DocumentDBEventSourceConfig]
3099
3260
  #
3100
- # @!attribute [rw] kms_key_arn
3101
- # The ARN of the Key Management Service (KMS) customer managed key
3102
- # that Lambda uses to encrypt your function's [filter criteria][1].
3103
- #
3104
- #
3105
- #
3106
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics
3107
- # @return [String]
3108
- #
3109
- # @!attribute [rw] filter_criteria_error
3110
- # An object that contains details about an error related to filter
3111
- # criteria encryption.
3112
- # @return [Types::FilterCriteriaError]
3113
- #
3114
3261
  # @!attribute [rw] event_source_mapping_arn
3115
3262
  # The Amazon Resource Name (ARN) of the event source mapping.
3116
3263
  # @return [String]
3117
3264
  #
3118
- # @!attribute [rw] metrics_config
3119
- # The metrics configuration for your event source. For more
3120
- # information, see [Event source mapping metrics][1].
3121
- #
3122
- #
3123
- #
3124
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
3125
- # @return [Types::EventSourceMappingMetricsConfig]
3126
- #
3127
- # @!attribute [rw] logging_config
3128
- # (Amazon MSK, and self-managed Apache Kafka only) The logging
3129
- # configuration for your event source. For more information, see
3130
- # [Event source mapping logging][1].
3131
- #
3132
- #
3133
- #
3134
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html
3135
- # @return [Types::EventSourceMappingLoggingConfig]
3136
- #
3137
3265
  # @!attribute [rw] provisioned_poller_config
3138
3266
  # (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The
3139
3267
  # provisioned mode configuration for the event source. For more
@@ -3155,6 +3283,11 @@ module Aws::Lambda
3155
3283
  :parallelization_factor,
3156
3284
  :event_source_arn,
3157
3285
  :filter_criteria,
3286
+ :filter_criteria_error,
3287
+ :kms_key_arn,
3288
+ :metrics_config,
3289
+ :logging_config,
3290
+ :scaling_config,
3158
3291
  :function_arn,
3159
3292
  :last_modified,
3160
3293
  :last_processing_result,
@@ -3172,13 +3305,8 @@ module Aws::Lambda
3172
3305
  :function_response_types,
3173
3306
  :amazon_managed_kafka_event_source_config,
3174
3307
  :self_managed_kafka_event_source_config,
3175
- :scaling_config,
3176
3308
  :document_db_event_source_config,
3177
- :kms_key_arn,
3178
- :filter_criteria_error,
3179
3309
  :event_source_mapping_arn,
3180
- :metrics_config,
3181
- :logging_config,
3182
3310
  :provisioned_poller_config)
3183
3311
  SENSITIVE = []
3184
3312
  include Aws::Structure
@@ -3766,6 +3894,14 @@ module Aws::Lambda
3766
3894
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html
3767
3895
  # @return [Array<Types::FileSystemConfig>]
3768
3896
  #
3897
+ # @!attribute [rw] signing_profile_version_arn
3898
+ # The ARN of the signing profile version.
3899
+ # @return [String]
3900
+ #
3901
+ # @!attribute [rw] signing_job_arn
3902
+ # The ARN of the signing job.
3903
+ # @return [String]
3904
+ #
3769
3905
  # @!attribute [rw] package_type
3770
3906
  # The type of deployment package. Set to `Image` for container image
3771
3907
  # and set `Zip` for .zip file archive.
@@ -3775,14 +3911,6 @@ module Aws::Lambda
3775
3911
  # The function's image configuration values.
3776
3912
  # @return [Types::ImageConfigResponse]
3777
3913
  #
3778
- # @!attribute [rw] signing_profile_version_arn
3779
- # The ARN of the signing profile version.
3780
- # @return [String]
3781
- #
3782
- # @!attribute [rw] signing_job_arn
3783
- # The ARN of the signing job.
3784
- # @return [String]
3785
- #
3786
3914
  # @!attribute [rw] architectures
3787
3915
  # The instruction set architecture that the function supports.
3788
3916
  # Architecture is a string array with one of the valid values. The
@@ -3819,6 +3947,12 @@ module Aws::Lambda
3819
3947
  # The function's Amazon CloudWatch Logs configuration settings.
3820
3948
  # @return [Types::LoggingConfig]
3821
3949
  #
3950
+ # @!attribute [rw] tenancy_config
3951
+ # The function's tenant isolation configuration settings. Determines
3952
+ # whether the Lambda function runs on a shared or dedicated
3953
+ # infrastructure per unique tenant.
3954
+ # @return [Types::TenancyConfig]
3955
+ #
3822
3956
  # @!attribute [rw] capacity_provider_config
3823
3957
  # Configuration for the capacity provider that manages compute
3824
3958
  # resources for Lambda functions.
@@ -3833,12 +3967,6 @@ module Aws::Lambda
3833
3967
  # function is configured for durability.
3834
3968
  # @return [Types::DurableConfig]
3835
3969
  #
3836
- # @!attribute [rw] tenancy_config
3837
- # The function's tenant isolation configuration settings. Determines
3838
- # whether the Lambda function runs on a shared or dedicated
3839
- # infrastructure per unique tenant.
3840
- # @return [Types::TenancyConfig]
3841
- #
3842
3970
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
3843
3971
  #
3844
3972
  class FunctionConfiguration < Struct.new(
@@ -3869,19 +3997,19 @@ module Aws::Lambda
3869
3997
  :last_update_status_reason,
3870
3998
  :last_update_status_reason_code,
3871
3999
  :file_system_configs,
3872
- :package_type,
3873
- :image_config_response,
3874
4000
  :signing_profile_version_arn,
3875
4001
  :signing_job_arn,
4002
+ :package_type,
4003
+ :image_config_response,
3876
4004
  :architectures,
3877
4005
  :ephemeral_storage,
3878
4006
  :snap_start,
3879
4007
  :runtime_version_config,
3880
4008
  :logging_config,
4009
+ :tenancy_config,
3881
4010
  :capacity_provider_config,
3882
4011
  :config_sha_256,
3883
- :durable_config,
3884
- :tenancy_config)
4012
+ :durable_config)
3885
4013
  SENSITIVE = []
3886
4014
  include Aws::Structure
3887
4015
  end
@@ -4917,6 +5045,14 @@ module Aws::Lambda
4917
5045
  # The version number.
4918
5046
  # @return [Integer]
4919
5047
  #
5048
+ # @!attribute [rw] compatible_architectures
5049
+ # A list of compatible [instruction set architectures][1].
5050
+ #
5051
+ #
5052
+ #
5053
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
5054
+ # @return [Array<String>]
5055
+ #
4920
5056
  # @!attribute [rw] compatible_runtimes
4921
5057
  # The layer's compatible runtimes.
4922
5058
  #
@@ -4936,14 +5072,6 @@ module Aws::Lambda
4936
5072
  # The layer's software license.
4937
5073
  # @return [String]
4938
5074
  #
4939
- # @!attribute [rw] compatible_architectures
4940
- # A list of compatible [instruction set architectures][1].
4941
- #
4942
- #
4943
- #
4944
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
4945
- # @return [Array<String>]
4946
- #
4947
5075
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionResponse AWS API Documentation
4948
5076
  #
4949
5077
  class GetLayerVersionResponse < Struct.new(
@@ -4953,9 +5081,9 @@ module Aws::Lambda
4953
5081
  :description,
4954
5082
  :created_date,
4955
5083
  :version,
5084
+ :compatible_architectures,
4956
5085
  :compatible_runtimes,
4957
- :license_info,
4958
- :compatible_architectures)
5086
+ :license_info)
4959
5087
  SENSITIVE = []
4960
5088
  include Aws::Structure
4961
5089
  end
@@ -5118,22 +5246,22 @@ module Aws::Lambda
5118
5246
  # The current runtime update mode of the function.
5119
5247
  # @return [String]
5120
5248
  #
5249
+ # @!attribute [rw] function_arn
5250
+ # The Amazon Resource Name (ARN) of your function.
5251
+ # @return [String]
5252
+ #
5121
5253
  # @!attribute [rw] runtime_version_arn
5122
5254
  # The ARN of the runtime the function is configured to use. If the
5123
5255
  # runtime update mode is **Manual**, the ARN is returned, otherwise
5124
5256
  # `null` is returned.
5125
5257
  # @return [String]
5126
5258
  #
5127
- # @!attribute [rw] function_arn
5128
- # The Amazon Resource Name (ARN) of your function.
5129
- # @return [String]
5130
- #
5131
5259
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetRuntimeManagementConfigResponse AWS API Documentation
5132
5260
  #
5133
5261
  class GetRuntimeManagementConfigResponse < Struct.new(
5134
5262
  :update_runtime_on,
5135
- :runtime_version_arn,
5136
- :function_arn)
5263
+ :function_arn,
5264
+ :runtime_version_arn)
5137
5265
  SENSITIVE = []
5138
5266
  include Aws::Structure
5139
5267
  end
@@ -6044,6 +6172,14 @@ module Aws::Lambda
6044
6172
  # example, `2018-11-27T15:10:45.123+0000`.
6045
6173
  # @return [Time]
6046
6174
  #
6175
+ # @!attribute [rw] compatible_architectures
6176
+ # A list of compatible [instruction set architectures][1].
6177
+ #
6178
+ #
6179
+ #
6180
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
6181
+ # @return [Array<String>]
6182
+ #
6047
6183
  # @!attribute [rw] compatible_runtimes
6048
6184
  # The layer's compatible runtimes.
6049
6185
  #
@@ -6063,14 +6199,6 @@ module Aws::Lambda
6063
6199
  # The layer's open-source license.
6064
6200
  # @return [String]
6065
6201
  #
6066
- # @!attribute [rw] compatible_architectures
6067
- # A list of compatible [instruction set architectures][1].
6068
- #
6069
- #
6070
- #
6071
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
6072
- # @return [Array<String>]
6073
- #
6074
6202
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/LayerVersionsListItem AWS API Documentation
6075
6203
  #
6076
6204
  class LayerVersionsListItem < Struct.new(
@@ -6078,9 +6206,9 @@ module Aws::Lambda
6078
6206
  :version,
6079
6207
  :description,
6080
6208
  :created_date,
6209
+ :compatible_architectures,
6081
6210
  :compatible_runtimes,
6082
- :license_info,
6083
- :compatible_architectures)
6211
+ :license_info)
6084
6212
  SENSITIVE = []
6085
6213
  include Aws::Structure
6086
6214
  end
@@ -6277,8 +6405,8 @@ module Aws::Lambda
6277
6405
  # @return [Time]
6278
6406
  #
6279
6407
  # @!attribute [rw] reverse_order
6280
- # Set to true to return results in reverse chronological order (newest
6281
- # first). Default is false.
6408
+ # Set to true to return results in chronological order (oldest first).
6409
+ # Default is false.
6282
6410
  # @return [Boolean]
6283
6411
  #
6284
6412
  # @!attribute [rw] marker
@@ -6655,6 +6783,14 @@ module Aws::Lambda
6655
6783
  include Aws::Structure
6656
6784
  end
6657
6785
 
6786
+ # @!attribute [rw] compatible_architecture
6787
+ # The compatible [instruction set architecture][1].
6788
+ #
6789
+ #
6790
+ #
6791
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
6792
+ # @return [String]
6793
+ #
6658
6794
  # @!attribute [rw] compatible_runtime
6659
6795
  # A runtime identifier.
6660
6796
  #
@@ -6682,22 +6818,14 @@ module Aws::Lambda
6682
6818
  # The maximum number of versions to return.
6683
6819
  # @return [Integer]
6684
6820
  #
6685
- # @!attribute [rw] compatible_architecture
6686
- # The compatible [instruction set architecture][1].
6687
- #
6688
- #
6689
- #
6690
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
6691
- # @return [String]
6692
- #
6693
6821
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersionsRequest AWS API Documentation
6694
6822
  #
6695
6823
  class ListLayerVersionsRequest < Struct.new(
6824
+ :compatible_architecture,
6696
6825
  :compatible_runtime,
6697
6826
  :layer_name,
6698
6827
  :marker,
6699
- :max_items,
6700
- :compatible_architecture)
6828
+ :max_items)
6701
6829
  SENSITIVE = []
6702
6830
  include Aws::Structure
6703
6831
  end
@@ -6720,6 +6848,14 @@ module Aws::Lambda
6720
6848
  include Aws::Structure
6721
6849
  end
6722
6850
 
6851
+ # @!attribute [rw] compatible_architecture
6852
+ # The compatible [instruction set architecture][1].
6853
+ #
6854
+ #
6855
+ #
6856
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
6857
+ # @return [String]
6858
+ #
6723
6859
  # @!attribute [rw] compatible_runtime
6724
6860
  # A runtime identifier.
6725
6861
  #
@@ -6743,21 +6879,13 @@ module Aws::Lambda
6743
6879
  # The maximum number of layers to return.
6744
6880
  # @return [Integer]
6745
6881
  #
6746
- # @!attribute [rw] compatible_architecture
6747
- # The compatible [instruction set architecture][1].
6748
- #
6749
- #
6750
- #
6751
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
6752
- # @return [String]
6753
- #
6754
6882
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayersRequest AWS API Documentation
6755
6883
  #
6756
6884
  class ListLayersRequest < Struct.new(
6885
+ :compatible_architecture,
6757
6886
  :compatible_runtime,
6758
6887
  :marker,
6759
- :max_items,
6760
- :compatible_architecture)
6888
+ :max_items)
6761
6889
  SENSITIVE = []
6762
6890
  include Aws::Structure
6763
6891
  end
@@ -6940,13 +7068,40 @@ module Aws::Lambda
6940
7068
  # enter an existing log group or enter a new log group name.
6941
7069
  # @return [String]
6942
7070
  #
6943
- # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/LoggingConfig AWS API Documentation
7071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/LoggingConfig AWS API Documentation
7072
+ #
7073
+ class LoggingConfig < Struct.new(
7074
+ :log_format,
7075
+ :application_log_level,
7076
+ :system_log_level,
7077
+ :log_group)
7078
+ SENSITIVE = []
7079
+ include Aws::Structure
7080
+ end
7081
+
7082
+ # The Lambda function doesn't support the invocation mode requested.
7083
+ # For example, calling `Invoke` with `InvocationType=RequestResponse` on
7084
+ # a function configured for asynchronous-only invocation, or vice versa.
7085
+ # For more information about invocation types, see [Invoking Lambda
7086
+ # functions][1].
7087
+ #
7088
+ #
7089
+ #
7090
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-options.html
7091
+ #
7092
+ # @!attribute [rw] type
7093
+ # The exception type.
7094
+ # @return [String]
7095
+ #
7096
+ # @!attribute [rw] message
7097
+ # The exception message.
7098
+ # @return [String]
6944
7099
  #
6945
- class LoggingConfig < Struct.new(
6946
- :log_format,
6947
- :application_log_level,
6948
- :system_log_level,
6949
- :log_group)
7100
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ModeNotSupportedException AWS API Documentation
7101
+ #
7102
+ class ModeNotSupportedException < Struct.new(
7103
+ :type,
7104
+ :message)
6950
7105
  SENSITIVE = []
6951
7106
  include Aws::Structure
6952
7107
  end
@@ -7176,7 +7331,11 @@ module Aws::Lambda
7176
7331
  # @return [String]
7177
7332
  #
7178
7333
  # @!attribute [rw] payload
7179
- # The payload for successful operations.
7334
+ # The payload for successful operations. The maximum payload size is 6
7335
+ # MB for synchronous `EXECUTION` operations (RequestResponse
7336
+ # invocationType), 1 MB for asynchronous `EXECUTION` (Event
7337
+ # invocationType) and `CHAINED_INVOKE` operations, and 256 KB for
7338
+ # `CONTEXT`, `STEP`, `WAIT`, and `CALLBACK` operations.
7180
7339
  # @return [String]
7181
7340
  #
7182
7341
  # @!attribute [rw] error
@@ -7273,6 +7432,29 @@ module Aws::Lambda
7273
7432
  include Aws::Structure
7274
7433
  end
7275
7434
 
7435
+ # Configuration for tag propagation to managed resources launched by the
7436
+ # capacity provider.
7437
+ #
7438
+ # @!attribute [rw] mode
7439
+ # The tag propagation mode. Set to `Explicit` to propagate the tags
7440
+ # specified in `ExplicitTags` to managed resources. Set to `None` to
7441
+ # disable tag propagation.
7442
+ # @return [String]
7443
+ #
7444
+ # @!attribute [rw] explicit_tags
7445
+ # A list of tags to apply to managed resources when `Mode` is set to
7446
+ # `Explicit`. You can specify up to 40 tags.
7447
+ # @return [Hash<String,String>]
7448
+ #
7449
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PropagateTags AWS API Documentation
7450
+ #
7451
+ class PropagateTags < Struct.new(
7452
+ :mode,
7453
+ :explicit_tags)
7454
+ SENSITIVE = []
7455
+ include Aws::Structure
7456
+ end
7457
+
7276
7458
  # Details about the provisioned concurrency configuration for a function
7277
7459
  # alias or version.
7278
7460
  #
@@ -7387,6 +7569,33 @@ module Aws::Lambda
7387
7569
  include Aws::Structure
7388
7570
  end
7389
7571
 
7572
+ # The resource-based policy you tried to add to the Lambda function
7573
+ # would grant public access to it, and your account's
7574
+ # `BlockPublicAccess` setting prevents public access. For more
7575
+ # information about blocking public access to Lambda functions, see
7576
+ # [Block public access to Lambda resources][1].
7577
+ #
7578
+ #
7579
+ #
7580
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#access-control-block-public-access
7581
+ #
7582
+ # @!attribute [rw] type
7583
+ # The exception type.
7584
+ # @return [String]
7585
+ #
7586
+ # @!attribute [rw] message
7587
+ # The exception message.
7588
+ # @return [String]
7589
+ #
7590
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublicPolicyException AWS API Documentation
7591
+ #
7592
+ class PublicPolicyException < Struct.new(
7593
+ :type,
7594
+ :message)
7595
+ SENSITIVE = []
7596
+ include Aws::Structure
7597
+ end
7598
+
7390
7599
  # @!attribute [rw] layer_name
7391
7600
  # The name or Amazon Resource Name (ARN) of the layer.
7392
7601
  # @return [String]
@@ -7399,6 +7608,14 @@ module Aws::Lambda
7399
7608
  # The function layer archive.
7400
7609
  # @return [Types::LayerVersionContentInput]
7401
7610
  #
7611
+ # @!attribute [rw] compatible_architectures
7612
+ # A list of compatible [instruction set architectures][1].
7613
+ #
7614
+ #
7615
+ #
7616
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
7617
+ # @return [Array<String>]
7618
+ #
7402
7619
  # @!attribute [rw] compatible_runtimes
7403
7620
  # A list of compatible [function runtimes][1]. Used for filtering with
7404
7621
  # ListLayers and ListLayerVersions.
@@ -7427,23 +7644,15 @@ module Aws::Lambda
7427
7644
  # [1]: https://spdx.org/licenses/
7428
7645
  # @return [String]
7429
7646
  #
7430
- # @!attribute [rw] compatible_architectures
7431
- # A list of compatible [instruction set architectures][1].
7432
- #
7433
- #
7434
- #
7435
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
7436
- # @return [Array<String>]
7437
- #
7438
7647
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersionRequest AWS API Documentation
7439
7648
  #
7440
7649
  class PublishLayerVersionRequest < Struct.new(
7441
7650
  :layer_name,
7442
7651
  :description,
7443
7652
  :content,
7653
+ :compatible_architectures,
7444
7654
  :compatible_runtimes,
7445
- :license_info,
7446
- :compatible_architectures)
7655
+ :license_info)
7447
7656
  SENSITIVE = []
7448
7657
  include Aws::Structure
7449
7658
  end
@@ -7477,6 +7686,14 @@ module Aws::Lambda
7477
7686
  # The version number.
7478
7687
  # @return [Integer]
7479
7688
  #
7689
+ # @!attribute [rw] compatible_architectures
7690
+ # A list of compatible [instruction set architectures][1].
7691
+ #
7692
+ #
7693
+ #
7694
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
7695
+ # @return [Array<String>]
7696
+ #
7480
7697
  # @!attribute [rw] compatible_runtimes
7481
7698
  # The layer's compatible runtimes.
7482
7699
  #
@@ -7496,14 +7713,6 @@ module Aws::Lambda
7496
7713
  # The layer's software license.
7497
7714
  # @return [String]
7498
7715
  #
7499
- # @!attribute [rw] compatible_architectures
7500
- # A list of compatible [instruction set architectures][1].
7501
- #
7502
- #
7503
- #
7504
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
7505
- # @return [Array<String>]
7506
- #
7507
7716
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersionResponse AWS API Documentation
7508
7717
  #
7509
7718
  class PublishLayerVersionResponse < Struct.new(
@@ -7513,9 +7722,9 @@ module Aws::Lambda
7513
7722
  :description,
7514
7723
  :created_date,
7515
7724
  :version,
7725
+ :compatible_architectures,
7516
7726
  :compatible_runtimes,
7517
- :license_info,
7518
- :compatible_architectures)
7727
+ :license_info)
7519
7728
  SENSITIVE = []
7520
7729
  include Aws::Structure
7521
7730
  end
@@ -7878,10 +8087,6 @@ module Aws::Lambda
7878
8087
  # The amount of provisioned concurrency requested.
7879
8088
  # @return [Integer]
7880
8089
  #
7881
- # @!attribute [rw] available_provisioned_concurrent_executions
7882
- # The amount of provisioned concurrency available.
7883
- # @return [Integer]
7884
- #
7885
8090
  # @!attribute [rw] allocated_provisioned_concurrent_executions
7886
8091
  # The amount of provisioned concurrency allocated. When a weighted
7887
8092
  # alias is used during linear and canary deployments, this value
@@ -7889,6 +8094,10 @@ module Aws::Lambda
7889
8094
  # provisioned for the function versions.
7890
8095
  # @return [Integer]
7891
8096
  #
8097
+ # @!attribute [rw] available_provisioned_concurrent_executions
8098
+ # The amount of provisioned concurrency available.
8099
+ # @return [Integer]
8100
+ #
7892
8101
  # @!attribute [rw] status
7893
8102
  # The status of the allocation process.
7894
8103
  # @return [String]
@@ -7911,8 +8120,8 @@ module Aws::Lambda
7911
8120
  #
7912
8121
  class PutProvisionedConcurrencyConfigResponse < Struct.new(
7913
8122
  :requested_provisioned_concurrent_executions,
7914
- :available_provisioned_concurrent_executions,
7915
8123
  :allocated_provisioned_concurrent_executions,
8124
+ :available_provisioned_concurrent_executions,
7916
8125
  :status,
7917
8126
  :status_reason,
7918
8127
  :last_modified)
@@ -8482,6 +8691,33 @@ module Aws::Lambda
8482
8691
  include Aws::Structure
8483
8692
  end
8484
8693
 
8694
+ # The request would exceed a service quota. For more information about
8695
+ # Lambda service quotas, see [Lambda quotas][1]. To request a quota
8696
+ # increase, see [Requesting a quota increase][2] in the *Service Quotas
8697
+ # User Guide*.
8698
+ #
8699
+ #
8700
+ #
8701
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
8702
+ # [2]: https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html
8703
+ #
8704
+ # @!attribute [rw] type
8705
+ # The exception type.
8706
+ # @return [String]
8707
+ #
8708
+ # @!attribute [rw] message
8709
+ # The exception message.
8710
+ # @return [String]
8711
+ #
8712
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ServiceQuotaExceededException AWS API Documentation
8713
+ #
8714
+ class ServiceQuotaExceededException < Struct.new(
8715
+ :type,
8716
+ :message)
8717
+ SENSITIVE = []
8718
+ include Aws::Structure
8719
+ end
8720
+
8485
8721
  # The function's [Lambda SnapStart][1] setting. Set `ApplyOn` to
8486
8722
  # `PublishedVersions` to create a snapshot of the initialized execution
8487
8723
  # environment when you publish a function version.
@@ -8547,6 +8783,34 @@ module Aws::Lambda
8547
8783
  include Aws::Structure
8548
8784
  end
8549
8785
 
8786
+ # Lambda couldn't regenerate the SnapStart snapshot for the function.
8787
+ # SnapStart-enabled functions periodically regenerate snapshots when
8788
+ # their underlying runtime or dependencies change; this regeneration
8789
+ # failed. Wait for Lambda to retry, or update the function's
8790
+ # configuration to trigger a new snapshot. For more information, see
8791
+ # [Lambda SnapStart][1].
8792
+ #
8793
+ #
8794
+ #
8795
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
8796
+ #
8797
+ # @!attribute [rw] type
8798
+ # The exception type.
8799
+ # @return [String]
8800
+ #
8801
+ # @!attribute [rw] message
8802
+ # The exception message.
8803
+ # @return [String]
8804
+ #
8805
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SnapStartRegenerationFailureException AWS API Documentation
8806
+ #
8807
+ class SnapStartRegenerationFailureException < Struct.new(
8808
+ :type,
8809
+ :message)
8810
+ SENSITIVE = []
8811
+ include Aws::Structure
8812
+ end
8813
+
8550
8814
  # The function's [SnapStart][1] setting.
8551
8815
  #
8552
8816
  #
@@ -9049,11 +9313,17 @@ module Aws::Lambda
9049
9313
  # The updated scaling configuration for the capacity provider.
9050
9314
  # @return [Types::CapacityProviderScalingConfig]
9051
9315
  #
9316
+ # @!attribute [rw] propagate_tags
9317
+ # Configuration for tag propagation to managed resources launched by
9318
+ # the capacity provider.
9319
+ # @return [Types::PropagateTags]
9320
+ #
9052
9321
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCapacityProviderRequest AWS API Documentation
9053
9322
  #
9054
9323
  class UpdateCapacityProviderRequest < Struct.new(
9055
9324
  :capacity_provider_name,
9056
- :capacity_provider_scaling_config)
9325
+ :capacity_provider_scaling_config,
9326
+ :propagate_tags)
9057
9327
  SENSITIVE = []
9058
9328
  include Aws::Structure
9059
9329
  end
@@ -9173,6 +9443,43 @@ module Aws::Lambda
9173
9443
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
9174
9444
  # @return [Types::FilterCriteria]
9175
9445
  #
9446
+ # @!attribute [rw] kms_key_arn
9447
+ # The ARN of the Key Management Service (KMS) customer managed key
9448
+ # that Lambda uses to encrypt your function's [filter criteria][1].
9449
+ # By default, Lambda does not encrypt your filter criteria object.
9450
+ # Specify this property to encrypt data using your own customer
9451
+ # managed key.
9452
+ #
9453
+ #
9454
+ #
9455
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics
9456
+ # @return [String]
9457
+ #
9458
+ # @!attribute [rw] metrics_config
9459
+ # The metrics configuration for your event source. For more
9460
+ # information, see [Event source mapping metrics][1].
9461
+ #
9462
+ #
9463
+ #
9464
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
9465
+ # @return [Types::EventSourceMappingMetricsConfig]
9466
+ #
9467
+ # @!attribute [rw] logging_config
9468
+ # (Amazon MSK, and self-managed Apache Kafka only) The logging
9469
+ # configuration for your event source. Use this configuration object
9470
+ # to define the level of logs for your event source mapping.
9471
+ # @return [Types::EventSourceMappingLoggingConfig]
9472
+ #
9473
+ # @!attribute [rw] scaling_config
9474
+ # (Amazon SQS only) The scaling configuration for the event source.
9475
+ # For more information, see [Configuring maximum concurrency for
9476
+ # Amazon SQS event sources][1].
9477
+ #
9478
+ #
9479
+ #
9480
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
9481
+ # @return [Types::ScalingConfig]
9482
+ #
9176
9483
  # @!attribute [rw] maximum_batching_window_in_seconds
9177
9484
  # The maximum amount of time, in seconds, that Lambda spends gathering
9178
9485
  # records before invoking the function. You can configure
@@ -9193,6 +9500,11 @@ module Aws::Lambda
9193
9500
  # must set `MaximumBatchingWindowInSeconds` to at least 1.
9194
9501
  # @return [Integer]
9195
9502
  #
9503
+ # @!attribute [rw] parallelization_factor
9504
+ # (Kinesis and DynamoDB Streams only) The number of batches to process
9505
+ # from each shard concurrently.
9506
+ # @return [Integer]
9507
+ #
9196
9508
  # @!attribute [rw] destination_config
9197
9509
  # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
9198
9510
  # Kafka) A configuration object that specifies the destination of an
@@ -9218,9 +9530,10 @@ module Aws::Lambda
9218
9530
  # records are retried until the record expires.
9219
9531
  # @return [Integer]
9220
9532
  #
9221
- # @!attribute [rw] parallelization_factor
9222
- # (Kinesis and DynamoDB Streams only) The number of batches to process
9223
- # from each shard concurrently.
9533
+ # @!attribute [rw] tumbling_window_in_seconds
9534
+ # (Kinesis and DynamoDB Streams only) The duration in seconds of a
9535
+ # processing window for DynamoDB and Kinesis Streams event sources. A
9536
+ # value of 0 seconds indicates no tumbling window.
9224
9537
  # @return [Integer]
9225
9538
  #
9226
9539
  # @!attribute [rw] source_access_configurations
@@ -9228,28 +9541,12 @@ module Aws::Lambda
9228
9541
  # secure your event source.
9229
9542
  # @return [Array<Types::SourceAccessConfiguration>]
9230
9543
  #
9231
- # @!attribute [rw] tumbling_window_in_seconds
9232
- # (Kinesis and DynamoDB Streams only) The duration in seconds of a
9233
- # processing window for DynamoDB and Kinesis Streams event sources. A
9234
- # value of 0 seconds indicates no tumbling window.
9235
- # @return [Integer]
9236
- #
9237
9544
  # @!attribute [rw] function_response_types
9238
9545
  # (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka,
9239
9546
  # and Amazon SQS) A list of current response type enums applied to the
9240
9547
  # event source mapping.
9241
9548
  # @return [Array<String>]
9242
9549
  #
9243
- # @!attribute [rw] scaling_config
9244
- # (Amazon SQS only) The scaling configuration for the event source.
9245
- # For more information, see [Configuring maximum concurrency for
9246
- # Amazon SQS event sources][1].
9247
- #
9248
- #
9249
- #
9250
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
9251
- # @return [Types::ScalingConfig]
9252
- #
9253
9550
  # @!attribute [rw] amazon_managed_kafka_event_source_config
9254
9551
  # Specific configuration settings for an Amazon Managed Streaming for
9255
9552
  # Apache Kafka (Amazon MSK) event source.
@@ -9264,33 +9561,6 @@ module Aws::Lambda
9264
9561
  # Specific configuration settings for a DocumentDB event source.
9265
9562
  # @return [Types::DocumentDBEventSourceConfig]
9266
9563
  #
9267
- # @!attribute [rw] kms_key_arn
9268
- # The ARN of the Key Management Service (KMS) customer managed key
9269
- # that Lambda uses to encrypt your function's [filter criteria][1].
9270
- # By default, Lambda does not encrypt your filter criteria object.
9271
- # Specify this property to encrypt data using your own customer
9272
- # managed key.
9273
- #
9274
- #
9275
- #
9276
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics
9277
- # @return [String]
9278
- #
9279
- # @!attribute [rw] metrics_config
9280
- # The metrics configuration for your event source. For more
9281
- # information, see [Event source mapping metrics][1].
9282
- #
9283
- #
9284
- #
9285
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
9286
- # @return [Types::EventSourceMappingMetricsConfig]
9287
- #
9288
- # @!attribute [rw] logging_config
9289
- # (Amazon MSK, and self-managed Apache Kafka only) The logging
9290
- # configuration for your event source. Use this configuration object
9291
- # to define the level of logs for your event source mapping.
9292
- # @return [Types::EventSourceMappingLoggingConfig]
9293
- #
9294
9564
  # @!attribute [rw] provisioned_poller_config
9295
9565
  # (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The
9296
9566
  # provisioned mode configuration for the event source. For more
@@ -9309,22 +9579,22 @@ module Aws::Lambda
9309
9579
  :enabled,
9310
9580
  :batch_size,
9311
9581
  :filter_criteria,
9582
+ :kms_key_arn,
9583
+ :metrics_config,
9584
+ :logging_config,
9585
+ :scaling_config,
9312
9586
  :maximum_batching_window_in_seconds,
9587
+ :parallelization_factor,
9313
9588
  :destination_config,
9314
9589
  :maximum_record_age_in_seconds,
9315
9590
  :bisect_batch_on_function_error,
9316
9591
  :maximum_retry_attempts,
9317
- :parallelization_factor,
9318
- :source_access_configurations,
9319
9592
  :tumbling_window_in_seconds,
9593
+ :source_access_configurations,
9320
9594
  :function_response_types,
9321
- :scaling_config,
9322
9595
  :amazon_managed_kafka_event_source_config,
9323
9596
  :self_managed_kafka_event_source_config,
9324
9597
  :document_db_event_source_config,
9325
- :kms_key_arn,
9326
- :metrics_config,
9327
- :logging_config,
9328
9598
  :provisioned_poller_config)
9329
9599
  SENSITIVE = []
9330
9600
  include Aws::Structure
@@ -9374,12 +9644,22 @@ module Aws::Lambda
9374
9644
  # a function defined with a .zip file archive.
9375
9645
  # @return [String]
9376
9646
  #
9647
+ # @!attribute [rw] architectures
9648
+ # The instruction set architecture that the function supports. Enter a
9649
+ # string array with one of the valid values (arm64 or x86\_64). The
9650
+ # default value is `x86_64`.
9651
+ # @return [Array<String>]
9652
+ #
9377
9653
  # @!attribute [rw] publish
9378
9654
  # Set to true to publish a new version of the function after updating
9379
9655
  # the code. This has the same effect as calling PublishVersion
9380
9656
  # separately.
9381
9657
  # @return [Boolean]
9382
9658
  #
9659
+ # @!attribute [rw] publish_to
9660
+ # Specifies where to publish the function version or configuration.
9661
+ # @return [String]
9662
+ #
9383
9663
  # @!attribute [rw] dry_run
9384
9664
  # Set to true to validate the request parameters and access
9385
9665
  # permissions without modifying the function code.
@@ -9391,12 +9671,6 @@ module Aws::Lambda
9391
9671
  # changed since you last read it.
9392
9672
  # @return [String]
9393
9673
  #
9394
- # @!attribute [rw] architectures
9395
- # The instruction set architecture that the function supports. Enter a
9396
- # string array with one of the valid values (arm64 or x86\_64). The
9397
- # default value is `x86_64`.
9398
- # @return [Array<String>]
9399
- #
9400
9674
  # @!attribute [rw] source_kms_key_arn
9401
9675
  # The ARN of the Key Management Service (KMS) customer managed key
9402
9676
  # that's used to encrypt your function's .zip deployment package. If
@@ -9404,10 +9678,6 @@ module Aws::Lambda
9404
9678
  # Services managed key.
9405
9679
  # @return [String]
9406
9680
  #
9407
- # @!attribute [rw] publish_to
9408
- # Specifies where to publish the function version or configuration.
9409
- # @return [String]
9410
- #
9411
9681
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeRequest AWS API Documentation
9412
9682
  #
9413
9683
  class UpdateFunctionCodeRequest < Struct.new(
@@ -9417,12 +9687,12 @@ module Aws::Lambda
9417
9687
  :s3_key,
9418
9688
  :s3_object_version,
9419
9689
  :image_uri,
9690
+ :architectures,
9420
9691
  :publish,
9692
+ :publish_to,
9421
9693
  :dry_run,
9422
9694
  :revision_id,
9423
- :architectures,
9424
- :source_kms_key_arn,
9425
- :publish_to)
9695
+ :source_kms_key_arn)
9426
9696
  SENSITIVE = [:zip_file]
9427
9697
  include Aws::Structure
9428
9698
  end