aws-sdk-managedblockchain 1.32.0 → 1.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-managedblockchain/client.rb +207 -28
- data/lib/aws-sdk-managedblockchain/client_api.rb +117 -0
- data/lib/aws-sdk-managedblockchain/types.rb +407 -126
- data/lib/aws-sdk-managedblockchain.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3449429258049b1b365c2b2ef1879f0c723dc8e56714f7ec628a69e1d465c66
|
4
|
+
data.tar.gz: dc0e7ca677913e04b9a01d35f66ac954d8da63cb2bf0a5af15472895348b10f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac9104e7f65df4e2bc6976f7430a6d513df44a91598d2cbbab7909509f0769bdaedf1e259d79dce6726673960508b52bc39ec7b32c4b1ccd4bf7b0b09131cfe2
|
7
|
+
data.tar.gz: f5689f459670a14cc7f49ea91fb8027f9a91e255e7c6e15083eb41b06bc26d883a3f2ef156d07bb093b8c6fc85b35fde8f528ade91e3ca28f5b5f5d3e1b3530f
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.33.0
|
@@ -351,6 +351,58 @@ module Aws::ManagedBlockchain
|
|
351
351
|
|
352
352
|
# @!group API Operations
|
353
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
|
+
|
354
406
|
# Creates a member within a Managed Blockchain network.
|
355
407
|
#
|
356
408
|
# Applies only to Hyperledger Fabric.
|
@@ -360,7 +412,7 @@ module Aws::ManagedBlockchain
|
|
360
412
|
# idempotency of the operation. An idempotent operation completes no
|
361
413
|
# more than one time. This identifier is required only if you make a
|
362
414
|
# service request directly using an HTTP client. It is generated
|
363
|
-
# automatically if you use an
|
415
|
+
# automatically if you use an Amazon Web Services SDK or the CLI.
|
364
416
|
#
|
365
417
|
# **A suitable default value is auto-generated.** You should normally
|
366
418
|
# not need to pass this option.**
|
@@ -428,11 +480,11 @@ module Aws::ManagedBlockchain
|
|
428
480
|
# Applies only to Hyperledger Fabric.
|
429
481
|
#
|
430
482
|
# @option params [required, String] :client_request_token
|
431
|
-
#
|
432
|
-
# idempotency of the operation. An idempotent operation completes no
|
433
|
-
# more than
|
434
|
-
#
|
435
|
-
#
|
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.
|
436
488
|
#
|
437
489
|
# **A suitable default value is auto-generated.** You should normally
|
438
490
|
# not need to pass this option.**
|
@@ -554,7 +606,7 @@ module Aws::ManagedBlockchain
|
|
554
606
|
# idempotency of the operation. An idempotent operation completes no
|
555
607
|
# more than one time. This identifier is required only if you make a
|
556
608
|
# service request directly using an HTTP client. It is generated
|
557
|
-
# automatically if you use an
|
609
|
+
# automatically if you use an Amazon Web Services SDK or the CLI.
|
558
610
|
#
|
559
611
|
# **A suitable default value is auto-generated.** You should normally
|
560
612
|
# not need to pass this option.**
|
@@ -654,7 +706,7 @@ module Aws::ManagedBlockchain
|
|
654
706
|
# idempotency of the operation. An idempotent operation completes no
|
655
707
|
# more than one time. This identifier is required only if you make a
|
656
708
|
# service request directly using an HTTP client. It is generated
|
657
|
-
# automatically if you use an
|
709
|
+
# automatically if you use an Amazon Web Services SDK or the CLI.
|
658
710
|
#
|
659
711
|
# **A suitable default value is auto-generated.** You should normally
|
660
712
|
# not need to pass this option.**
|
@@ -665,7 +717,8 @@ module Aws::ManagedBlockchain
|
|
665
717
|
# @option params [required, String] :member_id
|
666
718
|
# The unique identifier of the member that is creating the proposal.
|
667
719
|
# This identifier is especially useful for identifying the member making
|
668
|
-
# the proposal when multiple members exist in a single
|
720
|
+
# the proposal when multiple members exist in a single Amazon Web
|
721
|
+
# Services account.
|
669
722
|
#
|
670
723
|
# @option params [required, Types::ProposalActions] :actions
|
671
724
|
# The type of actions proposed, such as inviting a member or removing a
|
@@ -737,14 +790,49 @@ module Aws::ManagedBlockchain
|
|
737
790
|
req.send_request(options)
|
738
791
|
end
|
739
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
|
+
|
740
828
|
# Deletes a member. Deleting a member removes the member and all
|
741
829
|
# associated resources from the network. `DeleteMember` can only be
|
742
830
|
# called for a specified `MemberId` if the principal performing the
|
743
|
-
# action is associated with the
|
744
|
-
# other cases, the `DeleteMember` action is carried
|
745
|
-
# an approved proposal to remove a member. If
|
746
|
-
# member in a network specified by the last
|
747
|
-
# 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.
|
748
836
|
#
|
749
837
|
# Applies only to Hyperledger Fabric.
|
750
838
|
#
|
@@ -772,8 +860,8 @@ module Aws::ManagedBlockchain
|
|
772
860
|
req.send_request(options)
|
773
861
|
end
|
774
862
|
|
775
|
-
# Deletes a node that your
|
776
|
-
# 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.
|
777
865
|
#
|
778
866
|
# Applies to Hyperledger Fabric and Ethereum.
|
779
867
|
#
|
@@ -816,6 +904,46 @@ module Aws::ManagedBlockchain
|
|
816
904
|
req.send_request(options)
|
817
905
|
end
|
818
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
|
+
|
819
947
|
# Returns detailed information about a member.
|
820
948
|
#
|
821
949
|
# Applies only to Hyperledger Fabric.
|
@@ -1017,7 +1145,57 @@ module Aws::ManagedBlockchain
|
|
1017
1145
|
req.send_request(options)
|
1018
1146
|
end
|
1019
1147
|
|
1020
|
-
#
|
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<Types::AccessorSummary>
|
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.
|
1021
1199
|
#
|
1022
1200
|
# Applies only to Hyperledger Fabric.
|
1023
1201
|
#
|
@@ -1086,8 +1264,9 @@ module Aws::ManagedBlockchain
|
|
1086
1264
|
#
|
1087
1265
|
# @option params [Boolean] :is_owned
|
1088
1266
|
# An optional Boolean value. If provided, the request is limited either
|
1089
|
-
# to members that the current
|
1090
|
-
#
|
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.
|
1091
1270
|
#
|
1092
1271
|
# @option params [Integer] :max_results
|
1093
1272
|
# The maximum number of members to return in the request.
|
@@ -1135,8 +1314,8 @@ module Aws::ManagedBlockchain
|
|
1135
1314
|
req.send_request(options)
|
1136
1315
|
end
|
1137
1316
|
|
1138
|
-
# Returns information about the networks in which the current
|
1139
|
-
# account participates.
|
1317
|
+
# Returns information about the networks in which the current Amazon Web
|
1318
|
+
# Services account participates.
|
1140
1319
|
#
|
1141
1320
|
# Applies to Hyperledger Fabric and Ethereum.
|
1142
1321
|
#
|
@@ -1379,7 +1558,7 @@ module Aws::ManagedBlockchain
|
|
1379
1558
|
# @option params [required, String] :resource_arn
|
1380
1559
|
# The Amazon Resource Name (ARN) of the resource. For more information
|
1381
1560
|
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
|
1382
|
-
# the *
|
1561
|
+
# the *Amazon Web Services General Reference*.
|
1383
1562
|
#
|
1384
1563
|
#
|
1385
1564
|
#
|
@@ -1410,8 +1589,8 @@ module Aws::ManagedBlockchain
|
|
1410
1589
|
end
|
1411
1590
|
|
1412
1591
|
# Rejects an invitation to join a network. This action can be called by
|
1413
|
-
# a principal in an
|
1414
|
-
# 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.
|
1415
1594
|
#
|
1416
1595
|
# Applies only to Hyperledger Fabric.
|
1417
1596
|
#
|
@@ -1458,7 +1637,7 @@ module Aws::ManagedBlockchain
|
|
1458
1637
|
# @option params [required, String] :resource_arn
|
1459
1638
|
# The Amazon Resource Name (ARN) of the resource. For more information
|
1460
1639
|
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
|
1461
|
-
# the *
|
1640
|
+
# the *Amazon Web Services General Reference*.
|
1462
1641
|
#
|
1463
1642
|
#
|
1464
1643
|
#
|
@@ -1506,7 +1685,7 @@ module Aws::ManagedBlockchain
|
|
1506
1685
|
# @option params [required, String] :resource_arn
|
1507
1686
|
# The Amazon Resource Name (ARN) of the resource. For more information
|
1508
1687
|
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
|
1509
|
-
# the *
|
1688
|
+
# the *Amazon Web Services General Reference*.
|
1510
1689
|
#
|
1511
1690
|
#
|
1512
1691
|
#
|
@@ -1627,7 +1806,7 @@ module Aws::ManagedBlockchain
|
|
1627
1806
|
|
1628
1807
|
# Casts a vote for a specified `ProposalId` on behalf of a member. The
|
1629
1808
|
# member to vote as, specified by `VoterMemberId`, must be in the same
|
1630
|
-
#
|
1809
|
+
# Amazon Web Services account as the principal that calls the action.
|
1631
1810
|
#
|
1632
1811
|
# Applies only to Hyperledger Fabric.
|
1633
1812
|
#
|
@@ -1676,7 +1855,7 @@ module Aws::ManagedBlockchain
|
|
1676
1855
|
params: params,
|
1677
1856
|
config: config)
|
1678
1857
|
context[:gem_name] = 'aws-sdk-managedblockchain'
|
1679
|
-
context[:gem_version] = '1.
|
1858
|
+
context[:gem_version] = '1.33.0'
|
1680
1859
|
Seahorse::Client::Request.new(handlers, context)
|
1681
1860
|
end
|
1682
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"
|