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 information about product integrations in Security Hub.
You can optionally provide an integration ARN. If you provide an integration ARN, then the results only include that integration.
If you do not provide an integration ARN, then the results include all of the available product integrations.
This operation returns paginated results.
Synopsis
- data DescribeProducts = DescribeProducts' {
- nextToken :: Maybe Text
- productArn :: Maybe Text
- maxResults :: Maybe Natural
- newDescribeProducts :: DescribeProducts
- describeProducts_nextToken :: Lens' DescribeProducts (Maybe Text)
- describeProducts_productArn :: Lens' DescribeProducts (Maybe Text)
- describeProducts_maxResults :: Lens' DescribeProducts (Maybe Natural)
- data DescribeProductsResponse = DescribeProductsResponse' {}
- newDescribeProductsResponse :: Int -> DescribeProductsResponse
- describeProductsResponse_nextToken :: Lens' DescribeProductsResponse (Maybe Text)
- describeProductsResponse_httpStatus :: Lens' DescribeProductsResponse Int
- describeProductsResponse_products :: Lens' DescribeProductsResponse [Product]
Creating a Request
data DescribeProducts Source #
See: newDescribeProducts
smart constructor.
DescribeProducts' | |
|
Instances
newDescribeProducts :: DescribeProducts Source #
Create a value of DescribeProducts
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:DescribeProducts'
, describeProducts_nextToken
- The token that is required for pagination. On your first call to the
DescribeProducts
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:productArn:DescribeProducts'
, describeProducts_productArn
- The ARN of the integration to return.
$sel:maxResults:DescribeProducts'
, describeProducts_maxResults
- The maximum number of results to return.
Request Lenses
describeProducts_nextToken :: Lens' DescribeProducts (Maybe Text) Source #
The token that is required for pagination. On your first call to the
DescribeProducts
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.
describeProducts_productArn :: Lens' DescribeProducts (Maybe Text) Source #
The ARN of the integration to return.
describeProducts_maxResults :: Lens' DescribeProducts (Maybe Natural) Source #
The maximum number of results to return.
Destructuring the Response
data DescribeProductsResponse Source #
See: newDescribeProductsResponse
smart constructor.
Instances
newDescribeProductsResponse Source #
Create a value of DescribeProductsResponse
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:DescribeProducts'
, describeProductsResponse_nextToken
- The pagination token to use to request the next page of results.
$sel:httpStatus:DescribeProductsResponse'
, describeProductsResponse_httpStatus
- The response's http status code.
$sel:products:DescribeProductsResponse'
, describeProductsResponse_products
- A list of products, including details for each product.
Response Lenses
describeProductsResponse_nextToken :: Lens' DescribeProductsResponse (Maybe Text) Source #
The pagination token to use to request the next page of results.
describeProductsResponse_httpStatus :: Lens' DescribeProductsResponse Int Source #
The response's http status code.
describeProductsResponse_products :: Lens' DescribeProductsResponse [Product] Source #
A list of products, including details for each product.