#[non_exhaustive]pub struct CreateTopicInput {
pub aws_account_id: Option<String>,
pub topic_id: Option<String>,
pub topic: Option<TopicDetails>,
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.aws_account_id: Option<String>
The ID of the Amazon Web Services account that you want to create a topic in.
topic_id: Option<String>
The ID for the topic that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
topic: Option<TopicDetails>
The definition of a topic to create.
Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.
Implementations§
source§impl CreateTopicInput
impl CreateTopicInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that you want to create a topic in.
sourcepub fn topic_id(&self) -> Option<&str>
pub fn topic_id(&self) -> Option<&str>
The ID for the topic that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
sourcepub fn topic(&self) -> Option<&TopicDetails>
pub fn topic(&self) -> Option<&TopicDetails>
The definition of a topic to create.
Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.
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 CreateTopicInput
impl CreateTopicInput
sourcepub fn builder() -> CreateTopicInputBuilder
pub fn builder() -> CreateTopicInputBuilder
Creates a new builder-style object to manufacture CreateTopicInput
.
Trait Implementations§
source§impl Clone for CreateTopicInput
impl Clone for CreateTopicInput
source§fn clone(&self) -> CreateTopicInput
fn clone(&self) -> CreateTopicInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateTopicInput
impl Debug for CreateTopicInput
source§impl PartialEq for CreateTopicInput
impl PartialEq for CreateTopicInput
source§fn eq(&self, other: &CreateTopicInput) -> bool
fn eq(&self, other: &CreateTopicInput) -> bool
self
and other
values to be equal, and is used
by ==
.