Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes a trail.
See: AWS API Reference for DeleteTrail.
Creating a Request
:: Text | |
-> 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:
data DeleteTrail Source
The request that specifies the name of a trail to delete.
See: deleteTrail
smart constructor.
Request Lenses
dtName :: Lens' DeleteTrail Text Source
The name of a trail to be deleted.
Destructuring the Response
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.