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 |
List the workload shares associated with the workload.
Synopsis
- data ListWorkloadShares = ListWorkloadShares' {}
- newListWorkloadShares :: Text -> ListWorkloadShares
- listWorkloadShares_sharedWithPrefix :: Lens' ListWorkloadShares (Maybe Text)
- listWorkloadShares_nextToken :: Lens' ListWorkloadShares (Maybe Text)
- listWorkloadShares_maxResults :: Lens' ListWorkloadShares (Maybe Natural)
- listWorkloadShares_workloadId :: Lens' ListWorkloadShares Text
- data ListWorkloadSharesResponse = ListWorkloadSharesResponse' {}
- newListWorkloadSharesResponse :: Int -> ListWorkloadSharesResponse
- listWorkloadSharesResponse_workloadShareSummaries :: Lens' ListWorkloadSharesResponse (Maybe [WorkloadShareSummary])
- listWorkloadSharesResponse_nextToken :: Lens' ListWorkloadSharesResponse (Maybe Text)
- listWorkloadSharesResponse_workloadId :: Lens' ListWorkloadSharesResponse (Maybe Text)
- listWorkloadSharesResponse_httpStatus :: Lens' ListWorkloadSharesResponse Int
Creating a Request
data ListWorkloadShares Source #
Input for List Workload Share
See: newListWorkloadShares
smart constructor.
ListWorkloadShares' | |
|
Instances
newListWorkloadShares Source #
Create a value of ListWorkloadShares
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:sharedWithPrefix:ListWorkloadShares'
, listWorkloadShares_sharedWithPrefix
- The AWS account ID or IAM role with which the workload is shared.
$sel:nextToken:ListWorkloadShares'
, listWorkloadShares_nextToken
- Undocumented member.
$sel:maxResults:ListWorkloadShares'
, listWorkloadShares_maxResults
- The maximum number of results to return for this request.
$sel:workloadId:ListWorkloadShares'
, listWorkloadShares_workloadId
- Undocumented member.
Request Lenses
listWorkloadShares_sharedWithPrefix :: Lens' ListWorkloadShares (Maybe Text) Source #
The AWS account ID or IAM role with which the workload is shared.
listWorkloadShares_nextToken :: Lens' ListWorkloadShares (Maybe Text) Source #
Undocumented member.
listWorkloadShares_maxResults :: Lens' ListWorkloadShares (Maybe Natural) Source #
The maximum number of results to return for this request.
listWorkloadShares_workloadId :: Lens' ListWorkloadShares Text Source #
Undocumented member.
Destructuring the Response
data ListWorkloadSharesResponse Source #
Input for List Workload Share
See: newListWorkloadSharesResponse
smart constructor.
ListWorkloadSharesResponse' | |
|
Instances
newListWorkloadSharesResponse Source #
Create a value of ListWorkloadSharesResponse
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:workloadShareSummaries:ListWorkloadSharesResponse'
, listWorkloadSharesResponse_workloadShareSummaries
- Undocumented member.
$sel:nextToken:ListWorkloadShares'
, listWorkloadSharesResponse_nextToken
- Undocumented member.
$sel:workloadId:ListWorkloadShares'
, listWorkloadSharesResponse_workloadId
- Undocumented member.
$sel:httpStatus:ListWorkloadSharesResponse'
, listWorkloadSharesResponse_httpStatus
- The response's http status code.
Response Lenses
listWorkloadSharesResponse_workloadShareSummaries :: Lens' ListWorkloadSharesResponse (Maybe [WorkloadShareSummary]) Source #
Undocumented member.
listWorkloadSharesResponse_nextToken :: Lens' ListWorkloadSharesResponse (Maybe Text) Source #
Undocumented member.
listWorkloadSharesResponse_workloadId :: Lens' ListWorkloadSharesResponse (Maybe Text) Source #
Undocumented member.
listWorkloadSharesResponse_httpStatus :: Lens' ListWorkloadSharesResponse Int Source #
The response's http status code.