aws-sdk-managedblockchain 1.16.0 → 1.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,7 @@ module Aws::ManagedBlockchain
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
17
  ApprovalThresholdPolicy = Shapes::StructureShape.new(name: 'ApprovalThresholdPolicy')
18
+ ArnString = Shapes::StringShape.new(name: 'ArnString')
18
19
  AvailabilityZoneString = Shapes::StringShape.new(name: 'AvailabilityZoneString')
19
20
  ClientRequestTokenString = Shapes::StringShape.new(name: 'ClientRequestTokenString')
20
21
  CreateMemberInput = Shapes::StructureShape.new(name: 'CreateMemberInput')
@@ -32,6 +33,7 @@ module Aws::ManagedBlockchain
32
33
  DescriptionString = Shapes::StringShape.new(name: 'DescriptionString')
33
34
  Edition = Shapes::StringShape.new(name: 'Edition')
34
35
  Enabled = Shapes::BooleanShape.new(name: 'Enabled')
36
+ ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
35
37
  Framework = Shapes::StringShape.new(name: 'Framework')
36
38
  FrameworkVersionString = Shapes::StringShape.new(name: 'FrameworkVersionString')
37
39
  GetMemberInput = Shapes::StructureShape.new(name: 'GetMemberInput')
@@ -43,6 +45,7 @@ module Aws::ManagedBlockchain
43
45
  GetProposalInput = Shapes::StructureShape.new(name: 'GetProposalInput')
44
46
  GetProposalOutput = Shapes::StructureShape.new(name: 'GetProposalOutput')
45
47
  IllegalActionException = Shapes::StructureShape.new(name: 'IllegalActionException')
48
+ InputTagMap = Shapes::MapShape.new(name: 'InputTagMap')
46
49
  InstanceTypeString = Shapes::StringShape.new(name: 'InstanceTypeString')
47
50
  InternalServiceErrorException = Shapes::StructureShape.new(name: 'InternalServiceErrorException')
48
51
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
@@ -64,6 +67,8 @@ module Aws::ManagedBlockchain
64
67
  ListProposalVotesOutput = Shapes::StructureShape.new(name: 'ListProposalVotesOutput')
65
68
  ListProposalsInput = Shapes::StructureShape.new(name: 'ListProposalsInput')
66
69
  ListProposalsOutput = Shapes::StructureShape.new(name: 'ListProposalsOutput')
70
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
71
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
67
72
  LogConfiguration = Shapes::StructureShape.new(name: 'LogConfiguration')
68
73
  LogConfigurations = Shapes::StructureShape.new(name: 'LogConfigurations')
69
74
  Member = Shapes::StructureShape.new(name: 'Member')
@@ -80,6 +85,7 @@ module Aws::ManagedBlockchain
80
85
  MemberSummaryList = Shapes::ListShape.new(name: 'MemberSummaryList')
81
86
  NameString = Shapes::StringShape.new(name: 'NameString')
82
87
  Network = Shapes::StructureShape.new(name: 'Network')
88
+ NetworkEthereumAttributes = Shapes::StructureShape.new(name: 'NetworkEthereumAttributes')
83
89
  NetworkFabricAttributes = Shapes::StructureShape.new(name: 'NetworkFabricAttributes')
84
90
  NetworkFabricConfiguration = Shapes::StructureShape.new(name: 'NetworkFabricConfiguration')
85
91
  NetworkFrameworkAttributes = Shapes::StructureShape.new(name: 'NetworkFrameworkAttributes')
@@ -91,6 +97,7 @@ module Aws::ManagedBlockchain
91
97
  NetworkSummaryList = Shapes::ListShape.new(name: 'NetworkSummaryList')
92
98
  Node = Shapes::StructureShape.new(name: 'Node')
93
99
  NodeConfiguration = Shapes::StructureShape.new(name: 'NodeConfiguration')
100
+ NodeEthereumAttributes = Shapes::StructureShape.new(name: 'NodeEthereumAttributes')
94
101
  NodeFabricAttributes = Shapes::StructureShape.new(name: 'NodeFabricAttributes')
95
102
  NodeFabricLogPublishingConfiguration = Shapes::StructureShape.new(name: 'NodeFabricLogPublishingConfiguration')
96
103
  NodeFrameworkAttributes = Shapes::StructureShape.new(name: 'NodeFrameworkAttributes')
