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

Description

Accepts ownership of a public virtual interface created by another Amazon Web Services account.

After the virtual interface owner makes this call, the specified virtual interface is created and made available to handle traffic.

Synopsis

Creating a Request

data ConfirmPublicVirtualInterface Source #

See: newConfirmPublicVirtualInterface smart constructor.

Constructors

ConfirmPublicVirtualInterface' 

Fields

Instances

Instances details
Eq ConfirmPublicVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

Read ConfirmPublicVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

Show ConfirmPublicVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

Generic ConfirmPublicVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

Associated Types

type Rep ConfirmPublicVirtualInterface :: Type -> Type #

NFData ConfirmPublicVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

Hashable ConfirmPublicVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

ToJSON ConfirmPublicVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

AWSRequest ConfirmPublicVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

ToHeaders ConfirmPublicVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

ToPath ConfirmPublicVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

ToQuery ConfirmPublicVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

type Rep ConfirmPublicVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

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

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

newConfirmPublicVirtualInterface Source #

Create a value of ConfirmPublicVirtualInterface 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:ConfirmPublicVirtualInterface', confirmPublicVirtualInterface_virtualInterfaceId - The ID of the virtual interface.

Request Lenses

Destructuring the Response

data ConfirmPublicVirtualInterfaceResponse Source #

Constructors

ConfirmPublicVirtualInterfaceResponse' 

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 ConfirmPublicVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

Read ConfirmPublicVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

Show ConfirmPublicVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

Generic ConfirmPublicVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

NFData ConfirmPublicVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

type Rep ConfirmPublicVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmPublicVirtualInterface

type Rep ConfirmPublicVirtualInterfaceResponse = D1 ('MetaData "ConfirmPublicVirtualInterfaceResponse" "Amazonka.DirectConnect.ConfirmPublicVirtualInterface" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "ConfirmPublicVirtualInterfaceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "virtualInterfaceState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VirtualInterfaceState)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newConfirmPublicVirtualInterfaceResponse Source #

Create a value of ConfirmPublicVirtualInterfaceResponse 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:ConfirmPublicVirtualInterfaceResponse', confirmPublicVirtualInterfaceResponse_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:ConfirmPublicVirtualInterfaceResponse', confirmPublicVirtualInterfaceResponse_httpStatus - The response's http status code.

Response Lenses

confirmPublicVirtualInterfaceResponse_virtualInterfaceState :: Lens' ConfirmPublicVirtualInterfaceResponse (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.