Last active
July 31, 2019 15:08
-
-
Save kennovation1/6b9a3117f85f1af3b71d79b40a5dbe12 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ aws pinpoint get-apps | |
{ | |
"ApplicationsResponse": { | |
"Item": [ | |
{ | |
"tags": {}, | |
"Id": "APP_PROJECT_IDENTIFIER", | |
"Arn": "arn:aws:mobiletargeting:us-east-1:AWS_ACCOUNT_ID:apps/APP_PROJECT_IDENTIFIER", | |
"Name": "Example project name" | |
} | |
] | |
} | |
} | |
$ aws pinpoint get-email-channel --application-id APP_PROJECT_IDENTIFIER | |
{ | |
"EmailChannelResponse": { | |
"FromAddress": "My Display Name <[email protected]>", | |
"MessagesPerSecond": 14, | |
"LastModifiedDate": "2019-07-30T20:00:05.858Z", | |
"RoleArn": "arn:aws:iam::AWS_ACCOUNT_ID:role/service-role/pinpoint-events", | |
"Enabled": true, | |
"Platform": "EMAIL", | |
"Version": 5, | |
"IsArchived": false, | |
"CreationDate": "2019-07-29T15:09:06.845Z", | |
"ApplicationId": "APP_PROJECT_IDENTIFIER", | |
"Id": "email", | |
"Identity": "arn:aws:ses:us-east-1:AWS_ACCOUNT_ID:identity/email.example.com" | |
} | |
} | |
$ aws pinpoint update-email-channel --application-id APP_PROJECT_IDENTIFIER \ | |
--email-channel-request '{"FromAddress": "My Display Name <[email protected]>", "Identity": "arn:aws:ses:us-east-1:AWS_ACCOUNT_ID:identity/email.example.com", "RoleArn": "arn:aws:iam::AWS_ACCOUNT_ID:role/service-role/pinpoint-events"}' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment