Class: Aws::EC2::Types::EnableCapacityManagerRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_token ⇒ String

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

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

Returns:

  • (String)


42318
42319
42320
42321
42322
42323
42324
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42318

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

#dry_run ⇒ Boolean

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)


42318
42319
42320
42321
42322
42323
42324
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42318

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

#organizations_access ⇒ Boolean

Specifies whether to enable cross-account access for Amazon Web Services Organizations. When enabled, Capacity Manager can aggregate data from all accounts in your organization. Default is false.

Returns:

  • (Boolean)


42318
42319
42320
42321
42322
42323
42324
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42318

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