You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::IoT::Types::StreamFile

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

Note:

When making an API call, you may pass StreamFile data as a hash:

{
  file_id: 1,
  s3_location: {
    bucket: "S3Bucket", # required
    key: "S3Key", # required
    version: "S3Version",
  },
}

Represents a file to stream.

Instance Attribute Summary collapse

Instance Attribute Details

#file_idInteger

The file ID.

Returns:

  • (Integer)


6957
6958
6959
6960
6961
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 6957

class StreamFile < Struct.new(
  :file_id,
  :s3_location)
  include Aws::Structure
end

#s3_locationTypes::S3Location

The location of the file in S3.

Returns:



6957
6958
6959
6960
6961
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 6957

class StreamFile < Struct.new(
  :file_id,
  :s3_location)
  include Aws::Structure
end