aws-sdk-managedblockchain 1.31.0 → 1.33.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c2952c89eed7bd51d712c40b2095cfd0a944cd3a9b581d46f1ff386b99f321a1
4
- data.tar.gz: ffe8f141c83fd8fc99e68002dcc0c1b455d5ee6c8216f9e19637bc63c1fb4050
3
+ metadata.gz: d3449429258049b1b365c2b2ef1879f0c723dc8e56714f7ec628a69e1d465c66
4
+ data.tar.gz: dc0e7ca677913e04b9a01d35f66ac954d8da63cb2bf0a5af15472895348b10f6
5
5
  SHA512:
6
- metadata.gz: 12ccaf5077ab6c07be446940375dd97a8b6acd0059d06617767d942bfa52d258111f56307ac28f1162d9d085d4d84bde744f069e3cc7805b68daedcb5fe90fa9
7
- data.tar.gz: 653045f256e9f1a07441bf6878545c862267f3de5d64f25c593a06a140a4c3f63ea6527cfd36ac7a9c49d07d54b83889bf791ebd6267883c4814b16a3a115fc8
6
+ metadata.gz: ac9104e7f65df4e2bc6976f7430a6d513df44a91598d2cbbab7909509f0769bdaedf1e259d79dce6726673960508b52bc39ec7b32c4b1ccd4bf7b0b09131cfe2
7
+ data.tar.gz: f5689f459670a14cc7f49ea91fb8027f9a91e255e7c6e15083eb41b06bc26d883a3f2ef156d07bb093b8c6fc85b35fde8f528ade91e3ca28f5b5f5d3e1b3530f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.33.0 (2022-10-19)
5
+ ------------------
6
+
7
+ * Feature - Adding new Accessor APIs for Amazon Managed Blockchain
8
+
9
+ 1.32.0 (2022-02-24)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.31.0 (2022-02-03)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.31.0
1
+ 1.33.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
32
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
@@ -75,6 +76,7 @@ module Aws::ManagedBlockchain
75
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
76
77
  add_plugin(Aws::Plugins::TransferEncoding)
77
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
78
80
  add_plugin(Aws::Plugins::DefaultsMode)
79
81
  add_plugin(Aws::Plugins::RecursionDetection)
80
82
  add_plugin(Aws::Plugins::SignatureV4)
@@ -349,6 +351,58 @@ module Aws::ManagedBlockchain
349
351
 
350
352
  # @!group API Operations
351
353
 
354
+ # The token based access feature is in preview release for Ethereum on
355
+ # Amazon Managed Blockchain and is subject to change. We recommend that
356
+ # you use this feature only with test scenarios, and not in production
357
+ # environments.
358
+ #
359
+ # Creates a new accessor for use with Managed Blockchain Ethereum nodes.
360
+ # An accessor object is a container that has the information required
361
+ # for token based access to your Ethereum nodes.
362
+ #
363
+ # @option params [required, String] :client_request_token
364
+ # This is a unique, case-sensitive identifier that you provide to ensure
365
+ # the idempotency of the operation. An idempotent operation completes no
366
+ # more than once. This identifier is required only if you make a service
367
+ # request directly using an HTTP client. It is generated automatically
368
+ # if you use an Amazon Web Services SDK or the Amazon Web Services CLI.
369
+ #
370
+ # **A suitable default value is auto-generated.** You should normally
371
+ # not need to pass this option.**
372
+ #
373
+ # @option params [required, String] :accessor_type
374
+ # The type of accessor.
375
+ #
376
+ # <note markdown="1"> Currently accessor type is restricted to `BILLING_TOKEN`.
377
+ #
378
+ # </note>
379
+ #
380
+ # @return [Types::CreateAccessorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
381
+ #
382
+ # * {Types::CreateAccessorOutput#accessor_id #accessor_id} => String
383
+ # * {Types::CreateAccessorOutput#billing_token #billing_token} => String
384
+ #
385
+ # @example Request syntax with placeholder values
386
+ #
387
+ # resp = client.create_accessor({
388
+ # client_request_token: "ClientRequestTokenString", # required
389
+ # accessor_type: "BILLING_TOKEN", # required, accepts BILLING_TOKEN
390
+ # })
391
+ #
392
+ # @example Response structure
393
+ #
394
+ # resp.accessor_id #=> String
395
+ # resp.billing_token #=> String
396
+ #
397
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateAccessor AWS API Documentation
398
+ #
399
+ # @overload create_accessor(params = {})
400
+ # @param [Hash] params ({})
401
+ def create_accessor(params = {}, options = {})
402
+ req = build_request(:create_accessor, params)
403
+ req.send_request(options)
404
+ end
405
+
352
406
  # Creates a member within a Managed Blockchain network.
