libZSservicesZSamazonka-comprehendZSamazonka-comprehend
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.Comprehend.UpdateEndpoint

Description

Updates information about the specified endpoint.

Synopsis

Creating a Request

data UpdateEndpoint Source #

See: newUpdateEndpoint smart constructor.

Constructors

UpdateEndpoint' 

Fields

Instances

Instances details
Eq UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

Read UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

Show UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

Generic UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

Associated Types

type Rep UpdateEndpoint :: Type -> Type #

NFData UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

Methods

rnf :: UpdateEndpoint -> () #

Hashable UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

ToJSON UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

AWSRequest UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

Associated Types

type AWSResponse UpdateEndpoint #

ToHeaders UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

ToPath UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

ToQuery UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

type Rep UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

type Rep UpdateEndpoint = D1 ('MetaData "UpdateEndpoint" "Amazonka.Comprehend.UpdateEndpoint" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "UpdateEndpoint'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "desiredModelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "desiredInferenceUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "desiredDataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

newUpdateEndpoint Source #

Create a value of UpdateEndpoint 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:desiredModelArn:UpdateEndpoint', updateEndpoint_desiredModelArn - The ARN of the new model to use when updating an existing endpoint.

$sel:desiredInferenceUnits:UpdateEndpoint', updateEndpoint_desiredInferenceUnits - The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.

$sel:desiredDataAccessRoleArn:UpdateEndpoint', updateEndpoint_desiredDataAccessRoleArn - Data access role ARN to use in case the new model is encrypted with a customer CMK.

$sel:endpointArn:UpdateEndpoint', updateEndpoint_endpointArn - The Amazon Resource Number (ARN) of the endpoint being updated.

Request Lenses

updateEndpoint_desiredModelArn :: Lens' UpdateEndpoint (Maybe Text) Source #

The ARN of the new model to use when updating an existing endpoint.

updateEndpoint_desiredInferenceUnits :: Lens' UpdateEndpoint (Maybe Natural) Source #

The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.

updateEndpoint_desiredDataAccessRoleArn :: Lens' UpdateEndpoint (Maybe Text) Source #

Data access role ARN to use in case the new model is encrypted with a customer CMK.

updateEndpoint_endpointArn :: Lens' UpdateEndpoint Text Source #

The Amazon Resource Number (ARN) of the endpoint being updated.

Destructuring the Response

data UpdateEndpointResponse Source #

See: newUpdateEndpointResponse smart constructor.

Constructors

UpdateEndpointResponse' 

Fields

Instances

Instances details
Eq UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

Read UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

Show UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

Generic UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

Associated Types

type Rep UpdateEndpointResponse :: Type -> Type #

NFData UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

Methods

rnf :: UpdateEndpointResponse -> () #

type Rep UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

type Rep UpdateEndpointResponse = D1 ('MetaData "UpdateEndpointResponse" "Amazonka.Comprehend.UpdateEndpoint" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "UpdateEndpointResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateEndpointResponse Source #

Create a value of UpdateEndpointResponse 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:httpStatus:UpdateEndpointResponse', updateEndpointResponse_httpStatus - The response's http status code.

Response Lenses