Paws

 view release on metacpan or  search on metacpan

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

    }

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

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

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

    return undef
  }


  sub operations { qw/AssociateConnectionAlias AssociateIpGroups AuthorizeIpRules CopyWorkspaceImage CreateConnectionAlias CreateIpGroup CreateTags CreateWorkspaceBundle CreateWorkspaces DeleteConnectionAlias DeleteIpGroup DeleteTags DeleteWorkspaceB...

1;

### main pod documentation begin ###

=head1 NAME

Paws::WorkSpaces - Perl Interface to AWS Amazon WorkSpaces

=head1 SYNOPSIS

  use Paws;

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

Amazon WorkSpaces enables you to provision virtual, cloud-based
Microsoft Windows and Amazon Linux desktops for your users.

For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08>


=head1 METHODS

=head2 AssociateConnectionAlias

=over

=item AliasId => Str

=item ResourceId => Str


=back

Each argument is described in detail in: L<Paws::WorkSpaces::AssociateConnectionAlias>

Returns: a L<Paws::WorkSpaces::AssociateConnectionAliasResult> instance

Associates the specified connection alias with the specified directory
to enable cross-Region redirection. For more information, see
Cross-Region Redirection for Amazon WorkSpaces
(https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html).

Before performing this operation, call DescribeConnectionAliases
(https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeConnectionAliases.html)
to make sure that the current state of the connection alias is
C<CREATED>.


=head2 AssociateIpGroups

=over

=item DirectoryId => Str

=item GroupIds => ArrayRef[Str|Undef]


=back

Each argument is described in detail in: L<Paws::WorkSpaces::AssociateIpGroups>

Returns: a L<Paws::WorkSpaces::AssociateIpGroupsResult> instance

Associates the specified IP access control group with the specified
directory.


=head2 AuthorizeIpRules

=over

=item GroupId => Str

=item UserRules => ArrayRef[L<Paws::WorkSpaces::IpRuleItem>]


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



=head2 ImportWorkspaceImage

=over

=item Ec2ImageId => Str

=item ImageDescription => Str

=item ImageName => Str

=item IngestionProcess => Str

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

=item [Tags => ArrayRef[L<Paws::WorkSpaces::Tag>]]


=back

Each argument is described in detail in: L<Paws::WorkSpaces::ImportWorkspaceImage>

Returns: a L<Paws::WorkSpaces::ImportWorkspaceImageResult> instance

Imports the specified Windows 10 Bring Your Own License (BYOL) image
into Amazon WorkSpaces. The image must be an already licensed Amazon
EC2 image that is in your AWS account, and you must own the image. For
more information about creating BYOL images, see Bring Your Own Windows
Desktop Licenses
(https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html).


=head2 ListAvailableManagementCidrRanges

=over

=item ManagementCidrRangeConstraint => Str

=item [MaxResults => Int]

=item [NextToken => Str]


=back

Each argument is described in detail in: L<Paws::WorkSpaces::ListAvailableManagementCidrRanges>

Returns: a L<Paws::WorkSpaces::ListAvailableManagementCidrRangesResult> instance

Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks,
that you can use for the network management interface when you enable
Bring Your Own License (BYOL).

This operation can be run only by AWS accounts that are enabled for
BYOL. If your account isn't enabled for BYOL, you'll receive an
C<AccessDeniedException> error.

The management network interface is connected to a secure Amazon
WorkSpaces management network. It is used for interactive streaming of
the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon
WorkSpaces to manage the WorkSpace.


=head2 MigrateWorkspace

=over

=item BundleId => Str

=item SourceWorkspaceId => Str


=back

Each argument is described in detail in: L<Paws::WorkSpaces::MigrateWorkspace>

Returns: a L<Paws::WorkSpaces::MigrateWorkspaceResult> instance

Migrates a WorkSpace from one operating system or bundle type to
another, while retaining the data on the user volume.

The migration process recreates the WorkSpace by using a new root
volume from the target bundle image and the user volume from the last
available snapshot of the original WorkSpace. During migration, the
original C<D:\Users\%USERNAME%> user profile folder is renamed to
C<D:\Users\%USERNAME%MMddyyTHHmmss%.NotMigrated>. A new
C<D:\Users\%USERNAME%\> folder is generated by the new OS. Certain
files in the old user profile are moved to the new user profile.

For available migration scenarios, details about what happens during
migration, and best practices, see Migrate a WorkSpace
(https://docs.aws.amazon.com/workspaces/latest/adminguide/migrate-workspaces.html).


=head2 ModifyAccount

=over

=item [DedicatedTenancyManagementCidrRange => Str]

=item [DedicatedTenancySupport => Str]


=back

Each argument is described in detail in: L<Paws::WorkSpaces::ModifyAccount>

Returns: a L<Paws::WorkSpaces::ModifyAccountResult> instance

Modifies the configuration of Bring Your Own License (BYOL) for the
specified account.


=head2 ModifyClientProperties

=over

=item ClientProperties => L<Paws::WorkSpaces::ClientProperties>

=item ResourceId => Str



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