353
407
  #
354
408
  # Applies only to Hyperledger Fabric.
@@ -358,7 +412,7 @@ module Aws::ManagedBlockchain
358
412
  # idempotency of the operation. An idempotent operation completes no
359
413
  # more than one time. This identifier is required only if you make a
360
414
  # service request directly using an HTTP client. It is generated
361
- # automatically if you use an AWS SDK or the AWS CLI.
415
+ # automatically if you use an Amazon Web Services SDK or the CLI.
362
416
  #
363
417
  # **A suitable default value is auto-generated.** You should normally
364
418
  # not need to pass this option.**
@@ -426,11 +480,11 @@ module Aws::ManagedBlockchain
426
480
  # Applies only to Hyperledger Fabric.
427
481
  #
428
482
  # @option params [required, String] :client_request_token
429
- # A unique, case-sensitive identifier that you provide to ensure the
430
- # idempotency of the operation. An idempotent operation completes no
431
- # more than one time. This identifier is required only if you make a
432
- # service request directly using an HTTP client. It is generated
433
- # automatically if you use an AWS SDK or the AWS CLI.
483
+ # This is a unique, case-sensitive identifier that you provide to ensure
484
+ # the idempotency of the operation. An idempotent operation completes no
485
+ # more than once. This identifier is required only if you make a service
486
+ # request directly using an HTTP client. It is generated automatically
487
+ # if you use an Amazon Web Services SDK or the Amazon Web Services CLI.
434
488
  #
435
489
  # **A suitable default value is auto-generated.** You should normally
436
490
  # not need to pass this option.**
@@ -552,7 +606,7 @@ module Aws::ManagedBlockchain
552
606
  # idempotency of the operation. An idempotent operation completes no
553
607
  # more than one time. This identifier is required only if you make a
554
608
  # service request directly using an HTTP client. It is generated
555
- # automatically if you use an AWS SDK or the AWS CLI.
609
+ # automatically if you use an Amazon Web Services SDK or the CLI.
556
610
  #
557
611
  # **A suitable default value is auto-generated.** You should normally
558
612
  # not need to pass this option.**
@@ -652,7 +706,7 @@ module Aws::ManagedBlockchain
652
706
  # idempotency of the operation. An idempotent operation completes no
653
707
  # more than one time. This identifier is required only if you make a
654
708
  # service request directly using an HTTP client. It is generated
655
- # automatically if you use an AWS SDK or the AWS CLI.
709
+ # automatically if you use an Amazon Web Services SDK or the CLI.
656
710
  #
657
711
  # **A suitable default value is auto-generated.** You should normally
658
712
  # not need to pass this option.**
@@ -663,7 +717,8 @@ module Aws::ManagedBlockchain
663
717
  # @option params [required, String] :member_id
664
718
  # The unique identifier of the member that is creating the proposal.
665
719
  # This identifier is especially useful for identifying the member making
666
- # the proposal when multiple members exist in a single AWS account.
720
+ # the proposal when multiple members exist in a single Amazon Web
721
+ # Services account.
667
722
  #
668
723
  # @option params [required, Types::ProposalActions] :actions
669
724
  # The type of actions proposed, such as inviting a member or removing a
@@ -735,14 +790,49 @@ module Aws::ManagedBlockchain
735
790
  req.send_request(options)
736
791
  end
737
792
 