@@ -99,6 +106,7 @@ module Aws::ManagedBlockchain
99
106
  NodeStatus = Shapes::StringShape.new(name: 'NodeStatus')
100
107
  NodeSummary = Shapes::StructureShape.new(name: 'NodeSummary')
101
108
  NodeSummaryList = Shapes::ListShape.new(name: 'NodeSummaryList')
109
+ OutputTagMap = Shapes::MapShape.new(name: 'OutputTagMap')
102
110
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
103
111
  PasswordString = Shapes::StringShape.new(name: 'PasswordString')
104
112
  PrincipalString = Shapes::StringShape.new(name: 'PrincipalString')
@@ -121,10 +129,18 @@ module Aws::ManagedBlockchain
121
129
  ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
122
130
  StateDBType = Shapes::StringShape.new(name: 'StateDBType')
123
131
  String = Shapes::StringShape.new(name: 'String')
132
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
133
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
134
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
135
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
136
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
124
137
  ThresholdComparator = Shapes::StringShape.new(name: 'ThresholdComparator')
125
138
  ThresholdPercentageInt = Shapes::IntegerShape.new(name: 'ThresholdPercentageInt')
126
139
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
127
140
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
141
+ TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
142
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
143
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
128
144
  UpdateMemberInput = Shapes::StructureShape.new(name: 'UpdateMemberInput')
129
145
  UpdateMemberOutput = Shapes::StructureShape.new(name: 'UpdateMemberOutput')
130
146
  UpdateNodeInput = Shapes::StructureShape.new(name: 'UpdateNodeInput')
@@ -137,6 +153,7 @@ module Aws::ManagedBlockchain
137
153
  VoteValue = Shapes::StringShape.new(name: 'VoteValue')
138
154
  VotingPolicy = Shapes::StructureShape.new(name: 'VotingPolicy')
139
155
 
156
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
140
157
  AccessDeniedException.struct_class = Types::AccessDeniedException
141
158
 
142
159
  ApprovalThresholdPolicy.add_member(:threshold_percentage, Shapes::ShapeRef.new(shape: ThresholdPercentageInt, location_name: "ThresholdPercentage"))
@@ -161,6 +178,7 @@ module Aws::ManagedBlockchain
161
178
  CreateNetworkInput.add_member(:framework_configuration, Shapes::ShapeRef.new(shape: NetworkFrameworkConfiguration, location_name: "FrameworkConfiguration"))
162
179
  CreateNetworkInput.add_member(:voting_policy, Shapes::ShapeRef.new(shape: VotingPolicy, required: true, location_name: "VotingPolicy"))
163
180
  CreateNetworkInput.add_member(:member_configuration, Shapes::ShapeRef.new(shape: MemberConfiguration, required: true, location_name: "MemberConfiguration"))
181
+ CreateNetworkInput.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagMap, location_name: "Tags"))
164
182
  CreateNetworkInput.struct_class = Types::CreateNetworkInput
165
183
 
166
184
  CreateNetworkOutput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "NetworkId"))
@@ -169,8 +187,9 @@ module Aws::ManagedBlockchain
169
187
 
170
188
  CreateNodeInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
171
189
  CreateNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
172
- CreateNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
190
+ CreateNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "MemberId"))
173
191
  CreateNodeInput.add_member(:node_configuration, Shapes::ShapeRef.new(shape: NodeConfiguration, required: true, location_name: "NodeConfiguration"))
192
+ CreateNodeInput.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagMap, location_name: "Tags"))
174
193
  CreateNodeInput.struct_class = Types::CreateNodeInput
175
194
 
176
195
  CreateNodeOutput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "NodeId"))
@@ -181,6 +200,7 @@ module Aws::ManagedBlockchain
181
200
  CreateProposalInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location_name: "MemberId"))
182
201
  CreateProposalInput.add_member(:actions, Shapes::ShapeRef.new(shape: ProposalActions, required: true, location_name: "Actions"))
183
202
  CreateProposalInput.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
203
+ CreateProposalInput.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagMap, location_name: "Tags"))
184
204
  CreateProposalInput.struct_class = Types::CreateProposalInput
185
205
 
186
206
  CreateProposalOutput.add_member(:proposal_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "ProposalId"))
@@ -193,7 +213,7 @@ module Aws::ManagedBlockchain
193
213
  DeleteMemberOutput.struct_class = Types::DeleteMemberOutput
194
214
 
