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

  • virtualGatewayName :: Text

    The name of the virtual gateway to delete.

Instances

Instances details
Eq DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

Read DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

Show DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

Generic DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

Associated Types

type Rep DeleteVirtualGateway :: Type -> Type #

NFData DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

Methods

rnf :: DeleteVirtualGateway -> () #

Hashable DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

AWSRequest DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

Associated Types

type AWSResponse DeleteVirtualGateway #

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

type Rep DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

type Rep DeleteVirtualGateway = D1 ('MetaData "DeleteVirtualGateway" "Amazonka.AppMesh.DeleteVirtualGateway" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" '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))))
type AWSResponse DeleteVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

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:

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

Constructors

DeleteVirtualGatewayResponse' 

Fields

Instances

Instances details
Eq DeleteVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

Read DeleteVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

Show DeleteVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

Generic DeleteVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.DeleteVirtualGateway

Associated Types

type Rep DeleteVirtualGatewayResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" '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