#[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
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
impl StructuralPartialEq for CreateEndpointInput
Auto Trait Implementations§
impl Freeze for CreateEndpointInput
impl RefUnwindSafe for CreateEndpointInput
impl Send for CreateEndpointInput
impl Sync for CreateEndpointInput
impl Unpin for CreateEndpointInput
impl UnwindSafe for CreateEndpointInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more