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 |
Returns the specification for the specified protection group.
Synopsis
- data DescribeProtectionGroup = DescribeProtectionGroup' {}
- newDescribeProtectionGroup :: Text -> DescribeProtectionGroup
- describeProtectionGroup_protectionGroupId :: Lens' DescribeProtectionGroup Text
- data DescribeProtectionGroupResponse = DescribeProtectionGroupResponse' {}
- newDescribeProtectionGroupResponse :: Int -> ProtectionGroup -> DescribeProtectionGroupResponse
- describeProtectionGroupResponse_httpStatus :: Lens' DescribeProtectionGroupResponse Int
- describeProtectionGroupResponse_protectionGroup :: Lens' DescribeProtectionGroupResponse ProtectionGroup
Creating a Request
data DescribeProtectionGroup Source #
See: newDescribeProtectionGroup
smart constructor.
DescribeProtectionGroup' | |
|
Instances
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.
DescribeProtectionGroupResponse' | |
|
Instances
Eq DescribeProtectionGroupResponse Source # | |
Read DescribeProtectionGroupResponse Source # | |
Show DescribeProtectionGroupResponse Source # | |
Defined in Amazonka.Shield.DescribeProtectionGroup | |
Generic DescribeProtectionGroupResponse Source # | |
NFData DescribeProtectionGroupResponse Source # | |
Defined in Amazonka.Shield.DescribeProtectionGroup rnf :: DescribeProtectionGroupResponse -> () # | |
type Rep DescribeProtectionGroupResponse Source # | |
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_httpStatus :: Lens' DescribeProtectionGroupResponse Int Source #
The response's http status code.
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.