#[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 configuration information for the customer managed key used for encryption.
The customer managed key must have a policy that allows kms:CreateGrant, kms:DescribeKey, kms:Decrypt, and kms:GenerateDataKey* permissions to the IAM identity using the key to invoke Amazon Q. To use Amazon Q with chat, the key policy must also allow kms:Decrypt, kms:GenerateDataKey*, and kms:DescribeKey permissions to the connect.amazonaws.com service principal.
For more information about setting up a customer managed key for Amazon Q, see Enable Amazon Q in Connect for your instance.
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 configuration information for the customer managed key used for encryption.
The customer managed key must have a policy that allows kms:CreateGrant, kms:DescribeKey, kms:Decrypt, and kms:GenerateDataKey* permissions to the IAM identity using the key to invoke Amazon Q. To use Amazon Q with chat, the key policy must also allow kms:Decrypt, kms:GenerateDataKey*, and kms:DescribeKey permissions to the connect.amazonaws.com service principal.
For more information about setting up a customer managed key for Amazon Q, see Enable Amazon Q in Connect for your instance.
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 for CreateAssistantInput
impl PartialEq 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 ==.