#[non_exhaustive]pub struct CreateEventBusInput {
pub name: Option<String>,
pub event_source_name: Option<String>,
pub tags: Option<Vec<Tag>>,
}
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>
The name of the new event bus.
Custom event bus names can't contain the /
character, but you can use the /
character in partner event bus names. In addition, for partner event buses, the name must exactly match the name of the partner event source that this event bus is matched to.
You can't use the name default
for a custom event bus, as this name is already used for your account's default event bus.
event_source_name: Option<String>
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
Tags to associate with the event bus.
Implementations§
source§impl CreateEventBusInput
impl CreateEventBusInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the new event bus.
Custom event bus names can't contain the /
character, but you can use the /
character in partner event bus names. In addition, for partner event buses, the name must exactly match the name of the partner event source that this event bus is matched to.
You can't use the name default
for a custom event bus, as this name is already used for your account's default event bus.
sourcepub fn event_source_name(&self) -> Option<&str>
pub fn event_source_name(&self) -> Option<&str>
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
Tags to associate with the event bus.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateEventBusInput
impl CreateEventBusInput
sourcepub fn builder() -> CreateEventBusInputBuilder
pub fn builder() -> CreateEventBusInputBuilder
Creates a new builder-style object to manufacture CreateEventBusInput
.
Trait Implementations§
source§impl Clone for CreateEventBusInput
impl Clone for CreateEventBusInput
source§fn clone(&self) -> CreateEventBusInput
fn clone(&self) -> CreateEventBusInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateEventBusInput
impl Debug for CreateEventBusInput
source§impl PartialEq for CreateEventBusInput
impl PartialEq for CreateEventBusInput
source§fn eq(&self, other: &CreateEventBusInput) -> bool
fn eq(&self, other: &CreateEventBusInput) -> bool
self
and other
values to be equal, and is used
by ==
.