aws-sdk-managedblockchain 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-managedblockchain.rb +47 -0
- data/lib/aws-sdk-managedblockchain/client.rb +1153 -0
- data/lib/aws-sdk-managedblockchain/client_api.rb +750 -0
- data/lib/aws-sdk-managedblockchain/customizations.rb +0 -0
- data/lib/aws-sdk-managedblockchain/errors.rb +14 -0
- data/lib/aws-sdk-managedblockchain/resource.rb +23 -0
- data/lib/aws-sdk-managedblockchain/types.rb +1897 -0
- metadata +88 -0
@@ -0,0 +1,750 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::ManagedBlockchain
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
15
|
+
ApprovalThresholdPolicy = Shapes::StructureShape.new(name: 'ApprovalThresholdPolicy')
|
16
|
+
AvailabilityZoneString = Shapes::StringShape.new(name: 'AvailabilityZoneString')
|
17
|
+
ClientRequestTokenString = Shapes::StringShape.new(name: 'ClientRequestTokenString')
|
18
|
+
CreateMemberInput = Shapes::StructureShape.new(name: 'CreateMemberInput')
|
19
|
+
CreateMemberOutput = Shapes::StructureShape.new(name: 'CreateMemberOutput')
|
20
|
+
CreateNetworkInput = Shapes::StructureShape.new(name: 'CreateNetworkInput')
|
21
|
+
CreateNetworkOutput = Shapes::StructureShape.new(name: 'CreateNetworkOutput')
|
22
|
+
CreateNodeInput = Shapes::StructureShape.new(name: 'CreateNodeInput')
|
23
|
+
CreateNodeOutput = Shapes::StructureShape.new(name: 'CreateNodeOutput')
|
24
|
+
CreateProposalInput = Shapes::StructureShape.new(name: 'CreateProposalInput')
|
25
|
+
CreateProposalOutput = Shapes::StructureShape.new(name: 'CreateProposalOutput')
|
26
|
+
DeleteMemberInput = Shapes::StructureShape.new(name: 'DeleteMemberInput')
|
27
|
+
DeleteMemberOutput = Shapes::StructureShape.new(name: 'DeleteMemberOutput')
|
28
|
+
DeleteNodeInput = Shapes::StructureShape.new(name: 'DeleteNodeInput')
|
29
|
+
DeleteNodeOutput = Shapes::StructureShape.new(name: 'DeleteNodeOutput')
|
30
|
+
DescriptionString = Shapes::StringShape.new(name: 'DescriptionString')
|
31
|
+
Edition = Shapes::StringShape.new(name: 'Edition')
|
32
|
+
Framework = Shapes::StringShape.new(name: 'Framework')
|
33
|
+
FrameworkVersionString = Shapes::StringShape.new(name: 'FrameworkVersionString')
|
34
|
+
GetMemberInput = Shapes::StructureShape.new(name: 'GetMemberInput')
|
35
|
+
GetMemberOutput = Shapes::StructureShape.new(name: 'GetMemberOutput')
|
36
|
+
GetNetworkInput = Shapes::StructureShape.new(name: 'GetNetworkInput')
|
37
|
+
GetNetworkOutput = Shapes::StructureShape.new(name: 'GetNetworkOutput')
|
38
|
+
GetNodeInput = Shapes::StructureShape.new(name: 'GetNodeInput')
|
39
|
+
GetNodeOutput = Shapes::StructureShape.new(name: 'GetNodeOutput')
|
40
|
+
GetProposalInput = Shapes::StructureShape.new(name: 'GetProposalInput')
|
41
|
+
GetProposalOutput = Shapes::StructureShape.new(name: 'GetProposalOutput')
|
42
|
+
IllegalActionException = Shapes::StructureShape.new(name: 'IllegalActionException')
|
43
|
+
InstanceTypeString = Shapes::StringShape.new(name: 'InstanceTypeString')
|
44
|
+
InternalServiceErrorException = Shapes::StructureShape.new(name: 'InternalServiceErrorException')
|
45
|
+
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
46
|
+
Invitation = Shapes::StructureShape.new(name: 'Invitation')
|
47
|
+
InvitationList = Shapes::ListShape.new(name: 'InvitationList')
|
48
|
+
InvitationStatus = Shapes::StringShape.new(name: 'InvitationStatus')
|
49
|
+
InviteAction = Shapes::StructureShape.new(name: 'InviteAction')
|
50
|
+
InviteActionList = Shapes::ListShape.new(name: 'InviteActionList')
|
51
|
+
IsOwned = Shapes::BooleanShape.new(name: 'IsOwned')
|
52
|
+
ListInvitationsInput = Shapes::StructureShape.new(name: 'ListInvitationsInput')
|
53
|
+
ListInvitationsOutput = Shapes::StructureShape.new(name: 'ListInvitationsOutput')
|
54
|
+
ListMembersInput = Shapes::StructureShape.new(name: 'ListMembersInput')
|
55
|
+
ListMembersOutput = Shapes::StructureShape.new(name: 'ListMembersOutput')
|
56
|
+
ListNetworksInput = Shapes::StructureShape.new(name: 'ListNetworksInput')
|
57
|
+
ListNetworksOutput = Shapes::StructureShape.new(name: 'ListNetworksOutput')
|
58
|
+
ListNodesInput = Shapes::StructureShape.new(name: 'ListNodesInput')
|
59
|
+
ListNodesOutput = Shapes::StructureShape.new(name: 'ListNodesOutput')
|
60
|
+
ListProposalVotesInput = Shapes::StructureShape.new(name: 'ListProposalVotesInput')
|
61
|
+
ListProposalVotesOutput = Shapes::StructureShape.new(name: 'ListProposalVotesOutput')
|
62
|
+
ListProposalsInput = Shapes::StructureShape.new(name: 'ListProposalsInput')
|
63
|
+
ListProposalsOutput = Shapes::StructureShape.new(name: 'ListProposalsOutput')
|
64
|
+
Member = Shapes::StructureShape.new(name: 'Member')
|
65
|
+
MemberConfiguration = Shapes::StructureShape.new(name: 'MemberConfiguration')
|
66
|
+
MemberFabricAttributes = Shapes::StructureShape.new(name: 'MemberFabricAttributes')
|
67
|
+
MemberFabricConfiguration = Shapes::StructureShape.new(name: 'MemberFabricConfiguration')
|
68
|
+
MemberFrameworkAttributes = Shapes::StructureShape.new(name: 'MemberFrameworkAttributes')
|
69
|
+
MemberFrameworkConfiguration = Shapes::StructureShape.new(name: 'MemberFrameworkConfiguration')
|
70
|
+
MemberListMaxResults = Shapes::IntegerShape.new(name: 'MemberListMaxResults')
|
71
|
+
MemberStatus = Shapes::StringShape.new(name: 'MemberStatus')
|
72
|
+
MemberSummary = Shapes::StructureShape.new(name: 'MemberSummary')
|
73
|
+
MemberSummaryList = Shapes::ListShape.new(name: 'MemberSummaryList')
|
74
|
+
NameString = Shapes::StringShape.new(name: 'NameString')
|
75
|
+
Network = Shapes::StructureShape.new(name: 'Network')
|
76
|
+
NetworkFabricAttributes = Shapes::StructureShape.new(name: 'NetworkFabricAttributes')
|
77
|
+
NetworkFabricConfiguration = Shapes::StructureShape.new(name: 'NetworkFabricConfiguration')
|
78
|
+
NetworkFrameworkAttributes = Shapes::StructureShape.new(name: 'NetworkFrameworkAttributes')
|
79
|
+
NetworkFrameworkConfiguration = Shapes::StructureShape.new(name: 'NetworkFrameworkConfiguration')
|
80
|
+
NetworkListMaxResults = Shapes::IntegerShape.new(name: 'NetworkListMaxResults')
|
81
|
+
NetworkMemberNameString = Shapes::StringShape.new(name: 'NetworkMemberNameString')
|
82
|
+
NetworkStatus = Shapes::StringShape.new(name: 'NetworkStatus')
|
83
|
+
NetworkSummary = Shapes::StructureShape.new(name: 'NetworkSummary')
|
84
|
+
NetworkSummaryList = Shapes::ListShape.new(name: 'NetworkSummaryList')
|
85
|
+
Node = Shapes::StructureShape.new(name: 'Node')
|
86
|
+
NodeConfiguration = Shapes::StructureShape.new(name: 'NodeConfiguration')
|
87
|
+
NodeFabricAttributes = Shapes::StructureShape.new(name: 'NodeFabricAttributes')
|
88
|
+
NodeFrameworkAttributes = Shapes::StructureShape.new(name: 'NodeFrameworkAttributes')
|
89
|
+
NodeListMaxResults = Shapes::IntegerShape.new(name: 'NodeListMaxResults')
|
90
|
+
NodeStatus = Shapes::StringShape.new(name: 'NodeStatus')
|
91
|
+
NodeSummary = Shapes::StructureShape.new(name: 'NodeSummary')
|
92
|
+
NodeSummaryList = Shapes::ListShape.new(name: 'NodeSummaryList')
|
93
|
+
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
94
|
+
PasswordString = Shapes::StringShape.new(name: 'PasswordString')
|
95
|
+
PrincipalString = Shapes::StringShape.new(name: 'PrincipalString')
|
96
|
+
Proposal = Shapes::StructureShape.new(name: 'Proposal')
|
97
|
+
ProposalActions = Shapes::StructureShape.new(name: 'ProposalActions')
|
98
|
+
ProposalDurationInt = Shapes::IntegerShape.new(name: 'ProposalDurationInt')
|
99
|
+
ProposalListMaxResults = Shapes::IntegerShape.new(name: 'ProposalListMaxResults')
|
100
|
+
ProposalStatus = Shapes::StringShape.new(name: 'ProposalStatus')
|
101
|
+
ProposalSummary = Shapes::StructureShape.new(name: 'ProposalSummary')
|
102
|
+
ProposalSummaryList = Shapes::ListShape.new(name: 'ProposalSummaryList')
|
103
|
+
ProposalVoteList = Shapes::ListShape.new(name: 'ProposalVoteList')
|
104
|
+
RejectInvitationInput = Shapes::StructureShape.new(name: 'RejectInvitationInput')
|
105
|
+
RejectInvitationOutput = Shapes::StructureShape.new(name: 'RejectInvitationOutput')
|
106
|
+
RemoveAction = Shapes::StructureShape.new(name: 'RemoveAction')
|
107
|
+
RemoveActionList = Shapes::ListShape.new(name: 'RemoveActionList')
|
108
|
+
ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
|
109
|
+
ResourceIdString = Shapes::StringShape.new(name: 'ResourceIdString')
|
110
|
+
ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
|
111
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
112
|
+
ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
|
113
|
+
String = Shapes::StringShape.new(name: 'String')
|
114
|
+
ThresholdComparator = Shapes::StringShape.new(name: 'ThresholdComparator')
|
115
|
+
ThresholdPercentageInt = Shapes::IntegerShape.new(name: 'ThresholdPercentageInt')
|
116
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
117
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
|
118
|
+
UsernameString = Shapes::StringShape.new(name: 'UsernameString')
|
119
|
+
VoteCount = Shapes::IntegerShape.new(name: 'VoteCount')
|
120
|
+
VoteOnProposalInput = Shapes::StructureShape.new(name: 'VoteOnProposalInput')
|
121
|
+
VoteOnProposalOutput = Shapes::StructureShape.new(name: 'VoteOnProposalOutput')
|
122
|
+
VoteSummary = Shapes::StructureShape.new(name: 'VoteSummary')
|
123
|
+
VoteValue = Shapes::StringShape.new(name: 'VoteValue')
|
124
|
+
VotingPolicy = Shapes::StructureShape.new(name: 'VotingPolicy')
|
125
|
+
|
126
|
+
ApprovalThresholdPolicy.add_member(:threshold_percentage, Shapes::ShapeRef.new(shape: ThresholdPercentageInt, location_name: "ThresholdPercentage"))
|
127
|
+
ApprovalThresholdPolicy.add_member(:proposal_duration_in_hours, Shapes::ShapeRef.new(shape: ProposalDurationInt, location_name: "ProposalDurationInHours"))
|
128
|
+
ApprovalThresholdPolicy.add_member(:threshold_comparator, Shapes::ShapeRef.new(shape: ThresholdComparator, location_name: "ThresholdComparator"))
|
129
|
+
ApprovalThresholdPolicy.struct_class = Types::ApprovalThresholdPolicy
|
130
|
+
|
131
|
+
CreateMemberInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
132
|
+
CreateMemberInput.add_member(:invitation_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location_name: "InvitationId"))
|
133
|
+
CreateMemberInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
134
|
+
CreateMemberInput.add_member(:member_configuration, Shapes::ShapeRef.new(shape: MemberConfiguration, required: true, location_name: "MemberConfiguration"))
|
135
|
+
CreateMemberInput.struct_class = Types::CreateMemberInput
|
136
|
+
|
137
|
+
CreateMemberOutput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "MemberId"))
|
138
|
+
CreateMemberOutput.struct_class = Types::CreateMemberOutput
|
139
|
+
|
140
|
+
CreateNetworkInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
141
|
+
CreateNetworkInput.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
142
|
+
CreateNetworkInput.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
143
|
+
CreateNetworkInput.add_member(:framework, Shapes::ShapeRef.new(shape: Framework, required: true, location_name: "Framework"))
|
144
|
+
CreateNetworkInput.add_member(:framework_version, Shapes::ShapeRef.new(shape: FrameworkVersionString, required: true, location_name: "FrameworkVersion"))
|
145
|
+
CreateNetworkInput.add_member(:framework_configuration, Shapes::ShapeRef.new(shape: NetworkFrameworkConfiguration, location_name: "FrameworkConfiguration"))
|
146
|
+
CreateNetworkInput.add_member(:voting_policy, Shapes::ShapeRef.new(shape: VotingPolicy, required: true, location_name: "VotingPolicy"))
|
147
|
+
CreateNetworkInput.add_member(:member_configuration, Shapes::ShapeRef.new(shape: MemberConfiguration, required: true, location_name: "MemberConfiguration"))
|
148
|
+
CreateNetworkInput.struct_class = Types::CreateNetworkInput
|
149
|
+
|
150
|
+
CreateNetworkOutput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "NetworkId"))
|
151
|
+
CreateNetworkOutput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "MemberId"))
|
152
|
+
CreateNetworkOutput.struct_class = Types::CreateNetworkOutput
|
153
|
+
|
154
|
+
CreateNodeInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
155
|
+
CreateNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
156
|
+
CreateNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
|
157
|
+
CreateNodeInput.add_member(:node_configuration, Shapes::ShapeRef.new(shape: NodeConfiguration, required: true, location_name: "NodeConfiguration"))
|
158
|
+
CreateNodeInput.struct_class = Types::CreateNodeInput
|
159
|
+
|
160
|
+
CreateNodeOutput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "NodeId"))
|
161
|
+
CreateNodeOutput.struct_class = Types::CreateNodeOutput
|
162
|
+
|
163
|
+
CreateProposalInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
164
|
+
CreateProposalInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
165
|
+
CreateProposalInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location_name: "MemberId"))
|
166
|
+
CreateProposalInput.add_member(:actions, Shapes::ShapeRef.new(shape: ProposalActions, required: true, location_name: "Actions"))
|
167
|
+
CreateProposalInput.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
168
|
+
CreateProposalInput.struct_class = Types::CreateProposalInput
|
169
|
+
|
170
|
+
CreateProposalOutput.add_member(:proposal_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "ProposalId"))
|
171
|
+
CreateProposalOutput.struct_class = Types::CreateProposalOutput
|
172
|
+
|
173
|
+
DeleteMemberInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
174
|
+
DeleteMemberInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
|
175
|
+
DeleteMemberInput.struct_class = Types::DeleteMemberInput
|
176
|
+
|
177
|
+
DeleteMemberOutput.struct_class = Types::DeleteMemberOutput
|
178
|
+
|
179
|
+
DeleteNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
180
|
+
DeleteNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
|
181
|
+
DeleteNodeInput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "nodeId"))
|
182
|
+
DeleteNodeInput.struct_class = Types::DeleteNodeInput
|
183
|
+
|
184
|
+
DeleteNodeOutput.struct_class = Types::DeleteNodeOutput
|
185
|
+
|
186
|
+
GetMemberInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
187
|
+
GetMemberInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
|
188
|
+
GetMemberInput.struct_class = Types::GetMemberInput
|
189
|
+
|
190
|
+
GetMemberOutput.add_member(:member, Shapes::ShapeRef.new(shape: Member, location_name: "Member"))
|
191
|
+
GetMemberOutput.struct_class = Types::GetMemberOutput
|
192
|
+
|
193
|
+
GetNetworkInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
194
|
+
GetNetworkInput.struct_class = Types::GetNetworkInput
|
195
|
+
|
196
|
+
GetNetworkOutput.add_member(:network, Shapes::ShapeRef.new(shape: Network, location_name: "Network"))
|
197
|
+
GetNetworkOutput.struct_class = Types::GetNetworkOutput
|
198
|
+
|
199
|
+
GetNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
200
|
+
GetNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
|
201
|
+
GetNodeInput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "nodeId"))
|
202
|
+
GetNodeInput.struct_class = Types::GetNodeInput
|
203
|
+
|
204
|
+
GetNodeOutput.add_member(:node, Shapes::ShapeRef.new(shape: Node, location_name: "Node"))
|
205
|
+
GetNodeOutput.struct_class = Types::GetNodeOutput
|
206
|
+
|
207
|
+
GetProposalInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
208
|
+
GetProposalInput.add_member(:proposal_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "proposalId"))
|
209
|
+
GetProposalInput.struct_class = Types::GetProposalInput
|
210
|
+
|
211
|
+
GetProposalOutput.add_member(:proposal, Shapes::ShapeRef.new(shape: Proposal, location_name: "Proposal"))
|
212
|
+
GetProposalOutput.struct_class = Types::GetProposalOutput
|
213
|
+
|
214
|
+
Invitation.add_member(:invitation_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "InvitationId"))
|
215
|
+
Invitation.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
216
|
+
Invitation.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationDate"))
|
217
|
+
Invitation.add_member(:status, Shapes::ShapeRef.new(shape: InvitationStatus, location_name: "Status"))
|
218
|
+
Invitation.add_member(:network_summary, Shapes::ShapeRef.new(shape: NetworkSummary, location_name: "NetworkSummary"))
|
219
|
+
Invitation.struct_class = Types::Invitation
|
220
|
+
|
221
|
+
InvitationList.member = Shapes::ShapeRef.new(shape: Invitation)
|
222
|
+
|
223
|
+
InviteAction.add_member(:principal, Shapes::ShapeRef.new(shape: PrincipalString, required: true, location_name: "Principal"))
|
224
|
+
InviteAction.struct_class = Types::InviteAction
|
225
|
+
|
226
|
+
InviteActionList.member = Shapes::ShapeRef.new(shape: InviteAction)
|
227
|
+
|
228
|
+
ListInvitationsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ProposalListMaxResults, location: "querystring", location_name: "maxResults"))
|
229
|
+
ListInvitationsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
230
|
+
ListInvitationsInput.struct_class = Types::ListInvitationsInput
|
231
|
+
|
232
|
+
ListInvitationsOutput.add_member(:invitations, Shapes::ShapeRef.new(shape: InvitationList, location_name: "Invitations"))
|
233
|
+
ListInvitationsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
234
|
+
ListInvitationsOutput.struct_class = Types::ListInvitationsOutput
|
235
|
+
|
236
|
+
ListMembersInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
237
|
+
ListMembersInput.add_member(:name, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "name"))
|
238
|
+
ListMembersInput.add_member(:status, Shapes::ShapeRef.new(shape: MemberStatus, location: "querystring", location_name: "status"))
|
239
|
+
ListMembersInput.add_member(:is_owned, Shapes::ShapeRef.new(shape: IsOwned, location: "querystring", location_name: "isOwned"))
|
240
|
+
ListMembersInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MemberListMaxResults, location: "querystring", location_name: "maxResults"))
|
241
|
+
ListMembersInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
242
|
+
ListMembersInput.struct_class = Types::ListMembersInput
|
243
|
+
|
244
|
+
ListMembersOutput.add_member(:members, Shapes::ShapeRef.new(shape: MemberSummaryList, location_name: "Members"))
|
245
|
+
ListMembersOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
246
|
+
ListMembersOutput.struct_class = Types::ListMembersOutput
|
247
|
+
|
248
|
+
ListNetworksInput.add_member(:name, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "name"))
|
249
|
+
ListNetworksInput.add_member(:framework, Shapes::ShapeRef.new(shape: Framework, location: "querystring", location_name: "framework"))
|
250
|
+
ListNetworksInput.add_member(:status, Shapes::ShapeRef.new(shape: NetworkStatus, location: "querystring", location_name: "status"))
|
251
|
+
ListNetworksInput.add_member(:max_results, Shapes::ShapeRef.new(shape: NetworkListMaxResults, location: "querystring", location_name: "maxResults"))
|
252
|
+
ListNetworksInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
253
|
+
ListNetworksInput.struct_class = Types::ListNetworksInput
|
254
|
+
|
255
|
+
ListNetworksOutput.add_member(:networks, Shapes::ShapeRef.new(shape: NetworkSummaryList, location_name: "Networks"))
|
256
|
+
ListNetworksOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
257
|
+
ListNetworksOutput.struct_class = Types::ListNetworksOutput
|
258
|
+
|
259
|
+
ListNodesInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
260
|
+
ListNodesInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
|
261
|
+
ListNodesInput.add_member(:status, Shapes::ShapeRef.new(shape: NodeStatus, location: "querystring", location_name: "status"))
|
262
|
+
ListNodesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: NodeListMaxResults, location: "querystring", location_name: "maxResults"))
|
263
|
+
ListNodesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
264
|
+
ListNodesInput.struct_class = Types::ListNodesInput
|
265
|
+
|
266
|
+
ListNodesOutput.add_member(:nodes, Shapes::ShapeRef.new(shape: NodeSummaryList, location_name: "Nodes"))
|
267
|
+
ListNodesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
268
|
+
ListNodesOutput.struct_class = Types::ListNodesOutput
|
269
|
+
|
270
|
+
ListProposalVotesInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
271
|
+
ListProposalVotesInput.add_member(:proposal_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "proposalId"))
|
272
|
+
ListProposalVotesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ProposalListMaxResults, location: "querystring", location_name: "maxResults"))
|
273
|
+
ListProposalVotesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
274
|
+
ListProposalVotesInput.struct_class = Types::ListProposalVotesInput
|
275
|
+
|
276
|
+
ListProposalVotesOutput.add_member(:proposal_votes, Shapes::ShapeRef.new(shape: ProposalVoteList, location_name: "ProposalVotes"))
|
277
|
+
ListProposalVotesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
278
|
+
ListProposalVotesOutput.struct_class = Types::ListProposalVotesOutput
|
279
|
+
|
280
|
+
ListProposalsInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
281
|
+
ListProposalsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ProposalListMaxResults, location: "querystring", location_name: "maxResults"))
|
282
|
+
ListProposalsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
283
|
+
ListProposalsInput.struct_class = Types::ListProposalsInput
|
284
|
+
|
285
|
+
ListProposalsOutput.add_member(:proposals, Shapes::ShapeRef.new(shape: ProposalSummaryList, location_name: "Proposals"))
|
286
|
+
ListProposalsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
287
|
+
ListProposalsOutput.struct_class = Types::ListProposalsOutput
|
288
|
+
|
289
|
+
Member.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "NetworkId"))
|
290
|
+
Member.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "Id"))
|
291
|
+
Member.add_member(:name, Shapes::ShapeRef.new(shape: NetworkMemberNameString, location_name: "Name"))
|
292
|
+
Member.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
293
|
+
Member.add_member(:framework_attributes, Shapes::ShapeRef.new(shape: MemberFrameworkAttributes, location_name: "FrameworkAttributes"))
|
294
|
+
Member.add_member(:status, Shapes::ShapeRef.new(shape: MemberStatus, location_name: "Status"))
|
295
|
+
Member.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
296
|
+
Member.struct_class = Types::Member
|
297
|
+
|
298
|
+
MemberConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: NetworkMemberNameString, required: true, location_name: "Name"))
|
299
|
+
MemberConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
300
|
+
MemberConfiguration.add_member(:framework_configuration, Shapes::ShapeRef.new(shape: MemberFrameworkConfiguration, required: true, location_name: "FrameworkConfiguration"))
|
301
|
+
MemberConfiguration.struct_class = Types::MemberConfiguration
|
302
|
+
|
303
|
+
MemberFabricAttributes.add_member(:admin_username, Shapes::ShapeRef.new(shape: UsernameString, location_name: "AdminUsername"))
|
304
|
+
MemberFabricAttributes.add_member(:ca_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "CaEndpoint"))
|
305
|
+
MemberFabricAttributes.struct_class = Types::MemberFabricAttributes
|
306
|
+
|
307
|
+
MemberFabricConfiguration.add_member(:admin_username, Shapes::ShapeRef.new(shape: UsernameString, required: true, location_name: "AdminUsername"))
|
308
|
+
MemberFabricConfiguration.add_member(:admin_password, Shapes::ShapeRef.new(shape: PasswordString, required: true, location_name: "AdminPassword"))
|
309
|
+
MemberFabricConfiguration.struct_class = Types::MemberFabricConfiguration
|
310
|
+
|
311
|
+
MemberFrameworkAttributes.add_member(:fabric, Shapes::ShapeRef.new(shape: MemberFabricAttributes, location_name: "Fabric"))
|
312
|
+
MemberFrameworkAttributes.struct_class = Types::MemberFrameworkAttributes
|
313
|
+
|
314
|
+
MemberFrameworkConfiguration.add_member(:fabric, Shapes::ShapeRef.new(shape: MemberFabricConfiguration, location_name: "Fabric"))
|
315
|
+
MemberFrameworkConfiguration.struct_class = Types::MemberFrameworkConfiguration
|
316
|
+
|
317
|
+
MemberSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "Id"))
|
318
|
+
MemberSummary.add_member(:name, Shapes::ShapeRef.new(shape: NetworkMemberNameString, location_name: "Name"))
|
319
|
+
MemberSummary.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
320
|
+
MemberSummary.add_member(:status, Shapes::ShapeRef.new(shape: MemberStatus, location_name: "Status"))
|
321
|
+
MemberSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
322
|
+
MemberSummary.add_member(:is_owned, Shapes::ShapeRef.new(shape: IsOwned, location_name: "IsOwned"))
|
323
|
+
MemberSummary.struct_class = Types::MemberSummary
|
324
|
+
|
325
|
+
MemberSummaryList.member = Shapes::ShapeRef.new(shape: MemberSummary)
|
326
|
+
|
327
|
+
Network.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "Id"))
|
328
|
+
Network.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
|
329
|
+
Network.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
330
|
+
Network.add_member(:framework, Shapes::ShapeRef.new(shape: Framework, location_name: "Framework"))
|
331
|
+
Network.add_member(:framework_version, Shapes::ShapeRef.new(shape: FrameworkVersionString, location_name: "FrameworkVersion"))
|
332
|
+
Network.add_member(:framework_attributes, Shapes::ShapeRef.new(shape: NetworkFrameworkAttributes, location_name: "FrameworkAttributes"))
|
333
|
+
Network.add_member(:vpc_endpoint_service_name, Shapes::ShapeRef.new(shape: String, location_name: "VpcEndpointServiceName"))
|
334
|
+
Network.add_member(:voting_policy, Shapes::ShapeRef.new(shape: VotingPolicy, location_name: "VotingPolicy"))
|
335
|
+
Network.add_member(:status, Shapes::ShapeRef.new(shape: NetworkStatus, location_name: "Status"))
|
336
|
+
Network.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
337
|
+
Network.struct_class = Types::Network
|
338
|
+
|
339
|
+
NetworkFabricAttributes.add_member(:ordering_service_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "OrderingServiceEndpoint"))
|
340
|
+
NetworkFabricAttributes.add_member(:edition, Shapes::ShapeRef.new(shape: Edition, location_name: "Edition"))
|
341
|
+
NetworkFabricAttributes.struct_class = Types::NetworkFabricAttributes
|
342
|
+
|
343
|
+
NetworkFabricConfiguration.add_member(:edition, Shapes::ShapeRef.new(shape: Edition, required: true, location_name: "Edition"))
|
344
|
+
NetworkFabricConfiguration.struct_class = Types::NetworkFabricConfiguration
|
345
|
+
|
346
|
+
NetworkFrameworkAttributes.add_member(:fabric, Shapes::ShapeRef.new(shape: NetworkFabricAttributes, location_name: "Fabric"))
|
347
|
+
NetworkFrameworkAttributes.struct_class = Types::NetworkFrameworkAttributes
|
348
|
+
|
349
|
+
NetworkFrameworkConfiguration.add_member(:fabric, Shapes::ShapeRef.new(shape: NetworkFabricConfiguration, location_name: "Fabric"))
|
350
|
+
NetworkFrameworkConfiguration.struct_class = Types::NetworkFrameworkConfiguration
|
351
|
+
|
352
|
+
NetworkSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "Id"))
|
353
|
+
NetworkSummary.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
|
354
|
+
NetworkSummary.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
355
|
+
NetworkSummary.add_member(:framework, Shapes::ShapeRef.new(shape: Framework, location_name: "Framework"))
|
356
|
+
NetworkSummary.add_member(:framework_version, Shapes::ShapeRef.new(shape: FrameworkVersionString, location_name: "FrameworkVersion"))
|
357
|
+
NetworkSummary.add_member(:status, Shapes::ShapeRef.new(shape: NetworkStatus, location_name: "Status"))
|
358
|
+
NetworkSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
359
|
+
NetworkSummary.struct_class = Types::NetworkSummary
|
360
|
+
|
361
|
+
NetworkSummaryList.member = Shapes::ShapeRef.new(shape: NetworkSummary)
|
362
|
+
|
363
|
+
Node.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "NetworkId"))
|
364
|
+
Node.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "MemberId"))
|
365
|
+
Node.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "Id"))
|
366
|
+
Node.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceTypeString, location_name: "InstanceType"))
|
367
|
+
Node.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneString, location_name: "AvailabilityZone"))
|
368
|
+
Node.add_member(:framework_attributes, Shapes::ShapeRef.new(shape: NodeFrameworkAttributes, location_name: "FrameworkAttributes"))
|
369
|
+
Node.add_member(:status, Shapes::ShapeRef.new(shape: NodeStatus, location_name: "Status"))
|
370
|
+
Node.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
371
|
+
Node.struct_class = Types::Node
|
372
|
+
|
373
|
+
NodeConfiguration.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceTypeString, required: true, location_name: "InstanceType"))
|
374
|
+
NodeConfiguration.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneString, required: true, location_name: "AvailabilityZone"))
|
375
|
+
NodeConfiguration.struct_class = Types::NodeConfiguration
|
376
|
+
|
377
|
+
NodeFabricAttributes.add_member(:peer_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "PeerEndpoint"))
|
378
|
+
NodeFabricAttributes.add_member(:peer_event_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "PeerEventEndpoint"))
|
379
|
+
NodeFabricAttributes.struct_class = Types::NodeFabricAttributes
|
380
|
+
|
381
|
+
NodeFrameworkAttributes.add_member(:fabric, Shapes::ShapeRef.new(shape: NodeFabricAttributes, location_name: "Fabric"))
|
382
|
+
NodeFrameworkAttributes.struct_class = Types::NodeFrameworkAttributes
|
383
|
+
|
384
|
+
NodeSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "Id"))
|
385
|
+
NodeSummary.add_member(:status, Shapes::ShapeRef.new(shape: NodeStatus, location_name: "Status"))
|
386
|
+
NodeSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
387
|
+
NodeSummary.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneString, location_name: "AvailabilityZone"))
|
388
|
+
NodeSummary.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceTypeString, location_name: "InstanceType"))
|
389
|
+
NodeSummary.struct_class = Types::NodeSummary
|
390
|
+
|
391
|
+
NodeSummaryList.member = Shapes::ShapeRef.new(shape: NodeSummary)
|
392
|
+
|
393
|
+
Proposal.add_member(:proposal_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "ProposalId"))
|
394
|
+
Proposal.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "NetworkId"))
|
395
|
+
Proposal.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
396
|
+
Proposal.add_member(:actions, Shapes::ShapeRef.new(shape: ProposalActions, location_name: "Actions"))
|
397
|
+
Proposal.add_member(:proposed_by_member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "ProposedByMemberId"))
|
398
|
+
Proposal.add_member(:proposed_by_member_name, Shapes::ShapeRef.new(shape: NetworkMemberNameString, location_name: "ProposedByMemberName"))
|
399
|
+
Proposal.add_member(:status, Shapes::ShapeRef.new(shape: ProposalStatus, location_name: "Status"))
|
400
|
+
Proposal.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
401
|
+
Proposal.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationDate"))
|
402
|
+
Proposal.add_member(:yes_vote_count, Shapes::ShapeRef.new(shape: VoteCount, location_name: "YesVoteCount"))
|
403
|
+
Proposal.add_member(:no_vote_count, Shapes::ShapeRef.new(shape: VoteCount, location_name: "NoVoteCount"))
|
404
|
+
Proposal.add_member(:outstanding_vote_count, Shapes::ShapeRef.new(shape: VoteCount, location_name: "OutstandingVoteCount"))
|
405
|
+
Proposal.struct_class = Types::Proposal
|
406
|
+
|
407
|
+
ProposalActions.add_member(:invitations, Shapes::ShapeRef.new(shape: InviteActionList, location_name: "Invitations"))
|
408
|
+
ProposalActions.add_member(:removals, Shapes::ShapeRef.new(shape: RemoveActionList, location_name: "Removals"))
|
409
|
+
ProposalActions.struct_class = Types::ProposalActions
|
410
|
+
|
411
|
+
ProposalSummary.add_member(:proposal_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "ProposalId"))
|
412
|
+
ProposalSummary.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
413
|
+
ProposalSummary.add_member(:proposed_by_member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "ProposedByMemberId"))
|
414
|
+
ProposalSummary.add_member(:proposed_by_member_name, Shapes::ShapeRef.new(shape: NetworkMemberNameString, location_name: "ProposedByMemberName"))
|
415
|
+
ProposalSummary.add_member(:status, Shapes::ShapeRef.new(shape: ProposalStatus, location_name: "Status"))
|
416
|
+
ProposalSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
417
|
+
ProposalSummary.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationDate"))
|
418
|
+
ProposalSummary.struct_class = Types::ProposalSummary
|
419
|
+
|
420
|
+
ProposalSummaryList.member = Shapes::ShapeRef.new(shape: ProposalSummary)
|
421
|
+
|
422
|
+
ProposalVoteList.member = Shapes::ShapeRef.new(shape: VoteSummary)
|
423
|
+
|
424
|
+
RejectInvitationInput.add_member(:invitation_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "invitationId"))
|
425
|
+
RejectInvitationInput.struct_class = Types::RejectInvitationInput
|
426
|
+
|
427
|
+
RejectInvitationOutput.struct_class = Types::RejectInvitationOutput
|
428
|
+
|
429
|
+
RemoveAction.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location_name: "MemberId"))
|
430
|
+
RemoveAction.struct_class = Types::RemoveAction
|
431
|
+
|
432
|
+
RemoveActionList.member = Shapes::ShapeRef.new(shape: RemoveAction)
|
433
|
+
|
434
|
+
VoteOnProposalInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
435
|
+
VoteOnProposalInput.add_member(:proposal_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "proposalId"))
|
436
|
+
VoteOnProposalInput.add_member(:voter_member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location_name: "VoterMemberId"))
|
437
|
+
VoteOnProposalInput.add_member(:vote, Shapes::ShapeRef.new(shape: VoteValue, required: true, location_name: "Vote"))
|
438
|
+
VoteOnProposalInput.struct_class = Types::VoteOnProposalInput
|
439
|
+
|
440
|
+
VoteOnProposalOutput.struct_class = Types::VoteOnProposalOutput
|
441
|
+
|
442
|
+
VoteSummary.add_member(:vote, Shapes::ShapeRef.new(shape: VoteValue, location_name: "Vote"))
|
443
|
+
VoteSummary.add_member(:member_name, Shapes::ShapeRef.new(shape: NetworkMemberNameString, location_name: "MemberName"))
|
444
|
+
VoteSummary.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "MemberId"))
|
445
|
+
VoteSummary.struct_class = Types::VoteSummary
|
446
|
+
|
447
|
+
VotingPolicy.add_member(:approval_threshold_policy, Shapes::ShapeRef.new(shape: ApprovalThresholdPolicy, location_name: "ApprovalThresholdPolicy"))
|
448
|
+
VotingPolicy.struct_class = Types::VotingPolicy
|
449
|
+
|
450
|
+
|
451
|
+
# @api private
|
452
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
453
|
+
|
454
|
+
api.version = "2018-09-24"
|
455
|
+
|
456
|
+
api.metadata = {
|
457
|
+
"apiVersion" => "2018-09-24",
|
458
|
+
"endpointPrefix" => "managedblockchain",
|
459
|
+
"jsonVersion" => "1.1",
|
460
|
+
"protocol" => "rest-json",
|
461
|
+
"serviceAbbreviation" => "ManagedBlockchain",
|
462
|
+
"serviceFullName" => "Amazon Managed Blockchain",
|
463
|
+
"serviceId" => "ManagedBlockchain",
|
464
|
+
"signatureVersion" => "v4",
|
465
|
+
"signingName" => "managedblockchain",
|
466
|
+
"uid" => "managedblockchain-2018-09-24",
|
467
|
+
}
|
468
|
+
|
469
|
+
api.add_operation(:create_member, Seahorse::Model::Operation.new.tap do |o|
|
470
|
+
o.name = "CreateMember"
|
471
|
+
o.http_method = "POST"
|
472
|
+
o.http_request_uri = "/networks/{networkId}/members"
|
473
|
+
o.input = Shapes::ShapeRef.new(shape: CreateMemberInput)
|
474
|
+
o.output = Shapes::ShapeRef.new(shape: CreateMemberOutput)
|
475
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
476
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
477
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
478
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
479
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
480
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
481
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
482
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
483
|
+
end)
|
484
|
+
|
485
|
+
api.add_operation(:create_network, Seahorse::Model::Operation.new.tap do |o|
|
486
|
+
o.name = "CreateNetwork"
|
487
|
+
o.http_method = "POST"
|
488
|
+
o.http_request_uri = "/networks"
|
489
|
+
o.input = Shapes::ShapeRef.new(shape: CreateNetworkInput)
|
490
|
+
o.output = Shapes::ShapeRef.new(shape: CreateNetworkOutput)
|
491
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
492
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
493
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
494
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
495
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
496
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
497
|
+
end)
|
498
|
+
|
499
|
+
api.add_operation(:create_node, Seahorse::Model::Operation.new.tap do |o|
|
500
|
+
o.name = "CreateNode"
|
501
|
+
o.http_method = "POST"
|
502
|
+
o.http_request_uri = "/networks/{networkId}/members/{memberId}/nodes"
|
503
|
+
o.input = Shapes::ShapeRef.new(shape: CreateNodeInput)
|
504
|
+
o.output = Shapes::ShapeRef.new(shape: CreateNodeOutput)
|
505
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
506
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
507
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
508
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
509
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
510
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
511
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
513
|
+
end)
|
514
|
+
|
515
|
+
api.add_operation(:create_proposal, Seahorse::Model::Operation.new.tap do |o|
|
516
|
+
o.name = "CreateProposal"
|
517
|
+
o.http_method = "POST"
|
518
|
+
o.http_request_uri = "/networks/{networkId}/proposals"
|
519
|
+
o.input = Shapes::ShapeRef.new(shape: CreateProposalInput)
|
520
|
+
o.output = Shapes::ShapeRef.new(shape: CreateProposalOutput)
|
521
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
522
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
523
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
524
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
525
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
526
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
527
|
+
end)
|
528
|
+
|
529
|
+
api.add_operation(:delete_member, Seahorse::Model::Operation.new.tap do |o|
|
530
|
+
o.name = "DeleteMember"
|
531
|
+
o.http_method = "DELETE"
|
532
|
+
o.http_request_uri = "/networks/{networkId}/members/{memberId}"
|
533
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteMemberInput)
|
534
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteMemberOutput)
|
535
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
539
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
540
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
541
|
+
end)
|
542
|
+
|
543
|
+
api.add_operation(:delete_node, Seahorse::Model::Operation.new.tap do |o|
|
544
|
+
o.name = "DeleteNode"
|
545
|
+
o.http_method = "DELETE"
|
546
|
+
o.http_request_uri = "/networks/{networkId}/members/{memberId}/nodes/{nodeId}"
|
547
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteNodeInput)
|
548
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteNodeOutput)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
553
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
554
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
555
|
+
end)
|
556
|
+
|
557
|
+
api.add_operation(:get_member, Seahorse::Model::Operation.new.tap do |o|
|
558
|
+
o.name = "GetMember"
|
559
|
+
o.http_method = "GET"
|
560
|
+
o.http_request_uri = "/networks/{networkId}/members/{memberId}"
|
561
|
+
o.input = Shapes::ShapeRef.new(shape: GetMemberInput)
|
562
|
+
o.output = Shapes::ShapeRef.new(shape: GetMemberOutput)
|
563
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
564
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
565
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
566
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
567
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
568
|
+
end)
|
569
|
+
|
570
|
+
api.add_operation(:get_network, Seahorse::Model::Operation.new.tap do |o|
|
571
|
+
o.name = "GetNetwork"
|
572
|
+
o.http_method = "GET"
|
573
|
+
o.http_request_uri = "/networks/{networkId}"
|
574
|
+
o.input = Shapes::ShapeRef.new(shape: GetNetworkInput)
|
575
|
+
o.output = Shapes::ShapeRef.new(shape: GetNetworkOutput)
|
576
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
577
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
579
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
580
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
581
|
+
end)
|
582
|
+
|
583
|
+
api.add_operation(:get_node, Seahorse::Model::Operation.new.tap do |o|
|
584
|
+
o.name = "GetNode"
|
585
|
+
o.http_method = "GET"
|
586
|
+
o.http_request_uri = "/networks/{networkId}/members/{memberId}/nodes/{nodeId}"
|
587
|
+
o.input = Shapes::ShapeRef.new(shape: GetNodeInput)
|
588
|
+
o.output = Shapes::ShapeRef.new(shape: GetNodeOutput)
|
589
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
590
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
591
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
592
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
593
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
594
|
+
end)
|
595
|
+
|
596
|
+
api.add_operation(:get_proposal, Seahorse::Model::Operation.new.tap do |o|
|
597
|
+
o.name = "GetProposal"
|
598
|
+
o.http_method = "GET"
|
599
|
+
o.http_request_uri = "/networks/{networkId}/proposals/{proposalId}"
|
600
|
+
o.input = Shapes::ShapeRef.new(shape: GetProposalInput)
|
601
|
+
o.output = Shapes::ShapeRef.new(shape: GetProposalOutput)
|
602
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
605
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
606
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
607
|
+
end)
|
608
|
+
|
609
|
+
api.add_operation(:list_invitations, Seahorse::Model::Operation.new.tap do |o|
|
610
|
+
o.name = "ListInvitations"
|
611
|
+
o.http_method = "GET"
|
612
|
+
o.http_request_uri = "/invitations"
|
613
|
+
o.input = Shapes::ShapeRef.new(shape: ListInvitationsInput)
|
614
|
+
o.output = Shapes::ShapeRef.new(shape: ListInvitationsOutput)
|
615
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
616
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
617
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
618
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
619
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
620
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
621
|
+
o[:pager] = Aws::Pager.new(
|
622
|
+
limit_key: "max_results",
|
623
|
+
tokens: {
|
624
|
+
"next_token" => "next_token"
|
625
|
+
}
|
626
|
+
)
|
627
|
+
end)
|
628
|
+
|
629
|
+
api.add_operation(:list_members, Seahorse::Model::Operation.new.tap do |o|
|
630
|
+
o.name = "ListMembers"
|
631
|
+
o.http_method = "GET"
|
632
|
+
o.http_request_uri = "/networks/{networkId}/members"
|
633
|
+
o.input = Shapes::ShapeRef.new(shape: ListMembersInput)
|
634
|
+
o.output = Shapes::ShapeRef.new(shape: ListMembersOutput)
|
635
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
636
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
637
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
638
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
639
|
+
o[:pager] = Aws::Pager.new(
|
640
|
+
limit_key: "max_results",
|
641
|
+
tokens: {
|
642
|
+
"next_token" => "next_token"
|
643
|
+
}
|
644
|
+
)
|
645
|
+
end)
|
646
|
+
|
647
|
+
api.add_operation(:list_networks, Seahorse::Model::Operation.new.tap do |o|
|
648
|
+
o.name = "ListNetworks"
|
649
|
+
o.http_method = "GET"
|
650
|
+
o.http_request_uri = "/networks"
|
651
|
+
o.input = Shapes::ShapeRef.new(shape: ListNetworksInput)
|
652
|
+
o.output = Shapes::ShapeRef.new(shape: ListNetworksOutput)
|
653
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
654
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
655
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
656
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
657
|
+
o[:pager] = Aws::Pager.new(
|
658
|
+
limit_key: "max_results",
|
659
|
+
tokens: {
|
660
|
+
"next_token" => "next_token"
|
661
|
+
}
|
662
|
+
)
|
663
|
+
end)
|
664
|
+
|
665
|
+
api.add_operation(:list_nodes, Seahorse::Model::Operation.new.tap do |o|
|
666
|
+
o.name = "ListNodes"
|
667
|
+
o.http_method = "GET"
|
668
|
+
o.http_request_uri = "/networks/{networkId}/members/{memberId}/nodes"
|
669
|
+
o.input = Shapes::ShapeRef.new(shape: ListNodesInput)
|
670
|
+
o.output = Shapes::ShapeRef.new(shape: ListNodesOutput)
|
671
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
672
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
673
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
674
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
675
|
+
o[:pager] = Aws::Pager.new(
|
676
|
+
limit_key: "max_results",
|
677
|
+
tokens: {
|
678
|
+
"next_token" => "next_token"
|
679
|
+
}
|
680
|
+
)
|
681
|
+
end)
|
682
|
+
|
683
|
+
api.add_operation(:list_proposal_votes, Seahorse::Model::Operation.new.tap do |o|
|
684
|
+
o.name = "ListProposalVotes"
|
685
|
+
o.http_method = "GET"
|
686
|
+
o.http_request_uri = "/networks/{networkId}/proposals/{proposalId}/votes"
|
687
|
+
o.input = Shapes::ShapeRef.new(shape: ListProposalVotesInput)
|
688
|
+
o.output = Shapes::ShapeRef.new(shape: ListProposalVotesOutput)
|
689
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
690
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
691
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
692
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
693
|
+
o[:pager] = Aws::Pager.new(
|
694
|
+
limit_key: "max_results",
|
695
|
+
tokens: {
|
696
|
+
"next_token" => "next_token"
|
697
|
+
}
|
698
|
+
)
|
699
|
+
end)
|
700
|
+
|
701
|
+
api.add_operation(:list_proposals, Seahorse::Model::Operation.new.tap do |o|
|
702
|
+
o.name = "ListProposals"
|
703
|
+
o.http_method = "GET"
|
704
|
+
o.http_request_uri = "/networks/{networkId}/proposals"
|
705
|
+
o.input = Shapes::ShapeRef.new(shape: ListProposalsInput)
|
706
|
+
o.output = Shapes::ShapeRef.new(shape: ListProposalsOutput)
|
707
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
708
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
709
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
710
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
711
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
712
|
+
o[:pager] = Aws::Pager.new(
|
713
|
+
limit_key: "max_results",
|
714
|
+
tokens: {
|
715
|
+
"next_token" => "next_token"
|
716
|
+
}
|
717
|
+
)
|
718
|
+
end)
|
719
|
+
|
720
|
+
api.add_operation(:reject_invitation, Seahorse::Model::Operation.new.tap do |o|
|
721
|
+
o.name = "RejectInvitation"
|
722
|
+
o.http_method = "DELETE"
|
723
|
+
o.http_request_uri = "/invitations/{invitationId}"
|
724
|
+
o.input = Shapes::ShapeRef.new(shape: RejectInvitationInput)
|
725
|
+
o.output = Shapes::ShapeRef.new(shape: RejectInvitationOutput)
|
726
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
727
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalActionException)
|
728
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
729
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
730
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
731
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
732
|
+
end)
|
733
|
+
|
734
|
+
api.add_operation(:vote_on_proposal, Seahorse::Model::Operation.new.tap do |o|
|
735
|
+
o.name = "VoteOnProposal"
|
736
|
+
o.http_method = "POST"
|
737
|
+
o.http_request_uri = "/networks/{networkId}/proposals/{proposalId}/votes"
|
738
|
+
o.input = Shapes::ShapeRef.new(shape: VoteOnProposalInput)
|
739
|
+
o.output = Shapes::ShapeRef.new(shape: VoteOnProposalOutput)
|
740
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
741
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalActionException)
|
742
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
743
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
744
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
745
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
746
|
+
end)
|
747
|
+
end
|
748
|
+
|
749
|
+
end
|
750
|
+
end
|