libZSservicesZSamazonka-locationZSamazonka-location
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.Location.Types.DataSourceConfiguration

Description

 
Synopsis

Documentation

data DataSourceConfiguration Source #

Specifies the data storage option chosen for requesting Places.

When using Amazon Location Places:

  • If using HERE Technologies as a data provider, you can't store results for locations in Japan by setting IntendedUse to Storage. parameter.
  • Under the MobileAssetTracking or MobilAssetManagement pricing plan, you can't store results from your place index resources by setting IntendedUse to Storage. This returns a validation exception error.

For more information, see the AWS Service Terms for Amazon Location Service.

See: newDataSourceConfiguration smart constructor.

Constructors

DataSourceConfiguration' 

Fields

  • intendedUse :: Maybe IntendedUse

    Specifies how the results of an operation will be stored by the caller.

    Valid values include:

    • SingleUse specifies that the results won't be stored.
    • Storage specifies that the result can be cached or stored in a database.

    Default value: SingleUse

Instances

Instances details
Eq DataSourceConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.DataSourceConfiguration

Read DataSourceConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.DataSourceConfiguration

Show DataSourceConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.DataSourceConfiguration

Generic DataSourceConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.DataSourceConfiguration

Associated Types

type Rep DataSourceConfiguration :: Type -> Type #

NFData DataSourceConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.DataSourceConfiguration

Methods

rnf :: DataSourceConfiguration -> () #

Hashable DataSourceConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.DataSourceConfiguration

ToJSON DataSourceConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.DataSourceConfiguration

FromJSON DataSourceConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.DataSourceConfiguration

type Rep DataSourceConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.DataSourceConfiguration

type Rep DataSourceConfiguration = D1 ('MetaData "DataSourceConfiguration" "Amazonka.Location.Types.DataSourceConfiguration" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "DataSourceConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "intendedUse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IntendedUse))))

newDataSourceConfiguration :: DataSourceConfiguration Source #

Create a value of DataSourceConfiguration 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:intendedUse:DataSourceConfiguration', dataSourceConfiguration_intendedUse - Specifies how the results of an operation will be stored by the caller.

Valid values include:

  • SingleUse specifies that the results won't be stored.
  • Storage specifies that the result can be cached or stored in a database.

Default value: SingleUse

dataSourceConfiguration_intendedUse :: Lens' DataSourceConfiguration (Maybe IntendedUse) Source #

Specifies how the results of an operation will be stored by the caller.

Valid values include:

  • SingleUse specifies that the results won't be stored.
  • Storage specifies that the result can be cached or stored in a database.

Default value: SingleUse