amazonka-apigateway-2.0: Amazon API Gateway 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.APIGateway.DeleteMethod

Description

Deletes an existing Method resource.

Synopsis

Creating a Request

data DeleteMethod Source #

Request to delete an existing Method resource.

See: newDeleteMethod smart constructor.

Constructors

DeleteMethod' 

Fields

Instances

Instances details
ToHeaders DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

ToPath DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

ToQuery DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

AWSRequest DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Associated Types

type AWSResponse DeleteMethod #

Generic DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Associated Types

type Rep DeleteMethod :: Type -> Type #

Read DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Show DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

NFData DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Methods

rnf :: DeleteMethod -> () #

Eq DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Hashable DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

type AWSResponse DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

type Rep DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

type Rep DeleteMethod = D1 ('MetaData "DeleteMethod" "Amazonka.APIGateway.DeleteMethod" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "DeleteMethod'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDeleteMethod Source #

Create a value of DeleteMethod 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:

DeleteMethod, deleteMethod_restApiId - The string identifier of the associated RestApi.

$sel:resourceId:DeleteMethod', deleteMethod_resourceId - The Resource identifier for the Method resource.

DeleteMethod, deleteMethod_httpMethod - The HTTP verb of the Method resource.

Request Lenses

deleteMethod_restApiId :: Lens' DeleteMethod Text Source #

The string identifier of the associated RestApi.

deleteMethod_resourceId :: Lens' DeleteMethod Text Source #

The Resource identifier for the Method resource.

deleteMethod_httpMethod :: Lens' DeleteMethod Text Source #

The HTTP verb of the Method resource.

Destructuring the Response

data DeleteMethodResponse' Source #

See: newDeleteMethodResponse' smart constructor.

Instances

Instances details
Generic DeleteMethodResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Associated Types

type Rep DeleteMethodResponse' :: Type -> Type #

Read DeleteMethodResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Show DeleteMethodResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

NFData DeleteMethodResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Methods

rnf :: DeleteMethodResponse' -> () #

Eq DeleteMethodResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

type Rep DeleteMethodResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

type Rep DeleteMethodResponse' = D1 ('MetaData "DeleteMethodResponse'" "Amazonka.APIGateway.DeleteMethod" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "DeleteMethodResponse''" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteMethodResponse' :: DeleteMethodResponse' Source #

Create a value of DeleteMethodResponse' with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.