Skip to content

Commit

Permalink
Support DryRun parameter OpenAPI.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Aug 13, 2024
1 parent fc13506 commit a369a48
Show file tree
Hide file tree
Showing 15 changed files with 69 additions and 1 deletion.
3 changes: 3 additions & 0 deletions aliyun-python-sdk-kms/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-python-sdk-kms/aliyunsdkkms/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.16.3'
__version__ = '2.16.4'
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit a369a48

Please sign in to comment.