Values.GetMetricStreamOutputSourceReturns information about the metric stream that you specify.
type getMetricStreamResult = {arn : AmazonResourceName.t option;The ARN of the metric stream.
*)name : MetricStreamName.t option;The name of the metric stream.
*)includeFilters : MetricStreamFilters.t option;If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are streamed by this metric stream.
*)excludeFilters : MetricStreamFilters.t option;If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are not streamed by this metric stream. In this case, all other metric namespaces in the account are streamed by this metric stream.
*)firehoseArn : AmazonResourceName.t option;The ARN of the Amazon Kinesis Data Firehose delivery stream that is used by this metric stream.
*)roleArn : AmazonResourceName.t option;The ARN of the IAM role that is used by this metric stream.
*)state : MetricStreamState.t option;The state of the metric stream. The possible values are running and stopped.
*)creationDate : Timestamp.t option;The date that the metric stream was created.
*)lastUpdateDate : Timestamp.t option;The date of the most recent update to the metric stream's configuration.
*)outputFormat : MetricStreamOutputFormat.t option;The output format for the stream. Valid values are json, opentelemetry1.0, and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats.
*)statisticsConfigurations : MetricStreamStatisticsConfigurations.t option;Each entry in this array displays information about one or more metrics that include additional statistics in the metric stream. For more information about the additional statistics, see CloudWatch statistics definitions.
*)includeLinkedAccountsMetrics : IncludeLinkedAccountsMetrics.t option;If this is true and this metric stream is in a monitoring account, then the stream includes metrics from source accounts that the monitoring account is linked to.
*)}type error = [ | `InternalServiceFault of InternalServiceFault.t| `InvalidParameterCombinationException of InvalidParameterCombinationException.t| `InvalidParameterValueException of InvalidParameterValueException.t| `MissingRequiredParameterException of MissingRequiredParameterException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServiceFault of InternalServiceFault.t
| `InvalidParameterCombinationException of
InvalidParameterCombinationException.t
| `InvalidParameterValueException of InvalidParameterValueException.t
| `MissingRequiredParameterException of MissingRequiredParameterException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalServiceFault of InternalServiceFault.t
| `InvalidParameterCombinationException of
InvalidParameterCombinationException.t
| `InvalidParameterValueException of InvalidParameterValueException.t
| `MissingRequiredParameterException of MissingRequiredParameterException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of IncludeLinkedAccountsMetrics.t
| `Enum of string
| `List of
[> `Structure of
(string
* [> `List of
[> `String of MetricName.t
| `Structure of
(string * [> `String of Namespace.t ]) list ]
list
| `String of Namespace.t ])
list ]
list
| `String of AmazonResourceName.t
| `Timestamp of Timestamp.t ])
list ])
list ]