import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetRepositorySyncStatusInput, GetRepositorySyncStatusOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetRepositorySyncStatusCommand}. */ export interface GetRepositorySyncStatusCommandInput extends GetRepositorySyncStatusInput { } /** * @public * * The output of {@link GetRepositorySyncStatusCommand}. */ export interface GetRepositorySyncStatusCommandOutput extends GetRepositorySyncStatusOutput, __MetadataBearer { } declare const GetRepositorySyncStatusCommand_base: { new (input: GetRepositorySyncStatusCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetRepositorySyncStatusCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Get the sync status of a repository used for Proton template sync. For more information about template sync, see .

* *

A repository sync status isn't tied to the Proton Repository resource (or any other Proton resource). Therefore, tags on an Proton Repository resource * have no effect on this action. Specifically, you can't use these tags to control access to this action using Attribute-based access control * (ABAC).

*

For more information about ABAC, see ABAC in the Proton User * Guide.

*
* * @deprecated (since 10/07/2025) AWS Proton is not accepting new customers. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ProtonClient, GetRepositorySyncStatusCommand } from "@aws-sdk/client-proton"; // ES Modules import * // const { ProtonClient, GetRepositorySyncStatusCommand } = require("@aws-sdk/client-proton"); // CommonJS import * // import type { ProtonClientConfig } from "@aws-sdk/client-proton"; * const config = {}; // type is ProtonClientConfig * const client = new ProtonClient(config); * const input = { // GetRepositorySyncStatusInput * repositoryName: "STRING_VALUE", // required * repositoryProvider: "STRING_VALUE", // required * branch: "STRING_VALUE", // required * syncType: "STRING_VALUE", // required * }; * const command = new GetRepositorySyncStatusCommand(input); * const response = await client.send(command); * // { // GetRepositorySyncStatusOutput * // latestSync: { // RepositorySyncAttempt * // startedAt: new Date("TIMESTAMP"), // required * // status: "STRING_VALUE", // required * // events: [ // RepositorySyncEvents // required * // { // RepositorySyncEvent * // type: "STRING_VALUE", // required * // externalId: "STRING_VALUE", * // time: new Date("TIMESTAMP"), // required * // event: "STRING_VALUE", // required * // }, * // ], * // }, * // }; * * ``` * * @param GetRepositorySyncStatusCommandInput - {@link GetRepositorySyncStatusCommandInput} * @returns {@link GetRepositorySyncStatusCommandOutput} * @see {@link GetRepositorySyncStatusCommandInput} for command's `input` shape. * @see {@link GetRepositorySyncStatusCommandOutput} for command's `response` shape. * @see {@link ProtonClientResolvedConfig | config} for ProtonClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

There isn't sufficient access for performing this action.

* * @throws {@link InternalServerException} (server fault) *

The request failed to register with the service.

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

The requested resource wasn't found.

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

The request was denied due to request throttling.

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

The input is invalid or an out-of-range value was supplied for the input parameter.

* * @throws {@link ProtonServiceException} *

Base exception class for all service exceptions from Proton service.

* * * @public */ export declare class GetRepositorySyncStatusCommand extends GetRepositorySyncStatusCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetRepositorySyncStatusInput; output: GetRepositorySyncStatusOutput; }; sdk: { input: GetRepositorySyncStatusCommandInput; output: GetRepositorySyncStatusCommandOutput; }; }; }