How to use deactivate_event_source method in localstack

Best Python code snippet using localstack_python

eventbridge.py

Source:eventbridge.py Github

copy

Full Screen

...144 EventBridge.Client.exceptions.LimitExceededException145 146 """147 pass148def deactivate_event_source(Name=None):149 """150 You can use this operation to temporarily stop receiving events from the specified partner event source. The matching event bus is not deleted.151 When you deactivate a partner event source, the source goes into PENDING state. If it remains in PENDING state for more than two weeks, it is deleted.152 To activate a deactivated partner event source, use ActivateEventSource .153 See also: AWS API Documentation154 155 Exceptions156 157 :example: response = client.deactivate_event_source(158 Name='string'159 )160 161 162 :type Name: string163 :param Name: [REQUIRED]\nThe name of the partner event source to deactivate.\n164 """165 pass166def delete_event_bus(Name=None):167 """168 Deletes the specified custom event bus or partner event bus. All rules associated with this event bus need to be deleted. You can\'t delete your account\'s default event bus.169 See also: AWS API Documentation170 171 Exceptions...

Full Screen

Full Screen

client.pyi

Source:client.pyi Github

copy

Full Screen

...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 """222 def deauthorize_connection(self, *, Name: str) -> DeauthorizeConnectionResponseTypeDef:223 """224 Removes all authorization parameters from the connection.225 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/events.html#EventBridge.Client.deauthorize_connection)226 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_events/client.html#deauthorize_connection)227 """228 def delete_api_destination(self, *, Name: str) -> Dict[str, Any]:229 """...

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