lib/aws-sdk-securityhub/endpoints.rb in aws-sdk-securityhub-1.80.0 vs lib/aws-sdk-securityhub/endpoints.rb in aws-sdk-securityhub-1.81.0

- old
+ new

@@ -527,9 +527,23 @@ endpoint: endpoint, ) end end + class GetFindingHistory + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::SecurityHub::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 GetFindings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end