kms

package
v0.0.0-...-bbc24d0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alias

type Alias struct {
	AliasArn  string `json:"AliasArn" xml:"AliasArn"`
	AliasName string `json:"AliasName" xml:"AliasName"`
	KeyId     string `json:"KeyId" xml:"KeyId"`
}

Alias is a nested struct in kms response

type AliasesInListAliases

type AliasesInListAliases struct {
	Alias []Alias `json:"Alias" xml:"Alias"`
}

AliasesInListAliases is a nested struct in kms response

type AliasesInListAliasesByKeyId

type AliasesInListAliasesByKeyId struct {
	Alias []Alias `json:"Alias" xml:"Alias"`
}

AliasesInListAliasesByKeyId is a nested struct in kms response

type CancelKeyDeletionRequest

type CancelKeyDeletionRequest struct {
	*requests.RpcRequest
	KeyId    string `position:"Query" name:"KeyId"`
	STSToken string `position:"Query" name:"STSToken"`
}

CancelKeyDeletionRequest is the request struct for api CancelKeyDeletion

func CreateCancelKeyDeletionRequest

func CreateCancelKeyDeletionRequest() (request *CancelKeyDeletionRequest)

CreateCancelKeyDeletionRequest creates a request to invoke CancelKeyDeletion API

type CancelKeyDeletionResponse

type CancelKeyDeletionResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

CancelKeyDeletionResponse is the response struct for api CancelKeyDeletion

func CreateCancelKeyDeletionResponse

func CreateCancelKeyDeletionResponse() (response *CancelKeyDeletionResponse)

CreateCancelKeyDeletionResponse creates a response to parse from CancelKeyDeletion response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://help.aliyun.com/document_detail/66217.html

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://help.aliyun.com/document_detail/66223.html

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://help.aliyun.com/document_detail/66222.html

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair attention: rsa key pair auth is only Japan regions available

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://help.aliyun.com/document_detail/66222.html

func (*Client) CancelKeyDeletion

func (client *Client) CancelKeyDeletion(request *CancelKeyDeletionRequest) (response *CancelKeyDeletionResponse, err error)

CancelKeyDeletion invokes the kms.CancelKeyDeletion API synchronously api document: https://help.aliyun.com/api/kms/cancelkeydeletion.html

func (*Client) CancelKeyDeletionWithCallback

func (client *Client) CancelKeyDeletionWithCallback(request *CancelKeyDeletionRequest, callback func(response *CancelKeyDeletionResponse, err error)) <-chan int

CancelKeyDeletionWithCallback invokes the kms.CancelKeyDeletion API asynchronously api document: https://help.aliyun.com/api/kms/cancelkeydeletion.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CancelKeyDeletionWithChan

func (client *Client) CancelKeyDeletionWithChan(request *CancelKeyDeletionRequest) (<-chan *CancelKeyDeletionResponse, <-chan error)

CancelKeyDeletionWithChan invokes the kms.CancelKeyDeletion API asynchronously api document: https://help.aliyun.com/api/kms/cancelkeydeletion.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateAlias

func (client *Client) CreateAlias(request *CreateAliasRequest) (response *CreateAliasResponse, err error)

CreateAlias invokes the kms.CreateAlias API synchronously api document: https://help.aliyun.com/api/kms/createalias.html

func (*Client) CreateAliasWithCallback

func (client *Client) CreateAliasWithCallback(request *CreateAliasRequest, callback func(response *CreateAliasResponse, err error)) <-chan int

CreateAliasWithCallback invokes the kms.CreateAlias API asynchronously api document: https://help.aliyun.com/api/kms/createalias.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateAliasWithChan

func (client *Client) CreateAliasWithChan(request *CreateAliasRequest) (<-chan *CreateAliasResponse, <-chan error)

CreateAliasWithChan invokes the kms.CreateAlias API asynchronously api document: https://help.aliyun.com/api/kms/createalias.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateKey

func (client *Client) CreateKey(request *CreateKeyRequest) (response *CreateKeyResponse, err error)

CreateKey invokes the kms.CreateKey API synchronously api document: https://help.aliyun.com/api/kms/createkey.html

func (*Client) CreateKeyWithCallback

func (client *Client) CreateKeyWithCallback(request *CreateKeyRequest, callback func(response *CreateKeyResponse, err error)) <-chan int

CreateKeyWithCallback invokes the kms.CreateKey API asynchronously api document: https://help.aliyun.com/api/kms/createkey.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateKeyWithChan

func (client *Client) CreateKeyWithChan(request *CreateKeyRequest) (<-chan *CreateKeyResponse, <-chan error)

CreateKeyWithChan invokes the kms.CreateKey API asynchronously api document: https://help.aliyun.com/api/kms/createkey.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) Decrypt

func (client *Client) Decrypt(request *DecryptRequest) (response *DecryptResponse, err error)

Decrypt invokes the kms.Decrypt API synchronously api document: https://help.aliyun.com/api/kms/decrypt.html

func (*Client) DecryptWithCallback

func (client *Client) DecryptWithCallback(request *DecryptRequest, callback func(response *DecryptResponse, err error)) <-chan int

DecryptWithCallback invokes the kms.Decrypt API asynchronously api document: https://help.aliyun.com/api/kms/decrypt.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DecryptWithChan

