Interface OpenSearchAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
Use the Amazon OpenSearch Service configuration API to create, configure, and manage OpenSearch Service domains.
For sample code that uses the configuration API, see the Amazon OpenSearch Service Developer Guide . The guide also contains sample code for sending signed HTTP requests to the OpenSearch APIs. The endpoint for configuration service requests is Region specific: es.region.amazonaws.com. For example, es.us-east-1.amazonaws.com. For a current list of supported Regions and endpoints, see Amazon Web Services service endpoints.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionacceptInboundConnection(Consumer<AcceptInboundConnectionRequest.Builder> acceptInboundConnectionRequest) Allows the destination Amazon OpenSearch Service domain owner to accept an inbound cross-cluster search connection request.acceptInboundConnection(AcceptInboundConnectionRequest acceptInboundConnectionRequest) Allows the destination Amazon OpenSearch Service domain owner to accept an inbound cross-cluster search connection request.default CompletableFuture<AddTagsResponse> addTags(Consumer<AddTagsRequest.Builder> addTagsRequest) Attaches tags to an existing Amazon OpenSearch Service domain.default CompletableFuture<AddTagsResponse> addTags(AddTagsRequest addTagsRequest) Attaches tags to an existing Amazon OpenSearch Service domain.associatePackage(Consumer<AssociatePackageRequest.Builder> associatePackageRequest) Associates a package with an Amazon OpenSearch Service domain.associatePackage(AssociatePackageRequest associatePackageRequest) Associates a package with an Amazon OpenSearch Service domain.authorizeVpcEndpointAccess(Consumer<AuthorizeVpcEndpointAccessRequest.Builder> authorizeVpcEndpointAccessRequest) Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.authorizeVpcEndpointAccess(AuthorizeVpcEndpointAccessRequest authorizeVpcEndpointAccessRequest) Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.static OpenSearchAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aOpenSearchAsyncClient.cancelServiceSoftwareUpdate(Consumer<CancelServiceSoftwareUpdateRequest.Builder> cancelServiceSoftwareUpdateRequest) Cancels a scheduled service software update for an Amazon OpenSearch Service domain.cancelServiceSoftwareUpdate(CancelServiceSoftwareUpdateRequest cancelServiceSoftwareUpdateRequest) Cancels a scheduled service software update for an Amazon OpenSearch Service domain.static OpenSearchAsyncClientcreate()Create aOpenSearchAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateDomainResponse> createDomain(Consumer<CreateDomainRequest.Builder> createDomainRequest) Creates an Amazon OpenSearch Service domain.default CompletableFuture<CreateDomainResponse> createDomain(CreateDomainRequest createDomainRequest) Creates an Amazon OpenSearch Service domain.createOutboundConnection(Consumer<CreateOutboundConnectionRequest.Builder> createOutboundConnectionRequest) Creates a new cross-cluster search connection from a source Amazon OpenSearch Service domain to a destination domain.createOutboundConnection(CreateOutboundConnectionRequest createOutboundConnectionRequest) Creates a new cross-cluster search connection from a source Amazon OpenSearch Service domain to a destination domain.default CompletableFuture<CreatePackageResponse> createPackage(Consumer<CreatePackageRequest.Builder> createPackageRequest) Creates a package for use with Amazon OpenSearch Service domains.default CompletableFuture<CreatePackageResponse> createPackage(CreatePackageRequest createPackageRequest) Creates a package for use with Amazon OpenSearch Service domains.createVpcEndpoint(Consumer<CreateVpcEndpointRequest.Builder> createVpcEndpointRequest) Creates an Amazon OpenSearch Service-managed VPC endpoint.createVpcEndpoint(CreateVpcEndpointRequest createVpcEndpointRequest) Creates an Amazon OpenSearch Service-managed VPC endpoint.default CompletableFuture<DeleteDomainResponse> deleteDomain(Consumer<DeleteDomainRequest.Builder> deleteDomainRequest) Deletes an Amazon OpenSearch Service domain and all of its data.default CompletableFuture<DeleteDomainResponse> deleteDomain(DeleteDomainRequest deleteDomainRequest) Deletes an Amazon OpenSearch Service domain and all of its data.deleteInboundConnection(Consumer<DeleteInboundConnectionRequest.Builder> deleteInboundConnectionRequest) Allows the destination Amazon OpenSearch Service domain owner to delete an existing inbound cross-cluster search connection.deleteInboundConnection(DeleteInboundConnectionRequest deleteInboundConnectionRequest) Allows the destination Amazon OpenSearch Service domain owner to delete an existing inbound cross-cluster search connection.deleteOutboundConnection(Consumer<DeleteOutboundConnectionRequest.Builder> deleteOutboundConnectionRequest) Allows the source Amazon OpenSearch Service domain owner to delete an existing outbound cross-cluster search connection.deleteOutboundConnection(DeleteOutboundConnectionRequest deleteOutboundConnectionRequest) Allows the source Amazon OpenSearch Service domain owner to delete an existing outbound cross-cluster search connection.default CompletableFuture<DeletePackageResponse> deletePackage(Consumer<DeletePackageRequest.Builder> deletePackageRequest) Deletes an Amazon OpenSearch Service package.default CompletableFuture<DeletePackageResponse> deletePackage(DeletePackageRequest deletePackageRequest) Deletes an Amazon OpenSearch Service package.deleteVpcEndpoint(Consumer<DeleteVpcEndpointRequest.Builder> deleteVpcEndpointRequest) Deletes an Amazon OpenSearch Service-managed interface VPC endpoint.deleteVpcEndpoint(DeleteVpcEndpointRequest deleteVpcEndpointRequest) Deletes an Amazon OpenSearch Service-managed interface VPC endpoint.default CompletableFuture<DescribeDomainResponse> describeDomain(Consumer<DescribeDomainRequest.Builder> describeDomainRequest) Describes the domain configuration for the specified Amazon OpenSearch Service domain, including the domain ID, domain service endpoint, and domain ARN.default CompletableFuture<DescribeDomainResponse> describeDomain(DescribeDomainRequest describeDomainRequest) Describes the domain configuration for the specified Amazon OpenSearch Service domain, including the domain ID, domain service endpoint, and domain ARN.describeDomainAutoTunes(Consumer<DescribeDomainAutoTunesRequest.Builder> describeDomainAutoTunesRequest) Returns the list of optimizations that Auto-Tune has made to an Amazon OpenSearch Service domain.describeDomainAutoTunes(DescribeDomainAutoTunesRequest describeDomainAutoTunesRequest) Returns the list of optimizations that Auto-Tune has made to an Amazon OpenSearch Service domain.default DescribeDomainAutoTunesPublisherdescribeDomainAutoTunesPaginator(Consumer<DescribeDomainAutoTunesRequest.Builder> describeDomainAutoTunesRequest) Returns the list of optimizations that Auto-Tune has made to an Amazon OpenSearch Service domain.default DescribeDomainAutoTunesPublisherdescribeDomainAutoTunesPaginator(DescribeDomainAutoTunesRequest describeDomainAutoTunesRequest) Returns the list of optimizations that Auto-Tune has made to an Amazon OpenSearch Service domain.describeDomainChangeProgress(Consumer<DescribeDomainChangeProgressRequest.Builder> describeDomainChangeProgressRequest) Returns information about the current blue/green deployment happening on an Amazon OpenSearch Service domain.describeDomainChangeProgress(DescribeDomainChangeProgressRequest describeDomainChangeProgressRequest) Returns information about the current blue/green deployment happening on an Amazon OpenSearch Service domain.describeDomainConfig(Consumer<DescribeDomainConfigRequest.Builder> describeDomainConfigRequest) Returns the configuration of an Amazon OpenSearch Service domain.describeDomainConfig(DescribeDomainConfigRequest describeDomainConfigRequest) Returns the configuration of an Amazon OpenSearch Service domain.describeDomainHealth(Consumer<DescribeDomainHealthRequest.Builder> describeDomainHealthRequest) Returns information about domain and node health, the standby Availability Zone, number of nodes per Availability Zone, and shard count per node.describeDomainHealth(DescribeDomainHealthRequest describeDomainHealthRequest) Returns information about domain and node health, the standby Availability Zone, number of nodes per Availability Zone, and shard count per node.describeDomainNodes(Consumer<DescribeDomainNodesRequest.Builder> describeDomainNodesRequest) Returns information about domain and nodes, including data nodes, master nodes, ultrawarm nodes, Availability Zone(s), standby nodes, node configurations, and node states.describeDomainNodes(DescribeDomainNodesRequest describeDomainNodesRequest) Returns information about domain and nodes, including data nodes, master nodes, ultrawarm nodes, Availability Zone(s), standby nodes, node configurations, and node states.default CompletableFuture<DescribeDomainsResponse> describeDomains(Consumer<DescribeDomainsRequest.Builder> describeDomainsRequest) Returns domain configuration information about the specified Amazon OpenSearch Service domains.default CompletableFuture<DescribeDomainsResponse> describeDomains(DescribeDomainsRequest describeDomainsRequest) Returns domain configuration information about the specified Amazon OpenSearch Service domains.describeDryRunProgress(Consumer<DescribeDryRunProgressRequest.Builder> describeDryRunProgressRequest) Describes the progress of a pre-update dry run analysis on an Amazon OpenSearch Service domain.describeDryRunProgress(DescribeDryRunProgressRequest describeDryRunProgressRequest) Describes the progress of a pre-update dry run analysis on an Amazon OpenSearch Service domain.describeInboundConnections(Consumer<DescribeInboundConnectionsRequest.Builder> describeInboundConnectionsRequest) Lists all the inbound cross-cluster search connections for a destination (remote) Amazon OpenSearch Service domain.describeInboundConnections(DescribeInboundConnectionsRequest describeInboundConnectionsRequest) Lists all the inbound cross-cluster search connections for a destination (remote) Amazon OpenSearch Service domain.describeInboundConnectionsPaginator(Consumer<DescribeInboundConnectionsRequest.Builder> describeInboundConnectionsRequest) Lists all the inbound cross-cluster search connections for a destination (remote) Amazon OpenSearch Service domain.describeInboundConnectionsPaginator(DescribeInboundConnectionsRequest describeInboundConnectionsRequest) Lists all the inbound cross-cluster search connections for a destination (remote) Amazon OpenSearch Service domain.describeInstanceTypeLimits(Consumer<DescribeInstanceTypeLimitsRequest.Builder> describeInstanceTypeLimitsRequest) Describes the instance count, storage, and master node limits for a given OpenSearch or Elasticsearch version and instance type.describeInstanceTypeLimits(DescribeInstanceTypeLimitsRequest describeInstanceTypeLimitsRequest) Describes the instance count, storage, and master node limits for a given OpenSearch or Elasticsearch version and instance type.describeOutboundConnections(Consumer<DescribeOutboundConnectionsRequest.Builder> describeOutboundConnectionsRequest) Lists all the outbound cross-cluster connections for a local (source) Amazon OpenSearch Service domain.describeOutboundConnections(DescribeOutboundConnectionsRequest describeOutboundConnectionsRequest) Lists all the outbound cross-cluster connections for a local (source) Amazon OpenSearch Service domain.describeOutboundConnectionsPaginator(Consumer<DescribeOutboundConnectionsRequest.Builder> describeOutboundConnectionsRequest) Lists all the outbound cross-cluster connections for a local (source) Amazon OpenSearch Service domain.describeOutboundConnectionsPaginator(DescribeOutboundConnectionsRequest describeOutboundConnectionsRequest) Lists all the outbound cross-cluster connections for a local (source) Amazon OpenSearch Service domain.describePackages(Consumer<DescribePackagesRequest.Builder> describePackagesRequest) Describes all packages available to OpenSearch Service.describePackages(DescribePackagesRequest describePackagesRequest) Describes all packages available to OpenSearch Service.default DescribePackagesPublisherdescribePackagesPaginator(Consumer<DescribePackagesRequest.Builder> describePackagesRequest) Describes all packages available to OpenSearch Service.default DescribePackagesPublisherdescribePackagesPaginator(DescribePackagesRequest describePackagesRequest) Describes all packages available to OpenSearch Service.describeReservedInstanceOfferings(Consumer<DescribeReservedInstanceOfferingsRequest.Builder> describeReservedInstanceOfferingsRequest) Describes the available Amazon OpenSearch Service Reserved Instance offerings for a given Region.describeReservedInstanceOfferings(DescribeReservedInstanceOfferingsRequest describeReservedInstanceOfferingsRequest) Describes the available Amazon OpenSearch Service Reserved Instance offerings for a given Region.describeReservedInstanceOfferingsPaginator(Consumer<DescribeReservedInstanceOfferingsRequest.Builder> describeReservedInstanceOfferingsRequest) Describes the available Amazon OpenSearch Service Reserved Instance offerings for a given Region.describeReservedInstanceOfferingsPaginator(DescribeReservedInstanceOfferingsRequest describeReservedInstanceOfferingsRequest) Describes the available Amazon OpenSearch Service Reserved Instance offerings for a given Region.describeReservedInstances(Consumer<DescribeReservedInstancesRequest.Builder> describeReservedInstancesRequest) Describes the Amazon OpenSearch Service instances that you have reserved in a given Region.describeReservedInstances(DescribeReservedInstancesRequest describeReservedInstancesRequest) Describes the Amazon OpenSearch Service instances that you have reserved in a given Region.describeReservedInstancesPaginator(Consumer<DescribeReservedInstancesRequest.Builder> describeReservedInstancesRequest) Describes the Amazon OpenSearch Service instances that you have reserved in a given Region.describeReservedInstancesPaginator(DescribeReservedInstancesRequest describeReservedInstancesRequest) Describes the Amazon OpenSearch Service instances that you have reserved in a given Region.describeVpcEndpoints(Consumer<DescribeVpcEndpointsRequest.Builder> describeVpcEndpointsRequest) Describes one or more Amazon OpenSearch Service-managed VPC endpoints.describeVpcEndpoints(DescribeVpcEndpointsRequest describeVpcEndpointsRequest) Describes one or more Amazon OpenSearch Service-managed VPC endpoints.dissociatePackage(Consumer<DissociatePackageRequest.Builder> dissociatePackageRequest) Removes a package from the specified Amazon OpenSearch Service domain.dissociatePackage(DissociatePackageRequest dissociatePackageRequest) Removes a package from the specified Amazon OpenSearch Service domain.getCompatibleVersions(Consumer<GetCompatibleVersionsRequest.Builder> getCompatibleVersionsRequest) Returns a map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.getCompatibleVersions(GetCompatibleVersionsRequest getCompatibleVersionsRequest) Returns a map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.getDomainMaintenanceStatus(Consumer<GetDomainMaintenanceStatusRequest.Builder> getDomainMaintenanceStatusRequest) The status of the maintenance action.getDomainMaintenanceStatus(GetDomainMaintenanceStatusRequest getDomainMaintenanceStatusRequest) The status of the maintenance action.getPackageVersionHistory(Consumer<GetPackageVersionHistoryRequest.Builder> getPackageVersionHistoryRequest) Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the package is a zip plugin package).getPackageVersionHistory(GetPackageVersionHistoryRequest getPackageVersionHistoryRequest) Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the package is a zip plugin package).getPackageVersionHistoryPaginator(Consumer<GetPackageVersionHistoryRequest.Builder> getPackageVersionHistoryRequest) Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the package is a zip plugin package).getPackageVersionHistoryPaginator(GetPackageVersionHistoryRequest getPackageVersionHistoryRequest) Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the package is a zip plugin package).getUpgradeHistory(Consumer<GetUpgradeHistoryRequest.Builder> getUpgradeHistoryRequest) Retrieves the complete history of the last 10 upgrades performed on an Amazon OpenSearch Service domain.getUpgradeHistory(GetUpgradeHistoryRequest getUpgradeHistoryRequest) Retrieves the complete history of the last 10 upgrades performed on an Amazon OpenSearch Service domain.default GetUpgradeHistoryPublishergetUpgradeHistoryPaginator(Consumer<GetUpgradeHistoryRequest.Builder> getUpgradeHistoryRequest) Retrieves the complete history of the last 10 upgrades performed on an Amazon OpenSearch Service domain.default GetUpgradeHistoryPublishergetUpgradeHistoryPaginator(GetUpgradeHistoryRequest getUpgradeHistoryRequest) Retrieves the complete history of the last 10 upgrades performed on an Amazon OpenSearch Service domain.getUpgradeStatus(Consumer<GetUpgradeStatusRequest.Builder> getUpgradeStatusRequest) Returns the most recent status of the last upgrade or upgrade eligibility check performed on an Amazon OpenSearch Service domain.getUpgradeStatus(GetUpgradeStatusRequest getUpgradeStatusRequest) Returns the most recent status of the last upgrade or upgrade eligibility check performed on an Amazon OpenSearch Service domain.listDomainMaintenances(Consumer<ListDomainMaintenancesRequest.Builder> listDomainMaintenancesRequest) A list of maintenance actions for the domain.listDomainMaintenances(ListDomainMaintenancesRequest listDomainMaintenancesRequest) A list of maintenance actions for the domain.default ListDomainMaintenancesPublisherlistDomainMaintenancesPaginator(Consumer<ListDomainMaintenancesRequest.Builder> listDomainMaintenancesRequest) A list of maintenance actions for the domain.default ListDomainMaintenancesPublisherlistDomainMaintenancesPaginator(ListDomainMaintenancesRequest listDomainMaintenancesRequest) A list of maintenance actions for the domain.default CompletableFuture<ListDomainNamesResponse> listDomainNames(Consumer<ListDomainNamesRequest.Builder> listDomainNamesRequest) Returns the names of all Amazon OpenSearch Service domains owned by the current user in the active Region.default CompletableFuture<ListDomainNamesResponse> listDomainNames(ListDomainNamesRequest listDomainNamesRequest) Returns the names of all Amazon OpenSearch Service domains owned by the current user in the active Region.listDomainsForPackage(Consumer<ListDomainsForPackageRequest.Builder> listDomainsForPackageRequest) Lists all Amazon OpenSearch Service domains associated with a given package.listDomainsForPackage(ListDomainsForPackageRequest listDomainsForPackageRequest) Lists all Amazon OpenSearch Service domains associated with a given package.default ListDomainsForPackagePublisherlistDomainsForPackagePaginator(Consumer<ListDomainsForPackageRequest.Builder> listDomainsForPackageRequest) Lists all Amazon OpenSearch Service domains associated with a given package.default ListDomainsForPackagePublisherlistDomainsForPackagePaginator(ListDomainsForPackageRequest listDomainsForPackageRequest) Lists all Amazon OpenSearch Service domains associated with a given package.listInstanceTypeDetails(Consumer<ListInstanceTypeDetailsRequest.Builder> listInstanceTypeDetailsRequest) Lists all instance types and available features for a given OpenSearch or Elasticsearch version.listInstanceTypeDetails(ListInstanceTypeDetailsRequest listInstanceTypeDetailsRequest) Lists all instance types and available features for a given OpenSearch or Elasticsearch version.default ListInstanceTypeDetailsPublisherlistInstanceTypeDetailsPaginator(Consumer<ListInstanceTypeDetailsRequest.Builder> listInstanceTypeDetailsRequest) Lists all instance types and available features for a given OpenSearch or Elasticsearch version.default ListInstanceTypeDetailsPublisherlistInstanceTypeDetailsPaginator(ListInstanceTypeDetailsRequest listInstanceTypeDetailsRequest) Lists all instance types and available features for a given OpenSearch or Elasticsearch version.listPackagesForDomain(Consumer<ListPackagesForDomainRequest.Builder> listPackagesForDomainRequest) Lists all packages associated with an Amazon OpenSearch Service domain.listPackagesForDomain(ListPackagesForDomainRequest listPackagesForDomainRequest) Lists all packages associated with an Amazon OpenSearch Service domain.default ListPackagesForDomainPublisherlistPackagesForDomainPaginator(Consumer<ListPackagesForDomainRequest.Builder> listPackagesForDomainRequest) Lists all packages associated with an Amazon OpenSearch Service domain.default ListPackagesForDomainPublisherlistPackagesForDomainPaginator(ListPackagesForDomainRequest listPackagesForDomainRequest) Lists all packages associated with an Amazon OpenSearch Service domain.listScheduledActions(Consumer<ListScheduledActionsRequest.Builder> listScheduledActionsRequest) Retrieves a list of configuration changes that are scheduled for a domain.listScheduledActions(ListScheduledActionsRequest listScheduledActionsRequest) Retrieves a list of configuration changes that are scheduled for a domain.default ListScheduledActionsPublisherlistScheduledActionsPaginator(Consumer<ListScheduledActionsRequest.Builder> listScheduledActionsRequest) Retrieves a list of configuration changes that are scheduled for a domain.default ListScheduledActionsPublisherlistScheduledActionsPaginator(ListScheduledActionsRequest listScheduledActionsRequest) Retrieves a list of configuration changes that are scheduled for a domain.default CompletableFuture<ListTagsResponse> listTags(Consumer<ListTagsRequest.Builder> listTagsRequest) Returns all resource tags for an Amazon OpenSearch Service domain.default CompletableFuture<ListTagsResponse> listTags(ListTagsRequest listTagsRequest) Returns all resource tags for an Amazon OpenSearch Service domain.default CompletableFuture<ListVersionsResponse> listVersions(Consumer<ListVersionsRequest.Builder> listVersionsRequest) Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.default CompletableFuture<ListVersionsResponse> listVersions(ListVersionsRequest listVersionsRequest) Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.default ListVersionsPublisherlistVersionsPaginator(Consumer<ListVersionsRequest.Builder> listVersionsRequest) Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.default ListVersionsPublisherlistVersionsPaginator(ListVersionsRequest listVersionsRequest) Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.listVpcEndpointAccess(Consumer<ListVpcEndpointAccessRequest.Builder> listVpcEndpointAccessRequest) Retrieves information about each Amazon Web Services principal that is allowed to access a given Amazon OpenSearch Service domain through the use of an interface VPC endpoint.listVpcEndpointAccess(ListVpcEndpointAccessRequest listVpcEndpointAccessRequest) Retrieves information about each Amazon Web Services principal that is allowed to access a given Amazon OpenSearch Service domain through the use of an interface VPC endpoint.listVpcEndpoints(Consumer<ListVpcEndpointsRequest.Builder> listVpcEndpointsRequest) Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current Amazon Web Services account and Region.listVpcEndpoints(ListVpcEndpointsRequest listVpcEndpointsRequest) Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current Amazon Web Services account and Region.listVpcEndpointsForDomain(Consumer<ListVpcEndpointsForDomainRequest.Builder> listVpcEndpointsForDomainRequest) Retrieves all Amazon OpenSearch Service-managed VPC endpoints associated with a particular domain.listVpcEndpointsForDomain(ListVpcEndpointsForDomainRequest listVpcEndpointsForDomainRequest) Retrieves all Amazon OpenSearch Service-managed VPC endpoints associated with a particular domain.purchaseReservedInstanceOffering(Consumer<PurchaseReservedInstanceOfferingRequest.Builder> purchaseReservedInstanceOfferingRequest) Allows you to purchase Amazon OpenSearch Service Reserved Instances.purchaseReservedInstanceOffering(PurchaseReservedInstanceOfferingRequest purchaseReservedInstanceOfferingRequest) Allows you to purchase Amazon OpenSearch Service Reserved Instances.rejectInboundConnection(Consumer<RejectInboundConnectionRequest.Builder> rejectInboundConnectionRequest) Allows the remote Amazon OpenSearch Service domain owner to reject an inbound cross-cluster connection request.rejectInboundConnection(RejectInboundConnectionRequest rejectInboundConnectionRequest) Allows the remote Amazon OpenSearch Service domain owner to reject an inbound cross-cluster connection request.default CompletableFuture<RemoveTagsResponse> removeTags(Consumer<RemoveTagsRequest.Builder> removeTagsRequest) Removes the specified set of tags from an Amazon OpenSearch Service domain.default CompletableFuture<RemoveTagsResponse> removeTags(RemoveTagsRequest removeTagsRequest) Removes the specified set of tags from an Amazon OpenSearch Service domain.revokeVpcEndpointAccess(Consumer<RevokeVpcEndpointAccessRequest.Builder> revokeVpcEndpointAccessRequest) Revokes access to an Amazon OpenSearch Service domain that was provided through an interface VPC endpoint.revokeVpcEndpointAccess(RevokeVpcEndpointAccessRequest revokeVpcEndpointAccessRequest) Revokes access to an Amazon OpenSearch Service domain that was provided through an interface VPC endpoint.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartDomainMaintenance(Consumer<StartDomainMaintenanceRequest.Builder> startDomainMaintenanceRequest) Starts the node maintenance process on the data node.startDomainMaintenance(StartDomainMaintenanceRequest startDomainMaintenanceRequest) Starts the node maintenance process on the data node.startServiceSoftwareUpdate(Consumer<StartServiceSoftwareUpdateRequest.Builder> startServiceSoftwareUpdateRequest) Schedules a service software update for an Amazon OpenSearch Service domain.startServiceSoftwareUpdate(StartServiceSoftwareUpdateRequest startServiceSoftwareUpdateRequest) Schedules a service software update for an Amazon OpenSearch Service domain.updateDomainConfig(Consumer<UpdateDomainConfigRequest.Builder> updateDomainConfigRequest) Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.updateDomainConfig(UpdateDomainConfigRequest updateDomainConfigRequest) Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.default CompletableFuture<UpdatePackageResponse> updatePackage(Consumer<UpdatePackageRequest.Builder> updatePackageRequest) Updates a package for use with Amazon OpenSearch Service domains.default CompletableFuture<UpdatePackageResponse> updatePackage(UpdatePackageRequest updatePackageRequest) Updates a package for use with Amazon OpenSearch Service domains.updateScheduledAction(Consumer<UpdateScheduledActionRequest.Builder> updateScheduledActionRequest) Reschedules a planned domain configuration change for a later time.updateScheduledAction(UpdateScheduledActionRequest updateScheduledActionRequest) Reschedules a planned domain configuration change for a later time.updateVpcEndpoint(Consumer<UpdateVpcEndpointRequest.Builder> updateVpcEndpointRequest) Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.updateVpcEndpoint(UpdateVpcEndpointRequest updateVpcEndpointRequest) Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.default CompletableFuture<UpgradeDomainResponse> upgradeDomain(Consumer<UpgradeDomainRequest.Builder> upgradeDomainRequest) Allows you to either upgrade your Amazon OpenSearch Service domain or perform an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch.default CompletableFuture<UpgradeDomainResponse> upgradeDomain(UpgradeDomainRequest upgradeDomainRequest) Allows you to either upgrade your Amazon OpenSearch Service domain or perform an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
acceptInboundConnection
default CompletableFuture<AcceptInboundConnectionResponse> acceptInboundConnection(AcceptInboundConnectionRequest acceptInboundConnectionRequest) Allows the destination Amazon OpenSearch Service domain owner to accept an inbound cross-cluster search connection request. For more information, see Cross-cluster search for Amazon OpenSearch Service.
- Parameters:
acceptInboundConnectionRequest- Container for the parameters to theAcceptInboundConnectionoperation.- Returns:
- A Java Future containing the result of the AcceptInboundConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
acceptInboundConnection
default CompletableFuture<AcceptInboundConnectionResponse> acceptInboundConnection(Consumer<AcceptInboundConnectionRequest.Builder> acceptInboundConnectionRequest) Allows the destination Amazon OpenSearch Service domain owner to accept an inbound cross-cluster search connection request. For more information, see Cross-cluster search for Amazon OpenSearch Service.
This is a convenience which creates an instance of the
AcceptInboundConnectionRequest.Builderavoiding the need to create one manually viaAcceptInboundConnectionRequest.builder()- Parameters:
acceptInboundConnectionRequest- AConsumerthat will call methods onAcceptInboundConnectionRequest.Builderto create a request. Container for the parameters to theAcceptInboundConnectionoperation.- Returns:
- A Java Future containing the result of the AcceptInboundConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
addTags
Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a set of case-sensitive key-value pairs. A domain can have up to 10 tags. For more information, see Tagging Amazon OpenSearch Service domains.
- Parameters:
addTagsRequest- Container for the parameters to theAddTagsoperation. Specifies the tags to attach to the domain.- Returns:
- A Java Future containing the result of the AddTags operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
addTags
Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a set of case-sensitive key-value pairs. A domain can have up to 10 tags. For more information, see Tagging Amazon OpenSearch Service domains.
This is a convenience which creates an instance of the
AddTagsRequest.Builderavoiding the need to create one manually viaAddTagsRequest.builder()- Parameters:
addTagsRequest- AConsumerthat will call methods onAddTagsRequest.Builderto create a request. Container for the parameters to theAddTagsoperation. Specifies the tags to attach to the domain.- Returns:
- A Java Future containing the result of the AddTags operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
associatePackage
default CompletableFuture<AssociatePackageResponse> associatePackage(AssociatePackageRequest associatePackageRequest) Associates a package with an Amazon OpenSearch Service domain. For more information, see Custom packages for Amazon OpenSearch Service.
- Parameters:
associatePackageRequest- Container for the request parameters to theAssociatePackageoperation.- Returns:
- A Java Future containing the result of the AssociatePackage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- ConflictException An error occurred because the client attempts to remove a resource that is currently in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
associatePackage
default CompletableFuture<AssociatePackageResponse> associatePackage(Consumer<AssociatePackageRequest.Builder> associatePackageRequest) Associates a package with an Amazon OpenSearch Service domain. For more information, see Custom packages for Amazon OpenSearch Service.
This is a convenience which creates an instance of the
AssociatePackageRequest.Builderavoiding the need to create one manually viaAssociatePackageRequest.builder()- Parameters:
associatePackageRequest- AConsumerthat will call methods onAssociatePackageRequest.Builderto create a request. Container for the request parameters to theAssociatePackageoperation.- Returns:
- A Java Future containing the result of the AssociatePackage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- ConflictException An error occurred because the client attempts to remove a resource that is currently in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
authorizeVpcEndpointAccess
default CompletableFuture<AuthorizeVpcEndpointAccessResponse> authorizeVpcEndpointAccess(AuthorizeVpcEndpointAccessRequest authorizeVpcEndpointAccessRequest) Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
- Parameters:
authorizeVpcEndpointAccessRequest-- Returns:
- A Java Future containing the result of the AuthorizeVpcEndpointAccess operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- BaseException An error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
authorizeVpcEndpointAccess
default CompletableFuture<AuthorizeVpcEndpointAccessResponse> authorizeVpcEndpointAccess(Consumer<AuthorizeVpcEndpointAccessRequest.Builder> authorizeVpcEndpointAccessRequest) Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
This is a convenience which creates an instance of the
AuthorizeVpcEndpointAccessRequest.Builderavoiding the need to create one manually viaAuthorizeVpcEndpointAccessRequest.builder()- Parameters:
authorizeVpcEndpointAccessRequest- AConsumerthat will call methods onAuthorizeVpcEndpointAccessRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AuthorizeVpcEndpointAccess operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- BaseException An error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
cancelServiceSoftwareUpdate
default CompletableFuture<CancelServiceSoftwareUpdateResponse> cancelServiceSoftwareUpdate(CancelServiceSoftwareUpdateRequest cancelServiceSoftwareUpdateRequest) Cancels a scheduled service software update for an Amazon OpenSearch Service domain. You can only perform this operation before the
AutomatedUpdateDateand when the domain'sUpdateStatusisPENDING_UPDATE. For more information, see Service software updates in Amazon OpenSearch Service.- Parameters:
cancelServiceSoftwareUpdateRequest- Container for the request parameters to cancel a service software update.- Returns:
- A Java Future containing the result of the CancelServiceSoftwareUpdate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
cancelServiceSoftwareUpdate
default CompletableFuture<CancelServiceSoftwareUpdateResponse> cancelServiceSoftwareUpdate(Consumer<CancelServiceSoftwareUpdateRequest.Builder> cancelServiceSoftwareUpdateRequest) Cancels a scheduled service software update for an Amazon OpenSearch Service domain. You can only perform this operation before the
AutomatedUpdateDateand when the domain'sUpdateStatusisPENDING_UPDATE. For more information, see Service software updates in Amazon OpenSearch Service.
This is a convenience which creates an instance of the
CancelServiceSoftwareUpdateRequest.Builderavoiding the need to create one manually viaCancelServiceSoftwareUpdateRequest.builder()- Parameters:
cancelServiceSoftwareUpdateRequest- AConsumerthat will call methods onCancelServiceSoftwareUpdateRequest.Builderto create a request. Container for the request parameters to cancel a service software update.- Returns:
- A Java Future containing the result of the CancelServiceSoftwareUpdate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
createDomain
default CompletableFuture<CreateDomainResponse> createDomain(CreateDomainRequest createDomainRequest) Creates an Amazon OpenSearch Service domain. For more information, see Creating and managing Amazon OpenSearch Service domains.
- Parameters:
createDomainRequest-- Returns:
- A Java Future containing the result of the CreateDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- InvalidTypeException An exception for trying to create or access a sub-resource that's either invalid or not supported.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- ResourceAlreadyExistsException An exception for creating a resource that already exists.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
createDomain
default CompletableFuture<CreateDomainResponse> createDomain(Consumer<CreateDomainRequest.Builder> createDomainRequest) Creates an Amazon OpenSearch Service domain. For more information, see Creating and managing Amazon OpenSearch Service domains.
This is a convenience which creates an instance of the
CreateDomainRequest.Builderavoiding the need to create one manually viaCreateDomainRequest.builder()- Parameters:
createDomainRequest- AConsumerthat will call methods onCreateDomainRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- InvalidTypeException An exception for trying to create or access a sub-resource that's either invalid or not supported.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- ResourceAlreadyExistsException An exception for creating a resource that already exists.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
createOutboundConnection
default CompletableFuture<CreateOutboundConnectionResponse> createOutboundConnection(CreateOutboundConnectionRequest createOutboundConnectionRequest) Creates a new cross-cluster search connection from a source Amazon OpenSearch Service domain to a destination domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.
- Parameters:
createOutboundConnectionRequest- Container for the parameters to theCreateOutboundConnectionoperation.- Returns:
- A Java Future containing the result of the CreateOutboundConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceAlreadyExistsException An exception for creating a resource that already exists.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
createOutboundConnection
default CompletableFuture<CreateOutboundConnectionResponse> createOutboundConnection(Consumer<CreateOutboundConnectionRequest.Builder> createOutboundConnectionRequest) Creates a new cross-cluster search connection from a source Amazon OpenSearch Service domain to a destination domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.
This is a convenience which creates an instance of the
CreateOutboundConnectionRequest.Builderavoiding the need to create one manually viaCreateOutboundConnectionRequest.builder()- Parameters:
createOutboundConnectionRequest- AConsumerthat will call methods onCreateOutboundConnectionRequest.Builderto create a request. Container for the parameters to theCreateOutboundConnectionoperation.- Returns:
- A Java Future containing the result of the CreateOutboundConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceAlreadyExistsException An exception for creating a resource that already exists.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
createPackage
default CompletableFuture<CreatePackageResponse> createPackage(CreatePackageRequest createPackageRequest) Creates a package for use with Amazon OpenSearch Service domains. For more information, see Custom packages for Amazon OpenSearch Service.
- Parameters:
createPackageRequest- Container for request parameters to theCreatePackageoperation.- Returns:
- A Java Future containing the result of the CreatePackage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- InvalidTypeException An exception for trying to create or access a sub-resource that's either invalid or not supported.
- ResourceAlreadyExistsException An exception for creating a resource that already exists.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
createPackage
default CompletableFuture<CreatePackageResponse> createPackage(Consumer<CreatePackageRequest.Builder> createPackageRequest) Creates a package for use with Amazon OpenSearch Service domains. For more information, see Custom packages for Amazon OpenSearch Service.
This is a convenience which creates an instance of the
CreatePackageRequest.Builderavoiding the need to create one manually viaCreatePackageRequest.builder()- Parameters:
createPackageRequest- AConsumerthat will call methods onCreatePackageRequest.Builderto create a request. Container for request parameters to theCreatePackageoperation.- Returns:
- A Java Future containing the result of the CreatePackage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- InvalidTypeException An exception for trying to create or access a sub-resource that's either invalid or not supported.
- ResourceAlreadyExistsException An exception for creating a resource that already exists.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
createVpcEndpoint
default CompletableFuture<CreateVpcEndpointResponse> createVpcEndpoint(CreateVpcEndpointRequest createVpcEndpointRequest) Creates an Amazon OpenSearch Service-managed VPC endpoint.
- Parameters:
createVpcEndpointRequest-- Returns:
- A Java Future containing the result of the CreateVpcEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException An error occurred because the client attempts to remove a resource that is currently in use.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- BaseException An error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
createVpcEndpoint
default CompletableFuture<CreateVpcEndpointResponse> createVpcEndpoint(Consumer<CreateVpcEndpointRequest.Builder> createVpcEndpointRequest) Creates an Amazon OpenSearch Service-managed VPC endpoint.
This is a convenience which creates an instance of the
CreateVpcEndpointRequest.Builderavoiding the need to create one manually viaCreateVpcEndpointRequest.builder()- Parameters:
createVpcEndpointRequest- AConsumerthat will call methods onCreateVpcEndpointRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateVpcEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException An error occurred because the client attempts to remove a resource that is currently in use.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- BaseException An error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
deleteDomain
default CompletableFuture<DeleteDomainResponse> deleteDomain(DeleteDomainRequest deleteDomainRequest) Deletes an Amazon OpenSearch Service domain and all of its data. You can't recover a domain after you delete it.
- Parameters:
deleteDomainRequest- Container for the parameters to theDeleteDomainoperation.- Returns:
- A Java Future containing the result of the DeleteDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
deleteDomain
default CompletableFuture<DeleteDomainResponse> deleteDomain(Consumer<DeleteDomainRequest.Builder> deleteDomainRequest) Deletes an Amazon OpenSearch Service domain and all of its data. You can't recover a domain after you delete it.
This is a convenience which creates an instance of the
DeleteDomainRequest.Builderavoiding the need to create one manually viaDeleteDomainRequest.builder()- Parameters:
deleteDomainRequest- AConsumerthat will call methods onDeleteDomainRequest.Builderto create a request. Container for the parameters to theDeleteDomainoperation.- Returns:
- A Java Future containing the result of the DeleteDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
deleteInboundConnection
default CompletableFuture<DeleteInboundConnectionResponse> deleteInboundConnection(DeleteInboundConnectionRequest deleteInboundConnectionRequest) Allows the destination Amazon OpenSearch Service domain owner to delete an existing inbound cross-cluster search connection. For more information, see Cross-cluster search for Amazon OpenSearch Service.
- Parameters:
deleteInboundConnectionRequest- Container for the parameters to theDeleteInboundConnectionoperation.- Returns:
- A Java Future containing the result of the DeleteInboundConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
deleteInboundConnection
default CompletableFuture<DeleteInboundConnectionResponse> deleteInboundConnection(Consumer<DeleteInboundConnectionRequest.Builder> deleteInboundConnectionRequest) Allows the destination Amazon OpenSearch Service domain owner to delete an existing inbound cross-cluster search connection. For more information, see Cross-cluster search for Amazon OpenSearch Service.
This is a convenience which creates an instance of the
DeleteInboundConnectionRequest.Builderavoiding the need to create one manually viaDeleteInboundConnectionRequest.builder()- Parameters:
deleteInboundConnectionRequest- AConsumerthat will call methods onDeleteInboundConnectionRequest.Builderto create a request. Container for the parameters to theDeleteInboundConnectionoperation.- Returns:
- A Java Future containing the result of the DeleteInboundConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
deleteOutboundConnection
default CompletableFuture<DeleteOutboundConnectionResponse> deleteOutboundConnection(DeleteOutboundConnectionRequest deleteOutboundConnectionRequest) Allows the source Amazon OpenSearch Service domain owner to delete an existing outbound cross-cluster search connection. For more information, see Cross-cluster search for Amazon OpenSearch Service.
- Parameters:
deleteOutboundConnectionRequest- Container for the parameters to theDeleteOutboundConnectionoperation.- Returns:
- A Java Future containing the result of the DeleteOutboundConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
deleteOutboundConnection
default CompletableFuture<DeleteOutboundConnectionResponse> deleteOutboundConnection(Consumer<DeleteOutboundConnectionRequest.Builder> deleteOutboundConnectionRequest) Allows the source Amazon OpenSearch Service domain owner to delete an existing outbound cross-cluster search connection. For more information, see Cross-cluster search for Amazon OpenSearch Service.
This is a convenience which creates an instance of the
DeleteOutboundConnectionRequest.Builderavoiding the need to create one manually viaDeleteOutboundConnectionRequest.builder()- Parameters:
deleteOutboundConnectionRequest- AConsumerthat will call methods onDeleteOutboundConnectionRequest.Builderto create a request. Container for the parameters to theDeleteOutboundConnectionoperation.- Returns:
- A Java Future containing the result of the DeleteOutboundConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
deletePackage
default CompletableFuture<DeletePackageResponse> deletePackage(DeletePackageRequest deletePackageRequest) Deletes an Amazon OpenSearch Service package. For more information, see Custom packages for Amazon OpenSearch Service.
- Parameters:
deletePackageRequest- Deletes a package from OpenSearch Service. The package can't be associated with any OpenSearch Service domain.- Returns:
- A Java Future containing the result of the DeletePackage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- ConflictException An error occurred because the client attempts to remove a resource that is currently in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
deletePackage
default CompletableFuture<DeletePackageResponse> deletePackage(Consumer<DeletePackageRequest.Builder> deletePackageRequest) Deletes an Amazon OpenSearch Service package. For more information, see Custom packages for Amazon OpenSearch Service.
This is a convenience which creates an instance of the
DeletePackageRequest.Builderavoiding the need to create one manually viaDeletePackageRequest.builder()- Parameters:
deletePackageRequest- AConsumerthat will call methods onDeletePackageRequest.Builderto create a request. Deletes a package from OpenSearch Service. The package can't be associated with any OpenSearch Service domain.- Returns:
- A Java Future containing the result of the DeletePackage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- ConflictException An error occurred because the client attempts to remove a resource that is currently in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
deleteVpcEndpoint
default CompletableFuture<DeleteVpcEndpointResponse> deleteVpcEndpoint(DeleteVpcEndpointRequest deleteVpcEndpointRequest) Deletes an Amazon OpenSearch Service-managed interface VPC endpoint.
- Parameters:
deleteVpcEndpointRequest-- Returns:
- A Java Future containing the result of the DeleteVpcEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- BaseException An error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
deleteVpcEndpoint
default CompletableFuture<DeleteVpcEndpointResponse> deleteVpcEndpoint(Consumer<DeleteVpcEndpointRequest.Builder> deleteVpcEndpointRequest) Deletes an Amazon OpenSearch Service-managed interface VPC endpoint.
This is a convenience which creates an instance of the
DeleteVpcEndpointRequest.Builderavoiding the need to create one manually viaDeleteVpcEndpointRequest.builder()- Parameters:
deleteVpcEndpointRequest- AConsumerthat will call methods onDeleteVpcEndpointRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteVpcEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- BaseException An error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeDomain
default CompletableFuture<DescribeDomainResponse> describeDomain(DescribeDomainRequest describeDomainRequest) Describes the domain configuration for the specified Amazon OpenSearch Service domain, including the domain ID, domain service endpoint, and domain ARN.
- Parameters:
describeDomainRequest- Container for the parameters to theDescribeDomainoperation.- Returns:
- A Java Future containing the result of the DescribeDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeDomain
default CompletableFuture<DescribeDomainResponse> describeDomain(Consumer<DescribeDomainRequest.Builder> describeDomainRequest) Describes the domain configuration for the specified Amazon OpenSearch Service domain, including the domain ID, domain service endpoint, and domain ARN.
This is a convenience which creates an instance of the
DescribeDomainRequest.Builderavoiding the need to create one manually viaDescribeDomainRequest.builder()- Parameters:
describeDomainRequest- AConsumerthat will call methods onDescribeDomainRequest.Builderto create a request. Container for the parameters to theDescribeDomainoperation.- Returns:
- A Java Future containing the result of the DescribeDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeDomainAutoTunes
default CompletableFuture<DescribeDomainAutoTunesResponse> describeDomainAutoTunes(DescribeDomainAutoTunesRequest describeDomainAutoTunesRequest) Returns the list of optimizations that Auto-Tune has made to an Amazon OpenSearch Service domain. For more information, see Auto-Tune for Amazon OpenSearch Service.
- Parameters:
describeDomainAutoTunesRequest- Container for the parameters to theDescribeDomainAutoTunesoperation.- Returns:
- A Java Future containing the result of the DescribeDomainAutoTunes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeDomainAutoTunes
default CompletableFuture<DescribeDomainAutoTunesResponse> describeDomainAutoTunes(Consumer<DescribeDomainAutoTunesRequest.Builder> describeDomainAutoTunesRequest) Returns the list of optimizations that Auto-Tune has made to an Amazon OpenSearch Service domain. For more information, see Auto-Tune for Amazon OpenSearch Service.
This is a convenience which creates an instance of the
DescribeDomainAutoTunesRequest.Builderavoiding the need to create one manually viaDescribeDomainAutoTunesRequest.builder()- Parameters:
describeDomainAutoTunesRequest- AConsumerthat will call methods onDescribeDomainAutoTunesRequest.Builderto create a request. Container for the parameters to theDescribeDomainAutoTunesoperation.- Returns:
- A Java Future containing the result of the DescribeDomainAutoTunes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeDomainAutoTunesPaginator
default DescribeDomainAutoTunesPublisher describeDomainAutoTunesPaginator(DescribeDomainAutoTunesRequest describeDomainAutoTunesRequest) Returns the list of optimizations that Auto-Tune has made to an Amazon OpenSearch Service domain. For more information, see Auto-Tune for Amazon OpenSearch Service.
This is a variant of
describeDomainAutoTunes(software.amazon.awssdk.services.opensearch.model.DescribeDomainAutoTunesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.DescribeDomainAutoTunesPublisher publisher = client.describeDomainAutoTunesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.DescribeDomainAutoTunesPublisher publisher = client.describeDomainAutoTunesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.DescribeDomainAutoTunesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.DescribeDomainAutoTunesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeDomainAutoTunes(software.amazon.awssdk.services.opensearch.model.DescribeDomainAutoTunesRequest)operation.- Parameters:
describeDomainAutoTunesRequest- Container for the parameters to theDescribeDomainAutoTunesoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeDomainAutoTunesPaginator
default DescribeDomainAutoTunesPublisher describeDomainAutoTunesPaginator(Consumer<DescribeDomainAutoTunesRequest.Builder> describeDomainAutoTunesRequest) Returns the list of optimizations that Auto-Tune has made to an Amazon OpenSearch Service domain. For more information, see Auto-Tune for Amazon OpenSearch Service.
This is a variant of
describeDomainAutoTunes(software.amazon.awssdk.services.opensearch.model.DescribeDomainAutoTunesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.DescribeDomainAutoTunesPublisher publisher = client.describeDomainAutoTunesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.DescribeDomainAutoTunesPublisher publisher = client.describeDomainAutoTunesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.DescribeDomainAutoTunesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.DescribeDomainAutoTunesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeDomainAutoTunes(software.amazon.awssdk.services.opensearch.model.DescribeDomainAutoTunesRequest)operation.This is a convenience which creates an instance of the
DescribeDomainAutoTunesRequest.Builderavoiding the need to create one manually viaDescribeDomainAutoTunesRequest.builder()- Parameters:
describeDomainAutoTunesRequest- AConsumerthat will call methods onDescribeDomainAutoTunesRequest.Builderto create a request. Container for the parameters to theDescribeDomainAutoTunesoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeDomainChangeProgress
default CompletableFuture<DescribeDomainChangeProgressResponse> describeDomainChangeProgress(DescribeDomainChangeProgressRequest describeDomainChangeProgressRequest) Returns information about the current blue/green deployment happening on an Amazon OpenSearch Service domain. For more information, see Making configuration changes in Amazon OpenSearch Service.
- Parameters:
describeDomainChangeProgressRequest- Container for the parameters to theDescribeDomainChangeProgressoperation.- Returns:
- A Java Future containing the result of the DescribeDomainChangeProgress operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeDomainChangeProgress
default CompletableFuture<DescribeDomainChangeProgressResponse> describeDomainChangeProgress(Consumer<DescribeDomainChangeProgressRequest.Builder> describeDomainChangeProgressRequest) Returns information about the current blue/green deployment happening on an Amazon OpenSearch Service domain. For more information, see Making configuration changes in Amazon OpenSearch Service.
This is a convenience which creates an instance of the
DescribeDomainChangeProgressRequest.Builderavoiding the need to create one manually viaDescribeDomainChangeProgressRequest.builder()- Parameters:
describeDomainChangeProgressRequest- AConsumerthat will call methods onDescribeDomainChangeProgressRequest.Builderto create a request. Container for the parameters to theDescribeDomainChangeProgressoperation.- Returns:
- A Java Future containing the result of the DescribeDomainChangeProgress operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeDomainConfig
default CompletableFuture<DescribeDomainConfigResponse> describeDomainConfig(DescribeDomainConfigRequest describeDomainConfigRequest) Returns the configuration of an Amazon OpenSearch Service domain.
- Parameters:
describeDomainConfigRequest- Container for the parameters to theDescribeDomainConfigoperation.- Returns:
- A Java Future containing the result of the DescribeDomainConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeDomainConfig
default CompletableFuture<DescribeDomainConfigResponse> describeDomainConfig(Consumer<DescribeDomainConfigRequest.Builder> describeDomainConfigRequest) Returns the configuration of an Amazon OpenSearch Service domain.
This is a convenience which creates an instance of the
DescribeDomainConfigRequest.Builderavoiding the need to create one manually viaDescribeDomainConfigRequest.builder()- Parameters:
describeDomainConfigRequest- AConsumerthat will call methods onDescribeDomainConfigRequest.Builderto create a request. Container for the parameters to theDescribeDomainConfigoperation.- Returns:
- A Java Future containing the result of the DescribeDomainConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeDomainHealth
default CompletableFuture<DescribeDomainHealthResponse> describeDomainHealth(DescribeDomainHealthRequest describeDomainHealthRequest) Returns information about domain and node health, the standby Availability Zone, number of nodes per Availability Zone, and shard count per node.
- Parameters:
describeDomainHealthRequest- Container for the parameters to theDescribeDomainHealthoperation.- Returns:
- A Java Future containing the result of the DescribeDomainHealth operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeDomainHealth
default CompletableFuture<DescribeDomainHealthResponse> describeDomainHealth(Consumer<DescribeDomainHealthRequest.Builder> describeDomainHealthRequest) Returns information about domain and node health, the standby Availability Zone, number of nodes per Availability Zone, and shard count per node.
This is a convenience which creates an instance of the
DescribeDomainHealthRequest.Builderavoiding the need to create one manually viaDescribeDomainHealthRequest.builder()- Parameters:
describeDomainHealthRequest- AConsumerthat will call methods onDescribeDomainHealthRequest.Builderto create a request. Container for the parameters to theDescribeDomainHealthoperation.- Returns:
- A Java Future containing the result of the DescribeDomainHealth operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeDomainNodes
default CompletableFuture<DescribeDomainNodesResponse> describeDomainNodes(DescribeDomainNodesRequest describeDomainNodesRequest) Returns information about domain and nodes, including data nodes, master nodes, ultrawarm nodes, Availability Zone(s), standby nodes, node configurations, and node states.
- Parameters:
describeDomainNodesRequest- Container for the parameters to theDescribeDomainNodesoperation.- Returns:
- A Java Future containing the result of the DescribeDomainNodes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- DependencyFailureException An exception for when a failure in one of the dependencies results in the service being unable to fetch details about the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeDomainNodes
default CompletableFuture<DescribeDomainNodesResponse> describeDomainNodes(Consumer<DescribeDomainNodesRequest.Builder> describeDomainNodesRequest) Returns information about domain and nodes, including data nodes, master nodes, ultrawarm nodes, Availability Zone(s), standby nodes, node configurations, and node states.
This is a convenience which creates an instance of the
DescribeDomainNodesRequest.Builderavoiding the need to create one manually viaDescribeDomainNodesRequest.builder()- Parameters:
describeDomainNodesRequest- AConsumerthat will call methods onDescribeDomainNodesRequest.Builderto create a request. Container for the parameters to theDescribeDomainNodesoperation.- Returns:
- A Java Future containing the result of the DescribeDomainNodes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- DependencyFailureException An exception for when a failure in one of the dependencies results in the service being unable to fetch details about the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeDomains
default CompletableFuture<DescribeDomainsResponse> describeDomains(DescribeDomainsRequest describeDomainsRequest) Returns domain configuration information about the specified Amazon OpenSearch Service domains.
- Parameters:
describeDomainsRequest- Container for the parameters to theDescribeDomainsoperation.- Returns:
- A Java Future containing the result of the DescribeDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeDomains
default CompletableFuture<DescribeDomainsResponse> describeDomains(Consumer<DescribeDomainsRequest.Builder> describeDomainsRequest) Returns domain configuration information about the specified Amazon OpenSearch Service domains.
This is a convenience which creates an instance of the
DescribeDomainsRequest.Builderavoiding the need to create one manually viaDescribeDomainsRequest.builder()- Parameters:
describeDomainsRequest- AConsumerthat will call methods onDescribeDomainsRequest.Builderto create a request. Container for the parameters to theDescribeDomainsoperation.- Returns:
- A Java Future containing the result of the DescribeDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeDryRunProgress
default CompletableFuture<DescribeDryRunProgressResponse> describeDryRunProgress(DescribeDryRunProgressRequest describeDryRunProgressRequest) Describes the progress of a pre-update dry run analysis on an Amazon OpenSearch Service domain. For more information, see Determining whether a change will cause a blue/green deployment.
- Parameters:
describeDryRunProgressRequest-- Returns:
- A Java Future containing the result of the DescribeDryRunProgress operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeDryRunProgress
default CompletableFuture<DescribeDryRunProgressResponse> describeDryRunProgress(Consumer<DescribeDryRunProgressRequest.Builder> describeDryRunProgressRequest) Describes the progress of a pre-update dry run analysis on an Amazon OpenSearch Service domain. For more information, see Determining whether a change will cause a blue/green deployment.
This is a convenience which creates an instance of the
DescribeDryRunProgressRequest.Builderavoiding the need to create one manually viaDescribeDryRunProgressRequest.builder()- Parameters:
describeDryRunProgressRequest- AConsumerthat will call methods onDescribeDryRunProgressRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeDryRunProgress operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeInboundConnections
default CompletableFuture<DescribeInboundConnectionsResponse> describeInboundConnections(DescribeInboundConnectionsRequest describeInboundConnectionsRequest) Lists all the inbound cross-cluster search connections for a destination (remote) Amazon OpenSearch Service domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.
- Parameters:
describeInboundConnectionsRequest- Container for the parameters to theDescribeInboundConnectionsoperation.- Returns:
- A Java Future containing the result of the DescribeInboundConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidPaginationTokenException Request processing failed because you provided an invalid pagination token.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeInboundConnections
default CompletableFuture<DescribeInboundConnectionsResponse> describeInboundConnections(Consumer<DescribeInboundConnectionsRequest.Builder> describeInboundConnectionsRequest) Lists all the inbound cross-cluster search connections for a destination (remote) Amazon OpenSearch Service domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.
This is a convenience which creates an instance of the
DescribeInboundConnectionsRequest.Builderavoiding the need to create one manually viaDescribeInboundConnectionsRequest.builder()- Parameters:
describeInboundConnectionsRequest- AConsumerthat will call methods onDescribeInboundConnectionsRequest.Builderto create a request. Container for the parameters to theDescribeInboundConnectionsoperation.- Returns:
- A Java Future containing the result of the DescribeInboundConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidPaginationTokenException Request processing failed because you provided an invalid pagination token.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeInboundConnectionsPaginator
default DescribeInboundConnectionsPublisher describeInboundConnectionsPaginator(DescribeInboundConnectionsRequest describeInboundConnectionsRequest) Lists all the inbound cross-cluster search connections for a destination (remote) Amazon OpenSearch Service domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.
This is a variant of
describeInboundConnections(software.amazon.awssdk.services.opensearch.model.DescribeInboundConnectionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.DescribeInboundConnectionsPublisher publisher = client.describeInboundConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.DescribeInboundConnectionsPublisher publisher = client.describeInboundConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.DescribeInboundConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.DescribeInboundConnectionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeInboundConnections(software.amazon.awssdk.services.opensearch.model.DescribeInboundConnectionsRequest)operation.- Parameters:
describeInboundConnectionsRequest- Container for the parameters to theDescribeInboundConnectionsoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidPaginationTokenException Request processing failed because you provided an invalid pagination token.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeInboundConnectionsPaginator
default DescribeInboundConnectionsPublisher describeInboundConnectionsPaginator(Consumer<DescribeInboundConnectionsRequest.Builder> describeInboundConnectionsRequest) Lists all the inbound cross-cluster search connections for a destination (remote) Amazon OpenSearch Service domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.
This is a variant of
describeInboundConnections(software.amazon.awssdk.services.opensearch.model.DescribeInboundConnectionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.DescribeInboundConnectionsPublisher publisher = client.describeInboundConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.DescribeInboundConnectionsPublisher publisher = client.describeInboundConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.DescribeInboundConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.DescribeInboundConnectionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeInboundConnections(software.amazon.awssdk.services.opensearch.model.DescribeInboundConnectionsRequest)operation.This is a convenience which creates an instance of the
DescribeInboundConnectionsRequest.Builderavoiding the need to create one manually viaDescribeInboundConnectionsRequest.builder()- Parameters:
describeInboundConnectionsRequest- AConsumerthat will call methods onDescribeInboundConnectionsRequest.Builderto create a request. Container for the parameters to theDescribeInboundConnectionsoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidPaginationTokenException Request processing failed because you provided an invalid pagination token.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeInstanceTypeLimits
default CompletableFuture<DescribeInstanceTypeLimitsResponse> describeInstanceTypeLimits(DescribeInstanceTypeLimitsRequest describeInstanceTypeLimitsRequest) Describes the instance count, storage, and master node limits for a given OpenSearch or Elasticsearch version and instance type.
- Parameters:
describeInstanceTypeLimitsRequest- Container for the parameters to theDescribeInstanceTypeLimitsoperation.- Returns:
- A Java Future containing the result of the DescribeInstanceTypeLimits operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- InvalidTypeException An exception for trying to create or access a sub-resource that's either invalid or not supported.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeInstanceTypeLimits
default CompletableFuture<DescribeInstanceTypeLimitsResponse> describeInstanceTypeLimits(Consumer<DescribeInstanceTypeLimitsRequest.Builder> describeInstanceTypeLimitsRequest) Describes the instance count, storage, and master node limits for a given OpenSearch or Elasticsearch version and instance type.
This is a convenience which creates an instance of the
DescribeInstanceTypeLimitsRequest.Builderavoiding the need to create one manually viaDescribeInstanceTypeLimitsRequest.builder()- Parameters:
describeInstanceTypeLimitsRequest- AConsumerthat will call methods onDescribeInstanceTypeLimitsRequest.Builderto create a request. Container for the parameters to theDescribeInstanceTypeLimitsoperation.- Returns:
- A Java Future containing the result of the DescribeInstanceTypeLimits operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- InvalidTypeException An exception for trying to create or access a sub-resource that's either invalid or not supported.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeOutboundConnections
default CompletableFuture<DescribeOutboundConnectionsResponse> describeOutboundConnections(DescribeOutboundConnectionsRequest describeOutboundConnectionsRequest) Lists all the outbound cross-cluster connections for a local (source) Amazon OpenSearch Service domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.
- Parameters:
describeOutboundConnectionsRequest- Container for the parameters to theDescribeOutboundConnectionsoperation.- Returns:
- A Java Future containing the result of the DescribeOutboundConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidPaginationTokenException Request processing failed because you provided an invalid pagination token.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeOutboundConnections
default CompletableFuture<DescribeOutboundConnectionsResponse> describeOutboundConnections(Consumer<DescribeOutboundConnectionsRequest.Builder> describeOutboundConnectionsRequest) Lists all the outbound cross-cluster connections for a local (source) Amazon OpenSearch Service domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.
This is a convenience which creates an instance of the
DescribeOutboundConnectionsRequest.Builderavoiding the need to create one manually viaDescribeOutboundConnectionsRequest.builder()- Parameters:
describeOutboundConnectionsRequest- AConsumerthat will call methods onDescribeOutboundConnectionsRequest.Builderto create a request. Container for the parameters to theDescribeOutboundConnectionsoperation.- Returns:
- A Java Future containing the result of the DescribeOutboundConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidPaginationTokenException Request processing failed because you provided an invalid pagination token.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeOutboundConnectionsPaginator
default DescribeOutboundConnectionsPublisher describeOutboundConnectionsPaginator(DescribeOutboundConnectionsRequest describeOutboundConnectionsRequest) Lists all the outbound cross-cluster connections for a local (source) Amazon OpenSearch Service domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.
This is a variant of
describeOutboundConnections(software.amazon.awssdk.services.opensearch.model.DescribeOutboundConnectionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.DescribeOutboundConnectionsPublisher publisher = client.describeOutboundConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.DescribeOutboundConnectionsPublisher publisher = client.describeOutboundConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.DescribeOutboundConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.DescribeOutboundConnectionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeOutboundConnections(software.amazon.awssdk.services.opensearch.model.DescribeOutboundConnectionsRequest)operation.- Parameters:
describeOutboundConnectionsRequest- Container for the parameters to theDescribeOutboundConnectionsoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidPaginationTokenException Request processing failed because you provided an invalid pagination token.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeOutboundConnectionsPaginator
default DescribeOutboundConnectionsPublisher describeOutboundConnectionsPaginator(Consumer<DescribeOutboundConnectionsRequest.Builder> describeOutboundConnectionsRequest) Lists all the outbound cross-cluster connections for a local (source) Amazon OpenSearch Service domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.
This is a variant of
describeOutboundConnections(software.amazon.awssdk.services.opensearch.model.DescribeOutboundConnectionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.DescribeOutboundConnectionsPublisher publisher = client.describeOutboundConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.DescribeOutboundConnectionsPublisher publisher = client.describeOutboundConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.DescribeOutboundConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.DescribeOutboundConnectionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeOutboundConnections(software.amazon.awssdk.services.opensearch.model.DescribeOutboundConnectionsRequest)operation.This is a convenience which creates an instance of the
DescribeOutboundConnectionsRequest.Builderavoiding the need to create one manually viaDescribeOutboundConnectionsRequest.builder()- Parameters:
describeOutboundConnectionsRequest- AConsumerthat will call methods onDescribeOutboundConnectionsRequest.Builderto create a request. Container for the parameters to theDescribeOutboundConnectionsoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidPaginationTokenException Request processing failed because you provided an invalid pagination token.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describePackages
default CompletableFuture<DescribePackagesResponse> describePackages(DescribePackagesRequest describePackagesRequest) Describes all packages available to OpenSearch Service. For more information, see Custom packages for Amazon OpenSearch Service.
- Parameters:
describePackagesRequest- Container for the request parameters to theDescribePackageoperation.- Returns:
- A Java Future containing the result of the DescribePackages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describePackages
default CompletableFuture<DescribePackagesResponse> describePackages(Consumer<DescribePackagesRequest.Builder> describePackagesRequest) Describes all packages available to OpenSearch Service. For more information, see Custom packages for Amazon OpenSearch Service.
This is a convenience which creates an instance of the
DescribePackagesRequest.Builderavoiding the need to create one manually viaDescribePackagesRequest.builder()- Parameters:
describePackagesRequest- AConsumerthat will call methods onDescribePackagesRequest.Builderto create a request. Container for the request parameters to theDescribePackageoperation.- Returns:
- A Java Future containing the result of the DescribePackages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describePackagesPaginator
default DescribePackagesPublisher describePackagesPaginator(DescribePackagesRequest describePackagesRequest) Describes all packages available to OpenSearch Service. For more information, see Custom packages for Amazon OpenSearch Service.
This is a variant of
describePackages(software.amazon.awssdk.services.opensearch.model.DescribePackagesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.DescribePackagesPublisher publisher = client.describePackagesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.DescribePackagesPublisher publisher = client.describePackagesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.DescribePackagesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.DescribePackagesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describePackages(software.amazon.awssdk.services.opensearch.model.DescribePackagesRequest)operation.- Parameters:
describePackagesRequest- Container for the request parameters to theDescribePackageoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describePackagesPaginator
default DescribePackagesPublisher describePackagesPaginator(Consumer<DescribePackagesRequest.Builder> describePackagesRequest) Describes all packages available to OpenSearch Service. For more information, see Custom packages for Amazon OpenSearch Service.
This is a variant of
describePackages(software.amazon.awssdk.services.opensearch.model.DescribePackagesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.DescribePackagesPublisher publisher = client.describePackagesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.DescribePackagesPublisher publisher = client.describePackagesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.DescribePackagesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.DescribePackagesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describePackages(software.amazon.awssdk.services.opensearch.model.DescribePackagesRequest)operation.This is a convenience which creates an instance of the
DescribePackagesRequest.Builderavoiding the need to create one manually viaDescribePackagesRequest.builder()- Parameters:
describePackagesRequest- AConsumerthat will call methods onDescribePackagesRequest.Builderto create a request. Container for the request parameters to theDescribePackageoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeReservedInstanceOfferings
default CompletableFuture<DescribeReservedInstanceOfferingsResponse> describeReservedInstanceOfferings(DescribeReservedInstanceOfferingsRequest describeReservedInstanceOfferingsRequest) Describes the available Amazon OpenSearch Service Reserved Instance offerings for a given Region. For more information, see Reserved Instances in Amazon OpenSearch Service.
- Parameters:
describeReservedInstanceOfferingsRequest- Container for the request parameters to aDescribeReservedInstanceOfferingsoperation.- Returns:
- A Java Future containing the result of the DescribeReservedInstanceOfferings operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeReservedInstanceOfferings
default CompletableFuture<DescribeReservedInstanceOfferingsResponse> describeReservedInstanceOfferings(Consumer<DescribeReservedInstanceOfferingsRequest.Builder> describeReservedInstanceOfferingsRequest) Describes the available Amazon OpenSearch Service Reserved Instance offerings for a given Region. For more information, see Reserved Instances in Amazon OpenSearch Service.
This is a convenience which creates an instance of the
DescribeReservedInstanceOfferingsRequest.Builderavoiding the need to create one manually viaDescribeReservedInstanceOfferingsRequest.builder()- Parameters:
describeReservedInstanceOfferingsRequest- AConsumerthat will call methods onDescribeReservedInstanceOfferingsRequest.Builderto create a request. Container for the request parameters to aDescribeReservedInstanceOfferingsoperation.- Returns:
- A Java Future containing the result of the DescribeReservedInstanceOfferings operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeReservedInstanceOfferingsPaginator
default DescribeReservedInstanceOfferingsPublisher describeReservedInstanceOfferingsPaginator(DescribeReservedInstanceOfferingsRequest describeReservedInstanceOfferingsRequest) Describes the available Amazon OpenSearch Service Reserved Instance offerings for a given Region. For more information, see Reserved Instances in Amazon OpenSearch Service.
This is a variant of
describeReservedInstanceOfferings(software.amazon.awssdk.services.opensearch.model.DescribeReservedInstanceOfferingsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.DescribeReservedInstanceOfferingsPublisher publisher = client.describeReservedInstanceOfferingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.DescribeReservedInstanceOfferingsPublisher publisher = client.describeReservedInstanceOfferingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.DescribeReservedInstanceOfferingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.DescribeReservedInstanceOfferingsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReservedInstanceOfferings(software.amazon.awssdk.services.opensearch.model.DescribeReservedInstanceOfferingsRequest)operation.- Parameters:
describeReservedInstanceOfferingsRequest- Container for the request parameters to aDescribeReservedInstanceOfferingsoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeReservedInstanceOfferingsPaginator
default DescribeReservedInstanceOfferingsPublisher describeReservedInstanceOfferingsPaginator(Consumer<DescribeReservedInstanceOfferingsRequest.Builder> describeReservedInstanceOfferingsRequest) Describes the available Amazon OpenSearch Service Reserved Instance offerings for a given Region. For more information, see Reserved Instances in Amazon OpenSearch Service.
This is a variant of
describeReservedInstanceOfferings(software.amazon.awssdk.services.opensearch.model.DescribeReservedInstanceOfferingsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.DescribeReservedInstanceOfferingsPublisher publisher = client.describeReservedInstanceOfferingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.DescribeReservedInstanceOfferingsPublisher publisher = client.describeReservedInstanceOfferingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.DescribeReservedInstanceOfferingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.DescribeReservedInstanceOfferingsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReservedInstanceOfferings(software.amazon.awssdk.services.opensearch.model.DescribeReservedInstanceOfferingsRequest)operation.This is a convenience which creates an instance of the
DescribeReservedInstanceOfferingsRequest.Builderavoiding the need to create one manually viaDescribeReservedInstanceOfferingsRequest.builder()- Parameters:
describeReservedInstanceOfferingsRequest- AConsumerthat will call methods onDescribeReservedInstanceOfferingsRequest.Builderto create a request. Container for the request parameters to aDescribeReservedInstanceOfferingsoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeReservedInstances
default CompletableFuture<DescribeReservedInstancesResponse> describeReservedInstances(DescribeReservedInstancesRequest describeReservedInstancesRequest) Describes the Amazon OpenSearch Service instances that you have reserved in a given Region. For more information, see Reserved Instances in Amazon OpenSearch Service.
- Parameters:
describeReservedInstancesRequest- Container for the request parameters to theDescribeReservedInstancesoperation.- Returns:
- A Java Future containing the result of the DescribeReservedInstances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeReservedInstances
default CompletableFuture<DescribeReservedInstancesResponse> describeReservedInstances(Consumer<DescribeReservedInstancesRequest.Builder> describeReservedInstancesRequest) Describes the Amazon OpenSearch Service instances that you have reserved in a given Region. For more information, see Reserved Instances in Amazon OpenSearch Service.
This is a convenience which creates an instance of the
DescribeReservedInstancesRequest.Builderavoiding the need to create one manually viaDescribeReservedInstancesRequest.builder()- Parameters:
describeReservedInstancesRequest- AConsumerthat will call methods onDescribeReservedInstancesRequest.Builderto create a request. Container for the request parameters to theDescribeReservedInstancesoperation.- Returns:
- A Java Future containing the result of the DescribeReservedInstances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeReservedInstancesPaginator
default DescribeReservedInstancesPublisher describeReservedInstancesPaginator(DescribeReservedInstancesRequest describeReservedInstancesRequest) Describes the Amazon OpenSearch Service instances that you have reserved in a given Region. For more information, see Reserved Instances in Amazon OpenSearch Service.
This is a variant of
describeReservedInstances(software.amazon.awssdk.services.opensearch.model.DescribeReservedInstancesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.DescribeReservedInstancesPublisher publisher = client.describeReservedInstancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.DescribeReservedInstancesPublisher publisher = client.describeReservedInstancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.DescribeReservedInstancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.DescribeReservedInstancesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReservedInstances(software.amazon.awssdk.services.opensearch.model.DescribeReservedInstancesRequest)operation.- Parameters:
describeReservedInstancesRequest- Container for the request parameters to theDescribeReservedInstancesoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeReservedInstancesPaginator
default DescribeReservedInstancesPublisher describeReservedInstancesPaginator(Consumer<DescribeReservedInstancesRequest.Builder> describeReservedInstancesRequest) Describes the Amazon OpenSearch Service instances that you have reserved in a given Region. For more information, see Reserved Instances in Amazon OpenSearch Service.
This is a variant of
describeReservedInstances(software.amazon.awssdk.services.opensearch.model.DescribeReservedInstancesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.DescribeReservedInstancesPublisher publisher = client.describeReservedInstancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.DescribeReservedInstancesPublisher publisher = client.describeReservedInstancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.DescribeReservedInstancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.DescribeReservedInstancesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReservedInstances(software.amazon.awssdk.services.opensearch.model.DescribeReservedInstancesRequest)operation.This is a convenience which creates an instance of the
DescribeReservedInstancesRequest.Builderavoiding the need to create one manually viaDescribeReservedInstancesRequest.builder()- Parameters:
describeReservedInstancesRequest- AConsumerthat will call methods onDescribeReservedInstancesRequest.Builderto create a request. Container for the request parameters to theDescribeReservedInstancesoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeVpcEndpoints
default CompletableFuture<DescribeVpcEndpointsResponse> describeVpcEndpoints(DescribeVpcEndpointsRequest describeVpcEndpointsRequest) Describes one or more Amazon OpenSearch Service-managed VPC endpoints.
- Parameters:
describeVpcEndpointsRequest-- Returns:
- A Java Future containing the result of the DescribeVpcEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- BaseException An error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
describeVpcEndpoints
default CompletableFuture<DescribeVpcEndpointsResponse> describeVpcEndpoints(Consumer<DescribeVpcEndpointsRequest.Builder> describeVpcEndpointsRequest) Describes one or more Amazon OpenSearch Service-managed VPC endpoints.
This is a convenience which creates an instance of the
DescribeVpcEndpointsRequest.Builderavoiding the need to create one manually viaDescribeVpcEndpointsRequest.builder()- Parameters:
describeVpcEndpointsRequest- AConsumerthat will call methods onDescribeVpcEndpointsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeVpcEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- BaseException An error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
dissociatePackage
default CompletableFuture<DissociatePackageResponse> dissociatePackage(DissociatePackageRequest dissociatePackageRequest) Removes a package from the specified Amazon OpenSearch Service domain. The package can't be in use with any OpenSearch index for the dissociation to succeed. The package is still available in OpenSearch Service for association later. For more information, see Custom packages for Amazon OpenSearch Service.
- Parameters:
dissociatePackageRequest- Container for the request parameters to theDissociatePackageoperation.- Returns:
- A Java Future containing the result of the DissociatePackage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- ConflictException An error occurred because the client attempts to remove a resource that is currently in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
dissociatePackage
default CompletableFuture<DissociatePackageResponse> dissociatePackage(Consumer<DissociatePackageRequest.Builder> dissociatePackageRequest) Removes a package from the specified Amazon OpenSearch Service domain. The package can't be in use with any OpenSearch index for the dissociation to succeed. The package is still available in OpenSearch Service for association later. For more information, see Custom packages for Amazon OpenSearch Service.
This is a convenience which creates an instance of the
DissociatePackageRequest.Builderavoiding the need to create one manually viaDissociatePackageRequest.builder()- Parameters:
dissociatePackageRequest- AConsumerthat will call methods onDissociatePackageRequest.Builderto create a request. Container for the request parameters to theDissociatePackageoperation.- Returns:
- A Java Future containing the result of the DissociatePackage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- ConflictException An error occurred because the client attempts to remove a resource that is currently in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
getCompatibleVersions
default CompletableFuture<GetCompatibleVersionsResponse> getCompatibleVersions(GetCompatibleVersionsRequest getCompatibleVersionsRequest) Returns a map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
- Parameters:
getCompatibleVersionsRequest- Container for the request parameters toGetCompatibleVersionsoperation.- Returns:
- A Java Future containing the result of the GetCompatibleVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
getCompatibleVersions
default CompletableFuture<GetCompatibleVersionsResponse> getCompatibleVersions(Consumer<GetCompatibleVersionsRequest.Builder> getCompatibleVersionsRequest) Returns a map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
This is a convenience which creates an instance of the
GetCompatibleVersionsRequest.Builderavoiding the need to create one manually viaGetCompatibleVersionsRequest.builder()- Parameters:
getCompatibleVersionsRequest- AConsumerthat will call methods onGetCompatibleVersionsRequest.Builderto create a request. Container for the request parameters toGetCompatibleVersionsoperation.- Returns:
- A Java Future containing the result of the GetCompatibleVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
getDomainMaintenanceStatus
default CompletableFuture<GetDomainMaintenanceStatusResponse> getDomainMaintenanceStatus(GetDomainMaintenanceStatusRequest getDomainMaintenanceStatusRequest) The status of the maintenance action.
- Parameters:
getDomainMaintenanceStatusRequest- Container for the parameters to theGetDomainMaintenanceStatusoperation.- Returns:
- A Java Future containing the result of the GetDomainMaintenanceStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
getDomainMaintenanceStatus
default CompletableFuture<GetDomainMaintenanceStatusResponse> getDomainMaintenanceStatus(Consumer<GetDomainMaintenanceStatusRequest.Builder> getDomainMaintenanceStatusRequest) The status of the maintenance action.
This is a convenience which creates an instance of the
GetDomainMaintenanceStatusRequest.Builderavoiding the need to create one manually viaGetDomainMaintenanceStatusRequest.builder()- Parameters:
getDomainMaintenanceStatusRequest- AConsumerthat will call methods onGetDomainMaintenanceStatusRequest.Builderto create a request. Container for the parameters to theGetDomainMaintenanceStatusoperation.- Returns:
- A Java Future containing the result of the GetDomainMaintenanceStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
getPackageVersionHistory
default CompletableFuture<GetPackageVersionHistoryResponse> getPackageVersionHistory(GetPackageVersionHistoryRequest getPackageVersionHistoryRequest) Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the package is a zip plugin package). For more information, see Custom packages for Amazon OpenSearch Service.
- Parameters:
getPackageVersionHistoryRequest- Container for the request parameters to theGetPackageVersionHistoryoperation.- Returns:
- A Java Future containing the result of the GetPackageVersionHistory operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
getPackageVersionHistory
default CompletableFuture<GetPackageVersionHistoryResponse> getPackageVersionHistory(Consumer<GetPackageVersionHistoryRequest.Builder> getPackageVersionHistoryRequest) Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the package is a zip plugin package). For more information, see Custom packages for Amazon OpenSearch Service.
This is a convenience which creates an instance of the
GetPackageVersionHistoryRequest.Builderavoiding the need to create one manually viaGetPackageVersionHistoryRequest.builder()- Parameters:
getPackageVersionHistoryRequest- AConsumerthat will call methods onGetPackageVersionHistoryRequest.Builderto create a request. Container for the request parameters to theGetPackageVersionHistoryoperation.- Returns:
- A Java Future containing the result of the GetPackageVersionHistory operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
getPackageVersionHistoryPaginator
default GetPackageVersionHistoryPublisher getPackageVersionHistoryPaginator(GetPackageVersionHistoryRequest getPackageVersionHistoryRequest) Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the package is a zip plugin package). For more information, see Custom packages for Amazon OpenSearch Service.
This is a variant of
getPackageVersionHistory(software.amazon.awssdk.services.opensearch.model.GetPackageVersionHistoryRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.GetPackageVersionHistoryPublisher publisher = client.getPackageVersionHistoryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.GetPackageVersionHistoryPublisher publisher = client.getPackageVersionHistoryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.GetPackageVersionHistoryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.GetPackageVersionHistoryResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getPackageVersionHistory(software.amazon.awssdk.services.opensearch.model.GetPackageVersionHistoryRequest)operation.- Parameters:
getPackageVersionHistoryRequest- Container for the request parameters to theGetPackageVersionHistoryoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
getPackageVersionHistoryPaginator
default GetPackageVersionHistoryPublisher getPackageVersionHistoryPaginator(Consumer<GetPackageVersionHistoryRequest.Builder> getPackageVersionHistoryRequest) Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the package is a zip plugin package). For more information, see Custom packages for Amazon OpenSearch Service.
This is a variant of
getPackageVersionHistory(software.amazon.awssdk.services.opensearch.model.GetPackageVersionHistoryRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.GetPackageVersionHistoryPublisher publisher = client.getPackageVersionHistoryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.GetPackageVersionHistoryPublisher publisher = client.getPackageVersionHistoryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.GetPackageVersionHistoryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.GetPackageVersionHistoryResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getPackageVersionHistory(software.amazon.awssdk.services.opensearch.model.GetPackageVersionHistoryRequest)operation.This is a convenience which creates an instance of the
GetPackageVersionHistoryRequest.Builderavoiding the need to create one manually viaGetPackageVersionHistoryRequest.builder()- Parameters:
getPackageVersionHistoryRequest- AConsumerthat will call methods onGetPackageVersionHistoryRequest.Builderto create a request. Container for the request parameters to theGetPackageVersionHistoryoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
getUpgradeHistory
default CompletableFuture<GetUpgradeHistoryResponse> getUpgradeHistory(GetUpgradeHistoryRequest getUpgradeHistoryRequest) Retrieves the complete history of the last 10 upgrades performed on an Amazon OpenSearch Service domain.
- Parameters:
getUpgradeHistoryRequest- Container for the request parameters to theGetUpgradeHistoryoperation.- Returns:
- A Java Future containing the result of the GetUpgradeHistory operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
getUpgradeHistory
default CompletableFuture<GetUpgradeHistoryResponse> getUpgradeHistory(Consumer<GetUpgradeHistoryRequest.Builder> getUpgradeHistoryRequest) Retrieves the complete history of the last 10 upgrades performed on an Amazon OpenSearch Service domain.
This is a convenience which creates an instance of the
GetUpgradeHistoryRequest.Builderavoiding the need to create one manually viaGetUpgradeHistoryRequest.builder()- Parameters:
getUpgradeHistoryRequest- AConsumerthat will call methods onGetUpgradeHistoryRequest.Builderto create a request. Container for the request parameters to theGetUpgradeHistoryoperation.- Returns:
- A Java Future containing the result of the GetUpgradeHistory operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
getUpgradeHistoryPaginator
default GetUpgradeHistoryPublisher getUpgradeHistoryPaginator(GetUpgradeHistoryRequest getUpgradeHistoryRequest) Retrieves the complete history of the last 10 upgrades performed on an Amazon OpenSearch Service domain.
This is a variant of
getUpgradeHistory(software.amazon.awssdk.services.opensearch.model.GetUpgradeHistoryRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.GetUpgradeHistoryPublisher publisher = client.getUpgradeHistoryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.GetUpgradeHistoryPublisher publisher = client.getUpgradeHistoryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.GetUpgradeHistoryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.GetUpgradeHistoryResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getUpgradeHistory(software.amazon.awssdk.services.opensearch.model.GetUpgradeHistoryRequest)operation.- Parameters:
getUpgradeHistoryRequest- Container for the request parameters to theGetUpgradeHistoryoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
getUpgradeHistoryPaginator
default GetUpgradeHistoryPublisher getUpgradeHistoryPaginator(Consumer<GetUpgradeHistoryRequest.Builder> getUpgradeHistoryRequest) Retrieves the complete history of the last 10 upgrades performed on an Amazon OpenSearch Service domain.
This is a variant of
getUpgradeHistory(software.amazon.awssdk.services.opensearch.model.GetUpgradeHistoryRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.GetUpgradeHistoryPublisher publisher = client.getUpgradeHistoryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.GetUpgradeHistoryPublisher publisher = client.getUpgradeHistoryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.GetUpgradeHistoryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.GetUpgradeHistoryResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getUpgradeHistory(software.amazon.awssdk.services.opensearch.model.GetUpgradeHistoryRequest)operation.This is a convenience which creates an instance of the
GetUpgradeHistoryRequest.Builderavoiding the need to create one manually viaGetUpgradeHistoryRequest.builder()- Parameters:
getUpgradeHistoryRequest- AConsumerthat will call methods onGetUpgradeHistoryRequest.Builderto create a request. Container for the request parameters to theGetUpgradeHistoryoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
getUpgradeStatus
default CompletableFuture<GetUpgradeStatusResponse> getUpgradeStatus(GetUpgradeStatusRequest getUpgradeStatusRequest) Returns the most recent status of the last upgrade or upgrade eligibility check performed on an Amazon OpenSearch Service domain.
- Parameters:
getUpgradeStatusRequest- Container for the request parameters to theGetUpgradeStatusoperation.- Returns:
- A Java Future containing the result of the GetUpgradeStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
getUpgradeStatus
default CompletableFuture<GetUpgradeStatusResponse> getUpgradeStatus(Consumer<GetUpgradeStatusRequest.Builder> getUpgradeStatusRequest) Returns the most recent status of the last upgrade or upgrade eligibility check performed on an Amazon OpenSearch Service domain.
This is a convenience which creates an instance of the
GetUpgradeStatusRequest.Builderavoiding the need to create one manually viaGetUpgradeStatusRequest.builder()- Parameters:
getUpgradeStatusRequest- AConsumerthat will call methods onGetUpgradeStatusRequest.Builderto create a request. Container for the request parameters to theGetUpgradeStatusoperation.- Returns:
- A Java Future containing the result of the GetUpgradeStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listDomainMaintenances
default CompletableFuture<ListDomainMaintenancesResponse> listDomainMaintenances(ListDomainMaintenancesRequest listDomainMaintenancesRequest) A list of maintenance actions for the domain.
- Parameters:
listDomainMaintenancesRequest- Container for the parameters to theListDomainMaintenancesoperation.- Returns:
- A Java Future containing the result of the ListDomainMaintenances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listDomainMaintenances
default CompletableFuture<ListDomainMaintenancesResponse> listDomainMaintenances(Consumer<ListDomainMaintenancesRequest.Builder> listDomainMaintenancesRequest) A list of maintenance actions for the domain.
This is a convenience which creates an instance of the
ListDomainMaintenancesRequest.Builderavoiding the need to create one manually viaListDomainMaintenancesRequest.builder()- Parameters:
listDomainMaintenancesRequest- AConsumerthat will call methods onListDomainMaintenancesRequest.Builderto create a request. Container for the parameters to theListDomainMaintenancesoperation.- Returns:
- A Java Future containing the result of the ListDomainMaintenances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listDomainMaintenancesPaginator
default ListDomainMaintenancesPublisher listDomainMaintenancesPaginator(ListDomainMaintenancesRequest listDomainMaintenancesRequest) A list of maintenance actions for the domain.
This is a variant of
listDomainMaintenances(software.amazon.awssdk.services.opensearch.model.ListDomainMaintenancesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.ListDomainMaintenancesPublisher publisher = client.listDomainMaintenancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.ListDomainMaintenancesPublisher publisher = client.listDomainMaintenancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.ListDomainMaintenancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.ListDomainMaintenancesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDomainMaintenances(software.amazon.awssdk.services.opensearch.model.ListDomainMaintenancesRequest)operation.- Parameters:
listDomainMaintenancesRequest- Container for the parameters to theListDomainMaintenancesoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listDomainMaintenancesPaginator
default ListDomainMaintenancesPublisher listDomainMaintenancesPaginator(Consumer<ListDomainMaintenancesRequest.Builder> listDomainMaintenancesRequest) A list of maintenance actions for the domain.
This is a variant of
listDomainMaintenances(software.amazon.awssdk.services.opensearch.model.ListDomainMaintenancesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.ListDomainMaintenancesPublisher publisher = client.listDomainMaintenancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.ListDomainMaintenancesPublisher publisher = client.listDomainMaintenancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.ListDomainMaintenancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.ListDomainMaintenancesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDomainMaintenances(software.amazon.awssdk.services.opensearch.model.ListDomainMaintenancesRequest)operation.This is a convenience which creates an instance of the
ListDomainMaintenancesRequest.Builderavoiding the need to create one manually viaListDomainMaintenancesRequest.builder()- Parameters:
listDomainMaintenancesRequest- AConsumerthat will call methods onListDomainMaintenancesRequest.Builderto create a request. Container for the parameters to theListDomainMaintenancesoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listDomainNames
default CompletableFuture<ListDomainNamesResponse> listDomainNames(ListDomainNamesRequest listDomainNamesRequest) Returns the names of all Amazon OpenSearch Service domains owned by the current user in the active Region.
- Parameters:
listDomainNamesRequest- Container for the parameters to theListDomainNamesoperation.- Returns:
- A Java Future containing the result of the ListDomainNames operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listDomainNames
default CompletableFuture<ListDomainNamesResponse> listDomainNames(Consumer<ListDomainNamesRequest.Builder> listDomainNamesRequest) Returns the names of all Amazon OpenSearch Service domains owned by the current user in the active Region.
This is a convenience which creates an instance of the
ListDomainNamesRequest.Builderavoiding the need to create one manually viaListDomainNamesRequest.builder()- Parameters:
listDomainNamesRequest- AConsumerthat will call methods onListDomainNamesRequest.Builderto create a request. Container for the parameters to theListDomainNamesoperation.- Returns:
- A Java Future containing the result of the ListDomainNames operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listDomainsForPackage
default CompletableFuture<ListDomainsForPackageResponse> listDomainsForPackage(ListDomainsForPackageRequest listDomainsForPackageRequest) Lists all Amazon OpenSearch Service domains associated with a given package. For more information, see Custom packages for Amazon OpenSearch Service.
- Parameters:
listDomainsForPackageRequest- Container for the request parameters to theListDomainsForPackageoperation.- Returns:
- A Java Future containing the result of the ListDomainsForPackage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listDomainsForPackage
default CompletableFuture<ListDomainsForPackageResponse> listDomainsForPackage(Consumer<ListDomainsForPackageRequest.Builder> listDomainsForPackageRequest) Lists all Amazon OpenSearch Service domains associated with a given package. For more information, see Custom packages for Amazon OpenSearch Service.
This is a convenience which creates an instance of the
ListDomainsForPackageRequest.Builderavoiding the need to create one manually viaListDomainsForPackageRequest.builder()- Parameters:
listDomainsForPackageRequest- AConsumerthat will call methods onListDomainsForPackageRequest.Builderto create a request. Container for the request parameters to theListDomainsForPackageoperation.- Returns:
- A Java Future containing the result of the ListDomainsForPackage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listDomainsForPackagePaginator
default ListDomainsForPackagePublisher listDomainsForPackagePaginator(ListDomainsForPackageRequest listDomainsForPackageRequest) Lists all Amazon OpenSearch Service domains associated with a given package. For more information, see Custom packages for Amazon OpenSearch Service.
This is a variant of
listDomainsForPackage(software.amazon.awssdk.services.opensearch.model.ListDomainsForPackageRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.ListDomainsForPackagePublisher publisher = client.listDomainsForPackagePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.ListDomainsForPackagePublisher publisher = client.listDomainsForPackagePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.ListDomainsForPackageResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.ListDomainsForPackageResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDomainsForPackage(software.amazon.awssdk.services.opensearch.model.ListDomainsForPackageRequest)operation.- Parameters:
listDomainsForPackageRequest- Container for the request parameters to theListDomainsForPackageoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listDomainsForPackagePaginator
default ListDomainsForPackagePublisher listDomainsForPackagePaginator(Consumer<ListDomainsForPackageRequest.Builder> listDomainsForPackageRequest) Lists all Amazon OpenSearch Service domains associated with a given package. For more information, see Custom packages for Amazon OpenSearch Service.
This is a variant of
listDomainsForPackage(software.amazon.awssdk.services.opensearch.model.ListDomainsForPackageRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.ListDomainsForPackagePublisher publisher = client.listDomainsForPackagePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.ListDomainsForPackagePublisher publisher = client.listDomainsForPackagePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.ListDomainsForPackageResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.ListDomainsForPackageResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDomainsForPackage(software.amazon.awssdk.services.opensearch.model.ListDomainsForPackageRequest)operation.This is a convenience which creates an instance of the
ListDomainsForPackageRequest.Builderavoiding the need to create one manually viaListDomainsForPackageRequest.builder()- Parameters:
listDomainsForPackageRequest- AConsumerthat will call methods onListDomainsForPackageRequest.Builderto create a request. Container for the request parameters to theListDomainsForPackageoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listInstanceTypeDetails
default CompletableFuture<ListInstanceTypeDetailsResponse> listInstanceTypeDetails(ListInstanceTypeDetailsRequest listInstanceTypeDetailsRequest) Lists all instance types and available features for a given OpenSearch or Elasticsearch version.
- Parameters:
listInstanceTypeDetailsRequest-- Returns:
- A Java Future containing the result of the ListInstanceTypeDetails operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listInstanceTypeDetails
default CompletableFuture<ListInstanceTypeDetailsResponse> listInstanceTypeDetails(Consumer<ListInstanceTypeDetailsRequest.Builder> listInstanceTypeDetailsRequest) Lists all instance types and available features for a given OpenSearch or Elasticsearch version.
This is a convenience which creates an instance of the
ListInstanceTypeDetailsRequest.Builderavoiding the need to create one manually viaListInstanceTypeDetailsRequest.builder()- Parameters:
listInstanceTypeDetailsRequest- AConsumerthat will call methods onListInstanceTypeDetailsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListInstanceTypeDetails operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listInstanceTypeDetailsPaginator
default ListInstanceTypeDetailsPublisher listInstanceTypeDetailsPaginator(ListInstanceTypeDetailsRequest listInstanceTypeDetailsRequest) Lists all instance types and available features for a given OpenSearch or Elasticsearch version.
This is a variant of
listInstanceTypeDetails(software.amazon.awssdk.services.opensearch.model.ListInstanceTypeDetailsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.ListInstanceTypeDetailsPublisher publisher = client.listInstanceTypeDetailsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.ListInstanceTypeDetailsPublisher publisher = client.listInstanceTypeDetailsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.ListInstanceTypeDetailsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.ListInstanceTypeDetailsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInstanceTypeDetails(software.amazon.awssdk.services.opensearch.model.ListInstanceTypeDetailsRequest)operation.- Parameters:
listInstanceTypeDetailsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listInstanceTypeDetailsPaginator
default ListInstanceTypeDetailsPublisher listInstanceTypeDetailsPaginator(Consumer<ListInstanceTypeDetailsRequest.Builder> listInstanceTypeDetailsRequest) Lists all instance types and available features for a given OpenSearch or Elasticsearch version.
This is a variant of
listInstanceTypeDetails(software.amazon.awssdk.services.opensearch.model.ListInstanceTypeDetailsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.ListInstanceTypeDetailsPublisher publisher = client.listInstanceTypeDetailsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.ListInstanceTypeDetailsPublisher publisher = client.listInstanceTypeDetailsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.ListInstanceTypeDetailsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.ListInstanceTypeDetailsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInstanceTypeDetails(software.amazon.awssdk.services.opensearch.model.ListInstanceTypeDetailsRequest)operation.This is a convenience which creates an instance of the
ListInstanceTypeDetailsRequest.Builderavoiding the need to create one manually viaListInstanceTypeDetailsRequest.builder()- Parameters:
listInstanceTypeDetailsRequest- AConsumerthat will call methods onListInstanceTypeDetailsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listPackagesForDomain
default CompletableFuture<ListPackagesForDomainResponse> listPackagesForDomain(ListPackagesForDomainRequest listPackagesForDomainRequest) Lists all packages associated with an Amazon OpenSearch Service domain. For more information, see Custom packages for Amazon OpenSearch Service.
- Parameters:
listPackagesForDomainRequest- Container for the request parameters to theListPackagesForDomainoperation.- Returns:
- A Java Future containing the result of the ListPackagesForDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listPackagesForDomain
default CompletableFuture<ListPackagesForDomainResponse> listPackagesForDomain(Consumer<ListPackagesForDomainRequest.Builder> listPackagesForDomainRequest) Lists all packages associated with an Amazon OpenSearch Service domain. For more information, see Custom packages for Amazon OpenSearch Service.
This is a convenience which creates an instance of the
ListPackagesForDomainRequest.Builderavoiding the need to create one manually viaListPackagesForDomainRequest.builder()- Parameters:
listPackagesForDomainRequest- AConsumerthat will call methods onListPackagesForDomainRequest.Builderto create a request. Container for the request parameters to theListPackagesForDomainoperation.- Returns:
- A Java Future containing the result of the ListPackagesForDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listPackagesForDomainPaginator
default ListPackagesForDomainPublisher listPackagesForDomainPaginator(ListPackagesForDomainRequest listPackagesForDomainRequest) Lists all packages associated with an Amazon OpenSearch Service domain. For more information, see Custom packages for Amazon OpenSearch Service.
This is a variant of
listPackagesForDomain(software.amazon.awssdk.services.opensearch.model.ListPackagesForDomainRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.ListPackagesForDomainPublisher publisher = client.listPackagesForDomainPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.ListPackagesForDomainPublisher publisher = client.listPackagesForDomainPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.ListPackagesForDomainResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.ListPackagesForDomainResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPackagesForDomain(software.amazon.awssdk.services.opensearch.model.ListPackagesForDomainRequest)operation.- Parameters:
listPackagesForDomainRequest- Container for the request parameters to theListPackagesForDomainoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listPackagesForDomainPaginator
default ListPackagesForDomainPublisher listPackagesForDomainPaginator(Consumer<ListPackagesForDomainRequest.Builder> listPackagesForDomainRequest) Lists all packages associated with an Amazon OpenSearch Service domain. For more information, see Custom packages for Amazon OpenSearch Service.
This is a variant of
listPackagesForDomain(software.amazon.awssdk.services.opensearch.model.ListPackagesForDomainRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.ListPackagesForDomainPublisher publisher = client.listPackagesForDomainPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.ListPackagesForDomainPublisher publisher = client.listPackagesForDomainPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.ListPackagesForDomainResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.ListPackagesForDomainResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPackagesForDomain(software.amazon.awssdk.services.opensearch.model.ListPackagesForDomainRequest)operation.This is a convenience which creates an instance of the
ListPackagesForDomainRequest.Builderavoiding the need to create one manually viaListPackagesForDomainRequest.builder()- Parameters:
listPackagesForDomainRequest- AConsumerthat will call methods onListPackagesForDomainRequest.Builderto create a request. Container for the request parameters to theListPackagesForDomainoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listScheduledActions
default CompletableFuture<ListScheduledActionsResponse> listScheduledActions(ListScheduledActionsRequest listScheduledActionsRequest) Retrieves a list of configuration changes that are scheduled for a domain. These changes can be service software updates or blue/green Auto-Tune enhancements.
- Parameters:
listScheduledActionsRequest-- Returns:
- A Java Future containing the result of the ListScheduledActions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- InvalidPaginationTokenException Request processing failed because you provided an invalid pagination token.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listScheduledActions
default CompletableFuture<ListScheduledActionsResponse> listScheduledActions(Consumer<ListScheduledActionsRequest.Builder> listScheduledActionsRequest) Retrieves a list of configuration changes that are scheduled for a domain. These changes can be service software updates or blue/green Auto-Tune enhancements.
This is a convenience which creates an instance of the
ListScheduledActionsRequest.Builderavoiding the need to create one manually viaListScheduledActionsRequest.builder()- Parameters:
listScheduledActionsRequest- AConsumerthat will call methods onListScheduledActionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListScheduledActions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- InvalidPaginationTokenException Request processing failed because you provided an invalid pagination token.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listScheduledActionsPaginator
default ListScheduledActionsPublisher listScheduledActionsPaginator(ListScheduledActionsRequest listScheduledActionsRequest) Retrieves a list of configuration changes that are scheduled for a domain. These changes can be service software updates or blue/green Auto-Tune enhancements.
This is a variant of
listScheduledActions(software.amazon.awssdk.services.opensearch.model.ListScheduledActionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.ListScheduledActionsPublisher publisher = client.listScheduledActionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.ListScheduledActionsPublisher publisher = client.listScheduledActionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.ListScheduledActionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.ListScheduledActionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listScheduledActions(software.amazon.awssdk.services.opensearch.model.ListScheduledActionsRequest)operation.- Parameters:
listScheduledActionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- InvalidPaginationTokenException Request processing failed because you provided an invalid pagination token.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listScheduledActionsPaginator
default ListScheduledActionsPublisher listScheduledActionsPaginator(Consumer<ListScheduledActionsRequest.Builder> listScheduledActionsRequest) Retrieves a list of configuration changes that are scheduled for a domain. These changes can be service software updates or blue/green Auto-Tune enhancements.
This is a variant of
listScheduledActions(software.amazon.awssdk.services.opensearch.model.ListScheduledActionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.ListScheduledActionsPublisher publisher = client.listScheduledActionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.ListScheduledActionsPublisher publisher = client.listScheduledActionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.ListScheduledActionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.ListScheduledActionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listScheduledActions(software.amazon.awssdk.services.opensearch.model.ListScheduledActionsRequest)operation.This is a convenience which creates an instance of the
ListScheduledActionsRequest.Builderavoiding the need to create one manually viaListScheduledActionsRequest.builder()- Parameters:
listScheduledActionsRequest- AConsumerthat will call methods onListScheduledActionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- InvalidPaginationTokenException Request processing failed because you provided an invalid pagination token.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listTags
Returns all resource tags for an Amazon OpenSearch Service domain. For more information, see Tagging Amazon OpenSearch Service domains.
- Parameters:
listTagsRequest- Container for the parameters to theListTagsoperation.- Returns:
- A Java Future containing the result of the ListTags operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listTags
default CompletableFuture<ListTagsResponse> listTags(Consumer<ListTagsRequest.Builder> listTagsRequest) Returns all resource tags for an Amazon OpenSearch Service domain. For more information, see Tagging Amazon OpenSearch Service domains.
This is a convenience which creates an instance of the
ListTagsRequest.Builderavoiding the need to create one manually viaListTagsRequest.builder()- Parameters:
listTagsRequest- AConsumerthat will call methods onListTagsRequest.Builderto create a request. Container for the parameters to theListTagsoperation.- Returns:
- A Java Future containing the result of the ListTags operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listVersions
default CompletableFuture<ListVersionsResponse> listVersions(ListVersionsRequest listVersionsRequest) Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.
- Parameters:
listVersionsRequest- Container for the request parameters to theListVersionsoperation.- Returns:
- A Java Future containing the result of the ListVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listVersions
default CompletableFuture<ListVersionsResponse> listVersions(Consumer<ListVersionsRequest.Builder> listVersionsRequest) Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.
This is a convenience which creates an instance of the
ListVersionsRequest.Builderavoiding the need to create one manually viaListVersionsRequest.builder()- Parameters:
listVersionsRequest- AConsumerthat will call methods onListVersionsRequest.Builderto create a request. Container for the request parameters to theListVersionsoperation.- Returns:
- A Java Future containing the result of the ListVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listVersionsPaginator
Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.
This is a variant of
listVersions(software.amazon.awssdk.services.opensearch.model.ListVersionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.ListVersionsPublisher publisher = client.listVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.ListVersionsPublisher publisher = client.listVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.ListVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.ListVersionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listVersions(software.amazon.awssdk.services.opensearch.model.ListVersionsRequest)operation.- Parameters:
listVersionsRequest- Container for the request parameters to theListVersionsoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listVersionsPaginator
default ListVersionsPublisher listVersionsPaginator(Consumer<ListVersionsRequest.Builder> listVersionsRequest) Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.
This is a variant of
listVersions(software.amazon.awssdk.services.opensearch.model.ListVersionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.opensearch.paginators.ListVersionsPublisher publisher = client.listVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.opensearch.paginators.ListVersionsPublisher publisher = client.listVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.opensearch.model.ListVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.opensearch.model.ListVersionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listVersions(software.amazon.awssdk.services.opensearch.model.ListVersionsRequest)operation.This is a convenience which creates an instance of the
ListVersionsRequest.Builderavoiding the need to create one manually viaListVersionsRequest.builder()- Parameters:
listVersionsRequest- AConsumerthat will call methods onListVersionsRequest.Builderto create a request. Container for the request parameters to theListVersionsoperation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listVpcEndpointAccess
default CompletableFuture<ListVpcEndpointAccessResponse> listVpcEndpointAccess(ListVpcEndpointAccessRequest listVpcEndpointAccessRequest) Retrieves information about each Amazon Web Services principal that is allowed to access a given Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
- Parameters:
listVpcEndpointAccessRequest-- Returns:
- A Java Future containing the result of the ListVpcEndpointAccess operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- BaseException An error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listVpcEndpointAccess
default CompletableFuture<ListVpcEndpointAccessResponse> listVpcEndpointAccess(Consumer<ListVpcEndpointAccessRequest.Builder> listVpcEndpointAccessRequest) Retrieves information about each Amazon Web Services principal that is allowed to access a given Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
This is a convenience which creates an instance of the
ListVpcEndpointAccessRequest.Builderavoiding the need to create one manually viaListVpcEndpointAccessRequest.builder()- Parameters:
listVpcEndpointAccessRequest- AConsumerthat will call methods onListVpcEndpointAccessRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListVpcEndpointAccess operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- BaseException An error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listVpcEndpoints
default CompletableFuture<ListVpcEndpointsResponse> listVpcEndpoints(ListVpcEndpointsRequest listVpcEndpointsRequest) Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current Amazon Web Services account and Region.
- Parameters:
listVpcEndpointsRequest-- Returns:
- A Java Future containing the result of the ListVpcEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- BaseException An error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listVpcEndpoints
default CompletableFuture<ListVpcEndpointsResponse> listVpcEndpoints(Consumer<ListVpcEndpointsRequest.Builder> listVpcEndpointsRequest) Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current Amazon Web Services account and Region.
This is a convenience which creates an instance of the
ListVpcEndpointsRequest.Builderavoiding the need to create one manually viaListVpcEndpointsRequest.builder()- Parameters:
listVpcEndpointsRequest- AConsumerthat will call methods onListVpcEndpointsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListVpcEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- BaseException An error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listVpcEndpointsForDomain
default CompletableFuture<ListVpcEndpointsForDomainResponse> listVpcEndpointsForDomain(ListVpcEndpointsForDomainRequest listVpcEndpointsForDomainRequest) Retrieves all Amazon OpenSearch Service-managed VPC endpoints associated with a particular domain.
- Parameters:
listVpcEndpointsForDomainRequest-- Returns:
- A Java Future containing the result of the ListVpcEndpointsForDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- BaseException An error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
listVpcEndpointsForDomain
default CompletableFuture<ListVpcEndpointsForDomainResponse> listVpcEndpointsForDomain(Consumer<ListVpcEndpointsForDomainRequest.Builder> listVpcEndpointsForDomainRequest) Retrieves all Amazon OpenSearch Service-managed VPC endpoints associated with a particular domain.
This is a convenience which creates an instance of the
ListVpcEndpointsForDomainRequest.Builderavoiding the need to create one manually viaListVpcEndpointsForDomainRequest.builder()- Parameters:
listVpcEndpointsForDomainRequest- AConsumerthat will call methods onListVpcEndpointsForDomainRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListVpcEndpointsForDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- BaseException An error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
purchaseReservedInstanceOffering
default CompletableFuture<PurchaseReservedInstanceOfferingResponse> purchaseReservedInstanceOffering(PurchaseReservedInstanceOfferingRequest purchaseReservedInstanceOfferingRequest) Allows you to purchase Amazon OpenSearch Service Reserved Instances.
- Parameters:
purchaseReservedInstanceOfferingRequest- Container for request parameters to thePurchaseReservedInstanceOfferingoperation.- Returns:
- A Java Future containing the result of the PurchaseReservedInstanceOffering operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ResourceAlreadyExistsException An exception for creating a resource that already exists.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
purchaseReservedInstanceOffering
default CompletableFuture<PurchaseReservedInstanceOfferingResponse> purchaseReservedInstanceOffering(Consumer<PurchaseReservedInstanceOfferingRequest.Builder> purchaseReservedInstanceOfferingRequest) Allows you to purchase Amazon OpenSearch Service Reserved Instances.
This is a convenience which creates an instance of the
PurchaseReservedInstanceOfferingRequest.Builderavoiding the need to create one manually viaPurchaseReservedInstanceOfferingRequest.builder()- Parameters:
purchaseReservedInstanceOfferingRequest- AConsumerthat will call methods onPurchaseReservedInstanceOfferingRequest.Builderto create a request. Container for request parameters to thePurchaseReservedInstanceOfferingoperation.- Returns:
- A Java Future containing the result of the PurchaseReservedInstanceOffering operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ResourceAlreadyExistsException An exception for creating a resource that already exists.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
rejectInboundConnection
default CompletableFuture<RejectInboundConnectionResponse> rejectInboundConnection(RejectInboundConnectionRequest rejectInboundConnectionRequest) Allows the remote Amazon OpenSearch Service domain owner to reject an inbound cross-cluster connection request.
- Parameters:
rejectInboundConnectionRequest- Container for the request parameters to theRejectInboundConnectionoperation.- Returns:
- A Java Future containing the result of the RejectInboundConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
rejectInboundConnection
default CompletableFuture<RejectInboundConnectionResponse> rejectInboundConnection(Consumer<RejectInboundConnectionRequest.Builder> rejectInboundConnectionRequest) Allows the remote Amazon OpenSearch Service domain owner to reject an inbound cross-cluster connection request.
This is a convenience which creates an instance of the
RejectInboundConnectionRequest.Builderavoiding the need to create one manually viaRejectInboundConnectionRequest.builder()- Parameters:
rejectInboundConnectionRequest- AConsumerthat will call methods onRejectInboundConnectionRequest.Builderto create a request. Container for the request parameters to theRejectInboundConnectionoperation.- Returns:
- A Java Future containing the result of the RejectInboundConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
removeTags
Removes the specified set of tags from an Amazon OpenSearch Service domain. For more information, see Tagging Amazon OpenSearch Service domains.
- Parameters:
removeTagsRequest- Container for the request parameters to theRemoveTagsoperation.- Returns:
- A Java Future containing the result of the RemoveTags operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
removeTags
default CompletableFuture<RemoveTagsResponse> removeTags(Consumer<RemoveTagsRequest.Builder> removeTagsRequest) Removes the specified set of tags from an Amazon OpenSearch Service domain. For more information, see Tagging Amazon OpenSearch Service domains.
This is a convenience which creates an instance of the
RemoveTagsRequest.Builderavoiding the need to create one manually viaRemoveTagsRequest.builder()- Parameters:
removeTagsRequest- AConsumerthat will call methods onRemoveTagsRequest.Builderto create a request. Container for the request parameters to theRemoveTagsoperation.- Returns:
- A Java Future containing the result of the RemoveTags operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
revokeVpcEndpointAccess
default CompletableFuture<RevokeVpcEndpointAccessResponse> revokeVpcEndpointAccess(RevokeVpcEndpointAccessRequest revokeVpcEndpointAccessRequest) Revokes access to an Amazon OpenSearch Service domain that was provided through an interface VPC endpoint.
- Parameters:
revokeVpcEndpointAccessRequest-- Returns:
- A Java Future containing the result of the RevokeVpcEndpointAccess operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- BaseException An error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
revokeVpcEndpointAccess
default CompletableFuture<RevokeVpcEndpointAccessResponse> revokeVpcEndpointAccess(Consumer<RevokeVpcEndpointAccessRequest.Builder> revokeVpcEndpointAccessRequest) Revokes access to an Amazon OpenSearch Service domain that was provided through an interface VPC endpoint.
This is a convenience which creates an instance of the
RevokeVpcEndpointAccessRequest.Builderavoiding the need to create one manually viaRevokeVpcEndpointAccessRequest.builder()- Parameters:
revokeVpcEndpointAccessRequest- AConsumerthat will call methods onRevokeVpcEndpointAccessRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RevokeVpcEndpointAccess operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- BaseException An error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
startDomainMaintenance
default CompletableFuture<StartDomainMaintenanceResponse> startDomainMaintenance(StartDomainMaintenanceRequest startDomainMaintenanceRequest) Starts the node maintenance process on the data node. These processes can include a node reboot, an Opensearch or Elasticsearch process restart, or a Dashboard or Kibana restart.
- Parameters:
startDomainMaintenanceRequest- Container for the parameters to theStartDomainMaintenanceoperation.- Returns:
- A Java Future containing the result of the StartDomainMaintenance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
startDomainMaintenance
default CompletableFuture<StartDomainMaintenanceResponse> startDomainMaintenance(Consumer<StartDomainMaintenanceRequest.Builder> startDomainMaintenanceRequest) Starts the node maintenance process on the data node. These processes can include a node reboot, an Opensearch or Elasticsearch process restart, or a Dashboard or Kibana restart.
This is a convenience which creates an instance of the
StartDomainMaintenanceRequest.Builderavoiding the need to create one manually viaStartDomainMaintenanceRequest.builder()- Parameters:
startDomainMaintenanceRequest- AConsumerthat will call methods onStartDomainMaintenanceRequest.Builderto create a request. Container for the parameters to theStartDomainMaintenanceoperation.- Returns:
- A Java Future containing the result of the StartDomainMaintenance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
startServiceSoftwareUpdate
default CompletableFuture<StartServiceSoftwareUpdateResponse> startServiceSoftwareUpdate(StartServiceSoftwareUpdateRequest startServiceSoftwareUpdateRequest) Schedules a service software update for an Amazon OpenSearch Service domain. For more information, see Service software updates in Amazon OpenSearch Service.
- Parameters:
startServiceSoftwareUpdateRequest- Container for the request parameters to theStartServiceSoftwareUpdateoperation.- Returns:
- A Java Future containing the result of the StartServiceSoftwareUpdate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
startServiceSoftwareUpdate
default CompletableFuture<StartServiceSoftwareUpdateResponse> startServiceSoftwareUpdate(Consumer<StartServiceSoftwareUpdateRequest.Builder> startServiceSoftwareUpdateRequest) Schedules a service software update for an Amazon OpenSearch Service domain. For more information, see Service software updates in Amazon OpenSearch Service.
This is a convenience which creates an instance of the
StartServiceSoftwareUpdateRequest.Builderavoiding the need to create one manually viaStartServiceSoftwareUpdateRequest.builder()- Parameters:
startServiceSoftwareUpdateRequest- AConsumerthat will call methods onStartServiceSoftwareUpdateRequest.Builderto create a request. Container for the request parameters to theStartServiceSoftwareUpdateoperation.- Returns:
- A Java Future containing the result of the StartServiceSoftwareUpdate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
updateDomainConfig
default CompletableFuture<UpdateDomainConfigResponse> updateDomainConfig(UpdateDomainConfigRequest updateDomainConfigRequest) Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.
- Parameters:
updateDomainConfigRequest- Container for the request parameters to theUpdateDomainoperation.- Returns:
- A Java Future containing the result of the UpdateDomainConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- InvalidTypeException An exception for trying to create or access a sub-resource that's either invalid or not supported.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
updateDomainConfig
default CompletableFuture<UpdateDomainConfigResponse> updateDomainConfig(Consumer<UpdateDomainConfigRequest.Builder> updateDomainConfigRequest) Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.
This is a convenience which creates an instance of the
UpdateDomainConfigRequest.Builderavoiding the need to create one manually viaUpdateDomainConfigRequest.builder()- Parameters:
updateDomainConfigRequest- AConsumerthat will call methods onUpdateDomainConfigRequest.Builderto create a request. Container for the request parameters to theUpdateDomainoperation.- Returns:
- A Java Future containing the result of the UpdateDomainConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- InvalidTypeException An exception for trying to create or access a sub-resource that's either invalid or not supported.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
updatePackage
default CompletableFuture<UpdatePackageResponse> updatePackage(UpdatePackageRequest updatePackageRequest) Updates a package for use with Amazon OpenSearch Service domains. For more information, see Custom packages for Amazon OpenSearch Service.
- Parameters:
updatePackageRequest- Container for request parameters to theUpdatePackageoperation.- Returns:
- A Java Future containing the result of the UpdatePackage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
updatePackage
default CompletableFuture<UpdatePackageResponse> updatePackage(Consumer<UpdatePackageRequest.Builder> updatePackageRequest) Updates a package for use with Amazon OpenSearch Service domains. For more information, see Custom packages for Amazon OpenSearch Service.
This is a convenience which creates an instance of the
UpdatePackageRequest.Builderavoiding the need to create one manually viaUpdatePackageRequest.builder()- Parameters:
updatePackageRequest- AConsumerthat will call methods onUpdatePackageRequest.Builderto create a request. Container for request parameters to theUpdatePackageoperation.- Returns:
- A Java Future containing the result of the UpdatePackage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- AccessDeniedException An error occurred because you don't have permissions to access the resource.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
updateScheduledAction
default CompletableFuture<UpdateScheduledActionResponse> updateScheduledAction(UpdateScheduledActionRequest updateScheduledActionRequest) Reschedules a planned domain configuration change for a later time. This change can be a scheduled service software update or a blue/green Auto-Tune enhancement.
- Parameters:
updateScheduledActionRequest-- Returns:
- A Java Future containing the result of the UpdateScheduledAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- SlotNotAvailableException An exception for attempting to schedule a domain action during an unavailable time slot.
- ConflictException An error occurred because the client attempts to remove a resource that is currently in use.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
updateScheduledAction
default CompletableFuture<UpdateScheduledActionResponse> updateScheduledAction(Consumer<UpdateScheduledActionRequest.Builder> updateScheduledActionRequest) Reschedules a planned domain configuration change for a later time. This change can be a scheduled service software update or a blue/green Auto-Tune enhancement.
This is a convenience which creates an instance of the
UpdateScheduledActionRequest.Builderavoiding the need to create one manually viaUpdateScheduledActionRequest.builder()- Parameters:
updateScheduledActionRequest- AConsumerthat will call methods onUpdateScheduledActionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateScheduledAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- SlotNotAvailableException An exception for attempting to schedule a domain action during an unavailable time slot.
- ConflictException An error occurred because the client attempts to remove a resource that is currently in use.
- LimitExceededException An exception for trying to create more than the allowed number of resources or sub-resources.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
updateVpcEndpoint
default CompletableFuture<UpdateVpcEndpointResponse> updateVpcEndpoint(UpdateVpcEndpointRequest updateVpcEndpointRequest) Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.
- Parameters:
updateVpcEndpointRequest-- Returns:
- A Java Future containing the result of the UpdateVpcEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- ConflictException An error occurred because the client attempts to remove a resource that is currently in use.
- BaseException An error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
updateVpcEndpoint
default CompletableFuture<UpdateVpcEndpointResponse> updateVpcEndpoint(Consumer<UpdateVpcEndpointRequest.Builder> updateVpcEndpointRequest) Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.
This is a convenience which creates an instance of the
UpdateVpcEndpointRequest.Builderavoiding the need to create one manually viaUpdateVpcEndpointRequest.builder()- Parameters:
updateVpcEndpointRequest- AConsumerthat will call methods onUpdateVpcEndpointRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateVpcEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- ConflictException An error occurred because the client attempts to remove a resource that is currently in use.
- BaseException An error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
upgradeDomain
default CompletableFuture<UpgradeDomainResponse> upgradeDomain(UpgradeDomainRequest upgradeDomainRequest) Allows you to either upgrade your Amazon OpenSearch Service domain or perform an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch.
- Parameters:
upgradeDomainRequest- Container for the request parameters to theUpgradeDomainoperation.- Returns:
- A Java Future containing the result of the UpgradeDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ResourceAlreadyExistsException An exception for creating a resource that already exists.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
upgradeDomain
default CompletableFuture<UpgradeDomainResponse> upgradeDomain(Consumer<UpgradeDomainRequest.Builder> upgradeDomainRequest) Allows you to either upgrade your Amazon OpenSearch Service domain or perform an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch.
This is a convenience which creates an instance of the
UpgradeDomainRequest.Builderavoiding the need to create one manually viaUpgradeDomainRequest.builder()- Parameters:
upgradeDomainRequest- AConsumerthat will call methods onUpgradeDomainRequest.Builderto create a request. Container for the request parameters to theUpgradeDomainoperation.- Returns:
- A Java Future containing the result of the UpgradeDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BaseException An error occurred while processing the request.
- ResourceNotFoundException An exception for accessing or deleting a resource that doesn't exist.
- ResourceAlreadyExistsException An exception for creating a resource that already exists.
- DisabledOperationException An error occured because the client wanted to access an unsupported operation.
- ValidationException An exception for accessing or deleting a resource that doesn't exist.
- InternalException Request processing failed because of an unknown error, exception, or internal failure.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- OpenSearchException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aOpenSearchAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aOpenSearchAsyncClient.
-