Skip to content

Commit

Permalink
[smithy-rs] Add RFC: Providing fallback credentials on timeout (#2218)
Browse files Browse the repository at this point in the history
* Add RFC: providing fallback credentials on timeout

* Update design/src/rfcs/rfc0031_providing_fallback_credentials_on_timeout.md

Co-authored-by: Zelda Hessler <zhessler@amazon.com>

* Update design/src/rfcs/rfc0031_providing_fallback_credentials_on_timeout.md

Co-authored-by: Zelda Hessler <zhessler@amazon.com>

* Update design/src/rfcs/rfc0031_providing_fallback_credentials_on_timeout.md

Co-authored-by: Zelda Hessler <zhessler@amazon.com>

* Update design/src/rfcs/rfc0031_providing_fallback_credentials_on_timeout.md

Co-authored-by: Zelda Hessler <zhessler@amazon.com>

* Update design/src/rfcs/rfc0031_providing_fallback_credentials_on_timeout.md

Co-authored-by: Zelda Hessler <zhessler@amazon.com>

* Update design/src/rfcs/rfc0031_providing_fallback_credentials_on_timeout.md

Co-authored-by: Zelda Hessler <zhessler@amazon.com>

* Update design/src/rfcs/rfc0031_providing_fallback_credentials_on_timeout.md

Co-authored-by: Zelda Hessler <zhessler@amazon.com>

* Update design/src/rfcs/rfc0031_providing_fallback_credentials_on_timeout.md

Co-authored-by: Zelda Hessler <zhessler@amazon.com>

* Update design/src/rfcs/rfc0031_providing_fallback_credentials_on_timeout.md

Co-authored-by: Zelda Hessler <zhessler@amazon.com>

* Update design/src/rfcs/rfc0031_providing_fallback_credentials_on_timeout.md

Co-authored-by: Zelda Hessler <zhessler@amazon.com>

* Update design/src/rfcs/rfc0031_providing_fallback_credentials_on_timeout.md

Co-authored-by: John DiSanti <jdisanti@amazon.com>

* Incorporate review feedback into RFC

This commit addresses the review feedback:
smithy-lang/smithy-rs#2218 (comment)
smithy-lang/smithy-rs#2218 (comment)
smithy-lang/smithy-rs#2218 (comment)

In addition, we have renamed the proposed method `on_timeout` to
`fallback_on_interrupt` to make it more descriptive.

* Update rfc0031_providing_fallback_credentials_on_timeout.md

* Update RFC

This commit updates RFC and leaves to discussion how `fallback_on_interrupt`
should be implemented, i.e., either as a synchronous primitive or an
asynchronous primitive.

* Update rfc0031_providing_fallback_credentials_on_timeout.md

* Update rfc0031_providing_fallback_credentials_on_timeout.md

* Update rfc0031_providing_fallback_credentials_on_timeout.md

---------

Co-authored-by: Yuki Saito <awsaito@amazon.com>
Co-authored-by: Zelda Hessler <zhessler@amazon.com>
Co-authored-by: John DiSanti <jdisanti@amazon.com>
Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>
  • Loading branch information
5 people authored and aws-sdk-rust-ci committed Mar 29, 2023
1 parent 2d8fdf4 commit 7c08d3a
Show file tree
Hide file tree
Showing 728 changed files with 1,756 additions and 1,756 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The SDK provides one crate per AWS service. You must add [Tokio](https://crates.
```toml
[dependencies]
aws-config = "0.54.1"
aws-sdk-dynamodb = "0.25.0"
aws-sdk-dynamodb = "0.26.0"
tokio = { version = "1", features = ["full"] }
```

Expand Down
2 changes: 1 addition & 1 deletion examples/apigateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ version = "0.54.1"

[dependencies.aws-sdk-apigateway]
path = "../../sdk/apigateway"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-smithy-types-convert]
features = ["convert-chrono"]
Expand Down
2 changes: 1 addition & 1 deletion examples/apigatewaymanagement/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version = "0.54.1"

[dependencies.aws-sdk-apigatewaymanagement]
path = "../../sdk/apigatewaymanagement"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/applicationautoscaling/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-applicationautoscaling]
path = "../../sdk/applicationautoscaling"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/autoscaling/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-autoscaling]
path = "../../sdk/autoscaling"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/autoscalingplans/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
publish = false
[dependencies.aws-sdk-autoscalingplans]
path = "../../sdk/autoscalingplans"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-config]
path = "../../sdk/aws-config"
Expand Down
2 changes: 1 addition & 1 deletion examples/batch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-batch]
path = "../../sdk/batch"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/cloudformation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-cloudformation]
path = "../../sdk/cloudformation"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/cloudwatch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-cloudwatch]
path = "../../sdk/cloudwatch"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/cloudwatchlogs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-cloudwatchlogs]
path = "../../sdk/cloudwatchlogs"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-types]
path = "../../sdk/aws-types"
Expand Down
2 changes: 1 addition & 1 deletion examples/cognitoidentity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ version = "0.54.1"

[dependencies.aws-sdk-cognitoidentity]
path = "../../sdk/cognitoidentity"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-smithy-types-convert]
features = ["convert-chrono"]
Expand Down
2 changes: 1 addition & 1 deletion examples/cognitoidentityprovider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version = "0.54.1"

