aws-sdk-ssmincidents 1.11.0 → 1.14.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 +28 -8
- data/lib/aws-sdk-ssmincidents/client_api.rb +17 -1
- data/lib/aws-sdk-ssmincidents/types.rb +55 -22
- data/lib/aws-sdk-ssmincidents.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69874231767c24abc3c0a10a9cecdd9d5fdb553d4c62a325357c4646cca5b80c
|
4
|
+
data.tar.gz: 1f52f953fa969f9eb19681f7a2a6ad407ed20edb1476ebe601109b41d62f865e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 798e3d0e8e3cc23ddce01edcb6dbf0e5bae7be3f033cc3582ab0a752cd8de94135608403e858a228e76a97cfea333a84e84c45bf91ca6748963c506c34af1afb
|
7
|
+
data.tar.gz: f26df18537de1510c75abeb1bb181991845f3d421446250ce81543ee1f1726118e5fddaf25695bd18d26513cab3e0b3e742b70908ff99a56215bf568e5a56bbf
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.14.0 (2022-05-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adding support for dynamic SSM Runbook parameter values. Updating validation pattern for engagements. Adding ConflictException to UpdateReplicationSet API contract.
|
8
|
+
|
9
|
+
1.13.0 (2022-03-16)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Removed incorrect validation pattern for IncidentRecordSource.invokedBy
|
13
|
+
|
14
|
+
1.12.0 (2022-02-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.11.0 (2022-02-07)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.14.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::SSMIncidents
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -438,6 +440,11 @@ module Aws::SSMIncidents
|
|
438
440
|
# ssm_automation: {
|
439
441
|
# document_name: "SsmAutomationDocumentNameString", # required
|
440
442
|
# document_version: "SsmAutomationDocumentVersionString",
|
443
|
+
# dynamic_parameters: {
|
444
|
+
# "DynamicSsmParametersKeyString" => {
|
445
|
+
# variable: "INCIDENT_RECORD_ARN", # accepts INCIDENT_RECORD_ARN, INVOLVED_RESOURCES
|
446
|
+
# },
|
447
|
+
# },
|
441
448
|
# parameters: {
|
442
449
|
# "SsmParametersKeyString" => ["SsmParameterValuesMemberString"],
|
443
450
|
# },
|
@@ -498,8 +505,7 @@ module Aws::SSMIncidents
|
|
498
505
|
# not need to pass this option.**
|
499
506
|
#
|
500
507
|
# @option params [required, String] :event_data
|
501
|
-
# A short description of the event
|
502
|
-
# other schema imposed.
|
508
|
+
# A short description of the event.
|
503
509
|
#
|
504
510
|
# @option params [required, Time,DateTime,Date,Integer,String] :event_time
|
505
511
|
# The time that the event occurred.
|
@@ -833,6 +839,8 @@ module Aws::SSMIncidents
|
|
833
839
|
# resp.actions #=> Array
|
834
840
|
# resp.actions[0].ssm_automation.document_name #=> String
|
835
841
|
# resp.actions[0].ssm_automation.document_version #=> String
|
842
|
+
# resp.actions[0].ssm_automation.dynamic_parameters #=> Hash
|
843
|
+
# resp.actions[0].ssm_automation.dynamic_parameters["DynamicSsmParametersKeyString"].variable #=> String, one of "INCIDENT_RECORD_ARN", "INVOLVED_RESOURCES"
|
836
844
|
# resp.actions[0].ssm_automation.parameters #=> Hash
|
837
845
|
# resp.actions[0].ssm_automation.parameters["SsmParametersKeyString"] #=> Array
|
838
846
|
# resp.actions[0].ssm_automation.parameters["SsmParametersKeyString"][0] #=> String
|
@@ -1015,7 +1023,7 @@ module Aws::SSMIncidents
|
|
1015
1023
|
#
|
1016
1024
|
# resp.next_token #=> String
|
1017
1025
|
# resp.related_items #=> Array
|
1018
|
-
# resp.related_items[0].identifier.type #=> String, one of "ANALYSIS", "INCIDENT", "METRIC", "PARENT", "ATTACHMENT", "OTHER", "AUTOMATION"
|
1026
|
+
# resp.related_items[0].identifier.type #=> String, one of "ANALYSIS", "INCIDENT", "METRIC", "PARENT", "ATTACHMENT", "OTHER", "AUTOMATION", "INVOLVED_RESOURCE"
|
1019
1027
|
# resp.related_items[0].identifier.value.arn #=> String
|
1020
1028
|
# resp.related_items[0].identifier.value.metric_definition #=> String
|
1021
1029
|
# resp.related_items[0].identifier.value.url #=> String
|
@@ -1222,7 +1230,14 @@ module Aws::SSMIncidents
|
|
1222
1230
|
req.send_request(options)
|
1223
1231
|
end
|
1224
1232
|
|
1225
|
-
# Adds a resource policy to the specified response plan.
|
1233
|
+
# Adds a resource policy to the specified response plan. The resource
|
1234
|
+
# policy is used to share the response plan using Resource Access
|
1235
|
+
# Manager (RAM). For more information about cross-account sharing, see
|
1236
|
+
# [Setting up cross-account functionality][1].
|
1237
|
+
#
|
1238
|
+
#
|
1239
|
+
#
|
1240
|
+
# [1]: https://docs.aws.amazon.com/incident-manager/latest/userguide/xa.html
|
1226
1241
|
#
|
1227
1242
|
# @option params [required, String] :policy
|
1228
1243
|
# Details of the resource policy.
|
@@ -1315,7 +1330,7 @@ module Aws::SSMIncidents
|
|
1315
1330
|
# related_items: [
|
1316
1331
|
# {
|
1317
1332
|
# identifier: { # required
|
1318
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION
|
1333
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
1319
1334
|
# value: { # required
|
1320
1335
|
# arn: "Arn",
|
1321
1336
|
# metric_definition: "MetricDefinition",
|
@@ -1559,7 +1574,7 @@ module Aws::SSMIncidents
|
|
1559
1574
|
# related_items_update: { # required
|
1560
1575
|
# item_to_add: {
|
1561
1576
|
# identifier: { # required
|
1562
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION
|
1577
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
1563
1578
|
# value: { # required
|
1564
1579
|
# arn: "Arn",
|
1565
1580
|
# metric_definition: "MetricDefinition",
|
@@ -1569,7 +1584,7 @@ module Aws::SSMIncidents
|
|
1569
1584
|
# title: "RelatedItemTitleString",
|
1570
1585
|
# },
|
1571
1586
|
# item_to_remove: {
|
1572
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION
|
1587
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
1573
1588
|
# value: { # required
|
1574
1589
|
# arn: "Arn",
|
1575
1590
|
# metric_definition: "MetricDefinition",
|
@@ -1705,6 +1720,11 @@ module Aws::SSMIncidents
|
|
1705
1720
|
# ssm_automation: {
|
1706
1721
|
# document_name: "SsmAutomationDocumentNameString", # required
|
1707
1722
|
# document_version: "SsmAutomationDocumentVersionString",
|
1723
|
+
# dynamic_parameters: {
|
1724
|
+
# "DynamicSsmParametersKeyString" => {
|
1725
|
+
# variable: "INCIDENT_RECORD_ARN", # accepts INCIDENT_RECORD_ARN, INVOLVED_RESOURCES
|
1726
|
+
# },
|
1727
|
+
# },
|
1708
1728
|
# parameters: {
|
1709
1729
|
# "SsmParametersKeyString" => ["SsmParameterValuesMemberString"],
|
1710
1730
|
# },
|
@@ -1804,7 +1824,7 @@ module Aws::SSMIncidents
|
|
1804
1824
|
params: params,
|
1805
1825
|
config: config)
|
1806
1826
|
context[:gem_name] = 'aws-sdk-ssmincidents'
|
1807
|
-
context[:gem_version] = '1.
|
1827
|
+
context[:gem_version] = '1.14.0'
|
1808
1828
|
Seahorse::Client::Request.new(handlers, context)
|
1809
1829
|
end
|
1810
1830
|
|
@@ -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')
|
@@ -174,6 +178,7 @@ module Aws::SSMIncidents
|
|
174
178
|
UpdateTimelineEventOutput = Shapes::StructureShape.new(name: 'UpdateTimelineEventOutput')
|
175
179
|
Url = Shapes::StringShape.new(name: 'Url')
|
176
180
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
181
|
+
VariableType = Shapes::StringShape.new(name: 'VariableType')
|
177
182
|
|
178
183
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
|
179
184
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
@@ -293,6 +298,15 @@ module Aws::SSMIncidents
|
|
293
298
|
|
294
299
|
DeleteTimelineEventOutput.struct_class = Types::DeleteTimelineEventOutput
|
295
300
|
|
301
|
+
DynamicSsmParameterValue.add_member(:variable, Shapes::ShapeRef.new(shape: VariableType, location_name: "variable"))
|
302
|
+
DynamicSsmParameterValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
303
|
+
DynamicSsmParameterValue.add_member_subclass(:variable, Types::DynamicSsmParameterValue::Variable)
|
304
|
+
DynamicSsmParameterValue.add_member_subclass(:unknown, Types::DynamicSsmParameterValue::Unknown)
|
305
|
+
DynamicSsmParameterValue.struct_class = Types::DynamicSsmParameterValue
|
306
|
+
|
307
|
+
DynamicSsmParameters.key = Shapes::ShapeRef.new(shape: DynamicSsmParametersKeyString)
|
308
|
+
DynamicSsmParameters.value = Shapes::ShapeRef.new(shape: DynamicSsmParameterValue)
|
309
|
+
|
296
310
|
EmptyChatChannel.struct_class = Types::EmptyChatChannel
|
297
311
|
|
298
312
|
EngagementSet.member = Shapes::ShapeRef.new(shape: SsmContactsArn)
|
@@ -369,7 +383,7 @@ module Aws::SSMIncidents
|
|
369
383
|
IncidentRecord.struct_class = Types::IncidentRecord
|
370
384
|
|
371
385
|
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:
|
386
|
+
IncidentRecordSource.add_member(:invoked_by, Shapes::ShapeRef.new(shape: ServicePrincipal, location_name: "invokedBy"))
|
373
387
|
IncidentRecordSource.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceArn"))
|
374
388
|
IncidentRecordSource.add_member(:source, Shapes::ShapeRef.new(shape: IncidentSource, required: true, location_name: "source"))
|
375
389
|
IncidentRecordSource.struct_class = Types::IncidentRecordSource
|
@@ -547,6 +561,7 @@ module Aws::SSMIncidents
|
|
547
561
|
|
548
562
|
SsmAutomation.add_member(:document_name, Shapes::ShapeRef.new(shape: SsmAutomationDocumentNameString, required: true, location_name: "documentName"))
|
549
563
|
SsmAutomation.add_member(:document_version, Shapes::ShapeRef.new(shape: SsmAutomationDocumentVersionString, location_name: "documentVersion"))
|
564
|
+
SsmAutomation.add_member(:dynamic_parameters, Shapes::ShapeRef.new(shape: DynamicSsmParameters, location_name: "dynamicParameters"))
|
550
565
|
SsmAutomation.add_member(:parameters, Shapes::ShapeRef.new(shape: SsmParameters, location_name: "parameters"))
|
551
566
|
SsmAutomation.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
552
567
|
SsmAutomation.add_member(:target_account, Shapes::ShapeRef.new(shape: SsmTargetAccount, location_name: "targetAccount"))
|
@@ -1081,6 +1096,7 @@ module Aws::SSMIncidents
|
|
1081
1096
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1082
1097
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1083
1098
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1099
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1084
1100
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1085
1101
|
end)
|
1086
1102
|
|
@@ -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
|
# },
|
@@ -397,8 +402,7 @@ module Aws::SSMIncidents
|
|
397
402
|
# @return [String]
|
398
403
|
#
|
399
404
|
# @!attribute [rw] event_data
|
400
|
-
# A short description of the event
|
401
|
-
# other schema imposed.
|
405
|
+
# A short description of the event.
|
402
406
|
# @return [String]
|
403
407
|
#
|
404
408
|
# @!attribute [rw] event_time
|
@@ -599,6 +603,30 @@ module Aws::SSMIncidents
|
|
599
603
|
#
|
600
604
|
class DeleteTimelineEventOutput < Aws::EmptyStructure; end
|
601
605
|
|
606
|
+
# The dynamic SSM parameter value.
|
607
|
+
#
|
608
|
+
# @note DynamicSsmParameterValue is a union - when making an API calls you must set exactly one of the members.
|
609
|
+
#
|
610
|
+
# @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.
|
611
|
+
#
|
612
|
+
# @!attribute [rw] variable
|
613
|
+
# Variable dynamic parameters. A parameter value is determined when an
|
614
|
+
# incident is created.
|
615
|
+
# @return [String]
|
616
|
+
#
|
617
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/DynamicSsmParameterValue AWS API Documentation
|
618
|
+
#
|
619
|
+
class DynamicSsmParameterValue < Struct.new(
|
620
|
+
:variable,
|
621
|
+
:unknown)
|
622
|
+
SENSITIVE = []
|
623
|
+
include Aws::Structure
|
624
|
+
include Aws::Structure::Union
|
625
|
+
|
626
|
+
class Variable < DynamicSsmParameterValue; end
|
627
|
+
class Unknown < DynamicSsmParameterValue; end
|
628
|
+
end
|
629
|
+
|
602
630
|
# Used to remove the chat channel from an incident record or response
|
603
631
|
# plan.
|
604
632
|
#
|
@@ -986,7 +1014,9 @@ module Aws::SSMIncidents
|
|
986
1014
|
# @return [String]
|
987
1015
|
#
|
988
1016
|
# @!attribute [rw] invoked_by
|
989
|
-
# The principal
|
1017
|
+
# The service principal that assumed the role specified in
|
1018
|
+
# `createdBy`. If no service principal assumed the role this will be
|
1019
|
+
# left blank.
|
990
1020
|
# @return [String]
|
991
1021
|
#
|
992
1022
|
# @!attribute [rw] resource_arn
|
@@ -1128,7 +1158,7 @@ module Aws::SSMIncidents
|
|
1128
1158
|
# data as a hash:
|
1129
1159
|
#
|
1130
1160
|
# {
|
1131
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION
|
1161
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
1132
1162
|
# value: { # required
|
1133
1163
|
# arn: "Arn",
|
1134
1164
|
# metric_definition: "MetricDefinition",
|
@@ -1137,20 +1167,7 @@ module Aws::SSMIncidents
|
|
1137
1167
|
# }
|
1138
1168
|
#
|
1139
1169
|
# @!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`
|
1170
|
+
# The type of related item.
|
1154
1171
|
# @return [String]
|
1155
1172
|
#
|
1156
1173
|
# @!attribute [rw] value
|
@@ -1667,7 +1684,7 @@ module Aws::SSMIncidents
|
|
1667
1684
|
#
|
1668
1685
|
# {
|
1669
1686
|
# identifier: { # required
|
1670
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION
|
1687
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
1671
1688
|
# value: { # required
|
1672
1689
|
# arn: "Arn",
|
1673
1690
|
# metric_definition: "MetricDefinition",
|
@@ -1891,6 +1908,11 @@ module Aws::SSMIncidents
|
|
1891
1908
|
# {
|
1892
1909
|
# document_name: "SsmAutomationDocumentNameString", # required
|
1893
1910
|
# document_version: "SsmAutomationDocumentVersionString",
|
1911
|
+
# dynamic_parameters: {
|
1912
|
+
# "DynamicSsmParametersKeyString" => {
|
1913
|
+
# variable: "INCIDENT_RECORD_ARN", # accepts INCIDENT_RECORD_ARN, INVOLVED_RESOURCES
|
1914
|
+
# },
|
1915
|
+
# },
|
1894
1916
|
# parameters: {
|
1895
1917
|
# "SsmParametersKeyString" => ["SsmParameterValuesMemberString"],
|
1896
1918
|
# },
|
@@ -1906,6 +1928,11 @@ module Aws::SSMIncidents
|
|
1906
1928
|
# The automation document's version to use when running.
|
1907
1929
|
# @return [String]
|
1908
1930
|
#
|
1931
|
+
# @!attribute [rw] dynamic_parameters
|
1932
|
+
# The key-value pair to resolve dynamic parameter values when
|
1933
|
+
# processing a Systems Manager Automation runbook.
|
1934
|
+
# @return [Hash<String,Types::DynamicSsmParameterValue>]
|
1935
|
+
#
|
1909
1936
|
# @!attribute [rw] parameters
|
1910
1937
|
# The key-value pair parameters to use when running the automation
|
1911
1938
|
# document.
|
@@ -1926,6 +1953,7 @@ module Aws::SSMIncidents
|
|
1926
1953
|
class SsmAutomation < Struct.new(
|
1927
1954
|
:document_name,
|
1928
1955
|
:document_version,
|
1956
|
+
:dynamic_parameters,
|
1929
1957
|
:parameters,
|
1930
1958
|
:role_arn,
|
1931
1959
|
:target_account)
|
@@ -1942,7 +1970,7 @@ module Aws::SSMIncidents
|
|
1942
1970
|
# related_items: [
|
1943
1971
|
# {
|
1944
1972
|
# identifier: { # required
|
1945
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION
|
1973
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
1946
1974
|
# value: { # required
|
1947
1975
|
# arn: "Arn",
|
1948
1976
|
# metric_definition: "MetricDefinition",
|
@@ -2360,7 +2388,7 @@ module Aws::SSMIncidents
|
|
2360
2388
|
# related_items_update: { # required
|
2361
2389
|
# item_to_add: {
|
2362
2390
|
# identifier: { # required
|
2363
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION
|
2391
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
2364
2392
|
# value: { # required
|
2365
2393
|
# arn: "Arn",
|
2366
2394
|
# metric_definition: "MetricDefinition",
|
@@ -2370,7 +2398,7 @@ module Aws::SSMIncidents
|
|
2370
2398
|
# title: "RelatedItemTitleString",
|
2371
2399
|
# },
|
2372
2400
|
# item_to_remove: {
|
2373
|
-
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION
|
2401
|
+
# type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER, AUTOMATION, INVOLVED_RESOURCE
|
2374
2402
|
# value: { # required
|
2375
2403
|
# arn: "Arn",
|
2376
2404
|
# metric_definition: "MetricDefinition",
|
@@ -2499,6 +2527,11 @@ module Aws::SSMIncidents
|
|
2499
2527
|
# ssm_automation: {
|
2500
2528
|
# document_name: "SsmAutomationDocumentNameString", # required
|
2501
2529
|
# document_version: "SsmAutomationDocumentVersionString",
|
2530
|
+
# dynamic_parameters: {
|
2531
|
+
# "DynamicSsmParametersKeyString" => {
|
2532
|
+
# variable: "INCIDENT_RECORD_ARN", # accepts INCIDENT_RECORD_ARN, INVOLVED_RESOURCES
|
2533
|
+
# },
|
2534
|
+
# },
|
2502
2535
|
# parameters: {
|
2503
2536
|
# "SsmParametersKeyString" => ["SsmParameterValuesMemberString"],
|
2504
2537
|
# },
|
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.14.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-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|