aws-sdk-lambda 1.183.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
  #
@@ -886,6 +911,70 @@ module Aws::Lambda
886
911
  include Aws::Structure
887
912
  end
888
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
+
889
978
  # Details about a [Code signing configuration][1].
890
979
  #
891
980
  #
@@ -1406,6 +1495,47 @@ module Aws::Lambda
1406
1495
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
1407
1496
  # @return [Types::FilterCriteria]
1408
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
+ #
1409
1539
  # @!attribute [rw] maximum_batching_window_in_seconds
1410
1540
  # The maximum amount of time, in seconds, that Lambda spends gathering
1411
1541
  # records before invoking the function. You can configure
@@ -1512,51 +1642,10 @@ module Aws::Lambda
1512
1642
  # event source.
1513
1643
  # @return [Types::SelfManagedKafkaEventSourceConfig]
1514
1644
  #
1515
- # @!attribute [rw] scaling_config
1516
- # (Amazon SQS only) The scaling configuration for the event source.
1517
- # For more information, see [Configuring maximum concurrency for
1518
- # Amazon SQS event sources][1].
1519
- #
1520
- #
1521
- #
1522
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
1523
- # @return [Types::ScalingConfig]
1524
- #
1525
1645
  # @!attribute [rw] document_db_event_source_config
1526
1646
  # Specific configuration settings for a DocumentDB event source.
1527
1647
  # @return [Types::DocumentDBEventSourceConfig]
1528
1648
  #
1529
- # @!attribute [rw] kms_key_arn
1530
- # The ARN of the Key Management Service (KMS) customer managed key
1531
- # that Lambda uses to encrypt your function's [filter criteria][1].
1532
- # By default, Lambda does not encrypt your filter criteria object.
1533
- # Specify this property to encrypt data using your own customer
1534
- # managed key.
1535
- #
1536
- #
1537
- #
1538
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics
1539
- # @return [String]
1540
- #
1541
- # @!attribute [rw] metrics_config
1542
- # The metrics configuration for your event source. For more
1543
- # information, see [Event source mapping metrics][1].
1544
- #
1545
- #
1546
- #
1547
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
1548
- # @return [Types::EventSourceMappingMetricsConfig]
1549
- #
1550
- # @!attribute [rw] logging_config
1551
- # (Amazon MSK, and self-managed Apache Kafka only) The logging
1552
- # configuration for your event source. For more information, see
1553
- # [Event source mapping logging][1].
1554
- #
1555
- #
1556
- #
1557
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html
1558
- # @return [Types::EventSourceMappingLoggingConfig]
1559
- #
1560
1649
  # @!attribute [rw] provisioned_poller_config
1561
1650
  # (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The
1562
1651
  # provisioned mode configuration for the event source. For more
@@ -1575,6 +1664,10 @@ module Aws::Lambda
1575
1664
  :enabled,
1576
1665
  :batch_size,
1577
1666
  :filter_criteria,
1667
+ :kms_key_arn,
1668
+ :metrics_config,
1669
+ :logging_config,
1670
+ :scaling_config,
1578
1671
  :maximum_batching_window_in_seconds,
1579
1672
  :parallelization_factor,
1580
1673
  :starting_position,
@@ -1592,11 +1685,7 @@ module Aws::Lambda
1592
1685
  :function_response_types,
1593
1686
  :amazon_managed_kafka_event_source_config,
1594
1687
  :self_managed_kafka_event_source_config,
1595
- :scaling_config,
1596
1688
  :document_db_event_source_config,
1597
- :kms_key_arn,
1598
- :metrics_config,
1599
- :logging_config,
1600
1689
  :provisioned_poller_config)
1601
1690
  SENSITIVE = []
1602
1691
  include Aws::Structure
@@ -1689,6 +1778,10 @@ module Aws::Lambda
1689
1778
  # creation.
1690
1779
  # @return [Boolean]
1691
1780
  #
1781
+ # @!attribute [rw] publish_to
1782
+ # Specifies where to publish the function version or configuration.
1783
+ # @return [String]
1784
+ #
1692
1785
  # @!attribute [rw] vpc_config
1693
1786
  # For network connectivity to Amazon Web Services resources in a VPC,
1694
1787
  # specify a list of security groups and subnets in the VPC. When you
@@ -1785,6 +1878,13 @@ module Aws::Lambda
1785
1878
  # Files file system.
1786
1879
  # @return [Array<Types::FileSystemConfig>]