793
+ # The token based access feature is in preview release for Ethereum on
794
+ # Amazon Managed Blockchain and is subject to change. We recommend that
795
+ # you use this feature only with test scenarios, and not in production
796
+ # environments.
797
+ #
798
+ # Deletes an accessor that your Amazon Web Services account owns. An
799
+ # accessor object is a container that has the information required for
800
+ # token based access to your Ethereum nodes including, the
801
+ # `BILLING_TOKEN`. After an accessor is deleted, the status of the
802
+ # accessor changes from `AVAILABLE` to `PENDING_DELETION`. An accessor
803
+ # in the `PENDING_DELETION` state can’t be used for new WebSocket
804
+ # requests or HTTP requests. However, WebSocket connections that are
805
+ # initiated while the accessor was in the `AVAILABLE` state remain open
806
+ # until they expire (up to 2 hours).
807
+ #
808
+ # @option params [required, String] :accessor_id
809
+ # The unique identifier of the accessor.
810
+ #
811
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
812
+ #
813
+ # @example Request syntax with placeholder values
814
+ #
815
+ # resp = client.delete_accessor({
816
+ # accessor_id: "ResourceIdString", # required
817
+ # })
818
+ #
819
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteAccessor AWS API Documentation
820
+ #
821
+ # @overload delete_accessor(params = {})
822
+ # @param [Hash] params ({})
823
+ def delete_accessor(params = {}, options = {})
824
+ req = build_request(:delete_accessor, params)
825
+ req.send_request(options)
826
+ end
827
+
738
828
  # Deletes a member. Deleting a member removes the member and all
739
829
  # associated resources from the network. `DeleteMember` can only be
740
830
  # called for a specified `MemberId` if the principal performing the
741
- # action is associated with the AWS account that owns the member. In all
742
- # other cases, the `DeleteMember` action is carried out as the result of
743
- # an approved proposal to remove a member. If `MemberId` is the last
744
- # member in a network specified by the last AWS account, the network is
745
- # deleted also.
831
+ # action is associated with the Amazon Web Services account that owns
832
+ # the member. In all other cases, the `DeleteMember` action is carried
833
+ # out as the result of an approved proposal to remove a member. If
834
+ # `MemberId` is the last member in a network specified by the last
835
+ # Amazon Web Services account, the network is deleted also.
746
836
  #
747
837
  # Applies only to Hyperledger Fabric.
748
838
  #
@@ -770,8 +860,8 @@ module Aws::ManagedBlockchain
770
860
  req.send_request(options)
771
861
  end
772
862
 
773
- # Deletes a node that your AWS account owns. All data on the node is
774
- # lost and cannot be recovered.
863
+ # Deletes a node that your Amazon Web Services account owns. All data on
864
+ # the node is lost and cannot be recovered.
775
865
  #
776
866
  # Applies to Hyperledger Fabric and Ethereum.
777
867
  #
@@ -814,6 +904,46 @@ module Aws::ManagedBlockchain
814
904
  req.send_request(options)
815
905
  end
816
906
 
907
+ # The token based access feature is in preview release for Ethereum on
908
+ # Amazon Managed Blockchain and is subject to change. We recommend that
909
+ # you use this feature only with test scenarios, and not in production
910
+ # environments.
911
+ #
912
+ # Returns detailed information about an accessor. An accessor object is
913
+ # a container that has the information required for token based access
914
+ # to your Ethereum nodes.
915
+ #
916
+ # @option params [required, String] :accessor_id
917
+ # The unique identifier of the accessor.
918
+ #
919
+ # @return [Types::GetAccessorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
920
+ #
921
+ # * {Types::GetAccessorOutput#accessor #accessor} => Types::Accessor
922
+ #
923
+ # @example Request syntax with placeholder values
924
+ #
925
+ # resp = client.get_accessor({
926
+ # accessor_id: "ResourceIdString", # required
927
+ # })
928
+ #
929
+ # @example Response structure
930
+ #
931
+ # resp.accessor.id #=> String
932
+ # resp.accessor.type #=> String, one of "BILLING_TOKEN"
933
+ # resp.accessor.billing_token #=> String
934
+ # resp.accessor.status #=> String, one of "AVAILABLE", "PENDING_DELETION", "DELETED"
935
+ # resp.accessor.creation_date #=> Time
936
+ # resp.accessor.arn #=> String
937
+ #
938
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetAccessor AWS API Documentation
939
+ #
940
+ # @overload get_accessor(params = {})
941
+ # @param [Hash] params ({})
942
+ def get_accessor(params = {}, options = {})
943
+ req = build_request(:get_accessor, params)
944
+ req.send_request(options)
945
+ end
946
+
817
947
  # Returns detailed information about a member.
