aws-sdk-managedblockchain 1.18.0 → 1.23.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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')
@@ -101,6 +106,7 @@ module Aws::ManagedBlockchain
101
106
  NodeStatus = Shapes::StringShape.new(name: 'NodeStatus')
102
107
  NodeSummary = Shapes::StructureShape.new(name: 'NodeSummary')
103
108
  NodeSummaryList = Shapes::ListShape.new(name: 'NodeSummaryList')
109
+ OutputTagMap = Shapes::MapShape.new(name: 'OutputTagMap')
104
110
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
105
111
  PasswordString = Shapes::StringShape.new(name: 'PasswordString')
106
112
  PrincipalString = Shapes::StringShape.new(name: 'PrincipalString')
@@ -123,10 +129,18 @@ module Aws::ManagedBlockchain
123
129
  ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
124
130
  StateDBType = Shapes::StringShape.new(name: 'StateDBType')
125
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')
126
137
  ThresholdComparator = Shapes::StringShape.new(name: 'ThresholdComparator')
127
138
  ThresholdPercentageInt = Shapes::IntegerShape.new(name: 'ThresholdPercentageInt')
128
139
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
129
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')
130
144
  UpdateMemberInput = Shapes::StructureShape.new(name: 'UpdateMemberInput')
131
145
  UpdateMemberOutput = Shapes::StructureShape.new(name: 'UpdateMemberOutput')
132
146
  UpdateNodeInput = Shapes::StructureShape.new(name: 'UpdateNodeInput')
@@ -164,6 +178,7 @@ module Aws::ManagedBlockchain
164
178
  CreateNetworkInput.add_member(:framework_configuration, Shapes::ShapeRef.new(shape: NetworkFrameworkConfiguration, location_name: "FrameworkConfiguration"))
165
179
  CreateNetworkInput.add_member(:voting_policy, Shapes::ShapeRef.new(shape: VotingPolicy, required: true, location_name: "VotingPolicy"))
166
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"))
167
182
  CreateNetworkInput.struct_class = Types::CreateNetworkInput
168
183
 
169
184
  CreateNetworkOutput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "NetworkId"))
@@ -174,6 +189,7 @@ module Aws::ManagedBlockchain
174
189
  CreateNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
175
190
  CreateNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "MemberId"))
176
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"))
177
193
  CreateNodeInput.struct_class = Types::CreateNodeInput
178
194
 
179
195
  CreateNodeOutput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "NodeId"))
@@ -184,6 +200,7 @@ module Aws::ManagedBlockchain
184
200
  CreateProposalInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location_name: "MemberId"))
185
201
  CreateProposalInput.add_member(:actions, Shapes::ShapeRef.new(shape: ProposalActions, required: true, location_name: "Actions"))
186
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"))
187
204
  CreateProposalInput.struct_class = Types::CreateProposalInput
188
205
 
189
206
  CreateProposalOutput.add_member(:proposal_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "ProposalId"))
@@ -233,6 +250,9 @@ module Aws::ManagedBlockchain
233
250
  IllegalActionException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
234
251
  IllegalActionException.struct_class = Types::IllegalActionException
235
252
 
253
+ InputTagMap.key = Shapes::ShapeRef.new(shape: TagKey)
254
+ InputTagMap.value = Shapes::ShapeRef.new(shape: TagValue)
255
+
236
256
  InternalServiceErrorException.struct_class = Types::InternalServiceErrorException
237
257
 
238
258
  InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
@@ -243,6 +263,7 @@ module Aws::ManagedBlockchain
243
263
  Invitation.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationDate"))
244
264
  Invitation.add_member(:status, Shapes::ShapeRef.new(shape: InvitationStatus, location_name: "Status"))
245
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"))
246
267
  Invitation.struct_class = Types::Invitation
247
268
 
248
269
  InvitationList.member = Shapes::ShapeRef.new(shape: Invitation)
@@ -313,6 +334,12 @@ module Aws::ManagedBlockchain
313
334
  ListProposalsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
314
335
  ListProposalsOutput.struct_class = Types::ListProposalsOutput
315
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
+
316
343
  LogConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
317
344
  LogConfiguration.struct_class = Types::LogConfiguration
318
345
 
@@ -327,12 +354,17 @@ module Aws::ManagedBlockchain
327
354
  Member.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: MemberLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
328
355
  Member.add_member(:status, Shapes::ShapeRef.new(shape: MemberStatus, location_name: "Status"))
329
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"))
359
+ Member.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyArn"))
330
360
  Member.struct_class = Types::Member
331
361
 
332
362
  MemberConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: NetworkMemberNameString, required: true, location_name: "Name"))
333
363
  MemberConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
334
364
  MemberConfiguration.add_member(:framework_configuration, Shapes::ShapeRef.new(shape: MemberFrameworkConfiguration, required: true, location_name: "FrameworkConfiguration"))
335
365
  MemberConfiguration.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: MemberLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
366
+ MemberConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagMap, location_name: "Tags"))
367
+ MemberConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "KmsKeyArn"))
336
368
  MemberConfiguration.struct_class = Types::MemberConfiguration
337
369
 
338
370
  MemberFabricAttributes.add_member(:admin_username, Shapes::ShapeRef.new(shape: UsernameString, location_name: "AdminUsername"))
@@ -361,6 +393,7 @@ module Aws::ManagedBlockchain
361
393
  MemberSummary.add_member(:status, Shapes::ShapeRef.new(shape: MemberStatus, location_name: "Status"))
362
394
  MemberSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
363
395
  MemberSummary.add_member(:is_owned, Shapes::ShapeRef.new(shape: IsOwned, location_name: "IsOwned"))
396
+ MemberSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "Arn"))
364
397
  MemberSummary.struct_class = Types::MemberSummary
365
398
 
366
399
  MemberSummaryList.member = Shapes::ShapeRef.new(shape: MemberSummary)
