Class: Aws::IoT::Types::UpdateStreamRequest

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 UpdateStreamRequest data as a hash:

{
  stream_id: "StreamId", # required
  description: "StreamDescription",
  files: [
    {
      file_id: 1,
      s3_location: {
        bucket: "S3Bucket",
        key: "S3Key",
        version: "S3Version",
      },
    },
  ],
  role_arn: "RoleArn",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The description of the stream.

Returns:

  • (String)


19960
19961
19962
19963
19964
19965
19966
19967
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 19960

class UpdateStreamRequest < Struct.new(
  :stream_id,
  :description,
  :files,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#filesArray<Types::StreamFile>

The files associated with the stream.

Returns:



19960
19961
19962
19963
19964
19965
19966
19967
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 19960

class UpdateStreamRequest < Struct.new(
  :stream_id,
  :description,
  :files,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

An IAM role that allows the IoT service principal assumes to access your S3 files.

Returns:

  • (String)


19960
19961
19962
19963
19964
19965
19966
19967
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 19960

class UpdateStreamRequest < Struct.new(
  :stream_id,
  :description,
  :files,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#stream_idString

The stream ID.

Returns:

  • (String)


19960
19961
19962
19963
19964
19965
19966
19967
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 19960

class UpdateStreamRequest < Struct.new(
  :stream_id,
  :description,
  :files,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end