aws-sdk-ssmincidents 1.19.0 → 1.20.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: f6b2ee80c3185adba475faa323cdcb7aad23956b8e8bed5c0df3618fc028c0c2
4
- data.tar.gz: f6a3606e949f6714d562b103cb01827cae2a8bda0ded4a4cdc05d4818317cf3d
3
+ metadata.gz: f0916452fe2b57acc4d8657fd01a288ed4077c594f87dcc3b75c0fa930be8f4a
4
+ data.tar.gz: b2761b43a13eb81e78843155d3b2210dc57e6adc155fa85f7f92797e4e05e891
5
5
  SHA512:
6
- metadata.gz: 4b68cd0b5b91f49994327420859795ba8210ea29e8d5f0a00fbfa5bd35d70b310a69758c181b4d1258b9ab729eba46aaa698bcda3d8c065d39474755459beebd
7
- data.tar.gz: 9ce6c014fb9b1f9370d6991cfe00dd21b9b46840974f5ffa71cd4ab2b6e3c2e852621fc231ab09dcac009dd436bd5fef09d68f5440e762bc94381fe3b30988f2
6
+ metadata.gz: 952b2f51278c74dacb3b651666a695a8bc74f27ad6fa6e0b1ff703a0729ca5e357b61dffe6bca9dfdb2460d6f6228e62f72fb25c90a3b258c5b2e2e52be0a69d
7
+ data.tar.gz: 9be9d43f8986f0e27a08c4804d098d1ad06bb7f2e2082dd860c131c36eb04b4f68789a5dbb667c1a3742829a6547d8a8ffc85cb35978bd97a244bcb21a86d2ef
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.20.0 (2022-11-16)
5
+ ------------------
6
+
7
+ * Feature - Add support for PagerDuty integrations on ResponsePlan, IncidentRecord, and RelatedItem APIs
8
+
4
9
  1.19.0 (2022-11-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.19.0
1
+ 1.20.0
@@ -445,6 +445,10 @@ module Aws::SSMIncidents
445
445
  # @option params [required, Types::IncidentTemplate] :incident_template
446
446
  # Details used to create an incident when using this response plan.
447
447
  #
448
+ # @option params [Array<Types::Integration>] :integrations
449
+ # Information about third-party services integrated into the response
450
+ # plan.
451
+ #
448
452
  # @option params [required, String] :name
449
453
  # The short format name of the response plan. Can't include spaces.
450
454
  #
@@ -498,6 +502,17 @@ module Aws::SSMIncidents
498
502
  # summary: "IncidentSummary",
499
503
  # title: "IncidentTitle", # required
500
504
  # },
505
+ # integrations: [
506
+ # {
507
+ # pager_duty_configuration: {
508
+ # name: "PagerDutyConfigurationNameString", # required
509
+ # pager_duty_incident_configuration: { # required
510
+ # service_id: "PagerDutyIncidentConfigurationServiceIdString", # required
511
+ # },
512
+ # secret_id: "PagerDutyConfigurationSecretIdString", # required
513
+ # },
514
+ # },
515
+ # ],
501
516
  # name: "ResponsePlanName", # required
502
517
  # tags: {
503
518
  # "TagKey" => "TagValue",
@@ -868,6 +883,7 @@ module Aws::SSMIncidents
868
883
  # * {Types::GetResponsePlanOutput#display_name #display_name} => String
869
884
  # * {Types::GetResponsePlanOutput#engagements #engagements} => Array&lt;String&gt;
870
885
  # * {Types::GetResponsePlanOutput#incident_template #incident_template} => Types::IncidentTemplate
886
+ # * {Types::GetResponsePlanOutput#integrations #integrations} => Array&lt;Types::Integration&gt;
871
887
  # * {Types::GetResponsePlanOutput#name #name} => String
872
888
  #
873
889
  # @example Request syntax with placeholder values
@@ -902,6 +918,10 @@ module Aws::SSMIncidents
902
918
  # resp.incident_template.notification_targets[0].sns_topic_arn #=> String
903
919
  # resp.incident_template.summary #=> String
904
920
  # resp.incident_template.title #=> String
921
+ # resp.integrations #=> Array
922
+ # resp.integrations[0].pager_duty_configuration.name #=> String
923
+ # resp.integrations[0].pager_duty_configuration.pager_duty_incident_configuration.service_id #=> String
924
+ # resp.integrations[0].pager_duty_configuration.secret_id #=> String
905
925
  # resp.name #=> String
906
926
  #
907
927
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/GetResponsePlan AWS API Documentation
@@ -1074,6 +1094,9 @@ module Aws::SSMIncidents
1074
1094
  # resp.related_items[0].identifier.type #=> String, one of "ANALYSIS", "INCIDENT", "METRIC", "PARENT", "ATTACHMENT", "OTHER", "AUTOMATION", "INVOLVED_RESOURCE", "TASK"
1075
1095
  # resp.related_items[0].identifier.value.arn #=> String
1076
1096
  # resp.related_items[0].identifier.value.metric_definition #=> String
1097
+ # resp.related_items[0].identifier.value.pager_duty_incident_detail.auto_resolve #=> Boolean
1098
+ # resp.related_items[0].identifier.value.pager_duty_incident_detail.id #=> String
1099
+ # resp.related_items[0].identifier.value.pager_duty_incident_detail.secret_id #=> String
1077
1100
  # resp.related_items[0].identifier.value.url #=> String
1078
1101
  # resp.related_items[0].title #=> String
1079
1102
  #
@@ -1386,6 +1409,11 @@ module Aws::SSMIncidents
1386
1409
  # value: { # required
1387
1410
  # arn: "Arn",
1388
1411
  # metric_definition: "MetricDefinition",
1412
+ # pager_duty_incident_detail: {
1413
+ # auto_resolve: false,
1414
+ # id: "PagerDutyIncidentDetailIdString", # required
1415
+ # secret_id: "PagerDutyIncidentDetailSecretIdString",
1416
+ # },
1389
1417
  # url: "Url",
1390
1418
  # },
1391
1419
  # },
@@ -1630,6 +1658,11 @@ module Aws::SSMIncidents
1630
1658
  # value: { # required
1631
1659
  # arn: "Arn",
1632
1660
  # metric_definition: "MetricDefinition",
1661
+ # pager_duty_incident_detail: {
1662
+ # auto_resolve: false,
1663
+ # id: "PagerDutyIncidentDetailIdString", # required
1664
+ # secret_id: "PagerDutyIncidentDetailSecretIdString",
1665
+ # },
1633
1666
  # url: "Url",
1634
1667
  # },
1635
1668
  # },
@@ -1640,6 +1673,11 @@ module Aws::SSMIncidents
1640
1673
  # value: { # required
1641
1674
  # arn: "Arn",
1642
1675
  # metric_definition: "MetricDefinition",
1676
+ # pager_duty_incident_detail: {
1677
+ # auto_resolve: false,
1678
+ # id: "PagerDutyIncidentDetailIdString", # required
1679
+ # secret_id: "PagerDutyIncidentDetailSecretIdString",
1680
+ # },
1643
1681
  # url: "Url",
1644
1682
  # },
1645
1683
  # },
@@ -1768,6 +1806,10 @@ module Aws::SSMIncidents
1768
1806
  # The short format name of the incident. The title can't contain
1769
1807
  # spaces.
1770
1808
  #
1809
+ # @option params [Array<Types::Integration>] :integrations
1810
+ # Information about third-party services integrated into the response
1811
+ # plan.
1812
+ #
1771
1813
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1772
1814
  #
1773
1815
  # @example Request syntax with placeholder values
@@ -1812,6 +1854,17 @@ module Aws::SSMIncidents
1812
1854
  # "TagKey" => "TagValue",
1813
1855
  # },
1814
1856
  # incident_template_title: "IncidentTitle",
1857
+ # integrations: [
1858
+ # {
1859
+ # pager_duty_configuration: {
1860
+ # name: "PagerDutyConfigurationNameString", # required
1861
+ # pager_duty_incident_configuration: { # required
1862
+ # service_id: "PagerDutyIncidentConfigurationServiceIdString", # required
1863
+ # },
1864
+ # secret_id: "PagerDutyConfigurationSecretIdString", # required
1865
+ # },
1866
+ # },
1867
+ # ],
1815
1868
  # })
1816
1869
  #
1817
1870
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/UpdateResponsePlan AWS API Documentation
@@ -1905,7 +1958,7 @@ module Aws::SSMIncidents
1905
1958
  params: params,
1906
1959
  config: config)
