Documentation ¶
Overview ¶
Package kmsiface provides an interface to enable mocking the KMS service client for testing your code.
It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.
Index ¶
- Constants
- type ArchiveKeyInput
- type ArchiveKeyOutput
- type AsymmetricDecryptInput
- func (s AsymmetricDecryptInput) GoString() string
- func (s *AsymmetricDecryptInput) SetAlgorithm(v string) *AsymmetricDecryptInput
- func (s *AsymmetricDecryptInput) SetCiphertextBlob(v string) *AsymmetricDecryptInput
- func (s *AsymmetricDecryptInput) SetKeyID(v string) *AsymmetricDecryptInput
- func (s *AsymmetricDecryptInput) SetKeyName(v string) *AsymmetricDecryptInput
- func (s *AsymmetricDecryptInput) SetKeyringName(v string) *AsymmetricDecryptInput
- func (s AsymmetricDecryptInput) String() string
- func (s *AsymmetricDecryptInput) Validate() error
- type AsymmetricDecryptOutput
- type AsymmetricEncryptInput
- func (s AsymmetricEncryptInput) GoString() string
- func (s *AsymmetricEncryptInput) SetAlgorithm(v string) *AsymmetricEncryptInput
- func (s *AsymmetricEncryptInput) SetKeyID(v string) *AsymmetricEncryptInput
- func (s *AsymmetricEncryptInput) SetKeyName(v string) *AsymmetricEncryptInput
- func (s *AsymmetricEncryptInput) SetKeyringName(v string) *AsymmetricEncryptInput
- func (s *AsymmetricEncryptInput) SetPlaintext(v string) *AsymmetricEncryptInput
- func (s AsymmetricEncryptInput) String() string
- func (s *AsymmetricEncryptInput) Validate() error
- type AsymmetricEncryptOutput
- type AsymmetricSignInput
- func (s AsymmetricSignInput) GoString() string
- func (s *AsymmetricSignInput) SetAlgorithm(v string) *AsymmetricSignInput
- func (s *AsymmetricSignInput) SetKeyID(v string) *AsymmetricSignInput
- func (s *AsymmetricSignInput) SetKeyName(v string) *AsymmetricSignInput
- func (s *AsymmetricSignInput) SetKeyringName(v string) *AsymmetricSignInput
- func (s *AsymmetricSignInput) SetMessage(v string) *AsymmetricSignInput
- func (s *AsymmetricSignInput) SetMessageType(v string) *AsymmetricSignInput
- func (s AsymmetricSignInput) String() string
- func (s *AsymmetricSignInput) Validate() error
- type AsymmetricSignOutput
- type AsymmetricVerifyInput
- func (s AsymmetricVerifyInput) GoString() string
- func (s *AsymmetricVerifyInput) SetAlgorithm(v string) *AsymmetricVerifyInput
- func (s *AsymmetricVerifyInput) SetKeyID(v string) *AsymmetricVerifyInput
- func (s *AsymmetricVerifyInput) SetKeyName(v string) *AsymmetricVerifyInput
- func (s *AsymmetricVerifyInput) SetKeyringName(v string) *AsymmetricVerifyInput
- func (s *AsymmetricVerifyInput) SetMessage(v string) *AsymmetricVerifyInput
- func (s *AsymmetricVerifyInput) SetMessageType(v string) *AsymmetricVerifyInput
- func (s *AsymmetricVerifyInput) SetSignature(v string) *AsymmetricVerifyInput
- func (s AsymmetricVerifyInput) String() string
- func (s *AsymmetricVerifyInput) Validate() error
- type AsymmetricVerifyOutput
- type CancelArchiveKeyInput
- func (s CancelArchiveKeyInput) GoString() string
- func (s *CancelArchiveKeyInput) SetKeyName(v string) *CancelArchiveKeyInput
- func (s *CancelArchiveKeyInput) SetKeyringName(v string) *CancelArchiveKeyInput
- func (s CancelArchiveKeyInput) String() string
- func (s *CancelArchiveKeyInput) Validate() error
- type CancelArchiveKeyOutput
- type CancelKeyDeletionInput
- func (s CancelKeyDeletionInput) GoString() string
- func (s *CancelKeyDeletionInput) SetKeyName(v string) *CancelKeyDeletionInput
- func (s *CancelKeyDeletionInput) SetKeyringName(v string) *CancelKeyDeletionInput
- func (s CancelKeyDeletionInput) String() string
- func (s *CancelKeyDeletionInput) Validate() error
- type CancelKeyDeletionOutput
- type CreateKeyInput
- func (s CreateKeyInput) GoString() string
- func (s *CreateKeyInput) SetDescription(v string) *CreateKeyInput
- func (s *CreateKeyInput) SetKeyName(v string) *CreateKeyInput
- func (s *CreateKeyInput) SetKeySpec(v string) *CreateKeyInput
- func (s *CreateKeyInput) SetKeyUsage(v string) *CreateKeyInput
- func (s *CreateKeyInput) SetKeyringName(v string) *CreateKeyInput
- func (s *CreateKeyInput) SetOrigin(v string) *CreateKeyInput
- func (s *CreateKeyInput) SetProtectionLevel(v string) *CreateKeyInput
- func (s *CreateKeyInput) SetRotateState(v string) *CreateKeyInput
- func (s CreateKeyInput) String() string
- func (s *CreateKeyInput) Validate() error
- type CreateKeyOutput
- type CreateKeyringInput
- func (s CreateKeyringInput) GoString() string
- func (s *CreateKeyringInput) SetDescription(v string) *CreateKeyringInput
- func (s *CreateKeyringInput) SetKeyringName(v string) *CreateKeyringInput
- func (s *CreateKeyringInput) SetKeyringType(v string) *CreateKeyringInput
- func (s *CreateKeyringInput) SetProjectName(v string) *CreateKeyringInput
- func (s CreateKeyringInput) String() string
- func (s *CreateKeyringInput) Validate() error
- type CreateKeyringOutput
- type DecryptInput
- type DecryptOutput
- type DeleteKeyMaterialInput
- func (s DeleteKeyMaterialInput) GoString() string
- func (s *DeleteKeyMaterialInput) SetKeyName(v string) *DeleteKeyMaterialInput
- func (s *DeleteKeyMaterialInput) SetKeyringName(v string) *DeleteKeyMaterialInput
- func (s DeleteKeyMaterialInput) String() string
- func (s *DeleteKeyMaterialInput) Validate() error
- type DeleteKeyMaterialOutput
- type DeleteKeyringInput
- type DeleteKeyringOutput
- type DescribeKeyInput
- type DescribeKeyOutput
- type DescribeKeyringsInput
- func (s DescribeKeyringsInput) GoString() string
- func (s *DescribeKeyringsInput) SetCurrentPage(v int32) *DescribeKeyringsInput
- func (s *DescribeKeyringsInput) SetPageSize(v int32) *DescribeKeyringsInput
- func (s *DescribeKeyringsInput) SetProjectName(v string) *DescribeKeyringsInput
- func (s DescribeKeyringsInput) String() string
- func (s *DescribeKeyringsInput) Validate() error
- type DescribeKeyringsOutput
- func (s DescribeKeyringsOutput) GoString() string
- func (s *DescribeKeyringsOutput) SetKeyrings(v []*KeyringForDescribeKeyringsOutput) *DescribeKeyringsOutput
- func (s *DescribeKeyringsOutput) SetPageInfo(v *PageInfoForDescribeKeyringsOutput) *DescribeKeyringsOutput
- func (s DescribeKeyringsOutput) String() string
- type DescribeKeysInput
- func (s DescribeKeysInput) GoString() string
- func (s *DescribeKeysInput) SetCurrentPage(v int32) *DescribeKeysInput
- func (s *DescribeKeysInput) SetKeyringName(v string) *DescribeKeysInput
- func (s *DescribeKeysInput) SetPageSize(v int32) *DescribeKeysInput
- func (s DescribeKeysInput) String() string
- func (s *DescribeKeysInput) Validate() error
- type DescribeKeysOutput
- type DescribeRegionsInput
- type DescribeRegionsOutput
- type DisableKeyInput
- type DisableKeyOutput
- type DisableKeyRotationInput
- func (s DisableKeyRotationInput) GoString() string
- func (s *DisableKeyRotationInput) SetKeyName(v string) *DisableKeyRotationInput
- func (s *DisableKeyRotationInput) SetKeyringName(v string) *DisableKeyRotationInput
- func (s DisableKeyRotationInput) String() string
- func (s *DisableKeyRotationInput) Validate() error
- type DisableKeyRotationOutput
- type EnableKeyInput
- type EnableKeyOutput
- type EnableKeyRotationInput
- func (s EnableKeyRotationInput) GoString() string
- func (s *EnableKeyRotationInput) SetKeyName(v string) *EnableKeyRotationInput
- func (s *EnableKeyRotationInput) SetKeyringName(v string) *EnableKeyRotationInput
- func (s EnableKeyRotationInput) String() string
- func (s *EnableKeyRotationInput) Validate() error
- type EnableKeyRotationOutput
- type EncryptInput
- func (s EncryptInput) GoString() string
- func (s *EncryptInput) SetEncryptionContext(v string) *EncryptInput
- func (s *EncryptInput) SetKeyID(v string) *EncryptInput
- func (s *EncryptInput) SetKeyName(v string) *EncryptInput
- func (s *EncryptInput) SetKeyringName(v string) *EncryptInput
- func (s *EncryptInput) SetPlaintext(v string) *EncryptInput
- func (s EncryptInput) String() string
- func (s *EncryptInput) Validate() error
- type EncryptOutput
- type GenerateDataKeyInput
- func (s GenerateDataKeyInput) GoString() string
- func (s *GenerateDataKeyInput) SetEncryptionContext(v string) *GenerateDataKeyInput
- func (s *GenerateDataKeyInput) SetKeyID(v string) *GenerateDataKeyInput
- func (s *GenerateDataKeyInput) SetKeyName(v string) *GenerateDataKeyInput
- func (s *GenerateDataKeyInput) SetKeyringName(v string) *GenerateDataKeyInput
- func (s *GenerateDataKeyInput) SetNumberOfBytes(v int32) *GenerateDataKeyInput
- func (s GenerateDataKeyInput) String() string
- func (s *GenerateDataKeyInput) Validate() error
- type GenerateDataKeyOutput
- type GetParametersForImportInput
- func (s GetParametersForImportInput) GoString() string
- func (s *GetParametersForImportInput) SetKeyName(v string) *GetParametersForImportInput
- func (s *GetParametersForImportInput) SetKeyringName(v string) *GetParametersForImportInput
- func (s *GetParametersForImportInput) SetWrappingAlgorithm(v string) *GetParametersForImportInput
- func (s *GetParametersForImportInput) SetWrappingKeySpec(v string) *GetParametersForImportInput
- func (s GetParametersForImportInput) String() string
- func (s *GetParametersForImportInput) Validate() error
- type GetParametersForImportOutput
- func (s GetParametersForImportOutput) GoString() string
- func (s *GetParametersForImportOutput) SetImportToken(v string) *GetParametersForImportOutput
- func (s *GetParametersForImportOutput) SetKeyID(v string) *GetParametersForImportOutput
- func (s *GetParametersForImportOutput) SetKeyringID(v string) *GetParametersForImportOutput
- func (s *GetParametersForImportOutput) SetPublicKey(v string) *GetParametersForImportOutput
- func (s *GetParametersForImportOutput) SetTokenExpireTime(v string) *GetParametersForImportOutput
- func (s GetParametersForImportOutput) String() string
- type GetPublicKeyInput
- func (s GetPublicKeyInput) GoString() string
- func (s *GetPublicKeyInput) SetKeyID(v string) *GetPublicKeyInput
- func (s *GetPublicKeyInput) SetKeyName(v string) *GetPublicKeyInput
- func (s *GetPublicKeyInput) SetKeyringName(v string) *GetPublicKeyInput
- func (s GetPublicKeyInput) String() string
- func (s *GetPublicKeyInput) Validate() error
- type GetPublicKeyOutput
- type ImportKeyMaterialInput
- func (s ImportKeyMaterialInput) GoString() string
- func (s *ImportKeyMaterialInput) SetEncryptedKeyMaterial(v string) *ImportKeyMaterialInput
- func (s *ImportKeyMaterialInput) SetExpirationModel(v string) *ImportKeyMaterialInput
- func (s *ImportKeyMaterialInput) SetImportToken(v string) *ImportKeyMaterialInput
- func (s *ImportKeyMaterialInput) SetKeyName(v string) *ImportKeyMaterialInput
- func (s *ImportKeyMaterialInput) SetKeyringName(v string) *ImportKeyMaterialInput
- func (s *ImportKeyMaterialInput) SetValidTo(v int64) *ImportKeyMaterialInput
- func (s ImportKeyMaterialInput) String() string
- func (s *ImportKeyMaterialInput) Validate() error
- type ImportKeyMaterialOutput
- type KMS
- func (c *KMS) ArchiveKey(input *ArchiveKeyInput) (*ArchiveKeyOutput, error)
- func (c *KMS) ArchiveKeyCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) ArchiveKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) ArchiveKeyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) ArchiveKeyRequest(input *ArchiveKeyInput) (req *request.Request, output *ArchiveKeyOutput)
- func (c *KMS) ArchiveKeyWithContext(ctx volcengine.Context, input *ArchiveKeyInput, opts ...request.Option) (*ArchiveKeyOutput, error)
- func (c *KMS) AsymmetricDecrypt(input *AsymmetricDecryptInput) (*AsymmetricDecryptOutput, error)
- func (c *KMS) AsymmetricDecryptCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) AsymmetricDecryptCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) AsymmetricDecryptCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) AsymmetricDecryptRequest(input *AsymmetricDecryptInput) (req *request.Request, output *AsymmetricDecryptOutput)
- func (c *KMS) AsymmetricDecryptWithContext(ctx volcengine.Context, input *AsymmetricDecryptInput, opts ...request.Option) (*AsymmetricDecryptOutput, error)
- func (c *KMS) AsymmetricEncrypt(input *AsymmetricEncryptInput) (*AsymmetricEncryptOutput, error)
- func (c *KMS) AsymmetricEncryptCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) AsymmetricEncryptCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) AsymmetricEncryptCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) AsymmetricEncryptRequest(input *AsymmetricEncryptInput) (req *request.Request, output *AsymmetricEncryptOutput)
- func (c *KMS) AsymmetricEncryptWithContext(ctx volcengine.Context, input *AsymmetricEncryptInput, opts ...request.Option) (*AsymmetricEncryptOutput, error)
- func (c *KMS) AsymmetricSign(input *AsymmetricSignInput) (*AsymmetricSignOutput, error)
- func (c *KMS) AsymmetricSignCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) AsymmetricSignCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) AsymmetricSignCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) AsymmetricSignRequest(input *AsymmetricSignInput) (req *request.Request, output *AsymmetricSignOutput)
- func (c *KMS) AsymmetricSignWithContext(ctx volcengine.Context, input *AsymmetricSignInput, opts ...request.Option) (*AsymmetricSignOutput, error)
- func (c *KMS) AsymmetricVerify(input *AsymmetricVerifyInput) (*AsymmetricVerifyOutput, error)
- func (c *KMS) AsymmetricVerifyCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) AsymmetricVerifyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) AsymmetricVerifyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) AsymmetricVerifyRequest(input *AsymmetricVerifyInput) (req *request.Request, output *AsymmetricVerifyOutput)
- func (c *KMS) AsymmetricVerifyWithContext(ctx volcengine.Context, input *AsymmetricVerifyInput, opts ...request.Option) (*AsymmetricVerifyOutput, error)
- func (c *KMS) CancelArchiveKey(input *CancelArchiveKeyInput) (*CancelArchiveKeyOutput, error)
- func (c *KMS) CancelArchiveKeyCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) CancelArchiveKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) CancelArchiveKeyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) CancelArchiveKeyRequest(input *CancelArchiveKeyInput) (req *request.Request, output *CancelArchiveKeyOutput)
- func (c *KMS) CancelArchiveKeyWithContext(ctx volcengine.Context, input *CancelArchiveKeyInput, opts ...request.Option) (*CancelArchiveKeyOutput, error)
- func (c *KMS) CancelKeyDeletion(input *CancelKeyDeletionInput) (*CancelKeyDeletionOutput, error)
- func (c *KMS) CancelKeyDeletionCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) CancelKeyDeletionCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) CancelKeyDeletionCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) CancelKeyDeletionRequest(input *CancelKeyDeletionInput) (req *request.Request, output *CancelKeyDeletionOutput)
- func (c *KMS) CancelKeyDeletionWithContext(ctx volcengine.Context, input *CancelKeyDeletionInput, opts ...request.Option) (*CancelKeyDeletionOutput, error)
- func (c *KMS) CreateKey(input *CreateKeyInput) (*CreateKeyOutput, error)
- func (c *KMS) CreateKeyCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) CreateKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) CreateKeyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) CreateKeyRequest(input *CreateKeyInput) (req *request.Request, output *CreateKeyOutput)
- func (c *KMS) CreateKeyWithContext(ctx volcengine.Context, input *CreateKeyInput, opts ...request.Option) (*CreateKeyOutput, error)
- func (c *KMS) CreateKeyring(input *CreateKeyringInput) (*CreateKeyringOutput, error)
- func (c *KMS) CreateKeyringCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) CreateKeyringCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) CreateKeyringCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) CreateKeyringRequest(input *CreateKeyringInput) (req *request.Request, output *CreateKeyringOutput)
- func (c *KMS) CreateKeyringWithContext(ctx volcengine.Context, input *CreateKeyringInput, opts ...request.Option) (*CreateKeyringOutput, error)
- func (c *KMS) Decrypt(input *DecryptInput) (*DecryptOutput, error)
- func (c *KMS) DecryptCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) DecryptCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) DecryptCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) DecryptRequest(input *DecryptInput) (req *request.Request, output *DecryptOutput)
- func (c *KMS) DecryptWithContext(ctx volcengine.Context, input *DecryptInput, opts ...request.Option) (*DecryptOutput, error)
- func (c *KMS) DeleteKeyMaterial(input *DeleteKeyMaterialInput) (*DeleteKeyMaterialOutput, error)
- func (c *KMS) DeleteKeyMaterialCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) DeleteKeyMaterialCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) DeleteKeyMaterialCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) DeleteKeyMaterialRequest(input *DeleteKeyMaterialInput) (req *request.Request, output *DeleteKeyMaterialOutput)
- func (c *KMS) DeleteKeyMaterialWithContext(ctx volcengine.Context, input *DeleteKeyMaterialInput, opts ...request.Option) (*DeleteKeyMaterialOutput, error)
- func (c *KMS) DeleteKeyring(input *DeleteKeyringInput) (*DeleteKeyringOutput, error)
- func (c *KMS) DeleteKeyringCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) DeleteKeyringCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) DeleteKeyringCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) DeleteKeyringRequest(input *DeleteKeyringInput) (req *request.Request, output *DeleteKeyringOutput)
- func (c *KMS) DeleteKeyringWithContext(ctx volcengine.Context, input *DeleteKeyringInput, opts ...request.Option) (*DeleteKeyringOutput, error)
- func (c *KMS) DescribeKey(input *DescribeKeyInput) (*DescribeKeyOutput, error)
- func (c *KMS) DescribeKeyCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) DescribeKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) DescribeKeyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) DescribeKeyRequest(input *DescribeKeyInput) (req *request.Request, output *DescribeKeyOutput)
- func (c *KMS) DescribeKeyWithContext(ctx volcengine.Context, input *DescribeKeyInput, opts ...request.Option) (*DescribeKeyOutput, error)
- func (c *KMS) DescribeKeyrings(input *DescribeKeyringsInput) (*DescribeKeyringsOutput, error)
- func (c *KMS) DescribeKeyringsCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) DescribeKeyringsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) DescribeKeyringsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) DescribeKeyringsRequest(input *DescribeKeyringsInput) (req *request.Request, output *DescribeKeyringsOutput)
- func (c *KMS) DescribeKeyringsWithContext(ctx volcengine.Context, input *DescribeKeyringsInput, opts ...request.Option) (*DescribeKeyringsOutput, error)
- func (c *KMS) DescribeKeys(input *DescribeKeysInput) (*DescribeKeysOutput, error)
- func (c *KMS) DescribeKeysCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) DescribeKeysCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) DescribeKeysCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) DescribeKeysRequest(input *DescribeKeysInput) (req *request.Request, output *DescribeKeysOutput)
- func (c *KMS) DescribeKeysWithContext(ctx volcengine.Context, input *DescribeKeysInput, opts ...request.Option) (*DescribeKeysOutput, error)
- func (c *KMS) DescribeRegions(input *DescribeRegionsInput) (*DescribeRegionsOutput, error)
- func (c *KMS) DescribeRegionsCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) DescribeRegionsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) DescribeRegionsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) DescribeRegionsRequest(input *DescribeRegionsInput) (req *request.Request, output *DescribeRegionsOutput)
- func (c *KMS) DescribeRegionsWithContext(ctx volcengine.Context, input *DescribeRegionsInput, opts ...request.Option) (*DescribeRegionsOutput, error)
- func (c *KMS) DisableKey(input *DisableKeyInput) (*DisableKeyOutput, error)
- func (c *KMS) DisableKeyCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) DisableKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) DisableKeyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) DisableKeyRequest(input *DisableKeyInput) (req *request.Request, output *DisableKeyOutput)
- func (c *KMS) DisableKeyRotation(input *DisableKeyRotationInput) (*DisableKeyRotationOutput, error)
- func (c *KMS) DisableKeyRotationCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) DisableKeyRotationCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) DisableKeyRotationCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) DisableKeyRotationRequest(input *DisableKeyRotationInput) (req *request.Request, output *DisableKeyRotationOutput)
- func (c *KMS) DisableKeyRotationWithContext(ctx volcengine.Context, input *DisableKeyRotationInput, opts ...request.Option) (*DisableKeyRotationOutput, error)
- func (c *KMS) DisableKeyWithContext(ctx volcengine.Context, input *DisableKeyInput, opts ...request.Option) (*DisableKeyOutput, error)
- func (c *KMS) EnableKey(input *EnableKeyInput) (*EnableKeyOutput, error)
- func (c *KMS) EnableKeyCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) EnableKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) EnableKeyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) EnableKeyRequest(input *EnableKeyInput) (req *request.Request, output *EnableKeyOutput)
- func (c *KMS) EnableKeyRotation(input *EnableKeyRotationInput) (*EnableKeyRotationOutput, error)
- func (c *KMS) EnableKeyRotationCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) EnableKeyRotationCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) EnableKeyRotationCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) EnableKeyRotationRequest(input *EnableKeyRotationInput) (req *request.Request, output *EnableKeyRotationOutput)
- func (c *KMS) EnableKeyRotationWithContext(ctx volcengine.Context, input *EnableKeyRotationInput, opts ...request.Option) (*EnableKeyRotationOutput, error)
- func (c *KMS) EnableKeyWithContext(ctx volcengine.Context, input *EnableKeyInput, opts ...request.Option) (*EnableKeyOutput, error)
- func (c *KMS) Encrypt(input *EncryptInput) (*EncryptOutput, error)
- func (c *KMS) EncryptCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) EncryptCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) EncryptCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) EncryptRequest(input *EncryptInput) (req *request.Request, output *EncryptOutput)
- func (c *KMS) EncryptWithContext(ctx volcengine.Context, input *EncryptInput, opts ...request.Option) (*EncryptOutput, error)
- func (c *KMS) GenerateDataKey(input *GenerateDataKeyInput) (*GenerateDataKeyOutput, error)
- func (c *KMS) GenerateDataKeyCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) GenerateDataKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) GenerateDataKeyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) GenerateDataKeyRequest(input *GenerateDataKeyInput) (req *request.Request, output *GenerateDataKeyOutput)
- func (c *KMS) GenerateDataKeyWithContext(ctx volcengine.Context, input *GenerateDataKeyInput, opts ...request.Option) (*GenerateDataKeyOutput, error)
- func (c *KMS) GetParametersForImport(input *GetParametersForImportInput) (*GetParametersForImportOutput, error)
- func (c *KMS) GetParametersForImportCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) GetParametersForImportCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) GetParametersForImportCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) GetParametersForImportRequest(input *GetParametersForImportInput) (req *request.Request, output *GetParametersForImportOutput)
- func (c *KMS) GetParametersForImportWithContext(ctx volcengine.Context, input *GetParametersForImportInput, ...) (*GetParametersForImportOutput, error)
- func (c *KMS) GetPublicKey(input *GetPublicKeyInput) (*GetPublicKeyOutput, error)
- func (c *KMS) GetPublicKeyCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) GetPublicKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) GetPublicKeyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) GetPublicKeyRequest(input *GetPublicKeyInput) (req *request.Request, output *GetPublicKeyOutput)
- func (c *KMS) GetPublicKeyWithContext(ctx volcengine.Context, input *GetPublicKeyInput, opts ...request.Option) (*GetPublicKeyOutput, error)
- func (c *KMS) ImportKeyMaterial(input *ImportKeyMaterialInput) (*ImportKeyMaterialOutput, error)
- func (c *KMS) ImportKeyMaterialCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) ImportKeyMaterialCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) ImportKeyMaterialCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) ImportKeyMaterialRequest(input *ImportKeyMaterialInput) (req *request.Request, output *ImportKeyMaterialOutput)
- func (c *KMS) ImportKeyMaterialWithContext(ctx volcengine.Context, input *ImportKeyMaterialInput, opts ...request.Option) (*ImportKeyMaterialOutput, error)
- func (c *KMS) QueryKeyring(input *QueryKeyringInput) (*QueryKeyringOutput, error)
- func (c *KMS) QueryKeyringCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) QueryKeyringCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) QueryKeyringCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) QueryKeyringRequest(input *QueryKeyringInput) (req *request.Request, output *QueryKeyringOutput)
- func (c *KMS) QueryKeyringWithContext(ctx volcengine.Context, input *QueryKeyringInput, opts ...request.Option) (*QueryKeyringOutput, error)
- func (c *KMS) ReEncrypt(input *ReEncryptInput) (*ReEncryptOutput, error)
- func (c *KMS) ReEncryptCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) ReEncryptCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) ReEncryptCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) ReEncryptRequest(input *ReEncryptInput) (req *request.Request, output *ReEncryptOutput)
- func (c *KMS) ReEncryptWithContext(ctx volcengine.Context, input *ReEncryptInput, opts ...request.Option) (*ReEncryptOutput, error)
- func (c *KMS) ScheduleKeyDeletion(input *ScheduleKeyDeletionInput) (*ScheduleKeyDeletionOutput, error)
- func (c *KMS) ScheduleKeyDeletionCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) ScheduleKeyDeletionCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) ScheduleKeyDeletionCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) ScheduleKeyDeletionRequest(input *ScheduleKeyDeletionInput) (req *request.Request, output *ScheduleKeyDeletionOutput)
- func (c *KMS) ScheduleKeyDeletionWithContext(ctx volcengine.Context, input *ScheduleKeyDeletionInput, ...) (*ScheduleKeyDeletionOutput, error)
- func (c *KMS) UpdateKey(input *UpdateKeyInput) (*UpdateKeyOutput, error)
- func (c *KMS) UpdateKeyCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) UpdateKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) UpdateKeyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) UpdateKeyRequest(input *UpdateKeyInput) (req *request.Request, output *UpdateKeyOutput)
- func (c *KMS) UpdateKeyWithContext(ctx volcengine.Context, input *UpdateKeyInput, opts ...request.Option) (*UpdateKeyOutput, error)
- func (c *KMS) UpdateKeyring(input *UpdateKeyringInput) (*UpdateKeyringOutput, error)
- func (c *KMS) UpdateKeyringCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *KMS) UpdateKeyringCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *KMS) UpdateKeyringCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *KMS) UpdateKeyringRequest(input *UpdateKeyringInput) (req *request.Request, output *UpdateKeyringOutput)
- func (c *KMS) UpdateKeyringWithContext(ctx volcengine.Context, input *UpdateKeyringInput, opts ...request.Option) (*UpdateKeyringOutput, error)
- type KMSAPI
- type KeyForCreateKeyOutput
- func (s KeyForCreateKeyOutput) GoString() string
- func (s *KeyForCreateKeyOutput) SetCreationDate(v int64) *KeyForCreateKeyOutput
- func (s *KeyForCreateKeyOutput) SetDescription(v string) *KeyForCreateKeyOutput
- func (s *KeyForCreateKeyOutput) SetEncryptionAlgorithms(v string) *KeyForCreateKeyOutput
- func (s *KeyForCreateKeyOutput) SetID(v string) *KeyForCreateKeyOutput
- func (s *KeyForCreateKeyOutput) SetKeyMaterialExpireTime(v string) *KeyForCreateKeyOutput
- func (s *KeyForCreateKeyOutput) SetKeyName(v string) *KeyForCreateKeyOutput
- func (s *KeyForCreateKeyOutput) SetKeySpec(v string) *KeyForCreateKeyOutput
- func (s *KeyForCreateKeyOutput) SetKeyState(v string) *KeyForCreateKeyOutput
- func (s *KeyForCreateKeyOutput) SetKeyUsage(v string) *KeyForCreateKeyOutput
- func (s *KeyForCreateKeyOutput) SetLastRotationTime(v string) *KeyForCreateKeyOutput
- func (s *KeyForCreateKeyOutput) SetOrigin(v string) *KeyForCreateKeyOutput
- func (s *KeyForCreateKeyOutput) SetProtectionLevel(v string) *KeyForCreateKeyOutput
- func (s *KeyForCreateKeyOutput) SetRotationState(v string) *KeyForCreateKeyOutput
- func (s *KeyForCreateKeyOutput) SetScheduleDeleteTime(v string) *KeyForCreateKeyOutput
- func (s *KeyForCreateKeyOutput) SetScheduleRotationTime(v string) *KeyForCreateKeyOutput
- func (s *KeyForCreateKeyOutput) SetTrn(v string) *KeyForCreateKeyOutput
- func (s *KeyForCreateKeyOutput) SetUpdateDate(v int64) *KeyForCreateKeyOutput
- func (s KeyForCreateKeyOutput) String() string
- type KeyForDescribeKeyOutput
- func (s KeyForDescribeKeyOutput) GoString() string
- func (s *KeyForDescribeKeyOutput) SetCreationDate(v int64) *KeyForDescribeKeyOutput
- func (s *KeyForDescribeKeyOutput) SetDescription(v string) *KeyForDescribeKeyOutput
- func (s *KeyForDescribeKeyOutput) SetEncryptionAlgorithms(v string) *KeyForDescribeKeyOutput
- func (s *KeyForDescribeKeyOutput) SetID(v string) *KeyForDescribeKeyOutput
- func (s *KeyForDescribeKeyOutput) SetKeyMaterialExpireTime(v string) *KeyForDescribeKeyOutput
- func (s *KeyForDescribeKeyOutput) SetKeyName(v string) *KeyForDescribeKeyOutput
- func (s *KeyForDescribeKeyOutput) SetKeySpec(v string) *KeyForDescribeKeyOutput
- func (s *KeyForDescribeKeyOutput) SetKeyState(v string) *KeyForDescribeKeyOutput
- func (s *KeyForDescribeKeyOutput) SetKeyUsage(v string) *KeyForDescribeKeyOutput
- func (s *KeyForDescribeKeyOutput) SetLastRotationTime(v string) *KeyForDescribeKeyOutput
- func (s *KeyForDescribeKeyOutput) SetOrigin(v string) *KeyForDescribeKeyOutput
- func (s *KeyForDescribeKeyOutput) SetProtectionLevel(v string) *KeyForDescribeKeyOutput
- func (s *KeyForDescribeKeyOutput) SetRotationState(v string) *KeyForDescribeKeyOutput
- func (s *KeyForDescribeKeyOutput) SetScheduleDeleteTime(v string) *KeyForDescribeKeyOutput
- func (s *KeyForDescribeKeyOutput) SetScheduleRotationTime(v string) *KeyForDescribeKeyOutput
- func (s *KeyForDescribeKeyOutput) SetTrn(v string) *KeyForDescribeKeyOutput
- func (s *KeyForDescribeKeyOutput) SetUpdateDate(v int64) *KeyForDescribeKeyOutput
- func (s KeyForDescribeKeyOutput) String() string
- type KeyForDescribeKeysOutput
- func (s KeyForDescribeKeysOutput) GoString() string
- func (s *KeyForDescribeKeysOutput) SetCreationDate(v int64) *KeyForDescribeKeysOutput
- func (s *KeyForDescribeKeysOutput) SetDescription(v string) *KeyForDescribeKeysOutput
- func (s *KeyForDescribeKeysOutput) SetEncryptionAlgorithms(v string) *KeyForDescribeKeysOutput
- func (s *KeyForDescribeKeysOutput) SetID(v string) *KeyForDescribeKeysOutput
- func (s *KeyForDescribeKeysOutput) SetKeyMaterialExpireTime(v string) *KeyForDescribeKeysOutput
- func (s *KeyForDescribeKeysOutput) SetKeyName(v string) *KeyForDescribeKeysOutput
- func (s *KeyForDescribeKeysOutput) SetKeySpec(v string) *KeyForDescribeKeysOutput
- func (s *KeyForDescribeKeysOutput) SetKeyState(v string) *KeyForDescribeKeysOutput
- func (s *KeyForDescribeKeysOutput) SetKeyUsage(v string) *KeyForDescribeKeysOutput
- func (s *KeyForDescribeKeysOutput) SetLastRotationTime(v string) *KeyForDescribeKeysOutput
- func (s *KeyForDescribeKeysOutput) SetOrigin(v string) *KeyForDescribeKeysOutput
- func (s *KeyForDescribeKeysOutput) SetProtectionLevel(v string) *KeyForDescribeKeysOutput
- func (s *KeyForDescribeKeysOutput) SetRotationState(v string) *KeyForDescribeKeysOutput
- func (s *KeyForDescribeKeysOutput) SetScheduleDeleteTime(v string) *KeyForDescribeKeysOutput
- func (s *KeyForDescribeKeysOutput) SetScheduleRotationTime(v string) *KeyForDescribeKeysOutput
- func (s *KeyForDescribeKeysOutput) SetTrn(v string) *KeyForDescribeKeysOutput
- func (s *KeyForDescribeKeysOutput) SetUpdateDate(v int64) *KeyForDescribeKeysOutput
- func (s KeyForDescribeKeysOutput) String() string
- type KeyringForCreateKeyringOutput
- func (s KeyringForCreateKeyringOutput) GoString() string
- func (s *KeyringForCreateKeyringOutput) SetCreationDate(v int64) *KeyringForCreateKeyringOutput
- func (s *KeyringForCreateKeyringOutput) SetDescription(v string) *KeyringForCreateKeyringOutput
- func (s *KeyringForCreateKeyringOutput) SetID(v string) *KeyringForCreateKeyringOutput
- func (s *KeyringForCreateKeyringOutput) SetKeyringName(v string) *KeyringForCreateKeyringOutput
- func (s *KeyringForCreateKeyringOutput) SetKeyringType(v string) *KeyringForCreateKeyringOutput
- func (s *KeyringForCreateKeyringOutput) SetTRN(v string) *KeyringForCreateKeyringOutput
- func (s *KeyringForCreateKeyringOutput) SetUID(v string) *KeyringForCreateKeyringOutput
- func (s *KeyringForCreateKeyringOutput) SetUpdateDate(v int64) *KeyringForCreateKeyringOutput
- func (s KeyringForCreateKeyringOutput) String() string
- type KeyringForDescribeKeyringsOutput
- func (s KeyringForDescribeKeyringsOutput) GoString() string
- func (s *KeyringForDescribeKeyringsOutput) SetCreationDate(v int64) *KeyringForDescribeKeyringsOutput
- func (s *KeyringForDescribeKeyringsOutput) SetDescription(v string) *KeyringForDescribeKeyringsOutput
- func (s *KeyringForDescribeKeyringsOutput) SetID(v string) *KeyringForDescribeKeyringsOutput
- func (s *KeyringForDescribeKeyringsOutput) SetKeyCount(v string) *KeyringForDescribeKeyringsOutput
- func (s *KeyringForDescribeKeyringsOutput) SetKeyringName(v string) *KeyringForDescribeKeyringsOutput
- func (s *KeyringForDescribeKeyringsOutput) SetKeyringType(v string) *KeyringForDescribeKeyringsOutput
- func (s *KeyringForDescribeKeyringsOutput) SetTRN(v string) *KeyringForDescribeKeyringsOutput
- func (s *KeyringForDescribeKeyringsOutput) SetUID(v string) *KeyringForDescribeKeyringsOutput
- func (s *KeyringForDescribeKeyringsOutput) SetUpdateDate(v int64) *KeyringForDescribeKeyringsOutput
- func (s KeyringForDescribeKeyringsOutput) String() string
- type KeyringForQueryKeyringOutput
- func (s KeyringForQueryKeyringOutput) GoString() string
- func (s *KeyringForQueryKeyringOutput) SetCreationDate(v int64) *KeyringForQueryKeyringOutput
- func (s *KeyringForQueryKeyringOutput) SetDescription(v string) *KeyringForQueryKeyringOutput
- func (s *KeyringForQueryKeyringOutput) SetID(v string) *KeyringForQueryKeyringOutput
- func (s *KeyringForQueryKeyringOutput) SetKeyringName(v string) *KeyringForQueryKeyringOutput
- func (s *KeyringForQueryKeyringOutput) SetKeyringType(v string) *KeyringForQueryKeyringOutput
- func (s *KeyringForQueryKeyringOutput) SetProjectName(v string) *KeyringForQueryKeyringOutput
- func (s *KeyringForQueryKeyringOutput) SetTRN(v string) *KeyringForQueryKeyringOutput
- func (s *KeyringForQueryKeyringOutput) SetUID(v string) *KeyringForQueryKeyringOutput
- func (s *KeyringForQueryKeyringOutput) SetUpdateDate(v int64) *KeyringForQueryKeyringOutput
- func (s KeyringForQueryKeyringOutput) String() string
- type PageInfoForDescribeKeyringsOutput
- func (s PageInfoForDescribeKeyringsOutput) GoString() string
- func (s *PageInfoForDescribeKeyringsOutput) SetCount(v int32) *PageInfoForDescribeKeyringsOutput
- func (s *PageInfoForDescribeKeyringsOutput) SetCurrentPage(v int32) *PageInfoForDescribeKeyringsOutput
- func (s *PageInfoForDescribeKeyringsOutput) SetPageSize(v int32) *PageInfoForDescribeKeyringsOutput
- func (s *PageInfoForDescribeKeyringsOutput) SetTotalCount(v int32) *PageInfoForDescribeKeyringsOutput
- func (s PageInfoForDescribeKeyringsOutput) String() string
- type PageInfoForDescribeKeysOutput
- func (s PageInfoForDescribeKeysOutput) GoString() string
- func (s *PageInfoForDescribeKeysOutput) SetCount(v int32) *PageInfoForDescribeKeysOutput
- func (s *PageInfoForDescribeKeysOutput) SetCurrentPage(v int32) *PageInfoForDescribeKeysOutput
- func (s *PageInfoForDescribeKeysOutput) SetPageSize(v int32) *PageInfoForDescribeKeysOutput
- func (s *PageInfoForDescribeKeysOutput) SetTotalCount(v int32) *PageInfoForDescribeKeysOutput
- func (s PageInfoForDescribeKeysOutput) String() string
- type QueryKeyringInput
- type QueryKeyringOutput
- type ReEncryptInput
- func (s ReEncryptInput) GoString() string
- func (s *ReEncryptInput) SetCiphertextBlob(v string) *ReEncryptInput
- func (s *ReEncryptInput) SetNewEncryptionContext(v string) *ReEncryptInput
- func (s *ReEncryptInput) SetNewKeyName(v string) *ReEncryptInput
- func (s *ReEncryptInput) SetNewKeyringName(v string) *ReEncryptInput
- func (s *ReEncryptInput) SetOldEncryptionContext(v string) *ReEncryptInput
- func (s ReEncryptInput) String() string
- func (s *ReEncryptInput) Validate() error
- type ReEncryptOutput
- type RegionForDescribeRegionsOutput
- type ScheduleKeyDeletionInput
- func (s ScheduleKeyDeletionInput) GoString() string
- func (s *ScheduleKeyDeletionInput) SetKeyName(v string) *ScheduleKeyDeletionInput
- func (s *ScheduleKeyDeletionInput) SetKeyringName(v string) *ScheduleKeyDeletionInput
- func (s *ScheduleKeyDeletionInput) SetPendingWindowInDays(v int32) *ScheduleKeyDeletionInput
- func (s ScheduleKeyDeletionInput) String() string
- func (s *ScheduleKeyDeletionInput) Validate() error
- type ScheduleKeyDeletionOutput
- type UpdateKeyInput
- func (s UpdateKeyInput) GoString() string
- func (s *UpdateKeyInput) SetDescription(v string) *UpdateKeyInput
- func (s *UpdateKeyInput) SetKeyName(v string) *UpdateKeyInput
- func (s *UpdateKeyInput) SetKeyringName(v string) *UpdateKeyInput
- func (s *UpdateKeyInput) SetNewKeyName(v string) *UpdateKeyInput
- func (s UpdateKeyInput) String() string
- func (s *UpdateKeyInput) Validate() error
- type UpdateKeyOutput
- type UpdateKeyringInput
- type UpdateKeyringOutput
Constants ¶
const ( ServiceName = "kms" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "kms" // ServiceID is a unique identifer of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveKeyInput ¶
type ArchiveKeyInput struct { // KeyName is a required field KeyName *string `min:"2" max:"31" type:"string" required:"true"` // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` // contains filtered or unexported fields }
func (ArchiveKeyInput) GoString ¶
func (s ArchiveKeyInput) GoString() string
GoString returns the string representation
func (*ArchiveKeyInput) SetKeyName ¶
func (s *ArchiveKeyInput) SetKeyName(v string) *ArchiveKeyInput
SetKeyName sets the KeyName field's value.
func (*ArchiveKeyInput) SetKeyringName ¶
func (s *ArchiveKeyInput) SetKeyringName(v string) *ArchiveKeyInput
SetKeyringName sets the KeyringName field's value.
func (ArchiveKeyInput) String ¶
func (s ArchiveKeyInput) String() string
String returns the string representation
func (*ArchiveKeyInput) Validate ¶
func (s *ArchiveKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ArchiveKeyOutput ¶
type ArchiveKeyOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (ArchiveKeyOutput) GoString ¶
func (s ArchiveKeyOutput) GoString() string
GoString returns the string representation
func (ArchiveKeyOutput) String ¶
func (s ArchiveKeyOutput) String() string
String returns the string representation
type AsymmetricDecryptInput ¶
type AsymmetricDecryptInput struct { // Algorithm is a required field Algorithm *string `type:"string" required:"true"` // CiphertextBlob is a required field CiphertextBlob *string `min:"1" max:"4096" type:"string" required:"true"` KeyID *string `type:"string"` KeyName *string `min:"2" max:"31" type:"string"` KeyringName *string `min:"2" max:"31" type:"string"` // contains filtered or unexported fields }
func (AsymmetricDecryptInput) GoString ¶
func (s AsymmetricDecryptInput) GoString() string
GoString returns the string representation
func (*AsymmetricDecryptInput) SetAlgorithm ¶
func (s *AsymmetricDecryptInput) SetAlgorithm(v string) *AsymmetricDecryptInput
SetAlgorithm sets the Algorithm field's value.
func (*AsymmetricDecryptInput) SetCiphertextBlob ¶
func (s *AsymmetricDecryptInput) SetCiphertextBlob(v string) *AsymmetricDecryptInput
SetCiphertextBlob sets the CiphertextBlob field's value.
func (*AsymmetricDecryptInput) SetKeyID ¶
func (s *AsymmetricDecryptInput) SetKeyID(v string) *AsymmetricDecryptInput
SetKeyID sets the KeyID field's value.
func (*AsymmetricDecryptInput) SetKeyName ¶
func (s *AsymmetricDecryptInput) SetKeyName(v string) *AsymmetricDecryptInput
SetKeyName sets the KeyName field's value.
func (*AsymmetricDecryptInput) SetKeyringName ¶
func (s *AsymmetricDecryptInput) SetKeyringName(v string) *AsymmetricDecryptInput
SetKeyringName sets the KeyringName field's value.
func (AsymmetricDecryptInput) String ¶
func (s AsymmetricDecryptInput) String() string
String returns the string representation
func (*AsymmetricDecryptInput) Validate ¶
func (s *AsymmetricDecryptInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AsymmetricDecryptOutput ¶
type AsymmetricDecryptOutput struct { Metadata *response.ResponseMetadata KeyID *string `type:"string"` Plaintext *string `type:"string"` // contains filtered or unexported fields }
func (AsymmetricDecryptOutput) GoString ¶
func (s AsymmetricDecryptOutput) GoString() string
GoString returns the string representation
func (*AsymmetricDecryptOutput) SetKeyID ¶
func (s *AsymmetricDecryptOutput) SetKeyID(v string) *AsymmetricDecryptOutput
SetKeyID sets the KeyID field's value.
func (*AsymmetricDecryptOutput) SetPlaintext ¶
func (s *AsymmetricDecryptOutput) SetPlaintext(v string) *AsymmetricDecryptOutput
SetPlaintext sets the Plaintext field's value.
func (AsymmetricDecryptOutput) String ¶
func (s AsymmetricDecryptOutput) String() string
String returns the string representation
type AsymmetricEncryptInput ¶
type AsymmetricEncryptInput struct { // Algorithm is a required field Algorithm *string `type:"string" required:"true"` KeyID *string `type:"string"` KeyName *string `min:"2" max:"31" type:"string"` KeyringName *string `min:"2" max:"31" type:"string"` // Plaintext is a required field Plaintext *string `min:"1" max:"4096" type:"string" required:"true"` // contains filtered or unexported fields }
func (AsymmetricEncryptInput) GoString ¶
func (s AsymmetricEncryptInput) GoString() string
GoString returns the string representation
func (*AsymmetricEncryptInput) SetAlgorithm ¶
func (s *AsymmetricEncryptInput) SetAlgorithm(v string) *AsymmetricEncryptInput
SetAlgorithm sets the Algorithm field's value.
func (*AsymmetricEncryptInput) SetKeyID ¶
func (s *AsymmetricEncryptInput) SetKeyID(v string) *AsymmetricEncryptInput
SetKeyID sets the KeyID field's value.
func (*AsymmetricEncryptInput) SetKeyName ¶
func (s *AsymmetricEncryptInput) SetKeyName(v string) *AsymmetricEncryptInput
SetKeyName sets the KeyName field's value.
func (*AsymmetricEncryptInput) SetKeyringName ¶
func (s *AsymmetricEncryptInput) SetKeyringName(v string) *AsymmetricEncryptInput
SetKeyringName sets the KeyringName field's value.
func (*AsymmetricEncryptInput) SetPlaintext ¶
func (s *AsymmetricEncryptInput) SetPlaintext(v string) *AsymmetricEncryptInput
SetPlaintext sets the Plaintext field's value.
func (AsymmetricEncryptInput) String ¶
func (s AsymmetricEncryptInput) String() string
String returns the string representation
func (*AsymmetricEncryptInput) Validate ¶
func (s *AsymmetricEncryptInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AsymmetricEncryptOutput ¶
type AsymmetricEncryptOutput struct { Metadata *response.ResponseMetadata CiphertextBlob *string `type:"string"` KeyID *string `type:"string"` // contains filtered or unexported fields }
func (AsymmetricEncryptOutput) GoString ¶
func (s AsymmetricEncryptOutput) GoString() string
GoString returns the string representation
func (*AsymmetricEncryptOutput) SetCiphertextBlob ¶
func (s *AsymmetricEncryptOutput) SetCiphertextBlob(v string) *AsymmetricEncryptOutput
SetCiphertextBlob sets the CiphertextBlob field's value.
func (*AsymmetricEncryptOutput) SetKeyID ¶
func (s *AsymmetricEncryptOutput) SetKeyID(v string) *AsymmetricEncryptOutput
SetKeyID sets the KeyID field's value.
func (AsymmetricEncryptOutput) String ¶
func (s AsymmetricEncryptOutput) String() string
String returns the string representation
type AsymmetricSignInput ¶
type AsymmetricSignInput struct { // Algorithm is a required field Algorithm *string `type:"string" required:"true"` KeyID *string `type:"string"` KeyName *string `min:"2" max:"31" type:"string"` KeyringName *string `min:"2" max:"31" type:"string"` // Message is a required field Message *string `type:"string" required:"true"` MessageType *string `type:"string"` // contains filtered or unexported fields }
func (AsymmetricSignInput) GoString ¶
func (s AsymmetricSignInput) GoString() string
GoString returns the string representation
func (*AsymmetricSignInput) SetAlgorithm ¶
func (s *AsymmetricSignInput) SetAlgorithm(v string) *AsymmetricSignInput
SetAlgorithm sets the Algorithm field's value.
func (*AsymmetricSignInput) SetKeyID ¶
func (s *AsymmetricSignInput) SetKeyID(v string) *AsymmetricSignInput
SetKeyID sets the KeyID field's value.
func (*AsymmetricSignInput) SetKeyName ¶
func (s *AsymmetricSignInput) SetKeyName(v string) *AsymmetricSignInput
SetKeyName sets the KeyName field's value.
func (*AsymmetricSignInput) SetKeyringName ¶
func (s *AsymmetricSignInput) SetKeyringName(v string) *AsymmetricSignInput
SetKeyringName sets the KeyringName field's value.
func (*AsymmetricSignInput) SetMessage ¶
func (s *AsymmetricSignInput) SetMessage(v string) *AsymmetricSignInput
SetMessage sets the Message field's value.
func (*AsymmetricSignInput) SetMessageType ¶
func (s *AsymmetricSignInput) SetMessageType(v string) *AsymmetricSignInput
SetMessageType sets the MessageType field's value.
func (AsymmetricSignInput) String ¶
func (s AsymmetricSignInput) String() string
String returns the string representation
func (*AsymmetricSignInput) Validate ¶
func (s *AsymmetricSignInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AsymmetricSignOutput ¶
type AsymmetricSignOutput struct { Metadata *response.ResponseMetadata KeyID *string `type:"string"` Signature *string `type:"string"` // contains filtered or unexported fields }
func (AsymmetricSignOutput) GoString ¶
func (s AsymmetricSignOutput) GoString() string
GoString returns the string representation
func (*AsymmetricSignOutput) SetKeyID ¶
func (s *AsymmetricSignOutput) SetKeyID(v string) *AsymmetricSignOutput
SetKeyID sets the KeyID field's value.
func (*AsymmetricSignOutput) SetSignature ¶
func (s *AsymmetricSignOutput) SetSignature(v string) *AsymmetricSignOutput
SetSignature sets the Signature field's value.
func (AsymmetricSignOutput) String ¶
func (s AsymmetricSignOutput) String() string
String returns the string representation
type AsymmetricVerifyInput ¶
type AsymmetricVerifyInput struct { // Algorithm is a required field Algorithm *string `type:"string" required:"true"` KeyID *string `type:"string"` KeyName *string `min:"2" max:"31" type:"string"` KeyringName *string `min:"2" max:"31" type:"string"` // Message is a required field Message *string `type:"string" required:"true"` MessageType *string `type:"string"` // Signature is a required field Signature *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (AsymmetricVerifyInput) GoString ¶
func (s AsymmetricVerifyInput) GoString() string
GoString returns the string representation
func (*AsymmetricVerifyInput) SetAlgorithm ¶
func (s *AsymmetricVerifyInput) SetAlgorithm(v string) *AsymmetricVerifyInput
SetAlgorithm sets the Algorithm field's value.
func (*AsymmetricVerifyInput) SetKeyID ¶
func (s *AsymmetricVerifyInput) SetKeyID(v string) *AsymmetricVerifyInput
SetKeyID sets the KeyID field's value.
func (*AsymmetricVerifyInput) SetKeyName ¶
func (s *AsymmetricVerifyInput) SetKeyName(v string) *AsymmetricVerifyInput
SetKeyName sets the KeyName field's value.
func (*AsymmetricVerifyInput) SetKeyringName ¶
func (s *AsymmetricVerifyInput) SetKeyringName(v string) *AsymmetricVerifyInput
SetKeyringName sets the KeyringName field's value.
func (*AsymmetricVerifyInput) SetMessage ¶
func (s *AsymmetricVerifyInput) SetMessage(v string) *AsymmetricVerifyInput
SetMessage sets the Message field's value.
func (*AsymmetricVerifyInput) SetMessageType ¶
func (s *AsymmetricVerifyInput) SetMessageType(v string) *AsymmetricVerifyInput
SetMessageType sets the MessageType field's value.
func (*AsymmetricVerifyInput) SetSignature ¶
func (s *AsymmetricVerifyInput) SetSignature(v string) *AsymmetricVerifyInput
SetSignature sets the Signature field's value.
func (AsymmetricVerifyInput) String ¶
func (s AsymmetricVerifyInput) String() string
String returns the string representation
func (*AsymmetricVerifyInput) Validate ¶
func (s *AsymmetricVerifyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AsymmetricVerifyOutput ¶
type AsymmetricVerifyOutput struct { Metadata *response.ResponseMetadata KeyID *string `type:"string"` SignatureValid *bool `type:"boolean"` // contains filtered or unexported fields }
func (AsymmetricVerifyOutput) GoString ¶
func (s AsymmetricVerifyOutput) GoString() string
GoString returns the string representation
func (*AsymmetricVerifyOutput) SetKeyID ¶
func (s *AsymmetricVerifyOutput) SetKeyID(v string) *AsymmetricVerifyOutput
SetKeyID sets the KeyID field's value.
func (*AsymmetricVerifyOutput) SetSignatureValid ¶
func (s *AsymmetricVerifyOutput) SetSignatureValid(v bool) *AsymmetricVerifyOutput
SetSignatureValid sets the SignatureValid field's value.
func (AsymmetricVerifyOutput) String ¶
func (s AsymmetricVerifyOutput) String() string
String returns the string representation
type CancelArchiveKeyInput ¶
type CancelArchiveKeyInput struct { // KeyName is a required field KeyName *string `min:"2" max:"31" type:"string" required:"true"` // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` // contains filtered or unexported fields }
func (CancelArchiveKeyInput) GoString ¶
func (s CancelArchiveKeyInput) GoString() string
GoString returns the string representation
func (*CancelArchiveKeyInput) SetKeyName ¶
func (s *CancelArchiveKeyInput) SetKeyName(v string) *CancelArchiveKeyInput
SetKeyName sets the KeyName field's value.
func (*CancelArchiveKeyInput) SetKeyringName ¶
func (s *CancelArchiveKeyInput) SetKeyringName(v string) *CancelArchiveKeyInput
SetKeyringName sets the KeyringName field's value.
func (CancelArchiveKeyInput) String ¶
func (s CancelArchiveKeyInput) String() string
String returns the string representation
func (*CancelArchiveKeyInput) Validate ¶
func (s *CancelArchiveKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelArchiveKeyOutput ¶
type CancelArchiveKeyOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (CancelArchiveKeyOutput) GoString ¶
func (s CancelArchiveKeyOutput) GoString() string
GoString returns the string representation
func (CancelArchiveKeyOutput) String ¶
func (s CancelArchiveKeyOutput) String() string
String returns the string representation
type CancelKeyDeletionInput ¶
type CancelKeyDeletionInput struct { // KeyName is a required field KeyName *string `min:"2" max:"31" type:"string" required:"true"` // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` // contains filtered or unexported fields }
func (CancelKeyDeletionInput) GoString ¶
func (s CancelKeyDeletionInput) GoString() string
GoString returns the string representation
func (*CancelKeyDeletionInput) SetKeyName ¶
func (s *CancelKeyDeletionInput) SetKeyName(v string) *CancelKeyDeletionInput
SetKeyName sets the KeyName field's value.
func (*CancelKeyDeletionInput) SetKeyringName ¶
func (s *CancelKeyDeletionInput) SetKeyringName(v string) *CancelKeyDeletionInput
SetKeyringName sets the KeyringName field's value.
func (CancelKeyDeletionInput) String ¶
func (s CancelKeyDeletionInput) String() string
String returns the string representation
func (*CancelKeyDeletionInput) Validate ¶
func (s *CancelKeyDeletionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelKeyDeletionOutput ¶
type CancelKeyDeletionOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (CancelKeyDeletionOutput) GoString ¶
func (s CancelKeyDeletionOutput) GoString() string
GoString returns the string representation
func (CancelKeyDeletionOutput) String ¶
func (s CancelKeyDeletionOutput) String() string
String returns the string representation
type CreateKeyInput ¶
type CreateKeyInput struct { Description *string `max:"8192" type:"string"` // KeyName is a required field KeyName *string `min:"2" max:"31" type:"string" required:"true"` KeySpec *string `type:"string"` KeyUsage *string `type:"string"` // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` Origin *string `type:"string"` ProtectionLevel *string `type:"string"` RotateState *string `type:"string"` // contains filtered or unexported fields }
func (CreateKeyInput) GoString ¶
func (s CreateKeyInput) GoString() string
GoString returns the string representation
func (*CreateKeyInput) SetDescription ¶
func (s *CreateKeyInput) SetDescription(v string) *CreateKeyInput
SetDescription sets the Description field's value.
func (*CreateKeyInput) SetKeyName ¶
func (s *CreateKeyInput) SetKeyName(v string) *CreateKeyInput
SetKeyName sets the KeyName field's value.
func (*CreateKeyInput) SetKeySpec ¶
func (s *CreateKeyInput) SetKeySpec(v string) *CreateKeyInput
SetKeySpec sets the KeySpec field's value.
func (*CreateKeyInput) SetKeyUsage ¶
func (s *CreateKeyInput) SetKeyUsage(v string) *CreateKeyInput
SetKeyUsage sets the KeyUsage field's value.
func (*CreateKeyInput) SetKeyringName ¶
func (s *CreateKeyInput) SetKeyringName(v string) *CreateKeyInput
SetKeyringName sets the KeyringName field's value.
func (*CreateKeyInput) SetOrigin ¶
func (s *CreateKeyInput) SetOrigin(v string) *CreateKeyInput
SetOrigin sets the Origin field's value.
func (*CreateKeyInput) SetProtectionLevel ¶
func (s *CreateKeyInput) SetProtectionLevel(v string) *CreateKeyInput
SetProtectionLevel sets the ProtectionLevel field's value.
func (*CreateKeyInput) SetRotateState ¶
func (s *CreateKeyInput) SetRotateState(v string) *CreateKeyInput
SetRotateState sets the RotateState field's value.
func (CreateKeyInput) String ¶
func (s CreateKeyInput) String() string
String returns the string representation
func (*CreateKeyInput) Validate ¶
func (s *CreateKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateKeyOutput ¶
type CreateKeyOutput struct { Metadata *response.ResponseMetadata Key *KeyForCreateKeyOutput `type:"structure"` // contains filtered or unexported fields }
func (CreateKeyOutput) GoString ¶
func (s CreateKeyOutput) GoString() string
GoString returns the string representation
func (*CreateKeyOutput) SetKey ¶
func (s *CreateKeyOutput) SetKey(v *KeyForCreateKeyOutput) *CreateKeyOutput
SetKey sets the Key field's value.
func (CreateKeyOutput) String ¶
func (s CreateKeyOutput) String() string
String returns the string representation
type CreateKeyringInput ¶
type CreateKeyringInput struct { Description *string `max:"8192" type:"string"` // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` KeyringType *string `type:"string"` ProjectName *string `type:"string"` // contains filtered or unexported fields }
func (CreateKeyringInput) GoString ¶
func (s CreateKeyringInput) GoString() string
GoString returns the string representation
func (*CreateKeyringInput) SetDescription ¶
func (s *CreateKeyringInput) SetDescription(v string) *CreateKeyringInput
SetDescription sets the Description field's value.
func (*CreateKeyringInput) SetKeyringName ¶
func (s *CreateKeyringInput) SetKeyringName(v string) *CreateKeyringInput
SetKeyringName sets the KeyringName field's value.
func (*CreateKeyringInput) SetKeyringType ¶
func (s *CreateKeyringInput) SetKeyringType(v string) *CreateKeyringInput
SetKeyringType sets the KeyringType field's value.
func (*CreateKeyringInput) SetProjectName ¶
func (s *CreateKeyringInput) SetProjectName(v string) *CreateKeyringInput
SetProjectName sets the ProjectName field's value.
func (CreateKeyringInput) String ¶
func (s CreateKeyringInput) String() string
String returns the string representation
func (*CreateKeyringInput) Validate ¶
func (s *CreateKeyringInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateKeyringOutput ¶
type CreateKeyringOutput struct { Metadata *response.ResponseMetadata Keyring *KeyringForCreateKeyringOutput `type:"structure"` // contains filtered or unexported fields }
func (CreateKeyringOutput) GoString ¶
func (s CreateKeyringOutput) GoString() string
GoString returns the string representation
func (*CreateKeyringOutput) SetKeyring ¶
func (s *CreateKeyringOutput) SetKeyring(v *KeyringForCreateKeyringOutput) *CreateKeyringOutput
SetKeyring sets the Keyring field's value.
func (CreateKeyringOutput) String ¶
func (s CreateKeyringOutput) String() string
String returns the string representation
type DecryptInput ¶
type DecryptInput struct { // CiphertextBlob is a required field CiphertextBlob *string `min:"19" type:"string" required:"true"` EncryptionContext *string `type:"string"` // contains filtered or unexported fields }
func (DecryptInput) GoString ¶
func (s DecryptInput) GoString() string
GoString returns the string representation
func (*DecryptInput) SetCiphertextBlob ¶
func (s *DecryptInput) SetCiphertextBlob(v string) *DecryptInput
SetCiphertextBlob sets the CiphertextBlob field's value.
func (*DecryptInput) SetEncryptionContext ¶
func (s *DecryptInput) SetEncryptionContext(v string) *DecryptInput
SetEncryptionContext sets the EncryptionContext field's value.
func (DecryptInput) String ¶
func (s DecryptInput) String() string
String returns the string representation
func (*DecryptInput) Validate ¶
func (s *DecryptInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DecryptOutput ¶
type DecryptOutput struct { Metadata *response.ResponseMetadata Plaintext *string `type:"string"` // contains filtered or unexported fields }
func (DecryptOutput) GoString ¶
func (s DecryptOutput) GoString() string
GoString returns the string representation
func (*DecryptOutput) SetPlaintext ¶
func (s *DecryptOutput) SetPlaintext(v string) *DecryptOutput
SetPlaintext sets the Plaintext field's value.
func (DecryptOutput) String ¶
func (s DecryptOutput) String() string
String returns the string representation
type DeleteKeyMaterialInput ¶
type DeleteKeyMaterialInput struct { // KeyName is a required field KeyName *string `min:"2" max:"31" type:"string" required:"true"` // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteKeyMaterialInput) GoString ¶
func (s DeleteKeyMaterialInput) GoString() string
GoString returns the string representation
func (*DeleteKeyMaterialInput) SetKeyName ¶
func (s *DeleteKeyMaterialInput) SetKeyName(v string) *DeleteKeyMaterialInput
SetKeyName sets the KeyName field's value.
func (*DeleteKeyMaterialInput) SetKeyringName ¶
func (s *DeleteKeyMaterialInput) SetKeyringName(v string) *DeleteKeyMaterialInput
SetKeyringName sets the KeyringName field's value.
func (DeleteKeyMaterialInput) String ¶
func (s DeleteKeyMaterialInput) String() string
String returns the string representation
func (*DeleteKeyMaterialInput) Validate ¶
func (s *DeleteKeyMaterialInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteKeyMaterialOutput ¶
type DeleteKeyMaterialOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (DeleteKeyMaterialOutput) GoString ¶
func (s DeleteKeyMaterialOutput) GoString() string
GoString returns the string representation
func (DeleteKeyMaterialOutput) String ¶
func (s DeleteKeyMaterialOutput) String() string
String returns the string representation
type DeleteKeyringInput ¶ added in v1.0.156
type DeleteKeyringInput struct { // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteKeyringInput) GoString ¶ added in v1.0.156
func (s DeleteKeyringInput) GoString() string
GoString returns the string representation
func (*DeleteKeyringInput) SetKeyringName ¶ added in v1.0.156
func (s *DeleteKeyringInput) SetKeyringName(v string) *DeleteKeyringInput
SetKeyringName sets the KeyringName field's value.
func (DeleteKeyringInput) String ¶ added in v1.0.156
func (s DeleteKeyringInput) String() string
String returns the string representation
func (*DeleteKeyringInput) Validate ¶ added in v1.0.156
func (s *DeleteKeyringInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteKeyringOutput ¶ added in v1.0.156
type DeleteKeyringOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (DeleteKeyringOutput) GoString ¶ added in v1.0.156
func (s DeleteKeyringOutput) GoString() string
GoString returns the string representation
func (DeleteKeyringOutput) String ¶ added in v1.0.156
func (s DeleteKeyringOutput) String() string
String returns the string representation
type DescribeKeyInput ¶
type DescribeKeyInput struct { // KeyName is a required field KeyName *string `min:"2" max:"31" type:"string" required:"true"` // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeKeyInput) GoString ¶
func (s DescribeKeyInput) GoString() string
GoString returns the string representation
func (*DescribeKeyInput) SetKeyName ¶
func (s *DescribeKeyInput) SetKeyName(v string) *DescribeKeyInput
SetKeyName sets the KeyName field's value.
func (*DescribeKeyInput) SetKeyringName ¶
func (s *DescribeKeyInput) SetKeyringName(v string) *DescribeKeyInput
SetKeyringName sets the KeyringName field's value.
func (DescribeKeyInput) String ¶
func (s DescribeKeyInput) String() string
String returns the string representation
func (*DescribeKeyInput) Validate ¶
func (s *DescribeKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeKeyOutput ¶
type DescribeKeyOutput struct { Metadata *response.ResponseMetadata Key *KeyForDescribeKeyOutput `type:"structure"` // contains filtered or unexported fields }
func (DescribeKeyOutput) GoString ¶
func (s DescribeKeyOutput) GoString() string
GoString returns the string representation
func (*DescribeKeyOutput) SetKey ¶
func (s *DescribeKeyOutput) SetKey(v *KeyForDescribeKeyOutput) *DescribeKeyOutput
SetKey sets the Key field's value.
func (DescribeKeyOutput) String ¶
func (s DescribeKeyOutput) String() string
String returns the string representation
type DescribeKeyringsInput ¶
type DescribeKeyringsInput struct { CurrentPage *int32 `min:"1" type:"int32"` PageSize *int32 `min:"1" max:"100" type:"int32"` ProjectName *string `type:"string"` // contains filtered or unexported fields }
func (DescribeKeyringsInput) GoString ¶
func (s DescribeKeyringsInput) GoString() string
GoString returns the string representation
func (*DescribeKeyringsInput) SetCurrentPage ¶
func (s *DescribeKeyringsInput) SetCurrentPage(v int32) *DescribeKeyringsInput
SetCurrentPage sets the CurrentPage field's value.
func (*DescribeKeyringsInput) SetPageSize ¶
func (s *DescribeKeyringsInput) SetPageSize(v int32) *DescribeKeyringsInput
SetPageSize sets the PageSize field's value.
func (*DescribeKeyringsInput) SetProjectName ¶
func (s *DescribeKeyringsInput) SetProjectName(v string) *DescribeKeyringsInput
SetProjectName sets the ProjectName field's value.
func (DescribeKeyringsInput) String ¶
func (s DescribeKeyringsInput) String() string
String returns the string representation
func (*DescribeKeyringsInput) Validate ¶
func (s *DescribeKeyringsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeKeyringsOutput ¶
type DescribeKeyringsOutput struct { Metadata *response.ResponseMetadata Keyrings []*KeyringForDescribeKeyringsOutput `type:"list"` PageInfo *PageInfoForDescribeKeyringsOutput `type:"structure"` // contains filtered or unexported fields }
func (DescribeKeyringsOutput) GoString ¶
func (s DescribeKeyringsOutput) GoString() string
GoString returns the string representation
func (*DescribeKeyringsOutput) SetKeyrings ¶
func (s *DescribeKeyringsOutput) SetKeyrings(v []*KeyringForDescribeKeyringsOutput) *DescribeKeyringsOutput
SetKeyrings sets the Keyrings field's value.
func (*DescribeKeyringsOutput) SetPageInfo ¶
func (s *DescribeKeyringsOutput) SetPageInfo(v *PageInfoForDescribeKeyringsOutput) *DescribeKeyringsOutput
SetPageInfo sets the PageInfo field's value.
func (DescribeKeyringsOutput) String ¶
func (s DescribeKeyringsOutput) String() string
String returns the string representation
type DescribeKeysInput ¶
type DescribeKeysInput struct { CurrentPage *int32 `min:"1" type:"int32"` // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` PageSize *int32 `min:"1" max:"100" type:"int32"` // contains filtered or unexported fields }
func (DescribeKeysInput) GoString ¶
func (s DescribeKeysInput) GoString() string
GoString returns the string representation
func (*DescribeKeysInput) SetCurrentPage ¶
func (s *DescribeKeysInput) SetCurrentPage(v int32) *DescribeKeysInput
SetCurrentPage sets the CurrentPage field's value.
func (*DescribeKeysInput) SetKeyringName ¶
func (s *DescribeKeysInput) SetKeyringName(v string) *DescribeKeysInput
SetKeyringName sets the KeyringName field's value.
func (*DescribeKeysInput) SetPageSize ¶
func (s *DescribeKeysInput) SetPageSize(v int32) *DescribeKeysInput
SetPageSize sets the PageSize field's value.
func (DescribeKeysInput) String ¶
func (s DescribeKeysInput) String() string
String returns the string representation
func (*DescribeKeysInput) Validate ¶
func (s *DescribeKeysInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeKeysOutput ¶
type DescribeKeysOutput struct { Metadata *response.ResponseMetadata Keys []*KeyForDescribeKeysOutput `type:"list"` PageInfo *PageInfoForDescribeKeysOutput `type:"structure"` // contains filtered or unexported fields }
func (DescribeKeysOutput) GoString ¶
func (s DescribeKeysOutput) GoString() string
GoString returns the string representation
func (*DescribeKeysOutput) SetKeys ¶
func (s *DescribeKeysOutput) SetKeys(v []*KeyForDescribeKeysOutput) *DescribeKeysOutput
SetKeys sets the Keys field's value.
func (*DescribeKeysOutput) SetPageInfo ¶
func (s *DescribeKeysOutput) SetPageInfo(v *PageInfoForDescribeKeysOutput) *DescribeKeysOutput
SetPageInfo sets the PageInfo field's value.
func (DescribeKeysOutput) String ¶
func (s DescribeKeysOutput) String() string
String returns the string representation
type DescribeRegionsInput ¶
type DescribeRegionsInput struct {
// contains filtered or unexported fields
}
func (DescribeRegionsInput) GoString ¶
func (s DescribeRegionsInput) GoString() string
GoString returns the string representation
func (DescribeRegionsInput) String ¶
func (s DescribeRegionsInput) String() string
String returns the string representation
type DescribeRegionsOutput ¶
type DescribeRegionsOutput struct { Metadata *response.ResponseMetadata Regions []*RegionForDescribeRegionsOutput `type:"list"` // contains filtered or unexported fields }
func (DescribeRegionsOutput) GoString ¶
func (s DescribeRegionsOutput) GoString() string
GoString returns the string representation
func (*DescribeRegionsOutput) SetRegions ¶
func (s *DescribeRegionsOutput) SetRegions(v []*RegionForDescribeRegionsOutput) *DescribeRegionsOutput
SetRegions sets the Regions field's value.
func (DescribeRegionsOutput) String ¶
func (s DescribeRegionsOutput) String() string
String returns the string representation
type DisableKeyInput ¶
type DisableKeyInput struct { // KeyName is a required field KeyName *string `min:"2" max:"31" type:"string" required:"true"` // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` // contains filtered or unexported fields }
func (DisableKeyInput) GoString ¶
func (s DisableKeyInput) GoString() string
GoString returns the string representation
func (*DisableKeyInput) SetKeyName ¶
func (s *DisableKeyInput) SetKeyName(v string) *DisableKeyInput
SetKeyName sets the KeyName field's value.
func (*DisableKeyInput) SetKeyringName ¶
func (s *DisableKeyInput) SetKeyringName(v string) *DisableKeyInput
SetKeyringName sets the KeyringName field's value.
func (DisableKeyInput) String ¶
func (s DisableKeyInput) String() string
String returns the string representation
func (*DisableKeyInput) Validate ¶
func (s *DisableKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisableKeyOutput ¶
type DisableKeyOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (DisableKeyOutput) GoString ¶
func (s DisableKeyOutput) GoString() string
GoString returns the string representation
func (DisableKeyOutput) String ¶
func (s DisableKeyOutput) String() string
String returns the string representation
type DisableKeyRotationInput ¶
type DisableKeyRotationInput struct { // KeyName is a required field KeyName *string `min:"2" max:"31" type:"string" required:"true"` // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` // contains filtered or unexported fields }
func (DisableKeyRotationInput) GoString ¶
func (s DisableKeyRotationInput) GoString() string
GoString returns the string representation
func (*DisableKeyRotationInput) SetKeyName ¶
func (s *DisableKeyRotationInput) SetKeyName(v string) *DisableKeyRotationInput
SetKeyName sets the KeyName field's value.
func (*DisableKeyRotationInput) SetKeyringName ¶
func (s *DisableKeyRotationInput) SetKeyringName(v string) *DisableKeyRotationInput
SetKeyringName sets the KeyringName field's value.
func (DisableKeyRotationInput) String ¶
func (s DisableKeyRotationInput) String() string
String returns the string representation
func (*DisableKeyRotationInput) Validate ¶
func (s *DisableKeyRotationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisableKeyRotationOutput ¶
type DisableKeyRotationOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (DisableKeyRotationOutput) GoString ¶
func (s DisableKeyRotationOutput) GoString() string
GoString returns the string representation
func (DisableKeyRotationOutput) String ¶
func (s DisableKeyRotationOutput) String() string
String returns the string representation
type EnableKeyInput ¶
type EnableKeyInput struct { // KeyName is a required field KeyName *string `min:"2" max:"31" type:"string" required:"true"` // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` // contains filtered or unexported fields }
func (EnableKeyInput) GoString ¶
func (s EnableKeyInput) GoString() string
GoString returns the string representation
func (*EnableKeyInput) SetKeyName ¶
func (s *EnableKeyInput) SetKeyName(v string) *EnableKeyInput
SetKeyName sets the KeyName field's value.
func (*EnableKeyInput) SetKeyringName ¶
func (s *EnableKeyInput) SetKeyringName(v string) *EnableKeyInput
SetKeyringName sets the KeyringName field's value.
func (EnableKeyInput) String ¶
func (s EnableKeyInput) String() string
String returns the string representation
func (*EnableKeyInput) Validate ¶
func (s *EnableKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EnableKeyOutput ¶
type EnableKeyOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (EnableKeyOutput) GoString ¶
func (s EnableKeyOutput) GoString() string
GoString returns the string representation
func (EnableKeyOutput) String ¶
func (s EnableKeyOutput) String() string
String returns the string representation
type EnableKeyRotationInput ¶
type EnableKeyRotationInput struct { // KeyName is a required field KeyName *string `min:"2" max:"31" type:"string" required:"true"` // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` // contains filtered or unexported fields }
func (EnableKeyRotationInput) GoString ¶
func (s EnableKeyRotationInput) GoString() string
GoString returns the string representation
func (*EnableKeyRotationInput) SetKeyName ¶
func (s *EnableKeyRotationInput) SetKeyName(v string) *EnableKeyRotationInput
SetKeyName sets the KeyName field's value.
func (*EnableKeyRotationInput) SetKeyringName ¶
func (s *EnableKeyRotationInput) SetKeyringName(v string) *EnableKeyRotationInput
SetKeyringName sets the KeyringName field's value.
func (EnableKeyRotationInput) String ¶
func (s EnableKeyRotationInput) String() string
String returns the string representation
func (*EnableKeyRotationInput) Validate ¶
func (s *EnableKeyRotationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EnableKeyRotationOutput ¶
type EnableKeyRotationOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (EnableKeyRotationOutput) GoString ¶
func (s EnableKeyRotationOutput) GoString() string
GoString returns the string representation
func (EnableKeyRotationOutput) String ¶
func (s EnableKeyRotationOutput) String() string
String returns the string representation
type EncryptInput ¶
type EncryptInput struct { EncryptionContext *string `type:"string"` KeyID *string `type:"string"` KeyName *string `min:"2" max:"31" type:"string"` KeyringName *string `min:"2" max:"31" type:"string"` // Plaintext is a required field Plaintext *string `min:"1" max:"4096" type:"string" required:"true"` // contains filtered or unexported fields }
func (EncryptInput) GoString ¶
func (s EncryptInput) GoString() string
GoString returns the string representation
func (*EncryptInput) SetEncryptionContext ¶
func (s *EncryptInput) SetEncryptionContext(v string) *EncryptInput
SetEncryptionContext sets the EncryptionContext field's value.
func (*EncryptInput) SetKeyID ¶
func (s *EncryptInput) SetKeyID(v string) *EncryptInput
SetKeyID sets the KeyID field's value.
func (*EncryptInput) SetKeyName ¶
func (s *EncryptInput) SetKeyName(v string) *EncryptInput
SetKeyName sets the KeyName field's value.
func (*EncryptInput) SetKeyringName ¶
func (s *EncryptInput) SetKeyringName(v string) *EncryptInput
SetKeyringName sets the KeyringName field's value.
func (*EncryptInput) SetPlaintext ¶
func (s *EncryptInput) SetPlaintext(v string) *EncryptInput
SetPlaintext sets the Plaintext field's value.
func (EncryptInput) String ¶
func (s EncryptInput) String() string
String returns the string representation
func (*EncryptInput) Validate ¶
func (s *EncryptInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EncryptOutput ¶
type EncryptOutput struct { Metadata *response.ResponseMetadata CiphertextBlob *string `type:"string"` // contains filtered or unexported fields }
func (EncryptOutput) GoString ¶
func (s EncryptOutput) GoString() string
GoString returns the string representation
func (*EncryptOutput) SetCiphertextBlob ¶
func (s *EncryptOutput) SetCiphertextBlob(v string) *EncryptOutput
SetCiphertextBlob sets the CiphertextBlob field's value.
func (EncryptOutput) String ¶
func (s EncryptOutput) String() string
String returns the string representation
type GenerateDataKeyInput ¶
type GenerateDataKeyInput struct { EncryptionContext *string `type:"string"` KeyID *string `type:"string"` KeyName *string `min:"2" max:"31" type:"string"` KeyringName *string `min:"2" max:"31" type:"string"` NumberOfBytes *int32 `min:"1" max:"1024" type:"int32"` // contains filtered or unexported fields }
func (GenerateDataKeyInput) GoString ¶
func (s GenerateDataKeyInput) GoString() string
GoString returns the string representation
func (*GenerateDataKeyInput) SetEncryptionContext ¶
func (s *GenerateDataKeyInput) SetEncryptionContext(v string) *GenerateDataKeyInput
SetEncryptionContext sets the EncryptionContext field's value.
func (*GenerateDataKeyInput) SetKeyID ¶
func (s *GenerateDataKeyInput) SetKeyID(v string) *GenerateDataKeyInput
SetKeyID sets the KeyID field's value.
func (*GenerateDataKeyInput) SetKeyName ¶
func (s *GenerateDataKeyInput) SetKeyName(v string) *GenerateDataKeyInput
SetKeyName sets the KeyName field's value.
func (*GenerateDataKeyInput) SetKeyringName ¶
func (s *GenerateDataKeyInput) SetKeyringName(v string) *GenerateDataKeyInput
SetKeyringName sets the KeyringName field's value.
func (*GenerateDataKeyInput) SetNumberOfBytes ¶
func (s *GenerateDataKeyInput) SetNumberOfBytes(v int32) *GenerateDataKeyInput
SetNumberOfBytes sets the NumberOfBytes field's value.
func (GenerateDataKeyInput) String ¶
func (s GenerateDataKeyInput) String() string
String returns the string representation
func (*GenerateDataKeyInput) Validate ¶
func (s *GenerateDataKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GenerateDataKeyOutput ¶
type GenerateDataKeyOutput struct { Metadata *response.ResponseMetadata CiphertextBlob *string `type:"string"` Plaintext *string `type:"string"` // contains filtered or unexported fields }
func (GenerateDataKeyOutput) GoString ¶
func (s GenerateDataKeyOutput) GoString() string
GoString returns the string representation
func (*GenerateDataKeyOutput) SetCiphertextBlob ¶
func (s *GenerateDataKeyOutput) SetCiphertextBlob(v string) *GenerateDataKeyOutput
SetCiphertextBlob sets the CiphertextBlob field's value.
func (*GenerateDataKeyOutput) SetPlaintext ¶
func (s *GenerateDataKeyOutput) SetPlaintext(v string) *GenerateDataKeyOutput
SetPlaintext sets the Plaintext field's value.
func (GenerateDataKeyOutput) String ¶
func (s GenerateDataKeyOutput) String() string
String returns the string representation
type GetParametersForImportInput ¶
type GetParametersForImportInput struct { // KeyName is a required field KeyName *string `min:"2" max:"31" type:"string" required:"true"` // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` WrappingAlgorithm *string `type:"string"` WrappingKeySpec *string `type:"string"` // contains filtered or unexported fields }
func (GetParametersForImportInput) GoString ¶
func (s GetParametersForImportInput) GoString() string
GoString returns the string representation
func (*GetParametersForImportInput) SetKeyName ¶
func (s *GetParametersForImportInput) SetKeyName(v string) *GetParametersForImportInput
SetKeyName sets the KeyName field's value.
func (*GetParametersForImportInput) SetKeyringName ¶
func (s *GetParametersForImportInput) SetKeyringName(v string) *GetParametersForImportInput
SetKeyringName sets the KeyringName field's value.
func (*GetParametersForImportInput) SetWrappingAlgorithm ¶
func (s *GetParametersForImportInput) SetWrappingAlgorithm(v string) *GetParametersForImportInput
SetWrappingAlgorithm sets the WrappingAlgorithm field's value.
func (*GetParametersForImportInput) SetWrappingKeySpec ¶
func (s *GetParametersForImportInput) SetWrappingKeySpec(v string) *GetParametersForImportInput
SetWrappingKeySpec sets the WrappingKeySpec field's value.
func (GetParametersForImportInput) String ¶
func (s GetParametersForImportInput) String() string
String returns the string representation
func (*GetParametersForImportInput) Validate ¶
func (s *GetParametersForImportInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetParametersForImportOutput ¶
type GetParametersForImportOutput struct { Metadata *response.ResponseMetadata ImportToken *string `type:"string"` KeyID *string `type:"string"` KeyringID *string `type:"string"` PublicKey *string `type:"string"` TokenExpireTime *string `type:"string"` // contains filtered or unexported fields }
func (GetParametersForImportOutput) GoString ¶
func (s GetParametersForImportOutput) GoString() string
GoString returns the string representation
func (*GetParametersForImportOutput) SetImportToken ¶
func (s *GetParametersForImportOutput) SetImportToken(v string) *GetParametersForImportOutput
SetImportToken sets the ImportToken field's value.
func (*GetParametersForImportOutput) SetKeyID ¶
func (s *GetParametersForImportOutput) SetKeyID(v string) *GetParametersForImportOutput
SetKeyID sets the KeyID field's value.
func (*GetParametersForImportOutput) SetKeyringID ¶
func (s *GetParametersForImportOutput) SetKeyringID(v string) *GetParametersForImportOutput
SetKeyringID sets the KeyringID field's value.
func (*GetParametersForImportOutput) SetPublicKey ¶
func (s *GetParametersForImportOutput) SetPublicKey(v string) *GetParametersForImportOutput
SetPublicKey sets the PublicKey field's value.
func (*GetParametersForImportOutput) SetTokenExpireTime ¶
func (s *GetParametersForImportOutput) SetTokenExpireTime(v string) *GetParametersForImportOutput
SetTokenExpireTime sets the TokenExpireTime field's value.
func (GetParametersForImportOutput) String ¶
func (s GetParametersForImportOutput) String() string
String returns the string representation
type GetPublicKeyInput ¶
type GetPublicKeyInput struct { KeyID *string `type:"string"` KeyName *string `min:"2" max:"31" type:"string"` KeyringName *string `min:"2" max:"31" type:"string"` // contains filtered or unexported fields }
func (GetPublicKeyInput) GoString ¶
func (s GetPublicKeyInput) GoString() string
GoString returns the string representation
func (*GetPublicKeyInput) SetKeyID ¶
func (s *GetPublicKeyInput) SetKeyID(v string) *GetPublicKeyInput
SetKeyID sets the KeyID field's value.
func (*GetPublicKeyInput) SetKeyName ¶
func (s *GetPublicKeyInput) SetKeyName(v string) *GetPublicKeyInput
SetKeyName sets the KeyName field's value.
func (*GetPublicKeyInput) SetKeyringName ¶
func (s *GetPublicKeyInput) SetKeyringName(v string) *GetPublicKeyInput
SetKeyringName sets the KeyringName field's value.
func (GetPublicKeyInput) String ¶
func (s GetPublicKeyInput) String() string
String returns the string representation
func (*GetPublicKeyInput) Validate ¶
func (s *GetPublicKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetPublicKeyOutput ¶
type GetPublicKeyOutput struct { Metadata *response.ResponseMetadata KeyID *string `type:"string"` PublicKey *string `type:"string"` // contains filtered or unexported fields }
func (GetPublicKeyOutput) GoString ¶
func (s GetPublicKeyOutput) GoString() string
GoString returns the string representation
func (*GetPublicKeyOutput) SetKeyID ¶
func (s *GetPublicKeyOutput) SetKeyID(v string) *GetPublicKeyOutput
SetKeyID sets the KeyID field's value.
func (*GetPublicKeyOutput) SetPublicKey ¶
func (s *GetPublicKeyOutput) SetPublicKey(v string) *GetPublicKeyOutput
SetPublicKey sets the PublicKey field's value.
func (GetPublicKeyOutput) String ¶
func (s GetPublicKeyOutput) String() string
String returns the string representation
type ImportKeyMaterialInput ¶
type ImportKeyMaterialInput struct { // EncryptedKeyMaterial is a required field EncryptedKeyMaterial *string `type:"string" required:"true"` ExpirationModel *string `type:"string"` // ImportToken is a required field ImportToken *string `type:"string" required:"true"` // KeyName is a required field KeyName *string `min:"2" max:"31" type:"string" required:"true"` // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` ValidTo *int64 `type:"int64"` // contains filtered or unexported fields }
func (ImportKeyMaterialInput) GoString ¶
func (s ImportKeyMaterialInput) GoString() string
GoString returns the string representation
func (*ImportKeyMaterialInput) SetEncryptedKeyMaterial ¶
func (s *ImportKeyMaterialInput) SetEncryptedKeyMaterial(v string) *ImportKeyMaterialInput
SetEncryptedKeyMaterial sets the EncryptedKeyMaterial field's value.
func (*ImportKeyMaterialInput) SetExpirationModel ¶
func (s *ImportKeyMaterialInput) SetExpirationModel(v string) *ImportKeyMaterialInput
SetExpirationModel sets the ExpirationModel field's value.
func (*ImportKeyMaterialInput) SetImportToken ¶
func (s *ImportKeyMaterialInput) SetImportToken(v string) *ImportKeyMaterialInput
SetImportToken sets the ImportToken field's value.
func (*ImportKeyMaterialInput) SetKeyName ¶
func (s *ImportKeyMaterialInput) SetKeyName(v string) *ImportKeyMaterialInput
SetKeyName sets the KeyName field's value.
func (*ImportKeyMaterialInput) SetKeyringName ¶
func (s *ImportKeyMaterialInput) SetKeyringName(v string) *ImportKeyMaterialInput
SetKeyringName sets the KeyringName field's value.
func (*ImportKeyMaterialInput) SetValidTo ¶
func (s *ImportKeyMaterialInput) SetValidTo(v int64) *ImportKeyMaterialInput
SetValidTo sets the ValidTo field's value.
func (ImportKeyMaterialInput) String ¶
func (s ImportKeyMaterialInput) String() string
String returns the string representation
func (*ImportKeyMaterialInput) Validate ¶
func (s *ImportKeyMaterialInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ImportKeyMaterialOutput ¶
type ImportKeyMaterialOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (ImportKeyMaterialOutput) GoString ¶
func (s ImportKeyMaterialOutput) GoString() string
GoString returns the string representation
func (ImportKeyMaterialOutput) String ¶
func (s ImportKeyMaterialOutput) String() string
String returns the string representation
type KMS ¶
KMS provides the API operation methods for making requests to KMS. See this package's package overview docs for details on the service.
KMS methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*volcengine.Config) *KMS
New create int can support ssl or region locate set
func (*KMS) ArchiveKey ¶
func (c *KMS) ArchiveKey(input *ArchiveKeyInput) (*ArchiveKeyOutput, error)
ArchiveKey API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation ArchiveKey for usage and error information.
func (*KMS) ArchiveKeyCommon ¶
ArchiveKeyCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation ArchiveKeyCommon for usage and error information.
func (*KMS) ArchiveKeyCommonRequest ¶
func (c *KMS) ArchiveKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ArchiveKeyCommonRequest generates a "volcengine/request.Request" representing the client's request for the ArchiveKeyCommon operation. The "output" return value will be populated with the ArchiveKeyCommon request's response once the request completes successfully.
Use "Send" method on the returned ArchiveKeyCommon Request to send the API call to the service. the "output" return value is not valid until after ArchiveKeyCommon Send returns without error.
See ArchiveKeyCommon for more information on using the ArchiveKeyCommon API call, and error handling.
// Example sending a request using the ArchiveKeyCommonRequest method. req, resp := client.ArchiveKeyCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) ArchiveKeyCommonWithContext ¶
func (c *KMS) ArchiveKeyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ArchiveKeyCommonWithContext is the same as ArchiveKeyCommon with the addition of the ability to pass a context and additional request options.
See ArchiveKeyCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) ArchiveKeyRequest ¶
func (c *KMS) ArchiveKeyRequest(input *ArchiveKeyInput) (req *request.Request, output *ArchiveKeyOutput)
ArchiveKeyRequest generates a "volcengine/request.Request" representing the client's request for the ArchiveKey operation. The "output" return value will be populated with the ArchiveKeyCommon request's response once the request completes successfully.
Use "Send" method on the returned ArchiveKeyCommon Request to send the API call to the service. the "output" return value is not valid until after ArchiveKeyCommon Send returns without error.
See ArchiveKey for more information on using the ArchiveKey API call, and error handling.
// Example sending a request using the ArchiveKeyRequest method. req, resp := client.ArchiveKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) ArchiveKeyWithContext ¶
func (c *KMS) ArchiveKeyWithContext(ctx volcengine.Context, input *ArchiveKeyInput, opts ...request.Option) (*ArchiveKeyOutput, error)
ArchiveKeyWithContext is the same as ArchiveKey with the addition of the ability to pass a context and additional request options.
See ArchiveKey for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) AsymmetricDecrypt ¶
func (c *KMS) AsymmetricDecrypt(input *AsymmetricDecryptInput) (*AsymmetricDecryptOutput, error)
AsymmetricDecrypt API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation AsymmetricDecrypt for usage and error information.
func (*KMS) AsymmetricDecryptCommon ¶
func (c *KMS) AsymmetricDecryptCommon(input *map[string]interface{}) (*map[string]interface{}, error)
AsymmetricDecryptCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation AsymmetricDecryptCommon for usage and error information.
func (*KMS) AsymmetricDecryptCommonRequest ¶
func (c *KMS) AsymmetricDecryptCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
AsymmetricDecryptCommonRequest generates a "volcengine/request.Request" representing the client's request for the AsymmetricDecryptCommon operation. The "output" return value will be populated with the AsymmetricDecryptCommon request's response once the request completes successfully.
Use "Send" method on the returned AsymmetricDecryptCommon Request to send the API call to the service. the "output" return value is not valid until after AsymmetricDecryptCommon Send returns without error.
See AsymmetricDecryptCommon for more information on using the AsymmetricDecryptCommon API call, and error handling.
// Example sending a request using the AsymmetricDecryptCommonRequest method. req, resp := client.AsymmetricDecryptCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) AsymmetricDecryptCommonWithContext ¶
func (c *KMS) AsymmetricDecryptCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
AsymmetricDecryptCommonWithContext is the same as AsymmetricDecryptCommon with the addition of the ability to pass a context and additional request options.
See AsymmetricDecryptCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) AsymmetricDecryptRequest ¶
func (c *KMS) AsymmetricDecryptRequest(input *AsymmetricDecryptInput) (req *request.Request, output *AsymmetricDecryptOutput)
AsymmetricDecryptRequest generates a "volcengine/request.Request" representing the client's request for the AsymmetricDecrypt operation. The "output" return value will be populated with the AsymmetricDecryptCommon request's response once the request completes successfully.
Use "Send" method on the returned AsymmetricDecryptCommon Request to send the API call to the service. the "output" return value is not valid until after AsymmetricDecryptCommon Send returns without error.
See AsymmetricDecrypt for more information on using the AsymmetricDecrypt API call, and error handling.
// Example sending a request using the AsymmetricDecryptRequest method. req, resp := client.AsymmetricDecryptRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) AsymmetricDecryptWithContext ¶
func (c *KMS) AsymmetricDecryptWithContext(ctx volcengine.Context, input *AsymmetricDecryptInput, opts ...request.Option) (*AsymmetricDecryptOutput, error)
AsymmetricDecryptWithContext is the same as AsymmetricDecrypt with the addition of the ability to pass a context and additional request options.
See AsymmetricDecrypt for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) AsymmetricEncrypt ¶
func (c *KMS) AsymmetricEncrypt(input *AsymmetricEncryptInput) (*AsymmetricEncryptOutput, error)
AsymmetricEncrypt API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation AsymmetricEncrypt for usage and error information.
func (*KMS) AsymmetricEncryptCommon ¶
func (c *KMS) AsymmetricEncryptCommon(input *map[string]interface{}) (*map[string]interface{}, error)
AsymmetricEncryptCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation AsymmetricEncryptCommon for usage and error information.
func (*KMS) AsymmetricEncryptCommonRequest ¶
func (c *KMS) AsymmetricEncryptCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
AsymmetricEncryptCommonRequest generates a "volcengine/request.Request" representing the client's request for the AsymmetricEncryptCommon operation. The "output" return value will be populated with the AsymmetricEncryptCommon request's response once the request completes successfully.
Use "Send" method on the returned AsymmetricEncryptCommon Request to send the API call to the service. the "output" return value is not valid until after AsymmetricEncryptCommon Send returns without error.
See AsymmetricEncryptCommon for more information on using the AsymmetricEncryptCommon API call, and error handling.
// Example sending a request using the AsymmetricEncryptCommonRequest method. req, resp := client.AsymmetricEncryptCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) AsymmetricEncryptCommonWithContext ¶
func (c *KMS) AsymmetricEncryptCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
AsymmetricEncryptCommonWithContext is the same as AsymmetricEncryptCommon with the addition of the ability to pass a context and additional request options.
See AsymmetricEncryptCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) AsymmetricEncryptRequest ¶
func (c *KMS) AsymmetricEncryptRequest(input *AsymmetricEncryptInput) (req *request.Request, output *AsymmetricEncryptOutput)
AsymmetricEncryptRequest generates a "volcengine/request.Request" representing the client's request for the AsymmetricEncrypt operation. The "output" return value will be populated with the AsymmetricEncryptCommon request's response once the request completes successfully.
Use "Send" method on the returned AsymmetricEncryptCommon Request to send the API call to the service. the "output" return value is not valid until after AsymmetricEncryptCommon Send returns without error.
See AsymmetricEncrypt for more information on using the AsymmetricEncrypt API call, and error handling.
// Example sending a request using the AsymmetricEncryptRequest method. req, resp := client.AsymmetricEncryptRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) AsymmetricEncryptWithContext ¶
func (c *KMS) AsymmetricEncryptWithContext(ctx volcengine.Context, input *AsymmetricEncryptInput, opts ...request.Option) (*AsymmetricEncryptOutput, error)
AsymmetricEncryptWithContext is the same as AsymmetricEncrypt with the addition of the ability to pass a context and additional request options.
See AsymmetricEncrypt for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) AsymmetricSign ¶
func (c *KMS) AsymmetricSign(input *AsymmetricSignInput) (*AsymmetricSignOutput, error)
AsymmetricSign API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation AsymmetricSign for usage and error information.
func (*KMS) AsymmetricSignCommon ¶
AsymmetricSignCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation AsymmetricSignCommon for usage and error information.
func (*KMS) AsymmetricSignCommonRequest ¶
func (c *KMS) AsymmetricSignCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
AsymmetricSignCommonRequest generates a "volcengine/request.Request" representing the client's request for the AsymmetricSignCommon operation. The "output" return value will be populated with the AsymmetricSignCommon request's response once the request completes successfully.
Use "Send" method on the returned AsymmetricSignCommon Request to send the API call to the service. the "output" return value is not valid until after AsymmetricSignCommon Send returns without error.
See AsymmetricSignCommon for more information on using the AsymmetricSignCommon API call, and error handling.
// Example sending a request using the AsymmetricSignCommonRequest method. req, resp := client.AsymmetricSignCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) AsymmetricSignCommonWithContext ¶
func (c *KMS) AsymmetricSignCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
AsymmetricSignCommonWithContext is the same as AsymmetricSignCommon with the addition of the ability to pass a context and additional request options.
See AsymmetricSignCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) AsymmetricSignRequest ¶
func (c *KMS) AsymmetricSignRequest(input *AsymmetricSignInput) (req *request.Request, output *AsymmetricSignOutput)
AsymmetricSignRequest generates a "volcengine/request.Request" representing the client's request for the AsymmetricSign operation. The "output" return value will be populated with the AsymmetricSignCommon request's response once the request completes successfully.
Use "Send" method on the returned AsymmetricSignCommon Request to send the API call to the service. the "output" return value is not valid until after AsymmetricSignCommon Send returns without error.
See AsymmetricSign for more information on using the AsymmetricSign API call, and error handling.
// Example sending a request using the AsymmetricSignRequest method. req, resp := client.AsymmetricSignRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) AsymmetricSignWithContext ¶
func (c *KMS) AsymmetricSignWithContext(ctx volcengine.Context, input *AsymmetricSignInput, opts ...request.Option) (*AsymmetricSignOutput, error)
AsymmetricSignWithContext is the same as AsymmetricSign with the addition of the ability to pass a context and additional request options.
See AsymmetricSign for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) AsymmetricVerify ¶
func (c *KMS) AsymmetricVerify(input *AsymmetricVerifyInput) (*AsymmetricVerifyOutput, error)
AsymmetricVerify API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation AsymmetricVerify for usage and error information.
func (*KMS) AsymmetricVerifyCommon ¶
func (c *KMS) AsymmetricVerifyCommon(input *map[string]interface{}) (*map[string]interface{}, error)
AsymmetricVerifyCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation AsymmetricVerifyCommon for usage and error information.
func (*KMS) AsymmetricVerifyCommonRequest ¶
func (c *KMS) AsymmetricVerifyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
AsymmetricVerifyCommonRequest generates a "volcengine/request.Request" representing the client's request for the AsymmetricVerifyCommon operation. The "output" return value will be populated with the AsymmetricVerifyCommon request's response once the request completes successfully.
Use "Send" method on the returned AsymmetricVerifyCommon Request to send the API call to the service. the "output" return value is not valid until after AsymmetricVerifyCommon Send returns without error.
See AsymmetricVerifyCommon for more information on using the AsymmetricVerifyCommon API call, and error handling.
// Example sending a request using the AsymmetricVerifyCommonRequest method. req, resp := client.AsymmetricVerifyCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) AsymmetricVerifyCommonWithContext ¶
func (c *KMS) AsymmetricVerifyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
AsymmetricVerifyCommonWithContext is the same as AsymmetricVerifyCommon with the addition of the ability to pass a context and additional request options.
See AsymmetricVerifyCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) AsymmetricVerifyRequest ¶
func (c *KMS) AsymmetricVerifyRequest(input *AsymmetricVerifyInput) (req *request.Request, output *AsymmetricVerifyOutput)
AsymmetricVerifyRequest generates a "volcengine/request.Request" representing the client's request for the AsymmetricVerify operation. The "output" return value will be populated with the AsymmetricVerifyCommon request's response once the request completes successfully.
Use "Send" method on the returned AsymmetricVerifyCommon Request to send the API call to the service. the "output" return value is not valid until after AsymmetricVerifyCommon Send returns without error.
See AsymmetricVerify for more information on using the AsymmetricVerify API call, and error handling.
// Example sending a request using the AsymmetricVerifyRequest method. req, resp := client.AsymmetricVerifyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) AsymmetricVerifyWithContext ¶
func (c *KMS) AsymmetricVerifyWithContext(ctx volcengine.Context, input *AsymmetricVerifyInput, opts ...request.Option) (*AsymmetricVerifyOutput, error)
AsymmetricVerifyWithContext is the same as AsymmetricVerify with the addition of the ability to pass a context and additional request options.
See AsymmetricVerify for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) CancelArchiveKey ¶
func (c *KMS) CancelArchiveKey(input *CancelArchiveKeyInput) (*CancelArchiveKeyOutput, error)
CancelArchiveKey API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation CancelArchiveKey for usage and error information.
func (*KMS) CancelArchiveKeyCommon ¶
func (c *KMS) CancelArchiveKeyCommon(input *map[string]interface{}) (*map[string]interface{}, error)
CancelArchiveKeyCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation CancelArchiveKeyCommon for usage and error information.
func (*KMS) CancelArchiveKeyCommonRequest ¶
func (c *KMS) CancelArchiveKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
CancelArchiveKeyCommonRequest generates a "volcengine/request.Request" representing the client's request for the CancelArchiveKeyCommon operation. The "output" return value will be populated with the CancelArchiveKeyCommon request's response once the request completes successfully.
Use "Send" method on the returned CancelArchiveKeyCommon Request to send the API call to the service. the "output" return value is not valid until after CancelArchiveKeyCommon Send returns without error.
See CancelArchiveKeyCommon for more information on using the CancelArchiveKeyCommon API call, and error handling.
// Example sending a request using the CancelArchiveKeyCommonRequest method. req, resp := client.CancelArchiveKeyCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) CancelArchiveKeyCommonWithContext ¶
func (c *KMS) CancelArchiveKeyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
CancelArchiveKeyCommonWithContext is the same as CancelArchiveKeyCommon with the addition of the ability to pass a context and additional request options.
See CancelArchiveKeyCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) CancelArchiveKeyRequest ¶
func (c *KMS) CancelArchiveKeyRequest(input *CancelArchiveKeyInput) (req *request.Request, output *CancelArchiveKeyOutput)
CancelArchiveKeyRequest generates a "volcengine/request.Request" representing the client's request for the CancelArchiveKey operation. The "output" return value will be populated with the CancelArchiveKeyCommon request's response once the request completes successfully.
Use "Send" method on the returned CancelArchiveKeyCommon Request to send the API call to the service. the "output" return value is not valid until after CancelArchiveKeyCommon Send returns without error.
See CancelArchiveKey for more information on using the CancelArchiveKey API call, and error handling.
// Example sending a request using the CancelArchiveKeyRequest method. req, resp := client.CancelArchiveKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) CancelArchiveKeyWithContext ¶
func (c *KMS) CancelArchiveKeyWithContext(ctx volcengine.Context, input *CancelArchiveKeyInput, opts ...request.Option) (*CancelArchiveKeyOutput, error)
CancelArchiveKeyWithContext is the same as CancelArchiveKey with the addition of the ability to pass a context and additional request options.
See CancelArchiveKey for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) CancelKeyDeletion ¶
func (c *KMS) CancelKeyDeletion(input *CancelKeyDeletionInput) (*CancelKeyDeletionOutput, error)
CancelKeyDeletion API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation CancelKeyDeletion for usage and error information.
func (*KMS) CancelKeyDeletionCommon ¶
func (c *KMS) CancelKeyDeletionCommon(input *map[string]interface{}) (*map[string]interface{}, error)
CancelKeyDeletionCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation CancelKeyDeletionCommon for usage and error information.
func (*KMS) CancelKeyDeletionCommonRequest ¶
func (c *KMS) CancelKeyDeletionCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
CancelKeyDeletionCommonRequest generates a "volcengine/request.Request" representing the client's request for the CancelKeyDeletionCommon operation. The "output" return value will be populated with the CancelKeyDeletionCommon request's response once the request completes successfully.
Use "Send" method on the returned CancelKeyDeletionCommon Request to send the API call to the service. the "output" return value is not valid until after CancelKeyDeletionCommon Send returns without error.
See CancelKeyDeletionCommon for more information on using the CancelKeyDeletionCommon API call, and error handling.
// Example sending a request using the CancelKeyDeletionCommonRequest method. req, resp := client.CancelKeyDeletionCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) CancelKeyDeletionCommonWithContext ¶
func (c *KMS) CancelKeyDeletionCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
CancelKeyDeletionCommonWithContext is the same as CancelKeyDeletionCommon with the addition of the ability to pass a context and additional request options.
See CancelKeyDeletionCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) CancelKeyDeletionRequest ¶
func (c *KMS) CancelKeyDeletionRequest(input *CancelKeyDeletionInput) (req *request.Request, output *CancelKeyDeletionOutput)
CancelKeyDeletionRequest generates a "volcengine/request.Request" representing the client's request for the CancelKeyDeletion operation. The "output" return value will be populated with the CancelKeyDeletionCommon request's response once the request completes successfully.
Use "Send" method on the returned CancelKeyDeletionCommon Request to send the API call to the service. the "output" return value is not valid until after CancelKeyDeletionCommon Send returns without error.
See CancelKeyDeletion for more information on using the CancelKeyDeletion API call, and error handling.
// Example sending a request using the CancelKeyDeletionRequest method. req, resp := client.CancelKeyDeletionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) CancelKeyDeletionWithContext ¶
func (c *KMS) CancelKeyDeletionWithContext(ctx volcengine.Context, input *CancelKeyDeletionInput, opts ...request.Option) (*CancelKeyDeletionOutput, error)
CancelKeyDeletionWithContext is the same as CancelKeyDeletion with the addition of the ability to pass a context and additional request options.
See CancelKeyDeletion for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) CreateKey ¶
func (c *KMS) CreateKey(input *CreateKeyInput) (*CreateKeyOutput, error)
CreateKey API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation CreateKey for usage and error information.
func (*KMS) CreateKeyCommon ¶
CreateKeyCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation CreateKeyCommon for usage and error information.
func (*KMS) CreateKeyCommonRequest ¶
func (c *KMS) CreateKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
CreateKeyCommonRequest generates a "volcengine/request.Request" representing the client's request for the CreateKeyCommon operation. The "output" return value will be populated with the CreateKeyCommon request's response once the request completes successfully.
Use "Send" method on the returned CreateKeyCommon Request to send the API call to the service. the "output" return value is not valid until after CreateKeyCommon Send returns without error.
See CreateKeyCommon for more information on using the CreateKeyCommon API call, and error handling.
// Example sending a request using the CreateKeyCommonRequest method. req, resp := client.CreateKeyCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) CreateKeyCommonWithContext ¶
func (c *KMS) CreateKeyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
CreateKeyCommonWithContext is the same as CreateKeyCommon with the addition of the ability to pass a context and additional request options.
See CreateKeyCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) CreateKeyRequest ¶
func (c *KMS) CreateKeyRequest(input *CreateKeyInput) (req *request.Request, output *CreateKeyOutput)
CreateKeyRequest generates a "volcengine/request.Request" representing the client's request for the CreateKey operation. The "output" return value will be populated with the CreateKeyCommon request's response once the request completes successfully.
Use "Send" method on the returned CreateKeyCommon Request to send the API call to the service. the "output" return value is not valid until after CreateKeyCommon Send returns without error.
See CreateKey for more information on using the CreateKey API call, and error handling.
// Example sending a request using the CreateKeyRequest method. req, resp := client.CreateKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) CreateKeyWithContext ¶
func (c *KMS) CreateKeyWithContext(ctx volcengine.Context, input *CreateKeyInput, opts ...request.Option) (*CreateKeyOutput, error)
CreateKeyWithContext is the same as CreateKey with the addition of the ability to pass a context and additional request options.
See CreateKey for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) CreateKeyring ¶
func (c *KMS) CreateKeyring(input *CreateKeyringInput) (*CreateKeyringOutput, error)
CreateKeyring API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation CreateKeyring for usage and error information.
func (*KMS) CreateKeyringCommon ¶
CreateKeyringCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation CreateKeyringCommon for usage and error information.
func (*KMS) CreateKeyringCommonRequest ¶
func (c *KMS) CreateKeyringCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
CreateKeyringCommonRequest generates a "volcengine/request.Request" representing the client's request for the CreateKeyringCommon operation. The "output" return value will be populated with the CreateKeyringCommon request's response once the request completes successfully.
Use "Send" method on the returned CreateKeyringCommon Request to send the API call to the service. the "output" return value is not valid until after CreateKeyringCommon Send returns without error.
See CreateKeyringCommon for more information on using the CreateKeyringCommon API call, and error handling.
// Example sending a request using the CreateKeyringCommonRequest method. req, resp := client.CreateKeyringCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) CreateKeyringCommonWithContext ¶
func (c *KMS) CreateKeyringCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
CreateKeyringCommonWithContext is the same as CreateKeyringCommon with the addition of the ability to pass a context and additional request options.
See CreateKeyringCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) CreateKeyringRequest ¶
func (c *KMS) CreateKeyringRequest(input *CreateKeyringInput) (req *request.Request, output *CreateKeyringOutput)
CreateKeyringRequest generates a "volcengine/request.Request" representing the client's request for the CreateKeyring operation. The "output" return value will be populated with the CreateKeyringCommon request's response once the request completes successfully.
Use "Send" method on the returned CreateKeyringCommon Request to send the API call to the service. the "output" return value is not valid until after CreateKeyringCommon Send returns without error.
See CreateKeyring for more information on using the CreateKeyring API call, and error handling.
// Example sending a request using the CreateKeyringRequest method. req, resp := client.CreateKeyringRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) CreateKeyringWithContext ¶
func (c *KMS) CreateKeyringWithContext(ctx volcengine.Context, input *CreateKeyringInput, opts ...request.Option) (*CreateKeyringOutput, error)
CreateKeyringWithContext is the same as CreateKeyring with the addition of the ability to pass a context and additional request options.
See CreateKeyring for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) Decrypt ¶
func (c *KMS) Decrypt(input *DecryptInput) (*DecryptOutput, error)
Decrypt API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation Decrypt for usage and error information.
func (*KMS) DecryptCommon ¶
DecryptCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation DecryptCommon for usage and error information.
func (*KMS) DecryptCommonRequest ¶
func (c *KMS) DecryptCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DecryptCommonRequest generates a "volcengine/request.Request" representing the client's request for the DecryptCommon operation. The "output" return value will be populated with the DecryptCommon request's response once the request completes successfully.
Use "Send" method on the returned DecryptCommon Request to send the API call to the service. the "output" return value is not valid until after DecryptCommon Send returns without error.
See DecryptCommon for more information on using the DecryptCommon API call, and error handling.
// Example sending a request using the DecryptCommonRequest method. req, resp := client.DecryptCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) DecryptCommonWithContext ¶
func (c *KMS) DecryptCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DecryptCommonWithContext is the same as DecryptCommon with the addition of the ability to pass a context and additional request options.
See DecryptCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) DecryptRequest ¶
func (c *KMS) DecryptRequest(input *DecryptInput) (req *request.Request, output *DecryptOutput)
DecryptRequest generates a "volcengine/request.Request" representing the client's request for the Decrypt operation. The "output" return value will be populated with the DecryptCommon request's response once the request completes successfully.
Use "Send" method on the returned DecryptCommon Request to send the API call to the service. the "output" return value is not valid until after DecryptCommon Send returns without error.
See Decrypt for more information on using the Decrypt API call, and error handling.
// Example sending a request using the DecryptRequest method. req, resp := client.DecryptRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) DecryptWithContext ¶
func (c *KMS) DecryptWithContext(ctx volcengine.Context, input *DecryptInput, opts ...request.Option) (*DecryptOutput, error)
DecryptWithContext is the same as Decrypt with the addition of the ability to pass a context and additional request options.
See Decrypt for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) DeleteKeyMaterial ¶
func (c *KMS) DeleteKeyMaterial(input *DeleteKeyMaterialInput) (*DeleteKeyMaterialOutput, error)
DeleteKeyMaterial API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation DeleteKeyMaterial for usage and error information.
func (*KMS) DeleteKeyMaterialCommon ¶
func (c *KMS) DeleteKeyMaterialCommon(input *map[string]interface{}) (*map[string]interface{}, error)
DeleteKeyMaterialCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation DeleteKeyMaterialCommon for usage and error information.
func (*KMS) DeleteKeyMaterialCommonRequest ¶
func (c *KMS) DeleteKeyMaterialCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DeleteKeyMaterialCommonRequest generates a "volcengine/request.Request" representing the client's request for the DeleteKeyMaterialCommon operation. The "output" return value will be populated with the DeleteKeyMaterialCommon request's response once the request completes successfully.
Use "Send" method on the returned DeleteKeyMaterialCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteKeyMaterialCommon Send returns without error.
See DeleteKeyMaterialCommon for more information on using the DeleteKeyMaterialCommon API call, and error handling.
// Example sending a request using the DeleteKeyMaterialCommonRequest method. req, resp := client.DeleteKeyMaterialCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) DeleteKeyMaterialCommonWithContext ¶
func (c *KMS) DeleteKeyMaterialCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DeleteKeyMaterialCommonWithContext is the same as DeleteKeyMaterialCommon with the addition of the ability to pass a context and additional request options.
See DeleteKeyMaterialCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) DeleteKeyMaterialRequest ¶
func (c *KMS) DeleteKeyMaterialRequest(input *DeleteKeyMaterialInput) (req *request.Request, output *DeleteKeyMaterialOutput)
DeleteKeyMaterialRequest generates a "volcengine/request.Request" representing the client's request for the DeleteKeyMaterial operation. The "output" return value will be populated with the DeleteKeyMaterialCommon request's response once the request completes successfully.
Use "Send" method on the returned DeleteKeyMaterialCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteKeyMaterialCommon Send returns without error.
See DeleteKeyMaterial for more information on using the DeleteKeyMaterial API call, and error handling.
// Example sending a request using the DeleteKeyMaterialRequest method. req, resp := client.DeleteKeyMaterialRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) DeleteKeyMaterialWithContext ¶
func (c *KMS) DeleteKeyMaterialWithContext(ctx volcengine.Context, input *DeleteKeyMaterialInput, opts ...request.Option) (*DeleteKeyMaterialOutput, error)
DeleteKeyMaterialWithContext is the same as DeleteKeyMaterial with the addition of the ability to pass a context and additional request options.
See DeleteKeyMaterial for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) DeleteKeyring ¶ added in v1.0.156
func (c *KMS) DeleteKeyring(input *DeleteKeyringInput) (*DeleteKeyringOutput, error)
DeleteKeyring API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation DeleteKeyring for usage and error information.
func (*KMS) DeleteKeyringCommon ¶ added in v1.0.156
DeleteKeyringCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation DeleteKeyringCommon for usage and error information.
func (*KMS) DeleteKeyringCommonRequest ¶ added in v1.0.156
func (c *KMS) DeleteKeyringCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DeleteKeyringCommonRequest generates a "volcengine/request.Request" representing the client's request for the DeleteKeyringCommon operation. The "output" return value will be populated with the DeleteKeyringCommon request's response once the request completes successfully.
Use "Send" method on the returned DeleteKeyringCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteKeyringCommon Send returns without error.
See DeleteKeyringCommon for more information on using the DeleteKeyringCommon API call, and error handling.
// Example sending a request using the DeleteKeyringCommonRequest method. req, resp := client.DeleteKeyringCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) DeleteKeyringCommonWithContext ¶ added in v1.0.156
func (c *KMS) DeleteKeyringCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DeleteKeyringCommonWithContext is the same as DeleteKeyringCommon with the addition of the ability to pass a context and additional request options.
See DeleteKeyringCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) DeleteKeyringRequest ¶ added in v1.0.156
func (c *KMS) DeleteKeyringRequest(input *DeleteKeyringInput) (req *request.Request, output *DeleteKeyringOutput)
DeleteKeyringRequest generates a "volcengine/request.Request" representing the client's request for the DeleteKeyring operation. The "output" return value will be populated with the DeleteKeyringCommon request's response once the request completes successfully.
Use "Send" method on the returned DeleteKeyringCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteKeyringCommon Send returns without error.
See DeleteKeyring for more information on using the DeleteKeyring API call, and error handling.
// Example sending a request using the DeleteKeyringRequest method. req, resp := client.DeleteKeyringRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) DeleteKeyringWithContext ¶ added in v1.0.156
func (c *KMS) DeleteKeyringWithContext(ctx volcengine.Context, input *DeleteKeyringInput, opts ...request.Option) (*DeleteKeyringOutput, error)
DeleteKeyringWithContext is the same as DeleteKeyring with the addition of the ability to pass a context and additional request options.
See DeleteKeyring for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) DescribeKey ¶
func (c *KMS) DescribeKey(input *DescribeKeyInput) (*DescribeKeyOutput, error)
DescribeKey API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation DescribeKey for usage and error information.
func (*KMS) DescribeKeyCommon ¶
DescribeKeyCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation DescribeKeyCommon for usage and error information.
func (*KMS) DescribeKeyCommonRequest ¶
func (c *KMS) DescribeKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DescribeKeyCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeKeyCommon operation. The "output" return value will be populated with the DescribeKeyCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeKeyCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeKeyCommon Send returns without error.
See DescribeKeyCommon for more information on using the DescribeKeyCommon API call, and error handling.
// Example sending a request using the DescribeKeyCommonRequest method. req, resp := client.DescribeKeyCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) DescribeKeyCommonWithContext ¶
func (c *KMS) DescribeKeyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DescribeKeyCommonWithContext is the same as DescribeKeyCommon with the addition of the ability to pass a context and additional request options.
See DescribeKeyCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) DescribeKeyRequest ¶
func (c *KMS) DescribeKeyRequest(input *DescribeKeyInput) (req *request.Request, output *DescribeKeyOutput)
DescribeKeyRequest generates a "volcengine/request.Request" representing the client's request for the DescribeKey operation. The "output" return value will be populated with the DescribeKeyCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeKeyCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeKeyCommon Send returns without error.
See DescribeKey for more information on using the DescribeKey API call, and error handling.
// Example sending a request using the DescribeKeyRequest method. req, resp := client.DescribeKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) DescribeKeyWithContext ¶
func (c *KMS) DescribeKeyWithContext(ctx volcengine.Context, input *DescribeKeyInput, opts ...request.Option) (*DescribeKeyOutput, error)
DescribeKeyWithContext is the same as DescribeKey with the addition of the ability to pass a context and additional request options.
See DescribeKey for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) DescribeKeyrings ¶
func (c *KMS) DescribeKeyrings(input *DescribeKeyringsInput) (*DescribeKeyringsOutput, error)
DescribeKeyrings API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation DescribeKeyrings for usage and error information.
func (*KMS) DescribeKeyringsCommon ¶
func (c *KMS) DescribeKeyringsCommon(input *map[string]interface{}) (*map[string]interface{}, error)
DescribeKeyringsCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation DescribeKeyringsCommon for usage and error information.
func (*KMS) DescribeKeyringsCommonRequest ¶
func (c *KMS) DescribeKeyringsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DescribeKeyringsCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeKeyringsCommon operation. The "output" return value will be populated with the DescribeKeyringsCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeKeyringsCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeKeyringsCommon Send returns without error.
See DescribeKeyringsCommon for more information on using the DescribeKeyringsCommon API call, and error handling.
// Example sending a request using the DescribeKeyringsCommonRequest method. req, resp := client.DescribeKeyringsCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) DescribeKeyringsCommonWithContext ¶
func (c *KMS) DescribeKeyringsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DescribeKeyringsCommonWithContext is the same as DescribeKeyringsCommon with the addition of the ability to pass a context and additional request options.
See DescribeKeyringsCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) DescribeKeyringsRequest ¶
func (c *KMS) DescribeKeyringsRequest(input *DescribeKeyringsInput) (req *request.Request, output *DescribeKeyringsOutput)
DescribeKeyringsRequest generates a "volcengine/request.Request" representing the client's request for the DescribeKeyrings operation. The "output" return value will be populated with the DescribeKeyringsCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeKeyringsCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeKeyringsCommon Send returns without error.
See DescribeKeyrings for more information on using the DescribeKeyrings API call, and error handling.
// Example sending a request using the DescribeKeyringsRequest method. req, resp := client.DescribeKeyringsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) DescribeKeyringsWithContext ¶
func (c *KMS) DescribeKeyringsWithContext(ctx volcengine.Context, input *DescribeKeyringsInput, opts ...request.Option) (*DescribeKeyringsOutput, error)
DescribeKeyringsWithContext is the same as DescribeKeyrings with the addition of the ability to pass a context and additional request options.
See DescribeKeyrings for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) DescribeKeys ¶
func (c *KMS) DescribeKeys(input *DescribeKeysInput) (*DescribeKeysOutput, error)
DescribeKeys API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation DescribeKeys for usage and error information.
func (*KMS) DescribeKeysCommon ¶
DescribeKeysCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation DescribeKeysCommon for usage and error information.
func (*KMS) DescribeKeysCommonRequest ¶
func (c *KMS) DescribeKeysCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DescribeKeysCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeKeysCommon operation. The "output" return value will be populated with the DescribeKeysCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeKeysCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeKeysCommon Send returns without error.
See DescribeKeysCommon for more information on using the DescribeKeysCommon API call, and error handling.
// Example sending a request using the DescribeKeysCommonRequest method. req, resp := client.DescribeKeysCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) DescribeKeysCommonWithContext ¶
func (c *KMS) DescribeKeysCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DescribeKeysCommonWithContext is the same as DescribeKeysCommon with the addition of the ability to pass a context and additional request options.
See DescribeKeysCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) DescribeKeysRequest ¶
func (c *KMS) DescribeKeysRequest(input *DescribeKeysInput) (req *request.Request, output *DescribeKeysOutput)
DescribeKeysRequest generates a "volcengine/request.Request" representing the client's request for the DescribeKeys operation. The "output" return value will be populated with the DescribeKeysCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeKeysCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeKeysCommon Send returns without error.
See DescribeKeys for more information on using the DescribeKeys API call, and error handling.
// Example sending a request using the DescribeKeysRequest method. req, resp := client.DescribeKeysRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) DescribeKeysWithContext ¶
func (c *KMS) DescribeKeysWithContext(ctx volcengine.Context, input *DescribeKeysInput, opts ...request.Option) (*DescribeKeysOutput, error)
DescribeKeysWithContext is the same as DescribeKeys with the addition of the ability to pass a context and additional request options.
See DescribeKeys for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) DescribeRegions ¶
func (c *KMS) DescribeRegions(input *DescribeRegionsInput) (*DescribeRegionsOutput, error)
DescribeRegions API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation DescribeRegions for usage and error information.
func (*KMS) DescribeRegionsCommon ¶
DescribeRegionsCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation DescribeRegionsCommon for usage and error information.
func (*KMS) DescribeRegionsCommonRequest ¶
func (c *KMS) DescribeRegionsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DescribeRegionsCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeRegionsCommon operation. The "output" return value will be populated with the DescribeRegionsCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeRegionsCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeRegionsCommon Send returns without error.
See DescribeRegionsCommon for more information on using the DescribeRegionsCommon API call, and error handling.
// Example sending a request using the DescribeRegionsCommonRequest method. req, resp := client.DescribeRegionsCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) DescribeRegionsCommonWithContext ¶
func (c *KMS) DescribeRegionsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DescribeRegionsCommonWithContext is the same as DescribeRegionsCommon with the addition of the ability to pass a context and additional request options.
See DescribeRegionsCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) DescribeRegionsRequest ¶
func (c *KMS) DescribeRegionsRequest(input *DescribeRegionsInput) (req *request.Request, output *DescribeRegionsOutput)
DescribeRegionsRequest generates a "volcengine/request.Request" representing the client's request for the DescribeRegions operation. The "output" return value will be populated with the DescribeRegionsCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeRegionsCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeRegionsCommon Send returns without error.
See DescribeRegions for more information on using the DescribeRegions API call, and error handling.
// Example sending a request using the DescribeRegionsRequest method. req, resp := client.DescribeRegionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) DescribeRegionsWithContext ¶
func (c *KMS) DescribeRegionsWithContext(ctx volcengine.Context, input *DescribeRegionsInput, opts ...request.Option) (*DescribeRegionsOutput, error)
DescribeRegionsWithContext is the same as DescribeRegions with the addition of the ability to pass a context and additional request options.
See DescribeRegions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) DisableKey ¶
func (c *KMS) DisableKey(input *DisableKeyInput) (*DisableKeyOutput, error)
DisableKey API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation DisableKey for usage and error information.
func (*KMS) DisableKeyCommon ¶
DisableKeyCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation DisableKeyCommon for usage and error information.
func (*KMS) DisableKeyCommonRequest ¶
func (c *KMS) DisableKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DisableKeyCommonRequest generates a "volcengine/request.Request" representing the client's request for the DisableKeyCommon operation. The "output" return value will be populated with the DisableKeyCommon request's response once the request completes successfully.
Use "Send" method on the returned DisableKeyCommon Request to send the API call to the service. the "output" return value is not valid until after DisableKeyCommon Send returns without error.
See DisableKeyCommon for more information on using the DisableKeyCommon API call, and error handling.
// Example sending a request using the DisableKeyCommonRequest method. req, resp := client.DisableKeyCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) DisableKeyCommonWithContext ¶
func (c *KMS) DisableKeyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DisableKeyCommonWithContext is the same as DisableKeyCommon with the addition of the ability to pass a context and additional request options.
See DisableKeyCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) DisableKeyRequest ¶
func (c *KMS) DisableKeyRequest(input *DisableKeyInput) (req *request.Request, output *DisableKeyOutput)
DisableKeyRequest generates a "volcengine/request.Request" representing the client's request for the DisableKey operation. The "output" return value will be populated with the DisableKeyCommon request's response once the request completes successfully.
Use "Send" method on the returned DisableKeyCommon Request to send the API call to the service. the "output" return value is not valid until after DisableKeyCommon Send returns without error.
See DisableKey for more information on using the DisableKey API call, and error handling.
// Example sending a request using the DisableKeyRequest method. req, resp := client.DisableKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) DisableKeyRotation ¶
func (c *KMS) DisableKeyRotation(input *DisableKeyRotationInput) (*DisableKeyRotationOutput, error)
DisableKeyRotation API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation DisableKeyRotation for usage and error information.
func (*KMS) DisableKeyRotationCommon ¶
func (c *KMS) DisableKeyRotationCommon(input *map[string]interface{}) (*map[string]interface{}, error)
DisableKeyRotationCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation DisableKeyRotationCommon for usage and error information.
func (*KMS) DisableKeyRotationCommonRequest ¶
func (c *KMS) DisableKeyRotationCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DisableKeyRotationCommonRequest generates a "volcengine/request.Request" representing the client's request for the DisableKeyRotationCommon operation. The "output" return value will be populated with the DisableKeyRotationCommon request's response once the request completes successfully.
Use "Send" method on the returned DisableKeyRotationCommon Request to send the API call to the service. the "output" return value is not valid until after DisableKeyRotationCommon Send returns without error.
See DisableKeyRotationCommon for more information on using the DisableKeyRotationCommon API call, and error handling.
// Example sending a request using the DisableKeyRotationCommonRequest method. req, resp := client.DisableKeyRotationCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) DisableKeyRotationCommonWithContext ¶
func (c *KMS) DisableKeyRotationCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DisableKeyRotationCommonWithContext is the same as DisableKeyRotationCommon with the addition of the ability to pass a context and additional request options.
See DisableKeyRotationCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) DisableKeyRotationRequest ¶
func (c *KMS) DisableKeyRotationRequest(input *DisableKeyRotationInput) (req *request.Request, output *DisableKeyRotationOutput)
DisableKeyRotationRequest generates a "volcengine/request.Request" representing the client's request for the DisableKeyRotation operation. The "output" return value will be populated with the DisableKeyRotationCommon request's response once the request completes successfully.
Use "Send" method on the returned DisableKeyRotationCommon Request to send the API call to the service. the "output" return value is not valid until after DisableKeyRotationCommon Send returns without error.
See DisableKeyRotation for more information on using the DisableKeyRotation API call, and error handling.
// Example sending a request using the DisableKeyRotationRequest method. req, resp := client.DisableKeyRotationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) DisableKeyRotationWithContext ¶
func (c *KMS) DisableKeyRotationWithContext(ctx volcengine.Context, input *DisableKeyRotationInput, opts ...request.Option) (*DisableKeyRotationOutput, error)
DisableKeyRotationWithContext is the same as DisableKeyRotation with the addition of the ability to pass a context and additional request options.
See DisableKeyRotation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) DisableKeyWithContext ¶
func (c *KMS) DisableKeyWithContext(ctx volcengine.Context, input *DisableKeyInput, opts ...request.Option) (*DisableKeyOutput, error)
DisableKeyWithContext is the same as DisableKey with the addition of the ability to pass a context and additional request options.
See DisableKey for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) EnableKey ¶
func (c *KMS) EnableKey(input *EnableKeyInput) (*EnableKeyOutput, error)
EnableKey API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation EnableKey for usage and error information.
func (*KMS) EnableKeyCommon ¶
EnableKeyCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation EnableKeyCommon for usage and error information.
func (*KMS) EnableKeyCommonRequest ¶
func (c *KMS) EnableKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
EnableKeyCommonRequest generates a "volcengine/request.Request" representing the client's request for the EnableKeyCommon operation. The "output" return value will be populated with the EnableKeyCommon request's response once the request completes successfully.
Use "Send" method on the returned EnableKeyCommon Request to send the API call to the service. the "output" return value is not valid until after EnableKeyCommon Send returns without error.
See EnableKeyCommon for more information on using the EnableKeyCommon API call, and error handling.
// Example sending a request using the EnableKeyCommonRequest method. req, resp := client.EnableKeyCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) EnableKeyCommonWithContext ¶
func (c *KMS) EnableKeyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
EnableKeyCommonWithContext is the same as EnableKeyCommon with the addition of the ability to pass a context and additional request options.
See EnableKeyCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) EnableKeyRequest ¶
func (c *KMS) EnableKeyRequest(input *EnableKeyInput) (req *request.Request, output *EnableKeyOutput)
EnableKeyRequest generates a "volcengine/request.Request" representing the client's request for the EnableKey operation. The "output" return value will be populated with the EnableKeyCommon request's response once the request completes successfully.
Use "Send" method on the returned EnableKeyCommon Request to send the API call to the service. the "output" return value is not valid until after EnableKeyCommon Send returns without error.
See EnableKey for more information on using the EnableKey API call, and error handling.
// Example sending a request using the EnableKeyRequest method. req, resp := client.EnableKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) EnableKeyRotation ¶
func (c *KMS) EnableKeyRotation(input *EnableKeyRotationInput) (*EnableKeyRotationOutput, error)
EnableKeyRotation API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation EnableKeyRotation for usage and error information.
func (*KMS) EnableKeyRotationCommon ¶
func (c *KMS) EnableKeyRotationCommon(input *map[string]interface{}) (*map[string]interface{}, error)
EnableKeyRotationCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation EnableKeyRotationCommon for usage and error information.
func (*KMS) EnableKeyRotationCommonRequest ¶
func (c *KMS) EnableKeyRotationCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
EnableKeyRotationCommonRequest generates a "volcengine/request.Request" representing the client's request for the EnableKeyRotationCommon operation. The "output" return value will be populated with the EnableKeyRotationCommon request's response once the request completes successfully.
Use "Send" method on the returned EnableKeyRotationCommon Request to send the API call to the service. the "output" return value is not valid until after EnableKeyRotationCommon Send returns without error.
See EnableKeyRotationCommon for more information on using the EnableKeyRotationCommon API call, and error handling.
// Example sending a request using the EnableKeyRotationCommonRequest method. req, resp := client.EnableKeyRotationCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) EnableKeyRotationCommonWithContext ¶
func (c *KMS) EnableKeyRotationCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
EnableKeyRotationCommonWithContext is the same as EnableKeyRotationCommon with the addition of the ability to pass a context and additional request options.
See EnableKeyRotationCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) EnableKeyRotationRequest ¶
func (c *KMS) EnableKeyRotationRequest(input *EnableKeyRotationInput) (req *request.Request, output *EnableKeyRotationOutput)
EnableKeyRotationRequest generates a "volcengine/request.Request" representing the client's request for the EnableKeyRotation operation. The "output" return value will be populated with the EnableKeyRotationCommon request's response once the request completes successfully.
Use "Send" method on the returned EnableKeyRotationCommon Request to send the API call to the service. the "output" return value is not valid until after EnableKeyRotationCommon Send returns without error.
See EnableKeyRotation for more information on using the EnableKeyRotation API call, and error handling.
// Example sending a request using the EnableKeyRotationRequest method. req, resp := client.EnableKeyRotationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) EnableKeyRotationWithContext ¶
func (c *KMS) EnableKeyRotationWithContext(ctx volcengine.Context, input *EnableKeyRotationInput, opts ...request.Option) (*EnableKeyRotationOutput, error)
EnableKeyRotationWithContext is the same as EnableKeyRotation with the addition of the ability to pass a context and additional request options.
See EnableKeyRotation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) EnableKeyWithContext ¶
func (c *KMS) EnableKeyWithContext(ctx volcengine.Context, input *EnableKeyInput, opts ...request.Option) (*EnableKeyOutput, error)
EnableKeyWithContext is the same as EnableKey with the addition of the ability to pass a context and additional request options.
See EnableKey for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) Encrypt ¶
func (c *KMS) Encrypt(input *EncryptInput) (*EncryptOutput, error)
Encrypt API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation Encrypt for usage and error information.
func (*KMS) EncryptCommon ¶
EncryptCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation EncryptCommon for usage and error information.
func (*KMS) EncryptCommonRequest ¶
func (c *KMS) EncryptCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
EncryptCommonRequest generates a "volcengine/request.Request" representing the client's request for the EncryptCommon operation. The "output" return value will be populated with the EncryptCommon request's response once the request completes successfully.
Use "Send" method on the returned EncryptCommon Request to send the API call to the service. the "output" return value is not valid until after EncryptCommon Send returns without error.
See EncryptCommon for more information on using the EncryptCommon API call, and error handling.
// Example sending a request using the EncryptCommonRequest method. req, resp := client.EncryptCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) EncryptCommonWithContext ¶
func (c *KMS) EncryptCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
EncryptCommonWithContext is the same as EncryptCommon with the addition of the ability to pass a context and additional request options.
See EncryptCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) EncryptRequest ¶
func (c *KMS) EncryptRequest(input *EncryptInput) (req *request.Request, output *EncryptOutput)
EncryptRequest generates a "volcengine/request.Request" representing the client's request for the Encrypt operation. The "output" return value will be populated with the EncryptCommon request's response once the request completes successfully.
Use "Send" method on the returned EncryptCommon Request to send the API call to the service. the "output" return value is not valid until after EncryptCommon Send returns without error.
See Encrypt for more information on using the Encrypt API call, and error handling.
// Example sending a request using the EncryptRequest method. req, resp := client.EncryptRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) EncryptWithContext ¶
func (c *KMS) EncryptWithContext(ctx volcengine.Context, input *EncryptInput, opts ...request.Option) (*EncryptOutput, error)
EncryptWithContext is the same as Encrypt with the addition of the ability to pass a context and additional request options.
See Encrypt for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) GenerateDataKey ¶
func (c *KMS) GenerateDataKey(input *GenerateDataKeyInput) (*GenerateDataKeyOutput, error)
GenerateDataKey API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation GenerateDataKey for usage and error information.
func (*KMS) GenerateDataKeyCommon ¶
GenerateDataKeyCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation GenerateDataKeyCommon for usage and error information.
func (*KMS) GenerateDataKeyCommonRequest ¶
func (c *KMS) GenerateDataKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
GenerateDataKeyCommonRequest generates a "volcengine/request.Request" representing the client's request for the GenerateDataKeyCommon operation. The "output" return value will be populated with the GenerateDataKeyCommon request's response once the request completes successfully.
Use "Send" method on the returned GenerateDataKeyCommon Request to send the API call to the service. the "output" return value is not valid until after GenerateDataKeyCommon Send returns without error.
See GenerateDataKeyCommon for more information on using the GenerateDataKeyCommon API call, and error handling.
// Example sending a request using the GenerateDataKeyCommonRequest method. req, resp := client.GenerateDataKeyCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) GenerateDataKeyCommonWithContext ¶
func (c *KMS) GenerateDataKeyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
GenerateDataKeyCommonWithContext is the same as GenerateDataKeyCommon with the addition of the ability to pass a context and additional request options.
See GenerateDataKeyCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) GenerateDataKeyRequest ¶
func (c *KMS) GenerateDataKeyRequest(input *GenerateDataKeyInput) (req *request.Request, output *GenerateDataKeyOutput)
GenerateDataKeyRequest generates a "volcengine/request.Request" representing the client's request for the GenerateDataKey operation. The "output" return value will be populated with the GenerateDataKeyCommon request's response once the request completes successfully.
Use "Send" method on the returned GenerateDataKeyCommon Request to send the API call to the service. the "output" return value is not valid until after GenerateDataKeyCommon Send returns without error.
See GenerateDataKey for more information on using the GenerateDataKey API call, and error handling.
// Example sending a request using the GenerateDataKeyRequest method. req, resp := client.GenerateDataKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) GenerateDataKeyWithContext ¶
func (c *KMS) GenerateDataKeyWithContext(ctx volcengine.Context, input *GenerateDataKeyInput, opts ...request.Option) (*GenerateDataKeyOutput, error)
GenerateDataKeyWithContext is the same as GenerateDataKey with the addition of the ability to pass a context and additional request options.
See GenerateDataKey for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) GetParametersForImport ¶
func (c *KMS) GetParametersForImport(input *GetParametersForImportInput) (*GetParametersForImportOutput, error)
GetParametersForImport API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation GetParametersForImport for usage and error information.
func (*KMS) GetParametersForImportCommon ¶
func (c *KMS) GetParametersForImportCommon(input *map[string]interface{}) (*map[string]interface{}, error)
GetParametersForImportCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation GetParametersForImportCommon for usage and error information.
func (*KMS) GetParametersForImportCommonRequest ¶
func (c *KMS) GetParametersForImportCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
GetParametersForImportCommonRequest generates a "volcengine/request.Request" representing the client's request for the GetParametersForImportCommon operation. The "output" return value will be populated with the GetParametersForImportCommon request's response once the request completes successfully.
Use "Send" method on the returned GetParametersForImportCommon Request to send the API call to the service. the "output" return value is not valid until after GetParametersForImportCommon Send returns without error.
See GetParametersForImportCommon for more information on using the GetParametersForImportCommon API call, and error handling.
// Example sending a request using the GetParametersForImportCommonRequest method. req, resp := client.GetParametersForImportCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) GetParametersForImportCommonWithContext ¶
func (c *KMS) GetParametersForImportCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
GetParametersForImportCommonWithContext is the same as GetParametersForImportCommon with the addition of the ability to pass a context and additional request options.
See GetParametersForImportCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) GetParametersForImportRequest ¶
func (c *KMS) GetParametersForImportRequest(input *GetParametersForImportInput) (req *request.Request, output *GetParametersForImportOutput)
GetParametersForImportRequest generates a "volcengine/request.Request" representing the client's request for the GetParametersForImport operation. The "output" return value will be populated with the GetParametersForImportCommon request's response once the request completes successfully.
Use "Send" method on the returned GetParametersForImportCommon Request to send the API call to the service. the "output" return value is not valid until after GetParametersForImportCommon Send returns without error.
See GetParametersForImport for more information on using the GetParametersForImport API call, and error handling.
// Example sending a request using the GetParametersForImportRequest method. req, resp := client.GetParametersForImportRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) GetParametersForImportWithContext ¶
func (c *KMS) GetParametersForImportWithContext(ctx volcengine.Context, input *GetParametersForImportInput, opts ...request.Option) (*GetParametersForImportOutput, error)
GetParametersForImportWithContext is the same as GetParametersForImport with the addition of the ability to pass a context and additional request options.
See GetParametersForImport for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) GetPublicKey ¶
func (c *KMS) GetPublicKey(input *GetPublicKeyInput) (*GetPublicKeyOutput, error)
GetPublicKey API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation GetPublicKey for usage and error information.
func (*KMS) GetPublicKeyCommon ¶
GetPublicKeyCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation GetPublicKeyCommon for usage and error information.
func (*KMS) GetPublicKeyCommonRequest ¶
func (c *KMS) GetPublicKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
GetPublicKeyCommonRequest generates a "volcengine/request.Request" representing the client's request for the GetPublicKeyCommon operation. The "output" return value will be populated with the GetPublicKeyCommon request's response once the request completes successfully.
Use "Send" method on the returned GetPublicKeyCommon Request to send the API call to the service. the "output" return value is not valid until after GetPublicKeyCommon Send returns without error.
See GetPublicKeyCommon for more information on using the GetPublicKeyCommon API call, and error handling.
// Example sending a request using the GetPublicKeyCommonRequest method. req, resp := client.GetPublicKeyCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) GetPublicKeyCommonWithContext ¶
func (c *KMS) GetPublicKeyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
GetPublicKeyCommonWithContext is the same as GetPublicKeyCommon with the addition of the ability to pass a context and additional request options.
See GetPublicKeyCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) GetPublicKeyRequest ¶
func (c *KMS) GetPublicKeyRequest(input *GetPublicKeyInput) (req *request.Request, output *GetPublicKeyOutput)
GetPublicKeyRequest generates a "volcengine/request.Request" representing the client's request for the GetPublicKey operation. The "output" return value will be populated with the GetPublicKeyCommon request's response once the request completes successfully.
Use "Send" method on the returned GetPublicKeyCommon Request to send the API call to the service. the "output" return value is not valid until after GetPublicKeyCommon Send returns without error.
See GetPublicKey for more information on using the GetPublicKey API call, and error handling.
// Example sending a request using the GetPublicKeyRequest method. req, resp := client.GetPublicKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) GetPublicKeyWithContext ¶
func (c *KMS) GetPublicKeyWithContext(ctx volcengine.Context, input *GetPublicKeyInput, opts ...request.Option) (*GetPublicKeyOutput, error)
GetPublicKeyWithContext is the same as GetPublicKey with the addition of the ability to pass a context and additional request options.
See GetPublicKey for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) ImportKeyMaterial ¶
func (c *KMS) ImportKeyMaterial(input *ImportKeyMaterialInput) (*ImportKeyMaterialOutput, error)
ImportKeyMaterial API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation ImportKeyMaterial for usage and error information.
func (*KMS) ImportKeyMaterialCommon ¶
func (c *KMS) ImportKeyMaterialCommon(input *map[string]interface{}) (*map[string]interface{}, error)
ImportKeyMaterialCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation ImportKeyMaterialCommon for usage and error information.
func (*KMS) ImportKeyMaterialCommonRequest ¶
func (c *KMS) ImportKeyMaterialCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ImportKeyMaterialCommonRequest generates a "volcengine/request.Request" representing the client's request for the ImportKeyMaterialCommon operation. The "output" return value will be populated with the ImportKeyMaterialCommon request's response once the request completes successfully.
Use "Send" method on the returned ImportKeyMaterialCommon Request to send the API call to the service. the "output" return value is not valid until after ImportKeyMaterialCommon Send returns without error.
See ImportKeyMaterialCommon for more information on using the ImportKeyMaterialCommon API call, and error handling.
// Example sending a request using the ImportKeyMaterialCommonRequest method. req, resp := client.ImportKeyMaterialCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) ImportKeyMaterialCommonWithContext ¶
func (c *KMS) ImportKeyMaterialCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ImportKeyMaterialCommonWithContext is the same as ImportKeyMaterialCommon with the addition of the ability to pass a context and additional request options.
See ImportKeyMaterialCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) ImportKeyMaterialRequest ¶
func (c *KMS) ImportKeyMaterialRequest(input *ImportKeyMaterialInput) (req *request.Request, output *ImportKeyMaterialOutput)
ImportKeyMaterialRequest generates a "volcengine/request.Request" representing the client's request for the ImportKeyMaterial operation. The "output" return value will be populated with the ImportKeyMaterialCommon request's response once the request completes successfully.
Use "Send" method on the returned ImportKeyMaterialCommon Request to send the API call to the service. the "output" return value is not valid until after ImportKeyMaterialCommon Send returns without error.
See ImportKeyMaterial for more information on using the ImportKeyMaterial API call, and error handling.
// Example sending a request using the ImportKeyMaterialRequest method. req, resp := client.ImportKeyMaterialRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) ImportKeyMaterialWithContext ¶
func (c *KMS) ImportKeyMaterialWithContext(ctx volcengine.Context, input *ImportKeyMaterialInput, opts ...request.Option) (*ImportKeyMaterialOutput, error)
ImportKeyMaterialWithContext is the same as ImportKeyMaterial with the addition of the ability to pass a context and additional request options.
See ImportKeyMaterial for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) QueryKeyring ¶
func (c *KMS) QueryKeyring(input *QueryKeyringInput) (*QueryKeyringOutput, error)
QueryKeyring API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation QueryKeyring for usage and error information.
func (*KMS) QueryKeyringCommon ¶
QueryKeyringCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation QueryKeyringCommon for usage and error information.
func (*KMS) QueryKeyringCommonRequest ¶
func (c *KMS) QueryKeyringCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
QueryKeyringCommonRequest generates a "volcengine/request.Request" representing the client's request for the QueryKeyringCommon operation. The "output" return value will be populated with the QueryKeyringCommon request's response once the request completes successfully.
Use "Send" method on the returned QueryKeyringCommon Request to send the API call to the service. the "output" return value is not valid until after QueryKeyringCommon Send returns without error.
See QueryKeyringCommon for more information on using the QueryKeyringCommon API call, and error handling.
// Example sending a request using the QueryKeyringCommonRequest method. req, resp := client.QueryKeyringCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) QueryKeyringCommonWithContext ¶
func (c *KMS) QueryKeyringCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
QueryKeyringCommonWithContext is the same as QueryKeyringCommon with the addition of the ability to pass a context and additional request options.
See QueryKeyringCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) QueryKeyringRequest ¶
func (c *KMS) QueryKeyringRequest(input *QueryKeyringInput) (req *request.Request, output *QueryKeyringOutput)
QueryKeyringRequest generates a "volcengine/request.Request" representing the client's request for the QueryKeyring operation. The "output" return value will be populated with the QueryKeyringCommon request's response once the request completes successfully.
Use "Send" method on the returned QueryKeyringCommon Request to send the API call to the service. the "output" return value is not valid until after QueryKeyringCommon Send returns without error.
See QueryKeyring for more information on using the QueryKeyring API call, and error handling.
// Example sending a request using the QueryKeyringRequest method. req, resp := client.QueryKeyringRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) QueryKeyringWithContext ¶
func (c *KMS) QueryKeyringWithContext(ctx volcengine.Context, input *QueryKeyringInput, opts ...request.Option) (*QueryKeyringOutput, error)
QueryKeyringWithContext is the same as QueryKeyring with the addition of the ability to pass a context and additional request options.
See QueryKeyring for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) ReEncrypt ¶
func (c *KMS) ReEncrypt(input *ReEncryptInput) (*ReEncryptOutput, error)
ReEncrypt API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation ReEncrypt for usage and error information.
func (*KMS) ReEncryptCommon ¶
ReEncryptCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation ReEncryptCommon for usage and error information.
func (*KMS) ReEncryptCommonRequest ¶
func (c *KMS) ReEncryptCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ReEncryptCommonRequest generates a "volcengine/request.Request" representing the client's request for the ReEncryptCommon operation. The "output" return value will be populated with the ReEncryptCommon request's response once the request completes successfully.
Use "Send" method on the returned ReEncryptCommon Request to send the API call to the service. the "output" return value is not valid until after ReEncryptCommon Send returns without error.
See ReEncryptCommon for more information on using the ReEncryptCommon API call, and error handling.
// Example sending a request using the ReEncryptCommonRequest method. req, resp := client.ReEncryptCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) ReEncryptCommonWithContext ¶
func (c *KMS) ReEncryptCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ReEncryptCommonWithContext is the same as ReEncryptCommon with the addition of the ability to pass a context and additional request options.
See ReEncryptCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) ReEncryptRequest ¶
func (c *KMS) ReEncryptRequest(input *ReEncryptInput) (req *request.Request, output *ReEncryptOutput)
ReEncryptRequest generates a "volcengine/request.Request" representing the client's request for the ReEncrypt operation. The "output" return value will be populated with the ReEncryptCommon request's response once the request completes successfully.
Use "Send" method on the returned ReEncryptCommon Request to send the API call to the service. the "output" return value is not valid until after ReEncryptCommon Send returns without error.
See ReEncrypt for more information on using the ReEncrypt API call, and error handling.
// Example sending a request using the ReEncryptRequest method. req, resp := client.ReEncryptRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) ReEncryptWithContext ¶
func (c *KMS) ReEncryptWithContext(ctx volcengine.Context, input *ReEncryptInput, opts ...request.Option) (*ReEncryptOutput, error)
ReEncryptWithContext is the same as ReEncrypt with the addition of the ability to pass a context and additional request options.
See ReEncrypt for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) ScheduleKeyDeletion ¶
func (c *KMS) ScheduleKeyDeletion(input *ScheduleKeyDeletionInput) (*ScheduleKeyDeletionOutput, error)
ScheduleKeyDeletion API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation ScheduleKeyDeletion for usage and error information.
func (*KMS) ScheduleKeyDeletionCommon ¶
func (c *KMS) ScheduleKeyDeletionCommon(input *map[string]interface{}) (*map[string]interface{}, error)
ScheduleKeyDeletionCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation ScheduleKeyDeletionCommon for usage and error information.
func (*KMS) ScheduleKeyDeletionCommonRequest ¶
func (c *KMS) ScheduleKeyDeletionCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ScheduleKeyDeletionCommonRequest generates a "volcengine/request.Request" representing the client's request for the ScheduleKeyDeletionCommon operation. The "output" return value will be populated with the ScheduleKeyDeletionCommon request's response once the request completes successfully.
Use "Send" method on the returned ScheduleKeyDeletionCommon Request to send the API call to the service. the "output" return value is not valid until after ScheduleKeyDeletionCommon Send returns without error.
See ScheduleKeyDeletionCommon for more information on using the ScheduleKeyDeletionCommon API call, and error handling.
// Example sending a request using the ScheduleKeyDeletionCommonRequest method. req, resp := client.ScheduleKeyDeletionCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) ScheduleKeyDeletionCommonWithContext ¶
func (c *KMS) ScheduleKeyDeletionCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ScheduleKeyDeletionCommonWithContext is the same as ScheduleKeyDeletionCommon with the addition of the ability to pass a context and additional request options.
See ScheduleKeyDeletionCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) ScheduleKeyDeletionRequest ¶
func (c *KMS) ScheduleKeyDeletionRequest(input *ScheduleKeyDeletionInput) (req *request.Request, output *ScheduleKeyDeletionOutput)
ScheduleKeyDeletionRequest generates a "volcengine/request.Request" representing the client's request for the ScheduleKeyDeletion operation. The "output" return value will be populated with the ScheduleKeyDeletionCommon request's response once the request completes successfully.
Use "Send" method on the returned ScheduleKeyDeletionCommon Request to send the API call to the service. the "output" return value is not valid until after ScheduleKeyDeletionCommon Send returns without error.
See ScheduleKeyDeletion for more information on using the ScheduleKeyDeletion API call, and error handling.
// Example sending a request using the ScheduleKeyDeletionRequest method. req, resp := client.ScheduleKeyDeletionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) ScheduleKeyDeletionWithContext ¶
func (c *KMS) ScheduleKeyDeletionWithContext(ctx volcengine.Context, input *ScheduleKeyDeletionInput, opts ...request.Option) (*ScheduleKeyDeletionOutput, error)
ScheduleKeyDeletionWithContext is the same as ScheduleKeyDeletion with the addition of the ability to pass a context and additional request options.
See ScheduleKeyDeletion for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) UpdateKey ¶
func (c *KMS) UpdateKey(input *UpdateKeyInput) (*UpdateKeyOutput, error)
UpdateKey API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation UpdateKey for usage and error information.
func (*KMS) UpdateKeyCommon ¶
UpdateKeyCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation UpdateKeyCommon for usage and error information.
func (*KMS) UpdateKeyCommonRequest ¶
func (c *KMS) UpdateKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
UpdateKeyCommonRequest generates a "volcengine/request.Request" representing the client's request for the UpdateKeyCommon operation. The "output" return value will be populated with the UpdateKeyCommon request's response once the request completes successfully.
Use "Send" method on the returned UpdateKeyCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateKeyCommon Send returns without error.
See UpdateKeyCommon for more information on using the UpdateKeyCommon API call, and error handling.
// Example sending a request using the UpdateKeyCommonRequest method. req, resp := client.UpdateKeyCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) UpdateKeyCommonWithContext ¶
func (c *KMS) UpdateKeyCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
UpdateKeyCommonWithContext is the same as UpdateKeyCommon with the addition of the ability to pass a context and additional request options.
See UpdateKeyCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) UpdateKeyRequest ¶
func (c *KMS) UpdateKeyRequest(input *UpdateKeyInput) (req *request.Request, output *UpdateKeyOutput)
UpdateKeyRequest generates a "volcengine/request.Request" representing the client's request for the UpdateKey operation. The "output" return value will be populated with the UpdateKeyCommon request's response once the request completes successfully.
Use "Send" method on the returned UpdateKeyCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateKeyCommon Send returns without error.
See UpdateKey for more information on using the UpdateKey API call, and error handling.
// Example sending a request using the UpdateKeyRequest method. req, resp := client.UpdateKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) UpdateKeyWithContext ¶
func (c *KMS) UpdateKeyWithContext(ctx volcengine.Context, input *UpdateKeyInput, opts ...request.Option) (*UpdateKeyOutput, error)
UpdateKeyWithContext is the same as UpdateKey with the addition of the ability to pass a context and additional request options.
See UpdateKey for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) UpdateKeyring ¶
func (c *KMS) UpdateKeyring(input *UpdateKeyringInput) (*UpdateKeyringOutput, error)
UpdateKeyring API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation UpdateKeyring for usage and error information.
func (*KMS) UpdateKeyringCommon ¶
UpdateKeyringCommon API operation for KMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for KMS's API operation UpdateKeyringCommon for usage and error information.
func (*KMS) UpdateKeyringCommonRequest ¶
func (c *KMS) UpdateKeyringCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
UpdateKeyringCommonRequest generates a "volcengine/request.Request" representing the client's request for the UpdateKeyringCommon operation. The "output" return value will be populated with the UpdateKeyringCommon request's response once the request completes successfully.
Use "Send" method on the returned UpdateKeyringCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateKeyringCommon Send returns without error.
See UpdateKeyringCommon for more information on using the UpdateKeyringCommon API call, and error handling.
// Example sending a request using the UpdateKeyringCommonRequest method. req, resp := client.UpdateKeyringCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) UpdateKeyringCommonWithContext ¶
func (c *KMS) UpdateKeyringCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
UpdateKeyringCommonWithContext is the same as UpdateKeyringCommon with the addition of the ability to pass a context and additional request options.
See UpdateKeyringCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*KMS) UpdateKeyringRequest ¶
func (c *KMS) UpdateKeyringRequest(input *UpdateKeyringInput) (req *request.Request, output *UpdateKeyringOutput)
UpdateKeyringRequest generates a "volcengine/request.Request" representing the client's request for the UpdateKeyring operation. The "output" return value will be populated with the UpdateKeyringCommon request's response once the request completes successfully.
Use "Send" method on the returned UpdateKeyringCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateKeyringCommon Send returns without error.
See UpdateKeyring for more information on using the UpdateKeyring API call, and error handling.
// Example sending a request using the UpdateKeyringRequest method. req, resp := client.UpdateKeyringRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*KMS) UpdateKeyringWithContext ¶
func (c *KMS) UpdateKeyringWithContext(ctx volcengine.Context, input *UpdateKeyringInput, opts ...request.Option) (*UpdateKeyringOutput, error)
UpdateKeyringWithContext is the same as UpdateKeyring with the addition of the ability to pass a context and additional request options.
See UpdateKeyring for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type KMSAPI ¶
type KMSAPI interface { ArchiveKeyCommon(*map[string]interface{}) (*map[string]interface{}, error) ArchiveKeyCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) ArchiveKeyCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) ArchiveKey(*ArchiveKeyInput) (*ArchiveKeyOutput, error) ArchiveKeyWithContext(volcengine.Context, *ArchiveKeyInput, ...request.Option) (*ArchiveKeyOutput, error) ArchiveKeyRequest(*ArchiveKeyInput) (*request.Request, *ArchiveKeyOutput) AsymmetricDecryptCommon(*map[string]interface{}) (*map[string]interface{}, error) AsymmetricDecryptCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) AsymmetricDecryptCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) AsymmetricDecrypt(*AsymmetricDecryptInput) (*AsymmetricDecryptOutput, error) AsymmetricDecryptWithContext(volcengine.Context, *AsymmetricDecryptInput, ...request.Option) (*AsymmetricDecryptOutput, error) AsymmetricDecryptRequest(*AsymmetricDecryptInput) (*request.Request, *AsymmetricDecryptOutput) AsymmetricEncryptCommon(*map[string]interface{}) (*map[string]interface{}, error) AsymmetricEncryptCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) AsymmetricEncryptCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) AsymmetricEncrypt(*AsymmetricEncryptInput) (*AsymmetricEncryptOutput, error) AsymmetricEncryptWithContext(volcengine.Context, *AsymmetricEncryptInput, ...request.Option) (*AsymmetricEncryptOutput, error) AsymmetricEncryptRequest(*AsymmetricEncryptInput) (*request.Request, *AsymmetricEncryptOutput) AsymmetricSignCommon(*map[string]interface{}) (*map[string]interface{}, error) AsymmetricSignCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) AsymmetricSignCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) AsymmetricSign(*AsymmetricSignInput) (*AsymmetricSignOutput, error) AsymmetricSignWithContext(volcengine.Context, *AsymmetricSignInput, ...request.Option) (*AsymmetricSignOutput, error) AsymmetricSignRequest(*AsymmetricSignInput) (*request.Request, *AsymmetricSignOutput) AsymmetricVerifyCommon(*map[string]interface{}) (*map[string]interface{}, error) AsymmetricVerifyCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) AsymmetricVerifyCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) AsymmetricVerify(*AsymmetricVerifyInput) (*AsymmetricVerifyOutput, error) AsymmetricVerifyWithContext(volcengine.Context, *AsymmetricVerifyInput, ...request.Option) (*AsymmetricVerifyOutput, error) AsymmetricVerifyRequest(*AsymmetricVerifyInput) (*request.Request, *AsymmetricVerifyOutput) CancelArchiveKeyCommon(*map[string]interface{}) (*map[string]interface{}, error) CancelArchiveKeyCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) CancelArchiveKeyCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) CancelArchiveKey(*CancelArchiveKeyInput) (*CancelArchiveKeyOutput, error) CancelArchiveKeyWithContext(volcengine.Context, *CancelArchiveKeyInput, ...request.Option) (*CancelArchiveKeyOutput, error) CancelArchiveKeyRequest(*CancelArchiveKeyInput) (*request.Request, *CancelArchiveKeyOutput) CancelKeyDeletionCommon(*map[string]interface{}) (*map[string]interface{}, error) CancelKeyDeletionCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) CancelKeyDeletionCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) CancelKeyDeletion(*CancelKeyDeletionInput) (*CancelKeyDeletionOutput, error) CancelKeyDeletionWithContext(volcengine.Context, *CancelKeyDeletionInput, ...request.Option) (*CancelKeyDeletionOutput, error) CancelKeyDeletionRequest(*CancelKeyDeletionInput) (*request.Request, *CancelKeyDeletionOutput) CreateKeyCommon(*map[string]interface{}) (*map[string]interface{}, error) CreateKeyCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) CreateKeyCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) CreateKey(*CreateKeyInput) (*CreateKeyOutput, error) CreateKeyWithContext(volcengine.Context, *CreateKeyInput, ...request.Option) (*CreateKeyOutput, error) CreateKeyRequest(*CreateKeyInput) (*request.Request, *CreateKeyOutput) CreateKeyringCommon(*map[string]interface{}) (*map[string]interface{}, error) CreateKeyringCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) CreateKeyringCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) CreateKeyring(*CreateKeyringInput) (*CreateKeyringOutput, error) CreateKeyringWithContext(volcengine.Context, *CreateKeyringInput, ...request.Option) (*CreateKeyringOutput, error) CreateKeyringRequest(*CreateKeyringInput) (*request.Request, *CreateKeyringOutput) DecryptCommon(*map[string]interface{}) (*map[string]interface{}, error) DecryptCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) DecryptCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) Decrypt(*DecryptInput) (*DecryptOutput, error) DecryptWithContext(volcengine.Context, *DecryptInput, ...request.Option) (*DecryptOutput, error) DecryptRequest(*DecryptInput) (*request.Request, *DecryptOutput) DeleteKeyMaterialCommon(*map[string]interface{}) (*map[string]interface{}, error) DeleteKeyMaterialCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) DeleteKeyMaterialCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) DeleteKeyMaterial(*DeleteKeyMaterialInput) (*DeleteKeyMaterialOutput, error) DeleteKeyMaterialWithContext(volcengine.Context, *DeleteKeyMaterialInput, ...request.Option) (*DeleteKeyMaterialOutput, error) DeleteKeyMaterialRequest(*DeleteKeyMaterialInput) (*request.Request, *DeleteKeyMaterialOutput) DeleteKeyringCommon(*map[string]interface{}) (*map[string]interface{}, error) DeleteKeyringCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) DeleteKeyringCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) DeleteKeyring(*DeleteKeyringInput) (*DeleteKeyringOutput, error) DeleteKeyringWithContext(volcengine.Context, *DeleteKeyringInput, ...request.Option) (*DeleteKeyringOutput, error) DeleteKeyringRequest(*DeleteKeyringInput) (*request.Request, *DeleteKeyringOutput) DescribeKeyCommon(*map[string]interface{}) (*map[string]interface{}, error) DescribeKeyCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) DescribeKeyCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) DescribeKey(*DescribeKeyInput) (*DescribeKeyOutput, error) DescribeKeyWithContext(volcengine.Context, *DescribeKeyInput, ...request.Option) (*DescribeKeyOutput, error) DescribeKeyRequest(*DescribeKeyInput) (*request.Request, *DescribeKeyOutput) DescribeKeyringsCommon(*map[string]interface{}) (*map[string]interface{}, error) DescribeKeyringsCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) DescribeKeyringsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) DescribeKeyrings(*DescribeKeyringsInput) (*DescribeKeyringsOutput, error) DescribeKeyringsWithContext(volcengine.Context, *DescribeKeyringsInput, ...request.Option) (*DescribeKeyringsOutput, error) DescribeKeyringsRequest(*DescribeKeyringsInput) (*request.Request, *DescribeKeyringsOutput) DescribeKeysCommon(*map[string]interface{}) (*map[string]interface{}, error) DescribeKeysCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) DescribeKeysCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) DescribeKeys(*DescribeKeysInput) (*DescribeKeysOutput, error) DescribeKeysWithContext(volcengine.Context, *DescribeKeysInput, ...request.Option) (*DescribeKeysOutput, error) DescribeKeysRequest(*DescribeKeysInput) (*request.Request, *DescribeKeysOutput) DescribeRegionsCommon(*map[string]interface{}) (*map[string]interface{}, error) DescribeRegionsCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) DescribeRegionsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) DescribeRegions(*DescribeRegionsInput) (*DescribeRegionsOutput, error) DescribeRegionsWithContext(volcengine.Context, *DescribeRegionsInput, ...request.Option) (*DescribeRegionsOutput, error) DescribeRegionsRequest(*DescribeRegionsInput) (*request.Request, *DescribeRegionsOutput) DisableKeyCommon(*map[string]interface{}) (*map[string]interface{}, error) DisableKeyCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) DisableKeyCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) DisableKey(*DisableKeyInput) (*DisableKeyOutput, error) DisableKeyWithContext(volcengine.Context, *DisableKeyInput, ...request.Option) (*DisableKeyOutput, error) DisableKeyRequest(*DisableKeyInput) (*request.Request, *DisableKeyOutput) DisableKeyRotationCommon(*map[string]interface{}) (*map[string]interface{}, error) DisableKeyRotationCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) DisableKeyRotationCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) DisableKeyRotation(*DisableKeyRotationInput) (*DisableKeyRotationOutput, error) DisableKeyRotationWithContext(volcengine.Context, *DisableKeyRotationInput, ...request.Option) (*DisableKeyRotationOutput, error) DisableKeyRotationRequest(*DisableKeyRotationInput) (*request.Request, *DisableKeyRotationOutput) EnableKeyCommon(*map[string]interface{}) (*map[string]interface{}, error) EnableKeyCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) EnableKeyCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) EnableKey(*EnableKeyInput) (*EnableKeyOutput, error) EnableKeyWithContext(volcengine.Context, *EnableKeyInput, ...request.Option) (*EnableKeyOutput, error) EnableKeyRequest(*EnableKeyInput) (*request.Request, *EnableKeyOutput) EnableKeyRotationCommon(*map[string]interface{}) (*map[string]interface{}, error) EnableKeyRotationCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) EnableKeyRotationCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) EnableKeyRotation(*EnableKeyRotationInput) (*EnableKeyRotationOutput, error) EnableKeyRotationWithContext(volcengine.Context, *EnableKeyRotationInput, ...request.Option) (*EnableKeyRotationOutput, error) EnableKeyRotationRequest(*EnableKeyRotationInput) (*request.Request, *EnableKeyRotationOutput) EncryptCommon(*map[string]interface{}) (*map[string]interface{}, error) EncryptCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) EncryptCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) Encrypt(*EncryptInput) (*EncryptOutput, error) EncryptWithContext(volcengine.Context, *EncryptInput, ...request.Option) (*EncryptOutput, error) EncryptRequest(*EncryptInput) (*request.Request, *EncryptOutput) GenerateDataKeyCommon(*map[string]interface{}) (*map[string]interface{}, error) GenerateDataKeyCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GenerateDataKeyCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GenerateDataKey(*GenerateDataKeyInput) (*GenerateDataKeyOutput, error) GenerateDataKeyWithContext(volcengine.Context, *GenerateDataKeyInput, ...request.Option) (*GenerateDataKeyOutput, error) GenerateDataKeyRequest(*GenerateDataKeyInput) (*request.Request, *GenerateDataKeyOutput) GetParametersForImportCommon(*map[string]interface{}) (*map[string]interface{}, error) GetParametersForImportCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetParametersForImportCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetParametersForImport(*GetParametersForImportInput) (*GetParametersForImportOutput, error) GetParametersForImportWithContext(volcengine.Context, *GetParametersForImportInput, ...request.Option) (*GetParametersForImportOutput, error) GetParametersForImportRequest(*GetParametersForImportInput) (*request.Request, *GetParametersForImportOutput) GetPublicKeyCommon(*map[string]interface{}) (*map[string]interface{}, error) GetPublicKeyCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetPublicKeyCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetPublicKey(*GetPublicKeyInput) (*GetPublicKeyOutput, error) GetPublicKeyWithContext(volcengine.Context, *GetPublicKeyInput, ...request.Option) (*GetPublicKeyOutput, error) GetPublicKeyRequest(*GetPublicKeyInput) (*request.Request, *GetPublicKeyOutput) ImportKeyMaterialCommon(*map[string]interface{}) (*map[string]interface{}, error) ImportKeyMaterialCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) ImportKeyMaterialCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) ImportKeyMaterial(*ImportKeyMaterialInput) (*ImportKeyMaterialOutput, error) ImportKeyMaterialWithContext(volcengine.Context, *ImportKeyMaterialInput, ...request.Option) (*ImportKeyMaterialOutput, error) ImportKeyMaterialRequest(*ImportKeyMaterialInput) (*request.Request, *ImportKeyMaterialOutput) QueryKeyringCommon(*map[string]interface{}) (*map[string]interface{}, error) QueryKeyringCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) QueryKeyringCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) QueryKeyring(*QueryKeyringInput) (*QueryKeyringOutput, error) QueryKeyringWithContext(volcengine.Context, *QueryKeyringInput, ...request.Option) (*QueryKeyringOutput, error) QueryKeyringRequest(*QueryKeyringInput) (*request.Request, *QueryKeyringOutput) ReEncryptCommon(*map[string]interface{}) (*map[string]interface{}, error) ReEncryptCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) ReEncryptCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) ReEncrypt(*ReEncryptInput) (*ReEncryptOutput, error) ReEncryptWithContext(volcengine.Context, *ReEncryptInput, ...request.Option) (*ReEncryptOutput, error) ReEncryptRequest(*ReEncryptInput) (*request.Request, *ReEncryptOutput) ScheduleKeyDeletionCommon(*map[string]interface{}) (*map[string]interface{}, error) ScheduleKeyDeletionCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) ScheduleKeyDeletionCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) ScheduleKeyDeletion(*ScheduleKeyDeletionInput) (*ScheduleKeyDeletionOutput, error) ScheduleKeyDeletionWithContext(volcengine.Context, *ScheduleKeyDeletionInput, ...request.Option) (*ScheduleKeyDeletionOutput, error) ScheduleKeyDeletionRequest(*ScheduleKeyDeletionInput) (*request.Request, *ScheduleKeyDeletionOutput) UpdateKeyCommon(*map[string]interface{}) (*map[string]interface{}, error) UpdateKeyCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) UpdateKeyCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) UpdateKey(*UpdateKeyInput) (*UpdateKeyOutput, error) UpdateKeyWithContext(volcengine.Context, *UpdateKeyInput, ...request.Option) (*UpdateKeyOutput, error) UpdateKeyRequest(*UpdateKeyInput) (*request.Request, *UpdateKeyOutput) UpdateKeyringCommon(*map[string]interface{}) (*map[string]interface{}, error) UpdateKeyringCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) UpdateKeyringCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) UpdateKeyring(*UpdateKeyringInput) (*UpdateKeyringOutput, error) UpdateKeyringWithContext(volcengine.Context, *UpdateKeyringInput, ...request.Option) (*UpdateKeyringOutput, error) UpdateKeyringRequest(*UpdateKeyringInput) (*request.Request, *UpdateKeyringOutput) }
KMSAPI provides an interface to enable mocking the kms.KMS service client's API operation,
// volcengine sdk func uses an SDK service client to make a request to // KMS. func myFunc(svc KMSAPI) bool { // Make svc.ArchiveKey request } func main() { sess := session.New() svc := kms.New(sess) myFunc(svc) }
type KeyForCreateKeyOutput ¶
type KeyForCreateKeyOutput struct { CreationDate *int64 `type:"int64"` Description *string `type:"string"` EncryptionAlgorithms *string `type:"string"` ID *string `type:"string"` KeyMaterialExpireTime *string `type:"string"` KeyName *string `type:"string"` KeySpec *string `type:"string"` KeyState *string `type:"string"` KeyUsage *string `type:"string"` LastRotationTime *string `type:"string"` Origin *string `type:"string"` ProtectionLevel *string `type:"string"` RotationState *string `type:"string"` ScheduleDeleteTime *string `type:"string"` ScheduleRotationTime *string `type:"string"` Trn *string `type:"string"` UpdateDate *int64 `type:"int64"` // contains filtered or unexported fields }
func (KeyForCreateKeyOutput) GoString ¶
func (s KeyForCreateKeyOutput) GoString() string
GoString returns the string representation
func (*KeyForCreateKeyOutput) SetCreationDate ¶
func (s *KeyForCreateKeyOutput) SetCreationDate(v int64) *KeyForCreateKeyOutput
SetCreationDate sets the CreationDate field's value.
func (*KeyForCreateKeyOutput) SetDescription ¶
func (s *KeyForCreateKeyOutput) SetDescription(v string) *KeyForCreateKeyOutput
SetDescription sets the Description field's value.
func (*KeyForCreateKeyOutput) SetEncryptionAlgorithms ¶
func (s *KeyForCreateKeyOutput) SetEncryptionAlgorithms(v string) *KeyForCreateKeyOutput
SetEncryptionAlgorithms sets the EncryptionAlgorithms field's value.
func (*KeyForCreateKeyOutput) SetID ¶
func (s *KeyForCreateKeyOutput) SetID(v string) *KeyForCreateKeyOutput
SetID sets the ID field's value.
func (*KeyForCreateKeyOutput) SetKeyMaterialExpireTime ¶
func (s *KeyForCreateKeyOutput) SetKeyMaterialExpireTime(v string) *KeyForCreateKeyOutput
SetKeyMaterialExpireTime sets the KeyMaterialExpireTime field's value.
func (*KeyForCreateKeyOutput) SetKeyName ¶
func (s *KeyForCreateKeyOutput) SetKeyName(v string) *KeyForCreateKeyOutput
SetKeyName sets the KeyName field's value.
func (*KeyForCreateKeyOutput) SetKeySpec ¶
func (s *KeyForCreateKeyOutput) SetKeySpec(v string) *KeyForCreateKeyOutput
SetKeySpec sets the KeySpec field's value.
func (*KeyForCreateKeyOutput) SetKeyState ¶
func (s *KeyForCreateKeyOutput) SetKeyState(v string) *KeyForCreateKeyOutput
SetKeyState sets the KeyState field's value.
func (*KeyForCreateKeyOutput) SetKeyUsage ¶
func (s *KeyForCreateKeyOutput) SetKeyUsage(v string) *KeyForCreateKeyOutput
SetKeyUsage sets the KeyUsage field's value.
func (*KeyForCreateKeyOutput) SetLastRotationTime ¶
func (s *KeyForCreateKeyOutput) SetLastRotationTime(v string) *KeyForCreateKeyOutput
SetLastRotationTime sets the LastRotationTime field's value.
func (*KeyForCreateKeyOutput) SetOrigin ¶
func (s *KeyForCreateKeyOutput) SetOrigin(v string) *KeyForCreateKeyOutput
SetOrigin sets the Origin field's value.
func (*KeyForCreateKeyOutput) SetProtectionLevel ¶
func (s *KeyForCreateKeyOutput) SetProtectionLevel(v string) *KeyForCreateKeyOutput
SetProtectionLevel sets the ProtectionLevel field's value.
func (*KeyForCreateKeyOutput) SetRotationState ¶
func (s *KeyForCreateKeyOutput) SetRotationState(v string) *KeyForCreateKeyOutput
SetRotationState sets the RotationState field's value.
func (*KeyForCreateKeyOutput) SetScheduleDeleteTime ¶
func (s *KeyForCreateKeyOutput) SetScheduleDeleteTime(v string) *KeyForCreateKeyOutput
SetScheduleDeleteTime sets the ScheduleDeleteTime field's value.
func (*KeyForCreateKeyOutput) SetScheduleRotationTime ¶
func (s *KeyForCreateKeyOutput) SetScheduleRotationTime(v string) *KeyForCreateKeyOutput
SetScheduleRotationTime sets the ScheduleRotationTime field's value.
func (*KeyForCreateKeyOutput) SetTrn ¶
func (s *KeyForCreateKeyOutput) SetTrn(v string) *KeyForCreateKeyOutput
SetTrn sets the Trn field's value.
func (*KeyForCreateKeyOutput) SetUpdateDate ¶
func (s *KeyForCreateKeyOutput) SetUpdateDate(v int64) *KeyForCreateKeyOutput
SetUpdateDate sets the UpdateDate field's value.
func (KeyForCreateKeyOutput) String ¶
func (s KeyForCreateKeyOutput) String() string
String returns the string representation
type KeyForDescribeKeyOutput ¶
type KeyForDescribeKeyOutput struct { CreationDate *int64 `type:"int64"` Description *string `type:"string"` EncryptionAlgorithms *string `type:"string"` ID *string `type:"string"` KeyMaterialExpireTime *string `type:"string"` KeyName *string `type:"string"` KeySpec *string `type:"string"` KeyState *string `type:"string"` KeyUsage *string `type:"string"` LastRotationTime *string `type:"string"` Origin *string `type:"string"` ProtectionLevel *string `type:"string"` RotationState *string `type:"string"` ScheduleDeleteTime *string `type:"string"` ScheduleRotationTime *string `type:"string"` Trn *string `type:"string"` UpdateDate *int64 `type:"int64"` // contains filtered or unexported fields }
func (KeyForDescribeKeyOutput) GoString ¶
func (s KeyForDescribeKeyOutput) GoString() string
GoString returns the string representation
func (*KeyForDescribeKeyOutput) SetCreationDate ¶
func (s *KeyForDescribeKeyOutput) SetCreationDate(v int64) *KeyForDescribeKeyOutput
SetCreationDate sets the CreationDate field's value.
func (*KeyForDescribeKeyOutput) SetDescription ¶
func (s *KeyForDescribeKeyOutput) SetDescription(v string) *KeyForDescribeKeyOutput
SetDescription sets the Description field's value.
func (*KeyForDescribeKeyOutput) SetEncryptionAlgorithms ¶
func (s *KeyForDescribeKeyOutput) SetEncryptionAlgorithms(v string) *KeyForDescribeKeyOutput
SetEncryptionAlgorithms sets the EncryptionAlgorithms field's value.
func (*KeyForDescribeKeyOutput) SetID ¶
func (s *KeyForDescribeKeyOutput) SetID(v string) *KeyForDescribeKeyOutput
SetID sets the ID field's value.
func (*KeyForDescribeKeyOutput) SetKeyMaterialExpireTime ¶
func (s *KeyForDescribeKeyOutput) SetKeyMaterialExpireTime(v string) *KeyForDescribeKeyOutput
SetKeyMaterialExpireTime sets the KeyMaterialExpireTime field's value.
func (*KeyForDescribeKeyOutput) SetKeyName ¶
func (s *KeyForDescribeKeyOutput) SetKeyName(v string) *KeyForDescribeKeyOutput
SetKeyName sets the KeyName field's value.
func (*KeyForDescribeKeyOutput) SetKeySpec ¶
func (s *KeyForDescribeKeyOutput) SetKeySpec(v string) *KeyForDescribeKeyOutput
SetKeySpec sets the KeySpec field's value.
func (*KeyForDescribeKeyOutput) SetKeyState ¶
func (s *KeyForDescribeKeyOutput) SetKeyState(v string) *KeyForDescribeKeyOutput
SetKeyState sets the KeyState field's value.
func (*KeyForDescribeKeyOutput) SetKeyUsage ¶
func (s *KeyForDescribeKeyOutput) SetKeyUsage(v string) *KeyForDescribeKeyOutput
SetKeyUsage sets the KeyUsage field's value.
func (*KeyForDescribeKeyOutput) SetLastRotationTime ¶
func (s *KeyForDescribeKeyOutput) SetLastRotationTime(v string) *KeyForDescribeKeyOutput
SetLastRotationTime sets the LastRotationTime field's value.
func (*KeyForDescribeKeyOutput) SetOrigin ¶
func (s *KeyForDescribeKeyOutput) SetOrigin(v string) *KeyForDescribeKeyOutput
SetOrigin sets the Origin field's value.
func (*KeyForDescribeKeyOutput) SetProtectionLevel ¶
func (s *KeyForDescribeKeyOutput) SetProtectionLevel(v string) *KeyForDescribeKeyOutput
SetProtectionLevel sets the ProtectionLevel field's value.
func (*KeyForDescribeKeyOutput) SetRotationState ¶
func (s *KeyForDescribeKeyOutput) SetRotationState(v string) *KeyForDescribeKeyOutput
SetRotationState sets the RotationState field's value.
func (*KeyForDescribeKeyOutput) SetScheduleDeleteTime ¶
func (s *KeyForDescribeKeyOutput) SetScheduleDeleteTime(v string) *KeyForDescribeKeyOutput
SetScheduleDeleteTime sets the ScheduleDeleteTime field's value.
func (*KeyForDescribeKeyOutput) SetScheduleRotationTime ¶
func (s *KeyForDescribeKeyOutput) SetScheduleRotationTime(v string) *KeyForDescribeKeyOutput
SetScheduleRotationTime sets the ScheduleRotationTime field's value.
func (*KeyForDescribeKeyOutput) SetTrn ¶
func (s *KeyForDescribeKeyOutput) SetTrn(v string) *KeyForDescribeKeyOutput
SetTrn sets the Trn field's value.
func (*KeyForDescribeKeyOutput) SetUpdateDate ¶
func (s *KeyForDescribeKeyOutput) SetUpdateDate(v int64) *KeyForDescribeKeyOutput
SetUpdateDate sets the UpdateDate field's value.
func (KeyForDescribeKeyOutput) String ¶
func (s KeyForDescribeKeyOutput) String() string
String returns the string representation
type KeyForDescribeKeysOutput ¶
type KeyForDescribeKeysOutput struct { CreationDate *int64 `type:"int64"` Description *string `type:"string"` EncryptionAlgorithms *string `type:"string"` ID *string `type:"string"` KeyMaterialExpireTime *string `type:"string"` KeyName *string `type:"string"` KeySpec *string `type:"string"` KeyState *string `type:"string"` KeyUsage *string `type:"string"` LastRotationTime *string `type:"string"` Origin *string `type:"string"` ProtectionLevel *string `type:"string"` RotationState *string `type:"string"` ScheduleDeleteTime *string `type:"string"` ScheduleRotationTime *string `type:"string"` Trn *string `type:"string"` UpdateDate *int64 `type:"int64"` // contains filtered or unexported fields }
func (KeyForDescribeKeysOutput) GoString ¶
func (s KeyForDescribeKeysOutput) GoString() string
GoString returns the string representation
func (*KeyForDescribeKeysOutput) SetCreationDate ¶
func (s *KeyForDescribeKeysOutput) SetCreationDate(v int64) *KeyForDescribeKeysOutput
SetCreationDate sets the CreationDate field's value.
func (*KeyForDescribeKeysOutput) SetDescription ¶
func (s *KeyForDescribeKeysOutput) SetDescription(v string) *KeyForDescribeKeysOutput
SetDescription sets the Description field's value.
func (*KeyForDescribeKeysOutput) SetEncryptionAlgorithms ¶
func (s *KeyForDescribeKeysOutput) SetEncryptionAlgorithms(v string) *KeyForDescribeKeysOutput
SetEncryptionAlgorithms sets the EncryptionAlgorithms field's value.
func (*KeyForDescribeKeysOutput) SetID ¶
func (s *KeyForDescribeKeysOutput) SetID(v string) *KeyForDescribeKeysOutput
SetID sets the ID field's value.
func (*KeyForDescribeKeysOutput) SetKeyMaterialExpireTime ¶
func (s *KeyForDescribeKeysOutput) SetKeyMaterialExpireTime(v string) *KeyForDescribeKeysOutput
SetKeyMaterialExpireTime sets the KeyMaterialExpireTime field's value.
func (*KeyForDescribeKeysOutput) SetKeyName ¶
func (s *KeyForDescribeKeysOutput) SetKeyName(v string) *KeyForDescribeKeysOutput
SetKeyName sets the KeyName field's value.
func (*KeyForDescribeKeysOutput) SetKeySpec ¶
func (s *KeyForDescribeKeysOutput) SetKeySpec(v string) *KeyForDescribeKeysOutput
SetKeySpec sets the KeySpec field's value.
func (*KeyForDescribeKeysOutput) SetKeyState ¶
func (s *KeyForDescribeKeysOutput) SetKeyState(v string) *KeyForDescribeKeysOutput
SetKeyState sets the KeyState field's value.
func (*KeyForDescribeKeysOutput) SetKeyUsage ¶
func (s *KeyForDescribeKeysOutput) SetKeyUsage(v string) *KeyForDescribeKeysOutput
SetKeyUsage sets the KeyUsage field's value.
func (*KeyForDescribeKeysOutput) SetLastRotationTime ¶
func (s *KeyForDescribeKeysOutput) SetLastRotationTime(v string) *KeyForDescribeKeysOutput
SetLastRotationTime sets the LastRotationTime field's value.
func (*KeyForDescribeKeysOutput) SetOrigin ¶
func (s *KeyForDescribeKeysOutput) SetOrigin(v string) *KeyForDescribeKeysOutput
SetOrigin sets the Origin field's value.
func (*KeyForDescribeKeysOutput) SetProtectionLevel ¶
func (s *KeyForDescribeKeysOutput) SetProtectionLevel(v string) *KeyForDescribeKeysOutput
SetProtectionLevel sets the ProtectionLevel field's value.
func (*KeyForDescribeKeysOutput) SetRotationState ¶
func (s *KeyForDescribeKeysOutput) SetRotationState(v string) *KeyForDescribeKeysOutput
SetRotationState sets the RotationState field's value.
func (*KeyForDescribeKeysOutput) SetScheduleDeleteTime ¶
func (s *KeyForDescribeKeysOutput) SetScheduleDeleteTime(v string) *KeyForDescribeKeysOutput
SetScheduleDeleteTime sets the ScheduleDeleteTime field's value.
func (*KeyForDescribeKeysOutput) SetScheduleRotationTime ¶
func (s *KeyForDescribeKeysOutput) SetScheduleRotationTime(v string) *KeyForDescribeKeysOutput
SetScheduleRotationTime sets the ScheduleRotationTime field's value.
func (*KeyForDescribeKeysOutput) SetTrn ¶
func (s *KeyForDescribeKeysOutput) SetTrn(v string) *KeyForDescribeKeysOutput
SetTrn sets the Trn field's value.
func (*KeyForDescribeKeysOutput) SetUpdateDate ¶
func (s *KeyForDescribeKeysOutput) SetUpdateDate(v int64) *KeyForDescribeKeysOutput
SetUpdateDate sets the UpdateDate field's value.
func (KeyForDescribeKeysOutput) String ¶
func (s KeyForDescribeKeysOutput) String() string
String returns the string representation
type KeyringForCreateKeyringOutput ¶
type KeyringForCreateKeyringOutput struct { CreationDate *int64 `type:"int64"` Description *string `type:"string"` ID *string `type:"string"` KeyringName *string `type:"string"` KeyringType *string `type:"string"` TRN *string `type:"string"` UID *string `type:"string"` UpdateDate *int64 `type:"int64"` // contains filtered or unexported fields }
func (KeyringForCreateKeyringOutput) GoString ¶
func (s KeyringForCreateKeyringOutput) GoString() string
GoString returns the string representation
func (*KeyringForCreateKeyringOutput) SetCreationDate ¶
func (s *KeyringForCreateKeyringOutput) SetCreationDate(v int64) *KeyringForCreateKeyringOutput
SetCreationDate sets the CreationDate field's value.
func (*KeyringForCreateKeyringOutput) SetDescription ¶
func (s *KeyringForCreateKeyringOutput) SetDescription(v string) *KeyringForCreateKeyringOutput
SetDescription sets the Description field's value.
func (*KeyringForCreateKeyringOutput) SetID ¶
func (s *KeyringForCreateKeyringOutput) SetID(v string) *KeyringForCreateKeyringOutput
SetID sets the ID field's value.
func (*KeyringForCreateKeyringOutput) SetKeyringName ¶
func (s *KeyringForCreateKeyringOutput) SetKeyringName(v string) *KeyringForCreateKeyringOutput
SetKeyringName sets the KeyringName field's value.
func (*KeyringForCreateKeyringOutput) SetKeyringType ¶
func (s *KeyringForCreateKeyringOutput) SetKeyringType(v string) *KeyringForCreateKeyringOutput
SetKeyringType sets the KeyringType field's value.
func (*KeyringForCreateKeyringOutput) SetTRN ¶ added in v1.0.156
func (s *KeyringForCreateKeyringOutput) SetTRN(v string) *KeyringForCreateKeyringOutput
SetTRN sets the TRN field's value.
func (*KeyringForCreateKeyringOutput) SetUID ¶
func (s *KeyringForCreateKeyringOutput) SetUID(v string) *KeyringForCreateKeyringOutput
SetUID sets the UID field's value.
func (*KeyringForCreateKeyringOutput) SetUpdateDate ¶
func (s *KeyringForCreateKeyringOutput) SetUpdateDate(v int64) *KeyringForCreateKeyringOutput
SetUpdateDate sets the UpdateDate field's value.
func (KeyringForCreateKeyringOutput) String ¶
func (s KeyringForCreateKeyringOutput) String() string
String returns the string representation
type KeyringForDescribeKeyringsOutput ¶
type KeyringForDescribeKeyringsOutput struct { CreationDate *int64 `type:"int64"` Description *string `type:"string"` ID *string `type:"string"` KeyCount *string `type:"string"` KeyringName *string `type:"string"` KeyringType *string `type:"string"` TRN *string `type:"string"` UID *string `type:"string"` UpdateDate *int64 `type:"int64"` // contains filtered or unexported fields }
func (KeyringForDescribeKeyringsOutput) GoString ¶
func (s KeyringForDescribeKeyringsOutput) GoString() string
GoString returns the string representation
func (*KeyringForDescribeKeyringsOutput) SetCreationDate ¶
func (s *KeyringForDescribeKeyringsOutput) SetCreationDate(v int64) *KeyringForDescribeKeyringsOutput
SetCreationDate sets the CreationDate field's value.
func (*KeyringForDescribeKeyringsOutput) SetDescription ¶
func (s *KeyringForDescribeKeyringsOutput) SetDescription(v string) *KeyringForDescribeKeyringsOutput
SetDescription sets the Description field's value.
func (*KeyringForDescribeKeyringsOutput) SetID ¶
func (s *KeyringForDescribeKeyringsOutput) SetID(v string) *KeyringForDescribeKeyringsOutput
SetID sets the ID field's value.
func (*KeyringForDescribeKeyringsOutput) SetKeyCount ¶ added in v1.0.156
func (s *KeyringForDescribeKeyringsOutput) SetKeyCount(v string) *KeyringForDescribeKeyringsOutput
SetKeyCount sets the KeyCount field's value.
func (*KeyringForDescribeKeyringsOutput) SetKeyringName ¶
func (s *KeyringForDescribeKeyringsOutput) SetKeyringName(v string) *KeyringForDescribeKeyringsOutput
SetKeyringName sets the KeyringName field's value.
func (*KeyringForDescribeKeyringsOutput) SetKeyringType ¶
func (s *KeyringForDescribeKeyringsOutput) SetKeyringType(v string) *KeyringForDescribeKeyringsOutput
SetKeyringType sets the KeyringType field's value.
func (*KeyringForDescribeKeyringsOutput) SetTRN ¶ added in v1.0.156
func (s *KeyringForDescribeKeyringsOutput) SetTRN(v string) *KeyringForDescribeKeyringsOutput
SetTRN sets the TRN field's value.
func (*KeyringForDescribeKeyringsOutput) SetUID ¶
func (s *KeyringForDescribeKeyringsOutput) SetUID(v string) *KeyringForDescribeKeyringsOutput
SetUID sets the UID field's value.
func (*KeyringForDescribeKeyringsOutput) SetUpdateDate ¶
func (s *KeyringForDescribeKeyringsOutput) SetUpdateDate(v int64) *KeyringForDescribeKeyringsOutput
SetUpdateDate sets the UpdateDate field's value.
func (KeyringForDescribeKeyringsOutput) String ¶
func (s KeyringForDescribeKeyringsOutput) String() string
String returns the string representation
type KeyringForQueryKeyringOutput ¶
type KeyringForQueryKeyringOutput struct { CreationDate *int64 `type:"int64"` Description *string `type:"string"` ID *string `type:"string"` KeyringName *string `type:"string"` KeyringType *string `type:"string"` ProjectName *string `type:"string"` TRN *string `type:"string"` UID *string `type:"string"` UpdateDate *int64 `type:"int64"` // contains filtered or unexported fields }
func (KeyringForQueryKeyringOutput) GoString ¶
func (s KeyringForQueryKeyringOutput) GoString() string
GoString returns the string representation
func (*KeyringForQueryKeyringOutput) SetCreationDate ¶
func (s *KeyringForQueryKeyringOutput) SetCreationDate(v int64) *KeyringForQueryKeyringOutput
SetCreationDate sets the CreationDate field's value.
func (*KeyringForQueryKeyringOutput) SetDescription ¶
func (s *KeyringForQueryKeyringOutput) SetDescription(v string) *KeyringForQueryKeyringOutput
SetDescription sets the Description field's value.
func (*KeyringForQueryKeyringOutput) SetID ¶
func (s *KeyringForQueryKeyringOutput) SetID(v string) *KeyringForQueryKeyringOutput
SetID sets the ID field's value.
func (*KeyringForQueryKeyringOutput) SetKeyringName ¶
func (s *KeyringForQueryKeyringOutput) SetKeyringName(v string) *KeyringForQueryKeyringOutput
SetKeyringName sets the KeyringName field's value.
func (*KeyringForQueryKeyringOutput) SetKeyringType ¶
func (s *KeyringForQueryKeyringOutput) SetKeyringType(v string) *KeyringForQueryKeyringOutput
SetKeyringType sets the KeyringType field's value.
func (*KeyringForQueryKeyringOutput) SetProjectName ¶
func (s *KeyringForQueryKeyringOutput) SetProjectName(v string) *KeyringForQueryKeyringOutput
SetProjectName sets the ProjectName field's value.
func (*KeyringForQueryKeyringOutput) SetTRN ¶ added in v1.0.156
func (s *KeyringForQueryKeyringOutput) SetTRN(v string) *KeyringForQueryKeyringOutput
SetTRN sets the TRN field's value.
func (*KeyringForQueryKeyringOutput) SetUID ¶
func (s *KeyringForQueryKeyringOutput) SetUID(v string) *KeyringForQueryKeyringOutput
SetUID sets the UID field's value.
func (*KeyringForQueryKeyringOutput) SetUpdateDate ¶
func (s *KeyringForQueryKeyringOutput) SetUpdateDate(v int64) *KeyringForQueryKeyringOutput
SetUpdateDate sets the UpdateDate field's value.
func (KeyringForQueryKeyringOutput) String ¶
func (s KeyringForQueryKeyringOutput) String() string
String returns the string representation
type PageInfoForDescribeKeyringsOutput ¶
type PageInfoForDescribeKeyringsOutput struct { Count *int32 `type:"int32"` CurrentPage *int32 `type:"int32"` PageSize *int32 `type:"int32"` TotalCount *int32 `type:"int32"` // contains filtered or unexported fields }
func (PageInfoForDescribeKeyringsOutput) GoString ¶
func (s PageInfoForDescribeKeyringsOutput) GoString() string
GoString returns the string representation
func (*PageInfoForDescribeKeyringsOutput) SetCount ¶
func (s *PageInfoForDescribeKeyringsOutput) SetCount(v int32) *PageInfoForDescribeKeyringsOutput
SetCount sets the Count field's value.
func (*PageInfoForDescribeKeyringsOutput) SetCurrentPage ¶
func (s *PageInfoForDescribeKeyringsOutput) SetCurrentPage(v int32) *PageInfoForDescribeKeyringsOutput
SetCurrentPage sets the CurrentPage field's value.
func (*PageInfoForDescribeKeyringsOutput) SetPageSize ¶
func (s *PageInfoForDescribeKeyringsOutput) SetPageSize(v int32) *PageInfoForDescribeKeyringsOutput
SetPageSize sets the PageSize field's value.
func (*PageInfoForDescribeKeyringsOutput) SetTotalCount ¶
func (s *PageInfoForDescribeKeyringsOutput) SetTotalCount(v int32) *PageInfoForDescribeKeyringsOutput
SetTotalCount sets the TotalCount field's value.
func (PageInfoForDescribeKeyringsOutput) String ¶
func (s PageInfoForDescribeKeyringsOutput) String() string
String returns the string representation
type PageInfoForDescribeKeysOutput ¶
type PageInfoForDescribeKeysOutput struct { Count *int32 `type:"int32"` CurrentPage *int32 `type:"int32"` PageSize *int32 `type:"int32"` TotalCount *int32 `type:"int32"` // contains filtered or unexported fields }
func (PageInfoForDescribeKeysOutput) GoString ¶
func (s PageInfoForDescribeKeysOutput) GoString() string
GoString returns the string representation
func (*PageInfoForDescribeKeysOutput) SetCount ¶
func (s *PageInfoForDescribeKeysOutput) SetCount(v int32) *PageInfoForDescribeKeysOutput
SetCount sets the Count field's value.
func (*PageInfoForDescribeKeysOutput) SetCurrentPage ¶
func (s *PageInfoForDescribeKeysOutput) SetCurrentPage(v int32) *PageInfoForDescribeKeysOutput
SetCurrentPage sets the CurrentPage field's value.
func (*PageInfoForDescribeKeysOutput) SetPageSize ¶
func (s *PageInfoForDescribeKeysOutput) SetPageSize(v int32) *PageInfoForDescribeKeysOutput
SetPageSize sets the PageSize field's value.
func (*PageInfoForDescribeKeysOutput) SetTotalCount ¶
func (s *PageInfoForDescribeKeysOutput) SetTotalCount(v int32) *PageInfoForDescribeKeysOutput
SetTotalCount sets the TotalCount field's value.
func (PageInfoForDescribeKeysOutput) String ¶
func (s PageInfoForDescribeKeysOutput) String() string
String returns the string representation
type QueryKeyringInput ¶
type QueryKeyringInput struct { // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` // contains filtered or unexported fields }
func (QueryKeyringInput) GoString ¶
func (s QueryKeyringInput) GoString() string
GoString returns the string representation
func (*QueryKeyringInput) SetKeyringName ¶
func (s *QueryKeyringInput) SetKeyringName(v string) *QueryKeyringInput
SetKeyringName sets the KeyringName field's value.
func (QueryKeyringInput) String ¶
func (s QueryKeyringInput) String() string
String returns the string representation
func (*QueryKeyringInput) Validate ¶
func (s *QueryKeyringInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type QueryKeyringOutput ¶
type QueryKeyringOutput struct { Metadata *response.ResponseMetadata Keyring *KeyringForQueryKeyringOutput `type:"structure"` // contains filtered or unexported fields }
func (QueryKeyringOutput) GoString ¶
func (s QueryKeyringOutput) GoString() string
GoString returns the string representation
func (*QueryKeyringOutput) SetKeyring ¶
func (s *QueryKeyringOutput) SetKeyring(v *KeyringForQueryKeyringOutput) *QueryKeyringOutput
SetKeyring sets the Keyring field's value.
func (QueryKeyringOutput) String ¶
func (s QueryKeyringOutput) String() string
String returns the string representation
type ReEncryptInput ¶
type ReEncryptInput struct { // CiphertextBlob is a required field CiphertextBlob *string `min:"19" type:"string" required:"true"` NewEncryptionContext *string `type:"string"` // NewKeyName is a required field NewKeyName *string `min:"2" max:"31" type:"string" required:"true"` // NewKeyringName is a required field NewKeyringName *string `min:"2" max:"31" type:"string" required:"true"` OldEncryptionContext *string `type:"string"` // contains filtered or unexported fields }
func (ReEncryptInput) GoString ¶
func (s ReEncryptInput) GoString() string
GoString returns the string representation
func (*ReEncryptInput) SetCiphertextBlob ¶
func (s *ReEncryptInput) SetCiphertextBlob(v string) *ReEncryptInput
SetCiphertextBlob sets the CiphertextBlob field's value.
func (*ReEncryptInput) SetNewEncryptionContext ¶
func (s *ReEncryptInput) SetNewEncryptionContext(v string) *ReEncryptInput
SetNewEncryptionContext sets the NewEncryptionContext field's value.
func (*ReEncryptInput) SetNewKeyName ¶
func (s *ReEncryptInput) SetNewKeyName(v string) *ReEncryptInput
SetNewKeyName sets the NewKeyName field's value.
func (*ReEncryptInput) SetNewKeyringName ¶
func (s *ReEncryptInput) SetNewKeyringName(v string) *ReEncryptInput
SetNewKeyringName sets the NewKeyringName field's value.
func (*ReEncryptInput) SetOldEncryptionContext ¶
func (s *ReEncryptInput) SetOldEncryptionContext(v string) *ReEncryptInput
SetOldEncryptionContext sets the OldEncryptionContext field's value.
func (ReEncryptInput) String ¶
func (s ReEncryptInput) String() string
String returns the string representation
func (*ReEncryptInput) Validate ¶
func (s *ReEncryptInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReEncryptOutput ¶
type ReEncryptOutput struct { Metadata *response.ResponseMetadata CiphertextBlob *string `type:"string"` // contains filtered or unexported fields }
func (ReEncryptOutput) GoString ¶
func (s ReEncryptOutput) GoString() string
GoString returns the string representation
func (*ReEncryptOutput) SetCiphertextBlob ¶
func (s *ReEncryptOutput) SetCiphertextBlob(v string) *ReEncryptOutput
SetCiphertextBlob sets the CiphertextBlob field's value.
func (ReEncryptOutput) String ¶
func (s ReEncryptOutput) String() string
String returns the string representation
type RegionForDescribeRegionsOutput ¶
type RegionForDescribeRegionsOutput struct { RegionId *string `type:"string"` // contains filtered or unexported fields }
func (RegionForDescribeRegionsOutput) GoString ¶
func (s RegionForDescribeRegionsOutput) GoString() string
GoString returns the string representation
func (*RegionForDescribeRegionsOutput) SetRegionId ¶
func (s *RegionForDescribeRegionsOutput) SetRegionId(v string) *RegionForDescribeRegionsOutput
SetRegionId sets the RegionId field's value.
func (RegionForDescribeRegionsOutput) String ¶
func (s RegionForDescribeRegionsOutput) String() string
String returns the string representation
type ScheduleKeyDeletionInput ¶
type ScheduleKeyDeletionInput struct { // KeyName is a required field KeyName *string `min:"2" max:"31" type:"string" required:"true"` // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` PendingWindowInDays *int32 `min:"7" max:"30" type:"int32"` // contains filtered or unexported fields }
func (ScheduleKeyDeletionInput) GoString ¶
func (s ScheduleKeyDeletionInput) GoString() string
GoString returns the string representation
func (*ScheduleKeyDeletionInput) SetKeyName ¶
func (s *ScheduleKeyDeletionInput) SetKeyName(v string) *ScheduleKeyDeletionInput
SetKeyName sets the KeyName field's value.
func (*ScheduleKeyDeletionInput) SetKeyringName ¶
func (s *ScheduleKeyDeletionInput) SetKeyringName(v string) *ScheduleKeyDeletionInput
SetKeyringName sets the KeyringName field's value.
func (*ScheduleKeyDeletionInput) SetPendingWindowInDays ¶
func (s *ScheduleKeyDeletionInput) SetPendingWindowInDays(v int32) *ScheduleKeyDeletionInput
SetPendingWindowInDays sets the PendingWindowInDays field's value.
func (ScheduleKeyDeletionInput) String ¶
func (s ScheduleKeyDeletionInput) String() string
String returns the string representation
func (*ScheduleKeyDeletionInput) Validate ¶
func (s *ScheduleKeyDeletionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ScheduleKeyDeletionOutput ¶
type ScheduleKeyDeletionOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (ScheduleKeyDeletionOutput) GoString ¶
func (s ScheduleKeyDeletionOutput) GoString() string
GoString returns the string representation
func (ScheduleKeyDeletionOutput) String ¶
func (s ScheduleKeyDeletionOutput) String() string
String returns the string representation
type UpdateKeyInput ¶
type UpdateKeyInput struct { Description *string `max:"8192" type:"string"` // KeyName is a required field KeyName *string `min:"2" max:"31" type:"string" required:"true"` // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` NewKeyName *string `min:"2" max:"31" type:"string"` // contains filtered or unexported fields }
func (UpdateKeyInput) GoString ¶
func (s UpdateKeyInput) GoString() string
GoString returns the string representation
func (*UpdateKeyInput) SetDescription ¶
func (s *UpdateKeyInput) SetDescription(v string) *UpdateKeyInput
SetDescription sets the Description field's value.
func (*UpdateKeyInput) SetKeyName ¶
func (s *UpdateKeyInput) SetKeyName(v string) *UpdateKeyInput
SetKeyName sets the KeyName field's value.
func (*UpdateKeyInput) SetKeyringName ¶
func (s *UpdateKeyInput) SetKeyringName(v string) *UpdateKeyInput
SetKeyringName sets the KeyringName field's value.
func (*UpdateKeyInput) SetNewKeyName ¶
func (s *UpdateKeyInput) SetNewKeyName(v string) *UpdateKeyInput
SetNewKeyName sets the NewKeyName field's value.
func (UpdateKeyInput) String ¶
func (s UpdateKeyInput) String() string
String returns the string representation
func (*UpdateKeyInput) Validate ¶
func (s *UpdateKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateKeyOutput ¶
type UpdateKeyOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (UpdateKeyOutput) GoString ¶
func (s UpdateKeyOutput) GoString() string
GoString returns the string representation
func (UpdateKeyOutput) String ¶
func (s UpdateKeyOutput) String() string
String returns the string representation
type UpdateKeyringInput ¶
type UpdateKeyringInput struct { Description *string `max:"8192" type:"string"` // KeyringName is a required field KeyringName *string `min:"2" max:"31" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateKeyringInput) GoString ¶
func (s UpdateKeyringInput) GoString() string
GoString returns the string representation
func (*UpdateKeyringInput) SetDescription ¶
func (s *UpdateKeyringInput) SetDescription(v string) *UpdateKeyringInput
SetDescription sets the Description field's value.
func (*UpdateKeyringInput) SetKeyringName ¶
func (s *UpdateKeyringInput) SetKeyringName(v string) *UpdateKeyringInput
SetKeyringName sets the KeyringName field's value.
func (UpdateKeyringInput) String ¶
func (s UpdateKeyringInput) String() string
String returns the string representation
func (*UpdateKeyringInput) Validate ¶
func (s *UpdateKeyringInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateKeyringOutput ¶
type UpdateKeyringOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (UpdateKeyringOutput) GoString ¶
func (s UpdateKeyringOutput) GoString() string
GoString returns the string representation
func (UpdateKeyringOutput) String ¶
func (s UpdateKeyringOutput) String() string
String returns the string representation
Source Files ¶
- api_archive_key.go
- api_asymmetric_decrypt.go
- api_asymmetric_encrypt.go
- api_asymmetric_sign.go
- api_asymmetric_verify.go
- api_cancel_archive_key.go
- api_cancel_key_deletion.go
- api_create_key.go
- api_create_keyring.go
- api_decrypt.go
- api_delete_key_material.go
- api_delete_keyring.go
- api_describe_key.go
- api_describe_keyrings.go
- api_describe_keys.go
- api_describe_regions.go
- api_disable_key.go
- api_disable_key_rotation.go
- api_enable_key.go
- api_enable_key_rotation.go
- api_encrypt.go
- api_generate_data_key.go
- api_get_parameters_for_import.go
- api_get_public_key.go
- api_import_key_material.go
- api_query_keyring.go
- api_re_encrypt.go
- api_schedule_key_deletion.go
- api_update_key.go
- api_update_keyring.go
- interface_kms.go
- service_kms.go