aws-sdk-cloudwatchevidently 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4b051b4720b1550b4ed710f5a401a34f553e8ee6f0f2c69af82ac8e1b8d1842
4
- data.tar.gz: 496932c4ae5747273da3f65de714d5216b24669765f8228cbcffc80081328969
3
+ metadata.gz: 52ce716617a764d0c78b116dfba781b1f7988035410b2601d8c027643779c4b9
4
+ data.tar.gz: cd658df3964608526b5b885ebb652a0267dc0a9ac881f92f5ce5b81aaa702ee8
5
5
  SHA512:
6
- metadata.gz: b85306603b70deb98a5436a2d3fff873447fe25ca17f12b3f298f5bd8a0e26b0adb6d588123acb5453510daeb5ea18c5875b52193386f4417ea23acc7e181d30
7
- data.tar.gz: 6db222d7ce50c32964a74d86173d9af7cfdc6c7dded48bf76d3f2053a756a827a7cc33d2c8180cfeb7a835314c74c744e284fff0b19704c169f9dc5897fd27dc
6
+ metadata.gz: 298143f5f55658ab1da8142364578e4e33b6f25db83d166e153413e4621ca3ebb4afe50ce5d831ee4bd6e60f2b7c9a20726ca0702317c25d05f87b4ef7e2f7b3
7
+ data.tar.gz: 8432c0b906a8336a0bfd8da209732ac7279aab2526b3bec270fa3919407d14058bbaad7645362e943431217ba393821f53ad92e708428d62b8e4bd6ba00dca53
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.0 (2022-02-17)
5
+ ------------------
6
+
7
+ * Feature - Add support for filtering list of experiments and launches by status
8
+
4
9
  1.3.0 (2022-02-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.4.0
@@ -502,11 +502,11 @@ module Aws::CloudWatchEvidently
502
502
  # {
503
503
  # desired_change: "INCREASE", # accepts INCREASE, DECREASE
504
504
  # metric_definition: { # required
505
- # entity_id_key: "JsonPath",
505
+ # entity_id_key: "JsonPath", # required
506
506
  # event_pattern: "MetricDefinitionConfigEventPatternString",
507
- # name: "CwDimensionSafeName",
507
+ # name: "CwDimensionSafeName", # required
508
508
  # unit_label: "MetricUnitLabel",
509
- # value_key: "JsonPath",
509
+ # value_key: "JsonPath", # required
510
510
  # },
511
511
  # },
512
512
  # ],
@@ -779,11 +779,11 @@ module Aws::CloudWatchEvidently
779
779
  # metric_monitors: [
780
780
  # {
781
781
  # metric_definition: { # required
782
- # entity_id_key: "JsonPath",
782
+ # entity_id_key: "JsonPath", # required
783
783
  # event_pattern: "MetricDefinitionConfigEventPatternString",
784
- # name: "CwDimensionSafeName",
784
+ # name: "CwDimensionSafeName", # required
785
785
  # unit_label: "MetricUnitLabel",
786
- # value_key: "JsonPath",
786
+ # value_key: "JsonPath", # required
787
787
  # },
788
788
  # },
789
789
  # ],
@@ -1492,6 +1492,10 @@ module Aws::CloudWatchEvidently
1492
1492
  # @option params [required, String] :project
1493
1493
  # The name or ARN of the project to return the experiment list from.
1494
1494
  #
1495
+ # @option params [String] :status
1496
+ # Use this optional parameter to limit the returned results to only the
1497
+ # experiments with the status that you specify here.
1498
+ #
1495
1499
  # @return [Types::ListExperimentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1496
1500
  #
1497
1501
  # * {Types::ListExperimentsResponse#experiments #experiments} => Array<Types::Experiment>
@@ -1505,6 +1509,7 @@ module Aws::CloudWatchEvidently
1505
1509
  # max_results: 1,
1506
1510
  # next_token: "NextToken",
1507
1511
  # project: "ProjectRef", # required
1512
+ # status: "CREATED", # accepts CREATED, UPDATING, RUNNING, COMPLETED, CANCELLED
1508
1513
  # })
1509
1514
  #
1510
1515
  # @example Response structure
@@ -1620,6 +1625,10 @@ module Aws::CloudWatchEvidently
1620
1625
  # @option params [required, String] :project
1621
1626
  # The name or ARN of the project to return the launch list from.
1622
1627
  #
1628
+ # @option params [String] :status
1629
+ # Use this optional parameter to limit the returned results to only the
1630
+ # launches with the status that you specify here.
1631
+ #
1623
1632
  # @return [Types::ListLaunchesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1624
1633
  #
1625
1634
  # * {Types::ListLaunchesResponse#launches #launches} => Array<Types::Launch>
@@ -1633,6 +1642,7 @@ module Aws::CloudWatchEvidently
1633
1642
  # max_results: 1,
1634
1643
  # next_token: "NextToken",
1635
1644
  # project: "ProjectRef", # required
1645
+ # status: "CREATED", # accepts CREATED, UPDATING, RUNNING, COMPLETED, CANCELLED
1636
1646
  # })
1637
1647
  #
1638
1648
  # @example Response structure
@@ -2139,11 +2149,11 @@ module Aws::CloudWatchEvidently
2139
2149
  # {
2140
2150
  # desired_change: "INCREASE", # accepts INCREASE, DECREASE
2141
2151
  # metric_definition: { # required
2142
- # entity_id_key: "JsonPath",
2152
+ # entity_id_key: "JsonPath", # required
2143
2153
  # event_pattern: "MetricDefinitionConfigEventPatternString",
2144
- # name: "CwDimensionSafeName",
2154
+ # name: "CwDimensionSafeName", # required
2145
2155
  # unit_label: "MetricUnitLabel",
2146
- # value_key: "JsonPath",
2156
+ # value_key: "JsonPath", # required
2147
2157
  # },
2148
2158
  # },
2149
2159
  # ],
@@ -2382,11 +2392,11 @@ module Aws::CloudWatchEvidently
2382
2392
  # metric_monitors: [
2383
2393
  # {
2384
2394
  # metric_definition: { # required
2385
- # entity_id_key: "JsonPath",
2395
+ # entity_id_key: "JsonPath", # required
2386
2396
  # event_pattern: "MetricDefinitionConfigEventPatternString",
2387
- # name: "CwDimensionSafeName",
2397
+ # name: "CwDimensionSafeName", # required
2388
2398
  # unit_label: "MetricUnitLabel",
2389
- # value_key: "JsonPath",
2399
+ # value_key: "JsonPath", # required
2390
2400
  # },
2391
2401
  # },
2392
2402
  # ],
@@ -2585,7 +2595,7 @@ module Aws::CloudWatchEvidently
2585
2595
  params: params,
2586
2596
  config: config)
