aws-sdk-devopsguru 1.28.0 → 1.29.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: bbadd72b1b8b267348269f6e18e3067c2ce52491c64be60811fce60b75e56400
4
- data.tar.gz: bd256ece1f242f6a2212f64e9b4fb59443aaa445b4123c1426cc5544bbfc167d
3
+ metadata.gz: 26db4897826c1d930bd18be5f5763d68c27b51c2b3cc7bad11c38fa0dc286102
4
+ data.tar.gz: cf83147e42c7d7d5aa58192f3c0fd16159174383bf3bb0a66e422444adb52903
5
5
  SHA512:
6
- metadata.gz: d7fd15c47a99fe93fd4660e02fb3f573dad75531521857b9409191b7d7f23b8524b7a00c41bf9fb8bc41a0c92b127e0792c8bc473c22ed26daddd5be2feb8770
7
- data.tar.gz: 1c973ad07b7f7ea36cddff31bd9a12c475626b11efe7ef687a9657c1be35d6a72bb8d97c548144d97d170257a8c7d8c0ef95f6f76123db8c2d91ff26c930f1e4
6
+ metadata.gz: c74c615248963be626c49c20ef681318bd12603ec474a6430c22d4392644144286291b1c95c35a43c3a8e4fff50860d22c249d78318d68016db7e233972a2df8
7
+ data.tar.gz: 880b1a1380fca2897a1a94ccc9c14a3778b4d3744076f9a5b157828d6685911a75187a38f08adf9a5e3d74ee15d40de4e61df10665015a44cccb09c0bc2b7909
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.29.0 (2023-02-01)
5
+ ------------------
6
+
7
+ * Feature - This release adds filter support ListAnomalyForInsight API.
8
+
4
9
  1.28.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.28.0
1
+ 1.29.0
@@ -1199,6 +1199,9 @@ module Aws::DevOpsGuru
1199
1199
  # @option params [String] :account_id
1200
1200
  # The ID of the Amazon Web Services account.
1201
1201
  #
1202
+ # @option params [Types::ListAnomaliesForInsightFilters] :filters
1203
+ # Specifies one or more service names that are used to list anomalies.
1204
+ #
1202
1205
  # @return [Types::ListAnomaliesForInsightResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1203
1206
  #
1204
1207
  # * {Types::ListAnomaliesForInsightResponse#proactive_anomalies #proactive_anomalies} => Array<Types::ProactiveAnomalySummary>
@@ -1218,6 +1221,11 @@ module Aws::DevOpsGuru
1218
1221
  # max_results: 1,
1219
1222
  # next_token: "UuidNextToken",
1220
1223
  # account_id: "AwsAccountId",
1224
+ # filters: {
1225
+ # service_collection: {
1226
+ # service_names: ["API_GATEWAY"], # accepts API_GATEWAY, APPLICATION_ELB, AUTO_SCALING_GROUP, CLOUD_FRONT, DYNAMO_DB, EC2, ECS, EKS, ELASTIC_BEANSTALK, ELASTI_CACHE, ELB, ES, KINESIS, LAMBDA, NAT_GATEWAY, NETWORK_ELB, RDS, REDSHIFT, ROUTE_53, S3, SAGE_MAKER, SNS, SQS, STEP_FUNCTIONS, SWF
1227
+ # },
1228
+ # },
1221
1229
  # })
1222
1230
  #
1223
1231
  # @example Response structure
@@ -2324,7 +2332,7 @@ module Aws::DevOpsGuru
2324
2332
  params: params,
2325
2333
  config: config)
2326
2334
  context[:gem_name] = 'aws-sdk-devopsguru'
2327
- context[:gem_version] = '1.28.0'
2335
+ context[:gem_version] = '1.29.0'
2328
2336
  Seahorse::Client::Request.new(handlers, context)
2329
2337
  end
2330
2338
 
@@ -132,6 +132,7 @@ module Aws::DevOpsGuru
132
132
  InsightTimeRange = Shapes::StructureShape.new(name: 'InsightTimeRange')
133
133
  InsightType = Shapes::StringShape.new(name: 'InsightType')
