stream#
- async idem_aws.exec.aws.kinesis.stream.get(hub, ctx, name: str, resource_id: str = None) Dict [source]#
Pass required params to get a Kinesis stream resource. Retrieves the specified Kinesis Stream.
- Parameters:
- Returns:
- result(bool):
Whether the result of the function has been successful (
True
) or not (False
).- comment(list):
A list of messages.
- ret(dict or None):
The Kinesis Stream in “present” format.
- Return type:
Examples
Calling this exec module function from the cli:
idem exec aws.kinesis.stream.get name="idem_name" resource_id="resource_id"
Calling this exec module function from within a state module in pure python:
async def state_function(hub, ctx, name, resource_id, **kwargs): ret = await hub.exec.aws.kinesis.stream.get( ctx, name=name, resource_id=resource_id )