2587
2597
  context[:gem_name] = 'aws-sdk-cloudwatchevidently'
2588
- context[:gem_version] = '1.3.0'
2598
+ context[:gem_version] = '1.4.0'
2589
2599
  Seahorse::Client::Request.new(handlers, context)
2590
2600
  end
2591
2601
 
@@ -541,6 +541,7 @@ module Aws::CloudWatchEvidently
541
541
  ListExperimentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxExperiments, location: "querystring", location_name: "maxResults"))
542
542
  ListExperimentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
543
543
  ListExperimentsRequest.add_member(:project, Shapes::ShapeRef.new(shape: ProjectRef, required: true, location: "uri", location_name: "project"))
544
+ ListExperimentsRequest.add_member(:status, Shapes::ShapeRef.new(shape: ExperimentStatus, location: "querystring", location_name: "status"))
544
545
  ListExperimentsRequest.struct_class = Types::ListExperimentsRequest
545
546
 
546
547
  ListExperimentsResponse.add_member(:experiments, Shapes::ShapeRef.new(shape: ExperimentList, location_name: "experiments"))
@@ -559,6 +560,7 @@ module Aws::CloudWatchEvidently
559
560
  ListLaunchesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxLaunches, location: "querystring", location_name: "maxResults"))
560
561
  ListLaunchesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
