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 gateway. You cannot delete a virtual gateway if any gateway routes are associated to it.
Synopsis
- data DeleteVirtualGateway = DeleteVirtualGateway' {}
- newDeleteVirtualGateway :: Text -> Text -> DeleteVirtualGateway
- deleteVirtualGateway_meshOwner :: Lens' DeleteVirtualGateway (Maybe Text)
- deleteVirtualGateway_meshName :: Lens' DeleteVirtualGateway Text
- deleteVirtualGateway_virtualGatewayName :: Lens' DeleteVirtualGateway Text
- data DeleteVirtualGatewayResponse = DeleteVirtualGatewayResponse' {}
- newDeleteVirtualGatewayResponse :: Int -> VirtualGatewayData -> DeleteVirtualGatewayResponse
- deleteVirtualGatewayResponse_httpStatus :: Lens' DeleteVirtualGatewayResponse Int
- deleteVirtualGatewayResponse_virtualGateway :: Lens' DeleteVirtualGatewayResponse VirtualGatewayData
Creating a Request
data DeleteVirtualGateway Source #
See: newDeleteVirtualGateway
smart constructor.
DeleteVirtualGateway' | |
|
Instances
newDeleteVirtualGateway Source #
:: Text | |
-> Text | |
-> DeleteVirtualGateway |
Create a value of DeleteVirtualGateway
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:DeleteVirtualGateway'
, deleteVirtualGateway_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:DeleteVirtualGateway'
, deleteVirtualGateway_meshName
- The name of the service mesh to delete the virtual gateway from.
$sel:virtualGatewayName:DeleteVirtualGateway'
, deleteVirtualGateway_virtualGatewayName
- The name of the virtual gateway to delete.
Request Lenses
deleteVirtualGateway_meshOwner :: Lens' DeleteVirtualGateway (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.
deleteVirtualGateway_meshName :: Lens' DeleteVirtualGateway Text Source #
The name of the service mesh to delete the virtual gateway from.
deleteVirtualGateway_virtualGatewayName :: Lens' DeleteVirtualGateway Text Source #
The name of the virtual gateway to delete.
Destructuring the Response
data DeleteVirtualGatewayResponse Source #
See: newDeleteVirtualGatewayResponse
smart constructor.
DeleteVirtualGatewayResponse' | |
|
Instances
newDeleteVirtualGatewayResponse Source #
Create a value of DeleteVirtualGatewayResponse
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:DeleteVirtualGatewayResponse'
, deleteVirtualGatewayResponse_httpStatus
- The response's http status code.
$sel:virtualGateway:DeleteVirtualGatewayResponse'
, deleteVirtualGatewayResponse_virtualGateway
- The virtual gateway that was deleted.
Response Lenses
deleteVirtualGatewayResponse_httpStatus :: Lens' DeleteVirtualGatewayResponse Int Source #
The response's http status code.
deleteVirtualGatewayResponse_virtualGateway :: Lens' DeleteVirtualGatewayResponse VirtualGatewayData Source #
The virtual gateway that was deleted.