aws-sdk-ssmincidents 1.29.0 → 1.30.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: 879c17230e9ccf54550586e87c69af83e35d7af3a66c6f457ee7814f14535296
4
- data.tar.gz: 18645433d1924c5748f8e1d2fcb746a044de6f907612c930211a5becaf123f7c
3
+ metadata.gz: 1465ecfdda49b78a09ce54b0828bc3f2e0a5b8facb93e620e0e7e7e0474dc902
4
+ data.tar.gz: 1f1bf73f2d1e9a42283a12758508e5908aa7c22578f495c139bacce8183fa4ee
5
5
  SHA512:
6
- metadata.gz: c3dfc5d918a688600f7b12ff03fb0c82720d9bb232e5d58875821627966db992f7cd219e5a913ed47969ec1b0239e2f1a6477173534ea8986398779ecbcba769
7
- data.tar.gz: 5dcb4df9522320827dae949c8b683f15c0ff7af7b1669d4816c75527b866b3cf5fe6ed9047d96994a5cd079a16e186f577b2bd4b50bc8ca4959aa48f790d049b
6
+ metadata.gz: e0ab4e660dc1f2153f2f6c1d8b8f3b7e05775a9f26d8e0ec426e66e1d6effb4c986e78de21d0060a07cfbace1d6d020ef193eb9a80137ffcd99112ab23bbf473
7
+ data.tar.gz: 9fc93b99b54649ee01a6a6fc7177937578dce289244480d0760f5e1ae85393d5c9a9e0458c19b01aa5d019117d6bbbf15a285b0a8f9a14f51763f205fc0281b1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.30.0 (2023-11-16)
5
+ ------------------
6
+
7
+ * Feature - Introduces new APIs ListIncidentFindings and BatchGetIncidentFindings to use findings related to an incident.
8
+
4
9
  1.29.0 (2023-09-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.29.0
1
+ 1.30.0
@@ -388,6 +388,58 @@ module Aws::SSMIncidents
388
388
 
389
389
  # @!group API Operations
390
390
 
391
+ # Retrieves details about all specified findings for an incident,
392
+ # including descriptive details about each finding. A finding represents
393
+ # a recent application environment change made by an CodeDeploy
394
+ # deployment or an CloudFormation stack creation or update that can be
395
+ # investigated as a potential cause of the incident.
396
+ #
397
+ # @option params [required, Array<String>] :finding_ids
398
+ # A list of IDs of findings for which you want to view details.
399
+ #
400
+ # @option params [required, String] :incident_record_arn
401
+ # The Amazon Resource Name (ARN) of the incident for which you want to
402
+ # view finding details.
403
+ #
404
+ # @return [Types::BatchGetIncidentFindingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
405
+ #
406
+ # * {Types::BatchGetIncidentFindingsOutput#errors #errors} => Array&lt;Types::BatchGetIncidentFindingsError&gt;
407
+ # * {Types::BatchGetIncidentFindingsOutput#findings #findings} => Array&lt;Types::Finding&gt;
408
+ #
409
+ # @example Request syntax with placeholder values
410
+ #
411
+ # resp = client.batch_get_incident_findings({
412
+ # finding_ids: ["FindingId"], # required
413
+ # incident_record_arn: "Arn", # required
414
+ # })
415
+ #
416
+ # @example Response structure
417
+ #
418
+ # resp.errors #=> Array
419
+ # resp.errors[0].code #=> String
420
+ # resp.errors[0].finding_id #=> String
421
+ # resp.errors[0].message #=> String
422
+ # resp.findings #=> Array
423
+ # resp.findings[0].creation_time #=> Time
424
+ # resp.findings[0].details.cloud_formation_stack_update.end_time #=> Time
425
+ # resp.findings[0].details.cloud_formation_stack_update.stack_arn #=> String
426
+ # resp.findings[0].details.cloud_formation_stack_update.start_time #=> Time
427
+ # resp.findings[0].details.code_deploy_deployment.deployment_group_arn #=> String
428
+ # resp.findings[0].details.code_deploy_deployment.deployment_id #=> String
429
+ # resp.findings[0].details.code_deploy_deployment.end_time #=> Time
430
+ # resp.findings[0].details.code_deploy_deployment.start_time #=> Time
431
+ # resp.findings[0].id #=> String
432
+ # resp.findings[0].last_modified_time #=> Time
433
+ #
434
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/BatchGetIncidentFindings AWS API Documentation
435
+ #
436
+ # @overload batch_get_incident_findings(params = {})
437
+ # @param [Hash] params ({})
438
+ def batch_get_incident_findings(params = {}, options = {})
439
+ req = build_request(:batch_get_incident_findings, params)
440
+ req.send_request(options)
441
+ end
442
+
391
443
  # A replication set replicates and encrypts your data to the provided
392
444
  # Regions with the provided KMS key.
393
445
  #
@@ -578,11 +630,15 @@ module Aws::SSMIncidents
578
630
  # associated with the DynamoDB table as a related item.
579
631
  #
580
632
  # @option params [required, Time,DateTime,Date,Integer,String] :event_time
581
- # The time that the event occurred.
633
+ # The timestamp for when the event occurred.
582
634
  #
583
635
  # @option params [required, String] :event_type
584
636
  # The type of event. You can create timeline events of type `Custom
585
- # Event`.
637
+ # Event` and `Note`.
638
+ #
639
+ # To make a Note-type event appear on the *Incident notes* panel in the
640
+ # console, specify `eventType` as `Note`and enter the Amazon Resource
641
+ # Name (ARN) of the incident as the value for `eventReference`.
586
642
  #
587
643
  # @option params [required, String] :incident_record_arn
588
644
  # The Amazon Resource Name (ARN) of the incident record that the action
@@ -851,7 +907,8 @@ module Aws::SSMIncidents
851
907
  # results.
852
908
  #
853
909
  # @option params [String] :next_token
854
- # The pagination token to continue to the next page of results.
910
+ # The pagination token for the next set of items to return. (You
911
+ # received this token from a previous call.)
855
912
  #
856
913
  # @option params [required, String] :resource_arn
857
914
  # The Amazon Resource Name (ARN) of the response plan with the attached
@@ -994,6 +1051,54 @@ module Aws::SSMIncidents
994
1051
  req.send_request(options)
995
1052
  end
996
1053
 
1054
+ # Retrieves a list of the IDs of findings, plus their last modified
1055
+ # times, that have been identified for a specified incident. A finding
1056
+ # represents a recent application environment change made by an
1057
+ # CloudFormation stack creation or update or an CodeDeploy deployment
1058
+ # that can be investigated as a potential cause of the incident.
1059
+ #
1060
+ # @option params [required, String] :incident_record_arn
1061
+ # The Amazon Resource Name (ARN) of the incident for which you want to
1062
+ # view associated findings.
1063
+ #
1064
+ # @option params [Integer] :max_results
1065
+ # The maximum number of findings to retrieve per call.
1066
+ #
1067
+ # @option params [String] :next_token
1068
+ # The pagination token for the next set of items to return. (You
1069
+ # received this token from a previous call.)
1070
+ #
1071
+ # @return [Types::ListIncidentFindingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1072
+ #
1073
+ # * {Types::ListIncidentFindingsOutput#findings #findings} => Array&lt;Types::FindingSummary&gt;
1074
+ # * {Types::ListIncidentFindingsOutput#next_token #next_token} => String
1075
+ #
1076
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1077
+ #
1078
+ # @example Request syntax with placeholder values
1079
+ #
1080
+ # resp = client.list_incident_findings({
1081
+ # incident_record_arn: "Arn", # required
1082
+ # max_results: 1,
1083
+ # next_token: "NextToken",
1084
+ # })
1085
+ #
1086
+ # @example Response structure
1087
+ #
1088
+ # resp.findings #=> Array
1089
+ # resp.findings[0].id #=> String
1090
+ # resp.findings[0].last_modified_time #=> Time
1091
+ # resp.next_token #=> String
1092
+ #
1093
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListIncidentFindings AWS API Documentation
1094
+ #
1095
+ # @overload list_incident_findings(params = {})
1096
+ # @param [Hash] params ({})
1097
+ def list_incident_findings(params = {}, options = {})
1098
+ req = build_request(:list_incident_findings, params)
1099
+ req.send_request(options)
1100
+ end
1101
+
997
1102
  # Lists all incident records in your account. Use this command to
998
1103
  # retrieve the Amazon Resource Name (ARN) of the incident record you
999
1104
  # want to update.
@@ -1025,7 +1130,8 @@ module Aws::SSMIncidents
1025
1130
  # The maximum number of results per page.
1026
1131
  #
1027
1132
  # @option params [String] :next_token
1028
- # The pagination token to continue to the next page of results.
1133
+ # The pagination token for the next set of items to return. (You
1134
+ # received this token from a previous call.)
1029
1135
  #
1030
1136
  # @return [Types::ListIncidentRecordsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1031
1137
  #
@@ -1088,7 +1194,8 @@ module Aws::SSMIncidents
1088
1194
  # The maximum number of related items per page.
1089
1195
  #
1090
1196
  # @option params [String] :next_token
1091
- # The pagination token to continue to the next page of results.
1197
+ # The pagination token for the next set of items to return. (You
1198
+ # received this token from a previous call.)
1092
1199
  #
1093
1200
  # @return [Types::ListRelatedItemsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1094
1201
  #
@@ -1134,7 +1241,8 @@ module Aws::SSMIncidents
1134
1241
  # The maximum number of results per page.
1135
1242
  #
1136
1243
  # @option params [String] :next_token
1137
- # The pagination token to continue to the next page of results.
1244
+ # The pagination token for the next set of items to return. (You
1245
+ # received this token from a previous call.)
1138
1246
  #
1139
1247
  # @return [Types::ListReplicationSetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1140
1248
  #
@@ -1171,7 +1279,8 @@ module Aws::SSMIncidents
1171
1279
  # The maximum number of response plans per page.
1172
1280
  #
1173
1281
  # @option params [String] :next_token
1174
- # The pagination token to continue to the next page of results.
1282
+ # The pagination token for the next set of items to return. (You
1283
+ # received this token from a previous call.)
1175
1284
  #
1176
1285
  # @return [Types::ListResponsePlansOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1177
1286
  #
@@ -1204,10 +1313,11 @@ module Aws::SSMIncidents
1204
1313
  req.send_request(options)
1205
1314
  end
1206
1315
 
1207
- # Lists the tags that are attached to the specified response plan.
1316
+ # Lists the tags that are attached to the specified response plan or
1317
+ # incident.
1208
1318
  #
1209
1319
  # @option params [required, String] :resource_arn
1210
- # The Amazon Resource Name (ARN) of the response plan.
1320
+ # The Amazon Resource Name (ARN) of the response plan or incident.
1211
1321
  #
1212
1322
  # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1213
1323
  #
@@ -1239,6 +1349,8 @@ module Aws::SSMIncidents
1239
1349
  # Filters the timeline events based on the provided conditional values.
1240
1350
  # You can filter timeline events with the following keys:
1241
1351
  #
1352
+ # * `eventReference`
1353
+ #
1242
1354
  # * `eventTime`
1243
1355
  #
1244
1356
  # * `eventType`
@@ -1262,7 +1374,8 @@ module Aws::SSMIncidents
1262
1374
  # The maximum number of results per page.
1263
1375
  #
1264
1376
  # @option params [String] :next_token
1265
- # The pagination token to continue to the next page of results.
1377
+ # The pagination token for the next set of items to return. (You
1378
+ # received this token from a previous call.)
1266
1379
  #
1267
1380
  # @option params [String] :sort_by
1268
1381
  # Sort timeline events by the specified key value pair.
@@ -1377,22 +1490,17 @@ module Aws::SSMIncidents
1377
1490
  # Defines the impact to the customers. Providing an impact overwrites
1378
1491
  # the impact provided by a response plan.
1379
1492
  #
1380
- # **Possible impacts:**
1493
+ # **Supported impact codes**
1381
1494
  #
1382
- # * `1` - Critical impact, this typically relates to full application
1383
- # failure that impacts many to all customers.
1495
+ # * `1` - Critical
1384
1496
  #
1385
- # * `2` - High impact, partial application failure with impact to many
1386
- # customers.
1497
+ # * `2` - High
1387
1498
  #
1388
- # * `3` - Medium impact, the application is providing reduced service to
1389
- # customers.
1499
+ # * `3` - Medium
1390
1500
  #
1391
- # * `4` - Low impact, customer might aren't impacted by the problem
1392
- # yet.
1501
+ # * `4` - Low
1393
1502
  #
1394
- # * `5` - No impact, customers aren't currently impacted but urgent
1395
- # action is needed to avoid impact.
1503
+ # * `5` - No Impact
1396
1504
  #
1397
1505
  # @option params [Array<Types::RelatedItem>] :related_items
1398
1506
  # Add related items to the incident for other responders to use. Related
@@ -1581,21 +1689,17 @@ module Aws::SSMIncidents
1581
1689
  # you provide an impact for an incident, it overwrites the impact
1582
1690
  # provided by the response plan.
1583
1691
  #
1584
- # **Possible impacts:**
1692
+ # **Supported impact codes**
1585
1693
  #
1586
- # * `1` - Critical impact, full application failure that impacts many to
1587
- # all customers.
1694
+ # * `1` - Critical
1588
1695
  #
1589
- # * `2` - High impact, partial application failure with impact to many
1590
- # customers.
1696
+ # * `2` - High
1591
1697
  #
1592
- # * `3` - Medium impact, the application is providing reduced service to
1593
- # customers.
1698
+ # * `3` - Medium
1594
1699
  #
1595
- # * `4` - Low impact, customer aren't impacted by the problem yet.
1700
+ # * `4` - Low
1596
1701
  #
1597
- # * `5` - No impact, customers aren't currently impacted but urgent
1598
- # action is needed to avoid impact.
1702
+ # * `5` - No Impact
1599
1703
  #
1600
1704
  # @option params [Array<Types::NotificationTargetItem>] :notification_targets
1601
1705
  # The Amazon SNS targets that Incident Manager notifies when a client
@@ -1797,17 +1901,17 @@ module Aws::SSMIncidents
1797
1901
  # Defines the impact to the customers. Providing an impact overwrites
1798
1902
  # the impact provided by a response plan.
1799
1903
  #
1800
- # **Possible impacts:**
1904
+ # **Supported impact codes**
1801
1905
  #
1802
- # * `5` - Severe impact
1906
+ # * `1` - Critical
1803
1907
  #
1804
- # * `4` - High impact
1908
+ # * `2` - High
1805
1909
  #
1806
- # * `3` - Medium impact
1910
+ # * `3` - Medium
1807
1911
  #
1808
- # * `2` - Low impact
1912
+ # * `4` - Low
1809
1913
  #
1810
- # * `1` - No impact
1914
+ # * `5` - No Impact
1811
1915
  #
1812
1916
  # @option params [Array<Types::NotificationTargetItem>] :incident_template_notification_targets
1813
1917
  # The Amazon SNS targets that are notified when updates are made to an
@@ -1929,10 +2033,11 @@ module Aws::SSMIncidents
1929
2033
  # new references.
1930
2034
  #
1931
2035
  # @option params [Time,DateTime,Date,Integer,String] :event_time
1932
- # The time that the event occurred.
2036
+ # The timestamp for when the event occurred.
1933
2037
  #
1934
2038
  # @option params [String] :event_type
1935
- # The type of event. You can update events of type `Custom Event`.
2039
+ # The type of event. You can update events of type `Custom Event` and
2040
+ # `Note`.
1936
2041
  #
1937
2042
  # @option params [required, String] :incident_record_arn
1938
2043
  # The Amazon Resource Name (ARN) of the incident that includes the
@@ -1979,7 +2084,7 @@ module Aws::SSMIncidents
1979
2084
  params: params,
1980
2085
  config: config)
