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 { DescribeRepositoryCreationTemplatesRequest, DescribeRepositoryCreationTemplatesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeRepositoryCreationTemplatesCommand}. */ export interface DescribeRepositoryCreationTemplatesCommandInput extends DescribeRepositoryCreationTemplatesRequest { } /** * @public * * The output of {@link DescribeRepositoryCreationTemplatesCommand}. */ export interface DescribeRepositoryCreationTemplatesCommandOutput extends DescribeRepositoryCreationTemplatesResponse, __MetadataBearer { } declare const DescribeRepositoryCreationTemplatesCommand_base: { new (input: DescribeRepositoryCreationTemplatesCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeRepositoryCreationTemplatesCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns details about the repository creation templates in a registry. The * prefixes request parameter can be used to return the details for a * specific repository creation template.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ECRClient, DescribeRepositoryCreationTemplatesCommand } from "@aws-sdk/client-ecr"; // ES Modules import * // const { ECRClient, DescribeRepositoryCreationTemplatesCommand } = 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 = { // DescribeRepositoryCreationTemplatesRequest * prefixes: [ // PrefixList * "STRING_VALUE", * ], * nextToken: "STRING_VALUE", * maxResults: Number("int"), * }; * const command = new DescribeRepositoryCreationTemplatesCommand(input); * const response = await client.send(command); * // { // DescribeRepositoryCreationTemplatesResponse * // registryId: "STRING_VALUE", * // repositoryCreationTemplates: [ // RepositoryCreationTemplateList * // { // RepositoryCreationTemplate * // prefix: "STRING_VALUE", * // description: "STRING_VALUE", * // encryptionConfiguration: { // EncryptionConfigurationForRepositoryCreationTemplate * // encryptionType: "AES256" || "KMS" || "KMS_DSSE", // required * // kmsKey: "STRING_VALUE", * // }, * // resourceTags: [ // TagList * // { // Tag * // Key: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // imageTagMutability: "MUTABLE" || "IMMUTABLE" || "IMMUTABLE_WITH_EXCLUSION" || "MUTABLE_WITH_EXCLUSION", * // imageTagMutabilityExclusionFilters: [ // ImageTagMutabilityExclusionFilters * // { // ImageTagMutabilityExclusionFilter * // filterType: "WILDCARD", // required * // filter: "STRING_VALUE", // required * // }, * // ], * // repositoryPolicy: "STRING_VALUE", * // lifecyclePolicy: "STRING_VALUE", * // appliedFor: [ // RCTAppliedForList * // "REPLICATION" || "PULL_THROUGH_CACHE" || "CREATE_ON_PUSH", * // ], * // customRoleArn: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), * // updatedAt: new Date("TIMESTAMP"), * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeRepositoryCreationTemplatesCommandInput - {@link DescribeRepositoryCreationTemplatesCommandInput} * @returns {@link DescribeRepositoryCreationTemplatesCommandOutput} * @see {@link DescribeRepositoryCreationTemplatesCommandInput} for command's `input` shape. * @see {@link DescribeRepositoryCreationTemplatesCommandOutput} 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 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 DescribeRepositoryCreationTemplatesCommand extends DescribeRepositoryCreationTemplatesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeRepositoryCreationTemplatesRequest; output: DescribeRepositoryCreationTemplatesResponse; }; sdk: { input: DescribeRepositoryCreationTemplatesCommandInput; output: DescribeRepositoryCreationTemplatesCommandOutput; }; }; }