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

Description

Update an existing project.

Synopsis

Creating a Request

data UpdateProject Source #

Request structure used for requests to update project configuration.

See: newUpdateProject smart constructor.

Constructors

UpdateProject' 

Fields

  • contents :: Maybe ByteString

    ZIP or YAML file which contains project configuration to be updated. This should be the contents of the file downloaded from the URL provided in an export project operation.

  • projectId :: Text

    Unique project identifier.

Instances

Instances details
Eq UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Read UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Show UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Generic UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Associated Types

type Rep UpdateProject :: Type -> Type #

NFData UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Methods

rnf :: UpdateProject -> () #

Hashable UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

AWSRequest UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Associated Types

type AWSResponse UpdateProject #

ToBody UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

ToHeaders UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

ToPath UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

ToQuery UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

type Rep UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

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

Defined in Amazonka.Mobile.UpdateProject

newUpdateProject Source #

Create a value of UpdateProject 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:UpdateProject', updateProject_contents - ZIP or YAML file which contains project configuration to be updated. This should be the contents of the file downloaded from the URL provided in an export project operation.

$sel:projectId:UpdateProject', updateProject_projectId - Unique project identifier.

Request Lenses

updateProject_contents :: Lens' UpdateProject (Maybe ByteString) Source #

ZIP or YAML file which contains project configuration to be updated. This should be the contents of the file downloaded from the URL provided in an export project operation.

Destructuring the Response

data UpdateProjectResponse Source #

Result structure used for requests to updated project configuration.

See: newUpdateProjectResponse smart constructor.

Constructors

UpdateProjectResponse' 

Fields

Instances

Instances details
Eq UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Read UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Show UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Generic UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Associated Types

type Rep UpdateProjectResponse :: Type -> Type #

NFData UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Methods

rnf :: UpdateProjectResponse -> () #

type Rep UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

type Rep UpdateProjectResponse = D1 ('MetaData "UpdateProjectResponse" "Amazonka.Mobile.UpdateProject" "libZSservicesZSamazonka-mobileZSamazonka-mobile" 'False) (C1 ('MetaCons "UpdateProjectResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProjectDetails)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateProjectResponse Source #

Create a value of UpdateProjectResponse 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:UpdateProjectResponse', updateProjectResponse_details - Detailed information about the updated AWS Mobile Hub project.

$sel:httpStatus:UpdateProjectResponse', updateProjectResponse_httpStatus - The response's http status code.

Response Lenses

updateProjectResponse_details :: Lens' UpdateProjectResponse (Maybe ProjectDetails) Source #

Detailed information about the updated AWS Mobile Hub project.