The Serverless Application Model (SAM) comes in two parts: SAM templates and the SAM CLI. SAM templates use shorthand syntax to define serverless resources and functions in infrastructure as code templates, while the SAM CLI provides tooling for local development, packaging, and deploying serverless applications. The latest version of the SAM CLI streamlines the deployment process, removes the need for developers to manage their own S3 buckets, and provides clearer deployment feedback and outputs.