amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.DeletePlacementGroup

Description

Deletes the specified placement group. You must terminate all instances in the placement group before you can delete the placement group. For more information, see Placement groups in the Amazon EC2 User Guide.

Synopsis

Creating a Request

data DeletePlacementGroup Source #

See: newDeletePlacementGroup smart constructor.

Constructors

DeletePlacementGroup' 

Fields

  • dryRun :: Maybe Bool

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • groupName :: Text

    The name of the placement group.

Instances

Instances details
ToHeaders DeletePlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.DeletePlacementGroup

ToPath DeletePlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.DeletePlacementGroup

ToQuery DeletePlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.DeletePlacementGroup

AWSRequest DeletePlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.DeletePlacementGroup

Associated Types

type AWSResponse DeletePlacementGroup #

Generic DeletePlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.DeletePlacementGroup

Associated Types

type Rep DeletePlacementGroup :: Type -> Type #

Read DeletePlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.DeletePlacementGroup

Show DeletePlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.DeletePlacementGroup

NFData DeletePlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.DeletePlacementGroup

Methods

rnf :: DeletePlacementGroup -> () #

Eq DeletePlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.DeletePlacementGroup

Hashable DeletePlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.DeletePlacementGroup

type AWSResponse DeletePlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.DeletePlacementGroup

type Rep DeletePlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.DeletePlacementGroup

type Rep DeletePlacementGroup = D1 ('MetaData "DeletePlacementGroup" "Amazonka.EC2.DeletePlacementGroup" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DeletePlacementGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeletePlacementGroup Source #

Create a value of DeletePlacementGroup 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:dryRun:DeletePlacementGroup', deletePlacementGroup_dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

DeletePlacementGroup, deletePlacementGroup_groupName - The name of the placement group.

Request Lenses

deletePlacementGroup_dryRun :: Lens' DeletePlacementGroup (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Destructuring the Response

data DeletePlacementGroupResponse Source #

See: newDeletePlacementGroupResponse smart constructor.

Instances

Instances details
Generic DeletePlacementGroupResponse Source # 
Instance details

Defined in Amazonka.EC2.DeletePlacementGroup

Associated Types

type Rep DeletePlacementGroupResponse :: Type -> Type #

Read DeletePlacementGroupResponse Source # 
Instance details

Defined in Amazonka.EC2.DeletePlacementGroup

Show DeletePlacementGroupResponse Source # 
Instance details

Defined in Amazonka.EC2.DeletePlacementGroup

NFData DeletePlacementGroupResponse Source # 
Instance details

Defined in Amazonka.EC2.DeletePlacementGroup

Eq DeletePlacementGroupResponse Source # 
Instance details

Defined in Amazonka.EC2.DeletePlacementGroup

type Rep DeletePlacementGroupResponse Source # 
Instance details

Defined in Amazonka.EC2.DeletePlacementGroup

type Rep DeletePlacementGroupResponse = D1 ('MetaData "DeletePlacementGroupResponse" "Amazonka.EC2.DeletePlacementGroup" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DeletePlacementGroupResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeletePlacementGroupResponse :: DeletePlacementGroupResponse Source #

Create a value of DeletePlacementGroupResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.