forked from aws/aws-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
interface.go
63 lines (35 loc) · 2.15 KB
/
interface.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
// Package kmsiface provides an interface for the AWS Key Management Service.
package kmsiface
import (
"github.com/aws/aws-sdk-go/service/kms"
)
// KMSAPI is the interface type for kms.KMS.
type KMSAPI interface {
CreateAlias(*kms.CreateAliasInput) (*kms.CreateAliasOutput, error)
CreateGrant(*kms.CreateGrantInput) (*kms.CreateGrantOutput, error)
CreateKey(*kms.CreateKeyInput) (*kms.CreateKeyOutput, error)
Decrypt(*kms.DecryptInput) (*kms.DecryptOutput, error)
DeleteAlias(*kms.DeleteAliasInput) (*kms.DeleteAliasOutput, error)
DescribeKey(*kms.DescribeKeyInput) (*kms.DescribeKeyOutput, error)
DisableKey(*kms.DisableKeyInput) (*kms.DisableKeyOutput, error)
DisableKeyRotation(*kms.DisableKeyRotationInput) (*kms.DisableKeyRotationOutput, error)
EnableKey(*kms.EnableKeyInput) (*kms.EnableKeyOutput, error)
EnableKeyRotation(*kms.EnableKeyRotationInput) (*kms.EnableKeyRotationOutput, error)
Encrypt(*kms.EncryptInput) (*kms.EncryptOutput, error)
GenerateDataKey(*kms.GenerateDataKeyInput) (*kms.GenerateDataKeyOutput, error)
GenerateDataKeyWithoutPlaintext(*kms.GenerateDataKeyWithoutPlaintextInput) (*kms.GenerateDataKeyWithoutPlaintextOutput, error)
GenerateRandom(*kms.GenerateRandomInput) (*kms.GenerateRandomOutput, error)
GetKeyPolicy(*kms.GetKeyPolicyInput) (*kms.GetKeyPolicyOutput, error)
GetKeyRotationStatus(*kms.GetKeyRotationStatusInput) (*kms.GetKeyRotationStatusOutput, error)
ListAliases(*kms.ListAliasesInput) (*kms.ListAliasesOutput, error)
ListGrants(*kms.ListGrantsInput) (*kms.ListGrantsOutput, error)
ListKeyPolicies(*kms.ListKeyPoliciesInput) (*kms.ListKeyPoliciesOutput, error)
ListKeys(*kms.ListKeysInput) (*kms.ListKeysOutput, error)
PutKeyPolicy(*kms.PutKeyPolicyInput) (*kms.PutKeyPolicyOutput, error)
ReEncrypt(*kms.ReEncryptInput) (*kms.ReEncryptOutput, error)
RetireGrant(*kms.RetireGrantInput) (*kms.RetireGrantOutput, error)
RevokeGrant(*kms.RevokeGrantInput) (*kms.RevokeGrantOutput, error)
UpdateAlias(*kms.UpdateAliasInput) (*kms.UpdateAliasOutput, error)
UpdateKeyDescription(*kms.UpdateKeyDescriptionInput) (*kms.UpdateKeyDescriptionOutput, error)
}