#[non_exhaustive]pub struct DescribeSpotFleetInstancesInput { /* private fields */ }
Expand description
Contains the parameters for DescribeSpotFleetInstances.
Implementations§
source§impl DescribeSpotFleetInstancesInput
impl DescribeSpotFleetInstancesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeSpotFleetInstances, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeSpotFleetInstances, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeSpotFleetInstances
>
Examples found in repository?
src/client.rs (line 46968)
46954 46955 46956 46957 46958 46959 46960 46961 46962 46963 46964 46965 46966 46967 46968 46969 46970 46971 46972 46973 46974 46975 46976 46977 46978 46979 46980 46981 46982 46983 46984 46985 46986 46987 46988 46989 46990 46991 46992 46993 46994 46995 46996
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeSpotFleetInstances,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeSpotFleetInstancesError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::DescribeSpotFleetInstancesOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeSpotFleetInstancesError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeSpotFleetInstancesInput
.
source§impl DescribeSpotFleetInstancesInput
impl DescribeSpotFleetInstancesInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> 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
.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value is 1000. To retrieve the remaining results, make another call with the returned NextToken
value.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next set of results.
sourcepub fn spot_fleet_request_id(&self) -> Option<&str>
pub fn spot_fleet_request_id(&self) -> Option<&str>
The ID of the Spot Fleet request.
Trait Implementations§
source§impl Clone for DescribeSpotFleetInstancesInput
impl Clone for DescribeSpotFleetInstancesInput
source§fn clone(&self) -> DescribeSpotFleetInstancesInput
fn clone(&self) -> DescribeSpotFleetInstancesInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more