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 |
Immediately starts a scan of the policies applied to the specified resource.
Synopsis
- data StartResourceScan = StartResourceScan' {
- analyzerArn :: Text
- resourceArn :: Text
- newStartResourceScan :: Text -> Text -> StartResourceScan
- startResourceScan_analyzerArn :: Lens' StartResourceScan Text
- startResourceScan_resourceArn :: Lens' StartResourceScan Text
- data StartResourceScanResponse = StartResourceScanResponse' {
- newStartResourceScanResponse :: StartResourceScanResponse
Creating a Request
data StartResourceScan Source #
Starts a scan of the policies applied to the specified resource.
See: newStartResourceScan
smart constructor.
StartResourceScan' | |
|
Instances
:: Text | |
-> Text | |
-> StartResourceScan |
Create a value of StartResourceScan
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:analyzerArn:StartResourceScan'
, startResourceScan_analyzerArn
- The
ARN of the analyzer
to use to scan the policies applied to the specified resource.
$sel:resourceArn:StartResourceScan'
, startResourceScan_resourceArn
- The ARN of the resource to scan.
Request Lenses
startResourceScan_analyzerArn :: Lens' StartResourceScan Text Source #
The ARN of the analyzer to use to scan the policies applied to the specified resource.
startResourceScan_resourceArn :: Lens' StartResourceScan Text Source #
The ARN of the resource to scan.
Destructuring the Response
data StartResourceScanResponse Source #
See: newStartResourceScanResponse
smart constructor.
Instances
newStartResourceScanResponse :: StartResourceScanResponse Source #
Create a value of StartResourceScanResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.