aws-sdk-ssmcontacts 1.15.0 → 1.16.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 +7 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssmcontacts/client.rb +1 -1
- data/lib/aws-sdk-ssmcontacts/endpoint_provider.rb +35 -95
- data/lib/aws-sdk-ssmcontacts/types.rb +0 -382
- data/lib/aws-sdk-ssmcontacts.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea1858a0a734155d39fafc82979725a29b4d932364a5091fdcfa12ab61336b31
|
4
|
+
data.tar.gz: a0e889353adac4a8d5a96b05c95168f275f0dea15923de53fe81327e98b8b61c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d732325e4a2c3b2c9df7f22cd40ad0586fc15d1ab1db8fd0ac4827d95ac31abe8a591413fe9682a50ddc1b901c01a01350eaebce1300eb59042279f0048e8668
|
7
|
+
data.tar.gz: 60eb860a1705f747dcab943b251bb550aef62057d3d5fb2f34312ebc3acf01302b5242666bfbed68517e455e8681bb22c172e5703480b5a08789b3e46c94e39a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.16.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
4
11
|
1.15.0 (2022-10-25)
|
5
12
|
------------------
|
6
13
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.16.0
|
@@ -2222,7 +2222,7 @@ module Aws::SSMContacts
|
|
2222
2222
|
params: params,
|
2223
2223
|
config: config)
|
2224
2224
|
context[:gem_name] = 'aws-sdk-ssmcontacts'
|
2225
|
-
context[:gem_version] = '1.
|
2225
|
+
context[:gem_version] = '1.16.0'
|
2226
2226
|
Seahorse::Client::Request.new(handlers, context)
|
2227
2227
|
end
|
2228
2228
|
|
@@ -9,103 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::SSMContacts
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ssm-contacts-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ssm-contacts-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ssm-contacts.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ssm-contacts.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXN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-
aXRpb25zIjpbeyJmbiI6ImJvb2xlYW5FcXVhbHMiLCJhcmd2IjpbdHJ1ZSx7
|
96
|
-
ImZuIjoiZ2V0QXR0ciIsImFyZ3YiOlt7InJlZiI6IlBhcnRpdGlvblJlc3Vs
|
97
|
-
dCJ9LCJzdXBwb3J0c0R1YWxTdGFjayJdfV19XSwidHlwZSI6InRyZWUiLCJy
|
98
|
-
dWxlcyI6W3siY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0
|
99
|
-
dHBzOi8vc3NtLWNvbnRhY3RzLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQj
|
100
|
-
ZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJz
|
101
|
-
Ijp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwi
|
102
|
-
ZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRp
|
103
|
-
b24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3Ii
|
104
|
-
fV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBz
|
105
|
-
Oi8vc3NtLWNvbnRhY3RzLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZG5z
|
106
|
-
U3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUi
|
107
|
-
OiJlbmRwb2ludCJ9XX1dfQ==
|
108
|
-
|
109
|
-
JSON
|
110
50
|
end
|
111
51
|
end
|
@@ -10,18 +10,6 @@
|
|
10
10
|
module Aws::SSMContacts
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# @note When making an API call, you may pass AcceptPageRequest
|
14
|
-
# data as a hash:
|
15
|
-
#
|
16
|
-
# {
|
17
|
-
# page_id: "SsmContactsArn", # required
|
18
|
-
# contact_channel_id: "SsmContactsArn",
|
19
|
-
# accept_type: "DELIVERED", # required, accepts DELIVERED, READ
|
20
|
-
# note: "ReceiptInfo",
|
21
|
-
# accept_code: "AcceptCode", # required
|
22
|
-
# accept_code_validation: "IGNORE", # accepts IGNORE, ENFORCE
|
23
|
-
# }
|
24
|
-
#
|
25
13
|
# @!attribute [rw] page_id
|
26
14
|
# The Amazon Resource Name (ARN) of the engagement to a contact
|
27
15
|
# channel.
|
@@ -87,14 +75,6 @@ module Aws::SSMContacts
|
|
87
75
|
include Aws::Structure
|
88
76
|
end
|
89
77
|
|
90
|
-
# @note When making an API call, you may pass ActivateContactChannelRequest
|
91
|
-
# data as a hash:
|
92
|
-
#
|
93
|
-
# {
|
94
|
-
# contact_channel_id: "SsmContactsArn", # required
|
95
|
-
# activation_code: "ActivationCode", # required
|
96
|
-
# }
|
97
|
-
#
|
98
78
|
# @!attribute [rw] contact_channel_id
|
99
79
|
# The Amazon Resource Name (ARN) of the contact channel.
|
100
80
|
# @return [String]
|
@@ -120,14 +100,6 @@ module Aws::SSMContacts
|
|
120
100
|
# Information about the contact channel that Incident Manager uses to
|
121
101
|
# engage the contact.
|
122
102
|
#
|
123
|
-
# @note When making an API call, you may pass ChannelTargetInfo
|
124
|
-
# data as a hash:
|
125
|
-
#
|
126
|
-
# {
|
127
|
-
# contact_channel_id: "SsmContactsArn", # required
|
128
|
-
# retry_interval_in_minutes: 1,
|
129
|
-
# }
|
130
|
-
#
|
131
103
|
# @!attribute [rw] contact_channel_id
|
132
104
|
# The Amazon Resource Name (ARN) of the contact channel.
|
133
105
|
# @return [String]
|
@@ -252,13 +224,6 @@ module Aws::SSMContacts
|
|
252
224
|
# The details that Incident Manager uses when trying to engage the
|
253
225
|
# contact channel.
|
254
226
|
#
|
255
|
-
# @note When making an API call, you may pass ContactChannelAddress
|
256
|
-
# data as a hash:
|
257
|
-
#
|
258
|
-
# {
|
259
|
-
# simple_address: "SimpleAddress",
|
260
|
-
# }
|
261
|
-
#
|
262
227
|
# @!attribute [rw] simple_address
|
263
228
|
# The format is dependent on the type of the contact channel. The
|
264
229
|
# following are the expected formats:
|
@@ -280,14 +245,6 @@ module Aws::SSMContacts
|
|
280
245
|
|
281
246
|
# The contact that Incident Manager is engaging during an incident.
|
282
247
|
#
|
283
|
-
# @note When making an API call, you may pass ContactTargetInfo
|
284
|
-
# data as a hash:
|
285
|
-
#
|
286
|
-
# {
|
287
|
-
# contact_id: "SsmContactsArn",
|
288
|
-
# is_essential: false, # required
|
289
|
-
# }
|
290
|
-
#
|
291
248
|
# @!attribute [rw] contact_id
|
292
249
|
# The Amazon Resource Name (ARN) of the contact.
|
293
250
|
# @return [String]
|
@@ -306,20 +263,6 @@ module Aws::SSMContacts
|
|
306
263
|
include Aws::Structure
|
307
264
|
end
|
308
265
|
|
309
|
-
# @note When making an API call, you may pass CreateContactChannelRequest
|
310
|
-
# data as a hash:
|
311
|
-
#
|
312
|
-
# {
|
313
|
-
# contact_id: "SsmContactsArn", # required
|
314
|
-
# name: "ChannelName", # required
|
315
|
-
# type: "SMS", # required, accepts SMS, VOICE, EMAIL
|
316
|
-
# delivery_address: { # required
|
317
|
-
# simple_address: "SimpleAddress",
|
318
|
-
# },
|
319
|
-
# defer_activation: false,
|
320
|
-
# idempotency_token: "IdempotencyToken",
|
321
|
-
# }
|
322
|
-
#
|
323
266
|
# @!attribute [rw] contact_id
|
324
267
|
# The Amazon Resource Name (ARN) of the contact you are adding the
|
325
268
|
# contact channel to.
|
@@ -390,41 +333,6 @@ module Aws::SSMContacts
|
|
390
333
|
include Aws::Structure
|
391
334
|
end
|
392
335
|
|
393
|
-
# @note When making an API call, you may pass CreateContactRequest
|
394
|
-
# data as a hash:
|
395
|
-
#
|
396
|
-
# {
|
397
|
-
# alias: "ContactAlias", # required
|
398
|
-
# display_name: "ContactName",
|
399
|
-
# type: "PERSONAL", # required, accepts PERSONAL, ESCALATION
|
400
|
-
# plan: { # required
|
401
|
-
# stages: [ # required
|
402
|
-
# {
|
403
|
-
# duration_in_minutes: 1, # required
|
404
|
-
# targets: [ # required
|
405
|
-
# {
|
406
|
-
# channel_target_info: {
|
407
|
-
# contact_channel_id: "SsmContactsArn", # required
|
408
|
-
# retry_interval_in_minutes: 1,
|
409
|
-
# },
|
410
|
-
# contact_target_info: {
|
411
|
-
# contact_id: "SsmContactsArn",
|
412
|
-
# is_essential: false, # required
|
413
|
-
# },
|
414
|
-
# },
|
415
|
-
# ],
|
416
|
-
# },
|
417
|
-
# ],
|
418
|
-
# },
|
419
|
-
# tags: [
|
420
|
-
# {
|
421
|
-
# key: "TagKey",
|
422
|
-
# value: "TagValue",
|
423
|
-
# },
|
424
|
-
# ],
|
425
|
-
# idempotency_token: "IdempotencyToken",
|
426
|
-
# }
|
427
|
-
#
|
428
336
|
# @!attribute [rw] alias
|
429
337
|
# The short name to quickly identify a contact or escalation plan. The
|
430
338
|
# contact alias must be unique and identifiable.
|
@@ -497,13 +405,6 @@ module Aws::SSMContacts
|
|
497
405
|
include Aws::Structure
|
498
406
|
end
|
499
407
|
|
500
|
-
# @note When making an API call, you may pass DeactivateContactChannelRequest
|
501
|
-
# data as a hash:
|
502
|
-
#
|
503
|
-
# {
|
504
|
-
# contact_channel_id: "SsmContactsArn", # required
|
505
|
-
# }
|
506
|
-
#
|
507
408
|
# @!attribute [rw] contact_channel_id
|
508
409
|
# The Amazon Resource Name (ARN) of the contact channel you're
|
509
410
|
# deactivating.
|
@@ -521,13 +422,6 @@ module Aws::SSMContacts
|
|
521
422
|
#
|
522
423
|
class DeactivateContactChannelResult < Aws::EmptyStructure; end
|
523
424
|
|
524
|
-
# @note When making an API call, you may pass DeleteContactChannelRequest
|
525
|
-
# data as a hash:
|
526
|
-
#
|
527
|
-
# {
|
528
|
-
# contact_channel_id: "SsmContactsArn", # required
|
529
|
-
# }
|
530
|
-
#
|
531
425
|
# @!attribute [rw] contact_channel_id
|
532
426
|
# The Amazon Resource Name (ARN) of the contact channel.
|
533
427
|
# @return [String]
|
@@ -544,13 +438,6 @@ module Aws::SSMContacts
|
|
544
438
|
#
|
545
439
|
class DeleteContactChannelResult < Aws::EmptyStructure; end
|
546
440
|
|
547
|
-
# @note When making an API call, you may pass DeleteContactRequest
|
548
|
-
# data as a hash:
|
549
|
-
#
|
550
|
-
# {
|
551
|
-
# contact_id: "SsmContactsArn", # required
|
552
|
-
# }
|
553
|
-
#
|
554
441
|
# @!attribute [rw] contact_id
|
555
442
|
# The Amazon Resource Name (ARN) of the contact that you're deleting.
|
556
443
|
# @return [String]
|
@@ -567,13 +454,6 @@ module Aws::SSMContacts
|
|
567
454
|
#
|
568
455
|
class DeleteContactResult < Aws::EmptyStructure; end
|
569
456
|
|
570
|
-
# @note When making an API call, you may pass DescribeEngagementRequest
|
571
|
-
# data as a hash:
|
572
|
-
#
|
573
|
-
# {
|
574
|
-
# engagement_id: "SsmContactsArn", # required
|
575
|
-
# }
|
576
|
-
#
|
577
457
|
# @!attribute [rw] engagement_id
|
578
458
|
# The Amazon Resource Name (ARN) of the engagement you want the
|
579
459
|
# details of.
|
@@ -649,13 +529,6 @@ module Aws::SSMContacts
|
|
649
529
|
include Aws::Structure
|
650
530
|
end
|
651
531
|
|
652
|
-
# @note When making an API call, you may pass DescribePageRequest
|
653
|
-
# data as a hash:
|
654
|
-
#
|
655
|
-
# {
|
656
|
-
# page_id: "SsmContactsArn", # required
|
657
|
-
# }
|
658
|
-
#
|
659
532
|
# @!attribute [rw] page_id
|
660
533
|
# The ID of the engagement to a contact channel.
|
661
534
|
# @return [String]
|
@@ -781,13 +654,6 @@ module Aws::SSMContacts
|
|
781
654
|
include Aws::Structure
|
782
655
|
end
|
783
656
|
|
784
|
-
# @note When making an API call, you may pass GetContactChannelRequest
|
785
|
-
# data as a hash:
|
786
|
-
#
|
787
|
-
# {
|
788
|
-
# contact_channel_id: "SsmContactsArn", # required
|
789
|
-
# }
|
790
|
-
#
|
791
657
|
# @!attribute [rw] contact_channel_id
|
792
658
|
# The Amazon Resource Name (ARN) of the contact channel you want
|
793
659
|
# information about.
|
@@ -840,13 +706,6 @@ module Aws::SSMContacts
|
|
840
706
|
include Aws::Structure
|
841
707
|
end
|
842
708
|
|
843
|
-
# @note When making an API call, you may pass GetContactPolicyRequest
|
844
|
-
# data as a hash:
|
845
|
-
#
|
846
|
-
# {
|
847
|
-
# contact_arn: "SsmContactsArn", # required
|
848
|
-
# }
|
849
|
-
#
|
850
709
|
# @!attribute [rw] contact_arn
|
851
710
|
# The Amazon Resource Name (ARN) of the contact or escalation plan.
|
852
711
|
# @return [String]
|
@@ -877,13 +736,6 @@ module Aws::SSMContacts
|
|
877
736
|
include Aws::Structure
|
878
737
|
end
|
879
738
|
|
880
|
-
# @note When making an API call, you may pass GetContactRequest
|
881
|
-
# data as a hash:
|
882
|
-
#
|
883
|
-
# {
|
884
|
-
# contact_id: "SsmContactsArn", # required
|
885
|
-
# }
|
886
|
-
#
|
887
739
|
# @!attribute [rw] contact_id
|
888
740
|
# The Amazon Resource Name (ARN) of the contact or escalation plan.
|
889
741
|
# @return [String]
|
@@ -948,15 +800,6 @@ module Aws::SSMContacts
|
|
948
800
|
include Aws::Structure
|
949
801
|
end
|
950
802
|
|
951
|
-
# @note When making an API call, you may pass ListContactChannelsRequest
|
952
|
-
# data as a hash:
|
953
|
-
#
|
954
|
-
# {
|
955
|
-
# contact_id: "SsmContactsArn", # required
|
956
|
-
# next_token: "PaginationToken",
|
957
|
-
# max_results: 1,
|
958
|
-
# }
|
959
|
-
#
|
960
803
|
# @!attribute [rw] contact_id
|
961
804
|
# The Amazon Resource Name (ARN) of the contact.
|
962
805
|
# @return [String]
|
@@ -996,16 +839,6 @@ module Aws::SSMContacts
|
|
996
839
|
include Aws::Structure
|
997
840
|
end
|
998
841
|
|
999
|
-
# @note When making an API call, you may pass ListContactsRequest
|
1000
|
-
# data as a hash:
|
1001
|
-
#
|
1002
|
-
# {
|
1003
|
-
# next_token: "PaginationToken",
|
1004
|
-
# max_results: 1,
|
1005
|
-
# alias_prefix: "ContactAlias",
|
1006
|
-
# type: "PERSONAL", # accepts PERSONAL, ESCALATION
|
1007
|
-
# }
|
1008
|
-
#
|
1009
842
|
# @!attribute [rw] next_token
|
1010
843
|
# The pagination token to continue to the next page of results.
|
1011
844
|
# @return [String]
|
@@ -1054,19 +887,6 @@ module Aws::SSMContacts
|
|
1054
887
|
include Aws::Structure
|
1055
888
|
end
|
1056
889
|
|
1057
|
-
# @note When making an API call, you may pass ListEngagementsRequest
|
1058
|
-
# data as a hash:
|
1059
|
-
#
|
1060
|
-
# {
|
1061
|
-
# next_token: "PaginationToken",
|
1062
|
-
# max_results: 1,
|
1063
|
-
# incident_id: "IncidentId",
|
1064
|
-
# time_range_value: {
|
1065
|
-
# start_time: Time.now,
|
1066
|
-
# end_time: Time.now,
|
1067
|
-
# },
|
1068
|
-
# }
|
1069
|
-
#
|
1070
890
|
# @!attribute [rw] next_token
|
1071
891
|
# The pagination token to continue to the next page of results.
|
1072
892
|
# @return [String]
|
@@ -1113,15 +933,6 @@ module Aws::SSMContacts
|
|
1113
933
|
include Aws::Structure
|
1114
934
|
end
|
1115
935
|
|
1116
|
-
# @note When making an API call, you may pass ListPageReceiptsRequest
|
1117
|
-
# data as a hash:
|
1118
|
-
#
|
1119
|
-
# {
|
1120
|
-
# page_id: "SsmContactsArn", # required
|
1121
|
-
# next_token: "PaginationToken",
|
1122
|
-
# max_results: 1,
|
1123
|
-
# }
|
1124
|
-
#
|
1125
936
|
# @!attribute [rw] page_id
|
1126
937
|
# The Amazon Resource Name (ARN) of the engagement to a specific
|
1127
938
|
# contact channel.
|
@@ -1162,15 +973,6 @@ module Aws::SSMContacts
|
|
1162
973
|
include Aws::Structure
|
1163
974
|
end
|
1164
975
|
|
1165
|
-
# @note When making an API call, you may pass ListPagesByContactRequest
|
1166
|
-
# data as a hash:
|
1167
|
-
#
|
1168
|
-
# {
|
1169
|
-
# contact_id: "SsmContactsArn", # required
|
1170
|
-
# next_token: "PaginationToken",
|
1171
|
-
# max_results: 1,
|
1172
|
-
# }
|
1173
|
-
#
|
1174
976
|
# @!attribute [rw] contact_id
|
1175
977
|
# The Amazon Resource Name (ARN) of the contact you are retrieving
|
1176
978
|
# engagements for.
|
@@ -1212,15 +1014,6 @@ module Aws::SSMContacts
|
|
1212
1014
|
include Aws::Structure
|
1213
1015
|
end
|
1214
1016
|
|
1215
|
-
# @note When making an API call, you may pass ListPagesByEngagementRequest
|
1216
|
-
# data as a hash:
|
1217
|
-
#
|
1218
|
-
# {
|
1219
|
-
# engagement_id: "SsmContactsArn", # required
|
1220
|
-
# next_token: "PaginationToken",
|
1221
|
-
# max_results: 1,
|
1222
|
-
# }
|
1223
|
-
#
|
1224
1017
|
# @!attribute [rw] engagement_id
|
1225
1018
|
# The Amazon Resource Name (ARN) of the engagement.
|
1226
1019
|
# @return [String]
|
@@ -1261,13 +1054,6 @@ module Aws::SSMContacts
|
|
1261
1054
|
include Aws::Structure
|
1262
1055
|
end
|
1263
1056
|
|
1264
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1265
|
-
# data as a hash:
|
1266
|
-
#
|
1267
|
-
# {
|
1268
|
-
# resource_arn: "AmazonResourceName", # required
|
1269
|
-
# }
|
1270
|
-
#
|
1271
1057
|
# @!attribute [rw] resource_arn
|
1272
1058
|
# The Amazon Resource Name (ARN) of the contact or escalation plan.
|
1273
1059
|
# @return [String]
|
@@ -1344,29 +1130,6 @@ module Aws::SSMContacts
|
|
1344
1130
|
# The stages that an escalation plan or engagement plan engages contacts
|
1345
1131
|
# and contact methods in.
|
1346
1132
|
#
|
1347
|
-
# @note When making an API call, you may pass Plan
|
1348
|
-
# data as a hash:
|
1349
|
-
#
|
1350
|
-
# {
|
1351
|
-
# stages: [ # required
|
1352
|
-
# {
|
1353
|
-
# duration_in_minutes: 1, # required
|
1354
|
-
# targets: [ # required
|
1355
|
-
# {
|
1356
|
-
# channel_target_info: {
|
1357
|
-
# contact_channel_id: "SsmContactsArn", # required
|
1358
|
-
# retry_interval_in_minutes: 1,
|
1359
|
-
# },
|
1360
|
-
# contact_target_info: {
|
1361
|
-
# contact_id: "SsmContactsArn",
|
1362
|
-
# is_essential: false, # required
|
1363
|
-
# },
|
1364
|
-
# },
|
1365
|
-
# ],
|
1366
|
-
# },
|
1367
|
-
# ],
|
1368
|
-
# }
|
1369
|
-
#
|
1370
1133
|
# @!attribute [rw] stages
|
1371
1134
|
# A list of stages that the escalation plan or engagement plan uses to
|
1372
1135
|
# engage contacts and contact methods.
|
@@ -1380,14 +1143,6 @@ module Aws::SSMContacts
|
|
1380
1143
|
include Aws::Structure
|
1381
1144
|
end
|
1382
1145
|
|
1383
|
-
# @note When making an API call, you may pass PutContactPolicyRequest
|
1384
|
-
# data as a hash:
|
1385
|
-
#
|
1386
|
-
# {
|
1387
|
-
# contact_arn: "SsmContactsArn", # required
|
1388
|
-
# policy: "Policy", # required
|
1389
|
-
# }
|
1390
|
-
#
|
1391
1146
|
# @!attribute [rw] contact_arn
|
1392
1147
|
# The Amazon Resource Name (ARN) of the contact or escalation plan.
|
1393
1148
|
# @return [String]
|
@@ -1463,13 +1218,6 @@ module Aws::SSMContacts
|
|
1463
1218
|
include Aws::Structure
|
1464
1219
|
end
|
1465
1220
|
|
1466
|
-
# @note When making an API call, you may pass SendActivationCodeRequest
|
1467
|
-
# data as a hash:
|
1468
|
-
#
|
1469
|
-
# {
|
1470
|
-
# contact_channel_id: "SsmContactsArn", # required
|
1471
|
-
# }
|
1472
|
-
#
|
1473
1221
|
# @!attribute [rw] contact_channel_id
|
1474
1222
|
# The Amazon Resource Name (ARN) of the contact channel.
|
1475
1223
|
# @return [String]
|
@@ -1522,25 +1270,6 @@ module Aws::SSMContacts
|
|
1522
1270
|
# A set amount of time that an escalation plan or engagement plan
|
1523
1271
|
# engages the specified contacts or contact methods.
|
1524
1272
|
#
|
1525
|
-
# @note When making an API call, you may pass Stage
|
1526
|
-
# data as a hash:
|
1527
|
-
#
|
1528
|
-
# {
|
1529
|
-
# duration_in_minutes: 1, # required
|
1530
|
-
# targets: [ # required
|
1531
|
-
# {
|
1532
|
-
# channel_target_info: {
|
1533
|
-
# contact_channel_id: "SsmContactsArn", # required
|
1534
|
-
# retry_interval_in_minutes: 1,
|
1535
|
-
# },
|
1536
|
-
# contact_target_info: {
|
1537
|
-
# contact_id: "SsmContactsArn",
|
1538
|
-
# is_essential: false, # required
|
1539
|
-
# },
|
1540
|
-
# },
|
1541
|
-
# ],
|
1542
|
-
# }
|
1543
|
-
#
|
1544
1273
|
# @!attribute [rw] duration_in_minutes
|
1545
1274
|
# The time to wait until beginning the next stage. The duration can
|
1546
1275
|
# only be set to 0 if a target is specified.
|
@@ -1560,20 +1289,6 @@ module Aws::SSMContacts
|
|
1560
1289
|
include Aws::Structure
|
1561
1290
|
end
|
1562
1291
|
|
1563
|
-
# @note When making an API call, you may pass StartEngagementRequest
|
1564
|
-
# data as a hash:
|
1565
|
-
#
|
1566
|
-
# {
|
1567
|
-
# contact_id: "SsmContactsArn", # required
|
1568
|
-
# sender: "Sender", # required
|
1569
|
-
# subject: "Subject", # required
|
1570
|
-
# content: "Content", # required
|
1571
|
-
# public_subject: "PublicSubject",
|
1572
|
-
# public_content: "PublicContent",
|
1573
|
-
# incident_id: "IncidentId",
|
1574
|
-
# idempotency_token: "IdempotencyToken",
|
1575
|
-
# }
|
1576
|
-
#
|
1577
1292
|
# @!attribute [rw] contact_id
|
1578
1293
|
# The Amazon Resource Name (ARN) of the contact being engaged.
|
1579
1294
|
# @return [String]
|
@@ -1641,14 +1356,6 @@ module Aws::SSMContacts
|
|
1641
1356
|
include Aws::Structure
|
1642
1357
|
end
|
1643
1358
|
|
1644
|
-
# @note When making an API call, you may pass StopEngagementRequest
|
1645
|
-
# data as a hash:
|
1646
|
-
#
|
1647
|
-
# {
|
1648
|
-
# engagement_id: "SsmContactsArn", # required
|
1649
|
-
# reason: "StopReason",
|
1650
|
-
# }
|
1651
|
-
#
|
1652
1359
|
# @!attribute [rw] engagement_id
|
1653
1360
|
# The Amazon Resource Name (ARN) of the engagement.
|
1654
1361
|
# @return [String]
|
@@ -1672,14 +1379,6 @@ module Aws::SSMContacts
|
|
1672
1379
|
|
1673
1380
|
# A container of a key-value name pair.
|
1674
1381
|
#
|
1675
|
-
# @note When making an API call, you may pass Tag
|
1676
|
-
# data as a hash:
|
1677
|
-
#
|
1678
|
-
# {
|
1679
|
-
# key: "TagKey",
|
1680
|
-
# value: "TagValue",
|
1681
|
-
# }
|
1682
|
-
#
|
1683
1382
|
# @!attribute [rw] key
|
1684
1383
|
# Name of the object key.
|
1685
1384
|
# @return [String]
|
@@ -1697,19 +1396,6 @@ module Aws::SSMContacts
|
|
1697
1396
|
include Aws::Structure
|
1698
1397
|
end
|
1699
1398
|
|
1700
|
-
# @note When making an API call, you may pass TagResourceRequest
|
1701
|
-
# data as a hash:
|
1702
|
-
#
|
1703
|
-
# {
|
1704
|
-
# resource_arn: "AmazonResourceName", # required
|
1705
|
-
# tags: [ # required
|
1706
|
-
# {
|
1707
|
-
# key: "TagKey",
|
1708
|
-
# value: "TagValue",
|
1709
|
-
# },
|
1710
|
-
# ],
|
1711
|
-
# }
|
1712
|
-
#
|
1713
1399
|
# @!attribute [rw] resource_arn
|
1714
1400
|
# The Amazon Resource Name (ARN) of the contact or escalation plan.
|
1715
1401
|
# @return [String]
|
@@ -1734,20 +1420,6 @@ module Aws::SSMContacts
|
|
1734
1420
|
|
1735
1421
|
# The contact or contact channel that's being engaged.
|
1736
1422
|
#
|
1737
|
-
# @note When making an API call, you may pass Target
|
1738
|
-
# data as a hash:
|
1739
|
-
#
|
1740
|
-
# {
|
1741
|
-
# channel_target_info: {
|
1742
|
-
# contact_channel_id: "SsmContactsArn", # required
|
1743
|
-
# retry_interval_in_minutes: 1,
|
1744
|
-
# },
|
1745
|
-
# contact_target_info: {
|
1746
|
-
# contact_id: "SsmContactsArn",
|
1747
|
-
# is_essential: false, # required
|
1748
|
-
# },
|
1749
|
-
# }
|
1750
|
-
#
|
1751
1423
|
# @!attribute [rw] channel_target_info
|
1752
1424
|
# Information about the contact channel Incident Manager is engaging.
|
1753
1425
|
# @return [Types::ChannelTargetInfo]
|
@@ -1795,14 +1467,6 @@ module Aws::SSMContacts
|
|
1795
1467
|
|
1796
1468
|
# A range of between two set times
|
1797
1469
|
#
|
1798
|
-
# @note When making an API call, you may pass TimeRange
|
1799
|
-
# data as a hash:
|
1800
|
-
#
|
1801
|
-
# {
|
1802
|
-
# start_time: Time.now,
|
1803
|
-
# end_time: Time.now,
|
1804
|
-
# }
|
1805
|
-
#
|
1806
1470
|
# @!attribute [rw] start_time
|
1807
1471
|
# The start of the time range.
|
1808
1472
|
# @return [Time]
|
@@ -1820,14 +1484,6 @@ module Aws::SSMContacts
|
|
1820
1484
|
include Aws::Structure
|
1821
1485
|
end
|
1822
1486
|
|
1823
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
1824
|
-
# data as a hash:
|
1825
|
-
#
|
1826
|
-
# {
|
1827
|
-
# resource_arn: "AmazonResourceName", # required
|
1828
|
-
# tag_keys: ["TagKey"], # required
|
1829
|
-
# }
|
1830
|
-
#
|
1831
1487
|
# @!attribute [rw] resource_arn
|
1832
1488
|
# The Amazon Resource Name (ARN) of the contact or escalation plan.
|
1833
1489
|
# @return [String]
|
@@ -1849,17 +1505,6 @@ module Aws::SSMContacts
|
|
1849
1505
|
#
|
1850
1506
|
class UntagResourceResult < Aws::EmptyStructure; end
|
1851
1507
|
|
1852
|
-
# @note When making an API call, you may pass UpdateContactChannelRequest
|
1853
|
-
# data as a hash:
|
1854
|
-
#
|
1855
|
-
# {
|
1856
|
-
# contact_channel_id: "SsmContactsArn", # required
|
1857
|
-
# name: "ChannelName",
|
1858
|
-
# delivery_address: {
|
1859
|
-
# simple_address: "SimpleAddress",
|
1860
|
-
# },
|
1861
|
-
# }
|
1862
|
-
#
|
1863
1508
|
# @!attribute [rw] contact_channel_id
|
1864
1509
|
# The Amazon Resource Name (ARN) of the contact channel you want to
|
1865
1510
|
# update.
|
@@ -1888,33 +1533,6 @@ module Aws::SSMContacts
|
|
1888
1533
|
#
|
1889
1534
|
class UpdateContactChannelResult < Aws::EmptyStructure; end
|
1890
1535
|
|
1891
|
-
# @note When making an API call, you may pass UpdateContactRequest
|
1892
|
-
# data as a hash:
|
1893
|
-
#
|
1894
|
-
# {
|
1895
|
-
# contact_id: "SsmContactsArn", # required
|
1896
|
-
# display_name: "ContactName",
|
1897
|
-
# plan: {
|
1898
|
-
# stages: [ # required
|
1899
|
-
# {
|
1900
|
-
# duration_in_minutes: 1, # required
|
1901
|
-
# targets: [ # required
|
1902
|
-
# {
|
1903
|
-
# channel_target_info: {
|
1904
|
-
# contact_channel_id: "SsmContactsArn", # required
|
1905
|
-
# retry_interval_in_minutes: 1,
|
1906
|
-
# },
|
1907
|
-
# contact_target_info: {
|
1908
|
-
# contact_id: "SsmContactsArn",
|
1909
|
-
# is_essential: false, # required
|
1910
|
-
# },
|
1911
|
-
# },
|
1912
|
-
# ],
|
1913
|
-
# },
|
1914
|
-
# ],
|
1915
|
-
# },
|
1916
|
-
# }
|
1917
|
-
#
|
1918
1536
|
# @!attribute [rw] contact_id
|
1919
1537
|
# The Amazon Resource Name (ARN) of the contact or escalation plan
|
1920
1538
|
# you're updating.
|
data/lib/aws-sdk-ssmcontacts.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ssmcontacts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.16.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:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|