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 |
Creates a specified partition index in an existing table.
Synopsis
- data CreatePartitionIndex = CreatePartitionIndex' {}
- newCreatePartitionIndex :: Text -> Text -> PartitionIndex -> CreatePartitionIndex
- createPartitionIndex_catalogId :: Lens' CreatePartitionIndex (Maybe Text)
- createPartitionIndex_databaseName :: Lens' CreatePartitionIndex Text
- createPartitionIndex_tableName :: Lens' CreatePartitionIndex Text
- createPartitionIndex_partitionIndex :: Lens' CreatePartitionIndex PartitionIndex
- data CreatePartitionIndexResponse = CreatePartitionIndexResponse' {
- httpStatus :: Int
- newCreatePartitionIndexResponse :: Int -> CreatePartitionIndexResponse
- createPartitionIndexResponse_httpStatus :: Lens' CreatePartitionIndexResponse Int
Creating a Request
data CreatePartitionIndex Source #
See: newCreatePartitionIndex
smart constructor.
CreatePartitionIndex' | |
|
Instances
newCreatePartitionIndex Source #
:: Text | |
-> Text | |
-> PartitionIndex | |
-> CreatePartitionIndex |
Create a value of CreatePartitionIndex
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:catalogId:CreatePartitionIndex'
, createPartitionIndex_catalogId
- The catalog ID where the table resides.
$sel:databaseName:CreatePartitionIndex'
, createPartitionIndex_databaseName
- Specifies the name of a database in which you want to create a partition
index.
$sel:tableName:CreatePartitionIndex'
, createPartitionIndex_tableName
- Specifies the name of a table in which you want to create a partition
index.
$sel:partitionIndex:CreatePartitionIndex'
, createPartitionIndex_partitionIndex
- Specifies a PartitionIndex
structure to create a partition index in an
existing table.
Request Lenses
createPartitionIndex_catalogId :: Lens' CreatePartitionIndex (Maybe Text) Source #
The catalog ID where the table resides.
createPartitionIndex_databaseName :: Lens' CreatePartitionIndex Text Source #
Specifies the name of a database in which you want to create a partition index.
createPartitionIndex_tableName :: Lens' CreatePartitionIndex Text Source #
Specifies the name of a table in which you want to create a partition index.
createPartitionIndex_partitionIndex :: Lens' CreatePartitionIndex PartitionIndex Source #
Specifies a PartitionIndex
structure to create a partition index in an
existing table.
Destructuring the Response
data CreatePartitionIndexResponse Source #
See: newCreatePartitionIndexResponse
smart constructor.
CreatePartitionIndexResponse' | |
|
Instances
newCreatePartitionIndexResponse Source #
Create a value of CreatePartitionIndexResponse
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:httpStatus:CreatePartitionIndexResponse'
, createPartitionIndexResponse_httpStatus
- The response's http status code.
Response Lenses
createPartitionIndexResponse_httpStatus :: Lens' CreatePartitionIndexResponse Int Source #
The response's http status code.