# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::OpenSearchService # @api private module Endpoints class AcceptInboundConnection 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 AddTags 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 AssociatePackage 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 AuthorizeVpcEndpointAccess 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 CancelServiceSoftwareUpdate 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 CreateDomain 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 CreateOutboundConnection 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 CreatePackage 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 CreateVpcEndpoint 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 DeleteDomain 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 DeleteInboundConnection 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 DeleteOutboundConnection 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 DeletePackage 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 DeleteVpcEndpoint 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 DescribeDomain 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 DescribeDomainAutoTunes 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 DescribeDomainChangeProgress 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 DescribeDomainConfig 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 DescribeDomainHealth 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 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 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 DescribeDryRunProgress 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 DescribeInboundConnections 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 DescribeInstanceTypeLimits 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 DescribeOutboundConnections 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 DescribePackages 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 DescribeReservedInstanceOfferings 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 DescribeReservedInstances 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 DescribeVpcEndpoints 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 DissociatePackage 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 GetCompatibleVersions 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 GetPackageVersionHistory 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 GetUpgradeHistory 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 GetUpgradeStatus 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 ListDomainNames 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 ListDomainsForPackage 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 ListInstanceTypeDetails 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 ListPackagesForDomain 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 ListScheduledActions 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 ListTags 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 ListVersions 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 ListVpcEndpointAccess 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 ListVpcEndpoints 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 ListVpcEndpointsForDomain 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 PurchaseReservedInstanceOffering 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 RejectInboundConnection 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 RemoveTags 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 RevokeVpcEndpointAccess 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 StartServiceSoftwareUpdate 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 UpdateDomainConfig 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 UpdatePackage 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 UpdateScheduledAction 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 UpdateVpcEndpoint 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 UpgradeDomain 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 end end