| 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.RobOMaker.UpdateWorldTemplate
Description
Updates a world template.
Synopsis
- data UpdateWorldTemplate = UpdateWorldTemplate' {}
- newUpdateWorldTemplate :: Text -> UpdateWorldTemplate
- updateWorldTemplate_name :: Lens' UpdateWorldTemplate (Maybe Text)
- updateWorldTemplate_templateBody :: Lens' UpdateWorldTemplate (Maybe Text)
- updateWorldTemplate_templateLocation :: Lens' UpdateWorldTemplate (Maybe TemplateLocation)
- updateWorldTemplate_template :: Lens' UpdateWorldTemplate Text
- data UpdateWorldTemplateResponse = UpdateWorldTemplateResponse' {}
- newUpdateWorldTemplateResponse :: Int -> UpdateWorldTemplateResponse
- updateWorldTemplateResponse_arn :: Lens' UpdateWorldTemplateResponse (Maybe Text)
- updateWorldTemplateResponse_createdAt :: Lens' UpdateWorldTemplateResponse (Maybe UTCTime)
- updateWorldTemplateResponse_lastUpdatedAt :: Lens' UpdateWorldTemplateResponse (Maybe UTCTime)
- updateWorldTemplateResponse_name :: Lens' UpdateWorldTemplateResponse (Maybe Text)
- updateWorldTemplateResponse_httpStatus :: Lens' UpdateWorldTemplateResponse Int
Creating a Request
data UpdateWorldTemplate Source #
See: newUpdateWorldTemplate smart constructor.
Constructors
| UpdateWorldTemplate' | |
Fields
| |
Instances
newUpdateWorldTemplate Source #
Arguments
| :: Text | |
| -> UpdateWorldTemplate |
Create a value of UpdateWorldTemplate 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:
UpdateWorldTemplate, updateWorldTemplate_name - The name of the template.
$sel:templateBody:UpdateWorldTemplate', updateWorldTemplate_templateBody - The world template body.
$sel:templateLocation:UpdateWorldTemplate', updateWorldTemplate_templateLocation - The location of the world template.
UpdateWorldTemplate, updateWorldTemplate_template - The Amazon Resource Name (arn) of the world template to update.
Request Lenses
updateWorldTemplate_name :: Lens' UpdateWorldTemplate (Maybe Text) Source #
The name of the template.
updateWorldTemplate_templateBody :: Lens' UpdateWorldTemplate (Maybe Text) Source #
The world template body.
updateWorldTemplate_templateLocation :: Lens' UpdateWorldTemplate (Maybe TemplateLocation) Source #
The location of the world template.
updateWorldTemplate_template :: Lens' UpdateWorldTemplate Text Source #
The Amazon Resource Name (arn) of the world template to update.
Destructuring the Response
data UpdateWorldTemplateResponse Source #
See: newUpdateWorldTemplateResponse smart constructor.
Constructors
| UpdateWorldTemplateResponse' | |
Fields
| |
Instances
newUpdateWorldTemplateResponse Source #
Create a value of UpdateWorldTemplateResponse 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:
UpdateWorldTemplateResponse, updateWorldTemplateResponse_arn - The Amazon Resource Name (arn) of the world template.
UpdateWorldTemplateResponse, updateWorldTemplateResponse_createdAt - The time, in milliseconds since the epoch, when the world template was
created.
UpdateWorldTemplateResponse, updateWorldTemplateResponse_lastUpdatedAt - The time, in milliseconds since the epoch, when the world template was
last updated.
UpdateWorldTemplate, updateWorldTemplateResponse_name - The name of the world template.
$sel:httpStatus:UpdateWorldTemplateResponse', updateWorldTemplateResponse_httpStatus - The response's http status code.
Response Lenses
updateWorldTemplateResponse_arn :: Lens' UpdateWorldTemplateResponse (Maybe Text) Source #
The Amazon Resource Name (arn) of the world template.
updateWorldTemplateResponse_createdAt :: Lens' UpdateWorldTemplateResponse (Maybe UTCTime) Source #
The time, in milliseconds since the epoch, when the world template was created.
updateWorldTemplateResponse_lastUpdatedAt :: Lens' UpdateWorldTemplateResponse (Maybe UTCTime) Source #
The time, in milliseconds since the epoch, when the world template was last updated.
updateWorldTemplateResponse_name :: Lens' UpdateWorldTemplateResponse (Maybe Text) Source #
The name of the world template.
updateWorldTemplateResponse_httpStatus :: Lens' UpdateWorldTemplateResponse Int Source #
The response's http status code.