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 |
Amazonka.AppMesh.DescribeMesh
Description
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.
Constructors
DescribeMesh' | |
Fields
|
Instances
Arguments
:: Text | |
-> DescribeMesh |
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:
DescribeMesh
, describeMesh_meshOwner
- The Amazon Web Services 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
, describeMesh_meshName
- The name of the service mesh to describe.
Request Lenses
describeMesh_meshOwner :: Lens' DescribeMesh (Maybe Text) Source #
The Amazon Web Services 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.
Constructors
DescribeMeshResponse' | |
Fields
|
Instances
newDescribeMeshResponse Source #
Arguments
:: 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.