1981
2086
  context[:gem_name] = 'aws-sdk-ssmincidents'
1982
- context[:gem_version] = '1.29.0'
2087
+ context[:gem_version] = '1.30.0'
1983
2088
  Seahorse::Client::Request.new(handlers, context)
1984
2089
  end
1985
2090
 
@@ -21,10 +21,17 @@ module Aws::SSMIncidents
21
21
  AttributeValueList = Shapes::UnionShape.new(name: 'AttributeValueList')
22
22
  AutomationExecution = Shapes::UnionShape.new(name: 'AutomationExecution')
23
23
  AutomationExecutionSet = Shapes::ListShape.new(name: 'AutomationExecutionSet')
24
+ BatchGetIncidentFindingsError = Shapes::StructureShape.new(name: 'BatchGetIncidentFindingsError')
25
+ BatchGetIncidentFindingsErrorList = Shapes::ListShape.new(name: 'BatchGetIncidentFindingsErrorList')
26
+ BatchGetIncidentFindingsInput = Shapes::StructureShape.new(name: 'BatchGetIncidentFindingsInput')
27
+ BatchGetIncidentFindingsOutput = Shapes::StructureShape.new(name: 'BatchGetIncidentFindingsOutput')
24
28
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
25
29
  ChatChannel = Shapes::UnionShape.new(name: 'ChatChannel')