818
948
  #
819
949
  # Applies only to Hyperledger Fabric.
@@ -1015,7 +1145,57 @@ module Aws::ManagedBlockchain
1015
1145
  req.send_request(options)
1016
1146
  end
1017
1147
 
1018
- # Returns a list of all invitations for the current AWS account.
1148
+ # The token based access feature is in preview release for Ethereum on
1149
+ # Amazon Managed Blockchain and is subject to change. We recommend that
1150
+ # you use this feature only with test scenarios, and not in production
1151
+ # environments.
1152
+ #
1153
+ # Returns a list of the accessors and their properties. Accessor objects
1154
+ # are containers that have the information required for token based
1155
+ # access to your Ethereum nodes.
1156
+ #
1157
+ # @option params [Integer] :max_results
1158
+ # The maximum number of accessors to list.
1159
+ #
1160
+ # @option params [String] :next_token
1161
+ # The pagination token that indicates the next set of results to
1162
+ # retrieve.
1163
+ #
1164
+ # @return [Types::ListAccessorsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1165
+ #
1166
+ # * {Types::ListAccessorsOutput#accessors #accessors} => Array&lt;Types::AccessorSummary&gt;
1167
+ # * {Types::ListAccessorsOutput#next_token #next_token} => String
1168
+ #
1169
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1170
+ #
1171
+ # @example Request syntax with placeholder values
1172
+ #
1173
+ # resp = client.list_accessors({
1174
+ # max_results: 1,
1175
+ # next_token: "PaginationToken",
1176
+ # })
1177
+ #
1178
+ # @example Response structure
1179
+ #
1180
+ # resp.accessors #=> Array
1181
+ # resp.accessors[0].id #=> String
1182
+ # resp.accessors[0].type #=> String, one of "BILLING_TOKEN"
1183
+ # resp.accessors[0].status #=> String, one of "AVAILABLE", "PENDING_DELETION", "DELETED"
1184
+ # resp.accessors[0].creation_date #=> Time
1185
+ # resp.accessors[0].arn #=> String
1186
+ # resp.next_token #=> String
1187
+ #
1188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListAccessors AWS API Documentation
1189
+ #
1190
+ # @overload list_accessors(params = {})
1191
+ # @param [Hash] params ({})
1192
+ def list_accessors(params = {}, options = {})
1193
+ req = build_request(:list_accessors, params)
1194
+ req.send_request(options)
1195
+ end
1196
+
1197
+ # Returns a list of all invitations for the current Amazon Web Services
1198
+ # account.
1019
1199
  #
1020
1200
  # Applies only to Hyperledger Fabric.
1021
1201
  #
@@ -1084,8 +1264,9 @@ module Aws::ManagedBlockchain
1084
1264
  #
1085
1265
  # @option params [Boolean] :is_owned
1086
1266
  # An optional Boolean value. If provided, the request is limited either
1087
- # to members that the current AWS account owns (`true`) or that other
1088
- # AWS accounts own (`false`). If omitted, all members are listed.
1267
+ # to members that the current Amazon Web Services account owns (`true`)
1268
+ # or that other Amazon Web Services accountsn own (`false`). If omitted,
1269
+ # all members are listed.
1089
1270
  #
1090
1271
  # @option params [Integer] :max_results
1091
1272
  # The maximum number of members to return in the request.
@@ -1133,8 +1314,8 @@ module Aws::ManagedBlockchain
1133
1314
  req.send_request(options)
