-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLI examples for codeartifact, rds, sns (#7106)
- Loading branch information
Showing
4 changed files
with
24 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
24 changes: 12 additions & 12 deletions
24
awscli/examples/sns/check-if-phone-number-is-opted-out.rst
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
**To check SMS message opt-out for a phone number** | ||
|
||
The following ``check-if-phone-number-is-opted-out`` example checks whether the specified phone number is opted out of receiving SMS messages from the current AWS account. :: | ||
|
||
aws sns check-if-phone-number-is-opted-out \ | ||
--phone-number 555-555-0100 | ||
|
||
Output:: | ||
|
||
{ | ||
"isOptedOut": false | ||
} | ||
**To check SMS message opt-out for a phone number** | ||
|
||
The following ``check-if-phone-number-is-opted-out`` example checks whether the specified phone number is opted out of receiving SMS messages from the current AWS account. :: | ||
|
||
aws sns check-if-phone-number-is-opted-out \ | ||
--phone-number +1555550100 | ||
|
||
Output:: | ||
|
||
{ | ||
"isOptedOut": false | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
**To opt-in for SMS messages** | ||
|
||
The following ``opt-in-phone-number`` example opts the specified phone number into receiving SMS messages. :: | ||
|
||
aws sns opt-in-phone-number \ | ||
--phone-number +1-555-555-0100 | ||
|
||
This command produces no output. | ||
**To opt-in for SMS messages** | ||
|
||
The following ``opt-in-phone-number`` example opts the specified phone number into receiving SMS messages. :: | ||
|
||
aws sns opt-in-phone-number \ | ||
--phone-number +15555550100 | ||
|
||
This command produces no output. |