Documentation
¶
Overview ¶
This file is auto-generated, don't edit it. Thanks.
Index ¶
- type AsymmetricDecryptRequest
- func (s AsymmetricDecryptRequest) GoString() string
- func (s *AsymmetricDecryptRequest) SetAlgorithm(v string) *AsymmetricDecryptRequest
- func (s *AsymmetricDecryptRequest) SetCiphertextBlob(v string) *AsymmetricDecryptRequest
- func (s *AsymmetricDecryptRequest) SetDryRun(v string) *AsymmetricDecryptRequest
- func (s *AsymmetricDecryptRequest) SetKeyId(v string) *AsymmetricDecryptRequest
- func (s *AsymmetricDecryptRequest) SetKeyVersionId(v string) *AsymmetricDecryptRequest
- func (s AsymmetricDecryptRequest) String() string
- type AsymmetricDecryptResponse
- func (s AsymmetricDecryptResponse) GoString() string
- func (s *AsymmetricDecryptResponse) SetBody(v *AsymmetricDecryptResponseBody) *AsymmetricDecryptResponse
- func (s *AsymmetricDecryptResponse) SetHeaders(v map[string]*string) *AsymmetricDecryptResponse
- func (s *AsymmetricDecryptResponse) SetStatusCode(v int32) *AsymmetricDecryptResponse
- func (s AsymmetricDecryptResponse) String() string
- type AsymmetricDecryptResponseBody
- func (s AsymmetricDecryptResponseBody) GoString() string
- func (s *AsymmetricDecryptResponseBody) SetKeyId(v string) *AsymmetricDecryptResponseBody
- func (s *AsymmetricDecryptResponseBody) SetKeyVersionId(v string) *AsymmetricDecryptResponseBody
- func (s *AsymmetricDecryptResponseBody) SetPlaintext(v string) *AsymmetricDecryptResponseBody
- func (s *AsymmetricDecryptResponseBody) SetRequestId(v string) *AsymmetricDecryptResponseBody
- func (s AsymmetricDecryptResponseBody) String() string
- type AsymmetricEncryptRequest
- func (s AsymmetricEncryptRequest) GoString() string
- func (s *AsymmetricEncryptRequest) SetAlgorithm(v string) *AsymmetricEncryptRequest
- func (s *AsymmetricEncryptRequest) SetDryRun(v string) *AsymmetricEncryptRequest
- func (s *AsymmetricEncryptRequest) SetKeyId(v string) *AsymmetricEncryptRequest
- func (s *AsymmetricEncryptRequest) SetKeyVersionId(v string) *AsymmetricEncryptRequest
- func (s *AsymmetricEncryptRequest) SetPlaintext(v string) *AsymmetricEncryptRequest
- func (s AsymmetricEncryptRequest) String() string
- type AsymmetricEncryptResponse
- func (s AsymmetricEncryptResponse) GoString() string
- func (s *AsymmetricEncryptResponse) SetBody(v *AsymmetricEncryptResponseBody) *AsymmetricEncryptResponse
- func (s *AsymmetricEncryptResponse) SetHeaders(v map[string]*string) *AsymmetricEncryptResponse
- func (s *AsymmetricEncryptResponse) SetStatusCode(v int32) *AsymmetricEncryptResponse
- func (s AsymmetricEncryptResponse) String() string
- type AsymmetricEncryptResponseBody
- func (s AsymmetricEncryptResponseBody) GoString() string
- func (s *AsymmetricEncryptResponseBody) SetCiphertextBlob(v string) *AsymmetricEncryptResponseBody
- func (s *AsymmetricEncryptResponseBody) SetKeyId(v string) *AsymmetricEncryptResponseBody
- func (s *AsymmetricEncryptResponseBody) SetKeyVersionId(v string) *AsymmetricEncryptResponseBody
- func (s *AsymmetricEncryptResponseBody) SetRequestId(v string) *AsymmetricEncryptResponseBody
- func (s AsymmetricEncryptResponseBody) String() string
- type AsymmetricSignRequest
- func (s AsymmetricSignRequest) GoString() string
- func (s *AsymmetricSignRequest) SetAlgorithm(v string) *AsymmetricSignRequest
- func (s *AsymmetricSignRequest) SetDigest(v string) *AsymmetricSignRequest
- func (s *AsymmetricSignRequest) SetDryRun(v string) *AsymmetricSignRequest
- func (s *AsymmetricSignRequest) SetKeyId(v string) *AsymmetricSignRequest
- func (s *AsymmetricSignRequest) SetKeyVersionId(v string) *AsymmetricSignRequest
- func (s AsymmetricSignRequest) String() string
- type AsymmetricSignResponse
- func (s AsymmetricSignResponse) GoString() string
- func (s *AsymmetricSignResponse) SetBody(v *AsymmetricSignResponseBody) *AsymmetricSignResponse
- func (s *AsymmetricSignResponse) SetHeaders(v map[string]*string) *AsymmetricSignResponse
- func (s *AsymmetricSignResponse) SetStatusCode(v int32) *AsymmetricSignResponse
- func (s AsymmetricSignResponse) String() string
- type AsymmetricSignResponseBody
- func (s AsymmetricSignResponseBody) GoString() string
- func (s *AsymmetricSignResponseBody) SetKeyId(v string) *AsymmetricSignResponseBody
- func (s *AsymmetricSignResponseBody) SetKeyVersionId(v string) *AsymmetricSignResponseBody
- func (s *AsymmetricSignResponseBody) SetRequestId(v string) *AsymmetricSignResponseBody
- func (s *AsymmetricSignResponseBody) SetValue(v string) *AsymmetricSignResponseBody
- func (s AsymmetricSignResponseBody) String() string
- type AsymmetricVerifyRequest
- func (s AsymmetricVerifyRequest) GoString() string
- func (s *AsymmetricVerifyRequest) SetAlgorithm(v string) *AsymmetricVerifyRequest
- func (s *AsymmetricVerifyRequest) SetDigest(v string) *AsymmetricVerifyRequest
- func (s *AsymmetricVerifyRequest) SetDryRun(v string) *AsymmetricVerifyRequest
- func (s *AsymmetricVerifyRequest) SetKeyId(v string) *AsymmetricVerifyRequest
- func (s *AsymmetricVerifyRequest) SetKeyVersionId(v string) *AsymmetricVerifyRequest
- func (s *AsymmetricVerifyRequest) SetValue(v string) *AsymmetricVerifyRequest
- func (s AsymmetricVerifyRequest) String() string
- type AsymmetricVerifyResponse
- func (s AsymmetricVerifyResponse) GoString() string
- func (s *AsymmetricVerifyResponse) SetBody(v *AsymmetricVerifyResponseBody) *AsymmetricVerifyResponse
- func (s *AsymmetricVerifyResponse) SetHeaders(v map[string]*string) *AsymmetricVerifyResponse
- func (s *AsymmetricVerifyResponse) SetStatusCode(v int32) *AsymmetricVerifyResponse
- func (s AsymmetricVerifyResponse) String() string
- type AsymmetricVerifyResponseBody
- func (s AsymmetricVerifyResponseBody) GoString() string
- func (s *AsymmetricVerifyResponseBody) SetKeyId(v string) *AsymmetricVerifyResponseBody
- func (s *AsymmetricVerifyResponseBody) SetKeyVersionId(v string) *AsymmetricVerifyResponseBody
- func (s *AsymmetricVerifyResponseBody) SetRequestId(v string) *AsymmetricVerifyResponseBody
- func (s *AsymmetricVerifyResponseBody) SetValue(v bool) *AsymmetricVerifyResponseBody
- func (s AsymmetricVerifyResponseBody) String() string
- type CancelKeyDeletionRequest
- type CancelKeyDeletionResponse
- func (s CancelKeyDeletionResponse) GoString() string
- func (s *CancelKeyDeletionResponse) SetBody(v *CancelKeyDeletionResponseBody) *CancelKeyDeletionResponse
- func (s *CancelKeyDeletionResponse) SetHeaders(v map[string]*string) *CancelKeyDeletionResponse
- func (s *CancelKeyDeletionResponse) SetStatusCode(v int32) *CancelKeyDeletionResponse
- func (s CancelKeyDeletionResponse) String() string
- type CancelKeyDeletionResponseBody
- type CertificatePrivateKeyDecryptRequest
- func (s CertificatePrivateKeyDecryptRequest) GoString() string
- func (s *CertificatePrivateKeyDecryptRequest) SetAlgorithm(v string) *CertificatePrivateKeyDecryptRequest
- func (s *CertificatePrivateKeyDecryptRequest) SetCertificateId(v string) *CertificatePrivateKeyDecryptRequest
- func (s *CertificatePrivateKeyDecryptRequest) SetCiphertextBlob(v string) *CertificatePrivateKeyDecryptRequest
- func (s CertificatePrivateKeyDecryptRequest) String() string
- type CertificatePrivateKeyDecryptResponse
- func (s CertificatePrivateKeyDecryptResponse) GoString() string
- func (s *CertificatePrivateKeyDecryptResponse) SetBody(v *CertificatePrivateKeyDecryptResponseBody) *CertificatePrivateKeyDecryptResponse
- func (s *CertificatePrivateKeyDecryptResponse) SetHeaders(v map[string]*string) *CertificatePrivateKeyDecryptResponse
- func (s *CertificatePrivateKeyDecryptResponse) SetStatusCode(v int32) *CertificatePrivateKeyDecryptResponse
- func (s CertificatePrivateKeyDecryptResponse) String() string
- type CertificatePrivateKeyDecryptResponseBody
- func (s CertificatePrivateKeyDecryptResponseBody) GoString() string
- func (s *CertificatePrivateKeyDecryptResponseBody) SetCertificateId(v string) *CertificatePrivateKeyDecryptResponseBody
- func (s *CertificatePrivateKeyDecryptResponseBody) SetPlaintext(v string) *CertificatePrivateKeyDecryptResponseBody
- func (s *CertificatePrivateKeyDecryptResponseBody) SetRequestId(v string) *CertificatePrivateKeyDecryptResponseBody
- func (s CertificatePrivateKeyDecryptResponseBody) String() string
- type CertificatePrivateKeySignRequest
- func (s CertificatePrivateKeySignRequest) GoString() string
- func (s *CertificatePrivateKeySignRequest) SetAlgorithm(v string) *CertificatePrivateKeySignRequest
- func (s *CertificatePrivateKeySignRequest) SetCertificateId(v string) *CertificatePrivateKeySignRequest
- func (s *CertificatePrivateKeySignRequest) SetMessage(v string) *CertificatePrivateKeySignRequest
- func (s *CertificatePrivateKeySignRequest) SetMessageType(v string) *CertificatePrivateKeySignRequest
- func (s CertificatePrivateKeySignRequest) String() string
- type CertificatePrivateKeySignResponse
- func (s CertificatePrivateKeySignResponse) GoString() string
- func (s *CertificatePrivateKeySignResponse) SetBody(v *CertificatePrivateKeySignResponseBody) *CertificatePrivateKeySignResponse
- func (s *CertificatePrivateKeySignResponse) SetHeaders(v map[string]*string) *CertificatePrivateKeySignResponse
- func (s *CertificatePrivateKeySignResponse) SetStatusCode(v int32) *CertificatePrivateKeySignResponse
- func (s CertificatePrivateKeySignResponse) String() string
- type CertificatePrivateKeySignResponseBody
- func (s CertificatePrivateKeySignResponseBody) GoString() string
- func (s *CertificatePrivateKeySignResponseBody) SetCertificateId(v string) *CertificatePrivateKeySignResponseBody
- func (s *CertificatePrivateKeySignResponseBody) SetRequestId(v string) *CertificatePrivateKeySignResponseBody
- func (s *CertificatePrivateKeySignResponseBody) SetSignatureValue(v string) *CertificatePrivateKeySignResponseBody
- func (s CertificatePrivateKeySignResponseBody) String() string
- type CertificatePublicKeyEncryptRequest
- func (s CertificatePublicKeyEncryptRequest) GoString() string
- func (s *CertificatePublicKeyEncryptRequest) SetAlgorithm(v string) *CertificatePublicKeyEncryptRequest
- func (s *CertificatePublicKeyEncryptRequest) SetCertificateId(v string) *CertificatePublicKeyEncryptRequest
- func (s *CertificatePublicKeyEncryptRequest) SetPlaintext(v string) *CertificatePublicKeyEncryptRequest
- func (s CertificatePublicKeyEncryptRequest) String() string
- type CertificatePublicKeyEncryptResponse
- func (s CertificatePublicKeyEncryptResponse) GoString() string
- func (s *CertificatePublicKeyEncryptResponse) SetBody(v *CertificatePublicKeyEncryptResponseBody) *CertificatePublicKeyEncryptResponse
- func (s *CertificatePublicKeyEncryptResponse) SetHeaders(v map[string]*string) *CertificatePublicKeyEncryptResponse
- func (s *CertificatePublicKeyEncryptResponse) SetStatusCode(v int32) *CertificatePublicKeyEncryptResponse
- func (s CertificatePublicKeyEncryptResponse) String() string
- type CertificatePublicKeyEncryptResponseBody
- func (s CertificatePublicKeyEncryptResponseBody) GoString() string
- func (s *CertificatePublicKeyEncryptResponseBody) SetCertificateId(v string) *CertificatePublicKeyEncryptResponseBody
- func (s *CertificatePublicKeyEncryptResponseBody) SetCiphertextBlob(v string) *CertificatePublicKeyEncryptResponseBody
- func (s *CertificatePublicKeyEncryptResponseBody) SetRequestId(v string) *CertificatePublicKeyEncryptResponseBody
- func (s CertificatePublicKeyEncryptResponseBody) String() string
- type CertificatePublicKeyVerifyRequest
- func (s CertificatePublicKeyVerifyRequest) GoString() string
- func (s *CertificatePublicKeyVerifyRequest) SetAlgorithm(v string) *CertificatePublicKeyVerifyRequest
- func (s *CertificatePublicKeyVerifyRequest) SetCertificateId(v string) *CertificatePublicKeyVerifyRequest
- func (s *CertificatePublicKeyVerifyRequest) SetMessage(v string) *CertificatePublicKeyVerifyRequest
- func (s *CertificatePublicKeyVerifyRequest) SetMessageType(v string) *CertificatePublicKeyVerifyRequest
- func (s *CertificatePublicKeyVerifyRequest) SetSignatureValue(v string) *CertificatePublicKeyVerifyRequest
- func (s CertificatePublicKeyVerifyRequest) String() string
- type CertificatePublicKeyVerifyResponse
- func (s CertificatePublicKeyVerifyResponse) GoString() string
- func (s *CertificatePublicKeyVerifyResponse) SetBody(v *CertificatePublicKeyVerifyResponseBody) *CertificatePublicKeyVerifyResponse
- func (s *CertificatePublicKeyVerifyResponse) SetHeaders(v map[string]*string) *CertificatePublicKeyVerifyResponse
- func (s *CertificatePublicKeyVerifyResponse) SetStatusCode(v int32) *CertificatePublicKeyVerifyResponse
- func (s CertificatePublicKeyVerifyResponse) String() string
- type CertificatePublicKeyVerifyResponseBody
- func (s CertificatePublicKeyVerifyResponseBody) GoString() string
- func (s *CertificatePublicKeyVerifyResponseBody) SetCertificateId(v string) *CertificatePublicKeyVerifyResponseBody
- func (s *CertificatePublicKeyVerifyResponseBody) SetRequestId(v string) *CertificatePublicKeyVerifyResponseBody
- func (s *CertificatePublicKeyVerifyResponseBody) SetSignatureValid(v bool) *CertificatePublicKeyVerifyResponseBody
- func (s CertificatePublicKeyVerifyResponseBody) String() string
- type Client
- func (client *Client) AsymmetricDecrypt(request *AsymmetricDecryptRequest) (_result *AsymmetricDecryptResponse, _err error)
- func (client *Client) AsymmetricDecryptWithOptions(request *AsymmetricDecryptRequest, runtime *util.RuntimeOptions) (_result *AsymmetricDecryptResponse, _err error)
- func (client *Client) AsymmetricEncrypt(request *AsymmetricEncryptRequest) (_result *AsymmetricEncryptResponse, _err error)
- func (client *Client) AsymmetricEncryptWithOptions(request *AsymmetricEncryptRequest, runtime *util.RuntimeOptions) (_result *AsymmetricEncryptResponse, _err error)
- func (client *Client) AsymmetricSign(request *AsymmetricSignRequest) (_result *AsymmetricSignResponse, _err error)
- func (client *Client) AsymmetricSignWithOptions(request *AsymmetricSignRequest, runtime *util.RuntimeOptions) (_result *AsymmetricSignResponse, _err error)
- func (client *Client) AsymmetricVerify(request *AsymmetricVerifyRequest) (_result *AsymmetricVerifyResponse, _err error)
- func (client *Client) AsymmetricVerifyWithOptions(request *AsymmetricVerifyRequest, runtime *util.RuntimeOptions) (_result *AsymmetricVerifyResponse, _err error)
- func (client *Client) CancelKeyDeletion(request *CancelKeyDeletionRequest) (_result *CancelKeyDeletionResponse, _err error)
- func (client *Client) CancelKeyDeletionWithOptions(request *CancelKeyDeletionRequest, runtime *util.RuntimeOptions) (_result *CancelKeyDeletionResponse, _err error)
- func (client *Client) CertificatePrivateKeyDecrypt(request *CertificatePrivateKeyDecryptRequest) (_result *CertificatePrivateKeyDecryptResponse, _err error)
- func (client *Client) CertificatePrivateKeyDecryptWithOptions(request *CertificatePrivateKeyDecryptRequest, runtime *util.RuntimeOptions) (_result *CertificatePrivateKeyDecryptResponse, _err error)
- func (client *Client) CertificatePrivateKeySign(request *CertificatePrivateKeySignRequest) (_result *CertificatePrivateKeySignResponse, _err error)
- func (client *Client) CertificatePrivateKeySignWithOptions(request *CertificatePrivateKeySignRequest, runtime *util.RuntimeOptions) (_result *CertificatePrivateKeySignResponse, _err error)
- func (client *Client) CertificatePublicKeyEncrypt(request *CertificatePublicKeyEncryptRequest) (_result *CertificatePublicKeyEncryptResponse, _err error)
- func (client *Client) CertificatePublicKeyEncryptWithOptions(request *CertificatePublicKeyEncryptRequest, runtime *util.RuntimeOptions) (_result *CertificatePublicKeyEncryptResponse, _err error)
- func (client *Client) CertificatePublicKeyVerify(request *CertificatePublicKeyVerifyRequest) (_result *CertificatePublicKeyVerifyResponse, _err error)
- func (client *Client) CertificatePublicKeyVerifyWithOptions(request *CertificatePublicKeyVerifyRequest, runtime *util.RuntimeOptions) (_result *CertificatePublicKeyVerifyResponse, _err error)
- func (client *Client) ConnectKmsInstance(request *ConnectKmsInstanceRequest) (_result *ConnectKmsInstanceResponse, _err error)
- func (client *Client) ConnectKmsInstanceWithOptions(request *ConnectKmsInstanceRequest, runtime *util.RuntimeOptions) (_result *ConnectKmsInstanceResponse, _err error)
- func (client *Client) CreateAlias(request *CreateAliasRequest) (_result *CreateAliasResponse, _err error)
- func (client *Client) CreateAliasWithOptions(request *CreateAliasRequest, runtime *util.RuntimeOptions) (_result *CreateAliasResponse, _err error)
- func (client *Client) CreateApplicationAccessPoint(request *CreateApplicationAccessPointRequest) (_result *CreateApplicationAccessPointResponse, _err error)
- func (client *Client) CreateApplicationAccessPointWithOptions(request *CreateApplicationAccessPointRequest, runtime *util.RuntimeOptions) (_result *CreateApplicationAccessPointResponse, _err error)
- func (client *Client) CreateCertificate(request *CreateCertificateRequest) (_result *CreateCertificateResponse, _err error)
- func (client *Client) CreateCertificateWithOptions(tmpReq *CreateCertificateRequest, runtime *util.RuntimeOptions) (_result *CreateCertificateResponse, _err error)
- func (client *Client) CreateClientKey(request *CreateClientKeyRequest) (_result *CreateClientKeyResponse, _err error)
- func (client *Client) CreateClientKeyWithOptions(request *CreateClientKeyRequest, runtime *util.RuntimeOptions) (_result *CreateClientKeyResponse, _err error)
- func (client *Client) CreateKey(request *CreateKeyRequest) (_result *CreateKeyResponse, _err error)
- func (client *Client) CreateKeyVersion(request *CreateKeyVersionRequest) (_result *CreateKeyVersionResponse, _err error)
- func (client *Client) CreateKeyVersionWithOptions(request *CreateKeyVersionRequest, runtime *util.RuntimeOptions) (_result *CreateKeyVersionResponse, _err error)
- func (client *Client) CreateKeyWithOptions(request *CreateKeyRequest, runtime *util.RuntimeOptions) (_result *CreateKeyResponse, _err error)
- func (client *Client) CreateNetworkRule(request *CreateNetworkRuleRequest) (_result *CreateNetworkRuleResponse, _err error)
- func (client *Client) CreateNetworkRuleWithOptions(request *CreateNetworkRuleRequest, runtime *util.RuntimeOptions) (_result *CreateNetworkRuleResponse, _err error)
- func (client *Client) CreatePolicy(request *CreatePolicyRequest) (_result *CreatePolicyResponse, _err error)
- func (client *Client) CreatePolicyWithOptions(request *CreatePolicyRequest, runtime *util.RuntimeOptions) (_result *CreatePolicyResponse, _err error)
- func (client *Client) CreateSecret(request *CreateSecretRequest) (_result *CreateSecretResponse, _err error)
- func (client *Client) CreateSecretWithOptions(tmpReq *CreateSecretRequest, runtime *util.RuntimeOptions) (_result *CreateSecretResponse, _err error)
- func (client *Client) Decrypt(request *DecryptRequest) (_result *DecryptResponse, _err error)
- func (client *Client) DecryptWithOptions(tmpReq *DecryptRequest, runtime *util.RuntimeOptions) (_result *DecryptResponse, _err error)
- func (client *Client) DeleteAlias(request *DeleteAliasRequest) (_result *DeleteAliasResponse, _err error)
- func (client *Client) DeleteAliasWithOptions(request *DeleteAliasRequest, runtime *util.RuntimeOptions) (_result *DeleteAliasResponse, _err error)
- func (client *Client) DeleteApplicationAccessPoint(request *DeleteApplicationAccessPointRequest) (_result *DeleteApplicationAccessPointResponse, _err error)
- func (client *Client) DeleteApplicationAccessPointWithOptions(request *DeleteApplicationAccessPointRequest, runtime *util.RuntimeOptions) (_result *DeleteApplicationAccessPointResponse, _err error)
- func (client *Client) DeleteCertificate(request *DeleteCertificateRequest) (_result *DeleteCertificateResponse, _err error)
- func (client *Client) DeleteCertificateWithOptions(request *DeleteCertificateRequest, runtime *util.RuntimeOptions) (_result *DeleteCertificateResponse, _err error)
- func (client *Client) DeleteClientKey(request *DeleteClientKeyRequest) (_result *DeleteClientKeyResponse, _err error)
- func (client *Client) DeleteClientKeyWithOptions(request *DeleteClientKeyRequest, runtime *util.RuntimeOptions) (_result *DeleteClientKeyResponse, _err error)
- func (client *Client) DeleteKeyMaterial(request *DeleteKeyMaterialRequest) (_result *DeleteKeyMaterialResponse, _err error)
- func (client *Client) DeleteKeyMaterialWithOptions(request *DeleteKeyMaterialRequest, runtime *util.RuntimeOptions) (_result *DeleteKeyMaterialResponse, _err error)
- func (client *Client) DeleteNetworkRule(request *DeleteNetworkRuleRequest) (_result *DeleteNetworkRuleResponse, _err error)
- func (client *Client) DeleteNetworkRuleWithOptions(request *DeleteNetworkRuleRequest, runtime *util.RuntimeOptions) (_result *DeleteNetworkRuleResponse, _err error)
- func (client *Client) DeletePolicy(request *DeletePolicyRequest) (_result *DeletePolicyResponse, _err error)
- func (client *Client) DeletePolicyWithOptions(request *DeletePolicyRequest, runtime *util.RuntimeOptions) (_result *DeletePolicyResponse, _err error)
- func (client *Client) DeleteSecret(request *DeleteSecretRequest) (_result *DeleteSecretResponse, _err error)
- func (client *Client) DeleteSecretWithOptions(request *DeleteSecretRequest, runtime *util.RuntimeOptions) (_result *DeleteSecretResponse, _err error)
- func (client *Client) DescribeAccountKmsStatus() (_result *DescribeAccountKmsStatusResponse, _err error)
- func (client *Client) DescribeAccountKmsStatusWithOptions(runtime *util.RuntimeOptions) (_result *DescribeAccountKmsStatusResponse, _err error)
- func (client *Client) DescribeApplicationAccessPoint(request *DescribeApplicationAccessPointRequest) (_result *DescribeApplicationAccessPointResponse, _err error)
- func (client *Client) DescribeApplicationAccessPointWithOptions(request *DescribeApplicationAccessPointRequest, runtime *util.RuntimeOptions) (_result *DescribeApplicationAccessPointResponse, _err error)
- func (client *Client) DescribeCertificate(request *DescribeCertificateRequest) (_result *DescribeCertificateResponse, _err error)
- func (client *Client) DescribeCertificateWithOptions(request *DescribeCertificateRequest, runtime *util.RuntimeOptions) (_result *DescribeCertificateResponse, _err error)
- func (client *Client) DescribeKey(request *DescribeKeyRequest) (_result *DescribeKeyResponse, _err error)
- func (client *Client) DescribeKeyVersion(request *DescribeKeyVersionRequest) (_result *DescribeKeyVersionResponse, _err error)
- func (client *Client) DescribeKeyVersionWithOptions(request *DescribeKeyVersionRequest, runtime *util.RuntimeOptions) (_result *DescribeKeyVersionResponse, _err error)
- func (client *Client) DescribeKeyWithOptions(request *DescribeKeyRequest, runtime *util.RuntimeOptions) (_result *DescribeKeyResponse, _err error)
- func (client *Client) DescribeNetworkRule(request *DescribeNetworkRuleRequest) (_result *DescribeNetworkRuleResponse, _err error)
- func (client *Client) DescribeNetworkRuleWithOptions(request *DescribeNetworkRuleRequest, runtime *util.RuntimeOptions) (_result *DescribeNetworkRuleResponse, _err error)
- func (client *Client) DescribePolicy(request *DescribePolicyRequest) (_result *DescribePolicyResponse, _err error)
- func (client *Client) DescribePolicyWithOptions(request *DescribePolicyRequest, runtime *util.RuntimeOptions) (_result *DescribePolicyResponse, _err error)
- func (client *Client) DescribeRegions() (_result *DescribeRegionsResponse, _err error)
- func (client *Client) DescribeRegionsWithOptions(runtime *util.RuntimeOptions) (_result *DescribeRegionsResponse, _err error)
- func (client *Client) DescribeSecret(request *DescribeSecretRequest) (_result *DescribeSecretResponse, _err error)
- func (client *Client) DescribeSecretWithOptions(request *DescribeSecretRequest, runtime *util.RuntimeOptions) (_result *DescribeSecretResponse, _err error)
- func (client *Client) DisableKey(request *DisableKeyRequest) (_result *DisableKeyResponse, _err error)
- func (client *Client) DisableKeyWithOptions(request *DisableKeyRequest, runtime *util.RuntimeOptions) (_result *DisableKeyResponse, _err error)
- func (client *Client) EnableKey(request *EnableKeyRequest) (_result *EnableKeyResponse, _err error)
- func (client *Client) EnableKeyWithOptions(request *EnableKeyRequest, runtime *util.RuntimeOptions) (_result *EnableKeyResponse, _err error)
- func (client *Client) Encrypt(request *EncryptRequest) (_result *EncryptResponse, _err error)
- func (client *Client) EncryptWithOptions(tmpReq *EncryptRequest, runtime *util.RuntimeOptions) (_result *EncryptResponse, _err error)
- func (client *Client) ExportDataKey(request *ExportDataKeyRequest) (_result *ExportDataKeyResponse, _err error)
- func (client *Client) ExportDataKeyWithOptions(tmpReq *ExportDataKeyRequest, runtime *util.RuntimeOptions) (_result *ExportDataKeyResponse, _err error)
- func (client *Client) GenerateAndExportDataKey(request *GenerateAndExportDataKeyRequest) (_result *GenerateAndExportDataKeyResponse, _err error)
- func (client *Client) GenerateAndExportDataKeyWithOptions(tmpReq *GenerateAndExportDataKeyRequest, runtime *util.RuntimeOptions) (_result *GenerateAndExportDataKeyResponse, _err error)
- func (client *Client) GenerateDataKey(request *GenerateDataKeyRequest) (_result *GenerateDataKeyResponse, _err error)
- func (client *Client) GenerateDataKeyWithOptions(tmpReq *GenerateDataKeyRequest, runtime *util.RuntimeOptions) (_result *GenerateDataKeyResponse, _err error)
- func (client *Client) GenerateDataKeyWithoutPlaintext(request *GenerateDataKeyWithoutPlaintextRequest) (_result *GenerateDataKeyWithoutPlaintextResponse, _err error)
- func (client *Client) GenerateDataKeyWithoutPlaintextWithOptions(tmpReq *GenerateDataKeyWithoutPlaintextRequest, runtime *util.RuntimeOptions) (_result *GenerateDataKeyWithoutPlaintextResponse, _err error)
- func (client *Client) GetCertificate(request *GetCertificateRequest) (_result *GetCertificateResponse, _err error)
- func (client *Client) GetCertificateWithOptions(request *GetCertificateRequest, runtime *util.RuntimeOptions) (_result *GetCertificateResponse, _err error)
- func (client *Client) GetClientKey(request *GetClientKeyRequest) (_result *GetClientKeyResponse, _err error)
- func (client *Client) GetClientKeyWithOptions(request *GetClientKeyRequest, runtime *util.RuntimeOptions) (_result *GetClientKeyResponse, _err error)
- func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, ...) (_result *string, _err error)
- func (client *Client) GetKeyPolicy(request *GetKeyPolicyRequest) (_result *GetKeyPolicyResponse, _err error)
- func (client *Client) GetKeyPolicyWithOptions(request *GetKeyPolicyRequest, runtime *util.RuntimeOptions) (_result *GetKeyPolicyResponse, _err error)
- func (client *Client) GetKmsInstance(request *GetKmsInstanceRequest) (_result *GetKmsInstanceResponse, _err error)
- func (client *Client) GetKmsInstanceWithOptions(request *GetKmsInstanceRequest, runtime *util.RuntimeOptions) (_result *GetKmsInstanceResponse, _err error)
- func (client *Client) GetParametersForImport(request *GetParametersForImportRequest) (_result *GetParametersForImportResponse, _err error)
- func (client *Client) GetParametersForImportWithOptions(request *GetParametersForImportRequest, runtime *util.RuntimeOptions) (_result *GetParametersForImportResponse, _err error)
- func (client *Client) GetPublicKey(request *GetPublicKeyRequest) (_result *GetPublicKeyResponse, _err error)
- func (client *Client) GetPublicKeyWithOptions(request *GetPublicKeyRequest, runtime *util.RuntimeOptions) (_result *GetPublicKeyResponse, _err error)
- func (client *Client) GetRandomPassword(request *GetRandomPasswordRequest) (_result *GetRandomPasswordResponse, _err error)
- func (client *Client) GetRandomPasswordWithOptions(request *GetRandomPasswordRequest, runtime *util.RuntimeOptions) (_result *GetRandomPasswordResponse, _err error)
- func (client *Client) GetSecretPolicy(request *GetSecretPolicyRequest) (_result *GetSecretPolicyResponse, _err error)
- func (client *Client) GetSecretPolicyWithOptions(request *GetSecretPolicyRequest, runtime *util.RuntimeOptions) (_result *GetSecretPolicyResponse, _err error)
- func (client *Client) GetSecretValue(request *GetSecretValueRequest) (_result *GetSecretValueResponse, _err error)
- func (client *Client) GetSecretValueWithOptions(request *GetSecretValueRequest, runtime *util.RuntimeOptions) (_result *GetSecretValueResponse, _err error)
- func (client *Client) ImportKeyMaterial(request *ImportKeyMaterialRequest) (_result *ImportKeyMaterialResponse, _err error)
- func (client *Client) ImportKeyMaterialWithOptions(request *ImportKeyMaterialRequest, runtime *util.RuntimeOptions) (_result *ImportKeyMaterialResponse, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- func (client *Client) ListAliases(request *ListAliasesRequest) (_result *ListAliasesResponse, _err error)
- func (client *Client) ListAliasesByKeyId(request *ListAliasesByKeyIdRequest) (_result *ListAliasesByKeyIdResponse, _err error)
- func (client *Client) ListAliasesByKeyIdWithOptions(request *ListAliasesByKeyIdRequest, runtime *util.RuntimeOptions) (_result *ListAliasesByKeyIdResponse, _err error)
- func (client *Client) ListAliasesWithOptions(request *ListAliasesRequest, runtime *util.RuntimeOptions) (_result *ListAliasesResponse, _err error)
- func (client *Client) ListApplicationAccessPoints(request *ListApplicationAccessPointsRequest) (_result *ListApplicationAccessPointsResponse, _err error)
- func (client *Client) ListApplicationAccessPointsWithOptions(request *ListApplicationAccessPointsRequest, runtime *util.RuntimeOptions) (_result *ListApplicationAccessPointsResponse, _err error)
- func (client *Client) ListClientKeys(request *ListClientKeysRequest) (_result *ListClientKeysResponse, _err error)
- func (client *Client) ListClientKeysWithOptions(request *ListClientKeysRequest, runtime *util.RuntimeOptions) (_result *ListClientKeysResponse, _err error)
- func (client *Client) ListKeyVersions(request *ListKeyVersionsRequest) (_result *ListKeyVersionsResponse, _err error)
- func (client *Client) ListKeyVersionsWithOptions(request *ListKeyVersionsRequest, runtime *util.RuntimeOptions) (_result *ListKeyVersionsResponse, _err error)
- func (client *Client) ListKeys(request *ListKeysRequest) (_result *ListKeysResponse, _err error)
- func (client *Client) ListKeysWithOptions(request *ListKeysRequest, runtime *util.RuntimeOptions) (_result *ListKeysResponse, _err error)
- func (client *Client) ListKmsInstances(request *ListKmsInstancesRequest) (_result *ListKmsInstancesResponse, _err error)
- func (client *Client) ListKmsInstancesWithOptions(request *ListKmsInstancesRequest, runtime *util.RuntimeOptions) (_result *ListKmsInstancesResponse, _err error)
- func (client *Client) ListNetworkRules(request *ListNetworkRulesRequest) (_result *ListNetworkRulesResponse, _err error)
- func (client *Client) ListNetworkRulesWithOptions(request *ListNetworkRulesRequest, runtime *util.RuntimeOptions) (_result *ListNetworkRulesResponse, _err error)
- func (client *Client) ListPolicies(request *ListPoliciesRequest) (_result *ListPoliciesResponse, _err error)
- func (client *Client) ListPoliciesWithOptions(request *ListPoliciesRequest, runtime *util.RuntimeOptions) (_result *ListPoliciesResponse, _err error)
- func (client *Client) ListResourceTags(request *ListResourceTagsRequest) (_result *ListResourceTagsResponse, _err error)
- func (client *Client) ListResourceTagsWithOptions(request *ListResourceTagsRequest, runtime *util.RuntimeOptions) (_result *ListResourceTagsResponse, _err error)
- func (client *Client) ListSecretVersionIds(request *ListSecretVersionIdsRequest) (_result *ListSecretVersionIdsResponse, _err error)
- func (client *Client) ListSecretVersionIdsWithOptions(request *ListSecretVersionIdsRequest, runtime *util.RuntimeOptions) (_result *ListSecretVersionIdsResponse, _err error)
- func (client *Client) ListSecrets(request *ListSecretsRequest) (_result *ListSecretsResponse, _err error)
- func (client *Client) ListSecretsWithOptions(request *ListSecretsRequest, runtime *util.RuntimeOptions) (_result *ListSecretsResponse, _err error)
- func (client *Client) ListTagResources(request *ListTagResourcesRequest) (_result *ListTagResourcesResponse, _err error)
- func (client *Client) ListTagResourcesWithOptions(request *ListTagResourcesRequest, runtime *util.RuntimeOptions) (_result *ListTagResourcesResponse, _err error)
- func (client *Client) OpenKmsService() (_result *OpenKmsServiceResponse, _err error)
- func (client *Client) OpenKmsServiceWithOptions(runtime *util.RuntimeOptions) (_result *OpenKmsServiceResponse, _err error)
- func (client *Client) PutSecretValue(request *PutSecretValueRequest) (_result *PutSecretValueResponse, _err error)
- func (client *Client) PutSecretValueWithOptions(request *PutSecretValueRequest, runtime *util.RuntimeOptions) (_result *PutSecretValueResponse, _err error)
- func (client *Client) ReEncrypt(request *ReEncryptRequest) (_result *ReEncryptResponse, _err error)
- func (client *Client) ReEncryptWithOptions(tmpReq *ReEncryptRequest, runtime *util.RuntimeOptions) (_result *ReEncryptResponse, _err error)
- func (client *Client) RestoreSecret(request *RestoreSecretRequest) (_result *RestoreSecretResponse, _err error)
- func (client *Client) RestoreSecretWithOptions(request *RestoreSecretRequest, runtime *util.RuntimeOptions) (_result *RestoreSecretResponse, _err error)
- func (client *Client) RotateSecret(request *RotateSecretRequest) (_result *RotateSecretResponse, _err error)
- func (client *Client) RotateSecretWithOptions(request *RotateSecretRequest, runtime *util.RuntimeOptions) (_result *RotateSecretResponse, _err error)
- func (client *Client) ScheduleKeyDeletion(request *ScheduleKeyDeletionRequest) (_result *ScheduleKeyDeletionResponse, _err error)
- func (client *Client) ScheduleKeyDeletionWithOptions(request *ScheduleKeyDeletionRequest, runtime *util.RuntimeOptions) (_result *ScheduleKeyDeletionResponse, _err error)
- func (client *Client) SetDeletionProtection(request *SetDeletionProtectionRequest) (_result *SetDeletionProtectionResponse, _err error)
- func (client *Client) SetDeletionProtectionWithOptions(request *SetDeletionProtectionRequest, runtime *util.RuntimeOptions) (_result *SetDeletionProtectionResponse, _err error)
- func (client *Client) SetKeyPolicy(request *SetKeyPolicyRequest) (_result *SetKeyPolicyResponse, _err error)
- func (client *Client) SetKeyPolicyWithOptions(request *SetKeyPolicyRequest, runtime *util.RuntimeOptions) (_result *SetKeyPolicyResponse, _err error)
- func (client *Client) SetSecretPolicy(request *SetSecretPolicyRequest) (_result *SetSecretPolicyResponse, _err error)
- func (client *Client) SetSecretPolicyWithOptions(request *SetSecretPolicyRequest, runtime *util.RuntimeOptions) (_result *SetSecretPolicyResponse, _err error)
- func (client *Client) TagResource(request *TagResourceRequest) (_result *TagResourceResponse, _err error)
- func (client *Client) TagResourceWithOptions(request *TagResourceRequest, runtime *util.RuntimeOptions) (_result *TagResourceResponse, _err error)
- func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagResourcesResponse, _err error)
- func (client *Client) TagResourcesWithOptions(request *TagResourcesRequest, runtime *util.RuntimeOptions) (_result *TagResourcesResponse, _err error)
- func (client *Client) UntagResource(request *UntagResourceRequest) (_result *UntagResourceResponse, _err error)
- func (client *Client) UntagResourceWithOptions(request *UntagResourceRequest, runtime *util.RuntimeOptions) (_result *UntagResourceResponse, _err error)
- func (client *Client) UntagResources(request *UntagResourcesRequest) (_result *UntagResourcesResponse, _err error)
- func (client *Client) UntagResourcesWithOptions(request *UntagResourcesRequest, runtime *util.RuntimeOptions) (_result *UntagResourcesResponse, _err error)
- func (client *Client) UpdateAlias(request *UpdateAliasRequest) (_result *UpdateAliasResponse, _err error)
- func (client *Client) UpdateAliasWithOptions(request *UpdateAliasRequest, runtime *util.RuntimeOptions) (_result *UpdateAliasResponse, _err error)
- func (client *Client) UpdateApplicationAccessPoint(request *UpdateApplicationAccessPointRequest) (_result *UpdateApplicationAccessPointResponse, _err error)
- func (client *Client) UpdateApplicationAccessPointWithOptions(request *UpdateApplicationAccessPointRequest, runtime *util.RuntimeOptions) (_result *UpdateApplicationAccessPointResponse, _err error)
- func (client *Client) UpdateCertificateStatus(request *UpdateCertificateStatusRequest) (_result *UpdateCertificateStatusResponse, _err error)
- func (client *Client) UpdateCertificateStatusWithOptions(request *UpdateCertificateStatusRequest, runtime *util.RuntimeOptions) (_result *UpdateCertificateStatusResponse, _err error)
- func (client *Client) UpdateKeyDescription(request *UpdateKeyDescriptionRequest) (_result *UpdateKeyDescriptionResponse, _err error)
- func (client *Client) UpdateKeyDescriptionWithOptions(request *UpdateKeyDescriptionRequest, runtime *util.RuntimeOptions) (_result *UpdateKeyDescriptionResponse, _err error)
- func (client *Client) UpdateKmsInstanceBindVpc(request *UpdateKmsInstanceBindVpcRequest) (_result *UpdateKmsInstanceBindVpcResponse, _err error)
- func (client *Client) UpdateKmsInstanceBindVpcWithOptions(request *UpdateKmsInstanceBindVpcRequest, runtime *util.RuntimeOptions) (_result *UpdateKmsInstanceBindVpcResponse, _err error)
- func (client *Client) UpdateNetworkRule(request *UpdateNetworkRuleRequest) (_result *UpdateNetworkRuleResponse, _err error)
- func (client *Client) UpdateNetworkRuleWithOptions(request *UpdateNetworkRuleRequest, runtime *util.RuntimeOptions) (_result *UpdateNetworkRuleResponse, _err error)
- func (client *Client) UpdatePolicy(request *UpdatePolicyRequest) (_result *UpdatePolicyResponse, _err error)
- func (client *Client) UpdatePolicyWithOptions(request *UpdatePolicyRequest, runtime *util.RuntimeOptions) (_result *UpdatePolicyResponse, _err error)
- func (client *Client) UpdateRotationPolicy(request *UpdateRotationPolicyRequest) (_result *UpdateRotationPolicyResponse, _err error)
- func (client *Client) UpdateRotationPolicyWithOptions(request *UpdateRotationPolicyRequest, runtime *util.RuntimeOptions) (_result *UpdateRotationPolicyResponse, _err error)
- func (client *Client) UpdateSecret(request *UpdateSecretRequest) (_result *UpdateSecretResponse, _err error)
- func (client *Client) UpdateSecretRotationPolicy(request *UpdateSecretRotationPolicyRequest) (_result *UpdateSecretRotationPolicyResponse, _err error)
- func (client *Client) UpdateSecretRotationPolicyWithOptions(request *UpdateSecretRotationPolicyRequest, runtime *util.RuntimeOptions) (_result *UpdateSecretRotationPolicyResponse, _err error)
- func (client *Client) UpdateSecretVersionStage(request *UpdateSecretVersionStageRequest) (_result *UpdateSecretVersionStageResponse, _err error)
- func (client *Client) UpdateSecretVersionStageWithOptions(request *UpdateSecretVersionStageRequest, runtime *util.RuntimeOptions) (_result *UpdateSecretVersionStageResponse, _err error)
- func (client *Client) UpdateSecretWithOptions(request *UpdateSecretRequest, runtime *util.RuntimeOptions) (_result *UpdateSecretResponse, _err error)
- func (client *Client) UploadCertificate(request *UploadCertificateRequest) (_result *UploadCertificateResponse, _err error)
- func (client *Client) UploadCertificateWithOptions(request *UploadCertificateRequest, runtime *util.RuntimeOptions) (_result *UploadCertificateResponse, _err error)
- type ConnectKmsInstanceRequest
- func (s ConnectKmsInstanceRequest) GoString() string
- func (s *ConnectKmsInstanceRequest) SetKMProvider(v string) *ConnectKmsInstanceRequest
- func (s *ConnectKmsInstanceRequest) SetKmsInstanceId(v string) *ConnectKmsInstanceRequest
- func (s *ConnectKmsInstanceRequest) SetVSwitchIds(v string) *ConnectKmsInstanceRequest
- func (s *ConnectKmsInstanceRequest) SetVpcId(v string) *ConnectKmsInstanceRequest
- func (s *ConnectKmsInstanceRequest) SetZoneIds(v string) *ConnectKmsInstanceRequest
- func (s ConnectKmsInstanceRequest) String() string
- type ConnectKmsInstanceResponse
- func (s ConnectKmsInstanceResponse) GoString() string
- func (s *ConnectKmsInstanceResponse) SetBody(v *ConnectKmsInstanceResponseBody) *ConnectKmsInstanceResponse
- func (s *ConnectKmsInstanceResponse) SetHeaders(v map[string]*string) *ConnectKmsInstanceResponse
- func (s *ConnectKmsInstanceResponse) SetStatusCode(v int32) *ConnectKmsInstanceResponse
- func (s ConnectKmsInstanceResponse) String() string
- type ConnectKmsInstanceResponseBody
- type CreateAliasRequest
- type CreateAliasResponse
- func (s CreateAliasResponse) GoString() string
- func (s *CreateAliasResponse) SetBody(v *CreateAliasResponseBody) *CreateAliasResponse
- func (s *CreateAliasResponse) SetHeaders(v map[string]*string) *CreateAliasResponse
- func (s *CreateAliasResponse) SetStatusCode(v int32) *CreateAliasResponse
- func (s CreateAliasResponse) String() string
- type CreateAliasResponseBody
- type CreateApplicationAccessPointRequest
- func (s CreateApplicationAccessPointRequest) GoString() string
- func (s *CreateApplicationAccessPointRequest) SetAuthenticationMethod(v string) *CreateApplicationAccessPointRequest
- func (s *CreateApplicationAccessPointRequest) SetDescription(v string) *CreateApplicationAccessPointRequest
- func (s *CreateApplicationAccessPointRequest) SetName(v string) *CreateApplicationAccessPointRequest
- func (s *CreateApplicationAccessPointRequest) SetPolicies(v string) *CreateApplicationAccessPointRequest
- func (s CreateApplicationAccessPointRequest) String() string
- type CreateApplicationAccessPointResponse
- func (s CreateApplicationAccessPointResponse) GoString() string
- func (s *CreateApplicationAccessPointResponse) SetBody(v *CreateApplicationAccessPointResponseBody) *CreateApplicationAccessPointResponse
- func (s *CreateApplicationAccessPointResponse) SetHeaders(v map[string]*string) *CreateApplicationAccessPointResponse
- func (s *CreateApplicationAccessPointResponse) SetStatusCode(v int32) *CreateApplicationAccessPointResponse
- func (s CreateApplicationAccessPointResponse) String() string
- type CreateApplicationAccessPointResponseBody
- func (s CreateApplicationAccessPointResponseBody) GoString() string
- func (s *CreateApplicationAccessPointResponseBody) SetArn(v string) *CreateApplicationAccessPointResponseBody
- func (s *CreateApplicationAccessPointResponseBody) SetAuthenticationMethod(v string) *CreateApplicationAccessPointResponseBody
- func (s *CreateApplicationAccessPointResponseBody) SetDescription(v string) *CreateApplicationAccessPointResponseBody
- func (s *CreateApplicationAccessPointResponseBody) SetName(v string) *CreateApplicationAccessPointResponseBody
- func (s *CreateApplicationAccessPointResponseBody) SetPolicies(v string) *CreateApplicationAccessPointResponseBody
- func (s *CreateApplicationAccessPointResponseBody) SetRequestId(v string) *CreateApplicationAccessPointResponseBody
- func (s CreateApplicationAccessPointResponseBody) String() string
- type CreateCertificateRequest
- func (s CreateCertificateRequest) GoString() string
- func (s *CreateCertificateRequest) SetExportablePrivateKey(v bool) *CreateCertificateRequest
- func (s *CreateCertificateRequest) SetKeySpec(v string) *CreateCertificateRequest
- func (s *CreateCertificateRequest) SetSubject(v string) *CreateCertificateRequest
- func (s *CreateCertificateRequest) SetSubjectAlternativeNames(v map[string]interface{}) *CreateCertificateRequest
- func (s CreateCertificateRequest) String() string
- type CreateCertificateResponse
- func (s CreateCertificateResponse) GoString() string
- func (s *CreateCertificateResponse) SetBody(v *CreateCertificateResponseBody) *CreateCertificateResponse
- func (s *CreateCertificateResponse) SetHeaders(v map[string]*string) *CreateCertificateResponse
- func (s *CreateCertificateResponse) SetStatusCode(v int32) *CreateCertificateResponse
- func (s CreateCertificateResponse) String() string
- type CreateCertificateResponseBody
- func (s CreateCertificateResponseBody) GoString() string
- func (s *CreateCertificateResponseBody) SetArn(v string) *CreateCertificateResponseBody
- func (s *CreateCertificateResponseBody) SetCertificateId(v string) *CreateCertificateResponseBody
- func (s *CreateCertificateResponseBody) SetCsr(v string) *CreateCertificateResponseBody
- func (s *CreateCertificateResponseBody) SetRequestId(v string) *CreateCertificateResponseBody
- func (s CreateCertificateResponseBody) String() string
- type CreateCertificateShrinkRequest
- func (s CreateCertificateShrinkRequest) GoString() string
- func (s *CreateCertificateShrinkRequest) SetExportablePrivateKey(v bool) *CreateCertificateShrinkRequest
- func (s *CreateCertificateShrinkRequest) SetKeySpec(v string) *CreateCertificateShrinkRequest
- func (s *CreateCertificateShrinkRequest) SetSubject(v string) *CreateCertificateShrinkRequest
- func (s *CreateCertificateShrinkRequest) SetSubjectAlternativeNamesShrink(v string) *CreateCertificateShrinkRequest
- func (s CreateCertificateShrinkRequest) String() string
- type CreateClientKeyRequest
- func (s CreateClientKeyRequest) GoString() string
- func (s *CreateClientKeyRequest) SetAapName(v string) *CreateClientKeyRequest
- func (s *CreateClientKeyRequest) SetNotAfter(v string) *CreateClientKeyRequest
- func (s *CreateClientKeyRequest) SetNotBefore(v string) *CreateClientKeyRequest
- func (s *CreateClientKeyRequest) SetPassword(v string) *CreateClientKeyRequest
- func (s CreateClientKeyRequest) String() string
- type CreateClientKeyResponse
- func (s CreateClientKeyResponse) GoString() string
- func (s *CreateClientKeyResponse) SetBody(v *CreateClientKeyResponseBody) *CreateClientKeyResponse
- func (s *CreateClientKeyResponse) SetHeaders(v map[string]*string) *CreateClientKeyResponse
- func (s *CreateClientKeyResponse) SetStatusCode(v int32) *CreateClientKeyResponse
- func (s CreateClientKeyResponse) String() string
- type CreateClientKeyResponseBody
- func (s CreateClientKeyResponseBody) GoString() string
- func (s *CreateClientKeyResponseBody) SetClientKeyId(v string) *CreateClientKeyResponseBody
- func (s *CreateClientKeyResponseBody) SetKeyAlgorithm(v string) *CreateClientKeyResponseBody
- func (s *CreateClientKeyResponseBody) SetNotAfter(v string) *CreateClientKeyResponseBody
- func (s *CreateClientKeyResponseBody) SetNotBefore(v string) *CreateClientKeyResponseBody
- func (s *CreateClientKeyResponseBody) SetPrivateKeyData(v string) *CreateClientKeyResponseBody
- func (s *CreateClientKeyResponseBody) SetRequestId(v string) *CreateClientKeyResponseBody
- func (s CreateClientKeyResponseBody) String() string
- type CreateKeyRequest
- func (s CreateKeyRequest) GoString() string
- func (s *CreateKeyRequest) SetDKMSInstanceId(v string) *CreateKeyRequest
- func (s *CreateKeyRequest) SetDescription(v string) *CreateKeyRequest
- func (s *CreateKeyRequest) SetEnableAutomaticRotation(v bool) *CreateKeyRequest
- func (s *CreateKeyRequest) SetKeySpec(v string) *CreateKeyRequest
- func (s *CreateKeyRequest) SetKeyUsage(v string) *CreateKeyRequest
- func (s *CreateKeyRequest) SetOrigin(v string) *CreateKeyRequest
- func (s *CreateKeyRequest) SetPolicy(v string) *CreateKeyRequest
- func (s *CreateKeyRequest) SetProtectionLevel(v string) *CreateKeyRequest
- func (s *CreateKeyRequest) SetRotationInterval(v string) *CreateKeyRequest
- func (s *CreateKeyRequest) SetTags(v string) *CreateKeyRequest
- func (s CreateKeyRequest) String() string
- type CreateKeyResponse
- func (s CreateKeyResponse) GoString() string
- func (s *CreateKeyResponse) SetBody(v *CreateKeyResponseBody) *CreateKeyResponse
- func (s *CreateKeyResponse) SetHeaders(v map[string]*string) *CreateKeyResponse
- func (s *CreateKeyResponse) SetStatusCode(v int32) *CreateKeyResponse
- func (s CreateKeyResponse) String() string
- type CreateKeyResponseBody
- type CreateKeyResponseBodyKeyMetadata
- func (s CreateKeyResponseBodyKeyMetadata) GoString() string
- func (s *CreateKeyResponseBodyKeyMetadata) SetArn(v string) *CreateKeyResponseBodyKeyMetadata
- func (s *CreateKeyResponseBodyKeyMetadata) SetAutomaticRotation(v string) *CreateKeyResponseBodyKeyMetadata
- func (s *CreateKeyResponseBodyKeyMetadata) SetCreationDate(v string) *CreateKeyResponseBodyKeyMetadata
- func (s *CreateKeyResponseBodyKeyMetadata) SetCreator(v string) *CreateKeyResponseBodyKeyMetadata
- func (s *CreateKeyResponseBodyKeyMetadata) SetDKMSInstanceId(v string) *CreateKeyResponseBodyKeyMetadata
- func (s *CreateKeyResponseBodyKeyMetadata) SetDeleteDate(v string) *CreateKeyResponseBodyKeyMetadata
- func (s *CreateKeyResponseBodyKeyMetadata) SetDescription(v string) *CreateKeyResponseBodyKeyMetadata
- func (s *CreateKeyResponseBodyKeyMetadata) SetKeyId(v string) *CreateKeyResponseBodyKeyMetadata
- func (s *CreateKeyResponseBodyKeyMetadata) SetKeySpec(v string) *CreateKeyResponseBodyKeyMetadata
- func (s *CreateKeyResponseBodyKeyMetadata) SetKeyState(v string) *CreateKeyResponseBodyKeyMetadata
- func (s *CreateKeyResponseBodyKeyMetadata) SetKeyUsage(v string) *CreateKeyResponseBodyKeyMetadata
- func (s *CreateKeyResponseBodyKeyMetadata) SetLastRotationDate(v string) *CreateKeyResponseBodyKeyMetadata
- func (s *CreateKeyResponseBodyKeyMetadata) SetMaterialExpireTime(v string) *CreateKeyResponseBodyKeyMetadata
- func (s *CreateKeyResponseBodyKeyMetadata) SetNextRotationDate(v string) *CreateKeyResponseBodyKeyMetadata
- func (s *CreateKeyResponseBodyKeyMetadata) SetOrigin(v string) *CreateKeyResponseBodyKeyMetadata
- func (s *CreateKeyResponseBodyKeyMetadata) SetPrimaryKeyVersion(v string) *CreateKeyResponseBodyKeyMetadata
- func (s *CreateKeyResponseBodyKeyMetadata) SetProtectionLevel(v string) *CreateKeyResponseBodyKeyMetadata
- func (s *CreateKeyResponseBodyKeyMetadata) SetRotationInterval(v string) *CreateKeyResponseBodyKeyMetadata
- func (s CreateKeyResponseBodyKeyMetadata) String() string
- type CreateKeyVersionRequest
- type CreateKeyVersionResponse
- func (s CreateKeyVersionResponse) GoString() string
- func (s *CreateKeyVersionResponse) SetBody(v *CreateKeyVersionResponseBody) *CreateKeyVersionResponse
- func (s *CreateKeyVersionResponse) SetHeaders(v map[string]*string) *CreateKeyVersionResponse
- func (s *CreateKeyVersionResponse) SetStatusCode(v int32) *CreateKeyVersionResponse
- func (s CreateKeyVersionResponse) String() string
- type CreateKeyVersionResponseBody
- func (s CreateKeyVersionResponseBody) GoString() string
- func (s *CreateKeyVersionResponseBody) SetKeyVersion(v *CreateKeyVersionResponseBodyKeyVersion) *CreateKeyVersionResponseBody
- func (s *CreateKeyVersionResponseBody) SetRequestId(v string) *CreateKeyVersionResponseBody
- func (s CreateKeyVersionResponseBody) String() string
- type CreateKeyVersionResponseBodyKeyVersion
- func (s CreateKeyVersionResponseBodyKeyVersion) GoString() string
- func (s *CreateKeyVersionResponseBodyKeyVersion) SetCreationDate(v string) *CreateKeyVersionResponseBodyKeyVersion
- func (s *CreateKeyVersionResponseBodyKeyVersion) SetKeyId(v string) *CreateKeyVersionResponseBodyKeyVersion
- func (s *CreateKeyVersionResponseBodyKeyVersion) SetKeyVersionId(v string) *CreateKeyVersionResponseBodyKeyVersion
- func (s CreateKeyVersionResponseBodyKeyVersion) String() string
- type CreateNetworkRuleRequest
- func (s CreateNetworkRuleRequest) GoString() string
- func (s *CreateNetworkRuleRequest) SetDescription(v string) *CreateNetworkRuleRequest
- func (s *CreateNetworkRuleRequest) SetName(v string) *CreateNetworkRuleRequest
- func (s *CreateNetworkRuleRequest) SetSourcePrivateIp(v string) *CreateNetworkRuleRequest
- func (s *CreateNetworkRuleRequest) SetType(v string) *CreateNetworkRuleRequest
- func (s CreateNetworkRuleRequest) String() string
- type CreateNetworkRuleResponse
- func (s CreateNetworkRuleResponse) GoString() string
- func (s *CreateNetworkRuleResponse) SetBody(v *CreateNetworkRuleResponseBody) *CreateNetworkRuleResponse
- func (s *CreateNetworkRuleResponse) SetHeaders(v map[string]*string) *CreateNetworkRuleResponse
- func (s *CreateNetworkRuleResponse) SetStatusCode(v int32) *CreateNetworkRuleResponse
- func (s CreateNetworkRuleResponse) String() string
- type CreateNetworkRuleResponseBody
- func (s CreateNetworkRuleResponseBody) GoString() string
- func (s *CreateNetworkRuleResponseBody) SetArn(v string) *CreateNetworkRuleResponseBody
- func (s *CreateNetworkRuleResponseBody) SetDescription(v string) *CreateNetworkRuleResponseBody
- func (s *CreateNetworkRuleResponseBody) SetName(v string) *CreateNetworkRuleResponseBody
- func (s *CreateNetworkRuleResponseBody) SetRequestId(v string) *CreateNetworkRuleResponseBody
- func (s *CreateNetworkRuleResponseBody) SetSourcePrivateIp(v string) *CreateNetworkRuleResponseBody
- func (s *CreateNetworkRuleResponseBody) SetType(v string) *CreateNetworkRuleResponseBody
- func (s CreateNetworkRuleResponseBody) String() string
- type CreatePolicyRequest
- func (s CreatePolicyRequest) GoString() string
- func (s *CreatePolicyRequest) SetAccessControlRules(v string) *CreatePolicyRequest
- func (s *CreatePolicyRequest) SetDescription(v string) *CreatePolicyRequest
- func (s *CreatePolicyRequest) SetKmsInstance(v string) *CreatePolicyRequest
- func (s *CreatePolicyRequest) SetName(v string) *CreatePolicyRequest
- func (s *CreatePolicyRequest) SetPermissions(v string) *CreatePolicyRequest
- func (s *CreatePolicyRequest) SetResources(v string) *CreatePolicyRequest
- func (s CreatePolicyRequest) String() string
- type CreatePolicyResponse
- func (s CreatePolicyResponse) GoString() string
- func (s *CreatePolicyResponse) SetBody(v *CreatePolicyResponseBody) *CreatePolicyResponse
- func (s *CreatePolicyResponse) SetHeaders(v map[string]*string) *CreatePolicyResponse
- func (s *CreatePolicyResponse) SetStatusCode(v int32) *CreatePolicyResponse
- func (s CreatePolicyResponse) String() string
- type CreatePolicyResponseBody
- func (s CreatePolicyResponseBody) GoString() string
- func (s *CreatePolicyResponseBody) SetAccessControlRules(v string) *CreatePolicyResponseBody
- func (s *CreatePolicyResponseBody) SetArn(v string) *CreatePolicyResponseBody
- func (s *CreatePolicyResponseBody) SetDescription(v string) *CreatePolicyResponseBody
- func (s *CreatePolicyResponseBody) SetKmsInstance(v string) *CreatePolicyResponseBody
- func (s *CreatePolicyResponseBody) SetName(v string) *CreatePolicyResponseBody
- func (s *CreatePolicyResponseBody) SetPermissions(v string) *CreatePolicyResponseBody
- func (s *CreatePolicyResponseBody) SetRequestId(v string) *CreatePolicyResponseBody
- func (s *CreatePolicyResponseBody) SetResources(v string) *CreatePolicyResponseBody
- func (s CreatePolicyResponseBody) String() string
- type CreateSecretRequest
- func (s CreateSecretRequest) GoString() string
- func (s *CreateSecretRequest) SetDKMSInstanceId(v string) *CreateSecretRequest
- func (s *CreateSecretRequest) SetDescription(v string) *CreateSecretRequest
- func (s *CreateSecretRequest) SetEnableAutomaticRotation(v bool) *CreateSecretRequest
- func (s *CreateSecretRequest) SetEncryptionKeyId(v string) *CreateSecretRequest
- func (s *CreateSecretRequest) SetExtendedConfig(v map[string]interface{}) *CreateSecretRequest
- func (s *CreateSecretRequest) SetPolicy(v string) *CreateSecretRequest
- func (s *CreateSecretRequest) SetRotationInterval(v string) *CreateSecretRequest
- func (s *CreateSecretRequest) SetSecretData(v string) *CreateSecretRequest
- func (s *CreateSecretRequest) SetSecretDataType(v string) *CreateSecretRequest
- func (s *CreateSecretRequest) SetSecretName(v string) *CreateSecretRequest
- func (s *CreateSecretRequest) SetSecretType(v string) *CreateSecretRequest
- func (s *CreateSecretRequest) SetTags(v string) *CreateSecretRequest
- func (s *CreateSecretRequest) SetVersionId(v string) *CreateSecretRequest
- func (s CreateSecretRequest) String() string
- type CreateSecretResponse
- func (s CreateSecretResponse) GoString() string
- func (s *CreateSecretResponse) SetBody(v *CreateSecretResponseBody) *CreateSecretResponse
- func (s *CreateSecretResponse) SetHeaders(v map[string]*string) *CreateSecretResponse
- func (s *CreateSecretResponse) SetStatusCode(v int32) *CreateSecretResponse
- func (s CreateSecretResponse) String() string
- type CreateSecretResponseBody
- func (s CreateSecretResponseBody) GoString() string
- func (s *CreateSecretResponseBody) SetArn(v string) *CreateSecretResponseBody
- func (s *CreateSecretResponseBody) SetAutomaticRotation(v string) *CreateSecretResponseBody
- func (s *CreateSecretResponseBody) SetDKMSInstanceId(v string) *CreateSecretResponseBody
- func (s *CreateSecretResponseBody) SetExtendedConfig(v string) *CreateSecretResponseBody
- func (s *CreateSecretResponseBody) SetNextRotationDate(v string) *CreateSecretResponseBody
- func (s *CreateSecretResponseBody) SetRequestId(v string) *CreateSecretResponseBody
- func (s *CreateSecretResponseBody) SetRotationInterval(v string) *CreateSecretResponseBody
- func (s *CreateSecretResponseBody) SetSecretName(v string) *CreateSecretResponseBody
- func (s *CreateSecretResponseBody) SetSecretType(v string) *CreateSecretResponseBody
- func (s *CreateSecretResponseBody) SetVersionId(v string) *CreateSecretResponseBody
- func (s CreateSecretResponseBody) String() string
- type CreateSecretShrinkRequest
- func (s CreateSecretShrinkRequest) GoString() string
- func (s *CreateSecretShrinkRequest) SetDKMSInstanceId(v string) *CreateSecretShrinkRequest
- func (s *CreateSecretShrinkRequest) SetDescription(v string) *CreateSecretShrinkRequest
- func (s *CreateSecretShrinkRequest) SetEnableAutomaticRotation(v bool) *CreateSecretShrinkRequest
- func (s *CreateSecretShrinkRequest) SetEncryptionKeyId(v string) *CreateSecretShrinkRequest
- func (s *CreateSecretShrinkRequest) SetExtendedConfigShrink(v string) *CreateSecretShrinkRequest
- func (s *CreateSecretShrinkRequest) SetPolicy(v string) *CreateSecretShrinkRequest
- func (s *CreateSecretShrinkRequest) SetRotationInterval(v string) *CreateSecretShrinkRequest
- func (s *CreateSecretShrinkRequest) SetSecretData(v string) *CreateSecretShrinkRequest
- func (s *CreateSecretShrinkRequest) SetSecretDataType(v string) *CreateSecretShrinkRequest
- func (s *CreateSecretShrinkRequest) SetSecretName(v string) *CreateSecretShrinkRequest
- func (s *CreateSecretShrinkRequest) SetSecretType(v string) *CreateSecretShrinkRequest
- func (s *CreateSecretShrinkRequest) SetTags(v string) *CreateSecretShrinkRequest
- func (s *CreateSecretShrinkRequest) SetVersionId(v string) *CreateSecretShrinkRequest
- func (s CreateSecretShrinkRequest) String() string
- type DecryptRequest
- type DecryptResponse
- func (s DecryptResponse) GoString() string
- func (s *DecryptResponse) SetBody(v *DecryptResponseBody) *DecryptResponse
- func (s *DecryptResponse) SetHeaders(v map[string]*string) *DecryptResponse
- func (s *DecryptResponse) SetStatusCode(v int32) *DecryptResponse
- func (s DecryptResponse) String() string
- type DecryptResponseBody
- func (s DecryptResponseBody) GoString() string
- func (s *DecryptResponseBody) SetKeyId(v string) *DecryptResponseBody
- func (s *DecryptResponseBody) SetKeyVersionId(v string) *DecryptResponseBody
- func (s *DecryptResponseBody) SetPlaintext(v string) *DecryptResponseBody
- func (s *DecryptResponseBody) SetRequestId(v string) *DecryptResponseBody
- func (s DecryptResponseBody) String() string
- type DecryptShrinkRequest
- func (s DecryptShrinkRequest) GoString() string
- func (s *DecryptShrinkRequest) SetCiphertextBlob(v string) *DecryptShrinkRequest
- func (s *DecryptShrinkRequest) SetDryRun(v string) *DecryptShrinkRequest
- func (s *DecryptShrinkRequest) SetEncryptionContextShrink(v string) *DecryptShrinkRequest
- func (s DecryptShrinkRequest) String() string
- type DeleteAliasRequest
- type DeleteAliasResponse
- func (s DeleteAliasResponse) GoString() string
- func (s *DeleteAliasResponse) SetBody(v *DeleteAliasResponseBody) *DeleteAliasResponse
- func (s *DeleteAliasResponse) SetHeaders(v map[string]*string) *DeleteAliasResponse
- func (s *DeleteAliasResponse) SetStatusCode(v int32) *DeleteAliasResponse
- func (s DeleteAliasResponse) String() string
- type DeleteAliasResponseBody
- type DeleteApplicationAccessPointRequest
- type DeleteApplicationAccessPointResponse
- func (s DeleteApplicationAccessPointResponse) GoString() string
- func (s *DeleteApplicationAccessPointResponse) SetBody(v *DeleteApplicationAccessPointResponseBody) *DeleteApplicationAccessPointResponse
- func (s *DeleteApplicationAccessPointResponse) SetHeaders(v map[string]*string) *DeleteApplicationAccessPointResponse
- func (s *DeleteApplicationAccessPointResponse) SetStatusCode(v int32) *DeleteApplicationAccessPointResponse
- func (s DeleteApplicationAccessPointResponse) String() string
- type DeleteApplicationAccessPointResponseBody
- type DeleteCertificateRequest
- type DeleteCertificateResponse
- func (s DeleteCertificateResponse) GoString() string
- func (s *DeleteCertificateResponse) SetBody(v *DeleteCertificateResponseBody) *DeleteCertificateResponse
- func (s *DeleteCertificateResponse) SetHeaders(v map[string]*string) *DeleteCertificateResponse
- func (s *DeleteCertificateResponse) SetStatusCode(v int32) *DeleteCertificateResponse
- func (s DeleteCertificateResponse) String() string
- type DeleteCertificateResponseBody
- type DeleteClientKeyRequest
- type DeleteClientKeyResponse
- func (s DeleteClientKeyResponse) GoString() string
- func (s *DeleteClientKeyResponse) SetBody(v *DeleteClientKeyResponseBody) *DeleteClientKeyResponse
- func (s *DeleteClientKeyResponse) SetHeaders(v map[string]*string) *DeleteClientKeyResponse
- func (s *DeleteClientKeyResponse) SetStatusCode(v int32) *DeleteClientKeyResponse
- func (s DeleteClientKeyResponse) String() string
- type DeleteClientKeyResponseBody
- type DeleteKeyMaterialRequest
- type DeleteKeyMaterialResponse
- func (s DeleteKeyMaterialResponse) GoString() string
- func (s *DeleteKeyMaterialResponse) SetBody(v *DeleteKeyMaterialResponseBody) *DeleteKeyMaterialResponse
- func (s *DeleteKeyMaterialResponse) SetHeaders(v map[string]*string) *DeleteKeyMaterialResponse
- func (s *DeleteKeyMaterialResponse) SetStatusCode(v int32) *DeleteKeyMaterialResponse
- func (s DeleteKeyMaterialResponse) String() string
- type DeleteKeyMaterialResponseBody
- type DeleteNetworkRuleRequest
- type DeleteNetworkRuleResponse
- func (s DeleteNetworkRuleResponse) GoString() string
- func (s *DeleteNetworkRuleResponse) SetBody(v *DeleteNetworkRuleResponseBody) *DeleteNetworkRuleResponse
- func (s *DeleteNetworkRuleResponse) SetHeaders(v map[string]*string) *DeleteNetworkRuleResponse
- func (s *DeleteNetworkRuleResponse) SetStatusCode(v int32) *DeleteNetworkRuleResponse
- func (s DeleteNetworkRuleResponse) String() string
- type DeleteNetworkRuleResponseBody
- type DeletePolicyRequest
- type DeletePolicyResponse
- func (s DeletePolicyResponse) GoString() string
- func (s *DeletePolicyResponse) SetBody(v *DeletePolicyResponseBody) *DeletePolicyResponse
- func (s *DeletePolicyResponse) SetHeaders(v map[string]*string) *DeletePolicyResponse
- func (s *DeletePolicyResponse) SetStatusCode(v int32) *DeletePolicyResponse
- func (s DeletePolicyResponse) String() string
- type DeletePolicyResponseBody
- type DeleteSecretRequest
- func (s DeleteSecretRequest) GoString() string
- func (s *DeleteSecretRequest) SetForceDeleteWithoutRecovery(v string) *DeleteSecretRequest
- func (s *DeleteSecretRequest) SetRecoveryWindowInDays(v string) *DeleteSecretRequest
- func (s *DeleteSecretRequest) SetSecretName(v string) *DeleteSecretRequest
- func (s DeleteSecretRequest) String() string
- type DeleteSecretResponse
- func (s DeleteSecretResponse) GoString() string
- func (s *DeleteSecretResponse) SetBody(v *DeleteSecretResponseBody) *DeleteSecretResponse
- func (s *DeleteSecretResponse) SetHeaders(v map[string]*string) *DeleteSecretResponse
- func (s *DeleteSecretResponse) SetStatusCode(v int32) *DeleteSecretResponse
- func (s DeleteSecretResponse) String() string
- type DeleteSecretResponseBody
- func (s DeleteSecretResponseBody) GoString() string
- func (s *DeleteSecretResponseBody) SetPlannedDeleteTime(v string) *DeleteSecretResponseBody
- func (s *DeleteSecretResponseBody) SetRequestId(v string) *DeleteSecretResponseBody
- func (s *DeleteSecretResponseBody) SetSecretName(v string) *DeleteSecretResponseBody
- func (s DeleteSecretResponseBody) String() string
- type DescribeAccountKmsStatusResponse
- func (s DescribeAccountKmsStatusResponse) GoString() string
- func (s *DescribeAccountKmsStatusResponse) SetBody(v *DescribeAccountKmsStatusResponseBody) *DescribeAccountKmsStatusResponse
- func (s *DescribeAccountKmsStatusResponse) SetHeaders(v map[string]*string) *DescribeAccountKmsStatusResponse
- func (s *DescribeAccountKmsStatusResponse) SetStatusCode(v int32) *DescribeAccountKmsStatusResponse
- func (s DescribeAccountKmsStatusResponse) String() string
- type DescribeAccountKmsStatusResponseBody
- func (s DescribeAccountKmsStatusResponseBody) GoString() string
- func (s *DescribeAccountKmsStatusResponseBody) SetAccountStatus(v string) *DescribeAccountKmsStatusResponseBody
- func (s *DescribeAccountKmsStatusResponseBody) SetRequestId(v string) *DescribeAccountKmsStatusResponseBody
- func (s DescribeAccountKmsStatusResponseBody) String() string
- type DescribeApplicationAccessPointRequest
- type DescribeApplicationAccessPointResponse
- func (s DescribeApplicationAccessPointResponse) GoString() string
- func (s *DescribeApplicationAccessPointResponse) SetBody(v *DescribeApplicationAccessPointResponseBody) *DescribeApplicationAccessPointResponse
- func (s *DescribeApplicationAccessPointResponse) SetHeaders(v map[string]*string) *DescribeApplicationAccessPointResponse
- func (s *DescribeApplicationAccessPointResponse) SetStatusCode(v int32) *DescribeApplicationAccessPointResponse
- func (s DescribeApplicationAccessPointResponse) String() string
- type DescribeApplicationAccessPointResponseBody
- func (s DescribeApplicationAccessPointResponseBody) GoString() string
- func (s *DescribeApplicationAccessPointResponseBody) SetArn(v string) *DescribeApplicationAccessPointResponseBody
- func (s *DescribeApplicationAccessPointResponseBody) SetAuthenticationMethod(v string) *DescribeApplicationAccessPointResponseBody
- func (s *DescribeApplicationAccessPointResponseBody) SetDescription(v string) *DescribeApplicationAccessPointResponseBody
- func (s *DescribeApplicationAccessPointResponseBody) SetName(v string) *DescribeApplicationAccessPointResponseBody
- func (s *DescribeApplicationAccessPointResponseBody) SetPolicies(v string) *DescribeApplicationAccessPointResponseBody
- func (s *DescribeApplicationAccessPointResponseBody) SetRequestId(v string) *DescribeApplicationAccessPointResponseBody
- func (s DescribeApplicationAccessPointResponseBody) String() string
- type DescribeCertificateRequest
- type DescribeCertificateResponse
- func (s DescribeCertificateResponse) GoString() string
- func (s *DescribeCertificateResponse) SetBody(v *DescribeCertificateResponseBody) *DescribeCertificateResponse
- func (s *DescribeCertificateResponse) SetHeaders(v map[string]*string) *DescribeCertificateResponse
- func (s *DescribeCertificateResponse) SetStatusCode(v int32) *DescribeCertificateResponse
- func (s DescribeCertificateResponse) String() string
- type DescribeCertificateResponseBody
- func (s DescribeCertificateResponseBody) GoString() string
- func (s *DescribeCertificateResponseBody) SetArn(v string) *DescribeCertificateResponseBody
- func (s *DescribeCertificateResponseBody) SetCertificateId(v string) *DescribeCertificateResponseBody
- func (s *DescribeCertificateResponseBody) SetCreatedAt(v string) *DescribeCertificateResponseBody
- func (s *DescribeCertificateResponseBody) SetExportablePrivateKey(v bool) *DescribeCertificateResponseBody
- func (s *DescribeCertificateResponseBody) SetIssuer(v string) *DescribeCertificateResponseBody
- func (s *DescribeCertificateResponseBody) SetKeySpec(v string) *DescribeCertificateResponseBody
- func (s *DescribeCertificateResponseBody) SetNotAfter(v string) *DescribeCertificateResponseBody
- func (s *DescribeCertificateResponseBody) SetNotBefore(v string) *DescribeCertificateResponseBody
- func (s *DescribeCertificateResponseBody) SetRequestId(v string) *DescribeCertificateResponseBody
- func (s *DescribeCertificateResponseBody) SetSerial(v string) *DescribeCertificateResponseBody
- func (s *DescribeCertificateResponseBody) SetSignatureAlgorithm(v string) *DescribeCertificateResponseBody
- func (s *DescribeCertificateResponseBody) SetStatus(v string) *DescribeCertificateResponseBody
- func (s *DescribeCertificateResponseBody) SetSubject(v string) *DescribeCertificateResponseBody
- func (s *DescribeCertificateResponseBody) SetSubjectAlternativeNames(v []*string) *DescribeCertificateResponseBody
- func (s *DescribeCertificateResponseBody) SetSubjectKeyIdentifier(v string) *DescribeCertificateResponseBody
- func (s *DescribeCertificateResponseBody) SetSubjectPublicKey(v string) *DescribeCertificateResponseBody
- func (s *DescribeCertificateResponseBody) SetTags(v map[string]interface{}) *DescribeCertificateResponseBody
- func (s *DescribeCertificateResponseBody) SetUpdatedAt(v string) *DescribeCertificateResponseBody
- func (s DescribeCertificateResponseBody) String() string
- type DescribeKeyRequest
- type DescribeKeyResponse
- func (s DescribeKeyResponse) GoString() string
- func (s *DescribeKeyResponse) SetBody(v *DescribeKeyResponseBody) *DescribeKeyResponse
- func (s *DescribeKeyResponse) SetHeaders(v map[string]*string) *DescribeKeyResponse
- func (s *DescribeKeyResponse) SetStatusCode(v int32) *DescribeKeyResponse
- func (s DescribeKeyResponse) String() string
- type DescribeKeyResponseBody
- type DescribeKeyResponseBodyKeyMetadata
- func (s DescribeKeyResponseBodyKeyMetadata) GoString() string
- func (s *DescribeKeyResponseBodyKeyMetadata) SetArn(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetAutomaticRotation(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetCreationDate(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetCreator(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetDKMSInstanceId(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetDeleteDate(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetDeletionProtection(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetDeletionProtectionDescription(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetDescription(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetKeyId(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetKeySpec(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetKeyState(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetKeyUsage(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetLastRotationDate(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetMaterialExpireTime(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetNextRotationDate(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetOrigin(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetPrimaryKeyVersion(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetProtectionLevel(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s *DescribeKeyResponseBodyKeyMetadata) SetRotationInterval(v string) *DescribeKeyResponseBodyKeyMetadata
- func (s DescribeKeyResponseBodyKeyMetadata) String() string
- type DescribeKeyVersionRequest
- type DescribeKeyVersionResponse
- func (s DescribeKeyVersionResponse) GoString() string
- func (s *DescribeKeyVersionResponse) SetBody(v *DescribeKeyVersionResponseBody) *DescribeKeyVersionResponse
- func (s *DescribeKeyVersionResponse) SetHeaders(v map[string]*string) *DescribeKeyVersionResponse
- func (s *DescribeKeyVersionResponse) SetStatusCode(v int32) *DescribeKeyVersionResponse
- func (s DescribeKeyVersionResponse) String() string
- type DescribeKeyVersionResponseBody
- func (s DescribeKeyVersionResponseBody) GoString() string
- func (s *DescribeKeyVersionResponseBody) SetKeyVersion(v *DescribeKeyVersionResponseBodyKeyVersion) *DescribeKeyVersionResponseBody
- func (s *DescribeKeyVersionResponseBody) SetRequestId(v string) *DescribeKeyVersionResponseBody
- func (s DescribeKeyVersionResponseBody) String() string
- type DescribeKeyVersionResponseBodyKeyVersion
- func (s DescribeKeyVersionResponseBodyKeyVersion) GoString() string
- func (s *DescribeKeyVersionResponseBodyKeyVersion) SetCreationDate(v string) *DescribeKeyVersionResponseBodyKeyVersion
- func (s *DescribeKeyVersionResponseBodyKeyVersion) SetKeyId(v string) *DescribeKeyVersionResponseBodyKeyVersion
- func (s *DescribeKeyVersionResponseBodyKeyVersion) SetKeyVersionId(v string) *DescribeKeyVersionResponseBodyKeyVersion
- func (s DescribeKeyVersionResponseBodyKeyVersion) String() string
- type DescribeNetworkRuleRequest
- type DescribeNetworkRuleResponse
- func (s DescribeNetworkRuleResponse) GoString() string
- func (s *DescribeNetworkRuleResponse) SetBody(v *DescribeNetworkRuleResponseBody) *DescribeNetworkRuleResponse
- func (s *DescribeNetworkRuleResponse) SetHeaders(v map[string]*string) *DescribeNetworkRuleResponse
- func (s *DescribeNetworkRuleResponse) SetStatusCode(v int32) *DescribeNetworkRuleResponse
- func (s DescribeNetworkRuleResponse) String() string
- type DescribeNetworkRuleResponseBody
- func (s DescribeNetworkRuleResponseBody) GoString() string
- func (s *DescribeNetworkRuleResponseBody) SetArn(v string) *DescribeNetworkRuleResponseBody
- func (s *DescribeNetworkRuleResponseBody) SetDescription(v string) *DescribeNetworkRuleResponseBody
- func (s *DescribeNetworkRuleResponseBody) SetRequestId(v string) *DescribeNetworkRuleResponseBody
- func (s *DescribeNetworkRuleResponseBody) SetSourcePrivateIp(v string) *DescribeNetworkRuleResponseBody
- func (s *DescribeNetworkRuleResponseBody) SetType(v string) *DescribeNetworkRuleResponseBody
- func (s DescribeNetworkRuleResponseBody) String() string
- type DescribePolicyRequest
- type DescribePolicyResponse
- func (s DescribePolicyResponse) GoString() string
- func (s *DescribePolicyResponse) SetBody(v *DescribePolicyResponseBody) *DescribePolicyResponse
- func (s *DescribePolicyResponse) SetHeaders(v map[string]*string) *DescribePolicyResponse
- func (s *DescribePolicyResponse) SetStatusCode(v int32) *DescribePolicyResponse
- func (s DescribePolicyResponse) String() string
- type DescribePolicyResponseBody
- func (s DescribePolicyResponseBody) GoString() string
- func (s *DescribePolicyResponseBody) SetAccessControlRules(v string) *DescribePolicyResponseBody
- func (s *DescribePolicyResponseBody) SetArn(v string) *DescribePolicyResponseBody
- func (s *DescribePolicyResponseBody) SetDescription(v string) *DescribePolicyResponseBody
- func (s *DescribePolicyResponseBody) SetKmsInstance(v string) *DescribePolicyResponseBody
- func (s *DescribePolicyResponseBody) SetName(v string) *DescribePolicyResponseBody
- func (s *DescribePolicyResponseBody) SetPermissions(v []*string) *DescribePolicyResponseBody
- func (s *DescribePolicyResponseBody) SetRequestId(v string) *DescribePolicyResponseBody
- func (s *DescribePolicyResponseBody) SetResources(v []*string) *DescribePolicyResponseBody
- func (s DescribePolicyResponseBody) String() string
- type DescribeRegionsResponse
- func (s DescribeRegionsResponse) GoString() string
- func (s *DescribeRegionsResponse) SetBody(v *DescribeRegionsResponseBody) *DescribeRegionsResponse
- func (s *DescribeRegionsResponse) SetHeaders(v map[string]*string) *DescribeRegionsResponse
- func (s *DescribeRegionsResponse) SetStatusCode(v int32) *DescribeRegionsResponse
- func (s DescribeRegionsResponse) String() string
- type DescribeRegionsResponseBody
- func (s DescribeRegionsResponseBody) GoString() string
- func (s *DescribeRegionsResponseBody) SetRegions(v *DescribeRegionsResponseBodyRegions) *DescribeRegionsResponseBody
- func (s *DescribeRegionsResponseBody) SetRequestId(v string) *DescribeRegionsResponseBody
- func (s DescribeRegionsResponseBody) String() string
- type DescribeRegionsResponseBodyRegions
- type DescribeRegionsResponseBodyRegionsRegion
- type DescribeSecretRequest
- type DescribeSecretResponse
- func (s DescribeSecretResponse) GoString() string
- func (s *DescribeSecretResponse) SetBody(v *DescribeSecretResponseBody) *DescribeSecretResponse
- func (s *DescribeSecretResponse) SetHeaders(v map[string]*string) *DescribeSecretResponse
- func (s *DescribeSecretResponse) SetStatusCode(v int32) *DescribeSecretResponse
- func (s DescribeSecretResponse) String() string
- type DescribeSecretResponseBody
- func (s DescribeSecretResponseBody) GoString() string
- func (s *DescribeSecretResponseBody) SetArn(v string) *DescribeSecretResponseBody
- func (s *DescribeSecretResponseBody) SetAutomaticRotation(v string) *DescribeSecretResponseBody
- func (s *DescribeSecretResponseBody) SetCreateTime(v string) *DescribeSecretResponseBody
- func (s *DescribeSecretResponseBody) SetDKMSInstanceId(v string) *DescribeSecretResponseBody
- func (s *DescribeSecretResponseBody) SetDescription(v string) *DescribeSecretResponseBody
- func (s *DescribeSecretResponseBody) SetEncryptionKeyId(v string) *DescribeSecretResponseBody
- func (s *DescribeSecretResponseBody) SetExtendedConfig(v string) *DescribeSecretResponseBody
- func (s *DescribeSecretResponseBody) SetLastRotationDate(v string) *DescribeSecretResponseBody
- func (s *DescribeSecretResponseBody) SetNextRotationDate(v string) *DescribeSecretResponseBody
- func (s *DescribeSecretResponseBody) SetPlannedDeleteTime(v string) *DescribeSecretResponseBody
- func (s *DescribeSecretResponseBody) SetRequestId(v string) *DescribeSecretResponseBody
- func (s *DescribeSecretResponseBody) SetRotationInterval(v string) *DescribeSecretResponseBody
- func (s *DescribeSecretResponseBody) SetSecretName(v string) *DescribeSecretResponseBody
- func (s *DescribeSecretResponseBody) SetSecretType(v string) *DescribeSecretResponseBody
- func (s *DescribeSecretResponseBody) SetTags(v *DescribeSecretResponseBodyTags) *DescribeSecretResponseBody
- func (s *DescribeSecretResponseBody) SetUpdateTime(v string) *DescribeSecretResponseBody
- func (s DescribeSecretResponseBody) String() string
- type DescribeSecretResponseBodyTags
- type DescribeSecretResponseBodyTagsTag
- func (s DescribeSecretResponseBodyTagsTag) GoString() string
- func (s *DescribeSecretResponseBodyTagsTag) SetTagKey(v string) *DescribeSecretResponseBodyTagsTag
- func (s *DescribeSecretResponseBodyTagsTag) SetTagValue(v string) *DescribeSecretResponseBodyTagsTag
- func (s DescribeSecretResponseBodyTagsTag) String() string
- type DisableKeyRequest
- type DisableKeyResponse
- func (s DisableKeyResponse) GoString() string
- func (s *DisableKeyResponse) SetBody(v *DisableKeyResponseBody) *DisableKeyResponse
- func (s *DisableKeyResponse) SetHeaders(v map[string]*string) *DisableKeyResponse
- func (s *DisableKeyResponse) SetStatusCode(v int32) *DisableKeyResponse
- func (s DisableKeyResponse) String() string
- type DisableKeyResponseBody
- type EnableKeyRequest
- type EnableKeyResponse
- func (s EnableKeyResponse) GoString() string
- func (s *EnableKeyResponse) SetBody(v *EnableKeyResponseBody) *EnableKeyResponse
- func (s *EnableKeyResponse) SetHeaders(v map[string]*string) *EnableKeyResponse
- func (s *EnableKeyResponse) SetStatusCode(v int32) *EnableKeyResponse
- func (s EnableKeyResponse) String() string
- type EnableKeyResponseBody
- type EncryptRequest
- func (s EncryptRequest) GoString() string
- func (s *EncryptRequest) SetDryRun(v string) *EncryptRequest
- func (s *EncryptRequest) SetEncryptionContext(v map[string]interface{}) *EncryptRequest
- func (s *EncryptRequest) SetKeyId(v string) *EncryptRequest
- func (s *EncryptRequest) SetPlaintext(v string) *EncryptRequest
- func (s EncryptRequest) String() string
- type EncryptResponse
- func (s EncryptResponse) GoString() string
- func (s *EncryptResponse) SetBody(v *EncryptResponseBody) *EncryptResponse
- func (s *EncryptResponse) SetHeaders(v map[string]*string) *EncryptResponse
- func (s *EncryptResponse) SetStatusCode(v int32) *EncryptResponse
- func (s EncryptResponse) String() string
- type EncryptResponseBody
- func (s EncryptResponseBody) GoString() string
- func (s *EncryptResponseBody) SetCiphertextBlob(v string) *EncryptResponseBody
- func (s *EncryptResponseBody) SetKeyId(v string) *EncryptResponseBody
- func (s *EncryptResponseBody) SetKeyVersionId(v string) *EncryptResponseBody
- func (s *EncryptResponseBody) SetRequestId(v string) *EncryptResponseBody
- func (s EncryptResponseBody) String() string
- type EncryptShrinkRequest
- func (s EncryptShrinkRequest) GoString() string
- func (s *EncryptShrinkRequest) SetDryRun(v string) *EncryptShrinkRequest
- func (s *EncryptShrinkRequest) SetEncryptionContextShrink(v string) *EncryptShrinkRequest
- func (s *EncryptShrinkRequest) SetKeyId(v string) *EncryptShrinkRequest
- func (s *EncryptShrinkRequest) SetPlaintext(v string) *EncryptShrinkRequest
- func (s EncryptShrinkRequest) String() string
- type ExportDataKeyRequest
- func (s ExportDataKeyRequest) GoString() string
- func (s *ExportDataKeyRequest) SetCiphertextBlob(v string) *ExportDataKeyRequest
- func (s *ExportDataKeyRequest) SetDryRun(v string) *ExportDataKeyRequest
- func (s *ExportDataKeyRequest) SetEncryptionContext(v map[string]interface{}) *ExportDataKeyRequest
- func (s *ExportDataKeyRequest) SetPublicKeyBlob(v string) *ExportDataKeyRequest
- func (s *ExportDataKeyRequest) SetWrappingAlgorithm(v string) *ExportDataKeyRequest
- func (s *ExportDataKeyRequest) SetWrappingKeySpec(v string) *ExportDataKeyRequest
- func (s ExportDataKeyRequest) String() string
- type ExportDataKeyResponse
- func (s ExportDataKeyResponse) GoString() string
- func (s *ExportDataKeyResponse) SetBody(v *ExportDataKeyResponseBody) *ExportDataKeyResponse
- func (s *ExportDataKeyResponse) SetHeaders(v map[string]*string) *ExportDataKeyResponse
- func (s *ExportDataKeyResponse) SetStatusCode(v int32) *ExportDataKeyResponse
- func (s ExportDataKeyResponse) String() string
- type ExportDataKeyResponseBody
- func (s ExportDataKeyResponseBody) GoString() string
- func (s *ExportDataKeyResponseBody) SetExportedDataKey(v string) *ExportDataKeyResponseBody
- func (s *ExportDataKeyResponseBody) SetKeyId(v string) *ExportDataKeyResponseBody
- func (s *ExportDataKeyResponseBody) SetKeyVersionId(v string) *ExportDataKeyResponseBody
- func (s *ExportDataKeyResponseBody) SetRequestId(v string) *ExportDataKeyResponseBody
- func (s ExportDataKeyResponseBody) String() string
- type ExportDataKeyShrinkRequest
- func (s ExportDataKeyShrinkRequest) GoString() string
- func (s *ExportDataKeyShrinkRequest) SetCiphertextBlob(v string) *ExportDataKeyShrinkRequest
- func (s *ExportDataKeyShrinkRequest) SetDryRun(v string) *ExportDataKeyShrinkRequest
- func (s *ExportDataKeyShrinkRequest) SetEncryptionContextShrink(v string) *ExportDataKeyShrinkRequest
- func (s *ExportDataKeyShrinkRequest) SetPublicKeyBlob(v string) *ExportDataKeyShrinkRequest
- func (s *ExportDataKeyShrinkRequest) SetWrappingAlgorithm(v string) *ExportDataKeyShrinkRequest
- func (s *ExportDataKeyShrinkRequest) SetWrappingKeySpec(v string) *ExportDataKeyShrinkRequest
- func (s ExportDataKeyShrinkRequest) String() string
- type GenerateAndExportDataKeyRequest
- func (s GenerateAndExportDataKeyRequest) GoString() string
- func (s *GenerateAndExportDataKeyRequest) SetDryRun(v string) *GenerateAndExportDataKeyRequest
- func (s *GenerateAndExportDataKeyRequest) SetEncryptionContext(v map[string]interface{}) *GenerateAndExportDataKeyRequest
- func (s *GenerateAndExportDataKeyRequest) SetKeyId(v string) *GenerateAndExportDataKeyRequest
- func (s *GenerateAndExportDataKeyRequest) SetKeySpec(v string) *GenerateAndExportDataKeyRequest
- func (s *GenerateAndExportDataKeyRequest) SetNumberOfBytes(v int32) *GenerateAndExportDataKeyRequest
- func (s *GenerateAndExportDataKeyRequest) SetPublicKeyBlob(v string) *GenerateAndExportDataKeyRequest
- func (s *GenerateAndExportDataKeyRequest) SetWrappingAlgorithm(v string) *GenerateAndExportDataKeyRequest
- func (s *GenerateAndExportDataKeyRequest) SetWrappingKeySpec(v string) *GenerateAndExportDataKeyRequest
- func (s GenerateAndExportDataKeyRequest) String() string
- type GenerateAndExportDataKeyResponse
- func (s GenerateAndExportDataKeyResponse) GoString() string
- func (s *GenerateAndExportDataKeyResponse) SetBody(v *GenerateAndExportDataKeyResponseBody) *GenerateAndExportDataKeyResponse
- func (s *GenerateAndExportDataKeyResponse) SetHeaders(v map[string]*string) *GenerateAndExportDataKeyResponse
- func (s *GenerateAndExportDataKeyResponse) SetStatusCode(v int32) *GenerateAndExportDataKeyResponse
- func (s GenerateAndExportDataKeyResponse) String() string
- type GenerateAndExportDataKeyResponseBody
- func (s GenerateAndExportDataKeyResponseBody) GoString() string
- func (s *GenerateAndExportDataKeyResponseBody) SetCiphertextBlob(v string) *GenerateAndExportDataKeyResponseBody
- func (s *GenerateAndExportDataKeyResponseBody) SetExportedDataKey(v string) *GenerateAndExportDataKeyResponseBody
- func (s *GenerateAndExportDataKeyResponseBody) SetKeyId(v string) *GenerateAndExportDataKeyResponseBody
- func (s *GenerateAndExportDataKeyResponseBody) SetKeyVersionId(v string) *GenerateAndExportDataKeyResponseBody
- func (s *GenerateAndExportDataKeyResponseBody) SetRequestId(v string) *GenerateAndExportDataKeyResponseBody
- func (s GenerateAndExportDataKeyResponseBody) String() string
- type GenerateAndExportDataKeyShrinkRequest
- func (s GenerateAndExportDataKeyShrinkRequest) GoString() string
- func (s *GenerateAndExportDataKeyShrinkRequest) SetDryRun(v string) *GenerateAndExportDataKeyShrinkRequest
- func (s *GenerateAndExportDataKeyShrinkRequest) SetEncryptionContextShrink(v string) *GenerateAndExportDataKeyShrinkRequest
- func (s *GenerateAndExportDataKeyShrinkRequest) SetKeyId(v string) *GenerateAndExportDataKeyShrinkRequest
- func (s *GenerateAndExportDataKeyShrinkRequest) SetKeySpec(v string) *GenerateAndExportDataKeyShrinkRequest
- func (s *GenerateAndExportDataKeyShrinkRequest) SetNumberOfBytes(v int32) *GenerateAndExportDataKeyShrinkRequest
- func (s *GenerateAndExportDataKeyShrinkRequest) SetPublicKeyBlob(v string) *GenerateAndExportDataKeyShrinkRequest
- func (s *GenerateAndExportDataKeyShrinkRequest) SetWrappingAlgorithm(v string) *GenerateAndExportDataKeyShrinkRequest
- func (s *GenerateAndExportDataKeyShrinkRequest) SetWrappingKeySpec(v string) *GenerateAndExportDataKeyShrinkRequest
- func (s GenerateAndExportDataKeyShrinkRequest) String() string
- type GenerateDataKeyRequest
- func (s GenerateDataKeyRequest) GoString() string
- func (s *GenerateDataKeyRequest) SetDryRun(v string) *GenerateDataKeyRequest
- func (s *GenerateDataKeyRequest) SetEncryptionContext(v map[string]interface{}) *GenerateDataKeyRequest
- func (s *GenerateDataKeyRequest) SetKeyId(v string) *GenerateDataKeyRequest
- func (s *GenerateDataKeyRequest) SetKeySpec(v string) *GenerateDataKeyRequest
- func (s *GenerateDataKeyRequest) SetNumberOfBytes(v int32) *GenerateDataKeyRequest
- func (s GenerateDataKeyRequest) String() string
- type GenerateDataKeyResponse
- func (s GenerateDataKeyResponse) GoString() string
- func (s *GenerateDataKeyResponse) SetBody(v *GenerateDataKeyResponseBody) *GenerateDataKeyResponse
- func (s *GenerateDataKeyResponse) SetHeaders(v map[string]*string) *GenerateDataKeyResponse
- func (s *GenerateDataKeyResponse) SetStatusCode(v int32) *GenerateDataKeyResponse
- func (s GenerateDataKeyResponse) String() string
- type GenerateDataKeyResponseBody
- func (s GenerateDataKeyResponseBody) GoString() string
- func (s *GenerateDataKeyResponseBody) SetCiphertextBlob(v string) *GenerateDataKeyResponseBody
- func (s *GenerateDataKeyResponseBody) SetKeyId(v string) *GenerateDataKeyResponseBody
- func (s *GenerateDataKeyResponseBody) SetKeyVersionId(v string) *GenerateDataKeyResponseBody
- func (s *GenerateDataKeyResponseBody) SetPlaintext(v string) *GenerateDataKeyResponseBody
- func (s *GenerateDataKeyResponseBody) SetRequestId(v string) *GenerateDataKeyResponseBody
- func (s GenerateDataKeyResponseBody) String() string
- type GenerateDataKeyShrinkRequest
- func (s GenerateDataKeyShrinkRequest) GoString() string
- func (s *GenerateDataKeyShrinkRequest) SetDryRun(v string) *GenerateDataKeyShrinkRequest
- func (s *GenerateDataKeyShrinkRequest) SetEncryptionContextShrink(v string) *GenerateDataKeyShrinkRequest
- func (s *GenerateDataKeyShrinkRequest) SetKeyId(v string) *GenerateDataKeyShrinkRequest
- func (s *GenerateDataKeyShrinkRequest) SetKeySpec(v string) *GenerateDataKeyShrinkRequest
- func (s *GenerateDataKeyShrinkRequest) SetNumberOfBytes(v int32) *GenerateDataKeyShrinkRequest
- func (s GenerateDataKeyShrinkRequest) String() string
- type GenerateDataKeyWithoutPlaintextRequest
- func (s GenerateDataKeyWithoutPlaintextRequest) GoString() string
- func (s *GenerateDataKeyWithoutPlaintextRequest) SetDryRun(v string) *GenerateDataKeyWithoutPlaintextRequest
- func (s *GenerateDataKeyWithoutPlaintextRequest) SetEncryptionContext(v map[string]interface{}) *GenerateDataKeyWithoutPlaintextRequest
- func (s *GenerateDataKeyWithoutPlaintextRequest) SetKeyId(v string) *GenerateDataKeyWithoutPlaintextRequest
- func (s *GenerateDataKeyWithoutPlaintextRequest) SetKeySpec(v string) *GenerateDataKeyWithoutPlaintextRequest
- func (s *GenerateDataKeyWithoutPlaintextRequest) SetNumberOfBytes(v int32) *GenerateDataKeyWithoutPlaintextRequest
- func (s GenerateDataKeyWithoutPlaintextRequest) String() string
- type GenerateDataKeyWithoutPlaintextResponse
- func (s GenerateDataKeyWithoutPlaintextResponse) GoString() string
- func (s *GenerateDataKeyWithoutPlaintextResponse) SetBody(v *GenerateDataKeyWithoutPlaintextResponseBody) *GenerateDataKeyWithoutPlaintextResponse
- func (s *GenerateDataKeyWithoutPlaintextResponse) SetHeaders(v map[string]*string) *GenerateDataKeyWithoutPlaintextResponse
- func (s *GenerateDataKeyWithoutPlaintextResponse) SetStatusCode(v int32) *GenerateDataKeyWithoutPlaintextResponse
- func (s GenerateDataKeyWithoutPlaintextResponse) String() string
- type GenerateDataKeyWithoutPlaintextResponseBody
- func (s GenerateDataKeyWithoutPlaintextResponseBody) GoString() string
- func (s *GenerateDataKeyWithoutPlaintextResponseBody) SetCiphertextBlob(v string) *GenerateDataKeyWithoutPlaintextResponseBody
- func (s *GenerateDataKeyWithoutPlaintextResponseBody) SetKeyId(v string) *GenerateDataKeyWithoutPlaintextResponseBody
- func (s *GenerateDataKeyWithoutPlaintextResponseBody) SetKeyVersionId(v string) *GenerateDataKeyWithoutPlaintextResponseBody
- func (s *GenerateDataKeyWithoutPlaintextResponseBody) SetRequestId(v string) *GenerateDataKeyWithoutPlaintextResponseBody
- func (s GenerateDataKeyWithoutPlaintextResponseBody) String() string
- type GenerateDataKeyWithoutPlaintextShrinkRequest
- func (s GenerateDataKeyWithoutPlaintextShrinkRequest) GoString() string
- func (s *GenerateDataKeyWithoutPlaintextShrinkRequest) SetDryRun(v string) *GenerateDataKeyWithoutPlaintextShrinkRequest
- func (s *GenerateDataKeyWithoutPlaintextShrinkRequest) SetEncryptionContextShrink(v string) *GenerateDataKeyWithoutPlaintextShrinkRequest
- func (s *GenerateDataKeyWithoutPlaintextShrinkRequest) SetKeyId(v string) *GenerateDataKeyWithoutPlaintextShrinkRequest
- func (s *GenerateDataKeyWithoutPlaintextShrinkRequest) SetKeySpec(v string) *GenerateDataKeyWithoutPlaintextShrinkRequest
- func (s *GenerateDataKeyWithoutPlaintextShrinkRequest) SetNumberOfBytes(v int32) *GenerateDataKeyWithoutPlaintextShrinkRequest
- func (s GenerateDataKeyWithoutPlaintextShrinkRequest) String() string
- type GetCertificateRequest
- type GetCertificateResponse
- func (s GetCertificateResponse) GoString() string
- func (s *GetCertificateResponse) SetBody(v *GetCertificateResponseBody) *GetCertificateResponse
- func (s *GetCertificateResponse) SetHeaders(v map[string]*string) *GetCertificateResponse
- func (s *GetCertificateResponse) SetStatusCode(v int32) *GetCertificateResponse
- func (s GetCertificateResponse) String() string
- type GetCertificateResponseBody
- func (s GetCertificateResponseBody) GoString() string
- func (s *GetCertificateResponseBody) SetCertificate(v string) *GetCertificateResponseBody
- func (s *GetCertificateResponseBody) SetCertificateChain(v string) *GetCertificateResponseBody
- func (s *GetCertificateResponseBody) SetCertificateId(v string) *GetCertificateResponseBody
- func (s *GetCertificateResponseBody) SetCsr(v string) *GetCertificateResponseBody
- func (s *GetCertificateResponseBody) SetRequestId(v string) *GetCertificateResponseBody
- func (s GetCertificateResponseBody) String() string
- type GetClientKeyRequest
- type GetClientKeyResponse
- func (s GetClientKeyResponse) GoString() string
- func (s *GetClientKeyResponse) SetBody(v *GetClientKeyResponseBody) *GetClientKeyResponse
- func (s *GetClientKeyResponse) SetHeaders(v map[string]*string) *GetClientKeyResponse
- func (s *GetClientKeyResponse) SetStatusCode(v int32) *GetClientKeyResponse
- func (s GetClientKeyResponse) String() string
- type GetClientKeyResponseBody
- func (s GetClientKeyResponseBody) GoString() string
- func (s *GetClientKeyResponseBody) SetAapName(v string) *GetClientKeyResponseBody
- func (s *GetClientKeyResponseBody) SetClientKeyId(v string) *GetClientKeyResponseBody
- func (s *GetClientKeyResponseBody) SetCreateTime(v string) *GetClientKeyResponseBody
- func (s *GetClientKeyResponseBody) SetKeyAlgorithm(v string) *GetClientKeyResponseBody
- func (s *GetClientKeyResponseBody) SetKeyOrigin(v string) *GetClientKeyResponseBody
- func (s *GetClientKeyResponseBody) SetNotAfter(v string) *GetClientKeyResponseBody
- func (s *GetClientKeyResponseBody) SetNotBefore(v string) *GetClientKeyResponseBody
- func (s *GetClientKeyResponseBody) SetPublicKeyData(v string) *GetClientKeyResponseBody
- func (s *GetClientKeyResponseBody) SetRequestId(v string) *GetClientKeyResponseBody
- func (s GetClientKeyResponseBody) String() string
- type GetKeyPolicyRequest
- type GetKeyPolicyResponse
- func (s GetKeyPolicyResponse) GoString() string
- func (s *GetKeyPolicyResponse) SetBody(v *GetKeyPolicyResponseBody) *GetKeyPolicyResponse
- func (s *GetKeyPolicyResponse) SetHeaders(v map[string]*string) *GetKeyPolicyResponse
- func (s *GetKeyPolicyResponse) SetStatusCode(v int32) *GetKeyPolicyResponse
- func (s GetKeyPolicyResponse) String() string
- type GetKeyPolicyResponseBody
- type GetKmsInstanceRequest
- type GetKmsInstanceResponse
- func (s GetKmsInstanceResponse) GoString() string
- func (s *GetKmsInstanceResponse) SetBody(v *GetKmsInstanceResponseBody) *GetKmsInstanceResponse
- func (s *GetKmsInstanceResponse) SetHeaders(v map[string]*string) *GetKmsInstanceResponse
- func (s *GetKmsInstanceResponse) SetStatusCode(v int32) *GetKmsInstanceResponse
- func (s GetKmsInstanceResponse) String() string
- type GetKmsInstanceResponseBody
- func (s GetKmsInstanceResponseBody) GoString() string
- func (s *GetKmsInstanceResponseBody) SetKmsInstance(v *GetKmsInstanceResponseBodyKmsInstance) *GetKmsInstanceResponseBody
- func (s *GetKmsInstanceResponseBody) SetRequestId(v string) *GetKmsInstanceResponseBody
- func (s GetKmsInstanceResponseBody) String() string
- type GetKmsInstanceResponseBodyKmsInstance
- func (s GetKmsInstanceResponseBodyKmsInstance) GoString() string
- func (s *GetKmsInstanceResponseBodyKmsInstance) SetBindVpcs(v *GetKmsInstanceResponseBodyKmsInstanceBindVpcs) *GetKmsInstanceResponseBodyKmsInstance
- func (s *GetKmsInstanceResponseBodyKmsInstance) SetCaCertificateChainPem(v string) *GetKmsInstanceResponseBodyKmsInstance
- func (s *GetKmsInstanceResponseBodyKmsInstance) SetCreateTime(v string) *GetKmsInstanceResponseBodyKmsInstance
- func (s *GetKmsInstanceResponseBodyKmsInstance) SetEndDate(v string) *GetKmsInstanceResponseBodyKmsInstance
- func (s *GetKmsInstanceResponseBodyKmsInstance) SetInstanceId(v string) *GetKmsInstanceResponseBodyKmsInstance
- func (s *GetKmsInstanceResponseBodyKmsInstance) SetInstanceName(v string) *GetKmsInstanceResponseBodyKmsInstance
- func (s *GetKmsInstanceResponseBodyKmsInstance) SetKeyNum(v int64) *GetKmsInstanceResponseBodyKmsInstance
- func (s *GetKmsInstanceResponseBodyKmsInstance) SetSecretNum(v string) *GetKmsInstanceResponseBodyKmsInstance
- func (s *GetKmsInstanceResponseBodyKmsInstance) SetSpec(v int64) *GetKmsInstanceResponseBodyKmsInstance
- func (s *GetKmsInstanceResponseBodyKmsInstance) SetStartDate(v string) *GetKmsInstanceResponseBodyKmsInstance
- func (s *GetKmsInstanceResponseBodyKmsInstance) SetStatus(v string) *GetKmsInstanceResponseBodyKmsInstance
- func (s *GetKmsInstanceResponseBodyKmsInstance) SetVpcId(v string) *GetKmsInstanceResponseBodyKmsInstance
- func (s *GetKmsInstanceResponseBodyKmsInstance) SetVpcNum(v int64) *GetKmsInstanceResponseBodyKmsInstance
- func (s *GetKmsInstanceResponseBodyKmsInstance) SetVswitchIds(v string) *GetKmsInstanceResponseBodyKmsInstance
- func (s *GetKmsInstanceResponseBodyKmsInstance) SetZoneIds(v string) *GetKmsInstanceResponseBodyKmsInstance
- func (s GetKmsInstanceResponseBodyKmsInstance) String() string
- type GetKmsInstanceResponseBodyKmsInstanceBindVpcs
- func (s GetKmsInstanceResponseBodyKmsInstanceBindVpcs) GoString() string
- func (s *GetKmsInstanceResponseBodyKmsInstanceBindVpcs) SetBindVpc(v []*GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc) *GetKmsInstanceResponseBodyKmsInstanceBindVpcs
- func (s GetKmsInstanceResponseBodyKmsInstanceBindVpcs) String() string
- type GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc
- func (s GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc) GoString() string
- func (s *GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc) SetRegionId(v string) *GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc
- func (s *GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc) SetVSwitchId(v string) *GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc
- func (s *GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc) SetVpcId(v string) *GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc
- func (s *GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc) SetVpcOwnerId(v string) *GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc
- func (s GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc) String() string
- type GetParametersForImportRequest
- func (s GetParametersForImportRequest) GoString() string
- func (s *GetParametersForImportRequest) SetKeyId(v string) *GetParametersForImportRequest
- func (s *GetParametersForImportRequest) SetWrappingAlgorithm(v string) *GetParametersForImportRequest
- func (s *GetParametersForImportRequest) SetWrappingKeySpec(v string) *GetParametersForImportRequest
- func (s GetParametersForImportRequest) String() string
- type GetParametersForImportResponse
- func (s GetParametersForImportResponse) GoString() string
- func (s *GetParametersForImportResponse) SetBody(v *GetParametersForImportResponseBody) *GetParametersForImportResponse
- func (s *GetParametersForImportResponse) SetHeaders(v map[string]*string) *GetParametersForImportResponse
- func (s *GetParametersForImportResponse) SetStatusCode(v int32) *GetParametersForImportResponse
- func (s GetParametersForImportResponse) String() string
- type GetParametersForImportResponseBody
- func (s GetParametersForImportResponseBody) GoString() string
- func (s *GetParametersForImportResponseBody) SetImportToken(v string) *GetParametersForImportResponseBody
- func (s *GetParametersForImportResponseBody) SetKeyId(v string) *GetParametersForImportResponseBody
- func (s *GetParametersForImportResponseBody) SetPublicKey(v string) *GetParametersForImportResponseBody
- func (s *GetParametersForImportResponseBody) SetRequestId(v string) *GetParametersForImportResponseBody
- func (s *GetParametersForImportResponseBody) SetTokenExpireTime(v string) *GetParametersForImportResponseBody
- func (s GetParametersForImportResponseBody) String() string
- type GetPublicKeyRequest
- func (s GetPublicKeyRequest) GoString() string
- func (s *GetPublicKeyRequest) SetDryRun(v string) *GetPublicKeyRequest
- func (s *GetPublicKeyRequest) SetKeyId(v string) *GetPublicKeyRequest
- func (s *GetPublicKeyRequest) SetKeyVersionId(v string) *GetPublicKeyRequest
- func (s GetPublicKeyRequest) String() string
- type GetPublicKeyResponse
- func (s GetPublicKeyResponse) GoString() string
- func (s *GetPublicKeyResponse) SetBody(v *GetPublicKeyResponseBody) *GetPublicKeyResponse
- func (s *GetPublicKeyResponse) SetHeaders(v map[string]*string) *GetPublicKeyResponse
- func (s *GetPublicKeyResponse) SetStatusCode(v int32) *GetPublicKeyResponse
- func (s GetPublicKeyResponse) String() string
- type GetPublicKeyResponseBody
- func (s GetPublicKeyResponseBody) GoString() string
- func (s *GetPublicKeyResponseBody) SetKeyId(v string) *GetPublicKeyResponseBody
- func (s *GetPublicKeyResponseBody) SetKeyVersionId(v string) *GetPublicKeyResponseBody
- func (s *GetPublicKeyResponseBody) SetPublicKey(v string) *GetPublicKeyResponseBody
- func (s *GetPublicKeyResponseBody) SetRequestId(v string) *GetPublicKeyResponseBody
- func (s GetPublicKeyResponseBody) String() string
- type GetRandomPasswordRequest
- func (s GetRandomPasswordRequest) GoString() string
- func (s *GetRandomPasswordRequest) SetExcludeCharacters(v string) *GetRandomPasswordRequest
- func (s *GetRandomPasswordRequest) SetExcludeLowercase(v string) *GetRandomPasswordRequest
- func (s *GetRandomPasswordRequest) SetExcludeNumbers(v string) *GetRandomPasswordRequest
- func (s *GetRandomPasswordRequest) SetExcludePunctuation(v string) *GetRandomPasswordRequest
- func (s *GetRandomPasswordRequest) SetExcludeUppercase(v string) *GetRandomPasswordRequest
- func (s *GetRandomPasswordRequest) SetPasswordLength(v string) *GetRandomPasswordRequest
- func (s *GetRandomPasswordRequest) SetRequireEachIncludedType(v string) *GetRandomPasswordRequest
- func (s GetRandomPasswordRequest) String() string
- type GetRandomPasswordResponse
- func (s GetRandomPasswordResponse) GoString() string
- func (s *GetRandomPasswordResponse) SetBody(v *GetRandomPasswordResponseBody) *GetRandomPasswordResponse
- func (s *GetRandomPasswordResponse) SetHeaders(v map[string]*string) *GetRandomPasswordResponse
- func (s *GetRandomPasswordResponse) SetStatusCode(v int32) *GetRandomPasswordResponse
- func (s GetRandomPasswordResponse) String() string
- type GetRandomPasswordResponseBody
- func (s GetRandomPasswordResponseBody) GoString() string
- func (s *GetRandomPasswordResponseBody) SetRandomPassword(v string) *GetRandomPasswordResponseBody
- func (s *GetRandomPasswordResponseBody) SetRequestId(v string) *GetRandomPasswordResponseBody
- func (s GetRandomPasswordResponseBody) String() string
- type GetSecretPolicyRequest
- type GetSecretPolicyResponse
- func (s GetSecretPolicyResponse) GoString() string
- func (s *GetSecretPolicyResponse) SetBody(v *GetSecretPolicyResponseBody) *GetSecretPolicyResponse
- func (s *GetSecretPolicyResponse) SetHeaders(v map[string]*string) *GetSecretPolicyResponse
- func (s *GetSecretPolicyResponse) SetStatusCode(v int32) *GetSecretPolicyResponse
- func (s GetSecretPolicyResponse) String() string
- type GetSecretPolicyResponseBody
- type GetSecretValueRequest
- func (s GetSecretValueRequest) GoString() string
- func (s *GetSecretValueRequest) SetDryRun(v string) *GetSecretValueRequest
- func (s *GetSecretValueRequest) SetFetchExtendedConfig(v bool) *GetSecretValueRequest
- func (s *GetSecretValueRequest) SetSecretName(v string) *GetSecretValueRequest
- func (s *GetSecretValueRequest) SetVersionId(v string) *GetSecretValueRequest
- func (s *GetSecretValueRequest) SetVersionStage(v string) *GetSecretValueRequest
- func (s GetSecretValueRequest) String() string
- type GetSecretValueResponse
- func (s GetSecretValueResponse) GoString() string
- func (s *GetSecretValueResponse) SetBody(v *GetSecretValueResponseBody) *GetSecretValueResponse
- func (s *GetSecretValueResponse) SetHeaders(v map[string]*string) *GetSecretValueResponse
- func (s *GetSecretValueResponse) SetStatusCode(v int32) *GetSecretValueResponse
- func (s GetSecretValueResponse) String() string
- type GetSecretValueResponseBody
- func (s GetSecretValueResponseBody) GoString() string
- func (s *GetSecretValueResponseBody) SetAutomaticRotation(v string) *GetSecretValueResponseBody
- func (s *GetSecretValueResponseBody) SetCreateTime(v string) *GetSecretValueResponseBody
- func (s *GetSecretValueResponseBody) SetExtendedConfig(v string) *GetSecretValueResponseBody
- func (s *GetSecretValueResponseBody) SetLastRotationDate(v string) *GetSecretValueResponseBody
- func (s *GetSecretValueResponseBody) SetNextRotationDate(v string) *GetSecretValueResponseBody
- func (s *GetSecretValueResponseBody) SetRequestId(v string) *GetSecretValueResponseBody
- func (s *GetSecretValueResponseBody) SetRotationInterval(v string) *GetSecretValueResponseBody
- func (s *GetSecretValueResponseBody) SetSecretData(v string) *GetSecretValueResponseBody
- func (s *GetSecretValueResponseBody) SetSecretDataType(v string) *GetSecretValueResponseBody
- func (s *GetSecretValueResponseBody) SetSecretName(v string) *GetSecretValueResponseBody
- func (s *GetSecretValueResponseBody) SetSecretType(v string) *GetSecretValueResponseBody
- func (s *GetSecretValueResponseBody) SetVersionId(v string) *GetSecretValueResponseBody
- func (s *GetSecretValueResponseBody) SetVersionStages(v *GetSecretValueResponseBodyVersionStages) *GetSecretValueResponseBody
- func (s GetSecretValueResponseBody) String() string
- type GetSecretValueResponseBodyVersionStages
- type ImportKeyMaterialRequest
- func (s ImportKeyMaterialRequest) GoString() string
- func (s *ImportKeyMaterialRequest) SetEncryptedKeyMaterial(v string) *ImportKeyMaterialRequest
- func (s *ImportKeyMaterialRequest) SetImportToken(v string) *ImportKeyMaterialRequest
- func (s *ImportKeyMaterialRequest) SetKeyId(v string) *ImportKeyMaterialRequest
- func (s *ImportKeyMaterialRequest) SetKeyMaterialExpireUnix(v int64) *ImportKeyMaterialRequest
- func (s ImportKeyMaterialRequest) String() string
- type ImportKeyMaterialResponse
- func (s ImportKeyMaterialResponse) GoString() string
- func (s *ImportKeyMaterialResponse) SetBody(v *ImportKeyMaterialResponseBody) *ImportKeyMaterialResponse
- func (s *ImportKeyMaterialResponse) SetHeaders(v map[string]*string) *ImportKeyMaterialResponse
- func (s *ImportKeyMaterialResponse) SetStatusCode(v int32) *ImportKeyMaterialResponse
- func (s ImportKeyMaterialResponse) String() string
- type ImportKeyMaterialResponseBody
- type ListAliasesByKeyIdRequest
- func (s ListAliasesByKeyIdRequest) GoString() string
- func (s *ListAliasesByKeyIdRequest) SetKeyId(v string) *ListAliasesByKeyIdRequest
- func (s *ListAliasesByKeyIdRequest) SetPageNumber(v int32) *ListAliasesByKeyIdRequest
- func (s *ListAliasesByKeyIdRequest) SetPageSize(v int32) *ListAliasesByKeyIdRequest
- func (s ListAliasesByKeyIdRequest) String() string
- type ListAliasesByKeyIdResponse
- func (s ListAliasesByKeyIdResponse) GoString() string
- func (s *ListAliasesByKeyIdResponse) SetBody(v *ListAliasesByKeyIdResponseBody) *ListAliasesByKeyIdResponse
- func (s *ListAliasesByKeyIdResponse) SetHeaders(v map[string]*string) *ListAliasesByKeyIdResponse
- func (s *ListAliasesByKeyIdResponse) SetStatusCode(v int32) *ListAliasesByKeyIdResponse
- func (s ListAliasesByKeyIdResponse) String() string
- type ListAliasesByKeyIdResponseBody
- func (s ListAliasesByKeyIdResponseBody) GoString() string
- func (s *ListAliasesByKeyIdResponseBody) SetAliases(v *ListAliasesByKeyIdResponseBodyAliases) *ListAliasesByKeyIdResponseBody
- func (s *ListAliasesByKeyIdResponseBody) SetPageNumber(v int32) *ListAliasesByKeyIdResponseBody
- func (s *ListAliasesByKeyIdResponseBody) SetPageSize(v int32) *ListAliasesByKeyIdResponseBody
- func (s *ListAliasesByKeyIdResponseBody) SetRequestId(v string) *ListAliasesByKeyIdResponseBody
- func (s *ListAliasesByKeyIdResponseBody) SetTotalCount(v int32) *ListAliasesByKeyIdResponseBody
- func (s ListAliasesByKeyIdResponseBody) String() string
- type ListAliasesByKeyIdResponseBodyAliases
- type ListAliasesByKeyIdResponseBodyAliasesAlias
- func (s ListAliasesByKeyIdResponseBodyAliasesAlias) GoString() string
- func (s *ListAliasesByKeyIdResponseBodyAliasesAlias) SetAliasArn(v string) *ListAliasesByKeyIdResponseBodyAliasesAlias
- func (s *ListAliasesByKeyIdResponseBodyAliasesAlias) SetAliasName(v string) *ListAliasesByKeyIdResponseBodyAliasesAlias
- func (s *ListAliasesByKeyIdResponseBodyAliasesAlias) SetKeyId(v string) *ListAliasesByKeyIdResponseBodyAliasesAlias
- func (s ListAliasesByKeyIdResponseBodyAliasesAlias) String() string
- type ListAliasesRequest
- type ListAliasesResponse
- func (s ListAliasesResponse) GoString() string
- func (s *ListAliasesResponse) SetBody(v *ListAliasesResponseBody) *ListAliasesResponse
- func (s *ListAliasesResponse) SetHeaders(v map[string]*string) *ListAliasesResponse
- func (s *ListAliasesResponse) SetStatusCode(v int32) *ListAliasesResponse
- func (s ListAliasesResponse) String() string
- type ListAliasesResponseBody
- func (s ListAliasesResponseBody) GoString() string
- func (s *ListAliasesResponseBody) SetAliases(v *ListAliasesResponseBodyAliases) *ListAliasesResponseBody
- func (s *ListAliasesResponseBody) SetPageNumber(v int32) *ListAliasesResponseBody
- func (s *ListAliasesResponseBody) SetPageSize(v int32) *ListAliasesResponseBody
- func (s *ListAliasesResponseBody) SetRequestId(v string) *ListAliasesResponseBody
- func (s *ListAliasesResponseBody) SetTotalCount(v int32) *ListAliasesResponseBody
- func (s ListAliasesResponseBody) String() string
- type ListAliasesResponseBodyAliases
- type ListAliasesResponseBodyAliasesAlias
- func (s ListAliasesResponseBodyAliasesAlias) GoString() string
- func (s *ListAliasesResponseBodyAliasesAlias) SetAliasArn(v string) *ListAliasesResponseBodyAliasesAlias
- func (s *ListAliasesResponseBodyAliasesAlias) SetAliasName(v string) *ListAliasesResponseBodyAliasesAlias
- func (s *ListAliasesResponseBodyAliasesAlias) SetKeyId(v string) *ListAliasesResponseBodyAliasesAlias
- func (s ListAliasesResponseBodyAliasesAlias) String() string
- type ListApplicationAccessPointsRequest
- func (s ListApplicationAccessPointsRequest) GoString() string
- func (s *ListApplicationAccessPointsRequest) SetPageNumber(v int32) *ListApplicationAccessPointsRequest
- func (s *ListApplicationAccessPointsRequest) SetPageSize(v int32) *ListApplicationAccessPointsRequest
- func (s ListApplicationAccessPointsRequest) String() string
- type ListApplicationAccessPointsResponse
- func (s ListApplicationAccessPointsResponse) GoString() string
- func (s *ListApplicationAccessPointsResponse) SetBody(v *ListApplicationAccessPointsResponseBody) *ListApplicationAccessPointsResponse
- func (s *ListApplicationAccessPointsResponse) SetHeaders(v map[string]*string) *ListApplicationAccessPointsResponse
- func (s *ListApplicationAccessPointsResponse) SetStatusCode(v int32) *ListApplicationAccessPointsResponse
- func (s ListApplicationAccessPointsResponse) String() string
- type ListApplicationAccessPointsResponseBody
- func (s ListApplicationAccessPointsResponseBody) GoString() string
- func (s *ListApplicationAccessPointsResponseBody) SetApplicationAccessPoints(v *ListApplicationAccessPointsResponseBodyApplicationAccessPoints) *ListApplicationAccessPointsResponseBody
- func (s *ListApplicationAccessPointsResponseBody) SetPageNumber(v int32) *ListApplicationAccessPointsResponseBody
- func (s *ListApplicationAccessPointsResponseBody) SetPageSize(v int32) *ListApplicationAccessPointsResponseBody
- func (s *ListApplicationAccessPointsResponseBody) SetRequestId(v string) *ListApplicationAccessPointsResponseBody
- func (s *ListApplicationAccessPointsResponseBody) SetTotalCount(v int32) *ListApplicationAccessPointsResponseBody
- func (s ListApplicationAccessPointsResponseBody) String() string
- type ListApplicationAccessPointsResponseBodyApplicationAccessPoints
- func (s ListApplicationAccessPointsResponseBodyApplicationAccessPoints) GoString() string
- func (s *ListApplicationAccessPointsResponseBodyApplicationAccessPoints) SetApplicationAccessPoint(...) *ListApplicationAccessPointsResponseBodyApplicationAccessPoints
- func (s ListApplicationAccessPointsResponseBodyApplicationAccessPoints) String() string
- type ListApplicationAccessPointsResponseBodyApplicationAccessPointsApplicationAccessPoint
- func (s ListApplicationAccessPointsResponseBodyApplicationAccessPointsApplicationAccessPoint) GoString() string
- func (s *ListApplicationAccessPointsResponseBodyApplicationAccessPointsApplicationAccessPoint) SetAuthenticationMethod(v string) ...
- func (s *ListApplicationAccessPointsResponseBodyApplicationAccessPointsApplicationAccessPoint) SetName(v string) ...
- func (s ListApplicationAccessPointsResponseBodyApplicationAccessPointsApplicationAccessPoint) String() string
- type ListClientKeysRequest
- type ListClientKeysResponse
- func (s ListClientKeysResponse) GoString() string
- func (s *ListClientKeysResponse) SetBody(v *ListClientKeysResponseBody) *ListClientKeysResponse
- func (s *ListClientKeysResponse) SetHeaders(v map[string]*string) *ListClientKeysResponse
- func (s *ListClientKeysResponse) SetStatusCode(v int32) *ListClientKeysResponse
- func (s ListClientKeysResponse) String() string
- type ListClientKeysResponseBody
- func (s ListClientKeysResponseBody) GoString() string
- func (s *ListClientKeysResponseBody) SetClientKeys(v []*ListClientKeysResponseBodyClientKeys) *ListClientKeysResponseBody
- func (s *ListClientKeysResponseBody) SetRequestId(v string) *ListClientKeysResponseBody
- func (s ListClientKeysResponseBody) String() string
- type ListClientKeysResponseBodyClientKeys
- func (s ListClientKeysResponseBodyClientKeys) GoString() string
- func (s *ListClientKeysResponseBodyClientKeys) SetAapName(v string) *ListClientKeysResponseBodyClientKeys
- func (s *ListClientKeysResponseBodyClientKeys) SetClientKeyId(v string) *ListClientKeysResponseBodyClientKeys
- func (s *ListClientKeysResponseBodyClientKeys) SetCreateTime(v string) *ListClientKeysResponseBodyClientKeys
- func (s *ListClientKeysResponseBodyClientKeys) SetKeyAlgorithm(v string) *ListClientKeysResponseBodyClientKeys
- func (s *ListClientKeysResponseBodyClientKeys) SetKeyOrigin(v string) *ListClientKeysResponseBodyClientKeys
- func (s *ListClientKeysResponseBodyClientKeys) SetNotAfter(v string) *ListClientKeysResponseBodyClientKeys
- func (s *ListClientKeysResponseBodyClientKeys) SetNotBefore(v string) *ListClientKeysResponseBodyClientKeys
- func (s *ListClientKeysResponseBodyClientKeys) SetPublicKeyData(v string) *ListClientKeysResponseBodyClientKeys
- func (s ListClientKeysResponseBodyClientKeys) String() string
- type ListKeyVersionsRequest
- func (s ListKeyVersionsRequest) GoString() string
- func (s *ListKeyVersionsRequest) SetKeyId(v string) *ListKeyVersionsRequest
- func (s *ListKeyVersionsRequest) SetPageNumber(v int32) *ListKeyVersionsRequest
- func (s *ListKeyVersionsRequest) SetPageSize(v int32) *ListKeyVersionsRequest
- func (s ListKeyVersionsRequest) String() string
- type ListKeyVersionsResponse
- func (s ListKeyVersionsResponse) GoString() string
- func (s *ListKeyVersionsResponse) SetBody(v *ListKeyVersionsResponseBody) *ListKeyVersionsResponse
- func (s *ListKeyVersionsResponse) SetHeaders(v map[string]*string) *ListKeyVersionsResponse
- func (s *ListKeyVersionsResponse) SetStatusCode(v int32) *ListKeyVersionsResponse
- func (s ListKeyVersionsResponse) String() string
- type ListKeyVersionsResponseBody
- func (s ListKeyVersionsResponseBody) GoString() string
- func (s *ListKeyVersionsResponseBody) SetKeyVersions(v *ListKeyVersionsResponseBodyKeyVersions) *ListKeyVersionsResponseBody
- func (s *ListKeyVersionsResponseBody) SetPageNumber(v int32) *ListKeyVersionsResponseBody
- func (s *ListKeyVersionsResponseBody) SetPageSize(v int32) *ListKeyVersionsResponseBody
- func (s *ListKeyVersionsResponseBody) SetRequestId(v string) *ListKeyVersionsResponseBody
- func (s *ListKeyVersionsResponseBody) SetTotalCount(v int32) *ListKeyVersionsResponseBody
- func (s ListKeyVersionsResponseBody) String() string
- type ListKeyVersionsResponseBodyKeyVersions
- type ListKeyVersionsResponseBodyKeyVersionsKeyVersion
- func (s ListKeyVersionsResponseBodyKeyVersionsKeyVersion) GoString() string
- func (s *ListKeyVersionsResponseBodyKeyVersionsKeyVersion) SetCreationDate(v string) *ListKeyVersionsResponseBodyKeyVersionsKeyVersion
- func (s *ListKeyVersionsResponseBodyKeyVersionsKeyVersion) SetKeyId(v string) *ListKeyVersionsResponseBodyKeyVersionsKeyVersion
- func (s *ListKeyVersionsResponseBodyKeyVersionsKeyVersion) SetKeyVersionId(v string) *ListKeyVersionsResponseBodyKeyVersionsKeyVersion
- func (s ListKeyVersionsResponseBodyKeyVersionsKeyVersion) String() string
- type ListKeysRequest
- type ListKeysResponse
- func (s ListKeysResponse) GoString() string
- func (s *ListKeysResponse) SetBody(v *ListKeysResponseBody) *ListKeysResponse
- func (s *ListKeysResponse) SetHeaders(v map[string]*string) *ListKeysResponse
- func (s *ListKeysResponse) SetStatusCode(v int32) *ListKeysResponse
- func (s ListKeysResponse) String() string
- type ListKeysResponseBody
- func (s ListKeysResponseBody) GoString() string
- func (s *ListKeysResponseBody) SetKeys(v *ListKeysResponseBodyKeys) *ListKeysResponseBody
- func (s *ListKeysResponseBody) SetPageNumber(v int32) *ListKeysResponseBody
- func (s *ListKeysResponseBody) SetPageSize(v int32) *ListKeysResponseBody
- func (s *ListKeysResponseBody) SetRequestId(v string) *ListKeysResponseBody
- func (s *ListKeysResponseBody) SetTotalCount(v int32) *ListKeysResponseBody
- func (s ListKeysResponseBody) String() string
- type ListKeysResponseBodyKeys
- type ListKeysResponseBodyKeysKey
- type ListKmsInstancesRequest
- type ListKmsInstancesResponse
- func (s ListKmsInstancesResponse) GoString() string
- func (s *ListKmsInstancesResponse) SetBody(v *ListKmsInstancesResponseBody) *ListKmsInstancesResponse
- func (s *ListKmsInstancesResponse) SetHeaders(v map[string]*string) *ListKmsInstancesResponse
- func (s *ListKmsInstancesResponse) SetStatusCode(v int32) *ListKmsInstancesResponse
- func (s ListKmsInstancesResponse) String() string
- type ListKmsInstancesResponseBody
- func (s ListKmsInstancesResponseBody) GoString() string
- func (s *ListKmsInstancesResponseBody) SetKmsInstances(v *ListKmsInstancesResponseBodyKmsInstances) *ListKmsInstancesResponseBody
- func (s *ListKmsInstancesResponseBody) SetPageNumber(v int64) *ListKmsInstancesResponseBody
- func (s *ListKmsInstancesResponseBody) SetPageSize(v int64) *ListKmsInstancesResponseBody
- func (s *ListKmsInstancesResponseBody) SetRequestId(v string) *ListKmsInstancesResponseBody
- func (s *ListKmsInstancesResponseBody) SetTotalCount(v int64) *ListKmsInstancesResponseBody
- func (s ListKmsInstancesResponseBody) String() string
- type ListKmsInstancesResponseBodyKmsInstances
- type ListKmsInstancesResponseBodyKmsInstancesKmsInstance
- func (s ListKmsInstancesResponseBodyKmsInstancesKmsInstance) GoString() string
- func (s *ListKmsInstancesResponseBodyKmsInstancesKmsInstance) SetKmsInstanceArn(v string) *ListKmsInstancesResponseBodyKmsInstancesKmsInstance
- func (s *ListKmsInstancesResponseBodyKmsInstancesKmsInstance) SetKmsInstanceId(v string) *ListKmsInstancesResponseBodyKmsInstancesKmsInstance
- func (s ListKmsInstancesResponseBodyKmsInstancesKmsInstance) String() string
- type ListNetworkRulesRequest
- type ListNetworkRulesResponse
- func (s ListNetworkRulesResponse) GoString() string
- func (s *ListNetworkRulesResponse) SetBody(v *ListNetworkRulesResponseBody) *ListNetworkRulesResponse
- func (s *ListNetworkRulesResponse) SetHeaders(v map[string]*string) *ListNetworkRulesResponse
- func (s *ListNetworkRulesResponse) SetStatusCode(v int32) *ListNetworkRulesResponse
- func (s ListNetworkRulesResponse) String() string
- type ListNetworkRulesResponseBody
- func (s ListNetworkRulesResponseBody) GoString() string
- func (s *ListNetworkRulesResponseBody) SetNetworkRules(v *ListNetworkRulesResponseBodyNetworkRules) *ListNetworkRulesResponseBody
- func (s *ListNetworkRulesResponseBody) SetPageNumber(v int32) *ListNetworkRulesResponseBody
- func (s *ListNetworkRulesResponseBody) SetPageSize(v int32) *ListNetworkRulesResponseBody
- func (s *ListNetworkRulesResponseBody) SetRequestId(v string) *ListNetworkRulesResponseBody
- func (s *ListNetworkRulesResponseBody) SetTotalCount(v int32) *ListNetworkRulesResponseBody
- func (s ListNetworkRulesResponseBody) String() string
- type ListNetworkRulesResponseBodyNetworkRules
- type ListNetworkRulesResponseBodyNetworkRulesNetworkRule
- func (s ListNetworkRulesResponseBodyNetworkRulesNetworkRule) GoString() string
- func (s *ListNetworkRulesResponseBodyNetworkRulesNetworkRule) SetName(v string) *ListNetworkRulesResponseBodyNetworkRulesNetworkRule
- func (s *ListNetworkRulesResponseBodyNetworkRulesNetworkRule) SetType(v string) *ListNetworkRulesResponseBodyNetworkRulesNetworkRule
- func (s ListNetworkRulesResponseBodyNetworkRulesNetworkRule) String() string
- type ListPoliciesRequest
- type ListPoliciesResponse
- func (s ListPoliciesResponse) GoString() string
- func (s *ListPoliciesResponse) SetBody(v *ListPoliciesResponseBody) *ListPoliciesResponse
- func (s *ListPoliciesResponse) SetHeaders(v map[string]*string) *ListPoliciesResponse
- func (s *ListPoliciesResponse) SetStatusCode(v int32) *ListPoliciesResponse
- func (s ListPoliciesResponse) String() string
- type ListPoliciesResponseBody
- func (s ListPoliciesResponseBody) GoString() string
- func (s *ListPoliciesResponseBody) SetPageNumber(v int32) *ListPoliciesResponseBody
- func (s *ListPoliciesResponseBody) SetPageSize(v int32) *ListPoliciesResponseBody
- func (s *ListPoliciesResponseBody) SetPolicies(v *ListPoliciesResponseBodyPolicies) *ListPoliciesResponseBody
- func (s *ListPoliciesResponseBody) SetRequestId(v string) *ListPoliciesResponseBody
- func (s *ListPoliciesResponseBody) SetTotalCount(v int32) *ListPoliciesResponseBody
- func (s ListPoliciesResponseBody) String() string
- type ListPoliciesResponseBodyPolicies
- type ListPoliciesResponseBodyPoliciesPolicy
- type ListResourceTagsRequest
- type ListResourceTagsResponse
- func (s ListResourceTagsResponse) GoString() string
- func (s *ListResourceTagsResponse) SetBody(v *ListResourceTagsResponseBody) *ListResourceTagsResponse
- func (s *ListResourceTagsResponse) SetHeaders(v map[string]*string) *ListResourceTagsResponse
- func (s *ListResourceTagsResponse) SetStatusCode(v int32) *ListResourceTagsResponse
- func (s ListResourceTagsResponse) String() string
- type ListResourceTagsResponseBody
- func (s ListResourceTagsResponseBody) GoString() string
- func (s *ListResourceTagsResponseBody) SetRequestId(v string) *ListResourceTagsResponseBody
- func (s *ListResourceTagsResponseBody) SetTags(v *ListResourceTagsResponseBodyTags) *ListResourceTagsResponseBody
- func (s ListResourceTagsResponseBody) String() string
- type ListResourceTagsResponseBodyTags
- type ListResourceTagsResponseBodyTagsTag
- func (s ListResourceTagsResponseBodyTagsTag) GoString() string
- func (s *ListResourceTagsResponseBodyTagsTag) SetKeyId(v string) *ListResourceTagsResponseBodyTagsTag
- func (s *ListResourceTagsResponseBodyTagsTag) SetTagKey(v string) *ListResourceTagsResponseBodyTagsTag
- func (s *ListResourceTagsResponseBodyTagsTag) SetTagValue(v string) *ListResourceTagsResponseBodyTagsTag
- func (s ListResourceTagsResponseBodyTagsTag) String() string
- type ListSecretVersionIdsRequest
- func (s ListSecretVersionIdsRequest) GoString() string
- func (s *ListSecretVersionIdsRequest) SetIncludeDeprecated(v string) *ListSecretVersionIdsRequest
- func (s *ListSecretVersionIdsRequest) SetPageNumber(v int32) *ListSecretVersionIdsRequest
- func (s *ListSecretVersionIdsRequest) SetPageSize(v int32) *ListSecretVersionIdsRequest
- func (s *ListSecretVersionIdsRequest) SetSecretName(v string) *ListSecretVersionIdsRequest
- func (s ListSecretVersionIdsRequest) String() string
- type ListSecretVersionIdsResponse
- func (s ListSecretVersionIdsResponse) GoString() string
- func (s *ListSecretVersionIdsResponse) SetBody(v *ListSecretVersionIdsResponseBody) *ListSecretVersionIdsResponse
- func (s *ListSecretVersionIdsResponse) SetHeaders(v map[string]*string) *ListSecretVersionIdsResponse
- func (s *ListSecretVersionIdsResponse) SetStatusCode(v int32) *ListSecretVersionIdsResponse
- func (s ListSecretVersionIdsResponse) String() string
- type ListSecretVersionIdsResponseBody
- func (s ListSecretVersionIdsResponseBody) GoString() string
- func (s *ListSecretVersionIdsResponseBody) SetPageNumber(v int32) *ListSecretVersionIdsResponseBody
- func (s *ListSecretVersionIdsResponseBody) SetPageSize(v int32) *ListSecretVersionIdsResponseBody
- func (s *ListSecretVersionIdsResponseBody) SetRequestId(v string) *ListSecretVersionIdsResponseBody
- func (s *ListSecretVersionIdsResponseBody) SetSecretName(v string) *ListSecretVersionIdsResponseBody
- func (s *ListSecretVersionIdsResponseBody) SetTotalCount(v int32) *ListSecretVersionIdsResponseBody
- func (s *ListSecretVersionIdsResponseBody) SetVersionIds(v *ListSecretVersionIdsResponseBodyVersionIds) *ListSecretVersionIdsResponseBody
- func (s ListSecretVersionIdsResponseBody) String() string
- type ListSecretVersionIdsResponseBodyVersionIds
- func (s ListSecretVersionIdsResponseBodyVersionIds) GoString() string
- func (s *ListSecretVersionIdsResponseBodyVersionIds) SetVersionId(v []*ListSecretVersionIdsResponseBodyVersionIdsVersionId) *ListSecretVersionIdsResponseBodyVersionIds
- func (s ListSecretVersionIdsResponseBodyVersionIds) String() string
- type ListSecretVersionIdsResponseBodyVersionIdsVersionId
- func (s ListSecretVersionIdsResponseBodyVersionIdsVersionId) GoString() string
- func (s *ListSecretVersionIdsResponseBodyVersionIdsVersionId) SetCreateTime(v string) *ListSecretVersionIdsResponseBodyVersionIdsVersionId
- func (s *ListSecretVersionIdsResponseBodyVersionIdsVersionId) SetVersionId(v string) *ListSecretVersionIdsResponseBodyVersionIdsVersionId
- func (s *ListSecretVersionIdsResponseBodyVersionIdsVersionId) SetVersionStages(v *ListSecretVersionIdsResponseBodyVersionIdsVersionIdVersionStages) *ListSecretVersionIdsResponseBodyVersionIdsVersionId
- func (s ListSecretVersionIdsResponseBodyVersionIdsVersionId) String() string
- type ListSecretVersionIdsResponseBodyVersionIdsVersionIdVersionStages
- func (s ListSecretVersionIdsResponseBodyVersionIdsVersionIdVersionStages) GoString() string
- func (s *ListSecretVersionIdsResponseBodyVersionIdsVersionIdVersionStages) SetVersionStage(v []*string) *ListSecretVersionIdsResponseBodyVersionIdsVersionIdVersionStages
- func (s ListSecretVersionIdsResponseBodyVersionIdsVersionIdVersionStages) String() string
- type ListSecretsRequest
- func (s ListSecretsRequest) GoString() string
- func (s *ListSecretsRequest) SetFetchTags(v string) *ListSecretsRequest
- func (s *ListSecretsRequest) SetFilters(v string) *ListSecretsRequest
- func (s *ListSecretsRequest) SetPageNumber(v int32) *ListSecretsRequest
- func (s *ListSecretsRequest) SetPageSize(v int32) *ListSecretsRequest
- func (s ListSecretsRequest) String() string
- type ListSecretsResponse
- func (s ListSecretsResponse) GoString() string
- func (s *ListSecretsResponse) SetBody(v *ListSecretsResponseBody) *ListSecretsResponse
- func (s *ListSecretsResponse) SetHeaders(v map[string]*string) *ListSecretsResponse
- func (s *ListSecretsResponse) SetStatusCode(v int32) *ListSecretsResponse
- func (s ListSecretsResponse) String() string
- type ListSecretsResponseBody
- func (s ListSecretsResponseBody) GoString() string
- func (s *ListSecretsResponseBody) SetPageNumber(v int32) *ListSecretsResponseBody
- func (s *ListSecretsResponseBody) SetPageSize(v int32) *ListSecretsResponseBody
- func (s *ListSecretsResponseBody) SetRequestId(v string) *ListSecretsResponseBody
- func (s *ListSecretsResponseBody) SetSecretList(v *ListSecretsResponseBodySecretList) *ListSecretsResponseBody
- func (s *ListSecretsResponseBody) SetTotalCount(v int32) *ListSecretsResponseBody
- func (s ListSecretsResponseBody) String() string
- type ListSecretsResponseBodySecretList
- type ListSecretsResponseBodySecretListSecret
- func (s ListSecretsResponseBodySecretListSecret) GoString() string
- func (s *ListSecretsResponseBodySecretListSecret) SetCreateTime(v string) *ListSecretsResponseBodySecretListSecret
- func (s *ListSecretsResponseBodySecretListSecret) SetPlannedDeleteTime(v string) *ListSecretsResponseBodySecretListSecret
- func (s *ListSecretsResponseBodySecretListSecret) SetSecretName(v string) *ListSecretsResponseBodySecretListSecret
- func (s *ListSecretsResponseBodySecretListSecret) SetSecretType(v string) *ListSecretsResponseBodySecretListSecret
- func (s *ListSecretsResponseBodySecretListSecret) SetTags(v *ListSecretsResponseBodySecretListSecretTags) *ListSecretsResponseBodySecretListSecret
- func (s *ListSecretsResponseBodySecretListSecret) SetUpdateTime(v string) *ListSecretsResponseBodySecretListSecret
- func (s ListSecretsResponseBodySecretListSecret) String() string
- type ListSecretsResponseBodySecretListSecretTags
- type ListSecretsResponseBodySecretListSecretTagsTag
- func (s ListSecretsResponseBodySecretListSecretTagsTag) GoString() string
- func (s *ListSecretsResponseBodySecretListSecretTagsTag) SetTagKey(v string) *ListSecretsResponseBodySecretListSecretTagsTag
- func (s *ListSecretsResponseBodySecretListSecretTagsTag) SetTagValue(v string) *ListSecretsResponseBodySecretListSecretTagsTag
- func (s ListSecretsResponseBodySecretListSecretTagsTag) String() string
- type ListTagResourcesRequest
- func (s ListTagResourcesRequest) GoString() string
- func (s *ListTagResourcesRequest) SetNextToken(v string) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetRegionId(v string) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetResourceId(v []*string) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetResourceType(v string) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetTag(v []*ListTagResourcesRequestTag) *ListTagResourcesRequest
- func (s ListTagResourcesRequest) String() string
- type ListTagResourcesRequestTag
- type ListTagResourcesResponse
- func (s ListTagResourcesResponse) GoString() string
- func (s *ListTagResourcesResponse) SetBody(v *ListTagResourcesResponseBody) *ListTagResourcesResponse
- func (s *ListTagResourcesResponse) SetHeaders(v map[string]*string) *ListTagResourcesResponse
- func (s *ListTagResourcesResponse) SetStatusCode(v int32) *ListTagResourcesResponse
- func (s ListTagResourcesResponse) String() string
- type ListTagResourcesResponseBody
- func (s ListTagResourcesResponseBody) GoString() string
- func (s *ListTagResourcesResponseBody) SetNextToken(v string) *ListTagResourcesResponseBody
- func (s *ListTagResourcesResponseBody) SetRequestId(v string) *ListTagResourcesResponseBody
- func (s *ListTagResourcesResponseBody) SetTagResources(v *ListTagResourcesResponseBodyTagResources) *ListTagResourcesResponseBody
- func (s ListTagResourcesResponseBody) String() string
- type ListTagResourcesResponseBodyTagResources
- type ListTagResourcesResponseBodyTagResourcesTagResource
- func (s ListTagResourcesResponseBodyTagResourcesTagResource) GoString() string
- func (s *ListTagResourcesResponseBodyTagResourcesTagResource) SetResourceId(v string) *ListTagResourcesResponseBodyTagResourcesTagResource
- func (s *ListTagResourcesResponseBodyTagResourcesTagResource) SetResourceType(v string) *ListTagResourcesResponseBodyTagResourcesTagResource
- func (s *ListTagResourcesResponseBodyTagResourcesTagResource) SetTagKey(v string) *ListTagResourcesResponseBodyTagResourcesTagResource
- func (s *ListTagResourcesResponseBodyTagResourcesTagResource) SetTagValue(v string) *ListTagResourcesResponseBodyTagResourcesTagResource
- func (s ListTagResourcesResponseBodyTagResourcesTagResource) String() string
- type OpenKmsServiceResponse
- func (s OpenKmsServiceResponse) GoString() string
- func (s *OpenKmsServiceResponse) SetBody(v *OpenKmsServiceResponseBody) *OpenKmsServiceResponse
- func (s *OpenKmsServiceResponse) SetHeaders(v map[string]*string) *OpenKmsServiceResponse
- func (s *OpenKmsServiceResponse) SetStatusCode(v int32) *OpenKmsServiceResponse
- func (s OpenKmsServiceResponse) String() string
- type OpenKmsServiceResponseBody
- type PutSecretValueRequest
- func (s PutSecretValueRequest) GoString() string
- func (s *PutSecretValueRequest) SetSecretData(v string) *PutSecretValueRequest
- func (s *PutSecretValueRequest) SetSecretDataType(v string) *PutSecretValueRequest
- func (s *PutSecretValueRequest) SetSecretName(v string) *PutSecretValueRequest
- func (s *PutSecretValueRequest) SetVersionId(v string) *PutSecretValueRequest
- func (s *PutSecretValueRequest) SetVersionStages(v string) *PutSecretValueRequest
- func (s PutSecretValueRequest) String() string
- type PutSecretValueResponse
- func (s PutSecretValueResponse) GoString() string
- func (s *PutSecretValueResponse) SetBody(v *PutSecretValueResponseBody) *PutSecretValueResponse
- func (s *PutSecretValueResponse) SetHeaders(v map[string]*string) *PutSecretValueResponse
- func (s *PutSecretValueResponse) SetStatusCode(v int32) *PutSecretValueResponse
- func (s PutSecretValueResponse) String() string
- type PutSecretValueResponseBody
- func (s PutSecretValueResponseBody) GoString() string
- func (s *PutSecretValueResponseBody) SetRequestId(v string) *PutSecretValueResponseBody
- func (s *PutSecretValueResponseBody) SetSecretName(v string) *PutSecretValueResponseBody
- func (s *PutSecretValueResponseBody) SetVersionId(v string) *PutSecretValueResponseBody
- func (s *PutSecretValueResponseBody) SetVersionStages(v *PutSecretValueResponseBodyVersionStages) *PutSecretValueResponseBody
- func (s PutSecretValueResponseBody) String() string
- type PutSecretValueResponseBodyVersionStages
- type ReEncryptRequest
- func (s ReEncryptRequest) GoString() string
- func (s *ReEncryptRequest) SetCiphertextBlob(v string) *ReEncryptRequest
- func (s *ReEncryptRequest) SetDestinationEncryptionContext(v map[string]interface{}) *ReEncryptRequest
- func (s *ReEncryptRequest) SetDestinationKeyId(v string) *ReEncryptRequest
- func (s *ReEncryptRequest) SetDryRun(v string) *ReEncryptRequest
- func (s *ReEncryptRequest) SetSourceEncryptionAlgorithm(v string) *ReEncryptRequest
- func (s *ReEncryptRequest) SetSourceEncryptionContext(v map[string]interface{}) *ReEncryptRequest
- func (s *ReEncryptRequest) SetSourceKeyId(v string) *ReEncryptRequest
- func (s *ReEncryptRequest) SetSourceKeyVersionId(v string) *ReEncryptRequest
- func (s ReEncryptRequest) String() string
- type ReEncryptResponse
- func (s ReEncryptResponse) GoString() string
- func (s *ReEncryptResponse) SetBody(v *ReEncryptResponseBody) *ReEncryptResponse
- func (s *ReEncryptResponse) SetHeaders(v map[string]*string) *ReEncryptResponse
- func (s *ReEncryptResponse) SetStatusCode(v int32) *ReEncryptResponse
- func (s ReEncryptResponse) String() string
- type ReEncryptResponseBody
- func (s ReEncryptResponseBody) GoString() string
- func (s *ReEncryptResponseBody) SetCiphertextBlob(v string) *ReEncryptResponseBody
- func (s *ReEncryptResponseBody) SetKeyId(v string) *ReEncryptResponseBody
- func (s *ReEncryptResponseBody) SetKeyVersionId(v string) *ReEncryptResponseBody
- func (s *ReEncryptResponseBody) SetRequestId(v string) *ReEncryptResponseBody
- func (s ReEncryptResponseBody) String() string
- type ReEncryptShrinkRequest
- func (s ReEncryptShrinkRequest) GoString() string
- func (s *ReEncryptShrinkRequest) SetCiphertextBlob(v string) *ReEncryptShrinkRequest
- func (s *ReEncryptShrinkRequest) SetDestinationEncryptionContextShrink(v string) *ReEncryptShrinkRequest
- func (s *ReEncryptShrinkRequest) SetDestinationKeyId(v string) *ReEncryptShrinkRequest
- func (s *ReEncryptShrinkRequest) SetDryRun(v string) *ReEncryptShrinkRequest
- func (s *ReEncryptShrinkRequest) SetSourceEncryptionAlgorithm(v string) *ReEncryptShrinkRequest
- func (s *ReEncryptShrinkRequest) SetSourceEncryptionContextShrink(v string) *ReEncryptShrinkRequest
- func (s *ReEncryptShrinkRequest) SetSourceKeyId(v string) *ReEncryptShrinkRequest
- func (s *ReEncryptShrinkRequest) SetSourceKeyVersionId(v string) *ReEncryptShrinkRequest
- func (s ReEncryptShrinkRequest) String() string
- type RestoreSecretRequest
- type RestoreSecretResponse
- func (s RestoreSecretResponse) GoString() string
- func (s *RestoreSecretResponse) SetBody(v *RestoreSecretResponseBody) *RestoreSecretResponse
- func (s *RestoreSecretResponse) SetHeaders(v map[string]*string) *RestoreSecretResponse
- func (s *RestoreSecretResponse) SetStatusCode(v int32) *RestoreSecretResponse
- func (s RestoreSecretResponse) String() string
- type RestoreSecretResponseBody
- type RotateSecretRequest
- type RotateSecretResponse
- func (s RotateSecretResponse) GoString() string
- func (s *RotateSecretResponse) SetBody(v *RotateSecretResponseBody) *RotateSecretResponse
- func (s *RotateSecretResponse) SetHeaders(v map[string]*string) *RotateSecretResponse
- func (s *RotateSecretResponse) SetStatusCode(v int32) *RotateSecretResponse
- func (s RotateSecretResponse) String() string
- type RotateSecretResponseBody
- func (s RotateSecretResponseBody) GoString() string
- func (s *RotateSecretResponseBody) SetArn(v string) *RotateSecretResponseBody
- func (s *RotateSecretResponseBody) SetRequestId(v string) *RotateSecretResponseBody
- func (s *RotateSecretResponseBody) SetSecretName(v string) *RotateSecretResponseBody
- func (s *RotateSecretResponseBody) SetVersionId(v string) *RotateSecretResponseBody
- func (s RotateSecretResponseBody) String() string
- type ScheduleKeyDeletionRequest
- type ScheduleKeyDeletionResponse
- func (s ScheduleKeyDeletionResponse) GoString() string
- func (s *ScheduleKeyDeletionResponse) SetBody(v *ScheduleKeyDeletionResponseBody) *ScheduleKeyDeletionResponse
- func (s *ScheduleKeyDeletionResponse) SetHeaders(v map[string]*string) *ScheduleKeyDeletionResponse
- func (s *ScheduleKeyDeletionResponse) SetStatusCode(v int32) *ScheduleKeyDeletionResponse
- func (s ScheduleKeyDeletionResponse) String() string
- type ScheduleKeyDeletionResponseBody
- type SetDeletionProtectionRequest
- func (s SetDeletionProtectionRequest) GoString() string
- func (s *SetDeletionProtectionRequest) SetDeletionProtectionDescription(v string) *SetDeletionProtectionRequest
- func (s *SetDeletionProtectionRequest) SetEnableDeletionProtection(v bool) *SetDeletionProtectionRequest
- func (s *SetDeletionProtectionRequest) SetProtectedResourceArn(v string) *SetDeletionProtectionRequest
- func (s SetDeletionProtectionRequest) String() string
- type SetDeletionProtectionResponse
- func (s SetDeletionProtectionResponse) GoString() string
- func (s *SetDeletionProtectionResponse) SetBody(v *SetDeletionProtectionResponseBody) *SetDeletionProtectionResponse
- func (s *SetDeletionProtectionResponse) SetHeaders(v map[string]*string) *SetDeletionProtectionResponse
- func (s *SetDeletionProtectionResponse) SetStatusCode(v int32) *SetDeletionProtectionResponse
- func (s SetDeletionProtectionResponse) String() string
- type SetDeletionProtectionResponseBody
- type SetKeyPolicyRequest
- func (s SetKeyPolicyRequest) GoString() string
- func (s *SetKeyPolicyRequest) SetKeyId(v string) *SetKeyPolicyRequest
- func (s *SetKeyPolicyRequest) SetPolicy(v string) *SetKeyPolicyRequest
- func (s *SetKeyPolicyRequest) SetPolicyName(v string) *SetKeyPolicyRequest
- func (s SetKeyPolicyRequest) String() string
- type SetKeyPolicyResponse
- func (s SetKeyPolicyResponse) GoString() string
- func (s *SetKeyPolicyResponse) SetBody(v *SetKeyPolicyResponseBody) *SetKeyPolicyResponse
- func (s *SetKeyPolicyResponse) SetHeaders(v map[string]*string) *SetKeyPolicyResponse
- func (s *SetKeyPolicyResponse) SetStatusCode(v int32) *SetKeyPolicyResponse
- func (s SetKeyPolicyResponse) String() string
- type SetKeyPolicyResponseBody
- type SetSecretPolicyRequest
- func (s SetSecretPolicyRequest) GoString() string
- func (s *SetSecretPolicyRequest) SetPolicy(v string) *SetSecretPolicyRequest
- func (s *SetSecretPolicyRequest) SetPolicyName(v string) *SetSecretPolicyRequest
- func (s *SetSecretPolicyRequest) SetSecretName(v string) *SetSecretPolicyRequest
- func (s SetSecretPolicyRequest) String() string
- type SetSecretPolicyResponse
- func (s SetSecretPolicyResponse) GoString() string
- func (s *SetSecretPolicyResponse) SetBody(v *SetSecretPolicyResponseBody) *SetSecretPolicyResponse
- func (s *SetSecretPolicyResponse) SetHeaders(v map[string]*string) *SetSecretPolicyResponse
- func (s *SetSecretPolicyResponse) SetStatusCode(v int32) *SetSecretPolicyResponse
- func (s SetSecretPolicyResponse) String() string
- type SetSecretPolicyResponseBody
- type TagResourceRequest
- func (s TagResourceRequest) GoString() string
- func (s *TagResourceRequest) SetCertificateId(v string) *TagResourceRequest
- func (s *TagResourceRequest) SetKeyId(v string) *TagResourceRequest
- func (s *TagResourceRequest) SetSecretName(v string) *TagResourceRequest
- func (s *TagResourceRequest) SetTags(v string) *TagResourceRequest
- func (s TagResourceRequest) String() string
- type TagResourceResponse
- func (s TagResourceResponse) GoString() string
- func (s *TagResourceResponse) SetBody(v *TagResourceResponseBody) *TagResourceResponse
- func (s *TagResourceResponse) SetHeaders(v map[string]*string) *TagResourceResponse
- func (s *TagResourceResponse) SetStatusCode(v int32) *TagResourceResponse
- func (s TagResourceResponse) String() string
- type TagResourceResponseBody
- type TagResourcesRequest
- func (s TagResourcesRequest) GoString() string
- func (s *TagResourcesRequest) SetRegionId(v string) *TagResourcesRequest
- func (s *TagResourcesRequest) SetResourceId(v []*string) *TagResourcesRequest
- func (s *TagResourcesRequest) SetResourceType(v string) *TagResourcesRequest
- func (s *TagResourcesRequest) SetTag(v []*TagResourcesRequestTag) *TagResourcesRequest
- func (s TagResourcesRequest) String() string
- type TagResourcesRequestTag
- type TagResourcesResponse
- func (s TagResourcesResponse) GoString() string
- func (s *TagResourcesResponse) SetBody(v *TagResourcesResponseBody) *TagResourcesResponse
- func (s *TagResourcesResponse) SetHeaders(v map[string]*string) *TagResourcesResponse
- func (s *TagResourcesResponse) SetStatusCode(v int32) *TagResourcesResponse
- func (s TagResourcesResponse) String() string
- type TagResourcesResponseBody
- type UntagResourceRequest
- func (s UntagResourceRequest) GoString() string
- func (s *UntagResourceRequest) SetCertificateId(v string) *UntagResourceRequest
- func (s *UntagResourceRequest) SetKeyId(v string) *UntagResourceRequest
- func (s *UntagResourceRequest) SetSecretName(v string) *UntagResourceRequest
- func (s *UntagResourceRequest) SetTagKeys(v string) *UntagResourceRequest
- func (s UntagResourceRequest) String() string
- type UntagResourceResponse
- func (s UntagResourceResponse) GoString() string
- func (s *UntagResourceResponse) SetBody(v *UntagResourceResponseBody) *UntagResourceResponse
- func (s *UntagResourceResponse) SetHeaders(v map[string]*string) *UntagResourceResponse
- func (s *UntagResourceResponse) SetStatusCode(v int32) *UntagResourceResponse
- func (s UntagResourceResponse) String() string
- type UntagResourceResponseBody
- type UntagResourcesRequest
- func (s UntagResourcesRequest) GoString() string
- func (s *UntagResourcesRequest) SetAll(v bool) *UntagResourcesRequest
- func (s *UntagResourcesRequest) SetRegionId(v string) *UntagResourcesRequest
- func (s *UntagResourcesRequest) SetResourceId(v []*string) *UntagResourcesRequest
- func (s *UntagResourcesRequest) SetResourceType(v string) *UntagResourcesRequest
- func (s *UntagResourcesRequest) SetTagKey(v []*string) *UntagResourcesRequest
- func (s UntagResourcesRequest) String() string
- type UntagResourcesResponse
- func (s UntagResourcesResponse) GoString() string
- func (s *UntagResourcesResponse) SetBody(v *UntagResourcesResponseBody) *UntagResourcesResponse
- func (s *UntagResourcesResponse) SetHeaders(v map[string]*string) *UntagResourcesResponse
- func (s *UntagResourcesResponse) SetStatusCode(v int32) *UntagResourcesResponse
- func (s UntagResourcesResponse) String() string
- type UntagResourcesResponseBody
- type UpdateAliasRequest
- type UpdateAliasResponse
- func (s UpdateAliasResponse) GoString() string
- func (s *UpdateAliasResponse) SetBody(v *UpdateAliasResponseBody) *UpdateAliasResponse
- func (s *UpdateAliasResponse) SetHeaders(v map[string]*string) *UpdateAliasResponse
- func (s *UpdateAliasResponse) SetStatusCode(v int32) *UpdateAliasResponse
- func (s UpdateAliasResponse) String() string
- type UpdateAliasResponseBody
- type UpdateApplicationAccessPointRequest
- func (s UpdateApplicationAccessPointRequest) GoString() string
- func (s *UpdateApplicationAccessPointRequest) SetDescription(v string) *UpdateApplicationAccessPointRequest
- func (s *UpdateApplicationAccessPointRequest) SetName(v string) *UpdateApplicationAccessPointRequest
- func (s *UpdateApplicationAccessPointRequest) SetPolicies(v string) *UpdateApplicationAccessPointRequest
- func (s UpdateApplicationAccessPointRequest) String() string
- type UpdateApplicationAccessPointResponse
- func (s UpdateApplicationAccessPointResponse) GoString() string
- func (s *UpdateApplicationAccessPointResponse) SetBody(v *UpdateApplicationAccessPointResponseBody) *UpdateApplicationAccessPointResponse
- func (s *UpdateApplicationAccessPointResponse) SetHeaders(v map[string]*string) *UpdateApplicationAccessPointResponse
- func (s *UpdateApplicationAccessPointResponse) SetStatusCode(v int32) *UpdateApplicationAccessPointResponse
- func (s UpdateApplicationAccessPointResponse) String() string
- type UpdateApplicationAccessPointResponseBody
- type UpdateCertificateStatusRequest
- func (s UpdateCertificateStatusRequest) GoString() string
- func (s *UpdateCertificateStatusRequest) SetCertificateId(v string) *UpdateCertificateStatusRequest
- func (s *UpdateCertificateStatusRequest) SetStatus(v string) *UpdateCertificateStatusRequest
- func (s UpdateCertificateStatusRequest) String() string
- type UpdateCertificateStatusResponse
- func (s UpdateCertificateStatusResponse) GoString() string
- func (s *UpdateCertificateStatusResponse) SetBody(v *UpdateCertificateStatusResponseBody) *UpdateCertificateStatusResponse
- func (s *UpdateCertificateStatusResponse) SetHeaders(v map[string]*string) *UpdateCertificateStatusResponse
- func (s *UpdateCertificateStatusResponse) SetStatusCode(v int32) *UpdateCertificateStatusResponse
- func (s UpdateCertificateStatusResponse) String() string
- type UpdateCertificateStatusResponseBody
- type UpdateKeyDescriptionRequest
- type UpdateKeyDescriptionResponse
- func (s UpdateKeyDescriptionResponse) GoString() string
- func (s *UpdateKeyDescriptionResponse) SetBody(v *UpdateKeyDescriptionResponseBody) *UpdateKeyDescriptionResponse
- func (s *UpdateKeyDescriptionResponse) SetHeaders(v map[string]*string) *UpdateKeyDescriptionResponse
- func (s *UpdateKeyDescriptionResponse) SetStatusCode(v int32) *UpdateKeyDescriptionResponse
- func (s UpdateKeyDescriptionResponse) String() string
- type UpdateKeyDescriptionResponseBody
- type UpdateKmsInstanceBindVpcRequest
- func (s UpdateKmsInstanceBindVpcRequest) GoString() string
- func (s *UpdateKmsInstanceBindVpcRequest) SetBindVpcs(v string) *UpdateKmsInstanceBindVpcRequest
- func (s *UpdateKmsInstanceBindVpcRequest) SetKmsInstanceId(v string) *UpdateKmsInstanceBindVpcRequest
- func (s UpdateKmsInstanceBindVpcRequest) String() string
- type UpdateKmsInstanceBindVpcResponse
- func (s UpdateKmsInstanceBindVpcResponse) GoString() string
- func (s *UpdateKmsInstanceBindVpcResponse) SetBody(v *UpdateKmsInstanceBindVpcResponseBody) *UpdateKmsInstanceBindVpcResponse
- func (s *UpdateKmsInstanceBindVpcResponse) SetHeaders(v map[string]*string) *UpdateKmsInstanceBindVpcResponse
- func (s *UpdateKmsInstanceBindVpcResponse) SetStatusCode(v int32) *UpdateKmsInstanceBindVpcResponse
- func (s UpdateKmsInstanceBindVpcResponse) String() string
- type UpdateKmsInstanceBindVpcResponseBody
- type UpdateNetworkRuleRequest
- func (s UpdateNetworkRuleRequest) GoString() string
- func (s *UpdateNetworkRuleRequest) SetDescription(v string) *UpdateNetworkRuleRequest
- func (s *UpdateNetworkRuleRequest) SetName(v string) *UpdateNetworkRuleRequest
- func (s *UpdateNetworkRuleRequest) SetSourcePrivateIp(v string) *UpdateNetworkRuleRequest
- func (s UpdateNetworkRuleRequest) String() string
- type UpdateNetworkRuleResponse
- func (s UpdateNetworkRuleResponse) GoString() string
- func (s *UpdateNetworkRuleResponse) SetBody(v *UpdateNetworkRuleResponseBody) *UpdateNetworkRuleResponse
- func (s *UpdateNetworkRuleResponse) SetHeaders(v map[string]*string) *UpdateNetworkRuleResponse
- func (s *UpdateNetworkRuleResponse) SetStatusCode(v int32) *UpdateNetworkRuleResponse
- func (s UpdateNetworkRuleResponse) String() string
- type UpdateNetworkRuleResponseBody
- type UpdatePolicyRequest
- func (s UpdatePolicyRequest) GoString() string
- func (s *UpdatePolicyRequest) SetAccessControlRules(v string) *UpdatePolicyRequest
- func (s *UpdatePolicyRequest) SetDescription(v string) *UpdatePolicyRequest
- func (s *UpdatePolicyRequest) SetName(v string) *UpdatePolicyRequest
- func (s *UpdatePolicyRequest) SetPermissions(v string) *UpdatePolicyRequest
- func (s *UpdatePolicyRequest) SetResources(v string) *UpdatePolicyRequest
- func (s UpdatePolicyRequest) String() string
- type UpdatePolicyResponse
- func (s UpdatePolicyResponse) GoString() string
- func (s *UpdatePolicyResponse) SetBody(v *UpdatePolicyResponseBody) *UpdatePolicyResponse
- func (s *UpdatePolicyResponse) SetHeaders(v map[string]*string) *UpdatePolicyResponse
- func (s *UpdatePolicyResponse) SetStatusCode(v int32) *UpdatePolicyResponse
- func (s UpdatePolicyResponse) String() string
- type UpdatePolicyResponseBody
- type UpdateRotationPolicyRequest
- func (s UpdateRotationPolicyRequest) GoString() string
- func (s *UpdateRotationPolicyRequest) SetEnableAutomaticRotation(v bool) *UpdateRotationPolicyRequest
- func (s *UpdateRotationPolicyRequest) SetKeyId(v string) *UpdateRotationPolicyRequest
- func (s *UpdateRotationPolicyRequest) SetRotationInterval(v string) *UpdateRotationPolicyRequest
- func (s UpdateRotationPolicyRequest) String() string
- type UpdateRotationPolicyResponse
- func (s UpdateRotationPolicyResponse) GoString() string
- func (s *UpdateRotationPolicyResponse) SetBody(v *UpdateRotationPolicyResponseBody) *UpdateRotationPolicyResponse
- func (s *UpdateRotationPolicyResponse) SetHeaders(v map[string]*string) *UpdateRotationPolicyResponse
- func (s *UpdateRotationPolicyResponse) SetStatusCode(v int32) *UpdateRotationPolicyResponse
- func (s UpdateRotationPolicyResponse) String() string
- type UpdateRotationPolicyResponseBody
- type UpdateSecretRequest
- func (s UpdateSecretRequest) GoString() string
- func (s *UpdateSecretRequest) SetDescription(v string) *UpdateSecretRequest
- func (s *UpdateSecretRequest) SetExtendedConfig(v *UpdateSecretRequestExtendedConfig) *UpdateSecretRequest
- func (s *UpdateSecretRequest) SetSecretName(v string) *UpdateSecretRequest
- func (s UpdateSecretRequest) String() string
- type UpdateSecretRequestExtendedConfig
- type UpdateSecretResponse
- func (s UpdateSecretResponse) GoString() string
- func (s *UpdateSecretResponse) SetBody(v *UpdateSecretResponseBody) *UpdateSecretResponse
- func (s *UpdateSecretResponse) SetHeaders(v map[string]*string) *UpdateSecretResponse
- func (s *UpdateSecretResponse) SetStatusCode(v int32) *UpdateSecretResponse
- func (s UpdateSecretResponse) String() string
- type UpdateSecretResponseBody
- type UpdateSecretRotationPolicyRequest
- func (s UpdateSecretRotationPolicyRequest) GoString() string
- func (s *UpdateSecretRotationPolicyRequest) SetEnableAutomaticRotation(v bool) *UpdateSecretRotationPolicyRequest
- func (s *UpdateSecretRotationPolicyRequest) SetRotationInterval(v string) *UpdateSecretRotationPolicyRequest
- func (s *UpdateSecretRotationPolicyRequest) SetSecretName(v string) *UpdateSecretRotationPolicyRequest
- func (s UpdateSecretRotationPolicyRequest) String() string
- type UpdateSecretRotationPolicyResponse
- func (s UpdateSecretRotationPolicyResponse) GoString() string
- func (s *UpdateSecretRotationPolicyResponse) SetBody(v *UpdateSecretRotationPolicyResponseBody) *UpdateSecretRotationPolicyResponse
- func (s *UpdateSecretRotationPolicyResponse) SetHeaders(v map[string]*string) *UpdateSecretRotationPolicyResponse
- func (s *UpdateSecretRotationPolicyResponse) SetStatusCode(v int32) *UpdateSecretRotationPolicyResponse
- func (s UpdateSecretRotationPolicyResponse) String() string
- type UpdateSecretRotationPolicyResponseBody
- func (s UpdateSecretRotationPolicyResponseBody) GoString() string
- func (s *UpdateSecretRotationPolicyResponseBody) SetRequestId(v string) *UpdateSecretRotationPolicyResponseBody
- func (s *UpdateSecretRotationPolicyResponseBody) SetSecretName(v string) *UpdateSecretRotationPolicyResponseBody
- func (s UpdateSecretRotationPolicyResponseBody) String() string
- type UpdateSecretShrinkRequest
- func (s UpdateSecretShrinkRequest) GoString() string
- func (s *UpdateSecretShrinkRequest) SetDescription(v string) *UpdateSecretShrinkRequest
- func (s *UpdateSecretShrinkRequest) SetExtendedConfig(v *UpdateSecretShrinkRequestExtendedConfig) *UpdateSecretShrinkRequest
- func (s *UpdateSecretShrinkRequest) SetSecretName(v string) *UpdateSecretShrinkRequest
- func (s UpdateSecretShrinkRequest) String() string
- type UpdateSecretShrinkRequestExtendedConfig
- type UpdateSecretVersionStageRequest
- func (s UpdateSecretVersionStageRequest) GoString() string
- func (s *UpdateSecretVersionStageRequest) SetMoveToVersion(v string) *UpdateSecretVersionStageRequest
- func (s *UpdateSecretVersionStageRequest) SetRemoveFromVersion(v string) *UpdateSecretVersionStageRequest
- func (s *UpdateSecretVersionStageRequest) SetSecretName(v string) *UpdateSecretVersionStageRequest
- func (s *UpdateSecretVersionStageRequest) SetVersionStage(v string) *UpdateSecretVersionStageRequest
- func (s UpdateSecretVersionStageRequest) String() string
- type UpdateSecretVersionStageResponse
- func (s UpdateSecretVersionStageResponse) GoString() string
- func (s *UpdateSecretVersionStageResponse) SetBody(v *UpdateSecretVersionStageResponseBody) *UpdateSecretVersionStageResponse
- func (s *UpdateSecretVersionStageResponse) SetHeaders(v map[string]*string) *UpdateSecretVersionStageResponse
- func (s *UpdateSecretVersionStageResponse) SetStatusCode(v int32) *UpdateSecretVersionStageResponse
- func (s UpdateSecretVersionStageResponse) String() string
- type UpdateSecretVersionStageResponseBody
- func (s UpdateSecretVersionStageResponseBody) GoString() string
- func (s *UpdateSecretVersionStageResponseBody) SetRequestId(v string) *UpdateSecretVersionStageResponseBody
- func (s *UpdateSecretVersionStageResponseBody) SetSecretName(v string) *UpdateSecretVersionStageResponseBody
- func (s UpdateSecretVersionStageResponseBody) String() string
- type UploadCertificateRequest
- func (s UploadCertificateRequest) GoString() string
- func (s *UploadCertificateRequest) SetCertificate(v string) *UploadCertificateRequest
- func (s *UploadCertificateRequest) SetCertificateChain(v string) *UploadCertificateRequest
- func (s *UploadCertificateRequest) SetCertificateId(v string) *UploadCertificateRequest
- func (s UploadCertificateRequest) String() string
- type UploadCertificateResponse
- func (s UploadCertificateResponse) GoString() string
- func (s *UploadCertificateResponse) SetBody(v *UploadCertificateResponseBody) *UploadCertificateResponse
- func (s *UploadCertificateResponse) SetHeaders(v map[string]*string) *UploadCertificateResponse
- func (s *UploadCertificateResponse) SetStatusCode(v int32) *UploadCertificateResponse
- func (s UploadCertificateResponse) String() string
- type UploadCertificateResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsymmetricDecryptRequest ¶
type AsymmetricDecryptRequest struct { // The decryption algorithm. // // This parameter is required. // // example: // // RSAES_OAEP_SHA_1 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // The ciphertext that you want to decrypt. // // > - The value is encoded in Base64. // // > - You can call the [AsymmetricEncrypt](https://help.aliyun.com/document_detail/148131.html) operation to generate the ciphertext. // // This parameter is required. // // example: // // BQKP+1zK6+ZEMxTP5qaVzcsgXtWplYBKm0NXdSnB5FzliFxE1bSiu4dnEIlca2JpeH7yz1/S6fed630H+hIH6DoM25fTLNcKj+mFB0Xnh9m2+HN59Mn4qyTfcUeadnfCXSWcGBouhXFwcdd2rJ3n337bzTf4jm659gZu3L0i6PLuxM9p7mqdwO0cKJPfGVfhnfMz+f4alMg79WB/NNyE2lyX7/qxvV49ObNrrJbKSFiz8Djocaf0IESNLMbfYI5bXjWkJlX92DQbKhibtQW8ZOJ//ZC6t0AWcUoKL6QDm/dg5koQalcleRinpB+QadFm894sLbVZ9+N4GVsv1W****== CiphertextBlob *string `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // The ID of the customer master key (CMK). The ID must be globally unique. // // > You can also set this parameter to an alias that is bound to the CMK. For more information, see [Alias overview](https://help.aliyun.com/document_detail/68522.html). // // This parameter is required. // // example: // // 5c438b18-05be-40ad-b6c2-3be6752c**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The version ID of the CMK. The ID must be globally unique. // // This parameter is required. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` }
func (AsymmetricDecryptRequest) GoString ¶
func (s AsymmetricDecryptRequest) GoString() string
func (*AsymmetricDecryptRequest) SetAlgorithm ¶
func (s *AsymmetricDecryptRequest) SetAlgorithm(v string) *AsymmetricDecryptRequest
func (*AsymmetricDecryptRequest) SetCiphertextBlob ¶
func (s *AsymmetricDecryptRequest) SetCiphertextBlob(v string) *AsymmetricDecryptRequest
func (*AsymmetricDecryptRequest) SetDryRun ¶ added in v3.2.2
func (s *AsymmetricDecryptRequest) SetDryRun(v string) *AsymmetricDecryptRequest
func (*AsymmetricDecryptRequest) SetKeyId ¶
func (s *AsymmetricDecryptRequest) SetKeyId(v string) *AsymmetricDecryptRequest
func (*AsymmetricDecryptRequest) SetKeyVersionId ¶
func (s *AsymmetricDecryptRequest) SetKeyVersionId(v string) *AsymmetricDecryptRequest
func (AsymmetricDecryptRequest) String ¶
func (s AsymmetricDecryptRequest) String() string
type AsymmetricDecryptResponse ¶
type AsymmetricDecryptResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *AsymmetricDecryptResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (AsymmetricDecryptResponse) GoString ¶
func (s AsymmetricDecryptResponse) GoString() string
func (*AsymmetricDecryptResponse) SetBody ¶
func (s *AsymmetricDecryptResponse) SetBody(v *AsymmetricDecryptResponseBody) *AsymmetricDecryptResponse
func (*AsymmetricDecryptResponse) SetHeaders ¶
func (s *AsymmetricDecryptResponse) SetHeaders(v map[string]*string) *AsymmetricDecryptResponse
func (*AsymmetricDecryptResponse) SetStatusCode ¶
func (s *AsymmetricDecryptResponse) SetStatusCode(v int32) *AsymmetricDecryptResponse
func (AsymmetricDecryptResponse) String ¶
func (s AsymmetricDecryptResponse) String() string
type AsymmetricDecryptResponseBody ¶
type AsymmetricDecryptResponseBody struct { // The ID of the CMK. The ID must be globally unique. // // > If you set the KeyId parameter in the request to an alias, the ID of the CMK to which the alias is bound is returned. // // example: // // 5c438b18-05be-40ad-b6c2-3be6752c**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The version ID of the CMK that is used to encrypt the plaintext. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // The Base64-encoded plaintext that is generated after decryption. // // example: // // SGVsbG8gd29ybGQ= Plaintext *string `json:"Plaintext,omitempty" xml:"Plaintext,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 475f1620-b9d3-4d35-b5c6-3fbdd941423d RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (AsymmetricDecryptResponseBody) GoString ¶
func (s AsymmetricDecryptResponseBody) GoString() string
func (*AsymmetricDecryptResponseBody) SetKeyId ¶
func (s *AsymmetricDecryptResponseBody) SetKeyId(v string) *AsymmetricDecryptResponseBody
func (*AsymmetricDecryptResponseBody) SetKeyVersionId ¶
func (s *AsymmetricDecryptResponseBody) SetKeyVersionId(v string) *AsymmetricDecryptResponseBody
func (*AsymmetricDecryptResponseBody) SetPlaintext ¶
func (s *AsymmetricDecryptResponseBody) SetPlaintext(v string) *AsymmetricDecryptResponseBody
func (*AsymmetricDecryptResponseBody) SetRequestId ¶
func (s *AsymmetricDecryptResponseBody) SetRequestId(v string) *AsymmetricDecryptResponseBody
func (AsymmetricDecryptResponseBody) String ¶
func (s AsymmetricDecryptResponseBody) String() string
type AsymmetricEncryptRequest ¶
type AsymmetricEncryptRequest struct { // The encryption algorithm. // // This parameter is required. // // example: // // RSAES_OAEP_SHA_1 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // The ID of the CMK. The ID must be globally unique. // // > You can also set this parameter to an alias that is bound to the CMK. For more information, see [Overview of aliases](https://help.aliyun.com/document_detail/68522.html). // // This parameter is required. // // example: // // 5c438b18-05be-40ad-b6c2-3be6752c**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The version ID of the CMK. The ID must be globally unique. // // > You can call the [ListKeyVersions](https://help.aliyun.com/document_detail/133966.html) operation to query the versions of a CMK. The ID of a version is specified by the KeyVersionId parameter. // // This parameter is required. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // The plaintext that you want to encrypt. The plaintext must be Base64-encoded. // // This parameter is required. // // example: // // SGVsbG8gd29ybGQ= Plaintext *string `json:"Plaintext,omitempty" xml:"Plaintext,omitempty"` }
func (AsymmetricEncryptRequest) GoString ¶
func (s AsymmetricEncryptRequest) GoString() string
func (*AsymmetricEncryptRequest) SetAlgorithm ¶
func (s *AsymmetricEncryptRequest) SetAlgorithm(v string) *AsymmetricEncryptRequest
func (*AsymmetricEncryptRequest) SetDryRun ¶ added in v3.2.2
func (s *AsymmetricEncryptRequest) SetDryRun(v string) *AsymmetricEncryptRequest
func (*AsymmetricEncryptRequest) SetKeyId ¶
func (s *AsymmetricEncryptRequest) SetKeyId(v string) *AsymmetricEncryptRequest
func (*AsymmetricEncryptRequest) SetKeyVersionId ¶
func (s *AsymmetricEncryptRequest) SetKeyVersionId(v string) *AsymmetricEncryptRequest
func (*AsymmetricEncryptRequest) SetPlaintext ¶
func (s *AsymmetricEncryptRequest) SetPlaintext(v string) *AsymmetricEncryptRequest
func (AsymmetricEncryptRequest) String ¶
func (s AsymmetricEncryptRequest) String() string
type AsymmetricEncryptResponse ¶
type AsymmetricEncryptResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *AsymmetricEncryptResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (AsymmetricEncryptResponse) GoString ¶
func (s AsymmetricEncryptResponse) GoString() string
func (*AsymmetricEncryptResponse) SetBody ¶
func (s *AsymmetricEncryptResponse) SetBody(v *AsymmetricEncryptResponseBody) *AsymmetricEncryptResponse
func (*AsymmetricEncryptResponse) SetHeaders ¶
func (s *AsymmetricEncryptResponse) SetHeaders(v map[string]*string) *AsymmetricEncryptResponse
func (*AsymmetricEncryptResponse) SetStatusCode ¶
func (s *AsymmetricEncryptResponse) SetStatusCode(v int32) *AsymmetricEncryptResponse
func (AsymmetricEncryptResponse) String ¶
func (s AsymmetricEncryptResponse) String() string
type AsymmetricEncryptResponseBody ¶
type AsymmetricEncryptResponseBody struct { // The Base64-encoded ciphertext that was generated after encryption. // // example: // // BQKP+1zK6+ZEMxTP5qaVzcsgXtWplYBKm0NXdSnB5FzliFxE1bSiu4dnEIlca2JpeH7yz1/S6fed630H+hIH6DoM25fTLNcKj+mFB0Xnh9m2+HN59Mn4qyTfcUeadnfCXSWcGBouhXFwcdd2rJ3n337bzTf4jm659gZu3L0i6PLuxM9p7mqdwO0cKJPfGVfhnfMz+f4alMg79WB/NNyE2lyX7/qxvV49ObNrrJbKSFiz8Djocaf0IESNLMbfYI5bXjWkJlX92DQbKhibtQW8ZOJ//ZC6t0AWcUoKL6QDm/dg5koQalcleRinpB+QadFm894sLbVZ9+N4GVsv1Wbjwg== CiphertextBlob *string `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` // The ID of the CMK. The ID must be globally unique. // // > If you set the KeyId parameter in the request to an alias, the ID of the CMK to which the alias is bound is returned. // // example: // // 5c438b18-05be-40ad-b6c2-3be6752c**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The version ID of the CMK that is used to encrypt the plaintext. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 475f1620-b9d3-4d35-b5c6-3fbdd941423d RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (AsymmetricEncryptResponseBody) GoString ¶
func (s AsymmetricEncryptResponseBody) GoString() string
func (*AsymmetricEncryptResponseBody) SetCiphertextBlob ¶
func (s *AsymmetricEncryptResponseBody) SetCiphertextBlob(v string) *AsymmetricEncryptResponseBody
func (*AsymmetricEncryptResponseBody) SetKeyId ¶
func (s *AsymmetricEncryptResponseBody) SetKeyId(v string) *AsymmetricEncryptResponseBody
func (*AsymmetricEncryptResponseBody) SetKeyVersionId ¶
func (s *AsymmetricEncryptResponseBody) SetKeyVersionId(v string) *AsymmetricEncryptResponseBody
func (*AsymmetricEncryptResponseBody) SetRequestId ¶
func (s *AsymmetricEncryptResponseBody) SetRequestId(v string) *AsymmetricEncryptResponseBody
func (AsymmetricEncryptResponseBody) String ¶
func (s AsymmetricEncryptResponseBody) String() string
type AsymmetricSignRequest ¶
type AsymmetricSignRequest struct { // The version ID of the CMK. The ID must be globally unique. // // This parameter is required. // // example: // // RSA_PSS_SHA_256 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // The signature algorithm. // // This parameter is required. // // example: // // ZOyIygCyaOW6GjVnihtTFtIS9PNmskdyMlNKiu****= Digest *string `json:"Digest,omitempty" xml:"Digest,omitempty"` DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // The operation that you want to perform. Set the value to **AsymmetricSign**. // // This parameter is required. // // example: // // 5c438b18-05be-40ad-b6c2-3be6752c**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The ID of the customer master key (CMK). The ID must be globally unique. // // > You can also set this parameter to an alias that is bound to the CMK. For more information, see [Alias overview](https://help.aliyun.com/document_detail/68522.html). // // This parameter is required. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` }
func (AsymmetricSignRequest) GoString ¶
func (s AsymmetricSignRequest) GoString() string
func (*AsymmetricSignRequest) SetAlgorithm ¶
func (s *AsymmetricSignRequest) SetAlgorithm(v string) *AsymmetricSignRequest
func (*AsymmetricSignRequest) SetDigest ¶
func (s *AsymmetricSignRequest) SetDigest(v string) *AsymmetricSignRequest
func (*AsymmetricSignRequest) SetDryRun ¶ added in v3.2.2
func (s *AsymmetricSignRequest) SetDryRun(v string) *AsymmetricSignRequest
func (*AsymmetricSignRequest) SetKeyId ¶
func (s *AsymmetricSignRequest) SetKeyId(v string) *AsymmetricSignRequest
func (*AsymmetricSignRequest) SetKeyVersionId ¶
func (s *AsymmetricSignRequest) SetKeyVersionId(v string) *AsymmetricSignRequest
func (AsymmetricSignRequest) String ¶
func (s AsymmetricSignRequest) String() string
type AsymmetricSignResponse ¶
type AsymmetricSignResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *AsymmetricSignResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (AsymmetricSignResponse) GoString ¶
func (s AsymmetricSignResponse) GoString() string
func (*AsymmetricSignResponse) SetBody ¶
func (s *AsymmetricSignResponse) SetBody(v *AsymmetricSignResponseBody) *AsymmetricSignResponse
func (*AsymmetricSignResponse) SetHeaders ¶
func (s *AsymmetricSignResponse) SetHeaders(v map[string]*string) *AsymmetricSignResponse
func (*AsymmetricSignResponse) SetStatusCode ¶
func (s *AsymmetricSignResponse) SetStatusCode(v int32) *AsymmetricSignResponse
func (AsymmetricSignResponse) String ¶
func (s AsymmetricSignResponse) String() string
type AsymmetricSignResponseBody ¶
type AsymmetricSignResponseBody struct { // The version ID of the CMK. The ID must be globally unique. // // example: // // 5c438b18-05be-40ad-b6c2-3be6752c**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The digest that is generated for the original message by using a hash algorithm. The hash algorithm is specified by the Algorithm parameter. // // > - The value is encoded in Base64. // // > - For more information about how to calculate message digests, see the **Preprocess signature: compute a message digest* - section of the [Generate and verify a signature by using an asymmetric CMK](https://help.aliyun.com/document_detail/148146.html) topic. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // The calculated signature. // // > The value is encoded in Base64. // // example: // // 475f1620-b9d3-4d35-b5c6-3fbdd941423d RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The ID of the CMK. The ID must be globally unique. // // > If you set the KeyId parameter in the request to an alias, the ID of the CMK to which the alias is bound is returned. // // example: // // M2CceNZH00ZgL9ED/ZHFp21YRAvYeZHknJUc207OCZ0N9wNn9As4z2bON3FF3je+1Nu+2+/8Zj50HpMTpzYpMp2R93cYmACCmhaYoKydxylbyGzJR8y9likZRCrkD38lRoS40aBBvv/6iRKzQuo9EGYVcel36cMNg00VmYNBy3pa1rwg3gA4l3cy6kjayZja1WGPkVhrVKsrJMdbpl0ApLjXKuD8rw1n1XLCwCUEL5eLPljTZaAveqdOFQOiZnZEGI27qIiZe7I1fN8tcz6anS/gTM7xRKE++5egEvRWlTQQTJeApnPSiUPA+8ZykNdelQsOQh5SrGoyI4A5pq****== Value *string `json:"Value,omitempty" xml:"Value,omitempty"` }
func (AsymmetricSignResponseBody) GoString ¶
func (s AsymmetricSignResponseBody) GoString() string
func (*AsymmetricSignResponseBody) SetKeyId ¶
func (s *AsymmetricSignResponseBody) SetKeyId(v string) *AsymmetricSignResponseBody
func (*AsymmetricSignResponseBody) SetKeyVersionId ¶
func (s *AsymmetricSignResponseBody) SetKeyVersionId(v string) *AsymmetricSignResponseBody
func (*AsymmetricSignResponseBody) SetRequestId ¶
func (s *AsymmetricSignResponseBody) SetRequestId(v string) *AsymmetricSignResponseBody
func (*AsymmetricSignResponseBody) SetValue ¶
func (s *AsymmetricSignResponseBody) SetValue(v string) *AsymmetricSignResponseBody
func (AsymmetricSignResponseBody) String ¶
func (s AsymmetricSignResponseBody) String() string
type AsymmetricVerifyRequest ¶
type AsymmetricVerifyRequest struct { // The signature algorithm. // // This parameter is required. // // example: // // RSA_PSS_SHA_256 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // The digest that is generated for the original message by using a hash algorithm. The hash algorithm is specified by the **Algorithm* - parameter. // // > The value is encoded in Base64. // // This parameter is required. // // example: // // ZOyIygCyaOW6GjVnihtTFtIS9PNmskdyMlNKiuy****= Digest *string `json:"Digest,omitempty" xml:"Digest,omitempty"` DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // The ID of the CMK. The ID must be globally unique. // // > You can also set this parameter to an alias that is bound to the CMK. For more information, see [Overview of aliases](https://help.aliyun.com/document_detail/68522.html). // // This parameter is required. // // example: // // 5c438b18-05be-40ad-b6c2-3be6752c**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The version ID of the CMK. The ID must be globally unique. // // This parameter is required. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // The signature value to be verified. // // > The value is encoded in Base64. // // This parameter is required. // // example: // // M2CceNZH00ZgL9ED/ZHFp21YRAvYeZHknJUc207OCZ0N9wNn9As4z2bON3FF3je+1Nu+2+/8Zj50HpMTpzYpMp2R93cYmACCmhaYoKydxylbyGzJR8y9likZRCrkD38lRoS40aBBvv/6iRKzQuo9EGYVcel36cMNg00VmYNBy3pa1rwg3gA4l3cy6kjayZja1WGPkVhrVKsrJMdbpl0ApLjXKuD8rw1n1XLCwCUEL5eLPljTZaAveqdOFQOiZnZEGI27qIiZe7I1fN8tcz6anS/gTM7xRKE++5egEvRWlTQQTJeApnPSiUPA+8ZykNdelQsOQh5SrGoyI4A5pq****== Value *string `json:"Value,omitempty" xml:"Value,omitempty"` }
func (AsymmetricVerifyRequest) GoString ¶
func (s AsymmetricVerifyRequest) GoString() string
func (*AsymmetricVerifyRequest) SetAlgorithm ¶
func (s *AsymmetricVerifyRequest) SetAlgorithm(v string) *AsymmetricVerifyRequest
func (*AsymmetricVerifyRequest) SetDigest ¶
func (s *AsymmetricVerifyRequest) SetDigest(v string) *AsymmetricVerifyRequest
func (*AsymmetricVerifyRequest) SetDryRun ¶ added in v3.2.2
func (s *AsymmetricVerifyRequest) SetDryRun(v string) *AsymmetricVerifyRequest
func (*AsymmetricVerifyRequest) SetKeyId ¶
func (s *AsymmetricVerifyRequest) SetKeyId(v string) *AsymmetricVerifyRequest
func (*AsymmetricVerifyRequest) SetKeyVersionId ¶
func (s *AsymmetricVerifyRequest) SetKeyVersionId(v string) *AsymmetricVerifyRequest
func (*AsymmetricVerifyRequest) SetValue ¶
func (s *AsymmetricVerifyRequest) SetValue(v string) *AsymmetricVerifyRequest
func (AsymmetricVerifyRequest) String ¶
func (s AsymmetricVerifyRequest) String() string
type AsymmetricVerifyResponse ¶
type AsymmetricVerifyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *AsymmetricVerifyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (AsymmetricVerifyResponse) GoString ¶
func (s AsymmetricVerifyResponse) GoString() string
func (*AsymmetricVerifyResponse) SetBody ¶
func (s *AsymmetricVerifyResponse) SetBody(v *AsymmetricVerifyResponseBody) *AsymmetricVerifyResponse
func (*AsymmetricVerifyResponse) SetHeaders ¶
func (s *AsymmetricVerifyResponse) SetHeaders(v map[string]*string) *AsymmetricVerifyResponse
func (*AsymmetricVerifyResponse) SetStatusCode ¶
func (s *AsymmetricVerifyResponse) SetStatusCode(v int32) *AsymmetricVerifyResponse
func (AsymmetricVerifyResponse) String ¶
func (s AsymmetricVerifyResponse) String() string
type AsymmetricVerifyResponseBody ¶
type AsymmetricVerifyResponseBody struct { // The ID of the CMK. The ID must be globally unique. // // > If you set the KeyId parameter in the request to an alias, the ID of the CMK to which the alias is bound is returned. // // example: // // 5c438b18-05be-40ad-b6c2-3be6752c**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The version ID of the CMK that is used to encrypt the plaintext. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 475f1620-b9d3-4d35-b5c6-3fbdd941423d RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // Indicates whether the signature passed the verification. // // example: // // true Value *bool `json:"Value,omitempty" xml:"Value,omitempty"` }
func (AsymmetricVerifyResponseBody) GoString ¶
func (s AsymmetricVerifyResponseBody) GoString() string
func (*AsymmetricVerifyResponseBody) SetKeyId ¶
func (s *AsymmetricVerifyResponseBody) SetKeyId(v string) *AsymmetricVerifyResponseBody
func (*AsymmetricVerifyResponseBody) SetKeyVersionId ¶
func (s *AsymmetricVerifyResponseBody) SetKeyVersionId(v string) *AsymmetricVerifyResponseBody
func (*AsymmetricVerifyResponseBody) SetRequestId ¶
func (s *AsymmetricVerifyResponseBody) SetRequestId(v string) *AsymmetricVerifyResponseBody
func (*AsymmetricVerifyResponseBody) SetValue ¶
func (s *AsymmetricVerifyResponseBody) SetValue(v bool) *AsymmetricVerifyResponseBody
func (AsymmetricVerifyResponseBody) String ¶
func (s AsymmetricVerifyResponseBody) String() string
type CancelKeyDeletionRequest ¶
type CancelKeyDeletionRequest struct { // The ID of the CMK. The ID must be globally unique. // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` }
func (CancelKeyDeletionRequest) GoString ¶
func (s CancelKeyDeletionRequest) GoString() string
func (*CancelKeyDeletionRequest) SetKeyId ¶
func (s *CancelKeyDeletionRequest) SetKeyId(v string) *CancelKeyDeletionRequest
func (CancelKeyDeletionRequest) String ¶
func (s CancelKeyDeletionRequest) String() string
type CancelKeyDeletionResponse ¶
type CancelKeyDeletionResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CancelKeyDeletionResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CancelKeyDeletionResponse) GoString ¶
func (s CancelKeyDeletionResponse) GoString() string
func (*CancelKeyDeletionResponse) SetBody ¶
func (s *CancelKeyDeletionResponse) SetBody(v *CancelKeyDeletionResponseBody) *CancelKeyDeletionResponse
func (*CancelKeyDeletionResponse) SetHeaders ¶
func (s *CancelKeyDeletionResponse) SetHeaders(v map[string]*string) *CancelKeyDeletionResponse
func (*CancelKeyDeletionResponse) SetStatusCode ¶
func (s *CancelKeyDeletionResponse) SetStatusCode(v int32) *CancelKeyDeletionResponse
func (CancelKeyDeletionResponse) String ¶
func (s CancelKeyDeletionResponse) String() string
type CancelKeyDeletionResponseBody ¶
type CancelKeyDeletionResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 3da5b8cc-8107-40ac-a170-793cd181d7b7 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (CancelKeyDeletionResponseBody) GoString ¶
func (s CancelKeyDeletionResponseBody) GoString() string
func (*CancelKeyDeletionResponseBody) SetRequestId ¶
func (s *CancelKeyDeletionResponseBody) SetRequestId(v string) *CancelKeyDeletionResponseBody
func (CancelKeyDeletionResponseBody) String ¶
func (s CancelKeyDeletionResponseBody) String() string
type CertificatePrivateKeyDecryptRequest ¶
type CertificatePrivateKeyDecryptRequest struct { // The encryption algorithm. Valid values: // // - RSAES_OAEP_SHA_1 // // - RSAES_OAEP_SHA_256 // // - SM2PKE // // > The SM2PKE encryption algorithm is supported only in regions in mainland China. In these regions, managed hardware security modules (HSMs) are used. For more information, see [Managed HSM overview](https://help.aliyun.com/document_detail/125803.html). // // This parameter is required. // // example: // // RSAES_OAEP_SHA_256 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // The ID of the certificate. The ID must be globally unique in Certificates Manager. // // This parameter is required. // // example: // // 12345678-1234-1234-1234-12345678**** CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"` // The data that you want to decrypt. // // The value is encoded in Base64. // // This parameter is required. // // example: // // ZOyIygCyaOW6Gj****MlNKiuyjfzw= CiphertextBlob *string `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` }
func (CertificatePrivateKeyDecryptRequest) GoString ¶
func (s CertificatePrivateKeyDecryptRequest) GoString() string
func (*CertificatePrivateKeyDecryptRequest) SetAlgorithm ¶
func (s *CertificatePrivateKeyDecryptRequest) SetAlgorithm(v string) *CertificatePrivateKeyDecryptRequest
func (*CertificatePrivateKeyDecryptRequest) SetCertificateId ¶
func (s *CertificatePrivateKeyDecryptRequest) SetCertificateId(v string) *CertificatePrivateKeyDecryptRequest
func (*CertificatePrivateKeyDecryptRequest) SetCiphertextBlob ¶
func (s *CertificatePrivateKeyDecryptRequest) SetCiphertextBlob(v string) *CertificatePrivateKeyDecryptRequest
func (CertificatePrivateKeyDecryptRequest) String ¶
func (s CertificatePrivateKeyDecryptRequest) String() string
type CertificatePrivateKeyDecryptResponse ¶
type CertificatePrivateKeyDecryptResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CertificatePrivateKeyDecryptResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CertificatePrivateKeyDecryptResponse) GoString ¶
func (s CertificatePrivateKeyDecryptResponse) GoString() string
func (*CertificatePrivateKeyDecryptResponse) SetHeaders ¶
func (s *CertificatePrivateKeyDecryptResponse) SetHeaders(v map[string]*string) *CertificatePrivateKeyDecryptResponse
func (*CertificatePrivateKeyDecryptResponse) SetStatusCode ¶
func (s *CertificatePrivateKeyDecryptResponse) SetStatusCode(v int32) *CertificatePrivateKeyDecryptResponse
func (CertificatePrivateKeyDecryptResponse) String ¶
func (s CertificatePrivateKeyDecryptResponse) String() string
type CertificatePrivateKeyDecryptResponseBody ¶
type CertificatePrivateKeyDecryptResponseBody struct { // The ID of the certificate. // // example: // // 12345678-1234-1234-1234-12345678**** CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"` // The plaintext after data is decrypted. // // The value is encoded in Base64. // // example: // // VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4 Plaintext *string `json:"Plaintext,omitempty" xml:"Plaintext,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 5979d897-d69f-4fc9-87dd-f3bb73c40b80 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (CertificatePrivateKeyDecryptResponseBody) GoString ¶
func (s CertificatePrivateKeyDecryptResponseBody) GoString() string
func (*CertificatePrivateKeyDecryptResponseBody) SetCertificateId ¶
func (s *CertificatePrivateKeyDecryptResponseBody) SetCertificateId(v string) *CertificatePrivateKeyDecryptResponseBody
func (*CertificatePrivateKeyDecryptResponseBody) SetPlaintext ¶
func (s *CertificatePrivateKeyDecryptResponseBody) SetPlaintext(v string) *CertificatePrivateKeyDecryptResponseBody
func (*CertificatePrivateKeyDecryptResponseBody) SetRequestId ¶
func (s *CertificatePrivateKeyDecryptResponseBody) SetRequestId(v string) *CertificatePrivateKeyDecryptResponseBody
func (CertificatePrivateKeyDecryptResponseBody) String ¶
func (s CertificatePrivateKeyDecryptResponseBody) String() string
type CertificatePrivateKeySignRequest ¶
type CertificatePrivateKeySignRequest struct { // The signature algorithm. Valid values: // // - RSA_PKCS1_SHA_256 // // - RSA_PSS_SHA_256 // // - ECDSA_SHA_256 // // - SM2DSA // // > - The SM2DSA signature algorithm is supported only in regions where managed hardware security modules (HSMs) are used in mainland China. For more information, see [Managed HSM overview](https://help.aliyun.com/document_detail/125803.html). // // This parameter is required. // // example: // // ECDSA_SHA_256 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // The ID of the certificate. The ID must be globally unique in Certificates Manager. // // This parameter is required. // // example: // // 12345678-1234-1234-1234-12345678**** CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"` // The data to be signed. // // The value is encoded in Base64. For example, if the hexadecimal data that you want to sign is `[0x31, 0x32, 0x33, 0x34]`, the Base64-encoded data is `MTIzNA==`. // // If the MessageType parameter is set to RAW, the size of the data must be less than or equal to 4 KB. // // If the size of the data is greater than 4 KB, you can set the MessageType parameter to DIGEST and set the Message parameter to the digest of the data. The digest is also called hash value. You can compute the digest of the data on an on-premises machine. Certificates Manager uses the digest that you compute in your own certificate application system. The message digest algorithm that you use must match the specified signature algorithm. Comply with the following mapping between signature algorithms and message digest algorithms: // // - If the signature algorithm is RSA_PKCS1_SHA_256, RSA_PSS_SHA_256, or ECDSA_SHA_256, the message digest algorithm must be SHA-256. // // - If the signature algorithm is SM2DSA, the message digest algorithm must be SM3. // // > If the key type of the certificate is EC_SM2 and the MessageType parameter is set to DIGEST, the value of the Message parameter is `e` that is described in GB/T 32918.2-2016 6.1. // // This parameter is required. // // example: // // VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4= Message *string `json:"Message,omitempty" xml:"Message,omitempty"` // The type of the message. Valid values: // // - RAW: the raw data. This is the default value. // // - DIGEST: the message digest (hash value) of the raw data. // // This parameter is required. // // example: // // RAW MessageType *string `json:"MessageType,omitempty" xml:"MessageType,omitempty"` }
func (CertificatePrivateKeySignRequest) GoString ¶
func (s CertificatePrivateKeySignRequest) GoString() string
func (*CertificatePrivateKeySignRequest) SetAlgorithm ¶
func (s *CertificatePrivateKeySignRequest) SetAlgorithm(v string) *CertificatePrivateKeySignRequest
func (*CertificatePrivateKeySignRequest) SetCertificateId ¶
func (s *CertificatePrivateKeySignRequest) SetCertificateId(v string) *CertificatePrivateKeySignRequest
func (*CertificatePrivateKeySignRequest) SetMessage ¶
func (s *CertificatePrivateKeySignRequest) SetMessage(v string) *CertificatePrivateKeySignRequest
func (*CertificatePrivateKeySignRequest) SetMessageType ¶
func (s *CertificatePrivateKeySignRequest) SetMessageType(v string) *CertificatePrivateKeySignRequest
func (CertificatePrivateKeySignRequest) String ¶
func (s CertificatePrivateKeySignRequest) String() string
type CertificatePrivateKeySignResponse ¶
type CertificatePrivateKeySignResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CertificatePrivateKeySignResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CertificatePrivateKeySignResponse) GoString ¶
func (s CertificatePrivateKeySignResponse) GoString() string
func (*CertificatePrivateKeySignResponse) SetHeaders ¶
func (s *CertificatePrivateKeySignResponse) SetHeaders(v map[string]*string) *CertificatePrivateKeySignResponse
func (*CertificatePrivateKeySignResponse) SetStatusCode ¶
func (s *CertificatePrivateKeySignResponse) SetStatusCode(v int32) *CertificatePrivateKeySignResponse
func (CertificatePrivateKeySignResponse) String ¶
func (s CertificatePrivateKeySignResponse) String() string
type CertificatePrivateKeySignResponseBody ¶
type CertificatePrivateKeySignResponseBody struct { // The ID of the certificate. // // example: // // 12345678-1234-1234-1234-12345678**** CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 5979d897-d69f-4fc9-87dd-f3bb73c40b80 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The signature value. // // The value is encoded in Base64. // // example: // // ZOyIygCyaOW6Gj****MlNKiuyjfzw= SignatureValue *string `json:"SignatureValue,omitempty" xml:"SignatureValue,omitempty"` }
func (CertificatePrivateKeySignResponseBody) GoString ¶
func (s CertificatePrivateKeySignResponseBody) GoString() string
func (*CertificatePrivateKeySignResponseBody) SetCertificateId ¶
func (s *CertificatePrivateKeySignResponseBody) SetCertificateId(v string) *CertificatePrivateKeySignResponseBody
func (*CertificatePrivateKeySignResponseBody) SetRequestId ¶
func (s *CertificatePrivateKeySignResponseBody) SetRequestId(v string) *CertificatePrivateKeySignResponseBody
func (*CertificatePrivateKeySignResponseBody) SetSignatureValue ¶
func (s *CertificatePrivateKeySignResponseBody) SetSignatureValue(v string) *CertificatePrivateKeySignResponseBody
func (CertificatePrivateKeySignResponseBody) String ¶
func (s CertificatePrivateKeySignResponseBody) String() string
type CertificatePublicKeyEncryptRequest ¶
type CertificatePublicKeyEncryptRequest struct { // The encryption algorithm. Valid values: // // - RSAES_OAEP_SHA_1 // // - RSAES_OAEP_SHA_256 // // - SM2PKE // // >The SM2PKE encryption algorithm is supported only in regions in mainland China. In these regions, managed hardware security modules (HSMs) are used. For more information, see [Managed HSM overview](https://help.aliyun.com/document_detail/125803.html). // // This parameter is required. // // example: // // RSAES_OAEP_SHA_256 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // The ID of the certificate. The ID must be globally unique in Certificates Manager. // // This parameter is required. // // example: // // 12345678-1234-1234-1234-12345678**** CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"` // The data that you want to encrypt. // // The value is encoded in Base64. For example, if the hexadecimal data that you want to encrypt is `[0x31, 0x32, 0x33, 0x34]`, the Base64-encoded data is `MTIzNA==`. // // The size of data that can be encrypted varies based on the encryption algorithm that you use: // // - RSAES_OAEP_SHA_1: 214 bytes // // - RSAES_OAEP_SHA_256: 190 bytes // // - SM2PKE: 6,047 bytes // // If the size of data that you want to encrypt exceeds the preceding limits, you can call the [GenerateDataKey](https://help.aliyun.com/document_detail/28948.html) operation to generate a data key to encrypt the data. Then, call the CertificatePublicKeyEncrypt operation to encrypt the data key. // // This parameter is required. // // example: // // VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4= Plaintext *string `json:"Plaintext,omitempty" xml:"Plaintext,omitempty"` }
func (CertificatePublicKeyEncryptRequest) GoString ¶
func (s CertificatePublicKeyEncryptRequest) GoString() string
func (*CertificatePublicKeyEncryptRequest) SetAlgorithm ¶
func (s *CertificatePublicKeyEncryptRequest) SetAlgorithm(v string) *CertificatePublicKeyEncryptRequest
func (*CertificatePublicKeyEncryptRequest) SetCertificateId ¶
func (s *CertificatePublicKeyEncryptRequest) SetCertificateId(v string) *CertificatePublicKeyEncryptRequest
func (*CertificatePublicKeyEncryptRequest) SetPlaintext ¶
func (s *CertificatePublicKeyEncryptRequest) SetPlaintext(v string) *CertificatePublicKeyEncryptRequest
func (CertificatePublicKeyEncryptRequest) String ¶
func (s CertificatePublicKeyEncryptRequest) String() string
type CertificatePublicKeyEncryptResponse ¶
type CertificatePublicKeyEncryptResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CertificatePublicKeyEncryptResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CertificatePublicKeyEncryptResponse) GoString ¶
func (s CertificatePublicKeyEncryptResponse) GoString() string
func (*CertificatePublicKeyEncryptResponse) SetHeaders ¶
func (s *CertificatePublicKeyEncryptResponse) SetHeaders(v map[string]*string) *CertificatePublicKeyEncryptResponse
func (*CertificatePublicKeyEncryptResponse) SetStatusCode ¶
func (s *CertificatePublicKeyEncryptResponse) SetStatusCode(v int32) *CertificatePublicKeyEncryptResponse
func (CertificatePublicKeyEncryptResponse) String ¶
func (s CertificatePublicKeyEncryptResponse) String() string
type CertificatePublicKeyEncryptResponseBody ¶
type CertificatePublicKeyEncryptResponseBody struct { // The ID of the certificate. // // example: // // 12345678-1234-1234-1234-12345678**** CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"` // The ciphertext. // // The value is encoded in Base64. // // example: // // ZOyIygCyaOW6Gj****MlNKiuyjfzw= CiphertextBlob *string `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 5979d897-d69f-4fc9-87dd-f3bb73c40b80 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (CertificatePublicKeyEncryptResponseBody) GoString ¶
func (s CertificatePublicKeyEncryptResponseBody) GoString() string
func (*CertificatePublicKeyEncryptResponseBody) SetCertificateId ¶
func (s *CertificatePublicKeyEncryptResponseBody) SetCertificateId(v string) *CertificatePublicKeyEncryptResponseBody
func (*CertificatePublicKeyEncryptResponseBody) SetCiphertextBlob ¶
func (s *CertificatePublicKeyEncryptResponseBody) SetCiphertextBlob(v string) *CertificatePublicKeyEncryptResponseBody
func (*CertificatePublicKeyEncryptResponseBody) SetRequestId ¶
func (s *CertificatePublicKeyEncryptResponseBody) SetRequestId(v string) *CertificatePublicKeyEncryptResponseBody
func (CertificatePublicKeyEncryptResponseBody) String ¶
func (s CertificatePublicKeyEncryptResponseBody) String() string
type CertificatePublicKeyVerifyRequest ¶
type CertificatePublicKeyVerifyRequest struct { // The signature algorithm. Valid values: // // - RSA_PKCS1_SHA_256 // // - RSA_PSS_SHA_256 // // - ECDSA_SHA_256 // // - SM2DSA // // > The SM2DSA signature algorithm is supported only in regions where managed hardware security modules (HSMs) are used in the Chinese mainland. For more information, see [Managed HSM overview](https://help.aliyun.com/document_detail/125803.html). // // This parameter is required. // // example: // // ECDSA_SHA_256 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // The ID of the certificate. The ID must be globally unique in Certificates Manager. // // This parameter is required. // // example: // // 12345678-1234-1234-1234-12345678**** CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"` // The raw data that is signed. // // The value is encoded in Base64. For example, if the raw data in the hexadecimal format is `[0x31, 0x32, 0x33, 0x34]`, set this parameter to the Base64-encoded value `MTIzNA==`. // // If the MessageType parameter is set to RAW, the size of the data must be less than or equal to 4 KB. // // If the size of the data is greater than 4 KB, you can set the MessageType parameter to DIGEST and set the Message parameter to the digest of the data. The digest is also called hash value. You can compute the digest of the data on an on-premises device. Certificates Manager uses the digest that you compute in your own certificate application system. The message digest algorithm that you use must match the specified signature algorithm. Comply with the following mapping between signature algorithms and message digest algorithms: // // - If the signature algorithm is RSA_PKCS1_SHA_256, RSA_PSS_SHA_256, or ECDSA_SHA_256, the message digest algorithm must be SHA-256. // // - If the signature algorithm is SM2DSA, the message digest algorithm must be SM3. // // > If the key type of the certificate is EC_SM2 and the MessageType parameter is set to DIGEST, the value of the Message parameter is `e` that is described in GB/T 32918.2-2016 6.1. // // This parameter is required. // // example: // // VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4= Message *string `json:"Message,omitempty" xml:"Message,omitempty"` // The type of the message. Valid values: // // - RAW: the raw data. This is the default value. // // - DIGEST: the message digest (hash value) of the raw data. // // This parameter is required. // // example: // // RAW MessageType *string `json:"MessageType,omitempty" xml:"MessageType,omitempty"` // The signature value. // // The value is encoded in Base64. // // This parameter is required. // // example: // // ZOyIygCyaOW6Gj****MlNKiuyjfzw= SignatureValue *string `json:"SignatureValue,omitempty" xml:"SignatureValue,omitempty"` }
func (CertificatePublicKeyVerifyRequest) GoString ¶
func (s CertificatePublicKeyVerifyRequest) GoString() string
func (*CertificatePublicKeyVerifyRequest) SetAlgorithm ¶
func (s *CertificatePublicKeyVerifyRequest) SetAlgorithm(v string) *CertificatePublicKeyVerifyRequest
func (*CertificatePublicKeyVerifyRequest) SetCertificateId ¶
func (s *CertificatePublicKeyVerifyRequest) SetCertificateId(v string) *CertificatePublicKeyVerifyRequest
func (*CertificatePublicKeyVerifyRequest) SetMessage ¶
func (s *CertificatePublicKeyVerifyRequest) SetMessage(v string) *CertificatePublicKeyVerifyRequest
func (*CertificatePublicKeyVerifyRequest) SetMessageType ¶
func (s *CertificatePublicKeyVerifyRequest) SetMessageType(v string) *CertificatePublicKeyVerifyRequest
func (*CertificatePublicKeyVerifyRequest) SetSignatureValue ¶
func (s *CertificatePublicKeyVerifyRequest) SetSignatureValue(v string) *CertificatePublicKeyVerifyRequest
func (CertificatePublicKeyVerifyRequest) String ¶
func (s CertificatePublicKeyVerifyRequest) String() string
type CertificatePublicKeyVerifyResponse ¶
type CertificatePublicKeyVerifyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CertificatePublicKeyVerifyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CertificatePublicKeyVerifyResponse) GoString ¶
func (s CertificatePublicKeyVerifyResponse) GoString() string
func (*CertificatePublicKeyVerifyResponse) SetHeaders ¶
func (s *CertificatePublicKeyVerifyResponse) SetHeaders(v map[string]*string) *CertificatePublicKeyVerifyResponse
func (*CertificatePublicKeyVerifyResponse) SetStatusCode ¶
func (s *CertificatePublicKeyVerifyResponse) SetStatusCode(v int32) *CertificatePublicKeyVerifyResponse
func (CertificatePublicKeyVerifyResponse) String ¶
func (s CertificatePublicKeyVerifyResponse) String() string
type CertificatePublicKeyVerifyResponseBody ¶
type CertificatePublicKeyVerifyResponseBody struct { // The ID of the certificate. // // example: // // 12345678-1234-1234-1234-12345678**** CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 5979d897-d69f-4fc9-87dd-f3bb73c40b80 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The verification result. Valid values: // // - true: The signature is valid. // // - false: The signature is invalid. // // example: // // true SignatureValid *bool `json:"SignatureValid,omitempty" xml:"SignatureValid,omitempty"` }
func (CertificatePublicKeyVerifyResponseBody) GoString ¶
func (s CertificatePublicKeyVerifyResponseBody) GoString() string
func (*CertificatePublicKeyVerifyResponseBody) SetCertificateId ¶
func (s *CertificatePublicKeyVerifyResponseBody) SetCertificateId(v string) *CertificatePublicKeyVerifyResponseBody
func (*CertificatePublicKeyVerifyResponseBody) SetRequestId ¶
func (s *CertificatePublicKeyVerifyResponseBody) SetRequestId(v string) *CertificatePublicKeyVerifyResponseBody
func (*CertificatePublicKeyVerifyResponseBody) SetSignatureValid ¶
func (s *CertificatePublicKeyVerifyResponseBody) SetSignatureValid(v bool) *CertificatePublicKeyVerifyResponseBody
func (CertificatePublicKeyVerifyResponseBody) String ¶
func (s CertificatePublicKeyVerifyResponseBody) String() string
type Client ¶
func (*Client) AsymmetricDecrypt ¶
func (client *Client) AsymmetricDecrypt(request *AsymmetricDecryptRequest) (_result *AsymmetricDecryptResponse, _err error)
Summary:
Decrypts data by using an asymmetric key.
Description:
This operation supports only asymmetric keys for which the **Usage* - parameter is set to **ENCRYPT/DECRYPT**. The following table lists supported encryption algorithms.
| KeySpec | Algorithm | Description | Maximum length in bytes |
| ------- | --------- | ----------- | ----------------------- |
| RSA_2048 | RSAES_OAEP_SHA_256 | RSAES-OAEP using SHA-256 and MGF1 with SHA-256 | 256 |
| RSA_2048 | RSAES_OAEP_SHA_1 | RSAES-OAEP using SHA1 and MGF1 with SHA1 | 256 |
| RSA_3072 | RSAES_OAEP_SHA_256 | RSAES-OAEP using SHA-256 and MGF1 with SHA-256 | 384 |
| RSA_3072 | RSAES_OAEP_SHA_1 | RSAES-OAEP using SHA1 and MGF1 with SHA1 | 384 |
| EC_SM2 | SM2PKE | SM2 public key encryption algorithm based on elliptic curves | 6144 |
In this example, the asymmetric key whose ID is `5c438b18-05be-40ad-b6c2-3be6752c****` and version ID is `2ab1a983-7072-4bbc-a582-584b5bd8****` and the decryption algorithm `RSAES_OAEP_SHA_1` are used to decrypt the ciphertext `BQKP+1zK6+ZEMxTP5qaVzcsgXtWplYBKm0NXdSnB5FzliFxE1bSiu4dnEIlca2JpeH7yz1/S6fed630H+hIH6DoM25fTLNcKj+mFB0Xnh9m2+HN59Mn4qyTfcUeadnfCXSWcGBouhXFwcdd2rJ3n337bzTf4jm659gZu3L0i6PLuxM9p7mqdwO0cKJPfGVfhnfMz+f4alMg79WB/NNyE2lyX7/qxvV49ObNrrJbKSFiz8Djocaf0IESNLMbfYI5bXjWkJlX92DQbKhibtQW8ZOJ//ZC6t0AWcUoKL6QDm/dg5koQalcleRinpB+QadFm894sLbVZ9+N4GVsv1W****==`.
@param request - AsymmetricDecryptRequest
@return AsymmetricDecryptResponse
func (*Client) AsymmetricDecryptWithOptions ¶
func (client *Client) AsymmetricDecryptWithOptions(request *AsymmetricDecryptRequest, runtime *util.RuntimeOptions) (_result *AsymmetricDecryptResponse, _err error)
Summary:
Decrypts data by using an asymmetric key.
Description:
This operation supports only asymmetric keys for which the **Usage* - parameter is set to **ENCRYPT/DECRYPT**. The following table lists supported encryption algorithms.
| KeySpec | Algorithm | Description | Maximum length in bytes |
| ------- | --------- | ----------- | ----------------------- |
| RSA_2048 | RSAES_OAEP_SHA_256 | RSAES-OAEP using SHA-256 and MGF1 with SHA-256 | 256 |
| RSA_2048 | RSAES_OAEP_SHA_1 | RSAES-OAEP using SHA1 and MGF1 with SHA1 | 256 |
| RSA_3072 | RSAES_OAEP_SHA_256 | RSAES-OAEP using SHA-256 and MGF1 with SHA-256 | 384 |
| RSA_3072 | RSAES_OAEP_SHA_1 | RSAES-OAEP using SHA1 and MGF1 with SHA1 | 384 |
| EC_SM2 | SM2PKE | SM2 public key encryption algorithm based on elliptic curves | 6144 |
In this example, the asymmetric key whose ID is `5c438b18-05be-40ad-b6c2-3be6752c****` and version ID is `2ab1a983-7072-4bbc-a582-584b5bd8****` and the decryption algorithm `RSAES_OAEP_SHA_1` are used to decrypt the ciphertext `BQKP+1zK6+ZEMxTP5qaVzcsgXtWplYBKm0NXdSnB5FzliFxE1bSiu4dnEIlca2JpeH7yz1/S6fed630H+hIH6DoM25fTLNcKj+mFB0Xnh9m2+HN59Mn4qyTfcUeadnfCXSWcGBouhXFwcdd2rJ3n337bzTf4jm659gZu3L0i6PLuxM9p7mqdwO0cKJPfGVfhnfMz+f4alMg79WB/NNyE2lyX7/qxvV49ObNrrJbKSFiz8Djocaf0IESNLMbfYI5bXjWkJlX92DQbKhibtQW8ZOJ//ZC6t0AWcUoKL6QDm/dg5koQalcleRinpB+QadFm894sLbVZ9+N4GVsv1W****==`.
@param request - AsymmetricDecryptRequest
@param runtime - runtime options for this request RuntimeOptions
@return AsymmetricDecryptResponse
func (*Client) AsymmetricEncrypt ¶
func (client *Client) AsymmetricEncrypt(request *AsymmetricEncryptRequest) (_result *AsymmetricEncryptResponse, _err error)
Summary:
Encrypts data by using an asymmetric customer master key (CMK).
Description:
This operation is supported only for asymmetric keys for which the **Usage* - parameter is set to **ENCRYPT/DECRYPT**. The following table lists the supported encryption algorithms:
| KeySpec | Algorithm | Description | Maximum number of bytes that can be encrypted |
| ------- | --------- | ----------- | --------------------------------------------- |
| RSA_2048 | RSAES_OAEP_SHA_256 | RSAES-OAEP using SHA-256 and MGF1 with SHA-256 | 190 |
| RSA_2048 | RSAES_OAEP_SHA_1 | RSAES-OAEP using SHA1 and MGF1 with SHA1 | 214 |
| RSA_3072 | RSAES_OAEP_SHA_256 | RSAES-OAEP using SHA-256 and MGF1 with SHA-256 | 318 |
| RSA_3072 | RSAES_OAEP_SHA_1 | RSAES-OAEP using SHA1 and MGF1 with SHA1 | 342 |
| EC_SM2 | SM2PKE | SM2 public key encryption algorithm based on elliptic curves | 6047 |
You can use the asymmetric CMK whose ID is `5c438b18-05be-40ad-b6c2-3be6752c****` and version ID is `2ab1a983-7072-4bbc-a582-584b5bd8****` and the algorithm `RSAES_OAEP_SHA_1` to encrypt the plaintext `SGVsbG8gd29ybGQ=` based on the parameter settings provided in this topic.
@param request - AsymmetricEncryptRequest
@return AsymmetricEncryptResponse
func (*Client) AsymmetricEncryptWithOptions ¶
func (client *Client) AsymmetricEncryptWithOptions(request *AsymmetricEncryptRequest, runtime *util.RuntimeOptions) (_result *AsymmetricEncryptResponse, _err error)
Summary:
Encrypts data by using an asymmetric customer master key (CMK).
Description:
This operation is supported only for asymmetric keys for which the **Usage* - parameter is set to **ENCRYPT/DECRYPT**. The following table lists the supported encryption algorithms:
| KeySpec | Algorithm | Description | Maximum number of bytes that can be encrypted |
| ------- | --------- | ----------- | --------------------------------------------- |
| RSA_2048 | RSAES_OAEP_SHA_256 | RSAES-OAEP using SHA-256 and MGF1 with SHA-256 | 190 |
| RSA_2048 | RSAES_OAEP_SHA_1 | RSAES-OAEP using SHA1 and MGF1 with SHA1 | 214 |
| RSA_3072 | RSAES_OAEP_SHA_256 | RSAES-OAEP using SHA-256 and MGF1 with SHA-256 | 318 |
| RSA_3072 | RSAES_OAEP_SHA_1 | RSAES-OAEP using SHA1 and MGF1 with SHA1 | 342 |
| EC_SM2 | SM2PKE | SM2 public key encryption algorithm based on elliptic curves | 6047 |
You can use the asymmetric CMK whose ID is `5c438b18-05be-40ad-b6c2-3be6752c****` and version ID is `2ab1a983-7072-4bbc-a582-584b5bd8****` and the algorithm `RSAES_OAEP_SHA_1` to encrypt the plaintext `SGVsbG8gd29ybGQ=` based on the parameter settings provided in this topic.
@param request - AsymmetricEncryptRequest
@param runtime - runtime options for this request RuntimeOptions
@return AsymmetricEncryptResponse
func (*Client) AsymmetricSign ¶
func (client *Client) AsymmetricSign(request *AsymmetricSignRequest) (_result *AsymmetricSignResponse, _err error)
Summary:
AsymmetricSign ¶
Description:
Generates a signature by using an asymmetric key.
@param request - AsymmetricSignRequest
@return AsymmetricSignResponse
func (*Client) AsymmetricSignWithOptions ¶
func (client *Client) AsymmetricSignWithOptions(request *AsymmetricSignRequest, runtime *util.RuntimeOptions) (_result *AsymmetricSignResponse, _err error)
Summary:
AsymmetricSign ¶
Description:
Generates a signature by using an asymmetric key.
@param request - AsymmetricSignRequest
@param runtime - runtime options for this request RuntimeOptions
@return AsymmetricSignResponse
func (*Client) AsymmetricVerify ¶
func (client *Client) AsymmetricVerify(request *AsymmetricVerifyRequest) (_result *AsymmetricVerifyResponse, _err error)
Summary:
Verifies a signature by using an asymmetric key.
Description:
This operation supports only asymmetric keys for which the **Usage* - parameter is set to **SIGN/VERIFY**. The following table describes the supported signature algorithms.
| KeySpec | Algorithm | Description |
| ------- | --------- | ----------- |
| RSA_2048 | RSA_PSS_SHA_256 | RSASSA-PSS using SHA-256 and MGF1 with SHA-256 |
| RSA_2048 | RSA_PKCS1_SHA_256 | RSASSA-PKCS1-v1_5 using SHA-256 |
| RSA_3072 | RSA_PSS_SHA_256 | RSASSA-PSS using SHA-256 and MGF1 with SHA-256 |
| RSA_3072 | RSA_PKCS1_SHA_256 | RSASSA-PKCS1-v1_5 using SHA-256 |
| EC_P256 | ECDSA_SHA_256 | ECDSA on the P-256 Curve(secp256r1) with a SHA-256 digest |
| EC_P256K | ECDSA_SHA_256 | ECDSA on the P-256K Curve(secp256k1) with a SHA-256 digest |
| EC_SM2 | SM2DSA | SM2 elliptic curve public key encryption algorithm |
> When you calculate the SM2 signature based on GB/T 32918, the **Digest* - parameter is used to calculate the digest value of the combination of Z(A) and M, rather than the SM3 digest value. M indicates the original message to be signed. Z(A) indicates the hash value for User A. The hash value is defined in GB/T 32918. In this example, the asymmetric key whose ID is `5c438b18-05be-40ad-b6c2-3be6752c****` and version ID is `2ab1a983-7072-4bbc-a582-584b5bd8****` and the signature algorithm RSA_PSS_SHA_256 are used to verify the signature `M2CceNZH00ZgL9ED/ZHFp21YRAvYeZHknJUc207OCZ0N9wNn9As4z2bON3FF3je+1Nu+2+/8Zj50HpMTpzYpMp2R93cYmACCmhaYoKydxylbyGzJR8y9likZRCrkD38lRoS40aBBvv/6iRKzQuo9EGYVcel36cMNg00VmYNBy3pa1rwg3gA4l3cy6kjayZja1WGPkVhrVKsrJMdbpl0ApLjXKuD8rw1n1XLCwCUEL5eLPljTZaAveqdOFQOiZnZEGI27qIiZe7I1fN8tcz6anS/gTM7xRKE++5egEvRWlTQQTJeApnPSiUPA+8ZykNdelQsOQh5SrGoyI4A5pq****==` of the digest `ZOyIygCyaOW6GjVnihtTFtIS9PNmskdyMlNKiuyjfzw=`.
@param request - AsymmetricVerifyRequest
@return AsymmetricVerifyResponse
func (*Client) AsymmetricVerifyWithOptions ¶
func (client *Client) AsymmetricVerifyWithOptions(request *AsymmetricVerifyRequest, runtime *util.RuntimeOptions) (_result *AsymmetricVerifyResponse, _err error)
Summary:
Verifies a signature by using an asymmetric key.
Description:
This operation supports only asymmetric keys for which the **Usage* - parameter is set to **SIGN/VERIFY**. The following table describes the supported signature algorithms.
| KeySpec | Algorithm | Description |
| ------- | --------- | ----------- |
| RSA_2048 | RSA_PSS_SHA_256 | RSASSA-PSS using SHA-256 and MGF1 with SHA-256 |
| RSA_2048 | RSA_PKCS1_SHA_256 | RSASSA-PKCS1-v1_5 using SHA-256 |
| RSA_3072 | RSA_PSS_SHA_256 | RSASSA-PSS using SHA-256 and MGF1 with SHA-256 |
| RSA_3072 | RSA_PKCS1_SHA_256 | RSASSA-PKCS1-v1_5 using SHA-256 |
| EC_P256 | ECDSA_SHA_256 | ECDSA on the P-256 Curve(secp256r1) with a SHA-256 digest |
| EC_P256K | ECDSA_SHA_256 | ECDSA on the P-256K Curve(secp256k1) with a SHA-256 digest |
| EC_SM2 | SM2DSA | SM2 elliptic curve public key encryption algorithm |
> When you calculate the SM2 signature based on GB/T 32918, the **Digest* - parameter is used to calculate the digest value of the combination of Z(A) and M, rather than the SM3 digest value. M indicates the original message to be signed. Z(A) indicates the hash value for User A. The hash value is defined in GB/T 32918. In this example, the asymmetric key whose ID is `5c438b18-05be-40ad-b6c2-3be6752c****` and version ID is `2ab1a983-7072-4bbc-a582-584b5bd8****` and the signature algorithm RSA_PSS_SHA_256 are used to verify the signature `M2CceNZH00ZgL9ED/ZHFp21YRAvYeZHknJUc207OCZ0N9wNn9As4z2bON3FF3je+1Nu+2+/8Zj50HpMTpzYpMp2R93cYmACCmhaYoKydxylbyGzJR8y9likZRCrkD38lRoS40aBBvv/6iRKzQuo9EGYVcel36cMNg00VmYNBy3pa1rwg3gA4l3cy6kjayZja1WGPkVhrVKsrJMdbpl0ApLjXKuD8rw1n1XLCwCUEL5eLPljTZaAveqdOFQOiZnZEGI27qIiZe7I1fN8tcz6anS/gTM7xRKE++5egEvRWlTQQTJeApnPSiUPA+8ZykNdelQsOQh5SrGoyI4A5pq****==` of the digest `ZOyIygCyaOW6GjVnihtTFtIS9PNmskdyMlNKiuyjfzw=`.
@param request - AsymmetricVerifyRequest
@param runtime - runtime options for this request RuntimeOptions
@return AsymmetricVerifyResponse
func (*Client) CancelKeyDeletion ¶
func (client *Client) CancelKeyDeletion(request *CancelKeyDeletionRequest) (_result *CancelKeyDeletionResponse, _err error)
Description:
If the deletion task of a CMK is canceled, the CMK returns to the Enabled state.
@param request - CancelKeyDeletionRequest
@return CancelKeyDeletionResponse
func (*Client) CancelKeyDeletionWithOptions ¶
func (client *Client) CancelKeyDeletionWithOptions(request *CancelKeyDeletionRequest, runtime *util.RuntimeOptions) (_result *CancelKeyDeletionResponse, _err error)
Description:
If the deletion task of a CMK is canceled, the CMK returns to the Enabled state.
@param request - CancelKeyDeletionRequest
@param runtime - runtime options for this request RuntimeOptions
@return CancelKeyDeletionResponse
func (*Client) CertificatePrivateKeyDecrypt ¶
func (client *Client) CertificatePrivateKeyDecrypt(request *CertificatePrivateKeyDecryptRequest) (_result *CertificatePrivateKeyDecryptResponse, _err error)
Summary:
Decrypts data by using a specific certificate.
Description:
Limit: The encryption algorithm in the request parameters must match the key type.
The following table describes the mapping between encryption algorithms and key types.
| Algorithm | Key Spec |
| --------- | -------- |
| RSAES_OAEP_SHA_1 | RSA_2048 |
| RSAES_OAEP_SHA_256 | RSA_2048 |
| SM2PKE | EC_SM2 |
In this example, the certificate whose ID is `12345678-1234-1234-1234-12345678****` and the encryption algorithm `RSAES_OAEP_SHA_256` are used to decrypt the data `ZOyIygCyaOW6Gj****MlNKiuyjfzw=`.
@param request - CertificatePrivateKeyDecryptRequest
@return CertificatePrivateKeyDecryptResponse
func (*Client) CertificatePrivateKeyDecryptWithOptions ¶
func (client *Client) CertificatePrivateKeyDecryptWithOptions(request *CertificatePrivateKeyDecryptRequest, runtime *util.RuntimeOptions) (_result *CertificatePrivateKeyDecryptResponse, _err error)
Summary:
Decrypts data by using a specific certificate.
Description:
Limit: The encryption algorithm in the request parameters must match the key type.
The following table describes the mapping between encryption algorithms and key types.
| Algorithm | Key Spec |
| --------- | -------- |
| RSAES_OAEP_SHA_1 | RSA_2048 |
| RSAES_OAEP_SHA_256 | RSA_2048 |
| SM2PKE | EC_SM2 |
In this example, the certificate whose ID is `12345678-1234-1234-1234-12345678****` and the encryption algorithm `RSAES_OAEP_SHA_256` are used to decrypt the data `ZOyIygCyaOW6Gj****MlNKiuyjfzw=`.
@param request - CertificatePrivateKeyDecryptRequest
@param runtime - runtime options for this request RuntimeOptions
@return CertificatePrivateKeyDecryptResponse
func (*Client) CertificatePrivateKeySign ¶
func (client *Client) CertificatePrivateKeySign(request *CertificatePrivateKeySignRequest) (_result *CertificatePrivateKeySignResponse, _err error)
Summary:
Generates a signature by using a specified certificate.
Description:
The signature algorithm in the request parameters must match the key type. The following table describes the mapping between signature algorithms and key types.
| Algorithm | Key Spec |
| --------- | -------- |
| RSA_PKCS1_SHA_256 | RSA_2048 |
| RSA_PSS_SHA_256 | RSA_2048 |
| ECDSA_SHA_256 | EC_P256 |
| SM2DSA | EC_SM2 |
In this example, the certificate whose ID is `12345678-1234-1234-1234-12345678****` and the signature algorithm `ECDSA_SHA_256` are used to generate a signature for the raw data `VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4=`.
@param request - CertificatePrivateKeySignRequest
@return CertificatePrivateKeySignResponse
func (*Client) CertificatePrivateKeySignWithOptions ¶
func (client *Client) CertificatePrivateKeySignWithOptions(request *CertificatePrivateKeySignRequest, runtime *util.RuntimeOptions) (_result *CertificatePrivateKeySignResponse, _err error)
Summary:
Generates a signature by using a specified certificate.
Description:
The signature algorithm in the request parameters must match the key type. The following table describes the mapping between signature algorithms and key types.
| Algorithm | Key Spec |
| --------- | -------- |
| RSA_PKCS1_SHA_256 | RSA_2048 |
| RSA_PSS_SHA_256 | RSA_2048 |
| ECDSA_SHA_256 | EC_P256 |
| SM2DSA | EC_SM2 |
In this example, the certificate whose ID is `12345678-1234-1234-1234-12345678****` and the signature algorithm `ECDSA_SHA_256` are used to generate a signature for the raw data `VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4=`.
@param request - CertificatePrivateKeySignRequest
@param runtime - runtime options for this request RuntimeOptions
@return CertificatePrivateKeySignResponse
func (*Client) CertificatePublicKeyEncrypt ¶
func (client *Client) CertificatePublicKeyEncrypt(request *CertificatePublicKeyEncryptRequest) (_result *CertificatePublicKeyEncryptResponse, _err error)
Summary:
Encrypts data by using a specific certificate.
Description:
Limit: The encryption algorithm in the request parameters must match the key type.
The following table describes the mapping between encryption algorithms and key types.
| Algorithm | Key Spec |
| --------- | -------- |
| RSAES_OAEP_SHA_1 | RSA_2048 |
| RSAES_OAEP_SHA_256 | RSA_2048 |
| SM2PKE | EC_SM2 |
In this example, the certificate whose ID is `12345678-1234-1234-1234-12345678****` and the encryption algorithm `RSAES_OAEP_SHA_256` are used to encrypt the data `VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4=`.
@param request - CertificatePublicKeyEncryptRequest
@return CertificatePublicKeyEncryptResponse
func (*Client) CertificatePublicKeyEncryptWithOptions ¶
func (client *Client) CertificatePublicKeyEncryptWithOptions(request *CertificatePublicKeyEncryptRequest, runtime *util.RuntimeOptions) (_result *CertificatePublicKeyEncryptResponse, _err error)
Summary:
Encrypts data by using a specific certificate.
Description:
Limit: The encryption algorithm in the request parameters must match the key type.
The following table describes the mapping between encryption algorithms and key types.
| Algorithm | Key Spec |
| --------- | -------- |
| RSAES_OAEP_SHA_1 | RSA_2048 |
| RSAES_OAEP_SHA_256 | RSA_2048 |
| SM2PKE | EC_SM2 |
In this example, the certificate whose ID is `12345678-1234-1234-1234-12345678****` and the encryption algorithm `RSAES_OAEP_SHA_256` are used to encrypt the data `VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4=`.
@param request - CertificatePublicKeyEncryptRequest
@param runtime - runtime options for this request RuntimeOptions
@return CertificatePublicKeyEncryptResponse
func (*Client) CertificatePublicKeyVerify ¶
func (client *Client) CertificatePublicKeyVerify(request *CertificatePublicKeyVerifyRequest) (_result *CertificatePublicKeyVerifyResponse, _err error)
Summary:
Verifies a digital signature by using a specified certificate.
Description:
The signature algorithm in the request parameters must match the key type. The following table describes the mapping between signature algorithms and key types.
| Algorithm | Key Spec |
| --------- | -------- |
| RSA_PKCS1_SHA_256 | RSA_2048 |
| RSA_PSS_SHA_256 | RSA_2048 |
| ECDSA_SHA_256 | EC_P256 |
| SM2DSA | EC_SM2 |
In this example, the certificate whose ID is `12345678-1234-1234-1234-12345678****` and the signature algorithm `ECDSA_SHA_256` are used to verify the digital signature `ZOyIygCyaOW6Gj****MlNKiuyjfzw=` of the raw data `VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4=`.
@param request - CertificatePublicKeyVerifyRequest
@return CertificatePublicKeyVerifyResponse
func (*Client) CertificatePublicKeyVerifyWithOptions ¶
func (client *Client) CertificatePublicKeyVerifyWithOptions(request *CertificatePublicKeyVerifyRequest, runtime *util.RuntimeOptions) (_result *CertificatePublicKeyVerifyResponse, _err error)
Summary:
Verifies a digital signature by using a specified certificate.
Description:
The signature algorithm in the request parameters must match the key type. The following table describes the mapping between signature algorithms and key types.
| Algorithm | Key Spec |
| --------- | -------- |
| RSA_PKCS1_SHA_256 | RSA_2048 |
| RSA_PSS_SHA_256 | RSA_2048 |
| ECDSA_SHA_256 | EC_P256 |
| SM2DSA | EC_SM2 |
In this example, the certificate whose ID is `12345678-1234-1234-1234-12345678****` and the signature algorithm `ECDSA_SHA_256` are used to verify the digital signature `ZOyIygCyaOW6Gj****MlNKiuyjfzw=` of the raw data `VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4=`.
@param request - CertificatePublicKeyVerifyRequest
@param runtime - runtime options for this request RuntimeOptions
@return CertificatePublicKeyVerifyResponse
func (*Client) ConnectKmsInstance ¶ added in v3.1.0
func (client *Client) ConnectKmsInstance(request *ConnectKmsInstanceRequest) (_result *ConnectKmsInstanceResponse, _err error)
Summary:
Enables a Key Management Service (KMS) instance.
Description:
### [](#)Limits
You can enable only instances of the software key management type. You cannot enable instances of the hardware key management type.
@param request - ConnectKmsInstanceRequest
@return ConnectKmsInstanceResponse
func (*Client) ConnectKmsInstanceWithOptions ¶ added in v3.1.0
func (client *Client) ConnectKmsInstanceWithOptions(request *ConnectKmsInstanceRequest, runtime *util.RuntimeOptions) (_result *ConnectKmsInstanceResponse, _err error)
Summary:
Enables a Key Management Service (KMS) instance.
Description:
### [](#)Limits
You can enable only instances of the software key management type. You cannot enable instances of the hardware key management type.
@param request - ConnectKmsInstanceRequest
@param runtime - runtime options for this request RuntimeOptions
@return ConnectKmsInstanceResponse
func (*Client) CreateAlias ¶
func (client *Client) CreateAlias(request *CreateAliasRequest) (_result *CreateAliasResponse, _err error)
Description:
Each alias can be bound to only one CMK at a time. - The aliases of CMKs in the same region must be unique.
In this topic, an alias named `alias/example` is created for a CMK named `7906979c-8e06-46a2-be2d-68e3ccbc****`.
@param request - CreateAliasRequest
@return CreateAliasResponse
func (*Client) CreateAliasWithOptions ¶
func (client *Client) CreateAliasWithOptions(request *CreateAliasRequest, runtime *util.RuntimeOptions) (_result *CreateAliasResponse, _err error)
Description:
Each alias can be bound to only one CMK at a time. - The aliases of CMKs in the same region must be unique.
In this topic, an alias named `alias/example` is created for a CMK named `7906979c-8e06-46a2-be2d-68e3ccbc****`.
@param request - CreateAliasRequest
@param runtime - runtime options for this request RuntimeOptions
@return CreateAliasResponse
func (*Client) CreateApplicationAccessPoint ¶ added in v3.1.0
func (client *Client) CreateApplicationAccessPoint(request *CreateApplicationAccessPointRequest) (_result *CreateApplicationAccessPointResponse, _err error)
Summary:
Creates an application access point (AAP)
Description:
To perform cryptographic operations and retrieve secret values, self-managed applications must use a client key to access a Key Management Service (KMS) instance. The following process shows how to create a client key-based AAP:
1.Create a network access rule: You can configure the private IP addresses or private CIDR blocks that are allowed to access KMS. For more information, see [CreateNetworkRule](https://help.aliyun.com/document_detail/2539407.html).
2.Create a permission policy: You can configure the keys and secrets that are allowed to access and bind network access rules to the keys and secrets. For more information, see [CreatePolicy](https://help.aliyun.com/document_detail/2539454.html).
3.Create an AAP: You can configure an authentication method and bind a permission policy to an AAP. This topic describes how to create an AAP.
4.Create a client key: You can configure the encryption password and validity period of a client key and bind the client key to an AAP. For more information, see [CreateClientKey](https://help.aliyun.com/document_detail/2539509.html).
@param request - CreateApplicationAccessPointRequest
@return CreateApplicationAccessPointResponse
func (*Client) CreateApplicationAccessPointWithOptions ¶ added in v3.1.0
func (client *Client) CreateApplicationAccessPointWithOptions(request *CreateApplicationAccessPointRequest, runtime *util.RuntimeOptions) (_result *CreateApplicationAccessPointResponse, _err error)
Summary:
Creates an application access point (AAP)
Description:
To perform cryptographic operations and retrieve secret values, self-managed applications must use a client key to access a Key Management Service (KMS) instance. The following process shows how to create a client key-based AAP:
1.Create a network access rule: You can configure the private IP addresses or private CIDR blocks that are allowed to access KMS. For more information, see [CreateNetworkRule](https://help.aliyun.com/document_detail/2539407.html).
2.Create a permission policy: You can configure the keys and secrets that are allowed to access and bind network access rules to the keys and secrets. For more information, see [CreatePolicy](https://help.aliyun.com/document_detail/2539454.html).
3.Create an AAP: You can configure an authentication method and bind a permission policy to an AAP. This topic describes how to create an AAP.
4.Create a client key: You can configure the encryption password and validity period of a client key and bind the client key to an AAP. For more information, see [CreateClientKey](https://help.aliyun.com/document_detail/2539509.html).
@param request - CreateApplicationAccessPointRequest
@param runtime - runtime options for this request RuntimeOptions
@return CreateApplicationAccessPointResponse
func (*Client) CreateCertificate ¶
func (client *Client) CreateCertificate(request *CreateCertificateRequest) (_result *CreateCertificateResponse, _err error)
Description:
To create a certificate, you must specify the type of the asymmetric key. Certificates Manager generates a private key and returns a certificate signing request (CSR). Submit the CSR in the Privacy Enhanced Mail (PEM) format to a certificate authority (CA) to obtain the formal certificate and certificate chain. Then, call the [UploadCertificate](https://help.aliyun.com/document_detail/212136.html) operation to import the certificate into Certificates Manager.
In this example, a certificate is created and the CSR is obtained.
@param request - CreateCertificateRequest
@return CreateCertificateResponse
func (*Client) CreateCertificateWithOptions ¶
func (client *Client) CreateCertificateWithOptions(tmpReq *CreateCertificateRequest, runtime *util.RuntimeOptions) (_result *CreateCertificateResponse, _err error)
Description:
To create a certificate, you must specify the type of the asymmetric key. Certificates Manager generates a private key and returns a certificate signing request (CSR). Submit the CSR in the Privacy Enhanced Mail (PEM) format to a certificate authority (CA) to obtain the formal certificate and certificate chain. Then, call the [UploadCertificate](https://help.aliyun.com/document_detail/212136.html) operation to import the certificate into Certificates Manager.
In this example, a certificate is created and the CSR is obtained.
@param tmpReq - CreateCertificateRequest
@param runtime - runtime options for this request RuntimeOptions
@return CreateCertificateResponse
func (*Client) CreateClientKey ¶ added in v3.1.0
func (client *Client) CreateClientKey(request *CreateClientKeyRequest) (_result *CreateClientKeyResponse, _err error)
Summary:
Creates a client key.
Description:
To perform cryptographic operations and retrieve secret values, self-managed applications must use a client key to access a Key Management Service (KMS) instance. The following process shows how to create a client key-based application access point (AAP):
1.Create an access control rule: You can configure the private IP addresses or private CIDR blocks that are allowed to access a KMS instance. For more information, see [CreateNetworkRule](https://help.aliyun.com/document_detail/2539407.html).
2.Create a permission policy: You can configure the keys and secrets that are allowed to access and bind access control rules to the keys and secrets. For more information, see [CreatePolicy](https://help.aliyun.com/document_detail/2539454.html).
3.Create an AAP: You can configure an authentication method and bind a permission policy to an AAP. For more information, see [CreateApplicationAccessPoint](https://help.aliyun.com/document_detail/2539467.html).
4.Create a client key: You can configure the encryption password and validity period of a client key and bind the client key to an AAP.
### Precautions
A client key has a validity period. After a client key expires, applications into which the client key is integrated cannot access the required KMS instance. You must replace the client key before the client key expires. We recommend that you delete the expired client key in KMS after the new client key is used.
@param request - CreateClientKeyRequest
@return CreateClientKeyResponse
func (*Client) CreateClientKeyWithOptions ¶ added in v3.1.0
func (client *Client) CreateClientKeyWithOptions(request *CreateClientKeyRequest, runtime *util.RuntimeOptions) (_result *CreateClientKeyResponse, _err error)
Summary:
Creates a client key.
Description:
To perform cryptographic operations and retrieve secret values, self-managed applications must use a client key to access a Key Management Service (KMS) instance. The following process shows how to create a client key-based application access point (AAP):
1.Create an access control rule: You can configure the private IP addresses or private CIDR blocks that are allowed to access a KMS instance. For more information, see [CreateNetworkRule](https://help.aliyun.com/document_detail/2539407.html).
2.Create a permission policy: You can configure the keys and secrets that are allowed to access and bind access control rules to the keys and secrets. For more information, see [CreatePolicy](https://help.aliyun.com/document_detail/2539454.html).
3.Create an AAP: You can configure an authentication method and bind a permission policy to an AAP. For more information, see [CreateApplicationAccessPoint](https://help.aliyun.com/document_detail/2539467.html).
4.Create a client key: You can configure the encryption password and validity period of a client key and bind the client key to an AAP.
### Precautions
A client key has a validity period. After a client key expires, applications into which the client key is integrated cannot access the required KMS instance. You must replace the client key before the client key expires. We recommend that you delete the expired client key in KMS after the new client key is used.
@param request - CreateClientKeyRequest
@param runtime - runtime options for this request RuntimeOptions
@return CreateClientKeyResponse
func (*Client) CreateKey ¶
func (client *Client) CreateKey(request *CreateKeyRequest) (_result *CreateKeyResponse, _err error)
Summary:
Creates a customer master key (CMK).
Description:
KMS supports common symmetric keys and asymmetric keys. For more information, see [Key types and specifications](https://help.aliyun.com/document_detail/480161.html).
@param request - CreateKeyRequest
@return CreateKeyResponse
func (*Client) CreateKeyVersion ¶
func (client *Client) CreateKeyVersion(request *CreateKeyVersionRequest) (_result *CreateKeyVersionResponse, _err error)
Summary:
为密钥创建新的密钥版本。
Description:
You can create a version only for an asymmetric CMK that is in the Enabled state. You can call the [CreateKey](https://help.aliyun.com/document_detail/28947.html) operation to create an asymmetric CMK and the [DescribeKey](https://help.aliyun.com/document_detail/28952.html) operation to query the status of the CMK. The status is specified by the KeyState parameter. - The minimum interval for creating a version of the same CMK is seven days. You can call the [DescribeKey](https://help.aliyun.com/document_detail/28952.html) operation to query the time when the last version of a CMK was created. The time is specified by the LastRotationDate parameter. - If a CMK is in a private key store, you cannot create a version for the CMK. - You can create a maximum of 50 versions for a CMK in the same region.
You can create a version for the CMK whose ID is `0b30658a-ed1a-4922-b8f7-a673ca9c****` by using the parameter settings provided in this topic.
@param request - CreateKeyVersionRequest
@return CreateKeyVersionResponse
func (*Client) CreateKeyVersionWithOptions ¶
func (client *Client) CreateKeyVersionWithOptions(request *CreateKeyVersionRequest, runtime *util.RuntimeOptions) (_result *CreateKeyVersionResponse, _err error)
Summary:
为密钥创建新的密钥版本。
Description:
You can create a version only for an asymmetric CMK that is in the Enabled state. You can call the [CreateKey](https://help.aliyun.com/document_detail/28947.html) operation to create an asymmetric CMK and the [DescribeKey](https://help.aliyun.com/document_detail/28952.html) operation to query the status of the CMK. The status is specified by the KeyState parameter. - The minimum interval for creating a version of the same CMK is seven days. You can call the [DescribeKey](https://help.aliyun.com/document_detail/28952.html) operation to query the time when the last version of a CMK was created. The time is specified by the LastRotationDate parameter. - If a CMK is in a private key store, you cannot create a version for the CMK. - You can create a maximum of 50 versions for a CMK in the same region.
You can create a version for the CMK whose ID is `0b30658a-ed1a-4922-b8f7-a673ca9c****` by using the parameter settings provided in this topic.
@param request - CreateKeyVersionRequest
@param runtime - runtime options for this request RuntimeOptions
@return CreateKeyVersionResponse
func (*Client) CreateKeyWithOptions ¶
func (client *Client) CreateKeyWithOptions(request *CreateKeyRequest, runtime *util.RuntimeOptions) (_result *CreateKeyResponse, _err error)
Summary:
Creates a customer master key (CMK).
Description:
KMS supports common symmetric keys and asymmetric keys. For more information, see [Key types and specifications](https://help.aliyun.com/document_detail/480161.html).
@param request - CreateKeyRequest
@param runtime - runtime options for this request RuntimeOptions
@return CreateKeyResponse
func (*Client) CreateNetworkRule ¶ added in v3.1.0
func (client *Client) CreateNetworkRule(request *CreateNetworkRuleRequest) (_result *CreateNetworkRuleResponse, _err error)
Summary:
Creates an access control rule to configure the private IP addresses or CIDR blocks that are allowed to access a Key Management Service (KMS) instance.
Description:
To perform cryptographic operations and retrieve secret values, self-managed applications must use a client key to access a KMS instance. The following process shows how to create a client key-based application access point (AAP):
1.Create an access control rule: You can configure the private IP addresses or private CIDR blocks that are allowed to access a KMS instance.
2.Create a permission policy: You can configure the keys and secrets that are allowed to access and bind access control rules to the keys and secrets. For more information, see [CreatePolicy](https://help.aliyun.com/document_detail/2539454.html).
3.Create an AAP: You can configure an authentication method and bind a permission policy to an AAP. For more information, see [CreateApplicationAccessPoint](https://help.aliyun.com/document_detail/2539467.html).
4.Create a client key: You can configure the encryption password and validity period of a client key and bind the client key to an AAP. For more information, see [CreateClientKey](https://help.aliyun.com/document_detail/2539509.html).
@param request - CreateNetworkRuleRequest
@return CreateNetworkRuleResponse
func (*Client) CreateNetworkRuleWithOptions ¶ added in v3.1.0
func (client *Client) CreateNetworkRuleWithOptions(request *CreateNetworkRuleRequest, runtime *util.RuntimeOptions) (_result *CreateNetworkRuleResponse, _err error)
Summary:
Creates an access control rule to configure the private IP addresses or CIDR blocks that are allowed to access a Key Management Service (KMS) instance.
Description:
To perform cryptographic operations and retrieve secret values, self-managed applications must use a client key to access a KMS instance. The following process shows how to create a client key-based application access point (AAP):
1.Create an access control rule: You can configure the private IP addresses or private CIDR blocks that are allowed to access a KMS instance.
2.Create a permission policy: You can configure the keys and secrets that are allowed to access and bind access control rules to the keys and secrets. For more information, see [CreatePolicy](https://help.aliyun.com/document_detail/2539454.html).
3.Create an AAP: You can configure an authentication method and bind a permission policy to an AAP. For more information, see [CreateApplicationAccessPoint](https://help.aliyun.com/document_detail/2539467.html).
4.Create a client key: You can configure the encryption password and validity period of a client key and bind the client key to an AAP. For more information, see [CreateClientKey](https://help.aliyun.com/document_detail/2539509.html).
@param request - CreateNetworkRuleRequest
@param runtime - runtime options for this request RuntimeOptions
@return CreateNetworkRuleResponse
func (*Client) CreatePolicy ¶ added in v3.1.0
func (client *Client) CreatePolicy(request *CreatePolicyRequest) (_result *CreatePolicyResponse, _err error)
Summary:
Creates a permission policy to configure the keys and secrets that are allowed to access.
Description:
To perform cryptographic operations and retrieve secret values, self-managed applications must use a client key to access a Key Management Service (KMS) instance. The following process shows how to create a client key-based application access point (AAP):
1.Create an access control rule: You can configure the private IP addresses or private CIDR blocks that are allowed to access a KMS instance. For more information, see [CreateNetworkRule](https://help.aliyun.com/document_detail/2539407.html).
2.Create a permission policy: You can configure the keys and secrets that are allowed to access and bind access control rules to the keys and secrets.
3.Create an AAP: You can configure an authentication method and bind a permission policy to an AAP. For more information, see [CreateApplicationAccessPoint](https://help.aliyun.com/document_detail/2539467.html).
4.Create a client key: You can configure the encryption password and validity period of a client key and bind the client key to an AAP. For more information, see [CreateClientKey](https://help.aliyun.com/document_detail/2539509.html).
@param request - CreatePolicyRequest
@return CreatePolicyResponse
func (*Client) CreatePolicyWithOptions ¶ added in v3.1.0
func (client *Client) CreatePolicyWithOptions(request *CreatePolicyRequest, runtime *util.RuntimeOptions) (_result *CreatePolicyResponse, _err error)
Summary:
Creates a permission policy to configure the keys and secrets that are allowed to access.
Description:
To perform cryptographic operations and retrieve secret values, self-managed applications must use a client key to access a Key Management Service (KMS) instance. The following process shows how to create a client key-based application access point (AAP):
1.Create an access control rule: You can configure the private IP addresses or private CIDR blocks that are allowed to access a KMS instance. For more information, see [CreateNetworkRule](https://help.aliyun.com/document_detail/2539407.html).
2.Create a permission policy: You can configure the keys and secrets that are allowed to access and bind access control rules to the keys and secrets.
3.Create an AAP: You can configure an authentication method and bind a permission policy to an AAP. For more information, see [CreateApplicationAccessPoint](https://help.aliyun.com/document_detail/2539467.html).
4.Create a client key: You can configure the encryption password and validity period of a client key and bind the client key to an AAP. For more information, see [CreateClientKey](https://help.aliyun.com/document_detail/2539509.html).
@param request - CreatePolicyRequest
@param runtime - runtime options for this request RuntimeOptions
@return CreatePolicyResponse
func (*Client) CreateSecret ¶
func (client *Client) CreateSecret(request *CreateSecretRequest) (_result *CreateSecretResponse, _err error)
Summary:
创建凭据并存入凭据的初始版本。
Description:
The name of the secret.
The value must be 1 to 64 characters in length and can contain letters, digits, underscores (_), forward slashes (/), plus signs (+), equal signs (=), periods (.), hyphens (-), and at signs (@). The following list describes the name requirements for different types of secrets:
If the SecretType parameter is set to Generic or Rds, the name cannot start with `acs/`.
If the SecretType parameter is set to RAMCredentials, set the SecretName parameter to `$Auto`. In this case, KMS automatically generates a secret name that starts with `acs/ram/user/`. The name includes the display name of RAM user.
If the SecretType parameter is set to ECS, the name must start with `acs/ecs/`.
@param request - CreateSecretRequest
@return CreateSecretResponse
func (*Client) CreateSecretWithOptions ¶
func (client *Client) CreateSecretWithOptions(tmpReq *CreateSecretRequest, runtime *util.RuntimeOptions) (_result *CreateSecretResponse, _err error)
Summary:
创建凭据并存入凭据的初始版本。
Description:
The name of the secret.
The value must be 1 to 64 characters in length and can contain letters, digits, underscores (_), forward slashes (/), plus signs (+), equal signs (=), periods (.), hyphens (-), and at signs (@). The following list describes the name requirements for different types of secrets:
If the SecretType parameter is set to Generic or Rds, the name cannot start with `acs/`.
If the SecretType parameter is set to RAMCredentials, set the SecretName parameter to `$Auto`. In this case, KMS automatically generates a secret name that starts with `acs/ram/user/`. The name includes the display name of RAM user.
If the SecretType parameter is set to ECS, the name must start with `acs/ecs/`.
@param tmpReq - CreateSecretRequest
@param runtime - runtime options for this request RuntimeOptions
@return CreateSecretResponse
func (*Client) Decrypt ¶
func (client *Client) Decrypt(request *DecryptRequest) (_result *DecryptResponse, _err error)
Summary:
调用Decrypt接口解密CiphertextBlob中的密文。
@param request - DecryptRequest
@return DecryptResponse
func (*Client) DecryptWithOptions ¶
func (client *Client) DecryptWithOptions(tmpReq *DecryptRequest, runtime *util.RuntimeOptions) (_result *DecryptResponse, _err error)
Summary:
调用Decrypt接口解密CiphertextBlob中的密文。
@param tmpReq - DecryptRequest
@param runtime - runtime options for this request RuntimeOptions
@return DecryptResponse
func (*Client) DeleteAlias ¶
func (client *Client) DeleteAlias(request *DeleteAliasRequest) (_result *DeleteAliasResponse, _err error)
@param request - DeleteAliasRequest
@return DeleteAliasResponse
func (*Client) DeleteAliasWithOptions ¶
func (client *Client) DeleteAliasWithOptions(request *DeleteAliasRequest, runtime *util.RuntimeOptions) (_result *DeleteAliasResponse, _err error)
@param request - DeleteAliasRequest
@param runtime - runtime options for this request RuntimeOptions
@return DeleteAliasResponse
func (*Client) DeleteApplicationAccessPoint ¶ added in v3.1.0
func (client *Client) DeleteApplicationAccessPoint(request *DeleteApplicationAccessPointRequest) (_result *DeleteApplicationAccessPointResponse, _err error)
Summary:
Deletes an application access point (AAP).
Description:
Before you delete an AAP, make sure that the AAP is no longer in use. If you delete an AAP that is in use, applications that use the AAP cannot access Key Management Service (KMS). Exercise caution when you delete an AAP.
@param request - DeleteApplicationAccessPointRequest
@return DeleteApplicationAccessPointResponse
func (*Client) DeleteApplicationAccessPointWithOptions ¶ added in v3.1.0
func (client *Client) DeleteApplicationAccessPointWithOptions(request *DeleteApplicationAccessPointRequest, runtime *util.RuntimeOptions) (_result *DeleteApplicationAccessPointResponse, _err error)
Summary:
Deletes an application access point (AAP).
Description:
Before you delete an AAP, make sure that the AAP is no longer in use. If you delete an AAP that is in use, applications that use the AAP cannot access Key Management Service (KMS). Exercise caution when you delete an AAP.
@param request - DeleteApplicationAccessPointRequest
@param runtime - runtime options for this request RuntimeOptions
@return DeleteApplicationAccessPointResponse
func (*Client) DeleteCertificate ¶
func (client *Client) DeleteCertificate(request *DeleteCertificateRequest) (_result *DeleteCertificateResponse, _err error)
Description:
After the certificate and its private key and certificate chain are deleted, they cannot be restored. Proceed with caution.
In this example, the certificate whose ID is `9a28de48-8d8b-484d-a766-dec4****` and its private key and certificate chain are deleted.
@param request - DeleteCertificateRequest
@return DeleteCertificateResponse
func (*Client) DeleteCertificateWithOptions ¶
func (client *Client) DeleteCertificateWithOptions(request *DeleteCertificateRequest, runtime *util.RuntimeOptions) (_result *DeleteCertificateResponse, _err error)
Description:
After the certificate and its private key and certificate chain are deleted, they cannot be restored. Proceed with caution.
In this example, the certificate whose ID is `9a28de48-8d8b-484d-a766-dec4****` and its private key and certificate chain are deleted.
@param request - DeleteCertificateRequest
@param runtime - runtime options for this request RuntimeOptions
@return DeleteCertificateResponse
func (*Client) DeleteClientKey ¶ added in v3.1.0
func (client *Client) DeleteClientKey(request *DeleteClientKeyRequest) (_result *DeleteClientKeyResponse, _err error)
Description:
Before you delete a client key, make sure that the client key is no longer in use. If you delete a client key that is in use, applications that use the client key cannot access Key Management Service (KMS). Exercise caution when you delete a client key.
@param request - DeleteClientKeyRequest
@return DeleteClientKeyResponse
func (*Client) DeleteClientKeyWithOptions ¶ added in v3.1.0
func (client *Client) DeleteClientKeyWithOptions(request *DeleteClientKeyRequest, runtime *util.RuntimeOptions) (_result *DeleteClientKeyResponse, _err error)
Description:
Before you delete a client key, make sure that the client key is no longer in use. If you delete a client key that is in use, applications that use the client key cannot access Key Management Service (KMS). Exercise caution when you delete a client key.
@param request - DeleteClientKeyRequest
@param runtime - runtime options for this request RuntimeOptions
@return DeleteClientKeyResponse
func (*Client) DeleteKeyMaterial ¶
func (client *Client) DeleteKeyMaterial(request *DeleteKeyMaterialRequest) (_result *DeleteKeyMaterialResponse, _err error)
Description:
This operation does not delete the CMK that is created by using the key material.
If the CMK is in the PendingDeletion state, the state of the CMK and the scheduled deletion time do not change after you call this operation. If the CMK is not in the PendingDeletion state, the state of the CMK changes to PendingImport after you call this operation.
After you delete the key material, you can upload only the same key material into the CMK.
@param request - DeleteKeyMaterialRequest
@return DeleteKeyMaterialResponse
func (*Client) DeleteKeyMaterialWithOptions ¶
func (client *Client) DeleteKeyMaterialWithOptions(request *DeleteKeyMaterialRequest, runtime *util.RuntimeOptions) (_result *DeleteKeyMaterialResponse, _err error)
Description:
This operation does not delete the CMK that is created by using the key material.
If the CMK is in the PendingDeletion state, the state of the CMK and the scheduled deletion time do not change after you call this operation. If the CMK is not in the PendingDeletion state, the state of the CMK changes to PendingImport after you call this operation.
After you delete the key material, you can upload only the same key material into the CMK.
@param request - DeleteKeyMaterialRequest
@param runtime - runtime options for this request RuntimeOptions
@return DeleteKeyMaterialResponse
func (*Client) DeleteNetworkRule ¶ added in v3.1.0
func (client *Client) DeleteNetworkRule(request *DeleteNetworkRuleRequest) (_result *DeleteNetworkRuleResponse, _err error)
Summary:
Deletes a network access rule.
Description:
Before you delete a network access rule, make sure that the network access rule is not bound to permission policies. Otherwise, related applications cannot access Key Management Service (KMS).
@param request - DeleteNetworkRuleRequest
@return DeleteNetworkRuleResponse
func (*Client) DeleteNetworkRuleWithOptions ¶ added in v3.1.0
func (client *Client) DeleteNetworkRuleWithOptions(request *DeleteNetworkRuleRequest, runtime *util.RuntimeOptions) (_result *DeleteNetworkRuleResponse, _err error)
Summary:
Deletes a network access rule.
Description:
Before you delete a network access rule, make sure that the network access rule is not bound to permission policies. Otherwise, related applications cannot access Key Management Service (KMS).
@param request - DeleteNetworkRuleRequest
@param runtime - runtime options for this request RuntimeOptions
@return DeleteNetworkRuleResponse
func (*Client) DeletePolicy ¶ added in v3.1.0
func (client *Client) DeletePolicy(request *DeletePolicyRequest) (_result *DeletePolicyResponse, _err error)
Summary:
Deletes a permission policy.
Description:
Before you delete a permission policy, make sure that the permission policy is not associated with application access points (AAPs). Otherwise, related applications cannot access Key Management Service (KMS).
@param request - DeletePolicyRequest
@return DeletePolicyResponse
func (*Client) DeletePolicyWithOptions ¶ added in v3.1.0
func (client *Client) DeletePolicyWithOptions(request *DeletePolicyRequest, runtime *util.RuntimeOptions) (_result *DeletePolicyResponse, _err error)
Summary:
Deletes a permission policy.
Description:
Before you delete a permission policy, make sure that the permission policy is not associated with application access points (AAPs). Otherwise, related applications cannot access Key Management Service (KMS).
@param request - DeletePolicyRequest
@param runtime - runtime options for this request RuntimeOptions
@return DeletePolicyResponse
func (*Client) DeleteSecret ¶
func (client *Client) DeleteSecret(request *DeleteSecretRequest) (_result *DeleteSecretResponse, _err error)
Description:
If you call this operation without specifying a recovery period, the deleted secret can be recovered within 30 days.
If you specify a recovery period, the deleted secret can be recovered within the recovery period. You can also forcibly delete a secret. A forcibly deleted secret cannot be recovered.
@param request - DeleteSecretRequest
@return DeleteSecretResponse
func (*Client) DeleteSecretWithOptions ¶
func (client *Client) DeleteSecretWithOptions(request *DeleteSecretRequest, runtime *util.RuntimeOptions) (_result *DeleteSecretResponse, _err error)
Description:
If you call this operation without specifying a recovery period, the deleted secret can be recovered within 30 days.
If you specify a recovery period, the deleted secret can be recovered within the recovery period. You can also forcibly delete a secret. A forcibly deleted secret cannot be recovered.
@param request - DeleteSecretRequest
@param runtime - runtime options for this request RuntimeOptions
@return DeleteSecretResponse
func (*Client) DescribeAccountKmsStatus ¶
func (client *Client) DescribeAccountKmsStatus() (_result *DescribeAccountKmsStatusResponse, _err error)
@return DescribeAccountKmsStatusResponse
func (*Client) DescribeAccountKmsStatusWithOptions ¶
func (client *Client) DescribeAccountKmsStatusWithOptions(runtime *util.RuntimeOptions) (_result *DescribeAccountKmsStatusResponse, _err error)
@param request - DescribeAccountKmsStatusRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeAccountKmsStatusResponse
func (*Client) DescribeApplicationAccessPoint ¶ added in v3.1.0
func (client *Client) DescribeApplicationAccessPoint(request *DescribeApplicationAccessPointRequest) (_result *DescribeApplicationAccessPointResponse, _err error)
Summary:
Queries the details of an application access point (AAP).
@param request - DescribeApplicationAccessPointRequest
@return DescribeApplicationAccessPointResponse
func (*Client) DescribeApplicationAccessPointWithOptions ¶ added in v3.1.0
func (client *Client) DescribeApplicationAccessPointWithOptions(request *DescribeApplicationAccessPointRequest, runtime *util.RuntimeOptions) (_result *DescribeApplicationAccessPointResponse, _err error)
Summary:
Queries the details of an application access point (AAP).
@param request - DescribeApplicationAccessPointRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeApplicationAccessPointResponse
func (*Client) DescribeCertificate ¶
func (client *Client) DescribeCertificate(request *DescribeCertificateRequest) (_result *DescribeCertificateResponse, _err error)
Description:
In this example, the information about the certificate whose ID is `9a28de48-8d8b-484d-a766-dec4****` is queried. The certificate information includes the certificate ID, creation time, certificate issuer, validity period, serial number, and signature algorithm.
@param request - DescribeCertificateRequest
@return DescribeCertificateResponse
func (*Client) DescribeCertificateWithOptions ¶
func (client *Client) DescribeCertificateWithOptions(request *DescribeCertificateRequest, runtime *util.RuntimeOptions) (_result *DescribeCertificateResponse, _err error)
Description:
In this example, the information about the certificate whose ID is `9a28de48-8d8b-484d-a766-dec4****` is queried. The certificate information includes the certificate ID, creation time, certificate issuer, validity period, serial number, and signature algorithm.
@param request - DescribeCertificateRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeCertificateResponse
func (*Client) DescribeKey ¶
func (client *Client) DescribeKey(request *DescribeKeyRequest) (_result *DescribeKeyResponse, _err error)
Summary:
Queries the information about a customer master key (CMK).
Description:
You can query the information about the CMK `05754286-3ba2-4fa6-8d41-4323aca6****` by using parameter settings provided in this topic. The information includes the creator, creation time, status, and deletion protection status of the CMK.
@param request - DescribeKeyRequest
@return DescribeKeyResponse
func (*Client) DescribeKeyVersion ¶
func (client *Client) DescribeKeyVersion(request *DescribeKeyVersionRequest) (_result *DescribeKeyVersionResponse, _err error)
Description:
This topic provides an example on how to query the information about a version of the CMK `1234abcd-12ab-34cd-56ef-12345678****`. The ID of the CMK version is `2ab1a983-7072-4bbc-a582-584b5bd8****`. The response shows that the creation time of the CMK version is `2016-03-25T10:42:40Z`.
@param request - DescribeKeyVersionRequest
@return DescribeKeyVersionResponse
func (*Client) DescribeKeyVersionWithOptions ¶
func (client *Client) DescribeKeyVersionWithOptions(request *DescribeKeyVersionRequest, runtime *util.RuntimeOptions) (_result *DescribeKeyVersionResponse, _err error)
Description:
This topic provides an example on how to query the information about a version of the CMK `1234abcd-12ab-34cd-56ef-12345678****`. The ID of the CMK version is `2ab1a983-7072-4bbc-a582-584b5bd8****`. The response shows that the creation time of the CMK version is `2016-03-25T10:42:40Z`.
@param request - DescribeKeyVersionRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeKeyVersionResponse
func (*Client) DescribeKeyWithOptions ¶
func (client *Client) DescribeKeyWithOptions(request *DescribeKeyRequest, runtime *util.RuntimeOptions) (_result *DescribeKeyResponse, _err error)
Summary:
Queries the information about a customer master key (CMK).
Description:
You can query the information about the CMK `05754286-3ba2-4fa6-8d41-4323aca6****` by using parameter settings provided in this topic. The information includes the creator, creation time, status, and deletion protection status of the CMK.
@param request - DescribeKeyRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeKeyResponse
func (*Client) DescribeNetworkRule ¶ added in v3.1.0
func (client *Client) DescribeNetworkRule(request *DescribeNetworkRuleRequest) (_result *DescribeNetworkRuleResponse, _err error)
Summary:
Queries the details of an access control rule.
@param request - DescribeNetworkRuleRequest
@return DescribeNetworkRuleResponse
func (*Client) DescribeNetworkRuleWithOptions ¶ added in v3.1.0
func (client *Client) DescribeNetworkRuleWithOptions(request *DescribeNetworkRuleRequest, runtime *util.RuntimeOptions) (_result *DescribeNetworkRuleResponse, _err error)
Summary:
Queries the details of an access control rule.
@param request - DescribeNetworkRuleRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeNetworkRuleResponse
func (*Client) DescribePolicy ¶ added in v3.1.0
func (client *Client) DescribePolicy(request *DescribePolicyRequest) (_result *DescribePolicyResponse, _err error)
Summary:
Queries the details of a permission policy.
@param request - DescribePolicyRequest
@return DescribePolicyResponse
func (*Client) DescribePolicyWithOptions ¶ added in v3.1.0
func (client *Client) DescribePolicyWithOptions(request *DescribePolicyRequest, runtime *util.RuntimeOptions) (_result *DescribePolicyResponse, _err error)
Summary:
Queries the details of a permission policy.
@param request - DescribePolicyRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribePolicyResponse
func (*Client) DescribeRegions ¶
func (client *Client) DescribeRegions() (_result *DescribeRegionsResponse, _err error)
Summary:
Queries available regions.
Description:
## Debugging
[OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Kms\\&api=DescribeRegions\\&type=RPC\\&version=2016-01-20)
@return DescribeRegionsResponse
func (*Client) DescribeRegionsWithOptions ¶
func (client *Client) DescribeRegionsWithOptions(runtime *util.RuntimeOptions) (_result *DescribeRegionsResponse, _err error)
Summary:
Queries available regions.
Description:
## Debugging
[OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Kms\\&api=DescribeRegions\\&type=RPC\\&version=2016-01-20)
@param request - DescribeRegionsRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeRegionsResponse
func (*Client) DescribeSecret ¶
func (client *Client) DescribeSecret(request *DescribeSecretRequest) (_result *DescribeSecretResponse, _err error)
Description:
This operation returns the metadata of a secret. This operation does not return the secret value.
In this example, the metadata of the secret named `secret001` is queried.
@param request - DescribeSecretRequest
@return DescribeSecretResponse
func (*Client) DescribeSecretWithOptions ¶
func (client *Client) DescribeSecretWithOptions(request *DescribeSecretRequest, runtime *util.RuntimeOptions) (_result *DescribeSecretResponse, _err error)
Description:
This operation returns the metadata of a secret. This operation does not return the secret value.
In this example, the metadata of the secret named `secret001` is queried.
@param request - DescribeSecretRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeSecretResponse
func (*Client) DisableKey ¶
func (client *Client) DisableKey(request *DisableKeyRequest) (_result *DisableKeyResponse, _err error)
Description:
If a customer master key (CMK) is disabled, the ciphertext encrypted by using this CMK cannot be decrypted until you re-enable it. You can call the [EnableKey](https://help.aliyun.com/document_detail/35150.html) operation to enable the CMK.
In this example, the CMK whose ID is `1234abcd-12ab-34cd-56ef-12345678****` is disabled.
@param request - DisableKeyRequest
@return DisableKeyResponse
func (*Client) DisableKeyWithOptions ¶
func (client *Client) DisableKeyWithOptions(request *DisableKeyRequest, runtime *util.RuntimeOptions) (_result *DisableKeyResponse, _err error)
Description:
If a customer master key (CMK) is disabled, the ciphertext encrypted by using this CMK cannot be decrypted until you re-enable it. You can call the [EnableKey](https://help.aliyun.com/document_detail/35150.html) operation to enable the CMK.
In this example, the CMK whose ID is `1234abcd-12ab-34cd-56ef-12345678****` is disabled.
@param request - DisableKeyRequest
@param runtime - runtime options for this request RuntimeOptions
@return DisableKeyResponse
func (*Client) EnableKey ¶
func (client *Client) EnableKey(request *EnableKeyRequest) (_result *EnableKeyResponse, _err error)
@param request - EnableKeyRequest
@return EnableKeyResponse
func (*Client) EnableKeyWithOptions ¶
func (client *Client) EnableKeyWithOptions(request *EnableKeyRequest, runtime *util.RuntimeOptions) (_result *EnableKeyResponse, _err error)
@param request - EnableKeyRequest
@param runtime - runtime options for this request RuntimeOptions
@return EnableKeyResponse
func (*Client) Encrypt ¶
func (client *Client) Encrypt(request *EncryptRequest) (_result *EncryptResponse, _err error)
Description:
KMS uses the primary version of a specified CMK to encrypt data. - Only data of 6 KB or less can be encrypted. For example, you can call this operation to encrypt RSA keys, database access passwords, or other sensitive information. - When you migrate encrypted data across regions, you can call this operation in the destination region to encrypt the plaintext of the data key that is used to encrypt the migrated data in the source region. This way, the ciphertext of the data key is generated in the destination region. You can also call the [Decrypt](https://help.aliyun.com/document_detail/28950.html) operation to decrypt the data key.
@param request - EncryptRequest
@return EncryptResponse
func (*Client) EncryptWithOptions ¶
func (client *Client) EncryptWithOptions(tmpReq *EncryptRequest, runtime *util.RuntimeOptions) (_result *EncryptResponse, _err error)
Description:
KMS uses the primary version of a specified CMK to encrypt data. - Only data of 6 KB or less can be encrypted. For example, you can call this operation to encrypt RSA keys, database access passwords, or other sensitive information. - When you migrate encrypted data across regions, you can call this operation in the destination region to encrypt the plaintext of the data key that is used to encrypt the migrated data in the source region. This way, the ciphertext of the data key is generated in the destination region. You can also call the [Decrypt](https://help.aliyun.com/document_detail/28950.html) operation to decrypt the data key.
@param tmpReq - EncryptRequest
@param runtime - runtime options for this request RuntimeOptions
@return EncryptResponse
func (*Client) ExportDataKey ¶
func (client *Client) ExportDataKey(request *ExportDataKeyRequest) (_result *ExportDataKeyResponse, _err error)
Description:
You can call the [GenerateDataKeyWithoutPlaintext](https://help.aliyun.com/document_detail/134043.html) operation to generate a data key, which is encrypted by a CMK. If you want to distribute the data key to other regions or cryptographic modules, you can call the ExportDataKey operation to use a public key to encrypt the data key.
Then, you can import the ciphertext of the data key to the cryptographic module where the private key is stored. This way, the data key is securely distributed from KMS to the cryptographic module. After the data key is imported to the cryptographic module, you can use it to encrypt or decrypt data.
@param request - ExportDataKeyRequest
@return ExportDataKeyResponse
func (*Client) ExportDataKeyWithOptions ¶
func (client *Client) ExportDataKeyWithOptions(tmpReq *ExportDataKeyRequest, runtime *util.RuntimeOptions) (_result *ExportDataKeyResponse, _err error)
Description:
You can call the [GenerateDataKeyWithoutPlaintext](https://help.aliyun.com/document_detail/134043.html) operation to generate a data key, which is encrypted by a CMK. If you want to distribute the data key to other regions or cryptographic modules, you can call the ExportDataKey operation to use a public key to encrypt the data key.
Then, you can import the ciphertext of the data key to the cryptographic module where the private key is stored. This way, the data key is securely distributed from KMS to the cryptographic module. After the data key is imported to the cryptographic module, you can use it to encrypt or decrypt data.
@param tmpReq - ExportDataKeyRequest
@param runtime - runtime options for this request RuntimeOptions
@return ExportDataKeyResponse
func (*Client) GenerateAndExportDataKey ¶
func (client *Client) GenerateAndExportDataKey(request *GenerateAndExportDataKeyRequest) (_result *GenerateAndExportDataKeyResponse, _err error)
Description:
We recommend that you perform the following steps to import your data key to a cryptographic module:
Call the GenerateAndExportDataKey operation to generate a data key and obtain both the ciphertext of the data key encrypted by using the CMK and that encrypted by using the public key.
Store the ciphertext of the data key encrypted by using the CMK in KMS Secrets Manager or in a storage service such as ApsaraDB. This ciphertext is used for backup and restoration.
Import the ciphertext of the data key encrypted by using the public key to the cryptographic module where the private key is stored. Then, you can use the data key to encrypt or decrypt data.
> The CMK that you specify in the request of this operation is only used to encrypt the data key and is not involved in the generation of the data key. KMS does not record or store the data keys randomly generated by calling this operation. You must take note of the data keys and the returned ciphertext.
@param request - GenerateAndExportDataKeyRequest
@return GenerateAndExportDataKeyResponse
func (*Client) GenerateAndExportDataKeyWithOptions ¶
func (client *Client) GenerateAndExportDataKeyWithOptions(tmpReq *GenerateAndExportDataKeyRequest, runtime *util.RuntimeOptions) (_result *GenerateAndExportDataKeyResponse, _err error)
Description:
We recommend that you perform the following steps to import your data key to a cryptographic module:
Call the GenerateAndExportDataKey operation to generate a data key and obtain both the ciphertext of the data key encrypted by using the CMK and that encrypted by using the public key.
Store the ciphertext of the data key encrypted by using the CMK in KMS Secrets Manager or in a storage service such as ApsaraDB. This ciphertext is used for backup and restoration.
Import the ciphertext of the data key encrypted by using the public key to the cryptographic module where the private key is stored. Then, you can use the data key to encrypt or decrypt data.
> The CMK that you specify in the request of this operation is only used to encrypt the data key and is not involved in the generation of the data key. KMS does not record or store the data keys randomly generated by calling this operation. You must take note of the data keys and the returned ciphertext.
@param tmpReq - GenerateAndExportDataKeyRequest
@param runtime - runtime options for this request RuntimeOptions
@return GenerateAndExportDataKeyResponse
func (*Client) GenerateDataKey ¶
func (client *Client) GenerateDataKey(request *GenerateDataKeyRequest) (_result *GenerateDataKeyResponse, _err error)
Summary:
生成一个数据密钥
Description:
This operation creates a random data key, encrypts the data key by using the specified customer master key (CMK), and returns the plaintext and ciphertext of the data key. You can use the plaintext of the data key to locally encrypt your data without using KMS and store the encrypted data together with the ciphertext of the data key. You can obtain the plaintext of the data key from the Plaintext parameter in the response and the ciphertext of the data key from the CiphertextBlob parameter in the response.
The CMK that you specify in the request of this operation is only used to encrypt the data key and is not involved in the generation of the data key. KMS does not record or store the generated data key. Therefore, you need to store the ciphertext of the data key in persistent storage.
We recommend that you locally encrypt data by performing the following steps:
1\\. Call the GenerateDataKey operation.
2\\. Use the plaintext of the data key that you obtain to locally encrypt data without using KMS. Then, delete the plaintext of the data key from the memory.
3\\. Store the encrypted data together with the ciphertext of the data key that you obtain.
We recommend that you locally decrypt data by performing the following steps:
Call the [Decrypt](https://help.aliyun.com/document_detail/28950.html) operation to decrypt the locally stored ciphertext of the data key. The plaintext of data key is then returned.
Use the plaintext of the data key to locally decrypt data and then delete the plaintext of the data key from the memory.
In this example, a random data key is generated for the CMK whose ID is `7906979c-8e06-46a2-be2d-68e3ccbc****`.
@param request - GenerateDataKeyRequest
@return GenerateDataKeyResponse
func (*Client) GenerateDataKeyWithOptions ¶
func (client *Client) GenerateDataKeyWithOptions(tmpReq *GenerateDataKeyRequest, runtime *util.RuntimeOptions) (_result *GenerateDataKeyResponse, _err error)
Summary:
生成一个数据密钥
Description:
This operation creates a random data key, encrypts the data key by using the specified customer master key (CMK), and returns the plaintext and ciphertext of the data key. You can use the plaintext of the data key to locally encrypt your data without using KMS and store the encrypted data together with the ciphertext of the data key. You can obtain the plaintext of the data key from the Plaintext parameter in the response and the ciphertext of the data key from the CiphertextBlob parameter in the response.
The CMK that you specify in the request of this operation is only used to encrypt the data key and is not involved in the generation of the data key. KMS does not record or store the generated data key. Therefore, you need to store the ciphertext of the data key in persistent storage.
We recommend that you locally encrypt data by performing the following steps:
1\\. Call the GenerateDataKey operation.
2\\. Use the plaintext of the data key that you obtain to locally encrypt data without using KMS. Then, delete the plaintext of the data key from the memory.
3\\. Store the encrypted data together with the ciphertext of the data key that you obtain.
We recommend that you locally decrypt data by performing the following steps:
Call the [Decrypt](https://help.aliyun.com/document_detail/28950.html) operation to decrypt the locally stored ciphertext of the data key. The plaintext of data key is then returned.
Use the plaintext of the data key to locally decrypt data and then delete the plaintext of the data key from the memory.
In this example, a random data key is generated for the CMK whose ID is `7906979c-8e06-46a2-be2d-68e3ccbc****`.
@param tmpReq - GenerateDataKeyRequest
@param runtime - runtime options for this request RuntimeOptions
@return GenerateDataKeyResponse
func (*Client) GenerateDataKeyWithoutPlaintext ¶
func (client *Client) GenerateDataKeyWithoutPlaintext(request *GenerateDataKeyWithoutPlaintextRequest) (_result *GenerateDataKeyWithoutPlaintextResponse, _err error)
Summary:
Generates a random data key, which can be used to encrypt local data.
Description:
This operation creates a random data key, encrypts the data key by using a specific symmetric CMK, and returns the ciphertext of the data key. This operation serves the same purpose as the [GenerateDataKey](https://help.aliyun.com/document_detail/28948.html) operation. The only difference is that this operation does not return the plaintext of the data key.
The CMK that you specify in the request of this operation is only used to encrypt the data key and is not involved in the generation of the data key. KMS does not record or store the generated data key.
> - This operation applies to the scenario when you do not need to use the data key to immediately encrypt data. Before you can use the data key to encrypt data, you must call the [Decrypt](https://help.aliyun.com/document_detail/28950.html) operation to decrypt the ciphertext of the data key.
> - This operation is also suitable for a distributed system with different trust levels. For example, a system stores data in different partitions based on a preset trust policy. A module creates different partitions and generates different data keys for each partition in advance. This module is not involved in data production and consumption after it completes initialization of the control plane. This module is the key provider. When producing and consuming data, modules on the control plane obtain the ciphertext of the data key for a partition first. After decrypting the ciphertext of the data key, modules on the control plane use the plaintext of the data key to encrypt or decrypt data and then clear the plaintext of the data key from the memory. In such a system, the key provider does not need to obtain the plaintext of the data key. It only needs to have the permissions to call the GenerateDataKeyWithoutPlaintext operation. The data producers or consumers do not need to generate new data keys. They only need to have the permissions to call the Decrypt operation.
@param request - GenerateDataKeyWithoutPlaintextRequest
@return GenerateDataKeyWithoutPlaintextResponse
func (*Client) GenerateDataKeyWithoutPlaintextWithOptions ¶
func (client *Client) GenerateDataKeyWithoutPlaintextWithOptions(tmpReq *GenerateDataKeyWithoutPlaintextRequest, runtime *util.RuntimeOptions) (_result *GenerateDataKeyWithoutPlaintextResponse, _err error)
Summary:
Generates a random data key, which can be used to encrypt local data.
Description:
This operation creates a random data key, encrypts the data key by using a specific symmetric CMK, and returns the ciphertext of the data key. This operation serves the same purpose as the [GenerateDataKey](https://help.aliyun.com/document_detail/28948.html) operation. The only difference is that this operation does not return the plaintext of the data key.
The CMK that you specify in the request of this operation is only used to encrypt the data key and is not involved in the generation of the data key. KMS does not record or store the generated data key.
> - This operation applies to the scenario when you do not need to use the data key to immediately encrypt data. Before you can use the data key to encrypt data, you must call the [Decrypt](https://help.aliyun.com/document_detail/28950.html) operation to decrypt the ciphertext of the data key.
> - This operation is also suitable for a distributed system with different trust levels. For example, a system stores data in different partitions based on a preset trust policy. A module creates different partitions and generates different data keys for each partition in advance. This module is not involved in data production and consumption after it completes initialization of the control plane. This module is the key provider. When producing and consuming data, modules on the control plane obtain the ciphertext of the data key for a partition first. After decrypting the ciphertext of the data key, modules on the control plane use the plaintext of the data key to encrypt or decrypt data and then clear the plaintext of the data key from the memory. In such a system, the key provider does not need to obtain the plaintext of the data key. It only needs to have the permissions to call the GenerateDataKeyWithoutPlaintext operation. The data producers or consumers do not need to generate new data keys. They only need to have the permissions to call the Decrypt operation.
@param tmpReq - GenerateDataKeyWithoutPlaintextRequest
@param runtime - runtime options for this request RuntimeOptions
@return GenerateDataKeyWithoutPlaintextResponse
func (*Client) GetCertificate ¶
func (client *Client) GetCertificate(request *GetCertificateRequest) (_result *GetCertificateResponse, _err error)
Description:
In this example, the certificate whose ID is `9a28de48-8d8b-484d-a766-dec4****` is queried. The certificate, certificate chain, certificate ID, and certificate signing request (CSR) are returned.
@param request - GetCertificateRequest
@return GetCertificateResponse
func (*Client) GetCertificateWithOptions ¶
func (client *Client) GetCertificateWithOptions(request *GetCertificateRequest, runtime *util.RuntimeOptions) (_result *GetCertificateResponse, _err error)
Description:
In this example, the certificate whose ID is `9a28de48-8d8b-484d-a766-dec4****` is queried. The certificate, certificate chain, certificate ID, and certificate signing request (CSR) are returned.
@param request - GetCertificateRequest
@param runtime - runtime options for this request RuntimeOptions
@return GetCertificateResponse
func (*Client) GetClientKey ¶ added in v3.1.0
func (client *Client) GetClientKey(request *GetClientKeyRequest) (_result *GetClientKeyResponse, _err error)
Summary:
Queries the information about a client key.
@param request - GetClientKeyRequest
@return GetClientKeyResponse
func (*Client) GetClientKeyWithOptions ¶ added in v3.1.0
func (client *Client) GetClientKeyWithOptions(request *GetClientKeyRequest, runtime *util.RuntimeOptions) (_result *GetClientKeyResponse, _err error)
Summary:
Queries the information about a client key.
@param request - GetClientKeyRequest
@param runtime - runtime options for this request RuntimeOptions
@return GetClientKeyResponse
func (*Client) GetEndpoint ¶
func (*Client) GetKeyPolicy ¶ added in v3.2.0
func (client *Client) GetKeyPolicy(request *GetKeyPolicyRequest) (_result *GetKeyPolicyResponse, _err error)
Summary:
仅可查询名称为 default 的 Key Policy,否则提示 Not Found。
@param request - GetKeyPolicyRequest
@return GetKeyPolicyResponse
func (*Client) GetKeyPolicyWithOptions ¶ added in v3.2.0
func (client *Client) GetKeyPolicyWithOptions(request *GetKeyPolicyRequest, runtime *util.RuntimeOptions) (_result *GetKeyPolicyResponse, _err error)
Summary:
仅可查询名称为 default 的 Key Policy,否则提示 Not Found。
@param request - GetKeyPolicyRequest
@param runtime - runtime options for this request RuntimeOptions
@return GetKeyPolicyResponse
func (*Client) GetKmsInstance ¶ added in v3.1.0
func (client *Client) GetKmsInstance(request *GetKmsInstanceRequest) (_result *GetKmsInstanceResponse, _err error)
Summary:
Queries the details of a Key Management Service (KMS) instance.
@param request - GetKmsInstanceRequest
@return GetKmsInstanceResponse
func (*Client) GetKmsInstanceWithOptions ¶ added in v3.1.0
func (client *Client) GetKmsInstanceWithOptions(request *GetKmsInstanceRequest, runtime *util.RuntimeOptions) (_result *GetKmsInstanceResponse, _err error)
Summary:
Queries the details of a Key Management Service (KMS) instance.
@param request - GetKmsInstanceRequest
@param runtime - runtime options for this request RuntimeOptions
@return GetKmsInstanceResponse
func (*Client) GetParametersForImport ¶
func (client *Client) GetParametersForImport(request *GetParametersForImportRequest) (_result *GetParametersForImportResponse, _err error)
Summary:
Queries the parameters that are used to import key material for a customer master key (CMK).
Description:
The returned parameters can be used to call the [ImportKeyMaterial](https://www.alibabacloud.com/help/en/key-management-service/latest/importkeymaterial) operation.
- You can import key material only for CMKs whose Origin parameter is set to EXTERNAL.
- The public key and token that are returned by the GetParametersForImport operation must be used together. The public key and token can be used to import key material only for the CMK that is specified when you call the operation.
- The public key and token that are returned vary each time you call the GetParametersForImport operation.
- You must specify the type of the public key and the encryption algorithm that are used to encrypt key material. The following table lists the types of public keys and the encryption algorithms allowed for each type.
| Public key type | Encryption algorithm | Description |
| --------------- | -------------------- | ----------- |
| RSA_2048 | RSAES_PKCS1_V1_5
RSAES_OAEP_SHA_1
RSAES_OAEP_SHA_256 | CMKs of all regions and all protection levels are supported.
Dedicated Key Management Service (KMS) does not support RSAES_OAEP_SHA_1. |
| EC_SM2 | SM2PKE | CMKs whose ProtectionLevel is set to HSM are supported. The SM2 algorithm is developed and approved by the State Cryptography Administration of China. The SM2 algorithm can be used only to import key material for a CMK whose ProtectionLevel is set to HSM. You can use the SM2 algorithm only when you enable the Managed HSM feature for KMS in the Chinese mainland. For more information, see [Overview of Managed HSM](https://www.alibabacloud.com/help/en/key-management-service/latest/managed-hsm-overview). |
For more information, see [Import key material](https://www.alibabacloud.com/help/en/key-management-service/latest/import-key-material). This topic provides an example on how to query the parameters that are used to import key material for a CMK. The ID of the CMK is `1234abcd-12ab-34cd-56ef-12345678****`, the encryption algorithm is `RSAES_PKCS1_V1_5`, and the public key is of the `RSA_2048` type. The parameters that are returned include the ID of the CMK, the public key that is used to encrypt the key material, the token that is used to import the key material, and the time when the token expires.
@param request - GetParametersForImportRequest
@return GetParametersForImportResponse
func (*Client) GetParametersForImportWithOptions ¶
func (client *Client) GetParametersForImportWithOptions(request *GetParametersForImportRequest, runtime *util.RuntimeOptions) (_result *GetParametersForImportResponse, _err error)
Summary:
Queries the parameters that are used to import key material for a customer master key (CMK).
Description:
The returned parameters can be used to call the [ImportKeyMaterial](https://www.alibabacloud.com/help/en/key-management-service/latest/importkeymaterial) operation.
- You can import key material only for CMKs whose Origin parameter is set to EXTERNAL.
- The public key and token that are returned by the GetParametersForImport operation must be used together. The public key and token can be used to import key material only for the CMK that is specified when you call the operation.
- The public key and token that are returned vary each time you call the GetParametersForImport operation.
- You must specify the type of the public key and the encryption algorithm that are used to encrypt key material. The following table lists the types of public keys and the encryption algorithms allowed for each type.
| Public key type | Encryption algorithm | Description |
| --------------- | -------------------- | ----------- |
| RSA_2048 | RSAES_PKCS1_V1_5
RSAES_OAEP_SHA_1
RSAES_OAEP_SHA_256 | CMKs of all regions and all protection levels are supported.
Dedicated Key Management Service (KMS) does not support RSAES_OAEP_SHA_1. |
| EC_SM2 | SM2PKE | CMKs whose ProtectionLevel is set to HSM are supported. The SM2 algorithm is developed and approved by the State Cryptography Administration of China. The SM2 algorithm can be used only to import key material for a CMK whose ProtectionLevel is set to HSM. You can use the SM2 algorithm only when you enable the Managed HSM feature for KMS in the Chinese mainland. For more information, see [Overview of Managed HSM](https://www.alibabacloud.com/help/en/key-management-service/latest/managed-hsm-overview). |
For more information, see [Import key material](https://www.alibabacloud.com/help/en/key-management-service/latest/import-key-material). This topic provides an example on how to query the parameters that are used to import key material for a CMK. The ID of the CMK is `1234abcd-12ab-34cd-56ef-12345678****`, the encryption algorithm is `RSAES_PKCS1_V1_5`, and the public key is of the `RSA_2048` type. The parameters that are returned include the ID of the CMK, the public key that is used to encrypt the key material, the token that is used to import the key material, and the time when the token expires.
@param request - GetParametersForImportRequest
@param runtime - runtime options for this request RuntimeOptions
@return GetParametersForImportResponse
func (*Client) GetPublicKey ¶
func (client *Client) GetPublicKey(request *GetPublicKeyRequest) (_result *GetPublicKeyResponse, _err error)
@param request - GetPublicKeyRequest
@return GetPublicKeyResponse
func (*Client) GetPublicKeyWithOptions ¶
func (client *Client) GetPublicKeyWithOptions(request *GetPublicKeyRequest, runtime *util.RuntimeOptions) (_result *GetPublicKeyResponse, _err error)
@param request - GetPublicKeyRequest
@param runtime - runtime options for this request RuntimeOptions
@return GetPublicKeyResponse
func (*Client) GetRandomPassword ¶
func (client *Client) GetRandomPassword(request *GetRandomPasswordRequest) (_result *GetRandomPasswordResponse, _err error)
@param request - GetRandomPasswordRequest
@return GetRandomPasswordResponse
func (*Client) GetRandomPasswordWithOptions ¶
func (client *Client) GetRandomPasswordWithOptions(request *GetRandomPasswordRequest, runtime *util.RuntimeOptions) (_result *GetRandomPasswordResponse, _err error)
@param request - GetRandomPasswordRequest
@param runtime - runtime options for this request RuntimeOptions
@return GetRandomPasswordResponse
func (*Client) GetSecretPolicy ¶ added in v3.2.0
func (client *Client) GetSecretPolicy(request *GetSecretPolicyRequest) (_result *GetSecretPolicyResponse, _err error)
Summary:
仅可查询名称为 default 的 Secret Policy,否则提示 Not Found。
@param request - GetSecretPolicyRequest
@return GetSecretPolicyResponse
func (*Client) GetSecretPolicyWithOptions ¶ added in v3.2.0
func (client *Client) GetSecretPolicyWithOptions(request *GetSecretPolicyRequest, runtime *util.RuntimeOptions) (_result *GetSecretPolicyResponse, _err error)
Summary:
仅可查询名称为 default 的 Secret Policy,否则提示 Not Found。
@param request - GetSecretPolicyRequest
@param runtime - runtime options for this request RuntimeOptions
@return GetSecretPolicyResponse
func (*Client) GetSecretValue ¶
func (client *Client) GetSecretValue(request *GetSecretValueRequest) (_result *GetSecretValueResponse, _err error)
Summary:
调用GetSecretValue接口获取凭据值。
Description:
If you do not specify a version number or stage label, Secrets Manager returns the secret value of the version marked with ACSCurrent.
If a customer master key (CMK) is specified to encrypt the secret value, you must also have the `kms:Decrypt` permission on the CMK to call the GetSecretValue operation.
In this example, the value of the secret named `secret001` is obtained. The secret value is returned in the `SecretData` parameter. The secret value is `testdata1`.
@param request - GetSecretValueRequest
@return GetSecretValueResponse
func (*Client) GetSecretValueWithOptions ¶
func (client *Client) GetSecretValueWithOptions(request *GetSecretValueRequest, runtime *util.RuntimeOptions) (_result *GetSecretValueResponse, _err error)
Summary:
调用GetSecretValue接口获取凭据值。
Description:
If you do not specify a version number or stage label, Secrets Manager returns the secret value of the version marked with ACSCurrent.
If a customer master key (CMK) is specified to encrypt the secret value, you must also have the `kms:Decrypt` permission on the CMK to call the GetSecretValue operation.
In this example, the value of the secret named `secret001` is obtained. The secret value is returned in the `SecretData` parameter. The secret value is `testdata1`.
@param request - GetSecretValueRequest
@param runtime - runtime options for this request RuntimeOptions
@return GetSecretValueResponse
func (*Client) ImportKeyMaterial ¶
func (client *Client) ImportKeyMaterial(request *ImportKeyMaterialRequest) (_result *ImportKeyMaterialResponse, _err error)
Summary:
Call the ImportKeyMaterial operation to import the key material.
Description:
Call [CreateKey](https://help.aliyun.com/document_detail/28947.html) when creating a CMK, you can select its key material source as external. **Origin* - set to **EXTERNAL**. This API is used to import the key material into the CMK.
To view the CMK **Origin**, see [DescribeKey](https://help.aliyun.com/document_detail/28952.html).
Before importing key material, you need to call the [GetParametersForImport](https://help.aliyun.com/document_detail/68621.html) obtain the parameters required to import the key material, including the public key and import token.
> - The key type of the pair is **Aliyun_AES_256* - the key material must be 256 bits. The key type must be **Aliyun_SM4* - the CMK and key material must be 128 bits.
> - You can set the expiration time for the key material, or you can set it to never expire.
> - You can reimport the key material and reset the expiration time for the specified CMK at any time, but the same key material must be imported.
> - After the imported key material expires or is deleted, the specified CMK is unavailable until the same key material are imported again.
> - A Key material can be imported to multiple cmks, but any Data or Data Key encrypted by one CMK cannot be decrypted by another CMK.
@param request - ImportKeyMaterialRequest
@return ImportKeyMaterialResponse
func (*Client) ImportKeyMaterialWithOptions ¶
func (client *Client) ImportKeyMaterialWithOptions(request *ImportKeyMaterialRequest, runtime *util.RuntimeOptions) (_result *ImportKeyMaterialResponse, _err error)
Summary:
Call the ImportKeyMaterial operation to import the key material.
Description:
Call [CreateKey](https://help.aliyun.com/document_detail/28947.html) when creating a CMK, you can select its key material source as external. **Origin* - set to **EXTERNAL**. This API is used to import the key material into the CMK.
To view the CMK **Origin**, see [DescribeKey](https://help.aliyun.com/document_detail/28952.html).
Before importing key material, you need to call the [GetParametersForImport](https://help.aliyun.com/document_detail/68621.html) obtain the parameters required to import the key material, including the public key and import token.
> - The key type of the pair is **Aliyun_AES_256* - the key material must be 256 bits. The key type must be **Aliyun_SM4* - the CMK and key material must be 128 bits.
> - You can set the expiration time for the key material, or you can set it to never expire.
> - You can reimport the key material and reset the expiration time for the specified CMK at any time, but the same key material must be imported.
> - After the imported key material expires or is deleted, the specified CMK is unavailable until the same key material are imported again.
> - A Key material can be imported to multiple cmks, but any Data or Data Key encrypted by one CMK cannot be decrypted by another CMK.
@param request - ImportKeyMaterialRequest
@param runtime - runtime options for this request RuntimeOptions
@return ImportKeyMaterialResponse
func (*Client) ListAliases ¶
func (client *Client) ListAliases(request *ListAliasesRequest) (_result *ListAliasesResponse, _err error)
Summary:
Queries all aliases in the current region for the current account.
@param request - ListAliasesRequest
@return ListAliasesResponse
func (*Client) ListAliasesByKeyId ¶
func (client *Client) ListAliasesByKeyId(request *ListAliasesByKeyIdRequest) (_result *ListAliasesByKeyIdResponse, _err error)
@param request - ListAliasesByKeyIdRequest
@return ListAliasesByKeyIdResponse
func (*Client) ListAliasesByKeyIdWithOptions ¶
func (client *Client) ListAliasesByKeyIdWithOptions(request *ListAliasesByKeyIdRequest, runtime *util.RuntimeOptions) (_result *ListAliasesByKeyIdResponse, _err error)
@param request - ListAliasesByKeyIdRequest
@param runtime - runtime options for this request RuntimeOptions
@return ListAliasesByKeyIdResponse
func (*Client) ListAliasesWithOptions ¶
func (client *Client) ListAliasesWithOptions(request *ListAliasesRequest, runtime *util.RuntimeOptions) (_result *ListAliasesResponse, _err error)
Summary:
Queries all aliases in the current region for the current account.
@param request - ListAliasesRequest
@param runtime - runtime options for this request RuntimeOptions
@return ListAliasesResponse
func (*Client) ListApplicationAccessPoints ¶ added in v3.1.0
func (client *Client) ListApplicationAccessPoints(request *ListApplicationAccessPointsRequest) (_result *ListApplicationAccessPointsResponse, _err error)
Summary:
Queries a list of application access points (AAPs).
@param request - ListApplicationAccessPointsRequest
@return ListApplicationAccessPointsResponse
func (*Client) ListApplicationAccessPointsWithOptions ¶ added in v3.1.0
func (client *Client) ListApplicationAccessPointsWithOptions(request *ListApplicationAccessPointsRequest, runtime *util.RuntimeOptions) (_result *ListApplicationAccessPointsResponse, _err error)
Summary:
Queries a list of application access points (AAPs).
@param request - ListApplicationAccessPointsRequest
@param runtime - runtime options for this request RuntimeOptions
@return ListApplicationAccessPointsResponse
func (*Client) ListClientKeys ¶ added in v3.1.0
func (client *Client) ListClientKeys(request *ListClientKeysRequest) (_result *ListClientKeysResponse, _err error)
@param request - ListClientKeysRequest
@return ListClientKeysResponse
func (*Client) ListClientKeysWithOptions ¶ added in v3.1.0
func (client *Client) ListClientKeysWithOptions(request *ListClientKeysRequest, runtime *util.RuntimeOptions) (_result *ListClientKeysResponse, _err error)
@param request - ListClientKeysRequest
@param runtime - runtime options for this request RuntimeOptions
@return ListClientKeysResponse
func (*Client) ListKeyVersions ¶
func (client *Client) ListKeyVersions(request *ListKeyVersionsRequest) (_result *ListKeyVersionsResponse, _err error)
Summary:
Queries all versions of a specified CMK.
@param request - ListKeyVersionsRequest
@return ListKeyVersionsResponse
func (*Client) ListKeyVersionsWithOptions ¶
func (client *Client) ListKeyVersionsWithOptions(request *ListKeyVersionsRequest, runtime *util.RuntimeOptions) (_result *ListKeyVersionsResponse, _err error)
Summary:
Queries all versions of a specified CMK.
@param request - ListKeyVersionsRequest
@param runtime - runtime options for this request RuntimeOptions
@return ListKeyVersionsResponse
func (*Client) ListKeys ¶
func (client *Client) ListKeys(request *ListKeysRequest) (_result *ListKeysResponse, _err error)
Summary:
Queries all customer master keys (CMKs) of the current Alibaba Cloud account in the current region.
@param request - ListKeysRequest
@return ListKeysResponse
func (*Client) ListKeysWithOptions ¶
func (client *Client) ListKeysWithOptions(request *ListKeysRequest, runtime *util.RuntimeOptions) (_result *ListKeysResponse, _err error)
Summary:
Queries all customer master keys (CMKs) of the current Alibaba Cloud account in the current region.
@param request - ListKeysRequest
@param runtime - runtime options for this request RuntimeOptions
@return ListKeysResponse
func (*Client) ListKmsInstances ¶ added in v3.1.0
func (client *Client) ListKmsInstances(request *ListKmsInstancesRequest) (_result *ListKmsInstancesResponse, _err error)
Summary:
Queries a list of Key Management Service (KMS) instances.
@param request - ListKmsInstancesRequest
@return ListKmsInstancesResponse
func (*Client) ListKmsInstancesWithOptions ¶ added in v3.1.0
func (client *Client) ListKmsInstancesWithOptions(request *ListKmsInstancesRequest, runtime *util.RuntimeOptions) (_result *ListKmsInstancesResponse, _err error)
Summary:
Queries a list of Key Management Service (KMS) instances.
@param request - ListKmsInstancesRequest
@param runtime - runtime options for this request RuntimeOptions
@return ListKmsInstancesResponse
func (*Client) ListNetworkRules ¶ added in v3.1.0
func (client *Client) ListNetworkRules(request *ListNetworkRulesRequest) (_result *ListNetworkRulesResponse, _err error)
Summary:
Queries a list of access control rules.
@param request - ListNetworkRulesRequest
@return ListNetworkRulesResponse
func (*Client) ListNetworkRulesWithOptions ¶ added in v3.1.0
func (client *Client) ListNetworkRulesWithOptions(request *ListNetworkRulesRequest, runtime *util.RuntimeOptions) (_result *ListNetworkRulesResponse, _err error)
Summary:
Queries a list of access control rules.
@param request - ListNetworkRulesRequest
@param runtime - runtime options for this request RuntimeOptions
@return ListNetworkRulesResponse
func (*Client) ListPolicies ¶ added in v3.1.0
func (client *Client) ListPolicies(request *ListPoliciesRequest) (_result *ListPoliciesResponse, _err error)
Summary:
Queries a list of permission policies.
@param request - ListPoliciesRequest
@return ListPoliciesResponse
func (*Client) ListPoliciesWithOptions ¶ added in v3.1.0
func (client *Client) ListPoliciesWithOptions(request *ListPoliciesRequest, runtime *util.RuntimeOptions) (_result *ListPoliciesResponse, _err error)
Summary:
Queries a list of permission policies.
@param request - ListPoliciesRequest
@param runtime - runtime options for this request RuntimeOptions
@return ListPoliciesResponse
func (*Client) ListResourceTags ¶
func (client *Client) ListResourceTags(request *ListResourceTagsRequest) (_result *ListResourceTagsResponse, _err error)
Description:
Request format: KeyId="string"
@param request - ListResourceTagsRequest
@return ListResourceTagsResponse
func (*Client) ListResourceTagsWithOptions ¶
func (client *Client) ListResourceTagsWithOptions(request *ListResourceTagsRequest, runtime *util.RuntimeOptions) (_result *ListResourceTagsResponse, _err error)
Description:
Request format: KeyId="string"
@param request - ListResourceTagsRequest
@param runtime - runtime options for this request RuntimeOptions
@return ListResourceTagsResponse
func (*Client) ListSecretVersionIds ¶
func (client *Client) ListSecretVersionIds(request *ListSecretVersionIdsRequest) (_result *ListSecretVersionIdsResponse, _err error)
Description:
The secret value is not included in the returned version information. By default, deprecated secret versions are not returned.
@param request - ListSecretVersionIdsRequest
@return ListSecretVersionIdsResponse
func (*Client) ListSecretVersionIdsWithOptions ¶
func (client *Client) ListSecretVersionIdsWithOptions(request *ListSecretVersionIdsRequest, runtime *util.RuntimeOptions) (_result *ListSecretVersionIdsResponse, _err error)
Description:
The secret value is not included in the returned version information. By default, deprecated secret versions are not returned.
@param request - ListSecretVersionIdsRequest
@param runtime - runtime options for this request RuntimeOptions
@return ListSecretVersionIdsResponse
func (*Client) ListSecrets ¶
func (client *Client) ListSecrets(request *ListSecretsRequest) (_result *ListSecretsResponse, _err error)
Description:
Specifies whether to return the resource tags of the secret. Valid values:
true: returns the resource tags.
false: does not return the resource tags. This is the default value.
@param request - ListSecretsRequest
@return ListSecretsResponse
func (*Client) ListSecretsWithOptions ¶
func (client *Client) ListSecretsWithOptions(request *ListSecretsRequest, runtime *util.RuntimeOptions) (_result *ListSecretsResponse, _err error)
Description:
Specifies whether to return the resource tags of the secret. Valid values:
true: returns the resource tags.
false: does not return the resource tags. This is the default value.
@param request - ListSecretsRequest
@param runtime - runtime options for this request RuntimeOptions
@return ListSecretsResponse
func (*Client) ListTagResources ¶ added in v3.0.2
func (client *Client) ListTagResources(request *ListTagResourcesRequest) (_result *ListTagResourcesResponse, _err error)
Summary:
Queries the tags of a key or a secret.
@param request - ListTagResourcesRequest
@return ListTagResourcesResponse
func (*Client) ListTagResourcesWithOptions ¶ added in v3.0.2
func (client *Client) ListTagResourcesWithOptions(request *ListTagResourcesRequest, runtime *util.RuntimeOptions) (_result *ListTagResourcesResponse, _err error)
Summary:
Queries the tags of a key or a secret.
@param request - ListTagResourcesRequest
@param runtime - runtime options for this request RuntimeOptions
@return ListTagResourcesResponse
func (*Client) OpenKmsService ¶
func (client *Client) OpenKmsService() (_result *OpenKmsServiceResponse, _err error)
Summary:
Activates Key Management Service (KMS) under your Alibaba cloud account.
Description:
When you call this operation, note that:
- KMS is a paid service. For more information about the billing method, see [Billing description](https://www.alibabacloud.com/help/en/key-management-service/latest/billing-billing).
- An Alibaba Cloud account can activate KMS only once.
- Make sure that your Alibaba Cloud account has passed real-name authentication.
@return OpenKmsServiceResponse
func (*Client) OpenKmsServiceWithOptions ¶
func (client *Client) OpenKmsServiceWithOptions(runtime *util.RuntimeOptions) (_result *OpenKmsServiceResponse, _err error)
Summary:
Activates Key Management Service (KMS) under your Alibaba cloud account.
Description:
When you call this operation, note that:
- KMS is a paid service. For more information about the billing method, see [Billing description](https://www.alibabacloud.com/help/en/key-management-service/latest/billing-billing).
- An Alibaba Cloud account can activate KMS only once.
- Make sure that your Alibaba Cloud account has passed real-name authentication.
@param request - OpenKmsServiceRequest
@param runtime - runtime options for this request RuntimeOptions
@return OpenKmsServiceResponse
func (*Client) PutSecretValue ¶
func (client *Client) PutSecretValue(request *PutSecretValueRequest) (_result *PutSecretValueResponse, _err error)
Description:
This operation is used to store the secret values of new versions. It cannot be used to modify the secret value of an existing version.
By default, the newly stored secret value is marked with ACSCurrent, and the mark for the previous version of the secret value is changed from ACSCurrent to ACSPrevious. If you specify the VersionStage parameter, the newly stored secret value is marked with the stage label that you specify.
You must specify a version number when you call the operation. Secrets Manager performs operations based on the following rules:
If the specified version number does not exist in the secret, Secrets Manager creates the version and stores the secret value.
If the specified version number already exists in the secret and the secret value of the existing version is the same as the secret value that you specify, Secrets Manager ignores the request and returns a success message. The request is idempotent.
If the specified version number already exists in the secret but the secret value of the existing version is different from the secret value that you specify, Secrets Manager rejects the request and returns a failure message.
Limits: This operation is available only for standard secrets.
In this example, the secret value of a new version is stored into the `secret001` secret. The `VersionId` parameter is set to `00000000000000000000000000000000203` as the new version, and the `SecretData` parameter is set to `importantdata`.
@param request - PutSecretValueRequest
@return PutSecretValueResponse
func (*Client) PutSecretValueWithOptions ¶
func (client *Client) PutSecretValueWithOptions(request *PutSecretValueRequest, runtime *util.RuntimeOptions) (_result *PutSecretValueResponse, _err error)
Description:
This operation is used to store the secret values of new versions. It cannot be used to modify the secret value of an existing version.
By default, the newly stored secret value is marked with ACSCurrent, and the mark for the previous version of the secret value is changed from ACSCurrent to ACSPrevious. If you specify the VersionStage parameter, the newly stored secret value is marked with the stage label that you specify.
You must specify a version number when you call the operation. Secrets Manager performs operations based on the following rules:
If the specified version number does not exist in the secret, Secrets Manager creates the version and stores the secret value.
If the specified version number already exists in the secret and the secret value of the existing version is the same as the secret value that you specify, Secrets Manager ignores the request and returns a success message. The request is idempotent.
If the specified version number already exists in the secret but the secret value of the existing version is different from the secret value that you specify, Secrets Manager rejects the request and returns a failure message.
Limits: This operation is available only for standard secrets.
In this example, the secret value of a new version is stored into the `secret001` secret. The `VersionId` parameter is set to `00000000000000000000000000000000203` as the new version, and the `SecretData` parameter is set to `importantdata`.
@param request - PutSecretValueRequest
@param runtime - runtime options for this request RuntimeOptions
@return PutSecretValueResponse
func (*Client) ReEncrypt ¶
func (client *Client) ReEncrypt(request *ReEncryptRequest) (_result *ReEncryptResponse, _err error)
Description:
You can call this operation in the following scenarios:
After the CMK that was used to encrypt your data is rotated, you can call this operation to use the latest CMK version to re-encrypt the data. For more information about automatic key rotation, see [Configure automatic key rotation](https://help.aliyun.com/document_detail/134270.html).
The CMK that was used to encrypt your data remains unchanged, but EncryptionContext is changed. In this scenario, you can call this operation to re-encrypt the data.
You can call this operation to use a CMK in KMS to re-encrypt data or a data key that was previously encrypted by a different CMK.
To use the ReEncrypt operation, you must have two permissions:
kms:ReEncryptFrom on the source CMK
kms:ReEncryptTo on the destination CMK
For simplicity, you can specify kms:ReEncrypt\\ - to allow both of the preceding permissions.
@param request - ReEncryptRequest
@return ReEncryptResponse
func (*Client) ReEncryptWithOptions ¶
func (client *Client) ReEncryptWithOptions(tmpReq *ReEncryptRequest, runtime *util.RuntimeOptions) (_result *ReEncryptResponse, _err error)
Description:
You can call this operation in the following scenarios:
After the CMK that was used to encrypt your data is rotated, you can call this operation to use the latest CMK version to re-encrypt the data. For more information about automatic key rotation, see [Configure automatic key rotation](https://help.aliyun.com/document_detail/134270.html).
The CMK that was used to encrypt your data remains unchanged, but EncryptionContext is changed. In this scenario, you can call this operation to re-encrypt the data.
You can call this operation to use a CMK in KMS to re-encrypt data or a data key that was previously encrypted by a different CMK.
To use the ReEncrypt operation, you must have two permissions:
kms:ReEncryptFrom on the source CMK
kms:ReEncryptTo on the destination CMK
For simplicity, you can specify kms:ReEncrypt\\ - to allow both of the preceding permissions.
@param tmpReq - ReEncryptRequest
@param runtime - runtime options for this request RuntimeOptions
@return ReEncryptResponse
func (*Client) RestoreSecret ¶
func (client *Client) RestoreSecret(request *RestoreSecretRequest) (_result *RestoreSecretResponse, _err error)
Description:
You can only use this operation to restore a deleted secret that is within its recovery period. If you set **ForceDeleteWithoutRecovery* - to **true* - when you delete the secret, you cannot restore it.
@param request - RestoreSecretRequest
@return RestoreSecretResponse
func (*Client) RestoreSecretWithOptions ¶
func (client *Client) RestoreSecretWithOptions(request *RestoreSecretRequest, runtime *util.RuntimeOptions) (_result *RestoreSecretResponse, _err error)
Description:
You can only use this operation to restore a deleted secret that is within its recovery period. If you set **ForceDeleteWithoutRecovery* - to **true* - when you delete the secret, you cannot restore it.
@param request - RestoreSecretRequest
@param runtime - runtime options for this request RuntimeOptions
@return RestoreSecretResponse
func (*Client) RotateSecret ¶
func (client *Client) RotateSecret(request *RotateSecretRequest) (_result *RotateSecretResponse, _err error)
Description:
Limits:
• A secret of each Alibaba Cloud account can be rotated for a maximum of 50 times per hour.
• The RotateSecret operation is unavailable for standard secrets.
In this example, the `RdsSecret/Mysql5.4/MyCred` secret is manually rotated, and the version number of the secret is set to `000000123` after the secret is rotated.
@param request - RotateSecretRequest
@return RotateSecretResponse
func (*Client) RotateSecretWithOptions ¶
func (client *Client) RotateSecretWithOptions(request *RotateSecretRequest, runtime *util.RuntimeOptions) (_result *RotateSecretResponse, _err error)
Description:
Limits:
• A secret of each Alibaba Cloud account can be rotated for a maximum of 50 times per hour.
• The RotateSecret operation is unavailable for standard secrets.
In this example, the `RdsSecret/Mysql5.4/MyCred` secret is manually rotated, and the version number of the secret is set to `000000123` after the secret is rotated.
@param request - RotateSecretRequest
@param runtime - runtime options for this request RuntimeOptions
@return RotateSecretResponse
func (*Client) ScheduleKeyDeletion ¶
func (client *Client) ScheduleKeyDeletion(request *ScheduleKeyDeletionRequest) (_result *ScheduleKeyDeletionResponse, _err error)
Description:
During the scheduled period, the CMK is in the PendingDeletion state and cannot be used to encrypt data, decrypt data, or generate data keys.
After a CMK is deleted, it cannot be recovered. Data that is encrypted and data keys that are generated by using the CMK cannot be decrypted. To prevent accidental deletion of CMKs, Key Management Service (KMS) allows you to only schedule key deletion tasks. You cannot directly delete CMKs. If you want to delete a CMK, call the [DisableKey](https://help.aliyun.com/document_detail/35151.html) operation to disable the CMK.
When you call this operation, you must specify a scheduled period between 7 days to 366 days. The scheduled period starts from the time when you submit the request. You can call the [CancelKeyDeletion](https://help.aliyun.com/document_detail/44197.html) operation to cancel the key deletion task before the scheduled period ends.
@param request - ScheduleKeyDeletionRequest
@return ScheduleKeyDeletionResponse
func (*Client) ScheduleKeyDeletionWithOptions ¶
func (client *Client) ScheduleKeyDeletionWithOptions(request *ScheduleKeyDeletionRequest, runtime *util.RuntimeOptions) (_result *ScheduleKeyDeletionResponse, _err error)
Description:
During the scheduled period, the CMK is in the PendingDeletion state and cannot be used to encrypt data, decrypt data, or generate data keys.
After a CMK is deleted, it cannot be recovered. Data that is encrypted and data keys that are generated by using the CMK cannot be decrypted. To prevent accidental deletion of CMKs, Key Management Service (KMS) allows you to only schedule key deletion tasks. You cannot directly delete CMKs. If you want to delete a CMK, call the [DisableKey](https://help.aliyun.com/document_detail/35151.html) operation to disable the CMK.
When you call this operation, you must specify a scheduled period between 7 days to 366 days. The scheduled period starts from the time when you submit the request. You can call the [CancelKeyDeletion](https://help.aliyun.com/document_detail/44197.html) operation to cancel the key deletion task before the scheduled period ends.
@param request - ScheduleKeyDeletionRequest
@param runtime - runtime options for this request RuntimeOptions
@return ScheduleKeyDeletionResponse
func (*Client) SetDeletionProtection ¶
func (client *Client) SetDeletionProtection(request *SetDeletionProtectionRequest) (_result *SetDeletionProtectionResponse, _err error)
Summary:
Enables or disables deletion protection for a customer master key (CMK).
Description:
After you enable deletion protection for a CMK, you cannot delete the CMK. If you want to delete the CMK, you must first disable deletion protection for the CMK. - Before you can call the SetDeletionProtection operation, make sure that the required CMK is not in the Pending Deletion state. You can call the [DescribeKey](https://help.aliyun.com/document_detail/28952.html) operation to query the CMK status, which is specified by the KeyState parameter.
You can enable deletion protection for the CMK whose Alibaba Cloud Resource Name (ARN) is `acs:kms:cn-hangzhou:123213123****:key/0225f411-b21d-46d1-be5b-93931c82****` by using parameter settings provided in this topic. The CMK ARN is specified by the ProtectedResourceArn parameter.
@param request - SetDeletionProtectionRequest
@return SetDeletionProtectionResponse
func (*Client) SetDeletionProtectionWithOptions ¶
func (client *Client) SetDeletionProtectionWithOptions(request *SetDeletionProtectionRequest, runtime *util.RuntimeOptions) (_result *SetDeletionProtectionResponse, _err error)
Summary:
Enables or disables deletion protection for a customer master key (CMK).
Description:
After you enable deletion protection for a CMK, you cannot delete the CMK. If you want to delete the CMK, you must first disable deletion protection for the CMK. - Before you can call the SetDeletionProtection operation, make sure that the required CMK is not in the Pending Deletion state. You can call the [DescribeKey](https://help.aliyun.com/document_detail/28952.html) operation to query the CMK status, which is specified by the KeyState parameter.
You can enable deletion protection for the CMK whose Alibaba Cloud Resource Name (ARN) is `acs:kms:cn-hangzhou:123213123****:key/0225f411-b21d-46d1-be5b-93931c82****` by using parameter settings provided in this topic. The CMK ARN is specified by the ProtectedResourceArn parameter.
@param request - SetDeletionProtectionRequest
@param runtime - runtime options for this request RuntimeOptions
@return SetDeletionProtectionResponse
func (*Client) SetKeyPolicy ¶ added in v3.2.0
func (client *Client) SetKeyPolicy(request *SetKeyPolicyRequest) (_result *SetKeyPolicyResponse, _err error)
Summary:
可以设置一条 Key Policy,且名称必须为 default。
@param request - SetKeyPolicyRequest
@return SetKeyPolicyResponse
func (*Client) SetKeyPolicyWithOptions ¶ added in v3.2.0
func (client *Client) SetKeyPolicyWithOptions(request *SetKeyPolicyRequest, runtime *util.RuntimeOptions) (_result *SetKeyPolicyResponse, _err error)
Summary:
可以设置一条 Key Policy,且名称必须为 default。
@param request - SetKeyPolicyRequest
@param runtime - runtime options for this request RuntimeOptions
@return SetKeyPolicyResponse
func (*Client) SetSecretPolicy ¶ added in v3.2.0
func (client *Client) SetSecretPolicy(request *SetSecretPolicyRequest) (_result *SetSecretPolicyResponse, _err error)
Summary:
可以设置一条 Secret Policy,且名称必须为 default。
@param request - SetSecretPolicyRequest
@return SetSecretPolicyResponse
func (*Client) SetSecretPolicyWithOptions ¶ added in v3.2.0
func (client *Client) SetSecretPolicyWithOptions(request *SetSecretPolicyRequest, runtime *util.RuntimeOptions) (_result *SetSecretPolicyResponse, _err error)
Summary:
可以设置一条 Secret Policy,且名称必须为 default。
@param request - SetSecretPolicyRequest
@param runtime - runtime options for this request RuntimeOptions
@return SetSecretPolicyResponse
func (*Client) TagResource ¶
func (client *Client) TagResource(request *TagResourceRequest) (_result *TagResourceResponse, _err error)
Description:
You can add up to 10 tags to a CMK, secret, or certificate.
In this example, the tags `[{"TagKey":"S1key1","TagValue":"S1val1"},{"TagKey":"S1key2","TagValue":"S2val2"}]` are added to the CMK whose ID is `08c33a6f-4e0a-4a1b-a3fa-7ddf****`.
@param request - TagResourceRequest
@return TagResourceResponse
func (*Client) TagResourceWithOptions ¶
func (client *Client) TagResourceWithOptions(request *TagResourceRequest, runtime *util.RuntimeOptions) (_result *TagResourceResponse, _err error)
Description:
You can add up to 10 tags to a CMK, secret, or certificate.
In this example, the tags `[{"TagKey":"S1key1","TagValue":"S1val1"},{"TagKey":"S1key2","TagValue":"S2val2"}]` are added to the CMK whose ID is `08c33a6f-4e0a-4a1b-a3fa-7ddf****`.
@param request - TagResourceRequest
@param runtime - runtime options for this request RuntimeOptions
@return TagResourceResponse
func (*Client) TagResources ¶ added in v3.0.2
func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagResourcesResponse, _err error)
Summary:
Adds tags to keys or secrets.
Description:
You can add multiple tags to multiple keys or multiple secrets at a time.
@param request - TagResourcesRequest
@return TagResourcesResponse
func (*Client) TagResourcesWithOptions ¶ added in v3.0.2
func (client *Client) TagResourcesWithOptions(request *TagResourcesRequest, runtime *util.RuntimeOptions) (_result *TagResourcesResponse, _err error)
Summary:
Adds tags to keys or secrets.
Description:
You can add multiple tags to multiple keys or multiple secrets at a time.
@param request - TagResourcesRequest
@param runtime - runtime options for this request RuntimeOptions
@return TagResourcesResponse
func (*Client) UntagResource ¶
func (client *Client) UntagResource(request *UntagResourceRequest) (_result *UntagResourceResponse, _err error)
Description:
One or more tag keys. Separate multiple tag keys with commas (,).
You need to specify only the tag keys, not the tag values.
Each tag key must be 1 to 128 bytes in length.
@param request - UntagResourceRequest
@return UntagResourceResponse
func (*Client) UntagResourceWithOptions ¶
func (client *Client) UntagResourceWithOptions(request *UntagResourceRequest, runtime *util.RuntimeOptions) (_result *UntagResourceResponse, _err error)
Description:
One or more tag keys. Separate multiple tag keys with commas (,).
You need to specify only the tag keys, not the tag values.
Each tag key must be 1 to 128 bytes in length.
@param request - UntagResourceRequest
@param runtime - runtime options for this request RuntimeOptions
@return UntagResourceResponse
func (*Client) UntagResources ¶ added in v3.0.2
func (client *Client) UntagResources(request *UntagResourcesRequest) (_result *UntagResourcesResponse, _err error)
Summary:
Removes tags from keys or secrets.
Description:
You can remove multiple tags from multiple keys or multiple secrets at a time. You cannot remove tags that start with aliyun or acs:.
If you enter multiple tag keys in the request parameters and only some of the tag keys are associated with resources, the operation can be called and the tags whose keys are associated with resources are removed from the resources.
@param request - UntagResourcesRequest
@return UntagResourcesResponse
func (*Client) UntagResourcesWithOptions ¶ added in v3.0.2
func (client *Client) UntagResourcesWithOptions(request *UntagResourcesRequest, runtime *util.RuntimeOptions) (_result *UntagResourcesResponse, _err error)
Summary:
Removes tags from keys or secrets.
Description:
You can remove multiple tags from multiple keys or multiple secrets at a time. You cannot remove tags that start with aliyun or acs:.
If you enter multiple tag keys in the request parameters and only some of the tag keys are associated with resources, the operation can be called and the tags whose keys are associated with resources are removed from the resources.
@param request - UntagResourcesRequest
@param runtime - runtime options for this request RuntimeOptions
@return UntagResourcesResponse
func (*Client) UpdateAlias ¶
func (client *Client) UpdateAlias(request *UpdateAliasRequest) (_result *UpdateAliasResponse, _err error)
@param request - UpdateAliasRequest
@return UpdateAliasResponse
func (*Client) UpdateAliasWithOptions ¶
func (client *Client) UpdateAliasWithOptions(request *UpdateAliasRequest, runtime *util.RuntimeOptions) (_result *UpdateAliasResponse, _err error)
@param request - UpdateAliasRequest
@param runtime - runtime options for this request RuntimeOptions
@return UpdateAliasResponse
func (*Client) UpdateApplicationAccessPoint ¶ added in v3.1.0
func (client *Client) UpdateApplicationAccessPoint(request *UpdateApplicationAccessPointRequest) (_result *UpdateApplicationAccessPointResponse, _err error)
Description:
The update takes effect immediately after an AAP information is updated. Exercise caution when you perform this operation. You can update the description of an AAP and the permission policies that are associated with the AAP. You cannot update the name of the AAP.
@param request - UpdateApplicationAccessPointRequest
@return UpdateApplicationAccessPointResponse
func (*Client) UpdateApplicationAccessPointWithOptions ¶ added in v3.1.0
func (client *Client) UpdateApplicationAccessPointWithOptions(request *UpdateApplicationAccessPointRequest, runtime *util.RuntimeOptions) (_result *UpdateApplicationAccessPointResponse, _err error)
Description:
The update takes effect immediately after an AAP information is updated. Exercise caution when you perform this operation. You can update the description of an AAP and the permission policies that are associated with the AAP. You cannot update the name of the AAP.
@param request - UpdateApplicationAccessPointRequest
@param runtime - runtime options for this request RuntimeOptions
@return UpdateApplicationAccessPointResponse
func (*Client) UpdateCertificateStatus ¶
func (client *Client) UpdateCertificateStatus(request *UpdateCertificateStatusRequest) (_result *UpdateCertificateStatusResponse, _err error)
Description:
In this example, the status of the certificate whose ID is `9a28de48-8d8b-484d-a766-dec4****` is updated to INACTIVE.
@param request - UpdateCertificateStatusRequest
@return UpdateCertificateStatusResponse
func (*Client) UpdateCertificateStatusWithOptions ¶
func (client *Client) UpdateCertificateStatusWithOptions(request *UpdateCertificateStatusRequest, runtime *util.RuntimeOptions) (_result *UpdateCertificateStatusResponse, _err error)
Description:
In this example, the status of the certificate whose ID is `9a28de48-8d8b-484d-a766-dec4****` is updated to INACTIVE.
@param request - UpdateCertificateStatusRequest
@param runtime - runtime options for this request RuntimeOptions
@return UpdateCertificateStatusResponse
func (*Client) UpdateKeyDescription ¶
func (client *Client) UpdateKeyDescription(request *UpdateKeyDescriptionRequest) (_result *UpdateKeyDescriptionResponse, _err error)
Summary:
调用UpdateKeyDescription接口更新主密钥的描述信息。
Description:
This operation replaces the description of a customer master key (CMK) with the description that you specify. The original description of the CMK is specified by the Description parameter when you call the [DescribeKey](https://help.aliyun.com/document_detail/28952.html) operation. You can call this operation to add, modify, or delete the description of a CMK.
@param request - UpdateKeyDescriptionRequest
@return UpdateKeyDescriptionResponse
func (*Client) UpdateKeyDescriptionWithOptions ¶
func (client *Client) UpdateKeyDescriptionWithOptions(request *UpdateKeyDescriptionRequest, runtime *util.RuntimeOptions) (_result *UpdateKeyDescriptionResponse, _err error)
Summary:
调用UpdateKeyDescription接口更新主密钥的描述信息。
Description:
This operation replaces the description of a customer master key (CMK) with the description that you specify. The original description of the CMK is specified by the Description parameter when you call the [DescribeKey](https://help.aliyun.com/document_detail/28952.html) operation. You can call this operation to add, modify, or delete the description of a CMK.
@param request - UpdateKeyDescriptionRequest
@param runtime - runtime options for this request RuntimeOptions
@return UpdateKeyDescriptionResponse
func (*Client) UpdateKmsInstanceBindVpc ¶ added in v3.1.0
func (client *Client) UpdateKmsInstanceBindVpc(request *UpdateKmsInstanceBindVpcRequest) (_result *UpdateKmsInstanceBindVpcResponse, _err error)
Summary:
Updates the virtual private cloud (VPC) that is associated with a Key Management Service (KMS) instance.
Description:
If your own applications are deployed in multiple VPCs in the same region, you can associate the VPCs except the VPC in which the KMS instance resides with the KMS instance. This topic describes how to configure the VPCs.
The VPCs can belong to the same Alibaba Cloud account or different Alibaba Cloud accounts. After the configuration is complete, the applications in these VPCs can access the KMS instance.
> If the VPCs belong to different Alibaba Cloud accounts, you must first configure resource sharing to share the vSwitches of other Alibaba Cloud accounts with the Alibaba Cloud account to which the KMS instance belongs. For more information, see [Access a KMS instance from multiple VPCs in the same region](https://help.aliyun.com/document_detail/2393236.html).
@param request - UpdateKmsInstanceBindVpcRequest
@return UpdateKmsInstanceBindVpcResponse
func (*Client) UpdateKmsInstanceBindVpcWithOptions ¶ added in v3.1.0
func (client *Client) UpdateKmsInstanceBindVpcWithOptions(request *UpdateKmsInstanceBindVpcRequest, runtime *util.RuntimeOptions) (_result *UpdateKmsInstanceBindVpcResponse, _err error)
Summary:
Updates the virtual private cloud (VPC) that is associated with a Key Management Service (KMS) instance.
Description:
If your own applications are deployed in multiple VPCs in the same region, you can associate the VPCs except the VPC in which the KMS instance resides with the KMS instance. This topic describes how to configure the VPCs.
The VPCs can belong to the same Alibaba Cloud account or different Alibaba Cloud accounts. After the configuration is complete, the applications in these VPCs can access the KMS instance.
> If the VPCs belong to different Alibaba Cloud accounts, you must first configure resource sharing to share the vSwitches of other Alibaba Cloud accounts with the Alibaba Cloud account to which the KMS instance belongs. For more information, see [Access a KMS instance from multiple VPCs in the same region](https://help.aliyun.com/document_detail/2393236.html).
@param request - UpdateKmsInstanceBindVpcRequest
@param runtime - runtime options for this request RuntimeOptions
@return UpdateKmsInstanceBindVpcResponse
func (*Client) UpdateNetworkRule ¶ added in v3.1.0
func (client *Client) UpdateNetworkRule(request *UpdateNetworkRuleRequest) (_result *UpdateNetworkRuleResponse, _err error)
Summary:
Updates an access control rule.
Description:
- You can update only private IP addresses and description of an access control rule. You cannot update the name and network type of an access control rule.
- Updating an access control rule affects all permission policies that are bound to the access control rule. Exercise caution when you perform this operation.
@param request - UpdateNetworkRuleRequest
@return UpdateNetworkRuleResponse
func (*Client) UpdateNetworkRuleWithOptions ¶ added in v3.1.0
func (client *Client) UpdateNetworkRuleWithOptions(request *UpdateNetworkRuleRequest, runtime *util.RuntimeOptions) (_result *UpdateNetworkRuleResponse, _err error)
Summary:
Updates an access control rule.
Description:
- You can update only private IP addresses and description of an access control rule. You cannot update the name and network type of an access control rule.
- Updating an access control rule affects all permission policies that are bound to the access control rule. Exercise caution when you perform this operation.
@param request - UpdateNetworkRuleRequest
@param runtime - runtime options for this request RuntimeOptions
@return UpdateNetworkRuleResponse
func (*Client) UpdatePolicy ¶ added in v3.1.0
func (client *Client) UpdatePolicy(request *UpdatePolicyRequest) (_result *UpdatePolicyResponse, _err error)
Summary:
更新一个权限策略
Description:
- You can update the role-based access control (RBAC) permissions, accessible resources, access control rules, and description of a permission policy. You cannot update the name or scope of a permission policy.
- Updating a permission policy affects all application access points (AAPs) that are bound to the permission policy. Exercise caution when you perform this operation.
@param request - UpdatePolicyRequest
@return UpdatePolicyResponse
func (*Client) UpdatePolicyWithOptions ¶ added in v3.1.0
func (client *Client) UpdatePolicyWithOptions(request *UpdatePolicyRequest, runtime *util.RuntimeOptions) (_result *UpdatePolicyResponse, _err error)
Summary:
更新一个权限策略
Description:
- You can update the role-based access control (RBAC) permissions, accessible resources, access control rules, and description of a permission policy. You cannot update the name or scope of a permission policy.
- Updating a permission policy affects all application access points (AAPs) that are bound to the permission policy. Exercise caution when you perform this operation.
@param request - UpdatePolicyRequest
@param runtime - runtime options for this request RuntimeOptions
@return UpdatePolicyResponse
func (*Client) UpdateRotationPolicy ¶
func (client *Client) UpdateRotationPolicy(request *UpdateRotationPolicyRequest) (_result *UpdateRotationPolicyResponse, _err error)
Description:
When automatic key rotation is enabled, KMS automatically creates a key version after the preset rotation period arrives. In addition, KMS sets the new key version as the primary key version.
An automatic key rotation policy cannot be configured for the following keys:
Asymmetric key
Service-managed key
Bring your own key (BYOK) that is imported into KMS
Key that is not in the **Enabled* - state
In this example, automatic key rotation is enabled for a CMK whose ID is `1234abcd-12ab-34cd-56ef-12345678****`. The automatic rotation period is 30 days.
@param request - UpdateRotationPolicyRequest
@return UpdateRotationPolicyResponse
func (*Client) UpdateRotationPolicyWithOptions ¶
func (client *Client) UpdateRotationPolicyWithOptions(request *UpdateRotationPolicyRequest, runtime *util.RuntimeOptions) (_result *UpdateRotationPolicyResponse, _err error)
Description:
When automatic key rotation is enabled, KMS automatically creates a key version after the preset rotation period arrives. In addition, KMS sets the new key version as the primary key version.
An automatic key rotation policy cannot be configured for the following keys:
Asymmetric key
Service-managed key
Bring your own key (BYOK) that is imported into KMS
Key that is not in the **Enabled* - state
In this example, automatic key rotation is enabled for a CMK whose ID is `1234abcd-12ab-34cd-56ef-12345678****`. The automatic rotation period is 30 days.
@param request - UpdateRotationPolicyRequest
@param runtime - runtime options for this request RuntimeOptions
@return UpdateRotationPolicyResponse
func (*Client) UpdateSecret ¶
func (client *Client) UpdateSecret(request *UpdateSecretRequest) (_result *UpdateSecretResponse, _err error)
Summary:
Updates the metadata of a secret.
Description:
In this example, the metadata of the `secret001` secret is updated. The `Description` parameter is set to `datainfo`.
@param request - UpdateSecretRequest
@return UpdateSecretResponse
func (*Client) UpdateSecretRotationPolicy ¶
func (client *Client) UpdateSecretRotationPolicy(request *UpdateSecretRotationPolicyRequest) (_result *UpdateSecretRotationPolicyResponse, _err error)
Description:
After automatic rotation is enabled, Secrets Manager schedules the first automatic rotation by adding the preset rotation interval to the timestamp of the last rotation.
Limits: The UpdateSecretRotationPolicy operation cannot be used to update the rotation policy of generic secrets.
In this example, the rotation policy of the `RdsSecret/Mysql5.4/MyCred` secret is updated. The following settings are modified:
The `EnableAutomaticRotation` parameter is set to `true`, which indicates that automatic rotation is enabled.
The `RotationInterval` parameter is set to `30d`, which indicates that the interval for automatic rotation is 30 days.
@param request - UpdateSecretRotationPolicyRequest
@return UpdateSecretRotationPolicyResponse
func (*Client) UpdateSecretRotationPolicyWithOptions ¶
func (client *Client) UpdateSecretRotationPolicyWithOptions(request *UpdateSecretRotationPolicyRequest, runtime *util.RuntimeOptions) (_result *UpdateSecretRotationPolicyResponse, _err error)
Description:
After automatic rotation is enabled, Secrets Manager schedules the first automatic rotation by adding the preset rotation interval to the timestamp of the last rotation.
Limits: The UpdateSecretRotationPolicy operation cannot be used to update the rotation policy of generic secrets.
In this example, the rotation policy of the `RdsSecret/Mysql5.4/MyCred` secret is updated. The following settings are modified:
The `EnableAutomaticRotation` parameter is set to `true`, which indicates that automatic rotation is enabled.
The `RotationInterval` parameter is set to `30d`, which indicates that the interval for automatic rotation is 30 days.
@param request - UpdateSecretRotationPolicyRequest
@param runtime - runtime options for this request RuntimeOptions
@return UpdateSecretRotationPolicyResponse
func (*Client) UpdateSecretVersionStage ¶
func (client *Client) UpdateSecretVersionStage(request *UpdateSecretVersionStageRequest) (_result *UpdateSecretVersionStageResponse, _err error)
Summary:
UpdateSecretVersionStage ¶
Description:
Updates the stage label that marks a secret version.
@param request - UpdateSecretVersionStageRequest
@return UpdateSecretVersionStageResponse
func (*Client) UpdateSecretVersionStageWithOptions ¶
func (client *Client) UpdateSecretVersionStageWithOptions(request *UpdateSecretVersionStageRequest, runtime *util.RuntimeOptions) (_result *UpdateSecretVersionStageResponse, _err error)
Summary:
UpdateSecretVersionStage ¶
Description:
Updates the stage label that marks a secret version.
@param request - UpdateSecretVersionStageRequest
@param runtime - runtime options for this request RuntimeOptions
@return UpdateSecretVersionStageResponse
func (*Client) UpdateSecretWithOptions ¶
func (client *Client) UpdateSecretWithOptions(request *UpdateSecretRequest, runtime *util.RuntimeOptions) (_result *UpdateSecretResponse, _err error)
Summary:
Updates the metadata of a secret.
Description:
In this example, the metadata of the `secret001` secret is updated. The `Description` parameter is set to `datainfo`.
@param request - UpdateSecretRequest
@param runtime - runtime options for this request RuntimeOptions
@return UpdateSecretResponse
func (*Client) UploadCertificate ¶
func (client *Client) UploadCertificate(request *UploadCertificateRequest) (_result *UploadCertificateResponse, _err error)
Description:
In this example, a certificate issued by a CA is imported into Certificates Manager. The ID of the certificate in Certificates Manager is `12345678-1234-1234-1234-12345678****`.
@param request - UploadCertificateRequest
@return UploadCertificateResponse
func (*Client) UploadCertificateWithOptions ¶
func (client *Client) UploadCertificateWithOptions(request *UploadCertificateRequest, runtime *util.RuntimeOptions) (_result *UploadCertificateResponse, _err error)
Description:
In this example, a certificate issued by a CA is imported into Certificates Manager. The ID of the certificate in Certificates Manager is `12345678-1234-1234-1234-12345678****`.
@param request - UploadCertificateRequest
@param runtime - runtime options for this request RuntimeOptions
@return UploadCertificateResponse
type ConnectKmsInstanceRequest ¶ added in v3.1.0
type ConnectKmsInstanceRequest struct { // The provider of the KMS instance. Set the value to Aliyun. // // This parameter is required. // // example: // // Aliyun KMProvider *string `json:"KMProvider,omitempty" xml:"KMProvider,omitempty"` // The ID of the KMS instance that you want to enable. // // This parameter is required. // // example: // // kst-phzz64f722a1buamw0**** KmsInstanceId *string `json:"KmsInstanceId,omitempty" xml:"KmsInstanceId,omitempty"` // The vSwitch in the two zones. The vSwitch must have at least one available IP address. // // This parameter is required. // // example: // // vsw-bp1i512amda6d10a0**** VSwitchIds *string `json:"VSwitchIds,omitempty" xml:"VSwitchIds,omitempty"` // The ID of the virtual private cloud (VPC) that is associated with the KMS instance. // // This parameter is required. // // example: // // vpc-bp19z7cwmltad5dff**** VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"` // The two zones for the KMS instance. Dual-zone deployment improves service availability and disaster recovery capabilities. // // This parameter is required. // // example: // // cn-hangzhou-k,cn-hangzhou-j ZoneIds *string `json:"ZoneIds,omitempty" xml:"ZoneIds,omitempty"` }
func (ConnectKmsInstanceRequest) GoString ¶ added in v3.1.0
func (s ConnectKmsInstanceRequest) GoString() string
func (*ConnectKmsInstanceRequest) SetKMProvider ¶ added in v3.1.0
func (s *ConnectKmsInstanceRequest) SetKMProvider(v string) *ConnectKmsInstanceRequest
func (*ConnectKmsInstanceRequest) SetKmsInstanceId ¶ added in v3.1.0
func (s *ConnectKmsInstanceRequest) SetKmsInstanceId(v string) *ConnectKmsInstanceRequest
func (*ConnectKmsInstanceRequest) SetVSwitchIds ¶ added in v3.1.0
func (s *ConnectKmsInstanceRequest) SetVSwitchIds(v string) *ConnectKmsInstanceRequest
func (*ConnectKmsInstanceRequest) SetVpcId ¶ added in v3.1.0
func (s *ConnectKmsInstanceRequest) SetVpcId(v string) *ConnectKmsInstanceRequest
func (*ConnectKmsInstanceRequest) SetZoneIds ¶ added in v3.1.0
func (s *ConnectKmsInstanceRequest) SetZoneIds(v string) *ConnectKmsInstanceRequest
func (ConnectKmsInstanceRequest) String ¶ added in v3.1.0
func (s ConnectKmsInstanceRequest) String() string
type ConnectKmsInstanceResponse ¶ added in v3.1.0
type ConnectKmsInstanceResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ConnectKmsInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ConnectKmsInstanceResponse) GoString ¶ added in v3.1.0
func (s ConnectKmsInstanceResponse) GoString() string
func (*ConnectKmsInstanceResponse) SetBody ¶ added in v3.1.0
func (s *ConnectKmsInstanceResponse) SetBody(v *ConnectKmsInstanceResponseBody) *ConnectKmsInstanceResponse
func (*ConnectKmsInstanceResponse) SetHeaders ¶ added in v3.1.0
func (s *ConnectKmsInstanceResponse) SetHeaders(v map[string]*string) *ConnectKmsInstanceResponse
func (*ConnectKmsInstanceResponse) SetStatusCode ¶ added in v3.1.0
func (s *ConnectKmsInstanceResponse) SetStatusCode(v int32) *ConnectKmsInstanceResponse
func (ConnectKmsInstanceResponse) String ¶ added in v3.1.0
func (s ConnectKmsInstanceResponse) String() string
type ConnectKmsInstanceResponseBody ¶ added in v3.1.0
type ConnectKmsInstanceResponseBody struct { // The request ID. // // example: // // d3eca5c8-a856-4347-8eb6-e1898c3fda2e RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (ConnectKmsInstanceResponseBody) GoString ¶ added in v3.1.0
func (s ConnectKmsInstanceResponseBody) GoString() string
func (*ConnectKmsInstanceResponseBody) SetRequestId ¶ added in v3.1.0
func (s *ConnectKmsInstanceResponseBody) SetRequestId(v string) *ConnectKmsInstanceResponseBody
func (ConnectKmsInstanceResponseBody) String ¶ added in v3.1.0
func (s ConnectKmsInstanceResponseBody) String() string
type CreateAliasRequest ¶
type CreateAliasRequest struct { // The alias of the CMK. // // The alias must be 1 to 255 characters in length and must contain the prefix `alias/`. The alias cannot be prefixed with the reserved word `alias/acs`. // // This parameter is required. // // example: // // alias/example AliasName *string `json:"AliasName,omitempty" xml:"AliasName,omitempty"` // The ID of the CMK. The ID must be globally unique. // // This parameter is required. // // example: // // 7906979c-8e06-46a2-be2d-68e3ccbc**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` }
func (CreateAliasRequest) GoString ¶
func (s CreateAliasRequest) GoString() string
func (*CreateAliasRequest) SetAliasName ¶
func (s *CreateAliasRequest) SetAliasName(v string) *CreateAliasRequest
func (*CreateAliasRequest) SetKeyId ¶
func (s *CreateAliasRequest) SetKeyId(v string) *CreateAliasRequest
func (CreateAliasRequest) String ¶
func (s CreateAliasRequest) String() string
type CreateAliasResponse ¶
type CreateAliasResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateAliasResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateAliasResponse) GoString ¶
func (s CreateAliasResponse) GoString() string
func (*CreateAliasResponse) SetBody ¶
func (s *CreateAliasResponse) SetBody(v *CreateAliasResponseBody) *CreateAliasResponse
func (*CreateAliasResponse) SetHeaders ¶
func (s *CreateAliasResponse) SetHeaders(v map[string]*string) *CreateAliasResponse
func (*CreateAliasResponse) SetStatusCode ¶
func (s *CreateAliasResponse) SetStatusCode(v int32) *CreateAliasResponse
func (CreateAliasResponse) String ¶
func (s CreateAliasResponse) String() string
type CreateAliasResponseBody ¶
type CreateAliasResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 1d2baaf3-d357-46c2-832e-13560c2bd9cd RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (CreateAliasResponseBody) GoString ¶
func (s CreateAliasResponseBody) GoString() string
func (*CreateAliasResponseBody) SetRequestId ¶
func (s *CreateAliasResponseBody) SetRequestId(v string) *CreateAliasResponseBody
func (CreateAliasResponseBody) String ¶
func (s CreateAliasResponseBody) String() string
type CreateApplicationAccessPointRequest ¶ added in v3.1.0
type CreateApplicationAccessPointRequest struct { // The authentication method. Currently, only ClientKey is supported. // // example: // // ClientKey AuthenticationMethod *string `json:"AuthenticationMethod,omitempty" xml:"AuthenticationMethod,omitempty"` // The description of the AAP. // // example: // // aap description Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The name of the AAP. // // This parameter is required. // // example: // // aap_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // The permission policy. // // > You can bind up to three permission policies to each AAP. // // This parameter is required. // // example: // // ["kst-hzz62ee817bvyyr5x****.efkd","kst-hzz62ee817bvyyr5x****.eyyp"] Policies *string `json:"Policies,omitempty" xml:"Policies,omitempty"` }
func (CreateApplicationAccessPointRequest) GoString ¶ added in v3.1.0
func (s CreateApplicationAccessPointRequest) GoString() string
func (*CreateApplicationAccessPointRequest) SetAuthenticationMethod ¶ added in v3.1.0
func (s *CreateApplicationAccessPointRequest) SetAuthenticationMethod(v string) *CreateApplicationAccessPointRequest
func (*CreateApplicationAccessPointRequest) SetDescription ¶ added in v3.1.0
func (s *CreateApplicationAccessPointRequest) SetDescription(v string) *CreateApplicationAccessPointRequest
func (*CreateApplicationAccessPointRequest) SetName ¶ added in v3.1.0
func (s *CreateApplicationAccessPointRequest) SetName(v string) *CreateApplicationAccessPointRequest
func (*CreateApplicationAccessPointRequest) SetPolicies ¶ added in v3.1.0
func (s *CreateApplicationAccessPointRequest) SetPolicies(v string) *CreateApplicationAccessPointRequest
func (CreateApplicationAccessPointRequest) String ¶ added in v3.1.0
func (s CreateApplicationAccessPointRequest) String() string
type CreateApplicationAccessPointResponse ¶ added in v3.1.0
type CreateApplicationAccessPointResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateApplicationAccessPointResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateApplicationAccessPointResponse) GoString ¶ added in v3.1.0
func (s CreateApplicationAccessPointResponse) GoString() string
func (*CreateApplicationAccessPointResponse) SetHeaders ¶ added in v3.1.0
func (s *CreateApplicationAccessPointResponse) SetHeaders(v map[string]*string) *CreateApplicationAccessPointResponse
func (*CreateApplicationAccessPointResponse) SetStatusCode ¶ added in v3.1.0
func (s *CreateApplicationAccessPointResponse) SetStatusCode(v int32) *CreateApplicationAccessPointResponse
func (CreateApplicationAccessPointResponse) String ¶ added in v3.1.0
func (s CreateApplicationAccessPointResponse) String() string
type CreateApplicationAccessPointResponseBody ¶ added in v3.1.0
type CreateApplicationAccessPointResponseBody struct { // The Alibaba Cloud Resource Name (ARN) of the AAP. // // example: // // acs:kms:cn-hangzhou:119285303511****:applicationaccesspoint/aap_test Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"` // The authentication method. // // example: // // ClientKey AuthenticationMethod *string `json:"AuthenticationMethod,omitempty" xml:"AuthenticationMethod,omitempty"` // The description of the AAP. // // example: // // aap description Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The name of the AAP. // // example: // // aap_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // The permission policy. // // example: // // ["kst-hzz62ee817bvyyr5x****.efkd","kst-hzz62ee817bvyyr5x****.eyyp"] Policies *string `json:"Policies,omitempty" xml:"Policies,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // bcfefe15-46f0-44a3-bd96-3d422474b71a RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (CreateApplicationAccessPointResponseBody) GoString ¶ added in v3.1.0
func (s CreateApplicationAccessPointResponseBody) GoString() string
func (*CreateApplicationAccessPointResponseBody) SetArn ¶ added in v3.1.0
func (s *CreateApplicationAccessPointResponseBody) SetArn(v string) *CreateApplicationAccessPointResponseBody
func (*CreateApplicationAccessPointResponseBody) SetAuthenticationMethod ¶ added in v3.1.0
func (s *CreateApplicationAccessPointResponseBody) SetAuthenticationMethod(v string) *CreateApplicationAccessPointResponseBody
func (*CreateApplicationAccessPointResponseBody) SetDescription ¶ added in v3.1.0
func (s *CreateApplicationAccessPointResponseBody) SetDescription(v string) *CreateApplicationAccessPointResponseBody
func (*CreateApplicationAccessPointResponseBody) SetName ¶ added in v3.1.0
func (s *CreateApplicationAccessPointResponseBody) SetName(v string) *CreateApplicationAccessPointResponseBody
func (*CreateApplicationAccessPointResponseBody) SetPolicies ¶ added in v3.1.0
func (s *CreateApplicationAccessPointResponseBody) SetPolicies(v string) *CreateApplicationAccessPointResponseBody
func (*CreateApplicationAccessPointResponseBody) SetRequestId ¶ added in v3.1.0
func (s *CreateApplicationAccessPointResponseBody) SetRequestId(v string) *CreateApplicationAccessPointResponseBody
func (CreateApplicationAccessPointResponseBody) String ¶ added in v3.1.0
func (s CreateApplicationAccessPointResponseBody) String() string
type CreateCertificateRequest ¶
type CreateCertificateRequest struct { // Specifies whether the private key of the certificate can be exported for use. Valid values: // // - true: The private key of the certificate can be exported for use. This is the default value. // // - false: The private key of the certificate cannot be exported for use. We recommend that you set this parameter to false to protect keys with a higher security level. // // example: // // true ExportablePrivateKey *bool `json:"ExportablePrivateKey,omitempty" xml:"ExportablePrivateKey,omitempty"` // The type of the key. Valid values: // // - RSA_2048 // // - EC_P256 // // - EC_SM2 // // This parameter is required. // // example: // // RSA_2048 KeySpec *string `json:"KeySpec,omitempty" xml:"KeySpec,omitempty"` // The certificate subject, which is the owner of the certificate. // // Specify the value in the distinguished name (DN) format, as defined in [RFC 2253](https://tools.ietf.org/html/rfc2253?spm=a2c4g.11186623.2.13.265f1a1cGFCn3Q). A DN is a sequence of relative distinguished names (RDNs). // // RDNs are key-value pairs in the format of `attribute1=value1,attribute2=value2`. Separate multiple RDNs with commas (,). // // The Subject parameter consists of the following fields: // // - CN: required. The name of the certificate subject. // // - C: required. The two-character country or region code in the [ISO 3166-1](https://www.iso.org/obp/ui/#search/code/) standard. For example, CN indicates China. // // - O: required. The legal name of the enterprise, company, organization, or institution. // // - OU: required. The name of the department. // // - ST: optional. The name of the province, municipality, autonomous region, or special administrative region. // // - L: optional. The name of the city. // // This parameter is required. // // example: // // CN=userName,OU=kms,O=aliyun,C=CN Subject *string `json:"Subject,omitempty" xml:"Subject,omitempty"` // The subject alternative names. // // A domain name list is supported. A maximum of 10 domain names are supported. // // example: // // ["test1.example.com","test2.example.com"] SubjectAlternativeNames map[string]interface{} `json:"SubjectAlternativeNames,omitempty" xml:"SubjectAlternativeNames,omitempty"` }
func (CreateCertificateRequest) GoString ¶
func (s CreateCertificateRequest) GoString() string
func (*CreateCertificateRequest) SetExportablePrivateKey ¶
func (s *CreateCertificateRequest) SetExportablePrivateKey(v bool) *CreateCertificateRequest
func (*CreateCertificateRequest) SetKeySpec ¶
func (s *CreateCertificateRequest) SetKeySpec(v string) *CreateCertificateRequest
func (*CreateCertificateRequest) SetSubject ¶
func (s *CreateCertificateRequest) SetSubject(v string) *CreateCertificateRequest
func (*CreateCertificateRequest) SetSubjectAlternativeNames ¶
func (s *CreateCertificateRequest) SetSubjectAlternativeNames(v map[string]interface{}) *CreateCertificateRequest
func (CreateCertificateRequest) String ¶
func (s CreateCertificateRequest) String() string
type CreateCertificateResponse ¶
type CreateCertificateResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateCertificateResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateCertificateResponse) GoString ¶
func (s CreateCertificateResponse) GoString() string
func (*CreateCertificateResponse) SetBody ¶
func (s *CreateCertificateResponse) SetBody(v *CreateCertificateResponseBody) *CreateCertificateResponse
func (*CreateCertificateResponse) SetHeaders ¶
func (s *CreateCertificateResponse) SetHeaders(v map[string]*string) *CreateCertificateResponse
func (*CreateCertificateResponse) SetStatusCode ¶
func (s *CreateCertificateResponse) SetStatusCode(v int32) *CreateCertificateResponse
func (CreateCertificateResponse) String ¶
func (s CreateCertificateResponse) String() string
type CreateCertificateResponseBody ¶
type CreateCertificateResponseBody struct { // The Alibaba Cloud Resource Name (ARN) of the certificate. // // example: // // acs:kms:cn-hangzhou:154035569884****:certificate/98e85c94-52d0-40c9-b3b2-afda52f4**** Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"` // The ID of the certificate. It is the globally unique identifier (GUID) of the certificate in Certificates Manager. // // example: // // 9a28de48-8d8b-484d-a766-dec4**** CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"` // The CSR in the PEM format. // // example: // // -----BEGIN CERTIFICATE REQUEST-----\\nMIIDADCCAegCAQAwgboxCzAJBgNVBAYTAkNOMREwDwYDVQQIEwhaaGVqaWFuZzER\\n****\\nmkj4rg==\\n-----END CERTIFICATE REQUEST-----\\n Csr *string `json:"Csr,omitempty" xml:"Csr,omitempty"` // The ID of the request. // // example: // // 15a735a1-8fe6-45cc-a64c-3c4ff839334e RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (CreateCertificateResponseBody) GoString ¶
func (s CreateCertificateResponseBody) GoString() string
func (*CreateCertificateResponseBody) SetArn ¶
func (s *CreateCertificateResponseBody) SetArn(v string) *CreateCertificateResponseBody
func (*CreateCertificateResponseBody) SetCertificateId ¶
func (s *CreateCertificateResponseBody) SetCertificateId(v string) *CreateCertificateResponseBody
func (*CreateCertificateResponseBody) SetCsr ¶
func (s *CreateCertificateResponseBody) SetCsr(v string) *CreateCertificateResponseBody
func (*CreateCertificateResponseBody) SetRequestId ¶
func (s *CreateCertificateResponseBody) SetRequestId(v string) *CreateCertificateResponseBody
func (CreateCertificateResponseBody) String ¶
func (s CreateCertificateResponseBody) String() string
type CreateCertificateShrinkRequest ¶
type CreateCertificateShrinkRequest struct { // Specifies whether the private key of the certificate can be exported for use. Valid values: // // - true: The private key of the certificate can be exported for use. This is the default value. // // - false: The private key of the certificate cannot be exported for use. We recommend that you set this parameter to false to protect keys with a higher security level. // // example: // // true ExportablePrivateKey *bool `json:"ExportablePrivateKey,omitempty" xml:"ExportablePrivateKey,omitempty"` // The type of the key. Valid values: // // - RSA_2048 // // - EC_P256 // // - EC_SM2 // // This parameter is required. // // example: // // RSA_2048 KeySpec *string `json:"KeySpec,omitempty" xml:"KeySpec,omitempty"` // The certificate subject, which is the owner of the certificate. // // Specify the value in the distinguished name (DN) format, as defined in [RFC 2253](https://tools.ietf.org/html/rfc2253?spm=a2c4g.11186623.2.13.265f1a1cGFCn3Q). A DN is a sequence of relative distinguished names (RDNs). // // RDNs are key-value pairs in the format of `attribute1=value1,attribute2=value2`. Separate multiple RDNs with commas (,). // // The Subject parameter consists of the following fields: // // - CN: required. The name of the certificate subject. // // - C: required. The two-character country or region code in the [ISO 3166-1](https://www.iso.org/obp/ui/#search/code/) standard. For example, CN indicates China. // // - O: required. The legal name of the enterprise, company, organization, or institution. // // - OU: required. The name of the department. // // - ST: optional. The name of the province, municipality, autonomous region, or special administrative region. // // - L: optional. The name of the city. // // This parameter is required. // // example: // // CN=userName,OU=kms,O=aliyun,C=CN Subject *string `json:"Subject,omitempty" xml:"Subject,omitempty"` // The subject alternative names. // // A domain name list is supported. A maximum of 10 domain names are supported. // // example: // // ["test1.example.com","test2.example.com"] SubjectAlternativeNamesShrink *string `json:"SubjectAlternativeNames,omitempty" xml:"SubjectAlternativeNames,omitempty"` }
func (CreateCertificateShrinkRequest) GoString ¶
func (s CreateCertificateShrinkRequest) GoString() string
func (*CreateCertificateShrinkRequest) SetExportablePrivateKey ¶
func (s *CreateCertificateShrinkRequest) SetExportablePrivateKey(v bool) *CreateCertificateShrinkRequest
func (*CreateCertificateShrinkRequest) SetKeySpec ¶
func (s *CreateCertificateShrinkRequest) SetKeySpec(v string) *CreateCertificateShrinkRequest
func (*CreateCertificateShrinkRequest) SetSubject ¶
func (s *CreateCertificateShrinkRequest) SetSubject(v string) *CreateCertificateShrinkRequest
func (*CreateCertificateShrinkRequest) SetSubjectAlternativeNamesShrink ¶
func (s *CreateCertificateShrinkRequest) SetSubjectAlternativeNamesShrink(v string) *CreateCertificateShrinkRequest
func (CreateCertificateShrinkRequest) String ¶
func (s CreateCertificateShrinkRequest) String() string
type CreateClientKeyRequest ¶ added in v3.1.0
type CreateClientKeyRequest struct { // The operation that you want to perform. Set the value to **CreateClientKey**. // // This parameter is required. // // example: // // aap_test AapName *string `json:"AapName,omitempty" xml:"AapName,omitempty"` // The encryption password of the client key. // // The password must be 8 to 64 characters in length and must contain at least two of the following types: digits, letters, and special characters. Special characters include `~ ! @ # $ % ^ & - ? _ -`. // // example: // // 2028-08-31T17:14:33Z NotAfter *string `json:"NotAfter,omitempty" xml:"NotAfter,omitempty"` // The end of the validity period of the client key. // // Specify the time in the ISO 8601 standard. The time must be in UTC. The time must be in the yyyy-MM-ddTHH:mm:ssZ format. // // > // // - If you do not configure NotAfter, the default value is the time when the client key was created plus five years. // // - If you configure NotAfter, you must configure NotBefore. // // example: // // 2023-08-31T17:14:33Z NotBefore *string `json:"NotBefore,omitempty" xml:"NotBefore,omitempty"` // The name of the AAP. // // This parameter is required. // // example: // // bcfefe15-46f0**** Password *string `json:"Password,omitempty" xml:"Password,omitempty"` }
func (CreateClientKeyRequest) GoString ¶ added in v3.1.0
func (s CreateClientKeyRequest) GoString() string
func (*CreateClientKeyRequest) SetAapName ¶ added in v3.1.0
func (s *CreateClientKeyRequest) SetAapName(v string) *CreateClientKeyRequest
func (*CreateClientKeyRequest) SetNotAfter ¶ added in v3.1.0
func (s *CreateClientKeyRequest) SetNotAfter(v string) *CreateClientKeyRequest
func (*CreateClientKeyRequest) SetNotBefore ¶ added in v3.1.0
func (s *CreateClientKeyRequest) SetNotBefore(v string) *CreateClientKeyRequest
func (*CreateClientKeyRequest) SetPassword ¶ added in v3.1.0
func (s *CreateClientKeyRequest) SetPassword(v string) *CreateClientKeyRequest
func (CreateClientKeyRequest) String ¶ added in v3.1.0
func (s CreateClientKeyRequest) String() string
type CreateClientKeyResponse ¶ added in v3.1.0
type CreateClientKeyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateClientKeyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateClientKeyResponse) GoString ¶ added in v3.1.0
func (s CreateClientKeyResponse) GoString() string
func (*CreateClientKeyResponse) SetBody ¶ added in v3.1.0
func (s *CreateClientKeyResponse) SetBody(v *CreateClientKeyResponseBody) *CreateClientKeyResponse
func (*CreateClientKeyResponse) SetHeaders ¶ added in v3.1.0
func (s *CreateClientKeyResponse) SetHeaders(v map[string]*string) *CreateClientKeyResponse
func (*CreateClientKeyResponse) SetStatusCode ¶ added in v3.1.0
func (s *CreateClientKeyResponse) SetStatusCode(v int32) *CreateClientKeyResponse
func (CreateClientKeyResponse) String ¶ added in v3.1.0
func (s CreateClientKeyResponse) String() string
type CreateClientKeyResponseBody ¶ added in v3.1.0
type CreateClientKeyResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // KAAP.66abf237-63f6-4625-b8cf-47e1086e**** ClientKeyId *string `json:"ClientKeyId,omitempty" xml:"ClientKeyId,omitempty"` // The ID of the client key. // // example: // // RSA_2048 KeyAlgorithm *string `json:"KeyAlgorithm,omitempty" xml:"KeyAlgorithm,omitempty"` // The beginning of the validity period of the client key. // // example: // // 2028-08-31T17:14:33Z NotAfter *string `json:"NotAfter,omitempty" xml:"NotAfter,omitempty"` // The private key of the client key. // // example: // // 2023-08-31T17:14:33Z NotBefore *string `json:"NotBefore,omitempty" xml:"NotBefore,omitempty"` // The algorithm that is used to encrypt the private key of the client key. Currently, only RSA_2048 is supported. // // example: // // MIIJqwIBAzCCCXcGCSqGSIb3DQEHAaCCCWgEgglkMIIJYDCCBBcGCSqGSIb3DQEHBqCCBAgwgg****** PrivateKeyData *string `json:"PrivateKeyData,omitempty" xml:"PrivateKeyData,omitempty"` // The beginning of the validity period of the client key. // // Specify the time in the ISO 8601 standard. The time must be in UTC. The time must be in the yyyy-MM-ddTHH:mm:ssZ format. // // > // // - If you do not configure NotBefore, the default value is the time when the client key was created. // // - If you configure NotBefore, you must configure NotAfter. // // example: // // 2312e45f-b2fa-4c34-ad94-3eca50932916 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (CreateClientKeyResponseBody) GoString ¶ added in v3.1.0
func (s CreateClientKeyResponseBody) GoString() string
func (*CreateClientKeyResponseBody) SetClientKeyId ¶ added in v3.1.0
func (s *CreateClientKeyResponseBody) SetClientKeyId(v string) *CreateClientKeyResponseBody
func (*CreateClientKeyResponseBody) SetKeyAlgorithm ¶ added in v3.1.0
func (s *CreateClientKeyResponseBody) SetKeyAlgorithm(v string) *CreateClientKeyResponseBody
func (*CreateClientKeyResponseBody) SetNotAfter ¶ added in v3.1.0
func (s *CreateClientKeyResponseBody) SetNotAfter(v string) *CreateClientKeyResponseBody
func (*CreateClientKeyResponseBody) SetNotBefore ¶ added in v3.1.0
func (s *CreateClientKeyResponseBody) SetNotBefore(v string) *CreateClientKeyResponseBody
func (*CreateClientKeyResponseBody) SetPrivateKeyData ¶ added in v3.1.0
func (s *CreateClientKeyResponseBody) SetPrivateKeyData(v string) *CreateClientKeyResponseBody
func (*CreateClientKeyResponseBody) SetRequestId ¶ added in v3.1.0
func (s *CreateClientKeyResponseBody) SetRequestId(v string) *CreateClientKeyResponseBody
func (CreateClientKeyResponseBody) String ¶ added in v3.1.0
func (s CreateClientKeyResponseBody) String() string
type CreateKeyRequest ¶
type CreateKeyRequest struct { // The ID of the KMS instance. // // > You must specify this parameter if you need to create a key for a KMS instance. If you need to create a default key of the CMK type, you do not need to specify this parameter. // // example: // // kst-bjj62d8f5e0sgtx8h**** DKMSInstanceId *string `json:"DKMSInstanceId,omitempty" xml:"DKMSInstanceId,omitempty"` // The description of the key. // // The description can be 0 to 8,192 characters in length. // // example: // // key description example Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // Specifies whether to enable automatic key rotation. Valid values: // // - true // // - false (default) // // This parameter is valid only when the key belongs to an instance type that supports automatic rotation. For more information, see [Key rotation](https://help.aliyun.com/document_detail/2358146.html). // // example: // // true EnableAutomaticRotation *bool `json:"EnableAutomaticRotation,omitempty" xml:"EnableAutomaticRotation,omitempty"` // The key specification. The valid values vary based on the KMS instance type. For more information, see [Overview](https://help.aliyun.com/document_detail/480159.html). // // > If you do not specify a value for this parameter, the default key specification is Aliyun_AES_256. // // example: // // Aliyun_AES_256 KeySpec *string `json:"KeySpec,omitempty" xml:"KeySpec,omitempty"` // The usage of the key. Valid values: // // - ENCRYPT/DECRYPT // // - SIGN/VERIFY // // If the key supports signing and verification, the default value is SIGN/VERIFY. If the key does not support signing and verification, the default value is ENCRYPT/DECRYPT. // // example: // // ENCRYPT/DECRYPT KeyUsage *string `json:"KeyUsage,omitempty" xml:"KeyUsage,omitempty"` // The key material origin. Valid values: // // - Aliyun_KMS (default): KMS generates key material. // // - EXTERNAL: You import key material. // // // > - The value of this parameter is case-sensitive. // // > - Default keys of the customer master key (CMK) type support Aliyun_KMS and EXTERNAL. Keys in instances of the software key management type support only Aliyun_KMS. Keys in instances of the hardware key management type support Aliyun_KMS and EXTERNAL. // // > - If you set Origin to EXTERNAL, you must import key material. For more information, see [Import key material into a symmetric key](https://help.aliyun.com/document_detail/607841.html) or [Import key material into an asymmetric key](https://help.aliyun.com/document_detail/608827.html). // // example: // // Aliyun_KMS Origin *string `json:"Origin,omitempty" xml:"Origin,omitempty"` Policy *string `json:"Policy,omitempty" xml:"Policy,omitempty"` // You do not need to specify this parameter. KMS sets a protection level for your key. // // The protection level of the key. Valid values: // // - SOFTWARE // // - HSM // // // > - If DKMSInstanceId is specified, this parameter does not take effect. If your instance is an instance of the software key management type, set the value to SOFTWARE. If your instance is an instance of the hardware key management type, set the value to HSM. // // > - If you do not specify DKMSInstanceId, we recommend that you do not specify this parameter. KMS sets a protection level for your key. If managed hardware security modules (HSMs) exist in the region of your KMS instance, set the value to HSM. If managed HSMs do not exist in the region of your KMS instance, set the value to SOFTWARE. For more information, see Managed HSM overview. // // example: // // SOFTWARE ProtectionLevel *string `json:"ProtectionLevel,omitempty" xml:"ProtectionLevel,omitempty"` // The period of automatic key rotation. Format: integer[unit]. Unit: d (day), h (hour), m (minute), or s (second). For example, both 7d and 604800s represent a seven-day interval. // // - For a default key, set the value to 365 days. // // - For a software-protected key, set a value that ranges from 7 to 365 days. // // - A hardware-protected key does not support automatic rotation. // // > If EnableAutomaticRotation is set to true, this parameter is required. // // example: // // 365d RotationInterval *string `json:"RotationInterval,omitempty" xml:"RotationInterval,omitempty"` // The tag that is added to the key. A tag consists of a key-value pair. // // You can enter up to 20 tags. Enter multiple tags in the [{"TagKey":"key1","TagValue":"value1"},{"TagKey":"key2","TagValue":"value2"},..] format. // // Each tag key or tag value can be up to 128 characters in length and can contain letters, digits, forward slashes (/), backslashes (\\), underscores (_), hyphens (-), periods (.), plus signs (+), equal signs (=), colons (:), and at signs (@). // // > The tag key cannot start with aliyun or acs:. // // example: // // [{"TagKey":"disk-encryption","TagValue":"true"}] Tags *string `json:"Tags,omitempty" xml:"Tags,omitempty"` }
func (CreateKeyRequest) GoString ¶
func (s CreateKeyRequest) GoString() string
func (*CreateKeyRequest) SetDKMSInstanceId ¶
func (s *CreateKeyRequest) SetDKMSInstanceId(v string) *CreateKeyRequest
func (*CreateKeyRequest) SetDescription ¶
func (s *CreateKeyRequest) SetDescription(v string) *CreateKeyRequest
func (*CreateKeyRequest) SetEnableAutomaticRotation ¶
func (s *CreateKeyRequest) SetEnableAutomaticRotation(v bool) *CreateKeyRequest
func (*CreateKeyRequest) SetKeySpec ¶
func (s *CreateKeyRequest) SetKeySpec(v string) *CreateKeyRequest
func (*CreateKeyRequest) SetKeyUsage ¶
func (s *CreateKeyRequest) SetKeyUsage(v string) *CreateKeyRequest
func (*CreateKeyRequest) SetOrigin ¶
func (s *CreateKeyRequest) SetOrigin(v string) *CreateKeyRequest
func (*CreateKeyRequest) SetPolicy ¶ added in v3.2.0
func (s *CreateKeyRequest) SetPolicy(v string) *CreateKeyRequest
func (*CreateKeyRequest) SetProtectionLevel ¶
func (s *CreateKeyRequest) SetProtectionLevel(v string) *CreateKeyRequest
func (*CreateKeyRequest) SetRotationInterval ¶
func (s *CreateKeyRequest) SetRotationInterval(v string) *CreateKeyRequest
func (*CreateKeyRequest) SetTags ¶ added in v3.0.2
func (s *CreateKeyRequest) SetTags(v string) *CreateKeyRequest
func (CreateKeyRequest) String ¶
func (s CreateKeyRequest) String() string
type CreateKeyResponse ¶
type CreateKeyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateKeyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateKeyResponse) GoString ¶
func (s CreateKeyResponse) GoString() string
func (*CreateKeyResponse) SetBody ¶
func (s *CreateKeyResponse) SetBody(v *CreateKeyResponseBody) *CreateKeyResponse
func (*CreateKeyResponse) SetHeaders ¶
func (s *CreateKeyResponse) SetHeaders(v map[string]*string) *CreateKeyResponse
func (*CreateKeyResponse) SetStatusCode ¶
func (s *CreateKeyResponse) SetStatusCode(v int32) *CreateKeyResponse
func (CreateKeyResponse) String ¶
func (s CreateKeyResponse) String() string
type CreateKeyResponseBody ¶
type CreateKeyResponseBody struct { // The metadata of the key. KeyMetadata *CreateKeyResponseBodyKeyMetadata `json:"KeyMetadata,omitempty" xml:"KeyMetadata,omitempty" type:"Struct"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 381D5D33-BB8F-395F-8EE4-AE3BB4B523C4 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (CreateKeyResponseBody) GoString ¶
func (s CreateKeyResponseBody) GoString() string
func (*CreateKeyResponseBody) SetKeyMetadata ¶
func (s *CreateKeyResponseBody) SetKeyMetadata(v *CreateKeyResponseBodyKeyMetadata) *CreateKeyResponseBody
func (*CreateKeyResponseBody) SetRequestId ¶
func (s *CreateKeyResponseBody) SetRequestId(v string) *CreateKeyResponseBody
func (CreateKeyResponseBody) String ¶
func (s CreateKeyResponseBody) String() string
type CreateKeyResponseBodyKeyMetadata ¶
type CreateKeyResponseBodyKeyMetadata struct { // The Alibaba Cloud Resource Name (ARN) of the key. // // example: // // acs:kms:cn-qingdao:154035569884****:key/key-hzz62f1cb66fa42qo**** Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"` // The status of automatic key rotation. Valid values: // // - Enabled // // - Disabled // // - Suspended // // example: // // Enabled AutomaticRotation *string `json:"AutomaticRotation,omitempty" xml:"AutomaticRotation,omitempty"` // The date and time (UTC) when the key was created. // // example: // // 2023-03-25T10:00:00Z CreationDate *string `json:"CreationDate,omitempty" xml:"CreationDate,omitempty"` // The user who created the key. // // example: // // 154035569884**** Creator *string `json:"Creator,omitempty" xml:"Creator,omitempty"` // The ID of the KMS instance. // // example: // // kst-bjj62d8f5e0sgtx8h**** DKMSInstanceId *string `json:"DKMSInstanceId,omitempty" xml:"DKMSInstanceId,omitempty"` // The time when the key is scheduled for deletion. For more information, see ScheduleKeyDeletion. // // This parameter is returned only when the value of KeyState is PendingDeletion. // // example: // // 2025-03-25T10:00:00Z DeleteDate *string `json:"DeleteDate,omitempty" xml:"DeleteDate,omitempty"` // The description of the key. // // example: // // key description example Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The globally unique ID of the key. // // example: // // key-hzz62f1cb66fa42qo**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The specification of the key. // // example: // // Aliyun_AES_256 KeySpec *string `json:"KeySpec,omitempty" xml:"KeySpec,omitempty"` // The status of the key. // // For more information, see [Impacts of key status on API operations](https://help.aliyun.com/document_detail/44211.html). // // example: // // Enabled KeyState *string `json:"KeyState,omitempty" xml:"KeyState,omitempty"` // The usage of the key. // // example: // // ENCRYPT/DECRYPT KeyUsage *string `json:"KeyUsage,omitempty" xml:"KeyUsage,omitempty"` // The time when the last rotation was performed. The time is displayed in UTC. // // For a new key, this parameter value is the time when the initial version of the key was generated. // // example: // // 2023-03-25T10:00:00Z LastRotationDate *string `json:"LastRotationDate,omitempty" xml:"LastRotationDate,omitempty"` // The time when the key material expires. The time is displayed in UTC. // // If this parameter value is empty, the key material does not expire. // // example: // // 2025-03-25T10:00:00Z MaterialExpireTime *string `json:"MaterialExpireTime,omitempty" xml:"MaterialExpireTime,omitempty"` // The time when the key is next rotated. // // This value is returned only when the value of AutomaticRotation is Enabled or Suspended. // // example: // // 2024-03-25T10:00:00Z NextRotationDate *string `json:"NextRotationDate,omitempty" xml:"NextRotationDate,omitempty"` // The key material origin. // // example: // // Aliyun_KMS Origin *string `json:"Origin,omitempty" xml:"Origin,omitempty"` // The current primary version identifier of the key. // // example: // // 7ce1d081-06cb-42e6-aab6-5c5de030**** PrimaryKeyVersion *string `json:"PrimaryKeyVersion,omitempty" xml:"PrimaryKeyVersion,omitempty"` // The protection level of the key. // // example: // // SOFTWARE ProtectionLevel *string `json:"ProtectionLevel,omitempty" xml:"ProtectionLevel,omitempty"` // The interval for automatic key rotation. Unit: seconds. The format is an integer value followed by the character s. For example, if the rotation period is seven days, this parameter is set to 604800s. // // This value is returned only when the value of AutomaticRotation is Enabled or Suspended. // // example: // // 31536000s RotationInterval *string `json:"RotationInterval,omitempty" xml:"RotationInterval,omitempty"` }
func (CreateKeyResponseBodyKeyMetadata) GoString ¶
func (s CreateKeyResponseBodyKeyMetadata) GoString() string
func (*CreateKeyResponseBodyKeyMetadata) SetArn ¶
func (s *CreateKeyResponseBodyKeyMetadata) SetArn(v string) *CreateKeyResponseBodyKeyMetadata
func (*CreateKeyResponseBodyKeyMetadata) SetAutomaticRotation ¶
func (s *CreateKeyResponseBodyKeyMetadata) SetAutomaticRotation(v string) *CreateKeyResponseBodyKeyMetadata
func (*CreateKeyResponseBodyKeyMetadata) SetCreationDate ¶
func (s *CreateKeyResponseBodyKeyMetadata) SetCreationDate(v string) *CreateKeyResponseBodyKeyMetadata
func (*CreateKeyResponseBodyKeyMetadata) SetCreator ¶
func (s *CreateKeyResponseBodyKeyMetadata) SetCreator(v string) *CreateKeyResponseBodyKeyMetadata
func (*CreateKeyResponseBodyKeyMetadata) SetDKMSInstanceId ¶
func (s *CreateKeyResponseBodyKeyMetadata) SetDKMSInstanceId(v string) *CreateKeyResponseBodyKeyMetadata
func (*CreateKeyResponseBodyKeyMetadata) SetDeleteDate ¶
func (s *CreateKeyResponseBodyKeyMetadata) SetDeleteDate(v string) *CreateKeyResponseBodyKeyMetadata
func (*CreateKeyResponseBodyKeyMetadata) SetDescription ¶
func (s *CreateKeyResponseBodyKeyMetadata) SetDescription(v string) *CreateKeyResponseBodyKeyMetadata
func (*CreateKeyResponseBodyKeyMetadata) SetKeyId ¶
func (s *CreateKeyResponseBodyKeyMetadata) SetKeyId(v string) *CreateKeyResponseBodyKeyMetadata
func (*CreateKeyResponseBodyKeyMetadata) SetKeySpec ¶
func (s *CreateKeyResponseBodyKeyMetadata) SetKeySpec(v string) *CreateKeyResponseBodyKeyMetadata
func (*CreateKeyResponseBodyKeyMetadata) SetKeyState ¶
func (s *CreateKeyResponseBodyKeyMetadata) SetKeyState(v string) *CreateKeyResponseBodyKeyMetadata
func (*CreateKeyResponseBodyKeyMetadata) SetKeyUsage ¶
func (s *CreateKeyResponseBodyKeyMetadata) SetKeyUsage(v string) *CreateKeyResponseBodyKeyMetadata
func (*CreateKeyResponseBodyKeyMetadata) SetLastRotationDate ¶
func (s *CreateKeyResponseBodyKeyMetadata) SetLastRotationDate(v string) *CreateKeyResponseBodyKeyMetadata
func (*CreateKeyResponseBodyKeyMetadata) SetMaterialExpireTime ¶
func (s *CreateKeyResponseBodyKeyMetadata) SetMaterialExpireTime(v string) *CreateKeyResponseBodyKeyMetadata
func (*CreateKeyResponseBodyKeyMetadata) SetNextRotationDate ¶
func (s *CreateKeyResponseBodyKeyMetadata) SetNextRotationDate(v string) *CreateKeyResponseBodyKeyMetadata
func (*CreateKeyResponseBodyKeyMetadata) SetOrigin ¶
func (s *CreateKeyResponseBodyKeyMetadata) SetOrigin(v string) *CreateKeyResponseBodyKeyMetadata
func (*CreateKeyResponseBodyKeyMetadata) SetPrimaryKeyVersion ¶
func (s *CreateKeyResponseBodyKeyMetadata) SetPrimaryKeyVersion(v string) *CreateKeyResponseBodyKeyMetadata
func (*CreateKeyResponseBodyKeyMetadata) SetProtectionLevel ¶
func (s *CreateKeyResponseBodyKeyMetadata) SetProtectionLevel(v string) *CreateKeyResponseBodyKeyMetadata
func (*CreateKeyResponseBodyKeyMetadata) SetRotationInterval ¶
func (s *CreateKeyResponseBodyKeyMetadata) SetRotationInterval(v string) *CreateKeyResponseBodyKeyMetadata
func (CreateKeyResponseBodyKeyMetadata) String ¶
func (s CreateKeyResponseBodyKeyMetadata) String() string
type CreateKeyVersionRequest ¶
type CreateKeyVersionRequest struct { // The ID of the CMK. The ID must be globally unique. // // > You can also set the value to an alias that is bound to the CMK. For more information, see [Overview of aliases](https://help.aliyun.com/document_detail/68522.html). // // This parameter is required. // // example: // // 0b30658a-ed1a-4922-b8f7-a673ca9c**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` }
func (CreateKeyVersionRequest) GoString ¶
func (s CreateKeyVersionRequest) GoString() string
func (*CreateKeyVersionRequest) SetKeyId ¶
func (s *CreateKeyVersionRequest) SetKeyId(v string) *CreateKeyVersionRequest
func (CreateKeyVersionRequest) String ¶
func (s CreateKeyVersionRequest) String() string
type CreateKeyVersionResponse ¶
type CreateKeyVersionResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateKeyVersionResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateKeyVersionResponse) GoString ¶
func (s CreateKeyVersionResponse) GoString() string
func (*CreateKeyVersionResponse) SetBody ¶
func (s *CreateKeyVersionResponse) SetBody(v *CreateKeyVersionResponseBody) *CreateKeyVersionResponse
func (*CreateKeyVersionResponse) SetHeaders ¶
func (s *CreateKeyVersionResponse) SetHeaders(v map[string]*string) *CreateKeyVersionResponse
func (*CreateKeyVersionResponse) SetStatusCode ¶
func (s *CreateKeyVersionResponse) SetStatusCode(v int32) *CreateKeyVersionResponse
func (CreateKeyVersionResponse) String ¶
func (s CreateKeyVersionResponse) String() string
type CreateKeyVersionResponseBody ¶
type CreateKeyVersionResponseBody struct { // The metadata of the version. KeyVersion *CreateKeyVersionResponseBodyKeyVersion `json:"KeyVersion,omitempty" xml:"KeyVersion,omitempty" type:"Struct"` // The ID of the request. // // example: // // b96f250a-4b75-498c-91be-22c6928f85be RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (CreateKeyVersionResponseBody) GoString ¶
func (s CreateKeyVersionResponseBody) GoString() string
func (*CreateKeyVersionResponseBody) SetKeyVersion ¶
func (s *CreateKeyVersionResponseBody) SetKeyVersion(v *CreateKeyVersionResponseBodyKeyVersion) *CreateKeyVersionResponseBody
func (*CreateKeyVersionResponseBody) SetRequestId ¶
func (s *CreateKeyVersionResponseBody) SetRequestId(v string) *CreateKeyVersionResponseBody
func (CreateKeyVersionResponseBody) String ¶
func (s CreateKeyVersionResponseBody) String() string
type CreateKeyVersionResponseBodyKeyVersion ¶
type CreateKeyVersionResponseBodyKeyVersion struct { // The date and time when the version was created. The time is displayed in UTC. // // example: // // 2019-08-02T10:38:27Z CreationDate *string `json:"CreationDate,omitempty" xml:"CreationDate,omitempty"` // The ID of the CMK. The ID must be globally unique. // // example: // // 0b30658a-ed1a-4922-b8f7-a673ca9c**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The ID of the version. // // example: // // c0a3d5dc-0b47-4199-a050-b289349a**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` }
func (CreateKeyVersionResponseBodyKeyVersion) GoString ¶
func (s CreateKeyVersionResponseBodyKeyVersion) GoString() string
func (*CreateKeyVersionResponseBodyKeyVersion) SetCreationDate ¶
func (s *CreateKeyVersionResponseBodyKeyVersion) SetCreationDate(v string) *CreateKeyVersionResponseBodyKeyVersion
func (*CreateKeyVersionResponseBodyKeyVersion) SetKeyId ¶
func (s *CreateKeyVersionResponseBodyKeyVersion) SetKeyId(v string) *CreateKeyVersionResponseBodyKeyVersion
func (*CreateKeyVersionResponseBodyKeyVersion) SetKeyVersionId ¶
func (s *CreateKeyVersionResponseBodyKeyVersion) SetKeyVersionId(v string) *CreateKeyVersionResponseBodyKeyVersion
func (CreateKeyVersionResponseBodyKeyVersion) String ¶
func (s CreateKeyVersionResponseBodyKeyVersion) String() string
type CreateNetworkRuleRequest ¶ added in v3.1.0
type CreateNetworkRuleRequest struct { // The description. // // example: // // networkrule description Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The name of the access control rule. // // This parameter is required. // // example: // // networkrule_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // The private IP address or private CIDR block. Separate multiple items with commas (,). // // example: // // ["192.10.XX.XX","192.168.XX.XX/24"] SourcePrivateIp *string `json:"SourcePrivateIp,omitempty" xml:"SourcePrivateIp,omitempty"` // The network type. // // Only private IP addresses are supported. Set the value to Private. // // This parameter is required. // // example: // // Private Type *string `json:"Type,omitempty" xml:"Type,omitempty"` }
func (CreateNetworkRuleRequest) GoString ¶ added in v3.1.0
func (s CreateNetworkRuleRequest) GoString() string
func (*CreateNetworkRuleRequest) SetDescription ¶ added in v3.1.0
func (s *CreateNetworkRuleRequest) SetDescription(v string) *CreateNetworkRuleRequest
func (*CreateNetworkRuleRequest) SetName ¶ added in v3.1.0
func (s *CreateNetworkRuleRequest) SetName(v string) *CreateNetworkRuleRequest
func (*CreateNetworkRuleRequest) SetSourcePrivateIp ¶ added in v3.1.0
func (s *CreateNetworkRuleRequest) SetSourcePrivateIp(v string) *CreateNetworkRuleRequest
func (*CreateNetworkRuleRequest) SetType ¶ added in v3.1.0
func (s *CreateNetworkRuleRequest) SetType(v string) *CreateNetworkRuleRequest
func (CreateNetworkRuleRequest) String ¶ added in v3.1.0
func (s CreateNetworkRuleRequest) String() string
type CreateNetworkRuleResponse ¶ added in v3.1.0
type CreateNetworkRuleResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateNetworkRuleResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateNetworkRuleResponse) GoString ¶ added in v3.1.0
func (s CreateNetworkRuleResponse) GoString() string
func (*CreateNetworkRuleResponse) SetBody ¶ added in v3.1.0
func (s *CreateNetworkRuleResponse) SetBody(v *CreateNetworkRuleResponseBody) *CreateNetworkRuleResponse
func (*CreateNetworkRuleResponse) SetHeaders ¶ added in v3.1.0
func (s *CreateNetworkRuleResponse) SetHeaders(v map[string]*string) *CreateNetworkRuleResponse
func (*CreateNetworkRuleResponse) SetStatusCode ¶ added in v3.1.0
func (s *CreateNetworkRuleResponse) SetStatusCode(v int32) *CreateNetworkRuleResponse
func (CreateNetworkRuleResponse) String ¶ added in v3.1.0
func (s CreateNetworkRuleResponse) String() string
type CreateNetworkRuleResponseBody ¶ added in v3.1.0
type CreateNetworkRuleResponseBody struct { // The ARN of the access control rule. // // example: // // acs:kms:cn-hangzhou:119285303511****:network/networkrule_test Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"` // The description. // // example: // // networkrule description Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The name of the access control rule. // // example: // // networkrule_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 3bf02f7a-015b-4f93-be0f-cc043fda2dd3 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The private IP address or private CIDR block. // // example: // // ["192.10.XX.XX","192.168.XX.XX/24"] SourcePrivateIp *string `json:"SourcePrivateIp,omitempty" xml:"SourcePrivateIp,omitempty"` // The network type. // // example: // // Private Type *string `json:"Type,omitempty" xml:"Type,omitempty"` }
func (CreateNetworkRuleResponseBody) GoString ¶ added in v3.1.0
func (s CreateNetworkRuleResponseBody) GoString() string
func (*CreateNetworkRuleResponseBody) SetArn ¶ added in v3.1.0
func (s *CreateNetworkRuleResponseBody) SetArn(v string) *CreateNetworkRuleResponseBody
func (*CreateNetworkRuleResponseBody) SetDescription ¶ added in v3.1.0
func (s *CreateNetworkRuleResponseBody) SetDescription(v string) *CreateNetworkRuleResponseBody
func (*CreateNetworkRuleResponseBody) SetName ¶ added in v3.1.0
func (s *CreateNetworkRuleResponseBody) SetName(v string) *CreateNetworkRuleResponseBody
func (*CreateNetworkRuleResponseBody) SetRequestId ¶ added in v3.1.0
func (s *CreateNetworkRuleResponseBody) SetRequestId(v string) *CreateNetworkRuleResponseBody
func (*CreateNetworkRuleResponseBody) SetSourcePrivateIp ¶ added in v3.1.0
func (s *CreateNetworkRuleResponseBody) SetSourcePrivateIp(v string) *CreateNetworkRuleResponseBody
func (*CreateNetworkRuleResponseBody) SetType ¶ added in v3.1.0
func (s *CreateNetworkRuleResponseBody) SetType(v string) *CreateNetworkRuleResponseBody
func (CreateNetworkRuleResponseBody) String ¶ added in v3.1.0
func (s CreateNetworkRuleResponseBody) String() string
type CreatePolicyRequest ¶ added in v3.1.0
type CreatePolicyRequest struct { // The name of the access control rule. // // > For more information about how to query created access control rules, see [ListNetworkRules](https://help.aliyun.com/document_detail/2539433.html). // // example: // // {"NetworkRules":["kst-hzz62ee817bvyyr5x****.efkd","kst-hzz62ee817bvyyr5x****.eyyp"]} AccessControlRules *string `json:"AccessControlRules,omitempty" xml:"AccessControlRules,omitempty"` // The description. // // example: // // policy description Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The scope of the permission policy. You need to specify the KMS instance that you want to access. // // example: // // kst-hzz634e67d126u9p9**** KmsInstance *string `json:"KmsInstance,omitempty" xml:"KmsInstance,omitempty"` // The name of the permission policy. // // This parameter is required. // // example: // // policy_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // The operations that can be performed. Valid values: // // - RbacPermission/Template/CryptoServiceKeyUser: allows you to perform cryptographic operations. // // - RbacPermission/Template/CryptoServiceSecretUser: allows you to perform secret-related operations. // // You can select both. // // This parameter is required. // // example: // // ["RbacPermission/Template/CryptoServiceKeyUser", "RbacPermission/Template/CryptoServiceSecretUser"] Permissions *string `json:"Permissions,omitempty" xml:"Permissions,omitempty"` // The key and secret that are allowed to access. // // - Key: Enter a key in the `key/${KeyId}` format. To allow access to all keys of a KMS instance, enter key/\\*. // // - Secret: Enter a secret in the `secret/${SecretName}` format. To allow access to all secrets of a KMS instance, enter secret/\\*. // // This parameter is required. // // example: // // ["secret/acs/ram/user/ram-secret", "secret/acs/ram/user/acr-master", "key/key-hzz63d9c8d3dfv8cv****"] Resources *string `json:"Resources,omitempty" xml:"Resources,omitempty"` }
func (CreatePolicyRequest) GoString ¶ added in v3.1.0
func (s CreatePolicyRequest) GoString() string
func (*CreatePolicyRequest) SetAccessControlRules ¶ added in v3.1.0
func (s *CreatePolicyRequest) SetAccessControlRules(v string) *CreatePolicyRequest
func (*CreatePolicyRequest) SetDescription ¶ added in v3.1.0
func (s *CreatePolicyRequest) SetDescription(v string) *CreatePolicyRequest
func (*CreatePolicyRequest) SetKmsInstance ¶ added in v3.1.0
func (s *CreatePolicyRequest) SetKmsInstance(v string) *CreatePolicyRequest
func (*CreatePolicyRequest) SetName ¶ added in v3.1.0
func (s *CreatePolicyRequest) SetName(v string) *CreatePolicyRequest
func (*CreatePolicyRequest) SetPermissions ¶ added in v3.1.0
func (s *CreatePolicyRequest) SetPermissions(v string) *CreatePolicyRequest
func (*CreatePolicyRequest) SetResources ¶ added in v3.1.0
func (s *CreatePolicyRequest) SetResources(v string) *CreatePolicyRequest
func (CreatePolicyRequest) String ¶ added in v3.1.0
func (s CreatePolicyRequest) String() string
type CreatePolicyResponse ¶ added in v3.1.0
type CreatePolicyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreatePolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreatePolicyResponse) GoString ¶ added in v3.1.0
func (s CreatePolicyResponse) GoString() string
func (*CreatePolicyResponse) SetBody ¶ added in v3.1.0
func (s *CreatePolicyResponse) SetBody(v *CreatePolicyResponseBody) *CreatePolicyResponse
func (*CreatePolicyResponse) SetHeaders ¶ added in v3.1.0
func (s *CreatePolicyResponse) SetHeaders(v map[string]*string) *CreatePolicyResponse
func (*CreatePolicyResponse) SetStatusCode ¶ added in v3.1.0
func (s *CreatePolicyResponse) SetStatusCode(v int32) *CreatePolicyResponse
func (CreatePolicyResponse) String ¶ added in v3.1.0
func (s CreatePolicyResponse) String() string
type CreatePolicyResponseBody ¶ added in v3.1.0
type CreatePolicyResponseBody struct { // The name of the access control rule. // // example: // // {"NetworkRules":["kst-hzz62ee817bvyyr5x****.efkd","kst-hzz62ee817bvyyr5x****.eyyp"]} AccessControlRules *string `json:"AccessControlRules,omitempty" xml:"AccessControlRules,omitempty"` // The ARN of the permission policy. // // example: // // acs:kms:cn-hangzhou:119285303511****:policy/policy_test Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"` // The description. // // example: // // policy description Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The scope of the permission policy. // // example: // // kst-hzz634e67d126u9p9**** KmsInstance *string `json:"KmsInstance,omitempty" xml:"KmsInstance,omitempty"` // The name of the permission policy. // // example: // // policy_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // The operations that can be performed. // // example: // // ["RbacPermission/Template/CryptoServiceKeyUser", "RbacPermission/Template/CryptoServiceSecretUser"] Permissions *string `json:"Permissions,omitempty" xml:"Permissions,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 3bf02f7a-015b-4f34-be0f-c4543fda2d33 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The key and secret that are allowed to access. // // - `key/*` indicates that all keys of the KMS instance can be accessed. // // - `secret/*` indicates all secrets of the KMS instance can be accessed. // // example: // // ["secret/acs/ram/user/ram-secret", "secret/acs/ram/user/acr-master", "key/key-hzz63d9c8d3dfv8cv****"] Resources *string `json:"Resources,omitempty" xml:"Resources,omitempty"` }
func (CreatePolicyResponseBody) GoString ¶ added in v3.1.0
func (s CreatePolicyResponseBody) GoString() string
func (*CreatePolicyResponseBody) SetAccessControlRules ¶ added in v3.1.0
func (s *CreatePolicyResponseBody) SetAccessControlRules(v string) *CreatePolicyResponseBody
func (*CreatePolicyResponseBody) SetArn ¶ added in v3.1.0
func (s *CreatePolicyResponseBody) SetArn(v string) *CreatePolicyResponseBody
func (*CreatePolicyResponseBody) SetDescription ¶ added in v3.1.0
func (s *CreatePolicyResponseBody) SetDescription(v string) *CreatePolicyResponseBody
func (*CreatePolicyResponseBody) SetKmsInstance ¶ added in v3.1.0
func (s *CreatePolicyResponseBody) SetKmsInstance(v string) *CreatePolicyResponseBody
func (*CreatePolicyResponseBody) SetName ¶ added in v3.1.0
func (s *CreatePolicyResponseBody) SetName(v string) *CreatePolicyResponseBody
func (*CreatePolicyResponseBody) SetPermissions ¶ added in v3.1.0
func (s *CreatePolicyResponseBody) SetPermissions(v string) *CreatePolicyResponseBody
func (*CreatePolicyResponseBody) SetRequestId ¶ added in v3.1.0
func (s *CreatePolicyResponseBody) SetRequestId(v string) *CreatePolicyResponseBody
func (*CreatePolicyResponseBody) SetResources ¶ added in v3.1.0
func (s *CreatePolicyResponseBody) SetResources(v string) *CreatePolicyResponseBody
func (CreatePolicyResponseBody) String ¶ added in v3.1.0
func (s CreatePolicyResponseBody) String() string
type CreateSecretRequest ¶
type CreateSecretRequest struct { // The version number of the secret. // // example: // // kst-bjj62d8f5e0sgtx8h**** DKMSInstanceId *string `json:"DKMSInstanceId,omitempty" xml:"DKMSInstanceId,omitempty"` // Specifies whether to enable automatic rotation. Valid values: // // - true: specifies to enable automatic rotation. // // - false: specifies to disable automatic rotation. This is the default value. // // > This parameter is valid if you set the SecretType parameter to Rds, RAMCredentials, or ECS. // // example: // // mydbinfo Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // Indicates whether automatic rotation is enabled. Valid values: // // - Enabled: indicates that automatic rotation is enabled. // // - Disabled: indicates that automatic rotation is disabled. // // - Invalid: indicates that the status of automatic rotation is abnormal. In this case, Secrets Manager cannot automatically rotate the secret. // // > This parameter is returned if you set the SecretType parameter to Rds, RAMCredentials, or ECS. // // example: // // true EnableAutomaticRotation *bool `json:"EnableAutomaticRotation,omitempty" xml:"EnableAutomaticRotation,omitempty"` // The description of the secret. // // example: // // 00aa68af-2c02-4f68-95fe-3435d330**** EncryptionKeyId *string `json:"EncryptionKeyId,omitempty" xml:"EncryptionKeyId,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // {"SecretSubType":"SingleUser", "DBInstanceId":"rm-bp1b3dd3a506e****" ,"CustomData":{}} ExtendedConfig map[string]interface{} `json:"ExtendedConfig,omitempty" xml:"ExtendedConfig,omitempty"` Policy *string `json:"Policy,omitempty" xml:"Policy,omitempty"` // The name of the secret. // // example: // // 30d RotationInterval *string `json:"RotationInterval,omitempty" xml:"RotationInterval,omitempty"` // The tags of the secret. // // This parameter is required. // // example: // // The type of the secret. Valid values: // // - Generic: specifies a generic secret. // // - Rds: specifies a managed ApsaraDB RDS secret. // // - RAMCredentials: specifies a managed RAM secret. // // - ECS: specifies a managed ECS secret. SecretData *string `json:"SecretData,omitempty" xml:"SecretData,omitempty"` // The extended configuration of the secret. This parameter specifies the properties of the secret of the specific type. The description can be up to 1,024 characters in length. // // - If you set the SecretType parameter to Generic, you do not need to configure this parameter. // // - If you set the SecretType parameter to Rds, configure the following fields for the ExtendedConfig parameter: // // - SecretSubType: required. The subtype of the secret. Valid values: // // - SingleUser: Secrets Manager manages the ApsaraDB RDS secret in single-account mode. When the secret is rotated, the password of the specified account is reset to a new random password. // // - DoubleUsers: Secrets Manager manages the ApsaraDB RDS secret in dual-account mode. One account is referenced by the ACSCurrent version, and the other account is referenced by the ACSPrevious version. When the secret is rotated, the password of the account referenced by the ACSPrevious version is reset to a new random password. Then, Secrets Manager switches the referenced accounts between the ACSCurrent and ACSPrevious versions. // // - DBInstanceId: required. The ApsaraDB RDS instance to which the ApsaraDB RDS account belongs. // // - CustomData: optional. The custom data. The value is a collection of key-value pairs in the JSON format. Up to 10 key-value pairs can be specified. Separate multiple key-value pairs with commas (,). Example: `{"Key1": "v1", "fds":"fdsf"}`. The default value is a pair of empty braces (`{}`). // // - If you set the SecretType parameter to RAMCredentials, configure the following fields for the ExtendedConfig parameter: // // - SecretSubType: required. The subtype of the secret. Set the value to RamUserAccessKey. // // - UserName: required. The name of the RAM user. // // - CustomData: optional. The custom data. The value is a collection of key-value pairs in the JSON format. Up to 10 key-value pairs can be specified. Separate multiple key-value pairs with commas (,). The default value is a pair of empty braces (`{}`). // // - If you set the SecretType parameter to ECS, configure the following fields for the ExtendedConfig parameter: // // - SecretSubType: required. The subtype of the secret. Valid values: // // - Password: the password that is used to log on to the ECS instance. // // - SSHKey: the SSH public key and private key that are used to log on to the ECS instance. // // - RegionId: required. The ID of the region in which the ECS instance resides. // // - InstanceId: required. The ID of the ECS instance. // // - CustomData: optional. The custom data. The value is a collection of key-value pairs in the JSON format. Up to 10 key-value pairs can be specified. Separate multiple key-value pairs with commas (,). The default value is a pair of empty braces (`{}`). // // > This parameter is required if you set the SecretType parameter to Rds, RAMCredentials, or ECS. // // example: // // text SecretDataType *string `json:"SecretDataType,omitempty" xml:"SecretDataType,omitempty"` // The value of the secret that you want to create. Secrets Manager encrypts the secret value and stores the encrypted value in the initial version. // // - If you set the SecretType parameter to Generic that indicates a generic secret, you can customize the secret value. // // - If you set the SecretType parameter to Rds that indicates a managed ApsaraDB RDS secret, the secret value must be in the format of `{"Accounts":[{"AccountName":"","AccountPassword":""}]}`. In the preceding format, `AccountName` indicates the username of the account that is used to connect to your ApsaraDB RDS instance, and `AccountPassword` specifies the password of the account. // // - If you set the SecretType parameter to RAMCredentials that indicates a managed RAM secret, the secret value must be in the format of `{"AccessKeys":[{"AccessKeyId":"","AccessKeySecret":"",}]}`. In the preceding format, `AccessKeyId` indicates the AccessKey ID of the RAM user and `AccessKeySecret` specifies the AccessKey secret of the RAM user. You must specify all the AccessKey pairs of the RAM user. // // - If you set the SecretType parameter to ECS that indicates a managed ECS secret, the secret value must be in one of the following formats: // // - `{"UserName":"","Password": ""}`: In the format, `UserName` specifies the username that is used to log on to the ECS instance, and `Password` specifies the password that is used to log on to the ECS instance. // // - `{"UserName":"","PublicKey": "", "PrivateKey": ""}`: In the format, `PublicKey` indicates the SSH public key that is used to log on to the ECS instance, and `PrivateKey` specifies the SSH private key that is used to log on to the ECS instance. // // This parameter is required. // // example: // // mydbconninfo SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` // The ID of the dedicated KMS instance. // // example: // // Rds SecretType *string `json:"SecretType,omitempty" xml:"SecretType,omitempty"` // The interval for automatic rotation. Valid values: 6 hours to 8,760 hours (365 days). // // The value is in the `integer[unit]` format. // // The unit can be d (day), h (hour), m (minute), or s (second). For example, both 7d and 604800s indicate a seven-day interval. // // > This parameter is required if you set the EnableAutomaticRotation parameter to true. This parameter is ignored if you set the EnableAutomaticRotation parameter to false or if the EnableAutomaticRotation parameter is not configured. // // example: // // [{\\"TagKey\\":\\"key1\\",\\"TagValue\\":\\"val1\\"},{\\"TagKey\\":\\"key2\\",\\"TagValue\\":\\"val2\\"}] Tags *string `json:"Tags,omitempty" xml:"Tags,omitempty"` // The type of the secret value. Valid values: // // - text // // - binary // // > If you set the SecretType parameter to Rds, RAMCredentials, or ECS, the SecretDataType parameter must be set to text. // // This parameter is required. // // example: // // v1 VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"` }
func (CreateSecretRequest) GoString ¶
func (s CreateSecretRequest) GoString() string
func (*CreateSecretRequest) SetDKMSInstanceId ¶
func (s *CreateSecretRequest) SetDKMSInstanceId(v string) *CreateSecretRequest
func (*CreateSecretRequest) SetDescription ¶
func (s *CreateSecretRequest) SetDescription(v string) *CreateSecretRequest
func (*CreateSecretRequest) SetEnableAutomaticRotation ¶
func (s *CreateSecretRequest) SetEnableAutomaticRotation(v bool) *CreateSecretRequest
func (*CreateSecretRequest) SetEncryptionKeyId ¶
func (s *CreateSecretRequest) SetEncryptionKeyId(v string) *CreateSecretRequest
func (*CreateSecretRequest) SetExtendedConfig ¶
func (s *CreateSecretRequest) SetExtendedConfig(v map[string]interface{}) *CreateSecretRequest
func (*CreateSecretRequest) SetPolicy ¶ added in v3.2.0
func (s *CreateSecretRequest) SetPolicy(v string) *CreateSecretRequest
func (*CreateSecretRequest) SetRotationInterval ¶
func (s *CreateSecretRequest) SetRotationInterval(v string) *CreateSecretRequest
func (*CreateSecretRequest) SetSecretData ¶
func (s *CreateSecretRequest) SetSecretData(v string) *CreateSecretRequest
func (*CreateSecretRequest) SetSecretDataType ¶
func (s *CreateSecretRequest) SetSecretDataType(v string) *CreateSecretRequest
func (*CreateSecretRequest) SetSecretName ¶
func (s *CreateSecretRequest) SetSecretName(v string) *CreateSecretRequest
func (*CreateSecretRequest) SetSecretType ¶
func (s *CreateSecretRequest) SetSecretType(v string) *CreateSecretRequest
func (*CreateSecretRequest) SetTags ¶
func (s *CreateSecretRequest) SetTags(v string) *CreateSecretRequest
func (*CreateSecretRequest) SetVersionId ¶
func (s *CreateSecretRequest) SetVersionId(v string) *CreateSecretRequest
func (CreateSecretRequest) String ¶
func (s CreateSecretRequest) String() string
type CreateSecretResponse ¶
type CreateSecretResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateSecretResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateSecretResponse) GoString ¶
func (s CreateSecretResponse) GoString() string
func (*CreateSecretResponse) SetBody ¶
func (s *CreateSecretResponse) SetBody(v *CreateSecretResponseBody) *CreateSecretResponse
func (*CreateSecretResponse) SetHeaders ¶
func (s *CreateSecretResponse) SetHeaders(v map[string]*string) *CreateSecretResponse
func (*CreateSecretResponse) SetStatusCode ¶
func (s *CreateSecretResponse) SetStatusCode(v int32) *CreateSecretResponse
func (CreateSecretResponse) String ¶
func (s CreateSecretResponse) String() string
type CreateSecretResponseBody ¶
type CreateSecretResponseBody struct { // example: // // acs:kms:cn-hangzhou:154035569884****:secret/mydbconninfo Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"` // The type of the secret. Valid values: // // - Generic: indicates a generic secret. // // - Rds: indicates a managed ApsaraDB RDS secret. // // - RAMCredentials: indicates a managed RAM secret. // // - ECS: indicates a managed ECS secret. // // example: // // Enabled AutomaticRotation *string `json:"AutomaticRotation,omitempty" xml:"AutomaticRotation,omitempty"` // example: // // kst-bjj62d8f5e0sgtx8h**** DKMSInstanceId *string `json:"DKMSInstanceId,omitempty" xml:"DKMSInstanceId,omitempty"` // example: // // {\\"SecretSubType\\":\\"SingleUser\\", \\"DBInstanceId\\":\\"rm-uf667446pc955****\\", \\"CustomData\\":{} } ExtendedConfig *string `json:"ExtendedConfig,omitempty" xml:"ExtendedConfig,omitempty"` // The extended configuration of the secret. // // > This parameter is returned if you set the SecretType parameter to Rds, RAMCredentials, or ECS. // // example: // // 2022-07-06T18:22:03Z NextRotationDate *string `json:"NextRotationDate,omitempty" xml:"NextRotationDate,omitempty"` // The time when the next rotation will be performed. // // > This parameter is returned if automatic rotation is enabled. // // example: // // 3bf02f7a-015b-4f93-be0f-cc043fda2dd3 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // example: // // 604800s RotationInterval *string `json:"RotationInterval,omitempty" xml:"RotationInterval,omitempty"` // The interval for automatic rotation. // // The value is in the `integer[unit]` format. The value of the `unit` field is fixed as s. For example, if the value is 604800s, automatic rotation is performed at a 7-day interval. // // > This parameter is returned if automatic rotation is enabled. // // example: // // mydbconninfo SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` // The ID of the dedicated KMS instance. // // example: // // Rds SecretType *string `json:"SecretType,omitempty" xml:"SecretType,omitempty"` // The Alibaba Cloud Resource Name (ARN) of the secret. // // example: // // v1 VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"` }
func (CreateSecretResponseBody) GoString ¶
func (s CreateSecretResponseBody) GoString() string
func (*CreateSecretResponseBody) SetArn ¶
func (s *CreateSecretResponseBody) SetArn(v string) *CreateSecretResponseBody
func (*CreateSecretResponseBody) SetAutomaticRotation ¶
func (s *CreateSecretResponseBody) SetAutomaticRotation(v string) *CreateSecretResponseBody
func (*CreateSecretResponseBody) SetDKMSInstanceId ¶
func (s *CreateSecretResponseBody) SetDKMSInstanceId(v string) *CreateSecretResponseBody
func (*CreateSecretResponseBody) SetExtendedConfig ¶
func (s *CreateSecretResponseBody) SetExtendedConfig(v string) *CreateSecretResponseBody
func (*CreateSecretResponseBody) SetNextRotationDate ¶
func (s *CreateSecretResponseBody) SetNextRotationDate(v string) *CreateSecretResponseBody
func (*CreateSecretResponseBody) SetRequestId ¶
func (s *CreateSecretResponseBody) SetRequestId(v string) *CreateSecretResponseBody
func (*CreateSecretResponseBody) SetRotationInterval ¶
func (s *CreateSecretResponseBody) SetRotationInterval(v string) *CreateSecretResponseBody
func (*CreateSecretResponseBody) SetSecretName ¶
func (s *CreateSecretResponseBody) SetSecretName(v string) *CreateSecretResponseBody
func (*CreateSecretResponseBody) SetSecretType ¶
func (s *CreateSecretResponseBody) SetSecretType(v string) *CreateSecretResponseBody
func (*CreateSecretResponseBody) SetVersionId ¶
func (s *CreateSecretResponseBody) SetVersionId(v string) *CreateSecretResponseBody
func (CreateSecretResponseBody) String ¶
func (s CreateSecretResponseBody) String() string
type CreateSecretShrinkRequest ¶
type CreateSecretShrinkRequest struct { // The version number of the secret. // // example: // // kst-bjj62d8f5e0sgtx8h**** DKMSInstanceId *string `json:"DKMSInstanceId,omitempty" xml:"DKMSInstanceId,omitempty"` // Specifies whether to enable automatic rotation. Valid values: // // - true: specifies to enable automatic rotation. // // - false: specifies to disable automatic rotation. This is the default value. // // > This parameter is valid if you set the SecretType parameter to Rds, RAMCredentials, or ECS. // // example: // // mydbinfo Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // Indicates whether automatic rotation is enabled. Valid values: // // - Enabled: indicates that automatic rotation is enabled. // // - Disabled: indicates that automatic rotation is disabled. // // - Invalid: indicates that the status of automatic rotation is abnormal. In this case, Secrets Manager cannot automatically rotate the secret. // // > This parameter is returned if you set the SecretType parameter to Rds, RAMCredentials, or ECS. // // example: // // true EnableAutomaticRotation *bool `json:"EnableAutomaticRotation,omitempty" xml:"EnableAutomaticRotation,omitempty"` // The description of the secret. // // example: // // 00aa68af-2c02-4f68-95fe-3435d330**** EncryptionKeyId *string `json:"EncryptionKeyId,omitempty" xml:"EncryptionKeyId,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // {"SecretSubType":"SingleUser", "DBInstanceId":"rm-bp1b3dd3a506e****" ,"CustomData":{}} ExtendedConfigShrink *string `json:"ExtendedConfig,omitempty" xml:"ExtendedConfig,omitempty"` Policy *string `json:"Policy,omitempty" xml:"Policy,omitempty"` // The name of the secret. // // example: // // 30d RotationInterval *string `json:"RotationInterval,omitempty" xml:"RotationInterval,omitempty"` // The tags of the secret. // // This parameter is required. // // example: // // The type of the secret. Valid values: // // - Generic: specifies a generic secret. // // - Rds: specifies a managed ApsaraDB RDS secret. // // - RAMCredentials: specifies a managed RAM secret. // // - ECS: specifies a managed ECS secret. SecretData *string `json:"SecretData,omitempty" xml:"SecretData,omitempty"` // The extended configuration of the secret. This parameter specifies the properties of the secret of the specific type. The description can be up to 1,024 characters in length. // // - If you set the SecretType parameter to Generic, you do not need to configure this parameter. // // - If you set the SecretType parameter to Rds, configure the following fields for the ExtendedConfig parameter: // // - SecretSubType: required. The subtype of the secret. Valid values: // // - SingleUser: Secrets Manager manages the ApsaraDB RDS secret in single-account mode. When the secret is rotated, the password of the specified account is reset to a new random password. // // - DoubleUsers: Secrets Manager manages the ApsaraDB RDS secret in dual-account mode. One account is referenced by the ACSCurrent version, and the other account is referenced by the ACSPrevious version. When the secret is rotated, the password of the account referenced by the ACSPrevious version is reset to a new random password. Then, Secrets Manager switches the referenced accounts between the ACSCurrent and ACSPrevious versions. // // - DBInstanceId: required. The ApsaraDB RDS instance to which the ApsaraDB RDS account belongs. // // - CustomData: optional. The custom data. The value is a collection of key-value pairs in the JSON format. Up to 10 key-value pairs can be specified. Separate multiple key-value pairs with commas (,). Example: `{"Key1": "v1", "fds":"fdsf"}`. The default value is a pair of empty braces (`{}`). // // - If you set the SecretType parameter to RAMCredentials, configure the following fields for the ExtendedConfig parameter: // // - SecretSubType: required. The subtype of the secret. Set the value to RamUserAccessKey. // // - UserName: required. The name of the RAM user. // // - CustomData: optional. The custom data. The value is a collection of key-value pairs in the JSON format. Up to 10 key-value pairs can be specified. Separate multiple key-value pairs with commas (,). The default value is a pair of empty braces (`{}`). // // - If you set the SecretType parameter to ECS, configure the following fields for the ExtendedConfig parameter: // // - SecretSubType: required. The subtype of the secret. Valid values: // // - Password: the password that is used to log on to the ECS instance. // // - SSHKey: the SSH public key and private key that are used to log on to the ECS instance. // // - RegionId: required. The ID of the region in which the ECS instance resides. // // - InstanceId: required. The ID of the ECS instance. // // - CustomData: optional. The custom data. The value is a collection of key-value pairs in the JSON format. Up to 10 key-value pairs can be specified. Separate multiple key-value pairs with commas (,). The default value is a pair of empty braces (`{}`). // // > This parameter is required if you set the SecretType parameter to Rds, RAMCredentials, or ECS. // // example: // // text SecretDataType *string `json:"SecretDataType,omitempty" xml:"SecretDataType,omitempty"` // The value of the secret that you want to create. Secrets Manager encrypts the secret value and stores the encrypted value in the initial version. // // - If you set the SecretType parameter to Generic that indicates a generic secret, you can customize the secret value. // // - If you set the SecretType parameter to Rds that indicates a managed ApsaraDB RDS secret, the secret value must be in the format of `{"Accounts":[{"AccountName":"","AccountPassword":""}]}`. In the preceding format, `AccountName` indicates the username of the account that is used to connect to your ApsaraDB RDS instance, and `AccountPassword` specifies the password of the account. // // - If you set the SecretType parameter to RAMCredentials that indicates a managed RAM secret, the secret value must be in the format of `{"AccessKeys":[{"AccessKeyId":"","AccessKeySecret":"",}]}`. In the preceding format, `AccessKeyId` indicates the AccessKey ID of the RAM user and `AccessKeySecret` specifies the AccessKey secret of the RAM user. You must specify all the AccessKey pairs of the RAM user. // // - If you set the SecretType parameter to ECS that indicates a managed ECS secret, the secret value must be in one of the following formats: // // - `{"UserName":"","Password": ""}`: In the format, `UserName` specifies the username that is used to log on to the ECS instance, and `Password` specifies the password that is used to log on to the ECS instance. // // - `{"UserName":"","PublicKey": "", "PrivateKey": ""}`: In the format, `PublicKey` indicates the SSH public key that is used to log on to the ECS instance, and `PrivateKey` specifies the SSH private key that is used to log on to the ECS instance. // // This parameter is required. // // example: // // mydbconninfo SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` // The ID of the dedicated KMS instance. // // example: // // Rds SecretType *string `json:"SecretType,omitempty" xml:"SecretType,omitempty"` // The interval for automatic rotation. Valid values: 6 hours to 8,760 hours (365 days). // // The value is in the `integer[unit]` format. // // The unit can be d (day), h (hour), m (minute), or s (second). For example, both 7d and 604800s indicate a seven-day interval. // // > This parameter is required if you set the EnableAutomaticRotation parameter to true. This parameter is ignored if you set the EnableAutomaticRotation parameter to false or if the EnableAutomaticRotation parameter is not configured. // // example: // // [{\\"TagKey\\":\\"key1\\",\\"TagValue\\":\\"val1\\"},{\\"TagKey\\":\\"key2\\",\\"TagValue\\":\\"val2\\"}] Tags *string `json:"Tags,omitempty" xml:"Tags,omitempty"` // The type of the secret value. Valid values: // // - text // // - binary // // > If you set the SecretType parameter to Rds, RAMCredentials, or ECS, the SecretDataType parameter must be set to text. // // This parameter is required. // // example: // // v1 VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"` }
func (CreateSecretShrinkRequest) GoString ¶
func (s CreateSecretShrinkRequest) GoString() string
func (*CreateSecretShrinkRequest) SetDKMSInstanceId ¶
func (s *CreateSecretShrinkRequest) SetDKMSInstanceId(v string) *CreateSecretShrinkRequest
func (*CreateSecretShrinkRequest) SetDescription ¶
func (s *CreateSecretShrinkRequest) SetDescription(v string) *CreateSecretShrinkRequest
func (*CreateSecretShrinkRequest) SetEnableAutomaticRotation ¶
func (s *CreateSecretShrinkRequest) SetEnableAutomaticRotation(v bool) *CreateSecretShrinkRequest
func (*CreateSecretShrinkRequest) SetEncryptionKeyId ¶
func (s *CreateSecretShrinkRequest) SetEncryptionKeyId(v string) *CreateSecretShrinkRequest
func (*CreateSecretShrinkRequest) SetExtendedConfigShrink ¶
func (s *CreateSecretShrinkRequest) SetExtendedConfigShrink(v string) *CreateSecretShrinkRequest
func (*CreateSecretShrinkRequest) SetPolicy ¶ added in v3.2.0
func (s *CreateSecretShrinkRequest) SetPolicy(v string) *CreateSecretShrinkRequest
func (*CreateSecretShrinkRequest) SetRotationInterval ¶
func (s *CreateSecretShrinkRequest) SetRotationInterval(v string) *CreateSecretShrinkRequest
func (*CreateSecretShrinkRequest) SetSecretData ¶
func (s *CreateSecretShrinkRequest) SetSecretData(v string) *CreateSecretShrinkRequest
func (*CreateSecretShrinkRequest) SetSecretDataType ¶
func (s *CreateSecretShrinkRequest) SetSecretDataType(v string) *CreateSecretShrinkRequest
func (*CreateSecretShrinkRequest) SetSecretName ¶
func (s *CreateSecretShrinkRequest) SetSecretName(v string) *CreateSecretShrinkRequest
func (*CreateSecretShrinkRequest) SetSecretType ¶
func (s *CreateSecretShrinkRequest) SetSecretType(v string) *CreateSecretShrinkRequest
func (*CreateSecretShrinkRequest) SetTags ¶
func (s *CreateSecretShrinkRequest) SetTags(v string) *CreateSecretShrinkRequest
func (*CreateSecretShrinkRequest) SetVersionId ¶
func (s *CreateSecretShrinkRequest) SetVersionId(v string) *CreateSecretShrinkRequest
func (CreateSecretShrinkRequest) String ¶
func (s CreateSecretShrinkRequest) String() string
type DecryptRequest ¶
type DecryptRequest struct { // The ciphertext that you want to decrypt. // // You can generate the ciphertext by calling the following operations: // // - [GenerateDataKey](https://help.aliyun.com/document_detail/28948.html) // // - [Encrypt](https://help.aliyun.com/document_detail/28949.html) // // - [GenerateDataKeyWithoutPlaintext](https://help.aliyun.com/document_detail/134043.html) // // This parameter is required. // // example: // // DZhOWVmZDktM2QxNi00ODk0LWJkNGYtMWZjNDNmM2YyYWJmaaSl+TztSIMe43nbTH/Z1Wr4XfLftKhAciUmDQXuMRl4WTvKhxjMThjK**** CiphertextBlob *string `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // The JSON string that consists of key-value pairs. // // > If you specify the EncryptionContext parameter when you call the [GenerateDataKey](https://help.aliyun.com/document_detail/28948.html), [Encrypt](https://help.aliyun.com/document_detail/28949.html), or [GenerateDataKeyWithoutPlaintext](https://help.aliyun.com/document_detail/134043.html) operation, you must specify the same context when you call the Decrypt operation. For more information, see [EncryptionContext](https://help.aliyun.com/document_detail/42975.html). // // example: // // {"Example":"Example"} EncryptionContext map[string]interface{} `json:"EncryptionContext,omitempty" xml:"EncryptionContext,omitempty"` }
func (DecryptRequest) GoString ¶
func (s DecryptRequest) GoString() string
func (*DecryptRequest) SetCiphertextBlob ¶
func (s *DecryptRequest) SetCiphertextBlob(v string) *DecryptRequest
func (*DecryptRequest) SetDryRun ¶ added in v3.2.2
func (s *DecryptRequest) SetDryRun(v string) *DecryptRequest
func (*DecryptRequest) SetEncryptionContext ¶
func (s *DecryptRequest) SetEncryptionContext(v map[string]interface{}) *DecryptRequest
func (DecryptRequest) String ¶
func (s DecryptRequest) String() string
type DecryptResponse ¶
type DecryptResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DecryptResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DecryptResponse) GoString ¶
func (s DecryptResponse) GoString() string
func (*DecryptResponse) SetBody ¶
func (s *DecryptResponse) SetBody(v *DecryptResponseBody) *DecryptResponse
func (*DecryptResponse) SetHeaders ¶
func (s *DecryptResponse) SetHeaders(v map[string]*string) *DecryptResponse
func (*DecryptResponse) SetStatusCode ¶
func (s *DecryptResponse) SetStatusCode(v int32) *DecryptResponse
func (DecryptResponse) String ¶
func (s DecryptResponse) String() string
type DecryptResponseBody ¶
type DecryptResponseBody struct { // The ID of the customer master key (CMK) that is used to decrypt the ciphertext. // // It is the GUID of the CMK. // // example: // // 202b9877-5a25-46e3-a763-e20791b5**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The ID of the CMK version that is used to decrypt the ciphertext. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // The plaintext that is generated after decryption. // // example: // // tRYXuCwgja12xxO1N/gZERDDCLw9doZEQiPDk/Bv**** Plaintext *string `json:"Plaintext,omitempty" xml:"Plaintext,omitempty"` // The ID of the request. // // example: // // 207596a2-36d3-4840-b1bd-f87044699bd7 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DecryptResponseBody) GoString ¶
func (s DecryptResponseBody) GoString() string
func (*DecryptResponseBody) SetKeyId ¶
func (s *DecryptResponseBody) SetKeyId(v string) *DecryptResponseBody
func (*DecryptResponseBody) SetKeyVersionId ¶
func (s *DecryptResponseBody) SetKeyVersionId(v string) *DecryptResponseBody
func (*DecryptResponseBody) SetPlaintext ¶
func (s *DecryptResponseBody) SetPlaintext(v string) *DecryptResponseBody
func (*DecryptResponseBody) SetRequestId ¶
func (s *DecryptResponseBody) SetRequestId(v string) *DecryptResponseBody
func (DecryptResponseBody) String ¶
func (s DecryptResponseBody) String() string
type DecryptShrinkRequest ¶
type DecryptShrinkRequest struct { // The ciphertext that you want to decrypt. // // You can generate the ciphertext by calling the following operations: // // - [GenerateDataKey](https://help.aliyun.com/document_detail/28948.html) // // - [Encrypt](https://help.aliyun.com/document_detail/28949.html) // // - [GenerateDataKeyWithoutPlaintext](https://help.aliyun.com/document_detail/134043.html) // // This parameter is required. // // example: // // DZhOWVmZDktM2QxNi00ODk0LWJkNGYtMWZjNDNmM2YyYWJmaaSl+TztSIMe43nbTH/Z1Wr4XfLftKhAciUmDQXuMRl4WTvKhxjMThjK**** CiphertextBlob *string `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // The JSON string that consists of key-value pairs. // // > If you specify the EncryptionContext parameter when you call the [GenerateDataKey](https://help.aliyun.com/document_detail/28948.html), [Encrypt](https://help.aliyun.com/document_detail/28949.html), or [GenerateDataKeyWithoutPlaintext](https://help.aliyun.com/document_detail/134043.html) operation, you must specify the same context when you call the Decrypt operation. For more information, see [EncryptionContext](https://help.aliyun.com/document_detail/42975.html). // // example: // // {"Example":"Example"} EncryptionContextShrink *string `json:"EncryptionContext,omitempty" xml:"EncryptionContext,omitempty"` }
func (DecryptShrinkRequest) GoString ¶
func (s DecryptShrinkRequest) GoString() string
func (*DecryptShrinkRequest) SetCiphertextBlob ¶
func (s *DecryptShrinkRequest) SetCiphertextBlob(v string) *DecryptShrinkRequest
func (*DecryptShrinkRequest) SetDryRun ¶ added in v3.2.2
func (s *DecryptShrinkRequest) SetDryRun(v string) *DecryptShrinkRequest
func (*DecryptShrinkRequest) SetEncryptionContextShrink ¶
func (s *DecryptShrinkRequest) SetEncryptionContextShrink(v string) *DecryptShrinkRequest
func (DecryptShrinkRequest) String ¶
func (s DecryptShrinkRequest) String() string
type DeleteAliasRequest ¶
type DeleteAliasRequest struct { // The alias that you want to delete. // // The value must be 1 to 255 characters in length and must include the alias/ prefix. // // This parameter is required. // // example: // // alias/example AliasName *string `json:"AliasName,omitempty" xml:"AliasName,omitempty"` }
func (DeleteAliasRequest) GoString ¶
func (s DeleteAliasRequest) GoString() string
func (*DeleteAliasRequest) SetAliasName ¶
func (s *DeleteAliasRequest) SetAliasName(v string) *DeleteAliasRequest
func (DeleteAliasRequest) String ¶
func (s DeleteAliasRequest) String() string
type DeleteAliasResponse ¶
type DeleteAliasResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DeleteAliasResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DeleteAliasResponse) GoString ¶
func (s DeleteAliasResponse) GoString() string
func (*DeleteAliasResponse) SetBody ¶
func (s *DeleteAliasResponse) SetBody(v *DeleteAliasResponseBody) *DeleteAliasResponse
func (*DeleteAliasResponse) SetHeaders ¶
func (s *DeleteAliasResponse) SetHeaders(v map[string]*string) *DeleteAliasResponse
func (*DeleteAliasResponse) SetStatusCode ¶
func (s *DeleteAliasResponse) SetStatusCode(v int32) *DeleteAliasResponse
func (DeleteAliasResponse) String ¶
func (s DeleteAliasResponse) String() string
type DeleteAliasResponseBody ¶
type DeleteAliasResponseBody struct { // The ID of the request. // // example: // // 4c8ae23f-3a42-6791-a4ba-1faa77831c28 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DeleteAliasResponseBody) GoString ¶
func (s DeleteAliasResponseBody) GoString() string
func (*DeleteAliasResponseBody) SetRequestId ¶
func (s *DeleteAliasResponseBody) SetRequestId(v string) *DeleteAliasResponseBody
func (DeleteAliasResponseBody) String ¶
func (s DeleteAliasResponseBody) String() string
type DeleteApplicationAccessPointRequest ¶ added in v3.1.0
type DeleteApplicationAccessPointRequest struct { // The name of the AAP that you want to delete. // // This parameter is required. // // example: // // aap_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` }
func (DeleteApplicationAccessPointRequest) GoString ¶ added in v3.1.0
func (s DeleteApplicationAccessPointRequest) GoString() string
func (*DeleteApplicationAccessPointRequest) SetName ¶ added in v3.1.0
func (s *DeleteApplicationAccessPointRequest) SetName(v string) *DeleteApplicationAccessPointRequest
func (DeleteApplicationAccessPointRequest) String ¶ added in v3.1.0
func (s DeleteApplicationAccessPointRequest) String() string
type DeleteApplicationAccessPointResponse ¶ added in v3.1.0
type DeleteApplicationAccessPointResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DeleteApplicationAccessPointResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DeleteApplicationAccessPointResponse) GoString ¶ added in v3.1.0
func (s DeleteApplicationAccessPointResponse) GoString() string
func (*DeleteApplicationAccessPointResponse) SetHeaders ¶ added in v3.1.0
func (s *DeleteApplicationAccessPointResponse) SetHeaders(v map[string]*string) *DeleteApplicationAccessPointResponse
func (*DeleteApplicationAccessPointResponse) SetStatusCode ¶ added in v3.1.0
func (s *DeleteApplicationAccessPointResponse) SetStatusCode(v int32) *DeleteApplicationAccessPointResponse
func (DeleteApplicationAccessPointResponse) String ¶ added in v3.1.0
func (s DeleteApplicationAccessPointResponse) String() string
type DeleteApplicationAccessPointResponseBody ¶ added in v3.1.0
type DeleteApplicationAccessPointResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // bcfefe15-46f0-44a3-bd96-3d422474b71a RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DeleteApplicationAccessPointResponseBody) GoString ¶ added in v3.1.0
func (s DeleteApplicationAccessPointResponseBody) GoString() string
func (*DeleteApplicationAccessPointResponseBody) SetRequestId ¶ added in v3.1.0
func (s *DeleteApplicationAccessPointResponseBody) SetRequestId(v string) *DeleteApplicationAccessPointResponseBody
func (DeleteApplicationAccessPointResponseBody) String ¶ added in v3.1.0
func (s DeleteApplicationAccessPointResponseBody) String() string
type DeleteCertificateRequest ¶
type DeleteCertificateRequest struct { // The ID of the certificate. It is the globally unique identifier (GUID) of the certificate in Alibaba Cloud Certificate Manager. // // This parameter is required. // // example: // // 9a28de48-8d8b-484d-a766-dec4**** CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"` }
func (DeleteCertificateRequest) GoString ¶
func (s DeleteCertificateRequest) GoString() string
func (*DeleteCertificateRequest) SetCertificateId ¶
func (s *DeleteCertificateRequest) SetCertificateId(v string) *DeleteCertificateRequest
func (DeleteCertificateRequest) String ¶
func (s DeleteCertificateRequest) String() string
type DeleteCertificateResponse ¶
type DeleteCertificateResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DeleteCertificateResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DeleteCertificateResponse) GoString ¶
func (s DeleteCertificateResponse) GoString() string
func (*DeleteCertificateResponse) SetBody ¶
func (s *DeleteCertificateResponse) SetBody(v *DeleteCertificateResponseBody) *DeleteCertificateResponse
func (*DeleteCertificateResponse) SetHeaders ¶
func (s *DeleteCertificateResponse) SetHeaders(v map[string]*string) *DeleteCertificateResponse
func (*DeleteCertificateResponse) SetStatusCode ¶
func (s *DeleteCertificateResponse) SetStatusCode(v int32) *DeleteCertificateResponse
func (DeleteCertificateResponse) String ¶
func (s DeleteCertificateResponse) String() string
type DeleteCertificateResponseBody ¶
type DeleteCertificateResponseBody struct { // The ID of the request. // // example: // // d97f6c33-ca26-4de2-a580-0e2fd1c5bfb0 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DeleteCertificateResponseBody) GoString ¶
func (s DeleteCertificateResponseBody) GoString() string
func (*DeleteCertificateResponseBody) SetRequestId ¶
func (s *DeleteCertificateResponseBody) SetRequestId(v string) *DeleteCertificateResponseBody
func (DeleteCertificateResponseBody) String ¶
func (s DeleteCertificateResponseBody) String() string
type DeleteClientKeyRequest ¶ added in v3.1.0
type DeleteClientKeyRequest struct { // The ID of the client key. // // This parameter is required. // // example: // // KAAP.66abf237-63f6-4625-b8cf-47e1086e**** ClientKeyId *string `json:"ClientKeyId,omitempty" xml:"ClientKeyId,omitempty"` }
func (DeleteClientKeyRequest) GoString ¶ added in v3.1.0
func (s DeleteClientKeyRequest) GoString() string
func (*DeleteClientKeyRequest) SetClientKeyId ¶ added in v3.1.0
func (s *DeleteClientKeyRequest) SetClientKeyId(v string) *DeleteClientKeyRequest
func (DeleteClientKeyRequest) String ¶ added in v3.1.0
func (s DeleteClientKeyRequest) String() string
type DeleteClientKeyResponse ¶ added in v3.1.0
type DeleteClientKeyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DeleteClientKeyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DeleteClientKeyResponse) GoString ¶ added in v3.1.0
func (s DeleteClientKeyResponse) GoString() string
func (*DeleteClientKeyResponse) SetBody ¶ added in v3.1.0
func (s *DeleteClientKeyResponse) SetBody(v *DeleteClientKeyResponseBody) *DeleteClientKeyResponse
func (*DeleteClientKeyResponse) SetHeaders ¶ added in v3.1.0
func (s *DeleteClientKeyResponse) SetHeaders(v map[string]*string) *DeleteClientKeyResponse
func (*DeleteClientKeyResponse) SetStatusCode ¶ added in v3.1.0
func (s *DeleteClientKeyResponse) SetStatusCode(v int32) *DeleteClientKeyResponse
func (DeleteClientKeyResponse) String ¶ added in v3.1.0
func (s DeleteClientKeyResponse) String() string
type DeleteClientKeyResponseBody ¶ added in v3.1.0
type DeleteClientKeyResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 2312e45f-b2fa-4c34-ad94-3eca50932916 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DeleteClientKeyResponseBody) GoString ¶ added in v3.1.0
func (s DeleteClientKeyResponseBody) GoString() string
func (*DeleteClientKeyResponseBody) SetRequestId ¶ added in v3.1.0
func (s *DeleteClientKeyResponseBody) SetRequestId(v string) *DeleteClientKeyResponseBody
func (DeleteClientKeyResponseBody) String ¶ added in v3.1.0
func (s DeleteClientKeyResponseBody) String() string
type DeleteKeyMaterialRequest ¶
type DeleteKeyMaterialRequest struct { // The globally unique ID of the CMK. // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` }
func (DeleteKeyMaterialRequest) GoString ¶
func (s DeleteKeyMaterialRequest) GoString() string
func (*DeleteKeyMaterialRequest) SetKeyId ¶
func (s *DeleteKeyMaterialRequest) SetKeyId(v string) *DeleteKeyMaterialRequest
func (DeleteKeyMaterialRequest) String ¶
func (s DeleteKeyMaterialRequest) String() string
type DeleteKeyMaterialResponse ¶
type DeleteKeyMaterialResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DeleteKeyMaterialResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DeleteKeyMaterialResponse) GoString ¶
func (s DeleteKeyMaterialResponse) GoString() string
func (*DeleteKeyMaterialResponse) SetBody ¶
func (s *DeleteKeyMaterialResponse) SetBody(v *DeleteKeyMaterialResponseBody) *DeleteKeyMaterialResponse
func (*DeleteKeyMaterialResponse) SetHeaders ¶
func (s *DeleteKeyMaterialResponse) SetHeaders(v map[string]*string) *DeleteKeyMaterialResponse
func (*DeleteKeyMaterialResponse) SetStatusCode ¶
func (s *DeleteKeyMaterialResponse) SetStatusCode(v int32) *DeleteKeyMaterialResponse
func (DeleteKeyMaterialResponse) String ¶
func (s DeleteKeyMaterialResponse) String() string
type DeleteKeyMaterialResponseBody ¶
type DeleteKeyMaterialResponseBody struct { // The ID of the request. // // example: // // 4162a6af-bc99-40b3-a552-89dcc8aaf7c8 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DeleteKeyMaterialResponseBody) GoString ¶
func (s DeleteKeyMaterialResponseBody) GoString() string
func (*DeleteKeyMaterialResponseBody) SetRequestId ¶
func (s *DeleteKeyMaterialResponseBody) SetRequestId(v string) *DeleteKeyMaterialResponseBody
func (DeleteKeyMaterialResponseBody) String ¶
func (s DeleteKeyMaterialResponseBody) String() string
type DeleteNetworkRuleRequest ¶ added in v3.1.0
type DeleteNetworkRuleRequest struct { // The name of the network access rule that you want to delete. // // This parameter is required. // // example: // // networkrule_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` }
func (DeleteNetworkRuleRequest) GoString ¶ added in v3.1.0
func (s DeleteNetworkRuleRequest) GoString() string
func (*DeleteNetworkRuleRequest) SetName ¶ added in v3.1.0
func (s *DeleteNetworkRuleRequest) SetName(v string) *DeleteNetworkRuleRequest
func (DeleteNetworkRuleRequest) String ¶ added in v3.1.0
func (s DeleteNetworkRuleRequest) String() string
type DeleteNetworkRuleResponse ¶ added in v3.1.0
type DeleteNetworkRuleResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DeleteNetworkRuleResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DeleteNetworkRuleResponse) GoString ¶ added in v3.1.0
func (s DeleteNetworkRuleResponse) GoString() string
func (*DeleteNetworkRuleResponse) SetBody ¶ added in v3.1.0
func (s *DeleteNetworkRuleResponse) SetBody(v *DeleteNetworkRuleResponseBody) *DeleteNetworkRuleResponse
func (*DeleteNetworkRuleResponse) SetHeaders ¶ added in v3.1.0
func (s *DeleteNetworkRuleResponse) SetHeaders(v map[string]*string) *DeleteNetworkRuleResponse
func (*DeleteNetworkRuleResponse) SetStatusCode ¶ added in v3.1.0
func (s *DeleteNetworkRuleResponse) SetStatusCode(v int32) *DeleteNetworkRuleResponse
func (DeleteNetworkRuleResponse) String ¶ added in v3.1.0
func (s DeleteNetworkRuleResponse) String() string
type DeleteNetworkRuleResponseBody ¶ added in v3.1.0
type DeleteNetworkRuleResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 3bf02f7a-015b-4f93-be0f-cc043fda2d4 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DeleteNetworkRuleResponseBody) GoString ¶ added in v3.1.0
func (s DeleteNetworkRuleResponseBody) GoString() string
func (*DeleteNetworkRuleResponseBody) SetRequestId ¶ added in v3.1.0
func (s *DeleteNetworkRuleResponseBody) SetRequestId(v string) *DeleteNetworkRuleResponseBody
func (DeleteNetworkRuleResponseBody) String ¶ added in v3.1.0
func (s DeleteNetworkRuleResponseBody) String() string
type DeletePolicyRequest ¶ added in v3.1.0
type DeletePolicyRequest struct { // The name of the permission policy that you want to delete. // // This parameter is required. // // example: // // policy_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` }
func (DeletePolicyRequest) GoString ¶ added in v3.1.0
func (s DeletePolicyRequest) GoString() string
func (*DeletePolicyRequest) SetName ¶ added in v3.1.0
func (s *DeletePolicyRequest) SetName(v string) *DeletePolicyRequest
func (DeletePolicyRequest) String ¶ added in v3.1.0
func (s DeletePolicyRequest) String() string
type DeletePolicyResponse ¶ added in v3.1.0
type DeletePolicyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DeletePolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DeletePolicyResponse) GoString ¶ added in v3.1.0
func (s DeletePolicyResponse) GoString() string
func (*DeletePolicyResponse) SetBody ¶ added in v3.1.0
func (s *DeletePolicyResponse) SetBody(v *DeletePolicyResponseBody) *DeletePolicyResponse
func (*DeletePolicyResponse) SetHeaders ¶ added in v3.1.0
func (s *DeletePolicyResponse) SetHeaders(v map[string]*string) *DeletePolicyResponse
func (*DeletePolicyResponse) SetStatusCode ¶ added in v3.1.0
func (s *DeletePolicyResponse) SetStatusCode(v int32) *DeletePolicyResponse
func (DeletePolicyResponse) String ¶ added in v3.1.0
func (s DeletePolicyResponse) String() string
type DeletePolicyResponseBody ¶ added in v3.1.0
type DeletePolicyResponseBody struct { // The request ID. // // example: // // 00a26a33-d992-42f3-9012-5fd12764430f RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DeletePolicyResponseBody) GoString ¶ added in v3.1.0
func (s DeletePolicyResponseBody) GoString() string
func (*DeletePolicyResponseBody) SetRequestId ¶ added in v3.1.0
func (s *DeletePolicyResponseBody) SetRequestId(v string) *DeletePolicyResponseBody
func (DeletePolicyResponseBody) String ¶ added in v3.1.0
func (s DeletePolicyResponseBody) String() string
type DeleteSecretRequest ¶
type DeleteSecretRequest struct { // Specifies whether to forcibly delete the secret. If this parameter is set to true, the secret cannot be recovered. // // Valid values: // // - **true** // // - **false* - (default value) // // example: // // false ForceDeleteWithoutRecovery *string `json:"ForceDeleteWithoutRecovery,omitempty" xml:"ForceDeleteWithoutRecovery,omitempty"` // Specifies the recovery period of the secret if you do not forcibly delete it. Default value: 30. Unit: Days. // // example: // // 10 RecoveryWindowInDays *string `json:"RecoveryWindowInDays,omitempty" xml:"RecoveryWindowInDays,omitempty"` // The name of the secret. // // This parameter is required. // // example: // // secret001 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` }
func (DeleteSecretRequest) GoString ¶
func (s DeleteSecretRequest) GoString() string
func (*DeleteSecretRequest) SetForceDeleteWithoutRecovery ¶
func (s *DeleteSecretRequest) SetForceDeleteWithoutRecovery(v string) *DeleteSecretRequest
func (*DeleteSecretRequest) SetRecoveryWindowInDays ¶
func (s *DeleteSecretRequest) SetRecoveryWindowInDays(v string) *DeleteSecretRequest
func (*DeleteSecretRequest) SetSecretName ¶
func (s *DeleteSecretRequest) SetSecretName(v string) *DeleteSecretRequest
func (DeleteSecretRequest) String ¶
func (s DeleteSecretRequest) String() string
type DeleteSecretResponse ¶
type DeleteSecretResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DeleteSecretResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DeleteSecretResponse) GoString ¶
func (s DeleteSecretResponse) GoString() string
func (*DeleteSecretResponse) SetBody ¶
func (s *DeleteSecretResponse) SetBody(v *DeleteSecretResponseBody) *DeleteSecretResponse
func (*DeleteSecretResponse) SetHeaders ¶
func (s *DeleteSecretResponse) SetHeaders(v map[string]*string) *DeleteSecretResponse
func (*DeleteSecretResponse) SetStatusCode ¶
func (s *DeleteSecretResponse) SetStatusCode(v int32) *DeleteSecretResponse
func (DeleteSecretResponse) String ¶
func (s DeleteSecretResponse) String() string
type DeleteSecretResponseBody ¶
type DeleteSecretResponseBody struct { // The time when the secret is scheduled to be deleted. // // example: // // 2022-09-15T07:02:14Z PlannedDeleteTime *string `json:"PlannedDeleteTime,omitempty" xml:"PlannedDeleteTime,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 38bbed2a-15e0-45ad-98d4-816ad2ccf4ea RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The name of the secret. // // example: // // secret001 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` }
func (DeleteSecretResponseBody) GoString ¶
func (s DeleteSecretResponseBody) GoString() string
func (*DeleteSecretResponseBody) SetPlannedDeleteTime ¶
func (s *DeleteSecretResponseBody) SetPlannedDeleteTime(v string) *DeleteSecretResponseBody
func (*DeleteSecretResponseBody) SetRequestId ¶
func (s *DeleteSecretResponseBody) SetRequestId(v string) *DeleteSecretResponseBody
func (*DeleteSecretResponseBody) SetSecretName ¶
func (s *DeleteSecretResponseBody) SetSecretName(v string) *DeleteSecretResponseBody
func (DeleteSecretResponseBody) String ¶
func (s DeleteSecretResponseBody) String() string
type DescribeAccountKmsStatusResponse ¶
type DescribeAccountKmsStatusResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeAccountKmsStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeAccountKmsStatusResponse) GoString ¶
func (s DescribeAccountKmsStatusResponse) GoString() string
func (*DescribeAccountKmsStatusResponse) SetBody ¶
func (s *DescribeAccountKmsStatusResponse) SetBody(v *DescribeAccountKmsStatusResponseBody) *DescribeAccountKmsStatusResponse
func (*DescribeAccountKmsStatusResponse) SetHeaders ¶
func (s *DescribeAccountKmsStatusResponse) SetHeaders(v map[string]*string) *DescribeAccountKmsStatusResponse
func (*DescribeAccountKmsStatusResponse) SetStatusCode ¶
func (s *DescribeAccountKmsStatusResponse) SetStatusCode(v int32) *DescribeAccountKmsStatusResponse
func (DescribeAccountKmsStatusResponse) String ¶
func (s DescribeAccountKmsStatusResponse) String() string
type DescribeAccountKmsStatusResponseBody ¶
type DescribeAccountKmsStatusResponseBody struct { // The status of KMS within your Alibaba cloud account. Valid values: // // - Enabled: KMS is enabled. // // - NotEnabled: KMS is disabled. // // - InDebt: Your account is overdue, and KMS stops providing services. // // > If your Alibaba Cloud account is overdue, top up your account at the earliest opportunity to avoid impacts on your services. // // - Suspended: KMS is suspended. // // example: // // Enabled AccountStatus *string `json:"AccountStatus,omitempty" xml:"AccountStatus,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 3ac84333-d64d-4784-a8bc-997834a7ac6c RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DescribeAccountKmsStatusResponseBody) GoString ¶
func (s DescribeAccountKmsStatusResponseBody) GoString() string
func (*DescribeAccountKmsStatusResponseBody) SetAccountStatus ¶
func (s *DescribeAccountKmsStatusResponseBody) SetAccountStatus(v string) *DescribeAccountKmsStatusResponseBody
func (*DescribeAccountKmsStatusResponseBody) SetRequestId ¶
func (s *DescribeAccountKmsStatusResponseBody) SetRequestId(v string) *DescribeAccountKmsStatusResponseBody
func (DescribeAccountKmsStatusResponseBody) String ¶
func (s DescribeAccountKmsStatusResponseBody) String() string
type DescribeApplicationAccessPointRequest ¶ added in v3.1.0
type DescribeApplicationAccessPointRequest struct { // The name of the AAP that you want to query. // // This parameter is required. // // example: // // aap_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` }
func (DescribeApplicationAccessPointRequest) GoString ¶ added in v3.1.0
func (s DescribeApplicationAccessPointRequest) GoString() string
func (*DescribeApplicationAccessPointRequest) SetName ¶ added in v3.1.0
func (s *DescribeApplicationAccessPointRequest) SetName(v string) *DescribeApplicationAccessPointRequest
func (DescribeApplicationAccessPointRequest) String ¶ added in v3.1.0
func (s DescribeApplicationAccessPointRequest) String() string
type DescribeApplicationAccessPointResponse ¶ added in v3.1.0
type DescribeApplicationAccessPointResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeApplicationAccessPointResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeApplicationAccessPointResponse) GoString ¶ added in v3.1.0
func (s DescribeApplicationAccessPointResponse) GoString() string
func (*DescribeApplicationAccessPointResponse) SetHeaders ¶ added in v3.1.0
func (s *DescribeApplicationAccessPointResponse) SetHeaders(v map[string]*string) *DescribeApplicationAccessPointResponse
func (*DescribeApplicationAccessPointResponse) SetStatusCode ¶ added in v3.1.0
func (s *DescribeApplicationAccessPointResponse) SetStatusCode(v int32) *DescribeApplicationAccessPointResponse
func (DescribeApplicationAccessPointResponse) String ¶ added in v3.1.0
func (s DescribeApplicationAccessPointResponse) String() string
type DescribeApplicationAccessPointResponseBody ¶ added in v3.1.0
type DescribeApplicationAccessPointResponseBody struct { // The ARN of the AAP. // // example: // // acs:kms:cn-hangzhou:119285303511****:applicationaccesspoint/aap_test Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"` // The authentication method. // // example: // // ClientKey AuthenticationMethod *string `json:"AuthenticationMethod,omitempty" xml:"AuthenticationMethod,omitempty"` // The description. // // example: // // aap description Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The name of the AAP. // // example: // // aap_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // The permission policy that is bound to the AAP. // // example: // // ["kst-hzz62ee817bvyyr5x****.efkd","kst-hzz62ee817bvyyr5x****.eyyp"] Policies *string `json:"Policies,omitempty" xml:"Policies,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // bcfefe15-46f0-44a3-bd96-3d422474b71a RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DescribeApplicationAccessPointResponseBody) GoString ¶ added in v3.1.0
func (s DescribeApplicationAccessPointResponseBody) GoString() string
func (*DescribeApplicationAccessPointResponseBody) SetArn ¶ added in v3.1.0
func (s *DescribeApplicationAccessPointResponseBody) SetArn(v string) *DescribeApplicationAccessPointResponseBody
func (*DescribeApplicationAccessPointResponseBody) SetAuthenticationMethod ¶ added in v3.1.0
func (s *DescribeApplicationAccessPointResponseBody) SetAuthenticationMethod(v string) *DescribeApplicationAccessPointResponseBody
func (*DescribeApplicationAccessPointResponseBody) SetDescription ¶ added in v3.1.0
func (s *DescribeApplicationAccessPointResponseBody) SetDescription(v string) *DescribeApplicationAccessPointResponseBody
func (*DescribeApplicationAccessPointResponseBody) SetName ¶ added in v3.1.0
func (s *DescribeApplicationAccessPointResponseBody) SetName(v string) *DescribeApplicationAccessPointResponseBody
func (*DescribeApplicationAccessPointResponseBody) SetPolicies ¶ added in v3.1.0
func (s *DescribeApplicationAccessPointResponseBody) SetPolicies(v string) *DescribeApplicationAccessPointResponseBody
func (*DescribeApplicationAccessPointResponseBody) SetRequestId ¶ added in v3.1.0
func (s *DescribeApplicationAccessPointResponseBody) SetRequestId(v string) *DescribeApplicationAccessPointResponseBody
func (DescribeApplicationAccessPointResponseBody) String ¶ added in v3.1.0
func (s DescribeApplicationAccessPointResponseBody) String() string
type DescribeCertificateRequest ¶
type DescribeCertificateRequest struct { // The ID of the certificate. The ID must be globally unique in Certificates Manager. // // This parameter is required. // // example: // // 9a28de48-8d8b-484d-a766-dec4**** CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"` }
func (DescribeCertificateRequest) GoString ¶
func (s DescribeCertificateRequest) GoString() string
func (*DescribeCertificateRequest) SetCertificateId ¶
func (s *DescribeCertificateRequest) SetCertificateId(v string) *DescribeCertificateRequest
func (DescribeCertificateRequest) String ¶
func (s DescribeCertificateRequest) String() string
type DescribeCertificateResponse ¶
type DescribeCertificateResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeCertificateResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeCertificateResponse) GoString ¶
func (s DescribeCertificateResponse) GoString() string
func (*DescribeCertificateResponse) SetBody ¶
func (s *DescribeCertificateResponse) SetBody(v *DescribeCertificateResponseBody) *DescribeCertificateResponse
func (*DescribeCertificateResponse) SetHeaders ¶
func (s *DescribeCertificateResponse) SetHeaders(v map[string]*string) *DescribeCertificateResponse
func (*DescribeCertificateResponse) SetStatusCode ¶
func (s *DescribeCertificateResponse) SetStatusCode(v int32) *DescribeCertificateResponse
func (DescribeCertificateResponse) String ¶
func (s DescribeCertificateResponse) String() string
type DescribeCertificateResponseBody ¶
type DescribeCertificateResponseBody struct { // The Alibaba Cloud Resource Name (ARN) of the certificate. // // example: // // acs:kms:cn-hangzhou:159498693826****:certificate/9a28de48-8d8b-484d-a766-dec4****" Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"` // The ID of the certificate. The ID must be globally unique in Certificates Manager. // // example: // // 9a28de48-8d8b-484d-a766-dec4**** CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"` // The time when the certificate was created. // // example: // // 2020-10-13T03:05:03Z CreatedAt *string `json:"CreatedAt,omitempty" xml:"CreatedAt,omitempty"` // Indicates whether the private key of the certificate can be exported for use. Valid values: // // - true: The private key of the certificate can be exported for use. This is the default value. // // - false: The private key of the certificate cannot be exported for use. // // example: // // true ExportablePrivateKey *bool `json:"ExportablePrivateKey,omitempty" xml:"ExportablePrivateKey,omitempty"` // The certificate issuer in the distinguished name (DN) format. // // example: // // CN=testCA,OU=kms,O=aliyun,C=CN Issuer *string `json:"Issuer,omitempty" xml:"Issuer,omitempty"` // The type of the key. // // example: // // RSA_2048 KeySpec *string `json:"KeySpec,omitempty" xml:"KeySpec,omitempty"` // The end of the validity period of the certificate. // // example: // // 2022-10-13T03:09:00Z NotAfter *string `json:"NotAfter,omitempty" xml:"NotAfter,omitempty"` // The beginning of the validity period of the certificate. // // example: // // 2020-10-13T03:09:00Z NotBefore *string `json:"NotBefore,omitempty" xml:"NotBefore,omitempty"` // The ID of the request. // // example: // // edb671a3-c5a1-4ebe-a1de-d748b640bdf2 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The serial number of the certificate. // // example: // // 12345678 Serial *string `json:"Serial,omitempty" xml:"Serial,omitempty"` // The signature algorithm of the certificate. Valid values: // // - RSA2048-SHA256 // // - ECDSA-SHA256 // // - SM2-SM3 // // example: // // ECDSA-SHA256 SignatureAlgorithm *string `json:"SignatureAlgorithm,omitempty" xml:"SignatureAlgorithm,omitempty"` // The status of the certificate. Valid values: // // - PENDING: The certificate is to be imported. // // - ACTIVE: The certificate is enabled. // // - INACTIVE: The certificate is disabled. // // - REVOKED: The certificate is revoked. // // example: // // ACTIVE Status *string `json:"Status,omitempty" xml:"Status,omitempty"` // The subject of the certificate, which is in the DN format. // // example: // // CN=userName,OU=aliyun,O=aliyun,C=CN Subject *string `json:"Subject,omitempty" xml:"Subject,omitempty"` // The alias of the certificate subject. // // A domain name list is supported. A maximum of 10 domain names are supported. SubjectAlternativeNames []*string `json:"SubjectAlternativeNames,omitempty" xml:"SubjectAlternativeNames,omitempty" type:"Repeated"` // The public key identifier of the certificate subject. // // example: // // 79 36 26 DE 9F F5 15 E3 56 DC **** SubjectKeyIdentifier *string `json:"SubjectKeyIdentifier,omitempty" xml:"SubjectKeyIdentifier,omitempty"` // The public key of the certificate. // // example: // // -----BEGIN PUBLIC KEY----- MIIBIjA -----END PUBLIC KEY----- SubjectPublicKey *string `json:"SubjectPublicKey,omitempty" xml:"SubjectPublicKey,omitempty"` // The tag of the certificate. // // example: // // [{\\"TagKey\\":\\"S1key1\\",\\"TagValue\\":\\"S1val1\\"},{\\"TagKey\\":\\"S1key2\\",\\"TagValue\\":\\"S2val2\\"}] Tags map[string]interface{} `json:"Tags,omitempty" xml:"Tags,omitempty"` // The time when the certificate was updated. // // example: // // 2020-12-23T06:10:13Z UpdatedAt *string `json:"UpdatedAt,omitempty" xml:"UpdatedAt,omitempty"` }
func (DescribeCertificateResponseBody) GoString ¶
func (s DescribeCertificateResponseBody) GoString() string
func (*DescribeCertificateResponseBody) SetArn ¶
func (s *DescribeCertificateResponseBody) SetArn(v string) *DescribeCertificateResponseBody
func (*DescribeCertificateResponseBody) SetCertificateId ¶
func (s *DescribeCertificateResponseBody) SetCertificateId(v string) *DescribeCertificateResponseBody
func (*DescribeCertificateResponseBody) SetCreatedAt ¶
func (s *DescribeCertificateResponseBody) SetCreatedAt(v string) *DescribeCertificateResponseBody
func (*DescribeCertificateResponseBody) SetExportablePrivateKey ¶
func (s *DescribeCertificateResponseBody) SetExportablePrivateKey(v bool) *DescribeCertificateResponseBody
func (*DescribeCertificateResponseBody) SetIssuer ¶
func (s *DescribeCertificateResponseBody) SetIssuer(v string) *DescribeCertificateResponseBody
func (*DescribeCertificateResponseBody) SetKeySpec ¶
func (s *DescribeCertificateResponseBody) SetKeySpec(v string) *DescribeCertificateResponseBody
func (*DescribeCertificateResponseBody) SetNotAfter ¶
func (s *DescribeCertificateResponseBody) SetNotAfter(v string) *DescribeCertificateResponseBody
func (*DescribeCertificateResponseBody) SetNotBefore ¶
func (s *DescribeCertificateResponseBody) SetNotBefore(v string) *DescribeCertificateResponseBody
func (*DescribeCertificateResponseBody) SetRequestId ¶
func (s *DescribeCertificateResponseBody) SetRequestId(v string) *DescribeCertificateResponseBody
func (*DescribeCertificateResponseBody) SetSerial ¶
func (s *DescribeCertificateResponseBody) SetSerial(v string) *DescribeCertificateResponseBody
func (*DescribeCertificateResponseBody) SetSignatureAlgorithm ¶
func (s *DescribeCertificateResponseBody) SetSignatureAlgorithm(v string) *DescribeCertificateResponseBody
func (*DescribeCertificateResponseBody) SetStatus ¶
func (s *DescribeCertificateResponseBody) SetStatus(v string) *DescribeCertificateResponseBody
func (*DescribeCertificateResponseBody) SetSubject ¶
func (s *DescribeCertificateResponseBody) SetSubject(v string) *DescribeCertificateResponseBody
func (*DescribeCertificateResponseBody) SetSubjectAlternativeNames ¶
func (s *DescribeCertificateResponseBody) SetSubjectAlternativeNames(v []*string) *DescribeCertificateResponseBody
func (*DescribeCertificateResponseBody) SetSubjectKeyIdentifier ¶
func (s *DescribeCertificateResponseBody) SetSubjectKeyIdentifier(v string) *DescribeCertificateResponseBody
func (*DescribeCertificateResponseBody) SetSubjectPublicKey ¶
func (s *DescribeCertificateResponseBody) SetSubjectPublicKey(v string) *DescribeCertificateResponseBody
func (*DescribeCertificateResponseBody) SetTags ¶
func (s *DescribeCertificateResponseBody) SetTags(v map[string]interface{}) *DescribeCertificateResponseBody
func (*DescribeCertificateResponseBody) SetUpdatedAt ¶
func (s *DescribeCertificateResponseBody) SetUpdatedAt(v string) *DescribeCertificateResponseBody
func (DescribeCertificateResponseBody) String ¶
func (s DescribeCertificateResponseBody) String() string
type DescribeKeyRequest ¶
type DescribeKeyRequest struct { // The ID of the CMK. The ID must be globally unique. // // You can also set this parameter to an alias that is bound to the CMK. For more information, see [Overview of aliases](https://help.aliyun.com/document_detail/68522.html). // // This parameter is required. // // example: // // 05754286-3ba2-4fa6-8d41-4323aca6**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` }
func (DescribeKeyRequest) GoString ¶
func (s DescribeKeyRequest) GoString() string
func (*DescribeKeyRequest) SetKeyId ¶
func (s *DescribeKeyRequest) SetKeyId(v string) *DescribeKeyRequest
func (DescribeKeyRequest) String ¶
func (s DescribeKeyRequest) String() string
type DescribeKeyResponse ¶
type DescribeKeyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeKeyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeKeyResponse) GoString ¶
func (s DescribeKeyResponse) GoString() string
func (*DescribeKeyResponse) SetBody ¶
func (s *DescribeKeyResponse) SetBody(v *DescribeKeyResponseBody) *DescribeKeyResponse
func (*DescribeKeyResponse) SetHeaders ¶
func (s *DescribeKeyResponse) SetHeaders(v map[string]*string) *DescribeKeyResponse
func (*DescribeKeyResponse) SetStatusCode ¶
func (s *DescribeKeyResponse) SetStatusCode(v int32) *DescribeKeyResponse
func (DescribeKeyResponse) String ¶
func (s DescribeKeyResponse) String() string
type DescribeKeyResponseBody ¶
type DescribeKeyResponseBody struct { // The metadata of the CMK. KeyMetadata *DescribeKeyResponseBodyKeyMetadata `json:"KeyMetadata,omitempty" xml:"KeyMetadata,omitempty" type:"Struct"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // f1fdfa9d-bd49-418b-942f-8f3e3ec00a4f RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DescribeKeyResponseBody) GoString ¶
func (s DescribeKeyResponseBody) GoString() string
func (*DescribeKeyResponseBody) SetKeyMetadata ¶
func (s *DescribeKeyResponseBody) SetKeyMetadata(v *DescribeKeyResponseBodyKeyMetadata) *DescribeKeyResponseBody
func (*DescribeKeyResponseBody) SetRequestId ¶
func (s *DescribeKeyResponseBody) SetRequestId(v string) *DescribeKeyResponseBody
func (DescribeKeyResponseBody) String ¶
func (s DescribeKeyResponseBody) String() string
type DescribeKeyResponseBodyKeyMetadata ¶
type DescribeKeyResponseBodyKeyMetadata struct { // The Alibaba Cloud Resource Name (ARN) of the CMK. // // example: // // acs:kms:cn-hangzhou:154035569884****:key/05754286-3ba2-4fa6-8d41-4323aca6**** Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"` // Indicates whether automatic key rotation is enabled. Valid values: // // - Enabled // // - Disabled // // - Suspended // // For more information, see [Automatic key rotation](https://help.aliyun.com/document_detail/134270.html). // // > Only symmetric CMKs support automatic key rotation. // // example: // // Disabled AutomaticRotation *string `json:"AutomaticRotation,omitempty" xml:"AutomaticRotation,omitempty"` // The time when the CMK was created. The time is displayed in UTC. // // example: // // 2021-05-20T06:34:21Z CreationDate *string `json:"CreationDate,omitempty" xml:"CreationDate,omitempty"` // The Alibaba Cloud account that is used to create the CMK. // // example: // // 154035569884**** Creator *string `json:"Creator,omitempty" xml:"Creator,omitempty"` // The ID of the dedicated KMS instance. // // example: // // kst-bjj62d8f5e0sgtx8h**** DKMSInstanceId *string `json:"DKMSInstanceId,omitempty" xml:"DKMSInstanceId,omitempty"` // The time at which the CMK is scheduled for deletion. The time is displayed in UTC. // // For more information, see [ScheduleKeyDeletion](https://help.aliyun.com/document_detail/44196.html). // // > This parameter is returned only when the value of the KeyState parameter is PendingDeletion. // // example: // // 2021-05-26T18:22:03Z DeleteDate *string `json:"DeleteDate,omitempty" xml:"DeleteDate,omitempty"` // Indicates whether deletion protection is enabled. Valid values: // // - Enabled // // - Disabled // // example: // // Enabled DeletionProtection *string `json:"DeletionProtection,omitempty" xml:"DeletionProtection,omitempty"` // The description of deletion protection. // // example: // // The CMK is being used by XXX. Deletion protection is set. DeletionProtectionDescription *string `json:"DeletionProtectionDescription,omitempty" xml:"DeletionProtectionDescription,omitempty"` // The description of the CMK. // // example: // // key description example Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The ID of the CMK. The ID must be globally unique. // // example: // // 05754286-3ba2-4fa6-8d41-4323aca6**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The type of the CMK. // // example: // // Aliyun_AES_256 KeySpec *string `json:"KeySpec,omitempty" xml:"KeySpec,omitempty"` // The status of the CMK. // // For more information, see [Impact of CMK status on API operations](https://help.aliyun.com/document_detail/44211.html). // // example: // // Enabled KeyState *string `json:"KeyState,omitempty" xml:"KeyState,omitempty"` // The usage of the CMK. // // example: // // ENCRYPT/DECRYPT KeyUsage *string `json:"KeyUsage,omitempty" xml:"KeyUsage,omitempty"` // The time when the last rotation was performed. The time is displayed in UTC. For a new CMK, the value of this parameter is the time when the initial version of the CMK was generated. // // example: // // 2021-05-20T06:34:21Z LastRotationDate *string `json:"LastRotationDate,omitempty" xml:"LastRotationDate,omitempty"` // The time when the key material expires. The time is displayed in UTC. If this parameter value is empty, the key material does not expire. // // example: // // 2021-07-06T18:22:03Z MaterialExpireTime *string `json:"MaterialExpireTime,omitempty" xml:"MaterialExpireTime,omitempty"` // The time when the next rotation will be performed. // // > This parameter is returned only when the value of the AutomaticRotation parameter is Enabled or Suspended. // // example: // // 2021-07-06T18:22:03Z NextRotationDate *string `json:"NextRotationDate,omitempty" xml:"NextRotationDate,omitempty"` // The source of the key material for the CMK. // // example: // // Aliyun_KMS Origin *string `json:"Origin,omitempty" xml:"Origin,omitempty"` // The ID of the current primary key version for the symmetric CMK. // // example: // // 515e0b0a-624f-45ab-92b5-54f9b551**** PrimaryKeyVersion *string `json:"PrimaryKeyVersion,omitempty" xml:"PrimaryKeyVersion,omitempty"` // The protection level of the CMK. // // example: // // HSM ProtectionLevel *string `json:"ProtectionLevel,omitempty" xml:"ProtectionLevel,omitempty"` // The interval for automatic key rotation. // // Unit: seconds. // // For example, if the value is 604800s, automatic key rotation is performed at a 7-day interval. // // > This parameter is returned only when the value of the AutomaticRotation parameter is Enabled or Suspended. // // example: // // 31536000s RotationInterval *string `json:"RotationInterval,omitempty" xml:"RotationInterval,omitempty"` }
func (DescribeKeyResponseBodyKeyMetadata) GoString ¶
func (s DescribeKeyResponseBodyKeyMetadata) GoString() string
func (*DescribeKeyResponseBodyKeyMetadata) SetArn ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetArn(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetAutomaticRotation ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetAutomaticRotation(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetCreationDate ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetCreationDate(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetCreator ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetCreator(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetDKMSInstanceId ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetDKMSInstanceId(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetDeleteDate ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetDeleteDate(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetDeletionProtection ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetDeletionProtection(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetDeletionProtectionDescription ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetDeletionProtectionDescription(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetDescription ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetDescription(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetKeyId ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetKeyId(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetKeySpec ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetKeySpec(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetKeyState ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetKeyState(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetKeyUsage ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetKeyUsage(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetLastRotationDate ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetLastRotationDate(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetMaterialExpireTime ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetMaterialExpireTime(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetNextRotationDate ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetNextRotationDate(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetOrigin ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetOrigin(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetPrimaryKeyVersion ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetPrimaryKeyVersion(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetProtectionLevel ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetProtectionLevel(v string) *DescribeKeyResponseBodyKeyMetadata
func (*DescribeKeyResponseBodyKeyMetadata) SetRotationInterval ¶
func (s *DescribeKeyResponseBodyKeyMetadata) SetRotationInterval(v string) *DescribeKeyResponseBodyKeyMetadata
func (DescribeKeyResponseBodyKeyMetadata) String ¶
func (s DescribeKeyResponseBodyKeyMetadata) String() string
type DescribeKeyVersionRequest ¶
type DescribeKeyVersionRequest struct { // The globally unique ID of the CMK. // // You can also set this parameter to an alias that is bound to the CMK. For more information, see [Alias overview](https://help.aliyun.com/document_detail/68522.html). // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The globally unique ID of the CMK version. // // You can call the [ListKeyVersions](https://help.aliyun.com/document_detail/133966.html) operation to query the versions of the CMK. // // This parameter is required. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` }
func (DescribeKeyVersionRequest) GoString ¶
func (s DescribeKeyVersionRequest) GoString() string
func (*DescribeKeyVersionRequest) SetKeyId ¶
func (s *DescribeKeyVersionRequest) SetKeyId(v string) *DescribeKeyVersionRequest
func (*DescribeKeyVersionRequest) SetKeyVersionId ¶
func (s *DescribeKeyVersionRequest) SetKeyVersionId(v string) *DescribeKeyVersionRequest
func (DescribeKeyVersionRequest) String ¶
func (s DescribeKeyVersionRequest) String() string
type DescribeKeyVersionResponse ¶
type DescribeKeyVersionResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeKeyVersionResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeKeyVersionResponse) GoString ¶
func (s DescribeKeyVersionResponse) GoString() string
func (*DescribeKeyVersionResponse) SetBody ¶
func (s *DescribeKeyVersionResponse) SetBody(v *DescribeKeyVersionResponseBody) *DescribeKeyVersionResponse
func (*DescribeKeyVersionResponse) SetHeaders ¶
func (s *DescribeKeyVersionResponse) SetHeaders(v map[string]*string) *DescribeKeyVersionResponse
func (*DescribeKeyVersionResponse) SetStatusCode ¶
func (s *DescribeKeyVersionResponse) SetStatusCode(v int32) *DescribeKeyVersionResponse
func (DescribeKeyVersionResponse) String ¶
func (s DescribeKeyVersionResponse) String() string
type DescribeKeyVersionResponseBody ¶
type DescribeKeyVersionResponseBody struct { // The metadata of the CMK version. KeyVersion *DescribeKeyVersionResponseBodyKeyVersion `json:"KeyVersion,omitempty" xml:"KeyVersion,omitempty" type:"Struct"` // The ID of the request. // // example: // // 7021b6ec-4be7-4d3c-8a68-1e85d4d515a0 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DescribeKeyVersionResponseBody) GoString ¶
func (s DescribeKeyVersionResponseBody) GoString() string
func (*DescribeKeyVersionResponseBody) SetKeyVersion ¶
func (s *DescribeKeyVersionResponseBody) SetKeyVersion(v *DescribeKeyVersionResponseBodyKeyVersion) *DescribeKeyVersionResponseBody
func (*DescribeKeyVersionResponseBody) SetRequestId ¶
func (s *DescribeKeyVersionResponseBody) SetRequestId(v string) *DescribeKeyVersionResponseBody
func (DescribeKeyVersionResponseBody) String ¶
func (s DescribeKeyVersionResponseBody) String() string
type DescribeKeyVersionResponseBodyKeyVersion ¶
type DescribeKeyVersionResponseBodyKeyVersion struct { // The date and time when the CMK version was created. The time is displayed in UTC. // // example: // // 2016-03-25T10:42:40Z CreationDate *string `json:"CreationDate,omitempty" xml:"CreationDate,omitempty"` // The globally unique ID of the CMK. // // > If you set the KeyId parameter in the request to an alias of the CMK, the ID of the CMK to which the alias is bound is returned. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The globally unique ID of the CMK version. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` }
func (DescribeKeyVersionResponseBodyKeyVersion) GoString ¶
func (s DescribeKeyVersionResponseBodyKeyVersion) GoString() string
func (*DescribeKeyVersionResponseBodyKeyVersion) SetCreationDate ¶
func (s *DescribeKeyVersionResponseBodyKeyVersion) SetCreationDate(v string) *DescribeKeyVersionResponseBodyKeyVersion
func (*DescribeKeyVersionResponseBodyKeyVersion) SetKeyId ¶
func (s *DescribeKeyVersionResponseBodyKeyVersion) SetKeyId(v string) *DescribeKeyVersionResponseBodyKeyVersion
func (*DescribeKeyVersionResponseBodyKeyVersion) SetKeyVersionId ¶
func (s *DescribeKeyVersionResponseBodyKeyVersion) SetKeyVersionId(v string) *DescribeKeyVersionResponseBodyKeyVersion
func (DescribeKeyVersionResponseBodyKeyVersion) String ¶
func (s DescribeKeyVersionResponseBodyKeyVersion) String() string
type DescribeNetworkRuleRequest ¶ added in v3.1.0
type DescribeNetworkRuleRequest struct { // The name of the access control rule that you want to query. // // This parameter is required. // // example: // // networkrule_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` }
func (DescribeNetworkRuleRequest) GoString ¶ added in v3.1.0
func (s DescribeNetworkRuleRequest) GoString() string
func (*DescribeNetworkRuleRequest) SetName ¶ added in v3.1.0
func (s *DescribeNetworkRuleRequest) SetName(v string) *DescribeNetworkRuleRequest
func (DescribeNetworkRuleRequest) String ¶ added in v3.1.0
func (s DescribeNetworkRuleRequest) String() string
type DescribeNetworkRuleResponse ¶ added in v3.1.0
type DescribeNetworkRuleResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeNetworkRuleResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeNetworkRuleResponse) GoString ¶ added in v3.1.0
func (s DescribeNetworkRuleResponse) GoString() string
func (*DescribeNetworkRuleResponse) SetBody ¶ added in v3.1.0
func (s *DescribeNetworkRuleResponse) SetBody(v *DescribeNetworkRuleResponseBody) *DescribeNetworkRuleResponse
func (*DescribeNetworkRuleResponse) SetHeaders ¶ added in v3.1.0
func (s *DescribeNetworkRuleResponse) SetHeaders(v map[string]*string) *DescribeNetworkRuleResponse
func (*DescribeNetworkRuleResponse) SetStatusCode ¶ added in v3.1.0
func (s *DescribeNetworkRuleResponse) SetStatusCode(v int32) *DescribeNetworkRuleResponse
func (DescribeNetworkRuleResponse) String ¶ added in v3.1.0
func (s DescribeNetworkRuleResponse) String() string
type DescribeNetworkRuleResponseBody ¶ added in v3.1.0
type DescribeNetworkRuleResponseBody struct { // The ARN of the access control rule. // // example: // // acs:kms:cn-hangzhou:119285303511****:network/networkrule_test Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"` // The description. // // example: // // Creat by kst-hzz62ee817bvyyr5**** Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 3bf02f7a-015b-4f93-be0f-cc043fda2d33 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The private IP address or private CIDR block. // // example: // // ["192.10.XX.XX","192.168.XX.XX/24"] SourcePrivateIp *string `json:"SourcePrivateIp,omitempty" xml:"SourcePrivateIp,omitempty"` // The network type. Only private IP addresses are supported. The value is fixed as Private. // // example: // // Private Type *string `json:"Type,omitempty" xml:"Type,omitempty"` }
func (DescribeNetworkRuleResponseBody) GoString ¶ added in v3.1.0
func (s DescribeNetworkRuleResponseBody) GoString() string
func (*DescribeNetworkRuleResponseBody) SetArn ¶ added in v3.1.0
func (s *DescribeNetworkRuleResponseBody) SetArn(v string) *DescribeNetworkRuleResponseBody
func (*DescribeNetworkRuleResponseBody) SetDescription ¶ added in v3.1.0
func (s *DescribeNetworkRuleResponseBody) SetDescription(v string) *DescribeNetworkRuleResponseBody
func (*DescribeNetworkRuleResponseBody) SetRequestId ¶ added in v3.1.0
func (s *DescribeNetworkRuleResponseBody) SetRequestId(v string) *DescribeNetworkRuleResponseBody
func (*DescribeNetworkRuleResponseBody) SetSourcePrivateIp ¶ added in v3.1.0
func (s *DescribeNetworkRuleResponseBody) SetSourcePrivateIp(v string) *DescribeNetworkRuleResponseBody
func (*DescribeNetworkRuleResponseBody) SetType ¶ added in v3.1.0
func (s *DescribeNetworkRuleResponseBody) SetType(v string) *DescribeNetworkRuleResponseBody
func (DescribeNetworkRuleResponseBody) String ¶ added in v3.1.0
func (s DescribeNetworkRuleResponseBody) String() string
type DescribePolicyRequest ¶ added in v3.1.0
type DescribePolicyRequest struct { // The name of the permission policy that you want to query. // // This parameter is required. // // example: // // policy_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` }
func (DescribePolicyRequest) GoString ¶ added in v3.1.0
func (s DescribePolicyRequest) GoString() string
func (*DescribePolicyRequest) SetName ¶ added in v3.1.0
func (s *DescribePolicyRequest) SetName(v string) *DescribePolicyRequest
func (DescribePolicyRequest) String ¶ added in v3.1.0
func (s DescribePolicyRequest) String() string
type DescribePolicyResponse ¶ added in v3.1.0
type DescribePolicyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribePolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribePolicyResponse) GoString ¶ added in v3.1.0
func (s DescribePolicyResponse) GoString() string
func (*DescribePolicyResponse) SetBody ¶ added in v3.1.0
func (s *DescribePolicyResponse) SetBody(v *DescribePolicyResponseBody) *DescribePolicyResponse
func (*DescribePolicyResponse) SetHeaders ¶ added in v3.1.0
func (s *DescribePolicyResponse) SetHeaders(v map[string]*string) *DescribePolicyResponse
func (*DescribePolicyResponse) SetStatusCode ¶ added in v3.1.0
func (s *DescribePolicyResponse) SetStatusCode(v int32) *DescribePolicyResponse
func (DescribePolicyResponse) String ¶ added in v3.1.0
func (s DescribePolicyResponse) String() string
type DescribePolicyResponseBody ¶ added in v3.1.0
type DescribePolicyResponseBody struct { // The network access rule that is associated with the permission policy. // // example: // // {"NetworkRules":["kst-hzz62ee817bvyyr5x****.efkd","kst-hzz62ee817bvyyr5x****.eyyp"]} AccessControlRules *string `json:"AccessControlRules,omitempty" xml:"AccessControlRules,omitempty"` // The Alibaba Cloud Resource Name (ARN) of the permission policy. // // example: // // acs:kms:cn-hangzhou:119285303511****:policy/policy_test Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"` // The description. // // example: // // policy description Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The scope of the permission policy. // // example: // // kst-hzz634e67d126u9p9**** KmsInstance *string `json:"KmsInstance,omitempty" xml:"KmsInstance,omitempty"` // The name of the permission policy. // // example: // // policy_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // A list of operations that can be performed. // // example: // // ["RbacPermission/Template/CryptoServiceKeyUser", "RbacPermission/Template/CryptoServiceSecretUser"] Permissions []*string `json:"Permissions,omitempty" xml:"Permissions,omitempty" type:"Repeated"` // The request ID. // // example: // // f455324b-e229-4066-9f58-9c1cf3fe83a9 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // A list of keys and secrets that are allowed to access. // // example: // // ["secret/acs/ram/user/ram-secret", "secret/acs/ram/user/acr-master", "key/key-hzz63d9c8d3dfv8cv****"] Resources []*string `json:"Resources,omitempty" xml:"Resources,omitempty" type:"Repeated"` }
func (DescribePolicyResponseBody) GoString ¶ added in v3.1.0
func (s DescribePolicyResponseBody) GoString() string
func (*DescribePolicyResponseBody) SetAccessControlRules ¶ added in v3.1.0
func (s *DescribePolicyResponseBody) SetAccessControlRules(v string) *DescribePolicyResponseBody
func (*DescribePolicyResponseBody) SetArn ¶ added in v3.1.0
func (s *DescribePolicyResponseBody) SetArn(v string) *DescribePolicyResponseBody
func (*DescribePolicyResponseBody) SetDescription ¶ added in v3.1.0
func (s *DescribePolicyResponseBody) SetDescription(v string) *DescribePolicyResponseBody
func (*DescribePolicyResponseBody) SetKmsInstance ¶ added in v3.1.0
func (s *DescribePolicyResponseBody) SetKmsInstance(v string) *DescribePolicyResponseBody
func (*DescribePolicyResponseBody) SetName ¶ added in v3.1.0
func (s *DescribePolicyResponseBody) SetName(v string) *DescribePolicyResponseBody
func (*DescribePolicyResponseBody) SetPermissions ¶ added in v3.1.0
func (s *DescribePolicyResponseBody) SetPermissions(v []*string) *DescribePolicyResponseBody
func (*DescribePolicyResponseBody) SetRequestId ¶ added in v3.1.0
func (s *DescribePolicyResponseBody) SetRequestId(v string) *DescribePolicyResponseBody
func (*DescribePolicyResponseBody) SetResources ¶ added in v3.1.0
func (s *DescribePolicyResponseBody) SetResources(v []*string) *DescribePolicyResponseBody
func (DescribePolicyResponseBody) String ¶ added in v3.1.0
func (s DescribePolicyResponseBody) String() string
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeRegionsResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeRegionsResponse) GoString ¶
func (s DescribeRegionsResponse) GoString() string
func (*DescribeRegionsResponse) SetBody ¶
func (s *DescribeRegionsResponse) SetBody(v *DescribeRegionsResponseBody) *DescribeRegionsResponse
func (*DescribeRegionsResponse) SetHeaders ¶
func (s *DescribeRegionsResponse) SetHeaders(v map[string]*string) *DescribeRegionsResponse
func (*DescribeRegionsResponse) SetStatusCode ¶
func (s *DescribeRegionsResponse) SetStatusCode(v int32) *DescribeRegionsResponse
func (DescribeRegionsResponse) String ¶
func (s DescribeRegionsResponse) String() string
type DescribeRegionsResponseBody ¶
type DescribeRegionsResponseBody struct { // The region. Regions *DescribeRegionsResponseBodyRegions `json:"Regions,omitempty" xml:"Regions,omitempty" type:"Struct"` // The ID of the request. // // example: // // 815240e2-aa37-4c26-9cca-05d4df3e8fe6 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DescribeRegionsResponseBody) GoString ¶
func (s DescribeRegionsResponseBody) GoString() string
func (*DescribeRegionsResponseBody) SetRegions ¶
func (s *DescribeRegionsResponseBody) SetRegions(v *DescribeRegionsResponseBodyRegions) *DescribeRegionsResponseBody
func (*DescribeRegionsResponseBody) SetRequestId ¶
func (s *DescribeRegionsResponseBody) SetRequestId(v string) *DescribeRegionsResponseBody
func (DescribeRegionsResponseBody) String ¶
func (s DescribeRegionsResponseBody) String() string
type DescribeRegionsResponseBodyRegions ¶
type DescribeRegionsResponseBodyRegions struct {
Region []*DescribeRegionsResponseBodyRegionsRegion `json:"Region,omitempty" xml:"Region,omitempty" type:"Repeated"`
}
func (DescribeRegionsResponseBodyRegions) GoString ¶
func (s DescribeRegionsResponseBodyRegions) GoString() string
func (*DescribeRegionsResponseBodyRegions) SetRegion ¶
func (s *DescribeRegionsResponseBodyRegions) SetRegion(v []*DescribeRegionsResponseBodyRegionsRegion) *DescribeRegionsResponseBodyRegions
func (DescribeRegionsResponseBodyRegions) String ¶
func (s DescribeRegionsResponseBodyRegions) String() string
type DescribeRegionsResponseBodyRegionsRegion ¶
type DescribeRegionsResponseBodyRegionsRegion struct { // The region ID. // // example: // // cn-hangzhou RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` }
func (DescribeRegionsResponseBodyRegionsRegion) GoString ¶
func (s DescribeRegionsResponseBodyRegionsRegion) GoString() string
func (*DescribeRegionsResponseBodyRegionsRegion) SetRegionId ¶
func (s *DescribeRegionsResponseBodyRegionsRegion) SetRegionId(v string) *DescribeRegionsResponseBodyRegionsRegion
func (DescribeRegionsResponseBodyRegionsRegion) String ¶
func (s DescribeRegionsResponseBodyRegionsRegion) String() string
type DescribeSecretRequest ¶
type DescribeSecretRequest struct { // Specifies whether to return the resource tags of the secret. Valid values: // // - true: The resource tags are returned. // // - false: The resource tags are not returned. This is the default value. // // example: // // true FetchTags *string `json:"FetchTags,omitempty" xml:"FetchTags,omitempty"` // The name of the secret. // // This parameter is required. // // example: // // secret001 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` }
func (DescribeSecretRequest) GoString ¶
func (s DescribeSecretRequest) GoString() string
func (*DescribeSecretRequest) SetFetchTags ¶
func (s *DescribeSecretRequest) SetFetchTags(v string) *DescribeSecretRequest
func (*DescribeSecretRequest) SetSecretName ¶
func (s *DescribeSecretRequest) SetSecretName(v string) *DescribeSecretRequest
func (DescribeSecretRequest) String ¶
func (s DescribeSecretRequest) String() string
type DescribeSecretResponse ¶
type DescribeSecretResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeSecretResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeSecretResponse) GoString ¶
func (s DescribeSecretResponse) GoString() string
func (*DescribeSecretResponse) SetBody ¶
func (s *DescribeSecretResponse) SetBody(v *DescribeSecretResponseBody) *DescribeSecretResponse
func (*DescribeSecretResponse) SetHeaders ¶
func (s *DescribeSecretResponse) SetHeaders(v map[string]*string) *DescribeSecretResponse
func (*DescribeSecretResponse) SetStatusCode ¶
func (s *DescribeSecretResponse) SetStatusCode(v int32) *DescribeSecretResponse
func (DescribeSecretResponse) String ¶
func (s DescribeSecretResponse) String() string
type DescribeSecretResponseBody ¶
type DescribeSecretResponseBody struct { // The Alibaba Cloud Resource Name (ARN) of the secret. // // example: // // acs:kms:cn-hangzhou:154035569884****:secret/secret001 Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"` // Indicates whether automatic rotation is enabled. Valid values: // // - Enabled: indicates that automatic rotation is enabled. // // - Disabled: indicates that automatic rotation is disabled. // // - Invalid: indicates that the status of automatic rotation is abnormal. In this case, Secrets Manager cannot automatically rotate the secret. // // > This parameter is returned only for a managed ApsaraDB RDS secret, a managed RAM secret, or a managed ECS secret. // // example: // // Enabled AutomaticRotation *string `json:"AutomaticRotation,omitempty" xml:"AutomaticRotation,omitempty"` // The time when the secret was created. // // example: // // 2022-02-21T15:39:26Z CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` // The ID of the dedicated KMS instance. // // example: // // kst-bjj62d8f5e0sgtx8h**** DKMSInstanceId *string `json:"DKMSInstanceId,omitempty" xml:"DKMSInstanceId,omitempty"` // The description of the secret. // // example: // // userinfo Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The ID of the customer master key (CMK) that is used to encrypt the secret value. // // example: // // 00aa68af-2c02-4f68-95fe-3435d330**** EncryptionKeyId *string `json:"EncryptionKeyId,omitempty" xml:"EncryptionKeyId,omitempty"` // The extended configuration of the secret. // // > This parameter is returned only for a managed ApsaraDB RDS secret, a managed Resource Access Management (RAM) secret, or a managed Elastic Compute Service (ECS) secret. // // example: // // {\\"SecretSubType\\":\\"SingleUser\\", \\"DBInstanceId\\":\\"rm-uf667446pc955****\\", \\"CustomData\\":{} } ExtendedConfig *string `json:"ExtendedConfig,omitempty" xml:"ExtendedConfig,omitempty"` // The time when the last rotation was performed. // // > This parameter is returned if the secret was rotated. // // example: // // 2022-07-05T08:22:03Z LastRotationDate *string `json:"LastRotationDate,omitempty" xml:"LastRotationDate,omitempty"` // The time when the next rotation will be performed. // // > This parameter is returned when automatic rotation is enabled. // // example: // // 2022-07-06T18:22:03Z NextRotationDate *string `json:"NextRotationDate,omitempty" xml:"NextRotationDate,omitempty"` // The time when the secret is scheduled to be deleted. // // example: // // 2022-03-21T15:45:12Z PlannedDeleteTime *string `json:"PlannedDeleteTime,omitempty" xml:"PlannedDeleteTime,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 93348dfb-3627-4417-8d90-487a76a909c9 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The interval for automatic rotation. // // The value is in the `integer[unit]` format. `integer` indicates the length of time. `unit`: indicates the time unit. The value of `unit` is fixed as s. For example, if the value is 604800s, automatic rotation is performed at a 7-day interval. // // > This parameter is returned when automatic rotation is enabled. // // example: // // 3153600s RotationInterval *string `json:"RotationInterval,omitempty" xml:"RotationInterval,omitempty"` // The name of the secret. // // example: // // secret001 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` // The type of the secret. Valid values: // // - Generic: indicates a generic secret. // // - Rds: indicates a managed ApsaraDB RDS secret. // // - RAMCredentials: indicates a managed RAM secret. // // - ECS: indicates a managed ECS secret. // // example: // // Rds SecretType *string `json:"SecretType,omitempty" xml:"SecretType,omitempty"` // The resource tags of the secret. // // This parameter is not returned if you set the FetchTags parameter to false or you do not specify the FetchTags parameter. Tags *DescribeSecretResponseBodyTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"` // The time when the secret was updated. // // example: // // 2022-02-21T15:39:26Z UpdateTime *string `json:"UpdateTime,omitempty" xml:"UpdateTime,omitempty"` }
func (DescribeSecretResponseBody) GoString ¶
func (s DescribeSecretResponseBody) GoString() string
func (*DescribeSecretResponseBody) SetArn ¶
func (s *DescribeSecretResponseBody) SetArn(v string) *DescribeSecretResponseBody
func (*DescribeSecretResponseBody) SetAutomaticRotation ¶
func (s *DescribeSecretResponseBody) SetAutomaticRotation(v string) *DescribeSecretResponseBody
func (*DescribeSecretResponseBody) SetCreateTime ¶
func (s *DescribeSecretResponseBody) SetCreateTime(v string) *DescribeSecretResponseBody
func (*DescribeSecretResponseBody) SetDKMSInstanceId ¶
func (s *DescribeSecretResponseBody) SetDKMSInstanceId(v string) *DescribeSecretResponseBody
func (*DescribeSecretResponseBody) SetDescription ¶
func (s *DescribeSecretResponseBody) SetDescription(v string) *DescribeSecretResponseBody
func (*DescribeSecretResponseBody) SetEncryptionKeyId ¶
func (s *DescribeSecretResponseBody) SetEncryptionKeyId(v string) *DescribeSecretResponseBody
func (*DescribeSecretResponseBody) SetExtendedConfig ¶
func (s *DescribeSecretResponseBody) SetExtendedConfig(v string) *DescribeSecretResponseBody
func (*DescribeSecretResponseBody) SetLastRotationDate ¶
func (s *DescribeSecretResponseBody) SetLastRotationDate(v string) *DescribeSecretResponseBody
func (*DescribeSecretResponseBody) SetNextRotationDate ¶
func (s *DescribeSecretResponseBody) SetNextRotationDate(v string) *DescribeSecretResponseBody
func (*DescribeSecretResponseBody) SetPlannedDeleteTime ¶
func (s *DescribeSecretResponseBody) SetPlannedDeleteTime(v string) *DescribeSecretResponseBody
func (*DescribeSecretResponseBody) SetRequestId ¶
func (s *DescribeSecretResponseBody) SetRequestId(v string) *DescribeSecretResponseBody
func (*DescribeSecretResponseBody) SetRotationInterval ¶
func (s *DescribeSecretResponseBody) SetRotationInterval(v string) *DescribeSecretResponseBody
func (*DescribeSecretResponseBody) SetSecretName ¶
func (s *DescribeSecretResponseBody) SetSecretName(v string) *DescribeSecretResponseBody
func (*DescribeSecretResponseBody) SetSecretType ¶
func (s *DescribeSecretResponseBody) SetSecretType(v string) *DescribeSecretResponseBody
func (*DescribeSecretResponseBody) SetTags ¶
func (s *DescribeSecretResponseBody) SetTags(v *DescribeSecretResponseBodyTags) *DescribeSecretResponseBody
func (*DescribeSecretResponseBody) SetUpdateTime ¶
func (s *DescribeSecretResponseBody) SetUpdateTime(v string) *DescribeSecretResponseBody
func (DescribeSecretResponseBody) String ¶
func (s DescribeSecretResponseBody) String() string
type DescribeSecretResponseBodyTags ¶
type DescribeSecretResponseBodyTags struct {
Tag []*DescribeSecretResponseBodyTagsTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}
func (DescribeSecretResponseBodyTags) GoString ¶
func (s DescribeSecretResponseBodyTags) GoString() string
func (*DescribeSecretResponseBodyTags) SetTag ¶
func (s *DescribeSecretResponseBodyTags) SetTag(v []*DescribeSecretResponseBodyTagsTag) *DescribeSecretResponseBodyTags
func (DescribeSecretResponseBodyTags) String ¶
func (s DescribeSecretResponseBodyTags) String() string
type DescribeSecretResponseBodyTagsTag ¶
type DescribeSecretResponseBodyTagsTag struct { // The tag key. // // example: // // key1 TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"` // The tag value. // // example: // // val1 TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"` }
func (DescribeSecretResponseBodyTagsTag) GoString ¶
func (s DescribeSecretResponseBodyTagsTag) GoString() string
func (*DescribeSecretResponseBodyTagsTag) SetTagKey ¶
func (s *DescribeSecretResponseBodyTagsTag) SetTagKey(v string) *DescribeSecretResponseBodyTagsTag
func (*DescribeSecretResponseBodyTagsTag) SetTagValue ¶
func (s *DescribeSecretResponseBodyTagsTag) SetTagValue(v string) *DescribeSecretResponseBodyTagsTag
func (DescribeSecretResponseBodyTagsTag) String ¶
func (s DescribeSecretResponseBodyTagsTag) String() string
type DisableKeyRequest ¶
type DisableKeyRequest struct { // The ID of the CMK. The ID must be globally unique. // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` }
func (DisableKeyRequest) GoString ¶
func (s DisableKeyRequest) GoString() string
func (*DisableKeyRequest) SetKeyId ¶
func (s *DisableKeyRequest) SetKeyId(v string) *DisableKeyRequest
func (DisableKeyRequest) String ¶
func (s DisableKeyRequest) String() string
type DisableKeyResponse ¶
type DisableKeyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DisableKeyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DisableKeyResponse) GoString ¶
func (s DisableKeyResponse) GoString() string
func (*DisableKeyResponse) SetBody ¶
func (s *DisableKeyResponse) SetBody(v *DisableKeyResponseBody) *DisableKeyResponse
func (*DisableKeyResponse) SetHeaders ¶
func (s *DisableKeyResponse) SetHeaders(v map[string]*string) *DisableKeyResponse
func (*DisableKeyResponse) SetStatusCode ¶
func (s *DisableKeyResponse) SetStatusCode(v int32) *DisableKeyResponse
func (DisableKeyResponse) String ¶
func (s DisableKeyResponse) String() string
type DisableKeyResponseBody ¶
type DisableKeyResponseBody struct { // The ID of the request. // // example: // // 2fe70ce2-3303-4fd6-b3ac-472fb2705c62 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DisableKeyResponseBody) GoString ¶
func (s DisableKeyResponseBody) GoString() string
func (*DisableKeyResponseBody) SetRequestId ¶
func (s *DisableKeyResponseBody) SetRequestId(v string) *DisableKeyResponseBody
func (DisableKeyResponseBody) String ¶
func (s DisableKeyResponseBody) String() string
type EnableKeyRequest ¶
type EnableKeyRequest struct { // The globally unique ID of the CMK. // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` }
func (EnableKeyRequest) GoString ¶
func (s EnableKeyRequest) GoString() string
func (*EnableKeyRequest) SetKeyId ¶
func (s *EnableKeyRequest) SetKeyId(v string) *EnableKeyRequest
func (EnableKeyRequest) String ¶
func (s EnableKeyRequest) String() string
type EnableKeyResponse ¶
type EnableKeyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *EnableKeyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (EnableKeyResponse) GoString ¶
func (s EnableKeyResponse) GoString() string
func (*EnableKeyResponse) SetBody ¶
func (s *EnableKeyResponse) SetBody(v *EnableKeyResponseBody) *EnableKeyResponse
func (*EnableKeyResponse) SetHeaders ¶
func (s *EnableKeyResponse) SetHeaders(v map[string]*string) *EnableKeyResponse
func (*EnableKeyResponse) SetStatusCode ¶
func (s *EnableKeyResponse) SetStatusCode(v int32) *EnableKeyResponse
func (EnableKeyResponse) String ¶
func (s EnableKeyResponse) String() string
type EnableKeyResponseBody ¶
type EnableKeyResponseBody struct { // The ID of the request. // // example: // // efb1cbbd-a093-4278-bc03-639dd4fcc207 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (EnableKeyResponseBody) GoString ¶
func (s EnableKeyResponseBody) GoString() string
func (*EnableKeyResponseBody) SetRequestId ¶
func (s *EnableKeyResponseBody) SetRequestId(v string) *EnableKeyResponseBody
func (EnableKeyResponseBody) String ¶
func (s EnableKeyResponseBody) String() string
type EncryptRequest ¶
type EncryptRequest struct { DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // A JSON string that consists of key-value pairs. If you specify this parameter, an equivalent value is required when you call the Decrypt operation. For more information, see [EncryptionContext](https://help.aliyun.com/document_detail/42975.html). // // example: // // {"Example":"Example"} EncryptionContext map[string]interface{} `json:"EncryptionContext,omitempty" xml:"EncryptionContext,omitempty"` // The globally unique ID of the CMK. You can also set this parameter to an alias that is bound to the CMK. For more information, see [Use aliases](https://help.aliyun.com/document_detail/68522.html). // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The plaintext to be encrypted. The plaintext must be Base64 encoded. // // This parameter is required. // // example: // // SGVsbG8gd29y**** Plaintext *string `json:"Plaintext,omitempty" xml:"Plaintext,omitempty"` }
func (EncryptRequest) GoString ¶
func (s EncryptRequest) GoString() string
func (*EncryptRequest) SetDryRun ¶ added in v3.2.2
func (s *EncryptRequest) SetDryRun(v string) *EncryptRequest
func (*EncryptRequest) SetEncryptionContext ¶
func (s *EncryptRequest) SetEncryptionContext(v map[string]interface{}) *EncryptRequest
func (*EncryptRequest) SetKeyId ¶
func (s *EncryptRequest) SetKeyId(v string) *EncryptRequest
func (*EncryptRequest) SetPlaintext ¶
func (s *EncryptRequest) SetPlaintext(v string) *EncryptRequest
func (EncryptRequest) String ¶
func (s EncryptRequest) String() string
type EncryptResponse ¶
type EncryptResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *EncryptResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (EncryptResponse) GoString ¶
func (s EncryptResponse) GoString() string
func (*EncryptResponse) SetBody ¶
func (s *EncryptResponse) SetBody(v *EncryptResponseBody) *EncryptResponse
func (*EncryptResponse) SetHeaders ¶
func (s *EncryptResponse) SetHeaders(v map[string]*string) *EncryptResponse
func (*EncryptResponse) SetStatusCode ¶
func (s *EncryptResponse) SetStatusCode(v int32) *EncryptResponse
func (EncryptResponse) String ¶
func (s EncryptResponse) String() string
type EncryptResponseBody ¶
type EncryptResponseBody struct { // The ciphertext of the data that is encrypted by using the primary CMK version. // // example: // // DZhOWVmZDktM2QxNi00ODk0LWJkNGYtMWZjNDNmM2YyYWJmaaSl+TztSIMe43nbTH/Z1Wr4XfLftKhAciUmDQXuMRl4WTvKhxjMThjK**** CiphertextBlob *string `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` // The globally unique ID of the CMK. If you set the KeyId parameter to an alias, the ID of the CMK to which the alias is bound is returned. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The ID of the key version that is used to encrypt the plaintext. It is the primary version of the CMK. // // example: // // 86a9efd9-3d16-4894-bd4f-1fc43f3f**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // The ID of the request. // // example: // // 475f1620-b9d3-4d35-b5c6-3fbdd941423d RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (EncryptResponseBody) GoString ¶
func (s EncryptResponseBody) GoString() string
func (*EncryptResponseBody) SetCiphertextBlob ¶
func (s *EncryptResponseBody) SetCiphertextBlob(v string) *EncryptResponseBody
func (*EncryptResponseBody) SetKeyId ¶
func (s *EncryptResponseBody) SetKeyId(v string) *EncryptResponseBody
func (*EncryptResponseBody) SetKeyVersionId ¶
func (s *EncryptResponseBody) SetKeyVersionId(v string) *EncryptResponseBody
func (*EncryptResponseBody) SetRequestId ¶
func (s *EncryptResponseBody) SetRequestId(v string) *EncryptResponseBody
func (EncryptResponseBody) String ¶
func (s EncryptResponseBody) String() string
type EncryptShrinkRequest ¶
type EncryptShrinkRequest struct { DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // A JSON string that consists of key-value pairs. If you specify this parameter, an equivalent value is required when you call the Decrypt operation. For more information, see [EncryptionContext](https://help.aliyun.com/document_detail/42975.html). // // example: // // {"Example":"Example"} EncryptionContextShrink *string `json:"EncryptionContext,omitempty" xml:"EncryptionContext,omitempty"` // The globally unique ID of the CMK. You can also set this parameter to an alias that is bound to the CMK. For more information, see [Use aliases](https://help.aliyun.com/document_detail/68522.html). // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The plaintext to be encrypted. The plaintext must be Base64 encoded. // // This parameter is required. // // example: // // SGVsbG8gd29y**** Plaintext *string `json:"Plaintext,omitempty" xml:"Plaintext,omitempty"` }
func (EncryptShrinkRequest) GoString ¶
func (s EncryptShrinkRequest) GoString() string
func (*EncryptShrinkRequest) SetDryRun ¶ added in v3.2.2
func (s *EncryptShrinkRequest) SetDryRun(v string) *EncryptShrinkRequest
func (*EncryptShrinkRequest) SetEncryptionContextShrink ¶
func (s *EncryptShrinkRequest) SetEncryptionContextShrink(v string) *EncryptShrinkRequest
func (*EncryptShrinkRequest) SetKeyId ¶
func (s *EncryptShrinkRequest) SetKeyId(v string) *EncryptShrinkRequest
func (*EncryptShrinkRequest) SetPlaintext ¶
func (s *EncryptShrinkRequest) SetPlaintext(v string) *EncryptShrinkRequest
func (EncryptShrinkRequest) String ¶
func (s EncryptShrinkRequest) String() string
type ExportDataKeyRequest ¶
type ExportDataKeyRequest struct { // The ciphertext of the data key encrypted by using a CMK. // // This parameter is required. // // example: // // ODZhOWVmZDktM2QxNi00ODk0LWJkNGYtMWZjNDNmM2YyYWJmS7FmDBBQ0BkKsQrtRnidtPwirmDcS0ZuJCU41xxAAWk4Z8qsADfbV0b+i6kQmlvj79dJdGOvtX69Uycs901q******** CiphertextBlob *string `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // A JSON string that consists of key-value pairs. If you specify this parameter when you use a CMK to encrypt the data key, an equivalent value is required here. For more information, see [EncryptionContext](https://help.aliyun.com/document_detail/42975.html). // // example: // // {"Example":"Example"} EncryptionContext map[string]interface{} `json:"EncryptionContext,omitempty" xml:"EncryptionContext,omitempty"` // A Base64-encoded public key. // // This parameter is required. // // example: // // MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAndKfC2ReLL2+y8a0+ZBBeAft/uBYo86GZiYJuflqgUzKxpyuvlo3uQkBv6b+nx+0tz8g8v7GhpPWMSW5L9mNHYsvYFsa7jTxsYdt17yj6GlUHPuMIs8hr5qbwl38IHU1iIa7nYWwE2fb3ePOvLDACRJVgGpU0yxioW80d2QD+9aU4jF5dlAahcfgsNzo2CXzCUc1+xbmNuq7Rp+H9VJB9dyYOwqnW3RhOLBo21FzpORapf0UiRlrHRpk1V6ez+aE1dofaYh/9bh0m6ioxj7j5hpZbWccuEZTMBKd+cbuBkRhJzc6Tti6qwZbDiu4fUwbZS0Tqpuo1UadiyxMW******** PublicKeyBlob *string `json:"PublicKeyBlob,omitempty" xml:"PublicKeyBlob,omitempty"` // The encryption algorithm based on which you want to use the public key specified by PublicKeyBlob to encrypt the data key. For more information about encryption algorithms, see [AsymmetricDecrypt](https://help.aliyun.com/document_detail/148130.html). // // Valid values: // // - RSAES_OAEP_SHA_256 // // - RSAES_OAEP_SHA_1 // // - SM2PKE // // This parameter is required. // // example: // // RSAES_OAEP_SHA_256 WrappingAlgorithm *string `json:"WrappingAlgorithm,omitempty" xml:"WrappingAlgorithm,omitempty"` // The key type of the public key specified by PublicKeyBlob. For more information about key types, see [Introduction to asymmetric keys](https://help.aliyun.com/document_detail/148147.html). // // Valid values: // // - RSA_2048 // // - EC_SM2 // // This parameter is required. // // example: // // RSA_2048 WrappingKeySpec *string `json:"WrappingKeySpec,omitempty" xml:"WrappingKeySpec,omitempty"` }
func (ExportDataKeyRequest) GoString ¶
func (s ExportDataKeyRequest) GoString() string
func (*ExportDataKeyRequest) SetCiphertextBlob ¶
func (s *ExportDataKeyRequest) SetCiphertextBlob(v string) *ExportDataKeyRequest
func (*ExportDataKeyRequest) SetDryRun ¶ added in v3.2.2
func (s *ExportDataKeyRequest) SetDryRun(v string) *ExportDataKeyRequest
func (*ExportDataKeyRequest) SetEncryptionContext ¶
func (s *ExportDataKeyRequest) SetEncryptionContext(v map[string]interface{}) *ExportDataKeyRequest
func (*ExportDataKeyRequest) SetPublicKeyBlob ¶
func (s *ExportDataKeyRequest) SetPublicKeyBlob(v string) *ExportDataKeyRequest
func (*ExportDataKeyRequest) SetWrappingAlgorithm ¶
func (s *ExportDataKeyRequest) SetWrappingAlgorithm(v string) *ExportDataKeyRequest
func (*ExportDataKeyRequest) SetWrappingKeySpec ¶
func (s *ExportDataKeyRequest) SetWrappingKeySpec(v string) *ExportDataKeyRequest
func (ExportDataKeyRequest) String ¶
func (s ExportDataKeyRequest) String() string
type ExportDataKeyResponse ¶
type ExportDataKeyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ExportDataKeyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ExportDataKeyResponse) GoString ¶
func (s ExportDataKeyResponse) GoString() string
func (*ExportDataKeyResponse) SetBody ¶
func (s *ExportDataKeyResponse) SetBody(v *ExportDataKeyResponseBody) *ExportDataKeyResponse
func (*ExportDataKeyResponse) SetHeaders ¶
func (s *ExportDataKeyResponse) SetHeaders(v map[string]*string) *ExportDataKeyResponse
func (*ExportDataKeyResponse) SetStatusCode ¶
func (s *ExportDataKeyResponse) SetStatusCode(v int32) *ExportDataKeyResponse
func (ExportDataKeyResponse) String ¶
func (s ExportDataKeyResponse) String() string
type ExportDataKeyResponseBody ¶
type ExportDataKeyResponseBody struct { // The data key encrypted by using the public key and then exported. // // example: // // BQKP+1zK6+ZEMxTP5qaVzcsgXtWplYBKm0NXdSnB5FzliFxE1bSiu4dnEIlca2JpeH7yz1/S6fed630H+hIH6DoM25fTLNcKj+mFB0Xnh9m2+HN59Mn4qyTfcUeadnfCXSWcGBouhXFwcdd2rJ3n337bzTf4jm659gZu3L0i6PLuxM9p7mqdwO0cKJPfGVfhnfMz+f4alMg79WB/NNyE2lyX7/qxvV49ObNrrJbKSFiz8Djocaf0IESNLMbfYI5bXjWkJlX92DQbKhibtQW8ZOJ//ZC6t0AWcUoKL6QDm/dg5koQalcleRinpB+QadFm894sLbVZ9+N4GVs******* ExportedDataKey *string `json:"ExportedDataKey,omitempty" xml:"ExportedDataKey,omitempty"` // The ID of the CMK that is used to decrypt the specified ciphertext of the data key. // // This parameter is the globally unique ID of the CMK. // // example: // // 202b9877-5a25-46e3-a763-e20791b5**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The ID of the CMK version that is used to decrypt the specified ciphertext of the data key. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // The ID of the request. // // example: // // 4bd560a1-729e-45f1-a3d9-b2a33d61046b RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (ExportDataKeyResponseBody) GoString ¶
func (s ExportDataKeyResponseBody) GoString() string
func (*ExportDataKeyResponseBody) SetExportedDataKey ¶
func (s *ExportDataKeyResponseBody) SetExportedDataKey(v string) *ExportDataKeyResponseBody
func (*ExportDataKeyResponseBody) SetKeyId ¶
func (s *ExportDataKeyResponseBody) SetKeyId(v string) *ExportDataKeyResponseBody
func (*ExportDataKeyResponseBody) SetKeyVersionId ¶
func (s *ExportDataKeyResponseBody) SetKeyVersionId(v string) *ExportDataKeyResponseBody
func (*ExportDataKeyResponseBody) SetRequestId ¶
func (s *ExportDataKeyResponseBody) SetRequestId(v string) *ExportDataKeyResponseBody
func (ExportDataKeyResponseBody) String ¶
func (s ExportDataKeyResponseBody) String() string
type ExportDataKeyShrinkRequest ¶
type ExportDataKeyShrinkRequest struct { // The ciphertext of the data key encrypted by using a CMK. // // This parameter is required. // // example: // // ODZhOWVmZDktM2QxNi00ODk0LWJkNGYtMWZjNDNmM2YyYWJmS7FmDBBQ0BkKsQrtRnidtPwirmDcS0ZuJCU41xxAAWk4Z8qsADfbV0b+i6kQmlvj79dJdGOvtX69Uycs901q******** CiphertextBlob *string `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // A JSON string that consists of key-value pairs. If you specify this parameter when you use a CMK to encrypt the data key, an equivalent value is required here. For more information, see [EncryptionContext](https://help.aliyun.com/document_detail/42975.html). // // example: // // {"Example":"Example"} EncryptionContextShrink *string `json:"EncryptionContext,omitempty" xml:"EncryptionContext,omitempty"` // A Base64-encoded public key. // // This parameter is required. // // example: // // MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAndKfC2ReLL2+y8a0+ZBBeAft/uBYo86GZiYJuflqgUzKxpyuvlo3uQkBv6b+nx+0tz8g8v7GhpPWMSW5L9mNHYsvYFsa7jTxsYdt17yj6GlUHPuMIs8hr5qbwl38IHU1iIa7nYWwE2fb3ePOvLDACRJVgGpU0yxioW80d2QD+9aU4jF5dlAahcfgsNzo2CXzCUc1+xbmNuq7Rp+H9VJB9dyYOwqnW3RhOLBo21FzpORapf0UiRlrHRpk1V6ez+aE1dofaYh/9bh0m6ioxj7j5hpZbWccuEZTMBKd+cbuBkRhJzc6Tti6qwZbDiu4fUwbZS0Tqpuo1UadiyxMW******** PublicKeyBlob *string `json:"PublicKeyBlob,omitempty" xml:"PublicKeyBlob,omitempty"` // The encryption algorithm based on which you want to use the public key specified by PublicKeyBlob to encrypt the data key. For more information about encryption algorithms, see [AsymmetricDecrypt](https://help.aliyun.com/document_detail/148130.html). // // Valid values: // // - RSAES_OAEP_SHA_256 // // - RSAES_OAEP_SHA_1 // // - SM2PKE // // This parameter is required. // // example: // // RSAES_OAEP_SHA_256 WrappingAlgorithm *string `json:"WrappingAlgorithm,omitempty" xml:"WrappingAlgorithm,omitempty"` // The key type of the public key specified by PublicKeyBlob. For more information about key types, see [Introduction to asymmetric keys](https://help.aliyun.com/document_detail/148147.html). // // Valid values: // // - RSA_2048 // // - EC_SM2 // // This parameter is required. // // example: // // RSA_2048 WrappingKeySpec *string `json:"WrappingKeySpec,omitempty" xml:"WrappingKeySpec,omitempty"` }
func (ExportDataKeyShrinkRequest) GoString ¶
func (s ExportDataKeyShrinkRequest) GoString() string
func (*ExportDataKeyShrinkRequest) SetCiphertextBlob ¶
func (s *ExportDataKeyShrinkRequest) SetCiphertextBlob(v string) *ExportDataKeyShrinkRequest
func (*ExportDataKeyShrinkRequest) SetDryRun ¶ added in v3.2.2
func (s *ExportDataKeyShrinkRequest) SetDryRun(v string) *ExportDataKeyShrinkRequest
func (*ExportDataKeyShrinkRequest) SetEncryptionContextShrink ¶
func (s *ExportDataKeyShrinkRequest) SetEncryptionContextShrink(v string) *ExportDataKeyShrinkRequest
func (*ExportDataKeyShrinkRequest) SetPublicKeyBlob ¶
func (s *ExportDataKeyShrinkRequest) SetPublicKeyBlob(v string) *ExportDataKeyShrinkRequest
func (*ExportDataKeyShrinkRequest) SetWrappingAlgorithm ¶
func (s *ExportDataKeyShrinkRequest) SetWrappingAlgorithm(v string) *ExportDataKeyShrinkRequest
func (*ExportDataKeyShrinkRequest) SetWrappingKeySpec ¶
func (s *ExportDataKeyShrinkRequest) SetWrappingKeySpec(v string) *ExportDataKeyShrinkRequest
func (ExportDataKeyShrinkRequest) String ¶
func (s ExportDataKeyShrinkRequest) String() string
type GenerateAndExportDataKeyRequest ¶
type GenerateAndExportDataKeyRequest struct { DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // A JSON string of key-value pairs. If you specify this parameter here, an equivalent value is required when you decrypt or re-encrypt the data key. For more information, see [EncryptionContext](https://help.aliyun.com/document_detail/42975.html). // // example: // // {"Example":"Example"} EncryptionContext map[string]interface{} `json:"EncryptionContext,omitempty" xml:"EncryptionContext,omitempty"` // The globally unique ID of the CMK. You can also set this parameter to an alias that is bound to the CMK. For more information, see [Use aliases](https://help.aliyun.com/document_detail/68522.html). // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The length of the data key that you want to generate. Valid values: // // - AES_256: a 256-bit symmetric key // // - AES_128: a 128-bit symmetric key // // > We recommend that you use the KeySpec or NumberOfBytes parameter to specify the length of a data key. If both parameters are not specified, KMS generates a 256-bit data key. If both parameters are specified, KMS ignores the KeySpec parameter. // // example: // // AES_256 KeySpec *string `json:"KeySpec,omitempty" xml:"KeySpec,omitempty"` // The length of the data key that you want to generate. // // Valid values: 1 to 1024. // // Unit: bytes. // // example: // // 32 NumberOfBytes *int32 `json:"NumberOfBytes,omitempty" xml:"NumberOfBytes,omitempty"` // A Base64-encoded public key. // // This parameter is required. // // example: // // MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAndKfC2ReLL2+y8a0+ZBBeAft/uBYo86GZiYJuflqgUzKxpyuvlo3uQkBv6b+nx+0tz8g8v7GhpPWMSW5L9mNHYsvYFsa7jTxsYdt17yj6GlUHPuMIs8hr5qbwl38IHU1iIa7nYWwE2fb3ePOvLDACRJVgGpU0yxioW80d2QD+9aU4jF5dlAahcfgsNzo2CXzCUc1+xbmNuq7Rp+H9VJB9dyYOwqnW3RhOLBo21FzpORapf0UiRlrHRpk1V6ez+aE1dofaYh/9bh0m6ioxj7j5hpZbWccuEZTMBKd+cbuBkRhJzc6Tti6qwZbDiu4fUwbZS0Tqpuo1UadiyxMW******** PublicKeyBlob *string `json:"PublicKeyBlob,omitempty" xml:"PublicKeyBlob,omitempty"` // The encryption algorithm based on which you want to use the public key specified by PublicKeyBlob to encrypt the data key. For more information about encryption algorithms, see [AsymmetricDecrypt](https://help.aliyun.com/document_detail/148130.html). // // Valid values: // // - RSAES_OAEP_SHA_256 // // - RSAES_OAEP_SHA_1 // // - SM2PKE // // This parameter is required. // // example: // // RSAES_OAEP_SHA_256 WrappingAlgorithm *string `json:"WrappingAlgorithm,omitempty" xml:"WrappingAlgorithm,omitempty"` // The key type of the public key specified by PublicKeyBlob. For more information about key types, see [Introduction to asymmetric keys](https://help.aliyun.com/document_detail/148147.html). // // Valid values: // // - RSA_2048 // // - EC_SM2 // // This parameter is required. // // example: // // RSA_2048 WrappingKeySpec *string `json:"WrappingKeySpec,omitempty" xml:"WrappingKeySpec,omitempty"` }
func (GenerateAndExportDataKeyRequest) GoString ¶
func (s GenerateAndExportDataKeyRequest) GoString() string
func (*GenerateAndExportDataKeyRequest) SetDryRun ¶ added in v3.2.2
func (s *GenerateAndExportDataKeyRequest) SetDryRun(v string) *GenerateAndExportDataKeyRequest
func (*GenerateAndExportDataKeyRequest) SetEncryptionContext ¶
func (s *GenerateAndExportDataKeyRequest) SetEncryptionContext(v map[string]interface{}) *GenerateAndExportDataKeyRequest
func (*GenerateAndExportDataKeyRequest) SetKeyId ¶
func (s *GenerateAndExportDataKeyRequest) SetKeyId(v string) *GenerateAndExportDataKeyRequest
func (*GenerateAndExportDataKeyRequest) SetKeySpec ¶
func (s *GenerateAndExportDataKeyRequest) SetKeySpec(v string) *GenerateAndExportDataKeyRequest
func (*GenerateAndExportDataKeyRequest) SetNumberOfBytes ¶
func (s *GenerateAndExportDataKeyRequest) SetNumberOfBytes(v int32) *GenerateAndExportDataKeyRequest
func (*GenerateAndExportDataKeyRequest) SetPublicKeyBlob ¶
func (s *GenerateAndExportDataKeyRequest) SetPublicKeyBlob(v string) *GenerateAndExportDataKeyRequest
func (*GenerateAndExportDataKeyRequest) SetWrappingAlgorithm ¶
func (s *GenerateAndExportDataKeyRequest) SetWrappingAlgorithm(v string) *GenerateAndExportDataKeyRequest
func (*GenerateAndExportDataKeyRequest) SetWrappingKeySpec ¶
func (s *GenerateAndExportDataKeyRequest) SetWrappingKeySpec(v string) *GenerateAndExportDataKeyRequest
func (GenerateAndExportDataKeyRequest) String ¶
func (s GenerateAndExportDataKeyRequest) String() string
type GenerateAndExportDataKeyResponse ¶
type GenerateAndExportDataKeyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *GenerateAndExportDataKeyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (GenerateAndExportDataKeyResponse) GoString ¶
func (s GenerateAndExportDataKeyResponse) GoString() string
func (*GenerateAndExportDataKeyResponse) SetBody ¶
func (s *GenerateAndExportDataKeyResponse) SetBody(v *GenerateAndExportDataKeyResponseBody) *GenerateAndExportDataKeyResponse
func (*GenerateAndExportDataKeyResponse) SetHeaders ¶
func (s *GenerateAndExportDataKeyResponse) SetHeaders(v map[string]*string) *GenerateAndExportDataKeyResponse
func (*GenerateAndExportDataKeyResponse) SetStatusCode ¶
func (s *GenerateAndExportDataKeyResponse) SetStatusCode(v int32) *GenerateAndExportDataKeyResponse
func (GenerateAndExportDataKeyResponse) String ¶
func (s GenerateAndExportDataKeyResponse) String() string
type GenerateAndExportDataKeyResponseBody ¶
type GenerateAndExportDataKeyResponseBody struct { // The ciphertext of the data key encrypted by using the primary CMK version. // // example: // // ODZhOWVmZDktM2QxNi00ODk0LWJkNGYtMWZjNDNmM2YyYWJmS7FmDBBQ0BkKsQrtRnidtPwirmDcS0ZuJCU41xxAAWk4Z8qsADfbV0b+i6kQmlvj79dJdGOvtX69Uycs901qOjop4bTS**** CiphertextBlob *string `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` // The data key encrypted by using the public key and then exported. // // example: // // BQKP+1zK6+ZEMxTP5qaVzcsgXtWplYBKm0NXdSnB5FzliFxE1bSiu4dnEIlca2JpeH7yz1/S6fed630H+hIH6DoM25fTLNcKj+mFB0Xnh9m2+HN59Mn4qyTfcUeadnfCXSWcGBouhXFwcdd2rJ3n337bzTf4jm659gZu3L0i6PLuxM9p7mqdwO0cKJPfGVfhnfMz+f4alMg79WB/NNyE2lyX7/qxvV49ObNrrJbKSFiz8Djocaf0IESNLMbfYI5bXjWkJlX92DQbKhibtQW8ZOJ//ZC6t0AWcUoKL6QDm/dg5koQalcleRinpB+QadFm894sLbVZ9+N4GVs******* ExportedDataKey *string `json:"ExportedDataKey,omitempty" xml:"ExportedDataKey,omitempty"` // The globally unique ID of the CMK. // // > If you set the KeyId parameter to an alias, the ID of the CMK to which the alias is bound is returned. // // example: // // 599fa825-17de-417e-9554-bb032cc6**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The ID of the CMK version that is used to encrypt the plaintext. It is the primary version of the CMK. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // The ID of the request. // // example: // // 7021b6ec-4be7-4d3c-8a68-1e85d4d515a0 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (GenerateAndExportDataKeyResponseBody) GoString ¶
func (s GenerateAndExportDataKeyResponseBody) GoString() string
func (*GenerateAndExportDataKeyResponseBody) SetCiphertextBlob ¶
func (s *GenerateAndExportDataKeyResponseBody) SetCiphertextBlob(v string) *GenerateAndExportDataKeyResponseBody
func (*GenerateAndExportDataKeyResponseBody) SetExportedDataKey ¶
func (s *GenerateAndExportDataKeyResponseBody) SetExportedDataKey(v string) *GenerateAndExportDataKeyResponseBody
func (*GenerateAndExportDataKeyResponseBody) SetKeyId ¶
func (s *GenerateAndExportDataKeyResponseBody) SetKeyId(v string) *GenerateAndExportDataKeyResponseBody
func (*GenerateAndExportDataKeyResponseBody) SetKeyVersionId ¶
func (s *GenerateAndExportDataKeyResponseBody) SetKeyVersionId(v string) *GenerateAndExportDataKeyResponseBody
func (*GenerateAndExportDataKeyResponseBody) SetRequestId ¶
func (s *GenerateAndExportDataKeyResponseBody) SetRequestId(v string) *GenerateAndExportDataKeyResponseBody
func (GenerateAndExportDataKeyResponseBody) String ¶
func (s GenerateAndExportDataKeyResponseBody) String() string
type GenerateAndExportDataKeyShrinkRequest ¶
type GenerateAndExportDataKeyShrinkRequest struct { DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // A JSON string of key-value pairs. If you specify this parameter here, an equivalent value is required when you decrypt or re-encrypt the data key. For more information, see [EncryptionContext](https://help.aliyun.com/document_detail/42975.html). // // example: // // {"Example":"Example"} EncryptionContextShrink *string `json:"EncryptionContext,omitempty" xml:"EncryptionContext,omitempty"` // The globally unique ID of the CMK. You can also set this parameter to an alias that is bound to the CMK. For more information, see [Use aliases](https://help.aliyun.com/document_detail/68522.html). // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The length of the data key that you want to generate. Valid values: // // - AES_256: a 256-bit symmetric key // // - AES_128: a 128-bit symmetric key // // > We recommend that you use the KeySpec or NumberOfBytes parameter to specify the length of a data key. If both parameters are not specified, KMS generates a 256-bit data key. If both parameters are specified, KMS ignores the KeySpec parameter. // // example: // // AES_256 KeySpec *string `json:"KeySpec,omitempty" xml:"KeySpec,omitempty"` // The length of the data key that you want to generate. // // Valid values: 1 to 1024. // // Unit: bytes. // // example: // // 32 NumberOfBytes *int32 `json:"NumberOfBytes,omitempty" xml:"NumberOfBytes,omitempty"` // A Base64-encoded public key. // // This parameter is required. // // example: // // MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAndKfC2ReLL2+y8a0+ZBBeAft/uBYo86GZiYJuflqgUzKxpyuvlo3uQkBv6b+nx+0tz8g8v7GhpPWMSW5L9mNHYsvYFsa7jTxsYdt17yj6GlUHPuMIs8hr5qbwl38IHU1iIa7nYWwE2fb3ePOvLDACRJVgGpU0yxioW80d2QD+9aU4jF5dlAahcfgsNzo2CXzCUc1+xbmNuq7Rp+H9VJB9dyYOwqnW3RhOLBo21FzpORapf0UiRlrHRpk1V6ez+aE1dofaYh/9bh0m6ioxj7j5hpZbWccuEZTMBKd+cbuBkRhJzc6Tti6qwZbDiu4fUwbZS0Tqpuo1UadiyxMW******** PublicKeyBlob *string `json:"PublicKeyBlob,omitempty" xml:"PublicKeyBlob,omitempty"` // The encryption algorithm based on which you want to use the public key specified by PublicKeyBlob to encrypt the data key. For more information about encryption algorithms, see [AsymmetricDecrypt](https://help.aliyun.com/document_detail/148130.html). // // Valid values: // // - RSAES_OAEP_SHA_256 // // - RSAES_OAEP_SHA_1 // // - SM2PKE // // This parameter is required. // // example: // // RSAES_OAEP_SHA_256 WrappingAlgorithm *string `json:"WrappingAlgorithm,omitempty" xml:"WrappingAlgorithm,omitempty"` // The key type of the public key specified by PublicKeyBlob. For more information about key types, see [Introduction to asymmetric keys](https://help.aliyun.com/document_detail/148147.html). // // Valid values: // // - RSA_2048 // // - EC_SM2 // // This parameter is required. // // example: // // RSA_2048 WrappingKeySpec *string `json:"WrappingKeySpec,omitempty" xml:"WrappingKeySpec,omitempty"` }
func (GenerateAndExportDataKeyShrinkRequest) GoString ¶
func (s GenerateAndExportDataKeyShrinkRequest) GoString() string
func (*GenerateAndExportDataKeyShrinkRequest) SetDryRun ¶ added in v3.2.2
func (s *GenerateAndExportDataKeyShrinkRequest) SetDryRun(v string) *GenerateAndExportDataKeyShrinkRequest
func (*GenerateAndExportDataKeyShrinkRequest) SetEncryptionContextShrink ¶
func (s *GenerateAndExportDataKeyShrinkRequest) SetEncryptionContextShrink(v string) *GenerateAndExportDataKeyShrinkRequest
func (*GenerateAndExportDataKeyShrinkRequest) SetKeyId ¶
func (s *GenerateAndExportDataKeyShrinkRequest) SetKeyId(v string) *GenerateAndExportDataKeyShrinkRequest
func (*GenerateAndExportDataKeyShrinkRequest) SetKeySpec ¶
func (s *GenerateAndExportDataKeyShrinkRequest) SetKeySpec(v string) *GenerateAndExportDataKeyShrinkRequest
func (*GenerateAndExportDataKeyShrinkRequest) SetNumberOfBytes ¶
func (s *GenerateAndExportDataKeyShrinkRequest) SetNumberOfBytes(v int32) *GenerateAndExportDataKeyShrinkRequest
func (*GenerateAndExportDataKeyShrinkRequest) SetPublicKeyBlob ¶
func (s *GenerateAndExportDataKeyShrinkRequest) SetPublicKeyBlob(v string) *GenerateAndExportDataKeyShrinkRequest
func (*GenerateAndExportDataKeyShrinkRequest) SetWrappingAlgorithm ¶
func (s *GenerateAndExportDataKeyShrinkRequest) SetWrappingAlgorithm(v string) *GenerateAndExportDataKeyShrinkRequest
func (*GenerateAndExportDataKeyShrinkRequest) SetWrappingKeySpec ¶
func (s *GenerateAndExportDataKeyShrinkRequest) SetWrappingKeySpec(v string) *GenerateAndExportDataKeyShrinkRequest
func (GenerateAndExportDataKeyShrinkRequest) String ¶
func (s GenerateAndExportDataKeyShrinkRequest) String() string
type GenerateDataKeyRequest ¶
type GenerateDataKeyRequest struct { DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // The JSON string that consists of key-value pairs. // // If you specify this parameter, an equivalent value is required when you call the [Decrypt](https://help.aliyun.com/document_detail/28950.html) operation. For more information, see [EncryptionContext](https://help.aliyun.com/document_detail/42975.html). // // example: // // {"Example":"Example"} EncryptionContext map[string]interface{} `json:"EncryptionContext,omitempty" xml:"EncryptionContext,omitempty"` // The ID of the CMK. The ID must be globally unique. // // You can also set this parameter to an alias that is bound to the CMK. For more information, see [Alias overview](https://help.aliyun.com/document_detail/68522.html). // // This parameter is required. // // example: // // 7906979c-8e06-46a2-be2d-68e3ccbc**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The type of the data key that you want to generate. Valid values: // // - AES_256: a 256-bit symmetric key // // - AES_128: a 128-bit symmetric key // // > We recommend that you use the KeySpec or NumberOfBytes parameter to specify the length of a data key. If none of the parameters are specified, KMS generates a 256-bit data key. If both parameters are specified, KMS ignores the KeySpec parameter. // // example: // // AES_256 KeySpec *string `json:"KeySpec,omitempty" xml:"KeySpec,omitempty"` // The length of the data key that you want to generate. Unit: bytes. // // Valid values: 1 to 1024. // // Default value: // // - If the KeySpec parameter is set to AES_256, set the value of the NumberOfBytes parameter to 32. // // - If the KeySpec parameter is set to AES_128, set the value of the NumberOfBytes parameter to 16. // // example: // // 256 NumberOfBytes *int32 `json:"NumberOfBytes,omitempty" xml:"NumberOfBytes,omitempty"` }
func (GenerateDataKeyRequest) GoString ¶
func (s GenerateDataKeyRequest) GoString() string
func (*GenerateDataKeyRequest) SetDryRun ¶ added in v3.2.2
func (s *GenerateDataKeyRequest) SetDryRun(v string) *GenerateDataKeyRequest
func (*GenerateDataKeyRequest) SetEncryptionContext ¶
func (s *GenerateDataKeyRequest) SetEncryptionContext(v map[string]interface{}) *GenerateDataKeyRequest
func (*GenerateDataKeyRequest) SetKeyId ¶
func (s *GenerateDataKeyRequest) SetKeyId(v string) *GenerateDataKeyRequest
func (*GenerateDataKeyRequest) SetKeySpec ¶
func (s *GenerateDataKeyRequest) SetKeySpec(v string) *GenerateDataKeyRequest
func (*GenerateDataKeyRequest) SetNumberOfBytes ¶
func (s *GenerateDataKeyRequest) SetNumberOfBytes(v int32) *GenerateDataKeyRequest
func (GenerateDataKeyRequest) String ¶
func (s GenerateDataKeyRequest) String() string
type GenerateDataKeyResponse ¶
type GenerateDataKeyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *GenerateDataKeyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (GenerateDataKeyResponse) GoString ¶
func (s GenerateDataKeyResponse) GoString() string
func (*GenerateDataKeyResponse) SetBody ¶
func (s *GenerateDataKeyResponse) SetBody(v *GenerateDataKeyResponseBody) *GenerateDataKeyResponse
func (*GenerateDataKeyResponse) SetHeaders ¶
func (s *GenerateDataKeyResponse) SetHeaders(v map[string]*string) *GenerateDataKeyResponse
func (*GenerateDataKeyResponse) SetStatusCode ¶
func (s *GenerateDataKeyResponse) SetStatusCode(v int32) *GenerateDataKeyResponse
func (GenerateDataKeyResponse) String ¶
func (s GenerateDataKeyResponse) String() string
type GenerateDataKeyResponseBody ¶
type GenerateDataKeyResponseBody struct { // The ciphertext of the data key that is encrypted by using the primary version of the specified CMK. // // example: // // ODZhOWVmZDktM2QxNi00ODk0LWJkNGYtMWZjNDNmM2YyYWJmS7FmDBBQ0BkKsQrtRnidtPwirmDcS0ZuJCU41xxAAWk4Z8qsADfbV0b+i6kQmlvj79dJdGOvtX69Uycs901qOjop4bTS**** CiphertextBlob *string `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` // The ID of the CMK. The ID must be globally unique. // // > If you set the KeyId parameter in the request to an alias of the CMK, the ID of the CMK to which the alias is bound is returned. // // example: // // 7906979c-8e06-46a2-be2d-68e3ccbc**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The ID of the CMK version. The ID must be globally unique. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // The Base64 encoded plaintext of the data key. // // example: // // QmFzZTY0IGVuY29kZWQgcGxhaW50**** Plaintext *string `json:"Plaintext,omitempty" xml:"Plaintext,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 7021b6ec-4be7-4d3c-8a68-1e85d4d515a0 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (GenerateDataKeyResponseBody) GoString ¶
func (s GenerateDataKeyResponseBody) GoString() string
func (*GenerateDataKeyResponseBody) SetCiphertextBlob ¶
func (s *GenerateDataKeyResponseBody) SetCiphertextBlob(v string) *GenerateDataKeyResponseBody
func (*GenerateDataKeyResponseBody) SetKeyId ¶
func (s *GenerateDataKeyResponseBody) SetKeyId(v string) *GenerateDataKeyResponseBody
func (*GenerateDataKeyResponseBody) SetKeyVersionId ¶
func (s *GenerateDataKeyResponseBody) SetKeyVersionId(v string) *GenerateDataKeyResponseBody
func (*GenerateDataKeyResponseBody) SetPlaintext ¶
func (s *GenerateDataKeyResponseBody) SetPlaintext(v string) *GenerateDataKeyResponseBody
func (*GenerateDataKeyResponseBody) SetRequestId ¶
func (s *GenerateDataKeyResponseBody) SetRequestId(v string) *GenerateDataKeyResponseBody
func (GenerateDataKeyResponseBody) String ¶
func (s GenerateDataKeyResponseBody) String() string
type GenerateDataKeyShrinkRequest ¶
type GenerateDataKeyShrinkRequest struct { DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // The JSON string that consists of key-value pairs. // // If you specify this parameter, an equivalent value is required when you call the [Decrypt](https://help.aliyun.com/document_detail/28950.html) operation. For more information, see [EncryptionContext](https://help.aliyun.com/document_detail/42975.html). // // example: // // {"Example":"Example"} EncryptionContextShrink *string `json:"EncryptionContext,omitempty" xml:"EncryptionContext,omitempty"` // The ID of the CMK. The ID must be globally unique. // // You can also set this parameter to an alias that is bound to the CMK. For more information, see [Alias overview](https://help.aliyun.com/document_detail/68522.html). // // This parameter is required. // // example: // // 7906979c-8e06-46a2-be2d-68e3ccbc**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The type of the data key that you want to generate. Valid values: // // - AES_256: a 256-bit symmetric key // // - AES_128: a 128-bit symmetric key // // > We recommend that you use the KeySpec or NumberOfBytes parameter to specify the length of a data key. If none of the parameters are specified, KMS generates a 256-bit data key. If both parameters are specified, KMS ignores the KeySpec parameter. // // example: // // AES_256 KeySpec *string `json:"KeySpec,omitempty" xml:"KeySpec,omitempty"` // The length of the data key that you want to generate. Unit: bytes. // // Valid values: 1 to 1024. // // Default value: // // - If the KeySpec parameter is set to AES_256, set the value of the NumberOfBytes parameter to 32. // // - If the KeySpec parameter is set to AES_128, set the value of the NumberOfBytes parameter to 16. // // example: // // 256 NumberOfBytes *int32 `json:"NumberOfBytes,omitempty" xml:"NumberOfBytes,omitempty"` }
func (GenerateDataKeyShrinkRequest) GoString ¶
func (s GenerateDataKeyShrinkRequest) GoString() string
func (*GenerateDataKeyShrinkRequest) SetDryRun ¶ added in v3.2.2
func (s *GenerateDataKeyShrinkRequest) SetDryRun(v string) *GenerateDataKeyShrinkRequest
func (*GenerateDataKeyShrinkRequest) SetEncryptionContextShrink ¶
func (s *GenerateDataKeyShrinkRequest) SetEncryptionContextShrink(v string) *GenerateDataKeyShrinkRequest
func (*GenerateDataKeyShrinkRequest) SetKeyId ¶
func (s *GenerateDataKeyShrinkRequest) SetKeyId(v string) *GenerateDataKeyShrinkRequest
func (*GenerateDataKeyShrinkRequest) SetKeySpec ¶
func (s *GenerateDataKeyShrinkRequest) SetKeySpec(v string) *GenerateDataKeyShrinkRequest
func (*GenerateDataKeyShrinkRequest) SetNumberOfBytes ¶
func (s *GenerateDataKeyShrinkRequest) SetNumberOfBytes(v int32) *GenerateDataKeyShrinkRequest
func (GenerateDataKeyShrinkRequest) String ¶
func (s GenerateDataKeyShrinkRequest) String() string
type GenerateDataKeyWithoutPlaintextRequest ¶
type GenerateDataKeyWithoutPlaintextRequest struct { DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // A JSON string that consists of key-value pairs. If you specify this parameter, an equivalent value is required when you call the Decrypt operation. For more information, see [EncryptionContext](https://help.aliyun.com/document_detail/42975.html). // // example: // // {"Example":"Example"} EncryptionContext map[string]interface{} `json:"EncryptionContext,omitempty" xml:"EncryptionContext,omitempty"` // The globally unique ID of the CMK. You can also set this parameter to an alias that is bound to the CMK. For more information, see Use aliases. // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The length of the data key that you want to generate. Valid values: // // - AES_256: 256-bit symmetric key // // - AES_128: 128-bit symmetric key // // > We recommend that you use the KeySpec or NumberOfBytes parameter to specify the length of a data key. If both of them are not specified, KMS generates a 256-bit data key. If both of them are specified, KMS ignores the KeySpec parameter. // // example: // // AES_256 KeySpec *string `json:"KeySpec,omitempty" xml:"KeySpec,omitempty"` // The length of the data key that you want to generate. // // Valid values: 1 to 1024. // // Unit: bytes. // // example: // // 256 NumberOfBytes *int32 `json:"NumberOfBytes,omitempty" xml:"NumberOfBytes,omitempty"` }
func (GenerateDataKeyWithoutPlaintextRequest) GoString ¶
func (s GenerateDataKeyWithoutPlaintextRequest) GoString() string
func (*GenerateDataKeyWithoutPlaintextRequest) SetDryRun ¶ added in v3.2.2
func (s *GenerateDataKeyWithoutPlaintextRequest) SetDryRun(v string) *GenerateDataKeyWithoutPlaintextRequest
func (*GenerateDataKeyWithoutPlaintextRequest) SetEncryptionContext ¶
func (s *GenerateDataKeyWithoutPlaintextRequest) SetEncryptionContext(v map[string]interface{}) *GenerateDataKeyWithoutPlaintextRequest
func (*GenerateDataKeyWithoutPlaintextRequest) SetKeyId ¶
func (s *GenerateDataKeyWithoutPlaintextRequest) SetKeyId(v string) *GenerateDataKeyWithoutPlaintextRequest
func (*GenerateDataKeyWithoutPlaintextRequest) SetKeySpec ¶
func (s *GenerateDataKeyWithoutPlaintextRequest) SetKeySpec(v string) *GenerateDataKeyWithoutPlaintextRequest
func (*GenerateDataKeyWithoutPlaintextRequest) SetNumberOfBytes ¶
func (s *GenerateDataKeyWithoutPlaintextRequest) SetNumberOfBytes(v int32) *GenerateDataKeyWithoutPlaintextRequest
func (GenerateDataKeyWithoutPlaintextRequest) String ¶
func (s GenerateDataKeyWithoutPlaintextRequest) String() string
type GenerateDataKeyWithoutPlaintextResponse ¶
type GenerateDataKeyWithoutPlaintextResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *GenerateDataKeyWithoutPlaintextResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (GenerateDataKeyWithoutPlaintextResponse) GoString ¶
func (s GenerateDataKeyWithoutPlaintextResponse) GoString() string
func (*GenerateDataKeyWithoutPlaintextResponse) SetHeaders ¶
func (s *GenerateDataKeyWithoutPlaintextResponse) SetHeaders(v map[string]*string) *GenerateDataKeyWithoutPlaintextResponse
func (*GenerateDataKeyWithoutPlaintextResponse) SetStatusCode ¶
func (s *GenerateDataKeyWithoutPlaintextResponse) SetStatusCode(v int32) *GenerateDataKeyWithoutPlaintextResponse
func (GenerateDataKeyWithoutPlaintextResponse) String ¶
func (s GenerateDataKeyWithoutPlaintextResponse) String() string
type GenerateDataKeyWithoutPlaintextResponseBody ¶
type GenerateDataKeyWithoutPlaintextResponseBody struct { // The ciphertext of the data that is encrypted by using the primary CMK version. // // example: // // ODZhOWVmZDktM2QxNi00ODk0LWJkNGYtMWZjNDNmM2YyYWJmS7FmDBBQ0BkKsQrtRnidtPwirmDcS0ZuJCU41xxAAWk4Z8qsADfbV0b+i6kQmlvj79dJdGOvtX69Uycs901qOjop4bTS**** CiphertextBlob *string `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` // The globally unique ID of the CMK. // // > If you set the KeyId parameter to an alias, the ID of the CMK to which the alias is bound is returned. // // example: // // 599fa825-17de-417e-9554-bb032cc6**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The ID of the key version that is used to encrypt the plaintext. It is the primary version of the CMK. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // The ID of the request. // // example: // // 7021b6ec-4be7-4d3c-8a68-1e85d4d515a0 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (GenerateDataKeyWithoutPlaintextResponseBody) GoString ¶
func (s GenerateDataKeyWithoutPlaintextResponseBody) GoString() string
func (*GenerateDataKeyWithoutPlaintextResponseBody) SetCiphertextBlob ¶
func (s *GenerateDataKeyWithoutPlaintextResponseBody) SetCiphertextBlob(v string) *GenerateDataKeyWithoutPlaintextResponseBody
func (*GenerateDataKeyWithoutPlaintextResponseBody) SetKeyId ¶
func (s *GenerateDataKeyWithoutPlaintextResponseBody) SetKeyId(v string) *GenerateDataKeyWithoutPlaintextResponseBody
func (*GenerateDataKeyWithoutPlaintextResponseBody) SetKeyVersionId ¶
func (s *GenerateDataKeyWithoutPlaintextResponseBody) SetKeyVersionId(v string) *GenerateDataKeyWithoutPlaintextResponseBody
func (*GenerateDataKeyWithoutPlaintextResponseBody) SetRequestId ¶
func (s *GenerateDataKeyWithoutPlaintextResponseBody) SetRequestId(v string) *GenerateDataKeyWithoutPlaintextResponseBody
func (GenerateDataKeyWithoutPlaintextResponseBody) String ¶
func (s GenerateDataKeyWithoutPlaintextResponseBody) String() string
type GenerateDataKeyWithoutPlaintextShrinkRequest ¶
type GenerateDataKeyWithoutPlaintextShrinkRequest struct { DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // A JSON string that consists of key-value pairs. If you specify this parameter, an equivalent value is required when you call the Decrypt operation. For more information, see [EncryptionContext](https://help.aliyun.com/document_detail/42975.html). // // example: // // {"Example":"Example"} EncryptionContextShrink *string `json:"EncryptionContext,omitempty" xml:"EncryptionContext,omitempty"` // The globally unique ID of the CMK. You can also set this parameter to an alias that is bound to the CMK. For more information, see Use aliases. // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The length of the data key that you want to generate. Valid values: // // - AES_256: 256-bit symmetric key // // - AES_128: 128-bit symmetric key // // > We recommend that you use the KeySpec or NumberOfBytes parameter to specify the length of a data key. If both of them are not specified, KMS generates a 256-bit data key. If both of them are specified, KMS ignores the KeySpec parameter. // // example: // // AES_256 KeySpec *string `json:"KeySpec,omitempty" xml:"KeySpec,omitempty"` // The length of the data key that you want to generate. // // Valid values: 1 to 1024. // // Unit: bytes. // // example: // // 256 NumberOfBytes *int32 `json:"NumberOfBytes,omitempty" xml:"NumberOfBytes,omitempty"` }
func (GenerateDataKeyWithoutPlaintextShrinkRequest) GoString ¶
func (s GenerateDataKeyWithoutPlaintextShrinkRequest) GoString() string
func (*GenerateDataKeyWithoutPlaintextShrinkRequest) SetDryRun ¶ added in v3.2.2
func (s *GenerateDataKeyWithoutPlaintextShrinkRequest) SetDryRun(v string) *GenerateDataKeyWithoutPlaintextShrinkRequest
func (*GenerateDataKeyWithoutPlaintextShrinkRequest) SetEncryptionContextShrink ¶
func (s *GenerateDataKeyWithoutPlaintextShrinkRequest) SetEncryptionContextShrink(v string) *GenerateDataKeyWithoutPlaintextShrinkRequest
func (*GenerateDataKeyWithoutPlaintextShrinkRequest) SetKeyId ¶
func (s *GenerateDataKeyWithoutPlaintextShrinkRequest) SetKeyId(v string) *GenerateDataKeyWithoutPlaintextShrinkRequest
func (*GenerateDataKeyWithoutPlaintextShrinkRequest) SetKeySpec ¶
func (s *GenerateDataKeyWithoutPlaintextShrinkRequest) SetKeySpec(v string) *GenerateDataKeyWithoutPlaintextShrinkRequest
func (*GenerateDataKeyWithoutPlaintextShrinkRequest) SetNumberOfBytes ¶
func (s *GenerateDataKeyWithoutPlaintextShrinkRequest) SetNumberOfBytes(v int32) *GenerateDataKeyWithoutPlaintextShrinkRequest
func (GenerateDataKeyWithoutPlaintextShrinkRequest) String ¶
func (s GenerateDataKeyWithoutPlaintextShrinkRequest) String() string
type GetCertificateRequest ¶
type GetCertificateRequest struct { // The ID of the certificate. It is the globally unique identifier (GUID) of the certificate in Certificates Manager. // // This parameter is required. // // example: // // 9a28de48-8d8b-484d-a766-dec4**** CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"` }
func (GetCertificateRequest) GoString ¶
func (s GetCertificateRequest) GoString() string
func (*GetCertificateRequest) SetCertificateId ¶
func (s *GetCertificateRequest) SetCertificateId(v string) *GetCertificateRequest
func (GetCertificateRequest) String ¶
func (s GetCertificateRequest) String() string
type GetCertificateResponse ¶
type GetCertificateResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *GetCertificateResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (GetCertificateResponse) GoString ¶
func (s GetCertificateResponse) GoString() string
func (*GetCertificateResponse) SetBody ¶
func (s *GetCertificateResponse) SetBody(v *GetCertificateResponseBody) *GetCertificateResponse
func (*GetCertificateResponse) SetHeaders ¶
func (s *GetCertificateResponse) SetHeaders(v map[string]*string) *GetCertificateResponse
func (*GetCertificateResponse) SetStatusCode ¶
func (s *GetCertificateResponse) SetStatusCode(v int32) *GetCertificateResponse
func (GetCertificateResponse) String ¶
func (s GetCertificateResponse) String() string
type GetCertificateResponseBody ¶
type GetCertificateResponseBody struct { // The certificate in the Privacy Enhanced Mail (PEM) format. // // example: // // -----BEGIN CERTIFICATE----- (X.509 Certificate PEM Content) -----END CERTIFICATE----- Certificate *string `json:"Certificate,omitempty" xml:"Certificate,omitempty"` // The certificate chain in the PEM format. // // example: // // -----BEGIN CERTIFICATE----- (Sub CA Certificate PEM Content) -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- (Sub CA Certificate PEM Content) -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- (Root CA Certificate PEM Content) -----END CERTIFICATE----- CertificateChain *string `json:"CertificateChain,omitempty" xml:"CertificateChain,omitempty"` // The ID of the certificate. // // example: // // 9a28de48-8d8b-484d-a766-dec4**** CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"` // The CSR in the PEM format. // // example: // // -----BEGIN CERTIFICATE REQUEST-----MIICxjCCAa4CAQAwPzELMAkGA1UEBhMCQ04xDzANBgNVBAoTBmFsaXl1bjEMMAoGA1UECxMDa21zMREwDwY****-----END CERTIFICATE REQUEST----- Csr *string `json:"Csr,omitempty" xml:"Csr,omitempty"` // The ID of the request. // // example: // // b3e104b4-0319-4a20-ab7f-9fef6**** RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (GetCertificateResponseBody) GoString ¶
func (s GetCertificateResponseBody) GoString() string
func (*GetCertificateResponseBody) SetCertificate ¶
func (s *GetCertificateResponseBody) SetCertificate(v string) *GetCertificateResponseBody
func (*GetCertificateResponseBody) SetCertificateChain ¶
func (s *GetCertificateResponseBody) SetCertificateChain(v string) *GetCertificateResponseBody
func (*GetCertificateResponseBody) SetCertificateId ¶
func (s *GetCertificateResponseBody) SetCertificateId(v string) *GetCertificateResponseBody
func (*GetCertificateResponseBody) SetCsr ¶
func (s *GetCertificateResponseBody) SetCsr(v string) *GetCertificateResponseBody
func (*GetCertificateResponseBody) SetRequestId ¶
func (s *GetCertificateResponseBody) SetRequestId(v string) *GetCertificateResponseBody
func (GetCertificateResponseBody) String ¶
func (s GetCertificateResponseBody) String() string
type GetClientKeyRequest ¶ added in v3.1.0
type GetClientKeyRequest struct { // The ID of the client key. // // This parameter is required. // // example: // // KAAP.66abf237-63f6-4625-b8cf-47e1086e**** ClientKeyId *string `json:"ClientKeyId,omitempty" xml:"ClientKeyId,omitempty"` }
func (GetClientKeyRequest) GoString ¶ added in v3.1.0
func (s GetClientKeyRequest) GoString() string
func (*GetClientKeyRequest) SetClientKeyId ¶ added in v3.1.0
func (s *GetClientKeyRequest) SetClientKeyId(v string) *GetClientKeyRequest
func (GetClientKeyRequest) String ¶ added in v3.1.0
func (s GetClientKeyRequest) String() string
type GetClientKeyResponse ¶ added in v3.1.0
type GetClientKeyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *GetClientKeyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (GetClientKeyResponse) GoString ¶ added in v3.1.0
func (s GetClientKeyResponse) GoString() string
func (*GetClientKeyResponse) SetBody ¶ added in v3.1.0
func (s *GetClientKeyResponse) SetBody(v *GetClientKeyResponseBody) *GetClientKeyResponse
func (*GetClientKeyResponse) SetHeaders ¶ added in v3.1.0
func (s *GetClientKeyResponse) SetHeaders(v map[string]*string) *GetClientKeyResponse
func (*GetClientKeyResponse) SetStatusCode ¶ added in v3.1.0
func (s *GetClientKeyResponse) SetStatusCode(v int32) *GetClientKeyResponse
func (GetClientKeyResponse) String ¶ added in v3.1.0
func (s GetClientKeyResponse) String() string
type GetClientKeyResponseBody ¶ added in v3.1.0
type GetClientKeyResponseBody struct { // The name of the application access point (AAP). // // example: // // aap_test AapName *string `json:"AapName,omitempty" xml:"AapName,omitempty"` // The ID of the client key. // // example: // // KAAP.66abf237-63f6-4625-b8cf-47e1086e**** ClientKeyId *string `json:"ClientKeyId,omitempty" xml:"ClientKeyId,omitempty"` // The time when the client key was created. // // example: // // 2023-08-31T09:14:38Z CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` // The private key algorithm of the client key. // // example: // // RSA_2048 KeyAlgorithm *string `json:"KeyAlgorithm,omitempty" xml:"KeyAlgorithm,omitempty"` // The provider of the client key. // // Currently, only Key Management Service (KMS) is supported. The value is fixed as KMS_PROVIDED. // // example: // // KMS_PROVIDED KeyOrigin *string `json:"KeyOrigin,omitempty" xml:"KeyOrigin,omitempty"` // The end of the validity period of the client key. // // example: // // 2028-08-31T17:14:33Z NotAfter *string `json:"NotAfter,omitempty" xml:"NotAfter,omitempty"` // The beginning of the validity period of the client key. // // example: // // 2023-08-31T17:14:33Z NotBefore *string `json:"NotBefore,omitempty" xml:"NotBefore,omitempty"` // The content of the public key of the client key. // // example: // // -----BEGIN CERTIFICATE-----\\nMIIDcjCCAlqgAwIBAgIQT/sAVRxwYp54mrw****-----END CERTIFICATE----- PublicKeyData *string `json:"PublicKeyData,omitempty" xml:"PublicKeyData,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 63d849a6-045b-4a57-ad9f-c5f756cea9e9 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (GetClientKeyResponseBody) GoString ¶ added in v3.1.0
func (s GetClientKeyResponseBody) GoString() string
func (*GetClientKeyResponseBody) SetAapName ¶ added in v3.1.0
func (s *GetClientKeyResponseBody) SetAapName(v string) *GetClientKeyResponseBody
func (*GetClientKeyResponseBody) SetClientKeyId ¶ added in v3.1.0
func (s *GetClientKeyResponseBody) SetClientKeyId(v string) *GetClientKeyResponseBody
func (*GetClientKeyResponseBody) SetCreateTime ¶ added in v3.1.0
func (s *GetClientKeyResponseBody) SetCreateTime(v string) *GetClientKeyResponseBody
func (*GetClientKeyResponseBody) SetKeyAlgorithm ¶ added in v3.1.0
func (s *GetClientKeyResponseBody) SetKeyAlgorithm(v string) *GetClientKeyResponseBody
func (*GetClientKeyResponseBody) SetKeyOrigin ¶ added in v3.1.0
func (s *GetClientKeyResponseBody) SetKeyOrigin(v string) *GetClientKeyResponseBody
func (*GetClientKeyResponseBody) SetNotAfter ¶ added in v3.1.0
func (s *GetClientKeyResponseBody) SetNotAfter(v string) *GetClientKeyResponseBody
func (*GetClientKeyResponseBody) SetNotBefore ¶ added in v3.1.0
func (s *GetClientKeyResponseBody) SetNotBefore(v string) *GetClientKeyResponseBody
func (*GetClientKeyResponseBody) SetPublicKeyData ¶ added in v3.1.0
func (s *GetClientKeyResponseBody) SetPublicKeyData(v string) *GetClientKeyResponseBody
func (*GetClientKeyResponseBody) SetRequestId ¶ added in v3.1.0
func (s *GetClientKeyResponseBody) SetRequestId(v string) *GetClientKeyResponseBody
func (GetClientKeyResponseBody) String ¶ added in v3.1.0
func (s GetClientKeyResponseBody) String() string
type GetKeyPolicyRequest ¶ added in v3.2.0
type GetKeyPolicyRequest struct { // This parameter is required. // // example: // // key-hzz630494463ejqjx**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // example: // // default PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"` }
func (GetKeyPolicyRequest) GoString ¶ added in v3.2.0
func (s GetKeyPolicyRequest) GoString() string
func (*GetKeyPolicyRequest) SetKeyId ¶ added in v3.2.0
func (s *GetKeyPolicyRequest) SetKeyId(v string) *GetKeyPolicyRequest
func (*GetKeyPolicyRequest) SetPolicyName ¶ added in v3.2.0
func (s *GetKeyPolicyRequest) SetPolicyName(v string) *GetKeyPolicyRequest
func (GetKeyPolicyRequest) String ¶ added in v3.2.0
func (s GetKeyPolicyRequest) String() string
type GetKeyPolicyResponse ¶ added in v3.2.0
type GetKeyPolicyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *GetKeyPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (GetKeyPolicyResponse) GoString ¶ added in v3.2.0
func (s GetKeyPolicyResponse) GoString() string
func (*GetKeyPolicyResponse) SetBody ¶ added in v3.2.0
func (s *GetKeyPolicyResponse) SetBody(v *GetKeyPolicyResponseBody) *GetKeyPolicyResponse
func (*GetKeyPolicyResponse) SetHeaders ¶ added in v3.2.0
func (s *GetKeyPolicyResponse) SetHeaders(v map[string]*string) *GetKeyPolicyResponse
func (*GetKeyPolicyResponse) SetStatusCode ¶ added in v3.2.0
func (s *GetKeyPolicyResponse) SetStatusCode(v int32) *GetKeyPolicyResponse
func (GetKeyPolicyResponse) String ¶ added in v3.2.0
func (s GetKeyPolicyResponse) String() string
type GetKeyPolicyResponseBody ¶ added in v3.2.0
type GetKeyPolicyResponseBody struct { // example: // // {"Statement": [{"Action": ["kms:*"],"Effect": "Allow","Principal": {"RAM": ["acs:ram::190325303126****:*","acs:ram::119285303511****:*"]},"Resource": ["*"],"Sid": "kms default key policy"}],"Version": "1" } Policy *string `json:"Policy,omitempty" xml:"Policy,omitempty"` // example: // // 381D5D33-BB8F-395F-8EE4-AE3B84B523C8 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (GetKeyPolicyResponseBody) GoString ¶ added in v3.2.0
func (s GetKeyPolicyResponseBody) GoString() string
func (*GetKeyPolicyResponseBody) SetPolicy ¶ added in v3.2.0
func (s *GetKeyPolicyResponseBody) SetPolicy(v string) *GetKeyPolicyResponseBody
func (*GetKeyPolicyResponseBody) SetRequestId ¶ added in v3.2.0
func (s *GetKeyPolicyResponseBody) SetRequestId(v string) *GetKeyPolicyResponseBody
func (GetKeyPolicyResponseBody) String ¶ added in v3.2.0
func (s GetKeyPolicyResponseBody) String() string
type GetKmsInstanceRequest ¶ added in v3.1.0
type GetKmsInstanceRequest struct { // The ID of the KMS instance that you want to query. // // This parameter is required. // // example: // // kst-bjj62f5ba3dnpb6v8**** KmsInstanceId *string `json:"KmsInstanceId,omitempty" xml:"KmsInstanceId,omitempty"` }
func (GetKmsInstanceRequest) GoString ¶ added in v3.1.0
func (s GetKmsInstanceRequest) GoString() string
func (*GetKmsInstanceRequest) SetKmsInstanceId ¶ added in v3.1.0
func (s *GetKmsInstanceRequest) SetKmsInstanceId(v string) *GetKmsInstanceRequest
func (GetKmsInstanceRequest) String ¶ added in v3.1.0
func (s GetKmsInstanceRequest) String() string
type GetKmsInstanceResponse ¶ added in v3.1.0
type GetKmsInstanceResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *GetKmsInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (GetKmsInstanceResponse) GoString ¶ added in v3.1.0
func (s GetKmsInstanceResponse) GoString() string
func (*GetKmsInstanceResponse) SetBody ¶ added in v3.1.0
func (s *GetKmsInstanceResponse) SetBody(v *GetKmsInstanceResponseBody) *GetKmsInstanceResponse
func (*GetKmsInstanceResponse) SetHeaders ¶ added in v3.1.0
func (s *GetKmsInstanceResponse) SetHeaders(v map[string]*string) *GetKmsInstanceResponse
func (*GetKmsInstanceResponse) SetStatusCode ¶ added in v3.1.0
func (s *GetKmsInstanceResponse) SetStatusCode(v int32) *GetKmsInstanceResponse
func (GetKmsInstanceResponse) String ¶ added in v3.1.0
func (s GetKmsInstanceResponse) String() string
type GetKmsInstanceResponseBody ¶ added in v3.1.0
type GetKmsInstanceResponseBody struct { // The details of the KMS instance. KmsInstance *GetKmsInstanceResponseBodyKmsInstance `json:"KmsInstance,omitempty" xml:"KmsInstance,omitempty" type:"Struct"` // The request ID. // // example: // // 46b4a94a-57d2-44b4-9810-1e87d31abb33 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (GetKmsInstanceResponseBody) GoString ¶ added in v3.1.0
func (s GetKmsInstanceResponseBody) GoString() string
func (*GetKmsInstanceResponseBody) SetKmsInstance ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBody) SetKmsInstance(v *GetKmsInstanceResponseBodyKmsInstance) *GetKmsInstanceResponseBody
func (*GetKmsInstanceResponseBody) SetRequestId ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBody) SetRequestId(v string) *GetKmsInstanceResponseBody
func (GetKmsInstanceResponseBody) String ¶ added in v3.1.0
func (s GetKmsInstanceResponseBody) String() string
type GetKmsInstanceResponseBodyKmsInstance ¶ added in v3.1.0
type GetKmsInstanceResponseBodyKmsInstance struct { // A list of associated VPCs. // // > If your self-managed applications are deployed in multiple VPCs in the same region, you can associate VPCs with the KMS instance beyond the VPC that you specify when you enable the KMS instance. The VPCs can belong to the same Alibaba Cloud account or different Alibaba Cloud accounts. After the configuration is complete, self-managed applications in the VPCs can access the specified KMS instance. BindVpcs *GetKmsInstanceResponseBodyKmsInstanceBindVpcs `json:"BindVpcs,omitempty" xml:"BindVpcs,omitempty" type:"Struct"` // The content of the certificate authority (CA) certificate of the KMS instance. // // example: // // -----BEGIN CERTIFICATE-----\\r\\nMIIDuzCCAqOgAwIBAgIJALTKwWAjvbMiMA0GCSqGSIb3DQEBCwUAMHQxCzAJBgNV****-----END CERTIFICATE----- CaCertificateChainPem *string `json:"CaCertificateChainPem,omitempty" xml:"CaCertificateChainPem,omitempty"` // The time when the KMS instance is created. // // example: // // 2023-09-05T12:44:20Z CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` // The expiration time of the KMS instance. // // example: // // 2023-10-05T16:00:00Z EndDate *string `json:"EndDate,omitempty" xml:"EndDate,omitempty"` // The ID of the KMS instance. // // example: // // kst-bjj62f5ba3dnpb6v8**** InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The name of the KMS instance. // // example: // // kst-bjj62f5ba3dnpb6v8**** InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"` // The number of keys that can be created for the KMS instance. // // example: // // 1000 KeyNum *int64 `json:"KeyNum,omitempty" xml:"KeyNum,omitempty"` // The number of secrets that can be created for the KMS instance. // // example: // // 10 SecretNum *string `json:"SecretNum,omitempty" xml:"SecretNum,omitempty"` // The computing performance of the KMS instance. // // example: // // 1000 Spec *int64 `json:"Spec,omitempty" xml:"Spec,omitempty"` // The time when the KMS instance is enabled. // // example: // // 2023-09-05T12:44:19Z StartDate *string `json:"StartDate,omitempty" xml:"StartDate,omitempty"` // The status of the KMS instance. Valid values: // // - Uninitialized: The KMS instance is not enabled. // // - Connecting: The KMS instance is being connected. // // - Connected: The KMS instance is enabled. // // - Disconnected: The KMS instance is disconnected. // // - Error: The KMS instance is abnormal. // // example: // // Connected Status *string `json:"Status,omitempty" xml:"Status,omitempty"` // The virtual private cloud (VPC) with which the KMS instance is associated. // // example: // // vpc-bp19z7cwmltad5dff**** VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"` // The access management quota for the KMS instance. // // example: // // 5 VpcNum *int64 `json:"VpcNum,omitempty" xml:"VpcNum,omitempty"` // The vSwitch in the VPC. // // example: // // vsw-bp1i512amda6d10a0**** VswitchIds *string `json:"VswitchIds,omitempty" xml:"VswitchIds,omitempty"` // The zone with which the KMS instance is associated. // // example: // // "cn-hangzhou-k", "cn-hangzhou-j" ZoneIds *string `json:"ZoneIds,omitempty" xml:"ZoneIds,omitempty"` }
func (GetKmsInstanceResponseBodyKmsInstance) GoString ¶ added in v3.1.0
func (s GetKmsInstanceResponseBodyKmsInstance) GoString() string
func (*GetKmsInstanceResponseBodyKmsInstance) SetBindVpcs ¶ added in v3.1.0
func (*GetKmsInstanceResponseBodyKmsInstance) SetCaCertificateChainPem ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBodyKmsInstance) SetCaCertificateChainPem(v string) *GetKmsInstanceResponseBodyKmsInstance
func (*GetKmsInstanceResponseBodyKmsInstance) SetCreateTime ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBodyKmsInstance) SetCreateTime(v string) *GetKmsInstanceResponseBodyKmsInstance
func (*GetKmsInstanceResponseBodyKmsInstance) SetEndDate ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBodyKmsInstance) SetEndDate(v string) *GetKmsInstanceResponseBodyKmsInstance
func (*GetKmsInstanceResponseBodyKmsInstance) SetInstanceId ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBodyKmsInstance) SetInstanceId(v string) *GetKmsInstanceResponseBodyKmsInstance
func (*GetKmsInstanceResponseBodyKmsInstance) SetInstanceName ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBodyKmsInstance) SetInstanceName(v string) *GetKmsInstanceResponseBodyKmsInstance
func (*GetKmsInstanceResponseBodyKmsInstance) SetKeyNum ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBodyKmsInstance) SetKeyNum(v int64) *GetKmsInstanceResponseBodyKmsInstance
func (*GetKmsInstanceResponseBodyKmsInstance) SetSecretNum ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBodyKmsInstance) SetSecretNum(v string) *GetKmsInstanceResponseBodyKmsInstance
func (*GetKmsInstanceResponseBodyKmsInstance) SetSpec ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBodyKmsInstance) SetSpec(v int64) *GetKmsInstanceResponseBodyKmsInstance
func (*GetKmsInstanceResponseBodyKmsInstance) SetStartDate ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBodyKmsInstance) SetStartDate(v string) *GetKmsInstanceResponseBodyKmsInstance
func (*GetKmsInstanceResponseBodyKmsInstance) SetStatus ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBodyKmsInstance) SetStatus(v string) *GetKmsInstanceResponseBodyKmsInstance
func (*GetKmsInstanceResponseBodyKmsInstance) SetVpcId ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBodyKmsInstance) SetVpcId(v string) *GetKmsInstanceResponseBodyKmsInstance
func (*GetKmsInstanceResponseBodyKmsInstance) SetVpcNum ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBodyKmsInstance) SetVpcNum(v int64) *GetKmsInstanceResponseBodyKmsInstance
func (*GetKmsInstanceResponseBodyKmsInstance) SetVswitchIds ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBodyKmsInstance) SetVswitchIds(v string) *GetKmsInstanceResponseBodyKmsInstance
func (*GetKmsInstanceResponseBodyKmsInstance) SetZoneIds ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBodyKmsInstance) SetZoneIds(v string) *GetKmsInstanceResponseBodyKmsInstance
func (GetKmsInstanceResponseBodyKmsInstance) String ¶ added in v3.1.0
func (s GetKmsInstanceResponseBodyKmsInstance) String() string
type GetKmsInstanceResponseBodyKmsInstanceBindVpcs ¶ added in v3.1.0
type GetKmsInstanceResponseBodyKmsInstanceBindVpcs struct {
BindVpc []*GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc `json:"BindVpc,omitempty" xml:"BindVpc,omitempty" type:"Repeated"`
}
func (GetKmsInstanceResponseBodyKmsInstanceBindVpcs) GoString ¶ added in v3.1.0
func (s GetKmsInstanceResponseBodyKmsInstanceBindVpcs) GoString() string
func (*GetKmsInstanceResponseBodyKmsInstanceBindVpcs) SetBindVpc ¶ added in v3.1.0
func (GetKmsInstanceResponseBodyKmsInstanceBindVpcs) String ¶ added in v3.1.0
func (s GetKmsInstanceResponseBodyKmsInstanceBindVpcs) String() string
type GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc ¶ added in v3.1.0
type GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc struct { // The region to which the VPC belongs. // // example: // // cn-hangzhou RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` // The vSwitch in the VPC. // // example: // // vsw-bp1i512amhdje10f1**** VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"` // The ID of the VPC. // // example: // // vpc-bp19z7djuhtad5dff**** VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"` // The Alibaba Cloud account to which the VPC belongs. // // example: // // 190325303126**** VpcOwnerId *string `json:"VpcOwnerId,omitempty" xml:"VpcOwnerId,omitempty"` }
func (GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc) GoString ¶ added in v3.1.0
func (s GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc) GoString() string
func (*GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc) SetRegionId ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc) SetRegionId(v string) *GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc
func (*GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc) SetVSwitchId ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc) SetVSwitchId(v string) *GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc
func (*GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc) SetVpcOwnerId ¶ added in v3.1.0
func (s *GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc) SetVpcOwnerId(v string) *GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc
func (GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc) String ¶ added in v3.1.0
func (s GetKmsInstanceResponseBodyKmsInstanceBindVpcsBindVpc) String() string
type GetParametersForImportRequest ¶
type GetParametersForImportRequest struct { // The globally unique ID of the CMK. // // > You can import key material only for CMKs whose Origin parameter is set to EXTERNAL. // // This parameter is required. // // example: // // 202b9877-5a25-46e3-a763-e20791b5**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The algorithm that is used to encrypt key material. // // This parameter is required. // // example: // // RSAES_PKCS1_V1_5 WrappingAlgorithm *string `json:"WrappingAlgorithm,omitempty" xml:"WrappingAlgorithm,omitempty"` // The type of the public key that is used to encrypt key material. // // This parameter is required. // // example: // // RSA_2048 WrappingKeySpec *string `json:"WrappingKeySpec,omitempty" xml:"WrappingKeySpec,omitempty"` }
func (GetParametersForImportRequest) GoString ¶
func (s GetParametersForImportRequest) GoString() string
func (*GetParametersForImportRequest) SetKeyId ¶
func (s *GetParametersForImportRequest) SetKeyId(v string) *GetParametersForImportRequest
func (*GetParametersForImportRequest) SetWrappingAlgorithm ¶
func (s *GetParametersForImportRequest) SetWrappingAlgorithm(v string) *GetParametersForImportRequest
func (*GetParametersForImportRequest) SetWrappingKeySpec ¶
func (s *GetParametersForImportRequest) SetWrappingKeySpec(v string) *GetParametersForImportRequest
func (GetParametersForImportRequest) String ¶
func (s GetParametersForImportRequest) String() string
type GetParametersForImportResponse ¶
type GetParametersForImportResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *GetParametersForImportResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (GetParametersForImportResponse) GoString ¶
func (s GetParametersForImportResponse) GoString() string
func (*GetParametersForImportResponse) SetBody ¶
func (s *GetParametersForImportResponse) SetBody(v *GetParametersForImportResponseBody) *GetParametersForImportResponse
func (*GetParametersForImportResponse) SetHeaders ¶
func (s *GetParametersForImportResponse) SetHeaders(v map[string]*string) *GetParametersForImportResponse
func (*GetParametersForImportResponse) SetStatusCode ¶
func (s *GetParametersForImportResponse) SetStatusCode(v int32) *GetParametersForImportResponse
func (GetParametersForImportResponse) String ¶
func (s GetParametersForImportResponse) String() string
type GetParametersForImportResponseBody ¶
type GetParametersForImportResponseBody struct { // The token that is used to import key material. // // The token is valid for 24 hours. The value of this parameter is required when you call the [ImportKeyMaterial](https://help.aliyun.com/document_detail/68622.html) operation. // // example: // // Base64String ImportToken *string `json:"ImportToken,omitempty" xml:"ImportToken,omitempty"` // The globally unique ID of the CMK. // // The value of this parameter is required when you call the [ImportKeyMaterial](https://help.aliyun.com/document_detail/68622.html) operation. // // example: // // 202b9877-5a25-46e3-a763-e20791b5**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The public key that is used to encrypt key material. // // The public key is Base64-encoded. // // example: // // MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlls4uIBxD0GG84C+lGBO6Dhpf1J3XimC6cPmPNaKKJMOzoX4tD+C+r7aZv8lZ3vnPfxuxvy/YwG+whUxTEEFUdqJTOIzhPfYucupqKM92crVHIuG+xtMVeHKjyTr+UrtKCsQikqHT+19yDRN/RMoo2HUx0gmEnRyXd8t3JyUXun9FdoxKA08GrsV7nodb9ZsoBLhnev7tTLcXvLyKW6XG1ZQCQm6dPnbnwLeDXR7uK0Lqn9PM28mBIdaiQUQxj2XbM1CoJA+JiyVX3Ptdb+4rqukb4Rb05B80Bs9xV/cf7FIku08l7xGhrGiQFq+DFXwQWtwihXHZxz3LhldU+4ZPwID**** PublicKey *string `json:"PublicKey,omitempty" xml:"PublicKey,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 8cdf51fd-bcd6-d79a-0ef4-e52c9b5466dc RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The time when the token expires. // // example: // // 2018-01-25T00:01:02Z TokenExpireTime *string `json:"TokenExpireTime,omitempty" xml:"TokenExpireTime,omitempty"` }
func (GetParametersForImportResponseBody) GoString ¶
func (s GetParametersForImportResponseBody) GoString() string
func (*GetParametersForImportResponseBody) SetImportToken ¶
func (s *GetParametersForImportResponseBody) SetImportToken(v string) *GetParametersForImportResponseBody
func (*GetParametersForImportResponseBody) SetKeyId ¶
func (s *GetParametersForImportResponseBody) SetKeyId(v string) *GetParametersForImportResponseBody
func (*GetParametersForImportResponseBody) SetPublicKey ¶
func (s *GetParametersForImportResponseBody) SetPublicKey(v string) *GetParametersForImportResponseBody
func (*GetParametersForImportResponseBody) SetRequestId ¶
func (s *GetParametersForImportResponseBody) SetRequestId(v string) *GetParametersForImportResponseBody
func (*GetParametersForImportResponseBody) SetTokenExpireTime ¶
func (s *GetParametersForImportResponseBody) SetTokenExpireTime(v string) *GetParametersForImportResponseBody
func (GetParametersForImportResponseBody) String ¶
func (s GetParametersForImportResponseBody) String() string
type GetPublicKeyRequest ¶
type GetPublicKeyRequest struct { DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // The globally unique ID of the CMK. You can also set this parameter to an alias that is bound to the CMK. For more information, see [Use aliases](https://help.aliyun.com/document_detail/68522.html). // // This parameter is required. // // example: // // 5c438b18-05be-40ad-b6c2-3be6752c**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The globally unique ID of the CMK version. // // This parameter is required. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` }
func (GetPublicKeyRequest) GoString ¶
func (s GetPublicKeyRequest) GoString() string
func (*GetPublicKeyRequest) SetDryRun ¶ added in v3.2.2
func (s *GetPublicKeyRequest) SetDryRun(v string) *GetPublicKeyRequest
func (*GetPublicKeyRequest) SetKeyId ¶
func (s *GetPublicKeyRequest) SetKeyId(v string) *GetPublicKeyRequest
func (*GetPublicKeyRequest) SetKeyVersionId ¶
func (s *GetPublicKeyRequest) SetKeyVersionId(v string) *GetPublicKeyRequest
func (GetPublicKeyRequest) String ¶
func (s GetPublicKeyRequest) String() string
type GetPublicKeyResponse ¶
type GetPublicKeyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *GetPublicKeyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (GetPublicKeyResponse) GoString ¶
func (s GetPublicKeyResponse) GoString() string
func (*GetPublicKeyResponse) SetBody ¶
func (s *GetPublicKeyResponse) SetBody(v *GetPublicKeyResponseBody) *GetPublicKeyResponse
func (*GetPublicKeyResponse) SetHeaders ¶
func (s *GetPublicKeyResponse) SetHeaders(v map[string]*string) *GetPublicKeyResponse
func (*GetPublicKeyResponse) SetStatusCode ¶
func (s *GetPublicKeyResponse) SetStatusCode(v int32) *GetPublicKeyResponse
func (GetPublicKeyResponse) String ¶
func (s GetPublicKeyResponse) String() string
type GetPublicKeyResponseBody ¶
type GetPublicKeyResponseBody struct { // The globally unique ID of the CMK. // // > If you set the KeyId parameter to the alias of the CMK, the ID of the CMK to which the alias is bound is returned. // // example: // // 5c438b18-05be-40ad-b6c2-3be6752c**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The version of the CMK that is used to encrypt the plaintext. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // The public key returned in the PEM format. // // example: // // -----BEGIN PUBLIC KEY-----\\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs5Yu9AEgATN2/e3nUz1K\\nEy6ng8MSPutcse2/VECG/NUF9C6D4IsJ64ShzY3dcn34WYzTOe916eMJFxyrNrSw\\nHtc4UOR5AvaoRrfpgu2uq+i70/ZXrWL+pGb1hgZV8cWheIHMxwrR3IiQlM5qN7EF\\n9BdyWtyBfUGsp0Bn1VqlPc5G0x0a9xU2z9YtP994yDenNVIoIQ6Cov1lIEuwXAb2\\n7boC41ePXwD0JWt41sP+rgCmpjBx00puIG+IlnoReEgI1ZGYmK98GgA/XzmNjZiD\\nyvXJZAcM33Ue85+PkR5iHTtSEbi4QAoqpJabprUzz3Fin2j1dRrcacxGb7p31A9c\\nJQIDAQAB\\n-----END PUBLIC KEY-----\\n PublicKey *string `json:"PublicKey,omitempty" xml:"PublicKey,omitempty"` // The ID of the request. // // example: // // 475f1620-b9d3-4d35-b5c6-3fbdd941423d RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (GetPublicKeyResponseBody) GoString ¶
func (s GetPublicKeyResponseBody) GoString() string
func (*GetPublicKeyResponseBody) SetKeyId ¶
func (s *GetPublicKeyResponseBody) SetKeyId(v string) *GetPublicKeyResponseBody
func (*GetPublicKeyResponseBody) SetKeyVersionId ¶
func (s *GetPublicKeyResponseBody) SetKeyVersionId(v string) *GetPublicKeyResponseBody
func (*GetPublicKeyResponseBody) SetPublicKey ¶
func (s *GetPublicKeyResponseBody) SetPublicKey(v string) *GetPublicKeyResponseBody
func (*GetPublicKeyResponseBody) SetRequestId ¶
func (s *GetPublicKeyResponseBody) SetRequestId(v string) *GetPublicKeyResponseBody
func (GetPublicKeyResponseBody) String ¶
func (s GetPublicKeyResponseBody) String() string
type GetRandomPasswordRequest ¶
type GetRandomPasswordRequest struct { // The characters that are not included in the password to be generated. // // Valid values: // // ` Valid characters: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ! \\"#$%&\\"()*+,-. /:;<=>? @[\\] your_project_id} ~ `. // // This parameter is empty by default. // // example: // // ABCabc ExcludeCharacters *string `json:"ExcludeCharacters,omitempty" xml:"ExcludeCharacters,omitempty"` // Specifies whether to exclude lowercase letters. // // Valid values: // // - true // // - false // // example: // // false ExcludeLowercase *string `json:"ExcludeLowercase,omitempty" xml:"ExcludeLowercase,omitempty"` // Specifies whether to exclude digits. // // Valid values: // // - true // // - false // // example: // // false ExcludeNumbers *string `json:"ExcludeNumbers,omitempty" xml:"ExcludeNumbers,omitempty"` // Specifies whether to exclude special characters. // // Valid values: // // - true // // - false // // example: // // false ExcludePunctuation *string `json:"ExcludePunctuation,omitempty" xml:"ExcludePunctuation,omitempty"` // Specifies whether to exclude uppercase letters. // // Valid values: // // - true // // - false // // example: // // false ExcludeUppercase *string `json:"ExcludeUppercase,omitempty" xml:"ExcludeUppercase,omitempty"` // The number of bytes that the password to be generated contains. // // Valid values: 8 to 128. // // Default value: 32 // // example: // // 32 PasswordLength *string `json:"PasswordLength,omitempty" xml:"PasswordLength,omitempty"` // Specifies whether to include all the preceding character types. // // Valid values: // // - true // // - false // // example: // // true RequireEachIncludedType *string `json:"RequireEachIncludedType,omitempty" xml:"RequireEachIncludedType,omitempty"` }
func (GetRandomPasswordRequest) GoString ¶
func (s GetRandomPasswordRequest) GoString() string
func (*GetRandomPasswordRequest) SetExcludeCharacters ¶
func (s *GetRandomPasswordRequest) SetExcludeCharacters(v string) *GetRandomPasswordRequest
func (*GetRandomPasswordRequest) SetExcludeLowercase ¶
func (s *GetRandomPasswordRequest) SetExcludeLowercase(v string) *GetRandomPasswordRequest
func (*GetRandomPasswordRequest) SetExcludeNumbers ¶
func (s *GetRandomPasswordRequest) SetExcludeNumbers(v string) *GetRandomPasswordRequest
func (*GetRandomPasswordRequest) SetExcludePunctuation ¶
func (s *GetRandomPasswordRequest) SetExcludePunctuation(v string) *GetRandomPasswordRequest
func (*GetRandomPasswordRequest) SetExcludeUppercase ¶
func (s *GetRandomPasswordRequest) SetExcludeUppercase(v string) *GetRandomPasswordRequest
func (*GetRandomPasswordRequest) SetPasswordLength ¶
func (s *GetRandomPasswordRequest) SetPasswordLength(v string) *GetRandomPasswordRequest
func (*GetRandomPasswordRequest) SetRequireEachIncludedType ¶
func (s *GetRandomPasswordRequest) SetRequireEachIncludedType(v string) *GetRandomPasswordRequest
func (GetRandomPasswordRequest) String ¶
func (s GetRandomPasswordRequest) String() string
type GetRandomPasswordResponse ¶
type GetRandomPasswordResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *GetRandomPasswordResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (GetRandomPasswordResponse) GoString ¶
func (s GetRandomPasswordResponse) GoString() string
func (*GetRandomPasswordResponse) SetBody ¶
func (s *GetRandomPasswordResponse) SetBody(v *GetRandomPasswordResponseBody) *GetRandomPasswordResponse
func (*GetRandomPasswordResponse) SetHeaders ¶
func (s *GetRandomPasswordResponse) SetHeaders(v map[string]*string) *GetRandomPasswordResponse
func (*GetRandomPasswordResponse) SetStatusCode ¶
func (s *GetRandomPasswordResponse) SetStatusCode(v int32) *GetRandomPasswordResponse
func (GetRandomPasswordResponse) String ¶
func (s GetRandomPasswordResponse) String() string
type GetRandomPasswordResponseBody ¶
type GetRandomPasswordResponseBody struct { // The generated random password. // // example: // // IxGn>NMmNB(y?iZ<Yc,_H/{2GC\\"U**** RandomPassword *string `json:"RandomPassword,omitempty" xml:"RandomPassword,omitempty"` // The ID of the request. // // example: // // 6b0cbe25-5e33-467e-972e-7a83c6c97604 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (GetRandomPasswordResponseBody) GoString ¶
func (s GetRandomPasswordResponseBody) GoString() string
func (*GetRandomPasswordResponseBody) SetRandomPassword ¶
func (s *GetRandomPasswordResponseBody) SetRandomPassword(v string) *GetRandomPasswordResponseBody
func (*GetRandomPasswordResponseBody) SetRequestId ¶
func (s *GetRandomPasswordResponseBody) SetRequestId(v string) *GetRandomPasswordResponseBody
func (GetRandomPasswordResponseBody) String ¶
func (s GetRandomPasswordResponseBody) String() string
type GetSecretPolicyRequest ¶ added in v3.2.0
type GetSecretPolicyRequest struct { // example: // // default PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"` // This parameter is required. // // example: // // secret_test SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` }
func (GetSecretPolicyRequest) GoString ¶ added in v3.2.0
func (s GetSecretPolicyRequest) GoString() string
func (*GetSecretPolicyRequest) SetPolicyName ¶ added in v3.2.0
func (s *GetSecretPolicyRequest) SetPolicyName(v string) *GetSecretPolicyRequest
func (*GetSecretPolicyRequest) SetSecretName ¶ added in v3.2.0
func (s *GetSecretPolicyRequest) SetSecretName(v string) *GetSecretPolicyRequest
func (GetSecretPolicyRequest) String ¶ added in v3.2.0
func (s GetSecretPolicyRequest) String() string
type GetSecretPolicyResponse ¶ added in v3.2.0
type GetSecretPolicyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *GetSecretPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (GetSecretPolicyResponse) GoString ¶ added in v3.2.0
func (s GetSecretPolicyResponse) GoString() string
func (*GetSecretPolicyResponse) SetBody ¶ added in v3.2.0
func (s *GetSecretPolicyResponse) SetBody(v *GetSecretPolicyResponseBody) *GetSecretPolicyResponse
func (*GetSecretPolicyResponse) SetHeaders ¶ added in v3.2.0
func (s *GetSecretPolicyResponse) SetHeaders(v map[string]*string) *GetSecretPolicyResponse
func (*GetSecretPolicyResponse) SetStatusCode ¶ added in v3.2.0
func (s *GetSecretPolicyResponse) SetStatusCode(v int32) *GetSecretPolicyResponse
func (GetSecretPolicyResponse) String ¶ added in v3.2.0
func (s GetSecretPolicyResponse) String() string
type GetSecretPolicyResponseBody ¶ added in v3.2.0
type GetSecretPolicyResponseBody struct { // example: // // {"Version":"1","Statement": [{"Sid":"kms default secret policy","Effect":"Allow","Principal":{"RAM": ["acs:ram::119285303511****:*"]},"Action":["kms:*"],"Resource": ["*"] }] } Policy *string `json:"Policy,omitempty" xml:"Policy,omitempty"` // example: // // 381D5D33-BB8F-395F-8EE4-AE3BB4B523C8 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (GetSecretPolicyResponseBody) GoString ¶ added in v3.2.0
func (s GetSecretPolicyResponseBody) GoString() string
func (*GetSecretPolicyResponseBody) SetPolicy ¶ added in v3.2.0
func (s *GetSecretPolicyResponseBody) SetPolicy(v string) *GetSecretPolicyResponseBody
func (*GetSecretPolicyResponseBody) SetRequestId ¶ added in v3.2.0
func (s *GetSecretPolicyResponseBody) SetRequestId(v string) *GetSecretPolicyResponseBody
func (GetSecretPolicyResponseBody) String ¶ added in v3.2.0
func (s GetSecretPolicyResponseBody) String() string
type GetSecretValueRequest ¶
type GetSecretValueRequest struct { DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // Specifies whether to obtain the extended configuration of the secret. Valid values: // // - true // // - false: This is the default value. // // > This parameter is ignored for a generic secret. // // example: // // true FetchExtendedConfig *bool `json:"FetchExtendedConfig,omitempty" xml:"FetchExtendedConfig,omitempty"` // The name of the secret. // // This parameter is required. // // example: // // secret001 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` // The version number of the secret value. If you specify this parameter, Secrets Manager returns the secret value of the specified version. // // > This parameter is ignored for a managed ApsaraDB RDS secret, a managed RAM secret, or a managed ECS secret. // // example: // // 00000000000000000000000000000001 VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"` // The stage label that marks the secret version. If you specify this parameter, Secrets Manager returns the secret value of the version that is marked with the specified stage label. // // Default value: ACSCurrent. // // > For a managed ApsaraDB RDS secret, a managed RAM secret, or a managed ECS secret, Secrets Manager can return only the secret value of the version marked with ACSPrevious or ACSCurrent. // // example: // // ACSCurrent VersionStage *string `json:"VersionStage,omitempty" xml:"VersionStage,omitempty"` }
func (GetSecretValueRequest) GoString ¶
func (s GetSecretValueRequest) GoString() string
func (*GetSecretValueRequest) SetDryRun ¶ added in v3.2.2
func (s *GetSecretValueRequest) SetDryRun(v string) *GetSecretValueRequest
func (*GetSecretValueRequest) SetFetchExtendedConfig ¶
func (s *GetSecretValueRequest) SetFetchExtendedConfig(v bool) *GetSecretValueRequest
func (*GetSecretValueRequest) SetSecretName ¶
func (s *GetSecretValueRequest) SetSecretName(v string) *GetSecretValueRequest
func (*GetSecretValueRequest) SetVersionId ¶
func (s *GetSecretValueRequest) SetVersionId(v string) *GetSecretValueRequest
func (*GetSecretValueRequest) SetVersionStage ¶
func (s *GetSecretValueRequest) SetVersionStage(v string) *GetSecretValueRequest
func (GetSecretValueRequest) String ¶
func (s GetSecretValueRequest) String() string
type GetSecretValueResponse ¶
type GetSecretValueResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *GetSecretValueResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (GetSecretValueResponse) GoString ¶
func (s GetSecretValueResponse) GoString() string
func (*GetSecretValueResponse) SetBody ¶
func (s *GetSecretValueResponse) SetBody(v *GetSecretValueResponseBody) *GetSecretValueResponse
func (*GetSecretValueResponse) SetHeaders ¶
func (s *GetSecretValueResponse) SetHeaders(v map[string]*string) *GetSecretValueResponse
func (*GetSecretValueResponse) SetStatusCode ¶
func (s *GetSecretValueResponse) SetStatusCode(v int32) *GetSecretValueResponse
func (GetSecretValueResponse) String ¶
func (s GetSecretValueResponse) String() string
type GetSecretValueResponseBody ¶
type GetSecretValueResponseBody struct { // Indicates whether automatic rotation is enabled. Valid values: // // - Enabled: indicates that automatic rotation is enabled. // // - Disabled: indicates that automatic rotation is disabled. // // - Invalid: indicates that the status of automatic rotation is abnormal. In this case, Secrets Manager cannot automatically rotate the secret. // // > This parameter is returned only for a managed ApsaraDB RDS secret, a managed RAM secret, or a managed ECS secret. // // example: // // Enabled AutomaticRotation *string `json:"AutomaticRotation,omitempty" xml:"AutomaticRotation,omitempty"` // The time when the secret was created. // // example: // // 2020-02-21T15:39:26Z CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` // The extended configuration of the secret. // // > This parameter is returned if you set the FetchExtendedConfig parameter to true. This parameter is returned only for a managed ApsaraDB RDS secret, a managed RAM secret, or a managed ECS secret. // // example: // // {\\"SecretSubType\\":\\"SingleUser\\", \\"DBInstanceId\\":\\"rm-uf667446pc955****\\", \\"CustomData\\":{} } ExtendedConfig *string `json:"ExtendedConfig,omitempty" xml:"ExtendedConfig,omitempty"` // The time when the last rotation was performed. // // > This parameter is returned if the secret was rotated. // // example: // // 2020-07-05T08:22:03Z LastRotationDate *string `json:"LastRotationDate,omitempty" xml:"LastRotationDate,omitempty"` // The time when the next rotation will be performed. // // > This parameter is returned if automatic rotation is enabled. // // example: // // 2020-07-06T18:22:03Z NextRotationDate *string `json:"NextRotationDate,omitempty" xml:"NextRotationDate,omitempty"` // The ID of the request. // // example: // // 6a3e9c36-1150-4881-84d3-eb8672fcafad RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The interval for automatic rotation. // // The value is in the `integer[unit]` format. The `unit` field has a fixed value of s. For example, if the value is 604800s, automatic rotation is performed at a 7-day interval. // // > This parameter is returned if automatic rotation is enabled. // // example: // // 604800s RotationInterval *string `json:"RotationInterval,omitempty" xml:"RotationInterval,omitempty"` // The secret value. Secrets Manager decrypts the ciphertext of the secret value and returns the plaintext of the secret value in this parameter. // // - For a generic secret, the secret value of the specified version is returned. // // - For a managed ApsaraDB RDS secret, the value is returned in the following format:`{"AccountName":"","AccountPassword":""}` . // // - For a managed RAM secret, the secret value is returned in the following format: `{"AccessKeyId":"Adfdsfd","AccessKeySecret":"fdsfdsf","GenerateTimestamp": "2016-03-25T10:42:40Z"}`. // // - For a managed ECS secret, the secret value is returned in one of the following formats: // // - `{"UserName":"root","Password":"H5asdasdsads****"}`: The secret value is returned in this format if the ECS secret is a password. // // - `{"UserName":"root","PublicKey":"ssh-rsa ****mKwnVix9YTFY9Rs= imported-openssh-key","PrivateKey": "d6bee1cb-2e14-4277-ba6b-73786b21****"}`: The secret value is returned in this format is the ECS secret is a pair of SSH keys. The private key is in the Privacy Enhanced Mail (PEM) format. // // example: // // testdata1 SecretData *string `json:"SecretData,omitempty" xml:"SecretData,omitempty"` // The type of the secret value. Valid values: // // - text // // - binary // // example: // // binary SecretDataType *string `json:"SecretDataType,omitempty" xml:"SecretDataType,omitempty"` // The name of the secret. // // example: // // secret001 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` // The type of the secret. Valid values: // // - Generic: indicates a generic secret. // // - Rds: indicates a managed ApsaraDB RDS secret. // // - RAMCredentials: indicates a managed RAM secret. // // - ECS: indicates a managed ECS secret. // // example: // // Generic SecretType *string `json:"SecretType,omitempty" xml:"SecretType,omitempty"` // The version number of the secret value. // // example: // // 00000000000000000000000000000001 VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"` // The stage labels that mark the secret versions. VersionStages *GetSecretValueResponseBodyVersionStages `json:"VersionStages,omitempty" xml:"VersionStages,omitempty" type:"Struct"` }
func (GetSecretValueResponseBody) GoString ¶
func (s GetSecretValueResponseBody) GoString() string
func (*GetSecretValueResponseBody) SetAutomaticRotation ¶
func (s *GetSecretValueResponseBody) SetAutomaticRotation(v string) *GetSecretValueResponseBody
func (*GetSecretValueResponseBody) SetCreateTime ¶
func (s *GetSecretValueResponseBody) SetCreateTime(v string) *GetSecretValueResponseBody
func (*GetSecretValueResponseBody) SetExtendedConfig ¶
func (s *GetSecretValueResponseBody) SetExtendedConfig(v string) *GetSecretValueResponseBody
func (*GetSecretValueResponseBody) SetLastRotationDate ¶
func (s *GetSecretValueResponseBody) SetLastRotationDate(v string) *GetSecretValueResponseBody
func (*GetSecretValueResponseBody) SetNextRotationDate ¶
func (s *GetSecretValueResponseBody) SetNextRotationDate(v string) *GetSecretValueResponseBody
func (*GetSecretValueResponseBody) SetRequestId ¶
func (s *GetSecretValueResponseBody) SetRequestId(v string) *GetSecretValueResponseBody
func (*GetSecretValueResponseBody) SetRotationInterval ¶
func (s *GetSecretValueResponseBody) SetRotationInterval(v string) *GetSecretValueResponseBody
func (*GetSecretValueResponseBody) SetSecretData ¶
func (s *GetSecretValueResponseBody) SetSecretData(v string) *GetSecretValueResponseBody
func (*GetSecretValueResponseBody) SetSecretDataType ¶
func (s *GetSecretValueResponseBody) SetSecretDataType(v string) *GetSecretValueResponseBody
func (*GetSecretValueResponseBody) SetSecretName ¶
func (s *GetSecretValueResponseBody) SetSecretName(v string) *GetSecretValueResponseBody
func (*GetSecretValueResponseBody) SetSecretType ¶
func (s *GetSecretValueResponseBody) SetSecretType(v string) *GetSecretValueResponseBody
func (*GetSecretValueResponseBody) SetVersionId ¶
func (s *GetSecretValueResponseBody) SetVersionId(v string) *GetSecretValueResponseBody
func (*GetSecretValueResponseBody) SetVersionStages ¶
func (s *GetSecretValueResponseBody) SetVersionStages(v *GetSecretValueResponseBodyVersionStages) *GetSecretValueResponseBody
func (GetSecretValueResponseBody) String ¶
func (s GetSecretValueResponseBody) String() string
type GetSecretValueResponseBodyVersionStages ¶
type GetSecretValueResponseBodyVersionStages struct {
VersionStage []*string `json:"VersionStage,omitempty" xml:"VersionStage,omitempty" type:"Repeated"`
}
func (GetSecretValueResponseBodyVersionStages) GoString ¶
func (s GetSecretValueResponseBodyVersionStages) GoString() string
func (*GetSecretValueResponseBodyVersionStages) SetVersionStage ¶
func (s *GetSecretValueResponseBodyVersionStages) SetVersionStage(v []*string) *GetSecretValueResponseBodyVersionStages
func (GetSecretValueResponseBodyVersionStages) String ¶
func (s GetSecretValueResponseBodyVersionStages) String() string
type ImportKeyMaterialRequest ¶
type ImportKeyMaterialRequest struct { // Use **GetParametersForImport* - the Returned public key and the base64-encoded key material. // // This parameter is required. // // example: // // bCPZx7I6v6KXsqEpr2OXKxuj2CCRtKdwp75Bw+BGncYqBdfjFBYRtOE6HRlT0oeiRDWzwnw9OA54OL36smDJrq4Lo9x0CyYDiuKnRkcKtMtlzW0din7Pd7IlZWWRdVueiw2qpzl7PkUWQGTdsdbzpfJJQ+qj/cRIrk/E83UGyeyytSpgnb+lu0xEYcPajRyWNsbi98N3pqqQzHXNNHO2NJqHlnQgglqTiBEjkGeKFhfKmTc3vjulIdVa3EaVIN6lwWfgx+UUYSrvbA77WDYKlDsZ4SbK2/T7za9Tp1qU7Ynqba7OKGVVj7PMbiaO80AxWZnjUMYCgEp5w7V+seOXqw== EncryptedKeyMaterial *string `json:"EncryptedKeyMaterial,omitempty" xml:"EncryptedKeyMaterial,omitempty"` // By calling **GetParametersForImport* - the import token. // // This parameter is required. // // example: // // Base64String ImportToken *string `json:"ImportToken,omitempty" xml:"ImportToken,omitempty"` // The ID of the CMK to be imported. // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The time when the key material expires. // // If this parameter is not specified or set this parameter to 0, the key material does not expire. // // > The value cannot be earlier than the time when the API is called (based on the server time). // // This parameter is required. // // example: // // 0 KeyMaterialExpireUnix *int64 `json:"KeyMaterialExpireUnix,omitempty" xml:"KeyMaterialExpireUnix,omitempty"` }
func (ImportKeyMaterialRequest) GoString ¶
func (s ImportKeyMaterialRequest) GoString() string
func (*ImportKeyMaterialRequest) SetEncryptedKeyMaterial ¶
func (s *ImportKeyMaterialRequest) SetEncryptedKeyMaterial(v string) *ImportKeyMaterialRequest
func (*ImportKeyMaterialRequest) SetImportToken ¶
func (s *ImportKeyMaterialRequest) SetImportToken(v string) *ImportKeyMaterialRequest
func (*ImportKeyMaterialRequest) SetKeyId ¶
func (s *ImportKeyMaterialRequest) SetKeyId(v string) *ImportKeyMaterialRequest
func (*ImportKeyMaterialRequest) SetKeyMaterialExpireUnix ¶
func (s *ImportKeyMaterialRequest) SetKeyMaterialExpireUnix(v int64) *ImportKeyMaterialRequest
func (ImportKeyMaterialRequest) String ¶
func (s ImportKeyMaterialRequest) String() string
type ImportKeyMaterialResponse ¶
type ImportKeyMaterialResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ImportKeyMaterialResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ImportKeyMaterialResponse) GoString ¶
func (s ImportKeyMaterialResponse) GoString() string
func (*ImportKeyMaterialResponse) SetBody ¶
func (s *ImportKeyMaterialResponse) SetBody(v *ImportKeyMaterialResponseBody) *ImportKeyMaterialResponse
func (*ImportKeyMaterialResponse) SetHeaders ¶
func (s *ImportKeyMaterialResponse) SetHeaders(v map[string]*string) *ImportKeyMaterialResponse
func (*ImportKeyMaterialResponse) SetStatusCode ¶
func (s *ImportKeyMaterialResponse) SetStatusCode(v int32) *ImportKeyMaterialResponse
func (ImportKeyMaterialResponse) String ¶
func (s ImportKeyMaterialResponse) String() string
type ImportKeyMaterialResponseBody ¶
type ImportKeyMaterialResponseBody struct { // The ID of the request. // // example: // // ec1017cf-ead4-f3ca-babc-c3b34f3dbecb RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (ImportKeyMaterialResponseBody) GoString ¶
func (s ImportKeyMaterialResponseBody) GoString() string
func (*ImportKeyMaterialResponseBody) SetRequestId ¶
func (s *ImportKeyMaterialResponseBody) SetRequestId(v string) *ImportKeyMaterialResponseBody
func (ImportKeyMaterialResponseBody) String ¶
func (s ImportKeyMaterialResponseBody) String() string
type ListAliasesByKeyIdRequest ¶
type ListAliasesByKeyIdRequest struct { // The globally unique ID of the CMK. // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The number of the page to return. // // Valid values: an integer that is greater than 0. // // Default value: 1. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of entries to return on each page. // // Valid values: 0 to 101. // // Default value: 10 // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` }
func (ListAliasesByKeyIdRequest) GoString ¶
func (s ListAliasesByKeyIdRequest) GoString() string
func (*ListAliasesByKeyIdRequest) SetKeyId ¶
func (s *ListAliasesByKeyIdRequest) SetKeyId(v string) *ListAliasesByKeyIdRequest
func (*ListAliasesByKeyIdRequest) SetPageNumber ¶
func (s *ListAliasesByKeyIdRequest) SetPageNumber(v int32) *ListAliasesByKeyIdRequest
func (*ListAliasesByKeyIdRequest) SetPageSize ¶
func (s *ListAliasesByKeyIdRequest) SetPageSize(v int32) *ListAliasesByKeyIdRequest
func (ListAliasesByKeyIdRequest) String ¶
func (s ListAliasesByKeyIdRequest) String() string
type ListAliasesByKeyIdResponse ¶
type ListAliasesByKeyIdResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListAliasesByKeyIdResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListAliasesByKeyIdResponse) GoString ¶
func (s ListAliasesByKeyIdResponse) GoString() string
func (*ListAliasesByKeyIdResponse) SetBody ¶
func (s *ListAliasesByKeyIdResponse) SetBody(v *ListAliasesByKeyIdResponseBody) *ListAliasesByKeyIdResponse
func (*ListAliasesByKeyIdResponse) SetHeaders ¶
func (s *ListAliasesByKeyIdResponse) SetHeaders(v map[string]*string) *ListAliasesByKeyIdResponse
func (*ListAliasesByKeyIdResponse) SetStatusCode ¶
func (s *ListAliasesByKeyIdResponse) SetStatusCode(v int32) *ListAliasesByKeyIdResponse
func (ListAliasesByKeyIdResponse) String ¶
func (s ListAliasesByKeyIdResponse) String() string
type ListAliasesByKeyIdResponseBody ¶
type ListAliasesByKeyIdResponseBody struct { // An array that consists of aliases. Aliases *ListAliasesByKeyIdResponseBodyAliases `json:"Aliases,omitempty" xml:"Aliases,omitempty" type:"Struct"` // The page number of the returned page. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of entries returned per page. // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 1b57992c-834b-4811-a889-f8bac1ba0353 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The total number of returned CMKs. // // example: // // 1 TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` }
func (ListAliasesByKeyIdResponseBody) GoString ¶
func (s ListAliasesByKeyIdResponseBody) GoString() string
func (*ListAliasesByKeyIdResponseBody) SetAliases ¶
func (s *ListAliasesByKeyIdResponseBody) SetAliases(v *ListAliasesByKeyIdResponseBodyAliases) *ListAliasesByKeyIdResponseBody
func (*ListAliasesByKeyIdResponseBody) SetPageNumber ¶
func (s *ListAliasesByKeyIdResponseBody) SetPageNumber(v int32) *ListAliasesByKeyIdResponseBody
func (*ListAliasesByKeyIdResponseBody) SetPageSize ¶
func (s *ListAliasesByKeyIdResponseBody) SetPageSize(v int32) *ListAliasesByKeyIdResponseBody
func (*ListAliasesByKeyIdResponseBody) SetRequestId ¶
func (s *ListAliasesByKeyIdResponseBody) SetRequestId(v string) *ListAliasesByKeyIdResponseBody
func (*ListAliasesByKeyIdResponseBody) SetTotalCount ¶
func (s *ListAliasesByKeyIdResponseBody) SetTotalCount(v int32) *ListAliasesByKeyIdResponseBody
func (ListAliasesByKeyIdResponseBody) String ¶
func (s ListAliasesByKeyIdResponseBody) String() string
type ListAliasesByKeyIdResponseBodyAliases ¶
type ListAliasesByKeyIdResponseBodyAliases struct {
Alias []*ListAliasesByKeyIdResponseBodyAliasesAlias `json:"Alias,omitempty" xml:"Alias,omitempty" type:"Repeated"`
}
func (ListAliasesByKeyIdResponseBodyAliases) GoString ¶
func (s ListAliasesByKeyIdResponseBodyAliases) GoString() string
func (ListAliasesByKeyIdResponseBodyAliases) String ¶
func (s ListAliasesByKeyIdResponseBodyAliases) String() string
type ListAliasesByKeyIdResponseBodyAliasesAlias ¶
type ListAliasesByKeyIdResponseBodyAliasesAlias struct { // The Alibaba Cloud Resource Name (ARN) of the alias. // // example: // // acs:kms:cn-hangzhou:123456:alias/ExampleAlias1 AliasArn *string `json:"AliasArn,omitempty" xml:"AliasArn,omitempty"` // The ID of the alias. // // example: // // alias/ExampleAlias1 AliasName *string `json:"AliasName,omitempty" xml:"AliasName,omitempty"` // The CMK to which an alias is bound. // // example: // // 08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` }
func (ListAliasesByKeyIdResponseBodyAliasesAlias) GoString ¶
func (s ListAliasesByKeyIdResponseBodyAliasesAlias) GoString() string
func (*ListAliasesByKeyIdResponseBodyAliasesAlias) SetAliasArn ¶
func (s *ListAliasesByKeyIdResponseBodyAliasesAlias) SetAliasArn(v string) *ListAliasesByKeyIdResponseBodyAliasesAlias
func (*ListAliasesByKeyIdResponseBodyAliasesAlias) SetAliasName ¶
func (s *ListAliasesByKeyIdResponseBodyAliasesAlias) SetAliasName(v string) *ListAliasesByKeyIdResponseBodyAliasesAlias
func (*ListAliasesByKeyIdResponseBodyAliasesAlias) SetKeyId ¶
func (s *ListAliasesByKeyIdResponseBodyAliasesAlias) SetKeyId(v string) *ListAliasesByKeyIdResponseBodyAliasesAlias
func (ListAliasesByKeyIdResponseBodyAliasesAlias) String ¶
func (s ListAliasesByKeyIdResponseBodyAliasesAlias) String() string
type ListAliasesRequest ¶
type ListAliasesRequest struct { // The number of the page to return. // // Pages start from page 1. // // Default value: 1. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of entries to return on each page. // // Valid values: 0 to 100. // // Default value: 10. // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` }
func (ListAliasesRequest) GoString ¶
func (s ListAliasesRequest) GoString() string
func (*ListAliasesRequest) SetPageNumber ¶
func (s *ListAliasesRequest) SetPageNumber(v int32) *ListAliasesRequest
func (*ListAliasesRequest) SetPageSize ¶
func (s *ListAliasesRequest) SetPageSize(v int32) *ListAliasesRequest
func (ListAliasesRequest) String ¶
func (s ListAliasesRequest) String() string
type ListAliasesResponse ¶
type ListAliasesResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListAliasesResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListAliasesResponse) GoString ¶
func (s ListAliasesResponse) GoString() string
func (*ListAliasesResponse) SetBody ¶
func (s *ListAliasesResponse) SetBody(v *ListAliasesResponseBody) *ListAliasesResponse
func (*ListAliasesResponse) SetHeaders ¶
func (s *ListAliasesResponse) SetHeaders(v map[string]*string) *ListAliasesResponse
func (*ListAliasesResponse) SetStatusCode ¶
func (s *ListAliasesResponse) SetStatusCode(v int32) *ListAliasesResponse
func (ListAliasesResponse) String ¶
func (s ListAliasesResponse) String() string
type ListAliasesResponseBody ¶
type ListAliasesResponseBody struct { // The alias of the user. Aliases *ListAliasesResponseBodyAliases `json:"Aliases,omitempty" xml:"Aliases,omitempty" type:"Struct"` // The page number of the returned page. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of entries returned per page. // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` // The ID of the request. // // example: // // 1b57992c-834b-4811-a889-f8bac1ba0353 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The total number of returned aliases. // // example: // // 1 TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` }
func (ListAliasesResponseBody) GoString ¶
func (s ListAliasesResponseBody) GoString() string
func (*ListAliasesResponseBody) SetAliases ¶
func (s *ListAliasesResponseBody) SetAliases(v *ListAliasesResponseBodyAliases) *ListAliasesResponseBody
func (*ListAliasesResponseBody) SetPageNumber ¶
func (s *ListAliasesResponseBody) SetPageNumber(v int32) *ListAliasesResponseBody
func (*ListAliasesResponseBody) SetPageSize ¶
func (s *ListAliasesResponseBody) SetPageSize(v int32) *ListAliasesResponseBody
func (*ListAliasesResponseBody) SetRequestId ¶
func (s *ListAliasesResponseBody) SetRequestId(v string) *ListAliasesResponseBody
func (*ListAliasesResponseBody) SetTotalCount ¶
func (s *ListAliasesResponseBody) SetTotalCount(v int32) *ListAliasesResponseBody
func (ListAliasesResponseBody) String ¶
func (s ListAliasesResponseBody) String() string
type ListAliasesResponseBodyAliases ¶
type ListAliasesResponseBodyAliases struct {
Alias []*ListAliasesResponseBodyAliasesAlias `json:"Alias,omitempty" xml:"Alias,omitempty" type:"Repeated"`
}
func (ListAliasesResponseBodyAliases) GoString ¶
func (s ListAliasesResponseBodyAliases) GoString() string
func (*ListAliasesResponseBodyAliases) SetAlias ¶
func (s *ListAliasesResponseBodyAliases) SetAlias(v []*ListAliasesResponseBodyAliasesAlias) *ListAliasesResponseBodyAliases
func (ListAliasesResponseBodyAliases) String ¶
func (s ListAliasesResponseBodyAliases) String() string
type ListAliasesResponseBodyAliasesAlias ¶
type ListAliasesResponseBodyAliasesAlias struct { // The Alibaba Cloud Resource Name (ARN) of the alias. // // example: // // acs:kms:cn-hangzhou:123456:alias/ExampleAlias1 AliasArn *string `json:"AliasArn,omitempty" xml:"AliasArn,omitempty"` // The ID of the alias. // // example: // // alias/ExampleAlias1 AliasName *string `json:"AliasName,omitempty" xml:"AliasName,omitempty"` // The CMK to which the alias belongs. // // example: // // 08c33a6f-4e0a-4a1b-a3fa-7ddfa1d**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` }
func (ListAliasesResponseBodyAliasesAlias) GoString ¶
func (s ListAliasesResponseBodyAliasesAlias) GoString() string
func (*ListAliasesResponseBodyAliasesAlias) SetAliasArn ¶
func (s *ListAliasesResponseBodyAliasesAlias) SetAliasArn(v string) *ListAliasesResponseBodyAliasesAlias
func (*ListAliasesResponseBodyAliasesAlias) SetAliasName ¶
func (s *ListAliasesResponseBodyAliasesAlias) SetAliasName(v string) *ListAliasesResponseBodyAliasesAlias
func (*ListAliasesResponseBodyAliasesAlias) SetKeyId ¶
func (s *ListAliasesResponseBodyAliasesAlias) SetKeyId(v string) *ListAliasesResponseBodyAliasesAlias
func (ListAliasesResponseBodyAliasesAlias) String ¶
func (s ListAliasesResponseBodyAliasesAlias) String() string
type ListApplicationAccessPointsRequest ¶ added in v3.1.0
type ListApplicationAccessPointsRequest struct { // The page number. Default value: 1. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of entries per page. Valid values: 1 to 100. Default value: 20. // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` }
func (ListApplicationAccessPointsRequest) GoString ¶ added in v3.1.0
func (s ListApplicationAccessPointsRequest) GoString() string
func (*ListApplicationAccessPointsRequest) SetPageNumber ¶ added in v3.1.0
func (s *ListApplicationAccessPointsRequest) SetPageNumber(v int32) *ListApplicationAccessPointsRequest
func (*ListApplicationAccessPointsRequest) SetPageSize ¶ added in v3.1.0
func (s *ListApplicationAccessPointsRequest) SetPageSize(v int32) *ListApplicationAccessPointsRequest
func (ListApplicationAccessPointsRequest) String ¶ added in v3.1.0
func (s ListApplicationAccessPointsRequest) String() string
type ListApplicationAccessPointsResponse ¶ added in v3.1.0
type ListApplicationAccessPointsResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListApplicationAccessPointsResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListApplicationAccessPointsResponse) GoString ¶ added in v3.1.0
func (s ListApplicationAccessPointsResponse) GoString() string
func (*ListApplicationAccessPointsResponse) SetHeaders ¶ added in v3.1.0
func (s *ListApplicationAccessPointsResponse) SetHeaders(v map[string]*string) *ListApplicationAccessPointsResponse
func (*ListApplicationAccessPointsResponse) SetStatusCode ¶ added in v3.1.0
func (s *ListApplicationAccessPointsResponse) SetStatusCode(v int32) *ListApplicationAccessPointsResponse
func (ListApplicationAccessPointsResponse) String ¶ added in v3.1.0
func (s ListApplicationAccessPointsResponse) String() string
type ListApplicationAccessPointsResponseBody ¶ added in v3.1.0
type ListApplicationAccessPointsResponseBody struct { // A list of AAPs. ApplicationAccessPoints *ListApplicationAccessPointsResponseBodyApplicationAccessPoints `json:"ApplicationAccessPoints,omitempty" xml:"ApplicationAccessPoints,omitempty" type:"Struct"` // The page number. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of entries per page. // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // bcfefe15-46f0-44a3-bd96-3d422474b71a RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The total number of entries returned. // // example: // // 1 TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` }
func (ListApplicationAccessPointsResponseBody) GoString ¶ added in v3.1.0
func (s ListApplicationAccessPointsResponseBody) GoString() string
func (*ListApplicationAccessPointsResponseBody) SetApplicationAccessPoints ¶ added in v3.1.0
func (s *ListApplicationAccessPointsResponseBody) SetApplicationAccessPoints(v *ListApplicationAccessPointsResponseBodyApplicationAccessPoints) *ListApplicationAccessPointsResponseBody
func (*ListApplicationAccessPointsResponseBody) SetPageNumber ¶ added in v3.1.0
func (s *ListApplicationAccessPointsResponseBody) SetPageNumber(v int32) *ListApplicationAccessPointsResponseBody
func (*ListApplicationAccessPointsResponseBody) SetPageSize ¶ added in v3.1.0
func (s *ListApplicationAccessPointsResponseBody) SetPageSize(v int32) *ListApplicationAccessPointsResponseBody
func (*ListApplicationAccessPointsResponseBody) SetRequestId ¶ added in v3.1.0
func (s *ListApplicationAccessPointsResponseBody) SetRequestId(v string) *ListApplicationAccessPointsResponseBody
func (*ListApplicationAccessPointsResponseBody) SetTotalCount ¶ added in v3.1.0
func (s *ListApplicationAccessPointsResponseBody) SetTotalCount(v int32) *ListApplicationAccessPointsResponseBody
func (ListApplicationAccessPointsResponseBody) String ¶ added in v3.1.0
func (s ListApplicationAccessPointsResponseBody) String() string
type ListApplicationAccessPointsResponseBodyApplicationAccessPoints ¶ added in v3.1.0
type ListApplicationAccessPointsResponseBodyApplicationAccessPoints struct {
ApplicationAccessPoint []*ListApplicationAccessPointsResponseBodyApplicationAccessPointsApplicationAccessPoint `json:"ApplicationAccessPoint,omitempty" xml:"ApplicationAccessPoint,omitempty" type:"Repeated"`
}
func (ListApplicationAccessPointsResponseBodyApplicationAccessPoints) GoString ¶ added in v3.1.0
func (s ListApplicationAccessPointsResponseBodyApplicationAccessPoints) GoString() string
func (*ListApplicationAccessPointsResponseBodyApplicationAccessPoints) SetApplicationAccessPoint ¶ added in v3.1.0
func (ListApplicationAccessPointsResponseBodyApplicationAccessPoints) String ¶ added in v3.1.0
func (s ListApplicationAccessPointsResponseBodyApplicationAccessPoints) String() string
type ListApplicationAccessPointsResponseBodyApplicationAccessPointsApplicationAccessPoint ¶ added in v3.1.0
type ListApplicationAccessPointsResponseBodyApplicationAccessPointsApplicationAccessPoint struct { // The authentication method. // // example: // // ClientKey AuthenticationMethod *string `json:"AuthenticationMethod,omitempty" xml:"AuthenticationMethod,omitempty"` // The name of the AAP. // // example: // // aap_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` }
func (ListApplicationAccessPointsResponseBodyApplicationAccessPointsApplicationAccessPoint) GoString ¶ added in v3.1.0
func (*ListApplicationAccessPointsResponseBodyApplicationAccessPointsApplicationAccessPoint) SetAuthenticationMethod ¶ added in v3.1.0
func (*ListApplicationAccessPointsResponseBodyApplicationAccessPointsApplicationAccessPoint) SetName ¶ added in v3.1.0
type ListClientKeysRequest ¶ added in v3.1.0
type ListClientKeysRequest struct { // The name of the application access point (AAP). // // example: // // aap_test AapName *string `json:"AapName,omitempty" xml:"AapName,omitempty"` }
func (ListClientKeysRequest) GoString ¶ added in v3.1.0
func (s ListClientKeysRequest) GoString() string
func (*ListClientKeysRequest) SetAapName ¶ added in v3.1.0
func (s *ListClientKeysRequest) SetAapName(v string) *ListClientKeysRequest
func (ListClientKeysRequest) String ¶ added in v3.1.0
func (s ListClientKeysRequest) String() string
type ListClientKeysResponse ¶ added in v3.1.0
type ListClientKeysResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListClientKeysResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListClientKeysResponse) GoString ¶ added in v3.1.0
func (s ListClientKeysResponse) GoString() string
func (*ListClientKeysResponse) SetBody ¶ added in v3.1.0
func (s *ListClientKeysResponse) SetBody(v *ListClientKeysResponseBody) *ListClientKeysResponse
func (*ListClientKeysResponse) SetHeaders ¶ added in v3.1.0
func (s *ListClientKeysResponse) SetHeaders(v map[string]*string) *ListClientKeysResponse
func (*ListClientKeysResponse) SetStatusCode ¶ added in v3.1.0
func (s *ListClientKeysResponse) SetStatusCode(v int32) *ListClientKeysResponse
func (ListClientKeysResponse) String ¶ added in v3.1.0
func (s ListClientKeysResponse) String() string
type ListClientKeysResponseBody ¶ added in v3.1.0
type ListClientKeysResponseBody struct { // A list of client keys. ClientKeys []*ListClientKeysResponseBodyClientKeys `json:"ClientKeys,omitempty" xml:"ClientKeys,omitempty" type:"Repeated"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 2312e45f-b2fa-4c34-ad94-3eca50932916 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (ListClientKeysResponseBody) GoString ¶ added in v3.1.0
func (s ListClientKeysResponseBody) GoString() string
func (*ListClientKeysResponseBody) SetClientKeys ¶ added in v3.1.0
func (s *ListClientKeysResponseBody) SetClientKeys(v []*ListClientKeysResponseBodyClientKeys) *ListClientKeysResponseBody
func (*ListClientKeysResponseBody) SetRequestId ¶ added in v3.1.0
func (s *ListClientKeysResponseBody) SetRequestId(v string) *ListClientKeysResponseBody
func (ListClientKeysResponseBody) String ¶ added in v3.1.0
func (s ListClientKeysResponseBody) String() string
type ListClientKeysResponseBodyClientKeys ¶ added in v3.1.0
type ListClientKeysResponseBodyClientKeys struct { // The name of the AAP. // // example: // // aap_test AapName *string `json:"AapName,omitempty" xml:"AapName,omitempty"` // The ID of the client key. // // example: // // KAAP.66abf237-63f6-4625-b8cf-47e1086e**** ClientKeyId *string `json:"ClientKeyId,omitempty" xml:"ClientKeyId,omitempty"` // The time when the client key was created. // // example: // // 2023-08-31T09:14:38Z CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` // The private key algorithm of the client key. // // example: // // RSA_2048 KeyAlgorithm *string `json:"KeyAlgorithm,omitempty" xml:"KeyAlgorithm,omitempty"` // The provider of the client key. // // Currently, only KMS is supported. The value is fixed as KMS_PROVIDED. // // example: // // KMS_PROVIDED KeyOrigin *string `json:"KeyOrigin,omitempty" xml:"KeyOrigin,omitempty"` // The end of the validity period of the client key. // // example: // // 2028-08-31T17:14:33Z NotAfter *string `json:"NotAfter,omitempty" xml:"NotAfter,omitempty"` // The beginning of the validity period of the client key. // // example: // // 2023-08-31T17:14:33Z NotBefore *string `json:"NotBefore,omitempty" xml:"NotBefore,omitempty"` // The public key of the client key. // // example: // // -----BEGIN CERTIFICATE-----\\nMIIDcjCCAlqgAwIBAgIQT/sAVRxwYp54mrw****-----END CERTIFICATE----- PublicKeyData *string `json:"PublicKeyData,omitempty" xml:"PublicKeyData,omitempty"` }
func (ListClientKeysResponseBodyClientKeys) GoString ¶ added in v3.1.0
func (s ListClientKeysResponseBodyClientKeys) GoString() string
func (*ListClientKeysResponseBodyClientKeys) SetAapName ¶ added in v3.1.0
func (s *ListClientKeysResponseBodyClientKeys) SetAapName(v string) *ListClientKeysResponseBodyClientKeys
func (*ListClientKeysResponseBodyClientKeys) SetClientKeyId ¶ added in v3.1.0
func (s *ListClientKeysResponseBodyClientKeys) SetClientKeyId(v string) *ListClientKeysResponseBodyClientKeys
func (*ListClientKeysResponseBodyClientKeys) SetCreateTime ¶ added in v3.1.0
func (s *ListClientKeysResponseBodyClientKeys) SetCreateTime(v string) *ListClientKeysResponseBodyClientKeys
func (*ListClientKeysResponseBodyClientKeys) SetKeyAlgorithm ¶ added in v3.1.0
func (s *ListClientKeysResponseBodyClientKeys) SetKeyAlgorithm(v string) *ListClientKeysResponseBodyClientKeys
func (*ListClientKeysResponseBodyClientKeys) SetKeyOrigin ¶ added in v3.1.0
func (s *ListClientKeysResponseBodyClientKeys) SetKeyOrigin(v string) *ListClientKeysResponseBodyClientKeys
func (*ListClientKeysResponseBodyClientKeys) SetNotAfter ¶ added in v3.1.0
func (s *ListClientKeysResponseBodyClientKeys) SetNotAfter(v string) *ListClientKeysResponseBodyClientKeys
func (*ListClientKeysResponseBodyClientKeys) SetNotBefore ¶ added in v3.1.0
func (s *ListClientKeysResponseBodyClientKeys) SetNotBefore(v string) *ListClientKeysResponseBodyClientKeys
func (*ListClientKeysResponseBodyClientKeys) SetPublicKeyData ¶ added in v3.1.0
func (s *ListClientKeysResponseBodyClientKeys) SetPublicKeyData(v string) *ListClientKeysResponseBodyClientKeys
func (ListClientKeysResponseBodyClientKeys) String ¶ added in v3.1.0
func (s ListClientKeysResponseBodyClientKeys) String() string
type ListKeyVersionsRequest ¶
type ListKeyVersionsRequest struct { // The globally unique ID of the CMK. You can also set this parameter to an alias that is bound to the CMK. For more information, see [Use aliases](https://help.aliyun.com/document_detail/68522.html). // // This parameter is required. // // example: // // 0b30658a-ed1a-4922-b8f7-a673ca9c**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The number of the page to return. // // Pages start from page 1. // // Default value: 1. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of entries to return on each page. // // Valid values: 0 to 101. // // Default value: 10. // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` }
func (ListKeyVersionsRequest) GoString ¶
func (s ListKeyVersionsRequest) GoString() string
func (*ListKeyVersionsRequest) SetKeyId ¶
func (s *ListKeyVersionsRequest) SetKeyId(v string) *ListKeyVersionsRequest
func (*ListKeyVersionsRequest) SetPageNumber ¶
func (s *ListKeyVersionsRequest) SetPageNumber(v int32) *ListKeyVersionsRequest
func (*ListKeyVersionsRequest) SetPageSize ¶
func (s *ListKeyVersionsRequest) SetPageSize(v int32) *ListKeyVersionsRequest
func (ListKeyVersionsRequest) String ¶
func (s ListKeyVersionsRequest) String() string
type ListKeyVersionsResponse ¶
type ListKeyVersionsResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListKeyVersionsResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListKeyVersionsResponse) GoString ¶
func (s ListKeyVersionsResponse) GoString() string
func (*ListKeyVersionsResponse) SetBody ¶
func (s *ListKeyVersionsResponse) SetBody(v *ListKeyVersionsResponseBody) *ListKeyVersionsResponse
func (*ListKeyVersionsResponse) SetHeaders ¶
func (s *ListKeyVersionsResponse) SetHeaders(v map[string]*string) *ListKeyVersionsResponse
func (*ListKeyVersionsResponse) SetStatusCode ¶
func (s *ListKeyVersionsResponse) SetStatusCode(v int32) *ListKeyVersionsResponse
func (ListKeyVersionsResponse) String ¶
func (s ListKeyVersionsResponse) String() string
type ListKeyVersionsResponseBody ¶
type ListKeyVersionsResponseBody struct { // An array that consists of key versions. KeyVersions *ListKeyVersionsResponseBodyKeyVersions `json:"KeyVersions,omitempty" xml:"KeyVersions,omitempty" type:"Struct"` // The page number of the returned page. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of entries returned per page. // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` // The ID of the request. // // example: // // f71204c4-53cd-4eea-b405-653ba2db7e86 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The total number of returned key versions. // // example: // // 3 TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` }
func (ListKeyVersionsResponseBody) GoString ¶
func (s ListKeyVersionsResponseBody) GoString() string
func (*ListKeyVersionsResponseBody) SetKeyVersions ¶
func (s *ListKeyVersionsResponseBody) SetKeyVersions(v *ListKeyVersionsResponseBodyKeyVersions) *ListKeyVersionsResponseBody
func (*ListKeyVersionsResponseBody) SetPageNumber ¶
func (s *ListKeyVersionsResponseBody) SetPageNumber(v int32) *ListKeyVersionsResponseBody
func (*ListKeyVersionsResponseBody) SetPageSize ¶
func (s *ListKeyVersionsResponseBody) SetPageSize(v int32) *ListKeyVersionsResponseBody
func (*ListKeyVersionsResponseBody) SetRequestId ¶
func (s *ListKeyVersionsResponseBody) SetRequestId(v string) *ListKeyVersionsResponseBody
func (*ListKeyVersionsResponseBody) SetTotalCount ¶
func (s *ListKeyVersionsResponseBody) SetTotalCount(v int32) *ListKeyVersionsResponseBody
func (ListKeyVersionsResponseBody) String ¶
func (s ListKeyVersionsResponseBody) String() string
type ListKeyVersionsResponseBodyKeyVersions ¶
type ListKeyVersionsResponseBodyKeyVersions struct {
KeyVersion []*ListKeyVersionsResponseBodyKeyVersionsKeyVersion `json:"KeyVersion,omitempty" xml:"KeyVersion,omitempty" type:"Repeated"`
}
func (ListKeyVersionsResponseBodyKeyVersions) GoString ¶
func (s ListKeyVersionsResponseBodyKeyVersions) GoString() string
func (*ListKeyVersionsResponseBodyKeyVersions) SetKeyVersion ¶
func (s *ListKeyVersionsResponseBodyKeyVersions) SetKeyVersion(v []*ListKeyVersionsResponseBodyKeyVersionsKeyVersion) *ListKeyVersionsResponseBodyKeyVersions
func (ListKeyVersionsResponseBodyKeyVersions) String ¶
func (s ListKeyVersionsResponseBodyKeyVersions) String() string
type ListKeyVersionsResponseBodyKeyVersionsKeyVersion ¶
type ListKeyVersionsResponseBodyKeyVersionsKeyVersion struct { // The date and time when the CMK version was created. The time is displayed in UTC. // // example: // // 2016-03-25T10:42:40Z CreationDate *string `json:"CreationDate,omitempty" xml:"CreationDate,omitempty"` // The globally unique ID of the CMK. // // > If you set the KeyId parameter to the alias of the CMK, the ID of the CMK to which the alias is bound is returned. // // example: // // 0b30658a-ed1a-4922-b8f7-a673ca9c**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The globally unique ID of the CMK version. // // example: // // 1e3304fd-68ac-4d5b-8886-ae5f01a1**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` }
func (ListKeyVersionsResponseBodyKeyVersionsKeyVersion) GoString ¶
func (s ListKeyVersionsResponseBodyKeyVersionsKeyVersion) GoString() string
func (*ListKeyVersionsResponseBodyKeyVersionsKeyVersion) SetCreationDate ¶
func (s *ListKeyVersionsResponseBodyKeyVersionsKeyVersion) SetCreationDate(v string) *ListKeyVersionsResponseBodyKeyVersionsKeyVersion
func (*ListKeyVersionsResponseBodyKeyVersionsKeyVersion) SetKeyVersionId ¶
func (s *ListKeyVersionsResponseBodyKeyVersionsKeyVersion) SetKeyVersionId(v string) *ListKeyVersionsResponseBodyKeyVersionsKeyVersion
func (ListKeyVersionsResponseBodyKeyVersionsKeyVersion) String ¶
func (s ListKeyVersionsResponseBodyKeyVersionsKeyVersion) String() string
type ListKeysRequest ¶
type ListKeysRequest struct { // The CMK filter. The filter consists of one or more key-value pairs. You can specify a maximum of 10 key-value pairs. // // - Key // // - Description: the property that you want to filter. // // - Type: string. // // - Valid values: // // - KeyState: the status of the CMK. // // - KeySpec: the type of the CMK. // // - KeyUsage: the usage of the CMK. // // - ProtectionLevel: the protection level. // // - CreatorType: the type of the creator. // // - Values // // - Description: the value to be included after filtering. // // - Format: string array. // // - Length: 0 to 10. // // - Valid values: // // - When Key is set to KeyState, the value can be Enabled, Disabled, PendingDeletion, or PendingImport. // // - When Key is set to KeySpec, the value can be Aliyun_AES_256, Aliyun_SM4, RSA_2048, EC_P256, EC_P256K, or EC_SM2. // // Note: You can create CMKs of the EC_SM2 or Aliyun_SM4 type only in regions where State Cryptography Administration (SCA)-certified managed HSMs reside. For more information about the regions, see [Supported regions](https://help.aliyun.com/document_detail/125803.html). If your region does not support EC_SM2 or Aliyun_SM4, the two values are ignored if they are specified. // // - When Key is set to KeyUsage, the value can be ENCRYPT/DECRYPT or SIGN/VERIFY. ENCRYPT/DECRYPT indicates that the CMK is used to encrypt and decrypt data. SIGN/VERIFY indicates that the CMK is used to generate and verify digital signatures. // // - When Key is set to ProtectionLevel, the value can be SOFTWARE (software) or HSM (hardware). // // You can set ProtectionLevel to HSM in only specific regions. For more information about the regions, see [Supported regions](https://help.aliyun.com/document_detail/125803.html). If your region does not support the value HSM, the value is ignored if the value is specified. // // - If Key is set to CreatorType, the value can be User or Service. User indicates that CMKs created by the current account are queried. Service indicates that CMKs automatically created by other cloud services authorized by the current account are queried. // // The logical relationship between different keys is AND, and the logical relationship between multiple items in the same key is OR. Example: // // `[ {"Key":"KeyState", "Values":["Enabled","Disabled"]}, {"Key":"KeyState", "Values":["PendingDeletion"]}, {"Key":"KeySpec", "Values":["Aliyun_AES_256"]}]`. In this example, the semantics are:`(KeyState=Enabled OR KeyState=Disabled OR KeyState=PendingDeletion) AND (KeySpec=Aliyun_AES_ 256)`. // // example: // // [{"Key":"KeyState", "Values":["Enabled","Disabled"]}] Filters *string `json:"Filters,omitempty" xml:"Filters,omitempty"` // The number of the page to return. // // Pages start from page 1. // // Default value: 1. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of entries to return on each page. // // Valid values: 1 to 100. // // Default value: 10 // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` }
func (ListKeysRequest) GoString ¶
func (s ListKeysRequest) GoString() string
func (*ListKeysRequest) SetFilters ¶
func (s *ListKeysRequest) SetFilters(v string) *ListKeysRequest
func (*ListKeysRequest) SetPageNumber ¶
func (s *ListKeysRequest) SetPageNumber(v int32) *ListKeysRequest
func (*ListKeysRequest) SetPageSize ¶
func (s *ListKeysRequest) SetPageSize(v int32) *ListKeysRequest
func (ListKeysRequest) String ¶
func (s ListKeysRequest) String() string
type ListKeysResponse ¶
type ListKeysResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListKeysResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListKeysResponse) GoString ¶
func (s ListKeysResponse) GoString() string
func (*ListKeysResponse) SetBody ¶
func (s *ListKeysResponse) SetBody(v *ListKeysResponseBody) *ListKeysResponse
func (*ListKeysResponse) SetHeaders ¶
func (s *ListKeysResponse) SetHeaders(v map[string]*string) *ListKeysResponse
func (*ListKeysResponse) SetStatusCode ¶
func (s *ListKeysResponse) SetStatusCode(v int32) *ListKeysResponse
func (ListKeysResponse) String ¶
func (s ListKeysResponse) String() string
type ListKeysResponseBody ¶
type ListKeysResponseBody struct { // An array that consists of the CMKs of the current Alibaba Cloud account in the current region. Keys *ListKeysResponseBodyKeys `json:"Keys,omitempty" xml:"Keys,omitempty" type:"Struct"` // The page number of the returned page. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of entries returned per page. // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 8252db58-2036-408c-a3d5-56e656dc2551 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The total number of CMKs. // // example: // // 3 TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` }
func (ListKeysResponseBody) GoString ¶
func (s ListKeysResponseBody) GoString() string
func (*ListKeysResponseBody) SetKeys ¶
func (s *ListKeysResponseBody) SetKeys(v *ListKeysResponseBodyKeys) *ListKeysResponseBody
func (*ListKeysResponseBody) SetPageNumber ¶
func (s *ListKeysResponseBody) SetPageNumber(v int32) *ListKeysResponseBody
func (*ListKeysResponseBody) SetPageSize ¶
func (s *ListKeysResponseBody) SetPageSize(v int32) *ListKeysResponseBody
func (*ListKeysResponseBody) SetRequestId ¶
func (s *ListKeysResponseBody) SetRequestId(v string) *ListKeysResponseBody
func (*ListKeysResponseBody) SetTotalCount ¶
func (s *ListKeysResponseBody) SetTotalCount(v int32) *ListKeysResponseBody
func (ListKeysResponseBody) String ¶
func (s ListKeysResponseBody) String() string
type ListKeysResponseBodyKeys ¶
type ListKeysResponseBodyKeys struct {
Key []*ListKeysResponseBodyKeysKey `json:"Key,omitempty" xml:"Key,omitempty" type:"Repeated"`
}
func (ListKeysResponseBodyKeys) GoString ¶
func (s ListKeysResponseBodyKeys) GoString() string
func (*ListKeysResponseBodyKeys) SetKey ¶
func (s *ListKeysResponseBodyKeys) SetKey(v []*ListKeysResponseBodyKeysKey) *ListKeysResponseBodyKeys
func (ListKeysResponseBodyKeys) String ¶
func (s ListKeysResponseBodyKeys) String() string
type ListKeysResponseBodyKeysKey ¶
type ListKeysResponseBodyKeysKey struct { // The Alibaba Cloud Resource Name (ARN) of the CMK. // // example: // // acs:kms:cn-hangzhou:123456:key/80e9409f-78fa-42ab-84bd-83f40c81**** KeyArn *string `json:"KeyArn,omitempty" xml:"KeyArn,omitempty"` // The ID of the CMK. The ID must be globally unique. // // example: // // 08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` }
func (ListKeysResponseBodyKeysKey) GoString ¶
func (s ListKeysResponseBodyKeysKey) GoString() string
func (*ListKeysResponseBodyKeysKey) SetKeyArn ¶
func (s *ListKeysResponseBodyKeysKey) SetKeyArn(v string) *ListKeysResponseBodyKeysKey
func (*ListKeysResponseBodyKeysKey) SetKeyId ¶
func (s *ListKeysResponseBodyKeysKey) SetKeyId(v string) *ListKeysResponseBodyKeysKey
func (ListKeysResponseBodyKeysKey) String ¶
func (s ListKeysResponseBodyKeysKey) String() string
type ListKmsInstancesRequest ¶ added in v3.1.0
type ListKmsInstancesRequest struct { // The page number. Default value: 1. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of entries per page. Valid values: 1 to 100. Default value: 20. // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` }
func (ListKmsInstancesRequest) GoString ¶ added in v3.1.0
func (s ListKmsInstancesRequest) GoString() string
func (*ListKmsInstancesRequest) SetPageNumber ¶ added in v3.1.0
func (s *ListKmsInstancesRequest) SetPageNumber(v int32) *ListKmsInstancesRequest
func (*ListKmsInstancesRequest) SetPageSize ¶ added in v3.1.0
func (s *ListKmsInstancesRequest) SetPageSize(v int32) *ListKmsInstancesRequest
func (ListKmsInstancesRequest) String ¶ added in v3.1.0
func (s ListKmsInstancesRequest) String() string
type ListKmsInstancesResponse ¶ added in v3.1.0
type ListKmsInstancesResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListKmsInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListKmsInstancesResponse) GoString ¶ added in v3.1.0
func (s ListKmsInstancesResponse) GoString() string
func (*ListKmsInstancesResponse) SetBody ¶ added in v3.1.0
func (s *ListKmsInstancesResponse) SetBody(v *ListKmsInstancesResponseBody) *ListKmsInstancesResponse
func (*ListKmsInstancesResponse) SetHeaders ¶ added in v3.1.0
func (s *ListKmsInstancesResponse) SetHeaders(v map[string]*string) *ListKmsInstancesResponse
func (*ListKmsInstancesResponse) SetStatusCode ¶ added in v3.1.0
func (s *ListKmsInstancesResponse) SetStatusCode(v int32) *ListKmsInstancesResponse
func (ListKmsInstancesResponse) String ¶ added in v3.1.0
func (s ListKmsInstancesResponse) String() string
type ListKmsInstancesResponseBody ¶ added in v3.1.0
type ListKmsInstancesResponseBody struct { // A list of KMS instances. KmsInstances *ListKmsInstancesResponseBodyKmsInstances `json:"KmsInstances,omitempty" xml:"KmsInstances,omitempty" type:"Struct"` // The page number. // // example: // // 1 PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of entries per page. // // example: // // 10 PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // d3eca5c8-a856-4347-8eb6-e1898c3fda2e RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The total number of KMS instances. // // example: // // 1 TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` }
func (ListKmsInstancesResponseBody) GoString ¶ added in v3.1.0
func (s ListKmsInstancesResponseBody) GoString() string
func (*ListKmsInstancesResponseBody) SetKmsInstances ¶ added in v3.1.0
func (s *ListKmsInstancesResponseBody) SetKmsInstances(v *ListKmsInstancesResponseBodyKmsInstances) *ListKmsInstancesResponseBody
func (*ListKmsInstancesResponseBody) SetPageNumber ¶ added in v3.1.0
func (s *ListKmsInstancesResponseBody) SetPageNumber(v int64) *ListKmsInstancesResponseBody
func (*ListKmsInstancesResponseBody) SetPageSize ¶ added in v3.1.0
func (s *ListKmsInstancesResponseBody) SetPageSize(v int64) *ListKmsInstancesResponseBody
func (*ListKmsInstancesResponseBody) SetRequestId ¶ added in v3.1.0
func (s *ListKmsInstancesResponseBody) SetRequestId(v string) *ListKmsInstancesResponseBody
func (*ListKmsInstancesResponseBody) SetTotalCount ¶ added in v3.1.0
func (s *ListKmsInstancesResponseBody) SetTotalCount(v int64) *ListKmsInstancesResponseBody
func (ListKmsInstancesResponseBody) String ¶ added in v3.1.0
func (s ListKmsInstancesResponseBody) String() string
type ListKmsInstancesResponseBodyKmsInstances ¶ added in v3.1.0
type ListKmsInstancesResponseBodyKmsInstances struct {
KmsInstance []*ListKmsInstancesResponseBodyKmsInstancesKmsInstance `json:"KmsInstance,omitempty" xml:"KmsInstance,omitempty" type:"Repeated"`
}
func (ListKmsInstancesResponseBodyKmsInstances) GoString ¶ added in v3.1.0
func (s ListKmsInstancesResponseBodyKmsInstances) GoString() string
func (*ListKmsInstancesResponseBodyKmsInstances) SetKmsInstance ¶ added in v3.1.0
func (s *ListKmsInstancesResponseBodyKmsInstances) SetKmsInstance(v []*ListKmsInstancesResponseBodyKmsInstancesKmsInstance) *ListKmsInstancesResponseBodyKmsInstances
func (ListKmsInstancesResponseBodyKmsInstances) String ¶ added in v3.1.0
func (s ListKmsInstancesResponseBodyKmsInstances) String() string
type ListKmsInstancesResponseBodyKmsInstancesKmsInstance ¶ added in v3.1.0
type ListKmsInstancesResponseBodyKmsInstancesKmsInstance struct { // The ARN of the KMS instance. // // example: // // acs:kms:pre-hangzhou:120708975881****:keystore/kst-phzz64c9f84eo32dbs**** KmsInstanceArn *string `json:"KmsInstanceArn,omitempty" xml:"KmsInstanceArn,omitempty"` // The ID of the KMS instance. // // example: // // kst-phzz64c9f84eo32dbs**** KmsInstanceId *string `json:"KmsInstanceId,omitempty" xml:"KmsInstanceId,omitempty"` }
func (ListKmsInstancesResponseBodyKmsInstancesKmsInstance) GoString ¶ added in v3.1.0
func (s ListKmsInstancesResponseBodyKmsInstancesKmsInstance) GoString() string
func (*ListKmsInstancesResponseBodyKmsInstancesKmsInstance) SetKmsInstanceArn ¶ added in v3.1.0
func (s *ListKmsInstancesResponseBodyKmsInstancesKmsInstance) SetKmsInstanceArn(v string) *ListKmsInstancesResponseBodyKmsInstancesKmsInstance
func (*ListKmsInstancesResponseBodyKmsInstancesKmsInstance) SetKmsInstanceId ¶ added in v3.1.0
func (s *ListKmsInstancesResponseBodyKmsInstancesKmsInstance) SetKmsInstanceId(v string) *ListKmsInstancesResponseBodyKmsInstancesKmsInstance
func (ListKmsInstancesResponseBodyKmsInstancesKmsInstance) String ¶ added in v3.1.0
func (s ListKmsInstancesResponseBodyKmsInstancesKmsInstance) String() string
type ListNetworkRulesRequest ¶ added in v3.1.0
type ListNetworkRulesRequest struct { // The page number. Default value: 1. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of entries per page. Valid values: 1 to 100. Default value: 20. // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` }
func (ListNetworkRulesRequest) GoString ¶ added in v3.1.0
func (s ListNetworkRulesRequest) GoString() string
func (*ListNetworkRulesRequest) SetPageNumber ¶ added in v3.1.0
func (s *ListNetworkRulesRequest) SetPageNumber(v int32) *ListNetworkRulesRequest
func (*ListNetworkRulesRequest) SetPageSize ¶ added in v3.1.0
func (s *ListNetworkRulesRequest) SetPageSize(v int32) *ListNetworkRulesRequest
func (ListNetworkRulesRequest) String ¶ added in v3.1.0
func (s ListNetworkRulesRequest) String() string
type ListNetworkRulesResponse ¶ added in v3.1.0
type ListNetworkRulesResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListNetworkRulesResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListNetworkRulesResponse) GoString ¶ added in v3.1.0
func (s ListNetworkRulesResponse) GoString() string
func (*ListNetworkRulesResponse) SetBody ¶ added in v3.1.0
func (s *ListNetworkRulesResponse) SetBody(v *ListNetworkRulesResponseBody) *ListNetworkRulesResponse
func (*ListNetworkRulesResponse) SetHeaders ¶ added in v3.1.0
func (s *ListNetworkRulesResponse) SetHeaders(v map[string]*string) *ListNetworkRulesResponse
func (*ListNetworkRulesResponse) SetStatusCode ¶ added in v3.1.0
func (s *ListNetworkRulesResponse) SetStatusCode(v int32) *ListNetworkRulesResponse
func (ListNetworkRulesResponse) String ¶ added in v3.1.0
func (s ListNetworkRulesResponse) String() string
type ListNetworkRulesResponseBody ¶ added in v3.1.0
type ListNetworkRulesResponseBody struct { // A list of access control rules. NetworkRules *ListNetworkRulesResponseBodyNetworkRules `json:"NetworkRules,omitempty" xml:"NetworkRules,omitempty" type:"Struct"` // The page number. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of entries per page. // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 3bf02f7a-015b-4f34-be0f-cc043fda2d33 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The total number of entries returned. // // example: // // 1 TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` }
func (ListNetworkRulesResponseBody) GoString ¶ added in v3.1.0
func (s ListNetworkRulesResponseBody) GoString() string
func (*ListNetworkRulesResponseBody) SetNetworkRules ¶ added in v3.1.0
func (s *ListNetworkRulesResponseBody) SetNetworkRules(v *ListNetworkRulesResponseBodyNetworkRules) *ListNetworkRulesResponseBody
func (*ListNetworkRulesResponseBody) SetPageNumber ¶ added in v3.1.0
func (s *ListNetworkRulesResponseBody) SetPageNumber(v int32) *ListNetworkRulesResponseBody
func (*ListNetworkRulesResponseBody) SetPageSize ¶ added in v3.1.0
func (s *ListNetworkRulesResponseBody) SetPageSize(v int32) *ListNetworkRulesResponseBody
func (*ListNetworkRulesResponseBody) SetRequestId ¶ added in v3.1.0
func (s *ListNetworkRulesResponseBody) SetRequestId(v string) *ListNetworkRulesResponseBody
func (*ListNetworkRulesResponseBody) SetTotalCount ¶ added in v3.1.0
func (s *ListNetworkRulesResponseBody) SetTotalCount(v int32) *ListNetworkRulesResponseBody
func (ListNetworkRulesResponseBody) String ¶ added in v3.1.0
func (s ListNetworkRulesResponseBody) String() string
type ListNetworkRulesResponseBodyNetworkRules ¶ added in v3.1.0
type ListNetworkRulesResponseBodyNetworkRules struct {
NetworkRule []*ListNetworkRulesResponseBodyNetworkRulesNetworkRule `json:"NetworkRule,omitempty" xml:"NetworkRule,omitempty" type:"Repeated"`
}
func (ListNetworkRulesResponseBodyNetworkRules) GoString ¶ added in v3.1.0
func (s ListNetworkRulesResponseBodyNetworkRules) GoString() string
func (*ListNetworkRulesResponseBodyNetworkRules) SetNetworkRule ¶ added in v3.1.0
func (s *ListNetworkRulesResponseBodyNetworkRules) SetNetworkRule(v []*ListNetworkRulesResponseBodyNetworkRulesNetworkRule) *ListNetworkRulesResponseBodyNetworkRules
func (ListNetworkRulesResponseBodyNetworkRules) String ¶ added in v3.1.0
func (s ListNetworkRulesResponseBodyNetworkRules) String() string
type ListNetworkRulesResponseBodyNetworkRulesNetworkRule ¶ added in v3.1.0
type ListNetworkRulesResponseBodyNetworkRulesNetworkRule struct { // The name of the access control rule. // // example: // // networkrule_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // The network type. The value is fixed as Private. Self-managed applications can access KMS instances only over a private virtual private cloud (VPC). // // example: // // Private Type *string `json:"Type,omitempty" xml:"Type,omitempty"` }
func (ListNetworkRulesResponseBodyNetworkRulesNetworkRule) GoString ¶ added in v3.1.0
func (s ListNetworkRulesResponseBodyNetworkRulesNetworkRule) GoString() string
func (ListNetworkRulesResponseBodyNetworkRulesNetworkRule) String ¶ added in v3.1.0
func (s ListNetworkRulesResponseBodyNetworkRulesNetworkRule) String() string
type ListPoliciesRequest ¶ added in v3.1.0
type ListPoliciesRequest struct { // The page number. Default value: 1. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of entries per page. Valid values: 1 to 100. Default value: 20. // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` }
func (ListPoliciesRequest) GoString ¶ added in v3.1.0
func (s ListPoliciesRequest) GoString() string
func (*ListPoliciesRequest) SetPageNumber ¶ added in v3.1.0
func (s *ListPoliciesRequest) SetPageNumber(v int32) *ListPoliciesRequest
func (*ListPoliciesRequest) SetPageSize ¶ added in v3.1.0
func (s *ListPoliciesRequest) SetPageSize(v int32) *ListPoliciesRequest
func (ListPoliciesRequest) String ¶ added in v3.1.0
func (s ListPoliciesRequest) String() string
type ListPoliciesResponse ¶ added in v3.1.0
type ListPoliciesResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListPoliciesResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListPoliciesResponse) GoString ¶ added in v3.1.0
func (s ListPoliciesResponse) GoString() string
func (*ListPoliciesResponse) SetBody ¶ added in v3.1.0
func (s *ListPoliciesResponse) SetBody(v *ListPoliciesResponseBody) *ListPoliciesResponse
func (*ListPoliciesResponse) SetHeaders ¶ added in v3.1.0
func (s *ListPoliciesResponse) SetHeaders(v map[string]*string) *ListPoliciesResponse
func (*ListPoliciesResponse) SetStatusCode ¶ added in v3.1.0
func (s *ListPoliciesResponse) SetStatusCode(v int32) *ListPoliciesResponse
func (ListPoliciesResponse) String ¶ added in v3.1.0
func (s ListPoliciesResponse) String() string
type ListPoliciesResponseBody ¶ added in v3.1.0
type ListPoliciesResponseBody struct { // The page number. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of entries per page. // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` // A list of permission policies. Policies *ListPoliciesResponseBodyPolicies `json:"Policies,omitempty" xml:"Policies,omitempty" type:"Struct"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // b66ad557-9c00-4064-9c8d-b621c3263308 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The total number of entries returned. // // example: // // 1 TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` }
func (ListPoliciesResponseBody) GoString ¶ added in v3.1.0
func (s ListPoliciesResponseBody) GoString() string
func (*ListPoliciesResponseBody) SetPageNumber ¶ added in v3.1.0
func (s *ListPoliciesResponseBody) SetPageNumber(v int32) *ListPoliciesResponseBody
func (*ListPoliciesResponseBody) SetPageSize ¶ added in v3.1.0
func (s *ListPoliciesResponseBody) SetPageSize(v int32) *ListPoliciesResponseBody
func (*ListPoliciesResponseBody) SetPolicies ¶ added in v3.1.0
func (s *ListPoliciesResponseBody) SetPolicies(v *ListPoliciesResponseBodyPolicies) *ListPoliciesResponseBody
func (*ListPoliciesResponseBody) SetRequestId ¶ added in v3.1.0
func (s *ListPoliciesResponseBody) SetRequestId(v string) *ListPoliciesResponseBody
func (*ListPoliciesResponseBody) SetTotalCount ¶ added in v3.1.0
func (s *ListPoliciesResponseBody) SetTotalCount(v int32) *ListPoliciesResponseBody
func (ListPoliciesResponseBody) String ¶ added in v3.1.0
func (s ListPoliciesResponseBody) String() string
type ListPoliciesResponseBodyPolicies ¶ added in v3.1.0
type ListPoliciesResponseBodyPolicies struct {
Policy []*ListPoliciesResponseBodyPoliciesPolicy `json:"Policy,omitempty" xml:"Policy,omitempty" type:"Repeated"`
}
func (ListPoliciesResponseBodyPolicies) GoString ¶ added in v3.1.0
func (s ListPoliciesResponseBodyPolicies) GoString() string
func (*ListPoliciesResponseBodyPolicies) SetPolicy ¶ added in v3.1.0
func (s *ListPoliciesResponseBodyPolicies) SetPolicy(v []*ListPoliciesResponseBodyPoliciesPolicy) *ListPoliciesResponseBodyPolicies
func (ListPoliciesResponseBodyPolicies) String ¶ added in v3.1.0
func (s ListPoliciesResponseBodyPolicies) String() string
type ListPoliciesResponseBodyPoliciesPolicy ¶ added in v3.1.0
type ListPoliciesResponseBodyPoliciesPolicy struct { // The name of the permission policy. // // example: // // policy_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` }
func (ListPoliciesResponseBodyPoliciesPolicy) GoString ¶ added in v3.1.0
func (s ListPoliciesResponseBodyPoliciesPolicy) GoString() string
func (*ListPoliciesResponseBodyPoliciesPolicy) SetName ¶ added in v3.1.0
func (s *ListPoliciesResponseBodyPoliciesPolicy) SetName(v string) *ListPoliciesResponseBodyPoliciesPolicy
func (ListPoliciesResponseBodyPoliciesPolicy) String ¶ added in v3.1.0
func (s ListPoliciesResponseBodyPoliciesPolicy) String() string
type ListResourceTagsRequest ¶
type ListResourceTagsRequest struct { // The globally unique ID of the CMK. // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` }
func (ListResourceTagsRequest) GoString ¶
func (s ListResourceTagsRequest) GoString() string
func (*ListResourceTagsRequest) SetKeyId ¶
func (s *ListResourceTagsRequest) SetKeyId(v string) *ListResourceTagsRequest
func (ListResourceTagsRequest) String ¶
func (s ListResourceTagsRequest) String() string
type ListResourceTagsResponse ¶
type ListResourceTagsResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListResourceTagsResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListResourceTagsResponse) GoString ¶
func (s ListResourceTagsResponse) GoString() string
func (*ListResourceTagsResponse) SetBody ¶
func (s *ListResourceTagsResponse) SetBody(v *ListResourceTagsResponseBody) *ListResourceTagsResponse
func (*ListResourceTagsResponse) SetHeaders ¶
func (s *ListResourceTagsResponse) SetHeaders(v map[string]*string) *ListResourceTagsResponse
func (*ListResourceTagsResponse) SetStatusCode ¶
func (s *ListResourceTagsResponse) SetStatusCode(v int32) *ListResourceTagsResponse
func (ListResourceTagsResponse) String ¶
func (s ListResourceTagsResponse) String() string
type ListResourceTagsResponseBody ¶
type ListResourceTagsResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 4162a6af-bc99-40b3-a552-89dcc8aaf7c8 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The tags of the CMK. Tags *ListResourceTagsResponseBodyTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"` }
func (ListResourceTagsResponseBody) GoString ¶
func (s ListResourceTagsResponseBody) GoString() string
func (*ListResourceTagsResponseBody) SetRequestId ¶
func (s *ListResourceTagsResponseBody) SetRequestId(v string) *ListResourceTagsResponseBody
func (*ListResourceTagsResponseBody) SetTags ¶
func (s *ListResourceTagsResponseBody) SetTags(v *ListResourceTagsResponseBodyTags) *ListResourceTagsResponseBody
func (ListResourceTagsResponseBody) String ¶
func (s ListResourceTagsResponseBody) String() string
type ListResourceTagsResponseBodyTags ¶
type ListResourceTagsResponseBodyTags struct {
Tag []*ListResourceTagsResponseBodyTagsTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}
func (ListResourceTagsResponseBodyTags) GoString ¶
func (s ListResourceTagsResponseBodyTags) GoString() string
func (*ListResourceTagsResponseBodyTags) SetTag ¶
func (s *ListResourceTagsResponseBodyTags) SetTag(v []*ListResourceTagsResponseBodyTagsTag) *ListResourceTagsResponseBodyTags
func (ListResourceTagsResponseBodyTags) String ¶
func (s ListResourceTagsResponseBodyTags) String() string
type ListResourceTagsResponseBodyTagsTag ¶
type ListResourceTagsResponseBodyTagsTag struct { // The globally unique ID of the CMK. // // example: // // 33caea95-c3e5-4b3e-a9c6-cec76e4e**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The tag key. // // example: // // Project TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"` // The tag value. // // example: // // Test TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"` }
func (ListResourceTagsResponseBodyTagsTag) GoString ¶
func (s ListResourceTagsResponseBodyTagsTag) GoString() string
func (*ListResourceTagsResponseBodyTagsTag) SetKeyId ¶
func (s *ListResourceTagsResponseBodyTagsTag) SetKeyId(v string) *ListResourceTagsResponseBodyTagsTag
func (*ListResourceTagsResponseBodyTagsTag) SetTagKey ¶
func (s *ListResourceTagsResponseBodyTagsTag) SetTagKey(v string) *ListResourceTagsResponseBodyTagsTag
func (*ListResourceTagsResponseBodyTagsTag) SetTagValue ¶
func (s *ListResourceTagsResponseBodyTagsTag) SetTagValue(v string) *ListResourceTagsResponseBodyTagsTag
func (ListResourceTagsResponseBodyTagsTag) String ¶
func (s ListResourceTagsResponseBodyTagsTag) String() string
type ListSecretVersionIdsRequest ¶
type ListSecretVersionIdsRequest struct { // Specifies whether to return deprecated secret versions. // // Valid values: // // - false: no // // - true: yes // // Default value: false. // // example: // // false IncludeDeprecated *string `json:"IncludeDeprecated,omitempty" xml:"IncludeDeprecated,omitempty"` // The number of the page to return. Default value: 1. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of entries to return on each page. Default value: 10. // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` // The name of the secret. // // This parameter is required. // // example: // // secret001 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` }
func (ListSecretVersionIdsRequest) GoString ¶
func (s ListSecretVersionIdsRequest) GoString() string
func (*ListSecretVersionIdsRequest) SetIncludeDeprecated ¶
func (s *ListSecretVersionIdsRequest) SetIncludeDeprecated(v string) *ListSecretVersionIdsRequest
func (*ListSecretVersionIdsRequest) SetPageNumber ¶
func (s *ListSecretVersionIdsRequest) SetPageNumber(v int32) *ListSecretVersionIdsRequest
func (*ListSecretVersionIdsRequest) SetPageSize ¶
func (s *ListSecretVersionIdsRequest) SetPageSize(v int32) *ListSecretVersionIdsRequest
func (*ListSecretVersionIdsRequest) SetSecretName ¶
func (s *ListSecretVersionIdsRequest) SetSecretName(v string) *ListSecretVersionIdsRequest
func (ListSecretVersionIdsRequest) String ¶
func (s ListSecretVersionIdsRequest) String() string
type ListSecretVersionIdsResponse ¶
type ListSecretVersionIdsResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListSecretVersionIdsResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListSecretVersionIdsResponse) GoString ¶
func (s ListSecretVersionIdsResponse) GoString() string
func (*ListSecretVersionIdsResponse) SetBody ¶
func (s *ListSecretVersionIdsResponse) SetBody(v *ListSecretVersionIdsResponseBody) *ListSecretVersionIdsResponse
func (*ListSecretVersionIdsResponse) SetHeaders ¶
func (s *ListSecretVersionIdsResponse) SetHeaders(v map[string]*string) *ListSecretVersionIdsResponse
func (*ListSecretVersionIdsResponse) SetStatusCode ¶
func (s *ListSecretVersionIdsResponse) SetStatusCode(v int32) *ListSecretVersionIdsResponse
func (ListSecretVersionIdsResponse) String ¶
func (s ListSecretVersionIdsResponse) String() string
type ListSecretVersionIdsResponseBody ¶
type ListSecretVersionIdsResponseBody struct { // The page number of the returned page. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of entries returned per page. // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 5b75d8b1-5b6a-4ec0-8e0c-c08befdfad47 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The name of the secret. // // example: // // secret001 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` // The number of entries returned on the current page. // // example: // // 4 TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` // The list of secret versions. VersionIds *ListSecretVersionIdsResponseBodyVersionIds `json:"VersionIds,omitempty" xml:"VersionIds,omitempty" type:"Struct"` }
func (ListSecretVersionIdsResponseBody) GoString ¶
func (s ListSecretVersionIdsResponseBody) GoString() string
func (*ListSecretVersionIdsResponseBody) SetPageNumber ¶
func (s *ListSecretVersionIdsResponseBody) SetPageNumber(v int32) *ListSecretVersionIdsResponseBody
func (*ListSecretVersionIdsResponseBody) SetPageSize ¶
func (s *ListSecretVersionIdsResponseBody) SetPageSize(v int32) *ListSecretVersionIdsResponseBody
func (*ListSecretVersionIdsResponseBody) SetRequestId ¶
func (s *ListSecretVersionIdsResponseBody) SetRequestId(v string) *ListSecretVersionIdsResponseBody
func (*ListSecretVersionIdsResponseBody) SetSecretName ¶
func (s *ListSecretVersionIdsResponseBody) SetSecretName(v string) *ListSecretVersionIdsResponseBody
func (*ListSecretVersionIdsResponseBody) SetTotalCount ¶
func (s *ListSecretVersionIdsResponseBody) SetTotalCount(v int32) *ListSecretVersionIdsResponseBody
func (*ListSecretVersionIdsResponseBody) SetVersionIds ¶
func (s *ListSecretVersionIdsResponseBody) SetVersionIds(v *ListSecretVersionIdsResponseBodyVersionIds) *ListSecretVersionIdsResponseBody
func (ListSecretVersionIdsResponseBody) String ¶
func (s ListSecretVersionIdsResponseBody) String() string
type ListSecretVersionIdsResponseBodyVersionIds ¶
type ListSecretVersionIdsResponseBodyVersionIds struct {
VersionId []*ListSecretVersionIdsResponseBodyVersionIdsVersionId `json:"VersionId,omitempty" xml:"VersionId,omitempty" type:"Repeated"`
}
func (ListSecretVersionIdsResponseBodyVersionIds) GoString ¶
func (s ListSecretVersionIdsResponseBodyVersionIds) GoString() string
func (*ListSecretVersionIdsResponseBodyVersionIds) SetVersionId ¶
func (ListSecretVersionIdsResponseBodyVersionIds) String ¶
func (s ListSecretVersionIdsResponseBodyVersionIds) String() string
type ListSecretVersionIdsResponseBodyVersionIdsVersionId ¶
type ListSecretVersionIdsResponseBodyVersionIdsVersionId struct { // The time when the secret version was created. // // example: // // 2020-02-21T15:39:26Z CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` // The version number. // // example: // // 00000000000000000000000000000000203 VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"` // The stage labels that mark the secret version. VersionStages *ListSecretVersionIdsResponseBodyVersionIdsVersionIdVersionStages `json:"VersionStages,omitempty" xml:"VersionStages,omitempty" type:"Struct"` }
func (ListSecretVersionIdsResponseBodyVersionIdsVersionId) GoString ¶
func (s ListSecretVersionIdsResponseBodyVersionIdsVersionId) GoString() string
func (*ListSecretVersionIdsResponseBodyVersionIdsVersionId) SetCreateTime ¶
func (s *ListSecretVersionIdsResponseBodyVersionIdsVersionId) SetCreateTime(v string) *ListSecretVersionIdsResponseBodyVersionIdsVersionId
func (*ListSecretVersionIdsResponseBodyVersionIdsVersionId) SetVersionId ¶
func (s *ListSecretVersionIdsResponseBodyVersionIdsVersionId) SetVersionId(v string) *ListSecretVersionIdsResponseBodyVersionIdsVersionId
func (*ListSecretVersionIdsResponseBodyVersionIdsVersionId) SetVersionStages ¶
func (ListSecretVersionIdsResponseBodyVersionIdsVersionId) String ¶
func (s ListSecretVersionIdsResponseBodyVersionIdsVersionId) String() string
type ListSecretVersionIdsResponseBodyVersionIdsVersionIdVersionStages ¶
type ListSecretVersionIdsResponseBodyVersionIdsVersionIdVersionStages struct {
VersionStage []*string `json:"VersionStage,omitempty" xml:"VersionStage,omitempty" type:"Repeated"`
}
func (ListSecretVersionIdsResponseBodyVersionIdsVersionIdVersionStages) GoString ¶
func (s ListSecretVersionIdsResponseBodyVersionIdsVersionIdVersionStages) GoString() string
func (*ListSecretVersionIdsResponseBodyVersionIdsVersionIdVersionStages) SetVersionStage ¶
func (s *ListSecretVersionIdsResponseBodyVersionIdsVersionIdVersionStages) SetVersionStage(v []*string) *ListSecretVersionIdsResponseBodyVersionIdsVersionIdVersionStages
func (ListSecretVersionIdsResponseBodyVersionIdsVersionIdVersionStages) String ¶
func (s ListSecretVersionIdsResponseBodyVersionIdsVersionIdVersionStages) String() string
type ListSecretsRequest ¶
type ListSecretsRequest struct { // The number of entries to return on each page. // // Valid values: 1 to 100. // // Default value: 10. // // example: // // false FetchTags *string `json:"FetchTags,omitempty" xml:"FetchTags,omitempty"` // The number of entries returned per page. // // example: // // [{"Key":"SecretName", "Values":["Val1","Val2"]}] Filters *string `json:"Filters,omitempty" xml:"Filters,omitempty"` // The secret filter. The filter consists of one or more key-value pairs. You can specify one key-value pair or leave this parameter empty. If you use one tag key or tag value to filter resources, up to 4,000 resources can be queried. If you want to query more than 4,000 resources, call the [ListResourceTags](https://help.aliyun.com/document_detail/120090.html) operation. // // - Key // // - Description: the property that you want to filter. // // - Type: string. // // - Valid values: // // - SecretName: the secret name. // // - Description: the description of the secret. // // - TagKey: the tag key. // // - TagValue: the tag value. // // - Values // // - Description: the value to be included after filtering. // // - Type: string. // // - Length: 0 to 10. // // - Valid values: // // - If the Key field is set to SecretName, the value must be 1 to 192 characters in length and can contain letters, digits, and special characters `_ / + = . @ -`. // // - If the Key field is set to Description, the value must be 1 to 256 characters in length. // // - If the Key field is set to TagKey, the value must be 1 to 256 characters in length and can contain letters, digits, and special characters `/ _ - . + = @ :`. // // - If the Key field is set to TagValue, the value must be 1 to 256 characters in length and can contain letters, numbers, and special characters `/ _ - . + = @ :`. // // The logical relationship between values of the Values field in a key-value pair is OR. Example: `[ {"Key":"SecretName", "Values":["sec1","sec2"]}]`. In this example, the semantics are `SecretName=sec 1 OR SecretName=sec 2`. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The page number of the returned page. // // example: // // 2 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` }
func (ListSecretsRequest) GoString ¶
func (s ListSecretsRequest) GoString() string
func (*ListSecretsRequest) SetFetchTags ¶
func (s *ListSecretsRequest) SetFetchTags(v string) *ListSecretsRequest
func (*ListSecretsRequest) SetFilters ¶
func (s *ListSecretsRequest) SetFilters(v string) *ListSecretsRequest
func (*ListSecretsRequest) SetPageNumber ¶
func (s *ListSecretsRequest) SetPageNumber(v int32) *ListSecretsRequest
func (*ListSecretsRequest) SetPageSize ¶
func (s *ListSecretsRequest) SetPageSize(v int32) *ListSecretsRequest
func (ListSecretsRequest) String ¶
func (s ListSecretsRequest) String() string
type ListSecretsResponse ¶
type ListSecretsResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListSecretsResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListSecretsResponse) GoString ¶
func (s ListSecretsResponse) GoString() string
func (*ListSecretsResponse) SetBody ¶
func (s *ListSecretsResponse) SetBody(v *ListSecretsResponseBody) *ListSecretsResponse
func (*ListSecretsResponse) SetHeaders ¶
func (s *ListSecretsResponse) SetHeaders(v map[string]*string) *ListSecretsResponse
func (*ListSecretsResponse) SetStatusCode ¶
func (s *ListSecretsResponse) SetStatusCode(v int32) *ListSecretsResponse
func (ListSecretsResponse) String ¶
func (s ListSecretsResponse) String() string
type ListSecretsResponseBody ¶
type ListSecretsResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 1 PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` // The number of returned secrets. // // example: // // 2 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` // The list of secrets. // // example: // // 6a6287a0-ff34-4780-a790-fdfca900557f RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The time when the secret was updated. SecretList *ListSecretsResponseBodySecretList `json:"SecretList,omitempty" xml:"SecretList,omitempty" type:"Struct"` // The secret name. // // example: // // 55 TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` }
func (ListSecretsResponseBody) GoString ¶
func (s ListSecretsResponseBody) GoString() string
func (*ListSecretsResponseBody) SetPageNumber ¶
func (s *ListSecretsResponseBody) SetPageNumber(v int32) *ListSecretsResponseBody
func (*ListSecretsResponseBody) SetPageSize ¶
func (s *ListSecretsResponseBody) SetPageSize(v int32) *ListSecretsResponseBody
func (*ListSecretsResponseBody) SetRequestId ¶
func (s *ListSecretsResponseBody) SetRequestId(v string) *ListSecretsResponseBody
func (*ListSecretsResponseBody) SetSecretList ¶
func (s *ListSecretsResponseBody) SetSecretList(v *ListSecretsResponseBodySecretList) *ListSecretsResponseBody
func (*ListSecretsResponseBody) SetTotalCount ¶
func (s *ListSecretsResponseBody) SetTotalCount(v int32) *ListSecretsResponseBody
func (ListSecretsResponseBody) String ¶
func (s ListSecretsResponseBody) String() string
type ListSecretsResponseBodySecretList ¶
type ListSecretsResponseBodySecretList struct {
Secret []*ListSecretsResponseBodySecretListSecret `json:"Secret,omitempty" xml:"Secret,omitempty" type:"Repeated"`
}
func (ListSecretsResponseBodySecretList) GoString ¶
func (s ListSecretsResponseBodySecretList) GoString() string
func (*ListSecretsResponseBodySecretList) SetSecret ¶
func (s *ListSecretsResponseBodySecretList) SetSecret(v []*ListSecretsResponseBodySecretListSecret) *ListSecretsResponseBodySecretList
func (ListSecretsResponseBodySecretList) String ¶
func (s ListSecretsResponseBodySecretList) String() string
type ListSecretsResponseBodySecretListSecret ¶
type ListSecretsResponseBodySecretListSecret struct { // The tag value. // // example: // // 2022-07-17T07:59:05Z CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` // The resource tags of the secret. // // This parameter is not returned if you set the FetchTags parameter to false or do not specify the FetchTags parameter. // // example: // // 2022-08-17T07:59:05Z PlannedDeleteTime *string `json:"PlannedDeleteTime,omitempty" xml:"PlannedDeleteTime,omitempty"` // The type of the secret. Valid values: // // - Generic: indicates a generic secret. // // - Rds: indicates a managed ApsaraDB RDS secret. // // example: // // secret001 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` // The time when the secret was created. // // example: // // Generic SecretType *string `json:"SecretType,omitempty" xml:"SecretType,omitempty"` // The tag key. Tags *ListSecretsResponseBodySecretListSecretTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"` // The time when the secret is scheduled to be deleted. // // example: // // 2022-07-17T07:59:05Z UpdateTime *string `json:"UpdateTime,omitempty" xml:"UpdateTime,omitempty"` }
func (ListSecretsResponseBodySecretListSecret) GoString ¶
func (s ListSecretsResponseBodySecretListSecret) GoString() string
func (*ListSecretsResponseBodySecretListSecret) SetCreateTime ¶
func (s *ListSecretsResponseBodySecretListSecret) SetCreateTime(v string) *ListSecretsResponseBodySecretListSecret
func (*ListSecretsResponseBodySecretListSecret) SetPlannedDeleteTime ¶
func (s *ListSecretsResponseBodySecretListSecret) SetPlannedDeleteTime(v string) *ListSecretsResponseBodySecretListSecret
func (*ListSecretsResponseBodySecretListSecret) SetSecretName ¶
func (s *ListSecretsResponseBodySecretListSecret) SetSecretName(v string) *ListSecretsResponseBodySecretListSecret
func (*ListSecretsResponseBodySecretListSecret) SetSecretType ¶
func (s *ListSecretsResponseBodySecretListSecret) SetSecretType(v string) *ListSecretsResponseBodySecretListSecret
func (*ListSecretsResponseBodySecretListSecret) SetUpdateTime ¶
func (s *ListSecretsResponseBodySecretListSecret) SetUpdateTime(v string) *ListSecretsResponseBodySecretListSecret
func (ListSecretsResponseBodySecretListSecret) String ¶
func (s ListSecretsResponseBodySecretListSecret) String() string
type ListSecretsResponseBodySecretListSecretTags ¶
type ListSecretsResponseBodySecretListSecretTags struct {
Tag []*ListSecretsResponseBodySecretListSecretTagsTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}
func (ListSecretsResponseBodySecretListSecretTags) GoString ¶
func (s ListSecretsResponseBodySecretListSecretTags) GoString() string
func (ListSecretsResponseBodySecretListSecretTags) String ¶
func (s ListSecretsResponseBodySecretListSecretTags) String() string
type ListSecretsResponseBodySecretListSecretTagsTag ¶
type ListSecretsResponseBodySecretListSecretTagsTag struct { // example: // // key1 TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"` // example: // // val1 TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"` }
func (ListSecretsResponseBodySecretListSecretTagsTag) GoString ¶
func (s ListSecretsResponseBodySecretListSecretTagsTag) GoString() string
func (*ListSecretsResponseBodySecretListSecretTagsTag) SetTagKey ¶
func (s *ListSecretsResponseBodySecretListSecretTagsTag) SetTagKey(v string) *ListSecretsResponseBodySecretListSecretTagsTag
func (*ListSecretsResponseBodySecretListSecretTagsTag) SetTagValue ¶
func (s *ListSecretsResponseBodySecretListSecretTagsTag) SetTagValue(v string) *ListSecretsResponseBodySecretListSecretTagsTag
func (ListSecretsResponseBodySecretListSecretTagsTag) String ¶
func (s ListSecretsResponseBodySecretListSecretTagsTag) String() string
type ListTagResourcesRequest ¶ added in v3.0.2
type ListTagResourcesRequest struct { // The pagination token that is used in the next request to retrieve a new page of results. // // > If the call does not return all result entries, the value of the NextToken parameter is returned. By default, 200 rows are returned. You can call this operation again and set the value of the parameter to the value of the parameter that is returned in the last call to implement paged query. // // example: // // caeba0bbb2be03f84eb48b699f0a4883 NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"` // The region ID of the resource. // // > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/601478.html) to query the most recent region list. // // This parameter is required. // // example: // // cn-hangzhou RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` // A list of resource IDs for which you want to query tags. You can enter a maximum of 50 resource IDs. // // Enter multiple resource IDs in the `["ResourceId. 1","ResourceId. 2",...]` format. ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"` // The type of resource whose tags you want to query. Valid value: // // - key // // - secret // // This parameter is required. // // example: // // key ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"` // A list of tags that you want to query. Valid values of N: 1 to 20. Tag []*ListTagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"` }
func (ListTagResourcesRequest) GoString ¶ added in v3.0.2
func (s ListTagResourcesRequest) GoString() string
func (*ListTagResourcesRequest) SetNextToken ¶ added in v3.0.2
func (s *ListTagResourcesRequest) SetNextToken(v string) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetRegionId ¶ added in v3.0.2
func (s *ListTagResourcesRequest) SetRegionId(v string) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetResourceId ¶ added in v3.0.2
func (s *ListTagResourcesRequest) SetResourceId(v []*string) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetResourceType ¶ added in v3.0.2
func (s *ListTagResourcesRequest) SetResourceType(v string) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetTag ¶ added in v3.0.2
func (s *ListTagResourcesRequest) SetTag(v []*ListTagResourcesRequestTag) *ListTagResourcesRequest
func (ListTagResourcesRequest) String ¶ added in v3.0.2
func (s ListTagResourcesRequest) String() string
type ListTagResourcesRequestTag ¶ added in v3.0.2
type ListTagResourcesRequestTag struct { // The key of the tag. A tag consists of a key-value pair. // // You can enter up to 20 tags. Enter multiple tags in the `[{"Key":"key1","Value":"value1"},{"Key":"key2","Value":"value2"},..]` format. // // > The key cannot start with aliyun or acs:. // // example: // // disk-encryption Key *string `json:"Key,omitempty" xml:"Key,omitempty"` // The value of the tag. A tag consists of a key-value pair. // // You can enter up to 20 tags. Enter multiple tags in the `[{"Key":"key1","Value":"value1"},{"Key":"key2","Value":"value2"},..]` format. // // example: // // true Value *string `json:"Value,omitempty" xml:"Value,omitempty"` }
func (ListTagResourcesRequestTag) GoString ¶ added in v3.0.2
func (s ListTagResourcesRequestTag) GoString() string
func (*ListTagResourcesRequestTag) SetKey ¶ added in v3.0.2
func (s *ListTagResourcesRequestTag) SetKey(v string) *ListTagResourcesRequestTag
func (*ListTagResourcesRequestTag) SetValue ¶ added in v3.0.2
func (s *ListTagResourcesRequestTag) SetValue(v string) *ListTagResourcesRequestTag
func (ListTagResourcesRequestTag) String ¶ added in v3.0.2
func (s ListTagResourcesRequestTag) String() string
type ListTagResourcesResponse ¶ added in v3.0.2
type ListTagResourcesResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListTagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListTagResourcesResponse) GoString ¶ added in v3.0.2
func (s ListTagResourcesResponse) GoString() string
func (*ListTagResourcesResponse) SetBody ¶ added in v3.0.2
func (s *ListTagResourcesResponse) SetBody(v *ListTagResourcesResponseBody) *ListTagResourcesResponse
func (*ListTagResourcesResponse) SetHeaders ¶ added in v3.0.2
func (s *ListTagResourcesResponse) SetHeaders(v map[string]*string) *ListTagResourcesResponse
func (*ListTagResourcesResponse) SetStatusCode ¶ added in v3.0.2
func (s *ListTagResourcesResponse) SetStatusCode(v int32) *ListTagResourcesResponse
func (ListTagResourcesResponse) String ¶ added in v3.0.2
func (s ListTagResourcesResponse) String() string
type ListTagResourcesResponseBody ¶ added in v3.0.2
type ListTagResourcesResponseBody struct { // A pagination token. It can be used in the next request to retrieve a new page of results. // // - If NextToken is empty ("NextToken": ""), no next page exists. // // - If NextToken is not empty, the next query is required, and the value is the token used to start the next query. // // example: // // e71d8a535bd9cc11 NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"` // The request ID. // // example: // // 00827261-20B7-4562-83F2-4DF39876A45A RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // A list of tags. TagResources *ListTagResourcesResponseBodyTagResources `json:"TagResources,omitempty" xml:"TagResources,omitempty" type:"Struct"` }
func (ListTagResourcesResponseBody) GoString ¶ added in v3.0.2
func (s ListTagResourcesResponseBody) GoString() string
func (*ListTagResourcesResponseBody) SetNextToken ¶ added in v3.0.2
func (s *ListTagResourcesResponseBody) SetNextToken(v string) *ListTagResourcesResponseBody
func (*ListTagResourcesResponseBody) SetRequestId ¶ added in v3.0.2
func (s *ListTagResourcesResponseBody) SetRequestId(v string) *ListTagResourcesResponseBody
func (*ListTagResourcesResponseBody) SetTagResources ¶ added in v3.0.2
func (s *ListTagResourcesResponseBody) SetTagResources(v *ListTagResourcesResponseBodyTagResources) *ListTagResourcesResponseBody
func (ListTagResourcesResponseBody) String ¶ added in v3.0.2
func (s ListTagResourcesResponseBody) String() string
type ListTagResourcesResponseBodyTagResources ¶ added in v3.0.2
type ListTagResourcesResponseBodyTagResources struct {
TagResource []*ListTagResourcesResponseBodyTagResourcesTagResource `json:"TagResource,omitempty" xml:"TagResource,omitempty" type:"Repeated"`
}
func (ListTagResourcesResponseBodyTagResources) GoString ¶ added in v3.0.2
func (s ListTagResourcesResponseBodyTagResources) GoString() string
func (*ListTagResourcesResponseBodyTagResources) SetTagResource ¶ added in v3.0.2
func (s *ListTagResourcesResponseBodyTagResources) SetTagResource(v []*ListTagResourcesResponseBodyTagResourcesTagResource) *ListTagResourcesResponseBodyTagResources
func (ListTagResourcesResponseBodyTagResources) String ¶ added in v3.0.2
func (s ListTagResourcesResponseBodyTagResources) String() string
type ListTagResourcesResponseBodyTagResourcesTagResource ¶ added in v3.0.2
type ListTagResourcesResponseBodyTagResourcesTagResource struct { // The resource ID. // // example: // // key-hzz62f1cb66fa42qo**** ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"` // The type of the resource. // // example: // // key ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"` // The key of the tag. // // example: // // disk-encryption TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"` // The value of the tag. // // example: // // true TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"` }
func (ListTagResourcesResponseBodyTagResourcesTagResource) GoString ¶ added in v3.0.2
func (s ListTagResourcesResponseBodyTagResourcesTagResource) GoString() string
func (*ListTagResourcesResponseBodyTagResourcesTagResource) SetResourceId ¶ added in v3.0.2
func (s *ListTagResourcesResponseBodyTagResourcesTagResource) SetResourceId(v string) *ListTagResourcesResponseBodyTagResourcesTagResource
func (*ListTagResourcesResponseBodyTagResourcesTagResource) SetResourceType ¶ added in v3.0.2
func (s *ListTagResourcesResponseBodyTagResourcesTagResource) SetResourceType(v string) *ListTagResourcesResponseBodyTagResourcesTagResource
func (*ListTagResourcesResponseBodyTagResourcesTagResource) SetTagValue ¶ added in v3.0.2
func (s *ListTagResourcesResponseBodyTagResourcesTagResource) SetTagValue(v string) *ListTagResourcesResponseBodyTagResourcesTagResource
func (ListTagResourcesResponseBodyTagResourcesTagResource) String ¶ added in v3.0.2
func (s ListTagResourcesResponseBodyTagResourcesTagResource) String() string
type OpenKmsServiceResponse ¶
type OpenKmsServiceResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *OpenKmsServiceResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (OpenKmsServiceResponse) GoString ¶
func (s OpenKmsServiceResponse) GoString() string
func (*OpenKmsServiceResponse) SetBody ¶
func (s *OpenKmsServiceResponse) SetBody(v *OpenKmsServiceResponseBody) *OpenKmsServiceResponse
func (*OpenKmsServiceResponse) SetHeaders ¶
func (s *OpenKmsServiceResponse) SetHeaders(v map[string]*string) *OpenKmsServiceResponse
func (*OpenKmsServiceResponse) SetStatusCode ¶
func (s *OpenKmsServiceResponse) SetStatusCode(v int32) *OpenKmsServiceResponse
func (OpenKmsServiceResponse) String ¶
func (s OpenKmsServiceResponse) String() string
type OpenKmsServiceResponseBody ¶
type OpenKmsServiceResponseBody struct { // The ID of the request. // // example: // // 3455b9b4-95c1-419d-b310-db6a53b09a39 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (OpenKmsServiceResponseBody) GoString ¶
func (s OpenKmsServiceResponseBody) GoString() string
func (*OpenKmsServiceResponseBody) SetRequestId ¶
func (s *OpenKmsServiceResponseBody) SetRequestId(v string) *OpenKmsServiceResponseBody
func (OpenKmsServiceResponseBody) String ¶
func (s OpenKmsServiceResponseBody) String() string
type PutSecretValueRequest ¶
type PutSecretValueRequest struct { // The secret value. The value is encrypted and then stored in the new version. // // This parameter is required. // // example: // // importantdata SecretData *string `json:"SecretData,omitempty" xml:"SecretData,omitempty"` // The type of the secret value. Valid values: // // - text: This is the default value. // // - binary // // example: // // text SecretDataType *string `json:"SecretDataType,omitempty" xml:"SecretDataType,omitempty"` // The name of the secret. // // This parameter is required. // // example: // // secret001 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` // The new version of the secret value. Version numbers must be unique in each secret. // // This parameter is required. // // example: // // 00000000000000000000000000000000203 VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"` // The stage labels that are used to mark the new version. If you do not specify this parameter, Secrets Manager marks the new version with ACSCurrent. // // example: // // ["ACSCurrent","ACSNext"] VersionStages *string `json:"VersionStages,omitempty" xml:"VersionStages,omitempty"` }
func (PutSecretValueRequest) GoString ¶
func (s PutSecretValueRequest) GoString() string
func (*PutSecretValueRequest) SetSecretData ¶
func (s *PutSecretValueRequest) SetSecretData(v string) *PutSecretValueRequest
func (*PutSecretValueRequest) SetSecretDataType ¶
func (s *PutSecretValueRequest) SetSecretDataType(v string) *PutSecretValueRequest
func (*PutSecretValueRequest) SetSecretName ¶
func (s *PutSecretValueRequest) SetSecretName(v string) *PutSecretValueRequest
func (*PutSecretValueRequest) SetVersionId ¶
func (s *PutSecretValueRequest) SetVersionId(v string) *PutSecretValueRequest
func (*PutSecretValueRequest) SetVersionStages ¶
func (s *PutSecretValueRequest) SetVersionStages(v string) *PutSecretValueRequest
func (PutSecretValueRequest) String ¶
func (s PutSecretValueRequest) String() string
type PutSecretValueResponse ¶
type PutSecretValueResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *PutSecretValueResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (PutSecretValueResponse) GoString ¶
func (s PutSecretValueResponse) GoString() string
func (*PutSecretValueResponse) SetBody ¶
func (s *PutSecretValueResponse) SetBody(v *PutSecretValueResponseBody) *PutSecretValueResponse
func (*PutSecretValueResponse) SetHeaders ¶
func (s *PutSecretValueResponse) SetHeaders(v map[string]*string) *PutSecretValueResponse
func (*PutSecretValueResponse) SetStatusCode ¶
func (s *PutSecretValueResponse) SetStatusCode(v int32) *PutSecretValueResponse
func (PutSecretValueResponse) String ¶
func (s PutSecretValueResponse) String() string
type PutSecretValueResponseBody ¶
type PutSecretValueResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // f94ec9d3-2d10-4922-9a5c-5dcd5ebcb5e8 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The name of the secret. // // example: // // secret001 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` // The new version of the secret value. // // example: // // 00000000000000000000000000000000203 VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"` // The stage labels that are used to mark the new version. VersionStages *PutSecretValueResponseBodyVersionStages `json:"VersionStages,omitempty" xml:"VersionStages,omitempty" type:"Struct"` }
func (PutSecretValueResponseBody) GoString ¶
func (s PutSecretValueResponseBody) GoString() string
func (*PutSecretValueResponseBody) SetRequestId ¶
func (s *PutSecretValueResponseBody) SetRequestId(v string) *PutSecretValueResponseBody
func (*PutSecretValueResponseBody) SetSecretName ¶
func (s *PutSecretValueResponseBody) SetSecretName(v string) *PutSecretValueResponseBody
func (*PutSecretValueResponseBody) SetVersionId ¶
func (s *PutSecretValueResponseBody) SetVersionId(v string) *PutSecretValueResponseBody
func (*PutSecretValueResponseBody) SetVersionStages ¶
func (s *PutSecretValueResponseBody) SetVersionStages(v *PutSecretValueResponseBodyVersionStages) *PutSecretValueResponseBody
func (PutSecretValueResponseBody) String ¶
func (s PutSecretValueResponseBody) String() string
type PutSecretValueResponseBodyVersionStages ¶
type PutSecretValueResponseBodyVersionStages struct {
VersionStage []*string `json:"VersionStage,omitempty" xml:"VersionStage,omitempty" type:"Repeated"`
}
func (PutSecretValueResponseBodyVersionStages) GoString ¶
func (s PutSecretValueResponseBodyVersionStages) GoString() string
func (*PutSecretValueResponseBodyVersionStages) SetVersionStage ¶
func (s *PutSecretValueResponseBodyVersionStages) SetVersionStage(v []*string) *PutSecretValueResponseBodyVersionStages
func (PutSecretValueResponseBodyVersionStages) String ¶
func (s PutSecretValueResponseBodyVersionStages) String() string
type ReEncryptRequest ¶
type ReEncryptRequest struct { // The ciphertext that you want to re-encrypt. // // You can set this parameter to the ciphertext that is returned after a symmetric or asymmetric encryption operation. // // - Symmetric encryption: the ciphertext returned after you call the [Encrypt](https://help.aliyun.com/document_detail/28949.html), [GenerateDataKey](https://help.aliyun.com/document_detail/28948.html), [GenerateDataKeyWithoutPlaintext](https://help.aliyun.com/document_detail/134043.html), or [GenerateAndExportDataKey](https://help.aliyun.com/document_detail/176804.html) operation // // - Asymmetric encryption: the public key-encrypted ciphertext returned after you call the [GenerateAndExportDataKey](https://help.aliyun.com/document_detail/176804.html) operation, or the ciphertext encrypted by using the public key of an asymmetric key pair outside KMS // // This parameter is required. // // example: // // ODZhOWVmZDktM2QxNi00ODk0LWJkNGYtMWZjNDNmM2YyYWJmS7FmDBBQ0BkKsQrtRnidtPwirmDcS0ZuJCU41xxAAWk4Z8qsADfbV0b+i6kQmlvj79dJdGOvtX69Uycs901q******** CiphertextBlob *string `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` // A JSON string that consists of key-value pairs. This parameter specifies the EncryptionContext that is used to re-encrypt the decrypted data or data key. // // example: // // {"Example":"Example"} DestinationEncryptionContext map[string]interface{} `json:"DestinationEncryptionContext,omitempty" xml:"DestinationEncryptionContext,omitempty"` // The ID of the symmetric CMK that is used to re-encrypt the ciphertext after the ciphertext is decrypted. // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** DestinationKeyId *string `json:"DestinationKeyId,omitempty" xml:"DestinationKeyId,omitempty"` DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // The encryption algorithm based on which the public key is used to encrypt the ciphertext specified by CiphertextBlob. For more information about encryption algorithms, see [AsymmetricDecrypt](https://help.aliyun.com/document_detail/148130.html). // // Valid values: // // - RSAES_OAEP_SHA_256 // // - RSAES_OAEP_SHA_1 // // - SM2PKE // // > If you set CiphertextBlob to the public key-encrypted ciphertext that is returned after an asymmetric encryption operation, specify this parameter. // // example: // // RSAES_OAEP_SHA_256 SourceEncryptionAlgorithm *string `json:"SourceEncryptionAlgorithm,omitempty" xml:"SourceEncryptionAlgorithm,omitempty"` // A JSON string that consists of key-value pairs. If you specify EncryptionContext when you call the [Encrypt](https://help.aliyun.com/document_detail/28949.html), [GenerateDataKey](https://help.aliyun.com/document_detail/28948.html), [GenerateDataKeyWithoutPlaintext](https://help.aliyun.com/document_detail/134043.html), or [GenerateAndExportDataKey](https://help.aliyun.com/document_detail/176804.html) operation to encrypt the data or data key, an equivalent value is required here. For more information, see [EncryptionContext](https://help.aliyun.com/document_detail/42975.html). // // > If you set CiphertextBlob to the ciphertext that is returned after a symmetric encryption operation, specify this parameter. // // example: // // {"Example":"Example"} SourceEncryptionContext map[string]interface{} `json:"SourceEncryptionContext,omitempty" xml:"SourceEncryptionContext,omitempty"` // The ID of the CMK that is used to decrypt the ciphertext. // // This parameter is the globally unique ID of the CMK. // // > If you set CiphertextBlob to the public key-encrypted ciphertext that is returned after an asymmetric encryption operation, specify this parameter. // // example: // // 5c438b18-05be-40ad-b6c2-3be6752c**** SourceKeyId *string `json:"SourceKeyId,omitempty" xml:"SourceKeyId,omitempty"` // The ID of the CMK version that is used to decrypt the ciphertext. // // > If you set CiphertextBlob to the public key-encrypted ciphertext that is returned after an asymmetric encryption operation, specify this parameter. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** SourceKeyVersionId *string `json:"SourceKeyVersionId,omitempty" xml:"SourceKeyVersionId,omitempty"` }
func (ReEncryptRequest) GoString ¶
func (s ReEncryptRequest) GoString() string
func (*ReEncryptRequest) SetCiphertextBlob ¶
func (s *ReEncryptRequest) SetCiphertextBlob(v string) *ReEncryptRequest
func (*ReEncryptRequest) SetDestinationEncryptionContext ¶
func (s *ReEncryptRequest) SetDestinationEncryptionContext(v map[string]interface{}) *ReEncryptRequest
func (*ReEncryptRequest) SetDestinationKeyId ¶
func (s *ReEncryptRequest) SetDestinationKeyId(v string) *ReEncryptRequest
func (*ReEncryptRequest) SetDryRun ¶ added in v3.2.2
func (s *ReEncryptRequest) SetDryRun(v string) *ReEncryptRequest
func (*ReEncryptRequest) SetSourceEncryptionAlgorithm ¶
func (s *ReEncryptRequest) SetSourceEncryptionAlgorithm(v string) *ReEncryptRequest
func (*ReEncryptRequest) SetSourceEncryptionContext ¶
func (s *ReEncryptRequest) SetSourceEncryptionContext(v map[string]interface{}) *ReEncryptRequest
func (*ReEncryptRequest) SetSourceKeyId ¶
func (s *ReEncryptRequest) SetSourceKeyId(v string) *ReEncryptRequest
func (*ReEncryptRequest) SetSourceKeyVersionId ¶
func (s *ReEncryptRequest) SetSourceKeyVersionId(v string) *ReEncryptRequest
func (ReEncryptRequest) String ¶
func (s ReEncryptRequest) String() string
type ReEncryptResponse ¶
type ReEncryptResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ReEncryptResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ReEncryptResponse) GoString ¶
func (s ReEncryptResponse) GoString() string
func (*ReEncryptResponse) SetBody ¶
func (s *ReEncryptResponse) SetBody(v *ReEncryptResponseBody) *ReEncryptResponse
func (*ReEncryptResponse) SetHeaders ¶
func (s *ReEncryptResponse) SetHeaders(v map[string]*string) *ReEncryptResponse
func (*ReEncryptResponse) SetStatusCode ¶
func (s *ReEncryptResponse) SetStatusCode(v int32) *ReEncryptResponse
func (ReEncryptResponse) String ¶
func (s ReEncryptResponse) String() string
type ReEncryptResponseBody ¶
type ReEncryptResponseBody struct { // The ciphertext re-encrypted. // // example: // // DZhOWVmZDktM2QxNi00ODk0LWJkNGYtMWZjNDNmM2YyYWJmaaSl+TztSIMe43nbTH/Z1Wr4XfLftKhAciUmDQXuMRl4WTvKhxjMThjK**** CiphertextBlob *string `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` // The ID of the CMK that is used to decrypt the original ciphertext. // // This parameter is the globally unique ID of the CMK. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The ID of the CMK version that is used to decrypt the original ciphertext. // // example: // // 202b9877-5a25-46e3-a763-e20791b5**** KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // The ID of the request. // // example: // // 207596a2-36d3-4840-b1bd-f87044699bd7 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (ReEncryptResponseBody) GoString ¶
func (s ReEncryptResponseBody) GoString() string
func (*ReEncryptResponseBody) SetCiphertextBlob ¶
func (s *ReEncryptResponseBody) SetCiphertextBlob(v string) *ReEncryptResponseBody
func (*ReEncryptResponseBody) SetKeyId ¶
func (s *ReEncryptResponseBody) SetKeyId(v string) *ReEncryptResponseBody
func (*ReEncryptResponseBody) SetKeyVersionId ¶
func (s *ReEncryptResponseBody) SetKeyVersionId(v string) *ReEncryptResponseBody
func (*ReEncryptResponseBody) SetRequestId ¶
func (s *ReEncryptResponseBody) SetRequestId(v string) *ReEncryptResponseBody
func (ReEncryptResponseBody) String ¶
func (s ReEncryptResponseBody) String() string
type ReEncryptShrinkRequest ¶
type ReEncryptShrinkRequest struct { // The ciphertext that you want to re-encrypt. // // You can set this parameter to the ciphertext that is returned after a symmetric or asymmetric encryption operation. // // - Symmetric encryption: the ciphertext returned after you call the [Encrypt](https://help.aliyun.com/document_detail/28949.html), [GenerateDataKey](https://help.aliyun.com/document_detail/28948.html), [GenerateDataKeyWithoutPlaintext](https://help.aliyun.com/document_detail/134043.html), or [GenerateAndExportDataKey](https://help.aliyun.com/document_detail/176804.html) operation // // - Asymmetric encryption: the public key-encrypted ciphertext returned after you call the [GenerateAndExportDataKey](https://help.aliyun.com/document_detail/176804.html) operation, or the ciphertext encrypted by using the public key of an asymmetric key pair outside KMS // // This parameter is required. // // example: // // ODZhOWVmZDktM2QxNi00ODk0LWJkNGYtMWZjNDNmM2YyYWJmS7FmDBBQ0BkKsQrtRnidtPwirmDcS0ZuJCU41xxAAWk4Z8qsADfbV0b+i6kQmlvj79dJdGOvtX69Uycs901q******** CiphertextBlob *string `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` // A JSON string that consists of key-value pairs. This parameter specifies the EncryptionContext that is used to re-encrypt the decrypted data or data key. // // example: // // {"Example":"Example"} DestinationEncryptionContextShrink *string `json:"DestinationEncryptionContext,omitempty" xml:"DestinationEncryptionContext,omitempty"` // The ID of the symmetric CMK that is used to re-encrypt the ciphertext after the ciphertext is decrypted. // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** DestinationKeyId *string `json:"DestinationKeyId,omitempty" xml:"DestinationKeyId,omitempty"` DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // The encryption algorithm based on which the public key is used to encrypt the ciphertext specified by CiphertextBlob. For more information about encryption algorithms, see [AsymmetricDecrypt](https://help.aliyun.com/document_detail/148130.html). // // Valid values: // // - RSAES_OAEP_SHA_256 // // - RSAES_OAEP_SHA_1 // // - SM2PKE // // > If you set CiphertextBlob to the public key-encrypted ciphertext that is returned after an asymmetric encryption operation, specify this parameter. // // example: // // RSAES_OAEP_SHA_256 SourceEncryptionAlgorithm *string `json:"SourceEncryptionAlgorithm,omitempty" xml:"SourceEncryptionAlgorithm,omitempty"` // A JSON string that consists of key-value pairs. If you specify EncryptionContext when you call the [Encrypt](https://help.aliyun.com/document_detail/28949.html), [GenerateDataKey](https://help.aliyun.com/document_detail/28948.html), [GenerateDataKeyWithoutPlaintext](https://help.aliyun.com/document_detail/134043.html), or [GenerateAndExportDataKey](https://help.aliyun.com/document_detail/176804.html) operation to encrypt the data or data key, an equivalent value is required here. For more information, see [EncryptionContext](https://help.aliyun.com/document_detail/42975.html). // // > If you set CiphertextBlob to the ciphertext that is returned after a symmetric encryption operation, specify this parameter. // // example: // // {"Example":"Example"} SourceEncryptionContextShrink *string `json:"SourceEncryptionContext,omitempty" xml:"SourceEncryptionContext,omitempty"` // The ID of the CMK that is used to decrypt the ciphertext. // // This parameter is the globally unique ID of the CMK. // // > If you set CiphertextBlob to the public key-encrypted ciphertext that is returned after an asymmetric encryption operation, specify this parameter. // // example: // // 5c438b18-05be-40ad-b6c2-3be6752c**** SourceKeyId *string `json:"SourceKeyId,omitempty" xml:"SourceKeyId,omitempty"` // The ID of the CMK version that is used to decrypt the ciphertext. // // > If you set CiphertextBlob to the public key-encrypted ciphertext that is returned after an asymmetric encryption operation, specify this parameter. // // example: // // 2ab1a983-7072-4bbc-a582-584b5bd8**** SourceKeyVersionId *string `json:"SourceKeyVersionId,omitempty" xml:"SourceKeyVersionId,omitempty"` }
func (ReEncryptShrinkRequest) GoString ¶
func (s ReEncryptShrinkRequest) GoString() string
func (*ReEncryptShrinkRequest) SetCiphertextBlob ¶
func (s *ReEncryptShrinkRequest) SetCiphertextBlob(v string) *ReEncryptShrinkRequest
func (*ReEncryptShrinkRequest) SetDestinationEncryptionContextShrink ¶
func (s *ReEncryptShrinkRequest) SetDestinationEncryptionContextShrink(v string) *ReEncryptShrinkRequest
func (*ReEncryptShrinkRequest) SetDestinationKeyId ¶
func (s *ReEncryptShrinkRequest) SetDestinationKeyId(v string) *ReEncryptShrinkRequest
func (*ReEncryptShrinkRequest) SetDryRun ¶ added in v3.2.2
func (s *ReEncryptShrinkRequest) SetDryRun(v string) *ReEncryptShrinkRequest
func (*ReEncryptShrinkRequest) SetSourceEncryptionAlgorithm ¶
func (s *ReEncryptShrinkRequest) SetSourceEncryptionAlgorithm(v string) *ReEncryptShrinkRequest
func (*ReEncryptShrinkRequest) SetSourceEncryptionContextShrink ¶
func (s *ReEncryptShrinkRequest) SetSourceEncryptionContextShrink(v string) *ReEncryptShrinkRequest
func (*ReEncryptShrinkRequest) SetSourceKeyId ¶
func (s *ReEncryptShrinkRequest) SetSourceKeyId(v string) *ReEncryptShrinkRequest
func (*ReEncryptShrinkRequest) SetSourceKeyVersionId ¶
func (s *ReEncryptShrinkRequest) SetSourceKeyVersionId(v string) *ReEncryptShrinkRequest
func (ReEncryptShrinkRequest) String ¶
func (s ReEncryptShrinkRequest) String() string
type RestoreSecretRequest ¶
type RestoreSecretRequest struct { // The name of the secret you want to restore. // // This parameter is required. // // example: // // secret001 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` }
func (RestoreSecretRequest) GoString ¶
func (s RestoreSecretRequest) GoString() string
func (*RestoreSecretRequest) SetSecretName ¶
func (s *RestoreSecretRequest) SetSecretName(v string) *RestoreSecretRequest
func (RestoreSecretRequest) String ¶
func (s RestoreSecretRequest) String() string
type RestoreSecretResponse ¶
type RestoreSecretResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *RestoreSecretResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (RestoreSecretResponse) GoString ¶
func (s RestoreSecretResponse) GoString() string
func (*RestoreSecretResponse) SetBody ¶
func (s *RestoreSecretResponse) SetBody(v *RestoreSecretResponseBody) *RestoreSecretResponse
func (*RestoreSecretResponse) SetHeaders ¶
func (s *RestoreSecretResponse) SetHeaders(v map[string]*string) *RestoreSecretResponse
func (*RestoreSecretResponse) SetStatusCode ¶
func (s *RestoreSecretResponse) SetStatusCode(v int32) *RestoreSecretResponse
func (RestoreSecretResponse) String ¶
func (s RestoreSecretResponse) String() string
type RestoreSecretResponseBody ¶
type RestoreSecretResponseBody struct { // The ID of the request. // // example: // // e4885adf-548f-4ca5-8075-f540bbd3a55f RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The name of the secret. // // example: // // secret001 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` }
func (RestoreSecretResponseBody) GoString ¶
func (s RestoreSecretResponseBody) GoString() string
func (*RestoreSecretResponseBody) SetRequestId ¶
func (s *RestoreSecretResponseBody) SetRequestId(v string) *RestoreSecretResponseBody
func (*RestoreSecretResponseBody) SetSecretName ¶
func (s *RestoreSecretResponseBody) SetSecretName(v string) *RestoreSecretResponseBody
func (RestoreSecretResponseBody) String ¶
func (s RestoreSecretResponseBody) String() string
type RotateSecretRequest ¶
type RotateSecretRequest struct { // The name of the secret. // // This parameter is required. // // example: // // RdsSecret/Mysql5.4/MyCred SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` // The version number of the secret after the secret is rotated. // // > The version number is used to ensure the idempotence of the request. Secrets Manager uses this version number to prevent your application from creating the same version of the secret when the application retries a request. If a version number already exists, Secrets Manager ignores the request for rotation and returns a success message. // // This parameter is required. // // example: // // 000000123 VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"` }
func (RotateSecretRequest) GoString ¶
func (s RotateSecretRequest) GoString() string
func (*RotateSecretRequest) SetSecretName ¶
func (s *RotateSecretRequest) SetSecretName(v string) *RotateSecretRequest
func (*RotateSecretRequest) SetVersionId ¶
func (s *RotateSecretRequest) SetVersionId(v string) *RotateSecretRequest
func (RotateSecretRequest) String ¶
func (s RotateSecretRequest) String() string
type RotateSecretResponse ¶
type RotateSecretResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *RotateSecretResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (RotateSecretResponse) GoString ¶
func (s RotateSecretResponse) GoString() string
func (*RotateSecretResponse) SetBody ¶
func (s *RotateSecretResponse) SetBody(v *RotateSecretResponseBody) *RotateSecretResponse
func (*RotateSecretResponse) SetHeaders ¶
func (s *RotateSecretResponse) SetHeaders(v map[string]*string) *RotateSecretResponse
func (*RotateSecretResponse) SetStatusCode ¶
func (s *RotateSecretResponse) SetStatusCode(v int32) *RotateSecretResponse
func (RotateSecretResponse) String ¶
func (s RotateSecretResponse) String() string
type RotateSecretResponseBody ¶
type RotateSecretResponseBody struct { // The Alibaba Cloud Resource Name (ARN) of the secret. // // example: // // acs:kms:cn-hangzhou:154035569884****:secret/RdsSecret/Mysql5.4/MyCred Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"` // The ID of the request. // // example: // // 10257c86-269d-43aa-aaf3-90ed4144bb7c RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The name of the secret. // // example: // // RdsSecret/Mysql5.4/MyCred SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` // The version number of the secret after the secret is rotated. // // example: // // 000000123 VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"` }
func (RotateSecretResponseBody) GoString ¶
func (s RotateSecretResponseBody) GoString() string
func (*RotateSecretResponseBody) SetArn ¶
func (s *RotateSecretResponseBody) SetArn(v string) *RotateSecretResponseBody
func (*RotateSecretResponseBody) SetRequestId ¶
func (s *RotateSecretResponseBody) SetRequestId(v string) *RotateSecretResponseBody
func (*RotateSecretResponseBody) SetSecretName ¶
func (s *RotateSecretResponseBody) SetSecretName(v string) *RotateSecretResponseBody
func (*RotateSecretResponseBody) SetVersionId ¶
func (s *RotateSecretResponseBody) SetVersionId(v string) *RotateSecretResponseBody
func (RotateSecretResponseBody) String ¶
func (s RotateSecretResponseBody) String() string
type ScheduleKeyDeletionRequest ¶
type ScheduleKeyDeletionRequest struct { // The ID of the customer master key (CMK). The ID must be globally unique. // // This parameter is required. // // example: // // 7906979c-8e06-46a2-be2d-68e3ccbc**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The scheduled period after which the CMK is deleted. During this period, the CMK is in the PendingDeletion state. After this period ends, you cannot cancel the key deletion task. // // Valid values: 7 to 366. // // Unit: days. // // This parameter is required. // // example: // // 7 PendingWindowInDays *int32 `json:"PendingWindowInDays,omitempty" xml:"PendingWindowInDays,omitempty"` }
func (ScheduleKeyDeletionRequest) GoString ¶
func (s ScheduleKeyDeletionRequest) GoString() string
func (*ScheduleKeyDeletionRequest) SetKeyId ¶
func (s *ScheduleKeyDeletionRequest) SetKeyId(v string) *ScheduleKeyDeletionRequest
func (*ScheduleKeyDeletionRequest) SetPendingWindowInDays ¶
func (s *ScheduleKeyDeletionRequest) SetPendingWindowInDays(v int32) *ScheduleKeyDeletionRequest
func (ScheduleKeyDeletionRequest) String ¶
func (s ScheduleKeyDeletionRequest) String() string
type ScheduleKeyDeletionResponse ¶
type ScheduleKeyDeletionResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ScheduleKeyDeletionResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ScheduleKeyDeletionResponse) GoString ¶
func (s ScheduleKeyDeletionResponse) GoString() string
func (*ScheduleKeyDeletionResponse) SetBody ¶
func (s *ScheduleKeyDeletionResponse) SetBody(v *ScheduleKeyDeletionResponseBody) *ScheduleKeyDeletionResponse
func (*ScheduleKeyDeletionResponse) SetHeaders ¶
func (s *ScheduleKeyDeletionResponse) SetHeaders(v map[string]*string) *ScheduleKeyDeletionResponse
func (*ScheduleKeyDeletionResponse) SetStatusCode ¶
func (s *ScheduleKeyDeletionResponse) SetStatusCode(v int32) *ScheduleKeyDeletionResponse
func (ScheduleKeyDeletionResponse) String ¶
func (s ScheduleKeyDeletionResponse) String() string
type ScheduleKeyDeletionResponseBody ¶
type ScheduleKeyDeletionResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 3da5b8cc-8107-40ac-a170-793cd181d7b7 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (ScheduleKeyDeletionResponseBody) GoString ¶
func (s ScheduleKeyDeletionResponseBody) GoString() string
func (*ScheduleKeyDeletionResponseBody) SetRequestId ¶
func (s *ScheduleKeyDeletionResponseBody) SetRequestId(v string) *ScheduleKeyDeletionResponseBody
func (ScheduleKeyDeletionResponseBody) String ¶
func (s ScheduleKeyDeletionResponseBody) String() string
type SetDeletionProtectionRequest ¶
type SetDeletionProtectionRequest struct { // The description of deletion protection. // // > This parameter takes effect only when you set the EnableDeletionProtection parameter to true. // // example: // // This key is being used by XXX service. You are protected from deletion. DeletionProtectionDescription *string `json:"DeletionProtectionDescription,omitempty" xml:"DeletionProtectionDescription,omitempty"` // Specifies whether to enable deletion protection. Valid values: // // - true: enables deletion protection. // // - false: disables deletion protection. // // This parameter is required. // // example: // // true EnableDeletionProtection *bool `json:"EnableDeletionProtection,omitempty" xml:"EnableDeletionProtection,omitempty"` // The ARN of the CMK for which you want to set deletion protection. // // You can call the [DescribeKey](https://help.aliyun.com/document_detail/28952.html) operation to query the CMK ARN. // // This parameter is required. // // example: // // acs:kms:cn-hangzhou:123213123****:key/0225f411-b21d-46d1-be5b-93931c82**** ProtectedResourceArn *string `json:"ProtectedResourceArn,omitempty" xml:"ProtectedResourceArn,omitempty"` }
func (SetDeletionProtectionRequest) GoString ¶
func (s SetDeletionProtectionRequest) GoString() string
func (*SetDeletionProtectionRequest) SetDeletionProtectionDescription ¶
func (s *SetDeletionProtectionRequest) SetDeletionProtectionDescription(v string) *SetDeletionProtectionRequest
func (*SetDeletionProtectionRequest) SetEnableDeletionProtection ¶
func (s *SetDeletionProtectionRequest) SetEnableDeletionProtection(v bool) *SetDeletionProtectionRequest
func (*SetDeletionProtectionRequest) SetProtectedResourceArn ¶
func (s *SetDeletionProtectionRequest) SetProtectedResourceArn(v string) *SetDeletionProtectionRequest
func (SetDeletionProtectionRequest) String ¶
func (s SetDeletionProtectionRequest) String() string
type SetDeletionProtectionResponse ¶
type SetDeletionProtectionResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *SetDeletionProtectionResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (SetDeletionProtectionResponse) GoString ¶
func (s SetDeletionProtectionResponse) GoString() string
func (*SetDeletionProtectionResponse) SetBody ¶
func (s *SetDeletionProtectionResponse) SetBody(v *SetDeletionProtectionResponseBody) *SetDeletionProtectionResponse
func (*SetDeletionProtectionResponse) SetHeaders ¶
func (s *SetDeletionProtectionResponse) SetHeaders(v map[string]*string) *SetDeletionProtectionResponse
func (*SetDeletionProtectionResponse) SetStatusCode ¶
func (s *SetDeletionProtectionResponse) SetStatusCode(v int32) *SetDeletionProtectionResponse
func (SetDeletionProtectionResponse) String ¶
func (s SetDeletionProtectionResponse) String() string
type SetDeletionProtectionResponseBody ¶
type SetDeletionProtectionResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 3455b9b4-95c1-419d-b310-db6a53b09a39 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (SetDeletionProtectionResponseBody) GoString ¶
func (s SetDeletionProtectionResponseBody) GoString() string
func (*SetDeletionProtectionResponseBody) SetRequestId ¶
func (s *SetDeletionProtectionResponseBody) SetRequestId(v string) *SetDeletionProtectionResponseBody
func (SetDeletionProtectionResponseBody) String ¶
func (s SetDeletionProtectionResponseBody) String() string
type SetKeyPolicyRequest ¶ added in v3.2.0
type SetKeyPolicyRequest struct { // This parameter is required. // // example: // // key-hzz630494463ejqjx**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // This parameter is required. // // example: // // {"Statement":[{"Action":["kms:*"],"Effect":"Allow","Principal":{"RAM":["acs:ram::119285303511****:*"]},"Resource":["*"],"Sid":"kms default key policy"},{"Action":["kms:List*","kms:Describe*","kms:Create*","kms:Enable*","kms:Disable*","kms:Get*","kms:Set*","kms:Update*","kms:Delete*","kms:Cancel*","kms:TagResource","kms:UntagResource","kms:ImportKeyMaterial","kms:ScheduleKeyDeletion"],"Effect":"Allow","Principal":{"RAM":["acs:ram::119285303511****:user/for_test_policy"]},"Resource":["*"]}],"Version":"1"} Policy *string `json:"Policy,omitempty" xml:"Policy,omitempty"` // example: // // default PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"` }
func (SetKeyPolicyRequest) GoString ¶ added in v3.2.0
func (s SetKeyPolicyRequest) GoString() string
func (*SetKeyPolicyRequest) SetKeyId ¶ added in v3.2.0
func (s *SetKeyPolicyRequest) SetKeyId(v string) *SetKeyPolicyRequest
func (*SetKeyPolicyRequest) SetPolicy ¶ added in v3.2.0
func (s *SetKeyPolicyRequest) SetPolicy(v string) *SetKeyPolicyRequest
func (*SetKeyPolicyRequest) SetPolicyName ¶ added in v3.2.0
func (s *SetKeyPolicyRequest) SetPolicyName(v string) *SetKeyPolicyRequest
func (SetKeyPolicyRequest) String ¶ added in v3.2.0
func (s SetKeyPolicyRequest) String() string
type SetKeyPolicyResponse ¶ added in v3.2.0
type SetKeyPolicyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *SetKeyPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (SetKeyPolicyResponse) GoString ¶ added in v3.2.0
func (s SetKeyPolicyResponse) GoString() string
func (*SetKeyPolicyResponse) SetBody ¶ added in v3.2.0
func (s *SetKeyPolicyResponse) SetBody(v *SetKeyPolicyResponseBody) *SetKeyPolicyResponse
func (*SetKeyPolicyResponse) SetHeaders ¶ added in v3.2.0
func (s *SetKeyPolicyResponse) SetHeaders(v map[string]*string) *SetKeyPolicyResponse
func (*SetKeyPolicyResponse) SetStatusCode ¶ added in v3.2.0
func (s *SetKeyPolicyResponse) SetStatusCode(v int32) *SetKeyPolicyResponse
func (SetKeyPolicyResponse) String ¶ added in v3.2.0
func (s SetKeyPolicyResponse) String() string
type SetKeyPolicyResponseBody ¶ added in v3.2.0
type SetKeyPolicyResponseBody struct { // example: // // 381D5D33-BB8F-395F-8EE4-AE3BB4B523C8 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (SetKeyPolicyResponseBody) GoString ¶ added in v3.2.0
func (s SetKeyPolicyResponseBody) GoString() string
func (*SetKeyPolicyResponseBody) SetRequestId ¶ added in v3.2.0
func (s *SetKeyPolicyResponseBody) SetRequestId(v string) *SetKeyPolicyResponseBody
func (SetKeyPolicyResponseBody) String ¶ added in v3.2.0
func (s SetKeyPolicyResponseBody) String() string
type SetSecretPolicyRequest ¶ added in v3.2.0
type SetSecretPolicyRequest struct { // This parameter is required. // // example: // // {"Version":"1","Statement": [{"Sid":"kms default secret policy","Effect":"Allow","Principal":{"RAM": ["acs:ram::119285303511****:*"]},"Action":["kms:*"],"Resource": ["*"] }] } Policy *string `json:"Policy,omitempty" xml:"Policy,omitempty"` // example: // // default PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"` // This parameter is required. // // example: // // secret_test SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` }
func (SetSecretPolicyRequest) GoString ¶ added in v3.2.0
func (s SetSecretPolicyRequest) GoString() string
func (*SetSecretPolicyRequest) SetPolicy ¶ added in v3.2.0
func (s *SetSecretPolicyRequest) SetPolicy(v string) *SetSecretPolicyRequest
func (*SetSecretPolicyRequest) SetPolicyName ¶ added in v3.2.0
func (s *SetSecretPolicyRequest) SetPolicyName(v string) *SetSecretPolicyRequest
func (*SetSecretPolicyRequest) SetSecretName ¶ added in v3.2.0
func (s *SetSecretPolicyRequest) SetSecretName(v string) *SetSecretPolicyRequest
func (SetSecretPolicyRequest) String ¶ added in v3.2.0
func (s SetSecretPolicyRequest) String() string
type SetSecretPolicyResponse ¶ added in v3.2.0
type SetSecretPolicyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *SetSecretPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (SetSecretPolicyResponse) GoString ¶ added in v3.2.0
func (s SetSecretPolicyResponse) GoString() string
func (*SetSecretPolicyResponse) SetBody ¶ added in v3.2.0
func (s *SetSecretPolicyResponse) SetBody(v *SetSecretPolicyResponseBody) *SetSecretPolicyResponse
func (*SetSecretPolicyResponse) SetHeaders ¶ added in v3.2.0
func (s *SetSecretPolicyResponse) SetHeaders(v map[string]*string) *SetSecretPolicyResponse
func (*SetSecretPolicyResponse) SetStatusCode ¶ added in v3.2.0
func (s *SetSecretPolicyResponse) SetStatusCode(v int32) *SetSecretPolicyResponse
func (SetSecretPolicyResponse) String ¶ added in v3.2.0
func (s SetSecretPolicyResponse) String() string
type SetSecretPolicyResponseBody ¶ added in v3.2.0
type SetSecretPolicyResponseBody struct { // example: // // 381D5D33-BB8F-395F-8EE4-AE3BB4B523C8 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (SetSecretPolicyResponseBody) GoString ¶ added in v3.2.0
func (s SetSecretPolicyResponseBody) GoString() string
func (*SetSecretPolicyResponseBody) SetRequestId ¶ added in v3.2.0
func (s *SetSecretPolicyResponseBody) SetRequestId(v string) *SetSecretPolicyResponseBody
func (SetSecretPolicyResponseBody) String ¶ added in v3.2.0
func (s SetSecretPolicyResponseBody) String() string
type TagResourceRequest ¶
type TagResourceRequest struct { // The ID of the certificate. // // > You can configure only one of the KeyId, SecretName, and CertificateId parameters. // // example: // // 770dbe42-e146-43d1-a55a-1355db86**** CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"` // The ID of the customer master key (CMK). The ID must be globally unique. // // > You can configure only one of the KeyId, SecretName, and CertificateId parameters. // // example: // // 08c33a6f-4e0a-4a1b-a3fa-7ddf**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The name of the secret. // // > You can configure only one of the KeyId, SecretName, and CertificateId parameters. // // example: // // MyDbC**** SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` // One or more tags that you want to add. The value is in the array format. // // Tag attributes: // // - TagKey: the tag key. // // - TagValue: the tag value. // // This parameter is required. // // example: // // [{"TagKey":"S1key1","TagValue":"S1val1"},{"TagKey":"S1key2","TagValue":"S2val2"}] Tags *string `json:"Tags,omitempty" xml:"Tags,omitempty"` }
func (TagResourceRequest) GoString ¶
func (s TagResourceRequest) GoString() string
func (*TagResourceRequest) SetCertificateId ¶
func (s *TagResourceRequest) SetCertificateId(v string) *TagResourceRequest
func (*TagResourceRequest) SetKeyId ¶
func (s *TagResourceRequest) SetKeyId(v string) *TagResourceRequest
func (*TagResourceRequest) SetSecretName ¶
func (s *TagResourceRequest) SetSecretName(v string) *TagResourceRequest
func (*TagResourceRequest) SetTags ¶
func (s *TagResourceRequest) SetTags(v string) *TagResourceRequest
func (TagResourceRequest) String ¶
func (s TagResourceRequest) String() string
type TagResourceResponse ¶
type TagResourceResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *TagResourceResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (TagResourceResponse) GoString ¶
func (s TagResourceResponse) GoString() string
func (*TagResourceResponse) SetBody ¶
func (s *TagResourceResponse) SetBody(v *TagResourceResponseBody) *TagResourceResponse
func (*TagResourceResponse) SetHeaders ¶
func (s *TagResourceResponse) SetHeaders(v map[string]*string) *TagResourceResponse
func (*TagResourceResponse) SetStatusCode ¶
func (s *TagResourceResponse) SetStatusCode(v int32) *TagResourceResponse
func (TagResourceResponse) String ¶
func (s TagResourceResponse) String() string
type TagResourceResponseBody ¶
type TagResourceResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 4162a6af-bc99-40b3-a552-89dcc8aaf7c8 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (TagResourceResponseBody) GoString ¶
func (s TagResourceResponseBody) GoString() string
func (*TagResourceResponseBody) SetRequestId ¶
func (s *TagResourceResponseBody) SetRequestId(v string) *TagResourceResponseBody
func (TagResourceResponseBody) String ¶
func (s TagResourceResponseBody) String() string
type TagResourcesRequest ¶ added in v3.0.2
type TagResourcesRequest struct { // The region ID of the resource. // // > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/601478.html) to query the most recent region list. // // This parameter is required. // // example: // // cn-hangzhou RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` // The IDs of the resources to which you want to add tags. You can enter a maximum of 50 resource IDs. // // Enter multiple resource IDs in the `["ResourceId. 1","ResourceId. 2",...]` format. // // This parameter is required. ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"` // The type of the resource to which you want to add tags. Valid values: // // - key // // - secret // // This parameter is required. // // example: // // key ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"` // A list of tags. You can enter up to 20 tags. // // A tag consists of a key-value pair. Enter multiple tags in the `[{"Key":"key1","Value":"value1"},{"Key":"key2","Value":"value2"},..]` format. // // This parameter is required. Tag []*TagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"` }
func (TagResourcesRequest) GoString ¶ added in v3.0.2
func (s TagResourcesRequest) GoString() string
func (*TagResourcesRequest) SetRegionId ¶ added in v3.0.2
func (s *TagResourcesRequest) SetRegionId(v string) *TagResourcesRequest
func (*TagResourcesRequest) SetResourceId ¶ added in v3.0.2
func (s *TagResourcesRequest) SetResourceId(v []*string) *TagResourcesRequest
func (*TagResourcesRequest) SetResourceType ¶ added in v3.0.2
func (s *TagResourcesRequest) SetResourceType(v string) *TagResourcesRequest
func (*TagResourcesRequest) SetTag ¶ added in v3.0.2
func (s *TagResourcesRequest) SetTag(v []*TagResourcesRequestTag) *TagResourcesRequest
func (TagResourcesRequest) String ¶ added in v3.0.2
func (s TagResourcesRequest) String() string
type TagResourcesRequestTag ¶ added in v3.0.2
type TagResourcesRequestTag struct { // The key of the tag. A tag consists of a key-value pair. // // You can enter up to 20 tags. Enter multiple tags in the `[{"Key":"key1","Value":"value1"},{"Key":"key2","Value":"value2"},..]` format. // // Each key can be up to 128 characters in length and can contain letters, digits, forward slashes (/), backslashes (\\\\), underscores (_), hyphens (-), periods (.), plus signs (+), equal signs (=), colons (:), and at signs (@). // // > The key cannot start with aliyun or acs:. // // example: // // disk-encryption Key *string `json:"Key,omitempty" xml:"Key,omitempty"` // The value of the tag. A tag consists of a key-value pair. // // You can enter up to 20 tags. Enter multiple tags in the `[{"Key":"key1","Value":"value1"},{"Key":"key2","Value":"value2"},..]` format. // // Each value can be up to 128 characters in length and can contain letters, digits, forward slashes (/), backslashes (\\\\), underscores (_), hyphens (-), periods (.), plus signs (+), equal signs (=), colons (:), and at signs (@). // // example: // // true Value *string `json:"Value,omitempty" xml:"Value,omitempty"` }
func (TagResourcesRequestTag) GoString ¶ added in v3.0.2
func (s TagResourcesRequestTag) GoString() string
func (*TagResourcesRequestTag) SetKey ¶ added in v3.0.2
func (s *TagResourcesRequestTag) SetKey(v string) *TagResourcesRequestTag
func (*TagResourcesRequestTag) SetValue ¶ added in v3.0.2
func (s *TagResourcesRequestTag) SetValue(v string) *TagResourcesRequestTag
func (TagResourcesRequestTag) String ¶ added in v3.0.2
func (s TagResourcesRequestTag) String() string
type TagResourcesResponse ¶ added in v3.0.2
type TagResourcesResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *TagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (TagResourcesResponse) GoString ¶ added in v3.0.2
func (s TagResourcesResponse) GoString() string
func (*TagResourcesResponse) SetBody ¶ added in v3.0.2
func (s *TagResourcesResponse) SetBody(v *TagResourcesResponseBody) *TagResourcesResponse
func (*TagResourcesResponse) SetHeaders ¶ added in v3.0.2
func (s *TagResourcesResponse) SetHeaders(v map[string]*string) *TagResourcesResponse
func (*TagResourcesResponse) SetStatusCode ¶ added in v3.0.2
func (s *TagResourcesResponse) SetStatusCode(v int32) *TagResourcesResponse
func (TagResourcesResponse) String ¶ added in v3.0.2
func (s TagResourcesResponse) String() string
type TagResourcesResponseBody ¶ added in v3.0.2
type TagResourcesResponseBody struct { // The request ID. // // example: // // 598d0219-45cd-4477-84ad-85a52d9debcf RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (TagResourcesResponseBody) GoString ¶ added in v3.0.2
func (s TagResourcesResponseBody) GoString() string
func (*TagResourcesResponseBody) SetRequestId ¶ added in v3.0.2
func (s *TagResourcesResponseBody) SetRequestId(v string) *TagResourcesResponseBody
func (TagResourcesResponseBody) String ¶ added in v3.0.2
func (s TagResourcesResponseBody) String() string
type UntagResourceRequest ¶
type UntagResourceRequest struct { // example: // // 770dbe42-e146-43d1-a55a-1355db86**** CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 08c33a6f-4e0a-4a1b-a3fa-7ddf**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // example: // // MyDbC**** SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` // This parameter is required. // // example: // // ["tagkey1","tagkey2"] TagKeys *string `json:"TagKeys,omitempty" xml:"TagKeys,omitempty"` }
func (UntagResourceRequest) GoString ¶
func (s UntagResourceRequest) GoString() string
func (*UntagResourceRequest) SetCertificateId ¶
func (s *UntagResourceRequest) SetCertificateId(v string) *UntagResourceRequest
func (*UntagResourceRequest) SetKeyId ¶
func (s *UntagResourceRequest) SetKeyId(v string) *UntagResourceRequest
func (*UntagResourceRequest) SetSecretName ¶
func (s *UntagResourceRequest) SetSecretName(v string) *UntagResourceRequest
func (*UntagResourceRequest) SetTagKeys ¶
func (s *UntagResourceRequest) SetTagKeys(v string) *UntagResourceRequest
func (UntagResourceRequest) String ¶
func (s UntagResourceRequest) String() string
type UntagResourceResponse ¶
type UntagResourceResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UntagResourceResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UntagResourceResponse) GoString ¶
func (s UntagResourceResponse) GoString() string
func (*UntagResourceResponse) SetBody ¶
func (s *UntagResourceResponse) SetBody(v *UntagResourceResponseBody) *UntagResourceResponse
func (*UntagResourceResponse) SetHeaders ¶
func (s *UntagResourceResponse) SetHeaders(v map[string]*string) *UntagResourceResponse
func (*UntagResourceResponse) SetStatusCode ¶
func (s *UntagResourceResponse) SetStatusCode(v int32) *UntagResourceResponse
func (UntagResourceResponse) String ¶
func (s UntagResourceResponse) String() string
type UntagResourceResponseBody ¶
type UntagResourceResponseBody struct { // example: // // 4162a6af-bc99-40b3-a552-89dcc8aaf7c8 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (UntagResourceResponseBody) GoString ¶
func (s UntagResourceResponseBody) GoString() string
func (*UntagResourceResponseBody) SetRequestId ¶
func (s *UntagResourceResponseBody) SetRequestId(v string) *UntagResourceResponseBody
func (UntagResourceResponseBody) String ¶
func (s UntagResourceResponseBody) String() string
type UntagResourcesRequest ¶ added in v3.0.2
type UntagResourcesRequest struct { // Specifies whether to remove all tags from resources. Valid values: // // - true // // - false (default) // // > This parameter takes effect only when you specify an empty tag key. // // example: // // false All *bool `json:"All,omitempty" xml:"All,omitempty"` // The region ID of the resource. // // > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/601478.html) operation to query the most recent region list. // // This parameter is required. // // example: // // cn-hangzhou RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` // The IDs of the resources from which you want to remove tags. You can enter up to 50 resource IDs. // // Enter multiple resource IDs in the `["ResourceId.1","ResourceId.2",...]` format. // // This parameter is required. ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"` // The type of the resource from which you want to remove tags. Valid values: // // - key // // - secret // // This parameter is required. // // example: // // key ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"` // The keys of the tags that you want to remove. You can enter up to 20 tag keys. // // Enter multiple tag keys in the `["key.1","key.2",...]` format. // // > The tag key cannot start with aliyun or acs:. TagKey []*string `json:"TagKey,omitempty" xml:"TagKey,omitempty" type:"Repeated"` }
func (UntagResourcesRequest) GoString ¶ added in v3.0.2
func (s UntagResourcesRequest) GoString() string
func (*UntagResourcesRequest) SetAll ¶ added in v3.0.2
func (s *UntagResourcesRequest) SetAll(v bool) *UntagResourcesRequest
func (*UntagResourcesRequest) SetRegionId ¶ added in v3.0.2
func (s *UntagResourcesRequest) SetRegionId(v string) *UntagResourcesRequest
func (*UntagResourcesRequest) SetResourceId ¶ added in v3.0.2
func (s *UntagResourcesRequest) SetResourceId(v []*string) *UntagResourcesRequest
func (*UntagResourcesRequest) SetResourceType ¶ added in v3.0.2
func (s *UntagResourcesRequest) SetResourceType(v string) *UntagResourcesRequest
func (*UntagResourcesRequest) SetTagKey ¶ added in v3.0.2
func (s *UntagResourcesRequest) SetTagKey(v []*string) *UntagResourcesRequest
func (UntagResourcesRequest) String ¶ added in v3.0.2
func (s UntagResourcesRequest) String() string
type UntagResourcesResponse ¶ added in v3.0.2
type UntagResourcesResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UntagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UntagResourcesResponse) GoString ¶ added in v3.0.2
func (s UntagResourcesResponse) GoString() string
func (*UntagResourcesResponse) SetBody ¶ added in v3.0.2
func (s *UntagResourcesResponse) SetBody(v *UntagResourcesResponseBody) *UntagResourcesResponse
func (*UntagResourcesResponse) SetHeaders ¶ added in v3.0.2
func (s *UntagResourcesResponse) SetHeaders(v map[string]*string) *UntagResourcesResponse
func (*UntagResourcesResponse) SetStatusCode ¶ added in v3.0.2
func (s *UntagResourcesResponse) SetStatusCode(v int32) *UntagResourcesResponse
func (UntagResourcesResponse) String ¶ added in v3.0.2
func (s UntagResourcesResponse) String() string
type UntagResourcesResponseBody ¶ added in v3.0.2
type UntagResourcesResponseBody struct { // The request ID. // // example: // // b1f210dc-e52c-4a86-b9dd-7492343d46c7 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (UntagResourcesResponseBody) GoString ¶ added in v3.0.2
func (s UntagResourcesResponseBody) GoString() string
func (*UntagResourcesResponseBody) SetRequestId ¶ added in v3.0.2
func (s *UntagResourcesResponseBody) SetRequestId(v string) *UntagResourcesResponseBody
func (UntagResourcesResponseBody) String ¶ added in v3.0.2
func (s UntagResourcesResponseBody) String() string
type UpdateAliasRequest ¶
type UpdateAliasRequest struct { // The alias that you want to bind. // // The value must be 1 to 255 characters in length and must include the alias/ prefix. // // This parameter is required. // // example: // // alias/example AliasName *string `json:"AliasName,omitempty" xml:"AliasName,omitempty"` // The ID of the CMK. The ID must be globally unique. // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` }
func (UpdateAliasRequest) GoString ¶
func (s UpdateAliasRequest) GoString() string
func (*UpdateAliasRequest) SetAliasName ¶
func (s *UpdateAliasRequest) SetAliasName(v string) *UpdateAliasRequest
func (*UpdateAliasRequest) SetKeyId ¶
func (s *UpdateAliasRequest) SetKeyId(v string) *UpdateAliasRequest
func (UpdateAliasRequest) String ¶
func (s UpdateAliasRequest) String() string
type UpdateAliasResponse ¶
type UpdateAliasResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UpdateAliasResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UpdateAliasResponse) GoString ¶
func (s UpdateAliasResponse) GoString() string
func (*UpdateAliasResponse) SetBody ¶
func (s *UpdateAliasResponse) SetBody(v *UpdateAliasResponseBody) *UpdateAliasResponse
func (*UpdateAliasResponse) SetHeaders ¶
func (s *UpdateAliasResponse) SetHeaders(v map[string]*string) *UpdateAliasResponse
func (*UpdateAliasResponse) SetStatusCode ¶
func (s *UpdateAliasResponse) SetStatusCode(v int32) *UpdateAliasResponse
func (UpdateAliasResponse) String ¶
func (s UpdateAliasResponse) String() string
type UpdateAliasResponseBody ¶
type UpdateAliasResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 1d2baaf3-d357-46c2-832e-13560c2bd9cd RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (UpdateAliasResponseBody) GoString ¶
func (s UpdateAliasResponseBody) GoString() string
func (*UpdateAliasResponseBody) SetRequestId ¶
func (s *UpdateAliasResponseBody) SetRequestId(v string) *UpdateAliasResponseBody
func (UpdateAliasResponseBody) String ¶
func (s UpdateAliasResponseBody) String() string
type UpdateApplicationAccessPointRequest ¶ added in v3.1.0
type UpdateApplicationAccessPointRequest struct { // The description. // // example: // // aap description Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The name of the AAP that you want to update. // // This parameter is required. // // example: // // aap_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // The permission policy that you want to update. // // > You can associate up to three permission policies with each AAP. // // example: // // ["kst-hzz62ee817bvyyr5x****.efkd","kst-hzz62ee817bvyyr5x****.eyyp"] Policies *string `json:"Policies,omitempty" xml:"Policies,omitempty"` }
func (UpdateApplicationAccessPointRequest) GoString ¶ added in v3.1.0
func (s UpdateApplicationAccessPointRequest) GoString() string
func (*UpdateApplicationAccessPointRequest) SetDescription ¶ added in v3.1.0
func (s *UpdateApplicationAccessPointRequest) SetDescription(v string) *UpdateApplicationAccessPointRequest
func (*UpdateApplicationAccessPointRequest) SetName ¶ added in v3.1.0
func (s *UpdateApplicationAccessPointRequest) SetName(v string) *UpdateApplicationAccessPointRequest
func (*UpdateApplicationAccessPointRequest) SetPolicies ¶ added in v3.1.0
func (s *UpdateApplicationAccessPointRequest) SetPolicies(v string) *UpdateApplicationAccessPointRequest
func (UpdateApplicationAccessPointRequest) String ¶ added in v3.1.0
func (s UpdateApplicationAccessPointRequest) String() string
type UpdateApplicationAccessPointResponse ¶ added in v3.1.0
type UpdateApplicationAccessPointResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UpdateApplicationAccessPointResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UpdateApplicationAccessPointResponse) GoString ¶ added in v3.1.0
func (s UpdateApplicationAccessPointResponse) GoString() string
func (*UpdateApplicationAccessPointResponse) SetHeaders ¶ added in v3.1.0
func (s *UpdateApplicationAccessPointResponse) SetHeaders(v map[string]*string) *UpdateApplicationAccessPointResponse
func (*UpdateApplicationAccessPointResponse) SetStatusCode ¶ added in v3.1.0
func (s *UpdateApplicationAccessPointResponse) SetStatusCode(v int32) *UpdateApplicationAccessPointResponse
func (UpdateApplicationAccessPointResponse) String ¶ added in v3.1.0
func (s UpdateApplicationAccessPointResponse) String() string
type UpdateApplicationAccessPointResponseBody ¶ added in v3.1.0
type UpdateApplicationAccessPointResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // bcfefe15-46f0-44a3-bd96-3d422474b71a RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (UpdateApplicationAccessPointResponseBody) GoString ¶ added in v3.1.0
func (s UpdateApplicationAccessPointResponseBody) GoString() string
func (*UpdateApplicationAccessPointResponseBody) SetRequestId ¶ added in v3.1.0
func (s *UpdateApplicationAccessPointResponseBody) SetRequestId(v string) *UpdateApplicationAccessPointResponseBody
func (UpdateApplicationAccessPointResponseBody) String ¶ added in v3.1.0
func (s UpdateApplicationAccessPointResponseBody) String() string
type UpdateCertificateStatusRequest ¶
type UpdateCertificateStatusRequest struct { // The ID of the certificate. The ID must be globally unique in Certificates Manager. // // This parameter is required. // // example: // // 9a28de48-8d8b-484d-a766-dec4**** CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"` // The status of the certificate. Valid values: // // - INACTIVE: The certificate is disabled. // // - ACTIVE: The certificate is enabled. // // - REVOKED: The certificate is revoked. // // > If the certificate is in the REVOKED state, you can use the certificate only to verify a signature, but not to generate a signature. // // This parameter is required. // // example: // // INACTIVE Status *string `json:"Status,omitempty" xml:"Status,omitempty"` }
func (UpdateCertificateStatusRequest) GoString ¶
func (s UpdateCertificateStatusRequest) GoString() string
func (*UpdateCertificateStatusRequest) SetCertificateId ¶
func (s *UpdateCertificateStatusRequest) SetCertificateId(v string) *UpdateCertificateStatusRequest
func (*UpdateCertificateStatusRequest) SetStatus ¶
func (s *UpdateCertificateStatusRequest) SetStatus(v string) *UpdateCertificateStatusRequest
func (UpdateCertificateStatusRequest) String ¶
func (s UpdateCertificateStatusRequest) String() string
type UpdateCertificateStatusResponse ¶
type UpdateCertificateStatusResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UpdateCertificateStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UpdateCertificateStatusResponse) GoString ¶
func (s UpdateCertificateStatusResponse) GoString() string
func (*UpdateCertificateStatusResponse) SetBody ¶
func (s *UpdateCertificateStatusResponse) SetBody(v *UpdateCertificateStatusResponseBody) *UpdateCertificateStatusResponse
func (*UpdateCertificateStatusResponse) SetHeaders ¶
func (s *UpdateCertificateStatusResponse) SetHeaders(v map[string]*string) *UpdateCertificateStatusResponse
func (*UpdateCertificateStatusResponse) SetStatusCode ¶
func (s *UpdateCertificateStatusResponse) SetStatusCode(v int32) *UpdateCertificateStatusResponse
func (UpdateCertificateStatusResponse) String ¶
func (s UpdateCertificateStatusResponse) String() string
type UpdateCertificateStatusResponseBody ¶
type UpdateCertificateStatusResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // e3f57fe0-9ded-40b0-9caf-a3815f2148c1 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (UpdateCertificateStatusResponseBody) GoString ¶
func (s UpdateCertificateStatusResponseBody) GoString() string
func (*UpdateCertificateStatusResponseBody) SetRequestId ¶
func (s *UpdateCertificateStatusResponseBody) SetRequestId(v string) *UpdateCertificateStatusResponseBody
func (UpdateCertificateStatusResponseBody) String ¶
func (s UpdateCertificateStatusResponseBody) String() string
type UpdateKeyDescriptionRequest ¶
type UpdateKeyDescriptionRequest struct { // The description of the CMK. This description includes the purpose of the CMK, such as the types of data that you want to protect and applications that can use the CMK. // // This parameter is required. // // example: // // key description example Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The ID of the CMK. The ID must be globally unique. // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` }
func (UpdateKeyDescriptionRequest) GoString ¶
func (s UpdateKeyDescriptionRequest) GoString() string
func (*UpdateKeyDescriptionRequest) SetDescription ¶
func (s *UpdateKeyDescriptionRequest) SetDescription(v string) *UpdateKeyDescriptionRequest
func (*UpdateKeyDescriptionRequest) SetKeyId ¶
func (s *UpdateKeyDescriptionRequest) SetKeyId(v string) *UpdateKeyDescriptionRequest
func (UpdateKeyDescriptionRequest) String ¶
func (s UpdateKeyDescriptionRequest) String() string
type UpdateKeyDescriptionResponse ¶
type UpdateKeyDescriptionResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UpdateKeyDescriptionResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UpdateKeyDescriptionResponse) GoString ¶
func (s UpdateKeyDescriptionResponse) GoString() string
func (*UpdateKeyDescriptionResponse) SetBody ¶
func (s *UpdateKeyDescriptionResponse) SetBody(v *UpdateKeyDescriptionResponseBody) *UpdateKeyDescriptionResponse
func (*UpdateKeyDescriptionResponse) SetHeaders ¶
func (s *UpdateKeyDescriptionResponse) SetHeaders(v map[string]*string) *UpdateKeyDescriptionResponse
func (*UpdateKeyDescriptionResponse) SetStatusCode ¶
func (s *UpdateKeyDescriptionResponse) SetStatusCode(v int32) *UpdateKeyDescriptionResponse
func (UpdateKeyDescriptionResponse) String ¶
func (s UpdateKeyDescriptionResponse) String() string
type UpdateKeyDescriptionResponseBody ¶
type UpdateKeyDescriptionResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 3455b9b4-95c1-419d-b310-db6a53b09a39 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (UpdateKeyDescriptionResponseBody) GoString ¶
func (s UpdateKeyDescriptionResponseBody) GoString() string
func (*UpdateKeyDescriptionResponseBody) SetRequestId ¶
func (s *UpdateKeyDescriptionResponseBody) SetRequestId(v string) *UpdateKeyDescriptionResponseBody
func (UpdateKeyDescriptionResponseBody) String ¶
func (s UpdateKeyDescriptionResponseBody) String() string
type UpdateKmsInstanceBindVpcRequest ¶ added in v3.1.0
type UpdateKmsInstanceBindVpcRequest struct { // The VPC configuration. The configuration of each VPC contains the following content: // // - VpcId: the ID of the VPC. // // - VSwitchId: the vSwitch in the VPC. // // - RegionID: the ID of the region to which the VPC belongs. // // - VpcOwnerId: the Alibaba Cloud account to which the VPC belongs. // // Format: `[{"VpcId":"${VpcId}","VSwitchId":"${VSwitchId}","RegionId":"${RegionId}","VpcOwnerId":${VpcOwnerId}},..]`. // // This parameter is required. // // example: // // [{"VpcId":"vpc-bp1go9qvmj78j4f4c****","VSwitchId":"vsw-bp16c5pvvcf0fp5b9****","RegionId":"cn-hangzhou","VpcOwnerId":120708975881****},{"VpcId":"vpc-bp14c07ucxg6h1xjm****","VSwitchId":"vsw-bp1wujtnspi1l3gvu****","RegionId":"cn-hangzhou","VpcOwnerId":119285303511****}] BindVpcs *string `json:"BindVpcs,omitempty" xml:"BindVpcs,omitempty"` // The ID of the KMS instance. // // This parameter is required. // // example: // // kst-phzz64f722a1buamw0**** KmsInstanceId *string `json:"KmsInstanceId,omitempty" xml:"KmsInstanceId,omitempty"` }
func (UpdateKmsInstanceBindVpcRequest) GoString ¶ added in v3.1.0
func (s UpdateKmsInstanceBindVpcRequest) GoString() string
func (*UpdateKmsInstanceBindVpcRequest) SetBindVpcs ¶ added in v3.1.0
func (s *UpdateKmsInstanceBindVpcRequest) SetBindVpcs(v string) *UpdateKmsInstanceBindVpcRequest
func (*UpdateKmsInstanceBindVpcRequest) SetKmsInstanceId ¶ added in v3.1.0
func (s *UpdateKmsInstanceBindVpcRequest) SetKmsInstanceId(v string) *UpdateKmsInstanceBindVpcRequest
func (UpdateKmsInstanceBindVpcRequest) String ¶ added in v3.1.0
func (s UpdateKmsInstanceBindVpcRequest) String() string
type UpdateKmsInstanceBindVpcResponse ¶ added in v3.1.0
type UpdateKmsInstanceBindVpcResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UpdateKmsInstanceBindVpcResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UpdateKmsInstanceBindVpcResponse) GoString ¶ added in v3.1.0
func (s UpdateKmsInstanceBindVpcResponse) GoString() string
func (*UpdateKmsInstanceBindVpcResponse) SetBody ¶ added in v3.1.0
func (s *UpdateKmsInstanceBindVpcResponse) SetBody(v *UpdateKmsInstanceBindVpcResponseBody) *UpdateKmsInstanceBindVpcResponse
func (*UpdateKmsInstanceBindVpcResponse) SetHeaders ¶ added in v3.1.0
func (s *UpdateKmsInstanceBindVpcResponse) SetHeaders(v map[string]*string) *UpdateKmsInstanceBindVpcResponse
func (*UpdateKmsInstanceBindVpcResponse) SetStatusCode ¶ added in v3.1.0
func (s *UpdateKmsInstanceBindVpcResponse) SetStatusCode(v int32) *UpdateKmsInstanceBindVpcResponse
func (UpdateKmsInstanceBindVpcResponse) String ¶ added in v3.1.0
func (s UpdateKmsInstanceBindVpcResponse) String() string
type UpdateKmsInstanceBindVpcResponseBody ¶ added in v3.1.0
type UpdateKmsInstanceBindVpcResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // d3eca5c8-a856-4347-8eb6-e1898c3fda2e RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (UpdateKmsInstanceBindVpcResponseBody) GoString ¶ added in v3.1.0
func (s UpdateKmsInstanceBindVpcResponseBody) GoString() string
func (*UpdateKmsInstanceBindVpcResponseBody) SetRequestId ¶ added in v3.1.0
func (s *UpdateKmsInstanceBindVpcResponseBody) SetRequestId(v string) *UpdateKmsInstanceBindVpcResponseBody
func (UpdateKmsInstanceBindVpcResponseBody) String ¶ added in v3.1.0
func (s UpdateKmsInstanceBindVpcResponseBody) String() string
type UpdateNetworkRuleRequest ¶ added in v3.1.0
type UpdateNetworkRuleRequest struct { // The description after the update. // // example: // // Creat by kst-hzz62ee817bvyyr5**** Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The name of the access control rule that you want to update. // // This parameter is required. // // example: // // networkrule_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // The private IP address or CIDR block after the update. Separate multiple items with commas (,). // // example: // // ["192.10.XX.XX","192.168.XX.XX/24"] SourcePrivateIp *string `json:"SourcePrivateIp,omitempty" xml:"SourcePrivateIp,omitempty"` }
func (UpdateNetworkRuleRequest) GoString ¶ added in v3.1.0
func (s UpdateNetworkRuleRequest) GoString() string
func (*UpdateNetworkRuleRequest) SetDescription ¶ added in v3.1.0
func (s *UpdateNetworkRuleRequest) SetDescription(v string) *UpdateNetworkRuleRequest
func (*UpdateNetworkRuleRequest) SetName ¶ added in v3.1.0
func (s *UpdateNetworkRuleRequest) SetName(v string) *UpdateNetworkRuleRequest
func (*UpdateNetworkRuleRequest) SetSourcePrivateIp ¶ added in v3.1.0
func (s *UpdateNetworkRuleRequest) SetSourcePrivateIp(v string) *UpdateNetworkRuleRequest
func (UpdateNetworkRuleRequest) String ¶ added in v3.1.0
func (s UpdateNetworkRuleRequest) String() string
type UpdateNetworkRuleResponse ¶ added in v3.1.0
type UpdateNetworkRuleResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UpdateNetworkRuleResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UpdateNetworkRuleResponse) GoString ¶ added in v3.1.0
func (s UpdateNetworkRuleResponse) GoString() string
func (*UpdateNetworkRuleResponse) SetBody ¶ added in v3.1.0
func (s *UpdateNetworkRuleResponse) SetBody(v *UpdateNetworkRuleResponseBody) *UpdateNetworkRuleResponse
func (*UpdateNetworkRuleResponse) SetHeaders ¶ added in v3.1.0
func (s *UpdateNetworkRuleResponse) SetHeaders(v map[string]*string) *UpdateNetworkRuleResponse
func (*UpdateNetworkRuleResponse) SetStatusCode ¶ added in v3.1.0
func (s *UpdateNetworkRuleResponse) SetStatusCode(v int32) *UpdateNetworkRuleResponse
func (UpdateNetworkRuleResponse) String ¶ added in v3.1.0
func (s UpdateNetworkRuleResponse) String() string
type UpdateNetworkRuleResponseBody ¶ added in v3.1.0
type UpdateNetworkRuleResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 3bf02f7a-015b-4f34-be0f-cc043fda2d85 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (UpdateNetworkRuleResponseBody) GoString ¶ added in v3.1.0
func (s UpdateNetworkRuleResponseBody) GoString() string
func (*UpdateNetworkRuleResponseBody) SetRequestId ¶ added in v3.1.0
func (s *UpdateNetworkRuleResponseBody) SetRequestId(v string) *UpdateNetworkRuleResponseBody
func (UpdateNetworkRuleResponseBody) String ¶ added in v3.1.0
func (s UpdateNetworkRuleResponseBody) String() string
type UpdatePolicyRequest ¶ added in v3.1.0
type UpdatePolicyRequest struct { // The access control rule. // // > For more information about how to query created access control rules, see [ListNetworkRules](https://help.aliyun.com/document_detail/2539433.html). // // example: // // {"NetworkRules":["kst-hzz62ee817bvyyr5x****.efkd","kst-hzz62ee817bvyyr5x****.eyyp"]} AccessControlRules *string `json:"AccessControlRules,omitempty" xml:"AccessControlRules,omitempty"` // The description. // // example: // // policy description Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The name of the permission policy that you want to update. // // This parameter is required. // // example: // // policy_test Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // The operations that are supported by the updated policy. Valid values: // // - RbacPermission/Template/CryptoServiceKeyUser: allows you to perform cryptographic operations. // // - RbacPermission/Template/CryptoServiceSecretUser: allows you to perform secret-related operations. // // You can select both. // // example: // // ["RbacPermission/Template/CryptoServiceKeyUser", "RbacPermission/Template/CryptoServiceSecretUser"] Permissions *string `json:"Permissions,omitempty" xml:"Permissions,omitempty"` // The key and secret that are allowed to access after the update. // // - Key: Enter a key in the `key/${KeyId}` format. To allow access to all keys of a KMS instance, enter key/\\*. // // - Secret: Enter a secret in the `secret/${SecretName}` format. To allow access to all secrets of a KMS instance, enter secret/\\*. // // example: // // ["secret/acs/ram/user/ram-secret", "secret/acs/ram/user/acr-master", "key/key-hzz63d9c8d3dfv8cv****"] Resources *string `json:"Resources,omitempty" xml:"Resources,omitempty"` }
func (UpdatePolicyRequest) GoString ¶ added in v3.1.0
func (s UpdatePolicyRequest) GoString() string
func (*UpdatePolicyRequest) SetAccessControlRules ¶ added in v3.1.0
func (s *UpdatePolicyRequest) SetAccessControlRules(v string) *UpdatePolicyRequest
func (*UpdatePolicyRequest) SetDescription ¶ added in v3.1.0
func (s *UpdatePolicyRequest) SetDescription(v string) *UpdatePolicyRequest
func (*UpdatePolicyRequest) SetName ¶ added in v3.1.0
func (s *UpdatePolicyRequest) SetName(v string) *UpdatePolicyRequest
func (*UpdatePolicyRequest) SetPermissions ¶ added in v3.1.0
func (s *UpdatePolicyRequest) SetPermissions(v string) *UpdatePolicyRequest
func (*UpdatePolicyRequest) SetResources ¶ added in v3.1.0
func (s *UpdatePolicyRequest) SetResources(v string) *UpdatePolicyRequest
func (UpdatePolicyRequest) String ¶ added in v3.1.0
func (s UpdatePolicyRequest) String() string
type UpdatePolicyResponse ¶ added in v3.1.0
type UpdatePolicyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UpdatePolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UpdatePolicyResponse) GoString ¶ added in v3.1.0
func (s UpdatePolicyResponse) GoString() string
func (*UpdatePolicyResponse) SetBody ¶ added in v3.1.0
func (s *UpdatePolicyResponse) SetBody(v *UpdatePolicyResponseBody) *UpdatePolicyResponse
func (*UpdatePolicyResponse) SetHeaders ¶ added in v3.1.0
func (s *UpdatePolicyResponse) SetHeaders(v map[string]*string) *UpdatePolicyResponse
func (*UpdatePolicyResponse) SetStatusCode ¶ added in v3.1.0
func (s *UpdatePolicyResponse) SetStatusCode(v int32) *UpdatePolicyResponse
func (UpdatePolicyResponse) String ¶ added in v3.1.0
func (s UpdatePolicyResponse) String() string
type UpdatePolicyResponseBody ¶ added in v3.1.0
type UpdatePolicyResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // f455324b-e229-4066-9f58-9c1cf3fe83a8 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (UpdatePolicyResponseBody) GoString ¶ added in v3.1.0
func (s UpdatePolicyResponseBody) GoString() string
func (*UpdatePolicyResponseBody) SetRequestId ¶ added in v3.1.0
func (s *UpdatePolicyResponseBody) SetRequestId(v string) *UpdatePolicyResponseBody
func (UpdatePolicyResponseBody) String ¶ added in v3.1.0
func (s UpdatePolicyResponseBody) String() string
type UpdateRotationPolicyRequest ¶
type UpdateRotationPolicyRequest struct { // Specifies whether to enable automatic key rotation. Valid values: // // - true: enables automatic key rotation. // // - false: disables automatic key rotation. // // This parameter is required. // // example: // // true EnableAutomaticRotation *bool `json:"EnableAutomaticRotation,omitempty" xml:"EnableAutomaticRotation,omitempty"` // The ID of the customer master key (CMK). The ID must be globally unique. // // This parameter is required. // // example: // // 1234abcd-12ab-34cd-56ef-12345678**** KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // The period of automatic key rotation. Specify the value in the integer[unit] format. The following units are supported: d (day), h (hour), m (minute), and s (second). For example, you can use either 7d or 604800s to specify a seven-day period. The period can range from 7 days to 730 days. // // > If you set the EnableAutomaticRotation parameter to true, you must also specify this parameter. If you set the EnableAutomaticRotation parameter to false, you can leave this parameter unspecified. // // example: // // 30d RotationInterval *string `json:"RotationInterval,omitempty" xml:"RotationInterval,omitempty"` }
func (UpdateRotationPolicyRequest) GoString ¶
func (s UpdateRotationPolicyRequest) GoString() string
func (*UpdateRotationPolicyRequest) SetEnableAutomaticRotation ¶
func (s *UpdateRotationPolicyRequest) SetEnableAutomaticRotation(v bool) *UpdateRotationPolicyRequest
func (*UpdateRotationPolicyRequest) SetKeyId ¶
func (s *UpdateRotationPolicyRequest) SetKeyId(v string) *UpdateRotationPolicyRequest
func (*UpdateRotationPolicyRequest) SetRotationInterval ¶
func (s *UpdateRotationPolicyRequest) SetRotationInterval(v string) *UpdateRotationPolicyRequest
func (UpdateRotationPolicyRequest) String ¶
func (s UpdateRotationPolicyRequest) String() string
type UpdateRotationPolicyResponse ¶
type UpdateRotationPolicyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UpdateRotationPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UpdateRotationPolicyResponse) GoString ¶
func (s UpdateRotationPolicyResponse) GoString() string
func (*UpdateRotationPolicyResponse) SetBody ¶
func (s *UpdateRotationPolicyResponse) SetBody(v *UpdateRotationPolicyResponseBody) *UpdateRotationPolicyResponse
func (*UpdateRotationPolicyResponse) SetHeaders ¶
func (s *UpdateRotationPolicyResponse) SetHeaders(v map[string]*string) *UpdateRotationPolicyResponse
func (*UpdateRotationPolicyResponse) SetStatusCode ¶
func (s *UpdateRotationPolicyResponse) SetStatusCode(v int32) *UpdateRotationPolicyResponse
func (UpdateRotationPolicyResponse) String ¶
func (s UpdateRotationPolicyResponse) String() string
type UpdateRotationPolicyResponseBody ¶
type UpdateRotationPolicyResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // efb1cbbd-a093-4278-bc03-639dd4fcc207 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (UpdateRotationPolicyResponseBody) GoString ¶
func (s UpdateRotationPolicyResponseBody) GoString() string
func (*UpdateRotationPolicyResponseBody) SetRequestId ¶
func (s *UpdateRotationPolicyResponseBody) SetRequestId(v string) *UpdateRotationPolicyResponseBody
func (UpdateRotationPolicyResponseBody) String ¶
func (s UpdateRotationPolicyResponseBody) String() string
type UpdateSecretRequest ¶
type UpdateSecretRequest struct { ExtendedConfig *UpdateSecretRequestExtendedConfig `json:"ExtendedConfig,omitempty" xml:"ExtendedConfig,omitempty" type:"Struct"` // The description of the secret. // // example: // // datainfo Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The name of the secret. // // This parameter is required. // // example: // // secret001 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` }
func (UpdateSecretRequest) GoString ¶
func (s UpdateSecretRequest) GoString() string
func (*UpdateSecretRequest) SetDescription ¶
func (s *UpdateSecretRequest) SetDescription(v string) *UpdateSecretRequest
func (*UpdateSecretRequest) SetExtendedConfig ¶
func (s *UpdateSecretRequest) SetExtendedConfig(v *UpdateSecretRequestExtendedConfig) *UpdateSecretRequest
func (*UpdateSecretRequest) SetSecretName ¶
func (s *UpdateSecretRequest) SetSecretName(v string) *UpdateSecretRequest
func (UpdateSecretRequest) String ¶
func (s UpdateSecretRequest) String() string
type UpdateSecretRequestExtendedConfig ¶
type UpdateSecretRequestExtendedConfig struct { // The custom data in the extended configuration of the secret. // // > - If this parameter is specified, the existing extended configuration of the secret is updated. // // > - This parameter is unavailable for generic secrets. // // example: // // {"DBName":"app1","Port":"3306"} CustomData map[string]interface{} `json:"CustomData,omitempty" xml:"CustomData,omitempty"` }
func (UpdateSecretRequestExtendedConfig) GoString ¶
func (s UpdateSecretRequestExtendedConfig) GoString() string
func (*UpdateSecretRequestExtendedConfig) SetCustomData ¶
func (s *UpdateSecretRequestExtendedConfig) SetCustomData(v map[string]interface{}) *UpdateSecretRequestExtendedConfig
func (UpdateSecretRequestExtendedConfig) String ¶
func (s UpdateSecretRequestExtendedConfig) String() string
type UpdateSecretResponse ¶
type UpdateSecretResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UpdateSecretResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UpdateSecretResponse) GoString ¶
func (s UpdateSecretResponse) GoString() string
func (*UpdateSecretResponse) SetBody ¶
func (s *UpdateSecretResponse) SetBody(v *UpdateSecretResponseBody) *UpdateSecretResponse
func (*UpdateSecretResponse) SetHeaders ¶
func (s *UpdateSecretResponse) SetHeaders(v map[string]*string) *UpdateSecretResponse
func (*UpdateSecretResponse) SetStatusCode ¶
func (s *UpdateSecretResponse) SetStatusCode(v int32) *UpdateSecretResponse
func (UpdateSecretResponse) String ¶
func (s UpdateSecretResponse) String() string
type UpdateSecretResponseBody ¶
type UpdateSecretResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 5b75d8b1-5b6a-4ec0-8e0c-c08befdfad47 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The name of the secret. // // example: // // secret001 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` }
func (UpdateSecretResponseBody) GoString ¶
func (s UpdateSecretResponseBody) GoString() string
func (*UpdateSecretResponseBody) SetRequestId ¶
func (s *UpdateSecretResponseBody) SetRequestId(v string) *UpdateSecretResponseBody
func (*UpdateSecretResponseBody) SetSecretName ¶
func (s *UpdateSecretResponseBody) SetSecretName(v string) *UpdateSecretResponseBody
func (UpdateSecretResponseBody) String ¶
func (s UpdateSecretResponseBody) String() string
type UpdateSecretRotationPolicyRequest ¶
type UpdateSecretRotationPolicyRequest struct { // Specifies whether to enable automatic rotation. Valid values: // // - true: enables automatic rotation. // // - false: does not enable automatic rotation. This is the default value. // // This parameter is required. // // example: // // true EnableAutomaticRotation *bool `json:"EnableAutomaticRotation,omitempty" xml:"EnableAutomaticRotation,omitempty"` // The interval for automatic rotation. Valid values: 6 hours to 8,760 hours (365 days). // // The value is in the `integer[unit]` format.““ // // The unit can be d (day), h (hour), m (minute), or s (second). For example, both 7d and 604800s indicate a seven-day interval. // // > This parameter is required if you set the EnableAutomaticRotation parameter to true. This parameter is ignored if you set the EnableAutomaticRotation parameter to false or does not specify the EnableAutomaticRotation parameter. // // example: // // 30d RotationInterval *string `json:"RotationInterval,omitempty" xml:"RotationInterval,omitempty"` // The name of the secret. // // This parameter is required. // // example: // // RdsSecret/Mysql5.4/MyCred SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` }
func (UpdateSecretRotationPolicyRequest) GoString ¶
func (s UpdateSecretRotationPolicyRequest) GoString() string
func (*UpdateSecretRotationPolicyRequest) SetEnableAutomaticRotation ¶
func (s *UpdateSecretRotationPolicyRequest) SetEnableAutomaticRotation(v bool) *UpdateSecretRotationPolicyRequest
func (*UpdateSecretRotationPolicyRequest) SetRotationInterval ¶
func (s *UpdateSecretRotationPolicyRequest) SetRotationInterval(v string) *UpdateSecretRotationPolicyRequest
func (*UpdateSecretRotationPolicyRequest) SetSecretName ¶
func (s *UpdateSecretRotationPolicyRequest) SetSecretName(v string) *UpdateSecretRotationPolicyRequest
func (UpdateSecretRotationPolicyRequest) String ¶
func (s UpdateSecretRotationPolicyRequest) String() string
type UpdateSecretRotationPolicyResponse ¶
type UpdateSecretRotationPolicyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UpdateSecretRotationPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UpdateSecretRotationPolicyResponse) GoString ¶
func (s UpdateSecretRotationPolicyResponse) GoString() string
func (*UpdateSecretRotationPolicyResponse) SetHeaders ¶
func (s *UpdateSecretRotationPolicyResponse) SetHeaders(v map[string]*string) *UpdateSecretRotationPolicyResponse
func (*UpdateSecretRotationPolicyResponse) SetStatusCode ¶
func (s *UpdateSecretRotationPolicyResponse) SetStatusCode(v int32) *UpdateSecretRotationPolicyResponse
func (UpdateSecretRotationPolicyResponse) String ¶
func (s UpdateSecretRotationPolicyResponse) String() string
type UpdateSecretRotationPolicyResponseBody ¶
type UpdateSecretRotationPolicyResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 2c124f6f-4210-499f-b88a-69f54004d2d8 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The name of the secret. // // example: // // RdsSecret/Mysql5.4/MyCred SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` }
func (UpdateSecretRotationPolicyResponseBody) GoString ¶
func (s UpdateSecretRotationPolicyResponseBody) GoString() string
func (*UpdateSecretRotationPolicyResponseBody) SetRequestId ¶
func (s *UpdateSecretRotationPolicyResponseBody) SetRequestId(v string) *UpdateSecretRotationPolicyResponseBody
func (*UpdateSecretRotationPolicyResponseBody) SetSecretName ¶
func (s *UpdateSecretRotationPolicyResponseBody) SetSecretName(v string) *UpdateSecretRotationPolicyResponseBody
func (UpdateSecretRotationPolicyResponseBody) String ¶
func (s UpdateSecretRotationPolicyResponseBody) String() string
type UpdateSecretShrinkRequest ¶
type UpdateSecretShrinkRequest struct { ExtendedConfig *UpdateSecretShrinkRequestExtendedConfig `json:"ExtendedConfig,omitempty" xml:"ExtendedConfig,omitempty" type:"Struct"` // The description of the secret. // // example: // // datainfo Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The name of the secret. // // This parameter is required. // // example: // // secret001 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` }
func (UpdateSecretShrinkRequest) GoString ¶
func (s UpdateSecretShrinkRequest) GoString() string
func (*UpdateSecretShrinkRequest) SetDescription ¶
func (s *UpdateSecretShrinkRequest) SetDescription(v string) *UpdateSecretShrinkRequest
func (*UpdateSecretShrinkRequest) SetExtendedConfig ¶
func (s *UpdateSecretShrinkRequest) SetExtendedConfig(v *UpdateSecretShrinkRequestExtendedConfig) *UpdateSecretShrinkRequest
func (*UpdateSecretShrinkRequest) SetSecretName ¶
func (s *UpdateSecretShrinkRequest) SetSecretName(v string) *UpdateSecretShrinkRequest
func (UpdateSecretShrinkRequest) String ¶
func (s UpdateSecretShrinkRequest) String() string
type UpdateSecretShrinkRequestExtendedConfig ¶
type UpdateSecretShrinkRequestExtendedConfig struct { // The custom data in the extended configuration of the secret. // // > - If this parameter is specified, the existing extended configuration of the secret is updated. // // > - This parameter is unavailable for generic secrets. // // example: // // {"DBName":"app1","Port":"3306"} CustomData *string `json:"CustomData,omitempty" xml:"CustomData,omitempty"` }
func (UpdateSecretShrinkRequestExtendedConfig) GoString ¶
func (s UpdateSecretShrinkRequestExtendedConfig) GoString() string
func (*UpdateSecretShrinkRequestExtendedConfig) SetCustomData ¶
func (s *UpdateSecretShrinkRequestExtendedConfig) SetCustomData(v string) *UpdateSecretShrinkRequestExtendedConfig
func (UpdateSecretShrinkRequestExtendedConfig) String ¶
func (s UpdateSecretShrinkRequestExtendedConfig) String() string
type UpdateSecretVersionStageRequest ¶
type UpdateSecretVersionStageRequest struct { // The version from which you want to remove the specified stage label. // // > You must specify at least one of the RemoveFromVersion and MoveToVersion parameters. // // example: // // 002 MoveToVersion *string `json:"MoveToVersion,omitempty" xml:"MoveToVersion,omitempty"` // The specified stage label. Valid values: // // - ACSCurrent // // - ACSPrevious // // - Custom stage label // // example: // // 001 RemoveFromVersion *string `json:"RemoveFromVersion,omitempty" xml:"RemoveFromVersion,omitempty"` // The operation that you want to perform. Set the value to **UpdateSecretVersionStage**. // // This parameter is required. // // example: // // secret001 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` // The name of the secret. // // This parameter is required. // // example: // // ACSCurrent VersionStage *string `json:"VersionStage,omitempty" xml:"VersionStage,omitempty"` }
func (UpdateSecretVersionStageRequest) GoString ¶
func (s UpdateSecretVersionStageRequest) GoString() string
func (*UpdateSecretVersionStageRequest) SetMoveToVersion ¶
func (s *UpdateSecretVersionStageRequest) SetMoveToVersion(v string) *UpdateSecretVersionStageRequest
func (*UpdateSecretVersionStageRequest) SetRemoveFromVersion ¶
func (s *UpdateSecretVersionStageRequest) SetRemoveFromVersion(v string) *UpdateSecretVersionStageRequest
func (*UpdateSecretVersionStageRequest) SetSecretName ¶
func (s *UpdateSecretVersionStageRequest) SetSecretName(v string) *UpdateSecretVersionStageRequest
func (*UpdateSecretVersionStageRequest) SetVersionStage ¶
func (s *UpdateSecretVersionStageRequest) SetVersionStage(v string) *UpdateSecretVersionStageRequest
func (UpdateSecretVersionStageRequest) String ¶
func (s UpdateSecretVersionStageRequest) String() string
type UpdateSecretVersionStageResponse ¶
type UpdateSecretVersionStageResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UpdateSecretVersionStageResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UpdateSecretVersionStageResponse) GoString ¶
func (s UpdateSecretVersionStageResponse) GoString() string
func (*UpdateSecretVersionStageResponse) SetBody ¶
func (s *UpdateSecretVersionStageResponse) SetBody(v *UpdateSecretVersionStageResponseBody) *UpdateSecretVersionStageResponse
func (*UpdateSecretVersionStageResponse) SetHeaders ¶
func (s *UpdateSecretVersionStageResponse) SetHeaders(v map[string]*string) *UpdateSecretVersionStageResponse
func (*UpdateSecretVersionStageResponse) SetStatusCode ¶
func (s *UpdateSecretVersionStageResponse) SetStatusCode(v int32) *UpdateSecretVersionStageResponse
func (UpdateSecretVersionStageResponse) String ¶
func (s UpdateSecretVersionStageResponse) String() string
type UpdateSecretVersionStageResponseBody ¶
type UpdateSecretVersionStageResponseBody struct { // The name of the secret. // // example: // // 8cad259f-4d77-40ec-bbd7-b9c47a423bb9 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The version to which you want to apply the specified stage label. // // > - You must specify at least one of the RemoveFromVersion and MoveToVersion parameters. // // > - If the VersionStage parameter is set to ACSCurrent or ACSPrevious, this parameter is required. // // example: // // secret001 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` }
func (UpdateSecretVersionStageResponseBody) GoString ¶
func (s UpdateSecretVersionStageResponseBody) GoString() string
func (*UpdateSecretVersionStageResponseBody) SetRequestId ¶
func (s *UpdateSecretVersionStageResponseBody) SetRequestId(v string) *UpdateSecretVersionStageResponseBody
func (*UpdateSecretVersionStageResponseBody) SetSecretName ¶
func (s *UpdateSecretVersionStageResponseBody) SetSecretName(v string) *UpdateSecretVersionStageResponseBody
func (UpdateSecretVersionStageResponseBody) String ¶
func (s UpdateSecretVersionStageResponseBody) String() string
type UploadCertificateRequest ¶
type UploadCertificateRequest struct { // The certificate issued by the CA, which is in the Privacy Enhanced Mail (PEM) format. // // This parameter is required. // // example: // // -----BEGIN CERTIFICATE----- (X.509 Certificate PEM Content) -----END CERTIFICATE----- Certificate *string `json:"Certificate,omitempty" xml:"Certificate,omitempty"` // The certificate chain issued by the CA, which is in the PEM format. // // example: // // -----BEGIN CERTIFICATE----- (Sub CA Certificate PEM Content) -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- (Sub CA Certificate PEM Content) -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- (Root CA Certificate PEM Content) -----END CERTIFICATE----- CertificateChain *string `json:"CertificateChain,omitempty" xml:"CertificateChain,omitempty"` // The ID of the certificate. The ID must be globally unique in Certificates Manager. // // This parameter is required. // // example: // // 12345678-1234-1234-1234-12345678**** CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"` }
func (UploadCertificateRequest) GoString ¶
func (s UploadCertificateRequest) GoString() string
func (*UploadCertificateRequest) SetCertificate ¶
func (s *UploadCertificateRequest) SetCertificate(v string) *UploadCertificateRequest
func (*UploadCertificateRequest) SetCertificateChain ¶
func (s *UploadCertificateRequest) SetCertificateChain(v string) *UploadCertificateRequest
func (*UploadCertificateRequest) SetCertificateId ¶
func (s *UploadCertificateRequest) SetCertificateId(v string) *UploadCertificateRequest
func (UploadCertificateRequest) String ¶
func (s UploadCertificateRequest) String() string
type UploadCertificateResponse ¶
type UploadCertificateResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UploadCertificateResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UploadCertificateResponse) GoString ¶
func (s UploadCertificateResponse) GoString() string
func (*UploadCertificateResponse) SetBody ¶
func (s *UploadCertificateResponse) SetBody(v *UploadCertificateResponseBody) *UploadCertificateResponse
func (*UploadCertificateResponse) SetHeaders ¶
func (s *UploadCertificateResponse) SetHeaders(v map[string]*string) *UploadCertificateResponse
func (*UploadCertificateResponse) SetStatusCode ¶
func (s *UploadCertificateResponse) SetStatusCode(v int32) *UploadCertificateResponse
func (UploadCertificateResponse) String ¶
func (s UploadCertificateResponse) String() string
type UploadCertificateResponseBody ¶
type UploadCertificateResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 15a735a1-8fe6-45cc-a64c-3c4ff839334e RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (UploadCertificateResponseBody) GoString ¶
func (s UploadCertificateResponseBody) GoString() string
func (*UploadCertificateResponseBody) SetRequestId ¶
func (s *UploadCertificateResponseBody) SetRequestId(v string) *UploadCertificateResponseBody
func (UploadCertificateResponseBody) String ¶
func (s UploadCertificateResponseBody) String() string