| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DataSync.DeleteLocation
Description
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.
Constructors
| DeleteLocation' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteLocation |
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:
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.
Constructors
| DeleteLocationResponse' | |
Fields
| |
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.