Struct aws_sdk_connect::operation::create_view::CreateViewInput
source · #[non_exhaustive]pub struct CreateViewInput {
pub instance_id: Option<String>,
pub client_token: Option<String>,
pub status: Option<ViewStatus>,
pub content: Option<ViewInputContent>,
pub description: Option<String>,
pub name: 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.instance_id: Option<String>
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
client_token: Option<String>
A unique Id for each create view request to avoid duplicate view creation. For example, the view is idempotent ClientToken is provided.
status: Option<ViewStatus>
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
content: Option<ViewInputContent>
View content containing all content necessary to render a view except for runtime input data.
The total uncompressed content has a maximum file size of 400kB.
description: Option<String>
The description of the view.
name: Option<String>
The name of the view.
The tags associated with the view resource (not specific to view version).These tags can be used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Implementations§
source§impl CreateViewInput
impl CreateViewInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique Id for each create view request to avoid duplicate view creation. For example, the view is idempotent ClientToken is provided.
sourcepub fn status(&self) -> Option<&ViewStatus>
pub fn status(&self) -> Option<&ViewStatus>
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
sourcepub fn content(&self) -> Option<&ViewInputContent>
pub fn content(&self) -> Option<&ViewInputContent>
View content containing all content necessary to render a view except for runtime input data.
The total uncompressed content has a maximum file size of 400kB.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the view.
The tags associated with the view resource (not specific to view version).These tags can be used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
source§impl CreateViewInput
impl CreateViewInput
sourcepub fn builder() -> CreateViewInputBuilder
pub fn builder() -> CreateViewInputBuilder
Creates a new builder-style object to manufacture CreateViewInput
.
Trait Implementations§
source§impl Clone for CreateViewInput
impl Clone for CreateViewInput
source§fn clone(&self) -> CreateViewInput
fn clone(&self) -> CreateViewInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateViewInput
impl Debug for CreateViewInput
source§impl PartialEq for CreateViewInput
impl PartialEq for CreateViewInput
source§fn eq(&self, other: &CreateViewInput) -> bool
fn eq(&self, other: &CreateViewInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateViewInput
Auto Trait Implementations§
impl Freeze for CreateViewInput
impl RefUnwindSafe for CreateViewInput
impl Send for CreateViewInput
impl Sync for CreateViewInput
impl Unpin for CreateViewInput
impl UnwindSafe for CreateViewInput
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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