Commit Graph

2452 Commits

Author SHA1 Message Date
gruebel
8331d480ba Add codepipeline.untag_resource 2019-12-23 19:50:16 +01:00
gruebel
b96a46b98f Add codepipeline.tag_resource 2019-12-23 19:33:37 +01:00
gruebel
df951facc5 Add codepipeline.list_tags_for_resource 2019-12-22 11:42:15 +01:00
Waldemar Hummer
4ad111830b fix tests 2019-12-21 13:27:49 +01:00
Asher Foa
5bd3827b26 run black 2019-12-20 18:55:58 -08:00
Asher Foa
a6f14eee3f Add test to repo stream issue 2019-12-20 18:55:58 -08:00
Asher Foa
c2e444a210 Update tests. 2019-12-20 10:54:33 -08:00
Mike Grima
b8a1f85285
Merge pull request #2644 from gruebel/add-codepipeline-fix
CodePipeline - implement CRUD endpoints
2019-12-20 09:28:42 -08:00
gruebel
901be3a6d1 Remove unused import 2019-12-20 10:54:38 +01:00
Asher Foa
1415a93596 Implement List user tags 2019-12-19 19:45:56 -08:00
gruebel
a67660b8a4 Adjust tests to work in server mode 2019-12-19 21:41:32 +01:00
John Corrales
199ff05e4e parent 0f67a74d25
author John Corrales <jjcorrales3@gmail.com> 1576380101 -0800
committer John Corrales <jjcorrales3@gmail.com> 1576633072 -0800

