amazonka-shield-2.0: Amazon Shield 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.Shield.DescribeProtectionGroup

Description

Returns the specification for the specified protection group.

Synopsis

Creating a Request

data DescribeProtectionGroup Source #

See: newDescribeProtectionGroup smart constructor.

Constructors

DescribeProtectionGroup' 

Fields

  • protectionGroupId :: Text

    The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

Instances

Instances details
ToJSON DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

ToHeaders DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

ToPath DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

ToQuery DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

AWSRequest DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

Generic DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

Associated Types

type Rep DescribeProtectionGroup :: Type -> Type #

Read DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

Show DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

NFData DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

Methods

rnf :: DescribeProtectionGroup -> () #

Eq DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

Hashable DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

type AWSResponse DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

type Rep DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

type Rep DescribeProtectionGroup = D1 ('MetaData "DescribeProtectionGroup" "Amazonka.Shield.DescribeProtectionGroup" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" 'False) (C1 ('MetaCons "DescribeProtectionGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "protectionGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeProtectionGroup Source #

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

DescribeProtectionGroup, describeProtectionGroup_protectionGroupId - The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

Request Lenses

describeProtectionGroup_protectionGroupId :: Lens' DescribeProtectionGroup Text Source #

The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

Destructuring the Response

data DescribeProtectionGroupResponse Source #

See: newDescribeProtectionGroupResponse smart constructor.

Constructors

DescribeProtectionGroupResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • protectionGroup :: ProtectionGroup

    A grouping of protected resources that you and Shield Advanced can monitor as a collective. This resource grouping improves the accuracy of detection and reduces false positives.

Instances

Instances details
Generic DescribeProtectionGroupResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

Associated Types

type Rep DescribeProtectionGroupResponse :: Type -> Type #

Read DescribeProtectionGroupResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

Show DescribeProtectionGroupResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

NFData DescribeProtectionGroupResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

Eq DescribeProtectionGroupResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

type Rep DescribeProtectionGroupResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

type Rep DescribeProtectionGroupResponse = D1 ('MetaData "DescribeProtectionGroupResponse" "Amazonka.Shield.DescribeProtectionGroup" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" 'False) (C1 ('MetaCons "DescribeProtectionGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "protectionGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProtectionGroup)))

newDescribeProtectionGroupResponse Source #

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

$sel:protectionGroup:DescribeProtectionGroupResponse', describeProtectionGroupResponse_protectionGroup - A grouping of protected resources that you and Shield Advanced can monitor as a collective. This resource grouping improves the accuracy of detection and reduces false positives.

Response Lenses

describeProtectionGroupResponse_protectionGroup :: Lens' DescribeProtectionGroupResponse ProtectionGroup Source #

A grouping of protected resources that you and Shield Advanced can monitor as a collective. This resource grouping improves the accuracy of detection and reduces false positives.