amazonka-sagemaker-2.0: Amazon SageMaker Service 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.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
ToJSON CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.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

AWSRequest CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

Associated Types

type AWSResponse CreateTrialComponent #

Generic CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

Associated Types

type Rep CreateTrialComponent :: Type -> Type #

Read CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

Show CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

NFData CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

Methods

rnf :: CreateTrialComponent -> () #

Eq CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

Hashable CreateTrialComponent Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

type AWSResponse 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" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "CreateTrialComponent'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "inputArtifacts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text TrialComponentArtifact))) :*: (S1 ('MetaSel ('Just "metadataProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetadataProperties)) :*: S1 ('MetaSel ('Just "outputArtifacts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text TrialComponentArtifact)))))) :*: ((S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text TrialComponentParameterValue))) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrialComponentStatus)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "trialComponentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

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:

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.

CreateTrialComponent, createTrialComponent_endTime - When the component ended.

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

CreateTrialComponent, createTrialComponent_metadataProperties - Undocumented member.

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

CreateTrialComponent, createTrialComponent_parameters - The hyperparameters for the component.

CreateTrialComponent, createTrialComponent_startTime - When the component started.

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

  • InProgress
  • Completed
  • Failed

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

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_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_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_status :: Lens' CreateTrialComponent (Maybe TrialComponentStatus) Source #

The status of the component. States include:

  • InProgress
  • Completed
  • Failed

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
Generic CreateTrialComponentResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

Associated Types

type Rep CreateTrialComponentResponse :: Type -> Type #

Read CreateTrialComponentResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

Show CreateTrialComponentResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

NFData CreateTrialComponentResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrialComponent

Eq 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" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" '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:

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.