aws-sdk-notifications 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/types.rbs ADDED
@@ -0,0 +1,467 @@
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::Notifications
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class AssociateChannelRequest
17
+ attr_accessor arn: ::String
18
+ attr_accessor notification_configuration_arn: ::String
19
+ SENSITIVE: []
20
+ end
21
+
22
+ class AssociateChannelResponse < Aws::EmptyStructure
23
+ end
24
+
25
+ class ConflictException
26
+ attr_accessor message: ::String
27
+ attr_accessor resource_id: ::String
28
+ SENSITIVE: []
29
+ end
30
+
31
+ class CreateEventRuleRequest
32
+ attr_accessor notification_configuration_arn: ::String
33
+ attr_accessor source: ::String
34
+ attr_accessor event_type: ::String
35
+ attr_accessor event_pattern: ::String
36
+ attr_accessor regions: ::Array[::String]
37
+ SENSITIVE: []
38
+ end
39
+
40
+ class CreateEventRuleResponse
41
+ attr_accessor arn: ::String
42
+ attr_accessor notification_configuration_arn: ::String
43
+ attr_accessor status_summary_by_region: ::Hash[::String, Types::EventRuleStatusSummary]
44
+ SENSITIVE: []
45
+ end
46
+
47
+ class CreateNotificationConfigurationRequest
48
+ attr_accessor name: ::String
49
+ attr_accessor description: ::String
50
+ attr_accessor aggregation_duration: ("LONG" | "SHORT" | "NONE")
51
+ attr_accessor tags: ::Hash[::String, ::String]
52
+ SENSITIVE: []
53
+ end
54
+
55
+ class CreateNotificationConfigurationResponse
56
+ attr_accessor arn: ::String
57
+ attr_accessor status: ("ACTIVE" | "PARTIALLY_ACTIVE" | "INACTIVE" | "DELETING")
58
+ SENSITIVE: []
59
+ end
60
+
61
+ class DeleteEventRuleRequest
62
+ attr_accessor arn: ::String
63
+ SENSITIVE: []
64
+ end
65
+
66
+ class DeleteEventRuleResponse < Aws::EmptyStructure
67
+ end
68
+
69
+ class DeleteNotificationConfigurationRequest
70
+ attr_accessor arn: ::String
71
+ SENSITIVE: []
72
+ end
73
+
74
+ class DeleteNotificationConfigurationResponse < Aws::EmptyStructure
75
+ end
76
+
77
+ class DeregisterNotificationHubRequest
78
+ attr_accessor notification_hub_region: ::String
79
+ SENSITIVE: []
80
+ end
81
+
82
+ class DeregisterNotificationHubResponse
83
+ attr_accessor notification_hub_region: ::String
84
+ attr_accessor status_summary: Types::NotificationHubStatusSummary
85
+ SENSITIVE: []
86
+ end
87
+
88
+ class Dimension
89
+ attr_accessor name: ::String
90
+ attr_accessor value: ::String
91
+ SENSITIVE: []
92
+ end
93
+
94
+ class DisassociateChannelRequest
95
+ attr_accessor arn: ::String
96
+ attr_accessor notification_configuration_arn: ::String
97
+ SENSITIVE: []
98
+ end
99
+
100
+ class DisassociateChannelResponse < Aws::EmptyStructure
101
+ end
102
+
103
+ class EventRuleStatusSummary
104
+ attr_accessor status: ("ACTIVE" | "INACTIVE" | "CREATING" | "UPDATING" | "DELETING")
105
+ attr_accessor reason: ::String
106
+ SENSITIVE: []
107
+ end
108
+
109
+ class EventRuleStructure
110
+ attr_accessor arn: ::String
111
+ attr_accessor notification_configuration_arn: ::String
112
+ attr_accessor creation_time: ::Time
113
+ attr_accessor source: ::String
114
+ attr_accessor event_type: ::String
115
+ attr_accessor event_pattern: ::String
116
+ attr_accessor regions: ::Array[::String]
117
+ attr_accessor managed_rules: ::Array[::String]
118
+ attr_accessor status_summary_by_region: ::Hash[::String, Types::EventRuleStatusSummary]
119
+ SENSITIVE: []
120
+ end
121
+
122
+ class GetEventRuleRequest
123
+ attr_accessor arn: ::String
124
+ SENSITIVE: []
125
+ end
126
+
127
+ class GetEventRuleResponse
128
+ attr_accessor arn: ::String
129
+ attr_accessor notification_configuration_arn: ::String
130
+ attr_accessor creation_time: ::Time
131
+ attr_accessor source: ::String
132
+ attr_accessor event_type: ::String
133
+ attr_accessor event_pattern: ::String
134
+ attr_accessor regions: ::Array[::String]
135
+ attr_accessor managed_rules: ::Array[::String]
136
+ attr_accessor status_summary_by_region: ::Hash[::String, Types::EventRuleStatusSummary]
137
+ SENSITIVE: []
138
+ end
139
+
140
+ class GetNotificationConfigurationRequest
141
+ attr_accessor arn: ::String
142
+ SENSITIVE: []
143
+ end
144
+
145
+ class GetNotificationConfigurationResponse
146
+ attr_accessor arn: ::String
147
+ attr_accessor name: ::String
148
+ attr_accessor description: ::String
149
+ attr_accessor status: ("ACTIVE" | "PARTIALLY_ACTIVE" | "INACTIVE" | "DELETING")
150
+ attr_accessor creation_time: ::Time
151
+ attr_accessor aggregation_duration: ("LONG" | "SHORT" | "NONE")
152
+ SENSITIVE: []
153
+ end
154
+
155
+ class GetNotificationEventRequest
156
+ attr_accessor arn: ::String
157
+ attr_accessor locale: ("de_DE" | "en_CA" | "en_US" | "en_UK" | "es_ES" | "fr_CA" | "fr_FR" | "id_ID" | "it_IT" | "ja_JP" | "ko_KR" | "pt_BR" | "tr_TR" | "zh_CN" | "zh_TW")
158
+ SENSITIVE: []
159
+ end
160
+
161
+ class GetNotificationEventResponse
162
+ attr_accessor arn: ::String
163
+ attr_accessor notification_configuration_arn: ::String
164
+ attr_accessor creation_time: ::Time
165
+ attr_accessor content: Types::NotificationEvent
166
+ SENSITIVE: []
167
+ end
168
+
169
+ class InternalServerException
170
+ attr_accessor message: ::String
171
+ SENSITIVE: []
172
+ end
173
+
174
+ class ListChannelsRequest
175
+ attr_accessor notification_configuration_arn: ::String
176
+ attr_accessor max_results: ::Integer
177
+ attr_accessor next_token: ::String
178
+ SENSITIVE: []
179
+ end
180
+
181
+ class ListChannelsResponse
182
+ attr_accessor next_token: ::String
183
+ attr_accessor channels: ::Array[::String]
184
+ SENSITIVE: []
185
+ end
186
+
187
+ class ListEventRulesRequest
188
+ attr_accessor notification_configuration_arn: ::String
189
+ attr_accessor max_results: ::Integer
190
+ attr_accessor next_token: ::String
191
+ SENSITIVE: []
192
+ end
193
+
194
+ class ListEventRulesResponse
195
+ attr_accessor next_token: ::String
196
+ attr_accessor event_rules: ::Array[Types::EventRuleStructure]
197
+ SENSITIVE: []
198
+ end
199
+
200
+ class ListNotificationConfigurationsRequest
201
+ attr_accessor event_rule_source: ::String
202
+ attr_accessor channel_arn: ::String
203
+ attr_accessor status: ("ACTIVE" | "PARTIALLY_ACTIVE" | "INACTIVE" | "DELETING")
204
+ attr_accessor max_results: ::Integer
205
+ attr_accessor next_token: ::String
206
+ SENSITIVE: []
207
+ end
208
+
209
+ class ListNotificationConfigurationsResponse
210
+ attr_accessor next_token: ::String
211
+ attr_accessor notification_configurations: ::Array[Types::NotificationConfigurationStructure]
212
+ SENSITIVE: []
213
+ end
214
+
215
+ class ListNotificationEventsRequest
216
+ attr_accessor start_time: ::Time
217
+ attr_accessor end_time: ::Time
218
+ attr_accessor locale: ("de_DE" | "en_CA" | "en_US" | "en_UK" | "es_ES" | "fr_CA" | "fr_FR" | "id_ID" | "it_IT" | "ja_JP" | "ko_KR" | "pt_BR" | "tr_TR" | "zh_CN" | "zh_TW")
219
+ attr_accessor source: ::String
220
+ attr_accessor include_child_events: bool
221
+ attr_accessor aggregate_notification_event_arn: ::String
222
+ attr_accessor max_results: ::Integer
223
+ attr_accessor next_token: ::String
224
+ SENSITIVE: []
225
+ end
226
+
227
+ class ListNotificationEventsResponse
228
+ attr_accessor next_token: ::String
229
+ attr_accessor notification_events: ::Array[Types::NotificationEventOverview]
230
+ SENSITIVE: []
231
+ end
232
+
233
+ class ListNotificationHubsRequest
234
+ attr_accessor max_results: ::Integer
235
+ attr_accessor next_token: ::String
236
+ SENSITIVE: []
237
+ end
238
+
239
+ class ListNotificationHubsResponse
240
+ attr_accessor notification_hubs: ::Array[Types::NotificationHubOverview]
241
+ attr_accessor next_token: ::String
242
+ SENSITIVE: []
243
+ end
244
+
245
+ class ListTagsForResourceRequest
246
+ attr_accessor arn: ::String
247
+ SENSITIVE: []
248
+ end
249
+
250
+ class ListTagsForResourceResponse
251
+ attr_accessor tags: ::Hash[::String, ::String]
252
+ SENSITIVE: []
253
+ end
254
+
255
+ class MediaElement
256
+ attr_accessor media_id: ::String
257
+ attr_accessor type: ("IMAGE")
258
+ attr_accessor url: ::String
259
+ attr_accessor caption: ::String
260
+ SENSITIVE: []
261
+ end
262
+
263
+ class MessageComponents
264
+ attr_accessor headline: ::String
265
+ attr_accessor paragraph_summary: ::String
266
+ attr_accessor complete_description: ::String
267
+ attr_accessor dimensions: ::Array[Types::Dimension]
268
+ SENSITIVE: []
269
+ end
270
+
271
+ class MessageComponentsSummary
272
+ attr_accessor headline: ::String
273
+ SENSITIVE: []
274
+ end
275
+
276
+ class NotificationConfigurationStructure
277
+ attr_accessor arn: ::String
278
+ attr_accessor name: ::String
279
+ attr_accessor description: ::String
280
+ attr_accessor status: ("ACTIVE" | "PARTIALLY_ACTIVE" | "INACTIVE" | "DELETING")
281
+ attr_accessor creation_time: ::Time
282
+ attr_accessor aggregation_duration: ("LONG" | "SHORT" | "NONE")
283
+ SENSITIVE: []
284
+ end
285
+
286
+ class NotificationEvent
287
+ attr_accessor schema_version: ("v1.0")
288
+ attr_accessor id: ::String
289
+ attr_accessor source_event_metadata: Types::SourceEventMetadata
290
+ attr_accessor message_components: Types::MessageComponents
291
+ attr_accessor source_event_detail_url: ::String
292
+ attr_accessor source_event_detail_url_display_text: ::String
293
+ attr_accessor notification_type: ("ALERT" | "WARNING" | "ANNOUNCEMENT" | "INFORMATIONAL")
294
+ attr_accessor event_status: ("HEALTHY" | "UNHEALTHY")
295
+ attr_accessor aggregation_event_type: ("AGGREGATE" | "CHILD" | "NONE")
296
+ attr_accessor aggregate_notification_event_arn: ::String
297
+ attr_accessor start_time: ::Time
298
+ attr_accessor end_time: ::Time
299
+ attr_accessor text_parts: ::Hash[::String, Types::TextPartValue]
300
+ attr_accessor media: ::Array[Types::MediaElement]
301
+ SENSITIVE: []
302
+ end
303
+
304
+ class NotificationEventOverview
305
+ attr_accessor arn: ::String
306
+ attr_accessor notification_configuration_arn: ::String
307
+ attr_accessor related_account: ::String
308
+ attr_accessor creation_time: ::Time
309
+ attr_accessor notification_event: Types::NotificationEventSummary
310
+ attr_accessor aggregation_event_type: ("AGGREGATE" | "CHILD" | "NONE")
311
+ attr_accessor aggregate_notification_event_arn: ::String
312
+ SENSITIVE: []
313
+ end
314
+
315
+ class NotificationEventSummary
316
+ attr_accessor schema_version: ("v1.0")
317
+ attr_accessor source_event_metadata: Types::SourceEventMetadataSummary
318
+ attr_accessor message_components: Types::MessageComponentsSummary
319
+ attr_accessor event_status: ("HEALTHY" | "UNHEALTHY")
320
+ attr_accessor notification_type: ("ALERT" | "WARNING" | "ANNOUNCEMENT" | "INFORMATIONAL")
321
+ SENSITIVE: []
322
+ end
323
+
324
+ class NotificationHubOverview
325
+ attr_accessor notification_hub_region: ::String
326
+ attr_accessor status_summary: Types::NotificationHubStatusSummary
327
+ attr_accessor creation_time: ::Time
328
+ attr_accessor last_activation_time: ::Time
329
+ SENSITIVE: []
330
+ end
331
+
332
+ class NotificationHubStatusSummary
333
+ attr_accessor status: ("ACTIVE" | "REGISTERING" | "DEREGISTERING" | "INACTIVE")
334
+ attr_accessor reason: ::String
335
+ SENSITIVE: []
336
+ end
337
+
338
+ class RegisterNotificationHubRequest
339
+ attr_accessor notification_hub_region: ::String
340
+ SENSITIVE: []
341
+ end
342
+
343
+ class RegisterNotificationHubResponse
344
+ attr_accessor notification_hub_region: ::String
345
+ attr_accessor status_summary: Types::NotificationHubStatusSummary
346
+ attr_accessor creation_time: ::Time
347
+ attr_accessor last_activation_time: ::Time
348
+ SENSITIVE: []
349
+ end
350
+
351
+ class Resource
352
+ attr_accessor id: ::String
353
+ attr_accessor arn: ::String
354
+ attr_accessor detail_url: ::String
355
+ attr_accessor tags: ::Array[::String]
356
+ SENSITIVE: []
357
+ end
358
+
359
+ class ResourceNotFoundException
360
+ attr_accessor message: ::String
361
+ attr_accessor resource_id: ::String
362
+ SENSITIVE: []
363
+ end
364
+
365
+ class ServiceQuotaExceededException
366
+ attr_accessor message: ::String
367
+ attr_accessor resource_type: ::String
368
+ attr_accessor resource_id: ::String
369
+ attr_accessor service_code: ::String
370
+ attr_accessor quota_code: ::String
371
+ SENSITIVE: []
372
+ end
373
+
374
+ class SourceEventMetadata
375
+ attr_accessor event_type_version: ::String
376
+ attr_accessor source_event_id: ::String
377
+ attr_accessor event_origin_region: ::String
378
+ attr_accessor related_account: ::String
379
+ attr_accessor source: ::String
380
+ attr_accessor event_occurrence_time: ::Time
381
+ attr_accessor event_type: ::String
382
+ attr_accessor related_resources: ::Array[Types::Resource]
383
+ SENSITIVE: []
384
+ end
385
+
386
+ class SourceEventMetadataSummary
387
+ attr_accessor event_origin_region: ::String
388
+ attr_accessor source: ::String
389
+ attr_accessor event_type: ::String
390
+ SENSITIVE: []
391
+ end
392
+
393
+ class TagResourceRequest
394
+ attr_accessor arn: ::String
395
+ attr_accessor tags: ::Hash[::String, ::String]
396
+ SENSITIVE: []
397
+ end
398
+
399
+ class TagResourceResponse < Aws::EmptyStructure
400
+ end
401
+
402
+ class TextPartValue
403
+ attr_accessor type: ("LOCALIZED_TEXT" | "PLAIN_TEXT" | "URL")
404
+ attr_accessor display_text: ::String
405
+ attr_accessor text_by_locale: ::Hash[("de_DE" | "en_CA" | "en_US" | "en_UK" | "es_ES" | "fr_CA" | "fr_FR" | "id_ID" | "it_IT" | "ja_JP" | "ko_KR" | "pt_BR" | "tr_TR" | "zh_CN" | "zh_TW"), ::String]
406
+ attr_accessor url: ::String
407
+ SENSITIVE: []
408
+ end
409
+
410
+ class ThrottlingException
411
+ attr_accessor message: ::String
412
+ attr_accessor service_code: ::String
413
+ attr_accessor quota_code: ::String
414
+ attr_accessor retry_after_seconds: ::Integer
415
+ SENSITIVE: []
416
+ end
417
+
418
+ class UntagResourceRequest
419
+ attr_accessor arn: ::String
420
+ attr_accessor tag_keys: ::Array[::String]
421
+ SENSITIVE: []
422
+ end
423
+
424
+ class UntagResourceResponse < Aws::EmptyStructure
425
+ end
426
+
427
+ class UpdateEventRuleRequest
428
+ attr_accessor arn: ::String
429
+ attr_accessor event_pattern: ::String
430
+ attr_accessor regions: ::Array[::String]
431
+ SENSITIVE: []
432
+ end
433
+
434
+ class UpdateEventRuleResponse
435
+ attr_accessor arn: ::String
436
+ attr_accessor notification_configuration_arn: ::String
437
+ attr_accessor status_summary_by_region: ::Hash[::String, Types::EventRuleStatusSummary]
438
+ SENSITIVE: []
439
+ end
440
+
441
+ class UpdateNotificationConfigurationRequest
442
+ attr_accessor arn: ::String
443
+ attr_accessor name: ::String
444
+ attr_accessor description: ::String
445
+ attr_accessor aggregation_duration: ("LONG" | "SHORT" | "NONE")
446
+ SENSITIVE: []
447
+ end
448
+
449
+ class UpdateNotificationConfigurationResponse
450
+ attr_accessor arn: ::String
451
+ SENSITIVE: []
452
+ end
453
+
454
+ class ValidationException
455
+ attr_accessor message: ::String
456
+ attr_accessor reason: ("fieldValidationFailed" | "other")
457
+ attr_accessor field_list: ::Array[Types::ValidationExceptionField]
458
+ SENSITIVE: []
459
+ end
460
+
461
+ class ValidationExceptionField
462
+ attr_accessor name: ::String
463
+ attr_accessor message: ::String
464
+ SENSITIVE: []
465
+ end
466
+ end
467
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
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 Notifications
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata ADDED
@@ -0,0 +1,100 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aws-sdk-notifications
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Amazon Web Services
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-11-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: aws-sdk-core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 3.210.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '3'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 3.210.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: aws-sigv4
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.5'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.5'
47
+ description: Official AWS Ruby gem for AWS User Notifications. This gem is part of
48
+ the AWS SDK for Ruby.
49
+ email:
50
+ - aws-dr-rubygems@amazon.com
51
+ executables: []
52
+ extensions: []
53
+ extra_rdoc_files: []
54
+ files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
58
+ - lib/aws-sdk-notifications.rb
59
+ - lib/aws-sdk-notifications/client.rb
60
+ - lib/aws-sdk-notifications/client_api.rb
61
+ - lib/aws-sdk-notifications/customizations.rb
62
+ - lib/aws-sdk-notifications/endpoint_parameters.rb
63
+ - lib/aws-sdk-notifications/endpoint_provider.rb
64
+ - lib/aws-sdk-notifications/endpoints.rb
65
+ - lib/aws-sdk-notifications/errors.rb
66
+ - lib/aws-sdk-notifications/plugins/endpoints.rb
67
+ - lib/aws-sdk-notifications/resource.rb
68
+ - lib/aws-sdk-notifications/types.rb
69
+ - lib/aws-sdk-notifications/waiters.rb
70
+ - sig/client.rbs
71
+ - sig/errors.rbs
72
+ - sig/resource.rbs
73
+ - sig/types.rbs
74
+ - sig/waiters.rbs
75
+ homepage: https://github.com/aws/aws-sdk-ruby
76
+ licenses:
77
+ - Apache-2.0
78
+ metadata:
79
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-notifications
80
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-notifications/CHANGELOG.md
81
+ post_install_message:
82
+ rdoc_options: []
83
+ require_paths:
84
+ - lib
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '2.5'
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ requirements: []
96
+ rubygems_version: 3.4.10
97
+ signing_key:
98
+ specification_version: 4
99
+ summary: AWS SDK for Ruby - AWS User Notifications
100
+ test_files: []