1907
1960
  context[:gem_name] = 'aws-sdk-ssmincidents'
1908
- context[:gem_version] = '1.19.0'
1961
+ context[:gem_version] = '1.20.0'
1909
1962
  Seahorse::Client::Request.new(handlers, context)
1910
1963
  end
1911
1964
 
@@ -82,6 +82,8 @@ module Aws::SSMIncidents
82
82
  IncidentTitle = Shapes::StringShape.new(name: 'IncidentTitle')
83
83
  Integer = Shapes::IntegerShape.new(name: 'Integer')
84
84
  IntegerList = Shapes::ListShape.new(name: 'IntegerList')
85
+ Integration = Shapes::UnionShape.new(name: 'Integration')
86
+ Integrations = Shapes::ListShape.new(name: 'Integrations')
85
87
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
86
88
  ItemIdentifier = Shapes::StructureShape.new(name: 'ItemIdentifier')
87
89
  ItemType = Shapes::StringShape.new(name: 'ItemType')
@@ -103,6 +105,14 @@ module Aws::SSMIncidents
103
105
  NextToken = Shapes::StringShape.new(name: 'NextToken')
104
106
  NotificationTargetItem = Shapes::UnionShape.new(name: 'NotificationTargetItem')
105
107
  NotificationTargetSet = Shapes::ListShape.new(name: 'NotificationTargetSet')
