@aws/lsp-codewhisperer 0.0.102 → 0.0.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/node_modules/@amzn/codewhisperer-runtime/LICENSE +1 -1
- package/node_modules/@amzn/codewhisperer-runtime/README.md +161 -14
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetUsageLimitsCommand.js +2 -2
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListAvailableProfilesCommand.js +2 -1
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/models/models_0.js +140 -80
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/models/models_1.js +25 -1
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/protocols/Aws_restJson1.js +86 -3
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetUsageLimitsCommand.js +1 -1
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListAvailableProfilesCommand.js +2 -1
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/models/models_0.js +128 -71
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/models/models_1.js +24 -2
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/protocols/Aws_restJson1.js +86 -3
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/CreateSubscriptionTokenCommand.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/CreateTaskAssistConversationCommand.d.ts +1 -1
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/DeleteTaskAssistConversationCommand.d.ts +1 -2
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetProfileCommand.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetUsageLimitsCommand.d.ts +32 -1
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListAvailableModelsCommand.d.ts +10 -2
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListAvailableProfilesCommand.d.ts +13 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListAvailableSubscriptionsCommand.d.ts +4 -2
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/SendTelemetryEventCommand.d.ts +44 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/SetUserPreferenceCommand.d.ts +2 -1
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/UpdateUsageLimitsCommand.d.ts +1 -1
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/models/models_0.d.ts +595 -330
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/models/models_1.d.ts +271 -1
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/runtimeConfig.browser.d.ts +6 -1
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/runtimeConfig.d.ts +6 -1
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/runtimeConfig.native.d.ts +6 -1
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@smithy/abort-controller/package.json +3 -3
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@smithy/node-http-handler/dist-cjs/index.js +2 -2
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -2
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@smithy/node-http-handler/package.json +9 -9
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@smithy/types/dist-types/schema/schema.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +19 -2
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +19 -2
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@smithy/types/package.json +2 -2
- package/out/language-server/agenticChat/agenticChatController.js +7 -4
- package/out/language-server/agenticChat/agenticChatController.js.map +1 -1
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.d.ts +2 -2
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.js +4 -2
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.js.map +1 -1
- package/out/language-server/agenticChat/tools/executeBash.d.ts +1 -1
- package/out/language-server/agenticChat/tools/executeBash.js +11 -2
- package/out/language-server/agenticChat/tools/executeBash.js.map +1 -1
- package/out/language-server/agenticChat/tools/fileSearch.d.ts +1 -1
- package/out/language-server/agenticChat/tools/fileSearch.js +1 -1
- package/out/language-server/agenticChat/tools/fileSearch.js.map +1 -1
- package/out/language-server/agenticChat/tools/fsRead.d.ts +1 -1
- package/out/language-server/agenticChat/tools/fsRead.js +1 -1
- package/out/language-server/agenticChat/tools/fsRead.js.map +1 -1
- package/out/language-server/agenticChat/tools/fsReplace.d.ts +1 -1
- package/out/language-server/agenticChat/tools/fsReplace.js +1 -1
- package/out/language-server/agenticChat/tools/fsReplace.js.map +1 -1
- package/out/language-server/agenticChat/tools/fsWrite.d.ts +1 -1
- package/out/language-server/agenticChat/tools/fsWrite.js +1 -1
- package/out/language-server/agenticChat/tools/fsWrite.js.map +1 -1
- package/out/language-server/agenticChat/tools/listDirectory.d.ts +1 -1
- package/out/language-server/agenticChat/tools/listDirectory.js +1 -1
- package/out/language-server/agenticChat/tools/listDirectory.js.map +1 -1
- package/out/language-server/agenticChat/tools/mcp/mcpManager.d.ts +5 -0
- package/out/language-server/agenticChat/tools/mcp/mcpManager.js +36 -1
- package/out/language-server/agenticChat/tools/mcp/mcpManager.js.map +1 -1
- package/out/language-server/agenticChat/tools/toolShared.d.ts +18 -5
- package/out/language-server/agenticChat/tools/toolShared.js +51 -10
- package/out/language-server/agenticChat/tools/toolShared.js.map +1 -1
- package/out/language-server/chat/chatSessionService.d.ts +4 -3
- package/out/language-server/chat/chatSessionService.js +9 -5
- package/out/language-server/chat/chatSessionService.js.map +1 -1
- package/out/language-server/chat/telemetry/chatTelemetryController.d.ts +1 -1
- package/out/language-server/chat/telemetry/chatTelemetryController.js +2 -2
- package/out/language-server/chat/telemetry/chatTelemetryController.js.map +1 -1
- package/out/language-server/inline-completion/handler/editCompletionHandler.js +2 -15
- package/out/language-server/inline-completion/handler/editCompletionHandler.js.map +1 -1
- package/out/language-server/inline-completion/handler/inlineCompletionHandler.js +1 -25
- package/out/language-server/inline-completion/handler/inlineCompletionHandler.js.map +1 -1
- package/out/language-server/inline-completion/utils/textDocumentUtils.d.ts +3 -0
- package/out/language-server/inline-completion/utils/textDocumentUtils.js +29 -1
- package/out/language-server/inline-completion/utils/textDocumentUtils.js.map +1 -1
- package/out/language-server/netTransform/artifactManager.js +1 -1
- package/out/language-server/netTransform/artifactManager.js.map +1 -1
- package/out/language-server/netTransform/atxTransformHandler.js +6 -0
- package/out/language-server/netTransform/atxTransformHandler.js.map +1 -1
- package/out/language-server/netTransform/metrics.js +1 -1
- package/out/language-server/netTransform/metrics.js.map +1 -1
- package/out/language-server/workspaceContext/workspaceFolderManager.js +1 -1
- package/out/language-server/workspaceContext/workspaceFolderManager.js.map +1 -1
- package/out/shared/telemetry/telemetryService.js +3 -0
- package/out/shared/telemetry/telemetryService.js.map +1 -1
- package/out/shared/telemetry/types.d.ts +1 -0
- package/package.json +2 -2
|
@@ -20,6 +20,25 @@ export class AccessDeniedException extends __BaseException {
|
|
|
20
20
|
this.reason = opts.reason;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
+
export const ConflictExceptionReason = {
|
|
24
|
+
CUSTOMER_KMS_KEY_DISABLED: "CUSTOMER_KMS_KEY_DISABLED",
|
|
25
|
+
CUSTOMER_KMS_KEY_INVALID_KEY_POLICY: "CUSTOMER_KMS_KEY_INVALID_KEY_POLICY",
|
|
26
|
+
MISMATCHED_KMS_KEY: "MISMATCHED_KMS_KEY",
|
|
27
|
+
};
|
|
28
|
+
export class ConflictException extends __BaseException {
|
|
29
|
+
name = "ConflictException";
|
|
30
|
+
$fault = "client";
|
|
31
|
+
reason;
|
|
32
|
+
constructor(opts) {
|
|
33
|
+
super({
|
|
34
|
+
name: "ConflictException",
|
|
35
|
+
$fault: "client",
|
|
36
|
+
...opts
|
|
37
|
+
});
|
|
38
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
39
|
+
this.reason = opts.reason;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
23
42
|
export const InternalServerExceptionReason = {
|
|
24
43
|
MODEL_TEMPORARILY_UNAVAILABLE: "MODEL_TEMPORARILY_UNAVAILABLE",
|
|
25
44
|
};
|
|
@@ -38,18 +57,6 @@ export class InternalServerException extends __BaseException {
|
|
|
38
57
|
this.reason = opts.reason;
|
|
39
58
|
}
|
|
40
59
|
}
|
|
41
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
42
|
-
name = "ResourceNotFoundException";
|
|
43
|
-
$fault = "client";
|
|
44
|
-
constructor(opts) {
|
|
45
|
-
super({
|
|
46
|
-
name: "ResourceNotFoundException",
|
|
47
|
-
$fault: "client",
|
|
48
|
-
...opts
|
|
49
|
-
});
|
|
50
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
60
|
export const ThrottlingExceptionReason = {
|
|
54
61
|
DAILY_REQUEST_COUNT: "DAILY_REQUEST_COUNT",
|
|
55
62
|
INSUFFICIENT_MODEL_CAPACITY: "INSUFFICIENT_MODEL_CAPACITY",
|
|
@@ -92,6 +99,37 @@ export class ValidationException extends __BaseException {
|
|
|
92
99
|
this.reason = opts.reason;
|
|
93
100
|
}
|
|
94
101
|
}
|
|
102
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
103
|
+
name = "ResourceNotFoundException";
|
|
104
|
+
$fault = "client";
|
|
105
|
+
constructor(opts) {
|
|
106
|
+
super({
|
|
107
|
+
name: "ResourceNotFoundException",
|
|
108
|
+
$fault: "client",
|
|
109
|
+
...opts
|
|
110
|
+
});
|
|
111
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export const ServiceQuotaExceededExceptionReason = {
|
|
115
|
+
CONVERSATION_LIMIT_EXCEEDED: "CONVERSATION_LIMIT_EXCEEDED",
|
|
116
|
+
MONTHLY_REQUEST_COUNT: "MONTHLY_REQUEST_COUNT",
|
|
117
|
+
OVERAGE_REQUEST_LIMIT_EXCEEDED: "OVERAGE_REQUEST_LIMIT_EXCEEDED",
|
|
118
|
+
};
|
|
119
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
120
|
+
name = "ServiceQuotaExceededException";
|
|
121
|
+
$fault = "client";
|
|
122
|
+
reason;
|
|
123
|
+
constructor(opts) {
|
|
124
|
+
super({
|
|
125
|
+
name: "ServiceQuotaExceededException",
|
|
126
|
+
$fault: "client",
|
|
127
|
+
...opts
|
|
128
|
+
});
|
|
129
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
130
|
+
this.reason = opts.reason;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
95
133
|
export const FunctionalityName = {
|
|
96
134
|
Analysis: "ANALYSIS",
|
|
97
135
|
ChatCustomization: "CHAT_CUSTOMIZATION",
|
|
@@ -211,33 +249,23 @@ export const AssistantResponseMessageFilterSensitiveLog = (obj) => ({
|
|
|
211
249
|
...(obj.reasoningContent && { reasoningContent: SENSITIVE_STRING
|
|
212
250
|
}),
|
|
213
251
|
});
|
|
214
|
-
export const
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
MISMATCHED_KMS_KEY: "MISMATCHED_KMS_KEY",
|
|
252
|
+
export const OptInFeatureToggle = {
|
|
253
|
+
OFF: "OFF",
|
|
254
|
+
ON: "ON",
|
|
218
255
|
};
|
|
219
|
-
export
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
});
|
|
229
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
230
|
-
this.reason = opts.reason;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
256
|
+
export const OIDCClaimKeysFilterSensitiveLog = (obj) => ({
|
|
257
|
+
...obj,
|
|
258
|
+
...(obj.tokenIdClaimKey && { tokenIdClaimKey: SENSITIVE_STRING
|
|
259
|
+
}),
|
|
260
|
+
...(obj.userIdClaimKey && { userIdClaimKey: SENSITIVE_STRING
|
|
261
|
+
}),
|
|
262
|
+
...(obj.appClaimKey && { appClaimKey: SENSITIVE_STRING
|
|
263
|
+
}),
|
|
264
|
+
});
|
|
233
265
|
export const SubscriptionStartType = {
|
|
234
266
|
ADMIN: "ADMIN",
|
|
235
267
|
JUST_IN_TIME: "JUST_IN_TIME",
|
|
236
268
|
};
|
|
237
|
-
export const OptInFeatureToggle = {
|
|
238
|
-
OFF: "OFF",
|
|
239
|
-
ON: "ON",
|
|
240
|
-
};
|
|
241
269
|
export const OverageStatus = {
|
|
242
270
|
DISABLED: "DISABLED",
|
|
243
271
|
ENABLED: "ENABLED",
|
|
@@ -259,6 +287,15 @@ export const OptInFeaturesType = {
|
|
|
259
287
|
KIRO: "KIRO",
|
|
260
288
|
Q_DEVELOPER: "Q_DEVELOPER",
|
|
261
289
|
};
|
|
290
|
+
export const ExternalIdentityDetailsFilterSensitiveLog = (obj) => ({
|
|
291
|
+
...obj,
|
|
292
|
+
...(obj.issuerUrl && { issuerUrl: SENSITIVE_STRING
|
|
293
|
+
}),
|
|
294
|
+
...(obj.clientId && { clientId: SENSITIVE_STRING
|
|
295
|
+
}),
|
|
296
|
+
...(obj.oidcClaimKeys && { oidcClaimKeys: OIDCClaimKeysFilterSensitiveLog(obj.oidcClaimKeys)
|
|
297
|
+
}),
|
|
298
|
+
});
|
|
262
299
|
export var IdentityDetails;
|
|
263
300
|
(function (IdentityDetails) {
|
|
264
301
|
IdentityDetails.visit = (value, visitor) => {
|
|
@@ -269,6 +306,16 @@ export var IdentityDetails;
|
|
|
269
306
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
270
307
|
};
|
|
271
308
|
})(IdentityDetails || (IdentityDetails = {}));
|
|
309
|
+
export const IdentityDetailsFilterSensitiveLog = (obj) => {
|
|
310
|
+
if (obj.ssoIdentityDetails !== undefined)
|
|
311
|
+
return { ssoIdentityDetails: obj.ssoIdentityDetails
|
|
312
|
+
};
|
|
313
|
+
if (obj.externalIdentityDetails !== undefined)
|
|
314
|
+
return { externalIdentityDetails: ExternalIdentityDetailsFilterSensitiveLog(obj.externalIdentityDetails)
|
|
315
|
+
};
|
|
316
|
+
if (obj.$unknown !== undefined)
|
|
317
|
+
return { [obj.$unknown[0]]: 'UNKNOWN' };
|
|
318
|
+
};
|
|
272
319
|
export const ProfileStatus = {
|
|
273
320
|
ACTIVE: "ACTIVE",
|
|
274
321
|
CREATE_FAILED: "CREATE_FAILED",
|
|
@@ -278,6 +325,11 @@ export const ProfileStatus = {
|
|
|
278
325
|
UPDATE_FAILED: "UPDATE_FAILED",
|
|
279
326
|
UPDATING: "UPDATING",
|
|
280
327
|
};
|
|
328
|
+
export const ProfileFilterSensitiveLog = (obj) => ({
|
|
329
|
+
...obj,
|
|
330
|
+
...(obj.identityDetails && { identityDetails: IdentityDetailsFilterSensitiveLog(obj.identityDetails)
|
|
331
|
+
}),
|
|
332
|
+
});
|
|
281
333
|
export const FileContextFilterSensitiveLog = (obj) => ({
|
|
282
334
|
...obj,
|
|
283
335
|
...(obj.leftFileContent && { leftFileContent: SENSITIVE_STRING
|
|
@@ -954,6 +1006,31 @@ export const IntentContextFilterSensitiveLog = (obj) => {
|
|
|
954
1006
|
if (obj.$unknown !== undefined)
|
|
955
1007
|
return { [obj.$unknown[0]]: 'UNKNOWN' };
|
|
956
1008
|
};
|
|
1009
|
+
export const ChatAgentMode = {
|
|
1010
|
+
AUTOCOMPLETE: "AUTOCOMPLETE",
|
|
1011
|
+
EXECUTE_HOOK: "EXECUTE_HOOK",
|
|
1012
|
+
GENERATE_HOOK: "GENERATE_HOOK",
|
|
1013
|
+
GENERATE_STEERING: "GENERATE_STEERING",
|
|
1014
|
+
INTENT_CLASSIFICATION: "INTENT_CLASSIFICATION",
|
|
1015
|
+
OTHER: "OTHER",
|
|
1016
|
+
REFINE_DESIGN: "REFINE_DESIGN",
|
|
1017
|
+
REFINE_REQUIREMENTS: "REFINE_REQUIREMENTS",
|
|
1018
|
+
REFINE_STEERING: "REFINE_STEERING",
|
|
1019
|
+
SPEC: "SPEC",
|
|
1020
|
+
SUMMARIZATION: "SUMMARIZATION",
|
|
1021
|
+
UPDATE_TASKS: "UPDATE_TASKS",
|
|
1022
|
+
VIBE: "VIBE",
|
|
1023
|
+
};
|
|
1024
|
+
export const ChatAutonomyMode = {
|
|
1025
|
+
AUTOPILOT: "AUTOPILOT",
|
|
1026
|
+
OTHER: "OTHER",
|
|
1027
|
+
SUPERVISED: "SUPERVISED",
|
|
1028
|
+
};
|
|
1029
|
+
export const KiroSubscriptionType = {
|
|
1030
|
+
POWER: "POWER",
|
|
1031
|
+
PRO: "PRO",
|
|
1032
|
+
PRO_PLUS: "PRO_PLUS",
|
|
1033
|
+
};
|
|
957
1034
|
export const ListCodeAnalysisFindingsResponseFilterSensitiveLog = (obj) => ({
|
|
958
1035
|
...obj,
|
|
959
1036
|
...(obj.codeAnalysisFindings && { codeAnalysisFindings: SENSITIVE_STRING
|
|
@@ -1066,6 +1143,10 @@ export var TelemetryEvent;
|
|
|
1066
1143
|
return visitor.docV2AcceptanceEvent(value.docV2AcceptanceEvent);
|
|
1067
1144
|
if (value.testGenerationEvent !== undefined)
|
|
1068
1145
|
return visitor.testGenerationEvent(value.testGenerationEvent);
|
|
1146
|
+
if (value.kiroEnterpriseTelemetryEvent !== undefined)
|
|
1147
|
+
return visitor.kiroEnterpriseTelemetryEvent(value.kiroEnterpriseTelemetryEvent);
|
|
1148
|
+
if (value.kiroChatMessageEvent !== undefined)
|
|
1149
|
+
return visitor.kiroChatMessageEvent(value.kiroChatMessageEvent);
|
|
1069
1150
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
1070
1151
|
};
|
|
1071
1152
|
})(TelemetryEvent || (TelemetryEvent = {}));
|
|
@@ -1139,6 +1220,12 @@ export const TelemetryEventFilterSensitiveLog = (obj) => {
|
|
|
1139
1220
|
if (obj.testGenerationEvent !== undefined)
|
|
1140
1221
|
return { testGenerationEvent: obj.testGenerationEvent
|
|
1141
1222
|
};
|
|
1223
|
+
if (obj.kiroEnterpriseTelemetryEvent !== undefined)
|
|
1224
|
+
return { kiroEnterpriseTelemetryEvent: obj.kiroEnterpriseTelemetryEvent
|
|
1225
|
+
};
|
|
1226
|
+
if (obj.kiroChatMessageEvent !== undefined)
|
|
1227
|
+
return { kiroChatMessageEvent: obj.kiroChatMessageEvent
|
|
1228
|
+
};
|
|
1142
1229
|
if (obj.$unknown !== undefined)
|
|
1143
1230
|
return { [obj.$unknown[0]]: 'UNKNOWN' };
|
|
1144
1231
|
};
|
|
@@ -1147,25 +1234,6 @@ export const SendTelemetryEventRequestFilterSensitiveLog = (obj) => ({
|
|
|
1147
1234
|
...(obj.telemetryEvent && { telemetryEvent: TelemetryEventFilterSensitiveLog(obj.telemetryEvent)
|
|
1148
1235
|
}),
|
|
1149
1236
|
});
|
|
1150
|
-
export const ServiceQuotaExceededExceptionReason = {
|
|
1151
|
-
CONVERSATION_LIMIT_EXCEEDED: "CONVERSATION_LIMIT_EXCEEDED",
|
|
1152
|
-
MONTHLY_REQUEST_COUNT: "MONTHLY_REQUEST_COUNT",
|
|
1153
|
-
OVERAGE_REQUEST_LIMIT_EXCEEDED: "OVERAGE_REQUEST_LIMIT_EXCEEDED",
|
|
1154
|
-
};
|
|
1155
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
1156
|
-
name = "ServiceQuotaExceededException";
|
|
1157
|
-
$fault = "client";
|
|
1158
|
-
reason;
|
|
1159
|
-
constructor(opts) {
|
|
1160
|
-
super({
|
|
1161
|
-
name: "ServiceQuotaExceededException",
|
|
1162
|
-
$fault: "client",
|
|
1163
|
-
...opts
|
|
1164
|
-
});
|
|
1165
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
1166
|
-
this.reason = opts.reason;
|
|
1167
|
-
}
|
|
1168
|
-
}
|
|
1169
1237
|
export const StartCodeAnalysisResponseFilterSensitiveLog = (obj) => ({
|
|
1170
1238
|
...obj,
|
|
1171
1239
|
...(obj.errorMessage && { errorMessage: SENSITIVE_STRING
|
|
@@ -1323,6 +1391,11 @@ export const InputType = {
|
|
|
1323
1391
|
IMAGE: "IMAGE",
|
|
1324
1392
|
TEXT: "TEXT",
|
|
1325
1393
|
};
|
|
1394
|
+
export const ListAvailableProfilesResponseFilterSensitiveLog = (obj) => ({
|
|
1395
|
+
...obj,
|
|
1396
|
+
...(obj.profiles && { profiles: obj.profiles.map(item => ProfileFilterSensitiveLog(item))
|
|
1397
|
+
}),
|
|
1398
|
+
});
|
|
1326
1399
|
export const CreateUserMemoryEntryInputFilterSensitiveLog = (obj) => ({
|
|
1327
1400
|
...obj,
|
|
1328
1401
|
...(obj.memoryEntryString && { memoryEntryString: SENSITIVE_STRING
|
|
@@ -1416,24 +1489,8 @@ export const UpgradeCapability = {
|
|
|
1416
1489
|
UPGRADE_CAPABLE: "UPGRADE_CAPABLE",
|
|
1417
1490
|
UPGRADE_INCAPABLE: "UPGRADE_INCAPABLE",
|
|
1418
1491
|
};
|
|
1419
|
-
export const
|
|
1492
|
+
export const BonusStatus = {
|
|
1420
1493
|
ACTIVE: "ACTIVE",
|
|
1494
|
+
EXHAUSTED: "EXHAUSTED",
|
|
1421
1495
|
EXPIRED: "EXPIRED",
|
|
1422
1496
|
};
|
|
1423
|
-
export const GetUsageLimitsResponseFilterSensitiveLog = (obj) => ({
|
|
1424
|
-
...obj,
|
|
1425
|
-
...(obj.userInfo && { userInfo: UserInfoFilterSensitiveLog(obj.userInfo)
|
|
1426
|
-
}),
|
|
1427
|
-
});
|
|
1428
|
-
export class UpdateUsageLimitQuotaExceededException extends __BaseException {
|
|
1429
|
-
name = "UpdateUsageLimitQuotaExceededException";
|
|
1430
|
-
$fault = "client";
|
|
1431
|
-
constructor(opts) {
|
|
1432
|
-
super({
|
|
1433
|
-
name: "UpdateUsageLimitQuotaExceededException",
|
|
1434
|
-
$fault: "client",
|
|
1435
|
-
...opts
|
|
1436
|
-
});
|
|
1437
|
-
Object.setPrototypeOf(this, UpdateUsageLimitQuotaExceededException.prototype);
|
|
1438
|
-
}
|
|
1439
|
-
}
|
|
@@ -1,5 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { CodeWhispererRuntimeServiceException as __BaseException } from "./CodeWhispererRuntimeServiceException";
|
|
2
|
+
import { ConversationStateFilterSensitiveLog, IntentContextFilterSensitiveLog, UserInfoFilterSensitiveLog, } from "./models_0";
|
|
3
|
+
import { SENSITIVE_STRING, } from "@smithy/smithy-client";
|
|
4
|
+
export const FreeTrialStatus = {
|
|
5
|
+
ACTIVE: "ACTIVE",
|
|
6
|
+
EXPIRED: "EXPIRED",
|
|
7
|
+
};
|
|
8
|
+
export const GetUsageLimitsResponseFilterSensitiveLog = (obj) => ({
|
|
9
|
+
...obj,
|
|
10
|
+
...(obj.userInfo && { userInfo: UserInfoFilterSensitiveLog(obj.userInfo)
|
|
11
|
+
}),
|
|
12
|
+
});
|
|
13
|
+
export class UpdateUsageLimitQuotaExceededException extends __BaseException {
|
|
14
|
+
name = "UpdateUsageLimitQuotaExceededException";
|
|
15
|
+
$fault = "client";
|
|
16
|
+
constructor(opts) {
|
|
17
|
+
super({
|
|
18
|
+
name: "UpdateUsageLimitQuotaExceededException",
|
|
19
|
+
$fault: "client",
|
|
20
|
+
...opts
|
|
21
|
+
});
|
|
22
|
+
Object.setPrototypeOf(this, UpdateUsageLimitQuotaExceededException.prototype);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
3
25
|
export const GetTaskAssistCodeGenerationResponseFilterSensitiveLog = (obj) => ({
|
|
4
26
|
...obj,
|
|
5
27
|
...(obj.codeGenerationStatusDetail && { codeGenerationStatusDetail: SENSITIVE_STRING
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CodeWhispererRuntimeServiceException as __BaseException } from "../models/CodeWhispererRuntimeServiceException";
|
|
2
|
-
import { AccessDeniedException, ChatMessage, ConflictException, ImageSource, InternalServerException, ReasoningContent, ResourceNotFoundException, ServiceQuotaExceededException, TelemetryEvent, ThrottlingException, Tool, ToolResultContentBlock,
|
|
2
|
+
import { AccessDeniedException, ChatMessage, ConflictException, ImageSource, InternalServerException, ReasoningContent, ResourceNotFoundException, ServiceQuotaExceededException, TelemetryEvent, ThrottlingException, Tool, ToolResultContentBlock, ValidationException, } from "../models/models_0";
|
|
3
|
+
import { UpdateUsageLimitQuotaExceededException, } from "../models/models_1";
|
|
3
4
|
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
4
5
|
import { requestBuilder as rb } from "@smithy/core";
|
|
5
6
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
@@ -37,6 +38,7 @@ export const se_CreateSubscriptionTokenCommand = async (input, context) => {
|
|
|
37
38
|
body = JSON.stringify(take(input, {
|
|
38
39
|
'cancelUrl': [],
|
|
39
40
|
'clientToken': [true, _ => _ ?? generateIdempotencyToken()],
|
|
41
|
+
'profileArn': [],
|
|
40
42
|
'provider': [],
|
|
41
43
|
'statusOnly': [],
|
|
42
44
|
'subscriptionType': [],
|
|
@@ -389,9 +391,14 @@ export const se_ListAvailableProfilesCommand = async (input, context) => {
|
|
|
389
391
|
};
|
|
390
392
|
export const se_ListAvailableSubscriptionsCommand = async (input, context) => {
|
|
391
393
|
const b = rb(input, context);
|
|
392
|
-
const headers = {
|
|
394
|
+
const headers = {
|
|
395
|
+
'content-type': 'application/json',
|
|
396
|
+
};
|
|
393
397
|
b.bp("/listAvailableSubscriptions");
|
|
394
398
|
let body;
|
|
399
|
+
body = JSON.stringify(take(input, {
|
|
400
|
+
'profileArn': [],
|
|
401
|
+
}));
|
|
395
402
|
b.m("POST")
|
|
396
403
|
.h(headers)
|
|
397
404
|
.b(body);
|
|
@@ -967,6 +974,7 @@ export const de_GetUsageLimitsCommand = async (output, context) => {
|
|
|
967
974
|
'nextDateReset': _ => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
968
975
|
'overageConfiguration': _json,
|
|
969
976
|
'subscriptionInfo': _json,
|
|
977
|
+
'totalUsage': _ => de_TotalUsage(_, context),
|
|
970
978
|
'usageBreakdown': _ => de_UsageBreakdown(_, context),
|
|
971
979
|
'usageBreakdownList': _ => de_UsageBreakdownList(_, context),
|
|
972
980
|
'userInfo': _json,
|
|
@@ -1562,6 +1570,53 @@ const se_InlineChatEvent = (input, context) => {
|
|
|
1562
1570
|
'userDecision': [],
|
|
1563
1571
|
});
|
|
1564
1572
|
};
|
|
1573
|
+
const se_KiroChatMessageEvent = (input, context) => {
|
|
1574
|
+
return take(input, {
|
|
1575
|
+
'chatAgentMode': [],
|
|
1576
|
+
'chatAutonomyMode': [],
|
|
1577
|
+
'chatMessageDuration': __serializeFloat,
|
|
1578
|
+
'conversationId': [],
|
|
1579
|
+
'creditsUsed': __serializeFloat,
|
|
1580
|
+
'date': [],
|
|
1581
|
+
'messageId': [],
|
|
1582
|
+
'modelId': [],
|
|
1583
|
+
'newUser': [],
|
|
1584
|
+
'origin': [],
|
|
1585
|
+
'overageCap': __serializeFloat,
|
|
1586
|
+
'overageCreditsUsed': __serializeFloat,
|
|
1587
|
+
'overageEnabled': [],
|
|
1588
|
+
'profileId': [],
|
|
1589
|
+
'subscriptionTier': [],
|
|
1590
|
+
'userId': [],
|
|
1591
|
+
});
|
|
1592
|
+
};
|
|
1593
|
+
const se_KiroEnterpriseTelemetryEvent = (input, context) => {
|
|
1594
|
+
return take(input, {
|
|
1595
|
+
'chatConversationsTrusted': [],
|
|
1596
|
+
'chatMessageDuration': __serializeFloat,
|
|
1597
|
+
'chatMessages': [],
|
|
1598
|
+
'chatMessagesOthers': [],
|
|
1599
|
+
'chatMessagesSpec': [],
|
|
1600
|
+
'chatMessagesVibe': [],
|
|
1601
|
+
'codeBlocksGenerated': [],
|
|
1602
|
+
'codeBlocksInserted': [],
|
|
1603
|
+
'contextFiles': [],
|
|
1604
|
+
'conversationId': [],
|
|
1605
|
+
'creditsUsed': __serializeFloat,
|
|
1606
|
+
'date': [],
|
|
1607
|
+
'messageId': [],
|
|
1608
|
+
'modelId': [],
|
|
1609
|
+
'newUser': [],
|
|
1610
|
+
'origin': [],
|
|
1611
|
+
'overageCap': [],
|
|
1612
|
+
'overageCreditsUsed': __serializeFloat,
|
|
1613
|
+
'overageEnabled': [],
|
|
1614
|
+
'profileId': [],
|
|
1615
|
+
'specsImplemented': [],
|
|
1616
|
+
'subscriptionTier': [],
|
|
1617
|
+
'userId': [],
|
|
1618
|
+
});
|
|
1619
|
+
};
|
|
1565
1620
|
const se_MetricData = (input, context) => {
|
|
1566
1621
|
return take(input, {
|
|
1567
1622
|
'dimensions': _json,
|
|
@@ -1600,6 +1655,8 @@ const se_TelemetryEvent = (input, context) => {
|
|
|
1600
1655
|
featureDevCodeGenerationEvent: value => ({ "featureDevCodeGenerationEvent": _json(value) }),
|
|
1601
1656
|
featureDevEvent: value => ({ "featureDevEvent": _json(value) }),
|
|
1602
1657
|
inlineChatEvent: value => ({ "inlineChatEvent": se_InlineChatEvent(value, context) }),
|
|
1658
|
+
kiroChatMessageEvent: value => ({ "kiroChatMessageEvent": se_KiroChatMessageEvent(value, context) }),
|
|
1659
|
+
kiroEnterpriseTelemetryEvent: value => ({ "kiroEnterpriseTelemetryEvent": se_KiroEnterpriseTelemetryEvent(value, context) }),
|
|
1603
1660
|
metricData: value => ({ "metricData": se_MetricData(value, context) }),
|
|
1604
1661
|
terminalUserInteractionEvent: value => ({ "terminalUserInteractionEvent": _json(value) }),
|
|
1605
1662
|
testGenerationEvent: value => ({ "testGenerationEvent": se_TestGenerationEvent(value, context) }),
|
|
@@ -1874,6 +1931,24 @@ const de_UsageLimits = (output, context) => {
|
|
|
1874
1931
|
});
|
|
1875
1932
|
return retVal;
|
|
1876
1933
|
};
|
|
1934
|
+
const de_Bonus = (output, context) => {
|
|
1935
|
+
return take(output, {
|
|
1936
|
+
'bonusCode': __expectString,
|
|
1937
|
+
'currentUsage': __limitedParseDouble,
|
|
1938
|
+
'description': __expectString,
|
|
1939
|
+
'displayName': __expectString,
|
|
1940
|
+
'expiresAt': (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1941
|
+
'redeemedAt': (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1942
|
+
'status': __expectString,
|
|
1943
|
+
'usageLimit': __limitedParseDouble,
|
|
1944
|
+
});
|
|
1945
|
+
};
|
|
1946
|
+
const de_BonusList = (output, context) => {
|
|
1947
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1948
|
+
return de_Bonus(entry, context);
|
|
1949
|
+
});
|
|
1950
|
+
return retVal;
|
|
1951
|
+
};
|
|
1877
1952
|
const de_Event = (output, context) => {
|
|
1878
1953
|
return take(output, {
|
|
1879
1954
|
'eventBlob': context.base64Decoder,
|
|
@@ -1943,8 +2018,16 @@ const de_SubscriptionPlanList = (output, context) => {
|
|
|
1943
2018
|
});
|
|
1944
2019
|
return retVal;
|
|
1945
2020
|
};
|
|
2021
|
+
const de_TotalUsage = (output, context) => {
|
|
2022
|
+
return take(output, {
|
|
2023
|
+
'maxOverageLimit': __limitedParseDouble,
|
|
2024
|
+
'overageLimit': __limitedParseDouble,
|
|
2025
|
+
'totalOverageCharges': __limitedParseDouble,
|
|
2026
|
+
});
|
|
2027
|
+
};
|
|
1946
2028
|
const de_UsageBreakdown = (output, context) => {
|
|
1947
2029
|
return take(output, {
|
|
2030
|
+
'bonuses': (_) => de_BonusList(_, context),
|
|
1948
2031
|
'currency': __expectString,
|
|
1949
2032
|
'currentOverages': __expectInt32,
|
|
1950
2033
|
'currentOveragesWithPrecision': __limitedParseDouble,
|
|
@@ -1975,10 +2058,10 @@ const de_Model = (output, context) => {
|
|
|
1975
2058
|
'description': __expectString,
|
|
1976
2059
|
'modelId': __expectString,
|
|
1977
2060
|
'modelName': __expectString,
|
|
2061
|
+
'promptCaching': _json,
|
|
1978
2062
|
'rateMultiplier': __limitedParseDouble,
|
|
1979
2063
|
'rateUnit': __expectString,
|
|
1980
2064
|
'supportedInputTypes': _json,
|
|
1981
|
-
'supportsPromptCache': __expectBoolean,
|
|
1982
2065
|
'tokenLimits': _json,
|
|
1983
2066
|
});
|
|
1984
2067
|
};
|
|
@@ -37,6 +37,7 @@ declare const CreateSubscriptionTokenCommand_base: {
|
|
|
37
37
|
* const client = new CodeWhispererRuntimeClient(config);
|
|
38
38
|
* const input = { // CreateSubscriptionTokenRequest
|
|
39
39
|
* clientToken: "STRING_VALUE",
|
|
40
|
+
* profileArn: "STRING_VALUE",
|
|
40
41
|
* statusOnly: true || false,
|
|
41
42
|
* provider: "STRING_VALUE",
|
|
42
43
|
* subscriptionType: "STRING_VALUE",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CodeWhispererRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeWhispererRuntimeClient";
|
|
2
|
-
import { CreateTaskAssistConversationRequest, CreateTaskAssistConversationResponse } from "../models/
|
|
2
|
+
import { CreateTaskAssistConversationRequest, CreateTaskAssistConversationResponse } from "../models/models_1";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CodeWhispererRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeWhispererRuntimeClient";
|
|
2
|
-
import { DeleteTaskAssistConversationRequest } from "../models/
|
|
3
|
-
import { DeleteTaskAssistConversationResponse } from "../models/models_1";
|
|
2
|
+
import { DeleteTaskAssistConversationRequest, DeleteTaskAssistConversationResponse } from "../models/models_1";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
6
5
|
/**
|
|
@@ -70,11 +70,18 @@ declare const GetProfileCommand_base: {
|
|
|
70
70
|
* // },
|
|
71
71
|
* // overageConfiguration: { // OverageConfiguration
|
|
72
72
|
* // overageStatus: "STRING_VALUE", // required
|
|
73
|
+
* // overageLimit: Number("int"),
|
|
73
74
|
* // },
|
|
74
75
|
* // mcpConfiguration: { // MCPConfiguration
|
|
75
76
|
* // toggle: "STRING_VALUE", // required
|
|
76
77
|
* // mcpRegistryUrl: "STRING_VALUE",
|
|
77
78
|
* // },
|
|
79
|
+
* // autonomousAgents: { // AutonomousAgents
|
|
80
|
+
* // toggle: "STRING_VALUE", // required
|
|
81
|
+
* // },
|
|
82
|
+
* // webTools: { // WebTools
|
|
83
|
+
* // toggle: "STRING_VALUE", // required
|
|
84
|
+
* // },
|
|
78
85
|
* // },
|
|
79
86
|
* // referenceTrackerConfiguration: { // ReferenceTrackerConfiguration
|
|
80
87
|
* // recommendationsWithReferences: "BLOCK" || "ALLOW", // required
|
package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetUsageLimitsCommand.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CodeWhispererRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeWhispererRuntimeClient";
|
|
2
|
-
import { GetUsageLimitsRequest
|
|
2
|
+
import { GetUsageLimitsRequest } from "../models/models_0";
|
|
3
|
+
import { GetUsageLimitsResponse } from "../models/models_1";
|
|
3
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
5
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
6
|
/**
|
|
@@ -78,6 +79,18 @@ declare const GetUsageLimitsCommand_base: {
|
|
|
78
79
|
* // usageLimit: Number("int"),
|
|
79
80
|
* // usageLimitWithPrecision: Number("double"),
|
|
80
81
|
* // },
|
|
82
|
+
* // bonuses: [ // BonusList
|
|
83
|
+
* // { // Bonus
|
|
84
|
+
* // bonusCode: "STRING_VALUE", // required
|
|
85
|
+
* // displayName: "STRING_VALUE", // required
|
|
86
|
+
* // description: "STRING_VALUE", // required
|
|
87
|
+
* // status: "ACTIVE" || "EXPIRED" || "EXHAUSTED", // required
|
|
88
|
+
* // expiresAt: new Date("TIMESTAMP"), // required
|
|
89
|
+
* // redeemedAt: new Date("TIMESTAMP"),
|
|
90
|
+
* // currentUsage: Number("double"), // required
|
|
91
|
+
* // usageLimit: Number("double"), // required
|
|
92
|
+
* // },
|
|
93
|
+
* // ],
|
|
81
94
|
* // },
|
|
82
95
|
* // usageBreakdownList: [ // UsageBreakdownList
|
|
83
96
|
* // {
|
|
@@ -105,6 +118,18 @@ declare const GetUsageLimitsCommand_base: {
|
|
|
105
118
|
* // usageLimit: Number("int"),
|
|
106
119
|
* // usageLimitWithPrecision: Number("double"),
|
|
107
120
|
* // },
|
|
121
|
+
* // bonuses: [
|
|
122
|
+
* // {
|
|
123
|
+
* // bonusCode: "STRING_VALUE", // required
|
|
124
|
+
* // displayName: "STRING_VALUE", // required
|
|
125
|
+
* // description: "STRING_VALUE", // required
|
|
126
|
+
* // status: "ACTIVE" || "EXPIRED" || "EXHAUSTED", // required
|
|
127
|
+
* // expiresAt: new Date("TIMESTAMP"), // required
|
|
128
|
+
* // redeemedAt: new Date("TIMESTAMP"),
|
|
129
|
+
* // currentUsage: Number("double"), // required
|
|
130
|
+
* // usageLimit: Number("double"), // required
|
|
131
|
+
* // },
|
|
132
|
+
* // ],
|
|
108
133
|
* // },
|
|
109
134
|
* // ],
|
|
110
135
|
* // subscriptionInfo: { // SubscriptionInfo
|
|
@@ -116,11 +141,17 @@ declare const GetUsageLimitsCommand_base: {
|
|
|
116
141
|
* // },
|
|
117
142
|
* // overageConfiguration: { // OverageConfiguration
|
|
118
143
|
* // overageStatus: "STRING_VALUE", // required
|
|
144
|
+
* // overageLimit: Number("int"),
|
|
119
145
|
* // },
|
|
120
146
|
* // userInfo: { // UserInfo
|
|
121
147
|
* // userId: "STRING_VALUE", // required
|
|
122
148
|
* // email: "STRING_VALUE", // required
|
|
123
149
|
* // },
|
|
150
|
+
* // totalUsage: { // TotalUsage
|
|
151
|
+
* // maxOverageLimit: Number("double"),
|
|
152
|
+
* // overageLimit: Number("double"),
|
|
153
|
+
* // totalOverageCharges: Number("double"),
|
|
154
|
+
* // },
|
|
124
155
|
* // };
|
|
125
156
|
*
|
|
126
157
|
* ```
|
package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListAvailableModelsCommand.d.ts
CHANGED
|
@@ -59,7 +59,11 @@ declare const ListAvailableModelsCommand_base: {
|
|
|
59
59
|
* // supportedInputTypes: [ // SupportedInputTypesList
|
|
60
60
|
* // "IMAGE" || "TEXT",
|
|
61
61
|
* // ],
|
|
62
|
-
* //
|
|
62
|
+
* // promptCaching: { // PromptCaching
|
|
63
|
+
* // supportsPromptCaching: true || false, // required
|
|
64
|
+
* // minimumTokensPerCacheCheckpoint: Number("int"),
|
|
65
|
+
* // maximumCacheCheckpointsPerRequest: Number("int"),
|
|
66
|
+
* // },
|
|
63
67
|
* // },
|
|
64
68
|
* // ],
|
|
65
69
|
* // defaultModel: {
|
|
@@ -75,7 +79,11 @@ declare const ListAvailableModelsCommand_base: {
|
|
|
75
79
|
* // supportedInputTypes: [
|
|
76
80
|
* // "IMAGE" || "TEXT",
|
|
77
81
|
* // ],
|
|
78
|
-
* //
|
|
82
|
+
* // promptCaching: {
|
|
83
|
+
* // supportsPromptCaching: true || false, // required
|
|
84
|
+
* // minimumTokensPerCacheCheckpoint: Number("int"),
|
|
85
|
+
* // maximumCacheCheckpointsPerRequest: Number("int"),
|
|
86
|
+
* // },
|
|
79
87
|
* // },
|
|
80
88
|
* // nextToken: "STRING_VALUE",
|
|
81
89
|
* // };
|
|
@@ -56,6 +56,12 @@ declare const ListAvailableProfilesCommand_base: {
|
|
|
56
56
|
* // clientId: "STRING_VALUE",
|
|
57
57
|
* // scimEndpoint: "STRING_VALUE",
|
|
58
58
|
* // subscriptionStartType: "STRING_VALUE",
|
|
59
|
+
* // jitSubscriptionRoleArn: "STRING_VALUE",
|
|
60
|
+
* // oidcClaimKeys: { // OIDCClaimKeys
|
|
61
|
+
* // tokenIdClaimKey: "STRING_VALUE", // required
|
|
62
|
+
* // userIdClaimKey: "STRING_VALUE", // required
|
|
63
|
+
* // appClaimKey: "STRING_VALUE", // required
|
|
64
|
+
* // },
|
|
59
65
|
* // },
|
|
60
66
|
* // },
|
|
61
67
|
* // profileName: "STRING_VALUE", // required
|
|
@@ -96,11 +102,18 @@ declare const ListAvailableProfilesCommand_base: {
|
|
|
96
102
|
* // },
|
|
97
103
|
* // overageConfiguration: { // OverageConfiguration
|
|
98
104
|
* // overageStatus: "STRING_VALUE", // required
|
|
105
|
+
* // overageLimit: Number("int"),
|
|
99
106
|
* // },
|
|
100
107
|
* // mcpConfiguration: { // MCPConfiguration
|
|
101
108
|
* // toggle: "STRING_VALUE", // required
|
|
102
109
|
* // mcpRegistryUrl: "STRING_VALUE",
|
|
103
110
|
* // },
|
|
111
|
+
* // autonomousAgents: { // AutonomousAgents
|
|
112
|
+
* // toggle: "STRING_VALUE", // required
|
|
113
|
+
* // },
|
|
114
|
+
* // webTools: { // WebTools
|
|
115
|
+
* // toggle: "STRING_VALUE", // required
|
|
116
|
+
* // },
|
|
104
117
|
* // },
|
|
105
118
|
* // optInFeaturesType: "STRING_VALUE",
|
|
106
119
|
* // permissionUpdateRequired: true || false,
|
|
@@ -35,7 +35,9 @@ declare const ListAvailableSubscriptionsCommand_base: {
|
|
|
35
35
|
* import { CodeWhispererRuntimeClient, ListAvailableSubscriptionsCommand } from "@amzn/codewhisperer-runtime"; // ES Modules import
|
|
36
36
|
* // const { CodeWhispererRuntimeClient, ListAvailableSubscriptionsCommand } = require("@amzn/codewhisperer-runtime"); // CommonJS import
|
|
37
37
|
* const client = new CodeWhispererRuntimeClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // ListAvailableSubscriptionsRequest
|
|
39
|
+
* profileArn: "STRING_VALUE",
|
|
40
|
+
* };
|
|
39
41
|
* const command = new ListAvailableSubscriptionsCommand(input);
|
|
40
42
|
* const response = await client.send(command);
|
|
41
43
|
* // { // ListAvailableSubscriptionsResponse
|
|
@@ -90,7 +92,7 @@ export declare class ListAvailableSubscriptionsCommand extends ListAvailableSubs
|
|
|
90
92
|
/** @internal type navigation helper, not in runtime. */
|
|
91
93
|
protected static __types: {
|
|
92
94
|
api: {
|
|
93
|
-
input:
|
|
95
|
+
input: ListAvailableSubscriptionsRequest;
|
|
94
96
|
output: ListAvailableSubscriptionsResponse;
|
|
95
97
|
};
|
|
96
98
|
sdk: {
|