You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoTAnalytics::Types::UpdateDatastoreRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTAnalytics::Types::UpdateDatastoreRequest
- Defined in:
- (unknown)
Overview
When passing UpdateDatastoreRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
datastore_name: "DatastoreName", # required
retention_period: {
unlimited: false,
number_of_days: 1,
},
datastore_storage: {
service_managed_s3: {
},
customer_managed_s3: {
bucket: "BucketName", # required
key_prefix: "S3KeyPrefix",
role_arn: "RoleArn", # required
},
},
}
Instance Attribute Summary collapse
-
#datastore_name ⇒ String
The name of the data store to be updated.
-
#datastore_storage ⇒ Types::DatastoreStorage
Where data store data is stored.
-
#retention_period ⇒ Types::RetentionPeriod
How long, in days, message data is kept for the data store.
Instance Attribute Details
#datastore_name ⇒ String
The name of the data store to be updated.
#datastore_storage ⇒ Types::DatastoreStorage
Where data store data is stored. You can choose one of
serviceManagedS3 or customerManagedS3 storage. If not specified, the
default isserviceManagedS3. You cannot change this storage option
after the data store is created.
#retention_period ⇒ Types::RetentionPeriod
How long, in days, message data is kept for the data store. The retention period cannot be updated if the data store\'s S3 storage is customer-managed.