Proton / Client / delete_repository
delete_repository#
- Proton.Client.delete_repository(**kwargs)#
- De-register and unlink your repository. - See also: AWS API Documentation - Request Syntax- response = client.delete_repository( name='string', provider='GITHUB'|'GITHUB_ENTERPRISE'|'BITBUCKET' ) - Parameters:
- name (string) – - [REQUIRED] - The repository name. 
- provider (string) – - [REQUIRED] - The repository provider. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'repository': { 'arn': 'string', 'connectionArn': 'string', 'encryptionKey': 'string', 'name': 'string', 'provider': 'GITHUB'|'GITHUB_ENTERPRISE'|'BITBUCKET' } } - Response Structure- (dict) – - repository (dict) – - The deleted repository link’s detail data that’s returned by Proton. - arn (string) – - The Amazon Resource Name (ARN) of the linked repository. 
- connectionArn (string) – - The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account. 
- encryptionKey (string) – - Your customer Amazon Web Services KMS encryption key. 
- name (string) – - The repository name. 
- provider (string) – - The repository provider. 
 
 
 
 - Exceptions- Proton.Client.exceptions.ValidationException
- Proton.Client.exceptions.AccessDeniedException
- Proton.Client.exceptions.ThrottlingException
- Proton.Client.exceptions.ConflictException
- Proton.Client.exceptions.ResourceNotFoundException
- Proton.Client.exceptions.InternalServerException