Skip to content

Commit 7af0847

Browse files
authored
chore: upgrade Smithy to 1.22, update AWS models to latest (#647)
1 parent 196da52 commit 7af0847

Some content is hidden

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

62 files changed

+18628
-1124
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"id": "55cffe4d-8537-4dd0-8630-e4800d146f29",
3+
"type": "misc",
4+
"description": "Upgrade Smithy version to 1.22",
5+
"issues": [
6+
"awslabs/smithy-kotlin#599"
7+
]
8+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"id": "ce3ab265-e4f5-41cf-b4dd-b6b40ab23cdc",
3+
"type": "misc",
4+
"description": "Update AWS models to latest versions"
5+
}

codegen/sdk/aws-models/api-gateway.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9865,7 +9865,7 @@
98659865
"insecureSkipVerification": {
98669866
"target": "com.amazonaws.apigateway#Boolean",
98679867
"traits": {
9868-
"smithy.api#documentation": "<p>Specifies whether or not API Gateway skips verification that the certificate for an integration endpoint is\n issued by a supported certificate authority. This isn’t recommended, but it enables you to\n use certificates that are signed by private certificate authorities, or certificates\n that are self-signed. If enabled, API Gateway still performs basic certificate\n validation, which includes checking the certificate's expiration date, hostname, and\n presence of a root certificate authority. Supported only for <code>HTTP</code> and\n <code>HTTP_PROXY</code> integrations.</p>"
9868+
"smithy.api#documentation": "<p>Specifies whether or not API Gateway skips verification that the certificate for an integration endpoint is\n issued by a supported certificate authority. This isn’t recommended, but it enables you to\n use certificates that are signed by private certificate authorities, or certificates\n that are self-signed. If enabled, API Gateway still performs basic certificate\n validation, which includes checking the certificate's expiration date, hostname, and\n presence of a root certificate authority. Supported only for <code>HTTP</code> and\n <code>HTTP_PROXY</code> integrations.</p>\n <important>\n <p>Enabling <code>insecureSkipVerification</code> isn't recommended, especially for integrations with public\n HTTPS endpoints. If you enable <code>insecureSkipVerification</code>, you increase the risk of man-in-the-middle attacks.</p>\n </important>"
98699869
}
98709870
}
98719871
},

codegen/sdk/aws-models/appconfigdata.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@
8282
]
8383
}
8484
},
85-
"com.amazonaws.appconfigdata#Blob": {
86-
"type": "blob"
87-
},
8885
"com.amazonaws.appconfigdata#ConfigurationSession": {
8986
"type": "resource",
9087
"identifiers": {
@@ -166,11 +163,10 @@
166163
}
167164
},
168165
"Configuration": {
169-
"target": "com.amazonaws.appconfigdata#Blob",
166+
"target": "com.amazonaws.appconfigdata#SensitiveBlob",
170167
"traits": {
171168
"smithy.api#documentation": "<p>The data of the configuration. This may be empty if the client already has the latest\n version of configuration.</p>",
172-
"smithy.api#httpPayload": {},
173-
"smithy.api#sensitive": {}
169+
"smithy.api#httpPayload": {}
174170
}
175171
}
176172
}
@@ -318,6 +314,12 @@
318314
]
319315
}
320316
},
317+
"com.amazonaws.appconfigdata#SensitiveBlob": {
318+
"type": "blob",
319+
"traits": {
320+
"smithy.api#sensitive": {}
321+
}
322+
},
321323
"com.amazonaws.appconfigdata#StartConfigurationSession": {
322324
"type": "operation",
323325
"input": {
@@ -424,4 +426,4 @@
424426
}
425427
}
426428
}
427-
}
429+
}

