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 |
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.
Instances
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.
DeleteDimensionResponse' | |
|
Instances
Eq DeleteDimensionResponse Source # | |
Defined in Amazonka.IoT.DeleteDimension | |
Read DeleteDimensionResponse Source # | |
Show DeleteDimensionResponse Source # | |
Defined in Amazonka.IoT.DeleteDimension showsPrec :: Int -> DeleteDimensionResponse -> ShowS # show :: DeleteDimensionResponse -> String # showList :: [DeleteDimensionResponse] -> ShowS # | |
Generic DeleteDimensionResponse Source # | |
Defined in Amazonka.IoT.DeleteDimension type Rep DeleteDimensionResponse :: Type -> Type # | |
NFData DeleteDimensionResponse Source # | |
Defined in Amazonka.IoT.DeleteDimension rnf :: DeleteDimensionResponse -> () # | |
type Rep DeleteDimensionResponse Source # | |
Defined in Amazonka.IoT.DeleteDimension type Rep DeleteDimensionResponse = D1 ('MetaData "DeleteDimensionResponse" "Amazonka.IoT.DeleteDimension" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DeleteDimensionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.