Skip to content

Commit 1c04fe4

Browse files
feat: update AWS API models
1 parent 7928039 commit 1c04fe4

File tree

4 files changed

+533
-11
lines changed

4 files changed

+533
-11
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2683,7 +2683,7 @@
26832683
"schema": {
26842684
"target": "com.amazonaws.apigateway#String",
26852685
"traits": {
2686-
"smithy.api#documentation": "<p>The schema for the model. For <code>application/json</code> models, this should be JSON schema draft 4 model.</p>"
2686+
"smithy.api#documentation": "<p>The schema for the model. For <code>application/json</code> models, this should be JSON schema draft 4 model. The maximum size of the model is 400 KB.</p>"
26872687
}
26882688
},
26892689
"contentType": {
@@ -10543,7 +10543,7 @@
1054310543
"target": "com.amazonaws.apigateway#Boolean",
1054410544
"traits": {
1054510545
"smithy.api#default": false,
10546-
"smithy.api#documentation": "<p>Specifies whether a cache cluster is enabled for the stage.</p>"
10546+
"smithy.api#documentation": "<p>Specifies whether a cache cluster is enabled for the stage. To activate a method-level cache, set <code>CachingEnabled</code> to <code>true</code> for a method. </p>"
1054710547
}
1054810548
},
1054910549
"cacheClusterSize": {
@@ -12195,7 +12195,7 @@
1219512195
}
1219612196
],
1219712197
"traits": {
12198-
"smithy.api#documentation": "<p>Changes information about a model.</p>",
12198+
"smithy.api#documentation": "<p>Changes information about a model. The maximum size of the model is 400 KB.</p>",
1219912199
"smithy.api#http": {
1220012200
"method": "PATCH",
1220112201
"uri": "/restapis/{restApiId}/models/{modelName}",

codegen/sdk/aws-models/drs.json

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,12 @@
310310
"traits": {
311311
"smithy.api#documentation": "<p>A mapping between the volumes and their sizes</p>"
312312
}
313+
},
314+
"volumeToProductCodes": {
315+
"target": "com.amazonaws.drs#VolumeToProductCodes",
316+
"traits": {
317+
"smithy.api#documentation": "<p>A mapping between the volumes being converted and the product codes associated with them</p>"
318+
}
313319
}
314320
},
315321
"traits": {
@@ -911,6 +917,12 @@
911917
"smithy.api#default": 0,
912918
"smithy.api#documentation": "<p>The size of the replication backlog in bytes.</p>"
913919
}
920+
},
921+
"volumeStatus": {
922+
"target": "com.amazonaws.drs#VolumeStatus",
923+
"traits": {
924+
"smithy.api#documentation": "<p>The status of the volume.</p>"
925+
}
914926
}
915927
},
916928
"traits": {
@@ -5729,6 +5741,57 @@
57295741
}
57305742
}
57315743
},
5744+
"com.amazonaws.drs#ProductCode": {
5745+
"type": "structure",
5746+
"members": {
5747+
"productCodeId": {
5748+
"target": "com.amazonaws.drs#ProductCodeId",
5749+
"traits": {
5750+
"smithy.api#documentation": "<p>Id of a product code associated with a volume.</p>"
5751+
}
5752+
},
5753+
"productCodeMode": {
5754+
"target": "com.amazonaws.drs#ProductCodeMode",
5755+
"traits": {
5756+
"smithy.api#documentation": "<p>Mode of a product code associated with a volume.</p>"
5757+
}
5758+
}
5759+
},
5760+
"traits": {
5761+
"smithy.api#documentation": "<p>Properties of a product code associated with a volume.</p>"
5762+
}
5763+
},
5764+
"com.amazonaws.drs#ProductCodeId": {
5765+
"type": "string",
5766+
"traits": {
5767+
"smithy.api#length": {
5768+
"min": 25,
5769+
"max": 25
5770+
},
5771+
"smithy.api#pattern": "^([A-Za-z0-9])+$"
5772+
}
5773+
},
5774+
"com.amazonaws.drs#ProductCodeMode": {
5775+
"type": "string",
5776+
"traits": {
5777+
"smithy.api#enum": [
5778+
{
5779+
"name": "ENABLED",
5780+
"value": "ENABLED"
5781+
},
5782+
{
5783+
"name": "DISABLED",
5784+
"value": "DISABLED"
5785+
}
5786+
]
5787+
}
5788+
},
5789+
"com.amazonaws.drs#ProductCodes": {
5790+
"type": "list",
5791+
"member": {
5792+
"target": "com.amazonaws.drs#ProductCode"
5793+
}
5794+
},
57325795
"com.amazonaws.drs#PutLaunchAction": {
57335796
"type": "operation",
57345797
"input": {
@@ -9487,6 +9550,29 @@
94879550
]
94889551
}
94899552
},
9553+
"com.amazonaws.drs#VolumeStatus": {
9554+
"type": "string",
9555+
"traits": {
9556+
"smithy.api#enum": [
9557+
{
9558+
"value": "REGULAR",
9559+
"name": "REGULAR"
9560+
},
9561+
{
9562+
"value": "CONTAINS_MARKETPLACE_PRODUCT_CODES",
9563+
"name": "CONTAINS_MARKETPLACE_PRODUCT_CODES"
9564+
},
9565+
{
9566+
"value": "MISSING_VOLUME_ATTRIBUTES",
9567+
"name": "MISSING_VOLUME_ATTRIBUTES"
9568+
},
9569+
{
9570+
"value": "MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE",
9571+
"name": "MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE"
9572+
}
9573+
]
9574+
}
9575+
},
94909576
"com.amazonaws.drs#VolumeToConversionMap": {
94919577
"type": "map",
94929578
"key": {
@@ -9496,6 +9582,15 @@
94969582
"target": "com.amazonaws.drs#ConversionMap"
94979583
}
94989584
},
9585+
"com.amazonaws.drs#VolumeToProductCodes": {
9586+
"type": "map",
9587+
"key": {
9588+
"target": "com.amazonaws.drs#LargeBoundedString"
9589+
},
9590+
"value": {
9591+
"target": "com.amazonaws.drs#ProductCodes"
9592+
}
9593+
},
94999594
"com.amazonaws.drs#VolumeToSizeMap": {
95009595
"type": "map",
95019596
"key": {

0 commit comments

Comments
 (0)