#[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>>,
pub permissions: Option<Vec<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"} }.
permissions: Option<Vec<String>>
The configuration of events or requests that the application has access to.
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]
👎Deprecated: Subscriptions has been replaced with Permissions
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]
👎Deprecated: Publications has been replaced with Permissions
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"} }.
sourcepub fn permissions(&self) -> &[String]
pub fn permissions(&self) -> &[String]
The configuration of events or requests that the application has access to.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .permissions.is_none()
.
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
impl StructuralPartialEq for CreateApplicationInput
Auto Trait Implementations§
impl Freeze for CreateApplicationInput
impl RefUnwindSafe for CreateApplicationInput
impl Send for CreateApplicationInput
impl Sync for CreateApplicationInput
impl Unpin for CreateApplicationInput
impl UnwindSafe for CreateApplicationInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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