Paws
view release on metacpan or search on metacpan
lib/Paws/Batch/RegisterJobDefinition.pm view on Meta::CPAN
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RegisterJobDefinition.
=head1 SYNOPSIS
my $batch = Paws->service('Batch');
# To register a job definition
# This example registers a job definition for a simple container job.
my $RegisterJobDefinitionResponse = $batch->RegisterJobDefinition(
'ContainerProperties' => {
'Command' => [ 'sleep', 10 ],
'Image' => 'busybox',
'Memory' => 128,
'Vcpus' => 1
},
'JobDefinitionName' => 'sleep10',
'Type' => 'container'
);
# Results:
my $jobDefinitionArn = $RegisterJobDefinitionResponse->jobDefinitionArn;
my $jobDefinitionName = $RegisterJobDefinitionResponse->jobDefinitionName;
lib/Paws/EC2.pm view on Meta::CPAN
=back
Each argument is described in detail in: L<Paws::EC2::DetachVolume>
Returns: a L<Paws::EC2::VolumeAttachment> instance
Detaches an EBS volume from an instance. Make sure to unmount any file
systems on the device within your operating system before detaching the
volume. Failure to do so can result in the volume becoming stuck in the
C<busy> state while detaching. If this happens, detachment can be
delayed indefinitely until you unmount the volume, force detachment,
reboot the instance, or all three. If an EBS volume is the root device
of an instance, it can't be detached while the instance is running. To
detach the root volume, stop the instance first.
When a volume with an AWS Marketplace product code is detached from an
instance, the product code is no longer associated with the instance.
For more information, see Detaching an Amazon EBS volume
(https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-detaching-volume.html)
lib/Paws/EC2/VolumeAttachment.pm view on Meta::CPAN
=head2 InstanceId => Str
The ID of the instance.
=head2 State => Str
The attachment state of the volume.
Valid values are: C<"attaching">, C<"attached">, C<"detaching">, C<"detached">, C<"busy">
=head2 VolumeId => Str
The ID of the volume.
=head2 _request_id => Str
=cut
lib/Paws/ECS/RegisterTaskDefinition.pm view on Meta::CPAN
my $ecs = Paws->service('ECS');
# To register a task definition
# This example registers a task definition to the specified family.
my $RegisterTaskDefinitionResponse = $ecs->RegisterTaskDefinition(
'ContainerDefinitions' => [
{
'Command' => [ 'sleep', 360 ],
'Cpu' => 10,
'Essential' => 1,
'Image' => 'busybox',
'Memory' => 10,
'Name' => 'sleep'
}
],
'Family' => 'sleep360',
'TaskRoleArn' => '',
'Volumes' => [
]
);
lib/Paws/GameLift/GameServer.pm view on Meta::CPAN
=head2 RegistrationTime => Str
Timestamp that indicates when the game server was created with a
RegisterGameServer request. The format is a number expressed in Unix
time as milliseconds (for example C<"1469498468.057">).
=head2 UtilizationStatus => Str
Indicates whether the game server is currently available for new games
or is busy. Possible statuses include:
=over
=item *
C<AVAILABLE> - The game server is available to be claimed. A game
server that has been claimed remains in this status until it reports
game hosting activity.
=item *
lib/Paws/RDS/ConnectionPoolConfiguration.pm view on Meta::CPAN
Specifies the settings that control the size and behavior of the
connection pool associated with a C<DBProxyTargetGroup>.
=head1 ATTRIBUTES
=head2 ConnectionBorrowTimeout => Int
The number of seconds for a proxy to wait for a connection to become
available in the connection pool. Only applies when the proxy has
opened its maximum number of connections and all connections are busy
with client sessions.
Default: 120
Constraints: between 1 and 3600, or 0 representing unlimited
=head2 InitQuery => Str
One or more SQL statements for the proxy to run when opening each new
lib/Paws/RDS/ConnectionPoolConfigurationInfo.pm view on Meta::CPAN
Displays the settings that control the size and behavior of the
connection pool associated with a C<DBProxyTarget>.
=head1 ATTRIBUTES
=head2 ConnectionBorrowTimeout => Int
The number of seconds for a proxy to wait for a connection to become
available in the connection pool. Only applies when the proxy has
opened its maximum number of connections and all connections are busy
with client sessions.
=head2 InitQuery => Str
One or more SQL statements for the proxy to run when opening each new
database connection. Typically used with C<SET> statements to make sure
that each connection has identical settings such as time zone and
character set. This setting is empty by default. For multiple
statements, use semicolons as the separator. You can also include
( run in 0.379 second using v1.01-cache-2.11-cpan-87723dcf8b7 )