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

Description

Creates a context. A context is a lineage tracking entity that represents a logical grouping of other tracking or experiment entities. Some examples are an endpoint and a model package. For more information, see Amazon SageMaker ML Lineage Tracking.

Synopsis

Creating a Request

data CreateContext Source #

See: newCreateContext smart constructor.

Constructors

CreateContext' 

Fields

Instances

Instances details
Eq CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Read CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Show CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Generic CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Associated Types

type Rep CreateContext :: Type -> Type #

NFData CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Methods

rnf :: CreateContext -> () #

Hashable CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

ToJSON CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

AWSRequest CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Associated Types

type AWSResponse CreateContext #

ToHeaders CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

ToPath CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

ToQuery CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

type Rep CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

type Rep CreateContext = D1 ('MetaData "CreateContext" "Amazonka.SageMaker.CreateContext" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "CreateContext'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "contextName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ContextSource) :*: S1 ('MetaSel ('Just "contextType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

newCreateContext Source #

Create a value of CreateContext 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:description:CreateContext', createContext_description - The description of the context.

$sel:tags:CreateContext', createContext_tags - A list of tags to apply to the context.

$sel:properties:CreateContext', createContext_properties - A list of properties to add to the context.

$sel:contextName:CreateContext', createContext_contextName - The name of the context. Must be unique to your account in an Amazon Web Services Region.

$sel:source:CreateContext', createContext_source - The source type, ID, and URI.

$sel:contextType:CreateContext', createContext_contextType - The context type.

Request Lenses

createContext_description :: Lens' CreateContext (Maybe Text) Source #

The description of the context.

createContext_tags :: Lens' CreateContext (Maybe [Tag]) Source #

A list of tags to apply to the context.

createContext_properties :: Lens' CreateContext (Maybe (HashMap Text Text)) Source #

A list of properties to add to the context.

createContext_contextName :: Lens' CreateContext Text Source #

The name of the context. Must be unique to your account in an Amazon Web Services Region.

Destructuring the Response

data CreateContextResponse Source #

See: newCreateContextResponse smart constructor.

Constructors

CreateContextResponse' 

Fields

Instances

Instances details
Eq CreateContextResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Read CreateContextResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Show CreateContextResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Generic CreateContextResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Associated Types

type Rep CreateContextResponse :: Type -> Type #

NFData CreateContextResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Methods

rnf :: CreateContextResponse -> () #

type Rep CreateContextResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

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

newCreateContextResponse Source #

Create a value of CreateContextResponse 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:contextArn:CreateContextResponse', createContextResponse_contextArn - The Amazon Resource Name (ARN) of the context.

$sel:httpStatus:CreateContextResponse', createContextResponse_httpStatus - The response's http status code.

Response Lenses

createContextResponse_contextArn :: Lens' CreateContextResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the context.