libZSservicesZSamazonka-rekognitionZSamazonka-rekognition
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.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
Eq StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

Read StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

Show StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

Generic StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

Associated Types

type Rep StopProjectVersion :: Type -> Type #

NFData StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

Methods

rnf :: StopProjectVersion -> () #

Hashable StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

ToJSON StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

AWSRequest StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

Associated Types

type AWSResponse 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

type Rep StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

type Rep StopProjectVersion = D1 ('MetaData "StopProjectVersion" "Amazonka.Rekognition.StopProjectVersion" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "StopProjectVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "projectVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StopProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

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:

$sel:projectVersionArn: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
Eq StopProjectVersionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

Read StopProjectVersionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

Show StopProjectVersionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

Generic StopProjectVersionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StopProjectVersion

Associated Types

type Rep StopProjectVersionResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" '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:

$sel:status:StopProjectVersionResponse', stopProjectVersionResponse_status - The current status of the stop operation.

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

Response Lenses