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

Description

Updates the specified properties of a given place index resource.

Synopsis

Creating a Request

data UpdatePlaceIndex Source #

See: newUpdatePlaceIndex smart constructor.

Constructors

UpdatePlaceIndex' 

Fields

Instances

Instances details
Eq UpdatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.UpdatePlaceIndex

Read UpdatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.UpdatePlaceIndex

Show UpdatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.UpdatePlaceIndex

Generic UpdatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.UpdatePlaceIndex

Associated Types

type Rep UpdatePlaceIndex :: Type -> Type #

NFData UpdatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.UpdatePlaceIndex

Methods

rnf :: UpdatePlaceIndex -> () #

Hashable UpdatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.UpdatePlaceIndex

ToJSON UpdatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.UpdatePlaceIndex

AWSRequest UpdatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.UpdatePlaceIndex

Associated Types

type AWSResponse UpdatePlaceIndex #

ToHeaders UpdatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.UpdatePlaceIndex

ToPath UpdatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.UpdatePlaceIndex

ToQuery UpdatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.UpdatePlaceIndex

type Rep UpdatePlaceIndex Source # 
Instance details

Defined in Amazonka.Location.UpdatePlaceIndex

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

Defined in Amazonka.Location.UpdatePlaceIndex

newUpdatePlaceIndex Source #

Create a value of UpdatePlaceIndex 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:pricingPlan:UpdatePlaceIndex', updatePlaceIndex_pricingPlan - Updates the pricing plan for the place index resource.

For more information about each pricing plan option restrictions, see Amazon Location Service pricing.

$sel:dataSourceConfiguration:UpdatePlaceIndex', updatePlaceIndex_dataSourceConfiguration - Updates the data storage option for the place index resource.

$sel:description:UpdatePlaceIndex', updatePlaceIndex_description - Updates the description for the place index resource.

$sel:indexName:UpdatePlaceIndex', updatePlaceIndex_indexName - The name of the place index resource to update.

Request Lenses

updatePlaceIndex_pricingPlan :: Lens' UpdatePlaceIndex (Maybe PricingPlan) Source #

Updates the pricing plan for the place index resource.

For more information about each pricing plan option restrictions, see Amazon Location Service pricing.

updatePlaceIndex_dataSourceConfiguration :: Lens' UpdatePlaceIndex (Maybe DataSourceConfiguration) Source #

Updates the data storage option for the place index resource.

updatePlaceIndex_description :: Lens' UpdatePlaceIndex (Maybe Text) Source #

Updates the description for the place index resource.

updatePlaceIndex_indexName :: Lens' UpdatePlaceIndex Text Source #

The name of the place index resource to update.

Destructuring the Response

data UpdatePlaceIndexResponse Source #

See: newUpdatePlaceIndexResponse smart constructor.

Constructors

UpdatePlaceIndexResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • indexArn :: Text

    The Amazon Resource Name (ARN) of the upated 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 of the updated place index resource.

  • updateTime :: POSIX

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

Instances

Instances details
Eq UpdatePlaceIndexResponse Source # 
Instance details

Defined in Amazonka.Location.UpdatePlaceIndex

Read UpdatePlaceIndexResponse Source # 
Instance details

Defined in Amazonka.Location.UpdatePlaceIndex

Show UpdatePlaceIndexResponse Source # 
Instance details

Defined in Amazonka.Location.UpdatePlaceIndex

Generic UpdatePlaceIndexResponse Source # 
Instance details

Defined in Amazonka.Location.UpdatePlaceIndex

Associated Types

type Rep UpdatePlaceIndexResponse :: Type -> Type #

NFData UpdatePlaceIndexResponse Source # 
Instance details

Defined in Amazonka.Location.UpdatePlaceIndex

type Rep UpdatePlaceIndexResponse Source # 
Instance details

Defined in Amazonka.Location.UpdatePlaceIndex

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

newUpdatePlaceIndexResponse Source #

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

$sel:indexArn:UpdatePlaceIndexResponse', updatePlaceIndexResponse_indexArn - The Amazon Resource Name (ARN) of the upated place index resource. Used to specify a resource across AWS.

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

$sel:indexName:UpdatePlaceIndex', updatePlaceIndexResponse_indexName - The name of the updated place index resource.

$sel:updateTime:UpdatePlaceIndexResponse', updatePlaceIndexResponse_updateTime - The timestamp for when the place index resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

Response Lenses

updatePlaceIndexResponse_indexArn :: Lens' UpdatePlaceIndexResponse Text Source #

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

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

updatePlaceIndexResponse_indexName :: Lens' UpdatePlaceIndexResponse Text Source #

The name of the updated place index resource.

updatePlaceIndexResponse_updateTime :: Lens' UpdatePlaceIndexResponse UTCTime Source #

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