195
215
  DeleteNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
196
- DeleteNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
216
+ DeleteNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location: "querystring", location_name: "memberId"))
197
217
  DeleteNodeInput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "nodeId"))
198
218
  DeleteNodeInput.struct_class = Types::DeleteNodeInput
199
219
 
@@ -213,7 +233,7 @@ module Aws::ManagedBlockchain
213
233
  GetNetworkOutput.struct_class = Types::GetNetworkOutput
214
234
 
215
235
  GetNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
216
- GetNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
236
+ GetNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location: "querystring", location_name: "memberId"))
217
237
  GetNodeInput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "nodeId"))
218
238
  GetNodeInput.struct_class = Types::GetNodeInput
219
239
 
@@ -230,6 +250,9 @@ module Aws::ManagedBlockchain
230
250
  IllegalActionException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
231
251
  IllegalActionException.struct_class = Types::IllegalActionException
232
252
 
253
+ InputTagMap.key = Shapes::ShapeRef.new(shape: TagKey)
254
+ InputTagMap.value = Shapes::ShapeRef.new(shape: TagValue)
255
+
233
256
  InternalServiceErrorException.struct_class = Types::InternalServiceErrorException
234
257
 
235
258
  InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
@@ -240,6 +263,7 @@ module Aws::ManagedBlockchain
240
263
  Invitation.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationDate"))
241
264
  Invitation.add_member(:status, Shapes::ShapeRef.new(shape: InvitationStatus, location_name: "Status"))
242
265
  Invitation.add_member(:network_summary, Shapes::ShapeRef.new(shape: NetworkSummary, location_name: "NetworkSummary"))
266
+ Invitation.add_member(:arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "Arn"))
243
267
  Invitation.struct_class = Types::Invitation
244
268
 
245
269
  InvitationList.member = Shapes::ShapeRef.new(shape: Invitation)
@@ -281,7 +305,7 @@ module Aws::ManagedBlockchain
281
305
  ListNetworksOutput.struct_class = Types::ListNetworksOutput
282
306
 
283
307
  ListNodesInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
284
- ListNodesInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
308
+ ListNodesInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location: "querystring", location_name: "memberId"))
285
309
  ListNodesInput.add_member(:status, Shapes::ShapeRef.new(shape: NodeStatus, location: "querystring", location_name: "status"))
286
310
  ListNodesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: NodeListMaxResults, location: "querystring", location_name: "maxResults"))
287
311
  ListNodesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
@@ -310,6 +334,12 @@ module Aws::ManagedBlockchain
310
334
  ListProposalsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
311
335
  ListProposalsOutput.struct_class = Types::ListProposalsOutput
312
336
 
337
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ArnString, required: true, location: "uri", location_name: "resourceArn"))
338
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
339
+
340
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: OutputTagMap, location_name: "Tags"))
341
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
342
+
313
343
  LogConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
314
344
  LogConfiguration.struct_class = Types::LogConfiguration
315
345
 
@@ -324,12 +354,15 @@ module Aws::ManagedBlockchain
324
354
  Member.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: MemberLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
325
355
  Member.add_member(:status, Shapes::ShapeRef.new(shape: MemberStatus, location_name: "Status"))
326
356
  Member.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
357
+ Member.add_member(:tags, Shapes::ShapeRef.new(shape: OutputTagMap, location_name: "Tags"))
358
+ Member.add_member(:arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "Arn"))
327
359
  Member.struct_class = Types::Member
328
360
 
329
361
  MemberConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: NetworkMemberNameString, required: true, location_name: "Name"))
330
362
  MemberConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
331
363
  MemberConfiguration.add_member(:framework_configuration, Shapes::ShapeRef.new(shape: MemberFrameworkConfiguration, required: true, location_name: "FrameworkConfiguration"))
332
364
  MemberConfiguration.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: MemberLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
365
+ MemberConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagMap, location_name: "Tags"))
333
366
  MemberConfiguration.struct_class = Types::MemberConfiguration
334
367
 
335
368
  MemberFabricAttributes.add_member(:admin_username, Shapes::ShapeRef.new(shape: UsernameString, location_name: "AdminUsername"))
@@ -358,6 +391,7 @@ module Aws::ManagedBlockchain
358
391
  MemberSummary.add_member(:status, Shapes::ShapeRef.new(shape: MemberStatus, location_name: "Status"))
