Versions in this module Expand all Collapse all v1 v1.11.0 Dec 6, 2022 Changes in this version + const AlgorithmSpecRsaesOaepSha1 + const AlgorithmSpecRsaesOaepSha256 + const AlgorithmSpecRsaesPkcs1V15 + const DataKeySpecAes128 + const DataKeySpecAes256 + const EndpointsID + const ErrCodeAlreadyExistsException + const ErrCodeDependencyTimeoutException + const ErrCodeDisabledException + const ErrCodeExpiredImportTokenException + const ErrCodeIncorrectKeyMaterialException + const ErrCodeInternalException + const ErrCodeInvalidAliasNameException + const ErrCodeInvalidArnException + const ErrCodeInvalidCiphertextException + const ErrCodeInvalidGrantIdException + const ErrCodeInvalidGrantTokenException + const ErrCodeInvalidImportTokenException + const ErrCodeInvalidKeyUsageException + const ErrCodeInvalidMarkerException + const ErrCodeInvalidStateException + const ErrCodeKeyUnavailableException + const ErrCodeLimitExceededException + const ErrCodeMalformedPolicyDocumentException + const ErrCodeNotFoundException + const ErrCodeTagException + const ErrCodeUnsupportedOperationException + const ExpirationModelTypeKeyMaterialDoesNotExpire + const ExpirationModelTypeKeyMaterialExpires + const GrantOperationCreateGrant + const GrantOperationDecrypt + const GrantOperationDescribeKey + const GrantOperationEncrypt + const GrantOperationGenerateDataKey + const GrantOperationGenerateDataKeyWithoutPlaintext + const GrantOperationReEncryptFrom + const GrantOperationReEncryptTo + const GrantOperationRetireGrant + const KeyManagerTypeAws + const KeyManagerTypeCustomer + const KeyStateDisabled + const KeyStateEnabled + const KeyStatePendingDeletion + const KeyStatePendingImport + const KeyUsageTypeEncryptDecrypt + const OriginTypeAwsKms + const OriginTypeExternal + const ServiceName + const WrappingKeySpecRsa2048 + type AliasListEntry struct + AliasArn *string + AliasName *string + TargetKeyId *string + func (s *AliasListEntry) SetAliasArn(v string) *AliasListEntry + func (s *AliasListEntry) SetAliasName(v string) *AliasListEntry + func (s *AliasListEntry) SetTargetKeyId(v string) *AliasListEntry + func (s AliasListEntry) GoString() string + func (s AliasListEntry) String() string + type CancelKeyDeletionInput struct + KeyId *string + func (s *CancelKeyDeletionInput) SetKeyId(v string) *CancelKeyDeletionInput + func (s *CancelKeyDeletionInput) Validate() error + func (s CancelKeyDeletionInput) GoString() string + func (s CancelKeyDeletionInput) String() string + type CancelKeyDeletionOutput struct + KeyId *string + func (s *CancelKeyDeletionOutput) SetKeyId(v string) *CancelKeyDeletionOutput + func (s CancelKeyDeletionOutput) GoString() string + func (s CancelKeyDeletionOutput) String() string + type CreateAliasInput struct + AliasName *string + TargetKeyId *string + func (s *CreateAliasInput) SetAliasName(v string) *CreateAliasInput + func (s *CreateAliasInput) SetTargetKeyId(v string) *CreateAliasInput + func (s *CreateAliasInput) Validate() error + func (s CreateAliasInput) GoString() string + func (s CreateAliasInput) String() string + type CreateAliasOutput struct + func (s CreateAliasOutput) GoString() string + func (s CreateAliasOutput) String() string + type CreateGrantInput struct + Constraints *GrantConstraints + GrantTokens []*string + GranteePrincipal *string + KeyId *string + Name *string + Operations []*string + RetiringPrincipal *string + func (s *CreateGrantInput) SetConstraints(v *GrantConstraints) *CreateGrantInput + func (s *CreateGrantInput) SetGrantTokens(v []*string) *CreateGrantInput + func (s *CreateGrantInput) SetGranteePrincipal(v string) *CreateGrantInput + func (s *CreateGrantInput) SetKeyId(v string) *CreateGrantInput + func (s *CreateGrantInput) SetName(v string) *CreateGrantInput + func (s *CreateGrantInput) SetOperations(v []*string) *CreateGrantInput + func (s *CreateGrantInput) SetRetiringPrincipal(v string) *CreateGrantInput + func (s *CreateGrantInput) Validate() error + func (s CreateGrantInput) GoString() string + func (s CreateGrantInput) String() string + type CreateGrantOutput struct + GrantId *string + GrantToken *string + func (s *CreateGrantOutput) SetGrantId(v string) *CreateGrantOutput + func (s *CreateGrantOutput) SetGrantToken(v string) *CreateGrantOutput + func (s CreateGrantOutput) GoString() string + func (s CreateGrantOutput) String() string + type CreateKeyInput struct + BypassPolicyLockoutSafetyCheck *bool + Description *string + KeyUsage *string + Origin *string + Policy *string + Tags []*Tag + func (s *CreateKeyInput) SetBypassPolicyLockoutSafetyCheck(v bool) *CreateKeyInput + func (s *CreateKeyInput) SetDescription(v string) *CreateKeyInput + func (s *CreateKeyInput) SetKeyUsage(v string) *CreateKeyInput + func (s *CreateKeyInput) SetOrigin(v string) *CreateKeyInput + func (s *CreateKeyInput) SetPolicy(v string) *CreateKeyInput + func (s *CreateKeyInput) SetTags(v []*Tag) *CreateKeyInput + func (s *CreateKeyInput) Validate() error + func (s CreateKeyInput) GoString() string + func (s CreateKeyInput) String() string + type CreateKeyOutput struct + KeyMetadata *KeyMetadata + func (s *CreateKeyOutput) SetKeyMetadata(v *KeyMetadata) *CreateKeyOutput + func (s CreateKeyOutput) GoString() string + func (s CreateKeyOutput) String() string + type DecryptInput struct + CiphertextBlob []byte + EncryptionContext map[string]*string + GrantTokens []*string + func (s *DecryptInput) SetCiphertextBlob(v []byte) *DecryptInput + func (s *DecryptInput) SetEncryptionContext(v map[string]*string) *DecryptInput + func (s *DecryptInput) SetGrantTokens(v []*string) *DecryptInput + func (s *DecryptInput) Validate() error + func (s DecryptInput) GoString() string + func (s DecryptInput) String() string + type DecryptOutput struct + KeyId *string + Plaintext []byte + func (s *DecryptOutput) SetKeyId(v string) *DecryptOutput + func (s *DecryptOutput) SetPlaintext(v []byte) *DecryptOutput + func (s DecryptOutput) GoString() string + func (s DecryptOutput) String() string + type DeleteAliasInput struct + AliasName *string + func (s *DeleteAliasInput) SetAliasName(v string) *DeleteAliasInput + func (s *DeleteAliasInput) Validate() error + func (s DeleteAliasInput) GoString() string + func (s DeleteAliasInput) String() string + type DeleteAliasOutput struct + func (s DeleteAliasOutput) GoString() string + func (s DeleteAliasOutput) String() string + type DeleteImportedKeyMaterialInput struct + KeyId *string + func (s *DeleteImportedKeyMaterialInput) SetKeyId(v string) *DeleteImportedKeyMaterialInput + func (s *DeleteImportedKeyMaterialInput) Validate() error + func (s DeleteImportedKeyMaterialInput) GoString() string + func (s DeleteImportedKeyMaterialInput) String() string + type DeleteImportedKeyMaterialOutput struct + func (s DeleteImportedKeyMaterialOutput) GoString() string + func (s DeleteImportedKeyMaterialOutput) String() string + type DescribeKeyInput struct + GrantTokens []*string + KeyId *string + func (s *DescribeKeyInput) SetGrantTokens(v []*string) *DescribeKeyInput + func (s *DescribeKeyInput) SetKeyId(v string) *DescribeKeyInput + func (s *DescribeKeyInput) Validate() error + func (s DescribeKeyInput) GoString() string + func (s DescribeKeyInput) String() string + type DescribeKeyOutput struct + KeyMetadata *KeyMetadata + func (s *DescribeKeyOutput) SetKeyMetadata(v *KeyMetadata) *DescribeKeyOutput + func (s DescribeKeyOutput) GoString() string + func (s DescribeKeyOutput) String() string + type DisableKeyInput struct + KeyId *string + func (s *DisableKeyInput) SetKeyId(v string) *DisableKeyInput + func (s *DisableKeyInput) Validate() error + func (s DisableKeyInput) GoString() string + func (s DisableKeyInput) String() string + type DisableKeyOutput struct + func (s DisableKeyOutput) GoString() string + func (s DisableKeyOutput) String() string + type DisableKeyRotationInput struct + KeyId *string + func (s *DisableKeyRotationInput) SetKeyId(v string) *DisableKeyRotationInput + func (s *DisableKeyRotationInput) Validate() error + func (s DisableKeyRotationInput) GoString() string + func (s DisableKeyRotationInput) String() string + type DisableKeyRotationOutput struct + func (s DisableKeyRotationOutput) GoString() string + func (s DisableKeyRotationOutput) String() string + type EnableKeyInput struct + KeyId *string + func (s *EnableKeyInput) SetKeyId(v string) *EnableKeyInput + func (s *EnableKeyInput) Validate() error + func (s EnableKeyInput) GoString() string + func (s EnableKeyInput) String() string + type EnableKeyOutput struct + func (s EnableKeyOutput) GoString() string + func (s EnableKeyOutput) String() string + type EnableKeyRotationInput struct + KeyId *string + func (s *EnableKeyRotationInput) SetKeyId(v string) *EnableKeyRotationInput + func (s *EnableKeyRotationInput) Validate() error + func (s EnableKeyRotationInput) GoString() string + func (s EnableKeyRotationInput) String() string + type EnableKeyRotationOutput struct + func (s EnableKeyRotationOutput) GoString() string + func (s EnableKeyRotationOutput) String() string + type EncryptInput struct + EncryptionContext map[string]*string + GrantTokens []*string + KeyId *string + Plaintext []byte + func (s *EncryptInput) SetEncryptionContext(v map[string]*string) *EncryptInput + func (s *EncryptInput) SetGrantTokens(v []*string) *EncryptInput + func (s *EncryptInput) SetKeyId(v string) *EncryptInput + func (s *EncryptInput) SetPlaintext(v []byte) *EncryptInput + func (s *EncryptInput) Validate() error + func (s EncryptInput) GoString() string + func (s EncryptInput) String() string + type EncryptOutput struct + CiphertextBlob []byte + KeyId *string + func (s *EncryptOutput) SetCiphertextBlob(v []byte) *EncryptOutput + func (s *EncryptOutput) SetKeyId(v string) *EncryptOutput + func (s EncryptOutput) GoString() string + func (s EncryptOutput) String() string + type GenerateDataKeyInput struct + EncryptionContext map[string]*string + GrantTokens []*string + KeyId *string + KeySpec *string + NumberOfBytes *int64 + func (s *GenerateDataKeyInput) SetEncryptionContext(v map[string]*string) *GenerateDataKeyInput + func (s *GenerateDataKeyInput) SetGrantTokens(v []*string) *GenerateDataKeyInput + func (s *GenerateDataKeyInput) SetKeyId(v string) *GenerateDataKeyInput + func (s *GenerateDataKeyInput) SetKeySpec(v string) *GenerateDataKeyInput + func (s *GenerateDataKeyInput) SetNumberOfBytes(v int64) *GenerateDataKeyInput + func (s *GenerateDataKeyInput) Validate() error + func (s GenerateDataKeyInput) GoString() string + func (s GenerateDataKeyInput) String() string + type GenerateDataKeyOutput struct + CiphertextBlob []byte + KeyId *string + Plaintext []byte + func (s *GenerateDataKeyOutput) SetCiphertextBlob(v []byte) *GenerateDataKeyOutput + func (s *GenerateDataKeyOutput) SetKeyId(v string) *GenerateDataKeyOutput + func (s *GenerateDataKeyOutput) SetPlaintext(v []byte) *GenerateDataKeyOutput + func (s GenerateDataKeyOutput) GoString() string + func (s GenerateDataKeyOutput) String() string + type GenerateDataKeyWithoutPlaintextInput struct + EncryptionContext map[string]*string + GrantTokens []*string + KeyId *string + KeySpec *string + NumberOfBytes *int64 + func (s *GenerateDataKeyWithoutPlaintextInput) SetEncryptionContext(v map[string]*string) *GenerateDataKeyWithoutPlaintextInput + func (s *GenerateDataKeyWithoutPlaintextInput) SetGrantTokens(v []*string) *GenerateDataKeyWithoutPlaintextInput + func (s *GenerateDataKeyWithoutPlaintextInput) SetKeyId(v string) *GenerateDataKeyWithoutPlaintextInput + func (s *GenerateDataKeyWithoutPlaintextInput) SetKeySpec(v string) *GenerateDataKeyWithoutPlaintextInput + func (s *GenerateDataKeyWithoutPlaintextInput) SetNumberOfBytes(v int64) *GenerateDataKeyWithoutPlaintextInput + func (s *GenerateDataKeyWithoutPlaintextInput) Validate() error + func (s GenerateDataKeyWithoutPlaintextInput) GoString() string + func (s GenerateDataKeyWithoutPlaintextInput) String() string + type GenerateDataKeyWithoutPlaintextOutput struct + CiphertextBlob []byte + KeyId *string + func (s *GenerateDataKeyWithoutPlaintextOutput) SetCiphertextBlob(v []byte) *GenerateDataKeyWithoutPlaintextOutput + func (s *GenerateDataKeyWithoutPlaintextOutput) SetKeyId(v string) *GenerateDataKeyWithoutPlaintextOutput + func (s GenerateDataKeyWithoutPlaintextOutput) GoString() string + func (s GenerateDataKeyWithoutPlaintextOutput) String() string + type GenerateRandomInput struct + NumberOfBytes *int64 + func (s *GenerateRandomInput) SetNumberOfBytes(v int64) *GenerateRandomInput + func (s *GenerateRandomInput) Validate() error + func (s GenerateRandomInput) GoString() string + func (s GenerateRandomInput) String() string + type GenerateRandomOutput struct + Plaintext []byte + func (s *GenerateRandomOutput) SetPlaintext(v []byte) *GenerateRandomOutput + func (s GenerateRandomOutput) GoString() string + func (s GenerateRandomOutput) String() string + type GetKeyPolicyInput struct + KeyId *string + PolicyName *string + func (s *GetKeyPolicyInput) SetKeyId(v string) *GetKeyPolicyInput + func (s *GetKeyPolicyInput) SetPolicyName(v string) *GetKeyPolicyInput + func (s *GetKeyPolicyInput) Validate() error + func (s GetKeyPolicyInput) GoString() string + func (s GetKeyPolicyInput) String() string + type GetKeyPolicyOutput struct + Policy *string + func (s *GetKeyPolicyOutput) SetPolicy(v string) *GetKeyPolicyOutput + func (s GetKeyPolicyOutput) GoString() string + func (s GetKeyPolicyOutput) String() string + type GetKeyRotationStatusInput struct + KeyId *string + func (s *GetKeyRotationStatusInput) SetKeyId(v string) *GetKeyRotationStatusInput + func (s *GetKeyRotationStatusInput) Validate() error + func (s GetKeyRotationStatusInput) GoString() string + func (s GetKeyRotationStatusInput) String() string + type GetKeyRotationStatusOutput struct + KeyRotationEnabled *bool + func (s *GetKeyRotationStatusOutput) SetKeyRotationEnabled(v bool) *GetKeyRotationStatusOutput + func (s GetKeyRotationStatusOutput) GoString() string + func (s GetKeyRotationStatusOutput) String() string + type GetParametersForImportInput struct + KeyId *string + WrappingAlgorithm *string + WrappingKeySpec *string + func (s *GetParametersForImportInput) SetKeyId(v string) *GetParametersForImportInput + func (s *GetParametersForImportInput) SetWrappingAlgorithm(v string) *GetParametersForImportInput + func (s *GetParametersForImportInput) SetWrappingKeySpec(v string) *GetParametersForImportInput + func (s *GetParametersForImportInput) Validate() error + func (s GetParametersForImportInput) GoString() string + func (s GetParametersForImportInput) String() string + type GetParametersForImportOutput struct + ImportToken []byte + KeyId *string + ParametersValidTo *time.Time + PublicKey []byte + func (s *GetParametersForImportOutput) SetImportToken(v []byte) *GetParametersForImportOutput + func (s *GetParametersForImportOutput) SetKeyId(v string) *GetParametersForImportOutput + func (s *GetParametersForImportOutput) SetParametersValidTo(v time.Time) *GetParametersForImportOutput + func (s *GetParametersForImportOutput) SetPublicKey(v []byte) *GetParametersForImportOutput + func (s GetParametersForImportOutput) GoString() string + func (s GetParametersForImportOutput) String() string + type GrantConstraints struct + EncryptionContextEquals map[string]*string + EncryptionContextSubset map[string]*string + func (s *GrantConstraints) SetEncryptionContextEquals(v map[string]*string) *GrantConstraints + func (s *GrantConstraints) SetEncryptionContextSubset(v map[string]*string) *GrantConstraints + func (s GrantConstraints) GoString() string + func (s GrantConstraints) String() string + type GrantListEntry struct + Constraints *GrantConstraints + CreationDate *time.Time + GrantId *string + GranteePrincipal *string + IssuingAccount *string + KeyId *string + Name *string + Operations []*string + RetiringPrincipal *string + func (s *GrantListEntry) SetConstraints(v *GrantConstraints) *GrantListEntry + func (s *GrantListEntry) SetCreationDate(v time.Time) *GrantListEntry + func (s *GrantListEntry) SetGrantId(v string) *GrantListEntry + func (s *GrantListEntry) SetGranteePrincipal(v string) *GrantListEntry + func (s *GrantListEntry) SetIssuingAccount(v string) *GrantListEntry + func (s *GrantListEntry) SetKeyId(v string) *GrantListEntry + func (s *GrantListEntry) SetName(v string) *GrantListEntry + func (s *GrantListEntry) SetOperations(v []*string) *GrantListEntry + func (s *GrantListEntry) SetRetiringPrincipal(v string) *GrantListEntry + func (s GrantListEntry) GoString() string + func (s GrantListEntry) String() string + type ImportKeyMaterialInput struct + EncryptedKeyMaterial []byte + ExpirationModel *string + ImportToken []byte + KeyId *string + ValidTo *time.Time + func (s *ImportKeyMaterialInput) SetEncryptedKeyMaterial(v []byte) *ImportKeyMaterialInput + func (s *ImportKeyMaterialInput) SetExpirationModel(v string) *ImportKeyMaterialInput + func (s *ImportKeyMaterialInput) SetImportToken(v []byte) *ImportKeyMaterialInput + func (s *ImportKeyMaterialInput) SetKeyId(v string) *ImportKeyMaterialInput + func (s *ImportKeyMaterialInput) SetValidTo(v time.Time) *ImportKeyMaterialInput + func (s *ImportKeyMaterialInput) Validate() error + func (s ImportKeyMaterialInput) GoString() string + func (s ImportKeyMaterialInput) String() string + type ImportKeyMaterialOutput struct + func (s ImportKeyMaterialOutput) GoString() string + func (s ImportKeyMaterialOutput) String() string + type KMS struct + func New(p client.ConfigProvider, cfgs ...*aws.Config) *KMS + func (c *KMS) CancelKeyDeletion(input *CancelKeyDeletionInput) (*CancelKeyDeletionOutput, error) + func (c *KMS) CancelKeyDeletionRequest(input *CancelKeyDeletionInput) (req *request.Request, output *CancelKeyDeletionOutput) + func (c *KMS) CancelKeyDeletionWithContext(ctx aws.Context, input *CancelKeyDeletionInput, opts ...request.Option) (*CancelKeyDeletionOutput, error) + func (c *KMS) CreateAlias(input *CreateAliasInput) (*CreateAliasOutput, error) + func (c *KMS) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, output *CreateAliasOutput) + func (c *KMS) CreateAliasWithContext(ctx aws.Context, input *CreateAliasInput, opts ...request.Option) (*CreateAliasOutput, error) + func (c *KMS) CreateGrant(input *CreateGrantInput) (*CreateGrantOutput, error) + func (c *KMS) CreateGrantRequest(input *CreateGrantInput) (req *request.Request, output *CreateGrantOutput) + func (c *KMS) CreateGrantWithContext(ctx aws.Context, input *CreateGrantInput, opts ...request.Option) (*CreateGrantOutput, error) + func (c *KMS) CreateKey(input *CreateKeyInput) (*CreateKeyOutput, error) + func (c *KMS) CreateKeyRequest(input *CreateKeyInput) (req *request.Request, output *CreateKeyOutput) + func (c *KMS) CreateKeyWithContext(ctx aws.Context, input *CreateKeyInput, opts ...request.Option) (*CreateKeyOutput, error) + func (c *KMS) Decrypt(input *DecryptInput) (*DecryptOutput, error) + func (c *KMS) DecryptRequest(input *DecryptInput) (req *request.Request, output *DecryptOutput) + func (c *KMS) DecryptWithContext(ctx aws.Context, input *DecryptInput, opts ...request.Option) (*DecryptOutput, error) + func (c *KMS) DeleteAlias(input *DeleteAliasInput) (*DeleteAliasOutput, error) + func (c *KMS) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Request, output *DeleteAliasOutput) + func (c *KMS) DeleteAliasWithContext(ctx aws.Context, input *DeleteAliasInput, opts ...request.Option) (*DeleteAliasOutput, error) + func (c *KMS) DeleteImportedKeyMaterial(input *DeleteImportedKeyMaterialInput) (*DeleteImportedKeyMaterialOutput, error) + func (c *KMS) DeleteImportedKeyMaterialRequest(input *DeleteImportedKeyMaterialInput) (req *request.Request, output *DeleteImportedKeyMaterialOutput) + func (c *KMS) DeleteImportedKeyMaterialWithContext(ctx aws.Context, input *DeleteImportedKeyMaterialInput, opts ...request.Option) (*DeleteImportedKeyMaterialOutput, error) + func (c *KMS) DescribeKey(input *DescribeKeyInput) (*DescribeKeyOutput, error) + func (c *KMS) DescribeKeyRequest(input *DescribeKeyInput) (req *request.Request, output *DescribeKeyOutput) + func (c *KMS) DescribeKeyWithContext(ctx aws.Context, input *DescribeKeyInput, opts ...request.Option) (*DescribeKeyOutput, error) + func (c *KMS) DisableKey(input *DisableKeyInput) (*DisableKeyOutput, error) + func (c *KMS) DisableKeyRequest(input *DisableKeyInput) (req *request.Request, output *DisableKeyOutput) + func (c *KMS) DisableKeyRotation(input *DisableKeyRotationInput) (*DisableKeyRotationOutput, error) + func (c *KMS) DisableKeyRotationRequest(input *DisableKeyRotationInput) (req *request.Request, output *DisableKeyRotationOutput) + func (c *KMS) DisableKeyRotationWithContext(ctx aws.Context, input *DisableKeyRotationInput, opts ...request.Option) (*DisableKeyRotationOutput, error) + func (c *KMS) DisableKeyWithContext(ctx aws.Context, input *DisableKeyInput, opts ...request.Option) (*DisableKeyOutput, error) + func (c *KMS) EnableKey(input *EnableKeyInput) (*EnableKeyOutput, error) + func (c *KMS) EnableKeyRequest(input *EnableKeyInput) (req *request.Request, output *EnableKeyOutput) + func (c *KMS) EnableKeyRotation(input *EnableKeyRotationInput) (*EnableKeyRotationOutput, error) + func (c *KMS) EnableKeyRotationRequest(input *EnableKeyRotationInput) (req *request.Request, output *EnableKeyRotationOutput) + func (c *KMS) EnableKeyRotationWithContext(ctx aws.Context, input *EnableKeyRotationInput, opts ...request.Option) (*EnableKeyRotationOutput, error) + func (c *KMS) EnableKeyWithContext(ctx aws.Context, input *EnableKeyInput, opts ...request.Option) (*EnableKeyOutput, error) + func (c *KMS) Encrypt(input *EncryptInput) (*EncryptOutput, error) + func (c *KMS) EncryptRequest(input *EncryptInput) (req *request.Request, output *EncryptOutput) + func (c *KMS) EncryptWithContext(ctx aws.Context, input *EncryptInput, opts ...request.Option) (*EncryptOutput, error) + func (c *KMS) GenerateDataKey(input *GenerateDataKeyInput) (*GenerateDataKeyOutput, error) + func (c *KMS) GenerateDataKeyRequest(input *GenerateDataKeyInput) (req *request.Request, output *GenerateDataKeyOutput) + func (c *KMS) GenerateDataKeyWithContext(ctx aws.Context, input *GenerateDataKeyInput, opts ...request.Option) (*GenerateDataKeyOutput, error) + func (c *KMS) GenerateDataKeyWithoutPlaintext(input *GenerateDataKeyWithoutPlaintextInput) (*GenerateDataKeyWithoutPlaintextOutput, error) + func (c *KMS) GenerateDataKeyWithoutPlaintextRequest(input *GenerateDataKeyWithoutPlaintextInput) (req *request.Request, output *GenerateDataKeyWithoutPlaintextOutput) + func (c *KMS) GenerateDataKeyWithoutPlaintextWithContext(ctx aws.Context, input *GenerateDataKeyWithoutPlaintextInput, ...) (*GenerateDataKeyWithoutPlaintextOutput, error) + func (c *KMS) GenerateRandom(input *GenerateRandomInput) (*GenerateRandomOutput, error) + func (c *KMS) GenerateRandomRequest(input *GenerateRandomInput) (req *request.Request, output *GenerateRandomOutput) + func (c *KMS) GenerateRandomWithContext(ctx aws.Context, input *GenerateRandomInput, opts ...request.Option) (*GenerateRandomOutput, error) + func (c *KMS) GetKeyPolicy(input *GetKeyPolicyInput) (*GetKeyPolicyOutput, error) + func (c *KMS) GetKeyPolicyRequest(input *GetKeyPolicyInput) (req *request.Request, output *GetKeyPolicyOutput) + func (c *KMS) GetKeyPolicyWithContext(ctx aws.Context, input *GetKeyPolicyInput, opts ...request.Option) (*GetKeyPolicyOutput, error) + func (c *KMS) GetKeyRotationStatus(input *GetKeyRotationStatusInput) (*GetKeyRotationStatusOutput, error) + func (c *KMS) GetKeyRotationStatusRequest(input *GetKeyRotationStatusInput) (req *request.Request, output *GetKeyRotationStatusOutput) + func (c *KMS) GetKeyRotationStatusWithContext(ctx aws.Context, input *GetKeyRotationStatusInput, opts ...request.Option) (*GetKeyRotationStatusOutput, error) + func (c *KMS) GetParametersForImport(input *GetParametersForImportInput) (*GetParametersForImportOutput, error) + func (c *KMS) GetParametersForImportRequest(input *GetParametersForImportInput) (req *request.Request, output *GetParametersForImportOutput) + func (c *KMS) GetParametersForImportWithContext(ctx aws.Context, input *GetParametersForImportInput, opts ...request.Option) (*GetParametersForImportOutput, error) + func (c *KMS) ImportKeyMaterial(input *ImportKeyMaterialInput) (*ImportKeyMaterialOutput, error) + func (c *KMS) ImportKeyMaterialRequest(input *ImportKeyMaterialInput) (req *request.Request, output *ImportKeyMaterialOutput) + func (c *KMS) ImportKeyMaterialWithContext(ctx aws.Context, input *ImportKeyMaterialInput, opts ...request.Option) (*ImportKeyMaterialOutput, error) + func (c *KMS) ListAliases(input *ListAliasesInput) (*ListAliasesOutput, error) + func (c *KMS) ListAliasesPages(input *ListAliasesInput, fn func(*ListAliasesOutput, bool) bool) error + func (c *KMS) ListAliasesPagesWithContext(ctx aws.Context, input *ListAliasesInput, ...) error + func (c *KMS) ListAliasesRequest(input *ListAliasesInput) (req *request.Request, output *ListAliasesOutput) + func (c *KMS) ListAliasesWithContext(ctx aws.Context, input *ListAliasesInput, opts ...request.Option) (*ListAliasesOutput, error) + func (c *KMS) ListGrants(input *ListGrantsInput) (*ListGrantsResponse, error) + func (c *KMS) ListGrantsPages(input *ListGrantsInput, fn func(*ListGrantsResponse, bool) bool) error + func (c *KMS) ListGrantsPagesWithContext(ctx aws.Context, input *ListGrantsInput, ...) error + func (c *KMS) ListGrantsRequest(input *ListGrantsInput) (req *request.Request, output *ListGrantsResponse) + func (c *KMS) ListGrantsWithContext(ctx aws.Context, input *ListGrantsInput, opts ...request.Option) (*ListGrantsResponse, error) + func (c *KMS) ListKeyPolicies(input *ListKeyPoliciesInput) (*ListKeyPoliciesOutput, error) + func (c *KMS) ListKeyPoliciesPages(input *ListKeyPoliciesInput, fn func(*ListKeyPoliciesOutput, bool) bool) error + func (c *KMS) ListKeyPoliciesPagesWithContext(ctx aws.Context, input *ListKeyPoliciesInput, ...) error + func (c *KMS) ListKeyPoliciesRequest(input *ListKeyPoliciesInput) (req *request.Request, output *ListKeyPoliciesOutput) + func (c *KMS) ListKeyPoliciesWithContext(ctx aws.Context, input *ListKeyPoliciesInput, opts ...request.Option) (*ListKeyPoliciesOutput, error) + func (c *KMS) ListKeys(input *ListKeysInput) (*ListKeysOutput, error) + func (c *KMS) ListKeysPages(input *ListKeysInput, fn func(*ListKeysOutput, bool) bool) error + func (c *KMS) ListKeysPagesWithContext(ctx aws.Context, input *ListKeysInput, fn func(*ListKeysOutput, bool) bool, ...) error + func (c *KMS) ListKeysRequest(input *ListKeysInput) (req *request.Request, output *ListKeysOutput) + func (c *KMS) ListKeysWithContext(ctx aws.Context, input *ListKeysInput, opts ...request.Option) (*ListKeysOutput, error) + func (c *KMS) ListResourceTags(input *ListResourceTagsInput) (*ListResourceTagsOutput, error) + func (c *KMS) ListResourceTagsRequest(input *ListResourceTagsInput) (req *request.Request, output *ListResourceTagsOutput) + func (c *KMS) ListResourceTagsWithContext(ctx aws.Context, input *ListResourceTagsInput, opts ...request.Option) (*ListResourceTagsOutput, error) + func (c *KMS) ListRetirableGrants(input *ListRetirableGrantsInput) (*ListGrantsResponse, error) + func (c *KMS) ListRetirableGrantsRequest(input *ListRetirableGrantsInput) (req *request.Request, output *ListGrantsResponse) + func (c *KMS) ListRetirableGrantsWithContext(ctx aws.Context, input *ListRetirableGrantsInput, opts ...request.Option) (*ListGrantsResponse, error) + func (c *KMS) PutKeyPolicy(input *PutKeyPolicyInput) (*PutKeyPolicyOutput, error) + func (c *KMS) PutKeyPolicyRequest(input *PutKeyPolicyInput) (req *request.Request, output *PutKeyPolicyOutput) + func (c *KMS) PutKeyPolicyWithContext(ctx aws.Context, input *PutKeyPolicyInput, opts ...request.Option) (*PutKeyPolicyOutput, error) + func (c *KMS) ReEncrypt(input *ReEncryptInput) (*ReEncryptOutput, error) + func (c *KMS) ReEncryptRequest(input *ReEncryptInput) (req *request.Request, output *ReEncryptOutput) + func (c *KMS) ReEncryptWithContext(ctx aws.Context, input *ReEncryptInput, opts ...request.Option) (*ReEncryptOutput, error) + func (c *KMS) RetireGrant(input *RetireGrantInput) (*RetireGrantOutput, error) + func (c *KMS) RetireGrantRequest(input *RetireGrantInput) (req *request.Request, output *RetireGrantOutput) + func (c *KMS) RetireGrantWithContext(ctx aws.Context, input *RetireGrantInput, opts ...request.Option) (*RetireGrantOutput, error) + func (c *KMS) RevokeGrant(input *RevokeGrantInput) (*RevokeGrantOutput, error) + func (c *KMS) RevokeGrantRequest(input *RevokeGrantInput) (req *request.Request, output *RevokeGrantOutput) + func (c *KMS) RevokeGrantWithContext(ctx aws.Context, input *RevokeGrantInput, opts ...request.Option) (*RevokeGrantOutput, error) + func (c *KMS) ScheduleKeyDeletion(input *ScheduleKeyDeletionInput) (*ScheduleKeyDeletionOutput, error) + func (c *KMS) ScheduleKeyDeletionRequest(input *ScheduleKeyDeletionInput) (req *request.Request, output *ScheduleKeyDeletionOutput) + func (c *KMS) ScheduleKeyDeletionWithContext(ctx aws.Context, input *ScheduleKeyDeletionInput, opts ...request.Option) (*ScheduleKeyDeletionOutput, error) + func (c *KMS) TagResource(input *TagResourceInput) (*TagResourceOutput, error) + func (c *KMS) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) + func (c *KMS) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) + func (c *KMS) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) + func (c *KMS) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) + func (c *KMS) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) + func (c *KMS) UpdateAlias(input *UpdateAliasInput) (*UpdateAliasOutput, error) + func (c *KMS) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Request, output *UpdateAliasOutput) + func (c *KMS) UpdateAliasWithContext(ctx aws.Context, input *UpdateAliasInput, opts ...request.Option) (*UpdateAliasOutput, error) + func (c *KMS) UpdateKeyDescription(input *UpdateKeyDescriptionInput) (*UpdateKeyDescriptionOutput, error) + func (c *KMS) UpdateKeyDescriptionRequest(input *UpdateKeyDescriptionInput) (req *request.Request, output *UpdateKeyDescriptionOutput) + func (c *KMS) UpdateKeyDescriptionWithContext(ctx aws.Context, input *UpdateKeyDescriptionInput, opts ...request.Option) (*UpdateKeyDescriptionOutput, error) + type KeyListEntry struct + KeyArn *string + KeyId *string + func (s *KeyListEntry) SetKeyArn(v string) *KeyListEntry + func (s *KeyListEntry) SetKeyId(v string) *KeyListEntry + func (s KeyListEntry) GoString() string + func (s KeyListEntry) String() string + type KeyMetadata struct + AWSAccountId *string + Arn *string + CreationDate *time.Time + DeletionDate *time.Time + Description *string + Enabled *bool + ExpirationModel *string + KeyId *string + KeyManager *string + KeyState *string + KeyUsage *string + Origin *string + ValidTo *time.Time + func (s *KeyMetadata) SetAWSAccountId(v string) *KeyMetadata + func (s *KeyMetadata) SetArn(v string) *KeyMetadata + func (s *KeyMetadata) SetCreationDate(v time.Time) *KeyMetadata + func (s *KeyMetadata) SetDeletionDate(v time.Time) *KeyMetadata + func (s *KeyMetadata) SetDescription(v string) *KeyMetadata + func (s *KeyMetadata) SetEnabled(v bool) *KeyMetadata + func (s *KeyMetadata) SetExpirationModel(v string) *KeyMetadata + func (s *KeyMetadata) SetKeyId(v string) *KeyMetadata + func (s *KeyMetadata) SetKeyManager(v string) *KeyMetadata + func (s *KeyMetadata) SetKeyState(v string) *KeyMetadata + func (s *KeyMetadata) SetKeyUsage(v string) *KeyMetadata + func (s *KeyMetadata) SetOrigin(v string) *KeyMetadata + func (s *KeyMetadata) SetValidTo(v time.Time) *KeyMetadata + func (s KeyMetadata) GoString() string + func (s KeyMetadata) String() string + type ListAliasesInput struct + Limit *int64 + Marker *string + func (s *ListAliasesInput) SetLimit(v int64) *ListAliasesInput + func (s *ListAliasesInput) SetMarker(v string) *ListAliasesInput + func (s *ListAliasesInput) Validate() error + func (s ListAliasesInput) GoString() string + func (s ListAliasesInput) String() string + type ListAliasesOutput struct + Aliases []*AliasListEntry + NextMarker *string + Truncated *bool + func (s *ListAliasesOutput) SetAliases(v []*AliasListEntry) *ListAliasesOutput + func (s *ListAliasesOutput) SetNextMarker(v string) *ListAliasesOutput + func (s *ListAliasesOutput) SetTruncated(v bool) *ListAliasesOutput + func (s ListAliasesOutput) GoString() string + func (s ListAliasesOutput) String() string + type ListGrantsInput struct + KeyId *string + Limit *int64 + Marker *string + func (s *ListGrantsInput) SetKeyId(v string) *ListGrantsInput + func (s *ListGrantsInput) SetLimit(v int64) *ListGrantsInput + func (s *ListGrantsInput) SetMarker(v string) *ListGrantsInput + func (s *ListGrantsInput) Validate() error + func (s ListGrantsInput) GoString() string + func (s ListGrantsInput) String() string + type ListGrantsResponse struct + Grants []*GrantListEntry + NextMarker *string + Truncated *bool + func (s *ListGrantsResponse) SetGrants(v []*GrantListEntry) *ListGrantsResponse + func (s *ListGrantsResponse) SetNextMarker(v string) *ListGrantsResponse + func (s *ListGrantsResponse) SetTruncated(v bool) *ListGrantsResponse + func (s ListGrantsResponse) GoString() string + func (s ListGrantsResponse) String() string + type ListKeyPoliciesInput struct + KeyId *string + Limit *int64 + Marker *string + func (s *ListKeyPoliciesInput) SetKeyId(v string) *ListKeyPoliciesInput + func (s *ListKeyPoliciesInput) SetLimit(v int64) *ListKeyPoliciesInput + func (s *ListKeyPoliciesInput) SetMarker(v string) *ListKeyPoliciesInput + func (s *ListKeyPoliciesInput) Validate() error + func (s ListKeyPoliciesInput) GoString() string + func (s ListKeyPoliciesInput) String() string + type ListKeyPoliciesOutput struct + NextMarker *string + PolicyNames []*string + Truncated *bool + func (s *ListKeyPoliciesOutput) SetNextMarker(v string) *ListKeyPoliciesOutput + func (s *ListKeyPoliciesOutput) SetPolicyNames(v []*string) *ListKeyPoliciesOutput + func (s *ListKeyPoliciesOutput) SetTruncated(v bool) *ListKeyPoliciesOutput + func (s ListKeyPoliciesOutput) GoString() string + func (s ListKeyPoliciesOutput) String() string + type ListKeysInput struct + Limit *int64 + Marker *string + func (s *ListKeysInput) SetLimit(v int64) *ListKeysInput + func (s *ListKeysInput) SetMarker(v string) *ListKeysInput + func (s *ListKeysInput) Validate() error + func (s ListKeysInput) GoString() string + func (s ListKeysInput) String() string + type ListKeysOutput struct + Keys []*KeyListEntry + NextMarker *string + Truncated *bool + func (s *ListKeysOutput) SetKeys(v []*KeyListEntry) *ListKeysOutput + func (s *ListKeysOutput) SetNextMarker(v string) *ListKeysOutput + func (s *ListKeysOutput) SetTruncated(v bool) *ListKeysOutput + func (s ListKeysOutput) GoString() string + func (s ListKeysOutput) String() string + type ListResourceTagsInput struct + KeyId *string + Limit *int64 + Marker *string + func (s *ListResourceTagsInput) SetKeyId(v string) *ListResourceTagsInput + func (s *ListResourceTagsInput) SetLimit(v int64) *ListResourceTagsInput + func (s *ListResourceTagsInput) SetMarker(v string) *ListResourceTagsInput + func (s *ListResourceTagsInput) Validate() error + func (s ListResourceTagsInput) GoString() string + func (s ListResourceTagsInput) String() string + type ListResourceTagsOutput struct + NextMarker *string + Tags []*Tag + Truncated *bool + func (s *ListResourceTagsOutput) SetNextMarker(v string) *ListResourceTagsOutput + func (s *ListResourceTagsOutput) SetTags(v []*Tag) *ListResourceTagsOutput + func (s *ListResourceTagsOutput) SetTruncated(v bool) *ListResourceTagsOutput + func (s ListResourceTagsOutput) GoString() string + func (s ListResourceTagsOutput) String() string + type ListRetirableGrantsInput struct + Limit *int64 + Marker *string + RetiringPrincipal *string + func (s *ListRetirableGrantsInput) SetLimit(v int64) *ListRetirableGrantsInput + func (s *ListRetirableGrantsInput) SetMarker(v string) *ListRetirableGrantsInput + func (s *ListRetirableGrantsInput) SetRetiringPrincipal(v string) *ListRetirableGrantsInput + func (s *ListRetirableGrantsInput) Validate() error + func (s ListRetirableGrantsInput) GoString() string + func (s ListRetirableGrantsInput) String() string + type PutKeyPolicyInput struct + BypassPolicyLockoutSafetyCheck *bool + KeyId *string + Policy *string + PolicyName *string + func (s *PutKeyPolicyInput) SetBypassPolicyLockoutSafetyCheck(v bool) *PutKeyPolicyInput + func (s *PutKeyPolicyInput) SetKeyId(v string) *PutKeyPolicyInput + func (s *PutKeyPolicyInput) SetPolicy(v string) *PutKeyPolicyInput + func (s *PutKeyPolicyInput) SetPolicyName(v string) *PutKeyPolicyInput + func (s *PutKeyPolicyInput) Validate() error + func (s PutKeyPolicyInput) GoString() string + func (s PutKeyPolicyInput) String() string + type PutKeyPolicyOutput struct + func (s PutKeyPolicyOutput) GoString() string + func (s PutKeyPolicyOutput) String() string + type ReEncryptInput struct + CiphertextBlob []byte + DestinationEncryptionContext map[string]*string + DestinationKeyId *string + GrantTokens []*string + SourceEncryptionContext map[string]*string + func (s *ReEncryptInput) SetCiphertextBlob(v []byte) *ReEncryptInput + func (s *ReEncryptInput) SetDestinationEncryptionContext(v map[string]*string) *ReEncryptInput + func (s *ReEncryptInput) SetDestinationKeyId(v string) *ReEncryptInput + func (s *ReEncryptInput) SetGrantTokens(v []*string) *ReEncryptInput + func (s *ReEncryptInput) SetSourceEncryptionContext(v map[string]*string) *ReEncryptInput + func (s *ReEncryptInput) Validate() error + func (s ReEncryptInput) GoString() string + func (s ReEncryptInput) String() string + type ReEncryptOutput struct + CiphertextBlob []byte + KeyId *string + SourceKeyId *string + func (s *ReEncryptOutput) SetCiphertextBlob(v []byte) *ReEncryptOutput + func (s *ReEncryptOutput) SetKeyId(v string) *ReEncryptOutput + func (s *ReEncryptOutput) SetSourceKeyId(v string) *ReEncryptOutput + func (s ReEncryptOutput) GoString() string + func (s ReEncryptOutput) String() string + type RetireGrantInput struct + GrantId *string + GrantToken *string + KeyId *string + func (s *RetireGrantInput) SetGrantId(v string) *RetireGrantInput + func (s *RetireGrantInput) SetGrantToken(v string) *RetireGrantInput + func (s *RetireGrantInput) SetKeyId(v string) *RetireGrantInput + func (s *RetireGrantInput) Validate() error + func (s RetireGrantInput) GoString() string + func (s RetireGrantInput) String() string + type RetireGrantOutput struct + func (s RetireGrantOutput) GoString() string + func (s RetireGrantOutput) String() string + type RevokeGrantInput struct + GrantId *string + KeyId *string + func (s *RevokeGrantInput) SetGrantId(v string) *RevokeGrantInput + func (s *RevokeGrantInput) SetKeyId(v string) *RevokeGrantInput + func (s *RevokeGrantInput) Validate() error + func (s RevokeGrantInput) GoString() string + func (s RevokeGrantInput) String() string + type RevokeGrantOutput struct + func (s RevokeGrantOutput) GoString() string + func (s RevokeGrantOutput) String() string + type ScheduleKeyDeletionInput struct + KeyId *string + PendingWindowInDays *int64 + func (s *ScheduleKeyDeletionInput) SetKeyId(v string) *ScheduleKeyDeletionInput + func (s *ScheduleKeyDeletionInput) SetPendingWindowInDays(v int64) *ScheduleKeyDeletionInput + func (s *ScheduleKeyDeletionInput) Validate() error + func (s ScheduleKeyDeletionInput) GoString() string + func (s ScheduleKeyDeletionInput) String() string + type ScheduleKeyDeletionOutput struct + DeletionDate *time.Time + KeyId *string + func (s *ScheduleKeyDeletionOutput) SetDeletionDate(v time.Time) *ScheduleKeyDeletionOutput + func (s *ScheduleKeyDeletionOutput) SetKeyId(v string) *ScheduleKeyDeletionOutput + func (s ScheduleKeyDeletionOutput) GoString() string + func (s ScheduleKeyDeletionOutput) String() string + type Tag struct + TagKey *string + TagValue *string + func (s *Tag) SetTagKey(v string) *Tag + func (s *Tag) SetTagValue(v string) *Tag + func (s *Tag) Validate() error + func (s Tag) GoString() string + func (s Tag) String() string + type TagResourceInput struct + KeyId *string + Tags []*Tag + func (s *TagResourceInput) SetKeyId(v string) *TagResourceInput + func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput + func (s *TagResourceInput) Validate() error + func (s TagResourceInput) GoString() string + func (s TagResourceInput) String() string + type TagResourceOutput struct + func (s TagResourceOutput) GoString() string + func (s TagResourceOutput) String() string + type UntagResourceInput struct + KeyId *string + TagKeys []*string + func (s *UntagResourceInput) SetKeyId(v string) *UntagResourceInput + func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput + func (s *UntagResourceInput) Validate() error + func (s UntagResourceInput) GoString() string + func (s UntagResourceInput) String() string + type UntagResourceOutput struct + func (s UntagResourceOutput) GoString() string + func (s UntagResourceOutput) String() string + type UpdateAliasInput struct + AliasName *string + TargetKeyId *string + func (s *UpdateAliasInput) SetAliasName(v string) *UpdateAliasInput + func (s *UpdateAliasInput) SetTargetKeyId(v string) *UpdateAliasInput + func (s *UpdateAliasInput) Validate() error + func (s UpdateAliasInput) GoString() string + func (s UpdateAliasInput) String() string + type UpdateAliasOutput struct + func (s UpdateAliasOutput) GoString() string + func (s UpdateAliasOutput) String() string + type UpdateKeyDescriptionInput struct + Description *string + KeyId *string + func (s *UpdateKeyDescriptionInput) SetDescription(v string) *UpdateKeyDescriptionInput + func (s *UpdateKeyDescriptionInput) SetKeyId(v string) *UpdateKeyDescriptionInput + func (s *UpdateKeyDescriptionInput) Validate() error + func (s UpdateKeyDescriptionInput) GoString() string + func (s UpdateKeyDescriptionInput) String() string + type UpdateKeyDescriptionOutput struct + func (s UpdateKeyDescriptionOutput) GoString() string + func (s UpdateKeyDescriptionOutput) String() string