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 |
Retrieves details about a list of views.
Synopsis
- data BatchGetView = BatchGetView' {}
- newBatchGetView :: BatchGetView
- batchGetView_viewArns :: Lens' BatchGetView (Maybe (NonEmpty Text))
- data BatchGetViewResponse = BatchGetViewResponse' {
- errors :: Maybe [BatchGetViewError]
- views :: Maybe [View]
- httpStatus :: Int
- newBatchGetViewResponse :: Int -> BatchGetViewResponse
- batchGetViewResponse_errors :: Lens' BatchGetViewResponse (Maybe [BatchGetViewError])
- batchGetViewResponse_views :: Lens' BatchGetViewResponse (Maybe [View])
- batchGetViewResponse_httpStatus :: Lens' BatchGetViewResponse Int
Creating a Request
data BatchGetView Source #
See: newBatchGetView
smart constructor.
BatchGetView' | |
|
Instances
newBatchGetView :: BatchGetView Source #
Create a value of BatchGetView
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:viewArns:BatchGetView'
, batchGetView_viewArns
- A list of
Amazon resource names (ARNs)
that identify the views you want details for.
Request Lenses
batchGetView_viewArns :: Lens' BatchGetView (Maybe (NonEmpty Text)) Source #
A list of Amazon resource names (ARNs) that identify the views you want details for.
Destructuring the Response
data BatchGetViewResponse Source #
See: newBatchGetViewResponse
smart constructor.
BatchGetViewResponse' | |
|
Instances
newBatchGetViewResponse Source #
Create a value of BatchGetViewResponse
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:errors:BatchGetViewResponse'
, batchGetViewResponse_errors
- If any of the specified ARNs result in an error, then this structure
describes the error.
$sel:views:BatchGetViewResponse'
, batchGetViewResponse_views
- A structure with a list of objects with details for each of the
specified views.
$sel:httpStatus:BatchGetViewResponse'
, batchGetViewResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetViewResponse_errors :: Lens' BatchGetViewResponse (Maybe [BatchGetViewError]) Source #
If any of the specified ARNs result in an error, then this structure describes the error.
batchGetViewResponse_views :: Lens' BatchGetViewResponse (Maybe [View]) Source #
A structure with a list of objects with details for each of the specified views.
batchGetViewResponse_httpStatus :: Lens' BatchGetViewResponse Int Source #
The response's http status code.