amazonka-glue-2.0: Amazon Glue SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Glue.GetMLTransform

Description

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

Creating a Request

data GetMLTransform Source #

See: newGetMLTransform smart constructor.

Constructors

GetMLTransform' 

Fields

  • transformId :: Text

    The unique identifier of the transform, generated at the time that the transform was created.

Instances

Instances details
ToJSON GetMLTransform Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

ToHeaders GetMLTransform Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

ToPath GetMLTransform Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

ToQuery GetMLTransform Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

AWSRequest GetMLTransform Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

Associated Types

type AWSResponse GetMLTransform #

Generic GetMLTransform Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

Associated Types

type Rep GetMLTransform :: Type -> Type #

Read GetMLTransform Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

Show GetMLTransform Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

NFData GetMLTransform Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

Methods

rnf :: GetMLTransform -> () #

Eq GetMLTransform Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

Hashable GetMLTransform Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

type AWSResponse GetMLTransform Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

type Rep GetMLTransform Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

type Rep GetMLTransform = D1 ('MetaData "GetMLTransform" "Amazonka.Glue.GetMLTransform" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "GetMLTransform'" 'PrefixI 'True) (S1 ('MetaSel ('Just "transformId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetMLTransform Source #

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.

Constructors

GetMLTransformResponse' 

Fields

  • createdOn :: Maybe POSIX

    The date and time when the transform was created.

  • description :: Maybe Text

    A description of the transform.

  • evaluationMetrics :: Maybe EvaluationMetrics

    The latest evaluation metrics.

  • glueVersion :: Maybe Text

    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.

  • inputRecordTables :: Maybe [GlueTable]

    A list of Glue table definitions used by the transform.

  • labelCount :: Maybe Int

    The number of labels available for this transform.

  • lastModifiedOn :: Maybe POSIX

    The date and time when the transform was last modified.

  • maxCapacity :: Maybe Double

    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.

  • maxRetries :: Maybe Int

    The maximum number of times to retry a task for this transform after a task run fails.

  • name :: Maybe Text

    The unique name given to the transform when it was created.

  • numberOfWorkers :: Maybe Int

    The number of workers of a defined workerType that are allocated when this task runs.

  • parameters :: Maybe TransformParameters

    The configuration parameters that are specific to the algorithm used.

  • role' :: Maybe Text

    The name or Amazon Resource Name (ARN) of the IAM role with the required permissions.

  • schema :: Maybe [SchemaColumn]

    The Map<Column, Type> object that represents the schema that this transform accepts. Has an upper bound of 100 columns.

  • status :: Maybe TransformStatusType

    The last known status of the transform (to indicate whether it can be used or not). One of "NOT_READY", "READY", or "DELETING".

  • timeout :: Maybe Natural

    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).

  • transformEncryption :: Maybe 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.

  • transformId :: Maybe Text

    The unique identifier of the transform, generated at the time that the transform was created.

  • workerType :: Maybe 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.
  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetMLTransformResponse Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

Associated Types

type Rep GetMLTransformResponse :: Type -> Type #

Read GetMLTransformResponse Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

Show GetMLTransformResponse Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

NFData GetMLTransformResponse Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

Methods

rnf :: GetMLTransformResponse -> () #

Eq GetMLTransformResponse Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

type Rep GetMLTransformResponse Source # 
Instance details

Defined in Amazonka.Glue.GetMLTransform

type Rep GetMLTransformResponse = D1 ('MetaData "GetMLTransformResponse" "Amazonka.Glue.GetMLTransform" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "GetMLTransformResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "createdOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "evaluationMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EvaluationMetrics)) :*: (S1 ('MetaSel ('Just "glueVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "inputRecordTables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GlueTable]))))) :*: ((S1 ('MetaSel ('Just "labelCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "lastModifiedOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "maxCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "maxRetries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "numberOfWorkers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TransformParameters))) :*: (S1 ('MetaSel ('Just "role'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "schema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SchemaColumn])) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TransformStatusType))))) :*: ((S1 ('MetaSel ('Just "timeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "transformEncryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TransformEncryption))) :*: (S1 ('MetaSel ('Just "transformId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "workerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkerType)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))))

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_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.