libZSservicesZSamazonka-apigatewayZSamazonka-apigateway
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.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

  • restApiId :: Text
    Required
    The string identifier of the associated RestApi.
  • resourceId :: Text
    Required
    The Resource identifier for the Method resource.
  • httpMethod :: Text
    Required
    The HTTP verb of the Method resource.

Instances

Instances details
Eq DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Read DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Show DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Generic DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Associated Types

type Rep DeleteMethod :: Type -> Type #

NFData DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Methods

rnf :: DeleteMethod -> () #

Hashable DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

AWSRequest DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Associated Types

type AWSResponse DeleteMethod #

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

type Rep DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

type Rep DeleteMethod = D1 ('MetaData "DeleteMethod" "Amazonka.APIGateway.DeleteMethod" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" '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))))
type AWSResponse DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

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:

$sel:restApiId:DeleteMethod', deleteMethod_restApiId - [Required] The string identifier of the associated RestApi.

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

$sel:httpMethod:DeleteMethod', deleteMethod_httpMethod - [Required] The HTTP verb of the Method resource.

Request Lenses

deleteMethod_restApiId :: Lens' DeleteMethod Text Source #

Required
The string identifier of the associated RestApi.

deleteMethod_resourceId :: Lens' DeleteMethod Text Source #

Required
The Resource identifier for the Method resource.

deleteMethod_httpMethod :: Lens' DeleteMethod Text Source #

Required
The HTTP verb of the Method resource.

Destructuring the Response

data DeleteMethodResponse' Source #

See: newDeleteMethodResponse' smart constructor.

Instances

Instances details
Eq DeleteMethodResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Read DeleteMethodResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Show DeleteMethodResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Generic DeleteMethodResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Associated Types

type Rep DeleteMethodResponse' :: Type -> Type #

NFData DeleteMethodResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Methods

rnf :: DeleteMethodResponse' -> () #

type Rep DeleteMethodResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

type Rep DeleteMethodResponse' = D1 ('MetaData "DeleteMethodResponse'" "Amazonka.APIGateway.DeleteMethod" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" '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.