diff --git a/clients/client-managedblockchain/src/ManagedBlockchain.ts b/clients/client-managedblockchain/src/ManagedBlockchain.ts index 31777949a0e1..29d3d4b398e4 100644 --- a/clients/client-managedblockchain/src/ManagedBlockchain.ts +++ b/clients/client-managedblockchain/src/ManagedBlockchain.ts @@ -97,17 +97,12 @@ import { ManagedBlockchainClient } from "./ManagedBlockchainClient"; /** *
*Amazon Managed Blockchain is a fully managed service for creating and managing blockchain networks using open-source frameworks. Blockchain allows you to build applications where multiple parties can securely and transparently run transactions and share data without the need for a trusted, central authority.
- *Managed Blockchain supports the Hyperledger Fabric and Ethereum open-source frameworks. Because of fundamental differences between the frameworks, some API actions or data types may only apply in the context of one framework and not the other. For example, actions related to Hyperledger Fabric network members such as CreateMember
and DeleteMember
don't apply to Ethereum.
The description for each action indicates the framework or frameworks to which it applies. Data types and properties that apply only in the context of a particular framework are similarly indicated.
+ *Managed Blockchain supports the Hyperledger Fabric and Ethereum open-source frameworks. Because of fundamental differences between the frameworks, some API actions or data types may only apply in the context of one framework and not the other. For example, actions related to Hyperledger Fabric network members such as CreateMember
and DeleteMember
don't apply to Ethereum.
The description for each action indicates the framework or frameworks to which it applies. Data types and properties that apply only in the context of a particular framework are similarly indicated.
*/ export class ManagedBlockchain extends ManagedBlockchainClient { /** - *The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is - * subject to change. We recommend that you use this feature only with - * test scenarios, and not in production environments.
- *Creates a new accessor for use with Managed Blockchain Ethereum nodes. An accessor object is a container that has the information + *
Creates a new accessor for use with Managed Blockchain Ethereum nodes. An accessor contains information * required for token based access to your Ethereum nodes.
*/ public createAccessor( @@ -263,12 +258,7 @@ export class ManagedBlockchain extends ManagedBlockchainClient { } /** - *The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is - * subject to change. We recommend that you use this feature only with - * test scenarios, and not in production environments.
- *Deletes an accessor that your Amazon Web Services account owns. An accessor object is a container that has the + *
Deletes an accessor that your Amazon Web Services account owns. An accessor object is a container that has the
* information required for token based access to your Ethereum nodes including, the
* The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is
- * subject to change. We recommend that you use this feature only with
- * test scenarios, and not in production environments.BILLING_TOKEN
. After an accessor is deleted, the status of the accessor changes
* from AVAILABLE
to PENDING_DELETION
. An accessor in the
@@ -363,12 +353,7 @@ export class ManagedBlockchain extends ManagedBlockchainClient {
}
/**
- *
Returns detailed information about an accessor. An accessor object is a container that has the + *
Returns detailed information about an accessor. An accessor object is a container that has the * information required for token based access to your Ethereum nodes.
*/ public getAccessor(args: GetAccessorCommandInput, options?: __HttpHandlerOptions): PromiseThe token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is - * subject to change. We recommend that you use this feature only with - * test scenarios, and not in production environments.
- *Returns a list of the accessors and their properties. Accessor objects are containers that have the + *
Returns a list of the accessors and their properties. Accessor objects are containers that have the * information required for token based access to your Ethereum nodes.
*/ public listAccessors( diff --git a/clients/client-managedblockchain/src/ManagedBlockchainClient.ts b/clients/client-managedblockchain/src/ManagedBlockchainClient.ts index fae67759026f..3319b61e9eca 100644 --- a/clients/client-managedblockchain/src/ManagedBlockchainClient.ts +++ b/clients/client-managedblockchain/src/ManagedBlockchainClient.ts @@ -297,8 +297,8 @@ export interface ManagedBlockchainClientResolvedConfig extends ManagedBlockchain /** * *Amazon Managed Blockchain is a fully managed service for creating and managing blockchain networks using open-source frameworks. Blockchain allows you to build applications where multiple parties can securely and transparently run transactions and share data without the need for a trusted, central authority.
- *Managed Blockchain supports the Hyperledger Fabric and Ethereum open-source frameworks. Because of fundamental differences between the frameworks, some API actions or data types may only apply in the context of one framework and not the other. For example, actions related to Hyperledger Fabric network members such as CreateMember
and DeleteMember
don't apply to Ethereum.
The description for each action indicates the framework or frameworks to which it applies. Data types and properties that apply only in the context of a particular framework are similarly indicated.
+ *Managed Blockchain supports the Hyperledger Fabric and Ethereum open-source frameworks. Because of fundamental differences between the frameworks, some API actions or data types may only apply in the context of one framework and not the other. For example, actions related to Hyperledger Fabric network members such as CreateMember
and DeleteMember
don't apply to Ethereum.
The description for each action indicates the framework or frameworks to which it applies. Data types and properties that apply only in the context of a particular framework are similarly indicated.
*/ export class ManagedBlockchainClient extends __Client< __HttpHandlerOptions, diff --git a/clients/client-managedblockchain/src/commands/CreateAccessorCommand.ts b/clients/client-managedblockchain/src/commands/CreateAccessorCommand.ts index bbb6aed12b98..bd6fb8ac87ee 100644 --- a/clients/client-managedblockchain/src/commands/CreateAccessorCommand.ts +++ b/clients/client-managedblockchain/src/commands/CreateAccessorCommand.ts @@ -39,12 +39,7 @@ export interface CreateAccessorCommandInput extends CreateAccessorInput {} export interface CreateAccessorCommandOutput extends CreateAccessorOutput, __MetadataBearer {} /** - *The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is - * subject to change. We recommend that you use this feature only with - * test scenarios, and not in production environments.
- *Creates a new accessor for use with Managed Blockchain Ethereum nodes. An accessor object is a container that has the information + *
Creates a new accessor for use with Managed Blockchain Ethereum nodes. An accessor contains information * required for token based access to your Ethereum nodes.
* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-managedblockchain/src/commands/DeleteAccessorCommand.ts b/clients/client-managedblockchain/src/commands/DeleteAccessorCommand.ts index 607f910d48a8..46bae027d0ad 100644 --- a/clients/client-managedblockchain/src/commands/DeleteAccessorCommand.ts +++ b/clients/client-managedblockchain/src/commands/DeleteAccessorCommand.ts @@ -39,12 +39,7 @@ export interface DeleteAccessorCommandInput extends DeleteAccessorInput {} export interface DeleteAccessorCommandOutput extends DeleteAccessorOutput, __MetadataBearer {} /** - *The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is - * subject to change. We recommend that you use this feature only with - * test scenarios, and not in production environments.
- *Deletes an accessor that your Amazon Web Services account owns. An accessor object is a container that has the + *
Deletes an accessor that your Amazon Web Services account owns. An accessor object is a container that has the
* information required for token based access to your Ethereum nodes including, the
* The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is
- * subject to change. We recommend that you use this feature only with
- * test scenarios, and not in production environments.BILLING_TOKEN
. After an accessor is deleted, the status of the accessor changes
* from AVAILABLE
to PENDING_DELETION
. An accessor in the
diff --git a/clients/client-managedblockchain/src/commands/GetAccessorCommand.ts b/clients/client-managedblockchain/src/commands/GetAccessorCommand.ts
index 9501201e158e..7383cc939566 100644
--- a/clients/client-managedblockchain/src/commands/GetAccessorCommand.ts
+++ b/clients/client-managedblockchain/src/commands/GetAccessorCommand.ts
@@ -39,12 +39,7 @@ export interface GetAccessorCommandInput extends GetAccessorInput {}
export interface GetAccessorCommandOutput extends GetAccessorOutput, __MetadataBearer {}
/**
- *
Returns detailed information about an accessor. An accessor object is a container that has the + *
Returns detailed information about an accessor. An accessor object is a container that has the * information required for token based access to your Ethereum nodes.
* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-managedblockchain/src/commands/ListAccessorsCommand.ts b/clients/client-managedblockchain/src/commands/ListAccessorsCommand.ts index 2233f935e3ee..8fa7cf7a764c 100644 --- a/clients/client-managedblockchain/src/commands/ListAccessorsCommand.ts +++ b/clients/client-managedblockchain/src/commands/ListAccessorsCommand.ts @@ -39,12 +39,7 @@ export interface ListAccessorsCommandInput extends ListAccessorsInput {} export interface ListAccessorsCommandOutput extends ListAccessorsOutput, __MetadataBearer {} /** - *The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is - * subject to change. We recommend that you use this feature only with - * test scenarios, and not in production environments.
- *Returns a list of the accessors and their properties. Accessor objects are containers that have the + *
Returns a list of the accessors and their properties. Accessor objects are containers that have the * information required for token based access to your Ethereum nodes.
* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-managedblockchain/src/endpoint/ruleset.ts b/clients/client-managedblockchain/src/endpoint/ruleset.ts index c322e9e1780b..d534b48e5a28 100644 --- a/clients/client-managedblockchain/src/endpoint/ruleset.ts +++ b/clients/client-managedblockchain/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@aws-sdk/util-endpoints"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/managedblockchain.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://managedblockchain-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://managedblockchain-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://managedblockchain.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://managedblockchain.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://managedblockchain-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://managedblockchain-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://managedblockchain.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://managedblockchain.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-managedblockchain/src/models/models_0.ts b/clients/client-managedblockchain/src/models/models_0.ts index ea12d283a52b..e8741b0f9b71 100644 --- a/clients/client-managedblockchain/src/models/models_0.ts +++ b/clients/client-managedblockchain/src/models/models_0.ts @@ -35,12 +35,7 @@ export enum AccessorType { } /** - *The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is - * subject to change. We recommend that you use this feature only with - * test scenarios, and not in production environments.
- *The properties of the Accessor.
+ *The properties of the Accessor.
*/ export interface Accessor { /** @@ -79,15 +74,16 @@ export interface Accessor { * Names (ARNs) in the Amazon Web Services General Reference. */ Arn?: string; + + /** + *The tags assigned to the Accessor.
+ *For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
+ */ + Tags?: RecordThe token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is - * subject to change. We recommend that you use this feature only with - * test scenarios, and not in production environments.
- *A summary of accessor properties.
+ *A summary of accessor properties.
*/ export interface AccessorSummary { /** @@ -164,6 +160,15 @@ export interface CreateAccessorInput { * */ AccessorType: AccessorType | string | undefined; + + /** + *Tags to assign to the Accessor.
+ *Each tag consists of a key and an optional value. You can specify + * multiple key-value pairs in a single request with an overall maximum of 50 tags + * allowed per resource.
+ *For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
+ */ + Tags?: RecordConfiguration properties for Hyperledger Fabric for a member in a Managed Blockchain network using the Hyperledger Fabric framework.
*/ @@ -376,8 +407,9 @@ export interface MemberConfiguration { LogPublishingConfiguration?: MemberLogPublishingConfiguration; /** - *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.
+ *Tags assigned to the member. Tags consist of a key and optional value.
*When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.
+ *For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
*/ Tags?: RecordTags to assign to the network. Each tag consists of a key and optional value.
- *When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.
+ *Tags to assign to the network.
+ *Each tag consists of a key and an optional value. You can specify + * multiple key-value pairs in a single request with an overall maximum of 50 tags + * allowed per resource.
*For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
*/ Tags?: RecordTags to assign to the node. Each tag consists of a key and optional value.
- *When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.
+ *Tags to assign to the node.
+ *Each tag consists of a key and an optional value. You can specify + * multiple key-value pairs in a single request with an overall maximum of 50 tags + * allowed per resource.
*For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
*/ Tags?: RecordTags to assign to the proposal. Each tag consists of a key and optional value.
- *When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource. If the proposal is for a network invitation, the invitation inherits the tags added to the proposal.
+ *Tags to assign to the proposal.
+ *Each tag consists of a key and an optional value. You can specify + * multiple key-value pairs in a single request with an overall maximum of 50 tags + * allowed per resource.
*For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
*/ Tags?: RecordTags 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.
+ *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 Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
*/ Tags?: RecordYou don't have sufficient access to perform this action.
", - "smithy.api#error": "client", - "smithy.api#httpError": 403 - } - }, - "com.amazonaws.managedblockchain#Accessor": { - "type": "structure", - "members": { - "Id": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the accessor.
" - } - }, - "Type": { - "target": "com.amazonaws.managedblockchain#AccessorType", - "traits": { - "smithy.api#documentation": "The type of the accessor.
\nCurrently accessor type is restricted to BILLING_TOKEN
.
The billing token is a property of the accessor. Use this token to make Ethereum API calls to your \n Ethereum node. The billing token is used to track your accessor object for billing Ethereum API \n requests made to your Ethereum nodes.
" - } - }, - "Status": { - "target": "com.amazonaws.managedblockchain#AccessorStatus", - "traits": { - "smithy.api#documentation": "The current status of the accessor.
" - } - }, - "CreationDate": { - "target": "com.amazonaws.managedblockchain#Timestamp", - "traits": { - "smithy.api#documentation": "The creation date and time of the accessor.
" - } - }, - "Arn": { - "target": "com.amazonaws.managedblockchain#ArnString", - "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the accessor. For more information about \n ARNs and their format, see Amazon Resource \n Names (ARNs) in the Amazon Web Services General Reference.
" - } - } - }, - "traits": { - "smithy.api#documentation": "The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is \n subject to change. We recommend that you use this feature only with \n test scenarios, and not in production environments.
\nThe properties of the Accessor.
" - } - }, - "com.amazonaws.managedblockchain#AccessorBillingTokenString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 42, - "max": 42 - } - } - }, - "com.amazonaws.managedblockchain#AccessorListMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.managedblockchain#AccessorStatus": { - "type": "enum", - "members": { - "AVAILABLE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AVAILABLE" - } - }, - "PENDING_DELETION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PENDING_DELETION" - } - }, - "DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETED" - } - } - } - }, - "com.amazonaws.managedblockchain#AccessorSummary": { - "type": "structure", - "members": { - "Id": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the accessor.
" - } - }, - "Type": { - "target": "com.amazonaws.managedblockchain#AccessorType", - "traits": { - "smithy.api#documentation": "The type of the accessor.
\nCurrently accessor type is restricted to BILLING_TOKEN
.
The current status of the accessor.
" - } - }, - "CreationDate": { - "target": "com.amazonaws.managedblockchain#Timestamp", - "traits": { - "smithy.api#documentation": "The creation date and time of the accessor.
" - } - }, - "Arn": { - "target": "com.amazonaws.managedblockchain#ArnString", - "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the accessor. For more information about \n ARNs and their format, see Amazon Resource \n Names (ARNs) in the Amazon Web Services General Reference.
" - } - } - }, - "traits": { - "smithy.api#documentation": "The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is \n subject to change. We recommend that you use this feature only with \n test scenarios, and not in production environments.
\nA summary of accessor properties.
" - } - }, - "com.amazonaws.managedblockchain#AccessorSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.managedblockchain#AccessorSummary" - } - }, - "com.amazonaws.managedblockchain#AccessorType": { - "type": "enum", - "members": { - "BILLING_TOKEN": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BILLING_TOKEN" - } - } - } - }, - "com.amazonaws.managedblockchain#ApprovalThresholdPolicy": { - "type": "structure", - "members": { - "ThresholdPercentage": { - "target": "com.amazonaws.managedblockchain#ThresholdPercentageInt", - "traits": { - "smithy.api#documentation": "The percentage of votes among all members that must be YES
for a proposal to be approved. For example, a ThresholdPercentage
value of 50
indicates 50%. The ThresholdComparator
determines the precise comparison. If a ThresholdPercentage
value of 50
is specified on a network with 10 members, along with a ThresholdComparator
value of GREATER_THAN
, this indicates that 6 YES
votes are required for the proposal to be approved.
The duration from the time that a proposal is created until it expires. If members cast neither the required number of YES
votes to approve the proposal nor the number of NO
votes required to reject it before the duration expires, the proposal is EXPIRED
and ProposalActions
aren't carried out.
Determines whether the vote percentage must be greater than the ThresholdPercentage
or must be greater than or equal to the ThreholdPercentage
to be approved.
A policy type that defines the voting rules for the network. The rules decide if a proposal is approved. Approval may be based on criteria such as the percentage of YES
votes and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.
Applies only to Hyperledger Fabric.
" - } + "smithy": "2.0", + "metadata": { + "suppressions": [ + { + "id": "HttpMethodSemantics", + "namespace": "*" + }, + { + "id": "HttpResponseCodeSemantics", + "namespace": "*" + }, + { + "id": "PaginatedTrait", + "namespace": "*" + }, + { + "id": "HttpHeaderTrait", + "namespace": "*" + }, + { + "id": "HttpUriConflict", + "namespace": "*" + }, + { + "id": "Service", + "namespace": "*" + } + ] + }, + "shapes": { + "com.amazonaws.managedblockchain#AccessDeniedException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.managedblockchain#String" + } + }, + "traits": { + "smithy.api#documentation": "You don't have sufficient access to perform this action.
", + "smithy.api#error": "client", + "smithy.api#httpError": 403 + } + }, + "com.amazonaws.managedblockchain#Accessor": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the accessor.
" + } + }, + "Type": { + "target": "com.amazonaws.managedblockchain#AccessorType", + "traits": { + "smithy.api#documentation": "The type of the accessor.
\nCurrently accessor type is restricted to BILLING_TOKEN
.
The billing token is a property of the accessor. Use this token to make Ethereum API calls to your \n Ethereum node. The billing token is used to track your accessor object for billing Ethereum API \n requests made to your Ethereum nodes.
" + } + }, + "Status": { + "target": "com.amazonaws.managedblockchain#AccessorStatus", + "traits": { + "smithy.api#documentation": "The current status of the accessor.
" + } + }, + "CreationDate": { + "target": "com.amazonaws.managedblockchain#Timestamp", + "traits": { + "smithy.api#documentation": "The creation date and time of the accessor.
" + } + }, + "Arn": { + "target": "com.amazonaws.managedblockchain#ArnString", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the accessor. For more information about \n ARNs and their format, see Amazon Resource \n Names (ARNs) in the Amazon Web Services General Reference.
" + } + }, + "Tags": { + "target": "com.amazonaws.managedblockchain#OutputTagMap", + "traits": { + "smithy.api#documentation": "The tags assigned to the Accessor.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The properties of the Accessor.
" + } + }, + "com.amazonaws.managedblockchain#AccessorBillingTokenString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 42, + "max": 42 + } + } + }, + "com.amazonaws.managedblockchain#AccessorListMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 50 + } + } + }, + "com.amazonaws.managedblockchain#AccessorStatus": { + "type": "enum", + "members": { + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVAILABLE" + } + }, + "PENDING_DELETION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING_DELETION" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + } + } + }, + "com.amazonaws.managedblockchain#AccessorSummary": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the accessor.
" + } + }, + "Type": { + "target": "com.amazonaws.managedblockchain#AccessorType", + "traits": { + "smithy.api#documentation": "The type of the accessor.
\nCurrently accessor type is restricted to BILLING_TOKEN
.
The current status of the accessor.
" + } + }, + "CreationDate": { + "target": "com.amazonaws.managedblockchain#Timestamp", + "traits": { + "smithy.api#documentation": "The creation date and time of the accessor.
" + } + }, + "Arn": { + "target": "com.amazonaws.managedblockchain#ArnString", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the accessor. For more information about \n ARNs and their format, see Amazon Resource \n Names (ARNs) in the Amazon Web Services General Reference.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A summary of accessor properties.
" + } + }, + "com.amazonaws.managedblockchain#AccessorSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.managedblockchain#AccessorSummary" + } + }, + "com.amazonaws.managedblockchain#AccessorType": { + "type": "enum", + "members": { + "BILLING_TOKEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BILLING_TOKEN" + } + } + } + }, + "com.amazonaws.managedblockchain#ApprovalThresholdPolicy": { + "type": "structure", + "members": { + "ThresholdPercentage": { + "target": "com.amazonaws.managedblockchain#ThresholdPercentageInt", + "traits": { + "smithy.api#documentation": "The percentage of votes among all members that must be YES
for a proposal to be approved. For example, a ThresholdPercentage
value of 50
indicates 50%. The ThresholdComparator
determines the precise comparison. If a ThresholdPercentage
value of 50
is specified on a network with 10 members, along with a ThresholdComparator
value of GREATER_THAN
, this indicates that 6 YES
votes are required for the proposal to be approved.
The duration from the time that a proposal is created until it expires. If members cast neither the required number of YES
votes to approve the proposal nor the number of NO
votes required to reject it before the duration expires, the proposal is EXPIRED
and ProposalActions
aren't carried out.
Determines whether the vote percentage must be greater than the ThresholdPercentage
or must be greater than or equal to the ThreholdPercentage
to be approved.
A policy type that defines the voting rules for the network. The rules decide if a proposal is approved. Approval may be based on criteria such as the percentage of YES
votes and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.
Applies only to Hyperledger Fabric.
" + } + }, + "com.amazonaws.managedblockchain#ArnString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1011 + }, + "smithy.api#pattern": "^arn:.+:.+:.+:.+:.+$" + } + }, + "com.amazonaws.managedblockchain#AvailabilityZoneString": { + "type": "string" + }, + "com.amazonaws.managedblockchain#ClientRequestTokenString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + } + } + }, + "com.amazonaws.managedblockchain#CreateAccessor": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#CreateAccessorInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#CreateAccessorOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceAlreadyExistsException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceLimitExceededException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + }, + { + "target": "com.amazonaws.managedblockchain#TooManyTagsException" + } + ], + "traits": { + "smithy.api#documentation": "Creates a new accessor for use with Managed Blockchain Ethereum nodes. An accessor contains information \n required for token based access to your Ethereum nodes.
", + "smithy.api#http": { + "method": "POST", + "uri": "/accessors", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#CreateAccessorInput": { + "type": "structure", + "members": { + "ClientRequestToken": { + "target": "com.amazonaws.managedblockchain#ClientRequestTokenString", + "traits": { + "smithy.api#documentation": "This is a unique, case-sensitive identifier that you provide to ensure the idempotency of \n the operation. An idempotent operation completes no more than once. This \n identifier is required only if you make a service request directly using \n an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the \n Amazon Web Services CLI.
", + "smithy.api#idempotencyToken": {}, + "smithy.api#required": {} + } + }, + "AccessorType": { + "target": "com.amazonaws.managedblockchain#AccessorType", + "traits": { + "smithy.api#documentation": "The type of accessor.
\nCurrently accessor type is restricted to BILLING_TOKEN
.
Tags to assign to the Accessor.
\nEach tag consists of a key and an optional value. You can specify \n multiple key-value pairs in a single request with an overall maximum of 50 tags \n allowed per resource.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#CreateAccessorOutput": { + "type": "structure", + "members": { + "AccessorId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the accessor.
" + } + }, + "BillingToken": { + "target": "com.amazonaws.managedblockchain#AccessorBillingTokenString", + "traits": { + "smithy.api#documentation": "The billing token is a property of the Accessor. Use this token to make Ethereum API calls to\n your Ethereum node. The billing token is used to track your accessor object for billing Ethereum \n API requests made to your Ethereum nodes.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#CreateMember": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#CreateMemberInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#CreateMemberOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" }, - "com.amazonaws.managedblockchain#ArnString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1011 - }, - "smithy.api#pattern": "^arn:.+:.+:.+:.+:.+$" - } + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" }, - "com.amazonaws.managedblockchain#AvailabilityZoneString": { - "type": "string" + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" }, - "com.amazonaws.managedblockchain#ClientRequestTokenString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 64 - } - } + { + "target": "com.amazonaws.managedblockchain#ResourceAlreadyExistsException" }, - "com.amazonaws.managedblockchain#CreateAccessor": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#CreateAccessorInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#CreateAccessorOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceAlreadyExistsException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceLimitExceededException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is \n subject to change. We recommend that you use this feature only with \n test scenarios, and not in production environments.
\nCreates a new accessor for use with Managed Blockchain Ethereum nodes. An accessor object is a container that has the information \n required for token based access to your Ethereum nodes.
", - "smithy.api#http": { - "method": "POST", - "uri": "/accessors", - "code": 200 - } - } + { + "target": "com.amazonaws.managedblockchain#ResourceLimitExceededException" }, - "com.amazonaws.managedblockchain#CreateAccessorInput": { - "type": "structure", - "members": { - "ClientRequestToken": { - "target": "com.amazonaws.managedblockchain#ClientRequestTokenString", - "traits": { - "smithy.api#documentation": "This is a unique, case-sensitive identifier that you provide to ensure the idempotency of \n the operation. An idempotent operation completes no more than once. This \n identifier is required only if you make a service request directly using \n an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the \n Amazon Web Services CLI.
", - "smithy.api#idempotencyToken": {}, - "smithy.api#required": {} - } - }, - "AccessorType": { - "target": "com.amazonaws.managedblockchain#AccessorType", - "traits": { - "smithy.api#documentation": "The type of accessor.
\nCurrently accessor type is restricted to BILLING_TOKEN
.
The unique identifier of the accessor.
" - } - }, - "BillingToken": { - "target": "com.amazonaws.managedblockchain#AccessorBillingTokenString", - "traits": { - "smithy.api#documentation": "The billing token is a property of the Accessor. Use this token to make Ethereum API calls to\n your Ethereum node. The billing token is used to track your accessor object for billing Ethereum \n API requests made to your Ethereum nodes.
" - } - } - } + { + "target": "com.amazonaws.managedblockchain#ResourceNotReadyException" }, - "com.amazonaws.managedblockchain#CreateMember": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#CreateMemberInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#CreateMemberOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceAlreadyExistsException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceLimitExceededException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotReadyException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - }, - { - "target": "com.amazonaws.managedblockchain#TooManyTagsException" - } - ], - "traits": { - "smithy.api#documentation": "Creates a member within a Managed Blockchain network.
\nApplies only to Hyperledger Fabric.
", - "smithy.api#http": { - "method": "POST", - "uri": "/networks/{NetworkId}/members", - "code": 200 - } - } + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" }, - "com.amazonaws.managedblockchain#CreateMemberInput": { - "type": "structure", - "members": { - "ClientRequestToken": { - "target": "com.amazonaws.managedblockchain#ClientRequestTokenString", - "traits": { - "smithy.api#documentation": "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 Amazon Web Services SDK or the CLI.
", - "smithy.api#idempotencyToken": {}, - "smithy.api#required": {} - } - }, - "InvitationId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the invitation that is sent to the member to join the network.
", - "smithy.api#required": {} - } - }, - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the network in which the member is created.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MemberConfiguration": { - "target": "com.amazonaws.managedblockchain#MemberConfiguration", - "traits": { - "smithy.api#documentation": "Member configuration parameters.
", - "smithy.api#required": {} - } - } - } + { + "target": "com.amazonaws.managedblockchain#TooManyTagsException" + } + ], + "traits": { + "smithy.api#documentation": "Creates a member within a Managed Blockchain network.
\nApplies only to Hyperledger Fabric.
", + "smithy.api#http": { + "method": "POST", + "uri": "/networks/{NetworkId}/members", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#CreateMemberInput": { + "type": "structure", + "members": { + "ClientRequestToken": { + "target": "com.amazonaws.managedblockchain#ClientRequestTokenString", + "traits": { + "smithy.api#documentation": "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 Amazon Web Services SDK or the CLI.
", + "smithy.api#idempotencyToken": {}, + "smithy.api#required": {} + } + }, + "InvitationId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the invitation that is sent to the member to join the network.
", + "smithy.api#required": {} + } + }, + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the network in which the member is created.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "MemberConfiguration": { + "target": "com.amazonaws.managedblockchain#MemberConfiguration", + "traits": { + "smithy.api#documentation": "Member configuration parameters.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#CreateMemberOutput": { + "type": "structure", + "members": { + "MemberId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the member.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#CreateNetwork": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#CreateNetworkInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#CreateNetworkOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceAlreadyExistsException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceLimitExceededException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + }, + { + "target": "com.amazonaws.managedblockchain#TooManyTagsException" + } + ], + "traits": { + "smithy.api#documentation": "Creates a new blockchain network using Amazon Managed Blockchain.
\nApplies only to Hyperledger Fabric.
", + "smithy.api#http": { + "method": "POST", + "uri": "/networks", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#CreateNetworkInput": { + "type": "structure", + "members": { + "ClientRequestToken": { + "target": "com.amazonaws.managedblockchain#ClientRequestTokenString", + "traits": { + "smithy.api#documentation": "This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the\n operation. An idempotent operation completes no more than once. This identifier is required only \n if you make a service request directly using an HTTP client. It is generated automatically if you \n use an Amazon Web Services SDK or the Amazon Web Services CLI.\n
", + "smithy.api#idempotencyToken": {}, + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.managedblockchain#NameString", + "traits": { + "smithy.api#documentation": "The name of the network.
", + "smithy.api#required": {} + } + }, + "Description": { + "target": "com.amazonaws.managedblockchain#DescriptionString", + "traits": { + "smithy.api#documentation": "An optional description for the network.
" + } + }, + "Framework": { + "target": "com.amazonaws.managedblockchain#Framework", + "traits": { + "smithy.api#documentation": "The blockchain framework that the network uses.
", + "smithy.api#required": {} + } + }, + "FrameworkVersion": { + "target": "com.amazonaws.managedblockchain#FrameworkVersionString", + "traits": { + "smithy.api#documentation": "The version of the blockchain framework that the network uses.
", + "smithy.api#required": {} + } + }, + "FrameworkConfiguration": { + "target": "com.amazonaws.managedblockchain#NetworkFrameworkConfiguration", + "traits": { + "smithy.api#documentation": "\n Configuration properties of the blockchain framework relevant to the network configuration.\n
" + } + }, + "VotingPolicy": { + "target": "com.amazonaws.managedblockchain#VotingPolicy", + "traits": { + "smithy.api#documentation": "\n The voting rules used by the network to determine if a proposal is approved.\n
", + "smithy.api#required": {} + } + }, + "MemberConfiguration": { + "target": "com.amazonaws.managedblockchain#MemberConfiguration", + "traits": { + "smithy.api#documentation": "Configuration properties for the first member within the network.
", + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.managedblockchain#InputTagMap", + "traits": { + "smithy.api#documentation": "Tags to assign to the network.
\nEach tag consists of a key and an optional value. You can specify \n multiple key-value pairs in a single request with an overall maximum of 50 tags \n allowed per resource.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#CreateNetworkOutput": { + "type": "structure", + "members": { + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier for the network.
" + } + }, + "MemberId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier for the first member within the network.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#CreateNode": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#CreateNodeInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#CreateNodeOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" }, - "com.amazonaws.managedblockchain#CreateMemberOutput": { - "type": "structure", - "members": { - "MemberId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the member.
" - } - } - } + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" }, - "com.amazonaws.managedblockchain#CreateNetwork": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#CreateNetworkInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#CreateNetworkOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceAlreadyExistsException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceLimitExceededException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - }, - { - "target": "com.amazonaws.managedblockchain#TooManyTagsException" - } - ], - "traits": { - "smithy.api#documentation": "Creates a new blockchain network using Amazon Managed Blockchain.
\nApplies only to Hyperledger Fabric.
", - "smithy.api#http": { - "method": "POST", - "uri": "/networks", - "code": 200 - } - } + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" }, - "com.amazonaws.managedblockchain#CreateNetworkInput": { - "type": "structure", - "members": { - "ClientRequestToken": { - "target": "com.amazonaws.managedblockchain#ClientRequestTokenString", - "traits": { - "smithy.api#documentation": "This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the\n operation. An idempotent operation completes no more than once. This identifier is required only \n if you make a service request directly using an HTTP client. It is generated automatically if you \n use an Amazon Web Services SDK or the Amazon Web Services CLI.\n
", - "smithy.api#idempotencyToken": {}, - "smithy.api#required": {} - } - }, - "Name": { - "target": "com.amazonaws.managedblockchain#NameString", - "traits": { - "smithy.api#documentation": "The name of the network.
", - "smithy.api#required": {} - } - }, - "Description": { - "target": "com.amazonaws.managedblockchain#DescriptionString", - "traits": { - "smithy.api#documentation": "An optional description for the network.
" - } - }, - "Framework": { - "target": "com.amazonaws.managedblockchain#Framework", - "traits": { - "smithy.api#documentation": "The blockchain framework that the network uses.
", - "smithy.api#required": {} - } - }, - "FrameworkVersion": { - "target": "com.amazonaws.managedblockchain#FrameworkVersionString", - "traits": { - "smithy.api#documentation": "The version of the blockchain framework that the network uses.
", - "smithy.api#required": {} - } - }, - "FrameworkConfiguration": { - "target": "com.amazonaws.managedblockchain#NetworkFrameworkConfiguration", - "traits": { - "smithy.api#documentation": "\n Configuration properties of the blockchain framework relevant to the network configuration.\n
" - } - }, - "VotingPolicy": { - "target": "com.amazonaws.managedblockchain#VotingPolicy", - "traits": { - "smithy.api#documentation": "\n The voting rules used by the network to determine if a proposal is approved.\n
", - "smithy.api#required": {} - } - }, - "MemberConfiguration": { - "target": "com.amazonaws.managedblockchain#MemberConfiguration", - "traits": { - "smithy.api#documentation": "Configuration properties for the first member within the network.
", - "smithy.api#required": {} - } - }, - "Tags": { - "target": "com.amazonaws.managedblockchain#InputTagMap", - "traits": { - "smithy.api#documentation": "Tags to assign to the network. Each tag consists of a key and optional value.
\nWhen specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
" - } - } - } + { + "target": "com.amazonaws.managedblockchain#ResourceAlreadyExistsException" }, - "com.amazonaws.managedblockchain#CreateNetworkOutput": { - "type": "structure", - "members": { - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier for the network.
" - } - }, - "MemberId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier for the first member within the network.
" - } - } - } + { + "target": "com.amazonaws.managedblockchain#ResourceLimitExceededException" }, - "com.amazonaws.managedblockchain#CreateNode": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#CreateNodeInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#CreateNodeOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceAlreadyExistsException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceLimitExceededException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotReadyException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - }, - { - "target": "com.amazonaws.managedblockchain#TooManyTagsException" - } - ], - "traits": { - "smithy.api#documentation": "Creates a node on the specified blockchain network.
\nApplies to Hyperledger Fabric and Ethereum.
", - "smithy.api#http": { - "method": "POST", - "uri": "/networks/{NetworkId}/nodes", - "code": 200 - } - } + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" }, - "com.amazonaws.managedblockchain#CreateNodeInput": { - "type": "structure", - "members": { - "ClientRequestToken": { - "target": "com.amazonaws.managedblockchain#ClientRequestTokenString", - "traits": { - "smithy.api#documentation": "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 Amazon Web Services SDK or the CLI.
", - "smithy.api#idempotencyToken": {}, - "smithy.api#required": {} - } - }, - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the network for the node.
\nEthereum public networks have the following NetworkId
s:
\n n-ethereum-mainnet
\n
\n n-ethereum-goerli
\n
\n n-ethereum-rinkeby
\n
\n n-ethereum-ropsten
\n
The unique identifier of the member that owns this node.
\nApplies only to Hyperledger Fabric.
" - } - }, - "NodeConfiguration": { - "target": "com.amazonaws.managedblockchain#NodeConfiguration", - "traits": { - "smithy.api#documentation": "The properties of a node configuration.
", - "smithy.api#required": {} - } - }, - "Tags": { - "target": "com.amazonaws.managedblockchain#InputTagMap", - "traits": { - "smithy.api#documentation": "Tags to assign to the node. Each tag consists of a key and optional value.
\nWhen specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
" - } - } - } + { + "target": "com.amazonaws.managedblockchain#ResourceNotReadyException" }, - "com.amazonaws.managedblockchain#CreateNodeOutput": { - "type": "structure", - "members": { - "NodeId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the node.
" - } - } - } + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" }, - "com.amazonaws.managedblockchain#CreateProposal": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#CreateProposalInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#CreateProposalOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotReadyException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - }, - { - "target": "com.amazonaws.managedblockchain#TooManyTagsException" - } - ], - "traits": { - "smithy.api#documentation": "Creates a proposal for a change to the network that other members of the network can vote on, for example, a proposal to add a new member to the network. Any member can create a proposal.
\nApplies only to Hyperledger Fabric.
", - "smithy.api#http": { - "method": "POST", - "uri": "/networks/{NetworkId}/proposals", - "code": 200 - } - } - }, - "com.amazonaws.managedblockchain#CreateProposalInput": { - "type": "structure", - "members": { - "ClientRequestToken": { - "target": "com.amazonaws.managedblockchain#ClientRequestTokenString", - "traits": { - "smithy.api#documentation": "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 Amazon Web Services SDK or the CLI.
", - "smithy.api#idempotencyToken": {}, - "smithy.api#required": {} - } - }, - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "\n The unique identifier of the network for which the proposal is made.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MemberId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the member that is creating the proposal. This \n identifier is especially useful for identifying the member making the proposal \n when multiple members exist in a single Amazon Web Services account.
", - "smithy.api#required": {} - } - }, - "Actions": { - "target": "com.amazonaws.managedblockchain#ProposalActions", - "traits": { - "smithy.api#documentation": "The type of actions proposed, such as inviting a member or removing a member. The types of Actions
in a proposal are mutually exclusive. For example, a proposal with Invitations
actions cannot also contain Removals
actions.
A description for the proposal that is visible to voting members, for example, \"Proposal to add Example Corp. as member.\"
" - } - }, - "Tags": { - "target": "com.amazonaws.managedblockchain#InputTagMap", - "traits": { - "smithy.api#documentation": "Tags to assign to the proposal. Each tag consists of a key and optional value.
\nWhen specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource. If the proposal is for a network invitation, the invitation inherits the tags added to the proposal.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
" - } - } - } - }, - "com.amazonaws.managedblockchain#CreateProposalOutput": { - "type": "structure", - "members": { - "ProposalId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the proposal.
" - } - } - } - }, - "com.amazonaws.managedblockchain#DeleteAccessor": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#DeleteAccessorInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#DeleteAccessorOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is \n subject to change. We recommend that you use this feature only with \n test scenarios, and not in production environments.
\nDeletes an accessor that your Amazon Web Services account owns. An accessor object is a container that has the \n information required for token based access to your Ethereum nodes including, the \n BILLING_TOKEN
. After an accessor is deleted, the status of the accessor changes \n from AVAILABLE
to PENDING_DELETION
. An accessor in the \n PENDING_DELETION
state can’t be used for new WebSocket requests or \n HTTP requests. However, WebSocket connections that were initiated while the accessor was in the \n AVAILABLE
state remain open until they expire (up to 2 hours).
The unique identifier of the accessor.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.managedblockchain#DeleteAccessorOutput": { - "type": "structure", - "members": {} - }, - "com.amazonaws.managedblockchain#DeleteMember": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#DeleteMemberInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#DeleteMemberOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotReadyException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "Deletes a member. Deleting a member removes the member and all associated resources from the network. DeleteMember
can only be called for a specified MemberId
if the principal performing the action is associated with the Amazon Web Services account that owns the member. In all other cases, the DeleteMember
action is carried out as the result of an approved proposal to remove a member. If MemberId
is the last member in a network specified by the last Amazon Web Services account, the network is deleted also.
Applies only to Hyperledger Fabric.
", - "smithy.api#http": { - "method": "DELETE", - "uri": "/networks/{NetworkId}/members/{MemberId}", - "code": 200 - } - } - }, - "com.amazonaws.managedblockchain#DeleteMemberInput": { - "type": "structure", - "members": { - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the network from which the member is removed.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MemberId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the member to remove.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.managedblockchain#DeleteMemberOutput": { - "type": "structure", - "members": {} - }, - "com.amazonaws.managedblockchain#DeleteNode": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#DeleteNodeInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#DeleteNodeOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotReadyException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "Deletes a node that your Amazon Web Services account owns. All data on the node is lost and cannot be recovered.
\nApplies to Hyperledger Fabric and Ethereum.
", - "smithy.api#http": { - "method": "DELETE", - "uri": "/networks/{NetworkId}/nodes/{NodeId}", - "code": 200 - } - } - }, - "com.amazonaws.managedblockchain#DeleteNodeInput": { - "type": "structure", - "members": { - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the network that the node is on.
\nEthereum public networks have the following NetworkId
s:
\n n-ethereum-mainnet
\n
\n n-ethereum-goerli
\n
\n n-ethereum-rinkeby
\n
\n n-ethereum-ropsten
\n
The unique identifier of the member that owns this node.
\nApplies only to Hyperledger Fabric and is required for Hyperledger Fabric.
", - "smithy.api#httpQuery": "memberId" - } - }, - "NodeId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the node.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.managedblockchain#DeleteNodeOutput": { - "type": "structure", - "members": {} - }, - "com.amazonaws.managedblockchain#DescriptionString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 128 - } - } - }, - "com.amazonaws.managedblockchain#Edition": { - "type": "enum", - "members": { - "STARTER": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STARTER" - } - }, - "STANDARD": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STANDARD" - } - } - } - }, - "com.amazonaws.managedblockchain#Enabled": { - "type": "boolean" - }, - "com.amazonaws.managedblockchain#ExceptionMessage": { - "type": "string" - }, - "com.amazonaws.managedblockchain#Framework": { - "type": "enum", - "members": { - "HYPERLEDGER_FABRIC": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "HYPERLEDGER_FABRIC" - } - }, - "ETHEREUM": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ETHEREUM" - } - } - } - }, - "com.amazonaws.managedblockchain#FrameworkVersionString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 8 - } - } - }, - "com.amazonaws.managedblockchain#GetAccessor": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#GetAccessorInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#GetAccessorOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is \n subject to change. We recommend that you use this feature only with \n test scenarios, and not in production environments.
\nReturns detailed information about an accessor. An accessor object is a container that has the \n information required for token based access to your Ethereum nodes.
", - "smithy.api#http": { - "method": "GET", - "uri": "/accessors/{AccessorId}", - "code": 200 - } - } - }, - "com.amazonaws.managedblockchain#GetAccessorInput": { - "type": "structure", - "members": { - "AccessorId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the accessor.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.managedblockchain#GetAccessorOutput": { - "type": "structure", - "members": { - "Accessor": { - "target": "com.amazonaws.managedblockchain#Accessor", - "traits": { - "smithy.api#documentation": "The properties of the accessor.
" - } - } - } - }, - "com.amazonaws.managedblockchain#GetMember": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#GetMemberInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#GetMemberOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "Returns detailed information about a member.
\nApplies only to Hyperledger Fabric.
", - "smithy.api#http": { - "method": "GET", - "uri": "/networks/{NetworkId}/members/{MemberId}", - "code": 200 - } - } - }, - "com.amazonaws.managedblockchain#GetMemberInput": { - "type": "structure", - "members": { - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the network to which the member belongs.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MemberId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the member.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.managedblockchain#GetMemberOutput": { - "type": "structure", - "members": { - "Member": { - "target": "com.amazonaws.managedblockchain#Member", - "traits": { - "smithy.api#documentation": "The properties of a member.
" - } - } - } - }, - "com.amazonaws.managedblockchain#GetNetwork": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#GetNetworkInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#GetNetworkOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "Returns detailed information about a network.
\nApplies to Hyperledger Fabric and Ethereum.
", - "smithy.api#http": { - "method": "GET", - "uri": "/networks/{NetworkId}", - "code": 200 - } - } - }, - "com.amazonaws.managedblockchain#GetNetworkInput": { - "type": "structure", - "members": { - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the network to get information about.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.managedblockchain#GetNetworkOutput": { - "type": "structure", - "members": { - "Network": { - "target": "com.amazonaws.managedblockchain#Network", - "traits": { - "smithy.api#documentation": "An object containing network configuration parameters.
" - } - } - } - }, - "com.amazonaws.managedblockchain#GetNode": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#GetNodeInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#GetNodeOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "Returns detailed information about a node.
\nApplies to Hyperledger Fabric and Ethereum.
", - "smithy.api#http": { - "method": "GET", - "uri": "/networks/{NetworkId}/nodes/{NodeId}", - "code": 200 - } - } - }, - "com.amazonaws.managedblockchain#GetNodeInput": { - "type": "structure", - "members": { - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the network that the node is on.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MemberId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the member that owns the node.
\nApplies only to Hyperledger Fabric and is required for Hyperledger Fabric.
", - "smithy.api#httpQuery": "memberId" - } - }, - "NodeId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the node.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.managedblockchain#GetNodeOutput": { - "type": "structure", - "members": { - "Node": { - "target": "com.amazonaws.managedblockchain#Node", - "traits": { - "smithy.api#documentation": "Properties of the node configuration.
" - } - } - } - }, - "com.amazonaws.managedblockchain#GetProposal": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#GetProposalInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#GetProposalOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "Returns detailed information about a proposal.
\nApplies only to Hyperledger Fabric.
", - "smithy.api#http": { - "method": "GET", - "uri": "/networks/{NetworkId}/proposals/{ProposalId}", - "code": 200 - } - } - }, - "com.amazonaws.managedblockchain#GetProposalInput": { - "type": "structure", - "members": { - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the network for which the proposal is made.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ProposalId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the proposal.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.managedblockchain#GetProposalOutput": { - "type": "structure", - "members": { - "Proposal": { - "target": "com.amazonaws.managedblockchain#Proposal", - "traits": { - "smithy.api#documentation": "Information about a proposal.
" - } - } - } - }, - "com.amazonaws.managedblockchain#IllegalActionException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.managedblockchain#String" - } - }, - "traits": { - "smithy.api#documentation": "", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.managedblockchain#InputTagMap": { - "type": "map", - "key": { - "target": "com.amazonaws.managedblockchain#TagKey" - }, - "value": { - "target": "com.amazonaws.managedblockchain#TagValue" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 50 - } - } - }, - "com.amazonaws.managedblockchain#InstanceTypeString": { - "type": "string" - }, - "com.amazonaws.managedblockchain#InternalServiceErrorException": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "The request processing has failed because of an unknown error, exception or failure.
", - "smithy.api#error": "server", - "smithy.api#httpError": 500 - } - }, - "com.amazonaws.managedblockchain#InvalidRequestException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.managedblockchain#String" - } - }, - "traits": { - "smithy.api#documentation": "The action or operation requested is invalid. Verify that the action is typed correctly.
", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.managedblockchain#Invitation": { - "type": "structure", - "members": { - "InvitationId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier for the invitation.
" - } - }, - "CreationDate": { - "target": "com.amazonaws.managedblockchain#Timestamp", - "traits": { - "smithy.api#documentation": "The date and time that the invitation was created.
" - } - }, - "ExpirationDate": { - "target": "com.amazonaws.managedblockchain#Timestamp", - "traits": { - "smithy.api#documentation": "The date and time that the invitation expires. This is the CreationDate
plus the ProposalDurationInHours
that is specified in the ProposalThresholdPolicy
. After this date and time, the invitee can no longer create a member and join the network using this InvitationId
.
The status of the invitation:
\n\n PENDING
- The invitee hasn't created a member to join the network, and the invitation hasn't yet expired.
\n ACCEPTING
- The invitee has begun creating a member, and creation hasn't yet completed.
\n ACCEPTED
- The invitee created a member and joined the network using the InvitationID
.
\n REJECTED
- The invitee rejected the invitation.
\n EXPIRED
- The invitee neither created a member nor rejected the invitation before the ExpirationDate
.
The Amazon Resource Name (ARN) of the invitation. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
" - } - } - }, - "traits": { - "smithy.api#documentation": "An invitation to an Amazon Web Services account to create a member and join the network.
\nApplies only to Hyperledger Fabric.
" - } - }, - "com.amazonaws.managedblockchain#InvitationList": { - "type": "list", - "member": { - "target": "com.amazonaws.managedblockchain#Invitation" - } - }, - "com.amazonaws.managedblockchain#InvitationStatus": { - "type": "enum", - "members": { - "PENDING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PENDING" - } - }, - "ACCEPTED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACCEPTED" - } - }, - "ACCEPTING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACCEPTING" - } - }, - "REJECTED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "REJECTED" - } - }, - "EXPIRED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "EXPIRED" - } - } - } - }, - "com.amazonaws.managedblockchain#InviteAction": { - "type": "structure", - "members": { - "Principal": { - "target": "com.amazonaws.managedblockchain#PrincipalString", - "traits": { - "smithy.api#documentation": "The Amazon Web Services account ID to invite.
", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "An action to invite a specific Amazon Web Services account to create a member and join the network. The InviteAction
is carried out when a Proposal
is APPROVED
.
Applies only to Hyperledger Fabric.
" - } - }, - "com.amazonaws.managedblockchain#InviteActionList": { - "type": "list", - "member": { - "target": "com.amazonaws.managedblockchain#InviteAction" - } - }, - "com.amazonaws.managedblockchain#IsOwned": { - "type": "boolean" - }, - "com.amazonaws.managedblockchain#ListAccessors": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#ListAccessorsInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#ListAccessorsOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is \n subject to change. We recommend that you use this feature only with \n test scenarios, and not in production environments.
\nReturns a list of the accessors and their properties. Accessor objects are containers that have the \n information required for token based access to your Ethereum nodes.
", - "smithy.api#http": { - "method": "GET", - "uri": "/accessors", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "items": "Accessors", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.managedblockchain#ListAccessorsInput": { - "type": "structure", - "members": { - "MaxResults": { - "target": "com.amazonaws.managedblockchain#AccessorListMaxResults", - "traits": { - "smithy.api#documentation": "The maximum number of accessors to list.
", - "smithy.api#httpQuery": "maxResults" - } - }, - "NextToken": { - "target": "com.amazonaws.managedblockchain#PaginationToken", - "traits": { - "smithy.api#documentation": "The pagination token that indicates the next set of results to retrieve.
", - "smithy.api#httpQuery": "nextToken" - } - } - } - }, - "com.amazonaws.managedblockchain#ListAccessorsOutput": { - "type": "structure", - "members": { - "Accessors": { - "target": "com.amazonaws.managedblockchain#AccessorSummaryList", - "traits": { - "smithy.api#documentation": "An array of AccessorSummary objects that contain configuration properties for \n each accessor.
" - } - }, - "NextToken": { - "target": "com.amazonaws.managedblockchain#PaginationToken", - "traits": { - "smithy.api#documentation": "The pagination token that indicates the next set of results to retrieve.
" - } - } - } - }, - "com.amazonaws.managedblockchain#ListInvitations": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#ListInvitationsInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#ListInvitationsOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceLimitExceededException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "Returns a list of all invitations for the current Amazon Web Services account.
\nApplies only to Hyperledger Fabric.
", - "smithy.api#http": { - "method": "GET", - "uri": "/invitations", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.managedblockchain#ListInvitationsInput": { - "type": "structure", - "members": { - "MaxResults": { - "target": "com.amazonaws.managedblockchain#ProposalListMaxResults", - "traits": { - "smithy.api#documentation": "The maximum number of invitations to return.
", - "smithy.api#httpQuery": "maxResults" - } - }, - "NextToken": { - "target": "com.amazonaws.managedblockchain#PaginationToken", - "traits": { - "smithy.api#documentation": "The pagination token that indicates the next set of results to retrieve.
", - "smithy.api#httpQuery": "nextToken" - } - } - } - }, - "com.amazonaws.managedblockchain#ListInvitationsOutput": { - "type": "structure", - "members": { - "Invitations": { - "target": "com.amazonaws.managedblockchain#InvitationList", - "traits": { - "smithy.api#documentation": "The invitations for the network.
" - } - }, - "NextToken": { - "target": "com.amazonaws.managedblockchain#PaginationToken", - "traits": { - "smithy.api#documentation": "The pagination token that indicates the next set of results to retrieve.
" - } - } - } - }, - "com.amazonaws.managedblockchain#ListMembers": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#ListMembersInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#ListMembersOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "Returns a list of the members in a network and properties of their configurations.
\nApplies only to Hyperledger Fabric.
", - "smithy.api#http": { - "method": "GET", - "uri": "/networks/{NetworkId}/members", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.managedblockchain#ListMembersInput": { - "type": "structure", - "members": { - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the network for which to list members.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Name": { - "target": "com.amazonaws.managedblockchain#String", - "traits": { - "smithy.api#documentation": "The optional name of the member to list.
", - "smithy.api#httpQuery": "name" - } - }, - "Status": { - "target": "com.amazonaws.managedblockchain#MemberStatus", - "traits": { - "smithy.api#documentation": "An optional status specifier. If provided, only members currently in this status are listed.
", - "smithy.api#httpQuery": "status" - } - }, - "IsOwned": { - "target": "com.amazonaws.managedblockchain#IsOwned", - "traits": { - "smithy.api#documentation": "An optional Boolean value. If provided, the request is limited either to\n members that the current Amazon Web Services account owns (true
) or that other Amazon Web Services accountsn\n own (false
). If omitted, all members are listed.
The maximum number of members to return in the request.
", - "smithy.api#httpQuery": "maxResults" - } - }, - "NextToken": { - "target": "com.amazonaws.managedblockchain#PaginationToken", - "traits": { - "smithy.api#documentation": "The pagination token that indicates the next set of results to retrieve.
", - "smithy.api#httpQuery": "nextToken" - } - } - } - }, - "com.amazonaws.managedblockchain#ListMembersOutput": { - "type": "structure", - "members": { - "Members": { - "target": "com.amazonaws.managedblockchain#MemberSummaryList", - "traits": { - "smithy.api#documentation": "An array of MemberSummary
objects. Each object contains details about a network member.
The pagination token that indicates the next set of results to retrieve.
" - } - } - } - }, - "com.amazonaws.managedblockchain#ListNetworks": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#ListNetworksInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#ListNetworksOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "Returns information about the networks in which the current Amazon Web Services account participates.
\nApplies to Hyperledger Fabric and Ethereum.
", - "smithy.api#http": { - "method": "GET", - "uri": "/networks", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.managedblockchain#ListNetworksInput": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.managedblockchain#String", - "traits": { - "smithy.api#documentation": "The name of the network.
", - "smithy.api#httpQuery": "name" - } - }, - "Framework": { - "target": "com.amazonaws.managedblockchain#Framework", - "traits": { - "smithy.api#documentation": "An optional framework specifier. If provided, only networks of this framework type are listed.
", - "smithy.api#httpQuery": "framework" - } - }, - "Status": { - "target": "com.amazonaws.managedblockchain#NetworkStatus", - "traits": { - "smithy.api#documentation": "An optional status specifier. If provided, only networks currently in this status are listed.
\nApplies only to Hyperledger Fabric.
", - "smithy.api#httpQuery": "status" - } - }, - "MaxResults": { - "target": "com.amazonaws.managedblockchain#NetworkListMaxResults", - "traits": { - "smithy.api#documentation": "The maximum number of networks to list.
", - "smithy.api#httpQuery": "maxResults" - } - }, - "NextToken": { - "target": "com.amazonaws.managedblockchain#PaginationToken", - "traits": { - "smithy.api#documentation": "The pagination token that indicates the next set of results to retrieve.
", - "smithy.api#httpQuery": "nextToken" - } - } - } - }, - "com.amazonaws.managedblockchain#ListNetworksOutput": { - "type": "structure", - "members": { - "Networks": { - "target": "com.amazonaws.managedblockchain#NetworkSummaryList", - "traits": { - "smithy.api#documentation": "An array of NetworkSummary
objects that contain configuration properties for each network.
The pagination token that indicates the next set of results to retrieve.
" - } - } - } - }, - "com.amazonaws.managedblockchain#ListNodes": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#ListNodesInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#ListNodesOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "Returns information about the nodes within a network.
\nApplies to Hyperledger Fabric and Ethereum.
", - "smithy.api#http": { - "method": "GET", - "uri": "/networks/{NetworkId}/nodes", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.managedblockchain#ListNodesInput": { - "type": "structure", - "members": { - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the network for which to list nodes.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MemberId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the member who owns the nodes to list.
\nApplies only to Hyperledger Fabric and is required for Hyperledger Fabric.
", - "smithy.api#httpQuery": "memberId" - } - }, - "Status": { - "target": "com.amazonaws.managedblockchain#NodeStatus", - "traits": { - "smithy.api#documentation": "An optional status specifier. If provided, only nodes currently in this status are listed.
", - "smithy.api#httpQuery": "status" - } - }, - "MaxResults": { - "target": "com.amazonaws.managedblockchain#NodeListMaxResults", - "traits": { - "smithy.api#documentation": "The maximum number of nodes to list.
", - "smithy.api#httpQuery": "maxResults" - } - }, - "NextToken": { - "target": "com.amazonaws.managedblockchain#PaginationToken", - "traits": { - "smithy.api#documentation": "The pagination token that indicates the next set of results to retrieve.
", - "smithy.api#httpQuery": "nextToken" - } - } - } - }, - "com.amazonaws.managedblockchain#ListNodesOutput": { - "type": "structure", - "members": { - "Nodes": { - "target": "com.amazonaws.managedblockchain#NodeSummaryList", - "traits": { - "smithy.api#documentation": "An array of NodeSummary
objects that contain configuration properties for each node.
The pagination token that indicates the next set of results to retrieve.
" - } - } - } - }, - "com.amazonaws.managedblockchain#ListProposalVotes": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#ListProposalVotesInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#ListProposalVotesOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of the member that cast the vote.
\nApplies only to Hyperledger Fabric.
", - "smithy.api#http": { - "method": "GET", - "uri": "/networks/{NetworkId}/proposals/{ProposalId}/votes", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.managedblockchain#ListProposalVotesInput": { - "type": "structure", - "members": { - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "\n The unique identifier of the network.\n
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ProposalId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "\n The unique identifier of the proposal.\n
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MaxResults": { - "target": "com.amazonaws.managedblockchain#ProposalListMaxResults", - "traits": { - "smithy.api#documentation": "\n The maximum number of votes to return.\n
", - "smithy.api#httpQuery": "maxResults" - } - }, - "NextToken": { - "target": "com.amazonaws.managedblockchain#PaginationToken", - "traits": { - "smithy.api#documentation": "\n The pagination token that indicates the next set of results to retrieve.\n
", - "smithy.api#httpQuery": "nextToken" - } - } - } - }, - "com.amazonaws.managedblockchain#ListProposalVotesOutput": { - "type": "structure", - "members": { - "ProposalVotes": { - "target": "com.amazonaws.managedblockchain#ProposalVoteList", - "traits": { - "smithy.api#documentation": "\n The list of votes.\n
" - } - }, - "NextToken": { - "target": "com.amazonaws.managedblockchain#PaginationToken", - "traits": { - "smithy.api#documentation": "\n The pagination token that indicates the next set of results to retrieve.\n
" - } - } - } - }, - "com.amazonaws.managedblockchain#ListProposals": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#ListProposalsInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#ListProposalsOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "Returns a list of proposals for the network.
\nApplies only to Hyperledger Fabric.
", - "smithy.api#http": { - "method": "GET", - "uri": "/networks/{NetworkId}/proposals", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.managedblockchain#ListProposalsInput": { - "type": "structure", - "members": { - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "\n The unique identifier of the network.\n
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MaxResults": { - "target": "com.amazonaws.managedblockchain#ProposalListMaxResults", - "traits": { - "smithy.api#documentation": "\n The maximum number of proposals to return.\n
", - "smithy.api#httpQuery": "maxResults" - } - }, - "NextToken": { - "target": "com.amazonaws.managedblockchain#PaginationToken", - "traits": { - "smithy.api#documentation": "\n The pagination token that indicates the next set of results to retrieve.\n
", - "smithy.api#httpQuery": "nextToken" - } - } - } - }, - "com.amazonaws.managedblockchain#ListProposalsOutput": { - "type": "structure", - "members": { - "Proposals": { - "target": "com.amazonaws.managedblockchain#ProposalSummaryList", - "traits": { - "smithy.api#documentation": "The summary of each proposal made on the network.
" - } - }, - "NextToken": { - "target": "com.amazonaws.managedblockchain#PaginationToken", - "traits": { - "smithy.api#documentation": "The pagination token that indicates the next set of results to retrieve.
" - } - } - } - }, - "com.amazonaws.managedblockchain#ListTagsForResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#ListTagsForResourceRequest" - }, - "output": { - "target": "com.amazonaws.managedblockchain#ListTagsForResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotReadyException" - } - ], - "traits": { - "smithy.api#documentation": "Returns a list of tags for the specified resource. Each tag consists of a key and optional value.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
", - "smithy.api#http": { - "method": "GET", - "uri": "/tags/{ResourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.managedblockchain#ListTagsForResourceRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.managedblockchain#ArnString", - "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.managedblockchain#ListTagsForResourceResponse": { - "type": "structure", - "members": { - "Tags": { - "target": "com.amazonaws.managedblockchain#OutputTagMap", - "traits": { - "smithy.api#documentation": "The tags assigned to the resource.
" - } - } - } - }, - "com.amazonaws.managedblockchain#LogConfiguration": { - "type": "structure", - "members": { - "Enabled": { - "target": "com.amazonaws.managedblockchain#Enabled", - "traits": { - "smithy.api#documentation": "Indicates whether logging is enabled.
" - } - } - }, - "traits": { - "smithy.api#documentation": "A configuration for logging events.
" - } - }, - "com.amazonaws.managedblockchain#LogConfigurations": { - "type": "structure", - "members": { - "Cloudwatch": { - "target": "com.amazonaws.managedblockchain#LogConfiguration", - "traits": { - "smithy.api#documentation": "Parameters for publishing logs to Amazon CloudWatch Logs.
" - } - } - }, - "traits": { - "smithy.api#documentation": "A collection of log configurations.
" - } - }, - "com.amazonaws.managedblockchain#Member": { - "type": "structure", - "members": { - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the network to which the member belongs.
" - } - }, - "Id": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the member.
" - } - }, - "Name": { - "target": "com.amazonaws.managedblockchain#NetworkMemberNameString", - "traits": { - "smithy.api#documentation": "The name of the member.
" - } - }, - "Description": { - "target": "com.amazonaws.managedblockchain#DescriptionString", - "traits": { - "smithy.api#documentation": "An optional description for the member.
" - } - }, - "FrameworkAttributes": { - "target": "com.amazonaws.managedblockchain#MemberFrameworkAttributes", - "traits": { - "smithy.api#documentation": "Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.
" - } - }, - "LogPublishingConfiguration": { - "target": "com.amazonaws.managedblockchain#MemberLogPublishingConfiguration", - "traits": { - "smithy.api#documentation": "Configuration properties for logging events associated with a member.
" - } - }, - "Status": { - "target": "com.amazonaws.managedblockchain#MemberStatus", - "traits": { - "smithy.api#documentation": "The status of a member.
\n\n CREATING
- The Amazon Web Services account is in the process of creating a member.
\n AVAILABLE
- The member has been created and can participate in the network.
\n CREATE_FAILED
- The Amazon Web Services account attempted to create a member and creation failed.
\n UPDATING
- The member is in the process of being updated.
\n 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
\n PROPOSAL
to remove the member.
\n 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
\n PROPOSAL
to remove the member.
\n 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.
\nThe date and time that the member was created.
" - } - }, - "Tags": { - "target": "com.amazonaws.managedblockchain#OutputTagMap", - "traits": { - "smithy.api#documentation": "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.
" - } - }, - "Arn": { - "target": "com.amazonaws.managedblockchain#ArnString", - "traits": { - "smithy.api#documentation": "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.
" - } - }, - "KmsKeyArn": { - "target": "com.amazonaws.managedblockchain#String", - "traits": { - "smithy.api#documentation": "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.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Member configuration properties.
\nApplies only to Hyperledger Fabric.
" - } - }, - "com.amazonaws.managedblockchain#MemberConfiguration": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.managedblockchain#NetworkMemberNameString", - "traits": { - "smithy.api#documentation": "The name of the member.
", - "smithy.api#required": {} - } - }, - "Description": { - "target": "com.amazonaws.managedblockchain#DescriptionString", - "traits": { - "smithy.api#documentation": "An optional description of the member.
" - } - }, - "FrameworkConfiguration": { - "target": "com.amazonaws.managedblockchain#MemberFrameworkConfiguration", - "traits": { - "smithy.api#documentation": "Configuration properties of the blockchain framework relevant to the member.
", - "smithy.api#required": {} - } - }, - "LogPublishingConfiguration": { - "target": "com.amazonaws.managedblockchain#MemberLogPublishingConfiguration", - "traits": { - "smithy.api#documentation": "Configuration properties for logging events associated with a member of a Managed Blockchain network.
" - } - }, - "Tags": { - "target": "com.amazonaws.managedblockchain#InputTagMap", - "traits": { - "smithy.api#documentation": "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.
\nWhen specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.
" - } - }, - "KmsKeyArn": { - "target": "com.amazonaws.managedblockchain#ArnString", - "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) to use for encryption at rest in the member. This parameter is inherited by any nodes that this member creates. For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
\nUse one of the following options to specify this parameter:
\n\n Undefined or empty string - By default, use an KMS key that is owned and managed by Amazon Web Services on your behalf.
\n\n A valid symmetric customer managed KMS key - Use the specified KMS key in your account that you create, own, and manage.
\nAmazon Managed Blockchain doesn't support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the Key Management Service Developer Guide.
\nThe following is an example of a KMS key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
\n
Configuration properties of the member.
\nApplies only to Hyperledger Fabric.
" - } - }, - "com.amazonaws.managedblockchain#MemberFabricAttributes": { - "type": "structure", - "members": { - "AdminUsername": { - "target": "com.amazonaws.managedblockchain#UsernameString", - "traits": { - "smithy.api#documentation": "The user name for the initial administrator user for the member.
" - } - }, - "CaEndpoint": { - "target": "com.amazonaws.managedblockchain#String", - "traits": { - "smithy.api#documentation": "The endpoint used to access the member's certificate authority.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Attributes of Hyperledger Fabric for a member in a Managed Blockchain network using the Hyperledger Fabric framework.
" - } - }, - "com.amazonaws.managedblockchain#MemberFabricConfiguration": { - "type": "structure", - "members": { - "AdminUsername": { - "target": "com.amazonaws.managedblockchain#UsernameString", - "traits": { - "smithy.api#documentation": "The user name for the member's initial administrative user.
", - "smithy.api#required": {} - } - }, - "AdminPassword": { - "target": "com.amazonaws.managedblockchain#PasswordString", - "traits": { - "smithy.api#documentation": "The password for the member's initial administrative user. The AdminPassword
must be at least eight characters long and no more than 32 characters. It must contain at least one uppercase letter, one lowercase letter, and one digit. It cannot have a single quotation mark (‘), a double quotation marks (“), a forward slash(/), a backward slash(\\), @, or a space.
Configuration properties for Hyperledger Fabric for a member in a Managed Blockchain network using the Hyperledger Fabric framework.
" - } - }, - "com.amazonaws.managedblockchain#MemberFabricLogPublishingConfiguration": { - "type": "structure", - "members": { - "CaLogs": { - "target": "com.amazonaws.managedblockchain#LogConfigurations", - "traits": { - "smithy.api#documentation": "Configuration properties for logging events associated with a member's Certificate Authority (CA). CA logs help you determine when a member in your account joins the network, or when new peers register with a member CA.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Configuration properties for logging events associated with a member of a Managed Blockchain network using the Hyperledger Fabric framework.
" - } - }, - "com.amazonaws.managedblockchain#MemberFrameworkAttributes": { - "type": "structure", - "members": { - "Fabric": { - "target": "com.amazonaws.managedblockchain#MemberFabricAttributes", - "traits": { - "smithy.api#documentation": "Attributes of Hyperledger Fabric relevant to a member on a Managed Blockchain network that uses Hyperledger Fabric.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.
" - } - }, - "com.amazonaws.managedblockchain#MemberFrameworkConfiguration": { - "type": "structure", - "members": { - "Fabric": { - "target": "com.amazonaws.managedblockchain#MemberFabricConfiguration", - "traits": { - "smithy.api#documentation": "Attributes of Hyperledger Fabric for a member on a Managed Blockchain network that uses Hyperledger Fabric.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Configuration properties relevant to a member for the blockchain framework that the Managed Blockchain network uses.
" - } - }, - "com.amazonaws.managedblockchain#MemberListMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 20 - } - } - }, - "com.amazonaws.managedblockchain#MemberLogPublishingConfiguration": { - "type": "structure", - "members": { - "Fabric": { - "target": "com.amazonaws.managedblockchain#MemberFabricLogPublishingConfiguration", - "traits": { - "smithy.api#documentation": "Configuration properties for logging events associated with a member of a Managed Blockchain network using the Hyperledger Fabric framework.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Configuration properties for logging events associated with a member of a Managed Blockchain network.
" - } - }, - "com.amazonaws.managedblockchain#MemberStatus": { - "type": "enum", - "members": { - "CREATING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATING" - } - }, - "AVAILABLE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AVAILABLE" - } - }, - "CREATE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_FAILED" - } - }, - "UPDATING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UPDATING" - } - }, - "DELETING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETING" - } - }, - "DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETED" - } - }, - "INACCESSIBLE_ENCRYPTION_KEY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INACCESSIBLE_ENCRYPTION_KEY" - } - } - } - }, - "com.amazonaws.managedblockchain#MemberSummary": { - "type": "structure", - "members": { - "Id": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the member.
" - } - }, - "Name": { - "target": "com.amazonaws.managedblockchain#NetworkMemberNameString", - "traits": { - "smithy.api#documentation": "The name of the member.
" - } - }, - "Description": { - "target": "com.amazonaws.managedblockchain#DescriptionString", - "traits": { - "smithy.api#documentation": "An optional description of the member.
" - } - }, - "Status": { - "target": "com.amazonaws.managedblockchain#MemberStatus", - "traits": { - "smithy.api#documentation": "The status of the member.
\n\n CREATING
- The Amazon Web Services account is in the process of creating a member.
\n AVAILABLE
- The member has been created and can participate in the network.
\n CREATE_FAILED
- The Amazon Web Services account attempted to create a member and creation failed.
\n UPDATING
- The member is in the process of being updated.
\n 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
\n PROPOSAL
to remove the member.
\n 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
\n PROPOSAL
to remove the member.
\n 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.
\nThe date and time that the member was created.
" - } - }, - "IsOwned": { - "target": "com.amazonaws.managedblockchain#IsOwned", - "traits": { - "smithy.api#documentation": "An indicator of whether the member is owned by your Amazon Web Services account or a different Amazon Web Services account.
" - } - }, - "Arn": { - "target": "com.amazonaws.managedblockchain#ArnString", - "traits": { - "smithy.api#documentation": "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.
" - } - } - }, - "traits": { - "smithy.api#documentation": "A summary of configuration properties for a member.
\nApplies only to Hyperledger Fabric.
" - } - }, - "com.amazonaws.managedblockchain#MemberSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.managedblockchain#MemberSummary" - } - }, - "com.amazonaws.managedblockchain#NameString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 64 - }, - "smithy.api#pattern": "\\S" - } - }, - "com.amazonaws.managedblockchain#Network": { - "type": "structure", - "members": { - "Id": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the network.
" - } - }, - "Name": { - "target": "com.amazonaws.managedblockchain#NameString", - "traits": { - "smithy.api#documentation": "The name of the network.
" - } - }, - "Description": { - "target": "com.amazonaws.managedblockchain#DescriptionString", - "traits": { - "smithy.api#documentation": "Attributes of the blockchain framework for the network.
" - } - }, - "Framework": { - "target": "com.amazonaws.managedblockchain#Framework", - "traits": { - "smithy.api#documentation": "The blockchain framework that the network uses.
" - } - }, - "FrameworkVersion": { - "target": "com.amazonaws.managedblockchain#FrameworkVersionString", - "traits": { - "smithy.api#documentation": "The version of the blockchain framework that the network uses.
" - } - }, - "FrameworkAttributes": { - "target": "com.amazonaws.managedblockchain#NetworkFrameworkAttributes", - "traits": { - "smithy.api#documentation": "Attributes of the blockchain framework that the network uses.
" - } - }, - "VpcEndpointServiceName": { - "target": "com.amazonaws.managedblockchain#String", - "traits": { - "smithy.api#documentation": "The VPC endpoint service name of the VPC endpoint service of the network. Members use the VPC endpoint service name to create a VPC endpoint to access network resources.
" - } - }, - "VotingPolicy": { - "target": "com.amazonaws.managedblockchain#VotingPolicy", - "traits": { - "smithy.api#documentation": "The voting rules for the network to decide if a proposal is accepted.
" - } - }, - "Status": { - "target": "com.amazonaws.managedblockchain#NetworkStatus", - "traits": { - "smithy.api#documentation": "The current status of the network.
" - } - }, - "CreationDate": { - "target": "com.amazonaws.managedblockchain#Timestamp", - "traits": { - "smithy.api#documentation": "The date and time that the network was created.
" - } - }, - "Tags": { - "target": "com.amazonaws.managedblockchain#OutputTagMap", - "traits": { - "smithy.api#documentation": "Tags assigned to the network. Each tag consists of a key and optional value.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
" - } - }, - "Arn": { - "target": "com.amazonaws.managedblockchain#ArnString", - "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Network configuration properties.
" - } - }, - "com.amazonaws.managedblockchain#NetworkEthereumAttributes": { - "type": "structure", - "members": { - "ChainId": { - "target": "com.amazonaws.managedblockchain#String", - "traits": { - "smithy.api#documentation": "The Ethereum CHAIN_ID
associated with the Ethereum network. Chain IDs are as follows:
mainnet = 1
\n
goerli = 5
\n
rinkeby = 4
\n
ropsten = 3
\n
Attributes of Ethereum for a network.
" - } - }, - "com.amazonaws.managedblockchain#NetworkFabricAttributes": { - "type": "structure", - "members": { - "OrderingServiceEndpoint": { - "target": "com.amazonaws.managedblockchain#String", - "traits": { - "smithy.api#documentation": "The endpoint of the ordering service for the network.
" - } - }, - "Edition": { - "target": "com.amazonaws.managedblockchain#Edition", - "traits": { - "smithy.api#documentation": "The edition of Amazon Managed Blockchain that Hyperledger Fabric uses. For more information, see Amazon Managed Blockchain Pricing.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Attributes of Hyperledger Fabric for a network.
" - } - }, - "com.amazonaws.managedblockchain#NetworkFabricConfiguration": { - "type": "structure", - "members": { - "Edition": { - "target": "com.amazonaws.managedblockchain#Edition", - "traits": { - "smithy.api#documentation": "The edition of Amazon Managed Blockchain that the network uses. For more information, see Amazon Managed Blockchain Pricing.
", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Hyperledger Fabric configuration properties for the network.
" - } - }, - "com.amazonaws.managedblockchain#NetworkFrameworkAttributes": { - "type": "structure", - "members": { - "Fabric": { - "target": "com.amazonaws.managedblockchain#NetworkFabricAttributes", - "traits": { - "smithy.api#documentation": "Attributes of Hyperledger Fabric for a Managed Blockchain network that uses Hyperledger Fabric.
" - } - }, - "Ethereum": { - "target": "com.amazonaws.managedblockchain#NetworkEthereumAttributes", - "traits": { - "smithy.api#documentation": "Attributes of an Ethereum network for Managed Blockchain resources participating in an Ethereum network.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Attributes relevant to the network for the blockchain framework that the network uses.
" - } - }, - "com.amazonaws.managedblockchain#NetworkFrameworkConfiguration": { - "type": "structure", - "members": { - "Fabric": { - "target": "com.amazonaws.managedblockchain#NetworkFabricConfiguration", - "traits": { - "smithy.api#documentation": "\n Hyperledger Fabric configuration properties for a Managed Blockchain network that uses Hyperledger Fabric.\n
" - } - } - }, - "traits": { - "smithy.api#documentation": "\n Configuration properties relevant to the network for the blockchain framework that the network uses.\n
" - } - }, - "com.amazonaws.managedblockchain#NetworkListMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.managedblockchain#NetworkMemberNameString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 64 - }, - "smithy.api#pattern": "^(?!-|[0-9])(?!.*-$)(?!.*?--)[a-zA-Z0-9-]+$" - } - }, - "com.amazonaws.managedblockchain#NetworkStatus": { - "type": "enum", - "members": { - "CREATING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATING" - } - }, - "AVAILABLE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AVAILABLE" - } - }, - "CREATE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_FAILED" - } - }, - "DELETING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETING" - } - }, - "DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETED" - } - } - } - }, - "com.amazonaws.managedblockchain#NetworkSummary": { - "type": "structure", - "members": { - "Id": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the network.
" - } - }, - "Name": { - "target": "com.amazonaws.managedblockchain#NameString", - "traits": { - "smithy.api#documentation": "The name of the network.
" - } - }, - "Description": { - "target": "com.amazonaws.managedblockchain#DescriptionString", - "traits": { - "smithy.api#documentation": "An optional description of the network.
" - } - }, - "Framework": { - "target": "com.amazonaws.managedblockchain#Framework", - "traits": { - "smithy.api#documentation": "The blockchain framework that the network uses.
" - } - }, - "FrameworkVersion": { - "target": "com.amazonaws.managedblockchain#FrameworkVersionString", - "traits": { - "smithy.api#documentation": "The version of the blockchain framework that the network uses.
" - } - }, - "Status": { - "target": "com.amazonaws.managedblockchain#NetworkStatus", - "traits": { - "smithy.api#documentation": "The current status of the network.
" - } - }, - "CreationDate": { - "target": "com.amazonaws.managedblockchain#Timestamp", - "traits": { - "smithy.api#documentation": "The date and time that the network was created.
" - } - }, - "Arn": { - "target": "com.amazonaws.managedblockchain#ArnString", - "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
" - } - } - }, - "traits": { - "smithy.api#documentation": "A summary of network configuration properties.
" - } - }, - "com.amazonaws.managedblockchain#NetworkSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.managedblockchain#NetworkSummary" - } - }, - "com.amazonaws.managedblockchain#Node": { - "type": "structure", - "members": { - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the network that the node is on.
" - } - }, - "MemberId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the member to which the node belongs.
\nApplies only to Hyperledger Fabric.
" - } - }, - "Id": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the node.
" - } - }, - "InstanceType": { - "target": "com.amazonaws.managedblockchain#InstanceTypeString", - "traits": { - "smithy.api#documentation": "The instance type of the node.
" - } - }, - "AvailabilityZone": { - "target": "com.amazonaws.managedblockchain#AvailabilityZoneString", - "traits": { - "smithy.api#documentation": "The Availability Zone in which the node exists. Required for Ethereum nodes.
" - } - }, - "FrameworkAttributes": { - "target": "com.amazonaws.managedblockchain#NodeFrameworkAttributes", - "traits": { - "smithy.api#documentation": "Attributes of the blockchain framework being used.
" - } - }, - "LogPublishingConfiguration": { - "target": "com.amazonaws.managedblockchain#NodeLogPublishingConfiguration", - "traits": { - "smithy.api#documentation": "Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
" - } - }, - "StateDB": { - "target": "com.amazonaws.managedblockchain#StateDBType", - "traits": { - "smithy.api#documentation": "The state database that the node uses. Values are LevelDB
or CouchDB
.
Applies only to Hyperledger Fabric.
" - } - }, - "Status": { - "target": "com.amazonaws.managedblockchain#NodeStatus", - "traits": { - "smithy.api#documentation": "The status of the node.
\n\n CREATING
- The Amazon Web Services account is in the process of creating a node.
\n AVAILABLE
- The node has been created and can participate in the network.
\n UNHEALTHY
- The node is impaired and might not function as expected. Amazon Managed Blockchain automatically finds nodes in this state and tries to recover them. If a node is recoverable, it returns to AVAILABLE
. Otherwise, it moves to FAILED
status.
\n CREATE_FAILED
- The Amazon Web Services account attempted to create a node and creation failed.
\n UPDATING
- The node is in the process of being updated.
\n DELETING
- The node is in the process of being deleted.
\n DELETED
- The node can no longer participate on the network.
\n FAILED
- The node is no longer functional, cannot be recovered, and must be deleted.
\n INACCESSIBLE_ENCRYPTION_KEY
- The node 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 node resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.
\nThe date and time that the node was created.
" - } - }, - "Tags": { - "target": "com.amazonaws.managedblockchain#OutputTagMap", - "traits": { - "smithy.api#documentation": "Tags assigned to the node. Each tag consists of a key and optional value.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
" - } - }, - "Arn": { - "target": "com.amazonaws.managedblockchain#ArnString", - "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
" - } - }, - "KmsKeyArn": { - "target": "com.amazonaws.managedblockchain#String", - "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) that the node uses for encryption at rest. If the value of this parameter is \"AWS Owned KMS Key\"
, the node uses an Amazon Web Services owned KMS key for encryption. The node inherits this parameter from the member that it belongs to.
For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
\nApplies only to Hyperledger Fabric.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Configuration properties of a node.
" - } - }, - "com.amazonaws.managedblockchain#NodeConfiguration": { - "type": "structure", - "members": { - "InstanceType": { - "target": "com.amazonaws.managedblockchain#InstanceTypeString", - "traits": { - "smithy.api#documentation": "The Amazon Managed Blockchain instance type for the node.
", - "smithy.api#required": {} - } - }, - "AvailabilityZone": { - "target": "com.amazonaws.managedblockchain#AvailabilityZoneString", - "traits": { - "smithy.api#documentation": "The Availability Zone in which the node exists. Required for Ethereum nodes.
" - } - }, - "LogPublishingConfiguration": { - "target": "com.amazonaws.managedblockchain#NodeLogPublishingConfiguration", - "traits": { - "smithy.api#documentation": "Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain. \n
" - } - }, - "StateDB": { - "target": "com.amazonaws.managedblockchain#StateDBType", - "traits": { - "smithy.api#documentation": "The state database that the node uses. Values are LevelDB
or CouchDB
. When using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default is CouchDB
.
Applies only to Hyperledger Fabric.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Configuration properties of a node.
" - } - }, - "com.amazonaws.managedblockchain#NodeEthereumAttributes": { - "type": "structure", - "members": { - "HttpEndpoint": { - "target": "com.amazonaws.managedblockchain#String", - "traits": { - "smithy.api#documentation": "The endpoint on which the Ethereum node listens to run Ethereum API methods over HTTP connections from a client. Use this endpoint in client code for smart contracts when using an HTTP connection. Connections to this endpoint are authenticated using Signature Version 4.
" - } - }, - "WebSocketEndpoint": { - "target": "com.amazonaws.managedblockchain#String", - "traits": { - "smithy.api#documentation": "The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket connections from a client. Use this endpoint in client code for smart contracts when using a WebSocket connection. Connections to this endpoint are authenticated using Signature Version 4.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Attributes of an Ethereum node.
" - } - }, - "com.amazonaws.managedblockchain#NodeFabricAttributes": { - "type": "structure", - "members": { - "PeerEndpoint": { - "target": "com.amazonaws.managedblockchain#String", - "traits": { - "smithy.api#documentation": "The endpoint that identifies the peer node for all services except peer channel-based event services.
" - } - }, - "PeerEventEndpoint": { - "target": "com.amazonaws.managedblockchain#String", - "traits": { - "smithy.api#documentation": "The endpoint that identifies the peer node for peer channel-based event services.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Attributes of Hyperledger Fabric for a peer node on a Hyperledger Fabric network on Managed Blockchain.
" - } - }, - "com.amazonaws.managedblockchain#NodeFabricLogPublishingConfiguration": { - "type": "structure", - "members": { - "ChaincodeLogs": { - "target": "com.amazonaws.managedblockchain#LogConfigurations", - "traits": { - "smithy.api#documentation": "Configuration properties for logging events associated with chaincode execution on a peer node. Chaincode logs contain the results of instantiating, invoking, and querying the chaincode. A peer can run multiple instances of chaincode. When enabled, a log stream is created for all chaincodes, with an individual log stream for each chaincode.
" - } - }, - "PeerLogs": { - "target": "com.amazonaws.managedblockchain#LogConfigurations", - "traits": { - "smithy.api#documentation": "Configuration properties for a peer node log. Peer node logs contain messages generated when your client submits transaction proposals to peer nodes, requests to join channels, enrolls an admin peer, and lists the chaincode instances on a peer node.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Configuration properties for logging events associated with a peer node owned by a member in a Managed Blockchain network.
" - } - }, - "com.amazonaws.managedblockchain#NodeFrameworkAttributes": { - "type": "structure", - "members": { - "Fabric": { - "target": "com.amazonaws.managedblockchain#NodeFabricAttributes", - "traits": { - "smithy.api#documentation": "Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain network that uses Hyperledger Fabric.
" - } - }, - "Ethereum": { - "target": "com.amazonaws.managedblockchain#NodeEthereumAttributes", - "traits": { - "smithy.api#documentation": "Attributes of Ethereum for a node on a Managed Blockchain network that uses Ethereum.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Attributes relevant to a node on a Managed Blockchain network for the blockchain framework that the network uses.
" - } - }, - "com.amazonaws.managedblockchain#NodeListMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 20 - } - } - }, - "com.amazonaws.managedblockchain#NodeLogPublishingConfiguration": { - "type": "structure", - "members": { - "Fabric": { - "target": "com.amazonaws.managedblockchain#NodeFabricLogPublishingConfiguration", - "traits": { - "smithy.api#documentation": "Configuration properties for logging events associated with a node that is owned by a member of a Managed Blockchain network using the Hyperledger Fabric framework.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
" - } - }, - "com.amazonaws.managedblockchain#NodeStatus": { - "type": "enum", - "members": { - "CREATING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATING" - } - }, - "AVAILABLE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AVAILABLE" - } - }, - "UNHEALTHY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UNHEALTHY" - } - }, - "CREATE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_FAILED" - } - }, - "UPDATING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UPDATING" - } - }, - "DELETING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETING" - } - }, - "DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETED" - } - }, - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED" - } - }, - "INACCESSIBLE_ENCRYPTION_KEY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INACCESSIBLE_ENCRYPTION_KEY" - } - } - } - }, - "com.amazonaws.managedblockchain#NodeSummary": { - "type": "structure", - "members": { - "Id": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the node.
" - } - }, - "Status": { - "target": "com.amazonaws.managedblockchain#NodeStatus", - "traits": { - "smithy.api#documentation": "The status of the node.
" - } - }, - "CreationDate": { - "target": "com.amazonaws.managedblockchain#Timestamp", - "traits": { - "smithy.api#documentation": "The date and time that the node was created.
" - } - }, - "AvailabilityZone": { - "target": "com.amazonaws.managedblockchain#AvailabilityZoneString", - "traits": { - "smithy.api#documentation": "The Availability Zone in which the node exists.
" - } - }, - "InstanceType": { - "target": "com.amazonaws.managedblockchain#InstanceTypeString", - "traits": { - "smithy.api#documentation": "The EC2 instance type for the node.
" - } - }, - "Arn": { - "target": "com.amazonaws.managedblockchain#ArnString", - "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
" - } - } - }, - "traits": { - "smithy.api#documentation": "A summary of configuration properties for a node.
" - } - }, - "com.amazonaws.managedblockchain#NodeSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.managedblockchain#NodeSummary" - } - }, - "com.amazonaws.managedblockchain#OutputTagMap": { - "type": "map", - "key": { - "target": "com.amazonaws.managedblockchain#TagKey" - }, - "value": { - "target": "com.amazonaws.managedblockchain#TagValue" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 200 - } - } - }, - "com.amazonaws.managedblockchain#PaginationToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 128 - } - } - }, - "com.amazonaws.managedblockchain#PasswordString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 8, - "max": 32 - }, - "smithy.api#pattern": "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?!.*[@'\\\\\"/])[a-zA-Z0-9\\S]*$", - "smithy.api#sensitive": {} - } + { + "target": "com.amazonaws.managedblockchain#TooManyTagsException" + } + ], + "traits": { + "smithy.api#documentation": "Creates a node on the specified blockchain network.
\nApplies to Hyperledger Fabric and Ethereum.
", + "smithy.api#http": { + "method": "POST", + "uri": "/networks/{NetworkId}/nodes", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#CreateNodeInput": { + "type": "structure", + "members": { + "ClientRequestToken": { + "target": "com.amazonaws.managedblockchain#ClientRequestTokenString", + "traits": { + "smithy.api#documentation": "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 Amazon Web Services SDK or the CLI.
", + "smithy.api#idempotencyToken": {}, + "smithy.api#required": {} + } + }, + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the network for the node.
\nEthereum public networks have the following NetworkId
s:
\n n-ethereum-mainnet
\n
\n n-ethereum-goerli
\n
\n n-ethereum-rinkeby
\n
\n n-ethereum-ropsten
\n
The unique identifier of the member that owns this node.
\nApplies only to Hyperledger Fabric.
" + } + }, + "NodeConfiguration": { + "target": "com.amazonaws.managedblockchain#NodeConfiguration", + "traits": { + "smithy.api#documentation": "The properties of a node configuration.
", + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.managedblockchain#InputTagMap", + "traits": { + "smithy.api#documentation": "Tags to assign to the node.
\nEach tag consists of a key and an optional value. You can specify \n multiple key-value pairs in a single request with an overall maximum of 50 tags \n allowed per resource.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#CreateNodeOutput": { + "type": "structure", + "members": { + "NodeId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the node.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#CreateProposal": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#CreateProposalInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#CreateProposalOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotReadyException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + }, + { + "target": "com.amazonaws.managedblockchain#TooManyTagsException" + } + ], + "traits": { + "smithy.api#documentation": "Creates a proposal for a change to the network that other members of the network can vote on, for example, a proposal to add a new member to the network. Any member can create a proposal.
\nApplies only to Hyperledger Fabric.
", + "smithy.api#http": { + "method": "POST", + "uri": "/networks/{NetworkId}/proposals", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#CreateProposalInput": { + "type": "structure", + "members": { + "ClientRequestToken": { + "target": "com.amazonaws.managedblockchain#ClientRequestTokenString", + "traits": { + "smithy.api#documentation": "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 Amazon Web Services SDK or the CLI.
", + "smithy.api#idempotencyToken": {}, + "smithy.api#required": {} + } + }, + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "\n The unique identifier of the network for which the proposal is made.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "MemberId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the member that is creating the proposal. This \n identifier is especially useful for identifying the member making the proposal \n when multiple members exist in a single Amazon Web Services account.
", + "smithy.api#required": {} + } + }, + "Actions": { + "target": "com.amazonaws.managedblockchain#ProposalActions", + "traits": { + "smithy.api#documentation": "The type of actions proposed, such as inviting a member or removing a member. The types of Actions
in a proposal are mutually exclusive. For example, a proposal with Invitations
actions cannot also contain Removals
actions.
A description for the proposal that is visible to voting members, for example, \"Proposal to add Example Corp. as member.\"
" + } + }, + "Tags": { + "target": "com.amazonaws.managedblockchain#InputTagMap", + "traits": { + "smithy.api#documentation": "Tags to assign to the proposal.
\nEach tag consists of a key and an optional value. You can specify \n multiple key-value pairs in a single request with an overall maximum of 50 tags \n allowed per resource.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#CreateProposalOutput": { + "type": "structure", + "members": { + "ProposalId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the proposal.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#DeleteAccessor": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#DeleteAccessorInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#DeleteAccessorOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes an accessor that your Amazon Web Services account owns. An accessor object is a container that has the \n information required for token based access to your Ethereum nodes including, the \n BILLING_TOKEN
. After an accessor is deleted, the status of the accessor changes \n from AVAILABLE
to PENDING_DELETION
. An accessor in the \n PENDING_DELETION
state can’t be used for new WebSocket requests or \n HTTP requests. However, WebSocket connections that were initiated while the accessor was in the \n AVAILABLE
state remain open until they expire (up to 2 hours).
The unique identifier of the accessor.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#DeleteAccessorOutput": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#DeleteMember": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#DeleteMemberInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#DeleteMemberOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotReadyException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes a member. Deleting a member removes the member and all associated resources from the network. DeleteMember
can only be called for a specified MemberId
if the principal performing the action is associated with the Amazon Web Services account that owns the member. In all other cases, the DeleteMember
action is carried out as the result of an approved proposal to remove a member. If MemberId
is the last member in a network specified by the last Amazon Web Services account, the network is deleted also.
Applies only to Hyperledger Fabric.
", + "smithy.api#http": { + "method": "DELETE", + "uri": "/networks/{NetworkId}/members/{MemberId}", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#DeleteMemberInput": { + "type": "structure", + "members": { + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the network from which the member is removed.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "MemberId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the member to remove.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#DeleteMemberOutput": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#DeleteNode": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#DeleteNodeInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#DeleteNodeOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotReadyException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes a node that your Amazon Web Services account owns. All data on the node is lost and cannot be recovered.
\nApplies to Hyperledger Fabric and Ethereum.
", + "smithy.api#http": { + "method": "DELETE", + "uri": "/networks/{NetworkId}/nodes/{NodeId}", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#DeleteNodeInput": { + "type": "structure", + "members": { + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the network that the node is on.
\nEthereum public networks have the following NetworkId
s:
\n n-ethereum-mainnet
\n
\n n-ethereum-goerli
\n
\n n-ethereum-rinkeby
\n
\n n-ethereum-ropsten
\n
The unique identifier of the member that owns this node.
\nApplies only to Hyperledger Fabric and is required for Hyperledger Fabric.
", + "smithy.api#httpQuery": "memberId" + } + }, + "NodeId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the node.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#DeleteNodeOutput": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#DescriptionString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 128 + } + } + }, + "com.amazonaws.managedblockchain#Edition": { + "type": "enum", + "members": { + "STARTER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STARTER" + } + }, + "STANDARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STANDARD" + } + } + } + }, + "com.amazonaws.managedblockchain#Enabled": { + "type": "boolean" + }, + "com.amazonaws.managedblockchain#ExceptionMessage": { + "type": "string" + }, + "com.amazonaws.managedblockchain#Framework": { + "type": "enum", + "members": { + "HYPERLEDGER_FABRIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HYPERLEDGER_FABRIC" + } + }, + "ETHEREUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ETHEREUM" + } + } + } + }, + "com.amazonaws.managedblockchain#FrameworkVersionString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 8 + } + } + }, + "com.amazonaws.managedblockchain#GetAccessor": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#GetAccessorInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#GetAccessorOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Returns detailed information about an accessor. An accessor object is a container that has the \n information required for token based access to your Ethereum nodes.
", + "smithy.api#http": { + "method": "GET", + "uri": "/accessors/{AccessorId}", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#GetAccessorInput": { + "type": "structure", + "members": { + "AccessorId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the accessor.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#GetAccessorOutput": { + "type": "structure", + "members": { + "Accessor": { + "target": "com.amazonaws.managedblockchain#Accessor", + "traits": { + "smithy.api#documentation": "The properties of the accessor.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#GetMember": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#GetMemberInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#GetMemberOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Returns detailed information about a member.
\nApplies only to Hyperledger Fabric.
", + "smithy.api#http": { + "method": "GET", + "uri": "/networks/{NetworkId}/members/{MemberId}", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#GetMemberInput": { + "type": "structure", + "members": { + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the network to which the member belongs.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "MemberId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the member.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#GetMemberOutput": { + "type": "structure", + "members": { + "Member": { + "target": "com.amazonaws.managedblockchain#Member", + "traits": { + "smithy.api#documentation": "The properties of a member.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#GetNetwork": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#GetNetworkInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#GetNetworkOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Returns detailed information about a network.
\nApplies to Hyperledger Fabric and Ethereum.
", + "smithy.api#http": { + "method": "GET", + "uri": "/networks/{NetworkId}", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#GetNetworkInput": { + "type": "structure", + "members": { + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the network to get information about.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#GetNetworkOutput": { + "type": "structure", + "members": { + "Network": { + "target": "com.amazonaws.managedblockchain#Network", + "traits": { + "smithy.api#documentation": "An object containing network configuration parameters.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#GetNode": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#GetNodeInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#GetNodeOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Returns detailed information about a node.
\nApplies to Hyperledger Fabric and Ethereum.
", + "smithy.api#http": { + "method": "GET", + "uri": "/networks/{NetworkId}/nodes/{NodeId}", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#GetNodeInput": { + "type": "structure", + "members": { + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the network that the node is on.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "MemberId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the member that owns the node.
\nApplies only to Hyperledger Fabric and is required for Hyperledger Fabric.
", + "smithy.api#httpQuery": "memberId" + } + }, + "NodeId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the node.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#GetNodeOutput": { + "type": "structure", + "members": { + "Node": { + "target": "com.amazonaws.managedblockchain#Node", + "traits": { + "smithy.api#documentation": "Properties of the node configuration.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#GetProposal": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#GetProposalInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#GetProposalOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Returns detailed information about a proposal.
\nApplies only to Hyperledger Fabric.
", + "smithy.api#http": { + "method": "GET", + "uri": "/networks/{NetworkId}/proposals/{ProposalId}", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#GetProposalInput": { + "type": "structure", + "members": { + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the network for which the proposal is made.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "ProposalId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the proposal.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#GetProposalOutput": { + "type": "structure", + "members": { + "Proposal": { + "target": "com.amazonaws.managedblockchain#Proposal", + "traits": { + "smithy.api#documentation": "Information about a proposal.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#IllegalActionException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.managedblockchain#String" + } + }, + "traits": { + "smithy.api#documentation": "", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.managedblockchain#InputTagMap": { + "type": "map", + "key": { + "target": "com.amazonaws.managedblockchain#TagKey" + }, + "value": { + "target": "com.amazonaws.managedblockchain#TagValue" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, + "com.amazonaws.managedblockchain#InstanceTypeString": { + "type": "string" + }, + "com.amazonaws.managedblockchain#InternalServiceErrorException": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#documentation": "The request processing has failed because of an unknown error, exception or failure.
", + "smithy.api#error": "server", + "smithy.api#httpError": 500 + } + }, + "com.amazonaws.managedblockchain#InvalidRequestException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.managedblockchain#String" + } + }, + "traits": { + "smithy.api#documentation": "The action or operation requested is invalid. Verify that the action is typed correctly.
", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.managedblockchain#Invitation": { + "type": "structure", + "members": { + "InvitationId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier for the invitation.
" + } + }, + "CreationDate": { + "target": "com.amazonaws.managedblockchain#Timestamp", + "traits": { + "smithy.api#documentation": "The date and time that the invitation was created.
" + } + }, + "ExpirationDate": { + "target": "com.amazonaws.managedblockchain#Timestamp", + "traits": { + "smithy.api#documentation": "The date and time that the invitation expires. This is the CreationDate
plus the ProposalDurationInHours
that is specified in the ProposalThresholdPolicy
. After this date and time, the invitee can no longer create a member and join the network using this InvitationId
.
The status of the invitation:
\n\n PENDING
- The invitee hasn't created a member to join the network, and the invitation hasn't yet expired.
\n ACCEPTING
- The invitee has begun creating a member, and creation hasn't yet completed.
\n ACCEPTED
- The invitee created a member and joined the network using the InvitationID
.
\n REJECTED
- The invitee rejected the invitation.
\n EXPIRED
- The invitee neither created a member nor rejected the invitation before the ExpirationDate
.
The Amazon Resource Name (ARN) of the invitation. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An invitation to an Amazon Web Services account to create a member and join the network.
\nApplies only to Hyperledger Fabric.
" + } + }, + "com.amazonaws.managedblockchain#InvitationList": { + "type": "list", + "member": { + "target": "com.amazonaws.managedblockchain#Invitation" + } + }, + "com.amazonaws.managedblockchain#InvitationStatus": { + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "ACCEPTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCEPTED" + } + }, + "ACCEPTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCEPTING" + } + }, + "REJECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REJECTED" + } + }, + "EXPIRED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXPIRED" + } + } + } + }, + "com.amazonaws.managedblockchain#InviteAction": { + "type": "structure", + "members": { + "Principal": { + "target": "com.amazonaws.managedblockchain#PrincipalString", + "traits": { + "smithy.api#documentation": "The Amazon Web Services account ID to invite.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An action to invite a specific Amazon Web Services account to create a member and join the network. The InviteAction
is carried out when a Proposal
is APPROVED
.
Applies only to Hyperledger Fabric.
" + } + }, + "com.amazonaws.managedblockchain#InviteActionList": { + "type": "list", + "member": { + "target": "com.amazonaws.managedblockchain#InviteAction" + } + }, + "com.amazonaws.managedblockchain#IsOwned": { + "type": "boolean" + }, + "com.amazonaws.managedblockchain#ListAccessors": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#ListAccessorsInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#ListAccessorsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Returns a list of the accessors and their properties. Accessor objects are containers that have the \n information required for token based access to your Ethereum nodes.
", + "smithy.api#http": { + "method": "GET", + "uri": "/accessors", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "Accessors", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.managedblockchain#ListAccessorsInput": { + "type": "structure", + "members": { + "MaxResults": { + "target": "com.amazonaws.managedblockchain#AccessorListMaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of accessors to list.
", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.managedblockchain#PaginationToken", + "traits": { + "smithy.api#documentation": "The pagination token that indicates the next set of results to retrieve.
", + "smithy.api#httpQuery": "nextToken" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#ListAccessorsOutput": { + "type": "structure", + "members": { + "Accessors": { + "target": "com.amazonaws.managedblockchain#AccessorSummaryList", + "traits": { + "smithy.api#documentation": "An array of AccessorSummary objects that contain configuration properties for \n each accessor.
" + } + }, + "NextToken": { + "target": "com.amazonaws.managedblockchain#PaginationToken", + "traits": { + "smithy.api#documentation": "The pagination token that indicates the next set of results to retrieve.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#ListInvitations": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#ListInvitationsInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#ListInvitationsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceLimitExceededException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Returns a list of all invitations for the current Amazon Web Services account.
\nApplies only to Hyperledger Fabric.
", + "smithy.api#http": { + "method": "GET", + "uri": "/invitations", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.managedblockchain#ListInvitationsInput": { + "type": "structure", + "members": { + "MaxResults": { + "target": "com.amazonaws.managedblockchain#ProposalListMaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of invitations to return.
", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.managedblockchain#PaginationToken", + "traits": { + "smithy.api#documentation": "The pagination token that indicates the next set of results to retrieve.
", + "smithy.api#httpQuery": "nextToken" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#ListInvitationsOutput": { + "type": "structure", + "members": { + "Invitations": { + "target": "com.amazonaws.managedblockchain#InvitationList", + "traits": { + "smithy.api#documentation": "The invitations for the network.
" + } + }, + "NextToken": { + "target": "com.amazonaws.managedblockchain#PaginationToken", + "traits": { + "smithy.api#documentation": "The pagination token that indicates the next set of results to retrieve.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#ListMembers": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#ListMembersInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#ListMembersOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Returns a list of the members in a network and properties of their configurations.
\nApplies only to Hyperledger Fabric.
", + "smithy.api#http": { + "method": "GET", + "uri": "/networks/{NetworkId}/members", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.managedblockchain#ListMembersInput": { + "type": "structure", + "members": { + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the network for which to list members.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.managedblockchain#String", + "traits": { + "smithy.api#documentation": "The optional name of the member to list.
", + "smithy.api#httpQuery": "name" + } + }, + "Status": { + "target": "com.amazonaws.managedblockchain#MemberStatus", + "traits": { + "smithy.api#documentation": "An optional status specifier. If provided, only members currently in this status are listed.
", + "smithy.api#httpQuery": "status" + } + }, + "IsOwned": { + "target": "com.amazonaws.managedblockchain#IsOwned", + "traits": { + "smithy.api#documentation": "An optional Boolean value. If provided, the request is limited either to\n members that the current Amazon Web Services account owns (true
) or that other Amazon Web Services accountsn\n own (false
). If omitted, all members are listed.
The maximum number of members to return in the request.
", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.managedblockchain#PaginationToken", + "traits": { + "smithy.api#documentation": "The pagination token that indicates the next set of results to retrieve.
", + "smithy.api#httpQuery": "nextToken" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#ListMembersOutput": { + "type": "structure", + "members": { + "Members": { + "target": "com.amazonaws.managedblockchain#MemberSummaryList", + "traits": { + "smithy.api#documentation": "An array of MemberSummary
objects. Each object contains details about a network member.
The pagination token that indicates the next set of results to retrieve.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#ListNetworks": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#ListNetworksInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#ListNetworksOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Returns information about the networks in which the current Amazon Web Services account participates.
\nApplies to Hyperledger Fabric and Ethereum.
", + "smithy.api#http": { + "method": "GET", + "uri": "/networks", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.managedblockchain#ListNetworksInput": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.managedblockchain#String", + "traits": { + "smithy.api#documentation": "The name of the network.
", + "smithy.api#httpQuery": "name" + } + }, + "Framework": { + "target": "com.amazonaws.managedblockchain#Framework", + "traits": { + "smithy.api#documentation": "An optional framework specifier. If provided, only networks of this framework type are listed.
", + "smithy.api#httpQuery": "framework" + } + }, + "Status": { + "target": "com.amazonaws.managedblockchain#NetworkStatus", + "traits": { + "smithy.api#documentation": "An optional status specifier. If provided, only networks currently in this status are listed.
\nApplies only to Hyperledger Fabric.
", + "smithy.api#httpQuery": "status" + } + }, + "MaxResults": { + "target": "com.amazonaws.managedblockchain#NetworkListMaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of networks to list.
", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.managedblockchain#PaginationToken", + "traits": { + "smithy.api#documentation": "The pagination token that indicates the next set of results to retrieve.
", + "smithy.api#httpQuery": "nextToken" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#ListNetworksOutput": { + "type": "structure", + "members": { + "Networks": { + "target": "com.amazonaws.managedblockchain#NetworkSummaryList", + "traits": { + "smithy.api#documentation": "An array of NetworkSummary
objects that contain configuration properties for each network.
The pagination token that indicates the next set of results to retrieve.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#ListNodes": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#ListNodesInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#ListNodesOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Returns information about the nodes within a network.
\nApplies to Hyperledger Fabric and Ethereum.
", + "smithy.api#http": { + "method": "GET", + "uri": "/networks/{NetworkId}/nodes", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.managedblockchain#ListNodesInput": { + "type": "structure", + "members": { + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the network for which to list nodes.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "MemberId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the member who owns the nodes to list.
\nApplies only to Hyperledger Fabric and is required for Hyperledger Fabric.
", + "smithy.api#httpQuery": "memberId" + } + }, + "Status": { + "target": "com.amazonaws.managedblockchain#NodeStatus", + "traits": { + "smithy.api#documentation": "An optional status specifier. If provided, only nodes currently in this status are listed.
", + "smithy.api#httpQuery": "status" + } + }, + "MaxResults": { + "target": "com.amazonaws.managedblockchain#NodeListMaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of nodes to list.
", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.managedblockchain#PaginationToken", + "traits": { + "smithy.api#documentation": "The pagination token that indicates the next set of results to retrieve.
", + "smithy.api#httpQuery": "nextToken" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#ListNodesOutput": { + "type": "structure", + "members": { + "Nodes": { + "target": "com.amazonaws.managedblockchain#NodeSummaryList", + "traits": { + "smithy.api#documentation": "An array of NodeSummary
objects that contain configuration properties for each node.
The pagination token that indicates the next set of results to retrieve.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#ListProposalVotes": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#ListProposalVotesInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#ListProposalVotesOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of the member that cast the vote.
\nApplies only to Hyperledger Fabric.
", + "smithy.api#http": { + "method": "GET", + "uri": "/networks/{NetworkId}/proposals/{ProposalId}/votes", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.managedblockchain#ListProposalVotesInput": { + "type": "structure", + "members": { + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "\n The unique identifier of the network.\n
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "ProposalId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "\n The unique identifier of the proposal.\n
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "MaxResults": { + "target": "com.amazonaws.managedblockchain#ProposalListMaxResults", + "traits": { + "smithy.api#documentation": "\n The maximum number of votes to return.\n
", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.managedblockchain#PaginationToken", + "traits": { + "smithy.api#documentation": "\n The pagination token that indicates the next set of results to retrieve.\n
", + "smithy.api#httpQuery": "nextToken" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#ListProposalVotesOutput": { + "type": "structure", + "members": { + "ProposalVotes": { + "target": "com.amazonaws.managedblockchain#ProposalVoteList", + "traits": { + "smithy.api#documentation": "\n The list of votes.\n
" + } + }, + "NextToken": { + "target": "com.amazonaws.managedblockchain#PaginationToken", + "traits": { + "smithy.api#documentation": "\n The pagination token that indicates the next set of results to retrieve.\n
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#ListProposals": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#ListProposalsInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#ListProposalsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Returns a list of proposals for the network.
\nApplies only to Hyperledger Fabric.
", + "smithy.api#http": { + "method": "GET", + "uri": "/networks/{NetworkId}/proposals", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.managedblockchain#ListProposalsInput": { + "type": "structure", + "members": { + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "\n The unique identifier of the network.\n
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "MaxResults": { + "target": "com.amazonaws.managedblockchain#ProposalListMaxResults", + "traits": { + "smithy.api#documentation": "\n The maximum number of proposals to return.\n
", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.managedblockchain#PaginationToken", + "traits": { + "smithy.api#documentation": "\n The pagination token that indicates the next set of results to retrieve.\n
", + "smithy.api#httpQuery": "nextToken" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#ListProposalsOutput": { + "type": "structure", + "members": { + "Proposals": { + "target": "com.amazonaws.managedblockchain#ProposalSummaryList", + "traits": { + "smithy.api#documentation": "The summary of each proposal made on the network.
" + } + }, + "NextToken": { + "target": "com.amazonaws.managedblockchain#PaginationToken", + "traits": { + "smithy.api#documentation": "The pagination token that indicates the next set of results to retrieve.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.managedblockchain#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotReadyException" + } + ], + "traits": { + "smithy.api#documentation": "Returns a list of tags for the specified resource. Each tag consists of a key and optional value.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
", + "smithy.api#http": { + "method": "GET", + "uri": "/tags/{ResourceArn}", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.managedblockchain#ArnString", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "Tags": { + "target": "com.amazonaws.managedblockchain#OutputTagMap", + "traits": { + "smithy.api#documentation": "The tags assigned to the resource.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#LogConfiguration": { + "type": "structure", + "members": { + "Enabled": { + "target": "com.amazonaws.managedblockchain#Enabled", + "traits": { + "smithy.api#documentation": "Indicates whether logging is enabled.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A configuration for logging events.
" + } + }, + "com.amazonaws.managedblockchain#LogConfigurations": { + "type": "structure", + "members": { + "Cloudwatch": { + "target": "com.amazonaws.managedblockchain#LogConfiguration", + "traits": { + "smithy.api#documentation": "Parameters for publishing logs to Amazon CloudWatch Logs.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A collection of log configurations.
" + } + }, + "com.amazonaws.managedblockchain#Member": { + "type": "structure", + "members": { + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the network to which the member belongs.
" + } + }, + "Id": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the member.
" + } + }, + "Name": { + "target": "com.amazonaws.managedblockchain#NetworkMemberNameString", + "traits": { + "smithy.api#documentation": "The name of the member.
" + } + }, + "Description": { + "target": "com.amazonaws.managedblockchain#DescriptionString", + "traits": { + "smithy.api#documentation": "An optional description for the member.
" + } + }, + "FrameworkAttributes": { + "target": "com.amazonaws.managedblockchain#MemberFrameworkAttributes", + "traits": { + "smithy.api#documentation": "Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.
" + } + }, + "LogPublishingConfiguration": { + "target": "com.amazonaws.managedblockchain#MemberLogPublishingConfiguration", + "traits": { + "smithy.api#documentation": "Configuration properties for logging events associated with a member.
" + } + }, + "Status": { + "target": "com.amazonaws.managedblockchain#MemberStatus", + "traits": { + "smithy.api#documentation": "The status of a member.
\n\n CREATING
- The Amazon Web Services account is in the process of creating a member.
\n AVAILABLE
- The member has been created and can participate in the network.
\n CREATE_FAILED
- The Amazon Web Services account attempted to create a member and creation failed.
\n UPDATING
- The member is in the process of being updated.
\n 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
\n PROPOSAL
to remove the member.
\n 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
\n PROPOSAL
to remove the member.
\n 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.
\nThe date and time that the member was created.
" + } + }, + "Tags": { + "target": "com.amazonaws.managedblockchain#OutputTagMap", + "traits": { + "smithy.api#documentation": "Tags assigned to the member. Tags consist of a key and optional value.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
" + } + }, + "Arn": { + "target": "com.amazonaws.managedblockchain#ArnString", + "traits": { + "smithy.api#documentation": "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.
" + } + }, + "KmsKeyArn": { + "target": "com.amazonaws.managedblockchain#String", + "traits": { + "smithy.api#documentation": "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.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Member configuration properties.
\nApplies only to Hyperledger Fabric.
" + } + }, + "com.amazonaws.managedblockchain#MemberConfiguration": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.managedblockchain#NetworkMemberNameString", + "traits": { + "smithy.api#documentation": "The name of the member.
", + "smithy.api#required": {} + } + }, + "Description": { + "target": "com.amazonaws.managedblockchain#DescriptionString", + "traits": { + "smithy.api#documentation": "An optional description of the member.
" + } + }, + "FrameworkConfiguration": { + "target": "com.amazonaws.managedblockchain#MemberFrameworkConfiguration", + "traits": { + "smithy.api#documentation": "Configuration properties of the blockchain framework relevant to the member.
", + "smithy.api#required": {} + } + }, + "LogPublishingConfiguration": { + "target": "com.amazonaws.managedblockchain#MemberLogPublishingConfiguration", + "traits": { + "smithy.api#documentation": "Configuration properties for logging events associated with a member of a Managed Blockchain network.
" + } + }, + "Tags": { + "target": "com.amazonaws.managedblockchain#InputTagMap", + "traits": { + "smithy.api#documentation": "Tags assigned to the member. Tags consist of a key and optional value.
\nWhen specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
" + } + }, + "KmsKeyArn": { + "target": "com.amazonaws.managedblockchain#ArnString", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) to use for encryption at rest in the member. This parameter is inherited by any nodes that this member creates. For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
\nUse one of the following options to specify this parameter:
\n\n Undefined or empty string - By default, use an KMS key that is owned and managed by Amazon Web Services on your behalf.
\n\n A valid symmetric customer managed KMS key - Use the specified KMS key in your account that you create, own, and manage.
\nAmazon Managed Blockchain doesn't support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the Key Management Service Developer Guide.
\nThe following is an example of a KMS key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
\n
Configuration properties of the member.
\nApplies only to Hyperledger Fabric.
" + } + }, + "com.amazonaws.managedblockchain#MemberFabricAttributes": { + "type": "structure", + "members": { + "AdminUsername": { + "target": "com.amazonaws.managedblockchain#UsernameString", + "traits": { + "smithy.api#documentation": "The user name for the initial administrator user for the member.
" + } + }, + "CaEndpoint": { + "target": "com.amazonaws.managedblockchain#String", + "traits": { + "smithy.api#documentation": "The endpoint used to access the member's certificate authority.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Attributes of Hyperledger Fabric for a member in a Managed Blockchain network using the Hyperledger Fabric framework.
" + } + }, + "com.amazonaws.managedblockchain#MemberFabricConfiguration": { + "type": "structure", + "members": { + "AdminUsername": { + "target": "com.amazonaws.managedblockchain#UsernameString", + "traits": { + "smithy.api#documentation": "The user name for the member's initial administrative user.
", + "smithy.api#required": {} + } + }, + "AdminPassword": { + "target": "com.amazonaws.managedblockchain#PasswordString", + "traits": { + "smithy.api#documentation": "The password for the member's initial administrative user. The AdminPassword
must be at least eight characters long and no more than 32 characters. It must contain at least one uppercase letter, one lowercase letter, and one digit. It cannot have a single quotation mark (‘), a double quotation marks (“), a forward slash(/), a backward slash(\\), @, or a space.
Configuration properties for Hyperledger Fabric for a member in a Managed Blockchain network using the Hyperledger Fabric framework.
" + } + }, + "com.amazonaws.managedblockchain#MemberFabricLogPublishingConfiguration": { + "type": "structure", + "members": { + "CaLogs": { + "target": "com.amazonaws.managedblockchain#LogConfigurations", + "traits": { + "smithy.api#documentation": "Configuration properties for logging events associated with a member's Certificate Authority (CA). CA logs help you determine when a member in your account joins the network, or when new peers register with a member CA.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Configuration properties for logging events associated with a member of a Managed Blockchain network using the Hyperledger Fabric framework.
" + } + }, + "com.amazonaws.managedblockchain#MemberFrameworkAttributes": { + "type": "structure", + "members": { + "Fabric": { + "target": "com.amazonaws.managedblockchain#MemberFabricAttributes", + "traits": { + "smithy.api#documentation": "Attributes of Hyperledger Fabric relevant to a member on a Managed Blockchain network that uses Hyperledger Fabric.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.
" + } + }, + "com.amazonaws.managedblockchain#MemberFrameworkConfiguration": { + "type": "structure", + "members": { + "Fabric": { + "target": "com.amazonaws.managedblockchain#MemberFabricConfiguration", + "traits": { + "smithy.api#documentation": "Attributes of Hyperledger Fabric for a member on a Managed Blockchain network that uses Hyperledger Fabric.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Configuration properties relevant to a member for the blockchain framework that the Managed Blockchain network uses.
" + } + }, + "com.amazonaws.managedblockchain#MemberListMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 20 + } + } + }, + "com.amazonaws.managedblockchain#MemberLogPublishingConfiguration": { + "type": "structure", + "members": { + "Fabric": { + "target": "com.amazonaws.managedblockchain#MemberFabricLogPublishingConfiguration", + "traits": { + "smithy.api#documentation": "Configuration properties for logging events associated with a member of a Managed Blockchain network using the Hyperledger Fabric framework.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Configuration properties for logging events associated with a member of a Managed Blockchain network.
" + } + }, + "com.amazonaws.managedblockchain#MemberStatus": { + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVAILABLE" + } + }, + "CREATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_FAILED" + } + }, + "UPDATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + }, + "INACCESSIBLE_ENCRYPTION_KEY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INACCESSIBLE_ENCRYPTION_KEY" + } + } + } + }, + "com.amazonaws.managedblockchain#MemberSummary": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the member.
" + } + }, + "Name": { + "target": "com.amazonaws.managedblockchain#NetworkMemberNameString", + "traits": { + "smithy.api#documentation": "The name of the member.
" + } + }, + "Description": { + "target": "com.amazonaws.managedblockchain#DescriptionString", + "traits": { + "smithy.api#documentation": "An optional description of the member.
" + } + }, + "Status": { + "target": "com.amazonaws.managedblockchain#MemberStatus", + "traits": { + "smithy.api#documentation": "The status of the member.
\n\n CREATING
- The Amazon Web Services account is in the process of creating a member.
\n AVAILABLE
- The member has been created and can participate in the network.
\n CREATE_FAILED
- The Amazon Web Services account attempted to create a member and creation failed.
\n UPDATING
- The member is in the process of being updated.
\n 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
\n PROPOSAL
to remove the member.
\n 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
\n PROPOSAL
to remove the member.
\n 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.
\nThe date and time that the member was created.
" + } + }, + "IsOwned": { + "target": "com.amazonaws.managedblockchain#IsOwned", + "traits": { + "smithy.api#documentation": "An indicator of whether the member is owned by your Amazon Web Services account or a different Amazon Web Services account.
" + } + }, + "Arn": { + "target": "com.amazonaws.managedblockchain#ArnString", + "traits": { + "smithy.api#documentation": "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.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A summary of configuration properties for a member.
\nApplies only to Hyperledger Fabric.
" + } + }, + "com.amazonaws.managedblockchain#MemberSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.managedblockchain#MemberSummary" + } + }, + "com.amazonaws.managedblockchain#NameString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "\\S" + } + }, + "com.amazonaws.managedblockchain#Network": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the network.
" + } + }, + "Name": { + "target": "com.amazonaws.managedblockchain#NameString", + "traits": { + "smithy.api#documentation": "The name of the network.
" + } + }, + "Description": { + "target": "com.amazonaws.managedblockchain#DescriptionString", + "traits": { + "smithy.api#documentation": "Attributes of the blockchain framework for the network.
" + } + }, + "Framework": { + "target": "com.amazonaws.managedblockchain#Framework", + "traits": { + "smithy.api#documentation": "The blockchain framework that the network uses.
" + } + }, + "FrameworkVersion": { + "target": "com.amazonaws.managedblockchain#FrameworkVersionString", + "traits": { + "smithy.api#documentation": "The version of the blockchain framework that the network uses.
" + } + }, + "FrameworkAttributes": { + "target": "com.amazonaws.managedblockchain#NetworkFrameworkAttributes", + "traits": { + "smithy.api#documentation": "Attributes of the blockchain framework that the network uses.
" + } + }, + "VpcEndpointServiceName": { + "target": "com.amazonaws.managedblockchain#String", + "traits": { + "smithy.api#documentation": "The VPC endpoint service name of the VPC endpoint service of the network. Members use the VPC endpoint service name to create a VPC endpoint to access network resources.
" + } + }, + "VotingPolicy": { + "target": "com.amazonaws.managedblockchain#VotingPolicy", + "traits": { + "smithy.api#documentation": "The voting rules for the network to decide if a proposal is accepted.
" + } + }, + "Status": { + "target": "com.amazonaws.managedblockchain#NetworkStatus", + "traits": { + "smithy.api#documentation": "The current status of the network.
" + } + }, + "CreationDate": { + "target": "com.amazonaws.managedblockchain#Timestamp", + "traits": { + "smithy.api#documentation": "The date and time that the network was created.
" + } + }, + "Tags": { + "target": "com.amazonaws.managedblockchain#OutputTagMap", + "traits": { + "smithy.api#documentation": "Tags assigned to the network. Each tag consists of a key and optional value.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
" + } + }, + "Arn": { + "target": "com.amazonaws.managedblockchain#ArnString", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Network configuration properties.
" + } + }, + "com.amazonaws.managedblockchain#NetworkEthereumAttributes": { + "type": "structure", + "members": { + "ChainId": { + "target": "com.amazonaws.managedblockchain#String", + "traits": { + "smithy.api#documentation": "The Ethereum CHAIN_ID
associated with the Ethereum network. Chain IDs are as follows:
mainnet = 1
\n
goerli = 5
\n
rinkeby = 4
\n
ropsten = 3
\n
Attributes of Ethereum for a network.
" + } + }, + "com.amazonaws.managedblockchain#NetworkFabricAttributes": { + "type": "structure", + "members": { + "OrderingServiceEndpoint": { + "target": "com.amazonaws.managedblockchain#String", + "traits": { + "smithy.api#documentation": "The endpoint of the ordering service for the network.
" + } + }, + "Edition": { + "target": "com.amazonaws.managedblockchain#Edition", + "traits": { + "smithy.api#documentation": "The edition of Amazon Managed Blockchain that Hyperledger Fabric uses. For more information, see Amazon Managed Blockchain Pricing.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Attributes of Hyperledger Fabric for a network.
" + } + }, + "com.amazonaws.managedblockchain#NetworkFabricConfiguration": { + "type": "structure", + "members": { + "Edition": { + "target": "com.amazonaws.managedblockchain#Edition", + "traits": { + "smithy.api#documentation": "The edition of Amazon Managed Blockchain that the network uses. For more information, see Amazon Managed Blockchain Pricing.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Hyperledger Fabric configuration properties for the network.
" + } + }, + "com.amazonaws.managedblockchain#NetworkFrameworkAttributes": { + "type": "structure", + "members": { + "Fabric": { + "target": "com.amazonaws.managedblockchain#NetworkFabricAttributes", + "traits": { + "smithy.api#documentation": "Attributes of Hyperledger Fabric for a Managed Blockchain network that uses Hyperledger Fabric.
" + } + }, + "Ethereum": { + "target": "com.amazonaws.managedblockchain#NetworkEthereumAttributes", + "traits": { + "smithy.api#documentation": "Attributes of an Ethereum network for Managed Blockchain resources participating in an Ethereum network.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Attributes relevant to the network for the blockchain framework that the network uses.
" + } + }, + "com.amazonaws.managedblockchain#NetworkFrameworkConfiguration": { + "type": "structure", + "members": { + "Fabric": { + "target": "com.amazonaws.managedblockchain#NetworkFabricConfiguration", + "traits": { + "smithy.api#documentation": "\n Hyperledger Fabric configuration properties for a Managed Blockchain network that uses Hyperledger Fabric.\n
" + } + } + }, + "traits": { + "smithy.api#documentation": "\n Configuration properties relevant to the network for the blockchain framework that the network uses.\n
" + } + }, + "com.amazonaws.managedblockchain#NetworkListMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.managedblockchain#NetworkMemberNameString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^(?!-|[0-9])(?!.*-$)(?!.*?--)[a-zA-Z0-9-]+$" + } + }, + "com.amazonaws.managedblockchain#NetworkStatus": { + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVAILABLE" + } + }, + "CREATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_FAILED" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + } + } + }, + "com.amazonaws.managedblockchain#NetworkSummary": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the network.
" + } + }, + "Name": { + "target": "com.amazonaws.managedblockchain#NameString", + "traits": { + "smithy.api#documentation": "The name of the network.
" + } + }, + "Description": { + "target": "com.amazonaws.managedblockchain#DescriptionString", + "traits": { + "smithy.api#documentation": "An optional description of the network.
" + } + }, + "Framework": { + "target": "com.amazonaws.managedblockchain#Framework", + "traits": { + "smithy.api#documentation": "The blockchain framework that the network uses.
" + } + }, + "FrameworkVersion": { + "target": "com.amazonaws.managedblockchain#FrameworkVersionString", + "traits": { + "smithy.api#documentation": "The version of the blockchain framework that the network uses.
" + } + }, + "Status": { + "target": "com.amazonaws.managedblockchain#NetworkStatus", + "traits": { + "smithy.api#documentation": "The current status of the network.
" + } + }, + "CreationDate": { + "target": "com.amazonaws.managedblockchain#Timestamp", + "traits": { + "smithy.api#documentation": "The date and time that the network was created.
" + } + }, + "Arn": { + "target": "com.amazonaws.managedblockchain#ArnString", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A summary of network configuration properties.
" + } + }, + "com.amazonaws.managedblockchain#NetworkSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.managedblockchain#NetworkSummary" + } + }, + "com.amazonaws.managedblockchain#Node": { + "type": "structure", + "members": { + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the network that the node is on.
" + } + }, + "MemberId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the member to which the node belongs.
\nApplies only to Hyperledger Fabric.
" + } + }, + "Id": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the node.
" + } + }, + "InstanceType": { + "target": "com.amazonaws.managedblockchain#InstanceTypeString", + "traits": { + "smithy.api#documentation": "The instance type of the node.
" + } + }, + "AvailabilityZone": { + "target": "com.amazonaws.managedblockchain#AvailabilityZoneString", + "traits": { + "smithy.api#documentation": "The Availability Zone in which the node exists. Required for Ethereum nodes.
" + } + }, + "FrameworkAttributes": { + "target": "com.amazonaws.managedblockchain#NodeFrameworkAttributes", + "traits": { + "smithy.api#documentation": "Attributes of the blockchain framework being used.
" + } + }, + "LogPublishingConfiguration": { + "target": "com.amazonaws.managedblockchain#NodeLogPublishingConfiguration", + "traits": { + "smithy.api#documentation": "Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
" + } + }, + "StateDB": { + "target": "com.amazonaws.managedblockchain#StateDBType", + "traits": { + "smithy.api#documentation": "The state database that the node uses. Values are LevelDB
or CouchDB
.
Applies only to Hyperledger Fabric.
" + } + }, + "Status": { + "target": "com.amazonaws.managedblockchain#NodeStatus", + "traits": { + "smithy.api#documentation": "The status of the node.
\n\n CREATING
- The Amazon Web Services account is in the process of creating a node.
\n AVAILABLE
- The node has been created and can participate in the network.
\n UNHEALTHY
- The node is impaired and might not function as expected. Amazon Managed Blockchain automatically finds nodes in this state and tries to recover them. If a node is recoverable, it returns to AVAILABLE
. Otherwise, it moves to FAILED
status.
\n CREATE_FAILED
- The Amazon Web Services account attempted to create a node and creation failed.
\n UPDATING
- The node is in the process of being updated.
\n DELETING
- The node is in the process of being deleted.
\n DELETED
- The node can no longer participate on the network.
\n FAILED
- The node is no longer functional, cannot be recovered, and must be deleted.
\n INACCESSIBLE_ENCRYPTION_KEY
- The node 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 node resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.
\nThe date and time that the node was created.
" + } + }, + "Tags": { + "target": "com.amazonaws.managedblockchain#OutputTagMap", + "traits": { + "smithy.api#documentation": "Tags assigned to the node. Each tag consists of a key and optional value.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
" + } + }, + "Arn": { + "target": "com.amazonaws.managedblockchain#ArnString", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
" + } + }, + "KmsKeyArn": { + "target": "com.amazonaws.managedblockchain#String", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) that the node uses for encryption at rest. If the value of this parameter is \"AWS Owned KMS Key\"
, the node uses an Amazon Web Services owned KMS key for encryption. The node inherits this parameter from the member that it belongs to.
For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
\nApplies only to Hyperledger Fabric.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Configuration properties of a node.
" + } + }, + "com.amazonaws.managedblockchain#NodeConfiguration": { + "type": "structure", + "members": { + "InstanceType": { + "target": "com.amazonaws.managedblockchain#InstanceTypeString", + "traits": { + "smithy.api#documentation": "The Amazon Managed Blockchain instance type for the node.
", + "smithy.api#required": {} + } + }, + "AvailabilityZone": { + "target": "com.amazonaws.managedblockchain#AvailabilityZoneString", + "traits": { + "smithy.api#documentation": "The Availability Zone in which the node exists. Required for Ethereum nodes.
" + } + }, + "LogPublishingConfiguration": { + "target": "com.amazonaws.managedblockchain#NodeLogPublishingConfiguration", + "traits": { + "smithy.api#documentation": "Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain. \n
" + } + }, + "StateDB": { + "target": "com.amazonaws.managedblockchain#StateDBType", + "traits": { + "smithy.api#documentation": "The state database that the node uses. Values are LevelDB
or CouchDB
. When using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default is CouchDB
.
Applies only to Hyperledger Fabric.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Configuration properties of a node.
" + } + }, + "com.amazonaws.managedblockchain#NodeEthereumAttributes": { + "type": "structure", + "members": { + "HttpEndpoint": { + "target": "com.amazonaws.managedblockchain#String", + "traits": { + "smithy.api#documentation": "The endpoint on which the Ethereum node listens to run Ethereum API methods over HTTP connections from a client. Use this endpoint in client code for smart contracts when using an HTTP connection. Connections to this endpoint are authenticated using Signature Version 4.
" + } + }, + "WebSocketEndpoint": { + "target": "com.amazonaws.managedblockchain#String", + "traits": { + "smithy.api#documentation": "The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket connections from a client. Use this endpoint in client code for smart contracts when using a WebSocket connection. Connections to this endpoint are authenticated using Signature Version 4.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Attributes of an Ethereum node.
" + } + }, + "com.amazonaws.managedblockchain#NodeFabricAttributes": { + "type": "structure", + "members": { + "PeerEndpoint": { + "target": "com.amazonaws.managedblockchain#String", + "traits": { + "smithy.api#documentation": "The endpoint that identifies the peer node for all services except peer channel-based event services.
" + } + }, + "PeerEventEndpoint": { + "target": "com.amazonaws.managedblockchain#String", + "traits": { + "smithy.api#documentation": "The endpoint that identifies the peer node for peer channel-based event services.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Attributes of Hyperledger Fabric for a peer node on a Hyperledger Fabric network on Managed Blockchain.
" + } + }, + "com.amazonaws.managedblockchain#NodeFabricLogPublishingConfiguration": { + "type": "structure", + "members": { + "ChaincodeLogs": { + "target": "com.amazonaws.managedblockchain#LogConfigurations", + "traits": { + "smithy.api#documentation": "Configuration properties for logging events associated with chaincode execution on a peer node. Chaincode logs contain the results of instantiating, invoking, and querying the chaincode. A peer can run multiple instances of chaincode. When enabled, a log stream is created for all chaincodes, with an individual log stream for each chaincode.
" + } + }, + "PeerLogs": { + "target": "com.amazonaws.managedblockchain#LogConfigurations", + "traits": { + "smithy.api#documentation": "Configuration properties for a peer node log. Peer node logs contain messages generated when your client submits transaction proposals to peer nodes, requests to join channels, enrolls an admin peer, and lists the chaincode instances on a peer node.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Configuration properties for logging events associated with a peer node owned by a member in a Managed Blockchain network.
" + } + }, + "com.amazonaws.managedblockchain#NodeFrameworkAttributes": { + "type": "structure", + "members": { + "Fabric": { + "target": "com.amazonaws.managedblockchain#NodeFabricAttributes", + "traits": { + "smithy.api#documentation": "Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain network that uses Hyperledger Fabric.
" + } + }, + "Ethereum": { + "target": "com.amazonaws.managedblockchain#NodeEthereumAttributes", + "traits": { + "smithy.api#documentation": "Attributes of Ethereum for a node on a Managed Blockchain network that uses Ethereum.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Attributes relevant to a node on a Managed Blockchain network for the blockchain framework that the network uses.
" + } + }, + "com.amazonaws.managedblockchain#NodeListMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 20 + } + } + }, + "com.amazonaws.managedblockchain#NodeLogPublishingConfiguration": { + "type": "structure", + "members": { + "Fabric": { + "target": "com.amazonaws.managedblockchain#NodeFabricLogPublishingConfiguration", + "traits": { + "smithy.api#documentation": "Configuration properties for logging events associated with a node that is owned by a member of a Managed Blockchain network using the Hyperledger Fabric framework.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
" + } + }, + "com.amazonaws.managedblockchain#NodeStatus": { + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVAILABLE" + } + }, + "UNHEALTHY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNHEALTHY" + } + }, + "CREATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_FAILED" + } + }, + "UPDATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "INACCESSIBLE_ENCRYPTION_KEY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INACCESSIBLE_ENCRYPTION_KEY" + } + } + } + }, + "com.amazonaws.managedblockchain#NodeSummary": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the node.
" + } + }, + "Status": { + "target": "com.amazonaws.managedblockchain#NodeStatus", + "traits": { + "smithy.api#documentation": "The status of the node.
" + } + }, + "CreationDate": { + "target": "com.amazonaws.managedblockchain#Timestamp", + "traits": { + "smithy.api#documentation": "The date and time that the node was created.
" + } + }, + "AvailabilityZone": { + "target": "com.amazonaws.managedblockchain#AvailabilityZoneString", + "traits": { + "smithy.api#documentation": "The Availability Zone in which the node exists.
" + } + }, + "InstanceType": { + "target": "com.amazonaws.managedblockchain#InstanceTypeString", + "traits": { + "smithy.api#documentation": "The EC2 instance type for the node.
" + } + }, + "Arn": { + "target": "com.amazonaws.managedblockchain#ArnString", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A summary of configuration properties for a node.
" + } + }, + "com.amazonaws.managedblockchain#NodeSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.managedblockchain#NodeSummary" + } + }, + "com.amazonaws.managedblockchain#OutputTagMap": { + "type": "map", + "key": { + "target": "com.amazonaws.managedblockchain#TagKey" + }, + "value": { + "target": "com.amazonaws.managedblockchain#TagValue" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 200 + } + } + }, + "com.amazonaws.managedblockchain#PaginationToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 128 + } + } + }, + "com.amazonaws.managedblockchain#PasswordString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 8, + "max": 32 + }, + "smithy.api#pattern": "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?!.*[@'\\\\\"/])[a-zA-Z0-9\\S]*$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.managedblockchain#PrincipalString": { + "type": "string" + }, + "com.amazonaws.managedblockchain#Proposal": { + "type": "structure", + "members": { + "ProposalId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the proposal.
" + } + }, + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the network for which the proposal is made.
" + } + }, + "Description": { + "target": "com.amazonaws.managedblockchain#DescriptionString", + "traits": { + "smithy.api#documentation": "The description of the proposal.
" + } + }, + "Actions": { + "target": "com.amazonaws.managedblockchain#ProposalActions", + "traits": { + "smithy.api#documentation": "The actions to perform on the network if the proposal is APPROVED
.
The unique identifier of the member that created the proposal.
" + } + }, + "ProposedByMemberName": { + "target": "com.amazonaws.managedblockchain#NetworkMemberNameString", + "traits": { + "smithy.api#documentation": "The name of the member that created the proposal.
" + } + }, + "Status": { + "target": "com.amazonaws.managedblockchain#ProposalStatus", + "traits": { + "smithy.api#documentation": "The status of the proposal. Values are as follows:
\n\n IN_PROGRESS
- The proposal is active and open for member voting.
\n APPROVED
- The proposal was approved with sufficient YES
votes among members according to the VotingPolicy
specified for the Network
. The specified proposal actions are carried out.
\n REJECTED
- The proposal was rejected with insufficient YES
votes among members according to the VotingPolicy
specified for the Network
. The specified ProposalActions
aren't carried out.
\n EXPIRED
- Members didn't cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions
aren't carried out.
\n ACTION_FAILED
- One or more of the specified ProposalActions
in a proposal that was approved couldn't be completed because of an error. The ACTION_FAILED
status occurs even if only one ProposalAction fails and other actions are successful.
\n The date and time that the proposal was created.\n
" + } + }, + "ExpirationDate": { + "target": "com.amazonaws.managedblockchain#Timestamp", + "traits": { + "smithy.api#documentation": "\n The date and time that the proposal expires. This is the CreationDate
plus the ProposalDurationInHours
that is specified in the ProposalThresholdPolicy
. After this date and time, if members haven't cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED
and Actions
aren't carried out.\n
\n The current total of YES
votes cast on the proposal by members.\n
\n The current total of NO
votes cast on the proposal by members.\n
\n The number of votes remaining to be cast on the proposal by members. In other words, the number of members minus the sum of YES
votes and NO
votes.\n
Tags assigned to the proposal. Each tag consists of a key and optional value.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
" + } + }, + "Arn": { + "target": "com.amazonaws.managedblockchain#ArnString", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Properties of a proposal on a Managed Blockchain network.
\nApplies only to Hyperledger Fabric.
" + } + }, + "com.amazonaws.managedblockchain#ProposalActions": { + "type": "structure", + "members": { + "Invitations": { + "target": "com.amazonaws.managedblockchain#InviteActionList", + "traits": { + "smithy.api#documentation": "\n The actions to perform for an APPROVED
proposal to invite an Amazon Web Services account to create a member and join the network.\n
\n The actions to perform for an APPROVED
proposal to remove a member from the network, which deletes the member and all associated member resources from the network. \n
\n The actions to carry out if a proposal is APPROVED
.\n
Applies only to Hyperledger Fabric.
" + } + }, + "com.amazonaws.managedblockchain#ProposalDurationInt": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 168 + } + } + }, + "com.amazonaws.managedblockchain#ProposalListMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.managedblockchain#ProposalStatus": { + "type": "enum", + "members": { + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + }, + "APPROVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APPROVED" + } + }, + "REJECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REJECTED" + } + }, + "EXPIRED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXPIRED" + } + }, + "ACTION_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTION_FAILED" + } + } + } + }, + "com.amazonaws.managedblockchain#ProposalSummary": { + "type": "structure", + "members": { + "ProposalId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "\n The unique identifier of the proposal.\n
" + } + }, + "Description": { + "target": "com.amazonaws.managedblockchain#DescriptionString", + "traits": { + "smithy.api#documentation": "\n The description of the proposal.\n
" + } + }, + "ProposedByMemberId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "\n The unique identifier of the member that created the proposal.\n
" + } + }, + "ProposedByMemberName": { + "target": "com.amazonaws.managedblockchain#NetworkMemberNameString", + "traits": { + "smithy.api#documentation": "\n The name of the member that created the proposal.\n
" + } + }, + "Status": { + "target": "com.amazonaws.managedblockchain#ProposalStatus", + "traits": { + "smithy.api#documentation": "The status of the proposal. Values are as follows:
\n\n IN_PROGRESS
- The proposal is active and open for member voting.
\n APPROVED
- The proposal was approved with sufficient YES
votes among members according to the VotingPolicy
specified for the Network
. The specified proposal actions are carried out.
\n REJECTED
- The proposal was rejected with insufficient YES
votes among members according to the VotingPolicy
specified for the Network
. The specified ProposalActions
aren't carried out.
\n EXPIRED
- Members didn't cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions
aren't carried out.
\n ACTION_FAILED
- One or more of the specified ProposalActions
in a proposal that was approved couldn't be completed because of an error.
\n The date and time that the proposal was created.\n
" + } + }, + "ExpirationDate": { + "target": "com.amazonaws.managedblockchain#Timestamp", + "traits": { + "smithy.api#documentation": "\n The date and time that the proposal expires. This is the CreationDate
plus the ProposalDurationInHours
that is specified in the ProposalThresholdPolicy
. After this date and time, if members haven't cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED
and Actions
aren't carried out.\n
The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Properties of a proposal.
\nApplies only to Hyperledger Fabric.
" + } + }, + "com.amazonaws.managedblockchain#ProposalSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.managedblockchain#ProposalSummary" + } + }, + "com.amazonaws.managedblockchain#ProposalVoteList": { + "type": "list", + "member": { + "target": "com.amazonaws.managedblockchain#VoteSummary" + } + }, + "com.amazonaws.managedblockchain#RejectInvitation": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#RejectInvitationInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#RejectInvitationOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#IllegalActionException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Rejects an invitation to join a network. This action can be called by a principal in an Amazon Web Services account that has received an invitation to create a member and join a network.
\nApplies only to Hyperledger Fabric.
", + "smithy.api#http": { + "method": "DELETE", + "uri": "/invitations/{InvitationId}", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#RejectInvitationInput": { + "type": "structure", + "members": { + "InvitationId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the invitation to reject.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#RejectInvitationOutput": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#RemoveAction": { + "type": "structure", + "members": { + "MemberId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the member to remove.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An action to remove a member from a Managed Blockchain network as the result of a removal proposal that is APPROVED
. The member and all associated resources are deleted from the network.
Applies only to Hyperledger Fabric.
" + } + }, + "com.amazonaws.managedblockchain#RemoveActionList": { + "type": "list", + "member": { + "target": "com.amazonaws.managedblockchain#RemoveAction" + } + }, + "com.amazonaws.managedblockchain#ResourceAlreadyExistsException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.managedblockchain#String" + } + }, + "traits": { + "smithy.api#documentation": "A resource request is issued for a resource that already exists.
", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.managedblockchain#ResourceIdString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 32 + } + } + }, + "com.amazonaws.managedblockchain#ResourceLimitExceededException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.managedblockchain#String" + } + }, + "traits": { + "smithy.api#documentation": "The maximum number of resources of that type already exist. Ensure the resources requested \n are within the boundaries of the service edition and your account limits.
", + "smithy.api#error": "client", + "smithy.api#httpError": 429 + } + }, + "com.amazonaws.managedblockchain#ResourceNotFoundException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.managedblockchain#String" + }, + "ResourceName": { + "target": "com.amazonaws.managedblockchain#ArnString", + "traits": { + "smithy.api#documentation": "A requested resource doesn't exist. It may have been deleted or referenced inaccurately.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.managedblockchain#ResourceNotReadyException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.managedblockchain#String" + } + }, + "traits": { + "smithy.api#documentation": "The requested resource exists but isn't in a status that can complete the operation.
", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.managedblockchain#StateDBType": { + "type": "enum", + "members": { + "LevelDB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LevelDB" + } + }, + "CouchDB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CouchDB" + } + } + } + }, + "com.amazonaws.managedblockchain#String": { + "type": "string" + }, + "com.amazonaws.managedblockchain#TagKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + } + } + }, + "com.amazonaws.managedblockchain#TagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.managedblockchain#TagKey" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 200 + } + } + }, + "com.amazonaws.managedblockchain#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#TagResourceRequest" + }, + "output": { + "target": "com.amazonaws.managedblockchain#TagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotReadyException" + }, + { + "target": "com.amazonaws.managedblockchain#TooManyTagsException" + } + ], + "traits": { + "smithy.api#documentation": "Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource. Each tag consists of a key and optional value.
\nWhen you specify a tag key that already exists, the tag value is overwritten with the new value. Use UntagResource
to remove tag keys.
A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, your request fails and returns an error.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
", + "smithy.api#http": { + "method": "POST", + "uri": "/tags/{ResourceArn}", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#TagResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.managedblockchain#ArnString", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.managedblockchain#InputTagMap", + "traits": { + "smithy.api#documentation": "The tags to assign to the specified resource. Tag values can be empty, for example, \"MyTagKey\" : \"\"
. You can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.
The unique identifier of the proposal.
" - } - }, - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the network for which the proposal is made.
" - } - }, - "Description": { - "target": "com.amazonaws.managedblockchain#DescriptionString", - "traits": { - "smithy.api#documentation": "The description of the proposal.
" - } - }, - "Actions": { - "target": "com.amazonaws.managedblockchain#ProposalActions", - "traits": { - "smithy.api#documentation": "The actions to perform on the network if the proposal is APPROVED
.
The unique identifier of the member that created the proposal.
" - } - }, - "ProposedByMemberName": { - "target": "com.amazonaws.managedblockchain#NetworkMemberNameString", - "traits": { - "smithy.api#documentation": "The name of the member that created the proposal.
" - } - }, - "Status": { - "target": "com.amazonaws.managedblockchain#ProposalStatus", - "traits": { - "smithy.api#documentation": "The status of the proposal. Values are as follows:
\n\n IN_PROGRESS
- The proposal is active and open for member voting.
\n APPROVED
- The proposal was approved with sufficient YES
votes among members according to the VotingPolicy
specified for the Network
. The specified proposal actions are carried out.
\n REJECTED
- The proposal was rejected with insufficient YES
votes among members according to the VotingPolicy
specified for the Network
. The specified ProposalActions
aren't carried out.
\n EXPIRED
- Members didn't cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions
aren't carried out.
\n ACTION_FAILED
- One or more of the specified ProposalActions
in a proposal that was approved couldn't be completed because of an error. The ACTION_FAILED
status occurs even if only one ProposalAction fails and other actions are successful.
\n The date and time that the proposal was created.\n
" - } - }, - "ExpirationDate": { - "target": "com.amazonaws.managedblockchain#Timestamp", - "traits": { - "smithy.api#documentation": "\n The date and time that the proposal expires. This is the CreationDate
plus the ProposalDurationInHours
that is specified in the ProposalThresholdPolicy
. After this date and time, if members haven't cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED
and Actions
aren't carried out.\n
\n The current total of YES
votes cast on the proposal by members.\n
\n The current total of NO
votes cast on the proposal by members.\n
\n The number of votes remaining to be cast on the proposal by members. In other words, the number of members minus the sum of YES
votes and NO
votes.\n
Tags assigned to the proposal. Each tag consists of a key and optional value.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
" - } - }, - "Arn": { - "target": "com.amazonaws.managedblockchain#ArnString", - "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Properties of a proposal on a Managed Blockchain network.
\nApplies only to Hyperledger Fabric.
" - } + { + "target": "com.amazonaws.managedblockchain#CreateNetwork" }, - "com.amazonaws.managedblockchain#ProposalActions": { - "type": "structure", - "members": { - "Invitations": { - "target": "com.amazonaws.managedblockchain#InviteActionList", - "traits": { - "smithy.api#documentation": "\n The actions to perform for an APPROVED
proposal to invite an Amazon Web Services account to create a member and join the network.\n
\n The actions to perform for an APPROVED
proposal to remove a member from the network, which deletes the member and all associated member resources from the network. \n
\n The actions to carry out if a proposal is APPROVED
.\n
Applies only to Hyperledger Fabric.
" - } + { + "target": "com.amazonaws.managedblockchain#CreateNode" }, - "com.amazonaws.managedblockchain#ProposalDurationInt": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 168 - } - } + { + "target": "com.amazonaws.managedblockchain#CreateProposal" }, - "com.amazonaws.managedblockchain#ProposalListMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 100 - } - } + { + "target": "com.amazonaws.managedblockchain#DeleteAccessor" }, - "com.amazonaws.managedblockchain#ProposalStatus": { - "type": "enum", - "members": { - "IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "IN_PROGRESS" - } - }, - "APPROVED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "APPROVED" - } - }, - "REJECTED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "REJECTED" - } - }, - "EXPIRED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "EXPIRED" - } - }, - "ACTION_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACTION_FAILED" - } - } - } + { + "target": "com.amazonaws.managedblockchain#DeleteMember" }, - "com.amazonaws.managedblockchain#ProposalSummary": { - "type": "structure", - "members": { - "ProposalId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "\n The unique identifier of the proposal.\n
" - } - }, - "Description": { - "target": "com.amazonaws.managedblockchain#DescriptionString", - "traits": { - "smithy.api#documentation": "\n The description of the proposal.\n
" - } - }, - "ProposedByMemberId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "\n The unique identifier of the member that created the proposal.\n
" - } - }, - "ProposedByMemberName": { - "target": "com.amazonaws.managedblockchain#NetworkMemberNameString", - "traits": { - "smithy.api#documentation": "\n The name of the member that created the proposal.\n
" - } - }, - "Status": { - "target": "com.amazonaws.managedblockchain#ProposalStatus", - "traits": { - "smithy.api#documentation": "The status of the proposal. Values are as follows:
\n\n IN_PROGRESS
- The proposal is active and open for member voting.
\n APPROVED
- The proposal was approved with sufficient YES
votes among members according to the VotingPolicy
specified for the Network
. The specified proposal actions are carried out.
\n REJECTED
- The proposal was rejected with insufficient YES
votes among members according to the VotingPolicy
specified for the Network
. The specified ProposalActions
aren't carried out.
\n EXPIRED
- Members didn't cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions
aren't carried out.
\n ACTION_FAILED
- One or more of the specified ProposalActions
in a proposal that was approved couldn't be completed because of an error.
\n The date and time that the proposal was created.\n
" - } - }, - "ExpirationDate": { - "target": "com.amazonaws.managedblockchain#Timestamp", - "traits": { - "smithy.api#documentation": "\n The date and time that the proposal expires. This is the CreationDate
plus the ProposalDurationInHours
that is specified in the ProposalThresholdPolicy
. After this date and time, if members haven't cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED
and Actions
aren't carried out.\n
The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Properties of a proposal.
\nApplies only to Hyperledger Fabric.
" - } + { + "target": "com.amazonaws.managedblockchain#DeleteNode" }, - "com.amazonaws.managedblockchain#ProposalSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.managedblockchain#ProposalSummary" - } + { + "target": "com.amazonaws.managedblockchain#GetAccessor" }, - "com.amazonaws.managedblockchain#ProposalVoteList": { - "type": "list", - "member": { - "target": "com.amazonaws.managedblockchain#VoteSummary" - } + { + "target": "com.amazonaws.managedblockchain#GetMember" }, - "com.amazonaws.managedblockchain#RejectInvitation": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#RejectInvitationInput" - }, - "output": { - "target": "com.amazonaws.managedblockchain#RejectInvitationOutput" - }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#IllegalActionException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "Rejects an invitation to join a network. This action can be called by a principal in an Amazon Web Services account that has received an invitation to create a member and join a network.
\nApplies only to Hyperledger Fabric.
", - "smithy.api#http": { - "method": "DELETE", - "uri": "/invitations/{InvitationId}", - "code": 200 - } - } + { + "target": "com.amazonaws.managedblockchain#GetNetwork" }, - "com.amazonaws.managedblockchain#RejectInvitationInput": { - "type": "structure", - "members": { - "InvitationId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the invitation to reject.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } + { + "target": "com.amazonaws.managedblockchain#GetNode" }, - "com.amazonaws.managedblockchain#RejectInvitationOutput": { - "type": "structure", - "members": {} - }, - "com.amazonaws.managedblockchain#RemoveAction": { - "type": "structure", - "members": { - "MemberId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the member to remove.
", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "An action to remove a member from a Managed Blockchain network as the result of a removal proposal that is APPROVED
. The member and all associated resources are deleted from the network.
Applies only to Hyperledger Fabric.
" - } + { + "target": "com.amazonaws.managedblockchain#GetProposal" }, - "com.amazonaws.managedblockchain#RemoveActionList": { - "type": "list", - "member": { - "target": "com.amazonaws.managedblockchain#RemoveAction" - } + { + "target": "com.amazonaws.managedblockchain#ListAccessors" }, - "com.amazonaws.managedblockchain#ResourceAlreadyExistsException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.managedblockchain#String" - } - }, - "traits": { - "smithy.api#documentation": "A resource request is issued for a resource that already exists.
", - "smithy.api#error": "client", - "smithy.api#httpError": 409 - } + { + "target": "com.amazonaws.managedblockchain#ListInvitations" }, - "com.amazonaws.managedblockchain#ResourceIdString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 32 - } - } + { + "target": "com.amazonaws.managedblockchain#ListMembers" }, - "com.amazonaws.managedblockchain#ResourceLimitExceededException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.managedblockchain#String" - } - }, - "traits": { - "smithy.api#documentation": "The maximum number of resources of that type already exist. Ensure the resources requested \n are within the boundaries of the service edition and your account limits.
", - "smithy.api#error": "client", - "smithy.api#httpError": 429 - } + { + "target": "com.amazonaws.managedblockchain#ListNetworks" }, - "com.amazonaws.managedblockchain#ResourceNotFoundException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.managedblockchain#String" - }, - "ResourceName": { - "target": "com.amazonaws.managedblockchain#ArnString", - "traits": { - "smithy.api#documentation": "A requested resource doesn't exist. It may have been deleted or referenced inaccurately.
" - } - } - }, - "traits": { - "smithy.api#documentation": "A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
", - "smithy.api#error": "client", - "smithy.api#httpError": 404 - } + { + "target": "com.amazonaws.managedblockchain#ListNodes" }, - "com.amazonaws.managedblockchain#ResourceNotReadyException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.managedblockchain#String" - } - }, - "traits": { - "smithy.api#documentation": "The requested resource exists but isn't in a status that can complete the operation.
", - "smithy.api#error": "client", - "smithy.api#httpError": 409 - } + { + "target": "com.amazonaws.managedblockchain#ListProposals" }, - "com.amazonaws.managedblockchain#StateDBType": { - "type": "enum", - "members": { - "LevelDB": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LevelDB" - } - }, - "CouchDB": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CouchDB" - } - } - } + { + "target": "com.amazonaws.managedblockchain#ListProposalVotes" }, - "com.amazonaws.managedblockchain#String": { - "type": "string" + { + "target": "com.amazonaws.managedblockchain#ListTagsForResource" }, - "com.amazonaws.managedblockchain#TagKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - } - } + { + "target": "com.amazonaws.managedblockchain#RejectInvitation" }, - "com.amazonaws.managedblockchain#TagKeyList": { - "type": "list", - "member": { - "target": "com.amazonaws.managedblockchain#TagKey" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 200 - } - } + { + "target": "com.amazonaws.managedblockchain#TagResource" + }, + { + "target": "com.amazonaws.managedblockchain#UntagResource" + }, + { + "target": "com.amazonaws.managedblockchain#UpdateMember" + }, + { + "target": "com.amazonaws.managedblockchain#UpdateNode" }, - "com.amazonaws.managedblockchain#TagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#TagResourceRequest" + { + "target": "com.amazonaws.managedblockchain#VoteOnProposal" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "ManagedBlockchain", + "arnNamespace": "managedblockchain", + "cloudFormationName": "ManagedBlockchain", + "cloudTrailEventSource": "managedblockchain.amazonaws.com", + "endpointPrefix": "managedblockchain" + }, + "aws.auth#sigv4": { + "name": "managedblockchain" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "\nAmazon Managed Blockchain is a fully managed service for creating and managing blockchain networks using open-source frameworks. Blockchain allows you to build applications where multiple parties can securely and transparently run transactions and share data without the need for a trusted, central authority.
\nManaged Blockchain supports the Hyperledger Fabric and Ethereum open-source frameworks. Because of fundamental differences between the frameworks, some API actions or data types may only apply in the context of one framework and not the other. For example, actions related to Hyperledger Fabric network members such as CreateMember
and DeleteMember
don't apply to Ethereum.
The description for each action indicates the framework or frameworks to which it applies. Data types and properties that apply only in the context of a particular framework are similarly indicated.
", + "smithy.api#title": "Amazon Managed Blockchain", + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" }, - "output": { - "target": "com.amazonaws.managedblockchain#TagResourceResponse" + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotReadyException" - }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ { - "target": "com.amazonaws.managedblockchain#TooManyTagsException" - } - ], - "traits": { - "smithy.api#documentation": "Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource. Each tag consists of a key and optional value.
\nWhen you specify a tag key that already exists, the tag value is overwritten with the new value. Use UntagResource
to remove tag keys.
A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, your request fails and returns an error.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
", - "smithy.api#http": { - "method": "POST", - "uri": "/tags/{ResourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.managedblockchain#TagResourceRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.managedblockchain#ArnString", - "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Tags": { - "target": "com.amazonaws.managedblockchain#InputTagMap", - "traits": { - "smithy.api#documentation": "The tags to assign to the specified resource. Tag values can be empty, for example, \"MyTagKey\" : \"\"
. You can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.
Amazon Managed Blockchain is a fully managed service for creating and managing blockchain networks using open-source frameworks. Blockchain allows you to build applications where multiple parties can securely and transparently run transactions and share data without the need for a trusted, central authority.
\nManaged Blockchain supports the Hyperledger Fabric and Ethereum open-source frameworks. Because of fundamental differences between the frameworks, some API actions or data types may only apply in the context of one framework and not the other. For example, actions related to Hyperledger Fabric network members such as CreateMember
and DeleteMember
don't apply to Ethereum.
The description for each action indicates the framework or frameworks to which it applies. Data types and properties that apply only in the context of a particular framework are similarly indicated.
", - "smithy.api#title": "Amazon Managed Blockchain", - "smithy.rules#endpointRuleSet": { - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "Boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "Boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "String" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://managedblockchain-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://managedblockchain-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://managedblockchain.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ] - }, - { - "conditions": [], - "endpoint": { - "url": "https://managedblockchain.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - "smithy.rules#endpointTests": { - "testCases": [ - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain-fips.eu-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain-fips.eu-west-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain.eu-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain.eu-west-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain-fips.eu-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain-fips.eu-west-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain.eu-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain.eu-west-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain-fips.ap-northeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain-fips.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain.ap-northeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-northeast-2" - } - }, + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain-fips.ap-northeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-northeast-1" - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain-fips.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-northeast-1" - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain.ap-northeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-northeast-1" - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-northeast-1" - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain-fips.us-gov-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-gov-west-1" - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain-fips.us-gov-west-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-gov-west-1" - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain.us-gov-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-gov-west-1" - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain.us-gov-west-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-gov-west-1" - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain-fips.ap-southeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-southeast-1" - } + "ref": "UseFIPS" }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain-fips.ap-southeast-1.amazonaws.com" - } + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-southeast-1" - } + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain.ap-southeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-southeast-1" - } - }, + "ref": "Region" + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-1" + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" } - }, + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain-fips.us-east-1.api.aws" - } + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-1" + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain-fips.us-east-1.amazonaws.com" + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1" - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain.us-east-1.api.aws" + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://managedblockchain-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } + ] }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-1" + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" } + ] }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://managedblockchain.us-east-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-1" + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://managedblockchain-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } + ] }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-1", - "Endpoint": "https://example.com" + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } + ] }, { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://managedblockchain.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1", - "Endpoint": "https://example.com" + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } + ] }, { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-1", - "Endpoint": "https://example.com" + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://managedblockchain.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } + ] } - ], - "version": "1.0" - } - } - }, - "com.amazonaws.managedblockchain#ThresholdComparator": { - "type": "enum", - "members": { - "GREATER_THAN": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GREATER_THAN" + ] } + ] }, - "GREATER_THAN_OR_EQUAL_TO": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GREATER_THAN_OR_EQUAL_TO" - } - } - } - }, - "com.amazonaws.managedblockchain#ThresholdPercentageInt": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 0, - "max": 100 + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } + ] } + ] }, - "com.amazonaws.managedblockchain#ThrottlingException": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "The request or operation couldn't be performed because a service is \n throttling requests. The most common source of throttling errors is \n creating resources that exceed your service limit for this resource type. \n Request a limit increase or delete unused resources if possible.
", - "smithy.api#error": "client", - "smithy.api#httpError": 429 - } - }, - "com.amazonaws.managedblockchain#Timestamp": { - "type": "timestamp", - "traits": { - "smithy.api#timestampFormat": "date-time" - } - }, - "com.amazonaws.managedblockchain#TooManyTagsException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.managedblockchain#ExceptionMessage" - }, - "ResourceName": { - "target": "com.amazonaws.managedblockchain#ArnString", - "traits": { - "smithy.api#documentation": "" - } - } + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-1" + } }, - "traits": { - "smithy.api#documentation": "", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.managedblockchain#UntagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#UntagResourceRequest" + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-2" + } }, - "output": { - "target": "com.amazonaws.managedblockchain#UntagResourceResponse" + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-1" + } }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotReadyException" - } - ], - "traits": { - "smithy.api#documentation": "Removes the specified tags from the Amazon Managed Blockchain resource.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
", - "smithy.api#http": { - "method": "DELETE", - "uri": "/tags/{ResourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.managedblockchain#UntagResourceRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.managedblockchain#ArnString", - "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "TagKeys": { - "target": "com.amazonaws.managedblockchain#TagKeyList", - "traits": { - "smithy.api#documentation": "The tag keys.
", - "smithy.api#httpQuery": "tagKeys", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.managedblockchain#UntagResourceResponse": { - "type": "structure", - "members": {} - }, - "com.amazonaws.managedblockchain#UpdateMember": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#UpdateMemberInput" + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-1" + } }, - "output": { - "target": "com.amazonaws.managedblockchain#UpdateMemberOutput" + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-2" + } }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "Updates a member configuration with new parameters.
\nApplies only to Hyperledger Fabric.
", - "smithy.api#http": { - "method": "PATCH", - "uri": "/networks/{NetworkId}/members/{MemberId}", - "code": 200 - } - } - }, - "com.amazonaws.managedblockchain#UpdateMemberInput": { - "type": "structure", - "members": { - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the Managed Blockchain network to which the member belongs.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MemberId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the member.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "LogPublishingConfiguration": { - "target": "com.amazonaws.managedblockchain#MemberLogPublishingConfiguration", - "traits": { - "smithy.api#documentation": "Configuration properties for publishing to Amazon CloudWatch Logs.
" - } - } - } - }, - "com.amazonaws.managedblockchain#UpdateMemberOutput": { - "type": "structure", - "members": {} - }, - "com.amazonaws.managedblockchain#UpdateNode": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#UpdateNodeInput" + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1" + } }, - "output": { - "target": "com.amazonaws.managedblockchain#UpdateNodeOutput" + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain-fips.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-east-1" + } }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "Updates a node configuration with new parameters.
\nApplies only to Hyperledger Fabric.
", - "smithy.api#http": { - "method": "PATCH", - "uri": "/networks/{NetworkId}/nodes/{NodeId}", - "code": 200 - } - } - }, - "com.amazonaws.managedblockchain#UpdateNodeInput": { - "type": "structure", - "members": { - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the network that the node is on.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MemberId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the member that owns the node.
\nApplies only to Hyperledger Fabric.
" - } - }, - "NodeId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the node.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "LogPublishingConfiguration": { - "target": "com.amazonaws.managedblockchain#NodeLogPublishingConfiguration", - "traits": { - "smithy.api#documentation": "Configuration properties for publishing to Amazon CloudWatch Logs.
" - } - } - } - }, - "com.amazonaws.managedblockchain#UpdateNodeOutput": { - "type": "structure", - "members": {} - }, - "com.amazonaws.managedblockchain#UsernameString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 16 - }, - "smithy.api#pattern": "^[a-zA-Z][a-zA-Z0-9]*$" - } - }, - "com.amazonaws.managedblockchain#VoteCount": { - "type": "integer" - }, - "com.amazonaws.managedblockchain#VoteOnProposal": { - "type": "operation", - "input": { - "target": "com.amazonaws.managedblockchain#VoteOnProposalInput" + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1" + } }, - "output": { - "target": "com.amazonaws.managedblockchain#VoteOnProposalOutput" + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1" + } }, - "errors": [ - { - "target": "com.amazonaws.managedblockchain#AccessDeniedException" - }, - { - "target": "com.amazonaws.managedblockchain#IllegalActionException" - }, - { - "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" - }, - { - "target": "com.amazonaws.managedblockchain#InvalidRequestException" - }, - { - "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.managedblockchain#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "Casts a vote for a specified ProposalId
on behalf of a member. The member to vote as, specified by VoterMemberId
, must be in the same Amazon Web Services account as the principal that calls the action.
Applies only to Hyperledger Fabric.
", - "smithy.api#http": { - "method": "POST", - "uri": "/networks/{NetworkId}/proposals/{ProposalId}/votes", - "code": 200 - } - } - }, - "com.amazonaws.managedblockchain#VoteOnProposalInput": { - "type": "structure", - "members": { - "NetworkId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "\n The unique identifier of the network.\n
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ProposalId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "\n The unique identifier of the proposal.\n
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "VoterMemberId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "The unique identifier of the member casting the vote.\n
", - "smithy.api#required": {} - } - }, - "Vote": { - "target": "com.amazonaws.managedblockchain#VoteValue", - "traits": { - "smithy.api#documentation": "\n The value of the vote.\n
", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.managedblockchain#VoteOnProposalOutput": { - "type": "structure", - "members": {} - }, - "com.amazonaws.managedblockchain#VoteSummary": { - "type": "structure", - "members": { - "Vote": { - "target": "com.amazonaws.managedblockchain#VoteValue", - "traits": { - "smithy.api#documentation": "\n The vote value, either YES
or NO
.\n
\n The name of the member that cast the vote.\n
" - } - }, - "MemberId": { - "target": "com.amazonaws.managedblockchain#ResourceIdString", - "traits": { - "smithy.api#documentation": "\n The unique identifier of the member that cast the vote.\n
" - } - } + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "cn-north-1" + } }, - "traits": { - "smithy.api#documentation": "\n Properties of an individual vote that a member cast for a proposal.\n
\nApplies only to Hyperledger Fabric.
" - } - }, - "com.amazonaws.managedblockchain#VoteValue": { - "type": "enum", - "members": { - "YES": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "YES" - } - }, - "NO": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "NO" - } - } - } - }, - "com.amazonaws.managedblockchain#VotingPolicy": { - "type": "structure", - "members": { - "ApprovalThresholdPolicy": { - "target": "com.amazonaws.managedblockchain#ApprovalThresholdPolicy", - "traits": { - "smithy.api#documentation": "Defines the rules for the network for voting on proposals, such as the percentage of YES
votes required for the proposal to be approved and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.
\n The voting rules for the network to decide if a proposal is accepted\n
\nApplies only to Hyperledger Fabric.
" - } + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain.us-gov-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://managedblockchain.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" + } + } + }, + "com.amazonaws.managedblockchain#ThresholdComparator": { + "type": "enum", + "members": { + "GREATER_THAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GREATER_THAN" + } + }, + "GREATER_THAN_OR_EQUAL_TO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GREATER_THAN_OR_EQUAL_TO" + } + } + } + }, + "com.amazonaws.managedblockchain#ThresholdPercentageInt": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.managedblockchain#ThrottlingException": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#documentation": "The request or operation couldn't be performed because a service is \n throttling requests. The most common source of throttling errors is \n creating resources that exceed your service limit for this resource type. \n Request a limit increase or delete unused resources if possible.
", + "smithy.api#error": "client", + "smithy.api#httpError": 429 + } + }, + "com.amazonaws.managedblockchain#Timestamp": { + "type": "timestamp", + "traits": { + "smithy.api#timestampFormat": "date-time" + } + }, + "com.amazonaws.managedblockchain#TooManyTagsException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.managedblockchain#ExceptionMessage" + }, + "ResourceName": { + "target": "com.amazonaws.managedblockchain#ArnString", + "traits": { + "smithy.api#documentation": "" + } + } + }, + "traits": { + "smithy.api#documentation": "", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.managedblockchain#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#UntagResourceRequest" + }, + "output": { + "target": "com.amazonaws.managedblockchain#UntagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotReadyException" + } + ], + "traits": { + "smithy.api#documentation": "Removes the specified tags from the Amazon Managed Blockchain resource.
\nFor more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
", + "smithy.api#http": { + "method": "DELETE", + "uri": "/tags/{ResourceArn}", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#UntagResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.managedblockchain#ArnString", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "TagKeys": { + "target": "com.amazonaws.managedblockchain#TagKeyList", + "traits": { + "smithy.api#documentation": "The tag keys.
", + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#UntagResourceResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#UpdateMember": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#UpdateMemberInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#UpdateMemberOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Updates a member configuration with new parameters.
\nApplies only to Hyperledger Fabric.
", + "smithy.api#http": { + "method": "PATCH", + "uri": "/networks/{NetworkId}/members/{MemberId}", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#UpdateMemberInput": { + "type": "structure", + "members": { + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the Managed Blockchain network to which the member belongs.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "MemberId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the member.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "LogPublishingConfiguration": { + "target": "com.amazonaws.managedblockchain#MemberLogPublishingConfiguration", + "traits": { + "smithy.api#documentation": "Configuration properties for publishing to Amazon CloudWatch Logs.
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#UpdateMemberOutput": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#UpdateNode": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#UpdateNodeInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#UpdateNodeOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Updates a node configuration with new parameters.
\nApplies only to Hyperledger Fabric.
", + "smithy.api#http": { + "method": "PATCH", + "uri": "/networks/{NetworkId}/nodes/{NodeId}", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#UpdateNodeInput": { + "type": "structure", + "members": { + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the network that the node is on.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "MemberId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the member that owns the node.
\nApplies only to Hyperledger Fabric.
" + } + }, + "NodeId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the node.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "LogPublishingConfiguration": { + "target": "com.amazonaws.managedblockchain#NodeLogPublishingConfiguration", + "traits": { + "smithy.api#documentation": "Configuration properties for publishing to Amazon CloudWatch Logs.
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#UpdateNodeOutput": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#UsernameString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 16 + }, + "smithy.api#pattern": "^[a-zA-Z][a-zA-Z0-9]*$" + } + }, + "com.amazonaws.managedblockchain#VoteCount": { + "type": "integer" + }, + "com.amazonaws.managedblockchain#VoteOnProposal": { + "type": "operation", + "input": { + "target": "com.amazonaws.managedblockchain#VoteOnProposalInput" + }, + "output": { + "target": "com.amazonaws.managedblockchain#VoteOnProposalOutput" + }, + "errors": [ + { + "target": "com.amazonaws.managedblockchain#AccessDeniedException" + }, + { + "target": "com.amazonaws.managedblockchain#IllegalActionException" + }, + { + "target": "com.amazonaws.managedblockchain#InternalServiceErrorException" + }, + { + "target": "com.amazonaws.managedblockchain#InvalidRequestException" + }, + { + "target": "com.amazonaws.managedblockchain#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.managedblockchain#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Casts a vote for a specified ProposalId
on behalf of a member. The member to vote as, specified by VoterMemberId
, must be in the same Amazon Web Services account as the principal that calls the action.
Applies only to Hyperledger Fabric.
", + "smithy.api#http": { + "method": "POST", + "uri": "/networks/{NetworkId}/proposals/{ProposalId}/votes", + "code": 200 + } + } + }, + "com.amazonaws.managedblockchain#VoteOnProposalInput": { + "type": "structure", + "members": { + "NetworkId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "\n The unique identifier of the network.\n
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "ProposalId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "\n The unique identifier of the proposal.\n
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "VoterMemberId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "The unique identifier of the member casting the vote.\n
", + "smithy.api#required": {} + } + }, + "Vote": { + "target": "com.amazonaws.managedblockchain#VoteValue", + "traits": { + "smithy.api#documentation": "\n The value of the vote.\n
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.managedblockchain#VoteOnProposalOutput": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.managedblockchain#VoteSummary": { + "type": "structure", + "members": { + "Vote": { + "target": "com.amazonaws.managedblockchain#VoteValue", + "traits": { + "smithy.api#documentation": "\n The vote value, either YES
or NO
.\n
\n The name of the member that cast the vote.\n
" + } + }, + "MemberId": { + "target": "com.amazonaws.managedblockchain#ResourceIdString", + "traits": { + "smithy.api#documentation": "\n The unique identifier of the member that cast the vote.\n
" + } + } + }, + "traits": { + "smithy.api#documentation": "\n Properties of an individual vote that a member cast for a proposal.\n
\nApplies only to Hyperledger Fabric.
" + } + }, + "com.amazonaws.managedblockchain#VoteValue": { + "type": "enum", + "members": { + "YES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "YES" + } + }, + "NO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NO" + } + } + } + }, + "com.amazonaws.managedblockchain#VotingPolicy": { + "type": "structure", + "members": { + "ApprovalThresholdPolicy": { + "target": "com.amazonaws.managedblockchain#ApprovalThresholdPolicy", + "traits": { + "smithy.api#documentation": "Defines the rules for the network for voting on proposals, such as the percentage of YES
votes required for the proposal to be approved and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.
\n The voting rules for the network to decide if a proposal is accepted\n
\nApplies only to Hyperledger Fabric.
" + } } + } }