@aws-sdk/client-wafv2

DeleteAPIKeyCommandInput Interface

The input for DeleteAPIKeyCommand.

Members

Name
Type
Details
APIKey Requiredstring | undefined

The encrypted API key that you want to delete.

Scope RequiredScope | undefined

Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.

  • API and SDKs - For all calls, use the Region endpoint us-east-1.

Full Signature

export interface DeleteAPIKeyCommandInput extends DeleteAPIKeyRequest