AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository.
For .NET Core this operation is only available in asynchronous form. Please refer to ImportSourceCredentialsAsync.
Namespace: Amazon.CodeBuild
Assembly: AWSSDK.CodeBuild.dll
Version: 3.x.y.z
public abstract ImportSourceCredentialsResponse ImportSourceCredentials( ImportSourceCredentialsRequest request )
Container for the necessary parameters to execute the ImportSourceCredentials service method.
Exception | Condition |
---|---|
AccountLimitExceededException | An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account. |
InvalidInputException | The input value that was provided is not valid. |
ResourceAlreadyExistsException | The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists. |
.NET Framework:
Supported in: 4.5 and newer, 3.5