#[non_exhaustive]pub struct GetMlTransformOutput {Show 19 fields
pub transform_id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub status: Option<TransformStatusType>,
pub created_on: Option<DateTime>,
pub last_modified_on: Option<DateTime>,
pub input_record_tables: Option<Vec<GlueTable>>,
pub parameters: Option<TransformParameters>,
pub evaluation_metrics: Option<EvaluationMetrics>,
pub label_count: i32,
pub schema: Option<Vec<SchemaColumn>>,
pub role: Option<String>,
pub glue_version: Option<String>,
pub max_capacity: Option<f64>,
pub worker_type: Option<WorkerType>,
pub number_of_workers: Option<i32>,
pub timeout: Option<i32>,
pub max_retries: Option<i32>,
pub transform_encryption: Option<TransformEncryption>,
/* private fields */
}
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.transform_id: Option<String>
The unique identifier of the transform, generated at the time that the transform was created.
name: Option<String>
The unique name given to the transform when it was created.
description: Option<String>
A description of the transform.
status: Option<TransformStatusType>
The last known status of the transform (to indicate whether it can be used or not). One of "NOT_READY", "READY", or "DELETING".
created_on: Option<DateTime>
The date and time when the transform was created.
last_modified_on: Option<DateTime>
The date and time when the transform was last modified.
input_record_tables: Option<Vec<GlueTable>>
A list of Glue table definitions used by the transform.
parameters: Option<TransformParameters>
The configuration parameters that are specific to the algorithm used.
evaluation_metrics: Option<EvaluationMetrics>
The latest evaluation metrics.
label_count: i32
The number of labels available for this transform.
schema: Option<Vec<SchemaColumn>>
The Map
object that represents the schema that this transform accepts. Has an upper bound of 100 columns.
role: Option<String>
The name or Amazon Resource Name (ARN) of the IAM role with the required permissions.
glue_version: Option<String>
This value determines which version of Glue this machine learning transform is compatible with. Glue 1.0 is recommended for most customers. If the value is not set, the Glue compatibility defaults to Glue 0.9. For more information, see Glue Versions in the developer guide.
max_capacity: Option<f64>
The number of Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.
When the WorkerType
field is set to a value other than Standard
, the MaxCapacity
field is set automatically and becomes read-only.
worker_type: Option<WorkerType>
The type of predefined worker that is allocated when this task runs. Accepts a value of Standard, G.1X, or G.2X.
-
For the
Standard
worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. -
For the
G.1X
worker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker. -
For the
G.2X
worker type, each worker provides 8 vCPU, 32 GB of memory and a 128GB disk, and 1 executor per worker.
number_of_workers: Option<i32>
The number of workers of a defined workerType
that are allocated when this task runs.
timeout: Option<i32>
The timeout for a task run for this transform in minutes. This is the maximum time that a task run for this transform can consume resources before it is terminated and enters TIMEOUT
status. The default is 2,880 minutes (48 hours).
max_retries: Option<i32>
The maximum number of times to retry a task for this transform after a task run fails.
transform_encryption: Option<TransformEncryption>
The encryption-at-rest settings of the transform that apply to accessing user data. Machine learning transforms can access user data encrypted in Amazon S3 using KMS.
Implementations§
source§impl GetMlTransformOutput
impl GetMlTransformOutput
sourcepub fn transform_id(&self) -> Option<&str>
pub fn transform_id(&self) -> Option<&str>
The unique identifier of the transform, generated at the time that the transform was created.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the transform.
sourcepub fn status(&self) -> Option<&TransformStatusType>
pub fn status(&self) -> Option<&TransformStatusType>
The last known status of the transform (to indicate whether it can be used or not). One of "NOT_READY", "READY", or "DELETING".
sourcepub fn created_on(&self) -> Option<&DateTime>
pub fn created_on(&self) -> Option<&DateTime>
The date and time when the transform was created.
sourcepub fn last_modified_on(&self) -> Option<&DateTime>
pub fn last_modified_on(&self) -> Option<&DateTime>
The date and time when the transform was last modified.
sourcepub fn input_record_tables(&self) -> &[GlueTable]
pub fn input_record_tables(&self) -> &[GlueTable]
A list of Glue table definitions used by the transform.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .input_record_tables.is_none()
.
sourcepub fn parameters(&self) -> Option<&TransformParameters>
pub fn parameters(&self) -> Option<&TransformParameters>
The configuration parameters that are specific to the algorithm used.
sourcepub fn evaluation_metrics(&self) -> Option<&EvaluationMetrics>
pub fn evaluation_metrics(&self) -> Option<&EvaluationMetrics>
The latest evaluation metrics.
sourcepub fn label_count(&self) -> i32
pub fn label_count(&self) -> i32
The number of labels available for this transform.
sourcepub fn schema(&self) -> &[SchemaColumn]
pub fn schema(&self) -> &[SchemaColumn]
The Map
object that represents the schema that this transform accepts. Has an upper bound of 100 columns.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .schema.is_none()
.
sourcepub fn role(&self) -> Option<&str>
pub fn role(&self) -> Option<&str>
The name or Amazon Resource Name (ARN) of the IAM role with the required permissions.
sourcepub fn glue_version(&self) -> Option<&str>
pub fn glue_version(&self) -> Option<&str>
This value determines which version of Glue this machine learning transform is compatible with. Glue 1.0 is recommended for most customers. If the value is not set, the Glue compatibility defaults to Glue 0.9. For more information, see Glue Versions in the developer guide.
sourcepub fn max_capacity(&self) -> Option<f64>
pub fn max_capacity(&self) -> Option<f64>
The number of Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.
When the WorkerType
field is set to a value other than Standard
, the MaxCapacity
field is set automatically and becomes read-only.
sourcepub fn worker_type(&self) -> Option<&WorkerType>
pub fn worker_type(&self) -> Option<&WorkerType>
The type of predefined worker that is allocated when this task runs. Accepts a value of Standard, G.1X, or G.2X.
-
For the
Standard
worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. -
For the
G.1X
worker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker. -
For the
G.2X
worker type, each worker provides 8 vCPU, 32 GB of memory and a 128GB disk, and 1 executor per worker.
sourcepub fn number_of_workers(&self) -> Option<i32>
pub fn number_of_workers(&self) -> Option<i32>
The number of workers of a defined workerType
that are allocated when this task runs.
sourcepub fn timeout(&self) -> Option<i32>
pub fn timeout(&self) -> Option<i32>
The timeout for a task run for this transform in minutes. This is the maximum time that a task run for this transform can consume resources before it is terminated and enters TIMEOUT
status. The default is 2,880 minutes (48 hours).
sourcepub fn max_retries(&self) -> Option<i32>
pub fn max_retries(&self) -> Option<i32>
The maximum number of times to retry a task for this transform after a task run fails.
sourcepub fn transform_encryption(&self) -> Option<&TransformEncryption>
pub fn transform_encryption(&self) -> Option<&TransformEncryption>
The encryption-at-rest settings of the transform that apply to accessing user data. Machine learning transforms can access user data encrypted in Amazon S3 using KMS.
source§impl GetMlTransformOutput
impl GetMlTransformOutput
sourcepub fn builder() -> GetMlTransformOutputBuilder
pub fn builder() -> GetMlTransformOutputBuilder
Creates a new builder-style object to manufacture GetMlTransformOutput
.
Trait Implementations§
source§impl Clone for GetMlTransformOutput
impl Clone for GetMlTransformOutput
source§fn clone(&self) -> GetMlTransformOutput
fn clone(&self) -> GetMlTransformOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetMlTransformOutput
impl Debug for GetMlTransformOutput
source§impl PartialEq for GetMlTransformOutput
impl PartialEq for GetMlTransformOutput
source§fn eq(&self, other: &GetMlTransformOutput) -> bool
fn eq(&self, other: &GetMlTransformOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetMlTransformOutput
impl RequestId for GetMlTransformOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetMlTransformOutput
Auto Trait Implementations§
impl Freeze for GetMlTransformOutput
impl RefUnwindSafe for GetMlTransformOutput
impl Send for GetMlTransformOutput
impl Sync for GetMlTransformOutput
impl Unpin for GetMlTransformOutput
impl UnwindSafe for GetMlTransformOutput
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> 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