func (client *Client) DecryptWithChan(request *DecryptRequest) (<-chan *DecryptResponse, <-chan error)

DecryptWithChan invokes the kms.Decrypt API asynchronously api document: https://help.aliyun.com/api/kms/decrypt.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteAlias

func (client *Client) DeleteAlias(request *DeleteAliasRequest) (response *DeleteAliasResponse, err error)

DeleteAlias invokes the kms.DeleteAlias API synchronously api document: https://help.aliyun.com/api/kms/deletealias.html

func (*Client) DeleteAliasWithCallback

func (client *Client) DeleteAliasWithCallback(request *DeleteAliasRequest, callback func(response *DeleteAliasResponse, err error)) <-chan int

DeleteAliasWithCallback invokes the kms.DeleteAlias API asynchronously api document: https://help.aliyun.com/api/kms/deletealias.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteAliasWithChan

func (client *Client) DeleteAliasWithChan(request *DeleteAliasRequest) (<-chan *DeleteAliasResponse, <-chan error)

DeleteAliasWithChan invokes the kms.DeleteAlias API asynchronously api document: https://help.aliyun.com/api/kms/deletealias.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteKeyMaterial

func (client *Client) DeleteKeyMaterial(request *DeleteKeyMaterialRequest) (response *DeleteKeyMaterialResponse, err error)

DeleteKeyMaterial invokes the kms.DeleteKeyMaterial API synchronously api document: https://help.aliyun.com/api/kms/deletekeymaterial.html

func (*Client) DeleteKeyMaterialWithCallback

func (client *Client) DeleteKeyMaterialWithCallback(request *DeleteKeyMaterialRequest, callback func(response *DeleteKeyMaterialResponse, err error)) <-chan int

DeleteKeyMaterialWithCallback invokes the kms.DeleteKeyMaterial API asynchronously api document: https://help.aliyun.com/api/kms/deletekeymaterial.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteKeyMaterialWithChan

func (client *Client) DeleteKeyMaterialWithChan(request *DeleteKeyMaterialRequest) (<-chan *DeleteKeyMaterialResponse, <-chan error)

DeleteKeyMaterialWithChan invokes the kms.DeleteKeyMaterial API asynchronously api document: https://help.aliyun.com/api/kms/deletekeymaterial.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeKey

func (client *Client) DescribeKey(request *DescribeKeyRequest) (response *DescribeKeyResponse, err error)

DescribeKey invokes the kms.DescribeKey API synchronously api document: https://help.aliyun.com/api/kms/describekey.html

func (*Client) DescribeKeyWithCallback

func (client *Client) DescribeKeyWithCallback(request *DescribeKeyRequest, callback func(response *DescribeKeyResponse, err error)) <-chan int

DescribeKeyWithCallback invokes the kms.DescribeKey API asynchronously api document: https://help.aliyun.com/api/kms/describekey.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeKeyWithChan

func (client *Client) DescribeKeyWithChan(request *DescribeKeyRequest) (<-chan *DescribeKeyResponse, <-chan error)

DescribeKeyWithChan invokes the kms.DescribeKey API asynchronously api document: https://help.aliyun.com/api/kms/describekey.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeRegions

func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions invokes the kms.DescribeRegions API synchronously api document: https://help.aliyun.com/api/kms/describeregions.html

func (*Client) DescribeRegionsWithCallback

func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int

DescribeRegionsWithCallback invokes the kms.DescribeRegions API asynchronously api document: https://help.aliyun.com/api/kms/describeregions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeRegionsWithChan

func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)

DescribeRegionsWithChan invokes the kms.DescribeRegions API asynchronously api document: https://help.aliyun.com/api/kms/describeregions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DisableKey

func (client *Client) DisableKey(request *DisableKeyRequest) (response *DisableKeyResponse, err error)

DisableKey invokes the kms.DisableKey API synchronously api document: https://help.aliyun.com/api/kms/disablekey.html

func (*Client) DisableKeyWithCallback

func (client *Client) DisableKeyWithCallback(request *DisableKeyRequest, callback func(response *DisableKeyResponse, err error)) <-chan int

DisableKeyWithCallback invokes the kms.DisableKey API asynchronously api document: https://help.aliyun.com/api/kms/disablekey.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DisableKeyWithChan

func (client *Client) DisableKeyWithChan(request *DisableKeyRequest) (<-chan *DisableKeyResponse, <-chan error)

DisableKeyWithChan invokes the kms.DisableKey API asynchronously api document: https://help.aliyun.com/api/kms/disablekey.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) EnableKey

func (client *Client) EnableKey(request *EnableKeyRequest) (response *EnableKeyResponse, err error)

EnableKey invokes the kms.EnableKey API synchronously api document: https://help.aliyun.com/api/kms/enablekey.html

func (*Client) EnableKeyWithCallback

func (client *Client) EnableKeyWithCallback(request *EnableKeyRequest, callback func(response *EnableKeyResponse, err error)) <-chan int

EnableKeyWithCallback invokes the kms.EnableKey API asynchronously api document: https://help.aliyun.com/api/kms/enablekey.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) EnableKeyWithChan

func (client *Client) EnableKeyWithChan(request *EnableKeyRequest) (<-chan *EnableKeyResponse, <-chan error)

EnableKeyWithChan invokes the kms.EnableKey API asynchronously api document: https://help.aliyun.com/api/kms/enablekey.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) Encrypt

