lib/aws-sdk-guardduty/endpoints.rb in aws-sdk-guardduty-1.66.0 vs lib/aws-sdk-guardduty/endpoints.rb in aws-sdk-guardduty-1.67.0

- old
+ new

@@ -387,10 +387,24 @@ endpoint: endpoint, ) end end + class GetCoverageStatistics + 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 GetDetector def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end @@ -570,9 +584,23 @@ ) end end class InviteMembers + 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 ListCoverage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new(