aws-sdk-ssmincidents 1.13.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 66a6658df24d35518d8b322d0b54af1eb7f8d3e33ecff2833a4cad3e94c5ae60
4
- data.tar.gz: da5f3eb12000601562b77fcb083158b305e91c11766cbd58e177db29cf890faf
3
+ metadata.gz: 69874231767c24abc3c0a10a9cecdd9d5fdb553d4c62a325357c4646cca5b80c
4
+ data.tar.gz: 1f52f953fa969f9eb19681f7a2a6ad407ed20edb1476ebe601109b41d62f865e
5
5
  SHA512:
6
- metadata.gz: 011370f8956270d5c4b0e8cb101b3621358297b1eaccdf472aa93f2a4bd25e5f065836baffdd1e9abfc9f83dd5d402c016502fa4e47cab4eb1b016c687bd9503
7
- data.tar.gz: ba40692aaaddc5913e4a4713ad57f70c6ef2f8c164427b91ca0aa44c92476ef11c97deb412216b192d5e822adfb1eb4d61b321f6c817c824ef76db1aa6207712
6
+ metadata.gz: 798e3d0e8e3cc23ddce01edcb6dbf0e5bae7be3f033cc3582ab0a752cd8de94135608403e858a228e76a97cfea333a84e84c45bf91ca6748963c506c34af1afb
7
+ data.tar.gz: f26df18537de1510c75abeb1bb181991845f3d421446250ce81543ee1f1726118e5fddaf25695bd18d26513cab3e0b3e742b70908ff99a56215bf568e5a56bbf
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.13.0 (2022-03-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.13.0
1
+ 1.14.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
  # },
@@ -500,8 +505,7 @@ module Aws::SSMIncidents
500
505
  # not need to pass this option.**
501
506
  #
502
507
  # @option params [required, String] :event_data
503
- # A short description of the event as a valid JSON string. There is no
504
- # other schema imposed.
508
+ # A short description of the event.
505
509
  #
506
510
  # @option params [required, Time,DateTime,Date,Integer,String] :event_time
507
511
  # The time that the event occurred.
@@ -835,6 +839,8 @@ module Aws::SSMIncidents
835
839
  # resp.actions #=> Array
836
840
  # resp.actions[0].ssm_automation.document_name #=> String
837
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"
838
844
  # resp.actions[0].ssm_automation.parameters #=> Hash
839
845
  # resp.actions[0].ssm_automation.parameters["SsmParametersKeyString"] #=> Array
840
846
  # resp.actions[0].ssm_automation.parameters["SsmParametersKeyString"][0] #=> String
@@ -1017,7 +1023,7 @@ module Aws::SSMIncidents
1017
1023
  #
1018
1024
  # resp.next_token #=> String
1019
1025
  # resp.related_items #=> Array
1020
- # 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"
1021
1027
  # resp.related_items[0].identifier.value.arn #=> String
1022
1028
  # resp.related_items[0].identifier.value.metric_definition #=> String
1023
1029
  # resp.related_items[0].identifier.value.url #=> String
@@ -1224,7 +1230,14 @@ module Aws::SSMIncidents
1224
1230
  req.send_request(options)
1225
1231
  end
1226
1232
 
1227
- # 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
1228
1241
  #
1229
1242
  # @option params [required, String] :policy
1230
1243
  # Details of the resource policy.
@@ -1317,7 +1330,7 @@ module Aws::SSMIncidents
1317
1330
  # related_items: [
1318
1331
  # {
1319
1332
  # identifier: { # required
1320
- # 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
1321
1334
  # value: { # required
1322
1335
  # arn: "Arn",
1323
1336
  # metric_definition: "MetricDefinition",
@@ -1561,7 +1574,7 @@ module Aws::SSMIncidents
1561
1574
  # related_items_update: { # required
1562
1575
  # item_to_add: {
1563
1576
  # identifier: { # required
1564
- # 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
1565
1578
  # value: { # required
1566
1579
  # arn: "Arn",
1567
1580
  # metric_definition: "MetricDefinition",
@@ -1571,7 +1584,7 @@ module Aws::SSMIncidents
1571
1584
  # title: "RelatedItemTitleString",
1572
1585
  # },
1573
1586
  # item_to_remove: {
1574
- # 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
1575
1588
  # value: { # required
1576
1589
  # arn: "Arn",
1577
1590
  # metric_definition: "MetricDefinition",
@@ -1707,6 +1720,11 @@ module Aws::SSMIncidents
1707
1720
  # ssm_automation: {
1708
1721
  # document_name: "SsmAutomationDocumentNameString", # required
1709
1722
  # document_version: "SsmAutomationDocumentVersionString",
1723
+ # dynamic_parameters: {
1724
+ # "DynamicSsmParametersKeyString" => {
1725
+ # variable: "INCIDENT_RECORD_ARN", # accepts INCIDENT_RECORD_ARN, INVOLVED_RESOURCES
1726
+ # },
1727
+ # },
1710
1728
  # parameters: {
1711
1729
  # "SsmParametersKeyString" => ["SsmParameterValuesMemberString"],
1712
1730
  # },
@@ -1806,7 +1824,7 @@ module Aws::SSMIncidents
1806
1824
  params: params,
1807
1825
  config: config)
1808
1826
  context[:gem_name] = 'aws-sdk-ssmincidents'
1809
- context[:gem_version] = '1.13.0'
1827
+ context[:gem_version] = '1.14.0'
1810
1828
  Seahorse::Client::Request.new(handlers, context)
1811
1829
  end
1812
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')
@@ -175,6 +178,7 @@ module Aws::SSMIncidents
175
178
  UpdateTimelineEventOutput = Shapes::StructureShape.new(name: 'UpdateTimelineEventOutput')
176
179
  Url = Shapes::StringShape.new(name: 'Url')
177
180
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
181
+ VariableType = Shapes::StringShape.new(name: 'VariableType')
178
182
 
179
183
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
180
184
  AccessDeniedException.struct_class = Types::AccessDeniedException
@@ -294,6 +298,15 @@ module Aws::SSMIncidents
294
298
 
295
299
  DeleteTimelineEventOutput.struct_class = Types::DeleteTimelineEventOutput
296
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
+
297
310
  EmptyChatChannel.struct_class = Types::EmptyChatChannel
298
311
 
299
312
  EngagementSet.member = Shapes::ShapeRef.new(shape: SsmContactsArn)
@@ -548,6 +561,7 @@ module Aws::SSMIncidents
548
561
 
549
562
  SsmAutomation.add_member(:document_name, Shapes::ShapeRef.new(shape: SsmAutomationDocumentNameString, required: true, location_name: "documentName"))
550
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"))
551
565
  SsmAutomation.add_member(:parameters, Shapes::ShapeRef.new(shape: SsmParameters, location_name: "parameters"))
552
566
  SsmAutomation.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
553
567
  SsmAutomation.add_member(:target_account, Shapes::ShapeRef.new(shape: SsmTargetAccount, location_name: "targetAccount"))
@@ -1082,6 +1096,7 @@ module Aws::SSMIncidents
1082
1096
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1083
1097
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1084
1098
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1099
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1085
1100
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1086
1101
  end)
1087
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 as a valid JSON string. There is no
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 the assumed the role specified of the `createdBy`.
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. Incident Manager supports the following
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
  # },
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-ssmincidents/customizations'
49
49
  # @!group service
50
50
  module Aws::SSMIncidents
51
51
 
52
- GEM_VERSION = '1.13.0'
52
+ GEM_VERSION = '1.14.0'
53
53
 
54
54
  end
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.13.0
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-03-16 00:00:00.000000000 Z
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