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

Add cargo make ami-public and ami-private targets #1033

Merged
merged 4 commits into from
Aug 19, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
pubsys: rustfmt client module
Co-authored-by: Zac Mrowicki <mrowicki@amazon.com>
Co-authored-by: Tom Kirchner <tjk@amazon.com>
  • Loading branch information
zmrow and tjkirch committed Aug 13, 2020
commit c1d1306042c7121cfc00385e74a09089b70723f9
14 changes: 7 additions & 7 deletions tools/pubsys/src/aws/client.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use async_trait::async_trait;
use crate::config::AwsConfig;
use async_trait::async_trait;
use rusoto_core::{request::DispatchSignedRequest, HttpClient, Region};
use rusoto_credential::{
AutoRefreshingProvider, AwsCredentials, CredentialsError, DefaultCredentialsProvider,
Expand All @@ -22,19 +22,19 @@ impl NewWith for EbsClient {
where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
{
Self::new_with(request_dispatcher, credentials_provider, region)
}
{
Self::new_with(request_dispatcher, credentials_provider, region)
}
}

impl NewWith for Ec2Client {
fn new_with<P, D>(request_dispatcher: D, credentials_provider: P, region: Region) -> Self
where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
{
Self::new_with(request_dispatcher, credentials_provider, region)
}
{
Self::new_with(request_dispatcher, credentials_provider, region)
}
}

/// Create a rusoto client of the given type using the given region and configuration.
Expand Down