aws-sdk-managedblockchain 1.14.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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')
@@ -119,11 +127,20 @@ module Aws::ManagedBlockchain
119
127
  ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
120
128
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
121
129
  ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
130
+ StateDBType = Shapes::StringShape.new(name: 'StateDBType')
122
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')
123
137
  ThresholdComparator = Shapes::StringShape.new(name: 'ThresholdComparator')
124
138
  ThresholdPercentageInt = Shapes::IntegerShape.new(name: 'ThresholdPercentageInt')
125
139
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
126
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')
127
144
  UpdateMemberInput = Shapes::StructureShape.new(name: 'UpdateMemberInput')
128
145
  UpdateMemberOutput = Shapes::StructureShape.new(name: 'UpdateMemberOutput')
129
146
  UpdateNodeInput = Shapes::StructureShape.new(name: 'UpdateNodeInput')
@@ -136,6 +153,7 @@ module Aws::ManagedBlockchain
136
153
  VoteValue = Shapes::StringShape.new(name: 'VoteValue')
137
154
  VotingPolicy = Shapes::StructureShape.new(name: 'VotingPolicy')
138
155
 
156
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
139
157
  AccessDeniedException.struct_class = Types::AccessDeniedException
140
158
 
141
159
  ApprovalThresholdPolicy.add_member(:threshold_percentage, Shapes::ShapeRef.new(shape: ThresholdPercentageInt, location_name: "ThresholdPercentage"))
@@ -160,6 +178,7 @@ module Aws::ManagedBlockchain
160
178
  CreateNetworkInput.add_member(:framework_configuration, Shapes::ShapeRef.new(shape: NetworkFrameworkConfiguration, location_name: "FrameworkConfiguration"))
161
179
  CreateNetworkInput.add_member(:voting_policy, Shapes::ShapeRef.new(shape: VotingPolicy, required: true, location_name: "VotingPolicy"))
162
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"))
163
182
  CreateNetworkInput.struct_class = Types::CreateNetworkInput
164
183
 
165
184
  CreateNetworkOutput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "NetworkId"))
@@ -168,8 +187,9 @@ module Aws::ManagedBlockchain
168
187
 
169
188
  CreateNodeInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
170
189
  CreateNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
171
- 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"))
172
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"))
173
193
  CreateNodeInput.struct_class = Types::CreateNodeInput
174
194
 
175
195
  CreateNodeOutput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "NodeId"))
@@ -180,6 +200,7 @@ module Aws::ManagedBlockchain
180
200
  CreateProposalInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location_name: "MemberId"))
181
201
  CreateProposalInput.add_member(:actions, Shapes::ShapeRef.new(shape: ProposalActions, required: true, location_name: "Actions"))
182
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"))
183
204
  CreateProposalInput.struct_class = Types::CreateProposalInput
184
205
 
185
206
  CreateProposalOutput.add_member(:proposal_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "ProposalId"))
@@ -192,7 +213,7 @@ module Aws::ManagedBlockchain
192
213
  DeleteMemberOutput.struct_class = Types::DeleteMemberOutput
193
214
 
194
215
  DeleteNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
195
- 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"))
196
217
  DeleteNodeInput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "nodeId"))
197
218
  DeleteNodeInput.struct_class = Types::DeleteNodeInput
198
219
 
@@ -212,7 +233,7 @@ module Aws::ManagedBlockchain
212
233
  GetNetworkOutput.struct_class = Types::GetNetworkOutput
213
234
 
214
235
  GetNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
215
- 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"))
216
237
  GetNodeInput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "nodeId"))
217
238
  GetNodeInput.struct_class = Types::GetNodeInput
218
239
 
@@ -229,6 +250,9 @@ module Aws::ManagedBlockchain
229
250
  IllegalActionException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
230
251
  IllegalActionException.struct_class = Types::IllegalActionException
231
252
 
253
+ InputTagMap.key = Shapes::ShapeRef.new(shape: TagKey)
254
+ InputTagMap.value = Shapes::ShapeRef.new(shape: TagValue)
255
+
232
256
  InternalServiceErrorException.struct_class = Types::InternalServiceErrorException
233
257
 
234
258
  InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
@@ -239,6 +263,7 @@ module Aws::ManagedBlockchain
239
263
  Invitation.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationDate"))
240
264
  Invitation.add_member(:status, Shapes::ShapeRef.new(shape: InvitationStatus, location_name: "Status"))
241
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"))
242
267
  Invitation.struct_class = Types::Invitation
243
268
 
244
269
  InvitationList.member = Shapes::ShapeRef.new(shape: Invitation)
