Skip to content

Commit 6c874ba

Browse files
authored
Release October 20th, 2021 (#262)
* Import v0.27.0-alpha from smithy-rs * Update readme * Update changelog
1 parent 8cf45a8 commit 6c874ba

File tree

4,963 files changed

+2126538
-996723
lines changed

Some content is hidden

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

4,963 files changed

+2126538
-996723
lines changed

CHANGELOG.md

Lines changed: 60 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,46 @@
1+
vNext (Month Day, Year)
2+
=======================
3+
4+
v0.0.22-alpha (October 20th, 2021)
5+
==================================
6+
7+
**Breaking Changes**
8+
9+
- `CredentialsError` variants became non-exhaustive. This makes them impossible to construct directly outside of the `aws_types` crate. In order to construct credentials errors, new methods have been added for each variant. Instead of `CredentialsError::Unhandled(...)`, you should instead use `CredentialsError::unhandled`. Matching methods exist for all variants. (#781)
10+
- The default credentials chain now returns `CredentialsError::CredentialsNotLoaded` instead of `ProviderError` when no credentials providers are configured.
11+
- :warning: All Smithy runtime crates have been renamed to have an `aws-` prefix. This may require code changes:
12+
- _Cargo.toml_ changes:
13+
- `smithy-async` -> `aws-smithy-async`
14+
- `smithy-client` -> `aws-smithy-client`
15+
- `smithy-eventstream` -> `aws-smithy-eventstream`
16+
- `smithy-http` -> `aws-smithy-http`
17+
- `smithy-http-tower` -> `aws-smithy-http-tower`
18+
- `smithy-json` -> `aws-smithy-json`
19+
- `smithy-protocol-test` -> `aws-smithy-protocol-test`
20+
- `smithy-query` -> `aws-smithy-query`
21+
- `smithy-types` -> `aws-smithy-types`
22+
- `smithy-xml` -> `aws-smithy-xml`
23+
- Rust `use` statement changes:
24+
- `smithy_async` -> `aws_smithy_async`
25+
- `smithy_client` -> `aws_smithy_client`
26+
- `smithy_eventstream` -> `aws_smithy_eventstream`
27+
- `smithy_http` -> `aws_smithy_http`
28+
- `smithy_http_tower` -> `aws_smithy_http_tower`
29+
- `smithy_json` -> `aws_smithy_json`
30+
- `smithy_protocol_test` -> `aws_smithy_protocol_test`
31+
- `smithy_query` -> `aws_smithy_query`
32+
- `smithy_types` -> `aws_smithy_types`
33+
- `smithy_xml` -> `aws_smithy_xml`
34+
35+
**New this week**
36+
37+
- Moved the contents of `aws-auth` into the `aws-http` runtime crate (smithy-rs#783)
38+
- Fix instances where docs were missing in generated services and add `#[warn_missing_docs]` (smithy-rs#779)
39+
- Add tracing output for resolved AWS endpoint (smithy-rs#784)
40+
- Update AWS service models (smithy-rs#790)
41+
- Add support for the following Glacier customizations:
42+
- Set the ApiVersion header (smithy-rs#138, #787)
43+
144
v0.0.21-alpha (October 15th, 2021)
245
==================================
346

@@ -8,18 +51,9 @@ v0.0.21-alpha (October 15th, 2021)
851
- All service crates now have generated README files (smithy-rs#766)
952
- Update AWS service models (smithy-rs#772)
1053
- :tada: Add support for Amazon Managed Grafana (smithy-rs#772)
11-
- :tada: Make retry behavior configurable
12-
- With env vars `AWS_MAX_ATTEMPTS` and `AWS_RETRY_MODE`
13-
- With `~/.aws/config` settings `max_attempts` and `retry_mode`
14-
- By calling the `with_retry_config` method on a `Config` and passing in a `RetryConfig`
15-
- Only the `Standard` retry mode is currently implemented. `Adaptive` retry mode will be implemented at a later
16-
date.
17-
- For more info, see the AWS Reference pages on configuring these settings:
18-
- [Setting global max attempts](https://docs.aws.amazon.com/sdkref/latest/guide/setting-global-max_attempts.html)
19-
- [Setting global retry mode](https://docs.aws.amazon.com/sdkref/latest/guide/setting-global-retry_mode.html)
2054

21-
v0.0.20-alpha (October, 7, 2021)
22-
================================
55+
v0.0.20-alpha (October 7, 2021)
56+
===============================
2357

2458
**Breaking changes**
2559

@@ -29,6 +63,15 @@ v0.0.20-alpha (October, 7, 2021)
2963

3064
**New This Week**
3165

66+
- :tada: Make retry behavior configurable
67+
- With env vars `AWS_MAX_ATTEMPTS` and `AWS_RETRY_MODE`
68+
- With `~/.aws/config` settings `max_attempts` and `retry_mode`
69+
- By calling the `with_retry_config` method on a `Config` and passing in a `RetryConfig`
70+
- Only the `Standard` retry mode is currently implemented. `Adaptive` retry mode will be implemented at a later
71+
date.
72+
- For more info, see the AWS Reference pages on configuring these settings:
73+
- [Setting global max attempts](https://docs.aws.amazon.com/sdkref/latest/guide/setting-global-max_attempts.html)
74+
- [Setting global retry mode](https://docs.aws.amazon.com/sdkref/latest/guide/setting-global-retry_mode.html)
3275
- :tada: Add presigned request support and examples for S3 GetObject and PutObject (smithy-rs#731, aws-sdk-rust#139)
3376
- :tada: Add presigned request support and example for Polly SynthesizeSpeech (smithy-rs#735, aws-sdk-rust#139)
3477
- Add connect & HTTP read timeouts to IMDS, defaulting to 1 second
@@ -41,12 +84,12 @@ v0.0.20-alpha (October, 7, 2021)
4184
- Updated Auto Scaling code example to move operation from main to separate function; added readme.
4285
- Updated AWS Config code examples to include a readme; added command-line options; added DeleteConfigurationRecorder, DeleteDeliveryChannel, ListConfigurationRecorders, ListDeliveryChannels, ListResources, ShowResourceHistory, and EnableConfig code examples.
4386
- :tada: Add support for 6 new AWS services:
44-
- Wisdom
45-
- VoiceId
46-
- Account
47-
- KafkaConnect
48-
- OpenSearch
49-
- CloudControl
87+
- Wisdom
88+
- VoiceId
89+
- Account
90+
- KafkaConnect
91+
- OpenSearch
92+
- CloudControl
5093

5194
v0.0.19-alpha (September 24th, 2021)
5295
====================================

README.md

Lines changed: 3 additions & 3 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.21--alpha-blue)](https://awslabs.github.io/aws-sdk-rust/) ![MSRV](https://img.shields.io/badge/msrv-1.53-red)
1+
# The AWS SDK for Rust [![Docs](https://img.shields.io/badge/docs-v0.0.22--alpha-blue)](https://awslabs.github.io/aws-sdk-rust/) ![MSRV](https://img.shields.io/badge/msrv-1.53-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

@@ -18,8 +18,8 @@ The SDK provides one crate per AWS service. You must add [Tokio](https://crates.
1818

1919
```toml
2020
[dependencies]
21-
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.21-alpha", package = "aws-config" }
22-
aws-sdk-dynamodb = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.21-alpha", package = "aws-sdk-dynamodb" }
21+
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.22-alpha", package = "aws-config" }
22+
aws-sdk-dynamodb = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.22-alpha", package = "aws-sdk-dynamodb" }
2323
tokio = { version = "1", features = ["full"] }
2424
```
2525

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","account","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","cloudcontrol","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","grafana","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","kafkaconnect","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","opensearch","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","voiceid","wafregional","waf","wafv2","wellarchitected","wisdom","workdocs","worklink","workmail","workmailmessageflow","workspaces","xray","smithy-async","smithy-client","smithy-eventstream","smithy-http","smithy-http-tower","smithy-json","smithy-protocol-test","smithy-query","smithy-types","smithy-xml","aws-auth","aws-config","aws-endpoint","aws-http","aws-hyper","aws-sig-auth","aws-sigv4","aws-types","examples/s3","examples/cognitoidentityprovider","examples/autoscaling","examples/snowball","examples/dynamodb","examples/sns","examples/kinesis","examples/iam","examples/config","examples/secretsmanager","examples/mediapackage","examples/route53","examples/sqs","examples/ec2","examples/cognitosync","examples/sagemaker","examples/lambda","examples/autoscalingplans","examples/ses","examples/ssm","examples/ecs","examples/rdsdata","examples/transcribestreaming","examples/cloudformation","examples/batch","examples/rds","examples/kms","examples/eks","examples/polly","examples/apigateway","examples/cloudwatchlogs","examples/applicationautoscaling","examples/qldb","examples/medialive","examples/cloudwatch","examples/ecr","examples/cognitoidentity","examples/ebs"
3+
"migrationhub","accessanalyzer","account","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","cloudcontrol","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","grafana","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","kafkaconnect","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","opensearch","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","voiceid","wafregional","waf","wafv2","wellarchitected","wisdom","workdocs","worklink","workmail","workmailmessageflow","workspaces","xray","aws-smithy-async","aws-smithy-client","aws-smithy-eventstream","aws-smithy-http","aws-smithy-http-tower","aws-smithy-json","aws-smithy-protocol-test","aws-smithy-query","aws-smithy-types","aws-smithy-xml","aws-config","aws-endpoint","aws-http","aws-hyper","aws-sig-auth","aws-sigv4","aws-types","examples/s3","examples/cognitoidentityprovider","examples/autoscaling","examples/snowball","examples/dynamodb","examples/sns","examples/kinesis","examples/iam","examples/config","examples/secretsmanager","examples/mediapackage","examples/route53","examples/sqs","examples/ec2","examples/cognitosync","examples/sagemaker","examples/lambda","examples/autoscalingplans","examples/ses","examples/ssm","examples/ecs","examples/rdsdata","examples/transcribestreaming","examples/cloudformation","examples/batch","examples/rds","examples/kms","examples/eks","examples/polly","examples/apigateway","examples/cloudwatchlogs","examples/applicationautoscaling","examples/qldb","examples/medialive","examples/cloudwatch","examples/ecr","examples/cognitoidentity","examples/ebs"
44
]

sdk/accessanalyzer/Cargo.toml

Lines changed: 24 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,50 @@
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.21-alpha"
4+
version = "0.0.22-alpha"
55
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
66
description = "AWS SDK for Access Analyzer"
77
edition = "2018"
88
license = "Apache-2.0"
99
repository = "https://github.com/awslabs/aws-sdk-rust"
1010
readme = "README.md"
11-
[dependencies.aws-auth]
12-
path = "..//aws-auth"
13-
version = "0.0.21-alpha"
14-
1511
[dependencies.aws-endpoint]
1612
path = "..//aws-endpoint"
17-
version = "0.0.21-alpha"
13+
version = "0.0.22-alpha"
1814

1915
[dependencies.aws-http]
2016
path = "..//aws-http"
21-
version = "0.0.21-alpha"
17+
version = "0.0.22-alpha"
2218

2319
[dependencies.aws-hyper]
2420
path = "..//aws-hyper"
2521
optional = true
26-
version = "0.0.21-alpha"
22+
version = "0.0.22-alpha"
2723

2824
[dependencies.aws-sig-auth]
2925
path = "..//aws-sig-auth"
30-
version = "0.0.21-alpha"
26+
version = "0.0.22-alpha"
27+
28+
[dependencies.aws-smithy-client]
29+
path = "..//aws-smithy-client"
30+
optional = true
31+
version = "0.27.0-alpha"
32+
33+
[dependencies.aws-smithy-http]
34+
path = "..//aws-smithy-http"
35+
version = "0.27.0-alpha"
36+
37+
[dependencies.aws-smithy-json]
38+
path = "..//aws-smithy-json"
39+
version = "0.27.0-alpha"
40+
41+
[dependencies.aws-smithy-types]
42+
path = "..//aws-smithy-types"
43+
version = "0.27.0-alpha"
3144

3245
[dependencies.aws-types]
3346
path = "..//aws-types"
34-
version = "0.0.21-alpha"
47+
version = "0.0.22-alpha"
3548

3649
[dependencies.bytes]
3750
version = "1"
@@ -42,25 +55,8 @@ version = "1"
4255
[dependencies.http]
4356
version = "0.2"
4457

45-
[dependencies.smithy-client]
46-
path = "..//smithy-client"
47-
optional = true
48-
version = "0.26.0-alpha"
49-
50-
[dependencies.smithy-http]
51-
path = "..//smithy-http"
52-
version = "0.26.0-alpha"
53-
54-
[dependencies.smithy-json]
55-
path = "..//smithy-json"
56-
version = "0.26.0-alpha"
57-
58-
[dependencies.smithy-types]
59-
path = "..//smithy-types"
60-
version = "0.26.0-alpha"
61-
6258
[features]
63-
client = ["aws-hyper", "smithy-client"]
59+
client = ["aws-hyper", "aws-smithy-client"]
6460
rustls = ["aws-hyper/rustls"]
6561
native-tls = ["aws-hyper/native-tls"]
6662
default = ["client", "rustls"]

sdk/accessanalyzer/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ your project, add the following to your **Cargo.toml** file:
1818

1919
```toml
2020
[dependencies]
21-
aws-config = "0.0.21-alpha"
22-
aws-sdk-accessanalyzer = "0.0.21-alpha"
21+
aws-config = "0.0.22-alpha"
22+
aws-sdk-accessanalyzer = "0.0.22-alpha"
2323
tokio = { version = "1", features = ["full"] }
2424
```
2525

0 commit comments

Comments
 (0)