aws-sdk-mq 1.51.0 → 1.52.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93e3da275994db3b7fcfd0ed5a8e9696fce27a9319083378713e10ef3c3ea18b
4
- data.tar.gz: 9868e20ae49fb9cfa9338d24cee4f6dd412caf31108b93841519f13201ec95e6
3
+ metadata.gz: 3e2c40ff2d15fe13363310b05cef1b54ec31102c2ef202344e2d39f7cc8e5853
4
+ data.tar.gz: cdc93e31a4571a5d4e4d7f5eb7f7cdc22c3ba6833c8b562cde99eaf5fe9b8b94
5
5
  SHA512:
6
- metadata.gz: b09dfd46b4203c98e44d65df2099363a3f9c017c3ea859c2e01a3a870262846b8910af93d62637d4690e570834771c6a8fb8280fdb2a6c458a47c204a84343aa
7
- data.tar.gz: a7fa2b18f4cf3b5f41651b0f2e999d3b41a41f4acd9adbe58579affa146bb84a345071c6a82152b7c9c15228c1ceb9f8458556abb870cc336bbb0305c964d989
6
+ metadata.gz: 06f1c1bfa6c99e0b93ff9cc85ba079c7e6d9ca87fa7f40b3995f1235775d6675fc18be05e3a55a2d11ab196758f5eae8cdbedd08fd36056974f50d616df063f3
7
+ data.tar.gz: 93a190aa00cb2ea22bef8f4060322bb289986172b693e5cd0c1292b584a20d125f8d79f9948c8413a0a8f9d1c480737fe9a434e84d11105106b123702c16580c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.52.0 (2023-06-21)
5
+ ------------------
6
+
7
+ * Feature - The Cross Region Disaster Recovery feature allows to replicate a brokers state from one region to another in order to provide customers with multi-region resiliency in the event of a regional outage.
8
+
4
9
  1.51.0 (2023-06-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.51.0
1
+ 1.52.0
@@ -408,14 +408,14 @@ module Aws::MQ
408
408
  #
409
409
  # * ec2:DescribeVpcs
410
410
  #
411
- # For more information, see [Create an IAM User and Get Your AWS
412
- # Credentials][1] and [Never Modify or Delete the Amazon MQ Elastic
413
- # Network Interface][2] in the *Amazon MQ Developer Guide*.
411
+ # For more information, see [Create an IAM User and Get Your Amazon Web
412
+ # Services Credentials][1] and [Never Modify or Delete the Amazon MQ
413
+ # Elastic Network Interface][2] in the *Amazon MQ Developer Guide*.
414
414
  #
415
415
  #
416
416
  #
417
417
  # [1]: https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/amazon-mq-setting-up.html#create-iam-user
418
- # [2]: https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/connecting-to-amazon-mq.html#never-modify-delete-elastic-network-interface
418
+ # [2]: https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/connecting-to-amazon-mq.html#never-modify-delete-elastic-network-interface
419
419
  #
420
420
  # @option params [String] :authentication_strategy
421
421
  # Optional. The authentication strategy used to secure the broker. The
@@ -428,8 +428,6 @@ module Aws::MQ
428
428
  # @option params [Types::ConfigurationId] :configuration
429
429
  # A list of information about the configuration.
430
430
  #
431
- # Does not apply to RabbitMQ brokers.
432
- #
433
431
  # @option params [String] :creator_request_id
434
432
  # **A suitable default value is auto-generated.** You should normally
435
433
  # not need to pass this option.**
@@ -438,8 +436,6 @@ module Aws::MQ
438
436
  # The broker's deployment mode.
439
437
  #
440
438
  # @option params [Types::EncryptionOptions] :encryption_options
441
- # Does not apply to RabbitMQ brokers.
442
- #
443
439
  # Encryption options for the broker.
444
440
  #
445
441
  # @option params [required, String] :engine_type
@@ -478,6 +474,11 @@ module Aws::MQ
478
474
  #
479
475
  # @option params [required, Array<Types::User>] :users
480
476
  #
477
+ # @option params [String] :data_replication_mode
478
+ # Specifies whether a broker is a part of a data replication pair.
479
+ #
480
+ # @option params [String] :data_replication_primary_broker_arn
481
+ #
481
482
  # @return [Types::CreateBrokerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
482
483
  #
483
484
  # * {Types::CreateBrokerResponse#broker_arn #broker_arn} => String
@@ -537,8 +538,11 @@ module Aws::MQ
537
538
  # groups: ["__string"],
538
539
  # password: "__string", # required
539
540
  # username: "__string", # required
541
+ # replication_user: false,
540
542
  # },
541
543
  # ],
544
+ # data_replication_mode: "NONE", # accepts NONE, CRDR
545
+ # data_replication_primary_broker_arn: "__string",
542
546
  # })
543
547
  #
544
548
  # @example Response structure
@@ -641,6 +645,12 @@ module Aws::MQ
641
645
 
642
646
  # Creates an ActiveMQ user.
643
647
  #
648
+ # Do not add personally identifiable information (PII) or other
649
+ # confidential or sensitive information in broker usernames. Broker
650
+ # usernames are accessible to other Amazon Web Services services,
651
+ # including CloudWatch Logs. Broker usernames are not intended to be
652
+ # used for private or sensitive data.
653
+ #
644
654
  # @option params [required, String] :broker_id
645
655
  #
646
656
  # @option params [Boolean] :console_access
@@ -651,6 +661,8 @@ module Aws::MQ
651
661
  #
652
662
  # @option params [required, String] :username
653
663
  #
664
+ # @option params [Boolean] :replication_user
665
+ #
654
666
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
655
667
  #
656
668
  # @example Request syntax with placeholder values
@@ -661,6 +673,7 @@ module Aws::MQ
661
673
  # groups: ["__string"],
662
674
  # password: "__string", # required
663
675
  # username: "__string", # required
676
+ # replication_user: false,
664
677
  # })
665
678
  #
666
679
  # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateUser AWS API Documentation
@@ -782,6 +795,10 @@ module Aws::MQ
782
795
  # * {Types::DescribeBrokerResponse#subnet_ids #subnet_ids} => Array&lt;String&gt;
783
796
  # * {Types::DescribeBrokerResponse#tags #tags} => Hash&lt;String,String&gt;
784
797
  # * {Types::DescribeBrokerResponse#users #users} => Array&lt;Types::UserSummary&gt;
798
+ # * {Types::DescribeBrokerResponse#data_replication_metadata #data_replication_metadata} => Types::DataReplicationMetadataOutput
799
+ # * {Types::DescribeBrokerResponse#data_replication_mode #data_replication_mode} => String
800
+ # * {Types::DescribeBrokerResponse#pending_data_replication_metadata #pending_data_replication_metadata} => Types::DataReplicationMetadataOutput
801
+ # * {Types::DescribeBrokerResponse#pending_data_replication_mode #pending_data_replication_mode} => String
785
802
  #
786
803
  # @example Request syntax with placeholder values
787
804
  #
@@ -804,7 +821,7 @@ module Aws::MQ
804
821
  # resp.broker_instances[0].endpoints[0] #=> String
805
822
  # resp.broker_instances[0].ip_address #=> String
806
823
  # resp.broker_name #=> String
807
- # resp.broker_state #=> String, one of "CREATION_IN_PROGRESS", "CREATION_FAILED", "DELETION_IN_PROGRESS", "RUNNING", "REBOOT_IN_PROGRESS", "CRITICAL_ACTION_REQUIRED"
824
+ # resp.broker_state #=> String, one of "CREATION_IN_PROGRESS", "CREATION_FAILED", "DELETION_IN_PROGRESS", "RUNNING", "REBOOT_IN_PROGRESS", "CRITICAL_ACTION_REQUIRED", "REPLICA"
808
825
  # resp.configurations.current.id #=> String
809
826
  # resp.configurations.current.revision #=> Integer
810
827
  # resp.configurations.history #=> Array
@@ -866,6 +883,14 @@ module Aws::MQ
866
883
  # resp.users #=> Array
867
884
  # resp.users[0].pending_change #=> String, one of "CREATE", "UPDATE", "DELETE"
868
885
  # resp.users[0].username #=> String
886
+ # resp.data_replication_metadata.data_replication_counterpart.broker_id #=> String
887
+ # resp.data_replication_metadata.data_replication_counterpart.region #=> String
888
+ # resp.data_replication_metadata.data_replication_role #=> String
889
+ # resp.data_replication_mode #=> String, one of "NONE", "CRDR"
890
+ # resp.pending_data_replication_metadata.data_replication_counterpart.broker_id #=> String
891
+ # resp.pending_data_replication_metadata.data_replication_counterpart.region #=> String
892
+ # resp.pending_data_replication_metadata.data_replication_role #=> String
893
+ # resp.pending_data_replication_mode #=> String, one of "NONE", "CRDR"
869
894
  #
870
895
  # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBroker AWS API Documentation
871
896
  #
@@ -1066,6 +1091,7 @@ module Aws::MQ
1066
1091
  # * {Types::DescribeUserResponse#groups #groups} => Array&lt;String&gt;
1067
1092
  # * {Types::DescribeUserResponse#pending #pending} => Types::UserPendingChanges
1068
1093
  # * {Types::DescribeUserResponse#username #username} => String
1094
+ # * {Types::DescribeUserResponse#replication_user #replication_user} => Boolean
1069
1095
  #
1070
1096
  # @example Request syntax with placeholder values
1071
1097
  #
@@ -1085,6 +1111,7 @@ module Aws::MQ
1085
1111
  # resp.pending.groups[0] #=> String
1086
1112
  # resp.pending.pending_change #=> String, one of "CREATE", "UPDATE", "DELETE"
1087
1113
  # resp.username #=> String
1114
+ # resp.replication_user #=> Boolean
1088
1115
  #
1089
1116
  # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeUser AWS API Documentation
1090
1117
  #
@@ -1121,7 +1148,7 @@ module Aws::MQ
1121
1148
  # resp.broker_summaries[0].broker_arn #=> String
1122
1149
  # resp.broker_summaries[0].broker_id #=> String
1123
1150
  # resp.broker_summaries[0].broker_name #=> String
1124
- # resp.broker_summaries[0].broker_state #=> String, one of "CREATION_IN_PROGRESS", "CREATION_FAILED", "DELETION_IN_PROGRESS", "RUNNING", "REBOOT_IN_PROGRESS", "CRITICAL_ACTION_REQUIRED"
1151
+ # resp.broker_summaries[0].broker_state #=> String, one of "CREATION_IN_PROGRESS", "CREATION_FAILED", "DELETION_IN_PROGRESS", "RUNNING", "REBOOT_IN_PROGRESS", "CRITICAL_ACTION_REQUIRED", "REPLICA"
1125
1152
  # resp.broker_summaries[0].created #=> Time
1126
1153
  # resp.broker_summaries[0].deployment_mode #=> String, one of "SINGLE_INSTANCE", "ACTIVE_STANDBY_MULTI_AZ", "CLUSTER_MULTI_AZ"
1127
1154
  # resp.broker_summaries[0].engine_type #=> String, one of "ACTIVEMQ", "RABBITMQ"
@@ -1295,6 +1322,37 @@ module Aws::MQ
1295
1322
  req.send_request(options)
1296
1323
  end
1297
1324
 
1325
+ # Promotes a data replication replica broker to the primary broker role.
1326
+ #
1327
+ # @option params [required, String] :broker_id
1328
+ #
1329
+ # @option params [required, String] :mode
1330
+ # The Promote mode requested.
1331
+ #
1332
+ # @return [Types::PromoteResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1333
+ #
1334
+ # * {Types::PromoteResponse#broker_id #broker_id} => String
1335
+ #
1336
+ # @example Request syntax with placeholder values
1337
+ #
1338
+ # resp = client.promote({
1339
+ # broker_id: "__string", # required
1340
+ # mode: "SWITCHOVER", # required, accepts SWITCHOVER, FAILOVER
1341
+ # })
1342
+ #
1343
+ # @example Response structure
1344
+ #
1345
+ # resp.broker_id #=> String
1346
+ #
1347
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/Promote AWS API Documentation
1348
+ #
1349
+ # @overload promote(params = {})
1350
+ # @param [Hash] params ({})
1351
+ def promote(params = {}, options = {})
1352
+ req = build_request(:promote, params)
1353
+ req.send_request(options)
1354
+ end
1355
+
1298
1356
  # Reboots a broker. Note: This API is asynchronous.
1299
1357
  #
1300
1358
  # @option params [required, String] :broker_id
@@ -1329,8 +1387,6 @@ module Aws::MQ
1329
1387
  # @option params [Types::ConfigurationId] :configuration
1330
1388
  # A list of information about the configuration.
1331
1389
  #
1332
- # Does not apply to RabbitMQ brokers.
1333
- #
1334
1390
  # @option params [String] :engine_version
1335
1391
  #
1336
1392
  # @option params [String] :host_instance_type
@@ -1351,6 +1407,9 @@ module Aws::MQ
1351
1407
  #
1352
1408
  # @option params [Array<String>] :security_groups
1353
1409
  #
1410
+ # @option params [String] :data_replication_mode
1411
+ # Specifies whether a broker is a part of a data replication pair.
1412
+ #
1354
1413
  # @return [Types::UpdateBrokerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1355
1414
  #
1356
1415
  # * {Types::UpdateBrokerResponse#authentication_strategy #authentication_strategy} => String
@@ -1363,6 +1422,10 @@ module Aws::MQ
1363
1422
  # * {Types::UpdateBrokerResponse#logs #logs} => Types::Logs
1364
1423
  # * {Types::UpdateBrokerResponse#maintenance_window_start_time #maintenance_window_start_time} => Types::WeeklyStartTime
1365
1424
  # * {Types::UpdateBrokerResponse#security_groups #security_groups} => Array&lt;String&gt;
1425
+ # * {Types::UpdateBrokerResponse#data_replication_metadata #data_replication_metadata} => Types::DataReplicationMetadataOutput
1426
+ # * {Types::UpdateBrokerResponse#data_replication_mode #data_replication_mode} => String
1427
+ # * {Types::UpdateBrokerResponse#pending_data_replication_metadata #pending_data_replication_metadata} => Types::DataReplicationMetadataOutput
1428
+ # * {Types::UpdateBrokerResponse#pending_data_replication_mode #pending_data_replication_mode} => String
1366
1429
  #
1367
1430
  # @example Request syntax with placeholder values
1368
1431
  #
@@ -1399,6 +1462,7 @@ module Aws::MQ
1399
1462
  # time_zone: "__string",
1400
1463
  # },
1401
1464
  # security_groups: ["__string"],
1465
+ # data_replication_mode: "NONE", # accepts NONE, CRDR
1402
1466
  # })
1403
1467
  #
1404
1468
  # @example Response structure
@@ -1428,6 +1492,14 @@ module Aws::MQ
1428
1492
  # resp.maintenance_window_start_time.time_zone #=> String
1429
1493
  # resp.security_groups #=> Array
1430
1494
  # resp.security_groups[0] #=> String
1495
+ # resp.data_replication_metadata.data_replication_counterpart.broker_id #=> String
1496
+ # resp.data_replication_metadata.data_replication_counterpart.region #=> String
1497
+ # resp.data_replication_metadata.data_replication_role #=> String
1498
+ # resp.data_replication_mode #=> String, one of "NONE", "CRDR"
1499
+ # resp.pending_data_replication_metadata.data_replication_counterpart.broker_id #=> String
1500
+ # resp.pending_data_replication_metadata.data_replication_counterpart.region #=> String
1501
+ # resp.pending_data_replication_metadata.data_replication_role #=> String
1502
+ # resp.pending_data_replication_mode #=> String, one of "NONE", "CRDR"
1431
1503
  #
1432
1504
  # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateBroker AWS API Documentation
1433
1505
  #
@@ -1498,6 +1570,8 @@ module Aws::MQ
1498
1570
  #
1499
1571
  # @option params [required, String] :username
1500
1572
  #
1573
+ # @option params [Boolean] :replication_user
1574
+ #
1501
1575
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1502
1576
  #
1503
1577
  # @example Request syntax with placeholder values
@@ -1508,6 +1582,7 @@ module Aws::MQ
1508
1582
  # groups: ["__string"],
1509
1583
  # password: "__string",
1510
1584
  # username: "__string", # required
1585
+ # replication_user: false,
1511
1586
  # })
1512
1587
  #
1513
1588
  # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateUser AWS API Documentation
@@ -1532,7 +1607,7 @@ module Aws::MQ
1532
1607
  params: params,
1533
1608
  config: config)
1534
1609
  context[:gem_name] = 'aws-sdk-mq'
1535
- context[:gem_version] = '1.51.0'
1610
+ context[:gem_version] = '1.52.0'
1536
1611
  Seahorse::Client::Request.new(handlers, context)
1537
1612
  end
1538
1613
 
@@ -43,6 +43,9 @@ module Aws::MQ
43
43
  CreateUserInput = Shapes::StructureShape.new(name: 'CreateUserInput')
44
44
  CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
45
45
  CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
46
+ DataReplicationCounterpart = Shapes::StructureShape.new(name: 'DataReplicationCounterpart')
47
+ DataReplicationMetadataOutput = Shapes::StructureShape.new(name: 'DataReplicationMetadataOutput')
48
+ DataReplicationMode = Shapes::StringShape.new(name: 'DataReplicationMode')
46
49
  DayOfWeek = Shapes::StringShape.new(name: 'DayOfWeek')
47
50
  DeleteBrokerOutput = Shapes::StructureShape.new(name: 'DeleteBrokerOutput')
48
51
  DeleteBrokerRequest = Shapes::StructureShape.new(name: 'DeleteBrokerRequest')
@@ -93,6 +96,11 @@ module Aws::MQ
93
96
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
94
97
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
95
98
  PendingLogs = Shapes::StructureShape.new(name: 'PendingLogs')
