Best Python code snippet using localstack_python
__init__.py
Source:__init__.py
...948 self, context: RequestContext, namespace: Namespace, metric_data: MetricData949 ) -> None:950 raise NotImplementedError951 @handler("PutMetricStream")952 def put_metric_stream(953 self,954 context: RequestContext,955 name: MetricStreamName,956 firehose_arn: AmazonResourceName,957 role_arn: AmazonResourceName,958 output_format: MetricStreamOutputFormat,959 include_filters: MetricStreamFilters = None,960 exclude_filters: MetricStreamFilters = None,961 tags: TagList = None,962 ) -> PutMetricStreamOutput:963 raise NotImplementedError964 @handler("SetAlarmState")965 def set_alarm_state(966 self,...
client.pyi
Source:client.pyi
...484 Publishes metric data points to Amazon CloudWatch.485 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/cloudwatch.html#CloudWatch.Client.put_metric_data)486 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_cloudwatch/client.html#put_metric_data)487 """488 def put_metric_stream(489 self,490 *,491 Name: str,492 FirehoseArn: str,493 RoleArn: str,494 OutputFormat: MetricStreamOutputFormatType,495 IncludeFilters: List["MetricStreamFilterTypeDef"] = None,496 ExcludeFilters: List["MetricStreamFilterTypeDef"] = None,497 Tags: List["TagTypeDef"] = None,498 StatisticsConfigurations: List["MetricStreamStatisticsConfigurationTypeDef"] = None499 ) -> PutMetricStreamOutputTypeDef:500 """501 Creates or updates a metric stream.502 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/cloudwatch.html#CloudWatch.Client.put_metric_stream)...
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.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!