Class: Aws::EventBridge::Types::RemovePermissionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/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)


4801
4802
4803
4804
4805
4806
4807
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 4801

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)


4801
4802
4803
4804
4805
4806
4807
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 4801

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)


4801
4802
4803
4804
4805
4806
4807
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 4801

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