#[non_exhaustive]pub struct PutDestinationInput {
pub destination_name: Option<String>,
pub target_arn: Option<String>,
pub role_arn: Option<String>,
pub tags: Option<HashMap<String, 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.destination_name: Option<String>
A name for the destination.
target_arn: Option<String>
The ARN of an Amazon Kinesis stream to which to deliver matching log events.
role_arn: Option<String>
The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord
operation on the destination stream.
An optional list of key-value pairs to associate with the resource.
For more information about tagging, see Tagging Amazon Web Services resources
Implementations§
source§impl PutDestinationInput
impl PutDestinationInput
sourcepub fn destination_name(&self) -> Option<&str>
pub fn destination_name(&self) -> Option<&str>
A name for the destination.
sourcepub fn target_arn(&self) -> Option<&str>
pub fn target_arn(&self) -> Option<&str>
The ARN of an Amazon Kinesis stream to which to deliver matching log events.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord
operation on the destination stream.
An optional list of key-value pairs to associate with the resource.
For more information about tagging, see Tagging Amazon Web Services resources
source§impl PutDestinationInput
impl PutDestinationInput
sourcepub fn builder() -> PutDestinationInputBuilder
pub fn builder() -> PutDestinationInputBuilder
Creates a new builder-style object to manufacture PutDestinationInput
.
Trait Implementations§
source§impl Clone for PutDestinationInput
impl Clone for PutDestinationInput
source§fn clone(&self) -> PutDestinationInput
fn clone(&self) -> PutDestinationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutDestinationInput
impl Debug for PutDestinationInput
source§impl PartialEq for PutDestinationInput
impl PartialEq for PutDestinationInput
source§fn eq(&self, other: &PutDestinationInput) -> bool
fn eq(&self, other: &PutDestinationInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutDestinationInput
Auto Trait Implementations§
impl Freeze for PutDestinationInput
impl RefUnwindSafe for PutDestinationInput
impl Send for PutDestinationInput
impl Sync for PutDestinationInput
impl Unpin for PutDestinationInput
impl UnwindSafe for PutDestinationInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more