import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetDatabaseInput, GetDatabaseOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetDatabaseCommand}. */ export interface GetDatabaseCommandInput extends GetDatabaseInput { } /** * @public * * The output of {@link GetDatabaseCommand}. */ export interface GetDatabaseCommandOutput extends GetDatabaseOutput, __MetadataBearer { } declare const GetDatabaseCommand_base: { new (input: GetDatabaseCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [GetDatabaseCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets the SAP HANA database of an application registered with AWS Systems Manager for SAP.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SsmSapClient, GetDatabaseCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import * // const { SsmSapClient, GetDatabaseCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import * // import type { SsmSapClientConfig } from "@aws-sdk/client-ssm-sap"; * const config = {}; // type is SsmSapClientConfig * const client = new SsmSapClient(config); * const input = { // GetDatabaseInput * ApplicationId: "STRING_VALUE", * ComponentId: "STRING_VALUE", * DatabaseId: "STRING_VALUE", * DatabaseArn: "STRING_VALUE", * }; * const command = new GetDatabaseCommand(input); * const response = await client.send(command); * // { // GetDatabaseOutput * // Database: { // Database * // ApplicationId: "STRING_VALUE", * // ComponentId: "STRING_VALUE", * // Credentials: [ // ApplicationCredentialList * // { // ApplicationCredential * // DatabaseName: "STRING_VALUE", // required * // CredentialType: "ADMIN", // required * // SecretId: "STRING_VALUE", // required * // }, * // ], * // DatabaseId: "STRING_VALUE", * // DatabaseName: "STRING_VALUE", * // DatabaseType: "SYSTEM" || "TENANT", * // Arn: "STRING_VALUE", * // Status: "RUNNING" || "STARTING" || "STOPPED" || "WARNING" || "UNKNOWN" || "ERROR" || "STOPPING", * // PrimaryHost: "STRING_VALUE", * // SQLPort: Number("int"), * // LastUpdated: new Date("TIMESTAMP"), * // ConnectedComponentArns: [ // ComponentArnList * // "STRING_VALUE", * // ], * // }, * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param GetDatabaseCommandInput - {@link GetDatabaseCommandInput} * @returns {@link GetDatabaseCommandOutput} * @see {@link GetDatabaseCommandInput} for command's `input` shape. * @see {@link GetDatabaseCommandOutput} for command's `response` shape. * @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

An internal error has occurred.

* * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the constraints specified by an AWS service.

* * @throws {@link SsmSapServiceException} *

Base exception class for all service exceptions from SsmSap service.

* * * @public */ export declare class GetDatabaseCommand extends GetDatabaseCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetDatabaseInput; output: GetDatabaseOutput; }; sdk: { input: GetDatabaseCommandInput; output: GetDatabaseCommandOutput; }; }; }