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

Description

Gets information about the resources that are associated with the specified managed prefix list.

This operation returns paginated results.

Synopsis

Creating a Request

data GetManagedPrefixListAssociations Source #

See: newGetManagedPrefixListAssociations smart constructor.

Constructors

GetManagedPrefixListAssociations' 

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.

  • prefixListId :: Text

    The ID of the prefix list.

Instances

Instances details
ToHeaders GetManagedPrefixListAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

ToPath GetManagedPrefixListAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

ToQuery GetManagedPrefixListAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

AWSPager GetManagedPrefixListAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

AWSRequest GetManagedPrefixListAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

Generic GetManagedPrefixListAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

Associated Types

type Rep GetManagedPrefixListAssociations :: Type -> Type #

Read GetManagedPrefixListAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

Show GetManagedPrefixListAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

NFData GetManagedPrefixListAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

Eq GetManagedPrefixListAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

Hashable GetManagedPrefixListAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

type AWSResponse GetManagedPrefixListAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

type Rep GetManagedPrefixListAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

type Rep GetManagedPrefixListAssociations = D1 ('MetaData "GetManagedPrefixListAssociations" "Amazonka.EC2.GetManagedPrefixListAssociations" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "GetManagedPrefixListAssociations'" '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 "prefixListId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGetManagedPrefixListAssociations Source #

Create a value of GetManagedPrefixListAssociations 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:GetManagedPrefixListAssociations', getManagedPrefixListAssociations_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:GetManagedPrefixListAssociations', getManagedPrefixListAssociations_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.

GetManagedPrefixListAssociations, getManagedPrefixListAssociations_nextToken - The token for the next page of results.

GetManagedPrefixListAssociations, getManagedPrefixListAssociations_prefixListId - The ID of the prefix list.

Request Lenses

getManagedPrefixListAssociations_dryRun :: Lens' GetManagedPrefixListAssociations (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.

getManagedPrefixListAssociations_maxResults :: Lens' GetManagedPrefixListAssociations (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 GetManagedPrefixListAssociationsResponse Source #

Constructors

GetManagedPrefixListAssociationsResponse' 

Fields

Instances

Instances details
Generic GetManagedPrefixListAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

Read GetManagedPrefixListAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

Show GetManagedPrefixListAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

NFData GetManagedPrefixListAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

Eq GetManagedPrefixListAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

type Rep GetManagedPrefixListAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetManagedPrefixListAssociations

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

newGetManagedPrefixListAssociationsResponse Source #

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

GetManagedPrefixListAssociations, getManagedPrefixListAssociationsResponse_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:prefixListAssociations:GetManagedPrefixListAssociationsResponse', getManagedPrefixListAssociationsResponse_prefixListAssociations - Information about the associations.

$sel:httpStatus:GetManagedPrefixListAssociationsResponse', getManagedPrefixListAssociationsResponse_httpStatus - The response's http status code.

Response Lenses

getManagedPrefixListAssociationsResponse_nextToken :: Lens' GetManagedPrefixListAssociationsResponse (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.