#[non_exhaustive]pub struct StartImportJobInput {
pub knowledge_base_id: Option<String>,
pub import_job_type: Option<ImportJobType>,
pub upload_id: Option<String>,
pub client_token: Option<String>,
pub metadata: Option<HashMap<String, String>>,
pub external_source_configuration: Option<ExternalSourceConfiguration>,
}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.knowledge_base_id: Option<String>The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
-
For importing Wisdom quick responses, this should be a
QUICK_RESPONSEStype knowledge base.
import_job_type: Option<ImportJobType>The type of the import job.
-
For importing quick response resource, set the value to
QUICK_RESPONSES.
upload_id: Option<String>A pointer to the uploaded asset. This value is returned by StartContentUpload.
client_token: Option<String>The tags used to organize, track, or control access for this resource.
metadata: Option<HashMap<String, String>>The metadata fields of the imported Wisdom resources.
external_source_configuration: Option<ExternalSourceConfiguration>The configuration information of the external source that the resource data are imported from.
Implementations§
source§impl StartImportJobInput
impl StartImportJobInput
sourcepub fn knowledge_base_id(&self) -> Option<&str>
pub fn knowledge_base_id(&self) -> Option<&str>
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
-
For importing Wisdom quick responses, this should be a
QUICK_RESPONSEStype knowledge base.
sourcepub fn import_job_type(&self) -> Option<&ImportJobType>
pub fn import_job_type(&self) -> Option<&ImportJobType>
The type of the import job.
-
For importing quick response resource, set the value to
QUICK_RESPONSES.
sourcepub fn upload_id(&self) -> Option<&str>
pub fn upload_id(&self) -> Option<&str>
A pointer to the uploaded asset. This value is returned by StartContentUpload.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
The tags used to organize, track, or control access for this resource.
sourcepub fn metadata(&self) -> Option<&HashMap<String, String>>
pub fn metadata(&self) -> Option<&HashMap<String, String>>
The metadata fields of the imported Wisdom resources.
sourcepub fn external_source_configuration(
&self
) -> Option<&ExternalSourceConfiguration>
pub fn external_source_configuration( &self ) -> Option<&ExternalSourceConfiguration>
The configuration information of the external source that the resource data are imported from.
source§impl StartImportJobInput
impl StartImportJobInput
sourcepub fn builder() -> StartImportJobInputBuilder
pub fn builder() -> StartImportJobInputBuilder
Creates a new builder-style object to manufacture StartImportJobInput.
Trait Implementations§
source§impl Clone for StartImportJobInput
impl Clone for StartImportJobInput
source§fn clone(&self) -> StartImportJobInput
fn clone(&self) -> StartImportJobInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartImportJobInput
impl Debug for StartImportJobInput
source§impl PartialEq for StartImportJobInput
impl PartialEq for StartImportJobInput
source§fn eq(&self, other: &StartImportJobInput) -> bool
fn eq(&self, other: &StartImportJobInput) -> bool
self and other values to be equal, and is used
by ==.