@Generated(value="software.amazon.awssdk:codegen") public interface ElasticsearchAsyncClient extends SdkClient
builder()
method.
Use the Amazon Elasticsearch Configuration API to create, configure, and manage Elasticsearch domains.
For sample code that uses the Configuration API, see the Amazon Elasticsearch Service Developer Guide. The guide also contains sample code for sending signed HTTP requests to the Elasticsearch 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 Regions and Endpoints.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider . |
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
default CompletableFuture<AcceptInboundCrossClusterSearchConnectionResponse> |
acceptInboundCrossClusterSearchConnection(AcceptInboundCrossClusterSearchConnectionRequest acceptInboundCrossClusterSearchConnectionRequest)
Allows the destination domain owner to accept an inbound cross-cluster search connection request.
|
default CompletableFuture<AcceptInboundCrossClusterSearchConnectionResponse> |
acceptInboundCrossClusterSearchConnection(Consumer<AcceptInboundCrossClusterSearchConnectionRequest.Builder> acceptInboundCrossClusterSearchConnectionRequest)
Allows the destination domain owner to accept an inbound cross-cluster search connection request.
|
default CompletableFuture<AddTagsResponse> |
addTags(AddTagsRequest addTagsRequest)
Attaches tags to an existing Elasticsearch domain.
|
default CompletableFuture<AddTagsResponse> |
addTags(Consumer<AddTagsRequest.Builder> addTagsRequest)
Attaches tags to an existing Elasticsearch domain.
|
default CompletableFuture<AssociatePackageResponse> |
associatePackage(AssociatePackageRequest associatePackageRequest)
Associates a package with an Amazon ES domain.
|
default CompletableFuture<AssociatePackageResponse> |
associatePackage(Consumer<AssociatePackageRequest.Builder> associatePackageRequest)
Associates a package with an Amazon ES domain.
|
static ElasticsearchAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
ElasticsearchAsyncClient . |
default CompletableFuture<CancelElasticsearchServiceSoftwareUpdateResponse> |
cancelElasticsearchServiceSoftwareUpdate(CancelElasticsearchServiceSoftwareUpdateRequest cancelElasticsearchServiceSoftwareUpdateRequest)
Cancels a scheduled service software update for an Amazon ES domain.
|
default CompletableFuture<CancelElasticsearchServiceSoftwareUpdateResponse> |
cancelElasticsearchServiceSoftwareUpdate(Consumer<CancelElasticsearchServiceSoftwareUpdateRequest.Builder> cancelElasticsearchServiceSoftwareUpdateRequest)
Cancels a scheduled service software update for an Amazon ES domain.
|
static ElasticsearchAsyncClient |
create()
Create a
ElasticsearchAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<CreateElasticsearchDomainResponse> |
createElasticsearchDomain(Consumer<CreateElasticsearchDomainRequest.Builder> createElasticsearchDomainRequest)
Creates a new Elasticsearch domain.
|
default CompletableFuture<CreateElasticsearchDomainResponse> |
createElasticsearchDomain(CreateElasticsearchDomainRequest createElasticsearchDomainRequest)
Creates a new Elasticsearch domain.
|
default CompletableFuture<CreateOutboundCrossClusterSearchConnectionResponse> |
createOutboundCrossClusterSearchConnection(Consumer<CreateOutboundCrossClusterSearchConnectionRequest.Builder> createOutboundCrossClusterSearchConnectionRequest)
Creates a new cross-cluster search connection from a source domain to a destination domain.
|
default CompletableFuture<CreateOutboundCrossClusterSearchConnectionResponse> |
createOutboundCrossClusterSearchConnection(CreateOutboundCrossClusterSearchConnectionRequest createOutboundCrossClusterSearchConnectionRequest)
Creates a new cross-cluster search connection from a source domain to a destination domain.
|
default CompletableFuture<CreatePackageResponse> |
createPackage(Consumer<CreatePackageRequest.Builder> createPackageRequest)
Create a package for use with Amazon ES domains.
|
default CompletableFuture<CreatePackageResponse> |
createPackage(CreatePackageRequest createPackageRequest)
Create a package for use with Amazon ES domains.
|
default CompletableFuture<DeleteElasticsearchDomainResponse> |
deleteElasticsearchDomain(Consumer<DeleteElasticsearchDomainRequest.Builder> deleteElasticsearchDomainRequest)
Permanently deletes the specified Elasticsearch domain and all of its data.
|
default CompletableFuture<DeleteElasticsearchDomainResponse> |
deleteElasticsearchDomain(DeleteElasticsearchDomainRequest deleteElasticsearchDomainRequest)
Permanently deletes the specified Elasticsearch domain and all of its data.
|
default CompletableFuture<DeleteElasticsearchServiceRoleResponse> |
deleteElasticsearchServiceRole()
Deletes the service-linked role that Elasticsearch Service uses to manage and maintain VPC domains.
|
default CompletableFuture<DeleteElasticsearchServiceRoleResponse> |
deleteElasticsearchServiceRole(Consumer<DeleteElasticsearchServiceRoleRequest.Builder> deleteElasticsearchServiceRoleRequest)
Deletes the service-linked role that Elasticsearch Service uses to manage and maintain VPC domains.
|
default CompletableFuture<DeleteElasticsearchServiceRoleResponse> |
deleteElasticsearchServiceRole(DeleteElasticsearchServiceRoleRequest deleteElasticsearchServiceRoleRequest)
Deletes the service-linked role that Elasticsearch Service uses to manage and maintain VPC domains.
|
default CompletableFuture<DeleteInboundCrossClusterSearchConnectionResponse> |
deleteInboundCrossClusterSearchConnection(Consumer<DeleteInboundCrossClusterSearchConnectionRequest.Builder> deleteInboundCrossClusterSearchConnectionRequest)
Allows the destination domain owner to delete an existing inbound cross-cluster search connection.
|
default CompletableFuture<DeleteInboundCrossClusterSearchConnectionResponse> |
deleteInboundCrossClusterSearchConnection(DeleteInboundCrossClusterSearchConnectionRequest deleteInboundCrossClusterSearchConnectionRequest)
Allows the destination domain owner to delete an existing inbound cross-cluster search connection.
|
default CompletableFuture<DeleteOutboundCrossClusterSearchConnectionResponse> |
deleteOutboundCrossClusterSearchConnection(Consumer<DeleteOutboundCrossClusterSearchConnectionRequest.Builder> deleteOutboundCrossClusterSearchConnectionRequest)
Allows the source domain owner to delete an existing outbound cross-cluster search connection.
|
default CompletableFuture<DeleteOutboundCrossClusterSearchConnectionResponse> |
deleteOutboundCrossClusterSearchConnection(DeleteOutboundCrossClusterSearchConnectionRequest deleteOutboundCrossClusterSearchConnectionRequest)
Allows the source domain owner to delete an existing outbound cross-cluster search connection.
|
default CompletableFuture<DeletePackageResponse> |
deletePackage(Consumer<DeletePackageRequest.Builder> deletePackageRequest)
Delete the package.
|
default CompletableFuture<DeletePackageResponse> |
deletePackage(DeletePackageRequest deletePackageRequest)
Delete the package.
|
default CompletableFuture<DescribeDomainAutoTunesResponse> |
describeDomainAutoTunes(Consumer<DescribeDomainAutoTunesRequest.Builder> describeDomainAutoTunesRequest)
Provides scheduled Auto-Tune action details for the Elasticsearch domain, such as Auto-Tune action type,
description, severity, and scheduled date.
|
default CompletableFuture<DescribeDomainAutoTunesResponse> |
describeDomainAutoTunes(DescribeDomainAutoTunesRequest describeDomainAutoTunesRequest)
Provides scheduled Auto-Tune action details for the Elasticsearch domain, such as Auto-Tune action type,
description, severity, and scheduled date.
|
default DescribeDomainAutoTunesPublisher |
describeDomainAutoTunesPaginator(Consumer<DescribeDomainAutoTunesRequest.Builder> describeDomainAutoTunesRequest)
Provides scheduled Auto-Tune action details for the Elasticsearch domain, such as Auto-Tune action type,
description, severity, and scheduled date.
|
default DescribeDomainAutoTunesPublisher |
describeDomainAutoTunesPaginator(DescribeDomainAutoTunesRequest describeDomainAutoTunesRequest)
Provides scheduled Auto-Tune action details for the Elasticsearch domain, such as Auto-Tune action type,
description, severity, and scheduled date.
|
default CompletableFuture<DescribeElasticsearchDomainResponse> |
describeElasticsearchDomain(Consumer<DescribeElasticsearchDomainRequest.Builder> describeElasticsearchDomainRequest)
Returns domain configuration information about the specified Elasticsearch domain, including the domain ID,
domain endpoint, and domain ARN.
|
default CompletableFuture<DescribeElasticsearchDomainResponse> |
describeElasticsearchDomain(DescribeElasticsearchDomainRequest describeElasticsearchDomainRequest)
Returns domain configuration information about the specified Elasticsearch domain, including the domain ID,
domain endpoint, and domain ARN.
|
default CompletableFuture<DescribeElasticsearchDomainConfigResponse> |
describeElasticsearchDomainConfig(Consumer<DescribeElasticsearchDomainConfigRequest.Builder> describeElasticsearchDomainConfigRequest)
Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation
date, update version, and update date for cluster options.
|
default CompletableFuture<DescribeElasticsearchDomainConfigResponse> |
describeElasticsearchDomainConfig(DescribeElasticsearchDomainConfigRequest describeElasticsearchDomainConfigRequest)
Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation
date, update version, and update date for cluster options.
|
default CompletableFuture<DescribeElasticsearchDomainsResponse> |
describeElasticsearchDomains(Consumer<DescribeElasticsearchDomainsRequest.Builder> describeElasticsearchDomainsRequest)
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID,
domain endpoint, and domain ARN.
|
default CompletableFuture<DescribeElasticsearchDomainsResponse> |
describeElasticsearchDomains(DescribeElasticsearchDomainsRequest describeElasticsearchDomainsRequest)
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID,
domain endpoint, and domain ARN.
|
default CompletableFuture<DescribeElasticsearchInstanceTypeLimitsResponse> |
describeElasticsearchInstanceTypeLimits(Consumer<DescribeElasticsearchInstanceTypeLimitsRequest.Builder> describeElasticsearchInstanceTypeLimitsRequest)
Describe Elasticsearch Limits for a given InstanceType and ElasticsearchVersion.
|
default CompletableFuture<DescribeElasticsearchInstanceTypeLimitsResponse> |
describeElasticsearchInstanceTypeLimits(DescribeElasticsearchInstanceTypeLimitsRequest describeElasticsearchInstanceTypeLimitsRequest)
Describe Elasticsearch Limits for a given InstanceType and ElasticsearchVersion.
|
default CompletableFuture<DescribeInboundCrossClusterSearchConnectionsResponse> |
describeInboundCrossClusterSearchConnections(Consumer<DescribeInboundCrossClusterSearchConnectionsRequest.Builder> describeInboundCrossClusterSearchConnectionsRequest)
Lists all the inbound cross-cluster search connections for a destination domain.
|
default CompletableFuture<DescribeInboundCrossClusterSearchConnectionsResponse> |
describeInboundCrossClusterSearchConnections(DescribeInboundCrossClusterSearchConnectionsRequest describeInboundCrossClusterSearchConnectionsRequest)
Lists all the inbound cross-cluster search connections for a destination domain.
|
default DescribeInboundCrossClusterSearchConnectionsPublisher |
describeInboundCrossClusterSearchConnectionsPaginator(Consumer<DescribeInboundCrossClusterSearchConnectionsRequest.Builder> describeInboundCrossClusterSearchConnectionsRequest)
Lists all the inbound cross-cluster search connections for a destination domain.
|
default DescribeInboundCrossClusterSearchConnectionsPublisher |
describeInboundCrossClusterSearchConnectionsPaginator(DescribeInboundCrossClusterSearchConnectionsRequest describeInboundCrossClusterSearchConnectionsRequest)
Lists all the inbound cross-cluster search connections for a destination domain.
|
default CompletableFuture<DescribeOutboundCrossClusterSearchConnectionsResponse> |
describeOutboundCrossClusterSearchConnections(Consumer<DescribeOutboundCrossClusterSearchConnectionsRequest.Builder> describeOutboundCrossClusterSearchConnectionsRequest)
Lists all the outbound cross-cluster search connections for a source domain.
|
default CompletableFuture<DescribeOutboundCrossClusterSearchConnectionsResponse> |
describeOutboundCrossClusterSearchConnections(DescribeOutboundCrossClusterSearchConnectionsRequest describeOutboundCrossClusterSearchConnectionsRequest)
Lists all the outbound cross-cluster search connections for a source domain.
|
default DescribeOutboundCrossClusterSearchConnectionsPublisher |
describeOutboundCrossClusterSearchConnectionsPaginator(Consumer<DescribeOutboundCrossClusterSearchConnectionsRequest.Builder> describeOutboundCrossClusterSearchConnectionsRequest)
Lists all the outbound cross-cluster search connections for a source domain.
|
default DescribeOutboundCrossClusterSearchConnectionsPublisher |
describeOutboundCrossClusterSearchConnectionsPaginator(DescribeOutboundCrossClusterSearchConnectionsRequest describeOutboundCrossClusterSearchConnectionsRequest)
Lists all the outbound cross-cluster search connections for a source domain.
|
default CompletableFuture<DescribePackagesResponse> |
describePackages(Consumer<DescribePackagesRequest.Builder> describePackagesRequest)
Describes all packages available to Amazon ES.
|
default CompletableFuture<DescribePackagesResponse> |
describePackages(DescribePackagesRequest describePackagesRequest)
Describes all packages available to Amazon ES.
|
default DescribePackagesPublisher |
describePackagesPaginator(Consumer<DescribePackagesRequest.Builder> describePackagesRequest)
Describes all packages available to Amazon ES.
|
default DescribePackagesPublisher |
describePackagesPaginator(DescribePackagesRequest describePackagesRequest)
Describes all packages available to Amazon ES.
|
default CompletableFuture<DescribeReservedElasticsearchInstanceOfferingsResponse> |
describeReservedElasticsearchInstanceOfferings()
Lists available reserved Elasticsearch instance offerings.
|
default CompletableFuture<DescribeReservedElasticsearchInstanceOfferingsResponse> |
describeReservedElasticsearchInstanceOfferings(Consumer<DescribeReservedElasticsearchInstanceOfferingsRequest.Builder> describeReservedElasticsearchInstanceOfferingsRequest)
Lists available reserved Elasticsearch instance offerings.
|
default CompletableFuture<DescribeReservedElasticsearchInstanceOfferingsResponse> |
describeReservedElasticsearchInstanceOfferings(DescribeReservedElasticsearchInstanceOfferingsRequest describeReservedElasticsearchInstanceOfferingsRequest)
Lists available reserved Elasticsearch instance offerings.
|
default DescribeReservedElasticsearchInstanceOfferingsPublisher |
describeReservedElasticsearchInstanceOfferingsPaginator()
Lists available reserved Elasticsearch instance offerings.
|
default DescribeReservedElasticsearchInstanceOfferingsPublisher |
describeReservedElasticsearchInstanceOfferingsPaginator(Consumer<DescribeReservedElasticsearchInstanceOfferingsRequest.Builder> describeReservedElasticsearchInstanceOfferingsRequest)
Lists available reserved Elasticsearch instance offerings.
|
default DescribeReservedElasticsearchInstanceOfferingsPublisher |
describeReservedElasticsearchInstanceOfferingsPaginator(DescribeReservedElasticsearchInstanceOfferingsRequest describeReservedElasticsearchInstanceOfferingsRequest)
Lists available reserved Elasticsearch instance offerings.
|
default CompletableFuture<DescribeReservedElasticsearchInstancesResponse> |
describeReservedElasticsearchInstances()
Returns information about reserved Elasticsearch instances for this account.
|
default CompletableFuture<DescribeReservedElasticsearchInstancesResponse> |
describeReservedElasticsearchInstances(Consumer<DescribeReservedElasticsearchInstancesRequest.Builder> describeReservedElasticsearchInstancesRequest)
Returns information about reserved Elasticsearch instances for this account.
|
default CompletableFuture<DescribeReservedElasticsearchInstancesResponse> |
describeReservedElasticsearchInstances(DescribeReservedElasticsearchInstancesRequest describeReservedElasticsearchInstancesRequest)
Returns information about reserved Elasticsearch instances for this account.
|
default DescribeReservedElasticsearchInstancesPublisher |
describeReservedElasticsearchInstancesPaginator()
Returns information about reserved Elasticsearch instances for this account.
|
default DescribeReservedElasticsearchInstancesPublisher |
describeReservedElasticsearchInstancesPaginator(Consumer<DescribeReservedElasticsearchInstancesRequest.Builder> describeReservedElasticsearchInstancesRequest)
Returns information about reserved Elasticsearch instances for this account.
|
default DescribeReservedElasticsearchInstancesPublisher |
describeReservedElasticsearchInstancesPaginator(DescribeReservedElasticsearchInstancesRequest describeReservedElasticsearchInstancesRequest)
Returns information about reserved Elasticsearch instances for this account.
|
default CompletableFuture<DissociatePackageResponse> |
dissociatePackage(Consumer<DissociatePackageRequest.Builder> dissociatePackageRequest)
Dissociates a package from the Amazon ES domain.
|
default CompletableFuture<DissociatePackageResponse> |
dissociatePackage(DissociatePackageRequest dissociatePackageRequest)
Dissociates a package from the Amazon ES domain.
|
default CompletableFuture<GetCompatibleElasticsearchVersionsResponse> |
getCompatibleElasticsearchVersions()
Returns a list of upgrade compatible Elastisearch versions.
|
default CompletableFuture<GetCompatibleElasticsearchVersionsResponse> |
getCompatibleElasticsearchVersions(Consumer<GetCompatibleElasticsearchVersionsRequest.Builder> getCompatibleElasticsearchVersionsRequest)
Returns a list of upgrade compatible Elastisearch versions.
|
default CompletableFuture<GetCompatibleElasticsearchVersionsResponse> |
getCompatibleElasticsearchVersions(GetCompatibleElasticsearchVersionsRequest getCompatibleElasticsearchVersionsRequest)
Returns a list of upgrade compatible Elastisearch versions.
|
default CompletableFuture<GetPackageVersionHistoryResponse> |
getPackageVersionHistory(Consumer<GetPackageVersionHistoryRequest.Builder> getPackageVersionHistoryRequest)
Returns a list of versions of the package, along with their creation time and commit message.
|
default CompletableFuture<GetPackageVersionHistoryResponse> |
getPackageVersionHistory(GetPackageVersionHistoryRequest getPackageVersionHistoryRequest)
Returns a list of versions of the package, along with their creation time and commit message.
|
default GetPackageVersionHistoryPublisher |
getPackageVersionHistoryPaginator(Consumer<GetPackageVersionHistoryRequest.Builder> getPackageVersionHistoryRequest)
Returns a list of versions of the package, along with their creation time and commit message.
|
default GetPackageVersionHistoryPublisher |
getPackageVersionHistoryPaginator(GetPackageVersionHistoryRequest getPackageVersionHistoryRequest)
Returns a list of versions of the package, along with their creation time and commit message.
|
default CompletableFuture<GetUpgradeHistoryResponse> |
getUpgradeHistory(Consumer<GetUpgradeHistoryRequest.Builder> getUpgradeHistoryRequest)
Retrieves the complete history of the last 10 upgrades that were performed on the domain.
|
default CompletableFuture<GetUpgradeHistoryResponse> |
getUpgradeHistory(GetUpgradeHistoryRequest getUpgradeHistoryRequest)
Retrieves the complete history of the last 10 upgrades that were performed on the domain.
|
default GetUpgradeHistoryPublisher |
getUpgradeHistoryPaginator(Consumer<GetUpgradeHistoryRequest.Builder> getUpgradeHistoryRequest)
Retrieves the complete history of the last 10 upgrades that were performed on the domain.
|
default GetUpgradeHistoryPublisher |
getUpgradeHistoryPaginator(GetUpgradeHistoryRequest getUpgradeHistoryRequest)
Retrieves the complete history of the last 10 upgrades that were performed on the domain.
|
default CompletableFuture<GetUpgradeStatusResponse> |
getUpgradeStatus(Consumer<GetUpgradeStatusRequest.Builder> getUpgradeStatusRequest)
Retrieves the latest status of the last upgrade or upgrade eligibility check that was performed on the domain.
|
default CompletableFuture<GetUpgradeStatusResponse> |
getUpgradeStatus(GetUpgradeStatusRequest getUpgradeStatusRequest)
Retrieves the latest status of the last upgrade or upgrade eligibility check that was performed on the domain.
|
default CompletableFuture<ListDomainNamesResponse> |
listDomainNames()
Returns the name of all Elasticsearch domains owned by the current user's account.
|
default CompletableFuture<ListDomainNamesResponse> |
listDomainNames(Consumer<ListDomainNamesRequest.Builder> listDomainNamesRequest)
Returns the name of all Elasticsearch domains owned by the current user's account.
|
default CompletableFuture<ListDomainNamesResponse> |
listDomainNames(ListDomainNamesRequest listDomainNamesRequest)
Returns the name of all Elasticsearch domains owned by the current user's account.
|
default CompletableFuture<ListDomainsForPackageResponse> |
listDomainsForPackage(Consumer<ListDomainsForPackageRequest.Builder> listDomainsForPackageRequest)
Lists all Amazon ES domains associated with the package.
|
default CompletableFuture<ListDomainsForPackageResponse> |
listDomainsForPackage(ListDomainsForPackageRequest listDomainsForPackageRequest)
Lists all Amazon ES domains associated with the package.
|
default ListDomainsForPackagePublisher |
listDomainsForPackagePaginator(Consumer<ListDomainsForPackageRequest.Builder> listDomainsForPackageRequest)
Lists all Amazon ES domains associated with the package.
|
default ListDomainsForPackagePublisher |
listDomainsForPackagePaginator(ListDomainsForPackageRequest listDomainsForPackageRequest)
Lists all Amazon ES domains associated with the package.
|
default CompletableFuture<ListElasticsearchInstanceTypesResponse> |
listElasticsearchInstanceTypes(Consumer<ListElasticsearchInstanceTypesRequest.Builder> listElasticsearchInstanceTypesRequest)
List all Elasticsearch instance types that are supported for given ElasticsearchVersion
|
default CompletableFuture<ListElasticsearchInstanceTypesResponse> |
listElasticsearchInstanceTypes(ListElasticsearchInstanceTypesRequest listElasticsearchInstanceTypesRequest)
List all Elasticsearch instance types that are supported for given ElasticsearchVersion
|
default ListElasticsearchInstanceTypesPublisher |
listElasticsearchInstanceTypesPaginator(Consumer<ListElasticsearchInstanceTypesRequest.Builder> listElasticsearchInstanceTypesRequest)
List all Elasticsearch instance types that are supported for given ElasticsearchVersion
|
default ListElasticsearchInstanceTypesPublisher |
listElasticsearchInstanceTypesPaginator(ListElasticsearchInstanceTypesRequest listElasticsearchInstanceTypesRequest)
List all Elasticsearch instance types that are supported for given ElasticsearchVersion
|
default CompletableFuture<ListElasticsearchVersionsResponse> |
listElasticsearchVersions()
List all supported Elasticsearch versions
|
default CompletableFuture<ListElasticsearchVersionsResponse> |
listElasticsearchVersions(Consumer<ListElasticsearchVersionsRequest.Builder> listElasticsearchVersionsRequest)
List all supported Elasticsearch versions
|
default CompletableFuture<ListElasticsearchVersionsResponse> |
listElasticsearchVersions(ListElasticsearchVersionsRequest listElasticsearchVersionsRequest)
List all supported Elasticsearch versions
|
default ListElasticsearchVersionsPublisher |
listElasticsearchVersionsPaginator()
List all supported Elasticsearch versions
|
default ListElasticsearchVersionsPublisher |
listElasticsearchVersionsPaginator(Consumer<ListElasticsearchVersionsRequest.Builder> listElasticsearchVersionsRequest)
List all supported Elasticsearch versions
|
default ListElasticsearchVersionsPublisher |
listElasticsearchVersionsPaginator(ListElasticsearchVersionsRequest listElasticsearchVersionsRequest)
List all supported Elasticsearch versions
|
default CompletableFuture<ListPackagesForDomainResponse> |
listPackagesForDomain(Consumer<ListPackagesForDomainRequest.Builder> listPackagesForDomainRequest)
Lists all packages associated with the Amazon ES domain.
|
default CompletableFuture<ListPackagesForDomainResponse> |
listPackagesForDomain(ListPackagesForDomainRequest listPackagesForDomainRequest)
Lists all packages associated with the Amazon ES domain.
|
default ListPackagesForDomainPublisher |
listPackagesForDomainPaginator(Consumer<ListPackagesForDomainRequest.Builder> listPackagesForDomainRequest)
Lists all packages associated with the Amazon ES domain.
|
default ListPackagesForDomainPublisher |
listPackagesForDomainPaginator(ListPackagesForDomainRequest listPackagesForDomainRequest)
Lists all packages associated with the Amazon ES domain.
|
default CompletableFuture<ListTagsResponse> |
listTags(Consumer<ListTagsRequest.Builder> listTagsRequest)
Returns all tags for the given Elasticsearch domain.
|
default CompletableFuture<ListTagsResponse> |
listTags(ListTagsRequest listTagsRequest)
Returns all tags for the given Elasticsearch domain.
|
default CompletableFuture<PurchaseReservedElasticsearchInstanceOfferingResponse> |
purchaseReservedElasticsearchInstanceOffering(Consumer<PurchaseReservedElasticsearchInstanceOfferingRequest.Builder> purchaseReservedElasticsearchInstanceOfferingRequest)
Allows you to purchase reserved Elasticsearch instances.
|
default CompletableFuture<PurchaseReservedElasticsearchInstanceOfferingResponse> |
purchaseReservedElasticsearchInstanceOffering(PurchaseReservedElasticsearchInstanceOfferingRequest purchaseReservedElasticsearchInstanceOfferingRequest)
Allows you to purchase reserved Elasticsearch instances.
|
default CompletableFuture<RejectInboundCrossClusterSearchConnectionResponse> |
rejectInboundCrossClusterSearchConnection(Consumer<RejectInboundCrossClusterSearchConnectionRequest.Builder> rejectInboundCrossClusterSearchConnectionRequest)
Allows the destination domain owner to reject an inbound cross-cluster search connection request.
|
default CompletableFuture<RejectInboundCrossClusterSearchConnectionResponse> |
rejectInboundCrossClusterSearchConnection(RejectInboundCrossClusterSearchConnectionRequest rejectInboundCrossClusterSearchConnectionRequest)
Allows the destination domain owner to reject an inbound cross-cluster search connection request.
|
default CompletableFuture<RemoveTagsResponse> |
removeTags(Consumer<RemoveTagsRequest.Builder> removeTagsRequest)
Removes the specified set of tags from the specified Elasticsearch domain.
|
default CompletableFuture<RemoveTagsResponse> |
removeTags(RemoveTagsRequest removeTagsRequest)
Removes the specified set of tags from the specified Elasticsearch domain.
|
default CompletableFuture<StartElasticsearchServiceSoftwareUpdateResponse> |
startElasticsearchServiceSoftwareUpdate(Consumer<StartElasticsearchServiceSoftwareUpdateRequest.Builder> startElasticsearchServiceSoftwareUpdateRequest)
Schedules a service software update for an Amazon ES domain.
|
default CompletableFuture<StartElasticsearchServiceSoftwareUpdateResponse> |
startElasticsearchServiceSoftwareUpdate(StartElasticsearchServiceSoftwareUpdateRequest startElasticsearchServiceSoftwareUpdateRequest)
Schedules a service software update for an Amazon ES domain.
|
default CompletableFuture<UpdateElasticsearchDomainConfigResponse> |
updateElasticsearchDomainConfig(Consumer<UpdateElasticsearchDomainConfigRequest.Builder> updateElasticsearchDomainConfigRequest)
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type
and the number of instances.
|
default CompletableFuture<UpdateElasticsearchDomainConfigResponse> |
updateElasticsearchDomainConfig(UpdateElasticsearchDomainConfigRequest updateElasticsearchDomainConfigRequest)
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type
and the number of instances.
|
default CompletableFuture<UpdatePackageResponse> |
updatePackage(Consumer<UpdatePackageRequest.Builder> updatePackageRequest)
Updates a package for use with Amazon ES domains.
|
default CompletableFuture<UpdatePackageResponse> |
updatePackage(UpdatePackageRequest updatePackageRequest)
Updates a package for use with Amazon ES domains.
|
default CompletableFuture<UpgradeElasticsearchDomainResponse> |
upgradeElasticsearchDomain(Consumer<UpgradeElasticsearchDomainRequest.Builder> upgradeElasticsearchDomainRequest)
Allows you to either upgrade your domain or perform an Upgrade eligibility check to a compatible Elasticsearch
version.
|
default CompletableFuture<UpgradeElasticsearchDomainResponse> |
upgradeElasticsearchDomain(UpgradeElasticsearchDomainRequest upgradeElasticsearchDomainRequest)
Allows you to either upgrade your domain or perform an Upgrade eligibility check to a compatible Elasticsearch
version.
|
serviceName
close
static final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider
.static ElasticsearchAsyncClient create()
ElasticsearchAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static ElasticsearchAsyncClientBuilder builder()
ElasticsearchAsyncClient
.default CompletableFuture<AcceptInboundCrossClusterSearchConnectionResponse> acceptInboundCrossClusterSearchConnection(AcceptInboundCrossClusterSearchConnectionRequest acceptInboundCrossClusterSearchConnectionRequest)
Allows the destination domain owner to accept an inbound cross-cluster search connection request.
acceptInboundCrossClusterSearchConnectionRequest
- Container for the parameters to the AcceptInboundCrossClusterSearchConnection
operation.default CompletableFuture<AcceptInboundCrossClusterSearchConnectionResponse> acceptInboundCrossClusterSearchConnection(Consumer<AcceptInboundCrossClusterSearchConnectionRequest.Builder> acceptInboundCrossClusterSearchConnectionRequest)
Allows the destination domain owner to accept an inbound cross-cluster search connection request.
This is a convenience which creates an instance of the
AcceptInboundCrossClusterSearchConnectionRequest.Builder
avoiding the need to create one manually via
AcceptInboundCrossClusterSearchConnectionRequest.builder()
acceptInboundCrossClusterSearchConnectionRequest
- A Consumer
that will call methods on
AcceptInboundCrossClusterSearchConnectionRequest.Builder
to create a request. Container for the
parameters to the AcceptInboundCrossClusterSearchConnection
operation.default CompletableFuture<AddTagsResponse> addTags(AddTagsRequest addTagsRequest)
Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging Amazon Elasticsearch Service Domains for more information.
addTagsRequest
- Container for the parameters to the AddTags
operation. Specify the tags that you want
to attach to the Elasticsearch domain.default CompletableFuture<AddTagsResponse> addTags(Consumer<AddTagsRequest.Builder> addTagsRequest)
Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging Amazon Elasticsearch Service Domains for more information.
This is a convenience which creates an instance of the AddTagsRequest.Builder
avoiding the need to create
one manually via AddTagsRequest.builder()
addTagsRequest
- A Consumer
that will call methods on AddTagsRequest.Builder
to create a request. Container
for the parameters to the AddTags
operation. Specify the tags that you want to attach
to the Elasticsearch domain.default CompletableFuture<AssociatePackageResponse> associatePackage(AssociatePackageRequest associatePackageRequest)
Associates a package with an Amazon ES domain.
associatePackageRequest
- Container for request parameters to AssociatePackage
operation.default CompletableFuture<AssociatePackageResponse> associatePackage(Consumer<AssociatePackageRequest.Builder> associatePackageRequest)
Associates a package with an Amazon ES domain.
This is a convenience which creates an instance of the AssociatePackageRequest.Builder
avoiding the need
to create one manually via AssociatePackageRequest.builder()
associatePackageRequest
- A Consumer
that will call methods on AssociatePackageRequest.Builder
to create a request.
Container for request parameters to AssociatePackage
operation.default CompletableFuture<CancelElasticsearchServiceSoftwareUpdateResponse> cancelElasticsearchServiceSoftwareUpdate(CancelElasticsearchServiceSoftwareUpdateRequest cancelElasticsearchServiceSoftwareUpdateRequest)
Cancels a scheduled service software update for an Amazon ES domain. You can only perform this operation before
the AutomatedUpdateDate
and when the UpdateStatus
is in the PENDING_UPDATE
state.
cancelElasticsearchServiceSoftwareUpdateRequest
- Container for the parameters to the CancelElasticsearchServiceSoftwareUpdate
operation. Specifies the name of the Elasticsearch domain that you wish to cancel a service software
update on.default CompletableFuture<CancelElasticsearchServiceSoftwareUpdateResponse> cancelElasticsearchServiceSoftwareUpdate(Consumer<CancelElasticsearchServiceSoftwareUpdateRequest.Builder> cancelElasticsearchServiceSoftwareUpdateRequest)
Cancels a scheduled service software update for an Amazon ES domain. You can only perform this operation before
the AutomatedUpdateDate
and when the UpdateStatus
is in the PENDING_UPDATE
state.
This is a convenience which creates an instance of the
CancelElasticsearchServiceSoftwareUpdateRequest.Builder
avoiding the need to create one manually via
CancelElasticsearchServiceSoftwareUpdateRequest.builder()
cancelElasticsearchServiceSoftwareUpdateRequest
- A Consumer
that will call methods on
CancelElasticsearchServiceSoftwareUpdateRequest.Builder
to create a request. Container for the
parameters to the CancelElasticsearchServiceSoftwareUpdate
operation. Specifies the
name of the Elasticsearch domain that you wish to cancel a service software update on.default CompletableFuture<CreateElasticsearchDomainResponse> createElasticsearchDomain(CreateElasticsearchDomainRequest createElasticsearchDomainRequest)
Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
createElasticsearchDomainRequest
- default CompletableFuture<CreateElasticsearchDomainResponse> createElasticsearchDomain(Consumer<CreateElasticsearchDomainRequest.Builder> createElasticsearchDomainRequest)
Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
This is a convenience which creates an instance of the CreateElasticsearchDomainRequest.Builder
avoiding
the need to create one manually via CreateElasticsearchDomainRequest.builder()
createElasticsearchDomainRequest
- A Consumer
that will call methods on CreateElasticsearchDomainRequest.Builder
to create a
request.default CompletableFuture<CreateOutboundCrossClusterSearchConnectionResponse> createOutboundCrossClusterSearchConnection(CreateOutboundCrossClusterSearchConnectionRequest createOutboundCrossClusterSearchConnectionRequest)
Creates a new cross-cluster search connection from a source domain to a destination domain.
createOutboundCrossClusterSearchConnectionRequest
- Container for the parameters to the CreateOutboundCrossClusterSearchConnection
operation.default CompletableFuture<CreateOutboundCrossClusterSearchConnectionResponse> createOutboundCrossClusterSearchConnection(Consumer<CreateOutboundCrossClusterSearchConnectionRequest.Builder> createOutboundCrossClusterSearchConnectionRequest)
Creates a new cross-cluster search connection from a source domain to a destination domain.
This is a convenience which creates an instance of the
CreateOutboundCrossClusterSearchConnectionRequest.Builder
avoiding the need to create one manually via
CreateOutboundCrossClusterSearchConnectionRequest.builder()
createOutboundCrossClusterSearchConnectionRequest
- A Consumer
that will call methods on
CreateOutboundCrossClusterSearchConnectionRequest.Builder
to create a request. Container for the
parameters to the CreateOutboundCrossClusterSearchConnection
operation.default CompletableFuture<CreatePackageResponse> createPackage(CreatePackageRequest createPackageRequest)
Create a package for use with Amazon ES domains.
createPackageRequest
- Container for request parameters to CreatePackage
operation.default CompletableFuture<CreatePackageResponse> createPackage(Consumer<CreatePackageRequest.Builder> createPackageRequest)
Create a package for use with Amazon ES domains.
This is a convenience which creates an instance of the CreatePackageRequest.Builder
avoiding the need to
create one manually via CreatePackageRequest.builder()
createPackageRequest
- A Consumer
that will call methods on CreatePackageRequest.Builder
to create a request.
Container for request parameters to CreatePackage
operation.default CompletableFuture<DeleteElasticsearchDomainResponse> deleteElasticsearchDomain(DeleteElasticsearchDomainRequest deleteElasticsearchDomainRequest)
Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.
deleteElasticsearchDomainRequest
- Container for the parameters to the DeleteElasticsearchDomain
operation. Specifies the
name of the Elasticsearch domain that you want to delete.default CompletableFuture<DeleteElasticsearchDomainResponse> deleteElasticsearchDomain(Consumer<DeleteElasticsearchDomainRequest.Builder> deleteElasticsearchDomainRequest)
Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.
This is a convenience which creates an instance of the DeleteElasticsearchDomainRequest.Builder
avoiding
the need to create one manually via DeleteElasticsearchDomainRequest.builder()
deleteElasticsearchDomainRequest
- A Consumer
that will call methods on DeleteElasticsearchDomainRequest.Builder
to create a
request. Container for the parameters to the DeleteElasticsearchDomain
operation.
Specifies the name of the Elasticsearch domain that you want to delete.default CompletableFuture<DeleteElasticsearchServiceRoleResponse> deleteElasticsearchServiceRole(DeleteElasticsearchServiceRoleRequest deleteElasticsearchServiceRoleRequest)
Deletes the service-linked role that Elasticsearch Service uses to manage and maintain VPC domains. Role deletion will fail if any existing VPC domains use the role. You must delete any such Elasticsearch domains before deleting the role. See Deleting Elasticsearch Service Role in VPC Endpoints for Amazon Elasticsearch Service Domains.
deleteElasticsearchServiceRoleRequest
- default CompletableFuture<DeleteElasticsearchServiceRoleResponse> deleteElasticsearchServiceRole(Consumer<DeleteElasticsearchServiceRoleRequest.Builder> deleteElasticsearchServiceRoleRequest)
Deletes the service-linked role that Elasticsearch Service uses to manage and maintain VPC domains. Role deletion will fail if any existing VPC domains use the role. You must delete any such Elasticsearch domains before deleting the role. See Deleting Elasticsearch Service Role in VPC Endpoints for Amazon Elasticsearch Service Domains.
This is a convenience which creates an instance of the DeleteElasticsearchServiceRoleRequest.Builder
avoiding the need to create one manually via DeleteElasticsearchServiceRoleRequest.builder()
deleteElasticsearchServiceRoleRequest
- A Consumer
that will call methods on DeleteElasticsearchServiceRoleRequest.Builder
to
create a request.default CompletableFuture<DeleteElasticsearchServiceRoleResponse> deleteElasticsearchServiceRole()
Deletes the service-linked role that Elasticsearch Service uses to manage and maintain VPC domains. Role deletion will fail if any existing VPC domains use the role. You must delete any such Elasticsearch domains before deleting the role. See Deleting Elasticsearch Service Role in VPC Endpoints for Amazon Elasticsearch Service Domains.
default CompletableFuture<DeleteInboundCrossClusterSearchConnectionResponse> deleteInboundCrossClusterSearchConnection(DeleteInboundCrossClusterSearchConnectionRequest deleteInboundCrossClusterSearchConnectionRequest)
Allows the destination domain owner to delete an existing inbound cross-cluster search connection.
deleteInboundCrossClusterSearchConnectionRequest
- Container for the parameters to the DeleteInboundCrossClusterSearchConnection
operation.default CompletableFuture<DeleteInboundCrossClusterSearchConnectionResponse> deleteInboundCrossClusterSearchConnection(Consumer<DeleteInboundCrossClusterSearchConnectionRequest.Builder> deleteInboundCrossClusterSearchConnectionRequest)
Allows the destination domain owner to delete an existing inbound cross-cluster search connection.
This is a convenience which creates an instance of the
DeleteInboundCrossClusterSearchConnectionRequest.Builder
avoiding the need to create one manually via
DeleteInboundCrossClusterSearchConnectionRequest.builder()
deleteInboundCrossClusterSearchConnectionRequest
- A Consumer
that will call methods on
DeleteInboundCrossClusterSearchConnectionRequest.Builder
to create a request. Container for the
parameters to the DeleteInboundCrossClusterSearchConnection
operation.default CompletableFuture<DeleteOutboundCrossClusterSearchConnectionResponse> deleteOutboundCrossClusterSearchConnection(DeleteOutboundCrossClusterSearchConnectionRequest deleteOutboundCrossClusterSearchConnectionRequest)
Allows the source domain owner to delete an existing outbound cross-cluster search connection.
deleteOutboundCrossClusterSearchConnectionRequest
- Container for the parameters to the DeleteOutboundCrossClusterSearchConnection
operation.default CompletableFuture<DeleteOutboundCrossClusterSearchConnectionResponse> deleteOutboundCrossClusterSearchConnection(Consumer<DeleteOutboundCrossClusterSearchConnectionRequest.Builder> deleteOutboundCrossClusterSearchConnectionRequest)
Allows the source domain owner to delete an existing outbound cross-cluster search connection.
This is a convenience which creates an instance of the
DeleteOutboundCrossClusterSearchConnectionRequest.Builder
avoiding the need to create one manually via
DeleteOutboundCrossClusterSearchConnectionRequest.builder()
deleteOutboundCrossClusterSearchConnectionRequest
- A Consumer
that will call methods on
DeleteOutboundCrossClusterSearchConnectionRequest.Builder
to create a request. Container for the
parameters to the DeleteOutboundCrossClusterSearchConnection
operation.default CompletableFuture<DeletePackageResponse> deletePackage(DeletePackageRequest deletePackageRequest)
Delete the package.
deletePackageRequest
- Container for request parameters to DeletePackage
operation.default CompletableFuture<DeletePackageResponse> deletePackage(Consumer<DeletePackageRequest.Builder> deletePackageRequest)
Delete the package.
This is a convenience which creates an instance of the DeletePackageRequest.Builder
avoiding the need to
create one manually via DeletePackageRequest.builder()
deletePackageRequest
- A Consumer
that will call methods on DeletePackageRequest.Builder
to create a request.
Container for request parameters to DeletePackage
operation.default CompletableFuture<DescribeDomainAutoTunesResponse> describeDomainAutoTunes(DescribeDomainAutoTunesRequest describeDomainAutoTunesRequest)
Provides scheduled Auto-Tune action details for the Elasticsearch domain, such as Auto-Tune action type, description, severity, and scheduled date.
describeDomainAutoTunesRequest
- Container for the parameters to the DescribeDomainAutoTunes
operation.default CompletableFuture<DescribeDomainAutoTunesResponse> describeDomainAutoTunes(Consumer<DescribeDomainAutoTunesRequest.Builder> describeDomainAutoTunesRequest)
Provides scheduled Auto-Tune action details for the Elasticsearch domain, such as Auto-Tune action type, description, severity, and scheduled date.
This is a convenience which creates an instance of the DescribeDomainAutoTunesRequest.Builder
avoiding
the need to create one manually via DescribeDomainAutoTunesRequest.builder()
describeDomainAutoTunesRequest
- A Consumer
that will call methods on DescribeDomainAutoTunesRequest.Builder
to create a
request. Container for the parameters to the DescribeDomainAutoTunes
operation.default DescribeDomainAutoTunesPublisher describeDomainAutoTunesPaginator(DescribeDomainAutoTunesRequest describeDomainAutoTunesRequest)
Provides scheduled Auto-Tune action details for the Elasticsearch domain, such as Auto-Tune action type, description, severity, and scheduled date.
This is a variant of
describeDomainAutoTunes(software.amazon.awssdk.services.elasticsearch.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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.DescribeDomainAutoTunesPublisher publisher = client.describeDomainAutoTunesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.DescribeDomainAutoTunesPublisher publisher = client.describeDomainAutoTunesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.DescribeDomainAutoTunesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.DescribeDomainAutoTunesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.elasticsearch.model.DescribeDomainAutoTunesRequest)
operation.
describeDomainAutoTunesRequest
- Container for the parameters to the DescribeDomainAutoTunes
operation.default DescribeDomainAutoTunesPublisher describeDomainAutoTunesPaginator(Consumer<DescribeDomainAutoTunesRequest.Builder> describeDomainAutoTunesRequest)
Provides scheduled Auto-Tune action details for the Elasticsearch domain, such as Auto-Tune action type, description, severity, and scheduled date.
This is a variant of
describeDomainAutoTunes(software.amazon.awssdk.services.elasticsearch.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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.DescribeDomainAutoTunesPublisher publisher = client.describeDomainAutoTunesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.DescribeDomainAutoTunesPublisher publisher = client.describeDomainAutoTunesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.DescribeDomainAutoTunesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.DescribeDomainAutoTunesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.elasticsearch.model.DescribeDomainAutoTunesRequest)
operation.
This is a convenience which creates an instance of the DescribeDomainAutoTunesRequest.Builder
avoiding
the need to create one manually via DescribeDomainAutoTunesRequest.builder()
describeDomainAutoTunesRequest
- A Consumer
that will call methods on DescribeDomainAutoTunesRequest.Builder
to create a
request. Container for the parameters to the DescribeDomainAutoTunes
operation.default CompletableFuture<DescribeElasticsearchDomainResponse> describeElasticsearchDomain(DescribeElasticsearchDomainRequest describeElasticsearchDomainRequest)
Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.
describeElasticsearchDomainRequest
- Container for the parameters to the DescribeElasticsearchDomain
operation.default CompletableFuture<DescribeElasticsearchDomainResponse> describeElasticsearchDomain(Consumer<DescribeElasticsearchDomainRequest.Builder> describeElasticsearchDomainRequest)
Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.
This is a convenience which creates an instance of the DescribeElasticsearchDomainRequest.Builder
avoiding the need to create one manually via DescribeElasticsearchDomainRequest.builder()
describeElasticsearchDomainRequest
- A Consumer
that will call methods on DescribeElasticsearchDomainRequest.Builder
to create
a request. Container for the parameters to the DescribeElasticsearchDomain
operation.default CompletableFuture<DescribeElasticsearchDomainConfigResponse> describeElasticsearchDomainConfig(DescribeElasticsearchDomainConfigRequest describeElasticsearchDomainConfigRequest)
Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.
describeElasticsearchDomainConfigRequest
- Container for the parameters to the DescribeElasticsearchDomainConfig
operation. Specifies
the domain name for which you want configuration information.default CompletableFuture<DescribeElasticsearchDomainConfigResponse> describeElasticsearchDomainConfig(Consumer<DescribeElasticsearchDomainConfigRequest.Builder> describeElasticsearchDomainConfigRequest)
Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.
This is a convenience which creates an instance of the DescribeElasticsearchDomainConfigRequest.Builder
avoiding the need to create one manually via DescribeElasticsearchDomainConfigRequest.builder()
describeElasticsearchDomainConfigRequest
- A Consumer
that will call methods on DescribeElasticsearchDomainConfigRequest.Builder
to
create a request. Container for the parameters to the DescribeElasticsearchDomainConfig
operation. Specifies the domain name for which you want configuration information.default CompletableFuture<DescribeElasticsearchDomainsResponse> describeElasticsearchDomains(DescribeElasticsearchDomainsRequest describeElasticsearchDomainsRequest)
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.
describeElasticsearchDomainsRequest
- Container for the parameters to the DescribeElasticsearchDomains
operation. By
default, the API returns the status of all Elasticsearch domains.default CompletableFuture<DescribeElasticsearchDomainsResponse> describeElasticsearchDomains(Consumer<DescribeElasticsearchDomainsRequest.Builder> describeElasticsearchDomainsRequest)
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.
This is a convenience which creates an instance of the DescribeElasticsearchDomainsRequest.Builder
avoiding the need to create one manually via DescribeElasticsearchDomainsRequest.builder()
describeElasticsearchDomainsRequest
- A Consumer
that will call methods on DescribeElasticsearchDomainsRequest.Builder
to create
a request. Container for the parameters to the DescribeElasticsearchDomains
operation.
By default, the API returns the status of all Elasticsearch domains.default CompletableFuture<DescribeElasticsearchInstanceTypeLimitsResponse> describeElasticsearchInstanceTypeLimits(DescribeElasticsearchInstanceTypeLimitsRequest describeElasticsearchInstanceTypeLimitsRequest)
Describe Elasticsearch Limits for a given InstanceType and ElasticsearchVersion. When modifying existing Domain,
specify the DomainName
to know what Limits are supported for modifying.
describeElasticsearchInstanceTypeLimitsRequest
- Container for the parameters to DescribeElasticsearchInstanceTypeLimits
operation.default CompletableFuture<DescribeElasticsearchInstanceTypeLimitsResponse> describeElasticsearchInstanceTypeLimits(Consumer<DescribeElasticsearchInstanceTypeLimitsRequest.Builder> describeElasticsearchInstanceTypeLimitsRequest)
Describe Elasticsearch Limits for a given InstanceType and ElasticsearchVersion. When modifying existing Domain,
specify the DomainName
to know what Limits are supported for modifying.
This is a convenience which creates an instance of the
DescribeElasticsearchInstanceTypeLimitsRequest.Builder
avoiding the need to create one manually via
DescribeElasticsearchInstanceTypeLimitsRequest.builder()
describeElasticsearchInstanceTypeLimitsRequest
- A Consumer
that will call methods on
DescribeElasticsearchInstanceTypeLimitsRequest.Builder
to create a request. Container for the
parameters to DescribeElasticsearchInstanceTypeLimits
operation.default CompletableFuture<DescribeInboundCrossClusterSearchConnectionsResponse> describeInboundCrossClusterSearchConnections(DescribeInboundCrossClusterSearchConnectionsRequest describeInboundCrossClusterSearchConnectionsRequest)
Lists all the inbound cross-cluster search connections for a destination domain.
describeInboundCrossClusterSearchConnectionsRequest
- Container for the parameters to the DescribeInboundCrossClusterSearchConnections
operation.default CompletableFuture<DescribeInboundCrossClusterSearchConnectionsResponse> describeInboundCrossClusterSearchConnections(Consumer<DescribeInboundCrossClusterSearchConnectionsRequest.Builder> describeInboundCrossClusterSearchConnectionsRequest)
Lists all the inbound cross-cluster search connections for a destination domain.
This is a convenience which creates an instance of the
DescribeInboundCrossClusterSearchConnectionsRequest.Builder
avoiding the need to create one manually via
DescribeInboundCrossClusterSearchConnectionsRequest.builder()
describeInboundCrossClusterSearchConnectionsRequest
- A Consumer
that will call methods on
DescribeInboundCrossClusterSearchConnectionsRequest.Builder
to create a request. Container for the
parameters to the DescribeInboundCrossClusterSearchConnections
operation.default DescribeInboundCrossClusterSearchConnectionsPublisher describeInboundCrossClusterSearchConnectionsPaginator(DescribeInboundCrossClusterSearchConnectionsRequest describeInboundCrossClusterSearchConnectionsRequest)
Lists all the inbound cross-cluster search connections for a destination domain.
This is a variant of
describeInboundCrossClusterSearchConnections(software.amazon.awssdk.services.elasticsearch.model.DescribeInboundCrossClusterSearchConnectionsRequest)
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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.DescribeInboundCrossClusterSearchConnectionsPublisher publisher = client.describeInboundCrossClusterSearchConnectionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.DescribeInboundCrossClusterSearchConnectionsPublisher publisher = client.describeInboundCrossClusterSearchConnectionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.DescribeInboundCrossClusterSearchConnectionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.DescribeInboundCrossClusterSearchConnectionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
describeInboundCrossClusterSearchConnections(software.amazon.awssdk.services.elasticsearch.model.DescribeInboundCrossClusterSearchConnectionsRequest)
operation.
describeInboundCrossClusterSearchConnectionsRequest
- Container for the parameters to the DescribeInboundCrossClusterSearchConnections
operation.default DescribeInboundCrossClusterSearchConnectionsPublisher describeInboundCrossClusterSearchConnectionsPaginator(Consumer<DescribeInboundCrossClusterSearchConnectionsRequest.Builder> describeInboundCrossClusterSearchConnectionsRequest)
Lists all the inbound cross-cluster search connections for a destination domain.
This is a variant of
describeInboundCrossClusterSearchConnections(software.amazon.awssdk.services.elasticsearch.model.DescribeInboundCrossClusterSearchConnectionsRequest)
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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.DescribeInboundCrossClusterSearchConnectionsPublisher publisher = client.describeInboundCrossClusterSearchConnectionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.DescribeInboundCrossClusterSearchConnectionsPublisher publisher = client.describeInboundCrossClusterSearchConnectionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.DescribeInboundCrossClusterSearchConnectionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.DescribeInboundCrossClusterSearchConnectionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
describeInboundCrossClusterSearchConnections(software.amazon.awssdk.services.elasticsearch.model.DescribeInboundCrossClusterSearchConnectionsRequest)
operation.
This is a convenience which creates an instance of the
DescribeInboundCrossClusterSearchConnectionsRequest.Builder
avoiding the need to create one manually via
DescribeInboundCrossClusterSearchConnectionsRequest.builder()
describeInboundCrossClusterSearchConnectionsRequest
- A Consumer
that will call methods on
DescribeInboundCrossClusterSearchConnectionsRequest.Builder
to create a request. Container for the
parameters to the DescribeInboundCrossClusterSearchConnections
operation.default CompletableFuture<DescribeOutboundCrossClusterSearchConnectionsResponse> describeOutboundCrossClusterSearchConnections(DescribeOutboundCrossClusterSearchConnectionsRequest describeOutboundCrossClusterSearchConnectionsRequest)
Lists all the outbound cross-cluster search connections for a source domain.
describeOutboundCrossClusterSearchConnectionsRequest
- Container for the parameters to the DescribeOutboundCrossClusterSearchConnections
operation.default CompletableFuture<DescribeOutboundCrossClusterSearchConnectionsResponse> describeOutboundCrossClusterSearchConnections(Consumer<DescribeOutboundCrossClusterSearchConnectionsRequest.Builder> describeOutboundCrossClusterSearchConnectionsRequest)
Lists all the outbound cross-cluster search connections for a source domain.
This is a convenience which creates an instance of the
DescribeOutboundCrossClusterSearchConnectionsRequest.Builder
avoiding the need to create one manually via
DescribeOutboundCrossClusterSearchConnectionsRequest.builder()
describeOutboundCrossClusterSearchConnectionsRequest
- A Consumer
that will call methods on
DescribeOutboundCrossClusterSearchConnectionsRequest.Builder
to create a request. Container for
the parameters to the DescribeOutboundCrossClusterSearchConnections
operation.default DescribeOutboundCrossClusterSearchConnectionsPublisher describeOutboundCrossClusterSearchConnectionsPaginator(DescribeOutboundCrossClusterSearchConnectionsRequest describeOutboundCrossClusterSearchConnectionsRequest)
Lists all the outbound cross-cluster search connections for a source domain.
This is a variant of
describeOutboundCrossClusterSearchConnections(software.amazon.awssdk.services.elasticsearch.model.DescribeOutboundCrossClusterSearchConnectionsRequest)
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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.DescribeOutboundCrossClusterSearchConnectionsPublisher publisher = client.describeOutboundCrossClusterSearchConnectionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.DescribeOutboundCrossClusterSearchConnectionsPublisher publisher = client.describeOutboundCrossClusterSearchConnectionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.DescribeOutboundCrossClusterSearchConnectionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.DescribeOutboundCrossClusterSearchConnectionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
describeOutboundCrossClusterSearchConnections(software.amazon.awssdk.services.elasticsearch.model.DescribeOutboundCrossClusterSearchConnectionsRequest)
operation.
describeOutboundCrossClusterSearchConnectionsRequest
- Container for the parameters to the DescribeOutboundCrossClusterSearchConnections
operation.default DescribeOutboundCrossClusterSearchConnectionsPublisher describeOutboundCrossClusterSearchConnectionsPaginator(Consumer<DescribeOutboundCrossClusterSearchConnectionsRequest.Builder> describeOutboundCrossClusterSearchConnectionsRequest)
Lists all the outbound cross-cluster search connections for a source domain.
This is a variant of
describeOutboundCrossClusterSearchConnections(software.amazon.awssdk.services.elasticsearch.model.DescribeOutboundCrossClusterSearchConnectionsRequest)
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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.DescribeOutboundCrossClusterSearchConnectionsPublisher publisher = client.describeOutboundCrossClusterSearchConnectionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.DescribeOutboundCrossClusterSearchConnectionsPublisher publisher = client.describeOutboundCrossClusterSearchConnectionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.DescribeOutboundCrossClusterSearchConnectionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.DescribeOutboundCrossClusterSearchConnectionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
describeOutboundCrossClusterSearchConnections(software.amazon.awssdk.services.elasticsearch.model.DescribeOutboundCrossClusterSearchConnectionsRequest)
operation.
This is a convenience which creates an instance of the
DescribeOutboundCrossClusterSearchConnectionsRequest.Builder
avoiding the need to create one manually via
DescribeOutboundCrossClusterSearchConnectionsRequest.builder()
describeOutboundCrossClusterSearchConnectionsRequest
- A Consumer
that will call methods on
DescribeOutboundCrossClusterSearchConnectionsRequest.Builder
to create a request. Container for
the parameters to the DescribeOutboundCrossClusterSearchConnections
operation.default CompletableFuture<DescribePackagesResponse> describePackages(DescribePackagesRequest describePackagesRequest)
Describes all packages available to Amazon ES. Includes options for filtering, limiting the number of results, and pagination.
describePackagesRequest
- Container for request parameters to DescribePackage
operation.default CompletableFuture<DescribePackagesResponse> describePackages(Consumer<DescribePackagesRequest.Builder> describePackagesRequest)
Describes all packages available to Amazon ES. Includes options for filtering, limiting the number of results, and pagination.
This is a convenience which creates an instance of the DescribePackagesRequest.Builder
avoiding the need
to create one manually via DescribePackagesRequest.builder()
describePackagesRequest
- A Consumer
that will call methods on DescribePackagesRequest.Builder
to create a request.
Container for request parameters to DescribePackage
operation.default DescribePackagesPublisher describePackagesPaginator(DescribePackagesRequest describePackagesRequest)
Describes all packages available to Amazon ES. Includes options for filtering, limiting the number of results, and pagination.
This is a variant of
describePackages(software.amazon.awssdk.services.elasticsearch.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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.DescribePackagesPublisher publisher = client.describePackagesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.DescribePackagesPublisher publisher = client.describePackagesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.DescribePackagesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.DescribePackagesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.elasticsearch.model.DescribePackagesRequest)
operation.
describePackagesRequest
- Container for request parameters to DescribePackage
operation.default DescribePackagesPublisher describePackagesPaginator(Consumer<DescribePackagesRequest.Builder> describePackagesRequest)
Describes all packages available to Amazon ES. Includes options for filtering, limiting the number of results, and pagination.
This is a variant of
describePackages(software.amazon.awssdk.services.elasticsearch.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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.DescribePackagesPublisher publisher = client.describePackagesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.DescribePackagesPublisher publisher = client.describePackagesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.DescribePackagesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.DescribePackagesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.elasticsearch.model.DescribePackagesRequest)
operation.
This is a convenience which creates an instance of the DescribePackagesRequest.Builder
avoiding the need
to create one manually via DescribePackagesRequest.builder()
describePackagesRequest
- A Consumer
that will call methods on DescribePackagesRequest.Builder
to create a request.
Container for request parameters to DescribePackage
operation.default CompletableFuture<DescribeReservedElasticsearchInstanceOfferingsResponse> describeReservedElasticsearchInstanceOfferings(DescribeReservedElasticsearchInstanceOfferingsRequest describeReservedElasticsearchInstanceOfferingsRequest)
Lists available reserved Elasticsearch instance offerings.
describeReservedElasticsearchInstanceOfferingsRequest
- Container for parameters to DescribeReservedElasticsearchInstanceOfferings
default CompletableFuture<DescribeReservedElasticsearchInstanceOfferingsResponse> describeReservedElasticsearchInstanceOfferings(Consumer<DescribeReservedElasticsearchInstanceOfferingsRequest.Builder> describeReservedElasticsearchInstanceOfferingsRequest)
Lists available reserved Elasticsearch instance offerings.
This is a convenience which creates an instance of the
DescribeReservedElasticsearchInstanceOfferingsRequest.Builder
avoiding the need to create one manually
via DescribeReservedElasticsearchInstanceOfferingsRequest.builder()
describeReservedElasticsearchInstanceOfferingsRequest
- A Consumer
that will call methods on
DescribeReservedElasticsearchInstanceOfferingsRequest.Builder
to create a request. Container for
parameters to DescribeReservedElasticsearchInstanceOfferings
default CompletableFuture<DescribeReservedElasticsearchInstanceOfferingsResponse> describeReservedElasticsearchInstanceOfferings()
Lists available reserved Elasticsearch instance offerings.
default DescribeReservedElasticsearchInstanceOfferingsPublisher describeReservedElasticsearchInstanceOfferingsPaginator()
Lists available reserved Elasticsearch instance offerings.
This is a variant of
describeReservedElasticsearchInstanceOfferings(software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstanceOfferingsRequest)
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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.DescribeReservedElasticsearchInstanceOfferingsPublisher publisher = client.describeReservedElasticsearchInstanceOfferingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.DescribeReservedElasticsearchInstanceOfferingsPublisher publisher = client.describeReservedElasticsearchInstanceOfferingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstanceOfferingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstanceOfferingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
describeReservedElasticsearchInstanceOfferings(software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstanceOfferingsRequest)
operation.
default DescribeReservedElasticsearchInstanceOfferingsPublisher describeReservedElasticsearchInstanceOfferingsPaginator(DescribeReservedElasticsearchInstanceOfferingsRequest describeReservedElasticsearchInstanceOfferingsRequest)
Lists available reserved Elasticsearch instance offerings.
This is a variant of
describeReservedElasticsearchInstanceOfferings(software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstanceOfferingsRequest)
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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.DescribeReservedElasticsearchInstanceOfferingsPublisher publisher = client.describeReservedElasticsearchInstanceOfferingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.DescribeReservedElasticsearchInstanceOfferingsPublisher publisher = client.describeReservedElasticsearchInstanceOfferingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstanceOfferingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstanceOfferingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
describeReservedElasticsearchInstanceOfferings(software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstanceOfferingsRequest)
operation.
describeReservedElasticsearchInstanceOfferingsRequest
- Container for parameters to DescribeReservedElasticsearchInstanceOfferings
default DescribeReservedElasticsearchInstanceOfferingsPublisher describeReservedElasticsearchInstanceOfferingsPaginator(Consumer<DescribeReservedElasticsearchInstanceOfferingsRequest.Builder> describeReservedElasticsearchInstanceOfferingsRequest)
Lists available reserved Elasticsearch instance offerings.
This is a variant of
describeReservedElasticsearchInstanceOfferings(software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstanceOfferingsRequest)
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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.DescribeReservedElasticsearchInstanceOfferingsPublisher publisher = client.describeReservedElasticsearchInstanceOfferingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.DescribeReservedElasticsearchInstanceOfferingsPublisher publisher = client.describeReservedElasticsearchInstanceOfferingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstanceOfferingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstanceOfferingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
describeReservedElasticsearchInstanceOfferings(software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstanceOfferingsRequest)
operation.
This is a convenience which creates an instance of the
DescribeReservedElasticsearchInstanceOfferingsRequest.Builder
avoiding the need to create one manually
via DescribeReservedElasticsearchInstanceOfferingsRequest.builder()
describeReservedElasticsearchInstanceOfferingsRequest
- A Consumer
that will call methods on
DescribeReservedElasticsearchInstanceOfferingsRequest.Builder
to create a request. Container for
parameters to DescribeReservedElasticsearchInstanceOfferings
default CompletableFuture<DescribeReservedElasticsearchInstancesResponse> describeReservedElasticsearchInstances(DescribeReservedElasticsearchInstancesRequest describeReservedElasticsearchInstancesRequest)
Returns information about reserved Elasticsearch instances for this account.
describeReservedElasticsearchInstancesRequest
- Container for parameters to DescribeReservedElasticsearchInstances
default CompletableFuture<DescribeReservedElasticsearchInstancesResponse> describeReservedElasticsearchInstances(Consumer<DescribeReservedElasticsearchInstancesRequest.Builder> describeReservedElasticsearchInstancesRequest)
Returns information about reserved Elasticsearch instances for this account.
This is a convenience which creates an instance of the
DescribeReservedElasticsearchInstancesRequest.Builder
avoiding the need to create one manually via
DescribeReservedElasticsearchInstancesRequest.builder()
describeReservedElasticsearchInstancesRequest
- A Consumer
that will call methods on DescribeReservedElasticsearchInstancesRequest.Builder
to create a request. Container for parameters to DescribeReservedElasticsearchInstances
default CompletableFuture<DescribeReservedElasticsearchInstancesResponse> describeReservedElasticsearchInstances()
Returns information about reserved Elasticsearch instances for this account.
default DescribeReservedElasticsearchInstancesPublisher describeReservedElasticsearchInstancesPaginator()
Returns information about reserved Elasticsearch instances for this account.
This is a variant of
describeReservedElasticsearchInstances(software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstancesRequest)
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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.DescribeReservedElasticsearchInstancesPublisher publisher = client.describeReservedElasticsearchInstancesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.DescribeReservedElasticsearchInstancesPublisher publisher = client.describeReservedElasticsearchInstancesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstancesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstancesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
describeReservedElasticsearchInstances(software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstancesRequest)
operation.
default DescribeReservedElasticsearchInstancesPublisher describeReservedElasticsearchInstancesPaginator(DescribeReservedElasticsearchInstancesRequest describeReservedElasticsearchInstancesRequest)
Returns information about reserved Elasticsearch instances for this account.
This is a variant of
describeReservedElasticsearchInstances(software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstancesRequest)
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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.DescribeReservedElasticsearchInstancesPublisher publisher = client.describeReservedElasticsearchInstancesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.DescribeReservedElasticsearchInstancesPublisher publisher = client.describeReservedElasticsearchInstancesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstancesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstancesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
describeReservedElasticsearchInstances(software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstancesRequest)
operation.
describeReservedElasticsearchInstancesRequest
- Container for parameters to DescribeReservedElasticsearchInstances
default DescribeReservedElasticsearchInstancesPublisher describeReservedElasticsearchInstancesPaginator(Consumer<DescribeReservedElasticsearchInstancesRequest.Builder> describeReservedElasticsearchInstancesRequest)
Returns information about reserved Elasticsearch instances for this account.
This is a variant of
describeReservedElasticsearchInstances(software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstancesRequest)
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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.DescribeReservedElasticsearchInstancesPublisher publisher = client.describeReservedElasticsearchInstancesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.DescribeReservedElasticsearchInstancesPublisher publisher = client.describeReservedElasticsearchInstancesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstancesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstancesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
describeReservedElasticsearchInstances(software.amazon.awssdk.services.elasticsearch.model.DescribeReservedElasticsearchInstancesRequest)
operation.
This is a convenience which creates an instance of the
DescribeReservedElasticsearchInstancesRequest.Builder
avoiding the need to create one manually via
DescribeReservedElasticsearchInstancesRequest.builder()
describeReservedElasticsearchInstancesRequest
- A Consumer
that will call methods on DescribeReservedElasticsearchInstancesRequest.Builder
to create a request. Container for parameters to DescribeReservedElasticsearchInstances
default CompletableFuture<DissociatePackageResponse> dissociatePackage(DissociatePackageRequest dissociatePackageRequest)
Dissociates a package from the Amazon ES domain.
dissociatePackageRequest
- Container for request parameters to DissociatePackage
operation.default CompletableFuture<DissociatePackageResponse> dissociatePackage(Consumer<DissociatePackageRequest.Builder> dissociatePackageRequest)
Dissociates a package from the Amazon ES domain.
This is a convenience which creates an instance of the DissociatePackageRequest.Builder
avoiding the need
to create one manually via DissociatePackageRequest.builder()
dissociatePackageRequest
- A Consumer
that will call methods on DissociatePackageRequest.Builder
to create a request.
Container for request parameters to DissociatePackage
operation.default CompletableFuture<GetCompatibleElasticsearchVersionsResponse> getCompatibleElasticsearchVersions(GetCompatibleElasticsearchVersionsRequest getCompatibleElasticsearchVersionsRequest)
Returns a list of upgrade compatible Elastisearch versions. You can optionally pass a
DomainName
to get all upgrade compatible Elasticsearch versions for that specific domain.
getCompatibleElasticsearchVersionsRequest
- Container for request parameters to GetCompatibleElasticsearchVersions
operation.default CompletableFuture<GetCompatibleElasticsearchVersionsResponse> getCompatibleElasticsearchVersions(Consumer<GetCompatibleElasticsearchVersionsRequest.Builder> getCompatibleElasticsearchVersionsRequest)
Returns a list of upgrade compatible Elastisearch versions. You can optionally pass a
DomainName
to get all upgrade compatible Elasticsearch versions for that specific domain.
This is a convenience which creates an instance of the GetCompatibleElasticsearchVersionsRequest.Builder
avoiding the need to create one manually via GetCompatibleElasticsearchVersionsRequest.builder()
getCompatibleElasticsearchVersionsRequest
- A Consumer
that will call methods on GetCompatibleElasticsearchVersionsRequest.Builder
to
create a request. Container for request parameters to
GetCompatibleElasticsearchVersions
operation.default CompletableFuture<GetCompatibleElasticsearchVersionsResponse> getCompatibleElasticsearchVersions()
Returns a list of upgrade compatible Elastisearch versions. You can optionally pass a
DomainName
to get all upgrade compatible Elasticsearch versions for that specific domain.
default CompletableFuture<GetPackageVersionHistoryResponse> getPackageVersionHistory(GetPackageVersionHistoryRequest getPackageVersionHistoryRequest)
Returns a list of versions of the package, along with their creation time and commit message.
getPackageVersionHistoryRequest
- Container for request parameters to GetPackageVersionHistory
operation.default CompletableFuture<GetPackageVersionHistoryResponse> getPackageVersionHistory(Consumer<GetPackageVersionHistoryRequest.Builder> getPackageVersionHistoryRequest)
Returns a list of versions of the package, along with their creation time and commit message.
This is a convenience which creates an instance of the GetPackageVersionHistoryRequest.Builder
avoiding
the need to create one manually via GetPackageVersionHistoryRequest.builder()
getPackageVersionHistoryRequest
- A Consumer
that will call methods on GetPackageVersionHistoryRequest.Builder
to create a
request. Container for request parameters to GetPackageVersionHistory
operation.default GetPackageVersionHistoryPublisher getPackageVersionHistoryPaginator(GetPackageVersionHistoryRequest getPackageVersionHistoryRequest)
Returns a list of versions of the package, along with their creation time and commit message.
This is a variant of
getPackageVersionHistory(software.amazon.awssdk.services.elasticsearch.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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.GetPackageVersionHistoryPublisher publisher = client.getPackageVersionHistoryPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.GetPackageVersionHistoryPublisher publisher = client.getPackageVersionHistoryPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.GetPackageVersionHistoryResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.GetPackageVersionHistoryResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.elasticsearch.model.GetPackageVersionHistoryRequest)
operation.
getPackageVersionHistoryRequest
- Container for request parameters to GetPackageVersionHistory
operation.default GetPackageVersionHistoryPublisher getPackageVersionHistoryPaginator(Consumer<GetPackageVersionHistoryRequest.Builder> getPackageVersionHistoryRequest)
Returns a list of versions of the package, along with their creation time and commit message.
This is a variant of
getPackageVersionHistory(software.amazon.awssdk.services.elasticsearch.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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.GetPackageVersionHistoryPublisher publisher = client.getPackageVersionHistoryPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.GetPackageVersionHistoryPublisher publisher = client.getPackageVersionHistoryPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.GetPackageVersionHistoryResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.GetPackageVersionHistoryResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.elasticsearch.model.GetPackageVersionHistoryRequest)
operation.
This is a convenience which creates an instance of the GetPackageVersionHistoryRequest.Builder
avoiding
the need to create one manually via GetPackageVersionHistoryRequest.builder()
getPackageVersionHistoryRequest
- A Consumer
that will call methods on GetPackageVersionHistoryRequest.Builder
to create a
request. Container for request parameters to GetPackageVersionHistory
operation.default CompletableFuture<GetUpgradeHistoryResponse> getUpgradeHistory(GetUpgradeHistoryRequest getUpgradeHistoryRequest)
Retrieves the complete history of the last 10 upgrades that were performed on the domain.
getUpgradeHistoryRequest
- Container for request parameters to GetUpgradeHistory
operation.default CompletableFuture<GetUpgradeHistoryResponse> getUpgradeHistory(Consumer<GetUpgradeHistoryRequest.Builder> getUpgradeHistoryRequest)
Retrieves the complete history of the last 10 upgrades that were performed on the domain.
This is a convenience which creates an instance of the GetUpgradeHistoryRequest.Builder
avoiding the need
to create one manually via GetUpgradeHistoryRequest.builder()
getUpgradeHistoryRequest
- A Consumer
that will call methods on GetUpgradeHistoryRequest.Builder
to create a request.
Container for request parameters to GetUpgradeHistory
operation.default GetUpgradeHistoryPublisher getUpgradeHistoryPaginator(GetUpgradeHistoryRequest getUpgradeHistoryRequest)
Retrieves the complete history of the last 10 upgrades that were performed on the domain.
This is a variant of
getUpgradeHistory(software.amazon.awssdk.services.elasticsearch.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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.GetUpgradeHistoryPublisher publisher = client.getUpgradeHistoryPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.GetUpgradeHistoryPublisher publisher = client.getUpgradeHistoryPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.GetUpgradeHistoryResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.GetUpgradeHistoryResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.elasticsearch.model.GetUpgradeHistoryRequest)
operation.
getUpgradeHistoryRequest
- Container for request parameters to GetUpgradeHistory
operation.default GetUpgradeHistoryPublisher getUpgradeHistoryPaginator(Consumer<GetUpgradeHistoryRequest.Builder> getUpgradeHistoryRequest)
Retrieves the complete history of the last 10 upgrades that were performed on the domain.
This is a variant of
getUpgradeHistory(software.amazon.awssdk.services.elasticsearch.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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.GetUpgradeHistoryPublisher publisher = client.getUpgradeHistoryPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.GetUpgradeHistoryPublisher publisher = client.getUpgradeHistoryPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.GetUpgradeHistoryResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.GetUpgradeHistoryResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.elasticsearch.model.GetUpgradeHistoryRequest)
operation.
This is a convenience which creates an instance of the GetUpgradeHistoryRequest.Builder
avoiding the need
to create one manually via GetUpgradeHistoryRequest.builder()
getUpgradeHistoryRequest
- A Consumer
that will call methods on GetUpgradeHistoryRequest.Builder
to create a request.
Container for request parameters to GetUpgradeHistory
operation.default CompletableFuture<GetUpgradeStatusResponse> getUpgradeStatus(GetUpgradeStatusRequest getUpgradeStatusRequest)
Retrieves the latest status of the last upgrade or upgrade eligibility check that was performed on the domain.
getUpgradeStatusRequest
- Container for request parameters to GetUpgradeStatus
operation.default CompletableFuture<GetUpgradeStatusResponse> getUpgradeStatus(Consumer<GetUpgradeStatusRequest.Builder> getUpgradeStatusRequest)
Retrieves the latest status of the last upgrade or upgrade eligibility check that was performed on the domain.
This is a convenience which creates an instance of the GetUpgradeStatusRequest.Builder
avoiding the need
to create one manually via GetUpgradeStatusRequest.builder()
getUpgradeStatusRequest
- A Consumer
that will call methods on GetUpgradeStatusRequest.Builder
to create a request.
Container for request parameters to GetUpgradeStatus
operation.default CompletableFuture<ListDomainNamesResponse> listDomainNames(ListDomainNamesRequest listDomainNamesRequest)
Returns the name of all Elasticsearch domains owned by the current user's account.
listDomainNamesRequest
- default CompletableFuture<ListDomainNamesResponse> listDomainNames(Consumer<ListDomainNamesRequest.Builder> listDomainNamesRequest)
Returns the name of all Elasticsearch domains owned by the current user's account.
This is a convenience which creates an instance of the ListDomainNamesRequest.Builder
avoiding the need
to create one manually via ListDomainNamesRequest.builder()
listDomainNamesRequest
- A Consumer
that will call methods on ListDomainNamesRequest.Builder
to create a request.default CompletableFuture<ListDomainNamesResponse> listDomainNames()
Returns the name of all Elasticsearch domains owned by the current user's account.
default CompletableFuture<ListDomainsForPackageResponse> listDomainsForPackage(ListDomainsForPackageRequest listDomainsForPackageRequest)
Lists all Amazon ES domains associated with the package.
listDomainsForPackageRequest
- Container for request parameters to ListDomainsForPackage
operation.default CompletableFuture<ListDomainsForPackageResponse> listDomainsForPackage(Consumer<ListDomainsForPackageRequest.Builder> listDomainsForPackageRequest)
Lists all Amazon ES domains associated with the package.
This is a convenience which creates an instance of the ListDomainsForPackageRequest.Builder
avoiding the
need to create one manually via ListDomainsForPackageRequest.builder()
listDomainsForPackageRequest
- A Consumer
that will call methods on ListDomainsForPackageRequest.Builder
to create a
request. Container for request parameters to ListDomainsForPackage
operation.default ListDomainsForPackagePublisher listDomainsForPackagePaginator(ListDomainsForPackageRequest listDomainsForPackageRequest)
Lists all Amazon ES domains associated with the package.
This is a variant of
listDomainsForPackage(software.amazon.awssdk.services.elasticsearch.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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.ListDomainsForPackagePublisher publisher = client.listDomainsForPackagePaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.ListDomainsForPackagePublisher publisher = client.listDomainsForPackagePaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.ListDomainsForPackageResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.ListDomainsForPackageResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.elasticsearch.model.ListDomainsForPackageRequest)
operation.
listDomainsForPackageRequest
- Container for request parameters to ListDomainsForPackage
operation.default ListDomainsForPackagePublisher listDomainsForPackagePaginator(Consumer<ListDomainsForPackageRequest.Builder> listDomainsForPackageRequest)
Lists all Amazon ES domains associated with the package.
This is a variant of
listDomainsForPackage(software.amazon.awssdk.services.elasticsearch.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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.ListDomainsForPackagePublisher publisher = client.listDomainsForPackagePaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.ListDomainsForPackagePublisher publisher = client.listDomainsForPackagePaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.ListDomainsForPackageResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.ListDomainsForPackageResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.elasticsearch.model.ListDomainsForPackageRequest)
operation.
This is a convenience which creates an instance of the ListDomainsForPackageRequest.Builder
avoiding the
need to create one manually via ListDomainsForPackageRequest.builder()
listDomainsForPackageRequest
- A Consumer
that will call methods on ListDomainsForPackageRequest.Builder
to create a
request. Container for request parameters to ListDomainsForPackage
operation.default CompletableFuture<ListElasticsearchInstanceTypesResponse> listElasticsearchInstanceTypes(ListElasticsearchInstanceTypesRequest listElasticsearchInstanceTypesRequest)
List all Elasticsearch instance types that are supported for given ElasticsearchVersion
listElasticsearchInstanceTypesRequest
- Container for the parameters to the ListElasticsearchInstanceTypes
operation.default CompletableFuture<ListElasticsearchInstanceTypesResponse> listElasticsearchInstanceTypes(Consumer<ListElasticsearchInstanceTypesRequest.Builder> listElasticsearchInstanceTypesRequest)
List all Elasticsearch instance types that are supported for given ElasticsearchVersion
This is a convenience which creates an instance of the ListElasticsearchInstanceTypesRequest.Builder
avoiding the need to create one manually via ListElasticsearchInstanceTypesRequest.builder()
listElasticsearchInstanceTypesRequest
- A Consumer
that will call methods on ListElasticsearchInstanceTypesRequest.Builder
to
create a request. Container for the parameters to the ListElasticsearchInstanceTypes
operation.default ListElasticsearchInstanceTypesPublisher listElasticsearchInstanceTypesPaginator(ListElasticsearchInstanceTypesRequest listElasticsearchInstanceTypesRequest)
List all Elasticsearch instance types that are supported for given ElasticsearchVersion
This is a variant of
listElasticsearchInstanceTypes(software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchInstanceTypesRequest)
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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.ListElasticsearchInstanceTypesPublisher publisher = client.listElasticsearchInstanceTypesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.ListElasticsearchInstanceTypesPublisher publisher = client.listElasticsearchInstanceTypesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchInstanceTypesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchInstanceTypesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
listElasticsearchInstanceTypes(software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchInstanceTypesRequest)
operation.
listElasticsearchInstanceTypesRequest
- Container for the parameters to the ListElasticsearchInstanceTypes
operation.default ListElasticsearchInstanceTypesPublisher listElasticsearchInstanceTypesPaginator(Consumer<ListElasticsearchInstanceTypesRequest.Builder> listElasticsearchInstanceTypesRequest)
List all Elasticsearch instance types that are supported for given ElasticsearchVersion
This is a variant of
listElasticsearchInstanceTypes(software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchInstanceTypesRequest)
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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.ListElasticsearchInstanceTypesPublisher publisher = client.listElasticsearchInstanceTypesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.ListElasticsearchInstanceTypesPublisher publisher = client.listElasticsearchInstanceTypesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchInstanceTypesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchInstanceTypesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
listElasticsearchInstanceTypes(software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchInstanceTypesRequest)
operation.
This is a convenience which creates an instance of the ListElasticsearchInstanceTypesRequest.Builder
avoiding the need to create one manually via ListElasticsearchInstanceTypesRequest.builder()
listElasticsearchInstanceTypesRequest
- A Consumer
that will call methods on ListElasticsearchInstanceTypesRequest.Builder
to
create a request. Container for the parameters to the ListElasticsearchInstanceTypes
operation.default CompletableFuture<ListElasticsearchVersionsResponse> listElasticsearchVersions(ListElasticsearchVersionsRequest listElasticsearchVersionsRequest)
List all supported Elasticsearch versions
listElasticsearchVersionsRequest
- Container for the parameters to the ListElasticsearchVersions
operation.
Use MaxResults
to control the maximum number of results to retrieve in a single
call.
Use NextToken
in response to retrieve more results. If the received response does
not contain a NextToken, then there are no more results to retrieve.
default CompletableFuture<ListElasticsearchVersionsResponse> listElasticsearchVersions(Consumer<ListElasticsearchVersionsRequest.Builder> listElasticsearchVersionsRequest)
List all supported Elasticsearch versions
This is a convenience which creates an instance of the ListElasticsearchVersionsRequest.Builder
avoiding
the need to create one manually via ListElasticsearchVersionsRequest.builder()
listElasticsearchVersionsRequest
- A Consumer
that will call methods on ListElasticsearchVersionsRequest.Builder
to create a
request. Container for the parameters to the ListElasticsearchVersions
operation.
Use MaxResults
to control the maximum number of results to retrieve in a single
call.
Use NextToken
in response to retrieve more results. If the received response does
not contain a NextToken, then there are no more results to retrieve.
default CompletableFuture<ListElasticsearchVersionsResponse> listElasticsearchVersions()
List all supported Elasticsearch versions
default ListElasticsearchVersionsPublisher listElasticsearchVersionsPaginator()
List all supported Elasticsearch versions
This is a variant of
listElasticsearchVersions(software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchVersionsRequest)
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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.ListElasticsearchVersionsPublisher publisher = client.listElasticsearchVersionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.ListElasticsearchVersionsPublisher publisher = client.listElasticsearchVersionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchVersionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchVersionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
listElasticsearchVersions(software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchVersionsRequest)
operation.
default ListElasticsearchVersionsPublisher listElasticsearchVersionsPaginator(ListElasticsearchVersionsRequest listElasticsearchVersionsRequest)
List all supported Elasticsearch versions
This is a variant of
listElasticsearchVersions(software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchVersionsRequest)
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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.ListElasticsearchVersionsPublisher publisher = client.listElasticsearchVersionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.ListElasticsearchVersionsPublisher publisher = client.listElasticsearchVersionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchVersionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchVersionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
listElasticsearchVersions(software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchVersionsRequest)
operation.
listElasticsearchVersionsRequest
- Container for the parameters to the ListElasticsearchVersions
operation.
Use MaxResults
to control the maximum number of results to retrieve in a single
call.
Use NextToken
in response to retrieve more results. If the received response does
not contain a NextToken, then there are no more results to retrieve.
default ListElasticsearchVersionsPublisher listElasticsearchVersionsPaginator(Consumer<ListElasticsearchVersionsRequest.Builder> listElasticsearchVersionsRequest)
List all supported Elasticsearch versions
This is a variant of
listElasticsearchVersions(software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchVersionsRequest)
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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.ListElasticsearchVersionsPublisher publisher = client.listElasticsearchVersionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.ListElasticsearchVersionsPublisher publisher = client.listElasticsearchVersionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchVersionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchVersionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
listElasticsearchVersions(software.amazon.awssdk.services.elasticsearch.model.ListElasticsearchVersionsRequest)
operation.
This is a convenience which creates an instance of the ListElasticsearchVersionsRequest.Builder
avoiding
the need to create one manually via ListElasticsearchVersionsRequest.builder()
listElasticsearchVersionsRequest
- A Consumer
that will call methods on ListElasticsearchVersionsRequest.Builder
to create a
request. Container for the parameters to the ListElasticsearchVersions
operation.
Use MaxResults
to control the maximum number of results to retrieve in a single
call.
Use NextToken
in response to retrieve more results. If the received response does
not contain a NextToken, then there are no more results to retrieve.
default CompletableFuture<ListPackagesForDomainResponse> listPackagesForDomain(ListPackagesForDomainRequest listPackagesForDomainRequest)
Lists all packages associated with the Amazon ES domain.
listPackagesForDomainRequest
- Container for request parameters to ListPackagesForDomain
operation.default CompletableFuture<ListPackagesForDomainResponse> listPackagesForDomain(Consumer<ListPackagesForDomainRequest.Builder> listPackagesForDomainRequest)
Lists all packages associated with the Amazon ES domain.
This is a convenience which creates an instance of the ListPackagesForDomainRequest.Builder
avoiding the
need to create one manually via ListPackagesForDomainRequest.builder()
listPackagesForDomainRequest
- A Consumer
that will call methods on ListPackagesForDomainRequest.Builder
to create a
request. Container for request parameters to ListPackagesForDomain
operation.default ListPackagesForDomainPublisher listPackagesForDomainPaginator(ListPackagesForDomainRequest listPackagesForDomainRequest)
Lists all packages associated with the Amazon ES domain.
This is a variant of
listPackagesForDomain(software.amazon.awssdk.services.elasticsearch.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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.ListPackagesForDomainPublisher publisher = client.listPackagesForDomainPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.ListPackagesForDomainPublisher publisher = client.listPackagesForDomainPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.ListPackagesForDomainResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.ListPackagesForDomainResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.elasticsearch.model.ListPackagesForDomainRequest)
operation.
listPackagesForDomainRequest
- Container for request parameters to ListPackagesForDomain
operation.default ListPackagesForDomainPublisher listPackagesForDomainPaginator(Consumer<ListPackagesForDomainRequest.Builder> listPackagesForDomainRequest)
Lists all packages associated with the Amazon ES domain.
This is a variant of
listPackagesForDomain(software.amazon.awssdk.services.elasticsearch.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 new Subscription
i.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
software.amazon.awssdk.services.elasticsearch.paginators.ListPackagesForDomainPublisher publisher = client.listPackagesForDomainPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.elasticsearch.paginators.ListPackagesForDomainPublisher publisher = client.listPackagesForDomainPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticsearch.model.ListPackagesForDomainResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.elasticsearch.model.ListPackagesForDomainResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.elasticsearch.model.ListPackagesForDomainRequest)
operation.
This is a convenience which creates an instance of the ListPackagesForDomainRequest.Builder
avoiding the
need to create one manually via ListPackagesForDomainRequest.builder()
listPackagesForDomainRequest
- A Consumer
that will call methods on ListPackagesForDomainRequest.Builder
to create a
request. Container for request parameters to ListPackagesForDomain
operation.default CompletableFuture<ListTagsResponse> listTags(ListTagsRequest listTagsRequest)
Returns all tags for the given Elasticsearch domain.
listTagsRequest
- Container for the parameters to the ListTags
operation. Specify the ARN
for the Elasticsearch domain to which the tags are attached that you want to view are attached.default CompletableFuture<ListTagsResponse> listTags(Consumer<ListTagsRequest.Builder> listTagsRequest)
Returns all tags for the given Elasticsearch domain.
This is a convenience which creates an instance of the ListTagsRequest.Builder
avoiding the need to
create one manually via ListTagsRequest.builder()
listTagsRequest
- A Consumer
that will call methods on ListTagsRequest.Builder
to create a request.
Container for the parameters to the ListTags
operation. Specify the ARN
for the Elasticsearch domain to which the tags are attached that you want to view are attached.default CompletableFuture<PurchaseReservedElasticsearchInstanceOfferingResponse> purchaseReservedElasticsearchInstanceOffering(PurchaseReservedElasticsearchInstanceOfferingRequest purchaseReservedElasticsearchInstanceOfferingRequest)
Allows you to purchase reserved Elasticsearch instances.
purchaseReservedElasticsearchInstanceOfferingRequest
- Container for parameters to PurchaseReservedElasticsearchInstanceOffering
default CompletableFuture<PurchaseReservedElasticsearchInstanceOfferingResponse> purchaseReservedElasticsearchInstanceOffering(Consumer<PurchaseReservedElasticsearchInstanceOfferingRequest.Builder> purchaseReservedElasticsearchInstanceOfferingRequest)
Allows you to purchase reserved Elasticsearch instances.
This is a convenience which creates an instance of the
PurchaseReservedElasticsearchInstanceOfferingRequest.Builder
avoiding the need to create one manually via
PurchaseReservedElasticsearchInstanceOfferingRequest.builder()
purchaseReservedElasticsearchInstanceOfferingRequest
- A Consumer
that will call methods on
PurchaseReservedElasticsearchInstanceOfferingRequest.Builder
to create a request. Container for
parameters to PurchaseReservedElasticsearchInstanceOffering
default CompletableFuture<RejectInboundCrossClusterSearchConnectionResponse> rejectInboundCrossClusterSearchConnection(RejectInboundCrossClusterSearchConnectionRequest rejectInboundCrossClusterSearchConnectionRequest)
Allows the destination domain owner to reject an inbound cross-cluster search connection request.
rejectInboundCrossClusterSearchConnectionRequest
- Container for the parameters to the RejectInboundCrossClusterSearchConnection
operation.default CompletableFuture<RejectInboundCrossClusterSearchConnectionResponse> rejectInboundCrossClusterSearchConnection(Consumer<RejectInboundCrossClusterSearchConnectionRequest.Builder> rejectInboundCrossClusterSearchConnectionRequest)
Allows the destination domain owner to reject an inbound cross-cluster search connection request.
This is a convenience which creates an instance of the
RejectInboundCrossClusterSearchConnectionRequest.Builder
avoiding the need to create one manually via
RejectInboundCrossClusterSearchConnectionRequest.builder()
rejectInboundCrossClusterSearchConnectionRequest
- A Consumer
that will call methods on
RejectInboundCrossClusterSearchConnectionRequest.Builder
to create a request. Container for the
parameters to the RejectInboundCrossClusterSearchConnection
operation.default CompletableFuture<RemoveTagsResponse> removeTags(RemoveTagsRequest removeTagsRequest)
Removes the specified set of tags from the specified Elasticsearch domain.
removeTagsRequest
- Container for the parameters to the RemoveTags
operation. Specify the ARN
for the Elasticsearch domain from which you want to remove the specified TagKey
.default CompletableFuture<RemoveTagsResponse> removeTags(Consumer<RemoveTagsRequest.Builder> removeTagsRequest)
Removes the specified set of tags from the specified Elasticsearch domain.
This is a convenience which creates an instance of the RemoveTagsRequest.Builder
avoiding the need to
create one manually via RemoveTagsRequest.builder()
removeTagsRequest
- A Consumer
that will call methods on RemoveTagsRequest.Builder
to create a request.
Container for the parameters to the RemoveTags
operation. Specify the ARN
for the Elasticsearch domain from which you want to remove the specified TagKey
.default CompletableFuture<StartElasticsearchServiceSoftwareUpdateResponse> startElasticsearchServiceSoftwareUpdate(StartElasticsearchServiceSoftwareUpdateRequest startElasticsearchServiceSoftwareUpdateRequest)
Schedules a service software update for an Amazon ES domain.
startElasticsearchServiceSoftwareUpdateRequest
- Container for the parameters to the StartElasticsearchServiceSoftwareUpdate
operation.
Specifies the name of the Elasticsearch domain that you wish to schedule a service software update on.default CompletableFuture<StartElasticsearchServiceSoftwareUpdateResponse> startElasticsearchServiceSoftwareUpdate(Consumer<StartElasticsearchServiceSoftwareUpdateRequest.Builder> startElasticsearchServiceSoftwareUpdateRequest)
Schedules a service software update for an Amazon ES domain.
This is a convenience which creates an instance of the
StartElasticsearchServiceSoftwareUpdateRequest.Builder
avoiding the need to create one manually via
StartElasticsearchServiceSoftwareUpdateRequest.builder()
startElasticsearchServiceSoftwareUpdateRequest
- A Consumer
that will call methods on
StartElasticsearchServiceSoftwareUpdateRequest.Builder
to create a request. Container for the
parameters to the StartElasticsearchServiceSoftwareUpdate
operation. Specifies the
name of the Elasticsearch domain that you wish to schedule a service software update on.default CompletableFuture<UpdateElasticsearchDomainConfigResponse> updateElasticsearchDomainConfig(UpdateElasticsearchDomainConfigRequest updateElasticsearchDomainConfigRequest)
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.
updateElasticsearchDomainConfigRequest
- Container for the parameters to the UpdateElasticsearchDomain
operation. Specifies the
type and number of instances in the domain cluster.default CompletableFuture<UpdateElasticsearchDomainConfigResponse> updateElasticsearchDomainConfig(Consumer<UpdateElasticsearchDomainConfigRequest.Builder> updateElasticsearchDomainConfigRequest)
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.
This is a convenience which creates an instance of the UpdateElasticsearchDomainConfigRequest.Builder
avoiding the need to create one manually via UpdateElasticsearchDomainConfigRequest.builder()
updateElasticsearchDomainConfigRequest
- A Consumer
that will call methods on UpdateElasticsearchDomainConfigRequest.Builder
to
create a request. Container for the parameters to the UpdateElasticsearchDomain
operation. Specifies the type and number of instances in the domain cluster.default CompletableFuture<UpdatePackageResponse> updatePackage(UpdatePackageRequest updatePackageRequest)
Updates a package for use with Amazon ES domains.
updatePackageRequest
- Container for request parameters to UpdatePackage
operation.default CompletableFuture<UpdatePackageResponse> updatePackage(Consumer<UpdatePackageRequest.Builder> updatePackageRequest)
Updates a package for use with Amazon ES domains.
This is a convenience which creates an instance of the UpdatePackageRequest.Builder
avoiding the need to
create one manually via UpdatePackageRequest.builder()
updatePackageRequest
- A Consumer
that will call methods on UpdatePackageRequest.Builder
to create a request.
Container for request parameters to UpdatePackage
operation.default CompletableFuture<UpgradeElasticsearchDomainResponse> upgradeElasticsearchDomain(UpgradeElasticsearchDomainRequest upgradeElasticsearchDomainRequest)
Allows you to either upgrade your domain or perform an Upgrade eligibility check to a compatible Elasticsearch version.
upgradeElasticsearchDomainRequest
- Container for request parameters to UpgradeElasticsearchDomain
operation.default CompletableFuture<UpgradeElasticsearchDomainResponse> upgradeElasticsearchDomain(Consumer<UpgradeElasticsearchDomainRequest.Builder> upgradeElasticsearchDomainRequest)
Allows you to either upgrade your domain or perform an Upgrade eligibility check to a compatible Elasticsearch version.
This is a convenience which creates an instance of the UpgradeElasticsearchDomainRequest.Builder
avoiding
the need to create one manually via UpgradeElasticsearchDomainRequest.builder()
upgradeElasticsearchDomainRequest
- A Consumer
that will call methods on UpgradeElasticsearchDomainRequest.Builder
to create a
request. Container for request parameters to UpgradeElasticsearchDomain
operation.