| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.FraudDetector.DescribeDetector
Description
Gets all versions for a specified detector.
Synopsis
- data DescribeDetector = DescribeDetector' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- detectorId :: Text
- newDescribeDetector :: Text -> DescribeDetector
- describeDetector_maxResults :: Lens' DescribeDetector (Maybe Natural)
- describeDetector_nextToken :: Lens' DescribeDetector (Maybe Text)
- describeDetector_detectorId :: Lens' DescribeDetector Text
- data DescribeDetectorResponse = DescribeDetectorResponse' {}
- newDescribeDetectorResponse :: Int -> DescribeDetectorResponse
- describeDetectorResponse_arn :: Lens' DescribeDetectorResponse (Maybe Text)
- describeDetectorResponse_detectorId :: Lens' DescribeDetectorResponse (Maybe Text)
- describeDetectorResponse_detectorVersionSummaries :: Lens' DescribeDetectorResponse (Maybe [DetectorVersionSummary])
- describeDetectorResponse_nextToken :: Lens' DescribeDetectorResponse (Maybe Text)
- describeDetectorResponse_httpStatus :: Lens' DescribeDetectorResponse Int
Creating a Request
data DescribeDetector Source #
See: newDescribeDetector smart constructor.
Constructors
| DescribeDetector' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeDetector |
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:maxResults:DescribeDetector', describeDetector_maxResults - The maximum number of results to return for the request.
DescribeDetector, describeDetector_nextToken - The next token from the previous response.
DescribeDetector, describeDetector_detectorId - The detector ID.
Request Lenses
describeDetector_maxResults :: Lens' DescribeDetector (Maybe Natural) Source #
The maximum number of results to return for the request.
describeDetector_nextToken :: Lens' DescribeDetector (Maybe Text) Source #
The next token from the previous response.
describeDetector_detectorId :: Lens' DescribeDetector Text Source #
The detector ID.
Destructuring the Response
data DescribeDetectorResponse Source #
See: newDescribeDetectorResponse smart constructor.
Constructors
| DescribeDetectorResponse' | |
Fields
| |
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:
DescribeDetectorResponse, describeDetectorResponse_arn - The detector ARN.
DescribeDetector, describeDetectorResponse_detectorId - The detector ID.
$sel:detectorVersionSummaries:DescribeDetectorResponse', describeDetectorResponse_detectorVersionSummaries - The status and description for each detector version.
DescribeDetector, describeDetectorResponse_nextToken - The next token to be used for subsequent requests.
$sel:httpStatus:DescribeDetectorResponse', describeDetectorResponse_httpStatus - The response's http status code.
Response Lenses
describeDetectorResponse_arn :: Lens' DescribeDetectorResponse (Maybe Text) Source #
The detector ARN.
describeDetectorResponse_detectorId :: Lens' DescribeDetectorResponse (Maybe Text) Source #
The detector ID.
describeDetectorResponse_detectorVersionSummaries :: Lens' DescribeDetectorResponse (Maybe [DetectorVersionSummary]) Source #
The status and description for each detector version.
describeDetectorResponse_nextToken :: Lens' DescribeDetectorResponse (Maybe Text) Source #
The next token to be used for subsequent requests.
describeDetectorResponse_httpStatus :: Lens' DescribeDetectorResponse Int Source #
The response's http status code.