import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient"; import type { BatchGetRepositoryScanningConfigurationRequest, BatchGetRepositoryScanningConfigurationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link BatchGetRepositoryScanningConfigurationCommand}. */ export interface BatchGetRepositoryScanningConfigurationCommandInput extends BatchGetRepositoryScanningConfigurationRequest { } /** * @public * * The output of {@link BatchGetRepositoryScanningConfigurationCommand}. */ export interface BatchGetRepositoryScanningConfigurationCommandOutput extends BatchGetRepositoryScanningConfigurationResponse, __MetadataBearer { } declare const BatchGetRepositoryScanningConfigurationCommand_base: { new (input: BatchGetRepositoryScanningConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: BatchGetRepositoryScanningConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Gets the scanning configuration for one or more repositories.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ECRClient, BatchGetRepositoryScanningConfigurationCommand } from "@aws-sdk/client-ecr"; // ES Modules import * // const { ECRClient, BatchGetRepositoryScanningConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import * // import type { ECRClientConfig } from "@aws-sdk/client-ecr"; * const config = {}; // type is ECRClientConfig * const client = new ECRClient(config); * const input = { // BatchGetRepositoryScanningConfigurationRequest * repositoryNames: [ // ScanningConfigurationRepositoryNameList // required * "STRING_VALUE", * ], * }; * const command = new BatchGetRepositoryScanningConfigurationCommand(input); * const response = await client.send(command); * // { // BatchGetRepositoryScanningConfigurationResponse * // scanningConfigurations: [ // RepositoryScanningConfigurationList * // { // RepositoryScanningConfiguration * // repositoryArn: "STRING_VALUE", * // repositoryName: "STRING_VALUE", * // scanOnPush: true || false, * // scanFrequency: "SCAN_ON_PUSH" || "CONTINUOUS_SCAN" || "MANUAL", * // appliedScanFilters: [ // ScanningRepositoryFilterList * // { // ScanningRepositoryFilter * // filter: "STRING_VALUE", // required * // filterType: "WILDCARD", // required * // }, * // ], * // }, * // ], * // failures: [ // RepositoryScanningConfigurationFailureList * // { // RepositoryScanningConfigurationFailure * // repositoryName: "STRING_VALUE", * // failureCode: "REPOSITORY_NOT_FOUND", * // failureReason: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param BatchGetRepositoryScanningConfigurationCommandInput - {@link BatchGetRepositoryScanningConfigurationCommandInput} * @returns {@link BatchGetRepositoryScanningConfigurationCommandOutput} * @see {@link BatchGetRepositoryScanningConfigurationCommandInput} for command's `input` shape. * @see {@link BatchGetRepositoryScanningConfigurationCommandOutput} for command's `response` shape. * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape. * * @throws {@link InvalidParameterException} (client fault) *

The specified parameter is invalid. Review the available parameters for the API * request.

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

The specified repository could not be found. Check the spelling of the specified * repository and ensure that you are performing operations on the correct registry.

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

These errors are usually caused by a server-side issue.

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

There was an exception validating this request.

* * @throws {@link ECRServiceException} *

Base exception class for all service exceptions from ECR service.

* * * @public */ export declare class BatchGetRepositoryScanningConfigurationCommand extends BatchGetRepositoryScanningConfigurationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchGetRepositoryScanningConfigurationRequest; output: BatchGetRepositoryScanningConfigurationResponse; }; sdk: { input: BatchGetRepositoryScanningConfigurationCommandInput; output: BatchGetRepositoryScanningConfigurationCommandOutput; }; }; }