libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend
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.AmplifyBackend.DeleteBackendAPI

Description

Deletes an existing backend API resource.

Synopsis

Creating a Request

data DeleteBackendAPI Source #

The request body for DeleteBackendAPI.

See: newDeleteBackendAPI smart constructor.

Constructors

DeleteBackendAPI' 

Fields

Instances

Instances details
Eq DeleteBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

Read DeleteBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

Show DeleteBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

Generic DeleteBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

Associated Types

type Rep DeleteBackendAPI :: Type -> Type #

NFData DeleteBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

Methods

rnf :: DeleteBackendAPI -> () #

Hashable DeleteBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

ToJSON DeleteBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

AWSRequest DeleteBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

Associated Types

type AWSResponse DeleteBackendAPI #

ToHeaders DeleteBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

ToPath DeleteBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

ToQuery DeleteBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

type Rep DeleteBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

type Rep DeleteBackendAPI = D1 ('MetaData "DeleteBackendAPI" "Amazonka.AmplifyBackend.DeleteBackendAPI" "libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend" 'False) (C1 ('MetaCons "DeleteBackendAPI'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resourceConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BackendAPIResourceConfig)) :*: S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "backendEnvironmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

newDeleteBackendAPI Source #

Create a value of DeleteBackendAPI 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:resourceConfig:DeleteBackendAPI', deleteBackendAPI_resourceConfig - Defines the resource configuration for the data model in your Amplify project.

$sel:appId:DeleteBackendAPI', deleteBackendAPI_appId - The app ID.

$sel:backendEnvironmentName:DeleteBackendAPI', deleteBackendAPI_backendEnvironmentName - The name of the backend environment.

$sel:resourceName:DeleteBackendAPI', deleteBackendAPI_resourceName - The name of this resource.

Request Lenses

deleteBackendAPI_resourceConfig :: Lens' DeleteBackendAPI (Maybe BackendAPIResourceConfig) Source #

Defines the resource configuration for the data model in your Amplify project.

Destructuring the Response

data DeleteBackendAPIResponse Source #

See: newDeleteBackendAPIResponse smart constructor.

Constructors

DeleteBackendAPIResponse' 

Fields

Instances

Instances details
Eq DeleteBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

Read DeleteBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

Show DeleteBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

Generic DeleteBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

Associated Types

type Rep DeleteBackendAPIResponse :: Type -> Type #

NFData DeleteBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

type Rep DeleteBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.DeleteBackendAPI

type Rep DeleteBackendAPIResponse = D1 ('MetaData "DeleteBackendAPIResponse" "Amazonka.AmplifyBackend.DeleteBackendAPI" "libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend" 'False) (C1 ('MetaCons "DeleteBackendAPIResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "operation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "backendEnvironmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDeleteBackendAPIResponse Source #

Create a value of DeleteBackendAPIResponse 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:status:DeleteBackendAPIResponse', deleteBackendAPIResponse_status - The current status of the request.

$sel:jobId:DeleteBackendAPIResponse', deleteBackendAPIResponse_jobId - The ID for the job.

$sel:operation:DeleteBackendAPIResponse', deleteBackendAPIResponse_operation - The name of the operation.

$sel:error:DeleteBackendAPIResponse', deleteBackendAPIResponse_error - If the request fails, this error is returned.

$sel:appId:DeleteBackendAPI', deleteBackendAPIResponse_appId - The app ID.

$sel:backendEnvironmentName:DeleteBackendAPI', deleteBackendAPIResponse_backendEnvironmentName - The name of the backend environment.

$sel:httpStatus:DeleteBackendAPIResponse', deleteBackendAPIResponse_httpStatus - The response's http status code.

Response Lenses

deleteBackendAPIResponse_error :: Lens' DeleteBackendAPIResponse (Maybe Text) Source #

If the request fails, this error is returned.