amazonka-iotsitewise-2.0: Amazon IoT SiteWise SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoTSiteWise.Types.File

Description

 
Synopsis

Documentation

data File Source #

The file in Amazon S3 where your data is saved.

See: newFile smart constructor.

Constructors

File' 

Fields

  • versionId :: Maybe Text

    The version ID to identify a specific version of the Amazon S3 object that contains your data.

  • bucket :: Text

    The name of the Amazon S3 bucket from which data is imported.

  • key :: Text

    The key of the Amazon S3 object that contains your data. Each object has a key that is a unique identifier. Each object has exactly one key.

Instances

Instances details
FromJSON File Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.File

ToJSON File Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.File

Generic File Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.File

Associated Types

type Rep File :: Type -> Type #

Methods

from :: File -> Rep File x #

to :: Rep File x -> File #

Read File Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.File

Show File Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.File

Methods

showsPrec :: Int -> File -> ShowS #

show :: File -> String #

showList :: [File] -> ShowS #

NFData File Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.File

Methods

rnf :: File -> () #

Eq File Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.File

Methods

(==) :: File -> File -> Bool #

(/=) :: File -> File -> Bool #

Hashable File Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.File

Methods

hashWithSalt :: Int -> File -> Int #

hash :: File -> Int #

type Rep File Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.File

type Rep File = D1 ('MetaData "File" "Amazonka.IoTSiteWise.Types.File" "amazonka-iotsitewise-2.0-AK8rDlpQ5oPJsrLUUxJgY" 'False) (C1 ('MetaCons "File'" 'PrefixI 'True) (S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newFile Source #

Create a value of File 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:versionId:File', file_versionId - The version ID to identify a specific version of the Amazon S3 object that contains your data.

$sel:bucket:File', file_bucket - The name of the Amazon S3 bucket from which data is imported.

$sel:key:File', file_key - The key of the Amazon S3 object that contains your data. Each object has a key that is a unique identifier. Each object has exactly one key.

file_versionId :: Lens' File (Maybe Text) Source #

The version ID to identify a specific version of the Amazon S3 object that contains your data.

file_bucket :: Lens' File Text Source #

The name of the Amazon S3 bucket from which data is imported.

file_key :: Lens' File Text Source #

The key of the Amazon S3 object that contains your data. Each object has a key that is a unique identifier. Each object has exactly one key.