aws-sdk-lambda 1.88.0 → 1.91.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.
@@ -148,6 +148,8 @@ module Aws::Lambda
148
148
  GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
149
149
  GetProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigRequest')
150
150
  GetProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigResponse')
151
+ GetRuntimeManagementConfigRequest = Shapes::StructureShape.new(name: 'GetRuntimeManagementConfigRequest')
152
+ GetRuntimeManagementConfigResponse = Shapes::StructureShape.new(name: 'GetRuntimeManagementConfigResponse')
151
153
  Handler = Shapes::StringShape.new(name: 'Handler')
152
154
  Header = Shapes::StringShape.new(name: 'Header')
153
155
  HeadersList = Shapes::ListShape.new(name: 'HeadersList')
@@ -227,6 +229,7 @@ module Aws::Lambda
227
229
  MaxListItems = Shapes::IntegerShape.new(name: 'MaxListItems')
228
230
  MaxProvisionedConcurrencyConfigListItems = Shapes::IntegerShape.new(name: 'MaxProvisionedConcurrencyConfigListItems')
229
231
  MaximumBatchingWindowInSeconds = Shapes::IntegerShape.new(name: 'MaximumBatchingWindowInSeconds')
232
+ MaximumConcurrency = Shapes::IntegerShape.new(name: 'MaximumConcurrency')
230
233
  MaximumEventAgeInSeconds = Shapes::IntegerShape.new(name: 'MaximumEventAgeInSeconds')
231
234
  MaximumRecordAgeInSeconds = Shapes::IntegerShape.new(name: 'MaximumRecordAgeInSeconds')
232
235
  MaximumRetryAttempts = Shapes::IntegerShape.new(name: 'MaximumRetryAttempts')
@@ -262,6 +265,8 @@ module Aws::Lambda
262
265
  PutFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'PutFunctionEventInvokeConfigRequest')
263
266
  PutProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigRequest')
264
267
  PutProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigResponse')
268
+ PutRuntimeManagementConfigRequest = Shapes::StructureShape.new(name: 'PutRuntimeManagementConfigRequest')
269
+ PutRuntimeManagementConfigResponse = Shapes::StructureShape.new(name: 'PutRuntimeManagementConfigResponse')
265
270
  Qualifier = Shapes::StringShape.new(name: 'Qualifier')
266
271
  Queue = Shapes::StringShape.new(name: 'Queue')
267
272
  Queues = Shapes::ListShape.new(name: 'Queues')
@@ -276,9 +281,13 @@ module Aws::Lambda
276
281
  ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
277
282
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
278
283
  Runtime = Shapes::StringShape.new(name: 'Runtime')
284
+ RuntimeVersionArn = Shapes::StringShape.new(name: 'RuntimeVersionArn')
285
+ RuntimeVersionConfig = Shapes::StructureShape.new(name: 'RuntimeVersionConfig')
286
+ RuntimeVersionError = Shapes::StructureShape.new(name: 'RuntimeVersionError')
279
287
  S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
280
288
  S3Key = Shapes::StringShape.new(name: 'S3Key')
281
289
  S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
290
+ ScalingConfig = Shapes::StructureShape.new(name: 'ScalingConfig')
282
291
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
283
292
  SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
284
293
  SelfManagedEventSource = Shapes::StructureShape.new(name: 'SelfManagedEventSource')
@@ -334,6 +343,7 @@ module Aws::Lambda
334
343
  UpdateFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'UpdateFunctionEventInvokeConfigRequest')
335
344
  UpdateFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'UpdateFunctionUrlConfigRequest')
336
345
  UpdateFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'UpdateFunctionUrlConfigResponse')
346
+ UpdateRuntimeOn = Shapes::StringShape.new(name: 'UpdateRuntimeOn')
337
347
  Version = Shapes::StringShape.new(name: 'Version')
338
348
  VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
339
349
  VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
@@ -485,6 +495,7 @@ module Aws::Lambda
485
495
  CreateEventSourceMappingRequest.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
486
496
  CreateEventSourceMappingRequest.add_member(:amazon_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: AmazonManagedKafkaEventSourceConfig, location_name: "AmazonManagedKafkaEventSourceConfig"))