[dependencies.aws-sdk-cognitoidentityprovider]
path = "../../sdk/cognitoidentityprovider"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-smithy-types-convert]
features = ["convert-chrono"]
Expand Down
2 changes: 1 addition & 1 deletion examples/cognitosync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version = "0.54.1"

[dependencies.aws-sdk-cognitosync]
path = "../../sdk/cognitosync"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-smithy-types-convert]
features = ["convert-chrono"]
Expand Down
4 changes: 2 additions & 2 deletions examples/concurrency/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ version = "0.54.1"

[dev-dependencies.aws-sdk-s3]
path = "../../sdk/s3"
version = "0.25.0"
version = "0.26.0"

[dev-dependencies.aws-sdk-sqs]
path = "../../sdk/sqs"
version = "0.25.0"
version = "0.26.0"
2 changes: 1 addition & 1 deletion examples/config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-config]
path = "../../sdk/config"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-root-certificates/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ version = "0.54.1"
[dependencies.aws-sdk-s3]
default-features = false
path = "../../sdk/s3"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.21.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/dynamodb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ version = "0.54.1"

[dependencies.aws-sdk-dynamodb]
path = "../../sdk/dynamodb"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-http]
path = "../../sdk/aws-http"
Expand Down
4 changes: 2 additions & 2 deletions examples/ebs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ version = "0.54.1"

[dependencies.aws-sdk-ebs]
path = "../../sdk/ebs"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-sdk-ec2]
path = "../../sdk/ec2"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/ec2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-ec2]
path = "../../sdk/ec2"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-types]
path = "../../sdk/aws-types"
Expand Down
2 changes: 1 addition & 1 deletion examples/ecr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-ecr]
path = "../../sdk/ecr"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-types]
path = "../../sdk/aws-types"
Expand Down
2 changes: 1 addition & 1 deletion examples/ecs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-ecs]
path = "../../sdk/ecs"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/eks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-eks]
path = "../../sdk/eks"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-types]
path = "../../sdk/aws-types"
Expand Down
2 changes: 1 addition & 1 deletion examples/globalaccelerator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version = "0.54.1"

[dependencies.aws-sdk-globalaccelerator]
path = "../../sdk/globalaccelerator"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
4 changes: 2 additions & 2 deletions examples/glue/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ version = "0.54.1"

[dependencies.aws-sdk-glue]
path = "../../sdk/glue"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-sdk-s3]
path = "../../sdk/s3"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-http]
path = "../../sdk/aws-http"
Expand Down
2 changes: 1 addition & 1 deletion examples/greengrassv2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-greengrassv2]
path = "../../sdk/greengrassv2"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-types]
path = "../../sdk/aws-types"
Expand Down
6 changes: 3 additions & 3 deletions examples/iam/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ version = "0.54.1"

[dependencies.aws-sdk-iam]
path = "../../sdk/iam"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-sdk-s3]
path = "../../sdk/s3"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-sdk-sts]
path = "../../sdk/sts"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-smithy-client]
features = ["test-util"]
Expand Down
2 changes: 1 addition & 1 deletion examples/iot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-iot]
path = "../../sdk/iot"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-types]
path = "../../sdk/aws-types"
Expand Down
2 changes: 1 addition & 1 deletion examples/kinesis/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-kinesis]
path = "../../sdk/kinesis"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/kms/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ version = "0.54.1"

[dependencies.aws-sdk-kms]
path = "../../sdk/kms"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-smithy-client]
features = ["client-hyper", "rustls", "rt-tokio"]
Expand Down
6 changes: 3 additions & 3 deletions examples/lambda/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ version = "0.54.1"

[dependencies.aws-sdk-ec2]
path = "../../sdk/ec2"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-sdk-lambda]
path = "../../sdk/lambda"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-sdk-s3]
path = "../../sdk/s3"
version = "0.25.0"
version = "0.26.0"

[dependencies.serde]
version = "1"
Expand Down
4 changes: 2 additions & 2 deletions examples/localstack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ version = "0.54.1"

[dependencies.aws-sdk-s3]
path = "../../sdk/s3"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-sdk-sqs]
path = "../../sdk/sqs"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/medialive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-medialive]
path = "../../sdk/medialive"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/mediapackage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-mediapackage]
path = "../../sdk/mediapackage"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/polly/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version = "0.54.1"

[dependencies.aws-sdk-polly]
path = "../../sdk/polly"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
4 changes: 2 additions & 2 deletions examples/qldb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ version = "0.54.1"

[dependencies.aws-sdk-qldb]
path = "../../sdk/qldb"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-sdk-qldbsession]
path = "../../sdk/qldbsession"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/rds/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-rds]
path = "../../sdk/rds"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/rdsdata/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-rdsdata]
path = "../../sdk/rdsdata"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/route53/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.54.1"

[dependencies.aws-sdk-route53]
path = "../../sdk/route53"
version = "0.25.0"
version = "0.26.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/s3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ version = "0.54.1"

[dependencies.aws-sdk-s3]
path = "../../sdk/s3"
version = "0.25.0"
version = "0.26.0"

[dependencies.aws-smithy-http]
features = ["rt-tokio"]
Expand Down
Loading

0 comments on commit 7c08d3a

Please sign in to comment.