lib/aws-sdk-opensearchservice/endpoints.rb in aws-sdk-opensearchservice-1.12.0 vs lib/aws-sdk-opensearchservice/endpoints.rb in aws-sdk-opensearchservice-1.13.0

- old
+ new

@@ -51,10 +51,24 @@ 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 @@ -107,10 +121,24 @@ 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 @@ -163,10 +191,24 @@ 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 @@ -317,10 +359,24 @@ 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 @@ -471,10 +527,52 @@ 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 @@ -513,10 +611,24 @@ 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 @@ -542,9 +654,23 @@ ) 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 UpdateVpcEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::OpenSearchService::EndpointParameters.new(