Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

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 ]

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