99
+ PromoteInput = Shapes::StructureShape.new(name: 'PromoteInput')
100
+ PromoteMode = Shapes::StringShape.new(name: 'PromoteMode')
101
+ PromoteOutput = Shapes::StructureShape.new(name: 'PromoteOutput')
102
+ PromoteRequest = Shapes::StructureShape.new(name: 'PromoteRequest')
103
+ PromoteResponse = Shapes::StructureShape.new(name: 'PromoteResponse')
96
104
  RebootBrokerRequest = Shapes::StructureShape.new(name: 'RebootBrokerRequest')
97
105
  RebootBrokerResponse = Shapes::StructureShape.new(name: 'RebootBrokerResponse')
98
106
  SanitizationWarning = Shapes::StructureShape.new(name: 'SanitizationWarning')
@@ -223,6 +231,8 @@ module Aws::MQ
223
231
  CreateBrokerInput.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "configuration"))
224
232
  CreateBrokerInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: __string, location_name: "creatorRequestId", metadata: {"idempotencyToken"=>true}))
225
233
  CreateBrokerInput.add_member(:deployment_mode, Shapes::ShapeRef.new(shape: DeploymentMode, required: true, location_name: "deploymentMode"))
234
+ CreateBrokerInput.add_member(:data_replication_mode, Shapes::ShapeRef.new(shape: DataReplicationMode, location_name: "dataReplicationMode"))
235
+ CreateBrokerInput.add_member(:data_replication_primary_broker_arn, Shapes::ShapeRef.new(shape: __string, location_name: "dataReplicationPrimaryBrokerArn"))
226
236
  CreateBrokerInput.add_member(:encryption_options, Shapes::ShapeRef.new(shape: EncryptionOptions, location_name: "encryptionOptions"))
