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 |
Amazonka.Glue.CreatePartitionIndex
Description
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.
Constructors
CreatePartitionIndex' | |
Fields
|
Instances
newCreatePartitionIndex Source #
Arguments
:: 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:
CreatePartitionIndex
, createPartitionIndex_catalogId
- The catalog ID where the table resides.
CreatePartitionIndex
, createPartitionIndex_databaseName
- Specifies the name of a database in which you want to create a partition
index.
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.
Constructors
CreatePartitionIndexResponse' | |
Fields
|
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.