Class: Aws::IoT::Types::CreateStreamRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::CreateStreamRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iot/types.rb
Overview
Note:
When making an API call, you may pass CreateStreamRequest data as a hash:
{
stream_id: "StreamId", # required
description: "StreamDescription",
files: [ # required
{
file_id: 1,
s3_location: {
bucket: "S3Bucket",
key: "S3Key",
version: "S3Version",
},
},
],
role_arn: "RoleArn", # required
}
Instance Attribute Summary collapse
-
#description ⇒ String
A description of the stream.
-
#files ⇒ Array<Types::StreamFile>
The files to stream.
-
#role_arn ⇒ String
An IAM role that allows the IoT service principal assumes to access your S3 files.
-
#stream_id ⇒ String
The stream ID.
Instance Attribute Details
#description ⇒ String
A description of the stream.
2571 2572 2573 2574 2575 2576 2577 |
# File 'lib/aws-sdk-iot/types.rb', line 2571 class CreateStreamRequest < Struct.new( :stream_id, :description, :files, :role_arn) include Aws::Structure end |
#files ⇒ Array<Types::StreamFile>
The files to stream.
2571 2572 2573 2574 2575 2576 2577 |
# File 'lib/aws-sdk-iot/types.rb', line 2571 class CreateStreamRequest < Struct.new( :stream_id, :description, :files, :role_arn) include Aws::Structure end |
#role_arn ⇒ String
An IAM role that allows the IoT service principal assumes to access your S3 files.
2571 2572 2573 2574 2575 2576 2577 |
# File 'lib/aws-sdk-iot/types.rb', line 2571 class CreateStreamRequest < Struct.new( :stream_id, :description, :files, :role_arn) include Aws::Structure end |
#stream_id ⇒ String
The stream ID.
2571 2572 2573 2574 2575 2576 2577 |
# File 'lib/aws-sdk-iot/types.rb', line 2571 class CreateStreamRequest < Struct.new( :stream_id, :description, :files, :role_arn) include Aws::Structure end |