Skip to content

Commit

Permalink
July 6th 2021 Import (#142)
Browse files Browse the repository at this point in the history
* SDK import from smithy-rs v0.16

* Update version in README

* Update services supported

* Fix doc comment in aws-auth
  • Loading branch information
jdisanti authored Jul 6, 2021
1 parent abe0ae5 commit 6780fde
Show file tree
Hide file tree
Showing 383 changed files with 408,331 additions and 83,635 deletions.
16 changes: 8 additions & 8 deletions AWS_SERVICES_SUPPORTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,14 @@ The alpha SDK for Rust currently supports the checked services below. If you wan
- [x] [Amazon SES v2](https://github.com/awslabs/aws-sdk-rust/issues/27)
- [x] [Amazon Cloudwatch Logs](https://github.com/awslabs/aws-sdk-rust/issues/30)
- [x] [Amazon ECR](https://github.com/awslabs/aws-sdk-rust/issues/34)
- [x] Amazon EKS
- [x] Cloudwatch (metrics)
- [x] [Amazon EKS](https://github.com/awslabs/aws-sdk-rust/issues/67)
- [x] [Amazon Cloudwatch Metrics](https://github.com/awslabs/aws-sdk-rust/issues/20)
- [x] [Amazon EBS](https://github.com/awslabs/aws-sdk-rust/issues/66)
- [x] [Amazon Config](https://github.com/awslabs/aws-sdk-rust/issues/31)
- [x] [Amazon Cognito Identity](https://github.com/awslabs/aws-sdk-rust/issues/124)
- [x] [Amazon Cognito Identity Provider](https://github.com/awslabs/aws-sdk-rust/issues/124)
- [x] [Amazon Cognito Sync](https://github.com/awslabs/aws-sdk-rust/issues/124)
- [x] Amazon Snowball

------
- [ ] Amazon Access Analyzer
Expand Down Expand Up @@ -77,13 +83,9 @@ The alpha SDK for Rust currently supports the checked services below. If you wan
- [ ] Amazon Codestar
- [ ] Amazon Codestar-Connections
- [ ] Amazon Codestar-Notifications
- [ ] Amazon Cognito Identity
- [ ] Amazon Cognito Identity Provider
- [ ] Amazon Cognito Sync
- [ ] Amazon Comprehend
- [ ] Amazon Comprehendmedical
- [ ] Amazon Compute-Optimizer
- [ ] [Amazon Config](https://github.com/awslabs/aws-sdk-rust/issues/31)
- [ ] Amazon Connect
- [ ] Amazon Connectparticipant
- [ ] Amazon Cur
Expand All @@ -100,7 +102,6 @@ The alpha SDK for Rust currently supports the checked services below. If you wan
- [ ] Amazon DMS
- [ ] Amazon Docdb
- [ ] Amazon DS
- [ ] Amazon Ebs
- [ ] Amazon Ec2-Instance-Connect
- [ ] Amazon Elasticache
- [ ] Amazon Elastic Beanstalk
Expand Down Expand Up @@ -216,7 +217,6 @@ The alpha SDK for Rust currently supports the checked services below. If you wan
- [ ] Amazon Signer
- [ ] Amazon SMS
- [ ] Amazon Sms-Voice
- [ ] Amazon Snowball
- [ ] Amazon SSO
- [ ] Amazon Sso-Admin
- [ ] Amazon Sso-Oidc
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# The AWS SDK for Rust [![Docs](https://img.shields.io/badge/docs-v0.0.9--alpha-blue)](https://awslabs.github.io/aws-sdk-rust/) ![MSRV](https://img.shields.io/badge/msrv-1.52.1-red)
# The AWS SDK for Rust [![Docs](https://img.shields.io/badge/docs-v0.0.11--alpha-blue)](https://awslabs.github.io/aws-sdk-rust/) ![MSRV](https://img.shields.io/badge/msrv-1.52.1-red)

This repo contains the new AWS SDK for Rust and its [public roadmap](https://github.com/awslabs/aws-sdk-rust/projects/1)

Expand All @@ -15,7 +15,7 @@ The new AWS SDK for Rust is built with one crate per AWS service. [Tokio](https:

```toml
[dependencies]
dynamodb = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.10-alpha", package = "aws-sdk-dynamodb" }
dynamodb = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.11-alpha", package = "aws-sdk-dynamodb" }
tokio = { version = "1", features = ["full"] }
```
3. Provide your AWS credentials as environment variables:
Expand Down
2 changes: 1 addition & 1 deletion sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[workspace]
members = [
"cloudwatchlogs","sesv2","route53","sagemaker","ec2","sagemakerfeaturestoreruntime","eks","secretsmanager","polly","apigateway","lambda","cloudformation","rds","batch","s3","dynamodb","ssm","qldbsession","sagemakera2iruntime","ecs","sns","sts","medialive","ecr","iam","mediapackage","sagemakeredge","qldb","kinesis","cloudwatch","kms","sqs","rdsdata","smithy-types","smithy-json","smithy-query","smithy-xml","smithy-http","smithy-http-tower","smithy-client","protocol-test-helpers","aws-auth","aws-endpoint","aws-types","aws-hyper","aws-sig-auth","aws-http","examples/dynamo-list-tables","examples/dynamo-movies","examples/medialive","examples/secretsmanager","examples/cloudformation","examples/ecs","examples/dynamo-delete-item","examples/iam","examples/dynamo-create-table","examples/batch","examples/dynamo-delete-table","examples/ec2","examples/mediapackage","examples/sqs","examples/sns","examples/kinesis","examples/sts","examples/eks","examples/lambda","examples/rds","examples/s3","examples/sagemaker","examples/polly","examples/ses","examples/qldb","examples/rdsdata","examples/dynamo-list-items","examples/ssm","examples/ecr","examples/cloudwatch","examples/dynamo-helloworld","examples/cloudwatchlogs","examples/route53","examples/kms","examples/dynamo-add-item"
"apigateway","batch","cloudformation","cognitoidentity","cognitoidentityprovider","cognitosync","config","dynamodb","ebs","ec2","ecr","ecs","eks","iam","kinesis","kms","lambda","cloudwatchlogs","medialive","mediapackage","cloudwatch","polly","qldbsession","qldb","rdsdata","rds","route53","s3","sagemakera2iruntime","sagemakeredge","sagemakerfeaturestoreruntime","sagemaker","secretsmanager","sesv2","snowball","sns","sqs","ssm","sts","smithy-types","smithy-json","smithy-query","smithy-xml","smithy-http","smithy-http-tower","smithy-client","protocol-test-helpers","aws-auth","aws-endpoint","aws-types","aws-hyper","aws-sig-auth","aws-http","examples/medialive","examples/secretsmanager","examples/cloudformation","examples/ecs","examples/iam","examples/batch","examples/ec2","examples/mediapackage","examples/cognitoidentity","examples/sqs","examples/config","examples/ebs","examples/snowball","examples/sns","examples/kinesis","examples/sts","examples/eks","examples/lambda","examples/rds","examples/s3","examples/sagemaker","examples/polly","examples/cognitoidentityprovider","examples/cognitosync","examples/qldb","examples/rdsdata","examples/ssm","examples/ecr","examples/cloudwatch","examples/cloudwatchlogs","examples/route53","examples/kms"
]
2 changes: 1 addition & 1 deletion sdk/apigateway/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
[package]
name = "aws-sdk-apigateway"
version = "0.0.10-alpha"
version = "0.0.11-alpha"
description = "<fullname>Amazon API Gateway</fullname>\n <p>Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.</p>"
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
license = "Apache-2.0"
Expand Down
9 changes: 5 additions & 4 deletions sdk/apigateway/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
pub struct Config {
pub(crate) endpoint_resolver: ::std::sync::Arc<dyn aws_endpoint::ResolveAwsEndpoint>,
pub(crate) region: Option<aws_types::region::Region>,
pub(crate) credentials_provider: std::sync::Arc<dyn aws_auth::ProvideCredentials>,
pub(crate) credentials_provider:
std::sync::Arc<dyn aws_auth::provider::AsyncProvideCredentials>,
}
impl std::fmt::Debug for Config {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
Expand All @@ -26,7 +27,7 @@ impl Config {
pub struct Builder {
endpoint_resolver: Option<::std::sync::Arc<dyn aws_endpoint::ResolveAwsEndpoint>>,
region: Option<aws_types::region::Region>,
credentials_provider: Option<std::sync::Arc<dyn aws_auth::ProvideCredentials>>,
credentials_provider: Option<std::sync::Arc<dyn aws_auth::provider::AsyncProvideCredentials>>,
}
impl Builder {
pub fn new() -> Self {
Expand All @@ -46,7 +47,7 @@ impl Builder {
/// Set the credentials provider for this service
pub fn credentials_provider(
mut self,
credentials_provider: impl aws_auth::ProvideCredentials + 'static,
credentials_provider: impl aws_auth::provider::AsyncProvideCredentials + 'static,
) -> Self {
self.credentials_provider = Some(std::sync::Arc::new(credentials_provider));
self
Expand All @@ -63,7 +64,7 @@ impl Builder {
},
credentials_provider: self
.credentials_provider
.unwrap_or_else(|| std::sync::Arc::new(aws_auth::default_provider())),
.unwrap_or_else(|| std::sync::Arc::new(aws_auth::provider::default_provider())),
}
}
}
Loading

0 comments on commit 6780fde

Please sign in to comment.