func (client *Client) Encrypt(request *EncryptRequest) (response *EncryptResponse, err error)

Encrypt invokes the kms.Encrypt API synchronously api document: https://help.aliyun.com/api/kms/encrypt.html

func (*Client) EncryptWithCallback

func (client *Client) EncryptWithCallback(request *EncryptRequest, callback func(response *EncryptResponse, err error)) <-chan int

EncryptWithCallback invokes the kms.Encrypt API asynchronously api document: https://help.aliyun.com/api/kms/encrypt.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) EncryptWithChan

func (client *Client) EncryptWithChan(request *EncryptRequest) (<-chan *EncryptResponse, <-chan error)

EncryptWithChan invokes the kms.Encrypt API asynchronously api document: https://help.aliyun.com/api/kms/encrypt.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GenerateDataKey

func (client *Client) GenerateDataKey(request *GenerateDataKeyRequest) (response *GenerateDataKeyResponse, err error)

GenerateDataKey invokes the kms.GenerateDataKey API synchronously api document: https://help.aliyun.com/api/kms/generatedatakey.html

func (*Client) GenerateDataKeyWithCallback

func (client *Client) GenerateDataKeyWithCallback(request *GenerateDataKeyRequest, callback func(response *GenerateDataKeyResponse, err error)) <-chan int

GenerateDataKeyWithCallback invokes the kms.GenerateDataKey API asynchronously api document: https://help.aliyun.com/api/kms/generatedatakey.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GenerateDataKeyWithChan

func (client *Client) GenerateDataKeyWithChan(request *GenerateDataKeyRequest) (<-chan *GenerateDataKeyResponse, <-chan error)

GenerateDataKeyWithChan invokes the kms.GenerateDataKey API asynchronously api document: https://help.aliyun.com/api/kms/generatedatakey.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetParametersForImport

func (client *Client) GetParametersForImport(request *GetParametersForImportRequest) (response *GetParametersForImportResponse, err error)

GetParametersForImport invokes the kms.GetParametersForImport API synchronously api document: https://help.aliyun.com/api/kms/getparametersforimport.html

func (*Client) GetParametersForImportWithCallback

func (client *Client) GetParametersForImportWithCallback(request *GetParametersForImportRequest, callback func(response *GetParametersForImportResponse, err error)) <-chan int

GetParametersForImportWithCallback invokes the kms.GetParametersForImport API asynchronously api document: https://help.aliyun.com/api/kms/getparametersforimport.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetParametersForImportWithChan

func (client *Client) GetParametersForImportWithChan(request *GetParametersForImportRequest) (<-chan *GetParametersForImportResponse, <-chan error)

GetParametersForImportWithChan invokes the kms.GetParametersForImport API asynchronously api document: https://help.aliyun.com/api/kms/getparametersforimport.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ImportKeyMaterial

func (client *Client) ImportKeyMaterial(request *ImportKeyMaterialRequest) (response *ImportKeyMaterialResponse, err error)

ImportKeyMaterial invokes the kms.ImportKeyMaterial API synchronously api document: https://help.aliyun.com/api/kms/importkeymaterial.html

func (*Client) ImportKeyMaterialWithCallback

func (client *Client) ImportKeyMaterialWithCallback(request *ImportKeyMaterialRequest, callback func(response *ImportKeyMaterialResponse, err error)) <-chan int

ImportKeyMaterialWithCallback invokes the kms.ImportKeyMaterial API asynchronously api document: https://help.aliyun.com/api/kms/importkeymaterial.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ImportKeyMaterialWithChan

func (client *Client) ImportKeyMaterialWithChan(request *ImportKeyMaterialRequest) (<-chan *ImportKeyMaterialResponse, <-chan error)

ImportKeyMaterialWithChan invokes the kms.ImportKeyMaterial API asynchronously api document: https://help.aliyun.com/api/kms/importkeymaterial.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListAliases

func (client *Client) ListAliases(request *ListAliasesRequest) (response *ListAliasesResponse, err error)

ListAliases invokes the kms.ListAliases API synchronously api document: https://help.aliyun.com/api/kms/listaliases.html

func (*Client) ListAliasesByKeyId

func (client *Client) ListAliasesByKeyId(request *ListAliasesByKeyIdRequest) (response *ListAliasesByKeyIdResponse, err error)

ListAliasesByKeyId invokes the kms.ListAliasesByKeyId API synchronously api document: https://help.aliyun.com/api/kms/listaliasesbykeyid.html

func (*Client) ListAliasesByKeyIdWithCallback

func (client *Client) ListAliasesByKeyIdWithCallback(request *ListAliasesByKeyIdRequest, callback func(response *ListAliasesByKeyIdResponse, err error)) <-chan int

ListAliasesByKeyIdWithCallback invokes the kms.ListAliasesByKeyId API asynchronously api document: https://help.aliyun.com/api/kms/listaliasesbykeyid.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListAliasesByKeyIdWithChan

func (client *Client) ListAliasesByKeyIdWithChan(request *ListAliasesByKeyIdRequest) (<-chan *ListAliasesByKeyIdResponse, <-chan error)

ListAliasesByKeyIdWithChan invokes the kms.ListAliasesByKeyId API asynchronously api document: https://help.aliyun.com/api/kms/listaliasesbykeyid.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListAliasesWithCallback

