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)


45695
45696
45697
45698
45699
45700
45701
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 45695

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)


45695
45696
45697
45698
45699
45700
45701
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 45695

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)


45695
45696
45697
45698
45699
45700
45701
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 45695

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