Commit Graph

40 Commits

Author SHA1 Message Date
Akira Noda
90bdd72555
Admin: Using ruff format instead of black (#7502) 2024-03-21 19:17:29 -01:00
LMaterne
565d2bb251
Add StreamSummaries to the respose of kinesis.list_streams (#7490) 2024-03-19 19:54:47 -01:00
Bert Blommers
a7f3b367b4 Introduce mock_aws() (#7194) 2024-01-27 19:38:09 +00:00
tungol
55c589072f
Admin: sorting imports with ruff (#7075) 2023-11-30 14:55:51 -01:00
Bert Blommers
60fd1a5cf2
Techdebt: Improve date handling across Moto (#6803) 2023-09-11 22:23:44 +00:00
Bert Blommers
6843eb4c86
Techdebt: Replace sure with regular assertions in Kinesis (#6579) 2023-08-01 09:47:40 +00:00
Bert Blommers
19bfa92dd7
Kinesis - support Stream ARNs across all methods (#5893) 2023-02-01 15:16:25 -01:00
Bert Blommers
1a8ddc0f2b
Techdebt: Replace string-format with f-strings (for tests dirs) (#5678) 2022-11-17 21:41:08 -01:00
Bert Blommers
f61ffc81ec
Kinesis:update_stream_mode() (#5456) 2022-09-08 21:51:55 +00:00
Bert Blommers
aef092d535
Kinesis:create_stream() now supports stream-mode=OnDemand (#5444) 2022-09-02 12:59:48 +00:00
Bert Blommers
3d913f8f15
MultiAccount support (#5192) 2022-08-13 09:49:43 +00:00
Bert Blommers
29d01c35bc
Update Black + formatting (#4926) 2022-03-10 13:39:59 -01:00
Bert Blommers
76605e30a0
Improved support for Kinesis (#4795) 2022-01-26 18:41:04 -01:00
Bert Blommers
aa70ee254d
Remove deprecated decorators + boto dependency (#4378) 2022-01-18 14:18:57 -01:00
Tim Leslie
ee6b2bfff8
Fix response data-types for kinesis operations (#4736) 2022-01-04 09:47:59 -01:00
Bert Blommers
d7dd8fb4c5
Kinesis - Fix split_shards behaviour (#4540) 2021-11-07 19:24:54 -01:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules (#4432) 2021-10-18 19:44:29 +00:00
Bert Blommers
d8f3d3f3e1
Kinesis - duplicate deprecated tests (#4371) 2021-10-05 20:41:02 +00:00
Shubham Gupta
a48c811069
#4067: Add support for kinesis retention hours (#4068) 2021-07-14 15:36:30 +01:00
Brian Pandola
f96ac40fca
Fix: ApproximateArrivalTimestamp should be epoch with millisecond precision (#3764)
The Record class was already capturing a unix timestamp, but it was incorrectly
converting it to ISO format when sending back to the client.

Updating the model to return the correct timestamp necessitated a minor change
to one of the tests because `botocore` converts non-timezone aware timestamps
to local time.
2021-03-11 08:54:21 +00:00
jweite
da07adae52
* Support for CloudFormation update and delete of Kinesis Streams (#3212)
* Support for CloudFormation stack resource deletion via backend resource method
  delete_from_cloudformation_json() via parse_and_delete_resource().
* Correction to the inappropriate inclusion of EndingSequenceNumber in open shards.
  This attribute should only appear in closed shards.  This regretfully prevents
  confirmation of consistent record counts after split/merge in unit tests.
* Added parameters/decorator to CloudFormationModel method declarations to calm-down Pycharm.

Co-authored-by: Joseph Weitekamp <jweite@amazon.com>
2020-08-03 16:04:05 +01:00
Asher Foa
d9d055c75d Fix more typos. 2020-01-23 10:15:02 -08: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
b83a750630 Added references to moto.iam.models.ACCOUNT_ID instead of hardcoded id 2019-12-16 19:56:11 -05:00
Asher Foa
96e5b1993d Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
Steve Pulec
75d9707e8e
Merge pull request #2099 from ssoulier/master
fix bug in Stream init (wrong number of shards)
2019-07-01 22:27:33 -05:00
Alexey Firsov
f13e4e41cd add implemented kinesis method describe_stream_summary (#2023) 2019-05-21 00:02:36 +01:00
stephane soulier
fa3fd729d1 fix bug in Stream init (wrong number of shards) 2019-03-08 16:27:24 +01:00
Henadzi Tsaryk
46dd351965 Add ApproximateArrivalTimestamp and MillisBehindLatest to Kinesis get_records response (#1715)
* Add ApproximateArrivalTimestamp to Kinesis response

* Add MillisBehindLatest to Kinesis get_records response
2018-07-13 10:06:28 +01:00
Brian Cavagnolo
d2eea02774 add support for kinesis AT_TIMESTAMP shard iterator (#1376)
Fixes #813
2017-12-08 10:57:05 +00:00
Steve Pulec
0adebeed24 Merge #913. 2017-05-10 21:58:42 -04:00
Steve Pulec
f37bad0e00 Lints. 2017-02-23 21:37:43 -05:00
Steve Pulec
fde721bed7 Testing new version of decorator. 2017-02-15 22:35:45 -05:00
root
84b9a7d101 fix integer division in testcase for py3 2015-12-05 12:46:31 +00:00
root
80688ea2b2 - implement basic sharding scheme
- add API for merge_shards and split_shard
 - add some parater typ checking for put_record(s)
2015-12-05 11:13:34 +00:00
root
1d1bac1958 typo 2015-12-04 09:15:19 +00:00
root
8ae17479d6 add testcases for add, list and remove tags 2015-12-04 09:13:08 +00:00
Steve Pulec
57d45aa4b8 Add more shard iterator types. 2014-11-26 20:49:21 -05:00
Steve Pulec
da15fb711d Basic Kinesis Stream CRUD. 2014-11-26 10:55:58 -05:00