1134
1315
  end
1135
1316
 
1136
- # Returns information about the networks in which the current AWS
1137
- # account participates.
1317
+ # Returns information about the networks in which the current Amazon Web
1318
+ # Services account participates.
1138
1319
  #
1139
1320
  # Applies to Hyperledger Fabric and Ethereum.
1140
1321
  #
@@ -1377,7 +1558,7 @@ module Aws::ManagedBlockchain
1377
1558
  # @option params [required, String] :resource_arn
1378
1559
  # The Amazon Resource Name (ARN) of the resource. For more information
1379
1560
  # about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
1380
- # the *AWS General Reference*.
1561
+ # the *Amazon Web Services General Reference*.
1381
1562
  #
1382
1563
  #
1383
1564
  #
@@ -1408,8 +1589,8 @@ module Aws::ManagedBlockchain
1408
1589
  end
1409
1590
 
1410
1591
  # Rejects an invitation to join a network. This action can be called by
1411
- # a principal in an AWS account that has received an invitation to
1412
- # create a member and join a network.
1592
+ # a principal in an Amazon Web Services account that has received an
1593
+ # invitation to create a member and join a network.
1413
1594
  #
1414
1595
  # Applies only to Hyperledger Fabric.
1415
1596
  #
@@ -1456,7 +1637,7 @@ module Aws::ManagedBlockchain
1456
1637
  # @option params [required, String] :resource_arn
1457
1638
  # The Amazon Resource Name (ARN) of the resource. For more information
1458
1639
  # about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
1459
- # the *AWS General Reference*.
1640
+ # the *Amazon Web Services General Reference*.
1460
1641
  #
1461
1642
  #
1462
1643
  #
@@ -1504,7 +1685,7 @@ module Aws::ManagedBlockchain
1504
1685
  # @option params [required, String] :resource_arn
1505
1686
  # The Amazon Resource Name (ARN) of the resource. For more information
1506
1687
  # about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
1507
- # the *AWS General Reference*.
1688
+ # the *Amazon Web Services General Reference*.
1508
1689
  #
1509
1690
  #
1510
1691
  #
@@ -1625,7 +1806,7 @@ module Aws::ManagedBlockchain
1625
1806
 
1626
1807
  # Casts a vote for a specified `ProposalId` on behalf of a member. The
1627
1808
  # member to vote as, specified by `VoterMemberId`, must be in the same
1628
- # AWS account as the principal that calls the action.
1809
+ # Amazon Web Services account as the principal that calls the action.
1629
1810
  #
1630
1811
  # Applies only to Hyperledger Fabric.
1631
1812
  #
@@ -1674,7 +1855,7 @@ module Aws::ManagedBlockchain
1674
1855
  params: params,
1675
1856
  config: config)
1676
1857
  context[:gem_name] = 'aws-sdk-managedblockchain'
1677
- context[:gem_version] = '1.31.0'
1858
+ context[:gem_version] = '1.33.0'
1678
1859
  Seahorse::Client::Request.new(handlers, context)
1679
1860
  end
1680
1861
 
@@ -14,10 +14,19 @@ module Aws::ManagedBlockchain
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ Accessor = Shapes::StructureShape.new(name: 'Accessor')
18
+ AccessorBillingTokenString = Shapes::StringShape.new(name: 'AccessorBillingTokenString')
19
+ AccessorListMaxResults = Shapes::IntegerShape.new(name: 'AccessorListMaxResults')
20
+ AccessorStatus = Shapes::StringShape.new(name: 'AccessorStatus')
21
+ AccessorSummary = Shapes::StructureShape.new(name: 'AccessorSummary')
22
+ AccessorSummaryList = Shapes::ListShape.new(name: 'AccessorSummaryList')
23
+ AccessorType = Shapes::StringShape.new(name: 'AccessorType')
17
24
  ApprovalThresholdPolicy = Shapes::StructureShape.new(name: 'ApprovalThresholdPolicy')
18
25
  ArnString = Shapes::StringShape.new(name: 'ArnString')
