amazonka-comprehend-2.0: Amazon Comprehend 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.Comprehend.UpdateEndpoint

Description

Updates information about the specified endpoint. For information about endpoints, see Managing endpoints.

Synopsis

Creating a Request

data UpdateEndpoint Source #

See: newUpdateEndpoint smart constructor.

Constructors

UpdateEndpoint' 

Fields

Instances

Instances details
ToJSON UpdateEndpoint Source # 
Instance details

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

AWSRequest UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

Associated Types

type AWSResponse UpdateEndpoint #

Generic UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

Associated Types

type Rep UpdateEndpoint :: Type -> Type #

Read UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

Show UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

NFData UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

Methods

rnf :: UpdateEndpoint -> () #

Eq UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

Hashable UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

type AWSResponse 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "UpdateEndpoint'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "desiredDataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "desiredInferenceUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "desiredModelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:

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

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.

UpdateEndpoint, updateEndpoint_desiredModelArn - The ARN of the new model to use when updating an existing endpoint.

UpdateEndpoint, updateEndpoint_endpointArn - The Amazon Resource Number (ARN) of the endpoint being updated.

Request Lenses

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_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_desiredModelArn :: Lens' UpdateEndpoint (Maybe Text) Source #

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

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

Defined in Amazonka.Comprehend.UpdateEndpoint

Associated Types

type Rep UpdateEndpointResponse :: Type -> Type #

Read UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

Show UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

NFData UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

Methods

rnf :: UpdateEndpointResponse -> () #

Eq UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

type Rep UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.Comprehend.UpdateEndpoint

type Rep UpdateEndpointResponse = D1 ('MetaData "UpdateEndpointResponse" "Amazonka.Comprehend.UpdateEndpoint" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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