108
+ PagerDutyConfiguration = Shapes::StructureShape.new(name: 'PagerDutyConfiguration')
109
+ PagerDutyConfigurationNameString = Shapes::StringShape.new(name: 'PagerDutyConfigurationNameString')
110
+ PagerDutyConfigurationSecretIdString = Shapes::StringShape.new(name: 'PagerDutyConfigurationSecretIdString')
111
+ PagerDutyIncidentConfiguration = Shapes::StructureShape.new(name: 'PagerDutyIncidentConfiguration')
112
+ PagerDutyIncidentConfigurationServiceIdString = Shapes::StringShape.new(name: 'PagerDutyIncidentConfigurationServiceIdString')
113
+ PagerDutyIncidentDetail = Shapes::StructureShape.new(name: 'PagerDutyIncidentDetail')
114
+ PagerDutyIncidentDetailIdString = Shapes::StringShape.new(name: 'PagerDutyIncidentDetailIdString')
115
+ PagerDutyIncidentDetailSecretIdString = Shapes::StringShape.new(name: 'PagerDutyIncidentDetailSecretIdString')
106
116
  Policy = Shapes::StringShape.new(name: 'Policy')
107
117
  PolicyId = Shapes::StringShape.new(name: 'PolicyId')
108
118
  PutResourcePolicyInput = Shapes::StructureShape.new(name: 'PutResourcePolicyInput')
@@ -255,6 +265,7 @@ module Aws::SSMIncidents
255
265
  CreateResponsePlanInput.add_member(:display_name, Shapes::ShapeRef.new(shape: ResponsePlanDisplayName, location_name: "displayName"))
256
266
  CreateResponsePlanInput.add_member(:engagements, Shapes::ShapeRef.new(shape: EngagementSet, location_name: "engagements"))
257
267
  CreateResponsePlanInput.add_member(:incident_template, Shapes::ShapeRef.new(shape: IncidentTemplate, required: true, location_name: "incidentTemplate"))
268
+ CreateResponsePlanInput.add_member(:integrations, Shapes::ShapeRef.new(shape: Integrations, location_name: "integrations"))
258
269
  CreateResponsePlanInput.add_member(:name, Shapes::ShapeRef.new(shape: ResponsePlanName, required: true, location_name: "name"))
