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

Description

Deletes an existing MethodResponse resource.

Synopsis

Creating a Request

data DeleteMethodResponse Source #

A request to delete an existing MethodResponse resource.

See: newDeleteMethodResponse smart constructor.

Constructors

DeleteMethodResponse' 

Fields

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

Instances

Instances details
Eq DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Read DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Show DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Generic DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Associated Types

type Rep DeleteMethodResponse :: Type -> Type #

NFData DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Methods

rnf :: DeleteMethodResponse -> () #

Hashable DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

AWSRequest DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Associated Types

type AWSResponse DeleteMethodResponse #

ToHeaders DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

ToPath DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

ToQuery DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

type Rep DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

type Rep DeleteMethodResponse = D1 ('MetaData "DeleteMethodResponse" "Amazonka.APIGateway.DeleteMethodResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteMethodResponse'" '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) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

newDeleteMethodResponse Source #

Create a value of DeleteMethodResponse 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:DeleteMethodResponse', deleteMethodResponse_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:DeleteMethodResponse', deleteMethodResponse_resourceId - [Required] The Resource identifier for the MethodResponse resource.

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

$sel:statusCode:DeleteMethodResponse', deleteMethodResponse_statusCode - [Required] The status code identifier for the MethodResponse resource.

Request Lenses

deleteMethodResponse_restApiId :: Lens' DeleteMethodResponse Text Source #

Required
The string identifier of the associated RestApi.

deleteMethodResponse_resourceId :: Lens' DeleteMethodResponse Text Source #

Required
The Resource identifier for the MethodResponse resource.

deleteMethodResponse_httpMethod :: Lens' DeleteMethodResponse Text Source #

Required
The HTTP verb of the Method resource.

deleteMethodResponse_statusCode :: Lens' DeleteMethodResponse Text Source #

Required
The status code identifier for the MethodResponse resource.

Destructuring the Response

data DeleteMethodResponseResponse Source #

See: newDeleteMethodResponseResponse smart constructor.

Instances

Instances details
Eq DeleteMethodResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Read DeleteMethodResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Show DeleteMethodResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Generic DeleteMethodResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Associated Types

type Rep DeleteMethodResponseResponse :: Type -> Type #

NFData DeleteMethodResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

type Rep DeleteMethodResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

type Rep DeleteMethodResponseResponse = D1 ('MetaData "DeleteMethodResponseResponse" "Amazonka.APIGateway.DeleteMethodResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteMethodResponseResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteMethodResponseResponse :: DeleteMethodResponseResponse Source #

Create a value of DeleteMethodResponseResponse with all optional fields omitted.

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