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

Description

Describes the specified Network Access Scopes.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeNetworkInsightsAccessScopes Source #

Constructors

DescribeNetworkInsightsAccessScopes' 

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]

    There are no supported filters.

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

  • networkInsightsAccessScopeIds :: Maybe [Text]

    The IDs of the Network Access Scopes.

  • nextToken :: Maybe Text

    The token for the next page of results.

Instances

Instances details
ToHeaders DescribeNetworkInsightsAccessScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

ToPath DescribeNetworkInsightsAccessScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

ToQuery DescribeNetworkInsightsAccessScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

AWSPager DescribeNetworkInsightsAccessScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

AWSRequest DescribeNetworkInsightsAccessScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

Generic DescribeNetworkInsightsAccessScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

Read DescribeNetworkInsightsAccessScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

Show DescribeNetworkInsightsAccessScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

NFData DescribeNetworkInsightsAccessScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

Eq DescribeNetworkInsightsAccessScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

Hashable DescribeNetworkInsightsAccessScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

type AWSResponse DescribeNetworkInsightsAccessScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

type Rep DescribeNetworkInsightsAccessScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

type Rep DescribeNetworkInsightsAccessScopes = D1 ('MetaData "DescribeNetworkInsightsAccessScopes" "Amazonka.EC2.DescribeNetworkInsightsAccessScopes" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeNetworkInsightsAccessScopes'" '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 "networkInsightsAccessScopeIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newDescribeNetworkInsightsAccessScopes :: DescribeNetworkInsightsAccessScopes Source #

Create a value of DescribeNetworkInsightsAccessScopes 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:DescribeNetworkInsightsAccessScopes', describeNetworkInsightsAccessScopes_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:DescribeNetworkInsightsAccessScopes', describeNetworkInsightsAccessScopes_filters - There are no supported filters.

$sel:maxResults:DescribeNetworkInsightsAccessScopes', describeNetworkInsightsAccessScopes_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.

$sel:networkInsightsAccessScopeIds:DescribeNetworkInsightsAccessScopes', describeNetworkInsightsAccessScopes_networkInsightsAccessScopeIds - The IDs of the Network Access Scopes.

DescribeNetworkInsightsAccessScopes, describeNetworkInsightsAccessScopes_nextToken - The token for the next page of results.

Request Lenses

describeNetworkInsightsAccessScopes_dryRun :: Lens' DescribeNetworkInsightsAccessScopes (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.

describeNetworkInsightsAccessScopes_maxResults :: Lens' DescribeNetworkInsightsAccessScopes (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 DescribeNetworkInsightsAccessScopesResponse Source #

Constructors

DescribeNetworkInsightsAccessScopesResponse' 

Fields

Instances

Instances details
Generic DescribeNetworkInsightsAccessScopesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

Read DescribeNetworkInsightsAccessScopesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

Show DescribeNetworkInsightsAccessScopesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

NFData DescribeNetworkInsightsAccessScopesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

Eq DescribeNetworkInsightsAccessScopesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

type Rep DescribeNetworkInsightsAccessScopesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInsightsAccessScopes

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

newDescribeNetworkInsightsAccessScopesResponse Source #

Create a value of DescribeNetworkInsightsAccessScopesResponse 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:networkInsightsAccessScopes:DescribeNetworkInsightsAccessScopesResponse', describeNetworkInsightsAccessScopesResponse_networkInsightsAccessScopes - The Network Access Scopes.

DescribeNetworkInsightsAccessScopes, describeNetworkInsightsAccessScopesResponse_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:DescribeNetworkInsightsAccessScopesResponse', describeNetworkInsightsAccessScopesResponse_httpStatus - The response's http status code.

Response Lenses

describeNetworkInsightsAccessScopesResponse_nextToken :: Lens' DescribeNetworkInsightsAccessScopesResponse (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.