aws-sdk-managedblockchain 1.32.0 → 1.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-managedblockchain/client.rb +226 -30
- data/lib/aws-sdk-managedblockchain/client_api.rb +117 -0
- data/lib/aws-sdk-managedblockchain/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-managedblockchain/endpoint_provider.rb +112 -0
- data/lib/aws-sdk-managedblockchain/endpoints.rb +393 -0
- data/lib/aws-sdk-managedblockchain/plugins/endpoints.rb +122 -0
- data/lib/aws-sdk-managedblockchain/types.rb +407 -126
- data/lib/aws-sdk-managedblockchain.rb +6 -2
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb9271eea4f4ff1d3be7e26d391848d86a84f43107d9be367813a33c4ad8b97a
|
4
|
+
data.tar.gz: 2f648615234374cc771eda2096141baafbdb67ef8f62991b5601d4ccc0f45cd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ff7c91d11e6ebb97822994cfed19be132d568a1a669b70111a79f7b93ff7a64076f21757b21c3da5cba11d7f59b1623b38fb6ab7677ef792b5fea20b862f27d
|
7
|
+
data.tar.gz: 77fabc25bfa73c97a9a3c845dd652374f545f76a2aecde8fe45a25b53be89922184a490954f3d45c6a432708a5cf701f2b186c29349c41c567bf620076459c1c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.34.0 (2022-10-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.33.0 (2022-10-19)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adding new Accessor APIs for Amazon Managed Blockchain
|
13
|
+
|
4
14
|
1.32.0 (2022-02-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.34.0
|
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:managedblockchain)
|
@@ -79,8 +79,9 @@ module Aws::ManagedBlockchain
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
84
|
+
add_plugin(Aws::ManagedBlockchain::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -287,6 +288,19 @@ module Aws::ManagedBlockchain
|
|
287
288
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
288
289
|
# requests are made, and retries are disabled.
|
289
290
|
#
|
291
|
+
# @option options [Aws::TokenProvider] :token_provider
|
292
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
293
|
+
# following classes:
|
294
|
+
#
|
295
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
296
|
+
# tokens.
|
297
|
+
#
|
298
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
299
|
+
# access token generated from `aws login`.
|
300
|
+
#
|
301
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
302
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
303
|
+
#
|
290
304
|
# @option options [Boolean] :use_dualstack_endpoint
|
291
305
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
306
|
# will be used if available.
|
@@ -300,6 +314,9 @@ module Aws::ManagedBlockchain
|
|
300
314
|
# When `true`, request parameters are validated before
|
301
315
|
# sending the request.
|
302
316
|
#
|
317
|
+
# @option options [Aws::ManagedBlockchain::EndpointProvider] :endpoint_provider
|
318
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ManagedBlockchain::EndpointParameters`
|
319
|
+
#
|
303
320
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
304
321
|
# requests through. Formatted like 'http://proxy.com:123'.
|
305
322
|
#
|
@@ -351,6 +368,58 @@ module Aws::ManagedBlockchain
|
|
351
368
|
|
352
369
|
# @!group API Operations
|
353
370
|
|
371
|
+
# The token based access feature is in preview release for Ethereum on
|
372
|
+
# Amazon Managed Blockchain and is subject to change. We recommend that
|
373
|
+
# you use this feature only with test scenarios, and not in production
|
374
|
+
# environments.
|
375
|
+
#
|
376
|
+
# Creates a new accessor for use with Managed Blockchain Ethereum nodes.
|
377
|
+
# An accessor object is a container that has the information required
|
378
|
+
# for token based access to your Ethereum nodes.
|
379
|
+
#
|
380
|
+
# @option params [required, String] :client_request_token
|
381
|
+
# This is a unique, case-sensitive identifier that you provide to ensure
|
382
|
+
# the idempotency of the operation. An idempotent operation completes no
|
383
|
+
# more than once. This identifier is required only if you make a service
|
384
|
+
# request directly using an HTTP client. It is generated automatically
|
385
|
+
# if you use an Amazon Web Services SDK or the Amazon Web Services CLI.
|
386
|
+
#
|
387
|
+
# **A suitable default value is auto-generated.** You should normally
|
388
|
+
# not need to pass this option.**
|
389
|
+
#
|
390
|
+
# @option params [required, String] :accessor_type
|
391
|
+
# The type of accessor.
|
392
|
+
#
|
393
|
+
# <note markdown="1"> Currently accessor type is restricted to `BILLING_TOKEN`.
|
394
|
+
#
|
395
|
+
# </note>
|
396
|
+
#
|
397
|
+
# @return [Types::CreateAccessorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
398
|
+
#
|
399
|
+
# * {Types::CreateAccessorOutput#accessor_id #accessor_id} => String
|
400
|
+
# * {Types::CreateAccessorOutput#billing_token #billing_token} => String
|
401
|
+
#
|
402
|
+
# @example Request syntax with placeholder values
|
403
|
+
#
|
404
|
+
# resp = client.create_accessor({
|
405
|
+
# client_request_token: "ClientRequestTokenString", # required
|
406
|
+
# accessor_type: "BILLING_TOKEN", # required, accepts BILLING_TOKEN
|
407
|
+
# })
|
408
|
+
#
|
409
|
+
# @example Response structure
|
410
|
+
#
|
411
|
+
# resp.accessor_id #=> String
|
412
|
+
# resp.billing_token #=> String
|
413
|
+
#
|
414
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateAccessor AWS API Documentation
|
415
|
+
#
|
416
|
+
# @overload create_accessor(params = {})
|
417
|
+
# @param [Hash] params ({})
|
418
|
+
def create_accessor(params = {}, options = {})
|
419
|
+
req = build_request(:create_accessor, params)
|
420
|
+
req.send_request(options)
|
421
|
+
end
|
422
|
+
|
354
423
|
# Creates a member within a Managed Blockchain network.
|
355
424
|
#
|
356
425
|
# Applies only to Hyperledger Fabric.
|
@@ -360,7 +429,7 @@ module Aws::ManagedBlockchain
|
|
360
429
|
# idempotency of the operation. An idempotent operation completes no
|
361
430
|
# more than one time. This identifier is required only if you make a
|
362
431
|
# service request directly using an HTTP client. It is generated
|
363
|
-
# automatically if you use an
|
432
|
+
# automatically if you use an Amazon Web Services SDK or the CLI.
|
364
433
|
#
|
365
434
|
# **A suitable default value is auto-generated.** You should normally
|
366
435
|
# not need to pass this option.**
|
@@ -428,11 +497,11 @@ module Aws::ManagedBlockchain
|
|
428
497
|
# Applies only to Hyperledger Fabric.
|
429
498
|
#
|
430
499
|
# @option params [required, String] :client_request_token
|
431
|
-
#
|
432
|
-
# idempotency of the operation. An idempotent operation completes no
|
433
|
-
# more than
|
434
|
-
#
|
435
|
-
#
|
500
|
+
# This is a unique, case-sensitive identifier that you provide to ensure
|
501
|
+
# the idempotency of the operation. An idempotent operation completes no
|
502
|
+
# more than once. This identifier is required only if you make a service
|
503
|
+
# request directly using an HTTP client. It is generated automatically
|
504
|
+
# if you use an Amazon Web Services SDK or the Amazon Web Services CLI.
|
436
505
|
#
|
437
506
|
# **A suitable default value is auto-generated.** You should normally
|
438
507
|
# not need to pass this option.**
|
@@ -554,7 +623,7 @@ module Aws::ManagedBlockchain
|
|
554
623
|
# idempotency of the operation. An idempotent operation completes no
|
555
624
|
# more than one time. This identifier is required only if you make a
|
556
625
|
# service request directly using an HTTP client. It is generated
|
557
|
-
# automatically if you use an
|
626
|
+
# automatically if you use an Amazon Web Services SDK or the CLI.
|
558
627
|
#
|
559
628
|
# **A suitable default value is auto-generated.** You should normally
|
560
629
|
# not need to pass this option.**
|
@@ -654,7 +723,7 @@ module Aws::ManagedBlockchain
|
|
654
723
|
# idempotency of the operation. An idempotent operation completes no
|
655
724
|
# more than one time. This identifier is required only if you make a
|
656
725
|
# service request directly using an HTTP client. It is generated
|
657
|
-
# automatically if you use an
|
726
|
+
# automatically if you use an Amazon Web Services SDK or the CLI.
|
658
727
|
#
|
659
728
|
# **A suitable default value is auto-generated.** You should normally
|
660
729
|
# not need to pass this option.**
|
@@ -665,7 +734,8 @@ module Aws::ManagedBlockchain
|
|
665
734
|
# @option params [required, String] :member_id
|
666
735
|
# The unique identifier of the member that is creating the proposal.
|
667
736
|
# This identifier is especially useful for identifying the member making
|
668
|
-
# the proposal when multiple members exist in a single
|
737
|
+
# the proposal when multiple members exist in a single Amazon Web
|
738
|
+
# Services account.
|
669
739
|
#
|
670
740
|
# @option params [required, Types::ProposalActions] :actions
|
671
741
|
# The type of actions proposed, such as inviting a member or removing a
|
@@ -737,14 +807,49 @@ module Aws::ManagedBlockchain
|
|
737
807
|
req.send_request(options)
|
738
808
|
end
|
739
809
|
|
810
|
+
# The token based access feature is in preview release for Ethereum on
|
811
|
+
# Amazon Managed Blockchain and is subject to change. We recommend that
|
812
|
+
# you use this feature only with test scenarios, and not in production
|
813
|
+
# environments.
|
814
|
+
#
|
815
|
+
# Deletes an accessor that your Amazon Web Services account owns. An
|
816
|
+
# accessor object is a container that has the information required for
|
817
|
+
# token based access to your Ethereum nodes including, the
|
818
|
+
# `BILLING_TOKEN`. After an accessor is deleted, the status of the
|
819
|
+
# accessor changes from `AVAILABLE` to `PENDING_DELETION`. An accessor
|
820
|
+
# in the `PENDING_DELETION` state can’t be used for new WebSocket
|
821
|
+
# requests or HTTP requests. However, WebSocket connections that are
|
822
|
+
# initiated while the accessor was in the `AVAILABLE` state remain open
|
823
|
+
# until they expire (up to 2 hours).
|
824
|
+
#
|
825
|
+
# @option params [required, String] :accessor_id
|
826
|
+
# The unique identifier of the accessor.
|
827
|
+
#
|
828
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
829
|
+
#
|
830
|
+
# @example Request syntax with placeholder values
|
831
|
+
#
|
832
|
+
# resp = client.delete_accessor({
|
833
|
+
# accessor_id: "ResourceIdString", # required
|
834
|
+
# })
|
835
|
+
#
|
836
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteAccessor AWS API Documentation
|
837
|
+
#
|
838
|
+
# @overload delete_accessor(params = {})
|
839
|
+
# @param [Hash] params ({})
|
840
|
+
def delete_accessor(params = {}, options = {})
|
841
|
+
req = build_request(:delete_accessor, params)
|
842
|
+
req.send_request(options)
|
843
|
+
end
|
844
|
+
|
740
845
|
# Deletes a member. Deleting a member removes the member and all
|
741
846
|
# associated resources from the network. `DeleteMember` can only be
|
742
847
|
# 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.
|
848
|
+
# action is associated with the Amazon Web Services account that owns
|
849
|
+
# the member. In all other cases, the `DeleteMember` action is carried
|
850
|
+
# out as the result of an approved proposal to remove a member. If
|
851
|
+
# `MemberId` is the last member in a network specified by the last
|
852
|
+
# Amazon Web Services account, the network is deleted also.
|
748
853
|
#
|
749
854
|
# Applies only to Hyperledger Fabric.
|
750
855
|
#
|
@@ -772,8 +877,8 @@ module Aws::ManagedBlockchain
|
|
772
877
|
req.send_request(options)
|
773
878
|
end
|
774
879
|
|
775
|
-
# Deletes a node that your
|
776
|
-
# lost and cannot be recovered.
|
880
|
+
# Deletes a node that your Amazon Web Services account owns. All data on
|
881
|
+
# the node is lost and cannot be recovered.
|
777
882
|
#
|
778
883
|
# Applies to Hyperledger Fabric and Ethereum.
|
779
884
|
#
|
@@ -816,6 +921,46 @@ module Aws::ManagedBlockchain
|
|
816
921
|
req.send_request(options)
|
817
922
|
end
|
818
923
|
|
924
|
+
# The token based access feature is in preview release for Ethereum on
|
925
|
+
# Amazon Managed Blockchain and is subject to change. We recommend that
|
926
|
+
# you use this feature only with test scenarios, and not in production
|
927
|
+
# environments.
|
928
|
+
#
|
929
|
+
# Returns detailed information about an accessor. An accessor object is
|
930
|
+
# a container that has the information required for token based access
|
931
|
+
# to your Ethereum nodes.
|
932
|
+
#
|
933
|
+
# @option params [required, String] :accessor_id
|
934
|
+
# The unique identifier of the accessor.
|
935
|
+
#
|
936
|
+
# @return [Types::GetAccessorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
937
|
+
#
|
938
|
+
# * {Types::GetAccessorOutput#accessor #accessor} => Types::Accessor
|
939
|
+
#
|
940
|
+
# @example Request syntax with placeholder values
|
941
|
+
#
|
942
|
+
# resp = client.get_accessor({
|
943
|
+
# accessor_id: "ResourceIdString", # required
|
944
|
+
# })
|
945
|
+
#
|
946
|
+
# @example Response structure
|
947
|
+
#
|
948
|
+
# resp.accessor.id #=> String
|
949
|
+
# resp.accessor.type #=> String, one of "BILLING_TOKEN"
|
950
|
+
# resp.accessor.billing_token #=> String
|
951
|
+
# resp.accessor.status #=> String, one of "AVAILABLE", "PENDING_DELETION", "DELETED"
|
952
|
+
# resp.accessor.creation_date #=> Time
|
953
|
+
# resp.accessor.arn #=> String
|
954
|
+
#
|
955
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetAccessor AWS API Documentation
|
956
|
+
#
|
957
|
+
# @overload get_accessor(params = {})
|
958
|
+
# @param [Hash] params ({})
|
959
|
+
def get_accessor(params = {}, options = {})
|
960
|
+
req = build_request(:get_accessor, params)
|
961
|
+
req.send_request(options)
|
962
|
+
end
|
963
|
+
|
819
964
|
# Returns detailed information about a member.
|
820
965
|
#
|
821
966
|
# Applies only to Hyperledger Fabric.
|
@@ -1017,7 +1162,57 @@ module Aws::ManagedBlockchain
|
|
1017
1162
|
req.send_request(options)
|
1018
1163
|
end
|
1019
1164
|
|
1020
|
-
#
|
1165
|
+
# The token based access feature is in preview release for Ethereum on
|
1166
|
+
# Amazon Managed Blockchain and is subject to change. We recommend that
|
1167
|
+
# you use this feature only with test scenarios, and not in production
|
1168
|
+
# environments.
|
1169
|
+
#
|
1170
|
+
# Returns a list of the accessors and their properties. Accessor objects
|
1171
|
+
# are containers that have the information required for token based
|
1172
|
+
# access to your Ethereum nodes.
|
1173
|
+
#
|
1174
|
+
# @option params [Integer] :max_results
|
1175
|
+
# The maximum number of accessors to list.
|
1176
|
+
#
|
1177
|
+
# @option params [String] :next_token
|
1178
|
+
# The pagination token that indicates the next set of results to
|
1179
|
+
# retrieve.
|
1180
|
+
#
|
1181
|
+
# @return [Types::ListAccessorsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1182
|
+
#
|
1183
|
+
# * {Types::ListAccessorsOutput#accessors #accessors} => Array<Types::AccessorSummary>
|
1184
|
+
# * {Types::ListAccessorsOutput#next_token #next_token} => String
|
1185
|
+
#
|
1186
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1187
|
+
#
|
1188
|
+
# @example Request syntax with placeholder values
|
1189
|
+
#
|
1190
|
+
# resp = client.list_accessors({
|
1191
|
+
# max_results: 1,
|
1192
|
+
# next_token: "PaginationToken",
|
1193
|
+
# })
|
1194
|
+
#
|
1195
|
+
# @example Response structure
|
1196
|
+
#
|
1197
|
+
# resp.accessors #=> Array
|
1198
|
+
# resp.accessors[0].id #=> String
|
1199
|
+
# resp.accessors[0].type #=> String, one of "BILLING_TOKEN"
|
1200
|
+
# resp.accessors[0].status #=> String, one of "AVAILABLE", "PENDING_DELETION", "DELETED"
|
1201
|
+
# resp.accessors[0].creation_date #=> Time
|
1202
|
+
# resp.accessors[0].arn #=> String
|
1203
|
+
# resp.next_token #=> String
|
1204
|
+
#
|
1205
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListAccessors AWS API Documentation
|
1206
|
+
#
|
1207
|
+
# @overload list_accessors(params = {})
|
1208
|
+
# @param [Hash] params ({})
|
1209
|
+
def list_accessors(params = {}, options = {})
|
1210
|
+
req = build_request(:list_accessors, params)
|
1211
|
+
req.send_request(options)
|
1212
|
+
end
|
1213
|
+
|
1214
|
+
# Returns a list of all invitations for the current Amazon Web Services
|
1215
|
+
# account.
|
1021
1216
|
#
|
1022
1217
|
# Applies only to Hyperledger Fabric.
|
1023
1218
|
#
|
@@ -1086,8 +1281,9 @@ module Aws::ManagedBlockchain
|
|
1086
1281
|
#
|
1087
1282
|
# @option params [Boolean] :is_owned
|
1088
1283
|
# An optional Boolean value. If provided, the request is limited either
|
1089
|
-
# to members that the current
|
1090
|
-
#
|
1284
|
+
# to members that the current Amazon Web Services account owns (`true`)
|
1285
|
+
# or that other Amazon Web Services accountsn own (`false`). If omitted,
|
1286
|
+
# all members are listed.
|
1091
1287
|
#
|
1092
1288
|
# @option params [Integer] :max_results
|
1093
1289
|
# The maximum number of members to return in the request.
|
@@ -1135,8 +1331,8 @@ module Aws::ManagedBlockchain
|
|
1135
1331
|
req.send_request(options)
|
1136
1332
|
end
|
1137
1333
|
|
1138
|
-
# Returns information about the networks in which the current
|
1139
|
-
# account participates.
|
1334
|
+
# Returns information about the networks in which the current Amazon Web
|
1335
|
+
# Services account participates.
|
1140
1336
|
#
|
1141
1337
|
# Applies to Hyperledger Fabric and Ethereum.
|
1142
1338
|
#
|
@@ -1379,7 +1575,7 @@ module Aws::ManagedBlockchain
|
|
1379
1575
|
# @option params [required, String] :resource_arn
|
1380
1576
|
# The Amazon Resource Name (ARN) of the resource. For more information
|
1381
1577
|
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
|
1382
|
-
# the *
|
1578
|
+
# the *Amazon Web Services General Reference*.
|
1383
1579
|
#
|
1384
1580
|
#
|
1385
1581
|
#
|
@@ -1410,8 +1606,8 @@ module Aws::ManagedBlockchain
|
|
1410
1606
|
end
|
1411
1607
|
|
1412
1608
|
# 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.
|
1609
|
+
# a principal in an Amazon Web Services account that has received an
|
1610
|
+
# invitation to create a member and join a network.
|
1415
1611
|
#
|
1416
1612
|
# Applies only to Hyperledger Fabric.
|
1417
1613
|
#
|
@@ -1458,7 +1654,7 @@ module Aws::ManagedBlockchain
|
|
1458
1654
|
# @option params [required, String] :resource_arn
|
1459
1655
|
# The Amazon Resource Name (ARN) of the resource. For more information
|
1460
1656
|
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
|
1461
|
-
# the *
|
1657
|
+
# the *Amazon Web Services General Reference*.
|
1462
1658
|
#
|
1463
1659
|
#
|
1464
1660
|
#
|
@@ -1506,7 +1702,7 @@ module Aws::ManagedBlockchain
|
|
1506
1702
|
# @option params [required, String] :resource_arn
|
1507
1703
|
# The Amazon Resource Name (ARN) of the resource. For more information
|
1508
1704
|
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
|
1509
|
-
# the *
|
1705
|
+
# the *Amazon Web Services General Reference*.
|
1510
1706
|
#
|
1511
1707
|
#
|
1512
1708
|
#
|
@@ -1627,7 +1823,7 @@ module Aws::ManagedBlockchain
|
|
1627
1823
|
|
1628
1824
|
# Casts a vote for a specified `ProposalId` on behalf of a member. The
|
1629
1825
|
# member to vote as, specified by `VoterMemberId`, must be in the same
|
1630
|
-
#
|
1826
|
+
# Amazon Web Services account as the principal that calls the action.
|
1631
1827
|
#
|
1632
1828
|
# Applies only to Hyperledger Fabric.
|
1633
1829
|
#
|
@@ -1676,7 +1872,7 @@ module Aws::ManagedBlockchain
|
|
1676
1872
|
params: params,
|
1677
1873
|
config: config)
|
1678
1874
|
context[:gem_name] = 'aws-sdk-managedblockchain'
|
1679
|
-
context[:gem_version] = '1.
|
1875
|
+
context[:gem_version] = '1.34.0'
|
1680
1876
|
Seahorse::Client::Request.new(handlers, context)
|
1681
1877
|
end
|
1682
1878
|
|
@@ -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"
|