487
497
  CreateEventSourceMappingRequest.add_member(:self_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: SelfManagedKafkaEventSourceConfig, location_name: "SelfManagedKafkaEventSourceConfig"))
498
+ CreateEventSourceMappingRequest.add_member(:scaling_config, Shapes::ShapeRef.new(shape: ScalingConfig, location_name: "ScalingConfig"))
488
499
  CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
489
500
 
490
501
  CreateFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
@@ -650,6 +661,7 @@ module Aws::Lambda
650
661
  EventSourceMappingConfiguration.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
651
662
  EventSourceMappingConfiguration.add_member(:amazon_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: AmazonManagedKafkaEventSourceConfig, location_name: "AmazonManagedKafkaEventSourceConfig"))
652
663
  EventSourceMappingConfiguration.add_member(:self_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: SelfManagedKafkaEventSourceConfig, location_name: "SelfManagedKafkaEventSourceConfig"))
664
+ EventSourceMappingConfiguration.add_member(:scaling_config, Shapes::ShapeRef.new(shape: ScalingConfig, location_name: "ScalingConfig"))
653
665
  EventSourceMappingConfiguration.struct_class = Types::EventSourceMappingConfiguration
654
666
 
655
667
  EventSourceMappingsList.member = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
@@ -717,6 +729,7 @@ module Aws::Lambda
717
729
  FunctionConfiguration.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
718
730
  FunctionConfiguration.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "EphemeralStorage"))
719
731
  FunctionConfiguration.add_member(:snap_start, Shapes::ShapeRef.new(shape: SnapStartResponse, location_name: "SnapStart"))
732
+ FunctionConfiguration.add_member(:runtime_version_config, Shapes::ShapeRef.new(shape: RuntimeVersionConfig, location_name: "RuntimeVersionConfig"))
720
733
  FunctionConfiguration.struct_class = Types::FunctionConfiguration
721
734
 
722
735
  FunctionEventInvokeConfig.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
@@ -850,6 +863,14 @@ module Aws::Lambda
850
863
  GetProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
851
864
  GetProvisionedConcurrencyConfigResponse.struct_class = Types::GetProvisionedConcurrencyConfigResponse
852
865
 
866
+ GetRuntimeManagementConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
867
+ GetRuntimeManagementConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
868
+ GetRuntimeManagementConfigRequest.struct_class = Types::GetRuntimeManagementConfigRequest
869
+
870
+ GetRuntimeManagementConfigResponse.add_member(:update_runtime_on, Shapes::ShapeRef.new(shape: UpdateRuntimeOn, location_name: "UpdateRuntimeOn"))
871
+ GetRuntimeManagementConfigResponse.add_member(:runtime_version_arn, Shapes::ShapeRef.new(shape: RuntimeVersionArn, location_name: "RuntimeVersionArn"))
872
+ GetRuntimeManagementConfigResponse.struct_class = Types::GetRuntimeManagementConfigResponse
873
+
853
874
  HeadersList.member = Shapes::ShapeRef.new(shape: Header)
854
875
 
855
876
  ImageConfig.add_member(:entry_point, Shapes::ShapeRef.new(shape: StringList, location_name: "EntryPoint"))
@@ -1174,6 +1195,17 @@ module Aws::Lambda
1174
1195
  PutProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
1175
1196
  PutProvisionedConcurrencyConfigResponse.struct_class = Types::PutProvisionedConcurrencyConfigResponse
1176
1197
 
1198
+ PutRuntimeManagementConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
1199
+ PutRuntimeManagementConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
1200
+ PutRuntimeManagementConfigRequest.add_member(:update_runtime_on, Shapes::ShapeRef.new(shape: UpdateRuntimeOn, required: true, location_name: "UpdateRuntimeOn"))
1201
+ PutRuntimeManagementConfigRequest.add_member(:runtime_version_arn, Shapes::ShapeRef.new(shape: RuntimeVersionArn, location_name: "RuntimeVersionArn"))
1202
+ PutRuntimeManagementConfigRequest.struct_class = Types::PutRuntimeManagementConfigRequest
1203
+
1204
+ PutRuntimeManagementConfigResponse.add_member(:update_runtime_on, Shapes::ShapeRef.new(shape: UpdateRuntimeOn, required: true, location_name: "UpdateRuntimeOn"))
1205
+ PutRuntimeManagementConfigResponse.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
1206
+ PutRuntimeManagementConfigResponse.add_member(:runtime_version_arn, Shapes::ShapeRef.new(shape: RuntimeVersionArn, location_name: "RuntimeVersionArn"))
1207
+ PutRuntimeManagementConfigResponse.struct_class = Types::PutRuntimeManagementConfigResponse
1208
+
1177
1209
  Queues.member = Shapes::ShapeRef.new(shape: Queue)
