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 a list of the custom action targets in Security Hub in your account.
This operation returns paginated results.
Synopsis
- data DescribeActionTargets = DescribeActionTargets' {
- actionTargetArns :: Maybe [Text]
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- newDescribeActionTargets :: DescribeActionTargets
- describeActionTargets_actionTargetArns :: Lens' DescribeActionTargets (Maybe [Text])
- describeActionTargets_nextToken :: Lens' DescribeActionTargets (Maybe Text)
- describeActionTargets_maxResults :: Lens' DescribeActionTargets (Maybe Natural)
- data DescribeActionTargetsResponse = DescribeActionTargetsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- actionTargets :: [ActionTarget]
- newDescribeActionTargetsResponse :: Int -> DescribeActionTargetsResponse
- describeActionTargetsResponse_nextToken :: Lens' DescribeActionTargetsResponse (Maybe Text)
- describeActionTargetsResponse_httpStatus :: Lens' DescribeActionTargetsResponse Int
- describeActionTargetsResponse_actionTargets :: Lens' DescribeActionTargetsResponse [ActionTarget]
Creating a Request
data DescribeActionTargets Source #
See: newDescribeActionTargets
smart constructor.
DescribeActionTargets' | |
|
Instances
newDescribeActionTargets :: DescribeActionTargets Source #
Create a value of DescribeActionTargets
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:actionTargetArns:DescribeActionTargets'
, describeActionTargets_actionTargetArns
- A list of custom action target ARNs for the custom action targets to
retrieve.
$sel:nextToken:DescribeActionTargets'
, describeActionTargets_nextToken
- The token that is required for pagination. On your first call to the
DescribeActionTargets
operation, set the value of this parameter to
NULL
.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
$sel:maxResults:DescribeActionTargets'
, describeActionTargets_maxResults
- The maximum number of results to return.
Request Lenses
describeActionTargets_actionTargetArns :: Lens' DescribeActionTargets (Maybe [Text]) Source #
A list of custom action target ARNs for the custom action targets to retrieve.
describeActionTargets_nextToken :: Lens' DescribeActionTargets (Maybe Text) Source #
The token that is required for pagination. On your first call to the
DescribeActionTargets
operation, set the value of this parameter to
NULL
.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
describeActionTargets_maxResults :: Lens' DescribeActionTargets (Maybe Natural) Source #
The maximum number of results to return.
Destructuring the Response
data DescribeActionTargetsResponse Source #
See: newDescribeActionTargetsResponse
smart constructor.
DescribeActionTargetsResponse' | |
|
Instances
newDescribeActionTargetsResponse Source #
Create a value of DescribeActionTargetsResponse
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:DescribeActionTargets'
, describeActionTargetsResponse_nextToken
- The pagination token to use to request the next page of results.
$sel:httpStatus:DescribeActionTargetsResponse'
, describeActionTargetsResponse_httpStatus
- The response's http status code.
$sel:actionTargets:DescribeActionTargetsResponse'
, describeActionTargetsResponse_actionTargets
- A list of ActionTarget
objects. Each object includes the
ActionTargetArn
, Description
, and Name
of a custom action target
available in Security Hub.
Response Lenses
describeActionTargetsResponse_nextToken :: Lens' DescribeActionTargetsResponse (Maybe Text) Source #
The pagination token to use to request the next page of results.
describeActionTargetsResponse_httpStatus :: Lens' DescribeActionTargetsResponse Int Source #
The response's http status code.
describeActionTargetsResponse_actionTargets :: Lens' DescribeActionTargetsResponse [ActionTarget] Source #
A list of ActionTarget
objects. Each object includes the
ActionTargetArn
, Description
, and Name
of a custom action target
available in Security Hub.