Class: Aws::CloudWatchLogs::Types::DeleteAccountPolicyRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dry_run ⇒ Boolean

Specifies whether to preview the impact of deleting the policy without deleting it. If you specify true, CloudWatch Logs does not delete the policy and returns the estimated impact in dryRunResult. The default is false.

Specifying dryRun is valid only when you specify RETENTION_POLICY for policyType. Only one dry run can be in progress for an account at a time.

Returns:

  • (Boolean)


1483
1484
1485
1486
1487
1488
1489
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1483

class DeleteAccountPolicyRequest < Struct.new(
  :policy_name,
  :policy_type,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#policy_name ⇒ String

The name of the policy to delete.

Returns:

  • (String)


1483
1484
1485
1486
1487
1488
1489
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1483

class DeleteAccountPolicyRequest < Struct.new(
  :policy_name,
  :policy_type,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#policy_type ⇒ String

The type of policy to delete.

Returns:

  • (String)


1483
1484
1485
1486
1487
1488
1489
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1483

class DeleteAccountPolicyRequest < Struct.new(
  :policy_name,
  :policy_type,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end