Skip to content

Commit 2e64dbe

Browse files
authored
chore: sync AWS models and bump smithy-kotlin version (#724)
1 parent 84468f6 commit 2e64dbe

File tree

309 files changed

+29278
-15047
lines changed

Some content is hidden

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

309 files changed

+29278
-15047
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"id": "beeb9649-935f-4ba6-93fe-fa61f3784712",
3+
"type": "misc",
4+
"description": "Sync AWS service models"
5+
}

codegen/sdk/aws-models/accessanalyzer.json

Lines changed: 110 additions & 84 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/account.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"smithy": "1.0",
2+
"smithy": "2.0",
33
"shapes": {
44
"com.amazonaws.account#AccessDeniedException": {
55
"type": "structure",
@@ -19,6 +19,15 @@
1919
},
2020
"com.amazonaws.account#Account": {
2121
"type": "service",
22+
"version": "2021-02-01",
23+
"resources": [
24+
{
25+
"target": "com.amazonaws.account#AlternateContactResource"
26+
},
27+
{
28+
"target": "com.amazonaws.account#ContactInformationResource"
29+
}
30+
],
2231
"traits": {
2332
"aws.api#service": {
2433
"sdkId": "Account",
@@ -40,16 +49,7 @@
4049
"EventSource"
4150
],
4251
"smithy.api#title": "AWS Account"
43-
},
44-
"version": "2021-02-01",
45-
"resources": [
46-
{
47-
"target": "com.amazonaws.account#AlternateContactResource"
48-
},
49-
{
50-
"target": "com.amazonaws.account#ContactInformationResource"
51-
}
52-
]
52+
}
5353
},
5454
"com.amazonaws.account#AccountId": {
5555
"type": "string",
@@ -777,4 +777,4 @@
777777
}
778778
}
779779
}
780-
}
780+
}

