get_sol_function_package_descriptor

get_sol_function_package_descriptor(**kwargs)

Gets a function package descriptor in a function package.

A function package descriptor is a .yaml file in a function package that uses the TOSCA standard to describe how the network function in the function package should run on your network.

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_descriptor(
    accept='text/plain',
    vnfPkgId='string'
)
Parameters
  • accept (string) --

    [REQUIRED]

    Indicates which content types, expressed as MIME types, the client is able to understand.

  • vnfPkgId (string) --

    [REQUIRED]

    ID of the function package.

Return type

dict

Returns

Response Syntax

{
    'contentType': 'text/plain',
    'vnfd': StreamingBody()
}

Response Structure

  • (dict) --

    • contentType (string) --

      Indicates the media type of the resource.

    • vnfd (StreamingBody) --

      Contents of the function package descriptor.

Exceptions

  • TelcoNetworkBuilder.Client.exceptions.InternalServerException
  • TelcoNetworkBuilder.Client.exceptions.ThrottlingException
  • TelcoNetworkBuilder.Client.exceptions.ValidationException
  • TelcoNetworkBuilder.Client.exceptions.ResourceNotFoundException
  • TelcoNetworkBuilder.Client.exceptions.AccessDeniedException