26
30
  ChatbotSnsConfigurationSet = Shapes::ListShape.new(name: 'ChatbotSnsConfigurationSet')
27
31
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
32
+ CloudFormationStackUpdate = Shapes::StructureShape.new(name: 'CloudFormationStackUpdate')
33
+ CodeDeployDeployment = Shapes::StructureShape.new(name: 'CodeDeployDeployment')
34
+ CodeDeployDeploymentDeploymentIdString = Shapes::StringShape.new(name: 'CodeDeployDeploymentDeploymentIdString')
28
35
  Condition = Shapes::UnionShape.new(name: 'Condition')
29
36
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
30
37
  CreateReplicationSetInput = Shapes::StructureShape.new(name: 'CreateReplicationSetInput')
@@ -59,6 +66,13 @@ module Aws::SSMIncidents
59
66
  Filter = Shapes::StructureShape.new(name: 'Filter')
60
67
  FilterKeyString = Shapes::StringShape.new(name: 'FilterKeyString')
61
68
  FilterList = Shapes::ListShape.new(name: 'FilterList')
69
+ Finding = Shapes::StructureShape.new(name: 'Finding')
70
+ FindingDetails = Shapes::UnionShape.new(name: 'FindingDetails')
71
+ FindingId = Shapes::StringShape.new(name: 'FindingId')
72
+ FindingIdList = Shapes::ListShape.new(name: 'FindingIdList')
73
+ FindingList = Shapes::ListShape.new(name: 'FindingList')
74
+ FindingSummary = Shapes::StructureShape.new(name: 'FindingSummary')
75
+ FindingSummaryList = Shapes::ListShape.new(name: 'FindingSummaryList')
62
76
  GeneratedId = Shapes::StringShape.new(name: 'GeneratedId')
63
77
  GetIncidentRecordInput = Shapes::StructureShape.new(name: 'GetIncidentRecordInput')
64
78
  GetIncidentRecordOutput = Shapes::StructureShape.new(name: 'GetIncidentRecordOutput')
@@ -88,6 +102,9 @@ module Aws::SSMIncidents
88
102
  ItemIdentifier = Shapes::StructureShape.new(name: 'ItemIdentifier')
89
103
  ItemType = Shapes::StringShape.new(name: 'ItemType')
90
104
  ItemValue = Shapes::UnionShape.new(name: 'ItemValue')
105
+ ListIncidentFindingsInput = Shapes::StructureShape.new(name: 'ListIncidentFindingsInput')
106
+ ListIncidentFindingsInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListIncidentFindingsInputMaxResultsInteger')
107
+ ListIncidentFindingsOutput = Shapes::StructureShape.new(name: 'ListIncidentFindingsOutput')
91
108
  ListIncidentRecordsInput = Shapes::StructureShape.new(name: 'ListIncidentRecordsInput')
92
109
  ListIncidentRecordsOutput = Shapes::StructureShape.new(name: 'ListIncidentRecordsOutput')
93
110
  ListRelatedItemsInput = Shapes::StructureShape.new(name: 'ListRelatedItemsInput')
@@ -225,6 +242,21 @@ module Aws::SSMIncidents
225
242
 
226
243
  AutomationExecutionSet.member = Shapes::ShapeRef.new(shape: AutomationExecution)
227
244
 
245
+ BatchGetIncidentFindingsError.add_member(:code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "code"))
246
+ BatchGetIncidentFindingsError.add_member(:finding_id, Shapes::ShapeRef.new(shape: FindingId, required: true, location_name: "findingId"))
247
+ BatchGetIncidentFindingsError.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
248
+ BatchGetIncidentFindingsError.struct_class = Types::BatchGetIncidentFindingsError
249
+
250
+ BatchGetIncidentFindingsErrorList.member = Shapes::ShapeRef.new(shape: BatchGetIncidentFindingsError)
251
+
252
+ BatchGetIncidentFindingsInput.add_member(:finding_ids, Shapes::ShapeRef.new(shape: FindingIdList, required: true, location_name: "findingIds"))
253
+ BatchGetIncidentFindingsInput.add_member(:incident_record_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "incidentRecordArn"))
254
+ BatchGetIncidentFindingsInput.struct_class = Types::BatchGetIncidentFindingsInput
255
+
256
+ BatchGetIncidentFindingsOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchGetIncidentFindingsErrorList, required: true, location_name: "errors"))
257
+ BatchGetIncidentFindingsOutput.add_member(:findings, Shapes::ShapeRef.new(shape: FindingList, required: true, location_name: "findings"))
258
+ BatchGetIncidentFindingsOutput.struct_class = Types::BatchGetIncidentFindingsOutput
259
+
228
260
  ChatChannel.add_member(:chatbot_sns, Shapes::ShapeRef.new(shape: ChatbotSnsConfigurationSet, location_name: "chatbotSns"))
229
261
  ChatChannel.add_member(:empty, Shapes::ShapeRef.new(shape: EmptyChatChannel, location_name: "empty"))
230
262
  ChatChannel.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
@@ -235,6 +267,17 @@ module Aws::SSMIncidents
235
267
 
236
268
  ChatbotSnsConfigurationSet.member = Shapes::ShapeRef.new(shape: SnsArn)
237
269
 