1787
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
+ #
1788
1888
  # @!attribute [rw] image_config
1789
1889
  # Container image [configuration values][1] that override the values
1790
1890
  # in the container image Dockerfile.
@@ -1794,13 +1894,6 @@ module Aws::Lambda
1794
1894
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms
1795
1895
  # @return [Types::ImageConfig]
1796
1896
  #
1797
- # @!attribute [rw] code_signing_config_arn
1798
- # To enable code signing for this function, specify the ARN of a
1799
- # code-signing configuration. A code-signing configuration includes a
1800
- # set of signing profiles, which define the trusted publishers for
1801
- # this function.
1802
- # @return [String]
1803
- #
1804
1897
  # @!attribute [rw] architectures
1805
1898
  # The instruction set architecture that the function supports. Enter a
1806
1899
  # string array with one of the valid values (arm64 or x86\_64). The
@@ -1830,27 +1923,23 @@ module Aws::Lambda
1830
1923
  # The function's Amazon CloudWatch Logs configuration settings.
1831
1924
  # @return [Types::LoggingConfig]
1832
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
+ #
1833
1932
  # @!attribute [rw] capacity_provider_config
1834
1933
  # Configuration for the capacity provider that manages compute
1835
1934
  # resources for Lambda functions.
1836
1935
  # @return [Types::CapacityProviderConfig]
1837
1936
  #
1838
- # @!attribute [rw] publish_to
1839
- # Specifies where to publish the function version or configuration.
1840
- # @return [String]
1841
- #
1842
1937
  # @!attribute [rw] durable_config
1843
1938
  # Configuration settings for durable functions. Enables creating
1844
1939
  # functions with durability that can remember their state and continue
1845
1940
  # execution even after interruptions.
1846
1941
  # @return [Types::DurableConfig]
1847
1942
  #
1848
- # @!attribute [rw] tenancy_config
1849
- # Configuration for multi-tenant applications that use Lambda
1850
- # functions. Defines tenant isolation settings and resource
1851
- # allocations. Required for functions supporting multiple tenants.
1852
- # @return [Types::TenancyConfig]
1853
- #
1854
1943
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
1855
1944
  #
1856
1945
  class CreateFunctionRequest < Struct.new(
@@ -1863,6 +1952,7 @@ module Aws::Lambda
1863
1952
  :timeout,
1864
1953
  :memory_size,
1865
1954
  :publish,
1955
+ :publish_to,
1866
1956
  :vpc_config,
1867
1957
  :package_type,
1868
1958
  :dead_letter_config,
@@ -1872,16 +1962,15 @@ module Aws::Lambda
1872
1962
  :tags,
1873
1963
  :layers,
1874
1964
  :file_system_configs,
1875
- :image_config,
1876
1965
  :code_signing_config_arn,
1966
+ :image_config,
1877
1967
  :architectures,
1878
1968
  :ephemeral_storage,
1879
1969
  :snap_start,
1880
1970
  :logging_config,
1971
+ :tenancy_config,
1881
1972
  :capacity_provider_config,
1882
- :publish_to,
1883
- :durable_config,
1884
- :tenancy_config)
1973
+ :durable_config)
1885
1974
  SENSITIVE = []
1886
1975
  include Aws::Structure
1887
1976
  end
@@ -2575,6 +2664,33 @@ module Aws::Lambda
2575
2664
  include Aws::Structure
2576
2665
  end
2577
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
+
2578
2694
  # A function's environment variable settings. You can use environment
2579
2695
  # variables to adjust your function's behavior without updating code.
2580
2696
  # An environment variable is a pair of strings that are stored in a
@@ -2998,9 +3114,52 @@ module Aws::Lambda
2998
3114
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
2999
3115
  # @return [Types::FilterCriteria]
3000
3116
  #
3001
- # @!attribute [rw] function_arn
3002
- # The ARN of the Lambda function.
3003
- # @return [String]
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
+ #
3160
+ # @!attribute [rw] function_arn
3161
+ # The ARN of the Lambda function.
3162
+ # @return [String]
3004
3163
  #
3005
3164
  # @!attribute [rw] last_modified
3006
3165
  # The date that the event source mapping was last updated or that its
@@ -3095,57 +3254,14 @@ module Aws::Lambda
3095
3254
  # event source.
3096
3255
  # @return [Types::SelfManagedKafkaEventSourceConfig]
3097
3256
  #
