Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

## Unreleased

### Breaking Changes

* Generated HTTP clients no longer install aiohttp and urllib3 by default.
Install the `sync` extra for the synchronous client's default transport, the
`async` extra for the asynchronous client's default transport, or both, such
as `uv add "aws_sdk_s3[sync,async]"` or
`pip install "aws_sdk_s3[sync,async]"`. Clients configured with a
custom transport work without either extra. Imports are unchanged.

### Features

* Generated AWS clients validate the checksums of response payloads for operations with the `aws.protocols#httpChecksum` trait, such as Amazon S3's `GetObject`. These clients depend on the `checksums` extra of `smithy-aws-core`.
Expand Down
20 changes: 20 additions & 0 deletions codegen-output/aws-json-1-0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,23 @@
## Sample Json 1.0 Protocol Service Client

Python client for Sample Json 1.0 Protocol Service

### Installation

Install the `sync` extra for the synchronous client's default HTTP transport, the `async` extra for the asynchronous client's default HTTP transport, or both. In a project managed by uv, add the client with the extras you need:

```sh
uv add "awsjson10[sync]"
uv add "awsjson10[async]"
uv add "awsjson10[sync,async]"
```

Or install it with pip:

```sh
pip install "awsjson10[sync]"
pip install "awsjson10[async]"
pip install "awsjson10[sync,async]"
```

