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

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",
}

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)


1960
1961
1962
1963
1964
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1960

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


1960
1961
1962
1963
1964
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1960

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