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 |
Create a partner input
Synopsis
- data CreatePartnerInput' = CreatePartnerInput'' {}
- newCreatePartnerInput' :: Text -> CreatePartnerInput'
- createPartnerInput'_requestId :: Lens' CreatePartnerInput' (Maybe Text)
- createPartnerInput'_tags :: Lens' CreatePartnerInput' (Maybe (HashMap Text Text))
- createPartnerInput'_inputId :: Lens' CreatePartnerInput' Text
- data CreatePartnerInputResponse = CreatePartnerInputResponse' {
- input :: Maybe Input
- httpStatus :: Int
- newCreatePartnerInputResponse :: Int -> CreatePartnerInputResponse
- createPartnerInputResponse_input :: Lens' CreatePartnerInputResponse (Maybe Input)
- createPartnerInputResponse_httpStatus :: Lens' CreatePartnerInputResponse Int
Creating a Request
data CreatePartnerInput' Source #
A request to create a partner input
See: newCreatePartnerInput'
smart constructor.
Instances
newCreatePartnerInput' Source #
Create a value of CreatePartnerInput'
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:CreatePartnerInput''
, createPartnerInput'_requestId
- Unique identifier of the request to ensure the request is handled
exactly once in case of retries.
CreatePartnerInput'
, createPartnerInput'_tags
- A collection of key-value pairs.
CreatePartnerInput'
, createPartnerInput'_inputId
- Unique ID of the input.
Request Lenses
createPartnerInput'_requestId :: Lens' CreatePartnerInput' (Maybe Text) Source #
Unique identifier of the request to ensure the request is handled exactly once in case of retries.
createPartnerInput'_tags :: Lens' CreatePartnerInput' (Maybe (HashMap Text Text)) Source #
A collection of key-value pairs.
createPartnerInput'_inputId :: Lens' CreatePartnerInput' Text Source #
Unique ID of the input.
Destructuring the Response
data CreatePartnerInputResponse Source #
Placeholder documentation for CreatePartnerInputResponse
See: newCreatePartnerInputResponse
smart constructor.
CreatePartnerInputResponse' | |
|
Instances
newCreatePartnerInputResponse Source #
Create a value of CreatePartnerInputResponse
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:input:CreatePartnerInputResponse'
, createPartnerInputResponse_input
- Undocumented member.
$sel:httpStatus:CreatePartnerInputResponse'
, createPartnerInputResponse_httpStatus
- The response's http status code.
Response Lenses
createPartnerInputResponse_input :: Lens' CreatePartnerInputResponse (Maybe Input) Source #
Undocumented member.
createPartnerInputResponse_httpStatus :: Lens' CreatePartnerInputResponse Int Source #
The response's http status code.