Learn R Programming

paws.compute (version 0.7.0)

ec2_purchase_capacity_block: Purchase the Capacity Block for use with your account

Description

Purchase the Capacity Block for use with your account. With Capacity Blocks you ensure GPU capacity is available for machine learning (ML) workloads. You must specify the ID of the Capacity Block offering you are purchasing.

See https://www.paws-r-sdk.com/docs/ec2_purchase_capacity_block/ for full documentation.

Usage

ec2_purchase_capacity_block(
  DryRun = NULL,
  TagSpecifications = NULL,
  CapacityBlockOfferingId,
  InstancePlatform
)

Arguments

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

TagSpecifications

The tags to apply to the Capacity Block during launch.

CapacityBlockOfferingId

[required] The ID of the Capacity Block offering.

InstancePlatform

[required] The type of operating system for which to reserve capacity.