amazonka-managedblockchain-2.0: Amazon Managed Blockchain SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ManagedBlockChain.DeleteMember

Description

Deletes a member. Deleting a member removes the member and all associated resources from the network. DeleteMember can only be called for a specified MemberId if the principal performing the action is associated with the Amazon Web Services account that owns the member. In all other cases, the DeleteMember action is carried out as the result of an approved proposal to remove a member. If MemberId is the last member in a network specified by the last Amazon Web Services account, the network is deleted also.

Applies only to Hyperledger Fabric.

Synopsis

Creating a Request

data DeleteMember Source #

See: newDeleteMember smart constructor.

Constructors

DeleteMember' 

Fields

  • networkId :: Text

    The unique identifier of the network from which the member is removed.

  • memberId :: Text

    The unique identifier of the member to remove.

Instances

Instances details
ToHeaders DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

ToPath DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

ToQuery DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

AWSRequest DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Associated Types

type AWSResponse DeleteMember #

Generic DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Associated Types

type Rep DeleteMember :: Type -> Type #

Read DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Show DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

NFData DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Methods

rnf :: DeleteMember -> () #

Eq DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Hashable DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

type AWSResponse DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

type Rep DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

type Rep DeleteMember = D1 ('MetaData "DeleteMember" "Amazonka.ManagedBlockChain.DeleteMember" "amazonka-managedblockchain-2.0-7ETEoTxOH0EDuOBkhEvxdC" 'False) (C1 ('MetaCons "DeleteMember'" 'PrefixI 'True) (S1 ('MetaSel ('Just "networkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "memberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteMember Source #

Create a value of DeleteMember 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:

DeleteMember, deleteMember_networkId - The unique identifier of the network from which the member is removed.

DeleteMember, deleteMember_memberId - The unique identifier of the member to remove.

Request Lenses

deleteMember_networkId :: Lens' DeleteMember Text Source #

The unique identifier of the network from which the member is removed.

deleteMember_memberId :: Lens' DeleteMember Text Source #

The unique identifier of the member to remove.

Destructuring the Response

data DeleteMemberResponse Source #

See: newDeleteMemberResponse smart constructor.

Constructors

DeleteMemberResponse' 

Fields

Instances

Instances details
Generic DeleteMemberResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Associated Types

type Rep DeleteMemberResponse :: Type -> Type #

Read DeleteMemberResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Show DeleteMemberResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

NFData DeleteMemberResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Methods

rnf :: DeleteMemberResponse -> () #

Eq DeleteMemberResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

type Rep DeleteMemberResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

type Rep DeleteMemberResponse = D1 ('MetaData "DeleteMemberResponse" "Amazonka.ManagedBlockChain.DeleteMember" "amazonka-managedblockchain-2.0-7ETEoTxOH0EDuOBkhEvxdC" 'False) (C1 ('MetaCons "DeleteMemberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteMemberResponse Source #

Create a value of DeleteMemberResponse 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:DeleteMemberResponse', deleteMemberResponse_httpStatus - The response's http status code.

Response Lenses