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

Class: Aws::EventBridge::Types::CreatePartnerEventSourceRequest

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

{
  name: "EventSourceName", # required
  account: "AccountId", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#accountString

The AWS account ID of the customer who is permitted to create a matching partner event bus for this partner event source.

Returns:

  • (String)


277
278
279
280
281
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 277

class CreatePartnerEventSourceRequest < Struct.new(
  :name,
  :account)
  include Aws::Structure
end

#nameString

The name of the partner event source. This name must be unique and must be in the format partner_name/event_namespace/event_name. The AWS account that wants to use this partner event source must create a partner event bus with a name that matches the name of the partner event source.

Returns:

  • (String)


277
278
279
280
281
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 277

class CreatePartnerEventSourceRequest < Struct.new(
  :name,
  :account)
  include Aws::Structure
end