3098
- # @!attribute [rw] scaling_config
3099
- # (Amazon SQS only) The scaling configuration for the event source.
3100
- # For more information, see [Configuring maximum concurrency for
3101
- # Amazon SQS event sources][1].
3102
- #
3103
- #
3104
- #
3105
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
3106
- # @return [Types::ScalingConfig]
3107
- #
3108
3257
  # @!attribute [rw] document_db_event_source_config
3109
3258
  # Specific configuration settings for a DocumentDB event source.
3110
3259
  # @return [Types::DocumentDBEventSourceConfig]
3111
3260
  #
3112
- # @!attribute [rw] kms_key_arn
3113
- # The ARN of the Key Management Service (KMS) customer managed key
3114
- # that Lambda uses to encrypt your function's [filter criteria][1].
3115
- #
3116
- #
3117
- #
3118
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics
3119
- # @return [String]
3120
- #
3121
- # @!attribute [rw] filter_criteria_error
3122
- # An object that contains details about an error related to filter
3123
- # criteria encryption.
3124
- # @return [Types::FilterCriteriaError]
3125
- #
3126
3261
  # @!attribute [rw] event_source_mapping_arn
3127
3262
  # The Amazon Resource Name (ARN) of the event source mapping.
3128
3263
  # @return [String]
3129
3264
  #
3130
- # @!attribute [rw] metrics_config
3131
- # The metrics configuration for your event source. For more
3132
- # information, see [Event source mapping metrics][1].
3133
- #
3134
- #
3135
- #
3136
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
3137
- # @return [Types::EventSourceMappingMetricsConfig]
3138
- #
3139
- # @!attribute [rw] logging_config
3140
- # (Amazon MSK, and self-managed Apache Kafka only) The logging
3141
- # configuration for your event source. For more information, see
3142
- # [Event source mapping logging][1].
3143
- #
3144
- #
3145
- #
3146
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html
3147
- # @return [Types::EventSourceMappingLoggingConfig]
3148
- #
3149
3265
  # @!attribute [rw] provisioned_poller_config
3150
3266
  # (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The
3151
3267
  # provisioned mode configuration for the event source. For more
@@ -3167,6 +3283,11 @@ module Aws::Lambda
3167
3283
  :parallelization_factor,
3168
3284
  :event_source_arn,
3169
3285
  :filter_criteria,
3286
+ :filter_criteria_error,
3287
+ :kms_key_arn,
3288
+ :metrics_config,
3289
+ :logging_config,
3290
+ :scaling_config,
3170
3291
  :function_arn,
3171
3292
  :last_modified,
3172
3293
  :last_processing_result,
@@ -3184,13 +3305,8 @@ module Aws::Lambda
3184
3305
  :function_response_types,
3185
3306
  :amazon_managed_kafka_event_source_config,
3186
3307
  :self_managed_kafka_event_source_config,
3187
- :scaling_config,
3188
3308
  :document_db_event_source_config,
3189
- :kms_key_arn,
3190
- :filter_criteria_error,
3191
3309
  :event_source_mapping_arn,
3192
- :metrics_config,
3193
- :logging_config,
3194
3310
  :provisioned_poller_config)
3195
3311
  SENSITIVE = []
3196
3312
  include Aws::Structure
@@ -3778,6 +3894,14 @@ module Aws::Lambda
3778
3894
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html
3779
3895
  # @return [Array<Types::FileSystemConfig>]
3780
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
+ #
3781
3905
  # @!attribute [rw] package_type
3782
3906
  # The type of deployment package. Set to `Image` for container image
3783
3907
  # and set `Zip` for .zip file archive.
@@ -3787,14 +3911,6 @@ module Aws::Lambda
3787
3911
  # The function's image configuration values.
3788
3912
  # @return [Types::ImageConfigResponse]
3789
3913
  #
3790
- # @!attribute [rw] signing_profile_version_arn
3791
- # The ARN of the signing profile version.
3792
- # @return [String]
3793
- #
3794
- # @!attribute [rw] signing_job_arn
3795
- # The ARN of the signing job.
3796
- # @return [String]
3797
- #
3798
3914
  # @!attribute [rw] architectures
3799
3915
  # The instruction set architecture that the function supports.
3800
3916
  # Architecture is a string array with one of the valid values. The
@@ -3831,6 +3947,12 @@ module Aws::Lambda
3831
3947
  # The function's Amazon CloudWatch Logs configuration settings.
3832
3948
  # @return [Types::LoggingConfig]
3833
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
+ #
3834
3956
  # @!attribute [rw] capacity_provider_config
3835
3957
  # Configuration for the capacity provider that manages compute
3836
3958
  # resources for Lambda functions.
@@ -3845,12 +3967,6 @@ module Aws::Lambda
3845
3967
  # function is configured for durability.
3846
3968
  # @return [Types::DurableConfig]
3847
3969
  #
3848
- # @!attribute [rw] tenancy_config
3849
- # The function's tenant isolation configuration settings. Determines
3850
- # whether the Lambda function runs on a shared or dedicated
3851
- # infrastructure per unique tenant.
3852
- # @return [Types::TenancyConfig]
3853
- #
3854
3970
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
3855
3971
  #
3856
3972
  class FunctionConfiguration < Struct.new(
@@ -3881,19 +3997,19 @@ module Aws::Lambda
3881
3997
  :last_update_status_reason,
3882
3998
  :last_update_status_reason_code,
3883
3999
  :file_system_configs,
3884
- :package_type,
3885
- :image_config_response,
3886
4000
  :signing_profile_version_arn,
3887
4001
  :signing_job_arn,
4002
+ :package_type,
4003
+ :image_config_response,
3888
4004
  :architectures,
3889
4005
  :ephemeral_storage,
3890
4006
  :snap_start,
3891
4007
  :runtime_version_config,
3892
4008
  :logging_config,
4009
+ :tenancy_config,
3893
4010
  :capacity_provider_config,
3894
4011
  :config_sha_256,
3895
- :durable_config,
3896
- :tenancy_config)
4012
+ :durable_config)
3897
4013
  SENSITIVE = []
3898
4014
  include Aws::Structure
3899
4015
  end
@@ -4929,6 +5045,14 @@ module Aws::Lambda
4929
5045
  # The version number.
4930
5046
  # @return [Integer]
4931
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
+ #
4932
5056
  # @!attribute [rw] compatible_runtimes
4933
5057
  # The layer's compatible runtimes.
4934
5058
  #
@@ -4948,14 +5072,6 @@ module Aws::Lambda
4948
5072
  # The layer's software license.
4949
5073
  # @return [String]
4950
5074
  #
4951
- # @!attribute [rw] compatible_architectures
4952
- # A list of compatible [instruction set architectures][1].
4953
- #
4954
- #
4955
- #
4956
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
4957
- # @return [Array<String>]
4958
- #
4959
5075
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionResponse AWS API Documentation
4960
5076
  #
4961
5077
  class GetLayerVersionResponse < Struct.new(
@@ -4965,9 +5081,9 @@ module Aws::Lambda
4965
5081
  :description,
4966
5082
  :created_date,
4967
5083
  :version,
5084
+ :compatible_architectures,
4968
5085
  :compatible_runtimes,
4969
- :license_info,
4970
- :compatible_architectures)
5086
+ :license_info)
4971
5087
  SENSITIVE = []
4972
5088
  include Aws::Structure
4973
5089
  end
@@ -5130,22 +5246,22 @@ module Aws::Lambda
5130
5246
  # The current runtime update mode of the function.
5131
5247
  # @return [String]
5132
5248
  #
5249
+ # @!attribute [rw] function_arn
5250
+ # The Amazon Resource Name (ARN) of your function.
5251
+ # @return [String]
5252
+ #
5133
5253
  # @!attribute [rw] runtime_version_arn
5134
5254
  # The ARN of the runtime the function is configured to use. If the
5135
5255
  # runtime update mode is **Manual**, the ARN is returned, otherwise
5136
5256
  # `null` is returned.
5137
5257
  # @return [String]
5138
5258
  #
5139
- # @!attribute [rw] function_arn
5140
- # The Amazon Resource Name (ARN) of your function.
5141
- # @return [String]
5142
- #
5143
5259
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetRuntimeManagementConfigResponse AWS API Documentation
5144
5260
  #
5145
5261
  class GetRuntimeManagementConfigResponse < Struct.new(
5146
5262
  :update_runtime_on,
5147
- :runtime_version_arn,
5148
- :function_arn)
5263
+ :function_arn,
5264
+ :runtime_version_arn)
5149
5265
  SENSITIVE = []
5150
5266
  include Aws::Structure
5151
5267
  end
@@ -6056,6 +6172,14 @@ module Aws::Lambda
6056
6172
  # example, `2018-11-27T15:10:45.123+0000`.
