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

Description

Deletes one or more flow logs.

Synopsis

Creating a Request

data DeleteFlowLogs Source #

See: newDeleteFlowLogs smart constructor.

Constructors

DeleteFlowLogs' 

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.

  • flowLogIds :: [Text]

    One or more flow log IDs.

    Constraint: Maximum of 1000 flow log IDs.

Instances

Instances details
ToHeaders DeleteFlowLogs Source # 
Instance details

Defined in Amazonka.EC2.DeleteFlowLogs

ToPath DeleteFlowLogs Source # 
Instance details

Defined in Amazonka.EC2.DeleteFlowLogs

ToQuery DeleteFlowLogs Source # 
Instance details

Defined in Amazonka.EC2.DeleteFlowLogs

AWSRequest DeleteFlowLogs Source # 
Instance details

Defined in Amazonka.EC2.DeleteFlowLogs

Associated Types

type AWSResponse DeleteFlowLogs #

Generic DeleteFlowLogs Source # 
Instance details

Defined in Amazonka.EC2.DeleteFlowLogs

Associated Types

type Rep DeleteFlowLogs :: Type -> Type #

Read DeleteFlowLogs Source # 
Instance details

Defined in Amazonka.EC2.DeleteFlowLogs

Show DeleteFlowLogs Source # 
Instance details

Defined in Amazonka.EC2.DeleteFlowLogs

NFData DeleteFlowLogs Source # 
Instance details

Defined in Amazonka.EC2.DeleteFlowLogs

Methods

rnf :: DeleteFlowLogs -> () #

Eq DeleteFlowLogs Source # 
Instance details

Defined in Amazonka.EC2.DeleteFlowLogs

Hashable DeleteFlowLogs Source # 
Instance details

Defined in Amazonka.EC2.DeleteFlowLogs

type AWSResponse DeleteFlowLogs Source # 
Instance details

Defined in Amazonka.EC2.DeleteFlowLogs

type Rep DeleteFlowLogs Source # 
Instance details

Defined in Amazonka.EC2.DeleteFlowLogs

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

newDeleteFlowLogs :: DeleteFlowLogs Source #

Create a value of DeleteFlowLogs 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:DeleteFlowLogs', deleteFlowLogs_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:flowLogIds:DeleteFlowLogs', deleteFlowLogs_flowLogIds - One or more flow log IDs.

Constraint: Maximum of 1000 flow log IDs.

Request Lenses

deleteFlowLogs_dryRun :: Lens' DeleteFlowLogs (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.

deleteFlowLogs_flowLogIds :: Lens' DeleteFlowLogs [Text] Source #

One or more flow log IDs.

Constraint: Maximum of 1000 flow log IDs.

Destructuring the Response

data DeleteFlowLogsResponse Source #

See: newDeleteFlowLogsResponse smart constructor.

Constructors

DeleteFlowLogsResponse' 

Fields

Instances

Instances details
Generic DeleteFlowLogsResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteFlowLogs

Associated Types

type Rep DeleteFlowLogsResponse :: Type -> Type #

Read DeleteFlowLogsResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteFlowLogs

Show DeleteFlowLogsResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteFlowLogs

NFData DeleteFlowLogsResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteFlowLogs

Methods

rnf :: DeleteFlowLogsResponse -> () #

Eq DeleteFlowLogsResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteFlowLogs

type Rep DeleteFlowLogsResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteFlowLogs

type Rep DeleteFlowLogsResponse = D1 ('MetaData "DeleteFlowLogsResponse" "Amazonka.EC2.DeleteFlowLogs" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DeleteFlowLogsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unsuccessful") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UnsuccessfulItem])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteFlowLogsResponse Source #

Create a value of DeleteFlowLogsResponse 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:unsuccessful:DeleteFlowLogsResponse', deleteFlowLogsResponse_unsuccessful - Information about the flow logs that could not be deleted successfully.

$sel:httpStatus:DeleteFlowLogsResponse', deleteFlowLogsResponse_httpStatus - The response's http status code.

Response Lenses

deleteFlowLogsResponse_unsuccessful :: Lens' DeleteFlowLogsResponse (Maybe [UnsuccessfulItem]) Source #

Information about the flow logs that could not be deleted successfully.