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

Class: Aws::Glue::Types::GetDatabasesRequest

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

Overview

Note:

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

{
  catalog_id: "CatalogIdString",
  next_token: "Token",
  max_results: 1,
  resource_share_type: "FOREIGN", # accepts FOREIGN, ALL
}

Instance Attribute Summary collapse

Instance Attribute Details

#catalog_idString

The ID of the Data Catalog from which to retrieve Databases. If none is provided, the AWS account ID is used by default.

Returns:

  • (String)

    The ID of the Data Catalog from which to retrieve Databases.

#max_resultsInteger

The maximum number of databases to return in one response.

Returns:

  • (Integer)

    The maximum number of databases to return in one response.

#next_tokenString

A continuation token, if this is a continuation call.

Returns:

  • (String)

    A continuation token, if this is a continuation call.

#resource_share_typeString

Allows you to specify that you want to list the databases shared with your account. The allowable values are FOREIGN or ALL.

  • If set to FOREIGN, will list the databases shared with your account.

  • If set to ALL, will list the databases shared with your account, as well as the databases in yor local account.

    Possible values:

    • FOREIGN
    • ALL

Returns:

  • (String)

    Allows you to specify that you want to list the databases shared with your account.