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 |
Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security Hub.
This operation returns paginated results.
Synopsis
- data ListEnabledProductsForImport = ListEnabledProductsForImport' {}
- newListEnabledProductsForImport :: ListEnabledProductsForImport
- listEnabledProductsForImport_nextToken :: Lens' ListEnabledProductsForImport (Maybe Text)
- listEnabledProductsForImport_maxResults :: Lens' ListEnabledProductsForImport (Maybe Natural)
- data ListEnabledProductsForImportResponse = ListEnabledProductsForImportResponse' {
- nextToken :: Maybe Text
- productSubscriptions :: Maybe [Text]
- httpStatus :: Int
- newListEnabledProductsForImportResponse :: Int -> ListEnabledProductsForImportResponse
- listEnabledProductsForImportResponse_nextToken :: Lens' ListEnabledProductsForImportResponse (Maybe Text)
- listEnabledProductsForImportResponse_productSubscriptions :: Lens' ListEnabledProductsForImportResponse (Maybe [Text])
- listEnabledProductsForImportResponse_httpStatus :: Lens' ListEnabledProductsForImportResponse Int
Creating a Request
data ListEnabledProductsForImport Source #
See: newListEnabledProductsForImport
smart constructor.
ListEnabledProductsForImport' | |
|
Instances
newListEnabledProductsForImport :: ListEnabledProductsForImport Source #
Create a value of ListEnabledProductsForImport
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:ListEnabledProductsForImport'
, listEnabledProductsForImport_nextToken
- The token that is required for pagination. On your first call to the
ListEnabledProductsForImport
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:ListEnabledProductsForImport'
, listEnabledProductsForImport_maxResults
- The maximum number of items to return in the response.
Request Lenses
listEnabledProductsForImport_nextToken :: Lens' ListEnabledProductsForImport (Maybe Text) Source #
The token that is required for pagination. On your first call to the
ListEnabledProductsForImport
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.
listEnabledProductsForImport_maxResults :: Lens' ListEnabledProductsForImport (Maybe Natural) Source #
The maximum number of items to return in the response.
Destructuring the Response
data ListEnabledProductsForImportResponse Source #
See: newListEnabledProductsForImportResponse
smart constructor.
ListEnabledProductsForImportResponse' | |
|
Instances
newListEnabledProductsForImportResponse Source #
Create a value of ListEnabledProductsForImportResponse
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:ListEnabledProductsForImport'
, listEnabledProductsForImportResponse_nextToken
- The pagination token to use to request the next page of results.
$sel:productSubscriptions:ListEnabledProductsForImportResponse'
, listEnabledProductsForImportResponse_productSubscriptions
- The list of ARNs for the resources that represent your subscriptions to
products.
$sel:httpStatus:ListEnabledProductsForImportResponse'
, listEnabledProductsForImportResponse_httpStatus
- The response's http status code.
Response Lenses
listEnabledProductsForImportResponse_nextToken :: Lens' ListEnabledProductsForImportResponse (Maybe Text) Source #
The pagination token to use to request the next page of results.
listEnabledProductsForImportResponse_productSubscriptions :: Lens' ListEnabledProductsForImportResponse (Maybe [Text]) Source #
The list of ARNs for the resources that represent your subscriptions to products.
listEnabledProductsForImportResponse_httpStatus :: Lens' ListEnabledProductsForImportResponse Int Source #
The response's http status code.