aws-sdk-ssmincidents 1.18.0 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssmincidents/client.rb +99 -1
- data/lib/aws-sdk-ssmincidents/client_api.rb +54 -0
- data/lib/aws-sdk-ssmincidents/types.rb +290 -1
- 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: f0916452fe2b57acc4d8657fd01a288ed4077c594f87dcc3b75c0fa930be8f4a
|
4
|
+
data.tar.gz: b2761b43a13eb81e78843155d3b2210dc57e6adc155fa85f7f92797e4e05e891
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 952b2f51278c74dacb3b651666a695a8bc74f27ad6fa6e0b1ff703a0729ca5e357b61dffe6bca9dfdb2460d6f6228e62f72fb25c90a3b258c5b2e2e52be0a69d
|
7
|
+
data.tar.gz: 9be9d43f8986f0e27a08c4804d098d1ad06bb7f2e2082dd860c131c36eb04b4f68789a5dbb667c1a3742829a6547d8a8ffc85cb35978bd97a244bcb21a86d2ef
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.20.0 (2022-11-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for PagerDuty integrations on ResponsePlan, IncidentRecord, and RelatedItem APIs
|
8
|
+
|
9
|
+
1.19.0 (2022-11-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.18.0 (2022-11-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.20.0
|
@@ -445,6 +445,10 @@ module Aws::SSMIncidents
|
|
445
445
|
# @option params [required, Types::IncidentTemplate] :incident_template
|
446
446
|
# Details used to create an incident when using this response plan.
|
447
447
|
#
|
448
|
+
# @option params [Array<Types::Integration>] :integrations
|
449
|
+
# Information about third-party services integrated into the response
|
450
|
+
# plan.
|
451
|
+
#
|
448
452
|
# @option params [required, String] :name
|
449
453
|
# The short format name of the response plan. Can't include spaces.
|
450
454
|
#
|
@@ -498,6 +502,17 @@ module Aws::SSMIncidents
|
|
498
502
|
# summary: "IncidentSummary",
|
499
503
|
# title: "IncidentTitle", # required
|
500
504
|
# },
|
505
|
+
# integrations: [
|
506
|
+
# {
|
507
|
+
# pager_duty_configuration: {
|
508
|
+
# name: "PagerDutyConfigurationNameString", # required
|
509
|
+
# pager_duty_incident_configuration: { # required
|
510
|
+
# service_id: "PagerDutyIncidentConfigurationServiceIdString", # required
|
511
|
+
# },
|
512
|
+
# secret_id: "PagerDutyConfigurationSecretIdString", # required
|
513
|
+
# },
|
514
|
+
# },
|
515
|
+
# ],
|
501
516
|
# name: "ResponsePlanName", # required
|
502
517
|
# tags: {
|
503
518
|
# "TagKey" => "TagValue",
|
@@ -533,6 +548,16 @@ module Aws::SSMIncidents
|
|
533
548
|
# @option params [required, String] :event_data
|
534
549
|
# A short description of the event.
|
535
550
|
#
|
551
|
+
# @option params [Array<Types::EventReference>] :event_references
|
552
|
+
# Adds one or more references to the `TimelineEvent`. A reference can be
|
553
|
+
# an Amazon Web Services resource involved in the incident or in some
|
554
|
+
# way associated with it. When you specify a reference, you enter the
|
555
|
+
# Amazon Resource Name (ARN) of the resource. You can also specify a
|
556
|
+
# related item. As an example, you could specify the ARN of an Amazon
|
557
|
+
# DynamoDB (DynamoDB) table. The table for this example is the resource.
|
558
|
+
# You could also specify a Amazon CloudWatch metric for that table. The
|
559
|
+
# metric is the related item.
|
560
|
+
#
|
536
561
|
# @option params [required, Time,DateTime,Date,Integer,String] :event_time
|
537
562
|
# The time that the event occurred.
|
538
563
|
#
|
@@ -554,6 +579,12 @@ module Aws::SSMIncidents
|
|
554
579
|
# resp = client.create_timeline_event({
|
555
580
|
# client_token: "ClientToken",
|
556
581
|
# event_data: "EventData", # required
|
582
|
+
# event_references: [
|
583
|
+
# {
|
584
|
+
# related_item_id: "GeneratedId",
|
585
|
+
# resource: "Arn",
|
586
|
+
# },
|
587
|
+
# ],
|
557
588
|
# event_time: Time.now, # required
|
558
589
|
# event_type: "TimelineEventType", # required
|
559
590
|
# incident_record_arn: "Arn", # required
|
@@ -852,6 +883,7 @@ module Aws::SSMIncidents
|
|
852
883
|
# * {Types::GetResponsePlanOutput#display_name #display_name} => String
|
853
884
|
# * {Types::GetResponsePlanOutput#engagements #engagements} => Array<String>
|
854
885
|
# * {Types::GetResponsePlanOutput#incident_template #incident_template} => Types::IncidentTemplate
|
886
|
+
# * {Types::GetResponsePlanOutput#integrations #integrations} => Array<Types::Integration>
|
855
887
|
# * {Types::GetResponsePlanOutput#name #name} => String
|
856
888
|
#
|
857
889
|
# @example Request syntax with placeholder values
|
@@ -886,6 +918,10 @@ module Aws::SSMIncidents
|
|
886
918
|
# resp.incident_template.notification_targets[0].sns_topic_arn #=> String
|
887
919
|
# resp.incident_template.summary #=> String
|
888
920
|
# resp.incident_template.title #=> String
|
921
|
+
# resp.integrations #=> Array
|
922
|
+
# resp.integrations[0].pager_duty_configuration.name #=> String
|
923
|
+
# resp.integrations[0].pager_duty_configuration.pager_duty_incident_configuration.service_id #=> String
|
924
|
+
# resp.integrations[0].pager_duty_configuration.secret_id #=> String
|
889
925
|
# resp.name #=> String
|
890
926
|
#
|
891
927
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/GetResponsePlan AWS API Documentation
|
@@ -922,6 +958,9 @@ module Aws::SSMIncidents
|
|
922
958
|
#
|
923
959
|
# resp.event.event_data #=> String
|
924
960
|
# resp.event.event_id #=> String
|
961
|
+
# resp.event.event_references #=> Array
|
962
|
+
# resp.event.event_references[0].related_item_id #=> String
|
963
|
+
# resp.event.event_references[0].resource #=> String
|
925
964
|
# resp.event.event_time #=> Time
|
926
965
|
# resp.event.event_type #=> String
|
927
966
|
# resp.event.event_updated_time #=> Time
|
@@ -1051,9 +1090,13 @@ module Aws::SSMIncidents
|
|
1051
1090
|
#
|
1052
1091
|
# resp.next_token #=> String
|
1053
1092
|
# resp.related_items #=> Array
|
1093
|
+
# resp.related_items[0].generated_id #=> String
|
1054
1094
|
# resp.related_items[0].identifier.type #=> String, one of "ANALYSIS", "INCIDENT", "METRIC", "PARENT", "ATTACHMENT", "OTHER", "AUTOMATION", "INVOLVED_RESOURCE", "TASK"
|
1055
1095
|
# resp.related_items[0].identifier.value.arn #=> String
|
1056
1096
|
# resp.related_items[0].identifier.value.metric_definition #=> String
|
1097
|
+
# resp.related_items[0].identifier.value.pager_duty_incident_detail.auto_resolve #=> Boolean
|
1098
|
+
# resp.related_items[0].identifier.value.pager_duty_incident_detail.id #=> String
|
1099
|
+
# resp.related_items[0].identifier.value.pager_duty_incident_detail.secret_id #=> String
|
1057
1100
|
# resp.related_items[0].identifier.value.url #=> String
|
1058
1101
|
# resp.related_items[0].title #=> String
|
1059
1102
|
#
|
@@ -1243,6 +1286,9 @@ module Aws::SSMIncidents
|
|
1243
1286
|
#
|
1244
1287
|
# resp.event_summaries #=> Array
|
1245
1288
|
# resp.event_summaries[0].event_id #=> String
|
1289
|
+
# resp.event_summaries[0].event_references #=> Array
|
1290
|
+
# resp.event_summaries[0].event_references[0].related_item_id #=> String
|
1291
|
+
# resp.event_summaries[0].event_references[0].resource #=> String
|
1246
1292
|
# resp.event_summaries[0].event_time #=> Time
|
1247
1293
|
# resp.event_summaries[0].event_type #=> String
|
1248
1294
|
# resp.event_summaries[0].event_updated_time #=> Time
|
@@ -1357,11 +1403,17 @@ module Aws::SSMIncidents
|
|
1357
1403
|
# impact: 1,
|
1358
1404
|
# related_items: [
|
1359
1405
|
# {
|
1406
|
+
# generated_id: "GeneratedId",
|
1360
1407
|
# identifier: { # required
|
1361
1408
|
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE, TASK
|
1362
1409
|
# value: { # required
|
1363
1410
|
# arn: "Arn",
|
1364
1411
|
# metric_definition: "MetricDefinition",
|
1412
|
+
# pager_duty_incident_detail: {
|
1413
|
+
# auto_resolve: false,
|
1414
|
+
# id: "PagerDutyIncidentDetailIdString", # required
|
1415
|
+
# secret_id: "PagerDutyIncidentDetailSecretIdString",
|
1416
|
+
# },
|
1365
1417
|
# url: "Url",
|
1366
1418
|
# },
|
1367
1419
|
# },
|
@@ -1600,11 +1652,17 @@ module Aws::SSMIncidents
|
|
1600
1652
|
# incident_record_arn: "Arn", # required
|
1601
1653
|
# related_items_update: { # required
|
1602
1654
|
# item_to_add: {
|
1655
|
+
# generated_id: "GeneratedId",
|
1603
1656
|
# identifier: { # required
|
1604
1657
|
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE, TASK
|
1605
1658
|
# value: { # required
|
1606
1659
|
# arn: "Arn",
|
1607
1660
|
# metric_definition: "MetricDefinition",
|
1661
|
+
# pager_duty_incident_detail: {
|
1662
|
+
# auto_resolve: false,
|
1663
|
+
# id: "PagerDutyIncidentDetailIdString", # required
|
1664
|
+
# secret_id: "PagerDutyIncidentDetailSecretIdString",
|
1665
|
+
# },
|
1608
1666
|
# url: "Url",
|
1609
1667
|
# },
|
1610
1668
|
# },
|
@@ -1615,6 +1673,11 @@ module Aws::SSMIncidents
|
|
1615
1673
|
# value: { # required
|
1616
1674
|
# arn: "Arn",
|
1617
1675
|
# metric_definition: "MetricDefinition",
|
1676
|
+
# pager_duty_incident_detail: {
|
1677
|
+
# auto_resolve: false,
|
1678
|
+
# id: "PagerDutyIncidentDetailIdString", # required
|
1679
|
+
# secret_id: "PagerDutyIncidentDetailSecretIdString",
|
1680
|
+
# },
|
1618
1681
|
# url: "Url",
|
1619
1682
|
# },
|
1620
1683
|
# },
|
@@ -1743,6 +1806,10 @@ module Aws::SSMIncidents
|
|
1743
1806
|
# The short format name of the incident. The title can't contain
|
1744
1807
|
# spaces.
|
1745
1808
|
#
|
1809
|
+
# @option params [Array<Types::Integration>] :integrations
|
1810
|
+
# Information about third-party services integrated into the response
|
1811
|
+
# plan.
|
1812
|
+
#
|
1746
1813
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1747
1814
|
#
|
1748
1815
|
# @example Request syntax with placeholder values
|
@@ -1787,6 +1854,17 @@ module Aws::SSMIncidents
|
|
1787
1854
|
# "TagKey" => "TagValue",
|
1788
1855
|
# },
|
1789
1856
|
# incident_template_title: "IncidentTitle",
|
1857
|
+
# integrations: [
|
1858
|
+
# {
|
1859
|
+
# pager_duty_configuration: {
|
1860
|
+
# name: "PagerDutyConfigurationNameString", # required
|
1861
|
+
# pager_duty_incident_configuration: { # required
|
1862
|
+
# service_id: "PagerDutyIncidentConfigurationServiceIdString", # required
|
1863
|
+
# },
|
1864
|
+
# secret_id: "PagerDutyConfigurationSecretIdString", # required
|
1865
|
+
# },
|
1866
|
+
# },
|
1867
|
+
# ],
|
1790
1868
|
# })
|
1791
1869
|
#
|
1792
1870
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/UpdateResponsePlan AWS API Documentation
|
@@ -1815,6 +1893,20 @@ module Aws::SSMIncidents
|
|
1815
1893
|
# The ID of the event you are updating. You can find this by using
|
1816
1894
|
# `ListTimelineEvents`.
|
1817
1895
|
#
|
1896
|
+
# @option params [Array<Types::EventReference>] :event_references
|
1897
|
+
# Updates all existing references in a `TimelineEvent`. A reference can
|
1898
|
+
# be an Amazon Web Services resource involved in the incident or in some
|
1899
|
+
# way associated with it. When you specify a reference, you enter the
|
1900
|
+
# Amazon Resource Name (ARN) of the resource. You can also specify a
|
1901
|
+
# related item. As an example, you could specify the ARN of an Amazon
|
1902
|
+
# DynamoDB (DynamoDB) table. The table for this example is the resource.
|
1903
|
+
# You could also specify a Amazon CloudWatch metric for that table. The
|
1904
|
+
# metric is the related item.
|
1905
|
+
#
|
1906
|
+
# This update action overrides all existing references. If you want to
|
1907
|
+
# keep existing references, you must specify them in the call. If you
|
1908
|
+
# don't, this action removes them and enters only new references.
|
1909
|
+
#
|
1818
1910
|
# @option params [Time,DateTime,Date,Integer,String] :event_time
|
1819
1911
|
# The time that the event occurred.
|
1820
1912
|
#
|
@@ -1833,6 +1925,12 @@ module Aws::SSMIncidents
|
|
1833
1925
|
# client_token: "ClientToken",
|
1834
1926
|
# event_data: "EventData",
|
1835
1927
|
# event_id: "UUID", # required
|
1928
|
+
# event_references: [
|
1929
|
+
# {
|
1930
|
+
# related_item_id: "GeneratedId",
|
1931
|
+
# resource: "Arn",
|
1932
|
+
# },
|
1933
|
+
# ],
|
1836
1934
|
# event_time: Time.now,
|
1837
1935
|
# event_type: "TimelineEventType",
|
1838
1936
|
# incident_record_arn: "Arn", # required
|
@@ -1860,7 +1958,7 @@ module Aws::SSMIncidents
|
|
1860
1958
|
params: params,
|
1861
1959
|
config: config)
|
1862
1960
|
context[:gem_name] = 'aws-sdk-ssmincidents'
|
1863
|
-
context[:gem_version] = '1.
|
1961
|
+
context[:gem_version] = '1.20.0'
|
1864
1962
|
Seahorse::Client::Request.new(handlers, context)
|
1865
1963
|
end
|
1866
1964
|
|
@@ -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')
|
@@ -79,6 +82,8 @@ module Aws::SSMIncidents
|
|
79
82
|
IncidentTitle = Shapes::StringShape.new(name: 'IncidentTitle')
|
80
83
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
81
84
|
IntegerList = Shapes::ListShape.new(name: 'IntegerList')
|
85
|
+
Integration = Shapes::UnionShape.new(name: 'Integration')
|
86
|
+
Integrations = Shapes::ListShape.new(name: 'Integrations')
|
82
87
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
83
88
|
ItemIdentifier = Shapes::StructureShape.new(name: 'ItemIdentifier')
|
84
89
|
ItemType = Shapes::StringShape.new(name: 'ItemType')
|
@@ -100,6 +105,14 @@ module Aws::SSMIncidents
|
|
100
105
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
101
106
|
NotificationTargetItem = Shapes::UnionShape.new(name: 'NotificationTargetItem')
|
102
107
|
NotificationTargetSet = Shapes::ListShape.new(name: 'NotificationTargetSet')
|
108
|
+
PagerDutyConfiguration = Shapes::StructureShape.new(name: 'PagerDutyConfiguration')
|
109
|
+
PagerDutyConfigurationNameString = Shapes::StringShape.new(name: 'PagerDutyConfigurationNameString')
|
110
|
+
PagerDutyConfigurationSecretIdString = Shapes::StringShape.new(name: 'PagerDutyConfigurationSecretIdString')
|
111
|
+
PagerDutyIncidentConfiguration = Shapes::StructureShape.new(name: 'PagerDutyIncidentConfiguration')
|
112
|
+
PagerDutyIncidentConfigurationServiceIdString = Shapes::StringShape.new(name: 'PagerDutyIncidentConfigurationServiceIdString')
|
113
|
+
PagerDutyIncidentDetail = Shapes::StructureShape.new(name: 'PagerDutyIncidentDetail')
|
114
|
+
PagerDutyIncidentDetailIdString = Shapes::StringShape.new(name: 'PagerDutyIncidentDetailIdString')
|
115
|
+
PagerDutyIncidentDetailSecretIdString = Shapes::StringShape.new(name: 'PagerDutyIncidentDetailSecretIdString')
|
103
116
|
Policy = Shapes::StringShape.new(name: 'Policy')
|
104
117
|
PolicyId = Shapes::StringShape.new(name: 'PolicyId')
|
105
118
|
PutResourcePolicyInput = Shapes::StructureShape.new(name: 'PutResourcePolicyInput')
|
@@ -252,6 +265,7 @@ module Aws::SSMIncidents
|
|
252
265
|
CreateResponsePlanInput.add_member(:display_name, Shapes::ShapeRef.new(shape: ResponsePlanDisplayName, location_name: "displayName"))
|
253
266
|
CreateResponsePlanInput.add_member(:engagements, Shapes::ShapeRef.new(shape: EngagementSet, location_name: "engagements"))
|
254
267
|
CreateResponsePlanInput.add_member(:incident_template, Shapes::ShapeRef.new(shape: IncidentTemplate, required: true, location_name: "incidentTemplate"))
|
268
|
+
CreateResponsePlanInput.add_member(:integrations, Shapes::ShapeRef.new(shape: Integrations, location_name: "integrations"))
|
255
269
|
CreateResponsePlanInput.add_member(:name, Shapes::ShapeRef.new(shape: ResponsePlanName, required: true, location_name: "name"))
|
256
270
|
CreateResponsePlanInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
257
271
|
CreateResponsePlanInput.struct_class = Types::CreateResponsePlanInput
|
@@ -261,6 +275,7 @@ module Aws::SSMIncidents
|
|
261
275
|
|
262
276
|
CreateTimelineEventInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
263
277
|
CreateTimelineEventInput.add_member(:event_data, Shapes::ShapeRef.new(shape: EventData, required: true, location_name: "eventData"))
|
278
|
+
CreateTimelineEventInput.add_member(:event_references, Shapes::ShapeRef.new(shape: EventReferenceList, location_name: "eventReferences"))
|
264
279
|
CreateTimelineEventInput.add_member(:event_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "eventTime"))
|
265
280
|
CreateTimelineEventInput.add_member(:event_type, Shapes::ShapeRef.new(shape: TimelineEventType, required: true, location_name: "eventType"))
|
266
281
|
CreateTimelineEventInput.add_member(:incident_record_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "incidentRecordArn"))
|
@@ -313,7 +328,18 @@ module Aws::SSMIncidents
|
|
313
328
|
|
314
329
|
EngagementSet.member = Shapes::ShapeRef.new(shape: SsmContactsArn)
|
315
330
|
|
331
|
+
EventReference.add_member(:related_item_id, Shapes::ShapeRef.new(shape: GeneratedId, location_name: "relatedItemId"))
|
332
|
+
EventReference.add_member(:resource, Shapes::ShapeRef.new(shape: Arn, location_name: "resource"))
|
333
|
+
EventReference.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
334
|
+
EventReference.add_member_subclass(:related_item_id, Types::EventReference::RelatedItemId)
|
335
|
+
EventReference.add_member_subclass(:resource, Types::EventReference::Resource)
|
336
|
+
EventReference.add_member_subclass(:unknown, Types::EventReference::Unknown)
|
337
|
+
EventReference.struct_class = Types::EventReference
|
338
|
+
|
339
|
+
EventReferenceList.member = Shapes::ShapeRef.new(shape: EventReference)
|
340
|
+
|
316
341
|
EventSummary.add_member(:event_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "eventId"))
|
342
|
+
EventSummary.add_member(:event_references, Shapes::ShapeRef.new(shape: EventReferenceList, location_name: "eventReferences"))
|
317
343
|
EventSummary.add_member(:event_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "eventTime"))
|
318
344
|
EventSummary.add_member(:event_type, Shapes::ShapeRef.new(shape: TimelineEventType, required: true, location_name: "eventType"))
|
319
345
|
EventSummary.add_member(:event_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "eventUpdatedTime"))
|
@@ -358,6 +384,7 @@ module Aws::SSMIncidents
|
|
358
384
|
GetResponsePlanOutput.add_member(:display_name, Shapes::ShapeRef.new(shape: ResponsePlanDisplayName, location_name: "displayName"))
|
359
385
|
GetResponsePlanOutput.add_member(:engagements, Shapes::ShapeRef.new(shape: EngagementSet, location_name: "engagements"))
|
360
386
|
GetResponsePlanOutput.add_member(:incident_template, Shapes::ShapeRef.new(shape: IncidentTemplate, required: true, location_name: "incidentTemplate"))
|
387
|
+
GetResponsePlanOutput.add_member(:integrations, Shapes::ShapeRef.new(shape: Integrations, location_name: "integrations"))
|
361
388
|
GetResponsePlanOutput.add_member(:name, Shapes::ShapeRef.new(shape: ResponsePlanName, required: true, location_name: "name"))
|
362
389
|
GetResponsePlanOutput.struct_class = Types::GetResponsePlanOutput
|
363
390
|
|
@@ -411,6 +438,14 @@ module Aws::SSMIncidents
|
|
411
438
|
|
412
439
|
IntegerList.member = Shapes::ShapeRef.new(shape: Integer)
|
413
440
|
|
441
|
+
Integration.add_member(:pager_duty_configuration, Shapes::ShapeRef.new(shape: PagerDutyConfiguration, location_name: "pagerDutyConfiguration"))
|
442
|
+
Integration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
443
|
+
Integration.add_member_subclass(:pager_duty_configuration, Types::Integration::PagerDutyConfiguration)
|
444
|
+
Integration.add_member_subclass(:unknown, Types::Integration::Unknown)
|
445
|
+
Integration.struct_class = Types::Integration
|
446
|
+
|
447
|
+
Integrations.member = Shapes::ShapeRef.new(shape: Integration)
|
448
|
+
|
414
449
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
|
415
450
|
InternalServerException.struct_class = Types::InternalServerException
|
416
451
|
|
@@ -420,10 +455,12 @@ module Aws::SSMIncidents
|
|
420
455
|
|
421
456
|
ItemValue.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
|
422
457
|
ItemValue.add_member(:metric_definition, Shapes::ShapeRef.new(shape: MetricDefinition, location_name: "metricDefinition"))
|
458
|
+
ItemValue.add_member(:pager_duty_incident_detail, Shapes::ShapeRef.new(shape: PagerDutyIncidentDetail, location_name: "pagerDutyIncidentDetail"))
|
423
459
|
ItemValue.add_member(:url, Shapes::ShapeRef.new(shape: Url, location_name: "url"))
|
424
460
|
ItemValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
425
461
|
ItemValue.add_member_subclass(:arn, Types::ItemValue::Arn)
|
426
462
|
ItemValue.add_member_subclass(:metric_definition, Types::ItemValue::MetricDefinition)
|
463
|
+
ItemValue.add_member_subclass(:pager_duty_incident_detail, Types::ItemValue::PagerDutyIncidentDetail)
|
427
464
|
ItemValue.add_member_subclass(:url, Types::ItemValue::Url)
|
428
465
|
ItemValue.add_member_subclass(:unknown, Types::ItemValue::Unknown)
|
429
466
|
ItemValue.struct_class = Types::ItemValue
|
@@ -488,6 +525,19 @@ module Aws::SSMIncidents
|
|
488
525
|
|
489
526
|
NotificationTargetSet.member = Shapes::ShapeRef.new(shape: NotificationTargetItem)
|
490
527
|
|
528
|
+
PagerDutyConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: PagerDutyConfigurationNameString, required: true, location_name: "name"))
|
529
|
+
PagerDutyConfiguration.add_member(:pager_duty_incident_configuration, Shapes::ShapeRef.new(shape: PagerDutyIncidentConfiguration, required: true, location_name: "pagerDutyIncidentConfiguration"))
|
530
|
+
PagerDutyConfiguration.add_member(:secret_id, Shapes::ShapeRef.new(shape: PagerDutyConfigurationSecretIdString, required: true, location_name: "secretId"))
|
531
|
+
PagerDutyConfiguration.struct_class = Types::PagerDutyConfiguration
|
532
|
+
|
533
|
+
PagerDutyIncidentConfiguration.add_member(:service_id, Shapes::ShapeRef.new(shape: PagerDutyIncidentConfigurationServiceIdString, required: true, location_name: "serviceId"))
|
534
|
+
PagerDutyIncidentConfiguration.struct_class = Types::PagerDutyIncidentConfiguration
|
535
|
+
|
536
|
+
PagerDutyIncidentDetail.add_member(:auto_resolve, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoResolve"))
|
537
|
+
PagerDutyIncidentDetail.add_member(:id, Shapes::ShapeRef.new(shape: PagerDutyIncidentDetailIdString, required: true, location_name: "id"))
|
538
|
+
PagerDutyIncidentDetail.add_member(:secret_id, Shapes::ShapeRef.new(shape: PagerDutyIncidentDetailSecretIdString, location_name: "secretId"))
|
539
|
+
PagerDutyIncidentDetail.struct_class = Types::PagerDutyIncidentDetail
|
540
|
+
|
491
541
|
PutResourcePolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "policy"))
|
492
542
|
PutResourcePolicyInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
|
493
543
|
PutResourcePolicyInput.struct_class = Types::PutResourcePolicyInput
|
@@ -510,6 +560,7 @@ module Aws::SSMIncidents
|
|
510
560
|
RegionMapInputValue.add_member(:sse_kms_key_id, Shapes::ShapeRef.new(shape: SseKmsKey, location_name: "sseKmsKeyId"))
|
511
561
|
RegionMapInputValue.struct_class = Types::RegionMapInputValue
|
512
562
|
|
563
|
+
RelatedItem.add_member(:generated_id, Shapes::ShapeRef.new(shape: GeneratedId, location_name: "generatedId"))
|
513
564
|
RelatedItem.add_member(:identifier, Shapes::ShapeRef.new(shape: ItemIdentifier, required: true, location_name: "identifier"))
|
514
565
|
RelatedItem.add_member(:title, Shapes::ShapeRef.new(shape: RelatedItemTitleString, location_name: "title"))
|
515
566
|
RelatedItem.struct_class = Types::RelatedItem
|
@@ -609,6 +660,7 @@ module Aws::SSMIncidents
|
|
609
660
|
|
610
661
|
TimelineEvent.add_member(:event_data, Shapes::ShapeRef.new(shape: EventData, required: true, location_name: "eventData"))
|
611
662
|
TimelineEvent.add_member(:event_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "eventId"))
|
663
|
+
TimelineEvent.add_member(:event_references, Shapes::ShapeRef.new(shape: EventReferenceList, location_name: "eventReferences"))
|
612
664
|
TimelineEvent.add_member(:event_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "eventTime"))
|
613
665
|
TimelineEvent.add_member(:event_type, Shapes::ShapeRef.new(shape: TimelineEventType, required: true, location_name: "eventType"))
|
614
666
|
TimelineEvent.add_member(:event_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "eventUpdatedTime"))
|
@@ -682,6 +734,7 @@ module Aws::SSMIncidents
|
|
682
734
|
UpdateResponsePlanInput.add_member(:incident_template_summary, Shapes::ShapeRef.new(shape: IncidentSummary, location_name: "incidentTemplateSummary"))
|
683
735
|
UpdateResponsePlanInput.add_member(:incident_template_tags, Shapes::ShapeRef.new(shape: TagMapUpdate, location_name: "incidentTemplateTags"))
|
684
736
|
UpdateResponsePlanInput.add_member(:incident_template_title, Shapes::ShapeRef.new(shape: IncidentTitle, location_name: "incidentTemplateTitle"))
|
737
|
+
UpdateResponsePlanInput.add_member(:integrations, Shapes::ShapeRef.new(shape: Integrations, location_name: "integrations"))
|
685
738
|
UpdateResponsePlanInput.struct_class = Types::UpdateResponsePlanInput
|
686
739
|
|
687
740
|
UpdateResponsePlanOutput.struct_class = Types::UpdateResponsePlanOutput
|
@@ -689,6 +742,7 @@ module Aws::SSMIncidents
|
|
689
742
|
UpdateTimelineEventInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
690
743
|
UpdateTimelineEventInput.add_member(:event_data, Shapes::ShapeRef.new(shape: EventData, location_name: "eventData"))
|
691
744
|
UpdateTimelineEventInput.add_member(:event_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "eventId"))
|
745
|
+
UpdateTimelineEventInput.add_member(:event_references, Shapes::ShapeRef.new(shape: EventReferenceList, location_name: "eventReferences"))
|
692
746
|
UpdateTimelineEventInput.add_member(:event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "eventTime"))
|
693
747
|
UpdateTimelineEventInput.add_member(:event_type, Shapes::ShapeRef.new(shape: TimelineEventType, location_name: "eventType"))
|
694
748
|
UpdateTimelineEventInput.add_member(:incident_record_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "incidentRecordArn"))
|
@@ -321,6 +321,17 @@ module Aws::SSMIncidents
|
|
321
321
|
# summary: "IncidentSummary",
|
322
322
|
# title: "IncidentTitle", # required
|
323
323
|
# },
|
324
|
+
# integrations: [
|
325
|
+
# {
|
326
|
+
# pager_duty_configuration: {
|
327
|
+
# name: "PagerDutyConfigurationNameString", # required
|
328
|
+
# pager_duty_incident_configuration: { # required
|
329
|
+
# service_id: "PagerDutyIncidentConfigurationServiceIdString", # required
|
330
|
+
# },
|
331
|
+
# secret_id: "PagerDutyConfigurationSecretIdString", # required
|
332
|
+
# },
|
333
|
+
# },
|
334
|
+
# ],
|
324
335
|
# name: "ResponsePlanName", # required
|
325
336
|
# tags: {
|
326
337
|
# "TagKey" => "TagValue",
|
@@ -358,6 +369,11 @@ module Aws::SSMIncidents
|
|
358
369
|
# Details used to create an incident when using this response plan.
|
359
370
|
# @return [Types::IncidentTemplate]
|
360
371
|
#
|
372
|
+
# @!attribute [rw] integrations
|
373
|
+
# Information about third-party services integrated into the response
|
374
|
+
# plan.
|
375
|
+
# @return [Array<Types::Integration>]
|
376
|
+
#
|
361
377
|
# @!attribute [rw] name
|
362
378
|
# The short format name of the response plan. Can't include spaces.
|
363
379
|
# @return [String]
|
@@ -375,6 +391,7 @@ module Aws::SSMIncidents
|
|
375
391
|
:display_name,
|
376
392
|
:engagements,
|
377
393
|
:incident_template,
|
394
|
+
:integrations,
|
378
395
|
:name,
|
379
396
|
:tags)
|
380
397
|
SENSITIVE = []
|
@@ -399,6 +416,12 @@ module Aws::SSMIncidents
|
|
399
416
|
# {
|
400
417
|
# client_token: "ClientToken",
|
401
418
|
# event_data: "EventData", # required
|
419
|
+
# event_references: [
|
420
|
+
# {
|
421
|
+
# related_item_id: "GeneratedId",
|
422
|
+
# resource: "Arn",
|
423
|
+
# },
|
424
|
+
# ],
|
402
425
|
# event_time: Time.now, # required
|
403
426
|
# event_type: "TimelineEventType", # required
|
404
427
|
# incident_record_arn: "Arn", # required
|
@@ -416,6 +439,17 @@ module Aws::SSMIncidents
|
|
416
439
|
# A short description of the event.
|
417
440
|
# @return [String]
|
418
441
|
#
|
442
|
+
# @!attribute [rw] event_references
|
443
|
+
# Adds one or more references to the `TimelineEvent`. A reference can
|
444
|
+
# be an Amazon Web Services resource involved in the incident or in
|
445
|
+
# some way associated with it. When you specify a reference, you enter
|
446
|
+
# the Amazon Resource Name (ARN) of the resource. You can also specify
|
447
|
+
# a related item. As an example, you could specify the ARN of an
|
448
|
+
# Amazon DynamoDB (DynamoDB) table. The table for this example is the
|
449
|
+
# resource. You could also specify a Amazon CloudWatch metric for that
|
450
|
+
# table. The metric is the related item.
|
451
|
+
# @return [Array<Types::EventReference>]
|
452
|
+
#
|
419
453
|
# @!attribute [rw] event_time
|
420
454
|
# The time that the event occurred.
|
421
455
|
# @return [Time]
|
@@ -435,6 +469,7 @@ module Aws::SSMIncidents
|
|
435
469
|
class CreateTimelineEventInput < Struct.new(
|
436
470
|
:client_token,
|
437
471
|
:event_data,
|
472
|
+
:event_references,
|
438
473
|
:event_time,
|
439
474
|
:event_type,
|
440
475
|
:incident_record_arn)
|
@@ -647,12 +682,48 @@ module Aws::SSMIncidents
|
|
647
682
|
#
|
648
683
|
class EmptyChatChannel < Aws::EmptyStructure; end
|
649
684
|
|
685
|
+
# An item referenced in a `TimelineEvent` that is involved in or somehow
|
686
|
+
# associated with an incident. You can specify an Amazon Resource Name
|
687
|
+
# (ARN) for an Amazon Web Services resource or a `RelatedItem` ID.
|
688
|
+
#
|
689
|
+
# @note EventReference is a union - when making an API calls you must set exactly one of the members.
|
690
|
+
#
|
691
|
+
# @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.
|
692
|
+
#
|
693
|
+
# @!attribute [rw] related_item_id
|
694
|
+
# The ID of a `RelatedItem` referenced in a `TimelineEvent`.
|
695
|
+
# @return [String]
|
696
|
+
#
|
697
|
+
# @!attribute [rw] resource
|
698
|
+
# The Amazon Resource Name (ARN) of an Amazon Web Services resource
|
699
|
+
# referenced in a `TimelineEvent`.
|
700
|
+
# @return [String]
|
701
|
+
#
|
702
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/EventReference AWS API Documentation
|
703
|
+
#
|
704
|
+
class EventReference < Struct.new(
|
705
|
+
:related_item_id,
|
706
|
+
:resource,
|
707
|
+
:unknown)
|
708
|
+
SENSITIVE = []
|
709
|
+
include Aws::Structure
|
710
|
+
include Aws::Structure::Union
|
711
|
+
|
712
|
+
class RelatedItemId < EventReference; end
|
713
|
+
class Resource < EventReference; end
|
714
|
+
class Unknown < EventReference; end
|
715
|
+
end
|
716
|
+
|
650
717
|
# Details about a timeline event during an incident.
|
651
718
|
#
|
652
719
|
# @!attribute [rw] event_id
|
653
720
|
# The timeline event ID.
|
654
721
|
# @return [String]
|
655
722
|
#
|
723
|
+
# @!attribute [rw] event_references
|
724
|
+
# A list of references in a `TimelineEvent`.
|
725
|
+
# @return [Array<Types::EventReference>]
|
726
|
+
#
|
656
727
|
# @!attribute [rw] event_time
|
657
728
|
# The time that the event occurred.
|
658
729
|
# @return [Time]
|
@@ -674,6 +745,7 @@ module Aws::SSMIncidents
|
|
674
745
|
#
|
675
746
|
class EventSummary < Struct.new(
|
676
747
|
:event_id,
|
748
|
+
:event_references,
|
677
749
|
:event_time,
|
678
750
|
:event_type,
|
679
751
|
:event_updated_time,
|
@@ -875,6 +947,11 @@ module Aws::SSMIncidents
|
|
875
947
|
# Details used to create the incident when using this response plan.
|
876
948
|
# @return [Types::IncidentTemplate]
|
877
949
|
#
|
950
|
+
# @!attribute [rw] integrations
|
951
|
+
# Information about third-party services integrated into the Incident
|
952
|
+
# Manager response plan.
|
953
|
+
# @return [Array<Types::Integration>]
|
954
|
+
#
|
878
955
|
# @!attribute [rw] name
|
879
956
|
# The short format name of the response plan. The name can't contain
|
880
957
|
# spaces.
|
@@ -889,6 +966,7 @@ module Aws::SSMIncidents
|
|
889
966
|
:display_name,
|
890
967
|
:engagements,
|
891
968
|
:incident_template,
|
969
|
+
:integrations,
|
892
970
|
:name)
|
893
971
|
SENSITIVE = []
|
894
972
|
include Aws::Structure
|
@@ -1159,6 +1237,31 @@ module Aws::SSMIncidents
|
|
1159
1237
|
include Aws::Structure
|
1160
1238
|
end
|
1161
1239
|
|
1240
|
+
# Information about third-party services integrated into a response
|
1241
|
+
# plan.
|
1242
|
+
#
|
1243
|
+
# @note Integration is a union - when making an API calls you must set exactly one of the members.
|
1244
|
+
#
|
1245
|
+
# @note Integration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Integration corresponding to the set member.
|
1246
|
+
#
|
1247
|
+
# @!attribute [rw] pager_duty_configuration
|
1248
|
+
# Information about the PagerDuty service where the response plan
|
1249
|
+
# creates an incident.
|
1250
|
+
# @return [Types::PagerDutyConfiguration]
|
1251
|
+
#
|
1252
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/Integration AWS API Documentation
|
1253
|
+
#
|
1254
|
+
class Integration < Struct.new(
|
1255
|
+
:pager_duty_configuration,
|
1256
|
+
:unknown)
|
1257
|
+
SENSITIVE = []
|
1258
|
+
include Aws::Structure
|
1259
|
+
include Aws::Structure::Union
|
1260
|
+
|
1261
|
+
class PagerDutyConfiguration < Integration; end
|
1262
|
+
class Unknown < Integration; end
|
1263
|
+
end
|
1264
|
+
|
1162
1265
|
# The request processing has failed because of an unknown error,
|
1163
1266
|
# exception or failure.
|
1164
1267
|
#
|
@@ -1183,6 +1286,11 @@ module Aws::SSMIncidents
|
|
1183
1286
|
# value: { # required
|
1184
1287
|
# arn: "Arn",
|
1185
1288
|
# metric_definition: "MetricDefinition",
|
1289
|
+
# pager_duty_incident_detail: {
|
1290
|
+
# auto_resolve: false,
|
1291
|
+
# id: "PagerDutyIncidentDetailIdString", # required
|
1292
|
+
# secret_id: "PagerDutyIncidentDetailSecretIdString",
|
1293
|
+
# },
|
1186
1294
|
# url: "Url",
|
1187
1295
|
# },
|
1188
1296
|
# }
|
@@ -1220,6 +1328,11 @@ module Aws::SSMIncidents
|
|
1220
1328
|
# CloudWatch.
|
1221
1329
|
# @return [String]
|
1222
1330
|
#
|
1331
|
+
# @!attribute [rw] pager_duty_incident_detail
|
1332
|
+
# Details about an incident that is associated with a PagerDuty
|
1333
|
+
# incident.
|
1334
|
+
# @return [Types::PagerDutyIncidentDetail]
|
1335
|
+
#
|
1223
1336
|
# @!attribute [rw] url
|
1224
1337
|
# The URL, if the related item is a non-Amazon Web Services resource.
|
1225
1338
|
# @return [String]
|
@@ -1229,6 +1342,7 @@ module Aws::SSMIncidents
|
|
1229
1342
|
class ItemValue < Struct.new(
|
1230
1343
|
:arn,
|
1231
1344
|
:metric_definition,
|
1345
|
+
:pager_duty_incident_detail,
|
1232
1346
|
:url,
|
1233
1347
|
:unknown)
|
1234
1348
|
SENSITIVE = []
|
@@ -1237,6 +1351,7 @@ module Aws::SSMIncidents
|
|
1237
1351
|
|
1238
1352
|
class Arn < ItemValue; end
|
1239
1353
|
class MetricDefinition < ItemValue; end
|
1354
|
+
class PagerDutyIncidentDetail < ItemValue; end
|
1240
1355
|
class Url < ItemValue; end
|
1241
1356
|
class Unknown < ItemValue; end
|
1242
1357
|
end
|
@@ -1605,6 +1720,105 @@ module Aws::SSMIncidents
|
|
1605
1720
|
class Unknown < NotificationTargetItem; end
|
1606
1721
|
end
|
1607
1722
|
|
1723
|
+
# Details about the PagerDuty configuration for a response plan.
|
1724
|
+
#
|
1725
|
+
# @note When making an API call, you may pass PagerDutyConfiguration
|
1726
|
+
# data as a hash:
|
1727
|
+
#
|
1728
|
+
# {
|
1729
|
+
# name: "PagerDutyConfigurationNameString", # required
|
1730
|
+
# pager_duty_incident_configuration: { # required
|
1731
|
+
# service_id: "PagerDutyIncidentConfigurationServiceIdString", # required
|
1732
|
+
# },
|
1733
|
+
# secret_id: "PagerDutyConfigurationSecretIdString", # required
|
1734
|
+
# }
|
1735
|
+
#
|
1736
|
+
# @!attribute [rw] name
|
1737
|
+
# The name of the PagerDuty configuration.
|
1738
|
+
# @return [String]
|
1739
|
+
#
|
1740
|
+
# @!attribute [rw] pager_duty_incident_configuration
|
1741
|
+
# Details about the PagerDuty service associated with the
|
1742
|
+
# configuration.
|
1743
|
+
# @return [Types::PagerDutyIncidentConfiguration]
|
1744
|
+
#
|
1745
|
+
# @!attribute [rw] secret_id
|
1746
|
+
# The ID of the Amazon Web Services Secrets Manager secret that stores
|
1747
|
+
# your PagerDuty key, either a General Access REST API Key or User
|
1748
|
+
# Token REST API Key, and other user credentials.
|
1749
|
+
# @return [String]
|
1750
|
+
#
|
1751
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/PagerDutyConfiguration AWS API Documentation
|
1752
|
+
#
|
1753
|
+
class PagerDutyConfiguration < Struct.new(
|
1754
|
+
:name,
|
1755
|
+
:pager_duty_incident_configuration,
|
1756
|
+
:secret_id)
|
1757
|
+
SENSITIVE = []
|
1758
|
+
include Aws::Structure
|
1759
|
+
end
|
1760
|
+
|
1761
|
+
# Details about the PagerDuty service where the response plan creates an
|
1762
|
+
# incident.
|
1763
|
+
#
|
1764
|
+
# @note When making an API call, you may pass PagerDutyIncidentConfiguration
|
1765
|
+
# data as a hash:
|
1766
|
+
#
|
1767
|
+
# {
|
1768
|
+
# service_id: "PagerDutyIncidentConfigurationServiceIdString", # required
|
1769
|
+
# }
|
1770
|
+
#
|
1771
|
+
# @!attribute [rw] service_id
|
1772
|
+
# The ID of the PagerDuty service that the response plan associates
|
1773
|
+
# with an incident when it launches.
|
1774
|
+
# @return [String]
|
1775
|
+
#
|
1776
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/PagerDutyIncidentConfiguration AWS API Documentation
|
1777
|
+
#
|
1778
|
+
class PagerDutyIncidentConfiguration < Struct.new(
|
1779
|
+
:service_id)
|
1780
|
+
SENSITIVE = []
|
1781
|
+
include Aws::Structure
|
1782
|
+
end
|
1783
|
+
|
1784
|
+
# Details about the PagerDuty incident associated with an incident
|
1785
|
+
# created by an Incident Manager response plan.
|
1786
|
+
#
|
1787
|
+
# @note When making an API call, you may pass PagerDutyIncidentDetail
|
1788
|
+
# data as a hash:
|
1789
|
+
#
|
1790
|
+
# {
|
1791
|
+
# auto_resolve: false,
|
1792
|
+
# id: "PagerDutyIncidentDetailIdString", # required
|
1793
|
+
# secret_id: "PagerDutyIncidentDetailSecretIdString",
|
1794
|
+
# }
|
1795
|
+
#
|
1796
|
+
# @!attribute [rw] auto_resolve
|
1797
|
+
# Indicates whether to resolve the PagerDuty incident when you resolve
|
1798
|
+
# the associated Incident Manager incident.
|
1799
|
+
# @return [Boolean]
|
1800
|
+
#
|
1801
|
+
# @!attribute [rw] id
|
1802
|
+
# The ID of the incident associated with the PagerDuty service for the
|
1803
|
+
# response plan.
|
1804
|
+
# @return [String]
|
1805
|
+
#
|
1806
|
+
# @!attribute [rw] secret_id
|
1807
|
+
# The ID of the Amazon Web Services Secrets Manager secret that stores
|
1808
|
+
# your PagerDuty key, either a General Access REST API Key or User
|
1809
|
+
# Token REST API Key, and other user credentials.
|
1810
|
+
# @return [String]
|
1811
|
+
#
|
1812
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/PagerDutyIncidentDetail AWS API Documentation
|
1813
|
+
#
|
1814
|
+
class PagerDutyIncidentDetail < Struct.new(
|
1815
|
+
:auto_resolve,
|
1816
|
+
:id,
|
1817
|
+
:secret_id)
|
1818
|
+
SENSITIVE = []
|
1819
|
+
include Aws::Structure
|
1820
|
+
end
|
1821
|
+
|
1608
1822
|
# @note When making an API call, you may pass PutResourcePolicyInput
|
1609
1823
|
# data as a hash:
|
1610
1824
|
#
|
@@ -1704,17 +1918,30 @@ module Aws::SSMIncidents
|
|
1704
1918
|
# data as a hash:
|
1705
1919
|
#
|
1706
1920
|
# {
|
1921
|
+
# generated_id: "GeneratedId",
|
1707
1922
|
# identifier: { # required
|
1708
1923
|
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE, TASK
|
1709
1924
|
# value: { # required
|
1710
1925
|
# arn: "Arn",
|
1711
1926
|
# metric_definition: "MetricDefinition",
|
1927
|
+
# pager_duty_incident_detail: {
|
1928
|
+
# auto_resolve: false,
|
1929
|
+
# id: "PagerDutyIncidentDetailIdString", # required
|
1930
|
+
# secret_id: "PagerDutyIncidentDetailSecretIdString",
|
1931
|
+
# },
|
1712
1932
|
# url: "Url",
|
1713
1933
|
# },
|
1714
1934
|
# },
|
1715
1935
|
# title: "RelatedItemTitleString",
|
1716
1936
|
# }
|
1717
1937
|
#
|
1938
|
+
# @!attribute [rw] generated_id
|
1939
|
+
# A unique ID for a `RelatedItem`.
|
1940
|
+
#
|
1941
|
+
# Don't specify this parameter when you add a `RelatedItem` by using
|
1942
|
+
# the UpdateRelatedItems API action.
|
1943
|
+
# @return [String]
|
1944
|
+
#
|
1718
1945
|
# @!attribute [rw] identifier
|
1719
1946
|
# Details about the related item.
|
1720
1947
|
# @return [Types::ItemIdentifier]
|
@@ -1726,6 +1953,7 @@ module Aws::SSMIncidents
|
|
1726
1953
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/RelatedItem AWS API Documentation
|
1727
1954
|
#
|
1728
1955
|
class RelatedItem < Struct.new(
|
1956
|
+
:generated_id,
|
1729
1957
|
:identifier,
|
1730
1958
|
:title)
|
1731
1959
|
SENSITIVE = []
|
@@ -1990,11 +2218,17 @@ module Aws::SSMIncidents
|
|
1990
2218
|
# impact: 1,
|
1991
2219
|
# related_items: [
|
1992
2220
|
# {
|
2221
|
+
# generated_id: "GeneratedId",
|
1993
2222
|
# identifier: { # required
|
1994
2223
|
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE, TASK
|
1995
2224
|
# value: { # required
|
1996
2225
|
# arn: "Arn",
|
1997
2226
|
# metric_definition: "MetricDefinition",
|
2227
|
+
# pager_duty_incident_detail: {
|
2228
|
+
# auto_resolve: false,
|
2229
|
+
# id: "PagerDutyIncidentDetailIdString", # required
|
2230
|
+
# secret_id: "PagerDutyIncidentDetailSecretIdString",
|
2231
|
+
# },
|
1998
2232
|
# url: "Url",
|
1999
2233
|
# },
|
2000
2234
|
# },
|
@@ -2152,6 +2386,10 @@ module Aws::SSMIncidents
|
|
2152
2386
|
# The ID of the timeline event.
|
2153
2387
|
# @return [String]
|
2154
2388
|
#
|
2389
|
+
# @!attribute [rw] event_references
|
2390
|
+
# A list of references in a `TimelineEvent`.
|
2391
|
+
# @return [Array<Types::EventReference>]
|
2392
|
+
#
|
2155
2393
|
# @!attribute [rw] event_time
|
2156
2394
|
# The time that the event occurred.
|
2157
2395
|
# @return [Time]
|
@@ -2175,6 +2413,7 @@ module Aws::SSMIncidents
|
|
2175
2413
|
class TimelineEvent < Struct.new(
|
2176
2414
|
:event_data,
|
2177
2415
|
:event_id,
|
2416
|
+
:event_references,
|
2178
2417
|
:event_time,
|
2179
2418
|
:event_type,
|
2180
2419
|
:event_updated_time,
|
@@ -2407,11 +2646,17 @@ module Aws::SSMIncidents
|
|
2407
2646
|
# incident_record_arn: "Arn", # required
|
2408
2647
|
# related_items_update: { # required
|
2409
2648
|
# item_to_add: {
|
2649
|
+
# generated_id: "GeneratedId",
|
2410
2650
|
# identifier: { # required
|
2411
2651
|
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE, TASK
|
2412
2652
|
# value: { # required
|
2413
2653
|
# arn: "Arn",
|
2414
2654
|
# metric_definition: "MetricDefinition",
|
2655
|
+
# pager_duty_incident_detail: {
|
2656
|
+
# auto_resolve: false,
|
2657
|
+
# id: "PagerDutyIncidentDetailIdString", # required
|
2658
|
+
# secret_id: "PagerDutyIncidentDetailSecretIdString",
|
2659
|
+
# },
|
2415
2660
|
# url: "Url",
|
2416
2661
|
# },
|
2417
2662
|
# },
|
@@ -2422,6 +2667,11 @@ module Aws::SSMIncidents
|
|
2422
2667
|
# value: { # required
|
2423
2668
|
# arn: "Arn",
|
2424
2669
|
# metric_definition: "MetricDefinition",
|
2670
|
+
# pager_duty_incident_detail: {
|
2671
|
+
# auto_resolve: false,
|
2672
|
+
# id: "PagerDutyIncidentDetailIdString", # required
|
2673
|
+
# secret_id: "PagerDutyIncidentDetailSecretIdString",
|
2674
|
+
# },
|
2425
2675
|
# url: "Url",
|
2426
2676
|
# },
|
2427
2677
|
# },
|
@@ -2581,6 +2831,17 @@ module Aws::SSMIncidents
|
|
2581
2831
|
# "TagKey" => "TagValue",
|
2582
2832
|
# },
|
2583
2833
|
# incident_template_title: "IncidentTitle",
|
2834
|
+
# integrations: [
|
2835
|
+
# {
|
2836
|
+
# pager_duty_configuration: {
|
2837
|
+
# name: "PagerDutyConfigurationNameString", # required
|
2838
|
+
# pager_duty_incident_configuration: { # required
|
2839
|
+
# service_id: "PagerDutyIncidentConfigurationServiceIdString", # required
|
2840
|
+
# },
|
2841
|
+
# secret_id: "PagerDutyConfigurationSecretIdString", # required
|
2842
|
+
# },
|
2843
|
+
# },
|
2844
|
+
# ],
|
2584
2845
|
# }
|
2585
2846
|
#
|
2586
2847
|
# @!attribute [rw] actions
|
@@ -2662,6 +2923,11 @@ module Aws::SSMIncidents
|
|
2662
2923
|
# spaces.
|
2663
2924
|
# @return [String]
|
2664
2925
|
#
|
2926
|
+
# @!attribute [rw] integrations
|
2927
|
+
# Information about third-party services integrated into the response
|
2928
|
+
# plan.
|
2929
|
+
# @return [Array<Types::Integration>]
|
2930
|
+
#
|
2665
2931
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/UpdateResponsePlanInput AWS API Documentation
|
2666
2932
|
#
|
2667
2933
|
class UpdateResponsePlanInput < Struct.new(
|
@@ -2676,7 +2942,8 @@ module Aws::SSMIncidents
|
|
2676
2942
|
:incident_template_notification_targets,
|
2677
2943
|
:incident_template_summary,
|
2678
2944
|
:incident_template_tags,
|
2679
|
-
:incident_template_title
|
2945
|
+
:incident_template_title,
|
2946
|
+
:integrations)
|
2680
2947
|
SENSITIVE = []
|
2681
2948
|
include Aws::Structure
|
2682
2949
|
end
|
@@ -2692,6 +2959,12 @@ module Aws::SSMIncidents
|
|
2692
2959
|
# client_token: "ClientToken",
|
2693
2960
|
# event_data: "EventData",
|
2694
2961
|
# event_id: "UUID", # required
|
2962
|
+
# event_references: [
|
2963
|
+
# {
|
2964
|
+
# related_item_id: "GeneratedId",
|
2965
|
+
# resource: "Arn",
|
2966
|
+
# },
|
2967
|
+
# ],
|
2695
2968
|
# event_time: Time.now,
|
2696
2969
|
# event_type: "TimelineEventType",
|
2697
2970
|
# incident_record_arn: "Arn", # required
|
@@ -2714,6 +2987,21 @@ module Aws::SSMIncidents
|
|
2714
2987
|
# `ListTimelineEvents`.
|
2715
2988
|
# @return [String]
|
2716
2989
|
#
|
2990
|
+
# @!attribute [rw] event_references
|
2991
|
+
# Updates all existing references in a `TimelineEvent`. A reference
|
2992
|
+
# can be an Amazon Web Services resource involved in the incident or
|
2993
|
+
# in some way associated with it. When you specify a reference, you
|
2994
|
+
# enter the Amazon Resource Name (ARN) of the resource. You can also
|
2995
|
+
# specify a related item. As an example, you could specify the ARN of
|
2996
|
+
# an Amazon DynamoDB (DynamoDB) table. The table for this example is
|
2997
|
+
# the resource. You could also specify a Amazon CloudWatch metric for
|
2998
|
+
# that table. The metric is the related item.
|
2999
|
+
#
|
3000
|
+
# This update action overrides all existing references. If you want to
|
3001
|
+
# keep existing references, you must specify them in the call. If you
|
3002
|
+
# don't, this action removes them and enters only new references.
|
3003
|
+
# @return [Array<Types::EventReference>]
|
3004
|
+
#
|
2717
3005
|
# @!attribute [rw] event_time
|
2718
3006
|
# The time that the event occurred.
|
2719
3007
|
# @return [Time]
|
@@ -2733,6 +3021,7 @@ module Aws::SSMIncidents
|
|
2733
3021
|
:client_token,
|
2734
3022
|
:event_data,
|
2735
3023
|
:event_id,
|
3024
|
+
:event_references,
|
2736
3025
|
:event_time,
|
2737
3026
|
:event_type,
|
2738
3027
|
: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.20.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-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|