227
237
  CreateBrokerInput.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, required: true, location_name: "engineType"))
228
238
  CreateBrokerInput.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "engineVersion"))
@@ -261,6 +271,8 @@ module Aws::MQ
261
271
  CreateBrokerRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "subnetIds"))
262
272
  CreateBrokerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
263
273
  CreateBrokerRequest.add_member(:users, Shapes::ShapeRef.new(shape: __listOfUser, required: true, location_name: "users"))
274
+ CreateBrokerRequest.add_member(:data_replication_mode, Shapes::ShapeRef.new(shape: DataReplicationMode, location_name: "dataReplicationMode"))
275
+ CreateBrokerRequest.add_member(:data_replication_primary_broker_arn, Shapes::ShapeRef.new(shape: __string, location_name: "dataReplicationPrimaryBrokerArn"))
264
276
  CreateBrokerRequest.struct_class = Types::CreateBrokerRequest
265
277
 
266
278
  CreateBrokerResponse.add_member(:broker_arn, Shapes::ShapeRef.new(shape: __string, location_name: "brokerArn"))
@@ -304,6 +316,7 @@ module Aws::MQ
304
316
  CreateUserInput.add_member(:console_access, Shapes::ShapeRef.new(shape: __boolean, location_name: "consoleAccess"))
305
317
  CreateUserInput.add_member(:groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "groups"))
