Skip to content

Commit ed3daf6

Browse files
authored
Prepare smithy-rs 0.36.0 release (#1122)
* Version bump * Update service models * Update changelogs
1 parent 5b6965a commit ed3daf6

16 files changed

+2735
-502
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
<!-- Do not manually edit this file, use `update-changelogs` -->
2+
0.36.0 (January 26, 2022)
3+
=========================
4+
**New this release:**
5+
- ([smithy-rs#1087](https://github.com/awslabs/smithy-rs/issues/1087)) Improve docs on `Endpoint::{mutable, immutable}`
6+
- ([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`
7+
- ([smithy-rs#1114](https://github.com/awslabs/smithy-rs/issues/1114), @mchoicpe-amazon) Provide SigningService creation via owned String
8+
9+
**Contributors**
10+
Thank you for your contributions! ❤
11+
- @mchoicpe-amazon ([smithy-rs#1114](https://github.com/awslabs/smithy-rs/issues/1114))
12+
13+
214
0.35.2 (January 20th, 2022)
315
===========================
416
_Changes only impact generated AWS SDK_

CHANGELOG.next.toml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -10,39 +10,3 @@
1010
# references = ["smithy-rs#920"]
1111
# meta = { "breaking" = false, "tada" = false, "bug" = false }
1212
# author = "rcoh"
13-
14-
[[aws-sdk-rust]]
15-
message = "Added `impl Into<http::request::Builder> for PresignedRequest` and a conversion method for turning `PresignedRequest`s into `http::Request`s."
16-
references = ["aws-sdk-rust#423"]
17-
meta = { "breaking" = false, "tada" = false, "bug" = false }
18-
author = "Velfi"
19-
20-
[[aws-sdk-rust]]
21-
message = "Convert several `info` spans to `debug` in aws-config"
22-
references = ["smithy-rs#1087"]
23-
meta = { "breaking" = false, "tada" = false, "bug" = false }
24-
author = "rcoh"
25-
26-
[[smithy-rs]]
27-
message = "Improve docs on `Endpoint::{mutable, immutable}`"
28-
references = ["smithy-rs#1087"]
29-
meta = { "breaking" = false, "tada" = false, "bug" = false }
30-
author = "rcoh"
31-
32-
[[aws-sdk-rust]]
33-
message = "SDK examples now come from [`awsdocs/aws-doc-sdk-examples`](https://github.com/awsdocs/aws-doc-sdk-examples) rather than from `smithy-rs`"
34-
references = ["smithy-rs#1118"]
35-
meta = { "breaking" = false, "tada" = false, "bug" = false }
36-
author = "jdisanti"
37-
38-
[[smithy-rs]]
39-
message = "SDK examples now come from [`awsdocs/aws-doc-sdk-examples`](https://github.com/awsdocs/aws-doc-sdk-examples) rather than from `smithy-rs`"
40-
references = ["smithy-rs#1118"]
41-
meta = { "breaking" = false, "tada" = false, "bug" = false }
42-
author = "jdisanti"
43-
44-
[[smithy-rs]]
45-
message = "Provide SigningService creation via owned String"
46-
references = ["smithy-rs#1114"]
47-
meta = { "breaking" = false, "tada" = false, "bug" = false }
48-
author = "mchoicpe-amazon"

aws/SDK_CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
<!-- Do not manually edit this file, use `update-changelogs` -->
2+
0.6.0 (January 26, 2022)
3+
========================
4+
**New this release:**
5+
- ([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.
6+
- ([smithy-rs#1087](https://github.com/awslabs/smithy-rs/issues/1087)) Convert several `info` spans to `debug` in aws-config
7+
- ([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`
8+
9+
210
0.5.2 (January 20th, 2022)
311
==========================
412

aws/sdk/aws-models/connect.json

Lines changed: 894 additions & 22 deletions
Large diffs are not rendered by default.

aws/sdk/aws-models/ec2-instance-connect.json

Lines changed: 71 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,6 @@
3131
"shapes": {
3232
"com.amazonaws.ec2instanceconnect#AWSEC2InstanceConnectService": {
3333
"type": "service",
34-
"version": "2018-04-02",
35-
"operations": [
36-
{
37-
"target": "com.amazonaws.ec2instanceconnect#SendSerialConsoleSSHPublicKey"
38-
},
39-
{
40-
"target": "com.amazonaws.ec2instanceconnect#SendSSHPublicKey"
41-
}
42-
],
4334
"traits": {
4435
"aws.api#service": {
4536
"sdkId": "EC2 Instance Connect",
@@ -54,7 +45,16 @@
5445
"aws.protocols#awsJson1_1": {},
5546
"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>",
5647
"smithy.api#title": "AWS EC2 Instance Connect"
57-
}
48+
},
49+
"version": "2018-04-02",
50+
"operations": [
51+
{
52+
"target": "com.amazonaws.ec2instanceconnect#SendSerialConsoleSSHPublicKey"
53+
},
54+
{
55+
"target": "com.amazonaws.ec2instanceconnect#SendSSHPublicKey"
56+
}
57+
]
5858
},
5959
"com.amazonaws.ec2instanceconnect#AuthException": {
6060
"type": "structure",
@@ -64,6 +64,10 @@
6464
}
6565
},
6666
"traits": {
67+
"aws.protocols#awsQueryError": {
68+
"code": "Forbidden",
69+
"httpResponseCode": 403
70+
},
6771
"smithy.api#documentation": "<p>Either your AWS credentials are not valid or you do not have access to the EC2 instance.</p>",
6872
"smithy.api#error": "client",
6973
"smithy.api#httpError": 403
@@ -87,11 +91,32 @@
8791
}
8892
},
8993
"traits": {
94+
"aws.protocols#awsQueryError": {
95+
"code": "EC2InstanceNotFound",
96+
"httpResponseCode": 404
97+
},
9098
"smithy.api#documentation": "<p>The specified instance was not found.</p>",
9199
"smithy.api#error": "client",
92100
"smithy.api#httpError": 404
93101
}
94102
},
103+
"com.amazonaws.ec2instanceconnect#EC2InstanceStateInvalidException": {
104+
"type": "structure",
105+
"members": {
106+
"Message": {
107+
"target": "com.amazonaws.ec2instanceconnect#String"
108+
}
109+
},
110+
"traits": {
111+
"aws.protocols#awsQueryError": {
112+
"code": "EC2InstanceStateInvalid",
113+
"httpResponseCode": 400
114+
},
115+
"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>",
116+
"smithy.api#error": "client",
117+
"smithy.api#httpError": 400
118+
}
119+
},
95120
"com.amazonaws.ec2instanceconnect#EC2InstanceTypeInvalidException": {
96121
"type": "structure",
97122
"members": {
@@ -100,6 +125,10 @@
100125
}
101126
},
102127
"traits": {
128+
"aws.protocols#awsQueryError": {
129+
"code": "EC2InstanceTypeInvalid",
130+
"httpResponseCode": 400
131+
},
103132
"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>",
104133
"smithy.api#error": "client",
105134
"smithy.api#httpError": 400
@@ -133,6 +162,10 @@
133162
}
134163
},
135164
"traits": {
165+
"aws.protocols#awsQueryError": {
166+
"code": "InvalidArguments",
167+
"httpResponseCode": 400
168+
},
136169
"smithy.api#documentation": "<p>One of the parameters is not valid.</p>",
137170
"smithy.api#error": "client",
138171
"smithy.api#httpError": 400
@@ -145,7 +178,7 @@
145178
"type": "string",
146179
"traits": {
147180
"smithy.api#length": {
148-
"min": 256,
181+
"min": 80,
149182
"max": 4096
150183
}
151184
}
@@ -165,6 +198,9 @@
165198
{
166199
"target": "com.amazonaws.ec2instanceconnect#EC2InstanceNotFoundException"
167200
},
201+
{
202+
"target": "com.amazonaws.ec2instanceconnect#EC2InstanceStateInvalidException"
203+
},
168204
{
169205
"target": "com.amazonaws.ec2instanceconnect#InvalidArgsException"
170206
},
@@ -206,8 +242,7 @@
206242
"AvailabilityZone": {
207243
"target": "com.amazonaws.ec2instanceconnect#AvailabilityZone",
208244
"traits": {
209-
"smithy.api#documentation": "<p>The Availability Zone in which the EC2 instance was launched.</p>",
210-
"smithy.api#required": {}
245+
"smithy.api#documentation": "<p>The Availability Zone in which the EC2 instance was launched.</p>"
211246
}
212247
}
213248
}
@@ -244,6 +279,9 @@
244279
{
245280
"target": "com.amazonaws.ec2instanceconnect#EC2InstanceNotFoundException"
246281
},
282+
{
283+
"target": "com.amazonaws.ec2instanceconnect#EC2InstanceStateInvalidException"
284+
},
247285
{
248286
"target": "com.amazonaws.ec2instanceconnect#EC2InstanceTypeInvalidException"
249287
},
@@ -320,6 +358,10 @@
320358
}
321359
},
322360
"traits": {
361+
"aws.protocols#awsQueryError": {
362+
"code": "SerialConsoleAccessDisabled",
363+
"httpResponseCode": 403
364+
},
323365
"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>",
324366
"smithy.api#error": "client",
325367
"smithy.api#httpError": 403
@@ -333,6 +375,10 @@
333375
}
334376
},
335377
"traits": {
378+
"aws.protocols#awsQueryError": {
379+
"code": "SerialConsoleSessionLimitExceeded",
380+
"httpResponseCode": 400
381+
},
336382
"smithy.api#documentation": "<p>The instance currently has 1 active serial console session. Only 1 session is supported at a time.</p>",
337383
"smithy.api#error": "client",
338384
"smithy.api#httpError": 400
@@ -346,6 +392,10 @@
346392
}
347393
},
348394
"traits": {
395+
"aws.protocols#awsQueryError": {
396+
"code": "SerialConsoleSessionUnavailable",
397+
"httpResponseCode": 500
398+
},
349399
"smithy.api#documentation": "<p>Unable to start a serial console session. Please try again.</p>",
350400
"smithy.api#error": "server",
351401
"smithy.api#httpError": 500
@@ -368,6 +418,10 @@
368418
}
369419
},
370420
"traits": {
421+
"aws.protocols#awsQueryError": {
422+
"code": "InternalServerError",
423+
"httpResponseCode": 500
424+
},
371425
"smithy.api#documentation": "<p>The service encountered an error. Follow the instructions in the error message and try again.</p>",
372426
"smithy.api#error": "server",
373427
"smithy.api#httpError": 500
@@ -387,6 +441,10 @@
387441
}
388442
},
389443
"traits": {
444+
"aws.protocols#awsQueryError": {
445+
"code": "TooManyRequests",
446+
"httpResponseCode": 429
447+
},
390448
"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>",
391449
"smithy.api#error": "client",
392450
"smithy.api#httpError": 429

aws/sdk/aws-models/ec2.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45405,6 +45405,10 @@
4540545405
"value": "c6i.32xlarge",
4540645406
"name": "c6i_32xlarge"
4540745407
},
45408+
{
45409+
"value": "c6i.metal",
45410+
"name": "c6i_metal"
45411+
},
4540845412
{
4540945413
"value": "cc1.4xlarge",
4541045414
"name": "cc1_4xlarge"
@@ -46241,6 +46245,10 @@
4624146245
"value": "m6i.32xlarge",
4624246246
"name": "m6i_32xlarge"
4624346247
},
46248+
{
46249+
"value": "m6i.metal",
46250+
"name": "m6i_metal"
46251+
},
4624446252
{
4624546253
"value": "mac1.metal",
4624646254
"name": "mac1_metal"
@@ -46637,6 +46645,46 @@
4663746645
"value": "r6gd.metal",
4663846646
"name": "r6gd_metal"
4663946647
},
46648+
{
46649+
"value": "r6i.large",
46650+
"name": "r6i_large"
46651+
},
46652+
{
46653+
"value": "r6i.xlarge",
46654+
"name": "r6i_xlarge"
46655+
},
46656+
{
46657+
"value": "r6i.2xlarge",
46658+
"name": "r6i_2xlarge"
46659+
},
46660+
{
46661+
"value": "r6i.4xlarge",
46662+
"name": "r6i_4xlarge"
46663+
},
46664+
{
46665+
"value": "r6i.8xlarge",
46666+
"name": "r6i_8xlarge"
46667+
},
46668+
{
46669+
"value": "r6i.12xlarge",
46670+
"name": "r6i_12xlarge"
46671+
},
46672+
{
46673+
"value": "r6i.16xlarge",
46674+
"name": "r6i_16xlarge"
46675+
},
46676+
{
46677+
"value": "r6i.24xlarge",
46678+
"name": "r6i_24xlarge"
46679+
},
46680+
{
46681+
"value": "r6i.32xlarge",
46682+
"name": "r6i_32xlarge"
46683+
},
46684+
{
46685+
"value": "r6i.metal",
46686+
"name": "r6i_metal"
46687+
},
4664046688
{
4664146689
"value": "t1.micro",
4664246690
"name": "t1_micro"

0 commit comments

Comments
 (0)