| 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 | 
Amazonka.ManagedBlockChain.ListMembers
Description
Returns a list of the members in a network and properties of their configurations.
Applies only to Hyperledger Fabric.
Synopsis
- data ListMembers = ListMembers' {}
 - newListMembers :: Text -> ListMembers
 - listMembers_isOwned :: Lens' ListMembers (Maybe Bool)
 - listMembers_maxResults :: Lens' ListMembers (Maybe Natural)
 - listMembers_name :: Lens' ListMembers (Maybe Text)
 - listMembers_nextToken :: Lens' ListMembers (Maybe Text)
 - listMembers_status :: Lens' ListMembers (Maybe MemberStatus)
 - listMembers_networkId :: Lens' ListMembers Text
 - data ListMembersResponse = ListMembersResponse' {
- members :: Maybe [MemberSummary]
 - nextToken :: Maybe Text
 - httpStatus :: Int
 
 - newListMembersResponse :: Int -> ListMembersResponse
 - listMembersResponse_members :: Lens' ListMembersResponse (Maybe [MemberSummary])
 - listMembersResponse_nextToken :: Lens' ListMembersResponse (Maybe Text)
 - listMembersResponse_httpStatus :: Lens' ListMembersResponse Int
 
Creating a Request
data ListMembers Source #
See: newListMembers smart constructor.
Constructors
| ListMembers' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> ListMembers | 
Create a value of ListMembers 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:
ListMembers, listMembers_isOwned - An optional Boolean value. If provided, the request is limited either to
 members that the current Amazon Web Services account owns (true) or
 that other Amazon Web Services accountsn own (false). If omitted, all
 members are listed.
$sel:maxResults:ListMembers', listMembers_maxResults - The maximum number of members to return in the request.
ListMembers, listMembers_name - The optional name of the member to list.
ListMembers, listMembers_nextToken - The pagination token that indicates the next set of results to retrieve.
ListMembers, listMembers_status - An optional status specifier. If provided, only members currently in
 this status are listed.
ListMembers, listMembers_networkId - The unique identifier of the network for which to list members.
Request Lenses
listMembers_isOwned :: Lens' ListMembers (Maybe Bool) Source #
An optional Boolean value. If provided, the request is limited either to
 members that the current Amazon Web Services account owns (true) or
 that other Amazon Web Services accountsn own (false). If omitted, all
 members are listed.
listMembers_maxResults :: Lens' ListMembers (Maybe Natural) Source #
The maximum number of members to return in the request.
listMembers_name :: Lens' ListMembers (Maybe Text) Source #
The optional name of the member to list.
listMembers_nextToken :: Lens' ListMembers (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
listMembers_status :: Lens' ListMembers (Maybe MemberStatus) Source #
An optional status specifier. If provided, only members currently in this status are listed.
listMembers_networkId :: Lens' ListMembers Text Source #
The unique identifier of the network for which to list members.
Destructuring the Response
data ListMembersResponse Source #
See: newListMembersResponse smart constructor.
Constructors
| ListMembersResponse' | |
Fields 
  | |
Instances
newListMembersResponse Source #
Arguments
| :: Int | |
| -> ListMembersResponse | 
Create a value of ListMembersResponse 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:members:ListMembersResponse', listMembersResponse_members - An array of MemberSummary objects. Each object contains details about
 a network member.
ListMembers, listMembersResponse_nextToken - The pagination token that indicates the next set of results to retrieve.
$sel:httpStatus:ListMembersResponse', listMembersResponse_httpStatus - The response's http status code.
Response Lenses
listMembersResponse_members :: Lens' ListMembersResponse (Maybe [MemberSummary]) Source #
An array of MemberSummary objects. Each object contains details about
 a network member.
listMembersResponse_nextToken :: Lens' ListMembersResponse (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
listMembersResponse_httpStatus :: Lens' ListMembersResponse Int Source #
The response's http status code.