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.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_elasticsearch::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */Constructing a client with custom configuration
use aws_config::retry::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_elasticsearch::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_elasticsearch::Client::from_conf(config);Implementations
sourceimpl Client
impl Client
sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
pub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
Creates a client with the given service configuration.
sourceimpl Client
impl Client
sourcepub fn accept_inbound_cross_cluster_search_connection(
&self
) -> AcceptInboundCrossClusterSearchConnection
pub fn accept_inbound_cross_cluster_search_connection(
&self
) -> AcceptInboundCrossClusterSearchConnection
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>):The 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>
Constructs a fluent builder for the AddTags operation.
- The fluent builder is configurable:
arn(impl Into<String>)/set_arn(Option<String>):Specify the
ARNfor which you want to add the tags.tag_list(Vec<Tag>)/set_tag_list(Option<Vec<Tag>>):List of
Tagthat need to be added for the Elasticsearch domain.
- On success, responds with
AddTagsOutput - On failure, responds with
SdkError<AddTagsError>
sourcepub fn associate_package(&self) -> AssociatePackage
pub fn associate_package(&self) -> AssociatePackage
Constructs a fluent builder for the AssociatePackage operation.
- The fluent builder is configurable:
package_id(impl Into<String>)/set_package_id(Option<String>):Internal 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>):Name 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>
sourcepub fn cancel_elasticsearch_service_software_update(
&self
) -> CancelElasticsearchServiceSoftwareUpdate
pub fn cancel_elasticsearch_service_software_update(
&self
) -> CancelElasticsearchServiceSoftwareUpdate
Constructs a fluent builder for the CancelElasticsearchServiceSoftwareUpdate operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):The 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>
sourcepub fn create_elasticsearch_domain(&self) -> CreateElasticsearchDomain
pub fn create_elasticsearch_domain(&self) -> CreateElasticsearchDomain
Constructs a fluent builder for the CreateElasticsearchDomain operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):The 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>):String 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>):Configuration 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>):Options to enable, disable and specify the type and size of EBS storage volumes.
access_policies(impl Into<String>)/set_access_policies(Option<String>):IAM access policy as a JSON-formatted string.
snapshot_options(SnapshotOptions)/set_snapshot_options(Option<SnapshotOptions>):Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
vpc_options(VpcOptions)/set_vpc_options(Option<VpcOptions>):Options 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>):Options 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>):Specifies the Encryption At Rest Options.
node_to_node_encryption_options(NodeToNodeEncryptionOptions)/set_node_to_node_encryption_options(Option<NodeToNodeEncryptionOptions>):Specifies the NodeToNodeEncryptionOptions.
advanced_options(HashMap<String, String>)/set_advanced_options(Option<HashMap<String, String>>):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.log_publishing_options(HashMap<LogType, LogPublishingOption>)/set_log_publishing_options(Option<HashMap<LogType, LogPublishingOption>>):Map of
LogTypeandLogPublishingOption, each containing options to publish a given type of Elasticsearch log.domain_endpoint_options(DomainEndpointOptions)/set_domain_endpoint_options(Option<DomainEndpointOptions>):Options to specify configuration that will be applied to the domain endpoint.
advanced_security_options(AdvancedSecurityOptionsInput)/set_advanced_security_options(Option<AdvancedSecurityOptionsInput>):Specifies advanced security options.
auto_tune_options(AutoTuneOptionsInput)/set_auto_tune_options(Option<AutoTuneOptionsInput>):Specifies Auto-Tune options.
tag_list(Vec<Tag>)/set_tag_list(Option<Vec<Tag>>):A 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>
sourcepub fn create_outbound_cross_cluster_search_connection(
&self
) -> CreateOutboundCrossClusterSearchConnection
pub fn create_outbound_cross_cluster_search_connection(
&self
) -> CreateOutboundCrossClusterSearchConnection
Constructs a fluent builder for the CreateOutboundCrossClusterSearchConnection operation.
- The fluent builder is configurable:
source_domain_info(DomainInformation)/set_source_domain_info(Option<DomainInformation>):Specifies the
for the source Elasticsearch domain.DomainInformationdestination_domain_info(DomainInformation)/set_destination_domain_info(Option<DomainInformation>):Specifies the
for the destination Elasticsearch domain.DomainInformationconnection_alias(impl Into<String>)/set_connection_alias(Option<String>):Specifies 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>
sourcepub fn create_package(&self) -> CreatePackage
pub fn create_package(&self) -> CreatePackage
Constructs a fluent builder for the CreatePackage operation.
- The fluent builder is configurable:
package_name(impl Into<String>)/set_package_name(Option<String>):Unique identifier for the package.
package_type(PackageType)/set_package_type(Option<PackageType>):Type of package. Currently supports only TXT-DICTIONARY.
package_description(impl Into<String>)/set_package_description(Option<String>):Description of the package.
package_source(PackageSource)/set_package_source(Option<PackageSource>):The 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>
sourcepub fn delete_elasticsearch_domain(&self) -> DeleteElasticsearchDomain
pub fn delete_elasticsearch_domain(&self) -> DeleteElasticsearchDomain
Constructs a fluent builder for the DeleteElasticsearchDomain operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):The 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>
sourcepub fn delete_elasticsearch_service_role(
&self
) -> DeleteElasticsearchServiceRole
pub fn delete_elasticsearch_service_role(
&self
) -> DeleteElasticsearchServiceRole
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>
sourcepub fn delete_inbound_cross_cluster_search_connection(
&self
) -> DeleteInboundCrossClusterSearchConnection
pub fn delete_inbound_cross_cluster_search_connection(
&self
) -> DeleteInboundCrossClusterSearchConnection
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>):The 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>
sourcepub fn delete_outbound_cross_cluster_search_connection(
&self
) -> DeleteOutboundCrossClusterSearchConnection
pub fn delete_outbound_cross_cluster_search_connection(
&self
) -> DeleteOutboundCrossClusterSearchConnection
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>):The 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>
sourcepub fn delete_package(&self) -> DeletePackage
pub fn delete_package(&self) -> DeletePackage
Constructs a fluent builder for the DeletePackage operation.
- The fluent builder is configurable:
package_id(impl Into<String>)/set_package_id(Option<String>):Internal 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>
sourcepub fn describe_domain_auto_tunes(&self) -> DescribeDomainAutoTunes
pub fn describe_domain_auto_tunes(&self) -> DescribeDomainAutoTunes
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>):Specifies the domain name for which you want Auto-Tune action details.
max_results(i32)/set_max_results(i32):Set 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>):NextToken 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>
sourcepub fn describe_domain_change_progress(&self) -> DescribeDomainChangeProgress
pub fn describe_domain_change_progress(&self) -> DescribeDomainChangeProgress
Constructs a fluent builder for the DescribeDomainChangeProgress operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):The domain you want to get the progress information about.
change_id(impl Into<String>)/set_change_id(Option<String>):The 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>
sourcepub fn describe_elasticsearch_domain(&self) -> DescribeElasticsearchDomain
pub fn describe_elasticsearch_domain(&self) -> DescribeElasticsearchDomain
Constructs a fluent builder for the DescribeElasticsearchDomain operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):The 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>
sourcepub fn describe_elasticsearch_domain_config(
&self
) -> DescribeElasticsearchDomainConfig
pub fn describe_elasticsearch_domain_config(
&self
) -> DescribeElasticsearchDomainConfig
Constructs a fluent builder for the DescribeElasticsearchDomainConfig operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):The 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>
sourcepub fn describe_elasticsearch_domains(&self) -> DescribeElasticsearchDomains
pub fn describe_elasticsearch_domains(&self) -> DescribeElasticsearchDomains
Constructs a fluent builder for the DescribeElasticsearchDomains operation.
- The fluent builder is configurable:
domain_names(Vec<String>)/set_domain_names(Option<Vec<String>>):The Elasticsearch domains for which you want information.
- On success, responds with
DescribeElasticsearchDomainsOutputwith field(s):domain_status_list(Option<Vec<ElasticsearchDomainStatus>>):The status of the domains requested in the
DescribeElasticsearchDomainsrequest.
- On failure, responds with
SdkError<DescribeElasticsearchDomainsError>
sourcepub fn describe_elasticsearch_instance_type_limits(
&self
) -> DescribeElasticsearchInstanceTypeLimits
pub fn describe_elasticsearch_instance_type_limits(
&self
) -> DescribeElasticsearchInstanceTypeLimits
Constructs a fluent builder for the DescribeElasticsearchInstanceTypeLimits operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):DomainName 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>):The instance type for an Elasticsearch cluster for which Elasticsearch
are needed.Limitselasticsearch_version(impl Into<String>)/set_elasticsearch_version(Option<String>):Version 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>
sourcepub fn describe_inbound_cross_cluster_search_connections(
&self
) -> DescribeInboundCrossClusterSearchConnections
pub fn describe_inbound_cross_cluster_search_connections(
&self
) -> DescribeInboundCrossClusterSearchConnections
Constructs a fluent builder for the DescribeInboundCrossClusterSearchConnections operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
filters(Vec<Filter>)/set_filters(Option<Vec<Filter>>):A 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(i32):Set 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>):NextToken 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>
sourcepub fn describe_outbound_cross_cluster_search_connections(
&self
) -> DescribeOutboundCrossClusterSearchConnections
pub fn describe_outbound_cross_cluster_search_connections(
&self
) -> DescribeOutboundCrossClusterSearchConnections
Constructs a fluent builder for the DescribeOutboundCrossClusterSearchConnections operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
filters(Vec<Filter>)/set_filters(Option<Vec<Filter>>):A 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(i32):Set 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>):NextToken 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>
sourcepub fn describe_packages(&self) -> DescribePackages
pub fn describe_packages(&self) -> DescribePackages
Constructs a fluent builder for the DescribePackages operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
filters(Vec<DescribePackagesFilter>)/set_filters(Option<Vec<DescribePackagesFilter>>):Only returns packages that match the
DescribePackagesFilterListvalues.max_results(i32)/set_max_results(i32):Limits results to a maximum number of packages.
next_token(impl Into<String>)/set_next_token(Option<String>):Used 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>
sourcepub fn describe_reserved_elasticsearch_instance_offerings(
&self
) -> DescribeReservedElasticsearchInstanceOfferings
pub fn describe_reserved_elasticsearch_instance_offerings(
&self
) -> DescribeReservedElasticsearchInstanceOfferings
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>):The 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(i32):Set 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>):NextToken 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>
sourcepub fn describe_reserved_elasticsearch_instances(
&self
) -> DescribeReservedElasticsearchInstances
pub fn describe_reserved_elasticsearch_instances(
&self
) -> DescribeReservedElasticsearchInstances
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>):The 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(i32):Set 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>):NextToken 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>
sourcepub fn dissociate_package(&self) -> DissociatePackage
pub fn dissociate_package(&self) -> DissociatePackage
Constructs a fluent builder for the DissociatePackage operation.
- The fluent builder is configurable:
package_id(impl Into<String>)/set_package_id(Option<String>):Internal 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>):Name 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>
sourcepub fn get_compatible_elasticsearch_versions(
&self
) -> GetCompatibleElasticsearchVersions
pub fn get_compatible_elasticsearch_versions(
&self
) -> GetCompatibleElasticsearchVersions
Constructs a fluent builder for the GetCompatibleElasticsearchVersions operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_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).
- 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>
sourcepub fn get_package_version_history(&self) -> GetPackageVersionHistory
pub fn get_package_version_history(&self) -> GetPackageVersionHistory
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>):Returns an audit history of versions of the package.
max_results(i32)/set_max_results(i32):Limits results to a maximum number of versions.
next_token(impl Into<String>)/set_next_token(Option<String>):Used 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>
sourcepub fn get_upgrade_history(&self) -> GetUpgradeHistory
pub fn get_upgrade_history(&self) -> GetUpgradeHistory
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>):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).
max_results(i32)/set_max_results(i32):Set this value to limit the number of results returned.
next_token(impl Into<String>)/set_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 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>
sourcepub fn get_upgrade_status(&self) -> GetUpgradeStatus
pub fn get_upgrade_status(&self) -> GetUpgradeStatus
Constructs a fluent builder for the GetUpgradeStatus operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_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).
- 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>
sourcepub fn list_domain_names(&self) -> ListDomainNames
pub fn list_domain_names(&self) -> ListDomainNames
Constructs a fluent builder for the ListDomainNames operation.
- The fluent builder is configurable:
engine_type(EngineType)/set_engine_type(Option<EngineType>):Optional 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>
sourcepub fn list_domains_for_package(&self) -> ListDomainsForPackage
pub fn list_domains_for_package(&self) -> ListDomainsForPackage
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>):The package for which to list domains.
max_results(i32)/set_max_results(i32):Limits results to a maximum number of domains.
next_token(impl Into<String>)/set_next_token(Option<String>):Used 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>
sourcepub fn list_elasticsearch_instance_types(
&self
) -> ListElasticsearchInstanceTypes
pub fn list_elasticsearch_instance_types(
&self
) -> ListElasticsearchInstanceTypes
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>):Version of Elasticsearch for which list of supported elasticsearch instance types are needed.
domain_name(impl Into<String>)/set_domain_name(Option<String>):DomainName 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(i32):Set 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>):NextToken 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>
sourcepub fn list_elasticsearch_versions(&self) -> ListElasticsearchVersions
pub fn list_elasticsearch_versions(&self) -> ListElasticsearchVersions
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(i32):Set 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>):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 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>
sourcepub fn list_packages_for_domain(&self) -> ListPackagesForDomain
pub fn list_packages_for_domain(&self) -> ListPackagesForDomain
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>):The name of the domain for which you want to list associated packages.
max_results(i32)/set_max_results(i32):Limits results to a maximum number of packages.
next_token(impl Into<String>)/set_next_token(Option<String>):Used 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>
Constructs a fluent builder for the ListTags operation.
- The fluent builder is configurable:
arn(impl Into<String>)/set_arn(Option<String>):Specify 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>
sourcepub fn purchase_reserved_elasticsearch_instance_offering(
&self
) -> PurchaseReservedElasticsearchInstanceOffering
pub fn purchase_reserved_elasticsearch_instance_offering(
&self
) -> PurchaseReservedElasticsearchInstanceOffering
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>):The ID of the reserved Elasticsearch instance offering to purchase.
reservation_name(impl Into<String>)/set_reservation_name(Option<String>):A customer-specified identifier to track this reservation.
instance_count(i32)/set_instance_count(i32):The 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>
sourcepub fn reject_inbound_cross_cluster_search_connection(
&self
) -> RejectInboundCrossClusterSearchConnection
pub fn reject_inbound_cross_cluster_search_connection(
&self
) -> RejectInboundCrossClusterSearchConnection
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>):The 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>
Constructs a fluent builder for the RemoveTags operation.
- The fluent builder is configurable:
arn(impl Into<String>)/set_arn(Option<String>):Specifies the
ARNfor the Elasticsearch domain from which you want to delete the specified tags.tag_keys(Vec<String>)/set_tag_keys(Option<Vec<String>>):Specifies the
TagKeylist which you want to remove from the Elasticsearch domain.
- On success, responds with
RemoveTagsOutput - On failure, responds with
SdkError<RemoveTagsError>
sourcepub fn start_elasticsearch_service_software_update(
&self
) -> StartElasticsearchServiceSoftwareUpdate
pub fn start_elasticsearch_service_software_update(
&self
) -> StartElasticsearchServiceSoftwareUpdate
Constructs a fluent builder for the StartElasticsearchServiceSoftwareUpdate operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):The 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>
sourcepub fn update_elasticsearch_domain_config(
&self
) -> UpdateElasticsearchDomainConfig
pub fn update_elasticsearch_domain_config(
&self
) -> UpdateElasticsearchDomainConfig
Constructs a fluent builder for the UpdateElasticsearchDomainConfig operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):The name of the Elasticsearch domain that you are updating.
elasticsearch_cluster_config(ElasticsearchClusterConfig)/set_elasticsearch_cluster_config(Option<ElasticsearchClusterConfig>):The type and number of instances to instantiate for the domain cluster.
ebs_options(EbsOptions)/set_ebs_options(Option<EbsOptions>):Specify the type and size of the EBS volume that you want to use.
snapshot_options(SnapshotOptions)/set_snapshot_options(Option<SnapshotOptions>):Option to set the time, in UTC format, for the daily automated snapshot. Default value is
0hours.vpc_options(VpcOptions)/set_vpc_options(Option<VpcOptions>):Options 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>):Options to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana.
advanced_options(HashMap<String, String>)/set_advanced_options(Option<HashMap<String, String>>):Modifies 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>):IAM access policy as a JSON-formatted string.
log_publishing_options(HashMap<LogType, LogPublishingOption>)/set_log_publishing_options(Option<HashMap<LogType, LogPublishingOption>>):Map of
LogTypeandLogPublishingOption, each containing options to publish a given type of Elasticsearch log.domain_endpoint_options(DomainEndpointOptions)/set_domain_endpoint_options(Option<DomainEndpointOptions>):Options to specify configuration that will be applied to the domain endpoint.
advanced_security_options(AdvancedSecurityOptionsInput)/set_advanced_security_options(Option<AdvancedSecurityOptionsInput>):Specifies advanced security options.
node_to_node_encryption_options(NodeToNodeEncryptionOptions)/set_node_to_node_encryption_options(Option<NodeToNodeEncryptionOptions>):Specifies the NodeToNodeEncryptionOptions.
encryption_at_rest_options(EncryptionAtRestOptions)/set_encryption_at_rest_options(Option<EncryptionAtRestOptions>):Specifies the Encryption At Rest Options.
auto_tune_options(AutoTuneOptions)/set_auto_tune_options(Option<AutoTuneOptions>):Specifies Auto-Tune options.
dry_run(bool)/set_dry_run(Option<bool>):This 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>
sourcepub fn update_package(&self) -> UpdatePackage
pub fn update_package(&self) -> UpdatePackage
Constructs a fluent builder for the UpdatePackage operation.
- The fluent builder is configurable:
package_id(impl Into<String>)/set_package_id(Option<String>):Unique identifier for the package.
package_source(PackageSource)/set_package_source(Option<PackageSource>):The S3 location for importing the package specified as
S3BucketNameandS3Keypackage_description(impl Into<String>)/set_package_description(Option<String>):New description of the package.
commit_message(impl Into<String>)/set_commit_message(Option<String>):An 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>
sourcepub fn upgrade_elasticsearch_domain(&self) -> UpgradeElasticsearchDomain
pub fn upgrade_elasticsearch_domain(&self) -> UpgradeElasticsearchDomain
Constructs a fluent builder for the UpgradeElasticsearchDomain operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_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(impl Into<String>)/set_target_version(Option<String>):The version of Elasticsearch that you intend to upgrade the domain to.
perform_check_only(bool)/set_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.
- 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>
sourceimpl Client
impl Client
sourcepub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Selfwhere
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
pub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Selfwhere
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
Creates a client with the given service config and connector override.