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

Description

Deletes the specified Network Access Scope.

Synopsis

Creating a Request

data DeleteNetworkInsightsAccessScope Source #

See: newDeleteNetworkInsightsAccessScope smart constructor.

Constructors

DeleteNetworkInsightsAccessScope' 

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.

  • networkInsightsAccessScopeId :: Text

    The ID of the Network Access Scope.

Instances

Instances details
ToHeaders DeleteNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkInsightsAccessScope

ToPath DeleteNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkInsightsAccessScope

ToQuery DeleteNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkInsightsAccessScope

AWSRequest DeleteNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkInsightsAccessScope

Generic DeleteNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkInsightsAccessScope

Associated Types

type Rep DeleteNetworkInsightsAccessScope :: Type -> Type #

Read DeleteNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkInsightsAccessScope

Show DeleteNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkInsightsAccessScope

NFData DeleteNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkInsightsAccessScope

Eq DeleteNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkInsightsAccessScope

Hashable DeleteNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkInsightsAccessScope

type AWSResponse DeleteNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkInsightsAccessScope

type Rep DeleteNetworkInsightsAccessScope Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkInsightsAccessScope

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

newDeleteNetworkInsightsAccessScope Source #

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

DeleteNetworkInsightsAccessScope, deleteNetworkInsightsAccessScope_networkInsightsAccessScopeId - The ID of the Network Access Scope.

Request Lenses

deleteNetworkInsightsAccessScope_dryRun :: Lens' DeleteNetworkInsightsAccessScope (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.

Destructuring the Response

data DeleteNetworkInsightsAccessScopeResponse Source #

Constructors

DeleteNetworkInsightsAccessScopeResponse' 

Fields

Instances

Instances details
Generic DeleteNetworkInsightsAccessScopeResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkInsightsAccessScope

Read DeleteNetworkInsightsAccessScopeResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkInsightsAccessScope

Show DeleteNetworkInsightsAccessScopeResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkInsightsAccessScope

NFData DeleteNetworkInsightsAccessScopeResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkInsightsAccessScope

Eq DeleteNetworkInsightsAccessScopeResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkInsightsAccessScope

type Rep DeleteNetworkInsightsAccessScopeResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkInsightsAccessScope

type Rep DeleteNetworkInsightsAccessScopeResponse = D1 ('MetaData "DeleteNetworkInsightsAccessScopeResponse" "Amazonka.EC2.DeleteNetworkInsightsAccessScope" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DeleteNetworkInsightsAccessScopeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "networkInsightsAccessScopeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteNetworkInsightsAccessScopeResponse Source #

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

DeleteNetworkInsightsAccessScope, deleteNetworkInsightsAccessScopeResponse_networkInsightsAccessScopeId - The ID of the Network Access Scope.

$sel:httpStatus:DeleteNetworkInsightsAccessScopeResponse', deleteNetworkInsightsAccessScopeResponse_httpStatus - The response's http status code.

Response Lenses