added send_ssh_public_key
2019-12-17 17:38:49 -08:00
Mike Grima
91983b4823
Merge pull request #2610 from gruebel/fix-sns-get-subscription-attributes
Add missing attributes to SNS subscription
2019-12-17 08:36:59 -08:00
gruebel
03fd04db33 Use pytz instead of timezone 2019-12-17 17:22:46 +01:00
gruebel
8e03b1d525 Add codepipeline.delete_pipeline 2019-12-17 17:22:46 +01:00
gruebel
9871eda3c9 Add codepipeline.list_pipelines 2019-12-17 17:22:46 +01:00
gruebel
b2c44ce50d Add codepipeline.update_pipeline 2019-12-17 17:22:45 +01:00
gruebel
c84e465e4c Add codepipeline.get_pipeline 2019-12-17 17:22:45 +01:00
gruebel
076c8ace5f Add codepipeline.create_pipeline 2019-12-17 17:22:45 +01:00
Fabio Dias
743dd46399 black linting 2019-12-16 21:25:20 -05:00
Fabio Dias
fd9ac4b9a5 ACCOUNT_ID moved to moto.core, MOTO_ACCOUNT_ID env var override 2019-12-16 21:05:29 -05:00
Fabio Dias
bc615797b1 typo 2019-12-16 19:56:11 -05:00
Fabio Dias
b83a750630 Added references to moto.iam.models.ACCOUNT_ID instead of hardcoded id 2019-12-16 19:56:11 -05:00
Mike Grima
65b17e740d
Merge pull request #2611 from Sytten/fix/ssm-parameter
Add missing information in SSM parameters
2019-12-16 11:59:42 -08:00
Mike Grima
8e2e3cec5a
Merge pull request #2597 from ballwood/master
Add MaxSessionDuration field to IAM Role, Remove Description field from response if empty
2019-12-14 13:47:28 -08:00
Mike Grima
7b63b2818e
Merge pull request #2631 from kislyuk/patch-2
Batch: computeResources.instanceRole is an instance profile
2019-12-14 13:46:08 -08:00
Mike Grima
fb350bbcef
Merge pull request #2632 from kislyuk/patch-3
Batch: job definitions default to ACTIVE
2019-12-13 13:33:56 -08:00
Andrey Kislyuk
624dafcb5c Fix tests 2019-12-13 18:46:26 +00:00
Andrey Kislyuk
777ff5a62a Add test 2019-12-13 05:07:29 +00:00
Mike Grima
4386999ea7
Merge pull request #2613 from levinine/add_nat_gateway_id_to_route_and_describe_route_tables
Add nat_gateway_id to route and describe_route_tables
2019-12-12 18:33:11 -08:00
Mike Grima
ab73ab3ff5
Merge pull request #2609 from levinine/describe_nat_gateway_filter_support
Add describe_nat_gateway filters support
2019-12-12 18:29:05 -08:00
Mike Grima
61f28c308d
Merge pull request #2608 from aksagrimada/ssm_pagination
Add Pagination to ssm:get_parameters_by_path. Closes #1864
2019-12-12 18:22:33 -08:00
Mike Grima
8399bc4df5
Merge pull request #2606 from levinine/api_key_fix
api gateway handle duplicate api key values
2019-12-12 18:21:51 -08:00
Mike Grima
9f73a67cef
Merge pull request #2583 from trilliput/issue/1996
Improve parsing DynamoDB begins_with expression
2019-12-12 18:19:27 -08:00
Mike Grima
84ccdbd1cd Implemented S3 Public Access Block 2019-12-12 17:45:31 -08:00
Ilya Shmygol
704a12146b Improve error reporting for missing index 2019-12-12 10:49:07 +01:00
Ilya Shmygol
3a42079ec7 Merge remote master 2019-12-11 16:17:21 +01:00
Ilya Shmygol
be5986c0b5 Test query by non exists index 2019-12-11 15:08:45 +01:00
Mike Grima
4d5bf1c5c6
Merge pull request #2605 from bblommers/dynamodb_add_nested_stringsets
Dynamodb - DELETE/ADD item from/to nested sets
2019-12-09 14:14:56 -08:00
Mike Grima
c131dd2cac
Merge pull request #2604 from gruebel/fix-logs-get-log-events
Fix order and nextToken handling in logs.get_log_events
2019-12-09 14:14:11 -08:00
Mike Grima
872452eced
Merge pull request #2602 from atareshawty/ecs-list-task-definition-filtering
Add familyPrefix option to ecs:ListTaskDefinitions
2019-12-09 14:13:14 -08:00
Mike Grima
7e68b93091
Merge pull request #2601 from mwaaas/fix/get_policy
adding get policy endpoint
2019-12-09 14:11:50 -08:00
Mike Grima
1c5ea4b545
Merge pull request #2599 from bblommers/feature/#2010
CloudWatch - Implement list_metrics pagination
2019-12-09 14:11:05 -08:00
Mike Grima
90f5f7159d
Merge pull request #2598 from bblommers/feature/dynamodb_nested_list_append
Dynamodb: nested list_append
2019-12-09 14:10:00 -08:00
Mike Grima
b2264feac5
Merge pull request #2596 from gruebel/fix-ec2-revoke-security-group-egress
Fix ec2.revoke_security_group_egress for IpProtocol -1
2019-12-09 14:06:09 -08:00
Mike Grima
76aaa2df0f
Merge pull request #2595 from bblommers/feature/2317
Add CF update/delete methods for Lambda
2019-12-09 14:04:49 -08:00
Mike Grima
e00c12a1e6
Merge pull request #2594 from mwaaas/fix/fetch_secret_manage_via_arn
fixing fetch secret manager via arn
2019-12-09 14:03:37 -08:00
Mike Grima
8005f3260f
Merge pull request #2589 from Chagui-/master
iot describe_thing_group metadata implementation
2019-12-09 14:01:14 -08:00
Mike Grima
66dd1a0dff
Merge pull request #2547 from bblommers/feature/2546
AWS Lambda: Add Role validation when creating functions
2019-12-09 14:00:16 -08:00
Berislav Kovacki
43070a03ba Add nat_gateway_id to route and describe_route_tables 2019-12-02 19:20:00 +01:00
Emile Fugulin
b52fa636b6 Add missing information in SSM parameters 2019-11-30 20:05:01 -05:00
gruebel
deaeef521b Add missing attributes to SNS subscription 2019-11-30 15:51:43 +01:00
Berislav Kovacki
4322ecb254 Add describe_nat_gateway filters support
Support describe_nat_gateway filters by using nat-gateway-id, vpc-id,
subnet-id and state filter parameters.
2019-11-28 23:36:00 +01:00
Bert Blommers
e41bc9fc58 DynamoDB - DELETE item from nested sets 2019-11-28 13:22:20 +00:00
Adam Smith
051193e1bf Add Pagination to ssm:get_parameters_by_path. Closes #1864 2019-11-27 22:12:31 +00:00
Jovan Zivanov
a28183d150 fix lint errors 2019-11-27 16:12:30 +01:00
Jovan Zivanov
5260de8859 remove unnecessary comments 2019-11-27 15:55:29 +01:00
Jovan Zivanov
e3587afe01 api gateway handle duplicate api key values 2019-11-27 15:49:37 +01:00
Bert Blommers
6d7ad717df DynamoDB - ADD item to nested sets 2019-11-27 12:36:42 +00:00
gruebel
cea9c8c9a3 Fix order and nextToken handling in logs.get_log_events 2019-11-26 23:38:43 +01:00
Alex Tareshawty
df2279d39c Add familyPrefix option to ecs:ListTaskDefinitions
AWS defines this option as:
```
--family-prefix (string)
  The full family name with which to filter the ListTaskDefinitions
  results. Specifying a familyPrefix limits the listed task
  defini-tions to task definition revisions that belong to that
  family.
```

