| 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.UpdateMember
Description
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.
Constructors
| UpdateMember' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> UpdateMember |
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:
UpdateMember, updateMember_logPublishingConfiguration - Configuration properties for publishing to Amazon CloudWatch Logs.
UpdateMember, updateMember_networkId - The unique identifier of the Managed Blockchain network to which the
member belongs.
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.
Constructors
| UpdateMemberResponse' | |
Fields
| |
Instances
newUpdateMemberResponse Source #
Arguments
| :: Int | |
| -> UpdateMemberResponse |
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.