interface ResponseElements
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeCommit.Events.AWSAPICallViaCloudTrail.ResponseElements |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodecommit/events#AWSAPICallViaCloudTrail_ResponseElements |
Java | software.amazon.awscdk.mixins.preview.services.codecommit.events.AWSAPICallViaCloudTrail.ResponseElements |
Python | aws_cdk.mixins_preview.aws_codecommit.events.AWSAPICallViaCloudTrail.ResponseElements |
TypeScript | @aws-cdk/mixins-preview ยป aws_codecommit ยป events ยป AWSAPICallViaCloudTrail ยป ResponseElements |
Type definition for ResponseElements.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as codecommit_events } from '@aws-cdk/mixins-preview/aws-codecommit';
declare const approvalRules: any;
const responseElements: codecommit_events.AWSAPICallViaCloudTrail.ResponseElements = {
afterBlobId: ['afterBlobId'],
afterCommitId: ['afterCommitId'],
beforeBlobId: ['beforeBlobId'],
beforeCommitId: ['beforeCommitId'],
blobId: ['blobId'],
comment: {
authorArn: ['authorArn'],
clientRequestToken: ['clientRequestToken'],
commentId: ['commentId'],
content: ['content'],
creationDate: ['creationDate'],
deleted: ['deleted'],
inReplyTo: ['inReplyTo'],
lastModifiedDate: ['lastModifiedDate'],
},
commitId: ['commitId'],
deletedBranch: {
branchName: ['branchName'],
commitId: ['commitId'],
},
filePath: ['filePath'],
filesAdded: [{
absolutePath: ['absolutePath'],
blobId: ['blobId'],
fileMode: ['fileMode'],
}],
filesDeleted: [{
absolutePath: ['absolutePath'],
blobId: ['blobId'],
fileMode: ['fileMode'],
}],
filesUpdated: [{
absolutePath: ['absolutePath'],
blobId: ['blobId'],
fileMode: ['fileMode'],
}],
location: {
filePath: ['filePath'],
filePosition: ['filePosition'],
relativeFileVersion: ['relativeFileVersion'],
},
pullRequest: {
approvalRules: [approvalRules],
authorArn: ['authorArn'],
clientRequestToken: ['clientRequestToken'],
creationDate: ['creationDate'],
description: ['description'],
lastActivityDate: ['lastActivityDate'],
pullRequestId: ['pullRequestId'],
pullRequestStatus: ['pullRequestStatus'],
pullRequestTargets: [{
destinationCommit: ['destinationCommit'],
destinationReference: ['destinationReference'],
mergeBase: ['mergeBase'],
mergeMetadata: {
isMerged: ['isMerged'],
mergeCommitId: ['mergeCommitId'],
mergedBy: ['mergedBy'],
mergeOption: ['mergeOption'],
},
repositoryName: ['repositoryName'],
sourceCommit: ['sourceCommit'],
sourceReference: ['sourceReference'],
}],
revisionId: ['revisionId'],
title: ['title'],
},
pullRequestId: ['pullRequestId'],
repositoryId: ['repositoryId'],
repositoryMetadata: {
accountId: ['accountId'],
arn: ['arn'],
cloneUrlHttp: ['cloneUrlHttp'],
cloneUrlSsh: ['cloneUrlSsh'],
creationDate: ['creationDate'],
lastModifiedDate: ['lastModifiedDate'],
repositoryDescription: ['repositoryDescription'],
repositoryId: ['repositoryId'],
repositoryName: ['repositoryName'],
},
repositoryName: ['repositoryName'],
treeId: ['treeId'],
uploadId: ['uploadId'],
};
Properties
| Name | Type | Description |
|---|---|---|
| after | string[] | afterBlobId property. |
| after | string[] | afterCommitId property. |
| before | string[] | beforeBlobId property. |
| before | string[] | beforeCommitId property. |
| blob | string[] | blobId property. |
| comment? | Comment | comment property. |
| commit | string[] | commitId property. |
| deleted | Deleted | deletedBranch property. |
| file | string[] | filePath property. |
| files | Response[] | filesAdded property. |
| files | Response[] | filesDeleted property. |
| files | Response[] | filesUpdated property. |
| location? | Location | location property. |
| pull | Pull | pullRequest property. |
| pull | string[] | pullRequestId property. |
| repository | string[] | repositoryId property. |
| repository | Repository | repositoryMetadata property. |
| repository | string[] | repositoryName property. |
| tree | string[] | treeId property. |
| upload | string[] | uploadId property. |
afterBlobId?
Type:
string[]
(optional, default: Do not filter on this field)
afterBlobId property.
Specify an array of string values to match this event if the actual value of afterBlobId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
afterCommitId?
Type:
string[]
(optional, default: Do not filter on this field)
afterCommitId property.
Specify an array of string values to match this event if the actual value of afterCommitId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
beforeBlobId?
Type:
string[]
(optional, default: Do not filter on this field)
beforeBlobId property.
Specify an array of string values to match this event if the actual value of beforeBlobId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
beforeCommitId?
Type:
string[]
(optional, default: Do not filter on this field)
beforeCommitId property.
Specify an array of string values to match this event if the actual value of beforeCommitId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
blobId?
Type:
string[]
(optional, default: Do not filter on this field)
blobId property.
Specify an array of string values to match this event if the actual value of blobId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
comment?
Type:
Comment
(optional, default: Do not filter on this field)
comment property.
Specify an array of string values to match this event if the actual value of comment is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
commitId?
Type:
string[]
(optional, default: Do not filter on this field)
commitId property.
Specify an array of string values to match this event if the actual value of commitId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
deletedBranch?
Type:
Deleted
(optional, default: Do not filter on this field)
deletedBranch property.
Specify an array of string values to match this event if the actual value of deletedBranch is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
filePath?
Type:
string[]
(optional, default: Do not filter on this field)
filePath property.
Specify an array of string values to match this event if the actual value of filePath is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
filesAdded?
Type:
Response[]
(optional, default: Do not filter on this field)
filesAdded property.
Specify an array of string values to match this event if the actual value of filesAdded is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
filesDeleted?
Type:
Response[]
(optional, default: Do not filter on this field)
filesDeleted property.
Specify an array of string values to match this event if the actual value of filesDeleted is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
filesUpdated?
Type:
Response[]
(optional, default: Do not filter on this field)
filesUpdated property.
Specify an array of string values to match this event if the actual value of filesUpdated is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
location?
Type:
Location
(optional, default: Do not filter on this field)
location property.
Specify an array of string values to match this event if the actual value of location is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
pullRequest?
Type:
Pull
(optional, default: Do not filter on this field)
pullRequest property.
Specify an array of string values to match this event if the actual value of pullRequest is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
pullRequestId?
Type:
string[]
(optional, default: Do not filter on this field)
pullRequestId property.
Specify an array of string values to match this event if the actual value of pullRequestId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
repositoryId?
Type:
string[]
(optional, default: Do not filter on this field)
repositoryId property.
Specify an array of string values to match this event if the actual value of repositoryId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
repositoryMetadata?
Type:
Repository
(optional, default: Do not filter on this field)
repositoryMetadata property.
Specify an array of string values to match this event if the actual value of repositoryMetadata is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
repositoryName?
Type:
string[]
(optional, default: Do not filter on this field)
repositoryName property.
Specify an array of string values to match this event if the actual value of repositoryName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
treeId?
Type:
string[]
(optional, default: Do not filter on this field)
treeId property.
Specify an array of string values to match this event if the actual value of treeId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
uploadId?
Type:
string[]
(optional, default: Do not filter on this field)
uploadId property.
Specify an array of string values to match this event if the actual value of uploadId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript