aws-sdk-mq 1.1.0 → 1.2.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/lib/aws-sdk-mq.rb +1 -1
- data/lib/aws-sdk-mq/client.rb +47 -7
- data/lib/aws-sdk-mq/client_api.rb +107 -65
- data/lib/aws-sdk-mq/types.rb +227 -68
- metadata +2 -2
data/lib/aws-sdk-mq/types.rb
CHANGED
@@ -18,11 +18,16 @@ module Aws::MQ
|
|
18
18
|
# The broker's wire-level protocol endpoints.
|
19
19
|
# @return [Array<String>]
|
20
20
|
#
|
21
|
+
# @!attribute [rw] ip_address
|
22
|
+
# The IP address of the ENI attached to the broker.
|
23
|
+
# @return [String]
|
24
|
+
#
|
21
25
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/BrokerInstance AWS API Documentation
|
22
26
|
#
|
23
27
|
class BrokerInstance < Struct.new(
|
24
28
|
:console_url,
|
25
|
-
:endpoints
|
29
|
+
:endpoints,
|
30
|
+
:ip_address)
|
26
31
|
include Aws::Structure
|
27
32
|
end
|
28
33
|
|
@@ -44,22 +49,19 @@ module Aws::MQ
|
|
44
49
|
# @return [String]
|
45
50
|
#
|
46
51
|
# @!attribute [rw] broker_state
|
47
|
-
# The status of the broker.
|
48
|
-
# CREATION\_FAILED, DELETION\_IN\_PROGRESS, RUNNING,
|
49
|
-
# REBOOT\_IN\_PROGRESS
|
52
|
+
# The status of the broker.
|
50
53
|
# @return [String]
|
51
54
|
#
|
55
|
+
# @!attribute [rw] created
|
56
|
+
# The time when the broker was created.
|
57
|
+
# @return [Time]
|
58
|
+
#
|
52
59
|
# @!attribute [rw] deployment_mode
|
53
|
-
# Required. The deployment mode of the broker.
|
54
|
-
# SINGLE\_INSTANCE, ACTIVE\_STANDBY\_MULTI\_AZ SINGLE\_INSTANCE
|
55
|
-
# creates a single-instance broker in a single Availability Zone.
|
56
|
-
# ACTIVE\_STANDBY\_MULTI\_AZ creates an active/standby broker for high
|
57
|
-
# availability.
|
60
|
+
# Required. The deployment mode of the broker.
|
58
61
|
# @return [String]
|
59
62
|
#
|
60
63
|
# @!attribute [rw] host_instance_type
|
61
|
-
# The broker's instance type.
|
62
|
-
# mq.m4.large
|
64
|
+
# The broker's instance type.
|
63
65
|
# @return [String]
|
64
66
|
#
|
65
67
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/BrokerSummary AWS API Documentation
|
@@ -69,6 +71,7 @@ module Aws::MQ
|
|
69
71
|
:broker_id,
|
70
72
|
:broker_name,
|
71
73
|
:broker_state,
|
74
|
+
:created,
|
72
75
|
:deployment_mode,
|
73
76
|
:host_instance_type)
|
74
77
|
include Aws::Structure
|
@@ -80,6 +83,10 @@ module Aws::MQ
|
|
80
83
|
# Required. The ARN of the configuration.
|
81
84
|
# @return [String]
|
82
85
|
#
|
86
|
+
# @!attribute [rw] created
|
87
|
+
# Required. The date and time of the configuration revision.
|
88
|
+
# @return [Time]
|
89
|
+
#
|
83
90
|
# @!attribute [rw] description
|
84
91
|
# Required. The description of the configuration.
|
85
92
|
# @return [String]
|
@@ -112,6 +119,7 @@ module Aws::MQ
|
|
112
119
|
#
|
113
120
|
class Configuration < Struct.new(
|
114
121
|
:arn,
|
122
|
+
:created,
|
115
123
|
:description,
|
116
124
|
:engine_type,
|
117
125
|
:engine_version,
|
@@ -137,7 +145,7 @@ module Aws::MQ
|
|
137
145
|
# @return [String]
|
138
146
|
#
|
139
147
|
# @!attribute [rw] revision
|
140
|
-
# The
|
148
|
+
# The revision number of the configuration.
|
141
149
|
# @return [Integer]
|
142
150
|
#
|
143
151
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ConfigurationId AWS API Documentation
|
@@ -150,17 +158,22 @@ module Aws::MQ
|
|
150
158
|
|
151
159
|
# Returns information about the specified configuration revision.
|
152
160
|
#
|
161
|
+
# @!attribute [rw] created
|
162
|
+
# Required. The date and time of the configuration revision.
|
163
|
+
# @return [Time]
|
164
|
+
#
|
153
165
|
# @!attribute [rw] description
|
154
166
|
# The description of the configuration revision.
|
155
167
|
# @return [String]
|
156
168
|
#
|
157
169
|
# @!attribute [rw] revision
|
158
|
-
# Required. The revision of the configuration.
|
170
|
+
# Required. The revision number of the configuration.
|
159
171
|
# @return [Integer]
|
160
172
|
#
|
161
173
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ConfigurationRevision AWS API Documentation
|
162
174
|
#
|
163
175
|
class ConfigurationRevision < Struct.new(
|
176
|
+
:created,
|
164
177
|
:description,
|
165
178
|
:revision)
|
166
179
|
include Aws::Structure
|
@@ -216,11 +229,7 @@ module Aws::MQ
|
|
216
229
|
# @return [String]
|
217
230
|
#
|
218
231
|
# @!attribute [rw] deployment_mode
|
219
|
-
# Required. The deployment mode of the broker.
|
220
|
-
# SINGLE\_INSTANCE, ACTIVE\_STANDBY\_MULTI\_AZ SINGLE\_INSTANCE
|
221
|
-
# creates a single-instance broker in a single Availability Zone.
|
222
|
-
# ACTIVE\_STANDBY\_MULTI\_AZ creates an active/standby broker for high
|
223
|
-
# availability.
|
232
|
+
# Required. The deployment mode of the broker.
|
224
233
|
# @return [String]
|
225
234
|
#
|
226
235
|
# @!attribute [rw] engine_type
|
@@ -234,10 +243,13 @@ module Aws::MQ
|
|
234
243
|
# @return [String]
|
235
244
|
#
|
236
245
|
# @!attribute [rw] host_instance_type
|
237
|
-
# Required. The broker's instance type.
|
238
|
-
# mq.m4.large
|
246
|
+
# Required. The broker's instance type.
|
239
247
|
# @return [String]
|
240
248
|
#
|
249
|
+
# @!attribute [rw] logs
|
250
|
+
# Enables Amazon CloudWatch logging for brokers.
|
251
|
+
# @return [Types::Logs]
|
252
|
+
#
|
241
253
|
# @!attribute [rw] maintenance_window_start_time
|
242
254
|
# The parameters that determine the WeeklyStartTime.
|
243
255
|
# @return [Types::WeeklyStartTime]
|
@@ -248,14 +260,14 @@ module Aws::MQ
|
|
248
260
|
# @return [Boolean]
|
249
261
|
#
|
250
262
|
# @!attribute [rw] security_groups
|
251
|
-
#
|
263
|
+
# The list of rules (1 minimum, 125 maximum) that authorize
|
252
264
|
# connections to brokers.
|
253
265
|
# @return [Array<String>]
|
254
266
|
#
|
255
267
|
# @!attribute [rw] subnet_ids
|
256
|
-
#
|
257
|
-
#
|
258
|
-
#
|
268
|
+
# The list of groups (2 maximum) that define which subnets and IP
|
269
|
+
# ranges the broker can use from different Availability Zones. A
|
270
|
+
# SINGLE\_INSTANCE deployment requires one subnet (for example, the
|
259
271
|
# default subnet). An ACTIVE\_STANDBY\_MULTI\_AZ deployment requires
|
260
272
|
# two subnets.
|
261
273
|
# @return [Array<String>]
|
@@ -278,6 +290,7 @@ module Aws::MQ
|
|
278
290
|
:engine_type,
|
279
291
|
:engine_version,
|
280
292
|
:host_instance_type,
|
293
|
+
:logs,
|
281
294
|
:maintenance_window_start_time,
|
282
295
|
:publicly_accessible,
|
283
296
|
:security_groups,
|
@@ -319,6 +332,10 @@ module Aws::MQ
|
|
319
332
|
# engine_type: "ACTIVEMQ", # accepts ACTIVEMQ
|
320
333
|
# engine_version: "__string",
|
321
334
|
# host_instance_type: "__string",
|
335
|
+
# logs: {
|
336
|
+
# audit: false,
|
337
|
+
# general: false,
|
338
|
+
# },
|
322
339
|
# maintenance_window_start_time: {
|
323
340
|
# day_of_week: "MONDAY", # accepts MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY
|
324
341
|
# time_of_day: "__string",
|
@@ -353,11 +370,7 @@ module Aws::MQ
|
|
353
370
|
# @return [String]
|
354
371
|
#
|
355
372
|
# @!attribute [rw] deployment_mode
|
356
|
-
# The deployment mode of the broker.
|
357
|
-
# SINGLE\_INSTANCE, ACTIVE\_STANDBY\_MULTI\_AZ SINGLE\_INSTANCE
|
358
|
-
# creates a single-instance broker in a single Availability Zone.
|
359
|
-
# ACTIVE\_STANDBY\_MULTI\_AZ creates an active/standby broker for high
|
360
|
-
# availability.
|
373
|
+
# The deployment mode of the broker.
|
361
374
|
# @return [String]
|
362
375
|
#
|
363
376
|
# @!attribute [rw] engine_type
|
@@ -371,6 +384,11 @@ module Aws::MQ
|
|
371
384
|
# @!attribute [rw] host_instance_type
|
372
385
|
# @return [String]
|
373
386
|
#
|
387
|
+
# @!attribute [rw] logs
|
388
|
+
# The list of information about logs to be enabled for the specified
|
389
|
+
# broker.
|
390
|
+
# @return [Types::Logs]
|
391
|
+
#
|
374
392
|
# @!attribute [rw] maintenance_window_start_time
|
375
393
|
# The scheduled time period relative to UTC during which Amazon MQ
|
376
394
|
# begins to apply pending updates or patches to the broker.
|
@@ -399,6 +417,7 @@ module Aws::MQ
|
|
399
417
|
:engine_type,
|
400
418
|
:engine_version,
|
401
419
|
:host_instance_type,
|
420
|
+
:logs,
|
402
421
|
:maintenance_window_start_time,
|
403
422
|
:publicly_accessible,
|
404
423
|
:security_groups,
|
@@ -423,8 +442,7 @@ module Aws::MQ
|
|
423
442
|
|
424
443
|
# Creates a new configuration for the specified configuration name.
|
425
444
|
# Amazon MQ uses the default configuration (the engine type and
|
426
|
-
# version).
|
427
|
-
# doesn't create a configuration.
|
445
|
+
# version).
|
428
446
|
#
|
429
447
|
# @!attribute [rw] engine_type
|
430
448
|
# Required. The type of broker engine. Note: Currently, Amazon MQ
|
@@ -457,6 +475,10 @@ module Aws::MQ
|
|
457
475
|
# Required. The Amazon Resource Name (ARN) of the configuration.
|
458
476
|
# @return [String]
|
459
477
|
#
|
478
|
+
# @!attribute [rw] created
|
479
|
+
# Required. The date and time of the configuration.
|
480
|
+
# @return [Time]
|
481
|
+
#
|
460
482
|
# @!attribute [rw] id
|
461
483
|
# Required. The unique ID that Amazon MQ generates for the
|
462
484
|
# configuration.
|
@@ -476,6 +498,7 @@ module Aws::MQ
|
|
476
498
|
#
|
477
499
|
class CreateConfigurationOutput < Struct.new(
|
478
500
|
:arn,
|
501
|
+
:created,
|
479
502
|
:id,
|
480
503
|
:latest_revision,
|
481
504
|
:name)
|
@@ -514,6 +537,9 @@ module Aws::MQ
|
|
514
537
|
# @!attribute [rw] arn
|
515
538
|
# @return [String]
|
516
539
|
#
|
540
|
+
# @!attribute [rw] created
|
541
|
+
# @return [Time]
|
542
|
+
#
|
517
543
|
# @!attribute [rw] id
|
518
544
|
# @return [String]
|
519
545
|
#
|
@@ -528,6 +554,7 @@ module Aws::MQ
|
|
528
554
|
#
|
529
555
|
class CreateConfigurationResponse < Struct.new(
|
530
556
|
:arn,
|
557
|
+
:created,
|
531
558
|
:id,
|
532
559
|
:latest_revision,
|
533
560
|
:name)
|
@@ -700,21 +727,19 @@ module Aws::MQ
|
|
700
727
|
# @return [String]
|
701
728
|
#
|
702
729
|
# @!attribute [rw] broker_state
|
703
|
-
# The status of the broker.
|
704
|
-
# CREATION\_FAILED, DELETION\_IN\_PROGRESS, RUNNING,
|
705
|
-
# REBOOT\_IN\_PROGRESS
|
730
|
+
# The status of the broker.
|
706
731
|
# @return [String]
|
707
732
|
#
|
708
733
|
# @!attribute [rw] configurations
|
709
734
|
# The list of all revisions for the specified configuration.
|
710
735
|
# @return [Types::Configurations]
|
711
736
|
#
|
737
|
+
# @!attribute [rw] created
|
738
|
+
# The time when the broker was created.
|
739
|
+
# @return [Time]
|
740
|
+
#
|
712
741
|
# @!attribute [rw] deployment_mode
|
713
|
-
# Required. The deployment mode of the broker.
|
714
|
-
# SINGLE\_INSTANCE, ACTIVE\_STANDBY\_MULTI\_AZ SINGLE\_INSTANCE
|
715
|
-
# creates a single-instance broker in a single Availability Zone.
|
716
|
-
# ACTIVE\_STANDBY\_MULTI\_AZ creates an active/standby broker for high
|
717
|
-
# availability.
|
742
|
+
# Required. The deployment mode of the broker.
|
718
743
|
# @return [String]
|
719
744
|
#
|
720
745
|
# @!attribute [rw] engine_type
|
@@ -728,10 +753,14 @@ module Aws::MQ
|
|
728
753
|
# @return [String]
|
729
754
|
#
|
730
755
|
# @!attribute [rw] host_instance_type
|
731
|
-
# The broker's instance type.
|
732
|
-
# mq.m4.large
|
756
|
+
# The broker's instance type.
|
733
757
|
# @return [String]
|
734
758
|
#
|
759
|
+
# @!attribute [rw] logs
|
760
|
+
# The list of information about logs currently enabled and pending to
|
761
|
+
# be deployed for the specified broker.
|
762
|
+
# @return [Types::LogsSummary]
|
763
|
+
#
|
735
764
|
# @!attribute [rw] maintenance_window_start_time
|
736
765
|
# The parameters that determine the WeeklyStartTime.
|
737
766
|
# @return [Types::WeeklyStartTime]
|
@@ -768,10 +797,12 @@ module Aws::MQ
|
|
768
797
|
:broker_name,
|
769
798
|
:broker_state,
|
770
799
|
:configurations,
|
800
|
+
:created,
|
771
801
|
:deployment_mode,
|
772
802
|
:engine_type,
|
773
803
|
:engine_version,
|
774
804
|
:host_instance_type,
|
805
|
+
:logs,
|
775
806
|
:maintenance_window_start_time,
|
776
807
|
:publicly_accessible,
|
777
808
|
:security_groups,
|
@@ -813,21 +844,18 @@ module Aws::MQ
|
|
813
844
|
# @return [String]
|
814
845
|
#
|
815
846
|
# @!attribute [rw] broker_state
|
816
|
-
# The status of the broker.
|
817
|
-
# CREATION\_FAILED, DELETION\_IN\_PROGRESS, RUNNING,
|
818
|
-
# REBOOT\_IN\_PROGRESS
|
847
|
+
# The status of the broker.
|
819
848
|
# @return [String]
|
820
849
|
#
|
821
850
|
# @!attribute [rw] configurations
|
822
851
|
# Broker configuration information
|
823
852
|
# @return [Types::Configurations]
|
824
853
|
#
|
854
|
+
# @!attribute [rw] created
|
855
|
+
# @return [Time]
|
856
|
+
#
|
825
857
|
# @!attribute [rw] deployment_mode
|
826
|
-
# The deployment mode of the broker.
|
827
|
-
# SINGLE\_INSTANCE, ACTIVE\_STANDBY\_MULTI\_AZ SINGLE\_INSTANCE
|
828
|
-
# creates a single-instance broker in a single Availability Zone.
|
829
|
-
# ACTIVE\_STANDBY\_MULTI\_AZ creates an active/standby broker for high
|
830
|
-
# availability.
|
858
|
+
# The deployment mode of the broker.
|
831
859
|
# @return [String]
|
832
860
|
#
|
833
861
|
# @!attribute [rw] engine_type
|
@@ -841,6 +869,11 @@ module Aws::MQ
|
|
841
869
|
# @!attribute [rw] host_instance_type
|
842
870
|
# @return [String]
|
843
871
|
#
|
872
|
+
# @!attribute [rw] logs
|
873
|
+
# The list of information about logs currently enabled and pending to
|
874
|
+
# be deployed for the specified broker.
|
875
|
+
# @return [Types::LogsSummary]
|
876
|
+
#
|
844
877
|
# @!attribute [rw] maintenance_window_start_time
|
845
878
|
# The scheduled time period relative to UTC during which Amazon MQ
|
846
879
|
# begins to apply pending updates or patches to the broker.
|
@@ -868,10 +901,12 @@ module Aws::MQ
|
|
868
901
|
:broker_name,
|
869
902
|
:broker_state,
|
870
903
|
:configurations,
|
904
|
+
:created,
|
871
905
|
:deployment_mode,
|
872
906
|
:engine_type,
|
873
907
|
:engine_version,
|
874
908
|
:host_instance_type,
|
909
|
+
:logs,
|
875
910
|
:maintenance_window_start_time,
|
876
911
|
:publicly_accessible,
|
877
912
|
:security_groups,
|
@@ -900,6 +935,9 @@ module Aws::MQ
|
|
900
935
|
# @!attribute [rw] arn
|
901
936
|
# @return [String]
|
902
937
|
#
|
938
|
+
# @!attribute [rw] created
|
939
|
+
# @return [Time]
|
940
|
+
#
|
903
941
|
# @!attribute [rw] description
|
904
942
|
# @return [String]
|
905
943
|
#
|
@@ -925,6 +963,7 @@ module Aws::MQ
|
|
925
963
|
#
|
926
964
|
class DescribeConfigurationResponse < Struct.new(
|
927
965
|
:arn,
|
966
|
+
:created,
|
928
967
|
:description,
|
929
968
|
:engine_type,
|
930
969
|
:engine_version,
|
@@ -942,6 +981,10 @@ module Aws::MQ
|
|
942
981
|
# configuration.
|
943
982
|
# @return [String]
|
944
983
|
#
|
984
|
+
# @!attribute [rw] created
|
985
|
+
# Required. The date and time of the configuration.
|
986
|
+
# @return [Time]
|
987
|
+
#
|
945
988
|
# @!attribute [rw] data
|
946
989
|
# Required. The base64-encoded XML configuration.
|
947
990
|
# @return [String]
|
@@ -954,6 +997,7 @@ module Aws::MQ
|
|
954
997
|
#
|
955
998
|
class DescribeConfigurationRevisionOutput < Struct.new(
|
956
999
|
:configuration_id,
|
1000
|
+
:created,
|
957
1001
|
:data,
|
958
1002
|
:description)
|
959
1003
|
include Aws::Structure
|
@@ -984,6 +1028,9 @@ module Aws::MQ
|
|
984
1028
|
# @!attribute [rw] configuration_id
|
985
1029
|
# @return [String]
|
986
1030
|
#
|
1031
|
+
# @!attribute [rw] created
|
1032
|
+
# @return [Time]
|
1033
|
+
#
|
987
1034
|
# @!attribute [rw] data
|
988
1035
|
# @return [String]
|
989
1036
|
#
|
@@ -994,6 +1041,7 @@ module Aws::MQ
|
|
994
1041
|
#
|
995
1042
|
class DescribeConfigurationRevisionResponse < Struct.new(
|
996
1043
|
:configuration_id,
|
1044
|
+
:created,
|
997
1045
|
:data,
|
998
1046
|
:description)
|
999
1047
|
include Aws::Structure
|
@@ -1091,11 +1139,11 @@ module Aws::MQ
|
|
1091
1139
|
# Returns information about an error.
|
1092
1140
|
#
|
1093
1141
|
# @!attribute [rw] error_attribute
|
1094
|
-
# The error
|
1142
|
+
# The attribute which caused the error.
|
1095
1143
|
# @return [String]
|
1096
1144
|
#
|
1097
1145
|
# @!attribute [rw] message
|
1098
|
-
# The error
|
1146
|
+
# The explanation of the error.
|
1099
1147
|
# @return [String]
|
1100
1148
|
#
|
1101
1149
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/Error AWS API Documentation
|
@@ -1387,6 +1435,90 @@ module Aws::MQ
|
|
1387
1435
|
include Aws::Structure
|
1388
1436
|
end
|
1389
1437
|
|
1438
|
+
# The list of information about logs to be enabled for the specified
|
1439
|
+
# broker.
|
1440
|
+
#
|
1441
|
+
# @note When making an API call, you may pass Logs
|
1442
|
+
# data as a hash:
|
1443
|
+
#
|
1444
|
+
# {
|
1445
|
+
# audit: false,
|
1446
|
+
# general: false,
|
1447
|
+
# }
|
1448
|
+
#
|
1449
|
+
# @!attribute [rw] audit
|
1450
|
+
# Enables audit logging. Every user management action made using JMX
|
1451
|
+
# or the ActiveMQ Web Console is logged.
|
1452
|
+
# @return [Boolean]
|
1453
|
+
#
|
1454
|
+
# @!attribute [rw] general
|
1455
|
+
# Enables general logging.
|
1456
|
+
# @return [Boolean]
|
1457
|
+
#
|
1458
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/Logs AWS API Documentation
|
1459
|
+
#
|
1460
|
+
class Logs < Struct.new(
|
1461
|
+
:audit,
|
1462
|
+
:general)
|
1463
|
+
include Aws::Structure
|
1464
|
+
end
|
1465
|
+
|
1466
|
+
# The list of information about logs currently enabled and pending to be
|
1467
|
+
# deployed for the specified broker.
|
1468
|
+
#
|
1469
|
+
# @!attribute [rw] audit
|
1470
|
+
# Enables audit logging. Every user management action made using JMX
|
1471
|
+
# or the ActiveMQ Web Console is logged.
|
1472
|
+
# @return [Boolean]
|
1473
|
+
#
|
1474
|
+
# @!attribute [rw] audit_log_group
|
1475
|
+
# Location of CloudWatch Log group where audit logs will be sent.
|
1476
|
+
# @return [String]
|
1477
|
+
#
|
1478
|
+
# @!attribute [rw] general
|
1479
|
+
# Enables general logging.
|
1480
|
+
# @return [Boolean]
|
1481
|
+
#
|
1482
|
+
# @!attribute [rw] general_log_group
|
1483
|
+
# Location of CloudWatch Log group where general logs will be sent.
|
1484
|
+
# @return [String]
|
1485
|
+
#
|
1486
|
+
# @!attribute [rw] pending
|
1487
|
+
# The list of information about logs pending to be deployed for the
|
1488
|
+
# specified broker.
|
1489
|
+
# @return [Types::PendingLogs]
|
1490
|
+
#
|
1491
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/LogsSummary AWS API Documentation
|
1492
|
+
#
|
1493
|
+
class LogsSummary < Struct.new(
|
1494
|
+
:audit,
|
1495
|
+
:audit_log_group,
|
1496
|
+
:general,
|
1497
|
+
:general_log_group,
|
1498
|
+
:pending)
|
1499
|
+
include Aws::Structure
|
1500
|
+
end
|
1501
|
+
|
1502
|
+
# The list of information about logs to be enabled for the specified
|
1503
|
+
# broker.
|
1504
|
+
#
|
1505
|
+
# @!attribute [rw] audit
|
1506
|
+
# Enables audit logging. Every user management action made using JMX
|
1507
|
+
# or the ActiveMQ Web Console is logged.
|
1508
|
+
# @return [Boolean]
|
1509
|
+
#
|
1510
|
+
# @!attribute [rw] general
|
1511
|
+
# Enables general logging.
|
1512
|
+
# @return [Boolean]
|
1513
|
+
#
|
1514
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/PendingLogs AWS API Documentation
|
1515
|
+
#
|
1516
|
+
class PendingLogs < Struct.new(
|
1517
|
+
:audit,
|
1518
|
+
:general)
|
1519
|
+
include Aws::Structure
|
1520
|
+
end
|
1521
|
+
|
1390
1522
|
# @note When making an API call, you may pass RebootBrokerRequest
|
1391
1523
|
# data as a hash:
|
1392
1524
|
#
|
@@ -1421,13 +1553,7 @@ module Aws::MQ
|
|
1421
1553
|
#
|
1422
1554
|
# @!attribute [rw] reason
|
1423
1555
|
# Required. The reason for which the XML elements or attributes were
|
1424
|
-
# sanitized.
|
1425
|
-
# DISALLOWED\_ATTRIBUTE\_REMOVED, INVALID\_ATTRIBUTE\_VALUE\_REMOVED
|
1426
|
-
# DISALLOWED\_ELEMENT\_REMOVED shows that the provided element isn't
|
1427
|
-
# allowed and has been removed. DISALLOWED\_ATTRIBUTE\_REMOVED shows
|
1428
|
-
# that the provided attribute isn't allowed and has been removed.
|
1429
|
-
# INVALID\_ATTRIBUTE\_VALUE\_REMOVED shows that the provided value for
|
1430
|
-
# the attribute isn't allowed and has been removed.
|
1556
|
+
# sanitized.
|
1431
1557
|
# @return [String]
|
1432
1558
|
#
|
1433
1559
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/SanitizationWarning AWS API Documentation
|
@@ -1445,10 +1571,15 @@ module Aws::MQ
|
|
1445
1571
|
# A list of information about the configuration.
|
1446
1572
|
# @return [Types::ConfigurationId]
|
1447
1573
|
#
|
1574
|
+
# @!attribute [rw] logs
|
1575
|
+
# Enables Amazon CloudWatch logging for brokers.
|
1576
|
+
# @return [Types::Logs]
|
1577
|
+
#
|
1448
1578
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateBrokerInput AWS API Documentation
|
1449
1579
|
#
|
1450
1580
|
class UpdateBrokerInput < Struct.new(
|
1451
|
-
:configuration
|
1581
|
+
:configuration,
|
1582
|
+
:logs)
|
1452
1583
|
include Aws::Structure
|
1453
1584
|
end
|
1454
1585
|
|
@@ -1462,11 +1593,17 @@ module Aws::MQ
|
|
1462
1593
|
# The ID of the updated configuration.
|
1463
1594
|
# @return [Types::ConfigurationId]
|
1464
1595
|
#
|
1596
|
+
# @!attribute [rw] logs
|
1597
|
+
# The list of information about logs to be enabled for the specified
|
1598
|
+
# broker.
|
1599
|
+
# @return [Types::Logs]
|
1600
|
+
#
|
1465
1601
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateBrokerOutput AWS API Documentation
|
1466
1602
|
#
|
1467
1603
|
class UpdateBrokerOutput < Struct.new(
|
1468
1604
|
:broker_id,
|
1469
|
-
:configuration
|
1605
|
+
:configuration,
|
1606
|
+
:logs)
|
1470
1607
|
include Aws::Structure
|
1471
1608
|
end
|
1472
1609
|
|
@@ -1479,6 +1616,10 @@ module Aws::MQ
|
|
1479
1616
|
# id: "__string",
|
1480
1617
|
# revision: 1,
|
1481
1618
|
# },
|
1619
|
+
# logs: {
|
1620
|
+
# audit: false,
|
1621
|
+
# general: false,
|
1622
|
+
# },
|
1482
1623
|
# }
|
1483
1624
|
#
|
1484
1625
|
# @!attribute [rw] broker_id
|
@@ -1488,11 +1629,17 @@ module Aws::MQ
|
|
1488
1629
|
# A list of information about the configuration.
|
1489
1630
|
# @return [Types::ConfigurationId]
|
1490
1631
|
#
|
1632
|
+
# @!attribute [rw] logs
|
1633
|
+
# The list of information about logs to be enabled for the specified
|
1634
|
+
# broker.
|
1635
|
+
# @return [Types::Logs]
|
1636
|
+
#
|
1491
1637
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateBrokerRequest AWS API Documentation
|
1492
1638
|
#
|
1493
1639
|
class UpdateBrokerRequest < Struct.new(
|
1494
1640
|
:broker_id,
|
1495
|
-
:configuration
|
1641
|
+
:configuration,
|
1642
|
+
:logs)
|
1496
1643
|
include Aws::Structure
|
1497
1644
|
end
|
1498
1645
|
|
@@ -1503,11 +1650,17 @@ module Aws::MQ
|
|
1503
1650
|
# A list of information about the configuration.
|
1504
1651
|
# @return [Types::ConfigurationId]
|
1505
1652
|
#
|
1653
|
+
# @!attribute [rw] logs
|
1654
|
+
# The list of information about logs to be enabled for the specified
|
1655
|
+
# broker.
|
1656
|
+
# @return [Types::Logs]
|
1657
|
+
#
|
1506
1658
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateBrokerResponse AWS API Documentation
|
1507
1659
|
#
|
1508
1660
|
class UpdateBrokerResponse < Struct.new(
|
1509
1661
|
:broker_id,
|
1510
|
-
:configuration
|
1662
|
+
:configuration,
|
1663
|
+
:logs)
|
1511
1664
|
include Aws::Structure
|
1512
1665
|
end
|
1513
1666
|
|
@@ -1535,6 +1688,10 @@ module Aws::MQ
|
|
1535
1688
|
# Required. The Amazon Resource Name (ARN) of the configuration.
|
1536
1689
|
# @return [String]
|
1537
1690
|
#
|
1691
|
+
# @!attribute [rw] created
|
1692
|
+
# Required. The date and time of the configuration.
|
1693
|
+
# @return [Time]
|
1694
|
+
#
|
1538
1695
|
# @!attribute [rw] id
|
1539
1696
|
# Required. The unique ID that Amazon MQ generates for the
|
1540
1697
|
# configuration.
|
@@ -1559,6 +1716,7 @@ module Aws::MQ
|
|
1559
1716
|
#
|
1560
1717
|
class UpdateConfigurationOutput < Struct.new(
|
1561
1718
|
:arn,
|
1719
|
+
:created,
|
1562
1720
|
:id,
|
1563
1721
|
:latest_revision,
|
1564
1722
|
:name,
|
@@ -1596,6 +1754,9 @@ module Aws::MQ
|
|
1596
1754
|
# @!attribute [rw] arn
|
1597
1755
|
# @return [String]
|
1598
1756
|
#
|
1757
|
+
# @!attribute [rw] created
|
1758
|
+
# @return [Time]
|
1759
|
+
#
|
1599
1760
|
# @!attribute [rw] id
|
1600
1761
|
# @return [String]
|
1601
1762
|
#
|
@@ -1613,6 +1774,7 @@ module Aws::MQ
|
|
1613
1774
|
#
|
1614
1775
|
class UpdateConfigurationResponse < Struct.new(
|
1615
1776
|
:arn,
|
1777
|
+
:created,
|
1616
1778
|
:id,
|
1617
1779
|
:latest_revision,
|
1618
1780
|
:name,
|
@@ -1752,8 +1914,7 @@ module Aws::MQ
|
|
1752
1914
|
# @return [Array<String>]
|
1753
1915
|
#
|
1754
1916
|
# @!attribute [rw] pending_change
|
1755
|
-
# Required. The type of change pending for the ActiveMQ user.
|
1756
|
-
# values: CREATE, UPDATE, DELETE
|
1917
|
+
# Required. The type of change pending for the ActiveMQ user.
|
1757
1918
|
# @return [String]
|
1758
1919
|
#
|
1759
1920
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UserPendingChanges AWS API Documentation
|
@@ -1768,8 +1929,7 @@ module Aws::MQ
|
|
1768
1929
|
# Returns a list of all ActiveMQ users.
|
1769
1930
|
#
|
1770
1931
|
# @!attribute [rw] pending_change
|
1771
|
-
# The type of change pending for the ActiveMQ user.
|
1772
|
-
# CREATE, UPDATE, DELETE
|
1932
|
+
# The type of change pending for the ActiveMQ user.
|
1773
1933
|
# @return [String]
|
1774
1934
|
#
|
1775
1935
|
# @!attribute [rw] username
|
@@ -1799,8 +1959,7 @@ module Aws::MQ
|
|
1799
1959
|
# }
|
1800
1960
|
#
|
1801
1961
|
# @!attribute [rw] day_of_week
|
1802
|
-
# Required. The day of the week.
|
1803
|
-
# WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY
|
1962
|
+
# Required. The day of the week.
|
1804
1963
|
# @return [String]
|
1805
1964
|
#
|
1806
1965
|
# @!attribute [rw] time_of_day
|