Struct aws_sdk_ec2::input::DescribeInstanceEventWindowsInput [−][src]
#[non_exhaustive]pub struct DescribeInstanceEventWindowsInput {
pub dry_run: Option<bool>,
pub instance_event_window_ids: Option<Vec<String>>,
pub filters: Option<Vec<Filter>>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}
Expand description
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
.
instance_event_window_ids: Option<Vec<String>>
The IDs of the event windows.
filters: Option<Vec<Filter>>
One or more filters.
-
dedicated-host-id
- The event windows associated with the specified Dedicated Host ID. -
event-window-name
- The event windows associated with the specified names. -
instance-id
- The event windows associated with the specified instance ID. -
instance-tag
- The event windows associated with the specified tag and value. -
instance-tag-key
- The event windows associated with the specified tag key, regardless of the value. -
instance-tag-value
- The event windows associated with the specified tag value, regardless of the key. -
tag:
- The key/value combination of a tag assigned to the event window. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueCMX
, specifytag:Owner
for the filter name andCMX
for the filter value. -
tag-key
- The key of a tag assigned to the event window. Use this filter to find all event windows that have a tag with a specific key, regardless of the tag value. -
tag-value
- The value of a tag assigned to the event window. Use this filter to find all event windows that have a tag with a specific value, regardless of the tag key.
max_results: Option<i32>
The maximum number of results to return in a single call. To retrieve the remaining
results, make another call with the returned NextToken
value. This value can
be between 20 and 500. You cannot specify this parameter and the event window IDs parameter
in the same call.
next_token: Option<String>
The token to request the next page of results.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeInstanceEventWindows, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeInstanceEventWindows, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DescribeInstanceEventWindows
>
Creates a new builder-style object to manufacture DescribeInstanceEventWindowsInput
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 DescribeInstanceEventWindowsInput
impl Sync for DescribeInstanceEventWindowsInput
impl Unpin for DescribeInstanceEventWindowsInput
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