amazonka-location-2.0: Amazon Location Service 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.Location.UpdateRouteCalculator

Description

Updates the specified properties for a given route calculator resource.

Synopsis

Creating a Request

data UpdateRouteCalculator Source #

See: newUpdateRouteCalculator smart constructor.

Constructors

UpdateRouteCalculator' 

Fields

Instances

Instances details
ToJSON UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

ToHeaders UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

ToPath UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

ToQuery UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

AWSRequest UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

Associated Types

type AWSResponse UpdateRouteCalculator #

Generic UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

Associated Types

type Rep UpdateRouteCalculator :: Type -> Type #

Read UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

Show UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

NFData UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

Methods

rnf :: UpdateRouteCalculator -> () #

Eq UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

Hashable UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

type AWSResponse UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

type Rep UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

type Rep UpdateRouteCalculator = D1 ('MetaData "UpdateRouteCalculator" "Amazonka.Location.UpdateRouteCalculator" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "UpdateRouteCalculator'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "pricingPlan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PricingPlan)) :*: S1 ('MetaSel ('Just "calculatorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateRouteCalculator Source #

Create a value of UpdateRouteCalculator 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:

UpdateRouteCalculator, updateRouteCalculator_description - Updates the description for the route calculator resource.

UpdateRouteCalculator, updateRouteCalculator_pricingPlan - No longer used. If included, the only allowed value is RequestBasedUsage.

UpdateRouteCalculator, updateRouteCalculator_calculatorName - The name of the route calculator resource to update.

Request Lenses

updateRouteCalculator_description :: Lens' UpdateRouteCalculator (Maybe Text) Source #

Updates the description for the route calculator resource.

updateRouteCalculator_pricingPlan :: Lens' UpdateRouteCalculator (Maybe PricingPlan) Source #

No longer used. If included, the only allowed value is RequestBasedUsage.

updateRouteCalculator_calculatorName :: Lens' UpdateRouteCalculator Text Source #

The name of the route calculator resource to update.

Destructuring the Response

data UpdateRouteCalculatorResponse Source #

See: newUpdateRouteCalculatorResponse smart constructor.

Constructors

UpdateRouteCalculatorResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • calculatorArn :: Text

    The Amazon Resource Name (ARN) of the updated route calculator resource. Used to specify a resource across AWS.

    • Format example: arn:aws:geo:region:account-id:route- calculator/ExampleCalculator
  • calculatorName :: Text

    The name of the updated route calculator resource.

  • updateTime :: ISO8601

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

Instances

Instances details
Generic UpdateRouteCalculatorResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

Associated Types

type Rep UpdateRouteCalculatorResponse :: Type -> Type #

Read UpdateRouteCalculatorResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

Show UpdateRouteCalculatorResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

NFData UpdateRouteCalculatorResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

Eq UpdateRouteCalculatorResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

type Rep UpdateRouteCalculatorResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

type Rep UpdateRouteCalculatorResponse = D1 ('MetaData "UpdateRouteCalculatorResponse" "Amazonka.Location.UpdateRouteCalculator" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "UpdateRouteCalculatorResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "calculatorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "calculatorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601))))

newUpdateRouteCalculatorResponse Source #

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

$sel:calculatorArn:UpdateRouteCalculatorResponse', updateRouteCalculatorResponse_calculatorArn - The Amazon Resource Name (ARN) of the updated route calculator resource. Used to specify a resource across AWS.

  • Format example: arn:aws:geo:region:account-id:route- calculator/ExampleCalculator

UpdateRouteCalculator, updateRouteCalculatorResponse_calculatorName - The name of the updated route calculator resource.

UpdateRouteCalculatorResponse, updateRouteCalculatorResponse_updateTime - The timestamp for when the route calculator was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

Response Lenses

updateRouteCalculatorResponse_calculatorArn :: Lens' UpdateRouteCalculatorResponse Text Source #

The Amazon Resource Name (ARN) of the updated route calculator resource. Used to specify a resource across AWS.

  • Format example: arn:aws:geo:region:account-id:route- calculator/ExampleCalculator

updateRouteCalculatorResponse_updateTime :: Lens' UpdateRouteCalculatorResponse UTCTime Source #

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