Skip to content

Commit c65f730

Browse files
kstichAllanZhengYP
authored andcommitted
chore: update models for Smithy 1.0.0
1 parent 00e5269 commit c65f730

File tree

218 files changed

+196575
-179115
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

218 files changed

+196575
-179115
lines changed

codegen/sdk-codegen/aws-models/accessanalyzer.2019-11-01.json

+2,514-1,583
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/acm-pca.2017-08-22.json

+177-139
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/acm.2015-12-08.json

+537-463
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/alexa-for-business.2017-11-09.json

+2,075-1,984
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/amplify.2017-07-25.json

+316-296
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/api-gateway.2015-07-09.json

+3,083-2,992
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/apigatewaymanagementapi.2018-11-29.json

+32-37
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
11
{
2-
"smithy": "0.5.0",
2+
"smithy": "1.0",
33
"metadata": {
44
"suppressions": [
55
{
6-
"ids": [
7-
"HttpMethodSemantics"
8-
]
6+
"id": "HttpMethodSemantics",
7+
"namespace": "*"
98
},
109
{
11-
"ids": [
12-
"HttpResponseCodeSemantics"
13-
]
10+
"id": "HttpResponseCodeSemantics",
11+
"namespace": "*"
1412
},
1513
{
16-
"ids": [
17-
"PaginatedTrait"
18-
]
14+
"id": "PaginatedTrait",
15+
"namespace": "*"
1916
},
2017
{
21-
"ids": [
22-
"HttpHeaderTrait"
23-
]
18+
"id": "HttpHeaderTrait",
19+
"namespace": "*"
2420
},
2521
{
26-
"ids": [
27-
"HttpUriConflict"
28-
]
22+
"id": "HttpUriConflict",
23+
"namespace": "*"
24+
},
25+
{
26+
"id": "Service",
27+
"namespace": "*"
2928
}
3029
]
3130
},
@@ -51,15 +50,11 @@
5150
"cloudFormationName": "ApiGatewayManagementApi",
5251
"cloudTrailEventSource": "apigatewaymanagementapi.amazonaws.com"
5352
},
53+
"aws.auth#sigv4": {
54+
"name": "execute-api"
55+
},
56+
"aws.protocols#restJson1": {},
5457
"smithy.api#documentation": "<p>The Amazon API Gateway Management API allows you to directly manage runtime aspects of your deployed APIs. To use it, you must explicitly set the SDK's endpoint to point to the endpoint of your deployed API. The endpoint will be of the form https://{api-id}.execute-api.{region}.amazonaws.com/{stage}, or will be the endpoint corresponding to your API's custom domain and base path, if applicable.</p>",
55-
"smithy.api#protocols": [
56-
{
57-
"name": "aws.rest-json-1.1",
58-
"auth": [
59-
"aws.v4"
60-
]
61-
}
62-
],
6358
"smithy.api#title": "AmazonApiGatewayManagementApi"
6459
}
6560
},
@@ -104,15 +99,15 @@
10499
"ConnectionId": {
105100
"target": "com.amazonaws.apigatewaymanagementapi#__string",
106101
"traits": {
107-
"smithy.api#httpLabel": true,
108-
"smithy.api#required": true
102+
"smithy.api#httpLabel": {},
103+
"smithy.api#required": {}
109104
}
110105
}
111106
}
112107
},
113108
"com.amazonaws.apigatewaymanagementapi#ForbiddenException": {
114109
"type": "structure",
115-
"members": { },
110+
"members": {},
116111
"traits": {
117112
"smithy.api#documentation": "<p>The caller is not authorized to invoke this operation.</p>",
118113
"smithy.api#error": "client",
@@ -153,8 +148,8 @@
153148
"ConnectionId": {
154149
"target": "com.amazonaws.apigatewaymanagementapi#__string",
155150
"traits": {
156-
"smithy.api#httpLabel": true,
157-
"smithy.api#required": true
151+
"smithy.api#httpLabel": {},
152+
"smithy.api#required": {}
158153
}
159154
}
160155
}
@@ -186,7 +181,7 @@
186181
},
187182
"com.amazonaws.apigatewaymanagementapi#GoneException": {
188183
"type": "structure",
189-
"members": { },
184+
"members": {},
190185
"traits": {
191186
"smithy.api#documentation": "<p>The connection with the provided id no longer exists.</p>",
192187
"smithy.api#error": "client",
@@ -201,22 +196,22 @@
201196
"traits": {
202197
"smithy.api#documentation": "<p>The source IP address of the TCP connection making the request to API Gateway.</p>",
203198
"smithy.api#jsonName": "sourceIp",
204-
"smithy.api#required": true
199+
"smithy.api#required": {}
205200
}
206201
},
207202
"UserAgent": {
208203
"target": "com.amazonaws.apigatewaymanagementapi#__string",
209204
"traits": {
210205
"smithy.api#documentation": "<p>The User Agent of the API caller.</p>",
211206
"smithy.api#jsonName": "userAgent",
212-
"smithy.api#required": true
207+
"smithy.api#required": {}
213208
}
214209
}
215210
}
216211
},
217212
"com.amazonaws.apigatewaymanagementapi#LimitExceededException": {
218213
"type": "structure",
219-
"members": { },
214+
"members": {},
220215
"traits": {
221216
"smithy.api#documentation": "<p>The client is sending more than the allowed number of requests per unit of time or the WebSocket client side buffer is full.</p>",
222217
"smithy.api#error": "client",
@@ -274,16 +269,16 @@
274269
"target": "com.amazonaws.apigatewaymanagementapi#__string",
275270
"traits": {
276271
"smithy.api#documentation": "<p>The identifier of the connection that a specific client is using.</p>",
277-
"smithy.api#httpLabel": true,
278-
"smithy.api#required": true
272+
"smithy.api#httpLabel": {},
273+
"smithy.api#required": {}
279274
}
280275
},
281276
"Data": {
282277
"target": "com.amazonaws.apigatewaymanagementapi#Data",
283278
"traits": {
284279
"smithy.api#documentation": "<p>The data to be sent to the client specified by its connection id.</p>",
285-
"smithy.api#httpPayload": true,
286-
"smithy.api#required": true
280+
"smithy.api#httpPayload": {},
281+
"smithy.api#required": {}
287282
}
288283
}
289284
}

0 commit comments

Comments
 (0)