Jay Udey
1321943d60
add test verifying solution
2020-02-05 09:03:45 -06:00
Ivan Dromigny
d8d057711d
Change from black linter
2020-02-05 14:19:08 +01:00
Ivan Dromigny
8115dd2d1b
Add test
2020-02-05 12:03:33 +01:00
Mike Grima
bb64258a8f
Fixed issue with Lambda invoke via ARN
...
- Fixed an issue where Lambda invokes via an ARN was hitting real AWS.
2020-02-04 22:12:11 -08:00
Jon Beilke
c9995412b5
add support for apigateway fields with default values including apiKeySource, endpointConfiguration, and tags
2020-02-03 10:21:22 -06:00
Bert Blommers
70b2d3ab3c
Merge pull request #2709 from blbradley/fix/localstack-split-stacks
...
throw ValidationError on non existing stack
2020-02-03 14:33:54 +00:00
Bert Blommers
e4eede7f9b
Merge pull request #2718 from gmcrocetti/bugfix/2690
...
RDS Feature: Add EnableIAMDatabaseAuthentication
2020-02-02 18:01:21 +00:00
Guilherme Martins Crocetti
9f8388e402
Change test name in favor of abbreviation
2020-02-02 13:19:50 -03:00
Guilherme Martins Crocetti
eb0687eeaa
Add failing test for EnableIAMDatabaseAuthentication snapshot
2020-02-02 13:08:13 -03:00
Guilherme Martins Crocetti
c36371e235
Add failing test for database creation with iam
2020-02-02 12:47:54 -03:00
Bert Blommers
e21ddb7abc
Use var instead of hardcoded string for region
2020-02-02 14:25:44 +00:00
Bert Blommers
ceb16b00a7
S3 LocationConstraint test can only be run in non-ServerMode
2020-02-02 12:45:57 +00:00
Bert Blommers
d5a36752d7
Add S3 LocationConstraint to CF tests
2020-02-02 12:44:26 +00:00
Bert Blommers
a86cba79de
Add S3 LocationConstraint to Lambda tests
2020-02-02 11:48:32 +00:00
Bert Blommers
f74f08581a
S3 - Add IllegalLocationConstraint validation when creating buckets
2020-02-02 10:36:51 +00:00
gruebel
40bd4f1603
Fix kms.create_key default output
2020-01-31 17:16:42 +01:00
Bert Blommers
b6aeae0f2d
Merge pull request #2707 from UltCombo/patch-1
...
Support greedy resource path in API Gateway
2020-01-31 15:27:35 +00:00
Brandon Bradley
8b3c2b6654
fix test
2020-01-30 17:50:21 -06:00
Brandon Bradley
b7795b7111
test for ListStackResources
2020-01-30 16:35:19 -06:00
gruebel
44024ab74b
Fix sqs permission handling & add more error handling
2020-01-30 22:42:27 +01:00
Fabrício Matté
cf65cfc6ec
Update API Gateway resource name test
2020-01-29 16:28:37 -03:00
Bert Blommers
da40c7125a
Merge pull request #2703 from brady-gsa/fix_lambda_config
...
Fixes awslambda policy management
2020-01-29 15:30:25 +00:00
Brady
dd243d72c2
switch to using sure for assertions
2020-01-29 09:46:09 -05:00
Bert Blommers
3cf45b7838
Merge pull request #2667 from owenfarrell/master
...
Made UserName parameter optional for IAM access key functions
2020-01-28 08:24:12 +00:00
Owen Farrell
142e237b0b
Made UserName parameter optional for IAM access key functions
2020-01-27 12:12:21 -05:00
Brady
cb07d17e13
don't use table of test cases and reduce duplication in get_policy method
2020-01-27 10:35:46 -05:00
Bert Blommers
4342b93170
Merge pull request #2702 from kislyuk/patch-5
...
awslambda: return actual result in sync invoke
2020-01-25 17:24:37 +00:00
Brady
2a2ff32dec
improves support for AWS lambda policy management
2020-01-24 14:53:16 -05:00
Andrey Kislyuk
324ef5af36
Fix test
2020-01-24 16:11:44 +00:00
Bert Blommers
ccd0257acc
Fix Lambda tests for DryRuns
2020-01-24 10:09:56 +00:00
Stephan Huber
5543a91cc1
Merge remote-tracking branch 'upstream/master'
2020-01-24 10:38:19 +01:00
Bert Blommers
ee8231202a
Fix linting
2020-01-24 09:08:48 +00:00
Roque Pinel
2ae09c5335
Fix the StatusCode
returned by lambda invoke
...
According to the AWS documentation:
```
The HTTP status code will be in the 200 range for successful request.
For the RequestResponse invocation type this status code will be 200.
For the Event invocation type this status code will be 202.
For the DryRun invocation type the status code will be 204.
```
2020-01-24 09:07:49 +00:00
Asher Foa
b4127040d1
remove this change.
2020-01-23 10:16:12 -08:00
Asher Foa
d9d055c75d
Fix more typos.
2020-01-23 10:15:02 -08:00
Stephan Huber
20020c5170
Change whitespaces back to the way they were and fix typos
2020-01-23 15:46:50 +01:00
Stephan Huber
84210f6011
Merge remote-tracking branch 'upstream/master'
2020-01-23 15:37:40 +01:00
Steve Pulec
663d7c289b
Merge pull request #2675 from bblommers/bugfix/#2674
...
DynamoDB - ListAppend should also work when adding maps to a list
2020-01-22 20:01:53 -06:00
Steve Pulec
c5b7b2f7af
Merge pull request #2687 from bblommers/bugfix/2626
...
DynamoDB - Update Item doesnt handle LT/GT properly
2020-01-22 20:01:00 -06:00
Steve Pulec
dff1986801
Merge pull request #2683 from Journera/ecs-td-add-network-mode
...
Store 'networkMode' in ECS Task Definitions instead of just throwing it away
2020-01-22 19:39:41 -06:00
Steve Pulec
a32b3c4b59
Fix SQS get_queue_attributes to allow RedrivePolicy. Closes #2682 .
2020-01-22 19:38:07 -06:00
Bert Blommers
7ff7ee4e8e
Test fix - Region must be specified
2020-01-22 11:42:06 +00:00
Bert Blommers
6f02782624
#2627 - Change comparison to differentiate between 0 and None
2020-01-22 11:30:17 +00:00
Steve Pulec
4335f1d3dd
Merge pull request #2669 from bblommers/lambda-return-output-only
...
AWS Lambda - Return response only, and skip log/print statements
2020-01-21 21:37:36 -06:00
Brady
1e851fb1d8
remove dead code
2020-01-17 10:12:58 -05:00
Brady
eaa8c8db6e
add tagging support to events
2020-01-16 21:03:32 -05:00
Bryan Alexander
85207b885b
updates KMS service to use TaggingService
2020-01-16 12:10:38 -06:00
Bert Blommers
1c4596c984
Merge pull request #2671 from franz-see/moto/issues/2670
...
moto/issues/2670 | Moved population of user attributes from accessToken to idToken
2020-01-16 05:57:17 +00:00
Bryan Alexander
6cb0428d20
adds tagging support for cloudwatch events service
2020-01-15 10:41:54 -06:00
Bert Blommers
a50d0695fe
Merge pull request #2661 from deanrock/route53-rrs-istruncated
...
Add IsTruncated to Route53.list_resource_record_sets
2020-01-15 15:39:09 +00:00
Franz See
db75c9e25c
moto/issues/2670 | Moved population of user attributes from accessToken to idToken
2020-01-15 23:33:09 +08:00
Bert Blommers
15889566b8
Merge pull request #2673 from franz-see/moto/issues/2672
...
moto/issues/2672 | Modified 'token_use' to return 'id' for an id toke…
2020-01-15 14:54:52 +00:00
Asher Foa
db559e7e06
Fix some typos
2020-01-14 09:55:32 -08:00
Bert Blommers
8c920cce10
Specify region in tests
2020-01-12 12:20:55 +00:00
Bert Blommers
9ce1ee49d7
#2626 - DynamoDB - FilterExpression should ignore items with non-existent attribute
2020-01-12 12:05:08 +00:00
Don Kuntz
fd1fdde1bf
Allow black to reformat correctly
2020-01-09 23:45:14 -06:00
Don Kuntz
2cb3f327de
Store 'networkMode' in ECS Task Definitions instead of just throwing it away
2020-01-09 23:00:33 -06:00
Bert Blommers
5884483019
Compare map, instead of string repr
2020-01-09 10:08:35 +00:00
Bert Blommers
cba3cfc384
Escape curly braces in formatting string
2020-01-09 09:10:16 +00:00
Bert Blommers
5f59cb7fb0
#2674 - ListAppend should also work when adding maps to a list
2020-01-06 08:16:09 +00:00
Franz See
a8e1a3bf08
moto/issues/2672 | Formatted using black
2020-01-06 13:29:23 +08:00
Franz See
68d882e6c0
moto/issues/2672 | Modified 'token_use' to return 'id' for an id token, and 'access' for an access token
2020-01-06 00:19:31 +08:00
Bert Blommers
eab9e15bf0
#2623 - Fix and simplify test in ServerMode
2020-01-05 15:01:31 +00:00
Jack Danger
d596560971
Merge pull request #2657 from gruebel/add-missing-regions
...
Add missing regions to all services
2020-01-02 17:27:25 -08:00
gruebel
cd9b7072a2
Adjust ec2 regions tests
2019-12-28 21:22:16 +01:00
Dejan Levec
877f3b056a
Add IsTruncated to Route53.list_resource_record_sets
2019-12-27 19:32:31 +01:00
Mike Grima
1db617a530
Merge pull request #2659 from gruebel/fix-sns-unsubscribe
...
Fix sns unsubscribe & delete_topic behavior
2019-12-27 09:10:24 -08:00
Mike Grima
d0d95420e7
Merge pull request #2655 from levinine/add-codecommit
...
add codecommit create, get and delete repository
2019-12-27 09:04:19 -08:00
Mike Grima
b86e1d073b
Merge pull request #2652 from gruebel/add-codepipeline-tags
...
Add codepipeline tags
2019-12-27 08:57:59 -08:00
Mike Grima
79aaad1068
Merge pull request #2651 from whummer/fix-s3-prefix
...
Avoid rendering "None" as S3 Prefix value
2019-12-27 08:56:06 -08:00
Mike Grima
eeedb2e6f8
Merge pull request #2650 from asherf/dynanmodb
...
Fix issue when working with dyanmodb stream and complex types.
2019-12-27 08:54:47 -08:00
Mike Grima
65664dcf85
Merge pull request #2648 from asherf/iam
...
Implement List user tags
2019-12-27 08:53:05 -08:00
Mike Grima
664e959856
Merge pull request #2639 from corrjo/instance_connect
...
Resolves #2637 added send_ssh_public_key
2019-12-27 08:51:27 -08:00
gruebel
2fb5004dc2
Fix sns unsubscribe & delete_topic behavior
2019-12-27 16:04:12 +01:00
gruebel
d7ba355a65
Add missing regions to all services
2019-12-26 17:12:22 +01:00
Jovan Zivanov
cb1eb79b89
add tests for codecommit
2019-12-26 16:06:53 +01:00
Jovan Zivanov
e20deb4acd
fix linter exceptions
2019-12-26 15:02:24 +01:00
Jovan Zivanov
a820aada42
add codecommit create, get and delete repository
2019-12-26 14:23:53 +01:00
Asher Foa
7d4c15d53e
skip part of the test in server mode.
2019-12-24 11:01:54 -08:00
Asher Foa
299e7851d6
Add assertions.
2019-12-24 10:23:46 -08:00
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
Stephan Huber
ed8d5edb50
fix linting errors
2019-12-23 09:01:53 +01:00
Stephan Huber
0527e88d46
Merge remote-tracking branch 'upstream/master'
2019-12-23 08:38:53 +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