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

Description

Updates a context.

Synopsis

Creating a Request

data UpdateContext Source #

See: newUpdateContext smart constructor.

Constructors

UpdateContext' 

Fields

Instances

Instances details
Eq UpdateContext Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

Read UpdateContext Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

Show UpdateContext Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

Generic UpdateContext Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

Associated Types

type Rep UpdateContext :: Type -> Type #

NFData UpdateContext Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

Methods

rnf :: UpdateContext -> () #

Hashable UpdateContext Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

ToJSON UpdateContext Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

AWSRequest UpdateContext Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

Associated Types

type AWSResponse UpdateContext #

ToHeaders UpdateContext Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

ToPath UpdateContext Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

ToQuery UpdateContext Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

type Rep UpdateContext Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

type Rep UpdateContext = D1 ('MetaData "UpdateContext" "Amazonka.SageMaker.UpdateContext" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "UpdateContext'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "propertiesToRemove") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: 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 "contextName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateContext Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

newUpdateContext Source #

Create a value of UpdateContext 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:propertiesToRemove:UpdateContext', updateContext_propertiesToRemove - A list of properties to remove.

$sel:description:UpdateContext', updateContext_description - The new description for the context.

$sel:properties:UpdateContext', updateContext_properties - The new list of properties. Overwrites the current property list.

$sel:contextName:UpdateContext', updateContext_contextName - The name of the context to update.

Request Lenses

updateContext_propertiesToRemove :: Lens' UpdateContext (Maybe [Text]) Source #

A list of properties to remove.

updateContext_description :: Lens' UpdateContext (Maybe Text) Source #

The new description for the context.

updateContext_properties :: Lens' UpdateContext (Maybe (HashMap Text Text)) Source #

The new list of properties. Overwrites the current property list.

updateContext_contextName :: Lens' UpdateContext Text Source #

The name of the context to update.

Destructuring the Response

data UpdateContextResponse Source #

See: newUpdateContextResponse smart constructor.

Constructors

UpdateContextResponse' 

Fields

Instances

Instances details
Eq UpdateContextResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

Read UpdateContextResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

Show UpdateContextResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

Generic UpdateContextResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

Associated Types

type Rep UpdateContextResponse :: Type -> Type #

NFData UpdateContextResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

Methods

rnf :: UpdateContextResponse -> () #

type Rep UpdateContextResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateContext

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

newUpdateContextResponse Source #

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

$sel:httpStatus:UpdateContextResponse', updateContextResponse_httpStatus - The response's http status code.

Response Lenses

updateContextResponse_contextArn :: Lens' UpdateContextResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the context.