@@ -280,7 +305,7 @@ module Aws::ManagedBlockchain
280
305
  ListNetworksOutput.struct_class = Types::ListNetworksOutput
281
306
 
282
307
  ListNodesInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
283
- 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"))
284
309
  ListNodesInput.add_member(:status, Shapes::ShapeRef.new(shape: NodeStatus, location: "querystring", location_name: "status"))
285
310
  ListNodesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: NodeListMaxResults, location: "querystring", location_name: "maxResults"))
286
311
  ListNodesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
@@ -309,6 +334,12 @@ module Aws::ManagedBlockchain
309
334
  ListProposalsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
310
335
  ListProposalsOutput.struct_class = Types::ListProposalsOutput
311
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
+
312
343
  LogConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
313
344
  LogConfiguration.struct_class = Types::LogConfiguration
314
345
 
@@ -323,12 +354,15 @@ module Aws::ManagedBlockchain
323
354
  Member.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: MemberLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
324
355
  Member.add_member(:status, Shapes::ShapeRef.new(shape: MemberStatus, location_name: "Status"))
325
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"))
326
359
  Member.struct_class = Types::Member
327
360
 
328
361
  MemberConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: NetworkMemberNameString, required: true, location_name: "Name"))
329
362
  MemberConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
330
363
  MemberConfiguration.add_member(:framework_configuration, Shapes::ShapeRef.new(shape: MemberFrameworkConfiguration, required: true, location_name: "FrameworkConfiguration"))
331
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"))
332
366
  MemberConfiguration.struct_class = Types::MemberConfiguration
333
367
 
334
368
  MemberFabricAttributes.add_member(:admin_username, Shapes::ShapeRef.new(shape: UsernameString, location_name: "AdminUsername"))
@@ -357,6 +391,7 @@ module Aws::ManagedBlockchain
357
391
  MemberSummary.add_member(:status, Shapes::ShapeRef.new(shape: MemberStatus, location_name: "Status"))
358
392
  MemberSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
359
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"))
360
395
  MemberSummary.struct_class = Types::MemberSummary
361
396
 
362
397
  MemberSummaryList.member = Shapes::ShapeRef.new(shape: MemberSummary)
@@ -371,8 +406,13 @@ module Aws::ManagedBlockchain
371
406
  Network.add_member(:voting_policy, Shapes::ShapeRef.new(shape: VotingPolicy, location_name: "VotingPolicy"))
372
407
  Network.add_member(:status, Shapes::ShapeRef.new(shape: NetworkStatus, location_name: "Status"))
373
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"))
374
411
  Network.struct_class = Types::Network
375
412
 
413
+ NetworkEthereumAttributes.add_member(:chain_id, Shapes::ShapeRef.new(shape: String, location_name: "ChainId"))
414
+ NetworkEthereumAttributes.struct_class = Types::NetworkEthereumAttributes
415
+
376
416
  NetworkFabricAttributes.add_member(:ordering_service_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "OrderingServiceEndpoint"))
377
417
  NetworkFabricAttributes.add_member(:edition, Shapes::ShapeRef.new(shape: Edition, location_name: "Edition"))
378
418
  NetworkFabricAttributes.struct_class = Types::NetworkFabricAttributes
@@ -381,6 +421,7 @@ module Aws::ManagedBlockchain
381
421
  NetworkFabricConfiguration.struct_class = Types::NetworkFabricConfiguration
382
422
 
383
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"))
384
425
  NetworkFrameworkAttributes.struct_class = Types::NetworkFrameworkAttributes
385
426
 
386
427
  NetworkFrameworkConfiguration.add_member(:fabric, Shapes::ShapeRef.new(shape: NetworkFabricConfiguration, location_name: "Fabric"))
@@ -393,6 +434,7 @@ module Aws::ManagedBlockchain
393
434
  NetworkSummary.add_member(:framework_version, Shapes::ShapeRef.new(shape: FrameworkVersionString, location_name: "FrameworkVersion"))
394
435
  NetworkSummary.add_member(:status, Shapes::ShapeRef.new(shape: NetworkStatus, location_name: "Status"))
395
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"))
396
438
  NetworkSummary.struct_class = Types::NetworkSummary
397
439
 
398
440
  NetworkSummaryList.member = Shapes::ShapeRef.new(shape: NetworkSummary)
@@ -404,15 +446,23 @@ module Aws::ManagedBlockchain
404
446
  Node.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneString, location_name: "AvailabilityZone"))
405
447
  Node.add_member(:framework_attributes, Shapes::ShapeRef.new(shape: NodeFrameworkAttributes, location_name: "FrameworkAttributes"))
