#[non_exhaustive]pub struct CreateApplicationInput {
pub name: Option<String>,
pub namespace: Option<String>,
pub description: Option<String>,
pub application_source_config: Option<ApplicationSourceConfig>,
pub subscriptions: Option<Vec<Subscription>>,
pub publications: Option<Vec<Publication>>,
pub client_token: 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>
The name of the application.
namespace: Option<String>
The namespace of the application.
description: Option<String>
The description of the application.
application_source_config: Option<ApplicationSourceConfig>
The configuration for where the application should be loaded from.
subscriptions: Option<Vec<Subscription>>
The events that the application subscribes.
publications: Option<Vec<Publication>>
The events that the application publishes.
client_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Implementations§
source§impl CreateApplicationInput
impl CreateApplicationInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the application.
sourcepub fn application_source_config(&self) -> Option<&ApplicationSourceConfig>
pub fn application_source_config(&self) -> Option<&ApplicationSourceConfig>
The configuration for where the application should be loaded from.
sourcepub fn subscriptions(&self) -> &[Subscription]
pub fn subscriptions(&self) -> &[Subscription]
The events that the application subscribes.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subscriptions.is_none()
.
sourcepub fn publications(&self) -> &[Publication]
pub fn publications(&self) -> &[Publication]
The events that the application publishes.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .publications.is_none()
.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
source§impl CreateApplicationInput
impl CreateApplicationInput
sourcepub fn builder() -> CreateApplicationInputBuilder
pub fn builder() -> CreateApplicationInputBuilder
Creates a new builder-style object to manufacture CreateApplicationInput
.
Trait Implementations§
source§impl Clone for CreateApplicationInput
impl Clone for CreateApplicationInput
source§fn clone(&self) -> CreateApplicationInput
fn clone(&self) -> CreateApplicationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateApplicationInput
impl Debug for CreateApplicationInput
source§impl PartialEq for CreateApplicationInput
impl PartialEq for CreateApplicationInput
source§fn eq(&self, other: &CreateApplicationInput) -> bool
fn eq(&self, other: &CreateApplicationInput) -> bool
self
and other
values to be equal, and is used
by ==
.