aws-sdk-mq 1.58.0 → 1.59.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0820b6c18f6810a601494df8b111cf55d588d023bafccd53a510ec021a032bff'
4
- data.tar.gz: 438d40bf1fce324a9c7b5d88588049670181b5a323bfef2daf0aaa55846768a5
3
+ metadata.gz: 6f95901ee0090165a8701436e14657e244ced65654a6011553b185a10debc056
4
+ data.tar.gz: 04c04f832e9fcd90dbff2298c2da364d4082a566f60dd33ccd02c87c380afea7
5
5
  SHA512:
6
- metadata.gz: a55feb7803eb677d8453d6b8636d86994d90bd4bce15dd53f8399eb3d766b7cd9e60b77a7e20b2f9d2b86ae8628f5a1d15c31eabfde3c20d0edba8674277464e
7
- data.tar.gz: 795fa7a19eedf8f3d0d19cf8d89c8f984e2880c9d553d8f21af358bf54dd2b2fc03cfaecc4ebd3c4079d26f731b7988689db807ea2089f76419b2d62adc47954
6
+ metadata.gz: 166aa4910ae0365c76a456319a9166cda0eb6f9d9f417d3c52a1779fa57c2a278842a8cf9d56365f3577708ec10ba28a24567f96fe64d7d5c7b0034df1139c20
7
+ data.tar.gz: 24d373f9b09ab9875869c92742ac6507434accd2204aee47667cb14da46193d88923559d9820a0acbcd1f468c904d06ca72f9c611e1dbc04995c823e6a2299f3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.59.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.58.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.58.0
1
+ 1.59.0
@@ -1622,7 +1622,7 @@ module Aws::MQ
1622
1622
  params: params,
1623
1623
  config: config)
1624
1624
  context[:gem_name] = 'aws-sdk-mq'
1625
- context[:gem_version] = '1.58.0'
1625
+ context[:gem_version] = '1.59.0'
1626
1626
  Seahorse::Client::Request.new(handlers, context)
1627
1627
  end
1628
1628
 
@@ -14,6 +14,7 @@ module Aws::MQ
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::MQ::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/lib/aws-sdk-mq.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-mq/customizations'
52
52
  # @!group service
53
53
  module Aws::MQ
54
54
 
