Submit
Path:
~
/
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
apigateway
/
File Content:
create-model.rst
**To create a model for an API in the specified region** Command:: aws apigateway create-model --rest-api-id 1234123412 --name 'firstModel' --description 'The First Model' --content-type 'application/json' --schema '{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "firstModel", "type": "object", "properties": { "firstProperty" : { "type": "object", "properties": { "key": { "type": "string" } } } } }' --region us-west-2 Output:: { "contentType": "application/json", "description": "The First Model", "name": "firstModel", "id": "2rzg0l", "schema": "{ \"$schema\": \"http://json-schema.org/draft-04/schema#\", \"title\": \"firstModel\", \"type\": \"object\", \"properties\": { \"firstProperty\" : { \"type\": \"object\", \"properties\": { \"key\": { \"type\": \"string\" } } } } }" }
Submit
FILE
FOLDER
Name
Size
Permission
Action
create-api-key.rst
279 bytes
0644
create-authorizer.rst
1670 bytes
0644
create-base-path-mapping.rst
234 bytes
0644
create-deployment.rst
724 bytes
0644
create-domain-name.rst
303 bytes
0644
create-model.rst
848 bytes
0644
create-resource.rst
196 bytes
0644
create-rest-api.rst
429 bytes
0644
create-stage.rst
595 bytes
0644
create-usage-plan-key.rst
217 bytes
0644
create-usage-plan.rst
301 bytes
0644
delete-api-key.rst
164 bytes
0644
delete-authorizer.rst
187 bytes
0644
delete-base-path-mapping.rst
206 bytes
0644
delete-client-certificate.rst
165 bytes
0644
delete-deployment.rst
180 bytes
0644
delete-domain-name.rst
158 bytes
0644
delete-integration-response.rst
281 bytes
0644
delete-integration.rst
231 bytes
0644
delete-method-response.rst
272 bytes
0644
delete-method.rst
211 bytes
0644
delete-model.rst
181 bytes
0644
delete-resource.rst
174 bytes
0644
delete-rest-api.rst
139 bytes
0644
delete-stage.rst
162 bytes
0644
delete-usage-plan-key.rst
187 bytes
0644
delete-usage-plan.rst
117 bytes
0644
flush-stage-authorizers-cache.rst
174 bytes
0644
flush-stage-cache.rst
151 bytes
0644
generate-client-certificate.rst
189 bytes
0644
get-account.rst
324 bytes
0644
get-api-key.rst
495 bytes
0644
get-api-keys.rst
554 bytes
0644
get-authorizer.rst
538 bytes
0644
get-authorizers.rst
622 bytes
0644
get-base-path-mapping.rst
289 bytes
0644
get-base-path-mappings.rst
483 bytes
0644
get-client-certificate.rst
159 bytes
0644
get-client-certificates.rst
502 bytes
0644
get-deployment.rst
264 bytes
0644
get-deployments.rst
358 bytes
0644
get-domain-name.rst
358 bytes
0644
get-domain-names.rst
430 bytes
0644
get-export.rst
650 bytes
0644
get-integration-response.rst
360 bytes
0644
get-integration.rst
696 bytes
0644
get-method-response.rst
359 bytes
0644
get-method.rst
1112 bytes
0644
get-model-template.rst
239 bytes
0644
get-model.rst
462 bytes
0644
get-models.rst
975 bytes
0644
get-resource.rst
272 bytes
0644
get-resources.rst
453 bytes
0644
get-rest-api.rst
225 bytes
0644
get-rest-apis.rst
289 bytes
0644
get-sdk.rst
1156 bytes
0644
get-stage.rst
1486 bytes
0644
get-stages.rst
1026 bytes
0644
get-usage-plan-key.rst
207 bytes
0644
get-usage-plan-keys.rst
153 bytes
0644
get-usage-plan.rst
126 bytes
0644
get-usage-plans.rst
119 bytes
0644
get-usage.rst
178 bytes
0644
import-rest-api.rst
191 bytes
0644
put-integration-response.rst
712 bytes
0644
put-integration.rst
884 bytes
0644
put-method-response.rst
319 bytes
0644
put-method.rst
357 bytes
0644
put-rest-api.rst
465 bytes
0644
test-invoke-authorizer.rst
244 bytes
0644
test-invoke-method.rst
509 bytes
0644
update-account.rst
468 bytes
0644
update-api-key.rst
1022 bytes
0644
update-authorizer.rst
1421 bytes
0644
update-base-path-mapping.rst
332 bytes
0644
update-client-certificate.rst
263 bytes
0644
update-deployment.rst
331 bytes
0644
update-domain-name.rst
432 bytes
0644
update-integration-response.rst
794 bytes
0644
update-integration.rst
1171 bytes
0644
update-method-response.rst
666 bytes
0644
update-method.rst
493 bytes
0644
update-model.rst
608 bytes
0644
update-resource.rst
763 bytes
0644
update-rest-api.rst
412 bytes
0644
update-stage.rst
640 bytes
0644
update-usage-plan.rst
860 bytes
0644
update-usage.rst
295 bytes
0644
N4ST4R_ID | Naxtarrr