amazonka-maciev2-2.0: Amazon Macie 2 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.MacieV2.ListResourceProfileDetections

Description

Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.

This operation returns paginated results.

Synopsis

Creating a Request

data ListResourceProfileDetections Source #

See: newListResourceProfileDetections smart constructor.

Constructors

ListResourceProfileDetections' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of items to include in each page of a paginated response.

  • nextToken :: Maybe Text

    The nextToken string that specifies which page of results to return in a paginated response.

  • resourceArn :: Text

    The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.

Instances

Instances details
ToHeaders ListResourceProfileDetections Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

ToPath ListResourceProfileDetections Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

ToQuery ListResourceProfileDetections Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

AWSPager ListResourceProfileDetections Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

AWSRequest ListResourceProfileDetections Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

Generic ListResourceProfileDetections Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

Associated Types

type Rep ListResourceProfileDetections :: Type -> Type #

Read ListResourceProfileDetections Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

Show ListResourceProfileDetections Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

NFData ListResourceProfileDetections Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

Eq ListResourceProfileDetections Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

Hashable ListResourceProfileDetections Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

type AWSResponse ListResourceProfileDetections Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

type Rep ListResourceProfileDetections Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

type Rep ListResourceProfileDetections = D1 ('MetaData "ListResourceProfileDetections" "Amazonka.MacieV2.ListResourceProfileDetections" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "ListResourceProfileDetections'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListResourceProfileDetections Source #

Create a value of ListResourceProfileDetections 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:maxResults:ListResourceProfileDetections', listResourceProfileDetections_maxResults - The maximum number of items to include in each page of a paginated response.

ListResourceProfileDetections, listResourceProfileDetections_nextToken - The nextToken string that specifies which page of results to return in a paginated response.

$sel:resourceArn:ListResourceProfileDetections', listResourceProfileDetections_resourceArn - The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.

Request Lenses

listResourceProfileDetections_maxResults :: Lens' ListResourceProfileDetections (Maybe Natural) Source #

The maximum number of items to include in each page of a paginated response.

listResourceProfileDetections_nextToken :: Lens' ListResourceProfileDetections (Maybe Text) Source #

The nextToken string that specifies which page of results to return in a paginated response.

listResourceProfileDetections_resourceArn :: Lens' ListResourceProfileDetections Text Source #

The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.

Destructuring the Response

data ListResourceProfileDetectionsResponse Source #

Constructors

ListResourceProfileDetectionsResponse' 

Fields

  • detections :: Maybe [Detection]

    An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.

  • nextToken :: Maybe Text

    The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListResourceProfileDetectionsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

Read ListResourceProfileDetectionsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

Show ListResourceProfileDetectionsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

NFData ListResourceProfileDetectionsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

Eq ListResourceProfileDetectionsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

type Rep ListResourceProfileDetectionsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListResourceProfileDetections

type Rep ListResourceProfileDetectionsResponse = D1 ('MetaData "ListResourceProfileDetectionsResponse" "Amazonka.MacieV2.ListResourceProfileDetections" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "ListResourceProfileDetectionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "detections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Detection])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListResourceProfileDetectionsResponse Source #

Create a value of ListResourceProfileDetectionsResponse 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:

ListResourceProfileDetectionsResponse, listResourceProfileDetectionsResponse_detections - An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.

ListResourceProfileDetections, listResourceProfileDetectionsResponse_nextToken - The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

$sel:httpStatus:ListResourceProfileDetectionsResponse', listResourceProfileDetectionsResponse_httpStatus - The response's http status code.

Response Lenses

listResourceProfileDetectionsResponse_detections :: Lens' ListResourceProfileDetectionsResponse (Maybe [Detection]) Source #

An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.

listResourceProfileDetectionsResponse_nextToken :: Lens' ListResourceProfileDetectionsResponse (Maybe Text) Source #

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.