O'Reilly logo

Effective Amazon Machine Learning by Alexis Perrier

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Picking up CLI syntax

The overall format of any AWS CLI command is as follows:

$ aws <service> [options] <command> <subcommand> [parameters]

Here the terms are stated as:

  • <service>: Is the name of the service you are managing: S3, machine learning, and EC2
  • [options] : Allows you to set the region, the profile, and the output of the command
  • <command> <subcommand>: Is the actual command you want to execute
  •  [parameters] : Are the parameters for these commands

A simple example will help you understand the syntax better. To list the content of an S3 bucket named aml.packt, the command is as follows:

$ aws s3 ls aml.packt

Here, s3 is the service, ls is the command, and aml.packt is the parameter. The aws help command will output a list of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required