#[non_exhaustive]pub struct CreateSessionInput {
pub client_token: Option<String>,
pub assistant_id: Option<String>,
pub name: Option<String>,
pub description: 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.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.
assistant_id: Option<String>The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
name: Option<String>The name of the session.
description: Option<String>The description.
The tags used to organize, track, or control access for this resource.
Implementations§
source§impl CreateSessionInput
impl CreateSessionInput
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 assistant_id(&self) -> Option<&str>
pub fn assistant_id(&self) -> Option<&str>
The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
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.
source§impl CreateSessionInput
impl CreateSessionInput
sourcepub fn builder() -> CreateSessionInputBuilder
pub fn builder() -> CreateSessionInputBuilder
Creates a new builder-style object to manufacture CreateSessionInput.
Trait Implementations§
source§impl Clone for CreateSessionInput
impl Clone for CreateSessionInput
source§fn clone(&self) -> CreateSessionInput
fn clone(&self) -> CreateSessionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateSessionInput
impl Debug for CreateSessionInput
source§impl PartialEq for CreateSessionInput
impl PartialEq for CreateSessionInput
source§fn eq(&self, other: &CreateSessionInput) -> bool
fn eq(&self, other: &CreateSessionInput) -> bool
self and other values to be equal, and is used
by ==.