amazonka-synthetics-2.0: Amazon Synthetics 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.Synthetics.DeleteGroup

Description

Deletes a group. The group doesn't need to be empty to be deleted. If there are canaries in the group, they are not deleted when you delete the group.

Groups are a global resource that appear in all Regions, but the request to delete a group must be made from its home Region. You can find the home Region of a group within its ARN.

Synopsis

Creating a Request

data DeleteGroup Source #

See: newDeleteGroup smart constructor.

Constructors

DeleteGroup' 

Fields

  • groupIdentifier :: Text

    Specifies which group to delete. You can specify the group name, the ARN, or the group ID as the GroupIdentifier.

Instances

Instances details
ToHeaders DeleteGroup Source # 
Instance details

Defined in Amazonka.Synthetics.DeleteGroup

Methods

toHeaders :: DeleteGroup -> [Header] #

ToPath DeleteGroup Source # 
Instance details

Defined in Amazonka.Synthetics.DeleteGroup

ToQuery DeleteGroup Source # 
Instance details

Defined in Amazonka.Synthetics.DeleteGroup

AWSRequest DeleteGroup Source # 
Instance details

Defined in Amazonka.Synthetics.DeleteGroup

Associated Types

type AWSResponse DeleteGroup #

Generic DeleteGroup Source # 
Instance details

Defined in Amazonka.Synthetics.DeleteGroup

Associated Types

type Rep DeleteGroup :: Type -> Type #

Read DeleteGroup Source # 
Instance details

Defined in Amazonka.Synthetics.DeleteGroup

Show DeleteGroup Source # 
Instance details

Defined in Amazonka.Synthetics.DeleteGroup

NFData DeleteGroup Source # 
Instance details

Defined in Amazonka.Synthetics.DeleteGroup

Methods

rnf :: DeleteGroup -> () #

Eq DeleteGroup Source # 
Instance details

Defined in Amazonka.Synthetics.DeleteGroup

Hashable DeleteGroup Source # 
Instance details

Defined in Amazonka.Synthetics.DeleteGroup

type AWSResponse DeleteGroup Source # 
Instance details

Defined in Amazonka.Synthetics.DeleteGroup

type Rep DeleteGroup Source # 
Instance details

Defined in Amazonka.Synthetics.DeleteGroup

type Rep DeleteGroup = D1 ('MetaData "DeleteGroup" "Amazonka.Synthetics.DeleteGroup" "amazonka-synthetics-2.0-3I8gICXDswl2F1HDbijRHZ" 'False) (C1 ('MetaCons "DeleteGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteGroup Source #

Create a value of DeleteGroup 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:groupIdentifier:DeleteGroup', deleteGroup_groupIdentifier - Specifies which group to delete. You can specify the group name, the ARN, or the group ID as the GroupIdentifier.

Request Lenses

deleteGroup_groupIdentifier :: Lens' DeleteGroup Text Source #

Specifies which group to delete. You can specify the group name, the ARN, or the group ID as the GroupIdentifier.

Destructuring the Response

data DeleteGroupResponse Source #

See: newDeleteGroupResponse smart constructor.

Constructors

DeleteGroupResponse' 

Fields

Instances

Instances details
Generic DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.Synthetics.DeleteGroup

Associated Types

type Rep DeleteGroupResponse :: Type -> Type #

Read DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.Synthetics.DeleteGroup

Show DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.Synthetics.DeleteGroup

NFData DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.Synthetics.DeleteGroup

Methods

rnf :: DeleteGroupResponse -> () #

Eq DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.Synthetics.DeleteGroup

type Rep DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.Synthetics.DeleteGroup

type Rep DeleteGroupResponse = D1 ('MetaData "DeleteGroupResponse" "Amazonka.Synthetics.DeleteGroup" "amazonka-synthetics-2.0-3I8gICXDswl2F1HDbijRHZ" 'False) (C1 ('MetaCons "DeleteGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteGroupResponse Source #

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

Response Lenses