6057
6173
  # @return [Time]
6058
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
+ #
6059
6183
  # @!attribute [rw] compatible_runtimes
6060
6184
  # The layer's compatible runtimes.
6061
6185
  #
@@ -6075,14 +6199,6 @@ module Aws::Lambda
6075
6199
  # The layer's open-source license.
6076
6200
  # @return [String]
6077
6201
  #
6078
- # @!attribute [rw] compatible_architectures
6079
- # A list of compatible [instruction set architectures][1].
6080
- #
6081
- #
6082
- #
6083
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
6084
- # @return [Array<String>]
6085
- #
6086
6202
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/LayerVersionsListItem AWS API Documentation
6087
6203
  #
6088
6204
  class LayerVersionsListItem < Struct.new(
@@ -6090,9 +6206,9 @@ module Aws::Lambda
6090
6206
  :version,
6091
6207
  :description,
6092
6208
  :created_date,
6209
+ :compatible_architectures,
6093
6210
  :compatible_runtimes,
6094
- :license_info,
6095
- :compatible_architectures)
6211
+ :license_info)
6096
6212
  SENSITIVE = []
6097
6213
  include Aws::Structure
6098
6214
  end
@@ -6289,8 +6405,8 @@ module Aws::Lambda
6289
6405
  # @return [Time]
6290
6406
  #
6291
6407
  # @!attribute [rw] reverse_order
6292
- # Set to true to return results in reverse chronological order (newest
6293
- # first). Default is false.
6408
+ # Set to true to return results in chronological order (oldest first).
6409
+ # Default is false.
6294
6410
  # @return [Boolean]
6295
6411
  #
6296
6412
  # @!attribute [rw] marker
@@ -6667,6 +6783,14 @@ module Aws::Lambda
6667
6783
  include Aws::Structure
6668
6784
  end
6669
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
+ #
6670
6794
  # @!attribute [rw] compatible_runtime
6671
6795
  # A runtime identifier.
6672
6796
  #
@@ -6694,22 +6818,14 @@ module Aws::Lambda
6694
6818
  # The maximum number of versions to return.
6695
6819
  # @return [Integer]
6696
6820
  #
6697
- # @!attribute [rw] compatible_architecture
6698
- # The compatible [instruction set architecture][1].
6699
- #
6700
- #
6701
- #
6702
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
6703
- # @return [String]
6704
- #
6705
6821
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersionsRequest AWS API Documentation
6706
6822
  #
6707
6823
  class ListLayerVersionsRequest < Struct.new(
6824
+ :compatible_architecture,
6708
6825
  :compatible_runtime,
6709
6826
  :layer_name,
6710
6827
  :marker,
6711
- :max_items,
6712
- :compatible_architecture)
6828
+ :max_items)
6713
6829
  SENSITIVE = []
6714
6830
  include Aws::Structure
6715
6831
  end
@@ -6732,6 +6848,14 @@ module Aws::Lambda
6732
6848
  include Aws::Structure
6733
6849
  end
6734
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
+ #
6735
6859
  # @!attribute [rw] compatible_runtime
6736
6860
  # A runtime identifier.
6737
6861
  #
@@ -6755,21 +6879,13 @@ module Aws::Lambda
6755
6879
  # The maximum number of layers to return.
6756
6880
  # @return [Integer]
6757
6881
  #
6758
- # @!attribute [rw] compatible_architecture
6759
- # The compatible [instruction set architecture][1].
6760
- #
6761
- #
6762
- #
6763
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
6764
- # @return [String]
6765
- #
6766
6882
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayersRequest AWS API Documentation
6767
6883
  #
6768
6884
  class ListLayersRequest < Struct.new(
6885
+ :compatible_architecture,
6769
6886
  :compatible_runtime,
6770
6887
  :marker,
6771
- :max_items,
6772
- :compatible_architecture)
6888
+ :max_items)
6773
6889
  SENSITIVE = []
6774
6890
  include Aws::Structure
6775
6891
  end
@@ -6963,6 +7079,33 @@ module Aws::Lambda
6963
7079
  include Aws::Structure
6964
7080
  end
6965
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]
7099
+ #
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)
7105
+ SENSITIVE = []
7106
+ include Aws::Structure
7107
+ end
7108
+
6966
7109
  # The function has no published versions available.
6967
7110
  #
6968
7111
  # @!attribute [rw] type
