amazonka-securitylake-2.0: Amazon Security Lake 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.SecurityLake.ListLogSources

Description

Retrieves the log sources in the current Amazon Web Services Region.

This operation returns paginated results.

Synopsis

Creating a Request

data ListLogSources Source #

See: newListLogSources smart constructor.

Constructors

ListLogSources' 

Fields

  • inputOrder :: Maybe [Dimension]

    Lists the log sources in input order, namely Region, source type, and member account.

  • listAllDimensions :: Maybe (HashMap Text (HashMap Text [Text]))

    List the view of log sources for enabled Amazon Security Lake accounts for specific Amazon Web Services sources from specific accounts and specific Regions.

  • listSingleDimension :: Maybe [Text]

    List the view of log sources for enabled Security Lake accounts for all Amazon Web Services sources from specific accounts or specific Regions.

  • listTwoDimensions :: Maybe (HashMap Text [Text])

    Lists the view of log sources for enabled Security Lake accounts for specific Amazon Web Services sources from specific accounts or specific Regions.

  • maxResults :: Maybe Int

    The maximum number of accounts for which the log sources are displayed.

  • nextToken :: Maybe Text

    If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.

Instances

Instances details
ToJSON ListLogSources Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

ToHeaders ListLogSources Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

ToPath ListLogSources Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

ToQuery ListLogSources Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

AWSPager ListLogSources Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

AWSRequest ListLogSources Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

Associated Types

type AWSResponse ListLogSources #

Generic ListLogSources Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

Associated Types

type Rep ListLogSources :: Type -> Type #

Read ListLogSources Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

Show ListLogSources Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

NFData ListLogSources Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

Methods

rnf :: ListLogSources -> () #

Eq ListLogSources Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

Hashable ListLogSources Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

type AWSResponse ListLogSources Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

type Rep ListLogSources Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

type Rep ListLogSources = D1 ('MetaData "ListLogSources" "Amazonka.SecurityLake.ListLogSources" "amazonka-securitylake-2.0-4WRm07ESU278sNrKhxoCOb" 'False) (C1 ('MetaCons "ListLogSources'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "inputOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Dimension])) :*: (S1 ('MetaSel ('Just "listAllDimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text (HashMap Text [Text])))) :*: S1 ('MetaSel ('Just "listSingleDimension") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "listTwoDimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [Text]))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newListLogSources :: ListLogSources Source #

Create a value of ListLogSources 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:inputOrder:ListLogSources', listLogSources_inputOrder - Lists the log sources in input order, namely Region, source type, and member account.

$sel:listAllDimensions:ListLogSources', listLogSources_listAllDimensions - List the view of log sources for enabled Amazon Security Lake accounts for specific Amazon Web Services sources from specific accounts and specific Regions.

$sel:listSingleDimension:ListLogSources', listLogSources_listSingleDimension - List the view of log sources for enabled Security Lake accounts for all Amazon Web Services sources from specific accounts or specific Regions.

$sel:listTwoDimensions:ListLogSources', listLogSources_listTwoDimensions - Lists the view of log sources for enabled Security Lake accounts for specific Amazon Web Services sources from specific accounts or specific Regions.

$sel:maxResults:ListLogSources', listLogSources_maxResults - The maximum number of accounts for which the log sources are displayed.

ListLogSources, listLogSources_nextToken - If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.

Request Lenses

listLogSources_inputOrder :: Lens' ListLogSources (Maybe [Dimension]) Source #

Lists the log sources in input order, namely Region, source type, and member account.

listLogSources_listAllDimensions :: Lens' ListLogSources (Maybe (HashMap Text (HashMap Text [Text]))) Source #

List the view of log sources for enabled Amazon Security Lake accounts for specific Amazon Web Services sources from specific accounts and specific Regions.

listLogSources_listSingleDimension :: Lens' ListLogSources (Maybe [Text]) Source #

List the view of log sources for enabled Security Lake accounts for all Amazon Web Services sources from specific accounts or specific Regions.

listLogSources_listTwoDimensions :: Lens' ListLogSources (Maybe (HashMap Text [Text])) Source #

Lists the view of log sources for enabled Security Lake accounts for specific Amazon Web Services sources from specific accounts or specific Regions.

listLogSources_maxResults :: Lens' ListLogSources (Maybe Int) Source #

The maximum number of accounts for which the log sources are displayed.

listLogSources_nextToken :: Lens' ListLogSources (Maybe Text) Source #

If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.

Destructuring the Response

data ListLogSourcesResponse Source #

See: newListLogSourcesResponse smart constructor.

Constructors

ListLogSourcesResponse' 

Fields

Instances

Instances details
Generic ListLogSourcesResponse Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

Associated Types

type Rep ListLogSourcesResponse :: Type -> Type #

Read ListLogSourcesResponse Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

Show ListLogSourcesResponse Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

NFData ListLogSourcesResponse Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

Methods

rnf :: ListLogSourcesResponse -> () #

Eq ListLogSourcesResponse Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

type Rep ListLogSourcesResponse Source # 
Instance details

Defined in Amazonka.SecurityLake.ListLogSources

type Rep ListLogSourcesResponse = D1 ('MetaData "ListLogSourcesResponse" "Amazonka.SecurityLake.ListLogSources" "amazonka-securitylake-2.0-4WRm07ESU278sNrKhxoCOb" 'False) (C1 ('MetaCons "ListLogSourcesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "regionSourceTypesAccountsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [HashMap Text (HashMap Text [Text])]))))

newListLogSourcesResponse Source #

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

ListLogSources, listLogSourcesResponse_nextToken - If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.

$sel:httpStatus:ListLogSourcesResponse', listLogSourcesResponse_httpStatus - The response's http status code.

$sel:regionSourceTypesAccountsList:ListLogSourcesResponse', listLogSourcesResponse_regionSourceTypesAccountsList - Lists the log sources by Regions for enabled Security Lake accounts.

Response Lenses

listLogSourcesResponse_nextToken :: Lens' ListLogSourcesResponse (Maybe Text) Source #

If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.

listLogSourcesResponse_regionSourceTypesAccountsList :: Lens' ListLogSourcesResponse [HashMap Text (HashMap Text [Text])] Source #

Lists the log sources by Regions for enabled Security Lake accounts.