Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Adds a pending configuration change to a broker.
Synopsis
- data UpdateBroker = UpdateBroker' {
- engineVersion :: Maybe Text
- autoMinorVersionUpgrade :: Maybe Bool
- securityGroups :: Maybe [Text]
- authenticationStrategy :: Maybe AuthenticationStrategy
- ldapServerMetadata :: Maybe LdapServerMetadataInput
- maintenanceWindowStartTime :: Maybe WeeklyStartTime
- logs :: Maybe Logs
- configuration :: Maybe ConfigurationId
- hostInstanceType :: Maybe Text
- brokerId :: Text
- newUpdateBroker :: Text -> UpdateBroker
- updateBroker_engineVersion :: Lens' UpdateBroker (Maybe Text)
- updateBroker_autoMinorVersionUpgrade :: Lens' UpdateBroker (Maybe Bool)
- updateBroker_securityGroups :: Lens' UpdateBroker (Maybe [Text])
- updateBroker_authenticationStrategy :: Lens' UpdateBroker (Maybe AuthenticationStrategy)
- updateBroker_ldapServerMetadata :: Lens' UpdateBroker (Maybe LdapServerMetadataInput)
- updateBroker_maintenanceWindowStartTime :: Lens' UpdateBroker (Maybe WeeklyStartTime)
- updateBroker_logs :: Lens' UpdateBroker (Maybe Logs)
- updateBroker_configuration :: Lens' UpdateBroker (Maybe ConfigurationId)
- updateBroker_hostInstanceType :: Lens' UpdateBroker (Maybe Text)
- updateBroker_brokerId :: Lens' UpdateBroker Text
- data UpdateBrokerResponse = UpdateBrokerResponse' {
- engineVersion :: Maybe Text
- autoMinorVersionUpgrade :: Maybe Bool
- securityGroups :: Maybe [Text]
- authenticationStrategy :: Maybe AuthenticationStrategy
- ldapServerMetadata :: Maybe LdapServerMetadataOutput
- maintenanceWindowStartTime :: Maybe WeeklyStartTime
- logs :: Maybe Logs
- configuration :: Maybe ConfigurationId
- brokerId :: Maybe Text
- hostInstanceType :: Maybe Text
- httpStatus :: Int
- newUpdateBrokerResponse :: Int -> UpdateBrokerResponse
- updateBrokerResponse_engineVersion :: Lens' UpdateBrokerResponse (Maybe Text)
- updateBrokerResponse_autoMinorVersionUpgrade :: Lens' UpdateBrokerResponse (Maybe Bool)
- updateBrokerResponse_securityGroups :: Lens' UpdateBrokerResponse (Maybe [Text])
- updateBrokerResponse_authenticationStrategy :: Lens' UpdateBrokerResponse (Maybe AuthenticationStrategy)
- updateBrokerResponse_ldapServerMetadata :: Lens' UpdateBrokerResponse (Maybe LdapServerMetadataOutput)
- updateBrokerResponse_maintenanceWindowStartTime :: Lens' UpdateBrokerResponse (Maybe WeeklyStartTime)
- updateBrokerResponse_logs :: Lens' UpdateBrokerResponse (Maybe Logs)
- updateBrokerResponse_configuration :: Lens' UpdateBrokerResponse (Maybe ConfigurationId)
- updateBrokerResponse_brokerId :: Lens' UpdateBrokerResponse (Maybe Text)
- updateBrokerResponse_hostInstanceType :: 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:
$sel:engineVersion:UpdateBroker'
, updateBroker_engineVersion
- The broker engine version. For a list of supported engine versions, see
Supported engines.
$sel:autoMinorVersionUpgrade: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.
$sel:securityGroups:UpdateBroker'
, updateBroker_securityGroups
- The list of security groups (1 minimum, 5 maximum) that authorizes
connections to brokers.
$sel:authenticationStrategy:UpdateBroker'
, updateBroker_authenticationStrategy
- Optional. The authentication strategy used to secure the broker. The
default is SIMPLE.
$sel:ldapServerMetadata: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.
$sel:maintenanceWindowStartTime:UpdateBroker'
, updateBroker_maintenanceWindowStartTime
- The parameters that determine the WeeklyStartTime.
$sel:logs:UpdateBroker'
, updateBroker_logs
- Enables Amazon CloudWatch logging for brokers.
$sel:configuration:UpdateBroker'
, updateBroker_configuration
- A list of information about the configuration.
$sel:hostInstanceType:UpdateBroker'
, updateBroker_hostInstanceType
- The broker's host instance type to upgrade to. For a list of supported
instance types, see
Broker instance types.
$sel:brokerId:UpdateBroker'
, updateBroker_brokerId
- The unique ID that Amazon MQ generates for the broker.
Request Lenses
updateBroker_engineVersion :: Lens' UpdateBroker (Maybe Text) Source #
The broker engine version. For a list of supported engine versions, see Supported engines.
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_securityGroups :: Lens' UpdateBroker (Maybe [Text]) Source #
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
updateBroker_authenticationStrategy :: Lens' UpdateBroker (Maybe AuthenticationStrategy) Source #
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
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_maintenanceWindowStartTime :: Lens' UpdateBroker (Maybe WeeklyStartTime) Source #
The parameters that determine the WeeklyStartTime.
updateBroker_logs :: Lens' UpdateBroker (Maybe Logs) Source #
Enables Amazon CloudWatch logging for brokers.
updateBroker_configuration :: Lens' UpdateBroker (Maybe ConfigurationId) Source #
A list of information about the configuration.
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_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:
$sel:engineVersion:UpdateBroker'
, updateBrokerResponse_engineVersion
- The broker engine version to upgrade to. For a list of supported engine
versions, see
Supported engines.
$sel:autoMinorVersionUpgrade: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.
$sel:securityGroups:UpdateBroker'
, updateBrokerResponse_securityGroups
- The list of security groups (1 minimum, 5 maximum) that authorizes
connections to brokers.
$sel:authenticationStrategy:UpdateBroker'
, updateBrokerResponse_authenticationStrategy
- Optional. The authentication strategy used to secure the broker. The
default is SIMPLE.
$sel:ldapServerMetadata: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.
$sel:maintenanceWindowStartTime:UpdateBroker'
, updateBrokerResponse_maintenanceWindowStartTime
- The parameters that determine the WeeklyStartTime.
$sel:logs:UpdateBroker'
, updateBrokerResponse_logs
- The list of information about logs to be enabled for the specified
broker.
$sel:configuration:UpdateBroker'
, updateBrokerResponse_configuration
- The ID of the updated configuration.
$sel:brokerId:UpdateBroker'
, updateBrokerResponse_brokerId
- Required. The unique ID that Amazon MQ generates for the broker.
$sel:hostInstanceType:UpdateBroker'
, updateBrokerResponse_hostInstanceType
- The broker's host instance type to upgrade to. For a list of supported
instance types, see
Broker instance types.
$sel:httpStatus:UpdateBrokerResponse'
, updateBrokerResponse_httpStatus
- The response's http status code.
Response Lenses
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_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_securityGroups :: Lens' UpdateBrokerResponse (Maybe [Text]) Source #
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
updateBrokerResponse_authenticationStrategy :: Lens' UpdateBrokerResponse (Maybe AuthenticationStrategy) Source #
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
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_maintenanceWindowStartTime :: Lens' UpdateBrokerResponse (Maybe WeeklyStartTime) Source #
The parameters that determine the WeeklyStartTime.
updateBrokerResponse_logs :: Lens' UpdateBrokerResponse (Maybe Logs) Source #
The list of information about logs to be enabled for the specified broker.
updateBrokerResponse_configuration :: Lens' UpdateBrokerResponse (Maybe ConfigurationId) Source #
The ID of the updated configuration.
updateBrokerResponse_brokerId :: Lens' UpdateBrokerResponse (Maybe Text) Source #
Required. The unique ID that Amazon MQ generates for the broker.
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_httpStatus :: Lens' UpdateBrokerResponse Int Source #
The response's http status code.