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 |
Modify one of your existing job templates.
- updateJobTemplate :: Text -> UpdateJobTemplate
- data UpdateJobTemplate
- ujtSettings :: Lens' UpdateJobTemplate (Maybe JobTemplateSettings)
- ujtCategory :: Lens' UpdateJobTemplate (Maybe Text)
- ujtQueue :: Lens' UpdateJobTemplate (Maybe Text)
- ujtDescription :: Lens' UpdateJobTemplate (Maybe Text)
- ujtName :: Lens' UpdateJobTemplate Text
- updateJobTemplateResponse :: Int -> UpdateJobTemplateResponse
- data UpdateJobTemplateResponse
- ujtrsJobTemplate :: Lens' UpdateJobTemplateResponse (Maybe JobTemplate)
- ujtrsResponseStatus :: Lens' UpdateJobTemplateResponse Int
Creating a Request
Creates a value of UpdateJobTemplate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ujtSettings
- Undocumented member.ujtCategory
- The new category for the job template, if you are changing it.ujtQueue
- The new queue for the job template, if you are changing it.ujtDescription
- The new description for the job template, if you are changing it.ujtName
- The name of the job template you are modifying
data UpdateJobTemplate Source #
See: updateJobTemplate
smart constructor.
Request Lenses
ujtSettings :: Lens' UpdateJobTemplate (Maybe JobTemplateSettings) Source #
Undocumented member.
ujtCategory :: Lens' UpdateJobTemplate (Maybe Text) Source #
The new category for the job template, if you are changing it.
ujtQueue :: Lens' UpdateJobTemplate (Maybe Text) Source #
The new queue for the job template, if you are changing it.
ujtDescription :: Lens' UpdateJobTemplate (Maybe Text) Source #
The new description for the job template, if you are changing it.
Destructuring the Response
updateJobTemplateResponse Source #
Creates a value of UpdateJobTemplateResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ujtrsJobTemplate
- Undocumented member.ujtrsResponseStatus
- -- | The response status code.
data UpdateJobTemplateResponse Source #
See: updateJobTemplateResponse
smart constructor.
Response Lenses
ujtrsJobTemplate :: Lens' UpdateJobTemplateResponse (Maybe JobTemplate) Source #
Undocumented member.
ujtrsResponseStatus :: Lens' UpdateJobTemplateResponse Int Source #
- - | The response status code.