Paws

 view release on metacpan or  search on metacpan

lib/Paws/DeviceFarm.pm  view on Meta::CPAN

  sub ListAllVPCEConfigurations {
    my $self = shift;

    my $callback = shift @_ if (ref($_[0]) eq 'CODE');
    my $result = $self->ListVPCEConfigurations(@_);
    my $next_result = $result;

    if (not defined $callback) {
      while ($next_result->nextToken) {
        $next_result = $self->ListVPCEConfigurations(@_, nextToken => $next_result->nextToken);
        push @{ $result->vpceConfigurations }, @{ $next_result->vpceConfigurations };
      }
      return $result;
    } else {
      while ($result->nextToken) {
        $callback->($_ => 'vpceConfigurations') foreach (@{ $result->vpceConfigurations });
        $result = $self->ListVPCEConfigurations(@_, nextToken => $result->nextToken);
      }
      $callback->($_ => 'vpceConfigurations') foreach (@{ $result->vpceConfigurations });
    }

    return undef
  }


  sub operations { qw/CreateDevicePool CreateInstanceProfile CreateNetworkProfile CreateProject CreateRemoteAccessSession CreateTestGridProject CreateTestGridUrl CreateUpload CreateVPCEConfiguration DeleteDevicePool DeleteInstanceProfile DeleteNetwor...

1;

### main pod documentation begin ###

=head1 NAME

Paws::DeviceFarm - Perl Interface to AWS AWS Device Farm

=head1 SYNOPSIS

  use Paws;

  my $obj = Paws->service('DeviceFarm');
  my $res = $obj->Method(
    Arg1 => $val1,
    Arg2 => [ 'V1', 'V2' ],
    # if Arg3 is an object, the HashRef will be used as arguments to the constructor
    # of the arguments type
    Arg3 => { Att1 => 'Val1' },
    # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
    # the constructor of the arguments type
    Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
  );

=head1 DESCRIPTION

Welcome to the AWS Device Farm API documentation, which contains APIs
for:

=over

=item *

Testing on desktop browsers

Device Farm makes it possible for you to test your web applications on
desktop browsers using Selenium. The APIs for desktop browser testing
contain C<TestGrid> in their names. For more information, see Testing
Web Applications on Selenium with Device Farm
(https://docs.aws.amazon.com/devicefarm/latest/testgrid/).

=item *

Testing on real mobile devices

Device Farm makes it possible for you to test apps on physical phones,
tablets, and other devices in the cloud. For more information, see the
Device Farm Developer Guide
(https://docs.aws.amazon.com/devicefarm/latest/developerguide/).

=back


For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23>


=head1 METHODS

=head2 CreateDevicePool

=over

=item Name => Str

=item ProjectArn => Str

=item Rules => ArrayRef[L<Paws::DeviceFarm::Rule>]

=item [Description => Str]

=item [MaxDevices => Int]


=back

Each argument is described in detail in: L<Paws::DeviceFarm::CreateDevicePool>

Returns: a L<Paws::DeviceFarm::CreateDevicePoolResult> instance

Creates a device pool.


=head2 CreateInstanceProfile

=over

=item Name => Str

=item [Description => Str]

=item [ExcludeAppPackagesFromCleanup => ArrayRef[Str|Undef]]

=item [PackageCleanup => Bool]

=item [RebootAfterUse => Bool]




( run in 1.035 second using v1.01-cache-2.11-cpan-d7a12ab2c7f )