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
Retrieve a list of the blacklists that your dedicated IP addresses appear on.
Use a bare-bones client and the command you need to make an API call.
import { PinpointEmailClient, GetBlacklistReportsCommand } from "@aws-sdk/client-pinpoint-email"; // ES Modules import// const { PinpointEmailClient, GetBlacklistReportsCommand } = require("@aws-sdk/client-pinpoint-email"); // CommonJS importconst client = new PinpointEmailClient(config);const input = { // GetBlacklistReportsRequest BlacklistItemNames: [ // BlacklistItemNames // required "STRING_VALUE", ],};const command = new GetBlacklistReportsCommand(input);const response = await client.send(command);// { // GetBlacklistReportsResponse// BlacklistReport: { // BlacklistReport // required// "<keys>": [ // BlacklistEntries// { // BlacklistEntry// RblName: "STRING_VALUE",// ListingTime: new Date("TIMESTAMP"),// Description: "STRING_VALUE",// },// ],// },// };
GetBlacklistReportsCommandInput
GetBlacklistReportsCommandOutput
input
response
config
BadRequestException (client fault)
The input you provided is invalid.
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
Retrieve a list of the blacklists that your dedicated IP addresses appear on.
Example
Use a bare-bones client and the command you need to make an API call.
Param
GetBlacklistReportsCommandInput
Returns
GetBlacklistReportsCommandOutput
See
input
shape.response
shape.config
shape.Throws
BadRequestException (client fault)
The input you provided is invalid.
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.