update_broker
¶
update_broker(
broker_id: __string,
*,
config_overrides: Optional[mqClientConfig] = None,
authentication_strategy: Optional[AuthenticationStrategy] = None,
auto_minor_version_upgrade: Optional[__boolean] = None,
configuration: Optional[ConfigurationId] = None,
engine_version: Optional[__string] = None,
host_instance_type: Optional[__string] = None,
ldap_server_metadata: Optional[LdapServerMetadataInput] = None,
logs: Optional[Logs] = None,
maintenance_window_start_time: Optional[WeeklyStartTime] = None,
resource_share_arns: Optional[__listOf__string] = None,
security_groups: Optional[__listOf__string] = None,
storage_size: Optional[__integer] = None,
data_replication_mode: Optional[DataReplicationMode] = None,
) -> UpdateBrokerResponse
Adds a pending configuration change to a broker.
Parameters:
-
authentication_strategy(Optional[AuthenticationStrategy], default:None) –Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
-
auto_minor_version_upgrade(Optional[__boolean], default:None) –Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot.
Must be set to true for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.
-
broker_id(__string) –The unique ID that Amazon MQ generates for the broker.
-
configuration(Optional[ConfigurationId], default:None) –A list of information about the configuration.
-
engine_version(Optional[__string], default:None) –The broker engine version. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
When upgrading to ActiveMQ version 5.18 and above or RabbitMQ version 3.13 and above, you must have autoMinorVersionUpgrade set to true for the broker.
-
host_instance_type(Optional[__string], default:None) –The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
-
ldap_server_metadata(Optional[LdapServerMetadataInput], default:None) –Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
-
logs(Optional[Logs], default:None) –Enables Amazon CloudWatch logging for brokers.
-
maintenance_window_start_time(Optional[WeeklyStartTime], default:None) –The parameters that determine the WeeklyStartTime.
-
resource_share_arns(Optional[__listOf__string], default:None) –The list of resource shares to update on the broker
-
security_groups(Optional[__listOf__string], default:None) –The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
-
storage_size(Optional[__integer], default:None) –The broker's storage size in GB.
-
data_replication_mode(Optional[DataReplicationMode], default:None) –Defines whether this broker is a part of a data replication pair.
Raises:
-
BadRequestException–Returns information about an error.
-
ConflictException–Returns information about an error.
-
ForbiddenException–Returns information about an error.
-
InternalServerErrorException–Returns information about an error.
-
NotFoundException–Returns information about an error.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mq/_services/mq.py
1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 | |