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 |
Retrieves the route calculator resource details.
Synopsis
- data DescribeRouteCalculator = DescribeRouteCalculator' {}
- newDescribeRouteCalculator :: Text -> DescribeRouteCalculator
- describeRouteCalculator_calculatorName :: Lens' DescribeRouteCalculator Text
- data DescribeRouteCalculatorResponse = DescribeRouteCalculatorResponse' {
- pricingPlan :: Maybe PricingPlan
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- calculatorArn :: Text
- calculatorName :: Text
- createTime :: ISO8601
- dataSource :: Text
- description :: Text
- updateTime :: ISO8601
- newDescribeRouteCalculatorResponse :: Int -> Text -> Text -> UTCTime -> Text -> Text -> UTCTime -> DescribeRouteCalculatorResponse
- describeRouteCalculatorResponse_pricingPlan :: Lens' DescribeRouteCalculatorResponse (Maybe PricingPlan)
- 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_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:
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 #
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:
DescribeRouteCalculatorResponse
, describeRouteCalculatorResponse_pricingPlan
- Always returns RequestBasedUsage
.
$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
DescribeRouteCalculator
, describeRouteCalculatorResponse_calculatorName
- The name of the route calculator resource being described.
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
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.
DescribeRouteCalculatorResponse
, describeRouteCalculatorResponse_description
- The optional description of the route calculator resource.
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_pricingPlan :: Lens' DescribeRouteCalculatorResponse (Maybe PricingPlan) Source #
Always returns RequestBasedUsage
.
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_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