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