amazonka-directconnect-2.0: Amazon Direct Connect 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.DirectConnect.DeleteVirtualInterface

Description

Deletes a virtual interface.

Synopsis

Creating a Request

data DeleteVirtualInterface Source #

See: newDeleteVirtualInterface smart constructor.

Constructors

DeleteVirtualInterface' 

Fields

Instances

Instances details
ToJSON DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

ToHeaders DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

ToPath DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

ToQuery DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

AWSRequest DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

Associated Types

type AWSResponse DeleteVirtualInterface #

Generic DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

Associated Types

type Rep DeleteVirtualInterface :: Type -> Type #

Read DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

Show DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

NFData DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

Methods

rnf :: DeleteVirtualInterface -> () #

Eq DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

Hashable DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

type AWSResponse DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

type Rep DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

type Rep DeleteVirtualInterface = D1 ('MetaData "DeleteVirtualInterface" "Amazonka.DirectConnect.DeleteVirtualInterface" "amazonka-directconnect-2.0-L3DT8JGnMceEIS37MHoczF" 'False) (C1 ('MetaCons "DeleteVirtualInterface'" 'PrefixI 'True) (S1 ('MetaSel ('Just "virtualInterfaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteVirtualInterface Source #

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

DeleteVirtualInterface, deleteVirtualInterface_virtualInterfaceId - The ID of the virtual interface.

Request Lenses

Destructuring the Response

data DeleteVirtualInterfaceResponse Source #

See: newDeleteVirtualInterfaceResponse smart constructor.

Constructors

DeleteVirtualInterfaceResponse' 

Fields

  • virtualInterfaceState :: Maybe VirtualInterfaceState

    The state of the virtual interface. The following are the possible values:

    • confirming: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.
    • verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created.
    • pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic.
    • available: A virtual interface that is able to forward traffic.
    • down: A virtual interface that is BGP down.
    • deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic.
    • deleted: A virtual interface that cannot forward traffic.
    • rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in the Confirming state is deleted by the virtual interface owner, the virtual interface enters the Rejected state.
    • unknown: The state of the virtual interface is not available.
  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DeleteVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

Associated Types

type Rep DeleteVirtualInterfaceResponse :: Type -> Type #

Read DeleteVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

Show DeleteVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

NFData DeleteVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

Eq DeleteVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

type Rep DeleteVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

type Rep DeleteVirtualInterfaceResponse = D1 ('MetaData "DeleteVirtualInterfaceResponse" "Amazonka.DirectConnect.DeleteVirtualInterface" "amazonka-directconnect-2.0-L3DT8JGnMceEIS37MHoczF" 'False) (C1 ('MetaCons "DeleteVirtualInterfaceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "virtualInterfaceState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VirtualInterfaceState)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteVirtualInterfaceResponse Source #

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

DeleteVirtualInterfaceResponse, deleteVirtualInterfaceResponse_virtualInterfaceState - The state of the virtual interface. The following are the possible values:

  • confirming: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.
  • verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created.
  • pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic.
  • available: A virtual interface that is able to forward traffic.
  • down: A virtual interface that is BGP down.
  • deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic.
  • deleted: A virtual interface that cannot forward traffic.
  • rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in the Confirming state is deleted by the virtual interface owner, the virtual interface enters the Rejected state.
  • unknown: The state of the virtual interface is not available.

$sel:httpStatus:DeleteVirtualInterfaceResponse', deleteVirtualInterfaceResponse_httpStatus - The response's http status code.

Response Lenses

deleteVirtualInterfaceResponse_virtualInterfaceState :: Lens' DeleteVirtualInterfaceResponse (Maybe VirtualInterfaceState) Source #

The state of the virtual interface. The following are the possible values:

  • confirming: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.
  • verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created.
  • pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic.
  • available: A virtual interface that is able to forward traffic.
  • down: A virtual interface that is BGP down.
  • deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic.
  • deleted: A virtual interface that cannot forward traffic.
  • rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in the Confirming state is deleted by the virtual interface owner, the virtual interface enters the Rejected state.
  • unknown: The state of the virtual interface is not available.