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 |
Returns a list of resource metadata for a given list of workflow names.
After calling the ListWorkflows
operation, you can call this operation
to access the data to which you have been granted permissions. This
operation supports all IAM permissions, including permission conditions
that uses tags.
Synopsis
- data BatchGetWorkflows = BatchGetWorkflows' {}
- newBatchGetWorkflows :: NonEmpty Text -> BatchGetWorkflows
- batchGetWorkflows_includeGraph :: Lens' BatchGetWorkflows (Maybe Bool)
- batchGetWorkflows_names :: Lens' BatchGetWorkflows (NonEmpty Text)
- data BatchGetWorkflowsResponse = BatchGetWorkflowsResponse' {
- missingWorkflows :: Maybe (NonEmpty Text)
- workflows :: Maybe (NonEmpty Workflow)
- httpStatus :: Int
- newBatchGetWorkflowsResponse :: Int -> BatchGetWorkflowsResponse
- batchGetWorkflowsResponse_missingWorkflows :: Lens' BatchGetWorkflowsResponse (Maybe (NonEmpty Text))
- batchGetWorkflowsResponse_workflows :: Lens' BatchGetWorkflowsResponse (Maybe (NonEmpty Workflow))
- batchGetWorkflowsResponse_httpStatus :: Lens' BatchGetWorkflowsResponse Int
Creating a Request
data BatchGetWorkflows Source #
See: newBatchGetWorkflows
smart constructor.
Instances
Create a value of BatchGetWorkflows
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:includeGraph:BatchGetWorkflows'
, batchGetWorkflows_includeGraph
- Specifies whether to include a graph when returning the workflow
resource metadata.
$sel:names:BatchGetWorkflows'
, batchGetWorkflows_names
- A list of workflow names, which may be the names returned from the
ListWorkflows
operation.
Request Lenses
batchGetWorkflows_includeGraph :: Lens' BatchGetWorkflows (Maybe Bool) Source #
Specifies whether to include a graph when returning the workflow resource metadata.
batchGetWorkflows_names :: Lens' BatchGetWorkflows (NonEmpty Text) Source #
A list of workflow names, which may be the names returned from the
ListWorkflows
operation.
Destructuring the Response
data BatchGetWorkflowsResponse Source #
See: newBatchGetWorkflowsResponse
smart constructor.
BatchGetWorkflowsResponse' | |
|
Instances
newBatchGetWorkflowsResponse Source #
Create a value of BatchGetWorkflowsResponse
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:missingWorkflows:BatchGetWorkflowsResponse'
, batchGetWorkflowsResponse_missingWorkflows
- A list of names of workflows not found.
$sel:workflows:BatchGetWorkflowsResponse'
, batchGetWorkflowsResponse_workflows
- A list of workflow resource metadata.
$sel:httpStatus:BatchGetWorkflowsResponse'
, batchGetWorkflowsResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetWorkflowsResponse_missingWorkflows :: Lens' BatchGetWorkflowsResponse (Maybe (NonEmpty Text)) Source #
A list of names of workflows not found.
batchGetWorkflowsResponse_workflows :: Lens' BatchGetWorkflowsResponse (Maybe (NonEmpty Workflow)) Source #
A list of workflow resource metadata.
batchGetWorkflowsResponse_httpStatus :: Lens' BatchGetWorkflowsResponse Int Source #
The response's http status code.