19
26
  AvailabilityZoneString = Shapes::StringShape.new(name: 'AvailabilityZoneString')
20
27
  ClientRequestTokenString = Shapes::StringShape.new(name: 'ClientRequestTokenString')
28
+ CreateAccessorInput = Shapes::StructureShape.new(name: 'CreateAccessorInput')
29
+ CreateAccessorOutput = Shapes::StructureShape.new(name: 'CreateAccessorOutput')
21
30
  CreateMemberInput = Shapes::StructureShape.new(name: 'CreateMemberInput')
22
31
  CreateMemberOutput = Shapes::StructureShape.new(name: 'CreateMemberOutput')
23
32
  CreateNetworkInput = Shapes::StructureShape.new(name: 'CreateNetworkInput')
@@ -26,6 +35,8 @@ module Aws::ManagedBlockchain
26
35
  CreateNodeOutput = Shapes::StructureShape.new(name: 'CreateNodeOutput')
27
36
  CreateProposalInput = Shapes::StructureShape.new(name: 'CreateProposalInput')
28
37
  CreateProposalOutput = Shapes::StructureShape.new(name: 'CreateProposalOutput')
38
+ DeleteAccessorInput = Shapes::StructureShape.new(name: 'DeleteAccessorInput')
39
+ DeleteAccessorOutput = Shapes::StructureShape.new(name: 'DeleteAccessorOutput')
29
40
  DeleteMemberInput = Shapes::StructureShape.new(name: 'DeleteMemberInput')
30
41
  DeleteMemberOutput = Shapes::StructureShape.new(name: 'DeleteMemberOutput')
31
42
  DeleteNodeInput = Shapes::StructureShape.new(name: 'DeleteNodeInput')
@@ -36,6 +47,8 @@ module Aws::ManagedBlockchain
36
47
  ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
37
48
  Framework = Shapes::StringShape.new(name: 'Framework')
38
49
  FrameworkVersionString = Shapes::StringShape.new(name: 'FrameworkVersionString')
50
+ GetAccessorInput = Shapes::StructureShape.new(name: 'GetAccessorInput')
51
+ GetAccessorOutput = Shapes::StructureShape.new(name: 'GetAccessorOutput')
39
52
  GetMemberInput = Shapes::StructureShape.new(name: 'GetMemberInput')
40
53
  GetMemberOutput = Shapes::StructureShape.new(name: 'GetMemberOutput')
41
54
  GetNetworkInput = Shapes::StructureShape.new(name: 'GetNetworkInput')
@@ -55,6 +68,8 @@ module Aws::ManagedBlockchain
55
68
  InviteAction = Shapes::StructureShape.new(name: 'InviteAction')
56
69
  InviteActionList = Shapes::ListShape.new(name: 'InviteActionList')
57
70
  IsOwned = Shapes::BooleanShape.new(name: 'IsOwned')
71
+ ListAccessorsInput = Shapes::StructureShape.new(name: 'ListAccessorsInput')
72
+ ListAccessorsOutput = Shapes::StructureShape.new(name: 'ListAccessorsOutput')
58
73
  ListInvitationsInput = Shapes::StructureShape.new(name: 'ListInvitationsInput')
59
74
  ListInvitationsOutput = Shapes::StructureShape.new(name: 'ListInvitationsOutput')
60
75
  ListMembersInput = Shapes::StructureShape.new(name: 'ListMembersInput')
@@ -156,11 +171,36 @@ module Aws::ManagedBlockchain
156
171
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
157
172
  AccessDeniedException.struct_class = Types::AccessDeniedException
158
173
 
