You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudWatchEvents::Types::RemoveTargetsRequest

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

Overview

Note:

When making an API call, you may pass RemoveTargetsRequest data as a hash:

{
  rule: "RuleName", # required
  ids: ["TargetId"], # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#idsArray<String>

The IDs of the targets to remove from the rule.

Returns:

  • (Array<String>)


758
759
760
761
762
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 758

class RemoveTargetsRequest < Struct.new(
  :rule,
  :ids)
  include Aws::Structure
end

#ruleString

The name of the rule.

Returns:

  • (String)


758
759
760
761
762
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 758

class RemoveTargetsRequest < Struct.new(
  :rule,
  :ids)
  include Aws::Structure
end