Adds a service JSON model to the appropriate location in ~/.aws/models. Once the model gets added, CLI commands and Boto3 clients will be immediately available for the service JSON model provided.
See ‘aws help’ for descriptions of global parameters.
add-model
--service-model <value>
[--service-name <value>]
--service-model
(string)
The contents of the service JSON model.
--service-name
(string)
Overrides the default name used by the service JSON model to generate CLI service commands and Boto3 clients.
See ‘aws help’ for descriptions of global parameters.
Add a model
The following command adds a service model from a file named service.json
:
aws configure add-model --service-model file://service.json
Adding a model replaces existing commands for the service defined in the model. To leave existing commands as-is, specify a different service name to use for the new commands:
aws configure add-model --service-model file://service.json --service-name service2