55
- GEM_VERSION = '1.58.0'
55
+ GEM_VERSION = '1.59.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,499 @@
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 MQ
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/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 _CreateBrokerResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateBrokerResponse]
77
+ def broker_arn: () -> ::String
78
+ def broker_id: () -> ::String
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#create_broker-instance_method
81
+ def create_broker: (
82
+ ?authentication_strategy: ("SIMPLE" | "LDAP"),
83
+ auto_minor_version_upgrade: bool,
84
+ broker_name: ::String,
85
+ ?configuration: {
86
+ id: ::String,
87
+ revision: ::Integer?
88
+ },
89
+ ?creator_request_id: ::String,
90
+ deployment_mode: ("SINGLE_INSTANCE" | "ACTIVE_STANDBY_MULTI_AZ" | "CLUSTER_MULTI_AZ"),
91
+ ?encryption_options: {
92
+ kms_key_id: ::String?,
93
+ use_aws_owned_key: bool
94
+ },
95
+ engine_type: ("ACTIVEMQ" | "RABBITMQ"),
96
+ engine_version: ::String,
97
+ host_instance_type: ::String,
98
+ ?ldap_server_metadata: {
99
+ hosts: Array[::String],
100
+ role_base: ::String,
101
+ role_name: ::String?,
102
+ role_search_matching: ::String,
103
+ role_search_subtree: bool?,
104
+ service_account_password: ::String,
105
+ service_account_username: ::String,
106
+ user_base: ::String,
107
+ user_role_name: ::String?,
108
+ user_search_matching: ::String,
109
+ user_search_subtree: bool?
110
+ },
111
+ ?logs: {
112
+ audit: bool?,
113
+ general: bool?
114
+ },
115
+ ?maintenance_window_start_time: {
116
+ day_of_week: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"),
117
+ time_of_day: ::String,
118
+ time_zone: ::String?
119
+ },
120
+ publicly_accessible: bool,
121
+ ?security_groups: Array[::String],
122
+ ?storage_type: ("EBS" | "EFS"),
123
+ ?subnet_ids: Array[::String],
124
+ ?tags: Hash[::String, ::String],
125
+ users: Array[
126
+ {
127
+ console_access: bool?,
128
+ groups: Array[::String]?,
129
+ password: ::String,
130
+ username: ::String,
131
+ replication_user: bool?
132
+ },
133
+ ],
134
+ ?data_replication_mode: ("NONE" | "CRDR"),
135
+ ?data_replication_primary_broker_arn: ::String
136
+ ) -> _CreateBrokerResponseSuccess
137
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBrokerResponseSuccess
138
+
139
+ interface _CreateConfigurationResponseSuccess
140
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateConfigurationResponse]
141
+ def arn: () -> ::String
142
+ def authentication_strategy: () -> ("SIMPLE" | "LDAP")
143
+ def created: () -> ::Time
144
+ def id: () -> ::String
145
+ def latest_revision: () -> Types::ConfigurationRevision
146
+ def name: () -> ::String
147
+ end
148
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#create_configuration-instance_method
149
+ def create_configuration: (
150
+ ?authentication_strategy: ("SIMPLE" | "LDAP"),
151
+ engine_type: ("ACTIVEMQ" | "RABBITMQ"),
152
+ engine_version: ::String,
153
+ name: ::String,
154
+ ?tags: Hash[::String, ::String]
155
+ ) -> _CreateConfigurationResponseSuccess
156
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateConfigurationResponseSuccess
157
+
158
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#create_tags-instance_method
159
+ def create_tags: (
160
+ resource_arn: ::String,
161
+ ?tags: Hash[::String, ::String]
162
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
163
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
164
+
165
+ interface _CreateUserResponseSuccess
166
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateUserResponse]
167
+ end
168
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#create_user-instance_method
169
+ def create_user: (
170
+ broker_id: ::String,
171
+ ?console_access: bool,
172
+ ?groups: Array[::String],
173
+ password: ::String,
174
+ username: ::String,
175
+ ?replication_user: bool
176
+ ) -> _CreateUserResponseSuccess
177
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateUserResponseSuccess
178
+
179
+ interface _DeleteBrokerResponseSuccess
180
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBrokerResponse]
181
+ def broker_id: () -> ::String
182
+ end
183
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#delete_broker-instance_method
184
+ def delete_broker: (
185
+ broker_id: ::String
186
+ ) -> _DeleteBrokerResponseSuccess
187
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBrokerResponseSuccess
188
+
189
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#delete_tags-instance_method
190
+ def delete_tags: (
191
+ resource_arn: ::String,
192
+ tag_keys: Array[::String]
193
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
194
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
195
+
196
+ interface _DeleteUserResponseSuccess
197
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteUserResponse]
198
+ end
199
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#delete_user-instance_method
200
+ def delete_user: (
201
+ broker_id: ::String,
202
+ username: ::String
203
+ ) -> _DeleteUserResponseSuccess
204
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteUserResponseSuccess
205
+
206
+ interface _DescribeBrokerResponseSuccess
207
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeBrokerResponse]
208
+ def actions_required: () -> ::Array[Types::ActionRequired]
209
+ def authentication_strategy: () -> ("SIMPLE" | "LDAP")
210
+ def auto_minor_version_upgrade: () -> bool
211
+ def broker_arn: () -> ::String
212
+ def broker_id: () -> ::String
213
+ def broker_instances: () -> ::Array[Types::BrokerInstance]
214
+ def broker_name: () -> ::String
215
+ def broker_state: () -> ("CREATION_IN_PROGRESS" | "CREATION_FAILED" | "DELETION_IN_PROGRESS" | "RUNNING" | "REBOOT_IN_PROGRESS" | "CRITICAL_ACTION_REQUIRED" | "REPLICA")
216
+ def configurations: () -> Types::Configurations
217
+ def created: () -> ::Time
218
+ def deployment_mode: () -> ("SINGLE_INSTANCE" | "ACTIVE_STANDBY_MULTI_AZ" | "CLUSTER_MULTI_AZ")
219
+ def encryption_options: () -> Types::EncryptionOptions
220
+ def engine_type: () -> ("ACTIVEMQ" | "RABBITMQ")
221
+ def engine_version: () -> ::String
222
+ def host_instance_type: () -> ::String
223
+ def ldap_server_metadata: () -> Types::LdapServerMetadataOutput
224
+ def logs: () -> Types::LogsSummary
225
+ def maintenance_window_start_time: () -> Types::WeeklyStartTime
226
+ def pending_authentication_strategy: () -> ("SIMPLE" | "LDAP")
227
+ def pending_engine_version: () -> ::String
228
+ def pending_host_instance_type: () -> ::String
229
+ def pending_ldap_server_metadata: () -> Types::LdapServerMetadataOutput
230
+ def pending_security_groups: () -> ::Array[::String]
231
+ def publicly_accessible: () -> bool
232
+ def security_groups: () -> ::Array[::String]
233
+ def storage_type: () -> ("EBS" | "EFS")
234
+ def subnet_ids: () -> ::Array[::String]
235
+ def tags: () -> ::Hash[::String, ::String]
236
+ def users: () -> ::Array[Types::UserSummary]
237
+ def data_replication_metadata: () -> Types::DataReplicationMetadataOutput
238
+ def data_replication_mode: () -> ("NONE" | "CRDR")
239
+ def pending_data_replication_metadata: () -> Types::DataReplicationMetadataOutput
240
+ def pending_data_replication_mode: () -> ("NONE" | "CRDR")
241
+ end
242
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#describe_broker-instance_method
243
+ def describe_broker: (
244
+ broker_id: ::String
245
+ ) -> _DescribeBrokerResponseSuccess
246
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeBrokerResponseSuccess
247
+
248
+ interface _DescribeBrokerEngineTypesResponseSuccess
249
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeBrokerEngineTypesResponse]
250
+ def broker_engine_types: () -> ::Array[Types::BrokerEngineType]
251
+ def max_results: () -> ::Integer
252
+ def next_token: () -> ::String
253
+ end
254
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#describe_broker_engine_types-instance_method
255
+ def describe_broker_engine_types: (
256
+ ?engine_type: ::String,
257
+ ?max_results: ::Integer,
258
+ ?next_token: ::String
259
+ ) -> _DescribeBrokerEngineTypesResponseSuccess
260
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeBrokerEngineTypesResponseSuccess
261
+
262
+ interface _DescribeBrokerInstanceOptionsResponseSuccess
263
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeBrokerInstanceOptionsResponse]
264
+ def broker_instance_options: () -> ::Array[Types::BrokerInstanceOption]
265
+ def max_results: () -> ::Integer
266
+ def next_token: () -> ::String
267
+ end
268
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#describe_broker_instance_options-instance_method
269
+ def describe_broker_instance_options: (
270
+ ?engine_type: ::String,
271
+ ?host_instance_type: ::String,
272
+ ?max_results: ::Integer,
273
+ ?next_token: ::String,
274
+ ?storage_type: ::String
275
+ ) -> _DescribeBrokerInstanceOptionsResponseSuccess
276
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeBrokerInstanceOptionsResponseSuccess
277
+
278
+ interface _DescribeConfigurationResponseSuccess
279
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeConfigurationResponse]
280
+ def arn: () -> ::String
281
+ def authentication_strategy: () -> ("SIMPLE" | "LDAP")
282
+ def created: () -> ::Time
283
+ def description: () -> ::String
284
+ def engine_type: () -> ("ACTIVEMQ" | "RABBITMQ")
285
+ def engine_version: () -> ::String
286
+ def id: () -> ::String
287
+ def latest_revision: () -> Types::ConfigurationRevision
288
+ def name: () -> ::String
289
+ def tags: () -> ::Hash[::String, ::String]
290
+ end
291
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#describe_configuration-instance_method
292
+ def describe_configuration: (
293
+ configuration_id: ::String
294
+ ) -> _DescribeConfigurationResponseSuccess
295
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeConfigurationResponseSuccess
296
+
297
+ interface _DescribeConfigurationRevisionResponseSuccess
298
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeConfigurationRevisionResponse]
299
+ def configuration_id: () -> ::String
300
+ def created: () -> ::Time
301
+ def description: () -> ::String
302
+ end
303
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#describe_configuration_revision-instance_method
304
+ def describe_configuration_revision: (
305
+ configuration_id: ::String,
306
+ configuration_revision: ::String
307
+ ) -> _DescribeConfigurationRevisionResponseSuccess
308
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeConfigurationRevisionResponseSuccess
309
+
310
+ interface _DescribeUserResponseSuccess
311
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeUserResponse]
312
+ def broker_id: () -> ::String
313
+ def console_access: () -> bool
314
+ def groups: () -> ::Array[::String]
315
+ def pending: () -> Types::UserPendingChanges
316
+ def username: () -> ::String
317
+ def replication_user: () -> bool
318
+ end
319
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#describe_user-instance_method
320
+ def describe_user: (
321
+ broker_id: ::String,
322
+ username: ::String
323
+ ) -> _DescribeUserResponseSuccess
324
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeUserResponseSuccess
325
+
326
+ interface _ListBrokersResponseSuccess
327
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListBrokersResponse]
328
+ def broker_summaries: () -> ::Array[Types::BrokerSummary]
329
+ def next_token: () -> ::String
330
+ end
331
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#list_brokers-instance_method
332
+ def list_brokers: (
333
+ ?max_results: ::Integer,
334
+ ?next_token: ::String
335
+ ) -> _ListBrokersResponseSuccess
336
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBrokersResponseSuccess
337
+
338
+ interface _ListConfigurationRevisionsResponseSuccess
339
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListConfigurationRevisionsResponse]
340
+ def configuration_id: () -> ::String
341
+ def max_results: () -> ::Integer
342
+ def next_token: () -> ::String
343
+ def revisions: () -> ::Array[Types::ConfigurationRevision]
344
+ end
345
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#list_configuration_revisions-instance_method
346
+ def list_configuration_revisions: (
347
+ configuration_id: ::String,
348
+ ?max_results: ::Integer,
349
+ ?next_token: ::String
350
+ ) -> _ListConfigurationRevisionsResponseSuccess
351
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConfigurationRevisionsResponseSuccess
352
+
353
+ interface _ListConfigurationsResponseSuccess
354
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListConfigurationsResponse]
355
+ def configurations: () -> ::Array[Types::Configuration]
356
+ def max_results: () -> ::Integer
357
+ def next_token: () -> ::String
358
+ end
359
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#list_configurations-instance_method
360
+ def list_configurations: (
361
+ ?max_results: ::Integer,
362
+ ?next_token: ::String
363
+ ) -> _ListConfigurationsResponseSuccess
364
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConfigurationsResponseSuccess
365
+
366
+ interface _ListTagsResponseSuccess
367
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsResponse]
368
+ def tags: () -> ::Hash[::String, ::String]
369
+ end
370
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#list_tags-instance_method
371
+ def list_tags: (
372
+ resource_arn: ::String
373
+ ) -> _ListTagsResponseSuccess
374
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsResponseSuccess
375
+
376
+ interface _ListUsersResponseSuccess
377
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListUsersResponse]
378
+ def broker_id: () -> ::String
379
+ def max_results: () -> ::Integer
380
+ def next_token: () -> ::String
381
+ def users: () -> ::Array[Types::UserSummary]
382
+ end
383
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#list_users-instance_method
384
+ def list_users: (
385
+ broker_id: ::String,
386
+ ?max_results: ::Integer,
387
+ ?next_token: ::String
388
+ ) -> _ListUsersResponseSuccess
389
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListUsersResponseSuccess
390
+
391
+ interface _PromoteResponseSuccess
392
+ include ::Seahorse::Client::_ResponseSuccess[Types::PromoteResponse]
393
+ def broker_id: () -> ::String
394
+ end
395
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#promote-instance_method
396
+ def promote: (
397
+ broker_id: ::String,
398
+ mode: ("SWITCHOVER" | "FAILOVER")
399
+ ) -> _PromoteResponseSuccess
400
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PromoteResponseSuccess
401
+
402
+ interface _RebootBrokerResponseSuccess
403
+ include ::Seahorse::Client::_ResponseSuccess[Types::RebootBrokerResponse]
404
+ end
405
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#reboot_broker-instance_method
406
+ def reboot_broker: (
407
+ broker_id: ::String
408
+ ) -> _RebootBrokerResponseSuccess
409
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RebootBrokerResponseSuccess
410
+
411
+ interface _UpdateBrokerResponseSuccess
412
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateBrokerResponse]
413
+ def authentication_strategy: () -> ("SIMPLE" | "LDAP")
414
+ def auto_minor_version_upgrade: () -> bool
415
+ def broker_id: () -> ::String
416
+ def configuration: () -> Types::ConfigurationId
417
+ def engine_version: () -> ::String
418
+ def host_instance_type: () -> ::String
419
+ def ldap_server_metadata: () -> Types::LdapServerMetadataOutput
420
+ def logs: () -> Types::Logs
421
+ def maintenance_window_start_time: () -> Types::WeeklyStartTime
422
+ def security_groups: () -> ::Array[::String]
423
+ def data_replication_metadata: () -> Types::DataReplicationMetadataOutput
424
+ def data_replication_mode: () -> ("NONE" | "CRDR")
425
+ def pending_data_replication_metadata: () -> Types::DataReplicationMetadataOutput
426
+ def pending_data_replication_mode: () -> ("NONE" | "CRDR")
427
+ end
428
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#update_broker-instance_method
429
+ def update_broker: (
430
+ ?authentication_strategy: ("SIMPLE" | "LDAP"),
431
+ ?auto_minor_version_upgrade: bool,
432
+ broker_id: ::String,
433
+ ?configuration: {
434
+ id: ::String,
435
+ revision: ::Integer?
436
+ },
437
+ ?engine_version: ::String,
438
+ ?host_instance_type: ::String,
439
+ ?ldap_server_metadata: {
440
+ hosts: Array[::String],
441
+ role_base: ::String,
442
+ role_name: ::String?,
443
+ role_search_matching: ::String,
444
+ role_search_subtree: bool?,
445
+ service_account_password: ::String,
446
+ service_account_username: ::String,
447
+ user_base: ::String,
448
+ user_role_name: ::String?,
449
+ user_search_matching: ::String,
450
+ user_search_subtree: bool?
451
+ },
452
+ ?logs: {
453
+ audit: bool?,
454
+ general: bool?
455
+ },
456
+ ?maintenance_window_start_time: {
457
+ day_of_week: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"),
458
+ time_of_day: ::String,
459
+ time_zone: ::String?
460
+ },
461
+ ?security_groups: Array[::String],
462
+ ?data_replication_mode: ("NONE" | "CRDR")
463
+ ) -> _UpdateBrokerResponseSuccess
464
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBrokerResponseSuccess
465
+
466
+ interface _UpdateConfigurationResponseSuccess
467
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConfigurationResponse]
468
+ def arn: () -> ::String
469
+ def created: () -> ::Time
470
+ def id: () -> ::String
471
+ def latest_revision: () -> Types::ConfigurationRevision
472
+ def name: () -> ::String
473
+ def warnings: () -> ::Array[Types::SanitizationWarning]
474
+ end
475
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#update_configuration-instance_method
476
+ def update_configuration: (
477
+ configuration_id: ::String,
478
+ data: ::String,
479
+ ?description: ::String
480
+ ) -> _UpdateConfigurationResponseSuccess
481
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateConfigurationResponseSuccess
482
+
483
+ interface _UpdateUserResponseSuccess
484
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateUserResponse]
485
+ end
486
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#update_user-instance_method
487
+ def update_user: (
488
+ broker_id: ::String,
489
+ ?console_access: bool,
490
+ ?groups: Array[::String],
491
+ ?password: ::String,
492
+ username: ::String,
493
+ ?replication_user: bool
494
+ ) -> _UpdateUserResponseSuccess
495
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateUserResponseSuccess
496
+ end
497
+ end
498
+ end
499
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,40 @@
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 MQ
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class BadRequestException < ::Aws::Errors::ServiceError
15
+ def error_attribute: () -> ::String
16
+ def message: () -> ::String
17
+ end
18
+ class ConflictException < ::Aws::Errors::ServiceError
19
+ def error_attribute: () -> ::String
20
+ def message: () -> ::String
21
+ end
22
+ class ForbiddenException < ::Aws::Errors::ServiceError
23
+ def error_attribute: () -> ::String
24
+ def message: () -> ::String
25
+ end
26
+ class InternalServerErrorException < ::Aws::Errors::ServiceError
27
+ def error_attribute: () -> ::String
28
+ def message: () -> ::String
29
+ end
30
+ class NotFoundException < ::Aws::Errors::ServiceError
31
+ def error_attribute: () -> ::String
32
+ def message: () -> ::String
33
+ end
34
+ class UnauthorizedException < ::Aws::Errors::ServiceError
35
+ def error_attribute: () -> ::String
36
+ def message: () -> ::String
37
+ end
38
+ end
39
+ end
40
+ end