@@ -7188,7 +7331,11 @@ module Aws::Lambda
7188
7331
  # @return [String]
7189
7332
  #
7190
7333
  # @!attribute [rw] payload
7191
- # 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.
7192
7339
  # @return [String]
7193
7340
  #
7194
7341
  # @!attribute [rw] error
@@ -7422,6 +7569,33 @@ module Aws::Lambda
7422
7569
  include Aws::Structure
7423
7570
  end
7424
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
+
7425
7599
  # @!attribute [rw] layer_name
7426
7600
  # The name or Amazon Resource Name (ARN) of the layer.
7427
7601
  # @return [String]
@@ -7434,6 +7608,14 @@ module Aws::Lambda
7434
7608
  # The function layer archive.
7435
7609
  # @return [Types::LayerVersionContentInput]
7436
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
+ #
7437
7619
  # @!attribute [rw] compatible_runtimes
7438
7620
  # A list of compatible [function runtimes][1]. Used for filtering with
7439
7621
  # ListLayers and ListLayerVersions.
@@ -7462,23 +7644,15 @@ module Aws::Lambda
7462
7644
  # [1]: https://spdx.org/licenses/
7463
7645
  # @return [String]
7464
7646
  #
7465
- # @!attribute [rw] compatible_architectures
7466
- # A list of compatible [instruction set architectures][1].
7467
- #
7468
- #
7469
- #
7470
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
7471
- # @return [Array<String>]
7472
- #
7473
7647
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersionRequest AWS API Documentation
7474
7648
  #
7475
7649
  class PublishLayerVersionRequest < Struct.new(
7476
7650
  :layer_name,
7477
7651
  :description,
7478
7652
  :content,
7653
+ :compatible_architectures,
7479
7654
  :compatible_runtimes,
7480
- :license_info,
7481
- :compatible_architectures)
7655
+ :license_info)
7482
7656
  SENSITIVE = []
7483
7657
  include Aws::Structure
7484
7658
  end
@@ -7512,6 +7686,14 @@ module Aws::Lambda
7512
7686
  # The version number.
7513
7687
  # @return [Integer]
7514
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
+ #
7515
7697
  # @!attribute [rw] compatible_runtimes
7516
7698
  # The layer's compatible runtimes.
7517
7699
  #
@@ -7531,14 +7713,6 @@ module Aws::Lambda
7531
7713
  # The layer's software license.
7532
7714
  # @return [String]
7533
7715
  #
7534
- # @!attribute [rw] compatible_architectures
7535
- # A list of compatible [instruction set architectures][1].
7536
- #
7537
- #
7538
- #
7539
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
7540
- # @return [Array<String>]
7541
- #
7542
7716
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersionResponse AWS API Documentation
7543
7717
  #
7544
7718
  class PublishLayerVersionResponse < Struct.new(
@@ -7548,9 +7722,9 @@ module Aws::Lambda
7548
7722
  :description,
7549
7723
  :created_date,
7550
7724
  :version,
7725
+ :compatible_architectures,
7551
7726
  :compatible_runtimes,
7552
- :license_info,
7553
- :compatible_architectures)
7727
+ :license_info)
7554
7728
  SENSITIVE = []
7555
7729
  include Aws::Structure
7556
7730
  end
@@ -7913,10 +8087,6 @@ module Aws::Lambda
7913
8087
  # The amount of provisioned concurrency requested.
7914
8088
  # @return [Integer]
7915
8089
  #
7916
- # @!attribute [rw] available_provisioned_concurrent_executions
7917
- # The amount of provisioned concurrency available.
7918
- # @return [Integer]
7919
- #
7920
8090
  # @!attribute [rw] allocated_provisioned_concurrent_executions
7921
8091
  # The amount of provisioned concurrency allocated. When a weighted
7922
8092
  # alias is used during linear and canary deployments, this value
@@ -7924,6 +8094,10 @@ module Aws::Lambda
7924
8094
  # provisioned for the function versions.
7925
8095
  # @return [Integer]
7926
8096
  #
8097
+ # @!attribute [rw] available_provisioned_concurrent_executions
8098
+ # The amount of provisioned concurrency available.
8099
+ # @return [Integer]
8100
+ #
7927
8101
  # @!attribute [rw] status
7928
8102
  # The status of the allocation process.
7929
8103
  # @return [String]
@@ -7946,8 +8120,8 @@ module Aws::Lambda
7946
8120
  #
