Paws

 view release on metacpan or  search on metacpan

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

      $callback->($_ => 'bundleList') foreach (@{ $result->bundleList });
    }

    return undef
  }
  sub ListAllProjects {
    my $self = shift;

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

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

    return undef
  }


  sub operations { qw/CreateProject DeleteProject DescribeBundle DescribeProject ExportBundle ExportProject ListBundles ListProjects UpdateProject / }

1;

### main pod documentation begin ###

=head1 NAME

Paws::MobileHub - Perl Interface to AWS AWS Mobile

=head1 SYNOPSIS

  use Paws;

  my $obj = Paws->service('MobileHub');
  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

AWS Mobile Service provides mobile app and website developers with
capabilities required to configure AWS resources and bootstrap their
developer desktop projects with the necessary SDKs, constants, tools
and samples to make use of those resources.

For the AWS API documentation, see L<https://docs.aws.amazon.com/mobile-hub/>


=head1 METHODS

=head2 CreateProject

=over

=item [Contents => Str]

=item [Name => Str]

=item [Region => Str]

=item [SnapshotId => Str]


=back

Each argument is described in detail in: L<Paws::MobileHub::CreateProject>

Returns: a L<Paws::MobileHub::CreateProjectResult> instance

Creates an AWS Mobile Hub project.


=head2 DeleteProject

=over

=item ProjectId => Str


=back

Each argument is described in detail in: L<Paws::MobileHub::DeleteProject>

Returns: a L<Paws::MobileHub::DeleteProjectResult> instance

Delets a project in AWS Mobile Hub.


=head2 DescribeBundle

=over

=item BundleId => Str


=back

Each argument is described in detail in: L<Paws::MobileHub::DescribeBundle>

Returns: a L<Paws::MobileHub::DescribeBundleResult> instance

Get the bundle details for the requested bundle id.



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