amazonka-rekognition-2.0: Amazon Rekognition 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.Rekognition.StopProjectVersion

Description

Stops a running model. The operation might take a while to complete. To check the current status, call DescribeProjectVersions.

Synopsis

Creating a Request

data StopProjectVersion Source #

See: newStopProjectVersion smart constructor.

Constructors

StopProjectVersion' 

Fields

  • projectVersionArn :: Text

    The Amazon Resource Name (ARN) of the model version that you want to delete.

    This operation requires permissions to perform the rekognition:StopProjectVersion action.

Instances

Instances details
ToJSON StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

ToHeaders StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

ToPath StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

ToQuery StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

AWSRequest StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

Associated Types

type AWSResponse StopProjectVersion #

Generic StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

Associated Types

type Rep StopProjectVersion :: Type -> Type #

Read StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

Show StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

NFData StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

Methods

rnf :: StopProjectVersion -> () #

Eq StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

Hashable StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

type AWSResponse StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

type Rep StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

type Rep StopProjectVersion = D1 ('MetaData "StopProjectVersion" "Amazonka.Rekognition.StopProjectVersion" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "StopProjectVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "projectVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStopProjectVersion Source #

Create a value of StopProjectVersion 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:

StopProjectVersion, stopProjectVersion_projectVersionArn - The Amazon Resource Name (ARN) of the model version that you want to delete.

This operation requires permissions to perform the rekognition:StopProjectVersion action.

Request Lenses

stopProjectVersion_projectVersionArn :: Lens' StopProjectVersion Text Source #

The Amazon Resource Name (ARN) of the model version that you want to delete.

This operation requires permissions to perform the rekognition:StopProjectVersion action.

Destructuring the Response

data StopProjectVersionResponse Source #

See: newStopProjectVersionResponse smart constructor.

Constructors

StopProjectVersionResponse' 

Fields

Instances

Instances details
Generic StopProjectVersionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

Associated Types

type Rep StopProjectVersionResponse :: Type -> Type #

Read StopProjectVersionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

Show StopProjectVersionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

NFData StopProjectVersionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

Eq StopProjectVersionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

type Rep StopProjectVersionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

type Rep StopProjectVersionResponse = D1 ('MetaData "StopProjectVersionResponse" "Amazonka.Rekognition.StopProjectVersion" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "StopProjectVersionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProjectVersionStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStopProjectVersionResponse Source #

Create a value of StopProjectVersionResponse 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:

StopProjectVersionResponse, stopProjectVersionResponse_status - The current status of the stop operation.

$sel:httpStatus:StopProjectVersionResponse', stopProjectVersionResponse_httpStatus - The response's http status code.

Response Lenses