pub struct Client { /* private fields */ }
Expand description
Client for Amazon Elasticsearch Service
Client for invoking operations on Amazon Elasticsearch Service. Each operation on Amazon Elasticsearch Service is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
§Constructing a Client
A Config
is required to construct a client. For most use cases, the aws-config
crate should be used to automatically resolve this config using
aws_config::load_from_env()
, since this will resolve an SdkConfig
which can be shared
across multiple different AWS SDK clients. This config resolution process can be customized
by calling aws_config::from_env()
instead, which returns a ConfigLoader
that uses
the builder pattern to customize the default config.
In the simplest case, creating a client looks as follows:
let config = aws_config::load_from_env().await;
let client = aws_sdk_elasticsearch::Client::new(&config);
Occasionally, SDKs may have additional service-specific values that can be set on the Config
that
is absent from SdkConfig
, or slightly different settings for a specific client may be desired.
The Builder
struct implements From<&SdkConfig>
, so setting these specific settings can be
done as follows:
let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_elasticsearch::config::Builder::from(&sdk_config)
.some_service_specific_setting("value")
.build();
See the aws-config
docs and Config
for more information on customizing configuration.
Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.
§Using the Client
A client has a function for every operation that can be performed by the service.
For example, the AcceptInboundCrossClusterSearchConnection
operation has
a Client::accept_inbound_cross_cluster_search_connection
, function which returns a builder for that operation.
The fluent builder ultimately has a send()
function that returns an async future that
returns a result, as illustrated below:
let result = client.accept_inbound_cross_cluster_search_connection()
.cross_cluster_search_connection_id("example")
.send()
.await;
The underlying HTTP requests that get made by this can be modified with the customize_operation
function on the fluent builder. See the customize
module for more
information.
Implementations§
Source§impl Client
impl Client
Sourcepub fn accept_inbound_cross_cluster_search_connection(
&self,
) -> AcceptInboundCrossClusterSearchConnectionFluentBuilder
pub fn accept_inbound_cross_cluster_search_connection( &self, ) -> AcceptInboundCrossClusterSearchConnectionFluentBuilder
Constructs a fluent builder for the AcceptInboundCrossClusterSearchConnection
operation.
- The fluent builder is configurable:
cross_cluster_search_connection_id(impl Into<String>)
/set_cross_cluster_search_connection_id(Option<String>)
:
required: trueThe id of the inbound connection that you want to accept.
- On success, responds with
AcceptInboundCrossClusterSearchConnectionOutput
with field(s):cross_cluster_search_connection(Option<InboundCrossClusterSearchConnection>)
:Specifies the
of accepted inbound connection.InboundCrossClusterSearchConnection
- On failure, responds with
SdkError<AcceptInboundCrossClusterSearchConnectionError>
Source§impl Client
impl Client
Constructs a fluent builder for the AddTags
operation.
- The fluent builder is configurable:
arn(impl Into<String>)
/set_arn(Option<String>)
:
required: trueSpecify the
ARN
for which you want to add the tags.tag_list(Tag)
/set_tag_list(Option<Vec::<Tag>>)
:
required: trueList of
Tag
that need to be added for the Elasticsearch domain.
- On success, responds with
AddTagsOutput
- On failure, responds with
SdkError<AddTagsError>
Source§impl Client
impl Client
Sourcepub fn associate_package(&self) -> AssociatePackageFluentBuilder
pub fn associate_package(&self) -> AssociatePackageFluentBuilder
Constructs a fluent builder for the AssociatePackage
operation.
- The fluent builder is configurable:
package_id(impl Into<String>)
/set_package_id(Option<String>)
:
required: trueInternal ID of the package that you want to associate with a domain. Use
DescribePackages
to find this value.domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueName of the domain that you want to associate the package with.
- On success, responds with
AssociatePackageOutput
with field(s):domain_package_details(Option<DomainPackageDetails>)
:DomainPackageDetails
- On failure, responds with
SdkError<AssociatePackageError>
Source§impl Client
impl Client
Constructs a fluent builder for the AuthorizeVpcEndpointAccess
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe name of the OpenSearch Service domain to provide access to.
account(impl Into<String>)
/set_account(Option<String>)
:
required: trueThe account ID to grant access to.
- On success, responds with
AuthorizeVpcEndpointAccessOutput
with field(s):authorized_principal(Option<AuthorizedPrincipal>)
:Information about the account or service that was provided access to the domain.
- On failure, responds with
SdkError<AuthorizeVpcEndpointAccessError>
Source§impl Client
impl Client
Sourcepub fn cancel_domain_config_change(
&self,
) -> CancelDomainConfigChangeFluentBuilder
pub fn cancel_domain_config_change( &self, ) -> CancelDomainConfigChangeFluentBuilder
Constructs a fluent builder for the CancelDomainConfigChange
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueName of the OpenSearch Service domain configuration request to cancel.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseWhen set to True, returns the list of change IDs and properties that will be cancelled without actually cancelling the change.
- On success, responds with
CancelDomainConfigChangeOutput
with field(s):dry_run(Option<bool>)
:Whether or not the request was a dry run. If True, the changes were not actually cancelled.
cancelled_change_ids(Option<Vec::<String>>)
:The unique identifiers of the changes that were cancelled.
cancelled_change_properties(Option<Vec::<CancelledChangeProperty>>)
:The domain change properties that were cancelled.
- On failure, responds with
SdkError<CancelDomainConfigChangeError>
Source§impl Client
impl Client
Sourcepub fn cancel_elasticsearch_service_software_update(
&self,
) -> CancelElasticsearchServiceSoftwareUpdateFluentBuilder
pub fn cancel_elasticsearch_service_software_update( &self, ) -> CancelElasticsearchServiceSoftwareUpdateFluentBuilder
Constructs a fluent builder for the CancelElasticsearchServiceSoftwareUpdate
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe name of the domain that you want to stop the latest service software update on.
- On success, responds with
CancelElasticsearchServiceSoftwareUpdateOutput
with field(s):service_software_options(Option<ServiceSoftwareOptions>)
:The current status of the Elasticsearch service software update.
- On failure, responds with
SdkError<CancelElasticsearchServiceSoftwareUpdateError>
Source§impl Client
impl Client
Sourcepub fn create_elasticsearch_domain(
&self,
) -> CreateElasticsearchDomainFluentBuilder
pub fn create_elasticsearch_domain( &self, ) -> CreateElasticsearchDomainFluentBuilder
Constructs a fluent builder for the CreateElasticsearchDomain
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe name of the Elasticsearch domain that you are creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a lowercase letter and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
elasticsearch_version(impl Into<String>)
/set_elasticsearch_version(Option<String>)
:
required: falseString of format X.Y to specify version for the Elasticsearch domain eg. “1.5” or “2.3”. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
elasticsearch_cluster_config(ElasticsearchClusterConfig)
/set_elasticsearch_cluster_config(Option<ElasticsearchClusterConfig>)
:
required: falseConfiguration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.
ebs_options(EbsOptions)
/set_ebs_options(Option<EbsOptions>)
:
required: falseOptions to enable, disable and specify the type and size of EBS storage volumes.
access_policies(impl Into<String>)
/set_access_policies(Option<String>)
:
required: falseIAM access policy as a JSON-formatted string.
snapshot_options(SnapshotOptions)
/set_snapshot_options(Option<SnapshotOptions>)
:
required: falseOption to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
vpc_options(VpcOptions)
/set_vpc_options(Option<VpcOptions>)
:
required: falseOptions to specify the subnets and security groups for VPC endpoint. For more information, see Creating a VPC in VPC Endpoints for Amazon Elasticsearch Service Domains
cognito_options(CognitoOptions)
/set_cognito_options(Option<CognitoOptions>)
:
required: falseOptions to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana.
encryption_at_rest_options(EncryptionAtRestOptions)
/set_encryption_at_rest_options(Option<EncryptionAtRestOptions>)
:
required: falseSpecifies the Encryption At Rest Options.
node_to_node_encryption_options(NodeToNodeEncryptionOptions)
/set_node_to_node_encryption_options(Option<NodeToNodeEncryptionOptions>)
:
required: falseSpecifies the NodeToNodeEncryptionOptions.
advanced_options(impl Into<String>, impl Into<String>)
/set_advanced_options(Option<HashMap::<String, String>>)
:
required: falseOption to allow references to indices in an HTTP request body. Must be
false
when configuring access to individual sub-resources. By default, the value istrue
. See Configuration Advanced Options for more information.log_publishing_options(LogType, LogPublishingOption)
/set_log_publishing_options(Option<HashMap::<LogType, LogPublishingOption>>)
:
required: falseMap of
LogType
andLogPublishingOption
, each containing options to publish a given type of Elasticsearch log.domain_endpoint_options(DomainEndpointOptions)
/set_domain_endpoint_options(Option<DomainEndpointOptions>)
:
required: falseOptions to specify configuration that will be applied to the domain endpoint.
advanced_security_options(AdvancedSecurityOptionsInput)
/set_advanced_security_options(Option<AdvancedSecurityOptionsInput>)
:
required: falseSpecifies advanced security options.
auto_tune_options(AutoTuneOptionsInput)
/set_auto_tune_options(Option<AutoTuneOptionsInput>)
:
required: falseSpecifies Auto-Tune options.
tag_list(Tag)
/set_tag_list(Option<Vec::<Tag>>)
:
required: falseA list of
Tag
added during domain creation.
- On success, responds with
CreateElasticsearchDomainOutput
with field(s):domain_status(Option<ElasticsearchDomainStatus>)
:The status of the newly created Elasticsearch domain.
- On failure, responds with
SdkError<CreateElasticsearchDomainError>
Source§impl Client
impl Client
Sourcepub fn create_outbound_cross_cluster_search_connection(
&self,
) -> CreateOutboundCrossClusterSearchConnectionFluentBuilder
pub fn create_outbound_cross_cluster_search_connection( &self, ) -> CreateOutboundCrossClusterSearchConnectionFluentBuilder
Constructs a fluent builder for the CreateOutboundCrossClusterSearchConnection
operation.
- The fluent builder is configurable:
source_domain_info(DomainInformation)
/set_source_domain_info(Option<DomainInformation>)
:
required: trueSpecifies the
for the source Elasticsearch domain.DomainInformation
destination_domain_info(DomainInformation)
/set_destination_domain_info(Option<DomainInformation>)
:
required: trueSpecifies the
for the destination Elasticsearch domain.DomainInformation
connection_alias(impl Into<String>)
/set_connection_alias(Option<String>)
:
required: trueSpecifies the connection alias that will be used by the customer for this connection.
- On success, responds with
CreateOutboundCrossClusterSearchConnectionOutput
with field(s):source_domain_info(Option<DomainInformation>)
:Specifies the
for the source Elasticsearch domain.DomainInformation
destination_domain_info(Option<DomainInformation>)
:Specifies the
for the destination Elasticsearch domain.DomainInformation
connection_alias(Option<String>)
:Specifies the connection alias provided during the create connection request.
connection_status(Option<OutboundCrossClusterSearchConnectionStatus>)
:Specifies the
for the newly created connection.OutboundCrossClusterSearchConnectionStatus
cross_cluster_search_connection_id(Option<String>)
:Unique id for the created outbound connection, which is used for subsequent operations on connection.
- On failure, responds with
SdkError<CreateOutboundCrossClusterSearchConnectionError>
Source§impl Client
impl Client
Sourcepub fn create_package(&self) -> CreatePackageFluentBuilder
pub fn create_package(&self) -> CreatePackageFluentBuilder
Constructs a fluent builder for the CreatePackage
operation.
- The fluent builder is configurable:
package_name(impl Into<String>)
/set_package_name(Option<String>)
:
required: trueUnique identifier for the package.
package_type(PackageType)
/set_package_type(Option<PackageType>)
:
required: trueType of package. Currently supports only TXT-DICTIONARY.
package_description(impl Into<String>)
/set_package_description(Option<String>)
:
required: falseDescription of the package.
package_source(PackageSource)
/set_package_source(Option<PackageSource>)
:
required: trueThe customer S3 location
PackageSource
for importing the package.
- On success, responds with
CreatePackageOutput
with field(s):package_details(Option<PackageDetails>)
:Information about the package
PackageDetails
.
- On failure, responds with
SdkError<CreatePackageError>
Source§impl Client
impl Client
Sourcepub fn create_vpc_endpoint(&self) -> CreateVpcEndpointFluentBuilder
pub fn create_vpc_endpoint(&self) -> CreateVpcEndpointFluentBuilder
Constructs a fluent builder for the CreateVpcEndpoint
operation.
- The fluent builder is configurable:
domain_arn(impl Into<String>)
/set_domain_arn(Option<String>)
:
required: trueThe Amazon Resource Name (ARN) of the domain to grant access to.
vpc_options(VpcOptions)
/set_vpc_options(Option<VpcOptions>)
:
required: trueOptions to specify the subnets and security groups for the endpoint.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier to ensure idempotency of the request.
- On success, responds with
CreateVpcEndpointOutput
with field(s):vpc_endpoint(Option<VpcEndpoint>)
:Information about the newly created VPC endpoint.
- On failure, responds with
SdkError<CreateVpcEndpointError>
Source§impl Client
impl Client
Sourcepub fn delete_elasticsearch_domain(
&self,
) -> DeleteElasticsearchDomainFluentBuilder
pub fn delete_elasticsearch_domain( &self, ) -> DeleteElasticsearchDomainFluentBuilder
Constructs a fluent builder for the DeleteElasticsearchDomain
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe name of the Elasticsearch domain that you want to permanently delete.
- On success, responds with
DeleteElasticsearchDomainOutput
with field(s):domain_status(Option<ElasticsearchDomainStatus>)
:The status of the Elasticsearch domain being deleted.
- On failure, responds with
SdkError<DeleteElasticsearchDomainError>
Source§impl Client
impl Client
Sourcepub fn delete_elasticsearch_service_role(
&self,
) -> DeleteElasticsearchServiceRoleFluentBuilder
pub fn delete_elasticsearch_service_role( &self, ) -> DeleteElasticsearchServiceRoleFluentBuilder
Constructs a fluent builder for the DeleteElasticsearchServiceRole
operation.
- The fluent builder takes no input, just
send
it. - On success, responds with
DeleteElasticsearchServiceRoleOutput
- On failure, responds with
SdkError<DeleteElasticsearchServiceRoleError>
Source§impl Client
impl Client
Sourcepub fn delete_inbound_cross_cluster_search_connection(
&self,
) -> DeleteInboundCrossClusterSearchConnectionFluentBuilder
pub fn delete_inbound_cross_cluster_search_connection( &self, ) -> DeleteInboundCrossClusterSearchConnectionFluentBuilder
Constructs a fluent builder for the DeleteInboundCrossClusterSearchConnection
operation.
- The fluent builder is configurable:
cross_cluster_search_connection_id(impl Into<String>)
/set_cross_cluster_search_connection_id(Option<String>)
:
required: trueThe id of the inbound connection that you want to permanently delete.
- On success, responds with
DeleteInboundCrossClusterSearchConnectionOutput
with field(s):cross_cluster_search_connection(Option<InboundCrossClusterSearchConnection>)
:Specifies the
of deleted inbound connection.InboundCrossClusterSearchConnection
- On failure, responds with
SdkError<DeleteInboundCrossClusterSearchConnectionError>
Source§impl Client
impl Client
Sourcepub fn delete_outbound_cross_cluster_search_connection(
&self,
) -> DeleteOutboundCrossClusterSearchConnectionFluentBuilder
pub fn delete_outbound_cross_cluster_search_connection( &self, ) -> DeleteOutboundCrossClusterSearchConnectionFluentBuilder
Constructs a fluent builder for the DeleteOutboundCrossClusterSearchConnection
operation.
- The fluent builder is configurable:
cross_cluster_search_connection_id(impl Into<String>)
/set_cross_cluster_search_connection_id(Option<String>)
:
required: trueThe id of the outbound connection that you want to permanently delete.
- On success, responds with
DeleteOutboundCrossClusterSearchConnectionOutput
with field(s):cross_cluster_search_connection(Option<OutboundCrossClusterSearchConnection>)
:Specifies the
of deleted outbound connection.OutboundCrossClusterSearchConnection
- On failure, responds with
SdkError<DeleteOutboundCrossClusterSearchConnectionError>
Source§impl Client
impl Client
Sourcepub fn delete_package(&self) -> DeletePackageFluentBuilder
pub fn delete_package(&self) -> DeletePackageFluentBuilder
Constructs a fluent builder for the DeletePackage
operation.
- The fluent builder is configurable:
package_id(impl Into<String>)
/set_package_id(Option<String>)
:
required: trueInternal ID of the package that you want to delete. Use
DescribePackages
to find this value.
- On success, responds with
DeletePackageOutput
with field(s):package_details(Option<PackageDetails>)
:PackageDetails
- On failure, responds with
SdkError<DeletePackageError>
Source§impl Client
impl Client
Sourcepub fn delete_vpc_endpoint(&self) -> DeleteVpcEndpointFluentBuilder
pub fn delete_vpc_endpoint(&self) -> DeleteVpcEndpointFluentBuilder
Constructs a fluent builder for the DeleteVpcEndpoint
operation.
- The fluent builder is configurable:
vpc_endpoint_id(impl Into<String>)
/set_vpc_endpoint_id(Option<String>)
:
required: trueThe unique identifier of the endpoint to be deleted.
- On success, responds with
DeleteVpcEndpointOutput
with field(s):vpc_endpoint_summary(Option<VpcEndpointSummary>)
:Information about the deleted endpoint, including its current status (
DELETING
orDELETE_FAILED
).
- On failure, responds with
SdkError<DeleteVpcEndpointError>
Source§impl Client
impl Client
Sourcepub fn describe_domain_auto_tunes(&self) -> DescribeDomainAutoTunesFluentBuilder
pub fn describe_domain_auto_tunes(&self) -> DescribeDomainAutoTunesFluentBuilder
Constructs a fluent builder for the DescribeDomainAutoTunes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueSpecifies the domain name for which you want Auto-Tune action details.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseSet this value to limit the number of results returned. If not specified, defaults to 100.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseNextToken is sent in case the earlier API call results contain the NextToken. It is used for pagination.
- On success, responds with
DescribeDomainAutoTunesOutput
with field(s):auto_tunes(Option<Vec::<AutoTune>>)
:Specifies the list of setting adjustments that Auto-Tune has made to the domain. See the Developer Guide for more information.
next_token(Option<String>)
:Specifies an identifier to allow retrieval of paginated results.
- On failure, responds with
SdkError<DescribeDomainAutoTunesError>
Source§impl Client
impl Client
Sourcepub fn describe_domain_change_progress(
&self,
) -> DescribeDomainChangeProgressFluentBuilder
pub fn describe_domain_change_progress( &self, ) -> DescribeDomainChangeProgressFluentBuilder
Constructs a fluent builder for the DescribeDomainChangeProgress
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe domain you want to get the progress information about.
change_id(impl Into<String>)
/set_change_id(Option<String>)
:
required: falseThe specific change ID for which you want to get progress information. This is an optional parameter. If omitted, the service returns information about the most recent configuration change.
- On success, responds with
DescribeDomainChangeProgressOutput
with field(s):change_progress_status(Option<ChangeProgressStatusDetails>)
:Progress information for the configuration change that is requested in the
DescribeDomainChangeProgress
request.
- On failure, responds with
SdkError<DescribeDomainChangeProgressError>
Source§impl Client
impl Client
Sourcepub fn describe_elasticsearch_domain(
&self,
) -> DescribeElasticsearchDomainFluentBuilder
pub fn describe_elasticsearch_domain( &self, ) -> DescribeElasticsearchDomainFluentBuilder
Constructs a fluent builder for the DescribeElasticsearchDomain
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe name of the Elasticsearch domain for which you want information.
- On success, responds with
DescribeElasticsearchDomainOutput
with field(s):domain_status(Option<ElasticsearchDomainStatus>)
:The current status of the Elasticsearch domain.
- On failure, responds with
SdkError<DescribeElasticsearchDomainError>
Source§impl Client
impl Client
Sourcepub fn describe_elasticsearch_domain_config(
&self,
) -> DescribeElasticsearchDomainConfigFluentBuilder
pub fn describe_elasticsearch_domain_config( &self, ) -> DescribeElasticsearchDomainConfigFluentBuilder
Constructs a fluent builder for the DescribeElasticsearchDomainConfig
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe Elasticsearch domain that you want to get information about.
- On success, responds with
DescribeElasticsearchDomainConfigOutput
with field(s):domain_config(Option<ElasticsearchDomainConfig>)
:The configuration information of the domain requested in the
DescribeElasticsearchDomainConfig
request.
- On failure, responds with
SdkError<DescribeElasticsearchDomainConfigError>
Source§impl Client
impl Client
Sourcepub fn describe_elasticsearch_domains(
&self,
) -> DescribeElasticsearchDomainsFluentBuilder
pub fn describe_elasticsearch_domains( &self, ) -> DescribeElasticsearchDomainsFluentBuilder
Constructs a fluent builder for the DescribeElasticsearchDomains
operation.
- The fluent builder is configurable:
domain_names(impl Into<String>)
/set_domain_names(Option<Vec::<String>>)
:
required: trueThe Elasticsearch domains for which you want information.
- On success, responds with
DescribeElasticsearchDomainsOutput
with field(s):domain_status_list(Vec::<ElasticsearchDomainStatus>)
:The status of the domains requested in the
DescribeElasticsearchDomains
request.
- On failure, responds with
SdkError<DescribeElasticsearchDomainsError>
Source§impl Client
impl Client
Sourcepub fn describe_elasticsearch_instance_type_limits(
&self,
) -> DescribeElasticsearchInstanceTypeLimitsFluentBuilder
pub fn describe_elasticsearch_instance_type_limits( &self, ) -> DescribeElasticsearchInstanceTypeLimitsFluentBuilder
Constructs a fluent builder for the DescribeElasticsearchInstanceTypeLimits
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: falseDomainName represents the name of the Domain that we are trying to modify. This should be present only if we are querying for Elasticsearch
Limits
instance_type(EsPartitionInstanceType)
/set_instance_type(Option<EsPartitionInstanceType>)
:
required: trueThe instance type for an Elasticsearch cluster for which Elasticsearch
Limits
elasticsearch_version(impl Into<String>)
/set_elasticsearch_version(Option<String>)
:
required: trueVersion of Elasticsearch for which
Limits
- On success, responds with
DescribeElasticsearchInstanceTypeLimitsOutput
with field(s):limits_by_role(Option<HashMap::<String, Limits>>)
:Map of Role of the Instance and Limits that are applicable. Role performed by given Instance in Elasticsearch can be one of the following:
- data: If the given InstanceType is used as data node
- master: If the given InstanceType is used as master node
- ultra_warm: If the given InstanceType is used as warm node
- On failure, responds with
SdkError<DescribeElasticsearchInstanceTypeLimitsError>
Source§impl Client
impl Client
Sourcepub fn describe_inbound_cross_cluster_search_connections(
&self,
) -> DescribeInboundCrossClusterSearchConnectionsFluentBuilder
pub fn describe_inbound_cross_cluster_search_connections( &self, ) -> DescribeInboundCrossClusterSearchConnectionsFluentBuilder
Constructs a fluent builder for the DescribeInboundCrossClusterSearchConnections
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseA list of filters used to match properties for inbound cross-cluster search connection. Available
names for this operation are:Filter
- cross-cluster-search-connection-id
- source-domain-info.domain-name
- source-domain-info.owner-id
- source-domain-info.region
- destination-domain-info.domain-name
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseSet this value to limit the number of results returned. If not specified, defaults to 100.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseNextToken is sent in case the earlier API call results contain the NextToken. It is used for pagination.
- On success, responds with
DescribeInboundCrossClusterSearchConnectionsOutput
with field(s):cross_cluster_search_connections(Option<Vec::<InboundCrossClusterSearchConnection>>)
:Consists of list of
matching the specified filter criteria.InboundCrossClusterSearchConnection
next_token(Option<String>)
:If more results are available and NextToken is present, make the next request to the same API with the received NextToken to paginate the remaining results.
- On failure, responds with
SdkError<DescribeInboundCrossClusterSearchConnectionsError>
Source§impl Client
impl Client
Sourcepub fn describe_outbound_cross_cluster_search_connections(
&self,
) -> DescribeOutboundCrossClusterSearchConnectionsFluentBuilder
pub fn describe_outbound_cross_cluster_search_connections( &self, ) -> DescribeOutboundCrossClusterSearchConnectionsFluentBuilder
Constructs a fluent builder for the DescribeOutboundCrossClusterSearchConnections
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseA list of filters used to match properties for outbound cross-cluster search connection. Available
names for this operation are:Filter
- cross-cluster-search-connection-id
- destination-domain-info.domain-name
- destination-domain-info.owner-id
- destination-domain-info.region
- source-domain-info.domain-name
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseSet this value to limit the number of results returned. If not specified, defaults to 100.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseNextToken is sent in case the earlier API call results contain the NextToken. It is used for pagination.
- On success, responds with
DescribeOutboundCrossClusterSearchConnectionsOutput
with field(s):cross_cluster_search_connections(Option<Vec::<OutboundCrossClusterSearchConnection>>)
:Consists of list of
matching the specified filter criteria.OutboundCrossClusterSearchConnection
next_token(Option<String>)
:If more results are available and NextToken is present, make the next request to the same API with the received NextToken to paginate the remaining results.
- On failure, responds with
SdkError<DescribeOutboundCrossClusterSearchConnectionsError>
Source§impl Client
impl Client
Sourcepub fn describe_packages(&self) -> DescribePackagesFluentBuilder
pub fn describe_packages(&self) -> DescribePackagesFluentBuilder
Constructs a fluent builder for the DescribePackages
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filters(DescribePackagesFilter)
/set_filters(Option<Vec::<DescribePackagesFilter>>)
:
required: falseOnly returns packages that match the
DescribePackagesFilterList
values.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseLimits results to a maximum number of packages.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseUsed for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.
- On success, responds with
DescribePackagesOutput
with field(s):package_details_list(Option<Vec::<PackageDetails>>)
:List of
PackageDetails
objects.next_token(Option<String>)
: (undocumented)
- On failure, responds with
SdkError<DescribePackagesError>
Source§impl Client
impl Client
Sourcepub fn describe_reserved_elasticsearch_instance_offerings(
&self,
) -> DescribeReservedElasticsearchInstanceOfferingsFluentBuilder
pub fn describe_reserved_elasticsearch_instance_offerings( &self, ) -> DescribeReservedElasticsearchInstanceOfferingsFluentBuilder
Constructs a fluent builder for the DescribeReservedElasticsearchInstanceOfferings
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
reserved_elasticsearch_instance_offering_id(impl Into<String>)
/set_reserved_elasticsearch_instance_offering_id(Option<String>)
:
required: falseThe offering identifier filter value. Use this parameter to show only the available offering that matches the specified reservation identifier.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseSet this value to limit the number of results returned. If not specified, defaults to 100.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseNextToken should be sent in case if earlier API call produced result containing NextToken. It is used for pagination.
- On success, responds with
DescribeReservedElasticsearchInstanceOfferingsOutput
with field(s):next_token(Option<String>)
:Provides an identifier to allow retrieval of paginated results.
reserved_elasticsearch_instance_offerings(Option<Vec::<ReservedElasticsearchInstanceOffering>>)
:List of reserved Elasticsearch instance offerings
- On failure, responds with
SdkError<DescribeReservedElasticsearchInstanceOfferingsError>
Source§impl Client
impl Client
Sourcepub fn describe_reserved_elasticsearch_instances(
&self,
) -> DescribeReservedElasticsearchInstancesFluentBuilder
pub fn describe_reserved_elasticsearch_instances( &self, ) -> DescribeReservedElasticsearchInstancesFluentBuilder
Constructs a fluent builder for the DescribeReservedElasticsearchInstances
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
reserved_elasticsearch_instance_id(impl Into<String>)
/set_reserved_elasticsearch_instance_id(Option<String>)
:
required: falseThe reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved Elasticsearch instance ID.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseSet this value to limit the number of results returned. If not specified, defaults to 100.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseNextToken should be sent in case if earlier API call produced result containing NextToken. It is used for pagination.
- On success, responds with
DescribeReservedElasticsearchInstancesOutput
with field(s):next_token(Option<String>)
:Provides an identifier to allow retrieval of paginated results.
reserved_elasticsearch_instances(Option<Vec::<ReservedElasticsearchInstance>>)
:List of reserved Elasticsearch instances.
- On failure, responds with
SdkError<DescribeReservedElasticsearchInstancesError>
Source§impl Client
impl Client
Sourcepub fn describe_vpc_endpoints(&self) -> DescribeVpcEndpointsFluentBuilder
pub fn describe_vpc_endpoints(&self) -> DescribeVpcEndpointsFluentBuilder
Constructs a fluent builder for the DescribeVpcEndpoints
operation.
- The fluent builder is configurable:
vpc_endpoint_ids(impl Into<String>)
/set_vpc_endpoint_ids(Option<Vec::<String>>)
:
required: trueThe unique identifiers of the endpoints to get information about.
- On success, responds with
DescribeVpcEndpointsOutput
with field(s):vpc_endpoints(Vec::<VpcEndpoint>)
:Information about each requested VPC endpoint.
vpc_endpoint_errors(Vec::<VpcEndpointError>)
:Any errors associated with the request.
- On failure, responds with
SdkError<DescribeVpcEndpointsError>
Source§impl Client
impl Client
Sourcepub fn dissociate_package(&self) -> DissociatePackageFluentBuilder
pub fn dissociate_package(&self) -> DissociatePackageFluentBuilder
Constructs a fluent builder for the DissociatePackage
operation.
- The fluent builder is configurable:
package_id(impl Into<String>)
/set_package_id(Option<String>)
:
required: trueInternal ID of the package that you want to associate with a domain. Use
DescribePackages
to find this value.domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueName of the domain that you want to associate the package with.
- On success, responds with
DissociatePackageOutput
with field(s):domain_package_details(Option<DomainPackageDetails>)
:DomainPackageDetails
- On failure, responds with
SdkError<DissociatePackageError>
Source§impl Client
impl Client
Sourcepub fn get_compatible_elasticsearch_versions(
&self,
) -> GetCompatibleElasticsearchVersionsFluentBuilder
pub fn get_compatible_elasticsearch_versions( &self, ) -> GetCompatibleElasticsearchVersionsFluentBuilder
Constructs a fluent builder for the GetCompatibleElasticsearchVersions
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: falseThe name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
- On success, responds with
GetCompatibleElasticsearchVersionsOutput
with field(s):compatible_elasticsearch_versions(Option<Vec::<CompatibleVersionsMap>>)
:A map of compatible Elasticsearch versions returned as part of the
GetCompatibleElasticsearchVersions
- On failure, responds with
SdkError<GetCompatibleElasticsearchVersionsError>
Source§impl Client
impl Client
Sourcepub fn get_package_version_history(
&self,
) -> GetPackageVersionHistoryFluentBuilder
pub fn get_package_version_history( &self, ) -> GetPackageVersionHistoryFluentBuilder
Constructs a fluent builder for the GetPackageVersionHistory
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
package_id(impl Into<String>)
/set_package_id(Option<String>)
:
required: trueReturns an audit history of versions of the package.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseLimits results to a maximum number of versions.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseUsed for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.
- On success, responds with
GetPackageVersionHistoryOutput
with field(s):package_id(Option<String>)
: (undocumented)package_version_history_list(Option<Vec::<PackageVersionHistory>>)
:List of
PackageVersionHistory
objects.next_token(Option<String>)
: (undocumented)
- On failure, responds with
SdkError<GetPackageVersionHistoryError>
Source§impl Client
impl Client
Sourcepub fn get_upgrade_history(&self) -> GetUpgradeHistoryFluentBuilder
pub fn get_upgrade_history(&self) -> GetUpgradeHistoryFluentBuilder
Constructs a fluent builder for the GetUpgradeHistory
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseSet this value to limit the number of results returned.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falsePaginated APIs accepts NextToken input to returns next page results and provides a NextToken output in the response which can be used by the client to retrieve more results.
- On success, responds with
GetUpgradeHistoryOutput
with field(s):upgrade_histories(Option<Vec::<UpgradeHistory>>)
:A list of
UpgradeHistory
GetUpgradeHistoryResponse
next_token(Option<String>)
:Pagination token that needs to be supplied to the next call to get the next page of results
- On failure, responds with
SdkError<GetUpgradeHistoryError>
Source§impl Client
impl Client
Sourcepub fn get_upgrade_status(&self) -> GetUpgradeStatusFluentBuilder
pub fn get_upgrade_status(&self) -> GetUpgradeStatusFluentBuilder
Constructs a fluent builder for the GetUpgradeStatus
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
- On success, responds with
GetUpgradeStatusOutput
with field(s):upgrade_step(Option<UpgradeStep>)
:Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:
- PreUpgradeCheck
- Snapshot
- Upgrade
step_status(Option<UpgradeStatus>)
:One of 4 statuses that a step can go through returned as part of the
GetUpgradeStatusResponse
- In Progress
- Succeeded
- Succeeded with Issues
- Failed
upgrade_name(Option<String>)
:A string that describes the update briefly
- On failure, responds with
SdkError<GetUpgradeStatusError>
Source§impl Client
impl Client
Sourcepub fn list_domain_names(&self) -> ListDomainNamesFluentBuilder
pub fn list_domain_names(&self) -> ListDomainNamesFluentBuilder
Constructs a fluent builder for the ListDomainNames
operation.
- The fluent builder is configurable:
engine_type(EngineType)
/set_engine_type(Option<EngineType>)
:
required: falseOptional parameter to filter the output by domain engine type. Acceptable values are ‘Elasticsearch’ and ‘OpenSearch’.
- On success, responds with
ListDomainNamesOutput
with field(s):domain_names(Option<Vec::<DomainInfo>>)
:List of domain names and respective engine types.
- On failure, responds with
SdkError<ListDomainNamesError>
Source§impl Client
impl Client
Sourcepub fn list_domains_for_package(&self) -> ListDomainsForPackageFluentBuilder
pub fn list_domains_for_package(&self) -> ListDomainsForPackageFluentBuilder
Constructs a fluent builder for the ListDomainsForPackage
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
package_id(impl Into<String>)
/set_package_id(Option<String>)
:
required: trueThe package for which to list domains.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseLimits results to a maximum number of domains.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseUsed for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.
- On success, responds with
ListDomainsForPackageOutput
with field(s):domain_package_details_list(Option<Vec::<DomainPackageDetails>>)
:List of
DomainPackageDetails
objects.next_token(Option<String>)
: (undocumented)
- On failure, responds with
SdkError<ListDomainsForPackageError>
Source§impl Client
impl Client
Sourcepub fn list_elasticsearch_instance_types(
&self,
) -> ListElasticsearchInstanceTypesFluentBuilder
pub fn list_elasticsearch_instance_types( &self, ) -> ListElasticsearchInstanceTypesFluentBuilder
Constructs a fluent builder for the ListElasticsearchInstanceTypes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
elasticsearch_version(impl Into<String>)
/set_elasticsearch_version(Option<String>)
:
required: trueVersion of Elasticsearch for which list of supported elasticsearch instance types are needed.
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: falseDomainName represents the name of the Domain that we are trying to modify. This should be present only if we are querying for list of available Elasticsearch instance types when modifying existing domain.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseSet this value to limit the number of results returned. Value provided must be greater than 30 else it wont be honored.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseNextToken should be sent in case if earlier API call produced result containing NextToken. It is used for pagination.
- On success, responds with
ListElasticsearchInstanceTypesOutput
with field(s):elasticsearch_instance_types(Option<Vec::<EsPartitionInstanceType>>)
:List of instance types supported by Amazon Elasticsearch service for given
ElasticsearchVersion
next_token(Option<String>)
:In case if there are more results available NextToken would be present, make further request to the same API with received NextToken to paginate remaining results.
- On failure, responds with
SdkError<ListElasticsearchInstanceTypesError>
Source§impl Client
impl Client
Sourcepub fn list_elasticsearch_versions(
&self,
) -> ListElasticsearchVersionsFluentBuilder
pub fn list_elasticsearch_versions( &self, ) -> ListElasticsearchVersionsFluentBuilder
Constructs a fluent builder for the ListElasticsearchVersions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseSet this value to limit the number of results returned. Value provided must be greater than 10 else it wont be honored.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falsePaginated APIs accepts NextToken input to returns next page results and provides a NextToken output in the response which can be used by the client to retrieve more results.
- On success, responds with
ListElasticsearchVersionsOutput
with field(s):elasticsearch_versions(Option<Vec::<String>>)
:List of supported elastic search versions.
next_token(Option<String>)
:Paginated APIs accepts NextToken input to returns next page results and provides a NextToken output in the response which can be used by the client to retrieve more results.
- On failure, responds with
SdkError<ListElasticsearchVersionsError>
Source§impl Client
impl Client
Sourcepub fn list_packages_for_domain(&self) -> ListPackagesForDomainFluentBuilder
pub fn list_packages_for_domain(&self) -> ListPackagesForDomainFluentBuilder
Constructs a fluent builder for the ListPackagesForDomain
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe name of the domain for which you want to list associated packages.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseLimits results to a maximum number of packages.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseUsed for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.
- On success, responds with
ListPackagesForDomainOutput
with field(s):domain_package_details_list(Option<Vec::<DomainPackageDetails>>)
:List of
DomainPackageDetails
objects.next_token(Option<String>)
:Pagination token that needs to be supplied to the next call to get the next page of results.
- On failure, responds with
SdkError<ListPackagesForDomainError>
Source§impl Client
impl Client
Constructs a fluent builder for the ListTags
operation.
- The fluent builder is configurable:
arn(impl Into<String>)
/set_arn(Option<String>)
:
required: trueSpecify the
ARN
for the Elasticsearch domain to which the tags are attached that you want to view.
- On success, responds with
ListTagsOutput
with field(s):tag_list(Option<Vec::<Tag>>)
:List of
Tag
for the requested Elasticsearch domain.
- On failure, responds with
SdkError<ListTagsError>
Source§impl Client
impl Client
Sourcepub fn list_vpc_endpoint_access(&self) -> ListVpcEndpointAccessFluentBuilder
pub fn list_vpc_endpoint_access(&self) -> ListVpcEndpointAccessFluentBuilder
Constructs a fluent builder for the ListVpcEndpointAccess
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe name of the OpenSearch Service domain to retrieve access information for.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseProvides an identifier to allow retrieval of paginated results.
- On success, responds with
ListVpcEndpointAccessOutput
with field(s):authorized_principal_list(Vec::<AuthorizedPrincipal>)
:List of
AuthorizedPrincipal
describing the details of the permissions to manage VPC endpoints against the specified domain.next_token(String)
:Provides an identifier to allow retrieval of paginated results.
- On failure, responds with
SdkError<ListVpcEndpointAccessError>
Source§impl Client
impl Client
Sourcepub fn list_vpc_endpoints(&self) -> ListVpcEndpointsFluentBuilder
pub fn list_vpc_endpoints(&self) -> ListVpcEndpointsFluentBuilder
Constructs a fluent builder for the ListVpcEndpoints
operation.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseIdentifier to allow retrieval of paginated results.
- On success, responds with
ListVpcEndpointsOutput
with field(s):vpc_endpoint_summary_list(Vec::<VpcEndpointSummary>)
:Information about each endpoint.
next_token(String)
:Provides an identifier to allow retrieval of paginated results.
- On failure, responds with
SdkError<ListVpcEndpointsError>
Source§impl Client
impl Client
Sourcepub fn list_vpc_endpoints_for_domain(
&self,
) -> ListVpcEndpointsForDomainFluentBuilder
pub fn list_vpc_endpoints_for_domain( &self, ) -> ListVpcEndpointsForDomainFluentBuilder
Constructs a fluent builder for the ListVpcEndpointsForDomain
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueName of the ElasticSearch domain whose VPC endpoints are to be listed.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseProvides an identifier to allow retrieval of paginated results.
- On success, responds with
ListVpcEndpointsForDomainOutput
with field(s):vpc_endpoint_summary_list(Vec::<VpcEndpointSummary>)
:Provides list of
VpcEndpointSummary
summarizing details of the VPC endpoints.next_token(String)
:Information about each endpoint associated with the domain.
- On failure, responds with
SdkError<ListVpcEndpointsForDomainError>
Source§impl Client
impl Client
Sourcepub fn purchase_reserved_elasticsearch_instance_offering(
&self,
) -> PurchaseReservedElasticsearchInstanceOfferingFluentBuilder
pub fn purchase_reserved_elasticsearch_instance_offering( &self, ) -> PurchaseReservedElasticsearchInstanceOfferingFluentBuilder
Constructs a fluent builder for the PurchaseReservedElasticsearchInstanceOffering
operation.
- The fluent builder is configurable:
reserved_elasticsearch_instance_offering_id(impl Into<String>)
/set_reserved_elasticsearch_instance_offering_id(Option<String>)
:
required: trueThe ID of the reserved Elasticsearch instance offering to purchase.
reservation_name(impl Into<String>)
/set_reservation_name(Option<String>)
:
required: trueA customer-specified identifier to track this reservation.
instance_count(i32)
/set_instance_count(Option<i32>)
:
required: falseThe number of Elasticsearch instances to reserve.
- On success, responds with
PurchaseReservedElasticsearchInstanceOfferingOutput
with field(s):reserved_elasticsearch_instance_id(Option<String>)
:Details of the reserved Elasticsearch instance which was purchased.
reservation_name(Option<String>)
:The customer-specified identifier used to track this reservation.
- On failure, responds with
SdkError<PurchaseReservedElasticsearchInstanceOfferingError>
Source§impl Client
impl Client
Sourcepub fn reject_inbound_cross_cluster_search_connection(
&self,
) -> RejectInboundCrossClusterSearchConnectionFluentBuilder
pub fn reject_inbound_cross_cluster_search_connection( &self, ) -> RejectInboundCrossClusterSearchConnectionFluentBuilder
Constructs a fluent builder for the RejectInboundCrossClusterSearchConnection
operation.
- The fluent builder is configurable:
cross_cluster_search_connection_id(impl Into<String>)
/set_cross_cluster_search_connection_id(Option<String>)
:
required: trueThe id of the inbound connection that you want to reject.
- On success, responds with
RejectInboundCrossClusterSearchConnectionOutput
with field(s):cross_cluster_search_connection(Option<InboundCrossClusterSearchConnection>)
:Specifies the
of rejected inbound connection.InboundCrossClusterSearchConnection
- On failure, responds with
SdkError<RejectInboundCrossClusterSearchConnectionError>
Source§impl Client
impl Client
Constructs a fluent builder for the RemoveTags
operation.
- The fluent builder is configurable:
arn(impl Into<String>)
/set_arn(Option<String>)
:
required: trueSpecifies the
ARN
for the Elasticsearch domain from which you want to delete the specified tags.tag_keys(impl Into<String>)
/set_tag_keys(Option<Vec::<String>>)
:
required: trueSpecifies the
TagKey
list which you want to remove from the Elasticsearch domain.
- On success, responds with
RemoveTagsOutput
- On failure, responds with
SdkError<RemoveTagsError>
Source§impl Client
impl Client
Sourcepub fn revoke_vpc_endpoint_access(&self) -> RevokeVpcEndpointAccessFluentBuilder
pub fn revoke_vpc_endpoint_access(&self) -> RevokeVpcEndpointAccessFluentBuilder
Constructs a fluent builder for the RevokeVpcEndpointAccess
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe name of the OpenSearch Service domain.
account(impl Into<String>)
/set_account(Option<String>)
:
required: trueThe account ID to revoke access from.
- On success, responds with
RevokeVpcEndpointAccessOutput
- On failure, responds with
SdkError<RevokeVpcEndpointAccessError>
Source§impl Client
impl Client
Sourcepub fn start_elasticsearch_service_software_update(
&self,
) -> StartElasticsearchServiceSoftwareUpdateFluentBuilder
pub fn start_elasticsearch_service_software_update( &self, ) -> StartElasticsearchServiceSoftwareUpdateFluentBuilder
Constructs a fluent builder for the StartElasticsearchServiceSoftwareUpdate
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe name of the domain that you want to update to the latest service software.
- On success, responds with
StartElasticsearchServiceSoftwareUpdateOutput
with field(s):service_software_options(Option<ServiceSoftwareOptions>)
:The current status of the Elasticsearch service software update.
- On failure, responds with
SdkError<StartElasticsearchServiceSoftwareUpdateError>
Source§impl Client
impl Client
Sourcepub fn update_elasticsearch_domain_config(
&self,
) -> UpdateElasticsearchDomainConfigFluentBuilder
pub fn update_elasticsearch_domain_config( &self, ) -> UpdateElasticsearchDomainConfigFluentBuilder
Constructs a fluent builder for the UpdateElasticsearchDomainConfig
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe name of the Elasticsearch domain that you are updating.
elasticsearch_cluster_config(ElasticsearchClusterConfig)
/set_elasticsearch_cluster_config(Option<ElasticsearchClusterConfig>)
:
required: falseThe type and number of instances to instantiate for the domain cluster.
ebs_options(EbsOptions)
/set_ebs_options(Option<EbsOptions>)
:
required: falseSpecify the type and size of the EBS volume that you want to use.
snapshot_options(SnapshotOptions)
/set_snapshot_options(Option<SnapshotOptions>)
:
required: falseOption to set the time, in UTC format, for the daily automated snapshot. Default value is
0
hours.vpc_options(VpcOptions)
/set_vpc_options(Option<VpcOptions>)
:
required: falseOptions to specify the subnets and security groups for VPC endpoint. For more information, see Creating a VPC in VPC Endpoints for Amazon Elasticsearch Service Domains
cognito_options(CognitoOptions)
/set_cognito_options(Option<CognitoOptions>)
:
required: falseOptions to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana.
advanced_options(impl Into<String>, impl Into<String>)
/set_advanced_options(Option<HashMap::<String, String>>)
:
required: falseModifies the advanced option to allow references to indices in an HTTP request body. Must be
false
when configuring access to individual sub-resources. By default, the value istrue
. See Configuration Advanced Options for more information.access_policies(impl Into<String>)
/set_access_policies(Option<String>)
:
required: falseIAM access policy as a JSON-formatted string.
log_publishing_options(LogType, LogPublishingOption)
/set_log_publishing_options(Option<HashMap::<LogType, LogPublishingOption>>)
:
required: falseMap of
LogType
andLogPublishingOption
, each containing options to publish a given type of Elasticsearch log.domain_endpoint_options(DomainEndpointOptions)
/set_domain_endpoint_options(Option<DomainEndpointOptions>)
:
required: falseOptions to specify configuration that will be applied to the domain endpoint.
advanced_security_options(AdvancedSecurityOptionsInput)
/set_advanced_security_options(Option<AdvancedSecurityOptionsInput>)
:
required: falseSpecifies advanced security options.
node_to_node_encryption_options(NodeToNodeEncryptionOptions)
/set_node_to_node_encryption_options(Option<NodeToNodeEncryptionOptions>)
:
required: falseSpecifies the NodeToNodeEncryptionOptions.
encryption_at_rest_options(EncryptionAtRestOptions)
/set_encryption_at_rest_options(Option<EncryptionAtRestOptions>)
:
required: falseSpecifies the Encryption At Rest Options.
auto_tune_options(AutoTuneOptions)
/set_auto_tune_options(Option<AutoTuneOptions>)
:
required: falseSpecifies Auto-Tune options.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseThis flag, when set to True, specifies whether the
UpdateElasticsearchDomain
request should return the results of validation checks without actually applying the change. This flag, when set to True, specifies the deployment mechanism through which the update shall be applied on the domain. This will not actually perform the Update.
- On success, responds with
UpdateElasticsearchDomainConfigOutput
with field(s):domain_config(Option<ElasticsearchDomainConfig>)
:The status of the updated Elasticsearch domain.
dry_run_results(Option<DryRunResults>)
:Contains result of DryRun.
- On failure, responds with
SdkError<UpdateElasticsearchDomainConfigError>
Source§impl Client
impl Client
Sourcepub fn update_package(&self) -> UpdatePackageFluentBuilder
pub fn update_package(&self) -> UpdatePackageFluentBuilder
Constructs a fluent builder for the UpdatePackage
operation.
- The fluent builder is configurable:
package_id(impl Into<String>)
/set_package_id(Option<String>)
:
required: trueUnique identifier for the package.
package_source(PackageSource)
/set_package_source(Option<PackageSource>)
:
required: trueThe S3 location for importing the package specified as
S3BucketName
andS3Key
package_description(impl Into<String>)
/set_package_description(Option<String>)
:
required: falseNew description of the package.
commit_message(impl Into<String>)
/set_commit_message(Option<String>)
:
required: falseAn info message for the new version which will be shown as part of
GetPackageVersionHistoryResponse
.
- On success, responds with
UpdatePackageOutput
with field(s):package_details(Option<PackageDetails>)
:Information about the package
PackageDetails
.
- On failure, responds with
SdkError<UpdatePackageError>
Source§impl Client
impl Client
Sourcepub fn update_vpc_endpoint(&self) -> UpdateVpcEndpointFluentBuilder
pub fn update_vpc_endpoint(&self) -> UpdateVpcEndpointFluentBuilder
Constructs a fluent builder for the UpdateVpcEndpoint
operation.
- The fluent builder is configurable:
vpc_endpoint_id(impl Into<String>)
/set_vpc_endpoint_id(Option<String>)
:
required: trueUnique identifier of the VPC endpoint to be updated.
vpc_options(VpcOptions)
/set_vpc_options(Option<VpcOptions>)
:
required: trueThe security groups and/or subnets to add, remove, or modify.
- On success, responds with
UpdateVpcEndpointOutput
with field(s):vpc_endpoint(Option<VpcEndpoint>)
:The endpoint to be updated.
- On failure, responds with
SdkError<UpdateVpcEndpointError>
Source§impl Client
impl Client
Sourcepub fn upgrade_elasticsearch_domain(
&self,
) -> UpgradeElasticsearchDomainFluentBuilder
pub fn upgrade_elasticsearch_domain( &self, ) -> UpgradeElasticsearchDomainFluentBuilder
Constructs a fluent builder for the UpgradeElasticsearchDomain
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
target_version(impl Into<String>)
/set_target_version(Option<String>)
:
required: trueThe version of Elasticsearch that you intend to upgrade the domain to.
perform_check_only(bool)
/set_perform_check_only(Option<bool>)
:
required: falseThis flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed. This will not actually perform the Upgrade.
- On success, responds with
UpgradeElasticsearchDomainOutput
with field(s):domain_name(Option<String>)
:The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
target_version(Option<String>)
:The version of Elasticsearch that you intend to upgrade the domain to.
perform_check_only(Option<bool>)
:This flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed. This will not actually perform the Upgrade.
change_progress_details(Option<ChangeProgressDetails>)
:Specifies change details of the domain configuration change.
- On failure, responds with
SdkError<UpgradeElasticsearchDomainError>
Source§impl Client
impl Client
Sourcepub fn from_conf(conf: Config) -> Self
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config
.
§Panics
This method will panic in the following cases:
- Retries or timeouts are enabled without a
sleep_impl
configured. - Identity caching is enabled without a
sleep_impl
andtime_source
configured. - No
behavior_version
is provided.
The panic message for each of these will have instructions on how to resolve them.
Source§impl Client
impl Client
Sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
§Panics
- This method will panic if the
sdk_config
is missing an async sleep implementation. If you experience this panic, set thesleep_impl
on the Config passed into this function to fix it. - This method will panic if the
sdk_config
is missing an HTTP connector. If you experience this panic, set thehttp_connector
on the Config passed into this function to fix it. - This method will panic if no
BehaviorVersion
is provided. If you experience this panic, setbehavior_version
on the Config or enable thebehavior-version-latest
Cargo feature.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute
value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
Quirk
value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition
value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);