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

Description

Creates a new Amazon Rekognition Custom Labels project. A project is a logical grouping of resources (images, Labels, models) and operations (training, evaluation and detection).

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

Synopsis

Creating a Request

data CreateProject Source #

See: newCreateProject smart constructor.

Constructors

CreateProject' 

Fields

Instances

Instances details
Eq CreateProject Source # 
Instance details

Defined in Amazonka.Rekognition.CreateProject

Read CreateProject Source # 
Instance details

Defined in Amazonka.Rekognition.CreateProject

Show CreateProject Source # 
Instance details

Defined in Amazonka.Rekognition.CreateProject

Generic CreateProject Source # 
Instance details

Defined in Amazonka.Rekognition.CreateProject

Associated Types

type Rep CreateProject :: Type -> Type #

NFData CreateProject Source # 
Instance details

Defined in Amazonka.Rekognition.CreateProject

Methods

rnf :: CreateProject -> () #

Hashable CreateProject Source # 
Instance details

Defined in Amazonka.Rekognition.CreateProject

ToJSON CreateProject Source # 
Instance details

Defined in Amazonka.Rekognition.CreateProject

AWSRequest CreateProject Source # 
Instance details

Defined in Amazonka.Rekognition.CreateProject

Associated Types

type AWSResponse CreateProject #

ToHeaders CreateProject Source # 
Instance details

Defined in Amazonka.Rekognition.CreateProject

ToPath CreateProject Source # 
Instance details

Defined in Amazonka.Rekognition.CreateProject

ToQuery CreateProject Source # 
Instance details

Defined in Amazonka.Rekognition.CreateProject

type Rep CreateProject Source # 
Instance details

Defined in Amazonka.Rekognition.CreateProject

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

Defined in Amazonka.Rekognition.CreateProject

newCreateProject Source #

Create a value of CreateProject 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:projectName:CreateProject', createProject_projectName - The name of the project to create.

Request Lenses

createProject_projectName :: Lens' CreateProject Text Source #

The name of the project to create.

Destructuring the Response

data CreateProjectResponse Source #

See: newCreateProjectResponse smart constructor.

Constructors

CreateProjectResponse' 

Fields

  • projectArn :: Maybe Text

    The Amazon Resource Name (ARN) of the new project. You can use the ARN to configure IAM access to the project.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq CreateProjectResponse Source # 
Instance details

Defined in Amazonka.Rekognition.CreateProject

Read CreateProjectResponse Source # 
Instance details

Defined in Amazonka.Rekognition.CreateProject

Show CreateProjectResponse Source # 
Instance details

Defined in Amazonka.Rekognition.CreateProject

Generic CreateProjectResponse Source # 
Instance details

Defined in Amazonka.Rekognition.CreateProject

Associated Types

type Rep CreateProjectResponse :: Type -> Type #

NFData CreateProjectResponse Source # 
Instance details

Defined in Amazonka.Rekognition.CreateProject

Methods

rnf :: CreateProjectResponse -> () #

type Rep CreateProjectResponse Source # 
Instance details

Defined in Amazonka.Rekognition.CreateProject

type Rep CreateProjectResponse = D1 ('MetaData "CreateProjectResponse" "Amazonka.Rekognition.CreateProject" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "CreateProjectResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "projectArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateProjectResponse Source #

Create a value of CreateProjectResponse 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:projectArn:CreateProjectResponse', createProjectResponse_projectArn - The Amazon Resource Name (ARN) of the new project. You can use the ARN to configure IAM access to the project.

$sel:httpStatus:CreateProjectResponse', createProjectResponse_httpStatus - The response's http status code.

Response Lenses

createProjectResponse_projectArn :: Lens' CreateProjectResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the new project. You can use the ARN to configure IAM access to the project.