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.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
Eq UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

Read UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

Show UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

Generic UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

Associated Types

type Rep UpdateRouteCalculator :: Type -> Type #

NFData UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

Methods

rnf :: UpdateRouteCalculator -> () #

Hashable UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

ToJSON UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

AWSRequest UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

Associated Types

type AWSResponse 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

type Rep UpdateRouteCalculator Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

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

Defined in Amazonka.Location.UpdateRouteCalculator

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:

$sel:pricingPlan:UpdateRouteCalculator', updateRouteCalculator_pricingPlan - Updates the pricing plan for the route calculator resource.

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

$sel:description:UpdateRouteCalculator', updateRouteCalculator_description - Updates the description for the route calculator resource.

$sel:calculatorName:UpdateRouteCalculator', updateRouteCalculator_calculatorName - The name of the route calculator resource to update.

Request Lenses

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

Updates the pricing plan for the route calculator resource.

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

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

Updates the description for the route calculator resource.

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 :: POSIX

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

Instances

Instances details
Eq UpdateRouteCalculatorResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

Read UpdateRouteCalculatorResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

Show UpdateRouteCalculatorResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

Generic UpdateRouteCalculatorResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateRouteCalculator

Associated Types

type Rep UpdateRouteCalculatorResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-locationZSamazonka-location" '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 POSIX))))

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

$sel:calculatorName:UpdateRouteCalculator', updateRouteCalculatorResponse_calculatorName - The name of the updated route calculator resource.

$sel:updateTime: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.