func (client *Client) ListAliasesWithCallback(request *ListAliasesRequest, callback func(response *ListAliasesResponse, err error)) <-chan int

ListAliasesWithCallback invokes the kms.ListAliases API asynchronously api document: https://help.aliyun.com/api/kms/listaliases.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListAliasesWithChan

func (client *Client) ListAliasesWithChan(request *ListAliasesRequest) (<-chan *ListAliasesResponse, <-chan error)

ListAliasesWithChan invokes the kms.ListAliases API asynchronously api document: https://help.aliyun.com/api/kms/listaliases.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListKeys

func (client *Client) ListKeys(request *ListKeysRequest) (response *ListKeysResponse, err error)

ListKeys invokes the kms.ListKeys API synchronously api document: https://help.aliyun.com/api/kms/listkeys.html

func (*Client) ListKeysWithCallback

func (client *Client) ListKeysWithCallback(request *ListKeysRequest, callback func(response *ListKeysResponse, err error)) <-chan int

ListKeysWithCallback invokes the kms.ListKeys API asynchronously api document: https://help.aliyun.com/api/kms/listkeys.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListKeysWithChan

func (client *Client) ListKeysWithChan(request *ListKeysRequest) (<-chan *ListKeysResponse, <-chan error)

ListKeysWithChan invokes the kms.ListKeys API asynchronously api document: https://help.aliyun.com/api/kms/listkeys.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListResourceTags

func (client *Client) ListResourceTags(request *ListResourceTagsRequest) (response *ListResourceTagsResponse, err error)

ListResourceTags invokes the kms.ListResourceTags API synchronously api document: https://help.aliyun.com/api/kms/listresourcetags.html

func (*Client) ListResourceTagsWithCallback

func (client *Client) ListResourceTagsWithCallback(request *ListResourceTagsRequest, callback func(response *ListResourceTagsResponse, err error)) <-chan int

ListResourceTagsWithCallback invokes the kms.ListResourceTags API asynchronously api document: https://help.aliyun.com/api/kms/listresourcetags.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListResourceTagsWithChan

func (client *Client) ListResourceTagsWithChan(request *ListResourceTagsRequest) (<-chan *ListResourceTagsResponse, <-chan error)

ListResourceTagsWithChan invokes the kms.ListResourceTags API asynchronously api document: https://help.aliyun.com/api/kms/listresourcetags.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ScheduleKeyDeletion

func (client *Client) ScheduleKeyDeletion(request *ScheduleKeyDeletionRequest) (response *ScheduleKeyDeletionResponse, err error)

ScheduleKeyDeletion invokes the kms.ScheduleKeyDeletion API synchronously api document: https://help.aliyun.com/api/kms/schedulekeydeletion.html

func (*Client) ScheduleKeyDeletionWithCallback

func (client *Client) ScheduleKeyDeletionWithCallback(request *ScheduleKeyDeletionRequest, callback func(response *ScheduleKeyDeletionResponse, err error)) <-chan int

ScheduleKeyDeletionWithCallback invokes the kms.ScheduleKeyDeletion API asynchronously api document: https://help.aliyun.com/api/kms/schedulekeydeletion.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ScheduleKeyDeletionWithChan

func (client *Client) ScheduleKeyDeletionWithChan(request *ScheduleKeyDeletionRequest) (<-chan *ScheduleKeyDeletionResponse, <-chan error)

ScheduleKeyDeletionWithChan invokes the kms.ScheduleKeyDeletion API asynchronously api document: https://help.aliyun.com/api/kms/schedulekeydeletion.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) TagResource

func (client *Client) TagResource(request *TagResourceRequest) (response *TagResourceResponse, err error)

TagResource invokes the kms.TagResource API synchronously api document: https://help.aliyun.com/api/kms/tagresource.html

func (*Client) TagResourceWithCallback

func (client *Client) TagResourceWithCallback(request *TagResourceRequest, callback func(response *TagResourceResponse, err error)) <-chan int

TagResourceWithCallback invokes the kms.TagResource API asynchronously api document: https://help.aliyun.com/api/kms/tagresource.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) TagResourceWithChan

func (client *Client) TagResourceWithChan(request *TagResourceRequest) (<-chan *TagResourceResponse, <-chan error)

TagResourceWithChan invokes the kms.TagResource API asynchronously api document: https://help.aliyun.com/api/kms/tagresource.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UntagResource

func (client *Client) UntagResource(request *UntagResourceRequest) (response *UntagResourceResponse, err error)

UntagResource invokes the kms.UntagResource API synchronously api document: https://help.aliyun.com/api/kms/untagresource.html

func (*Client) UntagResourceWithCallback

func (client *Client) UntagResourceWithCallback(request *UntagResourceRequest, callback func(response *UntagResourceResponse, err error)) <-chan int

UntagResourceWithCallback invokes the kms.UntagResource API asynchronously api document: https://help.aliyun.com/api/kms/untagresource.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UntagResourceWithChan

func (client *Client) UntagResourceWithChan(request *UntagResourceRequest) (<-chan *UntagResourceResponse, <-chan error)

UntagResourceWithChan invokes the kms.UntagResource API asynchronously api document: https://help.aliyun.com/api/kms/untagresource.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UpdateAlias

func (client *Client) UpdateAlias(request *UpdateAliasRequest) (response *UpdateAliasResponse, err error)

