Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . configure ]



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.


--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