lib/aws-sdk-guardduty/endpoints.rb in aws-sdk-guardduty-1.68.0 vs lib/aws-sdk-guardduty/endpoints.rb in aws-sdk-guardduty-1.69.0

- old
+ new

@@ -751,9 +751,23 @@ endpoint: endpoint, ) end end + class StartMalwareScan + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::GuardDuty::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class StartMonitoringMembers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end