| 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.IotTwinMaker.DeleteComponentType
Description
Deletes a component type.
Synopsis
- data DeleteComponentType = DeleteComponentType' {}
- newDeleteComponentType :: Text -> Text -> DeleteComponentType
- deleteComponentType_workspaceId :: Lens' DeleteComponentType Text
- deleteComponentType_componentTypeId :: Lens' DeleteComponentType Text
- data DeleteComponentTypeResponse = DeleteComponentTypeResponse' {
- httpStatus :: Int
- state :: State
- newDeleteComponentTypeResponse :: Int -> State -> DeleteComponentTypeResponse
- deleteComponentTypeResponse_httpStatus :: Lens' DeleteComponentTypeResponse Int
- deleteComponentTypeResponse_state :: Lens' DeleteComponentTypeResponse State
Creating a Request
data DeleteComponentType Source #
See: newDeleteComponentType smart constructor.
Constructors
| DeleteComponentType' | |
Fields
| |
Instances
newDeleteComponentType Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteComponentType |
Create a value of DeleteComponentType 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:
DeleteComponentType, deleteComponentType_workspaceId - The ID of the workspace that contains the component type.
DeleteComponentType, deleteComponentType_componentTypeId - The ID of the component type to delete.
Request Lenses
deleteComponentType_workspaceId :: Lens' DeleteComponentType Text Source #
The ID of the workspace that contains the component type.
deleteComponentType_componentTypeId :: Lens' DeleteComponentType Text Source #
The ID of the component type to delete.
Destructuring the Response
data DeleteComponentTypeResponse Source #
See: newDeleteComponentTypeResponse smart constructor.
Constructors
| DeleteComponentTypeResponse' | |
Fields
| |
Instances
newDeleteComponentTypeResponse Source #
Arguments
| :: Int | |
| -> State | |
| -> DeleteComponentTypeResponse |
Create a value of DeleteComponentTypeResponse 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:DeleteComponentTypeResponse', deleteComponentTypeResponse_httpStatus - The response's http status code.
DeleteComponentTypeResponse, deleteComponentTypeResponse_state - The current state of the component type to be deleted.
Response Lenses
deleteComponentTypeResponse_httpStatus :: Lens' DeleteComponentTypeResponse Int Source #
The response's http status code.
deleteComponentTypeResponse_state :: Lens' DeleteComponentTypeResponse State Source #
The current state of the component type to be deleted.