aws-sdk-ssmincidents 1.14.0 → 1.16.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 +18 -5
- data/lib/aws-sdk-ssmincidents/client_api.rb +6 -0
- data/lib/aws-sdk-ssmincidents/types.rb +27 -5
- 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: 78a6944a6162b5c2463861e799ea1718c019c6e5c9a30d8e8969b47441b65d05
|
4
|
+
data.tar.gz: ebd44e1e0ef5fe0f2f1537573455fe7b9423d06128f1c011fa12bfa165d2f382
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43ba9b55ffaa06bf6d56a361775a0eec4e512cd4793bf1fb93b150f228eb2ecc8c1e47ccc19271d4e5e835a0d5e123a82f21c50274a26cb0438cf7e940cb10a6
|
7
|
+
data.tar.gz: f7fe36591a87508f0049125f22f773a14381e138daf0aa26a18b2a4fde685a600ba2c2c3f46da7e7bd77e7dd780384cce4e818bdf99ff05ad745cbf9d291e615
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.16.0 (2022-10-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Update RelatedItem enum to support Tasks
|
8
|
+
|
9
|
+
1.15.0 (2022-07-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds support for tagging incident-record on creation by providing incident tags in the template within a response-plan.
|
13
|
+
|
4
14
|
1.14.0 (2022-05-12)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.16.0
|
@@ -464,6 +464,9 @@ module Aws::SSMIncidents
|
|
464
464
|
# incident_template: { # required
|
465
465
|
# dedupe_string: "DedupeString",
|
466
466
|
# impact: 1, # required
|
467
|
+
# incident_tags: {
|
468
|
+
# "TagKey" => "TagValue",
|
469
|
+
# },
|
467
470
|
# notification_targets: [
|
468
471
|
# {
|
469
472
|
# sns_topic_arn: "Arn",
|
@@ -854,6 +857,8 @@ module Aws::SSMIncidents
|
|
854
857
|
# resp.engagements[0] #=> String
|
855
858
|
# resp.incident_template.dedupe_string #=> String
|
856
859
|
# resp.incident_template.impact #=> Integer
|
860
|
+
# resp.incident_template.incident_tags #=> Hash
|
861
|
+
# resp.incident_template.incident_tags["TagKey"] #=> String
|
857
862
|
# resp.incident_template.notification_targets #=> Array
|
858
863
|
# resp.incident_template.notification_targets[0].sns_topic_arn #=> String
|
859
864
|
# resp.incident_template.summary #=> String
|
@@ -1023,7 +1028,7 @@ module Aws::SSMIncidents
|
|
1023
1028
|
#
|
1024
1029
|
# resp.next_token #=> String
|
1025
1030
|
# resp.related_items #=> Array
|
1026
|
-
# resp.related_items[0].identifier.type #=> String, one of "ANALYSIS", "INCIDENT", "METRIC", "PARENT", "ATTACHMENT", "OTHER", "AUTOMATION", "INVOLVED_RESOURCE"
|
1031
|
+
# resp.related_items[0].identifier.type #=> String, one of "ANALYSIS", "INCIDENT", "METRIC", "PARENT", "ATTACHMENT", "OTHER", "AUTOMATION", "INVOLVED_RESOURCE", "TASK"
|
1027
1032
|
# resp.related_items[0].identifier.value.arn #=> String
|
1028
1033
|
# resp.related_items[0].identifier.value.metric_definition #=> String
|
1029
1034
|
# resp.related_items[0].identifier.value.url #=> String
|
@@ -1330,7 +1335,7 @@ module Aws::SSMIncidents
|
|
1330
1335
|
# related_items: [
|
1331
1336
|
# {
|
1332
1337
|
# identifier: { # required
|
1333
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
1338
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE, TASK
|
1334
1339
|
# value: { # required
|
1335
1340
|
# arn: "Arn",
|
1336
1341
|
# metric_definition: "MetricDefinition",
|
@@ -1574,7 +1579,7 @@ module Aws::SSMIncidents
|
|
1574
1579
|
# related_items_update: { # required
|
1575
1580
|
# item_to_add: {
|
1576
1581
|
# identifier: { # required
|
1577
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
1582
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE, TASK
|
1578
1583
|
# value: { # required
|
1579
1584
|
# arn: "Arn",
|
1580
1585
|
# metric_definition: "MetricDefinition",
|
@@ -1584,7 +1589,7 @@ module Aws::SSMIncidents
|
|
1584
1589
|
# title: "RelatedItemTitleString",
|
1585
1590
|
# },
|
1586
1591
|
# item_to_remove: {
|
1587
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
1592
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE, TASK
|
1588
1593
|
# value: { # required
|
1589
1594
|
# arn: "Arn",
|
1590
1595
|
# metric_definition: "MetricDefinition",
|
@@ -1706,6 +1711,11 @@ module Aws::SSMIncidents
|
|
1706
1711
|
# A brief summary of the incident. This typically contains what has
|
1707
1712
|
# happened, what's currently happening, and next steps.
|
1708
1713
|
#
|
1714
|
+
# @option params [Hash<String,String>] :incident_template_tags
|
1715
|
+
# Tags to apply to an incident when calling the `StartIncident` API
|
1716
|
+
# action. To call this action, you must also have permission to call the
|
1717
|
+
# `TagResource` API action for the incident record resource.
|
1718
|
+
#
|
1709
1719
|
# @option params [String] :incident_template_title
|
1710
1720
|
# The short format name of the incident. The title can't contain
|
1711
1721
|
# spaces.
|
@@ -1750,6 +1760,9 @@ module Aws::SSMIncidents
|
|
1750
1760
|
# },
|
1751
1761
|
# ],
|
1752
1762
|
# incident_template_summary: "IncidentSummary",
|
1763
|
+
# incident_template_tags: {
|
1764
|
+
# "TagKey" => "TagValue",
|
1765
|
+
# },
|
1753
1766
|
# incident_template_title: "IncidentTitle",
|
1754
1767
|
# })
|
1755
1768
|
#
|
@@ -1824,7 +1837,7 @@ module Aws::SSMIncidents
|
|
1824
1837
|
params: params,
|
1825
1838
|
config: config)
|
1826
1839
|
context[:gem_name] = 'aws-sdk-ssmincidents'
|
1827
|
-
context[:gem_version] = '1.
|
1840
|
+
context[:gem_version] = '1.16.0'
|
1828
1841
|
Seahorse::Client::Request.new(handlers, context)
|
1829
1842
|
end
|
1830
1843
|
|
@@ -150,6 +150,7 @@ module Aws::SSMIncidents
|
|
150
150
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
151
151
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
152
152
|
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
153
|
+
TagMapUpdate = Shapes::MapShape.new(name: 'TagMapUpdate')
|
153
154
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
154
155
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
155
156
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
@@ -401,6 +402,7 @@ module Aws::SSMIncidents
|
|
401
402
|
|
402
403
|
IncidentTemplate.add_member(:dedupe_string, Shapes::ShapeRef.new(shape: DedupeString, location_name: "dedupeString"))
|
403
404
|
IncidentTemplate.add_member(:impact, Shapes::ShapeRef.new(shape: Impact, required: true, location_name: "impact"))
|
405
|
+
IncidentTemplate.add_member(:incident_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "incidentTags"))
|
404
406
|
IncidentTemplate.add_member(:notification_targets, Shapes::ShapeRef.new(shape: NotificationTargetSet, location_name: "notificationTargets"))
|
405
407
|
IncidentTemplate.add_member(:summary, Shapes::ShapeRef.new(shape: IncidentSummary, location_name: "summary"))
|
406
408
|
IncidentTemplate.add_member(:title, Shapes::ShapeRef.new(shape: IncidentTitle, required: true, location_name: "title"))
|
@@ -590,6 +592,9 @@ module Aws::SSMIncidents
|
|
590
592
|
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
591
593
|
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
592
594
|
|
595
|
+
TagMapUpdate.key = Shapes::ShapeRef.new(shape: TagKey)
|
596
|
+
TagMapUpdate.value = Shapes::ShapeRef.new(shape: TagValue)
|
597
|
+
|
593
598
|
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
594
599
|
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
|
595
600
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
@@ -674,6 +679,7 @@ module Aws::SSMIncidents
|
|
674
679
|
UpdateResponsePlanInput.add_member(:incident_template_impact, Shapes::ShapeRef.new(shape: Impact, location_name: "incidentTemplateImpact"))
|
675
680
|
UpdateResponsePlanInput.add_member(:incident_template_notification_targets, Shapes::ShapeRef.new(shape: NotificationTargetSet, location_name: "incidentTemplateNotificationTargets"))
|
676
681
|
UpdateResponsePlanInput.add_member(:incident_template_summary, Shapes::ShapeRef.new(shape: IncidentSummary, location_name: "incidentTemplateSummary"))
|
682
|
+
UpdateResponsePlanInput.add_member(:incident_template_tags, Shapes::ShapeRef.new(shape: TagMapUpdate, location_name: "incidentTemplateTags"))
|
677
683
|
UpdateResponsePlanInput.add_member(:incident_template_title, Shapes::ShapeRef.new(shape: IncidentTitle, location_name: "incidentTemplateTitle"))
|
678
684
|
UpdateResponsePlanInput.struct_class = Types::UpdateResponsePlanInput
|
679
685
|
|
@@ -302,6 +302,9 @@ module Aws::SSMIncidents
|
|
302
302
|
# incident_template: { # required
|
303
303
|
# dedupe_string: "DedupeString",
|
304
304
|
# impact: 1, # required
|
305
|
+
# incident_tags: {
|
306
|
+
# "TagKey" => "TagValue",
|
307
|
+
# },
|
305
308
|
# notification_targets: [
|
306
309
|
# {
|
307
310
|
# sns_topic_arn: "Arn",
|
@@ -1094,6 +1097,9 @@ module Aws::SSMIncidents
|
|
1094
1097
|
# {
|
1095
1098
|
# dedupe_string: "DedupeString",
|
1096
1099
|
# impact: 1, # required
|
1100
|
+
# incident_tags: {
|
1101
|
+
# "TagKey" => "TagValue",
|
1102
|
+
# },
|
1097
1103
|
# notification_targets: [
|
1098
1104
|
# {
|
1099
1105
|
# sns_topic_arn: "Arn",
|
@@ -1112,6 +1118,11 @@ module Aws::SSMIncidents
|
|
1112
1118
|
# The impact of the incident on your customers and applications.
|
1113
1119
|
# @return [Integer]
|
1114
1120
|
#
|
1121
|
+
# @!attribute [rw] incident_tags
|
1122
|
+
# Tags to apply to an incident when calling the `StartIncident` API
|
1123
|
+
# action.
|
1124
|
+
# @return [Hash<String,String>]
|
1125
|
+
#
|
1115
1126
|
# @!attribute [rw] notification_targets
|
1116
1127
|
# The Amazon SNS targets that are notified when updates are made to an
|
1117
1128
|
# incident.
|
@@ -1131,6 +1142,7 @@ module Aws::SSMIncidents
|
|
1131
1142
|
class IncidentTemplate < Struct.new(
|
1132
1143
|
:dedupe_string,
|
1133
1144
|
:impact,
|
1145
|
+
:incident_tags,
|
1134
1146
|
:notification_targets,
|
1135
1147
|
:summary,
|
1136
1148
|
:title)
|
@@ -1158,7 +1170,7 @@ module Aws::SSMIncidents
|
|
1158
1170
|
# data as a hash:
|
1159
1171
|
#
|
1160
1172
|
# {
|
1161
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
1173
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE, TASK
|
1162
1174
|
# value: { # required
|
1163
1175
|
# arn: "Arn",
|
1164
1176
|
# metric_definition: "MetricDefinition",
|
@@ -1684,7 +1696,7 @@ module Aws::SSMIncidents
|
|
1684
1696
|
#
|
1685
1697
|
# {
|
1686
1698
|
# identifier: { # required
|
1687
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
1699
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE, TASK
|
1688
1700
|
# value: { # required
|
1689
1701
|
# arn: "Arn",
|
1690
1702
|
# metric_definition: "MetricDefinition",
|
@@ -1970,7 +1982,7 @@ module Aws::SSMIncidents
|
|
1970
1982
|
# related_items: [
|
1971
1983
|
# {
|
1972
1984
|
# identifier: { # required
|
1973
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
1985
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE, TASK
|
1974
1986
|
# value: { # required
|
1975
1987
|
# arn: "Arn",
|
1976
1988
|
# metric_definition: "MetricDefinition",
|
@@ -2388,7 +2400,7 @@ module Aws::SSMIncidents
|
|
2388
2400
|
# related_items_update: { # required
|
2389
2401
|
# item_to_add: {
|
2390
2402
|
# identifier: { # required
|
2391
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
2403
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE, TASK
|
2392
2404
|
# value: { # required
|
2393
2405
|
# arn: "Arn",
|
2394
2406
|
# metric_definition: "MetricDefinition",
|
@@ -2398,7 +2410,7 @@ module Aws::SSMIncidents
|
|
2398
2410
|
# title: "RelatedItemTitleString",
|
2399
2411
|
# },
|
2400
2412
|
# item_to_remove: {
|
2401
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
2413
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE, TASK
|
2402
2414
|
# value: { # required
|
2403
2415
|
# arn: "Arn",
|
2404
2416
|
# metric_definition: "MetricDefinition",
|
@@ -2557,6 +2569,9 @@ module Aws::SSMIncidents
|
|
2557
2569
|
# },
|
2558
2570
|
# ],
|
2559
2571
|
# incident_template_summary: "IncidentSummary",
|
2572
|
+
# incident_template_tags: {
|
2573
|
+
# "TagKey" => "TagValue",
|
2574
|
+
# },
|
2560
2575
|
# incident_template_title: "IncidentTitle",
|
2561
2576
|
# }
|
2562
2577
|
#
|
@@ -2626,6 +2641,12 @@ module Aws::SSMIncidents
|
|
2626
2641
|
# happened, what's currently happening, and next steps.
|
2627
2642
|
# @return [String]
|
2628
2643
|
#
|
2644
|
+
# @!attribute [rw] incident_template_tags
|
2645
|
+
# Tags to apply to an incident when calling the `StartIncident` API
|
2646
|
+
# action. To call this action, you must also have permission to call
|
2647
|
+
# the `TagResource` API action for the incident record resource.
|
2648
|
+
# @return [Hash<String,String>]
|
2649
|
+
#
|
2629
2650
|
# @!attribute [rw] incident_template_title
|
2630
2651
|
# The short format name of the incident. The title can't contain
|
2631
2652
|
# spaces.
|
@@ -2644,6 +2665,7 @@ module Aws::SSMIncidents
|
|
2644
2665
|
:incident_template_impact,
|
2645
2666
|
:incident_template_notification_targets,
|
2646
2667
|
:incident_template_summary,
|
2668
|
+
:incident_template_tags,
|
2647
2669
|
:incident_template_title)
|
2648
2670
|
SENSITIVE = []
|
2649
2671
|
include Aws::Structure
|
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.16.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
|
+
date: 2022-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|