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 registered blueprint.
Synopsis
- data UpdateBlueprint = UpdateBlueprint' {
- description :: Maybe Text
- name :: Text
- blueprintLocation :: Text
- newUpdateBlueprint :: Text -> Text -> UpdateBlueprint
- updateBlueprint_description :: Lens' UpdateBlueprint (Maybe Text)
- updateBlueprint_name :: Lens' UpdateBlueprint Text
- updateBlueprint_blueprintLocation :: Lens' UpdateBlueprint Text
- data UpdateBlueprintResponse = UpdateBlueprintResponse' {
- name :: Maybe Text
- httpStatus :: Int
- newUpdateBlueprintResponse :: Int -> UpdateBlueprintResponse
- updateBlueprintResponse_name :: Lens' UpdateBlueprintResponse (Maybe Text)
- updateBlueprintResponse_httpStatus :: Lens' UpdateBlueprintResponse Int
Creating a Request
data UpdateBlueprint Source #
See: newUpdateBlueprint
smart constructor.
UpdateBlueprint' | |
|
Instances
Create a value of UpdateBlueprint
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:description:UpdateBlueprint'
, updateBlueprint_description
- A description of the blueprint.
$sel:name:UpdateBlueprint'
, updateBlueprint_name
- The name of the blueprint.
$sel:blueprintLocation:UpdateBlueprint'
, updateBlueprint_blueprintLocation
- Specifies a path in Amazon S3 where the blueprint is published.
Request Lenses
updateBlueprint_description :: Lens' UpdateBlueprint (Maybe Text) Source #
A description of the blueprint.
updateBlueprint_name :: Lens' UpdateBlueprint Text Source #
The name of the blueprint.
updateBlueprint_blueprintLocation :: Lens' UpdateBlueprint Text Source #
Specifies a path in Amazon S3 where the blueprint is published.
Destructuring the Response
data UpdateBlueprintResponse Source #
See: newUpdateBlueprintResponse
smart constructor.
UpdateBlueprintResponse' | |
|
Instances
newUpdateBlueprintResponse Source #
Create a value of UpdateBlueprintResponse
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:UpdateBlueprint'
, updateBlueprintResponse_name
- Returns the name of the blueprint that was updated.
$sel:httpStatus:UpdateBlueprintResponse'
, updateBlueprintResponse_httpStatus
- The response's http status code.
Response Lenses
updateBlueprintResponse_name :: Lens' UpdateBlueprintResponse (Maybe Text) Source #
Returns the name of the blueprint that was updated.
updateBlueprintResponse_httpStatus :: Lens' UpdateBlueprintResponse Int Source #
The response's http status code.