Amazon CodeCommit Codecommit Repository Trigger API
The Codecommit Repository Trigger API from Amazon CodeCommit — 3 operation(s) for codecommit repository trigger.
The Codecommit Repository Trigger API from Amazon CodeCommit — 3 operation(s) for codecommit repository trigger.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/amazon-codecommit:amazon-codecommit-repository-trigger-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.1.0
info:
title: AWS CodeCommit Repository Trigger API
version: '2015-04-13'
description: Generated from AWS's published Smithy model for AWS CodeCommit. 3 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://codecommit.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/#GetRepositoryTriggers:
post:
operationId: GetRepositoryTriggers
summary: Get Repository Triggers
description: Gets information about triggers configured for a repository.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/GetRepositoryTriggersOutput'
'500':
description: EncryptionIntegrityChecksFailedException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/EncryptionIntegrityChecksFailedException'
'400':
description: EncryptionKeyAccessDeniedException; EncryptionKeyDisabledException; EncryptionKeyNotFoundException;
EncryptionKeyUnavailableException; InvalidRepositoryNameException; RepositoryDoesNotExistException; RepositoryNameRequiredException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/EncryptionKeyAccessDeniedException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- CodeCommit_20150413.GetRepositoryTriggers
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/GetRepositoryTriggersInput'
tags:
- Repository Trigger
/#PutRepositoryTriggers:
post:
operationId: PutRepositoryTriggers
summary: Put Repository Triggers
description: Replaces all triggers for a repository. Used to create or delete triggers.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/PutRepositoryTriggersOutput'
'500':
description: EncryptionIntegrityChecksFailedException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/EncryptionIntegrityChecksFailedException'
'400':
description: EncryptionKeyAccessDeniedException; EncryptionKeyDisabledException; EncryptionKeyNotFoundException;
EncryptionKeyUnavailableException; InvalidRepositoryNameException; InvalidRepositoryTriggerBranchNameException;
InvalidRepositoryTriggerCustomDataException; InvalidRepositoryTriggerDestinationArnException; InvalidRepositoryTriggerEventsException;
InvalidRepositoryTriggerNameException; InvalidRepositoryTriggerRegionException; MaximumBranchesExceededException;
MaximumRepositoryTriggersExceededException; RepositoryDoesNotExistException; RepositoryNameRequiredException;
RepositoryTriggerBranchNameListRequiredException; RepositoryTriggerDestinationArnRequiredException; RepositoryTriggerEventsListRequiredException;
RepositoryTriggerNameRequiredException; RepositoryTriggersListRequiredException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/EncryptionKeyAccessDeniedException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- CodeCommit_20150413.PutRepositoryTriggers
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/PutRepositoryTriggersInput'
tags:
- Repository Trigger
/#TestRepositoryTriggers:
post:
operationId: TestRepositoryTriggers
summary: Test Repository Triggers
description: Tests the functionality of repository triggers by sending information to the trigger target. If real data
is available in the repository, the test sends data from the last commit. If no data is available, sample data is
generated.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/TestRepositoryTriggersOutput'
'500':
description: EncryptionIntegrityChecksFailedException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/EncryptionIntegrityChecksFailedException'
'400':
description: EncryptionKeyAccessDeniedException; EncryptionKeyDisabledException; EncryptionKeyNotFoundException;
EncryptionKeyUnavailableException; InvalidRepositoryNameException; InvalidRepositoryTriggerBranchNameException;
InvalidRepositoryTriggerCustomDataException; InvalidRepositoryTriggerDestinationArnException; InvalidRepositoryTriggerEventsException;
InvalidRepositoryTriggerNameException; InvalidRepositoryTriggerRegionException; MaximumBranchesExceededException;
MaximumRepositoryTriggersExceededException; RepositoryDoesNotExistException; RepositoryNameRequiredException;
RepositoryTriggerBranchNameListRequiredException; RepositoryTriggerDestinationArnRequiredException; RepositoryTriggerEventsListRequiredException;
RepositoryTriggerNameRequiredException; RepositoryTriggersListRequiredException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/EncryptionKeyAccessDeniedException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- CodeCommit_20150413.TestRepositoryTriggers
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/TestRepositoryTriggersInput'
tags:
- Repository Trigger
components:
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: codecommit
schemas:
EncryptionIntegrityChecksFailedException:
type: object
properties:
message:
type: string
description: Any message associated with the exception.
EncryptionKeyAccessDeniedException:
type: object
properties:
message:
type: string
description: Any message associated with the exception.
GetRepositoryTriggersInput:
type: object
properties:
repositoryName:
type: string
description: The name of the repository for which the trigger is configured.
required:
- repositoryName
GetRepositoryTriggersOutput:
type: object
properties:
configurationId:
type: string
description: The system-generated unique ID for the trigger.
triggers:
type: array
items:
$ref: '#/components/schemas/RepositoryTrigger'
description: The JSON block of configuration information for each trigger.
PutRepositoryTriggersInput:
type: object
properties:
repositoryName:
type: string
description: The name of the repository where you want to create or update the trigger.
triggers:
type: array
items:
$ref: '#/components/schemas/RepositoryTrigger'
description: The JSON block of configuration information for each trigger.
required:
- repositoryName
- triggers
PutRepositoryTriggersOutput:
type: object
properties:
configurationId:
type: string
description: The system-generated unique ID for the create or update operation.
RepositoryTrigger:
type: object
properties:
name:
type: string
description: The name of the trigger.
destinationArn:
type: string
description: The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon
SNS).
customData:
type: string
description: Any custom data associated with the trigger to be included in the information sent to the target of
the trigger.
branches:
type: array
items:
type: string
description: The branches to be included in the trigger configuration. If you specify an empty array, the trigger
applies to all branches. Although no content is required in the array, you must include the array itself.
events:
type: array
items:
type: string
enum:
- all
- updateReference
- createReference
- deleteReference
description: The repository events that cause the trigger to run actions in another service, such as sending a notification
through Amazon SNS. The valid value "all" cannot be used with any other values.
required:
- name
- destinationArn
- events
RepositoryTriggerExecutionFailure:
type: object
properties:
trigger:
type: string
description: The name of the trigger that did not run.
failureMessage:
type: string
description: Message information about the trigger that did not run.
TestRepositoryTriggersInput:
type: object
properties:
repositoryName:
type: string
description: The name of the repository in which to test the triggers.
triggers:
type: array
items:
$ref: '#/components/schemas/RepositoryTrigger'
description: The list of triggers to test.
required:
- repositoryName
- triggers
TestRepositoryTriggersOutput:
type: object
properties:
successfulExecutions:
type: array
items:
type: string
description: The list of triggers that were successfully tested. This list provides the names of the triggers that
were successfully tested, separated by commas.
failedExecutions:
type: array
items:
$ref: '#/components/schemas/RepositoryTriggerExecutionFailure'
description: The list of triggers that were not tested. This list provides the names of the triggers that could
not be tested, separated by commas.
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/codecommit/service/2015-04-13/codecommit-2015-04-13.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)