« blib/lib/Paws/ManagedBlockchain/UpdateMemberOutput.pm
↑ Summary
blib/lib/Paws/ManagedBlockchain/UpdateNodeOutput.pm »
| 1 | |||
| 2 | package Paws::ManagedBlockchain::UpdateNode; | ||
| 3 | use Moose; | ||
| 4 | has LogPublishingConfiguration => (is => 'ro', isa => 'Paws::ManagedBlockchain::NodeLogPublishingConfiguration'); | ||
| 5 | has MemberId => (is => 'ro', isa => 'Str'); | ||
| 6 | has NetworkId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'networkId', required => 1); | ||
| 7 | has NodeId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'nodeId', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateNode'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/networks/{networkId}/nodes/{nodeId}'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ManagedBlockchain::UpdateNodeOutput'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::ManagedBlockchain::UpdateNode - Arguments for method UpdateNode on L<Paws::ManagedBlockchain> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method UpdateNode on the | ||
| 26 | L<Amazon Managed Blockchain|Paws::ManagedBlockchain> service. Use the attributes of this class | ||
| 27 | as arguments to method UpdateNode. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateNode. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $managedblockchain = Paws->service('ManagedBlockchain'); | ||
| 34 | my $UpdateNodeOutput = $managedblockchain->UpdateNode( | ||
| 35 | NetworkId => 'MyResourceIdString', | ||
| 36 | NodeId => 'MyResourceIdString', | ||
| 37 | LogPublishingConfiguration => { | ||
| 38 | Fabric => { | ||
| 39 | ChaincodeLogs => { | ||
| 40 | Cloudwatch => { | ||
| 41 | Enabled => 1, # OPTIONAL | ||
| 42 | }, # OPTIONAL | ||
| 43 | }, # OPTIONAL | ||
| 44 | PeerLogs => { | ||
| 45 | Cloudwatch => { | ||
| 46 | Enabled => 1, # OPTIONAL | ||
| 47 | }, # OPTIONAL | ||
| 48 | }, # OPTIONAL | ||
| 49 | }, # OPTIONAL | ||
| 50 | }, # OPTIONAL | ||
| 51 | MemberId => 'MyResourceIdString', # OPTIONAL | ||
| 52 | ); | ||
| 53 | |||
| 54 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 55 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/managedblockchain/UpdateNode> | ||
| 56 | |||
| 57 | =head1 ATTRIBUTES | ||
| 58 | |||
| 59 | |||
| 60 | =head2 LogPublishingConfiguration => L<Paws::ManagedBlockchain::NodeLogPublishingConfiguration> | ||
| 61 | |||
| 62 | Configuration properties for publishing to Amazon CloudWatch Logs. | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head2 MemberId => Str | ||
| 67 | |||
| 68 | The unique identifier of the member that owns the node. | ||
| 69 | |||
| 70 | Applies only to Hyperledger Fabric. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head2 B<REQUIRED> NetworkId => Str | ||
| 75 | |||
| 76 | The unique identifier of the network that the node is on. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head2 B<REQUIRED> NodeId => Str | ||
| 81 | |||
| 82 | The unique identifier of the node. | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | =head1 SEE ALSO | ||
| 88 | |||
| 89 | This class forms part of L<Paws>, documenting arguments for method UpdateNode in L<Paws::ManagedBlockchain> | ||
| 90 | |||
| 91 | =head1 BUGS and CONTRIBUTIONS | ||
| 92 | |||
| 93 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 94 | |||
| 95 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 96 | |||
| 97 | =cut | ||
| 98 |