270
+ CloudFormationStackUpdate.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
271
+ CloudFormationStackUpdate.add_member(:stack_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stackArn"))
272
+ CloudFormationStackUpdate.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
273
+ CloudFormationStackUpdate.struct_class = Types::CloudFormationStackUpdate
274
+
275
+ CodeDeployDeployment.add_member(:deployment_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "deploymentGroupArn"))
276
+ CodeDeployDeployment.add_member(:deployment_id, Shapes::ShapeRef.new(shape: CodeDeployDeploymentDeploymentIdString, required: true, location_name: "deploymentId"))
277
+ CodeDeployDeployment.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
278
+ CodeDeployDeployment.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
279
+ CodeDeployDeployment.struct_class = Types::CodeDeployDeployment
280
+
238
281
  Condition.add_member(:after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "after"))
239
282
  Condition.add_member(:before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "before"))
240
283
  Condition.add_member(:equals, Shapes::ShapeRef.new(shape: AttributeValueList, location_name: "equals"))
@@ -354,6 +397,30 @@ module Aws::SSMIncidents
354
397
 
355
398
  FilterList.member = Shapes::ShapeRef.new(shape: Filter)
356
399
 
400
+ Finding.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
401
+ Finding.add_member(:details, Shapes::ShapeRef.new(shape: FindingDetails, location_name: "details"))
402
+ Finding.add_member(:id, Shapes::ShapeRef.new(shape: FindingId, required: true, location_name: "id"))
403
+ Finding.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastModifiedTime"))
404
+ Finding.struct_class = Types::Finding
405
+
406
+ FindingDetails.add_member(:cloud_formation_stack_update, Shapes::ShapeRef.new(shape: CloudFormationStackUpdate, location_name: "cloudFormationStackUpdate"))
407
+ FindingDetails.add_member(:code_deploy_deployment, Shapes::ShapeRef.new(shape: CodeDeployDeployment, location_name: "codeDeployDeployment"))
408
+ FindingDetails.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
409
+ FindingDetails.add_member_subclass(:cloud_formation_stack_update, Types::FindingDetails::CloudFormationStackUpdate)
410
+ FindingDetails.add_member_subclass(:code_deploy_deployment, Types::FindingDetails::CodeDeployDeployment)
411
+ FindingDetails.add_member_subclass(:unknown, Types::FindingDetails::Unknown)
412
+ FindingDetails.struct_class = Types::FindingDetails
413
+
414
+ FindingIdList.member = Shapes::ShapeRef.new(shape: FindingId)
415
+
416
+ FindingList.member = Shapes::ShapeRef.new(shape: Finding)
417
+
418
+ FindingSummary.add_member(:id, Shapes::ShapeRef.new(shape: FindingId, required: true, location_name: "id"))
419
+ FindingSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastModifiedTime"))
420
+ FindingSummary.struct_class = Types::FindingSummary
421
+
422
+ FindingSummaryList.member = Shapes::ShapeRef.new(shape: FindingSummary)
423
+
357
424
  GetIncidentRecordInput.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "querystring", location_name: "arn"))
358
425
  GetIncidentRecordInput.struct_class = Types::GetIncidentRecordInput
359
426
 
@@ -465,6 +532,15 @@ module Aws::SSMIncidents
465
532
  ItemValue.add_member_subclass(:unknown, Types::ItemValue::Unknown)
466
533
  ItemValue.struct_class = Types::ItemValue
467
534
 
535
+ ListIncidentFindingsInput.add_member(:incident_record_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "incidentRecordArn"))
536
+ ListIncidentFindingsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListIncidentFindingsInputMaxResultsInteger, location_name: "maxResults"))
537
+ ListIncidentFindingsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
538
+ ListIncidentFindingsInput.struct_class = Types::ListIncidentFindingsInput
539
+
540
+ ListIncidentFindingsOutput.add_member(:findings, Shapes::ShapeRef.new(shape: FindingSummaryList, required: true, location_name: "findings"))
541
+ ListIncidentFindingsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
542
+ ListIncidentFindingsOutput.struct_class = Types::ListIncidentFindingsOutput
543
+
468
544
  ListIncidentRecordsInput.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "filters"))
469
545
  ListIncidentRecordsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
470
546
  ListIncidentRecordsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
@@ -772,6 +848,19 @@ module Aws::SSMIncidents
772
848
  "uid" => "ssm-incidents-2018-05-10",
773
849
  }
774
850
 
851
+ api.add_operation(:batch_get_incident_findings, Seahorse::Model::Operation.new.tap do |o|
852
+ o.name = "BatchGetIncidentFindings"
853
+ o.http_method = "POST"
854
+ o.http_request_uri = "/batchGetIncidentFindings"
855
+ o.input = Shapes::ShapeRef.new(shape: BatchGetIncidentFindingsInput)
856
+ o.output = Shapes::ShapeRef.new(shape: BatchGetIncidentFindingsOutput)
857
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
858
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
859
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
860
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
861
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
862
+ end)
863
+
775
864
  api.add_operation(:create_replication_set, Seahorse::Model::Operation.new.tap do |o|
776
865
  o.name = "CreateReplicationSet"
777
866
  o.http_method = "POST"
@@ -947,6 +1036,25 @@ module Aws::SSMIncidents
947
1036
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
948
1037
  end)
949
1038
 
