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
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
jbergknoff-10e
2ac8954b13
Accept paths to user-controlled SSL cert
2018-05-03 14:09:56 -05: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
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
Iain Bullard
fad4394474
SQS add missing validation to ReceiveMessage ( #1595 )
...
* SQS receive_message - enforce bounds on MaxNumberOfMessages as AWS does
* SQS receive_message - enforce bounds on WaitTimeSeconds as AWS does
2018-04-24 09:51:49 -07:00
Fujimoto Seiji
ac016a7bb3
Implement describe_log_groups() method for CloudWatchLogs
...
This patch teaches `LogsResponse` class how to handle the DescribeLogGroups
request, so that we can mock out the `boto.describe_log_groups()` call.
With this change in place, we can write as below:
@mock_logs
def test_log_group():
conn = boto3.client('logs', 'us-west-2')
some_method_to_init_log_groups()
resp = conn.describe_log_groups(logGroupNamePrefix='myapp')
assert ...
This should be fairly useful for a number of programs which handles
CloudWatchLogs.
Signed-off-by: Fujimoto Seiji <fujimoto@clear-code.com>
2018-04-24 18:38:51 +09:00
Tom Elliff
21a264c337
Default TimeoutSeconds to 1 hour ( #1592 )
...
TimeoutSeconds isn't a required field so we can't rely on it being there.
Quick tests against the AWS API show that when it's not specified the ExpiresAfter field seems to be 1 hour after the request.
2018-04-23 11:41:54 -07:00
Steve Pulec
56a56fc626
Merge pull request #1589 from singingwolfboy/latest-dateutil
...
Allow dateutil below 3.0.0
2018-04-21 07:05:20 -04:00
David Baumgold
04b36b4488
Allow dateutil below 3.0.0
2018-04-21 09:46:12 +02:00
Darien Hager
3c9d8bca46
Remove whitespace to satisfy flake8 formatting
2018-04-20 11:46:12 -07:00
Darien Hager
5cd4d5e02f
Change SQS model to support non-JSON redrive policies. Does not affect other limitations in SQS APIs.
2018-04-19 23:25:10 -07:00
Darien Hager
4a275ccf95
Add failing unit-test (errors treating dict as json string)
2018-04-19 23:24:27 -07:00
Steve Pulec
11e3fa3200
Merge pull request #1584 from JohnVonNeumann/patch-1
...
UPDATE getting_started.rst - improve wording
2018-04-19 20:54:36 -04:00
Louis Willcock
e931456204
UPDATE getting_started.rst - improve wording
...
Found a few sentences in the Docs that I thought could be a bit more readable, hopefully improved them.
2018-04-20 10:25:28 +10:00
Steve Pulec
4081ece2ea
Merge pull request #1580 from DHager/sqs_group_id
...
Fix missing MessageGroupId and MessageDeduplicationId
2018-04-19 07:46:24 -04:00
Darien Hager
6556ba89cd
Basic plumbing to preserve MessageGroupId and MessageDeduplicationID, if they are provided.
2018-04-19 00:22:58 -07:00
Darien Hager
6332ed9df9
Add test that certain FIFO-queue attributes flow through from sender to receiver
2018-04-19 00:16:03 -07:00
Steve Pulec
8fa4c64c15
Merge pull request #1473 from Logicworks/feature/ebs-copy-snapshot
...
Add support for copying EBS snapshots
2018-04-18 22:51:54 -04:00
Steve Pulec
311966e28d
Add IAMDatabaseAuthenticationEnabled and DbiResourceId to RDS response. Closes #1465 .
2018-04-18 22:47:02 -04:00
Steve Pulec
05f16cfcf9
Fixes to dynamodb empty keys.
2018-04-18 22:23:17 -04:00
Steve Pulec
f37bae5b57
Merge pull request #1574 from wblackconv/add-msg-attributes
...
Include SNS message attributes with message body when delivering to SQS.
2018-04-18 21:19:21 -04:00
Steve Pulec
a90b7d4aac
Merge pull request #1576 from mikegrima/snsregions
...
SNS support for all boto3 regions.
2018-04-18 21:15:39 -04:00
Steve Pulec
39390585b5
Merge pull request #1579 from spulec/version-1.3.3
...
Version 1.3.3
2018-04-18 18:51:59 -04:00
Steve Pulec
cac41a39a0
update changelog.
2018-04-18 18:41:51 -04:00
Steve Pulec
9a1dcddf1e
Updating implementation coverage
2018-04-18 18:40:42 -04:00
Steve Pulec
7cc08a9c5c
bumping to version 1.3.3
2018-04-18 18:40:32 -04:00
Steve Pulec
9f7330a588
Update changelog.
2018-04-18 18:40:30 -04:00
Steve Pulec
2ecb04d6e0
Revert errant change to S3 urls in cd1c6d3e6c
.
2018-04-18 16:15:47 -04:00