Inspector2 / Client / update_code_security_integration
update_code_security_integration¶
- Inspector2.Client.update_code_security_integration(**kwargs)¶
Updates an existing code security integration.
After calling the
CreateCodeSecurityIntegration
operation, you complete authentication and authorization with your provider. Next you call theUpdateCodeSecurityIntegration
operation to provide thedetails
to complete the integration setupSee also: AWS API Documentation
Request Syntax
response = client.update_code_security_integration( details={ 'github': { 'code': 'string', 'installationId': 'string' }, 'gitlabSelfManaged': { 'authCode': 'string' } }, integrationArn='string' )
- Parameters:
details (dict) –
[REQUIRED]
The updated integration details specific to the repository provider type.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:
github
,gitlabSelfManaged
.github (dict) –
Details specific to updating an integration with GitHub.
code (string) – [REQUIRED]
The authorization code received from GitHub to update the integration.
installationId (string) – [REQUIRED]
The installation ID of the GitHub App associated with the integration.
gitlabSelfManaged (dict) –
Details specific to updating an integration with a self-managed GitLab instance.
authCode (string) – [REQUIRED]
The authorization code received from the self-managed GitLab instance to update the integration.
integrationArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the code security integration to update.
- Return type:
dict
- Returns:
Response Syntax
{ 'integrationArn': 'string', 'status': 'PENDING'|'IN_PROGRESS'|'ACTIVE'|'INACTIVE'|'DISABLING' }
Response Structure
(dict) –
integrationArn (string) –
The Amazon Resource Name (ARN) of the updated code security integration.
status (string) –
The current status of the updated code security integration.
Exceptions