@@ -375,6 +408,8 @@ module Aws::ManagedBlockchain
375
408
  Network.add_member(:voting_policy, Shapes::ShapeRef.new(shape: VotingPolicy, location_name: "VotingPolicy"))
376
409
  Network.add_member(:status, Shapes::ShapeRef.new(shape: NetworkStatus, location_name: "Status"))
377
410
  Network.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
411
+ Network.add_member(:tags, Shapes::ShapeRef.new(shape: OutputTagMap, location_name: "Tags"))
412
+ Network.add_member(:arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "Arn"))
378
413
  Network.struct_class = Types::Network
379
414
 
380
415
  NetworkEthereumAttributes.add_member(:chain_id, Shapes::ShapeRef.new(shape: String, location_name: "ChainId"))
@@ -401,6 +436,7 @@ module Aws::ManagedBlockchain
401
436
  NetworkSummary.add_member(:framework_version, Shapes::ShapeRef.new(shape: FrameworkVersionString, location_name: "FrameworkVersion"))
402
437
  NetworkSummary.add_member(:status, Shapes::ShapeRef.new(shape: NetworkStatus, location_name: "Status"))
403
438
  NetworkSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
439
+ NetworkSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "Arn"))
404
440
  NetworkSummary.struct_class = Types::NetworkSummary
405
441
 
406
442
  NetworkSummaryList.member = Shapes::ShapeRef.new(shape: NetworkSummary)
@@ -415,6 +451,9 @@ module Aws::ManagedBlockchain
415
451
  Node.add_member(:state_db, Shapes::ShapeRef.new(shape: StateDBType, location_name: "StateDB"))
416
452
  Node.add_member(:status, Shapes::ShapeRef.new(shape: NodeStatus, location_name: "Status"))
417
453
  Node.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
454
+ Node.add_member(:tags, Shapes::ShapeRef.new(shape: OutputTagMap, location_name: "Tags"))
455
+ Node.add_member(:arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "Arn"))
456
+ Node.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyArn"))
418
457
  Node.struct_class = Types::Node
419
458
 
420
459
  NodeConfiguration.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceTypeString, required: true, location_name: "InstanceType"))
@@ -447,10 +486,14 @@ module Aws::ManagedBlockchain
447
486
  NodeSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
448
487
  NodeSummary.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneString, location_name: "AvailabilityZone"))
449
488
  NodeSummary.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceTypeString, location_name: "InstanceType"))
489
+ NodeSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "Arn"))
450
490
  NodeSummary.struct_class = Types::NodeSummary
451
491
 
452
492
  NodeSummaryList.member = Shapes::ShapeRef.new(shape: NodeSummary)
453
493
 
494
+ OutputTagMap.key = Shapes::ShapeRef.new(shape: TagKey)
495
+ OutputTagMap.value = Shapes::ShapeRef.new(shape: TagValue)
496
+
454
497
  Proposal.add_member(:proposal_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "ProposalId"))
455
498
  Proposal.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "NetworkId"))
456
499
  Proposal.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
@@ -463,6 +506,8 @@ module Aws::ManagedBlockchain
463
506
  Proposal.add_member(:yes_vote_count, Shapes::ShapeRef.new(shape: VoteCount, location_name: "YesVoteCount"))
464
507
  Proposal.add_member(:no_vote_count, Shapes::ShapeRef.new(shape: VoteCount, location_name: "NoVoteCount"))
465
508
  Proposal.add_member(:outstanding_vote_count, Shapes::ShapeRef.new(shape: VoteCount, location_name: "OutstandingVoteCount"))
509
+ Proposal.add_member(:tags, Shapes::ShapeRef.new(shape: OutputTagMap, location_name: "Tags"))
510
+ Proposal.add_member(:arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "Arn"))
466
511
  Proposal.struct_class = Types::Proposal
467
512
 
468
513
  ProposalActions.add_member(:invitations, Shapes::ShapeRef.new(shape: InviteActionList, location_name: "Invitations"))
@@ -476,6 +521,7 @@ module Aws::ManagedBlockchain
476
521
  ProposalSummary.add_member(:status, Shapes::ShapeRef.new(shape: ProposalStatus, location_name: "Status"))
477
522
  ProposalSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
478
523
  ProposalSummary.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationDate"))
524
+ ProposalSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "Arn"))
479
525
  ProposalSummary.struct_class = Types::ProposalSummary
480
526
 
481
527
  ProposalSummaryList.member = Shapes::ShapeRef.new(shape: ProposalSummary)
@@ -499,13 +545,32 @@ module Aws::ManagedBlockchain
499
545
  ResourceLimitExceededException.struct_class = Types::ResourceLimitExceededException
500
546
 
501
547
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
548
+ ResourceNotFoundException.add_member(:resource_name, Shapes::ShapeRef.new(shape: ArnString, location_name: "ResourceName"))
502
549
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
503
550
 
504
551
  ResourceNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
505
552
  ResourceNotReadyException.struct_class = Types::ResourceNotReadyException
506
553
 
554
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
555
+
556
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ArnString, required: true, location: "uri", location_name: "resourceArn"))
557
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagMap, required: true, location_name: "Tags"))
558
+ TagResourceRequest.struct_class = Types::TagResourceRequest
559
+
560
+ TagResourceResponse.struct_class = Types::TagResourceResponse
561
+
507
562
  ThrottlingException.struct_class = Types::ThrottlingException
508
563
 
564
+ TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
565
+ TooManyTagsException.add_member(:resource_name, Shapes::ShapeRef.new(shape: ArnString, location_name: "ResourceName"))
566
+ TooManyTagsException.struct_class = Types::TooManyTagsException
567
+
568
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ArnString, required: true, location: "uri", location_name: "resourceArn"))
569
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
570
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
571
+
572
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
573
+
509
574
  UpdateMemberInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
510
575
  UpdateMemberInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
511
576
  UpdateMemberInput.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: MemberLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
@@ -570,6 +635,7 @@ module Aws::ManagedBlockchain
570
635
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
571
636
  o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
572
637
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
638
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
573
639
  end)
