aws-sdk-networkmonitor 1.0.0 → 1.1.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-networkmonitor/client.rb +1 -1
- data/lib/aws-sdk-networkmonitor/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-networkmonitor.rb +1 -1
- data/sig/client.rbs +281 -0
- data/sig/errors.rbs +37 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +276 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ba76cc2e4d71078189adc5974a3ef96e57a5be6b368f0b756e29774cba863d56
|
|
4
|
+
data.tar.gz: 4198def4e6533c33d0f77231612dc60888881c7fab0fce3208305df0e930a6b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1f6a7183eb6f2d3a8fb3f624cdcbf9e56ec7e6cb80e783afb02277b9d4f0f14bf81b05ead35066768db3c32f716cf148d11702a374f321fad450372eaa20f6b0
|
|
7
|
+
data.tar.gz: 75ce86b97ad2e37fa2e8bc835da6edb92198e8df0bb5a703511d3aa7336eb4a9ce5ab79b589813c74e3d259ed58507318a6e2f06a8f46d65d3d2774c98051926
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.1.0
|
|
@@ -991,7 +991,7 @@ module Aws::NetworkMonitor
|
|
|
991
991
|
params: params,
|
|
992
992
|
config: config)
|
|
993
993
|
context[:gem_name] = 'aws-sdk-networkmonitor'
|
|
994
|
-
context[:gem_version] = '1.
|
|
994
|
+
context[:gem_version] = '1.1.0'
|
|
995
995
|
Seahorse::Client::Request.new(handlers, context)
|
|
996
996
|
end
|
|
997
997
|
|
|
@@ -14,6 +14,7 @@ module Aws::NetworkMonitor
|
|
|
14
14
|
option(
|
|
15
15
|
:endpoint_provider,
|
|
16
16
|
doc_type: 'Aws::NetworkMonitor::EndpointProvider',
|
|
17
|
+
rbs_type: 'untyped',
|
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
|
19
20
|
'where `parameters` is a Struct similar to '\
|
data/sig/client.rbs
ADDED
|
@@ -0,0 +1,281 @@
|
|
|
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 NetworkMonitor
|
|
10
|
+
class Client < ::Seahorse::Client::Base
|
|
11
|
+
include ::Aws::ClientStubs
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#initialize-instance_method
|
|
14
|
+
def self.new: (
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?active_endpoint_cache: bool,
|
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
20
|
+
?client_side_monitoring: bool,
|
|
21
|
+
?client_side_monitoring_client_id: String,
|
|
22
|
+
?client_side_monitoring_host: String,
|
|
23
|
+
?client_side_monitoring_port: Integer,
|
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
|
25
|
+
?convert_params: bool,
|
|
26
|
+
?correct_clock_skew: bool,
|
|
27
|
+
?defaults_mode: String,
|
|
28
|
+
?disable_host_prefix_injection: bool,
|
|
29
|
+
?disable_request_compression: bool,
|
|
30
|
+
?endpoint: String,
|
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
|
34
|
+
?endpoint_discovery: bool,
|
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
|
36
|
+
?log_formatter: untyped,
|
|
37
|
+
?log_level: Symbol,
|
|
38
|
+
?logger: untyped,
|
|
39
|
+
?max_attempts: Integer,
|
|
40
|
+
?profile: String,
|
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
|
42
|
+
?retry_backoff: Proc,
|
|
43
|
+
?retry_base_delay: Float,
|
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
45
|
+
?retry_limit: Integer,
|
|
46
|
+
?retry_max_delay: Integer,
|
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
48
|
+
?sdk_ua_app_id: String,
|
|
49
|
+
?secret_access_key: String,
|
|
50
|
+
?session_token: String,
|
|
51
|
+
?stub_responses: untyped,
|
|
52
|
+
?token_provider: untyped,
|
|
53
|
+
?use_dualstack_endpoint: bool,
|
|
54
|
+
?use_fips_endpoint: bool,
|
|
55
|
+
?validate_params: bool,
|
|
56
|
+
?endpoint_provider: untyped,
|
|
57
|
+
?http_proxy: String,
|
|
58
|
+
?http_open_timeout: (Float | Integer),
|
|
59
|
+
?http_read_timeout: (Float | Integer),
|
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
63
|
+
?http_wire_trace: bool,
|
|
64
|
+
?ssl_verify_peer: bool,
|
|
65
|
+
?ssl_ca_bundle: String,
|
|
66
|
+
?ssl_ca_directory: String,
|
|
67
|
+
?ssl_ca_store: String,
|
|
68
|
+
?on_chunk_received: Proc,
|
|
69
|
+
?on_chunk_sent: Proc,
|
|
70
|
+
?raise_response_errors: bool
|
|
71
|
+
) -> instance
|
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
interface _CreateMonitorResponseSuccess
|
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMonitorOutput]
|
|
77
|
+
def monitor_arn: () -> ::String
|
|
78
|
+
def monitor_name: () -> ::String
|
|
79
|
+
def state: () -> ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING")
|
|
80
|
+
def aggregation_period: () -> ::Integer
|
|
81
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
82
|
+
end
|
|
83
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#create_monitor-instance_method
|
|
84
|
+
def create_monitor: (
|
|
85
|
+
monitor_name: ::String,
|
|
86
|
+
?probes: Array[
|
|
87
|
+
{
|
|
88
|
+
source_arn: ::String,
|
|
89
|
+
destination: ::String,
|
|
90
|
+
destination_port: ::Integer?,
|
|
91
|
+
protocol: ("TCP" | "ICMP"),
|
|
92
|
+
packet_size: ::Integer?,
|
|
93
|
+
probe_tags: Hash[::String, ::String]?
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
?aggregation_period: ::Integer,
|
|
97
|
+
?client_token: ::String,
|
|
98
|
+
?tags: Hash[::String, ::String]
|
|
99
|
+
) -> _CreateMonitorResponseSuccess
|
|
100
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMonitorResponseSuccess
|
|
101
|
+
|
|
102
|
+
interface _CreateProbeResponseSuccess
|
|
103
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateProbeOutput]
|
|
104
|
+
def probe_id: () -> ::String
|
|
105
|
+
def probe_arn: () -> ::String
|
|
106
|
+
def source_arn: () -> ::String
|
|
107
|
+
def destination: () -> ::String
|
|
108
|
+
def destination_port: () -> ::Integer
|
|
109
|
+
def protocol: () -> ("TCP" | "ICMP")
|
|
110
|
+
def packet_size: () -> ::Integer
|
|
111
|
+
def address_family: () -> ("IPV4" | "IPV6")
|
|
112
|
+
def vpc_id: () -> ::String
|
|
113
|
+
def state: () -> ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED")
|
|
114
|
+
def created_at: () -> ::Time
|
|
115
|
+
def modified_at: () -> ::Time
|
|
116
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
117
|
+
end
|
|
118
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#create_probe-instance_method
|
|
119
|
+
def create_probe: (
|
|
120
|
+
monitor_name: ::String,
|
|
121
|
+
probe: {
|
|
122
|
+
source_arn: ::String,
|
|
123
|
+
destination: ::String,
|
|
124
|
+
destination_port: ::Integer?,
|
|
125
|
+
protocol: ("TCP" | "ICMP"),
|
|
126
|
+
packet_size: ::Integer?,
|
|
127
|
+
tags: Hash[::String, ::String]?
|
|
128
|
+
},
|
|
129
|
+
?client_token: ::String,
|
|
130
|
+
?tags: Hash[::String, ::String]
|
|
131
|
+
) -> _CreateProbeResponseSuccess
|
|
132
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProbeResponseSuccess
|
|
133
|
+
|
|
134
|
+
interface _DeleteMonitorResponseSuccess
|
|
135
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMonitorOutput]
|
|
136
|
+
end
|
|
137
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#delete_monitor-instance_method
|
|
138
|
+
def delete_monitor: (
|
|
139
|
+
monitor_name: ::String
|
|
140
|
+
) -> _DeleteMonitorResponseSuccess
|
|
141
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMonitorResponseSuccess
|
|
142
|
+
|
|
143
|
+
interface _DeleteProbeResponseSuccess
|
|
144
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteProbeOutput]
|
|
145
|
+
end
|
|
146
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#delete_probe-instance_method
|
|
147
|
+
def delete_probe: (
|
|
148
|
+
monitor_name: ::String,
|
|
149
|
+
probe_id: ::String
|
|
150
|
+
) -> _DeleteProbeResponseSuccess
|
|
151
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProbeResponseSuccess
|
|
152
|
+
|
|
153
|
+
interface _GetMonitorResponseSuccess
|
|
154
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMonitorOutput]
|
|
155
|
+
def monitor_arn: () -> ::String
|
|
156
|
+
def monitor_name: () -> ::String
|
|
157
|
+
def state: () -> ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING")
|
|
158
|
+
def aggregation_period: () -> ::Integer
|
|
159
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
160
|
+
def probes: () -> ::Array[Types::Probe]
|
|
161
|
+
def created_at: () -> ::Time
|
|
162
|
+
def modified_at: () -> ::Time
|
|
163
|
+
end
|
|
164
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#get_monitor-instance_method
|
|
165
|
+
def get_monitor: (
|
|
166
|
+
monitor_name: ::String
|
|
167
|
+
) -> _GetMonitorResponseSuccess
|
|
168
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMonitorResponseSuccess
|
|
169
|
+
|
|
170
|
+
interface _GetProbeResponseSuccess
|
|
171
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetProbeOutput]
|
|
172
|
+
def probe_id: () -> ::String
|
|
173
|
+
def probe_arn: () -> ::String
|
|
174
|
+
def source_arn: () -> ::String
|
|
175
|
+
def destination: () -> ::String
|
|
176
|
+
def destination_port: () -> ::Integer
|
|
177
|
+
def protocol: () -> ("TCP" | "ICMP")
|
|
178
|
+
def packet_size: () -> ::Integer
|
|
179
|
+
def address_family: () -> ("IPV4" | "IPV6")
|
|
180
|
+
def vpc_id: () -> ::String
|
|
181
|
+
def state: () -> ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED")
|
|
182
|
+
def created_at: () -> ::Time
|
|
183
|
+
def modified_at: () -> ::Time
|
|
184
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
185
|
+
end
|
|
186
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#get_probe-instance_method
|
|
187
|
+
def get_probe: (
|
|
188
|
+
monitor_name: ::String,
|
|
189
|
+
probe_id: ::String
|
|
190
|
+
) -> _GetProbeResponseSuccess
|
|
191
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProbeResponseSuccess
|
|
192
|
+
|
|
193
|
+
interface _ListMonitorsResponseSuccess
|
|
194
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMonitorsOutput]
|
|
195
|
+
def monitors: () -> ::Array[Types::MonitorSummary]
|
|
196
|
+
def next_token: () -> ::String
|
|
197
|
+
end
|
|
198
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#list_monitors-instance_method
|
|
199
|
+
def list_monitors: (
|
|
200
|
+
?next_token: ::String,
|
|
201
|
+
?max_results: ::Integer,
|
|
202
|
+
?state: ::String
|
|
203
|
+
) -> _ListMonitorsResponseSuccess
|
|
204
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMonitorsResponseSuccess
|
|
205
|
+
|
|
206
|
+
interface _ListTagsForResourceResponseSuccess
|
|
207
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
|
|
208
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
209
|
+
end
|
|
210
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#list_tags_for_resource-instance_method
|
|
211
|
+
def list_tags_for_resource: (
|
|
212
|
+
resource_arn: ::String
|
|
213
|
+
) -> _ListTagsForResourceResponseSuccess
|
|
214
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
|
215
|
+
|
|
216
|
+
interface _TagResourceResponseSuccess
|
|
217
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
|
|
218
|
+
end
|
|
219
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#tag_resource-instance_method
|
|
220
|
+
def tag_resource: (
|
|
221
|
+
resource_arn: ::String,
|
|
222
|
+
tags: Hash[::String, ::String]
|
|
223
|
+
) -> _TagResourceResponseSuccess
|
|
224
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
|
225
|
+
|
|
226
|
+
interface _UntagResourceResponseSuccess
|
|
227
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
|
|
228
|
+
end
|
|
229
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#untag_resource-instance_method
|
|
230
|
+
def untag_resource: (
|
|
231
|
+
resource_arn: ::String,
|
|
232
|
+
tag_keys: Array[::String]
|
|
233
|
+
) -> _UntagResourceResponseSuccess
|
|
234
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
|
235
|
+
|
|
236
|
+
interface _UpdateMonitorResponseSuccess
|
|
237
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMonitorOutput]
|
|
238
|
+
def monitor_arn: () -> ::String
|
|
239
|
+
def monitor_name: () -> ::String
|
|
240
|
+
def state: () -> ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING")
|
|
241
|
+
def aggregation_period: () -> ::Integer
|
|
242
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
243
|
+
end
|
|
244
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#update_monitor-instance_method
|
|
245
|
+
def update_monitor: (
|
|
246
|
+
monitor_name: ::String,
|
|
247
|
+
aggregation_period: ::Integer
|
|
248
|
+
) -> _UpdateMonitorResponseSuccess
|
|
249
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMonitorResponseSuccess
|
|
250
|
+
|
|
251
|
+
interface _UpdateProbeResponseSuccess
|
|
252
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProbeOutput]
|
|
253
|
+
def probe_id: () -> ::String
|
|
254
|
+
def probe_arn: () -> ::String
|
|
255
|
+
def source_arn: () -> ::String
|
|
256
|
+
def destination: () -> ::String
|
|
257
|
+
def destination_port: () -> ::Integer
|
|
258
|
+
def protocol: () -> ("TCP" | "ICMP")
|
|
259
|
+
def packet_size: () -> ::Integer
|
|
260
|
+
def address_family: () -> ("IPV4" | "IPV6")
|
|
261
|
+
def vpc_id: () -> ::String
|
|
262
|
+
def state: () -> ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED")
|
|
263
|
+
def created_at: () -> ::Time
|
|
264
|
+
def modified_at: () -> ::Time
|
|
265
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
266
|
+
end
|
|
267
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#update_probe-instance_method
|
|
268
|
+
def update_probe: (
|
|
269
|
+
monitor_name: ::String,
|
|
270
|
+
probe_id: ::String,
|
|
271
|
+
?state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED"),
|
|
272
|
+
?destination: ::String,
|
|
273
|
+
?destination_port: ::Integer,
|
|
274
|
+
?protocol: ("TCP" | "ICMP"),
|
|
275
|
+
?packet_size: ::Integer
|
|
276
|
+
) -> _UpdateProbeResponseSuccess
|
|
277
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProbeResponseSuccess
|
|
278
|
+
end
|
|
279
|
+
end
|
|
280
|
+
end
|
|
281
|
+
|
data/sig/errors.rbs
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
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 NetworkMonitor
|
|
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
|
+
end
|
|
20
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
|
21
|
+
def message: () -> ::String
|
|
22
|
+
end
|
|
23
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
|
24
|
+
def message: () -> ::String
|
|
25
|
+
end
|
|
26
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
|
27
|
+
def message: () -> ::String
|
|
28
|
+
end
|
|
29
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
|
30
|
+
def message: () -> ::String
|
|
31
|
+
end
|
|
32
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
|
33
|
+
def message: () -> ::String
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
data/sig/resource.rbs
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
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 NetworkMonitor
|
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Resource.html
|
|
11
|
+
class Resource
|
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Resource.html#initialize-instance_method
|
|
13
|
+
def initialize: (
|
|
14
|
+
?client: Client,
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?active_endpoint_cache: bool,
|
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
20
|
+
?client_side_monitoring: bool,
|
|
21
|
+
?client_side_monitoring_client_id: String,
|
|
22
|
+
?client_side_monitoring_host: String,
|
|
23
|
+
?client_side_monitoring_port: Integer,
|
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
|
25
|
+
?convert_params: bool,
|
|
26
|
+
?correct_clock_skew: bool,
|
|
27
|
+
?defaults_mode: String,
|
|
28
|
+
?disable_host_prefix_injection: bool,
|
|
29
|
+
?disable_request_compression: bool,
|
|
30
|
+
?endpoint: String,
|
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
|
34
|
+
?endpoint_discovery: bool,
|
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
|
36
|
+
?log_formatter: untyped,
|
|
37
|
+
?log_level: Symbol,
|
|
38
|
+
?logger: untyped,
|
|
39
|
+
?max_attempts: Integer,
|
|
40
|
+
?profile: String,
|
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
|
42
|
+
?retry_backoff: Proc,
|
|
43
|
+
?retry_base_delay: Float,
|
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
45
|
+
?retry_limit: Integer,
|
|
46
|
+
?retry_max_delay: Integer,
|
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
48
|
+
?sdk_ua_app_id: String,
|
|
49
|
+
?secret_access_key: String,
|
|
50
|
+
?session_token: String,
|
|
51
|
+
?stub_responses: untyped,
|
|
52
|
+
?token_provider: untyped,
|
|
53
|
+
?use_dualstack_endpoint: bool,
|
|
54
|
+
?use_fips_endpoint: bool,
|
|
55
|
+
?validate_params: bool,
|
|
56
|
+
?endpoint_provider: untyped,
|
|
57
|
+
?http_proxy: String,
|
|
58
|
+
?http_open_timeout: (Float | Integer),
|
|
59
|
+
?http_read_timeout: (Float | Integer),
|
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
63
|
+
?http_wire_trace: bool,
|
|
64
|
+
?ssl_verify_peer: bool,
|
|
65
|
+
?ssl_ca_bundle: String,
|
|
66
|
+
?ssl_ca_directory: String,
|
|
67
|
+
?ssl_ca_store: String,
|
|
68
|
+
?on_chunk_received: Proc,
|
|
69
|
+
?on_chunk_sent: Proc,
|
|
70
|
+
?raise_response_errors: bool
|
|
71
|
+
) -> void
|
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
|
73
|
+
|
|
74
|
+
def client: () -> Client
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
data/sig/types.rbs
ADDED
|
@@ -0,0 +1,276 @@
|
|
|
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::NetworkMonitor
|
|
9
|
+
module Types
|
|
10
|
+
|
|
11
|
+
class AccessDeniedException
|
|
12
|
+
attr_accessor message: ::String
|
|
13
|
+
SENSITIVE: []
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
class ConflictException
|
|
17
|
+
attr_accessor message: ::String
|
|
18
|
+
SENSITIVE: []
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
class CreateMonitorInput
|
|
22
|
+
attr_accessor monitor_name: ::String
|
|
23
|
+
attr_accessor probes: ::Array[Types::CreateMonitorProbeInput]
|
|
24
|
+
attr_accessor aggregation_period: ::Integer
|
|
25
|
+
attr_accessor client_token: ::String
|
|
26
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
27
|
+
SENSITIVE: []
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
class CreateMonitorOutput
|
|
31
|
+
attr_accessor monitor_arn: ::String
|
|
32
|
+
attr_accessor monitor_name: ::String
|
|
33
|
+
attr_accessor state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING")
|
|
34
|
+
attr_accessor aggregation_period: ::Integer
|
|
35
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
36
|
+
SENSITIVE: []
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
class CreateMonitorProbeInput
|
|
40
|
+
attr_accessor source_arn: ::String
|
|
41
|
+
attr_accessor destination: ::String
|
|
42
|
+
attr_accessor destination_port: ::Integer
|
|
43
|
+
attr_accessor protocol: ("TCP" | "ICMP")
|
|
44
|
+
attr_accessor packet_size: ::Integer
|
|
45
|
+
attr_accessor probe_tags: ::Hash[::String, ::String]
|
|
46
|
+
SENSITIVE: []
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
class CreateProbeInput
|
|
50
|
+
attr_accessor monitor_name: ::String
|
|
51
|
+
attr_accessor probe: Types::ProbeInput
|
|
52
|
+
attr_accessor client_token: ::String
|
|
53
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
54
|
+
SENSITIVE: []
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
class CreateProbeOutput
|
|
58
|
+
attr_accessor probe_id: ::String
|
|
59
|
+
attr_accessor probe_arn: ::String
|
|
60
|
+
attr_accessor source_arn: ::String
|
|
61
|
+
attr_accessor destination: ::String
|
|
62
|
+
attr_accessor destination_port: ::Integer
|
|
63
|
+
attr_accessor protocol: ("TCP" | "ICMP")
|
|
64
|
+
attr_accessor packet_size: ::Integer
|
|
65
|
+
attr_accessor address_family: ("IPV4" | "IPV6")
|
|
66
|
+
attr_accessor vpc_id: ::String
|
|
67
|
+
attr_accessor state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED")
|
|
68
|
+
attr_accessor created_at: ::Time
|
|
69
|
+
attr_accessor modified_at: ::Time
|
|
70
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
71
|
+
SENSITIVE: []
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
class DeleteMonitorInput
|
|
75
|
+
attr_accessor monitor_name: ::String
|
|
76
|
+
SENSITIVE: []
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
class DeleteMonitorOutput < Aws::EmptyStructure
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
class DeleteProbeInput
|
|
83
|
+
attr_accessor monitor_name: ::String
|
|
84
|
+
attr_accessor probe_id: ::String
|
|
85
|
+
SENSITIVE: []
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
class DeleteProbeOutput < Aws::EmptyStructure
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class GetMonitorInput
|
|
92
|
+
attr_accessor monitor_name: ::String
|
|
93
|
+
SENSITIVE: []
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
class GetMonitorOutput
|
|
97
|
+
attr_accessor monitor_arn: ::String
|
|
98
|
+
attr_accessor monitor_name: ::String
|
|
99
|
+
attr_accessor state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING")
|
|
100
|
+
attr_accessor aggregation_period: ::Integer
|
|
101
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
102
|
+
attr_accessor probes: ::Array[Types::Probe]
|
|
103
|
+
attr_accessor created_at: ::Time
|
|
104
|
+
attr_accessor modified_at: ::Time
|
|
105
|
+
SENSITIVE: []
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
class GetProbeInput
|
|
109
|
+
attr_accessor monitor_name: ::String
|
|
110
|
+
attr_accessor probe_id: ::String
|
|
111
|
+
SENSITIVE: []
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
class GetProbeOutput
|
|
115
|
+
attr_accessor probe_id: ::String
|
|
116
|
+
attr_accessor probe_arn: ::String
|
|
117
|
+
attr_accessor source_arn: ::String
|
|
118
|
+
attr_accessor destination: ::String
|
|
119
|
+
attr_accessor destination_port: ::Integer
|
|
120
|
+
attr_accessor protocol: ("TCP" | "ICMP")
|
|
121
|
+
attr_accessor packet_size: ::Integer
|
|
122
|
+
attr_accessor address_family: ("IPV4" | "IPV6")
|
|
123
|
+
attr_accessor vpc_id: ::String
|
|
124
|
+
attr_accessor state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED")
|
|
125
|
+
attr_accessor created_at: ::Time
|
|
126
|
+
attr_accessor modified_at: ::Time
|
|
127
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
128
|
+
SENSITIVE: []
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
class InternalServerException
|
|
132
|
+
attr_accessor message: ::String
|
|
133
|
+
SENSITIVE: []
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
class ListMonitorsInput
|
|
137
|
+
attr_accessor next_token: ::String
|
|
138
|
+
attr_accessor max_results: ::Integer
|
|
139
|
+
attr_accessor state: ::String
|
|
140
|
+
SENSITIVE: []
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
class ListMonitorsOutput
|
|
144
|
+
attr_accessor monitors: ::Array[Types::MonitorSummary]
|
|
145
|
+
attr_accessor next_token: ::String
|
|
146
|
+
SENSITIVE: []
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
class ListTagsForResourceInput
|
|
150
|
+
attr_accessor resource_arn: ::String
|
|
151
|
+
SENSITIVE: []
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
class ListTagsForResourceOutput
|
|
155
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
156
|
+
SENSITIVE: []
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
class MonitorSummary
|
|
160
|
+
attr_accessor monitor_arn: ::String
|
|
161
|
+
attr_accessor monitor_name: ::String
|
|
162
|
+
attr_accessor state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING")
|
|
163
|
+
attr_accessor aggregation_period: ::Integer
|
|
164
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
165
|
+
SENSITIVE: []
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
class Probe
|
|
169
|
+
attr_accessor probe_id: ::String
|
|
170
|
+
attr_accessor probe_arn: ::String
|
|
171
|
+
attr_accessor source_arn: ::String
|
|
172
|
+
attr_accessor destination: ::String
|
|
173
|
+
attr_accessor destination_port: ::Integer
|
|
174
|
+
attr_accessor protocol: ("TCP" | "ICMP")
|
|
175
|
+
attr_accessor packet_size: ::Integer
|
|
176
|
+
attr_accessor address_family: ("IPV4" | "IPV6")
|
|
177
|
+
attr_accessor vpc_id: ::String
|
|
178
|
+
attr_accessor state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED")
|
|
179
|
+
attr_accessor created_at: ::Time
|
|
180
|
+
attr_accessor modified_at: ::Time
|
|
181
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
182
|
+
SENSITIVE: []
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
class ProbeInput
|
|
186
|
+
attr_accessor source_arn: ::String
|
|
187
|
+
attr_accessor destination: ::String
|
|
188
|
+
attr_accessor destination_port: ::Integer
|
|
189
|
+
attr_accessor protocol: ("TCP" | "ICMP")
|
|
190
|
+
attr_accessor packet_size: ::Integer
|
|
191
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
192
|
+
SENSITIVE: []
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
class ResourceNotFoundException
|
|
196
|
+
attr_accessor message: ::String
|
|
197
|
+
SENSITIVE: []
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
class ServiceQuotaExceededException
|
|
201
|
+
attr_accessor message: ::String
|
|
202
|
+
SENSITIVE: []
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
class TagResourceInput
|
|
206
|
+
attr_accessor resource_arn: ::String
|
|
207
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
208
|
+
SENSITIVE: []
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
class TagResourceOutput < Aws::EmptyStructure
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
class ThrottlingException
|
|
215
|
+
attr_accessor message: ::String
|
|
216
|
+
SENSITIVE: []
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
class UntagResourceInput
|
|
220
|
+
attr_accessor resource_arn: ::String
|
|
221
|
+
attr_accessor tag_keys: ::Array[::String]
|
|
222
|
+
SENSITIVE: []
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
class UntagResourceOutput < Aws::EmptyStructure
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
class UpdateMonitorInput
|
|
229
|
+
attr_accessor monitor_name: ::String
|
|
230
|
+
attr_accessor aggregation_period: ::Integer
|
|
231
|
+
SENSITIVE: []
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
class UpdateMonitorOutput
|
|
235
|
+
attr_accessor monitor_arn: ::String
|
|
236
|
+
attr_accessor monitor_name: ::String
|
|
237
|
+
attr_accessor state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING")
|
|
238
|
+
attr_accessor aggregation_period: ::Integer
|
|
239
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
240
|
+
SENSITIVE: []
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
class UpdateProbeInput
|
|
244
|
+
attr_accessor monitor_name: ::String
|
|
245
|
+
attr_accessor probe_id: ::String
|
|
246
|
+
attr_accessor state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED")
|
|
247
|
+
attr_accessor destination: ::String
|
|
248
|
+
attr_accessor destination_port: ::Integer
|
|
249
|
+
attr_accessor protocol: ("TCP" | "ICMP")
|
|
250
|
+
attr_accessor packet_size: ::Integer
|
|
251
|
+
SENSITIVE: []
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
class UpdateProbeOutput
|
|
255
|
+
attr_accessor probe_id: ::String
|
|
256
|
+
attr_accessor probe_arn: ::String
|
|
257
|
+
attr_accessor source_arn: ::String
|
|
258
|
+
attr_accessor destination: ::String
|
|
259
|
+
attr_accessor destination_port: ::Integer
|
|
260
|
+
attr_accessor protocol: ("TCP" | "ICMP")
|
|
261
|
+
attr_accessor packet_size: ::Integer
|
|
262
|
+
attr_accessor address_family: ("IPV4" | "IPV6")
|
|
263
|
+
attr_accessor vpc_id: ::String
|
|
264
|
+
attr_accessor state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED")
|
|
265
|
+
attr_accessor created_at: ::Time
|
|
266
|
+
attr_accessor modified_at: ::Time
|
|
267
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
268
|
+
SENSITIVE: []
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
class ValidationException
|
|
272
|
+
attr_accessor message: ::String
|
|
273
|
+
SENSITIVE: []
|
|
274
|
+
end
|
|
275
|
+
end
|
|
276
|
+
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 NetworkMonitor
|
|
10
|
+
module Waiters
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-networkmonitor
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-01-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '3'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 3.
|
|
22
|
+
version: 3.191.0
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: '3'
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 3.
|
|
32
|
+
version: 3.191.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -67,13 +67,18 @@ files:
|
|
|
67
67
|
- lib/aws-sdk-networkmonitor/resource.rb
|
|
68
68
|
- lib/aws-sdk-networkmonitor/types.rb
|
|
69
69
|
- lib/aws-sdk-networkmonitor/waiters.rb
|
|
70
|
+
- sig/client.rbs
|
|
71
|
+
- sig/errors.rbs
|
|
72
|
+
- sig/resource.rbs
|
|
73
|
+
- sig/types.rbs
|
|
74
|
+
- sig/waiters.rbs
|
|
70
75
|
homepage: https://github.com/aws/aws-sdk-ruby
|
|
71
76
|
licenses:
|
|
72
77
|
- Apache-2.0
|
|
73
78
|
metadata:
|
|
74
79
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-networkmonitor
|
|
75
80
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-networkmonitor/CHANGELOG.md
|
|
76
|
-
post_install_message:
|
|
81
|
+
post_install_message:
|
|
77
82
|
rdoc_options: []
|
|
78
83
|
require_paths:
|
|
79
84
|
- lib
|
|
@@ -88,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
88
93
|
- !ruby/object:Gem::Version
|
|
89
94
|
version: '0'
|
|
90
95
|
requirements: []
|
|
91
|
-
rubygems_version: 3.
|
|
92
|
-
signing_key:
|
|
96
|
+
rubygems_version: 3.4.10
|
|
97
|
+
signing_key:
|
|
93
98
|
specification_version: 4
|
|
94
99
|
summary: AWS SDK for Ruby - Amazon CloudWatch Network Monitor
|
|
95
100
|
test_files: []
|