aws-sdk-ssmincidents 1.14.0 → 1.15.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssmincidents/client.rb +14 -1
- data/lib/aws-sdk-ssmincidents/client_api.rb +6 -0
- data/lib/aws-sdk-ssmincidents/types.rb +22 -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: 648f63a8a23fe2bccf4a48fe4d8390b9530b05f4be0ec7dde542d67c0c63e71a
|
4
|
+
data.tar.gz: 86fa948709b86e032f4387c404c96ee88516a0b8c47119089d72e2853cc52a2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 736f2f3a93461bc38615e6d32418728e4c294b0c291ce57639ad24a34d539f897ff4d9ea0d8ae24d3801533b0539b2979a97a07f11d1b6a94963174f32ff58dc
|
7
|
+
data.tar.gz: 9aeec18e365805f1f4f083b6fedae3d40f390d6891fd3e2fb5589307042cbdfe43a9987317b6ab8eb5868637836b85f377f7e5ecc8f6ae669b3e229294f3ab8d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.15.0 (2022-07-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds support for tagging incident-record on creation by providing incident tags in the template within a response-plan.
|
8
|
+
|
4
9
|
1.14.0 (2022-05-12)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.15.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
|
@@ -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.15.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)
|
@@ -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.15.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-05
|
11
|
+
date: 2022-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|