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 the configuration of a location used by DataSync.
Synopsis
- data DeleteLocation = DeleteLocation' {
- locationArn :: Text
- newDeleteLocation :: Text -> DeleteLocation
- deleteLocation_locationArn :: Lens' DeleteLocation Text
- data DeleteLocationResponse = DeleteLocationResponse' {
- httpStatus :: Int
- newDeleteLocationResponse :: Int -> DeleteLocationResponse
- deleteLocationResponse_httpStatus :: Lens' DeleteLocationResponse Int
Creating a Request
data DeleteLocation Source #
DeleteLocation
See: newDeleteLocation
smart constructor.
DeleteLocation' | |
|
Instances
Create a value of DeleteLocation
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:locationArn:DeleteLocation'
, deleteLocation_locationArn
- The Amazon Resource Name (ARN) of the location to delete.
Request Lenses
deleteLocation_locationArn :: Lens' DeleteLocation Text Source #
The Amazon Resource Name (ARN) of the location to delete.
Destructuring the Response
data DeleteLocationResponse Source #
See: newDeleteLocationResponse
smart constructor.
DeleteLocationResponse' | |
|
Instances
newDeleteLocationResponse Source #
Create a value of DeleteLocationResponse
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:DeleteLocationResponse'
, deleteLocationResponse_httpStatus
- The response's http status code.
Response Lenses
deleteLocationResponse_httpStatus :: Lens' DeleteLocationResponse Int Source #
The response's http status code.