UpdateAlias invokes the kms.UpdateAlias API synchronously api document: https://help.aliyun.com/api/kms/updatealias.html

func (*Client) UpdateAliasWithCallback

func (client *Client) UpdateAliasWithCallback(request *UpdateAliasRequest, callback func(response *UpdateAliasResponse, err error)) <-chan int

UpdateAliasWithCallback invokes the kms.UpdateAlias API asynchronously api document: https://help.aliyun.com/api/kms/updatealias.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UpdateAliasWithChan

func (client *Client) UpdateAliasWithChan(request *UpdateAliasRequest) (<-chan *UpdateAliasResponse, <-chan error)

UpdateAliasWithChan invokes the kms.UpdateAlias API asynchronously api document: https://help.aliyun.com/api/kms/updatealias.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

type CreateAliasRequest

type CreateAliasRequest struct {
	*requests.RpcRequest
	AliasName string `position:"Query" name:"AliasName"`
	KeyId     string `position:"Query" name:"KeyId"`
	STSToken  string `position:"Query" name:"STSToken"`
}

CreateAliasRequest is the request struct for api CreateAlias

func CreateCreateAliasRequest

func CreateCreateAliasRequest() (request *CreateAliasRequest)

CreateCreateAliasRequest creates a request to invoke CreateAlias API

type CreateAliasResponse

type CreateAliasResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

CreateAliasResponse is the response struct for api CreateAlias

func CreateCreateAliasResponse

func CreateCreateAliasResponse() (response *CreateAliasResponse)

CreateCreateAliasResponse creates a response to parse from CreateAlias response

type CreateKeyRequest

type CreateKeyRequest struct {
	*requests.RpcRequest
	KeyUsage    string `position:"Query" name:"KeyUsage"`
	Origin      string `position:"Query" name:"Origin"`
	Description string `position:"Query" name:"Description"`
	STSToken    string `position:"Query" name:"STSToken"`
}

CreateKeyRequest is the request struct for api CreateKey

func CreateCreateKeyRequest

func CreateCreateKeyRequest() (request *CreateKeyRequest)

CreateCreateKeyRequest creates a request to invoke CreateKey API

type CreateKeyResponse

type CreateKeyResponse struct {
	*responses.BaseResponse
	RequestId   string      `json:"RequestId" xml:"RequestId"`
	KeyMetadata KeyMetadata `json:"KeyMetadata" xml:"KeyMetadata"`
}

CreateKeyResponse is the response struct for api CreateKey

func CreateCreateKeyResponse

func CreateCreateKeyResponse() (response *CreateKeyResponse)

CreateCreateKeyResponse creates a response to parse from CreateKey response

type DecryptRequest

type DecryptRequest struct {
	*requests.RpcRequest
	EncryptionContext string `position:"Query" name:"EncryptionContext"`
	STSToken          string `position:"Query" name:"STSToken"`
	CiphertextBlob    string `position:"Query" name:"CiphertextBlob"`
}

DecryptRequest is the request struct for api Decrypt

func CreateDecryptRequest

func CreateDecryptRequest() (request *DecryptRequest)

CreateDecryptRequest creates a request to invoke Decrypt API

type DecryptResponse

