amazonka-accessanalyzer-2.0: Amazon Access Analyzer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AccessAnalyzer.StartResourceScan

Description

Immediately starts a scan of the policies applied to the specified resource.

Synopsis

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

Instances details
ToJSON StartResourceScan Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

ToHeaders StartResourceScan Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

ToPath StartResourceScan Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

ToQuery StartResourceScan Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

AWSRequest StartResourceScan Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

Associated Types

type AWSResponse StartResourceScan #

Generic StartResourceScan Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

Associated Types

type Rep StartResourceScan :: Type -> Type #

Read StartResourceScan Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

Show StartResourceScan Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

NFData StartResourceScan Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

Methods

rnf :: StartResourceScan -> () #

Eq StartResourceScan Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

Hashable StartResourceScan Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

type AWSResponse StartResourceScan Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

type Rep StartResourceScan Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

type Rep StartResourceScan = D1 ('MetaData "StartResourceScan" "Amazonka.AccessAnalyzer.StartResourceScan" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "StartResourceScan'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceOwnerAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "analyzerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newStartResourceScan Source #

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.

Destructuring the Response

data StartResourceScanResponse Source #

See: newStartResourceScanResponse smart constructor.

Instances

Instances details
Generic StartResourceScanResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

Associated Types

type Rep StartResourceScanResponse :: Type -> Type #

Read StartResourceScanResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

Show StartResourceScanResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

NFData StartResourceScanResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

Eq StartResourceScanResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

type Rep StartResourceScanResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.StartResourceScan

type Rep StartResourceScanResponse = D1 ('MetaData "StartResourceScanResponse" "Amazonka.AccessAnalyzer.StartResourceScan" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "StartResourceScanResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newStartResourceScanResponse :: StartResourceScanResponse Source #

Create a value of StartResourceScanResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.