DescribeFleetAdvisorDatabases
Returns a list of Fleet Advisor databases in your account.
Request Syntax
{
"Filters": [
{
"Name": "string
",
"Values": [ "string
" ]
}
],
"MaxRecords": number
,
"NextToken": "string
"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- Filters
-
If you specify any of the following filters, the output includes information for only those databases that meet the filter criteria:
-
database-id
– The ID of the database. -
database-name
– The name of the database. -
database-engine
– The name of the database engine. -
server-ip-address
– The IP address of the database server. -
database-ip-address
– The IP address of the database. -
collector-name
– The name of the associated Fleet Advisor collector.
An example is:
describe-fleet-advisor-databases --filter Name="database-id",Values="45"
Type: Array of Filter objects
Required: No
-
- MaxRecords
-
Sets the maximum number of records returned in the response.
Type: Integer
Required: No
- NextToken
-
If
NextToken
is returned by a previous response, there are more results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.Type: String
Required: No
Response Syntax
{
"Databases": [
{
"Collectors": [
{
"CollectorName": "string",
"CollectorReferencedId": "string"
}
],
"DatabaseId": "string",
"DatabaseName": "string",
"IpAddress": "string",
"NumberOfSchemas": number,
"Server": {
"IpAddress": "string",
"ServerId": "string",
"ServerName": "string"
},
"SoftwareDetails": {
"Engine": "string",
"EngineEdition": "string",
"EngineVersion": "string",
"OsArchitecture": number,
"ServicePack": "string",
"SupportLevel": "string",
"Tooltip": "string"
}
}
],
"NextToken": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- Databases
-
Provides descriptions of the Fleet Advisor collector databases, including the database's collector, ID, and name.
Type: Array of DatabaseResponse objects
- NextToken
-
If
NextToken
is returned, there are more results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
- InvalidResourceStateFault
-
The resource is in a state that prevents it from being used for database migration.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: