#[non_exhaustive]pub struct CreateEndpointInput {
pub endpoint_name: Option<String>,
pub model_arn: Option<String>,
pub desired_inference_units: Option<i32>,
pub client_request_token: Option<String>,
pub tags: Option<Vec<Tag>>,
pub data_access_role_arn: Option<String>,
pub flywheel_arn: Option<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.endpoint_name: Option<String>This is the descriptive suffix that becomes part of the EndpointArn used for all subsequent requests to this resource.
model_arn: Option<String>The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.
desired_inference_units: Option<i32>The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.
client_request_token: Option<String>An idempotency token provided by the customer. If this token matches a previous endpoint creation request, Amazon Comprehend will not return a ResourceInUseException.
Tags to associate with the endpoint. A tag is a key-value pair that adds metadata to the endpoint. For example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by the sales department.
data_access_role_arn: Option<String>The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).
flywheel_arn: Option<String>The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached.
Implementations§
source§impl CreateEndpointInput
impl CreateEndpointInput
sourcepub fn endpoint_name(&self) -> Option<&str>
pub fn endpoint_name(&self) -> Option<&str>
This is the descriptive suffix that becomes part of the EndpointArn used for all subsequent requests to this resource.
sourcepub fn model_arn(&self) -> Option<&str>
pub fn model_arn(&self) -> Option<&str>
The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.
sourcepub fn desired_inference_units(&self) -> Option<i32>
pub fn desired_inference_units(&self) -> Option<i32>
The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
An idempotency token provided by the customer. If this token matches a previous endpoint creation request, Amazon Comprehend will not return a ResourceInUseException.
Tags to associate with the endpoint. A tag is a key-value pair that adds metadata to the endpoint. For example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by the sales department.
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 IAM role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).
sourcepub fn flywheel_arn(&self) -> Option<&str>
pub fn flywheel_arn(&self) -> Option<&str>
The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached.
source§impl CreateEndpointInput
impl CreateEndpointInput
sourcepub fn builder() -> CreateEndpointInputBuilder
pub fn builder() -> CreateEndpointInputBuilder
Creates a new builder-style object to manufacture CreateEndpointInput.
Trait Implementations§
source§impl Clone for CreateEndpointInput
impl Clone for CreateEndpointInput
source§fn clone(&self) -> CreateEndpointInput
fn clone(&self) -> CreateEndpointInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateEndpointInput
impl Debug for CreateEndpointInput
source§impl PartialEq for CreateEndpointInput
impl PartialEq for CreateEndpointInput
source§fn eq(&self, other: &CreateEndpointInput) -> bool
fn eq(&self, other: &CreateEndpointInput) -> bool
self and other values to be equal, and is used
by ==.