#[non_exhaustive]pub struct PutDeliverySourceInput {
pub name: Option<String>,
pub resource_arn: Option<String>,
pub log_type: 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.name: Option<String>
A name for this delivery source. This name must be unique for all delivery sources in your account.
resource_arn: Option<String>
The ARN of the Amazon Web Services resource that is generating and sending logs. For example, arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234
log_type: Option<String>
Defines the type of log that the source is sending.
-
For Amazon CodeWhisperer, the valid value is
EVENT_LOGS
. -
For IAM Identity Centerr, the valid value is
ERROR_LOGS
. -
For Amazon WorkMail, the valid values are
ACCESS_CONTROL_LOGS
,AUTHENTICATION_LOGS
,WORKMAIL_AVAILABILITY_PROVIDER_LOGS
, andWORKMAIL_MAILBOX_ACCESS_LOGS
.
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 PutDeliverySourceInput
impl PutDeliverySourceInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
A name for this delivery source. This name must be unique for all delivery sources in your account.
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The ARN of the Amazon Web Services resource that is generating and sending logs. For example, arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234
sourcepub fn log_type(&self) -> Option<&str>
pub fn log_type(&self) -> Option<&str>
Defines the type of log that the source is sending.
-
For Amazon CodeWhisperer, the valid value is
EVENT_LOGS
. -
For IAM Identity Centerr, the valid value is
ERROR_LOGS
. -
For Amazon WorkMail, the valid values are
ACCESS_CONTROL_LOGS
,AUTHENTICATION_LOGS
,WORKMAIL_AVAILABILITY_PROVIDER_LOGS
, andWORKMAIL_MAILBOX_ACCESS_LOGS
.
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 PutDeliverySourceInput
impl PutDeliverySourceInput
sourcepub fn builder() -> PutDeliverySourceInputBuilder
pub fn builder() -> PutDeliverySourceInputBuilder
Creates a new builder-style object to manufacture PutDeliverySourceInput
.
Trait Implementations§
source§impl Clone for PutDeliverySourceInput
impl Clone for PutDeliverySourceInput
source§fn clone(&self) -> PutDeliverySourceInput
fn clone(&self) -> PutDeliverySourceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutDeliverySourceInput
impl Debug for PutDeliverySourceInput
source§impl PartialEq for PutDeliverySourceInput
impl PartialEq for PutDeliverySourceInput
source§fn eq(&self, other: &PutDeliverySourceInput) -> bool
fn eq(&self, other: &PutDeliverySourceInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutDeliverySourceInput
Auto Trait Implementations§
impl Freeze for PutDeliverySourceInput
impl RefUnwindSafe for PutDeliverySourceInput
impl Send for PutDeliverySourceInput
impl Sync for PutDeliverySourceInput
impl Unpin for PutDeliverySourceInput
impl UnwindSafe for PutDeliverySourceInput
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