Fugue.AWS.Kinesis.Stream

Module Members

external

(Function)

Create a reference to an externally managed Stream.

Example usage:

stream: Kinesis.Stream.external("arn:aws:kinesis:us-east-2:123456789101:stream/name")

Type Signature

 fun (String) -> Stream
Argument: streamArn

The ARN of the target Stream. Must be of the form “arn:aws:kinesis:[region]:[account]:stream/[name]”.

Type: String

Returns:

A reference to the specified Stream.

Type: Stream

region

(Function)

Retrieve the region for a Stream value

Example usage:

stream: Kinesis.Stream.external("arn:aws:kinesis:us-east-2:123456789101:stream/name")
region: Kinesis.Stream.region(stream) # => AWS.Us-east-2

Type Signature

 fun (Stream) -> Region
Argument: stream
Type: Stream
Returns:

The region containing the Stream.

Type: Region