<commit_before>.. _index:

=============================
Moto: Mock AWS Services
=============================

A library that allows you to easily mock out tests based on
`AWS infrastructure`_.

Getting Started
---------------

If you've never used ``moto`` before, you should read the
:doc:`Getting Started with Moto <docs/getting_started>` guide to get familiar
with ``moto`` and its usage.

Currently implemented Services:
-------------------------------

+---------------------------+-----------------------+------------------------------------+
| Service Name              | Decorator             | Development Status                 |
+===========================+=======================+====================================+
| ACM                       | @mock_acm             | all endpoints done                 |
+---------------------------+-----------------------+------------------------------------+
| API Gateway               | @mock_apigateway      | core endpoints done                |
+---------------------------+-----------------------+------------------------------------+
| Autoscaling               | @mock_autoscaling     | core endpoints done                |
+---------------------------+-----------------------+------------------------------------+
| Cloudformation            | @mock_cloudformation  | core endpoints done                |
+---------------------------+-----------------------+------------------------------------+
| Cloudwatch                | @mock_cloudwatch      | basic endpoints done               |
+---------------------------+-----------------------+------------------------------------+
| CloudwatchEvents          | @mock_events          | all endpoints done                 |
+---------------------------+-----------------------+------------------------------------+
| Cognito Identity          | @mock_cognitoidentity | all endpoints done                 |
+---------------------------+-----------------------+------------------------------------+
| Cognito Identity Provider | @mock_cognitoidp      | all endpoints done                 |
+---------------------------+-----------------------+------------------------------------+
| Config                    | @mock_config          | basic endpoints done               |
+---------------------------+-----------------------+------------------------------------+
| Data Pipeline             | @mock_datapipeline    | basic endpoints done               |
+---------------------------+-----------------------+------------------------------------+
| DynamoDB                  | - @mock_dynamodb      | - core endpoints done              |
| DynamoDB2                 | - @mock_dynamodb2     | - core endpoints + partial indexes |
+---------------------------+-----------------------+------------------------------------+
| EC2                       | @mock_ec2             | core endpoints done                |
|     - AMI                 |                       |     - core endpoints done          |
|     - EBS                 |                       |     - core endpoints done          |
|     - Instances           |                       |     - all  endpoints done          |
|     - Security Groups     |                       |     - core endpoints done          |
|     - Tags                |                       |     - all  endpoints done          |
+---------------------------+-----------------------+------------------------------------+
| ECR                       | @mock_ecr             | basic endpoints done               |
+---------------------------+-----------------------+------------------------------------+
| ECS                       | @mock_ecs             | basic endpoints done               |
+---------------------------+-----------------------+------------------------------------+
| ELB                       | @mock_elb             | core endpoints done                |
+---------------------------+-----------------------+------------------------------------+
| ELBv2                     | @mock_elbv2           | all endpoints done                 |
+---------------------------+-----------------------+------------------------------------+
| EMR                       | @mock_emr             | core endpoints done                |
+---------------------------+-----------------------+------------------------------------+
| Glacier                   | @mock_glacier         | core endpoints done                |
+---------------------------+-----------------------+------------------------------------+
| IAM                       | @mock_iam             | core endpoints done                |
+---------------------------+-----------------------+------------------------------------+
| IoT                       | @mock_iot             | core endpoints done                |
|                           | @mock_iotdata         | core endpoints done                |
+---------------------------+-----------------------+------------------------------------+
| Kinesis                   | @mock_kinesis         | core endpoints done                |
+---------------------------+-----------------------+------------------------------------+
| KMS                       | @mock_kms             | basic endpoints done               |
+---------------------------+-----------------------+------------------------------------+
| Lambda                    | @mock_lambda          | basic endpoints done,              |
|                           |                       | requires docker                    |
+---------------------------+-----------------------+------------------------------------+
| Logs                      | @mock_logs            | basic endpoints done               |
+---------------------------+-----------------------+------------------------------------+
| Organizations             | @mock_organizations   | some core edpoints done            |
+---------------------------+-----------------------+------------------------------------+
| Polly                     | @mock_polly           | all endpoints done                 |
+---------------------------+-----------------------+------------------------------------+
| RDS                       | @mock_rds             | core endpoints done                |<commit_msg>Fix spelling typo<commit_after>.. _index:

=============================
Moto: Mock AWS Services
=============================

A library that allows you to easily mock out tests based on
`AWS infrastructure`_.

