diff --git a/clients/client-ecr/src/commands/CreatePullThroughCacheRuleCommand.ts b/clients/client-ecr/src/commands/CreatePullThroughCacheRuleCommand.ts index 20dba858d9ac..a791e7bd4bf7 100644 --- a/clients/client-ecr/src/commands/CreatePullThroughCacheRuleCommand.ts +++ b/clients/client-ecr/src/commands/CreatePullThroughCacheRuleCommand.ts @@ -41,7 +41,7 @@ export interface CreatePullThroughCacheRuleCommandOutput extends CreatePullThrou * ecrRepositoryPrefix: "STRING_VALUE", // required * upstreamRegistryUrl: "STRING_VALUE", // required * registryId: "STRING_VALUE", - * upstreamRegistry: "ecr-public" || "quay" || "k8s" || "docker-hub" || "github-container-registry" || "azure-container-registry", + * upstreamRegistry: "ecr-public" || "quay" || "k8s" || "docker-hub" || "github-container-registry" || "azure-container-registry" || "gitlab-container-registry", * credentialArn: "STRING_VALUE", * }; * const command = new CreatePullThroughCacheRuleCommand(input); @@ -51,7 +51,7 @@ export interface CreatePullThroughCacheRuleCommandOutput extends CreatePullThrou * // upstreamRegistryUrl: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), * // registryId: "STRING_VALUE", - * // upstreamRegistry: "ecr-public" || "quay" || "k8s" || "docker-hub" || "github-container-registry" || "azure-container-registry", + * // upstreamRegistry: "ecr-public" || "quay" || "k8s" || "docker-hub" || "github-container-registry" || "azure-container-registry" || "gitlab-container-registry", * // credentialArn: "STRING_VALUE", * // }; * diff --git a/clients/client-ecr/src/commands/DescribePullThroughCacheRulesCommand.ts b/clients/client-ecr/src/commands/DescribePullThroughCacheRulesCommand.ts index 1b9084f18b56..0b8c5364a6a0 100644 --- a/clients/client-ecr/src/commands/DescribePullThroughCacheRulesCommand.ts +++ b/clients/client-ecr/src/commands/DescribePullThroughCacheRulesCommand.ts @@ -57,7 +57,7 @@ export interface DescribePullThroughCacheRulesCommandOutput * // createdAt: new Date("TIMESTAMP"), * // registryId: "STRING_VALUE", * // credentialArn: "STRING_VALUE", - * // upstreamRegistry: "ecr-public" || "quay" || "k8s" || "docker-hub" || "github-container-registry" || "azure-container-registry", + * // upstreamRegistry: "ecr-public" || "quay" || "k8s" || "docker-hub" || "github-container-registry" || "azure-container-registry" || "gitlab-container-registry", * // updatedAt: new Date("TIMESTAMP"), * // }, * // ], diff --git a/clients/client-ecr/src/models/models_0.ts b/clients/client-ecr/src/models/models_0.ts index 51bb359eaa81..94c28a15c1c3 100644 --- a/clients/client-ecr/src/models/models_0.ts +++ b/clients/client-ecr/src/models/models_0.ts @@ -803,6 +803,7 @@ export const UpstreamRegistry = { DockerHub: "docker-hub", EcrPublic: "ecr-public", GitHubContainerRegistry: "github-container-registry", + GitLabContainerRegistry: "gitlab-container-registry", K8s: "k8s", Quay: "quay", } as const; @@ -854,6 +855,11 @@ export interface CreatePullThroughCacheRuleRequest { * .azurecr.io *

* + *
  • + *

    GitLab Container Registry (gitlab-container-registry) - + * registry.gitlab.com + *

    + *
  • * * @public */ diff --git a/codegen/sdk-codegen/aws-models/ecr.json b/codegen/sdk-codegen/aws-models/ecr.json index cd49b751a0e8..9226efc57bef 100644 --- a/codegen/sdk-codegen/aws-models/ecr.json +++ b/codegen/sdk-codegen/aws-models/ecr.json @@ -1905,7 +1905,7 @@ "upstreamRegistryUrl": { "target": "com.amazonaws.ecr#Url", "traits": { - "smithy.api#documentation": "

    The registry URL of the upstream public registry to use as the source for the pull\n through cache rule. The following is the syntax to use for each supported upstream\n registry.

    \n ", + "smithy.api#documentation": "

    The registry URL of the upstream public registry to use as the source for the pull\n through cache rule. The following is the syntax to use for each supported upstream\n registry.

    \n ", "smithy.api#required": {} } }, @@ -7711,6 +7711,12 @@ "traits": { "smithy.api#enumValue": "azure-container-registry" } + }, + "GitLabContainerRegistry": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "gitlab-container-registry" + } } } },