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 |
Deletes an existing virtual service.
Synopsis
- data DeleteVirtualService = DeleteVirtualService' {}
- newDeleteVirtualService :: Text -> Text -> DeleteVirtualService
- deleteVirtualService_meshOwner :: Lens' DeleteVirtualService (Maybe Text)
- deleteVirtualService_meshName :: Lens' DeleteVirtualService Text
- deleteVirtualService_virtualServiceName :: Lens' DeleteVirtualService Text
- data DeleteVirtualServiceResponse = DeleteVirtualServiceResponse' {}
- newDeleteVirtualServiceResponse :: Int -> VirtualServiceData -> DeleteVirtualServiceResponse
- deleteVirtualServiceResponse_httpStatus :: Lens' DeleteVirtualServiceResponse Int
- deleteVirtualServiceResponse_virtualService :: Lens' DeleteVirtualServiceResponse VirtualServiceData
Creating a Request
data DeleteVirtualService Source #
See: newDeleteVirtualService
smart constructor.
DeleteVirtualService' | |
|
Instances
newDeleteVirtualService Source #
:: Text | |
-> Text | |
-> DeleteVirtualService |
Create a value of DeleteVirtualService
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:DeleteVirtualService'
, deleteVirtualService_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:DeleteVirtualService'
, deleteVirtualService_meshName
- The name of the service mesh to delete the virtual service in.
$sel:virtualServiceName:DeleteVirtualService'
, deleteVirtualService_virtualServiceName
- The name of the virtual service to delete.
Request Lenses
deleteVirtualService_meshOwner :: Lens' DeleteVirtualService (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.
deleteVirtualService_meshName :: Lens' DeleteVirtualService Text Source #
The name of the service mesh to delete the virtual service in.
deleteVirtualService_virtualServiceName :: Lens' DeleteVirtualService Text Source #
The name of the virtual service to delete.
Destructuring the Response
data DeleteVirtualServiceResponse Source #
See: newDeleteVirtualServiceResponse
smart constructor.
DeleteVirtualServiceResponse' | |
|
Instances
newDeleteVirtualServiceResponse Source #
Create a value of DeleteVirtualServiceResponse
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:DeleteVirtualServiceResponse'
, deleteVirtualServiceResponse_httpStatus
- The response's http status code.
$sel:virtualService:DeleteVirtualServiceResponse'
, deleteVirtualServiceResponse_virtualService
- The virtual service that was deleted.
Response Lenses
deleteVirtualServiceResponse_httpStatus :: Lens' DeleteVirtualServiceResponse Int Source #
The response's http status code.
deleteVirtualServiceResponse_virtualService :: Lens' DeleteVirtualServiceResponse VirtualServiceData Source #
The virtual service that was deleted.