574
640
 
575
641
  api.add_operation(:create_network, Seahorse::Model::Operation.new.tap do |o|
@@ -584,6 +650,7 @@ module Aws::ManagedBlockchain
584
650
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
585
651
  o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
586
652
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
653
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
587
654
  end)
588
655
 
589
656
  api.add_operation(:create_node, Seahorse::Model::Operation.new.tap do |o|
@@ -600,6 +667,7 @@ module Aws::ManagedBlockchain
600
667
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
601
668
  o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
602
669
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
670
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
603
671
  end)
604
672
 
605
673
  api.add_operation(:create_proposal, Seahorse::Model::Operation.new.tap do |o|
@@ -614,6 +682,7 @@ module Aws::ManagedBlockchain
614
682
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
615
683
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
616
684
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
685
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
617
686
  end)
618
687
 
619
688
  api.add_operation(:delete_member, Seahorse::Model::Operation.new.tap do |o|
@@ -807,6 +876,18 @@ module Aws::ManagedBlockchain
807
876
  )
808
877
  end)
809
878
 
879
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
880
+ o.name = "ListTagsForResource"
881
+ o.http_method = "GET"
882
+ o.http_request_uri = "/tags/{resourceArn}"
883
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
884
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
885
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
886
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
887
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
888
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
889
+ end)
890
+
810
891
  api.add_operation(:reject_invitation, Seahorse::Model::Operation.new.tap do |o|
811
892
  o.name = "RejectInvitation"
812
893
  o.http_method = "DELETE"
@@ -821,6 +902,31 @@ module Aws::ManagedBlockchain
821
902
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
822
903
  end)
823
904
 
905
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
906
+ o.name = "TagResource"
907
+ o.http_method = "POST"
908
+ o.http_request_uri = "/tags/{resourceArn}"
909
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
910
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
911
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
912
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
913
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
914
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
915
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
916
+ end)
917
+
918
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
919
+ o.name = "UntagResource"
920
+ o.http_method = "DELETE"
921
+ o.http_request_uri = "/tags/{resourceArn}"
922
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
923
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
924
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
925
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
926
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
927
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
928
+ end)
929
+
824
930
  api.add_operation(:update_member, Seahorse::Model::Operation.new.tap do |o|
825
931
  o.name = "UpdateMember"
826
932
  o.http_method = "PATCH"
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.
@@ -141,6 +142,11 @@ module Aws::ManagedBlockchain
141
142
  def message
142
143
  @message || @data[:message]
143
144
  end
145
+
146
+ # @return [String]
147
+ def resource_name
148
+ @data[:resource_name]
149
+ end
144
150
  end
145
151
 
146
152
  class ResourceNotReadyException < ServiceError
@@ -168,5 +174,25 @@ module Aws::ManagedBlockchain
168
174
  end
169
175
  end
170
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
+
171
197
  end
172
198
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -99,6 +99,10 @@ module Aws::ManagedBlockchain
99
99
  # },
100
100
  # },
101
101
  # },
102
+ # tags: {
103
+ # "TagKey" => "TagValue",
104
+ # },
105
+ # kms_key_arn: "ArnString",
102
106
  # },
103
107
  # }
104
108
  #
@@ -188,6 +192,13 @@ module Aws::ManagedBlockchain
188
192
  # },
189
193
  # },
190
194
  # },
195
+ # tags: {
196
+ # "TagKey" => "TagValue",
197
+ # },
198
+ # kms_key_arn: "ArnString",
199
+ # },
200
+ # tags: {
201
+ # "TagKey" => "TagValue",
191
202
  # },
192
203
  # }
193
204
  #
@@ -232,6 +243,25 @@ module Aws::ManagedBlockchain
232
243
  # Configuration properties for the first member within the network.
233
244
  # @return [Types::MemberConfiguration]
234
245
  #
246
+ # @!attribute [rw] tags
247
+ # Tags to assign to the network. Each tag consists of a key and
248
+ # optional value.
249
+ #
250
+ # When specifying tags during creation, you can specify multiple
251
+ # key-value pairs in a single request, with an overall maximum of 50
252
+ # tags added to each resource.
253
+ #
254
+ # For more information about tags, see [Tagging Resources][1] in the
255
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
256
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
257
+ # Developer Guide*.
258
+ #
259
+ #
260
+ #
261
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
262
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
263
+ # @return [Hash<String,String>]
264
+ #
235
265
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNetworkInput AWS API Documentation
236
266
  #
237
267
  class CreateNetworkInput < Struct.new(
@@ -242,7 +272,8 @@ module Aws::ManagedBlockchain
242
272
  :framework_version,
243
273
  :framework_configuration,
244
274
  :voting_policy,
245
- :member_configuration)
275
+ :member_configuration,
276
+ :tags)
246
277
  SENSITIVE = []
247
278
  include Aws::Structure
248
279
  end
@@ -290,6 +321,9 @@ module Aws::ManagedBlockchain
290
321
  # },
291
322
  # state_db: "LevelDB", # accepts LevelDB, CouchDB
292
323
  # },
324
+ # tags: {
325
+ # "TagKey" => "TagValue",
326
+ # },
293
327
  # }
294
328
  #
295
329
  # @!attribute [rw] client_request_token
@@ -325,13 +359,33 @@ module Aws::ManagedBlockchain
325
359
  # The properties of a node configuration.
326
360
  # @return [Types::NodeConfiguration]
327
361
  #
362
+ # @!attribute [rw] tags
363
+ # Tags to assign to the node. Each tag consists of a key and optional
364
+ # value.
365
+ #
366
+ # When specifying tags during creation, you can specify multiple
367
+ # key-value pairs in a single request, with an overall maximum of 50
368
+ # tags added to each resource.
369
+ #
370
+ # For more information about tags, see [Tagging Resources][1] in the
371
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
372
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
373
+ # Developer Guide*.
374
+ #
375
+ #
376
+ #
377
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
378
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
379
+ # @return [Hash<String,String>]
380
+ #
328
381
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNodeInput AWS API Documentation
329
382
  #
