libZSservicesZSamazonka-shieldZSamazonka-shield
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.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
Eq DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

Read DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

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

NFData DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

Methods

rnf :: DescribeProtectionGroup -> () #

Hashable DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

ToJSON DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

AWSRequest 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

type Rep DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

type Rep DescribeProtectionGroup = D1 ('MetaData "DescribeProtectionGroup" "Amazonka.Shield.DescribeProtectionGroup" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "DescribeProtectionGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "protectionGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeProtectionGroup Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

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:

$sel:protectionGroupId: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
Eq DescribeProtectionGroupResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

Read DescribeProtectionGroupResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

Show DescribeProtectionGroupResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

Generic DescribeProtectionGroupResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeProtectionGroup

Associated Types

type Rep DescribeProtectionGroupResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-shieldZSamazonka-shield" '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.