How to use put_metric_stream method in localstack

Best Python code snippet using localstack_python

__init__.py

Source:__init__.py Github

copy

Full Screen

...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,...

Full Screen

Full Screen

client.pyi

Source:client.pyi Github

copy

Full Screen

...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)...

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