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.CreatePlaceIndex

Description

Creates a place index resource in your AWS account, which supports functions with geospatial data sourced from your chosen data provider.

Synopsis

Creating a Request

data CreatePlaceIndex Source #

See: newCreatePlaceIndex smart constructor.

Constructors

CreatePlaceIndex' 

Fields

  • dataSourceConfiguration :: Maybe DataSourceConfiguration

    Specifies the data storage option requesting Places.

  • description :: Maybe Text

    The optional description for the place index resource.

  • tags :: Maybe (HashMap Text Text)

    Applies one or more tags to the place index resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.

    Format: "key" : "value"

    Restrictions:

    • Maximum 50 tags per resource
    • Each resource tag must be unique with a maximum of one value.
    • Maximum key length: 128 Unicode characters in UTF-8
    • Maximum value length: 256 Unicode characters in UTF-8
    • Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
  • dataSource :: Text

    Specifies the data provider of geospatial data.

    This field is case-sensitive. Enter the valid values as shown. For example, entering HERE returns an error.

    Valid values include:

    For additional information , see Data providers on the Amazon Location Service Developer Guide.

  • indexName :: Text

    The name of the place index resource.

    Requirements:

    • Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
    • Must be a unique place index resource name.
    • No spaces allowed. For example, ExamplePlaceIndex.
  • pricingPlan :: PricingPlan

    Specifies the pricing plan for your place index resource.

    For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.

Instances

Instances details
Eq CreatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

Read CreatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

Show CreatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

Generic CreatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

Associated Types

type Rep CreatePlaceIndex :: Type -> Type #

NFData CreatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

Methods

rnf :: CreatePlaceIndex -> () #

Hashable CreatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

ToJSON CreatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

AWSRequest CreatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

Associated Types

type AWSResponse CreatePlaceIndex #

ToHeaders CreatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

ToPath CreatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

ToQuery CreatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

type Rep CreatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

type Rep CreatePlaceIndex = D1 ('MetaData "CreatePlaceIndex" "Amazonka.Location.CreatePlaceIndex" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "CreatePlaceIndex'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dataSourceConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataSourceConfiguration)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "dataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "indexName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "pricingPlan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PricingPlan)))))
type AWSResponse CreatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

newCreatePlaceIndex Source #

Create a value of CreatePlaceIndex 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:dataSourceConfiguration:CreatePlaceIndex', createPlaceIndex_dataSourceConfiguration - Specifies the data storage option requesting Places.

$sel:description:CreatePlaceIndex', createPlaceIndex_description - The optional description for the place index resource.

$sel:tags:CreatePlaceIndex', createPlaceIndex_tags - Applies one or more tags to the place index resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.

Format: "key" : "value"

Restrictions:

  • Maximum 50 tags per resource
  • Each resource tag must be unique with a maximum of one value.
  • Maximum key length: 128 Unicode characters in UTF-8
  • Maximum value length: 256 Unicode characters in UTF-8
  • Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.

$sel:dataSource:CreatePlaceIndex', createPlaceIndex_dataSource - Specifies the data provider of geospatial data.

This field is case-sensitive. Enter the valid values as shown. For example, entering HERE returns an error.

Valid values include:

For additional information , see Data providers on the Amazon Location Service Developer Guide.

$sel:indexName:CreatePlaceIndex', createPlaceIndex_indexName - The name of the place index resource.

Requirements:

  • Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
  • Must be a unique place index resource name.
  • No spaces allowed. For example, ExamplePlaceIndex.

$sel:pricingPlan:CreatePlaceIndex', createPlaceIndex_pricingPlan - Specifies the pricing plan for your place index resource.

For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.

Request Lenses

createPlaceIndex_description :: Lens' CreatePlaceIndex (Maybe Text) Source #

The optional description for the place index resource.

createPlaceIndex_tags :: Lens' CreatePlaceIndex (Maybe (HashMap Text Text)) Source #

Applies one or more tags to the place index resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.

Format: "key" : "value"

Restrictions:

  • Maximum 50 tags per resource
  • Each resource tag must be unique with a maximum of one value.
  • Maximum key length: 128 Unicode characters in UTF-8
  • Maximum value length: 256 Unicode characters in UTF-8
  • Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.

createPlaceIndex_dataSource :: Lens' CreatePlaceIndex Text Source #

Specifies the data provider of geospatial data.

This field is case-sensitive. Enter the valid values as shown. For example, entering HERE returns an error.

Valid values include:

For additional information , see Data providers on the Amazon Location Service Developer Guide.

createPlaceIndex_indexName :: Lens' CreatePlaceIndex Text Source #

The name of the place index resource.

Requirements:

  • Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
  • Must be a unique place index resource name.
  • No spaces allowed. For example, ExamplePlaceIndex.

createPlaceIndex_pricingPlan :: Lens' CreatePlaceIndex PricingPlan Source #

Specifies the pricing plan for your place index resource.

For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.

Destructuring the Response

data CreatePlaceIndexResponse Source #

See: newCreatePlaceIndexResponse smart constructor.

Constructors

CreatePlaceIndexResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • createTime :: POSIX

    The timestamp for when the place index resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

  • indexArn :: Text

    The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across AWS.

    • Format example: arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex
  • indexName :: Text

    The name for the place index resource.

Instances

Instances details
Eq CreatePlaceIndexResponse Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

Read CreatePlaceIndexResponse Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

Show CreatePlaceIndexResponse Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

Generic CreatePlaceIndexResponse Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

Associated Types

type Rep CreatePlaceIndexResponse :: Type -> Type #

NFData CreatePlaceIndexResponse Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

type Rep CreatePlaceIndexResponse Source # 
Instance details

Defined in Amazonka.Location.CreatePlaceIndex

type Rep CreatePlaceIndexResponse = D1 ('MetaData "CreatePlaceIndexResponse" "Amazonka.Location.CreatePlaceIndex" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "CreatePlaceIndexResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)) :*: (S1 ('MetaSel ('Just "indexArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "indexName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreatePlaceIndexResponse Source #

Create a value of CreatePlaceIndexResponse 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:httpStatus:CreatePlaceIndexResponse', createPlaceIndexResponse_httpStatus - The response's http status code.

$sel:createTime:CreatePlaceIndexResponse', createPlaceIndexResponse_createTime - The timestamp for when the place index resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

$sel:indexArn:CreatePlaceIndexResponse', createPlaceIndexResponse_indexArn - The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across AWS.

  • Format example: arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

$sel:indexName:CreatePlaceIndex', createPlaceIndexResponse_indexName - The name for the place index resource.

Response Lenses

createPlaceIndexResponse_createTime :: Lens' CreatePlaceIndexResponse UTCTime Source #

The timestamp for when the place index resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

createPlaceIndexResponse_indexArn :: Lens' CreatePlaceIndexResponse Text Source #

The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across AWS.

  • Format example: arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex