Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): update aws-types requirement from 0.55.3 to 0.56.0 (#11)
Updates the requirements on [aws-types](https://github.com/awslabs/smithy-rs) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/awslabs/smithy-rs/blob/main/CHANGELOG.md">aws-types's changelog</a>.</em></p> <blockquote> <!-- raw HTML omitted --> <h1>August 1st, 2023</h1> <p><strong>Breaking Changes:</strong></p> <ul> <li> <p>⚠🎉 (server, <a href="https://redirect.github.com/awslabs/smithy-rs/issues/2740">smithy-rs#2740</a>, <a href="https://redirect.github.com/awslabs/smithy-rs/issues/2759">smithy-rs#2759</a>, <a href="https://redirect.github.com/awslabs/smithy-rs/issues/2779">smithy-rs#2779</a>, <a href="https://redirect.github.com/awslabs/smithy-rs/issues/2827">smithy-rs#2827</a>, <a href="https://github.com/hlbarber"><code>@hlbarber</code></a>) The middleware system has been reworked as we push for a unified, simple, and consistent API. The following changes have been made in service of this goal:</p> <ul> <li>A <code>ServiceShape</code> trait has been added.</li> <li>The <code>Plugin</code> trait has been simplified.</li> <li>The <code>HttpMarker</code> and <code>ModelMarker</code> marker traits have been added to better distinguish when plugins run and what they have access to.</li> <li>The <code>Operation</code> structure has been removed.</li> <li>A <code>Scoped</code> <code>Plugin</code> has been added.</li> </ul> <p>The <code>Plugin</code> trait has now been simplified and the <code>Operation</code> struct has been removed.</p> <h2>Addition of <code>ServiceShape</code></h2> <p>Since the <a href="https://github.com/awslabs/smithy-rs/releases/tag/release-2022-12-12">0.52 release</a> the <code>OperationShape</code> has existed.</p> <pre lang="rust"><code>/// Models the [Smithy Operation shape]. /// /// [Smithy Operation shape]: https://awslabs.github.io/smithy/1.0/spec/core/model.html#operation pub trait OperationShape { /// The ID of the operation. const ID: ShapeId; <pre><code>/// The operation input. type Input; /// The operation output. type Output; /// The operation error. [`Infallible`](https://github.com/awslabs/smithy-rs/blob/main/std::convert::Infallible) in the case where no error /// exists. type Error; </code></pre> <p>} </code></pre></p> <p>This allowed <code>Plugin</code> authors to access these associated types and constants. See the <a href="https://github.com/awslabs/smithy-rs/blob/main/examples/pokemon-service/src/plugin.rs"><code>PrintPlugin</code></a> as an example.</p> <p>We continue with this approach and introduce the following trait:</p> <pre lang="rust"><code>/// Models the [Smithy Service shape]. /// /// [Smithy Service shape]: https://smithy.io/2.0/spec/service-types.html pub trait ServiceShape { /// The [`ShapeId`] of the service. const ID: ShapeId; <pre><code>/// The version of the service. const VERSION: Option&lt;&amp;'static str&gt;; </code></pre> <p></code></pre></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/awslabs/smithy-rs/commits">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information