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

Description

Deletes a usage plan key and remove the underlying API key from the associated usage plan.

Synopsis

Creating a Request

data DeleteUsagePlanKey Source #

The DELETE request to delete a usage plan key and remove the underlying API key from the associated usage plan.

See: newDeleteUsagePlanKey smart constructor.

Constructors

DeleteUsagePlanKey' 

Fields

  • usagePlanId :: Text
    Required
    The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer.
  • keyId :: Text
    Required
    The Id of the UsagePlanKey resource to be deleted.

Instances

Instances details
Eq DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Read DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Show DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Generic DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Associated Types

type Rep DeleteUsagePlanKey :: Type -> Type #

NFData DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Methods

rnf :: DeleteUsagePlanKey -> () #

Hashable DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

AWSRequest DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Associated Types

type AWSResponse DeleteUsagePlanKey #

ToHeaders DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

ToPath DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

ToQuery DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

type Rep DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

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

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

newDeleteUsagePlanKey Source #

Create a value of DeleteUsagePlanKey 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:usagePlanId:DeleteUsagePlanKey', deleteUsagePlanKey_usagePlanId - [Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer.

$sel:keyId:DeleteUsagePlanKey', deleteUsagePlanKey_keyId - [Required] The Id of the UsagePlanKey resource to be deleted.

Request Lenses

deleteUsagePlanKey_usagePlanId :: Lens' DeleteUsagePlanKey Text Source #

Required
The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer.

deleteUsagePlanKey_keyId :: Lens' DeleteUsagePlanKey Text Source #

Required
The Id of the UsagePlanKey resource to be deleted.

Destructuring the Response

data DeleteUsagePlanKeyResponse Source #

See: newDeleteUsagePlanKeyResponse smart constructor.

Instances

Instances details
Eq DeleteUsagePlanKeyResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Read DeleteUsagePlanKeyResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Show DeleteUsagePlanKeyResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Generic DeleteUsagePlanKeyResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Associated Types

type Rep DeleteUsagePlanKeyResponse :: Type -> Type #

NFData DeleteUsagePlanKeyResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

type Rep DeleteUsagePlanKeyResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

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

newDeleteUsagePlanKeyResponse :: DeleteUsagePlanKeyResponse Source #

Create a value of DeleteUsagePlanKeyResponse with all optional fields omitted.

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