259
270
  CreateResponsePlanInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
260
271
  CreateResponsePlanInput.struct_class = Types::CreateResponsePlanInput
@@ -373,6 +384,7 @@ module Aws::SSMIncidents
373
384
  GetResponsePlanOutput.add_member(:display_name, Shapes::ShapeRef.new(shape: ResponsePlanDisplayName, location_name: "displayName"))
374
385
  GetResponsePlanOutput.add_member(:engagements, Shapes::ShapeRef.new(shape: EngagementSet, location_name: "engagements"))
375
386
  GetResponsePlanOutput.add_member(:incident_template, Shapes::ShapeRef.new(shape: IncidentTemplate, required: true, location_name: "incidentTemplate"))
387
+ GetResponsePlanOutput.add_member(:integrations, Shapes::ShapeRef.new(shape: Integrations, location_name: "integrations"))
376
388
  GetResponsePlanOutput.add_member(:name, Shapes::ShapeRef.new(shape: ResponsePlanName, required: true, location_name: "name"))
377
389
  GetResponsePlanOutput.struct_class = Types::GetResponsePlanOutput
378
390
 
@@ -426,6 +438,14 @@ module Aws::SSMIncidents
426
438
 
427
439
  IntegerList.member = Shapes::ShapeRef.new(shape: Integer)
428
440
 
441
+ Integration.add_member(:pager_duty_configuration, Shapes::ShapeRef.new(shape: PagerDutyConfiguration, location_name: "pagerDutyConfiguration"))
442
+ Integration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
443
+ Integration.add_member_subclass(:pager_duty_configuration, Types::Integration::PagerDutyConfiguration)
444
+ Integration.add_member_subclass(:unknown, Types::Integration::Unknown)
445
+ Integration.struct_class = Types::Integration
446
+
447
+ Integrations.member = Shapes::ShapeRef.new(shape: Integration)
448
+
429
449
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
430
450
  InternalServerException.struct_class = Types::InternalServerException
431
451
 
@@ -435,10 +455,12 @@ module Aws::SSMIncidents
435
455
 
436
456
  ItemValue.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
437
457
  ItemValue.add_member(:metric_definition, Shapes::ShapeRef.new(shape: MetricDefinition, location_name: "metricDefinition"))
458
+ ItemValue.add_member(:pager_duty_incident_detail, Shapes::ShapeRef.new(shape: PagerDutyIncidentDetail, location_name: "pagerDutyIncidentDetail"))
438
459
  ItemValue.add_member(:url, Shapes::ShapeRef.new(shape: Url, location_name: "url"))
439
460
  ItemValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
440
461
  ItemValue.add_member_subclass(:arn, Types::ItemValue::Arn)
441
462
  ItemValue.add_member_subclass(:metric_definition, Types::ItemValue::MetricDefinition)
463
+ ItemValue.add_member_subclass(:pager_duty_incident_detail, Types::ItemValue::PagerDutyIncidentDetail)
442
464
  ItemValue.add_member_subclass(:url, Types::ItemValue::Url)
443
465
  ItemValue.add_member_subclass(:unknown, Types::ItemValue::Unknown)
444
466
  ItemValue.struct_class = Types::ItemValue
@@ -503,6 +525,19 @@ module Aws::SSMIncidents
503
525
 
504
526
  NotificationTargetSet.member = Shapes::ShapeRef.new(shape: NotificationTargetItem)
505
527
 