306
318
  CreateUserInput.add_member(:password, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "password"))
319
+ CreateUserInput.add_member(:replication_user, Shapes::ShapeRef.new(shape: __boolean, location_name: "replicationUser"))
307
320
  CreateUserInput.struct_class = Types::CreateUserInput
308
321
 
309
322
  CreateUserRequest.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "broker-id"))
@@ -311,10 +324,19 @@ module Aws::MQ
311
324
  CreateUserRequest.add_member(:groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "groups"))
312
325
  CreateUserRequest.add_member(:password, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "password"))
313
326
  CreateUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "username"))
327
+ CreateUserRequest.add_member(:replication_user, Shapes::ShapeRef.new(shape: __boolean, location_name: "replicationUser"))
314
328
  CreateUserRequest.struct_class = Types::CreateUserRequest
315
329
 
316
330
  CreateUserResponse.struct_class = Types::CreateUserResponse
317
331
 
332
+ DataReplicationCounterpart.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "brokerId"))
333
+ DataReplicationCounterpart.add_member(:region, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "region"))
334
+ DataReplicationCounterpart.struct_class = Types::DataReplicationCounterpart
335
+
336
+ DataReplicationMetadataOutput.add_member(:data_replication_counterpart, Shapes::ShapeRef.new(shape: DataReplicationCounterpart, location_name: "dataReplicationCounterpart"))
337
+ DataReplicationMetadataOutput.add_member(:data_replication_role, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "dataReplicationRole"))
338
+ DataReplicationMetadataOutput.struct_class = Types::DataReplicationMetadataOutput
339
+
318
340
  DeleteBrokerOutput.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
319
341
  DeleteBrokerOutput.struct_class = Types::DeleteBrokerOutput
320
342
 
@@ -367,6 +389,8 @@ module Aws::MQ
367
389
  DescribeBrokerOutput.add_member(:configurations, Shapes::ShapeRef.new(shape: Configurations, location_name: "configurations"))
368
390
  DescribeBrokerOutput.add_member(:created, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "created"))
369
391
  DescribeBrokerOutput.add_member(:deployment_mode, Shapes::ShapeRef.new(shape: DeploymentMode, required: true, location_name: "deploymentMode"))
392
+ DescribeBrokerOutput.add_member(:data_replication_metadata, Shapes::ShapeRef.new(shape: DataReplicationMetadataOutput, location_name: "dataReplicationMetadata"))
393
+ DescribeBrokerOutput.add_member(:data_replication_mode, Shapes::ShapeRef.new(shape: DataReplicationMode, location_name: "dataReplicationMode"))
370
394
  DescribeBrokerOutput.add_member(:encryption_options, Shapes::ShapeRef.new(shape: EncryptionOptions, location_name: "encryptionOptions"))
371
395
  DescribeBrokerOutput.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, required: true, location_name: "engineType"))
372
396
  DescribeBrokerOutput.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
@@ -375,6 +399,8 @@ module Aws::MQ
375
399
  DescribeBrokerOutput.add_member(:logs, Shapes::ShapeRef.new(shape: LogsSummary, location_name: "logs"))
376
400
  DescribeBrokerOutput.add_member(:maintenance_window_start_time, Shapes::ShapeRef.new(shape: WeeklyStartTime, location_name: "maintenanceWindowStartTime"))
