update_broker
async
¶
update_broker(
broker_id: __string,
*,
config_overrides: Optional[AsyncmqClientConfig] = 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/async_mq.py
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 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 | |