Skip to content

Commit

Permalink
Prepare smithy-rs 0.36.0 release (#1122)
Browse files Browse the repository at this point in the history
* Version bump

* Update service models

* Update changelogs
  • Loading branch information
jdisanti authored Jan 26, 2022
1 parent 5b6965a commit ed3daf6
Show file tree
Hide file tree
Showing 16 changed files with 2,735 additions and 502 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
<!-- Do not manually edit this file, use `update-changelogs` -->
0.36.0 (January 26, 2022)
=========================
**New this release:**
- ([smithy-rs#1087](https://github.com/awslabs/smithy-rs/issues/1087)) Improve docs on `Endpoint::{mutable, immutable}`
- ([smithy-rs#1118](https://github.com/awslabs/smithy-rs/issues/1118)) SDK examples now come from [`awsdocs/aws-doc-sdk-examples`](https://github.com/awsdocs/aws-doc-sdk-examples) rather than from `smithy-rs`
- ([smithy-rs#1114](https://github.com/awslabs/smithy-rs/issues/1114), @mchoicpe-amazon) Provide SigningService creation via owned String

**Contributors**
Thank you for your contributions! ❤
- @mchoicpe-amazon ([smithy-rs#1114](https://github.com/awslabs/smithy-rs/issues/1114))


0.35.2 (January 20th, 2022)
===========================
_Changes only impact generated AWS SDK_
Expand Down
36 changes: 0 additions & 36 deletions CHANGELOG.next.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,39 +10,3 @@
# references = ["smithy-rs#920"]
# meta = { "breaking" = false, "tada" = false, "bug" = false }
# author = "rcoh"

[[aws-sdk-rust]]
message = "Added `impl Into<http::request::Builder> for PresignedRequest` and a conversion method for turning `PresignedRequest`s into `http::Request`s."
references = ["aws-sdk-rust#423"]
meta = { "breaking" = false, "tada" = false, "bug" = false }
author = "Velfi"

[[aws-sdk-rust]]
message = "Convert several `info` spans to `debug` in aws-config"
references = ["smithy-rs#1087"]
meta = { "breaking" = false, "tada" = false, "bug" = false }
author = "rcoh"

[[smithy-rs]]
message = "Improve docs on `Endpoint::{mutable, immutable}`"
references = ["smithy-rs#1087"]
meta = { "breaking" = false, "tada" = false, "bug" = false }
author = "rcoh"

[[aws-sdk-rust]]
message = "SDK examples now come from [`awsdocs/aws-doc-sdk-examples`](https://github.com/awsdocs/aws-doc-sdk-examples) rather than from `smithy-rs`"
references = ["smithy-rs#1118"]
meta = { "breaking" = false, "tada" = false, "bug" = false }
author = "jdisanti"

[[smithy-rs]]
message = "SDK examples now come from [`awsdocs/aws-doc-sdk-examples`](https://github.com/awsdocs/aws-doc-sdk-examples) rather than from `smithy-rs`"
references = ["smithy-rs#1118"]
meta = { "breaking" = false, "tada" = false, "bug" = false }
author = "jdisanti"

[[smithy-rs]]
message = "Provide SigningService creation via owned String"
references = ["smithy-rs#1114"]
meta = { "breaking" = false, "tada" = false, "bug" = false }
author = "mchoicpe-amazon"
8 changes: 8 additions & 0 deletions aws/SDK_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
<!-- Do not manually edit this file, use `update-changelogs` -->
0.6.0 (January 26, 2022)
========================
**New this release:**
- ([aws-sdk-rust#423](https://github.com/awslabs/aws-sdk-rust/issues/423)) Added `impl Into<http::request::Builder> for PresignedRequest` and a conversion method for turning `PresignedRequest`s into `http::Request`s.
- ([smithy-rs#1087](https://github.com/awslabs/smithy-rs/issues/1087)) Convert several `info` spans to `debug` in aws-config
- ([smithy-rs#1118](https://github.com/awslabs/smithy-rs/issues/1118)) SDK examples now come from [`awsdocs/aws-doc-sdk-examples`](https://github.com/awsdocs/aws-doc-sdk-examples) rather than from `smithy-rs`


0.5.2 (January 20th, 2022)
==========================

Expand Down
916 changes: 894 additions & 22 deletions aws/sdk/aws-models/connect.json

Large diffs are not rendered by default.

84 changes: 71 additions & 13 deletions aws/sdk/aws-models/ec2-instance-connect.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,6 @@
"shapes": {
"com.amazonaws.ec2instanceconnect#AWSEC2InstanceConnectService": {
"type": "service",
"version": "2018-04-02",
"operations": [
{
"target": "com.amazonaws.ec2instanceconnect#SendSerialConsoleSSHPublicKey"
},
{
"target": "com.amazonaws.ec2instanceconnect#SendSSHPublicKey"
}
],
"traits": {
"aws.api#service": {
"sdkId": "EC2 Instance Connect",
Expand All @@ -54,7 +45,16 @@
"aws.protocols#awsJson1_1": {},
"smithy.api#documentation": "<p>Amazon EC2 Instance Connect enables system administrators to publish one-time use SSH\n public keys to EC2, providing users a simple and secure way to connect to their\n instances.</p>",
"smithy.api#title": "AWS EC2 Instance Connect"
}
},
"version": "2018-04-02",
"operations": [
{
"target": "com.amazonaws.ec2instanceconnect#SendSerialConsoleSSHPublicKey"
},
{
"target": "com.amazonaws.ec2instanceconnect#SendSSHPublicKey"
}
]
},
"com.amazonaws.ec2instanceconnect#AuthException": {
"type": "structure",
Expand All @@ -64,6 +64,10 @@
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "Forbidden",
"httpResponseCode": 403
},
"smithy.api#documentation": "<p>Either your AWS credentials are not valid or you do not have access to the EC2 instance.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 403
Expand All @@ -87,11 +91,32 @@
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "EC2InstanceNotFound",
"httpResponseCode": 404
},
"smithy.api#documentation": "<p>The specified instance was not found.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.ec2instanceconnect#EC2InstanceStateInvalidException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.ec2instanceconnect#String"
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "EC2InstanceStateInvalid",
"httpResponseCode": 400
},
"smithy.api#documentation": "<p>Unable to connect because the instance is not in a valid state. \n Connecting to a stopped or terminated instance is not supported. If the instance is stopped, \n start your instance, and try to connect again.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.ec2instanceconnect#EC2InstanceTypeInvalidException": {
"type": "structure",
"members": {
Expand All @@ -100,6 +125,10 @@
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "EC2InstanceTypeInvalid",
"httpResponseCode": 400
},
"smithy.api#documentation": "<p>The instance type is not supported for connecting via the serial console. Only Nitro\n instance types are currently supported.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
Expand Down Expand Up @@ -133,6 +162,10 @@
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "InvalidArguments",
"httpResponseCode": 400
},
"smithy.api#documentation": "<p>One of the parameters is not valid.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
Expand All @@ -145,7 +178,7 @@
"type": "string",
"traits": {
"smithy.api#length": {
"min": 256,
"min": 80,
"max": 4096
}
}
Expand All @@ -165,6 +198,9 @@
{
"target": "com.amazonaws.ec2instanceconnect#EC2InstanceNotFoundException"
},
{
"target": "com.amazonaws.ec2instanceconnect#EC2InstanceStateInvalidException"
},
{
"target": "com.amazonaws.ec2instanceconnect#InvalidArgsException"
},
Expand Down Expand Up @@ -206,8 +242,7 @@
"AvailabilityZone": {
"target": "com.amazonaws.ec2instanceconnect#AvailabilityZone",
"traits": {
"smithy.api#documentation": "<p>The Availability Zone in which the EC2 instance was launched.</p>",
"smithy.api#required": {}
"smithy.api#documentation": "<p>The Availability Zone in which the EC2 instance was launched.</p>"
}
}
}
Expand Down Expand Up @@ -244,6 +279,9 @@
{
"target": "com.amazonaws.ec2instanceconnect#EC2InstanceNotFoundException"
},
{
"target": "com.amazonaws.ec2instanceconnect#EC2InstanceStateInvalidException"
},
{
"target": "com.amazonaws.ec2instanceconnect#EC2InstanceTypeInvalidException"
},
Expand Down Expand Up @@ -320,6 +358,10 @@
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "SerialConsoleAccessDisabled",
"httpResponseCode": 403
},
"smithy.api#documentation": "<p>Your account is not authorized to use the EC2 Serial Console. To authorize your\n account, run the EnableSerialConsoleAccess API. For more information, see\n <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EnableSerialConsoleAccess.html\">EnableSerialConsoleAccess</a> in the <i>Amazon EC2 API Reference</i>.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 403
Expand All @@ -333,6 +375,10 @@
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "SerialConsoleSessionLimitExceeded",
"httpResponseCode": 400
},
"smithy.api#documentation": "<p>The instance currently has 1 active serial console session. Only 1 session is supported at a time.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
Expand All @@ -346,6 +392,10 @@
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "SerialConsoleSessionUnavailable",
"httpResponseCode": 500
},
"smithy.api#documentation": "<p>Unable to start a serial console session. Please try again.</p>",
"smithy.api#error": "server",
"smithy.api#httpError": 500
Expand All @@ -368,6 +418,10 @@
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "InternalServerError",
"httpResponseCode": 500
},
"smithy.api#documentation": "<p>The service encountered an error. Follow the instructions in the error message and try again.</p>",
"smithy.api#error": "server",
"smithy.api#httpError": 500
Expand All @@ -387,6 +441,10 @@
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "TooManyRequests",
"httpResponseCode": 429
},
"smithy.api#documentation": "<p>The requests were made too frequently and have been throttled. Wait a while and try again. \n To increase the limit on your request frequency, contact AWS Support.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 429
Expand Down
48 changes: 48 additions & 0 deletions aws/sdk/aws-models/ec2.json
Original file line number Diff line number Diff line change
Expand Up @@ -45405,6 +45405,10 @@
"value": "c6i.32xlarge",
"name": "c6i_32xlarge"
},
{
"value": "c6i.metal",
"name": "c6i_metal"
},
{
"value": "cc1.4xlarge",
"name": "cc1_4xlarge"
Expand Down Expand Up @@ -46241,6 +46245,10 @@
"value": "m6i.32xlarge",
"name": "m6i_32xlarge"
},
{
"value": "m6i.metal",
"name": "m6i_metal"
},
{
"value": "mac1.metal",
"name": "mac1_metal"
Expand Down Expand Up @@ -46637,6 +46645,46 @@
"value": "r6gd.metal",
"name": "r6gd_metal"
},
{
"value": "r6i.large",
"name": "r6i_large"
},
{
"value": "r6i.xlarge",
"name": "r6i_xlarge"
},
{
"value": "r6i.2xlarge",
"name": "r6i_2xlarge"
},
{
"value": "r6i.4xlarge",
"name": "r6i_4xlarge"
},
{
"value": "r6i.8xlarge",
"name": "r6i_8xlarge"
},
{
"value": "r6i.12xlarge",
"name": "r6i_12xlarge"
},
{
"value": "r6i.16xlarge",
"name": "r6i_16xlarge"
},
{
"value": "r6i.24xlarge",
"name": "r6i_24xlarge"
},
{
"value": "r6i.32xlarge",
"name": "r6i_32xlarge"
},
{
"value": "r6i.metal",
"name": "r6i_metal"
},
{
"value": "t1.micro",
"name": "t1_micro"
Expand Down
Loading

0 comments on commit ed3daf6

Please sign in to comment.