pub struct DescribeScheduledInstances<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeScheduledInstances
.
Describes the specified Scheduled Instances or all your Scheduled Instances.
Implementations
impl<C, M, R> DescribeScheduledInstances<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeScheduledInstances<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeScheduledInstancesOutput, SdkError<DescribeScheduledInstancesError>> where
R::Policy: SmithyRetryPolicy<DescribeScheduledInstancesInputOperationOutputAlias, DescribeScheduledInstancesOutput, DescribeScheduledInstancesError, DescribeScheduledInstancesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeScheduledInstancesOutput, SdkError<DescribeScheduledInstancesError>> where
R::Policy: SmithyRetryPolicy<DescribeScheduledInstancesInputOperationOutputAlias, DescribeScheduledInstancesOutput, DescribeScheduledInstancesError, DescribeScheduledInstancesInputOperationRetryAlias>,
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.
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
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
.
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
.
Appends an item to Filters
.
To override the contents of this collection use set_filters
.
The filters.
-
availability-zone
- The Availability Zone (for example,us-west-2a
). -
instance-type
- The instance type (for example,c4.large
). -
network-platform
- The network platform (EC2-Classic
orEC2-VPC
). -
platform
- The platform (Linux/UNIX
orWindows
).
The filters.
-
availability-zone
- The Availability Zone (for example,us-west-2a
). -
instance-type
- The instance type (for example,c4.large
). -
network-platform
- The network platform (EC2-Classic
orEC2-VPC
). -
platform
- The platform (Linux/UNIX
orWindows
).
The maximum number of results to return in a single call. This value can be between 5 and 300. The default value is 100. To retrieve the remaining results, make another call with the returned NextToken
value.
The maximum number of results to return in a single call. This value can be between 5 and 300. The default value is 100. To retrieve the remaining results, make another call with the returned NextToken
value.
The token for the next set of results.
The token for the next set of results.
Appends an item to ScheduledInstanceIds
.
To override the contents of this collection use set_scheduled_instance_ids
.
The Scheduled Instance IDs.
The Scheduled Instance IDs.
The time period for the first schedule to start.
The time period for the first schedule to start.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeScheduledInstances<C, M, R>
impl<C, M, R> Send for DescribeScheduledInstances<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeScheduledInstances<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeScheduledInstances<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeScheduledInstances<C, M, R>
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