7947
8121
  class PutProvisionedConcurrencyConfigResponse < Struct.new(
7948
8122
  :requested_provisioned_concurrent_executions,
7949
- :available_provisioned_concurrent_executions,
7950
8123
  :allocated_provisioned_concurrent_executions,
8124
+ :available_provisioned_concurrent_executions,
7951
8125
  :status,
7952
8126
  :status_reason,
7953
8127
  :last_modified)
@@ -8517,6 +8691,33 @@ module Aws::Lambda
8517
8691
  include Aws::Structure
8518
8692
  end
8519
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
+
8520
8721
  # The function's [Lambda SnapStart][1] setting. Set `ApplyOn` to
8521
8722
  # `PublishedVersions` to create a snapshot of the initialized execution
8522
8723
  # environment when you publish a function version.
@@ -8582,6 +8783,34 @@ module Aws::Lambda
8582
8783
  include Aws::Structure
8583
8784
  end
8584
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
+
8585
8814
  # The function's [SnapStart][1] setting.
8586
8815
  #
8587
8816
  #
@@ -9214,6 +9443,43 @@ module Aws::Lambda
9214
9443
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
9215
9444
  # @return [Types::FilterCriteria]
9216
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
+ #
9217
9483
  # @!attribute [rw] maximum_batching_window_in_seconds
9218
9484
  # The maximum amount of time, in seconds, that Lambda spends gathering
9219
9485
  # records before invoking the function. You can configure
@@ -9234,6 +9500,11 @@ module Aws::Lambda
9234
9500
  # must set `MaximumBatchingWindowInSeconds` to at least 1.
9235
9501
  # @return [Integer]
9236
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
+ #
9237
9508
  # @!attribute [rw] destination_config
9238
9509
  # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
9239
9510
  # Kafka) A configuration object that specifies the destination of an
@@ -9259,9 +9530,10 @@ module Aws::Lambda
9259
9530
  # records are retried until the record expires.
9260
9531
  # @return [Integer]
9261
9532
  #
9262
- # @!attribute [rw] parallelization_factor
9263
- # (Kinesis and DynamoDB Streams only) The number of batches to process
9264
- # 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.
9265
9537
  # @return [Integer]
9266
9538
  #
9267
9539
  # @!attribute [rw] source_access_configurations
@@ -9269,28 +9541,12 @@ module Aws::Lambda
9269
9541
  # secure your event source.
9270
9542
  # @return [Array<Types::SourceAccessConfiguration>]
9271
9543
  #
9272
- # @!attribute [rw] tumbling_window_in_seconds
9273
- # (Kinesis and DynamoDB Streams only) The duration in seconds of a
9274
- # processing window for DynamoDB and Kinesis Streams event sources. A
9275
- # value of 0 seconds indicates no tumbling window.
9276
- # @return [Integer]
9277
- #
9278
9544
  # @!attribute [rw] function_response_types
9279
9545
  # (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka,
9280
9546
  # and Amazon SQS) A list of current response type enums applied to the
9281
9547
  # event source mapping.
9282
9548
  # @return [Array<String>]
9283
9549
  #
9284
- # @!attribute [rw] scaling_config
9285
- # (Amazon SQS only) The scaling configuration for the event source.
9286
- # For more information, see [Configuring maximum concurrency for
9287
- # Amazon SQS event sources][1].
9288
- #
9289
- #
9290
- #
9291
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
9292
- # @return [Types::ScalingConfig]
9293
- #
9294
9550
  # @!attribute [rw] amazon_managed_kafka_event_source_config
9295
9551
  # Specific configuration settings for an Amazon Managed Streaming for
9296
9552
  # Apache Kafka (Amazon MSK) event source.
@@ -9305,33 +9561,6 @@ module Aws::Lambda
9305
9561
  # Specific configuration settings for a DocumentDB event source.
9306
9562
  # @return [Types::DocumentDBEventSourceConfig]
9307
9563
  #