561
562
  ListLaunchesRequest.add_member(:project, Shapes::ShapeRef.new(shape: ProjectRef, required: true, location: "uri", location_name: "project"))
563
+ ListLaunchesRequest.add_member(:status, Shapes::ShapeRef.new(shape: LaunchStatus, location: "querystring", location_name: "status"))
562
564
  ListLaunchesRequest.struct_class = Types::ListLaunchesRequest
563
565
 
564
566
  ListLaunchesResponse.add_member(:launches, Shapes::ShapeRef.new(shape: LaunchesList, location_name: "launches"))
@@ -586,11 +588,11 @@ module Aws::CloudWatchEvidently
586
588
  MetricDefinition.add_member(:value_key, Shapes::ShapeRef.new(shape: JsonPath, location_name: "valueKey"))
587
589
  MetricDefinition.struct_class = Types::MetricDefinition
588
590
 
589
- MetricDefinitionConfig.add_member(:entity_id_key, Shapes::ShapeRef.new(shape: JsonPath, location_name: "entityIdKey"))
591
+ MetricDefinitionConfig.add_member(:entity_id_key, Shapes::ShapeRef.new(shape: JsonPath, required: true, location_name: "entityIdKey"))
590
592
  MetricDefinitionConfig.add_member(:event_pattern, Shapes::ShapeRef.new(shape: MetricDefinitionConfigEventPatternString, location_name: "eventPattern", metadata: {"jsonvalue"=>true}))
591
- MetricDefinitionConfig.add_member(:name, Shapes::ShapeRef.new(shape: CwDimensionSafeName, location_name: "name"))
593
+ MetricDefinitionConfig.add_member(:name, Shapes::ShapeRef.new(shape: CwDimensionSafeName, required: true, location_name: "name"))
592
594
  MetricDefinitionConfig.add_member(:unit_label, Shapes::ShapeRef.new(shape: MetricUnitLabel, location_name: "unitLabel"))
593
- MetricDefinitionConfig.add_member(:value_key, Shapes::ShapeRef.new(shape: JsonPath, location_name: "valueKey"))
595
+ MetricDefinitionConfig.add_member(:value_key, Shapes::ShapeRef.new(shape: JsonPath, required: true, location_name: "valueKey"))
594
596
  MetricDefinitionConfig.struct_class = Types::MetricDefinitionConfig
595
597
 
596
598
  MetricGoal.add_member(:desired_change, Shapes::ShapeRef.new(shape: ChangeDirectionEnum, location_name: "desiredChange"))
@@ -977,6 +979,7 @@ module Aws::CloudWatchEvidently
977
979
  o.http_request_uri = "/projects/{project}/experiments/{experiment}"
978
980
  o.input = Shapes::ShapeRef.new(shape: DeleteExperimentRequest)
979
981
  o.output = Shapes::ShapeRef.new(shape: DeleteExperimentResponse)
982
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
980
983
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
981
984
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
982
985
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
@@ -1045,6 +1048,7 @@ module Aws::CloudWatchEvidently
1045
1048
  o.input = Shapes::ShapeRef.new(shape: GetExperimentRequest)
1046
1049
  o.output = Shapes::ShapeRef.new(shape: GetExperimentResponse)
1047
1050
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1051
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1048
1052
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1049
1053
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1050
1054
  end)
@@ -1081,6 +1085,7 @@ module Aws::CloudWatchEvidently
1081
1085
  o.input = Shapes::ShapeRef.new(shape: GetLaunchRequest)
1082
1086
  o.output = Shapes::ShapeRef.new(shape: GetLaunchResponse)
1083
1087
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1088
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1084
1089
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1085
1090
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1086
1091
  end)
@@ -1105,6 +1110,7 @@ module Aws::CloudWatchEvidently
1105
1110
  o.output = Shapes::ShapeRef.new(shape: ListExperimentsResponse)
