https://github.com/pianopia/aws_sns_push_client
this is simple client for publishing by simple notification service of aws
https://github.com/pianopia/aws_sns_push_client
Last synced: about 1 year ago
JSON representation
this is simple client for publishing by simple notification service of aws
- Host: GitHub
- URL: https://github.com/pianopia/aws_sns_push_client
- Owner: pianopia
- Created: 2018-02-09T19:38:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-10T09:40:29.000Z (over 8 years ago)
- Last Synced: 2025-02-08T00:28:40.752Z (over 1 year ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Shell for Publishing AWS-SNS (only from MacOS)
this is simple shell for publishing by simple notification service of aws
## How to use
add this export-settings to your .bash_profile
````
export AWS_ACCESS_KEY_ID={ your aws_key_id }
export AWS_SECRET_ACCESS_KEY={ your aws_key }
export AWS_DEFAULT_REGION={ your aws_region }
export AWS_DEFAULT_OUTPUT=json
````
and source .bash_profile
so you can publish like this
````
$ sh ./pushNotification.sh { your endpointArn_suffix } { "Android" or "iOS" }
````
if you don't know your endpointArn in AWS SNS Application
then you can search endpointArn like this
````
$ sh ./selectEndpointArn.sh { search text ex.) "test" } { "Android" or "iOS" }
````