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.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
Eq SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

Read SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

Show SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

Generic SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

Associated Types

type Rep SearchResources :: Type -> Type #

NFData SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

Methods

rnf :: SearchResources -> () #

Hashable SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

ToJSON 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 #

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

type Rep SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

type Rep SearchResources = D1 ('MetaData "SearchResources" "Amazonka.MacieV2.SearchResources" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "SearchResources'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "bucketCriteria") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SearchResourcesBucketCriteria)) :*: S1 ('MetaSel ('Just "sortCriteria") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SearchResourcesSortCriteria))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse SearchResources Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

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:

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

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

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

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

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_nextToken :: Lens' SearchResources (Maybe Text) Source #

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

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.

Destructuring the Response

data SearchResourcesResponse Source #

See: newSearchResourcesResponse smart constructor.

Constructors

SearchResourcesResponse' 

Fields

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

  • matchingResources :: Maybe [MatchingResource]

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

Read SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

Show SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

Generic SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

Associated Types

type Rep SearchResourcesResponse :: Type -> Type #

NFData SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

Methods

rnf :: SearchResourcesResponse -> () #

type Rep SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.SearchResources

type Rep SearchResourcesResponse = D1 ('MetaData "SearchResourcesResponse" "Amazonka.MacieV2.SearchResources" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "SearchResourcesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "matchingResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MatchingResource])) :*: 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:nextToken: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:matchingResources:SearchResourcesResponse', searchResourcesResponse_matchingResources - An array of objects, one for each resource that meets the filter criteria specified in the request.

$sel:httpStatus:SearchResourcesResponse', searchResourcesResponse_httpStatus - The response's http status code.

Response Lenses

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.

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

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