We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Protected
Deletes an email identity that you previously verified for use with Amazon Pinpoint. An identity can be either an email address or a domain name.
Use a bare-bones client and the command you need to make an API call.
import { PinpointEmailClient, DeleteEmailIdentityCommand } from "@aws-sdk/client-pinpoint-email"; // ES Modules import// const { PinpointEmailClient, DeleteEmailIdentityCommand } = require("@aws-sdk/client-pinpoint-email"); // CommonJS importconst client = new PinpointEmailClient(config);const input = { // DeleteEmailIdentityRequest EmailIdentity: "STRING_VALUE", // required};const command = new DeleteEmailIdentityCommand(input);const response = await client.send(command);// {};
DeleteEmailIdentityCommandInput
DeleteEmailIdentityCommandOutput
input
response
config
BadRequestException (client fault)
The input you provided is invalid.
ConcurrentModificationException (server fault)
The resource is being modified by another operation or thread.
NotFoundException (client fault)
The resource you attempted to access doesn't exist.
TooManyRequestsException (client fault)
Too many requests have been made to the operation.
PinpointEmailServiceException
Base exception class for all service exceptions from PinpointEmail service.
Readonly
Static
Deletes an email identity that you previously verified for use with Amazon Pinpoint. An identity can be either an email address or a domain name.
Example
Use a bare-bones client and the command you need to make an API call.
Param
DeleteEmailIdentityCommandInput
Returns
DeleteEmailIdentityCommandOutput
See
input
shape.response
shape.config
shape.Throws
BadRequestException (client fault)
The input you provided is invalid.
Throws
ConcurrentModificationException (server fault)
The resource is being modified by another operation or thread.
Throws
NotFoundException (client fault)
The resource you attempted to access doesn't exist.
Throws
TooManyRequestsException (client fault)
Too many requests have been made to the operation.
Throws
PinpointEmailServiceException
Base exception class for all service exceptions from PinpointEmail service.