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

- old
+ new

@@ -177,9 +177,23 @@ endpoint: endpoint, ) end end + class DescribeAddonConfiguration + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::EKS::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 DescribeAddonVersions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end