528
+ PagerDutyConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: PagerDutyConfigurationNameString, required: true, location_name: "name"))
529
+ PagerDutyConfiguration.add_member(:pager_duty_incident_configuration, Shapes::ShapeRef.new(shape: PagerDutyIncidentConfiguration, required: true, location_name: "pagerDutyIncidentConfiguration"))
530
+ PagerDutyConfiguration.add_member(:secret_id, Shapes::ShapeRef.new(shape: PagerDutyConfigurationSecretIdString, required: true, location_name: "secretId"))
531
+ PagerDutyConfiguration.struct_class = Types::PagerDutyConfiguration
532
+
533
+ PagerDutyIncidentConfiguration.add_member(:service_id, Shapes::ShapeRef.new(shape: PagerDutyIncidentConfigurationServiceIdString, required: true, location_name: "serviceId"))
534
+ PagerDutyIncidentConfiguration.struct_class = Types::PagerDutyIncidentConfiguration
535
+
536
+ PagerDutyIncidentDetail.add_member(:auto_resolve, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoResolve"))
537
+ PagerDutyIncidentDetail.add_member(:id, Shapes::ShapeRef.new(shape: PagerDutyIncidentDetailIdString, required: true, location_name: "id"))
538
+ PagerDutyIncidentDetail.add_member(:secret_id, Shapes::ShapeRef.new(shape: PagerDutyIncidentDetailSecretIdString, location_name: "secretId"))
539
+ PagerDutyIncidentDetail.struct_class = Types::PagerDutyIncidentDetail
540
+
506
541
  PutResourcePolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "policy"))
507
542
  PutResourcePolicyInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
508
543
  PutResourcePolicyInput.struct_class = Types::PutResourcePolicyInput
@@ -699,6 +734,7 @@ module Aws::SSMIncidents
699
734
  UpdateResponsePlanInput.add_member(:incident_template_summary, Shapes::ShapeRef.new(shape: IncidentSummary, location_name: "incidentTemplateSummary"))
700
735
  UpdateResponsePlanInput.add_member(:incident_template_tags, Shapes::ShapeRef.new(shape: TagMapUpdate, location_name: "incidentTemplateTags"))
701
736
  UpdateResponsePlanInput.add_member(:incident_template_title, Shapes::ShapeRef.new(shape: IncidentTitle, location_name: "incidentTemplateTitle"))
737
+ UpdateResponsePlanInput.add_member(:integrations, Shapes::ShapeRef.new(shape: Integrations, location_name: "integrations"))
702
738
  UpdateResponsePlanInput.struct_class = Types::UpdateResponsePlanInput
703
739
 
704
740
  UpdateResponsePlanOutput.struct_class = Types::UpdateResponsePlanOutput
@@ -321,6 +321,17 @@ module Aws::SSMIncidents
321
321
  # summary: "IncidentSummary",
322
322
  # title: "IncidentTitle", # required
323
323
  # },
324
+ # integrations: [
325
+ # {
326
+ # pager_duty_configuration: {
327
+ # name: "PagerDutyConfigurationNameString", # required
328
+ # pager_duty_incident_configuration: { # required
329
+ # service_id: "PagerDutyIncidentConfigurationServiceIdString", # required
330
+ # },
331
+ # secret_id: "PagerDutyConfigurationSecretIdString", # required
332
+ # },
333
+ # },
334
+ # ],
324
335
  # name: "ResponsePlanName", # required
325
336
  # tags: {
326
337
  # "TagKey" => "TagValue",
@@ -358,6 +369,11 @@ module Aws::SSMIncidents
358
369
  # Details used to create an incident when using this response plan.
359
370
  # @return [Types::IncidentTemplate]
360
371
  #
372
+ # @!attribute [rw] integrations
373
+ # Information about third-party services integrated into the response
374
+ # plan.
375
+ # @return [Array<Types::Integration>]
376
+ #
361
377
  # @!attribute [rw] name
362
378
  # The short format name of the response plan. Can't include spaces.
363
379
  # @return [String]
@@ -375,6 +391,7 @@ module Aws::SSMIncidents
375
391
  :display_name,
376
392
  :engagements,
377
393
  :incident_template,
394
+ :integrations,
378
395
  :name,
379
396
  :tags)
380
397
  SENSITIVE = []
@@ -930,6 +947,11 @@ module Aws::SSMIncidents
930
947
  # Details used to create the incident when using this response plan.
931
948
  # @return [Types::IncidentTemplate]
932
949
  #
950
+ # @!attribute [rw] integrations
951
+ # Information about third-party services integrated into the Incident
952
+ # Manager response plan.
953
+ # @return [Array<Types::Integration>]
954
+ #
933
955
  # @!attribute [rw] name
934
956
  # The short format name of the response plan. The name can't contain
