{ "smithy": "2.0", "shapes": { "com.amazonaws.continuum#AccessDeniedException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "Error description.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.continuum#AffectedPackage": { "type": "structure", "members": { "name": { "target": "com.amazonaws.continuum#PackageName", "traits": { "smithy.api#documentation": "The package name.", "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.continuum#PackageVersion", "traits": { "smithy.api#documentation": "The affected version." } }, "fixedInVersion": { "target": "com.amazonaws.continuum#PackageVersion", "traits": { "smithy.api#documentation": "The earliest version that resolves the issue, when one is known." } }, "packageManager": { "target": "com.amazonaws.continuum#PackageManager", "traits": { "smithy.api#documentation": "The ecosystem supplying the package." } } }, "traits": { "smithy.api#documentation": "A software package implicated by a finding." } }, "com.amazonaws.continuum#AffectedPackageList": { "type": "list", "member": { "target": "com.amazonaws.continuum#AffectedPackage" }, "traits": { "smithy.api#documentation": "Software packages implicated by a finding.", "smithy.api#length": { "min": 0, "max": 256 } } }, "com.amazonaws.continuum#ArtifactCitation": { "type": "string", "traits": { "smithy.api#documentation": "A citation supporting a claim: file:line, an HTTP response, or a graph node id.\n\n1024 rather than 512: validation agents cite a span of reasoning rather than a\nsingle location, reaching ~930 characters, and an over-long citation drops its\nentire `ReasoningStep` \u2014 claim included \u2014 rather than just the citation.", "smithy.api#length": { "min": 1, "max": 1024 } } }, "com.amazonaws.continuum#ArtifactCitations": { "type": "list", "member": { "target": "com.amazonaws.continuum#ArtifactCitation" }, "traits": { "smithy.api#length": { "min": 1, "max": 50 } } }, "com.amazonaws.continuum#ArtifactHeaders": { "type": "map", "key": { "target": "com.amazonaws.continuum#ArtifactCitation" }, "value": { "target": "com.amazonaws.continuum#ArtifactText" }, "traits": { "smithy.api#documentation": "Headers recorded on an exploit artifact.", "smithy.api#length": { "min": 0, "max": 50 } } }, "com.amazonaws.continuum#ArtifactHttpMethod": { "type": "enum", "members": { "GET": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GET" } }, "HEAD": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "HEAD" } }, "POST": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "POST" } }, "PUT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PUT" } }, "PATCH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PATCH" } }, "DELETE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DELETE" } }, "OPTIONS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "OPTIONS" } } }, "traits": { "smithy.api#documentation": "HTTP method recorded on an exploit artifact.\n\nAn enum rather than a pattern-constrained string: callers branch on the\nmethod, so the full set belongs in the generated SDKs. A producer value\noutside this set omits the exploit artifact rather than surfacing an\nunmodeled method." } }, "com.amazonaws.continuum#ArtifactProofBody": { "type": "string", "traits": { "smithy.api#documentation": "The body of a proof: executed code, the output it produced, or an annotated\nsource walk.\n\nIts own type rather than `ArtifactText` because these are whole documents, not\nfields: observed bodies reach 12.8K of code and 16K of captured output. At most\none proof is present per artifact, so a large bound here does not multiply the\nway `ArtifactText`'s does.", "smithy.api#length": { "min": 1, "max": 16384 } } }, "com.amazonaws.continuum#ArtifactSha256": { "type": "string", "traits": { "smithy.api#documentation": "A SHA-256 digest in lowercase hexadecimal.", "smithy.api#length": { "min": 64, "max": 64 }, "smithy.api#pattern": "^[0-9a-f]{64}$" } }, "com.amazonaws.continuum#ArtifactText": { "type": "string", "traits": { "smithy.api#documentation": "A bounded free-text field in a projected artifact body.\n\n8192 rather than 4096: a validation agent's reasoning `claim` runs to ~5.6K in\npractice, and a claim dropped on length takes its whole `ReasoningStep` with\nit. Deliberately NOT raised to the proof-body bound \u2014 this type is also the\nmember of a 50-entry `ReasoningSteps` list and of `ArtifactHeaders`, so its\nbound multiplies into the worst-case response size.\n\nThe product of these bounds is NOT what actually caps a response. Every\nprojected body is read out of one `IssueArtifactContent`, itself bounded at\n5 MiB, so no projection can exceed the size of the content it came from\nwhatever the member bounds permit. Keeping this one modest is about not\ninflating a typical response, not about the ceiling.", "smithy.api#length": { "min": 1, "max": 8192 } } }, "com.amazonaws.continuum#AssociateCollector": { "type": "operation", "input": { "target": "com.amazonaws.continuum#AssociateCollectorInput" }, "output": { "target": "com.amazonaws.continuum#AssociateCollectorOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#ConflictException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#conditionKeys": [ "continuum:CollectorArn" ], "aws.iam#iamAction": { "documentation": "Grants permission to associate a collector with an environment", "requiredActions": [ "iam:PassRole" ], "resources": { "required": { "environments": {} } } }, "smithy.api#documentation": "Associates one Collector with this Environment and configures the customer role Continuum uses to authorize access to associated Collector data. The caller must have permission on the Environment and permission to pass the role. Continuum assumes the supplied role and calls GetCollectorDataAccessAuthorization on the requested Collector; only a successful authorization response permits the association. The caller does not need Collector data-access permission. The Environment retains its other Collector associations. Calling again with an existing association is safe and does not create a duplicate.", "smithy.api#http": { "code": 201, "method": "POST", "uri": "/environments/{environmentId}/collectors" }, "smithy.api#idempotent": {} } }, "com.amazonaws.continuum#AssociateCollectorInput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the Environment making the association.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "clientToken": { "target": "com.amazonaws.continuum#AssociationClientToken", "traits": { "smithy.api#documentation": "Caller-provided token that makes retried association requests idempotent.\nThe first successful request binds the token to the complete Collector\nARN, supplied role, and result for at least 24 hours. During that retry window,\nreusing it with a different request fails with ConflictException. A matching\nreplay still requires the supplied role to have current Collector access.\nOnce authorized, a matching replay returns the stored result without\nchanging association state. Revocation can deny a replay; it does not\nremove the stored association or its original result.", "smithy.api#idempotencyToken": {} } }, "collectorArn": { "target": "com.amazonaws.continuum#CollectorArn", "traits": { "aws.iam#conditionKeyValue": "continuum:CollectorArn", "smithy.api#documentation": "The ARN of the Collector to associate with this Environment.", "smithy.api#required": {} } }, "collectorDataAccessRoleArn": { "target": "com.amazonaws.continuum#EnvironmentSourceRoleArn", "traits": { "smithy.api#documentation": "IAM role in the Environment account that Continuum assumes before\nauthorizing access to associated Collector inventory. Every association,\nincluding a same-account association, requires this role. The supplied ARN\nreplaces the Environment's previously stored role. The customer is responsible\nfor granting the role access to every Collector that should contribute data.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the Collector ARN and data-access role to associate with this Environment.", "smithy.api#input": {} } }, "com.amazonaws.continuum#AssociateCollectorOutput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the Environment making the association.", "smithy.api#required": {} } }, "environmentArn": { "target": "com.amazonaws.continuum#EnvironmentArn", "traits": { "smithy.api#documentation": "The ARN of the Environment making the association.", "smithy.api#required": {} } }, "associatedCollector": { "target": "com.amazonaws.continuum#AssociatedCollector", "traits": { "smithy.api#documentation": "The Collector identifier and ARN validated by this operation.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains the Environment and the Collector associated by this request.", "smithy.api#output": {} } }, "com.amazonaws.continuum#AssociatedCollector": { "type": "structure", "members": { "collectorId": { "target": "com.amazonaws.continuum#CollectorId", "traits": { "smithy.api#documentation": "The unique identifier of the associated Collector.", "smithy.api#required": {} } }, "collectorArn": { "target": "com.amazonaws.continuum#CollectorArn", "traits": { "smithy.api#documentation": "The ARN of the associated Collector. The account and Region encoded in\nthis ARN identify cross-account and cross-Region associations.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "One Collector associated with an Environment.", "smithy.api#references": [ { "resource": "com.amazonaws.continuum#Collector", "ids": { "collectorId": "collectorId" } } ] } }, "com.amazonaws.continuum#AssociatedCollectors": { "type": "list", "member": { "target": "com.amazonaws.continuum#AssociatedCollector" }, "traits": { "smithy.api#documentation": "One page of the Collectors associated with an Environment.\nUnlike CollectorArns and CollectorIds \u2014 which describe the non-empty input of\nan association mutation \u2014 a page is empty when the Environment has no\nassociations, and its maximum matches the per-Environment association ceiling.", "smithy.api#length": { "min": 0, "max": 100 } } }, "com.amazonaws.continuum#AssociatedEnvironment": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the associated Environment.", "smithy.api#required": {}, "smithy.api#suppress": [ "MemberShouldReferenceResource" ] } }, "environmentArn": { "target": "com.amazonaws.continuum#EnvironmentArn", "traits": { "smithy.api#documentation": "The ARN of the associated Environment. The account encoded in this ARN\nidentifies cross-account associations; association mutations require its\nRegion to match the Collector's Region.", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.continuum#EnvironmentName", "traits": { "smithy.api#documentation": "The customer-visible name of the associated Environment.", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.continuum#EnvironmentStatus", "traits": { "smithy.api#documentation": "The current operational status of the associated Environment.", "smithy.api#required": {} } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the associated Environment was created.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "A summary of one Environment associated with a Collector. This shape\nintentionally remains distinct from EnvironmentSummary so the two list\noperations can evolve independently.", "smithy.api#references": [ { "resource": "com.amazonaws.continuum#Environment", "ids": { "environmentId": "environmentId" } } ] } }, "com.amazonaws.continuum#AssociatedEnvironments": { "type": "list", "member": { "target": "com.amazonaws.continuum#AssociatedEnvironment" }, "traits": { "smithy.api#documentation": "One page of Environment summaries associated with a Collector.", "smithy.api#length": { "min": 0, "max": 100 } } }, "com.amazonaws.continuum#AssociationClientToken": { "type": "string", "traits": { "smithy.api#documentation": "Caller-provided idempotency token for an Environment association request.", "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^[!-~]{1,128}$" } }, "com.amazonaws.continuum#AttackFlowId": { "type": "string", "traits": { "smithy.api#documentation": "Identifier of an attack flow within a validation bundle.", "smithy.api#length": { "min": 1, "max": 256 } } }, "com.amazonaws.continuum#AttackFlowIds": { "type": "list", "member": { "target": "com.amazonaws.continuum#AttackFlowId" }, "traits": { "smithy.api#length": { "min": 1, "max": 50 } } }, "com.amazonaws.continuum#AuthorizationCode": { "type": "string", "traits": { "smithy.api#documentation": "An OAuth authorization code used during the integration authentication flow.", "smithy.api#length": { "min": 1, "max": 512 }, "smithy.api#sensitive": {} } }, "com.amazonaws.continuum#AwsAccountId": { "type": "string", "traits": { "smithy.api#documentation": "A 12-digit AWS account ID.", "smithy.api#length": { "min": 12, "max": 12 }, "smithy.api#pattern": "^[0-9]{12}$" } }, "com.amazonaws.continuum#BuildRepositoryName": { "type": "string", "traits": { "smithy.api#documentation": "Workspace-safe repository name stored in a Build source manifest.", "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" } }, "com.amazonaws.continuum#CodeConfigurationDetails": { "type": "structure", "members": { "collectorDetails": { "target": "com.amazonaws.continuum#CollectorDetails", "traits": { "smithy.api#documentation": "Collector data access configuration. Omitted when no Collector data access\nrole is configured." } }, "sourceConfiguration": { "target": "com.amazonaws.continuum#EnvironmentSourceConfiguration", "traits": { "smithy.api#documentation": "Sources in the shape accepted by CreateEnvironment and UpdateEnvironment." } }, "environmentConfiguration": { "target": "com.amazonaws.continuum#EnvironmentConfiguration", "traits": { "smithy.api#documentation": "Operating policy in the shape accepted by CreateEnvironment and UpdateEnvironment." } }, "latestScan": { "target": "com.amazonaws.continuum#CodeScanSummary", "traits": { "smithy.api#documentation": "The newest scan requested for this environment, if one exists." } } }, "traits": { "smithy.api#documentation": "Code-specific environment properties. GetEnvironment returns the source and\noperating policy; UpdateEnvironment returns Collector details and the latest\nscan." } }, "com.amazonaws.continuum#CodeFinding": { "type": "resource", "identifiers": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId" }, "findingId": { "target": "com.amazonaws.continuum#FindingId" } }, "create": { "target": "com.amazonaws.continuum#CreateCodeFinding" }, "read": { "target": "com.amazonaws.continuum#GetCodeFinding" }, "list": { "target": "com.amazonaws.continuum#ListCodeFindings" }, "traits": { "aws.api#arn": { "template": "environments/{environmentId}/code-findings/{findingId}" }, "aws.iam#iamResource": { "name": "code-findings" }, "smithy.api#documentation": "A security finding ingested into an environment for prioritization, validation, and remediation." } }, "com.amazonaws.continuum#CodeFindingSummaries": { "type": "list", "member": { "target": "com.amazonaws.continuum#FindingSummary" }, "traits": { "smithy.api#documentation": "A list of finding summaries returned by public code finding APIs." } }, "com.amazonaws.continuum#CodeIssue": { "type": "resource", "identifiers": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId" }, "issueId": { "target": "com.amazonaws.continuum#IssueId" } }, "read": { "target": "com.amazonaws.continuum#GetCodeIssue" }, "list": { "target": "com.amazonaws.continuum#ListCodeIssues" }, "operations": [ { "target": "com.amazonaws.continuum#GetCodeIssueArtifact" }, { "target": "com.amazonaws.continuum#ListCodeIssueArtifacts" } ], "traits": { "aws.api#arn": { "template": "environments/{environmentId}/code-issues/{issueId}" }, "aws.iam#iamResource": { "name": "code-issues" }, "smithy.api#documentation": "A remediation work item derived from one or more findings." } }, "com.amazonaws.continuum#CodeIssueArtifactItems": { "type": "list", "member": { "target": "com.amazonaws.continuum#IssueArtifactItem" } }, "com.amazonaws.continuum#CodeIssueSummaries": { "type": "list", "member": { "target": "com.amazonaws.continuum#IssueSummary" }, "traits": { "smithy.api#documentation": "A list of issue summaries." } }, "com.amazonaws.continuum#CodeScan": { "type": "resource", "identifiers": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId" }, "scanRunId": { "target": "com.amazonaws.continuum#ScanRunId" } }, "create": { "target": "com.amazonaws.continuum#CreateCodeScan" }, "read": { "target": "com.amazonaws.continuum#GetCodeScan" }, "list": { "target": "com.amazonaws.continuum#ListCodeScans" }, "traits": { "aws.api#arn": { "template": "environments/{environmentId}/code-scans/{scanRunId}" }, "aws.iam#iamResource": { "name": "code-scans" }, "smithy.api#documentation": "An immutable record of one environment scan request. Continuum manages the scan's lifecycle. You can't update, cancel, or delete a scan request; Continuum removes old scan records according to its retention policy." } }, "com.amazonaws.continuum#CodeScanData": { "type": "structure", "members": { "scanRunId": { "target": "com.amazonaws.continuum#ScanRunId", "traits": { "smithy.api#documentation": "The unique scan identifier.", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.continuum#ScanStatus", "traits": { "smithy.api#documentation": "Current customer-visible status.", "smithy.api#required": {} } }, "origin": { "target": "com.amazonaws.continuum#ScanOrigin", "traits": { "smithy.api#documentation": "Why the scan was created. Always present.", "smithy.api#required": {} } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "Time at which Continuum accepted the scan request.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "completedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "Time at which a terminal result was recorded.", "smithy.api#timestampFormat": "date-time" } }, "failureMessage": { "target": "com.amazonaws.continuum#ScanRunFailureMessage", "traits": { "smithy.api#documentation": "Failure detail present for unsuccessful scans." } }, "failureStage": { "target": "com.amazonaws.continuum#ScanFailureStage", "traits": { "smithy.api#documentation": "Phase this scan failed in. Present only when `status` is FAILED, and\nabsent for a scan that failed before this field existed." } } }, "traits": { "smithy.api#documentation": "Complete customer-visible data for one environment scan.\n\nKept distinct from CodeScanSummary so GetCodeScan can grow independently of\nListCodeScans without changing its response contract." } }, "com.amazonaws.continuum#CodeScanSummaries": { "type": "list", "member": { "target": "com.amazonaws.continuum#CodeScanSummary" } }, "com.amazonaws.continuum#CodeScanSummary": { "type": "structure", "members": { "scanRunId": { "target": "com.amazonaws.continuum#ScanRunId", "traits": { "smithy.api#documentation": "The unique scan identifier.", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.continuum#ScanStatus", "traits": { "smithy.api#documentation": "Current customer-visible status.", "smithy.api#required": {} } }, "origin": { "target": "com.amazonaws.continuum#ScanOrigin", "traits": { "smithy.api#documentation": "Why the scan was created. Always present.", "smithy.api#required": {} } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "Time at which Continuum accepted the scan request.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "completedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "Time at which a terminal result was recorded.", "smithy.api#timestampFormat": "date-time" } }, "failureMessage": { "target": "com.amazonaws.continuum#ScanRunFailureMessage", "traits": { "smithy.api#documentation": "Failure detail present for unsuccessful scans." } }, "failureStage": { "target": "com.amazonaws.continuum#ScanFailureStage", "traits": { "smithy.api#documentation": "Phase this scan failed in. Present only when `status` is FAILED, and\nabsent for a scan that failed before this field existed." } } }, "traits": { "smithy.api#documentation": "Customer-visible summary of one environment scan." } }, "com.amazonaws.continuum#Collector": { "type": "resource", "identifiers": { "collectorId": { "target": "com.amazonaws.continuum#CollectorId" } }, "create": { "target": "com.amazonaws.continuum#CreateCollector" }, "read": { "target": "com.amazonaws.continuum#GetCollector" }, "update": { "target": "com.amazonaws.continuum#UpdateCollector" }, "delete": { "target": "com.amazonaws.continuum#DeleteCollector" }, "list": { "target": "com.amazonaws.continuum#ListCollectors" }, "operations": [ { "target": "com.amazonaws.continuum#GetCollectorDataAccessAuthorization" }, { "target": "com.amazonaws.continuum#ListAssociatedEnvironments" } ], "traits": { "aws.api#arn": { "template": "collectors/{collectorId}" }, "aws.iam#iamResource": { "name": "collectors" }, "smithy.api#documentation": "A Collector registers AWS Config in the caller's account, records infrastructure state, and forwards it to linked Environments. Each account has at most one Collector." } }, "com.amazonaws.continuum#CollectorArn": { "type": "string", "traits": { "aws.api#arnReference": { "resource": "com.amazonaws.continuum#Collector" }, "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Collector.\nFormat: arn:{partition}:continuum:{region}:{account}:collectors/{collectorId}\nThe resource-id segment is a fresh, randomly generated identifier assigned when\nthe Collector is created \u2014 not a fixed or predictable value.", "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:[a-z0-9-]+:continuum:[a-z0-9-]+:[0-9]{12}:collectors/[a-z0-9]+$" } }, "com.amazonaws.continuum#CollectorClientToken": { "type": "string", "traits": { "smithy.api#documentation": "Caller-provided idempotency token for a Collector creation request.", "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^[!-~]{1,128}$" } }, "com.amazonaws.continuum#CollectorDetails": { "type": "structure", "members": { "collectorDataAccessRoleArn": { "target": "com.amazonaws.continuum#EnvironmentSourceRoleArn", "traits": { "smithy.api#documentation": "IAM role that Continuum assumes to authorize its access to associated\nCollector inventory.\nRequired for nonempty Collector inventory resolution, in the same account or\nacross accounts. This is independent from any S3 source role." } } }, "traits": { "smithy.api#documentation": "Collector data access configuration returned for an environment." } }, "com.amazonaws.continuum#CollectorId": { "type": "string", "traits": { "smithy.api#documentation": "The unique identifier for a Collector resource.\nThis is a fresh, randomly generated identifier assigned when the Collector is\ncreated \u2014 the same value embedded as the resource-id segment of the CollectorArn.", "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-z0-9]+$" } }, "com.amazonaws.continuum#CollectorName": { "type": "string", "traits": { "smithy.api#documentation": "The name for a Collector.", "smithy.api#length": { "min": 1, "max": 255 } } }, "com.amazonaws.continuum#CollectorStatus": { "type": "enum", "members": { "ACTIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The Collector is available for reads, updates, and associations.", "smithy.api#enumValue": "ACTIVE" } }, "PENDING_DELETION": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Deletion has started. New Collectors for the same account and Region\nremain blocked until cleanup completes and the record is removed.", "smithy.api#enumValue": "PENDING_DELETION" } } }, "traits": { "smithy.api#documentation": "The lifecycle status of a Collector." } }, "com.amazonaws.continuum#CollectorSummaries": { "type": "list", "member": { "target": "com.amazonaws.continuum#CollectorSummary" }, "traits": { "smithy.api#documentation": "Collector summaries returned for an authenticated account.\nThe account-scoped Collector quota currently permits at most one result.", "smithy.api#length": { "min": 0, "max": 1 } } }, "com.amazonaws.continuum#CollectorSummary": { "type": "structure", "members": { "collectorId": { "target": "com.amazonaws.continuum#CollectorId", "traits": { "smithy.api#documentation": "The unique identifier of the Collector.", "smithy.api#required": {} } }, "collectorArn": { "target": "com.amazonaws.continuum#CollectorArn", "traits": { "smithy.api#documentation": "The ARN of the Collector.", "smithy.api#required": {} } }, "type": { "target": "com.amazonaws.continuum#CollectorType", "traits": { "smithy.api#documentation": "The source collected by this Collector.", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.continuum#CollectorStatus", "traits": { "smithy.api#documentation": "The current lifecycle status.", "smithy.api#required": {} } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the Collector was created.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "A summary of a Collector returned in list responses." } }, "com.amazonaws.continuum#CollectorType": { "type": "enum", "members": { "AWS_COLLECTOR": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Collect AWS resource configuration.", "smithy.api#enumValue": "AWS_COLLECTOR" } } }, "traits": { "smithy.api#documentation": "The source collected by a Collector. Additional kinds can be added as they\nbecome supported; recorder provisioning remains a service detail." } }, "com.amazonaws.continuum#ConfigRecorderArn": { "type": "string", "traits": { "smithy.api#documentation": "ARN of the AWS Config Recorder provisioned by this Collector.\nAccepts both recorder shapes:\n - Customer-Managed: ...:config-recorder/{name}\n - Service-Linked: ...:configuration-recorder/{name}/{id}\n(a service-linked recorder ARN from PutServiceLinkedConfigurationRecorder uses\nthe `configuration-recorder` resource type and carries a trailing id segment).", "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:[a-z0-9-]+:config:[a-z0-9-]+:[0-9]{12}:config(uration)?-recorder/[a-zA-Z0-9_/-]+$" } }, "com.amazonaws.continuum#ConflictException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "Description of the conflict.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The request could not be completed due to a conflict with the current state of the resource.", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.continuum#ContinuumControlPlane": { "type": "service", "version": "2022-07-26", "operations": [ { "target": "com.amazonaws.continuum#GetResourcePolicy" }, { "target": "com.amazonaws.continuum#PutResourcePolicy" }, { "target": "com.amazonaws.continuum#StartIntegrationAuthorization" } ], "resources": [ { "target": "com.amazonaws.continuum#Collector" }, { "target": "com.amazonaws.continuum#Environment" }, { "target": "com.amazonaws.continuum#Integration" } ], "traits": { "aws.api#service": { "sdkId": "Continuum", "arnNamespace": "continuum" }, "aws.auth#sigv4": { "name": "continuum" }, "aws.endpoints#dualStackOnlyEndpoints": {}, "aws.endpoints#standardRegionalEndpoints": {}, "aws.iam#defineConditionKeys": { "continuum:CollectorArn": { "type": "ArrayOfARN", "documentation": "Filters access by the ARNs of the collectors in an AssociateCollector or DisassociateCollector request" }, "continuum:EnvironmentArn": { "type": "ARN", "documentation": "Filters access by the ARN of the environment that requests access to the data of a collector" }, "continuum:S3BucketName": { "type": "String", "documentation": "Filters access by the name of the Amazon S3 bucket in a CreateIntegration request" }, "continuum:RepositoryName": { "type": "ArrayOfString", "documentation": "Filters access by the repositories, as lowercase owner/repo values, that a CreateEnvironment or UpdateEnvironment request selects as sources" } }, "aws.iam#disableConditionKeyInference": {}, "aws.protocols#restJson1": {}, "smithy.api#documentation": "AWS Continuum finds, validates, prioritizes, and remediates code vulnerabilities\nacross the source repositories and AWS resources in your environments.", "smithy.api#title": "AWS Continuum", "smithy.rules#endpointBdd": { "version": "1.1", "parameters": { "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "string" }, "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "string" } }, "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "isSet", "argv": [ { "ref": "Region" } ] }, { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "results": [ { "conditions": [], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://continuum-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://continuum.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ], "root": 2, "nodeCount": 6, "nodes": "/////wAAAAH/////AAAAAAAAAAYAAAADAAAAAQAAAAQF9eEFAAAAAgAAAAUF9eEFAAAAAwX14QMF9eEEAAAAAwX14QEF9eEC" }, "smithy.rules#endpointRuleSet": { "version": "1.0", "parameters": { "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "string" }, "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "string" } }, "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Region" } ] } ], "rules": [ { "conditions": [ { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "endpoint": { "url": "https://continuum-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://continuum.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ], "type": "tree" } ] }, "smithy.rules#endpointTests": { "testCases": [ { "documentation": "For custom endpoint with region not set and fips disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { "Endpoint": "https://example.com", "UseFIPS": false } }, { "documentation": "For custom endpoint with fips enabled", "expect": { "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { "Endpoint": "https://example.com", "UseFIPS": true } }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://continuum-fips.us-east-1.api.aws" } }, "params": { "Region": "us-east-1", "UseFIPS": true } }, { "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://continuum.us-east-1.api.aws" } }, "params": { "Region": "us-east-1", "UseFIPS": false } }, { "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://continuum-fips.cn-northwest-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-northwest-1", "UseFIPS": true } }, { "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://continuum.cn-northwest-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-northwest-1", "UseFIPS": false } }, { "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://continuum-fips.us-gov-west-1.api.aws" } }, "params": { "Region": "us-gov-west-1", "UseFIPS": true } }, { "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://continuum.us-gov-west-1.api.aws" } }, "params": { "Region": "us-gov-west-1", "UseFIPS": false } }, { "documentation": "Missing region", "expect": { "error": "Invalid Configuration: Missing Region" } } ], "version": "1.0" } } }, "com.amazonaws.continuum#CreateCodeConfiguration": { "type": "structure", "members": { "sourceConfiguration": { "target": "com.amazonaws.continuum#EnvironmentSourceConfiguration", "traits": { "smithy.api#documentation": "Source configuration for the environment." } }, "environmentConfiguration": { "target": "com.amazonaws.continuum#EnvironmentConfiguration", "traits": { "smithy.api#documentation": "Environment-level operating policy." } } }, "traits": { "smithy.api#documentation": "Source and operating-policy settings for a new code environment." } }, "com.amazonaws.continuum#CreateCodeFinding": { "type": "operation", "input": { "target": "com.amazonaws.continuum#CreateCodeFindingInput" }, "output": { "target": "com.amazonaws.continuum#CreateCodeFindingOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#ConflictException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to create a code finding in an environment", "resources": { "required": { "environments": {}, "code-findings": {} } }, "createsResources": [ "code-findings" ] }, "smithy.api#documentation": "Ingests a customer-supplied security finding into an environment. Continuum validates the document synchronously against the required overlay fields for the declared format; invalid documents are rejected with a ValidationException. The maximum accepted document size is 256 KB. The environment must have a source configured, and the finding must identify a code location so Continuum can tie it to a repository in the environment's build. Continuum assigns a findingId and stores the verbatim document. When no successful build yet contains the finding's repository, the finding stays SUBMITTED until the next successful build; if that build does not contain it either, the finding is DISCARDED with discardReason SOURCE_REPO_NOT_FOUND.", "smithy.api#http": { "code": 201, "method": "POST", "uri": "/environments/{environmentId}/code-findings" }, "smithy.api#idempotent": {} } }, "com.amazonaws.continuum#CreateCodeFindingInput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The environment to ingest the finding into.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ocsfDocument": { "target": "smithy.api#Document", "traits": { "smithy.api#documentation": "The OCSF finding document to ingest, verbatim. Must declare a\nclass_uid Continuum supports (2002 Vulnerability Finding, or 2007\nApplication Security Posture Finding) and validate against the vendored\nOCSF JSON Schema for that class, including the Continuum overlay\nrequirements that finding_info.uid be present and that\nvulnerabilities[0].affected_code[0].file identify the code location.\nWith several repositories in the environment, the file path must begin\nwith the repository name. Maximum size 256 KB.\nStored verbatim and normalized into the typed Finding members returned\nby GetCodeFinding. GetCodeFinding does not return the document itself.", "smithy.api#required": {} } }, "clientToken": { "target": "com.amazonaws.continuum#FindingClientToken", "traits": { "smithy.api#documentation": "Caller-provided idempotency token. A retry with the same token and an identical\nfinding document replays the original result; the same token with different content\nis rejected.", "smithy.api#idempotencyToken": {} } } }, "traits": { "smithy.api#documentation": "Specifies the environment and the finding document to ingest.", "smithy.api#input": {} } }, "com.amazonaws.continuum#CreateCodeFindingOutput": { "type": "structure", "members": { "findingId": { "target": "com.amazonaws.continuum#FindingId", "traits": { "smithy.api#documentation": "The unique identifier assigned to the finding.", "smithy.api#required": {} } }, "findingArn": { "target": "com.amazonaws.continuum#FindingArn", "traits": { "smithy.api#documentation": "The ARN of the ingested finding.", "smithy.api#required": {} } }, "title": { "target": "com.amazonaws.continuum#FindingTitle", "traits": { "smithy.api#documentation": "The title extracted from the submitted document. Always populated at\ningestion.", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.continuum#FindingStatus", "traits": { "smithy.api#documentation": "The finding's current lifecycle status -- SUBMITTED for a newly ingested finding, or the\nfinding's present status when an idempotent retry replays an already-processed finding.", "smithy.api#required": {} } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the finding was ingested.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "Contains the identifier, ARN, title, and initial status of the newly ingested finding.", "smithy.api#output": {} } }, "com.amazonaws.continuum#CreateCodeScan": { "type": "operation", "input": { "target": "com.amazonaws.continuum#CreateCodeScanInput" }, "output": { "target": "com.amazonaws.continuum#CreateCodeScanOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#ConflictException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ServiceQuotaExceededException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to start a code scan of an environment", "resources": { "required": { "environments": {}, "code-scans": {} } }, "createsResources": [ "code-scans" ] }, "smithy.api#documentation": "Creates an explicit scan request for one environment. CP creates durable work before\nany queue delivery occurs.\n\nRetrying a request that succeeded, with the same clientToken on the same environment,\nreturns the original scan instead of starting another one. Token handling is not yet\natomic: requests with the same token that run at the same time, or a retry after a\nrequest that failed partway through, can leave an additional scan, which may end in\nthe FAILED state with a message that it was superseded. Deleting the environment\nmakes its tokens unusable; a later request with one of them returns\nResourceNotFoundException.\n\nEach environment can have a limited number of scans in progress at the same time.\nOnce that limit is enforced, a request that would exceed it returns\nServiceQuotaExceededException; wait for a scan to finish (ListCodeScans shows each\nscan's status), then retry.\n", "smithy.api#http": { "code": 201, "method": "POST", "uri": "/environments/{environmentId}/code-scans" } } }, "com.amazonaws.continuum#CreateCodeScanInput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "Environment to scan.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "clientToken": { "target": "com.amazonaws.continuum#ScanClientToken", "traits": { "smithy.api#documentation": "An optional token identifying one scan request for this environment. SDKs\ngenerate a token when omitted. If a request reaches the service without a\ntoken, the service generates one for that request, so each request without\na token starts a new scan. To retry a request after a lost response, supply\nthe same token on the same environment; once a request with that token has\nsucceeded, a retry returns the original scan. Concurrent requests with the\nsame token, or a retry after a request that failed partway through, can\nleave an additional scan, which may end FAILED as superseded. A token is\nbound to its scan for as long as the service retains the scan's build\nrecord, with no shorter expiry. Deleting the environment makes the binding\ninaccessible: a later request with the token returns\nResourceNotFoundException.", "smithy.api#idempotencyToken": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.continuum#CreateCodeScanOutput": { "type": "structure", "members": { "scan": { "target": "com.amazonaws.continuum#CodeScanSummary", "traits": { "smithy.api#documentation": "The scan run this request created, or the scan run a previous request with\nthe same clientToken already accepted.", "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.continuum#CreateCollector": { "type": "operation", "input": { "target": "com.amazonaws.continuum#CreateCollectorInput" }, "output": { "target": "com.amazonaws.continuum#CreateCollectorOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#ConflictException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ServiceQuotaExceededException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to create a collector", "requiredActions": [ "iam:PassRole", "iam:CreateServiceLinkedRole", "config:DescribeConfigurationRecorders", "config:PutServiceLinkedConfigurationRecorder" ], "resources": { "required": { "collectors": {} } }, "createsResources": [ "collectors" ] }, "smithy.api#documentation": "Creates the Collector for the caller's account. Provisions an AWS Config service-linked recorder using the caller's federated access session and begins recording infrastructure changes.", "smithy.api#http": { "code": 201, "method": "POST", "uri": "/collectors" } } }, "com.amazonaws.continuum#CreateCollectorInput": { "type": "structure", "members": { "type": { "target": "com.amazonaws.continuum#CollectorType", "traits": { "smithy.api#documentation": "Source to collect. Defaults to AWS_COLLECTOR when omitted." } }, "kubernetesClusterRole": { "target": "com.amazonaws.continuum#KubernetesClusterRoleConfiguration", "traits": { "smithy.api#documentation": "IAM role configuration used to collect Kubernetes cluster metadata.\nThe authenticated caller must be allowed to pass its exact roleArn to\nContinuum.", "smithy.api#jsonName": "k8ClusterRole" } }, "clientToken": { "target": "com.amazonaws.continuum#CollectorClientToken", "traits": { "smithy.api#documentation": "Caller-provided token that makes retried create requests return the\noriginal Collector rather than creating a duplicate.", "smithy.api#idempotencyToken": {} } } }, "traits": { "smithy.api#documentation": "Creates a Collector for the authenticated caller.", "smithy.api#input": {} } }, "com.amazonaws.continuum#CreateCollectorOutput": { "type": "structure", "members": { "collectorId": { "target": "com.amazonaws.continuum#CollectorId", "traits": { "smithy.api#documentation": "The unique identifier assigned to the Collector.", "smithy.api#required": {} } }, "collectorArn": { "target": "com.amazonaws.continuum#CollectorArn", "traits": { "smithy.api#documentation": "The ARN of the created Collector.", "smithy.api#required": {} } }, "type": { "target": "com.amazonaws.continuum#CollectorType", "traits": { "smithy.api#documentation": "The source collected by this Collector.", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.continuum#CollectorStatus", "traits": { "smithy.api#documentation": "The current lifecycle status.", "smithy.api#required": {} } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the Collector was created.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "Contains the identifier and ARN of the newly created Collector.", "smithy.api#output": {} } }, "com.amazonaws.continuum#CreateEnvironment": { "type": "operation", "input": { "target": "com.amazonaws.continuum#CreateEnvironmentInput" }, "output": { "target": "com.amazonaws.continuum#CreateEnvironmentOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#ConflictException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ServiceQuotaExceededException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#conditionKeys": [ "continuum:RepositoryName" ], "aws.iam#iamAction": { "documentation": "Grants permission to create an environment", "resources": { "required": { "environments": {} }, "optional": { "integrations": {} } }, "createsResources": [ "environments" ] }, "smithy.api#documentation": "Creates an environment and starts its validation and any requested provisioning. Storage provisioning and dependency checks may continue after the initial 201 response; use GetEnvironment to observe completion.", "smithy.api#http": { "code": 201, "method": "POST", "uri": "/environments" } } }, "com.amazonaws.continuum#CreateEnvironmentConfiguration": { "type": "structure", "members": { "codeConfiguration": { "target": "com.amazonaws.continuum#CreateCodeConfiguration", "traits": { "smithy.api#documentation": "Configuration for a code-scanning environment." } } }, "traits": { "smithy.api#documentation": "Type-specific configuration for a new environment. Omission creates a code\nenvironment with the default operating policy and no sources." } }, "com.amazonaws.continuum#CreateEnvironmentInput": { "type": "structure", "members": { "name": { "target": "com.amazonaws.continuum#EnvironmentName", "traits": { "smithy.api#documentation": "The customer-visible name of the environment.", "smithy.api#required": {} } }, "configuration": { "target": "com.amazonaws.continuum#CreateEnvironmentConfiguration", "traits": { "smithy.api#documentation": "Type-specific configuration. Omission creates a code environment with the\ndefault operating policy and no sources." } } }, "traits": { "smithy.api#documentation": "Specifies the name and type-specific configuration of the new environment. Source and operating-policy settings belong to configuration.codeConfiguration.", "smithy.api#input": {} } }, "com.amazonaws.continuum#CreateEnvironmentOutput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier assigned to the environment.", "smithy.api#required": {} } }, "environmentArn": { "target": "com.amazonaws.continuum#EnvironmentArn", "traits": { "smithy.api#documentation": "The ARN of the created environment.", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.continuum#EnvironmentStatus", "traits": { "smithy.api#documentation": "The initial status of the environment. Always ACTIVE on successful creation.", "smithy.api#required": {} } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the environment was created.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "Contains the identifier and ARN of the newly created environment.", "smithy.api#output": {} } }, "com.amazonaws.continuum#CreateIntegration": { "type": "operation", "input": { "target": "com.amazonaws.continuum#CreateIntegrationInput" }, "output": { "target": "com.amazonaws.continuum#CreateIntegrationOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#ConflictException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ServiceQuotaExceededException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#conditionKeys": [ "continuum:S3BucketName" ], "aws.iam#iamAction": { "documentation": "Grants permission to create an integration with an external source provider", "requiredActions": [ "iam:PassRole" ], "resources": { "required": { "integrations": {} } }, "createsResources": [ "integrations" ] }, "smithy.api#documentation": "Creates a new integration with an external source provider. Repeating an identical\nrequest with the same clientToken returns the original integrationId, integrationArn,\nand createdAt. Token records are retained for eight hours after success or terminal failure,\nincluding after the integration is deleted; replaying a deleted integration's token\ndoes not recreate it. An identical request with a retained terminal failure returns\nthe recorded error.\n\nReusing a token with different parameters returns ValidationException. A fresh token\nstarts a new create attempt; if the name is already owned by another integration,\nConflictException includes that integration's identifier. An attempt still in progress\nmay return ThrottlingException with retryAfterSeconds set to 1; retry with the same token\nand identical parameters.\n\nGitHub authorization codes are single use. Retry an unresolved attempt with its\noriginal token and unchanged parameters first. If the service reports a terminal\nfailure, an expired attempt, or a successful token exchange whose integration could\nnot be saved, restart GitHub authorization with a fresh token and authorization code.\nThe service does not checkpoint provider results for recovery by another request.\n", "smithy.api#http": { "code": 201, "method": "POST", "uri": "/integrations" } } }, "com.amazonaws.continuum#CreateIntegrationInput": { "type": "structure", "members": { "clientToken": { "target": "com.amazonaws.continuum#IntegrationClientToken", "traits": { "smithy.api#documentation": "An optional token identifying one create attempt within the caller's account,\nRegion, and operation. SDKs generate a token when omitted. If a request reaches\nthe service without a token, the service generates one for that request.\nEach request without a token starts a new attempt. To replay an attempt,\nsupply the same token and identical input. Authorized users and roles in\nthe same account can retry an attempt this way.\nToken records are retained for eight hours after success or terminal failure,\nincluding after deletion of a successfully created integration.\nDifferent input with the same token returns ValidationException.", "smithy.api#idempotencyToken": {} } }, "name": { "target": "com.amazonaws.continuum#IntegrationName", "traits": { "smithy.api#documentation": "The name for the integration.", "smithy.api#required": {} } }, "providerConfiguration": { "target": "com.amazonaws.continuum#ProviderConfiguration", "traits": { "smithy.api#documentation": "The provider-specific configuration required to create the integration.\nOnly one member may be specified.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the provider configuration and name for the new integration.", "smithy.api#input": {} } }, "com.amazonaws.continuum#CreateIntegrationOutput": { "type": "structure", "members": { "integrationId": { "target": "com.amazonaws.continuum#IntegrationId", "traits": { "smithy.api#documentation": "The unique identifier of the created integration.", "smithy.api#required": {} } }, "integrationArn": { "target": "com.amazonaws.continuum#IntegrationArn", "traits": { "smithy.api#documentation": "The ARN of the created integration.", "smithy.api#required": {} } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the integration was created.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "Contains the original identifier, ARN, and creation time of the new or replayed integration. A replay can refer to an integration that has since been deleted.", "smithy.api#output": {} } }, "com.amazonaws.continuum#CveId": { "type": "string", "traits": { "smithy.api#documentation": "A CVE identifier, e.g. \"CVE-2020-8203\".", "smithy.api#length": { "min": 1, "max": 64 } } }, "com.amazonaws.continuum#CweId": { "type": "string", "traits": { "smithy.api#documentation": "A CWE identifier, e.g. \"CWE-532\".", "smithy.api#length": { "min": 1, "max": 64 } } }, "com.amazonaws.continuum#CweIdList": { "type": "list", "member": { "target": "com.amazonaws.continuum#CweId" }, "traits": { "smithy.api#documentation": "CWE identifiers classifying a finding.", "smithy.api#length": { "min": 0, "max": 64 } } }, "com.amazonaws.continuum#DeleteCollector": { "type": "operation", "input": { "target": "com.amazonaws.continuum#DeleteCollectorInput" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#ConflictException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to delete a collector", "requiredActions": [ "config:DeleteServiceLinkedConfigurationRecorder" ], "resources": { "required": { "collectors": {} } } }, "smithy.api#documentation": "Deletes the Collector for the caller's account. The Collector first enters PENDING_DELETION, then the service removes its schedule, AWS Config service-linked recorder, versioned S3 bucket, KMS key, and persisted record.", "smithy.api#http": { "code": 204, "method": "DELETE", "uri": "/collectors/{collectorId}" }, "smithy.api#idempotent": {} } }, "com.amazonaws.continuum#DeleteCollectorInput": { "type": "structure", "members": { "collectorId": { "target": "com.amazonaws.continuum#CollectorId", "traits": { "smithy.api#documentation": "The unique identifier of the Collector to delete.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the Collector to delete.", "smithy.api#input": {} } }, "com.amazonaws.continuum#DeleteEnvironment": { "type": "operation", "input": { "target": "com.amazonaws.continuum#DeleteEnvironmentInput" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#ConflictException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to delete an environment", "resources": { "required": { "environments": {} } } }, "smithy.api#documentation": "Deletes an environment and its associated resources.", "smithy.api#http": { "code": 204, "method": "DELETE", "uri": "/environments/{environmentId}" }, "smithy.api#idempotent": {} } }, "com.amazonaws.continuum#DeleteEnvironmentInput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the environment to delete.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the environment to delete.", "smithy.api#input": {} } }, "com.amazonaws.continuum#DeleteIntegration": { "type": "operation", "input": { "target": "com.amazonaws.continuum#DeleteIntegrationInput" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#ConflictException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to delete an integration", "resources": { "required": { "integrations": {} } } }, "smithy.api#documentation": "Deletes an integration and releases its name and account quota. Its retained\nCreateIntegration token receipt can still replay the original result without\nrecreating the integration. Shared provider registrations are retained: deleting\none integration does not remove provider access used by another integration.\nA fresh GitHub CreateIntegration attempt requires a fresh OAuth authorization\ncode and a new clientToken.\n", "smithy.api#http": { "code": 204, "method": "DELETE", "uri": "/integrations/{integrationId}" }, "smithy.api#idempotent": {} } }, "com.amazonaws.continuum#DeleteIntegrationInput": { "type": "structure", "members": { "integrationId": { "target": "com.amazonaws.continuum#IntegrationId", "traits": { "smithy.api#documentation": "The unique identifier of the integration to delete.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the integration to delete.", "smithy.api#input": {} } }, "com.amazonaws.continuum#DeliveryGitCommitSha": { "type": "string", "traits": { "smithy.api#length": { "min": 40, "max": 40 }, "smithy.api#pattern": "^[a-fA-F0-9]{40}$" } }, "com.amazonaws.continuum#DeliveryGitHubName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 } } }, "com.amazonaws.continuum#DeliveryObjectKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1024 } } }, "com.amazonaws.continuum#DeliveryPullRequestNumber": { "type": "long", "traits": { "smithy.api#range": { "min": 1 } } }, "com.amazonaws.continuum#DeliveryReason": { "type": "enum", "members": { "ARTIFACT_READ_FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ARTIFACT_READ_FAILED" } }, "ARTIFACT_SOURCE_MISMATCH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ARTIFACT_SOURCE_MISMATCH" } }, "ARTIFACT_SOURCE_MISSING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ARTIFACT_SOURCE_MISSING" } }, "BUILD_NOT_FOUND": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BUILD_NOT_FOUND" } }, "BUILD_READ_FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BUILD_READ_FAILED" } }, "BUILD_RESULT_SCOPE_MISMATCH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BUILD_RESULT_SCOPE_MISMATCH" } }, "DELIVERY_NOT_CONFIGURED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DELIVERY_NOT_CONFIGURED" } }, "DELIVERY_SOURCE_KIND_CHANGED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DELIVERY_SOURCE_KIND_CHANGED" } }, "DUPLICATE_LOGICAL_REPOSITORY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DUPLICATE_LOGICAL_REPOSITORY" } }, "DUPLICATE_OR_INVALID_REPOSITORY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DUPLICATE_OR_INVALID_REPOSITORY" } }, "ENVIRONMENT_DELETED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ENVIRONMENT_DELETED" } }, "ENVIRONMENT_NOT_ACTIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ENVIRONMENT_NOT_ACTIVE" } }, "ENVIRONMENT_NOT_FOUND": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ENVIRONMENT_NOT_FOUND" } }, "ENVIRONMENT_READ_FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ENVIRONMENT_READ_FAILED" } }, "S3_ACCESS_DENIED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "S3_ACCESS_DENIED" } }, "S3_SOURCE_PREFIX_OVERLAP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "S3_SOURCE_PREFIX_OVERLAP" } }, "SOURCE_INTEGRATION_UNRESOLVED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SOURCE_INTEGRATION_UNRESOLVED" } }, "SOURCE_INTEGRATION_READ_FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SOURCE_INTEGRATION_READ_FAILED" } }, "SOURCE_INTEGRATION_INVALID": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SOURCE_INTEGRATION_INVALID" } }, "SOURCE_INTEGRATION_CHANGED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SOURCE_INTEGRATION_CHANGED" } }, "EXPORT_CREDENTIALS_MISSING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EXPORT_CREDENTIALS_MISSING" } }, "EXPORT_CREDENTIAL_EXPIRY_INVALID": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EXPORT_CREDENTIAL_EXPIRY_INVALID" } }, "EXPORT_DESTINATION_INVALID": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EXPORT_DESTINATION_INVALID" } }, "EXPORT_EXISTING_OBJECT_MISMATCH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EXPORT_EXISTING_OBJECT_MISMATCH" } }, "EXPORT_PUT_FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EXPORT_PUT_FAILED" } }, "EXPORT_RECONCILIATION_READ_FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EXPORT_RECONCILIATION_READ_FAILED" } }, "EXPORT_ROLE_ASSUMPTION_FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EXPORT_ROLE_ASSUMPTION_FAILED" } }, "GITHUB_ACCESS_DENIED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GITHUB_ACCESS_DENIED" } }, "GITHUB_BASE_NOT_FOUND": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The pinned Build commit or one of its trees is no longer readable.", "smithy.api#enumValue": "GITHUB_BASE_NOT_FOUND" } }, "GITHUB_BRANCH_CONFLICT": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The deterministic delivery branch or its pull request names different content.", "smithy.api#enumValue": "GITHUB_BRANCH_CONFLICT" } }, "GITHUB_NOT_FOUND": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GITHUB_NOT_FOUND" } }, "GITHUB_RATE_LIMITED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GITHUB_RATE_LIMITED" } }, "GITHUB_REPOSITORY_CHANGED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GITHUB_REPOSITORY_CHANGED" } }, "GITHUB_REPOSITORY_NOT_FOUND": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GITHUB_REPOSITORY_NOT_FOUND" } }, "GITHUB_REQUEST_FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GITHUB_REQUEST_FAILED" } }, "GITHUB_REQUEST_REJECTED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GITHUB_REQUEST_REJECTED" } }, "GITHUB_RESPONSE_INVALID": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GITHUB_RESPONSE_INVALID" } }, "GREEN_ATTEMPT_NOT_SUCCESSFUL": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The GREEN attempt that staged the patch ended without PatchDelivered, or a later attempt superseded it.", "smithy.api#enumValue": "GREEN_ATTEMPT_NOT_SUCCESSFUL" } }, "GREEN_COMPLETION_NOT_OBSERVED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The staging GREEN attempt never completed within the delivery wait bound.", "smithy.api#enumValue": "GREEN_COMPLETION_NOT_OBSERVED" } }, "PATCH_NOT_SELECTED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The GREEN attempt completed with PATCH_STAGED and did not select this patch.", "smithy.api#enumValue": "PATCH_NOT_SELECTED" } }, "INCOMPLETE_SOURCE_REFERENCE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INCOMPLETE_SOURCE_REFERENCE" } }, "INVALID_ARCHIVE_DIGEST": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INVALID_ARCHIVE_DIGEST" } }, "INVALID_ARTIFACT_SOURCE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INVALID_ARTIFACT_SOURCE" } }, "INVALID_COMPLETED_MANIFEST": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INVALID_COMPLETED_MANIFEST" } }, "INVALID_EXPORT_RECEIPT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INVALID_EXPORT_RECEIPT" } }, "INVALID_GITHUB_PROVENANCE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INVALID_GITHUB_PROVENANCE" } }, "INVALID_S3_DESTINATION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INVALID_S3_DESTINATION" } }, "INVALID_SERVICE_RECEIPT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INVALID_SERVICE_RECEIPT" } }, "INVALID_SOURCE_INVENTORY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INVALID_SOURCE_INVENTORY" } }, "INVALID_SOURCE_MANIFEST": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INVALID_SOURCE_MANIFEST" } }, "INVALID_SOURCE_REFERENCE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INVALID_SOURCE_REFERENCE" } }, "ISSUE_INTEGRITY_FAILURE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ISSUE_INTEGRITY_FAILURE" } }, "ISSUE_NOT_FOUND": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ISSUE_NOT_FOUND" } }, "MANIFEST_INVENTORY_MISMATCH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MANIFEST_INVENTORY_MISMATCH" } }, "MANIFEST_PROVENANCE_CHANGED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MANIFEST_PROVENANCE_CHANGED" } }, "MANIFEST_REPOSITORY_SET_MISMATCH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MANIFEST_REPOSITORY_SET_MISMATCH" } }, "MANIFEST_SCOPE_OR_VERSION_MISMATCH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MANIFEST_SCOPE_OR_VERSION_MISMATCH" } }, "MISSING_BUILD_RESULT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MISSING_BUILD_RESULT" } }, "MISSING_COMPLETED_MANIFEST": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MISSING_COMPLETED_MANIFEST" } }, "MISSING_RESULT_DIGEST": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MISSING_RESULT_DIGEST" } }, "MISSING_SOURCE_MANIFEST": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MISSING_SOURCE_MANIFEST" } }, "MISSING_SOURCE_TARGET": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MISSING_SOURCE_TARGET" } }, "PATCH_NOT_APPLICABLE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "A hunk does not match the exact pinned file bytes it was generated against.", "smithy.api#enumValue": "PATCH_NOT_APPLICABLE" } }, "PATCH_STORAGE_IDENTITY_MISSING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PATCH_STORAGE_IDENTITY_MISSING" } }, "PATCH_UNSUPPORTED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Rename, mode change, binary content, workflow file or unsafe path.", "smithy.api#enumValue": "PATCH_UNSUPPORTED" } }, "PUBLICATION_OUTCOME_UNKNOWN_AFTER_RETRY_LIMIT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PUBLICATION_OUTCOME_UNKNOWN_AFTER_RETRY_LIMIT" } }, "PUBLISHER_DEADLINE_EXCEEDED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PUBLISHER_DEADLINE_EXCEEDED" } }, "RESULT_COMPLETED_MANIFEST_MISMATCH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "RESULT_COMPLETED_MANIFEST_MISMATCH" } }, "RESULT_SOURCE_BINDING_MISMATCH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "RESULT_SOURCE_BINDING_MISMATCH" } }, "SERVICE_COPY_DIGEST_MISMATCH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SERVICE_COPY_DIGEST_MISMATCH" } }, "SERVICE_OBJECT_READ_FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SERVICE_OBJECT_READ_FAILED" } }, "SERVICE_OBJECT_TOO_LARGE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SERVICE_OBJECT_TOO_LARGE" } }, "SERVICE_RECEIPT_OUTSIDE_ISSUE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SERVICE_RECEIPT_OUTSIDE_ISSUE" } }, "SOURCE_OBJECT_DIGEST_MISMATCH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SOURCE_OBJECT_DIGEST_MISMATCH" } }, "SOURCE_REFERENCE_OUTSIDE_BUILD": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SOURCE_REFERENCE_OUTSIDE_BUILD" } }, "SOURCE_TARGET_BUILD_MISMATCH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SOURCE_TARGET_BUILD_MISMATCH" } }, "UNKNOWN_REPOSITORY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "UNKNOWN_REPOSITORY" } }, "UNKNOWN_SOURCE_PROVIDER": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "UNKNOWN_SOURCE_PROVIDER" } }, "UNSUPPORTED_ENVIRONMENT_SCHEMA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "UNSUPPORTED_ENVIRONMENT_SCHEMA" } }, "GITHUB_DESTINATION_NOT_ENABLED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "github_destination_not_enabled" } }, "PATCH_CREATION_POLICY_DISABLED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "patch_creation_policy_disabled" } } }, "traits": { "smithy.api#documentation": "Cause of a PATCH delivery's current state; used only by DeliveryState.reason.\nThese are outcomes of one delivery lifecycle, not shared operation error enums.\nThe two existing skip-code wire values are retained for compatibility." } }, "com.amazonaws.continuum#DeliveryStatus": { "type": "enum", "members": { "PENDING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PENDING" } }, "SUCCEEDED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SUCCEEDED" } }, "FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FAILED" } }, "SKIPPED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SKIPPED" } }, "ABANDONED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Retry budget exhausted after a retryable failure; no automatic retry remains.", "smithy.api#enumValue": "ABANDONED" } } } }, "com.amazonaws.continuum#DeliveryVersionId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1024 } } }, "com.amazonaws.continuum#DestinationTarget": { "type": "union", "members": { "s3": { "target": "com.amazonaws.continuum#S3Target", "traits": { "smithy.api#documentation": "The S3 object the patch is delivered to." } }, "github": { "target": "com.amazonaws.continuum#GitHubTarget", "traits": { "smithy.api#documentation": "The GitHub repository the patch is delivered to, including the pull\nrequest once it is opened." } } }, "traits": { "smithy.api#documentation": "Identity only. Future providers may add union members without duplicating state." } }, "com.amazonaws.continuum#DisassociateCollector": { "type": "operation", "input": { "target": "com.amazonaws.continuum#DisassociateCollectorInput" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#ConflictException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#conditionKeys": [ "continuum:CollectorArn" ], "aws.iam#iamAction": { "documentation": "Grants permission to disassociate a collector from an environment", "resources": { "required": { "environments": {} } } }, "smithy.api#documentation": "Removes one Collector association from this Environment, preserving its other associations. The stored Collector data-access role is cleared when no Collector associations remain. The Environment owner must have permission to disassociate. A current Collector access grant is not required, and the Collector does not need to remain active or present, so stale or revoked associations can be cleaned up.", "smithy.api#http": { "code": 204, "method": "POST", "uri": "/environments/{environmentId}/collectors/disassociate" }, "smithy.api#idempotent": {} } }, "com.amazonaws.continuum#DisassociateCollectorInput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the Environment whose associations are updated.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "collectorArn": { "target": "com.amazonaws.continuum#CollectorArn", "traits": { "aws.iam#conditionKeyValue": "continuum:CollectorArn", "smithy.api#documentation": "The ARN of the Collector to disassociate from this Environment.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the Collector to disassociate from this Environment.", "smithy.api#input": {} } }, "com.amazonaws.continuum#DomainName": { "type": "string", "traits": { "smithy.api#documentation": "A domain name permitted for build-time dependency resolution.", "smithy.api#length": { "min": 1, "max": 253 }, "smithy.api#pattern": "^([a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,}$" } }, "com.amazonaws.continuum#DomainNames": { "type": "list", "member": { "target": "com.amazonaws.continuum#DomainName" }, "traits": { "smithy.api#documentation": "A list of permitted dependency domains. Maximum 50 entries.", "smithy.api#length": { "min": 1, "max": 50 } } }, "com.amazonaws.continuum#Environment": { "type": "resource", "identifiers": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId" } }, "create": { "target": "com.amazonaws.continuum#CreateEnvironment" }, "read": { "target": "com.amazonaws.continuum#GetEnvironment" }, "update": { "target": "com.amazonaws.continuum#UpdateEnvironment" }, "delete": { "target": "com.amazonaws.continuum#DeleteEnvironment" }, "list": { "target": "com.amazonaws.continuum#ListEnvironments" }, "operations": [ { "target": "com.amazonaws.continuum#AssociateCollector" }, { "target": "com.amazonaws.continuum#DisassociateCollector" }, { "target": "com.amazonaws.continuum#ListAssociatedCollectors" } ], "resources": [ { "target": "com.amazonaws.continuum#CodeFinding" }, { "target": "com.amazonaws.continuum#CodeIssue" }, { "target": "com.amazonaws.continuum#CodeScan" } ], "traits": { "aws.api#arn": { "template": "environments/{environmentId}" }, "aws.iam#iamResource": { "name": "environments" }, "smithy.api#documentation": "An environment that contains code sources and context for Continuum to analyze and remediate." } }, "com.amazonaws.continuum#EnvironmentArn": { "type": "string", "traits": { "aws.api#arnReference": { "resource": "com.amazonaws.continuum#Environment" }, "smithy.api#documentation": "The Amazon Resource Name (ARN) of an Environment resource,\nof the form arn:{partition}:continuum:{region}:{account}:environments/{environmentId}.", "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:[a-z0-9-]+:continuum:[a-z0-9-]+:[0-9]{12}:environments/[a-z0-9]+$" } }, "com.amazonaws.continuum#EnvironmentConfiguration": { "type": "structure", "members": { "network": { "target": "com.amazonaws.continuum#EnvironmentNetworkConfiguration", "traits": { "smithy.api#documentation": "Network policy for agent execution." } }, "scanFrequency": { "target": "com.amazonaws.continuum#ScanFrequency", "traits": { "smithy.api#documentation": "Recurring scan interval: P1D (1 day), P2D (2 days), or P7D (7 days).\nPT0H disables recurring scans. Defaults to P1D when creating an environment." } }, "patchCreationPolicy": { "target": "com.amazonaws.continuum#PatchCreationPolicy", "traits": { "smithy.api#documentation": "Whether Continuum creates a patch for a proposed remediation. Defaults to DISABLED." } } }, "traits": { "smithy.api#documentation": "Environment-level operating policy." } }, "com.amazonaws.continuum#EnvironmentConfigurationDetails": { "type": "structure", "members": { "codeConfiguration": { "target": "com.amazonaws.continuum#CodeConfigurationDetails", "traits": { "smithy.api#documentation": "Configuration and scan state for a code-scanning environment." } } }, "traits": { "smithy.api#documentation": "Type-specific configuration and state returned by GetEnvironment and UpdateEnvironment." } }, "com.amazonaws.continuum#EnvironmentId": { "type": "string", "traits": { "smithy.api#documentation": "The unique identifier for an Environment resource.", "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-z0-9]+$" } }, "com.amazonaws.continuum#EnvironmentListEntries": { "type": "list", "member": { "target": "com.amazonaws.continuum#EnvironmentListEntry" }, "traits": { "smithy.api#documentation": "A list of external environment entries." } }, "com.amazonaws.continuum#EnvironmentListEntry": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the environment.", "smithy.api#required": {} } }, "environmentArn": { "target": "com.amazonaws.continuum#EnvironmentArn", "traits": { "smithy.api#documentation": "The ARN of the environment.", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.continuum#EnvironmentName", "traits": { "smithy.api#documentation": "The customer-visible name of the environment.", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.continuum#EnvironmentStatus", "traits": { "smithy.api#documentation": "The current operational status of the environment.", "smithy.api#required": {} } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the environment was created. Preserve the existing\nEnvironmentSummary.createdAt date-time wire format.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "Summary of an environment returned in list responses." } }, "com.amazonaws.continuum#EnvironmentName": { "type": "string", "traits": { "smithy.api#documentation": "The customer-visible name for an environment.", "smithy.api#length": { "min": 1, "max": 255 }, "smithy.api#pattern": "^[a-zA-Z0-9][a-zA-Z0-9 _.\\-]{0,254}$" } }, "com.amazonaws.continuum#EnvironmentNetworkConfiguration": { "type": "structure", "members": { "allowedDomains": { "target": "com.amazonaws.continuum#DomainNames", "traits": { "smithy.api#documentation": "Domains that an environment's agent execution may contact." } } }, "traits": { "smithy.api#documentation": "Network policy for agent execution." } }, "com.amazonaws.continuum#EnvironmentRepositorySource": { "type": "structure", "members": { "integrationId": { "target": "com.amazonaws.continuum#IntegrationId", "traits": { "smithy.api#documentation": "Integration that provides the selected repository.", "smithy.api#required": {} } }, "repository": { "target": "com.amazonaws.continuum#RepositoryName", "traits": { "smithy.api#documentation": "Repository selected from that integration in owner/repository form.", "smithy.api#required": {} } }, "defaultBranch": { "target": "com.amazonaws.continuum#RepositoryBranch", "traits": { "smithy.api#documentation": "Branch used when a scan does not choose a more specific revision." } } }, "traits": { "smithy.api#documentation": "One repository selected from a previously-created integration.", "smithy.api#references": [ { "resource": "com.amazonaws.continuum#Integration", "ids": { "integrationId": "integrationId" } } ] } }, "com.amazonaws.continuum#EnvironmentRepositorySources": { "type": "list", "member": { "target": "com.amazonaws.continuum#EnvironmentRepositorySource" }, "traits": { "smithy.api#documentation": "Explicit repository selections for an environment.\n\nThe number of repositories is governed by an account-level service quota\nrather than this shape maximum. The quota defaults to 10 so scans maintain\nuseful quality and coverage, and can be higher for some accounts, up to 100.\n\nAn environment that already has more selections than the account's current\nquota remains readable, and an UpdateEnvironment request that leaves\nrepositorySources unchanged keeps those selections without checking them\nagainst the quota. Creating or replacing repository selections, and starting\na new scan, must satisfy the account's current quota.", "smithy.api#length": { "min": 1, "max": 100 } } }, "com.amazonaws.continuum#EnvironmentS3IntegrationSource": { "type": "structure", "members": { "integrationId": { "target": "com.amazonaws.continuum#IntegrationId", "traits": { "smithy.api#documentation": "Identifier of an S3 integration in the caller's account. The integration supplies\nthe bucket, the read role, and the external ID Continuum uses to read the prefixes.", "smithy.api#required": {} } }, "codePrefix": { "target": "com.amazonaws.continuum#EnvironmentSourcePrefix", "traits": { "smithy.api#documentation": "Prefix containing source code. Defaults to code/ when omitted." } }, "contextPrefix": { "target": "com.amazonaws.continuum#EnvironmentSourcePrefix", "traits": { "smithy.api#documentation": "Prefix containing customer-authored context. Defaults to context/ when omitted." } } }, "traits": { "smithy.api#documentation": "An S3 source for one environment, backed by a previously-created S3 integration.", "smithy.api#references": [ { "resource": "com.amazonaws.continuum#Integration", "ids": { "integrationId": "integrationId" } } ] } }, "com.amazonaws.continuum#EnvironmentS3Sources": { "type": "list", "member": { "target": "com.amazonaws.continuum#EnvironmentS3IntegrationSource" }, "traits": { "smithy.api#documentation": "A list of S3 integration sources. Only one S3 source is supported today; modeled as a\nlist to allow more sources to be supported without a breaking change in the future.", "smithy.api#length": { "min": 1, "max": 1 } } }, "com.amazonaws.continuum#EnvironmentSourceBucketName": { "type": "string", "traits": { "smithy.api#documentation": "Customer-managed S3 bucket name.", "smithy.api#length": { "min": 3, "max": 63 }, "smithy.api#pattern": "^[a-z0-9][a-z0-9.\\-]{1,61}[a-z0-9]$" } }, "com.amazonaws.continuum#EnvironmentSourceConfiguration": { "type": "structure", "members": { "s3Sources": { "target": "com.amazonaws.continuum#EnvironmentS3Sources", "traits": { "smithy.api#documentation": "S3 sources backed by previously-created S3 integrations." } }, "repositorySources": { "target": "com.amazonaws.continuum#EnvironmentRepositorySources", "traits": { "smithy.api#documentation": "Explicit repository selections from previously-created integrations." } } }, "traits": { "smithy.api#documentation": "GA source configuration for code and customer-authored context." } }, "com.amazonaws.continuum#EnvironmentSourcePrefix": { "type": "string", "traits": { "smithy.api#documentation": "A source prefix. The service normalizes an omitted value to its documented default.", "smithy.api#length": { "min": 1, "max": 1024 }, "smithy.api#pattern": "^.*/$" } }, "com.amazonaws.continuum#EnvironmentSourceRoleArn": { "type": "string", "traits": { "aws.api#arnReference": { "type": "AWS::IAM::Role" }, "smithy.api#documentation": "IAM role assumed by Continuum for environment-level or source-specific access.", "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:[a-z0-9-]+:iam::[0-9]{12}:role/[a-zA-Z0-9_+=,.@/-]+$" } }, "com.amazonaws.continuum#EnvironmentStatus": { "type": "enum", "members": { "ACTIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The environment is fully operational and Continuum is actively scanning.", "smithy.api#enumValue": "ACTIVE" } } }, "traits": { "smithy.api#documentation": "The operational status of an environment." } }, "com.amazonaws.continuum#EnvironmentStatusMessage": { "type": "string", "traits": { "smithy.api#documentation": "A human-readable message providing additional context about the current environment status.", "smithy.api#length": { "min": 1, "max": 1024 } } }, "com.amazonaws.continuum#ExploitEffect": { "type": "enum", "members": { "DATA_LEAKED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DATA_LEAKED" } }, "ERROR_REVEALED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ERROR_REVEALED" } }, "BEHAVIOR_CHANGED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BEHAVIOR_CHANGED" } }, "NO_EFFECT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NO_EFFECT" } } }, "traits": { "smithy.api#documentation": "The effect validation observed from an exploit payload." } }, "com.amazonaws.continuum#ExploitabilityVerdict": { "type": "enum", "members": { "EXPLOITABLE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EXPLOITABLE" } }, "NOT_EXPLOITABLE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NOT_EXPLOITABLE" } }, "UNCERTAIN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "UNCERTAIN" } } }, "traits": { "smithy.api#documentation": "Whether validation confirmed the vulnerability is exploitable." } }, "com.amazonaws.continuum#FindingArn": { "type": "string", "traits": { "aws.api#arnReference": { "resource": "com.amazonaws.continuum#CodeFinding" }, "smithy.api#documentation": "The Amazon Resource Name (ARN) of a Finding resource,\nof the form arn:{partition}:continuum:{region}:{account}:environments/{environmentId}/code-findings/{findingId}.", "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:[a-z0-9-]+:continuum:[a-z0-9-]+:[0-9]{12}:environments/[a-z0-9]+/code-findings/[a-z0-9]+$" } }, "com.amazonaws.continuum#FindingBlockingReason": { "type": "enum", "members": { "UNREACHABLE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The code path is not reachable.", "smithy.api#enumValue": "UNREACHABLE" } }, "PROTECTED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "A mitigating control is already in place.", "smithy.api#enumValue": "PROTECTED" } }, "MISCLASSIFIED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The vulnerability category is wrong.", "smithy.api#enumValue": "MISCLASSIFIED" } }, "EXCLUDED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "In an excluded location (test code, dead code).", "smithy.api#enumValue": "EXCLUDED" } }, "NOT_FEASIBLE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Exploitation is not feasible.", "smithy.api#enumValue": "NOT_FEASIBLE" } }, "RISK_MITIGATED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Real, but compensating controls cap the risk. Accompanies\nBENIGN_TRUE_POSITIVE.", "smithy.api#enumValue": "RISK_MITIGATED" } }, "NONE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "No blocking reason.", "smithy.api#enumValue": "NONE" } } }, "traits": { "smithy.api#documentation": "Why a validator rejected a finding. NONE accompanies a true positive." } }, "com.amazonaws.continuum#FindingCategory": { "type": "string", "traits": { "smithy.api#documentation": "A vulnerability-taxonomy label: the producer's category, sub-category, or\nOWASP category. Deliberately unconstrained beyond length -- producers do\nnot share a taxonomy, so this is NOT a stable filter key across finding\ntypes. Use `cweIds` when a stable classification is needed.", "smithy.api#length": { "min": 1, "max": 512 } } }, "com.amazonaws.continuum#FindingClientToken": { "type": "string", "traits": { "smithy.api#documentation": "A unique, case-sensitive token that you provide to make a finding-creation\nrequest idempotent.", "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^[!-~]+$" } }, "com.amazonaws.continuum#FindingCodeSnippet": { "type": "string", "traits": { "smithy.api#documentation": "A code excerpt: the vulnerable fragment, or a validation-evidence snippet.", "smithy.api#length": { "min": 1, "max": 32768 } } }, "com.amazonaws.continuum#FindingComplianceCheck": { "type": "structure", "members": { "uid": { "target": "com.amazonaws.continuum#FindingCategory" }, "name": { "target": "com.amazonaws.continuum#FindingCategory" }, "description": { "target": "com.amazonaws.continuum#FindingDescription" } }, "traits": { "smithy.api#documentation": "One compliance check behind a posture finding." } }, "com.amazonaws.continuum#FindingComplianceCheckList": { "type": "list", "member": { "target": "com.amazonaws.continuum#FindingComplianceCheck" }, "traits": { "smithy.api#documentation": "Matches AffectedPackageList.", "smithy.api#length": { "min": 0, "max": 256 } } }, "com.amazonaws.continuum#FindingDescription": { "type": "string", "traits": { "smithy.api#documentation": "Free-form prose about a finding (summary, detailed analysis, rationale,\nremediation guidance). Capped well below the finding document's own 256 KB\nlimit, since several of these can appear on one finding.", "smithy.api#length": { "min": 1, "max": 65536 } } }, "com.amazonaws.continuum#FindingDiscardReason": { "type": "enum", "members": { "SCANNER_VALIDATED_FALSE_POSITIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Continuum's validator determined at ingestion that the reported\nbehavior is not actually present.", "smithy.api#enumValue": "SCANNER_VALIDATED_FALSE_POSITIVE" } }, "SCANNER_NEEDS_REVIEW": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The validator could not reach a confident verdict at ingestion, so the\nfinding was set aside rather than escalated.", "smithy.api#enumValue": "SCANNER_NEEDS_REVIEW" } }, "FALSE_POSITIVE_VALIDATED_AGAINST_CONTEXT": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "After deeper analysis against the environment's context, Continuum\nconcluded the finding is not a real, exploitable issue here.", "smithy.api#enumValue": "FALSE_POSITIVE_VALIDATED_AGAINST_CONTEXT" } }, "DUPLICATE_OF_OPEN_ISSUE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The finding describes the same problem as an already-open issue and was\nfolded into it. `duplicateOfIssueId` names that issue.", "smithy.api#enumValue": "DUPLICATE_OF_OPEN_ISSUE" } }, "DUPLICATE_OF_CLOSED_ISSUE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The finding matches an issue that was already reviewed and closed.\n`duplicateOfIssueId` names that issue.", "smithy.api#enumValue": "DUPLICATE_OF_CLOSED_ISSUE" } }, "COMPENSATING_CONTROL_PRESENT": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The weakness is real, but an existing control in the environment makes\nit non-actionable in practice.", "smithy.api#enumValue": "COMPENSATING_CONTROL_PRESENT" } }, "OUT_OF_SCOPE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Real, but not in the assets Continuum is responsible for.", "smithy.api#enumValue": "OUT_OF_SCOPE" } }, "INSUFFICIENT_EVIDENCE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Continuum could not confidently judge the finding; a re-scan is\nrecommended.", "smithy.api#enumValue": "INSUFFICIENT_EVIDENCE" } }, "PROCESSING_FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Continuum could not complete processing for this finding.", "smithy.api#enumValue": "PROCESSING_FAILED" } }, "SOURCE_REPO_NOT_FOUND": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The finding's file path does not belong to any repository in the\nenvironment's latest successful build, so Continuum cannot tie it to\nsource code. Configure the repository as an environment source, then\nsubmit the finding again.", "smithy.api#enumValue": "SOURCE_REPO_NOT_FOUND" } } }, "traits": { "smithy.api#documentation": "Why a finding was not escalated into an issue. Present only when status is DISCARDED." } }, "com.amazonaws.continuum#FindingEvidence": { "type": "structure", "members": { "file": { "target": "com.amazonaws.continuum#FindingFilePath", "traits": { "smithy.api#documentation": "The file the evidence was found in." } }, "line": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "The 1-indexed line, when known." } }, "snippet": { "target": "com.amazonaws.continuum#FindingCodeSnippet", "traits": { "smithy.api#documentation": "The cited excerpt." } } }, "traits": { "smithy.api#documentation": "A code citation supporting a validation verdict." } }, "com.amazonaws.continuum#FindingEvidenceList": { "type": "list", "member": { "target": "com.amazonaws.continuum#FindingEvidence" }, "traits": { "smithy.api#documentation": "Code citations supporting a validation verdict.", "smithy.api#length": { "min": 0, "max": 64 } } }, "com.amazonaws.continuum#FindingFilePath": { "type": "string", "traits": { "smithy.api#documentation": "A repository-relative path to the file a finding is about.", "smithy.api#length": { "min": 1, "max": 4096 } } }, "com.amazonaws.continuum#FindingId": { "type": "string", "traits": { "smithy.api#documentation": "The unique identifier for a Finding resource.", "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-z0-9]+$" } }, "com.amazonaws.continuum#FindingListEntry": { "type": "string", "traits": { "smithy.api#documentation": "One entry in a free-form list carried verbatim from a producer (relevant\ninputs, reproduction steps, mitigating controls, preconditions, references).", "smithy.api#length": { "min": 1, "max": 8192 } } }, "com.amazonaws.continuum#FindingLocation": { "type": "structure", "members": { "filePath": { "target": "com.amazonaws.continuum#FindingFilePath", "traits": { "smithy.api#documentation": "Repository-relative path." } }, "startLine": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "1-indexed first line of the affected range." } }, "endLine": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "1-indexed last line, when the producer reported a range." } } }, "traits": { "smithy.api#documentation": "A code location a finding points at." } }, "com.amazonaws.continuum#FindingLocationList": { "type": "list", "member": { "target": "com.amazonaws.continuum#FindingLocation" }, "traits": { "smithy.api#documentation": "One vulnerability rarely spans more than a handful of locations.", "smithy.api#length": { "min": 0, "max": 64 } } }, "com.amazonaws.continuum#FindingOcsfClass": { "type": "enum", "members": { "VULNERABILITY_FINDING": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "OCSF class_uid 2002.", "smithy.api#enumValue": "VULNERABILITY_FINDING" } }, "APPLICATION_SECURITY_POSTURE_FINDING": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "OCSF class_uid 2007. Findings of this class populate `posture`.", "smithy.api#enumValue": "APPLICATION_SECURITY_POSTURE_FINDING" } } }, "traits": { "smithy.api#documentation": "The OCSF Finding class a submitted document declared. Continuum validates\nagainst, and accepts, only these classes; a document declaring any other\nclass_uid is rejected at CreateCodeFinding, so this is a closed set rather than\na pass-through of OCSF's full class registry." } }, "com.amazonaws.continuum#FindingPosture": { "type": "structure", "members": { "application": { "target": "com.amazonaws.continuum#FindingCategory", "traits": { "smithy.api#documentation": "The application the posture was assessed against." } }, "applicationUid": { "target": "com.amazonaws.continuum#FindingCategory" }, "applicationVersion": { "target": "com.amazonaws.continuum#FindingCategory" }, "control": { "target": "com.amazonaws.continuum#FindingCategory", "traits": { "smithy.api#documentation": "The control assessed, and the producer's description of it." } }, "description": { "target": "com.amazonaws.continuum#FindingDescription" }, "standards": { "target": "com.amazonaws.continuum#FindingStringList", "traits": { "smithy.api#documentation": "Standards and requirements the control maps to." } }, "requirements": { "target": "com.amazonaws.continuum#FindingStringList" }, "checks": { "target": "com.amazonaws.continuum#FindingComplianceCheckList", "traits": { "smithy.api#documentation": "The individual checks performed." } }, "status": { "target": "com.amazonaws.continuum#FindingCategory", "traits": { "smithy.api#documentation": "The producer's compliance status, and the enum value behind it." } }, "statusId": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "The producer's numeric enum value for `status`." } }, "remediation": { "target": "com.amazonaws.continuum#FindingDescription" }, "remediationReferences": { "target": "com.amazonaws.continuum#FindingStringList" } }, "traits": { "smithy.api#documentation": "The compliance posture a finding reports, for the Application Security Posture Finding class. Absent for a vulnerability finding." } }, "com.amazonaws.continuum#FindingResource": { "type": "structure", "members": { "uid": { "target": "com.amazonaws.continuum#FindingResourceUid" }, "name": { "target": "com.amazonaws.continuum#FindingCategory" }, "type": { "target": "com.amazonaws.continuum#FindingCategory" }, "region": { "target": "com.amazonaws.continuum#FindingCategory" } }, "traits": { "smithy.api#documentation": "A cloud or application resource a finding concerns." } }, "com.amazonaws.continuum#FindingResourceList": { "type": "list", "member": { "target": "com.amazonaws.continuum#FindingResource" }, "traits": { "smithy.api#documentation": "Matches AffectedPackageList.", "smithy.api#length": { "min": 0, "max": 256 } } }, "com.amazonaws.continuum#FindingResourceUid": { "type": "string", "traits": { "smithy.api#documentation": "A resource identifier -- a cloud ARN, a context-graph node id, or whatever\nidentifier scheme the producer uses.", "smithy.api#length": { "min": 1, "max": 2048 } } }, "com.amazonaws.continuum#FindingSeverityAdjustment": { "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" } }, "INFORMATIONAL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INFORMATIONAL" } }, "UNCHANGED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "UNCHANGED" } } }, "traits": { "smithy.api#documentation": "A validator's severity conclusion. UNCHANGED means the producer's reported severity stands." } }, "com.amazonaws.continuum#FindingSeverityId": { "type": "enum", "members": { "UNKNOWN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "UNKNOWN" } }, "INFORMATIONAL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INFORMATIONAL" } }, "LOW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LOW" } }, "MEDIUM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MEDIUM" } }, "HIGH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "HIGH" } }, "CRITICAL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CRITICAL" } }, "FATAL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FATAL" } }, "OTHER": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "OTHER" } } }, "traits": { "smithy.api#documentation": "A finding's severity, on the canonical numeric scale OCSF defines\n(UNKNOWN=0, INFORMATIONAL=1, LOW=2, MEDIUM=3, HIGH=4, CRITICAL=5, FATAL=6,\nOTHER=99). Named rather than numeric so callers never map the scale\nthemselves, and identical across producers." } }, "com.amazonaws.continuum#FindingSource": { "type": "string", "traits": { "smithy.api#documentation": "The system that produced a finding -- Continuum's own scanner, or the\nproduct name (falling back to the vendor name) from a customer document's\nOCSF metadata.product. Distinguishes two customer integrations that share\na `type`.", "smithy.api#length": { "min": 1, "max": 256 } } }, "com.amazonaws.continuum#FindingStatus": { "type": "enum", "members": { "SUBMITTED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The finding has been submitted and is queued for processing.", "smithy.api#enumValue": "SUBMITTED" } }, "VALIDATING": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Continuum is actively checking exploitability.", "smithy.api#enumValue": "VALIDATING" } }, "CONFIRMED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The finding has been confirmed as real and actionable.", "smithy.api#enumValue": "CONFIRMED" } }, "DISCARDED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The finding is not actionable (false positive, not applicable, or customer-discarded).", "smithy.api#enumValue": "DISCARDED" } } }, "traits": { "smithy.api#documentation": "The lifecycle status of a finding as it moves through Continuum's processing pipeline. CONFIRMED and DISCARDED are terminal states -- a CONFIRMED finding is promoted into a separate Issue (not yet implemented), which owns the subsequent remediation lifecycle; the finding's own status does not change after that." } }, "com.amazonaws.continuum#FindingStatusMessage": { "type": "string", "traits": { "smithy.api#documentation": "A human-readable message providing additional context about the current finding status.", "smithy.api#length": { "min": 1, "max": 1024 } } }, "com.amazonaws.continuum#FindingStringList": { "type": "list", "member": { "target": "com.amazonaws.continuum#FindingListEntry" }, "traits": { "smithy.api#documentation": "A free-form list of strings carried verbatim from a producer.", "smithy.api#length": { "min": 0, "max": 256 } } }, "com.amazonaws.continuum#FindingSummary": { "type": "structure", "members": { "findingId": { "target": "com.amazonaws.continuum#FindingId", "traits": { "smithy.api#documentation": "The unique identifier of the finding.", "smithy.api#required": {} } }, "findingArn": { "target": "com.amazonaws.continuum#FindingArn", "traits": { "smithy.api#documentation": "The ARN of the finding.", "smithy.api#required": {} } }, "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The environment that owns the finding.", "smithy.api#required": {} } }, "source": { "target": "com.amazonaws.continuum#FindingSource", "traits": { "smithy.api#documentation": "The system that produced the finding.", "smithy.api#required": {} } }, "sourceFindingId": { "target": "com.amazonaws.continuum#SourceFindingId", "traits": { "smithy.api#documentation": "The producer's own identifier for the finding.", "smithy.api#required": {} } }, "reportedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "When the producer reported the finding -- its own clock, which is not\nContinuum's ingestion time. `createdAt` is when Continuum accepted it;\nthese are genuinely different instants and a reader usually wants this one.\n\nFor CreateCodeFinding, this is the submitted OCSF document's own top-level\n`time`. For findings Continuum's scanner produces, it is the finding's own\ncreation time.\n\nContinuum does not validate it for plausibility: a producer's value is\nechoed as given, so a `timestamp` here asserts the unit and format, not\nthat the instant is genuine.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "status": { "target": "com.amazonaws.continuum#FindingStatus", "traits": { "smithy.api#documentation": "The current lifecycle status of the finding.", "smithy.api#required": {} } }, "statusUpdatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the status last transitioned.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the finding was ingested.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "scanRunId": { "target": "com.amazonaws.continuum#ScanRunId", "traits": { "smithy.api#documentation": "The scan that produced the finding, when it came from one. For a\nfinding Continuum's scanner produced, this is the Continuum scan run\n(see GetCodeScan). For a finding submitted with CreateCodeFinding, it is the\nOCSF document's `metadata.correlation_uid`, when that value is a valid\nScanRunId. Absent when the finding did not come from a scan." } }, "statusMessage": { "target": "com.amazonaws.continuum#FindingStatusMessage", "traits": { "smithy.api#documentation": "Human-readable context about the current status." } }, "discardReason": { "target": "com.amazonaws.continuum#FindingDiscardReason", "traits": { "smithy.api#documentation": "Why the finding was not escalated. Present only when status is\nDISCARDED." } }, "discardReasoning": { "target": "com.amazonaws.continuum#FindingStatusMessage", "traits": { "smithy.api#documentation": "Customer-facing explanation accompanying `discardReason`." } }, "duplicateOfIssueId": { "target": "com.amazonaws.continuum#IssueId", "traits": { "smithy.api#documentation": "The existing issue this finding duplicates. Present only for the\nDUPLICATE_OF_* discard reasons." } }, "createdIssueId": { "target": "com.amazonaws.continuum#IssueId", "traits": { "smithy.api#documentation": "The issue Continuum created from this finding." } }, "completedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "When processing finished, whether by creating an issue or discarding.\nAbsent while the finding is still in flight.", "smithy.api#timestampFormat": "date-time" } }, "type": { "target": "com.amazonaws.continuum#FindingType", "traits": { "smithy.api#documentation": "What kind of finding this is.", "smithy.api#required": {} } }, "title": { "target": "com.amazonaws.continuum#FindingTitle", "traits": { "smithy.api#documentation": "The producer's title for the finding.", "smithy.api#required": {} } }, "severity": { "target": "com.amazonaws.continuum#FindingSeverityId", "traits": { "smithy.api#documentation": "The finding's severity.", "smithy.api#required": {} } }, "category": { "target": "com.amazonaws.continuum#FindingCategory", "traits": { "smithy.api#documentation": "The producer's vulnerability category." } }, "filePath": { "target": "com.amazonaws.continuum#FindingFilePath", "traits": { "smithy.api#documentation": "The file the finding is about, when it has a code location." } } }, "traits": { "smithy.api#documentation": "A summary of a finding returned in list responses. Shares FindingLifecycleFields with the read operations so the list and get projections cannot drift. Carries a lean content subset -- fetch the finding for its full contents." } }, "com.amazonaws.continuum#FindingTitle": { "type": "string", "traits": { "smithy.api#documentation": "The title of a finding, from the producer's own title -- OCSF\nfinding_info.title, or the scanner's finding title. Length matches the\nOCSF title constraint.", "smithy.api#length": { "min": 1, "max": 2048 } } }, "com.amazonaws.continuum#FindingType": { "type": "enum", "members": { "CONTINUUM_CODE_VULN": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Continuum's own scanner found a source-code vulnerability.", "smithy.api#enumValue": "CONTINUUM_CODE_VULN" } }, "CUSTOMER_CODE_VULN": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "A customer or customer integration supplied the finding as an OCSF\ndocument (class_uid 2002 or 2007), normalized into Continuum's shape at\ningestion. Continuum retains the verbatim document.", "smithy.api#enumValue": "CUSTOMER_CODE_VULN" } } }, "traits": { "smithy.api#documentation": "What kind of finding this is, and who produced it." } }, "com.amazonaws.continuum#FindingValidation": { "type": "structure", "members": { "verdict": { "target": "com.amazonaws.continuum#FindingVerdict", "traits": { "smithy.api#documentation": "The validator's conclusion.", "smithy.api#required": {} } }, "blockingReason": { "target": "com.amazonaws.continuum#FindingBlockingReason", "traits": { "smithy.api#documentation": "Why the validator reached that verdict." } }, "confidence": { "target": "smithy.api#Double", "traits": { "smithy.api#documentation": "The validator's confidence, from 0.0 to 1.0 inclusive. Advisory: it\ndoes not drive Continuum's own routing decisions. The range is enforced\nserver-side, not by a @range trait -- the smithy-rs server SDK does not\nsupport range constraints on double shapes (smithy-rs#2007)." } }, "rationale": { "target": "com.amazonaws.continuum#FindingDescription", "traits": { "smithy.api#documentation": "The validator's reasoning." } }, "severityAdjustment": { "target": "com.amazonaws.continuum#FindingSeverityAdjustment", "traits": { "smithy.api#documentation": "The validator's severity conclusion." } }, "mitigatingControls": { "target": "com.amazonaws.continuum#FindingStringList", "traits": { "smithy.api#documentation": "Controls the validator found that reduce exploitability." } }, "preconditions": { "target": "com.amazonaws.continuum#FindingStringList", "traits": { "smithy.api#documentation": "Conditions exploitation depends on, which bound the severity." } }, "evidence": { "target": "com.amazonaws.continuum#FindingEvidenceList", "traits": { "smithy.api#documentation": "Code citations supporting the verdict." } } }, "traits": { "smithy.api#documentation": "A validator's assessment of a finding. Present only when validation actually ran -- absent for finding types that are ingested untested, rather than reporting a verdict Continuum did not reach." } }, "com.amazonaws.continuum#FindingVerdict": { "type": "enum", "members": { "TRUE_POSITIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Real and actionable.", "smithy.api#enumValue": "TRUE_POSITIVE" } }, "FALSE_POSITIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Not real -- the reported behavior is not present.", "smithy.api#enumValue": "FALSE_POSITIVE" } }, "BENIGN_TRUE_POSITIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Real, but compensating controls cap the risk.", "smithy.api#enumValue": "BENIGN_TRUE_POSITIVE" } }, "NEEDS_REVIEW": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The validator could not reach a confident verdict.", "smithy.api#enumValue": "NEEDS_REVIEW" } } }, "traits": { "smithy.api#documentation": "A validator's conclusion about whether a finding is real." } }, "com.amazonaws.continuum#FindingVulnerability": { "type": "structure", "members": { "title": { "target": "com.amazonaws.continuum#FindingTitle" }, "description": { "target": "com.amazonaws.continuum#FindingDescription" }, "cweId": { "target": "com.amazonaws.continuum#CweId", "traits": { "smithy.api#documentation": "Primary CWE for this vulnerability, e.g. \"CWE-89\"." } }, "cweCaption": { "target": "com.amazonaws.continuum#FindingCategory", "traits": { "smithy.api#documentation": "The producer's human-readable caption for `cweId`." } }, "additionalCweIds": { "target": "com.amazonaws.continuum#CweIdList", "traits": { "smithy.api#documentation": "Further CWEs the producer attributed to this same vulnerability." } }, "cveId": { "target": "com.amazonaws.continuum#CveId" }, "cvssBaseScore": { "target": "smithy.api#Double", "traits": { "smithy.api#documentation": "The CVSS base score for `cveId`, when the producer supplies one, from 0.0\nto 10.0." } }, "fixCoverage": { "target": "com.amazonaws.continuum#FindingCategory", "traits": { "smithy.api#documentation": "The producer's description of how completely a fix is available." } }, "fixCoverageId": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "The producer's enum value behind `fixCoverage`." } }, "locations": { "target": "com.amazonaws.continuum#FindingLocationList", "traits": { "smithy.api#documentation": "Every location this vulnerability was reported at." } }, "remediation": { "target": "com.amazonaws.continuum#FindingDescription" }, "remediationReferences": { "target": "com.amazonaws.continuum#FindingStringList" }, "code": { "target": "com.amazonaws.continuum#FindingCodeSnippet", "traits": { "smithy.api#documentation": "The vulnerable fragment, when the producer supplied one." } }, "details": { "target": "com.amazonaws.continuum#FindingDescription", "traits": { "smithy.api#documentation": "The producer's extended analysis for this vulnerability." } }, "affectedPackages": { "target": "com.amazonaws.continuum#AffectedPackageList" } }, "traits": { "smithy.api#documentation": "One vulnerability reported by a finding. A customer document may report several; each carries its own identity, locations and remediation." } }, "com.amazonaws.continuum#FindingVulnerabilityList": { "type": "list", "member": { "target": "com.amazonaws.continuum#FindingVulnerability" }, "traits": { "smithy.api#documentation": "Matches AffectedPackageList: a document reporting more than this is reporting a scan, not a finding.", "smithy.api#length": { "min": 0, "max": 256 } } }, "com.amazonaws.continuum#FlowVerdict": { "type": "structure", "members": { "flowId": { "target": "com.amazonaws.continuum#AttackFlowId", "traits": { "smithy.api#documentation": "Identifier of the attack flow assessed.", "smithy.api#required": {} } }, "verdict": { "target": "com.amazonaws.continuum#FlowVerdictValue", "traits": { "smithy.api#documentation": "Outcome for this flow.", "smithy.api#required": {} } }, "confidence": { "target": "com.amazonaws.continuum#ValidationConfidence", "traits": { "smithy.api#documentation": "Confidence in this flow's verdict. Absent when out of range." } }, "evidence": { "target": "com.amazonaws.continuum#ArtifactCitations", "traits": { "smithy.api#documentation": "Citations supporting the verdict." } } }, "traits": { "smithy.api#documentation": "Validation's verdict for one attack flow." } }, "com.amazonaws.continuum#FlowVerdictValue": { "type": "enum", "members": { "CONFIRMED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CONFIRMED" } }, "DENIED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DENIED" } }, "INCONCLUSIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INCONCLUSIVE" } } }, "traits": { "smithy.api#documentation": "Outcome recorded for one attack flow." } }, "com.amazonaws.continuum#FlowVerdicts": { "type": "list", "member": { "target": "com.amazonaws.continuum#FlowVerdict" }, "traits": { "smithy.api#length": { "min": 1, "max": 50 } } }, "com.amazonaws.continuum#GetCodeFinding": { "type": "operation", "input": { "target": "com.amazonaws.continuum#GetCodeFindingInput" }, "output": { "target": "com.amazonaws.continuum#GetCodeFindingOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to get a code finding", "resources": { "required": { "code-findings": {} } } }, "smithy.api#documentation": "Retrieves the current state and details of a finding.", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/environments/{environmentId}/code-findings/{findingId}" }, "smithy.api#readonly": {} } }, "com.amazonaws.continuum#GetCodeFindingInput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The environment that owns the finding.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "findingId": { "target": "com.amazonaws.continuum#FindingId", "traits": { "smithy.api#documentation": "The unique identifier of the finding to retrieve.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the finding to retrieve.", "smithy.api#input": {} } }, "com.amazonaws.continuum#GetCodeFindingOutput": { "type": "structure", "members": { "type": { "target": "com.amazonaws.continuum#FindingType", "traits": { "smithy.api#documentation": "What kind of finding this is. Determines which of the type-specific\nmembers below are populated.", "smithy.api#required": {} } }, "title": { "target": "com.amazonaws.continuum#FindingTitle", "traits": { "smithy.api#documentation": "The producer's title for the finding.", "smithy.api#required": {} } }, "severity": { "target": "com.amazonaws.continuum#FindingSeverityId", "traits": { "smithy.api#documentation": "The finding's severity.", "smithy.api#required": {} } }, "summary": { "target": "com.amazonaws.continuum#FindingDescription", "traits": { "smithy.api#documentation": "A one-paragraph description." } }, "detailedDescription": { "target": "com.amazonaws.continuum#FindingDescription", "traits": { "smithy.api#documentation": "The full analysis." } }, "category": { "target": "com.amazonaws.continuum#FindingCategory", "traits": { "smithy.api#documentation": "The producer's vulnerability category. Not a stable filter key across\nfinding types -- see FindingCategory." } }, "subCategory": { "target": "com.amazonaws.continuum#FindingCategory", "traits": { "smithy.api#documentation": "A more specific classification within `category`." } }, "cweIds": { "target": "com.amazonaws.continuum#CweIdList", "traits": { "smithy.api#documentation": "CWE identifiers classifying the finding." } }, "owaspCategory": { "target": "com.amazonaws.continuum#FindingCategory", "traits": { "smithy.api#documentation": "The OWASP Top 10 category, when the producer supplies one." } }, "mitigation": { "target": "com.amazonaws.continuum#FindingDescription", "traits": { "smithy.api#documentation": "How to fix the finding." } }, "filePath": { "target": "com.amazonaws.continuum#FindingFilePath", "traits": { "smithy.api#documentation": "The file the finding is about." } }, "lineNumber": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "The 1-indexed line the finding is about. Bounds are enforced\nserver-side rather than by a constraint trait: a numeric constraint\ngenerates a distinct newtype per enclosing structure, so the same\nconcept would not share a type across the create input and the read\noutput." } }, "cveId": { "target": "com.amazonaws.continuum#CveId", "traits": { "smithy.api#documentation": "The CVE this finding reports, for software-composition findings. Both\ncode types can carry one: a customer document supplies it under\nvulnerabilities[].cve, and Continuum's scanner reports CVEs for\ndependency-manifest findings." } }, "cvssBaseScore": { "target": "smithy.api#Double", "traits": { "smithy.api#documentation": "The CVSS base score accompanying `cveId`, when the producer supplies\none, from 0.0 to 10.0. Not computed by Continuum. The range is enforced\nserver-side, not by a @range trait -- the smithy-rs server SDK does not\nsupport range constraints on double shapes (smithy-rs#2007)." } }, "affectedPackages": { "target": "com.amazonaws.continuum#AffectedPackageList", "traits": { "smithy.api#documentation": "Packages implicated by the finding." } }, "vulnerableCode": { "target": "com.amazonaws.continuum#FindingCodeSnippet", "traits": { "smithy.api#documentation": "The vulnerable code fragment." } }, "relevantInputs": { "target": "com.amazonaws.continuum#FindingStringList", "traits": { "smithy.api#documentation": "User-controlled inputs that reach the vulnerability." } }, "stepsToReproduce": { "target": "com.amazonaws.continuum#FindingStringList", "traits": { "smithy.api#documentation": "Steps to reproduce or exploit the finding." } }, "validation": { "target": "com.amazonaws.continuum#FindingValidation", "traits": { "smithy.api#documentation": "The validator's assessment. Absent when no validation ran." } }, "endLine": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "The last line of the affected range, from the document's\naffected_code[].end_line." } }, "mitreTechniques": { "target": "com.amazonaws.continuum#FindingStringList", "traits": { "smithy.api#documentation": "MITRE ATT&CK technique identifiers, from the document's\nfinding_info.attacks[].technique.uid." } }, "remediationReferences": { "target": "com.amazonaws.continuum#FindingStringList", "traits": { "smithy.api#documentation": "Remediation references, from the document's\nvulnerabilities[].remediation.references." } }, "ocsfClass": { "target": "com.amazonaws.continuum#FindingOcsfClass", "traits": { "smithy.api#documentation": "The OCSF class the document declared. Determines whether `posture` is\npopulated." } }, "ocsfSchemaVersion": { "target": "com.amazonaws.continuum#FindingCategory", "traits": { "smithy.api#documentation": "The OCSF schema version the producer wrote against\n(metadata.version)." } }, "productName": { "target": "com.amazonaws.continuum#FindingCategory", "traits": { "smithy.api#documentation": "The producing product and vendor (metadata.product)." } }, "productVendorName": { "target": "com.amazonaws.continuum#FindingCategory" }, "productVersion": { "target": "com.amazonaws.continuum#FindingCategory" }, "sourceStatus": { "target": "com.amazonaws.continuum#FindingCategory", "traits": { "smithy.api#documentation": "The producer's own status for the finding, and the enum value behind it.\nDistinct from `status`, which is Continuum's lifecycle state -- a\nproducer may call a finding \"New\" while Continuum has it SUBMITTED." } }, "sourceStatusId": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "The producer's numeric enum value for `sourceStatus`." } }, "firstSeenAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "When the producer first observed the finding\n(finding_info.first_seen_time). The producer's own clock, not Continuum's.", "smithy.api#timestampFormat": "date-time" } }, "findingTypes": { "target": "com.amazonaws.continuum#FindingStringList", "traits": { "smithy.api#documentation": "The producer's own classification of the finding\n(finding_info.types)." } }, "vulnerabilities": { "target": "com.amazonaws.continuum#FindingVulnerabilityList", "traits": { "smithy.api#documentation": "Every vulnerability the document reported. A document may report\nseveral; the flat `cveId`/`cvssBaseScore`/`filePath`/`lineNumber`\nmembers above carry the first one's identity so a caller that only\nneeds \"what and where\" does not have to walk this list." } }, "resources": { "target": "com.amazonaws.continuum#FindingResourceList", "traits": { "smithy.api#documentation": "Resources the document named (resources[])." } }, "posture": { "target": "com.amazonaws.continuum#FindingPosture", "traits": { "smithy.api#documentation": "The compliance posture, for an Application Security Posture Finding.\nAbsent for a vulnerability finding." } }, "findingId": { "target": "com.amazonaws.continuum#FindingId", "traits": { "smithy.api#documentation": "The unique identifier of the finding.", "smithy.api#required": {} } }, "findingArn": { "target": "com.amazonaws.continuum#FindingArn", "traits": { "smithy.api#documentation": "The ARN of the finding.", "smithy.api#required": {} } }, "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The environment that owns the finding.", "smithy.api#required": {} } }, "source": { "target": "com.amazonaws.continuum#FindingSource", "traits": { "smithy.api#documentation": "The system that produced the finding.", "smithy.api#required": {} } }, "sourceFindingId": { "target": "com.amazonaws.continuum#SourceFindingId", "traits": { "smithy.api#documentation": "The producer's own identifier for the finding.", "smithy.api#required": {} } }, "reportedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "When the producer reported the finding -- its own clock, which is not\nContinuum's ingestion time. `createdAt` is when Continuum accepted it;\nthese are genuinely different instants and a reader usually wants this one.\n\nFor CreateCodeFinding, this is the submitted OCSF document's own top-level\n`time`. For findings Continuum's scanner produces, it is the finding's own\ncreation time.\n\nContinuum does not validate it for plausibility: a producer's value is\nechoed as given, so a `timestamp` here asserts the unit and format, not\nthat the instant is genuine.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "status": { "target": "com.amazonaws.continuum#FindingStatus", "traits": { "smithy.api#documentation": "The current lifecycle status of the finding.", "smithy.api#required": {} } }, "statusUpdatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the status last transitioned.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the finding was ingested.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "scanRunId": { "target": "com.amazonaws.continuum#ScanRunId", "traits": { "smithy.api#documentation": "The scan that produced the finding, when it came from one. For a\nfinding Continuum's scanner produced, this is the Continuum scan run\n(see GetCodeScan). For a finding submitted with CreateCodeFinding, it is the\nOCSF document's `metadata.correlation_uid`, when that value is a valid\nScanRunId. Absent when the finding did not come from a scan." } }, "statusMessage": { "target": "com.amazonaws.continuum#FindingStatusMessage", "traits": { "smithy.api#documentation": "Human-readable context about the current status." } }, "discardReason": { "target": "com.amazonaws.continuum#FindingDiscardReason", "traits": { "smithy.api#documentation": "Why the finding was not escalated. Present only when status is\nDISCARDED." } }, "discardReasoning": { "target": "com.amazonaws.continuum#FindingStatusMessage", "traits": { "smithy.api#documentation": "Customer-facing explanation accompanying `discardReason`." } }, "duplicateOfIssueId": { "target": "com.amazonaws.continuum#IssueId", "traits": { "smithy.api#documentation": "The existing issue this finding duplicates. Present only for the\nDUPLICATE_OF_* discard reasons." } }, "createdIssueId": { "target": "com.amazonaws.continuum#IssueId", "traits": { "smithy.api#documentation": "The issue Continuum created from this finding." } }, "completedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "When processing finished, whether by creating an issue or discarding.\nAbsent while the finding is still in flight.", "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "Contains the current state and details of the requested finding. Which type-specific members are populated depends on `type`.", "smithy.api#output": {} } }, "com.amazonaws.continuum#GetCodeIssue": { "type": "operation", "input": { "target": "com.amazonaws.continuum#GetCodeIssueInput" }, "output": { "target": "com.amazonaws.continuum#GetCodeIssueOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to get a code issue", "resources": { "required": { "code-issues": {} } } }, "smithy.api#documentation": "Retrieves the current state and details of an issue.", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/environments/{environmentId}/code-issues/{issueId}" }, "smithy.api#readonly": {} } }, "com.amazonaws.continuum#GetCodeIssueArtifact": { "type": "operation", "input": { "target": "com.amazonaws.continuum#GetCodeIssueArtifactInput" }, "output": { "target": "com.amazonaws.continuum#GetCodeIssueArtifactOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to get an artifact of a code issue", "resources": { "required": { "code-issues": {} } } }, "smithy.api#documentation": "Retrieves one immutable artifact attached to an issue, including its content.", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/environments/{environmentId}/code-issues/{issueId}/artifacts/{artifactId}" }, "smithy.api#readonly": {} } }, "com.amazonaws.continuum#GetCodeIssueArtifactInput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The environment that owns the issue.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "issueId": { "target": "com.amazonaws.continuum#IssueId", "traits": { "smithy.api#documentation": "The issue the artifact is attached to.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "artifactId": { "target": "com.amazonaws.continuum#IssueArtifactId", "traits": { "smithy.api#documentation": "The unique identifier of the artifact to retrieve.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the artifact to retrieve.", "smithy.api#input": {} } }, "com.amazonaws.continuum#GetCodeIssueArtifactOutput": { "type": "structure", "members": { "artifactId": { "target": "com.amazonaws.continuum#IssueArtifactId", "traits": { "smithy.api#documentation": "The unique identifier of the artifact.", "smithy.api#required": {} } }, "artifactType": { "target": "com.amazonaws.continuum#IssueArtifactType", "traits": { "smithy.api#documentation": "Semantic category of the artifact.", "smithy.api#required": {} } }, "mediaType": { "target": "com.amazonaws.continuum#IssueArtifactMediaType", "traits": { "smithy.api#documentation": "MIME type the producer declared for its content.", "smithy.api#required": {} } }, "body": { "target": "com.amazonaws.continuum#IssueArtifactBody", "traits": { "smithy.api#documentation": "The artifact body, projected against the shape defined for its\nartifactType. A type with a defined shape is returned as that structure,\nand anything else through `IssueArtifactBody.raw`.", "smithy.api#required": {} } }, "metadata": { "target": "smithy.api#Document", "traits": { "smithy.api#documentation": "Producer-defined structured metadata, when the producer supplied any.\n\nReturned only for an artifactType whose content has no defined shape, so\nthat the artifact stays inspectable. For an artifactType with a defined\nshape, `body` carries the content and this member is omitted." } }, "producer": { "target": "com.amazonaws.continuum#IssueArtifactProducerSummary", "traits": { "smithy.api#documentation": "The agent that produced the artifact.", "smithy.api#required": {} } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the artifact was created.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "Contains the requested artifact and its content.", "smithy.api#output": {} } }, "com.amazonaws.continuum#GetCodeIssueInput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The environment that owns the issue.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "issueId": { "target": "com.amazonaws.continuum#IssueId", "traits": { "smithy.api#documentation": "The unique identifier of the issue to retrieve.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the issue to retrieve.", "smithy.api#input": {} } }, "com.amazonaws.continuum#GetCodeIssueOutput": { "type": "structure", "members": { "issueId": { "target": "com.amazonaws.continuum#IssueId", "traits": { "smithy.api#documentation": "The unique identifier of the issue.", "smithy.api#required": {} } }, "issueArn": { "target": "com.amazonaws.continuum#IssueArn", "traits": { "smithy.api#documentation": "The ARN of the issue.", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.continuum#IssueName", "traits": { "smithy.api#documentation": "The name of the issue.", "smithy.api#required": {} } }, "synopsis": { "target": "com.amazonaws.continuum#IssueSynopsis", "traits": { "smithy.api#documentation": "A free-form synopsis of the issue.", "smithy.api#required": {} } }, "severity": { "target": "com.amazonaws.continuum#IssueSeverity", "traits": { "smithy.api#documentation": "Current severity: the FindingSeverity seed at create, overwritten by the\nauthoritative severity that prioritization assigns after validation." } }, "confidence": { "target": "com.amazonaws.continuum#IssueConfidence", "traits": { "smithy.api#documentation": "The likelihood that this issue is a true positive, expressed as a percentage (0-100)." } }, "severityReasoning": { "target": "com.amazonaws.continuum#IssueSeverityReasoning", "traits": { "smithy.api#documentation": "The justification for the current severity. Always leads with a\ncustomer-facing basis clause synthesized from how the severity was\ndetermined (e.g. \"Severity from finding.\", \"Severity from Continuum\nsystem.\"); when prioritization has run, its own reasoning follows.\nIssues created before the basis clause was introduced return their\noriginal reasoning without it." } }, "summary": { "target": "com.amazonaws.continuum#IssueRemediationSummary", "traits": { "smithy.api#documentation": "The remediation completion summary, when the green stage has run." } }, "findingIds": { "target": "com.amazonaws.continuum#IssueFindingIds", "traits": { "smithy.api#documentation": "The findings that motivated this issue. Bare identifiers only -- a caller\nauthorized for GetCodeIssue is not necessarily authorized to read finding detail;\ncall GetCodeFinding for that. Every referenced finding is included regardless of\norigin (both CustomerUploaded and ContinuumScanner).", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.continuum#IssueStatus", "traits": { "smithy.api#documentation": "The current lifecycle status of the issue.", "smithy.api#required": {} } }, "phase": { "target": "com.amazonaws.continuum#IssuePhase", "traits": { "smithy.api#documentation": "The part of the workflow the issue is in. Present when status is\nIN_PROGRESS, and when status is FAILED and the failing phase is known." } }, "statusReason": { "target": "com.amazonaws.continuum#IssueStatusReason", "traits": { "smithy.api#documentation": "Why the issue failed. Present only when status is FAILED." } }, "statusMessage": { "target": "com.amazonaws.continuum#IssueStatusMessage", "traits": { "smithy.api#documentation": "Customer-facing explanation of statusReason. Present only when status is\nFAILED." } }, "statusUpdatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the status or phase last changed.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the issue was created.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "updatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when any field of the issue last changed. Advances on every\nmutation (including score-only updates that do not transition status), so\nit is greater than or equal to statusUpdatedAt.", "smithy.api#timestampFormat": "date-time" } }, "evidenceAvailability": { "target": "com.amazonaws.continuum#IssueEvidenceAvailability", "traits": { "smithy.api#documentation": "Whether the issue has any attached evidence (formerly 'artifacts':\ntool output, remediation proposals, patches). NONE = no evidence;\nAVAILABLE = at least one evidence item exists. Computed at read time." } }, "patchDelivery": { "target": "com.amazonaws.continuum#IssuePatchDelivery", "traits": { "smithy.api#documentation": "Customer delivery of the issue's patches, summarized from its PATCH\nartifacts at read time. Absent when no patch has a destination delivery." } } }, "traits": { "smithy.api#documentation": "Contains the current state and details of the requested issue.", "smithy.api#output": {} } }, "com.amazonaws.continuum#GetCodeScan": { "type": "operation", "input": { "target": "com.amazonaws.continuum#GetCodeScanInput" }, "output": { "target": "com.amazonaws.continuum#GetCodeScanOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to get a code scan", "resources": { "required": { "code-scans": {} } } }, "smithy.api#documentation": "Retrieves one customer-visible environment scan.", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/environments/{environmentId}/code-scans/{scanRunId}" }, "smithy.api#readonly": {}, "smithy.waiters#waitable": { "CodeScanSucceeded": { "documentation": "Waits until the scan reaches SUCCEEDED, at which point the scan has finished and its findings are available from ListCodeFindings (filter on scanRunId). Triage of those findings and creation of issues continue asynchronously after the scan succeeds. Fails if the scan reaches FAILED. Scans run a build followed by analysis and can take from minutes to several hours. SDKs that use exponential backoff wait at least 60 seconds between polls and back off to at most 8 hours between polls, until the caller's maximum wait time elapses. SDKs and the AWS CLI that use a fixed delay poll every 60 seconds for up to 480 attempts (8 hours).", "minDelay": 60, "maxDelay": 28800, "acceptors": [ { "state": "success", "matcher": { "output": { "path": "scan.status", "expected": "SUCCEEDED", "comparator": "stringEquals" } } }, { "state": "failure", "matcher": { "output": { "path": "scan.status", "expected": "FAILED", "comparator": "stringEquals" } } } ] } } } }, "com.amazonaws.continuum#GetCodeScanInput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "Environment that owns the scan.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "scanRunId": { "target": "com.amazonaws.continuum#ScanRunId", "traits": { "smithy.api#documentation": "Scan to retrieve.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.continuum#GetCodeScanOutput": { "type": "structure", "members": { "scan": { "target": "com.amazonaws.continuum#CodeScanData", "traits": { "smithy.api#documentation": "Complete customer-visible scan data.", "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.continuum#GetCollector": { "type": "operation", "input": { "target": "com.amazonaws.continuum#GetCollectorInput" }, "output": { "target": "com.amazonaws.continuum#GetCollectorOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to get a collector", "resources": { "required": { "collectors": {} } } }, "smithy.api#documentation": "Retrieves the current state of the Collector for the caller's account.", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/collectors/{collectorId}" }, "smithy.api#readonly": {} } }, "com.amazonaws.continuum#GetCollectorDataAccessAuthorization": { "type": "operation", "input": { "target": "com.amazonaws.continuum#GetCollectorDataAccessAuthorizationInput" }, "output": { "target": "com.amazonaws.continuum#GetCollectorDataAccessAuthorizationOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#conditionKeys": [ "continuum:EnvironmentArn" ], "aws.iam#iamAction": { "documentation": "Grants permission to access the data of a collector from an environment", "resources": { "required": { "collectors": {} } } }, "smithy.api#documentation": "Authorizes an Environment's access to a Collector's data. Continuum calls this\noperation with the Environment's Collector data-access role before it reads the\nCollector's inventory, so grant continuum:GetCollectorDataAccessAuthorization to\nthat role and, for a Collector in another account, in the Collector's resource\npolicy. The operation evaluates the action against the exact Collector ARN and\nthe Collector's current resource policy using IAM and the caller's authenticated\nrequest context, with environmentArn as the continuum:EnvironmentArn condition\nkey. A successful request returns HTTP 200 with no response members. If access\nis not granted, the operation returns AccessDeniedException without disclosing\nCollector existence, ownership, or the policy layer that denied access. The\nservice does not reinterpret the policy using only an account ID.\n", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/collectors/{collectorId}/data-access-authorization" }, "smithy.api#readonly": {} } }, "com.amazonaws.continuum#GetCollectorDataAccessAuthorizationInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.continuum#AwsAccountId", "traits": { "smithy.api#documentation": "The AWS account that owns the Collector.", "smithy.api#httpQuery": "accountId", "smithy.api#required": {} } }, "collectorId": { "target": "com.amazonaws.continuum#CollectorId", "traits": { "smithy.api#documentation": "The unique identifier of the Collector.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "environmentArn": { "target": "com.amazonaws.continuum#EnvironmentArn", "traits": { "aws.iam#conditionKeyValue": "continuum:EnvironmentArn", "smithy.api#documentation": "The full ARN of the Environment requesting the Collector's data. The\nEnvironment must be in the caller's account. Continuum supplies this value\nas the continuum:EnvironmentArn condition key.", "smithy.api#httpQuery": "environmentArn" } } }, "traits": { "smithy.api#documentation": "Identifies the Collector whose inventory is requested.", "smithy.api#input": {} } }, "com.amazonaws.continuum#GetCollectorDataAccessAuthorizationOutput": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "Empty response returned when the authenticated caller is authorized to access the Collector's data.", "smithy.api#output": {} } }, "com.amazonaws.continuum#GetCollectorInput": { "type": "structure", "members": { "collectorId": { "target": "com.amazonaws.continuum#CollectorId", "traits": { "smithy.api#documentation": "The unique identifier of the Collector to retrieve.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the Collector to retrieve.", "smithy.api#input": {} } }, "com.amazonaws.continuum#GetCollectorOutput": { "type": "structure", "members": { "collectorId": { "target": "com.amazonaws.continuum#CollectorId", "traits": { "smithy.api#documentation": "The unique identifier of the Collector.", "smithy.api#required": {} } }, "collectorArn": { "target": "com.amazonaws.continuum#CollectorArn", "traits": { "smithy.api#documentation": "The ARN of the Collector.", "smithy.api#required": {} } }, "type": { "target": "com.amazonaws.continuum#CollectorType", "traits": { "smithy.api#documentation": "The source collected by this Collector.", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.continuum#CollectorStatus", "traits": { "smithy.api#documentation": "The current lifecycle status.", "smithy.api#required": {} } }, "configRecorderArn": { "target": "com.amazonaws.continuum#ConfigRecorderArn", "traits": { "smithy.api#documentation": "The ARN of the provisioned AWS Config Recorder." } }, "kubernetesClusterRoleArn": { "target": "com.amazonaws.continuum#KubernetesClusterRoleArn", "traits": { "smithy.api#documentation": "IAM role used to collect Kubernetes cluster metadata.", "smithy.api#jsonName": "k8ClusterRole" } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the Collector was created.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "updatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The time of the last successful UpdateCollector call, returned at\nwhole-second precision in the same date-time format as createdAt.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "Contains the current state of the Collector.", "smithy.api#output": {} } }, "com.amazonaws.continuum#GetEnvironment": { "type": "operation", "input": { "target": "com.amazonaws.continuum#GetEnvironmentInput" }, "output": { "target": "com.amazonaws.continuum#GetEnvironmentOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to get an environment", "resources": { "required": { "environments": {} } } }, "smithy.api#documentation": "Retrieves the current state and configuration of an environment.", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/environments/{environmentId}" }, "smithy.api#readonly": {} } }, "com.amazonaws.continuum#GetEnvironmentInput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the environment to retrieve.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the environment to retrieve.", "smithy.api#input": {} } }, "com.amazonaws.continuum#GetEnvironmentOutput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the environment.", "smithy.api#required": {} } }, "environmentArn": { "target": "com.amazonaws.continuum#EnvironmentArn", "traits": { "smithy.api#documentation": "The ARN of the environment.", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.continuum#EnvironmentName", "traits": { "smithy.api#documentation": "The customer-visible name of the environment.", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.continuum#EnvironmentStatus", "traits": { "smithy.api#documentation": "The current operational status of the environment.", "smithy.api#required": {} } }, "statusMessage": { "target": "com.amazonaws.continuum#EnvironmentStatusMessage", "traits": { "smithy.api#documentation": "Human-readable details about the current status.\nPresent when the status requires additional context (e.g., failure reason)." } }, "statusUpdatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the status last transitioned.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the environment was created.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "updatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the environment's properties were last updated.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "configuration": { "target": "com.amazonaws.continuum#EnvironmentConfigurationDetails", "traits": { "smithy.api#documentation": "Type-specific configuration and state, including code sources, operating\npolicy, Collector details, and the latest scan.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains the current state and configuration of the requested environment.", "smithy.api#output": {} } }, "com.amazonaws.continuum#GetIntegration": { "type": "operation", "input": { "target": "com.amazonaws.continuum#GetIntegrationInput" }, "output": { "target": "com.amazonaws.continuum#GetIntegrationOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to get an integration", "resources": { "required": { "integrations": {} } } }, "smithy.api#documentation": "Retrieves information about an integration.", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/integrations/{integrationId}" }, "smithy.api#readonly": {} } }, "com.amazonaws.continuum#GetIntegrationInput": { "type": "structure", "members": { "integrationId": { "target": "com.amazonaws.continuum#IntegrationId", "traits": { "smithy.api#documentation": "The unique identifier of the integration to retrieve.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the integration to retrieve.", "smithy.api#input": {} } }, "com.amazonaws.continuum#GetIntegrationOutput": { "type": "structure", "members": { "integrationId": { "target": "com.amazonaws.continuum#IntegrationId", "traits": { "smithy.api#documentation": "The unique identifier of the integration.", "smithy.api#required": {} } }, "integrationArn": { "target": "com.amazonaws.continuum#IntegrationArn", "traits": { "smithy.api#documentation": "The ARN of the integration.", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.continuum#IntegrationName", "traits": { "smithy.api#documentation": "The name of the integration.", "smithy.api#required": {} } }, "integrationType": { "target": "com.amazonaws.continuum#IntegrationType", "traits": { "smithy.api#documentation": "The immutable provider type for the integration.", "smithy.api#required": {} } }, "providerDetails": { "target": "com.amazonaws.continuum#ProviderDetails", "traits": { "smithy.api#documentation": "Provider-specific details for the integration.", "smithy.api#required": {} } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the integration was created.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "updatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the integration was last updated.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "Contains metadata for the requested integration.", "smithy.api#output": {} } }, "com.amazonaws.continuum#GetResourcePolicy": { "type": "operation", "input": { "target": "com.amazonaws.continuum#GetResourcePolicyInput" }, "output": { "target": "com.amazonaws.continuum#GetResourcePolicyOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to get the resource policy attached to a resource", "resources": { "required": { "collectors": {} } } }, "smithy.api#documentation": "Retrieves the resource policy attached to a Continuum resource.", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/resourcepolicy" }, "smithy.api#readonly": {} } }, "com.amazonaws.continuum#GetResourcePolicyInput": { "type": "structure", "members": { "arn": { "target": "com.amazonaws.continuum#ResourcePolicyTargetArn", "traits": { "smithy.api#documentation": "The ARN of a resource in the caller's account.", "smithy.api#httpQuery": "arn", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the resource.", "smithy.api#input": {} } }, "com.amazonaws.continuum#GetResourcePolicyOutput": { "type": "structure", "members": { "arn": { "target": "com.amazonaws.continuum#ResourcePolicyTargetArn", "traits": { "smithy.api#required": {} } }, "policy": { "target": "com.amazonaws.continuum#ResourcePolicyDocument", "traits": { "smithy.api#required": {} } }, "revisionId": { "target": "com.amazonaws.continuum#ResourcePolicyRevisionId", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains the resource policy.", "smithy.api#output": {} } }, "com.amazonaws.continuum#GitHubAuthorizationConfiguration": { "type": "structure", "members": { "authorizationCode": { "target": "com.amazonaws.continuum#AuthorizationCode", "traits": { "smithy.api#documentation": "The OAuth authorization code returned by GitHub after the user authorizes the application.", "smithy.api#required": {} } }, "state": { "target": "com.amazonaws.continuum#OAuthState", "traits": { "smithy.api#documentation": "The `state` returned by GitHub in the OAuth callback. It must be the state\nthat StartIntegrationAuthorization returned to the same AWS account, and the\nauthorization request must have sent that call's codeChallenge. The state can\nbe redeemed once. A stage that enforces authorization sessions rejects a\nmissing, expired, already used, or other-account state with\nValidationException; restart the authorization with\nStartIntegrationAuthorization.", "smithy.api#required": {} } }, "redirectUrl": { "target": "com.amazonaws.continuum#RedirectUrl", "traits": { "smithy.api#documentation": "The redirect URL used to obtain the authorization code. Must match one of the\nredirect URLs registered on the GitHub App. If omitted, the App's default\nredirect URL is used. Not stored or returned after creation." } } }, "traits": { "smithy.api#documentation": "Write-only OAuth credentials used to authorize a GitHub.com integration. Not stored or returned after creation." } }, "com.amazonaws.continuum#GitHubConfiguration": { "type": "structure", "members": { "authorization": { "target": "com.amazonaws.continuum#GitHubAuthorizationConfiguration", "traits": { "smithy.api#documentation": "OAuth authorization used to establish the integration.\nRequired on create; not returned on read operations.", "smithy.api#required": {} } }, "organizationName": { "target": "com.amazonaws.continuum#GitHubOrganizationName", "traits": { "smithy.api#documentation": "The name of the GitHub organization to associate with the integration.\nIf not specified, the integration is associated with the authenticated user's personal account." } } }, "traits": { "smithy.api#documentation": "Configuration for a GitHub.com integration using the OAuth authorization code flow." } }, "com.amazonaws.continuum#GitHubDetails": { "type": "structure", "members": { "organizationName": { "target": "com.amazonaws.continuum#GitHubOrganizationName", "traits": { "smithy.api#documentation": "The name of the GitHub organization associated with the integration." } } }, "traits": { "smithy.api#documentation": "Details for a GitHub.com integration." } }, "com.amazonaws.continuum#GitHubOrganizationName": { "type": "string", "traits": { "smithy.api#documentation": "The name of a GitHub organization.", "smithy.api#length": { "min": 1, "max": 39 }, "smithy.api#pattern": "^[a-zA-Z0-9]([a-zA-Z0-9\\-]*[a-zA-Z0-9])?$" } }, "com.amazonaws.continuum#GitHubTarget": { "type": "structure", "members": { "owner": { "target": "com.amazonaws.continuum#DeliveryGitHubName", "traits": { "smithy.api#documentation": "The GitHub user or organization that owns the repository.", "smithy.api#required": {} } }, "repository": { "target": "com.amazonaws.continuum#DeliveryGitHubName", "traits": { "smithy.api#documentation": "The repository name.", "smithy.api#required": {} } }, "pullRequestNumber": { "target": "com.amazonaws.continuum#DeliveryPullRequestNumber", "traits": { "smithy.api#documentation": "Repository-scoped pull request number assigned by GitHub." } }, "headSha": { "target": "com.amazonaws.continuum#DeliveryGitCommitSha", "traits": { "smithy.api#documentation": "The head commit SHA of the pull request. Absent until the pull request\nis opened." } } }, "traits": { "smithy.api#documentation": "The GitHub repository a patch is delivered to, and the pull request that\ncarries it once opened." } }, "com.amazonaws.continuum#GitLabAccessToken": { "type": "string", "traits": { "smithy.api#documentation": "A write-only GitLab access token (personal, group or project access token).\nA type-agnostic bearer token; not stored or returned after creation.", "smithy.api#length": { "min": 1, "max": 512 }, "smithy.api#sensitive": {}, "smithy.api#unstable": {} } }, "com.amazonaws.continuum#GitLabConfiguration": { "type": "structure", "members": { "instanceUrl": { "target": "com.amazonaws.continuum#GitLabInstanceUrl", "traits": { "smithy.api#documentation": "The HTTPS base URL of the GitLab instance (gitlab.com or self-managed).", "smithy.api#required": {} } }, "targetType": { "target": "com.amazonaws.continuum#GitLabTargetType", "traits": { "smithy.api#documentation": "Whether the integration targets a group or a single project.", "smithy.api#required": {} } }, "targetPath": { "target": "com.amazonaws.continuum#GitLabTargetPath", "traits": { "smithy.api#documentation": "The group or project path the integration targets.", "smithy.api#required": {} } }, "accessToken": { "target": "com.amazonaws.continuum#GitLabAccessToken", "traits": { "smithy.api#documentation": "The GitLab access token (personal, group or project). Write-only; not\nstored or returned after creation. If the token carries the self-rotate\nscope, rotation is opted in and Continuum manages the token thereafter.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Configuration for a GitLab integration using a pasted access token.", "smithy.api#unstable": {} } }, "com.amazonaws.continuum#GitLabDetails": { "type": "structure", "members": { "instanceUrl": { "target": "com.amazonaws.continuum#GitLabInstanceUrl", "traits": { "smithy.api#documentation": "The HTTPS base URL of the GitLab instance.", "smithy.api#required": {} } }, "targetType": { "target": "com.amazonaws.continuum#GitLabTargetType", "traits": { "smithy.api#documentation": "Whether the integration targets a group or a single project.", "smithy.api#required": {} } }, "targetPath": { "target": "com.amazonaws.continuum#GitLabTargetPath", "traits": { "smithy.api#documentation": "The group or project path the integration targets.", "smithy.api#required": {} } }, "tokenRotation": { "target": "com.amazonaws.continuum#GitLabTokenRotation", "traits": { "smithy.api#documentation": "How the integration's access token is rotated. AUTOMATIC only when the\npasted token had the self-rotate scope and rotation was opted in at\ninstallation time.", "smithy.api#required": {} } }, "expiresAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The expiry of the stored access token, for non-rotating tokens only. A\nrotated token's original expiry is stale, so this is omitted when\ntokenRotation is AUTOMATIC.", "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "Details for a GitLab integration.", "smithy.api#unstable": {} } }, "com.amazonaws.continuum#GitLabInstanceUrl": { "type": "string", "traits": { "smithy.api#documentation": "The HTTPS base URL of the GitLab instance (gitlab.com or a self-managed instance).", "smithy.api#length": { "min": 9, "max": 2083 }, "smithy.api#pattern": "^https://\\S+$", "smithy.api#unstable": {} } }, "com.amazonaws.continuum#GitLabTargetPath": { "type": "string", "traits": { "smithy.api#documentation": "The GitLab group or project path (nested, slash-separated), e.g. \"my-org/platform/widgets\".\nEach slash-delimited segment must start with an alphanumeric, so `..`\nsegments and empty, leading or trailing slashes are rejected.", "smithy.api#length": { "min": 1, "max": 1024 }, "smithy.api#pattern": "^[A-Za-z0-9][A-Za-z0-9._\\-]*(/[A-Za-z0-9][A-Za-z0-9._\\-]*)*$", "smithy.api#unstable": {} } }, "com.amazonaws.continuum#GitLabTargetType": { "type": "enum", "members": { "GROUP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GROUP" } }, "PROJECT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PROJECT" } } }, "traits": { "smithy.api#documentation": "Whether the GitLab integration targets an entire group or a single project.", "smithy.api#unstable": {} } }, "com.amazonaws.continuum#GitLabTokenRotation": { "type": "enum", "members": { "AUTOMATIC": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Continuum rotates the token before it expires.", "smithy.api#enumValue": "AUTOMATIC" } }, "NONE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The token is not rotated and stops working at its expiry.", "smithy.api#enumValue": "NONE" } } }, "traits": { "smithy.api#documentation": "How a GitLab integration's access token is rotated.", "smithy.api#unstable": {} } }, "com.amazonaws.continuum#Integration": { "type": "resource", "identifiers": { "integrationId": { "target": "com.amazonaws.continuum#IntegrationId" } }, "create": { "target": "com.amazonaws.continuum#CreateIntegration" }, "read": { "target": "com.amazonaws.continuum#GetIntegration" }, "update": { "target": "com.amazonaws.continuum#UpdateIntegration" }, "delete": { "target": "com.amazonaws.continuum#DeleteIntegration" }, "list": { "target": "com.amazonaws.continuum#ListIntegrations" }, "traits": { "aws.api#arn": { "template": "integrations/{integrationId}" }, "aws.iam#iamResource": { "name": "integrations" }, "smithy.api#documentation": "An integration with an external source provider, such as GitHub or Amazon S3. The provider type is fixed at creation. Only an S3 integration's IAM role and external ID can be updated; GitHub integrations cannot be modified." } }, "com.amazonaws.continuum#IntegrationArn": { "type": "string", "traits": { "aws.api#arnReference": { "resource": "com.amazonaws.continuum#Integration" }, "smithy.api#documentation": "The Amazon Resource Name (ARN) of an Integration resource,\nof the form arn:{partition}:continuum:{region}:{account}:integrations/{integrationId}.", "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:[a-z0-9-]+:continuum:[a-z0-9-]+:[0-9]{12}:integrations/[a-z0-9]+$" } }, "com.amazonaws.continuum#IntegrationAuthorizationProviderType": { "type": "enum", "members": { "GITHUB": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "GitHub.com. The authorization code is exchanged by a GitHub CreateIntegration.", "smithy.api#enumValue": "GITHUB" } } }, "traits": { "smithy.api#documentation": "A provider whose OAuth authorization can be started with StartIntegrationAuthorization." } }, "com.amazonaws.continuum#IntegrationClientToken": { "type": "string", "traits": { "smithy.api#documentation": "Caller-provided token identifying one Integration creation attempt.\nAccepts ASCII characters 33 through 126.", "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[!-~]+$" } }, "com.amazonaws.continuum#IntegrationId": { "type": "string", "traits": { "smithy.api#documentation": "The unique identifier for an Integration resource.", "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-z0-9]+$" } }, "com.amazonaws.continuum#IntegrationName": { "type": "string", "traits": { "smithy.api#documentation": "The name for an integration.", "smithy.api#length": { "min": 1, "max": 255 } } }, "com.amazonaws.continuum#IntegrationS3BucketName": { "type": "string", "traits": { "smithy.api#documentation": "Customer-managed S3 bucket name.", "smithy.api#length": { "min": 3, "max": 63 }, "smithy.api#pattern": "^[a-z0-9][a-z0-9.\\-]{1,61}[a-z0-9]$" } }, "com.amazonaws.continuum#IntegrationS3ExternalId": { "type": "string", "traits": { "smithy.api#documentation": "Caller-provided external ID used when Continuum assumes the S3 integration role.", "smithy.api#length": { "min": 2, "max": 1224 }, "smithy.api#pattern": "^[\\w+=,.@:\\/-]+$", "smithy.api#sensitive": {} } }, "com.amazonaws.continuum#IntegrationS3RoleArn": { "type": "string", "traits": { "aws.api#arnReference": { "type": "AWS::IAM::Role" }, "smithy.api#documentation": "IAM role assumed by Continuum to read a customer-managed S3 integration.", "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:[a-z0-9-]+:iam::[0-9]{12}:role/[a-zA-Z0-9_+=,.@/-]+$" } }, "com.amazonaws.continuum#IntegrationSummaries": { "type": "list", "member": { "target": "com.amazonaws.continuum#IntegrationSummary" }, "traits": { "smithy.api#documentation": "A list of integration summaries." } }, "com.amazonaws.continuum#IntegrationSummary": { "type": "structure", "members": { "integrationId": { "target": "com.amazonaws.continuum#IntegrationId", "traits": { "smithy.api#documentation": "The unique identifier of the integration.", "smithy.api#required": {} } }, "integrationArn": { "target": "com.amazonaws.continuum#IntegrationArn", "traits": { "smithy.api#documentation": "The ARN of the integration.", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.continuum#IntegrationName", "traits": { "smithy.api#documentation": "The name of the integration.", "smithy.api#required": {} } }, "integrationType": { "target": "com.amazonaws.continuum#IntegrationType", "traits": { "smithy.api#documentation": "The immutable provider type for the integration.", "smithy.api#required": {} } }, "providerDetails": { "target": "com.amazonaws.continuum#ProviderDetails", "traits": { "smithy.api#documentation": "Provider-specific details for the integration.", "smithy.api#required": {} } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the integration was created.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "updatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the integration was last updated.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "A summary of an integration returned in list responses." } }, "com.amazonaws.continuum#IntegrationType": { "type": "enum", "members": { "GITHUB": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GITHUB" } }, "GITLAB": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GITLAB", "smithy.api#unstable": {} } }, "S3": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "S3" } } }, "traits": { "smithy.api#documentation": "The immutable provider type for an integration." } }, "com.amazonaws.continuum#InternalServerException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "Error description.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.", "smithy.api#error": "server", "smithy.api#httpError": 500, "smithy.api#retryable": {} } }, "com.amazonaws.continuum#IssueArn": { "type": "string", "traits": { "aws.api#arnReference": { "resource": "com.amazonaws.continuum#CodeIssue" }, "smithy.api#documentation": "The Amazon Resource Name (ARN) of an Issue resource,\nof the form arn:{partition}:continuum:{region}:{account}:environments/{environmentId}/code-issues/{issueId}.", "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:[a-z0-9-]+:continuum:[a-z0-9-]+:[0-9]{12}:environments/[a-z0-9]+/code-issues/[a-z0-9]+$" } }, "com.amazonaws.continuum#IssueArtifactBody": { "type": "union", "members": { "validationEvidence": { "target": "com.amazonaws.continuum#ValidationEvidenceBody", "traits": { "smithy.api#documentation": "Projected VALIDATION_EVIDENCE content." } }, "prevalidationSignals": { "target": "com.amazonaws.continuum#PrevalidationSignalsBody", "traits": { "smithy.api#documentation": "Projected EVIDENCE content whose stored envelope declares\n`artifact_kind: prevalidation_signals` \u2014 the severity signals prioritization uses.\n\nOne artifactType can select different members here: EVIDENCE also carries\nthe prioritization markdown narrative, which is not JSON and so returns\nthrough `raw`. The member is therefore chosen by artifactType AND, for a\ntype that carries more than one payload kind, the content's own\ndiscriminator." } }, "remediationProposal": { "target": "com.amazonaws.continuum#RemediationProposalBody", "traits": { "smithy.api#documentation": "Projected REMEDIATION_PROPOSAL content: a patch the remediation agent\nproduced, with the descriptors needed to apply and verify it.\n\nREMEDIATION_PROPOSAL content that does not match this shape is returned\nthrough `raw`." } }, "patch": { "target": "com.amazonaws.continuum#PatchBody", "traits": { "smithy.api#documentation": "Projected PATCH content: the remediation patch for one repository, with\nthe descriptors needed to verify and apply it and the state of its\ndelivery to the customer's own bucket or repository.\n\nEvery PATCH projects here. The descriptors come from members Control\nPlane computes or owns when it stores the patch, not from producer\nmetadata, so this member is the whole PATCH contract and `metadata` is\nomitted for it." } }, "raw": { "target": "com.amazonaws.continuum#IssueArtifactContent", "traits": { "smithy.api#documentation": "The producer's content verbatim, for an artifactType with no defined\nshape or content that failed to parse against its shape." } } }, "traits": { "smithy.api#documentation": "The projected body of an artifact. The active member is selected by the artifact's artifactType, and for a type that carries more than one payload kind by the stored content's own discriminator; `raw` carries content for types with no defined shape yet and for content that did not match its shape." } }, "com.amazonaws.continuum#IssueArtifactContent": { "type": "string", "traits": { "smithy.api#documentation": "Inline artifact content. One shared shape keeps the existing content member\nand generated SDK type stable across artifact kinds instead of adding a\nPATCH-only member or changing the wire contract to a kind-specific union.\nThe shared model bound accommodates PATCH; kind-specific limits are enforced\nby the service after deserialization: PATCH accepts up to 5,242,880 UTF-8 bytes\n(5 MiB), while non-PATCH kinds, including initial Issue artifacts, are limited\nto 1,048,576 characters (1 MiB of characters). The wider shared model bound is\nnot the non-PATCH limit.\nPATCH reads return the raw content from the immutable service copy; storage\nreceipts remain private implementation data.", "smithy.api#length": { "min": 1, "max": 5242880 } } }, "com.amazonaws.continuum#IssueArtifactId": { "type": "string", "traits": { "smithy.api#documentation": "Shared identifier for any issue artifact, regardless of kind.", "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-z0-9]+$" } }, "com.amazonaws.continuum#IssueArtifactItem": { "type": "structure", "members": { "artifactId": { "target": "com.amazonaws.continuum#IssueArtifactId", "traits": { "smithy.api#documentation": "The unique identifier of the artifact.", "smithy.api#required": {} } }, "artifactType": { "target": "com.amazonaws.continuum#IssueArtifactType", "traits": { "smithy.api#documentation": "Semantic category of the artifact.", "smithy.api#required": {} } }, "mediaType": { "target": "com.amazonaws.continuum#IssueArtifactMediaType", "traits": { "smithy.api#documentation": "MIME type of the artifact content.", "smithy.api#required": {} } }, "producer": { "target": "com.amazonaws.continuum#IssueArtifactProducerSummary", "traits": { "smithy.api#documentation": "The agent that produced the artifact.", "smithy.api#required": {} } }, "contentSizeBytes": { "target": "smithy.api#Long", "traits": { "smithy.api#documentation": "Size of the artifact content in bytes. The content itself is returned by\nGetCodeIssueArtifact.", "smithy.api#required": {} } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the artifact was created.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "A summary of an artifact returned in list responses." } }, "com.amazonaws.continuum#IssueArtifactMediaType": { "type": "string", "traits": { "smithy.api#documentation": "MIME type describing an artifact's inline content, for example text/markdown,\napplication/json, or text/plain.", "smithy.api#length": { "min": 3, "max": 255 } } }, "com.amazonaws.continuum#IssueArtifactProducerName": { "type": "string", "traits": { "smithy.api#documentation": "Stable name of the agent that produced an artifact.", "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,127}$" } }, "com.amazonaws.continuum#IssueArtifactProducerSummary": { "type": "structure", "members": { "agent": { "target": "com.amazonaws.continuum#IssueArtifactProducerName", "traits": { "smithy.api#documentation": "Stable producer name, such as ContinuumValidation.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The agent that produced an artifact." } }, "com.amazonaws.continuum#IssueArtifactType": { "type": "enum", "members": { "EVIDENCE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EVIDENCE" } }, "AGENT_COMMUNICATION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AGENT_COMMUNICATION" } }, "VALIDATION_EVIDENCE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "VALIDATION_EVIDENCE" } }, "REMEDIATION_PROPOSAL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "REMEDIATION_PROPOSAL" } }, "DECISION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DECISION" } }, "PATCH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PATCH" } } }, "traits": { "smithy.api#documentation": "The category of an artifact attached to an issue, such as evidence,\nvalidation evidence, a remediation proposal, a decision, or a patch." } }, "com.amazonaws.continuum#IssueConfidence": { "type": "integer", "traits": { "smithy.api#documentation": "The likelihood that this issue is a true positive, expressed as a percentage (0-100).\nDistinct from severity, which measures impact rather than likelihood. Continuum\nsets this value; callers can't set it.", "smithy.api#range": { "min": 0, "max": 100 } } }, "com.amazonaws.continuum#IssueEvidenceAvailability": { "type": "enum", "members": { "NONE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NONE" } }, "AVAILABLE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AVAILABLE" } } }, "traits": { "smithy.api#documentation": "Whether this issue has any evidence (formerly 'artifacts') attached.\nNONE = no evidence; AVAILABLE = at least one evidence item exists -- call\nListCodeIssueArtifacts to retrieve." } }, "com.amazonaws.continuum#IssueFindingIds": { "type": "list", "member": { "target": "com.amazonaws.continuum#FindingId" }, "traits": { "smithy.api#documentation": "A non-empty list of finding IDs referenced by an issue. Maximum 50 entries.\nThe first entry is the primary finding; later entries are related findings\nadded after it.", "smithy.api#length": { "min": 1, "max": 50 } } }, "com.amazonaws.continuum#IssueId": { "type": "string", "traits": { "smithy.api#documentation": "The unique identifier for an Issue resource.", "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-z0-9]+$" } }, "com.amazonaws.continuum#IssueName": { "type": "string", "traits": { "smithy.api#documentation": "The name for an issue.", "smithy.api#length": { "min": 1, "max": 255 } } }, "com.amazonaws.continuum#IssuePatchDelivery": { "type": "structure", "members": { "status": { "target": "com.amazonaws.continuum#IssuePatchDeliveryStatus", "traits": { "smithy.api#documentation": "The overall result, in priority order: FAILED when any patch's destination\ndelivery failed or exhausted its retries; otherwise PENDING while any is\nstill in progress; otherwise SUCCEEDED when at least one was delivered;\notherwise SKIPPED.", "smithy.api#required": {} } }, "patchCount": { "target": "com.amazonaws.continuum#IssuePatchDeliveryCount", "traits": { "smithy.api#documentation": "Number of the issue's patches that have a destination delivery.", "smithy.api#required": {} } }, "succeededCount": { "target": "com.amazonaws.continuum#IssuePatchDeliveryCount", "traits": { "smithy.api#documentation": "Number of those patches delivered to their destination.", "smithy.api#required": {} } }, "failedCount": { "target": "com.amazonaws.continuum#IssuePatchDeliveryCount", "traits": { "smithy.api#documentation": "Number of those patches whose delivery failed or exhausted its retries.", "smithy.api#required": {} } }, "failureReasons": { "target": "com.amazonaws.continuum#IssuePatchDeliveryFailureReasons", "traits": { "smithy.api#documentation": "Distinct reasons of the failed deliveries, in ascending order. Present only\nwhen failedCount is greater than zero." } } }, "traits": { "smithy.api#documentation": "Customer delivery of the patches Continuum produced for an issue, summarized\nacross the issue's PATCH artifacts when the issue is read. Each artifact keeps\nits own `delivery.destination` with the full detail; this summary lets a caller\nsee a failed delivery without listing artifacts." } }, "com.amazonaws.continuum#IssuePatchDeliveryCount": { "type": "integer", "traits": { "smithy.api#range": { "min": 0 } } }, "com.amazonaws.continuum#IssuePatchDeliveryFailureReasons": { "type": "list", "member": { "target": "com.amazonaws.continuum#DeliveryReason" }, "traits": { "smithy.api#uniqueItems": {} } }, "com.amazonaws.continuum#IssuePatchDeliveryStatus": { "type": "enum", "members": { "PENDING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PENDING" } }, "SUCCEEDED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SUCCEEDED" } }, "FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FAILED" } }, "SKIPPED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SKIPPED" } } }, "traits": { "smithy.api#documentation": "Overall customer delivery result of an issue's patches." } }, "com.amazonaws.continuum#IssuePhase": { "type": "enum", "members": { "VALIDATION": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Continuum is confirming the issue is real and exploitable.", "smithy.api#enumValue": "VALIDATION" } }, "PRIORITIZATION": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Continuum is assigning the issue's severity.", "smithy.api#enumValue": "PRIORITIZATION" } }, "REMEDIATION": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Continuum is preparing a fix for the issue.", "smithy.api#enumValue": "REMEDIATION" } } }, "traits": { "smithy.api#documentation": "The part of Continuum's workflow an issue is in (IN_PROGRESS) or failed in\n(FAILED, when known)." } }, "com.amazonaws.continuum#IssueRemediationSummary": { "type": "string", "traits": { "smithy.api#documentation": "A bounded (<=2048) free-form remediation summary distinct from the shorter\nper-status IssueStatusMessage; carries the green stage's completion synopsis.", "smithy.api#length": { "min": 1, "max": 2048 } } }, "com.amazonaws.continuum#IssueSeverity": { "type": "enum", "members": { "LOW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LOW" } }, "MEDIUM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MEDIUM" } }, "HIGH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "HIGH" } }, "CRITICAL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CRITICAL" } } }, "traits": { "smithy.api#documentation": "Scanner-derived severity assigned to an issue." } }, "com.amazonaws.continuum#IssueSeverityReasoning": { "type": "string", "traits": { "smithy.api#documentation": "The human-readable justification for the severity prioritization assigned.", "smithy.api#length": { "min": 1, "max": 4096 } } }, "com.amazonaws.continuum#IssueStatus": { "type": "enum", "members": { "CREATED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Accepted; Continuum has not started working on the issue yet.", "smithy.api#enumValue": "CREATED" } }, "IN_PROGRESS": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Continuum is working on the issue. `phase` names the current part of the\nworkflow.", "smithy.api#enumValue": "IN_PROGRESS" } }, "COMPLETED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Continuum finished its workflow for the issue.", "smithy.api#enumValue": "COMPLETED" } }, "FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Continuum stopped working on the issue without finishing. `statusReason`\nand `statusMessage` explain why; `phase`, when present, names the part of\nthe workflow that failed.", "smithy.api#enumValue": "FAILED" } } }, "traits": { "smithy.api#documentation": "The customer-facing lifecycle status of an issue. Coarse by design: `phase`\nsays which part of Continuum's workflow an IN_PROGRESS (or FAILED) issue is in,\nand `statusReason` says why a FAILED issue failed. Distinct from FindingStatus.\n\nContinuum sets this value; callers can't set it." } }, "com.amazonaws.continuum#IssueStatusMessage": { "type": "string", "traits": { "smithy.api#documentation": "A human-readable message providing additional context about the current issue status.", "smithy.api#length": { "min": 1, "max": 1024 } } }, "com.amazonaws.continuum#IssueStatusReason": { "type": "enum", "members": { "INTERNAL_ERROR": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Continuum hit an internal error it could not recover from.", "smithy.api#enumValue": "INTERNAL_ERROR" } }, "REMEDIATION_FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Continuum could not produce a fix for the issue.", "smithy.api#enumValue": "REMEDIATION_FAILED" } } }, "traits": { "smithy.api#documentation": "Why an issue is FAILED. Present only when `status` is FAILED." } }, "com.amazonaws.continuum#IssueSummary": { "type": "structure", "members": { "issueId": { "target": "com.amazonaws.continuum#IssueId", "traits": { "smithy.api#documentation": "The unique identifier of the issue.", "smithy.api#required": {} } }, "issueArn": { "target": "com.amazonaws.continuum#IssueArn", "traits": { "smithy.api#documentation": "The ARN of the issue.", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.continuum#IssueName", "traits": { "smithy.api#documentation": "The name of the issue.", "smithy.api#required": {} } }, "severity": { "target": "com.amazonaws.continuum#IssueSeverity", "traits": { "smithy.api#documentation": "Scanner-derived severity assigned to the issue." } }, "confidence": { "target": "com.amazonaws.continuum#IssueConfidence", "traits": { "smithy.api#documentation": "The likelihood that this issue is a true positive, expressed as a percentage (0-100)." } }, "status": { "target": "com.amazonaws.continuum#IssueStatus", "traits": { "smithy.api#documentation": "The current lifecycle status of the issue.", "smithy.api#required": {} } }, "phase": { "target": "com.amazonaws.continuum#IssuePhase", "traits": { "smithy.api#documentation": "The part of the workflow the issue is in. Present when status is\nIN_PROGRESS, and when status is FAILED and the failing phase is known." } }, "statusReason": { "target": "com.amazonaws.continuum#IssueStatusReason", "traits": { "smithy.api#documentation": "Why the issue failed. Present only when status is FAILED." } }, "statusMessage": { "target": "com.amazonaws.continuum#IssueStatusMessage", "traits": { "smithy.api#documentation": "Customer-facing explanation of statusReason. Present only when status is\nFAILED." } }, "statusUpdatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the status or phase last changed.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the issue was created.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "updatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when any field of the issue last changed. Advances on every\nmutation (including score-only updates that do not transition status), so\nit is greater than or equal to statusUpdatedAt.", "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "A summary of an issue returned in list responses." } }, "com.amazonaws.continuum#IssueSynopsis": { "type": "string", "traits": { "smithy.api#documentation": "A free-form synopsis of the issue: reasoning, evidence references, and completion\ncriteria. Supplementary evidence and provenance belong in issue artifacts\n(added via a separate operation) rather than duplicated here.", "smithy.api#length": { "min": 1, "max": 4096 } } }, "com.amazonaws.continuum#KubernetesClusterExternalId": { "type": "string", "traits": { "smithy.api#documentation": "Optional external ID supplied when Continuum assumes the Kubernetes cluster\nrole. This is STS trust-policy context, not a substitute for iam:PassRole.", "smithy.api#length": { "min": 2, "max": 1224 }, "smithy.api#pattern": "^[\\w+=,.@:\\/-]+$", "smithy.api#sensitive": {} } }, "com.amazonaws.continuum#KubernetesClusterRoleArn": { "type": "string", "traits": { "aws.api#arnReference": { "type": "AWS::IAM::Role" }, "smithy.api#documentation": "ARN of the IAM role used for Kubernetes cluster collection. The role must\nbe in the authenticated caller's account and cannot be a service-linked\nrole.", "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:[a-z0-9-]+:iam::[0-9]{12}:role/[a-zA-Z0-9_+=,.@/-]+$" } }, "com.amazonaws.continuum#KubernetesClusterRoleConfiguration": { "type": "structure", "members": { "roleArn": { "target": "com.amazonaws.continuum#KubernetesClusterRoleArn", "traits": { "smithy.api#documentation": "IAM role the authenticated caller passes to Continuum.", "smithy.api#required": {} } }, "externalId": { "target": "com.amazonaws.continuum#KubernetesClusterExternalId", "traits": { "smithy.api#documentation": "Optional external ID Continuum supplies when assuming roleArn. This\nmust match the role trust policy when configured and does not replace\nthe caller's iam:PassRole permission." } } }, "traits": { "smithy.api#documentation": "Complete configuration for the IAM role Continuum assumes to collect\nKubernetes cluster metadata." } }, "com.amazonaws.continuum#KubernetesClusterRoleUpdate": { "type": "union", "members": { "set": { "target": "com.amazonaws.continuum#KubernetesClusterRoleConfiguration", "traits": { "smithy.api#documentation": "Replace the complete role configuration." } }, "remove": { "target": "com.amazonaws.continuum#RemoveKubernetesClusterRole", "traits": { "smithy.api#documentation": "Remove the configured role and external ID." } } }, "traits": { "smithy.api#documentation": "One complete mutation of the Collector's Kubernetes IAM role\nconfiguration." } }, "com.amazonaws.continuum#ListAssociatedCollectors": { "type": "operation", "input": { "target": "com.amazonaws.continuum#ListAssociatedCollectorsInput" }, "output": { "target": "com.amazonaws.continuum#ListAssociatedCollectorsOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to list the collectors associated with an environment", "resources": { "required": { "environments": {} } } }, "smithy.api#documentation": "Lists the Collectors currently associated with one Environment in ascending collectorId order. Each entry carries the Collector ARN, so a listed association can be passed straight to DisassociateCollector, including when the Collector belongs to another account. An association recorded before Continuum persisted the ARN is omitted from the response, because without the ARN it cannot be acted on.", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/environments/{environmentId}/collectors" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "pageSize": "maxResults", "items": "associatedCollectors" }, "smithy.api#readonly": {} } }, "com.amazonaws.continuum#ListAssociatedCollectorsInput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the Environment whose associations to list.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "maxResults": { "target": "com.amazonaws.continuum#MaxResults", "traits": { "smithy.api#documentation": "Maximum number of associated Collectors to return.", "smithy.api#httpQuery": "maxResults" } }, "nextToken": { "target": "com.amazonaws.continuum#NextToken", "traits": { "smithy.api#documentation": "Pagination token returned by a prior request.", "smithy.api#httpQuery": "nextToken" } } }, "traits": { "smithy.api#documentation": "Specifies the Environment whose Collector associations to list.", "smithy.api#input": {} } }, "com.amazonaws.continuum#ListAssociatedCollectorsOutput": { "type": "structure", "members": { "associatedCollectors": { "target": "com.amazonaws.continuum#AssociatedCollectors", "traits": { "smithy.api#documentation": "The Collectors associated with this Environment, ordered by collectorId\nascending. Empty when the Environment has no associations, and also when\nevery association on the page predates Continuum persisting the ARN \u2014 the\npage is still advanced by `nextToken` in that case.", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.continuum#NextToken", "traits": { "smithy.api#documentation": "Pagination token for the next page, if present." } } }, "traits": { "smithy.api#documentation": "Contains one page of the Collectors associated with the requested Environment.", "smithy.api#output": {} } }, "com.amazonaws.continuum#ListAssociatedEnvironments": { "type": "operation", "input": { "target": "com.amazonaws.continuum#ListAssociatedEnvironmentsInput" }, "output": { "target": "com.amazonaws.continuum#ListAssociatedEnvironmentsOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to list the environments associated with a collector", "resources": { "required": { "collectors": {} } } }, "smithy.api#documentation": "Lists the Environments currently associated with one Collector in lexicographically ascending environmentArn order. The ARN identifies each Environment across accounts within the Collector's Region.", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/collectors/{collectorId}/environments" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "pageSize": "maxResults", "items": "associatedEnvironments" }, "smithy.api#readonly": {} } }, "com.amazonaws.continuum#ListAssociatedEnvironmentsInput": { "type": "structure", "members": { "collectorId": { "target": "com.amazonaws.continuum#CollectorId", "traits": { "smithy.api#documentation": "The unique identifier of the Collector whose associations to list.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "maxResults": { "target": "com.amazonaws.continuum#MaxResults", "traits": { "smithy.api#documentation": "Maximum number of Environment associations to return.", "smithy.api#httpQuery": "maxResults" } }, "nextToken": { "target": "com.amazonaws.continuum#NextToken", "traits": { "smithy.api#documentation": "Pagination token returned by a prior request.", "smithy.api#httpQuery": "nextToken" } } }, "traits": { "smithy.api#documentation": "Specifies the Collector whose Environment associations to list.", "smithy.api#input": {} } }, "com.amazonaws.continuum#ListAssociatedEnvironmentsOutput": { "type": "structure", "members": { "associatedEnvironments": { "target": "com.amazonaws.continuum#AssociatedEnvironments", "traits": { "smithy.api#documentation": "Summaries of the Environments associated with this Collector, ordered by\nenvironmentArn lexicographically ascending. Each summary has the same\nfields as a ListEnvironments item but uses an independent model shape.\nEmpty when the Collector has no associations.", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.continuum#NextToken", "traits": { "smithy.api#documentation": "Pagination token for the next page, if present." } } }, "traits": { "smithy.api#documentation": "Contains one page of Environment summaries associated with the requested Collector.", "smithy.api#output": {} } }, "com.amazonaws.continuum#ListCodeFindings": { "type": "operation", "input": { "target": "com.amazonaws.continuum#ListCodeFindingsInput" }, "output": { "target": "com.amazonaws.continuum#ListCodeFindingsOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to list the code findings in an environment", "resources": { "required": { "environments": {} } } }, "smithy.api#documentation": "Lists the findings in an environment in descending findingId order.", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/environments/{environmentId}/code-findings" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "pageSize": "maxResults", "items": "items" }, "smithy.api#readonly": {} } }, "com.amazonaws.continuum#ListCodeFindingsInput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The environment whose findings to list.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "maxResults": { "target": "com.amazonaws.continuum#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of results to return in a single call.", "smithy.api#httpQuery": "maxResults" } }, "nextToken": { "target": "com.amazonaws.continuum#NextToken", "traits": { "smithy.api#documentation": "A pagination token returned by a previous call.\nSet to null for the first request; use the returned token for subsequent calls.", "smithy.api#httpQuery": "nextToken" } } }, "traits": { "smithy.api#documentation": "Specifies the environment and pagination parameters for listing findings.", "smithy.api#input": {} } }, "com.amazonaws.continuum#ListCodeFindingsOutput": { "type": "structure", "members": { "items": { "target": "com.amazonaws.continuum#CodeFindingSummaries", "traits": { "smithy.api#documentation": "The findings in the environment, ordered by findingId descending.", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.continuum#NextToken", "traits": { "smithy.api#documentation": "A pagination token to retrieve the next page of results.\nAbsent when there are no more results." } } }, "traits": { "smithy.api#documentation": "Contains the list of finding summaries and an optional pagination token.", "smithy.api#output": {} } }, "com.amazonaws.continuum#ListCodeIssueArtifacts": { "type": "operation", "input": { "target": "com.amazonaws.continuum#ListCodeIssueArtifactsInput" }, "output": { "target": "com.amazonaws.continuum#ListCodeIssueArtifactsOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to list the artifacts of a code issue", "resources": { "required": { "code-issues": {} } } }, "smithy.api#documentation": "Lists the artifacts attached to an issue in descending artifactId order. Content is returned by GetCodeIssueArtifact.", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/environments/{environmentId}/code-issues/{issueId}/artifacts" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "pageSize": "maxResults", "items": "items" }, "smithy.api#readonly": {} } }, "com.amazonaws.continuum#ListCodeIssueArtifactsInput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The environment that owns the issue.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "issueId": { "target": "com.amazonaws.continuum#IssueId", "traits": { "smithy.api#documentation": "The issue whose artifacts to list.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "artifactType": { "target": "com.amazonaws.continuum#IssueArtifactType", "traits": { "smithy.api#documentation": "Optional filter for a semantic artifact category. Omit to list all\nartifacts attached to the issue.", "smithy.api#httpQuery": "artifactType" } }, "maxResults": { "target": "com.amazonaws.continuum#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of results to return in a single call.", "smithy.api#httpQuery": "maxResults" } }, "nextToken": { "target": "com.amazonaws.continuum#NextToken", "traits": { "smithy.api#documentation": "A pagination token returned by a previous call.\nSet to null for the first request; use the returned token for subsequent calls.", "smithy.api#httpQuery": "nextToken" } } }, "traits": { "smithy.api#documentation": "Specifies the issue, optional filter, and pagination parameters for listing artifacts.", "smithy.api#input": {} } }, "com.amazonaws.continuum#ListCodeIssueArtifactsOutput": { "type": "structure", "members": { "items": { "target": "com.amazonaws.continuum#CodeIssueArtifactItems", "traits": { "smithy.api#documentation": "The artifacts attached to the issue, ordered by artifactId descending.", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.continuum#NextToken", "traits": { "smithy.api#documentation": "A pagination token to retrieve the next page of results.\nAbsent when there are no more results." } } }, "traits": { "smithy.api#documentation": "Contains the list of artifact summaries and an optional pagination token.", "smithy.api#output": {} } }, "com.amazonaws.continuum#ListCodeIssues": { "type": "operation", "input": { "target": "com.amazonaws.continuum#ListCodeIssuesInput" }, "output": { "target": "com.amazonaws.continuum#ListCodeIssuesOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to list the code issues in an environment", "resources": { "required": { "environments": {} } } }, "smithy.api#documentation": "Lists the issues in an environment in descending issueId order.", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/environments/{environmentId}/code-issues" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "pageSize": "maxResults", "items": "items" }, "smithy.api#readonly": {} } }, "com.amazonaws.continuum#ListCodeIssuesInput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The environment whose issues to list.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "maxResults": { "target": "com.amazonaws.continuum#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of results to return in a single call.", "smithy.api#httpQuery": "maxResults" } }, "nextToken": { "target": "com.amazonaws.continuum#NextToken", "traits": { "smithy.api#documentation": "A pagination token returned by a previous call.\nSet to null for the first request; use the returned token for subsequent calls.", "smithy.api#httpQuery": "nextToken" } } }, "traits": { "smithy.api#documentation": "Specifies the environment and pagination parameters for listing issues.", "smithy.api#input": {} } }, "com.amazonaws.continuum#ListCodeIssuesOutput": { "type": "structure", "members": { "items": { "target": "com.amazonaws.continuum#CodeIssueSummaries", "traits": { "smithy.api#documentation": "The issues in the environment, ordered by issueId descending.", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.continuum#NextToken", "traits": { "smithy.api#documentation": "A pagination token to retrieve the next page of results.\nAbsent when there are no more results." } } }, "traits": { "smithy.api#documentation": "Contains the list of issue summaries and an optional pagination token.", "smithy.api#output": {} } }, "com.amazonaws.continuum#ListCodeScans": { "type": "operation", "input": { "target": "com.amazonaws.continuum#ListCodeScansInput" }, "output": { "target": "com.amazonaws.continuum#ListCodeScansOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to list the code scans of an environment", "resources": { "required": { "environments": {} } } }, "smithy.api#documentation": "Lists customer-visible scans for one environment in descending scanRunId order.", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/environments/{environmentId}/code-scans" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "pageSize": "maxResults", "items": "scans" }, "smithy.api#readonly": {} } }, "com.amazonaws.continuum#ListCodeScansInput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "Environment whose scans to list.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "maxResults": { "target": "com.amazonaws.continuum#MaxResults", "traits": { "smithy.api#documentation": "Maximum number of scans to return.", "smithy.api#httpQuery": "maxResults" } }, "nextToken": { "target": "com.amazonaws.continuum#NextToken", "traits": { "smithy.api#documentation": "Pagination token returned by a prior request.", "smithy.api#httpQuery": "nextToken" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.continuum#ListCodeScansOutput": { "type": "structure", "members": { "scans": { "target": "com.amazonaws.continuum#CodeScanSummaries", "traits": { "smithy.api#documentation": "Customer-visible scans ordered by scanRunId descending.", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.continuum#NextToken", "traits": { "smithy.api#documentation": "Pagination token for the next page, if present." } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.continuum#ListCollectors": { "type": "operation", "input": { "target": "com.amazonaws.continuum#ListCollectorsInput" }, "output": { "target": "com.amazonaws.continuum#ListCollectorsOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to list collectors", "resources": { "required": { "collectors": {} } } }, "smithy.api#documentation": "Lists the Collectors owned by the authenticated caller's account, including a Collector whose deletion is in progress. A Collector that is still being created is omitted. The account-scoped Collector quota currently permits at most one result, so no result ordering applies.", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/collectors" }, "smithy.api#readonly": {} } }, "com.amazonaws.continuum#ListCollectorsInput": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "Specifies no request parameters. The target account is derived exclusively from the authenticated calling context.", "smithy.api#input": {} } }, "com.amazonaws.continuum#ListCollectorsOutput": { "type": "structure", "members": { "items": { "target": "com.amazonaws.continuum#CollectorSummaries", "traits": { "smithy.api#documentation": "The Collectors owned by the authenticated caller's account. At most one\nresult is currently returned, so no result ordering applies.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains summaries of the caller account's Collectors.", "smithy.api#output": {} } }, "com.amazonaws.continuum#ListEnvironments": { "type": "operation", "input": { "target": "com.amazonaws.continuum#ListEnvironmentsInput" }, "output": { "target": "com.amazonaws.continuum#ListEnvironmentsOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to list environments", "resources": { "required": { "environments": {} } } }, "smithy.api#documentation": "Lists all environments in your account in descending environmentId order. This complete-inventory operation intentionally has no response filters; see the input documentation for the API standards justification.", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/environments" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "pageSize": "maxResults", "items": "items" }, "smithy.api#readonly": {}, "smithy.test#smokeTests": [ { "id": "ListEnvironmentsSuccess", "params": { "maxResults": 1 }, "expect": { "success": {} }, "vendorParamsShape": "aws.test#AwsVendorParams", "vendorParams": { "region": "us-east-1" } } ] } }, "com.amazonaws.continuum#ListEnvironmentsInput": { "type": "structure", "members": { "maxResults": { "target": "com.amazonaws.continuum#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of results to return in a single call.", "smithy.api#httpQuery": "maxResults" } }, "nextToken": { "target": "com.amazonaws.continuum#NextToken", "traits": { "smithy.api#documentation": "A pagination token returned by a previous call.\nSet to null for the first request; use the returned token for subsequent calls.", "smithy.api#httpQuery": "nextToken" } } }, "traits": { "smithy.api#documentation": "Specifies pagination parameters for listing environments.\n\nResponse-filtering justification: filtering is intentionally omitted because every\ncurrent consumer needs the canonical complete, account-scoped environment inventory,\nand no useful selective server-side query use case is defined. Environment ID already\nhas the GetEnvironment lookup operation, and status, name, or timestamp filtering is\nnot needed by any current workflow. Adding speculative filters would require\nunsupported access patterns and ambiguous semantics without reducing data returned\nfor existing consumers. If a concrete indexed query use case is introduced later, its\nfilter values must be bound to pagination tokens so a token cannot be replayed against\na different query. The formal API standards decision is recorded in the package-root\nBR_EXCEPTIONS.md file.\n", "smithy.api#input": {} } }, "com.amazonaws.continuum#ListEnvironmentsOutput": { "type": "structure", "members": { "items": { "target": "com.amazonaws.continuum#EnvironmentListEntries", "traits": { "smithy.api#documentation": "Common metadata for the environments in the account, ordered by environmentId descending.", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.continuum#NextToken", "traits": { "smithy.api#documentation": "A pagination token to retrieve the next page of results.\nAbsent when there are no more results." } } }, "traits": { "smithy.api#documentation": "Contains environment metadata and an optional pagination token.", "smithy.api#output": {} } }, "com.amazonaws.continuum#ListIntegrations": { "type": "operation", "input": { "target": "com.amazonaws.continuum#ListIntegrationsInput" }, "output": { "target": "com.amazonaws.continuum#ListIntegrationsOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to list integrations", "resources": { "required": { "integrations": {} } } }, "smithy.api#documentation": "Lists the integrations in your account in descending integrationId order.", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/integrations" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "pageSize": "maxResults", "items": "items" }, "smithy.api#readonly": {} } }, "com.amazonaws.continuum#ListIntegrationsInput": { "type": "structure", "members": { "maxResults": { "target": "com.amazonaws.continuum#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of results to return in a single call.", "smithy.api#httpQuery": "maxResults" } }, "nextToken": { "target": "com.amazonaws.continuum#NextToken", "traits": { "smithy.api#documentation": "A pagination token returned by a previous call.\nSet to null for the first request; use the returned token for subsequent calls.", "smithy.api#httpQuery": "nextToken" } } }, "traits": { "smithy.api#documentation": "Specifies pagination parameters for listing integrations.", "smithy.api#input": {} } }, "com.amazonaws.continuum#ListIntegrationsOutput": { "type": "structure", "members": { "items": { "target": "com.amazonaws.continuum#IntegrationSummaries", "traits": { "smithy.api#documentation": "The integrations in the account, ordered by integrationId descending.", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.continuum#NextToken", "traits": { "smithy.api#documentation": "A pagination token to retrieve the next page of results.\nAbsent when there are no more results." } } }, "traits": { "smithy.api#documentation": "Contains the list of integration summaries and an optional pagination token.", "smithy.api#output": {} } }, "com.amazonaws.continuum#MaxResults": { "type": "integer", "traits": { "smithy.api#documentation": "The maximum number of results to return in a single call. Must be between 1 and 100.", "smithy.api#range": { "min": 1, "max": 100 } } }, "com.amazonaws.continuum#NextToken": { "type": "string", "traits": { "smithy.api#documentation": "A pagination token returned by a previous call, used to retrieve the next page of results.", "smithy.api#length": { "min": 1, "max": 2048 } } }, "com.amazonaws.continuum#OAuthCodeChallenge": { "type": "string", "traits": { "smithy.api#documentation": "A PKCE code challenge (RFC 7636): the base64url encoding, without padding, of the\nSHA-256 digest of the code verifier the service keeps.", "smithy.api#length": { "min": 43, "max": 128 }, "smithy.api#pattern": "^[A-Za-z0-9_-]+$" } }, "com.amazonaws.continuum#OAuthCodeChallengeMethod": { "type": "enum", "members": { "S256": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The challenge is BASE64URL(SHA256(code verifier)), without padding.", "smithy.api#enumValue": "S256" } } }, "traits": { "smithy.api#documentation": "The PKCE code challenge method (RFC 7636)." } }, "com.amazonaws.continuum#OAuthState": { "type": "string", "traits": { "smithy.api#documentation": "An opaque OAuth `state` value. StartIntegrationAuthorization returns one, and\nCreateIntegration redeems it, together with the authorization code, for the same\nAWS account. Sensitive so clients and the service never log it.", "smithy.api#length": { "min": 1, "max": 1024 }, "smithy.api#sensitive": {} } }, "com.amazonaws.continuum#PackageManager": { "type": "string", "traits": { "smithy.api#documentation": "The ecosystem that supplies a package, e.g. \"npm\", \"pip\", \"maven\".", "smithy.api#length": { "min": 1, "max": 128 } } }, "com.amazonaws.continuum#PackageName": { "type": "string", "traits": { "smithy.api#documentation": "The name of a software package implicated by a finding.", "smithy.api#length": { "min": 1, "max": 512 } } }, "com.amazonaws.continuum#PackageVersion": { "type": "string", "traits": { "smithy.api#documentation": "A package version string. Not parsed or compared by Continuum -- version\nsyntax is ecosystem-specific.", "smithy.api#length": { "min": 1, "max": 256 } } }, "com.amazonaws.continuum#PatchBody": { "type": "structure", "members": { "patch": { "target": "com.amazonaws.continuum#IssueArtifactContent", "traits": { "smithy.api#documentation": "The patch exactly as stored, unmodified. Control Plane accepted it only\nas a text unified diff, so `git apply` applies it.", "smithy.api#required": {} } }, "format": { "target": "com.amazonaws.continuum#PatchFormat", "traits": { "smithy.api#documentation": "The patch's wire format, read from the patch itself, which determines how\nto apply it. Absent when the patch starts with neither a git mailbox\nheader nor a `diff --git` header." } }, "repositoryName": { "target": "com.amazonaws.continuum#BuildRepositoryName", "traits": { "smithy.api#documentation": "The repository the patch applies to, as named in the source snapshot it\nwas generated against." } }, "patchSha256": { "target": "com.amazonaws.continuum#ArtifactSha256", "traits": { "smithy.api#documentation": "SHA-256 of the patch's UTF-8 bytes in lowercase hex, computed by Control\nPlane when it stored the patch.\n\nLets a caller confirm the patch it applies is byte-for-byte the one that\nwas reviewed. Computed over the patch bytes, so it is verifiable against\n`patch` without trusting this value.", "smithy.api#required": {} } }, "sizeBytes": { "target": "smithy.api#Long", "traits": { "smithy.api#documentation": "Size of the patch in UTF-8 bytes, the unit the digest is computed over.", "smithy.api#required": {} } }, "delivery": { "target": "com.amazonaws.continuum#PatchDelivery", "traits": { "smithy.api#documentation": "Delivery of the patch to the customer's bucket or repository. Absent when\nthe artifact has no delivery destination." } } }, "traits": { "smithy.api#documentation": "Projected content for a PATCH artifact: the remediation patch for one repository, with the descriptors needed to verify and apply it and the state of its delivery to the customer's own bucket or repository." } }, "com.amazonaws.continuum#PatchCreationPolicy": { "type": "enum", "members": { "ENABLED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ENABLED" } }, "DISABLED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DISABLED" } } }, "traits": { "smithy.api#documentation": "Policy governing whether Continuum creates a patch for a proposed remediation." } }, "com.amazonaws.continuum#PatchDelivery": { "type": "structure", "members": { "status": { "target": "com.amazonaws.continuum#DeliveryStatus", "traits": { "smithy.api#documentation": "How far delivery to the destination has progressed.", "smithy.api#required": {} } }, "target": { "target": "com.amazonaws.continuum#DestinationTarget", "traits": { "smithy.api#documentation": "Where the patch was or will be delivered. Absent while the destination\nis still being resolved, or when delivery was skipped before a\ndestination was known." } }, "updatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "When the delivery status last changed.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "Delivery of a patch to a destination the customer owns: an object in the environment's source bucket or a pull request in the source repository." } }, "com.amazonaws.continuum#PatchFormat": { "type": "enum", "members": { "GIT_MAILBOX_PATCH": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "A git mailbox patch, as produced by `git format-patch`. Applied with\n`git am`.", "smithy.api#enumValue": "GIT_MAILBOX_PATCH" } }, "GIT_BINARY_DIFF": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "A git diff carrying binary deltas. Applied with `git apply`.", "smithy.api#enumValue": "GIT_BINARY_DIFF" } }, "GIT_DIFF": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "A text git diff, as produced by `git diff`, with no mailbox header and\nno binary deltas. Applied with `git apply`.", "smithy.api#enumValue": "GIT_DIFF" } } }, "traits": { "smithy.api#documentation": "How a patch is encoded, which determines the command that applies it." } }, "com.amazonaws.continuum#PerFindingResult": { "type": "structure", "members": { "findingId": { "target": "com.amazonaws.continuum#FindingId", "traits": { "smithy.api#documentation": "The finding assessed.", "smithy.api#required": {} } }, "exploitable": { "target": "com.amazonaws.continuum#ExploitabilityVerdict", "traits": { "smithy.api#documentation": "Exploitability verdict for this finding.", "smithy.api#required": {} } }, "confidence": { "target": "com.amazonaws.continuum#ValidationConfidence", "traits": { "smithy.api#documentation": "Confidence in this finding's verdict. Absent when out of range." } }, "flowVerdicts": { "target": "com.amazonaws.continuum#FlowVerdicts", "traits": { "smithy.api#documentation": "Per-flow verdicts recorded for this finding." } }, "reasoningChain": { "target": "com.amazonaws.continuum#ReasoningSteps", "traits": { "smithy.api#documentation": "Reasoning chain recorded for this finding." } }, "exploitArtifact": { "target": "com.amazonaws.continuum#ValidationExploitArtifact", "traits": { "smithy.api#documentation": "Exploit artifact produced for this finding, when there was one." } } }, "traits": { "smithy.api#documentation": "Validation's result for one finding within a multi-finding bundle." } }, "com.amazonaws.continuum#PerFindingResults": { "type": "list", "member": { "target": "com.amazonaws.continuum#PerFindingResult" }, "traits": { "smithy.api#length": { "min": 1, "max": 50 } } }, "com.amazonaws.continuum#PrevalidationSignal": { "type": "structure", "members": { "subjectRef": { "target": "com.amazonaws.continuum#ArtifactCitation", "traits": { "smithy.api#documentation": "What this signal is about, such as a finding or issue reference." } }, "dimension": { "target": "com.amazonaws.continuum#SignalDimension", "traits": { "smithy.api#documentation": "The axis this signal speaks to. Absent when the producer reported a\ndimension with no mapping yet." } }, "signalStrength": { "target": "com.amazonaws.continuum#SignalStrength", "traits": { "smithy.api#documentation": "The signal's own rating. This is an input to scoring and is NOT the\nfinding's severity." } }, "conclusion": { "target": "com.amazonaws.continuum#ArtifactText", "traits": { "smithy.api#documentation": "The producer's conclusion." } }, "producerId": { "target": "com.amazonaws.continuum#IssueArtifactProducerName", "traits": { "smithy.api#documentation": "Stable name of the producer that emitted this signal." } }, "producerVersion": { "target": "com.amazonaws.continuum#ArtifactCitation", "traits": { "smithy.api#documentation": "Version of that producer." } }, "confidence": { "target": "com.amazonaws.continuum#ValidationConfidence", "traits": { "smithy.api#documentation": "The producer's confidence in this conclusion, on its native 0-1 scale.\nAbsent when the stored value falls outside 0-1." } }, "confidenceReasoning": { "target": "com.amazonaws.continuum#SignalConfidenceReasoning", "traits": { "smithy.api#documentation": "Why the producer is or is not sure, kept structured rather than prose." } }, "computed": { "target": "com.amazonaws.continuum#SignalComputation", "traits": { "smithy.api#documentation": "The deterministic values the producer computed from its assessment." } }, "preconditions": { "target": "com.amazonaws.continuum#SignalPreconditions", "traits": { "smithy.api#documentation": "The four exploit preconditions a likelihood signal assessed, each with\nthe basis the producer had for it." } }, "impactDimensions": { "target": "com.amazonaws.continuum#SignalImpactDimensions", "traits": { "smithy.api#documentation": "The three impact dimensions an impact signal assessed, each with the\nbasis the producer had for it. These are what the computed impact band\nis derived from." } }, "exploitability": { "target": "com.amazonaws.continuum#SignalExploitability", "traits": { "smithy.api#documentation": "What validation established about exploitability, on an exploitability\nsignal. This summarizes the verdict the signal was derived from; the\nproof itself is the VALIDATION_EVIDENCE artifact it cites." } } }, "traits": { "smithy.api#documentation": "One producer's conclusion about one subject on one scoring dimension." } }, "com.amazonaws.continuum#PrevalidationSignals": { "type": "list", "member": { "target": "com.amazonaws.continuum#PrevalidationSignal" }, "traits": { "smithy.api#length": { "min": 1, "max": 50 } } }, "com.amazonaws.continuum#PrevalidationSignalsBody": { "type": "structure", "members": { "producedBy": { "target": "com.amazonaws.continuum#IssueArtifactProducerName", "traits": { "smithy.api#documentation": "The agent that produced this signal set." } }, "signals": { "target": "com.amazonaws.continuum#PrevalidationSignals", "traits": { "smithy.api#documentation": "The signals backing the Issue's proposed severity." } } }, "traits": { "smithy.api#documentation": "Projected content for an EVIDENCE artifact carrying prioritization's prevalidation signals." } }, "com.amazonaws.continuum#ProviderConfiguration": { "type": "union", "members": { "github": { "target": "com.amazonaws.continuum#GitHubConfiguration", "traits": { "smithy.api#documentation": "Configuration for a GitHub.com integration." } }, "gitlab": { "target": "com.amazonaws.continuum#GitLabConfiguration", "traits": { "smithy.api#documentation": "Configuration for a GitLab integration.", "smithy.api#unstable": {} } }, "s3": { "target": "com.amazonaws.continuum#S3Configuration", "traits": { "smithy.api#documentation": "Configuration for a customer-managed S3 integration." } } }, "traits": { "smithy.api#documentation": "Provider-specific configuration for creating an integration.\nOnly one member may be specified." } }, "com.amazonaws.continuum#ProviderDetails": { "type": "union", "members": { "github": { "target": "com.amazonaws.continuum#GitHubDetails", "traits": { "smithy.api#documentation": "Details for a GitHub.com integration." } }, "gitlab": { "target": "com.amazonaws.continuum#GitLabDetails", "traits": { "smithy.api#documentation": "Details for a GitLab integration.", "smithy.api#unstable": {} } }, "s3": { "target": "com.amazonaws.continuum#S3Details", "traits": { "smithy.api#documentation": "Public details for a customer-managed S3 integration." } } }, "traits": { "smithy.api#documentation": "Provider-specific details for an integration. Only one member will be present." } }, "com.amazonaws.continuum#PutResourcePolicy": { "type": "operation", "input": { "target": "com.amazonaws.continuum#PutResourcePolicyInput" }, "output": { "target": "com.amazonaws.continuum#PutResourcePolicyOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#ConflictException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to attach a resource policy to a resource", "resources": { "required": { "collectors": {} } } }, "smithy.api#documentation": "Creates or replaces the resource policy attached to a Continuum resource.", "smithy.api#http": { "code": 200, "method": "PUT", "uri": "/resourcepolicy" }, "smithy.api#idempotent": {} } }, "com.amazonaws.continuum#PutResourcePolicyInput": { "type": "structure", "members": { "arn": { "target": "com.amazonaws.continuum#ResourcePolicyTargetArn", "traits": { "smithy.api#documentation": "The ARN of a resource in the caller's account.", "smithy.api#required": {} } }, "policy": { "target": "com.amazonaws.continuum#ResourcePolicyInputDocument", "traits": { "smithy.api#documentation": "Omit or supply an empty Statement array to clear resource-policy grants and\nstore the canonical empty-statement policy. Cross-account access is denied;\nsame-account access remains subject to identity policies. Use an explicit\nDeny statement to deny same-account principals too." } }, "expectedRevisionId": { "target": "com.amazonaws.continuum#ResourcePolicyRevisionId", "traits": { "smithy.api#documentation": "Optional optimistic-concurrency token for the currently observed policy." } } }, "traits": { "smithy.api#documentation": "Specifies the resource and its new policy.", "smithy.api#input": {} } }, "com.amazonaws.continuum#PutResourcePolicyOutput": { "type": "structure", "members": { "arn": { "target": "com.amazonaws.continuum#ResourcePolicyTargetArn", "traits": { "smithy.api#required": {} } }, "policy": { "target": "com.amazonaws.continuum#ResourcePolicyDocument", "traits": { "smithy.api#required": {} } }, "revisionId": { "target": "com.amazonaws.continuum#ResourcePolicyRevisionId", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains the stored resource policy.", "smithy.api#output": {} } }, "com.amazonaws.continuum#ReasoningStep": { "type": "structure", "members": { "step": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "Position of this step in the chain.", "smithy.api#required": {} } }, "claim": { "target": "com.amazonaws.continuum#ArtifactText", "traits": { "smithy.api#documentation": "The claim or conclusion reached at this step.", "smithy.api#required": {} } }, "source": { "target": "com.amazonaws.continuum#ArtifactCitation", "traits": { "smithy.api#documentation": "Citation supporting the claim.", "smithy.api#required": {} } }, "confidence": { "target": "com.amazonaws.continuum#ValidationConfidence", "traits": { "smithy.api#documentation": "Confidence in this individual claim, on the producer's native 0-1 scale." } } }, "traits": { "smithy.api#documentation": "One step in the validation agent's reasoning chain." } }, "com.amazonaws.continuum#ReasoningSteps": { "type": "list", "member": { "target": "com.amazonaws.continuum#ReasoningStep" }, "traits": { "smithy.api#length": { "min": 1, "max": 50 } } }, "com.amazonaws.continuum#RedirectUrl": { "type": "string", "traits": { "smithy.api#documentation": "An HTTPS redirect/callback URL used during the OAuth authorization flow.\nMust be one of the redirect URLs registered on the underlying GitHub App.", "smithy.api#length": { "min": 9, "max": 2083 }, "smithy.api#pattern": "^https://", "smithy.api#suppress": [ "PatternTrait" ] } }, "com.amazonaws.continuum#RemediationProposalBody": { "type": "structure", "members": { "patch": { "target": "com.amazonaws.continuum#IssueArtifactContent", "traits": { "smithy.api#documentation": "The patch exactly as the remediation agent produced it, unmodified.", "smithy.api#required": {} } }, "format": { "target": "com.amazonaws.continuum#PatchFormat", "traits": { "smithy.api#documentation": "The patch's wire format, which determines how to apply it. Absent when the\nproducer recorded a format with no mapping yet." } }, "filename": { "target": "com.amazonaws.continuum#ArtifactCitation", "traits": { "smithy.api#documentation": "Filename the producer suggests for the patch, when it named one." } }, "patchSha256": { "target": "com.amazonaws.continuum#ArtifactSha256", "traits": { "smithy.api#documentation": "SHA-256 of the patch bytes in lowercase hex, as recorded by the producer.\n\nLets a caller confirm the patch it applies is byte-for-byte the one that\nwas reviewed. Computed over the patch bytes, so it is verifiable against\n`patch` without trusting this value." } } }, "traits": { "smithy.api#documentation": "Projected content for a REMEDIATION_PROPOSAL artifact: the patch the remediation agent produced, with the descriptors needed to apply and verify it." } }, "com.amazonaws.continuum#RemoveKubernetesClusterRole": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "Empty marker selecting removal in KubernetesClusterRoleUpdate." } }, "com.amazonaws.continuum#RepositoryBranch": { "type": "string", "traits": { "smithy.api#documentation": "A repository branch name.", "smithy.api#length": { "min": 1, "max": 255 } } }, "com.amazonaws.continuum#RepositoryName": { "type": "string", "traits": { "smithy.api#documentation": "The name of a repository in owner/repository format (e.g. acme/payments-api). For an\norganization-scoped integration, the owner segment must match the integration's GitHub\norganization (validated at environment creation time). For a personal-account\nintegration, the owner segment is the personal GitHub username and is not validated.", "smithy.api#length": { "min": 1, "max": 255 }, "smithy.api#pattern": "^[a-zA-Z0-9_\\-\\.]+/[a-zA-Z0-9_\\-\\.]+$" } }, "com.amazonaws.continuum#ResourceNotFoundException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "Description of the resource that was not found.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.continuum#ResourcePolicyDocument": { "type": "string", "traits": { "smithy.api#documentation": "A resource policy in displayable JSON form.", "smithy.api#length": { "min": 0, "max": 131072 }, "smithy.api#sensitive": {} } }, "com.amazonaws.continuum#ResourcePolicyInputDocument": { "type": "string", "traits": { "smithy.api#documentation": "A non-empty resource policy document supplied on writes.", "smithy.api#length": { "min": 1, "max": 131072 }, "smithy.api#sensitive": {} } }, "com.amazonaws.continuum#ResourcePolicyRevisionId": { "type": "string", "traits": { "smithy.api#documentation": "Opaque optimistic-concurrency token for a resource policy.", "smithy.api#length": { "min": 1, "max": 64 } } }, "com.amazonaws.continuum#ResourcePolicyTargetArn": { "type": "string", "traits": { "smithy.api#documentation": "The ARN of a Continuum resource that supports a resource policy. Collectors\nare the only supported resource type; other well-formed Continuum ARNs are\nrejected with ValidationException.", "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:[a-z0-9-]+:continuum:[a-z0-9-]+:[0-9]{12}:[a-z-]+/[a-z0-9]+(/[a-z-]+/[a-z0-9]+)*$" } }, "com.amazonaws.continuum#S3Configuration": { "type": "structure", "members": { "bucket": { "target": "com.amazonaws.continuum#IntegrationS3BucketName", "traits": { "smithy.api#documentation": "Customer-managed source bucket name.", "smithy.api#required": {} } }, "roleArn": { "target": "com.amazonaws.continuum#IntegrationS3RoleArn", "traits": { "smithy.api#documentation": "Role Continuum will assume to read from the source bucket.", "smithy.api#required": {} } }, "externalId": { "target": "com.amazonaws.continuum#IntegrationS3ExternalId", "traits": { "smithy.api#documentation": "Caller-provided external ID required by the role trust policy.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Configuration for a customer-managed S3 integration." } }, "com.amazonaws.continuum#S3Details": { "type": "structure", "members": { "bucket": { "target": "com.amazonaws.continuum#IntegrationS3BucketName", "traits": { "smithy.api#required": {} } }, "roleArn": { "target": "com.amazonaws.continuum#IntegrationS3RoleArn", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Public details for a customer-managed S3 integration. The sensitive external ID is intentionally omitted." } }, "com.amazonaws.continuum#S3Target": { "type": "structure", "members": { "bucket": { "target": "com.amazonaws.continuum#EnvironmentSourceBucketName", "traits": { "smithy.api#required": {} } }, "key": { "target": "com.amazonaws.continuum#DeliveryObjectKey", "traits": { "smithy.api#documentation": "The object key of the delivered patch.", "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.continuum#DeliveryVersionId", "traits": { "smithy.api#documentation": "The S3 version ID of the delivered object, when the bucket is versioned." } } }, "traits": { "smithy.api#documentation": "The S3 object a patch is delivered to." } }, "com.amazonaws.continuum#ScanClientToken": { "type": "string", "traits": { "smithy.api#documentation": "Caller-provided idempotency token for an environment scan request.", "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^[!-~]{1,128}$" } }, "com.amazonaws.continuum#ScanFailureStage": { "type": "enum", "members": { "SUBMITTED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The scan's build was never accepted for execution.", "smithy.api#enumValue": "SUBMITTED" } }, "WAITING_FOR_BUILD": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Failed while the build was waiting for capacity.", "smithy.api#enumValue": "WAITING_FOR_BUILD" } }, "BUILDING": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The build itself failed, so no trustworthy source exists to analyze.", "smithy.api#enumValue": "BUILDING" } }, "WAITING_FOR_SCAN": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The build succeeded, but the scan's execution inputs could not be\nprepared from it.", "smithy.api#enumValue": "WAITING_FOR_SCAN" } }, "SCANNING": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Analysis of the built source failed.", "smithy.api#enumValue": "SCANNING" } } }, "traits": { "smithy.api#documentation": "The phase a failed scan was in when it failed.\n\nPresent only on a FAILED scan, and absent on one that failed before this\nfield existed. Shares its vocabulary with the non-terminal ScanStatus values\nso a failure reads directly against the phase sequence, with no mapping." } }, "com.amazonaws.continuum#ScanFrequency": { "type": "string", "traits": { "smithy.api#documentation": "ISO-8601 duration requested for recurring scans. Supported values are P1D\n(1 day), P2D (2 days), P7D (7 days), and PT0H (manual scans only).\nExisting environments with no cadence or a legacy PT6H, PT12H, or PT24H\ncadence use P1D. Legacy PT48H uses P2D. New requests must use a supported value.", "smithy.api#length": { "min": 3, "max": 64 }, "smithy.api#pattern": "^P([0-9]+Y([0-9]+M)?([0-9]+D)?(T([0-9]+H([0-9]+M)?([0-9]+S)?|[0-9]+M([0-9]+S)?|[0-9]+S))?|[0-9]+M([0-9]+D)?(T([0-9]+H([0-9]+M)?([0-9]+S)?|[0-9]+M([0-9]+S)?|[0-9]+S))?|[0-9]+D(T([0-9]+H([0-9]+M)?([0-9]+S)?|[0-9]+M([0-9]+S)?|[0-9]+S))?|T([0-9]+H([0-9]+M)?([0-9]+S)?|[0-9]+M([0-9]+S)?|[0-9]+S))$" } }, "com.amazonaws.continuum#ScanOrigin": { "type": "enum", "members": { "MANUAL": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "A customer explicitly requested the scan.", "smithy.api#enumValue": "MANUAL" } }, "SCHEDULED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Continuum created the scan from a schedule or during environment bootstrap.", "smithy.api#enumValue": "SCHEDULED" } } }, "traits": { "smithy.api#documentation": "Identifies why a scan run was created." } }, "com.amazonaws.continuum#ScanRunFailureMessage": { "type": "string", "traits": { "smithy.api#documentation": "Customer-safe failure detail for a scan run.", "smithy.api#length": { "min": 1, "max": 1024 } } }, "com.amazonaws.continuum#ScanRunId": { "type": "string", "traits": { "smithy.api#documentation": "Opaque identifier for a Continuum scan run.", "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-z0-9]+$" } }, "com.amazonaws.continuum#ScanStatus": { "type": "enum", "members": { "SUBMITTED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Continuum accepted the scan request. Its build has not started yet.", "smithy.api#enumValue": "SUBMITTED" } }, "WAITING_FOR_BUILD": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The scan's build is waiting for capacity to run.", "smithy.api#enumValue": "WAITING_FOR_BUILD" } }, "BUILDING": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The scan's build is running.", "smithy.api#enumValue": "BUILDING" } }, "WAITING_FOR_SCAN": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The build finished and the scan is waiting for capacity to analyze it.", "smithy.api#enumValue": "WAITING_FOR_SCAN" } }, "SCANNING": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Continuum is analyzing the built source.", "smithy.api#enumValue": "SCANNING" } }, "SUCCEEDED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The scan completed successfully.", "smithy.api#enumValue": "SUCCEEDED" } }, "FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The scan completed unsuccessfully. `failureStage` reports the phase it\nfailed in.", "smithy.api#enumValue": "FAILED" } } }, "traits": { "smithy.api#documentation": "The phase of a scan.\n\nA scan always builds the selected source first and then analyzes the\nverified result, so the phases below span both halves of the work.\n\nThese values are labels, not an ordered sequence for clients to compare. A\nscan does not necessarily observe every phase \u2014 phases are short-lived and a\npoll can miss one entirely." } }, "com.amazonaws.continuum#ServiceQuotaExceededException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "Description of the quota that was exceeded.", "smithy.api#required": {} } }, "quotaCode": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The quota code for the exceeded limit." } }, "serviceCode": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The service code for the exceeded limit." } } }, "traits": { "smithy.api#documentation": "The request would exceed a service quota. Review your quota and request an increase if needed.", "smithy.api#error": "client", "smithy.api#httpError": 402 } }, "com.amazonaws.continuum#SignalAccessLevel": { "type": "enum", "members": { "NONE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "No authentication: an unauthenticated entry point.", "smithy.api#enumValue": "NONE" } }, "ANY_AUTHENTICATED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Any ordinary organisational credential.", "smithy.api#enumValue": "ANY_AUTHENTICATED" } }, "PRIVILEGED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "A privileged credential.", "smithy.api#enumValue": "PRIVILEGED" } } }, "traits": { "smithy.api#documentation": "The level of access exploitation requires." } }, "com.amazonaws.continuum#SignalAccessPrecondition": { "type": "structure", "members": { "value": { "target": "com.amazonaws.continuum#SignalAccessLevel", "traits": { "smithy.api#documentation": "The level of access exploitation requires. Absent when the producer\nreported a level with no mapping yet." } }, "basis": { "target": "com.amazonaws.continuum#SignalBasis", "traits": { "smithy.api#documentation": "Where the producer's determination came from." } }, "reason": { "target": "com.amazonaws.continuum#ArtifactText", "traits": { "smithy.api#documentation": "The producer's explanation." } }, "missingInfo": { "target": "com.amazonaws.continuum#ArtifactText", "traits": { "smithy.api#documentation": "What the producer could not determine, when anything was missing." } } }, "traits": { "smithy.api#documentation": "The assessed access-level precondition with the basis behind it." } }, "com.amazonaws.continuum#SignalAttackerGains": { "type": "enum", "members": { "EXECUTE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Arbitrary code execution.", "smithy.api#enumValue": "EXECUTE" } }, "MODIFY_PRIVILEGED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Modification of data that governs privilege.", "smithy.api#enumValue": "MODIFY_PRIVILEGED" } }, "MODIFY_DATA": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Modification of business data.", "smithy.api#enumValue": "MODIFY_DATA" } }, "MODIFY_COSMETIC": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Modification with no security consequence.", "smithy.api#enumValue": "MODIFY_COSMETIC" } }, "READ": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Read access only.", "smithy.api#enumValue": "READ" } }, "NEITHER": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Neither read nor modification.", "smithy.api#enumValue": "NEITHER" } } }, "traits": { "smithy.api#documentation": "What an attacker gains from exploitation, strongest capability first." } }, "com.amazonaws.continuum#SignalAttackerGainsDimension": { "type": "structure", "members": { "value": { "target": "com.amazonaws.continuum#SignalAttackerGains", "traits": { "smithy.api#documentation": "The capability exploitation grants. Absent when the producer reported a\nvalue with no mapping yet." } }, "basis": { "target": "com.amazonaws.continuum#SignalBasis", "traits": { "smithy.api#documentation": "Where the producer's determination came from." } }, "reason": { "target": "com.amazonaws.continuum#ArtifactText", "traits": { "smithy.api#documentation": "The producer's explanation." } }, "missingInfo": { "target": "com.amazonaws.continuum#ArtifactText", "traits": { "smithy.api#documentation": "What the producer could not determine, when anything was missing." } } }, "traits": { "smithy.api#documentation": "The assessed attacker-gains dimension with the basis behind it." } }, "com.amazonaws.continuum#SignalBand": { "type": "enum", "members": { "VERY_LOW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "VERY_LOW" } }, "LOW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LOW" } }, "MODERATE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MODERATE" } }, "HIGH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "HIGH" } } }, "traits": { "smithy.api#documentation": "A likelihood or impact band on prioritization's shared four-value scale." } }, "com.amazonaws.continuum#SignalBasis": { "type": "enum", "members": { "CODE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Read directly from the customer's source code.", "smithy.api#enumValue": "CODE" } }, "GRAPH": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Stated by a claim or node attribute in the environment's context graph.", "smithy.api#enumValue": "GRAPH" } }, "FINDING": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Stated explicitly by the originating finding.", "smithy.api#enumValue": "FINDING" } }, "INFERRED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Reasoned from indirect evidence, such as context clues, several sources\nread together, or known behavior of the framework involved. No single\nsource states the value, but the producer had grounds for it.", "smithy.api#enumValue": "INFERRED" } }, "NO_EVIDENCE_DEFAULT": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "No evidence either way, so the producer used a default value. The\nweakest basis: read the value as a default, not as something established\nabout the customer's system, and check it first.", "smithy.api#enumValue": "NO_EVIDENCE_DEFAULT" } } }, "traits": { "smithy.api#documentation": "Where an assessed value came from, strongest evidence first. A customer\nweighing an assessment reads this to tell a fact read out of their own code\nfrom the producer's inference.\n\nThe first three values name a source that states the value directly. The\nlast two do not: INFERRED means the producer reasoned its way to the value,\nand NO_EVIDENCE_DEFAULT means it had nothing to reason from and used a\ndefault." } }, "com.amazonaws.continuum#SignalBlastRadius": { "type": "enum", "members": { "CROSS_TENANT": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Beyond this tenant.", "smithy.api#enumValue": "CROSS_TENANT" } }, "OTHER_USERS_IN_TENANT": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Other users within this tenant.", "smithy.api#enumValue": "OTHER_USERS_IN_TENANT" } }, "OWN_SCOPE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Only the attacker's own scope.", "smithy.api#enumValue": "OWN_SCOPE" } } }, "traits": { "smithy.api#documentation": "How far the consequences of exploitation reach, widest first." } }, "com.amazonaws.continuum#SignalBlastRadiusDimension": { "type": "structure", "members": { "value": { "target": "com.amazonaws.continuum#SignalBlastRadius", "traits": { "smithy.api#documentation": "How far the consequences reach. Absent when the producer reported a value\nwith no mapping yet." } }, "basis": { "target": "com.amazonaws.continuum#SignalBasis", "traits": { "smithy.api#documentation": "Where the producer's determination came from." } }, "reason": { "target": "com.amazonaws.continuum#ArtifactText", "traits": { "smithy.api#documentation": "The producer's explanation." } }, "missingInfo": { "target": "com.amazonaws.continuum#ArtifactText", "traits": { "smithy.api#documentation": "What the producer could not determine, when anything was missing." } } }, "traits": { "smithy.api#documentation": "The assessed blast-radius dimension with the basis behind it." } }, "com.amazonaws.continuum#SignalComputation": { "type": "structure", "members": { "likelihoodBand": { "target": "com.amazonaws.continuum#SignalBand", "traits": { "smithy.api#documentation": "Computed likelihood band, on a likelihood signal." } }, "impactBand": { "target": "com.amazonaws.continuum#SignalBand", "traits": { "smithy.api#documentation": "Computed impact band, on an impact signal." } }, "barriers": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "How many of the four exploit preconditions act as barriers (0-4)." } } }, "traits": { "smithy.api#documentation": "Deterministic values the producer computed from its assessment, as distinct from the assessment itself." } }, "com.amazonaws.continuum#SignalConfidenceReasoning": { "type": "structure", "members": { "summary": { "target": "com.amazonaws.continuum#ArtifactText", "traits": { "smithy.api#documentation": "One-line rationale.", "smithy.api#required": {} } }, "factors": { "target": "com.amazonaws.continuum#ArtifactCitations", "traits": { "smithy.api#documentation": "The individual factors behind it." } } }, "traits": { "smithy.api#documentation": "A producer's structured rationale for a signal's confidence." } }, "com.amazonaws.continuum#SignalDimension": { "type": "enum", "members": { "EXPLOITABILITY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EXPLOITABILITY" } }, "BLAST_RADIUS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BLAST_RADIUS" } }, "NETWORK_EXPOSURE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NETWORK_EXPOSURE" } }, "PRECONDITION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PRECONDITION" } }, "CODE_CONTEXT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CODE_CONTEXT" } }, "LIKELIHOOD_ASSESSMENT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LIKELIHOOD_ASSESSMENT" } }, "IMPACT_ASSESSMENT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IMPACT_ASSESSMENT" } } }, "traits": { "smithy.api#documentation": "The scoring axis a signal speaks to." } }, "com.amazonaws.continuum#SignalExploitability": { "type": "structure", "members": { "verdict": { "target": "com.amazonaws.continuum#ExploitabilityVerdict", "traits": { "smithy.api#documentation": "Validation's verdict. `UNCERTAIN` covers a run that was inconclusive \u2014\nout of budget, an ambiguous failure, or no decisive layer reached \u2014 and is\nnever a refutation." } }, "reachedCrownJewels": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "Whether validation reached the high-value sink the attack path posited.\n\nA Boolean rather than an enum: the sink was either reached or it was not,\nand how far the walk got when it was not is already carried, with more\nprecision, by `highestLayerReached`. An unknown is the absent member." } }, "highestLayerReached": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "The highest impact layer validation reached, 1-5, as a measure of how far\nthe attack path was walked." } }, "confidenceTier": { "target": "com.amazonaws.continuum#ValidationConfidenceTier", "traits": { "smithy.api#documentation": "How strong the evidence behind the verdict is." } }, "scriptable": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "Whether the proven exploit is automatable rather than one-off.\n\nA Boolean for the same reason as `SignalPrecondition.value`: validation\nrecords a bool, and an unknown is the absent member." } }, "sourceValidationArtifactId": { "target": "com.amazonaws.continuum#IssueArtifactId", "traits": { "smithy.api#documentation": "The VALIDATION_EVIDENCE artifact on this same issue holding the proof this\nverdict summarizes. Fetch it with GetCodeIssueArtifact for the full reasoning\nchain and exploit artifact." } } }, "traits": { "smithy.api#documentation": "What validation established about exploitability, as summarized onto the scoring signal derived from it." } }, "com.amazonaws.continuum#SignalImpactDimensions": { "type": "structure", "members": { "attackerGains": { "target": "com.amazonaws.continuum#SignalAttackerGainsDimension", "traits": { "smithy.api#documentation": "What the attacker gains from exploitation." } }, "blastRadius": { "target": "com.amazonaws.continuum#SignalBlastRadiusDimension", "traits": { "smithy.api#documentation": "How far the consequences reach." } }, "targetValue": { "target": "com.amazonaws.continuum#SignalTargetValueDimension", "traits": { "smithy.api#documentation": "How valuable the target is, which can shift the band off its base value." } } }, "traits": { "smithy.api#documentation": "The three impact dimensions an impact signal assessed. The computed impact band is derived from attackerGains and blastRadius, then shifted by targetValue." } }, "com.amazonaws.continuum#SignalPrecondition": { "type": "structure", "members": { "value": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "The producer's determination.\n\nA Boolean rather than an enum, against the Common Terms preference for\nenums on extensibility grounds. The question each precondition answers is\nclosed \u2014 is the code reachable, is configuration required, must a user\nother than the attacker interact \u2014 and the only third state, \"not\ndetermined\", is already expressed by omitting this member, which the\nprojection does whenever the stored value is not a bool. An enum would\ngive two ways to say the same thing, while `basis` and `missingInfo`\nalready qualify how firm the answer is." } }, "basis": { "target": "com.amazonaws.continuum#SignalBasis", "traits": { "smithy.api#documentation": "Where the producer's determination came from." } }, "reason": { "target": "com.amazonaws.continuum#ArtifactText", "traits": { "smithy.api#documentation": "The producer's explanation." } }, "missingInfo": { "target": "com.amazonaws.continuum#ArtifactText", "traits": { "smithy.api#documentation": "What the producer could not determine, when anything was missing." } } }, "traits": { "smithy.api#documentation": "One assessed precondition with the basis behind it." } }, "com.amazonaws.continuum#SignalPreconditions": { "type": "structure", "members": { "reachableFromAttacker": { "target": "com.amazonaws.continuum#SignalPrecondition", "traits": { "smithy.api#documentation": "Whether the vulnerable code path is reachable by an attacker." } }, "configurationNeeded": { "target": "com.amazonaws.continuum#SignalPrecondition", "traits": { "smithy.api#documentation": "Whether exploitation depends on a non-default configuration." } }, "accessLevel": { "target": "com.amazonaws.continuum#SignalAccessPrecondition", "traits": { "smithy.api#documentation": "What level of access exploitation requires." } }, "userInteractionRequired": { "target": "com.amazonaws.continuum#SignalPrecondition", "traits": { "smithy.api#documentation": "Whether exploitation requires a user other than the attacker to take\npart, for example by opening a link or a file (CVSS User Interaction)." } } }, "traits": { "smithy.api#documentation": "The four preconditions a likelihood signal assessed." } }, "com.amazonaws.continuum#SignalStrength": { "type": "enum", "members": { "NONE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NONE" } }, "WEAK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "WEAK" } }, "MODERATE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MODERATE" } }, "STRONG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "STRONG" } } }, "traits": { "smithy.api#documentation": "A signal's own rating, an input to scoring rather than a finding severity." } }, "com.amazonaws.continuum#SignalTargetValue": { "type": "enum", "members": { "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" } } }, "traits": { "smithy.api#documentation": "How valuable the exploited target is." } }, "com.amazonaws.continuum#SignalTargetValueDimension": { "type": "structure", "members": { "value": { "target": "com.amazonaws.continuum#SignalTargetValue", "traits": { "smithy.api#documentation": "How valuable the target is. Absent when the producer reported a value\nwith no mapping yet." } }, "basis": { "target": "com.amazonaws.continuum#SignalBasis", "traits": { "smithy.api#documentation": "Where the producer's determination came from." } }, "reason": { "target": "com.amazonaws.continuum#ArtifactText", "traits": { "smithy.api#documentation": "The producer's explanation." } }, "missingInfo": { "target": "com.amazonaws.continuum#ArtifactText", "traits": { "smithy.api#documentation": "What the producer could not determine, when anything was missing." } } }, "traits": { "smithy.api#documentation": "The assessed target-value dimension with the basis behind it." } }, "com.amazonaws.continuum#SourceFindingId": { "type": "string", "traits": { "smithy.api#documentation": "The producer's stable identifier for the finding, extracted from the submitted document.\nUseful for cross-referencing with the originating system.", "smithy.api#length": { "min": 1, "max": 1024 } } }, "com.amazonaws.continuum#StartIntegrationAuthorization": { "type": "operation", "input": { "target": "com.amazonaws.continuum#StartIntegrationAuthorizationInput" }, "output": { "target": "com.amazonaws.continuum#StartIntegrationAuthorizationOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#ConflictException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to start an OAuth authorization for a new integration" }, "smithy.api#documentation": "Starts an OAuth authorization for a new integration and returns the values the caller sends to the provider's authorization endpoint. The authorization belongs to the calling AWS account, can be redeemed once by CreateIntegration from that same account, and expires after ten minutes.", "smithy.api#http": { "code": 201, "method": "POST", "uri": "/integration-authorizations" } } }, "com.amazonaws.continuum#StartIntegrationAuthorizationInput": { "type": "structure", "members": { "providerType": { "target": "com.amazonaws.continuum#IntegrationAuthorizationProviderType", "traits": { "smithy.api#documentation": "The provider to authorize. Only GITHUB is supported.", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.continuum#IntegrationName", "traits": { "smithy.api#documentation": "The name the integration will be created with. When specified, the request\nfails with ConflictException if an integration with this name already exists\nin the account, before the caller leaves for the provider. The name is only\nchecked: it is not reserved, stored, or authorized. CreateIntegration requires\nits own name, checks it again, and may use a different one." } } }, "traits": { "smithy.api#documentation": "Specifies the provider to authorize and, optionally, the name the new integration will use.", "smithy.api#input": {} } }, "com.amazonaws.continuum#StartIntegrationAuthorizationOutput": { "type": "structure", "members": { "state": { "target": "com.amazonaws.continuum#OAuthState", "traits": { "smithy.api#documentation": "An opaque value to send as the OAuth `state` parameter. Pass the value the\nprovider returns in its callback to CreateIntegration as `authorization.state`.", "smithy.api#required": {} } }, "codeChallenge": { "target": "com.amazonaws.continuum#OAuthCodeChallenge", "traits": { "smithy.api#documentation": "The PKCE code challenge to send as the OAuth `code_challenge` parameter.", "smithy.api#required": {} } }, "codeChallengeMethod": { "target": "com.amazonaws.continuum#OAuthCodeChallengeMethod", "traits": { "smithy.api#documentation": "The PKCE challenge method to send as the OAuth `code_challenge_method` parameter.", "smithy.api#required": {} } }, "expiresAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The time after which CreateIntegration no longer accepts this authorization.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "Contains the values to send to the provider's authorization endpoint.", "smithy.api#output": {} } }, "com.amazonaws.continuum#ThrottlingException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "Description of the throttling error.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The request was denied due to request throttling.", "smithy.api#error": "client", "smithy.api#httpError": 429, "smithy.api#retryable": { "throttling": true } } }, "com.amazonaws.continuum#UpdateCodeConfiguration": { "type": "structure", "members": { "sourceConfiguration": { "target": "com.amazonaws.continuum#EnvironmentSourceConfiguration", "traits": { "smithy.api#documentation": "Source changes. s3Sources replaces the environment's S3 source, and\nrepositorySources replaces its repository selections." } }, "environmentConfiguration": { "target": "com.amazonaws.continuum#EnvironmentConfiguration", "traits": { "smithy.api#documentation": "Operating-policy changes. network replaces the environment's network policy;\na network without allowedDomains allows no domains. Builds accepted before\nthe change keep the domains they were accepted with. patchCreationPolicy\nreplaces the patch creation policy. scanFrequency updates scan cadence.\nOmitted members preserve their stored values." } } }, "traits": { "smithy.api#documentation": "Mutable source and operating-policy settings for a code environment." } }, "com.amazonaws.continuum#UpdateCollector": { "type": "operation", "input": { "target": "com.amazonaws.continuum#UpdateCollectorInput" }, "output": { "target": "com.amazonaws.continuum#UpdateCollectorOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#ConflictException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to update a collector", "requiredActions": [ "iam:PassRole" ], "resources": { "required": { "collectors": {} } } }, "smithy.api#documentation": "Updates the customer-controlled mutable properties of a Collector. Only the name and Kubernetes cluster IAM role can be changed.", "smithy.api#http": { "code": 200, "method": "PATCH", "uri": "/collectors/{collectorId}" }, "smithy.api#idempotent": {} } }, "com.amazonaws.continuum#UpdateCollectorInput": { "type": "structure", "members": { "collectorId": { "target": "com.amazonaws.continuum#CollectorId", "traits": { "smithy.api#documentation": "The unique identifier of the Collector to update.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.continuum#CollectorName", "traits": { "smithy.api#documentation": "The new customer-visible name." } }, "kubernetesClusterRole": { "target": "com.amazonaws.continuum#KubernetesClusterRoleUpdate", "traits": { "smithy.api#documentation": "Atomic update to the IAM role configuration used to collect Kubernetes\ncluster metadata. The set variant requires a complete configuration;\nthe authenticated caller must be allowed to pass its exact roleArn to\nContinuum. The remove variant clears both the role and external ID.", "smithy.api#jsonName": "k8ClusterRole" } } }, "traits": { "smithy.api#documentation": "Specifies the mutable Collector properties. At least one property must be supplied. k8ClusterRole models an atomic set-or-remove mutation, so roleArn and externalId are replaced or removed together.", "smithy.api#input": {} } }, "com.amazonaws.continuum#UpdateCollectorOutput": { "type": "structure", "members": { "collectorId": { "target": "com.amazonaws.continuum#CollectorId", "traits": { "smithy.api#documentation": "The unique identifier of the updated Collector.", "smithy.api#required": {} } }, "collectorArn": { "target": "com.amazonaws.continuum#CollectorArn", "traits": { "smithy.api#documentation": "The ARN of the updated Collector.", "smithy.api#required": {} } }, "type": { "target": "com.amazonaws.continuum#CollectorType", "traits": { "smithy.api#documentation": "The source collected by this Collector.", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.continuum#CollectorStatus", "traits": { "smithy.api#documentation": "The current lifecycle status.", "smithy.api#required": {} } }, "configRecorderArn": { "target": "com.amazonaws.continuum#ConfigRecorderArn", "traits": { "smithy.api#documentation": "The ARN of the provisioned AWS Config Recorder." } }, "kubernetesClusterRoleArn": { "target": "com.amazonaws.continuum#KubernetesClusterRoleArn", "traits": { "smithy.api#documentation": "IAM role used to collect Kubernetes cluster metadata.", "smithy.api#jsonName": "k8ClusterRole" } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the Collector was created.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "updatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The time of the last successful UpdateCollector call, returned at\nwhole-second precision in the same date-time format as createdAt.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "Contains the current state of the updated Collector.", "smithy.api#output": {} } }, "com.amazonaws.continuum#UpdateEnvironment": { "type": "operation", "input": { "target": "com.amazonaws.continuum#UpdateEnvironmentInput" }, "output": { "target": "com.amazonaws.continuum#UpdateEnvironmentOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#ConflictException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#conditionKeys": [ "continuum:RepositoryName" ], "aws.iam#iamAction": { "documentation": "Grants permission to update an environment", "resources": { "required": { "environments": {} }, "optional": { "integrations": {} } } }, "smithy.api#documentation": "Updates the customer-controlled mutable properties of an environment. Only the name, the environment's S3 integration source and repository selections, its scan frequency, its network policy, and its patch creation policy can be changed.", "smithy.api#http": { "code": 200, "method": "PATCH", "uri": "/environments/{environmentId}" }, "smithy.api#idempotent": {} } }, "com.amazonaws.continuum#UpdateEnvironmentConfiguration": { "type": "structure", "members": { "codeConfiguration": { "target": "com.amazonaws.continuum#UpdateCodeConfiguration", "traits": { "smithy.api#documentation": "Changes to a code-scanning environment." } } }, "traits": { "smithy.api#documentation": "Type-specific changes to an environment. Omitted members preserve stored values." } }, "com.amazonaws.continuum#UpdateEnvironmentInput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the environment to update.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.continuum#EnvironmentName", "traits": { "smithy.api#documentation": "The new customer-visible name." } }, "configuration": { "target": "com.amazonaws.continuum#UpdateEnvironmentConfiguration", "traits": { "smithy.api#documentation": "Type-specific configuration changes. Omission preserves the configuration." } } }, "traits": { "smithy.api#documentation": "Specifies the mutable environment properties. Supply a name or a change under configuration.codeConfiguration. Its sourceConfiguration.s3Sources and sourceConfiguration.repositorySources replace the S3 source and repository selections. Its environmentConfiguration has patch semantics: omitted members preserve stored values, scanFrequency updates scan cadence, and network and patchCreationPolicy replace the corresponding policies.", "smithy.api#input": {} } }, "com.amazonaws.continuum#UpdateEnvironmentOutput": { "type": "structure", "members": { "environmentId": { "target": "com.amazonaws.continuum#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the updated environment.", "smithy.api#required": {} } }, "environmentArn": { "target": "com.amazonaws.continuum#EnvironmentArn", "traits": { "smithy.api#documentation": "The ARN of the updated environment.", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.continuum#EnvironmentName", "traits": { "smithy.api#documentation": "The current customer-visible name of the environment.", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.continuum#EnvironmentStatus", "traits": { "smithy.api#documentation": "The current operational status of the environment.", "smithy.api#required": {} } }, "statusMessage": { "target": "com.amazonaws.continuum#EnvironmentStatusMessage", "traits": { "smithy.api#documentation": "Human-readable details about the current status." } }, "statusUpdatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the status last transitioned. Uses the existing\nGetEnvironment/ListEnvironments ISO-8601 wire format for this field.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the environment was created. Uses the existing\nGetEnvironment/ListEnvironments ISO-8601 wire format for this field.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "configuration": { "target": "com.amazonaws.continuum#EnvironmentConfigurationDetails", "traits": { "smithy.api#documentation": "Type-specific state, including Collector details and the latest scan.\nRead source and operating-policy settings through GetEnvironment.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains the current state of the updated environment. Use GetEnvironment to read its source and environment configuration.", "smithy.api#output": {} } }, "com.amazonaws.continuum#UpdateIntegration": { "type": "operation", "input": { "target": "com.amazonaws.continuum#UpdateIntegrationInput" }, "output": { "target": "com.amazonaws.continuum#UpdateIntegrationOutput" }, "errors": [ { "target": "com.amazonaws.continuum#AccessDeniedException" }, { "target": "com.amazonaws.continuum#ConflictException" }, { "target": "com.amazonaws.continuum#InternalServerException" }, { "target": "com.amazonaws.continuum#ResourceNotFoundException" }, { "target": "com.amazonaws.continuum#ThrottlingException" }, { "target": "com.amazonaws.continuum#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to update the IAM role of an Amazon S3 integration", "requiredActions": [ "iam:PassRole" ], "resources": { "required": { "integrations": {} } } }, "smithy.api#documentation": "Rotates the credentials used by an Amazon S3 integration. Only S3 integrations can\nbe updated; GitHub integrations cannot be modified. The integration's name,\nprovider type, and bucket remain fixed.\n\nThe caller must have iam:PassRole permission for the supplied role, including\nwhen only the external ID changes. Continuum verifies that the role can be\nassumed with the requested external ID and can access the existing bucket before\nsaving both credentials atomically. Omitting externalId preserves its current\nvalue. Repeating both current credentials leaves updatedAt unchanged, but still\nrequires authorization and access validation.\n", "smithy.api#http": { "code": 200, "method": "PATCH", "uri": "/integrations/{integrationId}" }, "smithy.api#idempotent": {} } }, "com.amazonaws.continuum#UpdateIntegrationInput": { "type": "structure", "members": { "integrationId": { "target": "com.amazonaws.continuum#IntegrationId", "traits": { "smithy.api#documentation": "The unique identifier of the S3 integration to update.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "providerConfiguration": { "target": "com.amazonaws.continuum#UpdateProviderConfiguration", "traits": { "smithy.api#documentation": "The provider-specific changes to apply. The member must match the\nintegration's provider type, and only S3 integrations can be updated.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the S3 integration and the credentials to validate and save.", "smithy.api#input": {} } }, "com.amazonaws.continuum#UpdateIntegrationOutput": { "type": "structure", "members": { "integrationId": { "target": "com.amazonaws.continuum#IntegrationId", "traits": { "smithy.api#required": {} } }, "integrationArn": { "target": "com.amazonaws.continuum#IntegrationArn", "traits": { "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.continuum#IntegrationName", "traits": { "smithy.api#required": {} } }, "integrationType": { "target": "com.amazonaws.continuum#IntegrationType", "traits": { "smithy.api#required": {} } }, "providerDetails": { "target": "com.amazonaws.continuum#ProviderDetails", "traits": { "smithy.api#required": {} } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "When the integration was created.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "updatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "When the integration was last updated.", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "Contains the current state of the updated S3 integration. The sensitive external ID is omitted.", "smithy.api#output": {} } }, "com.amazonaws.continuum#UpdateProviderConfiguration": { "type": "union", "members": { "s3": { "target": "com.amazonaws.continuum#UpdateS3Configuration", "traits": { "smithy.api#documentation": "Replacement credentials for a customer-managed S3 integration." } } }, "traits": { "smithy.api#documentation": "Provider-specific changes for updating an integration.\nOnly S3 integrations can be updated, so S3 is the only member." } }, "com.amazonaws.continuum#UpdateS3Configuration": { "type": "structure", "members": { "roleArn": { "target": "com.amazonaws.continuum#IntegrationS3RoleArn", "traits": { "smithy.api#documentation": "The role to use. Supply the current role when rotating only the external ID.\nThe caller must be allowed to pass this exact role to Continuum.", "smithy.api#required": {} } }, "externalId": { "target": "com.amazonaws.continuum#IntegrationS3ExternalId", "traits": { "smithy.api#documentation": "The replacement external ID used when assuming the supplied role.\nIf omitted, the existing external ID is preserved. This value is sensitive\nand is never included in the public integration response." } } }, "traits": { "smithy.api#documentation": "Replacement credentials for a customer-managed S3 integration. The bucket cannot be changed." } }, "com.amazonaws.continuum#ValidationConfidence": { "type": "double", "traits": { "smithy.api#documentation": "Confidence in a validation verdict, on the producer's native 0-1 scale.\n\nDeliberately unconstrained in the model: the smithy-rs server SDK rejects\n`@range` on a double (smithy-rs#2007). The bound is enforced where the value\nis produced instead \u2014 Control Plane projects this from stored content and\nomits the member when the stored value falls outside 0-1, so an out-of-range\nproducer value never surfaces here as a valid confidence. The rest of the\nbody still projects; only the confidence is dropped." } }, "com.amazonaws.continuum#ValidationConfidenceTier": { "type": "enum", "members": { "SOURCE_READ": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Concluded from reading source only; nothing was executed.", "smithy.api#enumValue": "SOURCE_READ" } }, "STATIC_PROVEN": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Proven by static analysis.", "smithy.api#enumValue": "STATIC_PROVEN" } }, "BUILD_PROVEN": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Proven against a build of the customer's code.", "smithy.api#enumValue": "BUILD_PROVEN" } }, "RUNTIME_PROVEN": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "Proven against a running target. The strongest tier.", "smithy.api#enumValue": "RUNTIME_PROVEN" } } }, "traits": { "smithy.api#documentation": "How strong the evidence behind an exploitability verdict is, weakest first.\n\nModeled as named tiers rather than the producer's 1-4 ordinal: the number\nalone carries no meaning outside Continuum's own table, and a customer\nbranching on \"was this actually run\" needs the distinction by name. The\ndeclaration order is the ordering." } }, "com.amazonaws.continuum#ValidationEvidenceBody": { "type": "structure", "members": { "exploitable": { "target": "com.amazonaws.continuum#ExploitabilityVerdict", "traits": { "smithy.api#documentation": "Exploitability verdict. Explicit UNCERTAIN replaces the producer's\ntri-state `exploitable: true | false | null`, so an absent verdict is\nnever confused with a negative one.", "smithy.api#required": {} } }, "terminalStatus": { "target": "com.amazonaws.continuum#ValidationTerminalStatus", "traits": { "smithy.api#documentation": "How the validation run ended. Absent when the producer reported a status\nwith no mapping yet: the rest of the body still projects, so one\nunmapped enum never costs a customer the whole artifact." } }, "flowVerdicts": { "target": "com.amazonaws.continuum#FlowVerdicts", "traits": { "smithy.api#documentation": "One verdict per attack flow assessed in the bundle." } }, "attackFlowsConfirmed": { "target": "com.amazonaws.continuum#AttackFlowIds", "traits": { "smithy.api#documentation": "Identifiers of attack flows upgraded to Confirmed provenance." } }, "exploitArtifact": { "target": "com.amazonaws.continuum#ValidationExploitArtifact", "traits": { "smithy.api#documentation": "Concrete payload and its observed effect, when validation produced one by\nsending an HTTP request.\n\nOnly an HTTP proof projects here. A validation agent that proves\nexploitability by RUNNING code against the repository projects\n`executedProof`, and one that proves it by reading the source projects\n`sourceAnalysis`. All three are mutually exclusive: at most one is present." } }, "executedProof": { "target": "com.amazonaws.continuum#ValidationExecutedProof", "traits": { "smithy.api#documentation": "Proof the agent produced by executing code against the repository under\ntest, with the output that execution produced." } }, "sourceAnalysis": { "target": "com.amazonaws.continuum#ValidationSourceAnalysis", "traits": { "smithy.api#documentation": "Proof the agent produced by reading the repository's source, with nothing\nbuilt or run." } }, "perFindingResults": { "target": "com.amazonaws.continuum#PerFindingResults", "traits": { "smithy.api#documentation": "Per-finding breakdown for a multi-finding bundle. Absent for a\nsingle-finding bundle." } } }, "traits": { "smithy.api#documentation": "Projected content for a VALIDATION_EVIDENCE artifact: the validation agent's durable proof of exploitability." } }, "com.amazonaws.continuum#ValidationException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#required": {} } }, "fieldList": { "target": "com.amazonaws.continuum#ValidationExceptionFieldList" } }, "traits": { "smithy.api#error": "client" } }, "com.amazonaws.continuum#ValidationExceptionField": { "type": "structure", "members": { "path": { "target": "smithy.api#String", "traits": { "smithy.api#required": {} } }, "message": { "target": "smithy.api#String", "traits": { "smithy.api#required": {} } } } }, "com.amazonaws.continuum#ValidationExceptionFieldList": { "type": "list", "member": { "target": "com.amazonaws.continuum#ValidationExceptionField" } }, "com.amazonaws.continuum#ValidationExecutedProof": { "type": "structure", "members": { "code": { "target": "com.amazonaws.continuum#ValidationProofCode", "traits": { "smithy.api#documentation": "The code that was run. Not a request payload: it imports the\nrepository's own modules and drives the vulnerable code path directly.", "smithy.api#required": {} } }, "output": { "target": "com.amazonaws.continuum#ValidationProofOutput", "traits": { "smithy.api#documentation": "What the execution printed, including the agent's own PASS/FAIL\nassertions. Absent when the run printed nothing retained." } }, "observedEffect": { "target": "com.amazonaws.continuum#ExploitEffect", "traits": { "smithy.api#documentation": "Effect the execution actually produced. `observedEffect` rather than\n`effect`: this one was witnessed, and the name has to stay distinguishable\nfrom `ValidationSourceAnalysis.inferredEffect`, which was not." } } }, "traits": { "smithy.api#documentation": "Proof of exploitability the validation agent produced by executing code against the repository under test, with the output that execution produced." } }, "com.amazonaws.continuum#ValidationExploitArtifact": { "type": "structure", "members": { "payload": { "target": "com.amazonaws.continuum#ArtifactText", "traits": { "smithy.api#documentation": "The exact payload sent.", "smithy.api#required": {} } }, "targetUrl": { "target": "com.amazonaws.continuum#ArtifactCitation", "traits": { "smithy.api#documentation": "Target the payload was sent to.", "smithy.api#required": {} } }, "httpMethod": { "target": "com.amazonaws.continuum#ArtifactHttpMethod", "traits": { "smithy.api#documentation": "HTTP method the payload was sent with.", "smithy.api#required": {} } }, "headers": { "target": "com.amazonaws.continuum#ArtifactHeaders", "traits": { "smithy.api#documentation": "Headers sent with the payload." } }, "responseStatus": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "HTTP status observed in the response." } }, "responseSnippet": { "target": "com.amazonaws.continuum#ArtifactProofBody", "traits": { "smithy.api#documentation": "Leading portion of the response body, bounded by the producer." } }, "effect": { "target": "com.amazonaws.continuum#ExploitEffect", "traits": { "smithy.api#documentation": "Effect observed from sending the payload.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A concrete exploit payload and the effect validation observed from it." } }, "com.amazonaws.continuum#ValidationProofCode": { "type": "structure", "members": { "proofCode": { "target": "com.amazonaws.continuum#ValidationProofMaterials", "traits": { "smithy.api#documentation": "Proof program files, main file first, in their retained order.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The executed proof's program. Further members, such as command,\nworkingDirectory and supportingInputs, can be added later as optional details." } }, "com.amazonaws.continuum#ValidationProofConsoleOutput": { "type": "string", "traits": { "smithy.api#documentation": "The retained merged console output; its structure allows optional additions.", "smithy.api#length": { "min": 0, "max": 131072 } } }, "com.amazonaws.continuum#ValidationProofMaterial": { "type": "structure", "members": { "content": { "target": "com.amazonaws.continuum#ValidationProofMaterialText", "traits": { "smithy.api#documentation": "The file's non-blank text, exactly as retained.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "One proof program file. Further members, such as path and purpose, can be\nadded later as optional details." } }, "com.amazonaws.continuum#ValidationProofMaterialText": { "type": "string", "traits": { "smithy.api#documentation": "The retained proof file text; its structure allows optional additions.", "smithy.api#length": { "min": 1, "max": 131072 } } }, "com.amazonaws.continuum#ValidationProofMaterials": { "type": "list", "member": { "target": "com.amazonaws.continuum#ValidationProofMaterial" }, "traits": { "smithy.api#documentation": "The proof program's files, bounded so later optional details can be added.", "smithy.api#length": { "min": 1, "max": 64 } } }, "com.amazonaws.continuum#ValidationProofOutput": { "type": "structure", "members": { "consoleOutput": { "target": "com.amazonaws.continuum#ValidationProofConsoleOutput", "traits": { "smithy.api#documentation": "What the run printed: standard output and standard error merged, as\nretained. The text may be empty.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Retained run output. Further members, such as completion and\noutputCompleteness, can be added later as optional details." } }, "com.amazonaws.continuum#ValidationProofSummary": { "type": "string", "traits": { "smithy.api#documentation": "The Markdown analysis summary; its structure allows optional additions.", "smithy.api#length": { "min": 1, "max": 16384 } } }, "com.amazonaws.continuum#ValidationSourceAnalysis": { "type": "structure", "members": { "summary": { "target": "com.amazonaws.continuum#ValidationProofSummary", "traits": { "smithy.api#documentation": "The non-blank analysis as Markdown: the annotated entry-to-sink walk,\nits citations, and why the checked guards are absent or bypassed.", "smithy.api#required": {} } }, "inferredEffect": { "target": "com.amazonaws.continuum#ExploitEffect", "traits": { "smithy.api#documentation": "Effect the agent concluded WOULD occur. Deliberately not `effect`:\nnothing was executed, so this is reasoned from the source and must not be\nread as an observation. See `ValidationExecutedProof.observedEffect`." } } }, "traits": { "smithy.api#documentation": "Proof of exploitability the validation agent produced by reading the repository's source, with nothing built or run. Further members, such as diagram and references, can be added later as optional details." } }, "com.amazonaws.continuum#ValidationTerminalStatus": { "type": "enum", "members": { "COMPLETED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The run finished and assessed every layer it attempted.", "smithy.api#enumValue": "COMPLETED" } }, "FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The run did not finish.", "smithy.api#enumValue": "FAILED" } }, "NO_SOURCE_AVAILABLE": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The run finished without testing anything, because the environment\nexposed no source substrate to assess. Distinct from `COMPLETED`: a\nreader has to be able to tell \"assessed and concluded\" from \"had nothing\nto assess\", and this is the single most common outcome in practice.", "smithy.api#enumValue": "NO_SOURCE_AVAILABLE" } }, "PARTIAL": { "target": "smithy.api#Unit", "traits": { "smithy.api#documentation": "The run finished but assessed only some of what it set out to. The\nevidence present is sound; it is not the whole intended assessment.", "smithy.api#enumValue": "PARTIAL" } } }, "traits": { "smithy.api#documentation": "How a validation run ended. Producer statuses map onto these; an unmapped\nstatus omits `terminalStatus` while the rest of the body still projects." } } } }