libZSservicesZSamazonka-appmeshZSamazonka-appmesh
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AppMesh.DeleteVirtualRouter

Description

Deletes an existing virtual router.

You must delete any routes associated with the virtual router before you can delete the router itself.

Synopsis

Creating a Request

data DeleteVirtualRouter Source #

See: newDeleteVirtualRouter smart constructor.

Constructors

DeleteVirtualRouter' 

Fields

  • meshOwner :: Maybe Text

    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.

  • meshName :: Text

    The name of the service mesh to delete the virtual router in.

  • virtualRouterName :: Text

    The name of the virtual router to delete.

Instances

Instances details
Eq DeleteVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualRouter

Read DeleteVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualRouter

Show DeleteVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualRouter

Generic DeleteVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualRouter

Associated Types

type Rep DeleteVirtualRouter :: Type -> Type #

NFData DeleteVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualRouter

Methods

rnf :: DeleteVirtualRouter -> () #

Hashable DeleteVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualRouter

AWSRequest DeleteVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualRouter

Associated Types

type AWSResponse DeleteVirtualRouter #

ToHeaders DeleteVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualRouter

ToPath DeleteVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualRouter

ToQuery DeleteVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualRouter

type Rep DeleteVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualRouter

type Rep DeleteVirtualRouter = D1 ('MetaData "DeleteVirtualRouter" "Amazonka.AppMesh.DeleteVirtualRouter" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" 'False) (C1 ('MetaCons "DeleteVirtualRouter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "meshOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "meshName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "virtualRouterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualRouter

newDeleteVirtualRouter Source #

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.

Constructors

DeleteVirtualRouterResponse' 

Fields

Instances

Instances details
Eq DeleteVirtualRouterResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualRouter

Read DeleteVirtualRouterResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualRouter

Show DeleteVirtualRouterResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualRouter

Generic DeleteVirtualRouterResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualRouter

Associated Types

type Rep DeleteVirtualRouterResponse :: Type -> Type #

NFData DeleteVirtualRouterResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualRouter

type Rep DeleteVirtualRouterResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualRouter

type Rep DeleteVirtualRouterResponse = D1 ('MetaData "DeleteVirtualRouterResponse" "Amazonka.AppMesh.DeleteVirtualRouter" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" 'False) (C1 ('MetaCons "DeleteVirtualRouterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "virtualRouter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VirtualRouterData)))

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