Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type Alias
- type AliasesInListAliases
- type AliasesInListAliasesByKeyId
- type AsymmetricDecryptRequest
- type AsymmetricDecryptResponse
- type AsymmetricEncryptRequest
- type AsymmetricEncryptResponse
- type AsymmetricSignRequest
- type AsymmetricSignResponse
- type AsymmetricVerifyRequest
- type AsymmetricVerifyResponse
- type CancelKeyDeletionRequest
- type CancelKeyDeletionResponse
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) AsymmetricDecrypt(request *AsymmetricDecryptRequest) (response *AsymmetricDecryptResponse, err error)
- func (client *Client) AsymmetricDecryptWithCallback(request *AsymmetricDecryptRequest, ...) <-chan int
- func (client *Client) AsymmetricDecryptWithChan(request *AsymmetricDecryptRequest) (<-chan *AsymmetricDecryptResponse, <-chan error)
- func (client *Client) AsymmetricEncrypt(request *AsymmetricEncryptRequest) (response *AsymmetricEncryptResponse, err error)
- func (client *Client) AsymmetricEncryptWithCallback(request *AsymmetricEncryptRequest, ...) <-chan int
- func (client *Client) AsymmetricEncryptWithChan(request *AsymmetricEncryptRequest) (<-chan *AsymmetricEncryptResponse, <-chan error)
- func (client *Client) AsymmetricSign(request *AsymmetricSignRequest) (response *AsymmetricSignResponse, err error)
- func (client *Client) AsymmetricSignWithCallback(request *AsymmetricSignRequest, ...) <-chan int
- func (client *Client) AsymmetricSignWithChan(request *AsymmetricSignRequest) (<-chan *AsymmetricSignResponse, <-chan error)
- func (client *Client) AsymmetricVerify(request *AsymmetricVerifyRequest) (response *AsymmetricVerifyResponse, err error)
- func (client *Client) AsymmetricVerifyWithCallback(request *AsymmetricVerifyRequest, ...) <-chan int
- func (client *Client) AsymmetricVerifyWithChan(request *AsymmetricVerifyRequest) (<-chan *AsymmetricVerifyResponse, <-chan error)
- func (client *Client) CancelKeyDeletion(request *CancelKeyDeletionRequest) (response *CancelKeyDeletionResponse, err error)
- func (client *Client) CancelKeyDeletionWithCallback(request *CancelKeyDeletionRequest, ...) <-chan int
- func (client *Client) CancelKeyDeletionWithChan(request *CancelKeyDeletionRequest) (<-chan *CancelKeyDeletionResponse, <-chan error)
- func (client *Client) CreateAlias(request *CreateAliasRequest) (response *CreateAliasResponse, err error)
- func (client *Client) CreateAliasWithCallback(request *CreateAliasRequest, ...) <-chan int
- func (client *Client) CreateAliasWithChan(request *CreateAliasRequest) (<-chan *CreateAliasResponse, <-chan error)
- func (client *Client) CreateKey(request *CreateKeyRequest) (response *CreateKeyResponse, err error)
- func (client *Client) CreateKeyVersion(request *CreateKeyVersionRequest) (response *CreateKeyVersionResponse, err error)
- func (client *Client) CreateKeyVersionWithCallback(request *CreateKeyVersionRequest, ...) <-chan int
- func (client *Client) CreateKeyVersionWithChan(request *CreateKeyVersionRequest) (<-chan *CreateKeyVersionResponse, <-chan error)
- func (client *Client) CreateKeyWithCallback(request *CreateKeyRequest, ...) <-chan int
- func (client *Client) CreateKeyWithChan(request *CreateKeyRequest) (<-chan *CreateKeyResponse, <-chan error)
- func (client *Client) CreateSecret(request *CreateSecretRequest) (response *CreateSecretResponse, err error)
- func (client *Client) CreateSecretWithCallback(request *CreateSecretRequest, ...) <-chan int
- func (client *Client) CreateSecretWithChan(request *CreateSecretRequest) (<-chan *CreateSecretResponse, <-chan error)
- func (client *Client) Decrypt(request *DecryptRequest) (response *DecryptResponse, err error)
- func (client *Client) DecryptWithCallback(request *DecryptRequest, callback func(response *DecryptResponse, err error)) <-chan int
- func (client *Client) DecryptWithChan(request *DecryptRequest) (<-chan *DecryptResponse, <-chan error)
- func (client *Client) DeleteAlias(request *DeleteAliasRequest) (response *DeleteAliasResponse, err error)
- func (client *Client) DeleteAliasWithCallback(request *DeleteAliasRequest, ...) <-chan int
- func (client *Client) DeleteAliasWithChan(request *DeleteAliasRequest) (<-chan *DeleteAliasResponse, <-chan error)
- func (client *Client) DeleteKeyMaterial(request *DeleteKeyMaterialRequest) (response *DeleteKeyMaterialResponse, err error)
- func (client *Client) DeleteKeyMaterialWithCallback(request *DeleteKeyMaterialRequest, ...) <-chan int
- func (client *Client) DeleteKeyMaterialWithChan(request *DeleteKeyMaterialRequest) (<-chan *DeleteKeyMaterialResponse, <-chan error)
- func (client *Client) DeleteSecret(request *DeleteSecretRequest) (response *DeleteSecretResponse, err error)
- func (client *Client) DeleteSecretWithCallback(request *DeleteSecretRequest, ...) <-chan int
- func (client *Client) DeleteSecretWithChan(request *DeleteSecretRequest) (<-chan *DeleteSecretResponse, <-chan error)
- func (client *Client) DescribeKey(request *DescribeKeyRequest) (response *DescribeKeyResponse, err error)
- func (client *Client) DescribeKeyVersion(request *DescribeKeyVersionRequest) (response *DescribeKeyVersionResponse, err error)
- func (client *Client) DescribeKeyVersionWithCallback(request *DescribeKeyVersionRequest, ...) <-chan int
- func (client *Client) DescribeKeyVersionWithChan(request *DescribeKeyVersionRequest) (<-chan *DescribeKeyVersionResponse, <-chan error)
- func (client *Client) DescribeKeyWithCallback(request *DescribeKeyRequest, ...) <-chan int
- func (client *Client) DescribeKeyWithChan(request *DescribeKeyRequest) (<-chan *DescribeKeyResponse, <-chan error)
- func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, ...) <-chan int
- func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)
- func (client *Client) DescribeSecret(request *DescribeSecretRequest) (response *DescribeSecretResponse, err error)
- func (client *Client) DescribeSecretWithCallback(request *DescribeSecretRequest, ...) <-chan int
- func (client *Client) DescribeSecretWithChan(request *DescribeSecretRequest) (<-chan *DescribeSecretResponse, <-chan error)
- func (client *Client) DescribeService(request *DescribeServiceRequest) (response *DescribeServiceResponse, err error)
- func (client *Client) DescribeServiceWithCallback(request *DescribeServiceRequest, ...) <-chan int
- func (client *Client) DescribeServiceWithChan(request *DescribeServiceRequest) (<-chan *DescribeServiceResponse, <-chan error)
- func (client *Client) DisableKey(request *DisableKeyRequest) (response *DisableKeyResponse, err error)
- func (client *Client) DisableKeyWithCallback(request *DisableKeyRequest, ...) <-chan int
- func (client *Client) DisableKeyWithChan(request *DisableKeyRequest) (<-chan *DisableKeyResponse, <-chan error)
- func (client *Client) EnableKey(request *EnableKeyRequest) (response *EnableKeyResponse, err error)
- func (client *Client) EnableKeyWithCallback(request *EnableKeyRequest, ...) <-chan int
- func (client *Client) EnableKeyWithChan(request *EnableKeyRequest) (<-chan *EnableKeyResponse, <-chan error)
- func (client *Client) Encrypt(request *EncryptRequest) (response *EncryptResponse, err error)
- func (client *Client) EncryptWithCallback(request *EncryptRequest, callback func(response *EncryptResponse, err error)) <-chan int
- func (client *Client) EncryptWithChan(request *EncryptRequest) (<-chan *EncryptResponse, <-chan error)
- func (client *Client) GenerateDataKey(request *GenerateDataKeyRequest) (response *GenerateDataKeyResponse, err error)
- func (client *Client) GenerateDataKeyWithCallback(request *GenerateDataKeyRequest, ...) <-chan int
- func (client *Client) GenerateDataKeyWithChan(request *GenerateDataKeyRequest) (<-chan *GenerateDataKeyResponse, <-chan error)
- func (client *Client) GenerateDataKeyWithoutPlaintext(request *GenerateDataKeyWithoutPlaintextRequest) (response *GenerateDataKeyWithoutPlaintextResponse, err error)
- func (client *Client) GenerateDataKeyWithoutPlaintextWithCallback(request *GenerateDataKeyWithoutPlaintextRequest, ...) <-chan int
- func (client *Client) GenerateDataKeyWithoutPlaintextWithChan(request *GenerateDataKeyWithoutPlaintextRequest) (<-chan *GenerateDataKeyWithoutPlaintextResponse, <-chan error)
- func (client *Client) GetParametersForImport(request *GetParametersForImportRequest) (response *GetParametersForImportResponse, err error)
- func (client *Client) GetParametersForImportWithCallback(request *GetParametersForImportRequest, ...) <-chan int
- func (client *Client) GetParametersForImportWithChan(request *GetParametersForImportRequest) (<-chan *GetParametersForImportResponse, <-chan error)
- func (client *Client) GetPublicKey(request *GetPublicKeyRequest) (response *GetPublicKeyResponse, err error)
- func (client *Client) GetPublicKeyWithCallback(request *GetPublicKeyRequest, ...) <-chan int
- func (client *Client) GetPublicKeyWithChan(request *GetPublicKeyRequest) (<-chan *GetPublicKeyResponse, <-chan error)
- func (client *Client) GetRandomPassword(request *GetRandomPasswordRequest) (response *GetRandomPasswordResponse, err error)
- func (client *Client) GetRandomPasswordWithCallback(request *GetRandomPasswordRequest, ...) <-chan int
- func (client *Client) GetRandomPasswordWithChan(request *GetRandomPasswordRequest) (<-chan *GetRandomPasswordResponse, <-chan error)
- func (client *Client) GetSecretValue(request *GetSecretValueRequest) (response *GetSecretValueResponse, err error)
- func (client *Client) GetSecretValueWithCallback(request *GetSecretValueRequest, ...) <-chan int
- func (client *Client) GetSecretValueWithChan(request *GetSecretValueRequest) (<-chan *GetSecretValueResponse, <-chan error)
- func (client *Client) ImportKeyMaterial(request *ImportKeyMaterialRequest) (response *ImportKeyMaterialResponse, err error)
- func (client *Client) ImportKeyMaterialWithCallback(request *ImportKeyMaterialRequest, ...) <-chan int
- func (client *Client) ImportKeyMaterialWithChan(request *ImportKeyMaterialRequest) (<-chan *ImportKeyMaterialResponse, <-chan error)
- func (client *Client) ListAliases(request *ListAliasesRequest) (response *ListAliasesResponse, err error)
- func (client *Client) ListAliasesByKeyId(request *ListAliasesByKeyIdRequest) (response *ListAliasesByKeyIdResponse, err error)
- func (client *Client) ListAliasesByKeyIdWithCallback(request *ListAliasesByKeyIdRequest, ...) <-chan int
- func (client *Client) ListAliasesByKeyIdWithChan(request *ListAliasesByKeyIdRequest) (<-chan *ListAliasesByKeyIdResponse, <-chan error)
- func (client *Client) ListAliasesWithCallback(request *ListAliasesRequest, ...) <-chan int
- func (client *Client) ListAliasesWithChan(request *ListAliasesRequest) (<-chan *ListAliasesResponse, <-chan error)
- func (client *Client) ListKeyVersions(request *ListKeyVersionsRequest) (response *ListKeyVersionsResponse, err error)
- func (client *Client) ListKeyVersionsWithCallback(request *ListKeyVersionsRequest, ...) <-chan int
- func (client *Client) ListKeyVersionsWithChan(request *ListKeyVersionsRequest) (<-chan *ListKeyVersionsResponse, <-chan error)
- func (client *Client) ListKeys(request *ListKeysRequest) (response *ListKeysResponse, err error)
- func (client *Client) ListKeysWithCallback(request *ListKeysRequest, callback func(response *ListKeysResponse, err error)) <-chan int
- func (client *Client) ListKeysWithChan(request *ListKeysRequest) (<-chan *ListKeysResponse, <-chan error)
- func (client *Client) ListResourceTags(request *ListResourceTagsRequest) (response *ListResourceTagsResponse, err error)
- func (client *Client) ListResourceTagsWithCallback(request *ListResourceTagsRequest, ...) <-chan int
- func (client *Client) ListResourceTagsWithChan(request *ListResourceTagsRequest) (<-chan *ListResourceTagsResponse, <-chan error)
- func (client *Client) ListSecretVersionIds(request *ListSecretVersionIdsRequest) (response *ListSecretVersionIdsResponse, err error)
- func (client *Client) ListSecretVersionIdsWithCallback(request *ListSecretVersionIdsRequest, ...) <-chan int
- func (client *Client) ListSecretVersionIdsWithChan(request *ListSecretVersionIdsRequest) (<-chan *ListSecretVersionIdsResponse, <-chan error)
- func (client *Client) ListSecrets(request *ListSecretsRequest) (response *ListSecretsResponse, err error)
- func (client *Client) ListSecretsWithCallback(request *ListSecretsRequest, ...) <-chan int
- func (client *Client) ListSecretsWithChan(request *ListSecretsRequest) (<-chan *ListSecretsResponse, <-chan error)
- func (client *Client) PutSecretValue(request *PutSecretValueRequest) (response *PutSecretValueResponse, err error)
- func (client *Client) PutSecretValueWithCallback(request *PutSecretValueRequest, ...) <-chan int
- func (client *Client) PutSecretValueWithChan(request *PutSecretValueRequest) (<-chan *PutSecretValueResponse, <-chan error)
- func (client *Client) RestoreSecret(request *RestoreSecretRequest) (response *RestoreSecretResponse, err error)
- func (client *Client) RestoreSecretWithCallback(request *RestoreSecretRequest, ...) <-chan int
- func (client *Client) RestoreSecretWithChan(request *RestoreSecretRequest) (<-chan *RestoreSecretResponse, <-chan error)
- func (client *Client) ScheduleKeyDeletion(request *ScheduleKeyDeletionRequest) (response *ScheduleKeyDeletionResponse, err error)
- func (client *Client) ScheduleKeyDeletionWithCallback(request *ScheduleKeyDeletionRequest, ...) <-chan int
- func (client *Client) ScheduleKeyDeletionWithChan(request *ScheduleKeyDeletionRequest) (<-chan *ScheduleKeyDeletionResponse, <-chan error)
- func (client *Client) TagResource(request *TagResourceRequest) (response *TagResourceResponse, err error)
- func (client *Client) TagResourceWithCallback(request *TagResourceRequest, ...) <-chan int
- func (client *Client) TagResourceWithChan(request *TagResourceRequest) (<-chan *TagResourceResponse, <-chan error)
- func (client *Client) UntagResource(request *UntagResourceRequest) (response *UntagResourceResponse, err error)
- func (client *Client) UntagResourceWithCallback(request *UntagResourceRequest, ...) <-chan int
- func (client *Client) UntagResourceWithChan(request *UntagResourceRequest) (<-chan *UntagResourceResponse, <-chan error)
- func (client *Client) UpdateAlias(request *UpdateAliasRequest) (response *UpdateAliasResponse, err error)
- func (client *Client) UpdateAliasWithCallback(request *UpdateAliasRequest, ...) <-chan int
- func (client *Client) UpdateAliasWithChan(request *UpdateAliasRequest) (<-chan *UpdateAliasResponse, <-chan error)
- func (client *Client) UpdateKeyDescription(request *UpdateKeyDescriptionRequest) (response *UpdateKeyDescriptionResponse, err error)
- func (client *Client) UpdateKeyDescriptionWithCallback(request *UpdateKeyDescriptionRequest, ...) <-chan int
- func (client *Client) UpdateKeyDescriptionWithChan(request *UpdateKeyDescriptionRequest) (<-chan *UpdateKeyDescriptionResponse, <-chan error)
- func (client *Client) UpdateRotationPolicy(request *UpdateRotationPolicyRequest) (response *UpdateRotationPolicyResponse, err error)
- func (client *Client) UpdateRotationPolicyWithCallback(request *UpdateRotationPolicyRequest, ...) <-chan int
- func (client *Client) UpdateRotationPolicyWithChan(request *UpdateRotationPolicyRequest) (<-chan *UpdateRotationPolicyResponse, <-chan error)
- func (client *Client) UpdateSecret(request *UpdateSecretRequest) (response *UpdateSecretResponse, err error)
- func (client *Client) UpdateSecretVersionStage(request *UpdateSecretVersionStageRequest) (response *UpdateSecretVersionStageResponse, err error)
- func (client *Client) UpdateSecretVersionStageWithCallback(request *UpdateSecretVersionStageRequest, ...) <-chan int
- func (client *Client) UpdateSecretVersionStageWithChan(request *UpdateSecretVersionStageRequest) (<-chan *UpdateSecretVersionStageResponse, <-chan error)
- func (client *Client) UpdateSecretWithCallback(request *UpdateSecretRequest, ...) <-chan int
- func (client *Client) UpdateSecretWithChan(request *UpdateSecretRequest) (<-chan *UpdateSecretResponse, <-chan error)
- type CreateAliasRequest
- type CreateAliasResponse
- type CreateKeyRequest
- type CreateKeyResponse
- type CreateKeyVersionRequest
- type CreateKeyVersionResponse
- type CreateSecretRequest
- type CreateSecretResponse
- type DecryptRequest
- type DecryptResponse
- type DeleteAliasRequest
- type DeleteAliasResponse
- type DeleteKeyMaterialRequest
- type DeleteKeyMaterialResponse
- type DeleteSecretRequest
- type DeleteSecretResponse
- type DescribeKeyRequest
- type DescribeKeyResponse
- type DescribeKeyVersionRequest
- type DescribeKeyVersionResponse
- type DescribeRegionsRequest
- type DescribeRegionsResponse
- type DescribeSecretRequest
- type DescribeSecretResponse
- type DescribeServiceRequest
- type DescribeServiceResponse
- type DisableKeyRequest
- type DisableKeyResponse
- type EnableKeyRequest
- type EnableKeyResponse
- type EncryptRequest
- type EncryptResponse
- type GenerateDataKeyRequest
- type GenerateDataKeyResponse
- type GenerateDataKeyWithoutPlaintextRequest
- type GenerateDataKeyWithoutPlaintextResponse
- type GetParametersForImportRequest
- type GetParametersForImportResponse
- type GetPublicKeyRequest
- type GetPublicKeyResponse
- type GetRandomPasswordRequest
- type GetRandomPasswordResponse
- type GetSecretValueRequest
- type GetSecretValueResponse
- type ImportKeyMaterialRequest
- type ImportKeyMaterialResponse
- type Key
- type KeyMetadata
- type KeySpec
- type KeySpecs
- type KeyVersion
- type KeyVersions
- type Keys
- type ListAliasesByKeyIdRequest
- type ListAliasesByKeyIdResponse
- type ListAliasesRequest
- type ListAliasesResponse
- type ListKeyVersionsRequest
- type ListKeyVersionsResponse
- type ListKeysRequest
- type ListKeysResponse
- type ListResourceTagsRequest
- type ListResourceTagsResponse
- type ListSecretVersionIdsRequest
- type ListSecretVersionIdsResponse
- type ListSecretsRequest
- type ListSecretsResponse
- type ProtectionLevel
- type ProtectionLevels
- type PutSecretValueRequest
- type PutSecretValueResponse
- type Region
- type Regions
- type RestoreSecretRequest
- type RestoreSecretResponse
- type ScheduleKeyDeletionRequest
- type ScheduleKeyDeletionResponse
- type Secret
- type SecretList
- type SupportedProtectionLevels
- type Tag
- type TagResourceRequest
- type TagResourceResponse
- type TagsInDescribeSecret
- type TagsInListResourceTags
- type TagsInListSecrets
- type UntagResourceRequest
- type UntagResourceResponse
- type UpdateAliasRequest
- type UpdateAliasResponse
- type UpdateKeyDescriptionRequest
- type UpdateKeyDescriptionResponse
- type UpdateRotationPolicyRequest
- type UpdateRotationPolicyResponse
- type UpdateSecretRequest
- type UpdateSecretResponse
- type UpdateSecretVersionStageRequest
- type UpdateSecretVersionStageResponse
- type Usages
- type VersionId
- type VersionIds
- type VersionStagesInGetSecretValue
- type VersionStagesInListSecretVersionIds
- type VersionStagesInPutSecretValue
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "regional"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
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 AsymmetricDecryptRequest ¶
type AsymmetricDecryptRequest struct { *requests.RpcRequest KeyVersionId string `position:"Query" name:"KeyVersionId"` KeyId string `position:"Query" name:"KeyId"` CiphertextBlob string `position:"Query" name:"CiphertextBlob"` Algorithm string `position:"Query" name:"Algorithm"` }
AsymmetricDecryptRequest is the request struct for api AsymmetricDecrypt
func CreateAsymmetricDecryptRequest ¶
func CreateAsymmetricDecryptRequest() (request *AsymmetricDecryptRequest)
CreateAsymmetricDecryptRequest creates a request to invoke AsymmetricDecrypt API
type AsymmetricDecryptResponse ¶
type AsymmetricDecryptResponse struct { *responses.BaseResponse Plaintext string `json:"Plaintext" xml:"Plaintext"` KeyId string `json:"KeyId" xml:"KeyId"` RequestId string `json:"RequestId" xml:"RequestId"` KeyVersionId string `json:"KeyVersionId" xml:"KeyVersionId"` }
AsymmetricDecryptResponse is the response struct for api AsymmetricDecrypt
func CreateAsymmetricDecryptResponse ¶
func CreateAsymmetricDecryptResponse() (response *AsymmetricDecryptResponse)
CreateAsymmetricDecryptResponse creates a response to parse from AsymmetricDecrypt response
type AsymmetricEncryptRequest ¶
type AsymmetricEncryptRequest struct { *requests.RpcRequest KeyVersionId string `position:"Query" name:"KeyVersionId"` KeyId string `position:"Query" name:"KeyId"` Plaintext string `position:"Query" name:"Plaintext"` Algorithm string `position:"Query" name:"Algorithm"` }
AsymmetricEncryptRequest is the request struct for api AsymmetricEncrypt
func CreateAsymmetricEncryptRequest ¶
func CreateAsymmetricEncryptRequest() (request *AsymmetricEncryptRequest)
CreateAsymmetricEncryptRequest creates a request to invoke AsymmetricEncrypt API
type AsymmetricEncryptResponse ¶
type AsymmetricEncryptResponse struct { *responses.BaseResponse CiphertextBlob string `json:"CiphertextBlob" xml:"CiphertextBlob"` KeyId string `json:"KeyId" xml:"KeyId"` RequestId string `json:"RequestId" xml:"RequestId"` KeyVersionId string `json:"KeyVersionId" xml:"KeyVersionId"` }
AsymmetricEncryptResponse is the response struct for api AsymmetricEncrypt
func CreateAsymmetricEncryptResponse ¶
func CreateAsymmetricEncryptResponse() (response *AsymmetricEncryptResponse)
CreateAsymmetricEncryptResponse creates a response to parse from AsymmetricEncrypt response
type AsymmetricSignRequest ¶
type AsymmetricSignRequest struct { *requests.RpcRequest KeyVersionId string `position:"Query" name:"KeyVersionId"` Digest string `position:"Query" name:"Digest"` KeyId string `position:"Query" name:"KeyId"` Algorithm string `position:"Query" name:"Algorithm"` }
AsymmetricSignRequest is the request struct for api AsymmetricSign
func CreateAsymmetricSignRequest ¶
func CreateAsymmetricSignRequest() (request *AsymmetricSignRequest)
CreateAsymmetricSignRequest creates a request to invoke AsymmetricSign API
type AsymmetricSignResponse ¶
type AsymmetricSignResponse struct { *responses.BaseResponse Value string `json:"Value" xml:"Value"` KeyId string `json:"KeyId" xml:"KeyId"` RequestId string `json:"RequestId" xml:"RequestId"` KeyVersionId string `json:"KeyVersionId" xml:"KeyVersionId"` }
AsymmetricSignResponse is the response struct for api AsymmetricSign
func CreateAsymmetricSignResponse ¶
func CreateAsymmetricSignResponse() (response *AsymmetricSignResponse)
CreateAsymmetricSignResponse creates a response to parse from AsymmetricSign response
type AsymmetricVerifyRequest ¶
type AsymmetricVerifyRequest struct { *requests.RpcRequest KeyVersionId string `position:"Query" name:"KeyVersionId"` Digest string `position:"Query" name:"Digest"` KeyId string `position:"Query" name:"KeyId"` Value string `position:"Query" name:"Value"` Algorithm string `position:"Query" name:"Algorithm"` }
AsymmetricVerifyRequest is the request struct for api AsymmetricVerify
func CreateAsymmetricVerifyRequest ¶
func CreateAsymmetricVerifyRequest() (request *AsymmetricVerifyRequest)
CreateAsymmetricVerifyRequest creates a request to invoke AsymmetricVerify API
type AsymmetricVerifyResponse ¶
type AsymmetricVerifyResponse struct { *responses.BaseResponse Value bool `json:"Value" xml:"Value"` KeyId string `json:"KeyId" xml:"KeyId"` RequestId string `json:"RequestId" xml:"RequestId"` KeyVersionId string `json:"KeyVersionId" xml:"KeyVersionId"` }
AsymmetricVerifyResponse is the response struct for api AsymmetricVerify
func CreateAsymmetricVerifyResponse ¶
func CreateAsymmetricVerifyResponse() (response *AsymmetricVerifyResponse)
CreateAsymmetricVerifyResponse creates a response to parse from AsymmetricVerify response
type CancelKeyDeletionRequest ¶
type CancelKeyDeletionRequest struct { *requests.RpcRequest KeyId string `position:"Query" name:"KeyId"` }
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 ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
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 NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
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://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
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 usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
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://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) AsymmetricDecrypt ¶
func (client *Client) AsymmetricDecrypt(request *AsymmetricDecryptRequest) (response *AsymmetricDecryptResponse, err error)
AsymmetricDecrypt invokes the kms.AsymmetricDecrypt API synchronously api document: https://help.aliyun.com/api/kms/asymmetricdecrypt.html
func (*Client) AsymmetricDecryptWithCallback ¶
func (client *Client) AsymmetricDecryptWithCallback(request *AsymmetricDecryptRequest, callback func(response *AsymmetricDecryptResponse, err error)) <-chan int
AsymmetricDecryptWithCallback invokes the kms.AsymmetricDecrypt API asynchronously api document: https://help.aliyun.com/api/kms/asymmetricdecrypt.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) AsymmetricDecryptWithChan ¶
func (client *Client) AsymmetricDecryptWithChan(request *AsymmetricDecryptRequest) (<-chan *AsymmetricDecryptResponse, <-chan error)
AsymmetricDecryptWithChan invokes the kms.AsymmetricDecrypt API asynchronously api document: https://help.aliyun.com/api/kms/asymmetricdecrypt.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) AsymmetricEncrypt ¶
func (client *Client) AsymmetricEncrypt(request *AsymmetricEncryptRequest) (response *AsymmetricEncryptResponse, err error)
AsymmetricEncrypt invokes the kms.AsymmetricEncrypt API synchronously api document: https://help.aliyun.com/api/kms/asymmetricencrypt.html
func (*Client) AsymmetricEncryptWithCallback ¶
func (client *Client) AsymmetricEncryptWithCallback(request *AsymmetricEncryptRequest, callback func(response *AsymmetricEncryptResponse, err error)) <-chan int
AsymmetricEncryptWithCallback invokes the kms.AsymmetricEncrypt API asynchronously api document: https://help.aliyun.com/api/kms/asymmetricencrypt.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) AsymmetricEncryptWithChan ¶
func (client *Client) AsymmetricEncryptWithChan(request *AsymmetricEncryptRequest) (<-chan *AsymmetricEncryptResponse, <-chan error)
AsymmetricEncryptWithChan invokes the kms.AsymmetricEncrypt API asynchronously api document: https://help.aliyun.com/api/kms/asymmetricencrypt.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) AsymmetricSign ¶
func (client *Client) AsymmetricSign(request *AsymmetricSignRequest) (response *AsymmetricSignResponse, err error)
AsymmetricSign invokes the kms.AsymmetricSign API synchronously api document: https://help.aliyun.com/api/kms/asymmetricsign.html
func (*Client) AsymmetricSignWithCallback ¶
func (client *Client) AsymmetricSignWithCallback(request *AsymmetricSignRequest, callback func(response *AsymmetricSignResponse, err error)) <-chan int
AsymmetricSignWithCallback invokes the kms.AsymmetricSign API asynchronously api document: https://help.aliyun.com/api/kms/asymmetricsign.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) AsymmetricSignWithChan ¶
func (client *Client) AsymmetricSignWithChan(request *AsymmetricSignRequest) (<-chan *AsymmetricSignResponse, <-chan error)
AsymmetricSignWithChan invokes the kms.AsymmetricSign API asynchronously api document: https://help.aliyun.com/api/kms/asymmetricsign.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) AsymmetricVerify ¶
func (client *Client) AsymmetricVerify(request *AsymmetricVerifyRequest) (response *AsymmetricVerifyResponse, err error)
AsymmetricVerify invokes the kms.AsymmetricVerify API synchronously api document: https://help.aliyun.com/api/kms/asymmetricverify.html
func (*Client) AsymmetricVerifyWithCallback ¶
func (client *Client) AsymmetricVerifyWithCallback(request *AsymmetricVerifyRequest, callback func(response *AsymmetricVerifyResponse, err error)) <-chan int
AsymmetricVerifyWithCallback invokes the kms.AsymmetricVerify API asynchronously api document: https://help.aliyun.com/api/kms/asymmetricverify.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) AsymmetricVerifyWithChan ¶
func (client *Client) AsymmetricVerifyWithChan(request *AsymmetricVerifyRequest) (<-chan *AsymmetricVerifyResponse, <-chan error)
AsymmetricVerifyWithChan invokes the kms.AsymmetricVerify API asynchronously api document: https://help.aliyun.com/api/kms/asymmetricverify.html asynchronous document: https://help.aliyun.com/document_detail/66220.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) CreateKeyVersion ¶
func (client *Client) CreateKeyVersion(request *CreateKeyVersionRequest) (response *CreateKeyVersionResponse, err error)
CreateKeyVersion invokes the kms.CreateKeyVersion API synchronously api document: https://help.aliyun.com/api/kms/createkeyversion.html
func (*Client) CreateKeyVersionWithCallback ¶
func (client *Client) CreateKeyVersionWithCallback(request *CreateKeyVersionRequest, callback func(response *CreateKeyVersionResponse, err error)) <-chan int
CreateKeyVersionWithCallback invokes the kms.CreateKeyVersion API asynchronously api document: https://help.aliyun.com/api/kms/createkeyversion.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateKeyVersionWithChan ¶
func (client *Client) CreateKeyVersionWithChan(request *CreateKeyVersionRequest) (<-chan *CreateKeyVersionResponse, <-chan error)
CreateKeyVersionWithChan invokes the kms.CreateKeyVersion API asynchronously api document: https://help.aliyun.com/api/kms/createkeyversion.html asynchronous document: https://help.aliyun.com/document_detail/66220.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) CreateSecret ¶
func (client *Client) CreateSecret(request *CreateSecretRequest) (response *CreateSecretResponse, err error)
CreateSecret invokes the kms.CreateSecret API synchronously api document: https://help.aliyun.com/api/kms/createsecret.html
func (*Client) CreateSecretWithCallback ¶
func (client *Client) CreateSecretWithCallback(request *CreateSecretRequest, callback func(response *CreateSecretResponse, err error)) <-chan int
CreateSecretWithCallback invokes the kms.CreateSecret API asynchronously api document: https://help.aliyun.com/api/kms/createsecret.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateSecretWithChan ¶
func (client *Client) CreateSecretWithChan(request *CreateSecretRequest) (<-chan *CreateSecretResponse, <-chan error)
CreateSecretWithChan invokes the kms.CreateSecret API asynchronously api document: https://help.aliyun.com/api/kms/createsecret.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) DeleteSecret ¶
func (client *Client) DeleteSecret(request *DeleteSecretRequest) (response *DeleteSecretResponse, err error)
DeleteSecret invokes the kms.DeleteSecret API synchronously api document: https://help.aliyun.com/api/kms/deletesecret.html
func (*Client) DeleteSecretWithCallback ¶
func (client *Client) DeleteSecretWithCallback(request *DeleteSecretRequest, callback func(response *DeleteSecretResponse, err error)) <-chan int
DeleteSecretWithCallback invokes the kms.DeleteSecret API asynchronously api document: https://help.aliyun.com/api/kms/deletesecret.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteSecretWithChan ¶
func (client *Client) DeleteSecretWithChan(request *DeleteSecretRequest) (<-chan *DeleteSecretResponse, <-chan error)
DeleteSecretWithChan invokes the kms.DeleteSecret API asynchronously api document: https://help.aliyun.com/api/kms/deletesecret.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) DescribeKeyVersion ¶
func (client *Client) DescribeKeyVersion(request *DescribeKeyVersionRequest) (response *DescribeKeyVersionResponse, err error)
DescribeKeyVersion invokes the kms.DescribeKeyVersion API synchronously api document: https://help.aliyun.com/api/kms/describekeyversion.html
func (*Client) DescribeKeyVersionWithCallback ¶
func (client *Client) DescribeKeyVersionWithCallback(request *DescribeKeyVersionRequest, callback func(response *DescribeKeyVersionResponse, err error)) <-chan int
DescribeKeyVersionWithCallback invokes the kms.DescribeKeyVersion API asynchronously api document: https://help.aliyun.com/api/kms/describekeyversion.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeKeyVersionWithChan ¶
func (client *Client) DescribeKeyVersionWithChan(request *DescribeKeyVersionRequest) (<-chan *DescribeKeyVersionResponse, <-chan error)
DescribeKeyVersionWithChan invokes the kms.DescribeKeyVersion API asynchronously api document: https://help.aliyun.com/api/kms/describekeyversion.html asynchronous document: https://help.aliyun.com/document_detail/66220.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) DescribeSecret ¶
func (client *Client) DescribeSecret(request *DescribeSecretRequest) (response *DescribeSecretResponse, err error)
DescribeSecret invokes the kms.DescribeSecret API synchronously api document: https://help.aliyun.com/api/kms/describesecret.html
func (*Client) DescribeSecretWithCallback ¶
func (client *Client) DescribeSecretWithCallback(request *DescribeSecretRequest, callback func(response *DescribeSecretResponse, err error)) <-chan int
DescribeSecretWithCallback invokes the kms.DescribeSecret API asynchronously api document: https://help.aliyun.com/api/kms/describesecret.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeSecretWithChan ¶
func (client *Client) DescribeSecretWithChan(request *DescribeSecretRequest) (<-chan *DescribeSecretResponse, <-chan error)
DescribeSecretWithChan invokes the kms.DescribeSecret API asynchronously api document: https://help.aliyun.com/api/kms/describesecret.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeService ¶
func (client *Client) DescribeService(request *DescribeServiceRequest) (response *DescribeServiceResponse, err error)
DescribeService invokes the kms.DescribeService API synchronously api document: https://help.aliyun.com/api/kms/describeservice.html
func (*Client) DescribeServiceWithCallback ¶
func (client *Client) DescribeServiceWithCallback(request *DescribeServiceRequest, callback func(response *DescribeServiceResponse, err error)) <-chan int
DescribeServiceWithCallback invokes the kms.DescribeService API asynchronously api document: https://help.aliyun.com/api/kms/describeservice.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeServiceWithChan ¶
func (client *Client) DescribeServiceWithChan(request *DescribeServiceRequest) (<-chan *DescribeServiceResponse, <-chan error)
DescribeServiceWithChan invokes the kms.DescribeService API asynchronously api document: https://help.aliyun.com/api/kms/describeservice.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) GenerateDataKeyWithoutPlaintext ¶
func (client *Client) GenerateDataKeyWithoutPlaintext(request *GenerateDataKeyWithoutPlaintextRequest) (response *GenerateDataKeyWithoutPlaintextResponse, err error)
GenerateDataKeyWithoutPlaintext invokes the kms.GenerateDataKeyWithoutPlaintext API synchronously api document: https://help.aliyun.com/api/kms/generatedatakeywithoutplaintext.html
func (*Client) GenerateDataKeyWithoutPlaintextWithCallback ¶
func (client *Client) GenerateDataKeyWithoutPlaintextWithCallback(request *GenerateDataKeyWithoutPlaintextRequest, callback func(response *GenerateDataKeyWithoutPlaintextResponse, err error)) <-chan int
GenerateDataKeyWithoutPlaintextWithCallback invokes the kms.GenerateDataKeyWithoutPlaintext API asynchronously api document: https://help.aliyun.com/api/kms/generatedatakeywithoutplaintext.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) GenerateDataKeyWithoutPlaintextWithChan ¶
func (client *Client) GenerateDataKeyWithoutPlaintextWithChan(request *GenerateDataKeyWithoutPlaintextRequest) (<-chan *GenerateDataKeyWithoutPlaintextResponse, <-chan error)
GenerateDataKeyWithoutPlaintextWithChan invokes the kms.GenerateDataKeyWithoutPlaintext API asynchronously api document: https://help.aliyun.com/api/kms/generatedatakeywithoutplaintext.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) GetPublicKey ¶
func (client *Client) GetPublicKey(request *GetPublicKeyRequest) (response *GetPublicKeyResponse, err error)
GetPublicKey invokes the kms.GetPublicKey API synchronously api document: https://help.aliyun.com/api/kms/getpublickey.html
func (*Client) GetPublicKeyWithCallback ¶
func (client *Client) GetPublicKeyWithCallback(request *GetPublicKeyRequest, callback func(response *GetPublicKeyResponse, err error)) <-chan int
GetPublicKeyWithCallback invokes the kms.GetPublicKey API asynchronously api document: https://help.aliyun.com/api/kms/getpublickey.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) GetPublicKeyWithChan ¶
func (client *Client) GetPublicKeyWithChan(request *GetPublicKeyRequest) (<-chan *GetPublicKeyResponse, <-chan error)
GetPublicKeyWithChan invokes the kms.GetPublicKey API asynchronously api document: https://help.aliyun.com/api/kms/getpublickey.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) GetRandomPassword ¶
func (client *Client) GetRandomPassword(request *GetRandomPasswordRequest) (response *GetRandomPasswordResponse, err error)
GetRandomPassword invokes the kms.GetRandomPassword API synchronously api document: https://help.aliyun.com/api/kms/getrandompassword.html
func (*Client) GetRandomPasswordWithCallback ¶
func (client *Client) GetRandomPasswordWithCallback(request *GetRandomPasswordRequest, callback func(response *GetRandomPasswordResponse, err error)) <-chan int
GetRandomPasswordWithCallback invokes the kms.GetRandomPassword API asynchronously api document: https://help.aliyun.com/api/kms/getrandompassword.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) GetRandomPasswordWithChan ¶
func (client *Client) GetRandomPasswordWithChan(request *GetRandomPasswordRequest) (<-chan *GetRandomPasswordResponse, <-chan error)
GetRandomPasswordWithChan invokes the kms.GetRandomPassword API asynchronously api document: https://help.aliyun.com/api/kms/getrandompassword.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) GetSecretValue ¶
func (client *Client) GetSecretValue(request *GetSecretValueRequest) (response *GetSecretValueResponse, err error)
GetSecretValue invokes the kms.GetSecretValue API synchronously api document: https://help.aliyun.com/api/kms/getsecretvalue.html
func (*Client) GetSecretValueWithCallback ¶
func (client *Client) GetSecretValueWithCallback(request *GetSecretValueRequest, callback func(response *GetSecretValueResponse, err error)) <-chan int
GetSecretValueWithCallback invokes the kms.GetSecretValue API asynchronously api document: https://help.aliyun.com/api/kms/getsecretvalue.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) GetSecretValueWithChan ¶
func (client *Client) GetSecretValueWithChan(request *GetSecretValueRequest) (<-chan *GetSecretValueResponse, <-chan error)
GetSecretValueWithChan invokes the kms.GetSecretValue API asynchronously api document: https://help.aliyun.com/api/kms/getsecretvalue.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) ListKeyVersions ¶
func (client *Client) ListKeyVersions(request *ListKeyVersionsRequest) (response *ListKeyVersionsResponse, err error)
ListKeyVersions invokes the kms.ListKeyVersions API synchronously api document: https://help.aliyun.com/api/kms/listkeyversions.html
func (*Client) ListKeyVersionsWithCallback ¶
func (client *Client) ListKeyVersionsWithCallback(request *ListKeyVersionsRequest, callback func(response *ListKeyVersionsResponse, err error)) <-chan int
ListKeyVersionsWithCallback invokes the kms.ListKeyVersions API asynchronously api document: https://help.aliyun.com/api/kms/listkeyversions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListKeyVersionsWithChan ¶
func (client *Client) ListKeyVersionsWithChan(request *ListKeyVersionsRequest) (<-chan *ListKeyVersionsResponse, <-chan error)
ListKeyVersionsWithChan invokes the kms.ListKeyVersions API asynchronously api document: https://help.aliyun.com/api/kms/listkeyversions.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) ListSecretVersionIds ¶
func (client *Client) ListSecretVersionIds(request *ListSecretVersionIdsRequest) (response *ListSecretVersionIdsResponse, err error)
ListSecretVersionIds invokes the kms.ListSecretVersionIds API synchronously api document: https://help.aliyun.com/api/kms/listsecretversionids.html
func (*Client) ListSecretVersionIdsWithCallback ¶
func (client *Client) ListSecretVersionIdsWithCallback(request *ListSecretVersionIdsRequest, callback func(response *ListSecretVersionIdsResponse, err error)) <-chan int
ListSecretVersionIdsWithCallback invokes the kms.ListSecretVersionIds API asynchronously api document: https://help.aliyun.com/api/kms/listsecretversionids.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListSecretVersionIdsWithChan ¶
func (client *Client) ListSecretVersionIdsWithChan(request *ListSecretVersionIdsRequest) (<-chan *ListSecretVersionIdsResponse, <-chan error)
ListSecretVersionIdsWithChan invokes the kms.ListSecretVersionIds API asynchronously api document: https://help.aliyun.com/api/kms/listsecretversionids.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListSecrets ¶
func (client *Client) ListSecrets(request *ListSecretsRequest) (response *ListSecretsResponse, err error)
ListSecrets invokes the kms.ListSecrets API synchronously api document: https://help.aliyun.com/api/kms/listsecrets.html
func (*Client) ListSecretsWithCallback ¶
func (client *Client) ListSecretsWithCallback(request *ListSecretsRequest, callback func(response *ListSecretsResponse, err error)) <-chan int
ListSecretsWithCallback invokes the kms.ListSecrets API asynchronously api document: https://help.aliyun.com/api/kms/listsecrets.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListSecretsWithChan ¶
func (client *Client) ListSecretsWithChan(request *ListSecretsRequest) (<-chan *ListSecretsResponse, <-chan error)
ListSecretsWithChan invokes the kms.ListSecrets API asynchronously api document: https://help.aliyun.com/api/kms/listsecrets.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PutSecretValue ¶
func (client *Client) PutSecretValue(request *PutSecretValueRequest) (response *PutSecretValueResponse, err error)
PutSecretValue invokes the kms.PutSecretValue API synchronously api document: https://help.aliyun.com/api/kms/putsecretvalue.html
func (*Client) PutSecretValueWithCallback ¶
func (client *Client) PutSecretValueWithCallback(request *PutSecretValueRequest, callback func(response *PutSecretValueResponse, err error)) <-chan int
PutSecretValueWithCallback invokes the kms.PutSecretValue API asynchronously api document: https://help.aliyun.com/api/kms/putsecretvalue.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PutSecretValueWithChan ¶
func (client *Client) PutSecretValueWithChan(request *PutSecretValueRequest) (<-chan *PutSecretValueResponse, <-chan error)
PutSecretValueWithChan invokes the kms.PutSecretValue API asynchronously api document: https://help.aliyun.com/api/kms/putsecretvalue.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RestoreSecret ¶
func (client *Client) RestoreSecret(request *RestoreSecretRequest) (response *RestoreSecretResponse, err error)
RestoreSecret invokes the kms.RestoreSecret API synchronously api document: https://help.aliyun.com/api/kms/restoresecret.html
func (*Client) RestoreSecretWithCallback ¶
func (client *Client) RestoreSecretWithCallback(request *RestoreSecretRequest, callback func(response *RestoreSecretResponse, err error)) <-chan int
RestoreSecretWithCallback invokes the kms.RestoreSecret API asynchronously api document: https://help.aliyun.com/api/kms/restoresecret.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RestoreSecretWithChan ¶
func (client *Client) RestoreSecretWithChan(request *RestoreSecretRequest) (<-chan *RestoreSecretResponse, <-chan error)
RestoreSecretWithChan invokes the kms.RestoreSecret API asynchronously api document: https://help.aliyun.com/api/kms/restoresecret.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
func (*Client) UpdateKeyDescription ¶
func (client *Client) UpdateKeyDescription(request *UpdateKeyDescriptionRequest) (response *UpdateKeyDescriptionResponse, err error)
UpdateKeyDescription invokes the kms.UpdateKeyDescription API synchronously api document: https://help.aliyun.com/api/kms/updatekeydescription.html
func (*Client) UpdateKeyDescriptionWithCallback ¶
func (client *Client) UpdateKeyDescriptionWithCallback(request *UpdateKeyDescriptionRequest, callback func(response *UpdateKeyDescriptionResponse, err error)) <-chan int
UpdateKeyDescriptionWithCallback invokes the kms.UpdateKeyDescription API asynchronously api document: https://help.aliyun.com/api/kms/updatekeydescription.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UpdateKeyDescriptionWithChan ¶
func (client *Client) UpdateKeyDescriptionWithChan(request *UpdateKeyDescriptionRequest) (<-chan *UpdateKeyDescriptionResponse, <-chan error)
UpdateKeyDescriptionWithChan invokes the kms.UpdateKeyDescription API asynchronously api document: https://help.aliyun.com/api/kms/updatekeydescription.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UpdateRotationPolicy ¶
func (client *Client) UpdateRotationPolicy(request *UpdateRotationPolicyRequest) (response *UpdateRotationPolicyResponse, err error)
UpdateRotationPolicy invokes the kms.UpdateRotationPolicy API synchronously api document: https://help.aliyun.com/api/kms/updaterotationpolicy.html
func (*Client) UpdateRotationPolicyWithCallback ¶
func (client *Client) UpdateRotationPolicyWithCallback(request *UpdateRotationPolicyRequest, callback func(response *UpdateRotationPolicyResponse, err error)) <-chan int
UpdateRotationPolicyWithCallback invokes the kms.UpdateRotationPolicy API asynchronously api document: https://help.aliyun.com/api/kms/updaterotationpolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UpdateRotationPolicyWithChan ¶
func (client *Client) UpdateRotationPolicyWithChan(request *UpdateRotationPolicyRequest) (<-chan *UpdateRotationPolicyResponse, <-chan error)
UpdateRotationPolicyWithChan invokes the kms.UpdateRotationPolicy API asynchronously api document: https://help.aliyun.com/api/kms/updaterotationpolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UpdateSecret ¶
func (client *Client) UpdateSecret(request *UpdateSecretRequest) (response *UpdateSecretResponse, err error)
UpdateSecret invokes the kms.UpdateSecret API synchronously api document: https://help.aliyun.com/api/kms/updatesecret.html
func (*Client) UpdateSecretVersionStage ¶
func (client *Client) UpdateSecretVersionStage(request *UpdateSecretVersionStageRequest) (response *UpdateSecretVersionStageResponse, err error)
UpdateSecretVersionStage invokes the kms.UpdateSecretVersionStage API synchronously api document: https://help.aliyun.com/api/kms/updatesecretversionstage.html
func (*Client) UpdateSecretVersionStageWithCallback ¶
func (client *Client) UpdateSecretVersionStageWithCallback(request *UpdateSecretVersionStageRequest, callback func(response *UpdateSecretVersionStageResponse, err error)) <-chan int
UpdateSecretVersionStageWithCallback invokes the kms.UpdateSecretVersionStage API asynchronously api document: https://help.aliyun.com/api/kms/updatesecretversionstage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UpdateSecretVersionStageWithChan ¶
func (client *Client) UpdateSecretVersionStageWithChan(request *UpdateSecretVersionStageRequest) (<-chan *UpdateSecretVersionStageResponse, <-chan error)
UpdateSecretVersionStageWithChan invokes the kms.UpdateSecretVersionStage API asynchronously api document: https://help.aliyun.com/api/kms/updatesecretversionstage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UpdateSecretWithCallback ¶
func (client *Client) UpdateSecretWithCallback(request *UpdateSecretRequest, callback func(response *UpdateSecretResponse, err error)) <-chan int
UpdateSecretWithCallback invokes the kms.UpdateSecret API asynchronously api document: https://help.aliyun.com/api/kms/updatesecret.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UpdateSecretWithChan ¶
func (client *Client) UpdateSecretWithChan(request *UpdateSecretRequest) (<-chan *UpdateSecretResponse, <-chan error)
UpdateSecretWithChan invokes the kms.UpdateSecret API asynchronously api document: https://help.aliyun.com/api/kms/updatesecret.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"` }
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 ProtectionLevel string `position:"Query" name:"ProtectionLevel"` KeyUsage string `position:"Query" name:"KeyUsage"` Origin string `position:"Query" name:"Origin"` Description string `position:"Query" name:"Description"` KeySpec string `position:"Query" name:"KeySpec"` RotationInterval string `position:"Query" name:"RotationInterval"` EnableAutomaticRotation requests.Boolean `position:"Query" name:"EnableAutomaticRotation"` }
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 CreateKeyVersionRequest ¶
type CreateKeyVersionRequest struct { *requests.RpcRequest KeyId string `position:"Query" name:"KeyId"` }
CreateKeyVersionRequest is the request struct for api CreateKeyVersion
func CreateCreateKeyVersionRequest ¶
func CreateCreateKeyVersionRequest() (request *CreateKeyVersionRequest)
CreateCreateKeyVersionRequest creates a request to invoke CreateKeyVersion API
type CreateKeyVersionResponse ¶
type CreateKeyVersionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` KeyVersion KeyVersion `json:"KeyVersion" xml:"KeyVersion"` }
CreateKeyVersionResponse is the response struct for api CreateKeyVersion
func CreateCreateKeyVersionResponse ¶
func CreateCreateKeyVersionResponse() (response *CreateKeyVersionResponse)
CreateCreateKeyVersionResponse creates a response to parse from CreateKeyVersion response
type CreateSecretRequest ¶
type CreateSecretRequest struct { *requests.RpcRequest VersionId string `position:"Query" name:"VersionId"` SecretData string `position:"Query" name:"SecretData"` Description string `position:"Query" name:"Description"` SecretName string `position:"Query" name:"SecretName"` EncryptionKeyId string `position:"Query" name:"EncryptionKeyId"` SecretDataType string `position:"Query" name:"SecretDataType"` Tags string `position:"Query" name:"Tags"` }
CreateSecretRequest is the request struct for api CreateSecret
func CreateCreateSecretRequest ¶
func CreateCreateSecretRequest() (request *CreateSecretRequest)
CreateCreateSecretRequest creates a request to invoke CreateSecret API
type CreateSecretResponse ¶
type CreateSecretResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Arn string `json:"Arn" xml:"Arn"` VersionId string `json:"VersionId" xml:"VersionId"` SecretName string `json:"SecretName" xml:"SecretName"` }
CreateSecretResponse is the response struct for api CreateSecret
func CreateCreateSecretResponse ¶
func CreateCreateSecretResponse() (response *CreateSecretResponse)
CreateCreateSecretResponse creates a response to parse from CreateSecret response
type DecryptRequest ¶
type DecryptRequest struct { *requests.RpcRequest EncryptionContext string `position:"Query" name:"EncryptionContext"` 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"` KeyVersionId string `json:"KeyVersionId" xml:"KeyVersionId"` }
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"` }
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"` }
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 DeleteSecretRequest ¶
type DeleteSecretRequest struct { *requests.RpcRequest ForceDeleteWithoutRecovery string `position:"Query" name:"ForceDeleteWithoutRecovery"` RecoveryWindowInDays string `position:"Query" name:"RecoveryWindowInDays"` SecretName string `position:"Query" name:"SecretName"` }
DeleteSecretRequest is the request struct for api DeleteSecret
func CreateDeleteSecretRequest ¶
func CreateDeleteSecretRequest() (request *DeleteSecretRequest)
CreateDeleteSecretRequest creates a request to invoke DeleteSecret API
type DeleteSecretResponse ¶
type DeleteSecretResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` SecretName string `json:"SecretName" xml:"SecretName"` PlannedDeleteTime string `json:"PlannedDeleteTime" xml:"PlannedDeleteTime"` }
DeleteSecretResponse is the response struct for api DeleteSecret
func CreateDeleteSecretResponse ¶
func CreateDeleteSecretResponse() (response *DeleteSecretResponse)
CreateDeleteSecretResponse creates a response to parse from DeleteSecret response
type DescribeKeyRequest ¶
type DescribeKeyRequest struct { *requests.RpcRequest KeyId string `position:"Query" name:"KeyId"` }
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 DescribeKeyVersionRequest ¶
type DescribeKeyVersionRequest struct { *requests.RpcRequest KeyVersionId string `position:"Query" name:"KeyVersionId"` KeyId string `position:"Query" name:"KeyId"` }
DescribeKeyVersionRequest is the request struct for api DescribeKeyVersion
func CreateDescribeKeyVersionRequest ¶
func CreateDescribeKeyVersionRequest() (request *DescribeKeyVersionRequest)
CreateDescribeKeyVersionRequest creates a request to invoke DescribeKeyVersion API
type DescribeKeyVersionResponse ¶
type DescribeKeyVersionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` KeyVersion KeyVersion `json:"KeyVersion" xml:"KeyVersion"` }
DescribeKeyVersionResponse is the response struct for api DescribeKeyVersion
func CreateDescribeKeyVersionResponse ¶
func CreateDescribeKeyVersionResponse() (response *DescribeKeyVersionResponse)
CreateDescribeKeyVersionResponse creates a response to parse from DescribeKeyVersion response
type DescribeRegionsRequest ¶
type DescribeRegionsRequest struct {
*requests.RpcRequest
}
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 DescribeSecretRequest ¶
type DescribeSecretRequest struct { *requests.RpcRequest SecretName string `position:"Query" name:"SecretName"` FetchTags string `position:"Query" name:"FetchTags"` }
DescribeSecretRequest is the request struct for api DescribeSecret
func CreateDescribeSecretRequest ¶
func CreateDescribeSecretRequest() (request *DescribeSecretRequest)
CreateDescribeSecretRequest creates a request to invoke DescribeSecret API
type DescribeSecretResponse ¶
type DescribeSecretResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Arn string `json:"Arn" xml:"Arn"` SecretName string `json:"SecretName" xml:"SecretName"` EncryptionKeyId string `json:"EncryptionKeyId" xml:"EncryptionKeyId"` Description string `json:"Description" xml:"Description"` CreateTime string `json:"CreateTime" xml:"CreateTime"` UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` PlannedDeleteTime string `json:"PlannedDeleteTime" xml:"PlannedDeleteTime"` Tags []Tag `json:"Tags" xml:"Tags"` }
DescribeSecretResponse is the response struct for api DescribeSecret
func CreateDescribeSecretResponse ¶
func CreateDescribeSecretResponse() (response *DescribeSecretResponse)
CreateDescribeSecretResponse creates a response to parse from DescribeSecret response
type DescribeServiceRequest ¶
type DescribeServiceRequest struct {
*requests.RpcRequest
}
DescribeServiceRequest is the request struct for api DescribeService
func CreateDescribeServiceRequest ¶
func CreateDescribeServiceRequest() (request *DescribeServiceRequest)
CreateDescribeServiceRequest creates a request to invoke DescribeService API
type DescribeServiceResponse ¶
type DescribeServiceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` ProtectionLevels ProtectionLevels `json:"ProtectionLevels" xml:"ProtectionLevels"` KeySpecs KeySpecs `json:"KeySpecs" xml:"KeySpecs"` }
DescribeServiceResponse is the response struct for api DescribeService
func CreateDescribeServiceResponse ¶
func CreateDescribeServiceResponse() (response *DescribeServiceResponse)
CreateDescribeServiceResponse creates a response to parse from DescribeService response
type DisableKeyRequest ¶
type DisableKeyRequest struct { *requests.RpcRequest KeyId string `position:"Query" name:"KeyId"` }
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"` }
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"` 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"` KeyVersionId string `json:"KeyVersionId" xml:"KeyVersionId"` }
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"` 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"` KeyVersionId string `json:"KeyVersionId" xml:"KeyVersionId"` }
GenerateDataKeyResponse is the response struct for api GenerateDataKey
func CreateGenerateDataKeyResponse ¶
func CreateGenerateDataKeyResponse() (response *GenerateDataKeyResponse)
CreateGenerateDataKeyResponse creates a response to parse from GenerateDataKey response
type GenerateDataKeyWithoutPlaintextRequest ¶
type GenerateDataKeyWithoutPlaintextRequest struct { *requests.RpcRequest EncryptionContext string `position:"Query" name:"EncryptionContext"` KeyId string `position:"Query" name:"KeyId"` KeySpec string `position:"Query" name:"KeySpec"` NumberOfBytes requests.Integer `position:"Query" name:"NumberOfBytes"` }
GenerateDataKeyWithoutPlaintextRequest is the request struct for api GenerateDataKeyWithoutPlaintext
func CreateGenerateDataKeyWithoutPlaintextRequest ¶
func CreateGenerateDataKeyWithoutPlaintextRequest() (request *GenerateDataKeyWithoutPlaintextRequest)
CreateGenerateDataKeyWithoutPlaintextRequest creates a request to invoke GenerateDataKeyWithoutPlaintext API
type GenerateDataKeyWithoutPlaintextResponse ¶
type GenerateDataKeyWithoutPlaintextResponse struct { *responses.BaseResponse CiphertextBlob string `json:"CiphertextBlob" xml:"CiphertextBlob"` KeyId string `json:"KeyId" xml:"KeyId"` RequestId string `json:"RequestId" xml:"RequestId"` KeyVersionId string `json:"KeyVersionId" xml:"KeyVersionId"` }
GenerateDataKeyWithoutPlaintextResponse is the response struct for api GenerateDataKeyWithoutPlaintext
func CreateGenerateDataKeyWithoutPlaintextResponse ¶
func CreateGenerateDataKeyWithoutPlaintextResponse() (response *GenerateDataKeyWithoutPlaintextResponse)
CreateGenerateDataKeyWithoutPlaintextResponse creates a response to parse from GenerateDataKeyWithoutPlaintext response
type GetParametersForImportRequest ¶
type GetParametersForImportRequest struct { *requests.RpcRequest KeyId string `position:"Query" name:"KeyId"` 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 GetPublicKeyRequest ¶
type GetPublicKeyRequest struct { *requests.RpcRequest KeyVersionId string `position:"Query" name:"KeyVersionId"` KeyId string `position:"Query" name:"KeyId"` }
GetPublicKeyRequest is the request struct for api GetPublicKey
func CreateGetPublicKeyRequest ¶
func CreateGetPublicKeyRequest() (request *GetPublicKeyRequest)
CreateGetPublicKeyRequest creates a request to invoke GetPublicKey API
type GetPublicKeyResponse ¶
type GetPublicKeyResponse struct { *responses.BaseResponse PublicKey string `json:"PublicKey" xml:"PublicKey"` KeyId string `json:"KeyId" xml:"KeyId"` RequestId string `json:"RequestId" xml:"RequestId"` KeyVersionId string `json:"KeyVersionId" xml:"KeyVersionId"` }
GetPublicKeyResponse is the response struct for api GetPublicKey
func CreateGetPublicKeyResponse ¶
func CreateGetPublicKeyResponse() (response *GetPublicKeyResponse)
CreateGetPublicKeyResponse creates a response to parse from GetPublicKey response
type GetRandomPasswordRequest ¶
type GetRandomPasswordRequest struct { *requests.RpcRequest ExcludeLowercase string `position:"Query" name:"ExcludeLowercase"` ExcludeCharacters string `position:"Query" name:"ExcludeCharacters"` PasswordLength string `position:"Query" name:"PasswordLength"` ExcludePunctuation string `position:"Query" name:"ExcludePunctuation"` ExcludeUppercase string `position:"Query" name:"ExcludeUppercase"` RequireEachIncludedType string `position:"Query" name:"RequireEachIncludedType"` ExcludeNumbers string `position:"Query" name:"ExcludeNumbers"` }
GetRandomPasswordRequest is the request struct for api GetRandomPassword
func CreateGetRandomPasswordRequest ¶
func CreateGetRandomPasswordRequest() (request *GetRandomPasswordRequest)
CreateGetRandomPasswordRequest creates a request to invoke GetRandomPassword API
type GetRandomPasswordResponse ¶
type GetRandomPasswordResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` RandomPassword string `json:"RandomPassword" xml:"RandomPassword"` }
GetRandomPasswordResponse is the response struct for api GetRandomPassword
func CreateGetRandomPasswordResponse ¶
func CreateGetRandomPasswordResponse() (response *GetRandomPasswordResponse)
CreateGetRandomPasswordResponse creates a response to parse from GetRandomPassword response
type GetSecretValueRequest ¶
type GetSecretValueRequest struct { *requests.RpcRequest VersionId string `position:"Query" name:"VersionId"` VersionStage string `position:"Query" name:"VersionStage"` SecretName string `position:"Query" name:"SecretName"` }
GetSecretValueRequest is the request struct for api GetSecretValue
func CreateGetSecretValueRequest ¶
func CreateGetSecretValueRequest() (request *GetSecretValueRequest)
CreateGetSecretValueRequest creates a request to invoke GetSecretValue API
type GetSecretValueResponse ¶
type GetSecretValueResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` SecretName string `json:"SecretName" xml:"SecretName"` VersionId string `json:"VersionId" xml:"VersionId"` CreateTime string `json:"CreateTime" xml:"CreateTime"` SecretData string `json:"SecretData" xml:"SecretData"` SecretDataType string `json:"SecretDataType" xml:"SecretDataType"` VersionStages []string `json:"VersionStages" xml:"VersionStages"` }
GetSecretValueResponse is the response struct for api GetSecretValue
func CreateGetSecretValueResponse ¶
func CreateGetSecretValueResponse() (response *GetSecretValueResponse)
CreateGetSecretValueResponse creates a response to parse from GetSecretValue 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"` }
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 { NextRotationDate string `json:"NextRotationDate" xml:"NextRotationDate"` ProtectionLevel string `json:"ProtectionLevel" xml:"ProtectionLevel"` KeySpec string `json:"KeySpec" xml:"KeySpec"` KeyUsage string `json:"KeyUsage" xml:"KeyUsage"` DeleteDate string `json:"DeleteDate" xml:"DeleteDate"` AutomaticRotation string `json:"AutomaticRotation" xml:"AutomaticRotation"` LastRotationDate string `json:"LastRotationDate" xml:"LastRotationDate"` MaterialExpireTime string `json:"MaterialExpireTime" xml:"MaterialExpireTime"` RotationInterval string `json:"RotationInterval" xml:"RotationInterval"` PrimaryKeyVersion string `json:"PrimaryKeyVersion" xml:"PrimaryKeyVersion"` Arn string `json:"Arn" xml:"Arn"` KeyState string `json:"KeyState" xml:"KeyState"` CreationDate string `json:"CreationDate" xml:"CreationDate"` Creator string `json:"Creator" xml:"Creator"` Origin string `json:"Origin" xml:"Origin"` Description string `json:"Description" xml:"Description"` KeyId string `json:"KeyId" xml:"KeyId"` }
KeyMetadata is a nested struct in kms response
type KeySpec ¶
type KeySpec struct { Name string `json:"Name" xml:"Name"` SupportedProtectionLevels SupportedProtectionLevels `json:"SupportedProtectionLevels" xml:"SupportedProtectionLevels"` Usages Usages `json:"Usages" xml:"Usages"` }
KeySpec is a nested struct in kms response
type KeySpecs ¶
type KeySpecs struct {
KeySpec []KeySpec `json:"KeySpec" xml:"KeySpec"`
}
KeySpecs is a nested struct in kms response
type KeyVersion ¶
type KeyVersion struct { CreationDate string `json:"CreationDate" xml:"CreationDate"` KeyVersionId string `json:"KeyVersionId" xml:"KeyVersionId"` KeyId string `json:"KeyId" xml:"KeyId"` }
KeyVersion is a nested struct in kms response
type KeyVersions ¶
type KeyVersions struct {
KeyVersion []KeyVersion `json:"KeyVersion" xml:"KeyVersion"`
}
KeyVersions 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"` 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"` 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 ListKeyVersionsRequest ¶
type ListKeyVersionsRequest struct { *requests.RpcRequest PageSize requests.Integer `position:"Query" name:"PageSize"` KeyId string `position:"Query" name:"KeyId"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` }
ListKeyVersionsRequest is the request struct for api ListKeyVersions
func CreateListKeyVersionsRequest ¶
func CreateListKeyVersionsRequest() (request *ListKeyVersionsRequest)
CreateListKeyVersionsRequest creates a request to invoke ListKeyVersions API
type ListKeyVersionsResponse ¶
type ListKeyVersionsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TotalCount int `json:"TotalCount" xml:"TotalCount"` PageNumber int `json:"PageNumber" xml:"PageNumber"` PageSize int `json:"PageSize" xml:"PageSize"` KeyVersions KeyVersions `json:"KeyVersions" xml:"KeyVersions"` }
ListKeyVersionsResponse is the response struct for api ListKeyVersions
func CreateListKeyVersionsResponse ¶
func CreateListKeyVersionsResponse() (response *ListKeyVersionsResponse)
CreateListKeyVersionsResponse creates a response to parse from ListKeyVersions response
type ListKeysRequest ¶
type ListKeysRequest struct { *requests.RpcRequest PageSize requests.Integer `position:"Query" name:"PageSize"` 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"` }
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 TagsInListResourceTags `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 ListSecretVersionIdsRequest ¶
type ListSecretVersionIdsRequest struct { *requests.RpcRequest IncludeDeprecated string `position:"Query" name:"IncludeDeprecated"` PageSize requests.Integer `position:"Query" name:"PageSize"` SecretName string `position:"Query" name:"SecretName"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` }
ListSecretVersionIdsRequest is the request struct for api ListSecretVersionIds
func CreateListSecretVersionIdsRequest ¶
func CreateListSecretVersionIdsRequest() (request *ListSecretVersionIdsRequest)
CreateListSecretVersionIdsRequest creates a request to invoke ListSecretVersionIds API
type ListSecretVersionIdsResponse ¶
type ListSecretVersionIdsResponse struct { *responses.BaseResponse PageNumber int `json:"PageNumber" xml:"PageNumber"` PageSize int `json:"PageSize" xml:"PageSize"` RequestId string `json:"RequestId" xml:"RequestId"` SecretName string `json:"SecretName" xml:"SecretName"` TotalCount int `json:"TotalCount" xml:"TotalCount"` VersionIds []VersionId `json:"VersionIds" xml:"VersionIds"` }
ListSecretVersionIdsResponse is the response struct for api ListSecretVersionIds
func CreateListSecretVersionIdsResponse ¶
func CreateListSecretVersionIdsResponse() (response *ListSecretVersionIdsResponse)
CreateListSecretVersionIdsResponse creates a response to parse from ListSecretVersionIds response
type ListSecretsRequest ¶
type ListSecretsRequest struct { *requests.RpcRequest PageSize requests.Integer `position:"Query" name:"PageSize"` FetchTags string `position:"Query" name:"FetchTags"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` }
ListSecretsRequest is the request struct for api ListSecrets
func CreateListSecretsRequest ¶
func CreateListSecretsRequest() (request *ListSecretsRequest)
CreateListSecretsRequest creates a request to invoke ListSecrets API
type ListSecretsResponse ¶
type ListSecretsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PageNumber int `json:"PageNumber" xml:"PageNumber"` PageSize int `json:"PageSize" xml:"PageSize"` TotalCount int `json:"TotalCount" xml:"TotalCount"` SecretList []Secret `json:"SecretList" xml:"SecretList"` }
ListSecretsResponse is the response struct for api ListSecrets
func CreateListSecretsResponse ¶
func CreateListSecretsResponse() (response *ListSecretsResponse)
CreateListSecretsResponse creates a response to parse from ListSecrets response
type ProtectionLevel ¶
type ProtectionLevel struct {
Type string `json:"Type" xml:"Type"`
}
ProtectionLevel is a nested struct in kms response
type ProtectionLevels ¶
type ProtectionLevels struct {
ProtectionLevel []ProtectionLevel `json:"ProtectionLevel" xml:"ProtectionLevel"`
}
ProtectionLevels is a nested struct in kms response
type PutSecretValueRequest ¶
type PutSecretValueRequest struct { *requests.RpcRequest VersionId string `position:"Query" name:"VersionId"` VersionStages string `position:"Query" name:"VersionStages"` SecretData string `position:"Query" name:"SecretData"` SecretName string `position:"Query" name:"SecretName"` SecretDataType string `position:"Query" name:"SecretDataType"` }
PutSecretValueRequest is the request struct for api PutSecretValue
func CreatePutSecretValueRequest ¶
func CreatePutSecretValueRequest() (request *PutSecretValueRequest)
CreatePutSecretValueRequest creates a request to invoke PutSecretValue API
type PutSecretValueResponse ¶
type PutSecretValueResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` SecretName string `json:"SecretName" xml:"SecretName"` VersionId string `json:"VersionId" xml:"VersionId"` VersionStages []string `json:"VersionStages" xml:"VersionStages"` }
PutSecretValueResponse is the response struct for api PutSecretValue
func CreatePutSecretValueResponse ¶
func CreatePutSecretValueResponse() (response *PutSecretValueResponse)
CreatePutSecretValueResponse creates a response to parse from PutSecretValue 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 RestoreSecretRequest ¶
type RestoreSecretRequest struct { *requests.RpcRequest SecretName string `position:"Query" name:"SecretName"` }
RestoreSecretRequest is the request struct for api RestoreSecret
func CreateRestoreSecretRequest ¶
func CreateRestoreSecretRequest() (request *RestoreSecretRequest)
CreateRestoreSecretRequest creates a request to invoke RestoreSecret API
type RestoreSecretResponse ¶
type RestoreSecretResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` SecretName string `json:"SecretName" xml:"SecretName"` }
RestoreSecretResponse is the response struct for api RestoreSecret
func CreateRestoreSecretResponse ¶
func CreateRestoreSecretResponse() (response *RestoreSecretResponse)
CreateRestoreSecretResponse creates a response to parse from RestoreSecret response
type ScheduleKeyDeletionRequest ¶
type ScheduleKeyDeletionRequest struct { *requests.RpcRequest PendingWindowInDays requests.Integer `position:"Query" name:"PendingWindowInDays"` KeyId string `position:"Query" name:"KeyId"` }
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 Secret ¶
type Secret struct { SecretName string `json:"SecretName" xml:"SecretName"` CreateTime string `json:"CreateTime" xml:"CreateTime"` UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` PlannedDeleteTime string `json:"PlannedDeleteTime" xml:"PlannedDeleteTime"` Tags []Tag `json:"Tags" xml:"Tags"` }
Secret is a nested struct in kms response
type SecretList ¶
type SecretList struct {
Secret []Secret `json:"Secret" xml:"Secret"`
}
SecretList is a nested struct in kms response
type SupportedProtectionLevels ¶
type SupportedProtectionLevels struct {
SupportedProtectionLevel []string `json:"SupportedProtectionLevel" xml:"SupportedProtectionLevel"`
}
SupportedProtectionLevels is a nested struct in kms response
type Tag ¶
type Tag struct { TagValue string `json:"TagValue" xml:"TagValue"` TagKey string `json:"TagKey" xml:"TagKey"` KeyId string `json:"KeyId" xml:"KeyId"` }
Tag is a nested struct in kms response
type TagResourceRequest ¶
type TagResourceRequest struct { *requests.RpcRequest KeyId string `position:"Query" name:"KeyId"` SecretName string `position:"Query" name:"SecretName"` 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 TagsInDescribeSecret ¶
type TagsInDescribeSecret struct {
Tag []Tag `json:"Tag" xml:"Tag"`
}
TagsInDescribeSecret is a nested struct in kms response
type TagsInListResourceTags ¶
type TagsInListResourceTags struct {
Tag []Tag `json:"Tag" xml:"Tag"`
}
TagsInListResourceTags is a nested struct in kms response
type TagsInListSecrets ¶
type TagsInListSecrets struct {
Tag []Tag `json:"Tag" xml:"Tag"`
}
TagsInListSecrets 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"` SecretName string `position:"Query" name:"SecretName"` }
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 RequestId string `json:"RequestId" xml:"RequestId"` }
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"` }
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
type UpdateKeyDescriptionRequest ¶
type UpdateKeyDescriptionRequest struct { *requests.RpcRequest KeyId string `position:"Query" name:"KeyId"` Description string `position:"Query" name:"Description"` }
UpdateKeyDescriptionRequest is the request struct for api UpdateKeyDescription
func CreateUpdateKeyDescriptionRequest ¶
func CreateUpdateKeyDescriptionRequest() (request *UpdateKeyDescriptionRequest)
CreateUpdateKeyDescriptionRequest creates a request to invoke UpdateKeyDescription API
type UpdateKeyDescriptionResponse ¶
type UpdateKeyDescriptionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UpdateKeyDescriptionResponse is the response struct for api UpdateKeyDescription
func CreateUpdateKeyDescriptionResponse ¶
func CreateUpdateKeyDescriptionResponse() (response *UpdateKeyDescriptionResponse)
CreateUpdateKeyDescriptionResponse creates a response to parse from UpdateKeyDescription response
type UpdateRotationPolicyRequest ¶
type UpdateRotationPolicyRequest struct { *requests.RpcRequest KeyId string `position:"Query" name:"KeyId"` RotationInterval string `position:"Query" name:"RotationInterval"` EnableAutomaticRotation requests.Boolean `position:"Query" name:"EnableAutomaticRotation"` }
UpdateRotationPolicyRequest is the request struct for api UpdateRotationPolicy
func CreateUpdateRotationPolicyRequest ¶
func CreateUpdateRotationPolicyRequest() (request *UpdateRotationPolicyRequest)
CreateUpdateRotationPolicyRequest creates a request to invoke UpdateRotationPolicy API
type UpdateRotationPolicyResponse ¶
type UpdateRotationPolicyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UpdateRotationPolicyResponse is the response struct for api UpdateRotationPolicy
func CreateUpdateRotationPolicyResponse ¶
func CreateUpdateRotationPolicyResponse() (response *UpdateRotationPolicyResponse)
CreateUpdateRotationPolicyResponse creates a response to parse from UpdateRotationPolicy response
type UpdateSecretRequest ¶
type UpdateSecretRequest struct { *requests.RpcRequest Description string `position:"Query" name:"Description"` SecretName string `position:"Query" name:"SecretName"` }
UpdateSecretRequest is the request struct for api UpdateSecret
func CreateUpdateSecretRequest ¶
func CreateUpdateSecretRequest() (request *UpdateSecretRequest)
CreateUpdateSecretRequest creates a request to invoke UpdateSecret API
type UpdateSecretResponse ¶
type UpdateSecretResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` SecretName string `json:"SecretName" xml:"SecretName"` }
UpdateSecretResponse is the response struct for api UpdateSecret
func CreateUpdateSecretResponse ¶
func CreateUpdateSecretResponse() (response *UpdateSecretResponse)
CreateUpdateSecretResponse creates a response to parse from UpdateSecret response
type UpdateSecretVersionStageRequest ¶
type UpdateSecretVersionStageRequest struct { *requests.RpcRequest RemoveFromVersion string `position:"Query" name:"RemoveFromVersion"` MoveToVersion string `position:"Query" name:"MoveToVersion"` VersionStage string `position:"Query" name:"VersionStage"` SecretName string `position:"Query" name:"SecretName"` }
UpdateSecretVersionStageRequest is the request struct for api UpdateSecretVersionStage
func CreateUpdateSecretVersionStageRequest ¶
func CreateUpdateSecretVersionStageRequest() (request *UpdateSecretVersionStageRequest)
CreateUpdateSecretVersionStageRequest creates a request to invoke UpdateSecretVersionStage API
type UpdateSecretVersionStageResponse ¶
type UpdateSecretVersionStageResponse struct { *responses.BaseResponse SecretName string `json:"SecretName" xml:"SecretName"` RequestId string `json:"RequestId" xml:"RequestId"` }
UpdateSecretVersionStageResponse is the response struct for api UpdateSecretVersionStage
func CreateUpdateSecretVersionStageResponse ¶
func CreateUpdateSecretVersionStageResponse() (response *UpdateSecretVersionStageResponse)
CreateUpdateSecretVersionStageResponse creates a response to parse from UpdateSecretVersionStage response
type Usages ¶
type Usages struct {
Usage []string `json:"Usage" xml:"Usage"`
}
Usages is a nested struct in kms response
type VersionId ¶
type VersionId struct { CreateTime string `json:"CreateTime" xml:"CreateTime"` VersionId string `json:"VersionId" xml:"VersionId"` VersionStages []string `json:"VersionStages" xml:"VersionStages"` }
VersionId is a nested struct in kms response
type VersionIds ¶
type VersionIds struct {
VersionId []VersionId `json:"VersionId" xml:"VersionId"`
}
VersionIds is a nested struct in kms response
type VersionStagesInGetSecretValue ¶
type VersionStagesInGetSecretValue struct {
VersionStage []string `json:"VersionStage" xml:"VersionStage"`
}
VersionStagesInGetSecretValue is a nested struct in kms response
type VersionStagesInListSecretVersionIds ¶
type VersionStagesInListSecretVersionIds struct {
VersionStage []string `json:"VersionStage" xml:"VersionStage"`
}
VersionStagesInListSecretVersionIds is a nested struct in kms response
type VersionStagesInPutSecretValue ¶
type VersionStagesInPutSecretValue struct {
VersionStage []string `json:"VersionStage" xml:"VersionStage"`
}
VersionStagesInPutSecretValue is a nested struct in kms response
Source Files ¶
- asymmetric_decrypt.go
- asymmetric_encrypt.go
- asymmetric_sign.go
- asymmetric_verify.go
- cancel_key_deletion.go
- client.go
- create_alias.go
- create_key.go
- create_key_version.go
- create_secret.go
- decrypt.go
- delete_alias.go
- delete_key_material.go
- delete_secret.go
- describe_key.go
- describe_key_version.go
- describe_regions.go
- describe_secret.go
- describe_service.go
- disable_key.go
- enable_key.go
- encrypt.go
- endpoint.go
- generate_data_key.go
- generate_data_key_without_plaintext.go
- get_parameters_for_import.go
- get_public_key.go
- get_random_password.go
- get_secret_value.go
- import_key_material.go
- list_aliases.go
- list_aliases_by_key_id.go
- list_key_versions.go
- list_keys.go
- list_resource_tags.go
- list_secret_version_ids.go
- list_secrets.go
- put_secret_value.go
- restore_secret.go
- schedule_key_deletion.go
- struct_alias.go
- struct_aliases_in_list_aliases.go
- struct_aliases_in_list_aliases_by_key_id.go
- struct_key.go
- struct_key_metadata.go
- struct_key_spec.go
- struct_key_specs.go
- struct_key_version.go
- struct_key_versions.go
- struct_keys.go
- struct_protection_level.go
- struct_protection_levels.go
- struct_region.go
- struct_regions.go
- struct_secret.go
- struct_secret_list.go
- struct_supported_protection_levels.go
- struct_tag.go
- struct_tags_in_describe_secret.go
- struct_tags_in_list_resource_tags.go
- struct_tags_in_list_secrets.go
- struct_usages.go
- struct_version_id.go
- struct_version_ids.go
- struct_version_stages_in_get_secret_value.go
- struct_version_stages_in_list_secret_version_ids.go
- struct_version_stages_in_put_secret_value.go
- tag_resource.go
- untag_resource.go
- update_alias.go
- update_key_description.go
- update_rotation_policy.go
- update_secret.go
- update_secret_version_stage.go