Skip to content

TelcoNetworkBuilderClient#

Index > TelcoNetworkBuilder > TelcoNetworkBuilderClient

Auto-generated documentation for TelcoNetworkBuilder type annotations stubs module mypy-boto3-tnb.

TelcoNetworkBuilderClient#

Type annotations and code completion for boto3.client("tnb"). boto3 documentation

# TelcoNetworkBuilderClient usage example

from boto3.session import Session
from mypy_boto3_tnb.client import TelcoNetworkBuilderClient

def get_tnb_client() -> TelcoNetworkBuilderClient:
    return Session().client("tnb")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("tnb").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("tnb")

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.InternalServerException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ThrottlingException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_tnb.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods#

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("tnb").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

cancel_sol_network_operation#

Cancels a network operation.

Type annotations and code completion for boto3.client("tnb").cancel_sol_network_operation method. boto3 documentation

# cancel_sol_network_operation method definition

def cancel_sol_network_operation(
    self,
    *,
    nsLcmOpOccId: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# cancel_sol_network_operation method usage example with argument unpacking

kwargs: CancelSolNetworkOperationInputRequestTypeDef = {  # (1)
    "nsLcmOpOccId": ...,
}

parent.cancel_sol_network_operation(**kwargs)
  1. See CancelSolNetworkOperationInputRequestTypeDef

close#

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("tnb").close method. boto3 documentation

# close method definition

def close(
    self,
) -> None:
    ...

create_sol_function_package#

Creates a function package.

Type annotations and code completion for boto3.client("tnb").create_sol_function_package method. boto3 documentation

# create_sol_function_package method definition

def create_sol_function_package(
    self,
    *,
    tags: Mapping[str, str] = ...,
) -> CreateSolFunctionPackageOutputTypeDef:  # (1)
    ...
  1. See CreateSolFunctionPackageOutputTypeDef
# create_sol_function_package method usage example with argument unpacking

kwargs: CreateSolFunctionPackageInputRequestTypeDef = {  # (1)
    "tags": ...,
}

parent.create_sol_function_package(**kwargs)
  1. See CreateSolFunctionPackageInputRequestTypeDef

create_sol_network_instance#

Creates a network instance.

Type annotations and code completion for boto3.client("tnb").create_sol_network_instance method. boto3 documentation

# create_sol_network_instance method definition

def create_sol_network_instance(
    self,
    *,
    nsName: str,
    nsdInfoId: str,
    nsDescription: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateSolNetworkInstanceOutputTypeDef:  # (1)
    ...
  1. See CreateSolNetworkInstanceOutputTypeDef
# create_sol_network_instance method usage example with argument unpacking

kwargs: CreateSolNetworkInstanceInputRequestTypeDef = {  # (1)
    "nsName": ...,
    "nsdInfoId": ...,
}

parent.create_sol_network_instance(**kwargs)
  1. See CreateSolNetworkInstanceInputRequestTypeDef

create_sol_network_package#

Creates a network package.

Type annotations and code completion for boto3.client("tnb").create_sol_network_package method. boto3 documentation

# create_sol_network_package method definition

def create_sol_network_package(
    self,
    *,
    tags: Mapping[str, str] = ...,
) -> CreateSolNetworkPackageOutputTypeDef:  # (1)
    ...
  1. See CreateSolNetworkPackageOutputTypeDef
# create_sol_network_package method usage example with argument unpacking

kwargs: CreateSolNetworkPackageInputRequestTypeDef = {  # (1)
    "tags": ...,
}

parent.create_sol_network_package(**kwargs)
  1. See CreateSolNetworkPackageInputRequestTypeDef

delete_sol_function_package#

Deletes a function package.

Type annotations and code completion for boto3.client("tnb").delete_sol_function_package method. boto3 documentation

# delete_sol_function_package method definition

def delete_sol_function_package(
    self,
    *,
    vnfPkgId: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_sol_function_package method usage example with argument unpacking

kwargs: DeleteSolFunctionPackageInputRequestTypeDef = {  # (1)
    "vnfPkgId": ...,
}

parent.delete_sol_function_package(**kwargs)
  1. See DeleteSolFunctionPackageInputRequestTypeDef

delete_sol_network_instance#

Deletes a network instance.

Type annotations and code completion for boto3.client("tnb").delete_sol_network_instance method. boto3 documentation

# delete_sol_network_instance method definition

def delete_sol_network_instance(
    self,
    *,
    nsInstanceId: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_sol_network_instance method usage example with argument unpacking

kwargs: DeleteSolNetworkInstanceInputRequestTypeDef = {  # (1)
    "nsInstanceId": ...,
}

parent.delete_sol_network_instance(**kwargs)
  1. See DeleteSolNetworkInstanceInputRequestTypeDef

delete_sol_network_package#

Deletes network package.

Type annotations and code completion for boto3.client("tnb").delete_sol_network_package method. boto3 documentation

# delete_sol_network_package method definition

def delete_sol_network_package(
    self,
    *,
    nsdInfoId: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_sol_network_package method usage example with argument unpacking

kwargs: DeleteSolNetworkPackageInputRequestTypeDef = {  # (1)
    "nsdInfoId": ...,
}

parent.delete_sol_network_package(**kwargs)
  1. See DeleteSolNetworkPackageInputRequestTypeDef

generate_presigned_url#

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("tnb").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

get_sol_function_instance#

Gets the details of a network function instance, including the instantation state and metadata from the function package descriptor in the network function package.

Type annotations and code completion for boto3.client("tnb").get_sol_function_instance method. boto3 documentation

# get_sol_function_instance method definition

def get_sol_function_instance(
    self,
    *,
    vnfInstanceId: str,
) -> GetSolFunctionInstanceOutputTypeDef:  # (1)
    ...
  1. See GetSolFunctionInstanceOutputTypeDef
# get_sol_function_instance method usage example with argument unpacking

kwargs: GetSolFunctionInstanceInputRequestTypeDef = {  # (1)
    "vnfInstanceId": ...,
}

parent.get_sol_function_instance(**kwargs)
  1. See GetSolFunctionInstanceInputRequestTypeDef

get_sol_function_package#

Gets the details of an individual function package, such as the operational state and whether the package is in use.

Type annotations and code completion for boto3.client("tnb").get_sol_function_package method. boto3 documentation

# get_sol_function_package method definition

def get_sol_function_package(
    self,
    *,
    vnfPkgId: str,
) -> GetSolFunctionPackageOutputTypeDef:  # (1)
    ...
  1. See GetSolFunctionPackageOutputTypeDef
# get_sol_function_package method usage example with argument unpacking

kwargs: GetSolFunctionPackageInputRequestTypeDef = {  # (1)
    "vnfPkgId": ...,
}

parent.get_sol_function_package(**kwargs)
  1. See GetSolFunctionPackageInputRequestTypeDef

get_sol_function_package_content#

Gets the contents of a function package.

Type annotations and code completion for boto3.client("tnb").get_sol_function_package_content method. boto3 documentation

# get_sol_function_package_content method definition

def get_sol_function_package_content(
    self,
    *,
    accept: PackageContentTypeType,  # (1)
    vnfPkgId: str,
) -> GetSolFunctionPackageContentOutputTypeDef:  # (2)
    ...
  1. See PackageContentTypeType
  2. See GetSolFunctionPackageContentOutputTypeDef
# get_sol_function_package_content method usage example with argument unpacking

kwargs: GetSolFunctionPackageContentInputRequestTypeDef = {  # (1)
    "accept": ...,
    "vnfPkgId": ...,
}

parent.get_sol_function_package_content(**kwargs)
  1. See GetSolFunctionPackageContentInputRequestTypeDef

get_sol_function_package_descriptor#

Gets a function package descriptor in a function package.

Type annotations and code completion for boto3.client("tnb").get_sol_function_package_descriptor method. boto3 documentation

# get_sol_function_package_descriptor method definition

def get_sol_function_package_descriptor(
    self,
    *,
    accept: DescriptorContentTypeType,  # (1)
    vnfPkgId: str,
) -> GetSolFunctionPackageDescriptorOutputTypeDef:  # (2)
    ...
  1. See DescriptorContentTypeType
  2. See GetSolFunctionPackageDescriptorOutputTypeDef
# get_sol_function_package_descriptor method usage example with argument unpacking

kwargs: GetSolFunctionPackageDescriptorInputRequestTypeDef = {  # (1)
    "accept": ...,
    "vnfPkgId": ...,
}

parent.get_sol_function_package_descriptor(**kwargs)
  1. See GetSolFunctionPackageDescriptorInputRequestTypeDef

get_sol_network_instance#

Gets the details of the network instance.

Type annotations and code completion for boto3.client("tnb").get_sol_network_instance method. boto3 documentation

# get_sol_network_instance method definition

def get_sol_network_instance(
    self,
    *,
    nsInstanceId: str,
) -> GetSolNetworkInstanceOutputTypeDef:  # (1)
    ...
  1. See GetSolNetworkInstanceOutputTypeDef
# get_sol_network_instance method usage example with argument unpacking

kwargs: GetSolNetworkInstanceInputRequestTypeD