Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Gets an Glue machine learning transform artifact and all its
corresponding metadata. Machine learning transforms are a special type
of transform that use machine learning to learn the details of the
transformation to be performed by learning from examples provided by
humans. These transformations are then saved by Glue. You can retrieve
their metadata by calling GetMLTransform
.
Synopsis
- data GetMLTransform = GetMLTransform' {
- transformId :: Text
- newGetMLTransform :: Text -> GetMLTransform
- getMLTransform_transformId :: Lens' GetMLTransform Text
- data GetMLTransformResponse = GetMLTransformResponse' {
- createdOn :: Maybe POSIX
- description :: Maybe Text
- evaluationMetrics :: Maybe EvaluationMetrics
- glueVersion :: Maybe Text
- inputRecordTables :: Maybe [GlueTable]
- labelCount :: Maybe Int
- lastModifiedOn :: Maybe POSIX
- maxCapacity :: Maybe Double
- maxRetries :: Maybe Int
- name :: Maybe Text
- numberOfWorkers :: Maybe Int
- parameters :: Maybe TransformParameters
- role' :: Maybe Text
- schema :: Maybe [SchemaColumn]
- status :: Maybe TransformStatusType
- timeout :: Maybe Natural
- transformEncryption :: Maybe TransformEncryption
- transformId :: Maybe Text
- workerType :: Maybe WorkerType
- httpStatus :: Int
- newGetMLTransformResponse :: Int -> GetMLTransformResponse
- getMLTransformResponse_createdOn :: Lens' GetMLTransformResponse (Maybe UTCTime)
- getMLTransformResponse_description :: Lens' GetMLTransformResponse (Maybe Text)
- getMLTransformResponse_evaluationMetrics :: Lens' GetMLTransformResponse (Maybe EvaluationMetrics)
- getMLTransformResponse_glueVersion :: Lens' GetMLTransformResponse (Maybe Text)
- getMLTransformResponse_inputRecordTables :: Lens' GetMLTransformResponse (Maybe [GlueTable])
- getMLTransformResponse_labelCount :: Lens' GetMLTransformResponse (Maybe Int)
- getMLTransformResponse_lastModifiedOn :: Lens' GetMLTransformResponse (Maybe UTCTime)
- getMLTransformResponse_maxCapacity :: Lens' GetMLTransformResponse (Maybe Double)
- getMLTransformResponse_maxRetries :: Lens' GetMLTransformResponse (Maybe Int)
- getMLTransformResponse_name :: Lens' GetMLTransformResponse (Maybe Text)
- getMLTransformResponse_numberOfWorkers :: Lens' GetMLTransformResponse (Maybe Int)
- getMLTransformResponse_parameters :: Lens' GetMLTransformResponse (Maybe TransformParameters)
- getMLTransformResponse_role :: Lens' GetMLTransformResponse (Maybe Text)
- getMLTransformResponse_schema :: Lens' GetMLTransformResponse (Maybe [SchemaColumn])
- getMLTransformResponse_status :: Lens' GetMLTransformResponse (Maybe TransformStatusType)
- getMLTransformResponse_timeout :: Lens' GetMLTransformResponse (Maybe Natural)
- getMLTransformResponse_transformEncryption :: Lens' GetMLTransformResponse (Maybe TransformEncryption)
- getMLTransformResponse_transformId :: Lens' GetMLTransformResponse (Maybe Text)
- getMLTransformResponse_workerType :: Lens' GetMLTransformResponse (Maybe WorkerType)
- getMLTransformResponse_httpStatus :: Lens' GetMLTransformResponse Int
Creating a Request
data GetMLTransform Source #
See: newGetMLTransform
smart constructor.
GetMLTransform' | |
|
Instances
Create a value of GetMLTransform
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetMLTransform
, getMLTransform_transformId
- The unique identifier of the transform, generated at the time that the
transform was created.
Request Lenses
getMLTransform_transformId :: Lens' GetMLTransform Text Source #
The unique identifier of the transform, generated at the time that the transform was created.
Destructuring the Response
data GetMLTransformResponse Source #
See: newGetMLTransformResponse
smart constructor.
GetMLTransformResponse' | |
|
Instances
newGetMLTransformResponse Source #
Create a value of GetMLTransformResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetMLTransformResponse
, getMLTransformResponse_createdOn
- The date and time when the transform was created.
GetMLTransformResponse
, getMLTransformResponse_description
- A description of the transform.
GetMLTransformResponse
, getMLTransformResponse_evaluationMetrics
- The latest evaluation metrics.
GetMLTransformResponse
, getMLTransformResponse_glueVersion
- 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.
GetMLTransformResponse
, getMLTransformResponse_inputRecordTables
- A list of Glue table definitions used by the transform.
GetMLTransformResponse
, getMLTransformResponse_labelCount
- The number of labels available for this transform.
GetMLTransformResponse
, getMLTransformResponse_lastModifiedOn
- The date and time when the transform was last modified.
GetMLTransformResponse
, getMLTransformResponse_maxCapacity
- 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.
GetMLTransformResponse
, getMLTransformResponse_maxRetries
- The maximum number of times to retry a task for this transform after a
task run fails.
GetMLTransformResponse
, getMLTransformResponse_name
- The unique name given to the transform when it was created.
GetMLTransformResponse
, getMLTransformResponse_numberOfWorkers
- The number of workers of a defined workerType
that are allocated when
this task runs.
GetMLTransformResponse
, getMLTransformResponse_parameters
- The configuration parameters that are specific to the algorithm used.
GetMLTransformResponse
, getMLTransformResponse_role
- The name or Amazon Resource Name (ARN) of the IAM role with the required
permissions.
GetMLTransformResponse
, getMLTransformResponse_schema
- The Map<Column, Type>
object that represents the schema that this
transform accepts. Has an upper bound of 100 columns.
GetMLTransformResponse
, getMLTransformResponse_status
- The last known status of the transform (to indicate whether it can be
used or not). One of "NOT_READY", "READY", or "DELETING".
GetMLTransformResponse
, getMLTransformResponse_timeout
- 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).
GetMLTransformResponse
, getMLTransformResponse_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.
GetMLTransform
, getMLTransformResponse_transformId
- The unique identifier of the transform, generated at the time that the
transform was created.
GetMLTransformResponse
, getMLTransformResponse_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.
$sel:httpStatus:GetMLTransformResponse'
, getMLTransformResponse_httpStatus
- The response's http status code.
Response Lenses
getMLTransformResponse_createdOn :: Lens' GetMLTransformResponse (Maybe UTCTime) Source #
The date and time when the transform was created.
getMLTransformResponse_description :: Lens' GetMLTransformResponse (Maybe Text) Source #
A description of the transform.
getMLTransformResponse_evaluationMetrics :: Lens' GetMLTransformResponse (Maybe EvaluationMetrics) Source #
The latest evaluation metrics.
getMLTransformResponse_glueVersion :: Lens' GetMLTransformResponse (Maybe Text) Source #
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.
getMLTransformResponse_inputRecordTables :: Lens' GetMLTransformResponse (Maybe [GlueTable]) Source #
A list of Glue table definitions used by the transform.
getMLTransformResponse_labelCount :: Lens' GetMLTransformResponse (Maybe Int) Source #
The number of labels available for this transform.
getMLTransformResponse_lastModifiedOn :: Lens' GetMLTransformResponse (Maybe UTCTime) Source #
The date and time when the transform was last modified.
getMLTransformResponse_maxCapacity :: Lens' GetMLTransformResponse (Maybe Double) Source #
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.
getMLTransformResponse_maxRetries :: Lens' GetMLTransformResponse (Maybe Int) Source #
The maximum number of times to retry a task for this transform after a task run fails.
getMLTransformResponse_name :: Lens' GetMLTransformResponse (Maybe Text) Source #
The unique name given to the transform when it was created.
getMLTransformResponse_numberOfWorkers :: Lens' GetMLTransformResponse (Maybe Int) Source #
The number of workers of a defined workerType
that are allocated when
this task runs.
getMLTransformResponse_parameters :: Lens' GetMLTransformResponse (Maybe TransformParameters) Source #
The configuration parameters that are specific to the algorithm used.
getMLTransformResponse_role :: Lens' GetMLTransformResponse (Maybe Text) Source #
The name or Amazon Resource Name (ARN) of the IAM role with the required permissions.
getMLTransformResponse_schema :: Lens' GetMLTransformResponse (Maybe [SchemaColumn]) Source #
The Map<Column, Type>
object that represents the schema that this
transform accepts. Has an upper bound of 100 columns.
getMLTransformResponse_status :: Lens' GetMLTransformResponse (Maybe TransformStatusType) Source #
The last known status of the transform (to indicate whether it can be used or not). One of "NOT_READY", "READY", or "DELETING".
getMLTransformResponse_timeout :: Lens' GetMLTransformResponse (Maybe Natural) Source #
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).
getMLTransformResponse_transformEncryption :: Lens' GetMLTransformResponse (Maybe TransformEncryption) Source #
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.
getMLTransformResponse_transformId :: Lens' GetMLTransformResponse (Maybe Text) Source #
The unique identifier of the transform, generated at the time that the transform was created.
getMLTransformResponse_workerType :: Lens' GetMLTransformResponse (Maybe WorkerType) Source #
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.
getMLTransformResponse_httpStatus :: Lens' GetMLTransformResponse Int Source #
The response's http status code.