Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Adds a pending configuration change to a broker.
Synopsis
- updateBroker :: Text -> UpdateBroker
- data UpdateBroker
- ubConfiguration :: Lens' UpdateBroker (Maybe ConfigurationId)
- ubBrokerId :: Lens' UpdateBroker Text
- updateBrokerResponse :: Int -> UpdateBrokerResponse
- data UpdateBrokerResponse
- ubrsConfiguration :: Lens' UpdateBrokerResponse (Maybe ConfigurationId)
- ubrsBrokerId :: Lens' UpdateBrokerResponse (Maybe Text)
- ubrsResponseStatus :: Lens' UpdateBrokerResponse Int
Creating a Request
Creates a value of UpdateBroker
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ubConfiguration
- A list of information about the configuration.ubBrokerId
- The name of the broker. This value must be unique in your AWS account, 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain whitespaces, brackets, wildcard characters, or special characters.
data UpdateBroker Source #
Updates the broker using the specified properties.
See: updateBroker
smart constructor.
Instances
Request Lenses
ubConfiguration :: Lens' UpdateBroker (Maybe ConfigurationId) Source #
A list of information about the configuration.
ubBrokerId :: Lens' UpdateBroker Text Source #
The name of the broker. This value must be unique in your AWS account, 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain whitespaces, brackets, wildcard characters, or special characters.
Destructuring the Response
Creates a value of UpdateBrokerResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ubrsConfiguration
- The ID of the updated configuration.ubrsBrokerId
- Required. The unique ID that Amazon MQ generates for the broker.ubrsResponseStatus
- -- | The response status code.
data UpdateBrokerResponse Source #
See: updateBrokerResponse
smart constructor.
Instances
Response Lenses
ubrsConfiguration :: Lens' UpdateBrokerResponse (Maybe ConfigurationId) Source #
The ID of the updated configuration.
ubrsBrokerId :: Lens' UpdateBrokerResponse (Maybe Text) Source #
Required. The unique ID that Amazon MQ generates for the broker.
ubrsResponseStatus :: Lens' UpdateBrokerResponse Int Source #
- - | The response status code.