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.CreateMember

Description

Creates a member within a Managed Blockchain network.

Applies only to Hyperledger Fabric.

Synopsis

Creating a Request

data CreateMember Source #

See: newCreateMember smart constructor.

Constructors

CreateMember' 

Fields

  • clientRequestToken :: Text

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an AWS SDK or the AWS CLI.

  • invitationId :: Text

    The unique identifier of the invitation that is sent to the member to join the network.

  • networkId :: Text

    The unique identifier of the network in which the member is created.

  • memberConfiguration :: MemberConfiguration

    Member configuration parameters.

Instances

Instances details
Eq CreateMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateMember

Show CreateMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateMember

Generic CreateMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateMember

Associated Types

type Rep CreateMember :: Type -> Type #

NFData CreateMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateMember

Methods

rnf :: CreateMember -> () #

Hashable CreateMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateMember

ToJSON CreateMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateMember

AWSRequest CreateMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateMember

Associated Types

type AWSResponse CreateMember #

ToHeaders CreateMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateMember

ToPath CreateMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateMember

ToQuery CreateMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateMember

type Rep CreateMember Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateMember

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

Defined in Amazonka.ManagedBlockChain.CreateMember

newCreateMember Source #

Create a value of CreateMember 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:clientRequestToken:CreateMember', createMember_clientRequestToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an AWS SDK or the AWS CLI.

$sel:invitationId:CreateMember', createMember_invitationId - The unique identifier of the invitation that is sent to the member to join the network.

$sel:networkId:CreateMember', createMember_networkId - The unique identifier of the network in which the member is created.

$sel:memberConfiguration:CreateMember', createMember_memberConfiguration - Member configuration parameters.

Request Lenses

createMember_clientRequestToken :: Lens' CreateMember Text Source #

A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an AWS SDK or the AWS CLI.

createMember_invitationId :: Lens' CreateMember Text Source #

The unique identifier of the invitation that is sent to the member to join the network.

createMember_networkId :: Lens' CreateMember Text Source #

The unique identifier of the network in which the member is created.

Destructuring the Response

data CreateMemberResponse Source #

See: newCreateMemberResponse smart constructor.

Constructors

CreateMemberResponse' 

Fields

Instances

Instances details
Eq CreateMemberResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateMember

Read CreateMemberResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateMember

Show CreateMemberResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateMember

Generic CreateMemberResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateMember

Associated Types

type Rep CreateMemberResponse :: Type -> Type #

NFData CreateMemberResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateMember

Methods

rnf :: CreateMemberResponse -> () #

type Rep CreateMemberResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateMember

type Rep CreateMemberResponse = D1 ('MetaData "CreateMemberResponse" "Amazonka.ManagedBlockChain.CreateMember" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "CreateMemberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "memberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateMemberResponse Source #

Create a value of CreateMemberResponse 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:memberId:CreateMemberResponse', createMemberResponse_memberId - The unique identifier of the member.

$sel:httpStatus:CreateMemberResponse', createMemberResponse_httpStatus - The response's http status code.

Response Lenses

createMemberResponse_memberId :: Lens' CreateMemberResponse (Maybe Text) Source #

The unique identifier of the member.