Skip to content

Commit

Permalink
feat(client-codestar-connections): New integration with the GitLab se…
Browse files Browse the repository at this point in the history
…lf-managed provider type.
  • Loading branch information
awstools committed Dec 28, 2023
1 parent 16531e4 commit 4b37174
Show file tree
Hide file tree
Showing 17 changed files with 27 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions clients/client-codestar-connections/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export const ProviderType = {
GITHUB: "GitHub",
GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer",
GITLAB: "GitLab",
GITLAB_SELF_MANAGED: "GitLabSelfManaged",
} as const;

/**
Expand Down
6 changes: 6 additions & 0 deletions codegen/sdk-codegen/aws-models/codestar-connections.json
Original file line number Diff line number Diff line change
Expand Up @@ -2838,6 +2838,12 @@
"traits": {
"smithy.api#enumValue": "GitLab"
}
},
"GITLAB_SELF_MANAGED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "GitLabSelfManaged"
}
}
}
},
Expand Down

0 comments on commit 4b37174

Please sign in to comment.