Sha256: 746ac490afe28ab880973e1cce8f99c052051f324c986e9a001906c12d846e3a

Contents?: true

Size: 1.08 KB

Versions: 13

Compression:

Stored size: 1.08 KB

Contents

# frozen_string_literal: true

Aws.config[:kinesis] = {
  stub_responses: {
    list_streams: {
      stream_names: %w[
        my-kinesis
        second-stream
        third-stream
      ],
      has_more_streams: false
    },
    describe_stream_summary: {
      stream_description_summary: {
        stream_name: 'my-kinesis',
        stream_arn: 'arn:aws:kinesis:us-east-2:194648440784:stream/my-kinesis-staging-default-aws-resources',
        stream_status: 'ACTIVE',
        retention_period_hours: 24,
        stream_creation_timestamp: Time.at(1_529_001_577),
        enhanced_monitoring: [
          {
            shard_level_metrics: %w[
              IncomingBytes
              OutgoingRecords
              IteratorAgeMilliseconds
              IncomingRecords
              ReadProvisionedThroughputExceeded
              WriteProvisionedThroughputExceeded
              OutgoingBytes
            ]
          }
        ],
        encryption_type: 'KMS',
        key_id: 'arn:aws:kms:us-east-2:194648440784:alias/my-kinesis-staging-default-key',
        open_shard_count: 1
      }
    }
  }
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
awspec-1.31.0 lib/awspec/stub/kinesis.rb
awspec-1.30.0 lib/awspec/stub/kinesis.rb
awspec-1.29.3 lib/awspec/stub/kinesis.rb
awspec-1.29.2 lib/awspec/stub/kinesis.rb
awspec-1.29.1 lib/awspec/stub/kinesis.rb
awspec-1.29.0 lib/awspec/stub/kinesis.rb
awspec-1.28.2 lib/awspec/stub/kinesis.rb
awspec-1.28.1 lib/awspec/stub/kinesis.rb
awspec-1.28.0 lib/awspec/stub/kinesis.rb
awspec-1.27.1 lib/awspec/stub/kinesis.rb
awspec-1.27.0 lib/awspec/stub/kinesis.rb
awspec-1.26.0 lib/awspec/stub/kinesis.rb
awspec-1.25.2 lib/awspec/stub/kinesis.rb