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 |
Retrieves the route calculator resource details.
Synopsis
- data DescribeRouteCalculator = DescribeRouteCalculator' {}
- newDescribeRouteCalculator :: Text -> DescribeRouteCalculator
- describeRouteCalculator_calculatorName :: Lens' DescribeRouteCalculator Text
- data DescribeRouteCalculatorResponse = DescribeRouteCalculatorResponse' {
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- calculatorArn :: Text
- calculatorName :: Text
- createTime :: POSIX
- dataSource :: Text
- description :: Text
- pricingPlan :: PricingPlan
- updateTime :: POSIX
- newDescribeRouteCalculatorResponse :: Int -> Text -> Text -> UTCTime -> Text -> Text -> PricingPlan -> UTCTime -> DescribeRouteCalculatorResponse
- describeRouteCalculatorResponse_tags :: Lens' DescribeRouteCalculatorResponse (Maybe (HashMap Text Text))
- describeRouteCalculatorResponse_httpStatus :: Lens' DescribeRouteCalculatorResponse Int
- describeRouteCalculatorResponse_calculatorArn :: Lens' DescribeRouteCalculatorResponse Text
- describeRouteCalculatorResponse_calculatorName :: Lens' DescribeRouteCalculatorResponse Text
- describeRouteCalculatorResponse_createTime :: Lens' DescribeRouteCalculatorResponse UTCTime
- describeRouteCalculatorResponse_dataSource :: Lens' DescribeRouteCalculatorResponse Text
- describeRouteCalculatorResponse_description :: Lens' DescribeRouteCalculatorResponse Text
- describeRouteCalculatorResponse_pricingPlan :: Lens' DescribeRouteCalculatorResponse PricingPlan
- describeRouteCalculatorResponse_updateTime :: Lens' DescribeRouteCalculatorResponse UTCTime
Creating a Request
data DescribeRouteCalculator Source #
See: newDescribeRouteCalculator
smart constructor.
DescribeRouteCalculator' | |
|
Instances
newDescribeRouteCalculator Source #
Create a value of DescribeRouteCalculator
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:calculatorName:DescribeRouteCalculator'
, describeRouteCalculator_calculatorName
- The name of the route calculator resource.
Request Lenses
describeRouteCalculator_calculatorName :: Lens' DescribeRouteCalculator Text Source #
The name of the route calculator resource.
Destructuring the Response
data DescribeRouteCalculatorResponse Source #
See: newDescribeRouteCalculatorResponse
smart constructor.
DescribeRouteCalculatorResponse' | |
|
Instances
newDescribeRouteCalculatorResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> UTCTime | |
-> Text | |
-> Text | |
-> PricingPlan | |
-> UTCTime | |
-> DescribeRouteCalculatorResponse |
Create a value of DescribeRouteCalculatorResponse
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:tags:DescribeRouteCalculatorResponse'
, describeRouteCalculatorResponse_tags
- Tags associated with route calculator resource.
$sel:httpStatus:DescribeRouteCalculatorResponse'
, describeRouteCalculatorResponse_httpStatus
- The response's http status code.
$sel:calculatorArn:DescribeRouteCalculatorResponse'
, describeRouteCalculatorResponse_calculatorArn
- The Amazon Resource Name (ARN) for the Route calculator resource. Use
the ARN when you specify a resource across AWS.
- Format example:
arn:aws:geo:region:account-id:route-calculator/ExampleCalculator
$sel:calculatorName:DescribeRouteCalculator'
, describeRouteCalculatorResponse_calculatorName
- The name of the route calculator resource being described.
$sel:createTime:DescribeRouteCalculatorResponse'
, describeRouteCalculatorResponse_createTime
- The timestamp when the route calculator resource was created in
ISO 8601
format: YYYY-MM-DDThh:mm:ss.sssZ
.
- For example,
2020–07-2T12:15:20.000Z+01:00
$sel:dataSource:DescribeRouteCalculatorResponse'
, describeRouteCalculatorResponse_dataSource
- The data provider of traffic and road network data. Indicates one of the
available providers:
Esri
Here
For more information about data providers, see Amazon Location Service data providers.
$sel:description:DescribeRouteCalculatorResponse'
, describeRouteCalculatorResponse_description
- The optional description of the route calculator resource.
$sel:pricingPlan:DescribeRouteCalculatorResponse'
, describeRouteCalculatorResponse_pricingPlan
- The pricing plan selected for the specified route calculator resource.
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.
$sel:updateTime:DescribeRouteCalculatorResponse'
, describeRouteCalculatorResponse_updateTime
- The timestamp when the route calculator resource was last updated in
ISO 8601
format: YYYY-MM-DDThh:mm:ss.sssZ
.
- For example,
2020–07-2T12:15:20.000Z+01:00
Response Lenses
describeRouteCalculatorResponse_tags :: Lens' DescribeRouteCalculatorResponse (Maybe (HashMap Text Text)) Source #
Tags associated with route calculator resource.
describeRouteCalculatorResponse_httpStatus :: Lens' DescribeRouteCalculatorResponse Int Source #
The response's http status code.
describeRouteCalculatorResponse_calculatorArn :: Lens' DescribeRouteCalculatorResponse Text Source #
The Amazon Resource Name (ARN) for the Route calculator resource. Use the ARN when you specify a resource across AWS.
- Format example:
arn:aws:geo:region:account-id:route-calculator/ExampleCalculator
describeRouteCalculatorResponse_calculatorName :: Lens' DescribeRouteCalculatorResponse Text Source #
The name of the route calculator resource being described.
describeRouteCalculatorResponse_createTime :: Lens' DescribeRouteCalculatorResponse UTCTime Source #
The timestamp when the route calculator resource was created in
ISO 8601
format: YYYY-MM-DDThh:mm:ss.sssZ
.
- For example,
2020–07-2T12:15:20.000Z+01:00
describeRouteCalculatorResponse_dataSource :: Lens' DescribeRouteCalculatorResponse Text Source #
The data provider of traffic and road network data. Indicates one of the available providers:
Esri
Here
For more information about data providers, see Amazon Location Service data providers.
describeRouteCalculatorResponse_description :: Lens' DescribeRouteCalculatorResponse Text Source #
The optional description of the route calculator resource.
describeRouteCalculatorResponse_pricingPlan :: Lens' DescribeRouteCalculatorResponse PricingPlan Source #
The pricing plan selected for the specified route calculator resource.
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.
describeRouteCalculatorResponse_updateTime :: Lens' DescribeRouteCalculatorResponse UTCTime Source #
The timestamp when the route calculator resource was last updated in
ISO 8601
format: YYYY-MM-DDThh:mm:ss.sssZ
.
- For example,
2020–07-2T12:15:20.000Z+01:00