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 |
Registers a blueprint with Glue.
Synopsis
- data CreateBlueprint = CreateBlueprint' {}
- newCreateBlueprint :: Text -> Text -> CreateBlueprint
- createBlueprint_description :: Lens' CreateBlueprint (Maybe Text)
- createBlueprint_tags :: Lens' CreateBlueprint (Maybe (HashMap Text Text))
- createBlueprint_name :: Lens' CreateBlueprint Text
- createBlueprint_blueprintLocation :: Lens' CreateBlueprint Text
- data CreateBlueprintResponse = CreateBlueprintResponse' {
- name :: Maybe Text
- httpStatus :: Int
- newCreateBlueprintResponse :: Int -> CreateBlueprintResponse
- createBlueprintResponse_name :: Lens' CreateBlueprintResponse (Maybe Text)
- createBlueprintResponse_httpStatus :: Lens' CreateBlueprintResponse Int
Creating a Request
data CreateBlueprint Source #
See: newCreateBlueprint
smart constructor.
Instances
Create a value of CreateBlueprint
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:CreateBlueprint'
, createBlueprint_description
- A description of the blueprint.
$sel:tags:CreateBlueprint'
, createBlueprint_tags
- The tags to be applied to this blueprint.
$sel:name:CreateBlueprint'
, createBlueprint_name
- The name of the blueprint.
$sel:blueprintLocation:CreateBlueprint'
, createBlueprint_blueprintLocation
- Specifies a path in Amazon S3 where the blueprint is published.
Request Lenses
createBlueprint_description :: Lens' CreateBlueprint (Maybe Text) Source #
A description of the blueprint.
createBlueprint_tags :: Lens' CreateBlueprint (Maybe (HashMap Text Text)) Source #
The tags to be applied to this blueprint.
createBlueprint_name :: Lens' CreateBlueprint Text Source #
The name of the blueprint.
createBlueprint_blueprintLocation :: Lens' CreateBlueprint Text Source #
Specifies a path in Amazon S3 where the blueprint is published.
Destructuring the Response
data CreateBlueprintResponse Source #
See: newCreateBlueprintResponse
smart constructor.
CreateBlueprintResponse' | |
|
Instances
newCreateBlueprintResponse Source #
Create a value of CreateBlueprintResponse
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:CreateBlueprint'
, createBlueprintResponse_name
- Returns the name of the blueprint that was registered.
$sel:httpStatus:CreateBlueprintResponse'
, createBlueprintResponse_httpStatus
- The response's http status code.
Response Lenses
createBlueprintResponse_name :: Lens' CreateBlueprintResponse (Maybe Text) Source #
Returns the name of the blueprint that was registered.
createBlueprintResponse_httpStatus :: Lens' CreateBlueprintResponse Int Source #
The response's http status code.