Struct aws_sdk_wisdom::types::AssistantData
source · #[non_exhaustive]pub struct AssistantData {
pub assistant_id: String,
pub assistant_arn: String,
pub name: String,
pub type: AssistantType,
pub status: AssistantStatus,
pub description: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub server_side_encryption_configuration: Option<ServerSideEncryptionConfiguration>,
pub integration_configuration: Option<AssistantIntegrationConfiguration>,
}
Expand description
The assistant data.
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.assistant_id: String
The identifier of the Wisdom assistant.
assistant_arn: String
The Amazon Resource Name (ARN) of the Wisdom assistant.
name: String
The name.
type: AssistantType
The type of assistant.
status: AssistantStatus
The status of the assistant.
description: Option<String>
The description.
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.
This KMS key must have a policy that allows kms:CreateGrant
, kms:DescribeKey
, and kms:Decrypt/kms:GenerateDataKey
permissions to the IAM identity using the key to invoke Wisdom. To use Wisdom 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 Wisdom, see Enable Amazon Connect Wisdom for your instance.
integration_configuration: Option<AssistantIntegrationConfiguration>
The configuration information for the Wisdom assistant integration.
Implementations§
source§impl AssistantData
impl AssistantData
sourcepub fn assistant_id(&self) -> &str
pub fn assistant_id(&self) -> &str
The identifier of the Wisdom assistant.
sourcepub fn assistant_arn(&self) -> &str
pub fn assistant_arn(&self) -> &str
The Amazon Resource Name (ARN) of the Wisdom assistant.
sourcepub fn type(&self) -> &AssistantType
pub fn type(&self) -> &AssistantType
The type of assistant.
sourcepub fn status(&self) -> &AssistantStatus
pub fn status(&self) -> &AssistantStatus
The status of the assistant.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description.
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.
This KMS key must have a policy that allows kms:CreateGrant
, kms:DescribeKey
, and kms:Decrypt/kms:GenerateDataKey
permissions to the IAM identity using the key to invoke Wisdom. To use Wisdom 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 Wisdom, see Enable Amazon Connect Wisdom for your instance.
sourcepub fn integration_configuration(
&self
) -> Option<&AssistantIntegrationConfiguration>
pub fn integration_configuration( &self ) -> Option<&AssistantIntegrationConfiguration>
The configuration information for the Wisdom assistant integration.
source§impl AssistantData
impl AssistantData
sourcepub fn builder() -> AssistantDataBuilder
pub fn builder() -> AssistantDataBuilder
Creates a new builder-style object to manufacture AssistantData
.
Trait Implementations§
source§impl Clone for AssistantData
impl Clone for AssistantData
source§fn clone(&self) -> AssistantData
fn clone(&self) -> AssistantData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssistantData
impl Debug for AssistantData
source§impl PartialEq for AssistantData
impl PartialEq for AssistantData
source§fn eq(&self, other: &AssistantData) -> bool
fn eq(&self, other: &AssistantData) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssistantData
Auto Trait Implementations§
impl Freeze for AssistantData
impl RefUnwindSafe for AssistantData
impl Send for AssistantData
impl Sync for AssistantData
impl Unpin for AssistantData
impl UnwindSafe for AssistantData
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