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 detailed information about a member.
Applies only to Hyperledger Fabric.
Synopsis
- data GetMember = GetMember' {}
- newGetMember :: Text -> Text -> GetMember
- getMember_networkId :: Lens' GetMember Text
- getMember_memberId :: Lens' GetMember Text
- data GetMemberResponse = GetMemberResponse' {
- member :: Maybe Member
- httpStatus :: Int
- newGetMemberResponse :: Int -> GetMemberResponse
- getMemberResponse_member :: Lens' GetMemberResponse (Maybe Member)
- getMemberResponse_httpStatus :: Lens' GetMemberResponse Int
Creating a Request
See: newGetMember
smart constructor.
Instances
Create a value of GetMember
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:networkId:GetMember'
, getMember_networkId
- The unique identifier of the network to which the member belongs.
$sel:memberId:GetMember'
, getMember_memberId
- The unique identifier of the member.
Request Lenses
getMember_networkId :: Lens' GetMember Text Source #
The unique identifier of the network to which the member belongs.
Destructuring the Response
data GetMemberResponse Source #
See: newGetMemberResponse
smart constructor.
GetMemberResponse' | |
|
Instances
Create a value of GetMemberResponse
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:member:GetMemberResponse'
, getMemberResponse_member
- The properties of a member.
$sel:httpStatus:GetMemberResponse'
, getMemberResponse_httpStatus
- The response's http status code.
Response Lenses
getMemberResponse_member :: Lens' GetMemberResponse (Maybe Member) Source #
The properties of a member.
getMemberResponse_httpStatus :: Lens' GetMemberResponse Int Source #
The response's http status code.