1178
1210
 
1179
1211
  RemoveLayerVersionPermissionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
@@ -1208,6 +1240,17 @@ module Aws::Lambda
1208
1240
  ResourceNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1209
1241
  ResourceNotReadyException.struct_class = Types::ResourceNotReadyException
1210
1242
 
1243
+ RuntimeVersionConfig.add_member(:runtime_version_arn, Shapes::ShapeRef.new(shape: RuntimeVersionArn, location_name: "RuntimeVersionArn"))
1244
+ RuntimeVersionConfig.add_member(:error, Shapes::ShapeRef.new(shape: RuntimeVersionError, location_name: "Error"))
1245
+ RuntimeVersionConfig.struct_class = Types::RuntimeVersionConfig
1246
+
1247
+ RuntimeVersionError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode"))
1248
+ RuntimeVersionError.add_member(:message, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Message"))
1249
+ RuntimeVersionError.struct_class = Types::RuntimeVersionError
1250
+
1251
+ ScalingConfig.add_member(:maximum_concurrency, Shapes::ShapeRef.new(shape: MaximumConcurrency, location_name: "MaximumConcurrency"))
1252
+ ScalingConfig.struct_class = Types::ScalingConfig
1253
+
1211
1254
  SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
1212
1255
 
1213
1256
  SelfManagedEventSource.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, location_name: "Endpoints"))
@@ -1317,6 +1360,7 @@ module Aws::Lambda
1317
1360
  UpdateEventSourceMappingRequest.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
1318
1361
  UpdateEventSourceMappingRequest.add_member(:tumbling_window_in_seconds, Shapes::ShapeRef.new(shape: TumblingWindowInSeconds, location_name: "TumblingWindowInSeconds"))
1319
1362
  UpdateEventSourceMappingRequest.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
1363
+ UpdateEventSourceMappingRequest.add_member(:scaling_config, Shapes::ShapeRef.new(shape: ScalingConfig, location_name: "ScalingConfig"))
1320
1364
  UpdateEventSourceMappingRequest.struct_class = Types::UpdateEventSourceMappingRequest
1321
1365
 
1322
1366
  UpdateFunctionCodeRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -1796,6 +1840,18 @@ module Aws::Lambda
1796
1840
  o.errors << Shapes::ShapeRef.new(shape: ProvisionedConcurrencyConfigNotFoundException)
1797
1841
  end)
1798
1842
 
1843
+ api.add_operation(:get_runtime_management_config, Seahorse::Model::Operation.new.tap do |o|
1844
+ o.name = "GetRuntimeManagementConfig"
1845
+ o.http_method = "GET"
1846
+ o.http_request_uri = "/2021-07-20/functions/{FunctionName}/runtime-management-config"
1847
+ o.input = Shapes::ShapeRef.new(shape: GetRuntimeManagementConfigRequest)
1848
+ o.output = Shapes::ShapeRef.new(shape: GetRuntimeManagementConfigResponse)
1849
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1850
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1851
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1852
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1853
+ end)
1854
+
1799
1855
  api.add_operation(:invoke, Seahorse::Model::Operation.new.tap do |o|
1800
1856
  o.name = "Invoke"
1801
1857
  o.http_method = "POST"
@@ -2133,6 +2189,19 @@ module Aws::Lambda
2133
2189
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2134
2190
  end)
2135
2191
 
