4
4
* DO NOT EDIT BY HAND.
5
5
*/
6
6
7
- import { Request } from 'aws-sdk/lib/request' ;
8
- import { Response } from 'aws-sdk/lib/response' ;
9
- import { AWSError } from 'aws-sdk/lib/error' ;
10
- import { Service } from 'aws-sdk/lib/service' ;
11
- import { ServiceConfigurationOptions } from 'aws-sdk/lib/service' ;
12
- import { ConfigBase as Config } from 'aws-sdk/lib/config-base' ;
7
+ import { Request } from 'aws-sdk/lib/request' ;
8
+ import { Response } from 'aws-sdk/lib/response' ;
9
+ import { AWSError } from 'aws-sdk/lib/error' ;
10
+ import { Service } from 'aws-sdk/lib/service' ;
11
+ import { ServiceConfigurationOptions } from 'aws-sdk/lib/service' ;
12
+ import { ConfigBase as Config } from 'aws-sdk/lib/config-base' ;
13
13
interface Blob { }
14
14
declare class CodeWhispererSigV4Client extends Service {
15
15
/**
@@ -131,11 +131,11 @@ declare class CodeWhispererSigV4Client extends Service {
131
131
updateProfile ( callback ?: ( err : AWSError , data : CodeWhispererSigV4Client . Types . UpdateProfileResponse ) => void ) : Request < CodeWhispererSigV4Client . Types . UpdateProfileResponse , AWSError > ;
132
132
}
133
133
declare namespace CodeWhispererSigV4Client {
134
- export type ArtifactMap = { [ key : string ] : UploadId } ;
135
- export type ArtifactType = "SourceCode" | "BuiltJars" | string ;
134
+ export type ArtifactMap = { [ key : string ] : UploadId } ;
135
+ export type ArtifactType = "SourceCode" | "BuiltJars" | string ;
136
136
export type Base64EncodedPaginationToken = string ;
137
- export type CodeScanFindingsSchema = "codescan/findings/1.0" | string ;
138
- export type CodeScanStatus = "Completed" | "Pending" | "Failed" | string ;
137
+ export type CodeScanFindingsSchema = "codescan/findings/1.0" | string ;
138
+ export type CodeScanStatus = "Completed" | "Pending" | "Failed" | string ;
139
139
export interface CreateCodeScanRequest {
140
140
artifacts : ArtifactMap ;
141
141
programmingLanguage : ProgrammingLanguage ;
@@ -178,8 +178,10 @@ declare namespace CodeWhispererSigV4Client {
178
178
leftFileContent : FileContextLeftFileContentString ;
179
179
rightFileContent : FileContextRightFileContentString ;
180
180
filename : FileContextFilenameString ;
181
+ fileUri ?: FileContextFileUriString ;
181
182
programmingLanguage : ProgrammingLanguage ;
182
183
}
184
+ export type FileContextFileUriString = string ;
183
185
export type FileContextFilenameString = string ;
184
186
export type FileContextLeftFileContentString = string ;
185
187
export type FileContextRightFileContentString = string ;
@@ -290,7 +292,7 @@ declare namespace CodeWhispererSigV4Client {
290
292
}
291
293
export type RecommendationContentString = string ;
292
294
export type RecommendationsList = Recommendation [ ] ;
293
- export type RecommendationsWithReferencesPreference = "BLOCK" | "ALLOW" | string ;
295
+ export type RecommendationsWithReferencesPreference = "BLOCK" | "ALLOW" | string ;
294
296
export interface Reference {
295
297
licenseName ?: ReferenceLicenseNameString ;
296
298
repository ?: ReferenceRepositoryString ;
@@ -353,7 +355,7 @@ declare namespace CodeWhispererSigV4Client {
353
355
/**
354
356
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
355
357
*/
356
- export type apiVersion = "2022-06-15" | "latest" | string ;
358
+ export type apiVersion = "2022-06-15" | "latest" | string ;
357
359
export interface ClientApiVersions {
358
360
/**
359
361
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
@@ -368,4 +370,3 @@ declare namespace CodeWhispererSigV4Client {
368
370
}
369
371
export = CodeWhispererSigV4Client ;
370
372
371
-
0 commit comments