libZSservicesZSamazonka-mobileZSamazonka-mobile
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.Mobile.CreateProject

Description

Creates an AWS Mobile Hub project.

Synopsis

Creating a Request

data CreateProject Source #

Request structure used to request a project be created.

See: newCreateProject smart constructor.

Constructors

CreateProject' 

Fields

  • contents :: Maybe ByteString

    ZIP or YAML file which contains configuration settings to be used when creating the project. This may be the contents of the file downloaded from the URL provided in an export project operation.

  • name :: Maybe Text

    Name of the project.

  • region :: Maybe Text

    Default region where project resources should be created.

  • snapshotId :: Maybe Text

    Unique identifier for an exported snapshot of project configuration. This snapshot identifier is included in the share URL when a project is exported.

Instances

Instances details
Eq CreateProject Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

Read CreateProject Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

Show CreateProject Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

Generic CreateProject Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

Associated Types

type Rep CreateProject :: Type -> Type #

NFData CreateProject Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

Methods

rnf :: CreateProject -> () #

Hashable CreateProject Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

AWSRequest CreateProject Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

Associated Types

type AWSResponse CreateProject #

ToBody CreateProject Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

ToHeaders CreateProject Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

ToPath CreateProject Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

ToQuery CreateProject Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

type Rep CreateProject Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

type Rep CreateProject = D1 ('MetaData "CreateProject" "Amazonka.Mobile.CreateProject" "libZSservicesZSamazonka-mobileZSamazonka-mobile" 'False) (C1 ('MetaCons "CreateProject'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "contents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ByteString)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "snapshotId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse CreateProject Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

newCreateProject :: CreateProject 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:contents:CreateProject', createProject_contents - ZIP or YAML file which contains configuration settings to be used when creating the project. This may be the contents of the file downloaded from the URL provided in an export project operation.

$sel:name:CreateProject', createProject_name - Name of the project.

$sel:region:CreateProject', createProject_region - Default region where project resources should be created.

$sel:snapshotId:CreateProject', createProject_snapshotId - Unique identifier for an exported snapshot of project configuration. This snapshot identifier is included in the share URL when a project is exported.

Request Lenses

createProject_contents :: Lens' CreateProject (Maybe ByteString) Source #

ZIP or YAML file which contains configuration settings to be used when creating the project. This may be the contents of the file downloaded from the URL provided in an export project operation.

createProject_region :: Lens' CreateProject (Maybe Text) Source #

Default region where project resources should be created.

createProject_snapshotId :: Lens' CreateProject (Maybe Text) Source #

Unique identifier for an exported snapshot of project configuration. This snapshot identifier is included in the share URL when a project is exported.

Destructuring the Response

data CreateProjectResponse Source #

Result structure used in response to a request to create a project.

See: newCreateProjectResponse smart constructor.

Constructors

CreateProjectResponse' 

Fields

Instances

Instances details
Eq CreateProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

Read CreateProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

Show CreateProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

Generic CreateProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

Associated Types

type Rep CreateProjectResponse :: Type -> Type #

NFData CreateProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

Methods

rnf :: CreateProjectResponse -> () #

type Rep CreateProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.CreateProject

type Rep CreateProjectResponse = D1 ('MetaData "CreateProjectResponse" "Amazonka.Mobile.CreateProject" "libZSservicesZSamazonka-mobileZSamazonka-mobile" 'False) (C1 ('MetaCons "CreateProjectResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProjectDetails)) :*: 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:details:CreateProjectResponse', createProjectResponse_details - Detailed information about the created AWS Mobile Hub project.

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

Response Lenses

createProjectResponse_details :: Lens' CreateProjectResponse (Maybe ProjectDetails) Source #

Detailed information about the created AWS Mobile Hub project.