Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes a source location on a specific channel.
Synopsis
- data DeleteSourceLocation = DeleteSourceLocation' {}
- newDeleteSourceLocation :: Text -> DeleteSourceLocation
- deleteSourceLocation_sourceLocationName :: Lens' DeleteSourceLocation Text
- data DeleteSourceLocationResponse = DeleteSourceLocationResponse' {
- httpStatus :: Int
- newDeleteSourceLocationResponse :: Int -> DeleteSourceLocationResponse
- deleteSourceLocationResponse_httpStatus :: Lens' DeleteSourceLocationResponse Int
Creating a Request
data DeleteSourceLocation Source #
See: newDeleteSourceLocation
smart constructor.
DeleteSourceLocation' | |
|
Instances
newDeleteSourceLocation Source #
Create a value of DeleteSourceLocation
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:sourceLocationName:DeleteSourceLocation'
, deleteSourceLocation_sourceLocationName
- The identifier for the source location you are working on.
Request Lenses
deleteSourceLocation_sourceLocationName :: Lens' DeleteSourceLocation Text Source #
The identifier for the source location you are working on.
Destructuring the Response
data DeleteSourceLocationResponse Source #
See: newDeleteSourceLocationResponse
smart constructor.
DeleteSourceLocationResponse' | |
|
Instances
newDeleteSourceLocationResponse Source #
Create a value of DeleteSourceLocationResponse
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:httpStatus:DeleteSourceLocationResponse'
, deleteSourceLocationResponse_httpStatus
- The response's http status code.
Response Lenses
deleteSourceLocationResponse_httpStatus :: Lens' DeleteSourceLocationResponse Int Source #
The response's http status code.