type DecryptResponse struct {
	*responses.BaseResponse
	Plaintext string `json:"Plaintext" xml:"Plaintext"`
	KeyId     string `json:"KeyId" xml:"KeyId"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DecryptResponse is the response struct for api Decrypt

func CreateDecryptResponse

func CreateDecryptResponse() (response *DecryptResponse)

CreateDecryptResponse creates a response to parse from Decrypt response

type DeleteAliasRequest

type DeleteAliasRequest struct {
	*requests.RpcRequest
	AliasName string `position:"Query" name:"AliasName"`
	STSToken  string `position:"Query" name:"STSToken"`
}

DeleteAliasRequest is the request struct for api DeleteAlias

func CreateDeleteAliasRequest

func CreateDeleteAliasRequest() (request *DeleteAliasRequest)

CreateDeleteAliasRequest creates a request to invoke DeleteAlias API

type DeleteAliasResponse

type DeleteAliasResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteAliasResponse is the response struct for api DeleteAlias

func CreateDeleteAliasResponse

func CreateDeleteAliasResponse() (response *DeleteAliasResponse)

CreateDeleteAliasResponse creates a response to parse from DeleteAlias response

type DeleteKeyMaterialRequest

type DeleteKeyMaterialRequest struct {
	*requests.RpcRequest
	KeyId    string `position:"Query" name:"KeyId"`
	STSToken string `position:"Query" name:"STSToken"`
}

DeleteKeyMaterialRequest is the request struct for api DeleteKeyMaterial

func CreateDeleteKeyMaterialRequest

func CreateDeleteKeyMaterialRequest() (request *DeleteKeyMaterialRequest)

CreateDeleteKeyMaterialRequest creates a request to invoke DeleteKeyMaterial API

type DeleteKeyMaterialResponse

type DeleteKeyMaterialResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteKeyMaterialResponse is the response struct for api DeleteKeyMaterial

func CreateDeleteKeyMaterialResponse

func CreateDeleteKeyMaterialResponse() (response *DeleteKeyMaterialResponse)

CreateDeleteKeyMaterialResponse creates a response to parse from DeleteKeyMaterial response

type DescribeKeyRequest

type DescribeKeyRequest struct {
	*requests.RpcRequest
	KeyId    string `position:"Query" name:"KeyId"`
	STSToken string `position:"Query" name:"STSToken"`
}

DescribeKeyRequest is the request struct for api DescribeKey

func CreateDescribeKeyRequest

func CreateDescribeKeyRequest() (request *DescribeKeyRequest)

CreateDescribeKeyRequest creates a request to invoke DescribeKey API

type DescribeKeyResponse

type DescribeKeyResponse struct {
	*responses.BaseResponse
	RequestId   string      `json:"RequestId" xml:"RequestId"`
	KeyMetadata KeyMetadata `json:"KeyMetadata" xml:"KeyMetadata"`
}

DescribeKeyResponse is the response struct for api DescribeKey

func CreateDescribeKeyResponse

func CreateDescribeKeyResponse() (response *DescribeKeyResponse)

CreateDescribeKeyResponse creates a response to parse from DescribeKey response

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	*requests.RpcRequest
	STSToken string `position:"Query" name:"STSToken"`
}

DescribeRegionsRequest is the request struct for api DescribeRegions

func CreateDescribeRegionsRequest

func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest)

CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	*responses.BaseResponse
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Regions   Regions `json:"Regions" xml:"Regions"`
}

DescribeRegionsResponse is the response struct for api DescribeRegions

func CreateDescribeRegionsResponse

func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse)

CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response

type DisableKeyRequest

type DisableKeyRequest struct {
	*requests.RpcRequest
	KeyId    string `position:"Query" name:"KeyId"`
	STSToken string `position:"Query" name:"STSToken"`
}

DisableKeyRequest is the request struct for api DisableKey

func CreateDisableKeyRequest

func CreateDisableKeyRequest() (request *DisableKeyRequest)

CreateDisableKeyRequest creates a request to invoke DisableKey API

type DisableKeyResponse

type DisableKeyResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DisableKeyResponse is the response struct for api DisableKey

func CreateDisableKeyResponse

func CreateDisableKeyResponse() (response *DisableKeyResponse)

CreateDisableKeyResponse creates a response to parse from DisableKey response

type EnableKeyRequest

type EnableKeyRequest struct {
	*requests.RpcRequest
	KeyId    string `position:"Query" name:"KeyId"`
	STSToken string `position:"Query" name:"STSToken"`
}

EnableKeyRequest is the request struct for api EnableKey

func CreateEnableKeyRequest

func CreateEnableKeyRequest() (request *EnableKeyRequest)

CreateEnableKeyRequest creates a request to invoke EnableKey API

type EnableKeyResponse

type EnableKeyResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

EnableKeyResponse is the response struct for api EnableKey

func CreateEnableKeyResponse

func CreateEnableKeyResponse() (response *EnableKeyResponse)

CreateEnableKeyResponse creates a response to parse from EnableKey response

type EncryptRequest

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"`
}

EncryptRequest is the request struct for api Encrypt

func CreateEncryptRequest

func CreateEncryptRequest() (request *EncryptRequest)

CreateEncryptRequest creates a request to invoke Encrypt API

type EncryptResponse

type EncryptResponse struct {
	*responses.BaseResponse
	CiphertextBlob string `json:"CiphertextBlob" xml:"CiphertextBlob"`
	KeyId          string `json:"KeyId" xml:"KeyId"`
	RequestId      string `json:"RequestId" xml:"RequestId"`
}

EncryptResponse is the response struct for api Encrypt

func CreateEncryptResponse

func CreateEncryptResponse() (response *EncryptResponse)

CreateEncryptResponse creates a response to parse from Encrypt response

type GenerateDataKeyRequest

type GenerateDataKeyRequest struct {
	*requests.RpcRequest
	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"`
}

GenerateDataKeyRequest is the request struct for api GenerateDataKey

func CreateGenerateDataKeyRequest

func CreateGenerateDataKeyRequest() (request *GenerateDataKeyRequest)

CreateGenerateDataKeyRequest creates a request to invoke GenerateDataKey API

type GenerateDataKeyResponse

type GenerateDataKeyResponse struct {
	*responses.BaseResponse
	CiphertextBlob string `json:"CiphertextBlob" xml:"CiphertextBlob"`
	KeyId          string `json:"KeyId" xml:"KeyId"`
	Plaintext      string `json:"Plaintext" xml:"Plaintext"`
	RequestId      string `json:"RequestId" xml:"RequestId"`
}

GenerateDataKeyResponse is the response struct for api GenerateDataKey

func CreateGenerateDataKeyResponse

func CreateGenerateDataKeyResponse() (response *GenerateDataKeyResponse)

CreateGenerateDataKeyResponse creates a response to parse from GenerateDataKey response

type GetParametersForImportRequest

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"`
}

GetParametersForImportRequest is the request struct for api GetParametersForImport

func CreateGetParametersForImportRequest

func CreateGetParametersForImportRequest() (request *GetParametersForImportRequest)

CreateGetParametersForImportRequest creates a request to invoke GetParametersForImport API

type GetParametersForImportResponse

type GetParametersForImportResponse struct {
	*responses.BaseResponse
	KeyId           string `json:"KeyId" xml:"KeyId"`
	RequestId       string `json:"RequestId" xml:"RequestId"`
	ImportToken     string `json:"ImportToken" xml:"ImportToken"`
	PublicKey       string `json:"PublicKey" xml:"PublicKey"`
	TokenExpireTime string `json:"TokenExpireTime" xml:"TokenExpireTime"`
}