359
392
  MemberSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
360
393
  MemberSummary.add_member(:is_owned, Shapes::ShapeRef.new(shape: IsOwned, location_name: "IsOwned"))
394
+ MemberSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "Arn"))
361
395
  MemberSummary.struct_class = Types::MemberSummary
362
396
 
363
397
  MemberSummaryList.member = Shapes::ShapeRef.new(shape: MemberSummary)
@@ -372,8 +406,13 @@ module Aws::ManagedBlockchain
372
406
  Network.add_member(:voting_policy, Shapes::ShapeRef.new(shape: VotingPolicy, location_name: "VotingPolicy"))
373
407
  Network.add_member(:status, Shapes::ShapeRef.new(shape: NetworkStatus, location_name: "Status"))
374
408
  Network.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
409
+ Network.add_member(:tags, Shapes::ShapeRef.new(shape: OutputTagMap, location_name: "Tags"))
410
+ Network.add_member(:arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "Arn"))
375
411
  Network.struct_class = Types::Network
376
412
 
413
+ NetworkEthereumAttributes.add_member(:chain_id, Shapes::ShapeRef.new(shape: String, location_name: "ChainId"))
414
+ NetworkEthereumAttributes.struct_class = Types::NetworkEthereumAttributes
415
+
377
416
  NetworkFabricAttributes.add_member(:ordering_service_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "OrderingServiceEndpoint"))
378
417
  NetworkFabricAttributes.add_member(:edition, Shapes::ShapeRef.new(shape: Edition, location_name: "Edition"))
379
418
  NetworkFabricAttributes.struct_class = Types::NetworkFabricAttributes
@@ -382,6 +421,7 @@ module Aws::ManagedBlockchain
382
421
  NetworkFabricConfiguration.struct_class = Types::NetworkFabricConfiguration
383
422
 
384
423
  NetworkFrameworkAttributes.add_member(:fabric, Shapes::ShapeRef.new(shape: NetworkFabricAttributes, location_name: "Fabric"))
424
+ NetworkFrameworkAttributes.add_member(:ethereum, Shapes::ShapeRef.new(shape: NetworkEthereumAttributes, location_name: "Ethereum"))
385
425
  NetworkFrameworkAttributes.struct_class = Types::NetworkFrameworkAttributes
386
426
 
387
427
  NetworkFrameworkConfiguration.add_member(:fabric, Shapes::ShapeRef.new(shape: NetworkFabricConfiguration, location_name: "Fabric"))
@@ -394,6 +434,7 @@ module Aws::ManagedBlockchain
394
434
  NetworkSummary.add_member(:framework_version, Shapes::ShapeRef.new(shape: FrameworkVersionString, location_name: "FrameworkVersion"))
395
435
  NetworkSummary.add_member(:status, Shapes::ShapeRef.new(shape: NetworkStatus, location_name: "Status"))
396
436
  NetworkSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
437
+ NetworkSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "Arn"))
397
438
  NetworkSummary.struct_class = Types::NetworkSummary
398
439
 
399
440
  NetworkSummaryList.member = Shapes::ShapeRef.new(shape: NetworkSummary)
@@ -408,14 +449,20 @@ module Aws::ManagedBlockchain
408
449
  Node.add_member(:state_db, Shapes::ShapeRef.new(shape: StateDBType, location_name: "StateDB"))
409
450
  Node.add_member(:status, Shapes::ShapeRef.new(shape: NodeStatus, location_name: "Status"))
410
451
  Node.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
452
+ Node.add_member(:tags, Shapes::ShapeRef.new(shape: OutputTagMap, location_name: "Tags"))
453
+ Node.add_member(:arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "Arn"))
411
454
  Node.struct_class = Types::Node
412
455
 
413
456
  NodeConfiguration.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceTypeString, required: true, location_name: "InstanceType"))
414
- NodeConfiguration.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneString, required: true, location_name: "AvailabilityZone"))
457
+ NodeConfiguration.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneString, location_name: "AvailabilityZone"))
415
458
  NodeConfiguration.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: NodeLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
416
459
  NodeConfiguration.add_member(:state_db, Shapes::ShapeRef.new(shape: StateDBType, location_name: "StateDB"))
417
460
  NodeConfiguration.struct_class = Types::NodeConfiguration
418
461
 