377
401
  DescribeBrokerOutput.add_member(:pending_authentication_strategy, Shapes::ShapeRef.new(shape: AuthenticationStrategy, location_name: "pendingAuthenticationStrategy"))
402
+ DescribeBrokerOutput.add_member(:pending_data_replication_metadata, Shapes::ShapeRef.new(shape: DataReplicationMetadataOutput, location_name: "pendingDataReplicationMetadata"))
403
+ DescribeBrokerOutput.add_member(:pending_data_replication_mode, Shapes::ShapeRef.new(shape: DataReplicationMode, location_name: "pendingDataReplicationMode"))
378
404
  DescribeBrokerOutput.add_member(:pending_engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "pendingEngineVersion"))
379
405
  DescribeBrokerOutput.add_member(:pending_host_instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "pendingHostInstanceType"))
380
406
  DescribeBrokerOutput.add_member(:pending_ldap_server_metadata, Shapes::ShapeRef.new(shape: LdapServerMetadataOutput, location_name: "pendingLdapServerMetadata"))
@@ -419,6 +445,10 @@ module Aws::MQ
419
445
  DescribeBrokerResponse.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "subnetIds"))
420
446
  DescribeBrokerResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
421
447
  DescribeBrokerResponse.add_member(:users, Shapes::ShapeRef.new(shape: __listOfUserSummary, location_name: "users"))
448
+ DescribeBrokerResponse.add_member(:data_replication_metadata, Shapes::ShapeRef.new(shape: DataReplicationMetadataOutput, location_name: "dataReplicationMetadata"))
449
+ DescribeBrokerResponse.add_member(:data_replication_mode, Shapes::ShapeRef.new(shape: DataReplicationMode, location_name: "dataReplicationMode"))
450
+ DescribeBrokerResponse.add_member(:pending_data_replication_metadata, Shapes::ShapeRef.new(shape: DataReplicationMetadataOutput, location_name: "pendingDataReplicationMetadata"))
451
+ DescribeBrokerResponse.add_member(:pending_data_replication_mode, Shapes::ShapeRef.new(shape: DataReplicationMode, location_name: "pendingDataReplicationMode"))
422
452
  DescribeBrokerResponse.struct_class = Types::DescribeBrokerResponse
423
453
 
424
454
  DescribeConfigurationRequest.add_member(:configuration_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "configuration-id"))
@@ -456,6 +486,7 @@ module Aws::MQ
456
486
  DescribeUserOutput.add_member(:console_access, Shapes::ShapeRef.new(shape: __boolean, location_name: "consoleAccess"))
457
487
  DescribeUserOutput.add_member(:groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "groups"))
458
488
  DescribeUserOutput.add_member(:pending, Shapes::ShapeRef.new(shape: UserPendingChanges, location_name: "pending"))
489
+ DescribeUserOutput.add_member(:replication_user, Shapes::ShapeRef.new(shape: __boolean, location_name: "replicationUser"))
459
490
  DescribeUserOutput.add_member(:username, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "username"))
460
491
  DescribeUserOutput.struct_class = Types::DescribeUserOutput
461
492
 
@@ -468,6 +499,7 @@ module Aws::MQ
468
499
  DescribeUserResponse.add_member(:groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "groups"))
469
500
  DescribeUserResponse.add_member(:pending, Shapes::ShapeRef.new(shape: UserPendingChanges, location_name: "pending"))
470
501
  DescribeUserResponse.add_member(:username, Shapes::ShapeRef.new(shape: __string, location_name: "username"))
502
+ DescribeUserResponse.add_member(:replication_user, Shapes::ShapeRef.new(shape: __boolean, location_name: "replicationUser"))
471
503
  DescribeUserResponse.struct_class = Types::DescribeUserResponse
472
504
 
473
505
  EncryptionOptions.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: __string, location_name: "kmsKeyId"))
@@ -599,6 +631,19 @@ module Aws::MQ
599
631
  PendingLogs.add_member(:general, Shapes::ShapeRef.new(shape: __boolean, location_name: "general"))
600
632
  PendingLogs.struct_class = Types::PendingLogs
601
633
 
634
+ PromoteInput.add_member(:mode, Shapes::ShapeRef.new(shape: PromoteMode, required: true, location_name: "mode"))
635
+ PromoteInput.struct_class = Types::PromoteInput
636
+
637
+ PromoteOutput.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
638
+ PromoteOutput.struct_class = Types::PromoteOutput
639
+
640
+ PromoteRequest.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "broker-id"))
641
+ PromoteRequest.add_member(:mode, Shapes::ShapeRef.new(shape: PromoteMode, required: true, location_name: "mode"))
642
+ PromoteRequest.struct_class = Types::PromoteRequest
643
+
644
+ PromoteResponse.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
645
+ PromoteResponse.struct_class = Types::PromoteResponse
646
+
602
647
  RebootBrokerRequest.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "broker-id"))
603
648
  RebootBrokerRequest.struct_class = Types::RebootBrokerRequest
