Struct aws_sdk_ec2::input::DescribeFleetHistoryInput
source · #[non_exhaustive]pub struct DescribeFleetHistoryInput { /* private fields */ }
Implementations§
source§impl DescribeFleetHistoryInput
impl DescribeFleetHistoryInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeFleetHistory, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeFleetHistory, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeFleetHistory
>
Examples found in repository?
36276 36277 36278 36279 36280 36281 36282 36283 36284 36285 36286 36287 36288 36289 36290 36291 36292 36293 36294 36295 36296 36297 36298 36299 36300 36301 36302 36303 36304 36305 36306 36307 36308 36309 36310 36311 36312 36313 36314 36315 36316 36317 36318
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeFleetHistory,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeFleetHistoryError>,
> {
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::DescribeFleetHistoryOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeFleetHistoryError>,
> {
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 DescribeFleetHistoryInput
.
source§impl DescribeFleetHistoryInput
impl DescribeFleetHistoryInput
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 event_type(&self) -> Option<&FleetEventType>
pub fn event_type(&self) -> Option<&FleetEventType>
The type of events to describe. By default, all events are described.
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 start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The start date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
Trait Implementations§
source§impl Clone for DescribeFleetHistoryInput
impl Clone for DescribeFleetHistoryInput
source§fn clone(&self) -> DescribeFleetHistoryInput
fn clone(&self) -> DescribeFleetHistoryInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more