330
383
  class CreateNodeInput < Struct.new(
331
384
  :client_request_token,
332
385
  :network_id,
333
386
  :member_id,
334
- :node_configuration)
387
+ :node_configuration,
388
+ :tags)
335
389
  SENSITIVE = []
336
390
  include Aws::Structure
337
391
  end
@@ -368,6 +422,9 @@ module Aws::ManagedBlockchain
368
422
  # ],
369
423
  # },
370
424
  # description: "DescriptionString",
425
+ # tags: {
426
+ # "TagKey" => "TagValue",
427
+ # },
371
428
  # }
372
429
  #
373
430
  # @!attribute [rw] client_request_token
@@ -404,6 +461,26 @@ module Aws::ManagedBlockchain
404
461
  # for example, "Proposal to add Example Corp. as member."
405
462
  # @return [String]
406
463
  #
464
+ # @!attribute [rw] tags
465
+ # Tags to assign to the proposal. Each tag consists of a key and
466
+ # optional value.
467
+ #
468
+ # When specifying tags during creation, you can specify multiple
469
+ # key-value pairs in a single request, with an overall maximum of 50
470
+ # tags added to each resource. If the proposal is for a network
471
+ # invitation, the invitation inherits the tags added to the proposal.
472
+ #
473
+ # For more information about tags, see [Tagging Resources][1] in the
474
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
475
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
476
+ # Developer Guide*.
477
+ #
478
+ #
479
+ #
480
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
481
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
482
+ # @return [Hash<String,String>]
483
+ #
407
484
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateProposalInput AWS API Documentation
408
485
  #
409
486
  class CreateProposalInput < Struct.new(
@@ -411,7 +488,8 @@ module Aws::ManagedBlockchain
411
488
  :network_id,
412
489
  :member_id,
413
490
  :actions,
414
- :description)
491
+ :description,
492
+ :tags)
415
493
  SENSITIVE = []
416
494
  include Aws::Structure
417
495
  end
@@ -730,6 +808,16 @@ module Aws::ManagedBlockchain
730
808
  # A summary of network configuration properties.
731
809
  # @return [Types::NetworkSummary]
732
810
  #
811
+ # @!attribute [rw] arn
812
+ # The Amazon Resource Name (ARN) of the invitation. For more
813
+ # information about ARNs and their format, see [Amazon Resource Names
814
+ # (ARNs)][1] in the *AWS General Reference*.
815
+ #
816
+ #
817
+ #
818
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
819
+ # @return [String]
820
+ #
733
821
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Invitation AWS API Documentation
734
822
  #
735
823
  class Invitation < Struct.new(
@@ -737,7 +825,8 @@ module Aws::ManagedBlockchain
737
825
  :creation_date,
738
826
  :expiration_date,
739
827
  :status,
740
- :network_summary)
828
+ :network_summary,
829
+ :arn)
741
830
  SENSITIVE = []
742
831
  include Aws::Structure
743
832
  end
@@ -817,7 +906,7 @@ module Aws::ManagedBlockchain
817
906
  # {
818
907
  # network_id: "ResourceIdString", # required
819
908
  # name: "String",
820
- # status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED
909
+ # status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED, INACCESSIBLE_ENCRYPTION_KEY
821
910
  # is_owned: false,
822
911
  # max_results: 1,
823
912
  # next_token: "PaginationToken",
@@ -957,7 +1046,7 @@ module Aws::ManagedBlockchain
957
1046
  # {
958
1047
  # network_id: "ResourceIdString", # required
959
1048
  # member_id: "ResourceIdString",
960
- # status: "CREATING", # accepts CREATING, AVAILABLE, UNHEALTHY, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
1049
+ # status: "CREATING", # accepts CREATING, AVAILABLE, UNHEALTHY, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED, INACCESSIBLE_ENCRYPTION_KEY
961
1050
  # max_results: 1,
962
1051
  # next_token: "PaginationToken",
963
1052
  # }
@@ -1124,6 +1213,43 @@ module Aws::ManagedBlockchain
1124
1213
  include Aws::Structure
1125
1214
  end
1126
1215
 
1216
+ # @note When making an API call, you may pass ListTagsForResourceRequest
1217
+ # data as a hash:
1218
+ #
1219
+ # {
1220
+ # resource_arn: "ArnString", # required
1221
+ # }
1222
+ #
1223
+ # @!attribute [rw] resource_arn
1224
+ # The Amazon Resource Name (ARN) of the resource. For more information
1225
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
1226
+ # in the *AWS General Reference*.
1227
+ #
1228
+ #
1229
+ #
1230
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1231
+ # @return [String]
1232
+ #
1233
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListTagsForResourceRequest AWS API Documentation
1234
+ #
1235
+ class ListTagsForResourceRequest < Struct.new(
1236
+ :resource_arn)
1237
+ SENSITIVE = []
1238
+ include Aws::Structure
1239
+ end
1240
+
1241
+ # @!attribute [rw] tags
1242
+ # The tags assigned to the resource.
1243
+ # @return [Hash<String,String>]
1244
+ #
1245
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListTagsForResourceResponse AWS API Documentation
1246
+ #
1247
+ class ListTagsForResourceResponse < Struct.new(
1248
+ :tags)
1249
+ SENSITIVE = []
1250
+ include Aws::Structure
1251
+ end
1252
+
1127
1253
  # A configuration for logging events.
1128
1254
  #
1129
1255
  # @note When making an API call, you may pass LogConfiguration
@@ -1210,6 +1336,8 @@ module Aws::ManagedBlockchain
1210
1336
  # * `CREATE_FAILED` - The AWS account attempted to create a member and
1211
1337
  # creation failed.
1212
1338
  #
1339
+ # * `UPDATING` - The member is in the process of being updated.
1340
+ #
1213
1341
  # * `DELETING` - The member and all associated resources are in the
1214
1342
  # process of being deleted. Either the AWS account that owns the
