aws-sdk-ssmincidents 1.18.0 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssmincidents/client.rb +46 -1
- data/lib/aws-sdk-ssmincidents/client_api.rb +18 -0
- data/lib/aws-sdk-ssmincidents/types.rb +93 -0
- data/lib/aws-sdk-ssmincidents.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6b2ee80c3185adba475faa323cdcb7aad23956b8e8bed5c0df3618fc028c0c2
|
4
|
+
data.tar.gz: f6a3606e949f6714d562b103cb01827cae2a8bda0ded4a4cdc05d4818317cf3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b68cd0b5b91f49994327420859795ba8210ea29e8d5f0a00fbfa5bd35d70b310a69758c181b4d1258b9ab729eba46aaa698bcda3d8c065d39474755459beebd
|
7
|
+
data.tar.gz: 9ce6c014fb9b1f9370d6991cfe00dd21b9b46840974f5ffa71cd4ab2b6e3c2e852621fc231ab09dcac009dd436bd5fef09d68f5440e762bc94381fe3b30988f2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.19.0 (2022-11-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - RelatedItems now have an ID field which can be used for referencing them else where. Introducing event references in TimelineEvent API and increasing maximum length of "eventData" to 12K characters.
|
8
|
+
|
4
9
|
1.18.0 (2022-11-02)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.19.0
|
@@ -533,6 +533,16 @@ module Aws::SSMIncidents
|
|
533
533
|
# @option params [required, String] :event_data
|
534
534
|
# A short description of the event.
|
535
535
|
#
|
536
|
+
# @option params [Array<Types::EventReference>] :event_references
|
537
|
+
# Adds one or more references to the `TimelineEvent`. A reference can be
|
538
|
+
# an Amazon Web Services resource involved in the incident or in some
|
539
|
+
# way associated with it. When you specify a reference, you enter the
|
540
|
+
# Amazon Resource Name (ARN) of the resource. You can also specify a
|
541
|
+
# related item. As an example, you could specify the ARN of an Amazon
|
542
|
+
# DynamoDB (DynamoDB) table. The table for this example is the resource.
|
543
|
+
# You could also specify a Amazon CloudWatch metric for that table. The
|
544
|
+
# metric is the related item.
|
545
|
+
#
|
536
546
|
# @option params [required, Time,DateTime,Date,Integer,String] :event_time
|
537
547
|
# The time that the event occurred.
|
538
548
|
#
|
@@ -554,6 +564,12 @@ module Aws::SSMIncidents
|
|
554
564
|
# resp = client.create_timeline_event({
|
555
565
|
# client_token: "ClientToken",
|
556
566
|
# event_data: "EventData", # required
|
567
|
+
# event_references: [
|
568
|
+
# {
|
569
|
+
# related_item_id: "GeneratedId",
|
570
|
+
# resource: "Arn",
|
571
|
+
# },
|
572
|
+
# ],
|
557
573
|
# event_time: Time.now, # required
|
558
574
|
# event_type: "TimelineEventType", # required
|
559
575
|
# incident_record_arn: "Arn", # required
|
@@ -922,6 +938,9 @@ module Aws::SSMIncidents
|
|
922
938
|
#
|
923
939
|
# resp.event.event_data #=> String
|
924
940
|
# resp.event.event_id #=> String
|
941
|
+
# resp.event.event_references #=> Array
|
942
|
+
# resp.event.event_references[0].related_item_id #=> String
|
943
|
+
# resp.event.event_references[0].resource #=> String
|
925
944
|
# resp.event.event_time #=> Time
|
926
945
|
# resp.event.event_type #=> String
|
927
946
|
# resp.event.event_updated_time #=> Time
|
@@ -1051,6 +1070,7 @@ module Aws::SSMIncidents
|
|
1051
1070
|
#
|
1052
1071
|
# resp.next_token #=> String
|
1053
1072
|
# resp.related_items #=> Array
|
1073
|
+
# resp.related_items[0].generated_id #=> String
|
1054
1074
|
# resp.related_items[0].identifier.type #=> String, one of "ANALYSIS", "INCIDENT", "METRIC", "PARENT", "ATTACHMENT", "OTHER", "AUTOMATION", "INVOLVED_RESOURCE", "TASK"
|
1055
1075
|
# resp.related_items[0].identifier.value.arn #=> String
|
1056
1076
|
# resp.related_items[0].identifier.value.metric_definition #=> String
|
@@ -1243,6 +1263,9 @@ module Aws::SSMIncidents
|
|
1243
1263
|
#
|
1244
1264
|
# resp.event_summaries #=> Array
|
1245
1265
|
# resp.event_summaries[0].event_id #=> String
|
1266
|
+
# resp.event_summaries[0].event_references #=> Array
|
1267
|
+
# resp.event_summaries[0].event_references[0].related_item_id #=> String
|
1268
|
+
# resp.event_summaries[0].event_references[0].resource #=> String
|
1246
1269
|
# resp.event_summaries[0].event_time #=> Time
|
1247
1270
|
# resp.event_summaries[0].event_type #=> String
|
1248
1271
|
# resp.event_summaries[0].event_updated_time #=> Time
|
@@ -1357,6 +1380,7 @@ module Aws::SSMIncidents
|
|
1357
1380
|
# impact: 1,
|
1358
1381
|
# related_items: [
|
1359
1382
|
# {
|
1383
|
+
# generated_id: "GeneratedId",
|
1360
1384
|
# identifier: { # required
|
1361
1385
|
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE, TASK
|
1362
1386
|
# value: { # required
|
@@ -1600,6 +1624,7 @@ module Aws::SSMIncidents
|
|
1600
1624
|
# incident_record_arn: "Arn", # required
|
1601
1625
|
# related_items_update: { # required
|
1602
1626
|
# item_to_add: {
|
1627
|
+
# generated_id: "GeneratedId",
|
1603
1628
|
# identifier: { # required
|
1604
1629
|
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE, TASK
|
1605
1630
|
# value: { # required
|
@@ -1815,6 +1840,20 @@ module Aws::SSMIncidents
|
|
1815
1840
|
# The ID of the event you are updating. You can find this by using
|
1816
1841
|
# `ListTimelineEvents`.
|
1817
1842
|
#
|
1843
|
+
# @option params [Array<Types::EventReference>] :event_references
|
1844
|
+
# Updates all existing references in a `TimelineEvent`. A reference can
|
1845
|
+
# be an Amazon Web Services resource involved in the incident or in some
|
1846
|
+
# way associated with it. When you specify a reference, you enter the
|
1847
|
+
# Amazon Resource Name (ARN) of the resource. You can also specify a
|
1848
|
+
# related item. As an example, you could specify the ARN of an Amazon
|
1849
|
+
# DynamoDB (DynamoDB) table. The table for this example is the resource.
|
1850
|
+
# You could also specify a Amazon CloudWatch metric for that table. The
|
1851
|
+
# metric is the related item.
|
1852
|
+
#
|
1853
|
+
# This update action overrides all existing references. If you want to
|
1854
|
+
# keep existing references, you must specify them in the call. If you
|
1855
|
+
# don't, this action removes them and enters only new references.
|
1856
|
+
#
|
1818
1857
|
# @option params [Time,DateTime,Date,Integer,String] :event_time
|
1819
1858
|
# The time that the event occurred.
|
1820
1859
|
#
|
@@ -1833,6 +1872,12 @@ module Aws::SSMIncidents
|
|
1833
1872
|
# client_token: "ClientToken",
|
1834
1873
|
# event_data: "EventData",
|
1835
1874
|
# event_id: "UUID", # required
|
1875
|
+
# event_references: [
|
1876
|
+
# {
|
1877
|
+
# related_item_id: "GeneratedId",
|
1878
|
+
# resource: "Arn",
|
1879
|
+
# },
|
1880
|
+
# ],
|
1836
1881
|
# event_time: Time.now,
|
1837
1882
|
# event_type: "TimelineEventType",
|
1838
1883
|
# incident_record_arn: "Arn", # required
|
@@ -1860,7 +1905,7 @@ module Aws::SSMIncidents
|
|
1860
1905
|
params: params,
|
1861
1906
|
config: config)
|
1862
1907
|
context[:gem_name] = 'aws-sdk-ssmincidents'
|
1863
|
-
context[:gem_version] = '1.
|
1908
|
+
context[:gem_version] = '1.19.0'
|
1864
1909
|
Seahorse::Client::Request.new(handlers, context)
|
1865
1910
|
end
|
1866
1911
|
|
@@ -51,12 +51,15 @@ module Aws::SSMIncidents
|
|
51
51
|
EmptyChatChannel = Shapes::StructureShape.new(name: 'EmptyChatChannel')
|
52
52
|
EngagementSet = Shapes::ListShape.new(name: 'EngagementSet')
|
53
53
|
EventData = Shapes::StringShape.new(name: 'EventData')
|
54
|
+
EventReference = Shapes::UnionShape.new(name: 'EventReference')
|
55
|
+
EventReferenceList = Shapes::ListShape.new(name: 'EventReferenceList')
|
54
56
|
EventSummary = Shapes::StructureShape.new(name: 'EventSummary')
|
55
57
|
EventSummaryList = Shapes::ListShape.new(name: 'EventSummaryList')
|
56
58
|
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
57
59
|
Filter = Shapes::StructureShape.new(name: 'Filter')
|
58
60
|
FilterKeyString = Shapes::StringShape.new(name: 'FilterKeyString')
|
59
61
|
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
62
|
+
GeneratedId = Shapes::StringShape.new(name: 'GeneratedId')
|
60
63
|
GetIncidentRecordInput = Shapes::StructureShape.new(name: 'GetIncidentRecordInput')
|
61
64
|
GetIncidentRecordOutput = Shapes::StructureShape.new(name: 'GetIncidentRecordOutput')
|
62
65
|
GetReplicationSetInput = Shapes::StructureShape.new(name: 'GetReplicationSetInput')
|
@@ -261,6 +264,7 @@ module Aws::SSMIncidents
|
|
261
264
|
|
262
265
|
CreateTimelineEventInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
263
266
|
CreateTimelineEventInput.add_member(:event_data, Shapes::ShapeRef.new(shape: EventData, required: true, location_name: "eventData"))
|
267
|
+
CreateTimelineEventInput.add_member(:event_references, Shapes::ShapeRef.new(shape: EventReferenceList, location_name: "eventReferences"))
|
264
268
|
CreateTimelineEventInput.add_member(:event_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "eventTime"))
|
265
269
|
CreateTimelineEventInput.add_member(:event_type, Shapes::ShapeRef.new(shape: TimelineEventType, required: true, location_name: "eventType"))
|
266
270
|
CreateTimelineEventInput.add_member(:incident_record_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "incidentRecordArn"))
|
@@ -313,7 +317,18 @@ module Aws::SSMIncidents
|
|
313
317
|
|
314
318
|
EngagementSet.member = Shapes::ShapeRef.new(shape: SsmContactsArn)
|
315
319
|
|
320
|
+
EventReference.add_member(:related_item_id, Shapes::ShapeRef.new(shape: GeneratedId, location_name: "relatedItemId"))
|
321
|
+
EventReference.add_member(:resource, Shapes::ShapeRef.new(shape: Arn, location_name: "resource"))
|
322
|
+
EventReference.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
323
|
+
EventReference.add_member_subclass(:related_item_id, Types::EventReference::RelatedItemId)
|
324
|
+
EventReference.add_member_subclass(:resource, Types::EventReference::Resource)
|
325
|
+
EventReference.add_member_subclass(:unknown, Types::EventReference::Unknown)
|
326
|
+
EventReference.struct_class = Types::EventReference
|
327
|
+
|
328
|
+
EventReferenceList.member = Shapes::ShapeRef.new(shape: EventReference)
|
329
|
+
|
316
330
|
EventSummary.add_member(:event_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "eventId"))
|
331
|
+
EventSummary.add_member(:event_references, Shapes::ShapeRef.new(shape: EventReferenceList, location_name: "eventReferences"))
|
317
332
|
EventSummary.add_member(:event_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "eventTime"))
|
318
333
|
EventSummary.add_member(:event_type, Shapes::ShapeRef.new(shape: TimelineEventType, required: true, location_name: "eventType"))
|
319
334
|
EventSummary.add_member(:event_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "eventUpdatedTime"))
|
@@ -510,6 +525,7 @@ module Aws::SSMIncidents
|
|
510
525
|
RegionMapInputValue.add_member(:sse_kms_key_id, Shapes::ShapeRef.new(shape: SseKmsKey, location_name: "sseKmsKeyId"))
|
511
526
|
RegionMapInputValue.struct_class = Types::RegionMapInputValue
|
512
527
|
|
528
|
+
RelatedItem.add_member(:generated_id, Shapes::ShapeRef.new(shape: GeneratedId, location_name: "generatedId"))
|
513
529
|
RelatedItem.add_member(:identifier, Shapes::ShapeRef.new(shape: ItemIdentifier, required: true, location_name: "identifier"))
|
514
530
|
RelatedItem.add_member(:title, Shapes::ShapeRef.new(shape: RelatedItemTitleString, location_name: "title"))
|
515
531
|
RelatedItem.struct_class = Types::RelatedItem
|
@@ -609,6 +625,7 @@ module Aws::SSMIncidents
|
|
609
625
|
|
610
626
|
TimelineEvent.add_member(:event_data, Shapes::ShapeRef.new(shape: EventData, required: true, location_name: "eventData"))
|
611
627
|
TimelineEvent.add_member(:event_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "eventId"))
|
628
|
+
TimelineEvent.add_member(:event_references, Shapes::ShapeRef.new(shape: EventReferenceList, location_name: "eventReferences"))
|
612
629
|
TimelineEvent.add_member(:event_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "eventTime"))
|
613
630
|
TimelineEvent.add_member(:event_type, Shapes::ShapeRef.new(shape: TimelineEventType, required: true, location_name: "eventType"))
|
614
631
|
TimelineEvent.add_member(:event_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "eventUpdatedTime"))
|
@@ -689,6 +706,7 @@ module Aws::SSMIncidents
|
|
689
706
|
UpdateTimelineEventInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
690
707
|
UpdateTimelineEventInput.add_member(:event_data, Shapes::ShapeRef.new(shape: EventData, location_name: "eventData"))
|
691
708
|
UpdateTimelineEventInput.add_member(:event_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "eventId"))
|
709
|
+
UpdateTimelineEventInput.add_member(:event_references, Shapes::ShapeRef.new(shape: EventReferenceList, location_name: "eventReferences"))
|
692
710
|
UpdateTimelineEventInput.add_member(:event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "eventTime"))
|
693
711
|
UpdateTimelineEventInput.add_member(:event_type, Shapes::ShapeRef.new(shape: TimelineEventType, location_name: "eventType"))
|
694
712
|
UpdateTimelineEventInput.add_member(:incident_record_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "incidentRecordArn"))
|
@@ -399,6 +399,12 @@ module Aws::SSMIncidents
|
|
399
399
|
# {
|
400
400
|
# client_token: "ClientToken",
|
401
401
|
# event_data: "EventData", # required
|
402
|
+
# event_references: [
|
403
|
+
# {
|
404
|
+
# related_item_id: "GeneratedId",
|
405
|
+
# resource: "Arn",
|
406
|
+
# },
|
407
|
+
# ],
|
402
408
|
# event_time: Time.now, # required
|
403
409
|
# event_type: "TimelineEventType", # required
|
404
410
|
# incident_record_arn: "Arn", # required
|
@@ -416,6 +422,17 @@ module Aws::SSMIncidents
|
|
416
422
|
# A short description of the event.
|
417
423
|
# @return [String]
|
418
424
|
#
|
425
|
+
# @!attribute [rw] event_references
|
426
|
+
# Adds one or more references to the `TimelineEvent`. A reference can
|
427
|
+
# be an Amazon Web Services resource involved in the incident or in
|
428
|
+
# some way associated with it. When you specify a reference, you enter
|
429
|
+
# the Amazon Resource Name (ARN) of the resource. You can also specify
|
430
|
+
# a related item. As an example, you could specify the ARN of an
|
431
|
+
# Amazon DynamoDB (DynamoDB) table. The table for this example is the
|
432
|
+
# resource. You could also specify a Amazon CloudWatch metric for that
|
433
|
+
# table. The metric is the related item.
|
434
|
+
# @return [Array<Types::EventReference>]
|
435
|
+
#
|
419
436
|
# @!attribute [rw] event_time
|
420
437
|
# The time that the event occurred.
|
421
438
|
# @return [Time]
|
@@ -435,6 +452,7 @@ module Aws::SSMIncidents
|
|
435
452
|
class CreateTimelineEventInput < Struct.new(
|
436
453
|
:client_token,
|
437
454
|
:event_data,
|
455
|
+
:event_references,
|
438
456
|
:event_time,
|
439
457
|
:event_type,
|
440
458
|
:incident_record_arn)
|
@@ -647,12 +665,48 @@ module Aws::SSMIncidents
|
|
647
665
|
#
|
648
666
|
class EmptyChatChannel < Aws::EmptyStructure; end
|
649
667
|
|
668
|
+
# An item referenced in a `TimelineEvent` that is involved in or somehow
|
669
|
+
# associated with an incident. You can specify an Amazon Resource Name
|
670
|
+
# (ARN) for an Amazon Web Services resource or a `RelatedItem` ID.
|
671
|
+
#
|
672
|
+
# @note EventReference is a union - when making an API calls you must set exactly one of the members.
|
673
|
+
#
|
674
|
+
# @note EventReference is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EventReference corresponding to the set member.
|
675
|
+
#
|
676
|
+
# @!attribute [rw] related_item_id
|
677
|
+
# The ID of a `RelatedItem` referenced in a `TimelineEvent`.
|
678
|
+
# @return [String]
|
679
|
+
#
|
680
|
+
# @!attribute [rw] resource
|
681
|
+
# The Amazon Resource Name (ARN) of an Amazon Web Services resource
|
682
|
+
# referenced in a `TimelineEvent`.
|
683
|
+
# @return [String]
|
684
|
+
#
|
685
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/EventReference AWS API Documentation
|
686
|
+
#
|
687
|
+
class EventReference < Struct.new(
|
688
|
+
:related_item_id,
|
689
|
+
:resource,
|
690
|
+
:unknown)
|
691
|
+
SENSITIVE = []
|
692
|
+
include Aws::Structure
|
693
|
+
include Aws::Structure::Union
|
694
|
+
|
695
|
+
class RelatedItemId < EventReference; end
|
696
|
+
class Resource < EventReference; end
|
697
|
+
class Unknown < EventReference; end
|
698
|
+
end
|
699
|
+
|
650
700
|
# Details about a timeline event during an incident.
|
651
701
|
#
|
652
702
|
# @!attribute [rw] event_id
|
653
703
|
# The timeline event ID.
|
654
704
|
# @return [String]
|
655
705
|
#
|
706
|
+
# @!attribute [rw] event_references
|
707
|
+
# A list of references in a `TimelineEvent`.
|
708
|
+
# @return [Array<Types::EventReference>]
|
709
|
+
#
|
656
710
|
# @!attribute [rw] event_time
|
657
711
|
# The time that the event occurred.
|
658
712
|
# @return [Time]
|
@@ -674,6 +728,7 @@ module Aws::SSMIncidents
|
|
674
728
|
#
|
675
729
|
class EventSummary < Struct.new(
|
676
730
|
:event_id,
|
731
|
+
:event_references,
|
677
732
|
:event_time,
|
678
733
|
:event_type,
|
679
734
|
:event_updated_time,
|
@@ -1704,6 +1759,7 @@ module Aws::SSMIncidents
|
|
1704
1759
|
# data as a hash:
|
1705
1760
|
#
|
1706
1761
|
# {
|
1762
|
+
# generated_id: "GeneratedId",
|
1707
1763
|
# identifier: { # required
|
1708
1764
|
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE, TASK
|
1709
1765
|
# value: { # required
|
@@ -1715,6 +1771,13 @@ module Aws::SSMIncidents
|
|
1715
1771
|
# title: "RelatedItemTitleString",
|
1716
1772
|
# }
|
1717
1773
|
#
|
1774
|
+
# @!attribute [rw] generated_id
|
1775
|
+
# A unique ID for a `RelatedItem`.
|
1776
|
+
#
|
1777
|
+
# Don't specify this parameter when you add a `RelatedItem` by using
|
1778
|
+
# the UpdateRelatedItems API action.
|
1779
|
+
# @return [String]
|
1780
|
+
#
|
1718
1781
|
# @!attribute [rw] identifier
|
1719
1782
|
# Details about the related item.
|
1720
1783
|
# @return [Types::ItemIdentifier]
|
@@ -1726,6 +1789,7 @@ module Aws::SSMIncidents
|
|
1726
1789
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/RelatedItem AWS API Documentation
|
1727
1790
|
#
|
1728
1791
|
class RelatedItem < Struct.new(
|
1792
|
+
:generated_id,
|
1729
1793
|
:identifier,
|
1730
1794
|
:title)
|
1731
1795
|
SENSITIVE = []
|
@@ -1990,6 +2054,7 @@ module Aws::SSMIncidents
|
|
1990
2054
|
# impact: 1,
|
1991
2055
|
# related_items: [
|
1992
2056
|
# {
|
2057
|
+
# generated_id: "GeneratedId",
|
1993
2058
|
# identifier: { # required
|
1994
2059
|
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE, TASK
|
1995
2060
|
# value: { # required
|
@@ -2152,6 +2217,10 @@ module Aws::SSMIncidents
|
|
2152
2217
|
# The ID of the timeline event.
|
2153
2218
|
# @return [String]
|
2154
2219
|
#
|
2220
|
+
# @!attribute [rw] event_references
|
2221
|
+
# A list of references in a `TimelineEvent`.
|
2222
|
+
# @return [Array<Types::EventReference>]
|
2223
|
+
#
|
2155
2224
|
# @!attribute [rw] event_time
|
2156
2225
|
# The time that the event occurred.
|
2157
2226
|
# @return [Time]
|
@@ -2175,6 +2244,7 @@ module Aws::SSMIncidents
|
|
2175
2244
|
class TimelineEvent < Struct.new(
|
2176
2245
|
:event_data,
|
2177
2246
|
:event_id,
|
2247
|
+
:event_references,
|
2178
2248
|
:event_time,
|
2179
2249
|
:event_type,
|
2180
2250
|
:event_updated_time,
|
@@ -2407,6 +2477,7 @@ module Aws::SSMIncidents
|
|
2407
2477
|
# incident_record_arn: "Arn", # required
|
2408
2478
|
# related_items_update: { # required
|
2409
2479
|
# item_to_add: {
|
2480
|
+
# generated_id: "GeneratedId",
|
2410
2481
|
# identifier: { # required
|
2411
2482
|
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE, TASK
|
2412
2483
|
# value: { # required
|
@@ -2692,6 +2763,12 @@ module Aws::SSMIncidents
|
|
2692
2763
|
# client_token: "ClientToken",
|
2693
2764
|
# event_data: "EventData",
|
2694
2765
|
# event_id: "UUID", # required
|
2766
|
+
# event_references: [
|
2767
|
+
# {
|
2768
|
+
# related_item_id: "GeneratedId",
|
2769
|
+
# resource: "Arn",
|
2770
|
+
# },
|
2771
|
+
# ],
|
2695
2772
|
# event_time: Time.now,
|
2696
2773
|
# event_type: "TimelineEventType",
|
2697
2774
|
# incident_record_arn: "Arn", # required
|
@@ -2714,6 +2791,21 @@ module Aws::SSMIncidents
|
|
2714
2791
|
# `ListTimelineEvents`.
|
2715
2792
|
# @return [String]
|
2716
2793
|
#
|
2794
|
+
# @!attribute [rw] event_references
|
2795
|
+
# Updates all existing references in a `TimelineEvent`. A reference
|
2796
|
+
# can be an Amazon Web Services resource involved in the incident or
|
2797
|
+
# in some way associated with it. When you specify a reference, you
|
2798
|
+
# enter the Amazon Resource Name (ARN) of the resource. You can also
|
2799
|
+
# specify a related item. As an example, you could specify the ARN of
|
2800
|
+
# an Amazon DynamoDB (DynamoDB) table. The table for this example is
|
2801
|
+
# the resource. You could also specify a Amazon CloudWatch metric for
|
2802
|
+
# that table. The metric is the related item.
|
2803
|
+
#
|
2804
|
+
# This update action overrides all existing references. If you want to
|
2805
|
+
# keep existing references, you must specify them in the call. If you
|
2806
|
+
# don't, this action removes them and enters only new references.
|
2807
|
+
# @return [Array<Types::EventReference>]
|
2808
|
+
#
|
2717
2809
|
# @!attribute [rw] event_time
|
2718
2810
|
# The time that the event occurred.
|
2719
2811
|
# @return [Time]
|
@@ -2733,6 +2825,7 @@ module Aws::SSMIncidents
|
|
2733
2825
|
:client_token,
|
2734
2826
|
:event_data,
|
2735
2827
|
:event_id,
|
2828
|
+
:event_references,
|
2736
2829
|
:event_time,
|
2737
2830
|
:event_type,
|
2738
2831
|
:incident_record_arn)
|
data/lib/aws-sdk-ssmincidents.rb
CHANGED
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.
|
4
|
+
version: 1.19.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-11-
|
11
|
+
date: 2022-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|