2192
+ api.add_operation(:put_runtime_management_config, Seahorse::Model::Operation.new.tap do |o|
2193
+ o.name = "PutRuntimeManagementConfig"
2194
+ o.http_method = "PUT"
2195
+ o.http_request_uri = "/2021-07-20/functions/{FunctionName}/runtime-management-config"
2196
+ o.input = Shapes::ShapeRef.new(shape: PutRuntimeManagementConfigRequest)
2197
+ o.output = Shapes::ShapeRef.new(shape: PutRuntimeManagementConfigResponse)
2198
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2199
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2200
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2201
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2202
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2203
+ end)
2204
+
2136
2205
  api.add_operation(:remove_layer_version_permission, Seahorse::Model::Operation.new.tap do |o|
2137
2206
  o.name = "RemoveLayerVersionPermission"
2138
2207
  o.http_method = "DELETE"
@@ -9,103 +9,43 @@
9
9
 
10
10
  module Aws::Lambda
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://lambda-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://lambda-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://lambda.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://lambda.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
- YXRpb24iOiJU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cHM6Ly9sYW1iZGEue1Jl
100
- Z2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkdWFsU3RhY2tEbnNTdWZmaXh9Iiwi
101
- cHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50
102
- In1dfSx7ImNvbmRpdGlvbnMiOltdLCJlcnJvciI6IkR1YWxTdGFjayBpcyBl
103
- bmFibGVkIGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBwb3J0IER1
104
- YWxTdGFjayIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25zIjpbXSwi
105
- ZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9sYW1iZGEue1JlZ2lvbn0ue1Bh
106
- cnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhl
107
- YWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
108
-
109
- JSON
110
50
  end
111
51
  end
@@ -459,6 +459,20 @@ module Aws::Lambda
459
459
  end
460
460
  end
461
461
 
462
+ class GetRuntimeManagementConfig
463
+ def self.build(context)
464
+ unless context.config.regional_endpoint
465
+ endpoint = context.config.endpoint.to_s
466
+ end
467
+ Aws::Lambda::EndpointParameters.new(
468
+ region: context.config.region,
469
+ use_dual_stack: context.config.use_dualstack_endpoint,
470
+ use_fips: context.config.use_fips_endpoint,
471
+ endpoint: endpoint,
472
+ )
473
+ end
474
+ end
475
+
462
476
  class Invoke
463
477
  def self.build(context)
464
478
  unless context.config.regional_endpoint
@@ -739,6 +753,20 @@ module Aws::Lambda
739
753
  end
740
754
  end
741
755
 
756
+ class PutRuntimeManagementConfig
757
+ def self.build(context)
758
+ unless context.config.regional_endpoint
759
+ endpoint = context.config.endpoint.to_s
760
+ end
761
+ Aws::Lambda::EndpointParameters.new(
762
+ region: context.config.region,
763
+ use_dual_stack: context.config.use_dualstack_endpoint,
764
+ use_fips: context.config.use_fips_endpoint,
765
+ endpoint: endpoint,
766
+ )
767
+ end
768
+ end
769
+
742
770
  class RemoveLayerVersionPermission
743
771
  def self.build(context)
744
772
  unless context.config.regional_endpoint
@@ -120,6 +120,8 @@ module Aws::Lambda
120
120
  Aws::Lambda::Endpoints::GetPolicy.build(context)
121
121
  when :get_provisioned_concurrency_config
122
122
  Aws::Lambda::Endpoints::GetProvisionedConcurrencyConfig.build(context)
123
+ when :get_runtime_management_config
124
+ Aws::Lambda::Endpoints::GetRuntimeManagementConfig.build(context)
123
125
  when :invoke
124
126
  Aws::Lambda::Endpoints::Invoke.build(context)
125
127
  when :invoke_async
@@ -160,6 +162,8 @@ module Aws::Lambda
160
162
  Aws::Lambda::Endpoints::PutFunctionEventInvokeConfig.build(context)
161
163
  when :put_provisioned_concurrency_config
162
164
  Aws::Lambda::Endpoints::PutProvisionedConcurrencyConfig.build(context)
165
+ when :put_runtime_management_config
166
+ Aws::Lambda::Endpoints::PutRuntimeManagementConfig.build(context)
163
167
  when :remove_layer_version_permission
164
168
  Aws::Lambda::Endpoints::RemoveLayerVersionPermission.build(context)
165
169
  when :remove_permission