You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoTAnalytics::Types::CreateChannelRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTAnalytics::Types::CreateChannelRequest
- Defined in:
- (unknown)
Overview
When passing CreateChannelRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
channel_name: "ChannelName", # required
channel_storage: {
service_managed_s3: {
},
customer_managed_s3: {
bucket: "BucketName", # required
key_prefix: "S3KeyPrefix",
role_arn: "RoleArn", # required
},
},
retention_period: {
unlimited: false,
number_of_days: 1,
},
tags: [
{
key: "TagKey", # required
value: "TagValue", # required
},
],
}
Instance Attribute Summary collapse
-
#channel_name ⇒ String
The name of the channel.
-
#channel_storage ⇒ Types::ChannelStorage
Where channel data is stored.
-
#retention_period ⇒ Types::RetentionPeriod
How long, in days, message data is kept for the channel.
-
#tags ⇒ Array<Types::Tag>
Metadata which can be used to manage the channel.
Instance Attribute Details
#channel_name ⇒ String
The name of the channel.
#channel_storage ⇒ Types::ChannelStorage
Where channel data is stored. You can choose one of serviceManagedS3
or customerManagedS3 storage. If not specified, the default is
serviceManagedS3. You cannot change this storage option after the
channel is created.
#retention_period ⇒ Types::RetentionPeriod
How long, in days, message data is kept for the channel. When
customerManagedS3 storage is selected, this parameter is ignored.
#tags ⇒ Array<Types::Tag>
Metadata which can be used to manage the channel.