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.SearchResources

Description

Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.

This operation returns paginated results.

Synopsis

Creating a Request

data SearchResources Source #

See: newSearchResources smart constructor.

Constructors

SearchResources' 

Fields

Instances

Instances details
ToJSON SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

ToHeaders SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

ToPath SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

ToQuery SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

AWSPager SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

AWSRequest SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

Associated Types

type AWSResponse SearchResources #

Generic SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

Associated Types

type Rep SearchResources :: Type -> Type #

Read SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

Show SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

NFData SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

Methods

rnf :: SearchResources -> () #

Eq SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

Hashable SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

type AWSResponse SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

type Rep SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

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

newSearchResources :: SearchResources Source #

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

SearchResources, searchResources_bucketCriteria - The filter conditions that determine which S3 buckets to include or exclude from the query results.

$sel:maxResults:SearchResources', searchResources_maxResults - The maximum number of items to include in each page of the response. The default value is 50.

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

$sel:sortCriteria:SearchResources', searchResources_sortCriteria - The criteria to use to sort the results.

Request Lenses

searchResources_bucketCriteria :: Lens' SearchResources (Maybe SearchResourcesBucketCriteria) Source #

The filter conditions that determine which S3 buckets to include or exclude from the query results.

searchResources_maxResults :: Lens' SearchResources (Maybe Int) Source #

The maximum number of items to include in each page of the response. The default value is 50.

searchResources_nextToken :: Lens' SearchResources (Maybe Text) Source #

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

Destructuring the Response

data SearchResourcesResponse Source #

See: newSearchResourcesResponse smart constructor.

Constructors

SearchResourcesResponse' 

Fields

  • matchingResources :: Maybe [MatchingResource]

    An array of objects, one for each resource that matches the filter criteria specified in the request.

  • 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 SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

Associated Types

type Rep SearchResourcesResponse :: Type -> Type #

Read SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

Show SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

NFData SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

Methods

rnf :: SearchResourcesResponse -> () #

Eq SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

type Rep SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

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

newSearchResourcesResponse Source #

Create a value of SearchResourcesResponse 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:matchingResources:SearchResourcesResponse', searchResourcesResponse_matchingResources - An array of objects, one for each resource that matches the filter criteria specified in the request.

SearchResources, searchResourcesResponse_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:SearchResourcesResponse', searchResourcesResponse_httpStatus - The response's http status code.

Response Lenses

searchResourcesResponse_matchingResources :: Lens' SearchResourcesResponse (Maybe [MatchingResource]) Source #

An array of objects, one for each resource that matches the filter criteria specified in the request.

searchResourcesResponse_nextToken :: Lens' SearchResourcesResponse (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.