#[non_exhaustive]pub struct DescribeFlowLogsInput {
pub dry_run: Option<bool>,
pub filter: Option<Vec<Filter>>,
pub flow_log_ids: Option<Vec<String>>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}
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
.
filter: Option<Vec<Filter>>
One or more filters.
-
deliver-log-status
- The status of the logs delivery (SUCCESS
|FAILED
). -
log-destination-type
- The type of destination for the flow log data (cloud-watch-logs
|s3
|kinesis-data-firehose
). -
flow-log-id
- The ID of the flow log. -
log-group-name
- The name of the log group. -
resource-id
- The ID of the VPC, subnet, or network interface. -
traffic-type
- The type of traffic (ACCEPT
|REJECT
|ALL
). -
tag
:- The key/value combination of a tag assigned to the resource. 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 key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
flow_log_ids: Option<Vec<String>>
One or more flow log IDs.
Constraint: Maximum of 1000 flow log IDs.
max_results: Option<i32>
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token: Option<String>
The token to request the next page of items. Pagination continues from the end of the items returned by the previous request.
Implementations§
source§impl DescribeFlowLogsInput
impl DescribeFlowLogsInput
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 filter(&self) -> &[Filter]
pub fn filter(&self) -> &[Filter]
One or more filters.
-
deliver-log-status
- The status of the logs delivery (SUCCESS
|FAILED
). -
log-destination-type
- The type of destination for the flow log data (cloud-watch-logs
|s3
|kinesis-data-firehose
). -
flow-log-id
- The ID of the flow log. -
log-group-name
- The name of the log group. -
resource-id
- The ID of the VPC, subnet, or network interface. -
traffic-type
- The type of traffic (ACCEPT
|REJECT
|ALL
). -
tag
:- The key/value combination of a tag assigned to the resource. 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 key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filter.is_none()
.
sourcepub fn flow_log_ids(&self) -> &[String]
pub fn flow_log_ids(&self) -> &[String]
One or more flow log IDs.
Constraint: Maximum of 1000 flow log IDs.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .flow_log_ids.is_none()
.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token to request the next page of items. Pagination continues from the end of the items returned by the previous request.
source§impl DescribeFlowLogsInput
impl DescribeFlowLogsInput
sourcepub fn builder() -> DescribeFlowLogsInputBuilder
pub fn builder() -> DescribeFlowLogsInputBuilder
Creates a new builder-style object to manufacture DescribeFlowLogsInput
.
Trait Implementations§
source§impl Clone for DescribeFlowLogsInput
impl Clone for DescribeFlowLogsInput
source§fn clone(&self) -> DescribeFlowLogsInput
fn clone(&self) -> DescribeFlowLogsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeFlowLogsInput
impl Debug for DescribeFlowLogsInput
source§impl PartialEq for DescribeFlowLogsInput
impl PartialEq for DescribeFlowLogsInput
source§fn eq(&self, other: &DescribeFlowLogsInput) -> bool
fn eq(&self, other: &DescribeFlowLogsInput) -> bool
self
and other
values to be equal, and is used
by ==
.