get_sol_network_package_content

get_sol_network_package_content(**kwargs)

Gets the contents of a network package.

A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.

See also: AWS API Documentation

Request Syntax

response = client.get_sol_network_package_content(
    accept='application/zip',
    nsdInfoId='string'
)
Parameters
  • accept (string) --

    [REQUIRED]

    The format of the package you want to download from the network package.

  • nsdInfoId (string) --

    [REQUIRED]

    ID of the network service descriptor in the network package.

Return type

dict

Returns

Response Syntax

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

Response Structure

  • (dict) --

    • contentType (string) --

      Indicates the media type of the resource.

    • nsdContent (StreamingBody) --

      Content of the network service descriptor in the network package.

Exceptions

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