174
+ Accessor.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "Id"))
175
+ Accessor.add_member(:type, Shapes::ShapeRef.new(shape: AccessorType, location_name: "Type"))
176
+ Accessor.add_member(:billing_token, Shapes::ShapeRef.new(shape: AccessorBillingTokenString, location_name: "BillingToken"))
177
+ Accessor.add_member(:status, Shapes::ShapeRef.new(shape: AccessorStatus, location_name: "Status"))
178
+ Accessor.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
179
+ Accessor.add_member(:arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "Arn"))
180
+ Accessor.struct_class = Types::Accessor
181
+
182
+ AccessorSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "Id"))
183
+ AccessorSummary.add_member(:type, Shapes::ShapeRef.new(shape: AccessorType, location_name: "Type"))
184
+ AccessorSummary.add_member(:status, Shapes::ShapeRef.new(shape: AccessorStatus, location_name: "Status"))
185
+ AccessorSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
186
+ AccessorSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "Arn"))
187
+ AccessorSummary.struct_class = Types::AccessorSummary
188
+
189
+ AccessorSummaryList.member = Shapes::ShapeRef.new(shape: AccessorSummary)
190
+
159
191
  ApprovalThresholdPolicy.add_member(:threshold_percentage, Shapes::ShapeRef.new(shape: ThresholdPercentageInt, location_name: "ThresholdPercentage"))
160
192
  ApprovalThresholdPolicy.add_member(:proposal_duration_in_hours, Shapes::ShapeRef.new(shape: ProposalDurationInt, location_name: "ProposalDurationInHours"))
161
193
  ApprovalThresholdPolicy.add_member(:threshold_comparator, Shapes::ShapeRef.new(shape: ThresholdComparator, location_name: "ThresholdComparator"))
162
194
  ApprovalThresholdPolicy.struct_class = Types::ApprovalThresholdPolicy
163
195
 
196
+ CreateAccessorInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
197
+ CreateAccessorInput.add_member(:accessor_type, Shapes::ShapeRef.new(shape: AccessorType, required: true, location_name: "AccessorType"))
198
+ CreateAccessorInput.struct_class = Types::CreateAccessorInput
199
+
200
+ CreateAccessorOutput.add_member(:accessor_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "AccessorId"))
201
+ CreateAccessorOutput.add_member(:billing_token, Shapes::ShapeRef.new(shape: AccessorBillingTokenString, location_name: "BillingToken"))
202
+ CreateAccessorOutput.struct_class = Types::CreateAccessorOutput
203
+
164
204
  CreateMemberInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
165
205
  CreateMemberInput.add_member(:invitation_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location_name: "InvitationId"))
166
206
  CreateMemberInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
@@ -206,6 +246,11 @@ module Aws::ManagedBlockchain
206
246
  CreateProposalOutput.add_member(:proposal_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "ProposalId"))
207
247
  CreateProposalOutput.struct_class = Types::CreateProposalOutput
208
248
 
249
+ DeleteAccessorInput.add_member(:accessor_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "AccessorId"))
250
+ DeleteAccessorInput.struct_class = Types::DeleteAccessorInput
251
+
252
+ DeleteAccessorOutput.struct_class = Types::DeleteAccessorOutput
253
+
209
254
  DeleteMemberInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
210
255
  DeleteMemberInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
211
256
  DeleteMemberInput.struct_class = Types::DeleteMemberInput
@@ -219,6 +264,12 @@ module Aws::ManagedBlockchain
219
264
 
220
265
  DeleteNodeOutput.struct_class = Types::DeleteNodeOutput
221
266
 
267
+ GetAccessorInput.add_member(:accessor_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "AccessorId"))
268
+ GetAccessorInput.struct_class = Types::GetAccessorInput
269
+
270
+ GetAccessorOutput.add_member(:accessor, Shapes::ShapeRef.new(shape: Accessor, location_name: "Accessor"))
271
+ GetAccessorOutput.struct_class = Types::GetAccessorOutput
272
+
222
273
  GetMemberInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
223
274
  GetMemberInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
224
275
  GetMemberInput.struct_class = Types::GetMemberInput
@@ -273,6 +324,14 @@ module Aws::ManagedBlockchain
273
324
 
274
325
  InviteActionList.member = Shapes::ShapeRef.new(shape: InviteAction)
275
326
 
