sig/client.rbs in aws-sdk-lambda-1.142.0 vs sig/client.rbs in aws-sdk-lambda-1.143.0

- old
+ new

@@ -183,10 +183,11 @@ def scaling_config: () -> Types::ScalingConfig def document_db_event_source_config: () -> Types::DocumentDBEventSourceConfig def kms_key_arn: () -> ::String def filter_criteria_error: () -> Types::FilterCriteriaError def event_source_mapping_arn: () -> ::String + def metrics_config: () -> Types::EventSourceMappingMetricsConfig end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#create_event_source_mapping-instance_method def create_event_source_mapping: ( ?event_source_arn: ::String, function_name: ::String, @@ -240,11 +241,14 @@ ?document_db_event_source_config: { database_name: ::String?, collection_name: ::String?, full_document: ("UpdateLookup" | "Default")? }, - ?kms_key_arn: ::String + ?kms_key_arn: ::String, + ?metrics_config: { + metrics: Array[("EventCount")]? + } ) -> _CreateEventSourceMappingResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEventSourceMappingResponseSuccess interface _CreateFunctionResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::FunctionConfiguration] @@ -421,10 +425,11 @@ def scaling_config: () -> Types::ScalingConfig def document_db_event_source_config: () -> Types::DocumentDBEventSourceConfig def kms_key_arn: () -> ::String def filter_criteria_error: () -> Types::FilterCriteriaError def event_source_mapping_arn: () -> ::String + def metrics_config: () -> Types::EventSourceMappingMetricsConfig end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#delete_event_source_mapping-instance_method def delete_event_source_mapping: ( uuid: ::String ) -> _DeleteEventSourceMappingResponseSuccess @@ -543,10 +548,11 @@ def scaling_config: () -> Types::ScalingConfig def document_db_event_source_config: () -> Types::DocumentDBEventSourceConfig def kms_key_arn: () -> ::String def filter_criteria_error: () -> Types::FilterCriteriaError def event_source_mapping_arn: () -> ::String + def metrics_config: () -> Types::EventSourceMappingMetricsConfig end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_event_source_mapping-instance_method def get_event_source_mapping: ( uuid: ::String ) -> _GetEventSourceMappingResponseSuccess @@ -1240,10 +1246,11 @@ def scaling_config: () -> Types::ScalingConfig def document_db_event_source_config: () -> Types::DocumentDBEventSourceConfig def kms_key_arn: () -> ::String def filter_criteria_error: () -> Types::FilterCriteriaError def event_source_mapping_arn: () -> ::String + def metrics_config: () -> Types::EventSourceMappingMetricsConfig end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#update_event_source_mapping-instance_method def update_event_source_mapping: ( uuid: ::String, ?function_name: ::String, @@ -1283,10 +1290,13 @@ ?document_db_event_source_config: { database_name: ::String?, collection_name: ::String?, full_document: ("UpdateLookup" | "Default")? }, - ?kms_key_arn: ::String + ?kms_key_arn: ::String, + ?metrics_config: { + metrics: Array[("EventCount")]? + } ) -> _UpdateEventSourceMappingResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEventSourceMappingResponseSuccess interface _UpdateFunctionCodeResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::FunctionConfiguration]