From a369a48a2a0d577b282530d52ac13224f15a6e54 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 13 Aug 2024 09:28:46 +0000 Subject: [PATCH] Support DryRun parameter OpenAPI. --- aliyun-python-sdk-kms/ChangeLog.txt | 3 +++ aliyun-python-sdk-kms/aliyunsdkkms/__init__.py | 2 +- .../request/v20160120/AsymmetricDecryptRequest.py | 5 +++++ .../request/v20160120/AsymmetricEncryptRequest.py | 5 +++++ .../aliyunsdkkms/request/v20160120/AsymmetricSignRequest.py | 5 +++++ .../request/v20160120/AsymmetricVerifyRequest.py | 5 +++++ .../aliyunsdkkms/request/v20160120/DecryptRequest.py | 5 +++++ .../aliyunsdkkms/request/v20160120/EncryptRequest.py | 5 +++++ .../aliyunsdkkms/request/v20160120/ExportDataKeyRequest.py | 5 +++++ .../request/v20160120/GenerateAndExportDataKeyRequest.py | 5 +++++ .../aliyunsdkkms/request/v20160120/GenerateDataKeyRequest.py | 5 +++++ .../v20160120/GenerateDataKeyWithoutPlaintextRequest.py | 5 +++++ .../aliyunsdkkms/request/v20160120/GetPublicKeyRequest.py | 5 +++++ .../aliyunsdkkms/request/v20160120/GetSecretValueRequest.py | 5 +++++ .../aliyunsdkkms/request/v20160120/ReEncryptRequest.py | 5 +++++ 15 files changed, 69 insertions(+), 1 deletion(-) diff --git a/aliyun-python-sdk-kms/ChangeLog.txt b/aliyun-python-sdk-kms/ChangeLog.txt index 75742b491c..495b74ab7e 100644 --- a/aliyun-python-sdk-kms/ChangeLog.txt +++ b/aliyun-python-sdk-kms/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-08-13 Version: 2.16.4 +- Support DryRun parameter OpenAPI. + 2024-05-08 Version: 2.16.3 - Support key policy and secret policy OpenAPI. diff --git a/aliyun-python-sdk-kms/aliyunsdkkms/__init__.py b/aliyun-python-sdk-kms/aliyunsdkkms/__init__.py index 89fc8f7b3a..578ad2532c 100644 --- a/aliyun-python-sdk-kms/aliyunsdkkms/__init__.py +++ b/aliyun-python-sdk-kms/aliyunsdkkms/__init__.py @@ -1 +1 @@ -__version__ = '2.16.3' \ No newline at end of file +__version__ = '2.16.4' \ No newline at end of file diff --git a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/AsymmetricDecryptRequest.py b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/AsymmetricDecryptRequest.py index 72f36f8011..903a480fc2 100644 --- a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/AsymmetricDecryptRequest.py +++ b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/AsymmetricDecryptRequest.py @@ -32,6 +32,11 @@ def __init__(self): if hasattr(self, "endpoint_regional"): setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + def get_DryRun(self): # String + return self.get_query_params().get('DryRun') + + def set_DryRun(self, DryRun): # String + self.add_query_param('DryRun', DryRun) def get_KeyVersionId(self): # String return self.get_query_params().get('KeyVersionId') diff --git a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/AsymmetricEncryptRequest.py b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/AsymmetricEncryptRequest.py index 55f7d0bad9..bb6910fe8a 100644 --- a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/AsymmetricEncryptRequest.py +++ b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/AsymmetricEncryptRequest.py @@ -32,6 +32,11 @@ def __init__(self): if hasattr(self, "endpoint_regional"): setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + def get_DryRun(self): # String + return self.get_query_params().get('DryRun') + + def set_DryRun(self, DryRun): # String + self.add_query_param('DryRun', DryRun) def get_KeyVersionId(self): # String return self.get_query_params().get('KeyVersionId') diff --git a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/AsymmetricSignRequest.py b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/AsymmetricSignRequest.py index 4d6a66957b..b37c62f28a 100644 --- a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/AsymmetricSignRequest.py +++ b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/AsymmetricSignRequest.py @@ -32,6 +32,11 @@ def __init__(self): if hasattr(self, "endpoint_regional"): setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + def get_DryRun(self): # String + return self.get_query_params().get('DryRun') + + def set_DryRun(self, DryRun): # String + self.add_query_param('DryRun', DryRun) def get_KeyVersionId(self): # String return self.get_query_params().get('KeyVersionId') diff --git a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/AsymmetricVerifyRequest.py b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/AsymmetricVerifyRequest.py index 1bbe92c6d1..a70f7d34b5 100644 --- a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/AsymmetricVerifyRequest.py +++ b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/AsymmetricVerifyRequest.py @@ -32,6 +32,11 @@ def __init__(self): if hasattr(self, "endpoint_regional"): setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + def get_DryRun(self): # String + return self.get_query_params().get('DryRun') + + def set_DryRun(self, DryRun): # String + self.add_query_param('DryRun', DryRun) def get_KeyVersionId(self): # String return self.get_query_params().get('KeyVersionId') diff --git a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/DecryptRequest.py b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/DecryptRequest.py index bcce732341..64b41910ac 100644 --- a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/DecryptRequest.py +++ b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/DecryptRequest.py @@ -32,6 +32,11 @@ def __init__(self): if hasattr(self, "endpoint_regional"): setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + def get_DryRun(self): # String + return self.get_query_params().get('DryRun') + + def set_DryRun(self, DryRun): # String + self.add_query_param('DryRun', DryRun) def get_EncryptionContext(self): # String return self.get_query_params().get('EncryptionContext') diff --git a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/EncryptRequest.py b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/EncryptRequest.py index af07c0d99f..900e7a11ad 100644 --- a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/EncryptRequest.py +++ b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/EncryptRequest.py @@ -32,6 +32,11 @@ def __init__(self): if hasattr(self, "endpoint_regional"): setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + def get_DryRun(self): # String + return self.get_query_params().get('DryRun') + + def set_DryRun(self, DryRun): # String + self.add_query_param('DryRun', DryRun) def get_KeyId(self): # String return self.get_query_params().get('KeyId') diff --git a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/ExportDataKeyRequest.py b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/ExportDataKeyRequest.py index 8656c2aaff..195aa7080a 100644 --- a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/ExportDataKeyRequest.py +++ b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/ExportDataKeyRequest.py @@ -32,6 +32,11 @@ def __init__(self): if hasattr(self, "endpoint_regional"): setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + def get_DryRun(self): # String + return self.get_query_params().get('DryRun') + + def set_DryRun(self, DryRun): # String + self.add_query_param('DryRun', DryRun) def get_PublicKeyBlob(self): # String return self.get_query_params().get('PublicKeyBlob') diff --git a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GenerateAndExportDataKeyRequest.py b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GenerateAndExportDataKeyRequest.py index 84f4b7b9aa..47246de3cf 100644 --- a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GenerateAndExportDataKeyRequest.py +++ b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GenerateAndExportDataKeyRequest.py @@ -32,6 +32,11 @@ def __init__(self): if hasattr(self, "endpoint_regional"): setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + def get_DryRun(self): # String + return self.get_query_params().get('DryRun') + + def set_DryRun(self, DryRun): # String + self.add_query_param('DryRun', DryRun) def get_KeyId(self): # String return self.get_query_params().get('KeyId') diff --git a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GenerateDataKeyRequest.py b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GenerateDataKeyRequest.py index 729b2d93a2..cf7437d3c7 100644 --- a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GenerateDataKeyRequest.py +++ b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GenerateDataKeyRequest.py @@ -32,6 +32,11 @@ def __init__(self): if hasattr(self, "endpoint_regional"): setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + def get_DryRun(self): # String + return self.get_query_params().get('DryRun') + + def set_DryRun(self, DryRun): # String + self.add_query_param('DryRun', DryRun) def get_KeyId(self): # String return self.get_query_params().get('KeyId') diff --git a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GenerateDataKeyWithoutPlaintextRequest.py b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GenerateDataKeyWithoutPlaintextRequest.py index 2ca4f6ff76..4fdb48b84f 100644 --- a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GenerateDataKeyWithoutPlaintextRequest.py +++ b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GenerateDataKeyWithoutPlaintextRequest.py @@ -32,6 +32,11 @@ def __init__(self): if hasattr(self, "endpoint_regional"): setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + def get_DryRun(self): # String + return self.get_query_params().get('DryRun') + + def set_DryRun(self, DryRun): # String + self.add_query_param('DryRun', DryRun) def get_KeyId(self): # String return self.get_query_params().get('KeyId') diff --git a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GetPublicKeyRequest.py b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GetPublicKeyRequest.py index 0e1feaa6d4..8a2aeadd99 100644 --- a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GetPublicKeyRequest.py +++ b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GetPublicKeyRequest.py @@ -32,6 +32,11 @@ def __init__(self): if hasattr(self, "endpoint_regional"): setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + def get_DryRun(self): # String + return self.get_query_params().get('DryRun') + + def set_DryRun(self, DryRun): # String + self.add_query_param('DryRun', DryRun) def get_KeyVersionId(self): # String return self.get_query_params().get('KeyVersionId') diff --git a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GetSecretValueRequest.py b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GetSecretValueRequest.py index 8811ae10da..cff82513f6 100644 --- a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GetSecretValueRequest.py +++ b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GetSecretValueRequest.py @@ -32,6 +32,11 @@ def __init__(self): if hasattr(self, "endpoint_regional"): setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + def get_DryRun(self): # String + return self.get_query_params().get('DryRun') + + def set_DryRun(self, DryRun): # String + self.add_query_param('DryRun', DryRun) def get_VersionId(self): # String return self.get_query_params().get('VersionId') diff --git a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/ReEncryptRequest.py b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/ReEncryptRequest.py index 1858bb1a05..b0f3ed0283 100644 --- a/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/ReEncryptRequest.py +++ b/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/ReEncryptRequest.py @@ -37,6 +37,11 @@ def get_DestinationEncryptionContext(self): # String def set_DestinationEncryptionContext(self, DestinationEncryptionContext): # String self.add_query_param('DestinationEncryptionContext', DestinationEncryptionContext) + def get_DryRun(self): # String + return self.get_query_params().get('DryRun') + + def set_DryRun(self, DryRun): # String + self.add_query_param('DryRun', DryRun) def get_SourceKeyId(self): # String return self.get_query_params().get('SourceKeyId')