amazonka-cloudtrail-1.2.0.2: Amazon CloudTrail SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudTrail.DeleteTrail

Contents

Description

Deletes a trail.

See: AWS API Reference for DeleteTrail.

Synopsis

Creating a Request

deleteTrail Source

Arguments

:: Text

dtName

-> DeleteTrail 

Creates a value of DeleteTrail with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dtName :: Lens' DeleteTrail Text Source

The name of a trail to be deleted.

Destructuring the Response

deleteTrailResponse Source

Creates a value of DeleteTrailResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DeleteTrailResponse Source

Returns the objects or data listed below if successful. Otherwise, returns an error.

See: deleteTrailResponse smart constructor.

Response Lenses

drsStatus :: Lens' DeleteTrailResponse Int Source

The response status code.