935
957
  # spaces.
@@ -944,6 +966,7 @@ module Aws::SSMIncidents
944
966
  :display_name,
945
967
  :engagements,
946
968
  :incident_template,
969
+ :integrations,
947
970
  :name)
948
971
  SENSITIVE = []
949
972
  include Aws::Structure
@@ -1214,6 +1237,31 @@ module Aws::SSMIncidents
1214
1237
  include Aws::Structure
1215
1238
  end
1216
1239
 
1240
+ # Information about third-party services integrated into a response
1241
+ # plan.
1242
+ #
1243
+ # @note Integration is a union - when making an API calls you must set exactly one of the members.
1244
+ #
1245
+ # @note Integration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Integration corresponding to the set member.
1246
+ #
1247
+ # @!attribute [rw] pager_duty_configuration
1248
+ # Information about the PagerDuty service where the response plan
1249
+ # creates an incident.
1250
+ # @return [Types::PagerDutyConfiguration]
1251
+ #
1252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/Integration AWS API Documentation
1253
+ #
1254
+ class Integration < Struct.new(
1255
+ :pager_duty_configuration,
1256
+ :unknown)
1257
+ SENSITIVE = []
1258
+ include Aws::Structure
1259
+ include Aws::Structure::Union
1260
+
1261
+ class PagerDutyConfiguration < Integration; end
1262
+ class Unknown < Integration; end
1263
+ end
1264
+
1217
1265
  # The request processing has failed because of an unknown error,
1218
1266
  # exception or failure.
1219
1267
  #
@@ -1238,6 +1286,11 @@ module Aws::SSMIncidents
1238
1286
  # value: { # required
1239
1287
  # arn: "Arn",
1240
1288
  # metric_definition: "MetricDefinition",
1289
+ # pager_duty_incident_detail: {
1290
+ # auto_resolve: false,
1291
+ # id: "PagerDutyIncidentDetailIdString", # required
1292
+ # secret_id: "PagerDutyIncidentDetailSecretIdString",
1293
+ # },
1241
1294
  # url: "Url",
1242
1295
  # },
1243
1296
  # }
@@ -1275,6 +1328,11 @@ module Aws::SSMIncidents
1275
1328
  # CloudWatch.
1276
1329
  # @return [String]
1277
1330
  #
1331
+ # @!attribute [rw] pager_duty_incident_detail
1332
+ # Details about an incident that is associated with a PagerDuty
1333
+ # incident.
1334
+ # @return [Types::PagerDutyIncidentDetail]
1335
+ #
1278
1336
  # @!attribute [rw] url
1279
1337
  # The URL, if the related item is a non-Amazon Web Services resource.
1280
1338
  # @return [String]
@@ -1284,6 +1342,7 @@ module Aws::SSMIncidents
1284
1342
  class ItemValue < Struct.new(
1285
1343
  :arn,
1286
1344
  :metric_definition,
1345
+ :pager_duty_incident_detail,
1287
1346
  :url,
1288
1347
  :unknown)
1289
1348
  SENSITIVE = []
@@ -1292,6 +1351,7 @@ module Aws::SSMIncidents
1292
1351
 
1293
1352
  class Arn < ItemValue; end
1294
1353
  class MetricDefinition < ItemValue; end
1354
+ class PagerDutyIncidentDetail < ItemValue; end
1295
1355
  class Url < ItemValue; end
1296
1356
  class Unknown < ItemValue; end
1297
1357
  end
@@ -1660,6 +1720,105 @@ module Aws::SSMIncidents
1660
1720
  class Unknown < NotificationTargetItem; end
1661
1721
  end
1662
1722
 
