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 |
The UpdateHITTypeOfHIT
operation allows you to change the HITType
properties of a HIT. This operation disassociates the HIT from its old
HITType properties and associates it with the new HITType properties.
The HIT takes on the properties of the new HITType in place of the old
ones.
Synopsis
- data UpdateHITTypeOfHIT = UpdateHITTypeOfHIT' {}
- newUpdateHITTypeOfHIT :: Text -> Text -> UpdateHITTypeOfHIT
- updateHITTypeOfHIT_hITId :: Lens' UpdateHITTypeOfHIT Text
- updateHITTypeOfHIT_hITTypeId :: Lens' UpdateHITTypeOfHIT Text
- data UpdateHITTypeOfHITResponse = UpdateHITTypeOfHITResponse' {
- httpStatus :: Int
- newUpdateHITTypeOfHITResponse :: Int -> UpdateHITTypeOfHITResponse
- updateHITTypeOfHITResponse_httpStatus :: Lens' UpdateHITTypeOfHITResponse Int
Creating a Request
data UpdateHITTypeOfHIT Source #
See: newUpdateHITTypeOfHIT
smart constructor.
Instances
newUpdateHITTypeOfHIT Source #
Create a value of UpdateHITTypeOfHIT
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:hITId:UpdateHITTypeOfHIT'
, updateHITTypeOfHIT_hITId
- The HIT to update.
$sel:hITTypeId:UpdateHITTypeOfHIT'
, updateHITTypeOfHIT_hITTypeId
- The ID of the new HIT type.
Request Lenses
updateHITTypeOfHIT_hITId :: Lens' UpdateHITTypeOfHIT Text Source #
The HIT to update.
updateHITTypeOfHIT_hITTypeId :: Lens' UpdateHITTypeOfHIT Text Source #
The ID of the new HIT type.
Destructuring the Response
data UpdateHITTypeOfHITResponse Source #
See: newUpdateHITTypeOfHITResponse
smart constructor.
UpdateHITTypeOfHITResponse' | |
|
Instances
newUpdateHITTypeOfHITResponse Source #
Create a value of UpdateHITTypeOfHITResponse
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:UpdateHITTypeOfHITResponse'
, updateHITTypeOfHITResponse_httpStatus
- The response's http status code.
Response Lenses
updateHITTypeOfHITResponse_httpStatus :: Lens' UpdateHITTypeOfHITResponse Int Source #
The response's http status code.