amazonka-appmesh-2.0: Amazon App Mesh SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AppMesh.DeleteRoute

Description

Deletes an existing route.

Synopsis

Creating a Request

data DeleteRoute Source #

See: newDeleteRoute smart constructor.

Constructors

DeleteRoute' 

Fields

  • meshOwner :: Maybe Text

    The Amazon Web Services 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.

  • meshName :: Text

    The name of the service mesh to delete the route in.

  • routeName :: Text

    The name of the route to delete.

  • virtualRouterName :: Text

    The name of the virtual router to delete the route in.

Instances

Instances details
ToHeaders DeleteRoute Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteRoute

Methods

toHeaders :: DeleteRoute -> [Header] #

ToPath DeleteRoute Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteRoute

ToQuery DeleteRoute Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteRoute

AWSRequest DeleteRoute Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteRoute

Associated Types

type AWSResponse DeleteRoute #

Generic DeleteRoute Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteRoute

Associated Types

type Rep DeleteRoute :: Type -> Type #

Read DeleteRoute Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteRoute

Show DeleteRoute Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteRoute

NFData DeleteRoute Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteRoute

Methods

rnf :: DeleteRoute -> () #

Eq DeleteRoute Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteRoute

Hashable DeleteRoute Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteRoute

type AWSResponse DeleteRoute Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteRoute

type Rep DeleteRoute Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteRoute

type Rep DeleteRoute = D1 ('MetaData "DeleteRoute" "Amazonka.AppMesh.DeleteRoute" "amazonka-appmesh-2.0-GBIHUgXnP8s1LEJyvNe1ca" 'False) (C1 ('MetaCons "DeleteRoute'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "meshOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "meshName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "routeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "virtualRouterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDeleteRoute Source #

Create a value of DeleteRoute 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:

DeleteRoute, deleteRoute_meshOwner - The Amazon Web Services 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.

DeleteRoute, deleteRoute_meshName - The name of the service mesh to delete the route in.

DeleteRoute, deleteRoute_routeName - The name of the route to delete.

DeleteRoute, deleteRoute_virtualRouterName - The name of the virtual router to delete the route in.

Request Lenses

deleteRoute_meshOwner :: Lens' DeleteRoute (Maybe Text) Source #

The Amazon Web Services 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.

deleteRoute_meshName :: Lens' DeleteRoute Text Source #

The name of the service mesh to delete the route in.

deleteRoute_routeName :: Lens' DeleteRoute Text Source #

The name of the route to delete.

deleteRoute_virtualRouterName :: Lens' DeleteRoute Text Source #

The name of the virtual router to delete the route in.

Destructuring the Response

data DeleteRouteResponse Source #

See: newDeleteRouteResponse smart constructor.

Constructors

DeleteRouteResponse' 

Fields

Instances

Instances details
Generic DeleteRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteRoute

Associated Types

type Rep DeleteRouteResponse :: Type -> Type #

Read DeleteRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteRoute

Show DeleteRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteRoute

NFData DeleteRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteRoute

Methods

rnf :: DeleteRouteResponse -> () #

Eq DeleteRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteRoute

type Rep DeleteRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteRoute

type Rep DeleteRouteResponse = D1 ('MetaData "DeleteRouteResponse" "Amazonka.AppMesh.DeleteRoute" "amazonka-appmesh-2.0-GBIHUgXnP8s1LEJyvNe1ca" 'False) (C1 ('MetaCons "DeleteRouteResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "route") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RouteData)))

newDeleteRouteResponse Source #

Create a value of DeleteRouteResponse 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:DeleteRouteResponse', deleteRouteResponse_httpStatus - The response's http status code.

$sel:route:DeleteRouteResponse', deleteRouteResponse_route - The route that was deleted.

Response Lenses