Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated SNS hello-world code example #511

Merged
merged 3 commits into from
Jun 18, 2021
Merged

Updated SNS hello-world code example #511

merged 3 commits into from
Jun 18, 2021

Conversation

Doug-AWS
Copy link
Contributor

Issue #, if available:
The example had a hard-coded, bogus, email address.

Description of changes:
You now specify an email address with -e EMAIL_ADDRESS.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Collaborator

@jdisanti jdisanti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

use std::process::exit;

use aws_types::region::ProvideRegion;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More of a question for @rcoh than a blocker on this PR: should we be re-exporting ProvideRegion in each individual SDK so that explicit dependencies on aws-types aren't necessary?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah we should have a quick design discussion about this (common?) use case of setting of a region chain. We can export as long as we aren't worried about it being an anti-pattern.

@rcoh rcoh enabled auto-merge (squash) June 18, 2021 15:22
@rcoh rcoh merged commit c75a58f into main Jun 18, 2021
@rcoh rcoh deleted the doug-update-sns-helloworld branch June 18, 2021 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants