Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DeleteVpcPeeringConnection = DeleteVpcPeeringConnection' {}
- newDeleteVpcPeeringConnection :: Text -> Text -> DeleteVpcPeeringConnection
- deleteVpcPeeringConnection_fleetId :: Lens' DeleteVpcPeeringConnection Text
- deleteVpcPeeringConnection_vpcPeeringConnectionId :: Lens' DeleteVpcPeeringConnection Text
- data DeleteVpcPeeringConnectionResponse = DeleteVpcPeeringConnectionResponse' {
- httpStatus :: Int
- newDeleteVpcPeeringConnectionResponse :: Int -> DeleteVpcPeeringConnectionResponse
- deleteVpcPeeringConnectionResponse_httpStatus :: Lens' DeleteVpcPeeringConnectionResponse Int
Creating a Request
data DeleteVpcPeeringConnection Source #
Represents the input for a request operation.
See: newDeleteVpcPeeringConnection
smart constructor.
DeleteVpcPeeringConnection' | |
|
Instances
newDeleteVpcPeeringConnection Source #
:: Text | |
-> Text | |
-> DeleteVpcPeeringConnection |
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 #
See: newDeleteVpcPeeringConnectionResponse
smart constructor.
DeleteVpcPeeringConnectionResponse' | |
|
Instances
Eq DeleteVpcPeeringConnectionResponse Source # | |
Read DeleteVpcPeeringConnectionResponse Source # | |
Show DeleteVpcPeeringConnectionResponse Source # | |
Generic DeleteVpcPeeringConnectionResponse Source # | |
NFData DeleteVpcPeeringConnectionResponse Source # | |
Defined in Amazonka.GameLift.DeleteVpcPeeringConnection rnf :: DeleteVpcPeeringConnectionResponse -> () # | |
type Rep DeleteVpcPeeringConnectionResponse Source # | |
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
deleteVpcPeeringConnectionResponse_httpStatus :: Lens' DeleteVpcPeeringConnectionResponse Int Source #
The response's http status code.