Steve Pulec
f612d21129
Merge pull request #1616 from barryoneill/bugfix/1615-cloudwatch-statistics
...
Issue 1615 - missing Value should not kill put_metric_data
2018-05-29 22:19:41 -04:00
Steve Pulec
69587c151c
Merge branch 'master' into bugfix/1615-cloudwatch-statistics
2018-05-29 22:19:25 -04:00
Steve Pulec
939329efa7
Merge pull request #1613 from nimbis/lambda-govcloud-backend
...
Add gocloud to lambda back ends
2018-05-29 22:12:11 -04:00
Steve Pulec
3df3b5b963
Merge pull request #1623 from bclodius/master
...
Fixes #1608
2018-05-29 22:10:39 -04:00
Steve Pulec
bc1bdd7ae1
Merge pull request #1586 from DHager/accept_non_json_redrive_policy
...
Fix Cloudformation not accepting non-JSON SQS redrive policy
2018-05-29 22:07:00 -04:00
Steve Pulec
c2b264d593
Merge pull request #1593 from fujimotos/sf/describe-log-groups
...
Implement describe_log_groups() method for CloudWatchLogs
2018-05-29 22:04:54 -04:00
Steve Pulec
9b8295c868
Merge pull request #1611 from thehesiod/fix-copy-source-query
...
fix for issue 1610
2018-05-29 21:59:17 -04:00
Steve Pulec
b5bdf6693c
Require version of responses that supports callbacks.
2018-05-29 21:57:54 -04:00
Steve Pulec
6e363c44de
Merge pull request #1607 from theothertom/add-additional-job-status-data
...
1606 Add additional fields to Batch job status endpoint
2018-05-29 21:54:05 -04:00
Steve Pulec
a6d280de26
Merge pull request #1618 from jbergknoff-rival/jbergknoff/ssl
...
Accept paths to user-controlled SSL cert
2018-05-29 21:52:15 -04:00
Steve Pulec
11b2073b87
Merge pull request #1597 from bpandola/fix-1506
...
Add support for Redshift.Waiter.ClusterRestored
2018-05-29 21:48:47 -04:00
Steve Pulec
ffde404f2a
Merge pull request #1620 from benjolitz/patch-1
...
Allow dashes, underscores in SNS topic creates for first/last characters
2018-05-29 21:47:26 -04:00
Steve Pulec
1ed9afd875
Merge pull request #1622 from benjolitz/ses_header_parse
...
Support optional Source, parse from header
2018-05-29 21:46:37 -04:00
cpitchford
ffc2f4ca05
Spaces also exist in AutoScalingGroupARN
...
AutoScalingGroupARN has whitespace and newline that leaks into describe_auto_scaling_groups
2018-05-16 18:46:50 +01:00
cpitchford
fc32a79139
New line in LaunchConfigurationARN statement
...
The statement that defines LaunchConfigurationARN had a newline and whitespace prefix
The ARN reported in describe_launch_configurations has this newline and white space.
Arns should not have whitespace or newlines!
2018-05-16 18:13:44 +01:00
Alan Justino da Silva
d4cc7f1399
LambdaVersion providing ARN on __repr__
...
Just a dirty patch
2018-05-15 15:13:01 -03:00
cpitchford
176f19136c
Action is now recorded as event:PutEvents (fully qualified)
...
We no longer need to amend how the Action is reported in the describe_event_bus policy
2018-05-15 18:58:16 +01:00
cpitchford
b6e795ce61
Testing using fully qualified Action events:PutEvents
...
The Action parameter to put_permission must be fully qualified as events:PutEvents as per:
http://boto3.readthedocs.io/en/latest/reference/services/events.html#CloudWatchEvents.Client.put_permission
2018-05-15 18:30:30 +01:00
cpitchford
b61989cb35
Bugfix: put_permission action parameter
...
Boto3/AWS requires that the Action parameter of put_permissions is fully qualified as "events:PutEvents" not "PutEvents"
2018-05-15 18:28:35 +01:00
cpitchford
e85106c708
describe_event_bus returns json, not dict
...
Correct the assumption that describe_event_bus()['Policy'] is a dict
As per
http://boto3.readthedocs.io/en/latest/reference/services/events.html#CloudWatchEvents.Client.describe_event_bus
It should be a JSON encoded string
Here we decode the JSON before we look inside the policy
2018-05-15 17:04:59 +01:00
cpitchford
1e01356f99
Bugfix: describe_event_bus()['Policy'] should be JSON string, not object
...
boto3.client('events')['Policy'] must be a string as per:
http://boto3.readthedocs.io/en/latest/reference/services/events.html#CloudWatchEvents.Client.describe_event_bus
Adding json.dumps() around the policy value ensures we do not return an unexpected dict
This change corrects an error when attempting to decode the policy:
json.load(boto3.client('events').describe_event_bus()['Policy'])
2018-05-15 16:45:49 +01:00
Mau Zsófia Ábrahám
64fc0d3556
add region for test
2018-05-14 14:16:39 +02:00
Mau Zsófia Ábrahám
2e75d0219c
Support dynamodb2 nested map creation to mirror actual db
2018-05-14 14:02:14 +02:00
zane
12188733b7
adding Address reallocate capability for EIP
2018-05-10 23:39:19 -07:00
Stephan Huber
33e56461a1
Removed unused import
2018-05-09 09:26:34 +02:00
Stephan Huber
4b4ce5acde
Added create_job and describe_job to aws iot mock
2018-05-09 09:22:12 +02:00
Stephan Huber
af7ac58d82
Fixes #1633
2018-05-09 09:21:15 +02:00
Stephan Huber
ecbaf76413
Fixes #1624
2018-05-09 09:20:48 +02:00
jbergknoff-10e
e111cd1ff9
Implement some of cognito-idp
2018-05-07 09:38:04 -05:00
bclodius
1a0a951b06
Fixes #1608
2018-05-05 15:22:29 -04:00
Ben Jolitz
45b529fef4
parameterize topic name create/delete
2018-05-04 19:17:56 -07:00
Ben Jolitz
289d361463
add check for at least 1 character as the minumum length
...
REF: http://boto3.readthedocs.io/en/latest/reference/services/sns.html#SNS.Client.create_topic
2018-05-04 19:17:37 -07:00
Ben Jolitz
d21c387eb6
Support optional Source, parse from header
...
The Email ``from`` header is either formatted as ``name <address>`` or ``address``.
This commit will use `parseaddr` to extract a ``(name, address)`` tuple, which we will use the ``address`` to check if it's verified.
Also support the case where ``Source`` is omitted (which AWS requires the ``from`` header to be set).
2018-05-04 18:58:52 -07:00
Ben Jolitz
0ed18c8b8a
remove extraneous backslash
2018-05-04 16:33:43 -07:00
Ben Jolitz
b08fc8bede
allow topic names to start/end with _
, -
2018-05-04 16:30:47 -07:00
jbergknoff-10e
86fed8ba27
lint
2018-05-04 16:42:16 -05:00
Barry O'Neill
9e7b86faef
Issue 1615 - missing Value should not kill put_metric_data
2018-05-03 19:47:36 -04:00
jbergknoff-10e
2ac8954b13
Accept paths to user-controlled SSL cert
2018-05-03 14:09:56 -05:00
djkiourtsis
5d6655a7ee
Add gocloud backend to lambda backends
...
Boto does does not include the govcloud backends when displaying lambda
regions. In order to test lambda with a govcloud region, the region
must be explicitly added.
2018-05-03 11:42:52 -04:00
Alexander Mohr
07540a35fe
add unittest
2018-05-03 02:30:29 -07:00
Alexander Mohr
93a404ec37
pep
2018-05-03 02:10:17 -07:00
Alexander Mohr
7a57dc2034
fix errors
2018-05-03 01:40:49 -07:00
Alexander Mohr
22b0298ff9
Merge remote-tracking branch 'spulec/master'
2018-05-02 22:38:45 -07:00
Tom Grace
94fa94c2df
1606 Add additional fields to Batch job status endpoint
2018-05-02 13:39:54 +01:00
Alex Casalboni
cb364eedc6
Implement SSM Parameter Store filters support (GetParametersByPath API) ( #1604 )
...
* added tests for SSM Parameter Store filters (GetParametersByPath - ParameterStringFilter)
* implemented SSM Parameter Store filters support (only for get_parameters_by_path API)
* adding myself to authors file
2018-04-30 11:02:46 -07:00
wblackconv
ba2ea8e1b3
Add tests for message attribute validation in SNS ( #1582 )
...
* Add tests for message attribute validation in SNS
Fixes up bug in return value of
moto.sns.responses.SNSResponse._parse_message_attributes due to
accidental recycling of a variable.
* Fix test_sns.test_publish_to_http in py36 env
Http response is encoded as a byte string which json.loads can't handle.
2018-04-27 15:10:30 -07:00
Mike Liu
a0882316ec
Tests for ListCommands SSM API endpoint.
...
Test that ListCommands returns commands sent by SendCommand as well as
filters by CommandId and InstanceId. In addition update the SendCommand
test for optional parameters.
2018-04-25 16:27:07 -04:00
Mike Liu
1016487c78
Implement the ListCommands API endpoint for the SSM client.
...
Currently only supports getting commands by CommandId and InstanceIds.
2018-04-25 16:25:44 -04:00
Mike Liu
a974a3dfe4
Create a Command class for the ssm backend.
...
This class will make it easier to keep track of commands in a list for
the SSM backend later on when we implement the ListCommands API call.
2018-04-25 16:22:10 -04:00
Brian Pandola
e1d9c2878f
Add support for Redshift.Waiter.ClusterRestored
...
* Add `restored_from_snapshot` boolean to Cluster metadata.
* Return `RestoreStatus` from describe_db_clusters if cluster was restored from a snapshot.
Fixes #1506
2018-04-24 17:30:17 -07:00