Struct aws_sdk_comprehend::input::ImportModelInput
source · [−]#[non_exhaustive]pub struct ImportModelInput { /* private fields */ }Implementations
sourceimpl ImportModelInput
impl ImportModelInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ImportModel, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ImportModel, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ImportModel>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ImportModelInput.
sourceimpl ImportModelInput
impl ImportModelInput
sourcepub fn source_model_arn(&self) -> Option<&str>
pub fn source_model_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the custom model to import.
sourcepub fn model_name(&self) -> Option<&str>
pub fn model_name(&self) -> Option<&str>
The name to assign to the custom model that is created in Amazon Comprehend by this import.
sourcepub fn version_name(&self) -> Option<&str>
pub fn version_name(&self) -> Option<&str>
The version name given to the custom model that is created by this import. Version names can have a maximum of 256 characters. Alphanumeric characters, hyphens (-) and underscores (_) are allowed. The version name must be unique among all models with the same classifier name in the account/AWS Region.
sourcepub fn model_kms_key_id(&self) -> Option<&str>
pub fn model_kms_key_id(&self) -> Option<&str>
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:
-
KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab" -
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
sourcepub fn data_access_role_arn(&self) -> Option<&str>
pub fn data_access_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that allows Amazon Comprehend to use Amazon Key Management Service (KMS) to encrypt or decrypt the custom model.
Tags to be associated with the custom model that is created by this import. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
Trait Implementations
sourceimpl Clone for ImportModelInput
impl Clone for ImportModelInput
sourcefn clone(&self) -> ImportModelInput
fn clone(&self) -> ImportModelInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more