Struct rusoto_kendra::CreateFaqRequest
source · [−]pub struct CreateFaqRequest {
pub client_token: Option<String>,
pub description: Option<String>,
pub file_format: Option<String>,
pub index_id: String,
pub name: String,
pub role_arn: String,
pub s3_path: S3Path,
pub tags: Option<Vec<Tag>>,
}
Fields
client_token: Option<String>
A token that you provide to identify the request to create a FAQ. Multiple calls to the CreateFaqRequest
operation with the same client token will create only one FAQ.
description: Option<String>
A description of the FAQ.
file_format: Option<String>
The format of the input file. You can choose between a basic CSV format, a CSV format that includes customs attributes in a header, and a JSON format that includes custom attributes.
The format must match the format of the file stored in the S3 bucket identified in the S3Path
parameter.
For more information, see Adding questions and answers.
index_id: String
The identifier of the index that contains the FAQ.
name: String
The name that should be associated with the FAQ.
role_arn: String
The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQs. For more information, see IAM Roles for Amazon Kendra.
s3_path: S3Path
The S3 location of the FAQ input data.
A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your resources and to control access to resources.
Trait Implementations
sourceimpl Clone for CreateFaqRequest
impl Clone for CreateFaqRequest
sourcefn clone(&self) -> CreateFaqRequest
fn clone(&self) -> CreateFaqRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateFaqRequest
impl Debug for CreateFaqRequest
sourceimpl Default for CreateFaqRequest
impl Default for CreateFaqRequest
sourcefn default() -> CreateFaqRequest
fn default() -> CreateFaqRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateFaqRequest> for CreateFaqRequest
impl PartialEq<CreateFaqRequest> for CreateFaqRequest
sourcefn eq(&self, other: &CreateFaqRequest) -> bool
fn eq(&self, other: &CreateFaqRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateFaqRequest) -> bool
fn ne(&self, other: &CreateFaqRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateFaqRequest
impl Serialize for CreateFaqRequest
impl StructuralPartialEq for CreateFaqRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateFaqRequest
impl Send for CreateFaqRequest
impl Sync for CreateFaqRequest
impl Unpin for CreateFaqRequest
impl UnwindSafe for CreateFaqRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more