libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MacieV2.CreateSampleFindings

Description

Creates sample findings.

Synopsis

Creating a Request

data CreateSampleFindings Source #

See: newCreateSampleFindings smart constructor.

Constructors

CreateSampleFindings' 

Fields

  • findingTypes :: Maybe [FindingType]

    An array that lists one or more types of findings to include in the set of sample findings. Currently, the only supported value is Policy:IAMUser/S3BucketEncryptionDisabled.

Instances

Instances details
Eq CreateSampleFindings Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

Read CreateSampleFindings Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

Show CreateSampleFindings Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

Generic CreateSampleFindings Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

Associated Types

type Rep CreateSampleFindings :: Type -> Type #

NFData CreateSampleFindings Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

Methods

rnf :: CreateSampleFindings -> () #

Hashable CreateSampleFindings Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

ToJSON CreateSampleFindings Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

AWSRequest CreateSampleFindings Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

Associated Types

type AWSResponse CreateSampleFindings #

ToHeaders CreateSampleFindings Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

ToPath CreateSampleFindings Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

ToQuery CreateSampleFindings Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

type Rep CreateSampleFindings Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

type Rep CreateSampleFindings = D1 ('MetaData "CreateSampleFindings" "Amazonka.MacieV2.CreateSampleFindings" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "CreateSampleFindings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "findingTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FindingType]))))
type AWSResponse CreateSampleFindings Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

newCreateSampleFindings :: CreateSampleFindings Source #

Create a value of CreateSampleFindings 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:findingTypes:CreateSampleFindings', createSampleFindings_findingTypes - An array that lists one or more types of findings to include in the set of sample findings. Currently, the only supported value is Policy:IAMUser/S3BucketEncryptionDisabled.

Request Lenses

createSampleFindings_findingTypes :: Lens' CreateSampleFindings (Maybe [FindingType]) Source #

An array that lists one or more types of findings to include in the set of sample findings. Currently, the only supported value is Policy:IAMUser/S3BucketEncryptionDisabled.

Destructuring the Response

data CreateSampleFindingsResponse Source #

See: newCreateSampleFindingsResponse smart constructor.

Constructors

CreateSampleFindingsResponse' 

Fields

Instances

Instances details
Eq CreateSampleFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

Read CreateSampleFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

Show CreateSampleFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

Generic CreateSampleFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

Associated Types

type Rep CreateSampleFindingsResponse :: Type -> Type #

NFData CreateSampleFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

type Rep CreateSampleFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.CreateSampleFindings

type Rep CreateSampleFindingsResponse = D1 ('MetaData "CreateSampleFindingsResponse" "Amazonka.MacieV2.CreateSampleFindings" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "CreateSampleFindingsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateSampleFindingsResponse Source #

Create a value of CreateSampleFindingsResponse 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:httpStatus:CreateSampleFindingsResponse', createSampleFindingsResponse_httpStatus - The response's http status code.

Response Lenses