aws-sdk-ssmincidents 1.12.0 → 1.15.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssmincidents/client.rb +39 -8
- data/lib/aws-sdk-ssmincidents/client_api.rb +23 -1
- data/lib/aws-sdk-ssmincidents/types.rb +77 -22
- 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,21 @@
|
|
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
|
+
|
9
|
+
1.14.0 (2022-05-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adding support for dynamic SSM Runbook parameter values. Updating validation pattern for engagements. Adding ConflictException to UpdateReplicationSet API contract.
|
13
|
+
|
14
|
+
1.13.0 (2022-03-16)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Removed incorrect validation pattern for IncidentRecordSource.invokedBy
|
18
|
+
|
4
19
|
1.12.0 (2022-02-24)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.15.0
|
@@ -440,6 +440,11 @@ module Aws::SSMIncidents
|
|
440
440
|
# ssm_automation: {
|
441
441
|
# document_name: "SsmAutomationDocumentNameString", # required
|
442
442
|
# document_version: "SsmAutomationDocumentVersionString",
|
443
|
+
# dynamic_parameters: {
|
444
|
+
# "DynamicSsmParametersKeyString" => {
|
445
|
+
# variable: "INCIDENT_RECORD_ARN", # accepts INCIDENT_RECORD_ARN, INVOLVED_RESOURCES
|
446
|
+
# },
|
447
|
+
# },
|
443
448
|
# parameters: {
|
444
449
|
# "SsmParametersKeyString" => ["SsmParameterValuesMemberString"],
|
445
450
|
# },
|
@@ -459,6 +464,9 @@ module Aws::SSMIncidents
|
|
459
464
|
# incident_template: { # required
|
460
465
|
# dedupe_string: "DedupeString",
|
461
466
|
# impact: 1, # required
|
467
|
+
# incident_tags: {
|
468
|
+
# "TagKey" => "TagValue",
|
469
|
+
# },
|
462
470
|
# notification_targets: [
|
463
471
|
# {
|
464
472
|
# sns_topic_arn: "Arn",
|
@@ -500,8 +508,7 @@ module Aws::SSMIncidents
|
|
500
508
|
# not need to pass this option.**
|
501
509
|
#
|
502
510
|
# @option params [required, String] :event_data
|
503
|
-
# A short description of the event
|
504
|
-
# other schema imposed.
|
511
|
+
# A short description of the event.
|
505
512
|
#
|
506
513
|
# @option params [required, Time,DateTime,Date,Integer,String] :event_time
|
507
514
|
# The time that the event occurred.
|
@@ -835,6 +842,8 @@ module Aws::SSMIncidents
|
|
835
842
|
# resp.actions #=> Array
|
836
843
|
# resp.actions[0].ssm_automation.document_name #=> String
|
837
844
|
# resp.actions[0].ssm_automation.document_version #=> String
|
845
|
+
# resp.actions[0].ssm_automation.dynamic_parameters #=> Hash
|
846
|
+
# resp.actions[0].ssm_automation.dynamic_parameters["DynamicSsmParametersKeyString"].variable #=> String, one of "INCIDENT_RECORD_ARN", "INVOLVED_RESOURCES"
|
838
847
|
# resp.actions[0].ssm_automation.parameters #=> Hash
|
839
848
|
# resp.actions[0].ssm_automation.parameters["SsmParametersKeyString"] #=> Array
|
840
849
|
# resp.actions[0].ssm_automation.parameters["SsmParametersKeyString"][0] #=> String
|
@@ -848,6 +857,8 @@ module Aws::SSMIncidents
|
|
848
857
|
# resp.engagements[0] #=> String
|
849
858
|
# resp.incident_template.dedupe_string #=> String
|
850
859
|
# resp.incident_template.impact #=> Integer
|
860
|
+
# resp.incident_template.incident_tags #=> Hash
|
861
|
+
# resp.incident_template.incident_tags["TagKey"] #=> String
|
851
862
|
# resp.incident_template.notification_targets #=> Array
|
852
863
|
# resp.incident_template.notification_targets[0].sns_topic_arn #=> String
|
853
864
|
# resp.incident_template.summary #=> String
|
@@ -1017,7 +1028,7 @@ module Aws::SSMIncidents
|
|
1017
1028
|
#
|
1018
1029
|
# resp.next_token #=> String
|
1019
1030
|
# resp.related_items #=> Array
|
1020
|
-
# resp.related_items[0].identifier.type #=> String, one of "ANALYSIS", "INCIDENT", "METRIC", "PARENT", "ATTACHMENT", "OTHER", "AUTOMATION"
|
1031
|
+
# resp.related_items[0].identifier.type #=> String, one of "ANALYSIS", "INCIDENT", "METRIC", "PARENT", "ATTACHMENT", "OTHER", "AUTOMATION", "INVOLVED_RESOURCE"
|
1021
1032
|
# resp.related_items[0].identifier.value.arn #=> String
|
1022
1033
|
# resp.related_items[0].identifier.value.metric_definition #=> String
|
1023
1034
|
# resp.related_items[0].identifier.value.url #=> String
|
@@ -1224,7 +1235,14 @@ module Aws::SSMIncidents
|
|
1224
1235
|
req.send_request(options)
|
1225
1236
|
end
|
1226
1237
|
|
1227
|
-
# Adds a resource policy to the specified response plan.
|
1238
|
+
# Adds a resource policy to the specified response plan. The resource
|
1239
|
+
# policy is used to share the response plan using Resource Access
|
1240
|
+
# Manager (RAM). For more information about cross-account sharing, see
|
1241
|
+
# [Setting up cross-account functionality][1].
|
1242
|
+
#
|
1243
|
+
#
|
1244
|
+
#
|
1245
|
+
# [1]: https://docs.aws.amazon.com/incident-manager/latest/userguide/xa.html
|
1228
1246
|
#
|
1229
1247
|
# @option params [required, String] :policy
|
1230
1248
|
# Details of the resource policy.
|
@@ -1317,7 +1335,7 @@ module Aws::SSMIncidents
|
|
1317
1335
|
# related_items: [
|
1318
1336
|
# {
|
1319
1337
|
# identifier: { # required
|
1320
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION
|
1338
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
1321
1339
|
# value: { # required
|
1322
1340
|
# arn: "Arn",
|
1323
1341
|
# metric_definition: "MetricDefinition",
|
@@ -1561,7 +1579,7 @@ module Aws::SSMIncidents
|
|
1561
1579
|
# related_items_update: { # required
|
1562
1580
|
# item_to_add: {
|
1563
1581
|
# identifier: { # required
|
1564
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION
|
1582
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
1565
1583
|
# value: { # required
|
1566
1584
|
# arn: "Arn",
|
1567
1585
|
# metric_definition: "MetricDefinition",
|
@@ -1571,7 +1589,7 @@ module Aws::SSMIncidents
|
|
1571
1589
|
# title: "RelatedItemTitleString",
|
1572
1590
|
# },
|
1573
1591
|
# item_to_remove: {
|
1574
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION
|
1592
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
1575
1593
|
# value: { # required
|
1576
1594
|
# arn: "Arn",
|
1577
1595
|
# metric_definition: "MetricDefinition",
|
@@ -1693,6 +1711,11 @@ module Aws::SSMIncidents
|
|
1693
1711
|
# A brief summary of the incident. This typically contains what has
|
1694
1712
|
# happened, what's currently happening, and next steps.
|
1695
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
|
+
#
|
1696
1719
|
# @option params [String] :incident_template_title
|
1697
1720
|
# The short format name of the incident. The title can't contain
|
1698
1721
|
# spaces.
|
@@ -1707,6 +1730,11 @@ module Aws::SSMIncidents
|
|
1707
1730
|
# ssm_automation: {
|
1708
1731
|
# document_name: "SsmAutomationDocumentNameString", # required
|
1709
1732
|
# document_version: "SsmAutomationDocumentVersionString",
|
1733
|
+
# dynamic_parameters: {
|
1734
|
+
# "DynamicSsmParametersKeyString" => {
|
1735
|
+
# variable: "INCIDENT_RECORD_ARN", # accepts INCIDENT_RECORD_ARN, INVOLVED_RESOURCES
|
1736
|
+
# },
|
1737
|
+
# },
|
1710
1738
|
# parameters: {
|
1711
1739
|
# "SsmParametersKeyString" => ["SsmParameterValuesMemberString"],
|
1712
1740
|
# },
|
@@ -1732,6 +1760,9 @@ module Aws::SSMIncidents
|
|
1732
1760
|
# },
|
1733
1761
|
# ],
|
1734
1762
|
# incident_template_summary: "IncidentSummary",
|
1763
|
+
# incident_template_tags: {
|
1764
|
+
# "TagKey" => "TagValue",
|
1765
|
+
# },
|
1735
1766
|
# incident_template_title: "IncidentTitle",
|
1736
1767
|
# })
|
1737
1768
|
#
|
@@ -1806,7 +1837,7 @@ module Aws::SSMIncidents
|
|
1806
1837
|
params: params,
|
1807
1838
|
config: config)
|
1808
1839
|
context[:gem_name] = 'aws-sdk-ssmincidents'
|
1809
|
-
context[:gem_version] = '1.
|
1840
|
+
context[:gem_version] = '1.15.0'
|
1810
1841
|
Seahorse::Client::Request.new(handlers, context)
|
1811
1842
|
end
|
1812
1843
|
|
@@ -45,6 +45,9 @@ module Aws::SSMIncidents
|
|
45
45
|
DeleteResponsePlanOutput = Shapes::StructureShape.new(name: 'DeleteResponsePlanOutput')
|
46
46
|
DeleteTimelineEventInput = Shapes::StructureShape.new(name: 'DeleteTimelineEventInput')
|
47
47
|
DeleteTimelineEventOutput = Shapes::StructureShape.new(name: 'DeleteTimelineEventOutput')
|
48
|
+
DynamicSsmParameterValue = Shapes::UnionShape.new(name: 'DynamicSsmParameterValue')
|
49
|
+
DynamicSsmParameters = Shapes::MapShape.new(name: 'DynamicSsmParameters')
|
50
|
+
DynamicSsmParametersKeyString = Shapes::StringShape.new(name: 'DynamicSsmParametersKeyString')
|
48
51
|
EmptyChatChannel = Shapes::StructureShape.new(name: 'EmptyChatChannel')
|
49
52
|
EngagementSet = Shapes::ListShape.new(name: 'EngagementSet')
|
50
53
|
EventData = Shapes::StringShape.new(name: 'EventData')
|
@@ -125,6 +128,7 @@ module Aws::SSMIncidents
|
|
125
128
|
ResponsePlanSummaryList = Shapes::ListShape.new(name: 'ResponsePlanSummaryList')
|
126
129
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
127
130
|
ServiceCode = Shapes::StringShape.new(name: 'ServiceCode')
|
131
|
+
ServicePrincipal = Shapes::StringShape.new(name: 'ServicePrincipal')
|
128
132
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
129
133
|
SnsArn = Shapes::StringShape.new(name: 'SnsArn')
|
130
134
|
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
@@ -146,6 +150,7 @@ module Aws::SSMIncidents
|
|
146
150
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
147
151
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
148
152
|
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
153
|
+
TagMapUpdate = Shapes::MapShape.new(name: 'TagMapUpdate')
|
149
154
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
150
155
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
151
156
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
@@ -174,6 +179,7 @@ module Aws::SSMIncidents
|
|
174
179
|
UpdateTimelineEventOutput = Shapes::StructureShape.new(name: 'UpdateTimelineEventOutput')
|
175
180
|
Url = Shapes::StringShape.new(name: 'Url')
|
176
181
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
182
|
+
VariableType = Shapes::StringShape.new(name: 'VariableType')
|
177
183
|
|
178
184
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
|
179
185
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
@@ -293,6 +299,15 @@ module Aws::SSMIncidents
|
|
293
299
|
|
294
300
|
DeleteTimelineEventOutput.struct_class = Types::DeleteTimelineEventOutput
|
295
301
|
|
302
|
+
DynamicSsmParameterValue.add_member(:variable, Shapes::ShapeRef.new(shape: VariableType, location_name: "variable"))
|
303
|
+
DynamicSsmParameterValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
304
|
+
DynamicSsmParameterValue.add_member_subclass(:variable, Types::DynamicSsmParameterValue::Variable)
|
305
|
+
DynamicSsmParameterValue.add_member_subclass(:unknown, Types::DynamicSsmParameterValue::Unknown)
|
306
|
+
DynamicSsmParameterValue.struct_class = Types::DynamicSsmParameterValue
|
307
|
+
|
308
|
+
DynamicSsmParameters.key = Shapes::ShapeRef.new(shape: DynamicSsmParametersKeyString)
|
309
|
+
DynamicSsmParameters.value = Shapes::ShapeRef.new(shape: DynamicSsmParameterValue)
|
310
|
+
|
296
311
|
EmptyChatChannel.struct_class = Types::EmptyChatChannel
|
297
312
|
|
298
313
|
EngagementSet.member = Shapes::ShapeRef.new(shape: SsmContactsArn)
|
@@ -369,7 +384,7 @@ module Aws::SSMIncidents
|
|
369
384
|
IncidentRecord.struct_class = Types::IncidentRecord
|
370
385
|
|
371
386
|
IncidentRecordSource.add_member(:created_by, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "createdBy"))
|
372
|
-
IncidentRecordSource.add_member(:invoked_by, Shapes::ShapeRef.new(shape:
|
387
|
+
IncidentRecordSource.add_member(:invoked_by, Shapes::ShapeRef.new(shape: ServicePrincipal, location_name: "invokedBy"))
|
373
388
|
IncidentRecordSource.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceArn"))
|
374
389
|
IncidentRecordSource.add_member(:source, Shapes::ShapeRef.new(shape: IncidentSource, required: true, location_name: "source"))
|
375
390
|
IncidentRecordSource.struct_class = Types::IncidentRecordSource
|
@@ -387,6 +402,7 @@ module Aws::SSMIncidents
|
|
387
402
|
|
388
403
|
IncidentTemplate.add_member(:dedupe_string, Shapes::ShapeRef.new(shape: DedupeString, location_name: "dedupeString"))
|
389
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"))
|
390
406
|
IncidentTemplate.add_member(:notification_targets, Shapes::ShapeRef.new(shape: NotificationTargetSet, location_name: "notificationTargets"))
|
391
407
|
IncidentTemplate.add_member(:summary, Shapes::ShapeRef.new(shape: IncidentSummary, location_name: "summary"))
|
392
408
|
IncidentTemplate.add_member(:title, Shapes::ShapeRef.new(shape: IncidentTitle, required: true, location_name: "title"))
|
@@ -547,6 +563,7 @@ module Aws::SSMIncidents
|
|
547
563
|
|
548
564
|
SsmAutomation.add_member(:document_name, Shapes::ShapeRef.new(shape: SsmAutomationDocumentNameString, required: true, location_name: "documentName"))
|
549
565
|
SsmAutomation.add_member(:document_version, Shapes::ShapeRef.new(shape: SsmAutomationDocumentVersionString, location_name: "documentVersion"))
|
566
|
+
SsmAutomation.add_member(:dynamic_parameters, Shapes::ShapeRef.new(shape: DynamicSsmParameters, location_name: "dynamicParameters"))
|
550
567
|
SsmAutomation.add_member(:parameters, Shapes::ShapeRef.new(shape: SsmParameters, location_name: "parameters"))
|
551
568
|
SsmAutomation.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
552
569
|
SsmAutomation.add_member(:target_account, Shapes::ShapeRef.new(shape: SsmTargetAccount, location_name: "targetAccount"))
|
@@ -575,6 +592,9 @@ module Aws::SSMIncidents
|
|
575
592
|
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
576
593
|
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
577
594
|
|
595
|
+
TagMapUpdate.key = Shapes::ShapeRef.new(shape: TagKey)
|
596
|
+
TagMapUpdate.value = Shapes::ShapeRef.new(shape: TagValue)
|
597
|
+
|
578
598
|
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
579
599
|
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
|
580
600
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
@@ -659,6 +679,7 @@ module Aws::SSMIncidents
|
|
659
679
|
UpdateResponsePlanInput.add_member(:incident_template_impact, Shapes::ShapeRef.new(shape: Impact, location_name: "incidentTemplateImpact"))
|
660
680
|
UpdateResponsePlanInput.add_member(:incident_template_notification_targets, Shapes::ShapeRef.new(shape: NotificationTargetSet, location_name: "incidentTemplateNotificationTargets"))
|
661
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"))
|
662
683
|
UpdateResponsePlanInput.add_member(:incident_template_title, Shapes::ShapeRef.new(shape: IncidentTitle, location_name: "incidentTemplateTitle"))
|
663
684
|
UpdateResponsePlanInput.struct_class = Types::UpdateResponsePlanInput
|
664
685
|
|
@@ -1081,6 +1102,7 @@ module Aws::SSMIncidents
|
|
1081
1102
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1082
1103
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1083
1104
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1105
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1084
1106
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1085
1107
|
end)
|
1086
1108
|
|
@@ -278,6 +278,11 @@ module Aws::SSMIncidents
|
|
278
278
|
# ssm_automation: {
|
279
279
|
# document_name: "SsmAutomationDocumentNameString", # required
|
280
280
|
# document_version: "SsmAutomationDocumentVersionString",
|
281
|
+
# dynamic_parameters: {
|
282
|
+
# "DynamicSsmParametersKeyString" => {
|
283
|
+
# variable: "INCIDENT_RECORD_ARN", # accepts INCIDENT_RECORD_ARN, INVOLVED_RESOURCES
|
284
|
+
# },
|
285
|
+
# },
|
281
286
|
# parameters: {
|
282
287
|
# "SsmParametersKeyString" => ["SsmParameterValuesMemberString"],
|
283
288
|
# },
|
@@ -297,6 +302,9 @@ module Aws::SSMIncidents
|
|
297
302
|
# incident_template: { # required
|
298
303
|
# dedupe_string: "DedupeString",
|
299
304
|
# impact: 1, # required
|
305
|
+
# incident_tags: {
|
306
|
+
# "TagKey" => "TagValue",
|
307
|
+
# },
|
300
308
|
# notification_targets: [
|
301
309
|
# {
|
302
310
|
# sns_topic_arn: "Arn",
|
@@ -397,8 +405,7 @@ module Aws::SSMIncidents
|
|
397
405
|
# @return [String]
|
398
406
|
#
|
399
407
|
# @!attribute [rw] event_data
|
400
|
-
# A short description of the event
|
401
|
-
# other schema imposed.
|
408
|
+
# A short description of the event.
|
402
409
|
# @return [String]
|
403
410
|
#
|
404
411
|
# @!attribute [rw] event_time
|
@@ -599,6 +606,30 @@ module Aws::SSMIncidents
|
|
599
606
|
#
|
600
607
|
class DeleteTimelineEventOutput < Aws::EmptyStructure; end
|
601
608
|
|
609
|
+
# The dynamic SSM parameter value.
|
610
|
+
#
|
611
|
+
# @note DynamicSsmParameterValue is a union - when making an API calls you must set exactly one of the members.
|
612
|
+
#
|
613
|
+
# @note DynamicSsmParameterValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DynamicSsmParameterValue corresponding to the set member.
|
614
|
+
#
|
615
|
+
# @!attribute [rw] variable
|
616
|
+
# Variable dynamic parameters. A parameter value is determined when an
|
617
|
+
# incident is created.
|
618
|
+
# @return [String]
|
619
|
+
#
|
620
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/DynamicSsmParameterValue AWS API Documentation
|
621
|
+
#
|
622
|
+
class DynamicSsmParameterValue < Struct.new(
|
623
|
+
:variable,
|
624
|
+
:unknown)
|
625
|
+
SENSITIVE = []
|
626
|
+
include Aws::Structure
|
627
|
+
include Aws::Structure::Union
|
628
|
+
|
629
|
+
class Variable < DynamicSsmParameterValue; end
|
630
|
+
class Unknown < DynamicSsmParameterValue; end
|
631
|
+
end
|
632
|
+
|
602
633
|
# Used to remove the chat channel from an incident record or response
|
603
634
|
# plan.
|
604
635
|
#
|
@@ -986,7 +1017,9 @@ module Aws::SSMIncidents
|
|
986
1017
|
# @return [String]
|
987
1018
|
#
|
988
1019
|
# @!attribute [rw] invoked_by
|
989
|
-
# The principal
|
1020
|
+
# The service principal that assumed the role specified in
|
1021
|
+
# `createdBy`. If no service principal assumed the role this will be
|
1022
|
+
# left blank.
|
990
1023
|
# @return [String]
|
991
1024
|
#
|
992
1025
|
# @!attribute [rw] resource_arn
|
@@ -1064,6 +1097,9 @@ module Aws::SSMIncidents
|
|
1064
1097
|
# {
|
1065
1098
|
# dedupe_string: "DedupeString",
|
1066
1099
|
# impact: 1, # required
|
1100
|
+
# incident_tags: {
|
1101
|
+
# "TagKey" => "TagValue",
|
1102
|
+
# },
|
1067
1103
|
# notification_targets: [
|
1068
1104
|
# {
|
1069
1105
|
# sns_topic_arn: "Arn",
|
@@ -1082,6 +1118,11 @@ module Aws::SSMIncidents
|
|
1082
1118
|
# The impact of the incident on your customers and applications.
|
1083
1119
|
# @return [Integer]
|
1084
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
|
+
#
|
1085
1126
|
# @!attribute [rw] notification_targets
|
1086
1127
|
# The Amazon SNS targets that are notified when updates are made to an
|
1087
1128
|
# incident.
|
@@ -1101,6 +1142,7 @@ module Aws::SSMIncidents
|
|
1101
1142
|
class IncidentTemplate < Struct.new(
|
1102
1143
|
:dedupe_string,
|
1103
1144
|
:impact,
|
1145
|
+
:incident_tags,
|
1104
1146
|
:notification_targets,
|
1105
1147
|
:summary,
|
1106
1148
|
:title)
|
@@ -1128,7 +1170,7 @@ module Aws::SSMIncidents
|
|
1128
1170
|
# data as a hash:
|
1129
1171
|
#
|
1130
1172
|
# {
|
1131
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION
|
1173
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
1132
1174
|
# value: { # required
|
1133
1175
|
# arn: "Arn",
|
1134
1176
|
# metric_definition: "MetricDefinition",
|
@@ -1137,20 +1179,7 @@ module Aws::SSMIncidents
|
|
1137
1179
|
# }
|
1138
1180
|
#
|
1139
1181
|
# @!attribute [rw] type
|
1140
|
-
# The type of related item.
|
1141
|
-
# types:
|
1142
|
-
#
|
1143
|
-
# * `ANALYSIS`
|
1144
|
-
#
|
1145
|
-
# * `INCIDENT`
|
1146
|
-
#
|
1147
|
-
# * `METRIC`
|
1148
|
-
#
|
1149
|
-
# * `PARENT`
|
1150
|
-
#
|
1151
|
-
# * `ATTACHMENT`
|
1152
|
-
#
|
1153
|
-
# * `OTHER`
|
1182
|
+
# The type of related item.
|
1154
1183
|
# @return [String]
|
1155
1184
|
#
|
1156
1185
|
# @!attribute [rw] value
|
@@ -1667,7 +1696,7 @@ module Aws::SSMIncidents
|
|
1667
1696
|
#
|
1668
1697
|
# {
|
1669
1698
|
# identifier: { # required
|
1670
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION
|
1699
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
1671
1700
|
# value: { # required
|
1672
1701
|
# arn: "Arn",
|
1673
1702
|
# metric_definition: "MetricDefinition",
|
@@ -1891,6 +1920,11 @@ module Aws::SSMIncidents
|
|
1891
1920
|
# {
|
1892
1921
|
# document_name: "SsmAutomationDocumentNameString", # required
|
1893
1922
|
# document_version: "SsmAutomationDocumentVersionString",
|
1923
|
+
# dynamic_parameters: {
|
1924
|
+
# "DynamicSsmParametersKeyString" => {
|
1925
|
+
# variable: "INCIDENT_RECORD_ARN", # accepts INCIDENT_RECORD_ARN, INVOLVED_RESOURCES
|
1926
|
+
# },
|
1927
|
+
# },
|
1894
1928
|
# parameters: {
|
1895
1929
|
# "SsmParametersKeyString" => ["SsmParameterValuesMemberString"],
|
1896
1930
|
# },
|
@@ -1906,6 +1940,11 @@ module Aws::SSMIncidents
|
|
1906
1940
|
# The automation document's version to use when running.
|
1907
1941
|
# @return [String]
|
1908
1942
|
#
|
1943
|
+
# @!attribute [rw] dynamic_parameters
|
1944
|
+
# The key-value pair to resolve dynamic parameter values when
|
1945
|
+
# processing a Systems Manager Automation runbook.
|
1946
|
+
# @return [Hash<String,Types::DynamicSsmParameterValue>]
|
1947
|
+
#
|
1909
1948
|
# @!attribute [rw] parameters
|
1910
1949
|
# The key-value pair parameters to use when running the automation
|
1911
1950
|
# document.
|
@@ -1926,6 +1965,7 @@ module Aws::SSMIncidents
|
|
1926
1965
|
class SsmAutomation < Struct.new(
|
1927
1966
|
:document_name,
|
1928
1967
|
:document_version,
|
1968
|
+
:dynamic_parameters,
|
1929
1969
|
:parameters,
|
1930
1970
|
:role_arn,
|
1931
1971
|
:target_account)
|
@@ -1942,7 +1982,7 @@ module Aws::SSMIncidents
|
|
1942
1982
|
# related_items: [
|
1943
1983
|
# {
|
1944
1984
|
# identifier: { # required
|
1945
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION
|
1985
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
1946
1986
|
# value: { # required
|
1947
1987
|
# arn: "Arn",
|
1948
1988
|
# metric_definition: "MetricDefinition",
|
@@ -2360,7 +2400,7 @@ module Aws::SSMIncidents
|
|
2360
2400
|
# related_items_update: { # required
|
2361
2401
|
# item_to_add: {
|
2362
2402
|
# identifier: { # required
|
2363
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION
|
2403
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
2364
2404
|
# value: { # required
|
2365
2405
|
# arn: "Arn",
|
2366
2406
|
# metric_definition: "MetricDefinition",
|
@@ -2370,7 +2410,7 @@ module Aws::SSMIncidents
|
|
2370
2410
|
# title: "RelatedItemTitleString",
|
2371
2411
|
# },
|
2372
2412
|
# item_to_remove: {
|
2373
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION
|
2413
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
2374
2414
|
# value: { # required
|
2375
2415
|
# arn: "Arn",
|
2376
2416
|
# metric_definition: "MetricDefinition",
|
@@ -2499,6 +2539,11 @@ module Aws::SSMIncidents
|
|
2499
2539
|
# ssm_automation: {
|
2500
2540
|
# document_name: "SsmAutomationDocumentNameString", # required
|
2501
2541
|
# document_version: "SsmAutomationDocumentVersionString",
|
2542
|
+
# dynamic_parameters: {
|
2543
|
+
# "DynamicSsmParametersKeyString" => {
|
2544
|
+
# variable: "INCIDENT_RECORD_ARN", # accepts INCIDENT_RECORD_ARN, INVOLVED_RESOURCES
|
2545
|
+
# },
|
2546
|
+
# },
|
2502
2547
|
# parameters: {
|
2503
2548
|
# "SsmParametersKeyString" => ["SsmParameterValuesMemberString"],
|
2504
2549
|
# },
|
@@ -2524,6 +2569,9 @@ module Aws::SSMIncidents
|
|
2524
2569
|
# },
|
2525
2570
|
# ],
|
2526
2571
|
# incident_template_summary: "IncidentSummary",
|
2572
|
+
# incident_template_tags: {
|
2573
|
+
# "TagKey" => "TagValue",
|
2574
|
+
# },
|
2527
2575
|
# incident_template_title: "IncidentTitle",
|
2528
2576
|
# }
|
2529
2577
|
#
|
@@ -2593,6 +2641,12 @@ module Aws::SSMIncidents
|
|
2593
2641
|
# happened, what's currently happening, and next steps.
|
2594
2642
|
# @return [String]
|
2595
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
|
+
#
|
2596
2650
|
# @!attribute [rw] incident_template_title
|
2597
2651
|
# The short format name of the incident. The title can't contain
|
2598
2652
|
# spaces.
|
@@ -2611,6 +2665,7 @@ module Aws::SSMIncidents
|
|
2611
2665
|
:incident_template_impact,
|
2612
2666
|
:incident_template_notification_targets,
|
2613
2667
|
:incident_template_summary,
|
2668
|
+
:incident_template_tags,
|
2614
2669
|
:incident_template_title)
|
2615
2670
|
SENSITIVE = []
|
2616
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-
|
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
|