pub struct DescribeReservedNodeOfferings<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeReservedNodeOfferings
.
Returns a list of the available reserved node offerings by Amazon Redshift with their descriptions including the node type, the fixed and recurring costs of reserving the node and duration the node will be reserved for you. These descriptions help you determine which reserve node offering you want to purchase. You then use the unique offering ID in you call to PurchaseReservedNodeOffering
to reserve one or more nodes for your Amazon Redshift cluster.
For more information about reserved node offerings, go to Purchasing Reserved Nodes in the Amazon Redshift Cluster Management Guide.
Implementations
impl<C, M, R> DescribeReservedNodeOfferings<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeReservedNodeOfferings<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeReservedNodeOfferingsOutput, SdkError<DescribeReservedNodeOfferingsError>> where
R::Policy: SmithyRetryPolicy<DescribeReservedNodeOfferingsInputOperationOutputAlias, DescribeReservedNodeOfferingsOutput, DescribeReservedNodeOfferingsError, DescribeReservedNodeOfferingsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeReservedNodeOfferingsOutput, SdkError<DescribeReservedNodeOfferingsError>> where
R::Policy: SmithyRetryPolicy<DescribeReservedNodeOfferingsInputOperationOutputAlias, DescribeReservedNodeOfferingsOutput, DescribeReservedNodeOfferingsError, DescribeReservedNodeOfferingsInputOperationRetryAlias>,
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.
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
The unique identifier for the offering.
The unique identifier for the offering.
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords
value, a value is returned in a marker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
Default: 100
Constraints: minimum 20, maximum 100.
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords
value, a value is returned in a marker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
Default: 100
Constraints: minimum 20, maximum 100.
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeReservedNodeOfferings
request exceed the value specified in MaxRecords
, Amazon Web Services returns a value in the Marker
field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker
parameter and retrying the request.
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeReservedNodeOfferings
request exceed the value specified in MaxRecords
, Amazon Web Services returns a value in the Marker
field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker
parameter and retrying the request.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeReservedNodeOfferings<C, M, R>
impl<C, M, R> Send for DescribeReservedNodeOfferings<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeReservedNodeOfferings<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeReservedNodeOfferings<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeReservedNodeOfferings<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