lib/aws-sdk-opensearchservice/endpoints.rb in aws-sdk-opensearchservice-1.18.0 vs lib/aws-sdk-opensearchservice/endpoints.rb in aws-sdk-opensearchservice-1.19.0

- old
+ new

@@ -275,9 +275,23 @@ endpoint: endpoint, ) end end + class DescribeDomainNodes + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::OpenSearchService::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 DescribeDomains def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end