codegen/sdk/aws-models/acm-pca.json

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"smithy": "1.0",
2+
"smithy": "2.0",
33
"metadata": {
44
"suppressions": [
55
{
@@ -31,21 +31,6 @@
3131
"shapes": {
3232
"com.amazonaws.acmpca#ACMPrivateCA": {
3333
"type": "service",
34-
"traits": {
35-
"aws.api#service": {
36-
"sdkId": "ACM PCA",
37-
"arnNamespace": "acm-pca",
38-
"cloudFormationName": "ACMPCA",
39-
"cloudTrailEventSource": "acmpca.amazonaws.com",
40-
"endpointPrefix": "acm-pca"
41-
},
42-
"aws.auth#sigv4": {
43-
"name": "acm-pca"
44-
},
45-
"aws.protocols#awsJson1_1": {},
46-
"smithy.api#documentation": "<p>This is the <i>Certificate Manager Private Certificate Authority (PCA) API Reference</i>. It provides descriptions,\n\t\t\tsyntax, and usage examples for each of the actions and data types involved in creating\n\t\t\tand managing a private certificate authority (CA) for your organization.</p>\n\t\t <p>The documentation for each action shows the API request parameters and the JSON\n\t\t\tresponse. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is\n\t\t\ttailored to the programming language or platform that you prefer. For more information,\n\t\t\tsee <a href=\"https://aws.amazon.com/tools/#SDKs\">Amazon Web Services SDKs</a>.</p>\n\t\t <p>Each ACM Private CA API operation has a quota that determines the number of times the\n\t\t\toperation can be called per second. ACM Private CA throttles API requests at different rates\n\t\t\tdepending on the operation. Throttling means that ACM Private CA rejects an otherwise valid\n\t\t\trequest because the request exceeds the operation's quota for the number of requests per\n\t\t\tsecond. When a request is throttled, ACM Private CA returns a <a href=\"https://docs.aws.amazon.com/acm-pca/latest/APIReference/CommonErrors.html\">ThrottlingException</a> error. ACM Private CA does not guarantee a minimum request\n\t\t\trate for APIs. </p>\n\t\t <p>To see an up-to-date list of your ACM Private CA quotas, or to request a quota increase,\n\t\t\tlog into your Amazon Web Services account and visit the <a href=\"https://console.aws.amazon.com/servicequotas/\">Service Quotas</a>\n\t\t\tconsole.</p>",
47-
"smithy.api#title": "AWS Certificate Manager Private Certificate Authority"
48-
},
4934
"version": "2017-08-22",
5035
"operations": [
5136
{
@@ -117,7 +102,22 @@
117102
{
118103
"target": "com.amazonaws.acmpca#UpdateCertificateAuthority"
119104
}
120-
]
105+
],
106+
"traits": {
107+
"aws.api#service": {
108+
"sdkId": "ACM PCA",
109+
"arnNamespace": "acm-pca",
110+
"cloudFormationName": "ACMPCA",
111+
"cloudTrailEventSource": "acmpca.amazonaws.com",
112+
"endpointPrefix": "acm-pca"
113+
},
114+
"aws.auth#sigv4": {
115+
"name": "acm-pca"
116+
},
117+
"aws.protocols#awsJson1_1": {},
118+
"smithy.api#documentation": "<p>This is the <i>Certificate Manager Private Certificate Authority (PCA) API Reference</i>. It provides descriptions,\n\t\t\tsyntax, and usage examples for each of the actions and data types involved in creating\n\t\t\tand managing a private certificate authority (CA) for your organization.</p>\n\t\t <p>The documentation for each action shows the API request parameters and the JSON\n\t\t\tresponse. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is\n\t\t\ttailored to the programming language or platform that you prefer. For more information,\n\t\t\tsee <a href=\"https://aws.amazon.com/tools/#SDKs\">Amazon Web Services SDKs</a>.</p>\n\t\t <p>Each ACM Private CA API operation has a quota that determines the number of times the\n\t\t\toperation can be called per second. ACM Private CA throttles API requests at different rates\n\t\t\tdepending on the operation. Throttling means that ACM Private CA rejects an otherwise valid\n\t\t\trequest because the request exceeds the operation's quota for the number of requests per\n\t\t\tsecond. When a request is throttled, ACM Private CA returns a <a href=\"https://docs.aws.amazon.com/acm-pca/latest/APIReference/CommonErrors.html\">ThrottlingException</a> error. ACM Private CA does not guarantee a minimum request\n\t\t\trate for APIs. </p>\n\t\t <p>To see an up-to-date list of your ACM Private CA quotas, or to request a quota increase,\n\t\t\tlog into your Amazon Web Services account and visit the <a href=\"https://console.aws.amazon.com/servicequotas/\">Service Quotas</a>\n\t\t\tconsole.</p>",
119+
"smithy.api#title": "AWS Certificate Manager Private Certificate Authority"
120+
}
121121
},
122122
"com.amazonaws.acmpca#ASN1PrintableString64": {
123123
"type": "string",
@@ -427,7 +427,10 @@
427427
}
428428
},
429429
"com.amazonaws.acmpca#Boolean": {
430-
"type": "boolean"
430+
"type": "boolean",
431+
"traits": {
432+
"smithy.api#default": false
433+
}
431434
},
432435
"com.amazonaws.acmpca#CertificateAuthorities": {
433436
"type": "list",
@@ -909,15 +912,15 @@
909912
"Enabled": {
910913
"target": "com.amazonaws.acmpca#Boolean",
911914
"traits": {
912-
"smithy.api#box": {},
915+
"smithy.api#default": null,
913916
"smithy.api#documentation": "<p>Boolean value that specifies whether certificate revocation lists (CRLs) are enabled.\n\t\t\tYou can use this value to enable certificate revocation for a new CA when you call the\n\t\t\t\t<a href=\"https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CreateCertificateAuthority.html\">CreateCertificateAuthority</a> action or for an existing CA when you call the\n\t\t\t\t<a href=\"https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_UpdateCertificateAuthority.html\">UpdateCertificateAuthority</a> action. </p>",
914917
"smithy.api#required": {}
915918
}
916919
},
917920
"ExpirationInDays": {
918921
"target": "com.amazonaws.acmpca#Integer1To5000",
919922
"traits": {
920-
"smithy.api#box": {},
923+
"smithy.api#default": null,
921924
"smithy.api#documentation": "<p>Validity period of the CRL in days.</p>"
922925
}
923926
},
@@ -1030,7 +1033,7 @@
10301033
"Critical": {
10311034
"target": "com.amazonaws.acmpca#Boolean",
10321035
"traits": {
1033-
"smithy.api#box": {},
1036+
"smithy.api#default": null,
10341037
"smithy.api#documentation": "<p></p>\n\t\t <p>Specifies the critical flag of the X.509 extension.</p>"
10351038
}
10361039
}
@@ -1894,7 +1897,6 @@
18941897
"com.amazonaws.acmpca#Integer1To5000": {
18951898
"type": "integer",
18961899
"traits": {
1897-
"smithy.api#box": {},
18981900
"smithy.api#range": {
18991901
"min": 1,
19001902
"max": 5000
@@ -2130,54 +2132,63 @@
21302132
"DigitalSignature": {
21312133
"target": "com.amazonaws.acmpca#Boolean",
21322134
"traits": {
2135+
"smithy.api#default": false,
21332136
"smithy.api#documentation": "<p> Key can be used for digital signing.</p>"
21342137
}
21352138
},
21362139
"NonRepudiation": {
21372140
"target": "com.amazonaws.acmpca#Boolean",
21382141
"traits": {
2142+
"smithy.api#default": false,
21392143
"smithy.api#documentation": "<p>Key can be used for non-repudiation.</p>"
21402144
}
21412145
},
21422146
"KeyEncipherment": {
21432147
"target": "com.amazonaws.acmpca#Boolean",
21442148
"traits": {
2149+
"smithy.api#default": false,
21452150
"smithy.api#documentation": "<p>Key can be used to encipher data.</p>"
21462151
}
21472152
},
21482153
"DataEncipherment": {
21492154
"target": "com.amazonaws.acmpca#Boolean",
21502155
"traits": {
2156+
"smithy.api#default": false,
21512157
"smithy.api#documentation": "<p>Key can be used to decipher data.</p>"
21522158
}
21532159
},
21542160
"KeyAgreement": {
21552161
"target": "com.amazonaws.acmpca#Boolean",
21562162
"traits": {
2163+
"smithy.api#default": false,
21572164
"smithy.api#documentation": "<p>Key can be used in a key-agreement protocol.</p>"
21582165
}
21592166
},
21602167
"KeyCertSign": {
21612168
"target": "com.amazonaws.acmpca#Boolean",
21622169
"traits": {
2170+
"smithy.api#default": false,
21632171
"smithy.api#documentation": "<p>Key can be used to sign certificates.</p>"
21642172
}
21652173
},
21662174
"CRLSign": {
21672175
"target": "com.amazonaws.acmpca#Boolean",
21682176
"traits": {
2177+
"smithy.api#default": false,
21692178
"smithy.api#documentation": "<p>Key can be used to sign CRLs.</p>"
21702179
}
21712180
},
21722181
"EncipherOnly": {
21732182
"target": "com.amazonaws.acmpca#Boolean",
21742183
"traits": {
2184+
"smithy.api#default": false,
21752185
"smithy.api#documentation": "<p>Key can be used only to encipher data.</p>"
21762186
}
21772187
},
21782188
"DecipherOnly": {
21792189
"target": "com.amazonaws.acmpca#Boolean",
21802190
"traits": {
2191+
"smithy.api#default": false,
21812192
"smithy.api#documentation": "<p>Key can be used only to decipher data.</p>"
21822193
}
21832194
}
@@ -2446,7 +2457,6 @@
24462457
"com.amazonaws.acmpca#MaxResults": {
24472458
"type": "integer",
24482459
"traits": {
2449-
"smithy.api#box": {},
24502460
"smithy.api#range": {
24512461
"min": 1,
24522462
"max": 1000
@@ -2468,7 +2478,7 @@
24682478
"Enabled": {
24692479
"target": "com.amazonaws.acmpca#Boolean",
24702480
"traits": {
2471-
"smithy.api#box": {},
2481+
"smithy.api#default": null,
24722482
"smithy.api#documentation": "<p>Flag enabling use of the Online Certificate Status Protocol (OCSP) for validating\n\t\t\tcertificate revocation status.</p>",
24732483
"smithy.api#required": {}
24742484
}
@@ -2509,7 +2519,6 @@
25092519
"com.amazonaws.acmpca#PermanentDeletionTimeInDays": {
25102520
"type": "integer",
25112521
"traits": {
2512-
"smithy.api#box": {},
25132522
"smithy.api#range": {
25142523
"min": 7,
25152524
"max": 30
@@ -2652,7 +2661,6 @@
26522661
"com.amazonaws.acmpca#PositiveLong": {
26532662
"type": "long",
26542663
"traits": {
2655-
"smithy.api#box": {},
26562664
"smithy.api#range": {
26572665
"min": 1
26582666
}
@@ -3350,7 +3358,7 @@
33503358
"Value": {
33513359
"target": "com.amazonaws.acmpca#PositiveLong",
33523360
"traits": {
3353-
"smithy.api#box": {},
3361+
"smithy.api#default": null,
33543362
"smithy.api#documentation": "<p>A long integer interpreted according to the value of <code>Type</code>, below.</p>",
33553363
"smithy.api#required": {}
33563364
}

codegen/sdk/aws-models/alexa-for-business.json

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"smithy": "1.0",
2+
"smithy": "2.0",
33
"metadata": {
44
"suppressions": [
55
{
@@ -794,14 +794,14 @@
794794
}
795795
},
796796
"com.amazonaws.alexaforbusiness#Boolean": {
797+
"type": "boolean"
798+
},
799+
"com.amazonaws.alexaforbusiness#Boolean2": {
797800
"type": "boolean",
798801
"traits": {
799-
"smithy.api#box": {}
802+
"smithy.api#default": false
800803
}
801804
},
802-
"com.amazonaws.alexaforbusiness#Boolean2": {
803-
"type": "boolean"
804-
},
805805
"com.amazonaws.alexaforbusiness#BulletPoint": {
806806
"type": "string"
807807
},
@@ -1074,7 +1074,6 @@
10741074
"com.amazonaws.alexaforbusiness#CategoryId": {
10751075
"type": "long",
10761076
"traits": {
1077-
"smithy.api#box": {},
10781077
"smithy.api#range": {
10791078
"min": 1
10801079
}
@@ -5366,18 +5365,14 @@
53665365
"com.amazonaws.alexaforbusiness#MaxResults": {
53675366
"type": "integer",
53685367
"traits": {
5369-
"smithy.api#box": {},
53705368
"smithy.api#range": {
53715369
"min": 1,
53725370
"max": 50
53735371
}
53745372
}
53755373
},
53765374
"com.amazonaws.alexaforbusiness#MaxVolumeLimit": {
5377-
"type": "integer",
5378-
"traits": {
5379-
"smithy.api#box": {}
5380-
}
5375+
"type": "integer"
53815376
},
53825377
"com.amazonaws.alexaforbusiness#MeetingRoomConfiguration": {
53835378
"type": "structure",
@@ -5427,10 +5422,7 @@
54275422
}
54285423
},
54295424
"com.amazonaws.alexaforbusiness#Minutes": {
5430-
"type": "integer",
5431-
"traits": {
5432-
"smithy.api#box": {}
5433-
}
5425+
"type": "integer"
54345426
},
54355427
"com.amazonaws.alexaforbusiness#NameInUseException": {
54365428
"type": "structure",
@@ -7541,7 +7533,6 @@
75417533
"com.amazonaws.alexaforbusiness#SkillListMaxResults": {
75427534
"type": "integer",
75437535
"traits": {
7544-
"smithy.api#box": {},
75457536
"smithy.api#range": {
75467537
"min": 1,
75477538
"max": 10
@@ -7591,6 +7582,7 @@
75917582
"SupportsLinking": {
75927583
"target": "com.amazonaws.alexaforbusiness#Boolean2",
75937584
"traits": {
7585+
"smithy.api#default": false,
75947586
"smithy.api#documentation": "<p>Linking support for a skill.</p>"
75957587
}
75967588
},
@@ -7704,6 +7696,7 @@
77047696
"SupportsLinking": {
77057697
"target": "com.amazonaws.alexaforbusiness#Boolean2",
77067698
"traits": {
7699+
"smithy.api#default": false,
77077700
"smithy.api#documentation": "<p>Linking support for a skill.</p>"
77087701
}
77097702
}
@@ -8089,7 +8082,6 @@
80898082
"com.amazonaws.alexaforbusiness#TimeToLiveInSeconds": {
80908083
"type": "integer",
80918084
"traits": {
8092-
"smithy.api#box": {},
80938085
"smithy.api#range": {
80948086
"min": 1,
80958087
"max": 3600
@@ -8106,10 +8098,7 @@
81068098
}
81078099
},
81088100
"com.amazonaws.alexaforbusiness#TotalCount": {
8109-
"type": "integer",
8110-
"traits": {
8111-
"smithy.api#box": {}
8112-
}
8101+
"type": "integer"
81138102
},
81148103
"com.amazonaws.alexaforbusiness#TrustAnchor": {
81158104
"type": "string",

0 commit comments

Comments
 (0)