1215
1343
  # member deleted it, or the member is being deleted as the result of
@@ -1219,12 +1347,52 @@ module Aws::ManagedBlockchain
1219
1347
  # and all associated resources are deleted. Either the AWS account
1220
1348
  # that owns the member deleted it, or the member is being deleted as
1221
1349
  # the result of an `APPROVED` `PROPOSAL` to remove the member.
1350
+ #
1351
+ # * `INACCESSIBLE_ENCRYPTION_KEY` - The member is impaired and might
1352
+ # not function as expected because it cannot access the specified
1353
+ # customer managed key in AWS KMS for encryption at rest. Either the
1354
+ # KMS key was disabled or deleted, or the grants on the key were
1355
+ # revoked.
1356
+ #
1357
+ # The effect of disabling or deleting a key, or revoking a grant is
1358
+ # not immediate. The member resource might take some time to find
1359
+ # that the key is inaccessible. When a resource is in this state, we
1360
+ # recommend deleting and recreating the resource.
1222
1361
  # @return [String]
1223
1362
  #
1224
1363
  # @!attribute [rw] creation_date
1225
1364
  # The date and time that the member was created.
1226
1365
  # @return [Time]
1227
1366
  #
1367
+ # @!attribute [rw] tags
1368
+ # Tags assigned to the member. Tags consist of a key and optional
1369
+ # value. For more information about tags, see [Tagging Resources][1]
1370
+ # in the *Amazon Managed Blockchain Hyperledger Fabric Developer
1371
+ # Guide*.
1372
+ #
1373
+ #
1374
+ #
1375
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
1376
+ # @return [Hash<String,String>]
1377
+ #
1378
+ # @!attribute [rw] arn
1379
+ # The Amazon Resource Name (ARN) of the member. For more information
1380
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
1381
+ # in the *AWS General Reference*.
1382
+ #
1383
+ #
1384
+ #
1385
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1386
+ # @return [String]
1387
+ #
1388
+ # @!attribute [rw] kms_key_arn
1389
+ # The Amazon Resource Name (ARN) of the customer managed key in AWS
1390
+ # Key Management Service (AWS KMS) that the member uses for encryption
1391
+ # at rest. If the value of this parameter is `"AWS Owned KMS Key"`,
1392
+ # the member uses an AWS owned KMS key for encryption. This parameter
1393
+ # is inherited by the nodes that this member owns.
1394
+ # @return [String]
1395
+ #
1228
1396
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Member AWS API Documentation
1229
1397
  #
1230
1398
  class Member < Struct.new(
@@ -1235,7 +1403,10 @@ module Aws::ManagedBlockchain
1235
1403
  :framework_attributes,
1236
1404
  :log_publishing_configuration,
1237
1405
  :status,
1238
- :creation_date)
1406
+ :creation_date,
1407
+ :tags,
1408
+ :arn,
1409
+ :kms_key_arn)
1239
1410
  SENSITIVE = []
1240
1411
  include Aws::Structure
1241
1412
  end
@@ -1265,6 +1436,10 @@ module Aws::ManagedBlockchain
1265
1436
  # },
1266
1437
  # },
1267
1438
  # },
1439
+ # tags: {
1440
+ # "TagKey" => "TagValue",
1441
+ # },
1442
+ # kms_key_arn: "ArnString",
1268
1443
  # }
1269
1444
  #
1270
1445
  # @!attribute [rw] name
@@ -1285,13 +1460,56 @@ module Aws::ManagedBlockchain
1285
1460
  # of a Managed Blockchain network.
1286
1461
  # @return [Types::MemberLogPublishingConfiguration]
1287
1462
  #
1463
+ # @!attribute [rw] tags
1464
+ # Tags assigned to the member. Tags consist of a key and optional
1465
+ # value. For more information about tags, see [Tagging Resources][1]
1466
+ # in the *Amazon Managed Blockchain Hyperledger Fabric Developer
1467
+ # Guide*.
1468
+ #
1469
+ # When specifying tags during creation, you can specify multiple
1470
+ # key-value pairs in a single request, with an overall maximum of 50
1471
+ # tags added to each resource.
1472
+ #
1473
+ #
1474
+ #
1475
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
1476
+ # @return [Hash<String,String>]
1477
+ #
1478
+ # @!attribute [rw] kms_key_arn
1479
+ # The Amazon Resource Name (ARN) of the customer managed key in AWS
1480
+ # Key Management Service (AWS KMS) to use for encryption at rest in
1481
+ # the member. This parameter is inherited by any nodes that this
1482
+ # member creates.
1483
+ #
1484
+ # Use one of the following options to specify this parameter:
1485
+ #
1486
+ # * **Undefined or empty string** - The member uses an AWS owned KMS
1487
+ # key for encryption by default.
1488
+ #
1489
+ # * **A valid symmetric customer managed KMS key** - The member uses
1490
+ # the specified key for encryption.
1491
+ #
1492
+ # Amazon Managed Blockchain doesn't support asymmetric keys. For
1493
+ # more information, see [Using symmetric and asymmetric keys][1] in
1494
+ # the *AWS Key Management Service Developer Guide*.
1495
+ #
1496
+ # The following is an example of a KMS key ARN:
1497
+ # `arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab`
1498
+ #
1499
+ #
1500
+ #
1501
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html
1502
+ # @return [String]
1503
+ #
1288
1504
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberConfiguration AWS API Documentation
1289
1505
  #
1290
1506
  class MemberConfiguration < Struct.new(
1291
1507
  :name,
1292
1508
  :description,
1293
1509
  :framework_configuration,
1294
- :log_publishing_configuration)
1510
+ :log_publishing_configuration,
1511
+ :tags,
1512
+ :kms_key_arn)
1295
1513
  SENSITIVE = []
1296
1514
  include Aws::Structure
1297
1515
  end
@@ -1479,6 +1697,8 @@ module Aws::ManagedBlockchain
1479
1697
  # * `CREATE_FAILED` - The AWS account attempted to create a member and