1106
1111
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1107
1112
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1113
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1108
1114
  o[:pager] = Aws::Pager.new(
1109
1115
  limit_key: "max_results",
1110
1116
  tokens: {
@@ -1213,6 +1219,7 @@ module Aws::CloudWatchEvidently
1213
1219
  o.output = Shapes::ShapeRef.new(shape: StartLaunchResponse)
1214
1220
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1215
1221
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1222
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1216
1223
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1217
1224
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1218
1225
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
@@ -141,11 +141,11 @@ module Aws::CloudWatchEvidently
141
141
  # {
142
142
  # desired_change: "INCREASE", # accepts INCREASE, DECREASE
143
143
  # metric_definition: { # required
144
- # entity_id_key: "JsonPath",
144
+ # entity_id_key: "JsonPath", # required
145
145
  # event_pattern: "MetricDefinitionConfigEventPatternString",
146
- # name: "CwDimensionSafeName",
146
+ # name: "CwDimensionSafeName", # required
147
147
  # unit_label: "MetricUnitLabel",
148
- # value_key: "JsonPath",
148
+ # value_key: "JsonPath", # required
149
149
  # },
150
150
  # },
151
151
  # ],
@@ -391,11 +391,11 @@ module Aws::CloudWatchEvidently
391
391
  # metric_monitors: [
392
392
  # {
393
393
  # metric_definition: { # required
394
- # entity_id_key: "JsonPath",
394
+ # entity_id_key: "JsonPath", # required
395
395
  # event_pattern: "MetricDefinitionConfigEventPatternString",
396
- # name: "CwDimensionSafeName",
396
+ # name: "CwDimensionSafeName", # required
397
397
  # unit_label: "MetricUnitLabel",
398
- # value_key: "JsonPath",
398
+ # value_key: "JsonPath", # required
399
399
  # },
400
400
  # },
401
401
  # ],
@@ -1757,6 +1757,7 @@ module Aws::CloudWatchEvidently
1757
1757
  # max_results: 1,
1758
1758
  # next_token: "NextToken",
1759
1759
  # project: "ProjectRef", # required
1760
+ # status: "CREATED", # accepts CREATED, UPDATING, RUNNING, COMPLETED, CANCELLED
1760
1761
  # }
1761
1762
  #
1762
1763
  # @!attribute [rw] max_results
@@ -1772,12 +1773,18 @@ module Aws::CloudWatchEvidently
1772
1773
  # The name or ARN of the project to return the experiment list from.
1773
1774
  # @return [String]
1774
1775
  #
1776
+ # @!attribute [rw] status
1777
+ # Use this optional parameter to limit the returned results to only
1778
+ # the experiments with the status that you specify here.
1779
+ # @return [String]
1780
+ #
1775
1781
  # @see http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListExperimentsRequest AWS API Documentation
1776
1782
  #
1777
1783
  class ListExperimentsRequest < Struct.new(
1778
1784
  :max_results,
1779
1785
  :next_token,
1780
- :project)
1786
+ :project,
1787
+ :status)
1781
1788
  SENSITIVE = []
1782
1789
  include Aws::Structure
1783
1790
  end
@@ -1859,6 +1866,7 @@ module Aws::CloudWatchEvidently
1859
1866
  # max_results: 1,
1860
1867
  # next_token: "NextToken",
1861
1868
  # project: "ProjectRef", # required
1869
+ # status: "CREATED", # accepts CREATED, UPDATING, RUNNING, COMPLETED, CANCELLED
1862
1870
  # }
1863
1871
  #
1864
1872
  # @!attribute [rw] max_results
@@ -1874,12 +1882,18 @@ module Aws::CloudWatchEvidently
1874
1882
  # The name or ARN of the project to return the launch list from.
1875
1883
  # @return [String]
1876
1884
  #
1885
+ # @!attribute [rw] status
1886
+ # Use this optional parameter to limit the returned results to only
1887
+ # the launches with the status that you specify here.
1888
+ # @return [String]
1889
+ #
1877
1890
  # @see http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListLaunchesRequest AWS API Documentation
1878
1891
  #
1879
1892
  class ListLaunchesRequest < Struct.new(
1880
1893
  :max_results,
1881
1894
  :next_token,
1882
- :project)
1895
+ :project,
1896
+ :status)
1883
1897
  SENSITIVE = []
1884
1898
  include Aws::Structure
