amazonka-gamelift-2.0: Amazon GameLift 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.GameLift.DeleteVpcPeeringConnection

Description

Removes a VPC peering connection. To delete the connection, you must have a valid authorization for the VPC peering connection that you want to delete..

Once a valid authorization exists, call this operation from the Amazon Web Services account that is used to manage the Amazon GameLift fleets. Identify the connection to delete by the connection ID and fleet ID. If successful, the connection is removed.

Related actions

All APIs by task

Synopsis

Creating a Request

data DeleteVpcPeeringConnection Source #

See: newDeleteVpcPeeringConnection smart constructor.

Constructors

DeleteVpcPeeringConnection' 

Fields

  • fleetId :: Text

    A unique identifier for the fleet. This fleet specified must match the fleet referenced in the VPC peering connection record. You can use either the fleet ID or ARN value.

  • vpcPeeringConnectionId :: Text

    A unique identifier for a VPC peering connection.

Instances

Instances details
ToJSON DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

ToHeaders DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

ToPath DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

ToQuery DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

AWSRequest DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

Generic DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

Associated Types

type Rep DeleteVpcPeeringConnection :: Type -> Type #

Read DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

Show DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

NFData DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

Eq DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

Hashable DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

type AWSResponse DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

type Rep DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

type Rep DeleteVpcPeeringConnection = D1 ('MetaData "DeleteVpcPeeringConnection" "Amazonka.GameLift.DeleteVpcPeeringConnection" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "DeleteVpcPeeringConnection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fleetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "vpcPeeringConnectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteVpcPeeringConnection Source #

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

DeleteVpcPeeringConnection, deleteVpcPeeringConnection_fleetId - A unique identifier for the fleet. This fleet specified must match the fleet referenced in the VPC peering connection record. You can use either the fleet ID or ARN value.

DeleteVpcPeeringConnection, deleteVpcPeeringConnection_vpcPeeringConnectionId - A unique identifier for a VPC peering connection.

Request Lenses

deleteVpcPeeringConnection_fleetId :: Lens' DeleteVpcPeeringConnection Text Source #

A unique identifier for the fleet. This fleet specified must match the fleet referenced in the VPC peering connection record. You can use either the fleet ID or ARN value.

Destructuring the Response

data DeleteVpcPeeringConnectionResponse Source #

Constructors

DeleteVpcPeeringConnectionResponse' 

Fields

Instances

Instances details
Generic DeleteVpcPeeringConnectionResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

Associated Types

type Rep DeleteVpcPeeringConnectionResponse :: Type -> Type #

Read DeleteVpcPeeringConnectionResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

Show DeleteVpcPeeringConnectionResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

NFData DeleteVpcPeeringConnectionResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

Eq DeleteVpcPeeringConnectionResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

type Rep DeleteVpcPeeringConnectionResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

type Rep DeleteVpcPeeringConnectionResponse = D1 ('MetaData "DeleteVpcPeeringConnectionResponse" "Amazonka.GameLift.DeleteVpcPeeringConnection" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "DeleteVpcPeeringConnectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteVpcPeeringConnectionResponse Source #

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

Response Lenses