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 |
Documentation
data UpsertRowsResult Source #
An object that represents the result of a single upsert row request.
See: newUpsertRowsResult
smart constructor.
UpsertRowsResult' | |
|
Instances
:: NonEmpty Text | |
-> UpsertAction | |
-> UpsertRowsResult |
Create a value of UpsertRowsResult
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:rowIds:UpsertRowsResult'
, upsertRowsResult_rowIds
- The list of row ids that were changed as part of an upsert row
operation. If the upsert resulted in an update, this list could
potentially contain multiple rows that matched the filter and hence got
updated. If the upsert resulted in an append, this list would only have
the single row that was appended.
$sel:upsertAction:UpsertRowsResult'
, upsertRowsResult_upsertAction
- The result of the upsert action.
upsertRowsResult_rowIds :: Lens' UpsertRowsResult (NonEmpty Text) Source #
The list of row ids that were changed as part of an upsert row operation. If the upsert resulted in an update, this list could potentially contain multiple rows that matched the filter and hence got updated. If the upsert resulted in an append, this list would only have the single row that was appended.
upsertRowsResult_upsertAction :: Lens' UpsertRowsResult UpsertAction Source #
The result of the upsert action.