462
+ NodeEthereumAttributes.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "HttpEndpoint"))
463
+ NodeEthereumAttributes.add_member(:web_socket_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "WebSocketEndpoint"))
464
+ NodeEthereumAttributes.struct_class = Types::NodeEthereumAttributes
465
+
419
466
  NodeFabricAttributes.add_member(:peer_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "PeerEndpoint"))
420
467
  NodeFabricAttributes.add_member(:peer_event_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "PeerEventEndpoint"))
421
468
  NodeFabricAttributes.struct_class = Types::NodeFabricAttributes
@@ -425,6 +472,7 @@ module Aws::ManagedBlockchain
425
472
  NodeFabricLogPublishingConfiguration.struct_class = Types::NodeFabricLogPublishingConfiguration
426
473
 
427
474
  NodeFrameworkAttributes.add_member(:fabric, Shapes::ShapeRef.new(shape: NodeFabricAttributes, location_name: "Fabric"))
475
+ NodeFrameworkAttributes.add_member(:ethereum, Shapes::ShapeRef.new(shape: NodeEthereumAttributes, location_name: "Ethereum"))
428
476
  NodeFrameworkAttributes.struct_class = Types::NodeFrameworkAttributes
429
477
 
430
478
  NodeLogPublishingConfiguration.add_member(:fabric, Shapes::ShapeRef.new(shape: NodeFabricLogPublishingConfiguration, location_name: "Fabric"))
@@ -435,10 +483,14 @@ module Aws::ManagedBlockchain
435
483
  NodeSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
436
484
  NodeSummary.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneString, location_name: "AvailabilityZone"))
437
485
  NodeSummary.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceTypeString, location_name: "InstanceType"))
486
+ NodeSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "Arn"))
438
487
  NodeSummary.struct_class = Types::NodeSummary
439
488
 
440
489
  NodeSummaryList.member = Shapes::ShapeRef.new(shape: NodeSummary)
441
490
 
491
+ OutputTagMap.key = Shapes::ShapeRef.new(shape: TagKey)
492
+ OutputTagMap.value = Shapes::ShapeRef.new(shape: TagValue)
493
+
442
494
  Proposal.add_member(:proposal_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "ProposalId"))
443
495
  Proposal.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "NetworkId"))
444
496
  Proposal.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
@@ -451,6 +503,8 @@ module Aws::ManagedBlockchain
451
503
  Proposal.add_member(:yes_vote_count, Shapes::ShapeRef.new(shape: VoteCount, location_name: "YesVoteCount"))
452
504
  Proposal.add_member(:no_vote_count, Shapes::ShapeRef.new(shape: VoteCount, location_name: "NoVoteCount"))
453
505
  Proposal.add_member(:outstanding_vote_count, Shapes::ShapeRef.new(shape: VoteCount, location_name: "OutstandingVoteCount"))
506
+ Proposal.add_member(:tags, Shapes::ShapeRef.new(shape: OutputTagMap, location_name: "Tags"))
507
+ Proposal.add_member(:arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "Arn"))
454
508
  Proposal.struct_class = Types::Proposal
455
509
 
456
510
  ProposalActions.add_member(:invitations, Shapes::ShapeRef.new(shape: InviteActionList, location_name: "Invitations"))
@@ -464,6 +518,7 @@ module Aws::ManagedBlockchain
464
518
  ProposalSummary.add_member(:status, Shapes::ShapeRef.new(shape: ProposalStatus, location_name: "Status"))
465
519
  ProposalSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
466
520
  ProposalSummary.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationDate"))
521
+ ProposalSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "Arn"))
467
522
  ProposalSummary.struct_class = Types::ProposalSummary
468
523
 
469
524
  ProposalSummaryList.member = Shapes::ShapeRef.new(shape: ProposalSummary)
@@ -487,13 +542,32 @@ module Aws::ManagedBlockchain
487
542
  ResourceLimitExceededException.struct_class = Types::ResourceLimitExceededException
488
543
 
489
544
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
545
+ ResourceNotFoundException.add_member(:resource_name, Shapes::ShapeRef.new(shape: ArnString, location_name: "ResourceName"))
490
546
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
491
547
 
492
548
  ResourceNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
493
549
  ResourceNotReadyException.struct_class = Types::ResourceNotReadyException
494
550
 
