import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeBuildClient"; import type { DeleteSourceCredentialsInput, DeleteSourceCredentialsOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteSourceCredentialsCommand}. */ export interface DeleteSourceCredentialsCommandInput extends DeleteSourceCredentialsInput { } /** * @public * * The output of {@link DeleteSourceCredentialsCommand}. */ export interface DeleteSourceCredentialsCommandOutput extends DeleteSourceCredentialsOutput, __MetadataBearer { } declare const DeleteSourceCredentialsCommand_base: { new (input: DeleteSourceCredentialsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DeleteSourceCredentialsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodeBuildClient, DeleteSourceCredentialsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import * // const { CodeBuildClient, DeleteSourceCredentialsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import * // import type { CodeBuildClientConfig } from "@aws-sdk/client-codebuild"; * const config = {}; // type is CodeBuildClientConfig * const client = new CodeBuildClient(config); * const input = { // DeleteSourceCredentialsInput * arn: "STRING_VALUE", // required * }; * const command = new DeleteSourceCredentialsCommand(input); * const response = await client.send(command); * // { // DeleteSourceCredentialsOutput * // arn: "STRING_VALUE", * // }; * * ``` * * @param DeleteSourceCredentialsCommandInput - {@link DeleteSourceCredentialsCommandInput} * @returns {@link DeleteSourceCredentialsCommandOutput} * @see {@link DeleteSourceCredentialsCommandInput} for command's `input` shape. * @see {@link DeleteSourceCredentialsCommandOutput} for command's `response` shape. * @see {@link CodeBuildClientResolvedConfig | config} for CodeBuildClient's `config` shape. * * @throws {@link InvalidInputException} (client fault) *

The input value that was provided is not valid.

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

The specified Amazon Web Services resource cannot be found.

* * @throws {@link CodeBuildServiceException} *

Base exception class for all service exceptions from CodeBuild service.

* * * @public */ export declare class DeleteSourceCredentialsCommand extends DeleteSourceCredentialsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteSourceCredentialsInput; output: DeleteSourceCredentialsOutput; }; sdk: { input: DeleteSourceCredentialsCommandInput; output: DeleteSourceCredentialsCommandOutput; }; }; }