libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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 AWS 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 AWS 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
Eq DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Read DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Show DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Generic DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Associated Types

type Rep DeleteMember :: Type -> Type #

NFData DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Methods

rnf :: DeleteMember -> () #

Hashable DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

AWSRequest DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Associated Types

type AWSResponse DeleteMember #

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

type Rep DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

type Rep DeleteMember = D1 ('MetaData "DeleteMember" "Amazonka.ManagedBlockChain.DeleteMember" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "DeleteMember'" 'PrefixI 'True) (S1 ('MetaSel ('Just "networkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "memberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

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:

$sel:networkId:DeleteMember', deleteMember_networkId - The unique identifier of the network from which the member is removed.

$sel:memberId: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
Eq DeleteMemberResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Read DeleteMemberResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Show DeleteMemberResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Generic DeleteMemberResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Associated Types

type Rep DeleteMemberResponse :: Type -> Type #

NFData DeleteMemberResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

Methods

rnf :: DeleteMemberResponse -> () #

type Rep DeleteMemberResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.DeleteMember

type Rep DeleteMemberResponse = D1 ('MetaData "DeleteMemberResponse" "Amazonka.ManagedBlockChain.DeleteMember" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" '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