1885
1899
  end
@@ -2031,11 +2045,11 @@ module Aws::CloudWatchEvidently
2031
2045
  # data as a hash:
2032
2046
  #
2033
2047
  # {
2034
- # entity_id_key: "JsonPath",
2048
+ # entity_id_key: "JsonPath", # required
2035
2049
  # event_pattern: "MetricDefinitionConfigEventPatternString",
2036
- # name: "CwDimensionSafeName",
2050
+ # name: "CwDimensionSafeName", # required
2037
2051
  # unit_label: "MetricUnitLabel",
2038
- # value_key: "JsonPath",
2052
+ # value_key: "JsonPath", # required
2039
2053
  # }
2040
2054
  #
2041
2055
  # @!attribute [rw] entity_id_key
@@ -2113,11 +2127,11 @@ module Aws::CloudWatchEvidently
2113
2127
  # {
2114
2128
  # desired_change: "INCREASE", # accepts INCREASE, DECREASE
2115
2129
  # metric_definition: { # required
2116
- # entity_id_key: "JsonPath",
2130
+ # entity_id_key: "JsonPath", # required
2117
2131
  # event_pattern: "MetricDefinitionConfigEventPatternString",
2118
- # name: "CwDimensionSafeName",
2132
+ # name: "CwDimensionSafeName", # required
2119
2133
  # unit_label: "MetricUnitLabel",
2120
- # value_key: "JsonPath",
2134
+ # value_key: "JsonPath", # required
2121
2135
  # },
2122
2136
  # }
2123
2137
  #
@@ -2165,11 +2179,11 @@ module Aws::CloudWatchEvidently
2165
2179
  #
2166
2180
  # {
2167
2181
  # metric_definition: { # required
2168
- # entity_id_key: "JsonPath",
2182
+ # entity_id_key: "JsonPath", # required
2169
2183
  # event_pattern: "MetricDefinitionConfigEventPatternString",
2170
- # name: "CwDimensionSafeName",
2184
+ # name: "CwDimensionSafeName", # required
2171
2185
  # unit_label: "MetricUnitLabel",
2172
- # value_key: "JsonPath",
2186
+ # value_key: "JsonPath", # required
2173
2187
  # },
2174
2188
  # }
2175
2189
  #
@@ -3110,11 +3124,11 @@ module Aws::CloudWatchEvidently
3110
3124
  # {
3111
3125
  # desired_change: "INCREASE", # accepts INCREASE, DECREASE
3112
3126
  # metric_definition: { # required
3113
- # entity_id_key: "JsonPath",
3127
+ # entity_id_key: "JsonPath", # required
3114
3128
  # event_pattern: "MetricDefinitionConfigEventPatternString",
3115
- # name: "CwDimensionSafeName",
3129
+ # name: "CwDimensionSafeName", # required
3116
3130
  # unit_label: "MetricUnitLabel",
3117
- # value_key: "JsonPath",
3131
+ # value_key: "JsonPath", # required
3118
3132
  # },
3119
3133
  # },
3120
3134
  # ],
@@ -3334,11 +3348,11 @@ module Aws::CloudWatchEvidently
3334
3348
  # metric_monitors: [
3335
3349
  # {
3336
3350
  # metric_definition: { # required
3337
- # entity_id_key: "JsonPath",
3351
+ # entity_id_key: "JsonPath", # required
3338
3352
  # event_pattern: "MetricDefinitionConfigEventPatternString",
3339
- # name: "CwDimensionSafeName",
3353
+ # name: "CwDimensionSafeName", # required
3340
3354
  # unit_label: "MetricUnitLabel",
3341
- # value_key: "JsonPath",
3355
+ # value_key: "JsonPath", # required
3342
3356
  # },
3343
3357
  # },
3344
3358
  # ],
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-cloudwatchevidently/customizations'
48
48
  # @!group service
49
49
  module Aws::CloudWatchEvidently
50
50
 
51
- GEM_VERSION = '1.3.0'
51
+ GEM_VERSION = '1.4.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchevidently
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-03 00:00:00.000000000 Z
11
+ date: 2022-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core