406
448
  Node.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: NodeLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
449
+ Node.add_member(:state_db, Shapes::ShapeRef.new(shape: StateDBType, location_name: "StateDB"))
407
450
  Node.add_member(:status, Shapes::ShapeRef.new(shape: NodeStatus, location_name: "Status"))
408
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"))
409
454
  Node.struct_class = Types::Node
410
455
 
411
456
  NodeConfiguration.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceTypeString, required: true, location_name: "InstanceType"))
412
- 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"))
413
458
  NodeConfiguration.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: NodeLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
459
+ NodeConfiguration.add_member(:state_db, Shapes::ShapeRef.new(shape: StateDBType, location_name: "StateDB"))
414
460
  NodeConfiguration.struct_class = Types::NodeConfiguration
415
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
+
416
466
  NodeFabricAttributes.add_member(:peer_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "PeerEndpoint"))
417
467
  NodeFabricAttributes.add_member(:peer_event_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "PeerEventEndpoint"))
418
468
  NodeFabricAttributes.struct_class = Types::NodeFabricAttributes
@@ -422,6 +472,7 @@ module Aws::ManagedBlockchain
422
472
  NodeFabricLogPublishingConfiguration.struct_class = Types::NodeFabricLogPublishingConfiguration
423
473
 
424
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"))
425
476
  NodeFrameworkAttributes.struct_class = Types::NodeFrameworkAttributes
426
477
 
427
478
  NodeLogPublishingConfiguration.add_member(:fabric, Shapes::ShapeRef.new(shape: NodeFabricLogPublishingConfiguration, location_name: "Fabric"))
@@ -432,10 +483,14 @@ module Aws::ManagedBlockchain
432
483
  NodeSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
433
484
  NodeSummary.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneString, location_name: "AvailabilityZone"))
434
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"))
435
487
  NodeSummary.struct_class = Types::NodeSummary
436
488
 
437
489
  NodeSummaryList.member = Shapes::ShapeRef.new(shape: NodeSummary)
438
490
 
491
+ OutputTagMap.key = Shapes::ShapeRef.new(shape: TagKey)
492
+ OutputTagMap.value = Shapes::ShapeRef.new(shape: TagValue)
493
+
439
494
  Proposal.add_member(:proposal_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "ProposalId"))
440
495
  Proposal.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "NetworkId"))
441
496
  Proposal.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
@@ -448,6 +503,8 @@ module Aws::ManagedBlockchain
448
503
  Proposal.add_member(:yes_vote_count, Shapes::ShapeRef.new(shape: VoteCount, location_name: "YesVoteCount"))
449
504
  Proposal.add_member(:no_vote_count, Shapes::ShapeRef.new(shape: VoteCount, location_name: "NoVoteCount"))
450
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"))
451
508
  Proposal.struct_class = Types::Proposal
452
509
 
453
510
  ProposalActions.add_member(:invitations, Shapes::ShapeRef.new(shape: InviteActionList, location_name: "Invitations"))
@@ -461,6 +518,7 @@ module Aws::ManagedBlockchain
461
518
  ProposalSummary.add_member(:status, Shapes::ShapeRef.new(shape: ProposalStatus, location_name: "Status"))
462
519
  ProposalSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
463
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"))
464
522
  ProposalSummary.struct_class = Types::ProposalSummary
465
523
 
466
524
  ProposalSummaryList.member = Shapes::ShapeRef.new(shape: ProposalSummary)
@@ -484,13 +542,32 @@ module Aws::ManagedBlockchain
484
542
  ResourceLimitExceededException.struct_class = Types::ResourceLimitExceededException
485
543
 
486
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"))
487
546
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
488
547
 
489
548
  ResourceNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
490
549
  ResourceNotReadyException.struct_class = Types::ResourceNotReadyException
491
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
+
492
559
  ThrottlingException.struct_class = Types::ThrottlingException
493
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
+
494
571
  UpdateMemberInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
495
572
  UpdateMemberInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
496
573
  UpdateMemberInput.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: MemberLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
@@ -499,7 +576,7 @@ module Aws::ManagedBlockchain
499
576
  UpdateMemberOutput.struct_class = Types::UpdateMemberOutput
500
577
 
501
578
  UpdateNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
502
- 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"))
503
580
  UpdateNodeInput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "nodeId"))
504
581
  UpdateNodeInput.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: NodeLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
505
582
  UpdateNodeInput.struct_class = Types::UpdateNodeInput
@@ -555,6 +632,7 @@ module Aws::ManagedBlockchain
555
632
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
556
633
  o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
557
634
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
635
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
558
636
  end)
559
637
 
