Unverified Commit 1586d0b0 authored by Zelda Hessler's avatar Zelda Hessler Committed by GitHub
Browse files

fix: various typos (#813)

* fix: various typos

* undo: model spellchecking

* revert: bad change to model docs
parent ad588131
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -362,7 +362,7 @@ This week also sees the addition of a robust async caching credentials provider.
To upgrade to the new release, update `tag` to `v0.0.14-alpha`:
```
[dependencies]
# eg. S3:
# e.g. S3:
aws-sdk-s3 = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.14-alpha" }
```

@@ -455,7 +455,7 @@ To update to the new release, change your tag to `v0.0.10-alpha`.
- :tada: Add support for EKS (smithy-rs#553)
- :warning: **Breaking Change:** httpLabel no longer causes fields to be non-optional. You may need to adapt code that uses models. (#537)
- :warning: **Breaking Change:** `Exception` is **not** renamed to `Error`. Code may need to be updated to replace `Error` with `Exception` when naming error shapes.
- :warning: **Breaking Change:** Models are now in strict pascal case including acronyms (eg. `dynamodb::model::{SSESpecification => SseSpecification}`)
- :warning: **Breaking Change:** Models are now in strict pascal case including acronyms (e.g. `dynamodb::model::{SSESpecification => SseSpecification}`)
- Add more SES examples, and improve examples for Batch.
- Improved error handling ergonomics: Errors now provide `is_<variantname>()` methods to simplify error handling
- :bug: Bugfix: Fix bug in `create_multipart_upload`: #127 (smithy-rs#531, @eagletmt)
@@ -477,7 +477,7 @@ To upgrade to the new release, update `tag` to `v0.0.9-alpha`:

```toml
[dependencies]
# eg. Cloudwatch Logs:
# e.g. Cloudwatch Logs:
aws-sdk-cloudwatchlogs = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.9-alpha" }
```

@@ -510,7 +510,7 @@ To upgrade to the new release, update `tag` to `v0.0.8-alpha`:

```toml
[dependencies]
# eg. EC2:
# e.g. EC2:
aws-sdk-ec2 = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.8-alpha" }
```

@@ -541,7 +541,7 @@ This week we’ve added MediaLive, MediaPackage, SNS, Batch, STS, RDS, RDSData,
To upgrade to the new release, update `tag` to `v0.0.7-alpha`:
```toml
[dependencies]
# eg. SNS:
# e.g. SNS:
aws-sdk-sns = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.7-alpha" }
```

@@ -594,7 +594,7 @@ Thanks!
v0.0.5-alpha (May 25th, 2021)
=============================

You can install the new release by updating your dependencies to `tag = "v0.0.5-alpha"`, eg.
You can install the new release by updating your dependencies to `tag = "v0.0.5-alpha"`, e.g.
```toml
[dependencies]
aws-sdk-s3 = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.5-alpha" }
@@ -622,7 +622,7 @@ Thanks!
v0.0.4-alpha (May 18th, 2021)
=============================

You can install the new release by updating your dependencies to `tag = "v0.0.4-alpha"`, eg.
You can install the new release by updating your dependencies to `tag = "v0.0.4-alpha"`, e.g.
```toml
[dependencies]
aws-sdk-lambda = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.4-alpha" }
@@ -636,7 +636,7 @@ aws-sdk-lambda = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.
- Types represented by the Smithy `Set` type now generate `Vec<T>` in all cases. This is also technically breaking but not currently exposed. (smithy-rs#270)
- Bugfix: The `.message()`field of errors will now look for both `message` and `Message` in the model (smithy-rs#374)
- Add support for the `AWS_REGION` environment variable. (smithy-rs#362)
- The request type generated by the fluent builders, eg. `dynamodb.list_tables()` is now `Debug` (smithy-rs#377, @declanvk)
- The request type generated by the fluent builders, e.g. `dynamodb.list_tables()` is now `Debug` (smithy-rs#377, @declanvk)

And more: See the corresponding [smithy-rs release](https://github.com/awslabs/smithy-rs/releases/tag/v0.9).

+1 −1
Original line number Diff line number Diff line
@@ -10,5 +10,5 @@ cdk bootstrap aws://accountid/region
cdk deploy
# make lunch, go for a bike ride, etc. ~1h.
kubectl exec rust-sdk-test -it bash
# write some rust code, eg. test.rs, run it.
# write some rust code, e.g. test.rs, run it.
```
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@

//! Ecs Credentials Provider
//!
//! This credential provider is frequently used with an AWS-provided credentials service (eg.
//! This credential provider is frequently used with an AWS-provided credentials service (e.g.
//! [IAM Roles for tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html).
//! However, it's possible to use environment variables to configure this provider to use your own
//! credentials sources.
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ impl EnvironmentVariableCredentialsProvider {
    }

    #[doc(hidden)]
    /// Create a new `EnvironmentVariableCredentialsProvider` with `Env` overriden
    /// Create a new `EnvironmentVariableCredentialsProvider` with `Env` overridden
    ///
    /// This function is intended for tests that mock out the process environment.
    pub fn new_with_env(env: Env) -> Self {
+5 −5
Original line number Diff line number Diff line
@@ -246,10 +246,10 @@ pub enum ImdsError {

    /// IO Error
    ///
    /// An error occurred comunication with IMDS
    /// An error occurred communication with IMDS
    IoError(Box<dyn Error + Send + Sync + 'static>),

    /// An unexpected error occured communicating with IMDS
    /// An unexpected error occurred communicating with IMDS
    Unexpected(Box<dyn Error + Send + Sync + 'static>),
}

@@ -270,11 +270,11 @@ impl Display for ImdsError {
                response
            ),
            ImdsError::IoError(err) => {
                write!(f, "An IO error occured communicating with IMDS: {}", err)
                write!(f, "An IO error occurred communicating with IMDS: {}", err)
            }
            ImdsError::Unexpected(err) => write!(
                f,
                "An unexpected error occured communicating with IMDS: {}",
                "An unexpected error occurred communicating with IMDS: {}",
                err
            ),
        }
@@ -413,7 +413,7 @@ pub enum BuildError {
    /// The endpoint mode was invalid
    InvalidEndpointMode(InvalidEndpointMode),

    /// The AWS Profile (eg. `~/.aws/config`) was invalid
    /// The AWS Profile (e.g. `~/.aws/config`) was invalid
    InvalidProfile(ProfileParseError),

    /// The specified endpoint was not a valid URI
Loading