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 |
Amazonka.IoT.DeleteDimension
Description
Removes the specified dimension from your Amazon Web Services accounts.
Requires permission to access the DeleteDimension action.
Synopsis
- data DeleteDimension = DeleteDimension' {}
- newDeleteDimension :: Text -> DeleteDimension
- deleteDimension_name :: Lens' DeleteDimension Text
- data DeleteDimensionResponse = DeleteDimensionResponse' {
- httpStatus :: Int
- newDeleteDimensionResponse :: Int -> DeleteDimensionResponse
- deleteDimensionResponse_httpStatus :: Lens' DeleteDimensionResponse Int
Creating a Request
data DeleteDimension Source #
See: newDeleteDimension
smart constructor.
Constructors
DeleteDimension' | |
Instances
Arguments
:: Text | |
-> DeleteDimension |
Create a value of DeleteDimension
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:name:DeleteDimension'
, deleteDimension_name
- The unique identifier for the dimension that you want to delete.
Request Lenses
deleteDimension_name :: Lens' DeleteDimension Text Source #
The unique identifier for the dimension that you want to delete.
Destructuring the Response
data DeleteDimensionResponse Source #
See: newDeleteDimensionResponse
smart constructor.
Constructors
DeleteDimensionResponse' | |
Fields
|
Instances
newDeleteDimensionResponse Source #
Create a value of DeleteDimensionResponse
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:DeleteDimensionResponse'
, deleteDimensionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDimensionResponse_httpStatus :: Lens' DeleteDimensionResponse Int Source #
The response's http status code.