aws-sdk-ssmcontacts 1.15.0 → 1.17.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 +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssmcontacts/client.rb +818 -710
- data/lib/aws-sdk-ssmcontacts/client_api.rb +478 -7
- data/lib/aws-sdk-ssmcontacts/endpoint_provider.rb +38 -95
- data/lib/aws-sdk-ssmcontacts/endpoints.rb +168 -0
- data/lib/aws-sdk-ssmcontacts/errors.rb +5 -0
- data/lib/aws-sdk-ssmcontacts/plugins/endpoints.rb +24 -0
- data/lib/aws-sdk-ssmcontacts/types.rb +962 -392
- data/lib/aws-sdk-ssmcontacts.rb +1 -1
- metadata +2 -2
@@ -38,12 +38,21 @@ module Aws::SSMContacts
|
|
38
38
|
ContactType = Shapes::StringShape.new(name: 'ContactType')
|
39
39
|
ContactsList = Shapes::ListShape.new(name: 'ContactsList')
|
40
40
|
Content = Shapes::StringShape.new(name: 'Content')
|
41
|
+
CoverageTime = Shapes::StructureShape.new(name: 'CoverageTime')
|
42
|
+
CoverageTimes = Shapes::ListShape.new(name: 'CoverageTimes')
|
41
43
|
CreateContactChannelRequest = Shapes::StructureShape.new(name: 'CreateContactChannelRequest')
|
42
44
|
CreateContactChannelResult = Shapes::StructureShape.new(name: 'CreateContactChannelResult')
|
43
45
|
CreateContactRequest = Shapes::StructureShape.new(name: 'CreateContactRequest')
|
44
46
|
CreateContactResult = Shapes::StructureShape.new(name: 'CreateContactResult')
|
47
|
+
CreateRotationOverrideRequest = Shapes::StructureShape.new(name: 'CreateRotationOverrideRequest')
|
48
|
+
CreateRotationOverrideResult = Shapes::StructureShape.new(name: 'CreateRotationOverrideResult')
|
49
|
+
CreateRotationRequest = Shapes::StructureShape.new(name: 'CreateRotationRequest')
|
50
|
+
CreateRotationResult = Shapes::StructureShape.new(name: 'CreateRotationResult')
|
51
|
+
DailySettings = Shapes::ListShape.new(name: 'DailySettings')
|
45
52
|
DataEncryptionException = Shapes::StructureShape.new(name: 'DataEncryptionException')
|
46
53
|
DateTime = Shapes::TimestampShape.new(name: 'DateTime')
|
54
|
+
DayOfMonth = Shapes::IntegerShape.new(name: 'DayOfMonth')
|
55
|
+
DayOfWeek = Shapes::StringShape.new(name: 'DayOfWeek')
|
47
56
|
DeactivateContactChannelRequest = Shapes::StructureShape.new(name: 'DeactivateContactChannelRequest')
|
48
57
|
DeactivateContactChannelResult = Shapes::StructureShape.new(name: 'DeactivateContactChannelResult')
|
49
58
|
DeferActivation = Shapes::BooleanShape.new(name: 'DeferActivation')
|
@@ -51,6 +60,12 @@ module Aws::SSMContacts
|
|
51
60
|
DeleteContactChannelResult = Shapes::StructureShape.new(name: 'DeleteContactChannelResult')
|
52
61
|
DeleteContactRequest = Shapes::StructureShape.new(name: 'DeleteContactRequest')
|
53
62
|
DeleteContactResult = Shapes::StructureShape.new(name: 'DeleteContactResult')
|
63
|
+
DeleteRotationOverrideRequest = Shapes::StructureShape.new(name: 'DeleteRotationOverrideRequest')
|
64
|
+
DeleteRotationOverrideResult = Shapes::StructureShape.new(name: 'DeleteRotationOverrideResult')
|
65
|
+
DeleteRotationRequest = Shapes::StructureShape.new(name: 'DeleteRotationRequest')
|
66
|
+
DeleteRotationResult = Shapes::StructureShape.new(name: 'DeleteRotationResult')
|
67
|
+
DependentEntity = Shapes::StructureShape.new(name: 'DependentEntity')
|
68
|
+
DependentEntityList = Shapes::ListShape.new(name: 'DependentEntityList')
|
54
69
|
DescribeEngagementRequest = Shapes::StructureShape.new(name: 'DescribeEngagementRequest')
|
55
70
|
DescribeEngagementResult = Shapes::StructureShape.new(name: 'DescribeEngagementResult')
|
56
71
|
DescribePageRequest = Shapes::StructureShape.new(name: 'DescribePageRequest')
|
@@ -63,6 +78,12 @@ module Aws::SSMContacts
|
|
63
78
|
GetContactPolicyResult = Shapes::StructureShape.new(name: 'GetContactPolicyResult')
|
64
79
|
GetContactRequest = Shapes::StructureShape.new(name: 'GetContactRequest')
|
65
80
|
GetContactResult = Shapes::StructureShape.new(name: 'GetContactResult')
|
81
|
+
GetRotationOverrideRequest = Shapes::StructureShape.new(name: 'GetRotationOverrideRequest')
|
82
|
+
GetRotationOverrideResult = Shapes::StructureShape.new(name: 'GetRotationOverrideResult')
|
83
|
+
GetRotationRequest = Shapes::StructureShape.new(name: 'GetRotationRequest')
|
84
|
+
GetRotationResult = Shapes::StructureShape.new(name: 'GetRotationResult')
|
85
|
+
HandOffTime = Shapes::StructureShape.new(name: 'HandOffTime')
|
86
|
+
HourOfDay = Shapes::IntegerShape.new(name: 'HourOfDay')
|
66
87
|
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
67
88
|
IncidentId = Shapes::StringShape.new(name: 'IncidentId')
|
68
89
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
@@ -75,18 +96,35 @@ module Aws::SSMContacts
|
|
75
96
|
ListEngagementsResult = Shapes::StructureShape.new(name: 'ListEngagementsResult')
|
76
97
|
ListPageReceiptsRequest = Shapes::StructureShape.new(name: 'ListPageReceiptsRequest')
|
77
98
|
ListPageReceiptsResult = Shapes::StructureShape.new(name: 'ListPageReceiptsResult')
|
99
|
+
ListPageResolutionsRequest = Shapes::StructureShape.new(name: 'ListPageResolutionsRequest')
|
100
|
+
ListPageResolutionsResult = Shapes::StructureShape.new(name: 'ListPageResolutionsResult')
|
78
101
|
ListPagesByContactRequest = Shapes::StructureShape.new(name: 'ListPagesByContactRequest')
|
79
102
|
ListPagesByContactResult = Shapes::StructureShape.new(name: 'ListPagesByContactResult')
|
80
103
|
ListPagesByEngagementRequest = Shapes::StructureShape.new(name: 'ListPagesByEngagementRequest')
|
81
104
|
ListPagesByEngagementResult = Shapes::StructureShape.new(name: 'ListPagesByEngagementResult')
|
105
|
+
ListPreviewRotationShiftsRequest = Shapes::StructureShape.new(name: 'ListPreviewRotationShiftsRequest')
|
106
|
+
ListPreviewRotationShiftsResult = Shapes::StructureShape.new(name: 'ListPreviewRotationShiftsResult')
|
107
|
+
ListRotationOverridesRequest = Shapes::StructureShape.new(name: 'ListRotationOverridesRequest')
|
108
|
+
ListRotationOverridesResult = Shapes::StructureShape.new(name: 'ListRotationOverridesResult')
|
109
|
+
ListRotationShiftsRequest = Shapes::StructureShape.new(name: 'ListRotationShiftsRequest')
|
110
|
+
ListRotationShiftsResult = Shapes::StructureShape.new(name: 'ListRotationShiftsResult')
|
111
|
+
ListRotationsRequest = Shapes::StructureShape.new(name: 'ListRotationsRequest')
|
112
|
+
ListRotationsResult = Shapes::StructureShape.new(name: 'ListRotationsResult')
|
82
113
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
83
114
|
ListTagsForResourceResult = Shapes::StructureShape.new(name: 'ListTagsForResourceResult')
|
84
115
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
116
|
+
Member = Shapes::StringShape.new(name: 'Member')
|
117
|
+
MinuteOfHour = Shapes::IntegerShape.new(name: 'MinuteOfHour')
|
118
|
+
MonthlySetting = Shapes::StructureShape.new(name: 'MonthlySetting')
|
119
|
+
MonthlySettings = Shapes::ListShape.new(name: 'MonthlySettings')
|
120
|
+
NumberOfOnCalls = Shapes::IntegerShape.new(name: 'NumberOfOnCalls')
|
121
|
+
OverrideList = Shapes::ListShape.new(name: 'OverrideList')
|
85
122
|
Page = Shapes::StructureShape.new(name: 'Page')
|
86
123
|
PagesList = Shapes::ListShape.new(name: 'PagesList')
|
87
124
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
88
125
|
Plan = Shapes::StructureShape.new(name: 'Plan')
|
89
126
|
Policy = Shapes::StringShape.new(name: 'Policy')
|
127
|
+
PreviewOverride = Shapes::StructureShape.new(name: 'PreviewOverride')
|
90
128
|
PublicContent = Shapes::StringShape.new(name: 'PublicContent')
|
91
129
|
PublicSubject = Shapes::StringShape.new(name: 'PublicSubject')
|
92
130
|
PutContactPolicyRequest = Shapes::StructureShape.new(name: 'PutContactPolicyRequest')
|
@@ -95,17 +133,37 @@ module Aws::SSMContacts
|
|
95
133
|
ReceiptInfo = Shapes::StringShape.new(name: 'ReceiptInfo')
|
96
134
|
ReceiptType = Shapes::StringShape.new(name: 'ReceiptType')
|
97
135
|
ReceiptsList = Shapes::ListShape.new(name: 'ReceiptsList')
|
136
|
+
RecurrenceMultiplier = Shapes::IntegerShape.new(name: 'RecurrenceMultiplier')
|
137
|
+
RecurrenceSettings = Shapes::StructureShape.new(name: 'RecurrenceSettings')
|
138
|
+
ResolutionContact = Shapes::StructureShape.new(name: 'ResolutionContact')
|
139
|
+
ResolutionList = Shapes::ListShape.new(name: 'ResolutionList')
|
98
140
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
99
141
|
RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
|
100
142
|
RetryIntervalInMinutes = Shapes::IntegerShape.new(name: 'RetryIntervalInMinutes')
|
143
|
+
Rotation = Shapes::StructureShape.new(name: 'Rotation')
|
144
|
+
RotationContactsArnList = Shapes::ListShape.new(name: 'RotationContactsArnList')
|
145
|
+
RotationName = Shapes::StringShape.new(name: 'RotationName')
|
146
|
+
RotationOverride = Shapes::StructureShape.new(name: 'RotationOverride')
|
147
|
+
RotationOverrideContactsArnList = Shapes::ListShape.new(name: 'RotationOverrideContactsArnList')
|
148
|
+
RotationOverridePreviewMemberList = Shapes::ListShape.new(name: 'RotationOverridePreviewMemberList')
|
149
|
+
RotationOverrides = Shapes::ListShape.new(name: 'RotationOverrides')
|
150
|
+
RotationPreviewMemberList = Shapes::ListShape.new(name: 'RotationPreviewMemberList')
|
151
|
+
RotationShift = Shapes::StructureShape.new(name: 'RotationShift')
|
152
|
+
RotationShifts = Shapes::ListShape.new(name: 'RotationShifts')
|
153
|
+
Rotations = Shapes::ListShape.new(name: 'Rotations')
|
101
154
|
SendActivationCodeRequest = Shapes::StructureShape.new(name: 'SendActivationCodeRequest')
|
102
155
|
SendActivationCodeResult = Shapes::StructureShape.new(name: 'SendActivationCodeResult')
|
103
156
|
Sender = Shapes::StringShape.new(name: 'Sender')
|
104
157
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
158
|
+
ShiftCoveragesMap = Shapes::MapShape.new(name: 'ShiftCoveragesMap')
|
159
|
+
ShiftDetails = Shapes::StructureShape.new(name: 'ShiftDetails')
|
160
|
+
ShiftType = Shapes::StringShape.new(name: 'ShiftType')
|
105
161
|
SimpleAddress = Shapes::StringShape.new(name: 'SimpleAddress')
|
106
162
|
SsmContactsArn = Shapes::StringShape.new(name: 'SsmContactsArn')
|
163
|
+
SsmContactsArnList = Shapes::ListShape.new(name: 'SsmContactsArnList')
|
107
164
|
Stage = Shapes::StructureShape.new(name: 'Stage')
|
108
165
|
StageDurationInMins = Shapes::IntegerShape.new(name: 'StageDurationInMins')
|
166
|
+
StageIndex = Shapes::IntegerShape.new(name: 'StageIndex')
|
109
167
|
StagesList = Shapes::ListShape.new(name: 'StagesList')
|
110
168
|
StartEngagementRequest = Shapes::StructureShape.new(name: 'StartEngagementRequest')
|
111
169
|
StartEngagementResult = Shapes::StructureShape.new(name: 'StartEngagementResult')
|
@@ -125,16 +183,22 @@ module Aws::SSMContacts
|
|
125
183
|
TargetsList = Shapes::ListShape.new(name: 'TargetsList')
|
126
184
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
127
185
|
TimeRange = Shapes::StructureShape.new(name: 'TimeRange')
|
186
|
+
TimeZoneId = Shapes::StringShape.new(name: 'TimeZoneId')
|
128
187
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
129
188
|
UntagResourceResult = Shapes::StructureShape.new(name: 'UntagResourceResult')
|
130
189
|
UpdateContactChannelRequest = Shapes::StructureShape.new(name: 'UpdateContactChannelRequest')
|
131
190
|
UpdateContactChannelResult = Shapes::StructureShape.new(name: 'UpdateContactChannelResult')
|
132
191
|
UpdateContactRequest = Shapes::StructureShape.new(name: 'UpdateContactRequest')
|
133
192
|
UpdateContactResult = Shapes::StructureShape.new(name: 'UpdateContactResult')
|
193
|
+
UpdateRotationRequest = Shapes::StructureShape.new(name: 'UpdateRotationRequest')
|
194
|
+
UpdateRotationResult = Shapes::StructureShape.new(name: 'UpdateRotationResult')
|
195
|
+
Uuid = Shapes::StringShape.new(name: 'Uuid')
|
134
196
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
135
197
|
ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
|
136
198
|
ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
|
137
199
|
ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
|
200
|
+
WeeklySetting = Shapes::StructureShape.new(name: 'WeeklySetting')
|
201
|
+
WeeklySettings = Shapes::ListShape.new(name: 'WeeklySettings')
|
138
202
|
|
139
203
|
AcceptPageRequest.add_member(:page_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "PageId"))
|
140
204
|
AcceptPageRequest.add_member(:contact_channel_id, Shapes::ShapeRef.new(shape: SsmContactsArn, location_name: "ContactChannelId"))
|
@@ -162,6 +226,7 @@ module Aws::SSMContacts
|
|
162
226
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
163
227
|
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
|
164
228
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceType"))
|
229
|
+
ConflictException.add_member(:dependent_entities, Shapes::ShapeRef.new(shape: DependentEntityList, location_name: "DependentEntities"))
|
165
230
|
ConflictException.struct_class = Types::ConflictException
|
166
231
|
|
167
232
|
Contact.add_member(:contact_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactArn"))
|
@@ -189,6 +254,12 @@ module Aws::SSMContacts
|
|
189
254
|
|
190
255
|
ContactsList.member = Shapes::ShapeRef.new(shape: Contact)
|
191
256
|
|
257
|
+
CoverageTime.add_member(:start, Shapes::ShapeRef.new(shape: HandOffTime, location_name: "Start"))
|
258
|
+
CoverageTime.add_member(:end, Shapes::ShapeRef.new(shape: HandOffTime, location_name: "End"))
|
259
|
+
CoverageTime.struct_class = Types::CoverageTime
|
260
|
+
|
261
|
+
CoverageTimes.member = Shapes::ShapeRef.new(shape: CoverageTime)
|
262
|
+
|
192
263
|
CreateContactChannelRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactId"))
|
193
264
|
CreateContactChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location_name: "Name"))
|
194
265
|
CreateContactChannelRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, required: true, location_name: "Type"))
|
@@ -211,6 +282,30 @@ module Aws::SSMContacts
|
|
211
282
|
CreateContactResult.add_member(:contact_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactArn"))
|
212
283
|
CreateContactResult.struct_class = Types::CreateContactResult
|
213
284
|
|
285
|
+
CreateRotationOverrideRequest.add_member(:rotation_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "RotationId"))
|
286
|
+
CreateRotationOverrideRequest.add_member(:new_contact_ids, Shapes::ShapeRef.new(shape: RotationOverrideContactsArnList, required: true, location_name: "NewContactIds"))
|
287
|
+
CreateRotationOverrideRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "StartTime"))
|
288
|
+
CreateRotationOverrideRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "EndTime"))
|
289
|
+
CreateRotationOverrideRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "IdempotencyToken"))
|
290
|
+
CreateRotationOverrideRequest.struct_class = Types::CreateRotationOverrideRequest
|
291
|
+
|
292
|
+
CreateRotationOverrideResult.add_member(:rotation_override_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "RotationOverrideId"))
|
293
|
+
CreateRotationOverrideResult.struct_class = Types::CreateRotationOverrideResult
|
294
|
+
|
295
|
+
CreateRotationRequest.add_member(:name, Shapes::ShapeRef.new(shape: RotationName, required: true, location_name: "Name"))
|
296
|
+
CreateRotationRequest.add_member(:contact_ids, Shapes::ShapeRef.new(shape: RotationContactsArnList, required: true, location_name: "ContactIds"))
|
297
|
+
CreateRotationRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
|
298
|
+
CreateRotationRequest.add_member(:time_zone_id, Shapes::ShapeRef.new(shape: TimeZoneId, required: true, location_name: "TimeZoneId"))
|
299
|
+
CreateRotationRequest.add_member(:recurrence, Shapes::ShapeRef.new(shape: RecurrenceSettings, required: true, location_name: "Recurrence"))
|
300
|
+
CreateRotationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsList, location_name: "Tags"))
|
301
|
+
CreateRotationRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "IdempotencyToken"))
|
302
|
+
CreateRotationRequest.struct_class = Types::CreateRotationRequest
|
303
|
+
|
304
|
+
CreateRotationResult.add_member(:rotation_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "RotationArn"))
|
305
|
+
CreateRotationResult.struct_class = Types::CreateRotationResult
|
306
|
+
|
307
|
+
DailySettings.member = Shapes::ShapeRef.new(shape: HandOffTime)
|
308
|
+
|
214
309
|
DataEncryptionException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
215
310
|
DataEncryptionException.struct_class = Types::DataEncryptionException
|
216
311
|
|
@@ -229,6 +324,23 @@ module Aws::SSMContacts
|
|
229
324
|
|
230
325
|
DeleteContactResult.struct_class = Types::DeleteContactResult
|
231
326
|
|
327
|
+
DeleteRotationOverrideRequest.add_member(:rotation_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "RotationId"))
|
328
|
+
DeleteRotationOverrideRequest.add_member(:rotation_override_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "RotationOverrideId"))
|
329
|
+
DeleteRotationOverrideRequest.struct_class = Types::DeleteRotationOverrideRequest
|
330
|
+
|
331
|
+
DeleteRotationOverrideResult.struct_class = Types::DeleteRotationOverrideResult
|
332
|
+
|
333
|
+
DeleteRotationRequest.add_member(:rotation_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "RotationId"))
|
334
|
+
DeleteRotationRequest.struct_class = Types::DeleteRotationRequest
|
335
|
+
|
336
|
+
DeleteRotationResult.struct_class = Types::DeleteRotationResult
|
337
|
+
|
338
|
+
DependentEntity.add_member(:relation_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RelationType"))
|
339
|
+
DependentEntity.add_member(:dependent_resource_ids, Shapes::ShapeRef.new(shape: SsmContactsArnList, required: true, location_name: "DependentResourceIds"))
|
340
|
+
DependentEntity.struct_class = Types::DependentEntity
|
341
|
+
|
342
|
+
DependentEntityList.member = Shapes::ShapeRef.new(shape: DependentEntity)
|
343
|
+
|
232
344
|
DescribeEngagementRequest.add_member(:engagement_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "EngagementId"))
|
233
345
|
DescribeEngagementRequest.struct_class = Types::DescribeEngagementRequest
|
234
346
|
|
@@ -299,13 +411,40 @@ module Aws::SSMContacts
|
|
299
411
|
GetContactResult.add_member(:plan, Shapes::ShapeRef.new(shape: Plan, required: true, location_name: "Plan"))
|
300
412
|
GetContactResult.struct_class = Types::GetContactResult
|
301
413
|
|
414
|
+
GetRotationOverrideRequest.add_member(:rotation_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "RotationId"))
|
415
|
+
GetRotationOverrideRequest.add_member(:rotation_override_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "RotationOverrideId"))
|
416
|
+
GetRotationOverrideRequest.struct_class = Types::GetRotationOverrideRequest
|
417
|
+
|
418
|
+
GetRotationOverrideResult.add_member(:rotation_override_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "RotationOverrideId"))
|
419
|
+
GetRotationOverrideResult.add_member(:rotation_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, location_name: "RotationArn"))
|
420
|
+
GetRotationOverrideResult.add_member(:new_contact_ids, Shapes::ShapeRef.new(shape: SsmContactsArnList, location_name: "NewContactIds"))
|
421
|
+
GetRotationOverrideResult.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
|
422
|
+
GetRotationOverrideResult.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "EndTime"))
|
423
|
+
GetRotationOverrideResult.add_member(:create_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreateTime"))
|
424
|
+
GetRotationOverrideResult.struct_class = Types::GetRotationOverrideResult
|
425
|
+
|
426
|
+
GetRotationRequest.add_member(:rotation_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "RotationId"))
|
427
|
+
GetRotationRequest.struct_class = Types::GetRotationRequest
|
428
|
+
|
429
|
+
GetRotationResult.add_member(:rotation_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "RotationArn"))
|
430
|
+
GetRotationResult.add_member(:name, Shapes::ShapeRef.new(shape: RotationName, required: true, location_name: "Name"))
|
431
|
+
GetRotationResult.add_member(:contact_ids, Shapes::ShapeRef.new(shape: RotationContactsArnList, required: true, location_name: "ContactIds"))
|
432
|
+
GetRotationResult.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "StartTime"))
|
433
|
+
GetRotationResult.add_member(:time_zone_id, Shapes::ShapeRef.new(shape: TimeZoneId, required: true, location_name: "TimeZoneId"))
|
434
|
+
GetRotationResult.add_member(:recurrence, Shapes::ShapeRef.new(shape: RecurrenceSettings, required: true, location_name: "Recurrence"))
|
435
|
+
GetRotationResult.struct_class = Types::GetRotationResult
|
436
|
+
|
437
|
+
HandOffTime.add_member(:hour_of_day, Shapes::ShapeRef.new(shape: HourOfDay, required: true, location_name: "HourOfDay"))
|
438
|
+
HandOffTime.add_member(:minute_of_hour, Shapes::ShapeRef.new(shape: MinuteOfHour, required: true, location_name: "MinuteOfHour"))
|
439
|
+
HandOffTime.struct_class = Types::HandOffTime
|
440
|
+
|
302
441
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
303
442
|
InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location_name: "RetryAfterSeconds"))
|
304
443
|
InternalServerException.struct_class = Types::InternalServerException
|
305
444
|
|
306
445
|
ListContactChannelsRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactId"))
|
307
446
|
ListContactChannelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
308
|
-
ListContactChannelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
447
|
+
ListContactChannelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
309
448
|
ListContactChannelsRequest.struct_class = Types::ListContactChannelsRequest
|
310
449
|
|
311
450
|
ListContactChannelsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
@@ -313,7 +452,7 @@ module Aws::SSMContacts
|
|
313
452
|
ListContactChannelsResult.struct_class = Types::ListContactChannelsResult
|
314
453
|
|
315
454
|
ListContactsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
316
|
-
ListContactsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
455
|
+
ListContactsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
317
456
|
ListContactsRequest.add_member(:alias_prefix, Shapes::ShapeRef.new(shape: ContactAlias, location_name: "AliasPrefix"))
|
318
457
|
ListContactsRequest.add_member(:type, Shapes::ShapeRef.new(shape: ContactType, location_name: "Type"))
|
319
458
|
ListContactsRequest.struct_class = Types::ListContactsRequest
|
@@ -323,7 +462,7 @@ module Aws::SSMContacts
|
|
323
462
|
ListContactsResult.struct_class = Types::ListContactsResult
|
324
463
|
|
325
464
|
ListEngagementsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
326
|
-
ListEngagementsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
465
|
+
ListEngagementsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
327
466
|
ListEngagementsRequest.add_member(:incident_id, Shapes::ShapeRef.new(shape: IncidentId, location_name: "IncidentId"))
|
328
467
|
ListEngagementsRequest.add_member(:time_range_value, Shapes::ShapeRef.new(shape: TimeRange, location_name: "TimeRangeValue"))
|
329
468
|
ListEngagementsRequest.struct_class = Types::ListEngagementsRequest
|
@@ -334,16 +473,24 @@ module Aws::SSMContacts
|
|
334
473
|
|
335
474
|
ListPageReceiptsRequest.add_member(:page_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "PageId"))
|
336
475
|
ListPageReceiptsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
337
|
-
ListPageReceiptsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
476
|
+
ListPageReceiptsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
338
477
|
ListPageReceiptsRequest.struct_class = Types::ListPageReceiptsRequest
|
339
478
|
|
340
479
|
ListPageReceiptsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
341
480
|
ListPageReceiptsResult.add_member(:receipts, Shapes::ShapeRef.new(shape: ReceiptsList, location_name: "Receipts"))
|
342
481
|
ListPageReceiptsResult.struct_class = Types::ListPageReceiptsResult
|
343
482
|
|
483
|
+
ListPageResolutionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
484
|
+
ListPageResolutionsRequest.add_member(:page_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "PageId"))
|
485
|
+
ListPageResolutionsRequest.struct_class = Types::ListPageResolutionsRequest
|
486
|
+
|
487
|
+
ListPageResolutionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
488
|
+
ListPageResolutionsResult.add_member(:page_resolutions, Shapes::ShapeRef.new(shape: ResolutionList, required: true, location_name: "PageResolutions"))
|
489
|
+
ListPageResolutionsResult.struct_class = Types::ListPageResolutionsResult
|
490
|
+
|
344
491
|
ListPagesByContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactId"))
|
345
492
|
ListPagesByContactRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
346
|
-
ListPagesByContactRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
493
|
+
ListPagesByContactRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
347
494
|
ListPagesByContactRequest.struct_class = Types::ListPagesByContactRequest
|
348
495
|
|
349
496
|
ListPagesByContactResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
@@ -352,19 +499,73 @@ module Aws::SSMContacts
|
|
352
499
|
|
353
500
|
ListPagesByEngagementRequest.add_member(:engagement_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "EngagementId"))
|
354
501
|
ListPagesByEngagementRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
355
|
-
ListPagesByEngagementRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
502
|
+
ListPagesByEngagementRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
356
503
|
ListPagesByEngagementRequest.struct_class = Types::ListPagesByEngagementRequest
|
357
504
|
|
358
505
|
ListPagesByEngagementResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
359
506
|
ListPagesByEngagementResult.add_member(:pages, Shapes::ShapeRef.new(shape: PagesList, required: true, location_name: "Pages"))
|
360
507
|
ListPagesByEngagementResult.struct_class = Types::ListPagesByEngagementResult
|
361
508
|
|
509
|
+
ListPreviewRotationShiftsRequest.add_member(:rotation_start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "RotationStartTime"))
|
510
|
+
ListPreviewRotationShiftsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
|
511
|
+
ListPreviewRotationShiftsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "EndTime"))
|
512
|
+
ListPreviewRotationShiftsRequest.add_member(:members, Shapes::ShapeRef.new(shape: RotationPreviewMemberList, required: true, location_name: "Members"))
|
513
|
+
ListPreviewRotationShiftsRequest.add_member(:time_zone_id, Shapes::ShapeRef.new(shape: TimeZoneId, required: true, location_name: "TimeZoneId"))
|
514
|
+
ListPreviewRotationShiftsRequest.add_member(:recurrence, Shapes::ShapeRef.new(shape: RecurrenceSettings, required: true, location_name: "Recurrence"))
|
515
|
+
ListPreviewRotationShiftsRequest.add_member(:overrides, Shapes::ShapeRef.new(shape: OverrideList, location_name: "Overrides"))
|
516
|
+
ListPreviewRotationShiftsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
517
|
+
ListPreviewRotationShiftsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
518
|
+
ListPreviewRotationShiftsRequest.struct_class = Types::ListPreviewRotationShiftsRequest
|
519
|
+
|
520
|
+
ListPreviewRotationShiftsResult.add_member(:rotation_shifts, Shapes::ShapeRef.new(shape: RotationShifts, location_name: "RotationShifts"))
|
521
|
+
ListPreviewRotationShiftsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
522
|
+
ListPreviewRotationShiftsResult.struct_class = Types::ListPreviewRotationShiftsResult
|
523
|
+
|
524
|
+
ListRotationOverridesRequest.add_member(:rotation_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "RotationId"))
|
525
|
+
ListRotationOverridesRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "StartTime"))
|
526
|
+
ListRotationOverridesRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "EndTime"))
|
527
|
+
ListRotationOverridesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
528
|
+
ListRotationOverridesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
529
|
+
ListRotationOverridesRequest.struct_class = Types::ListRotationOverridesRequest
|
530
|
+
|
531
|
+
ListRotationOverridesResult.add_member(:rotation_overrides, Shapes::ShapeRef.new(shape: RotationOverrides, location_name: "RotationOverrides"))
|
532
|
+
ListRotationOverridesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
533
|
+
ListRotationOverridesResult.struct_class = Types::ListRotationOverridesResult
|
534
|
+
|
535
|
+
ListRotationShiftsRequest.add_member(:rotation_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "RotationId"))
|
536
|
+
ListRotationShiftsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
|
537
|
+
ListRotationShiftsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "EndTime"))
|
538
|
+
ListRotationShiftsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
539
|
+
ListRotationShiftsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
540
|
+
ListRotationShiftsRequest.struct_class = Types::ListRotationShiftsRequest
|
541
|
+
|
542
|
+
ListRotationShiftsResult.add_member(:rotation_shifts, Shapes::ShapeRef.new(shape: RotationShifts, location_name: "RotationShifts"))
|
543
|
+
ListRotationShiftsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
544
|
+
ListRotationShiftsResult.struct_class = Types::ListRotationShiftsResult
|
545
|
+
|
546
|
+
ListRotationsRequest.add_member(:rotation_name_prefix, Shapes::ShapeRef.new(shape: RotationName, location_name: "RotationNamePrefix"))
|
547
|
+
ListRotationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
548
|
+
ListRotationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
549
|
+
ListRotationsRequest.struct_class = Types::ListRotationsRequest
|
550
|
+
|
551
|
+
ListRotationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
552
|
+
ListRotationsResult.add_member(:rotations, Shapes::ShapeRef.new(shape: Rotations, required: true, location_name: "Rotations"))
|
553
|
+
ListRotationsResult.struct_class = Types::ListRotationsResult
|
554
|
+
|
362
555
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
363
556
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
364
557
|
|
365
558
|
ListTagsForResourceResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagsList, location_name: "Tags"))
|
366
559
|
ListTagsForResourceResult.struct_class = Types::ListTagsForResourceResult
|
367
560
|
|
561
|
+
MonthlySetting.add_member(:day_of_month, Shapes::ShapeRef.new(shape: DayOfMonth, required: true, location_name: "DayOfMonth"))
|
562
|
+
MonthlySetting.add_member(:hand_off_time, Shapes::ShapeRef.new(shape: HandOffTime, required: true, location_name: "HandOffTime"))
|
563
|
+
MonthlySetting.struct_class = Types::MonthlySetting
|
564
|
+
|
565
|
+
MonthlySettings.member = Shapes::ShapeRef.new(shape: MonthlySetting)
|
566
|
+
|
567
|
+
OverrideList.member = Shapes::ShapeRef.new(shape: PreviewOverride)
|
568
|
+
|
368
569
|
Page.add_member(:page_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "PageArn"))
|
369
570
|
Page.add_member(:engagement_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "EngagementArn"))
|
370
571
|
Page.add_member(:contact_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactArn"))
|
@@ -377,9 +578,15 @@ module Aws::SSMContacts
|
|
377
578
|
|
378
579
|
PagesList.member = Shapes::ShapeRef.new(shape: Page)
|
379
580
|
|
380
|
-
Plan.add_member(:stages, Shapes::ShapeRef.new(shape: StagesList,
|
581
|
+
Plan.add_member(:stages, Shapes::ShapeRef.new(shape: StagesList, location_name: "Stages"))
|
582
|
+
Plan.add_member(:rotation_ids, Shapes::ShapeRef.new(shape: SsmContactsArnList, location_name: "RotationIds"))
|
381
583
|
Plan.struct_class = Types::Plan
|
382
584
|
|
585
|
+
PreviewOverride.add_member(:new_members, Shapes::ShapeRef.new(shape: RotationOverridePreviewMemberList, location_name: "NewMembers"))
|
586
|
+
PreviewOverride.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
|
587
|
+
PreviewOverride.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "EndTime"))
|
588
|
+
PreviewOverride.struct_class = Types::PreviewOverride
|
589
|
+
|
383
590
|
PutContactPolicyRequest.add_member(:contact_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactArn"))
|
384
591
|
PutContactPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "Policy"))
|
385
592
|
PutContactPolicyRequest.struct_class = Types::PutContactPolicyRequest
|
@@ -394,11 +601,62 @@ module Aws::SSMContacts
|
|
394
601
|
|
395
602
|
ReceiptsList.member = Shapes::ShapeRef.new(shape: Receipt)
|
396
603
|
|
604
|
+
RecurrenceSettings.add_member(:monthly_settings, Shapes::ShapeRef.new(shape: MonthlySettings, location_name: "MonthlySettings"))
|
605
|
+
RecurrenceSettings.add_member(:weekly_settings, Shapes::ShapeRef.new(shape: WeeklySettings, location_name: "WeeklySettings"))
|
606
|
+
RecurrenceSettings.add_member(:daily_settings, Shapes::ShapeRef.new(shape: DailySettings, location_name: "DailySettings"))
|
607
|
+
RecurrenceSettings.add_member(:number_of_on_calls, Shapes::ShapeRef.new(shape: NumberOfOnCalls, required: true, location_name: "NumberOfOnCalls", metadata: {"box"=>true}))
|
608
|
+
RecurrenceSettings.add_member(:shift_coverages, Shapes::ShapeRef.new(shape: ShiftCoveragesMap, location_name: "ShiftCoverages"))
|
609
|
+
RecurrenceSettings.add_member(:recurrence_multiplier, Shapes::ShapeRef.new(shape: RecurrenceMultiplier, required: true, location_name: "RecurrenceMultiplier", metadata: {"box"=>true}))
|
610
|
+
RecurrenceSettings.struct_class = Types::RecurrenceSettings
|
611
|
+
|
612
|
+
ResolutionContact.add_member(:contact_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactArn"))
|
613
|
+
ResolutionContact.add_member(:type, Shapes::ShapeRef.new(shape: ContactType, required: true, location_name: "Type"))
|
614
|
+
ResolutionContact.add_member(:stage_index, Shapes::ShapeRef.new(shape: StageIndex, location_name: "StageIndex", metadata: {"box"=>true}))
|
615
|
+
ResolutionContact.struct_class = Types::ResolutionContact
|
616
|
+
|
617
|
+
ResolutionList.member = Shapes::ShapeRef.new(shape: ResolutionContact)
|
618
|
+
|
397
619
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
398
620
|
ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
|
399
621
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceType"))
|
400
622
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
401
623
|
|
624
|
+
Rotation.add_member(:rotation_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "RotationArn"))
|
625
|
+
Rotation.add_member(:name, Shapes::ShapeRef.new(shape: RotationName, required: true, location_name: "Name"))
|
626
|
+
Rotation.add_member(:contact_ids, Shapes::ShapeRef.new(shape: SsmContactsArnList, location_name: "ContactIds"))
|
627
|
+
Rotation.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
|
628
|
+
Rotation.add_member(:time_zone_id, Shapes::ShapeRef.new(shape: TimeZoneId, location_name: "TimeZoneId"))
|
629
|
+
Rotation.add_member(:recurrence, Shapes::ShapeRef.new(shape: RecurrenceSettings, location_name: "Recurrence"))
|
630
|
+
Rotation.struct_class = Types::Rotation
|
631
|
+
|
632
|
+
RotationContactsArnList.member = Shapes::ShapeRef.new(shape: SsmContactsArn)
|
633
|
+
|
634
|
+
RotationOverride.add_member(:rotation_override_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "RotationOverrideId"))
|
635
|
+
RotationOverride.add_member(:new_contact_ids, Shapes::ShapeRef.new(shape: SsmContactsArnList, required: true, location_name: "NewContactIds"))
|
636
|
+
RotationOverride.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "StartTime"))
|
637
|
+
RotationOverride.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "EndTime"))
|
638
|
+
RotationOverride.add_member(:create_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "CreateTime"))
|
639
|
+
RotationOverride.struct_class = Types::RotationOverride
|
640
|
+
|
641
|
+
RotationOverrideContactsArnList.member = Shapes::ShapeRef.new(shape: SsmContactsArn)
|
642
|
+
|
643
|
+
RotationOverridePreviewMemberList.member = Shapes::ShapeRef.new(shape: Member)
|
644
|
+
|
645
|
+
RotationOverrides.member = Shapes::ShapeRef.new(shape: RotationOverride)
|
646
|
+
|
647
|
+
RotationPreviewMemberList.member = Shapes::ShapeRef.new(shape: Member)
|
648
|
+
|
649
|
+
RotationShift.add_member(:contact_ids, Shapes::ShapeRef.new(shape: SsmContactsArnList, location_name: "ContactIds"))
|
650
|
+
RotationShift.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "StartTime"))
|
651
|
+
RotationShift.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "EndTime"))
|
652
|
+
RotationShift.add_member(:type, Shapes::ShapeRef.new(shape: ShiftType, location_name: "Type"))
|
653
|
+
RotationShift.add_member(:shift_details, Shapes::ShapeRef.new(shape: ShiftDetails, location_name: "ShiftDetails"))
|
654
|
+
RotationShift.struct_class = Types::RotationShift
|
655
|
+
|
656
|
+
RotationShifts.member = Shapes::ShapeRef.new(shape: RotationShift)
|
657
|
+
|
658
|
+
Rotations.member = Shapes::ShapeRef.new(shape: Rotation)
|
659
|
+
|
402
660
|
SendActivationCodeRequest.add_member(:contact_channel_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactChannelId"))
|
403
661
|
SendActivationCodeRequest.struct_class = Types::SendActivationCodeRequest
|
404
662
|
|
@@ -411,6 +669,14 @@ module Aws::SSMContacts
|
|
411
669
|
ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServiceCode"))
|
412
670
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
413
671
|
|
672
|
+
ShiftCoveragesMap.key = Shapes::ShapeRef.new(shape: DayOfWeek)
|
673
|
+
ShiftCoveragesMap.value = Shapes::ShapeRef.new(shape: CoverageTimes)
|
674
|
+
|
675
|
+
ShiftDetails.add_member(:overridden_contact_ids, Shapes::ShapeRef.new(shape: SsmContactsArnList, required: true, location_name: "OverriddenContactIds"))
|
676
|
+
ShiftDetails.struct_class = Types::ShiftDetails
|
677
|
+
|
678
|
+
SsmContactsArnList.member = Shapes::ShapeRef.new(shape: SsmContactsArn)
|
679
|
+
|
414
680
|
Stage.add_member(:duration_in_minutes, Shapes::ShapeRef.new(shape: StageDurationInMins, required: true, location_name: "DurationInMinutes"))
|
415
681
|
Stage.add_member(:targets, Shapes::ShapeRef.new(shape: TargetsList, required: true, location_name: "Targets"))
|
416
682
|
Stage.struct_class = Types::Stage
|
@@ -486,6 +752,15 @@ module Aws::SSMContacts
|
|
486
752
|
|
487
753
|
UpdateContactResult.struct_class = Types::UpdateContactResult
|
488
754
|
|
755
|
+
UpdateRotationRequest.add_member(:rotation_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "RotationId"))
|
756
|
+
UpdateRotationRequest.add_member(:contact_ids, Shapes::ShapeRef.new(shape: RotationContactsArnList, location_name: "ContactIds"))
|
757
|
+
UpdateRotationRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
|
758
|
+
UpdateRotationRequest.add_member(:time_zone_id, Shapes::ShapeRef.new(shape: TimeZoneId, location_name: "TimeZoneId"))
|
759
|
+
UpdateRotationRequest.add_member(:recurrence, Shapes::ShapeRef.new(shape: RecurrenceSettings, required: true, location_name: "Recurrence"))
|
760
|
+
UpdateRotationRequest.struct_class = Types::UpdateRotationRequest
|
761
|
+
|
762
|
+
UpdateRotationResult.struct_class = Types::UpdateRotationResult
|
763
|
+
|
489
764
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
490
765
|
ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "Reason"))
|
491
766
|
ValidationException.add_member(:fields, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "Fields"))
|
@@ -497,6 +772,12 @@ module Aws::SSMContacts
|
|
497
772
|
|
498
773
|
ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
|
499
774
|
|
775
|
+
WeeklySetting.add_member(:day_of_week, Shapes::ShapeRef.new(shape: DayOfWeek, required: true, location_name: "DayOfWeek"))
|
776
|
+
WeeklySetting.add_member(:hand_off_time, Shapes::ShapeRef.new(shape: HandOffTime, required: true, location_name: "HandOffTime"))
|
777
|
+
WeeklySetting.struct_class = Types::WeeklySetting
|
778
|
+
|
779
|
+
WeeklySettings.member = Shapes::ShapeRef.new(shape: WeeklySetting)
|
780
|
+
|
500
781
|
|
501
782
|
# @api private
|
502
783
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -572,6 +853,34 @@ module Aws::SSMContacts
|
|
572
853
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
573
854
|
end)
|
574
855
|
|
856
|
+
api.add_operation(:create_rotation, Seahorse::Model::Operation.new.tap do |o|
|
857
|
+
o.name = "CreateRotation"
|
858
|
+
o.http_method = "POST"
|
859
|
+
o.http_request_uri = "/"
|
860
|
+
o.input = Shapes::ShapeRef.new(shape: CreateRotationRequest)
|
861
|
+
o.output = Shapes::ShapeRef.new(shape: CreateRotationResult)
|
862
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
863
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
864
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
865
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
866
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
867
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
868
|
+
end)
|
869
|
+
|
870
|
+
api.add_operation(:create_rotation_override, Seahorse::Model::Operation.new.tap do |o|
|
871
|
+
o.name = "CreateRotationOverride"
|
872
|
+
o.http_method = "POST"
|
873
|
+
o.http_request_uri = "/"
|
874
|
+
o.input = Shapes::ShapeRef.new(shape: CreateRotationOverrideRequest)
|
875
|
+
o.output = Shapes::ShapeRef.new(shape: CreateRotationOverrideResult)
|
876
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
877
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
878
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
879
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
880
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
881
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
882
|
+
end)
|
883
|
+
|
575
884
|
api.add_operation(:deactivate_contact_channel, Seahorse::Model::Operation.new.tap do |o|
|
576
885
|
o.name = "DeactivateContactChannel"
|
577
886
|
o.http_method = "POST"
|
@@ -595,6 +904,7 @@ module Aws::SSMContacts
|
|
595
904
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
596
905
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
597
906
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
907
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
598
908
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
599
909
|
end)
|
600
910
|
|
@@ -611,6 +921,33 @@ module Aws::SSMContacts
|
|
611
921
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
612
922
|
end)
|
613
923
|
|
924
|
+
api.add_operation(:delete_rotation, Seahorse::Model::Operation.new.tap do |o|
|
925
|
+
o.name = "DeleteRotation"
|
926
|
+
o.http_method = "POST"
|
927
|
+
o.http_request_uri = "/"
|
928
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteRotationRequest)
|
929
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteRotationResult)
|
930
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
931
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
932
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
933
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
934
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
935
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
936
|
+
end)
|
937
|
+
|
938
|
+
api.add_operation(:delete_rotation_override, Seahorse::Model::Operation.new.tap do |o|
|
939
|
+
o.name = "DeleteRotationOverride"
|
940
|
+
o.http_method = "POST"
|
941
|
+
o.http_request_uri = "/"
|
942
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteRotationOverrideRequest)
|
943
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteRotationOverrideResult)
|
944
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
945
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
946
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
947
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
948
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
949
|
+
end)
|
950
|
+
|
614
951
|
api.add_operation(:describe_engagement, Seahorse::Model::Operation.new.tap do |o|
|
615
952
|
o.name = "DescribeEngagement"
|
616
953
|
o.http_method = "POST"
|
@@ -680,6 +1017,32 @@ module Aws::SSMContacts
|
|
680
1017
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
681
1018
|
end)
|
682
1019
|
|
1020
|
+
api.add_operation(:get_rotation, Seahorse::Model::Operation.new.tap do |o|
|
1021
|
+
o.name = "GetRotation"
|
1022
|
+
o.http_method = "POST"
|
1023
|
+
o.http_request_uri = "/"
|
1024
|
+
o.input = Shapes::ShapeRef.new(shape: GetRotationRequest)
|
1025
|
+
o.output = Shapes::ShapeRef.new(shape: GetRotationResult)
|
1026
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1027
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1028
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1029
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1030
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1031
|
+
end)
|
1032
|
+
|
1033
|
+
api.add_operation(:get_rotation_override, Seahorse::Model::Operation.new.tap do |o|
|
1034
|
+
o.name = "GetRotationOverride"
|
1035
|
+
o.http_method = "POST"
|
1036
|
+
o.http_request_uri = "/"
|
1037
|
+
o.input = Shapes::ShapeRef.new(shape: GetRotationOverrideRequest)
|
1038
|
+
o.output = Shapes::ShapeRef.new(shape: GetRotationOverrideResult)
|
1039
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1040
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1041
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1042
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1043
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1044
|
+
end)
|
1045
|
+
|
683
1046
|
api.add_operation(:list_contact_channels, Seahorse::Model::Operation.new.tap do |o|
|
684
1047
|
o.name = "ListContactChannels"
|
685
1048
|
o.http_method = "POST"
|
@@ -755,6 +1118,24 @@ module Aws::SSMContacts
|
|
755
1118
|
)
|
756
1119
|
end)
|
757
1120
|
|
1121
|
+
api.add_operation(:list_page_resolutions, Seahorse::Model::Operation.new.tap do |o|
|
1122
|
+
o.name = "ListPageResolutions"
|
1123
|
+
o.http_method = "POST"
|
1124
|
+
o.http_request_uri = "/"
|
1125
|
+
o.input = Shapes::ShapeRef.new(shape: ListPageResolutionsRequest)
|
1126
|
+
o.output = Shapes::ShapeRef.new(shape: ListPageResolutionsResult)
|
1127
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1128
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1129
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1130
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1131
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1132
|
+
o[:pager] = Aws::Pager.new(
|
1133
|
+
tokens: {
|
1134
|
+
"next_token" => "next_token"
|
1135
|
+
}
|
1136
|
+
)
|
1137
|
+
end)
|
1138
|
+
|
758
1139
|
api.add_operation(:list_pages_by_contact, Seahorse::Model::Operation.new.tap do |o|
|
759
1140
|
o.name = "ListPagesByContact"
|
760
1141
|
o.http_method = "POST"
|
@@ -793,6 +1174,82 @@ module Aws::SSMContacts
|
|
793
1174
|
)
|
794
1175
|
end)
|
795
1176
|
|
1177
|
+
api.add_operation(:list_preview_rotation_shifts, Seahorse::Model::Operation.new.tap do |o|
|
1178
|
+
o.name = "ListPreviewRotationShifts"
|
1179
|
+
o.http_method = "POST"
|
1180
|
+
o.http_request_uri = "/"
|
1181
|
+
o.input = Shapes::ShapeRef.new(shape: ListPreviewRotationShiftsRequest)
|
1182
|
+
o.output = Shapes::ShapeRef.new(shape: ListPreviewRotationShiftsResult)
|
1183
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1184
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1185
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1186
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1187
|
+
o[:pager] = Aws::Pager.new(
|
1188
|
+
limit_key: "max_results",
|
1189
|
+
tokens: {
|
1190
|
+
"next_token" => "next_token"
|
1191
|
+
}
|
1192
|
+
)
|
1193
|
+
end)
|
1194
|
+
|
1195
|
+
api.add_operation(:list_rotation_overrides, Seahorse::Model::Operation.new.tap do |o|
|
1196
|
+
o.name = "ListRotationOverrides"
|
1197
|
+
o.http_method = "POST"
|
1198
|
+
o.http_request_uri = "/"
|
1199
|
+
o.input = Shapes::ShapeRef.new(shape: ListRotationOverridesRequest)
|
1200
|
+
o.output = Shapes::ShapeRef.new(shape: ListRotationOverridesResult)
|
1201
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1202
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1203
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1204
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1205
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1206
|
+
o[:pager] = Aws::Pager.new(
|
1207
|
+
limit_key: "max_results",
|
1208
|
+
tokens: {
|
1209
|
+
"next_token" => "next_token"
|
1210
|
+
}
|
1211
|
+
)
|
1212
|
+
end)
|
1213
|
+
|
1214
|
+
api.add_operation(:list_rotation_shifts, Seahorse::Model::Operation.new.tap do |o|
|
1215
|
+
o.name = "ListRotationShifts"
|
1216
|
+
o.http_method = "POST"
|
1217
|
+
o.http_request_uri = "/"
|
1218
|
+
o.input = Shapes::ShapeRef.new(shape: ListRotationShiftsRequest)
|
1219
|
+
o.output = Shapes::ShapeRef.new(shape: ListRotationShiftsResult)
|
1220
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1221
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1222
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1223
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1224
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1225
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1226
|
+
o[:pager] = Aws::Pager.new(
|
1227
|
+
limit_key: "max_results",
|
1228
|
+
tokens: {
|
1229
|
+
"next_token" => "next_token"
|
1230
|
+
}
|
1231
|
+
)
|
1232
|
+
end)
|
1233
|
+
|
1234
|
+
api.add_operation(:list_rotations, Seahorse::Model::Operation.new.tap do |o|
|
1235
|
+
o.name = "ListRotations"
|
1236
|
+
o.http_method = "POST"
|
1237
|
+
o.http_request_uri = "/"
|
1238
|
+
o.input = Shapes::ShapeRef.new(shape: ListRotationsRequest)
|
1239
|
+
o.output = Shapes::ShapeRef.new(shape: ListRotationsResult)
|
1240
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1241
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1242
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1243
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1244
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1245
|
+
o[:pager] = Aws::Pager.new(
|
1246
|
+
limit_key: "max_results",
|
1247
|
+
tokens: {
|
1248
|
+
"next_token" => "next_token"
|
1249
|
+
}
|
1250
|
+
)
|
1251
|
+
end)
|
1252
|
+
|
796
1253
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
797
1254
|
o.name = "ListTagsForResource"
|
798
1255
|
o.http_method = "POST"
|
@@ -918,6 +1375,20 @@ module Aws::SSMContacts
|
|
918
1375
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
919
1376
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
920
1377
|
end)
|
1378
|
+
|
1379
|
+
api.add_operation(:update_rotation, Seahorse::Model::Operation.new.tap do |o|
|
1380
|
+
o.name = "UpdateRotation"
|
1381
|
+
o.http_method = "POST"
|
1382
|
+
o.http_request_uri = "/"
|
1383
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateRotationRequest)
|
1384
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateRotationResult)
|
1385
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1386
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1387
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1388
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1389
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1390
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1391
|
+
end)
|
921
1392
|
end
|
922
1393
|
|
923
1394
|
end
|