@aws/lsp-codewhisperer 0.0.88 → 0.0.89
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 +13 -0
- package/node_modules/@amzn/codewhisperer-runtime/README.md +78 -15
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/CodeWhispererRuntimeClient.js +13 -10
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/CreateArtifactUploadUrlCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/CreateSubscriptionTokenCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/CreateTaskAssistConversationCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/CreateUploadUrlCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/CreateUserMemoryEntryCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/CreateWorkspaceCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/DeleteTaskAssistConversationCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/DeleteUserMemoryEntryCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/DeleteWorkspaceCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GenerateCompletionsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetCodeAnalysisCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetCodeFixJobCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetProfileCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetRetrievalsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetTaskAssistCodeGenerationCommand.js +6 -2
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetTestGenerationCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetTransformationCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetTransformationPlanCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetUsageLimitsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListAvailableCustomizationsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListAvailableModelsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListAvailableProfilesCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListAvailableSubscriptionsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListCodeAnalysisFindingsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListEventsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListFeatureEvaluationsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListUserMemoryEntriesCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListWorkspaceMetadataCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/PushTelemetryEventCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ResumeTransformationCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/SendTelemetryEventCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/SetUserPreferenceCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/StartCodeAnalysisCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/StartCodeFixJobCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/StartTaskAssistCodeGenerationCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/StartTestGenerationCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/StartTransformationCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/StopTransformationCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/UpdateUsageLimitsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/endpoint/EndpointParameters.js +15 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/endpoint/endpointResolver.js +19 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/endpoint/ruleset.js +61 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/models/models_0.js +52 -43
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/models/models_1.js +7 -1
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/protocols/Aws_restJson1.js +23 -2
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/runtimeConfig.shared.js +2 -2
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/CodeWhispererRuntimeClient.js +15 -12
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/CreateArtifactUploadUrlCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/CreateSubscriptionTokenCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/CreateTaskAssistConversationCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/CreateUploadUrlCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/CreateUserMemoryEntryCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/CreateWorkspaceCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/DeleteTaskAssistConversationCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/DeleteUserMemoryEntryCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/DeleteWorkspaceCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GenerateCompletionsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetCodeAnalysisCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetCodeFixJobCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetProfileCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetRetrievalsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetTaskAssistCodeGenerationCommand.js +5 -1
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetTestGenerationCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetTransformationCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetTransformationPlanCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetUsageLimitsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListAvailableCustomizationsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListAvailableModelsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListAvailableProfilesCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListAvailableSubscriptionsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListCodeAnalysisFindingsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListEventsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListFeatureEvaluationsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListUserMemoryEntriesCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListWorkspaceMetadataCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/PushTelemetryEventCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ResumeTransformationCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/SendTelemetryEventCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/SetUserPreferenceCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/StartCodeAnalysisCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/StartCodeFixJobCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/StartTaskAssistCodeGenerationCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/StartTestGenerationCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/StartTransformationCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/StopTransformationCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/UpdateUsageLimitsCommand.js +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/endpoint/EndpointParameters.js +11 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/endpoint/endpointResolver.js +15 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/endpoint/ruleset.js +58 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/models/models_0.js +47 -37
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/models/models_1.js +5 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/protocols/Aws_restJson1.js +23 -2
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/runtimeConfig.shared.js +2 -2
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/CodeWhispererRuntimeClient.d.ts +6 -9
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/CreateArtifactUploadUrlCommand.d.ts +7 -7
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/CreateSubscriptionTokenCommand.d.ts +8 -6
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/CreateTaskAssistConversationCommand.d.ts +4 -4
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/CreateUploadUrlCommand.d.ts +11 -11
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/CreateUserMemoryEntryCommand.d.ts +10 -10
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/CreateWorkspaceCommand.d.ts +8 -8
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/DeleteTaskAssistConversationCommand.d.ts +5 -4
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/DeleteUserMemoryEntryCommand.d.ts +4 -4
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/DeleteWorkspaceCommand.d.ts +6 -6
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GenerateCompletionsCommand.d.ts +6 -6
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetCodeAnalysisCommand.d.ts +8 -8
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetCodeFixJobCommand.d.ts +7 -7
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetProfileCommand.d.ts +10 -6
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetRetrievalsCommand.d.ts +6 -6
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetTaskAssistCodeGenerationCommand.d.ts +6 -6
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetTestGenerationCommand.d.ts +4 -4
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetTransformationCommand.d.ts +5 -5
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetTransformationPlanCommand.d.ts +5 -5
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetUsageLimitsCommand.d.ts +6 -6
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListAvailableCustomizationsCommand.d.ts +6 -6
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListAvailableModelsCommand.d.ts +10 -6
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListAvailableProfilesCommand.d.ts +9 -6
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListAvailableSubscriptionsCommand.d.ts +3 -3
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListCodeAnalysisFindingsCommand.d.ts +6 -6
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListEventsCommand.d.ts +6 -6
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListFeatureEvaluationsCommand.d.ts +6 -6
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListUserMemoryEntriesCommand.d.ts +4 -4
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListWorkspaceMetadataCommand.d.ts +6 -6
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/PushTelemetryEventCommand.d.ts +6 -6
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ResumeTransformationCommand.d.ts +5 -5
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/SendTelemetryEventCommand.d.ts +7 -6
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/SetUserPreferenceCommand.d.ts +6 -6
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/StartCodeAnalysisCommand.d.ts +8 -8
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/StartCodeFixJobCommand.d.ts +7 -7
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/StartTaskAssistCodeGenerationCommand.d.ts +8 -8
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/StartTestGenerationCommand.d.ts +7 -7
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/StartTransformationCommand.d.ts +5 -5
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/StopTransformationCommand.d.ts +5 -5
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/UpdateUsageLimitsCommand.d.ts +8 -8
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/endpoint/EndpointParameters.d.ts +28 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/index.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/models/models_0.d.ts +151 -131
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/models/models_1.d.ts +52 -1
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/runtimeConfig.browser.d.ts +5 -2
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/runtimeConfig.d.ts +5 -2
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/runtimeConfig.native.d.ts +5 -2
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +423 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +229 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +5 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +229 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/package.json +58 -0
- package/node_modules/@amzn/codewhisperer-runtime/package.json +3 -0
- package/out/language-server/agenticChat/agenticChatController.d.ts +7 -0
- package/out/language-server/agenticChat/agenticChatController.js +75 -14
- package/out/language-server/agenticChat/agenticChatController.js.map +1 -1
- package/out/language-server/agenticChat/tools/mcp/mcpEventHandler.d.ts +7 -0
- package/out/language-server/agenticChat/tools/mcp/mcpEventHandler.js +202 -34
- package/out/language-server/agenticChat/tools/mcp/mcpEventHandler.js.map +1 -1
- package/out/language-server/agenticChat/tools/mcp/mcpManager.d.ts +4 -0
- package/out/language-server/agenticChat/tools/mcp/mcpManager.js +19 -6
- package/out/language-server/agenticChat/tools/mcp/mcpManager.js.map +1 -1
- package/out/language-server/agenticChat/tools/mcp/profileStatusMonitor.d.ts +6 -0
- package/out/language-server/agenticChat/tools/mcp/profileStatusMonitor.js +6 -0
- package/out/language-server/agenticChat/tools/mcp/profileStatusMonitor.js.map +1 -1
- package/out/language-server/agenticChat/tools/toolServer.js +1 -1
- package/out/language-server/agenticChat/tools/toolServer.js.map +1 -1
- package/out/language-server/inline-completion/handler/editCompletionHandler.js +8 -2
- package/out/language-server/inline-completion/handler/editCompletionHandler.js.map +1 -1
- package/out/language-server/inline-completion/handler/inlineCompletionHandler.js +7 -2
- package/out/language-server/inline-completion/handler/inlineCompletionHandler.js.map +1 -1
- package/out/language-server/inline-completion/handler/sessionResultsHandler.js +15 -2
- package/out/language-server/inline-completion/handler/sessionResultsHandler.js.map +1 -1
- package/out/language-server/inline-completion/telemetry/telemetry.d.ts +4 -4
- package/out/language-server/inline-completion/telemetry/telemetry.js +6 -6
- package/out/language-server/inline-completion/telemetry/telemetry.js.map +1 -1
- package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js +5 -1
- package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js.map +1 -1
- package/out/shared/codeWhispererService.d.ts +10 -3
- package/out/shared/codeWhispererService.js +63 -2
- package/out/shared/codeWhispererService.js.map +1 -1
- package/out/shared/supplementalContextUtil/crossFileContextUtil.d.ts +3 -3
- package/out/shared/supplementalContextUtil/crossFileContextUtil.js +9 -9
- package/out/shared/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
- package/out/shared/supplementalContextUtil/supplementalContextUtil.d.ts +1 -1
- package/out/shared/supplementalContextUtil/supplementalContextUtil.js +2 -2
- package/out/shared/supplementalContextUtil/supplementalContextUtil.js.map +1 -1
- package/out/shared/telemetry/telemetryService.d.ts +2 -2
- package/out/shared/telemetry/telemetryService.js +4 -2
- package/out/shared/telemetry/telemetryService.js.map +1 -1
- package/package.json +2 -2
- package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/endpoints.js +0 -211
- package/node_modules/@amzn/codewhisperer-runtime/dist-es/endpoints.js +0 -207
- package/node_modules/@amzn/codewhisperer-runtime/dist-types/endpoints.d.ts +0 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
3
|
+
exports.RuntimeDiagnosticFilterSensitiveLog = exports.DiagnosticSeverity = exports.ConsoleStateFilterSensitiveLog = exports.Origin = exports.ImageBlockFilterSensitiveLog = exports.ImageSourceFilterSensitiveLog = exports.ImageSource = exports.ImageFormat = exports.ChangeLogGranularityType = exports.ContentChecksumType = exports.ImportFilterSensitiveLog = exports.SupplementalContextFilterSensitiveLog = exports.SupplementalContextType = exports.SupplementalContextMetadata = exports.FileContextFilterSensitiveLog = exports.ProfileStatus = exports.IdentityDetails = exports.OptInFeaturesType = exports.ResourcePolicyEffect = exports.RecommendationsWithReferencesPreference = exports.ProfileType = exports.OverageStatus = exports.OptInFeatureToggle = exports.SubscriptionStartType = exports.ConflictException = exports.ConflictExceptionReason = exports.AssistantResponseMessageFilterSensitiveLog = exports.ToolUseFilterSensitiveLog = exports.SupplementaryWebLinkFilterSensitiveLog = exports.ReasoningContentFilterSensitiveLog = exports.ReasoningContent = exports.ReasoningTextFilterSensitiveLog = exports.FollowupPromptFilterSensitiveLog = exports.UserIntent = exports.CachePointType = exports.ArtifactType = exports.AppStudioStateFilterSensitiveLog = exports.AgentTaskType = exports.AgenticChatEventStatus = exports.AdditionalContentEntryFilterSensitiveLog = exports.FunctionalityName = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ThrottlingExceptionReason = exports.ResourceNotFoundException = exports.InternalServerException = exports.InternalServerExceptionReason = exports.AccessDeniedException = exports.AccessDeniedExceptionReason = void 0;
|
|
4
|
+
exports.UploadContextFilterSensitiveLog = exports.UploadContext = exports.WorkspaceContextUploadContextFilterSensitiveLog = exports.TransformationUploadArtifactType = exports.ConversationStateFilterSensitiveLog = exports.ContextTruncationScheme = exports.CompletionType = exports.CompletionFilterSensitiveLog = exports.CodeScanRemediationsEventType = exports.CodeGenerationWorkflowStatus = exports.CodeGenerationWorkflowStage = exports.CodeFixJobStatus = exports.CodeAnalysisStatus = exports.CodeAnalysisScope = exports.CodeAnalysisFindingsSchema = exports.ChatTriggerType = exports.ChatInteractWithMessageEventFilterSensitiveLog = exports.ChatMessageInteractionType = exports.IdeDiagnosticFilterSensitiveLog = exports.IdeDiagnosticType = exports.ChatMessageFilterSensitiveLog = exports.ChatMessage = exports.UserInputMessageFilterSensitiveLog = exports.UserInputMessageContextFilterSensitiveLog = exports.ToolFilterSensitiveLog = exports.Tool = exports.ToolSpecificationFilterSensitiveLog = exports.ToolInputSchemaFilterSensitiveLog = exports.ToolResultFilterSensitiveLog = exports.ToolResultStatus = exports.ToolResultContentBlockFilterSensitiveLog = exports.ToolResultContentBlock = exports.ShellStateFilterSensitiveLog = exports.ShellHistoryEntryFilterSensitiveLog = exports.GitStateFilterSensitiveLog = exports.EnvStateFilterSensitiveLog = exports.EnvironmentVariableFilterSensitiveLog = exports.EditorStateFilterSensitiveLog = exports.RelevantTextDocumentFilterSensitiveLog = exports.ContentType = exports.CursorState = exports.DiagnosticFilterSensitiveLog = exports.Diagnostic = exports.TextDocumentDiagnosticFilterSensitiveLog = exports.DiagnosticTag = exports.DiagnosticRelatedInformationFilterSensitiveLog = exports.DiagnosticLocationFilterSensitiveLog = exports.TextDocumentFilterSensitiveLog = exports.SymbolType = exports.CodeDescriptionFilterSensitiveLog = void 0;
|
|
5
|
+
exports.TransformationLanguage = exports.TransformationStatus = exports.TransformationJavaRuntimeEnv = exports.TransformationDotNetRuntimeEnv = exports.TestGenerationJobFilterSensitiveLog = exports.TestGenerationJobStatus = exports.TaskAssistPlanStepAction = exports.TargetCodeFilterSensitiveLog = exports.StartCodeFixJobRequestFilterSensitiveLog = exports.StartCodeAnalysisResponseFilterSensitiveLog = exports.ServiceQuotaExceededException = exports.ServiceQuotaExceededExceptionReason = exports.SendTelemetryEventRequestFilterSensitiveLog = exports.TelemetryEventFilterSensitiveLog = exports.TelemetryEvent = exports.UserTriggerDecisionEventFilterSensitiveLog = exports.UserDecisionReason = exports.SuggestionType = exports.SuggestionState = exports.TerminalUserInteractionEventType = exports.TransformationProgressUpdateStatus = exports.PackageInfoFilterSensitiveLog = exports.TargetFileInfoFilterSensitiveLog = exports.ListCodeAnalysisFindingsResponseFilterSensitiveLog = exports.IntentContextFilterSensitiveLog = exports.IntentContext = exports.Intent = exports.InlineChatUserDecision = exports.GetCodeFixJobResponseFilterSensitiveLog = exports.SuggestedFixFilterSensitiveLog = exports.GetCodeAnalysisResponseFilterSensitiveLog = exports.GenerateCompletionsResponseFilterSensitiveLog = exports.PredictionFilterSensitiveLog = exports.Prediction = exports.GenerateCompletionsRequestFilterSensitiveLog = exports.OperatingSystem = exports.IdeCategory = exports.PredictionType = exports.OptOutPreference = exports.FeatureValue = exports.TransformationDownloadArtifactType = exports.EditFilterSensitiveLog = exports.DocumentationIntentContextFilterSensitiveLog = exports.DocumentationType = exports.DocUserDecision = exports.DocInteractionType = exports.DocFolderLevel = exports.CreateUploadUrlResponseFilterSensitiveLog = exports.CreateUploadUrlRequestFilterSensitiveLog = exports.UploadIntent = void 0;
|
|
6
|
+
exports.UpdateUsageLimitQuotaExceededException = exports.GetUsageLimitsResponseFilterSensitiveLog = exports.FreeTrialStatus = exports.UpgradeCapability = exports.SubscriptionManagementTarget = exports.OverageCapability = exports.ResourceType = exports.StartTestGenerationResponseFilterSensitiveLog = exports.StartTestGenerationRequestFilterSensitiveLog = exports.GetTestGenerationResponseFilterSensitiveLog = exports.Currency = exports.SubscriptionName = exports.SubscriptionStatus = exports.SubscriptionType = exports.SubscriptionProvider = exports.ListUserMemoryEntriesOutputFilterSensitiveLog = exports.CreateUserMemoryEntryOutputFilterSensitiveLog = exports.MemoryEntryFilterSensitiveLog = exports.MemoryEntryMetadataFilterSensitiveLog = exports.MemoryStatus = exports.CreateUserMemoryEntryInputFilterSensitiveLog = exports.InputType = exports.ModelProvider = exports.ListEventsResponseFilterSensitiveLog = exports.EventFilterSensitiveLog = exports.UserInfoFilterSensitiveLog = exports.UsageLimitUpdateRequestStatus = exports.UsageLimitType = exports.TransformationUserActionStatus = exports.TransformationStepStatus = exports.TransformationType = exports.TransformationProjectArtifactDescriptor = exports.TransformationRuntimeEnv = exports.TransformationMainframeRuntimeEnv = exports.TransformationOperatingSystemFamily = void 0;
|
|
7
7
|
const CodeWhispererRuntimeServiceException_1 = require("./CodeWhispererRuntimeServiceException");
|
|
8
8
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
9
|
exports.AccessDeniedExceptionReason = {
|
|
@@ -27,35 +27,6 @@ class AccessDeniedException extends CodeWhispererRuntimeServiceException_1.CodeW
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
exports.AccessDeniedException = AccessDeniedException;
|
|
30
|
-
exports.FunctionalityName = {
|
|
31
|
-
Analysis: "ANALYSIS",
|
|
32
|
-
ChatCustomization: "CHAT_CUSTOMIZATION",
|
|
33
|
-
Completions: "COMPLETIONS",
|
|
34
|
-
Conversations: "CONVERSATIONS",
|
|
35
|
-
FeatureDevelopment: "FEATURE_DEVELOPMENT",
|
|
36
|
-
TaskAssist: "TASK_ASSIST",
|
|
37
|
-
Transformations: "TRANSFORMATIONS",
|
|
38
|
-
TransformationsWebApp: "TRANSFORMATIONS_WEBAPP",
|
|
39
|
-
};
|
|
40
|
-
const AdditionalContentEntryFilterSensitiveLog = (obj) => ({
|
|
41
|
-
...obj,
|
|
42
|
-
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING
|
|
43
|
-
}),
|
|
44
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING
|
|
45
|
-
}),
|
|
46
|
-
...(obj.innerContext && { innerContext: smithy_client_1.SENSITIVE_STRING
|
|
47
|
-
}),
|
|
48
|
-
});
|
|
49
|
-
exports.AdditionalContentEntryFilterSensitiveLog = AdditionalContentEntryFilterSensitiveLog;
|
|
50
|
-
exports.AgenticChatEventStatus = {
|
|
51
|
-
Cancelled: "CANCELLED",
|
|
52
|
-
Failed: "FAILED",
|
|
53
|
-
Succeeded: "SUCCEEDED",
|
|
54
|
-
};
|
|
55
|
-
exports.AgentTaskType = {
|
|
56
|
-
SPEC_TASK: "spectask",
|
|
57
|
-
VIBE: "vibe",
|
|
58
|
-
};
|
|
59
30
|
exports.InternalServerExceptionReason = {
|
|
60
31
|
MODEL_TEMPORARILY_UNAVAILABLE: "MODEL_TEMPORARILY_UNAVAILABLE",
|
|
61
32
|
};
|
|
@@ -115,6 +86,7 @@ exports.ValidationExceptionReason = {
|
|
|
115
86
|
CONTENT_LENGTH_EXCEEDS_THRESHOLD: "CONTENT_LENGTH_EXCEEDS_THRESHOLD",
|
|
116
87
|
INVALID_CONVERSATION_ID: "INVALID_CONVERSATION_ID",
|
|
117
88
|
INVALID_KMS_GRANT: "INVALID_KMS_GRANT",
|
|
89
|
+
INVALID_MODEL_ID: "INVALID_MODEL_ID",
|
|
118
90
|
};
|
|
119
91
|
class ValidationException extends CodeWhispererRuntimeServiceException_1.CodeWhispererRuntimeServiceException {
|
|
120
92
|
name = "ValidationException";
|
|
@@ -131,6 +103,35 @@ class ValidationException extends CodeWhispererRuntimeServiceException_1.CodeWhi
|
|
|
131
103
|
}
|
|
132
104
|
}
|
|
133
105
|
exports.ValidationException = ValidationException;
|
|
106
|
+
exports.FunctionalityName = {
|
|
107
|
+
Analysis: "ANALYSIS",
|
|
108
|
+
ChatCustomization: "CHAT_CUSTOMIZATION",
|
|
109
|
+
Completions: "COMPLETIONS",
|
|
110
|
+
Conversations: "CONVERSATIONS",
|
|
111
|
+
FeatureDevelopment: "FEATURE_DEVELOPMENT",
|
|
112
|
+
TaskAssist: "TASK_ASSIST",
|
|
113
|
+
Transformations: "TRANSFORMATIONS",
|
|
114
|
+
TransformationsWebApp: "TRANSFORMATIONS_WEBAPP",
|
|
115
|
+
};
|
|
116
|
+
const AdditionalContentEntryFilterSensitiveLog = (obj) => ({
|
|
117
|
+
...obj,
|
|
118
|
+
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING
|
|
119
|
+
}),
|
|
120
|
+
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING
|
|
121
|
+
}),
|
|
122
|
+
...(obj.innerContext && { innerContext: smithy_client_1.SENSITIVE_STRING
|
|
123
|
+
}),
|
|
124
|
+
});
|
|
125
|
+
exports.AdditionalContentEntryFilterSensitiveLog = AdditionalContentEntryFilterSensitiveLog;
|
|
126
|
+
exports.AgenticChatEventStatus = {
|
|
127
|
+
Cancelled: "CANCELLED",
|
|
128
|
+
Failed: "FAILED",
|
|
129
|
+
Succeeded: "SUCCEEDED",
|
|
130
|
+
};
|
|
131
|
+
exports.AgentTaskType = {
|
|
132
|
+
SPEC_TASK: "spectask",
|
|
133
|
+
VIBE: "vibe",
|
|
134
|
+
};
|
|
134
135
|
const AppStudioStateFilterSensitiveLog = (obj) => ({
|
|
135
136
|
...obj,
|
|
136
137
|
...(obj.namespace && { namespace: smithy_client_1.SENSITIVE_STRING
|
|
@@ -249,6 +250,10 @@ class ConflictException extends CodeWhispererRuntimeServiceException_1.CodeWhisp
|
|
|
249
250
|
}
|
|
250
251
|
}
|
|
251
252
|
exports.ConflictException = ConflictException;
|
|
253
|
+
exports.SubscriptionStartType = {
|
|
254
|
+
ADMIN: "ADMIN",
|
|
255
|
+
JUST_IN_TIME: "JUST_IN_TIME",
|
|
256
|
+
};
|
|
252
257
|
exports.OptInFeatureToggle = {
|
|
253
258
|
OFF: "OFF",
|
|
254
259
|
ON: "ON",
|
|
@@ -257,6 +262,11 @@ exports.OverageStatus = {
|
|
|
257
262
|
DISABLED: "DISABLED",
|
|
258
263
|
ENABLED: "ENABLED",
|
|
259
264
|
};
|
|
265
|
+
exports.ProfileType = {
|
|
266
|
+
CODEWHISPERER: "CODEWHISPERER",
|
|
267
|
+
KIRO: "KIRO",
|
|
268
|
+
Q_DEVELOPER: "Q_DEVELOPER",
|
|
269
|
+
};
|
|
260
270
|
exports.RecommendationsWithReferencesPreference = {
|
|
261
271
|
ALLOW: "ALLOW",
|
|
262
272
|
BLOCK: "BLOCK",
|
|
@@ -265,6 +275,10 @@ exports.ResourcePolicyEffect = {
|
|
|
265
275
|
ALLOW: "ALLOW",
|
|
266
276
|
DENY: "DENY",
|
|
267
277
|
};
|
|
278
|
+
exports.OptInFeaturesType = {
|
|
279
|
+
KIRO: "KIRO",
|
|
280
|
+
Q_DEVELOPER: "Q_DEVELOPER",
|
|
281
|
+
};
|
|
268
282
|
var IdentityDetails;
|
|
269
283
|
(function (IdentityDetails) {
|
|
270
284
|
IdentityDetails.visit = (value, visitor) => {
|
|
@@ -275,10 +289,6 @@ var IdentityDetails;
|
|
|
275
289
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
276
290
|
};
|
|
277
291
|
})(IdentityDetails || (exports.IdentityDetails = IdentityDetails = {}));
|
|
278
|
-
exports.ProfileType = {
|
|
279
|
-
CODEWHISPERER: "CODEWHISPERER",
|
|
280
|
-
Q_DEVELOPER: "Q_DEVELOPER",
|
|
281
|
-
};
|
|
282
292
|
exports.ProfileStatus = {
|
|
283
293
|
ACTIVE: "ACTIVE",
|
|
284
294
|
CREATE_FAILED: "CREATE_FAILED",
|
|
@@ -372,6 +382,7 @@ exports.Origin = {
|
|
|
372
382
|
GITLAB: "GITLAB",
|
|
373
383
|
IDE: "IDE",
|
|
374
384
|
INLINE_CHAT: "INLINE_CHAT",
|
|
385
|
+
KIRO_CLI: "KIRO_CLI",
|
|
375
386
|
MARKETING: "MARKETING",
|
|
376
387
|
MD: "MD",
|
|
377
388
|
MD_CE: "MD_CE",
|
|
@@ -1063,6 +1074,10 @@ exports.SuggestionType = {
|
|
|
1063
1074
|
Completions: "COMPLETIONS",
|
|
1064
1075
|
Edits: "EDITS",
|
|
1065
1076
|
};
|
|
1077
|
+
exports.UserDecisionReason = {
|
|
1078
|
+
ExplicitReject: "EXPLICIT_REJECT",
|
|
1079
|
+
ImplicitReject: "IMPLICIT_REJECT",
|
|
1080
|
+
};
|
|
1066
1081
|
const UserTriggerDecisionEventFilterSensitiveLog = (obj) => ({
|
|
1067
1082
|
...obj,
|
|
1068
1083
|
...(obj.addedIdeDiagnostics && { addedIdeDiagnostics: obj.addedIdeDiagnostics.map(item => (0, exports.IdeDiagnosticFilterSensitiveLog)(item))
|
|
@@ -1511,9 +1526,3 @@ class UpdateUsageLimitQuotaExceededException extends CodeWhispererRuntimeService
|
|
|
1511
1526
|
}
|
|
1512
1527
|
}
|
|
1513
1528
|
exports.UpdateUsageLimitQuotaExceededException = UpdateUsageLimitQuotaExceededException;
|
|
1514
|
-
const GetTaskAssistCodeGenerationResponseFilterSensitiveLog = (obj) => ({
|
|
1515
|
-
...obj,
|
|
1516
|
-
...(obj.codeGenerationStatusDetail && { codeGenerationStatusDetail: smithy_client_1.SENSITIVE_STRING
|
|
1517
|
-
}),
|
|
1518
|
-
});
|
|
1519
|
-
exports.GetTaskAssistCodeGenerationResponseFilterSensitiveLog = GetTaskAssistCodeGenerationResponseFilterSensitiveLog;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListWorkspaceMetadataResponseFilterSensitiveLog = exports.ListWorkspaceMetadataRequestFilterSensitiveLog = exports.CreateWorkspaceResponseFilterSensitiveLog = exports.WorkspaceMetadataFilterSensitiveLog = exports.WorkspaceStatus = exports.CreateWorkspaceRequestFilterSensitiveLog = exports.StartTaskAssistCodeGenerationRequestFilterSensitiveLog = void 0;
|
|
3
|
+
exports.ListWorkspaceMetadataResponseFilterSensitiveLog = exports.ListWorkspaceMetadataRequestFilterSensitiveLog = exports.CreateWorkspaceResponseFilterSensitiveLog = exports.WorkspaceMetadataFilterSensitiveLog = exports.WorkspaceStatus = exports.CreateWorkspaceRequestFilterSensitiveLog = exports.StartTaskAssistCodeGenerationRequestFilterSensitiveLog = exports.GetTaskAssistCodeGenerationResponseFilterSensitiveLog = void 0;
|
|
4
4
|
const models_0_1 = require("./models_0");
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
|
+
const GetTaskAssistCodeGenerationResponseFilterSensitiveLog = (obj) => ({
|
|
7
|
+
...obj,
|
|
8
|
+
...(obj.codeGenerationStatusDetail && { codeGenerationStatusDetail: smithy_client_1.SENSITIVE_STRING
|
|
9
|
+
}),
|
|
10
|
+
});
|
|
11
|
+
exports.GetTaskAssistCodeGenerationResponseFilterSensitiveLog = GetTaskAssistCodeGenerationResponseFilterSensitiveLog;
|
|
6
12
|
const StartTaskAssistCodeGenerationRequestFilterSensitiveLog = (obj) => ({
|
|
7
13
|
...obj,
|
|
8
14
|
...(obj.conversationState && { conversationState: (0, models_0_1.ConversationStateFilterSensitiveLog)(obj.conversationState)
|
|
@@ -40,10 +40,12 @@ const se_CreateSubscriptionTokenCommand = async (input, context) => {
|
|
|
40
40
|
b.bp("/CreateSubscriptionToken");
|
|
41
41
|
let body;
|
|
42
42
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
43
|
+
'cancelUrl': [],
|
|
43
44
|
'clientToken': [true, _ => _ ?? (0, uuid_1.v4)()],
|
|
44
45
|
'provider': [],
|
|
45
46
|
'statusOnly': [],
|
|
46
47
|
'subscriptionType': [],
|
|
48
|
+
'successUrl': [],
|
|
47
49
|
}));
|
|
48
50
|
b.m("POST")
|
|
49
51
|
.h(headers)
|
|
@@ -1059,8 +1061,8 @@ const de_ListAvailableModelsCommand = async (output, context) => {
|
|
|
1059
1061
|
});
|
|
1060
1062
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1061
1063
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1062
|
-
'defaultModel':
|
|
1063
|
-
'models':
|
|
1064
|
+
'defaultModel': _ => de_Model(_, context),
|
|
1065
|
+
'models': _ => de_Models(_, context),
|
|
1064
1066
|
'nextToken': smithy_client_1.expectString,
|
|
1065
1067
|
});
|
|
1066
1068
|
Object.assign(contents, doc);
|
|
@@ -1843,6 +1845,7 @@ const se_UserTriggerDecisionEvent = (input, context) => {
|
|
|
1843
1845
|
'suggestionType': [],
|
|
1844
1846
|
'timestamp': _ => (_.getTime() / 1000),
|
|
1845
1847
|
'triggerToResponseLatencyMilliseconds': smithy_client_1.serializeFloat,
|
|
1848
|
+
'userDecisionReason': [],
|
|
1846
1849
|
});
|
|
1847
1850
|
};
|
|
1848
1851
|
const se_Document = (input, context) => {
|
|
@@ -2049,6 +2052,24 @@ const de_UsageBreakdownList = (output, context) => {
|
|
|
2049
2052
|
});
|
|
2050
2053
|
return retVal;
|
|
2051
2054
|
};
|
|
2055
|
+
const de_Model = (output, context) => {
|
|
2056
|
+
return (0, smithy_client_1.take)(output, {
|
|
2057
|
+
'description': smithy_client_1.expectString,
|
|
2058
|
+
'modelId': smithy_client_1.expectString,
|
|
2059
|
+
'modelName': smithy_client_1.expectString,
|
|
2060
|
+
'rateMultiplier': smithy_client_1.limitedParseDouble,
|
|
2061
|
+
'rateUnit': smithy_client_1.expectString,
|
|
2062
|
+
'supportedInputTypes': smithy_client_1._json,
|
|
2063
|
+
'supportsPromptCache': smithy_client_1.expectBoolean,
|
|
2064
|
+
'tokenLimits': smithy_client_1._json,
|
|
2065
|
+
});
|
|
2066
|
+
};
|
|
2067
|
+
const de_Models = (output, context) => {
|
|
2068
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2069
|
+
return de_Model(entry, context);
|
|
2070
|
+
});
|
|
2071
|
+
return retVal;
|
|
2072
|
+
};
|
|
2052
2073
|
const de_MemoryEntry = (output, context) => {
|
|
2053
2074
|
return (0, smithy_client_1.take)(output, {
|
|
2054
2075
|
'id': smithy_client_1.expectString,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
5
|
-
const
|
|
5
|
+
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
6
|
const core_1 = require("@smithy/core");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
const url_parser_1 = require("@smithy/url-parser");
|
|
@@ -14,6 +14,7 @@ const getRuntimeConfig = (config) => {
|
|
|
14
14
|
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
|
15
15
|
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
16
16
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
17
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
17
18
|
extensions: config?.extensions ?? [],
|
|
18
19
|
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultCodeWhispererRuntimeHttpAuthSchemeProvider,
|
|
19
20
|
httpAuthSchemes: config?.httpAuthSchemes ?? [{
|
|
@@ -22,7 +23,6 @@ const getRuntimeConfig = (config) => {
|
|
|
22
23
|
signer: new core_1.HttpBearerAuthSigner(),
|
|
23
24
|
}],
|
|
24
25
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
25
|
-
regionInfoProvider: config?.regionInfoProvider ?? endpoints_1.defaultRegionInfoProvider,
|
|
26
26
|
serviceId: config?.serviceId ?? "CodeWhispererRuntime",
|
|
27
27
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
28
28
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { defaultCodeWhispererRuntimeHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
2
|
+
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
2
3
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
3
4
|
import { resolveRuntimeExtensions, } from "./runtimeExtensions";
|
|
4
5
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
6
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
7
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
7
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
8
|
-
import {
|
|
9
|
-
import { DefaultIdentityProviderConfig,
|
|
9
|
+
import { resolveRegionConfig, } from "@smithy/config-resolver";
|
|
10
|
+
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
10
11
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
12
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
11
13
|
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
12
14
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
13
15
|
export { __Client };
|
|
@@ -15,22 +17,23 @@ export class CodeWhispererRuntimeClient extends __Client {
|
|
|
15
17
|
config;
|
|
16
18
|
constructor(...[configuration]) {
|
|
17
19
|
let _config_0 = __getRuntimeConfig(configuration || {});
|
|
18
|
-
let _config_1 =
|
|
19
|
-
let _config_2 =
|
|
20
|
-
let _config_3 =
|
|
21
|
-
let _config_4 =
|
|
22
|
-
let _config_5 =
|
|
23
|
-
let _config_6 =
|
|
24
|
-
let _config_7 =
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
let _config_1 = resolveClientEndpointParameters(_config_0);
|
|
21
|
+
let _config_2 = resolveUserAgentConfig(_config_1);
|
|
22
|
+
let _config_3 = resolveRetryConfig(_config_2);
|
|
23
|
+
let _config_4 = resolveRegionConfig(_config_3);
|
|
24
|
+
let _config_5 = resolveHostHeaderConfig(_config_4);
|
|
25
|
+
let _config_6 = resolveEndpointConfig(_config_5);
|
|
26
|
+
let _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
27
|
+
let _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
28
|
+
super(_config_8);
|
|
29
|
+
this.config = _config_8;
|
|
27
30
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
28
31
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
29
32
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
30
33
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
31
34
|
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
32
35
|
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
33
|
-
this.middlewareStack.use(
|
|
36
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
34
37
|
httpAuthSchemeParametersProvider: defaultCodeWhispererRuntimeHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
35
38
|
"smithy.api#httpBearerAuth": config.token,
|
|
36
39
|
}),
|
package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/CreateArtifactUploadUrlCommand.js
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
2
|
import { CreateUploadUrlRequestFilterSensitiveLog, CreateUploadUrlResponseFilterSensitiveLog, } from "../models/models_0";
|
|
2
3
|
import { de_CreateArtifactUploadUrlCommand, se_CreateArtifactUploadUrlCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
5
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
6
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
7
|
export { $Command };
|
|
6
8
|
export class CreateArtifactUploadUrlCommand extends $Command.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
7
10
|
.m(function (Command, cs, config, o) {
|
|
8
11
|
return [
|
|
9
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
10
14
|
];
|
|
11
15
|
})
|
|
12
16
|
.s("AmazonCodeWhispererService", "CreateArtifactUploadUrl", {})
|
package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/CreateSubscriptionTokenCommand.js
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
2
|
import { de_CreateSubscriptionTokenCommand, se_CreateSubscriptionTokenCommand, } from "../protocols/Aws_restJson1";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
4
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
5
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
6
|
export { $Command };
|
|
5
7
|
export class CreateSubscriptionTokenCommand extends $Command.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
10
|
return [
|
|
8
11
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
12
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
9
13
|
];
|
|
10
14
|
})
|
|
11
15
|
.s("AmazonCodeWhispererService", "CreateSubscriptionToken", {})
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
2
|
import { de_CreateTaskAssistConversationCommand, se_CreateTaskAssistConversationCommand, } from "../protocols/Aws_restJson1";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
4
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
5
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
6
|
export { $Command };
|
|
5
7
|
export class CreateTaskAssistConversationCommand extends $Command.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
10
|
return [
|
|
8
11
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
12
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
9
13
|
];
|
|
10
14
|
})
|
|
11
15
|
.s("AmazonCodeWhispererService", "CreateTaskAssistConversation", {})
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
2
|
import { CreateUploadUrlRequestFilterSensitiveLog, CreateUploadUrlResponseFilterSensitiveLog, } from "../models/models_0";
|
|
2
3
|
import { de_CreateUploadUrlCommand, se_CreateUploadUrlCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
5
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
6
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
7
|
export { $Command };
|
|
6
8
|
export class CreateUploadUrlCommand extends $Command.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
7
10
|
.m(function (Command, cs, config, o) {
|
|
8
11
|
return [
|
|
9
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
10
14
|
];
|
|
11
15
|
})
|
|
12
16
|
.s("AmazonCodeWhispererService", "CreateUploadUrl", {})
|
package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/CreateUserMemoryEntryCommand.js
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
2
|
import { CreateUserMemoryEntryInputFilterSensitiveLog, CreateUserMemoryEntryOutputFilterSensitiveLog, } from "../models/models_0";
|
|
2
3
|
import { de_CreateUserMemoryEntryCommand, se_CreateUserMemoryEntryCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
5
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
6
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
7
|
export { $Command };
|
|
6
8
|
export class CreateUserMemoryEntryCommand extends $Command.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
7
10
|
.m(function (Command, cs, config, o) {
|
|
8
11
|
return [
|
|
9
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
10
14
|
];
|
|
11
15
|
})
|
|
12
16
|
.s("AmazonCodeWhispererService", "CreateUserMemoryEntry", {})
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
2
|
import { CreateWorkspaceRequestFilterSensitiveLog, CreateWorkspaceResponseFilterSensitiveLog, } from "../models/models_1";
|
|
2
3
|
import { de_CreateWorkspaceCommand, se_CreateWorkspaceCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
5
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
6
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
7
|
export { $Command };
|
|
6
8
|
export class CreateWorkspaceCommand extends $Command.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
7
10
|
.m(function (Command, cs, config, o) {
|
|
8
11
|
return [
|
|
9
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
10
14
|
];
|
|
11
15
|
})
|
|
12
16
|
.s("AmazonCodeWhispererService", "CreateWorkspace", {})
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
2
|
import { de_DeleteTaskAssistConversationCommand, se_DeleteTaskAssistConversationCommand, } from "../protocols/Aws_restJson1";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
4
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
5
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
6
|
export { $Command };
|
|
5
7
|
export class DeleteTaskAssistConversationCommand extends $Command.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
10
|
return [
|
|
8
11
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
12
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
9
13
|
];
|
|
10
14
|
})
|
|
11
15
|
.s("AmazonCodeWhispererService", "DeleteTaskAssistConversation", {})
|
package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/DeleteUserMemoryEntryCommand.js
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
2
|
import { de_DeleteUserMemoryEntryCommand, se_DeleteUserMemoryEntryCommand, } from "../protocols/Aws_restJson1";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
4
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
5
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
6
|
export { $Command };
|
|
5
7
|
export class DeleteUserMemoryEntryCommand extends $Command.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
10
|
return [
|
|
8
11
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
12
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
9
13
|
];
|
|
10
14
|
})
|
|
11
15
|
.s("AmazonCodeWhispererService", "DeleteUserMemoryEntry", {})
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
2
|
import { de_DeleteWorkspaceCommand, se_DeleteWorkspaceCommand, } from "../protocols/Aws_restJson1";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
4
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
5
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
6
|
export { $Command };
|
|
5
7
|
export class DeleteWorkspaceCommand extends $Command.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
10
|
return [
|
|
8
11
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
12
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
9
13
|
];
|
|
10
14
|
})
|
|
11
15
|
.s("AmazonCodeWhispererService", "DeleteWorkspace", {})
|
package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GenerateCompletionsCommand.js
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
2
|
import { GenerateCompletionsRequestFilterSensitiveLog, GenerateCompletionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
2
3
|
import { de_GenerateCompletionsCommand, se_GenerateCompletionsCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
5
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
6
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
7
|
export { $Command };
|
|
6
8
|
export class GenerateCompletionsCommand extends $Command.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
7
10
|
.m(function (Command, cs, config, o) {
|
|
8
11
|
return [
|
|
9
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
10
14
|
];
|
|
11
15
|
})
|
|
12
16
|
.s("AmazonCodeWhispererService", "GenerateCompletions", {})
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
2
|
import { GetCodeAnalysisResponseFilterSensitiveLog, } from "../models/models_0";
|
|
2
3
|
import { de_GetCodeAnalysisCommand, se_GetCodeAnalysisCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
5
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
6
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
7
|
export { $Command };
|
|
6
8
|
export class GetCodeAnalysisCommand extends $Command.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
7
10
|
.m(function (Command, cs, config, o) {
|
|
8
11
|
return [
|
|
9
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
10
14
|
];
|
|
11
15
|
})
|
|
12
16
|
.s("AmazonCodeWhispererService", "GetCodeAnalysis", {})
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
2
|
import { GetCodeFixJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
2
3
|
import { de_GetCodeFixJobCommand, se_GetCodeFixJobCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
5
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
6
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
7
|
export { $Command };
|
|
6
8
|
export class GetCodeFixJobCommand extends $Command.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
7
10
|
.m(function (Command, cs, config, o) {
|
|
8
11
|
return [
|
|
9
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
10
14
|
];
|
|
11
15
|
})
|
|
12
16
|
.s("AmazonCodeWhispererService", "GetCodeFixJob", {})
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
2
|
import { de_GetProfileCommand, se_GetProfileCommand, } from "../protocols/Aws_restJson1";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
4
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
5
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
6
|
export { $Command };
|
|
5
7
|
export class GetProfileCommand extends $Command.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
10
|
return [
|
|
8
11
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
12
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
9
13
|
];
|
|
10
14
|
})
|
|
11
15
|
.s("AmazonCodeWhispererService", "GetProfile", {})
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
2
|
import { de_GetRetrievalsCommand, se_GetRetrievalsCommand, } from "../protocols/Aws_restJson1";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
4
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
5
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
6
|
export { $Command };
|
|
5
7
|
export class GetRetrievalsCommand extends $Command.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
10
|
return [
|
|
8
11
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
12
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
9
13
|
];
|
|
10
14
|
})
|
|
11
15
|
.s("AmazonCodeWhispererService", "GetRetrievals", {})
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
2
|
+
import { GetTaskAssistCodeGenerationResponseFilterSensitiveLog, } from "../models/models_1";
|
|
2
3
|
import { de_GetTaskAssistCodeGenerationCommand, se_GetTaskAssistCodeGenerationCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
5
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
6
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
7
|
export { $Command };
|
|
6
8
|
export class GetTaskAssistCodeGenerationCommand extends $Command.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
7
10
|
.m(function (Command, cs, config, o) {
|
|
8
11
|
return [
|
|
9
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
10
14
|
];
|
|
11
15
|
})
|
|
12
16
|
.s("AmazonCodeWhispererService", "GetTaskAssistCodeGeneration", {})
|
package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetTestGenerationCommand.js
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
2
|
import { GetTestGenerationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
2
3
|
import { de_GetTestGenerationCommand, se_GetTestGenerationCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
5
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
6
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
7
|
export { $Command };
|
|
6
8
|
export class GetTestGenerationCommand extends $Command.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
7
10
|
.m(function (Command, cs, config, o) {
|
|
8
11
|
return [
|
|
9
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
10
14
|
];
|
|
11
15
|
})
|
|
12
16
|
.s("AmazonCodeWhispererService", "GetTestGeneration", {})
|