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 gateway route.
Synopsis
- data DeleteGatewayRoute = DeleteGatewayRoute' {}
- newDeleteGatewayRoute :: Text -> Text -> Text -> DeleteGatewayRoute
- deleteGatewayRoute_meshOwner :: Lens' DeleteGatewayRoute (Maybe Text)
- deleteGatewayRoute_gatewayRouteName :: Lens' DeleteGatewayRoute Text
- deleteGatewayRoute_meshName :: Lens' DeleteGatewayRoute Text
- deleteGatewayRoute_virtualGatewayName :: Lens' DeleteGatewayRoute Text
- data DeleteGatewayRouteResponse = DeleteGatewayRouteResponse' {}
- newDeleteGatewayRouteResponse :: Int -> GatewayRouteData -> DeleteGatewayRouteResponse
- deleteGatewayRouteResponse_httpStatus :: Lens' DeleteGatewayRouteResponse Int
- deleteGatewayRouteResponse_gatewayRoute :: Lens' DeleteGatewayRouteResponse GatewayRouteData
Creating a Request
data DeleteGatewayRoute Source #
See: newDeleteGatewayRoute
smart constructor.
DeleteGatewayRoute' | |
|
Instances
newDeleteGatewayRoute Source #
:: Text | |
-> Text | |
-> Text | |
-> DeleteGatewayRoute |
Create a value of DeleteGatewayRoute
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:DeleteGatewayRoute'
, deleteGatewayRoute_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:gatewayRouteName:DeleteGatewayRoute'
, deleteGatewayRoute_gatewayRouteName
- The name of the gateway route to delete.
$sel:meshName:DeleteGatewayRoute'
, deleteGatewayRoute_meshName
- The name of the service mesh to delete the gateway route from.
$sel:virtualGatewayName:DeleteGatewayRoute'
, deleteGatewayRoute_virtualGatewayName
- The name of the virtual gateway to delete the route from.
Request Lenses
deleteGatewayRoute_meshOwner :: Lens' DeleteGatewayRoute (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.
deleteGatewayRoute_gatewayRouteName :: Lens' DeleteGatewayRoute Text Source #
The name of the gateway route to delete.
deleteGatewayRoute_meshName :: Lens' DeleteGatewayRoute Text Source #
The name of the service mesh to delete the gateway route from.
deleteGatewayRoute_virtualGatewayName :: Lens' DeleteGatewayRoute Text Source #
The name of the virtual gateway to delete the route from.
Destructuring the Response
data DeleteGatewayRouteResponse Source #
See: newDeleteGatewayRouteResponse
smart constructor.
DeleteGatewayRouteResponse' | |
|
Instances
newDeleteGatewayRouteResponse Source #
Create a value of DeleteGatewayRouteResponse
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:DeleteGatewayRouteResponse'
, deleteGatewayRouteResponse_httpStatus
- The response's http status code.
$sel:gatewayRoute:DeleteGatewayRouteResponse'
, deleteGatewayRouteResponse_gatewayRoute
- The gateway route that was deleted.
Response Lenses
deleteGatewayRouteResponse_httpStatus :: Lens' DeleteGatewayRouteResponse Int Source #
The response's http status code.
deleteGatewayRouteResponse_gatewayRoute :: Lens' DeleteGatewayRouteResponse GatewayRouteData Source #
The gateway route that was deleted.