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 |
Retrieves information about a list of blueprints.
Synopsis
- data BatchGetBlueprints = BatchGetBlueprints' {}
- newBatchGetBlueprints :: NonEmpty Text -> BatchGetBlueprints
- batchGetBlueprints_includeParameterSpec :: Lens' BatchGetBlueprints (Maybe Bool)
- batchGetBlueprints_includeBlueprint :: Lens' BatchGetBlueprints (Maybe Bool)
- batchGetBlueprints_names :: Lens' BatchGetBlueprints (NonEmpty Text)
- data BatchGetBlueprintsResponse = BatchGetBlueprintsResponse' {
- blueprints :: Maybe [Blueprint]
- missingBlueprints :: Maybe [Text]
- httpStatus :: Int
- newBatchGetBlueprintsResponse :: Int -> BatchGetBlueprintsResponse
- batchGetBlueprintsResponse_blueprints :: Lens' BatchGetBlueprintsResponse (Maybe [Blueprint])
- batchGetBlueprintsResponse_missingBlueprints :: Lens' BatchGetBlueprintsResponse (Maybe [Text])
- batchGetBlueprintsResponse_httpStatus :: Lens' BatchGetBlueprintsResponse Int
Creating a Request
data BatchGetBlueprints Source #
See: newBatchGetBlueprints
smart constructor.
BatchGetBlueprints' | |
|
Instances
newBatchGetBlueprints Source #
Create a value of BatchGetBlueprints
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:includeParameterSpec:BatchGetBlueprints'
, batchGetBlueprints_includeParameterSpec
- Specifies whether or not to include the parameters, as a JSON string,
for the blueprint in the response.
$sel:includeBlueprint:BatchGetBlueprints'
, batchGetBlueprints_includeBlueprint
- Specifies whether or not to include the blueprint in the response.
$sel:names:BatchGetBlueprints'
, batchGetBlueprints_names
- A list of blueprint names.
Request Lenses
batchGetBlueprints_includeParameterSpec :: Lens' BatchGetBlueprints (Maybe Bool) Source #
Specifies whether or not to include the parameters, as a JSON string, for the blueprint in the response.
batchGetBlueprints_includeBlueprint :: Lens' BatchGetBlueprints (Maybe Bool) Source #
Specifies whether or not to include the blueprint in the response.
batchGetBlueprints_names :: Lens' BatchGetBlueprints (NonEmpty Text) Source #
A list of blueprint names.
Destructuring the Response
data BatchGetBlueprintsResponse Source #
See: newBatchGetBlueprintsResponse
smart constructor.
BatchGetBlueprintsResponse' | |
|
Instances
newBatchGetBlueprintsResponse Source #
Create a value of BatchGetBlueprintsResponse
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:blueprints:BatchGetBlueprintsResponse'
, batchGetBlueprintsResponse_blueprints
- Returns a list of blueprint as a Blueprints
object.
$sel:missingBlueprints:BatchGetBlueprintsResponse'
, batchGetBlueprintsResponse_missingBlueprints
- Returns a list of BlueprintNames
that were not found.
$sel:httpStatus:BatchGetBlueprintsResponse'
, batchGetBlueprintsResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetBlueprintsResponse_blueprints :: Lens' BatchGetBlueprintsResponse (Maybe [Blueprint]) Source #
Returns a list of blueprint as a Blueprints
object.
batchGetBlueprintsResponse_missingBlueprints :: Lens' BatchGetBlueprintsResponse (Maybe [Text]) Source #
Returns a list of BlueprintNames
that were not found.
batchGetBlueprintsResponse_httpStatus :: Lens' BatchGetBlueprintsResponse Int Source #
The response's http status code.