1480
1698
  # creation failed.
1481
1699
  #
1700
+ # * `UPDATING` - The member is in the process of being updated.
1701
+ #
1482
1702
  # * `DELETING` - The member and all associated resources are in the
1483
1703
  # process of being deleted. Either the AWS account that owns the
1484
1704
  # member deleted it, or the member is being deleted as the result of
@@ -1488,6 +1708,17 @@ module Aws::ManagedBlockchain
1488
1708
  # and all associated resources are deleted. Either the AWS account
1489
1709
  # that owns the member deleted it, or the member is being deleted as
1490
1710
  # the result of an `APPROVED` `PROPOSAL` to remove the member.
1711
+ #
1712
+ # * `INACCESSIBLE_ENCRYPTION_KEY` - The member is impaired and might
1713
+ # not function as expected because it cannot access the specified
1714
+ # customer managed key in AWS Key Management Service (AWS KMS) for
1715
+ # encryption at rest. Either the KMS key was disabled or deleted, or
1716
+ # the grants on the key were revoked.
1717
+ #
1718
+ # The effect of disabling or deleting a key, or revoking a grant is
1719
+ # not immediate. The member resource might take some time to find
1720
+ # that the key is inaccessible. When a resource is in this state, we
1721
+ # recommend deleting and recreating the resource.
1491
1722
  # @return [String]
1492
1723
  #
1493
1724
  # @!attribute [rw] creation_date
@@ -1499,6 +1730,16 @@ module Aws::ManagedBlockchain
1499
1730
  # different AWS account.
1500
1731
  # @return [Boolean]
1501
1732
  #
1733
+ # @!attribute [rw] arn
1734
+ # The Amazon Resource Name (ARN) of the member. For more information
1735
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
1736
+ # in the *AWS General Reference*.
1737
+ #
1738
+ #
1739
+ #
1740
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1741
+ # @return [String]
1742
+ #
1502
1743
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberSummary AWS API Documentation
1503
1744
  #
1504
1745
  class MemberSummary < Struct.new(
@@ -1507,7 +1748,8 @@ module Aws::ManagedBlockchain
1507
1748
  :description,
1508
1749
  :status,
1509
1750
  :creation_date,
1510
- :is_owned)
1751
+ :is_owned,
1752
+ :arn)
1511
1753
  SENSITIVE = []
1512
1754
  include Aws::Structure
1513
1755
  end
@@ -1557,6 +1799,31 @@ module Aws::ManagedBlockchain
1557
1799
  # The date and time that the network was created.
1558
1800
  # @return [Time]
1559
1801
  #
1802
+ # @!attribute [rw] tags
1803
+ # Tags assigned to the network. Each tag consists of a key and
1804
+ # optional value.
1805
+ #
1806
+ # For more information about tags, see [Tagging Resources][1] in the
1807
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
1808
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
1809
+ # Developer Guide*.
1810
+ #
1811
+ #
1812
+ #
1813
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
1814
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
1815
+ # @return [Hash<String,String>]
1816
+ #
1817
+ # @!attribute [rw] arn
1818
+ # The Amazon Resource Name (ARN) of the network. For more information
1819
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
1820
+ # in the *AWS General Reference*.
1821
+ #
1822
+ #
1823
+ #
1824
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1825
+ # @return [String]
1826
+ #
1560
1827
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Network AWS API Documentation
1561
1828
  #
1562
1829
  class Network < Struct.new(
@@ -1569,7 +1836,9 @@ module Aws::ManagedBlockchain
1569
1836
  :vpc_endpoint_service_name,
1570
1837
  :voting_policy,
1571
1838
  :status,
1572
- :creation_date)
1839
+ :creation_date,
1840
+ :tags,
1841
+ :arn)
1573
1842
  SENSITIVE = []
1574
1843
  include Aws::Structure
1575
1844
  end
@@ -1723,6 +1992,16 @@ module Aws::ManagedBlockchain
1723
1992
  # The date and time that the network was created.
1724
1993
  # @return [Time]
1725
1994
  #
1995
+ # @!attribute [rw] arn
1996
+ # The Amazon Resource Name (ARN) of the network. For more information
1997
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
1998
+ # in the *AWS General Reference*.
1999
+ #
2000
+ #
2001
+ #
2002
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2003
+ # @return [String]
2004
+ #
1726
2005
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkSummary AWS API Documentation
1727
2006
  #
1728
2007
  class NetworkSummary < Struct.new(
@@ -1732,7 +2011,8 @@ module Aws::ManagedBlockchain
1732
2011
  :framework,
1733
2012
  :framework_version,
1734
2013
  :status,
1735
- :creation_date)
2014
+ :creation_date,
2015
+ :arn)
1736
2016
  SENSITIVE = []
1737
2017
  include Aws::Structure
1738
2018
  end
@@ -1758,7 +2038,8 @@ module Aws::ManagedBlockchain
1758
2038
  # @return [String]
1759
2039
  #
1760
2040
  # @!attribute [rw] availability_zone
1761
- # The Availability Zone in which the node exists.
2041
+ # The Availability Zone in which the node exists. Required for
2042
+ # Ethereum nodes.
1762
2043
  # @return [String]
1763
2044
  #
1764
2045
  # @!attribute [rw] framework_attributes
@@ -1779,12 +2060,80 @@ module Aws::ManagedBlockchain
1779
2060
  #
1780
2061
  # @!attribute [rw] status
1781
2062
  # The status of the node.
