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

Description

Creates a Network Access Scope.

Amazon Web Services Network Access Analyzer enables cloud networking and cloud operations teams to verify that their networks on Amazon Web Services conform to their network security and governance objectives. For more information, see the Amazon Web Services Network Access Analyzer Guide.

Synopsis

Creating a Request

data CreateNetworkInsightsAccessScope Source #

See: newCreateNetworkInsightsAccessScope smart constructor.

Constructors

CreateNetworkInsightsAccessScope' 

Fields

Instances

Instances details
ToHeaders CreateNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.CreateNetworkInsightsAccessScope

ToPath CreateNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.CreateNetworkInsightsAccessScope

ToQuery CreateNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.CreateNetworkInsightsAccessScope

AWSRequest CreateNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.CreateNetworkInsightsAccessScope

Generic CreateNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.CreateNetworkInsightsAccessScope

Associated Types

type Rep CreateNetworkInsightsAccessScope :: Type -> Type #

Read CreateNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.CreateNetworkInsightsAccessScope

Show CreateNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.CreateNetworkInsightsAccessScope

NFData CreateNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.CreateNetworkInsightsAccessScope

Eq CreateNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.CreateNetworkInsightsAccessScope

Hashable CreateNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.CreateNetworkInsightsAccessScope

type AWSResponse CreateNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.CreateNetworkInsightsAccessScope

type Rep CreateNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.CreateNetworkInsightsAccessScope

type Rep CreateNetworkInsightsAccessScope = D1 ('MetaData "CreateNetworkInsightsAccessScope" "Amazonka.EC2.CreateNetworkInsightsAccessScope" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateNetworkInsightsAccessScope'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "excludePaths") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AccessScopePathRequest]))) :*: (S1 ('MetaSel ('Just "matchPaths") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AccessScopePathRequest])) :*: (S1 ('MetaSel ('Just "tagSpecifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TagSpecification])) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateNetworkInsightsAccessScope Source #

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

CreateNetworkInsightsAccessScope, createNetworkInsightsAccessScope_excludePaths - The paths to exclude.

CreateNetworkInsightsAccessScope, createNetworkInsightsAccessScope_matchPaths - The paths to match.

CreateNetworkInsightsAccessScope, createNetworkInsightsAccessScope_tagSpecifications - The tags to apply.

CreateNetworkInsightsAccessScope, createNetworkInsightsAccessScope_clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

Request Lenses

createNetworkInsightsAccessScope_dryRun :: Lens' CreateNetworkInsightsAccessScope (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.

createNetworkInsightsAccessScope_clientToken :: Lens' CreateNetworkInsightsAccessScope Text Source #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

Destructuring the Response

data CreateNetworkInsightsAccessScopeResponse Source #

Constructors

CreateNetworkInsightsAccessScopeResponse' 

Fields

Instances

Instances details
Generic CreateNetworkInsightsAccessScopeResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateNetworkInsightsAccessScope

Read CreateNetworkInsightsAccessScopeResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateNetworkInsightsAccessScope

Show CreateNetworkInsightsAccessScopeResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateNetworkInsightsAccessScope

NFData CreateNetworkInsightsAccessScopeResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateNetworkInsightsAccessScope

Eq CreateNetworkInsightsAccessScopeResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateNetworkInsightsAccessScope

type Rep CreateNetworkInsightsAccessScopeResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateNetworkInsightsAccessScope

type Rep CreateNetworkInsightsAccessScopeResponse = D1 ('MetaData "CreateNetworkInsightsAccessScopeResponse" "Amazonka.EC2.CreateNetworkInsightsAccessScope" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateNetworkInsightsAccessScopeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "networkInsightsAccessScope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkInsightsAccessScope)) :*: (S1 ('MetaSel ('Just "networkInsightsAccessScopeContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkInsightsAccessScopeContent)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

Response Lenses