604
649
 
@@ -619,6 +664,7 @@ module Aws::MQ
619
664
  UpdateBrokerInput.add_member(:authentication_strategy, Shapes::ShapeRef.new(shape: AuthenticationStrategy, location_name: "authenticationStrategy"))
620
665
  UpdateBrokerInput.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: __boolean, location_name: "autoMinorVersionUpgrade"))
621
666
  UpdateBrokerInput.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "configuration"))
667
+ UpdateBrokerInput.add_member(:data_replication_mode, Shapes::ShapeRef.new(shape: DataReplicationMode, location_name: "dataReplicationMode"))
622
668
  UpdateBrokerInput.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
623
669
  UpdateBrokerInput.add_member(:host_instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "hostInstanceType"))
624
670
  UpdateBrokerInput.add_member(:ldap_server_metadata, Shapes::ShapeRef.new(shape: LdapServerMetadataInput, location_name: "ldapServerMetadata"))
@@ -631,11 +677,15 @@ module Aws::MQ
631
677
  UpdateBrokerOutput.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: __boolean, location_name: "autoMinorVersionUpgrade"))
632
678
  UpdateBrokerOutput.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "brokerId"))
633
679
  UpdateBrokerOutput.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "configuration"))
680
+ UpdateBrokerOutput.add_member(:data_replication_metadata, Shapes::ShapeRef.new(shape: DataReplicationMetadataOutput, location_name: "dataReplicationMetadata"))
681
+ UpdateBrokerOutput.add_member(:data_replication_mode, Shapes::ShapeRef.new(shape: DataReplicationMode, location_name: "dataReplicationMode"))
634
682
  UpdateBrokerOutput.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
635
683
  UpdateBrokerOutput.add_member(:host_instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "hostInstanceType"))
636
684
  UpdateBrokerOutput.add_member(:ldap_server_metadata, Shapes::ShapeRef.new(shape: LdapServerMetadataOutput, location_name: "ldapServerMetadata"))
637
685
  UpdateBrokerOutput.add_member(:logs, Shapes::ShapeRef.new(shape: Logs, location_name: "logs"))
638
686
  UpdateBrokerOutput.add_member(:maintenance_window_start_time, Shapes::ShapeRef.new(shape: WeeklyStartTime, location_name: "maintenanceWindowStartTime"))
687
+ UpdateBrokerOutput.add_member(:pending_data_replication_metadata, Shapes::ShapeRef.new(shape: DataReplicationMetadataOutput, location_name: "pendingDataReplicationMetadata"))
688
+ UpdateBrokerOutput.add_member(:pending_data_replication_mode, Shapes::ShapeRef.new(shape: DataReplicationMode, location_name: "pendingDataReplicationMode"))
639
689
  UpdateBrokerOutput.add_member(:security_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroups"))
640
690
  UpdateBrokerOutput.struct_class = Types::UpdateBrokerOutput
641
691
 
@@ -649,6 +699,7 @@ module Aws::MQ
649
699
  UpdateBrokerRequest.add_member(:logs, Shapes::ShapeRef.new(shape: Logs, location_name: "logs"))
650
700
  UpdateBrokerRequest.add_member(:maintenance_window_start_time, Shapes::ShapeRef.new(shape: WeeklyStartTime, location_name: "maintenanceWindowStartTime"))
651
701
  UpdateBrokerRequest.add_member(:security_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroups"))
702
+ UpdateBrokerRequest.add_member(:data_replication_mode, Shapes::ShapeRef.new(shape: DataReplicationMode, location_name: "dataReplicationMode"))
652
703
  UpdateBrokerRequest.struct_class = Types::UpdateBrokerRequest
653
704
 
654
705
  UpdateBrokerResponse.add_member(:authentication_strategy, Shapes::ShapeRef.new(shape: AuthenticationStrategy, location_name: "authenticationStrategy"))
@@ -661,6 +712,10 @@ module Aws::MQ
661
712
  UpdateBrokerResponse.add_member(:logs, Shapes::ShapeRef.new(shape: Logs, location_name: "logs"))
662
713
  UpdateBrokerResponse.add_member(:maintenance_window_start_time, Shapes::ShapeRef.new(shape: WeeklyStartTime, location_name: "maintenanceWindowStartTime"))
663
714
  UpdateBrokerResponse.add_member(:security_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroups"))
715
+ UpdateBrokerResponse.add_member(:data_replication_metadata, Shapes::ShapeRef.new(shape: DataReplicationMetadataOutput, location_name: "dataReplicationMetadata"))
716
+ UpdateBrokerResponse.add_member(:data_replication_mode, Shapes::ShapeRef.new(shape: DataReplicationMode, location_name: "dataReplicationMode"))
717
+ UpdateBrokerResponse.add_member(:pending_data_replication_metadata, Shapes::ShapeRef.new(shape: DataReplicationMetadataOutput, location_name: "pendingDataReplicationMetadata"))
718
+ UpdateBrokerResponse.add_member(:pending_data_replication_mode, Shapes::ShapeRef.new(shape: DataReplicationMode, location_name: "pendingDataReplicationMode"))
664
719
  UpdateBrokerResponse.struct_class = Types::UpdateBrokerResponse
665
720
 
666
721
  UpdateConfigurationInput.add_member(:data, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "data"))
@@ -691,6 +746,7 @@ module Aws::MQ
691
746
  UpdateUserInput.add_member(:console_access, Shapes::ShapeRef.new(shape: __boolean, location_name: "consoleAccess"))
692
747
  UpdateUserInput.add_member(:groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "groups"))
693
748
  UpdateUserInput.add_member(:password, Shapes::ShapeRef.new(shape: __string, location_name: "password"))
749
+ UpdateUserInput.add_member(:replication_user, Shapes::ShapeRef.new(shape: __boolean, location_name: "replicationUser"))
694
750
  UpdateUserInput.struct_class = Types::UpdateUserInput
695
751
 
696
752
  UpdateUserRequest.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "broker-id"))
