Skip to content

Commit 6780fde

Browse files
authored
July 6th 2021 Import (#142)
* SDK import from smithy-rs v0.16 * Update version in README * Update services supported * Fix doc comment in aws-auth
1 parent abe0ae5 commit 6780fde

File tree

383 files changed

+408331
-83635
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

383 files changed

+408331
-83635
lines changed

AWS_SERVICES_SUPPORTED.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,14 @@ The alpha SDK for Rust currently supports the checked services below. If you wan
3232
- [x] [Amazon SES v2](https://github.com/awslabs/aws-sdk-rust/issues/27)
3333
- [x] [Amazon Cloudwatch Logs](https://github.com/awslabs/aws-sdk-rust/issues/30)
3434
- [x] [Amazon ECR](https://github.com/awslabs/aws-sdk-rust/issues/34)
35-
- [x] Amazon EKS
36-
- [x] Cloudwatch (metrics)
35+
- [x] [Amazon EKS](https://github.com/awslabs/aws-sdk-rust/issues/67)
36+
- [x] [Amazon Cloudwatch Metrics](https://github.com/awslabs/aws-sdk-rust/issues/20)
37+
- [x] [Amazon EBS](https://github.com/awslabs/aws-sdk-rust/issues/66)
38+
- [x] [Amazon Config](https://github.com/awslabs/aws-sdk-rust/issues/31)
39+
- [x] [Amazon Cognito Identity](https://github.com/awslabs/aws-sdk-rust/issues/124)
40+
- [x] [Amazon Cognito Identity Provider](https://github.com/awslabs/aws-sdk-rust/issues/124)
41+
- [x] [Amazon Cognito Sync](https://github.com/awslabs/aws-sdk-rust/issues/124)
42+
- [x] Amazon Snowball
3743

3844
------
3945
- [ ] Amazon Access Analyzer
@@ -77,13 +83,9 @@ The alpha SDK for Rust currently supports the checked services below. If you wan
7783
- [ ] Amazon Codestar
7884
- [ ] Amazon Codestar-Connections
7985
- [ ] Amazon Codestar-Notifications
80-
- [ ] Amazon Cognito Identity
81-
- [ ] Amazon Cognito Identity Provider
82-
- [ ] Amazon Cognito Sync
8386
- [ ] Amazon Comprehend
8487
- [ ] Amazon Comprehendmedical
8588
- [ ] Amazon Compute-Optimizer
86-
- [ ] [Amazon Config](https://github.com/awslabs/aws-sdk-rust/issues/31)
8789
- [ ] Amazon Connect
8890
- [ ] Amazon Connectparticipant
8991
- [ ] Amazon Cur
@@ -100,7 +102,6 @@ The alpha SDK for Rust currently supports the checked services below. If you wan
100102
- [ ] Amazon DMS
101103
- [ ] Amazon Docdb
102104
- [ ] Amazon DS
103-
- [ ] Amazon Ebs
104105
- [ ] Amazon Ec2-Instance-Connect
105106
- [ ] Amazon Elasticache
106107
- [ ] Amazon Elastic Beanstalk
@@ -216,7 +217,6 @@ The alpha SDK for Rust currently supports the checked services below. If you wan
216217
- [ ] Amazon Signer
217218
- [ ] Amazon SMS
218219
- [ ] Amazon Sms-Voice
219-
- [ ] Amazon Snowball
220220
- [ ] Amazon SSO
221221
- [ ] Amazon Sso-Admin
222222
- [ ] Amazon Sso-Oidc

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 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)
1+
# 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)
22

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

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

1616
```toml
1717
[dependencies]
18-
dynamodb = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.10-alpha", package = "aws-sdk-dynamodb" }
18+
dynamodb = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.11-alpha", package = "aws-sdk-dynamodb" }
1919
tokio = { version = "1", features = ["full"] }
2020
```
2121
3. Provide your AWS credentials as environment variables:

sdk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[workspace]
22
members = [
3-
"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"
3+
"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"
44
]

sdk/apigateway/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
22
[package]
33
name = "aws-sdk-apigateway"
4-
version = "0.0.10-alpha"
4+
version = "0.0.11-alpha"
55
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>"
66
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
77
license = "Apache-2.0"

sdk/apigateway/src/config.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
pub struct Config {
33
pub(crate) endpoint_resolver: ::std::sync::Arc<dyn aws_endpoint::ResolveAwsEndpoint>,
44
pub(crate) region: Option<aws_types::region::Region>,
5-
pub(crate) credentials_provider: std::sync::Arc<dyn aws_auth::ProvideCredentials>,
5+
pub(crate) credentials_provider:
6+
std::sync::Arc<dyn aws_auth::provider::AsyncProvideCredentials>,
67
}
78
impl std::fmt::Debug for Config {
89
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
@@ -26,7 +27,7 @@ impl Config {
2627
pub struct Builder {
2728
endpoint_resolver: Option<::std::sync::Arc<dyn aws_endpoint::ResolveAwsEndpoint>>,
2829
region: Option<aws_types::region::Region>,
29-
credentials_provider: Option<std::sync::Arc<dyn aws_auth::ProvideCredentials>>,
30+
credentials_provider: Option<std::sync::Arc<dyn aws_auth::provider::AsyncProvideCredentials>>,
3031
}
3132
impl Builder {
3233
pub fn new() -> Self {
@@ -46,7 +47,7 @@ impl Builder {
4647
/// Set the credentials provider for this service
4748
pub fn credentials_provider(
4849
mut self,
49-
credentials_provider: impl aws_auth::ProvideCredentials + 'static,
50+
credentials_provider: impl aws_auth::provider::AsyncProvideCredentials + 'static,
5051
) -> Self {
5152
self.credentials_provider = Some(std::sync::Arc::new(credentials_provider));
5253
self
@@ -63,7 +64,7 @@ impl Builder {
6364
},
6465
credentials_provider: self
6566
.credentials_provider
66-
.unwrap_or_else(|| std::sync::Arc::new(aws_auth::default_provider())),
67+
.unwrap_or_else(|| std::sync::Arc::new(aws_auth::provider::default_provider())),
6768
}
6869
}
6970
}

0 commit comments

Comments
 (0)