diff --git a/bitmovin_api_sdk/__init__.py b/bitmovin_api_sdk/__init__.py
index e21feff3f..568c3fefd 100644
--- a/bitmovin_api_sdk/__init__.py
+++ b/bitmovin_api_sdk/__init__.py
@@ -885,6 +885,10 @@
from bitmovin_api_sdk.encoding.infrastructure.gce.gce_api import GceAccountListQueryParams
from bitmovin_api_sdk.encoding.infrastructure.gce.regions.regions_api import RegionsApi
from bitmovin_api_sdk.encoding.infrastructure.gce.regions.regions_api import GceAccountRegionSettingsListQueryParams
+from bitmovin_api_sdk.encoding.infrastructure.akamai.akamai_api import AkamaiApi
+from bitmovin_api_sdk.encoding.infrastructure.akamai.akamai_api import AkamaiAccountListQueryParams
+from bitmovin_api_sdk.encoding.infrastructure.akamai.regions.regions_api import RegionsApi
+from bitmovin_api_sdk.encoding.infrastructure.akamai.regions.regions_api import AkamaiAccountRegionSettingsListQueryParams
from bitmovin_api_sdk.encoding.infrastructure.prewarmed_encoder_pools.prewarmed_encoder_pools_api import PrewarmedEncoderPoolsApi
from bitmovin_api_sdk.encoding.infrastructure.prewarmed_encoder_pools.prewarmed_encoder_pools_api import PrewarmedEncoderPoolListQueryParams
from bitmovin_api_sdk.encoding.infrastructure.prewarmed_encoder_pools.schedules.schedules_api import SchedulesApi
@@ -1038,7 +1042,7 @@
from bitmovin_api_sdk.streams.signing_keys.signing_keys_api import SigningKeysApi
from bitmovin_api_sdk.encoding.templates.templates_api import TemplatesApi
-
+from bitmovin_api_sdk.encoding.templates.templates_api import EncodingTemplateResponseListQueryParams
from bitmovin_api_sdk.models.aac_audio_configuration import AacAudioConfiguration
from bitmovin_api_sdk.models.aac_channel_layout import AacChannelLayout
@@ -1081,6 +1085,9 @@
from bitmovin_api_sdk.models.adaptive_quant_mode import AdaptiveQuantMode
from bitmovin_api_sdk.models.aes_encryption_drm import AesEncryptionDrm
from bitmovin_api_sdk.models.aes_encryption_method import AesEncryptionMethod
+from bitmovin_api_sdk.models.akamai_account import AkamaiAccount
+from bitmovin_api_sdk.models.akamai_account_region_settings import AkamaiAccountRegionSettings
+from bitmovin_api_sdk.models.akamai_cloud_region import AkamaiCloudRegion
from bitmovin_api_sdk.models.akamai_msl_output import AkamaiMslOutput
from bitmovin_api_sdk.models.akamai_msl_stream_format import AkamaiMslStreamFormat
from bitmovin_api_sdk.models.akamai_msl_version import AkamaiMslVersion
@@ -1389,8 +1396,11 @@
from bitmovin_api_sdk.models.encoding_stream_input import EncodingStreamInput
from bitmovin_api_sdk.models.encoding_stream_input_details import EncodingStreamInputDetails
from bitmovin_api_sdk.models.encoding_template import EncodingTemplate
+from bitmovin_api_sdk.models.encoding_template_details import EncodingTemplateDetails
from bitmovin_api_sdk.models.encoding_template_request import EncodingTemplateRequest
+from bitmovin_api_sdk.models.encoding_template_response import EncodingTemplateResponse
from bitmovin_api_sdk.models.encoding_template_start_response import EncodingTemplateStartResponse
+from bitmovin_api_sdk.models.encoding_template_type import EncodingTemplateType
from bitmovin_api_sdk.models.encoding_type import EncodingType
from bitmovin_api_sdk.models.encryption_mode import EncryptionMode
from bitmovin_api_sdk.models.enhanced_deinterlace_auto_enable import EnhancedDeinterlaceAutoEnable
@@ -1871,4 +1881,4 @@
from bitmovin_api_sdk.models.zixi_input import ZixiInput
-__version__ = "1.210.0"
+__version__ = "1.211.0"
diff --git a/bitmovin_api_sdk/common/rest_client.py b/bitmovin_api_sdk/common/rest_client.py
index c3fbf60a8..ac125889b 100644
--- a/bitmovin_api_sdk/common/rest_client.py
+++ b/bitmovin_api_sdk/common/rest_client.py
@@ -10,7 +10,7 @@ class RestClient(object):
HTTP_HEADERS = {
'Content-Type': 'application/json',
'X-Api-Client': 'bitmovin-api-sdk-python',
- 'X-Api-Client-Version': '1.210.0'
+ 'X-Api-Client-Version': '1.211.0'
}
DELETE = 'DELETE'
diff --git a/bitmovin_api_sdk/encoding/infrastructure/__init__.py b/bitmovin_api_sdk/encoding/infrastructure/__init__.py
index cc099c507..e0806b834 100644
--- a/bitmovin_api_sdk/encoding/infrastructure/__init__.py
+++ b/bitmovin_api_sdk/encoding/infrastructure/__init__.py
@@ -3,4 +3,5 @@
from bitmovin_api_sdk.encoding.infrastructure.static_ips.static_ips_api import StaticIpsApi
from bitmovin_api_sdk.encoding.infrastructure.azure.azure_api import AzureApi
from bitmovin_api_sdk.encoding.infrastructure.gce.gce_api import GceApi
+from bitmovin_api_sdk.encoding.infrastructure.akamai.akamai_api import AkamaiApi
from bitmovin_api_sdk.encoding.infrastructure.prewarmed_encoder_pools.prewarmed_encoder_pools_api import PrewarmedEncoderPoolsApi
diff --git a/bitmovin_api_sdk/encoding/infrastructure/akamai/__init__.py b/bitmovin_api_sdk/encoding/infrastructure/akamai/__init__.py
new file mode 100644
index 000000000..5756222af
--- /dev/null
+++ b/bitmovin_api_sdk/encoding/infrastructure/akamai/__init__.py
@@ -0,0 +1,3 @@
+from bitmovin_api_sdk.encoding.infrastructure.akamai.akamai_api import AkamaiApi
+from bitmovin_api_sdk.encoding.infrastructure.akamai.regions.regions_api import RegionsApi
+from bitmovin_api_sdk.encoding.infrastructure.akamai.akamai_account_list_query_params import AkamaiAccountListQueryParams
diff --git a/bitmovin_api_sdk/encoding/infrastructure/akamai/akamai_account_list_query_params.py b/bitmovin_api_sdk/encoding/infrastructure/akamai/akamai_account_list_query_params.py
new file mode 100644
index 000000000..392dbd59a
--- /dev/null
+++ b/bitmovin_api_sdk/encoding/infrastructure/akamai/akamai_account_list_query_params.py
@@ -0,0 +1,25 @@
+class AkamaiAccountListQueryParams(object):
+ def __init__(self, offset=None, limit=None):
+ # type: (int, int) -> None
+ super(AkamaiAccountListQueryParams, self).__init__()
+
+ self.offset = offset
+ self.limit = limit
+
+ @property
+ def openapi_types(self):
+ types = {
+ 'offset': 'int',
+ 'limit': 'int'
+ }
+
+ return types
+
+ @property
+ def attribute_map(self):
+ attributes = {
+ 'offset': 'offset',
+ 'limit': 'limit'
+ }
+
+ return attributes
diff --git a/bitmovin_api_sdk/encoding/infrastructure/akamai/akamai_api.py b/bitmovin_api_sdk/encoding/infrastructure/akamai/akamai_api.py
new file mode 100644
index 000000000..5eb4204f3
--- /dev/null
+++ b/bitmovin_api_sdk/encoding/infrastructure/akamai/akamai_api.py
@@ -0,0 +1,100 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+
+from bitmovin_api_sdk.common import BaseApi, BitmovinApiLoggerBase
+from bitmovin_api_sdk.common.poscheck import poscheck_except
+from bitmovin_api_sdk.models.akamai_account import AkamaiAccount
+from bitmovin_api_sdk.models.response_envelope import ResponseEnvelope
+from bitmovin_api_sdk.models.response_error import ResponseError
+from bitmovin_api_sdk.encoding.infrastructure.akamai.regions.regions_api import RegionsApi
+from bitmovin_api_sdk.encoding.infrastructure.akamai.akamai_account_list_query_params import AkamaiAccountListQueryParams
+
+
+class AkamaiApi(BaseApi):
+ @poscheck_except(2)
+ def __init__(self, api_key, tenant_org_id=None, base_url=None, logger=None):
+ # type: (str, str, str, BitmovinApiLoggerBase) -> None
+
+ super(AkamaiApi, self).__init__(
+ api_key=api_key,
+ tenant_org_id=tenant_org_id,
+ base_url=base_url,
+ logger=logger
+ )
+
+ self.regions = RegionsApi(
+ api_key=api_key,
+ tenant_org_id=tenant_org_id,
+ base_url=base_url,
+ logger=logger
+ )
+
+ def create(self, akamai_account, **kwargs):
+ # type: (AkamaiAccount, dict) -> AkamaiAccount
+ """Add Akamai account
+
+ :param akamai_account: The Akamai account to be added
+ :type akamai_account: AkamaiAccount, required
+ :return: Akamai account
+ :rtype: AkamaiAccount
+ """
+
+ return self.api_client.post(
+ '/encoding/infrastructure/akamai',
+ akamai_account,
+ type=AkamaiAccount,
+ **kwargs
+ )
+
+ def delete(self, infrastructure_id, **kwargs):
+ # type: (string_types, dict) -> AkamaiAccount
+ """Delete Akamai account
+
+ :param infrastructure_id: Id of the Akamai account
+ :type infrastructure_id: string_types, required
+ :return: Akamai account
+ :rtype: AkamaiAccount
+ """
+
+ return self.api_client.delete(
+ '/encoding/infrastructure/akamai/{infrastructure_id}',
+ path_params={'infrastructure_id': infrastructure_id},
+ type=AkamaiAccount,
+ **kwargs
+ )
+
+ def get(self, infrastructure_id, **kwargs):
+ # type: (string_types, dict) -> AkamaiAccount
+ """Akamai account details
+
+ :param infrastructure_id: Id of the Akamai account
+ :type infrastructure_id: string_types, required
+ :return: Akamai account
+ :rtype: AkamaiAccount
+ """
+
+ return self.api_client.get(
+ '/encoding/infrastructure/akamai/{infrastructure_id}',
+ path_params={'infrastructure_id': infrastructure_id},
+ type=AkamaiAccount,
+ **kwargs
+ )
+
+ def list(self, query_params=None, **kwargs):
+ # type: (AkamaiAccountListQueryParams, dict) -> AkamaiAccount
+ """List Akamai accounts
+
+ :param query_params: Query parameters
+ :type query_params: AkamaiAccountListQueryParams
+ :return: List of Akamai accounts
+ :rtype: AkamaiAccount
+ """
+
+ return self.api_client.get(
+ '/encoding/infrastructure/akamai',
+ query_params=query_params,
+ pagination_response=True,
+ type=AkamaiAccount,
+ **kwargs
+ )
diff --git a/bitmovin_api_sdk/encoding/infrastructure/akamai/regions/__init__.py b/bitmovin_api_sdk/encoding/infrastructure/akamai/regions/__init__.py
new file mode 100644
index 000000000..f97c41154
--- /dev/null
+++ b/bitmovin_api_sdk/encoding/infrastructure/akamai/regions/__init__.py
@@ -0,0 +1,2 @@
+from bitmovin_api_sdk.encoding.infrastructure.akamai.regions.regions_api import RegionsApi
+from bitmovin_api_sdk.encoding.infrastructure.akamai.regions.akamai_account_region_settings_list_query_params import AkamaiAccountRegionSettingsListQueryParams
diff --git a/bitmovin_api_sdk/encoding/infrastructure/akamai/regions/akamai_account_region_settings_list_query_params.py b/bitmovin_api_sdk/encoding/infrastructure/akamai/regions/akamai_account_region_settings_list_query_params.py
new file mode 100644
index 000000000..3d9d60c96
--- /dev/null
+++ b/bitmovin_api_sdk/encoding/infrastructure/akamai/regions/akamai_account_region_settings_list_query_params.py
@@ -0,0 +1,25 @@
+class AkamaiAccountRegionSettingsListQueryParams(object):
+ def __init__(self, offset=None, limit=None):
+ # type: (int, int) -> None
+ super(AkamaiAccountRegionSettingsListQueryParams, self).__init__()
+
+ self.offset = offset
+ self.limit = limit
+
+ @property
+ def openapi_types(self):
+ types = {
+ 'offset': 'int',
+ 'limit': 'int'
+ }
+
+ return types
+
+ @property
+ def attribute_map(self):
+ attributes = {
+ 'offset': 'offset',
+ 'limit': 'limit'
+ }
+
+ return attributes
diff --git a/bitmovin_api_sdk/encoding/infrastructure/akamai/regions/regions_api.py b/bitmovin_api_sdk/encoding/infrastructure/akamai/regions/regions_api.py
new file mode 100644
index 000000000..5105e68d4
--- /dev/null
+++ b/bitmovin_api_sdk/encoding/infrastructure/akamai/regions/regions_api.py
@@ -0,0 +1,105 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+
+from bitmovin_api_sdk.common import BaseApi, BitmovinApiLoggerBase
+from bitmovin_api_sdk.common.poscheck import poscheck_except
+from bitmovin_api_sdk.models.akamai_account_region_settings import AkamaiAccountRegionSettings
+from bitmovin_api_sdk.models.akamai_cloud_region import AkamaiCloudRegion
+from bitmovin_api_sdk.models.response_envelope import ResponseEnvelope
+from bitmovin_api_sdk.models.response_error import ResponseError
+from bitmovin_api_sdk.encoding.infrastructure.akamai.regions.akamai_account_region_settings_list_query_params import AkamaiAccountRegionSettingsListQueryParams
+
+
+class RegionsApi(BaseApi):
+ @poscheck_except(2)
+ def __init__(self, api_key, tenant_org_id=None, base_url=None, logger=None):
+ # type: (str, str, str, BitmovinApiLoggerBase) -> None
+
+ super(RegionsApi, self).__init__(
+ api_key=api_key,
+ tenant_org_id=tenant_org_id,
+ base_url=base_url,
+ logger=logger
+ )
+
+ def create(self, infrastructure_id, region, akamai_account_region_settings, **kwargs):
+ # type: (string_types, AkamaiCloudRegion, AkamaiAccountRegionSettings, dict) -> AkamaiAccountRegionSettings
+ """Add Akamai account region settings
+
+ :param infrastructure_id: Id of the Akamai account
+ :type infrastructure_id: string_types, required
+ :param region: Akamai region
+ :type region: AkamaiCloudRegion, required
+ :param akamai_account_region_settings: The Akamai account region settings to be added
+ :type akamai_account_region_settings: AkamaiAccountRegionSettings, required
+ :return: Akamai account region settings
+ :rtype: AkamaiAccountRegionSettings
+ """
+
+ return self.api_client.post(
+ '/encoding/infrastructure/akamai/{infrastructure_id}/regions/{region}',
+ akamai_account_region_settings,
+ path_params={'infrastructure_id': infrastructure_id, 'region': region},
+ type=AkamaiAccountRegionSettings,
+ **kwargs
+ )
+
+ def delete(self, infrastructure_id, region, **kwargs):
+ # type: (string_types, AkamaiCloudRegion, dict) -> AkamaiAccountRegionSettings
+ """Delete Akamai account region settings
+
+ :param infrastructure_id: Id of the Akamai account
+ :type infrastructure_id: string_types, required
+ :param region: Akamai region
+ :type region: AkamaiCloudRegion, required
+ :return: Akamai account region settings
+ :rtype: AkamaiAccountRegionSettings
+ """
+
+ return self.api_client.delete(
+ '/encoding/infrastructure/akamai/{infrastructure_id}/regions/{region}',
+ path_params={'infrastructure_id': infrastructure_id, 'region': region},
+ type=AkamaiAccountRegionSettings,
+ **kwargs
+ )
+
+ def get(self, infrastructure_id, region, **kwargs):
+ # type: (string_types, AkamaiCloudRegion, dict) -> AkamaiAccountRegionSettings
+ """Akamai account region settings details
+
+ :param infrastructure_id: Id of the Akamai account
+ :type infrastructure_id: string_types, required
+ :param region: Akamai region
+ :type region: AkamaiCloudRegion, required
+ :return: Region settings for specified region
+ :rtype: AkamaiAccountRegionSettings
+ """
+
+ return self.api_client.get(
+ '/encoding/infrastructure/akamai/{infrastructure_id}/regions/{region}',
+ path_params={'infrastructure_id': infrastructure_id, 'region': region},
+ type=AkamaiAccountRegionSettings,
+ **kwargs
+ )
+
+ def list(self, infrastructure_id, query_params=None, **kwargs):
+ # type: (string_types, AkamaiAccountRegionSettingsListQueryParams, dict) -> AkamaiAccountRegionSettings
+ """List Akamai account region settings
+
+ :param infrastructure_id: Id of the Akamai account
+ :type infrastructure_id: string_types, required
+ :param query_params: Query parameters
+ :type query_params: AkamaiAccountRegionSettingsListQueryParams
+ :return: List of Akamai account region settings
+ :rtype: AkamaiAccountRegionSettings
+ """
+
+ return self.api_client.get(
+ '/encoding/infrastructure/akamai/{infrastructure_id}/regions',
+ path_params={'infrastructure_id': infrastructure_id},
+ query_params=query_params,
+ pagination_response=True,
+ type=AkamaiAccountRegionSettings,
+ **kwargs
+ )
diff --git a/bitmovin_api_sdk/encoding/infrastructure/aws/aws_api.py b/bitmovin_api_sdk/encoding/infrastructure/aws/aws_api.py
index 4301c928a..b4e62857d 100644
--- a/bitmovin_api_sdk/encoding/infrastructure/aws/aws_api.py
+++ b/bitmovin_api_sdk/encoding/infrastructure/aws/aws_api.py
@@ -53,7 +53,7 @@ def delete(self, infrastructure_id, **kwargs):
:param infrastructure_id: Id of the AWS account
:type infrastructure_id: string_types, required
- :return: Id of the AWS account
+ :return: AWS account
:rtype: AwsAccount
"""
diff --git a/bitmovin_api_sdk/encoding/infrastructure/azure/azure_api.py b/bitmovin_api_sdk/encoding/infrastructure/azure/azure_api.py
index d75eb9814..7f5bf12a1 100644
--- a/bitmovin_api_sdk/encoding/infrastructure/azure/azure_api.py
+++ b/bitmovin_api_sdk/encoding/infrastructure/azure/azure_api.py
@@ -53,7 +53,7 @@ def delete(self, infrastructure_id, **kwargs):
:param infrastructure_id: Id of the Azure account
:type infrastructure_id: string_types, required
- :return: Id of the Azure account
+ :return: Azure account
:rtype: AzureAccount
"""
diff --git a/bitmovin_api_sdk/encoding/infrastructure/gce/gce_api.py b/bitmovin_api_sdk/encoding/infrastructure/gce/gce_api.py
index 14d96f34c..fb14d4191 100644
--- a/bitmovin_api_sdk/encoding/infrastructure/gce/gce_api.py
+++ b/bitmovin_api_sdk/encoding/infrastructure/gce/gce_api.py
@@ -53,7 +53,7 @@ def delete(self, infrastructure_id, **kwargs):
:param infrastructure_id: Id of the GCE account
:type infrastructure_id: string_types, required
- :return: Id of the GCE account
+ :return: GCE account
:rtype: GceAccount
"""
diff --git a/bitmovin_api_sdk/encoding/infrastructure/infrastructure_api.py b/bitmovin_api_sdk/encoding/infrastructure/infrastructure_api.py
index dfd23115a..0b5d904b7 100644
--- a/bitmovin_api_sdk/encoding/infrastructure/infrastructure_api.py
+++ b/bitmovin_api_sdk/encoding/infrastructure/infrastructure_api.py
@@ -8,6 +8,7 @@
from bitmovin_api_sdk.encoding.infrastructure.static_ips.static_ips_api import StaticIpsApi
from bitmovin_api_sdk.encoding.infrastructure.azure.azure_api import AzureApi
from bitmovin_api_sdk.encoding.infrastructure.gce.gce_api import GceApi
+from bitmovin_api_sdk.encoding.infrastructure.akamai.akamai_api import AkamaiApi
from bitmovin_api_sdk.encoding.infrastructure.prewarmed_encoder_pools.prewarmed_encoder_pools_api import PrewarmedEncoderPoolsApi
@@ -51,6 +52,13 @@ def __init__(self, api_key, tenant_org_id=None, base_url=None, logger=None):
logger=logger
)
+ self.akamai = AkamaiApi(
+ api_key=api_key,
+ tenant_org_id=tenant_org_id,
+ base_url=base_url,
+ logger=logger
+ )
+
self.prewarmed_encoder_pools = PrewarmedEncoderPoolsApi(
api_key=api_key,
tenant_org_id=tenant_org_id,
diff --git a/bitmovin_api_sdk/encoding/templates/__init__.py b/bitmovin_api_sdk/encoding/templates/__init__.py
index 502e468a0..6f7b7cd90 100644
--- a/bitmovin_api_sdk/encoding/templates/__init__.py
+++ b/bitmovin_api_sdk/encoding/templates/__init__.py
@@ -1 +1,2 @@
from bitmovin_api_sdk.encoding.templates.templates_api import TemplatesApi
+from bitmovin_api_sdk.encoding.templates.encoding_template_response_list_query_params import EncodingTemplateResponseListQueryParams
diff --git a/bitmovin_api_sdk/encoding/templates/encoding_template_response_list_query_params.py b/bitmovin_api_sdk/encoding/templates/encoding_template_response_list_query_params.py
new file mode 100644
index 000000000..f17aca71c
--- /dev/null
+++ b/bitmovin_api_sdk/encoding/templates/encoding_template_response_list_query_params.py
@@ -0,0 +1,31 @@
+from bitmovin_api_sdk.models import EncodingTemplateType
+
+
+class EncodingTemplateResponseListQueryParams(object):
+ def __init__(self, offset=None, limit=None, type_=None):
+ # type: (int, int, EncodingTemplateType) -> None
+ super(EncodingTemplateResponseListQueryParams, self).__init__()
+
+ self.offset = offset
+ self.limit = limit
+ self.type = type_
+
+ @property
+ def openapi_types(self):
+ types = {
+ 'offset': 'int',
+ 'limit': 'int',
+ 'type': 'EncodingTemplateType'
+ }
+
+ return types
+
+ @property
+ def attribute_map(self):
+ attributes = {
+ 'offset': 'offset',
+ 'limit': 'limit',
+ 'type': 'type'
+ }
+
+ return attributes
diff --git a/bitmovin_api_sdk/encoding/templates/templates_api.py b/bitmovin_api_sdk/encoding/templates/templates_api.py
index 9f2176602..a2a9fb381 100644
--- a/bitmovin_api_sdk/encoding/templates/templates_api.py
+++ b/bitmovin_api_sdk/encoding/templates/templates_api.py
@@ -4,10 +4,15 @@
from bitmovin_api_sdk.common import BaseApi, BitmovinApiLoggerBase
from bitmovin_api_sdk.common.poscheck import poscheck_except
+from bitmovin_api_sdk.models.bitmovin_response import BitmovinResponse
+from bitmovin_api_sdk.models.encoding_template_details import EncodingTemplateDetails
from bitmovin_api_sdk.models.encoding_template_request import EncodingTemplateRequest
+from bitmovin_api_sdk.models.encoding_template_response import EncodingTemplateResponse
from bitmovin_api_sdk.models.encoding_template_start_response import EncodingTemplateStartResponse
+from bitmovin_api_sdk.models.encoding_template_type import EncodingTemplateType
from bitmovin_api_sdk.models.response_envelope import ResponseEnvelope
from bitmovin_api_sdk.models.response_error import ResponseError
+from bitmovin_api_sdk.encoding.templates.encoding_template_response_list_query_params import EncodingTemplateResponseListQueryParams
class TemplatesApi(BaseApi):
@@ -22,6 +27,75 @@ def __init__(self, api_key, tenant_org_id=None, base_url=None, logger=None):
logger=logger
)
+ def create(self, encoding_template_request, **kwargs):
+ # type: (object, dict) -> EncodingTemplateDetails
+ """Store an Encoding Template
+
+ :param encoding_template_request: The Encoding Template to be stored
+ :type encoding_template_request: EncodingTemplateRequest, required
+ :return: Stored Encoding Template info
+ :rtype: EncodingTemplateDetails
+ """
+
+ return self.api_client.post(
+ '/encoding/templates',
+ encoding_template_request,
+ type=EncodingTemplateDetails,
+ **kwargs
+ )
+
+ def delete(self, encoding_template_id, **kwargs):
+ # type: (string_types, dict) -> BitmovinResponse
+ """Delete Encoding Template
+
+ :param encoding_template_id: Id of the encoding template to delete
+ :type encoding_template_id: string_types, required
+ :return: Id of the deleted Encoding Template
+ :rtype: BitmovinResponse
+ """
+
+ return self.api_client.delete(
+ '/encoding/templates/{encoding_template_id}',
+ path_params={'encoding_template_id': encoding_template_id},
+ type=BitmovinResponse,
+ **kwargs
+ )
+
+ def get(self, encoding_template_id, **kwargs):
+ # type: (string_types, dict) -> EncodingTemplateDetails
+ """Encoding Template details
+
+ :param encoding_template_id: Id of the Encoding Template
+ :type encoding_template_id: string_types, required
+ :return: Encoding Template details
+ :rtype: EncodingTemplateDetails
+ """
+
+ return self.api_client.get(
+ '/encoding/templates/{encoding_template_id}',
+ path_params={'encoding_template_id': encoding_template_id},
+ type=EncodingTemplateDetails,
+ **kwargs
+ )
+
+ def list(self, query_params=None, **kwargs):
+ # type: (EncodingTemplateResponseListQueryParams, dict) -> EncodingTemplateResponse
+ """List stored Encoding Templates
+
+ :param query_params: Query parameters
+ :type query_params: EncodingTemplateResponseListQueryParams
+ :return: A list of the stored encoding templates
+ :rtype: EncodingTemplateResponse
+ """
+
+ return self.api_client.get(
+ '/encoding/templates',
+ query_params=query_params,
+ pagination_response=True,
+ type=EncodingTemplateResponse,
+ **kwargs
+ )
+
def start(self, encoding_template_request, **kwargs):
# type: (object, dict) -> EncodingTemplateStartResponse
"""BETA: Start an Encoding defined with an Encoding Template
diff --git a/bitmovin_api_sdk/models/__init__.py b/bitmovin_api_sdk/models/__init__.py
index 14ca944ce..cf5ae31e2 100644
--- a/bitmovin_api_sdk/models/__init__.py
+++ b/bitmovin_api_sdk/models/__init__.py
@@ -44,6 +44,9 @@
from bitmovin_api_sdk.models.adaptive_quant_mode import AdaptiveQuantMode
from bitmovin_api_sdk.models.aes_encryption_drm import AesEncryptionDrm
from bitmovin_api_sdk.models.aes_encryption_method import AesEncryptionMethod
+from bitmovin_api_sdk.models.akamai_account import AkamaiAccount
+from bitmovin_api_sdk.models.akamai_account_region_settings import AkamaiAccountRegionSettings
+from bitmovin_api_sdk.models.akamai_cloud_region import AkamaiCloudRegion
from bitmovin_api_sdk.models.akamai_msl_output import AkamaiMslOutput
from bitmovin_api_sdk.models.akamai_msl_stream_format import AkamaiMslStreamFormat
from bitmovin_api_sdk.models.akamai_msl_version import AkamaiMslVersion
@@ -352,8 +355,11 @@
from bitmovin_api_sdk.models.encoding_stream_input import EncodingStreamInput
from bitmovin_api_sdk.models.encoding_stream_input_details import EncodingStreamInputDetails
from bitmovin_api_sdk.models.encoding_template import EncodingTemplate
+from bitmovin_api_sdk.models.encoding_template_details import EncodingTemplateDetails
from bitmovin_api_sdk.models.encoding_template_request import EncodingTemplateRequest
+from bitmovin_api_sdk.models.encoding_template_response import EncodingTemplateResponse
from bitmovin_api_sdk.models.encoding_template_start_response import EncodingTemplateStartResponse
+from bitmovin_api_sdk.models.encoding_template_type import EncodingTemplateType
from bitmovin_api_sdk.models.encoding_type import EncodingType
from bitmovin_api_sdk.models.encryption_mode import EncryptionMode
from bitmovin_api_sdk.models.enhanced_deinterlace_auto_enable import EnhancedDeinterlaceAutoEnable
diff --git a/bitmovin_api_sdk/models/akamai_account.py b/bitmovin_api_sdk/models/akamai_account.py
new file mode 100644
index 000000000..b1f132c9b
--- /dev/null
+++ b/bitmovin_api_sdk/models/akamai_account.py
@@ -0,0 +1,126 @@
+# coding: utf-8
+
+from enum import Enum
+from six import string_types, iteritems
+from bitmovin_api_sdk.common.poscheck import poscheck_model
+from bitmovin_api_sdk.models.bitmovin_resource import BitmovinResource
+import pprint
+import six
+
+
+class AkamaiAccount(BitmovinResource):
+ @poscheck_model
+ def __init__(self,
+ id_=None,
+ name=None,
+ description=None,
+ created_at=None,
+ modified_at=None,
+ custom_data=None,
+ api_token=None):
+ # type: (string_types, string_types, string_types, datetime, datetime, dict, string_types) -> None
+ super(AkamaiAccount, self).__init__(id_=id_, name=name, description=description, created_at=created_at, modified_at=modified_at, custom_data=custom_data)
+
+ self._api_token = None
+ self.discriminator = None
+
+ if api_token is not None:
+ self.api_token = api_token
+
+ @property
+ def openapi_types(self):
+ types = {}
+
+ if hasattr(super(AkamaiAccount, self), 'openapi_types'):
+ types = getattr(super(AkamaiAccount, self), 'openapi_types')
+
+ types.update({
+ 'api_token': 'string_types'
+ })
+
+ return types
+
+ @property
+ def attribute_map(self):
+ attributes = {}
+
+ if hasattr(super(AkamaiAccount, self), 'attribute_map'):
+ attributes = getattr(super(AkamaiAccount, self), 'attribute_map')
+
+ attributes.update({
+ 'api_token': 'apiToken'
+ })
+ return attributes
+
+ @property
+ def api_token(self):
+ # type: () -> string_types
+ """Gets the api_token of this AkamaiAccount.
+
+ Akamai/Linode API token (required)
+
+ :return: The api_token of this AkamaiAccount.
+ :rtype: string_types
+ """
+ return self._api_token
+
+ @api_token.setter
+ def api_token(self, api_token):
+ # type: (string_types) -> None
+ """Sets the api_token of this AkamaiAccount.
+
+ Akamai/Linode API token (required)
+
+ :param api_token: The api_token of this AkamaiAccount.
+ :type: string_types
+ """
+
+ if api_token is not None:
+ if not isinstance(api_token, string_types):
+ raise TypeError("Invalid type for `api_token`, type has to be `string_types`")
+
+ self._api_token = api_token
+
+ def to_dict(self):
+ """Returns the model properties as a dict"""
+ result = {}
+
+ if hasattr(super(AkamaiAccount, self), "to_dict"):
+ result = super(AkamaiAccount, self).to_dict()
+ for attr, _ in six.iteritems(self.openapi_types):
+ value = getattr(self, attr)
+ if value is None:
+ continue
+ if isinstance(value, list):
+ if len(value) == 0:
+ continue
+ result[self.attribute_map.get(attr)] = [y.value if isinstance(y, Enum) else y for y in [x.to_dict() if hasattr(x, "to_dict") else x for x in value]]
+ elif hasattr(value, "to_dict"):
+ result[self.attribute_map.get(attr)] = value.to_dict()
+ elif isinstance(value, Enum):
+ result[self.attribute_map.get(attr)] = value.value
+ elif isinstance(value, dict):
+ result[self.attribute_map.get(attr)] = {k: (v.to_dict() if hasattr(v, "to_dict") else v) for (k, v) in value.items()}
+ else:
+ result[self.attribute_map.get(attr)] = value
+
+ return result
+
+ def to_str(self):
+ """Returns the string representation of the model"""
+ return pprint.pformat(self.to_dict())
+
+ def __repr__(self):
+ """For `print` and `pprint`"""
+ return self.to_str()
+
+ def __eq__(self, other):
+ """Returns true if both objects are equal"""
+ if not isinstance(other, AkamaiAccount):
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ """Returns true if both objects are not equal"""
+ return not self == other
diff --git a/bitmovin_api_sdk/models/akamai_account_region_settings.py b/bitmovin_api_sdk/models/akamai_account_region_settings.py
new file mode 100644
index 000000000..feab49b6e
--- /dev/null
+++ b/bitmovin_api_sdk/models/akamai_account_region_settings.py
@@ -0,0 +1,195 @@
+# coding: utf-8
+
+from enum import Enum
+from six import string_types, iteritems
+from bitmovin_api_sdk.common.poscheck import poscheck_model
+from bitmovin_api_sdk.models.akamai_cloud_region import AkamaiCloudRegion
+from bitmovin_api_sdk.models.bitmovin_resource import BitmovinResource
+import pprint
+import six
+
+
+class AkamaiAccountRegionSettings(BitmovinResource):
+ @poscheck_model
+ def __init__(self,
+ id_=None,
+ name=None,
+ description=None,
+ created_at=None,
+ modified_at=None,
+ custom_data=None,
+ subnet_id=None,
+ firewall_id=None,
+ region=None):
+ # type: (string_types, string_types, string_types, datetime, datetime, dict, int, int, AkamaiCloudRegion) -> None
+ super(AkamaiAccountRegionSettings, self).__init__(id_=id_, name=name, description=description, created_at=created_at, modified_at=modified_at, custom_data=custom_data)
+
+ self._subnet_id = None
+ self._firewall_id = None
+ self._region = None
+ self.discriminator = None
+
+ if subnet_id is not None:
+ self.subnet_id = subnet_id
+ if firewall_id is not None:
+ self.firewall_id = firewall_id
+ if region is not None:
+ self.region = region
+
+ @property
+ def openapi_types(self):
+ types = {}
+
+ if hasattr(super(AkamaiAccountRegionSettings, self), 'openapi_types'):
+ types = getattr(super(AkamaiAccountRegionSettings, self), 'openapi_types')
+
+ types.update({
+ 'subnet_id': 'int',
+ 'firewall_id': 'int',
+ 'region': 'AkamaiCloudRegion'
+ })
+
+ return types
+
+ @property
+ def attribute_map(self):
+ attributes = {}
+
+ if hasattr(super(AkamaiAccountRegionSettings, self), 'attribute_map'):
+ attributes = getattr(super(AkamaiAccountRegionSettings, self), 'attribute_map')
+
+ attributes.update({
+ 'subnet_id': 'subnetId',
+ 'firewall_id': 'firewallId',
+ 'region': 'region'
+ })
+ return attributes
+
+ @property
+ def subnet_id(self):
+ # type: () -> int
+ """Gets the subnet_id of this AkamaiAccountRegionSettings.
+
+ Id of the VPC subnet for encoding instances (required)
+
+ :return: The subnet_id of this AkamaiAccountRegionSettings.
+ :rtype: int
+ """
+ return self._subnet_id
+
+ @subnet_id.setter
+ def subnet_id(self, subnet_id):
+ # type: (int) -> None
+ """Sets the subnet_id of this AkamaiAccountRegionSettings.
+
+ Id of the VPC subnet for encoding instances (required)
+
+ :param subnet_id: The subnet_id of this AkamaiAccountRegionSettings.
+ :type: int
+ """
+
+ if subnet_id is not None:
+ if not isinstance(subnet_id, int):
+ raise TypeError("Invalid type for `subnet_id`, type has to be `int`")
+
+ self._subnet_id = subnet_id
+
+ @property
+ def firewall_id(self):
+ # type: () -> int
+ """Gets the firewall_id of this AkamaiAccountRegionSettings.
+
+ Id of the firewall for encoding instances (required)
+
+ :return: The firewall_id of this AkamaiAccountRegionSettings.
+ :rtype: int
+ """
+ return self._firewall_id
+
+ @firewall_id.setter
+ def firewall_id(self, firewall_id):
+ # type: (int) -> None
+ """Sets the firewall_id of this AkamaiAccountRegionSettings.
+
+ Id of the firewall for encoding instances (required)
+
+ :param firewall_id: The firewall_id of this AkamaiAccountRegionSettings.
+ :type: int
+ """
+
+ if firewall_id is not None:
+ if not isinstance(firewall_id, int):
+ raise TypeError("Invalid type for `firewall_id`, type has to be `int`")
+
+ self._firewall_id = firewall_id
+
+ @property
+ def region(self):
+ # type: () -> AkamaiCloudRegion
+ """Gets the region of this AkamaiAccountRegionSettings.
+
+
+ :return: The region of this AkamaiAccountRegionSettings.
+ :rtype: AkamaiCloudRegion
+ """
+ return self._region
+
+ @region.setter
+ def region(self, region):
+ # type: (AkamaiCloudRegion) -> None
+ """Sets the region of this AkamaiAccountRegionSettings.
+
+
+ :param region: The region of this AkamaiAccountRegionSettings.
+ :type: AkamaiCloudRegion
+ """
+
+ if region is not None:
+ if not isinstance(region, AkamaiCloudRegion):
+ raise TypeError("Invalid type for `region`, type has to be `AkamaiCloudRegion`")
+
+ self._region = region
+
+ def to_dict(self):
+ """Returns the model properties as a dict"""
+ result = {}
+
+ if hasattr(super(AkamaiAccountRegionSettings, self), "to_dict"):
+ result = super(AkamaiAccountRegionSettings, self).to_dict()
+ for attr, _ in six.iteritems(self.openapi_types):
+ value = getattr(self, attr)
+ if value is None:
+ continue
+ if isinstance(value, list):
+ if len(value) == 0:
+ continue
+ result[self.attribute_map.get(attr)] = [y.value if isinstance(y, Enum) else y for y in [x.to_dict() if hasattr(x, "to_dict") else x for x in value]]
+ elif hasattr(value, "to_dict"):
+ result[self.attribute_map.get(attr)] = value.to_dict()
+ elif isinstance(value, Enum):
+ result[self.attribute_map.get(attr)] = value.value
+ elif isinstance(value, dict):
+ result[self.attribute_map.get(attr)] = {k: (v.to_dict() if hasattr(v, "to_dict") else v) for (k, v) in value.items()}
+ else:
+ result[self.attribute_map.get(attr)] = value
+
+ return result
+
+ def to_str(self):
+ """Returns the string representation of the model"""
+ return pprint.pformat(self.to_dict())
+
+ def __repr__(self):
+ """For `print` and `pprint`"""
+ return self.to_str()
+
+ def __eq__(self, other):
+ """Returns true if both objects are equal"""
+ if not isinstance(other, AkamaiAccountRegionSettings):
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ """Returns true if both objects are not equal"""
+ return not self == other
diff --git a/bitmovin_api_sdk/models/akamai_cloud_region.py b/bitmovin_api_sdk/models/akamai_cloud_region.py
new file mode 100644
index 000000000..101cfa7db
--- /dev/null
+++ b/bitmovin_api_sdk/models/akamai_cloud_region.py
@@ -0,0 +1,21 @@
+# coding: utf-8
+
+from enum import Enum
+from six import string_types, iteritems
+from bitmovin_api_sdk.common.poscheck import poscheck_model
+
+
+class AkamaiCloudRegion(Enum):
+ BR_GRU = "BR_GRU"
+ ES_MAD = "ES_MAD"
+ FR_PAR = "FR_PAR"
+ ID_CGK = "ID_CGK"
+ IN_MAA = "IN_MAA"
+ IT_MIL = "IT_MIL"
+ JP_OSA = "JP_OSA"
+ NL_AMS = "NL_AMS"
+ SE_STO = "SE_STO"
+ US_LAX = "US_LAX"
+ US_MIA = "US_MIA"
+ US_ORD = "US_ORD"
+ US_SEA = "US_SEA"
diff --git a/bitmovin_api_sdk/models/encoding_template_details.py b/bitmovin_api_sdk/models/encoding_template_details.py
new file mode 100644
index 000000000..b7830dd63
--- /dev/null
+++ b/bitmovin_api_sdk/models/encoding_template_details.py
@@ -0,0 +1,128 @@
+# coding: utf-8
+
+from enum import Enum
+from six import string_types, iteritems
+from bitmovin_api_sdk.common.poscheck import poscheck_model
+from bitmovin_api_sdk.models.encoding_template_response import EncodingTemplateResponse
+from bitmovin_api_sdk.models.encoding_template_type import EncodingTemplateType
+import pprint
+import six
+
+
+class EncodingTemplateDetails(EncodingTemplateResponse):
+ @poscheck_model
+ def __init__(self,
+ id_=None,
+ name=None,
+ description=None,
+ created_at=None,
+ modified_at=None,
+ custom_data=None,
+ type_=None,
+ url=None):
+ # type: (string_types, string_types, string_types, datetime, datetime, dict, EncodingTemplateType, string_types) -> None
+ super(EncodingTemplateDetails, self).__init__(id_=id_, name=name, description=description, created_at=created_at, modified_at=modified_at, custom_data=custom_data, type_=type_)
+
+ self._url = None
+ self.discriminator = None
+
+ if url is not None:
+ self.url = url
+
+ @property
+ def openapi_types(self):
+ types = {}
+
+ if hasattr(super(EncodingTemplateDetails, self), 'openapi_types'):
+ types = getattr(super(EncodingTemplateDetails, self), 'openapi_types')
+
+ types.update({
+ 'url': 'string_types'
+ })
+
+ return types
+
+ @property
+ def attribute_map(self):
+ attributes = {}
+
+ if hasattr(super(EncodingTemplateDetails, self), 'attribute_map'):
+ attributes = getattr(super(EncodingTemplateDetails, self), 'attribute_map')
+
+ attributes.update({
+ 'url': 'url'
+ })
+ return attributes
+
+ @property
+ def url(self):
+ # type: () -> string_types
+ """Gets the url of this EncodingTemplateDetails.
+
+ The url to download the template file (required)
+
+ :return: The url of this EncodingTemplateDetails.
+ :rtype: string_types
+ """
+ return self._url
+
+ @url.setter
+ def url(self, url):
+ # type: (string_types) -> None
+ """Sets the url of this EncodingTemplateDetails.
+
+ The url to download the template file (required)
+
+ :param url: The url of this EncodingTemplateDetails.
+ :type: string_types
+ """
+
+ if url is not None:
+ if not isinstance(url, string_types):
+ raise TypeError("Invalid type for `url`, type has to be `string_types`")
+
+ self._url = url
+
+ def to_dict(self):
+ """Returns the model properties as a dict"""
+ result = {}
+
+ if hasattr(super(EncodingTemplateDetails, self), "to_dict"):
+ result = super(EncodingTemplateDetails, self).to_dict()
+ for attr, _ in six.iteritems(self.openapi_types):
+ value = getattr(self, attr)
+ if value is None:
+ continue
+ if isinstance(value, list):
+ if len(value) == 0:
+ continue
+ result[self.attribute_map.get(attr)] = [y.value if isinstance(y, Enum) else y for y in [x.to_dict() if hasattr(x, "to_dict") else x for x in value]]
+ elif hasattr(value, "to_dict"):
+ result[self.attribute_map.get(attr)] = value.to_dict()
+ elif isinstance(value, Enum):
+ result[self.attribute_map.get(attr)] = value.value
+ elif isinstance(value, dict):
+ result[self.attribute_map.get(attr)] = {k: (v.to_dict() if hasattr(v, "to_dict") else v) for (k, v) in value.items()}
+ else:
+ result[self.attribute_map.get(attr)] = value
+
+ return result
+
+ def to_str(self):
+ """Returns the string representation of the model"""
+ return pprint.pformat(self.to_dict())
+
+ def __repr__(self):
+ """For `print` and `pprint`"""
+ return self.to_str()
+
+ def __eq__(self, other):
+ """Returns true if both objects are equal"""
+ if not isinstance(other, EncodingTemplateDetails):
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ """Returns true if both objects are not equal"""
+ return not self == other
diff --git a/bitmovin_api_sdk/models/encoding_template_response.py b/bitmovin_api_sdk/models/encoding_template_response.py
new file mode 100644
index 000000000..f1b41b513
--- /dev/null
+++ b/bitmovin_api_sdk/models/encoding_template_response.py
@@ -0,0 +1,125 @@
+# coding: utf-8
+
+from enum import Enum
+from six import string_types, iteritems
+from bitmovin_api_sdk.common.poscheck import poscheck_model
+from bitmovin_api_sdk.models.bitmovin_resource import BitmovinResource
+from bitmovin_api_sdk.models.encoding_template_type import EncodingTemplateType
+import pprint
+import six
+
+
+class EncodingTemplateResponse(BitmovinResource):
+ @poscheck_model
+ def __init__(self,
+ id_=None,
+ name=None,
+ description=None,
+ created_at=None,
+ modified_at=None,
+ custom_data=None,
+ type_=None):
+ # type: (string_types, string_types, string_types, datetime, datetime, dict, EncodingTemplateType) -> None
+ super(EncodingTemplateResponse, self).__init__(id_=id_, name=name, description=description, created_at=created_at, modified_at=modified_at, custom_data=custom_data)
+
+ self._type = None
+ self.discriminator = None
+
+ if type_ is not None:
+ self.type = type_
+
+ @property
+ def openapi_types(self):
+ types = {}
+
+ if hasattr(super(EncodingTemplateResponse, self), 'openapi_types'):
+ types = getattr(super(EncodingTemplateResponse, self), 'openapi_types')
+
+ types.update({
+ 'type': 'EncodingTemplateType'
+ })
+
+ return types
+
+ @property
+ def attribute_map(self):
+ attributes = {}
+
+ if hasattr(super(EncodingTemplateResponse, self), 'attribute_map'):
+ attributes = getattr(super(EncodingTemplateResponse, self), 'attribute_map')
+
+ attributes.update({
+ 'type': 'type'
+ })
+ return attributes
+
+ @property
+ def type(self):
+ # type: () -> EncodingTemplateType
+ """Gets the type of this EncodingTemplateResponse.
+
+
+ :return: The type of this EncodingTemplateResponse.
+ :rtype: EncodingTemplateType
+ """
+ return self._type
+
+ @type.setter
+ def type(self, type_):
+ # type: (EncodingTemplateType) -> None
+ """Sets the type of this EncodingTemplateResponse.
+
+
+ :param type_: The type of this EncodingTemplateResponse.
+ :type: EncodingTemplateType
+ """
+
+ if type_ is not None:
+ if not isinstance(type_, EncodingTemplateType):
+ raise TypeError("Invalid type for `type`, type has to be `EncodingTemplateType`")
+
+ self._type = type_
+
+ def to_dict(self):
+ """Returns the model properties as a dict"""
+ result = {}
+
+ if hasattr(super(EncodingTemplateResponse, self), "to_dict"):
+ result = super(EncodingTemplateResponse, self).to_dict()
+ for attr, _ in six.iteritems(self.openapi_types):
+ value = getattr(self, attr)
+ if value is None:
+ continue
+ if isinstance(value, list):
+ if len(value) == 0:
+ continue
+ result[self.attribute_map.get(attr)] = [y.value if isinstance(y, Enum) else y for y in [x.to_dict() if hasattr(x, "to_dict") else x for x in value]]
+ elif hasattr(value, "to_dict"):
+ result[self.attribute_map.get(attr)] = value.to_dict()
+ elif isinstance(value, Enum):
+ result[self.attribute_map.get(attr)] = value.value
+ elif isinstance(value, dict):
+ result[self.attribute_map.get(attr)] = {k: (v.to_dict() if hasattr(v, "to_dict") else v) for (k, v) in value.items()}
+ else:
+ result[self.attribute_map.get(attr)] = value
+
+ return result
+
+ def to_str(self):
+ """Returns the string representation of the model"""
+ return pprint.pformat(self.to_dict())
+
+ def __repr__(self):
+ """For `print` and `pprint`"""
+ return self.to_str()
+
+ def __eq__(self, other):
+ """Returns true if both objects are equal"""
+ if not isinstance(other, EncodingTemplateResponse):
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ """Returns true if both objects are not equal"""
+ return not self == other
diff --git a/bitmovin_api_sdk/models/encoding_template_type.py b/bitmovin_api_sdk/models/encoding_template_type.py
new file mode 100644
index 000000000..51dc14237
--- /dev/null
+++ b/bitmovin_api_sdk/models/encoding_template_type.py
@@ -0,0 +1,10 @@
+# coding: utf-8
+
+from enum import Enum
+from six import string_types, iteritems
+from bitmovin_api_sdk.common.poscheck import poscheck_model
+
+
+class EncodingTemplateType(Enum):
+ VOD = "VOD"
+ LIVE = "LIVE"
diff --git a/docs/__modules/bitmovin_api_sdk.common.html b/docs/__modules/bitmovin_api_sdk.common.html
index 2d78ad935..4329fba25 100644
--- a/docs/__modules/bitmovin_api_sdk.common.html
+++ b/docs/__modules/bitmovin_api_sdk.common.html
@@ -278,7 +278,7 @@
Submodules
diff --git a/docs/__modules/bitmovin_api_sdk.encoding.html b/docs/__modules/bitmovin_api_sdk.encoding.html
index a8cbf02cf..02f93147b 100644
--- a/docs/__modules/bitmovin_api_sdk.encoding.html
+++ b/docs/__modules/bitmovin_api_sdk.encoding.html
@@ -384,6 +384,14 @@ Subpackagesbitmovin_api_sdk.encoding.infrastructure package
Subpackages
+bitmovin_api_sdk.encoding.infrastructure.akamai package
+
bitmovin_api_sdk.encoding.infrastructure.aws package
Subpackages
Submodules
@@ -822,6 +830,7 @@ Subpackagesbitmovin_api_sdk.encoding.templates package
diff --git a/docs/__modules/bitmovin_api_sdk.encoding.infrastructure.akamai.html b/docs/__modules/bitmovin_api_sdk.encoding.infrastructure.akamai.html
new file mode 100644
index 000000000..7518e2fb0
--- /dev/null
+++ b/docs/__modules/bitmovin_api_sdk.encoding.infrastructure.akamai.html
@@ -0,0 +1,268 @@
+
+
+
+
+
+
+ bitmovin_api_sdk.encoding.infrastructure.akamai package — Bitmovin Python API SDK {{packageVersion}} documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bitmovin Python API SDK
+
+
+
+
+
+
+
+
+
+bitmovin_api_sdk.encoding.infrastructure.akamai package
+
+
+
+bitmovin_api_sdk.encoding.infrastructure.akamai.akamai_account_list_query_params module
+
+
+class bitmovin_api_sdk.encoding.infrastructure.akamai.akamai_account_list_query_params. AkamaiAccountListQueryParams ( offset : Optional [ int ] = None , limit : Optional [ int ] = None ) [source]
+Bases: object
+
+
+property attribute_map
+
+
+
+
+property openapi_types
+
+
+
+
+
+
+bitmovin_api_sdk.encoding.infrastructure.akamai.akamai_api module
+
+
+class bitmovin_api_sdk.encoding.infrastructure.akamai.akamai_api. AkamaiApi ( ** kwargs ) [source]
+Bases: BaseApi
+
+
+create ( akamai_account : AkamaiAccount , ** kwargs : dict ) → AkamaiAccount [source]
+Add Akamai account
+
+Parameters
+akamai_account (AkamaiAccount , required ) – The Akamai account to be added
+
+Returns
+Akamai account
+
+Return type
+AkamaiAccount
+
+
+
+
+
+
+delete ( infrastructure_id : string_types , ** kwargs : dict ) → AkamaiAccount [source]
+Delete Akamai account
+
+Parameters
+infrastructure_id (string_types , required ) – Id of the Akamai account
+
+Returns
+Akamai account
+
+Return type
+AkamaiAccount
+
+
+
+
+
+
+get ( infrastructure_id : string_types , ** kwargs : dict ) → AkamaiAccount [source]
+Akamai account details
+
+Parameters
+infrastructure_id (string_types , required ) – Id of the Akamai account
+
+Returns
+Akamai account
+
+Return type
+AkamaiAccount
+
+
+
+
+
+
+list ( query_params : Optional [ AkamaiAccountListQueryParams ] = None , ** kwargs : dict ) → AkamaiAccount [source]
+List Akamai accounts
+
+Parameters
+query_params (AkamaiAccountListQueryParams ) – Query parameters
+
+Returns
+List of Akamai accounts
+
+Return type
+AkamaiAccount
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/__modules/bitmovin_api_sdk.encoding.infrastructure.akamai.regions.html b/docs/__modules/bitmovin_api_sdk.encoding.infrastructure.akamai.regions.html
new file mode 100644
index 000000000..246b0a035
--- /dev/null
+++ b/docs/__modules/bitmovin_api_sdk.encoding.infrastructure.akamai.regions.html
@@ -0,0 +1,268 @@
+
+
+
+
+
+
+ bitmovin_api_sdk.encoding.infrastructure.akamai.regions package — Bitmovin Python API SDK {{packageVersion}} documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bitmovin Python API SDK
+
+
+
+
+
+
+
+
+
+bitmovin_api_sdk.encoding.infrastructure.akamai.regions package
+
+
+bitmovin_api_sdk.encoding.infrastructure.akamai.regions.akamai_account_region_settings_list_query_params module
+
+
+class bitmovin_api_sdk.encoding.infrastructure.akamai.regions.akamai_account_region_settings_list_query_params. AkamaiAccountRegionSettingsListQueryParams ( offset : Optional [ int ] = None , limit : Optional [ int ] = None ) [source]
+Bases: object
+
+
+property attribute_map
+
+
+
+
+property openapi_types
+
+
+
+
+
+
+bitmovin_api_sdk.encoding.infrastructure.akamai.regions.regions_api module
+
+
+class bitmovin_api_sdk.encoding.infrastructure.akamai.regions.regions_api. RegionsApi ( ** kwargs ) [source]
+Bases: BaseApi
+
+
+create ( infrastructure_id : string_types , region : AkamaiCloudRegion , akamai_account_region_settings : AkamaiAccountRegionSettings , ** kwargs : dict ) → AkamaiAccountRegionSettings [source]
+Add Akamai account region settings
+
+Parameters
+
+infrastructure_id (string_types , required ) – Id of the Akamai account
+region (AkamaiCloudRegion , required ) – Akamai region
+akamai_account_region_settings (AkamaiAccountRegionSettings , required ) – The Akamai account region settings to be added
+
+
+Returns
+Akamai account region settings
+
+Return type
+AkamaiAccountRegionSettings
+
+
+
+
+
+
+delete ( infrastructure_id : string_types , region : AkamaiCloudRegion , ** kwargs : dict ) → AkamaiAccountRegionSettings [source]
+Delete Akamai account region settings
+
+Parameters
+
+infrastructure_id (string_types , required ) – Id of the Akamai account
+region (AkamaiCloudRegion , required ) – Akamai region
+
+
+Returns
+Akamai account region settings
+
+Return type
+AkamaiAccountRegionSettings
+
+
+
+
+
+
+get ( infrastructure_id : string_types , region : AkamaiCloudRegion , ** kwargs : dict ) → AkamaiAccountRegionSettings [source]
+Akamai account region settings details
+
+Parameters
+
+infrastructure_id (string_types , required ) – Id of the Akamai account
+region (AkamaiCloudRegion , required ) – Akamai region
+
+
+Returns
+Region settings for specified region
+
+Return type
+AkamaiAccountRegionSettings
+
+
+
+
+
+
+list ( infrastructure_id : string_types , query_params : AkamaiAccountRegionSettingsListQueryParams = None , ** kwargs : dict ) → AkamaiAccountRegionSettings [source]
+List Akamai account region settings
+
+Parameters
+
+
+Returns
+List of Akamai account region settings
+
+Return type
+AkamaiAccountRegionSettings
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/__modules/bitmovin_api_sdk.encoding.infrastructure.aws.html b/docs/__modules/bitmovin_api_sdk.encoding.infrastructure.aws.html
index 4d3e891e2..266090a47 100644
--- a/docs/__modules/bitmovin_api_sdk.encoding.infrastructure.aws.html
+++ b/docs/__modules/bitmovin_api_sdk.encoding.infrastructure.aws.html
@@ -22,7 +22,7 @@
-
+
@@ -106,7 +106,7 @@
View page source
@@ -184,7 +184,7 @@ Submodules
@@ -119,6 +119,23 @@ bitmovin_api_sdk.encoding.infrastructure package
diff --git a/docs/__modules/bitmovin_api_sdk.encoding.templates.html b/docs/__modules/bitmovin_api_sdk.encoding.templates.html
index d84f17b21..0bd154359 100644
--- a/docs/__modules/bitmovin_api_sdk.encoding.templates.html
+++ b/docs/__modules/bitmovin_api_sdk.encoding.templates.html
@@ -61,6 +61,7 @@
bitmovin_api_sdk.encoding.statistics package
bitmovin_api_sdk.encoding.templates package
@@ -116,6 +117,25 @@
bitmovin_api_sdk.encoding.templates package
+
+bitmovin_api_sdk.encoding.templates.encoding_template_response_list_query_params module
+
+
+class bitmovin_api_sdk.encoding.templates.encoding_template_response_list_query_params. EncodingTemplateResponseListQueryParams ( offset : Optional [ int ] = None , limit : Optional [ int ] = None , type_ : Optional [ EncodingTemplateType ] = None ) [source]
+Bases: object
+
+
+property attribute_map
+
+
+
+
+property openapi_types
+
+
+
+
bitmovin_api_sdk.encoding.templates.templates_api module
@@ -123,6 +143,74 @@ Submodules[source]
Bases: BaseApi
+
+
+create ( encoding_template_request : object , ** kwargs : dict ) → EncodingTemplateDetails [source]
+Store an Encoding Template
+
+Parameters
+encoding_template_request (EncodingTemplateRequest , required ) – The Encoding Template to be stored
+
+Returns
+Stored Encoding Template info
+
+Return type
+EncodingTemplateDetails
+
+
+
+
+
+
+delete ( encoding_template_id : string_types , ** kwargs : dict ) → BitmovinResponse [source]
+Delete Encoding Template
+
+Parameters
+encoding_template_id (string_types , required ) – Id of the encoding template to delete
+
+Returns
+Id of the deleted Encoding Template
+
+Return type
+BitmovinResponse
+
+
+
+
+
+
+get ( encoding_template_id : string_types , ** kwargs : dict ) → EncodingTemplateDetails [source]
+Encoding Template details
+
+Parameters
+encoding_template_id (string_types , required ) – Id of the Encoding Template
+
+Returns
+Encoding Template details
+
+Return type
+EncodingTemplateDetails
+
+
+
+
+
+
+list ( query_params : Optional [ EncodingTemplateResponseListQueryParams ] = None , ** kwargs : dict ) → EncodingTemplateResponse [source]
+List stored Encoding Templates
+
+Parameters
+query_params (EncodingTemplateResponseListQueryParams ) – Query parameters
+
+Returns
+A list of the stored encoding templates
+
+Return type
+EncodingTemplateResponse
+
+
+
+
start ( encoding_template_request : object , ** kwargs : dict ) → EncodingTemplateStartResponse [source]
diff --git a/docs/__modules/bitmovin_api_sdk.html b/docs/__modules/bitmovin_api_sdk.html
index 50f7eb665..3de4ddb41 100644
--- a/docs/__modules/bitmovin_api_sdk.html
+++ b/docs/__modules/bitmovin_api_sdk.html
@@ -313,6 +313,7 @@
bitmovin_api_sdk.models.aes_encryption_drm module
bitmovin_api_sdk.models.aes_encryption_method module
+bitmovin_api_sdk.models.akamai_account module
+bitmovin_api_sdk.models.akamai_account_region_settings module
+bitmovin_api_sdk.models.akamai_cloud_region module
bitmovin_api_sdk.models.akamai_msl_output module
bitmovin_api_sdk.models.akamai_msl_stream_format module
bitmovin_api_sdk.models.akamai_msl_version module
@@ -698,8 +702,11 @@ Subpackagesbitmovin_api_sdk.models.encoding_stream_input module
bitmovin_api_sdk.models.encoding_stream_input_details module
bitmovin_api_sdk.models.encoding_template module
+bitmovin_api_sdk.models.encoding_template_details module
bitmovin_api_sdk.models.encoding_template_request module
+bitmovin_api_sdk.models.encoding_template_response module
bitmovin_api_sdk.models.encoding_template_start_response module
+bitmovin_api_sdk.models.encoding_template_type module
bitmovin_api_sdk.models.encoding_type module
bitmovin_api_sdk.models.encryption_mode module
bitmovin_api_sdk.models.enhanced_deinterlace_auto_enable module
diff --git a/docs/__modules/bitmovin_api_sdk.models.html b/docs/__modules/bitmovin_api_sdk.models.html
index 72414e695..c8cd320a5 100644
--- a/docs/__modules/bitmovin_api_sdk.models.html
+++ b/docs/__modules/bitmovin_api_sdk.models.html
@@ -96,6 +96,9 @@
bitmovin_api_sdk.models.adaptive_quant_mode module
bitmovin_api_sdk.models.aes_encryption_drm module
bitmovin_api_sdk.models.aes_encryption_method module
+bitmovin_api_sdk.models.akamai_account module
+bitmovin_api_sdk.models.akamai_account_region_settings module
+bitmovin_api_sdk.models.akamai_cloud_region module
bitmovin_api_sdk.models.akamai_msl_output module
bitmovin_api_sdk.models.akamai_msl_stream_format module
bitmovin_api_sdk.models.akamai_msl_version module
@@ -404,8 +407,11 @@
bitmovin_api_sdk.models.encoding_stream_input module
bitmovin_api_sdk.models.encoding_stream_input_details module
bitmovin_api_sdk.models.encoding_template module
+bitmovin_api_sdk.models.encoding_template_details module
bitmovin_api_sdk.models.encoding_template_request module
+bitmovin_api_sdk.models.encoding_template_response module
bitmovin_api_sdk.models.encoding_template_start_response module
+bitmovin_api_sdk.models.encoding_template_type module
bitmovin_api_sdk.models.encoding_type module
bitmovin_api_sdk.models.encryption_mode module
bitmovin_api_sdk.models.enhanced_deinterlace_auto_enable module
@@ -3647,6 +3653,202 @@ Submodules