[ aws . configure ]

add-model

Description

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.

Synopsis

  add-model
--service-model <value>
[--service-name <value>]

Options

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

Examples

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