GetParametersForImportResponse is the response struct for api GetParametersForImport

func CreateGetParametersForImportResponse

func CreateGetParametersForImportResponse() (response *GetParametersForImportResponse)

CreateGetParametersForImportResponse creates a response to parse from GetParametersForImport response

type ImportKeyMaterialRequest

type ImportKeyMaterialRequest struct {
	*requests.RpcRequest
	ImportToken           string           `position:"Query" name:"ImportToken"`
	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"`
}

ImportKeyMaterialRequest is the request struct for api ImportKeyMaterial

func CreateImportKeyMaterialRequest

func CreateImportKeyMaterialRequest() (request *ImportKeyMaterialRequest)

CreateImportKeyMaterialRequest creates a request to invoke ImportKeyMaterial API

type ImportKeyMaterialResponse

type ImportKeyMaterialResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

ImportKeyMaterialResponse is the response struct for api ImportKeyMaterial

func CreateImportKeyMaterialResponse

func CreateImportKeyMaterialResponse() (response *ImportKeyMaterialResponse)

CreateImportKeyMaterialResponse creates a response to parse from ImportKeyMaterial response

type Key

type Key struct {
	KeyId  string `json:"KeyId" xml:"KeyId"`
	KeyArn string `json:"KeyArn" xml:"KeyArn"`
}

Key is a nested struct in kms response

type KeyMetadata

type KeyMetadata struct {
	Arn                string `json:"Arn" xml:"Arn"`
	KeyState           string `json:"KeyState" xml:"KeyState"`
	CreationDate       string `json:"CreationDate" xml:"CreationDate"`
	KeyUsage           string `json:"KeyUsage" xml:"KeyUsage"`
	DeleteDate         string `json:"DeleteDate" xml:"DeleteDate"`
	Creator            string `json:"Creator" xml:"Creator"`
	Origin             string `json:"Origin" xml:"Origin"`
	Description        string `json:"Description" xml:"Description"`
	KeyId              string `json:"KeyId" xml:"KeyId"`
	MaterialExpireTime string `json:"MaterialExpireTime" xml:"MaterialExpireTime"`
}

KeyMetadata is a nested struct in kms response

type Keys

type Keys struct {
	Key []Key `json:"Key" xml:"Key"`
}

Keys is a nested struct in kms response

type ListAliasesByKeyIdRequest

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"`
}

ListAliasesByKeyIdRequest is the request struct for api ListAliasesByKeyId

func CreateListAliasesByKeyIdRequest

func CreateListAliasesByKeyIdRequest() (request *ListAliasesByKeyIdRequest)

CreateListAliasesByKeyIdRequest creates a request to invoke ListAliasesByKeyId API

type ListAliasesByKeyIdResponse

type ListAliasesByKeyIdResponse struct {
	*responses.BaseResponse
	TotalCount int                         `json:"TotalCount" xml:"TotalCount"`
	PageNumber int                         `json:"PageNumber" xml:"PageNumber"`
	PageSize   int                         `json:"PageSize" xml:"PageSize"`
	RequestId  string                      `json:"RequestId" xml:"RequestId"`
	Aliases    AliasesInListAliasesByKeyId `json:"Aliases" xml:"Aliases"`
}

ListAliasesByKeyIdResponse is the response struct for api ListAliasesByKeyId

func CreateListAliasesByKeyIdResponse

func CreateListAliasesByKeyIdResponse() (response *ListAliasesByKeyIdResponse)

CreateListAliasesByKeyIdResponse creates a response to parse from ListAliasesByKeyId response

type ListAliasesRequest

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"`
}

ListAliasesRequest is the request struct for api ListAliases

func CreateListAliasesRequest

func CreateListAliasesRequest() (request *ListAliasesRequest)

CreateListAliasesRequest creates a request to invoke ListAliases API

type ListAliasesResponse

type ListAliasesResponse struct {
	*responses.BaseResponse
	TotalCount int                  `json:"TotalCount" xml:"TotalCount"`
	PageNumber int                  `json:"PageNumber" xml:"PageNumber"`
	PageSize   int                  `json:"PageSize" xml:"PageSize"`
	RequestId  string               `json:"RequestId" xml:"RequestId"`
	Aliases    AliasesInListAliases `json:"Aliases" xml:"Aliases"`
}

ListAliasesResponse is the response struct for api ListAliases

func CreateListAliasesResponse

func CreateListAliasesResponse() (response *ListAliasesResponse)

CreateListAliasesResponse creates a response to parse from ListAliases response

type ListKeysRequest

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"`
}

ListKeysRequest is the request struct for api ListKeys

func CreateListKeysRequest

func CreateListKeysRequest() (request *ListKeysRequest)

CreateListKeysRequest creates a request to invoke ListKeys API

type ListKeysResponse

type ListKeysResponse struct {
	*responses.BaseResponse
	TotalCount int    `json:"TotalCount" xml:"TotalCount"`
	PageNumber int    `json:"PageNumber" xml:"PageNumber"`
	PageSize   int    `json:"PageSize" xml:"PageSize"`
	RequestId  string `json:"RequestId" xml:"RequestId"`
	Keys       Keys   `json:"Keys" xml:"Keys"`
}

