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 trigger names.
After calling the ListTriggers
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 BatchGetTriggers = BatchGetTriggers' {
- triggerNames :: [Text]
- newBatchGetTriggers :: BatchGetTriggers
- batchGetTriggers_triggerNames :: Lens' BatchGetTriggers [Text]
- data BatchGetTriggersResponse = BatchGetTriggersResponse' {
- triggersNotFound :: Maybe [Text]
- triggers :: Maybe [Trigger]
- httpStatus :: Int
- newBatchGetTriggersResponse :: Int -> BatchGetTriggersResponse
- batchGetTriggersResponse_triggersNotFound :: Lens' BatchGetTriggersResponse (Maybe [Text])
- batchGetTriggersResponse_triggers :: Lens' BatchGetTriggersResponse (Maybe [Trigger])
- batchGetTriggersResponse_httpStatus :: Lens' BatchGetTriggersResponse Int
Creating a Request
data BatchGetTriggers Source #
See: newBatchGetTriggers
smart constructor.
BatchGetTriggers' | |
|
Instances
newBatchGetTriggers :: BatchGetTriggers Source #
Create a value of BatchGetTriggers
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:triggerNames:BatchGetTriggers'
, batchGetTriggers_triggerNames
- A list of trigger names, which may be the names returned from the
ListTriggers
operation.
Request Lenses
batchGetTriggers_triggerNames :: Lens' BatchGetTriggers [Text] Source #
A list of trigger names, which may be the names returned from the
ListTriggers
operation.
Destructuring the Response
data BatchGetTriggersResponse Source #
See: newBatchGetTriggersResponse
smart constructor.
BatchGetTriggersResponse' | |
|
Instances
newBatchGetTriggersResponse Source #
Create a value of BatchGetTriggersResponse
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:triggersNotFound:BatchGetTriggersResponse'
, batchGetTriggersResponse_triggersNotFound
- A list of names of triggers not found.
$sel:triggers:BatchGetTriggersResponse'
, batchGetTriggersResponse_triggers
- A list of trigger definitions.
$sel:httpStatus:BatchGetTriggersResponse'
, batchGetTriggersResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetTriggersResponse_triggersNotFound :: Lens' BatchGetTriggersResponse (Maybe [Text]) Source #
A list of names of triggers not found.
batchGetTriggersResponse_triggers :: Lens' BatchGetTriggersResponse (Maybe [Trigger]) Source #
A list of trigger definitions.
batchGetTriggersResponse_httpStatus :: Lens' BatchGetTriggersResponse Int Source #
The response's http status code.