diff --git a/clients/client-codestar-connections/src/commands/CreateConnectionCommand.ts b/clients/client-codestar-connections/src/commands/CreateConnectionCommand.ts index 3c3c941e0e06..61f21a598152 100644 --- a/clients/client-codestar-connections/src/commands/CreateConnectionCommand.ts +++ b/clients/client-codestar-connections/src/commands/CreateConnectionCommand.ts @@ -42,7 +42,7 @@ export interface CreateConnectionCommandOutput extends CreateConnectionOutput, _ * // const { CodeStarConnectionsClient, CreateConnectionCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import * const client = new CodeStarConnectionsClient(config); * const input = { // CreateConnectionInput - * ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", + * ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", * ConnectionName: "STRING_VALUE", // required * Tags: [ // TagList * { // Tag diff --git a/clients/client-codestar-connections/src/commands/CreateHostCommand.ts b/clients/client-codestar-connections/src/commands/CreateHostCommand.ts index e51af75f50df..b9f821b476b8 100644 --- a/clients/client-codestar-connections/src/commands/CreateHostCommand.ts +++ b/clients/client-codestar-connections/src/commands/CreateHostCommand.ts @@ -48,7 +48,7 @@ export interface CreateHostCommandOutput extends CreateHostOutput, __MetadataBea * const client = new CodeStarConnectionsClient(config); * const input = { // CreateHostInput * Name: "STRING_VALUE", // required - * ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required + * ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required * ProviderEndpoint: "STRING_VALUE", // required * VpcConfiguration: { // VpcConfiguration * VpcId: "STRING_VALUE", // required diff --git a/clients/client-codestar-connections/src/commands/CreateRepositoryLinkCommand.ts b/clients/client-codestar-connections/src/commands/CreateRepositoryLinkCommand.ts index b42a1a775d39..287917c22477 100644 --- a/clients/client-codestar-connections/src/commands/CreateRepositoryLinkCommand.ts +++ b/clients/client-codestar-connections/src/commands/CreateRepositoryLinkCommand.ts @@ -58,7 +58,7 @@ export interface CreateRepositoryLinkCommandOutput extends CreateRepositoryLinkO * // ConnectionArn: "STRING_VALUE", // required * // EncryptionKeyArn: "STRING_VALUE", * // OwnerId: "STRING_VALUE", // required - * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required + * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required * // RepositoryLinkArn: "STRING_VALUE", // required * // RepositoryLinkId: "STRING_VALUE", // required * // RepositoryName: "STRING_VALUE", // required diff --git a/clients/client-codestar-connections/src/commands/CreateSyncConfigurationCommand.ts b/clients/client-codestar-connections/src/commands/CreateSyncConfigurationCommand.ts index 18b416569327..a8389f10b359 100644 --- a/clients/client-codestar-connections/src/commands/CreateSyncConfigurationCommand.ts +++ b/clients/client-codestar-connections/src/commands/CreateSyncConfigurationCommand.ts @@ -56,7 +56,7 @@ export interface CreateSyncConfigurationCommandOutput extends CreateSyncConfigur * // Branch: "STRING_VALUE", // required * // ConfigFile: "STRING_VALUE", * // OwnerId: "STRING_VALUE", // required - * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required + * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required * // RepositoryLinkId: "STRING_VALUE", // required * // RepositoryName: "STRING_VALUE", // required * // ResourceName: "STRING_VALUE", // required diff --git a/clients/client-codestar-connections/src/commands/GetConnectionCommand.ts b/clients/client-codestar-connections/src/commands/GetConnectionCommand.ts index bffacd491067..69a73fdc98b8 100644 --- a/clients/client-codestar-connections/src/commands/GetConnectionCommand.ts +++ b/clients/client-codestar-connections/src/commands/GetConnectionCommand.ts @@ -48,7 +48,7 @@ export interface GetConnectionCommandOutput extends GetConnectionOutput, __Metad * // Connection: { // Connection * // ConnectionName: "STRING_VALUE", * // ConnectionArn: "STRING_VALUE", - * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", + * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", * // OwnerAccountId: "STRING_VALUE", * // ConnectionStatus: "PENDING" || "AVAILABLE" || "ERROR", * // HostArn: "STRING_VALUE", diff --git a/clients/client-codestar-connections/src/commands/GetHostCommand.ts b/clients/client-codestar-connections/src/commands/GetHostCommand.ts index 56b1ba560411..2873496fe3a2 100644 --- a/clients/client-codestar-connections/src/commands/GetHostCommand.ts +++ b/clients/client-codestar-connections/src/commands/GetHostCommand.ts @@ -48,7 +48,7 @@ export interface GetHostCommandOutput extends GetHostOutput, __MetadataBearer {} * // { // GetHostOutput * // Name: "STRING_VALUE", * // Status: "STRING_VALUE", - * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", + * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", * // ProviderEndpoint: "STRING_VALUE", * // VpcConfiguration: { // VpcConfiguration * // VpcId: "STRING_VALUE", // required diff --git a/clients/client-codestar-connections/src/commands/GetRepositoryLinkCommand.ts b/clients/client-codestar-connections/src/commands/GetRepositoryLinkCommand.ts index bc8c5ea23cb3..41824fc6e273 100644 --- a/clients/client-codestar-connections/src/commands/GetRepositoryLinkCommand.ts +++ b/clients/client-codestar-connections/src/commands/GetRepositoryLinkCommand.ts @@ -50,7 +50,7 @@ export interface GetRepositoryLinkCommandOutput extends GetRepositoryLinkOutput, * // ConnectionArn: "STRING_VALUE", // required * // EncryptionKeyArn: "STRING_VALUE", * // OwnerId: "STRING_VALUE", // required - * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required + * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required * // RepositoryLinkArn: "STRING_VALUE", // required * // RepositoryLinkId: "STRING_VALUE", // required * // RepositoryName: "STRING_VALUE", // required diff --git a/clients/client-codestar-connections/src/commands/GetResourceSyncStatusCommand.ts b/clients/client-codestar-connections/src/commands/GetResourceSyncStatusCommand.ts index f670696dcaee..7508fe3507e7 100644 --- a/clients/client-codestar-connections/src/commands/GetResourceSyncStatusCommand.ts +++ b/clients/client-codestar-connections/src/commands/GetResourceSyncStatusCommand.ts @@ -52,7 +52,7 @@ export interface GetResourceSyncStatusCommandOutput extends GetResourceSyncStatu * // Directory: "STRING_VALUE", // required * // OwnerId: "STRING_VALUE", // required * // RepositoryName: "STRING_VALUE", // required - * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required + * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required * // Sha: "STRING_VALUE", // required * // }, * // LatestSuccessfulSync: { // ResourceSyncAttempt @@ -69,7 +69,7 @@ export interface GetResourceSyncStatusCommandOutput extends GetResourceSyncStatu * // Directory: "STRING_VALUE", // required * // OwnerId: "STRING_VALUE", // required * // RepositoryName: "STRING_VALUE", // required - * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required + * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required * // Sha: "STRING_VALUE", // required * // }, * // StartedAt: new Date("TIMESTAMP"), // required @@ -79,7 +79,7 @@ export interface GetResourceSyncStatusCommandOutput extends GetResourceSyncStatu * // Directory: "STRING_VALUE", // required * // OwnerId: "STRING_VALUE", // required * // RepositoryName: "STRING_VALUE", // required - * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required + * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required * // Sha: "STRING_VALUE", // required * // }, * // Target: "STRING_VALUE", // required @@ -98,7 +98,7 @@ export interface GetResourceSyncStatusCommandOutput extends GetResourceSyncStatu * // Directory: "STRING_VALUE", // required * // OwnerId: "STRING_VALUE", // required * // RepositoryName: "STRING_VALUE", // required - * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required + * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required * // Sha: "STRING_VALUE", // required * // }, * // StartedAt: new Date("TIMESTAMP"), // required @@ -108,7 +108,7 @@ export interface GetResourceSyncStatusCommandOutput extends GetResourceSyncStatu * // Directory: "STRING_VALUE", // required * // OwnerId: "STRING_VALUE", // required * // RepositoryName: "STRING_VALUE", // required - * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required + * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required * // Sha: "STRING_VALUE", // required * // }, * // Target: "STRING_VALUE", // required diff --git a/clients/client-codestar-connections/src/commands/GetSyncConfigurationCommand.ts b/clients/client-codestar-connections/src/commands/GetSyncConfigurationCommand.ts index 0081ac2219c3..085d460d4169 100644 --- a/clients/client-codestar-connections/src/commands/GetSyncConfigurationCommand.ts +++ b/clients/client-codestar-connections/src/commands/GetSyncConfigurationCommand.ts @@ -50,7 +50,7 @@ export interface GetSyncConfigurationCommandOutput extends GetSyncConfigurationO * // Branch: "STRING_VALUE", // required * // ConfigFile: "STRING_VALUE", * // OwnerId: "STRING_VALUE", // required - * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required + * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required * // RepositoryLinkId: "STRING_VALUE", // required * // RepositoryName: "STRING_VALUE", // required * // ResourceName: "STRING_VALUE", // required diff --git a/clients/client-codestar-connections/src/commands/ListConnectionsCommand.ts b/clients/client-codestar-connections/src/commands/ListConnectionsCommand.ts index 5127c352fce3..69ff364d76a5 100644 --- a/clients/client-codestar-connections/src/commands/ListConnectionsCommand.ts +++ b/clients/client-codestar-connections/src/commands/ListConnectionsCommand.ts @@ -40,7 +40,7 @@ export interface ListConnectionsCommandOutput extends ListConnectionsOutput, __M * // const { CodeStarConnectionsClient, ListConnectionsCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import * const client = new CodeStarConnectionsClient(config); * const input = { // ListConnectionsInput - * ProviderTypeFilter: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", + * ProviderTypeFilter: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", * HostArnFilter: "STRING_VALUE", * MaxResults: Number("int"), * NextToken: "STRING_VALUE", @@ -52,7 +52,7 @@ export interface ListConnectionsCommandOutput extends ListConnectionsOutput, __M * // { // Connection * // ConnectionName: "STRING_VALUE", * // ConnectionArn: "STRING_VALUE", - * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", + * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", * // OwnerAccountId: "STRING_VALUE", * // ConnectionStatus: "PENDING" || "AVAILABLE" || "ERROR", * // HostArn: "STRING_VALUE", diff --git a/clients/client-codestar-connections/src/commands/ListHostsCommand.ts b/clients/client-codestar-connections/src/commands/ListHostsCommand.ts index eaaf142ece3a..46dd31b36649 100644 --- a/clients/client-codestar-connections/src/commands/ListHostsCommand.ts +++ b/clients/client-codestar-connections/src/commands/ListHostsCommand.ts @@ -50,7 +50,7 @@ export interface ListHostsCommandOutput extends ListHostsOutput, __MetadataBeare * // { // Host * // Name: "STRING_VALUE", * // HostArn: "STRING_VALUE", - * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", + * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", * // ProviderEndpoint: "STRING_VALUE", * // VpcConfiguration: { // VpcConfiguration * // VpcId: "STRING_VALUE", // required diff --git a/clients/client-codestar-connections/src/commands/ListRepositoryLinksCommand.ts b/clients/client-codestar-connections/src/commands/ListRepositoryLinksCommand.ts index bc38f473cd8e..63b7ff02c7c7 100644 --- a/clients/client-codestar-connections/src/commands/ListRepositoryLinksCommand.ts +++ b/clients/client-codestar-connections/src/commands/ListRepositoryLinksCommand.ts @@ -51,7 +51,7 @@ export interface ListRepositoryLinksCommandOutput extends ListRepositoryLinksOut * // ConnectionArn: "STRING_VALUE", // required * // EncryptionKeyArn: "STRING_VALUE", * // OwnerId: "STRING_VALUE", // required - * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required + * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required * // RepositoryLinkArn: "STRING_VALUE", // required * // RepositoryLinkId: "STRING_VALUE", // required * // RepositoryName: "STRING_VALUE", // required diff --git a/clients/client-codestar-connections/src/commands/ListSyncConfigurationsCommand.ts b/clients/client-codestar-connections/src/commands/ListSyncConfigurationsCommand.ts index 8205c8d9b7c0..00027c82bd10 100644 --- a/clients/client-codestar-connections/src/commands/ListSyncConfigurationsCommand.ts +++ b/clients/client-codestar-connections/src/commands/ListSyncConfigurationsCommand.ts @@ -53,7 +53,7 @@ export interface ListSyncConfigurationsCommandOutput extends ListSyncConfigurati * // Branch: "STRING_VALUE", // required * // ConfigFile: "STRING_VALUE", * // OwnerId: "STRING_VALUE", // required - * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required + * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required * // RepositoryLinkId: "STRING_VALUE", // required * // RepositoryName: "STRING_VALUE", // required * // ResourceName: "STRING_VALUE", // required diff --git a/clients/client-codestar-connections/src/commands/UpdateRepositoryLinkCommand.ts b/clients/client-codestar-connections/src/commands/UpdateRepositoryLinkCommand.ts index 7f12a09e588d..663e3ec47f8f 100644 --- a/clients/client-codestar-connections/src/commands/UpdateRepositoryLinkCommand.ts +++ b/clients/client-codestar-connections/src/commands/UpdateRepositoryLinkCommand.ts @@ -53,7 +53,7 @@ export interface UpdateRepositoryLinkCommandOutput extends UpdateRepositoryLinkO * // ConnectionArn: "STRING_VALUE", // required * // EncryptionKeyArn: "STRING_VALUE", * // OwnerId: "STRING_VALUE", // required - * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required + * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required * // RepositoryLinkArn: "STRING_VALUE", // required * // RepositoryLinkId: "STRING_VALUE", // required * // RepositoryName: "STRING_VALUE", // required diff --git a/clients/client-codestar-connections/src/commands/UpdateSyncConfigurationCommand.ts b/clients/client-codestar-connections/src/commands/UpdateSyncConfigurationCommand.ts index 7f36b8df5109..d5015547f8ca 100644 --- a/clients/client-codestar-connections/src/commands/UpdateSyncConfigurationCommand.ts +++ b/clients/client-codestar-connections/src/commands/UpdateSyncConfigurationCommand.ts @@ -54,7 +54,7 @@ export interface UpdateSyncConfigurationCommandOutput extends UpdateSyncConfigur * // Branch: "STRING_VALUE", // required * // ConfigFile: "STRING_VALUE", * // OwnerId: "STRING_VALUE", // required - * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required + * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required * // RepositoryLinkId: "STRING_VALUE", // required * // RepositoryName: "STRING_VALUE", // required * // ResourceName: "STRING_VALUE", // required diff --git a/clients/client-codestar-connections/src/models/models_0.ts b/clients/client-codestar-connections/src/models/models_0.ts index 1d59ccb86942..b7af0f348596 100644 --- a/clients/client-codestar-connections/src/models/models_0.ts +++ b/clients/client-codestar-connections/src/models/models_0.ts @@ -61,6 +61,7 @@ export const ProviderType = { GITHUB: "GitHub", GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer", GITLAB: "GitLab", + GITLAB_SELF_MANAGED: "GitLabSelfManaged", } as const; /** diff --git a/codegen/sdk-codegen/aws-models/codestar-connections.json b/codegen/sdk-codegen/aws-models/codestar-connections.json index bc8dd16df7d9..8f8c613c17f3 100644 --- a/codegen/sdk-codegen/aws-models/codestar-connections.json +++ b/codegen/sdk-codegen/aws-models/codestar-connections.json @@ -2838,6 +2838,12 @@ "traits": { "smithy.api#enumValue": "GitLab" } + }, + "GITLAB_SELF_MANAGED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GitLabSelfManaged" + } } } },