Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Adds a pending configuration change to a broker.
Synopsis
- data UpdateBroker = UpdateBroker' {
- authenticationStrategy :: Maybe AuthenticationStrategy
- autoMinorVersionUpgrade :: Maybe Bool
- configuration :: Maybe ConfigurationId
- engineVersion :: Maybe Text
- hostInstanceType :: Maybe Text
- ldapServerMetadata :: Maybe LdapServerMetadataInput
- logs :: Maybe Logs
- maintenanceWindowStartTime :: Maybe WeeklyStartTime
- securityGroups :: Maybe [Text]
- brokerId :: Text
- newUpdateBroker :: Text -> UpdateBroker
- updateBroker_authenticationStrategy :: Lens' UpdateBroker (Maybe AuthenticationStrategy)
- updateBroker_autoMinorVersionUpgrade :: Lens' UpdateBroker (Maybe Bool)
- updateBroker_configuration :: Lens' UpdateBroker (Maybe ConfigurationId)
- updateBroker_engineVersion :: Lens' UpdateBroker (Maybe Text)
- updateBroker_hostInstanceType :: Lens' UpdateBroker (Maybe Text)
- updateBroker_ldapServerMetadata :: Lens' UpdateBroker (Maybe LdapServerMetadataInput)
- updateBroker_logs :: Lens' UpdateBroker (Maybe Logs)
- updateBroker_maintenanceWindowStartTime :: Lens' UpdateBroker (Maybe WeeklyStartTime)
- updateBroker_securityGroups :: Lens' UpdateBroker (Maybe [Text])
- updateBroker_brokerId :: Lens' UpdateBroker Text
- data UpdateBrokerResponse = UpdateBrokerResponse' {
- authenticationStrategy :: Maybe AuthenticationStrategy
- autoMinorVersionUpgrade :: Maybe Bool
- brokerId :: Maybe Text
- configuration :: Maybe ConfigurationId
- engineVersion :: Maybe Text
- hostInstanceType :: Maybe Text
- ldapServerMetadata :: Maybe LdapServerMetadataOutput
- logs :: Maybe Logs
- maintenanceWindowStartTime :: Maybe WeeklyStartTime
- securityGroups :: Maybe [Text]
- httpStatus :: Int
- newUpdateBrokerResponse :: Int -> UpdateBrokerResponse
- updateBrokerResponse_authenticationStrategy :: Lens' UpdateBrokerResponse (Maybe AuthenticationStrategy)
- updateBrokerResponse_autoMinorVersionUpgrade :: Lens' UpdateBrokerResponse (Maybe Bool)
- updateBrokerResponse_brokerId :: Lens' UpdateBrokerResponse (Maybe Text)
- updateBrokerResponse_configuration :: Lens' UpdateBrokerResponse (Maybe ConfigurationId)
- updateBrokerResponse_engineVersion :: Lens' UpdateBrokerResponse (Maybe Text)
- updateBrokerResponse_hostInstanceType :: Lens' UpdateBrokerResponse (Maybe Text)
- updateBrokerResponse_ldapServerMetadata :: Lens' UpdateBrokerResponse (Maybe LdapServerMetadataOutput)
- updateBrokerResponse_logs :: Lens' UpdateBrokerResponse (Maybe Logs)
- updateBrokerResponse_maintenanceWindowStartTime :: Lens' UpdateBrokerResponse (Maybe WeeklyStartTime)
- updateBrokerResponse_securityGroups :: Lens' UpdateBrokerResponse (Maybe [Text])
- updateBrokerResponse_httpStatus :: Lens' UpdateBrokerResponse Int
Creating a Request
data UpdateBroker Source #
Updates the broker using the specified properties.
See: newUpdateBroker
smart constructor.
UpdateBroker' | |
|
Instances
Create a value of UpdateBroker
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateBroker
, updateBroker_authenticationStrategy
- Optional. The authentication strategy used to secure the broker. The
default is SIMPLE.
UpdateBroker
, updateBroker_autoMinorVersionUpgrade
- Enables automatic upgrades to new minor versions for brokers, as new
versions are released and supported by Amazon MQ. Automatic upgrades
occur during the scheduled maintenance window of the broker or after a
manual broker reboot.
UpdateBroker
, updateBroker_configuration
- A list of information about the configuration.
UpdateBroker
, updateBroker_engineVersion
- The broker engine version. For a list of supported engine versions, see
Supported engines.
UpdateBroker
, updateBroker_hostInstanceType
- The broker's host instance type to upgrade to. For a list of supported
instance types, see
Broker instance types.
UpdateBroker
, updateBroker_ldapServerMetadata
- Optional. The metadata of the LDAP server used to authenticate and
authorize connections to the broker. Does not apply to RabbitMQ brokers.
UpdateBroker
, updateBroker_logs
- Enables Amazon CloudWatch logging for brokers.
UpdateBroker
, updateBroker_maintenanceWindowStartTime
- The parameters that determine the WeeklyStartTime.
UpdateBroker
, updateBroker_securityGroups
- The list of security groups (1 minimum, 5 maximum) that authorizes
connections to brokers.
UpdateBroker
, updateBroker_brokerId
- The unique ID that Amazon MQ generates for the broker.
Request Lenses
updateBroker_authenticationStrategy :: Lens' UpdateBroker (Maybe AuthenticationStrategy) Source #
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
updateBroker_autoMinorVersionUpgrade :: Lens' UpdateBroker (Maybe Bool) Source #
Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot.
updateBroker_configuration :: Lens' UpdateBroker (Maybe ConfigurationId) Source #
A list of information about the configuration.
updateBroker_engineVersion :: Lens' UpdateBroker (Maybe Text) Source #
The broker engine version. For a list of supported engine versions, see Supported engines.
updateBroker_hostInstanceType :: Lens' UpdateBroker (Maybe Text) Source #
The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
updateBroker_ldapServerMetadata :: Lens' UpdateBroker (Maybe LdapServerMetadataInput) Source #
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
updateBroker_logs :: Lens' UpdateBroker (Maybe Logs) Source #
Enables Amazon CloudWatch logging for brokers.
updateBroker_maintenanceWindowStartTime :: Lens' UpdateBroker (Maybe WeeklyStartTime) Source #
The parameters that determine the WeeklyStartTime.
updateBroker_securityGroups :: Lens' UpdateBroker (Maybe [Text]) Source #
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
updateBroker_brokerId :: Lens' UpdateBroker Text Source #
The unique ID that Amazon MQ generates for the broker.
Destructuring the Response
data UpdateBrokerResponse Source #
See: newUpdateBrokerResponse
smart constructor.
UpdateBrokerResponse' | |
|
Instances
newUpdateBrokerResponse Source #
Create a value of UpdateBrokerResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateBroker
, updateBrokerResponse_authenticationStrategy
- Optional. The authentication strategy used to secure the broker. The
default is SIMPLE.
UpdateBroker
, updateBrokerResponse_autoMinorVersionUpgrade
- The new boolean value that specifies whether broker engines
automatically upgrade to new minor versions as new versions are released
and supported by Amazon MQ.
UpdateBroker
, updateBrokerResponse_brokerId
- Required. The unique ID that Amazon MQ generates for the broker.
UpdateBroker
, updateBrokerResponse_configuration
- The ID of the updated configuration.
UpdateBroker
, updateBrokerResponse_engineVersion
- The broker engine version to upgrade to. For a list of supported engine
versions, see
Supported engines.
UpdateBroker
, updateBrokerResponse_hostInstanceType
- The broker's host instance type to upgrade to. For a list of supported
instance types, see
Broker instance types.
UpdateBroker
, updateBrokerResponse_ldapServerMetadata
- Optional. The metadata of the LDAP server used to authenticate and
authorize connections to the broker. Does not apply to RabbitMQ brokers.
UpdateBroker
, updateBrokerResponse_logs
- The list of information about logs to be enabled for the specified
broker.
UpdateBroker
, updateBrokerResponse_maintenanceWindowStartTime
- The parameters that determine the WeeklyStartTime.
UpdateBroker
, updateBrokerResponse_securityGroups
- The list of security groups (1 minimum, 5 maximum) that authorizes
connections to brokers.
$sel:httpStatus:UpdateBrokerResponse'
, updateBrokerResponse_httpStatus
- The response's http status code.
Response Lenses
updateBrokerResponse_authenticationStrategy :: Lens' UpdateBrokerResponse (Maybe AuthenticationStrategy) Source #
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
updateBrokerResponse_autoMinorVersionUpgrade :: Lens' UpdateBrokerResponse (Maybe Bool) Source #
The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new versions are released and supported by Amazon MQ.
updateBrokerResponse_brokerId :: Lens' UpdateBrokerResponse (Maybe Text) Source #
Required. The unique ID that Amazon MQ generates for the broker.
updateBrokerResponse_configuration :: Lens' UpdateBrokerResponse (Maybe ConfigurationId) Source #
The ID of the updated configuration.
updateBrokerResponse_engineVersion :: Lens' UpdateBrokerResponse (Maybe Text) Source #
The broker engine version to upgrade to. For a list of supported engine versions, see Supported engines.
updateBrokerResponse_hostInstanceType :: Lens' UpdateBrokerResponse (Maybe Text) Source #
The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
updateBrokerResponse_ldapServerMetadata :: Lens' UpdateBrokerResponse (Maybe LdapServerMetadataOutput) Source #
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
updateBrokerResponse_logs :: Lens' UpdateBrokerResponse (Maybe Logs) Source #
The list of information about logs to be enabled for the specified broker.
updateBrokerResponse_maintenanceWindowStartTime :: Lens' UpdateBrokerResponse (Maybe WeeklyStartTime) Source #
The parameters that determine the WeeklyStartTime.
updateBrokerResponse_securityGroups :: Lens' UpdateBrokerResponse (Maybe [Text]) Source #
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
updateBrokerResponse_httpStatus :: Lens' UpdateBrokerResponse Int Source #
The response's http status code.