Struct aws_sdk_connect::operation::create_prompt::CreatePromptInput
source · #[non_exhaustive]pub struct CreatePromptInput {
pub instance_id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub s3_uri: 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 instance ID in the Amazon Resource Name (ARN) of the instance.
name: Option<String>
The name of the prompt.
description: Option<String>
The description of the prompt.
s3_uri: Option<String>
The URI for the S3 bucket where the prompt is stored. You can provide S3 pre-signed URLs returned by the GetPromptFile API instead of providing S3 URIs.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Implementations§
source§impl CreatePromptInput
impl CreatePromptInput
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 instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the prompt.
sourcepub fn s3_uri(&self) -> Option<&str>
pub fn s3_uri(&self) -> Option<&str>
The URI for the S3 bucket where the prompt is stored. You can provide S3 pre-signed URLs returned by the GetPromptFile API instead of providing S3 URIs.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
source§impl CreatePromptInput
impl CreatePromptInput
sourcepub fn builder() -> CreatePromptInputBuilder
pub fn builder() -> CreatePromptInputBuilder
Creates a new builder-style object to manufacture CreatePromptInput
.
Trait Implementations§
source§impl Clone for CreatePromptInput
impl Clone for CreatePromptInput
source§fn clone(&self) -> CreatePromptInput
fn clone(&self) -> CreatePromptInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreatePromptInput
impl Debug for CreatePromptInput
source§impl PartialEq for CreatePromptInput
impl PartialEq for CreatePromptInput
source§fn eq(&self, other: &CreatePromptInput) -> bool
fn eq(&self, other: &CreatePromptInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreatePromptInput
Auto Trait Implementations§
impl Freeze for CreatePromptInput
impl RefUnwindSafe for CreatePromptInput
impl Send for CreatePromptInput
impl Sync for CreatePromptInput
impl Unpin for CreatePromptInput
impl UnwindSafe for CreatePromptInput
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> 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