AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the GetDatabases operation. Retrieves all databases defined in a given Data Catalog.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Glue.AmazonGlueRequest
      Amazon.Glue.Model.GetDatabasesRequest

Namespace: Amazon.Glue.Model
Assembly: AWSSDK.Glue.dll
Version: 3.x.y.z

Syntax

C#
public class GetDatabasesRequest : AmazonGlueRequest
         IAmazonWebServiceRequest

The GetDatabasesRequest type exposes the following members

Constructors

NameDescription
Public Method GetDatabasesRequest()

Properties

NameTypeDescription
Public Property AttributesToGet System.Collections.Generic.List<System.String>

Gets and sets the property AttributesToGet.

Specifies the database fields returned by the GetDatabases call. This parameter doesn’t accept an empty list. The request must include the NAME.

Public Property CatalogId System.String

Gets and sets the property CatalogId.

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

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of databases to return in one response.

Public Property NextToken System.String

Gets and sets the property NextToken.

A continuation token, if this is a continuation call.

Public Property ResourceShareType Amazon.Glue.ResourceShareType

Gets and sets the property ResourceShareType.

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

  • If set to FEDERATED, will list the federated databases (referencing an external entity) shared with your account.

  • 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.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5