aws-sdk-applicationsignals 1.5.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationsignals/client.rb +490 -48
- data/lib/aws-sdk-applicationsignals/client_api.rb +50 -2
- data/lib/aws-sdk-applicationsignals/types.rb +340 -26
- data/lib/aws-sdk-applicationsignals.rb +1 -1
- data/sig/client.rbs +177 -5
- data/sig/types.rbs +56 -2
- metadata +2 -2
@@ -425,6 +425,12 @@ module Aws::ApplicationSignals
|
|
425
425
|
# @option options [String] :ssl_ca_store
|
426
426
|
# Sets the X509::Store to verify peer certificate.
|
427
427
|
#
|
428
|
+
# @option options [OpenSSL::X509::Certificate] :ssl_cert
|
429
|
+
# Sets a client certificate when creating http connections.
|
430
|
+
#
|
431
|
+
# @option options [OpenSSL::PKey] :ssl_key
|
432
|
+
# Sets a client key when creating http connections.
|
433
|
+
#
|
428
434
|
# @option options [Float] :ssl_timeout
|
429
435
|
# Sets the SSL timeout in seconds
|
430
436
|
#
|
@@ -440,12 +446,12 @@ module Aws::ApplicationSignals
|
|
440
446
|
# Use this operation to retrieve one or more *service level objective
|
441
447
|
# (SLO) budget reports*.
|
442
448
|
#
|
443
|
-
# An *error budget* is the amount of time
|
444
|
-
# service can accumulate during an interval before your
|
445
|
-
# budget health is breached and the SLO is considered to be
|
446
|
-
# example, an SLO with a threshold of 99.95% and a monthly
|
447
|
-
# translates to an error budget of 21.9 minutes of downtime in
|
448
|
-
# month.
|
449
|
+
# An *error budget* is the amount of time or requests in an unhealthy
|
450
|
+
# state that your service can accumulate during an interval before your
|
451
|
+
# overall SLO budget health is breached and the SLO is considered to be
|
452
|
+
# unmet. For example, an SLO with a threshold of 99.95% and a monthly
|
453
|
+
# interval translates to an error budget of 21.9 minutes of downtime in
|
454
|
+
# a 30-day month.
|
449
455
|
#
|
450
456
|
# Budget reports include a health indicator, the attainment value, and
|
451
457
|
# remaining budget.
|
@@ -483,10 +489,13 @@ module Aws::ApplicationSignals
|
|
483
489
|
# resp.reports #=> Array
|
484
490
|
# resp.reports[0].arn #=> String
|
485
491
|
# resp.reports[0].name #=> String
|
492
|
+
# resp.reports[0].evaluation_type #=> String, one of "PeriodBased", "RequestBased"
|
486
493
|
# resp.reports[0].budget_status #=> String, one of "OK", "WARNING", "BREACHED", "INSUFFICIENT_DATA"
|
487
494
|
# resp.reports[0].attainment #=> Float
|
488
495
|
# resp.reports[0].total_budget_seconds #=> Integer
|
489
496
|
# resp.reports[0].budget_seconds_remaining #=> Integer
|
497
|
+
# resp.reports[0].total_budget_requests #=> Integer
|
498
|
+
# resp.reports[0].budget_requests_remaining #=> Integer
|
490
499
|
# resp.reports[0].sli.sli_metric.key_attributes #=> Hash
|
491
500
|
# resp.reports[0].sli.sli_metric.key_attributes["KeyAttributeName"] #=> String
|
492
501
|
# resp.reports[0].sli.sli_metric.operation_name #=> String
|
@@ -508,10 +517,61 @@ module Aws::ApplicationSignals
|
|
508
517
|
# resp.reports[0].sli.sli_metric.metric_data_queries[0].account_id #=> String
|
509
518
|
# resp.reports[0].sli.metric_threshold #=> Float
|
510
519
|
# resp.reports[0].sli.comparison_operator #=> String, one of "GreaterThanOrEqualTo", "GreaterThan", "LessThan", "LessThanOrEqualTo"
|
511
|
-
# resp.reports[0].
|
520
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.key_attributes #=> Hash
|
521
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.key_attributes["KeyAttributeName"] #=> String
|
522
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.operation_name #=> String
|
523
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.metric_type #=> String, one of "LATENCY", "AVAILABILITY"
|
524
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric #=> Array
|
525
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].id #=> String
|
526
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.namespace #=> String
|
527
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.metric_name #=> String
|
528
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions #=> Array
|
529
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions[0].name #=> String
|
530
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions[0].value #=> String
|
531
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.period #=> Integer
|
532
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.stat #=> String
|
533
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
|
534
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].expression #=> String
|
535
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].label #=> String
|
536
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].return_data #=> Boolean
|
537
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].period #=> Integer
|
538
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].account_id #=> String
|
539
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric #=> Array
|
540
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].id #=> String
|
541
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.namespace #=> String
|
542
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.metric_name #=> String
|
543
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions #=> Array
|
544
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions[0].name #=> String
|
545
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions[0].value #=> String
|
546
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.period #=> Integer
|
547
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.stat #=> String
|
548
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
|
549
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].expression #=> String
|
550
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].label #=> String
|
551
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].return_data #=> Boolean
|
552
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].period #=> Integer
|
553
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].account_id #=> String
|
554
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric #=> Array
|
555
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].id #=> String
|
556
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.namespace #=> String
|
557
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.metric_name #=> String
|
558
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions #=> Array
|
559
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions[0].name #=> String
|
560
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions[0].value #=> String
|
561
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.period #=> Integer
|
562
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.stat #=> String
|
563
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
|
564
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].expression #=> String
|
565
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].label #=> String
|
566
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].return_data #=> Boolean
|
567
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].period #=> Integer
|
568
|
+
# resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].account_id #=> String
|
569
|
+
# resp.reports[0].request_based_sli.metric_threshold #=> Float
|
570
|
+
# resp.reports[0].request_based_sli.comparison_operator #=> String, one of "GreaterThanOrEqualTo", "GreaterThan", "LessThan", "LessThanOrEqualTo"
|
571
|
+
# resp.reports[0].goal.interval.rolling_interval.duration_unit #=> String, one of "MINUTE", "HOUR", "DAY", "MONTH"
|
512
572
|
# resp.reports[0].goal.interval.rolling_interval.duration #=> Integer
|
513
573
|
# resp.reports[0].goal.interval.calendar_interval.start_time #=> Time
|
514
|
-
# resp.reports[0].goal.interval.calendar_interval.duration_unit #=> String, one of "DAY", "MONTH"
|
574
|
+
# resp.reports[0].goal.interval.calendar_interval.duration_unit #=> String, one of "MINUTE", "HOUR", "DAY", "MONTH"
|
515
575
|
# resp.reports[0].goal.interval.calendar_interval.duration #=> Integer
|
516
576
|
# resp.reports[0].goal.attainment_goal #=> Float
|
517
577
|
# resp.reports[0].goal.warning_threshold #=> Float
|
@@ -541,21 +601,60 @@ module Aws::ApplicationSignals
|
|
541
601
|
# availability or latency. CloudWatch measures this target frequently
|
542
602
|
# you can find whether it has been breached.
|
543
603
|
#
|
544
|
-
#
|
545
|
-
# *attainment goal
|
546
|
-
#
|
547
|
-
#
|
548
|
-
#
|
604
|
+
# The target performance quality that is defined for an SLO is the
|
605
|
+
# *attainment goal*.
|
606
|
+
#
|
607
|
+
# You can set SLO targets for your applications that are discovered by
|
608
|
+
# Application Signals, using critical metrics such as latency and
|
609
|
+
# availability. You can also set SLOs against any CloudWatch metric or
|
610
|
+
# math expression that produces a time series.
|
611
|
+
#
|
612
|
+
# When you create an SLO, you specify whether it is a *period-based SLO*
|
613
|
+
# or a *request-based SLO*. Each type of SLO has a different way of
|
614
|
+
# evaluating your application's performance against its attainment
|
615
|
+
# goal.
|
616
|
+
#
|
617
|
+
# * A *period-based SLO* uses defined *periods* of time within a
|
618
|
+
# specified total time interval. For each period of time, Application
|
619
|
+
# Signals determines whether the application met its goal. The
|
620
|
+
# attainment rate is calculated as the `number of good periods/number
|
621
|
+
# of total periods`.
|
622
|
+
#
|
623
|
+
# For example, for a period-based SLO, meeting an attainment goal of
|
624
|
+
# 99.9% means that within your interval, your application must meet
|
625
|
+
# its performance goal during at least 99.9% of the time periods.
|
626
|
+
#
|
627
|
+
# * A *request-based SLO* doesn't use pre-defined periods of time.
|
628
|
+
# Instead, the SLO measures `number of good requests/number of total
|
629
|
+
# requests` during the interval. At any time, you can find the ratio
|
630
|
+
# of good requests to total requests for the interval up to the time
|
631
|
+
# stamp that you specify, and measure that ratio against the goal set
|
632
|
+
# in your SLO.
|
549
633
|
#
|
550
634
|
# After you have created an SLO, you can retrieve error budget reports
|
551
|
-
# for it. An *error budget* is the
|
552
|
-
# that your
|
553
|
-
#
|
554
|
-
#
|
555
|
-
#
|
556
|
-
#
|
635
|
+
# for it. An *error budget* is the amount of time or amount of requests
|
636
|
+
# that your application can be non-compliant with the SLO's goal, and
|
637
|
+
# still have your application meet the goal.
|
638
|
+
#
|
639
|
+
# * For a period-based SLO, the error budget starts at a number defined
|
640
|
+
# by the highest number of periods that can fail to meet the
|
641
|
+
# threshold, while still meeting the overall goal. The *remaining
|
642
|
+
# error budget* decreases with every failed period that is recorded.
|
643
|
+
# The error budget within one interval can never increase.
|
644
|
+
#
|
645
|
+
# For example, an SLO with a threshold that 99.95% of requests must be
|
646
|
+
# completed under 2000ms every month translates to an error budget of
|
647
|
+
# 21.9 minutes of downtime per month.
|
648
|
+
#
|
649
|
+
# * For a request-based SLO, the remaining error budget is dynamic and
|
650
|
+
# can increase or decrease, depending on the ratio of good requests to
|
651
|
+
# total requests.
|
652
|
+
#
|
653
|
+
# For more information about SLOs, see [ Service level objectives
|
654
|
+
# (SLOs)][1].
|
557
655
|
#
|
558
|
-
# When you
|
656
|
+
# When you perform a `CreateServiceLevelObjective` operation,
|
657
|
+
# Application Signals creates the
|
559
658
|
# *AWSServiceRoleForCloudWatchApplicationSignals* service-linked role,
|
560
659
|
# if it doesn't already exist in your account. This service- linked
|
561
660
|
# role has the following permissions:
|
@@ -574,14 +673,6 @@ module Aws::ApplicationSignals
|
|
574
673
|
#
|
575
674
|
# * `autoscaling:DescribeAutoScalingGroups`
|
576
675
|
#
|
577
|
-
# You can easily set SLO targets for your applications that are
|
578
|
-
# discovered by Application Signals, using critical metrics such as
|
579
|
-
# latency and availability. You can also set SLOs against any CloudWatch
|
580
|
-
# metric or math expression that produces a time series.
|
581
|
-
#
|
582
|
-
# For more information about SLOs, see [ Service level objectives
|
583
|
-
# (SLOs)][1].
|
584
|
-
#
|
585
676
|
#
|
586
677
|
#
|
587
678
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-ServiceLevelObjectives.html
|
@@ -592,14 +683,23 @@ module Aws::ApplicationSignals
|
|
592
683
|
# @option params [String] :description
|
593
684
|
# An optional description for this SLO.
|
594
685
|
#
|
595
|
-
# @option params [
|
596
|
-
#
|
597
|
-
# performance metric
|
686
|
+
# @option params [Types::ServiceLevelIndicatorConfig] :sli_config
|
687
|
+
# If this SLO is a period-based SLO, this structure defines the
|
688
|
+
# information about what performance metric this SLO will monitor.
|
689
|
+
#
|
690
|
+
# You can't specify both `RequestBasedSliConfig` and `SliConfig` in the
|
691
|
+
# same operation.
|
692
|
+
#
|
693
|
+
# @option params [Types::RequestBasedServiceLevelIndicatorConfig] :request_based_sli_config
|
694
|
+
# If this SLO is a request-based SLO, this structure defines the
|
695
|
+
# information about what performance metric this SLO will monitor.
|
696
|
+
#
|
697
|
+
# You can't specify both `RequestBasedSliConfig` and `SliConfig` in the
|
698
|
+
# same operation.
|
598
699
|
#
|
599
700
|
# @option params [Types::Goal] :goal
|
600
|
-
#
|
601
|
-
#
|
602
|
-
# attainment threshold.
|
701
|
+
# This structure contains the attributes that determine the goal of the
|
702
|
+
# SLO.
|
603
703
|
#
|
604
704
|
# @option params [Array<Types::Tag>] :tags
|
605
705
|
# A list of key-value pairs to associate with the SLO. You can associate
|
@@ -620,7 +720,7 @@ module Aws::ApplicationSignals
|
|
620
720
|
# resp = client.create_service_level_objective({
|
621
721
|
# name: "ServiceLevelObjectiveName", # required
|
622
722
|
# description: "ServiceLevelObjectiveDescription",
|
623
|
-
# sli_config: {
|
723
|
+
# sli_config: {
|
624
724
|
# sli_metric_config: { # required
|
625
725
|
# key_attributes: {
|
626
726
|
# "KeyAttributeName" => "KeyAttributeValue",
|
@@ -658,15 +758,103 @@ module Aws::ApplicationSignals
|
|
658
758
|
# metric_threshold: 1.0, # required
|
659
759
|
# comparison_operator: "GreaterThanOrEqualTo", # required, accepts GreaterThanOrEqualTo, GreaterThan, LessThan, LessThanOrEqualTo
|
660
760
|
# },
|
761
|
+
# request_based_sli_config: {
|
762
|
+
# request_based_sli_metric_config: { # required
|
763
|
+
# key_attributes: {
|
764
|
+
# "KeyAttributeName" => "KeyAttributeValue",
|
765
|
+
# },
|
766
|
+
# operation_name: "OperationName",
|
767
|
+
# metric_type: "LATENCY", # accepts LATENCY, AVAILABILITY
|
768
|
+
# total_request_count_metric: [
|
769
|
+
# {
|
770
|
+
# id: "MetricId", # required
|
771
|
+
# metric_stat: {
|
772
|
+
# metric: { # required
|
773
|
+
# namespace: "Namespace",
|
774
|
+
# metric_name: "MetricName",
|
775
|
+
# dimensions: [
|
776
|
+
# {
|
777
|
+
# name: "DimensionName", # required
|
778
|
+
# value: "DimensionValue", # required
|
779
|
+
# },
|
780
|
+
# ],
|
781
|
+
# },
|
782
|
+
# period: 1, # required
|
783
|
+
# stat: "Stat", # required
|
784
|
+
# unit: "Microseconds", # accepts Microseconds, Milliseconds, Seconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None
|
785
|
+
# },
|
786
|
+
# expression: "MetricExpression",
|
787
|
+
# label: "MetricLabel",
|
788
|
+
# return_data: false,
|
789
|
+
# period: 1,
|
790
|
+
# account_id: "AccountId",
|
791
|
+
# },
|
792
|
+
# ],
|
793
|
+
# monitored_request_count_metric: {
|
794
|
+
# good_count_metric: [
|
795
|
+
# {
|
796
|
+
# id: "MetricId", # required
|
797
|
+
# metric_stat: {
|
798
|
+
# metric: { # required
|
799
|
+
# namespace: "Namespace",
|
800
|
+
# metric_name: "MetricName",
|
801
|
+
# dimensions: [
|
802
|
+
# {
|
803
|
+
# name: "DimensionName", # required
|
804
|
+
# value: "DimensionValue", # required
|
805
|
+
# },
|
806
|
+
# ],
|
807
|
+
# },
|
808
|
+
# period: 1, # required
|
809
|
+
# stat: "Stat", # required
|
810
|
+
# unit: "Microseconds", # accepts Microseconds, Milliseconds, Seconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None
|
811
|
+
# },
|
812
|
+
# expression: "MetricExpression",
|
813
|
+
# label: "MetricLabel",
|
814
|
+
# return_data: false,
|
815
|
+
# period: 1,
|
816
|
+
# account_id: "AccountId",
|
817
|
+
# },
|
818
|
+
# ],
|
819
|
+
# bad_count_metric: [
|
820
|
+
# {
|
821
|
+
# id: "MetricId", # required
|
822
|
+
# metric_stat: {
|
823
|
+
# metric: { # required
|
824
|
+
# namespace: "Namespace",
|
825
|
+
# metric_name: "MetricName",
|
826
|
+
# dimensions: [
|
827
|
+
# {
|
828
|
+
# name: "DimensionName", # required
|
829
|
+
# value: "DimensionValue", # required
|
830
|
+
# },
|
831
|
+
# ],
|
832
|
+
# },
|
833
|
+
# period: 1, # required
|
834
|
+
# stat: "Stat", # required
|
835
|
+
# unit: "Microseconds", # accepts Microseconds, Milliseconds, Seconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None
|
836
|
+
# },
|
837
|
+
# expression: "MetricExpression",
|
838
|
+
# label: "MetricLabel",
|
839
|
+
# return_data: false,
|
840
|
+
# period: 1,
|
841
|
+
# account_id: "AccountId",
|
842
|
+
# },
|
843
|
+
# ],
|
844
|
+
# },
|
845
|
+
# },
|
846
|
+
# metric_threshold: 1.0,
|
847
|
+
# comparison_operator: "GreaterThanOrEqualTo", # accepts GreaterThanOrEqualTo, GreaterThan, LessThan, LessThanOrEqualTo
|
848
|
+
# },
|
661
849
|
# goal: {
|
662
850
|
# interval: {
|
663
851
|
# rolling_interval: {
|
664
|
-
# duration_unit: "
|
852
|
+
# duration_unit: "MINUTE", # required, accepts MINUTE, HOUR, DAY, MONTH
|
665
853
|
# duration: 1, # required
|
666
854
|
# },
|
667
855
|
# calendar_interval: {
|
668
856
|
# start_time: Time.now, # required
|
669
|
-
# duration_unit: "
|
857
|
+
# duration_unit: "MINUTE", # required, accepts MINUTE, HOUR, DAY, MONTH
|
670
858
|
# duration: 1, # required
|
671
859
|
# },
|
672
860
|
# },
|
@@ -709,10 +897,62 @@ module Aws::ApplicationSignals
|
|
709
897
|
# resp.slo.sli.sli_metric.metric_data_queries[0].account_id #=> String
|
710
898
|
# resp.slo.sli.metric_threshold #=> Float
|
711
899
|
# resp.slo.sli.comparison_operator #=> String, one of "GreaterThanOrEqualTo", "GreaterThan", "LessThan", "LessThanOrEqualTo"
|
712
|
-
# resp.slo.
|
900
|
+
# resp.slo.request_based_sli.request_based_sli_metric.key_attributes #=> Hash
|
901
|
+
# resp.slo.request_based_sli.request_based_sli_metric.key_attributes["KeyAttributeName"] #=> String
|
902
|
+
# resp.slo.request_based_sli.request_based_sli_metric.operation_name #=> String
|
903
|
+
# resp.slo.request_based_sli.request_based_sli_metric.metric_type #=> String, one of "LATENCY", "AVAILABILITY"
|
904
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric #=> Array
|
905
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].id #=> String
|
906
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.namespace #=> String
|
907
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.metric_name #=> String
|
908
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions #=> Array
|
909
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions[0].name #=> String
|
910
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions[0].value #=> String
|
911
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.period #=> Integer
|
912
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.stat #=> String
|
913
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
|
914
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].expression #=> String
|
915
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].label #=> String
|
916
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].return_data #=> Boolean
|
917
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].period #=> Integer
|
918
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].account_id #=> String
|
919
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric #=> Array
|
920
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].id #=> String
|
921
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.namespace #=> String
|
922
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.metric_name #=> String
|
923
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions #=> Array
|
924
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions[0].name #=> String
|
925
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions[0].value #=> String
|
926
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.period #=> Integer
|
927
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.stat #=> String
|
928
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
|
929
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].expression #=> String
|
930
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].label #=> String
|
931
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].return_data #=> Boolean
|
932
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].period #=> Integer
|
933
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].account_id #=> String
|
934
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric #=> Array
|
935
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].id #=> String
|
936
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.namespace #=> String
|
937
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.metric_name #=> String
|
938
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions #=> Array
|
939
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions[0].name #=> String
|
940
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions[0].value #=> String
|
941
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.period #=> Integer
|
942
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.stat #=> String
|
943
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
|
944
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].expression #=> String
|
945
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].label #=> String
|
946
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].return_data #=> Boolean
|
947
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].period #=> Integer
|
948
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].account_id #=> String
|
949
|
+
# resp.slo.request_based_sli.metric_threshold #=> Float
|
950
|
+
# resp.slo.request_based_sli.comparison_operator #=> String, one of "GreaterThanOrEqualTo", "GreaterThan", "LessThan", "LessThanOrEqualTo"
|
951
|
+
# resp.slo.evaluation_type #=> String, one of "PeriodBased", "RequestBased"
|
952
|
+
# resp.slo.goal.interval.rolling_interval.duration_unit #=> String, one of "MINUTE", "HOUR", "DAY", "MONTH"
|
713
953
|
# resp.slo.goal.interval.rolling_interval.duration #=> Integer
|
714
954
|
# resp.slo.goal.interval.calendar_interval.start_time #=> Time
|
715
|
-
# resp.slo.goal.interval.calendar_interval.duration_unit #=> String, one of "DAY", "MONTH"
|
955
|
+
# resp.slo.goal.interval.calendar_interval.duration_unit #=> String, one of "MINUTE", "HOUR", "DAY", "MONTH"
|
716
956
|
# resp.slo.goal.interval.calendar_interval.duration #=> Integer
|
717
957
|
# resp.slo.goal.attainment_goal #=> Float
|
718
958
|
# resp.slo.goal.warning_threshold #=> Float
|
@@ -886,10 +1126,62 @@ module Aws::ApplicationSignals
|
|
886
1126
|
# resp.slo.sli.sli_metric.metric_data_queries[0].account_id #=> String
|
887
1127
|
# resp.slo.sli.metric_threshold #=> Float
|
888
1128
|
# resp.slo.sli.comparison_operator #=> String, one of "GreaterThanOrEqualTo", "GreaterThan", "LessThan", "LessThanOrEqualTo"
|
889
|
-
# resp.slo.
|
1129
|
+
# resp.slo.request_based_sli.request_based_sli_metric.key_attributes #=> Hash
|
1130
|
+
# resp.slo.request_based_sli.request_based_sli_metric.key_attributes["KeyAttributeName"] #=> String
|
1131
|
+
# resp.slo.request_based_sli.request_based_sli_metric.operation_name #=> String
|
1132
|
+
# resp.slo.request_based_sli.request_based_sli_metric.metric_type #=> String, one of "LATENCY", "AVAILABILITY"
|
1133
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric #=> Array
|
1134
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].id #=> String
|
1135
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.namespace #=> String
|
1136
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.metric_name #=> String
|
1137
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions #=> Array
|
1138
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions[0].name #=> String
|
1139
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions[0].value #=> String
|
1140
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.period #=> Integer
|
1141
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.stat #=> String
|
1142
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
|
1143
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].expression #=> String
|
1144
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].label #=> String
|
1145
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].return_data #=> Boolean
|
1146
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].period #=> Integer
|
1147
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].account_id #=> String
|
1148
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric #=> Array
|
1149
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].id #=> String
|
1150
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.namespace #=> String
|
1151
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.metric_name #=> String
|
1152
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions #=> Array
|
1153
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions[0].name #=> String
|
1154
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions[0].value #=> String
|
1155
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.period #=> Integer
|
1156
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.stat #=> String
|
1157
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
|
1158
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].expression #=> String
|
1159
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].label #=> String
|
1160
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].return_data #=> Boolean
|
1161
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].period #=> Integer
|
1162
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].account_id #=> String
|
1163
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric #=> Array
|
1164
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].id #=> String
|
1165
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.namespace #=> String
|
1166
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.metric_name #=> String
|
1167
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions #=> Array
|
1168
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions[0].name #=> String
|
1169
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions[0].value #=> String
|
1170
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.period #=> Integer
|
1171
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.stat #=> String
|
1172
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
|
1173
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].expression #=> String
|
1174
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].label #=> String
|
1175
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].return_data #=> Boolean
|
1176
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].period #=> Integer
|
1177
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].account_id #=> String
|
1178
|
+
# resp.slo.request_based_sli.metric_threshold #=> Float
|
1179
|
+
# resp.slo.request_based_sli.comparison_operator #=> String, one of "GreaterThanOrEqualTo", "GreaterThan", "LessThan", "LessThanOrEqualTo"
|
1180
|
+
# resp.slo.evaluation_type #=> String, one of "PeriodBased", "RequestBased"
|
1181
|
+
# resp.slo.goal.interval.rolling_interval.duration_unit #=> String, one of "MINUTE", "HOUR", "DAY", "MONTH"
|
890
1182
|
# resp.slo.goal.interval.rolling_interval.duration #=> Integer
|
891
1183
|
# resp.slo.goal.interval.calendar_interval.start_time #=> Time
|
892
|
-
# resp.slo.goal.interval.calendar_interval.duration_unit #=> String, one of "DAY", "MONTH"
|
1184
|
+
# resp.slo.goal.interval.calendar_interval.duration_unit #=> String, one of "MINUTE", "HOUR", "DAY", "MONTH"
|
893
1185
|
# resp.slo.goal.interval.calendar_interval.duration #=> Integer
|
894
1186
|
# resp.slo.goal.attainment_goal #=> Float
|
895
1187
|
# resp.slo.goal.warning_threshold #=> Float
|
@@ -1522,6 +1814,9 @@ module Aws::ApplicationSignals
|
|
1522
1814
|
# Updates an existing service level objective (SLO). If you omit
|
1523
1815
|
# parameters, the previous values of those parameters are retained.
|
1524
1816
|
#
|
1817
|
+
# You cannot change from a period-based SLO to a request-based SLO, or
|
1818
|
+
# change from a request-based SLO to a period-based SLO.
|
1819
|
+
#
|
1525
1820
|
# @option params [required, String] :id
|
1526
1821
|
# The Amazon Resource Name (ARN) or name of the service level objective
|
1527
1822
|
# that you want to update.
|
@@ -1530,8 +1825,15 @@ module Aws::ApplicationSignals
|
|
1530
1825
|
# An optional description for the SLO.
|
1531
1826
|
#
|
1532
1827
|
# @option params [Types::ServiceLevelIndicatorConfig] :sli_config
|
1533
|
-
#
|
1534
|
-
# this SLO will monitor.
|
1828
|
+
# If this SLO is a period-based SLO, this structure defines the
|
1829
|
+
# information about what performance metric this SLO will monitor.
|
1830
|
+
#
|
1831
|
+
# @option params [Types::RequestBasedServiceLevelIndicatorConfig] :request_based_sli_config
|
1832
|
+
# If this SLO is a request-based SLO, this structure defines the
|
1833
|
+
# information about what performance metric this SLO will monitor.
|
1834
|
+
#
|
1835
|
+
# You can't specify both `SliConfig` and `RequestBasedSliConfig` in the
|
1836
|
+
# same operation.
|
1535
1837
|
#
|
1536
1838
|
# @option params [Types::Goal] :goal
|
1537
1839
|
# A structure that contains the attributes that determine the goal of
|
@@ -1585,15 +1887,103 @@ module Aws::ApplicationSignals
|
|
1585
1887
|
# metric_threshold: 1.0, # required
|
1586
1888
|
# comparison_operator: "GreaterThanOrEqualTo", # required, accepts GreaterThanOrEqualTo, GreaterThan, LessThan, LessThanOrEqualTo
|
1587
1889
|
# },
|
1890
|
+
# request_based_sli_config: {
|
1891
|
+
# request_based_sli_metric_config: { # required
|
1892
|
+
# key_attributes: {
|
1893
|
+
# "KeyAttributeName" => "KeyAttributeValue",
|
1894
|
+
# },
|
1895
|
+
# operation_name: "OperationName",
|
1896
|
+
# metric_type: "LATENCY", # accepts LATENCY, AVAILABILITY
|
1897
|
+
# total_request_count_metric: [
|
1898
|
+
# {
|
1899
|
+
# id: "MetricId", # required
|
1900
|
+
# metric_stat: {
|
1901
|
+
# metric: { # required
|
1902
|
+
# namespace: "Namespace",
|
1903
|
+
# metric_name: "MetricName",
|
1904
|
+
# dimensions: [
|
1905
|
+
# {
|
1906
|
+
# name: "DimensionName", # required
|
1907
|
+
# value: "DimensionValue", # required
|
1908
|
+
# },
|
1909
|
+
# ],
|
1910
|
+
# },
|
1911
|
+
# period: 1, # required
|
1912
|
+
# stat: "Stat", # required
|
1913
|
+
# unit: "Microseconds", # accepts Microseconds, Milliseconds, Seconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None
|
1914
|
+
# },
|
1915
|
+
# expression: "MetricExpression",
|
1916
|
+
# label: "MetricLabel",
|
1917
|
+
# return_data: false,
|
1918
|
+
# period: 1,
|
1919
|
+
# account_id: "AccountId",
|
1920
|
+
# },
|
1921
|
+
# ],
|
1922
|
+
# monitored_request_count_metric: {
|
1923
|
+
# good_count_metric: [
|
1924
|
+
# {
|
1925
|
+
# id: "MetricId", # required
|
1926
|
+
# metric_stat: {
|
1927
|
+
# metric: { # required
|
1928
|
+
# namespace: "Namespace",
|
1929
|
+
# metric_name: "MetricName",
|
1930
|
+
# dimensions: [
|
1931
|
+
# {
|
1932
|
+
# name: "DimensionName", # required
|
1933
|
+
# value: "DimensionValue", # required
|
1934
|
+
# },
|
1935
|
+
# ],
|
1936
|
+
# },
|
1937
|
+
# period: 1, # required
|
1938
|
+
# stat: "Stat", # required
|
1939
|
+
# unit: "Microseconds", # accepts Microseconds, Milliseconds, Seconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None
|
1940
|
+
# },
|
1941
|
+
# expression: "MetricExpression",
|
1942
|
+
# label: "MetricLabel",
|
1943
|
+
# return_data: false,
|
1944
|
+
# period: 1,
|
1945
|
+
# account_id: "AccountId",
|
1946
|
+
# },
|
1947
|
+
# ],
|
1948
|
+
# bad_count_metric: [
|
1949
|
+
# {
|
1950
|
+
# id: "MetricId", # required
|
1951
|
+
# metric_stat: {
|
1952
|
+
# metric: { # required
|
1953
|
+
# namespace: "Namespace",
|
1954
|
+
# metric_name: "MetricName",
|
1955
|
+
# dimensions: [
|
1956
|
+
# {
|
1957
|
+
# name: "DimensionName", # required
|
1958
|
+
# value: "DimensionValue", # required
|
1959
|
+
# },
|
1960
|
+
# ],
|
1961
|
+
# },
|
1962
|
+
# period: 1, # required
|
1963
|
+
# stat: "Stat", # required
|
1964
|
+
# unit: "Microseconds", # accepts Microseconds, Milliseconds, Seconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None
|
1965
|
+
# },
|
1966
|
+
# expression: "MetricExpression",
|
1967
|
+
# label: "MetricLabel",
|
1968
|
+
# return_data: false,
|
1969
|
+
# period: 1,
|
1970
|
+
# account_id: "AccountId",
|
1971
|
+
# },
|
1972
|
+
# ],
|
1973
|
+
# },
|
1974
|
+
# },
|
1975
|
+
# metric_threshold: 1.0,
|
1976
|
+
# comparison_operator: "GreaterThanOrEqualTo", # accepts GreaterThanOrEqualTo, GreaterThan, LessThan, LessThanOrEqualTo
|
1977
|
+
# },
|
1588
1978
|
# goal: {
|
1589
1979
|
# interval: {
|
1590
1980
|
# rolling_interval: {
|
1591
|
-
# duration_unit: "
|
1981
|
+
# duration_unit: "MINUTE", # required, accepts MINUTE, HOUR, DAY, MONTH
|
1592
1982
|
# duration: 1, # required
|
1593
1983
|
# },
|
1594
1984
|
# calendar_interval: {
|
1595
1985
|
# start_time: Time.now, # required
|
1596
|
-
# duration_unit: "
|
1986
|
+
# duration_unit: "MINUTE", # required, accepts MINUTE, HOUR, DAY, MONTH
|
1597
1987
|
# duration: 1, # required
|
1598
1988
|
# },
|
1599
1989
|
# },
|
@@ -1630,10 +2020,62 @@ module Aws::ApplicationSignals
|
|
1630
2020
|
# resp.slo.sli.sli_metric.metric_data_queries[0].account_id #=> String
|
1631
2021
|
# resp.slo.sli.metric_threshold #=> Float
|
1632
2022
|
# resp.slo.sli.comparison_operator #=> String, one of "GreaterThanOrEqualTo", "GreaterThan", "LessThan", "LessThanOrEqualTo"
|
1633
|
-
# resp.slo.
|
2023
|
+
# resp.slo.request_based_sli.request_based_sli_metric.key_attributes #=> Hash
|
2024
|
+
# resp.slo.request_based_sli.request_based_sli_metric.key_attributes["KeyAttributeName"] #=> String
|
2025
|
+
# resp.slo.request_based_sli.request_based_sli_metric.operation_name #=> String
|
2026
|
+
# resp.slo.request_based_sli.request_based_sli_metric.metric_type #=> String, one of "LATENCY", "AVAILABILITY"
|
2027
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric #=> Array
|
2028
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].id #=> String
|
2029
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.namespace #=> String
|
2030
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.metric_name #=> String
|
2031
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions #=> Array
|
2032
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions[0].name #=> String
|
2033
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions[0].value #=> String
|
2034
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.period #=> Integer
|
2035
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.stat #=> String
|
2036
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
|
2037
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].expression #=> String
|
2038
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].label #=> String
|
2039
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].return_data #=> Boolean
|
2040
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].period #=> Integer
|
2041
|
+
# resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].account_id #=> String
|
2042
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric #=> Array
|
2043
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].id #=> String
|
2044
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.namespace #=> String
|
2045
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.metric_name #=> String
|
2046
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions #=> Array
|
2047
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions[0].name #=> String
|
2048
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions[0].value #=> String
|
2049
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.period #=> Integer
|
2050
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.stat #=> String
|
2051
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
|
2052
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].expression #=> String
|
2053
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].label #=> String
|
2054
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].return_data #=> Boolean
|
2055
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].period #=> Integer
|
2056
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].account_id #=> String
|
2057
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric #=> Array
|
2058
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].id #=> String
|
2059
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.namespace #=> String
|
2060
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.metric_name #=> String
|
2061
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions #=> Array
|
2062
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions[0].name #=> String
|
2063
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions[0].value #=> String
|
2064
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.period #=> Integer
|
2065
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.stat #=> String
|
2066
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
|
2067
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].expression #=> String
|
2068
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].label #=> String
|
2069
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].return_data #=> Boolean
|
2070
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].period #=> Integer
|
2071
|
+
# resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].account_id #=> String
|
2072
|
+
# resp.slo.request_based_sli.metric_threshold #=> Float
|
2073
|
+
# resp.slo.request_based_sli.comparison_operator #=> String, one of "GreaterThanOrEqualTo", "GreaterThan", "LessThan", "LessThanOrEqualTo"
|
2074
|
+
# resp.slo.evaluation_type #=> String, one of "PeriodBased", "RequestBased"
|
2075
|
+
# resp.slo.goal.interval.rolling_interval.duration_unit #=> String, one of "MINUTE", "HOUR", "DAY", "MONTH"
|
1634
2076
|
# resp.slo.goal.interval.rolling_interval.duration #=> Integer
|
1635
2077
|
# resp.slo.goal.interval.calendar_interval.start_time #=> Time
|
1636
|
-
# resp.slo.goal.interval.calendar_interval.duration_unit #=> String, one of "DAY", "MONTH"
|
2078
|
+
# resp.slo.goal.interval.calendar_interval.duration_unit #=> String, one of "MINUTE", "HOUR", "DAY", "MONTH"
|
1637
2079
|
# resp.slo.goal.interval.calendar_interval.duration #=> Integer
|
1638
2080
|
# resp.slo.goal.attainment_goal #=> Float
|
1639
2081
|
# resp.slo.goal.warning_threshold #=> Float
|
@@ -1665,7 +2107,7 @@ module Aws::ApplicationSignals
|
|
1665
2107
|
tracer: tracer
|
1666
2108
|
)
|
1667
2109
|
context[:gem_name] = 'aws-sdk-applicationsignals'
|
1668
|
-
context[:gem_version] = '1.
|
2110
|
+
context[:gem_version] = '1.7.0'
|
1669
2111
|
Seahorse::Client::Request.new(handlers, context)
|
1670
2112
|
end
|
1671
2113
|
|