« blib/lib/Paws/ManagedBlockchain/ListMembersOutput.pm
↑ Summary
blib/lib/Paws/ManagedBlockchain/ListNetworksOutput.pm »
| 1 | |||
| 2 | package Paws::ManagedBlockchain::ListNetworks; | ||
| 3 | use Moose; | ||
| 4 | has Framework => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'framework'); | ||
| 5 | has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults'); | ||
| 6 | has Name => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'name'); | ||
| 7 | has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken'); | ||
| 8 | has Status => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'status'); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListNetworks'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/networks'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ManagedBlockchain::ListNetworksOutput'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::ManagedBlockchain::ListNetworks - Arguments for method ListNetworks on L<Paws::ManagedBlockchain> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method ListNetworks on the | ||
| 27 | L<Amazon Managed Blockchain|Paws::ManagedBlockchain> service. Use the attributes of this class | ||
| 28 | as arguments to method ListNetworks. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListNetworks. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $managedblockchain = Paws->service('ManagedBlockchain'); | ||
| 35 | my $ListNetworksOutput = $managedblockchain->ListNetworks( | ||
| 36 | Framework => 'HYPERLEDGER_FABRIC', # OPTIONAL | ||
| 37 | MaxResults => 1, # OPTIONAL | ||
| 38 | Name => 'MyString', # OPTIONAL | ||
| 39 | NextToken => 'MyPaginationToken', # OPTIONAL | ||
| 40 | Status => 'CREATING', # OPTIONAL | ||
| 41 | ); | ||
| 42 | |||
| 43 | # Results: | ||
| 44 | my $Networks = $ListNetworksOutput->Networks; | ||
| 45 | my $NextToken = $ListNetworksOutput->NextToken; | ||
| 46 | |||
| 47 | # Returns a L<Paws::ManagedBlockchain::ListNetworksOutput> object. | ||
| 48 | |||
| 49 | 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. | ||
| 50 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/managedblockchain/ListNetworks> | ||
| 51 | |||
| 52 | =head1 ATTRIBUTES | ||
| 53 | |||
| 54 | |||
| 55 | =head2 Framework => Str | ||
| 56 | |||
| 57 | An optional framework specifier. If provided, only networks of this | ||
| 58 | framework type are listed. | ||
| 59 | |||
| 60 | Valid values are: C<"HYPERLEDGER_FABRIC">, C<"ETHEREUM"> | ||
| 61 | |||
| 62 | =head2 MaxResults => Int | ||
| 63 | |||
| 64 | The maximum number of networks to list. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head2 Name => Str | ||
| 69 | |||
| 70 | The name of the network. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head2 NextToken => Str | ||
| 75 | |||
| 76 | The pagination token that indicates the next set of results to | ||
| 77 | retrieve. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head2 Status => Str | ||
| 82 | |||
| 83 | An optional status specifier. If provided, only networks currently in | ||
| 84 | this status are listed. | ||
| 85 | |||
| 86 | Applies only to Hyperledger Fabric. | ||
| 87 | |||
| 88 | Valid values are: C<"CREATING">, C<"AVAILABLE">, C<"CREATE_FAILED">, C<"DELETING">, C<"DELETED"> | ||
| 89 | |||
| 90 | |||
| 91 | =head1 SEE ALSO | ||
| 92 | |||
| 93 | This class forms part of L<Paws>, documenting arguments for method ListNetworks in L<Paws::ManagedBlockchain> | ||
| 94 | |||
| 95 | =head1 BUGS and CONTRIBUTIONS | ||
| 96 | |||
| 97 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 98 | |||
| 99 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 100 | |||
| 101 | =cut | ||
| 102 |