aws-sdk-notifications 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-notifications/client.rb +1562 -0
- data/lib/aws-sdk-notifications/client_api.rb +861 -0
- data/lib/aws-sdk-notifications/customizations.rb +0 -0
- data/lib/aws-sdk-notifications/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-notifications/endpoint_provider.rb +35 -0
- data/lib/aws-sdk-notifications/endpoints.rb +20 -0
- data/lib/aws-sdk-notifications/errors.rb +217 -0
- data/lib/aws-sdk-notifications/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-notifications/resource.rb +26 -0
- data/lib/aws-sdk-notifications/types.rb +2075 -0
- data/lib/aws-sdk-notifications/waiters.rb +15 -0
- data/lib/aws-sdk-notifications.rb +62 -0
- data/sig/client.rbs +347 -0
- data/sig/errors.rbs +48 -0
- data/sig/resource.rbs +82 -0
- data/sig/types.rbs +467 -0
- data/sig/waiters.rbs +13 -0
- metadata +100 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
require 'aws-sdk-core/waiters'
|
11
|
+
|
12
|
+
module Aws::Notifications
|
13
|
+
module Waiters
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
require 'aws-sdk-core'
|
12
|
+
require 'aws-sigv4'
|
13
|
+
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:notifications)
|
15
|
+
|
16
|
+
# This module provides support for AWS User Notifications. This module is available in the
|
17
|
+
# `aws-sdk-notifications` gem.
|
18
|
+
#
|
19
|
+
# # Client
|
20
|
+
#
|
21
|
+
# The {Client} class provides one method for each API operation. Operation
|
22
|
+
# methods each accept a hash of request parameters and return a response
|
23
|
+
# structure.
|
24
|
+
#
|
25
|
+
# notifications = Aws::Notifications::Client.new
|
26
|
+
# resp = notifications.associate_channel(params)
|
27
|
+
#
|
28
|
+
# See {Client} for more information.
|
29
|
+
#
|
30
|
+
# # Errors
|
31
|
+
#
|
32
|
+
# Errors returned from AWS User Notifications are defined in the
|
33
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
34
|
+
#
|
35
|
+
# begin
|
36
|
+
# # do stuff
|
37
|
+
# rescue Aws::Notifications::Errors::ServiceError
|
38
|
+
# # rescues all AWS User Notifications API errors
|
39
|
+
# end
|
40
|
+
#
|
41
|
+
# See {Errors} for more information.
|
42
|
+
#
|
43
|
+
# @!group service
|
44
|
+
module Aws::Notifications
|
45
|
+
autoload :Types, 'aws-sdk-notifications/types'
|
46
|
+
autoload :ClientApi, 'aws-sdk-notifications/client_api'
|
47
|
+
module Plugins
|
48
|
+
autoload :Endpoints, 'aws-sdk-notifications/plugins/endpoints.rb'
|
49
|
+
end
|
50
|
+
autoload :Client, 'aws-sdk-notifications/client'
|
51
|
+
autoload :Errors, 'aws-sdk-notifications/errors'
|
52
|
+
autoload :Waiters, 'aws-sdk-notifications/waiters'
|
53
|
+
autoload :Resource, 'aws-sdk-notifications/resource'
|
54
|
+
autoload :EndpointParameters, 'aws-sdk-notifications/endpoint_parameters'
|
55
|
+
autoload :EndpointProvider, 'aws-sdk-notifications/endpoint_provider'
|
56
|
+
autoload :Endpoints, 'aws-sdk-notifications/endpoints'
|
57
|
+
|
58
|
+
GEM_VERSION = '1.0.0'
|
59
|
+
|
60
|
+
end
|
61
|
+
|
62
|
+
require_relative 'aws-sdk-notifications/customizations'
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,347 @@
|
|
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
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?account_id: String,
|
19
|
+
?active_endpoint_cache: bool,
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?client_side_monitoring: bool,
|
22
|
+
?client_side_monitoring_client_id: String,
|
23
|
+
?client_side_monitoring_host: String,
|
24
|
+
?client_side_monitoring_port: Integer,
|
25
|
+
?client_side_monitoring_publisher: untyped,
|
26
|
+
?convert_params: bool,
|
27
|
+
?correct_clock_skew: bool,
|
28
|
+
?defaults_mode: String,
|
29
|
+
?disable_host_prefix_injection: bool,
|
30
|
+
?disable_request_compression: bool,
|
31
|
+
?endpoint: String,
|
32
|
+
?endpoint_cache_max_entries: Integer,
|
33
|
+
?endpoint_cache_max_threads: Integer,
|
34
|
+
?endpoint_cache_poll_interval: Integer,
|
35
|
+
?endpoint_discovery: bool,
|
36
|
+
?ignore_configured_endpoint_urls: bool,
|
37
|
+
?log_formatter: untyped,
|
38
|
+
?log_level: Symbol,
|
39
|
+
?logger: untyped,
|
40
|
+
?max_attempts: Integer,
|
41
|
+
?profile: String,
|
42
|
+
?request_min_compression_size_bytes: Integer,
|
43
|
+
?retry_backoff: Proc,
|
44
|
+
?retry_base_delay: Float,
|
45
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
46
|
+
?retry_limit: Integer,
|
47
|
+
?retry_max_delay: Integer,
|
48
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
49
|
+
?sdk_ua_app_id: String,
|
50
|
+
?secret_access_key: String,
|
51
|
+
?session_token: String,
|
52
|
+
?sigv4a_signing_region_set: Array[String],
|
53
|
+
?stub_responses: untyped,
|
54
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
55
|
+
?token_provider: untyped,
|
56
|
+
?use_dualstack_endpoint: bool,
|
57
|
+
?use_fips_endpoint: bool,
|
58
|
+
?validate_params: bool,
|
59
|
+
?endpoint_provider: untyped,
|
60
|
+
?http_proxy: String,
|
61
|
+
?http_open_timeout: (Float | Integer),
|
62
|
+
?http_read_timeout: (Float | Integer),
|
63
|
+
?http_idle_timeout: (Float | Integer),
|
64
|
+
?http_continue_timeout: (Float | Integer),
|
65
|
+
?ssl_timeout: (Float | Integer | nil),
|
66
|
+
?http_wire_trace: bool,
|
67
|
+
?ssl_verify_peer: bool,
|
68
|
+
?ssl_ca_bundle: String,
|
69
|
+
?ssl_ca_directory: String,
|
70
|
+
?ssl_ca_store: String,
|
71
|
+
?on_chunk_received: Proc,
|
72
|
+
?on_chunk_sent: Proc,
|
73
|
+
?raise_response_errors: bool
|
74
|
+
) -> instance
|
75
|
+
| (?Hash[Symbol, untyped]) -> instance
|
76
|
+
|
77
|
+
|
78
|
+
interface _AssociateChannelResponseSuccess
|
79
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateChannelResponse]
|
80
|
+
end
|
81
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#associate_channel-instance_method
|
82
|
+
def associate_channel: (
|
83
|
+
arn: ::String,
|
84
|
+
notification_configuration_arn: ::String
|
85
|
+
) -> _AssociateChannelResponseSuccess
|
86
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateChannelResponseSuccess
|
87
|
+
|
88
|
+
interface _CreateEventRuleResponseSuccess
|
89
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateEventRuleResponse]
|
90
|
+
def arn: () -> ::String
|
91
|
+
def notification_configuration_arn: () -> ::String
|
92
|
+
def status_summary_by_region: () -> ::Hash[::String, Types::EventRuleStatusSummary]
|
93
|
+
end
|
94
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#create_event_rule-instance_method
|
95
|
+
def create_event_rule: (
|
96
|
+
notification_configuration_arn: ::String,
|
97
|
+
source: ::String,
|
98
|
+
event_type: ::String,
|
99
|
+
?event_pattern: ::String,
|
100
|
+
regions: Array[::String]
|
101
|
+
) -> _CreateEventRuleResponseSuccess
|
102
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEventRuleResponseSuccess
|
103
|
+
|
104
|
+
interface _CreateNotificationConfigurationResponseSuccess
|
105
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateNotificationConfigurationResponse]
|
106
|
+
def arn: () -> ::String
|
107
|
+
def status: () -> ("ACTIVE" | "PARTIALLY_ACTIVE" | "INACTIVE" | "DELETING")
|
108
|
+
end
|
109
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#create_notification_configuration-instance_method
|
110
|
+
def create_notification_configuration: (
|
111
|
+
name: ::String,
|
112
|
+
description: ::String,
|
113
|
+
?aggregation_duration: ("LONG" | "SHORT" | "NONE"),
|
114
|
+
?tags: Hash[::String, ::String]
|
115
|
+
) -> _CreateNotificationConfigurationResponseSuccess
|
116
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateNotificationConfigurationResponseSuccess
|
117
|
+
|
118
|
+
interface _DeleteEventRuleResponseSuccess
|
119
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEventRuleResponse]
|
120
|
+
end
|
121
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#delete_event_rule-instance_method
|
122
|
+
def delete_event_rule: (
|
123
|
+
arn: ::String
|
124
|
+
) -> _DeleteEventRuleResponseSuccess
|
125
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEventRuleResponseSuccess
|
126
|
+
|
127
|
+
interface _DeleteNotificationConfigurationResponseSuccess
|
128
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteNotificationConfigurationResponse]
|
129
|
+
end
|
130
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#delete_notification_configuration-instance_method
|
131
|
+
def delete_notification_configuration: (
|
132
|
+
arn: ::String
|
133
|
+
) -> _DeleteNotificationConfigurationResponseSuccess
|
134
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteNotificationConfigurationResponseSuccess
|
135
|
+
|
136
|
+
interface _DeregisterNotificationHubResponseSuccess
|
137
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterNotificationHubResponse]
|
138
|
+
def notification_hub_region: () -> ::String
|
139
|
+
def status_summary: () -> Types::NotificationHubStatusSummary
|
140
|
+
end
|
141
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#deregister_notification_hub-instance_method
|
142
|
+
def deregister_notification_hub: (
|
143
|
+
notification_hub_region: ::String
|
144
|
+
) -> _DeregisterNotificationHubResponseSuccess
|
145
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterNotificationHubResponseSuccess
|
146
|
+
|
147
|
+
interface _DisassociateChannelResponseSuccess
|
148
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateChannelResponse]
|
149
|
+
end
|
150
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#disassociate_channel-instance_method
|
151
|
+
def disassociate_channel: (
|
152
|
+
arn: ::String,
|
153
|
+
notification_configuration_arn: ::String
|
154
|
+
) -> _DisassociateChannelResponseSuccess
|
155
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateChannelResponseSuccess
|
156
|
+
|
157
|
+
interface _GetEventRuleResponseSuccess
|
158
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetEventRuleResponse]
|
159
|
+
def arn: () -> ::String
|
160
|
+
def notification_configuration_arn: () -> ::String
|
161
|
+
def creation_time: () -> ::Time
|
162
|
+
def source: () -> ::String
|
163
|
+
def event_type: () -> ::String
|
164
|
+
def event_pattern: () -> ::String
|
165
|
+
def regions: () -> ::Array[::String]
|
166
|
+
def managed_rules: () -> ::Array[::String]
|
167
|
+
def status_summary_by_region: () -> ::Hash[::String, Types::EventRuleStatusSummary]
|
168
|
+
end
|
169
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#get_event_rule-instance_method
|
170
|
+
def get_event_rule: (
|
171
|
+
arn: ::String
|
172
|
+
) -> _GetEventRuleResponseSuccess
|
173
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEventRuleResponseSuccess
|
174
|
+
|
175
|
+
interface _GetNotificationConfigurationResponseSuccess
|
176
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetNotificationConfigurationResponse]
|
177
|
+
def arn: () -> ::String
|
178
|
+
def name: () -> ::String
|
179
|
+
def description: () -> ::String
|
180
|
+
def status: () -> ("ACTIVE" | "PARTIALLY_ACTIVE" | "INACTIVE" | "DELETING")
|
181
|
+
def creation_time: () -> ::Time
|
182
|
+
def aggregation_duration: () -> ("LONG" | "SHORT" | "NONE")
|
183
|
+
end
|
184
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#get_notification_configuration-instance_method
|
185
|
+
def get_notification_configuration: (
|
186
|
+
arn: ::String
|
187
|
+
) -> _GetNotificationConfigurationResponseSuccess
|
188
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNotificationConfigurationResponseSuccess
|
189
|
+
|
190
|
+
interface _GetNotificationEventResponseSuccess
|
191
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetNotificationEventResponse]
|
192
|
+
def arn: () -> ::String
|
193
|
+
def notification_configuration_arn: () -> ::String
|
194
|
+
def creation_time: () -> ::Time
|
195
|
+
def content: () -> Types::NotificationEvent
|
196
|
+
end
|
197
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#get_notification_event-instance_method
|
198
|
+
def get_notification_event: (
|
199
|
+
arn: ::String,
|
200
|
+
?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")
|
201
|
+
) -> _GetNotificationEventResponseSuccess
|
202
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNotificationEventResponseSuccess
|
203
|
+
|
204
|
+
interface _ListChannelsResponseSuccess
|
205
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListChannelsResponse]
|
206
|
+
def next_token: () -> ::String
|
207
|
+
def channels: () -> ::Array[::String]
|
208
|
+
end
|
209
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#list_channels-instance_method
|
210
|
+
def list_channels: (
|
211
|
+
notification_configuration_arn: ::String,
|
212
|
+
?max_results: ::Integer,
|
213
|
+
?next_token: ::String
|
214
|
+
) -> _ListChannelsResponseSuccess
|
215
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChannelsResponseSuccess
|
216
|
+
|
217
|
+
interface _ListEventRulesResponseSuccess
|
218
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListEventRulesResponse]
|
219
|
+
def next_token: () -> ::String
|
220
|
+
def event_rules: () -> ::Array[Types::EventRuleStructure]
|
221
|
+
end
|
222
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#list_event_rules-instance_method
|
223
|
+
def list_event_rules: (
|
224
|
+
notification_configuration_arn: ::String,
|
225
|
+
?max_results: ::Integer,
|
226
|
+
?next_token: ::String
|
227
|
+
) -> _ListEventRulesResponseSuccess
|
228
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEventRulesResponseSuccess
|
229
|
+
|
230
|
+
interface _ListNotificationConfigurationsResponseSuccess
|
231
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListNotificationConfigurationsResponse]
|
232
|
+
def next_token: () -> ::String
|
233
|
+
def notification_configurations: () -> ::Array[Types::NotificationConfigurationStructure]
|
234
|
+
end
|
235
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#list_notification_configurations-instance_method
|
236
|
+
def list_notification_configurations: (
|
237
|
+
?event_rule_source: ::String,
|
238
|
+
?channel_arn: ::String,
|
239
|
+
?status: ("ACTIVE" | "PARTIALLY_ACTIVE" | "INACTIVE" | "DELETING"),
|
240
|
+
?max_results: ::Integer,
|
241
|
+
?next_token: ::String
|
242
|
+
) -> _ListNotificationConfigurationsResponseSuccess
|
243
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNotificationConfigurationsResponseSuccess
|
244
|
+
|
245
|
+
interface _ListNotificationEventsResponseSuccess
|
246
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListNotificationEventsResponse]
|
247
|
+
def next_token: () -> ::String
|
248
|
+
def notification_events: () -> ::Array[Types::NotificationEventOverview]
|
249
|
+
end
|
250
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#list_notification_events-instance_method
|
251
|
+
def list_notification_events: (
|
252
|
+
?start_time: ::Time,
|
253
|
+
?end_time: ::Time,
|
254
|
+
?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"),
|
255
|
+
?source: ::String,
|
256
|
+
?include_child_events: bool,
|
257
|
+
?aggregate_notification_event_arn: ::String,
|
258
|
+
?max_results: ::Integer,
|
259
|
+
?next_token: ::String
|
260
|
+
) -> _ListNotificationEventsResponseSuccess
|
261
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNotificationEventsResponseSuccess
|
262
|
+
|
263
|
+
interface _ListNotificationHubsResponseSuccess
|
264
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListNotificationHubsResponse]
|
265
|
+
def notification_hubs: () -> ::Array[Types::NotificationHubOverview]
|
266
|
+
def next_token: () -> ::String
|
267
|
+
end
|
268
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#list_notification_hubs-instance_method
|
269
|
+
def list_notification_hubs: (
|
270
|
+
?max_results: ::Integer,
|
271
|
+
?next_token: ::String
|
272
|
+
) -> _ListNotificationHubsResponseSuccess
|
273
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNotificationHubsResponseSuccess
|
274
|
+
|
275
|
+
interface _ListTagsForResourceResponseSuccess
|
276
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
277
|
+
def tags: () -> ::Hash[::String, ::String]
|
278
|
+
end
|
279
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#list_tags_for_resource-instance_method
|
280
|
+
def list_tags_for_resource: (
|
281
|
+
arn: ::String
|
282
|
+
) -> _ListTagsForResourceResponseSuccess
|
283
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
284
|
+
|
285
|
+
interface _RegisterNotificationHubResponseSuccess
|
286
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RegisterNotificationHubResponse]
|
287
|
+
def notification_hub_region: () -> ::String
|
288
|
+
def status_summary: () -> Types::NotificationHubStatusSummary
|
289
|
+
def creation_time: () -> ::Time
|
290
|
+
def last_activation_time: () -> ::Time
|
291
|
+
end
|
292
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#register_notification_hub-instance_method
|
293
|
+
def register_notification_hub: (
|
294
|
+
notification_hub_region: ::String
|
295
|
+
) -> _RegisterNotificationHubResponseSuccess
|
296
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterNotificationHubResponseSuccess
|
297
|
+
|
298
|
+
interface _TagResourceResponseSuccess
|
299
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
300
|
+
end
|
301
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#tag_resource-instance_method
|
302
|
+
def tag_resource: (
|
303
|
+
arn: ::String,
|
304
|
+
tags: Hash[::String, ::String]
|
305
|
+
) -> _TagResourceResponseSuccess
|
306
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
307
|
+
|
308
|
+
interface _UntagResourceResponseSuccess
|
309
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
310
|
+
end
|
311
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#untag_resource-instance_method
|
312
|
+
def untag_resource: (
|
313
|
+
arn: ::String,
|
314
|
+
tag_keys: Array[::String]
|
315
|
+
) -> _UntagResourceResponseSuccess
|
316
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
317
|
+
|
318
|
+
interface _UpdateEventRuleResponseSuccess
|
319
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEventRuleResponse]
|
320
|
+
def arn: () -> ::String
|
321
|
+
def notification_configuration_arn: () -> ::String
|
322
|
+
def status_summary_by_region: () -> ::Hash[::String, Types::EventRuleStatusSummary]
|
323
|
+
end
|
324
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#update_event_rule-instance_method
|
325
|
+
def update_event_rule: (
|
326
|
+
arn: ::String,
|
327
|
+
?event_pattern: ::String,
|
328
|
+
?regions: Array[::String]
|
329
|
+
) -> _UpdateEventRuleResponseSuccess
|
330
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEventRuleResponseSuccess
|
331
|
+
|
332
|
+
interface _UpdateNotificationConfigurationResponseSuccess
|
333
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateNotificationConfigurationResponse]
|
334
|
+
def arn: () -> ::String
|
335
|
+
end
|
336
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#update_notification_configuration-instance_method
|
337
|
+
def update_notification_configuration: (
|
338
|
+
arn: ::String,
|
339
|
+
?name: ::String,
|
340
|
+
?description: ::String,
|
341
|
+
?aggregation_duration: ("LONG" | "SHORT" | "NONE")
|
342
|
+
) -> _UpdateNotificationConfigurationResponseSuccess
|
343
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateNotificationConfigurationResponseSuccess
|
344
|
+
end
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,48 @@
|
|
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 Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
def resource_id: () -> ::String
|
20
|
+
end
|
21
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
22
|
+
def message: () -> ::String
|
23
|
+
end
|
24
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
25
|
+
def message: () -> ::String
|
26
|
+
def resource_id: () -> ::String
|
27
|
+
end
|
28
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
29
|
+
def message: () -> ::String
|
30
|
+
def resource_type: () -> ::String
|
31
|
+
def resource_id: () -> ::String
|
32
|
+
def service_code: () -> ::String
|
33
|
+
def quota_code: () -> ::String
|
34
|
+
end
|
35
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
36
|
+
def message: () -> ::String
|
37
|
+
def service_code: () -> ::String
|
38
|
+
def quota_code: () -> ::String
|
39
|
+
def retry_after_seconds: () -> ::String
|
40
|
+
end
|
41
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
42
|
+
def message: () -> ::String
|
43
|
+
def reason: () -> ::String
|
44
|
+
def field_list: () -> ::String
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,82 @@
|
|
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
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?account_id: String,
|
19
|
+
?active_endpoint_cache: bool,
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?client_side_monitoring: bool,
|
22
|
+
?client_side_monitoring_client_id: String,
|
23
|
+
?client_side_monitoring_host: String,
|
24
|
+
?client_side_monitoring_port: Integer,
|
25
|
+
?client_side_monitoring_publisher: untyped,
|
26
|
+
?convert_params: bool,
|
27
|
+
?correct_clock_skew: bool,
|
28
|
+
?defaults_mode: String,
|
29
|
+
?disable_host_prefix_injection: bool,
|
30
|
+
?disable_request_compression: bool,
|
31
|
+
?endpoint: String,
|
32
|
+
?endpoint_cache_max_entries: Integer,
|
33
|
+
?endpoint_cache_max_threads: Integer,
|
34
|
+
?endpoint_cache_poll_interval: Integer,
|
35
|
+
?endpoint_discovery: bool,
|
36
|
+
?ignore_configured_endpoint_urls: bool,
|
37
|
+
?log_formatter: untyped,
|
38
|
+
?log_level: Symbol,
|
39
|
+
?logger: untyped,
|
40
|
+
?max_attempts: Integer,
|
41
|
+
?profile: String,
|
42
|
+
?request_min_compression_size_bytes: Integer,
|
43
|
+
?retry_backoff: Proc,
|
44
|
+
?retry_base_delay: Float,
|
45
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
46
|
+
?retry_limit: Integer,
|
47
|
+
?retry_max_delay: Integer,
|
48
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
49
|
+
?sdk_ua_app_id: String,
|
50
|
+
?secret_access_key: String,
|
51
|
+
?session_token: String,
|
52
|
+
?sigv4a_signing_region_set: Array[String],
|
53
|
+
?stub_responses: untyped,
|
54
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
55
|
+
?token_provider: untyped,
|
56
|
+
?use_dualstack_endpoint: bool,
|
57
|
+
?use_fips_endpoint: bool,
|
58
|
+
?validate_params: bool,
|
59
|
+
?endpoint_provider: untyped,
|
60
|
+
?http_proxy: String,
|
61
|
+
?http_open_timeout: (Float | Integer),
|
62
|
+
?http_read_timeout: (Float | Integer),
|
63
|
+
?http_idle_timeout: (Float | Integer),
|
64
|
+
?http_continue_timeout: (Float | Integer),
|
65
|
+
?ssl_timeout: (Float | Integer | nil),
|
66
|
+
?http_wire_trace: bool,
|
67
|
+
?ssl_verify_peer: bool,
|
68
|
+
?ssl_ca_bundle: String,
|
69
|
+
?ssl_ca_directory: String,
|
70
|
+
?ssl_ca_store: String,
|
71
|
+
?on_chunk_received: Proc,
|
72
|
+
?on_chunk_sent: Proc,
|
73
|
+
?raise_response_errors: bool
|
74
|
+
) -> void
|
75
|
+
| (?Hash[Symbol, untyped]) -> void
|
76
|
+
|
77
|
+
def client: () -> Client
|
78
|
+
|
79
|
+
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|