2063
+ #
2064
+ # * `CREATING` - The AWS account is in the process of creating a node.
2065
+ #
2066
+ # * `AVAILABLE` - The node has been created and can participate in the
2067
+ # network.
2068
+ #
2069
+ # * `UNHEALTHY` - The node is impaired and might not function as
2070
+ # expected. Amazon Managed Blockchain automatically finds nodes in
2071
+ # this state and tries to recover them. If a node is recoverable, it
2072
+ # returns to `AVAILABLE`. Otherwise, it moves to `FAILED` status.
2073
+ #
2074
+ # * `CREATE_FAILED` - The AWS account attempted to create a node and
2075
+ # creation failed.
2076
+ #
2077
+ # * `UPDATING` - The node is in the process of being updated.
2078
+ #
2079
+ # * `DELETING` - The node is in the process of being deleted.
2080
+ #
2081
+ # * `DELETED` - The node can no longer participate on the network.
2082
+ #
2083
+ # * `FAILED` - The node is no longer functional, cannot be recovered,
2084
+ # and must be deleted.
2085
+ #
2086
+ # * `INACCESSIBLE_ENCRYPTION_KEY` - The node is impaired and might not
2087
+ # function as expected because it cannot access the specified
2088
+ # customer managed key in AWS KMS for encryption at rest. Either the
2089
+ # KMS key was disabled or deleted, or the grants on the key were
2090
+ # revoked.
2091
+ #
2092
+ # The effect of disabling or deleting a key, or revoking a grant is
2093
+ # not immediate. The node resource might take some time to find that
2094
+ # the key is inaccessible. When a resource is in this state, we
2095
+ # recommend deleting and recreating the resource.
1782
2096
  # @return [String]
1783
2097
  #
1784
2098
  # @!attribute [rw] creation_date
1785
2099
  # The date and time that the node was created.
1786
2100
  # @return [Time]
1787
2101
  #
2102
+ # @!attribute [rw] tags
2103
+ # Tags assigned to the node. Each tag consists of a key and optional
2104
+ # value.
2105
+ #
2106
+ # For more information about tags, see [Tagging Resources][1] in the
2107
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
2108
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
2109
+ # Developer Guide*.
2110
+ #
2111
+ #
2112
+ #
2113
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
2114
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
2115
+ # @return [Hash<String,String>]
2116
+ #
2117
+ # @!attribute [rw] arn
2118
+ # The Amazon Resource Name (ARN) of the node. For more information
2119
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
2120
+ # in the *AWS General Reference*.
2121
+ #
2122
+ #
2123
+ #
2124
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2125
+ # @return [String]
2126
+ #
2127
+ # @!attribute [rw] kms_key_arn
2128
+ # The Amazon Resource Name (ARN) of the customer managed key in AWS
2129
+ # Key Management Service (AWS KMS) that the node uses for encryption
2130
+ # at rest. If the value of this parameter is `"AWS Owned KMS Key"`,
2131
+ # the node uses an AWS owned KMS key for encryption. The node inherits
2132
+ # this parameter from the member that it belongs to.
2133
+ #
2134
+ # Applies only to Hyperledger Fabric.
2135
+ # @return [String]
2136
+ #
1788
2137
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Node AWS API Documentation
1789
2138
  #
1790
2139
  class Node < Struct.new(
@@ -1797,7 +2146,10 @@ module Aws::ManagedBlockchain
1797
2146
  :log_publishing_configuration,
1798
2147
  :state_db,
1799
2148
  :status,
1800
- :creation_date)
2149
+ :creation_date,
2150
+ :tags,
2151
+ :arn,
2152
+ :kms_key_arn)
1801
2153
  SENSITIVE = []
1802
2154
  include Aws::Structure
1803
2155
  end
@@ -1832,7 +2184,8 @@ module Aws::ManagedBlockchain
1832
2184
  # @return [String]
1833
2185
  #
1834
2186
  # @!attribute [rw] availability_zone
1835
- # The Availability Zone in which the node exists.
2187
+ # The Availability Zone in which the node exists. Required for
2188
+ # Ethereum nodes.
1836
2189
  # @return [String]
1837
2190
  #
1838
2191
  # @!attribute [rw] log_publishing_configuration
@@ -2039,6 +2392,16 @@ module Aws::ManagedBlockchain
2039
2392
  # The EC2 instance type for the node.
2040
2393
  # @return [String]
2041
2394
  #
2395
+ # @!attribute [rw] arn
2396
+ # The Amazon Resource Name (ARN) of the node. For more information
2397
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
2398
+ # in the *AWS General Reference*.
2399
+ #
2400
+ #
2401
+ #
2402
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2403
+ # @return [String]
2404
+ #
2042
2405
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeSummary AWS API Documentation
2043
2406
  #
2044
2407
  class NodeSummary < Struct.new(
@@ -2046,7 +2409,8 @@ module Aws::ManagedBlockchain
2046
2409
  :status,
2047
2410
  :creation_date,
2048
2411
  :availability_zone,
2049
- :instance_type)
2412
+ :instance_type,
2413
+ :arn)
2050
2414
  SENSITIVE = []
2051
2415
  include Aws::Structure
2052
2416
  end
@@ -2130,6 +2494,31 @@ module Aws::ManagedBlockchain
2130
2494
  # and `NO` votes.
2131
2495
  # @return [Integer]
2132
2496
  #
2497
+ # @!attribute [rw] tags
2498
+ # Tags assigned to the proposal. Each tag consists of a key and
2499
+ # optional value.
2500
+ #
2501
+ # For more information about tags, see [Tagging Resources][1] in the
2502
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
2503
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
2504
+ # Developer Guide*.
2505
+ #
2506
+ #
2507
+ #
2508
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
2509
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
2510
+ # @return [Hash<String,String>]
2511
+ #
2512
+ # @!attribute [rw] arn
2513
+ # The Amazon Resource Name (ARN) of the proposal. For more information
2514
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
2515
+ # in the *AWS General Reference*.
2516
+ #
2517
+ #
2518
+ #
2519
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2520
+ # @return [String]
2521
+ #
2133
2522
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Proposal AWS API Documentation
2134
2523
  #
2135
2524
  class Proposal < Struct.new(
@@ -2144,7 +2533,9 @@ module Aws::ManagedBlockchain
2144
2533
  :expiration_date,
2145
2534
  :yes_vote_count,
2146
2535
  :no_vote_count,
2147
- :outstanding_vote_count)
2536
+ :outstanding_vote_count,
2537
+ :tags,
2538
+ :arn)
2148
2539
  SENSITIVE = []
