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 |
Synopsis
Documentation
data MessageBody Source #
Provides information about an API request or response.
See: newMessageBody
smart constructor.
Instances
newMessageBody :: MessageBody Source #
Create a value of MessageBody
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:requestID:MessageBody'
, messageBody_requestID
- The unique identifier for the request or response.
$sel:message:MessageBody'
, messageBody_message
- The message that's returned from the API.
messageBody_requestID :: Lens' MessageBody (Maybe Text) Source #
The unique identifier for the request or response.
messageBody_message :: Lens' MessageBody (Maybe Text) Source #
The message that's returned from the API.