aws-sdk-applicationsignals 1.5.0 → 1.6.0

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