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

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

Overview

Note:

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

{
  statement_id: "StatementId",
  remove_all_permissions: false,
  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)

4308
4309
4310
4311
4312
4313
4314
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 4308

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

#remove_all_permissionsBoolean

Specifies whether to remove all permissions.

Returns:

  • (Boolean)

4308
4309
4310
4311
4312
4313
4314
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 4308

class RemovePermissionRequest < Struct.new(
  :statement_id,
  :remove_all_permissions,
  :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)

4308
4309
4310
4311
4312
4313
4314
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 4308

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