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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

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 Amazon Web Services account ID is used by default.

Returns:

  • (String)


9984
9985
9986
9987
9988
9989
9990
9991
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 9984

class GetDatabasesRequest < Struct.new(
  :catalog_id,
  :next_token,
  :max_results,
  :resource_share_type)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of databases to return in one response.

Returns:

  • (Integer)


9984
9985
9986
9987
9988
9989
9990
9991
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 9984

class GetDatabasesRequest < Struct.new(
  :catalog_id,
  :next_token,
  :max_results,
  :resource_share_type)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

A continuation token, if this is a continuation call.

Returns:

  • (String)


9984
9985
9986
9987
9988
9989
9990
9991
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 9984

class GetDatabasesRequest < Struct.new(
  :catalog_id,
  :next_token,
  :max_results,
  :resource_share_type)
  SENSITIVE = []
  include Aws::Structure
end

#resource_share_typeString

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.

Returns:

  • (String)


9984
9985
9986
9987
9988
9989
9990
9991
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 9984

class GetDatabasesRequest < Struct.new(
  :catalog_id,
  :next_token,
  :max_results,
  :resource_share_type)
  SENSITIVE = []
  include Aws::Structure
end