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 |
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.
$sel:tags:CreatePartnerInput''
, createPartnerInput'_tags
- A collection of key-value pairs.
$sel:inputId: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.