Class: Aws::EC2::Types::PurchaseScheduledInstancesRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Contains the parameters for PurchaseScheduledInstances.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see [Ensuring Idempotency].

**A suitable default value is auto-generated.** You should normally not need to pass this option.

[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html

Returns:

  • (String)


58988
58989
58990
58991
58992
58993
58994
# File 'lib/aws-sdk-ec2/types.rb', line 58988

class PurchaseScheduledInstancesRequest < Struct.new(
  :client_token,
  :dry_run,
  :purchase_requests)
  SENSITIVE = []
  include Aws::Structure
end

#dry_runBoolean

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`.

Returns:

  • (Boolean)


58988
58989
58990
58991
58992
58993
58994
# File 'lib/aws-sdk-ec2/types.rb', line 58988

class PurchaseScheduledInstancesRequest < Struct.new(
  :client_token,
  :dry_run,
  :purchase_requests)
  SENSITIVE = []
  include Aws::Structure
end

#purchase_requestsArray<Types::PurchaseRequest>

The purchase requests.

Returns:



58988
58989
58990
58991
58992
58993
58994
# File 'lib/aws-sdk-ec2/types.rb', line 58988

class PurchaseScheduledInstancesRequest < Struct.new(
  :client_token,
  :dry_run,
  :purchase_requests)
  SENSITIVE = []
  include Aws::Structure
end