Getting Started
---------------

If you've never used ``moto`` before, you should read the
:doc:`Getting Started with Moto <docs/getting_started>` guide to get familiar
with ``moto`` and its usage.

Currently implemented Services:
-------------------------------

+---------------------------+-----------------------+------------------------------------+
| Service Name              | Decorator             | Development Status                 |
+===========================+=======================+====================================+
| ACM                       | @mock_acm             | all endpoints done                 |
+---------------------------+-----------------------+------------------------------------+
| API Gateway               | @mock_apigateway      | core endpoints done                |
+---------------------------+-----------------------+------------------------------------+
| Autoscaling               | @mock_autoscaling     | core endpoints done                |
+---------------------------+-----------------------+------------------------------------+
| Cloudformation            | @mock_cloudformation  | core endpoints done                |
+---------------------------+-----------------------+------------------------------------+
| Cloudwatch                | @mock_cloudwatch      | basic endpoints done               |
+---------------------------+-----------------------+------------------------------------+
| CloudwatchEvents          | @mock_events          | all endpoints done                 |
+---------------------------+-----------------------+------------------------------------+
| Cognito Identity          | @mock_cognitoidentity | all endpoints done                 |
+---------------------------+-----------------------+------------------------------------+
| Cognito Identity Provider | @mock_cognitoidp      | all endpoints done                 |
+---------------------------+-----------------------+------------------------------------+
| Config                    | @mock_config          | basic endpoints done               |
+---------------------------+-----------------------+------------------------------------+
| Data Pipeline             | @mock_datapipeline    | basic endpoints done               |
+---------------------------+-----------------------+------------------------------------+
| DynamoDB                  | - @mock_dynamodb      | - core endpoints done              |
| DynamoDB2                 | - @mock_dynamodb2     | - core endpoints + partial indexes |
+---------------------------+-----------------------+------------------------------------+
| EC2                       | @mock_ec2             | core endpoints done                |
|     - AMI                 |                       |     - core endpoints done          |
|     - EBS                 |                       |     - core endpoints done          |
|     - Instances           |                       |     - all  endpoints done          |
|     - Security Groups     |                       |     - core endpoints done          |
|     - Tags                |                       |     - all  endpoints done          |
+---------------------------+-----------------------+------------------------------------+
| ECR                       | @mock_ecr             | basic endpoints done               |
+---------------------------+-----------------------+------------------------------------+
| ECS                       | @mock_ecs             | basic endpoints done               |
+---------------------------+-----------------------+------------------------------------+
| ELB                       | @mock_elb             | core endpoints done                |
+---------------------------+-----------------------+------------------------------------+
| ELBv2                     | @mock_elbv2           | all endpoints done                 |
+---------------------------+-----------------------+------------------------------------+
| EMR                       | @mock_emr             | core endpoints done                |
+---------------------------+-----------------------+------------------------------------+
| Glacier                   | @mock_glacier         | core endpoints done                |
+---------------------------+-----------------------+------------------------------------+
| IAM                       | @mock_iam             | core endpoints done                |
+---------------------------+-----------------------+------------------------------------+
| IoT                       | @mock_iot             | core endpoints done                |
|                           | @mock_iotdata         | core endpoints done                |
+---------------------------+-----------------------+------------------------------------+
| Kinesis                   | @mock_kinesis         | core endpoints done                |
+---------------------------+-----------------------+------------------------------------+
| KMS                       | @mock_kms             | basic endpoints done               |
+---------------------------+-----------------------+------------------------------------+
| Lambda                    | @mock_lambda          | basic endpoints done,              |
|                           |                       | requires docker                    |
+---------------------------+-----------------------+------------------------------------+
| Logs                      | @mock_logs            | basic endpoints done               |
+---------------------------+-----------------------+------------------------------------+
| Organizations             | @mock_organizations   | some core endpoints done           |
+---------------------------+-----------------------+------------------------------------+
| Polly                     | @mock_polly           | all endpoints done                 |
+---------------------------+-----------------------+------------------------------------+
| RDS                       | @mock_rds             | core endpoints done                |
{'fraction_non_alphanumeric': 0.45132602826742896, 'fraction_numerical': 0.0009528346831824678, 'mean_word_length': 0.4527104959630911, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 27, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5472527', 'n_tokens_mistral': 2037, 'n_tokens_neox': 1781, 'n_words': 458}