| Copyright | (c) 2013-2017 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 |
| Language | Haskell2010 |
Network.AWS.Glue.GetPartition
Description
Retrieves information about a specified partition.
- getPartition :: Text -> Text -> GetPartition
- data GetPartition
- gpCatalogId :: Lens' GetPartition (Maybe Text)
- gpDatabaseName :: Lens' GetPartition Text
- gpTableName :: Lens' GetPartition Text
- gpPartitionValues :: Lens' GetPartition [Text]
- getPartitionResponse :: Int -> GetPartitionResponse
- data GetPartitionResponse
- gprsPartition :: Lens' GetPartitionResponse (Maybe Partition)
- gprsResponseStatus :: Lens' GetPartitionResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> GetPartition |
Creates a value of GetPartition with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gpCatalogId- The ID of the Data Catalog where the partition in question resides. If none is supplied, the AWS account ID is used by default.gpDatabaseName- The name of the catalog database where the partition resides.gpTableName- The name of the partition's table.gpPartitionValues- The values that define the partition.
data GetPartition Source #
See: getPartition smart constructor.
Instances
Request Lenses
gpCatalogId :: Lens' GetPartition (Maybe Text) Source #
The ID of the Data Catalog where the partition in question resides. If none is supplied, the AWS account ID is used by default.
gpDatabaseName :: Lens' GetPartition Text Source #
The name of the catalog database where the partition resides.
gpTableName :: Lens' GetPartition Text Source #
The name of the partition's table.
gpPartitionValues :: Lens' GetPartition [Text] Source #
The values that define the partition.
Destructuring the Response
Arguments
| :: Int | |
| -> GetPartitionResponse |
Creates a value of GetPartitionResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gprsPartition- The requested information, in the form of aPartitionobject.gprsResponseStatus- -- | The response status code.
data GetPartitionResponse Source #
See: getPartitionResponse smart constructor.
Response Lenses
gprsPartition :: Lens' GetPartitionResponse (Maybe Partition) Source #
The requested information, in the form of a Partition object.
gprsResponseStatus :: Lens' GetPartitionResponse Int Source #
- - | The response status code.