Without either extra, the models can be used, and either client works with an explicitly configured custom transport.
10 changes: 9 additions & 1 deletion codegen-output/aws-json-1-0/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,18 @@ classifiers = [
dependencies = [
"smithy_aws_core[json]~=0.13.0",
"smithy_core~=0.10.0",
"smithy_http[aiohttp, urllib3]~=0.7.0"
"smithy_http~=0.7.0"
]

[project.optional-dependencies]
sync = [
"smithy_http[urllib3]~=0.7.0"
]

async = [
"smithy_http[aiohttp]~=0.7.0"
]

awscrt = [
"smithy_http[awscrt]~=0.7.0"
]
Expand Down
20 changes: 20 additions & 0 deletions codegen-output/aws-json-1-1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,23 @@
## Sample Json 1.1 Protocol Service Client

Python client for Sample Json 1.1 Protocol Service

### Installation

Install the `sync` extra for the synchronous client's default HTTP transport, the `async` extra for the asynchronous client's default HTTP transport, or both. In a project managed by uv, add the client with the extras you need:

```sh
uv add "awsjson11[sync]"
uv add "awsjson11[async]"
uv add "awsjson11[sync,async]"
```

Or install it with pip:

```sh
pip install "awsjson11[sync]"
pip install "awsjson11[async]"
pip install "awsjson11[sync,async]"
```

Without either extra, the models can be used, and either client works with an explicitly configured custom transport.
10 changes: 9 additions & 1 deletion codegen-output/aws-json-1-1/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,18 @@ classifiers = [
dependencies = [
"smithy_aws_core[json]~=0.13.0",
"smithy_core~=0.10.0",
"smithy_http[aiohttp, urllib3]~=0.7.0"
"smithy_http~=0.7.0"
]

[project.optional-dependencies]
sync = [
"smithy_http[urllib3]~=0.7.0"
]

async = [
"smithy_http[aiohttp]~=0.7.0"
]

awscrt = [
"smithy_http[awscrt]~=0.7.0"
]
Expand Down
20 changes: 20 additions & 0 deletions codegen-output/aws-query/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@

Python client for Sample Query Protocol Service

### Installation

Install the `sync` extra for the synchronous client's default HTTP transport, the `async` extra for the asynchronous client's default HTTP transport, or both. In a project managed by uv, add the client with the extras you need:

```sh
uv add "awsquery[sync]"
uv add "awsquery[async]"
uv add "awsquery[sync,async]"
```

Or install it with pip:

```sh
pip install "awsquery[sync]"
pip install "awsquery[async]"
pip install "awsquery[sync,async]"
```

Without either extra, the models can be used, and either client works with an explicitly configured custom transport.

### Documentation

A query service that sends query requests and XML responses.
10 changes: 9 additions & 1 deletion codegen-output/aws-query/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,18 @@ classifiers = [
dependencies = [
"smithy_aws_core[xml]~=0.13.0",
"smithy_core~=0.10.0",
"smithy_http[aiohttp, urllib3]~=0.7.0"
"smithy_http~=0.7.0"
]

[project.optional-dependencies]
sync = [
"smithy_http[urllib3]~=0.7.0"
]

async = [
"smithy_http[aiohttp]~=0.7.0"
]

awscrt = [
"smithy_http[awscrt]~=0.7.0"
]
Expand Down
20 changes: 20 additions & 0 deletions codegen-output/ec2-query/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@

Python client for Sample Ec2 Protocol Service

### Installation

Install the `sync` extra for the synchronous client's default HTTP transport, the `async` extra for the asynchronous client's default HTTP transport, or both. In a project managed by uv, add the client with the extras you need:

```sh
uv add "ec2query[sync]"
uv add "ec2query[async]"
uv add "ec2query[sync,async]"
```

Or install it with pip:

```sh
pip install "ec2query[sync]"
pip install "ec2query[async]"
pip install "ec2query[sync,async]"
```

Without either extra, the models can be used, and either client works with an explicitly configured custom transport.

### Documentation

An EC2 query service that sends query requests and XML responses.
10 changes: 9 additions & 1 deletion codegen-output/ec2-query/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,18 @@ classifiers = [
dependencies = [
"smithy_aws_core[xml]~=0.13.0",
"smithy_core~=0.10.0",
"smithy_http[aiohttp, urllib3]~=0.7.0"
"smithy_http~=0.7.0"
]

[project.optional-dependencies]
sync = [
"smithy_http[urllib3]~=0.7.0"
]

async = [
"smithy_http[aiohttp]~=0.7.0"
]

awscrt = [
"smithy_http[awscrt]~=0.7.0"
]
Expand Down
20 changes: 20 additions & 0 deletions codegen-output/my-handwritten-json-model/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@

Python client for My Handwritten JSON Model

### Installation

Install the `sync` extra for the synchronous client's default HTTP transport, the `async` extra for the asynchronous client's default HTTP transport, or both. In a project managed by uv, add the client with the extras you need:

```sh
uv add "my_handwritten_json_model[sync]"
uv add "my_handwritten_json_model[async]"
uv add "my_handwritten_json_model[sync,async]"
```

Or install it with pip:

```sh
pip install "my_handwritten_json_model[sync]"
pip install "my_handwritten_json_model[async]"
pip install "my_handwritten_json_model[sync,async]"
```

Without either extra, the models can be used, and either client works with an explicitly configured custom transport.

### Documentation

The rpcv2Json counterpart of
Expand Down
10 changes: 9 additions & 1 deletion codegen-output/my-handwritten-json-model/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,18 @@ classifiers = [
dependencies = [
"smithy_aws_core[eventstream]~=0.13.0",
"smithy_core~=0.10.0",
"smithy_http[json, aiohttp, urllib3]~=0.7.0"
"smithy_http[json]~=0.7.0"
]

[project.optional-dependencies]
sync = [
"smithy_http[urllib3]~=0.7.0"
]

async = [
"smithy_http[aiohttp]~=0.7.0"
]

awscrt = [
"smithy_http[awscrt]~=0.7.0"
]
Expand Down
20 changes: 20 additions & 0 deletions codegen-output/my-handwritten-model/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,23 @@
## My Handwritten Model Client

Python client for My Handwritten Model

### Installation

Install the `sync` extra for the synchronous client's default HTTP transport, the `async` extra for the asynchronous client's default HTTP transport, or both. In a project managed by uv, add the client with the extras you need:

```sh
uv add "my_handwritten_model[sync]"
uv add "my_handwritten_model[async]"
uv add "my_handwritten_model[sync,async]"
```

Or install it with pip:

```sh
pip install "my_handwritten_model[sync]"
pip install "my_handwritten_model[async]"
pip install "my_handwritten_model[sync,async]"
```

Without either extra, the models can be used, and either client works with an explicitly configured custom transport.
10 changes: 9 additions & 1 deletion codegen-output/my-handwritten-model/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,18 @@ classifiers = [
dependencies = [
"smithy_aws_core[eventstream]~=0.13.0",
"smithy_core~=0.10.0",
"smithy_http[cbor, aiohttp, urllib3]~=0.7.0"
"smithy_http[cbor]~=0.7.0"
]

[project.optional-dependencies]
sync = [
"smithy_http[urllib3]~=0.7.0"
]

async = [
"smithy_http[aiohttp]~=0.7.0"
]

awscrt = [
"smithy_http[awscrt]~=0.7.0"
]
Expand Down
20 changes: 20 additions & 0 deletions codegen-output/non-query-compatible-rpcv2-cbor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,23 @@
## Non Query Compatible RpcV2 Protocol Service Client

Python client for Non Query Compatible RpcV2 Protocol Service

### Installation

Install the `sync` extra for the synchronous client's default HTTP transport, the `async` extra for the asynchronous client's default HTTP transport, or both. In a project managed by uv, add the client with the extras you need:

```sh
uv add "nonquerycompatiblerpcv2cbor[sync]"
uv add "nonquerycompatiblerpcv2cbor[async]"
uv add "nonquerycompatiblerpcv2cbor[sync,async]"
```

Or install it with pip:

```sh
pip install "nonquerycompatiblerpcv2cbor[sync]"
pip install "nonquerycompatiblerpcv2cbor[async]"
pip install "nonquerycompatiblerpcv2cbor[sync,async]"
```

Without either extra, the models can be used, and either client works with an explicitly configured custom transport.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,18 @@ classifiers = [
dependencies = [
"smithy_aws_core~=0.13.0",
"smithy_core~=0.10.0",
"smithy_http[cbor, aiohttp, urllib3]~=0.7.0"
"smithy_http[cbor]~=0.7.0"
]

[project.optional-dependencies]
sync = [
"smithy_http[urllib3]~=0.7.0"
]

async = [
"smithy_http[aiohttp]~=0.7.0"
]

awscrt = [
"smithy_http[awscrt]~=0.7.0"
]
Expand Down
20 changes: 20 additions & 0 deletions codegen-output/query-compatible-aws-json-1-0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,23 @@
## Query Compatible Json 1.0 Protocol Service Client

Python client for Query Compatible Json 1.0 Protocol Service

### Installation

Install the `sync` extra for the synchronous client's default HTTP transport, the `async` extra for the asynchronous client's default HTTP transport, or both. In a project managed by uv, add the client with the extras you need:

```sh
uv add "querycompatibleawsjson10[sync]"
uv add "querycompatibleawsjson10[async]"
uv add "querycompatibleawsjson10[sync,async]"
```

Or install it with pip:

```sh
pip install "querycompatibleawsjson10[sync]"
pip install "querycompatibleawsjson10[async]"
pip install "querycompatibleawsjson10[sync,async]"
```

Without either extra, the models can be used, and either client works with an explicitly configured custom transport.
10 changes: 9 additions & 1 deletion codegen-output/query-compatible-aws-json-1-0/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,18 @@ classifiers = [
dependencies = [
"smithy_aws_core[json]~=0.13.0",
"smithy_core~=0.10.0",
"smithy_http[aiohttp, urllib3]~=0.7.0"
"smithy_http~=0.7.0"
]

[project.optional-dependencies]
sync = [
"smithy_http[urllib3]~=0.7.0"
]

async = [
"smithy_http[aiohttp]~=0.7.0"
]

awscrt = [
"smithy_http[awscrt]~=0.7.0"
]
Expand Down
Loading
Loading