@@ -698,6 +754,7 @@ module Aws::MQ
698
754
  UpdateUserRequest.add_member(:groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "groups"))
699
755
  UpdateUserRequest.add_member(:password, Shapes::ShapeRef.new(shape: __string, location_name: "password"))
700
756
  UpdateUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "username"))
757
+ UpdateUserRequest.add_member(:replication_user, Shapes::ShapeRef.new(shape: __boolean, location_name: "replicationUser"))
701
758
  UpdateUserRequest.struct_class = Types::UpdateUserRequest
702
759
 
703
760
  UpdateUserResponse.struct_class = Types::UpdateUserResponse
@@ -706,6 +763,7 @@ module Aws::MQ
706
763
  User.add_member(:groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "groups"))
707
764
  User.add_member(:password, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "password"))
708
765
  User.add_member(:username, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "username"))
766
+ User.add_member(:replication_user, Shapes::ShapeRef.new(shape: __boolean, location_name: "replicationUser"))
709
767
  User.struct_class = Types::User
710
768
 
711
769
  UserPendingChanges.add_member(:console_access, Shapes::ShapeRef.new(shape: __boolean, location_name: "consoleAccess"))
@@ -993,6 +1051,18 @@ module Aws::MQ
993
1051
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
994
1052
  end)
995
1053
 
1054
+ api.add_operation(:promote, Seahorse::Model::Operation.new.tap do |o|
1055
+ o.name = "Promote"
1056
+ o.http_method = "POST"
1057
+ o.http_request_uri = "/v1/brokers/{broker-id}/promote"
1058
+ o.input = Shapes::ShapeRef.new(shape: PromoteRequest)
1059
+ o.output = Shapes::ShapeRef.new(shape: PromoteResponse)
1060
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1061
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1062
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1063
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1064
+ end)
1065
+
996
1066
  api.add_operation(:reboot_broker, Seahorse::Model::Operation.new.tap do |o|
997
1067
  o.name = "RebootBroker"
998
1068
  o.http_method = "POST"
@@ -1043,15 +1113,6 @@ module Aws::MQ
1043
1113
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1044
1114
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1045
1115
  end)
1046
-
1047
- api.add_authorizer(:authorization_strategy, Seahorse::Model::Authorizer.new.tap do |a|
1048
- a.name = "authorization_strategy"
1049
- a.type = "provided"
1050
- a.placement = {
1051
- :location => "header",
1052
- :name => "Authorization"
1053
- }
1054
- end)
1055
1116
  end
1056
1117
 
1057
1118
  end
@@ -14,36 +14,39 @@ module Aws::MQ
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://mq-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://mq-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://mq.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://mq-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://mq-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://mq.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://mq.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://mq.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -264,6 +264,20 @@ module Aws::MQ
264
264
  end
265
265
  end
266
266
 
267
+ class Promote
268
+ def self.build(context)
269
+ unless context.config.regional_endpoint
270
+ endpoint = context.config.endpoint.to_s
271
+ end
272
+ Aws::MQ::EndpointParameters.new(
273
+ region: context.config.region,
274
+ use_dual_stack: context.config.use_dualstack_endpoint,
275
+ use_fips: context.config.use_fips_endpoint,
276
+ endpoint: endpoint,
277
+ )
278
+ end
279
+ end
280
+
267
281
  class RebootBroker
268
282
  def self.build(context)
269
283
  unless context.config.regional_endpoint
@@ -92,6 +92,8 @@ module Aws::MQ
92
92
  Aws::MQ::Endpoints::ListTags.build(context)
93
93
  when :list_users
94
94
  Aws::MQ::Endpoints::ListUsers.build(context)
95
+ when :promote
96
+ Aws::MQ::Endpoints::Promote.build(context)
95
97
  when :reboot_broker
96
98
  Aws::MQ::Endpoints::RebootBroker.build(context)
97
99
  when :update_broker