44 * DO NOT EDIT BY HAND.
55 */
66
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' ;
1313interface Blob { }
1414declare class CodeWhispererSigV4Client extends Service {
1515 /**
@@ -131,11 +131,11 @@ declare class CodeWhispererSigV4Client extends Service {
131131 updateProfile ( callback ?: ( err : AWSError , data : CodeWhispererSigV4Client . Types . UpdateProfileResponse ) => void ) : Request < CodeWhispererSigV4Client . Types . UpdateProfileResponse , AWSError > ;
132132}
133133declare 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 ;
136136 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 ;
139139 export interface CreateCodeScanRequest {
140140 artifacts : ArtifactMap ;
141141 programmingLanguage : ProgrammingLanguage ;
@@ -178,8 +178,10 @@ declare namespace CodeWhispererSigV4Client {
178178 leftFileContent : FileContextLeftFileContentString ;
179179 rightFileContent : FileContextRightFileContentString ;
180180 filename : FileContextFilenameString ;
181+ fileUri ?: FileContextFileUriString ;
181182 programmingLanguage : ProgrammingLanguage ;
182183 }
184+ export type FileContextFileUriString = string ;
183185 export type FileContextFilenameString = string ;
184186 export type FileContextLeftFileContentString = string ;
185187 export type FileContextRightFileContentString = string ;
@@ -290,7 +292,7 @@ declare namespace CodeWhispererSigV4Client {
290292 }
291293 export type RecommendationContentString = string ;
292294 export type RecommendationsList = Recommendation [ ] ;
293- export type RecommendationsWithReferencesPreference = "BLOCK" | "ALLOW" | string ;
295+ export type RecommendationsWithReferencesPreference = "BLOCK" | "ALLOW" | string ;
294296 export interface Reference {
295297 licenseName ?: ReferenceLicenseNameString ;
296298 repository ?: ReferenceRepositoryString ;
@@ -353,7 +355,7 @@ declare namespace CodeWhispererSigV4Client {
353355 /**
354356 * 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.
355357 */
356- export type apiVersion = "2022-06-15" | "latest" | string ;
358+ export type apiVersion = "2022-06-15" | "latest" | string ;
357359 export interface ClientApiVersions {
358360 /**
359361 * 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 {
368370}
369371export = CodeWhispererSigV4Client ;
370372
371-
0 commit comments