Struct aws_sdk_ec2::input::DescribeInstanceTypeOfferingsInput [−][src]
#[non_exhaustive]pub struct DescribeInstanceTypeOfferingsInput {
pub dry_run: Option<bool>,
pub location_type: Option<LocationType>,
pub filters: Option<Vec<Filter>>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
location_type: Option<LocationType>
The location type.
filters: Option<Vec<Filter>>
One or more filters. Filter names and values are case-sensitive.
-
location
- This depends on the location type. For example, if the location type isregion
(default), the location is the Region code (for example,us-east-2
.) -
instance-type
- The instance type. For example,c5.2xlarge
.
max_results: Option<i32>
The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the next token value.
next_token: Option<String>
The token to retrieve the next page of results.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeInstanceTypeOfferings, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeInstanceTypeOfferings, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DescribeInstanceTypeOfferings
>
Creates a new builder-style object to manufacture DescribeInstanceTypeOfferingsInput
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
The location type.
One or more filters. Filter names and values are case-sensitive.
-
location
- This depends on the location type. For example, if the location type isregion
(default), the location is the Region code (for example,us-east-2
.) -
instance-type
- The instance type. For example,c5.2xlarge
.
The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the next token value.
The token to retrieve the next page of results.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for DescribeInstanceTypeOfferingsInput
impl Sync for DescribeInstanceTypeOfferingsInput
impl Unpin for DescribeInstanceTypeOfferingsInput
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