This option behaves differently than ecs:ListTaskDefinitionFamilies.
Instead of doing a comparison like `startswith`, it does a full string
comparison by matching the entire task definition family to the prefix.
For example, let's say there exists a task definition with the family
`super-cool-task-def`.

ListTaskDefinitionFamilies would look like this:

```
aws ecs list-task-definition-families --family-prefix super-cool
{
    "families": [
      "super-cool-task-def"
    ]
}
```

ListTaskDefinitions would look like this:

```
aws ecs list-task-definitions --family-prefix super-cool
{
    "taskDefinitionArns": []
}
```
2019-11-26 09:40:01 -05:00
mwas
625f28c882 adding get policy endpoint 2019-11-26 06:09:24 +03:00
Bert Blommers
36a5d80443 #2010 - Implement Cloudwwatch list_metrics pagination 2019-11-25 16:59:39 +00:00
Bert Blommers
21a1d4d604 DynamoDB - list_append operation can be made in a nested map 2019-11-25 15:19:22 +00:00
Barry Allwood
7c1cc01eb9 chore: add MaxSessionDuration to IAM Role
fix: Description field is optional on return of IAM Role
2019-11-24 18:19:09 +00:00
gruebel
5895231b5c Fix ec2.revoke_security_group_egress for IpProtocol -1 2019-11-24 17:17:53 +01:00
Bert Blommers
9c247f4b70
Specify region name for IAM 2019-11-24 15:33:51 +00:00
Bert Blommers
791c25b51c #2317 - Add CF Update/Delete methods for Lambda 2019-11-24 14:54:38 +00:00
Bert Blommers
8362179f70 Use deprecated IAM, only plays nice with deprecated CF 2019-11-23 10:18:56 +00:00
mwas
0e825a5048 lint 2019-11-23 13:02:00 +03:00
mwas
9decb8674d adding tests for describe secret with arn 2019-11-23 10:18:06 +03:00
mwas
b31f31d214 fixing fetch secret manager via arn 2019-11-23 09:29:30 +03:00
Chagui-
be605d603f Merge branch 'master' of https://github.com/spulec/moto 2019-11-22 16:34:33 -03:00
Anton Grübel
57c97e367e
Merge branch 'master' into add-organizations-tags 2019-11-22 16:35:20 +01:00
Steve Pulec
a9fe5d462c More linting. 2019-11-22 09:39:07 -05:00
Bert Blommers
d759f16331 Specify region name when creating Lambda roles 2019-11-22 08:12:47 +00:00
Bert Blommers
aa56715d83 Linting 2019-11-22 06:31:13 +00:00
Bert Blommers
5f6e8fd6fe Merge branch 'master' into feature/2546 2019-11-22 06:22:54 +00:00
Steve Pulec
72da9e96c2 Lint. 2019-11-21 17:53:58 -05:00
Steve Pulec
40f241adc2 Fix dynamodb required stream parameter for new boto3. 2019-11-21 17:00:18 -05:00
gruebel
ef7fce5a4f Fixed failing tests, due to a new required parameter StreamEnabled 2019-11-21 22:35:20 +01:00
gruebel
158db1f5d6 Move exception to dedicated class 2019-11-21 22:03:25 +01:00
Chagui-
e6a12f5bd7 -Applied Black 2019-11-21 17:57:45 -03:00
Chagui-
f5ba01c867 -Fixed forever
-Added test_describe_thing_group_metadata_hierarchy to test new functionality
2019-11-21 17:16:34 -03:00
Mike Grima
2af4e7a63a
Merge pull request #2578 from mikegrima/fixunmock
Fix for moto not unmocking
2019-11-20 10:06:51 -08:00
Bert Blommers
1d85288244 Ensure Flask sends through custom error messages 2019-11-20 08:57:38 +00:00
Bert Blommers
0ea98f22ee Merge branch 'master' into feature/2546 2019-11-19 08:00:59 +00:00
Mike Grima
bd777cad44 Fix for moto not unmocking.
- Fixes #2575
- Also upgraded Travis CI to make use of Bionic instead of Xenial
- This may also address concerns raised in #1793
2019-11-18 15:28:31 -08:00
Matt Conway
d9c8bdb2a0 Add the ssh_public_key methods that were missing from the IAM implementation 2019-11-18 09:02:32 -05:00
Mike Grima
27f36a7514 Fixed the Lambda invocation due to lambci changes.
It looks like lambci is pre-pending the "lambda" responses with an
escape character `\033`. This was breaking the unit tests.
2019-11-17 18:40:15 -08:00
Mike Grima
dab7f9fdad
Merge pull request #2574 from gruebel/add-iam-get-account-summary
Add iam.get_account_summary
2019-11-17 15:53:34 -08:00
gruebel
d0ef72725c Add organizations.untag_resource 2019-11-17 15:28:38 +01:00
gruebel
c10afa3ab5 Add organizations.list_tags_for_resource 2019-11-17 15:10:38 +01:00
gruebel
febec75364 Add organizations.tag_resource 2019-11-17 14:52:57 +01:00
gruebel
e9c3cba4d6 Fix tests 2019-11-17 14:34:00 +01:00
gruebel
d05ebadce8 Add iam.get_account_summary 2019-11-17 13:47:19 +01:00
Bert Blommers
c6dd3c96ea AWSLambda - refactor exception handling 2019-11-17 10:59:20 +00:00
Mike Grima
e70ad8fd12
Merge pull request #2569 from gruebel/fix-sns-publish-number-type
Fix sns.publish with number type and 0 value
2019-11-16 10:24:09 -08:00
Mike Grima
9a30b8e8d5
Merge pull request #2552 from bblommers/IAM-role-name-validation
IAM - Validate duplicate role names
2019-11-16 10:22:51 -08:00
Mike Grima
028aafd05b
Merge pull request #2555 from catherinetcai/feature/ec2-vpc-classic-link
Adds basic implementations for vpc-classic-link and vpc-classic-link-dns-support - Redo
2019-11-16 10:21:29 -08:00