Struct aws_sdk_cloudwatchlogs::input::PutDestinationPolicyInput [−][src]
#[non_exhaustive]pub struct PutDestinationPolicyInput {
pub destination_name: Option<String>,
pub access_policy: 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 an existing destination.
access_policy: Option<String>
An IAM policy document that authorizes cross-account users to deliver their log events to the associated destination. This can be up to 5120 bytes.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutDestinationPolicy, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutDestinationPolicy, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutDestinationPolicy
>
Creates a new builder-style object to manufacture PutDestinationPolicyInput
A name for an existing destination.
An IAM policy document that authorizes cross-account users to deliver their log events to the associated destination. This can be up to 5120 bytes.
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 PutDestinationPolicyInput
impl Send for PutDestinationPolicyInput
impl Sync for PutDestinationPolicyInput
impl Unpin for PutDestinationPolicyInput
impl UnwindSafe for PutDestinationPolicyInput
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