Class: Aws::CloudWatchEvents::Types::RemovePermissionRequest

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 RemovePermissionRequest data as a hash:

{
  statement_id: "StatementId", # required
  event_bus_name: "NonPartnerEventBusName",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#event_bus_nameString

The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.

Returns:

  • (String)


2206
2207
2208
2209
2210
2211
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 2206

class RemovePermissionRequest < Struct.new(
  :statement_id,
  :event_bus_name)
  SENSITIVE = []
  include Aws::Structure
end

#statement_idString

The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.

Returns:

  • (String)


2206
2207
2208
2209
2210
2211
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 2206

class RemovePermissionRequest < Struct.new(
  :statement_id,
  :event_bus_name)
  SENSITIVE = []
  include Aws::Structure
end