Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates the specified properties for a given route calculator resource.
Synopsis
- data UpdateRouteCalculator = UpdateRouteCalculator' {}
- newUpdateRouteCalculator :: Text -> UpdateRouteCalculator
- updateRouteCalculator_pricingPlan :: Lens' UpdateRouteCalculator (Maybe PricingPlan)
- updateRouteCalculator_description :: Lens' UpdateRouteCalculator (Maybe Text)
- updateRouteCalculator_calculatorName :: Lens' UpdateRouteCalculator Text
- data UpdateRouteCalculatorResponse = UpdateRouteCalculatorResponse' {
- httpStatus :: Int
- calculatorArn :: Text
- calculatorName :: Text
- updateTime :: POSIX
- newUpdateRouteCalculatorResponse :: Int -> Text -> Text -> UTCTime -> UpdateRouteCalculatorResponse
- updateRouteCalculatorResponse_httpStatus :: Lens' UpdateRouteCalculatorResponse Int
- updateRouteCalculatorResponse_calculatorArn :: Lens' UpdateRouteCalculatorResponse Text
- updateRouteCalculatorResponse_calculatorName :: Lens' UpdateRouteCalculatorResponse Text
- updateRouteCalculatorResponse_updateTime :: Lens' UpdateRouteCalculatorResponse UTCTime
Creating a Request
data UpdateRouteCalculator Source #
See: newUpdateRouteCalculator
smart constructor.
UpdateRouteCalculator' | |
|
Instances
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.
UpdateRouteCalculatorResponse' | |
|
Instances
newUpdateRouteCalculatorResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> UTCTime | |
-> UpdateRouteCalculatorResponse |
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_httpStatus :: Lens' UpdateRouteCalculatorResponse Int Source #
The response's http status code.
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_calculatorName :: Lens' UpdateRouteCalculatorResponse Text Source #
The name of the updated route calculator resource.
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
.