---
title: "PUT /sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content"
method: PUT
path: "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content"
---

# PUT /sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content

`PUT /sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content`

Uploads the contents of a function package.

A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.

## Path parameters

- `vnfPkgId` string, required

## Headers

- `Content-Type` 'application/zip'

## Request body

- object
  - `file` string, password, required — Function package file.

## Response `202`

Success

- PutSolFunctionPackageContentOutput
  - `id` string, required — Function package ID.
  - `metadata` object, required — Function package metadata.
    - `vnfd` FunctionArtifactMeta — <p>Metadata for function package artifacts.</p> <p>Artifacts are the contents of the package descriptor file and the state of the package.</p>
      - `overrides` ToscaOverride[] — Lists of function package overrides.
        - `defaultValue` string — Default value for the override.
        - `name` string — Name of the TOSCA override.
  - `vnfProductName` string, required — Function product name.
  - `vnfProvider` string, required — Function provider.
  - `vnfdId` string, required — Function package descriptor ID.
  - `vnfdVersion` string, required — Function package descriptor version.

## Other responses

- `480` — InternalServerException
- `481` — ThrottlingException
- `482` — ValidationException
- `483` — ResourceNotFoundException
- `484` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/tnb.md) · [All operations](https://skmtc.net/aws/apis/tnb/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/tnb/revisions/0ae8563a8404/schema)