codegen/sdk/aws-models/appstream.json

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1704,6 +1704,12 @@
17041704
"traits": {
17051705
"smithy.api#documentation": "<p>The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions. </p>"
17061706
}
1707+
},
1708+
"StreamingExperienceSettings": {
1709+
"target": "com.amazonaws.appstream#StreamingExperienceSettings",
1710+
"traits": {
1711+
"smithy.api#documentation": "<p>The streaming protocol you want your stack to prefer. This can be UDP or TCP. Currently, UDP is only supported in the Windows native client.</p>"
1712+
}
17071713
}
17081714
}
17091715
},
@@ -5463,6 +5469,21 @@
54635469
}
54645470
}
54655471
},
5472+
"com.amazonaws.appstream#PreferredProtocol": {
5473+
"type": "string",
5474+
"traits": {
5475+
"smithy.api#enum": [
5476+
{
5477+
"value": "TCP",
5478+
"name": "TCP"
5479+
},
5480+
{
5481+
"value": "UDP",
5482+
"name": "UDP"
5483+
}
5484+
]
5485+
}
5486+
},
54665487
"com.amazonaws.appstream#RedirectURL": {
54675488
"type": "string",
54685489
"traits": {
@@ -5934,6 +5955,12 @@
59345955
"traits": {
59355956
"smithy.api#documentation": "<p>The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.</p>"
59365957
}
5958+
},
5959+
"StreamingExperienceSettings": {
5960+
"target": "com.amazonaws.appstream#StreamingExperienceSettings",
5961+
"traits": {
5962+
"smithy.api#documentation": "<p>The streaming protocol you want your stack to prefer. This can be UDP or TCP. Currently, UDP is only supported in the Windows native client.</p>"
5963+
}
59375964
}
59385965
},
59395966
"traits": {
@@ -5987,6 +6014,10 @@
59876014
{
59886015
"value": "ACCESS_ENDPOINTS",
59896016
"name": "ACCESS_ENDPOINTS"
6017+
},
6018+
{
6019+
"value": "STREAMING_EXPERIENCE_SETTINGS",
6020+
"name": "STREAMING_EXPERIENCE_SETTINGS"
59906021
}
59916022
]
59926023
}
@@ -6315,6 +6346,20 @@
63156346
]
63166347
}
63176348
},
6349+
"com.amazonaws.appstream#StreamingExperienceSettings": {
6350+
"type": "structure",
6351+
"members": {
6352+
"PreferredProtocol": {
6353+
"target": "com.amazonaws.appstream#PreferredProtocol",
6354+
"traits": {
6355+
"smithy.api#documentation": "<p>The preferred protocol that you want to use while streaming your application.</p>"
6356+
}
6357+
}
6358+
},
6359+
"traits": {
6360+
"smithy.api#documentation": "<p>The streaming protocol you want your stack to prefer. This can be UDP or TCP. Currently, UDP is only supported in the Windows native client.</p>"
6361+
}
6362+
},
63186363
"com.amazonaws.appstream#StreamingUrlUserId": {
63196364
"type": "string",
63206365
"traits": {
@@ -6757,7 +6802,7 @@
67576802
}
67586803
],
67596804
"traits": {
6760-
"smithy.api#documentation": "<p>Updates the specified fleet.</p>\n <p>If the fleet is in the <code>STOPPED</code> state, you can update any attribute except\n the fleet name.</p>\n <p>If the fleet is in the <code>RUNNING</code> state, you can update the following based\n on the fleet type:</p>\n <ul>\n <li>\n <p>Always-On and On-Demand fleet types</p>\n <p>You can update the <code>DisplayName</code>, <code>ComputeCapacity</code>,\n <code>ImageARN</code>, <code>ImageName</code>,\n <code>IdleDisconnectTimeoutInSeconds</code>, and\n <code>DisconnectTimeoutInSeconds</code> attributes.</p>\n </li>\n <li>\n <p>Elastic fleet type</p>\n <p>You can update the <code>DisplayName</code>,\n <code>IdleDisconnectTimeoutInSeconds</code>,\n <code>DisconnectTimeoutInSeconds</code>, <code>MaxConcurrentSessions</code>,\n and <code>UsbDeviceFilterStrings</code> attributes.</p>\n </li>\n </ul>\n <p>If the fleet is in the <code>STARTING</code> or <code>STOPPED</code> state, you can't update it.</p>"
6805+
"smithy.api#documentation": "<p>Updates the specified fleet.</p>\n <p>If the fleet is in the <code>STOPPED</code> state, you can update any attribute except\n the fleet name.</p>\n <p>If the fleet is in the <code>RUNNING</code> state, you can update the following based\n on the fleet type:</p>\n <ul>\n <li>\n <p>Always-On and On-Demand fleet types</p>\n <p>You can update the <code>DisplayName</code>, <code>ComputeCapacity</code>,\n <code>ImageARN</code>, <code>ImageName</code>,\n <code>IdleDisconnectTimeoutInSeconds</code>, and\n <code>DisconnectTimeoutInSeconds</code> attributes.</p>\n </li>\n <li>\n <p>Elastic fleet type</p>\n <p>You can update the <code>DisplayName</code>,\n <code>IdleDisconnectTimeoutInSeconds</code>,\n <code>DisconnectTimeoutInSeconds</code>, <code>MaxConcurrentSessions</code>, <code>SessionScriptS3Location</code>\n and <code>UsbDeviceFilterStrings</code> attributes.</p>\n </li>\n </ul>\n <p>If the fleet is in the <code>STARTING</code> or <code>STOPPED</code> state, you can't update it.</p>"
67616806
}
67626807
},
67636808
"com.amazonaws.appstream#UpdateFleetRequest": {
@@ -7073,6 +7118,12 @@
70737118
"traits": {
70747119
"smithy.api#documentation": "<p>The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions. </p>"
70757120
}
7121+
},
7122+
"StreamingExperienceSettings": {
7123+
"target": "com.amazonaws.appstream#StreamingExperienceSettings",
7124+
"traits": {
7125+
"smithy.api#documentation": "<p>The streaming protocol you want your stack to prefer. This can be UDP or TCP. Currently, UDP is only supported in the Windows native client.</p>"
7126+
}
70767127
}
70777128
}
70787129
},

