Struct aws_sdk_elasticsearch::client::Client [−][src]
pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
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::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
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub fn accept_inbound_cross_cluster_search_connection(
&self
) -> AcceptInboundCrossClusterSearchConnection<C, M, R>
pub fn accept_inbound_cross_cluster_search_connection(
&self
) -> AcceptInboundCrossClusterSearchConnection<C, M, R>
Constructs a fluent builder for the AcceptInboundCrossClusterSearchConnection
operation.
See AcceptInboundCrossClusterSearchConnection
for more information about the
operation and its arguments.
Constructs a fluent builder for the AddTags
operation.
See AddTags
for more information about the
operation and its arguments.
Constructs a fluent builder for the AssociatePackage
operation.
See AssociatePackage
for more information about the
operation and its arguments.
pub fn cancel_elasticsearch_service_software_update(
&self
) -> CancelElasticsearchServiceSoftwareUpdate<C, M, R>
pub fn cancel_elasticsearch_service_software_update(
&self
) -> CancelElasticsearchServiceSoftwareUpdate<C, M, R>
Constructs a fluent builder for the CancelElasticsearchServiceSoftwareUpdate
operation.
See CancelElasticsearchServiceSoftwareUpdate
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateElasticsearchDomain
operation.
See CreateElasticsearchDomain
for more information about the
operation and its arguments.
pub fn create_outbound_cross_cluster_search_connection(
&self
) -> CreateOutboundCrossClusterSearchConnection<C, M, R>
pub fn create_outbound_cross_cluster_search_connection(
&self
) -> CreateOutboundCrossClusterSearchConnection<C, M, R>
Constructs a fluent builder for the CreateOutboundCrossClusterSearchConnection
operation.
See CreateOutboundCrossClusterSearchConnection
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreatePackage
operation.
See CreatePackage
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteElasticsearchDomain
operation.
See DeleteElasticsearchDomain
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteElasticsearchServiceRole
operation.
See DeleteElasticsearchServiceRole
for more information about the
operation and its arguments.
pub fn delete_inbound_cross_cluster_search_connection(
&self
) -> DeleteInboundCrossClusterSearchConnection<C, M, R>
pub fn delete_inbound_cross_cluster_search_connection(
&self
) -> DeleteInboundCrossClusterSearchConnection<C, M, R>
Constructs a fluent builder for the DeleteInboundCrossClusterSearchConnection
operation.
See DeleteInboundCrossClusterSearchConnection
for more information about the
operation and its arguments.
pub fn delete_outbound_cross_cluster_search_connection(
&self
) -> DeleteOutboundCrossClusterSearchConnection<C, M, R>
pub fn delete_outbound_cross_cluster_search_connection(
&self
) -> DeleteOutboundCrossClusterSearchConnection<C, M, R>
Constructs a fluent builder for the DeleteOutboundCrossClusterSearchConnection
operation.
See DeleteOutboundCrossClusterSearchConnection
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeletePackage
operation.
See DeletePackage
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeDomainAutoTunes
operation.
See DescribeDomainAutoTunes
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeElasticsearchDomain
operation.
See DescribeElasticsearchDomain
for more information about the
operation and its arguments.
pub fn describe_elasticsearch_domain_config(
&self
) -> DescribeElasticsearchDomainConfig<C, M, R>
pub fn describe_elasticsearch_domain_config(
&self
) -> DescribeElasticsearchDomainConfig<C, M, R>
Constructs a fluent builder for the DescribeElasticsearchDomainConfig
operation.
See DescribeElasticsearchDomainConfig
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeElasticsearchDomains
operation.
See DescribeElasticsearchDomains
for more information about the
operation and its arguments.
pub fn describe_elasticsearch_instance_type_limits(
&self
) -> DescribeElasticsearchInstanceTypeLimits<C, M, R>
pub fn describe_elasticsearch_instance_type_limits(
&self
) -> DescribeElasticsearchInstanceTypeLimits<C, M, R>
Constructs a fluent builder for the DescribeElasticsearchInstanceTypeLimits
operation.
See DescribeElasticsearchInstanceTypeLimits
for more information about the
operation and its arguments.
pub fn describe_inbound_cross_cluster_search_connections(
&self
) -> DescribeInboundCrossClusterSearchConnections<C, M, R>
pub fn describe_inbound_cross_cluster_search_connections(
&self
) -> DescribeInboundCrossClusterSearchConnections<C, M, R>
Constructs a fluent builder for the DescribeInboundCrossClusterSearchConnections
operation.
See DescribeInboundCrossClusterSearchConnections
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
pub fn describe_outbound_cross_cluster_search_connections(
&self
) -> DescribeOutboundCrossClusterSearchConnections<C, M, R>
pub fn describe_outbound_cross_cluster_search_connections(
&self
) -> DescribeOutboundCrossClusterSearchConnections<C, M, R>
Constructs a fluent builder for the DescribeOutboundCrossClusterSearchConnections
operation.
See DescribeOutboundCrossClusterSearchConnections
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribePackages
operation.
See DescribePackages
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
pub fn describe_reserved_elasticsearch_instance_offerings(
&self
) -> DescribeReservedElasticsearchInstanceOfferings<C, M, R>
pub fn describe_reserved_elasticsearch_instance_offerings(
&self
) -> DescribeReservedElasticsearchInstanceOfferings<C, M, R>
Constructs a fluent builder for the DescribeReservedElasticsearchInstanceOfferings
operation.
See DescribeReservedElasticsearchInstanceOfferings
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
pub fn describe_reserved_elasticsearch_instances(
&self
) -> DescribeReservedElasticsearchInstances<C, M, R>
pub fn describe_reserved_elasticsearch_instances(
&self
) -> DescribeReservedElasticsearchInstances<C, M, R>
Constructs a fluent builder for the DescribeReservedElasticsearchInstances
operation.
See DescribeReservedElasticsearchInstances
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DissociatePackage
operation.
See DissociatePackage
for more information about the
operation and its arguments.
pub fn get_compatible_elasticsearch_versions(
&self
) -> GetCompatibleElasticsearchVersions<C, M, R>
pub fn get_compatible_elasticsearch_versions(
&self
) -> GetCompatibleElasticsearchVersions<C, M, R>
Constructs a fluent builder for the GetCompatibleElasticsearchVersions
operation.
See GetCompatibleElasticsearchVersions
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetPackageVersionHistory
operation.
See GetPackageVersionHistory
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the GetUpgradeHistory
operation.
See GetUpgradeHistory
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the GetUpgradeStatus
operation.
See GetUpgradeStatus
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListDomainNames
operation.
See ListDomainNames
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListDomainsForPackage
operation.
See ListDomainsForPackage
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the ListElasticsearchInstanceTypes
operation.
See ListElasticsearchInstanceTypes
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the ListElasticsearchVersions
operation.
See ListElasticsearchVersions
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the ListPackagesForDomain
operation.
See ListPackagesForDomain
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the ListTags
operation.
See ListTags
for more information about the
operation and its arguments.
pub fn purchase_reserved_elasticsearch_instance_offering(
&self
) -> PurchaseReservedElasticsearchInstanceOffering<C, M, R>
pub fn purchase_reserved_elasticsearch_instance_offering(
&self
) -> PurchaseReservedElasticsearchInstanceOffering<C, M, R>
Constructs a fluent builder for the PurchaseReservedElasticsearchInstanceOffering
operation.
See PurchaseReservedElasticsearchInstanceOffering
for more information about the
operation and its arguments.
pub fn reject_inbound_cross_cluster_search_connection(
&self
) -> RejectInboundCrossClusterSearchConnection<C, M, R>
pub fn reject_inbound_cross_cluster_search_connection(
&self
) -> RejectInboundCrossClusterSearchConnection<C, M, R>
Constructs a fluent builder for the RejectInboundCrossClusterSearchConnection
operation.
See RejectInboundCrossClusterSearchConnection
for more information about the
operation and its arguments.
Constructs a fluent builder for the RemoveTags
operation.
See RemoveTags
for more information about the
operation and its arguments.
pub fn start_elasticsearch_service_software_update(
&self
) -> StartElasticsearchServiceSoftwareUpdate<C, M, R>
pub fn start_elasticsearch_service_software_update(
&self
) -> StartElasticsearchServiceSoftwareUpdate<C, M, R>
Constructs a fluent builder for the StartElasticsearchServiceSoftwareUpdate
operation.
See StartElasticsearchServiceSoftwareUpdate
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateElasticsearchDomainConfig
operation.
See UpdateElasticsearchDomainConfig
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdatePackage
operation.
See UpdatePackage
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpgradeElasticsearchDomain
operation.
See UpgradeElasticsearchDomain
for more information about the
operation and its arguments.
Creates a client with the given service config and connector override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more