Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.AccessAnalyzer.StartResourceScan
Description
Immediately starts a scan of the policies applied to the specified resource.
Synopsis
- data StartResourceScan = StartResourceScan' {}
- newStartResourceScan :: Text -> Text -> StartResourceScan
- startResourceScan_resourceOwnerAccount :: Lens' StartResourceScan (Maybe Text)
- 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.
Constructors
StartResourceScan' | |
Fields
|
Instances
Arguments
:: 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:
StartResourceScan
, startResourceScan_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource. For most
Amazon Web Services resources, the owning account is the account in
which the resource was created.
StartResourceScan
, startResourceScan_analyzerArn
- The
ARN of the analyzer
to use to scan the policies applied to the specified resource.
StartResourceScan
, startResourceScan_resourceArn
- The ARN of the resource to scan.
Request Lenses
startResourceScan_resourceOwnerAccount :: Lens' StartResourceScan (Maybe Text) Source #
The Amazon Web Services account ID that owns the resource. For most Amazon Web Services resources, the owning account is the account in which the resource was created.
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.
Constructors
StartResourceScanResponse' | |
Instances
newStartResourceScanResponse :: StartResourceScanResponse Source #
Create a value of StartResourceScanResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.