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

Description

Deletes a Resource resource.

Synopsis

Creating a Request

data DeleteResource Source #

Request to delete a Resource.

See: newDeleteResource smart constructor.

Constructors

DeleteResource' 

Fields

  • restApiId :: Text
    Required
    The string identifier of the associated RestApi.
  • resourceId :: Text
    Required
    The identifier of the Resource resource.

Instances

Instances details
Eq DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Read DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Show DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Generic DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Associated Types

type Rep DeleteResource :: Type -> Type #

NFData DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Methods

rnf :: DeleteResource -> () #

Hashable DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

AWSRequest DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Associated Types

type AWSResponse DeleteResource #

ToHeaders DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

ToPath DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

ToQuery DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

type Rep DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

type Rep DeleteResource = D1 ('MetaData "DeleteResource" "Amazonka.APIGateway.DeleteResource" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

newDeleteResource Source #

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

$sel:resourceId:DeleteResource', deleteResource_resourceId - [Required] The identifier of the Resource resource.

Request Lenses

deleteResource_restApiId :: Lens' DeleteResource Text Source #

Required
The string identifier of the associated RestApi.

deleteResource_resourceId :: Lens' DeleteResource Text Source #

Required
The identifier of the Resource resource.

Destructuring the Response

data DeleteResourceResponse Source #

See: newDeleteResourceResponse smart constructor.

Instances

Instances details
Eq DeleteResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Read DeleteResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Show DeleteResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Generic DeleteResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Associated Types

type Rep DeleteResourceResponse :: Type -> Type #

NFData DeleteResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Methods

rnf :: DeleteResourceResponse -> () #

type Rep DeleteResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

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

newDeleteResourceResponse :: DeleteResourceResponse Source #

Create a value of DeleteResourceResponse with all optional fields omitted.

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