Struct aws_sdk_ec2::operation::describe_instance_event_windows::DescribeInstanceEventWindowsInput
source · #[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§
source§impl DescribeInstanceEventWindowsInput
impl DescribeInstanceEventWindowsInput
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 instance_event_window_ids(&self) -> Option<&[String]>
pub fn instance_event_window_ids(&self) -> Option<&[String]>
The IDs of the event windows.
sourcepub fn filters(&self) -> Option<&[Filter]>
pub fn filters(&self) -> Option<&[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.
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. 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.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token to request the next page of results.
source§impl DescribeInstanceEventWindowsInput
impl DescribeInstanceEventWindowsInput
sourcepub fn builder() -> DescribeInstanceEventWindowsInputBuilder
pub fn builder() -> DescribeInstanceEventWindowsInputBuilder
Creates a new builder-style object to manufacture DescribeInstanceEventWindowsInput
.
Trait Implementations§
source§impl Clone for DescribeInstanceEventWindowsInput
impl Clone for DescribeInstanceEventWindowsInput
source§fn clone(&self) -> DescribeInstanceEventWindowsInput
fn clone(&self) -> DescribeInstanceEventWindowsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<DescribeInstanceEventWindowsInput> for DescribeInstanceEventWindowsInput
impl PartialEq<DescribeInstanceEventWindowsInput> for DescribeInstanceEventWindowsInput
source§fn eq(&self, other: &DescribeInstanceEventWindowsInput) -> bool
fn eq(&self, other: &DescribeInstanceEventWindowsInput) -> bool
self
and other
values to be equal, and is used
by ==
.