551
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
552
+
553
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ArnString, required: true, location: "uri", location_name: "resourceArn"))
554
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagMap, required: true, location_name: "Tags"))
555
+ TagResourceRequest.struct_class = Types::TagResourceRequest
556
+
557
+ TagResourceResponse.struct_class = Types::TagResourceResponse
558
+
495
559
  ThrottlingException.struct_class = Types::ThrottlingException
496
560
 
561
+ TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
562
+ TooManyTagsException.add_member(:resource_name, Shapes::ShapeRef.new(shape: ArnString, location_name: "ResourceName"))
563
+ TooManyTagsException.struct_class = Types::TooManyTagsException
564
+
565
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ArnString, required: true, location: "uri", location_name: "resourceArn"))
566
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
567
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
568
+
569
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
570
+
497
571
  UpdateMemberInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
498
572
  UpdateMemberInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
499
573
  UpdateMemberInput.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: MemberLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
@@ -502,7 +576,7 @@ module Aws::ManagedBlockchain
502
576
  UpdateMemberOutput.struct_class = Types::UpdateMemberOutput
503
577
 
504
578
  UpdateNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
505
- UpdateNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
579
+ UpdateNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "MemberId"))
506
580
  UpdateNodeInput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "nodeId"))
507
581
  UpdateNodeInput.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: NodeLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
508
582
  UpdateNodeInput.struct_class = Types::UpdateNodeInput
@@ -558,6 +632,7 @@ module Aws::ManagedBlockchain
558
632
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
559
633
  o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
560
634
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
635
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
561
636
  end)
562
637
 
563
638
  api.add_operation(:create_network, Seahorse::Model::Operation.new.tap do |o|
@@ -572,12 +647,13 @@ module Aws::ManagedBlockchain
572
647
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
573
648
  o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
574
649
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
650
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
575
651
  end)
576
652
 
577
653
  api.add_operation(:create_node, Seahorse::Model::Operation.new.tap do |o|
578
654
  o.name = "CreateNode"
579
655
  o.http_method = "POST"
580
- o.http_request_uri = "/networks/{networkId}/members/{memberId}/nodes"
656
+ o.http_request_uri = "/networks/{networkId}/nodes"
581
657
  o.input = Shapes::ShapeRef.new(shape: CreateNodeInput)
582
658
  o.output = Shapes::ShapeRef.new(shape: CreateNodeOutput)
583
659
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
@@ -588,6 +664,7 @@ module Aws::ManagedBlockchain
588
664
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
589
665
  o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
590
666
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
667
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
591
668
  end)
592
669
 
593
670
  api.add_operation(:create_proposal, Seahorse::Model::Operation.new.tap do |o|
@@ -602,6 +679,7 @@ module Aws::ManagedBlockchain
602
679
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
603
680
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
604
681
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
682
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
605
683
  end)
606
684
 
