| 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 |
Amazonka.SecurityHub.EnableImportFindingsForProduct
Description
Enables the integration of a partner product with Security Hub. Integrated products send findings to Security Hub.
When you enable a product integration, a permissions policy that grants permission for the product to send findings to Security Hub is applied.
Synopsis
- data EnableImportFindingsForProduct = EnableImportFindingsForProduct' {
- productArn :: Text
- newEnableImportFindingsForProduct :: Text -> EnableImportFindingsForProduct
- enableImportFindingsForProduct_productArn :: Lens' EnableImportFindingsForProduct Text
- data EnableImportFindingsForProductResponse = EnableImportFindingsForProductResponse' {}
- newEnableImportFindingsForProductResponse :: Int -> EnableImportFindingsForProductResponse
- enableImportFindingsForProductResponse_productSubscriptionArn :: Lens' EnableImportFindingsForProductResponse (Maybe Text)
- enableImportFindingsForProductResponse_httpStatus :: Lens' EnableImportFindingsForProductResponse Int
Creating a Request
data EnableImportFindingsForProduct Source #
See: newEnableImportFindingsForProduct smart constructor.
Constructors
| EnableImportFindingsForProduct' | |
Fields
| |
Instances
newEnableImportFindingsForProduct Source #
Create a value of EnableImportFindingsForProduct 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:productArn:EnableImportFindingsForProduct', enableImportFindingsForProduct_productArn - The ARN of the product to enable the integration for.
Request Lenses
enableImportFindingsForProduct_productArn :: Lens' EnableImportFindingsForProduct Text Source #
The ARN of the product to enable the integration for.
Destructuring the Response
data EnableImportFindingsForProductResponse Source #
See: newEnableImportFindingsForProductResponse smart constructor.
Constructors
| EnableImportFindingsForProductResponse' | |
Fields
| |
Instances
newEnableImportFindingsForProductResponse Source #
Arguments
| :: Int | |
| -> EnableImportFindingsForProductResponse |
Create a value of EnableImportFindingsForProductResponse 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:productSubscriptionArn:EnableImportFindingsForProductResponse', enableImportFindingsForProductResponse_productSubscriptionArn - The ARN of your subscription to the product to enable integrations for.
$sel:httpStatus:EnableImportFindingsForProductResponse', enableImportFindingsForProductResponse_httpStatus - The response's http status code.
Response Lenses
enableImportFindingsForProductResponse_productSubscriptionArn :: Lens' EnableImportFindingsForProductResponse (Maybe Text) Source #
The ARN of your subscription to the product to enable integrations for.
enableImportFindingsForProductResponse_httpStatus :: Lens' EnableImportFindingsForProductResponse Int Source #
The response's http status code.