浏览代码

KMS SDK Auto Released By zhonghong.pzh,Version:1.53.93

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 6 年之前
父节点
当前提交
f8e16bb253

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2019-04-09 Version: 1.53.93
+1, Add APIs: TagResource, UntagResource, ListResourceTags.
+2, Remove the optional parameter 'STSToken'  and replace it with 'SecurityToken'.
+
 2019-04-09 Version: 1.53.92
 1, support service account management networkInterface function.
 

+ 1 - 2
services/kms/cancel_key_deletion.go

@@ -76,8 +76,7 @@ func (client *Client) CancelKeyDeletionWithCallback(request *CancelKeyDeletionRe
 // CancelKeyDeletionRequest is the request struct for api CancelKeyDeletion
 type CancelKeyDeletionRequest struct {
 	*requests.RpcRequest
-	KeyId    string `position:"Query" name:"KeyId"`
-	STSToken string `position:"Query" name:"STSToken"`
+	KeyId string `position:"Query" name:"KeyId"`
 }
 
 // CancelKeyDeletionResponse is the response struct for api CancelKeyDeletion

+ 0 - 1
services/kms/create_alias.go

@@ -78,7 +78,6 @@ type CreateAliasRequest struct {
 	*requests.RpcRequest
 	AliasName string `position:"Query" name:"AliasName"`
 	KeyId     string `position:"Query" name:"KeyId"`
-	STSToken  string `position:"Query" name:"STSToken"`
 }
 
 // CreateAliasResponse is the response struct for api CreateAlias

+ 0 - 1
services/kms/create_key.go

@@ -79,7 +79,6 @@ type CreateKeyRequest struct {
 	KeyUsage    string `position:"Query" name:"KeyUsage"`
 	Origin      string `position:"Query" name:"Origin"`
 	Description string `position:"Query" name:"Description"`
-	STSToken    string `position:"Query" name:"STSToken"`
 }
 
 // CreateKeyResponse is the response struct for api CreateKey

+ 0 - 1
services/kms/decrypt.go

@@ -77,7 +77,6 @@ func (client *Client) DecryptWithCallback(request *DecryptRequest, callback func
 type DecryptRequest struct {
 	*requests.RpcRequest
 	EncryptionContext string `position:"Query" name:"EncryptionContext"`
-	STSToken          string `position:"Query" name:"STSToken"`
 	CiphertextBlob    string `position:"Query" name:"CiphertextBlob"`
 }
 

+ 0 - 1
services/kms/delete_alias.go

@@ -77,7 +77,6 @@ func (client *Client) DeleteAliasWithCallback(request *DeleteAliasRequest, callb
 type DeleteAliasRequest struct {
 	*requests.RpcRequest
 	AliasName string `position:"Query" name:"AliasName"`
-	STSToken  string `position:"Query" name:"STSToken"`
 }
 
 // DeleteAliasResponse is the response struct for api DeleteAlias

+ 1 - 2
services/kms/delete_key_material.go

@@ -76,8 +76,7 @@ func (client *Client) DeleteKeyMaterialWithCallback(request *DeleteKeyMaterialRe
 // DeleteKeyMaterialRequest is the request struct for api DeleteKeyMaterial
 type DeleteKeyMaterialRequest struct {
 	*requests.RpcRequest
-	KeyId    string `position:"Query" name:"KeyId"`
-	STSToken string `position:"Query" name:"STSToken"`
+	KeyId string `position:"Query" name:"KeyId"`
 }
 
 // DeleteKeyMaterialResponse is the response struct for api DeleteKeyMaterial

+ 1 - 2
services/kms/describe_key.go

@@ -76,8 +76,7 @@ func (client *Client) DescribeKeyWithCallback(request *DescribeKeyRequest, callb
 // DescribeKeyRequest is the request struct for api DescribeKey
 type DescribeKeyRequest struct {
 	*requests.RpcRequest
-	KeyId    string `position:"Query" name:"KeyId"`
-	STSToken string `position:"Query" name:"STSToken"`
+	KeyId string `position:"Query" name:"KeyId"`
 }
 
 // DescribeKeyResponse is the response struct for api DescribeKey

+ 0 - 1
services/kms/describe_regions.go

@@ -76,7 +76,6 @@ func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsReques
 // DescribeRegionsRequest is the request struct for api DescribeRegions
 type DescribeRegionsRequest struct {
 	*requests.RpcRequest
-	STSToken string `position:"Query" name:"STSToken"`
 }
 
 // DescribeRegionsResponse is the response struct for api DescribeRegions

+ 1 - 2
services/kms/disable_key.go

@@ -76,8 +76,7 @@ func (client *Client) DisableKeyWithCallback(request *DisableKeyRequest, callbac
 // DisableKeyRequest is the request struct for api DisableKey
 type DisableKeyRequest struct {
 	*requests.RpcRequest
-	KeyId    string `position:"Query" name:"KeyId"`
-	STSToken string `position:"Query" name:"STSToken"`
+	KeyId string `position:"Query" name:"KeyId"`
 }
 
 // DisableKeyResponse is the response struct for api DisableKey

+ 1 - 2
services/kms/enable_key.go

@@ -76,8 +76,7 @@ func (client *Client) EnableKeyWithCallback(request *EnableKeyRequest, callback
 // EnableKeyRequest is the request struct for api EnableKey
 type EnableKeyRequest struct {
 	*requests.RpcRequest
-	KeyId    string `position:"Query" name:"KeyId"`
-	STSToken string `position:"Query" name:"STSToken"`
+	KeyId string `position:"Query" name:"KeyId"`
 }
 
 // EnableKeyResponse is the response struct for api EnableKey

+ 0 - 1
services/kms/encrypt.go

@@ -78,7 +78,6 @@ type EncryptRequest struct {
 	*requests.RpcRequest
 	EncryptionContext string `position:"Query" name:"EncryptionContext"`
 	KeyId             string `position:"Query" name:"KeyId"`
-	STSToken          string `position:"Query" name:"STSToken"`
 	Plaintext         string `position:"Query" name:"Plaintext"`
 }
 

+ 0 - 1
services/kms/generate_data_key.go

@@ -79,7 +79,6 @@ type GenerateDataKeyRequest struct {
 	EncryptionContext string           `position:"Query" name:"EncryptionContext"`
 	KeyId             string           `position:"Query" name:"KeyId"`
 	KeySpec           string           `position:"Query" name:"KeySpec"`
-	STSToken          string           `position:"Query" name:"STSToken"`
 	NumberOfBytes     requests.Integer `position:"Query" name:"NumberOfBytes"`
 }
 

+ 0 - 1
services/kms/get_parameters_for_import.go

@@ -77,7 +77,6 @@ func (client *Client) GetParametersForImportWithCallback(request *GetParametersF
 type GetParametersForImportRequest struct {
 	*requests.RpcRequest
 	KeyId             string `position:"Query" name:"KeyId"`
-	STSToken          string `position:"Query" name:"STSToken"`
 	WrappingAlgorithm string `position:"Query" name:"WrappingAlgorithm"`
 	WrappingKeySpec   string `position:"Query" name:"WrappingKeySpec"`
 }

+ 0 - 1
services/kms/import_key_material.go

@@ -80,7 +80,6 @@ type ImportKeyMaterialRequest struct {
 	EncryptedKeyMaterial  string           `position:"Query" name:"EncryptedKeyMaterial"`
 	KeyMaterialExpireUnix requests.Integer `position:"Query" name:"KeyMaterialExpireUnix"`
 	KeyId                 string           `position:"Query" name:"KeyId"`
-	STSToken              string           `position:"Query" name:"STSToken"`
 }
 
 // ImportKeyMaterialResponse is the response struct for api ImportKeyMaterial

+ 0 - 1
services/kms/list_aliases.go

@@ -77,7 +77,6 @@ func (client *Client) ListAliasesWithCallback(request *ListAliasesRequest, callb
 type ListAliasesRequest struct {
 	*requests.RpcRequest
 	PageSize   requests.Integer `position:"Query" name:"PageSize"`
-	STSToken   string           `position:"Query" name:"STSToken"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
 }
 

+ 0 - 1
services/kms/list_aliases_by_key_id.go

@@ -78,7 +78,6 @@ type ListAliasesByKeyIdRequest struct {
 	*requests.RpcRequest
 	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	KeyId      string           `position:"Query" name:"KeyId"`
-	STSToken   string           `position:"Query" name:"STSToken"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
 }
 

+ 0 - 1
services/kms/list_keys.go

@@ -77,7 +77,6 @@ func (client *Client) ListKeysWithCallback(request *ListKeysRequest, callback fu
 type ListKeysRequest struct {
 	*requests.RpcRequest
 	PageSize   requests.Integer `position:"Query" name:"PageSize"`
-	STSToken   string           `position:"Query" name:"STSToken"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
 }
 

+ 1 - 2
services/kms/list_resource_tags.go

@@ -76,8 +76,7 @@ func (client *Client) ListResourceTagsWithCallback(request *ListResourceTagsRequ
 // ListResourceTagsRequest is the request struct for api ListResourceTags
 type ListResourceTagsRequest struct {
 	*requests.RpcRequest
-	KeyId    string `position:"Query" name:"KeyId"`
-	STSToken string `position:"Query" name:"STSToken"`
+	KeyId string `position:"Query" name:"KeyId"`
 }
 
 // ListResourceTagsResponse is the response struct for api ListResourceTags

+ 0 - 1
services/kms/schedule_key_deletion.go

@@ -78,7 +78,6 @@ type ScheduleKeyDeletionRequest struct {
 	*requests.RpcRequest
 	PendingWindowInDays requests.Integer `position:"Query" name:"PendingWindowInDays"`
 	KeyId               string           `position:"Query" name:"KeyId"`
-	STSToken            string           `position:"Query" name:"STSToken"`
 }
 
 // ScheduleKeyDeletionResponse is the response struct for api ScheduleKeyDeletion

+ 2 - 3
services/kms/tag_resource.go

@@ -76,9 +76,8 @@ func (client *Client) TagResourceWithCallback(request *TagResourceRequest, callb
 // TagResourceRequest is the request struct for api TagResource
 type TagResourceRequest struct {
 	*requests.RpcRequest
-	KeyId    string `position:"Query" name:"KeyId"`
-	STSToken string `position:"Query" name:"STSToken"`
-	Tags     string `position:"Query" name:"Tags"`
+	KeyId string `position:"Query" name:"KeyId"`
+	Tags  string `position:"Query" name:"Tags"`
 }
 
 // TagResourceResponse is the response struct for api TagResource

+ 2 - 3
services/kms/untag_resource.go

@@ -76,9 +76,8 @@ func (client *Client) UntagResourceWithCallback(request *UntagResourceRequest, c
 // UntagResourceRequest is the request struct for api UntagResource
 type UntagResourceRequest struct {
 	*requests.RpcRequest
-	TagKeys  string `position:"Query" name:"TagKeys"`
-	KeyId    string `position:"Query" name:"KeyId"`
-	STSToken string `position:"Query" name:"STSToken"`
+	TagKeys string `position:"Query" name:"TagKeys"`
+	KeyId   string `position:"Query" name:"KeyId"`
 }
 
 // UntagResourceResponse is the response struct for api UntagResource

+ 0 - 1
services/kms/update_alias.go

@@ -78,7 +78,6 @@ type UpdateAliasRequest struct {
 	*requests.RpcRequest
 	AliasName string `position:"Query" name:"AliasName"`
 	KeyId     string `position:"Query" name:"KeyId"`
-	STSToken  string `position:"Query" name:"STSToken"`
 }
 
 // UpdateAliasResponse is the response struct for api UpdateAlias