TelcoNetworkBuilder / Client / create_sol_function_package

create_sol_function_package#

TelcoNetworkBuilder.Client.create_sol_function_package(**kwargs)#

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

Creating a function package is the first step for creating a network in AWS TNB. This request creates an empty container with an ID. The next step is to upload the actual CSAR zip file into that empty container. To upload function package content, see PutSolFunctionPackageContent.

See also: AWS API Documentation

Request Syntax

response = client.create_sol_function_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',
    'onboardingState': 'CREATED'|'ONBOARDED'|'ERROR',
    'operationalState': 'ENABLED'|'DISABLED',
    'tags': {
        'string': 'string'
    },
    'usageState': 'IN_USE'|'NOT_IN_USE'
}

Response Structure

  • (dict) –

    • arn (string) –

      Function package ARN.

    • id (string) –

      ID of the function package.

    • onboardingState (string) –

      Onboarding state of the function package.

    • operationalState (string) –

      Operational state of the function 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) –

    • usageState (string) –

      Usage state of the function package.

Exceptions

  • TelcoNetworkBuilder.Client.exceptions.InternalServerException

  • TelcoNetworkBuilder.Client.exceptions.ServiceQuotaExceededException

  • TelcoNetworkBuilder.Client.exceptions.ThrottlingException

  • TelcoNetworkBuilder.Client.exceptions.ValidationException

  • TelcoNetworkBuilder.Client.exceptions.AccessDeniedException