121 lines
9.6 KiB
Python
121 lines
9.6 KiB
Python
# coding: utf-8
|
|
|
|
from __future__ import absolute_import
|
|
|
|
# import KmsClient
|
|
from huaweicloudsdkkms.v1.kms_client import KmsClient
|
|
from huaweicloudsdkkms.v1.kms_async_client import KmsAsyncClient
|
|
# import models into sdk package
|
|
from huaweicloudsdkkms.v1.model.action_resources import ActionResources
|
|
from huaweicloudsdkkms.v1.model.api_link import ApiLink
|
|
from huaweicloudsdkkms.v1.model.api_version_detail import ApiVersionDetail
|
|
from huaweicloudsdkkms.v1.model.batch_create_kms_tags_request import BatchCreateKmsTagsRequest
|
|
from huaweicloudsdkkms.v1.model.batch_create_kms_tags_request_body import BatchCreateKmsTagsRequestBody
|
|
from huaweicloudsdkkms.v1.model.batch_create_kms_tags_response import BatchCreateKmsTagsResponse
|
|
from huaweicloudsdkkms.v1.model.cancel_grant_request import CancelGrantRequest
|
|
from huaweicloudsdkkms.v1.model.cancel_grant_response import CancelGrantResponse
|
|
from huaweicloudsdkkms.v1.model.cancel_key_deletion_request import CancelKeyDeletionRequest
|
|
from huaweicloudsdkkms.v1.model.cancel_key_deletion_response import CancelKeyDeletionResponse
|
|
from huaweicloudsdkkms.v1.model.cancel_self_grant_request import CancelSelfGrantRequest
|
|
from huaweicloudsdkkms.v1.model.cancel_self_grant_response import CancelSelfGrantResponse
|
|
from huaweicloudsdkkms.v1.model.create_datakey_request import CreateDatakeyRequest
|
|
from huaweicloudsdkkms.v1.model.create_datakey_request_body import CreateDatakeyRequestBody
|
|
from huaweicloudsdkkms.v1.model.create_datakey_response import CreateDatakeyResponse
|
|
from huaweicloudsdkkms.v1.model.create_datakey_without_plaintext_request import CreateDatakeyWithoutPlaintextRequest
|
|
from huaweicloudsdkkms.v1.model.create_datakey_without_plaintext_response import CreateDatakeyWithoutPlaintextResponse
|
|
from huaweicloudsdkkms.v1.model.create_grant_request import CreateGrantRequest
|
|
from huaweicloudsdkkms.v1.model.create_grant_request_body import CreateGrantRequestBody
|
|
from huaweicloudsdkkms.v1.model.create_grant_response import CreateGrantResponse
|
|
from huaweicloudsdkkms.v1.model.create_key_request import CreateKeyRequest
|
|
from huaweicloudsdkkms.v1.model.create_key_request_body import CreateKeyRequestBody
|
|
from huaweicloudsdkkms.v1.model.create_key_response import CreateKeyResponse
|
|
from huaweicloudsdkkms.v1.model.create_kms_tag_request import CreateKmsTagRequest
|
|
from huaweicloudsdkkms.v1.model.create_kms_tag_request_body import CreateKmsTagRequestBody
|
|
from huaweicloudsdkkms.v1.model.create_kms_tag_response import CreateKmsTagResponse
|
|
from huaweicloudsdkkms.v1.model.create_parameters_for_import_request import CreateParametersForImportRequest
|
|
from huaweicloudsdkkms.v1.model.create_parameters_for_import_response import CreateParametersForImportResponse
|
|
from huaweicloudsdkkms.v1.model.create_random_request import CreateRandomRequest
|
|
from huaweicloudsdkkms.v1.model.create_random_response import CreateRandomResponse
|
|
from huaweicloudsdkkms.v1.model.decrypt_data_request import DecryptDataRequest
|
|
from huaweicloudsdkkms.v1.model.decrypt_data_request_body import DecryptDataRequestBody
|
|
from huaweicloudsdkkms.v1.model.decrypt_data_response import DecryptDataResponse
|
|
from huaweicloudsdkkms.v1.model.decrypt_datakey_request import DecryptDatakeyRequest
|
|
from huaweicloudsdkkms.v1.model.decrypt_datakey_request_body import DecryptDatakeyRequestBody
|
|
from huaweicloudsdkkms.v1.model.decrypt_datakey_response import DecryptDatakeyResponse
|
|
from huaweicloudsdkkms.v1.model.delete_imported_key_material_request import DeleteImportedKeyMaterialRequest
|
|
from huaweicloudsdkkms.v1.model.delete_imported_key_material_response import DeleteImportedKeyMaterialResponse
|
|
from huaweicloudsdkkms.v1.model.delete_key_request import DeleteKeyRequest
|
|
from huaweicloudsdkkms.v1.model.delete_key_response import DeleteKeyResponse
|
|
from huaweicloudsdkkms.v1.model.delete_tag_request import DeleteTagRequest
|
|
from huaweicloudsdkkms.v1.model.delete_tag_response import DeleteTagResponse
|
|
from huaweicloudsdkkms.v1.model.disable_key_request import DisableKeyRequest
|
|
from huaweicloudsdkkms.v1.model.disable_key_response import DisableKeyResponse
|
|
from huaweicloudsdkkms.v1.model.disable_key_rotation_request import DisableKeyRotationRequest
|
|
from huaweicloudsdkkms.v1.model.disable_key_rotation_response import DisableKeyRotationResponse
|
|
from huaweicloudsdkkms.v1.model.enable_key_request import EnableKeyRequest
|
|
from huaweicloudsdkkms.v1.model.enable_key_response import EnableKeyResponse
|
|
from huaweicloudsdkkms.v1.model.enable_key_rotation_request import EnableKeyRotationRequest
|
|
from huaweicloudsdkkms.v1.model.enable_key_rotation_response import EnableKeyRotationResponse
|
|
from huaweicloudsdkkms.v1.model.encrypt_data_request import EncryptDataRequest
|
|
from huaweicloudsdkkms.v1.model.encrypt_data_request_body import EncryptDataRequestBody
|
|
from huaweicloudsdkkms.v1.model.encrypt_data_response import EncryptDataResponse
|
|
from huaweicloudsdkkms.v1.model.encrypt_datakey_request import EncryptDatakeyRequest
|
|
from huaweicloudsdkkms.v1.model.encrypt_datakey_request_body import EncryptDatakeyRequestBody
|
|
from huaweicloudsdkkms.v1.model.encrypt_datakey_response import EncryptDatakeyResponse
|
|
from huaweicloudsdkkms.v1.model.gen_random_request_body import GenRandomRequestBody
|
|
from huaweicloudsdkkms.v1.model.get_parameters_for_import_request_body import GetParametersForImportRequestBody
|
|
from huaweicloudsdkkms.v1.model.grants import Grants
|
|
from huaweicloudsdkkms.v1.model.import_key_material_request import ImportKeyMaterialRequest
|
|
from huaweicloudsdkkms.v1.model.import_key_material_request_body import ImportKeyMaterialRequestBody
|
|
from huaweicloudsdkkms.v1.model.import_key_material_response import ImportKeyMaterialResponse
|
|
from huaweicloudsdkkms.v1.model.ke_k_info import KeKInfo
|
|
from huaweicloudsdkkms.v1.model.key_alias_info import KeyAliasInfo
|
|
from huaweicloudsdkkms.v1.model.key_description_info import KeyDescriptionInfo
|
|
from huaweicloudsdkkms.v1.model.key_details import KeyDetails
|
|
from huaweicloudsdkkms.v1.model.key_status_info import KeyStatusInfo
|
|
from huaweicloudsdkkms.v1.model.list_grants_request import ListGrantsRequest
|
|
from huaweicloudsdkkms.v1.model.list_grants_request_body import ListGrantsRequestBody
|
|
from huaweicloudsdkkms.v1.model.list_grants_response import ListGrantsResponse
|
|
from huaweicloudsdkkms.v1.model.list_key_detail_request import ListKeyDetailRequest
|
|
from huaweicloudsdkkms.v1.model.list_key_detail_response import ListKeyDetailResponse
|
|
from huaweicloudsdkkms.v1.model.list_keys_request import ListKeysRequest
|
|
from huaweicloudsdkkms.v1.model.list_keys_request_body import ListKeysRequestBody
|
|
from huaweicloudsdkkms.v1.model.list_keys_response import ListKeysResponse
|
|
from huaweicloudsdkkms.v1.model.list_kms_by_tags_request import ListKmsByTagsRequest
|
|
from huaweicloudsdkkms.v1.model.list_kms_by_tags_request_body import ListKmsByTagsRequestBody
|
|
from huaweicloudsdkkms.v1.model.list_kms_by_tags_response import ListKmsByTagsResponse
|
|
from huaweicloudsdkkms.v1.model.list_kms_tags_request import ListKmsTagsRequest
|
|
from huaweicloudsdkkms.v1.model.list_kms_tags_response import ListKmsTagsResponse
|
|
from huaweicloudsdkkms.v1.model.list_retirable_grants_request import ListRetirableGrantsRequest
|
|
from huaweicloudsdkkms.v1.model.list_retirable_grants_request_body import ListRetirableGrantsRequestBody
|
|
from huaweicloudsdkkms.v1.model.list_retirable_grants_response import ListRetirableGrantsResponse
|
|
from huaweicloudsdkkms.v1.model.operate_key_request_body import OperateKeyRequestBody
|
|
from huaweicloudsdkkms.v1.model.quotas import Quotas
|
|
from huaweicloudsdkkms.v1.model.resources import Resources
|
|
from huaweicloudsdkkms.v1.model.revoke_grant_request_body import RevokeGrantRequestBody
|
|
from huaweicloudsdkkms.v1.model.schedule_key_deletion_request_body import ScheduleKeyDeletionRequestBody
|
|
from huaweicloudsdkkms.v1.model.show_key_rotation_status_request import ShowKeyRotationStatusRequest
|
|
from huaweicloudsdkkms.v1.model.show_key_rotation_status_response import ShowKeyRotationStatusResponse
|
|
from huaweicloudsdkkms.v1.model.show_kms_tags_request import ShowKmsTagsRequest
|
|
from huaweicloudsdkkms.v1.model.show_kms_tags_response import ShowKmsTagsResponse
|
|
from huaweicloudsdkkms.v1.model.show_user_instances_request import ShowUserInstancesRequest
|
|
from huaweicloudsdkkms.v1.model.show_user_instances_response import ShowUserInstancesResponse
|
|
from huaweicloudsdkkms.v1.model.show_user_quotas_request import ShowUserQuotasRequest
|
|
from huaweicloudsdkkms.v1.model.show_user_quotas_response import ShowUserQuotasResponse
|
|
from huaweicloudsdkkms.v1.model.show_version_request import ShowVersionRequest
|
|
from huaweicloudsdkkms.v1.model.show_version_response import ShowVersionResponse
|
|
from huaweicloudsdkkms.v1.model.show_versions_request import ShowVersionsRequest
|
|
from huaweicloudsdkkms.v1.model.show_versions_response import ShowVersionsResponse
|
|
from huaweicloudsdkkms.v1.model.tag import Tag
|
|
from huaweicloudsdkkms.v1.model.tag_item import TagItem
|
|
from huaweicloudsdkkms.v1.model.update_key_alias_request import UpdateKeyAliasRequest
|
|
from huaweicloudsdkkms.v1.model.update_key_alias_request_body import UpdateKeyAliasRequestBody
|
|
from huaweicloudsdkkms.v1.model.update_key_alias_response import UpdateKeyAliasResponse
|
|
from huaweicloudsdkkms.v1.model.update_key_description_request import UpdateKeyDescriptionRequest
|
|
from huaweicloudsdkkms.v1.model.update_key_description_request_body import UpdateKeyDescriptionRequestBody
|
|
from huaweicloudsdkkms.v1.model.update_key_description_response import UpdateKeyDescriptionResponse
|
|
from huaweicloudsdkkms.v1.model.update_key_rotation_interval_request import UpdateKeyRotationIntervalRequest
|
|
from huaweicloudsdkkms.v1.model.update_key_rotation_interval_request_body import UpdateKeyRotationIntervalRequestBody
|
|
from huaweicloudsdkkms.v1.model.update_key_rotation_interval_response import UpdateKeyRotationIntervalResponse
|
|
|