import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { UpdateCodeRepositoryInput, UpdateCodeRepositoryOutput } from "../models/models_5"; import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateCodeRepositoryCommand}. */ export interface UpdateCodeRepositoryCommandInput extends UpdateCodeRepositoryInput { } /** * @public * * The output of {@link UpdateCodeRepositoryCommand}. */ export interface UpdateCodeRepositoryCommandOutput extends UpdateCodeRepositoryOutput, __MetadataBearer { } declare const UpdateCodeRepositoryCommand_base: { new (input: UpdateCodeRepositoryCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: UpdateCodeRepositoryCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Updates the specified Git repository with the specified values.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SageMakerClient, UpdateCodeRepositoryCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import * // const { SageMakerClient, UpdateCodeRepositoryCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import * const client = new SageMakerClient(config); * const input = { // UpdateCodeRepositoryInput * CodeRepositoryName: "STRING_VALUE", // required * GitConfig: { // GitConfigForUpdate * SecretArn: "STRING_VALUE", * }, * }; * const command = new UpdateCodeRepositoryCommand(input); * const response = await client.send(command); * // { // UpdateCodeRepositoryOutput * // CodeRepositoryArn: "STRING_VALUE", // required * // }; * * ``` * * @param UpdateCodeRepositoryCommandInput - {@link UpdateCodeRepositoryCommandInput} * @returns {@link UpdateCodeRepositoryCommandOutput} * @see {@link UpdateCodeRepositoryCommandInput} for command's `input` shape. * @see {@link UpdateCodeRepositoryCommandOutput} for command's `response` shape. * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape. * * @throws {@link ConflictException} (client fault) *

There was a conflict when you attempted to modify a SageMaker entity such as an Experiment or Artifact.

* * @throws {@link SageMakerServiceException} *

Base exception class for all service exceptions from SageMaker service.

* * * @public */ export declare class UpdateCodeRepositoryCommand extends UpdateCodeRepositoryCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateCodeRepositoryInput; output: UpdateCodeRepositoryOutput; }; sdk: { input: UpdateCodeRepositoryCommandInput; output: UpdateCodeRepositoryCommandOutput; }; }; }