UpdatePackageGroupOriginConfigurationRequest

AmazonAmazon Web ServicesArtifact RepositoryPackage ManagementDevOpsSoftware Supply ChainnpmMavenPyPINuGetDeveloper Tools

Properties

Name Type Description
domain string The name of the domain which contains the package group for which to update the origin configuration.
domainOwner string The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
packageGroup string The pattern of the package group for which to update the origin configuration.
restrictions object The origin configuration settings that determine how package versions can enter repositories.
addAllowedRepositories array The repository name and restrictions to add to the allowed repository list of the specified package group.
removeAllowedRepositories array The repository name and restrictions to remove from the allowed repository list of the specified package group.
View JSON Schema on GitHub

JSON Schema

amazon-codeartifact-update-package-group-origin-configuration-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-codeartifact/json-schema/amazon-codeartifact-update-package-group-origin-configuration-request-schema.json",
  "title": "UpdatePackageGroupOriginConfigurationRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-codeartifact-operations-api-openapi.yml#/components/schemas/UpdatePackageGroupOriginConfigurationRequest",
  "type": "object",
  "properties": {
    "domain": {
      "type": "string",
      "description": "The name of the domain which contains the package group for which to update the origin configuration."
    },
    "domainOwner": {
      "type": "string",
      "description": "The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces."
    },
    "packageGroup": {
      "type": "string",
      "description": "The pattern of the package group for which to update the origin configuration."
    },
    "restrictions": {
      "type": "object",
      "additionalProperties": {
        "type": "string",
        "enum": [
          "ALLOW",
          "ALLOW_SPECIFIC_REPOSITORIES",
          "BLOCK",
          "INHERIT"
        ]
      },
      "description": "The origin configuration settings that determine how package versions can enter repositories."
    },
    "addAllowedRepositories": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PackageGroupAllowedRepository"
      },
      "description": "The repository name and restrictions to add to the allowed repository list of the specified package group."
    },
    "removeAllowedRepositories": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PackageGroupAllowedRepository"
      },
      "description": "The repository name and restrictions to remove from the allowed repository list of the specified package group."
    }
  },
  "required": [
    "domain",
    "packageGroup"
  ],
  "$defs": {
    "PackageGroupAllowedRepository": {
      "type": "object",
      "properties": {
        "repositoryName": {
          "type": "string",
          "description": "The name of the allowed repository."
        },
        "originRestrictionType": {
          "type": "string",
          "enum": [
            "EXTERNAL_UPSTREAM",
            "INTERNAL_UPSTREAM",
            "PUBLISH"
          ],
          "description": "The origin configuration restriction type of the allowed repository."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-codeartifact-update-package-group-origin-configuration-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.