607
685
  api.add_operation(:delete_member, Seahorse::Model::Operation.new.tap do |o|
@@ -621,7 +699,7 @@ module Aws::ManagedBlockchain
621
699
  api.add_operation(:delete_node, Seahorse::Model::Operation.new.tap do |o|
622
700
  o.name = "DeleteNode"
623
701
  o.http_method = "DELETE"
624
- o.http_request_uri = "/networks/{networkId}/members/{memberId}/nodes/{nodeId}"
702
+ o.http_request_uri = "/networks/{networkId}/nodes/{nodeId}"
625
703
  o.input = Shapes::ShapeRef.new(shape: DeleteNodeInput)
626
704
  o.output = Shapes::ShapeRef.new(shape: DeleteNodeOutput)
627
705
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
@@ -661,7 +739,7 @@ module Aws::ManagedBlockchain
661
739
  api.add_operation(:get_node, Seahorse::Model::Operation.new.tap do |o|
662
740
  o.name = "GetNode"
663
741
  o.http_method = "GET"
664
- o.http_request_uri = "/networks/{networkId}/members/{memberId}/nodes/{nodeId}"
742
+ o.http_request_uri = "/networks/{networkId}/nodes/{nodeId}"
665
743
  o.input = Shapes::ShapeRef.new(shape: GetNodeInput)
666
744
  o.output = Shapes::ShapeRef.new(shape: GetNodeOutput)
667
745
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
@@ -743,7 +821,7 @@ module Aws::ManagedBlockchain
743
821
  api.add_operation(:list_nodes, Seahorse::Model::Operation.new.tap do |o|
744
822
  o.name = "ListNodes"
745
823
  o.http_method = "GET"
746
- o.http_request_uri = "/networks/{networkId}/members/{memberId}/nodes"
824
+ o.http_request_uri = "/networks/{networkId}/nodes"
747
825
  o.input = Shapes::ShapeRef.new(shape: ListNodesInput)
748
826
  o.output = Shapes::ShapeRef.new(shape: ListNodesOutput)
749
827
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
@@ -795,6 +873,18 @@ module Aws::ManagedBlockchain
795
873
  )
796
874
  end)
797
875
 
876
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
877
+ o.name = "ListTagsForResource"
878
+ o.http_method = "GET"
879
+ o.http_request_uri = "/tags/{resourceArn}"
880
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
881
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
882
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
883
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
884
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
885
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
886
+ end)
887
+
798
888
  api.add_operation(:reject_invitation, Seahorse::Model::Operation.new.tap do |o|
799
889
  o.name = "RejectInvitation"
800
890
  o.http_method = "DELETE"
@@ -809,6 +899,31 @@ module Aws::ManagedBlockchain
809
899
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
810
900
  end)
811
901
 
902
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
903
+ o.name = "TagResource"
904
+ o.http_method = "POST"
905
+ o.http_request_uri = "/tags/{resourceArn}"
906
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
907
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
908
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
909
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
910
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
911
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
912
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
913
+ end)
914
+
915
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
916
+ o.name = "UntagResource"
917
+ o.http_method = "DELETE"
918
+ o.http_request_uri = "/tags/{resourceArn}"
919
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
920
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
921
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
922
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
923
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
924
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
925
+ end)
926
+
812
927
  api.add_operation(:update_member, Seahorse::Model::Operation.new.tap do |o|
813
928
  o.name = "UpdateMember"
814
929
  o.http_method = "PATCH"
@@ -825,7 +940,7 @@ module Aws::ManagedBlockchain
825
940
  api.add_operation(:update_node, Seahorse::Model::Operation.new.tap do |o|
826
941
  o.name = "UpdateNode"
827
942
  o.http_method = "PATCH"
828
- o.http_request_uri = "/networks/{networkId}/members/{memberId}/nodes/{nodeId}"
943
+ o.http_request_uri = "/networks/{networkId}/nodes/{nodeId}"
829
944
  o.input = Shapes::ShapeRef.new(shape: UpdateNodeInput)
830
945
  o.output = Shapes::ShapeRef.new(shape: UpdateNodeOutput)
831
946
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
@@ -36,6 +36,7 @@ module Aws::ManagedBlockchain
36
36
  # * {ResourceNotFoundException}
37
37
  # * {ResourceNotReadyException}
38
38
  # * {ThrottlingException}
39
+ # * {TooManyTagsException}
39
40
  #
40
41
  # Additionally, error classes are dynamically generated for service errors based on the error code
41
42
  # if they are not defined above.
@@ -51,6 +52,11 @@ module Aws::ManagedBlockchain
51
52
  def initialize(context, message, data = Aws::EmptyStructure.new)
52
53
  super(context, message, data)
53
54
  end
55
+
56
+ # @return [String]
57
+ def message
58
+ @message || @data[:message]
59
+ end
54
60
  end
55
61
 
56
62
  class IllegalActionException < ServiceError
@@ -136,6 +142,11 @@ module Aws::ManagedBlockchain
136
142
  def message
137
143
  @message || @data[:message]
138
144
  end
145
+
146
+ # @return [String]
147
+ def resource_name
148
+ @data[:resource_name]
149
+ end
139
150
  end
140
151
 
141
152
  class ResourceNotReadyException < ServiceError
@@ -163,5 +174,25 @@ module Aws::ManagedBlockchain
163
174
  end
164
175
  end
165
176
 
177
+ class TooManyTagsException < ServiceError
178
+
179
+ # @param [Seahorse::Client::RequestContext] context
180
+ # @param [String] message
181
+ # @param [Aws::ManagedBlockchain::Types::TooManyTagsException] data
182
+ def initialize(context, message, data = Aws::EmptyStructure.new)
183
+ super(context, message, data)
184
+ end
185
+
186
+ # @return [String]
187
+ def message
188
+ @message || @data[:message]
189
+ end
190
+
191
+ # @return [String]
192
+ def resource_name
193
+ @data[:resource_name]
194
+ end
195
+ end
196
+
166
197
  end
167
198
  end