#[non_exhaustive]pub struct CreateAssistantInput {
pub client_token: Option<String>,
pub name: Option<String>,
pub type: Option<AssistantType>,
pub description: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub server_side_encryption_configuration: Option<ServerSideEncryptionConfiguration>,
}
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.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.
name: Option<String>
The name of the assistant.
type: Option<AssistantType>
The type of assistant.
description: Option<String>
The description of the assistant.
The tags used to organize, track, or control access for this resource.
server_side_encryption_configuration: Option<ServerSideEncryptionConfiguration>
The KMS key used for encryption.
Implementations§
source§impl CreateAssistantInput
impl CreateAssistantInput
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.
sourcepub fn type(&self) -> Option<&AssistantType>
pub fn type(&self) -> Option<&AssistantType>
The type of assistant.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the assistant.
The tags used to organize, track, or control access for this resource.
sourcepub fn server_side_encryption_configuration(
&self
) -> Option<&ServerSideEncryptionConfiguration>
pub fn server_side_encryption_configuration( &self ) -> Option<&ServerSideEncryptionConfiguration>
The KMS key used for encryption.
source§impl CreateAssistantInput
impl CreateAssistantInput
sourcepub fn builder() -> CreateAssistantInputBuilder
pub fn builder() -> CreateAssistantInputBuilder
Creates a new builder-style object to manufacture CreateAssistantInput
.
Trait Implementations§
source§impl Clone for CreateAssistantInput
impl Clone for CreateAssistantInput
source§fn clone(&self) -> CreateAssistantInput
fn clone(&self) -> CreateAssistantInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAssistantInput
impl Debug for CreateAssistantInput
source§impl PartialEq<CreateAssistantInput> for CreateAssistantInput
impl PartialEq<CreateAssistantInput> for CreateAssistantInput
source§fn eq(&self, other: &CreateAssistantInput) -> bool
fn eq(&self, other: &CreateAssistantInput) -> bool
self
and other
values to be equal, and is used
by ==
.