TelcoNetworkBuilder / Client / get_sol_function_package_content

get_sol_function_package_content#

TelcoNetworkBuilder.Client.get_sol_function_package_content(**kwargs)#

Gets 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.

See also: AWS API Documentation

Request Syntax

response = client.get_sol_function_package_content(
    accept='application/zip',
    vnfPkgId='string'
)
Parameters:
  • accept (string) –

    [REQUIRED]

    The format of the package that you want to download from the function packages.

  • vnfPkgId (string) –

    [REQUIRED]

    ID of the function package.

Return type:

dict

Returns:

Response Syntax

{
    'contentType': 'application/zip',
    'packageContent': StreamingBody()
}

Response Structure

  • (dict) –

    • contentType (string) –

      Indicates the media type of the resource.

    • packageContent (StreamingBody) –

      Contents of the function package.

Exceptions

  • TelcoNetworkBuilder.Client.exceptions.InternalServerException

  • TelcoNetworkBuilder.Client.exceptions.ThrottlingException

  • TelcoNetworkBuilder.Client.exceptions.ValidationException

  • TelcoNetworkBuilder.Client.exceptions.ResourceNotFoundException

  • TelcoNetworkBuilder.Client.exceptions.AccessDeniedException