Skip to content

Commit fa39ef5

Browse files
author
awstools
committed
docs(client-api-gateway): Documentation updates for Amazon API Gateway.
1 parent fcd3aba commit fa39ef5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

clients/client-api-gateway/src/commands/UpdateModelCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface UpdateModelCommandOutput extends Model, __MetadataBearer {}
2828

2929
/**
3030
* @public
31-
* <p>Changes information about a model.</p>
31+
* <p>Changes information about a model. The maximum size of the model is 400 KB.</p>
3232
* @example
3333
* Use a bare-bones client and the command you need to make an API call.
3434
* ```javascript

clients/client-api-gateway/src/models/models_0.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,7 +1357,7 @@ export interface CreateModelRequest {
13571357

13581358
/**
13591359
* @public
1360-
* <p>The schema for the model. For <code>application/json</code> models, this should be JSON schema draft 4 model.</p>
1360+
* <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>
13611361
*/
13621362
schema?: string;
13631363

@@ -2267,7 +2267,7 @@ export interface Stage {
22672267

22682268
/**
22692269
* @public
2270-
* <p>Specifies whether a cache cluster is enabled for the stage.</p>
2270+
* <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>
22712271
*/
22722272
cacheClusterEnabled?: boolean;
22732273

codegen/sdk-codegen/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}",

0 commit comments

Comments
 (0)