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

Description

List all subscribers for the specific Amazon Security Lake account ID. You can retrieve a list of subscriptions associated with a specific organization or Amazon Web Services account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListSubscribers Source #

See: newListSubscribers smart constructor.

Constructors

ListSubscribers' 

Fields

  • maxResults :: Maybe Int

    The maximum number of accounts for which the configuration is 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
ToHeaders ListSubscribers Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

ToPath ListSubscribers Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

ToQuery ListSubscribers Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

AWSPager ListSubscribers Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

AWSRequest ListSubscribers Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

Associated Types

type AWSResponse ListSubscribers #

Generic ListSubscribers Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

Associated Types

type Rep ListSubscribers :: Type -> Type #

Read ListSubscribers Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

Show ListSubscribers Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

NFData ListSubscribers Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

Methods

rnf :: ListSubscribers -> () #

Eq ListSubscribers Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

Hashable ListSubscribers Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

type AWSResponse ListSubscribers Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

type Rep ListSubscribers Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

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

newListSubscribers :: ListSubscribers Source #

Create a value of ListSubscribers 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:ListSubscribers', listSubscribers_maxResults - The maximum number of accounts for which the configuration is displayed.

ListSubscribers, listSubscribers_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

listSubscribers_maxResults :: Lens' ListSubscribers (Maybe Int) Source #

The maximum number of accounts for which the configuration is displayed.

listSubscribers_nextToken :: Lens' ListSubscribers (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 ListSubscribersResponse Source #

See: newListSubscribersResponse smart constructor.

Constructors

ListSubscribersResponse' 

Fields

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

  • httpStatus :: Int

    The response's http status code.

  • subscribers :: [SubscriberResource]

    The subscribers available for the specified Security Lake account ID.

Instances

Instances details
Generic ListSubscribersResponse Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

Associated Types

type Rep ListSubscribersResponse :: Type -> Type #

Read ListSubscribersResponse Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

Show ListSubscribersResponse Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

NFData ListSubscribersResponse Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

Methods

rnf :: ListSubscribersResponse -> () #

Eq ListSubscribersResponse Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

type Rep ListSubscribersResponse Source # 
Instance details

Defined in Amazonka.SecurityLake.ListSubscribers

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

newListSubscribersResponse Source #

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

ListSubscribers, listSubscribersResponse_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:ListSubscribersResponse', listSubscribersResponse_httpStatus - The response's http status code.

$sel:subscribers:ListSubscribersResponse', listSubscribersResponse_subscribers - The subscribers available for the specified Security Lake account ID.

Response Lenses

listSubscribersResponse_nextToken :: Lens' ListSubscribersResponse (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.

listSubscribersResponse_subscribers :: Lens' ListSubscribersResponse [SubscriberResource] Source #

The subscribers available for the specified Security Lake account ID.