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 |
Gets all versions for a specified detector.
Synopsis
- data DescribeDetector = DescribeDetector' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- detectorId :: Text
- newDescribeDetector :: Text -> DescribeDetector
- describeDetector_nextToken :: Lens' DescribeDetector (Maybe Text)
- describeDetector_maxResults :: Lens' DescribeDetector (Maybe Natural)
- describeDetector_detectorId :: Lens' DescribeDetector Text
- data DescribeDetectorResponse = DescribeDetectorResponse' {}
- newDescribeDetectorResponse :: Int -> DescribeDetectorResponse
- describeDetectorResponse_detectorVersionSummaries :: Lens' DescribeDetectorResponse (Maybe [DetectorVersionSummary])
- describeDetectorResponse_arn :: Lens' DescribeDetectorResponse (Maybe Text)
- describeDetectorResponse_nextToken :: Lens' DescribeDetectorResponse (Maybe Text)
- describeDetectorResponse_detectorId :: Lens' DescribeDetectorResponse (Maybe Text)
- describeDetectorResponse_httpStatus :: Lens' DescribeDetectorResponse Int
Creating a Request
data DescribeDetector Source #
See: newDescribeDetector
smart constructor.
DescribeDetector' | |
|
Instances
Create a value of DescribeDetector
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:nextToken:DescribeDetector'
, describeDetector_nextToken
- The next token from the previous response.
$sel:maxResults:DescribeDetector'
, describeDetector_maxResults
- The maximum number of results to return for the request.
$sel:detectorId:DescribeDetector'
, describeDetector_detectorId
- The detector ID.
Request Lenses
describeDetector_nextToken :: Lens' DescribeDetector (Maybe Text) Source #
The next token from the previous response.
describeDetector_maxResults :: Lens' DescribeDetector (Maybe Natural) Source #
The maximum number of results to return for the request.
describeDetector_detectorId :: Lens' DescribeDetector Text Source #
The detector ID.
Destructuring the Response
data DescribeDetectorResponse Source #
See: newDescribeDetectorResponse
smart constructor.
DescribeDetectorResponse' | |
|
Instances
newDescribeDetectorResponse Source #
Create a value of DescribeDetectorResponse
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:detectorVersionSummaries:DescribeDetectorResponse'
, describeDetectorResponse_detectorVersionSummaries
- The status and description for each detector version.
$sel:arn:DescribeDetectorResponse'
, describeDetectorResponse_arn
- The detector ARN.
$sel:nextToken:DescribeDetector'
, describeDetectorResponse_nextToken
- The next token to be used for subsequent requests.
$sel:detectorId:DescribeDetector'
, describeDetectorResponse_detectorId
- The detector ID.
$sel:httpStatus:DescribeDetectorResponse'
, describeDetectorResponse_httpStatus
- The response's http status code.
Response Lenses
describeDetectorResponse_detectorVersionSummaries :: Lens' DescribeDetectorResponse (Maybe [DetectorVersionSummary]) Source #
The status and description for each detector version.
describeDetectorResponse_arn :: Lens' DescribeDetectorResponse (Maybe Text) Source #
The detector ARN.
describeDetectorResponse_nextToken :: Lens' DescribeDetectorResponse (Maybe Text) Source #
The next token to be used for subsequent requests.
describeDetectorResponse_detectorId :: Lens' DescribeDetectorResponse (Maybe Text) Source #
The detector ID.
describeDetectorResponse_httpStatus :: Lens' DescribeDetectorResponse Int Source #
The response's http status code.