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

Description

Delets a project in AWS Mobile Hub.

Synopsis

Creating a Request

data DeleteProject Source #

Request structure used to request a project be deleted.

See: newDeleteProject smart constructor.

Constructors

DeleteProject' 

Fields

Instances

Instances details
Eq DeleteProject Source # 
Instance details

Defined in Amazonka.Mobile.DeleteProject

Read DeleteProject Source # 
Instance details

Defined in Amazonka.Mobile.DeleteProject

Show DeleteProject Source # 
Instance details

Defined in Amazonka.Mobile.DeleteProject

Generic DeleteProject Source # 
Instance details

Defined in Amazonka.Mobile.DeleteProject

Associated Types

type Rep DeleteProject :: Type -> Type #

NFData DeleteProject Source # 
Instance details

Defined in Amazonka.Mobile.DeleteProject

Methods

rnf :: DeleteProject -> () #

Hashable DeleteProject Source # 
Instance details

Defined in Amazonka.Mobile.DeleteProject

AWSRequest DeleteProject Source # 
Instance details

Defined in Amazonka.Mobile.DeleteProject

Associated Types

type AWSResponse DeleteProject #

ToHeaders DeleteProject Source # 
Instance details

Defined in Amazonka.Mobile.DeleteProject

ToPath DeleteProject Source # 
Instance details

Defined in Amazonka.Mobile.DeleteProject

ToQuery DeleteProject Source # 
Instance details

Defined in Amazonka.Mobile.DeleteProject

type Rep DeleteProject Source # 
Instance details

Defined in Amazonka.Mobile.DeleteProject

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

Defined in Amazonka.Mobile.DeleteProject

newDeleteProject Source #

Create a value of DeleteProject 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:projectId:DeleteProject', deleteProject_projectId - Unique project identifier.

Request Lenses

Destructuring the Response

data DeleteProjectResponse Source #

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

See: newDeleteProjectResponse smart constructor.

Constructors

DeleteProjectResponse' 

Fields

Instances

Instances details
Eq DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.DeleteProject

Read DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.DeleteProject

Show DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.DeleteProject

Generic DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.DeleteProject

Associated Types

type Rep DeleteProjectResponse :: Type -> Type #

NFData DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.DeleteProject

Methods

rnf :: DeleteProjectResponse -> () #

type Rep DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.Mobile.DeleteProject

type Rep DeleteProjectResponse = D1 ('MetaData "DeleteProjectResponse" "Amazonka.Mobile.DeleteProject" "libZSservicesZSamazonka-mobileZSamazonka-mobile" 'False) (C1 ('MetaCons "DeleteProjectResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deletedResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Resource])) :*: (S1 ('MetaSel ('Just "orphanedResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Resource])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDeleteProjectResponse Source #

Create a value of DeleteProjectResponse 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:deletedResources:DeleteProjectResponse', deleteProjectResponse_deletedResources - Resources which were deleted.

$sel:orphanedResources:DeleteProjectResponse', deleteProjectResponse_orphanedResources - Resources which were not deleted, due to a risk of losing potentially important data or files.

$sel:httpStatus:DeleteProjectResponse', deleteProjectResponse_httpStatus - The response's http status code.

Response Lenses

deleteProjectResponse_orphanedResources :: Lens' DeleteProjectResponse (Maybe [Resource]) Source #

Resources which were not deleted, due to a risk of losing potentially important data or files.