1723
+ # Details about the PagerDuty configuration for a response plan.
1724
+ #
1725
+ # @note When making an API call, you may pass PagerDutyConfiguration
1726
+ # data as a hash:
1727
+ #
1728
+ # {
1729
+ # name: "PagerDutyConfigurationNameString", # required
1730
+ # pager_duty_incident_configuration: { # required
1731
+ # service_id: "PagerDutyIncidentConfigurationServiceIdString", # required
1732
+ # },
1733
+ # secret_id: "PagerDutyConfigurationSecretIdString", # required
1734
+ # }
1735
+ #
1736
+ # @!attribute [rw] name
1737
+ # The name of the PagerDuty configuration.
1738
+ # @return [String]
1739
+ #
1740
+ # @!attribute [rw] pager_duty_incident_configuration
1741
+ # Details about the PagerDuty service associated with the
1742
+ # configuration.
1743
+ # @return [Types::PagerDutyIncidentConfiguration]
1744
+ #
1745
+ # @!attribute [rw] secret_id
1746
+ # The ID of the Amazon Web Services Secrets Manager secret that stores
1747
+ # your PagerDuty key, either a General Access REST API Key or User
1748
+ # Token REST API Key, and other user credentials.
1749
+ # @return [String]
1750
+ #
1751
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/PagerDutyConfiguration AWS API Documentation
1752
+ #
1753
+ class PagerDutyConfiguration < Struct.new(
1754
+ :name,
1755
+ :pager_duty_incident_configuration,
1756
+ :secret_id)
1757
+ SENSITIVE = []
1758
+ include Aws::Structure
1759
+ end
1760
+
1761
+ # Details about the PagerDuty service where the response plan creates an
1762
+ # incident.
1763
+ #
1764
+ # @note When making an API call, you may pass PagerDutyIncidentConfiguration
1765
+ # data as a hash:
1766
+ #
1767
+ # {
1768
+ # service_id: "PagerDutyIncidentConfigurationServiceIdString", # required
1769
+ # }
1770
+ #
1771
+ # @!attribute [rw] service_id
1772
+ # The ID of the PagerDuty service that the response plan associates
1773
+ # with an incident when it launches.
1774
+ # @return [String]
1775
+ #
1776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/PagerDutyIncidentConfiguration AWS API Documentation
1777
+ #
1778
+ class PagerDutyIncidentConfiguration < Struct.new(
1779
+ :service_id)
1780
+ SENSITIVE = []
1781
+ include Aws::Structure
1782
+ end
1783
+
1784
+ # Details about the PagerDuty incident associated with an incident
1785
+ # created by an Incident Manager response plan.
1786
+ #
1787
+ # @note When making an API call, you may pass PagerDutyIncidentDetail
1788
+ # data as a hash:
1789
+ #
1790
+ # {
1791
+ # auto_resolve: false,
1792
+ # id: "PagerDutyIncidentDetailIdString", # required
1793
+ # secret_id: "PagerDutyIncidentDetailSecretIdString",
1794
+ # }
1795
+ #
1796
+ # @!attribute [rw] auto_resolve
1797
+ # Indicates whether to resolve the PagerDuty incident when you resolve
1798
+ # the associated Incident Manager incident.
1799
+ # @return [Boolean]
1800
+ #
1801
+ # @!attribute [rw] id
1802
+ # The ID of the incident associated with the PagerDuty service for the
1803
+ # response plan.
1804
+ # @return [String]
1805
+ #
1806
+ # @!attribute [rw] secret_id
1807
+ # The ID of the Amazon Web Services Secrets Manager secret that stores
1808
+ # your PagerDuty key, either a General Access REST API Key or User
1809
+ # Token REST API Key, and other user credentials.
1810
+ # @return [String]
1811
+ #
1812
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/PagerDutyIncidentDetail AWS API Documentation
1813
+ #
1814
+ class PagerDutyIncidentDetail < Struct.new(
1815
+ :auto_resolve,
1816
+ :id,
1817
+ :secret_id)
1818
+ SENSITIVE = []
1819
+ include Aws::Structure
1820
+ end
1821
+
1663
1822
  # @note When making an API call, you may pass PutResourcePolicyInput
1664
1823
  # data as a hash:
1665
1824
  #
@@ -1765,6 +1924,11 @@ module Aws::SSMIncidents
1765
1924
  # value: { # required
1766
1925
  # arn: "Arn",
1767
1926
  # metric_definition: "MetricDefinition",