560
638
  api.add_operation(:create_network, Seahorse::Model::Operation.new.tap do |o|
@@ -569,12 +647,13 @@ module Aws::ManagedBlockchain
569
647
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
570
648
  o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
571
649
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
650
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
572
651
  end)
573
652
 
574
653
  api.add_operation(:create_node, Seahorse::Model::Operation.new.tap do |o|
575
654
  o.name = "CreateNode"
576
655
  o.http_method = "POST"
577
- o.http_request_uri = "/networks/{networkId}/members/{memberId}/nodes"
656
+ o.http_request_uri = "/networks/{networkId}/nodes"
578
657
  o.input = Shapes::ShapeRef.new(shape: CreateNodeInput)
579
658
  o.output = Shapes::ShapeRef.new(shape: CreateNodeOutput)
580
659
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
@@ -585,6 +664,7 @@ module Aws::ManagedBlockchain
585
664
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
586
665
  o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
587
666
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
667
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
588
668
  end)
589
669
 
590
670
  api.add_operation(:create_proposal, Seahorse::Model::Operation.new.tap do |o|
@@ -599,6 +679,7 @@ module Aws::ManagedBlockchain
599
679
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
600
680
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
601
681
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
682
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
602
683
  end)
603
684
 
604
685
  api.add_operation(:delete_member, Seahorse::Model::Operation.new.tap do |o|
@@ -618,7 +699,7 @@ module Aws::ManagedBlockchain
618
699
  api.add_operation(:delete_node, Seahorse::Model::Operation.new.tap do |o|
619
700
  o.name = "DeleteNode"
620
701
  o.http_method = "DELETE"
621
- o.http_request_uri = "/networks/{networkId}/members/{memberId}/nodes/{nodeId}"
702
+ o.http_request_uri = "/networks/{networkId}/nodes/{nodeId}"
622
703
  o.input = Shapes::ShapeRef.new(shape: DeleteNodeInput)
623
704
  o.output = Shapes::ShapeRef.new(shape: DeleteNodeOutput)
624
705
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
@@ -658,7 +739,7 @@ module Aws::ManagedBlockchain
658
739
  api.add_operation(:get_node, Seahorse::Model::Operation.new.tap do |o|
659
740
  o.name = "GetNode"
660
741
  o.http_method = "GET"
661
- o.http_request_uri = "/networks/{networkId}/members/{memberId}/nodes/{nodeId}"
742
+ o.http_request_uri = "/networks/{networkId}/nodes/{nodeId}"
662
743
  o.input = Shapes::ShapeRef.new(shape: GetNodeInput)
663
744
  o.output = Shapes::ShapeRef.new(shape: GetNodeOutput)
664
745
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
@@ -740,7 +821,7 @@ module Aws::ManagedBlockchain
740
821
  api.add_operation(:list_nodes, Seahorse::Model::Operation.new.tap do |o|
741
822
  o.name = "ListNodes"
742
823
  o.http_method = "GET"
743
- o.http_request_uri = "/networks/{networkId}/members/{memberId}/nodes"
824
+ o.http_request_uri = "/networks/{networkId}/nodes"
744
825
  o.input = Shapes::ShapeRef.new(shape: ListNodesInput)
745
826
  o.output = Shapes::ShapeRef.new(shape: ListNodesOutput)
746
827
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
@@ -792,6 +873,18 @@ module Aws::ManagedBlockchain
792
873
  )
793
874
  end)
794
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
+
795
888
  api.add_operation(:reject_invitation, Seahorse::Model::Operation.new.tap do |o|
796
889
  o.name = "RejectInvitation"
797
890
  o.http_method = "DELETE"
@@ -806,6 +899,31 @@ module Aws::ManagedBlockchain
806
899
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
807
900
  end)
808
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
+
809
927
  api.add_operation(:update_member, Seahorse::Model::Operation.new.tap do |o|
810
928
  o.name = "UpdateMember"
811
929
  o.http_method = "PATCH"
@@ -822,7 +940,7 @@ module Aws::ManagedBlockchain
822
940
  api.add_operation(:update_node, Seahorse::Model::Operation.new.tap do |o|
823
941
  o.name = "UpdateNode"
824
942
  o.http_method = "PATCH"
825
- o.http_request_uri = "/networks/{networkId}/members/{memberId}/nodes/{nodeId}"
943
+ o.http_request_uri = "/networks/{networkId}/nodes/{nodeId}"
826
944
  o.input = Shapes::ShapeRef.new(shape: UpdateNodeInput)
827
945
  o.output = Shapes::ShapeRef.new(shape: UpdateNodeOutput)
828
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