2149
2540
  include Aws::Structure
2150
2541
  end
@@ -2245,6 +2636,16 @@ module Aws::ManagedBlockchain
2245
2636
  # `Actions` are not carried out.
2246
2637
  # @return [Time]
2247
2638
  #
2639
+ # @!attribute [rw] arn
2640
+ # The Amazon Resource Name (ARN) of the proposal. For more information
2641
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
2642
+ # in the *AWS General Reference*.
2643
+ #
2644
+ #
2645
+ #
2646
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2647
+ # @return [String]
2648
+ #
2248
2649
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ProposalSummary AWS API Documentation
2249
2650
  #
2250
2651
  class ProposalSummary < Struct.new(
@@ -2254,7 +2655,8 @@ module Aws::ManagedBlockchain
2254
2655
  :proposed_by_member_name,
2255
2656
  :status,
2256
2657
  :creation_date,
2257
- :expiration_date)
2658
+ :expiration_date,
2659
+ :arn)
2258
2660
  SENSITIVE = []
2259
2661
  include Aws::Structure
2260
2662
  end
@@ -2335,16 +2737,22 @@ module Aws::ManagedBlockchain
2335
2737
  include Aws::Structure
2336
2738
  end
2337
2739
 
2338
- # A requested resource does not exist on the network. It may have been
2339
- # deleted or referenced inaccurately.
2740
+ # A requested resource does not exist. It may have been deleted or
2741
+ # referenced inaccurately.
2340
2742
  #
2341
2743
  # @!attribute [rw] message
2342
2744
  # @return [String]
2343
2745
  #
2746
+ # @!attribute [rw] resource_name
2747
+ # A requested resource does not exist. It may have been deleted or
2748
+ # referenced inaccurately.
2749
+ # @return [String]
2750
+ #
2344
2751
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ResourceNotFoundException AWS API Documentation
2345
2752
  #
2346
2753
  class ResourceNotFoundException < Struct.new(
2347
- :message)
2754
+ :message,
2755
+ :resource_name)
2348
2756
  SENSITIVE = []
2349
2757
  include Aws::Structure
2350
2758
  end
@@ -2363,6 +2771,46 @@ module Aws::ManagedBlockchain
2363
2771
  include Aws::Structure
2364
2772
  end
2365
2773
 
2774
+ # @note When making an API call, you may pass TagResourceRequest
2775
+ # data as a hash:
2776
+ #
2777
+ # {
2778
+ # resource_arn: "ArnString", # required
2779
+ # tags: { # required
2780
+ # "TagKey" => "TagValue",
2781
+ # },
2782
+ # }
2783
+ #
2784
+ # @!attribute [rw] resource_arn
2785
+ # The Amazon Resource Name (ARN) of the resource. For more information
2786
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
2787
+ # in the *AWS General Reference*.
2788
+ #
2789
+ #
2790
+ #
2791
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2792
+ # @return [String]
2793
+ #
2794
+ # @!attribute [rw] tags
2795
+ # The tags to assign to the specified resource. Tag values can be
2796
+ # empty, for example, `"MyTagKey" : ""`. You can specify multiple
2797
+ # key-value pairs in a single request, with an overall maximum of 50
2798
+ # tags added to each resource.
2799
+ # @return [Hash<String,String>]
2800
+ #
2801
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TagResourceRequest AWS API Documentation
2802
+ #
2803
+ class TagResourceRequest < Struct.new(
2804
+ :resource_arn,
2805
+ :tags)
2806
+ SENSITIVE = []
2807
+ include Aws::Structure
2808
+ end
2809
+
2810
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TagResourceResponse AWS API Documentation
2811
+ #
2812
+ class TagResourceResponse < Aws::EmptyStructure; end
2813
+
2366
2814
  # The request or operation could not be performed because a service is
2367
2815
  # throttling requests. The most common source of throttling errors is
2368
2816
  # launching EC2 instances such that your service limit for EC2 instances
@@ -2373,6 +2821,56 @@ module Aws::ManagedBlockchain
2373
2821
  #
2374
2822
  class ThrottlingException < Aws::EmptyStructure; end
2375
2823
 
2824
+ # @!attribute [rw] message
2825
+ # @return [String]
2826
+ #
2827
+ # @!attribute [rw] resource_name
2828
+ # @return [String]
2829
+ #
2830
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TooManyTagsException AWS API Documentation
2831
+ #
2832
+ class TooManyTagsException < Struct.new(
2833
+ :message,
2834
+ :resource_name)
2835
+ SENSITIVE = []
2836
+ include Aws::Structure
2837
+ end
2838
+
2839
+ # @note When making an API call, you may pass UntagResourceRequest
2840
+ # data as a hash:
2841
+ #
2842
+ # {
2843
+ # resource_arn: "ArnString", # required
2844
+ # tag_keys: ["TagKey"], # required
2845
+ # }
2846
+ #
2847
+ # @!attribute [rw] resource_arn
2848
+ # The Amazon Resource Name (ARN) of the resource. For more information
2849
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
2850
+ # in the *AWS General Reference*.
2851
+ #
2852
+ #
2853
+ #
2854
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2855
+ # @return [String]
2856
+ #
2857
+ # @!attribute [rw] tag_keys
2858
+ # The tag keys.
2859
+ # @return [Array<String>]
2860
+ #
2861
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UntagResourceRequest AWS API Documentation
2862
+ #
2863
+ class UntagResourceRequest < Struct.new(
2864
+ :resource_arn,
2865
+ :tag_keys)
2866
+ SENSITIVE = []
2867
+ include Aws::Structure
2868
+ end
2869
+
2870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UntagResourceResponse AWS API Documentation
2871
+ #
2872
+ class UntagResourceResponse < Aws::EmptyStructure; end
2873
+
2376
2874
  # @note When making an API call, you may pass UpdateMemberInput
2377
2875
  # data as a hash:
2378
2876
  #