Skip to content

Commit 4b37174

Browse files
author
awstools
committed
feat(client-codestar-connections): New integration with the GitLab self-managed provider type.
1 parent 16531e4 commit 4b37174

17 files changed

+27
-20
lines changed

clients/client-codestar-connections/src/commands/CreateConnectionCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export interface CreateConnectionCommandOutput extends CreateConnectionOutput, _
4242
* // const { CodeStarConnectionsClient, CreateConnectionCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
4343
* const client = new CodeStarConnectionsClient(config);
4444
* const input = { // CreateConnectionInput
45-
* ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab",
45+
* ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged",
4646
* ConnectionName: "STRING_VALUE", // required
4747
* Tags: [ // TagList
4848
* { // Tag

clients/client-codestar-connections/src/commands/CreateHostCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export interface CreateHostCommandOutput extends CreateHostOutput, __MetadataBea
4848
* const client = new CodeStarConnectionsClient(config);
4949
* const input = { // CreateHostInput
5050
* Name: "STRING_VALUE", // required
51-
* ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
51+
* ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
5252
* ProviderEndpoint: "STRING_VALUE", // required
5353
* VpcConfiguration: { // VpcConfiguration
5454
* VpcId: "STRING_VALUE", // required

clients/client-codestar-connections/src/commands/CreateRepositoryLinkCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export interface CreateRepositoryLinkCommandOutput extends CreateRepositoryLinkO
5858
* // ConnectionArn: "STRING_VALUE", // required
5959
* // EncryptionKeyArn: "STRING_VALUE",
6060
* // OwnerId: "STRING_VALUE", // required
61-
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
61+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
6262
* // RepositoryLinkArn: "STRING_VALUE", // required
6363
* // RepositoryLinkId: "STRING_VALUE", // required
6464
* // RepositoryName: "STRING_VALUE", // required

clients/client-codestar-connections/src/commands/CreateSyncConfigurationCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface CreateSyncConfigurationCommandOutput extends CreateSyncConfigur
5656
* // Branch: "STRING_VALUE", // required
5757
* // ConfigFile: "STRING_VALUE",
5858
* // OwnerId: "STRING_VALUE", // required
59-
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
59+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
6060
* // RepositoryLinkId: "STRING_VALUE", // required
6161
* // RepositoryName: "STRING_VALUE", // required
6262
* // ResourceName: "STRING_VALUE", // required

clients/client-codestar-connections/src/commands/GetConnectionCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export interface GetConnectionCommandOutput extends GetConnectionOutput, __Metad
4848
* // Connection: { // Connection
4949
* // ConnectionName: "STRING_VALUE",
5050
* // ConnectionArn: "STRING_VALUE",
51-
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab",
51+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged",
5252
* // OwnerAccountId: "STRING_VALUE",
5353
* // ConnectionStatus: "PENDING" || "AVAILABLE" || "ERROR",
5454
* // HostArn: "STRING_VALUE",

clients/client-codestar-connections/src/commands/GetHostCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export interface GetHostCommandOutput extends GetHostOutput, __MetadataBearer {}
4848
* // { // GetHostOutput
4949
* // Name: "STRING_VALUE",
5050
* // Status: "STRING_VALUE",
51-
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab",
51+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged",
5252
* // ProviderEndpoint: "STRING_VALUE",
5353
* // VpcConfiguration: { // VpcConfiguration
5454
* // VpcId: "STRING_VALUE", // required

clients/client-codestar-connections/src/commands/GetRepositoryLinkCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export interface GetRepositoryLinkCommandOutput extends GetRepositoryLinkOutput,
5050
* // ConnectionArn: "STRING_VALUE", // required
5151
* // EncryptionKeyArn: "STRING_VALUE",
5252
* // OwnerId: "STRING_VALUE", // required
53-
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
53+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
5454
* // RepositoryLinkArn: "STRING_VALUE", // required
5555
* // RepositoryLinkId: "STRING_VALUE", // required
5656
* // RepositoryName: "STRING_VALUE", // required

clients/client-codestar-connections/src/commands/GetResourceSyncStatusCommand.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export interface GetResourceSyncStatusCommandOutput extends GetResourceSyncStatu
5252
* // Directory: "STRING_VALUE", // required
5353
* // OwnerId: "STRING_VALUE", // required
5454
* // RepositoryName: "STRING_VALUE", // required
55-
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
55+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
5656
* // Sha: "STRING_VALUE", // required
5757
* // },
5858
* // LatestSuccessfulSync: { // ResourceSyncAttempt
@@ -69,7 +69,7 @@ export interface GetResourceSyncStatusCommandOutput extends GetResourceSyncStatu
6969
* // Directory: "STRING_VALUE", // required
7070
* // OwnerId: "STRING_VALUE", // required
7171
* // RepositoryName: "STRING_VALUE", // required
72-
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
72+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
7373
* // Sha: "STRING_VALUE", // required
7474
* // },
7575
* // StartedAt: new Date("TIMESTAMP"), // required
@@ -79,7 +79,7 @@ export interface GetResourceSyncStatusCommandOutput extends GetResourceSyncStatu
7979
* // Directory: "STRING_VALUE", // required
8080
* // OwnerId: "STRING_VALUE", // required
8181
* // RepositoryName: "STRING_VALUE", // required
82-
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
82+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
8383
* // Sha: "STRING_VALUE", // required
8484
* // },
8585
* // Target: "STRING_VALUE", // required
@@ -98,7 +98,7 @@ export interface GetResourceSyncStatusCommandOutput extends GetResourceSyncStatu
9898
* // Directory: "STRING_VALUE", // required
9999
* // OwnerId: "STRING_VALUE", // required
100100
* // RepositoryName: "STRING_VALUE", // required
101-
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
101+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
102102
* // Sha: "STRING_VALUE", // required
103103
* // },
104104
* // StartedAt: new Date("TIMESTAMP"), // required
@@ -108,7 +108,7 @@ export interface GetResourceSyncStatusCommandOutput extends GetResourceSyncStatu
108108
* // Directory: "STRING_VALUE", // required
109109
* // OwnerId: "STRING_VALUE", // required
110110
* // RepositoryName: "STRING_VALUE", // required
111-
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
111+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
112112
* // Sha: "STRING_VALUE", // required
113113
* // },
114114
* // Target: "STRING_VALUE", // required

clients/client-codestar-connections/src/commands/GetSyncConfigurationCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export interface GetSyncConfigurationCommandOutput extends GetSyncConfigurationO
5050
* // Branch: "STRING_VALUE", // required
5151
* // ConfigFile: "STRING_VALUE",
5252
* // OwnerId: "STRING_VALUE", // required
53-
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
53+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
5454
* // RepositoryLinkId: "STRING_VALUE", // required
5555
* // RepositoryName: "STRING_VALUE", // required
5656
* // ResourceName: "STRING_VALUE", // required

clients/client-codestar-connections/src/commands/ListConnectionsCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export interface ListConnectionsCommandOutput extends ListConnectionsOutput, __M
4040
* // const { CodeStarConnectionsClient, ListConnectionsCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
4141
* const client = new CodeStarConnectionsClient(config);
4242
* const input = { // ListConnectionsInput
43-
* ProviderTypeFilter: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab",
43+
* ProviderTypeFilter: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged",
4444
* HostArnFilter: "STRING_VALUE",
4545
* MaxResults: Number("int"),
4646
* NextToken: "STRING_VALUE",
@@ -52,7 +52,7 @@ export interface ListConnectionsCommandOutput extends ListConnectionsOutput, __M
5252
* // { // Connection
5353
* // ConnectionName: "STRING_VALUE",
5454
* // ConnectionArn: "STRING_VALUE",
55-
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab",
55+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged",
5656
* // OwnerAccountId: "STRING_VALUE",
5757
* // ConnectionStatus: "PENDING" || "AVAILABLE" || "ERROR",
5858
* // HostArn: "STRING_VALUE",

clients/client-codestar-connections/src/commands/ListHostsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export interface ListHostsCommandOutput extends ListHostsOutput, __MetadataBeare
5050
* // { // Host
5151
* // Name: "STRING_VALUE",
5252
* // HostArn: "STRING_VALUE",
53-
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab",
53+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged",
5454
* // ProviderEndpoint: "STRING_VALUE",
5555
* // VpcConfiguration: { // VpcConfiguration
5656
* // VpcId: "STRING_VALUE", // required

clients/client-codestar-connections/src/commands/ListRepositoryLinksCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export interface ListRepositoryLinksCommandOutput extends ListRepositoryLinksOut
5151
* // ConnectionArn: "STRING_VALUE", // required
5252
* // EncryptionKeyArn: "STRING_VALUE",
5353
* // OwnerId: "STRING_VALUE", // required
54-
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
54+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
5555
* // RepositoryLinkArn: "STRING_VALUE", // required
5656
* // RepositoryLinkId: "STRING_VALUE", // required
5757
* // RepositoryName: "STRING_VALUE", // required

clients/client-codestar-connections/src/commands/ListSyncConfigurationsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export interface ListSyncConfigurationsCommandOutput extends ListSyncConfigurati
5353
* // Branch: "STRING_VALUE", // required
5454
* // ConfigFile: "STRING_VALUE",
5555
* // OwnerId: "STRING_VALUE", // required
56-
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
56+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
5757
* // RepositoryLinkId: "STRING_VALUE", // required
5858
* // RepositoryName: "STRING_VALUE", // required
5959
* // ResourceName: "STRING_VALUE", // required

clients/client-codestar-connections/src/commands/UpdateRepositoryLinkCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export interface UpdateRepositoryLinkCommandOutput extends UpdateRepositoryLinkO
5353
* // ConnectionArn: "STRING_VALUE", // required
5454
* // EncryptionKeyArn: "STRING_VALUE",
5555
* // OwnerId: "STRING_VALUE", // required
56-
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
56+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
5757
* // RepositoryLinkArn: "STRING_VALUE", // required
5858
* // RepositoryLinkId: "STRING_VALUE", // required
5959
* // RepositoryName: "STRING_VALUE", // required

clients/client-codestar-connections/src/commands/UpdateSyncConfigurationCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export interface UpdateSyncConfigurationCommandOutput extends UpdateSyncConfigur
5454
* // Branch: "STRING_VALUE", // required
5555
* // ConfigFile: "STRING_VALUE",
5656
* // OwnerId: "STRING_VALUE", // required
57-
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
57+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
5858
* // RepositoryLinkId: "STRING_VALUE", // required
5959
* // RepositoryName: "STRING_VALUE", // required
6060
* // ResourceName: "STRING_VALUE", // required

clients/client-codestar-connections/src/models/models_0.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export const ProviderType = {
6161
GITHUB: "GitHub",
6262
GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer",
6363
GITLAB: "GitLab",
64+
GITLAB_SELF_MANAGED: "GitLabSelfManaged",
6465
} as const;
6566

6667
/**

codegen/sdk-codegen/aws-models/codestar-connections.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2838,6 +2838,12 @@
28382838
"traits": {
28392839
"smithy.api#enumValue": "GitLab"
28402840
}
2841+
},
2842+
"GITLAB_SELF_MANAGED": {
2843+
"target": "smithy.api#Unit",
2844+
"traits": {
2845+
"smithy.api#enumValue": "GitLabSelfManaged"
2846+
}
28412847
}
28422848
}
28432849
},

0 commit comments

Comments
 (0)