create_sol_network_package

TelcoNetworkBuilder.Client.create_sol_network_package(**kwargs)

Creates 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. For more information, see Network instances in the Amazon Web Services Telco Network Builder User Guide .

A network package consists of a network service descriptor (NSD) file (required) and any additional files (optional), such as scripts specific to your needs. For example, if you have multiple function packages in your network package, you can use the NSD to define which network functions should run in certain VPCs, subnets, or EKS clusters.

This request creates an empty network package container with an ID. Once you create a network package, you can upload the network package content using PutSolNetworkPackageContent.

See also: AWS API Documentation

Request Syntax

response = client.create_sol_network_package(
    tags={
        'string': 'string'
    }
)
Parameters
tags (dict) --

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.

  • (string) --
    • (string) --
Return type
dict
Returns
Response Syntax
{
    'arn': 'string',
    'id': 'string',
    'nsdOnboardingState': 'CREATED'|'ONBOARDED'|'ERROR',
    'nsdOperationalState': 'ENABLED'|'DISABLED',
    'nsdUsageState': 'IN_USE'|'NOT_IN_USE',
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --
    • arn (string) --

      Network package ARN.

    • id (string) --

      ID of the network package.

    • nsdOnboardingState (string) --

      Onboarding state of the network service descriptor in the network package.

    • nsdOperationalState (string) --

      Operational state of the network service descriptor in the network package.

    • nsdUsageState (string) --

      Usage state of the network service descriptor in the network package.

    • tags (dict) --

      A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.

      • (string) --
        • (string) --

Exceptions

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