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 service.
Synopsis
- data DescribeVirtualService = DescribeVirtualService' {}
- newDescribeVirtualService :: Text -> Text -> DescribeVirtualService
- describeVirtualService_meshOwner :: Lens' DescribeVirtualService (Maybe Text)
- describeVirtualService_meshName :: Lens' DescribeVirtualService Text
- describeVirtualService_virtualServiceName :: Lens' DescribeVirtualService Text
- data DescribeVirtualServiceResponse = DescribeVirtualServiceResponse' {}
- newDescribeVirtualServiceResponse :: Int -> VirtualServiceData -> DescribeVirtualServiceResponse
- describeVirtualServiceResponse_httpStatus :: Lens' DescribeVirtualServiceResponse Int
- describeVirtualServiceResponse_virtualService :: Lens' DescribeVirtualServiceResponse VirtualServiceData
Creating a Request
data DescribeVirtualService Source #
See: newDescribeVirtualService
smart constructor.
DescribeVirtualService' | |
|
Instances
newDescribeVirtualService Source #
:: Text | |
-> Text | |
-> DescribeVirtualService |
Create a value of DescribeVirtualService
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:DescribeVirtualService'
, describeVirtualService_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:DescribeVirtualService'
, describeVirtualService_meshName
- The name of the service mesh that the virtual service resides in.
$sel:virtualServiceName:DescribeVirtualService'
, describeVirtualService_virtualServiceName
- The name of the virtual service to describe.
Request Lenses
describeVirtualService_meshOwner :: Lens' DescribeVirtualService (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.
describeVirtualService_meshName :: Lens' DescribeVirtualService Text Source #
The name of the service mesh that the virtual service resides in.
describeVirtualService_virtualServiceName :: Lens' DescribeVirtualService Text Source #
The name of the virtual service to describe.
Destructuring the Response
data DescribeVirtualServiceResponse Source #
See: newDescribeVirtualServiceResponse
smart constructor.
DescribeVirtualServiceResponse' | |
|
Instances
Eq DescribeVirtualServiceResponse Source # | |
Read DescribeVirtualServiceResponse Source # | |
Show DescribeVirtualServiceResponse Source # | |
Defined in Amazonka.AppMesh.DescribeVirtualService | |
Generic DescribeVirtualServiceResponse Source # | |
NFData DescribeVirtualServiceResponse Source # | |
Defined in Amazonka.AppMesh.DescribeVirtualService rnf :: DescribeVirtualServiceResponse -> () # | |
type Rep DescribeVirtualServiceResponse Source # | |
Defined in Amazonka.AppMesh.DescribeVirtualService type Rep DescribeVirtualServiceResponse = D1 ('MetaData "DescribeVirtualServiceResponse" "Amazonka.AppMesh.DescribeVirtualService" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" 'False) (C1 ('MetaCons "DescribeVirtualServiceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "virtualService") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VirtualServiceData))) |
newDescribeVirtualServiceResponse Source #
Create a value of DescribeVirtualServiceResponse
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:DescribeVirtualServiceResponse'
, describeVirtualServiceResponse_httpStatus
- The response's http status code.
$sel:virtualService:DescribeVirtualServiceResponse'
, describeVirtualServiceResponse_virtualService
- The full description of your virtual service.
Response Lenses
describeVirtualServiceResponse_httpStatus :: Lens' DescribeVirtualServiceResponse Int Source #
The response's http status code.
describeVirtualServiceResponse_virtualService :: Lens' DescribeVirtualServiceResponse VirtualServiceData Source #
The full description of your virtual service.