libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTSiteWise.PutStorageConfiguration

Description

Configures storage settings for IoT SiteWise.

Synopsis

Creating a Request

data PutStorageConfiguration Source #

See: newPutStorageConfiguration smart constructor.

Constructors

PutStorageConfiguration' 

Fields

  • multiLayerStorage :: Maybe MultiLayerStorage

    Identifies a storage destination. If you specified MULTI_LAYER_STORAGE for the storage type, you must specify a MultiLayerStorage object.

  • storageType :: StorageType

    The type of storage that you specified for your data. The storage type can be one of the following values:

    • SITEWISE_DEFAULT_STORAGE – IoT SiteWise replicates your data into a service managed database.
    • MULTI_LAYER_STORAGE – IoT SiteWise replicates your data into a service managed database and saves a copy of your raw data and metadata in an Amazon S3 object that you specified.

Instances

Instances details
Eq PutStorageConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

Read PutStorageConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

Show PutStorageConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

Generic PutStorageConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

Associated Types

type Rep PutStorageConfiguration :: Type -> Type #

NFData PutStorageConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

Methods

rnf :: PutStorageConfiguration -> () #

Hashable PutStorageConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

ToJSON PutStorageConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

AWSRequest PutStorageConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

ToHeaders PutStorageConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

ToPath PutStorageConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

ToQuery PutStorageConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

type Rep PutStorageConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

type Rep PutStorageConfiguration = D1 ('MetaData "PutStorageConfiguration" "Amazonka.IoTSiteWise.PutStorageConfiguration" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "PutStorageConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "multiLayerStorage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MultiLayerStorage)) :*: S1 ('MetaSel ('Just "storageType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StorageType)))
type AWSResponse PutStorageConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

newPutStorageConfiguration Source #

Create a value of PutStorageConfiguration 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:multiLayerStorage:PutStorageConfiguration', putStorageConfiguration_multiLayerStorage - Identifies a storage destination. If you specified MULTI_LAYER_STORAGE for the storage type, you must specify a MultiLayerStorage object.

$sel:storageType:PutStorageConfiguration', putStorageConfiguration_storageType - The type of storage that you specified for your data. The storage type can be one of the following values:

  • SITEWISE_DEFAULT_STORAGE – IoT SiteWise replicates your data into a service managed database.
  • MULTI_LAYER_STORAGE – IoT SiteWise replicates your data into a service managed database and saves a copy of your raw data and metadata in an Amazon S3 object that you specified.

Request Lenses

putStorageConfiguration_multiLayerStorage :: Lens' PutStorageConfiguration (Maybe MultiLayerStorage) Source #

Identifies a storage destination. If you specified MULTI_LAYER_STORAGE for the storage type, you must specify a MultiLayerStorage object.

putStorageConfiguration_storageType :: Lens' PutStorageConfiguration StorageType Source #

The type of storage that you specified for your data. The storage type can be one of the following values:

  • SITEWISE_DEFAULT_STORAGE – IoT SiteWise replicates your data into a service managed database.
  • MULTI_LAYER_STORAGE – IoT SiteWise replicates your data into a service managed database and saves a copy of your raw data and metadata in an Amazon S3 object that you specified.

Destructuring the Response

data PutStorageConfigurationResponse Source #

See: newPutStorageConfigurationResponse smart constructor.

Constructors

PutStorageConfigurationResponse' 

Fields

  • multiLayerStorage :: Maybe MultiLayerStorage

    Contains information about the storage destination.

  • httpStatus :: Int

    The response's http status code.

  • storageType :: StorageType

    The type of storage that you specified for your data. The storage type can be one of the following values:

    • SITEWISE_DEFAULT_STORAGE – IoT SiteWise replicates your data into a service managed database.
    • MULTI_LAYER_STORAGE – IoT SiteWise replicates your data into a service managed database and saves a copy of your raw data and metadata in an Amazon S3 object that you specified.
  • configurationStatus :: ConfigurationStatus
     

Instances

Instances details
Eq PutStorageConfigurationResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

Read PutStorageConfigurationResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

Show PutStorageConfigurationResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

Generic PutStorageConfigurationResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

Associated Types

type Rep PutStorageConfigurationResponse :: Type -> Type #

NFData PutStorageConfigurationResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

type Rep PutStorageConfigurationResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutStorageConfiguration

type Rep PutStorageConfigurationResponse = D1 ('MetaData "PutStorageConfigurationResponse" "Amazonka.IoTSiteWise.PutStorageConfiguration" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "PutStorageConfigurationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "multiLayerStorage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MultiLayerStorage)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "storageType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StorageType) :*: S1 ('MetaSel ('Just "configurationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ConfigurationStatus))))

newPutStorageConfigurationResponse Source #

Create a value of PutStorageConfigurationResponse 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:multiLayerStorage:PutStorageConfiguration', putStorageConfigurationResponse_multiLayerStorage - Contains information about the storage destination.

$sel:httpStatus:PutStorageConfigurationResponse', putStorageConfigurationResponse_httpStatus - The response's http status code.

$sel:storageType:PutStorageConfiguration', putStorageConfigurationResponse_storageType - The type of storage that you specified for your data. The storage type can be one of the following values:

  • SITEWISE_DEFAULT_STORAGE – IoT SiteWise replicates your data into a service managed database.
  • MULTI_LAYER_STORAGE – IoT SiteWise replicates your data into a service managed database and saves a copy of your raw data and metadata in an Amazon S3 object that you specified.

$sel:configurationStatus:PutStorageConfigurationResponse', putStorageConfigurationResponse_configurationStatus - Undocumented member.

Response Lenses

putStorageConfigurationResponse_storageType :: Lens' PutStorageConfigurationResponse StorageType Source #

The type of storage that you specified for your data. The storage type can be one of the following values:

  • SITEWISE_DEFAULT_STORAGE – IoT SiteWise replicates your data into a service managed database.
  • MULTI_LAYER_STORAGE – IoT SiteWise replicates your data into a service managed database and saves a copy of your raw data and metadata in an Amazon S3 object that you specified.