amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.DescribeManagedPrefixLists

Description

Describes your managed prefix lists and any Amazon Web Services-managed prefix lists.

To view the entries for your prefix list, use GetManagedPrefixListEntries.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeManagedPrefixLists Source #

See: newDescribeManagedPrefixLists smart constructor.

Constructors

DescribeManagedPrefixLists' 

Fields

  • dryRun :: Maybe Bool

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • filters :: Maybe [Filter]

    One or more filters.

    • owner-id - The ID of the prefix list owner.
    • prefix-list-id - The ID of the prefix list.
    • prefix-list-name - The name of the prefix list.
  • maxResults :: Maybe Natural

    The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

  • nextToken :: Maybe Text

    The token for the next page of results.

  • prefixListIds :: Maybe [Text]

    One or more prefix list IDs.

Instances

Instances details
ToHeaders DescribeManagedPrefixLists Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

ToPath DescribeManagedPrefixLists Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

ToQuery DescribeManagedPrefixLists Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

AWSPager DescribeManagedPrefixLists Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

AWSRequest DescribeManagedPrefixLists Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

Generic DescribeManagedPrefixLists Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

Associated Types

type Rep DescribeManagedPrefixLists :: Type -> Type #

Read DescribeManagedPrefixLists Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

Show DescribeManagedPrefixLists Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

NFData DescribeManagedPrefixLists Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

Eq DescribeManagedPrefixLists Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

Hashable DescribeManagedPrefixLists Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

type AWSResponse DescribeManagedPrefixLists Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

type Rep DescribeManagedPrefixLists Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

type Rep DescribeManagedPrefixLists = D1 ('MetaData "DescribeManagedPrefixLists" "Amazonka.EC2.DescribeManagedPrefixLists" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeManagedPrefixLists'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter]))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "prefixListIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))))

newDescribeManagedPrefixLists :: DescribeManagedPrefixLists Source #

Create a value of DescribeManagedPrefixLists 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:dryRun:DescribeManagedPrefixLists', describeManagedPrefixLists_dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

$sel:filters:DescribeManagedPrefixLists', describeManagedPrefixLists_filters - One or more filters.

  • owner-id - The ID of the prefix list owner.
  • prefix-list-id - The ID of the prefix list.
  • prefix-list-name - The name of the prefix list.

$sel:maxResults:DescribeManagedPrefixLists', describeManagedPrefixLists_maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

DescribeManagedPrefixLists, describeManagedPrefixLists_nextToken - The token for the next page of results.

DescribeManagedPrefixLists, describeManagedPrefixLists_prefixListIds - One or more prefix list IDs.

Request Lenses

describeManagedPrefixLists_dryRun :: Lens' DescribeManagedPrefixLists (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

describeManagedPrefixLists_filters :: Lens' DescribeManagedPrefixLists (Maybe [Filter]) Source #

One or more filters.

  • owner-id - The ID of the prefix list owner.
  • prefix-list-id - The ID of the prefix list.
  • prefix-list-name - The name of the prefix list.

describeManagedPrefixLists_maxResults :: Lens' DescribeManagedPrefixLists (Maybe Natural) Source #

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

Destructuring the Response

data DescribeManagedPrefixListsResponse Source #

Constructors

DescribeManagedPrefixListsResponse' 

Fields

Instances

Instances details
Generic DescribeManagedPrefixListsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

Associated Types

type Rep DescribeManagedPrefixListsResponse :: Type -> Type #

Read DescribeManagedPrefixListsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

Show DescribeManagedPrefixListsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

NFData DescribeManagedPrefixListsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

Eq DescribeManagedPrefixListsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

type Rep DescribeManagedPrefixListsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeManagedPrefixLists

type Rep DescribeManagedPrefixListsResponse = D1 ('MetaData "DescribeManagedPrefixListsResponse" "Amazonka.EC2.DescribeManagedPrefixLists" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeManagedPrefixListsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "prefixLists") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ManagedPrefixList])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeManagedPrefixListsResponse Source #

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

DescribeManagedPrefixLists, describeManagedPrefixListsResponse_nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.

$sel:prefixLists:DescribeManagedPrefixListsResponse', describeManagedPrefixListsResponse_prefixLists - Information about the prefix lists.

$sel:httpStatus:DescribeManagedPrefixListsResponse', describeManagedPrefixListsResponse_httpStatus - The response's http status code.

Response Lenses

describeManagedPrefixListsResponse_nextToken :: Lens' DescribeManagedPrefixListsResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. This value is null when there are no more results to return.