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

Description

Gets information about the entries for a specified managed prefix list.

This operation returns paginated results.

Synopsis

Creating a Request

data GetManagedPrefixListEntries Source #

See: newGetManagedPrefixListEntries smart constructor.

Constructors

GetManagedPrefixListEntries' 

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.

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

  • targetVersion :: Maybe Integer

    The version of the prefix list for which to return the entries. The default is the current version.

  • prefixListId :: Text

    The ID of the prefix list.

Instances

Instances details
ToHeaders GetManagedPrefixListEntries Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

ToPath GetManagedPrefixListEntries Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

ToQuery GetManagedPrefixListEntries Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

AWSPager GetManagedPrefixListEntries Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

AWSRequest GetManagedPrefixListEntries Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

Generic GetManagedPrefixListEntries Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

Associated Types

type Rep GetManagedPrefixListEntries :: Type -> Type #

Read GetManagedPrefixListEntries Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

Show GetManagedPrefixListEntries Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

NFData GetManagedPrefixListEntries Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

Eq GetManagedPrefixListEntries Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

Hashable GetManagedPrefixListEntries Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

type AWSResponse GetManagedPrefixListEntries Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

type Rep GetManagedPrefixListEntries Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

type Rep GetManagedPrefixListEntries = D1 ('MetaData "GetManagedPrefixListEntries" "Amazonka.EC2.GetManagedPrefixListEntries" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "GetManagedPrefixListEntries'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "targetVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "prefixListId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newGetManagedPrefixListEntries Source #

Create a value of GetManagedPrefixListEntries 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:GetManagedPrefixListEntries', getManagedPrefixListEntries_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:maxResults:GetManagedPrefixListEntries', getManagedPrefixListEntries_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.

GetManagedPrefixListEntries, getManagedPrefixListEntries_nextToken - The token for the next page of results.

$sel:targetVersion:GetManagedPrefixListEntries', getManagedPrefixListEntries_targetVersion - The version of the prefix list for which to return the entries. The default is the current version.

GetManagedPrefixListEntries, getManagedPrefixListEntries_prefixListId - The ID of the prefix list.

Request Lenses

getManagedPrefixListEntries_dryRun :: Lens' GetManagedPrefixListEntries (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.

getManagedPrefixListEntries_maxResults :: Lens' GetManagedPrefixListEntries (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.

getManagedPrefixListEntries_targetVersion :: Lens' GetManagedPrefixListEntries (Maybe Integer) Source #

The version of the prefix list for which to return the entries. The default is the current version.

Destructuring the Response

data GetManagedPrefixListEntriesResponse Source #

Constructors

GetManagedPrefixListEntriesResponse' 

Fields

Instances

Instances details
Generic GetManagedPrefixListEntriesResponse Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

Read GetManagedPrefixListEntriesResponse Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

Show GetManagedPrefixListEntriesResponse Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

NFData GetManagedPrefixListEntriesResponse Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

Eq GetManagedPrefixListEntriesResponse Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

type Rep GetManagedPrefixListEntriesResponse Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListEntries

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

newGetManagedPrefixListEntriesResponse Source #

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

GetManagedPrefixListEntriesResponse, getManagedPrefixListEntriesResponse_entries - Information about the prefix list entries.

GetManagedPrefixListEntries, getManagedPrefixListEntriesResponse_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:httpStatus:GetManagedPrefixListEntriesResponse', getManagedPrefixListEntriesResponse_httpStatus - The response's http status code.

Response Lenses

getManagedPrefixListEntriesResponse_nextToken :: Lens' GetManagedPrefixListEntriesResponse (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.