134
134
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
135
+ ListAnomaliesForInsightFilters = Shapes::StructureShape.new(name: 'ListAnomaliesForInsightFilters')
135
136
  ListAnomaliesForInsightMaxResults = Shapes::IntegerShape.new(name: 'ListAnomaliesForInsightMaxResults')
136
137
  ListAnomaliesForInsightRequest = Shapes::StructureShape.new(name: 'ListAnomaliesForInsightRequest')
137
138
  ListAnomaliesForInsightResponse = Shapes::StructureShape.new(name: 'ListAnomaliesForInsightResponse')
@@ -627,11 +628,15 @@ module Aws::DevOpsGuru
627
628
  InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location: "header", location_name: "Retry-After"))
628
629
  InternalServerException.struct_class = Types::InternalServerException
629
630
 
631
+ ListAnomaliesForInsightFilters.add_member(:service_collection, Shapes::ShapeRef.new(shape: ServiceCollection, location_name: "ServiceCollection"))
632
+ ListAnomaliesForInsightFilters.struct_class = Types::ListAnomaliesForInsightFilters
633
+
630
634
  ListAnomaliesForInsightRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, required: true, location: "uri", location_name: "InsightId"))
631
635
  ListAnomaliesForInsightRequest.add_member(:start_time_range, Shapes::ShapeRef.new(shape: StartTimeRange, location_name: "StartTimeRange"))
632
636
  ListAnomaliesForInsightRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAnomaliesForInsightMaxResults, location_name: "MaxResults"))
633
637
  ListAnomaliesForInsightRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
634
638
  ListAnomaliesForInsightRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "AccountId"))
639
+ ListAnomaliesForInsightRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ListAnomaliesForInsightFilters, location_name: "Filters"))
635
640
  ListAnomaliesForInsightRequest.struct_class = Types::ListAnomaliesForInsightRequest
636
641
 
637
642
  ListAnomaliesForInsightResponse.add_member(:proactive_anomalies, Shapes::ShapeRef.new(shape: ProactiveAnomalies, location_name: "ProactiveAnomalies"))
@@ -50,6 +50,9 @@ module Aws::DevOpsGuru
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -15,7 +15,7 @@ module Aws::DevOpsGuru
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
17
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
19
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
20
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
21
  end
@@ -1464,6 +1464,20 @@ module Aws::DevOpsGuru
1464
1464
  include Aws::Structure
1465
1465
  end
1466
1466
 
1467
+ # Specifies one or more service names that are used to list anomalies.
1468
+ #
1469
+ # @!attribute [rw] service_collection
1470
+ # A collection of the names of Amazon Web Services services.
1471
+ # @return [Types::ServiceCollection]
1472
+ #
1473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomaliesForInsightFilters AWS API Documentation
1474
+ #
1475
+ class ListAnomaliesForInsightFilters < Struct.new(
1476
+ :service_collection)
1477
+ SENSITIVE = []
1478
+ include Aws::Structure
1479
+ end
1480
+
1467
1481
  # @!attribute [rw] insight_id
1468
1482
  # The ID of the insight. The returned anomalies belong to this
1469
1483
  # insight.
@@ -1489,6 +1503,10 @@ module Aws::DevOpsGuru
1489
1503
  # The ID of the Amazon Web Services account.
1490
1504
  # @return [String]
1491
1505
  #
1506
+ # @!attribute [rw] filters
1507
+ # Specifies one or more service names that are used to list anomalies.
1508
+ # @return [Types::ListAnomaliesForInsightFilters]
1509
+ #
1492
1510
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomaliesForInsightRequest AWS API Documentation
1493
1511
  #
1494
1512
  class ListAnomaliesForInsightRequest < Struct.new(
@@ -1496,7 +1514,8 @@ module Aws::DevOpsGuru
1496
1514
  :start_time_range,
1497
1515
  :max_results,
1498
1516
  :next_token,
1499
- :account_id)
1517
+ :account_id,
1518
+ :filters)
1500
1519
  SENSITIVE = []
1501
1520
  include Aws::Structure
1502
1521
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-devopsguru/customizations'
52
52
  # @!group service
53
53
  module Aws::DevOpsGuru
54
54
 
55
- GEM_VERSION = '1.28.0'
55
+ GEM_VERSION = '1.29.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-devopsguru
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.28.0
4
+ version: 1.29.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: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core