amazonka-mobile-2.0: Amazon Mobile 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.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
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

AWSRequest UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Associated Types

type AWSResponse UpdateProject #

Generic UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Associated Types

type Rep UpdateProject :: Type -> Type #

Read UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Show UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

NFData UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Methods

rnf :: UpdateProject -> () #

Eq UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Hashable UpdateProject Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

type AWSResponse 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" "amazonka-mobile-2.0-CNp0xwIy60KJGn9Dl5ZRw0" '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)))

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.

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
Generic UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Associated Types

type Rep UpdateProjectResponse :: Type -> Type #

Read UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Show UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

NFData UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

Methods

rnf :: UpdateProjectResponse -> () #

Eq UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

type Rep UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.UpdateProject

type Rep UpdateProjectResponse = D1 ('MetaData "UpdateProjectResponse" "Amazonka.Mobile.UpdateProject" "amazonka-mobile-2.0-CNp0xwIy60KJGn9Dl5ZRw0" '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.