pub struct DescribeReservedNodesOfferings { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeReservedNodesOfferings
.
Lists available reserved node offerings.
Implementations§
source§impl DescribeReservedNodesOfferings
impl DescribeReservedNodesOfferings
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeReservedNodesOfferings, AwsResponseRetryClassifier>, SdkError<DescribeReservedNodesOfferingsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeReservedNodesOfferings, AwsResponseRetryClassifier>, SdkError<DescribeReservedNodesOfferingsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeReservedNodesOfferingsOutput, SdkError<DescribeReservedNodesOfferingsError>>
pub async fn send(
self
) -> Result<DescribeReservedNodesOfferingsOutput, SdkError<DescribeReservedNodesOfferingsError>>
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.
sourcepub fn into_paginator(self) -> DescribeReservedNodesOfferingsPaginator
pub fn into_paginator(self) -> DescribeReservedNodesOfferingsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn reserved_nodes_offering_id(self, input: impl Into<String>) -> Self
pub fn reserved_nodes_offering_id(self, input: impl Into<String>) -> Self
The offering identifier filter value. Use this parameter to show only the available offering that matches the specified reservation identifier.
sourcepub fn set_reserved_nodes_offering_id(self, input: Option<String>) -> Self
pub fn set_reserved_nodes_offering_id(self, input: Option<String>) -> Self
The offering identifier filter value. Use this parameter to show only the available offering that matches the specified reservation identifier.
sourcepub fn node_type(self, input: impl Into<String>) -> Self
pub fn node_type(self, input: impl Into<String>) -> Self
The node type for the reserved nodes. For more information, see Supported node types.
sourcepub fn set_node_type(self, input: Option<String>) -> Self
pub fn set_node_type(self, input: Option<String>) -> Self
The node type for the reserved nodes. For more information, see Supported node types.
sourcepub fn duration(self, input: impl Into<String>) -> Self
pub fn duration(self, input: impl Into<String>) -> Self
Duration filter value, specified in years or seconds. Use this parameter to show only reservations for a given duration.
sourcepub fn set_duration(self, input: Option<String>) -> Self
pub fn set_duration(self, input: Option<String>) -> Self
Duration filter value, specified in years or seconds. Use this parameter to show only reservations for a given duration.
sourcepub fn offering_type(self, input: impl Into<String>) -> Self
pub fn offering_type(self, input: impl Into<String>) -> Self
The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type. Valid values: "All Upfront"|"Partial Upfront"| "No Upfront"
sourcepub fn set_offering_type(self, input: Option<String>) -> Self
pub fn set_offering_type(self, input: Option<String>) -> Self
The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type. Valid values: "All Upfront"|"Partial Upfront"| "No Upfront"
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
Trait Implementations§
source§impl Clone for DescribeReservedNodesOfferings
impl Clone for DescribeReservedNodesOfferings
source§fn clone(&self) -> DescribeReservedNodesOfferings
fn clone(&self) -> DescribeReservedNodesOfferings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more