Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data S3DestinationConfiguration = S3DestinationConfiguration' {
- glueConfiguration :: Maybe GlueConfiguration
- bucket :: Text
- key :: Text
- roleArn :: Text
- newS3DestinationConfiguration :: Text -> Text -> Text -> S3DestinationConfiguration
- s3DestinationConfiguration_glueConfiguration :: Lens' S3DestinationConfiguration (Maybe GlueConfiguration)
- s3DestinationConfiguration_bucket :: Lens' S3DestinationConfiguration Text
- s3DestinationConfiguration_key :: Lens' S3DestinationConfiguration Text
- s3DestinationConfiguration_roleArn :: Lens' S3DestinationConfiguration Text
Documentation
data S3DestinationConfiguration Source #
Configuration information for delivery of dataset contents to Amazon Simple Storage Service (Amazon S3).
See: newS3DestinationConfiguration
smart constructor.
S3DestinationConfiguration' | |
|
Instances
newS3DestinationConfiguration Source #
:: Text | |
-> Text | |
-> Text | |
-> S3DestinationConfiguration |
Create a value of S3DestinationConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:glueConfiguration:S3DestinationConfiguration'
, s3DestinationConfiguration_glueConfiguration
- Configuration information for coordination with Glue, a fully managed
extract, transform and load (ETL) service.
$sel:bucket:S3DestinationConfiguration'
, s3DestinationConfiguration_bucket
- The name of the S3 bucket to which dataset contents are delivered.
$sel:key:S3DestinationConfiguration'
, s3DestinationConfiguration_key
- The key of the dataset contents object in an S3 bucket. Each object has
a key that is a unique identifier. Each object has exactly one key.
You can create a unique key with the following options:
- Use
!{iotanalytics:scheduleTime}
to insert the time of a scheduled SQL query run. - Use
!{iotanalytics:versionId}
to insert a unique hash that identifies a dataset content. - Use
!{iotanalytics:creationTime}
to insert the creation time of a dataset content.
The following example creates a unique key for a CSV file:
dataset/mydataset/!{iotanalytics:scheduleTime}/!{iotanalytics:versionId}.csv
If you don't use !{iotanalytics:versionId}
to specify the key, you
might get duplicate keys. For example, you might have two dataset
contents with the same scheduleTime
but different versionId
s. This
means that one dataset content overwrites the other.
$sel:roleArn:S3DestinationConfiguration'
, s3DestinationConfiguration_roleArn
- The ARN of the role that grants IoT Analytics permission to interact
with your Amazon S3 and Glue resources.
s3DestinationConfiguration_glueConfiguration :: Lens' S3DestinationConfiguration (Maybe GlueConfiguration) Source #
Configuration information for coordination with Glue, a fully managed extract, transform and load (ETL) service.
s3DestinationConfiguration_bucket :: Lens' S3DestinationConfiguration Text Source #
The name of the S3 bucket to which dataset contents are delivered.
s3DestinationConfiguration_key :: Lens' S3DestinationConfiguration Text Source #
The key of the dataset contents object in an S3 bucket. Each object has a key that is a unique identifier. Each object has exactly one key.
You can create a unique key with the following options:
- Use
!{iotanalytics:scheduleTime}
to insert the time of a scheduled SQL query run. - Use
!{iotanalytics:versionId}
to insert a unique hash that identifies a dataset content. - Use
!{iotanalytics:creationTime}
to insert the creation time of a dataset content.
The following example creates a unique key for a CSV file:
dataset/mydataset/!{iotanalytics:scheduleTime}/!{iotanalytics:versionId}.csv
If you don't use !{iotanalytics:versionId}
to specify the key, you
might get duplicate keys. For example, you might have two dataset
contents with the same scheduleTime
but different versionId
s. This
means that one dataset content overwrites the other.
s3DestinationConfiguration_roleArn :: Lens' S3DestinationConfiguration Text Source #
The ARN of the role that grants IoT Analytics permission to interact with your Amazon S3 and Glue resources.