1039
+ api.add_operation(:list_incident_findings, Seahorse::Model::Operation.new.tap do |o|
1040
+ o.name = "ListIncidentFindings"
1041
+ o.http_method = "POST"
1042
+ o.http_request_uri = "/listIncidentFindings"
1043
+ o.input = Shapes::ShapeRef.new(shape: ListIncidentFindingsInput)
1044
+ o.output = Shapes::ShapeRef.new(shape: ListIncidentFindingsOutput)
1045
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1046
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1047
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1048
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1049
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1050
+ o[:pager] = Aws::Pager.new(
1051
+ limit_key: "max_results",
1052
+ tokens: {
1053
+ "next_token" => "next_token"
1054
+ }
1055
+ )
1056
+ end)
1057
+
950
1058
  api.add_operation(:list_incident_records, Seahorse::Model::Operation.new.tap do |o|
951
1059
  o.name = "ListIncidentRecords"
952
1060
  o.http_method = "POST"
@@ -32,7 +32,7 @@ module Aws::SSMIncidents
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://ssm-incidents-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -12,6 +12,20 @@ module Aws::SSMIncidents
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
+ class BatchGetIncidentFindings
16
+ def self.build(context)
17
+ unless context.config.regional_endpoint
18
+ endpoint = context.config.endpoint.to_s
19
+ end
20
+ Aws::SSMIncidents::EndpointParameters.new(
21
+ region: context.config.region,
22
+ use_dual_stack: context.config.use_dualstack_endpoint,
23
+ use_fips: context.config.use_fips_endpoint,
24
+ endpoint: endpoint,
25
+ )
26
+ end
27
+ end
28
+
15
29
  class CreateReplicationSet
16
30
  def self.build(context)
17
31
  unless context.config.regional_endpoint
@@ -194,6 +208,20 @@ module Aws::SSMIncidents
194
208
  end
195
209
  end
196
210
 
211
+ class ListIncidentFindings
212
+ def self.build(context)
213
+ unless context.config.regional_endpoint
214
+ endpoint = context.config.endpoint.to_s
215
+ end
216
+ Aws::SSMIncidents::EndpointParameters.new(
217
+ region: context.config.region,
218
+ use_dual_stack: context.config.use_dualstack_endpoint,
219
+ use_fips: context.config.use_fips_endpoint,
220
+ endpoint: endpoint,
221
+ )
222
+ end
223
+ end
224
+
197
225
  class ListIncidentRecords
198
226
  def self.build(context)
199
227
  unless context.config.regional_endpoint
@@ -56,6 +56,8 @@ module Aws::SSMIncidents
56
56
 
57
57
  def parameters_for_operation(context)
58
58
  case context.operation_name
59
+ when :batch_get_incident_findings
60
+ Aws::SSMIncidents::Endpoints::BatchGetIncidentFindings.build(context)
59
61
  when :create_replication_set
60
62
  Aws::SSMIncidents::Endpoints::CreateReplicationSet.build(context)
61
63
  when :create_response_plan
@@ -82,6 +84,8 @@ module Aws::SSMIncidents
82
84
  Aws::SSMIncidents::Endpoints::GetResponsePlan.build(context)
83
85
  when :get_timeline_event
84
86
  Aws::SSMIncidents::Endpoints::GetTimelineEvent.build(context)
87
+ when :list_incident_findings
88
+ Aws::SSMIncidents::Endpoints::ListIncidentFindings.build(context)
85
89
  when :list_incident_records
86
90
  Aws::SSMIncidents::Endpoints::ListIncidentRecords.build(context)
87
91
  when :list_related_items
@@ -117,6 +117,69 @@ module Aws::SSMIncidents
117
117
  class Unknown < AutomationExecution; end
118
118
  end
119
119
 
120
+ # Details about an error returned for a BatchGetIncidentFindings
121
+ # operation.
122
+ #
123
+ # @!attribute [rw] code
124
+ # The code associated with an error that was returned for a
125
+ # `BatchGetIncidentFindings` operation.
126
+ # @return [String]
127
+ #
128
+ # @!attribute [rw] finding_id
129
+ # The ID of a specified finding for which an error was returned for a
130
+ # `BatchGetIncidentFindings` operation.
131
+ # @return [String]
132
+ #
133
+ # @!attribute [rw] message
134
+ # The description for an error that was returned for a
135
+ # `BatchGetIncidentFindings` operation.
136
+ # @return [String]
137
+ #
138
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/BatchGetIncidentFindingsError AWS API Documentation
139
+ #
140
+ class BatchGetIncidentFindingsError < Struct.new(
141
+ :code,
142
+ :finding_id,
143
+ :message)
144
+ SENSITIVE = []
145
+ include Aws::Structure
146
+ end
147
+
148
+ # @!attribute [rw] finding_ids
149
+ # A list of IDs of findings for which you want to view details.
150
+ # @return [Array<String>]
151
+ #
152
+ # @!attribute [rw] incident_record_arn
153
+ # The Amazon Resource Name (ARN) of the incident for which you want to
154
+ # view finding details.
155
+ # @return [String]
156
+ #
157
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/BatchGetIncidentFindingsInput AWS API Documentation
158
+ #
159
+ class BatchGetIncidentFindingsInput < Struct.new(
160
+ :finding_ids,
161
+ :incident_record_arn)
162
+ SENSITIVE = []
163
+ include Aws::Structure
164
+ end
165
+
166
+ # @!attribute [rw] errors
167
+ # A list of errors encountered during the operation.
168
+ # @return [Array<Types::BatchGetIncidentFindingsError>]
169
+ #
170
+ # @!attribute [rw] findings
171
+ # Information about the requested findings.
172
+ # @return [Array<Types::Finding>]
173
+ #
174
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/BatchGetIncidentFindingsOutput AWS API Documentation
175
+ #
176
+ class BatchGetIncidentFindingsOutput < Struct.new(
177
+ :errors,
178
+ :findings)
179
+ SENSITIVE = []
180
+ include Aws::Structure
181
+ end
182
+
120
183
  # The Chatbot chat channel used for collaboration during an incident.
121
184
  #
122
185
  # @note ChatChannel is a union - when making an API calls you must set exactly one of the members.
@@ -149,6 +212,67 @@ module Aws::SSMIncidents
149
212
  class Unknown < ChatChannel; end
150
213
  end
151
214
 
215
+ # Information about an CloudFormation stack creation or update that
216
+ # occurred around the time of an incident and could be a potential cause
217
+ # of the incident.
218
+ #
219
+ # @!attribute [rw] end_time
220
+ # The timestamp for when the CloudFormation stack creation or update
221
+ # ended. Not reported for deployments that are still in progress.
222
+ # @return [Time]
223
+ #
224
+ # @!attribute [rw] stack_arn
225
+ # The Amazon Resource Name (ARN) of the CloudFormation stack involved
226
+ # in the update.
227
+ # @return [String]
228
+ #
229
+ # @!attribute [rw] start_time
230
+ # The timestamp for when the CloudFormation stack creation or update
231
+ # began.
232
+ # @return [Time]
233
+ #
234
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/CloudFormationStackUpdate AWS API Documentation
235
+ #
236
+ class CloudFormationStackUpdate < Struct.new(
237
+ :end_time,
238
+ :stack_arn,
239
+ :start_time)
240
+ SENSITIVE = []
241
+ include Aws::Structure
242
+ end
243
+
244
+ # Information about a CodeDeploy deployment that occurred around the
245
+ # time of an incident and could be a possible cause of the incident.
246
+ #
247
+ # @!attribute [rw] deployment_group_arn
248
+ # The Amazon Resource Name (ARN) of the CodeDeploy deployment group
249
+ # associated with the deployment.
250
+ # @return [String]
251
+ #
252
+ # @!attribute [rw] deployment_id
253
+ # The ID of the CodeDeploy deployment.
254
+ # @return [String]
255
+ #
256
+ # @!attribute [rw] end_time
257
+ # The timestamp for when the CodeDeploy deployment ended. Not reported
258
+ # for deployments that are still in progress.
259
+ # @return [Time]
260
+ #
261
+ # @!attribute [rw] start_time
262
+ # The timestamp for when the CodeDeploy deployment began.
263
+ # @return [Time]
264
+ #
265
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/CodeDeployDeployment AWS API Documentation
266
+ #
267
+ class CodeDeployDeployment < Struct.new(
268
+ :deployment_group_arn,
269
+ :deployment_id,
270
+ :end_time,
271
+ :start_time)
272
+ SENSITIVE = []
273
+ include Aws::Structure
274
+ end
275
+
152
276
  # A conditional statement with which to compare a value, after a
153
277
  # timestamp, before a timestamp, or equal to a string or integer. If
154
278
  # multiple conditions are specified, the conditionals become an `AND`ed
@@ -350,12 +474,17 @@ module Aws::SSMIncidents
350
474
  # @return [Array<Types::EventReference>]
351
475
  #
352
476
  # @!attribute [rw] event_time
353
- # The time that the event occurred.
477
+ # The timestamp for when the event occurred.
354
478
  # @return [Time]
355
479
  #
356
480
  # @!attribute [rw] event_type
357
481
  # The type of event. You can create timeline events of type `Custom
358
- # Event`.
482
+ # Event` and `Note`.
483
+ #
484
+ # To make a Note-type event appear on the *Incident notes* panel in
485
+ # the console, specify `eventType` as `Note`and enter the Amazon
486
+ # Resource Name (ARN) of the incident as the value for
487
+ # `eventReference`.
359
488
  # @return [String]
360
489
  #
361
490
  # @!attribute [rw] incident_record_arn
@@ -580,15 +709,16 @@ module Aws::SSMIncidents
580
709
  # @return [Array<Types::EventReference>]
581
710
  #
582
711
  # @!attribute [rw] event_time
583
- # The time that the event occurred.
712
+ # The timestamp for when the event occurred.
584
713
  # @return [Time]
585
714
  #
586
715
  # @!attribute [rw] event_type
587
- # The type of event. The timeline event must be `Custom Event`.
716
+ # The type of event. The timeline event must be `Custom Event` or
717
+ # `Note`.
588
718
  # @return [String]
589
719
  #
590
720
  # @!attribute [rw] event_updated_time
591
- # The time that the timeline event was last updated.
721
+ # The timestamp for when the timeline event was last updated.
592
722
  # @return [Time]
593
723
  #
594
724
  # @!attribute [rw] incident_record_arn
@@ -629,6 +759,87 @@ module Aws::SSMIncidents
629
759
  include Aws::Structure
630
760
  end
631
761
 
762
+ # Information about a specific CodeDeploy deployment or CloudFormation
763
+ # stack creation or update that occurred around the time of a reported
764
+ # incident. These activities can be investigated as a potential cause of
765
+ # the incident.
766
+ #
767
+ # @!attribute [rw] creation_time
768
+ # The timestamp for when a finding was created.
769
+ # @return [Time]
770
+ #
771
+ # @!attribute [rw] details
772
+ # Details about the finding.
773
+ # @return [Types::FindingDetails]
774
+ #
775
+ # @!attribute [rw] id
776
+ # The ID assigned to the finding.
777
+ # @return [String]
778
+ #
779
+ # @!attribute [rw] last_modified_time
780
+ # The timestamp for when the finding was most recently updated with
781
+ # additional information.
782
+ # @return [Time]
783
+ #
784
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/Finding AWS API Documentation
785
+ #
786
+ class Finding < Struct.new(
787
+ :creation_time,
788
+ :details,
789
+ :id,
790
+ :last_modified_time)
791
+ SENSITIVE = []
792
+ include Aws::Structure
793
+ end
794
+
795
+ # Extended textual information about the finding.
796
+ #
797
+ # @note FindingDetails is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of FindingDetails corresponding to the set member.
798
+ #
799
+ # @!attribute [rw] cloud_formation_stack_update
800
+ # Information about the CloudFormation stack creation or update
801
+ # associated with the finding.
802
+ # @return [Types::CloudFormationStackUpdate]
803
+ #
804
+ # @!attribute [rw] code_deploy_deployment
805
+ # Information about the CodeDeploy deployment associated with the
806
+ # finding.
807
+ # @return [Types::CodeDeployDeployment]
808
+ #
809
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/FindingDetails AWS API Documentation
810
+ #
811
+ class FindingDetails < Struct.new(
812
+ :cloud_formation_stack_update,
813
+ :code_deploy_deployment,
814
+ :unknown)
815
+ SENSITIVE = []
816
+ include Aws::Structure
817
+ include Aws::Structure::Union
818
+
819
+ class CloudFormationStackUpdate < FindingDetails; end
820
+ class CodeDeployDeployment < FindingDetails; end
821
+ class Unknown < FindingDetails; end
822
+ end
823
+
824
+ # Identifying information about the finding.
825
+ #
826
+ # @!attribute [rw] id
827
+ # The ID of the finding.
828
+ # @return [String]
829
+ #
830
+ # @!attribute [rw] last_modified_time
831
+ # The timestamp for when the finding was last updated.
832
+ # @return [Time]
833
+ #
834
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/FindingSummary AWS API Documentation
835
+ #
836
+ class FindingSummary < Struct.new(
837
+ :id,
838
+ :last_modified_time)
839
+ SENSITIVE = []
840
+ include Aws::Structure
841
+ end
842
+
632
843
  # @!attribute [rw] arn
633
844
  # The Amazon Resource Name (ARN) of the incident record.
634
845
  # @return [String]
@@ -684,7 +895,8 @@ module Aws::SSMIncidents
684
895
  # @return [Integer]
685
896
  #
686
897
  # @!attribute [rw] next_token
687
- # The pagination token to continue to the next page of results.
898
+ # The pagination token for the next set of items to return. (You
899
+ # received this token from a previous call.)
688
900
  # @return [String]
689
901
  #
690
902
  # @!attribute [rw] resource_arn
@@ -703,7 +915,8 @@ module Aws::SSMIncidents
703
915
  end
704
916
 
705
917
  # @!attribute [rw] next_token
706
- # The pagination token to continue to the next page of results.
918
+ # The pagination token to use when requesting the next set of items.
919
+ # If there are no additional items to return, the string is null.
707
920
  # @return [String]
708
921
  #
709
922
  # @!attribute [rw] resource_policies
@@ -829,7 +1042,7 @@ module Aws::SSMIncidents
829
1042
  # @return [Types::ChatChannel]
830
1043
  #
831
1044
  # @!attribute [rw] creation_time
832
- # The time that Incident Manager created the incident record.
1045
+ # The timestamp for when Incident Manager created the incident record.
833
1046
  # @return [Time]
834
1047
  #
835
1048
  # @!attribute [rw] dedupe_string
@@ -839,6 +1052,18 @@ module Aws::SSMIncidents
839
1052
  #
840
1053
  # @!attribute [rw] impact
841
1054
  # The impact of the incident on customers and applications.
1055
+ #
1056
+ # **Supported impact codes**
1057
+ #
1058
+ # * `1` - Critical
1059
+ #
1060
+ # * `2` - High
1061
+ #
1062
+ # * `3` - Medium
1063
+ #
1064
+ # * `4` - Low
1065
+ #
1066
+ # * `5` - No Impact
842
1067
  # @return [Integer]
843
1068
  #
844
1069
  # @!attribute [rw] incident_record_source
@@ -850,7 +1075,7 @@ module Aws::SSMIncidents
850
1075
  # @return [String]
851
1076
  #
852
1077
  # @!attribute [rw] last_modified_time
853
- # The time at which the incident was most recently modified.
1078
+ # The timestamp for when the incident was most recently modified.
854
1079
  # @return [Time]
855
1080
  #
856
1081
  # @!attribute [rw] notification_targets
@@ -859,7 +1084,7 @@ module Aws::SSMIncidents
859
1084
  # @return [Array<Types::NotificationTargetItem>]
860
1085
  #
861
1086
  # @!attribute [rw] resolved_time
862
- # The time at which the incident was resolved. This appears as a
1087
+ # The timestamp for when the incident was resolved. This appears as a
863
1088
  # timeline event.
864
1089
  # @return [Time]
865
1090
  #
@@ -938,7 +1163,7 @@ module Aws::SSMIncidents
938
1163
  # @return [String]
939
1164
  #
940
1165
  # @!attribute [rw] creation_time
941
- # The time the incident was created.
1166
+ # The timestamp for when the incident was created.
942
1167
  # @return [Time]
943
1168
  #
944
1169
  # @!attribute [rw] impact
@@ -950,7 +1175,7 @@ module Aws::SSMIncidents
950
1175
  # @return [Types::IncidentRecordSource]
951
1176
  #
952
1177
  # @!attribute [rw] resolved_time
953
- # The time the incident was resolved.
1178
+ # The timestamp for when the incident was resolved.
954
1179
  # @return [Time]
955
1180
  #
956
1181
  # @!attribute [rw] status
@@ -980,12 +1205,38 @@ module Aws::SSMIncidents
980
1205
  # then used to create an incident record.
981
1206
  #
982
1207
  # @!attribute [rw] dedupe_string
983
- # Used to stop Incident Manager from creating multiple incident
984
- # records for the same incident.
1208
+ # The string Incident Manager uses to prevent the same root cause from
1209
+ # creating multiple incidents in the same account.
1210
+ #
1211
+ # A deduplication string is a term or phrase the system uses to check
1212
+ # for duplicate incidents. If you specify a deduplication string,
1213
+ # Incident Manager searches for open incidents that contain the same
1214
+ # string in the `dedupeString` field when it creates the incident. If
1215
+ # a duplicate is detected, Incident Manager deduplicates the newer
1216
+ # incident into the existing incident.
1217
+ #
1218
+ # <note markdown="1"> By default, Incident Manager automatically deduplicates multiple
1219
+ # incidents created by the same Amazon CloudWatch alarm or Amazon
1220
+ # EventBridge event. You don't have to enter your own deduplication
1221
+ # string to prevent duplication for these resource types.
1222
+ #
1223
+ # </note>
985
1224
  # @return [String]
986
1225
  #
987
1226
  # @!attribute [rw] impact
988
1227
  # The impact of the incident on your customers and applications.
1228
+ #
1229
+ # **Supported impact codes**
1230
+ #
1231
+ # * `1` - Critical
1232
+ #
1233
+ # * `2` - High
1234
+ #
1235
+ # * `3` - Medium
1236
+ #
1237
+ # * `4` - Low
1238
+ #
1239
+ # * `5` - No Impact
989
1240
  # @return [Integer]
990
1241
  #
991
1242
  # @!attribute [rw] incident_tags
@@ -1123,6 +1374,49 @@ module Aws::SSMIncidents
1123
1374
  class Unknown < ItemValue; end
1124
1375
  end
1125
1376
 
1377
+ # @!attribute [rw] incident_record_arn
1378
+ # The Amazon Resource Name (ARN) of the incident for which you want to
1379
+ # view associated findings.
1380
+ # @return [String]
1381
+ #
1382
+ # @!attribute [rw] max_results
1383
+ # The maximum number of findings to retrieve per call.
1384
+ # @return [Integer]
1385
+ #
1386
+ # @!attribute [rw] next_token
1387
+ # The pagination token for the next set of items to return. (You
1388
+ # received this token from a previous call.)
1389
+ # @return [String]
1390
+ #
1391
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListIncidentFindingsInput AWS API Documentation
1392
+ #
1393
+ class ListIncidentFindingsInput < Struct.new(
1394
+ :incident_record_arn,
1395
+ :max_results,
1396
+ :next_token)
1397
+ SENSITIVE = []
1398
+ include Aws::Structure
1399
+ end
1400
+
1401
+ # @!attribute [rw] findings
1402
+ # A list of findings that represent deployments that might be the
1403
+ # potential cause of the incident.
1404
+ # @return [Array<Types::FindingSummary>]
1405
+ #
1406
+ # @!attribute [rw] next_token
1407
+ # The pagination token to use when requesting the next set of items.
1408
+ # If there are no additional items to return, the string is null.
1409
+ # @return [String]
1410
+ #
1411
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListIncidentFindingsOutput AWS API Documentation
1412
+ #
1413
+ class ListIncidentFindingsOutput < Struct.new(
1414
+ :findings,
1415
+ :next_token)
1416
+ SENSITIVE = []
1417
+ include Aws::Structure
1418
+ end
1419
+
1126
1420
  # @!attribute [rw] filters
1127
1421
  # Filters the list of incident records you want to search through. You
1128
1422
  # can filter on the following keys:
@@ -1152,7 +1446,8 @@ module Aws::SSMIncidents
1152
1446
  # @return [Integer]
1153
1447
  #
1154
1448
  # @!attribute [rw] next_token
1155
- # The pagination token to continue to the next page of results.
1449
+ # The pagination token for the next set of items to return. (You
1450
+ # received this token from a previous call.)
1156
1451
  # @return [String]
1157
1452
  #
1158
1453
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListIncidentRecordsInput AWS API Documentation
@@ -1170,7 +1465,8 @@ module Aws::SSMIncidents
1170
1465
  # @return [Array<Types::IncidentRecordSummary>]
1171
1466
  #
1172
1467
  # @!attribute [rw] next_token
1173
- # The pagination token to continue to the next page of results.
1468
+ # The pagination token to use when requesting the next set of items.
1469
+ # If there are no additional items to return, the string is null.
1174
1470
  # @return [String]
1175
1471
  #
1176
1472
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListIncidentRecordsOutput AWS API Documentation
@@ -1192,7 +1488,8 @@ module Aws::SSMIncidents
1192
1488
  # @return [Integer]
1193
1489
  #
1194
1490
  # @!attribute [rw] next_token
1195
- # The pagination token to continue to the next page of results.
1491
+ # The pagination token for the next set of items to return. (You
1492
+ # received this token from a previous call.)
1196
1493
  # @return [String]
1197
1494
  #
1198
1495
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListRelatedItemsInput AWS API Documentation
@@ -1206,7 +1503,8 @@ module Aws::SSMIncidents
1206
1503
  end
1207
1504
 
1208
1505
  # @!attribute [rw] next_token
1209
- # The pagination token to continue to the next page of results.
1506
+ # The pagination token to use when requesting the next set of items.
1507
+ # If there are no additional items to return, the string is null.
1210
1508
  # @return [String]
1211
1509
  #
1212
1510
  # @!attribute [rw] related_items
@@ -1227,7 +1525,8 @@ module Aws::SSMIncidents
1227
1525
  # @return [Integer]
1228
1526
  #
1229
1527
  # @!attribute [rw] next_token
1230
- # The pagination token to continue to the next page of results.
1528
+ # The pagination token for the next set of items to return. (You
1529
+ # received this token from a previous call.)
1231
1530
  # @return [String]
1232
1531
  #
1233
1532
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListReplicationSetsInput AWS API Documentation
@@ -1240,7 +1539,8 @@ module Aws::SSMIncidents
1240
1539
  end
1241
1540
 
1242
1541
  # @!attribute [rw] next_token
1243
- # The pagination token to continue to the next page of results.
1542
+ # The pagination token to use when requesting the next set of items.
1543
+ # If there are no additional items to return, the string is null.
1244
1544
  # @return [String]
1245
1545
  #
1246
1546
  # @!attribute [rw] replication_set_arns
@@ -1261,7 +1561,8 @@ module Aws::SSMIncidents
1261
1561
  # @return [Integer]
1262
1562
  #
1263
1563
  # @!attribute [rw] next_token
1264
- # The pagination token to continue to the next page of results.
1564
+ # The pagination token for the next set of items to return. (You
1565
+ # received this token from a previous call.)
1265
1566
  # @return [String]
1266
1567
  #
1267
1568
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListResponsePlansInput AWS API Documentation
@@ -1274,7 +1575,8 @@ module Aws::SSMIncidents
1274
1575
  end
1275
1576
 
1276
1577
  # @!attribute [rw] next_token
1277
- # The pagination token to continue to the next page of results.
1578
+ # The pagination token to use when requesting the next set of items.
1579
+ # If there are no additional items to return, the string is null.
1278
1580
  # @return [String]
1279
1581
  #
1280
1582
  # @!attribute [rw] response_plan_summaries
@@ -1291,7 +1593,7 @@ module Aws::SSMIncidents
1291
1593
  end
1292
1594
 
1293
1595
  # @!attribute [rw] resource_arn
1294
- # The Amazon Resource Name (ARN) of the response plan.
1596
+ # The Amazon Resource Name (ARN) of the response plan or incident.
1295
1597
  # @return [String]
1296
1598
  #
1297
1599
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListTagsForResourceRequest AWS API Documentation
@@ -1303,7 +1605,7 @@ module Aws::SSMIncidents
1303
1605
  end
1304
1606
 
1305
1607
  # @!attribute [rw] tags
1306
- # A list of tags for the response plan.
1608
+ # A list of tags for the response plan or incident.
1307
1609
  # @return [Hash<String,String>]
1308
1610
  #
1309
1611
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListTagsForResourceResponse AWS API Documentation
@@ -1318,6 +1620,8 @@ module Aws::SSMIncidents
1318
1620
  # Filters the timeline events based on the provided conditional
1319
1621
  # values. You can filter timeline events with the following keys:
1320
1622
  #
1623
+ # * `eventReference`
1624
+ #
1321
1625
  # * `eventTime`
1322
1626
  #
1323
1627
  # * `eventType`
@@ -1344,7 +1648,8 @@ module Aws::SSMIncidents
1344
1648
  # @return [Integer]
1345
1649
  #
1346
1650
  # @!attribute [rw] next_token
1347
- # The pagination token to continue to the next page of results.
1651
+ # The pagination token for the next set of items to return. (You
1652
+ # received this token from a previous call.)
1348
1653
  # @return [String]
1349
1654
  #
1350
1655
  # @!attribute [rw] sort_by
@@ -1374,7 +1679,8 @@ module Aws::SSMIncidents
1374
1679
  # @return [Array<Types::EventSummary>]
1375
1680
  #
1376
1681
  # @!attribute [rw] next_token
1377
- # The pagination token to continue to the next page of results.
1682
+ # The pagination token to use when requesting the next set of items.
1683
+ # If there are no additional items to return, the string is null.
1378
1684
  # @return [String]
1379
1685
  #
1380
1686
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListTimelineEventsOutput AWS API Documentation
@@ -1530,8 +1836,8 @@ module Aws::SSMIncidents
1530
1836
  # @return [String]
1531
1837
  #
1532
1838
  # @!attribute [rw] status_update_date_time
1533
- # The most recent date and time that Incident Manager updated the
1534
- # Amazon Web Services Region's status.
1839
+ # The timestamp for when Incident Manager updated the status of the
1840
+ # Amazon Web Services Region.
1535
1841
  # @return [Time]
1536
1842
  #
1537
1843
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/RegionInfo AWS API Documentation
@@ -1831,22 +2137,17 @@ module Aws::SSMIncidents
1831
2137
  # Defines the impact to the customers. Providing an impact overwrites
1832
2138
  # the impact provided by a response plan.
1833
2139
  #
1834
- # **Possible impacts:**
2140
+ # **Supported impact codes**
1835
2141
  #
1836
- # * `1` - Critical impact, this typically relates to full application
1837
- # failure that impacts many to all customers.
2142
+ # * `1` - Critical
1838
2143
  #
1839
- # * `2` - High impact, partial application failure with impact to many
1840
- # customers.
2144
+ # * `2` - High
1841
2145
  #
1842
- # * `3` - Medium impact, the application is providing reduced service
1843
- # to customers.
2146
+ # * `3` - Medium
1844
2147
  #
1845
- # * `4` - Low impact, customer might aren't impacted by the problem
1846
- # yet.
2148
+ # * `4` - Low
1847
2149
  #
1848
- # * `5` - No impact, customers aren't currently impacted but urgent
1849
- # action is needed to avoid impact.
2150
+ # * `5` - No Impact
1850
2151
  # @return [Integer]
1851
2152
  #
1852
2153
  # @!attribute [rw] related_items
@@ -1955,16 +2256,16 @@ module Aws::SSMIncidents
1955
2256
  # @return [Array<Types::EventReference>]
1956
2257
  #
1957
2258
  # @!attribute [rw] event_time
1958
- # The time that the event occurred.
2259
+ # The timestamp for when the event occurred.
1959
2260
  # @return [Time]
1960
2261
  #
1961
2262
  # @!attribute [rw] event_type
1962
2263
  # The type of event that occurred. Currently Incident Manager supports
1963
- # only the `Custom Event` type.
2264
+ # only the `Custom Event` and `Note` types.
1964
2265
  # @return [String]
1965
2266
  #
1966
2267
  # @!attribute [rw] event_updated_time
1967
- # The time that the timeline event was last updated.
2268
+ # The timestamp for when the timeline event was last updated.
1968
2269
  # @return [Time]
1969
2270
  #
1970
2271
  # @!attribute [rw] incident_record_arn
@@ -2003,7 +2304,7 @@ module Aws::SSMIncidents
2003
2304
  # @return [String]
2004
2305
  #
2005
2306
  # @!attribute [rw] timestamp
2006
- # The time that the incident was detected.
2307
+ # The timestamp for when the incident was detected.
2007
2308
  # @return [Time]
2008
2309
  #
2009
2310
  # @!attribute [rw] trigger_arn
@@ -2097,21 +2398,17 @@ module Aws::SSMIncidents
2097
2398
  # you provide an impact for an incident, it overwrites the impact
2098
2399
  # provided by the response plan.
2099
2400
  #
2100
- # **Possible impacts:**
2401
+ # **Supported impact codes**
2101
2402
  #
2102
- # * `1` - Critical impact, full application failure that impacts many
2103
- # to all customers.
2403
+ # * `1` - Critical
2104
2404
  #
2105
- # * `2` - High impact, partial application failure with impact to many
2106
- # customers.
2405
+ # * `2` - High
2107
2406
  #
2108
- # * `3` - Medium impact, the application is providing reduced service
2109
- # to customers.
2407
+ # * `3` - Medium
2110
2408
  #
2111
- # * `4` - Low impact, customer aren't impacted by the problem yet.
2409
+ # * `4` - Low
2112
2410
  #
2113
- # * `5` - No impact, customers aren't currently impacted but urgent
2114
- # action is needed to avoid impact.
2411
+ # * `5` - No Impact
2115
2412
  # @return [Integer]
2116
2413
  #
2117
2414
  # @!attribute [rw] notification_targets
@@ -2289,17 +2586,17 @@ module Aws::SSMIncidents
2289
2586
  # Defines the impact to the customers. Providing an impact overwrites
2290
2587
  # the impact provided by a response plan.
2291
2588
  #
2292
- # **Possible impacts:**
2589
+ # **Supported impact codes**
2293
2590
  #
2294
- # * `5` - Severe impact
2591
+ # * `1` - Critical
2295
2592
  #
2296
- # * `4` - High impact
2593
+ # * `2` - High
2297
2594
  #
2298
- # * `3` - Medium impact
2595
+ # * `3` - Medium
2299
2596
  #
2300
- # * `2` - Low impact
2597
+ # * `4` - Low
2301
2598
  #
2302
- # * `1` - No impact
2599
+ # * `5` - No Impact
2303
2600
  # @return [Integer]
2304
2601
  #
2305
2602
  # @!attribute [rw] incident_template_notification_targets
@@ -2388,11 +2685,12 @@ module Aws::SSMIncidents
2388
2685
  # @return [Array<Types::EventReference>]
2389
2686
  #
2390
2687
  # @!attribute [rw] event_time
2391
- # The time that the event occurred.
2688
+ # The timestamp for when the event occurred.
2392
2689
  # @return [Time]
2393
2690
  #
2394
2691
  # @!attribute [rw] event_type
2395
- # The type of event. You can update events of type `Custom Event`.
2692
+ # The type of event. You can update events of type `Custom Event` and
2693
+ # `Note`.
2396
2694
  # @return [String]
2397
2695
  #
2398
2696
  # @!attribute [rw] incident_record_arn
@@ -33,7 +33,7 @@ require_relative 'aws-sdk-ssmincidents/customizations'
33
33
  # structure.
34
34
  #
35
35
  # ssm_incidents = Aws::SSMIncidents::Client.new
36
- # resp = ssm_incidents.create_replication_set(params)
36
+ # resp = ssm_incidents.batch_get_incident_findings(params)
37
37
  #
38
38
  # See {Client} for more information.
39
39
  #
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-ssmincidents/customizations'
53
53
  # @!group service
54
54
  module Aws::SSMIncidents
55
55
 
56
- GEM_VERSION = '1.29.0'
56
+ GEM_VERSION = '1.30.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ssmincidents
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.29.0
4
+ version: 1.30.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-09-27 00:00:00.000000000 Z
11
+ date: 2023-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core