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

Description

Deletes the specified Traffic Mirror session.

Synopsis

Creating a Request

data DeleteTrafficMirrorSession Source #

See: newDeleteTrafficMirrorSession smart constructor.

Constructors

DeleteTrafficMirrorSession' 

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.

  • trafficMirrorSessionId :: Text

    The ID of the Traffic Mirror session.

Instances

Instances details
ToHeaders DeleteTrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.DeleteTrafficMirrorSession

ToPath DeleteTrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.DeleteTrafficMirrorSession

ToQuery DeleteTrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.DeleteTrafficMirrorSession

AWSRequest DeleteTrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.DeleteTrafficMirrorSession

Generic DeleteTrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.DeleteTrafficMirrorSession

Associated Types

type Rep DeleteTrafficMirrorSession :: Type -> Type #

Read DeleteTrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.DeleteTrafficMirrorSession

Show DeleteTrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.DeleteTrafficMirrorSession

NFData DeleteTrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.DeleteTrafficMirrorSession

Eq DeleteTrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.DeleteTrafficMirrorSession

Hashable DeleteTrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.DeleteTrafficMirrorSession

type AWSResponse DeleteTrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.DeleteTrafficMirrorSession

type Rep DeleteTrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.DeleteTrafficMirrorSession

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

newDeleteTrafficMirrorSession Source #

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

DeleteTrafficMirrorSession, deleteTrafficMirrorSession_trafficMirrorSessionId - The ID of the Traffic Mirror session.

Request Lenses

deleteTrafficMirrorSession_dryRun :: Lens' DeleteTrafficMirrorSession (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 DeleteTrafficMirrorSessionResponse Source #

Constructors

DeleteTrafficMirrorSessionResponse' 

Fields

Instances

Instances details
Generic DeleteTrafficMirrorSessionResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteTrafficMirrorSession

Associated Types

type Rep DeleteTrafficMirrorSessionResponse :: Type -> Type #

Read DeleteTrafficMirrorSessionResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteTrafficMirrorSession

Show DeleteTrafficMirrorSessionResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteTrafficMirrorSession

NFData DeleteTrafficMirrorSessionResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteTrafficMirrorSession

Eq DeleteTrafficMirrorSessionResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteTrafficMirrorSession

type Rep DeleteTrafficMirrorSessionResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteTrafficMirrorSession

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

newDeleteTrafficMirrorSessionResponse Source #

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

DeleteTrafficMirrorSession, deleteTrafficMirrorSessionResponse_trafficMirrorSessionId - The ID of the deleted Traffic Mirror session.

$sel:httpStatus:DeleteTrafficMirrorSessionResponse', deleteTrafficMirrorSessionResponse_httpStatus - The response's http status code.

Response Lenses