Skip to content

Commit 74cd8a1

Browse files
authored
Import release from smithy-rs v0.22 (#215)
* Import release from smithy-rs v0.22 * Update services supported * Update readme * Establish changelog file
1 parent 112463d commit 74cd8a1

File tree

3,379 files changed

+589652
-263313
lines changed

Some content is hidden

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

3,379 files changed

+589652
-263313
lines changed

AWS_SERVICES_SUPPORTED.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ These services have not yet been manually tested by the SDK team and may not hav
178178
- [x] Amazon Mediastore
179179
- [x] Amazon Mediastore-Data
180180
- [x] Amazon Mediatailor
181+
- [x] Amazon MemoryDB
181182
- [x] Amazon Meteringmarketplace
182183
- [x] Amazon Migrationhub-Config
183184
- [x] Amazon Mobile
@@ -235,6 +236,7 @@ These services have not yet been manually tested by the SDK team and may not hav
235236
- [x] Amazon Synthetics
236237
- [x] Amazon Textract
237238
- [x] Amazon Transcribe
239+
- [x] Amazon Transcribe-Streaming
238240
- [x] Amazon Transfer
239241
- [x] Amazon Translate
240242
- [x] Amazon Waf
@@ -252,4 +254,3 @@ We're working on it! Please file or upvote on the relevant issue to help us prio
252254
- [ ] Amazon Glacier
253255
- [ ] Amazon Timestream-Query
254256
- [ ] Amazon Timestream-Write
255-
- [ ] Amazon Transcribe-Streaming

CHANGELOG.md

Lines changed: 527 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 11 additions & 18 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.16--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.17--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 (the SDK) and its [public roadmap](https://github.com/awslabs/aws-sdk-rust/projects/1)
44

@@ -15,24 +15,16 @@ The SDK provides one crate per AWS service. You must add [Tokio](https://crates.
1515

1616
```toml
1717
[dependencies]
18-
aws-sdk-dynamodb = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.16-alpha", package = "aws-sdk-dynamodb" }
18+
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.17-alpha", package = "aws-config" }
19+
aws-sdk-dynamodb = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.17-alpha", package = "aws-sdk-dynamodb" }
1920
tokio = { version = "1", features = ["full"] }
2021
```
21-
3. Provide your AWS credentials as environment variables:
22-
> **Note:** The alpha version of the SDK only supports credentials through environment variables at this time.
23-
24-
**Linux/MacOS**
25-
```bash
26-
export AWS_ACCESS_KEY_ID=...
27-
export AWS_SECRET_ACCESS_KEY=...
28-
export AWS_REGION=... # eg. us-east-1
29-
```
30-
**Windows**
31-
```cmd
32-
set AWS_ACCESS_KEY_ID=...
33-
set AWS_SECRET_ACCESS_KEY=...
34-
set AWS_REGION=... # eg. us-east-1
35-
```
22+
23+
3. Provide your AWS credentials with the default credential provider chain, which currently looks in:
24+
- Environment variables: `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, and `AWS_REGION`
25+
- Web Identity Token credentials from the environment or container
26+
- The default credentials files located in `~/.aws/config` and `~/.aws/credentials` (location can vary per platform)
27+
**Note:** SSO, ECS, IMDS, and EKS credential sources are not supported yet.
3628

3729
4. Make a request using DynamoDB
3830

@@ -41,7 +33,8 @@ use aws_sdk_dynamodb::{Client, Error};
4133

4234
#[tokio::main]
4335
async fn main() -> Result<(), Error> {
44-
let client = Client::from_env();
36+
let shared_config = aws_config::load_from_env().await;
37+
let client = Client::new(&shared_config);
4538
let req = client.list_tables().limit(10);
4639
let resp = req.send().await?;
4740
println!("Current DynamoDB tables: {:?}", resp.table_names);

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-
"migrationhub","accessanalyzer","acmpca","acm","alexaforbusiness","amp","amplify","amplifybackend","apigateway","apigatewaymanagement","apigatewayv2","appconfig","appflow","appintegrations","applicationautoscaling","applicationinsights","applicationcostprofiler","appmesh","apprunner","appstream","appsync","athena","auditmanager","autoscalingplans","autoscaling","backup","batch","braket","budgets","costexplorer","chimesdkidentity","chimesdkmessaging","chime","cloud9","clouddirectory","cloudformation","cloudfront","cloudhsm","cloudhsmv2","cloudsearch","cloudsearchdomain","cloudtrail","codeartifact","codebuild","codecommit","codedeploy","codegurureviewer","codeguruprofiler","codepipeline","codestarconnections","codestarnotifications","codestar","cognitoidentity","cognitoidentityprovider","cognitosync","comprehend","comprehendmedical","computeoptimizer","config","connectcontactlens","connect","connectparticipant","costandusagereport","customerprofiles","databrew","dataexchange","datapipeline","datasync","dax","detective","devicefarm","devopsguru","directconnect","applicationdiscovery","dlm","databasemigration","docdb","directory","dynamodb","ebs","ec2instanceconnect","ec2","ecrpublic","ecr","ecs","eks","elasticinference","elasticache","elasticbeanstalk","efs","elasticloadbalancing","elasticloadbalancingv2","emr","elastictranscoder","ses","emrcontainers","marketplaceentitlement","elasticsearch","eventbridge","cloudwatchevents","finspacedata","finspace","firehose","fis","fms","forecast","forecastquery","frauddetector","fsx","gamelift","globalaccelerator","glue","greengrass","greengrassv2","groundstation","guardduty","health","healthlake","honeycode","iam","identitystore","imagebuilder","inspector","iotdataplane","iotjobsdataplane","iot","iot1clickdevices","iot1clickprojects","iotanalytics","iotdeviceadvisor","ioteventsdata","iotevents","iotfleethub","iotsecuretunneling","iotsitewise","iotthingsgraph","iotwireless","ivs","kafka","kendra","kinesisvideoarchivedmedia","kinesisvideomedia","kinesisvideosignaling","kinesis","kinesisanalytics","kinesisanalyticsv2","kinesisvideo","kms","lakeformation","lambda","lexmodelbuilding","licensemanager","lightsail","location","cloudwatchlogs","lookoutequipment","lookoutmetrics","lookoutvision","machinelearning","macie","macie2","managedblockchain","marketplacecatalog","marketplacecommerceanalytics","mediaconnect","mediaconvert","medialive","mediapackagevod","mediapackage","mediastoredata","mediastore","mediatailor","marketplacemetering","mgn","migrationhubconfig","mobile","lexmodelsv2","cloudwatch","mq","mturk","mwaa","neptune","networkfirewall","networkmanager","nimble","opsworks","opsworkscm","organizations","outposts","personalizeevents","personalizeruntime","personalize","pi","pinpointemail","pinpoint","polly","pricing","proton","qldbsession","qldb","quicksight","ram","rdsdata","rds","redshiftdata","redshift","rekognition","resourcegroups","resourcegroupstagging","robomaker","route53recoverycluster","route53recoverycontrolconfig","route53recoveryreadiness","route53","route53domains","route53resolver","lexruntime","lexruntimev2","sagemakerruntime","s3","s3control","s3outposts","sagemakera2iruntime","sagemakeredge","sagemakerfeaturestoreruntime","sagemaker","savingsplans","schemas","secretsmanager","securityhub","serverlessapplicationrepository","servicequotas","servicecatalogappregistry","servicecatalog","servicediscovery","sesv2","shield","signer","pinpointsmsvoice","sms","snowdevicemanagement","snowball","sns","sqs","ssmcontacts","ssmincidents","ssm","ssoadmin","ssooidc","sso","sfn","storagegateway","dynamodbstreams","sts","support","swf","synthetics","textract","transcribe","transfer","translate","wafregional","waf","wafv2","wellarchitected","workdocs","worklink","workmail","workmailmessageflow","workspaces","xray","protocol-test-helpers","smithy-async","smithy-client","smithy-eventstream","smithy-http","smithy-http-tower","smithy-json","smithy-query","smithy-types","smithy-xml","aws-auth","aws-auth-providers","aws-endpoint","aws-http","aws-hyper","aws-sig-auth","aws-sigv4","aws-types","examples/mediapackage","examples/cloudwatch","examples/lambda","examples/autoscalingplans","examples/kms","examples/cognitosync","examples/snowball","examples/applicationautoscaling","examples/eks","examples/route53","examples/sqs","examples/ses","examples/autoscaling","examples/ecr","examples/sts","examples/qldb","examples/rds","examples/sagemaker","examples/dynamodb","examples/rdsdata","examples/s3","examples/cloudwatchlogs","examples/ec2","examples/cloudformation","examples/cognitoidentity","examples/iam","examples/cognitoidentityprovider","examples/polly","examples/sns","examples/ssm","examples/medialive","examples/config","examples/ecs","examples/secretsmanager","examples/ebs","examples/batch","examples/kinesis"
3+
"migrationhub","accessanalyzer","acmpca","acm","alexaforbusiness","amp","amplify","amplifybackend","apigateway","apigatewaymanagement","apigatewayv2","appconfig","appflow","appintegrations","applicationautoscaling","applicationinsights","applicationcostprofiler","appmesh","apprunner","appstream","appsync","athena","auditmanager","autoscalingplans","autoscaling","backup","batch","braket","budgets","costexplorer","chimesdkidentity","chimesdkmessaging","chime","cloud9","clouddirectory","cloudformation","cloudfront","cloudhsm","cloudhsmv2","cloudsearch","cloudsearchdomain","cloudtrail","codeartifact","codebuild","codecommit","codedeploy","codegurureviewer","codeguruprofiler","codepipeline","codestarconnections","codestarnotifications","codestar","cognitoidentity","cognitoidentityprovider","cognitosync","comprehend","comprehendmedical","computeoptimizer","config","connectcontactlens","connect","connectparticipant","costandusagereport","customerprofiles","databrew","dataexchange","datapipeline","datasync","dax","detective","devicefarm","devopsguru","directconnect","applicationdiscovery","dlm","databasemigration","docdb","directory","dynamodb","ebs","ec2instanceconnect","ec2","ecrpublic","ecr","ecs","eks","elasticinference","elasticache","elasticbeanstalk","efs","elasticloadbalancing","elasticloadbalancingv2","emr","elastictranscoder","ses","emrcontainers","marketplaceentitlement","elasticsearch","eventbridge","cloudwatchevents","finspacedata","finspace","firehose","fis","fms","forecast","forecastquery","frauddetector","fsx","gamelift","globalaccelerator","glue","greengrass","greengrassv2","groundstation","guardduty","health","healthlake","honeycode","iam","identitystore","imagebuilder","inspector","iotdataplane","iotjobsdataplane","iot","iot1clickdevices","iot1clickprojects","iotanalytics","iotdeviceadvisor","ioteventsdata","iotevents","iotfleethub","iotsecuretunneling","iotsitewise","iotthingsgraph","iotwireless","ivs","kafka","kendra","kinesisvideoarchivedmedia","kinesisvideomedia","kinesisvideosignaling","kinesis","kinesisanalytics","kinesisanalyticsv2","kinesisvideo","kms","lakeformation","lambda","lexmodelbuilding","licensemanager","lightsail","location","cloudwatchlogs","lookoutequipment","lookoutmetrics","lookoutvision","machinelearning","macie","macie2","managedblockchain","marketplacecatalog","marketplacecommerceanalytics","mediaconnect","mediaconvert","medialive","mediapackagevod","mediapackage","mediastoredata","mediastore","mediatailor","memorydb","marketplacemetering","mgn","migrationhubconfig","mobile","lexmodelsv2","cloudwatch","mq","mturk","mwaa","neptune","networkfirewall","networkmanager","nimble","opsworks","opsworkscm","organizations","outposts","personalizeevents","personalizeruntime","personalize","pi","pinpointemail","pinpoint","polly","pricing","proton","qldbsession","qldb","quicksight","ram","rdsdata","rds","redshiftdata","redshift","rekognition","resourcegroups","resourcegroupstagging","robomaker","route53recoverycluster","route53recoverycontrolconfig","route53recoveryreadiness","route53","route53domains","route53resolver","lexruntime","lexruntimev2","sagemakerruntime","s3","s3control","s3outposts","sagemakera2iruntime","sagemakeredge","sagemakerfeaturestoreruntime","sagemaker","savingsplans","schemas","secretsmanager","securityhub","serverlessapplicationrepository","servicequotas","servicecatalogappregistry","servicecatalog","servicediscovery","sesv2","shield","signer","pinpointsmsvoice","sms","snowdevicemanagement","snowball","sns","sqs","ssmcontacts","ssmincidents","ssm","ssoadmin","ssooidc","sso","sfn","storagegateway","dynamodbstreams","sts","support","swf","synthetics","textract","transcribestreaming","transcribe","transfer","translate","wafregional","waf","wafv2","wellarchitected","workdocs","worklink","workmail","workmailmessageflow","workspaces","xray","protocol-test-helpers","smithy-async","smithy-client","smithy-eventstream","smithy-http","smithy-http-tower","smithy-json","smithy-query","smithy-types","smithy-xml","aws-auth","aws-config","aws-endpoint","aws-http","aws-hyper","aws-sig-auth","aws-sigv4","aws-types","examples/cognitosync","examples/config","examples/eks","examples/cloudformation","examples/ses","examples/transcribestreaming","examples/autoscaling","examples/ssm","examples/medialive","examples/rdsdata","examples/kms","examples/qldb","examples/autoscalingplans","examples/applicationautoscaling","examples/route53","examples/s3","examples/kinesis","examples/iam","examples/cloudwatch","examples/dynamodb","examples/cognitoidentityprovider","examples/lambda","examples/sqs","examples/secretsmanager","examples/ebs","examples/ecs","examples/batch","examples/sns","examples/sagemaker","examples/cognitoidentity","examples/mediapackage","examples/ec2","examples/snowball","examples/rds","examples/cloudwatchlogs","examples/ecr","examples/polly"
44
]

sdk/accessanalyzer/Cargo.toml

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,41 @@
11
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
22
[package]
33
name = "aws-sdk-accessanalyzer"
4-
version = "0.0.16-alpha"
4+
version = "0.0.17-alpha"
55
description = "<p>AWS IAM Access Analyzer helps identify potential resource-access risks by enabling you to identify\n any policies that grant access to an external principal. It does this by using logic-based\n reasoning to analyze resource-based policies in your AWS environment. An external\n principal can be another AWS account, a root user, an IAM user or role, a federated\n user, an AWS service, or an anonymous user. You can also use Access Analyzer to preview and\n validate public and cross-account access to your resources before deploying permissions\n changes. This guide describes the AWS IAM Access Analyzer operations that you can call\n programmatically. For general information about Access Analyzer, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html\">AWS IAM Access Analyzer</a> in the <b>IAM User Guide</b>.</p>\n <p>To start using Access Analyzer, you first need to create an analyzer.</p>"
66
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
77
license = "Apache-2.0"
88
edition = "2018"
9+
[dependencies.aws-auth]
10+
path = "..//aws-auth"
911
[dependencies.aws-endpoint]
1012
path = "..//aws-endpoint"
13+
[dependencies.aws-http]
14+
path = "..//aws-http"
1115
[dependencies.aws-hyper]
1216
path = "..//aws-hyper"
1317
optional = true
14-
[dependencies.smithy-http]
15-
path = "..//smithy-http"
16-
[dependencies.fastrand]
17-
version = "1"
18-
[dependencies.aws-types]
19-
path = "..//aws-types"
20-
[dependencies.aws-auth]
21-
path = "..//aws-auth"
22-
[dependencies.smithy-types]
23-
path = "..//smithy-types"
24-
[dependencies.http]
25-
version = "0.2"
26-
[dependencies.aws-http]
27-
path = "..//aws-http"
2818
[dependencies.aws-sig-auth]
2919
path = "..//aws-sig-auth"
20+
[dependencies.aws-types]
21+
path = "..//aws-types"
3022
[dependencies.bytes]
3123
version = "1"
24+
[dependencies.fastrand]
25+
version = "1"
26+
[dependencies.http]
27+
version = "0.2"
28+
[dependencies.smithy-client]
29+
path = "..//smithy-client"
30+
optional = true
31+
[dependencies.smithy-http]
32+
path = "..//smithy-http"
3233
[dependencies.smithy-json]
3334
path = "..//smithy-json"
35+
[dependencies.smithy-types]
36+
path = "..//smithy-types"
3437
[features]
35-
client = ["aws-hyper"]
38+
client = ["aws-hyper", "smithy-client"]
3639
rustls = ["aws-hyper/rustls"]
3740
native-tls = ["aws-hyper/native-tls"]
3841
default = ["client", "rustls"]

0 commit comments

Comments
 (0)