Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Member = Member' {
- arn :: Maybe Text
- creationDate :: Maybe ISO8601
- description :: Maybe Text
- frameworkAttributes :: Maybe MemberFrameworkAttributes
- id :: Maybe Text
- kmsKeyArn :: Maybe Text
- logPublishingConfiguration :: Maybe MemberLogPublishingConfiguration
- name :: Maybe Text
- networkId :: Maybe Text
- status :: Maybe MemberStatus
- tags :: Maybe (HashMap Text Text)
- newMember :: Member
- member_arn :: Lens' Member (Maybe Text)
- member_creationDate :: Lens' Member (Maybe UTCTime)
- member_description :: Lens' Member (Maybe Text)
- member_frameworkAttributes :: Lens' Member (Maybe MemberFrameworkAttributes)
- member_id :: Lens' Member (Maybe Text)
- member_kmsKeyArn :: Lens' Member (Maybe Text)
- member_logPublishingConfiguration :: Lens' Member (Maybe MemberLogPublishingConfiguration)
- member_name :: Lens' Member (Maybe Text)
- member_networkId :: Lens' Member (Maybe Text)
- member_status :: Lens' Member (Maybe MemberStatus)
- member_tags :: Lens' Member (Maybe (HashMap Text Text))
Documentation
Member configuration properties.
Applies only to Hyperledger Fabric.
See: newMember
smart constructor.
Member' | |
|
Instances
Create a value of Member
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:arn:Member'
, member_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.
$sel:creationDate:Member'
, member_creationDate
- The date and time that the member was created.
$sel:description:Member'
, member_description
- An optional description for the member.
$sel:frameworkAttributes:Member'
, member_frameworkAttributes
- Attributes relevant to a member for the blockchain framework that the
Managed Blockchain network uses.
$sel:id:Member'
, member_id
- The unique identifier of the member.
$sel:kmsKeyArn:Member'
, member_kmsKeyArn
- The Amazon Resource Name (ARN) of the customer managed key in Key
Management Service (KMS) that the member uses for encryption at rest. If
the value of this parameter is "AWS Owned KMS Key"
, the member uses
an Amazon Web Services owned KMS key for encryption. This parameter is
inherited by the nodes that this member owns.
For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
$sel:logPublishingConfiguration:Member'
, member_logPublishingConfiguration
- Configuration properties for logging events associated with a member.
$sel:name:Member'
, member_name
- The name of the member.
$sel:networkId:Member'
, member_networkId
- The unique identifier of the network to which the member belongs.
$sel:status:Member'
, member_status
- The status of a 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 anAPPROVED
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 anAPPROVED
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 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.
$sel:tags:Member'
, member_tags
- Tags assigned to the member. Tags consist of a key and optional value.
For more information about tags, see
Tagging Resources
in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
member_arn :: Lens' Member (Maybe Text) Source #
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.
member_creationDate :: Lens' Member (Maybe UTCTime) Source #
The date and time that the member was created.
member_frameworkAttributes :: Lens' Member (Maybe MemberFrameworkAttributes) Source #
Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.
member_kmsKeyArn :: Lens' Member (Maybe Text) Source #
The Amazon Resource Name (ARN) of the customer managed key in Key
Management Service (KMS) that the member uses for encryption at rest. If
the value of this parameter is "AWS Owned KMS Key"
, the member uses
an Amazon Web Services owned KMS key for encryption. This parameter is
inherited by the nodes that this member owns.
For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
member_logPublishingConfiguration :: Lens' Member (Maybe MemberLogPublishingConfiguration) Source #
Configuration properties for logging events associated with a member.
member_networkId :: Lens' Member (Maybe Text) Source #
The unique identifier of the network to which the member belongs.
member_status :: Lens' Member (Maybe MemberStatus) Source #
The status of a 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 anAPPROVED
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 anAPPROVED
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 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.
member_tags :: Lens' Member (Maybe (HashMap Text Text)) Source #
Tags assigned to the member. Tags consist of a key and optional value. For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.