Protected
Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes.
This operation is throttled at one request per second and can only get notification attributes for up to 100 identities at a time.
For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.
Use a bare-bones client and the command you need to make an API call.
import { SESClient, GetIdentityNotificationAttributesCommand } from "@aws-sdk/client-ses"; // ES Modules import// const { SESClient, GetIdentityNotificationAttributesCommand } = require("@aws-sdk/client-ses"); // CommonJS importconst client = new SESClient(config);const input = { // GetIdentityNotificationAttributesRequest Identities: [ // IdentityList // required "STRING_VALUE", ],};const command = new GetIdentityNotificationAttributesCommand(input);const response = await client.send(command);
GetIdentityNotificationAttributesCommandInput
GetIdentityNotificationAttributesCommandOutput
input
response
config
GetIdentityNotificationAttributes
// The following example returns the notification attributes for an identity:const input = { "Identities": [ "example.com" ]};const command = new GetIdentityNotificationAttributesCommand(input);const response = await client.send(command);/* response =={ "NotificationAttributes": { "example.com": { "BounceTopic": "arn:aws:sns:us-east-1:EXAMPLE65304:ExampleTopic", "ComplaintTopic": "arn:aws:sns:us-east-1:EXAMPLE65304:ExampleTopic", "DeliveryTopic": "arn:aws:sns:us-east-1:EXAMPLE65304:ExampleTopic", "ForwardingEnabled": true, "HeadersInBounceNotificationsEnabled": false, "HeadersInComplaintNotificationsEnabled": false, "HeadersInDeliveryNotificationsEnabled": false } }}*/// example id: getidentitynotificationattributes-1469123466947
Readonly
Static
Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes.
This operation is throttled at one request per second and can only get notification attributes for up to 100 identities at a time.
For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.
Example
Use a bare-bones client and the command you need to make an API call.
Param
GetIdentityNotificationAttributesCommandInput
Returns
GetIdentityNotificationAttributesCommandOutput
See
input
shape.response
shape.config
shape.Example
GetIdentityNotificationAttributes