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.DeleteVirtualGateway

Description

Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway routes are associated to it.

Synopsis

Creating a Request

data DeleteVirtualGateway Source #

See: newDeleteVirtualGateway smart constructor.

Constructors

DeleteVirtualGateway' 

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 virtual gateway from.

  • virtualGatewayName :: Text

    The name of the virtual gateway to delete.

Instances

Instances details
ToHeaders DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

ToPath DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

ToQuery DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

AWSRequest DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

Associated Types

type AWSResponse DeleteVirtualGateway #

Generic DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

Associated Types

type Rep DeleteVirtualGateway :: Type -> Type #

Read DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

Show DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

NFData DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

Methods

rnf :: DeleteVirtualGateway -> () #

Eq DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

Hashable DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

type AWSResponse DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

type Rep DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

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

newDeleteVirtualGateway Source #

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:

DeleteVirtualGateway, deleteVirtualGateway_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.

DeleteVirtualGateway, deleteVirtualGateway_meshName - The name of the service mesh to delete the virtual gateway from.

DeleteVirtualGateway, deleteVirtualGateway_virtualGatewayName - The name of the virtual gateway to delete.

Request Lenses

deleteVirtualGateway_meshOwner :: Lens' DeleteVirtualGateway (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.

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.

Constructors

DeleteVirtualGatewayResponse' 

Fields

Instances

Instances details
Generic DeleteVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

Associated Types

type Rep DeleteVirtualGatewayResponse :: Type -> Type #

Read DeleteVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

Show DeleteVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

NFData DeleteVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

Eq DeleteVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

type Rep DeleteVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

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

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