| 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.Glue.CreateBlueprint
Description
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.
Constructors
| CreateBlueprint' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> CreateBlueprint |
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:
CreateBlueprint, createBlueprint_description - A description of the blueprint.
$sel:tags:CreateBlueprint', createBlueprint_tags - The tags to be applied to this blueprint.
CreateBlueprint, createBlueprint_name - The name of the blueprint.
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.
Constructors
| CreateBlueprintResponse' | |
Fields
| |
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:
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.