libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMaker.CreateTrialComponent

Description

Creates a trial component, which is a stage of a machine learning trial. A trial is composed of one or more trial components. A trial component can be used in multiple trials.

Trial components include pre-processing jobs, training jobs, and batch transform jobs.

When you use SageMaker Studio or the SageMaker Python SDK, all experiments, trials, and trial components are automatically tracked, logged, and indexed. When you use the Amazon Web Services SDK for Python (Boto), you must use the logging APIs provided by the SDK.

You can add tags to a trial component and then use the Search API to search for the tags.

Synopsis

Creating a Request

data CreateTrialComponent Source #

See: newCreateTrialComponent smart constructor.

Constructors

CreateTrialComponent' 

Fields

Instances

Instances details
Eq CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

Read CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

Show CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

Generic CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

Associated Types

type Rep CreateTrialComponent :: Type -> Type #

NFData CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

Methods

rnf :: CreateTrialComponent -> () #

Hashable CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

ToJSON CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

AWSRequest CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

Associated Types

type AWSResponse CreateTrialComponent #

ToHeaders CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

ToPath CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

ToQuery CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

type Rep CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

type Rep CreateTrialComponent = D1 ('MetaData "CreateTrialComponent" "Amazonka.SageMaker.CreateTrialComponent" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "CreateTrialComponent'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "metadataProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetadataProperties)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrialComponentStatus))) :*: (S1 ('MetaSel ('Just "outputArtifacts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text TrialComponentArtifact))) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text TrialComponentParameterValue))) :*: S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "inputArtifacts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text TrialComponentArtifact))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "trialComponentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))
type AWSResponse CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

newCreateTrialComponent Source #

Create a value of CreateTrialComponent 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:

$sel:metadataProperties:CreateTrialComponent', createTrialComponent_metadataProperties - Undocumented member.

$sel:status:CreateTrialComponent', createTrialComponent_status - The status of the component. States include:

  • InProgress
  • Completed
  • Failed

$sel:outputArtifacts:CreateTrialComponent', createTrialComponent_outputArtifacts - The output artifacts for the component. Examples of output artifacts are metrics, snapshots, logs, and images.

$sel:startTime:CreateTrialComponent', createTrialComponent_startTime - When the component started.

$sel:endTime:CreateTrialComponent', createTrialComponent_endTime - When the component ended.

$sel:parameters:CreateTrialComponent', createTrialComponent_parameters - The hyperparameters for the component.

$sel:displayName:CreateTrialComponent', createTrialComponent_displayName - The name of the component as displayed. The name doesn't need to be unique. If DisplayName isn't specified, TrialComponentName is displayed.

$sel:inputArtifacts:CreateTrialComponent', createTrialComponent_inputArtifacts - The input artifacts for the component. Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types.

$sel:tags:CreateTrialComponent', createTrialComponent_tags - A list of tags to associate with the component. You can use Search API to search on the tags.

$sel:trialComponentName:CreateTrialComponent', createTrialComponent_trialComponentName - The name of the component. The name must be unique in your Amazon Web Services account and is not case-sensitive.

Request Lenses

createTrialComponent_status :: Lens' CreateTrialComponent (Maybe TrialComponentStatus) Source #

The status of the component. States include:

  • InProgress
  • Completed
  • Failed

createTrialComponent_outputArtifacts :: Lens' CreateTrialComponent (Maybe (HashMap Text TrialComponentArtifact)) Source #

The output artifacts for the component. Examples of output artifacts are metrics, snapshots, logs, and images.

createTrialComponent_displayName :: Lens' CreateTrialComponent (Maybe Text) Source #

The name of the component as displayed. The name doesn't need to be unique. If DisplayName isn't specified, TrialComponentName is displayed.

createTrialComponent_inputArtifacts :: Lens' CreateTrialComponent (Maybe (HashMap Text TrialComponentArtifact)) Source #

The input artifacts for the component. Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types.

createTrialComponent_tags :: Lens' CreateTrialComponent (Maybe [Tag]) Source #

A list of tags to associate with the component. You can use Search API to search on the tags.

createTrialComponent_trialComponentName :: Lens' CreateTrialComponent Text Source #

The name of the component. The name must be unique in your Amazon Web Services account and is not case-sensitive.

Destructuring the Response

data CreateTrialComponentResponse Source #

See: newCreateTrialComponentResponse smart constructor.

Constructors

CreateTrialComponentResponse' 

Fields

Instances

Instances details
Eq CreateTrialComponentResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

Read CreateTrialComponentResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

Show CreateTrialComponentResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

Generic CreateTrialComponentResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

Associated Types

type Rep CreateTrialComponentResponse :: Type -> Type #

NFData CreateTrialComponentResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

type Rep CreateTrialComponentResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

type Rep CreateTrialComponentResponse = D1 ('MetaData "CreateTrialComponentResponse" "Amazonka.SageMaker.CreateTrialComponent" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "CreateTrialComponentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trialComponentArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateTrialComponentResponse Source #

Create a value of CreateTrialComponentResponse 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:

$sel:trialComponentArn:CreateTrialComponentResponse', createTrialComponentResponse_trialComponentArn - The Amazon Resource Name (ARN) of the trial component.

$sel:httpStatus:CreateTrialComponentResponse', createTrialComponentResponse_httpStatus - The response's http status code.

Response Lenses

createTrialComponentResponse_trialComponentArn :: Lens' CreateTrialComponentResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the trial component.