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 |
Describes an existing route.
Synopsis
- data DescribeRoute = DescribeRoute' {}
- newDescribeRoute :: Text -> Text -> Text -> DescribeRoute
- describeRoute_meshOwner :: Lens' DescribeRoute (Maybe Text)
- describeRoute_meshName :: Lens' DescribeRoute Text
- describeRoute_routeName :: Lens' DescribeRoute Text
- describeRoute_virtualRouterName :: Lens' DescribeRoute Text
- data DescribeRouteResponse = DescribeRouteResponse' {
- httpStatus :: Int
- route :: RouteData
- newDescribeRouteResponse :: Int -> RouteData -> DescribeRouteResponse
- describeRouteResponse_httpStatus :: Lens' DescribeRouteResponse Int
- describeRouteResponse_route :: Lens' DescribeRouteResponse RouteData
Creating a Request
data DescribeRoute Source #
See: newDescribeRoute
smart constructor.
DescribeRoute' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> DescribeRoute |
Create a value of DescribeRoute
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:meshOwner:DescribeRoute'
, describeRoute_meshOwner
- The AWS IAM account ID of the service mesh owner. If the account ID is
not your own, then it's the ID of the account that shared the mesh with
your account. For more information about mesh sharing, see
Working with shared meshes.
$sel:meshName:DescribeRoute'
, describeRoute_meshName
- The name of the service mesh that the route resides in.
$sel:routeName:DescribeRoute'
, describeRoute_routeName
- The name of the route to describe.
$sel:virtualRouterName:DescribeRoute'
, describeRoute_virtualRouterName
- The name of the virtual router that the route is associated with.
Request Lenses
describeRoute_meshOwner :: Lens' DescribeRoute (Maybe Text) Source #
The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
describeRoute_meshName :: Lens' DescribeRoute Text Source #
The name of the service mesh that the route resides in.
describeRoute_routeName :: Lens' DescribeRoute Text Source #
The name of the route to describe.
describeRoute_virtualRouterName :: Lens' DescribeRoute Text Source #
The name of the virtual router that the route is associated with.
Destructuring the Response
data DescribeRouteResponse Source #
See: newDescribeRouteResponse
smart constructor.
DescribeRouteResponse' | |
|
Instances
newDescribeRouteResponse Source #
:: Int | |
-> RouteData | |
-> DescribeRouteResponse |
Create a value of DescribeRouteResponse
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:DescribeRouteResponse'
, describeRouteResponse_httpStatus
- The response's http status code.
$sel:route:DescribeRouteResponse'
, describeRouteResponse_route
- The full description of your route.
Response Lenses
describeRouteResponse_httpStatus :: Lens' DescribeRouteResponse Int Source #
The response's http status code.
describeRouteResponse_route :: Lens' DescribeRouteResponse RouteData Source #
The full description of your route.