aws-sdk-ssmincidents 1.31.0 → 1.33.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,650 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SSMIncidents
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _BatchGetIncidentFindingsResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetIncidentFindingsOutput]
77
+ def errors: () -> ::Array[Types::BatchGetIncidentFindingsError]
78
+ def findings: () -> ::Array[Types::Finding]
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#batch_get_incident_findings-instance_method
81
+ def batch_get_incident_findings: (
82
+ finding_ids: Array[::String],
83
+ incident_record_arn: ::String
84
+ ) -> _BatchGetIncidentFindingsResponseSuccess
85
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetIncidentFindingsResponseSuccess
86
+
87
+ interface _CreateReplicationSetResponseSuccess
88
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateReplicationSetOutput]
89
+ def arn: () -> ::String
90
+ end
91
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#create_replication_set-instance_method
92
+ def create_replication_set: (
93
+ ?client_token: ::String,
94
+ regions: Hash[::String, {
95
+ sse_kms_key_id: ::String?
96
+ }],
97
+ ?tags: Hash[::String, ::String]
98
+ ) -> _CreateReplicationSetResponseSuccess
99
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateReplicationSetResponseSuccess
100
+
101
+ interface _CreateResponsePlanResponseSuccess
102
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateResponsePlanOutput]
103
+ def arn: () -> ::String
104
+ end
105
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#create_response_plan-instance_method
106
+ def create_response_plan: (
107
+ ?actions: Array[
108
+ {
109
+ ssm_automation: {
110
+ document_name: ::String,
111
+ document_version: ::String?,
112
+ dynamic_parameters: Hash[::String, {
113
+ variable: ("INCIDENT_RECORD_ARN" | "INVOLVED_RESOURCES")?
114
+ }]?,
115
+ parameters: Hash[::String, Array[::String]]?,
116
+ role_arn: ::String,
117
+ target_account: ("RESPONSE_PLAN_OWNER_ACCOUNT" | "IMPACTED_ACCOUNT")?
118
+ }?
119
+ },
120
+ ],
121
+ ?chat_channel: {
122
+ chatbot_sns: Array[::String]?,
123
+ empty: {
124
+ }?
125
+ },
126
+ ?client_token: ::String,
127
+ ?display_name: ::String,
128
+ ?engagements: Array[::String],
129
+ incident_template: {
130
+ dedupe_string: ::String?,
131
+ impact: ::Integer,
132
+ incident_tags: Hash[::String, ::String]?,
133
+ notification_targets: Array[
134
+ {
135
+ sns_topic_arn: ::String?
136
+ },
137
+ ]?,
138
+ summary: ::String?,
139
+ title: ::String
140
+ },
141
+ ?integrations: Array[
142
+ {
143
+ pager_duty_configuration: {
144
+ name: ::String,
145
+ pager_duty_incident_configuration: {
146
+ service_id: ::String
147
+ },
148
+ secret_id: ::String
149
+ }?
150
+ },
151
+ ],
152
+ name: ::String,
153
+ ?tags: Hash[::String, ::String]
154
+ ) -> _CreateResponsePlanResponseSuccess
155
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateResponsePlanResponseSuccess
156
+
157
+ interface _CreateTimelineEventResponseSuccess
158
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateTimelineEventOutput]
159
+ def event_id: () -> ::String
160
+ def incident_record_arn: () -> ::String
161
+ end
162
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#create_timeline_event-instance_method
163
+ def create_timeline_event: (
164
+ ?client_token: ::String,
165
+ event_data: ::String,
166
+ ?event_references: Array[
167
+ {
168
+ related_item_id: ::String?,
169
+ resource: ::String?
170
+ },
171
+ ],
172
+ event_time: ::Time,
173
+ event_type: ::String,
174
+ incident_record_arn: ::String
175
+ ) -> _CreateTimelineEventResponseSuccess
176
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTimelineEventResponseSuccess
177
+
178
+ interface _DeleteIncidentRecordResponseSuccess
179
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteIncidentRecordOutput]
180
+ end
181
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#delete_incident_record-instance_method
182
+ def delete_incident_record: (
183
+ arn: ::String
184
+ ) -> _DeleteIncidentRecordResponseSuccess
185
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteIncidentRecordResponseSuccess
186
+
187
+ interface _DeleteReplicationSetResponseSuccess
188
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteReplicationSetOutput]
189
+ end
190
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#delete_replication_set-instance_method
191
+ def delete_replication_set: (
192
+ arn: ::String
193
+ ) -> _DeleteReplicationSetResponseSuccess
194
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteReplicationSetResponseSuccess
195
+
196
+ interface _DeleteResourcePolicyResponseSuccess
197
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourcePolicyOutput]
198
+ end
199
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#delete_resource_policy-instance_method
200
+ def delete_resource_policy: (
201
+ policy_id: ::String,
202
+ resource_arn: ::String
203
+ ) -> _DeleteResourcePolicyResponseSuccess
204
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
205
+
206
+ interface _DeleteResponsePlanResponseSuccess
207
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResponsePlanOutput]
208
+ end
209
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#delete_response_plan-instance_method
210
+ def delete_response_plan: (
211
+ arn: ::String
212
+ ) -> _DeleteResponsePlanResponseSuccess
213
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResponsePlanResponseSuccess
214
+
215
+ interface _DeleteTimelineEventResponseSuccess
216
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTimelineEventOutput]
217
+ end
218
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#delete_timeline_event-instance_method
219
+ def delete_timeline_event: (
220
+ event_id: ::String,
221
+ incident_record_arn: ::String
222
+ ) -> _DeleteTimelineEventResponseSuccess
223
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTimelineEventResponseSuccess
224
+
225
+ interface _GetIncidentRecordResponseSuccess
226
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetIncidentRecordOutput]
227
+ def incident_record: () -> Types::IncidentRecord
228
+ end
229
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#get_incident_record-instance_method
230
+ def get_incident_record: (
231
+ arn: ::String
232
+ ) -> _GetIncidentRecordResponseSuccess
233
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIncidentRecordResponseSuccess
234
+
235
+ interface _GetReplicationSetResponseSuccess
236
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetReplicationSetOutput]
237
+ def replication_set: () -> Types::ReplicationSet
238
+ end
239
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#get_replication_set-instance_method
240
+ def get_replication_set: (
241
+ arn: ::String
242
+ ) -> _GetReplicationSetResponseSuccess
243
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetReplicationSetResponseSuccess
244
+
245
+ interface _GetResourcePoliciesResponseSuccess
246
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePoliciesOutput]
247
+ def next_token: () -> ::String
248
+ def resource_policies: () -> ::Array[Types::ResourcePolicy]
249
+ end
250
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#get_resource_policies-instance_method
251
+ def get_resource_policies: (
252
+ ?max_results: ::Integer,
253
+ ?next_token: ::String,
254
+ resource_arn: ::String
255
+ ) -> _GetResourcePoliciesResponseSuccess
256
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePoliciesResponseSuccess
257
+
258
+ interface _GetResponsePlanResponseSuccess
259
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResponsePlanOutput]
260
+ def actions: () -> ::Array[Types::Action]
261
+ def arn: () -> ::String
262
+ def chat_channel: () -> Types::ChatChannel
263
+ def display_name: () -> ::String
264
+ def engagements: () -> ::Array[::String]
265
+ def incident_template: () -> Types::IncidentTemplate
266
+ def integrations: () -> ::Array[Types::Integration]
267
+ def name: () -> ::String
268
+ end
269
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#get_response_plan-instance_method
270
+ def get_response_plan: (
271
+ arn: ::String
272
+ ) -> _GetResponsePlanResponseSuccess
273
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResponsePlanResponseSuccess
274
+
275
+ interface _GetTimelineEventResponseSuccess
276
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTimelineEventOutput]
277
+ def event: () -> Types::TimelineEvent
278
+ end
279
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#get_timeline_event-instance_method
280
+ def get_timeline_event: (
281
+ event_id: ::String,
282
+ incident_record_arn: ::String
283
+ ) -> _GetTimelineEventResponseSuccess
284
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTimelineEventResponseSuccess
285
+
286
+ interface _ListIncidentFindingsResponseSuccess
287
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListIncidentFindingsOutput]
288
+ def findings: () -> ::Array[Types::FindingSummary]
289
+ def next_token: () -> ::String
290
+ end
291
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#list_incident_findings-instance_method
292
+ def list_incident_findings: (
293
+ incident_record_arn: ::String,
294
+ ?max_results: ::Integer,
295
+ ?next_token: ::String
296
+ ) -> _ListIncidentFindingsResponseSuccess
297
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIncidentFindingsResponseSuccess
298
+
299
+ interface _ListIncidentRecordsResponseSuccess
300
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListIncidentRecordsOutput]
301
+ def incident_record_summaries: () -> ::Array[Types::IncidentRecordSummary]
302
+ def next_token: () -> ::String
303
+ end
304
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#list_incident_records-instance_method
305
+ def list_incident_records: (
306
+ ?filters: Array[
307
+ {
308
+ condition: {
309
+ after: ::Time?,
310
+ before: ::Time?,
311
+ equals: {
312
+ integer_values: Array[::Integer]?,
313
+ string_values: Array[::String]?
314
+ }?
315
+ },
316
+ key: ::String
317
+ },
318
+ ],
319
+ ?max_results: ::Integer,
320
+ ?next_token: ::String
321
+ ) -> _ListIncidentRecordsResponseSuccess
322
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIncidentRecordsResponseSuccess
323
+
324
+ interface _ListRelatedItemsResponseSuccess
325
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRelatedItemsOutput]
326
+ def next_token: () -> ::String
327
+ def related_items: () -> ::Array[Types::RelatedItem]
328
+ end
329
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#list_related_items-instance_method
330
+ def list_related_items: (
331
+ incident_record_arn: ::String,
332
+ ?max_results: ::Integer,
333
+ ?next_token: ::String
334
+ ) -> _ListRelatedItemsResponseSuccess
335
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRelatedItemsResponseSuccess
336
+
337
+ interface _ListReplicationSetsResponseSuccess
338
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListReplicationSetsOutput]
339
+ def next_token: () -> ::String
340
+ def replication_set_arns: () -> ::Array[::String]
341
+ end
342
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#list_replication_sets-instance_method
343
+ def list_replication_sets: (
344
+ ?max_results: ::Integer,
345
+ ?next_token: ::String
346
+ ) -> _ListReplicationSetsResponseSuccess
347
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListReplicationSetsResponseSuccess
348
+
349
+ interface _ListResponsePlansResponseSuccess
350
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListResponsePlansOutput]
351
+ def next_token: () -> ::String
352
+ def response_plan_summaries: () -> ::Array[Types::ResponsePlanSummary]
353
+ end
354
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#list_response_plans-instance_method
355
+ def list_response_plans: (
356
+ ?max_results: ::Integer,
357
+ ?next_token: ::String
358
+ ) -> _ListResponsePlansResponseSuccess
359
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResponsePlansResponseSuccess
360
+
361
+ interface _ListTagsForResourceResponseSuccess
362
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
363
+ def tags: () -> ::Hash[::String, ::String]
364
+ end
365
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#list_tags_for_resource-instance_method
366
+ def list_tags_for_resource: (
367
+ resource_arn: ::String
368
+ ) -> _ListTagsForResourceResponseSuccess
369
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
370
+
371
+ interface _ListTimelineEventsResponseSuccess
372
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTimelineEventsOutput]
373
+ def event_summaries: () -> ::Array[Types::EventSummary]
374
+ def next_token: () -> ::String
375
+ end
376
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#list_timeline_events-instance_method
377
+ def list_timeline_events: (
378
+ ?filters: Array[
379
+ {
380
+ condition: {
381
+ after: ::Time?,
382
+ before: ::Time?,
383
+ equals: {
384
+ integer_values: Array[::Integer]?,
385
+ string_values: Array[::String]?
386
+ }?
387
+ },
388
+ key: ::String
389
+ },
390
+ ],
391
+ incident_record_arn: ::String,
392
+ ?max_results: ::Integer,
393
+ ?next_token: ::String,
394
+ ?sort_by: ("EVENT_TIME"),
395
+ ?sort_order: ("ASCENDING" | "DESCENDING")
396
+ ) -> _ListTimelineEventsResponseSuccess
397
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTimelineEventsResponseSuccess
398
+
399
+ interface _PutResourcePolicyResponseSuccess
400
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyOutput]
401
+ def policy_id: () -> ::String
402
+ end
403
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#put_resource_policy-instance_method
404
+ def put_resource_policy: (
405
+ policy: ::String,
406
+ resource_arn: ::String
407
+ ) -> _PutResourcePolicyResponseSuccess
408
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
409
+
410
+ interface _StartIncidentResponseSuccess
411
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartIncidentOutput]
412
+ def incident_record_arn: () -> ::String
413
+ end
414
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#start_incident-instance_method
415
+ def start_incident: (
416
+ ?client_token: ::String,
417
+ ?impact: ::Integer,
418
+ ?related_items: Array[
419
+ {
420
+ generated_id: ::String?,
421
+ identifier: {
422
+ type: ("ANALYSIS" | "INCIDENT" | "METRIC" | "PARENT" | "ATTACHMENT" | "OTHER" | "AUTOMATION" | "INVOLVED_RESOURCE" | "TASK"),
423
+ value: {
424
+ arn: ::String?,
425
+ metric_definition: ::String?,
426
+ pager_duty_incident_detail: {
427
+ auto_resolve: bool?,
428
+ id: ::String,
429
+ secret_id: ::String?
430
+ }?,
431
+ url: ::String?
432
+ }
433
+ },
434
+ title: ::String?
435
+ },
436
+ ],
437
+ response_plan_arn: ::String,
438
+ ?title: ::String,
439
+ ?trigger_details: {
440
+ raw_data: ::String?,
441
+ source: ::String,
442
+ timestamp: ::Time,
443
+ trigger_arn: ::String?
444
+ }
445
+ ) -> _StartIncidentResponseSuccess
446
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartIncidentResponseSuccess
447
+
448
+ interface _TagResourceResponseSuccess
449
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
450
+ end
451
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#tag_resource-instance_method
452
+ def tag_resource: (
453
+ resource_arn: ::String,
454
+ tags: Hash[::String, ::String]
455
+ ) -> _TagResourceResponseSuccess
456
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
457
+
458
+ interface _UntagResourceResponseSuccess
459
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
460
+ end
461
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#untag_resource-instance_method
462
+ def untag_resource: (
463
+ resource_arn: ::String,
464
+ tag_keys: Array[::String]
465
+ ) -> _UntagResourceResponseSuccess
466
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
467
+
468
+ interface _UpdateDeletionProtectionResponseSuccess
469
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDeletionProtectionOutput]
470
+ end
471
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#update_deletion_protection-instance_method
472
+ def update_deletion_protection: (
473
+ arn: ::String,
474
+ ?client_token: ::String,
475
+ deletion_protected: bool
476
+ ) -> _UpdateDeletionProtectionResponseSuccess
477
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDeletionProtectionResponseSuccess
478
+
479
+ interface _UpdateIncidentRecordResponseSuccess
480
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIncidentRecordOutput]
481
+ end
482
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#update_incident_record-instance_method
483
+ def update_incident_record: (
484
+ arn: ::String,
485
+ ?chat_channel: {
486
+ chatbot_sns: Array[::String]?,
487
+ empty: {
488
+ }?
489
+ },
490
+ ?client_token: ::String,
491
+ ?impact: ::Integer,
492
+ ?notification_targets: Array[
493
+ {
494
+ sns_topic_arn: ::String?
495
+ },
496
+ ],
497
+ ?status: ("OPEN" | "RESOLVED"),
498
+ ?summary: ::String,
499
+ ?title: ::String
500
+ ) -> _UpdateIncidentRecordResponseSuccess
501
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIncidentRecordResponseSuccess
502
+
503
+ interface _UpdateRelatedItemsResponseSuccess
504
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRelatedItemsOutput]
505
+ end
506
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#update_related_items-instance_method
507
+ def update_related_items: (
508
+ ?client_token: ::String,
509
+ incident_record_arn: ::String,
510
+ related_items_update: {
511
+ item_to_add: {
512
+ generated_id: ::String?,
513
+ identifier: {
514
+ type: ("ANALYSIS" | "INCIDENT" | "METRIC" | "PARENT" | "ATTACHMENT" | "OTHER" | "AUTOMATION" | "INVOLVED_RESOURCE" | "TASK"),
515
+ value: {
516
+ arn: ::String?,
517
+ metric_definition: ::String?,
518
+ pager_duty_incident_detail: {
519
+ auto_resolve: bool?,
520
+ id: ::String,
521
+ secret_id: ::String?
522
+ }?,
523
+ url: ::String?
524
+ }
525
+ },
526
+ title: ::String?
527
+ }?,
528
+ item_to_remove: {
529
+ type: ("ANALYSIS" | "INCIDENT" | "METRIC" | "PARENT" | "ATTACHMENT" | "OTHER" | "AUTOMATION" | "INVOLVED_RESOURCE" | "TASK"),
530
+ value: {
531
+ arn: ::String?,
532
+ metric_definition: ::String?,
533
+ pager_duty_incident_detail: {
534
+ auto_resolve: bool?,
535
+ id: ::String,
536
+ secret_id: ::String?
537
+ }?,
538
+ url: ::String?
539
+ }
540
+ }?
541
+ }
542
+ ) -> _UpdateRelatedItemsResponseSuccess
543
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRelatedItemsResponseSuccess
544
+
545
+ interface _UpdateReplicationSetResponseSuccess
546
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateReplicationSetOutput]
547
+ end
548
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#update_replication_set-instance_method
549
+ def update_replication_set: (
550
+ actions: Array[
551
+ {
552
+ add_region_action: {
553
+ region_name: ::String,
554
+ sse_kms_key_id: ::String?
555
+ }?,
556
+ delete_region_action: {
557
+ region_name: ::String
558
+ }?
559
+ },
560
+ ],
561
+ arn: ::String,
562
+ ?client_token: ::String
563
+ ) -> _UpdateReplicationSetResponseSuccess
564
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateReplicationSetResponseSuccess
565
+
566
+ interface _UpdateResponsePlanResponseSuccess
567
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateResponsePlanOutput]
568
+ end
569
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#update_response_plan-instance_method
570
+ def update_response_plan: (
571
+ ?actions: Array[
572
+ {
573
+ ssm_automation: {
574
+ document_name: ::String,
575
+ document_version: ::String?,
576
+ dynamic_parameters: Hash[::String, {
577
+ variable: ("INCIDENT_RECORD_ARN" | "INVOLVED_RESOURCES")?
578
+ }]?,
579
+ parameters: Hash[::String, Array[::String]]?,
580
+ role_arn: ::String,
581
+ target_account: ("RESPONSE_PLAN_OWNER_ACCOUNT" | "IMPACTED_ACCOUNT")?
582
+ }?
583
+ },
584
+ ],
585
+ arn: ::String,
586
+ ?chat_channel: {
587
+ chatbot_sns: Array[::String]?,
588
+ empty: {
589
+ }?
590
+ },
591
+ ?client_token: ::String,
592
+ ?display_name: ::String,
593
+ ?engagements: Array[::String],
594
+ ?incident_template_dedupe_string: ::String,
595
+ ?incident_template_impact: ::Integer,
596
+ ?incident_template_notification_targets: Array[
597
+ {
598
+ sns_topic_arn: ::String?
599
+ },
600
+ ],
601
+ ?incident_template_summary: ::String,
602
+ ?incident_template_tags: Hash[::String, ::String],
603
+ ?incident_template_title: ::String,
604
+ ?integrations: Array[
605
+ {
606
+ pager_duty_configuration: {
607
+ name: ::String,
608
+ pager_duty_incident_configuration: {
609
+ service_id: ::String
610
+ },
611
+ secret_id: ::String
612
+ }?
613
+ },
614
+ ]
615
+ ) -> _UpdateResponsePlanResponseSuccess
616
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateResponsePlanResponseSuccess
617
+
618
+ interface _UpdateTimelineEventResponseSuccess
619
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTimelineEventOutput]
620
+ end
621
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#update_timeline_event-instance_method
622
+ def update_timeline_event: (
623
+ ?client_token: ::String,
624
+ ?event_data: ::String,
625
+ event_id: ::String,
626
+ ?event_references: Array[
627
+ {
628
+ related_item_id: ::String?,
629
+ resource: ::String?
630
+ },
631
+ ],
632
+ ?event_time: ::Time,
633
+ ?event_type: ::String,
634
+ incident_record_arn: ::String
635
+ ) -> _UpdateTimelineEventResponseSuccess
636
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTimelineEventResponseSuccess
637
+
638
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSMIncidents/Client.html#wait_until-instance_method
639
+ def wait_until: (:wait_for_replication_set_active waiter_name,
640
+ arn: ::String
641
+ ) -> Client::_GetReplicationSetResponseSuccess
642
+ | (:wait_for_replication_set_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetReplicationSetResponseSuccess
643
+ | (:wait_for_replication_set_deleted waiter_name,
644
+ arn: ::String
645
+ ) -> Client::_GetReplicationSetResponseSuccess
646
+ | (:wait_for_replication_set_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetReplicationSetResponseSuccess
647
+ end
648
+ end
649
+ end
650
+