From 2fd6deb96130179aec746734bab6b4722f895f0e Mon Sep 17 00:00:00 2001 From: smilkuri Date: Fri, 29 Aug 2025 15:02:42 +0000 Subject: [PATCH] chore: remove duplicate model.json file --- clients/model.json | 9712 -------------------------------------------- 1 file changed, 9712 deletions(-) delete mode 100644 clients/model.json diff --git a/clients/model.json b/clients/model.json deleted file mode 100644 index b936d08b161e..000000000000 --- a/clients/model.json +++ /dev/null @@ -1,9712 +0,0 @@ -{ - "smithy": "2.0", - "shapes": { - "com.amazon.aws.codewhisperer#AssistantResponseEvent": { - "type": "structure", - "members": { - "content": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "The content of the text message in markdown format.", - "smithy.api#length": { - "min": 0, - "max": 10240 - }, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Streaming Response Event for Assistant Markdown text message." - } - }, - "com.amazon.aws.codewhisperer#CodeEvent": { - "type": "structure", - "members": { - "content": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "Generated code snippet.", - "smithy.api#length": { - "min": 0, - "max": 10240 - }, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Streaming response event for generated code text." - } - }, - "com.amazon.aws.codewhisperer#CodeReferenceEvent": { - "type": "structure", - "members": { - "references": { - "target": "com.amazonaws.qdeveloperagents#References", - "traits": { - "smithy.api#documentation": "Code References for Assistant Response Message" - } - } - }, - "traits": { - "smithy.api#documentation": "Streaming Response Event for CodeReferences" - } - }, - "com.amazon.aws.codewhisperer#FollowupPromptEvent": { - "type": "structure", - "members": { - "followupPrompt": { - "target": "com.amazonaws.qdeveloperagents#FollowupPrompt" - } - }, - "traits": { - "smithy.api#documentation": "Streaming Response Event for Followup Prompt." - } - }, - "com.amazon.aws.codewhisperer#InvalidStateEvent": { - "type": "structure", - "members": { - "reason": { - "target": "com.amazon.aws.codewhisperer#InvalidStateReason", - "traits": { - "smithy.api#required": {} - } - }, - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 10240 - }, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Streaming Response Event when an Invalid State is reached" - } - }, - "com.amazon.aws.codewhisperer#InvalidStateReason": { - "type": "enum", - "members": { - "INVALID_TASK_ASSIST_PLAN": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INVALID_TASK_ASSIST_PLAN" - } - } - }, - "traits": { - "smithy.api#documentation": "Reasons for Invalid State Event" - } - }, - "com.amazon.aws.codewhisperer#MessageMetadataEvent": { - "type": "structure", - "members": { - "conversationId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Unique identifier for the conversation", - "smithy.api#length": { - "min": 0, - "max": 128 - } - } - }, - "utteranceId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Unique identifier for the utterance", - "smithy.api#length": { - "min": 0, - "max": 128 - } - } - } - }, - "traits": { - "smithy.api#documentation": "Streaming Response Event for AssistantResponse Metadata" - } - }, - "com.amazon.aws.codewhisperer#RecommendationsWithReferencesPreference": { - "type": "enum", - "members": { - "BLOCK": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "This preference will block recommendations with references from being returned by CodeWhisperer", - "smithy.api#enumValue": "BLOCK" - } - }, - "ALLOW": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "This preference will allow recommendations with references to be returned by CodeWhisperer", - "smithy.api#enumValue": "ALLOW" - } - } - }, - "traits": { - "smithy.api#documentation": "Recommendations with references setting for CodeWhisperer" - } - }, - "com.amazon.aws.codewhisperer#ReferenceTrackerConfiguration": { - "type": "structure", - "members": { - "recommendationsWithReferences": { - "target": "com.amazon.aws.codewhisperer#RecommendationsWithReferencesPreference", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.codewhisperer#SupplementaryWebLinksEvent": { - "type": "structure", - "members": { - "supplementaryWebLinks": { - "target": "com.amazonaws.qdeveloperagents#SupplementaryWebLinks", - "traits": { - "smithy.api#documentation": "Web References for Assistant Response Message" - } - } - }, - "traits": { - "smithy.api#documentation": "Streaming Response Event for SupplementaryWebLinks" - } - }, - "com.amazon.aws.codewhisperer#ToolUseEvent": { - "type": "structure", - "members": { - "toolUseId": { - "target": "com.amazonaws.qdeveloperagents#ToolUseId", - "traits": { - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.qdeveloperagents#ToolName", - "traits": { - "smithy.api#required": {} - } - }, - "input": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "Represents the serialized json input for the ToolUse request. This field should be concatenated until 'stop' is true.", - "smithy.api#length": { - "min": 0, - "max": 30720 - } - } - }, - "stop": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "This field is true when all of the serialized input for this ToolUse request has been sent." - } - } - }, - "traits": { - "smithy.api#documentation": "Event for a ToolUse request. Multiple ToolUse requests can be returned from a single request, so each ToolUse has a unique 'toolUseId'." - } - }, - "com.amazon.aws.codewhisperer.internal#AWSAccountId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 12, - "max": 12 - }, - "smithy.api#pattern": "^[0-9]*$" - } - }, - "com.amazon.aws.codewhisperer.internal#AWSSupportSubscription": { - "type": "enum", - "members": { - "AWS_SUPPORT_ENTERPRISE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AWS_SUPPORT_ENTERPRISE" - } - }, - "AWS_SUPPORT_BUSINESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AWS_SUPPORT_BUSINESS" - } - }, - "AWS_SUPPORT_DEVELOPER": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AWS_SUPPORT_DEVELOPER" - } - }, - "AWS_SUPPORT_ENTERPRISE_ON_RAMP": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AWS_SUPPORT_ENTERPRISE_ON_RAMP" - } - } - } - }, - "com.amazon.aws.codewhisperer.internal#AbTestingCohort": { - "type": "map", - "key": { - "target": "com.amazon.aws.codewhisperer.internal#ExperimentName" - }, - "value": { - "target": "com.amazon.aws.codewhisperer.internal#CohortType" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100 - } - } - }, - "com.amazon.aws.codewhisperer.internal#ClientMetadata": { - "type": "structure", - "members": { - "featureFlags": { - "target": "com.amazon.aws.codewhisperer.internal#FeatureFlags", - "traits": { - "smithy.api#documentation": "Feature flags active for Client" - } - }, - "abTestingCohort": { - "target": "com.amazon.aws.codewhisperer.internal#AbTestingCohort", - "traits": { - "smithy.api#documentation": "AB Testing Experiments - Cohort metadata for Client" - } - }, - "httpHeaders": { - "target": "com.amazon.aws.codewhisperer.internal#HTTPHeaders", - "traits": { - "smithy.api#documentation": "HTTP headers passed from the Client" - } - }, - "requestIdentifier": { - "target": "com.amazon.aws.codewhisperer.internal#RequestIdentifier", - "traits": { - "smithy.api#documentation": "Client Request Identifier", - "smithy.api#required": {} - } - }, - "isOptedOut": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "Indicates if the Client has opted out of AWS Data Sharing", - "smithy.api#required": {} - } - }, - "userEntityType": { - "target": "com.amazon.aws.codewhisperer.internal#UserEntityType", - "traits": { - "smithy.api#documentation": "User Entity type - BuilderID, Professional, Enterprise", - "smithy.api#required": {} - } - }, - "userIdentity": { - "target": "com.amazon.aws.codewhisperer.internal#UserIdentity", - "traits": { - "smithy.api#documentation": "User identity of the client", - "smithy.api#required": {} - } - }, - "encryptionConfiguration": { - "target": "com.amazon.aws.codewhisperer.internal#EncryptionConfiguration", - "traits": { - "smithy.api#documentation": "Encryption configuration of the client" - } - }, - "referenceTrackerConfiguration": { - "target": "com.amazon.aws.codewhisperer#ReferenceTrackerConfiguration", - "traits": { - "smithy.api#documentation": "Reference tracker configuration for the client", - "smithy.api#required": {} - } - }, - "datahubAccountId": { - "target": "com.amazon.aws.codewhisperer.internal#AWSAccountId", - "traits": { - "smithy.api#documentation": "Incase client hasn't opted out, AWS Account ID against which data can be stored in Datahub" - } - } - }, - "traits": { - "smithy.api#documentation": "Client Metadata derived from Headers / Profile settigs / Flags" - } - }, - "com.amazon.aws.codewhisperer.internal#CohortType": { - "type": "enum", - "members": { - "CONTROL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Control Group", - "smithy.api#enumValue": "CONTROL" - } - }, - "TREATMENT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Treatment Group", - "smithy.api#enumValue": "TREATMENT" - } - } - }, - "traits": { - "smithy.api#documentation": "AB Testing Cohort Type" - } - }, - "com.amazon.aws.codewhisperer.internal#EncryptionConfiguration": { - "type": "structure", - "members": { - "keyArn": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Key ARN for CM-CMK", - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - }, - "grantId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Unique identifier of a grant for a KMS key", - "smithy.api#length": { - "min": 1, - "max": 128 - } - } - }, - "grantToken": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Unique string that represents a grant", - "smithy.api#length": { - "min": 1, - "max": 8192 - } - } - } - }, - "traits": { - "smithy.api#documentation": "Encryption configuration of the client" - } - }, - "com.amazon.aws.codewhisperer.internal#ExperimentName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazon.aws.codewhisperer.internal#FeatureFlags": { - "type": "map", - "key": { - "target": "com.amazon.aws.codewhisperer.internal#FlagName" - }, - "value": { - "target": "com.amazon.aws.codewhisperer.internal#FlagValue" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - } - } - }, - "com.amazon.aws.codewhisperer.internal#FlagName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazon.aws.codewhisperer.internal#FlagValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazon.aws.codewhisperer.internal#HTTPHeaders": { - "type": "map", - "key": { - "target": "com.amazon.aws.codewhisperer.internal#HeaderName" - }, - "value": { - "target": "com.amazon.aws.codewhisperer.internal#HeaderValues" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100 - } - } - }, - "com.amazon.aws.codewhisperer.internal#HeaderName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazon.aws.codewhisperer.internal#HeaderValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "max": 500 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazon.aws.codewhisperer.internal#HeaderValues": { - "type": "list", - "member": { - "target": "com.amazon.aws.codewhisperer.internal#HeaderValue" - } - }, - "com.amazon.aws.codewhisperer.internal#QSubscription": { - "type": "enum", - "members": { - "Q_DEV_PRO": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Q_DEVELOPER_STANDALONE" - } - } - } - }, - "com.amazon.aws.codewhisperer.internal#RequestIdentifier": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - } - } - }, - "com.amazon.aws.codewhisperer.internal#Subscriptions": { - "type": "structure", - "members": { - "awsSupportSubscription": { - "target": "com.amazon.aws.codewhisperer.internal#AWSSupportSubscription" - }, - "qSubscription": { - "target": "com.amazon.aws.codewhisperer.internal#QSubscription" - } - } - }, - "com.amazon.aws.codewhisperer.internal#UserEntityType": { - "type": "enum", - "members": { - "INDIVIDUAL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Builder ID users / Individuals", - "smithy.api#enumValue": "INDIVIDUAL" - } - }, - "PROFESSIONAL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "CWSPR Professions users", - "smithy.api#enumValue": "PROFESSIONAL" - } - }, - "ENTERPRISE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "CWSPR Enterprise users", - "smithy.api#enumValue": "ENTERPRISE" - } - } - }, - "traits": { - "smithy.api#documentation": "User entity type of the client" - } - }, - "com.amazon.aws.codewhisperer.internal#UserIdentity": { - "type": "structure", - "members": { - "managementAccountID": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "AWS Account ID of the managing Account" - } - }, - "oidcUserID": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "AWS Identity Centre User identity" - } - }, - "userArn": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "UserArn will be used as resource in the metering record" - } - }, - "isInternalAmazonUser": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "Denotes whether the user belongs to Internal Amazon IDC" - } - }, - "ssoRegion": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Region of the SSO instance for the user", - "smithy.api#length": { - "min": 1, - "max": 63 - }, - "smithy.api#pattern": "^[-a-z0-9]{1,63}$" - } - }, - "idcApplicationArn": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The IdC application ARN for the user", - "smithy.api#length": { - "min": 0, - "max": 1224 - }, - "smithy.api#pattern": "^arn:([-.a-z0-9]{1,63}:){2}([-.a-z0-9]{0,63}:){2}([a-zA-Z0-9-_:/]){1,1023}$" - } - }, - "subscriptions": { - "target": "com.amazon.aws.codewhisperer.internal#Subscriptions", - "traits": { - "smithy.api#documentation": "Active subscriptions for the user" - } - } - }, - "traits": { - "smithy.api#documentation": "User identity of the client" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#BatchGetFindings": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#BatchGetFindingsRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#BatchGetFindingsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Operation to get findings given their identifiers", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/batchGetFindings" - }, - "smithy.api#readonly": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#BatchGetFindingsError": { - "type": "structure", - "members": { - "projectArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ProjectArn" - }, - "integrationArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationArn" - }, - "projectId": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Uuid" - }, - "sourceId": { - "target": "com.amazon.aws.qdeveloper.integrationservice#NonEmptyString" - }, - "findingId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "errorCode": { - "target": "com.amazon.aws.qdeveloper.integrationservice#FindingErrorCode", - "traits": { - "smithy.api#required": {} - } - }, - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#BatchGetFindingsErrors": { - "type": "list", - "member": { - "target": "com.amazon.aws.qdeveloper.integrationservice#BatchGetFindingsError" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#BatchGetFindingsRequest": { - "type": "structure", - "members": { - "findingIdentifiers": { - "target": "com.amazon.aws.qdeveloper.integrationservice#FindingIdentifiers", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#BatchGetFindingsResponse": { - "type": "structure", - "members": { - "findings": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Findings", - "traits": { - "smithy.api#required": {} - } - }, - "failedFindings": { - "target": "com.amazon.aws.qdeveloper.integrationservice#BatchGetFindingsErrors", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ChatResponseStream": { - "type": "union", - "members": { - "messageMetadataEvent": { - "target": "com.amazon.aws.codewhisperer#MessageMetadataEvent", - "traits": { - "smithy.api#documentation": "Message Metadata event" - } - }, - "assistantResponseEvent": { - "target": "com.amazon.aws.codewhisperer#AssistantResponseEvent", - "traits": { - "smithy.api#documentation": "Assistant response event - Text / Code snippet" - } - }, - "codeReferenceEvent": { - "target": "com.amazon.aws.codewhisperer#CodeReferenceEvent", - "traits": { - "smithy.api#documentation": "Code References event" - } - }, - "supplementaryWebLinksEvent": { - "target": "com.amazon.aws.codewhisperer#SupplementaryWebLinksEvent", - "traits": { - "smithy.api#documentation": "Web Reference links event" - } - }, - "followupPromptEvent": { - "target": "com.amazon.aws.codewhisperer#FollowupPromptEvent", - "traits": { - "smithy.api#documentation": "Followup prompt event" - } - }, - "codeEvent": { - "target": "com.amazon.aws.codewhisperer#CodeEvent", - "traits": { - "smithy.api#documentation": "Code Generated event" - } - }, - "invalidStateEvent": { - "target": "com.amazon.aws.codewhisperer#InvalidStateEvent", - "traits": { - "smithy.api#documentation": "Invalid State event" - } - }, - "error": { - "target": "com.amazonaws.qdeveloperagents#InternalServerException", - "traits": { - "smithy.api#documentation": "Internal Server Exception" - } - }, - "toolUseEvent": { - "target": "com.amazon.aws.codewhisperer#ToolUseEvent", - "traits": { - "smithy.api#documentation": "ToolUse event" - } - } - }, - "traits": { - "smithy.api#documentation": "Streaming events from UniDirectional Streaming Conversational APIs.", - "smithy.api#streaming": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CodeLine": { - "type": "structure", - "members": { - "number": { - "target": "smithy.api#Integer" - }, - "content": { - "target": "smithy.api#String" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CodeRecommendation": { - "type": "structure", - "members": { - "content": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 5120 - }, - "smithy.api#required": {} - } - }, - "references": { - "target": "com.amazonaws.qdeveloperagents#References" - }, - "mostRelevantMissingImports": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#Imports" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CodeRecommendationsList": { - "type": "list", - "member": { - "target": "com.amazon.aws.qdeveloper.integrationservice#CodeRecommendation" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 10 - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CodeSnippet": { - "type": "list", - "member": { - "target": "com.amazon.aws.qdeveloper.integrationservice#CodeLine" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CreateAuthGrant": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#CreateAuthGrantRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#CreateAuthGrantResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ConflictException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "API to create the Auth grant.\n", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/createAuthGrant" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CreateAuthGrantRequest": { - "type": "structure", - "members": { - "code": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CreateAuthGrantResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CreateGitHubIntegrationDetail": { - "type": "structure", - "members": { - "installationId": { - "target": "smithy.api#String" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CreateGitLabSelfManagedIntegrationDetail": { - "type": "structure", - "members": { - "instanceUrl": { - "target": "com.amazon.aws.qdeveloper.integrationservice#InstanceUrl", - "traits": { - "smithy.api#required": {} - } - }, - "accessToken": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CreateIntegration": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#CreateIntegrationRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#CreateIntegrationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ConflictException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Operation to Create integration for an account and platform", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/integration" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CreateIntegrationDetail": { - "type": "union", - "members": { - "gitlabSelfManaged": { - "target": "com.amazon.aws.qdeveloper.integrationservice#CreateGitLabSelfManagedIntegrationDetail" - }, - "github": { - "target": "com.amazon.aws.qdeveloper.integrationservice#CreateGitHubIntegrationDetail" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CreateIntegrationRequest": { - "type": "structure", - "members": { - "integrationName": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationName", - "traits": { - "smithy.api#required": {} - } - }, - "integration": { - "target": "com.amazon.aws.qdeveloper.integrationservice#CreateIntegrationDetail", - "traits": { - "smithy.api#required": {} - } - }, - "integrationType": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationType", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CreateIntegrationResponse": { - "type": "structure", - "members": { - "integrationArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationArn" - }, - "status": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationStatus" - }, - "authorizationUrl": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CreateOAuthAppConnection": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#CreateOAuthAppConnectionRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#CreateOAuthAppConnectionResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ConflictException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "API to create the OAuth application.\n", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/createOAuthAppConnection" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CreateOAuthAppConnectionRequest": { - "type": "structure", - "members": { - "clientId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "clientSecret": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#required": {} - } - }, - "instanceUrl": { - "target": "com.amazon.aws.qdeveloper.integrationservice#InstanceUrl", - "traits": { - "smithy.api#required": {} - } - }, - "redirectUrl": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CreateOAuthAppConnectionResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CvssScore": { - "type": "structure", - "members": { - "baseScore": { - "target": "smithy.api#Double" - }, - "scoringVector": { - "target": "com.amazon.aws.qdeveloper.integrationservice#CvssScoringVector" - }, - "version": { - "target": "com.amazon.aws.qdeveloper.integrationservice#CvssVersion" - }, - "source": { - "target": "com.amazon.aws.qdeveloper.integrationservice#CvssSource" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CvssScoreList": { - "type": "list", - "member": { - "target": "com.amazon.aws.qdeveloper.integrationservice#CvssScore" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CvssScoringVector": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1 - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CvssSource": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1 - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#CvssVersion": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1 - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#DeleteEncryptionConfiguration": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#DeleteEncryptionConfigurationRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#DeleteEncryptionConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/deleteEncryptionConfiguration" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#DeleteEncryptionConfigurationRequest": { - "type": "structure", - "members": { - "feature": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Feature" - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#DeleteEncryptionConfigurationResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#DeleteIntegration": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#DeleteIntegrationRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#DeleteIntegrationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Operation to get single integration using integrationARN", - "smithy.api#http": { - "code": 200, - "method": "DELETE", - "uri": "/integration/{integrationArn}" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#DeleteIntegrationRequest": { - "type": "structure", - "members": { - "integrationArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationArn", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#DeleteIntegrationResponse": { - "type": "structure", - "members": { - "integrationArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationArn" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#DeleteOAuthAppConnection": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#DeleteOAuthAppConnectionRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#DeleteOAuthAppConnectionResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ConflictException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "API to delete the OAuth Application.\n", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/deleteOAuthAppConnection" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#DeleteOAuthAppConnectionRequest": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#DeleteOAuthAppConnectionResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#DetectorTags": { - "type": "list", - "member": { - "target": "smithy.api#String" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#EncryptionConfig": { - "type": "structure", - "members": { - "kmsKeyIdentifier": { - "target": "com.amazonaws.qdeveloperagents#KmsKeyArn" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#EventBlob": { - "type": "blob", - "traits": { - "smithy.api#sensitive": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#EventHeaders": { - "type": "map", - "key": { - "target": "smithy.api#String" - }, - "value": { - "target": "smithy.api#String" - }, - "traits": { - "smithy.api#sensitive": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#Feature": { - "type": "enum", - "members": { - "CODE_SCAN": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CodeScan" - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#FilePath": { - "type": "structure", - "members": { - "name": { - "target": "smithy.api#String" - }, - "path": { - "target": "smithy.api#String" - }, - "startLine": { - "target": "smithy.api#Integer" - }, - "endLine": { - "target": "smithy.api#Integer" - }, - "codeSnippet": { - "target": "com.amazon.aws.qdeveloper.integrationservice#CodeSnippet" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#Finding": { - "type": "structure", - "members": { - "createdAt": { - "target": "smithy.api#Timestamp" - }, - "description": { - "target": "smithy.api#String" - }, - "generatorId": { - "target": "smithy.api#String" - }, - "id": { - "target": "smithy.api#String" - }, - "updatedAt": { - "target": "smithy.api#Timestamp" - }, - "type": { - "target": "smithy.api#String" - }, - "status": { - "target": "com.amazon.aws.qdeveloper.integrationservice#FindingStatus" - }, - "resource": { - "target": "com.amazon.aws.qdeveloper.integrationservice#FindingResource" - }, - "vulnerability": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Vulnerability" - }, - "severity": { - "target": "com.amazon.aws.qdeveloper.integrationservice#FindingSeverity" - }, - "remediation": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Remediation" - }, - "title": { - "target": "smithy.api#String" - }, - "detectorTags": { - "target": "com.amazon.aws.qdeveloper.integrationservice#DetectorTags" - }, - "detectorId": { - "target": "smithy.api#String" - }, - "detectorName": { - "target": "smithy.api#String" - }, - "ruleId": { - "target": "smithy.api#String" - }, - "internalRuleId": { - "target": "smithy.api#String" - }, - "recommendationType": { - "target": "com.amazon.aws.qdeveloper.integrationservice#RecommendationType" - }, - "findingType": { - "target": "com.amazon.aws.qdeveloper.integrationservice#FindingType" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#FindingContext": { - "type": "enum", - "members": { - "CODE_DIFF": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CodeDiff" - } - }, - "ALL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "All" - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#FindingErrorCode": { - "type": "enum", - "members": { - "DUPLICATE_IDENTIFIER": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DUPLICATE_IDENTIFIER" - } - }, - "ITEM_DOES_NOT_EXIST": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ITEM_DOES_NOT_EXIST" - } - }, - "INTERNAL_ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INTERNAL_ERROR" - } - }, - "INVALID_FINDING_ID": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INVALID_FINDING_ID" - } - }, - "INVALID_PROJECT_ARN_SOURCE_ID": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INVALID_PROJECT_ARN_SOURCE_ID" - } - }, - "DELETION_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETION_FAILED" - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#FindingIdentifier": { - "type": "structure", - "members": { - "projectArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ProjectArn" - }, - "integrationArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationArn" - }, - "projectId": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Uuid" - }, - "sourceId": { - "target": "com.amazon.aws.qdeveloper.integrationservice#NonEmptyString" - }, - "findingId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#FindingIdentifiers": { - "type": "list", - "member": { - "target": "com.amazon.aws.qdeveloper.integrationservice#FindingIdentifier" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 25 - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#FindingResource": { - "type": "structure", - "members": { - "id": { - "target": "smithy.api#String" - }, - "subResourceId": { - "target": "smithy.api#String" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#FindingSeverity": { - "type": "enum", - "members": { - "CRITICAL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Critical" - } - }, - "HIGH": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "High" - } - }, - "MEDIUM": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Medium" - } - }, - "LOW": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Low" - } - }, - "INFO": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Info" - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#FindingStatus": { - "type": "enum", - "members": { - "CLOSED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Closed" - } - }, - "ACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Active" - } - }, - "SUPPRESSED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Suppressed" - } - }, - "ACTIVE_AND_SUPPRESSED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ActiveAndSuppressed" - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#FindingType": { - "type": "enum", - "members": { - "CODE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Code" - } - }, - "PACKAGE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Package" - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#Findings": { - "type": "list", - "member": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Finding" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GenerateCodeRecommendations": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#GenerateCodeRecommendationsRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#GenerateCodeRecommendationsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "API to generate code recommendations (used for in line code completions)\n", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/generateRecommendations" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GenerateCodeRecommendationsRequest": { - "type": "structure", - "members": { - "fileContext": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#FileContext", - "traits": { - "smithy.api#required": {} - } - }, - "maxResults": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 10 - } - } - }, - "nextToken": { - "target": "smithy.api#String", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 2048 - }, - "smithy.api#pattern": "^(?:[A-Za-z0-9\\+/]{4})*(?:[A-Za-z0-9\\+/]{2}\\=\\=|[A-Za-z0-9\\+/]{3}\\=)?$" - } - }, - "supplementalContexts": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#SupplementalContextList" - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GenerateCodeRecommendationsResponse": { - "type": "structure", - "members": { - "CodeRecommendations": { - "target": "com.amazon.aws.qdeveloper.integrationservice#CodeRecommendationsList" - }, - "nextToken": { - "target": "smithy.api#String" - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetEncryptionConfiguration": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#GetEncryptionConfigurationRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#GetEncryptionConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/getEncryptionConfiguration" - }, - "smithy.api#readonly": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetEncryptionConfigurationRequest": { - "type": "structure", - "members": { - "feature": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Feature", - "traits": { - "smithy.api#httpQuery": "feature" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetEncryptionConfigurationResponse": { - "type": "structure", - "members": { - "encryptionConfig": { - "target": "com.amazon.aws.qdeveloper.integrationservice#EncryptionConfig" - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetFindings": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#GetFindingsRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#GetFindingsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Operation to get findings for a certain projectArn", - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/getFindings" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "findings" - }, - "smithy.api#readonly": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetFindingsRequest": { - "type": "structure", - "members": { - "projectArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ProjectArn", - "traits": { - "smithy.api#httpQuery": "projectArn", - "smithy.api#required": {} - } - }, - "sourceId": { - "target": "com.amazon.aws.qdeveloper.integrationservice#NonEmptyString", - "traits": { - "smithy.api#httpQuery": "sourceId" - } - }, - "status": { - "target": "com.amazon.aws.qdeveloper.integrationservice#FindingStatus", - "traits": { - "smithy.api#httpQuery": "status" - } - }, - "maxResults": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#httpQuery": "maxResults" - } - }, - "nextToken": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpQuery": "nextToken" - } - }, - "findingContext": { - "target": "com.amazon.aws.qdeveloper.integrationservice#FindingContext", - "traits": { - "smithy.api#httpQuery": "findingContext" - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetFindingsResponse": { - "type": "structure", - "members": { - "findings": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Findings", - "traits": { - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "smithy.api#String" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetIntegration": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#GetIntegrationRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#GetIntegrationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Operation to get single integration using integrationARN", - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/integration/{integrationArn}" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetIntegrationProject": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#GetIntegrationProjectRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#GetIntegrationProjectResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Operation to get a specific project", - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/project/{integrationArn}/{projectId}" - }, - "smithy.api#readonly": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetIntegrationProjectRequest": { - "type": "structure", - "members": { - "integrationArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationArn", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "projectId": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Uuid", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetIntegrationProjectResponse": { - "type": "structure", - "members": { - "project": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Project" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetIntegrationRequest": { - "type": "structure", - "members": { - "integrationArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationArn", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetIntegrationResponse": { - "type": "structure", - "members": { - "integration": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Integration" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetProject": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#GetProjectRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#GetProjectResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Operation to get a specific project", - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/project/{projectArn}" - }, - "smithy.api#readonly": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetProjectRequest": { - "type": "structure", - "members": { - "projectArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ProjectArn", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetProjectResponse": { - "type": "structure", - "members": { - "project": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Project" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetProjects": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#GetProjectsRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#GetProjectsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Operation to get a list of projects of an integration", - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/projects/{integrationArn}" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "projects" - }, - "smithy.api#readonly": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetProjectsRequest": { - "type": "structure", - "members": { - "integrationArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationArn", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazon.aws.qdeveloper.integrationservice#NextToken", - "traits": { - "smithy.api#httpQuery": "nextToken" - } - }, - "maxResults": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#httpQuery": "maxResults", - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetProjectsResponse": { - "type": "structure", - "members": { - "projects": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ProjectList" - }, - "nextToken": { - "target": "com.amazon.aws.qdeveloper.integrationservice#NextToken" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetScan": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#GetScanRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#GetScanResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Operation to get a scan for a given scanId or projectArn", - "smithy.api#http": { - "method": "POST", - "uri": "/getScan", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetScanRequest": { - "type": "structure", - "members": { - "scanId": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Uuid", - "traits": { - "smithy.api#required": {} - } - }, - "resource": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Resource", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetScanResponse": { - "type": "structure", - "members": { - "scanId": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Uuid" - }, - "scanTriggerType": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ScanTriggerType" - }, - "resource": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Resource" - }, - "scanState": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ScanState" - }, - "scanStateReason": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ScanStateReason" - }, - "createdOn": { - "target": "smithy.api#Timestamp" - }, - "completedOn": { - "target": "smithy.api#Timestamp" - }, - "lastCommitId": { - "target": "smithy.api#String" - }, - "sourceId": { - "target": "smithy.api#String" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetScans": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#GetScansRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#GetScansResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Operation to get scans for a given projectArn and sourceId", - "smithy.api#http": { - "method": "POST", - "uri": "/getScans", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetScansRequest": { - "type": "structure", - "members": { - "resource": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Resource", - "traits": { - "smithy.api#required": {} - } - }, - "sourceId": { - "target": "com.amazon.aws.qdeveloper.integrationservice#NonEmptyString" - }, - "nextToken": { - "target": "com.amazon.aws.qdeveloper.integrationservice#NextToken" - }, - "maxResults": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#GetScansResponse": { - "type": "structure", - "members": { - "scans": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ScanList", - "traits": { - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazon.aws.qdeveloper.integrationservice#NextToken" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#IdempotencyToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#InstanceUrl": { - "type": "string", - "traits": { - "smithy.api#pattern": "^https://.*", - "smithy.api#sensitive": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#Integration": { - "type": "structure", - "members": { - "integrationArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationArn" - }, - "integrationName": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationName" - }, - "integrationType": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationType" - }, - "status": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationStatus" - }, - "statusReason": { - "target": "smithy.api#String" - }, - "createdOn": { - "target": "smithy.api#Timestamp" - }, - "lastUpdateOn": { - "target": "smithy.api#Timestamp" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#IntegrationArn": { - "type": "string", - "traits": { - "smithy.api#pattern": "^arn:aws:qdeveloper:[a-z0-9-]+:[0-9]{12}:integration/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#IntegrationName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 60 - }, - "smithy.api#pattern": "^[a-zA-Z0-9-_$:.]*$" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#IntegrationStatus": { - "type": "enum", - "members": { - "PENDING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Pending" - } - }, - "IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InProgress" - } - }, - "ACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Active" - } - }, - "IN_ACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InActive" - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#IntegrationType": { - "type": "enum", - "members": { - "GITLAB": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GitLab" - } - }, - "GITLAB_SELF_MANAGED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GitLabSelfManaged" - } - }, - "GITHUB": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GitHub" - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#IntegrationsList": { - "type": "list", - "member": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Integration" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 25 - }, - "smithy.api#uniqueItems": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ListFindings": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ListFindingsRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ListFindingsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Operation to get findings for a certain projectArn", - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/listFindings" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "findings" - }, - "smithy.api#readonly": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ListFindingsRequest": { - "type": "structure", - "members": { - "integrationArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationArn", - "traits": { - "smithy.api#httpQuery": "integrationArn", - "smithy.api#required": {} - } - }, - "projectId": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Uuid", - "traits": { - "smithy.api#httpQuery": "projectId", - "smithy.api#required": {} - } - }, - "sourceId": { - "target": "com.amazon.aws.qdeveloper.integrationservice#NonEmptyString", - "traits": { - "smithy.api#httpQuery": "sourceId" - } - }, - "status": { - "target": "com.amazon.aws.qdeveloper.integrationservice#FindingStatus", - "traits": { - "smithy.api#httpQuery": "status" - } - }, - "maxResults": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#httpQuery": "maxResults" - } - }, - "nextToken": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpQuery": "nextToken" - } - }, - "findingContext": { - "target": "com.amazon.aws.qdeveloper.integrationservice#FindingContext", - "traits": { - "smithy.api#httpQuery": "findingContext" - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ListFindingsResponse": { - "type": "structure", - "members": { - "findings": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Findings", - "traits": { - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "smithy.api#String" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ListIntegrationProjects": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ListIntegrationProjectsRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ListIntegrationProjectsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Operation to get a list of projects of an integration", - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/integrationProjects/{integrationArn}" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "projects" - }, - "smithy.api#readonly": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ListIntegrationProjectsRequest": { - "type": "structure", - "members": { - "integrationArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationArn", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazon.aws.qdeveloper.integrationservice#NextToken", - "traits": { - "smithy.api#httpQuery": "nextToken" - } - }, - "maxResults": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#httpQuery": "maxResults", - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ListIntegrationProjectsResponse": { - "type": "structure", - "members": { - "projects": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ProjectList" - }, - "nextToken": { - "target": "com.amazon.aws.qdeveloper.integrationservice#NextToken" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ListIntegrations": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ListIntegrationsRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ListIntegrationsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Operation to Fetch all integrations for an account and platform", - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/integrations" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "integrations" - }, - "smithy.api#readonly": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ListIntegrationsRequest": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazon.aws.qdeveloper.integrationservice#NextToken", - "traits": { - "smithy.api#httpQuery": "nextToken" - } - }, - "maxResults": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#httpQuery": "maxResults", - "smithy.api#range": { - "min": 1, - "max": 25 - } - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ListIntegrationsResponse": { - "type": "structure", - "members": { - "integrations": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationsList" - }, - "nextToken": { - "target": "com.amazon.aws.qdeveloper.integrationservice#NextToken" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#NextToken": { - "type": "string" - }, - "com.amazon.aws.qdeveloper.integrationservice#NonEmptyString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^[\\S]+$" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#PackageArchitecture": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 64 - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#PackageManager": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1 - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#PackageName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#PackageRelease": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#PackageVersion": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#Project": { - "type": "structure", - "members": { - "projectArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ProjectArn" - }, - "projectId": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Uuid" - }, - "projectName": { - "target": "smithy.api#String" - }, - "integrationArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationArn" - }, - "projectType": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ProjectType" - }, - "projectMetadata": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ProjectMetadata" - }, - "status": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ProjectStatus" - }, - "statusReason": { - "target": "smithy.api#String" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ProjectArn": { - "type": "string", - "traits": { - "smithy.api#pattern": "^arn:aws:qdeveloper:[a-z0-9-]+:[0-9]{12}:project/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ProjectIdentifier": { - "type": "structure", - "members": { - "integrationArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationArn", - "traits": { - "smithy.api#required": {} - } - }, - "projectId": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Uuid", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ProjectList": { - "type": "list", - "member": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Project" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ProjectMetadata": { - "type": "structure", - "members": { - "visibility": { - "target": "smithy.api#String" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ProjectStatus": { - "type": "enum", - "members": { - "ACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Active" - } - }, - "IN_ACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InActive" - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ProjectType": { - "type": "enum", - "members": { - "GITLAB": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GitLab" - } - }, - "GITLAB_SELF_MANAGED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GitLabSelfManaged" - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ProviderType": { - "type": "enum", - "members": { - "GITLAB": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GitLab" - } - }, - "GITHUB": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GitHub" - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#Recommendation": { - "type": "structure", - "members": { - "text": { - "target": "smithy.api#String" - }, - "url": { - "target": "smithy.api#String" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#RecommendationType": { - "type": "enum", - "members": { - "NEGATIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "NEGATIVE" - } - }, - "POSITIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "POSITIVE" - } - }, - "METADATA": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "METADATA" - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ReferenceUrls": { - "type": "list", - "member": { - "target": "smithy.api#String" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#RelatedVulnerabilities": { - "type": "list", - "member": { - "target": "smithy.api#String" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#Remediation": { - "type": "structure", - "members": { - "recommendation": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Recommendation" - }, - "suggestedFixes": { - "target": "com.amazon.aws.qdeveloper.integrationservice#SuggestedFixes" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#Resource": { - "type": "union", - "members": { - "projectArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ProjectArn" - }, - "project": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ProjectIdentifier" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ReturnEventType": { - "type": "enum", - "members": { - "MESSAGE_METADATA_EVENT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "MESSAGE_METADATA_EVENT" - } - }, - "ASSISTANT_RESPONSE_EVENT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ASSISTANT_RESPONSE_EVENT" - } - }, - "CODE_REFERENCE_EVENT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CODE_REFERENCE_EVENT" - } - }, - "WEB_LINKS_EVENT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "WEB_LINKS_EVENT" - } - }, - "FOLLOW_UP_PROMPT_EVENT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FOLLOW_UP_PROMPT_EVENT" - } - }, - "CODE_EVENT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CODE_EVENT" - } - }, - "INVALID_STATE_EVENT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INVALID_STATE_EVENT" - } - } - }, - "traits": { - "smithy.api#documentation": "an enum to choose the return mocked event type for SendMessage API. This parameter is intended for POC api only" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#Scan": { - "type": "structure", - "members": { - "scanId": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Uuid" - }, - "scanTriggerType": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ScanTriggerType" - }, - "resource": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Resource" - }, - "scanState": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ScanState" - }, - "scanStateReason": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ScanStateReason" - }, - "createdOn": { - "target": "smithy.api#Timestamp" - }, - "completedOn": { - "target": "smithy.api#Timestamp" - }, - "lastCommitId": { - "target": "smithy.api#String" - }, - "sourceId": { - "target": "smithy.api#String" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ScanList": { - "type": "list", - "member": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Scan" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ScanState": { - "type": "enum", - "members": { - "IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InProgress" - } - }, - "SUCCESSFUL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Successful" - } - }, - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Failed" - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#ScanStateReason": { - "type": "string" - }, - "com.amazon.aws.qdeveloper.integrationservice#ScanTriggerType": { - "type": "enum", - "members": { - "PERIODIC": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Periodic" - } - }, - "ON_DEMAND": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "OnDemand" - } - }, - "MERGE_REQUEST": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "MergeRequest" - } - }, - "PUSH": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Push" - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#SendEvent": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#SendEventRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#SendEventResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "API to send events from an integrator that are relevant to Q developer.\n", - "smithy.api#http": { - "method": "POST", - "uri": "/event", - "code": 201 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#SendEventRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IdempotencyToken", - "traits": { - "smithy.api#httpHeader": "X-Client-Token", - "smithy.api#idempotencyToken": {}, - "smithy.api#required": {} - } - }, - "providerId": { - "target": "com.amazon.aws.qdeveloper.integrationservice#SupportedProviderId", - "traits": { - "smithy.api#httpHeader": "X-Provider-Id", - "smithy.api#required": {} - } - }, - "eventId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Event-Id", - "smithy.api#length": { - "min": 1, - "max": 32 - }, - "smithy.api#required": {} - } - }, - "eventVersion": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Event-Version", - "smithy.api#length": { - "min": 1, - "max": 11 - }, - "smithy.api#required": {} - } - }, - "event": { - "target": "com.amazon.aws.qdeveloper.integrationservice#EventBlob", - "traits": { - "smithy.api#httpPayload": {}, - "smithy.api#length": { - "min": 1, - "max": 25000000 - }, - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#SendEventResponse": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IdempotencyToken" - }, - "providerId": { - "target": "com.amazon.aws.qdeveloper.integrationservice#SupportedProviderId" - }, - "eventId": { - "target": "smithy.api#String" - }, - "eventVersion": { - "target": "smithy.api#String" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#SendGitHubWebhookEvent": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#SendGitHubWebhookEventRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#SendGitHubWebhookEventResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/webhook/github/event/{applicationId+}" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#SendGitHubWebhookEventRequest": { - "type": "structure", - "members": { - "eventHeaders": { - "target": "com.amazon.aws.qdeveloper.integrationservice#EventHeaders", - "traits": { - "smithy.api#httpPrefixHeaders": "", - "smithy.api#required": {} - } - }, - "eventPayload": { - "target": "com.amazon.aws.qdeveloper.integrationservice#EventBlob", - "traits": { - "smithy.api#httpPayload": {}, - "smithy.api#required": {} - } - }, - "applicationId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#SendGitHubWebhookEventResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#SendMessage": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#SendMessageRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#SendMessageResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ConflictException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "API to send Chat message\n", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/sendMessage" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#SendMessageRequest": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.qdeveloperagents#UserInputMessage", - "traits": { - "smithy.api#required": {} - } - }, - "conversationId": { - "target": "com.amazonaws.qdeveloperagents#ConversationId" - }, - "returnEventType": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ReturnEventType", - "traits": { - "smithy.api#documentation": "an enum to choose the return mocked event type for SendMessage API. This parameter is intended for POC api only" - } - }, - "history": { - "target": "com.amazonaws.qdeveloperagents#ChatHistory", - "traits": { - "smithy.api#documentation": "Holds the history of chat messages." - } - }, - "toolResults": { - "target": "com.amazonaws.qdeveloperagents#ToolResults", - "traits": { - "smithy.api#documentation": "ToolResults for the requested ToolUses." - } - }, - "tools": { - "target": "com.amazonaws.qdeveloperagents#Tools", - "traits": { - "smithy.api#documentation": "Tools that can be used." - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#SendMessageResponse": { - "type": "structure", - "members": { - "responseStream": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ChatResponseStream", - "traits": { - "smithy.api#httpPayload": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#SendWebhookEvent": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#SendWebhookEventRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#SendWebhookEventResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/webhook/event/{provider}/{webhookId}" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#SendWebhookEventRequest": { - "type": "structure", - "members": { - "provider": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ProviderType", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "webhookId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "eventHeaders": { - "target": "com.amazon.aws.qdeveloper.integrationservice#EventHeaders", - "traits": { - "smithy.api#httpPrefixHeaders": "" - } - }, - "eventPayload": { - "target": "com.amazon.aws.qdeveloper.integrationservice#EventBlob", - "traits": { - "smithy.api#httpPayload": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#SendWebhookEventResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#SourceName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1 - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#SourceUrl": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1 - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#StartScan": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#StartScanRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#StartScanResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ConflictException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Operation to start a scan", - "smithy.api#http": { - "method": "POST", - "uri": "/startScan", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#StartScanRequest": { - "type": "structure", - "members": { - "resource": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Resource", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#StartScanResponse": { - "type": "structure", - "members": { - "scanId": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Uuid" - }, - "scanState": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ScanState" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#Status": { - "type": "enum", - "members": { - "PASSED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PASSED" - } - }, - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED" - } - }, - "INCOMPLETE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INCOMPLETE" - } - } - }, - "traits": { - "smithy.api#documentation": "Describes the different states of a response for a health check response" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#SuggestedFix": { - "type": "structure", - "members": { - "description": { - "target": "smithy.api#String" - }, - "code": { - "target": "smithy.api#String" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#SuggestedFixes": { - "type": "list", - "member": { - "target": "com.amazon.aws.qdeveloper.integrationservice#SuggestedFix" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#SupportedProviderId": { - "type": "enum", - "members": { - "GITLAB": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GITLAB" - } - } - }, - "traits": { - "smithy.api#documentation": "Currently supported providers for receiving events." - } - }, - "com.amazon.aws.qdeveloper.integrationservice#UpdateAuthGrant": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#UpdateAuthGrantRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#UpdateAuthGrantResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ConflictException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "API to update the Auth grant.\n", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/updateAuthGrant" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#UpdateAuthGrantRequest": { - "type": "structure", - "members": { - "code": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#UpdateAuthGrantResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#UpdateEncryptionConfiguration": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#UpdateEncryptionConfigurationRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#UpdateEncryptionConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#http": { - "code": 200, - "method": "PUT", - "uri": "/updateEncryptionConfiguration" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#UpdateEncryptionConfigurationRequest": { - "type": "structure", - "members": { - "encryptionConfig": { - "target": "com.amazon.aws.qdeveloper.integrationservice#EncryptionConfig", - "traits": { - "smithy.api#required": {} - } - }, - "feature": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Feature" - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#UpdateEncryptionConfigurationResponse": { - "type": "structure", - "members": { - "encryptionConfig": { - "target": "com.amazon.aws.qdeveloper.integrationservice#EncryptionConfig", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#UpdateGitLabSelfManagedIntegrationDetail": { - "type": "structure", - "members": { - "authCode": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#UpdateIntegration": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#UpdateIntegrationRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#UpdateIntegrationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ConflictException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Operation to update integration for an account and platform", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/updateIntegration" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#UpdateIntegrationDetail": { - "type": "union", - "members": { - "gitlabSelfManaged": { - "target": "com.amazon.aws.qdeveloper.integrationservice#UpdateGitLabSelfManagedIntegrationDetail" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#UpdateIntegrationRequest": { - "type": "structure", - "members": { - "integrationArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationArn", - "traits": { - "smithy.api#required": {} - } - }, - "integration": { - "target": "com.amazon.aws.qdeveloper.integrationservice#UpdateIntegrationDetail", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#UpdateIntegrationResponse": { - "type": "structure", - "members": { - "integrationArn": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationArn" - }, - "status": { - "target": "com.amazon.aws.qdeveloper.integrationservice#IntegrationStatus" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#UpdateOAuthAppConnection": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#UpdateOAuthAppConnectionRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#UpdateOAuthAppConnectionResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "API to update the OAuth application.\n", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/updateOAuthAppConnection" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#UpdateOAuthAppConnectionRequest": { - "type": "structure", - "members": { - "clientId": { - "target": "smithy.api#String" - }, - "clientSecret": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString" - }, - "instanceUrl": { - "target": "com.amazon.aws.qdeveloper.integrationservice#InstanceUrl" - }, - "redirectUrl": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString" - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#UpdateOAuthAppConnectionResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#Uuid": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#VerificationResponse": { - "type": "map", - "key": { - "target": "com.amazon.aws.qdeveloper.integrationservice#VerificationType" - }, - "value": { - "target": "com.amazon.aws.qdeveloper.integrationservice#VerificationResult" - }, - "traits": { - "smithy.api#documentation": "The Verification Response type for VerifyOAuthAppConnectionResponse" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#VerificationResult": { - "type": "structure", - "members": { - "status": { - "target": "com.amazon.aws.qdeveloper.integrationservice#Status", - "traits": { - "smithy.api#required": {} - } - }, - "message": { - "target": "smithy.api#String" - } - }, - "traits": { - "smithy.api#documentation": "Describes the Verification Result for a health check response - mapped as value from VerificationType" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#VerificationType": { - "type": "enum", - "members": { - "GITLAB_OAUTH_CONNECTION_VALID": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GITLAB_OAUTH_CONNECTION_VALID" - } - }, - "GITLAB_INSTANCE_REACHABLE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GITLAB_INSTANCE_REACHABLE" - } - }, - "GITLAB_INSTANCE_REACHABILITY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GITLAB_INSTANCE_REACHABILITY" - } - }, - "GITLAB_CREDENTIAL_VALIDITY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GITLAB_CREDENTIAL_VALIDITY" - } - } - }, - "traits": { - "smithy.api#documentation": "Describes the Verification Type for a health check response - used as key in map" - } - }, - "com.amazon.aws.qdeveloper.integrationservice#VerifyOAuthAppConnection": { - "type": "operation", - "input": { - "target": "com.amazon.aws.qdeveloper.integrationservice#VerifyOAuthAppConnectionRequest" - }, - "output": { - "target": "com.amazon.aws.qdeveloper.integrationservice#VerifyOAuthAppConnectionResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "API to perform a health check.\n", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/verifyOAuthAppConnection" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#VerifyOAuthAppConnectionRequest": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#VerifyOAuthAppConnectionResponse": { - "type": "structure", - "members": { - "response": { - "target": "com.amazon.aws.qdeveloper.integrationservice#VerificationResponse" - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazon.aws.qdeveloper.integrationservice#Vulnerability": { - "type": "structure", - "members": { - "referenceUrls": { - "target": "com.amazon.aws.qdeveloper.integrationservice#ReferenceUrls" - }, - "relatedVulnerabilities": { - "target": "com.amazon.aws.qdeveloper.integrationservice#RelatedVulnerabilities" - }, - "id": { - "target": "smithy.api#String" - }, - "filePath": { - "target": "com.amazon.aws.qdeveloper.integrationservice#FilePath" - }, - "vulnerablePackage": { - "target": "com.amazon.aws.qdeveloper.integrationservice#VulnerablePackage" - }, - "exploitAvailable": { - "target": "smithy.api#Boolean" - }, - "epss": { - "target": "smithy.api#Double" - }, - "exploitLastSeenInPublic": { - "target": "smithy.api#Timestamp" - }, - "cvss": { - "target": "com.amazon.aws.qdeveloper.integrationservice#CvssScoreList" - }, - "sourceName": { - "target": "com.amazon.aws.qdeveloper.integrationservice#SourceName" - }, - "sourceUrl": { - "target": "com.amazon.aws.qdeveloper.integrationservice#SourceUrl" - }, - "vendorCreatedAt": { - "target": "smithy.api#Timestamp" - }, - "vendorUpdatedAt": { - "target": "smithy.api#Timestamp" - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#VulnerabilityId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - } - } - }, - "com.amazon.aws.qdeveloper.integrationservice#VulnerablePackage": { - "type": "structure", - "members": { - "vulnerabilityId": { - "target": "com.amazon.aws.qdeveloper.integrationservice#VulnerabilityId" - }, - "name": { - "target": "com.amazon.aws.qdeveloper.integrationservice#PackageName" - }, - "version": { - "target": "com.amazon.aws.qdeveloper.integrationservice#PackageVersion" - }, - "fixedInVersion": { - "target": "com.amazon.aws.qdeveloper.integrationservice#PackageVersion" - }, - "epoch": { - "target": "smithy.api#Integer" - }, - "release": { - "target": "com.amazon.aws.qdeveloper.integrationservice#PackageRelease" - }, - "arch": { - "target": "com.amazon.aws.qdeveloper.integrationservice#PackageArchitecture" - }, - "packageManager": { - "target": "com.amazon.aws.qdeveloper.integrationservice#PackageManager" - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#ABTestingConfig": { - "type": "structure", - "members": { - "variationName": { - "target": "smithy.api#String" - }, - "experimentName": { - "target": "smithy.api#String" - }, - "variationModel": { - "target": "smithy.api#String" - }, - "variationValue": { - "target": "smithy.api#String" - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#AccessDeniedException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "This exception is thrown when the user does not have sufficient permissions to perform this action.", - "smithy.api#error": "client" - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#AossEndpointUrl": { - "type": "string" - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#AossExternalId": { - "type": "string" - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#ArtifactMetadataType": { - "type": "enum", - "members": { - "RAG": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RAG" - } - }, - "FINETUNING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FINETUNING" - } - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#BoxedInteger": { - "type": "integer" - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#CodeWhispererHostingDetails": { - "type": "structure", - "members": { - "endpointUrl": { - "target": "smithy.api#String" - }, - "loadBalancerArn": { - "target": "smithy.api#String" - }, - "clusterName": { - "target": "smithy.api#String" - }, - "resourceType": { - "target": "smithy.api#String" - }, - "inferenceContainer": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#DockerImageMetadata" - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#Completion": { - "type": "structure", - "members": { - "content": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#SensitiveString", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 5120 - }, - "smithy.api#required": {} - } - }, - "references": { - "target": "com.amazonaws.qdeveloperagents#References" - }, - "mostRelevantMissingImports": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#Imports" - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#CompletionMetadata": { - "type": "structure", - "members": { - "primarySessionIdentifier": { - "target": "smithy.api#String", - "traits": { - "smithy.api#pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" - } - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#Completions": { - "type": "list", - "member": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#Completion" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 10 - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#CustomizationArtifactMetadata": { - "type": "structure", - "members": { - "s3Uri": { - "target": "com.amazon.aws.vector.consolas.controlplane.common#S3Uri" - }, - "md5Hash": { - "target": "com.amazon.aws.vector.consolas.controlplane.common#Md5Hash" - }, - "type": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#ArtifactMetadataType" - }, - "typeVersion": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#BoxedInteger" - }, - "artifactMetadata": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#Metadata" - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#CustomizationArtifactMetadataList": { - "type": "list", - "member": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#CustomizationArtifactMetadata" - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#CustomizationFeature": { - "type": "enum", - "members": { - "SEMANTIC_INDEX": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SEMANTIC_INDEX" - } - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#CustomizationFeatures": { - "type": "list", - "member": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#CustomizationFeature" - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#CustomizationMetadata": { - "type": "structure", - "members": { - "customizationArn": { - "target": "com.amazon.aws.vector.consolas.controlplane.common#ResourceArn", - "traits": { - "smithy.api#required": {} - } - }, - "accountId": { - "target": "com.amazon.aws.vector.consolas.controlplane.common#AWSAccountId", - "traits": { - "smithy.api#required": {} - } - }, - "languages": { - "target": "com.amazon.aws.vector.consolas.controlplane.common#Languages", - "traits": { - "smithy.api#required": {} - } - }, - "customizationArtifactMetadata": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#CustomizationArtifactMetadata", - "traits": { - "smithy.api#required": {} - } - }, - "policyStoreIdentifier": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "artifactMetadata": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#CustomizationArtifactMetadataList" - }, - "customizationFeatures": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#CustomizationFeatures" - } - }, - "traits": { - "smithy.api#documentation": "ref: https://tiny.amazon.com/1ek199by0" - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#DockerImageMetadata": { - "type": "structure", - "members": { - "dockerImageTag": { - "target": "smithy.api#String" - }, - "dockerImageLocation": { - "target": "smithy.api#String" - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#FileContext": { - "type": "structure", - "members": { - "leftFileContent": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#SensitiveString", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 30720 - }, - "smithy.api#required": {} - } - }, - "rightFileContent": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#SensitiveString", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 30720 - }, - "smithy.api#required": {} - } - }, - "filename": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#SensitiveString", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - }, - "smithy.api#required": {} - } - }, - "programmingLanguage": { - "target": "com.amazonaws.qdeveloperagents#InternalProgrammingLanguage", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#FinetuningMetadata": { - "type": "structure", - "members": { - "checkpointsS3Uri": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#S3UriList" - }, - "trainingContainer": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#DockerImageMetadata" - }, - "hostingFleetType": { - "target": "smithy.api#String" - }, - "hostingDetails": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#HostingDetails" - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#GenerateCompletions": { - "type": "operation", - "input": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#GenerateCompletionsRequest" - }, - "output": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#GenerateCompletionsResponse" - }, - "errors": [ - { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#AccessDeniedException" - }, - { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#InternalServerException" - }, - { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#ModelHostingServiceException" - }, - { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#ResourceNotFoundException" - }, - { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "GenarteCompletions API will orchestrate code editor generations\nref: https://quip-amazon.com/UEkuAY3ntj7b#VKL9DA04six" - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#GenerateCompletionsRequest": { - "type": "structure", - "members": { - "fileContext": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#FileContext", - "traits": { - "smithy.api#required": {} - } - }, - "supplementalContexts": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#SupplementalContextList" - }, - "creationTimeInMillis": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#TimestampInMillis", - "traits": { - "smithy.api#required": {} - } - }, - "requestIdentifier": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#PaginatedRequestsIdentifier", - "traits": { - "smithy.api#required": {} - } - }, - "cientMetadata": { - "target": "com.amazon.aws.codewhisperer.internal#ClientMetadata", - "traits": { - "smithy.api#required": {} - } - }, - "abTestingConfig": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#ABTestingConfig", - "traits": { - "smithy.api#required": {} - } - }, - "customizationMetadata": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#CustomizationMetadata" - }, - "nextRecommendationIndex": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#GenerateCompletionsResponse": { - "type": "structure", - "members": { - "completions": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#Completions" - }, - "nextRecommendationIndex": { - "target": "smithy.api#Integer" - }, - "metadata": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#CompletionMetadata" - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#HostingDetails": { - "type": "union", - "members": { - "sagemakerHostingDetails": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#SagemakerHostingDetails" - }, - "codeWhispererHostingDetails": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#CodeWhispererHostingDetails" - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#Import": { - "type": "structure", - "members": { - "statement": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#SensitiveString", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#Imports": { - "type": "list", - "member": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#Import" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 10 - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#InternalServerException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "This exception is thrown when unexpected error occurred during processing of request.", - "smithy.api#error": "server" - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#Metadata": { - "type": "structure", - "members": { - "ragMetadata": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#RagMetadata" - }, - "finetuningMetadata": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#FinetuningMetadata" - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#ModelHostingServiceException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "This exception is thrown when unexpected error occurred from ModelHosting during processing of request.", - "smithy.api#error": "server" - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#PaginatedRequestsIdentifier": { - "type": "structure", - "members": { - "userId": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#SensitiveString", - "traits": { - "smithy.api#required": {} - } - }, - "sessionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" - } - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#RagMetadata": { - "type": "structure", - "members": { - "aossEndpointUrl": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#AossEndpointUrl" - }, - "aossExternalId": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#AossExternalId" - }, - "aossSearchRoleArn": { - "target": "com.amazon.aws.vector.consolas.controlplane.common#ResourceArn" - }, - "aossIndexName": { - "target": "smithy.api#String" - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#ResourceNotFoundException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "This exception is thrown when describing a resource that does not exist.", - "smithy.api#error": "client" - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#S3UriList": { - "type": "list", - "member": { - "target": "com.amazon.aws.vector.consolas.controlplane.common#S3Uri" - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#SagemakerHostingDetails": { - "type": "structure", - "members": { - "endpointName": { - "target": "smithy.api#String" - }, - "resourceType": { - "target": "smithy.api#String" - }, - "inferenceContainer": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#DockerImageMetadata" - }, - "inferenceComponentName": { - "target": "smithy.api#String" - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#SensitiveString": { - "type": "string", - "traits": { - "smithy.api#sensitive": {} - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#SupplementalContext": { - "type": "structure", - "members": { - "filePath": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#SensitiveString", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - }, - "smithy.api#required": {} - } - }, - "content": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#SensitiveString", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10240 - }, - "smithy.api#required": {} - } - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#SupplementalContextList": { - "type": "list", - "member": { - "target": "com.amazon.aws.vector.consolas.codeeditororchestratorservice#SupplementalContext" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 5 - } - } - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#TimestampInMillis": { - "type": "timestamp" - }, - "com.amazon.aws.vector.consolas.codeeditororchestratorservice#ValidationException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "This exception is thrown when the input fails to satisfy the constraints specified by the service.", - "smithy.api#error": "client" - } - }, - "com.amazon.aws.vector.consolas.controlplane.common#AWSAccountId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 12, - "max": 12 - }, - "smithy.api#pattern": "^[0-9]*$" - } - }, - "com.amazon.aws.vector.consolas.controlplane.common#Language": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100 - } - } - }, - "com.amazon.aws.vector.consolas.controlplane.common#Languages": { - "type": "list", - "member": { - "target": "com.amazon.aws.vector.consolas.controlplane.common#Language" - } - }, - "com.amazon.aws.vector.consolas.controlplane.common#Md5Hash": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 32 - }, - "smithy.api#pattern": "^[a-fA-F0-9]{32}$" - } - }, - "com.amazon.aws.vector.consolas.controlplane.common#ResourceArn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1224 - }, - "smithy.api#pattern": "^arn:([-.a-z0-9]{1,63}:){2}([-.a-z0-9]{0,63}:){2}([a-zA-Z0-9-_:/]){1,1023}$" - } - }, - "com.amazon.aws.vector.consolas.controlplane.common#S3Uri": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - }, - "smithy.api#pattern": "^s3://((?!xn--)[a-z0-9](?![^/]*[.]{2})[a-z0-9-.]{1,61}[a-z0-9](?.console.aws.amazon.com)" - }, - { - "value": "DOCUMENTATION", - "name": "DOCUMENTATION", - "documentation": "AWS Documentation Website (https://docs.aws.amazon.com)" - }, - { - "value": "MARKETING", - "name": "MARKETING", - "documentation": "AWS Marketing Website (https://aws.amazon.com)" - }, - { - "value": "MOBILE", - "name": "MOBILE", - "documentation": "AWS Mobile Application (ACMA)" - }, - { - "value": "SERVICE_INTERNAL", - "name": "SERVICE_INTERNAL", - "documentation": "Internal Service Traffic (Integ Tests, Canaries, etc.). This is the default when no Origin header present in request." - }, - { - "value": "UNIFIED_SEARCH", - "name": "UNIFIED_SEARCH", - "documentation": "Unified Search in AWS Management Console (https://.console.aws.amazon.com)" - }, - { - "value": "UNKNOWN", - "name": "UNKNOWN", - "documentation": "Origin header is not set." - }, - { - "value": "MD", - "name": "MD", - "documentation": "MD." - }, - { - "value": "IDE", - "name": "IDE", - "documentation": "Any IDE caller." - }, - { - "value": "SAGE_MAKER", - "name": "SAGE_MAKER", - "documentation": "Amazon SageMaker's Rome Chat." - }, - { - "value": "CLI", - "name": "CLI", - "documentation": "Any CLI caller." - }, - { - "value": "AI_EDITOR", - "name": "AI_EDITOR", - "documentation": "Any AI Editor." - }, - { - "value": "OPENSEARCH_DASHBOARD", - "name": "OPENSEARCH_DASHBOARD", - "documentation": "Amazon OpenSearch dashboard" - }, - { - "value": "GITLAB", - "name": "GITLAB", - "documentation": "Any caller from GitLab Q integration." - } - ] - } - }, - "com.amazonaws.qdeveloperagents#PartBody": { - "type": "blob", - "traits": { - "smithy.api#documentation": "Payload Part's body", - "smithy.api#length": { - "max": 1000000 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.qdeveloperagents#Position": { - "type": "structure", - "members": { - "line": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Line position in a document.", - "smithy.api#required": {} - } - }, - "character": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Character offset on a line in a document (zero-based)", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Indicates Cursor postion in a Text Document" - } - }, - "com.amazonaws.qdeveloperagents#PreSignedUrl": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 2048 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.qdeveloperagents#ProgrammingLanguage": { - "type": "structure", - "members": { - "languageName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^(python|javascript|java|csharp|typescript|c|cpp|go|kotlin|php|ruby|rust|scala|shell|sql|json|yaml|vue|tf|tsx|jsx|plaintext|systemverilog|dart|lua|swift|powershell|r)$", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Programming Languages supported by QDI APIs" - } - }, - "com.amazonaws.qdeveloperagents#ProgressUpdates": { - "type": "list", - "member": { - "target": "com.amazonaws.qdeveloperagents#CodeTransformationProgressUpdate" - } - }, - "com.amazonaws.qdeveloperagents#Range": { - "type": "structure", - "members": { - "start": { - "target": "com.amazonaws.qdeveloperagents#Position", - "traits": { - "smithy.api#documentation": "The range's start position.", - "smithy.api#required": {} - } - }, - "end": { - "target": "com.amazonaws.qdeveloperagents#Position", - "traits": { - "smithy.api#documentation": "The range's end position.", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Indicates Range / Span in a Text Document" - } - }, - "com.amazonaws.qdeveloperagents#Reference": { - "type": "structure", - "members": { - "licenseName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "License name", - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - }, - "repository": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Code Repsitory for the associated reference", - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - }, - "url": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Respository URL", - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - }, - "recommendationContentSpan": { - "target": "com.amazonaws.qdeveloperagents#Span", - "traits": { - "smithy.api#documentation": "Span / Range for the Reference" - } - } - }, - "traits": { - "smithy.api#documentation": "Code Reference / Repository details" - } - }, - "com.amazonaws.qdeveloperagents#References": { - "type": "list", - "member": { - "target": "com.amazonaws.qdeveloperagents#Reference" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 10 - } - } - }, - "com.amazonaws.qdeveloperagents#RelevantDocumentList": { - "type": "list", - "member": { - "target": "com.amazonaws.qdeveloperagents#RelevantTextDocument" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 30 - } - } - }, - "com.amazonaws.qdeveloperagents#RelevantTextDocument": { - "type": "structure", - "members": { - "relativeFilePath": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "Filepath relative to the root of the workspace", - "smithy.api#length": { - "min": 1, - "max": 4096 - }, - "smithy.api#required": {} - } - }, - "programmingLanguage": { - "target": "com.amazonaws.qdeveloperagents#InternalProgrammingLanguage", - "traits": { - "smithy.api#documentation": "The text document's language identifier." - } - }, - "text": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "Content of the text document", - "smithy.api#length": { - "min": 0, - "max": 40960 - } - } - }, - "documentSymbols": { - "target": "com.amazonaws.qdeveloperagents#DocumentSymbols", - "traits": { - "smithy.api#documentation": "DocumentSymbols parsed from a text document" - } - } - }, - "traits": { - "smithy.api#documentation": "Represents an IDE retrieved relevant Text Document / File" - } - }, - "com.amazonaws.qdeveloperagents#RequestHeaderKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 64 - } - } - }, - "com.amazonaws.qdeveloperagents#RequestHeaderValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazonaws.qdeveloperagents#RequestHeaders": { - "type": "map", - "key": { - "target": "com.amazonaws.qdeveloperagents#RequestHeaderKey" - }, - "value": { - "target": "com.amazonaws.qdeveloperagents#RequestHeaderValue" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 16 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.qdeveloperagents#ResourceArn": { - "type": "string", - "traits": { - "smithy.api#pattern": "^arn:aws:qdeveloper:[a-z0-9-]+:[0-9]{12}:[a-zA-Z]+/[a-zA-Z0-9-]+$" - } - }, - "com.amazonaws.qdeveloperagents#ResourceNotFoundException": { - "type": "structure", - "members": { - "errorCode": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "resourceId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "resourceType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#error": "client", - "smithy.api#httpError": 404 - } - }, - "com.amazonaws.qdeveloperagents#ResultArchiveStream": { - "type": "union", - "members": { - "binaryMetadataEvent": { - "target": "com.amazonaws.qdeveloperagents#BinaryMetadataEvent" - }, - "binaryPayloadEvent": { - "target": "com.amazonaws.qdeveloperagents#BinaryPayloadEvent" - }, - "internalServerException": { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - } - }, - "traits": { - "smithy.api#documentation": "Response Stream", - "smithy.api#streaming": {} - } - }, - "com.amazonaws.qdeveloperagents#ResumeCodeTransformation": { - "type": "operation", - "input": { - "target": "com.amazonaws.qdeveloperagents#ResumeCodeTransformationRequest" - }, - "output": { - "target": "com.amazonaws.qdeveloperagents#ResumeCodeTransformationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "API to resume transformation job.", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/resumeCodeTransformation/{identifier}" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.qdeveloperagents#ResumeCodeTransformationRequest": { - "type": "structure", - "members": { - "identifier": { - "target": "com.amazonaws.qdeveloperagents#CodeTransformationId", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "userActionStatus": { - "target": "com.amazonaws.qdeveloperagents#CodeTransformationUserActionStatus", - "traits": { - "smithy.api#default": "COMPLETED" - } - } - }, - "traits": { - "smithy.api#documentation": "Structure to represent resume code transformation request." - } - }, - "com.amazonaws.qdeveloperagents#ResumeCodeTransformationResponse": { - "type": "structure", - "members": { - "transformationStatus": { - "target": "com.amazonaws.qdeveloperagents#CodeTransformationStatus", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Structure to represent resume code transformation response." - } - }, - "com.amazonaws.qdeveloperagents#RuntimeDiagnostic": { - "type": "structure", - "members": { - "source": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "A human-readable string describing the source of the diagnostic", - "smithy.api#length": { - "min": 0, - "max": 1024 - }, - "smithy.api#required": {} - } - }, - "severity": { - "target": "com.amazonaws.qdeveloperagents#DiagnosticSeverity", - "traits": { - "smithy.api#documentation": "Diagnostic Error type", - "smithy.api#required": {} - } - }, - "message": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "The diagnostic's message.", - "smithy.api#length": { - "min": 0, - "max": 1024 - }, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Structure to represent metadata about a Runtime Diagnostics" - } - }, - "com.amazonaws.qdeveloperagents#SensitiveDocument": { - "type": "document", - "traits": { - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.qdeveloperagents#SensitiveString": { - "type": "string", - "traits": { - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.qdeveloperagents#ServiceQuotaExceededException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String" - }, - "reason": { - "target": "com.amazonaws.qdeveloperagents#ServiceQuotaExceededExceptionReason" - } - }, - "traits": { - "smithy.api#error": "client", - "smithy.api#httpError": 402 - } - }, - "com.amazonaws.qdeveloperagents#ServiceQuotaExceededExceptionReason": { - "type": "enum", - "members": { - "CONCURRENT_REQUEST_COUNT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CONCURRENT_REQUEST_COUNT" - } - }, - "MONTHLY_REQUEST_COUNT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "MONTHLY_REQUEST_COUNT" - } - }, - "USAGE_QUOTA": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "USAGE_QUOTA" - } - } - }, - "traits": { - "smithy.api#documentation": "Reason for ServiceQuotaExceededException" - } - }, - "com.amazonaws.qdeveloperagents#ShellHistory": { - "type": "list", - "member": { - "target": "com.amazonaws.qdeveloperagents#ShellHistoryEntry" - }, - "traits": { - "smithy.api#documentation": "A list of shell history entries", - "smithy.api#length": { - "min": 0, - "max": 20 - } - } - }, - "com.amazonaws.qdeveloperagents#ShellHistoryEntry": { - "type": "structure", - "members": { - "command": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "The shell command that was run", - "smithy.api#length": { - "min": 1, - "max": 1024 - }, - "smithy.api#required": {} - } - }, - "directory": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "The directory the command was ran in", - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "exitCode": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "The exit code of the command after it finished" - } - }, - "stdout": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "The stdout from the command", - "smithy.api#length": { - "min": 0, - "max": 4096 - } - } - }, - "stderr": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "The stderr from the command", - "smithy.api#length": { - "min": 0, - "max": 4096 - } - } - } - }, - "traits": { - "smithy.api#documentation": "An single entry in the shell history" - } - }, - "com.amazonaws.qdeveloperagents#ShellState": { - "type": "structure", - "members": { - "shellName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The name of the current shell", - "smithy.api#length": { - "min": 1, - "max": 32 - }, - "smithy.api#pattern": "^(zsh|bash|fish|pwsh|nu)$", - "smithy.api#required": {} - } - }, - "shellHistory": { - "target": "com.amazonaws.qdeveloperagents#ShellHistory", - "traits": { - "smithy.api#documentation": "The history previous shell commands for the current shell" - } - } - }, - "traits": { - "smithy.api#documentation": "Represents the state of a shell" - } - }, - "com.amazonaws.qdeveloperagents#Span": { - "type": "structure", - "members": { - "start": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#range": { - "min": 0 - } - } - }, - "end": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#range": { - "min": 0 - } - } - } - }, - "traits": { - "smithy.api#documentation": "Represents span in a text." - } - }, - "com.amazonaws.qdeveloperagents#StartCodeTransformation": { - "type": "operation", - "input": { - "target": "com.amazonaws.qdeveloperagents#StartCodeTransformationRequest" - }, - "output": { - "target": "com.amazonaws.qdeveloperagents#StartCodeTransformationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ConflictException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "API to start code transformation.", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/startCodeTransformation/{identifier}" - } - } - }, - "com.amazonaws.qdeveloperagents#StartCodeTransformationRequest": { - "type": "structure", - "members": { - "identifier": { - "target": "com.amazonaws.qdeveloperagents#CodeTransformationId", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "programmingLanguage": { - "target": "com.amazonaws.qdeveloperagents#ProgrammingLanguage", - "traits": { - "smithy.api#documentation": "Primary programming language of the code being transformed", - "smithy.api#required": {} - } - }, - "transformationSpec": { - "target": "com.amazonaws.qdeveloperagents#CodeTransformationSpec", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Structure to represent code transformation request." - } - }, - "com.amazonaws.qdeveloperagents#StartCodeTransformationResponse": { - "type": "structure", - "members": { - "codeTransformationId": { - "target": "com.amazonaws.qdeveloperagents#CodeTransformationId", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Structure to represent code transformation response." - } - }, - "com.amazonaws.qdeveloperagents#StartTaskAssistCodeGeneration": { - "type": "operation", - "input": { - "target": "com.amazonaws.qdeveloperagents#StartTaskAssistCodeGenerationRequest" - }, - "output": { - "target": "com.amazonaws.qdeveloperagents#StartTaskAssistCodeGenerationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ConflictException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "API to start task assist code generation.", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/startTaskAssistCodeGeneration" - } - } - }, - "com.amazonaws.qdeveloperagents#StartTaskAssistCodeGenerationRequest": { - "type": "structure", - "members": { - "conversationState": { - "target": "com.amazonaws.qdeveloperagents#ConversationState", - "traits": { - "smithy.api#required": {} - } - }, - "workspaceState": { - "target": "com.amazonaws.qdeveloperagents#WorkspaceState", - "traits": { - "smithy.api#required": {} - } - }, - "codeGenerationId": { - "target": "com.amazonaws.qdeveloperagents#CodeGenerationId" - }, - "currentCodeGenerationId": { - "target": "com.amazonaws.qdeveloperagents#CodeGenerationId" - }, - "intent": { - "target": "com.amazonaws.qdeveloperagents#Intent" - }, - "intentContext": { - "target": "com.amazonaws.qdeveloperagents#IntentContext" - } - }, - "traits": { - "smithy.api#documentation": "Structure to represent start code generation request." - } - }, - "com.amazonaws.qdeveloperagents#StartTaskAssistCodeGenerationResponse": { - "type": "structure", - "members": { - "conversationId": { - "target": "com.amazonaws.qdeveloperagents#ConversationId", - "traits": { - "smithy.api#required": {} - } - }, - "codeGenerationId": { - "target": "com.amazonaws.qdeveloperagents#CodeGenerationId", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Structure to represent start code generation response." - } - }, - "com.amazonaws.qdeveloperagents#StartTestGeneration": { - "type": "operation", - "input": { - "target": "com.amazonaws.qdeveloperagents#StartTestGenerationRequest" - }, - "output": { - "target": "com.amazonaws.qdeveloperagents#StartTestGenerationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ConflictException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "API to start test generation.", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/startTestGeneration" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.qdeveloperagents#StartTestGenerationRequest": { - "type": "structure", - "members": { - "uploadId": { - "target": "com.amazonaws.qdeveloperagents#UploadId", - "traits": { - "smithy.api#required": {} - } - }, - "targetCodeList": { - "target": "com.amazonaws.qdeveloperagents#TargetCodeList", - "traits": { - "smithy.api#required": {} - } - }, - "userInput": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "The content of user input.", - "smithy.api#length": { - "min": 0, - "max": 4096 - }, - "smithy.api#required": {} - } - }, - "testGenerationJobGroupName": { - "target": "com.amazonaws.qdeveloperagents#TestGenerationJobGroupName" - }, - "clientToken": { - "target": "smithy.api#String", - "traits": { - "smithy.api#idempotencyToken": {}, - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - } - }, - "traits": { - "smithy.api#documentation": "Structure to represent test generation request." - } - }, - "com.amazonaws.qdeveloperagents#StartTestGenerationResponse": { - "type": "structure", - "members": { - "testGenerationJob": { - "target": "com.amazonaws.qdeveloperagents#TestGenerationJob" - } - }, - "traits": { - "smithy.api#documentation": "Structure to represent code transformation response." - } - }, - "com.amazonaws.qdeveloperagents#StepId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 126 - } - } - }, - "com.amazonaws.qdeveloperagents#StopCodeTransformation": { - "type": "operation", - "input": { - "target": "com.amazonaws.qdeveloperagents#StopCodeTransformationRequest" - }, - "output": { - "target": "com.amazonaws.qdeveloperagents#StopCodeTransformationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "API to stop code transformation status.", - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/stopCodeTransformation/{identifier}" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.qdeveloperagents#StopCodeTransformationRequest": { - "type": "structure", - "members": { - "identifier": { - "target": "com.amazonaws.qdeveloperagents#CodeTransformationId", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Structure to represent stop code transformation request." - } - }, - "com.amazonaws.qdeveloperagents#StopCodeTransformationResponse": { - "type": "structure", - "members": { - "transformationStatus": { - "target": "com.amazonaws.qdeveloperagents#CodeTransformationStatus", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Structure to represent stop code transformation response." - } - }, - "com.amazonaws.qdeveloperagents#SupplementaryWebLink": { - "type": "structure", - "members": { - "url": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "URL of the web reference link.", - "smithy.api#length": { - "min": 1, - "max": 1024 - }, - "smithy.api#required": {} - } - }, - "title": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "Title of the web reference link.", - "smithy.api#length": { - "min": 1, - "max": 1024 - }, - "smithy.api#required": {} - } - }, - "snippet": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "Relevant text snippet from the link.", - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - } - }, - "traits": { - "smithy.api#documentation": "Represents an additional reference link retured with the Chat message" - } - }, - "com.amazonaws.qdeveloperagents#SupplementaryWebLinks": { - "type": "list", - "member": { - "target": "com.amazonaws.qdeveloperagents#SupplementaryWebLink" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 10 - } - } - }, - "com.amazonaws.qdeveloperagents#SymbolType": { - "type": "enum", - "members": { - "DECLARATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DECLARATION" - } - }, - "USAGE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "USAGE" - } - } - } - }, - "com.amazonaws.qdeveloperagents#Tag": { - "type": "structure", - "members": { - "key": { - "target": "com.amazonaws.qdeveloperagents#TagKey", - "traits": { - "smithy.api#required": {} - } - }, - "value": { - "target": "com.amazonaws.qdeveloperagents#TagValue", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.qdeveloperagents#TagKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - } - } - }, - "com.amazonaws.qdeveloperagents#TagKeyList": { - "type": "list", - "member": { - "target": "com.amazonaws.qdeveloperagents#TagKey" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 50 - } - } - }, - "com.amazonaws.qdeveloperagents#TagList": { - "type": "list", - "member": { - "target": "com.amazonaws.qdeveloperagents#Tag" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 50 - } - } - }, - "com.amazonaws.qdeveloperagents#TagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.qdeveloperagents#TagResourceRequest" - }, - "output": { - "target": "com.amazonaws.qdeveloperagents#TagResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "API to add tags to a resource\n", - "smithy.api#http": { - "code": 204, - "method": "POST", - "uri": "/tagResource" - } - } - }, - "com.amazonaws.qdeveloperagents#TagResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.qdeveloperagents#ResourceArn", - "traits": { - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.qdeveloperagents#TagList", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qdeveloperagents#TagResourceResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qdeveloperagents#TagValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 256 - } - } - }, - "com.amazonaws.qdeveloperagents#TargetCode": { - "type": "structure", - "members": { - "relativeTargetPath": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "The file path relative to the root of the workspace, could be a single file or a folder.", - "smithy.api#length": { - "min": 1, - "max": 4096 - }, - "smithy.api#required": {} - } - }, - "targetLineRangeList": { - "target": "com.amazonaws.qdeveloperagents#LineRangeList" - } - } - }, - "com.amazonaws.qdeveloperagents#TargetCodeList": { - "type": "list", - "member": { - "target": "com.amazonaws.qdeveloperagents#TargetCode" - }, - "traits": { - "smithy.api#length": { - "min": 1 - } - } - }, - "com.amazonaws.qdeveloperagents#TaskAssistUploadContext": { - "type": "structure", - "members": { - "conversationId": { - "target": "com.amazonaws.qdeveloperagents#ConversationId", - "traits": { - "smithy.api#required": {} - } - }, - "contentChecksum": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 512 - }, - "smithy.api#required": {} - } - }, - "contentLength": { - "target": "smithy.api#Long", - "traits": { - "smithy.api#range": { - "min": 1 - } - } - } - } - }, - "com.amazonaws.qdeveloperagents#TestGenerationJob": { - "type": "structure", - "members": { - "testGenerationJobId": { - "target": "com.amazonaws.qdeveloperagents#UUID", - "traits": { - "smithy.api#required": {} - } - }, - "testGenerationJobGroupName": { - "target": "com.amazonaws.qdeveloperagents#TestGenerationJobGroupName", - "traits": { - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.qdeveloperagents#TestGenerationJobStatus", - "traits": { - "smithy.api#required": {} - } - }, - "creationTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Represents a test generation job" - } - }, - "com.amazonaws.qdeveloperagents#TestGenerationJobGroupName": { - "type": "string", - "traits": { - "smithy.api#documentation": "Test generation job group name", - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^[a-zA-Z0-9-_]+$" - } - }, - "com.amazonaws.qdeveloperagents#TestGenerationJobStatus": { - "type": "enum", - "members": { - "IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "IN_PROGRESS" - } - }, - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED" - } - }, - "COMPLETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "COMPLETED" - } - } - } - }, - "com.amazonaws.qdeveloperagents#TextDocument": { - "type": "structure", - "members": { - "relativeFilePath": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "Filepath relative to the root of the workspace", - "smithy.api#length": { - "min": 1, - "max": 4096 - }, - "smithy.api#required": {} - } - }, - "programmingLanguage": { - "target": "com.amazonaws.qdeveloperagents#InternalProgrammingLanguage", - "traits": { - "smithy.api#documentation": "The text document's language identifier." - } - }, - "text": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "Content of the text document", - "smithy.api#length": { - "min": 0, - "max": 40000 - } - } - }, - "documentSymbols": { - "target": "com.amazonaws.qdeveloperagents#DocumentSymbols", - "traits": { - "smithy.api#documentation": "DocumentSymbols parsed from a text document" - } - } - }, - "traits": { - "smithy.api#documentation": "Represents a Text Document / File" - } - }, - "com.amazonaws.qdeveloperagents#TextDocumentDiagnostic": { - "type": "structure", - "members": { - "document": { - "target": "com.amazonaws.qdeveloperagents#TextDocument", - "traits": { - "smithy.api#documentation": "Represents a Text Document associated with Diagnostic", - "smithy.api#required": {} - } - }, - "range": { - "target": "com.amazonaws.qdeveloperagents#Range", - "traits": { - "smithy.api#documentation": "The range at which the message applies.", - "smithy.api#required": {} - } - }, - "source": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "A human-readable string describing the source of the diagnostic", - "smithy.api#required": {} - } - }, - "severity": { - "target": "com.amazonaws.qdeveloperagents#DiagnosticSeverity", - "traits": { - "smithy.api#documentation": "Diagnostic Error type", - "smithy.api#required": {} - } - }, - "message": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "The diagnostic's message.", - "smithy.api#length": { - "min": 0, - "max": 1024 - }, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Structure to represent metadata about a TextDocument Diagnostic" - } - }, - "com.amazonaws.qdeveloperagents#ThrottlingException": { - "type": "structure", - "members": { - "errorCode": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "serviceCode": { - "target": "smithy.api#String" - }, - "quotaCode": { - "target": "smithy.api#String" - } - }, - "traits": { - "smithy.api#error": "client", - "smithy.api#httpError": 429, - "smithy.api#retryable": { - "throttling": true - } - } - }, - "com.amazonaws.qdeveloperagents#Tool": { - "type": "union", - "members": { - "toolSpecification": { - "target": "com.amazonaws.qdeveloperagents#ToolSpecification" - } - }, - "traits": { - "smithy.api#documentation": "Information about a tool that can be used." - } - }, - "com.amazonaws.qdeveloperagents#ToolDescription": { - "type": "string", - "traits": { - "smithy.api#documentation": "The description for the tool.", - "smithy.api#length": { - "min": 1, - "max": 10240 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.qdeveloperagents#ToolInputSchema": { - "type": "structure", - "members": { - "json": { - "target": "com.amazonaws.qdeveloperagents#SensitiveDocument" - } - }, - "traits": { - "smithy.api#documentation": "The input schema for the tool in JSON format." - } - }, - "com.amazonaws.qdeveloperagents#ToolName": { - "type": "string", - "traits": { - "smithy.api#documentation": "The name for the tool.", - "smithy.api#length": { - "min": 0, - "max": 64 - }, - "smithy.api#pattern": "^[a-zA-Z][a-zA-Z0-9_]*$", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.qdeveloperagents#ToolResult": { - "type": "structure", - "members": { - "toolUseId": { - "target": "com.amazonaws.qdeveloperagents#ToolUseId", - "traits": { - "smithy.api#required": {} - } - }, - "content": { - "target": "com.amazonaws.qdeveloperagents#ToolResultContent", - "traits": { - "smithy.api#documentation": "Content of the tool result.", - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.qdeveloperagents#ToolResultStatus" - } - }, - "traits": { - "smithy.api#documentation": "A tool result that contains the results for a tool request that was previously made." - } - }, - "com.amazonaws.qdeveloperagents#ToolResultContent": { - "type": "list", - "member": { - "target": "com.amazonaws.qdeveloperagents#ToolResultContentBlock" - } - }, - "com.amazonaws.qdeveloperagents#ToolResultContentBlock": { - "type": "union", - "members": { - "text": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "A tool result that is text.", - "smithy.api#length": { - "min": 0, - "max": 800000 - } - } - }, - "json": { - "target": "com.amazonaws.qdeveloperagents#SensitiveDocument", - "traits": { - "smithy.api#documentation": "A tool result that is JSON format data." - } - } - } - }, - "com.amazonaws.qdeveloperagents#ToolResultStatus": { - "type": "enum", - "members": { - "SUCCESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "success" - } - }, - "ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "error" - } - } - }, - "traits": { - "smithy.api#documentation": "Status of the tools result." - } - }, - "com.amazonaws.qdeveloperagents#ToolResults": { - "type": "list", - "member": { - "target": "com.amazonaws.qdeveloperagents#ToolResult" - }, - "traits": { - "smithy.api#length": { - "max": 10 - } - } - }, - "com.amazonaws.qdeveloperagents#ToolSpecification": { - "type": "structure", - "members": { - "inputSchema": { - "target": "com.amazonaws.qdeveloperagents#ToolInputSchema", - "traits": { - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.qdeveloperagents#ToolName", - "traits": { - "smithy.api#required": {} - } - }, - "description": { - "target": "com.amazonaws.qdeveloperagents#ToolDescription" - } - }, - "traits": { - "smithy.api#documentation": "The specification for the tool." - } - }, - "com.amazonaws.qdeveloperagents#ToolUse": { - "type": "structure", - "members": { - "toolUseId": { - "target": "com.amazonaws.qdeveloperagents#ToolUseId", - "traits": { - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.qdeveloperagents#ToolName", - "traits": { - "smithy.api#required": {} - } - }, - "input": { - "target": "com.amazonaws.qdeveloperagents#SensitiveDocument", - "traits": { - "smithy.api#documentation": "The input to pass to the tool.", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Contains information about a tool that the model is requesting be run. The model uses the result from the tool to generate a response." - } - }, - "com.amazonaws.qdeveloperagents#ToolUseId": { - "type": "string", - "traits": { - "smithy.api#documentation": "The ID for the tool request.", - "smithy.api#length": { - "min": 0, - "max": 64 - }, - "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" - } - }, - "com.amazonaws.qdeveloperagents#ToolUses": { - "type": "list", - "member": { - "target": "com.amazonaws.qdeveloperagents#ToolUse" - }, - "traits": { - "smithy.api#length": { - "max": 10 - } - } - }, - "com.amazonaws.qdeveloperagents#Tools": { - "type": "list", - "member": { - "target": "com.amazonaws.qdeveloperagents#Tool" - } - }, - "com.amazonaws.qdeveloperagents#UUID": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 36, - "max": 36 - } - } - }, - "com.amazonaws.qdeveloperagents#UnitTestsGenerationUploadContext": { - "type": "structure", - "members": { - "contentMd5": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.qdeveloperagents#UntagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.qdeveloperagents#UntagResourceRequest" - }, - "output": { - "target": "com.amazonaws.qdeveloperagents#UntagResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qdeveloperagents#AccessDeniedException" - }, - { - "target": "com.amazonaws.qdeveloperagents#InternalServerException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ThrottlingException" - }, - { - "target": "com.amazonaws.qdeveloperagents#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "API to remove tags from a resource\n", - "smithy.api#http": { - "code": 204, - "method": "POST", - "uri": "/untagResource" - } - } - }, - "com.amazonaws.qdeveloperagents#UntagResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.qdeveloperagents#ResourceArn", - "traits": { - "smithy.api#required": {} - } - }, - "tagKeys": { - "target": "com.amazonaws.qdeveloperagents#TagKeyList", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qdeveloperagents#UntagResourceResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qdeveloperagents#UploadContext": { - "type": "union", - "members": { - "codeTransformationUploadContext": { - "target": "com.amazonaws.qdeveloperagents#CodeTransformationUploadContext" - }, - "taskAssistUploadContext": { - "target": "com.amazonaws.qdeveloperagents#TaskAssistUploadContext" - }, - "unitTestsGenerationUploadContext": { - "target": "com.amazonaws.qdeveloperagents#UnitTestsGenerationUploadContext" - } - } - }, - "com.amazonaws.qdeveloperagents#UploadId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - } - } - }, - "com.amazonaws.qdeveloperagents#UploadIntent": { - "type": "enum", - "members": { - "TRANSFORMATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Code Transformation", - "smithy.api#enumValue": "TRANSFORMATION" - } - }, - "TASK_ASSIST": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Task Assist Code Generation", - "smithy.api#enumValue": "TASK_ASSIST" - } - }, - "UNIT_TESTS_GENERATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Unit Tests Generation", - "smithy.api#enumValue": "UNIT_TESTS_GENERATION" - } - } - }, - "traits": { - "smithy.api#documentation": "Upload Intent" - } - }, - "com.amazonaws.qdeveloperagents#UserInputMessage": { - "type": "structure", - "members": { - "content": { - "target": "com.amazonaws.qdeveloperagents#SensitiveString", - "traits": { - "smithy.api#documentation": "The content of the chat message.", - "smithy.api#length": { - "min": 0, - "max": 600000 - }, - "smithy.api#required": {} - } - }, - "userInputMessageContext": { - "target": "com.amazonaws.qdeveloperagents#UserInputMessageContext", - "traits": { - "smithy.api#documentation": "Chat message context associated with the Chat Message." - } - }, - "userIntent": { - "target": "com.amazonaws.qdeveloperagents#UserIntent", - "traits": { - "smithy.api#documentation": "User Intent." - } - }, - "origin": { - "target": "com.amazonaws.qdeveloperagents#Origin", - "traits": { - "smithy.api#documentation": "User Input Origin." - } - }, - "images": { - "target": "com.amazonaws.qdeveloperagents#ImageBlocks", - "traits": { - "smithy.api#documentation": "Images associated with the Chat Message." - } - } - }, - "traits": { - "smithy.api#documentation": "Structure to represent a chat input message from User." - } - }, - "com.amazonaws.qdeveloperagents#UserInputMessageContext": { - "type": "structure", - "members": { - "editorState": { - "target": "com.amazonaws.qdeveloperagents#EditorState", - "traits": { - "smithy.api#documentation": "Editor state chat message context." - } - }, - "shellState": { - "target": "com.amazonaws.qdeveloperagents#ShellState", - "traits": { - "smithy.api#documentation": "Shell state chat message context." - } - }, - "gitState": { - "target": "com.amazonaws.qdeveloperagents#GitState", - "traits": { - "smithy.api#documentation": "Git state chat message context." - } - }, - "envState": { - "target": "com.amazonaws.qdeveloperagents#EnvState", - "traits": { - "smithy.api#documentation": "Environment state chat message context." - } - }, - "appStudioContext": { - "target": "com.amazonaws.qdeveloperagents#AppStudioState", - "traits": { - "smithy.api#documentation": "The state of a user's AppStudio UI when sending a message." - } - }, - "diagnostic": { - "target": "com.amazonaws.qdeveloperagents#Diagnostic", - "traits": { - "smithy.api#documentation": "Diagnostic chat message context." - } - }, - "consoleState": { - "target": "com.amazonaws.qdeveloperagents#ConsoleState", - "traits": { - "smithy.api#documentation": "Contextual information about the environment from which the user is calling." - } - }, - "userSettings": { - "target": "com.amazonaws.qdeveloperagents#UserSettings", - "traits": { - "smithy.api#documentation": "Settings information, e.g., whether the user has enabled cross-region API calls." - } - }, - "additionalContext": { - "target": "com.amazonaws.qdeveloperagents#AdditionalContentList", - "traits": { - "smithy.api#documentation": "List of additional contextual content entries that can be included with the message." - } - }, - "toolResults": { - "target": "com.amazonaws.qdeveloperagents#ToolResults", - "traits": { - "smithy.api#documentation": "ToolResults for the requested ToolUses." - } - }, - "tools": { - "target": "com.amazonaws.qdeveloperagents#Tools", - "traits": { - "smithy.api#documentation": "Tools that can be used." - } - } - }, - "traits": { - "smithy.api#documentation": "Additional Chat message context associated with the Chat Message" - } - }, - "com.amazonaws.qdeveloperagents#UserIntent": { - "type": "enum", - "members": { - "SUGGEST_ALTERNATE_IMPLEMENTATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Suggest Alternative Implementation", - "smithy.api#enumValue": "SUGGEST_ALTERNATE_IMPLEMENTATION" - } - }, - "APPLY_COMMON_BEST_PRACTICES": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Apply Common Best Practices", - "smithy.api#enumValue": "APPLY_COMMON_BEST_PRACTICES" - } - }, - "IMPROVE_CODE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Improve Code", - "smithy.api#enumValue": "IMPROVE_CODE" - } - }, - "SHOW_EXAMPLES": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Show More Examples", - "smithy.api#enumValue": "SHOW_EXAMPLES" - } - }, - "CITE_SOURCES": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Cite Sources", - "smithy.api#enumValue": "CITE_SOURCES" - } - }, - "EXPLAIN_LINE_BY_LINE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Explain Code Line By Line", - "smithy.api#enumValue": "EXPLAIN_LINE_BY_LINE" - } - }, - "EXPLAIN_CODE_SELECTION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Explain Code Selection", - "smithy.api#enumValue": "EXPLAIN_CODE_SELECTION" - } - }, - "GENERATE_CLOUDFORMATION_TEMPLATE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Generate CloudFormation Template", - "smithy.api#enumValue": "GENERATE_CLOUDFORMATION_TEMPLATE" - } - }, - "GENERATE_UNIT_TESTS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Generate Unit Tests", - "smithy.api#enumValue": "GENERATE_UNIT_TESTS" - } - }, - "CODE_GENERATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "generate code", - "smithy.api#enumValue": "CODE_GENERATION" - } - } - }, - "traits": { - "smithy.api#documentation": "User Intent" - } - }, - "com.amazonaws.qdeveloperagents#UserSettings": { - "type": "structure", - "members": { - "hasConsentedToCrossRegionCalls": { - "target": "smithy.api#Boolean" - } - }, - "traits": { - "smithy.api#documentation": "Settings information passed by the Q widget" - } - }, - "com.amazonaws.qdeveloperagents#ValidationException": { - "type": "structure", - "members": { - "errorCode": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "reason": { - "target": "com.amazonaws.qdeveloperagents#ValidationExceptionReason", - "traits": { - "smithy.api#required": {} - } - }, - "fieldList": { - "target": "com.amazonaws.qdeveloperagents#ValidationExceptionFieldList" - } - }, - "traits": { - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.qdeveloperagents#ValidationExceptionField": { - "type": "structure", - "members": { - "name": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.qdeveloperagents#ValidationExceptionFieldList": { - "type": "list", - "member": { - "target": "com.amazonaws.qdeveloperagents#ValidationExceptionField" - } - }, - "com.amazonaws.qdeveloperagents#ValidationExceptionReason": { - "type": "enum", - "members": { - "UNKNOWN_OPERATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "unknownOperation" - } - }, - "CANNOT_PARSE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "cannotParse" - } - }, - "FIELD_VALIDATION_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "fieldValidationFailed" - } - }, - "OTHER": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "other" - } - }, - "TOO_MANY_TAGS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "tooManyTags" - } - }, - "TAG_POLICY_NONCOMPLIANT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "tagPolicyNoncompliant" - } - }, - "INVALID_PARAMETER": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "invalidParameter" - } - } - } - }, - "com.amazonaws.qdeveloperagents#WorkspaceState": { - "type": "structure", - "members": { - "uploadId": { - "target": "com.amazonaws.qdeveloperagents#UploadId", - "traits": { - "smithy.api#documentation": "Upload ID representing an Upload using a PreSigned URL", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Represents a Workspace state uploaded to S3 for Async Code Actions" - } - } - } -}