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
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.
client = boto3.client("tnb")
try:
do_something(client)
except (
client.AccessDeniedException,
client.ClientError,
client.InternalServerException,
client.ResourceNotFoundException,
client.ServiceQuotaExceededException,
client.ThrottlingException,
client.ValidationException,
) as e:
print(e)
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
cancel_sol_network_operation
Cancels a network operation.
Type annotations and code completion for boto3.client("tnb").cancel_sol_network_operation
method.
boto3 documentation
def cancel_sol_network_operation(
self,
*,
nsLcmOpOccId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: CancelSolNetworkOperationInputRequestTypeDef = { # (1)
"nsLcmOpOccId": ...,
}
parent.cancel_sol_network_operation(**kwargs)
close
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("tnb").close
method.
boto3 documentation
create_sol_function_package
Creates a function package.
Type annotations and code completion for boto3.client("tnb").create_sol_function_package
method.
boto3 documentation
def create_sol_function_package(
self,
*,
tags: Mapping[str, str] = ...,
) -> CreateSolFunctionPackageOutputTypeDef: # (1)
...
kwargs: CreateSolFunctionPackageInputRequestTypeDef = { # (1)
"tags": ...,
}
parent.create_sol_function_package(**kwargs)
create_sol_network_instance
Creates a network instance.
Type annotations and code completion for boto3.client("tnb").create_sol_network_instance
method.
boto3 documentation
def create_sol_network_instance(
self,
*,
nsName: str,
nsdInfoId: str,
nsDescription: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateSolNetworkInstanceOutputTypeDef: # (1)
...
kwargs: CreateSolNetworkInstanceInputRequestTypeDef = { # (1)
"nsName": ...,
"nsdInfoId": ...,
}
parent.create_sol_network_instance(**kwargs)
create_sol_network_package
Creates a network package.
Type annotations and code completion for boto3.client("tnb").create_sol_network_package
method.
boto3 documentation
def create_sol_network_package(
self,
*,
tags: Mapping[str, str] = ...,
) -> CreateSolNetworkPackageOutputTypeDef: # (1)
...
kwargs: CreateSolNetworkPackageInputRequestTypeDef = { # (1)
"tags": ...,
}
parent.create_sol_network_package(**kwargs)
delete_sol_function_package
Deletes a function package.
Type annotations and code completion for boto3.client("tnb").delete_sol_function_package
method.
boto3 documentation
def delete_sol_function_package(
self,
*,
vnfPkgId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteSolFunctionPackageInputRequestTypeDef = { # (1)
"vnfPkgId": ...,
}
parent.delete_sol_function_package(**kwargs)
delete_sol_network_instance
Deletes a network instance.
Type annotations and code completion for boto3.client("tnb").delete_sol_network_instance
method.
boto3 documentation
def delete_sol_network_instance(
self,
*,
nsInstanceId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteSolNetworkInstanceInputRequestTypeDef = { # (1)
"nsInstanceId": ...,
}
parent.delete_sol_network_instance(**kwargs)
delete_sol_network_package
Deletes network package.
Type annotations and code completion for boto3.client("tnb").delete_sol_network_package
method.
boto3 documentation
def delete_sol_network_package(
self,
*,
nsdInfoId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteSolNetworkPackageInputRequestTypeDef = { # (1)
"nsdInfoId": ...,
}
parent.delete_sol_network_package(**kwargs)
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
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
def get_sol_function_instance(
self,
*,
vnfInstanceId: str,
) -> GetSolFunctionInstanceOutputTypeDef: # (1)
...
kwargs: GetSolFunctionInstanceInputRequestTypeDef = { # (1)
"vnfInstanceId": ...,
}
parent.get_sol_function_instance(**kwargs)
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
def get_sol_function_package(
self,
*,
vnfPkgId: str,
) -> GetSolFunctionPackageOutputTypeDef: # (1)
...
kwargs: GetSolFunctionPackageInputRequestTypeDef = { # (1)
"vnfPkgId": ...,
}
parent.get_sol_function_package(**kwargs)
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
def get_sol_function_package_content(
self,
*,
accept: PackageContentTypeType, # (1)
vnfPkgId: str,
) -> GetSolFunctionPackageContentOutputTypeDef: # (2)
...
kwargs: GetSolFunctionPackageContentInputRequestTypeDef = { # (1)
"accept": ...,
"vnfPkgId": ...,
}
parent.get_sol_function_package_content(**kwargs)
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
def get_sol_function_package_descriptor(
self,
*,
accept: DescriptorContentTypeType, # (1)
vnfPkgId: str,
) -> GetSolFunctionPackageDescriptorOutputTypeDef: # (2)
...
kwargs: GetSolFunctionPackageDescriptorInputRequestTypeDef = { # (1)
"accept": ...,
"vnfPkgId": ...,
}
parent.get_sol_function_package_descriptor(**kwargs)
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
def get_sol_network_instance(
self,
*,
nsInstanceId: str,
) -> GetSolNetworkInstanceOutputTypeDef: # (1)
...
kwargs: GetSolNetworkInstanceInputRequestTypeDef = { # (1)
"nsInstanceId": ...,
}
parent.get_sol_network_instance(**kwargs)
get_sol_network_operation
Gets the details of a network operation, including the tasks involved in the network operation and the status of the tasks.
Type annotations and code completion for boto3.client("tnb").get_sol_network_operation
method.
boto3 documentation
def get_sol_network_operation(
self,
*,
nsLcmOpOccId: str,
) -> GetSolNetworkOperationOutputTypeDef: # (1)
...
kwargs: GetSolNetworkOperationInputRequestTypeDef = { # (1)
"nsLcmOpOccId": ...,
}
parent.get_sol_network_operation(**kwargs)
get_sol_network_package
Gets the details of a network package.
Type annotations and code completion for boto3.client("tnb").get_sol_network_package
method.
boto3 documentation
def get_sol_network_package(
self,
*,
nsdInfoId: str,
) -> GetSolNetworkPackageOutputTypeDef: # (1)
...
kwargs: GetSolNetworkPackageInputRequestTypeDef = { # (1)
"nsdInfoId": ...,
}
parent.get_sol_network_package(**kwargs)
get_sol_network_package_content
Gets the contents of a network package.
Type annotations and code completion for boto3.client("tnb").get_sol_network_package_content
method.
boto3 documentation
def get_sol_network_package_content(
self,
*,
accept: PackageContentTypeType, # (1)
nsdInfoId: str,
) -> GetSolNetworkPackageContentOutputTypeDef: # (2)
...
kwargs: GetSolNetworkPackageContentInputRequestTypeDef = { # (1)
"accept": ...,
"nsdInfoId": ...,
}
parent.get_sol_network_package_content(**kwargs)
get_sol_network_package_descriptor
Gets the content of the network service descriptor.
Type annotations and code completion for boto3.client("tnb").get_sol_network_package_descriptor
method.
boto3 documentation
def get_sol_network_package_descriptor(
self,
*,
nsdInfoId: str,
) -> GetSolNetworkPackageDescriptorOutputTypeDef: # (1)
...
kwargs: GetSolNetworkPackageDescriptorInputRequestTypeDef = { # (1)
"nsdInfoId": ...,
}
parent.get_sol_network_package_descriptor(**kwargs)
instantiate_sol_network_instance
Instantiates a network instance.
Type annotations and code completion for boto3.client("tnb").instantiate_sol_network_instance
method.
boto3 documentation
def instantiate_sol_network_instance(
self,
*,
nsInstanceId: str,
additionalParamsForNs: Mapping[str, Any] = ...,
dryRun: bool = ...,
) -> InstantiateSolNetworkInstanceOutputTypeDef: # (1)
...
kwargs: InstantiateSolNetworkInstanceInputRequestTypeDef = { # (1)
"nsInstanceId": ...,
}
parent.instantiate_sol_network_instance(**kwargs)
list_sol_function_instances
Lists network function instances.
Type annotations and code completion for boto3.client("tnb").list_sol_function_instances
method.
boto3 documentation
def list_sol_function_instances(
self,
*,
maxResults: int = ...,
nextToken: str = ...,
) -> ListSolFunctionInstancesOutputTypeDef: # (1)
...
kwargs: ListSolFunctionInstancesInputRequestTypeDef = { # (1)
"maxResults": ...,
}
parent.list_sol_function_instances(**kwargs)
list_sol_function_packages
Lists information about function packages.
Type annotations and code completion for boto3.client("tnb").list_sol_function_packages
method.
boto3 documentation
def list_sol_function_packages(
self,
*,
maxResults: int = ...,
nextToken: str = ...,
) -> ListSolFunctionPackagesOutputTypeDef: # (1)
...
kwargs: ListSolFunctionPackagesInputRequestTypeDef = { # (1)
"maxResults": ...,
}
parent.list_sol_function_packages(**kwargs)
list_sol_network_instances
Lists your network instances.
Type annotations and code completion for boto3.client("tnb").list_sol_network_instances
method.
boto3 documentation
def list_sol_network_instances(
self,
*,
maxResults: int = ...,
nextToken: str = ...,
) -> ListSolNetworkInstancesOutputTypeDef: # (1)
...
kwargs: ListSolNetworkInstancesInputRequestTypeDef = { # (1)
"maxResults": ...,
}
parent.list_sol_network_instances(**kwargs)
list_sol_network_operations
Lists details for a network operation, including when the operation started and the status of the operation.
Type annotations and code completion for boto3.client("tnb").list_sol_network_operations
method.
boto3 documentation
def list_sol_network_operations(
self,
*,
maxResults: int = ...,
nextToken: str = ...,
) -> ListSolNetworkOperationsOutputTypeDef: # (1)
...
kwargs: ListSolNetworkOperationsInputRequestTypeDef = { # (1)
"maxResults": ...,
}
parent.list_sol_network_operations(**kwargs)
list_sol_network_packages
Lists network packages.
Type annotations and code completion for boto3.client("tnb").list_sol_network_packages
method.
boto3 documentation
def list_sol_network_packages(
self,
*,
maxResults: int = ...,
nextToken: str = ...,
) -> ListSolNetworkPackagesOutputTypeDef: # (1)
...
kwargs: ListSolNetworkPackagesInputRequestTypeDef = { # (1)
"maxResults": ...,
}
parent.list_sol_network_packages(**kwargs)
list_tags_for_resource
Lists tags for AWS TNB resources.
Type annotations and code completion for boto3.client("tnb").list_tags_for_resource
method.
boto3 documentation
def list_tags_for_resource(
self,
*,
resourceArn: str,
) -> ListTagsForResourceOutputTypeDef: # (1)
...
kwargs: ListTagsForResourceInputRequestTypeDef = { # (1)
"resourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
put_sol_function_package_content
Uploads the contents of a function package.
Type annotations and code completion for boto3.client("tnb").put_sol_function_package_content
method.
boto3 documentation
def put_sol_function_package_content(
self,
*,
file: Union[str, bytes, IO[Any], StreamingBody],
vnfPkgId: str,
contentType: PackageContentTypeType = ..., # (1)
) -> PutSolFunctionPackageContentOutputTypeDef: # (2)
...
kwargs: PutSolFunctionPackageContentInputRequestTypeDef = { # (1)
"file": ...,
"vnfPkgId": ...,
}
parent.put_sol_function_package_content(**kwargs)
put_sol_network_package_content
Uploads the contents of a network package.
Type annotations and code completion for boto3.client("tnb").put_sol_network_package_content
method.
boto3 documentation
def put_sol_network_package_content(
self,
*,
file: Union[str, bytes, IO[Any], StreamingBody],
nsdInfoId: str,
contentType: PackageContentTypeType = ..., # (1)
) -> PutSolNetworkPackageContentOutputTypeDef: # (2)
...
kwargs: PutSolNetworkPackageContentInputRequestTypeDef = { # (1)
"file": ...,
"nsdInfoId": ...,
}
parent.put_sol_network_package_content(**kwargs)
tag_resource
Tags an AWS TNB resource.
Type annotations and code completion for boto3.client("tnb").tag_resource
method.
boto3 documentation
def tag_resource(
self,
*,
resourceArn: str,
tags: Mapping[str, str],
) -> Dict[str, Any]:
...
kwargs: TagResourceInputRequestTypeDef = { # (1)
"resourceArn": ...,
"tags": ...,
}
parent.tag_resource(**kwargs)
terminate_sol_network_instance
Terminates a network instance.
Type annotations and code completion for boto3.client("tnb").terminate_sol_network_instance
method.
boto3 documentation
def terminate_sol_network_instance(
self,
*,
nsInstanceId: str,
) -> TerminateSolNetworkInstanceOutputTypeDef: # (1)
...
kwargs: TerminateSolNetworkInstanceInputRequestTypeDef = { # (1)
"nsInstanceId": ...,
}
parent.terminate_sol_network_instance(**kwargs)
untag_resource
Untags an AWS TNB resource.
Type annotations and code completion for boto3.client("tnb").untag_resource
method.
boto3 documentation
def untag_resource(
self,
*,
resourceArn: str,
tagKeys: Sequence[str],
) -> Dict[str, Any]:
...
kwargs: UntagResourceInputRequestTypeDef = { # (1)
"resourceArn": ...,
"tagKeys": ...,
}
parent.untag_resource(**kwargs)
update_sol_function_package
Updates the operational state of function package.
Type annotations and code completion for boto3.client("tnb").update_sol_function_package
method.
boto3 documentation
def update_sol_function_package(
self,
*,
operationalState: OperationalStateType, # (1)
vnfPkgId: str,
) -> UpdateSolFunctionPackageOutputTypeDef: # (2)
...
kwargs: UpdateSolFunctionPackageInputRequestTypeDef = { # (1)
"operationalState": ...,
"vnfPkgId": ...,
}
parent.update_sol_function_package(**kwargs)
update_sol_network_instance
Update a network instance.
Type annotations and code completion for boto3.client("tnb").update_sol_network_instance
method.
boto3 documentation
def update_sol_network_instance(
self,
*,
nsInstanceId: str,
updateType: UpdateSolNetworkTypeType, # (1)
modifyVnfInfoData: UpdateSolNetworkModifyTypeDef = ..., # (2)
) -> UpdateSolNetworkInstanceOutputTypeDef: # (3)
...
- See UpdateSolNetworkTypeType
- See UpdateSolNetworkModifyTypeDef
- See UpdateSolNetworkInstanceOutputTypeDef
kwargs: UpdateSolNetworkInstanceInputRequestTypeDef = { # (1)
"nsInstanceId": ...,
"updateType": ...,
}
parent.update_sol_network_instance(**kwargs)
update_sol_network_package
Updates the operational state of a network package.
Type annotations and code completion for boto3.client("tnb").update_sol_network_package
method.
boto3 documentation
def update_sol_network_package(
self,
*,
nsdInfoId: str,
nsdOperationalState: NsdOperationalStateType, # (1)
) -> UpdateSolNetworkPackageOutputTypeDef: # (2)
...
kwargs: UpdateSolNetworkPackageInputRequestTypeDef = { # (1)
"nsdInfoId": ...,
"nsdOperationalState": ...,
}
parent.update_sol_network_package(**kwargs)
validate_sol_function_package_content
Validates function package content.
Type annotations and code completion for boto3.client("tnb").validate_sol_function_package_content
method.
boto3 documentation
def validate_sol_function_package_content(
self,
*,
file: Union[str, bytes, IO[Any], StreamingBody],
vnfPkgId: str,
contentType: PackageContentTypeType = ..., # (1)
) -> ValidateSolFunctionPackageContentOutputTypeDef: # (2)
...
kwargs: ValidateSolFunctionPackageContentInputRequestTypeDef = { # (1)
"file": ...,
"vnfPkgId": ...,
}
parent.validate_sol_function_package_content(**kwargs)
validate_sol_network_package_content
Validates network package content.
Type annotations and code completion for boto3.client("tnb").validate_sol_network_package_content
method.
boto3 documentation
def validate_sol_network_package_content(
self,
*,
file: Union[str, bytes, IO[Any], StreamingBody],
nsdInfoId: str,
contentType: PackageContentTypeType = ..., # (1)
) -> ValidateSolNetworkPackageContentOutputTypeDef: # (2)
...
kwargs: ValidateSolNetworkPackageContentInputRequestTypeDef = { # (1)
"file": ...,
"nsdInfoId": ...,
}
parent.validate_sol_network_package_content(**kwargs)
get_paginator
Type annotations and code completion for boto3.client("tnb").get_paginator
method with overloads.
client.get_paginator("list_sol_function_instances")
-> ListSolFunctionInstancesPaginatorclient.get_paginator("list_sol_function_packages")
-> ListSolFunctionPackagesPaginatorclient.get_paginator("list_sol_network_instances")
-> ListSolNetworkInstancesPaginatorclient.get_paginator("list_sol_network_operations")
-> ListSolNetworkOperationsPaginatorclient.get_paginator("list_sol_network_packages")
-> ListSolNetworkPackagesPaginator