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

  • isOwned :: Maybe Bool

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

  • maxResults :: Maybe Natural

    The maximum number of members to return in the request.

  • name :: Maybe Text

    The optional name of the member to list.

  • nextToken :: Maybe Text

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

  • status :: Maybe MemberStatus

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

  • networkId :: Text

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

Instances

Instances details
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

AWSRequest ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Associated Types

type AWSResponse ListMembers #

Generic ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Associated Types

type Rep ListMembers :: Type -> Type #

Read ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Show ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

NFData ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Methods

rnf :: ListMembers -> () #

Eq ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Hashable ListMembers Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

type AWSResponse 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" "amazonka-managedblockchain-2.0-7ETEoTxOH0EDuOBkhEvxdC" 'False) (C1 ('MetaCons "ListMembers'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "isOwned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MemberStatus)) :*: S1 ('MetaSel ('Just "networkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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:

ListMembers, listMembers_isOwned - An optional Boolean value. If provided, the request is limited either to members that the current Amazon Web Services account owns (true) or that other Amazon Web Services accountsn own (false). If omitted, all members are listed.

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

ListMembers, listMembers_name - The optional name of the member to list.

ListMembers, listMembers_nextToken - The pagination token that indicates the next set of results to retrieve.

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

ListMembers, listMembers_networkId - The unique identifier of the network for which to list members.

Request Lenses

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

An optional Boolean value. If provided, the request is limited either to members that the current Amazon Web Services account owns (true) or that other Amazon Web Services accountsn 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_name :: Lens' ListMembers (Maybe Text) Source #

The optional name of the member to list.

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

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

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

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

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
Generic ListMembersResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Associated Types

type Rep ListMembersResponse :: Type -> Type #

Read ListMembersResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Show ListMembersResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

NFData ListMembersResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

Methods

rnf :: ListMembersResponse -> () #

Eq ListMembersResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

type Rep ListMembersResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListMembers

type Rep ListMembersResponse = D1 ('MetaData "ListMembersResponse" "Amazonka.ManagedBlockChain.ListMembers" "amazonka-managedblockchain-2.0-7ETEoTxOH0EDuOBkhEvxdC" '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.

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.