ListDbServers - Oracle Database@AWS

ListDbServers

Returns information about the database servers that belong to the specified Exadata infrastructure.

Request Syntax

{ "cloudExadataInfrastructureId": "string", "maxResults": 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.

cloudExadataInfrastructureId

The unique identifier of the Oracle Exadata infrastructure.

Type: String

Length Constraints: Minimum length of 6. Maximum length of 2048.

Pattern: (arn:(?:aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):[a-z0-9-]+:[a-z0-9-]*:[0-9]+:[a-z0-9-]+/[a-zA-Z0-9_~.-]{6,64}|[a-zA-Z0-9_~.-]{6,64})

Required: Yes

maxResults

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.

Default: 10

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 1000.

Required: No

nextToken

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 8192.

Required: No

Response Syntax

{ "dbServers": [ { "autonomousVirtualMachineIds": [ "string" ], "autonomousVmClusterIds": [ "string" ], "computeModel": "string", "cpuCoreCount": number, "createdAt": "string", "dbNodeStorageSizeInGBs": number, "dbServerId": "string", "dbServerPatchingDetails": { "estimatedPatchDuration": number, "patchingStatus": "string", "timePatchingEnded": "string", "timePatchingStarted": "string" }, "displayName": "string", "exadataInfrastructureId": "string", "maxCpuCount": number, "maxDbNodeStorageInGBs": number, "maxMemoryInGBs": number, "memorySizeInGBs": number, "ocid": "string", "ociResourceAnchorName": "string", "shape": "string", "status": "string", "statusReason": "string", "vmClusterIds": [ "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.

dbServers

The list of database servers along with their properties.

Type: Array of DbServerSummary objects

nextToken

The token to include in another request to get the next page of items. This value is null when there are no more items to return.

Type: String

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

You don't have sufficient access to perform this action. Make sure you have the required permissions and try again.

HTTP Status Code: 400

InternalServerException

Occurs when there is an internal failure in the Oracle Database@AWS service. Wait and try again.

HTTP Status Code: 500

ResourceNotFoundException

The operation tried to access a resource that doesn't exist. Make sure you provided the correct resource and try again.

HTTP Status Code: 400

ThrottlingException

The request was denied due to request throttling.

HTTP Status Code: 400

ValidationException

The request has failed validation because it is missing required fields or has invalid inputs.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: