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 virtual router.
Synopsis
- data DescribeVirtualRouter = DescribeVirtualRouter' {}
- newDescribeVirtualRouter :: Text -> Text -> DescribeVirtualRouter
- describeVirtualRouter_meshOwner :: Lens' DescribeVirtualRouter (Maybe Text)
- describeVirtualRouter_meshName :: Lens' DescribeVirtualRouter Text
- describeVirtualRouter_virtualRouterName :: Lens' DescribeVirtualRouter Text
- data DescribeVirtualRouterResponse = DescribeVirtualRouterResponse' {}
- newDescribeVirtualRouterResponse :: Int -> VirtualRouterData -> DescribeVirtualRouterResponse
- describeVirtualRouterResponse_httpStatus :: Lens' DescribeVirtualRouterResponse Int
- describeVirtualRouterResponse_virtualRouter :: Lens' DescribeVirtualRouterResponse VirtualRouterData
Creating a Request
data DescribeVirtualRouter Source #
See: newDescribeVirtualRouter
smart constructor.
DescribeVirtualRouter' | |
|
Instances
newDescribeVirtualRouter Source #
:: Text | |
-> Text | |
-> DescribeVirtualRouter |
Create a value of DescribeVirtualRouter
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:DescribeVirtualRouter'
, describeVirtualRouter_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:DescribeVirtualRouter'
, describeVirtualRouter_meshName
- The name of the service mesh that the virtual router resides in.
$sel:virtualRouterName:DescribeVirtualRouter'
, describeVirtualRouter_virtualRouterName
- The name of the virtual router to describe.
Request Lenses
describeVirtualRouter_meshOwner :: Lens' DescribeVirtualRouter (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.
describeVirtualRouter_meshName :: Lens' DescribeVirtualRouter Text Source #
The name of the service mesh that the virtual router resides in.
describeVirtualRouter_virtualRouterName :: Lens' DescribeVirtualRouter Text Source #
The name of the virtual router to describe.
Destructuring the Response
data DescribeVirtualRouterResponse Source #
See: newDescribeVirtualRouterResponse
smart constructor.
DescribeVirtualRouterResponse' | |
|
Instances
newDescribeVirtualRouterResponse Source #
Create a value of DescribeVirtualRouterResponse
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:DescribeVirtualRouterResponse'
, describeVirtualRouterResponse_httpStatus
- The response's http status code.
$sel:virtualRouter:DescribeVirtualRouterResponse'
, describeVirtualRouterResponse_virtualRouter
- The full description of your virtual router.
Response Lenses
describeVirtualRouterResponse_httpStatus :: Lens' DescribeVirtualRouterResponse Int Source #
The response's http status code.
describeVirtualRouterResponse_virtualRouter :: Lens' DescribeVirtualRouterResponse VirtualRouterData Source #
The full description of your virtual router.