1927
+ # pager_duty_incident_detail: {
1928
+ # auto_resolve: false,
1929
+ # id: "PagerDutyIncidentDetailIdString", # required
1930
+ # secret_id: "PagerDutyIncidentDetailSecretIdString",
1931
+ # },
1768
1932
  # url: "Url",
1769
1933
  # },
1770
1934
  # },
@@ -2060,6 +2224,11 @@ module Aws::SSMIncidents
2060
2224
  # value: { # required
2061
2225
  # arn: "Arn",
2062
2226
  # metric_definition: "MetricDefinition",
2227
+ # pager_duty_incident_detail: {
2228
+ # auto_resolve: false,
2229
+ # id: "PagerDutyIncidentDetailIdString", # required
2230
+ # secret_id: "PagerDutyIncidentDetailSecretIdString",
2231
+ # },
2063
2232
  # url: "Url",
2064
2233
  # },
2065
2234
  # },
@@ -2483,6 +2652,11 @@ module Aws::SSMIncidents
2483
2652
  # value: { # required
2484
2653
  # arn: "Arn",
2485
2654
  # metric_definition: "MetricDefinition",
2655
+ # pager_duty_incident_detail: {
2656
+ # auto_resolve: false,
2657
+ # id: "PagerDutyIncidentDetailIdString", # required
2658
+ # secret_id: "PagerDutyIncidentDetailSecretIdString",
2659
+ # },
2486
2660
  # url: "Url",
2487
2661
  # },
2488
2662
  # },
@@ -2493,6 +2667,11 @@ module Aws::SSMIncidents
2493
2667
  # value: { # required
2494
2668
  # arn: "Arn",
2495
2669
  # metric_definition: "MetricDefinition",
2670
+ # pager_duty_incident_detail: {
2671
+ # auto_resolve: false,
2672
+ # id: "PagerDutyIncidentDetailIdString", # required
2673
+ # secret_id: "PagerDutyIncidentDetailSecretIdString",
2674
+ # },
2496
2675
  # url: "Url",
2497
2676
  # },
2498
2677
  # },
@@ -2652,6 +2831,17 @@ module Aws::SSMIncidents
2652
2831
  # "TagKey" => "TagValue",
2653
2832
  # },
2654
2833
  # incident_template_title: "IncidentTitle",
2834
+ # integrations: [
2835
+ # {
2836
+ # pager_duty_configuration: {
2837
+ # name: "PagerDutyConfigurationNameString", # required
2838
+ # pager_duty_incident_configuration: { # required
2839
+ # service_id: "PagerDutyIncidentConfigurationServiceIdString", # required
2840
+ # },
2841
+ # secret_id: "PagerDutyConfigurationSecretIdString", # required
2842
+ # },
2843
+ # },
2844
+ # ],
2655
2845
  # }
2656
2846
  #
2657
2847
  # @!attribute [rw] actions
@@ -2733,6 +2923,11 @@ module Aws::SSMIncidents
2733
2923
  # spaces.
2734
2924
  # @return [String]
2735
2925
  #
2926
+ # @!attribute [rw] integrations
2927
+ # Information about third-party services integrated into the response
2928
+ # plan.
2929
+ # @return [Array<Types::Integration>]
2930
+ #
2736
2931
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/UpdateResponsePlanInput AWS API Documentation
2737
2932
  #
2738
2933
  class UpdateResponsePlanInput < Struct.new(
@@ -2747,7 +2942,8 @@ module Aws::SSMIncidents
2747
2942
  :incident_template_notification_targets,
2748
2943
  :incident_template_summary,
2749
2944
  :incident_template_tags,
2750
- :incident_template_title)
2945
+ :incident_template_title,
2946
+ :integrations)
2751
2947
  SENSITIVE = []
2752
2948
  include Aws::Structure
2753
2949
  end
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-ssmincidents/customizations'
53
53
  # @!group service
54
54
  module Aws::SSMIncidents
55
55
 
56
- GEM_VERSION = '1.19.0'
56
+ GEM_VERSION = '1.20.0'
57
57
 
58
58
  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.19.0
4
+ version: 1.20.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-11 00:00:00.000000000 Z
11
+ date: 2022-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core