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 router.
You must delete any routes associated with the virtual router before you can delete the router itself.
Synopsis
- data DeleteVirtualRouter = DeleteVirtualRouter' {}
- newDeleteVirtualRouter :: Text -> Text -> DeleteVirtualRouter
- deleteVirtualRouter_meshOwner :: Lens' DeleteVirtualRouter (Maybe Text)
- deleteVirtualRouter_meshName :: Lens' DeleteVirtualRouter Text
- deleteVirtualRouter_virtualRouterName :: Lens' DeleteVirtualRouter Text
- data DeleteVirtualRouterResponse = DeleteVirtualRouterResponse' {}
- newDeleteVirtualRouterResponse :: Int -> VirtualRouterData -> DeleteVirtualRouterResponse
- deleteVirtualRouterResponse_httpStatus :: Lens' DeleteVirtualRouterResponse Int
- deleteVirtualRouterResponse_virtualRouter :: Lens' DeleteVirtualRouterResponse VirtualRouterData
Creating a Request
data DeleteVirtualRouter Source #
See: newDeleteVirtualRouter
smart constructor.
DeleteVirtualRouter' | |
|
Instances
newDeleteVirtualRouter Source #
:: Text | |
-> Text | |
-> DeleteVirtualRouter |
Create a value of DeleteVirtualRouter
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:DeleteVirtualRouter'
, deleteVirtualRouter_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:DeleteVirtualRouter'
, deleteVirtualRouter_meshName
- The name of the service mesh to delete the virtual router in.
$sel:virtualRouterName:DeleteVirtualRouter'
, deleteVirtualRouter_virtualRouterName
- The name of the virtual router to delete.
Request Lenses
deleteVirtualRouter_meshOwner :: Lens' DeleteVirtualRouter (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.
deleteVirtualRouter_meshName :: Lens' DeleteVirtualRouter Text Source #
The name of the service mesh to delete the virtual router in.
deleteVirtualRouter_virtualRouterName :: Lens' DeleteVirtualRouter Text Source #
The name of the virtual router to delete.
Destructuring the Response
data DeleteVirtualRouterResponse Source #
See: newDeleteVirtualRouterResponse
smart constructor.
DeleteVirtualRouterResponse' | |
|
Instances
newDeleteVirtualRouterResponse Source #
Create a value of DeleteVirtualRouterResponse
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:DeleteVirtualRouterResponse'
, deleteVirtualRouterResponse_httpStatus
- The response's http status code.
$sel:virtualRouter:DeleteVirtualRouterResponse'
, deleteVirtualRouterResponse_virtualRouter
- The virtual router that was deleted.
Response Lenses
deleteVirtualRouterResponse_httpStatus :: Lens' DeleteVirtualRouterResponse Int Source #
The response's http status code.
deleteVirtualRouterResponse_virtualRouter :: Lens' DeleteVirtualRouterResponse VirtualRouterData Source #
The virtual router that was deleted.