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.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
ToJSON CreateContext Source # 
Instance details

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

AWSRequest CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Associated Types

type AWSResponse CreateContext #

Generic CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Associated Types

type Rep CreateContext :: Type -> Type #

Read CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Show CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

NFData CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Methods

rnf :: CreateContext -> () #

Eq CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Hashable CreateContext Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

type AWSResponse 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" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "CreateContext'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))) :*: (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)))))

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:

CreateContext, createContext_description - The description of the context.

CreateContext, createContext_properties - A list of properties to add to the context.

CreateContext, createContext_tags - A list of tags to apply to the context.

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

CreateContext, createContext_source - The source type, ID, and URI.

CreateContext, createContext_contextType - The context type.

Request Lenses

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

The description of the context.

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

A list of properties to add to the context.

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

A list of tags to apply 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
Generic CreateContextResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Associated Types

type Rep CreateContextResponse :: Type -> Type #

Read CreateContextResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Show CreateContextResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

NFData CreateContextResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

Methods

rnf :: CreateContextResponse -> () #

Eq CreateContextResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

type Rep CreateContextResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateContext

type Rep CreateContextResponse = D1 ('MetaData "CreateContextResponse" "Amazonka.SageMaker.CreateContext" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" '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:

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.