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 service mesh.
Synopsis
- data DescribeMesh = DescribeMesh' {}
- newDescribeMesh :: Text -> DescribeMesh
- describeMesh_meshOwner :: Lens' DescribeMesh (Maybe Text)
- describeMesh_meshName :: Lens' DescribeMesh Text
- data DescribeMeshResponse = DescribeMeshResponse' {
- httpStatus :: Int
- mesh :: MeshData
- newDescribeMeshResponse :: Int -> MeshData -> DescribeMeshResponse
- describeMeshResponse_httpStatus :: Lens' DescribeMeshResponse Int
- describeMeshResponse_mesh :: Lens' DescribeMeshResponse MeshData
Creating a Request
data DescribeMesh Source #
See: newDescribeMesh
smart constructor.
DescribeMesh' | |
|
Instances
Create a value of DescribeMesh
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:DescribeMesh'
, describeMesh_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:DescribeMesh'
, describeMesh_meshName
- The name of the service mesh to describe.
Request Lenses
describeMesh_meshOwner :: Lens' DescribeMesh (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.
describeMesh_meshName :: Lens' DescribeMesh Text Source #
The name of the service mesh to describe.
Destructuring the Response
data DescribeMeshResponse Source #
See: newDescribeMeshResponse
smart constructor.
DescribeMeshResponse' | |
|
Instances
newDescribeMeshResponse Source #
:: Int | |
-> MeshData | |
-> DescribeMeshResponse |
Create a value of DescribeMeshResponse
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:DescribeMeshResponse'
, describeMeshResponse_httpStatus
- The response's http status code.
$sel:mesh:DescribeMeshResponse'
, describeMeshResponse_mesh
- The full description of your service mesh.
Response Lenses
describeMeshResponse_httpStatus :: Lens' DescribeMeshResponse Int Source #
The response's http status code.
describeMeshResponse_mesh :: Lens' DescribeMeshResponse MeshData Source #
The full description of your service mesh.