ListKeysResponse is the response struct for api ListKeys

func CreateListKeysResponse

func CreateListKeysResponse() (response *ListKeysResponse)

CreateListKeysResponse creates a response to parse from ListKeys response

type ListResourceTagsRequest

type ListResourceTagsRequest struct {
	*requests.RpcRequest
	KeyId    string `position:"Query" name:"KeyId"`
	STSToken string `position:"Query" name:"STSToken"`
}

ListResourceTagsRequest is the request struct for api ListResourceTags

func CreateListResourceTagsRequest

func CreateListResourceTagsRequest() (request *ListResourceTagsRequest)

CreateListResourceTagsRequest creates a request to invoke ListResourceTags API

type ListResourceTagsResponse

type ListResourceTagsResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Tags      Tags   `json:"Tags" xml:"Tags"`
}

ListResourceTagsResponse is the response struct for api ListResourceTags

func CreateListResourceTagsResponse

func CreateListResourceTagsResponse() (response *ListResourceTagsResponse)

CreateListResourceTagsResponse creates a response to parse from ListResourceTags response

type Region

type Region struct {
	RegionId string `json:"RegionId" xml:"RegionId"`
}

Region is a nested struct in kms response

type Regions

type Regions struct {
	Region []Region `json:"Region" xml:"Region"`
}

Regions is a nested struct in kms response

type ScheduleKeyDeletionRequest

type ScheduleKeyDeletionRequest struct {
	*requests.RpcRequest
	PendingWindowInDays requests.Integer `position:"Query" name:"PendingWindowInDays"`
	KeyId               string           `position:"Query" name:"KeyId"`
	STSToken            string           `position:"Query" name:"STSToken"`
}

ScheduleKeyDeletionRequest is the request struct for api ScheduleKeyDeletion

func CreateScheduleKeyDeletionRequest

func CreateScheduleKeyDeletionRequest() (request *ScheduleKeyDeletionRequest)

CreateScheduleKeyDeletionRequest creates a request to invoke ScheduleKeyDeletion API

type ScheduleKeyDeletionResponse

type ScheduleKeyDeletionResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

ScheduleKeyDeletionResponse is the response struct for api ScheduleKeyDeletion

func CreateScheduleKeyDeletionResponse

func CreateScheduleKeyDeletionResponse() (response *ScheduleKeyDeletionResponse)

CreateScheduleKeyDeletionResponse creates a response to parse from ScheduleKeyDeletion response

type Tag

type Tag struct {
	KeyId    string `json:"KeyId" xml:"KeyId"`
	TagKey   string `json:"TagKey" xml:"TagKey"`
	TagValue string `json:"TagValue" xml:"TagValue"`
}

Tag is a nested struct in kms response

type TagResourceRequest

type TagResourceRequest struct {
	*requests.RpcRequest
	KeyId    string `position:"Query" name:"KeyId"`
	STSToken string `position:"Query" name:"STSToken"`
	Tags     string `position:"Query" name:"Tags"`
}

TagResourceRequest is the request struct for api TagResource

func CreateTagResourceRequest

func CreateTagResourceRequest() (request *TagResourceRequest)

CreateTagResourceRequest creates a request to invoke TagResource API

type TagResourceResponse

type TagResourceResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

TagResourceResponse is the response struct for api TagResource

func CreateTagResourceResponse

func CreateTagResourceResponse() (response *TagResourceResponse)

CreateTagResourceResponse creates a response to parse from TagResource response

type Tags

type Tags struct {
	Tag []Tag `json:"Tag" xml:"Tag"`
}

Tags is a nested struct in kms response

type UntagResourceRequest

type UntagResourceRequest struct {
	*requests.RpcRequest
	TagKeys  string `position:"Query" name:"TagKeys"`
	KeyId    string `position:"Query" name:"KeyId"`
	STSToken string `position:"Query" name:"STSToken"`
}

UntagResourceRequest is the request struct for api UntagResource

func CreateUntagResourceRequest

func CreateUntagResourceRequest() (request *UntagResourceRequest)

CreateUntagResourceRequest creates a request to invoke UntagResource API

type UntagResourceResponse

type UntagResourceResponse struct {
	*responses.BaseResponse
	KeyId string `json:"KeyId" xml:"KeyId"`
}

UntagResourceResponse is the response struct for api UntagResource

func CreateUntagResourceResponse

func CreateUntagResourceResponse() (response *UntagResourceResponse)

CreateUntagResourceResponse creates a response to parse from UntagResource response

type UpdateAliasRequest

type UpdateAliasRequest struct {
	*requests.RpcRequest
	AliasName string `position:"Query" name:"AliasName"`
	KeyId     string `position:"Query" name:"KeyId"`
	STSToken  string `position:"Query" name:"STSToken"`
}

UpdateAliasRequest is the request struct for api UpdateAlias

func CreateUpdateAliasRequest

func CreateUpdateAliasRequest() (request *UpdateAliasRequest)

CreateUpdateAliasRequest creates a request to invoke UpdateAlias API

type UpdateAliasResponse

type UpdateAliasResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

UpdateAliasResponse is the response struct for api UpdateAlias

func CreateUpdateAliasResponse

func CreateUpdateAliasResponse() (response *UpdateAliasResponse)

CreateUpdateAliasResponse creates a response to parse from UpdateAlias response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL