How to use create_partner_event_source method in localstack

Best Python code snippet using localstack_python

eventbridge.py

Source:eventbridge.py Github

copy

Full Screen

...96 EventBridge.Client.exceptions.LimitExceededException97 98 """99 pass100def create_partner_event_source(Name=None, Account=None):101 """102 Called by an SaaS partner to create a partner event source. This operation is not used by AWS customers.103 Each partner event source can be used by one AWS account to create a matching partner event bus in that AWS account. A SaaS partner must create one partner event source for each AWS account that wants to receive those event types.104 A partner event source creates events based on resources within the SaaS partner\'s service or application.105 An AWS account that creates a partner event bus that matches the partner event source can use that event bus to receive events from the partner, and then process them using AWS Events rules and targets.106 Partner event source names follow this format:107 See also: AWS API Documentation108 109 Exceptions110 111 :example: response = client.create_partner_event_source(112 Name='string',113 Account='string'114 )115 116 117 :type Name: string118 :param Name: [REQUIRED]\nThe 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.\n119 :type Account: string120 :param Account: [REQUIRED]\nThe AWS account ID that is permitted to create a matching partner event bus for this partner event source.\n121 :rtype: dict122ReturnsResponse Syntax123{124 'EventSourceArn': 'string'125}...

Full Screen

Full Screen

client.pyi

Source:client.pyi Github

copy

Full Screen

...203 Creates a new event bus within your account.204 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/events.html#EventBridge.Client.create_event_bus)205 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_events/client.html#create_event_bus)206 """207 def create_partner_event_source(208 self, *, Name: str, Account: str209 ) -> CreatePartnerEventSourceResponseTypeDef:210 """211 Called by an SaaS partner to create a partner event source.212 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/events.html#EventBridge.Client.create_partner_event_source)213 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_events/client.html#create_partner_event_source)214 """215 def deactivate_event_source(self, *, Name: str) -> None:216 """217 You can use this operation to temporarily stop receiving events from the218 specified partner event source.219 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/events.html#EventBridge.Client.deactivate_event_source)220 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_events/client.html#deactivate_event_source)221 """...

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run localstack automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful