Skip to content

Commit 876fd54

Browse files
authored
Batch sync API models from upstream (#1752)
Syncs API models from upstream pulling in model updates that did not get published via the SDK's standard release flow.
1 parent a01a5c4 commit 876fd54

File tree

4 files changed

+33
-26
lines changed

4 files changed

+33
-26
lines changed

codegen/sdk-codegen/aws-models/appconfigdata.json

+9-7
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-codegen/aws-models/kafkaconnect.json

+19-14
Original file line numberDiff line numberDiff line change
@@ -471,11 +471,10 @@
471471
}
472472
},
473473
"connectorConfiguration": {
474-
"target": "com.amazonaws.kafkaconnect#__mapOf__string",
474+
"target": "com.amazonaws.kafkaconnect#__sensitive__mapOf__string",
475475
"traits": {
476476
"smithy.api#documentation": "<p>A map of keys to values that represent the configuration for the connector.</p>",
477-
"smithy.api#required": {},
478-
"smithy.api#sensitive": {}
477+
"smithy.api#required": {}
479478
}
480479
},
481480
"connectorDescription": {
@@ -734,11 +733,10 @@
734733
}
735734
},
736735
"propertiesFileContent": {
737-
"target": "com.amazonaws.kafkaconnect#__string",
736+
"target": "com.amazonaws.kafkaconnect#__sensitiveString",
738737
"traits": {
739738
"smithy.api#documentation": "<p>Base64 encoded contents of connect-distributed.properties file.</p>",
740-
"smithy.api#required": {},
741-
"smithy.api#sensitive": {}
739+
"smithy.api#required": {}
742740
}
743741
}
744742
}
@@ -1216,10 +1214,9 @@
12161214
}
12171215
},
12181216
"connectorConfiguration": {
1219-
"target": "com.amazonaws.kafkaconnect#__mapOf__string",
1217+
"target": "com.amazonaws.kafkaconnect#__sensitive__mapOf__string",
12201218
"traits": {
1221-
"smithy.api#documentation": "<p>A map of keys to values that represent the configuration for the connector.</p>",
1222-
"smithy.api#sensitive": {}
1219+
"smithy.api#documentation": "<p>A map of keys to values that represent the configuration for the connector.</p>"
12231220
}
12241221
},
12251222
"connectorDescription": {
@@ -2586,10 +2583,9 @@
25862583
}
25872584
},
25882585
"propertiesFileContent": {
2589-
"target": "com.amazonaws.kafkaconnect#__string",
2586+
"target": "com.amazonaws.kafkaconnect#__sensitiveString",
25902587
"traits": {
2591-
"smithy.api#documentation": "<p>Base64 encoded contents of the connect-distributed.properties file.</p>",
2592-
"smithy.api#sensitive": {}
2588+
"smithy.api#documentation": "<p>Base64 encoded contents of the connect-distributed.properties file.</p>"
25932589
}
25942590
},
25952591
"revision": {
@@ -2800,13 +2796,22 @@
28002796
}
28012797
}
28022798
},
2803-
"com.amazonaws.kafkaconnect#__mapOf__string": {
2799+
"com.amazonaws.kafkaconnect#__sensitiveString": {
2800+
"type": "string",
2801+
"traits": {
2802+
"smithy.api#sensitive": {}
2803+
}
2804+
},
2805+
"com.amazonaws.kafkaconnect#__sensitive__mapOf__string": {
28042806
"type": "map",
28052807
"key": {
28062808
"target": "com.amazonaws.kafkaconnect#__string"
28072809
},
28082810
"value": {
28092811
"target": "com.amazonaws.kafkaconnect#__string"
2812+
},
2813+
"traits": {
2814+
"smithy.api#sensitive": {}
28102815
}
28112816
},
28122817
"com.amazonaws.kafkaconnect#__string": {
@@ -2837,4 +2842,4 @@
28372842
}
28382843
}
28392844
}
2840-
}
2845+
}

service/kafkaconnect/deserializers.go

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

service/kafkaconnect/serializers.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)