Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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
- updateHITTypeOfHIT :: Text -> Text -> UpdateHITTypeOfHIT
- data UpdateHITTypeOfHIT
- uhittohitHITId :: Lens' UpdateHITTypeOfHIT Text
- uhittohitHITTypeId :: Lens' UpdateHITTypeOfHIT Text
- updateHITTypeOfHITResponse :: Int -> UpdateHITTypeOfHITResponse
- data UpdateHITTypeOfHITResponse
- uhittohitrsResponseStatus :: Lens' UpdateHITTypeOfHITResponse Int
Creating a Request
Creates a value of UpdateHITTypeOfHIT
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uhittohitHITId
- The HIT to update.uhittohitHITTypeId
- The ID of the new HIT type.
data UpdateHITTypeOfHIT Source #
See: updateHITTypeOfHIT
smart constructor.
Instances
Request Lenses
uhittohitHITId :: Lens' UpdateHITTypeOfHIT Text Source #
The HIT to update.
uhittohitHITTypeId :: Lens' UpdateHITTypeOfHIT Text Source #
The ID of the new HIT type.
Destructuring the Response
updateHITTypeOfHITResponse Source #
Creates a value of UpdateHITTypeOfHITResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uhittohitrsResponseStatus
- -- | The response status code.
data UpdateHITTypeOfHITResponse Source #
See: updateHITTypeOfHITResponse
smart constructor.
Instances
Response Lenses
uhittohitrsResponseStatus :: Lens' UpdateHITTypeOfHITResponse Int Source #
- - | The response status code.