Class: Aws::RedshiftDataAPIService::Types::ListDatabasesRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-redshiftdataapiservice/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_identifierString

The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.

Returns:

  • (String)


1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1001

class ListDatabasesRequest < Struct.new(
  :cluster_identifier,
  :database,
  :db_user,
  :max_results,
  :next_token,
  :secret_arn,
  :workgroup_name)
  SENSITIVE = []
  include Aws::Structure
end

#databaseString

The name of the database. This parameter is required when authenticating using either Secrets Manager or temporary credentials.

Returns:

  • (String)


1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1001

class ListDatabasesRequest < Struct.new(
  :cluster_identifier,
  :database,
  :db_user,
  :max_results,
  :next_token,
  :secret_arn,
  :workgroup_name)
  SENSITIVE = []
  include Aws::Structure
end

#db_userString

The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials.

Returns:

  • (String)


1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1001

class ListDatabasesRequest < Struct.new(
  :cluster_identifier,
  :database,
  :db_user,
  :max_results,
  :next_token,
  :secret_arn,
  :workgroup_name)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of databases to return in the response. If more databases exist than fit in one response, then ‘NextToken` is returned to page through the results.

Returns:

  • (Integer)


1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1001

class ListDatabasesRequest < Struct.new(
  :cluster_identifier,
  :database,
  :db_user,
  :max_results,
  :next_token,
  :secret_arn,
  :workgroup_name)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.

Returns:

  • (String)


1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1001

class ListDatabasesRequest < Struct.new(
  :cluster_identifier,
  :database,
  :db_user,
  :max_results,
  :next_token,
  :secret_arn,
  :workgroup_name)
  SENSITIVE = []
  include Aws::Structure
end

#secret_arnString

The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.

Returns:

  • (String)


1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1001

class ListDatabasesRequest < Struct.new(
  :cluster_identifier,
  :database,
  :db_user,
  :max_results,
  :next_token,
  :secret_arn,
  :workgroup_name)
  SENSITIVE = []
  include Aws::Structure
end

#workgroup_nameString

The serverless workgroup name or Amazon Resource Name (ARN). This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.

Returns:

  • (String)


1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1001

class ListDatabasesRequest < Struct.new(
  :cluster_identifier,
  :database,
  :db_user,
  :max_results,
  :next_token,
  :secret_arn,
  :workgroup_name)
  SENSITIVE = []
  include Aws::Structure
end