TelcoNetworkBuilder / Client / validate_sol_network_package_content
validate_sol_network_package_content#
- TelcoNetworkBuilder.Client.validate_sol_network_package_content(**kwargs)#
Validates network package content. This can be used as a dry run before uploading network package content with PutSolNetworkPackageContent.
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.validate_sol_network_package_content( contentType='application/zip', file=b'bytes'|file, nsdInfoId='string' )
- Parameters:
contentType (string) – Network package content type.
file (bytes or seekable file-like object) –
[REQUIRED]
Network package file.
nsdInfoId (string) –
[REQUIRED]
Network service descriptor file.
- Return type:
dict
- Returns:
Response Syntax
{ 'arn': 'string', 'id': 'string', 'metadata': { 'nsd': { 'overrides': [ { 'defaultValue': 'string', 'name': 'string' }, ] } }, 'nsdId': 'string', 'nsdName': 'string', 'nsdVersion': 'string', 'vnfPkgIds': [ 'string', ] }
Response Structure
(dict) –
arn (string) –
Network package ARN.
id (string) –
Network package ID.
metadata (dict) –
Network package metadata.
nsd (dict) –
Metadata for network package artifacts.
Artifacts are the contents of the package descriptor file and the state of the package.
overrides (list) –
Lists network package overrides.
(dict) –
Overrides of the TOSCA node.
defaultValue (string) –
Default value for the override.
name (string) –
Name of the TOSCA override.
nsdId (string) –
Network service descriptor ID.
nsdName (string) –
Network service descriptor name.
nsdVersion (string) –
Network service descriptor version.
vnfPkgIds (list) –
Function package IDs.
(string) –
Exceptions
TelcoNetworkBuilder.Client.exceptions.InternalServerException
TelcoNetworkBuilder.Client.exceptions.ThrottlingException
TelcoNetworkBuilder.Client.exceptions.ValidationException
TelcoNetworkBuilder.Client.exceptions.ResourceNotFoundException
TelcoNetworkBuilder.Client.exceptions.AccessDeniedException