libZSservicesZSamazonka-directconnectZSamazonka-directconnect
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.DirectConnect.DeleteVirtualInterface

Description

Deletes a virtual interface.

Synopsis

Creating a Request

data DeleteVirtualInterface Source #

See: newDeleteVirtualInterface smart constructor.

Constructors

DeleteVirtualInterface' 

Fields

Instances

Instances details
Eq DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

Read DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

Show DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

Generic DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

Associated Types

type Rep DeleteVirtualInterface :: Type -> Type #

NFData DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

Methods

rnf :: DeleteVirtualInterface -> () #

Hashable DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

ToJSON DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

AWSRequest DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

Associated Types

type AWSResponse 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

type Rep DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

type Rep DeleteVirtualInterface = D1 ('MetaData "DeleteVirtualInterface" "Amazonka.DirectConnect.DeleteVirtualInterface" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "DeleteVirtualInterface'" 'PrefixI 'True) (S1 ('MetaSel ('Just "virtualInterfaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

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:

$sel:virtualInterfaceId: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
Eq DeleteVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

Read DeleteVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

Show DeleteVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

Generic DeleteVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteVirtualInterface

Associated Types

type Rep DeleteVirtualInterfaceResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" '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:

$sel:virtualInterfaceState: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.