Struct aws_sdk_elasticsearch::Client
source · 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 that can be set on the Config that
is absent from SdkConfig, or slightly different settings for a specific client may be desired.
The Config 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
AcceptInboundCrossClusterSearchConnectionOutputwith 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
ARNfor which you want to add the tags.tag_list(Tag)/set_tag_list(Option<Vec::<Tag>>):
required: trueList of
Tagthat 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
DescribePackagesto 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
AssociatePackageOutputwith 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
AuthorizeVpcEndpointAccessOutputwith 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_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
CancelElasticsearchServiceSoftwareUpdateOutputwith 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
falsewhen 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
LogTypeandLogPublishingOption, 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
Tagadded during domain creation.
- On success, responds with
CreateElasticsearchDomainOutputwith 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.DomainInformationdestination_domain_info(DomainInformation)/set_destination_domain_info(Option<DomainInformation>):
required: trueSpecifies the
for the destination Elasticsearch domain.DomainInformationconnection_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
CreateOutboundCrossClusterSearchConnectionOutputwith field(s):source_domain_info(Option<DomainInformation>):Specifies the
for the source Elasticsearch domain.DomainInformationdestination_domain_info(Option<DomainInformation>):Specifies the
for the destination Elasticsearch domain.DomainInformationconnection_alias(Option<String>):Specifies the connection alias provided during the create connection request.
connection_status(Option<OutboundCrossClusterSearchConnectionStatus>):Specifies the
for the newly created connection.OutboundCrossClusterSearchConnectionStatuscross_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
PackageSourcefor importing the package.
- On success, responds with
CreatePackageOutputwith 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
CreateVpcEndpointOutputwith 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
DeleteElasticsearchDomainOutputwith 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
sendit. - 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
DeleteInboundCrossClusterSearchConnectionOutputwith 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
DeleteOutboundCrossClusterSearchConnectionOutputwith 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
DescribePackagesto find this value.
- On success, responds with
DeletePackageOutputwith 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
DeleteVpcEndpointOutputwith field(s):vpc_endpoint_summary(Option<VpcEndpointSummary>):Information about the deleted endpoint, including its current status (
DELETINGorDELETE_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
DescribeDomainAutoTunesOutputwith 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
DescribeDomainChangeProgressOutputwith field(s):change_progress_status(Option<ChangeProgressStatusDetails>):Progress information for the configuration change that is requested in the
DescribeDomainChangeProgressrequest.
- 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
DescribeElasticsearchDomainOutputwith 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
DescribeElasticsearchDomainConfigOutputwith field(s):domain_config(Option<ElasticsearchDomainConfig>):The configuration information of the domain requested in the
DescribeElasticsearchDomainConfigrequest.
- 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
DescribeElasticsearchDomainsOutputwith field(s):domain_status_list(Vec::<ElasticsearchDomainStatus>):The status of the domains requested in the
DescribeElasticsearchDomainsrequest.
- 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
for existing domain.Limitsinstance_type(EsPartitionInstanceType)/set_instance_type(Option<EsPartitionInstanceType>):
required: trueThe instance type for an Elasticsearch cluster for which Elasticsearch
are needed.Limitselasticsearch_version(impl Into<String>)/set_elasticsearch_version(Option<String>):
required: trueVersion of Elasticsearch for which
are needed.Limits
- On success, responds with
DescribeElasticsearchInstanceTypeLimitsOutputwith 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
DescribeInboundCrossClusterSearchConnectionsOutputwith field(s):cross_cluster_search_connections(Option<Vec::<InboundCrossClusterSearchConnection>>):Consists of list of
matching the specified filter criteria.InboundCrossClusterSearchConnectionnext_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
DescribeOutboundCrossClusterSearchConnectionsOutputwith field(s):cross_cluster_search_connections(Option<Vec::<OutboundCrossClusterSearchConnection>>):Consists of list of
matching the specified filter criteria.OutboundCrossClusterSearchConnectionnext_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
DescribePackagesFilterListvalues.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
DescribePackagesOutputwith field(s):package_details_list(Option<Vec::<PackageDetails>>):List of
PackageDetailsobjects.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
DescribeReservedElasticsearchInstanceOfferingsOutputwith 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
DescribeReservedElasticsearchInstancesOutputwith 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
DescribeVpcEndpointsOutputwith 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
DescribePackagesto 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
DissociatePackageOutputwith 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
GetCompatibleElasticsearchVersionsOutputwith field(s):compatible_elasticsearch_versions(Option<Vec::<CompatibleVersionsMap>>):A map of compatible Elasticsearch versions returned as part of the
operation.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
GetPackageVersionHistoryOutputwith field(s):package_id(Option<String>): (undocumented)package_version_history_list(Option<Vec::<PackageVersionHistory>>):List of
PackageVersionHistoryobjects.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
GetUpgradeHistoryOutputwith field(s):upgrade_histories(Option<Vec::<UpgradeHistory>>):A list of
objects corresponding to each Upgrade or Upgrade Eligibility Check performed on a domain returned as part ofUpgradeHistoryobject.GetUpgradeHistoryResponsenext_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
GetUpgradeStatusOutputwith 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
object. The status can take one of the following values: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
ListDomainNamesOutputwith 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
ListDomainsForPackageOutputwith field(s):domain_package_details_list(Option<Vec::<DomainPackageDetails>>):List of
DomainPackageDetailsobjects.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
ListElasticsearchInstanceTypesOutputwith field(s):elasticsearch_instance_types(Option<Vec::<EsPartitionInstanceType>>):List of instance types supported by Amazon Elasticsearch service for given
ElasticsearchVersionnext_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
ListElasticsearchVersionsOutputwith 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
ListPackagesForDomainOutputwith field(s):domain_package_details_list(Option<Vec::<DomainPackageDetails>>):List of
DomainPackageDetailsobjects.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
ARNfor the Elasticsearch domain to which the tags are attached that you want to view.
- On success, responds with
ListTagsOutputwith field(s):tag_list(Option<Vec::<Tag>>):List of
Tagfor 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
ListVpcEndpointAccessOutputwith field(s):authorized_principal_list(Vec::<AuthorizedPrincipal>):List of
AuthorizedPrincipaldescribing 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
ListVpcEndpointsOutputwith 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
ListVpcEndpointsForDomainOutputwith field(s):vpc_endpoint_summary_list(Vec::<VpcEndpointSummary>):Provides list of
VpcEndpointSummarysummarizing 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
PurchaseReservedElasticsearchInstanceOfferingOutputwith 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
RejectInboundCrossClusterSearchConnectionOutputwith 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
ARNfor 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
TagKeylist 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
StartElasticsearchServiceSoftwareUpdateOutputwith 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
0hours.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
falsewhen 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
LogTypeandLogPublishingOption, 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
UpdateElasticsearchDomainrequest 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
UpdateElasticsearchDomainConfigOutputwith 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
S3BucketNameandS3Keypackage_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
UpdatePackageOutputwith 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
UpdateVpcEndpointOutputwith 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
UpgradeElasticsearchDomainOutputwith 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_implconfigured. - Identity caching is enabled without a
sleep_implandtime_sourceconfigured. - No
behavior_versionis 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_configis missing an async sleep implementation. If you experience this panic, set thesleep_implon the Config passed into this function to fix it. - This method will panic if the
sdk_configis missing an HTTP connector. If you experience this panic, set thehttp_connectoron the Config passed into this function to fix it. - This method will panic if no
BehaviorVersionis provided. If you experience this panic, setbehavior_versionon the Config or enable thebehavior-version-latestCargo feature.