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 |
Deletes a broker. Note: This API is asynchronous.
Creating a Request
Creates a value of DeleteBroker
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dbBrokerId
- 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 DeleteBroker Source #
See: deleteBroker
smart constructor.
Request Lenses
dbBrokerId :: Lens' DeleteBroker 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 DeleteBrokerResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsBrokerId
- The unique ID that Amazon MQ generates for the broker.drsResponseStatus
- -- | The response status code.
data DeleteBrokerResponse Source #
See: deleteBrokerResponse
smart constructor.
Response Lenses
drsBrokerId :: Lens' DeleteBrokerResponse (Maybe Text) Source #
The unique ID that Amazon MQ generates for the broker.
drsResponseStatus :: Lens' DeleteBrokerResponse Int Source #
- - | The response status code.