Struct aws_sdk_cloudwatchlogs::input::PutDestinationInput [−][src]
#[non_exhaustive]pub struct PutDestinationInput {
pub destination_name: Option<String>,
pub target_arn: Option<String>,
pub role_arn: 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.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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutDestination, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutDestination, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutDestination
>
Creates a new builder-style object to manufacture PutDestinationInput
A name for the destination.
The ARN of an Amazon Kinesis stream to which to deliver matching log events.
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 RefUnwindSafe for PutDestinationInput
impl Send for PutDestinationInput
impl Sync for PutDestinationInput
impl Unpin for PutDestinationInput
impl UnwindSafe for PutDestinationInput
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