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 current role and list of Amazon S3 log buckets used by the Shield Response Team (SRT) to access your Amazon Web Services account while assisting with attack mitigation.
Synopsis
- data DescribeDRTAccess = DescribeDRTAccess' {
- newDescribeDRTAccess :: DescribeDRTAccess
- data DescribeDRTAccessResponse = DescribeDRTAccessResponse' {
- logBucketList :: Maybe [Text]
- roleArn :: Maybe Text
- httpStatus :: Int
- newDescribeDRTAccessResponse :: Int -> DescribeDRTAccessResponse
- describeDRTAccessResponse_logBucketList :: Lens' DescribeDRTAccessResponse (Maybe [Text])
- describeDRTAccessResponse_roleArn :: Lens' DescribeDRTAccessResponse (Maybe Text)
- describeDRTAccessResponse_httpStatus :: Lens' DescribeDRTAccessResponse Int
Creating a Request
data DescribeDRTAccess Source #
See: newDescribeDRTAccess
smart constructor.
Instances
newDescribeDRTAccess :: DescribeDRTAccess Source #
Create a value of DescribeDRTAccess
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DescribeDRTAccessResponse Source #
See: newDescribeDRTAccessResponse
smart constructor.
DescribeDRTAccessResponse' | |
|
Instances
newDescribeDRTAccessResponse Source #
Create a value of DescribeDRTAccessResponse
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:logBucketList:DescribeDRTAccessResponse'
, describeDRTAccessResponse_logBucketList
- The list of Amazon S3 buckets accessed by the SRT.
$sel:roleArn:DescribeDRTAccessResponse'
, describeDRTAccessResponse_roleArn
- The Amazon Resource Name (ARN) of the role the SRT used to access your
Amazon Web Services account.
$sel:httpStatus:DescribeDRTAccessResponse'
, describeDRTAccessResponse_httpStatus
- The response's http status code.
Response Lenses
describeDRTAccessResponse_logBucketList :: Lens' DescribeDRTAccessResponse (Maybe [Text]) Source #
The list of Amazon S3 buckets accessed by the SRT.
describeDRTAccessResponse_roleArn :: Lens' DescribeDRTAccessResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the role the SRT used to access your Amazon Web Services account.
describeDRTAccessResponse_httpStatus :: Lens' DescribeDRTAccessResponse Int Source #
The response's http status code.