aws-sdk-lambda 1.188.0 → 1.189.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +46 -17
- data/lib/aws-sdk-lambda/client_api.rb +13 -1
- data/lib/aws-sdk-lambda/types.rb +77 -17
- data/lib/aws-sdk-lambda.rb +1 -1
- data/sig/client.rbs +14 -2
- data/sig/types.rbs +15 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5ab9623413d222c785b7e1d8f5d757a4c3a799238a4be06c3b04d45099b14448
|
|
4
|
+
data.tar.gz: 6b0f1bd844da90686949e14217b1be4cb107235e4be136adad16f5e431f43bf5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4403cf609666c7e56f590014e71956213c2b57b236003a4bc6a1e7c0f6bf507157a8cf7d76113d8e72afddacb45b5b4419c192ac92baf8a15947ac04b2f9b4c
|
|
7
|
+
data.tar.gz: a10b6992aaa74db4eb28ed9e0edbd4247285ce725c6d54d7a7d8c124650f9e82466d37bddd6f687525da1c8c1dc0b829f096b44751ff150eb644fe7b44c7b18e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.189.0 (2026-07-10)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Added TelemetryConfig support for Managed Instances Capacity Provider, enabling customers to configure system log level and custom log group for managed instance logging.
|
|
8
|
+
|
|
4
9
|
1.188.0 (2026-07-09)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.189.0
|
|
@@ -1031,6 +1031,10 @@ module Aws::Lambda
|
|
|
1031
1031
|
# The tag propagation configuration for the capacity provider. Specifies
|
|
1032
1032
|
# tags to apply to managed resources at launch.
|
|
1033
1033
|
#
|
|
1034
|
+
# @option params [Types::CapacityProviderTelemetryConfig] :telemetry_config
|
|
1035
|
+
# The telemetry configuration for the capacity provider. Specifies
|
|
1036
|
+
# logging settings for managed resources.
|
|
1037
|
+
#
|
|
1034
1038
|
# @return [Types::CreateCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1035
1039
|
#
|
|
1036
1040
|
# * {Types::CreateCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
|
|
@@ -1071,6 +1075,12 @@ module Aws::Lambda
|
|
|
1071
1075
|
# "TagKey" => "TagValue",
|
|
1072
1076
|
# },
|
|
1073
1077
|
# },
|
|
1078
|
+
# telemetry_config: {
|
|
1079
|
+
# logging_config: {
|
|
1080
|
+
# system_log_level: "DEBUG", # accepts DEBUG, INFO, WARN
|
|
1081
|
+
# log_group: "LogGroup",
|
|
1082
|
+
# },
|
|
1083
|
+
# },
|
|
1074
1084
|
# })
|
|
1075
1085
|
#
|
|
1076
1086
|
# @example Response structure
|
|
@@ -1098,6 +1108,8 @@ module Aws::Lambda
|
|
|
1098
1108
|
# resp.capacity_provider.propagate_tags.mode #=> String, one of "None", "Explicit"
|
|
1099
1109
|
# resp.capacity_provider.propagate_tags.explicit_tags #=> Hash
|
|
1100
1110
|
# resp.capacity_provider.propagate_tags.explicit_tags["TagKey"] #=> String
|
|
1111
|
+
# resp.capacity_provider.telemetry_config.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
|
|
1112
|
+
# resp.capacity_provider.telemetry_config.logging_config.log_group #=> String
|
|
1101
1113
|
#
|
|
1102
1114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCapacityProvider AWS API Documentation
|
|
1103
1115
|
#
|
|
@@ -2470,6 +2482,8 @@ module Aws::Lambda
|
|
|
2470
2482
|
# resp.capacity_provider.propagate_tags.mode #=> String, one of "None", "Explicit"
|
|
2471
2483
|
# resp.capacity_provider.propagate_tags.explicit_tags #=> Hash
|
|
2472
2484
|
# resp.capacity_provider.propagate_tags.explicit_tags["TagKey"] #=> String
|
|
2485
|
+
# resp.capacity_provider.telemetry_config.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
|
|
2486
|
+
# resp.capacity_provider.telemetry_config.logging_config.log_group #=> String
|
|
2473
2487
|
#
|
|
2474
2488
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteCapacityProvider AWS API Documentation
|
|
2475
2489
|
#
|
|
@@ -3158,6 +3172,8 @@ module Aws::Lambda
|
|
|
3158
3172
|
# resp.capacity_provider.propagate_tags.mode #=> String, one of "None", "Explicit"
|
|
3159
3173
|
# resp.capacity_provider.propagate_tags.explicit_tags #=> Hash
|
|
3160
3174
|
# resp.capacity_provider.propagate_tags.explicit_tags["TagKey"] #=> String
|
|
3175
|
+
# resp.capacity_provider.telemetry_config.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
|
|
3176
|
+
# resp.capacity_provider.telemetry_config.logging_config.log_group #=> String
|
|
3161
3177
|
#
|
|
3162
3178
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetCapacityProvider AWS API Documentation
|
|
3163
3179
|
#
|
|
@@ -4746,9 +4762,9 @@ module Aws::Lambda
|
|
|
4746
4762
|
# * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
|
|
4747
4763
|
#
|
|
4748
4764
|
#
|
|
4749
|
-
# @example Example: To
|
|
4765
|
+
# @example Example: To get a provisioned concurrency configuration
|
|
4750
4766
|
#
|
|
4751
|
-
# # The following example
|
|
4767
|
+
# # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
|
|
4752
4768
|
# # function.
|
|
4753
4769
|
#
|
|
4754
4770
|
# resp = client.get_provisioned_concurrency_config({
|
|
@@ -4765,9 +4781,9 @@ module Aws::Lambda
|
|
|
4765
4781
|
# status: "READY",
|
|
4766
4782
|
# }
|
|
4767
4783
|
#
|
|
4768
|
-
# @example Example: To
|
|
4784
|
+
# @example Example: To view a provisioned concurrency configuration
|
|
4769
4785
|
#
|
|
4770
|
-
# # The following example
|
|
4786
|
+
# # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
|
|
4771
4787
|
# # function.
|
|
4772
4788
|
#
|
|
4773
4789
|
# resp = client.get_provisioned_concurrency_config({
|
|
@@ -5180,17 +5196,6 @@ module Aws::Lambda
|
|
|
5180
5196
|
# The length constraint applies only to the full ARN. If you specify
|
|
5181
5197
|
# only the function name, it is limited to 64 characters in length.
|
|
5182
5198
|
#
|
|
5183
|
-
# @option params [String] :invocation_type
|
|
5184
|
-
# Use one of the following options:
|
|
5185
|
-
#
|
|
5186
|
-
# * `RequestResponse` (default) – Invoke the function synchronously.
|
|
5187
|
-
# Keep the connection open until the function returns a response or
|
|
5188
|
-
# times out. The API operation response includes the function response
|
|
5189
|
-
# and additional data.
|
|
5190
|
-
#
|
|
5191
|
-
# * `DryRun` – Validate parameter values and verify that the IAM user or
|
|
5192
|
-
# role has permission to invoke the function.
|
|
5193
|
-
#
|
|
5194
5199
|
# @option params [String] :log_type
|
|
5195
5200
|
# Set to `Tail` to include the execution log in the response. Applies to
|
|
5196
5201
|
# synchronously invoked functions only.
|
|
@@ -5212,6 +5217,17 @@ module Aws::Lambda
|
|
|
5212
5217
|
# @option params [String] :tenant_id
|
|
5213
5218
|
# The identifier of the tenant in a multi-tenant Lambda function.
|
|
5214
5219
|
#
|
|
5220
|
+
# @option params [String] :invocation_type
|
|
5221
|
+
# Use one of the following options:
|
|
5222
|
+
#
|
|
5223
|
+
# * `RequestResponse` (default) – Invoke the function synchronously.
|
|
5224
|
+
# Keep the connection open until the function returns a response or
|
|
5225
|
+
# times out. The API operation response includes the function response
|
|
5226
|
+
# and additional data.
|
|
5227
|
+
#
|
|
5228
|
+
# * `DryRun` – Validate parameter values and verify that the IAM user or
|
|
5229
|
+
# role has permission to invoke the function.
|
|
5230
|
+
#
|
|
5215
5231
|
# @return [Types::InvokeWithResponseStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5216
5232
|
#
|
|
5217
5233
|
# * {Types::InvokeWithResponseStreamResponse#status_code #status_code} => Integer
|
|
@@ -5321,12 +5337,12 @@ module Aws::Lambda
|
|
|
5321
5337
|
#
|
|
5322
5338
|
# resp = client.invoke_with_response_stream({
|
|
5323
5339
|
# function_name: "NamespacedFunctionName", # required
|
|
5324
|
-
# invocation_type: "RequestResponse", # accepts RequestResponse, DryRun
|
|
5325
5340
|
# log_type: "None", # accepts None, Tail
|
|
5326
5341
|
# client_context: "String",
|
|
5327
5342
|
# qualifier: "NumericLatestPublishedOrAliasQualifier",
|
|
5328
5343
|
# payload: "data",
|
|
5329
5344
|
# tenant_id: "TenantId",
|
|
5345
|
+
# invocation_type: "RequestResponse", # accepts RequestResponse, DryRun
|
|
5330
5346
|
# })
|
|
5331
5347
|
#
|
|
5332
5348
|
# @example Response structure
|
|
@@ -5530,6 +5546,8 @@ module Aws::Lambda
|
|
|
5530
5546
|
# resp.capacity_providers[0].propagate_tags.mode #=> String, one of "None", "Explicit"
|
|
5531
5547
|
# resp.capacity_providers[0].propagate_tags.explicit_tags #=> Hash
|
|
5532
5548
|
# resp.capacity_providers[0].propagate_tags.explicit_tags["TagKey"] #=> String
|
|
5549
|
+
# resp.capacity_providers[0].telemetry_config.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
|
|
5550
|
+
# resp.capacity_providers[0].telemetry_config.logging_config.log_group #=> String
|
|
5533
5551
|
# resp.next_marker #=> String
|
|
5534
5552
|
#
|
|
5535
5553
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCapacityProviders AWS API Documentation
|
|
@@ -8275,6 +8293,9 @@ module Aws::Lambda
|
|
|
8275
8293
|
# Configuration for tag propagation to managed resources launched by the
|
|
8276
8294
|
# capacity provider.
|
|
8277
8295
|
#
|
|
8296
|
+
# @option params [Types::CapacityProviderTelemetryConfig] :telemetry_config
|
|
8297
|
+
# The updated telemetry configuration for the capacity provider.
|
|
8298
|
+
#
|
|
8278
8299
|
# @return [Types::UpdateCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
8279
8300
|
#
|
|
8280
8301
|
# * {Types::UpdateCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
|
|
@@ -8299,6 +8320,12 @@ module Aws::Lambda
|
|
|
8299
8320
|
# "TagKey" => "TagValue",
|
|
8300
8321
|
# },
|
|
8301
8322
|
# },
|
|
8323
|
+
# telemetry_config: {
|
|
8324
|
+
# logging_config: {
|
|
8325
|
+
# system_log_level: "DEBUG", # accepts DEBUG, INFO, WARN
|
|
8326
|
+
# log_group: "LogGroup",
|
|
8327
|
+
# },
|
|
8328
|
+
# },
|
|
8302
8329
|
# })
|
|
8303
8330
|
#
|
|
8304
8331
|
# @example Response structure
|
|
@@ -8326,6 +8353,8 @@ module Aws::Lambda
|
|
|
8326
8353
|
# resp.capacity_provider.propagate_tags.mode #=> String, one of "None", "Explicit"
|
|
8327
8354
|
# resp.capacity_provider.propagate_tags.explicit_tags #=> Hash
|
|
8328
8355
|
# resp.capacity_provider.propagate_tags.explicit_tags["TagKey"] #=> String
|
|
8356
|
+
# resp.capacity_provider.telemetry_config.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
|
|
8357
|
+
# resp.capacity_provider.telemetry_config.logging_config.log_group #=> String
|
|
8329
8358
|
#
|
|
8330
8359
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCapacityProvider AWS API Documentation
|
|
8331
8360
|
#
|
|
@@ -9843,7 +9872,7 @@ module Aws::Lambda
|
|
|
9843
9872
|
tracer: tracer
|
|
9844
9873
|
)
|
|
9845
9874
|
context[:gem_name] = 'aws-sdk-lambda'
|
|
9846
|
-
context[:gem_version] = '1.
|
|
9875
|
+
context[:gem_version] = '1.189.0'
|
|
9847
9876
|
Seahorse::Client::Request.new(handlers, context)
|
|
9848
9877
|
end
|
|
9849
9878
|
|
|
@@ -58,6 +58,7 @@ module Aws::Lambda
|
|
|
58
58
|
CapacityProviderArn = Shapes::StringShape.new(name: 'CapacityProviderArn')
|
|
59
59
|
CapacityProviderConfig = Shapes::StructureShape.new(name: 'CapacityProviderConfig')
|
|
60
60
|
CapacityProviderLimitExceededException = Shapes::StructureShape.new(name: 'CapacityProviderLimitExceededException')
|
|
61
|
+
CapacityProviderLoggingConfig = Shapes::StructureShape.new(name: 'CapacityProviderLoggingConfig')
|
|
61
62
|
CapacityProviderMaxVCpuCount = Shapes::IntegerShape.new(name: 'CapacityProviderMaxVCpuCount')
|
|
62
63
|
CapacityProviderName = Shapes::StringShape.new(name: 'CapacityProviderName')
|
|
63
64
|
CapacityProviderPermissionsConfig = Shapes::StructureShape.new(name: 'CapacityProviderPermissionsConfig')
|
|
@@ -68,6 +69,7 @@ module Aws::Lambda
|
|
|
68
69
|
CapacityProviderSecurityGroupIds = Shapes::ListShape.new(name: 'CapacityProviderSecurityGroupIds')
|
|
69
70
|
CapacityProviderState = Shapes::StringShape.new(name: 'CapacityProviderState')
|
|
70
71
|
CapacityProviderSubnetIds = Shapes::ListShape.new(name: 'CapacityProviderSubnetIds')
|
|
72
|
+
CapacityProviderTelemetryConfig = Shapes::StructureShape.new(name: 'CapacityProviderTelemetryConfig')
|
|
71
73
|
CapacityProviderVpcConfig = Shapes::StructureShape.new(name: 'CapacityProviderVpcConfig')
|
|
72
74
|
CapacityProvidersList = Shapes::ListShape.new(name: 'CapacityProvidersList')
|
|
73
75
|
ChainedInvokeDetails = Shapes::StructureShape.new(name: 'ChainedInvokeDetails')
|
|
@@ -702,6 +704,7 @@ module Aws::Lambda
|
|
|
702
704
|
CapacityProvider.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KmsKeyArn"))
|
|
703
705
|
CapacityProvider.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
|
|
704
706
|
CapacityProvider.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "PropagateTags"))
|
|
707
|
+
CapacityProvider.add_member(:telemetry_config, Shapes::ShapeRef.new(shape: CapacityProviderTelemetryConfig, location_name: "TelemetryConfig"))
|
|
705
708
|
CapacityProvider.struct_class = Types::CapacityProvider
|
|
706
709
|
|
|
707
710
|
CapacityProviderConfig.add_member(:lambda_managed_instances_capacity_provider_config, Shapes::ShapeRef.new(shape: LambdaManagedInstancesCapacityProviderConfig, required: true, location_name: "LambdaManagedInstancesCapacityProviderConfig"))
|
|
@@ -711,6 +714,10 @@ module Aws::Lambda
|
|
|
711
714
|
CapacityProviderLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
712
715
|
CapacityProviderLimitExceededException.struct_class = Types::CapacityProviderLimitExceededException
|
|
713
716
|
|
|
717
|
+
CapacityProviderLoggingConfig.add_member(:system_log_level, Shapes::ShapeRef.new(shape: SystemLogLevel, location_name: "SystemLogLevel"))
|
|
718
|
+
CapacityProviderLoggingConfig.add_member(:log_group, Shapes::ShapeRef.new(shape: LogGroup, location_name: "LogGroup"))
|
|
719
|
+
CapacityProviderLoggingConfig.struct_class = Types::CapacityProviderLoggingConfig
|
|
720
|
+
|
|
714
721
|
CapacityProviderPermissionsConfig.add_member(:capacity_provider_operator_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "CapacityProviderOperatorRoleArn"))
|
|
715
722
|
CapacityProviderPermissionsConfig.struct_class = Types::CapacityProviderPermissionsConfig
|
|
716
723
|
|
|
@@ -725,6 +732,9 @@ module Aws::Lambda
|
|
|
725
732
|
|
|
726
733
|
CapacityProviderSubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
|
|
727
734
|
|
|
735
|
+
CapacityProviderTelemetryConfig.add_member(:logging_config, Shapes::ShapeRef.new(shape: CapacityProviderLoggingConfig, location_name: "LoggingConfig"))
|
|
736
|
+
CapacityProviderTelemetryConfig.struct_class = Types::CapacityProviderTelemetryConfig
|
|
737
|
+
|
|
728
738
|
CapacityProviderVpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: CapacityProviderSubnetIds, required: true, location_name: "SubnetIds"))
|
|
729
739
|
CapacityProviderVpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: CapacityProviderSecurityGroupIds, required: true, location_name: "SecurityGroupIds"))
|
|
730
740
|
CapacityProviderVpcConfig.struct_class = Types::CapacityProviderVpcConfig
|
|
@@ -855,6 +865,7 @@ module Aws::Lambda
|
|
|
855
865
|
CreateCapacityProviderRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArnNonEmpty, location_name: "KmsKeyArn"))
|
|
856
866
|
CreateCapacityProviderRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
|
857
867
|
CreateCapacityProviderRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "PropagateTags"))
|
|
868
|
+
CreateCapacityProviderRequest.add_member(:telemetry_config, Shapes::ShapeRef.new(shape: CapacityProviderTelemetryConfig, location_name: "TelemetryConfig"))
|
|
858
869
|
CreateCapacityProviderRequest.struct_class = Types::CreateCapacityProviderRequest
|
|
859
870
|
|
|
860
871
|
CreateCapacityProviderResponse.add_member(:capacity_provider, Shapes::ShapeRef.new(shape: CapacityProvider, required: true, location_name: "CapacityProvider"))
|
|
@@ -1599,12 +1610,12 @@ module Aws::Lambda
|
|
|
1599
1610
|
InvokeWithResponseStreamCompleteEvent.struct_class = Types::InvokeWithResponseStreamCompleteEvent
|
|
1600
1611
|
|
|
1601
1612
|
InvokeWithResponseStreamRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
|
1602
|
-
InvokeWithResponseStreamRequest.add_member(:invocation_type, Shapes::ShapeRef.new(shape: ResponseStreamingInvocationType, location: "header", location_name: "X-Amz-Invocation-Type"))
|
|
1603
1613
|
InvokeWithResponseStreamRequest.add_member(:log_type, Shapes::ShapeRef.new(shape: LogType, location: "header", location_name: "X-Amz-Log-Type"))
|
|
1604
1614
|
InvokeWithResponseStreamRequest.add_member(:client_context, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "X-Amz-Client-Context"))
|
|
1605
1615
|
InvokeWithResponseStreamRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: NumericLatestPublishedOrAliasQualifier, location: "querystring", location_name: "Qualifier"))
|
|
1606
1616
|
InvokeWithResponseStreamRequest.add_member(:payload, Shapes::ShapeRef.new(shape: Blob, location_name: "Payload"))
|
|
1607
1617
|
InvokeWithResponseStreamRequest.add_member(:tenant_id, Shapes::ShapeRef.new(shape: TenantId, location: "header", location_name: "X-Amz-Tenant-Id"))
|
|
1618
|
+
InvokeWithResponseStreamRequest.add_member(:invocation_type, Shapes::ShapeRef.new(shape: ResponseStreamingInvocationType, location: "header", location_name: "X-Amz-Invocation-Type"))
|
|
1608
1619
|
InvokeWithResponseStreamRequest.struct_class = Types::InvokeWithResponseStreamRequest
|
|
1609
1620
|
InvokeWithResponseStreamRequest[:payload] = :payload
|
|
1610
1621
|
InvokeWithResponseStreamRequest[:payload_member] = InvokeWithResponseStreamRequest.member(:payload)
|
|
@@ -2261,6 +2272,7 @@ module Aws::Lambda
|
|
|
2261
2272
|
UpdateCapacityProviderRequest.add_member(:capacity_provider_name, Shapes::ShapeRef.new(shape: CapacityProviderName, required: true, location: "uri", location_name: "CapacityProviderName"))
|
|
2262
2273
|
UpdateCapacityProviderRequest.add_member(:capacity_provider_scaling_config, Shapes::ShapeRef.new(shape: CapacityProviderScalingConfig, location_name: "CapacityProviderScalingConfig"))
|
|
2263
2274
|
UpdateCapacityProviderRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "PropagateTags"))
|
|
2275
|
+
UpdateCapacityProviderRequest.add_member(:telemetry_config, Shapes::ShapeRef.new(shape: CapacityProviderTelemetryConfig, location_name: "TelemetryConfig"))
|
|
2264
2276
|
UpdateCapacityProviderRequest.struct_class = Types::UpdateCapacityProviderRequest
|
|
2265
2277
|
|
|
2266
2278
|
UpdateCapacityProviderResponse.add_member(:capacity_provider, Shapes::ShapeRef.new(shape: CapacityProvider, required: true, location_name: "CapacityProvider"))
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
|
@@ -573,6 +573,11 @@ module Aws::Lambda
|
|
|
573
573
|
# the capacity provider.
|
|
574
574
|
# @return [Types::PropagateTags]
|
|
575
575
|
#
|
|
576
|
+
# @!attribute [rw] telemetry_config
|
|
577
|
+
# The telemetry configuration for the capacity provider, including
|
|
578
|
+
# logging settings.
|
|
579
|
+
# @return [Types::CapacityProviderTelemetryConfig]
|
|
580
|
+
#
|
|
576
581
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CapacityProvider AWS API Documentation
|
|
577
582
|
#
|
|
578
583
|
class CapacityProvider < Struct.new(
|
|
@@ -584,7 +589,8 @@ module Aws::Lambda
|
|
|
584
589
|
:capacity_provider_scaling_config,
|
|
585
590
|
:kms_key_arn,
|
|
586
591
|
:last_modified,
|
|
587
|
-
:propagate_tags
|
|
592
|
+
:propagate_tags,
|
|
593
|
+
:telemetry_config)
|
|
588
594
|
SENSITIVE = []
|
|
589
595
|
include Aws::Structure
|
|
590
596
|
end
|
|
@@ -628,6 +634,33 @@ module Aws::Lambda
|
|
|
628
634
|
include Aws::Structure
|
|
629
635
|
end
|
|
630
636
|
|
|
637
|
+
# The capacity provider's Amazon CloudWatch Logs configuration
|
|
638
|
+
# settings.
|
|
639
|
+
#
|
|
640
|
+
# @!attribute [rw] system_log_level
|
|
641
|
+
# Set this property to filter the system logs for your capacity
|
|
642
|
+
# provider that Lambda sends to CloudWatch. Lambda only sends system
|
|
643
|
+
# logs at the selected level of detail and lower, where `DEBUG` is the
|
|
644
|
+
# highest level and `WARN` is the lowest.
|
|
645
|
+
# @return [String]
|
|
646
|
+
#
|
|
647
|
+
# @!attribute [rw] log_group
|
|
648
|
+
# The name of the Amazon CloudWatch log group the capacity provider
|
|
649
|
+
# sends logs to. By default, Lambda capacity providers send logs to a
|
|
650
|
+
# default log group named `/aws/lambda/capacity-provider/<capacity
|
|
651
|
+
# provider name>`. To use a different log group, enter an existing log
|
|
652
|
+
# group or enter a new log group name.
|
|
653
|
+
# @return [String]
|
|
654
|
+
#
|
|
655
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CapacityProviderLoggingConfig AWS API Documentation
|
|
656
|
+
#
|
|
657
|
+
class CapacityProviderLoggingConfig < Struct.new(
|
|
658
|
+
:system_log_level,
|
|
659
|
+
:log_group)
|
|
660
|
+
SENSITIVE = []
|
|
661
|
+
include Aws::Structure
|
|
662
|
+
end
|
|
663
|
+
|
|
631
664
|
# Configuration that specifies the permissions required for the capacity
|
|
632
665
|
# provider to manage compute resources.
|
|
633
666
|
#
|
|
@@ -672,6 +705,22 @@ module Aws::Lambda
|
|
|
672
705
|
include Aws::Structure
|
|
673
706
|
end
|
|
674
707
|
|
|
708
|
+
# Configuration that specifies the telemetry collection for the capacity
|
|
709
|
+
# provider.
|
|
710
|
+
#
|
|
711
|
+
# @!attribute [rw] logging_config
|
|
712
|
+
# The capacity provider's Amazon CloudWatch Logs configuration
|
|
713
|
+
# settings.
|
|
714
|
+
# @return [Types::CapacityProviderLoggingConfig]
|
|
715
|
+
#
|
|
716
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CapacityProviderTelemetryConfig AWS API Documentation
|
|
717
|
+
#
|
|
718
|
+
class CapacityProviderTelemetryConfig < Struct.new(
|
|
719
|
+
:logging_config)
|
|
720
|
+
SENSITIVE = []
|
|
721
|
+
include Aws::Structure
|
|
722
|
+
end
|
|
723
|
+
|
|
675
724
|
# VPC configuration that specifies the network settings for compute
|
|
676
725
|
# instances managed by the capacity provider.
|
|
677
726
|
#
|
|
@@ -1346,6 +1395,11 @@ module Aws::Lambda
|
|
|
1346
1395
|
# Specifies tags to apply to managed resources at launch.
|
|
1347
1396
|
# @return [Types::PropagateTags]
|
|
1348
1397
|
#
|
|
1398
|
+
# @!attribute [rw] telemetry_config
|
|
1399
|
+
# The telemetry configuration for the capacity provider. Specifies
|
|
1400
|
+
# logging settings for managed resources.
|
|
1401
|
+
# @return [Types::CapacityProviderTelemetryConfig]
|
|
1402
|
+
#
|
|
1349
1403
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCapacityProviderRequest AWS API Documentation
|
|
1350
1404
|
#
|
|
1351
1405
|
class CreateCapacityProviderRequest < Struct.new(
|
|
@@ -1356,7 +1410,8 @@ module Aws::Lambda
|
|
|
1356
1410
|
:capacity_provider_scaling_config,
|
|
1357
1411
|
:kms_key_arn,
|
|
1358
1412
|
:tags,
|
|
1359
|
-
:propagate_tags
|
|
1413
|
+
:propagate_tags,
|
|
1414
|
+
:telemetry_config)
|
|
1360
1415
|
SENSITIVE = []
|
|
1361
1416
|
include Aws::Structure
|
|
1362
1417
|
end
|
|
@@ -5851,18 +5906,6 @@ module Aws::Lambda
|
|
|
5851
5906
|
# only the function name, it is limited to 64 characters in length.
|
|
5852
5907
|
# @return [String]
|
|
5853
5908
|
#
|
|
5854
|
-
# @!attribute [rw] invocation_type
|
|
5855
|
-
# Use one of the following options:
|
|
5856
|
-
#
|
|
5857
|
-
# * `RequestResponse` (default) – Invoke the function synchronously.
|
|
5858
|
-
# Keep the connection open until the function returns a response or
|
|
5859
|
-
# times out. The API operation response includes the function
|
|
5860
|
-
# response and additional data.
|
|
5861
|
-
#
|
|
5862
|
-
# * `DryRun` – Validate parameter values and verify that the IAM user
|
|
5863
|
-
# or role has permission to invoke the function.
|
|
5864
|
-
# @return [String]
|
|
5865
|
-
#
|
|
5866
5909
|
# @!attribute [rw] log_type
|
|
5867
5910
|
# Set to `Tail` to include the execution log in the response. Applies
|
|
5868
5911
|
# to synchronously invoked functions only.
|
|
@@ -5889,16 +5932,28 @@ module Aws::Lambda
|
|
|
5889
5932
|
# The identifier of the tenant in a multi-tenant Lambda function.
|
|
5890
5933
|
# @return [String]
|
|
5891
5934
|
#
|
|
5935
|
+
# @!attribute [rw] invocation_type
|
|
5936
|
+
# Use one of the following options:
|
|
5937
|
+
#
|
|
5938
|
+
# * `RequestResponse` (default) – Invoke the function synchronously.
|
|
5939
|
+
# Keep the connection open until the function returns a response or
|
|
5940
|
+
# times out. The API operation response includes the function
|
|
5941
|
+
# response and additional data.
|
|
5942
|
+
#
|
|
5943
|
+
# * `DryRun` – Validate parameter values and verify that the IAM user
|
|
5944
|
+
# or role has permission to invoke the function.
|
|
5945
|
+
# @return [String]
|
|
5946
|
+
#
|
|
5892
5947
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeWithResponseStreamRequest AWS API Documentation
|
|
5893
5948
|
#
|
|
5894
5949
|
class InvokeWithResponseStreamRequest < Struct.new(
|
|
5895
5950
|
:function_name,
|
|
5896
|
-
:invocation_type,
|
|
5897
5951
|
:log_type,
|
|
5898
5952
|
:client_context,
|
|
5899
5953
|
:qualifier,
|
|
5900
5954
|
:payload,
|
|
5901
|
-
:tenant_id
|
|
5955
|
+
:tenant_id,
|
|
5956
|
+
:invocation_type)
|
|
5902
5957
|
SENSITIVE = [:payload]
|
|
5903
5958
|
include Aws::Structure
|
|
5904
5959
|
end
|
|
@@ -9443,12 +9498,17 @@ module Aws::Lambda
|
|
|
9443
9498
|
# the capacity provider.
|
|
9444
9499
|
# @return [Types::PropagateTags]
|
|
9445
9500
|
#
|
|
9501
|
+
# @!attribute [rw] telemetry_config
|
|
9502
|
+
# The updated telemetry configuration for the capacity provider.
|
|
9503
|
+
# @return [Types::CapacityProviderTelemetryConfig]
|
|
9504
|
+
#
|
|
9446
9505
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCapacityProviderRequest AWS API Documentation
|
|
9447
9506
|
#
|
|
9448
9507
|
class UpdateCapacityProviderRequest < Struct.new(
|
|
9449
9508
|
:capacity_provider_name,
|
|
9450
9509
|
:capacity_provider_scaling_config,
|
|
9451
|
-
:propagate_tags
|
|
9510
|
+
:propagate_tags,
|
|
9511
|
+
:telemetry_config)
|
|
9452
9512
|
SENSITIVE = []
|
|
9453
9513
|
include Aws::Structure
|
|
9454
9514
|
end
|
data/lib/aws-sdk-lambda.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -212,6 +212,12 @@ module Aws
|
|
|
212
212
|
?propagate_tags: {
|
|
213
213
|
mode: ("None" | "Explicit")?,
|
|
214
214
|
explicit_tags: Hash[::String, ::String]?
|
|
215
|
+
},
|
|
216
|
+
?telemetry_config: {
|
|
217
|
+
logging_config: {
|
|
218
|
+
system_log_level: ("DEBUG" | "INFO" | "WARN")?,
|
|
219
|
+
log_group: ::String?
|
|
220
|
+
}?
|
|
215
221
|
}
|
|
216
222
|
) -> _CreateCapacityProviderResponseSuccess
|
|
217
223
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCapacityProviderResponseSuccess
|
|
@@ -1004,12 +1010,12 @@ module Aws
|
|
|
1004
1010
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#invoke_with_response_stream-instance_method
|
|
1005
1011
|
def invoke_with_response_stream: (
|
|
1006
1012
|
function_name: ::String,
|
|
1007
|
-
?invocation_type: ("RequestResponse" | "DryRun"),
|
|
1008
1013
|
?log_type: ("None" | "Tail"),
|
|
1009
1014
|
?client_context: ::String,
|
|
1010
1015
|
?qualifier: ::String,
|
|
1011
1016
|
?payload: ::String,
|
|
1012
|
-
?tenant_id: ::String
|
|
1017
|
+
?tenant_id: ::String,
|
|
1018
|
+
?invocation_type: ("RequestResponse" | "DryRun")
|
|
1013
1019
|
) ?{ (*untyped) -> void } -> _InvokeWithResponseStreamResponseSuccess
|
|
1014
1020
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _InvokeWithResponseStreamResponseSuccess
|
|
1015
1021
|
|
|
@@ -1513,6 +1519,12 @@ module Aws
|
|
|
1513
1519
|
?propagate_tags: {
|
|
1514
1520
|
mode: ("None" | "Explicit")?,
|
|
1515
1521
|
explicit_tags: Hash[::String, ::String]?
|
|
1522
|
+
},
|
|
1523
|
+
?telemetry_config: {
|
|
1524
|
+
logging_config: {
|
|
1525
|
+
system_log_level: ("DEBUG" | "INFO" | "WARN")?,
|
|
1526
|
+
log_group: ::String?
|
|
1527
|
+
}?
|
|
1516
1528
|
}
|
|
1517
1529
|
) -> _UpdateCapacityProviderResponseSuccess
|
|
1518
1530
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCapacityProviderResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -144,6 +144,7 @@ module Aws::Lambda
|
|
|
144
144
|
attr_accessor kms_key_arn: ::String
|
|
145
145
|
attr_accessor last_modified: ::Time
|
|
146
146
|
attr_accessor propagate_tags: Types::PropagateTags
|
|
147
|
+
attr_accessor telemetry_config: Types::CapacityProviderTelemetryConfig
|
|
147
148
|
SENSITIVE: []
|
|
148
149
|
end
|
|
149
150
|
|
|
@@ -158,6 +159,12 @@ module Aws::Lambda
|
|
|
158
159
|
SENSITIVE: []
|
|
159
160
|
end
|
|
160
161
|
|
|
162
|
+
class CapacityProviderLoggingConfig
|
|
163
|
+
attr_accessor system_log_level: ("DEBUG" | "INFO" | "WARN")
|
|
164
|
+
attr_accessor log_group: ::String
|
|
165
|
+
SENSITIVE: []
|
|
166
|
+
end
|
|
167
|
+
|
|
161
168
|
class CapacityProviderPermissionsConfig
|
|
162
169
|
attr_accessor capacity_provider_operator_role_arn: ::String
|
|
163
170
|
SENSITIVE: []
|
|
@@ -170,6 +177,11 @@ module Aws::Lambda
|
|
|
170
177
|
SENSITIVE: []
|
|
171
178
|
end
|
|
172
179
|
|
|
180
|
+
class CapacityProviderTelemetryConfig
|
|
181
|
+
attr_accessor logging_config: Types::CapacityProviderLoggingConfig
|
|
182
|
+
SENSITIVE: []
|
|
183
|
+
end
|
|
184
|
+
|
|
173
185
|
class CapacityProviderVpcConfig
|
|
174
186
|
attr_accessor subnet_ids: ::Array[::String]
|
|
175
187
|
attr_accessor security_group_ids: ::Array[::String]
|
|
@@ -346,6 +358,7 @@ module Aws::Lambda
|
|
|
346
358
|
attr_accessor kms_key_arn: ::String
|
|
347
359
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
348
360
|
attr_accessor propagate_tags: Types::PropagateTags
|
|
361
|
+
attr_accessor telemetry_config: Types::CapacityProviderTelemetryConfig
|
|
349
362
|
SENSITIVE: []
|
|
350
363
|
end
|
|
351
364
|
|
|
@@ -1296,12 +1309,12 @@ module Aws::Lambda
|
|
|
1296
1309
|
|
|
1297
1310
|
class InvokeWithResponseStreamRequest
|
|
1298
1311
|
attr_accessor function_name: ::String
|
|
1299
|
-
attr_accessor invocation_type: ("RequestResponse" | "DryRun")
|
|
1300
1312
|
attr_accessor log_type: ("None" | "Tail")
|
|
1301
1313
|
attr_accessor client_context: ::String
|
|
1302
1314
|
attr_accessor qualifier: ::String
|
|
1303
1315
|
attr_accessor payload: ::String
|
|
1304
1316
|
attr_accessor tenant_id: ::String
|
|
1317
|
+
attr_accessor invocation_type: ("RequestResponse" | "DryRun")
|
|
1305
1318
|
SENSITIVE: [:payload]
|
|
1306
1319
|
end
|
|
1307
1320
|
|
|
@@ -2152,6 +2165,7 @@ module Aws::Lambda
|
|
|
2152
2165
|
attr_accessor capacity_provider_name: ::String
|
|
2153
2166
|
attr_accessor capacity_provider_scaling_config: Types::CapacityProviderScalingConfig
|
|
2154
2167
|
attr_accessor propagate_tags: Types::PropagateTags
|
|
2168
|
+
attr_accessor telemetry_config: Types::CapacityProviderTelemetryConfig
|
|
2155
2169
|
SENSITIVE: []
|
|
2156
2170
|
end
|
|
2157
2171
|
|