327
+ ListAccessorsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: AccessorListMaxResults, location: "querystring", location_name: "maxResults"))
328
+ ListAccessorsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
329
+ ListAccessorsInput.struct_class = Types::ListAccessorsInput
330
+
331
+ ListAccessorsOutput.add_member(:accessors, Shapes::ShapeRef.new(shape: AccessorSummaryList, location_name: "Accessors"))
332
+ ListAccessorsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
333
+ ListAccessorsOutput.struct_class = Types::ListAccessorsOutput
334
+
276
335
  ListInvitationsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ProposalListMaxResults, location: "querystring", location_name: "maxResults"))
277
336
  ListInvitationsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
278
337
  ListInvitationsInput.struct_class = Types::ListInvitationsInput
@@ -621,6 +680,20 @@ module Aws::ManagedBlockchain
621
680
  "uid" => "managedblockchain-2018-09-24",
622
681
  }
623
682
 
683
+ api.add_operation(:create_accessor, Seahorse::Model::Operation.new.tap do |o|
684
+ o.name = "CreateAccessor"
685
+ o.http_method = "POST"
686
+ o.http_request_uri = "/accessors"
687
+ o.input = Shapes::ShapeRef.new(shape: CreateAccessorInput)
688
+ o.output = Shapes::ShapeRef.new(shape: CreateAccessorOutput)
689
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
690
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
691
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
692
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
693
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
694
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
695
+ end)
696
+
624
697
  api.add_operation(:create_member, Seahorse::Model::Operation.new.tap do |o|
625
698
  o.name = "CreateMember"
626
699
  o.http_method = "POST"
@@ -685,6 +758,19 @@ module Aws::ManagedBlockchain
685
758
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
686
759
  end)
687
760
 
761
+ api.add_operation(:delete_accessor, Seahorse::Model::Operation.new.tap do |o|
762
+ o.name = "DeleteAccessor"
763
+ o.http_method = "DELETE"
764
+ o.http_request_uri = "/accessors/{AccessorId}"
765
+ o.input = Shapes::ShapeRef.new(shape: DeleteAccessorInput)
766
+ o.output = Shapes::ShapeRef.new(shape: DeleteAccessorOutput)
767
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
768
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
769
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
770
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
771
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
772
+ end)
773
+
688
774
  api.add_operation(:delete_member, Seahorse::Model::Operation.new.tap do |o|
689
775
  o.name = "DeleteMember"
690
776
  o.http_method = "DELETE"
@@ -713,6 +799,19 @@ module Aws::ManagedBlockchain
713
799
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
714
800
  end)
715
801
 
802
+ api.add_operation(:get_accessor, Seahorse::Model::Operation.new.tap do |o|
803
+ o.name = "GetAccessor"
804
+ o.http_method = "GET"
805
+ o.http_request_uri = "/accessors/{AccessorId}"
806
+ o.input = Shapes::ShapeRef.new(shape: GetAccessorInput)
807
+ o.output = Shapes::ShapeRef.new(shape: GetAccessorOutput)
808
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
809
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
810
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
811
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
812
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
813
+ end)
814
+
716
815
  api.add_operation(:get_member, Seahorse::Model::Operation.new.tap do |o|
717
816
  o.name = "GetMember"
718
817
  o.http_method = "GET"
@@ -765,6 +864,24 @@ module Aws::ManagedBlockchain
765
864
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
766
865
  end)
767
866
 
867
+ api.add_operation(:list_accessors, Seahorse::Model::Operation.new.tap do |o|
868
+ o.name = "ListAccessors"
869
+ o.http_method = "GET"
870
+ o.http_request_uri = "/accessors"
871
+ o.input = Shapes::ShapeRef.new(shape: ListAccessorsInput)
872
+ o.output = Shapes::ShapeRef.new(shape: ListAccessorsOutput)
873
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
874
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
875
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
876
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
877
+ o[:pager] = Aws::Pager.new(
878
+ limit_key: "max_results",
879
+ tokens: {
880
+ "next_token" => "next_token"
881
+ }
882
+ )
883
+ end)
884
+
768
885
  api.add_operation(:list_invitations, Seahorse::Model::Operation.new.tap do |o|
769
886
  o.name = "ListInvitations"
770
887
  o.http_method = "GET"