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 |
Updates a member configuration with new parameters.
Applies only to Hyperledger Fabric.
Synopsis
- data UpdateMember = UpdateMember' {}
- newUpdateMember :: Text -> Text -> UpdateMember
- updateMember_logPublishingConfiguration :: Lens' UpdateMember (Maybe MemberLogPublishingConfiguration)
- updateMember_networkId :: Lens' UpdateMember Text
- updateMember_memberId :: Lens' UpdateMember Text
- data UpdateMemberResponse = UpdateMemberResponse' {
- httpStatus :: Int
- newUpdateMemberResponse :: Int -> UpdateMemberResponse
- updateMemberResponse_httpStatus :: Lens' UpdateMemberResponse Int
Creating a Request
data UpdateMember Source #
See: newUpdateMember
smart constructor.
UpdateMember' | |
|
Instances
Create a value of UpdateMember
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:logPublishingConfiguration:UpdateMember'
, updateMember_logPublishingConfiguration
- Configuration properties for publishing to Amazon CloudWatch Logs.
$sel:networkId:UpdateMember'
, updateMember_networkId
- The unique identifier of the Managed Blockchain network to which the
member belongs.
$sel:memberId:UpdateMember'
, updateMember_memberId
- The unique identifier of the member.
Request Lenses
updateMember_logPublishingConfiguration :: Lens' UpdateMember (Maybe MemberLogPublishingConfiguration) Source #
Configuration properties for publishing to Amazon CloudWatch Logs.
updateMember_networkId :: Lens' UpdateMember Text Source #
The unique identifier of the Managed Blockchain network to which the member belongs.
updateMember_memberId :: Lens' UpdateMember Text Source #
The unique identifier of the member.
Destructuring the Response
data UpdateMemberResponse Source #
See: newUpdateMemberResponse
smart constructor.
UpdateMemberResponse' | |
|
Instances
newUpdateMemberResponse Source #
Create a value of UpdateMemberResponse
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:httpStatus:UpdateMemberResponse'
, updateMemberResponse_httpStatus
- The response's http status code.
Response Lenses
updateMemberResponse_httpStatus :: Lens' UpdateMemberResponse Int Source #
The response's http status code.