codegen/sdk/aws-models/appsync.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@
539539
"smithy.api#documentation": "<p>Maps an endpoint to your custom domain.</p>",
540540
"smithy.api#http": {
541541
"method": "POST",
542-
"uri": "/domainnames/{domainName}/apiassociation",
542+
"uri": "/v1/domainnames/{domainName}/apiassociation",
543543
"code": 200
544544
}
545545
}
@@ -1129,7 +1129,7 @@
11291129
"smithy.api#documentation": "<p>Creates a custom <code>DomainName</code> object.</p>",
11301130
"smithy.api#http": {
11311131
"method": "POST",
1132-
"uri": "/domainnames",
1132+
"uri": "/v1/domainnames",
11331133
"code": 200
11341134
}
11351135
}
@@ -1903,7 +1903,7 @@
19031903
"smithy.api#documentation": "<p>Deletes a custom <code>DomainName</code> object.</p>",
19041904
"smithy.api#http": {
19051905
"method": "DELETE",
1906-
"uri": "/domainnames/{domainName}",
1906+
"uri": "/v1/domainnames/{domainName}",
19071907
"code": 200
19081908
}
19091909
}
@@ -2223,7 +2223,7 @@
22232223
"smithy.api#documentation": "<p>Removes an <code>ApiAssociation</code> object from a custom domain.</p>",
22242224
"smithy.api#http": {
22252225
"method": "DELETE",
2226-
"uri": "/domainnames/{domainName}/apiassociation",
2226+
"uri": "/v1/domainnames/{domainName}/apiassociation",
22272227
"code": 200
22282228
}
22292229
}
@@ -2543,7 +2543,7 @@
25432543
"smithy.api#documentation": "<p>Retrieves an <code>ApiAssociation</code> object.</p>",
25442544
"smithy.api#http": {
25452545
"method": "GET",
2546-
"uri": "/domainnames/{domainName}/apiassociation",
2546+
"uri": "/v1/domainnames/{domainName}/apiassociation",
25472547
"code": 200
25482548
}
25492549
}
@@ -2728,7 +2728,7 @@
27282728
"smithy.api#documentation": "<p>Retrieves a custom <code>DomainName</code> object.</p>",
27292729
"smithy.api#http": {
27302730
"method": "GET",
2731-
"uri": "/domainnames/{domainName}",
2731+
"uri": "/v1/domainnames/{domainName}",
27322732
"code": 200
27332733
}
27342734
}
@@ -3529,7 +3529,7 @@
35293529
"smithy.api#documentation": "<p>Lists multiple custom domain names.</p>",
35303530
"smithy.api#http": {
35313531
"method": "GET",
3532-
"uri": "/domainnames",
3532+
"uri": "/v1/domainnames",
35333533
"code": 200
35343534
}
35353535
}
@@ -5076,7 +5076,7 @@
50765076
"smithy.api#documentation": "<p>Updates a custom <code>DomainName</code> object.</p>",
50775077
"smithy.api#http": {
50785078
"method": "POST",
5079-
"uri": "/domainnames/{domainName}",
5079+
"uri": "/v1/domainnames/{domainName}",
50805080
"code": 200
50815081
}
50825082
}

0 commit comments

Comments
 (0)