Skip to content

aws.managedblockchain.list_members

Example SQL Queries

SELECT * FROM
aws.managedblockchain.list_members
WHERE
"network_id" = 'VALUE';

Description

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

Applies only to Hyperledger Fabric.

Table Definition

Column NameColumn Data Type
network_id Required Input Column

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

VARCHAR
is_owned Input Column

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.

BOOLEAN
max_results Input Column

The maximum number of members to return in the request.

BIGINT
name Input Column

The optional name of the member to list.

VARCHAR
next_token Input Column

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

VARCHAR
status Input Column

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

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
members

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

STRUCT(
"id" VARCHAR,
"name" VARCHAR,
"description" VARCHAR,
"status" VARCHAR,
"creation_date" TIMESTAMP_S,
"is_owned" BOOLEAN,
"arn" VARCHAR
)[]
Show child fields
members[]
Show child fields
members[].arn

The Amazon Resource Name (ARN) of the member. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

members[].creation_date

The date and time that the member was created.

members[].description

An optional description of the member.

members[].id

The unique identifier of the member.

members[].is_owned

An indicator of whether the member is owned by your Amazon Web Services account or a different Amazon Web Services account.

members[].name

The name of the member.

members[].status

The status of the member.

  • CREATING - The Amazon Web Services account is in the process of creating a member.

  • AVAILABLE - The member has been created and can participate in the network.

  • CREATE_FAILED - The Amazon Web Services account attempted to create a member and creation failed.

  • UPDATING - The member is in the process of being updated.

  • DELETING - The member and all associated resources are in the process of being deleted. Either the Amazon Web Services account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.

  • DELETED - The member can no longer participate on the network and all associated resources are deleted. Either the Amazon Web Services account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.

  • INACCESSIBLE_ENCRYPTION_KEY - The member is impaired and might not function as expected because it cannot access the specified customer managed key in Key Management Service (KMS) for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.

    The effect of disabling or deleting a key or of revoking a grant isn't immediate. It might take some time for the member resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.