Paws

 view release on metacpan or  search on metacpan

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

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

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

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

    return undef
  }


  sub operations { qw/AssociateFleet BatchAssociateUserStack BatchDisassociateUserStack CopyImage CreateDirectoryConfig CreateFleet CreateImageBuilder CreateImageBuilderStreamingURL CreateStack CreateStreamingURL CreateUpdatedImage CreateUsageReportS...

1;

### main pod documentation begin ###

=head1 NAME

Paws::AppStream - Perl Interface to AWS Amazon AppStream

=head1 SYNOPSIS

  use Paws;

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

Amazon AppStream 2.0

This is the I<Amazon AppStream 2.0 API Reference>. This documentation
provides descriptions and syntax for each of the actions and data types
in AppStream 2.0. AppStream 2.0 is a fully managed, secure application
streaming service that lets you stream desktop applications to users
without rewriting applications. AppStream 2.0 manages the AWS resources
that are required to host and run your applications, scales
automatically, and provides access to your users on demand.

You can call the AppStream 2.0 API operations by using an interface VPC
endpoint (interface endpoint). For more information, see Access
AppStream 2.0 API Operations and CLI Commands Through an Interface VPC
Endpoint
(https://docs.aws.amazon.com/appstream2/latest/developerguide/access-api-cli-through-interface-vpc-endpoint.html)
in the I<Amazon AppStream 2.0 Administration Guide>.

To learn more about AppStream 2.0, see the following resources:

=over

=item *

Amazon AppStream 2.0 product page (http://aws.amazon.com/appstream2)

=item *

Amazon AppStream 2.0 documentation
(http://aws.amazon.com/documentation/appstream2)

=back


For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/appstream2-2016-12-01>


=head1 METHODS

=head2 AssociateFleet

=over

=item FleetName => Str

=item StackName => Str


=back

Each argument is described in detail in: L<Paws::AppStream::AssociateFleet>

Returns: a L<Paws::AppStream::AssociateFleetResult> instance

Associates the specified fleet with the specified stack.


=head2 BatchAssociateUserStack

=over

=item UserStackAssociations => ArrayRef[L<Paws::AppStream::UserStackAssociation>]


=back

Each argument is described in detail in: L<Paws::AppStream::BatchAssociateUserStack>



( run in 9.100 seconds using v1.01-cache-2.11-cpan-f52f0507bed )