Struct aws_sdk_elasticache::client::fluent_builders::PurchaseReservedCacheNodesOffering [−][src]
pub struct PurchaseReservedCacheNodesOffering<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to PurchaseReservedCacheNodesOffering
.
Allows you to purchase a reserved cache node offering. Reserved nodes are not eligible for cancellation and are non-refundable. For more information, see Managing Costs with Reserved Nodes for Redis or Managing Costs with Reserved Nodes for Memcached.
Implementations
impl<C, M, R> PurchaseReservedCacheNodesOffering<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PurchaseReservedCacheNodesOffering<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<PurchaseReservedCacheNodesOfferingOutput, SdkError<PurchaseReservedCacheNodesOfferingError>> where
R::Policy: SmithyRetryPolicy<PurchaseReservedCacheNodesOfferingInputOperationOutputAlias, PurchaseReservedCacheNodesOfferingOutput, PurchaseReservedCacheNodesOfferingError, PurchaseReservedCacheNodesOfferingInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<PurchaseReservedCacheNodesOfferingOutput, SdkError<PurchaseReservedCacheNodesOfferingError>> where
R::Policy: SmithyRetryPolicy<PurchaseReservedCacheNodesOfferingInputOperationOutputAlias, PurchaseReservedCacheNodesOfferingOutput, PurchaseReservedCacheNodesOfferingError, PurchaseReservedCacheNodesOfferingInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The ID of the reserved cache node offering to purchase.
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
The ID of the reserved cache node offering to purchase.
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
A customer-specified identifier to track this reservation.
The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.
Example: myreservationID
A customer-specified identifier to track this reservation.
The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.
Example: myreservationID
The number of cache node instances to reserve.
Default: 1
The number of cache node instances to reserve.
Default: 1
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for PurchaseReservedCacheNodesOffering<C, M, R>
impl<C, M, R> Send for PurchaseReservedCacheNodesOffering<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for PurchaseReservedCacheNodesOffering<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for PurchaseReservedCacheNodesOffering<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for PurchaseReservedCacheNodesOffering<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