* feat(cloudwatch): store and serve metric stream definitions
PutMetricStream, GetMetricStream, ListMetricStreams, DeleteMetricStream,
StartMetricStreams and StopMetricStreams work over Query and JSON. A
stream is a definition with a running or stopped state, and nothing is
delivered to the Firehose delivery stream it names. The service lives in
its own metricstreams package next to dashboards and is injected into
both handlers, and the tag operations route a metric-stream ARN to it.
Ported from lex00/floci#42.
* fix(cloudwatch): validate nested metric stream members, page ListMetricStreams, keep batches atomic
StartMetricStreams and StopMetricStreams resolve every requested name
before changing any, so a batch naming a missing stream fails as a
whole. PutMetricStream now checks the nested members: a filter needs a
Namespace, an IncludeMetrics entry needs a Namespace and a MetricName,
and a statistics configuration needs non-empty IncludeMetrics and
AdditionalStatistics. ListMetricStreams pages through the shared
Pagination helper with MaxResults and NextToken over both protocols.
* fix(cloudwatch): answer an unknown name on StartMetricStreams and StopMetricStreams with InvalidParameterValue
The model declares ResourceNotFoundException on GetMetricStream alone.
Start and Stop declare InvalidParameterValue, so an unknown name in the
batch answers that, still after resolving every name before any change.