pub struct DescribeOrderableDBInstanceOptions { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeOrderableDBInstanceOptions.
Returns a list of orderable DB instance options for the specified DB engine, DB engine version, and DB instance class.
Implementations
sourceimpl DescribeOrderableDBInstanceOptions
impl DescribeOrderableDBInstanceOptions
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeOrderableDBInstanceOptions, AwsResponseRetryClassifier>, SdkError<DescribeOrderableDBInstanceOptionsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeOrderableDBInstanceOptions, AwsResponseRetryClassifier>, SdkError<DescribeOrderableDBInstanceOptionsError>>
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<DescribeOrderableDbInstanceOptionsOutput, SdkError<DescribeOrderableDBInstanceOptionsError>>
pub async fn send(
self
) -> Result<DescribeOrderableDbInstanceOptionsOutput, SdkError<DescribeOrderableDBInstanceOptionsError>>
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) -> DescribeOrderableDbInstanceOptionsPaginator
pub fn into_paginator(self) -> DescribeOrderableDbInstanceOptionsPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
sourcepub fn engine(self, input: impl Into<String>) -> Self
pub fn engine(self, input: impl Into<String>) -> Self
The name of the engine to retrieve DB instance options for.
Valid Values:
-
aurora(for MySQL 5.6-compatible Aurora) -
aurora-mysql(for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora) -
aurora-postgresql -
mariadb -
mysql -
oracle-ee -
oracle-ee-cdb -
oracle-se2 -
oracle-se2-cdb -
postgres -
sqlserver-ee -
sqlserver-se -
sqlserver-ex -
sqlserver-web
sourcepub fn set_engine(self, input: Option<String>) -> Self
pub fn set_engine(self, input: Option<String>) -> Self
The name of the engine to retrieve DB instance options for.
Valid Values:
-
aurora(for MySQL 5.6-compatible Aurora) -
aurora-mysql(for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora) -
aurora-postgresql -
mariadb -
mysql -
oracle-ee -
oracle-ee-cdb -
oracle-se2 -
oracle-se2-cdb -
postgres -
sqlserver-ee -
sqlserver-se -
sqlserver-ex -
sqlserver-web
sourcepub fn engine_version(self, input: impl Into<String>) -> Self
pub fn engine_version(self, input: impl Into<String>) -> Self
The engine version filter value. Specify this parameter to show only the available offerings matching the specified engine version.
sourcepub fn set_engine_version(self, input: Option<String>) -> Self
pub fn set_engine_version(self, input: Option<String>) -> Self
The engine version filter value. Specify this parameter to show only the available offerings matching the specified engine version.
sourcepub fn db_instance_class(self, input: impl Into<String>) -> Self
pub fn db_instance_class(self, input: impl Into<String>) -> Self
The DB instance class filter value. Specify this parameter to show only the available offerings matching the specified DB instance class.
sourcepub fn set_db_instance_class(self, input: Option<String>) -> Self
pub fn set_db_instance_class(self, input: Option<String>) -> Self
The DB instance class filter value. Specify this parameter to show only the available offerings matching the specified DB instance class.
sourcepub fn license_model(self, input: impl Into<String>) -> Self
pub fn license_model(self, input: impl Into<String>) -> Self
The license model filter value. Specify this parameter to show only the available offerings matching the specified license model.
RDS Custom supports only the BYOL licensing model.
sourcepub fn set_license_model(self, input: Option<String>) -> Self
pub fn set_license_model(self, input: Option<String>) -> Self
The license model filter value. Specify this parameter to show only the available offerings matching the specified license model.
RDS Custom supports only the BYOL licensing model.
sourcepub fn availability_zone_group(self, input: impl Into<String>) -> Self
pub fn availability_zone_group(self, input: impl Into<String>) -> Self
The Availability Zone group associated with a Local Zone. Specify this parameter to retrieve available offerings for the Local Zones in the group.
Omit this parameter to show the available offerings in the specified Amazon Web Services Region.
This setting doesn't apply to RDS Custom.
sourcepub fn set_availability_zone_group(self, input: Option<String>) -> Self
pub fn set_availability_zone_group(self, input: Option<String>) -> Self
The Availability Zone group associated with a Local Zone. Specify this parameter to retrieve available offerings for the Local Zones in the group.
Omit this parameter to show the available offerings in the specified Amazon Web Services Region.
This setting doesn't apply to RDS Custom.
sourcepub fn vpc(self, input: bool) -> Self
pub fn vpc(self, input: bool) -> Self
A value that indicates whether to show only VPC or non-VPC offerings. RDS Custom supports only VPC offerings.
RDS Custom supports only VPC offerings. If you describe non-VPC offerings for RDS Custom, the output shows VPC offerings.
sourcepub fn set_vpc(self, input: Option<bool>) -> Self
pub fn set_vpc(self, input: Option<bool>) -> Self
A value that indicates whether to show only VPC or non-VPC offerings. RDS Custom supports only VPC offerings.
RDS Custom supports only VPC offerings. If you describe non-VPC offerings for RDS Custom, the output shows VPC offerings.
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to Filters.
To override the contents of this collection use set_filters.
This parameter isn't currently supported.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
This parameter isn't currently supported.
sourcepub fn max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.
Default: 100
Constraints: Minimum 20, maximum 10000.
sourcepub fn set_max_records(self, input: Option<i32>) -> Self
pub fn set_max_records(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 pagination token called a marker is included in the response so that you can retrieve the remaining results.
Default: 100
Constraints: Minimum 20, maximum 10000.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
Trait Implementations
sourceimpl Clone for DescribeOrderableDBInstanceOptions
impl Clone for DescribeOrderableDBInstanceOptions
sourcefn clone(&self) -> DescribeOrderableDBInstanceOptions
fn clone(&self) -> DescribeOrderableDBInstanceOptions
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more