9308
- # @!attribute [rw] kms_key_arn
9309
- # The ARN of the Key Management Service (KMS) customer managed key
9310
- # that Lambda uses to encrypt your function's [filter criteria][1].
9311
- # By default, Lambda does not encrypt your filter criteria object.
9312
- # Specify this property to encrypt data using your own customer
9313
- # managed key.
9314
- #
9315
- #
9316
- #
9317
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics
9318
- # @return [String]
9319
- #
9320
- # @!attribute [rw] metrics_config
9321
- # The metrics configuration for your event source. For more
9322
- # information, see [Event source mapping metrics][1].
9323
- #
9324
- #
9325
- #
9326
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
9327
- # @return [Types::EventSourceMappingMetricsConfig]
9328
- #
9329
- # @!attribute [rw] logging_config
9330
- # (Amazon MSK, and self-managed Apache Kafka only) The logging
9331
- # configuration for your event source. Use this configuration object
9332
- # to define the level of logs for your event source mapping.
9333
- # @return [Types::EventSourceMappingLoggingConfig]
9334
- #
9335
9564
  # @!attribute [rw] provisioned_poller_config
9336
9565
  # (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The
9337
9566
  # provisioned mode configuration for the event source. For more
@@ -9350,22 +9579,22 @@ module Aws::Lambda
9350
9579
  :enabled,
9351
9580
  :batch_size,
9352
9581
  :filter_criteria,
9582
+ :kms_key_arn,
9583
+ :metrics_config,
9584
+ :logging_config,
9585
+ :scaling_config,
9353
9586
  :maximum_batching_window_in_seconds,
9587
+ :parallelization_factor,
9354
9588
  :destination_config,
9355
9589
  :maximum_record_age_in_seconds,
9356
9590
  :bisect_batch_on_function_error,
9357
9591
  :maximum_retry_attempts,
9358
- :parallelization_factor,
9359
- :source_access_configurations,
9360
9592
  :tumbling_window_in_seconds,
9593
+ :source_access_configurations,
9361
9594
  :function_response_types,
9362
- :scaling_config,
9363
9595
  :amazon_managed_kafka_event_source_config,
9364
9596
  :self_managed_kafka_event_source_config,
9365
9597
  :document_db_event_source_config,
9366
- :kms_key_arn,
9367
- :metrics_config,
9368
- :logging_config,
9369
9598
  :provisioned_poller_config)
9370
9599
  SENSITIVE = []
9371
9600
  include Aws::Structure
@@ -9415,12 +9644,22 @@ module Aws::Lambda
9415
9644
  # a function defined with a .zip file archive.
9416
9645
  # @return [String]
9417
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
+ #
9418
9653
  # @!attribute [rw] publish
9419
9654
  # Set to true to publish a new version of the function after updating
9420
9655
  # the code. This has the same effect as calling PublishVersion
9421
9656
  # separately.
9422
9657
  # @return [Boolean]
9423
9658
  #
9659
+ # @!attribute [rw] publish_to
9660
+ # Specifies where to publish the function version or configuration.
9661
+ # @return [String]
9662
+ #
9424
9663
  # @!attribute [rw] dry_run
9425
9664
  # Set to true to validate the request parameters and access
9426
9665
  # permissions without modifying the function code.
@@ -9432,12 +9671,6 @@ module Aws::Lambda
9432
9671
  # changed since you last read it.
9433
9672
  # @return [String]
9434
9673
  #
9435
- # @!attribute [rw] architectures
9436
- # The instruction set architecture that the function supports. Enter a
9437
- # string array with one of the valid values (arm64 or x86\_64). The
9438
- # default value is `x86_64`.
9439
- # @return [Array<String>]
9440
- #
9441
9674
  # @!attribute [rw] source_kms_key_arn
9442
9675
  # The ARN of the Key Management Service (KMS) customer managed key
9443
9676
  # that's used to encrypt your function's .zip deployment package. If
@@ -9445,10 +9678,6 @@ module Aws::Lambda
9445
9678
  # Services managed key.
9446
9679
  # @return [String]
9447
9680
  #
9448
- # @!attribute [rw] publish_to
9449
- # Specifies where to publish the function version or configuration.
9450
- # @return [String]
9451
- #
9452
9681
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeRequest AWS API Documentation
9453
9682
  #
9454
9683
  class UpdateFunctionCodeRequest < Struct.new(
@@ -9458,12 +9687,12 @@ module Aws::Lambda
9458
9687
  :s3_key,
9459
9688
  :s3_object_version,
9460
9689
  :image_uri,
9690
+ :architectures,
9461
9691
  :publish,
9692
+ :publish_to,
9462
9693
  :dry_run,
9463
9694
  :revision_id,
9464
- :architectures,
9465
- :source_kms_key_arn,
9466
- :publish_to)
9695
+ :source_kms_key_arn)
9467
9696
  SENSITIVE = [:zip_file]
9468
9697
  include Aws::Structure
9469
9698
  end