Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Updates the specified properties for a given route calculator resource.
Synopsis
- data UpdateRouteCalculator = UpdateRouteCalculator' {}
- newUpdateRouteCalculator :: Text -> UpdateRouteCalculator
- updateRouteCalculator_description :: Lens' UpdateRouteCalculator (Maybe Text)
- updateRouteCalculator_pricingPlan :: Lens' UpdateRouteCalculator (Maybe PricingPlan)
- updateRouteCalculator_calculatorName :: Lens' UpdateRouteCalculator Text
- data UpdateRouteCalculatorResponse = UpdateRouteCalculatorResponse' {}
- 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:
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.
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
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_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
.