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

Description

Returns a list of the members in a network and properties of their configurations.

Applies only to Hyperledger Fabric.

Synopsis

Creating a Request

data ListMembers Source #

See: newListMembers smart constructor.

Constructors

ListMembers' 

Fields

  • status :: Maybe MemberStatus

    An optional status specifier. If provided, only members currently in this status are listed.

  • nextToken :: Maybe Text

    The pagination token that indicates the next set of results to retrieve.

  • name :: Maybe Text

    The optional name of the member to list.

  • isOwned :: Maybe Bool

    An optional Boolean value. If provided, the request is limited either to members that the current AWS account owns (true) or that other AWS accounts own (false). If omitted, all members are listed.

  • maxResults :: Maybe Natural

    The maximum number of members to return in the request.

  • networkId :: Text

    The unique identifier of the network for which to list members.

Instances

Instances details
Eq ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Read ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Show ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Generic ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Associated Types

type Rep ListMembers :: Type -> Type #

NFData ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Methods

rnf :: ListMembers -> () #

Hashable ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

AWSRequest ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Associated Types

type AWSResponse ListMembers #

ToHeaders ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Methods

toHeaders :: ListMembers -> [Header] #

ToPath ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

ToQuery ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

type Rep ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

type Rep ListMembers = D1 ('MetaData "ListMembers" "Amazonka.ManagedBlockChain.ListMembers" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "ListMembers'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MemberStatus)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "isOwned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "networkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

newListMembers Source #

Create a value of ListMembers 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:status:ListMembers', listMembers_status - An optional status specifier. If provided, only members currently in this status are listed.

$sel:nextToken:ListMembers', listMembers_nextToken - The pagination token that indicates the next set of results to retrieve.

$sel:name:ListMembers', listMembers_name - The optional name of the member to list.

$sel:isOwned:ListMembers', listMembers_isOwned - An optional Boolean value. If provided, the request is limited either to members that the current AWS account owns (true) or that other AWS accounts own (false). If omitted, all members are listed.

$sel:maxResults:ListMembers', listMembers_maxResults - The maximum number of members to return in the request.

$sel:networkId:ListMembers', listMembers_networkId - The unique identifier of the network for which to list members.

Request Lenses

listMembers_status :: Lens' ListMembers (Maybe MemberStatus) Source #

An optional status specifier. If provided, only members currently in this status are listed.

listMembers_nextToken :: Lens' ListMembers (Maybe Text) Source #

The pagination token that indicates the next set of results to retrieve.

listMembers_name :: Lens' ListMembers (Maybe Text) Source #

The optional name of the member to list.

listMembers_isOwned :: Lens' ListMembers (Maybe Bool) Source #

An optional Boolean value. If provided, the request is limited either to members that the current AWS account owns (true) or that other AWS accounts own (false). If omitted, all members are listed.

listMembers_maxResults :: Lens' ListMembers (Maybe Natural) Source #

The maximum number of members to return in the request.

listMembers_networkId :: Lens' ListMembers Text Source #

The unique identifier of the network for which to list members.

Destructuring the Response

data ListMembersResponse Source #

See: newListMembersResponse smart constructor.

Constructors

ListMembersResponse' 

Fields

Instances

Instances details
Eq ListMembersResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Read ListMembersResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Show ListMembersResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Generic ListMembersResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Associated Types

type Rep ListMembersResponse :: Type -> Type #

NFData ListMembersResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Methods

rnf :: ListMembersResponse -> () #

type Rep ListMembersResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

type Rep ListMembersResponse = D1 ('MetaData "ListMembersResponse" "Amazonka.ManagedBlockChain.ListMembers" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "ListMembersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "members") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MemberSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListMembersResponse Source #

Create a value of ListMembersResponse 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:members:ListMembersResponse', listMembersResponse_members - An array of MemberSummary objects. Each object contains details about a network member.

$sel:nextToken:ListMembers', listMembersResponse_nextToken - The pagination token that indicates the next set of results to retrieve.

$sel:httpStatus:ListMembersResponse', listMembersResponse_httpStatus - The response's http status code.

Response Lenses

listMembersResponse_members :: Lens' ListMembersResponse (Maybe [MemberSummary]) Source #

An array of MemberSummary objects. Each object contains details about a network member.

listMembersResponse_nextToken :: Lens' ListMembersResponse (Maybe Text) Source #

The pagination token that indicates the next set of results to retrieve.