You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Glue::Types::GetPartitionsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetPartitionsRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  catalog_id: "CatalogIdString",
  database_name: "NameString", # required
  table_name: "NameString", # required
  expression: "PredicateString",
  next_token: "Token",
  segment: {
    segment_number: 1, # required
    total_segments: 1, # required
  },
  max_results: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#catalog_idString

The ID of the Data Catalog where the partitions in question reside. If none is supplied, the AWS account ID is used by default.

Returns:

  • (String)

    The ID of the Data Catalog where the partitions in question reside.

#database_nameString

The name of the catalog database where the partitions reside.

Returns:

  • (String)

    The name of the catalog database where the partitions reside.

#expressionString

An expression filtering the partitions to be returned.

Returns:

  • (String)

    An expression filtering the partitions to be returned.

#max_resultsInteger

The maximum number of partitions to return in a single response.

Returns:

  • (Integer)

    The maximum number of partitions to return in a single response.

#next_tokenString

A continuation token, if this is not the first call to retrieve these partitions.

Returns:

  • (String)

    A continuation token, if this is not the first call to retrieve these partitions.

#segmentTypes::Segment

The segment of the table\'s partitions to scan in this request.

Returns:

  • (Types::Segment)

    The segment of the table\'s partitions to scan in this request.

#table_nameString

The name of the partitions\' table.

Returns:

  • (String)

    The name of the partitions\' table.