#[non_exhaustive]pub struct CreateTrafficMirrorTargetInput {
pub network_interface_id: Option<String>,
pub network_load_balancer_arn: Option<String>,
pub description: Option<String>,
pub tag_specifications: Option<Vec<TagSpecification>>,
pub dry_run: Option<bool>,
pub client_token: Option<String>,
pub gateway_load_balancer_endpoint_id: 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.network_interface_id: Option<String>
The network interface ID that is associated with the target.
network_load_balancer_arn: Option<String>
The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
description: Option<String>
The description of the Traffic Mirror target.
tag_specifications: Option<Vec<TagSpecification>>
The tags to assign to the Traffic Mirror target.
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
.
client_token: Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
gateway_load_balancer_endpoint_id: Option<String>
The ID of the Gateway Load Balancer endpoint.
Implementations§
source§impl CreateTrafficMirrorTargetInput
impl CreateTrafficMirrorTargetInput
sourcepub fn network_interface_id(&self) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The network interface ID that is associated with the target.
sourcepub fn network_load_balancer_arn(&self) -> Option<&str>
pub fn network_load_balancer_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the Traffic Mirror target.
sourcepub fn tag_specifications(&self) -> &[TagSpecification]
pub fn tag_specifications(&self) -> &[TagSpecification]
The tags to assign to the Traffic Mirror target.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tag_specifications.is_none()
.
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 client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
sourcepub fn gateway_load_balancer_endpoint_id(&self) -> Option<&str>
pub fn gateway_load_balancer_endpoint_id(&self) -> Option<&str>
The ID of the Gateway Load Balancer endpoint.
source§impl CreateTrafficMirrorTargetInput
impl CreateTrafficMirrorTargetInput
sourcepub fn builder() -> CreateTrafficMirrorTargetInputBuilder
pub fn builder() -> CreateTrafficMirrorTargetInputBuilder
Creates a new builder-style object to manufacture CreateTrafficMirrorTargetInput
.
Trait Implementations§
source§impl Clone for CreateTrafficMirrorTargetInput
impl Clone for CreateTrafficMirrorTargetInput
source§fn clone(&self) -> CreateTrafficMirrorTargetInput
fn clone(&self) -> CreateTrafficMirrorTargetInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateTrafficMirrorTargetInput
impl PartialEq for CreateTrafficMirrorTargetInput
source§fn eq(&self, other: &CreateTrafficMirrorTargetInput) -> bool
fn eq(&self, other: &CreateTrafficMirrorTargetInput) -> bool
self
and other
values to be equal, and is used
by ==
.