libZSservicesZSamazonka-gameliftZSamazonka-gamelift
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.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. You can check for an authorization by calling DescribeVpcPeeringAuthorizations or request a new one using CreateVpcPeeringAuthorization.

Once a valid authorization exists, call this operation from the AWS 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

CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection | All APIs by task

Synopsis

Creating a Request

data DeleteVpcPeeringConnection Source #

Represents the input for a request operation.

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. This value is included in the VpcPeeringConnection object, which can be retrieved by calling DescribeVpcPeeringConnections.

Instances

Instances details
Eq DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

Read DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

Show 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 #

NFData DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

Hashable DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

ToJSON DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

AWSRequest 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

type Rep DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

type Rep DeleteVpcPeeringConnection = D1 ('MetaData "DeleteVpcPeeringConnection" "Amazonka.GameLift.DeleteVpcPeeringConnection" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "DeleteVpcPeeringConnection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fleetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "vpcPeeringConnectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteVpcPeeringConnection Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

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:

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

$sel:vpcPeeringConnectionId:DeleteVpcPeeringConnection', deleteVpcPeeringConnection_vpcPeeringConnectionId - A unique identifier for a VPC peering connection. This value is included in the VpcPeeringConnection object, which can be retrieved by calling DescribeVpcPeeringConnections.

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.

deleteVpcPeeringConnection_vpcPeeringConnectionId :: Lens' DeleteVpcPeeringConnection Text Source #

A unique identifier for a VPC peering connection. This value is included in the VpcPeeringConnection object, which can be retrieved by calling DescribeVpcPeeringConnections.

Destructuring the Response

data DeleteVpcPeeringConnectionResponse Source #

Constructors

DeleteVpcPeeringConnectionResponse' 

Fields

Instances

Instances details
Eq DeleteVpcPeeringConnectionResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

Read DeleteVpcPeeringConnectionResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

Show DeleteVpcPeeringConnectionResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

Generic DeleteVpcPeeringConnectionResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteVpcPeeringConnection

Associated Types

type Rep DeleteVpcPeeringConnectionResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" '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