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 |
Lists all related-item resources associated with a Systems Manager OpsCenter OpsItem. OpsCenter is a capability of Amazon Web Services Systems Manager.
This operation returns paginated results.
Synopsis
- data ListOpsItemRelatedItems = ListOpsItemRelatedItems' {}
- newListOpsItemRelatedItems :: ListOpsItemRelatedItems
- listOpsItemRelatedItems_opsItemId :: Lens' ListOpsItemRelatedItems (Maybe Text)
- listOpsItemRelatedItems_filters :: Lens' ListOpsItemRelatedItems (Maybe [OpsItemRelatedItemsFilter])
- listOpsItemRelatedItems_nextToken :: Lens' ListOpsItemRelatedItems (Maybe Text)
- listOpsItemRelatedItems_maxResults :: Lens' ListOpsItemRelatedItems (Maybe Natural)
- data ListOpsItemRelatedItemsResponse = ListOpsItemRelatedItemsResponse' {}
- newListOpsItemRelatedItemsResponse :: Int -> ListOpsItemRelatedItemsResponse
- listOpsItemRelatedItemsResponse_nextToken :: Lens' ListOpsItemRelatedItemsResponse (Maybe Text)
- listOpsItemRelatedItemsResponse_summaries :: Lens' ListOpsItemRelatedItemsResponse (Maybe [OpsItemRelatedItemSummary])
- listOpsItemRelatedItemsResponse_httpStatus :: Lens' ListOpsItemRelatedItemsResponse Int
Creating a Request
data ListOpsItemRelatedItems Source #
See: newListOpsItemRelatedItems
smart constructor.
ListOpsItemRelatedItems' | |
|
Instances
newListOpsItemRelatedItems :: ListOpsItemRelatedItems Source #
Create a value of ListOpsItemRelatedItems
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:opsItemId:ListOpsItemRelatedItems'
, listOpsItemRelatedItems_opsItemId
- The ID of the OpsItem for which you want to list all related-item
resources.
$sel:filters:ListOpsItemRelatedItems'
, listOpsItemRelatedItems_filters
- One or more OpsItem filters. Use a filter to return a more specific list
of results.
$sel:nextToken:ListOpsItemRelatedItems'
, listOpsItemRelatedItems_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxResults:ListOpsItemRelatedItems'
, listOpsItemRelatedItems_maxResults
- The maximum number of items to return for this call. The call also
returns a token that you can specify in a subsequent call to get the
next set of results.
Request Lenses
listOpsItemRelatedItems_opsItemId :: Lens' ListOpsItemRelatedItems (Maybe Text) Source #
The ID of the OpsItem for which you want to list all related-item resources.
listOpsItemRelatedItems_filters :: Lens' ListOpsItemRelatedItems (Maybe [OpsItemRelatedItemsFilter]) Source #
One or more OpsItem filters. Use a filter to return a more specific list of results.
listOpsItemRelatedItems_nextToken :: Lens' ListOpsItemRelatedItems (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
listOpsItemRelatedItems_maxResults :: Lens' ListOpsItemRelatedItems (Maybe Natural) Source #
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
Destructuring the Response
data ListOpsItemRelatedItemsResponse Source #
See: newListOpsItemRelatedItemsResponse
smart constructor.
ListOpsItemRelatedItemsResponse' | |
|
Instances
newListOpsItemRelatedItemsResponse Source #
Create a value of ListOpsItemRelatedItemsResponse
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:nextToken:ListOpsItemRelatedItems'
, listOpsItemRelatedItemsResponse_nextToken
- The token for the next set of items to return. Use this token to get the
next set of results.
$sel:summaries:ListOpsItemRelatedItemsResponse'
, listOpsItemRelatedItemsResponse_summaries
- A list of related-item resources for the specified OpsItem.
$sel:httpStatus:ListOpsItemRelatedItemsResponse'
, listOpsItemRelatedItemsResponse_httpStatus
- The response's http status code.
Response Lenses
listOpsItemRelatedItemsResponse_nextToken :: Lens' ListOpsItemRelatedItemsResponse (Maybe Text) Source #
The token for the next set of items to return. Use this token to get the next set of results.
listOpsItemRelatedItemsResponse_summaries :: Lens' ListOpsItemRelatedItemsResponse (Maybe [OpsItemRelatedItemSummary]) Source #
A list of related-item resources for the specified OpsItem.
listOpsItemRelatedItemsResponse_httpStatus :: Lens' ListOpsItemRelatedItemsResponse Int Source #
The response's http status code.