amazonka-kms-1.4.4: Amazon Key Management Service SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.KMS.Types

Contents

Description

 

Synopsis

Service Configuration

kms :: Service Source #

API version '2014-11-01' of the Amazon Key Management Service SDK configuration.

Errors

_InvalidMarkerException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the marker that specifies where pagination should next begin is not valid.

_KMSInvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the state of the specified resource is not valid for this request.

For more information about how key state affects the use of a customer master key (CMK), see How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.

_InvalidKeyUsageException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the specified KeySpec parameter is not valid. The currently supported value is ENCRYPT/DECRYPT.

_MalformedPolicyDocumentException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the specified policy is not syntactically or semantically correct.

_UnsupportedOperationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.

_DisabledException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the specified key was marked as disabled.

_KeyUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the key was not available. The request can be retried.

_IncorrectKeyMaterialException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the provided key material is invalid or is not the same key material that was previously imported into this customer master key (CMK).

_KMSInternalException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because an internal exception occurred. The request can be retried.

_InvalidImportTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the provided import token is invalid or is associated with a different customer master key (CMK).

_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the specified entity or resource could not be found.

_InvalidAliasNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the specified alias name is not valid.

_InvalidGrantIdException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the specified GrantId is not valid.

_InvalidGrantTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because a grant token provided as part of the request is invalid.

_InvalidARNException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because a specified ARN was not valid.

_DependencyTimeoutException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The system timed out while trying to fulfill the request. The request can be retried.

_ExpiredImportTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the provided import token is expired. Use GetParametersForImport to retrieve a new import token and public key, use the new public key to encrypt the key material, and then try the request again.

_InvalidCiphertextException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the specified ciphertext has been corrupted or is otherwise invalid.

_AlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because it attempted to create a resource that already exists.

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because a limit was exceeded. For more information, see Limits in the AWS Key Management Service Developer Guide.

AlgorithmSpec

data AlgorithmSpec Source #

Instances

Bounded AlgorithmSpec Source # 
Enum AlgorithmSpec Source # 
Eq AlgorithmSpec Source # 
Data AlgorithmSpec Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AlgorithmSpec -> c AlgorithmSpec #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AlgorithmSpec #

toConstr :: AlgorithmSpec -> Constr #

dataTypeOf :: AlgorithmSpec -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AlgorithmSpec) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AlgorithmSpec) #

gmapT :: (forall b. Data b => b -> b) -> AlgorithmSpec -> AlgorithmSpec #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AlgorithmSpec -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AlgorithmSpec -> r #

gmapQ :: (forall d. Data d => d -> u) -> AlgorithmSpec -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AlgorithmSpec -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AlgorithmSpec -> m AlgorithmSpec #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AlgorithmSpec -> m AlgorithmSpec #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AlgorithmSpec -> m AlgorithmSpec #

Ord AlgorithmSpec Source # 
Read AlgorithmSpec Source # 
Show AlgorithmSpec Source # 
Generic AlgorithmSpec Source # 

Associated Types

type Rep AlgorithmSpec :: * -> * #

Hashable AlgorithmSpec Source # 
NFData AlgorithmSpec Source # 

Methods

rnf :: AlgorithmSpec -> () #

ToHeader AlgorithmSpec Source # 
ToQuery AlgorithmSpec Source # 
ToByteString AlgorithmSpec Source # 
ToJSON AlgorithmSpec Source # 

Methods

toJSON :: AlgorithmSpec -> Value #

toEncoding :: AlgorithmSpec -> Encoding #

FromText AlgorithmSpec Source # 

Methods

parser :: Parser AlgorithmSpec #

ToText AlgorithmSpec Source # 

Methods

toText :: AlgorithmSpec -> Text #

type Rep AlgorithmSpec Source # 
type Rep AlgorithmSpec = D1 (MetaData "AlgorithmSpec" "Network.AWS.KMS.Types.Sum" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" False) ((:+:) (C1 (MetaCons "RsaesOaepSha1" PrefixI False) U1) ((:+:) (C1 (MetaCons "RsaesOaepSha256" PrefixI False) U1) (C1 (MetaCons "RsaesPKCS1V15" PrefixI False) U1)))

DataKeySpec

data DataKeySpec Source #

Constructors

AES128 
AES256 

Instances

Bounded DataKeySpec Source # 
Enum DataKeySpec Source # 
Eq DataKeySpec Source # 
Data DataKeySpec Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DataKeySpec -> c DataKeySpec #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DataKeySpec #

toConstr :: DataKeySpec -> Constr #

dataTypeOf :: DataKeySpec -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DataKeySpec) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DataKeySpec) #

gmapT :: (forall b. Data b => b -> b) -> DataKeySpec -> DataKeySpec #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DataKeySpec -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DataKeySpec -> r #

gmapQ :: (forall d. Data d => d -> u) -> DataKeySpec -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DataKeySpec -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DataKeySpec -> m DataKeySpec #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DataKeySpec -> m DataKeySpec #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DataKeySpec -> m DataKeySpec #

Ord DataKeySpec Source # 
Read DataKeySpec Source # 
Show DataKeySpec Source # 
Generic DataKeySpec Source # 

Associated Types

type Rep DataKeySpec :: * -> * #

Hashable DataKeySpec Source # 
NFData DataKeySpec Source # 

Methods

rnf :: DataKeySpec -> () #

ToHeader DataKeySpec Source # 
ToQuery DataKeySpec Source # 
ToByteString DataKeySpec Source # 
ToJSON DataKeySpec Source # 

Methods

toJSON :: DataKeySpec -> Value #

toEncoding :: DataKeySpec -> Encoding #

FromText DataKeySpec Source # 

Methods

parser :: Parser DataKeySpec #

ToText DataKeySpec Source # 

Methods

toText :: DataKeySpec -> Text #

type Rep DataKeySpec Source # 
type Rep DataKeySpec = D1 (MetaData "DataKeySpec" "Network.AWS.KMS.Types.Sum" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" False) ((:+:) (C1 (MetaCons "AES128" PrefixI False) U1) (C1 (MetaCons "AES256" PrefixI False) U1))

ExpirationModelType

data ExpirationModelType Source #

Instances

Bounded ExpirationModelType Source # 
Enum ExpirationModelType Source # 
Eq ExpirationModelType Source # 
Data ExpirationModelType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ExpirationModelType -> c ExpirationModelType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExpirationModelType #

toConstr :: ExpirationModelType -> Constr #

dataTypeOf :: ExpirationModelType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ExpirationModelType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExpirationModelType) #

gmapT :: (forall b. Data b => b -> b) -> ExpirationModelType -> ExpirationModelType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExpirationModelType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExpirationModelType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ExpirationModelType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ExpirationModelType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExpirationModelType -> m ExpirationModelType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExpirationModelType -> m ExpirationModelType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExpirationModelType -> m ExpirationModelType #

Ord ExpirationModelType Source # 
Read ExpirationModelType Source # 
Show ExpirationModelType Source # 
Generic ExpirationModelType Source # 
Hashable ExpirationModelType Source # 
NFData ExpirationModelType Source # 

Methods

rnf :: ExpirationModelType -> () #

ToHeader ExpirationModelType Source # 
ToQuery ExpirationModelType Source # 
ToByteString ExpirationModelType Source # 
FromJSON ExpirationModelType Source # 

Methods

parseJSON :: Value -> Parser ExpirationModelType #

ToJSON ExpirationModelType Source # 
FromText ExpirationModelType Source # 

Methods

parser :: Parser ExpirationModelType #

ToText ExpirationModelType Source # 
type Rep ExpirationModelType Source # 
type Rep ExpirationModelType = D1 (MetaData "ExpirationModelType" "Network.AWS.KMS.Types.Sum" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" False) ((:+:) (C1 (MetaCons "KeyMaterialDoesNotExpire" PrefixI False) U1) (C1 (MetaCons "KeyMaterialExpires" PrefixI False) U1))

GrantOperation

data GrantOperation Source #

Instances

Bounded GrantOperation Source # 
Enum GrantOperation Source # 
Eq GrantOperation Source # 
Data GrantOperation Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GrantOperation -> c GrantOperation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GrantOperation #

toConstr :: GrantOperation -> Constr #

dataTypeOf :: GrantOperation -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GrantOperation) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GrantOperation) #

gmapT :: (forall b. Data b => b -> b) -> GrantOperation -> GrantOperation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GrantOperation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GrantOperation -> r #

gmapQ :: (forall d. Data d => d -> u) -> GrantOperation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GrantOperation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GrantOperation -> m GrantOperation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GrantOperation -> m GrantOperation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GrantOperation -> m GrantOperation #

Ord GrantOperation Source # 
Read GrantOperation Source # 
Show GrantOperation Source # 
Generic GrantOperation Source # 

Associated Types

type Rep GrantOperation :: * -> * #

Hashable GrantOperation Source # 
NFData GrantOperation Source # 

Methods

rnf :: GrantOperation -> () #

ToHeader GrantOperation Source # 
ToQuery GrantOperation Source # 
ToByteString GrantOperation Source # 
FromJSON GrantOperation Source # 

Methods

parseJSON :: Value -> Parser GrantOperation #

ToJSON GrantOperation Source # 
FromText GrantOperation Source # 

Methods

parser :: Parser GrantOperation #

ToText GrantOperation Source # 
type Rep GrantOperation Source # 
type Rep GrantOperation = D1 (MetaData "GrantOperation" "Network.AWS.KMS.Types.Sum" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "CreateGrant" PrefixI False) U1) (C1 (MetaCons "Decrypt" PrefixI False) U1)) ((:+:) (C1 (MetaCons "DescribeKey" PrefixI False) U1) (C1 (MetaCons "Encrypt" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "GenerateDataKey" PrefixI False) U1) (C1 (MetaCons "GenerateDataKeyWithoutPlaintext" PrefixI False) U1)) ((:+:) (C1 (MetaCons "ReEncryptFrom" PrefixI False) U1) ((:+:) (C1 (MetaCons "ReEncryptTo" PrefixI False) U1) (C1 (MetaCons "RetireGrant" PrefixI False) U1)))))

KeyState

data KeyState Source #

Instances

Bounded KeyState Source # 
Enum KeyState Source # 
Eq KeyState Source # 
Data KeyState Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> KeyState -> c KeyState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c KeyState #

toConstr :: KeyState -> Constr #

dataTypeOf :: KeyState -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c KeyState) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c KeyState) #

gmapT :: (forall b. Data b => b -> b) -> KeyState -> KeyState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> KeyState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> KeyState -> r #

gmapQ :: (forall d. Data d => d -> u) -> KeyState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> KeyState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> KeyState -> m KeyState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyState -> m KeyState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyState -> m KeyState #

Ord KeyState Source # 
Read KeyState Source # 
Show KeyState Source # 
Generic KeyState Source # 

Associated Types

type Rep KeyState :: * -> * #

Methods

from :: KeyState -> Rep KeyState x #

to :: Rep KeyState x -> KeyState #

Hashable KeyState Source # 

Methods

hashWithSalt :: Int -> KeyState -> Int #

hash :: KeyState -> Int #

NFData KeyState Source # 

Methods

rnf :: KeyState -> () #

ToHeader KeyState Source # 

Methods

toHeader :: HeaderName -> KeyState -> [Header] #

ToQuery KeyState Source # 
ToByteString KeyState Source # 

Methods

toBS :: KeyState -> ByteString #

FromJSON KeyState Source # 

Methods

parseJSON :: Value -> Parser KeyState #

FromText KeyState Source # 

Methods

parser :: Parser KeyState #

ToText KeyState Source # 

Methods

toText :: KeyState -> Text #

type Rep KeyState Source # 
type Rep KeyState = D1 (MetaData "KeyState" "Network.AWS.KMS.Types.Sum" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" False) ((:+:) ((:+:) (C1 (MetaCons "Disabled" PrefixI False) U1) (C1 (MetaCons "Enabled" PrefixI False) U1)) ((:+:) (C1 (MetaCons "PendingDeletion" PrefixI False) U1) (C1 (MetaCons "PendingImport" PrefixI False) U1)))

KeyUsageType

data KeyUsageType Source #

Constructors

EncryptDecrypt 

Instances

Bounded KeyUsageType Source # 
Enum KeyUsageType Source # 
Eq KeyUsageType Source # 
Data KeyUsageType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> KeyUsageType -> c KeyUsageType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c KeyUsageType #

toConstr :: KeyUsageType -> Constr #

dataTypeOf :: KeyUsageType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c KeyUsageType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c KeyUsageType) #

gmapT :: (forall b. Data b => b -> b) -> KeyUsageType -> KeyUsageType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> KeyUsageType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> KeyUsageType -> r #

gmapQ :: (forall d. Data d => d -> u) -> KeyUsageType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> KeyUsageType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> KeyUsageType -> m KeyUsageType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyUsageType -> m KeyUsageType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyUsageType -> m KeyUsageType #

Ord KeyUsageType Source # 
Read KeyUsageType Source # 
Show KeyUsageType Source # 
Generic KeyUsageType Source # 

Associated Types

type Rep KeyUsageType :: * -> * #

Hashable KeyUsageType Source # 
NFData KeyUsageType Source # 

Methods

rnf :: KeyUsageType -> () #

ToHeader KeyUsageType Source # 
ToQuery KeyUsageType Source # 
ToByteString KeyUsageType Source # 
FromJSON KeyUsageType Source # 

Methods

parseJSON :: Value -> Parser KeyUsageType #

ToJSON KeyUsageType Source # 

Methods

toJSON :: KeyUsageType -> Value #

toEncoding :: KeyUsageType -> Encoding #

FromText KeyUsageType Source # 

Methods

parser :: Parser KeyUsageType #

ToText KeyUsageType Source # 

Methods

toText :: KeyUsageType -> Text #

type Rep KeyUsageType Source # 
type Rep KeyUsageType = D1 (MetaData "KeyUsageType" "Network.AWS.KMS.Types.Sum" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" False) (C1 (MetaCons "EncryptDecrypt" PrefixI False) U1)

OriginType

data OriginType Source #

Constructors

AWSKMS 
External 

Instances

Bounded OriginType Source # 
Enum OriginType Source # 
Eq OriginType Source # 
Data OriginType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OriginType -> c OriginType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OriginType #

toConstr :: OriginType -> Constr #

dataTypeOf :: OriginType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c OriginType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OriginType) #

gmapT :: (forall b. Data b => b -> b) -> OriginType -> OriginType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OriginType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OriginType -> r #

gmapQ :: (forall d. Data d => d -> u) -> OriginType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OriginType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OriginType -> m OriginType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OriginType -> m OriginType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OriginType -> m OriginType #

Ord OriginType Source # 
Read OriginType Source # 
Show OriginType Source # 
Generic OriginType Source # 

Associated Types

type Rep OriginType :: * -> * #

Hashable OriginType Source # 
NFData OriginType Source # 

Methods

rnf :: OriginType -> () #

ToHeader OriginType Source # 
ToQuery OriginType Source # 
ToByteString OriginType Source # 
FromJSON OriginType Source # 

Methods

parseJSON :: Value -> Parser OriginType #

ToJSON OriginType Source # 

Methods

toJSON :: OriginType -> Value #

toEncoding :: OriginType -> Encoding #

FromText OriginType Source # 

Methods

parser :: Parser OriginType #

ToText OriginType Source # 

Methods

toText :: OriginType -> Text #

type Rep OriginType Source # 
type Rep OriginType = D1 (MetaData "OriginType" "Network.AWS.KMS.Types.Sum" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" False) ((:+:) (C1 (MetaCons "AWSKMS" PrefixI False) U1) (C1 (MetaCons "External" PrefixI False) U1))

WrappingKeySpec

data WrappingKeySpec Source #

Constructors

Rsa2048 

Instances

Bounded WrappingKeySpec Source # 
Enum WrappingKeySpec Source # 
Eq WrappingKeySpec Source # 
Data WrappingKeySpec Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> WrappingKeySpec -> c WrappingKeySpec #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c WrappingKeySpec #

toConstr :: WrappingKeySpec -> Constr #

dataTypeOf :: WrappingKeySpec -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c WrappingKeySpec) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c WrappingKeySpec) #

gmapT :: (forall b. Data b => b -> b) -> WrappingKeySpec -> WrappingKeySpec #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> WrappingKeySpec -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> WrappingKeySpec -> r #

gmapQ :: (forall d. Data d => d -> u) -> WrappingKeySpec -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> WrappingKeySpec -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> WrappingKeySpec -> m WrappingKeySpec #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> WrappingKeySpec -> m WrappingKeySpec #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> WrappingKeySpec -> m WrappingKeySpec #

Ord WrappingKeySpec Source # 
Read WrappingKeySpec Source # 
Show WrappingKeySpec Source # 
Generic WrappingKeySpec Source # 
Hashable WrappingKeySpec Source # 
NFData WrappingKeySpec Source # 

Methods

rnf :: WrappingKeySpec -> () #

ToHeader WrappingKeySpec Source # 
ToQuery WrappingKeySpec Source # 
ToByteString WrappingKeySpec Source # 
ToJSON WrappingKeySpec Source # 
FromText WrappingKeySpec Source # 

Methods

parser :: Parser WrappingKeySpec #

ToText WrappingKeySpec Source # 
type Rep WrappingKeySpec Source # 
type Rep WrappingKeySpec = D1 (MetaData "WrappingKeySpec" "Network.AWS.KMS.Types.Sum" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" False) (C1 (MetaCons "Rsa2048" PrefixI False) U1)

AliasListEntry

data AliasListEntry Source #

Contains information about an alias.

See: aliasListEntry smart constructor.

Instances

Eq AliasListEntry Source # 
Data AliasListEntry Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AliasListEntry -> c AliasListEntry #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AliasListEntry #

toConstr :: AliasListEntry -> Constr #

dataTypeOf :: AliasListEntry -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AliasListEntry) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AliasListEntry) #

gmapT :: (forall b. Data b => b -> b) -> AliasListEntry -> AliasListEntry #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AliasListEntry -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AliasListEntry -> r #

gmapQ :: (forall d. Data d => d -> u) -> AliasListEntry -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AliasListEntry -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AliasListEntry -> m AliasListEntry #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AliasListEntry -> m AliasListEntry #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AliasListEntry -> m AliasListEntry #

Read AliasListEntry Source # 
Show AliasListEntry Source # 
Generic AliasListEntry Source # 

Associated Types

type Rep AliasListEntry :: * -> * #

Hashable AliasListEntry Source # 
NFData AliasListEntry Source # 

Methods

rnf :: AliasListEntry -> () #

FromJSON AliasListEntry Source # 

Methods

parseJSON :: Value -> Parser AliasListEntry #

type Rep AliasListEntry Source # 
type Rep AliasListEntry = D1 (MetaData "AliasListEntry" "Network.AWS.KMS.Types.Product" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" False) (C1 (MetaCons "AliasListEntry'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aleTargetKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_aleAliasName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aleAliasARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

aliasListEntry :: AliasListEntry Source #

Creates a value of AliasListEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aleTargetKeyId :: Lens' AliasListEntry (Maybe Text) Source #

String that contains the key identifier pointed to by the alias.

aleAliasName :: Lens' AliasListEntry (Maybe Text) Source #

String that contains the alias.

aleAliasARN :: Lens' AliasListEntry (Maybe Text) Source #

String that contains the key ARN.

GrantConstraints

data GrantConstraints Source #

A structure for specifying the conditions under which the operations permitted by the grant are allowed.

You can use this structure to allow the operations permitted by the grant only when a specified encryption context is present. For more information about encryption context, see Encryption Context in the AWS Key Management Service Developer Guide.

See: grantConstraints smart constructor.

Instances

Eq GrantConstraints Source # 
Data GrantConstraints Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GrantConstraints -> c GrantConstraints #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GrantConstraints #

toConstr :: GrantConstraints -> Constr #

dataTypeOf :: GrantConstraints -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GrantConstraints) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GrantConstraints) #

gmapT :: (forall b. Data b => b -> b) -> GrantConstraints -> GrantConstraints #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GrantConstraints -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GrantConstraints -> r #

gmapQ :: (forall d. Data d => d -> u) -> GrantConstraints -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GrantConstraints -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GrantConstraints -> m GrantConstraints #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GrantConstraints -> m GrantConstraints #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GrantConstraints -> m GrantConstraints #

Read GrantConstraints Source # 
Show GrantConstraints Source # 
Generic GrantConstraints Source # 
Hashable GrantConstraints Source # 
NFData GrantConstraints Source # 

Methods

rnf :: GrantConstraints -> () #

FromJSON GrantConstraints Source # 

Methods

parseJSON :: Value -> Parser GrantConstraints #

ToJSON GrantConstraints Source # 
type Rep GrantConstraints Source # 
type Rep GrantConstraints = D1 (MetaData "GrantConstraints" "Network.AWS.KMS.Types.Product" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" False) (C1 (MetaCons "GrantConstraints'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gcEncryptionContextEquals") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) (S1 (MetaSel (Just Symbol "_gcEncryptionContextSubset") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))))))

grantConstraints :: GrantConstraints Source #

Creates a value of GrantConstraints with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gcEncryptionContextEquals :: Lens' GrantConstraints (HashMap Text Text) Source #

Contains a list of key-value pairs that must be present in the encryption context of a subsequent operation permitted by the grant. When a subsequent operation permitted by the grant includes an encryption context that matches this list, the grant allows the operation. Otherwise, the operation is not allowed.

gcEncryptionContextSubset :: Lens' GrantConstraints (HashMap Text Text) Source #

Contains a list of key-value pairs, a subset of which must be present in the encryption context of a subsequent operation permitted by the grant. When a subsequent operation permitted by the grant includes an encryption context that matches this list or is a subset of this list, the grant allows the operation. Otherwise, the operation is not allowed.

GrantListEntry

data GrantListEntry Source #

Contains information about an entry in a list of grants.

See: grantListEntry smart constructor.

Instances

Eq GrantListEntry Source # 
Data GrantListEntry Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GrantListEntry -> c GrantListEntry #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GrantListEntry #

toConstr :: GrantListEntry -> Constr #

dataTypeOf :: GrantListEntry -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GrantListEntry) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GrantListEntry) #

gmapT :: (forall b. Data b => b -> b) -> GrantListEntry -> GrantListEntry #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GrantListEntry -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GrantListEntry -> r #

gmapQ :: (forall d. Data d => d -> u) -> GrantListEntry -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GrantListEntry -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GrantListEntry -> m GrantListEntry #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GrantListEntry -> m GrantListEntry #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GrantListEntry -> m GrantListEntry #

Read GrantListEntry Source # 
Show GrantListEntry Source # 
Generic GrantListEntry Source # 

Associated Types

type Rep GrantListEntry :: * -> * #

Hashable GrantListEntry Source # 
NFData GrantListEntry Source # 

Methods

rnf :: GrantListEntry -> () #

FromJSON GrantListEntry Source # 

Methods

parseJSON :: Value -> Parser GrantListEntry #

type Rep GrantListEntry Source # 

grantListEntry :: GrantListEntry Source #

Creates a value of GrantListEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gleKeyId :: Lens' GrantListEntry (Maybe Text) Source #

The unique identifier for the customer master key (CMK) to which the grant applies.

gleRetiringPrincipal :: Lens' GrantListEntry (Maybe Text) Source #

The principal that can retire the grant.

gleIssuingAccount :: Lens' GrantListEntry (Maybe Text) Source #

The AWS account under which the grant was issued.

gleGrantId :: Lens' GrantListEntry (Maybe Text) Source #

The unique identifier for the grant.

gleConstraints :: Lens' GrantListEntry (Maybe GrantConstraints) Source #

The conditions under which the grant's operations are allowed.

gleGranteePrincipal :: Lens' GrantListEntry (Maybe Text) Source #

The principal that receives the grant's permissions.

gleName :: Lens' GrantListEntry (Maybe Text) Source #

The friendly name that identifies the grant. If a name was provided in the CreateGrant request, that name is returned. Otherwise this value is null.

gleCreationDate :: Lens' GrantListEntry (Maybe UTCTime) Source #

The date and time when the grant was created.

gleOperations :: Lens' GrantListEntry [GrantOperation] Source #

The list of operations permitted by the grant.

KeyListEntry

data KeyListEntry Source #

Contains information about each entry in the key list.

See: keyListEntry smart constructor.

Instances

Eq KeyListEntry Source # 
Data KeyListEntry Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> KeyListEntry -> c KeyListEntry #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c KeyListEntry #

toConstr :: KeyListEntry -> Constr #

dataTypeOf :: KeyListEntry -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c KeyListEntry) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c KeyListEntry) #

gmapT :: (forall b. Data b => b -> b) -> KeyListEntry -> KeyListEntry #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> KeyListEntry -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> KeyListEntry -> r #

gmapQ :: (forall d. Data d => d -> u) -> KeyListEntry -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> KeyListEntry -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> KeyListEntry -> m KeyListEntry #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyListEntry -> m KeyListEntry #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyListEntry -> m KeyListEntry #

Read KeyListEntry Source # 
Show KeyListEntry Source # 
Generic KeyListEntry Source # 

Associated Types

type Rep KeyListEntry :: * -> * #

Hashable KeyListEntry Source # 
NFData KeyListEntry Source # 

Methods

rnf :: KeyListEntry -> () #

FromJSON KeyListEntry Source # 

Methods

parseJSON :: Value -> Parser KeyListEntry #

type Rep KeyListEntry Source # 
type Rep KeyListEntry = D1 (MetaData "KeyListEntry" "Network.AWS.KMS.Types.Product" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" False) (C1 (MetaCons "KeyListEntry'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_kleKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_kleKeyARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

keyListEntry :: KeyListEntry Source #

Creates a value of KeyListEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

kleKeyId :: Lens' KeyListEntry (Maybe Text) Source #

Unique identifier of the key.

KeyMetadata

data KeyMetadata Source #

Contains metadata about a customer master key (CMK).

This data type is used as a response element for the CreateKey and DescribeKey operations.

See: keyMetadata smart constructor.

Instances

Eq KeyMetadata Source # 
Data KeyMetadata Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> KeyMetadata -> c KeyMetadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c KeyMetadata #

toConstr :: KeyMetadata -> Constr #

dataTypeOf :: KeyMetadata -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c KeyMetadata) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c KeyMetadata) #

gmapT :: (forall b. Data b => b -> b) -> KeyMetadata -> KeyMetadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> KeyMetadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> KeyMetadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> KeyMetadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> KeyMetadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> KeyMetadata -> m KeyMetadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyMetadata -> m KeyMetadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyMetadata -> m KeyMetadata #

Read KeyMetadata Source # 
Show KeyMetadata Source # 
Generic KeyMetadata Source # 

Associated Types

type Rep KeyMetadata :: * -> * #

Hashable KeyMetadata Source # 
NFData KeyMetadata Source # 

Methods

rnf :: KeyMetadata -> () #

FromJSON KeyMetadata Source # 

Methods

parseJSON :: Value -> Parser KeyMetadata #

type Rep KeyMetadata Source # 
type Rep KeyMetadata = D1 (MetaData "KeyMetadata" "Network.AWS.KMS.Types.Product" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" False) (C1 (MetaCons "KeyMetadata'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_kmOrigin") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OriginType))) ((:*:) (S1 (MetaSel (Just Symbol "_kmExpirationModel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ExpirationModelType))) (S1 (MetaSel (Just Symbol "_kmEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) ((:*:) (S1 (MetaSel (Just Symbol "_kmValidTo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) ((:*:) (S1 (MetaSel (Just Symbol "_kmARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_kmKeyState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe KeyState)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_kmAWSAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_kmKeyUsage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe KeyUsageType))) (S1 (MetaSel (Just Symbol "_kmCreationDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))))) ((:*:) (S1 (MetaSel (Just Symbol "_kmDeletionDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) ((:*:) (S1 (MetaSel (Just Symbol "_kmDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_kmKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))))

keyMetadata Source #

Arguments

:: Text

kmKeyId

-> KeyMetadata 

Creates a value of KeyMetadata with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

kmOrigin :: Lens' KeyMetadata (Maybe OriginType) Source #

The source of the CMK's key material. When this value is AWS_KMS, AWS KMS created the key material. When this value is EXTERNAL, the key material was imported from your existing key management infrastructure or the CMK lacks key material.

kmExpirationModel :: Lens' KeyMetadata (Maybe ExpirationModelType) Source #

Specifies whether the CMK's key material expires. This value is present only when Origin is EXTERNAL, otherwise this value is omitted.

kmEnabled :: Lens' KeyMetadata (Maybe Bool) Source #

Specifies whether the CMK is enabled. When KeyState is Enabled this value is true, otherwise it is false.

kmValidTo :: Lens' KeyMetadata (Maybe UTCTime) Source #

The time at which the imported key material expires. When the key material expires, AWS KMS deletes the key material and the CMK becomes unusable. This value is present only for CMKs whose Origin is EXTERNAL and whose ExpirationModel is KEY_MATERIAL_EXPIRES, otherwise this value is omitted.

kmARN :: Lens' KeyMetadata (Maybe Text) Source #

The Amazon Resource Name (ARN) of the CMK. For examples, see AWS Key Management Service (AWS KMS) in the Example ARNs section of the AWS General Reference.

kmKeyState :: Lens' KeyMetadata (Maybe KeyState) Source #

The state of the CMK.

For more information about how key state affects the use of a CMK, see How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.

kmAWSAccountId :: Lens' KeyMetadata (Maybe Text) Source #

The twelve-digit account ID of the AWS account that owns the CMK.

kmKeyUsage :: Lens' KeyMetadata (Maybe KeyUsageType) Source #

The cryptographic operations for which you can use the CMK. Currently the only allowed value is ENCRYPT_DECRYPT, which means you can use the CMK for the Encrypt and Decrypt operations.

kmCreationDate :: Lens' KeyMetadata (Maybe UTCTime) Source #

The date and time when the CMK was created.

kmDeletionDate :: Lens' KeyMetadata (Maybe UTCTime) Source #

The date and time after which AWS KMS deletes the CMK. This value is present only when KeyState is PendingDeletion, otherwise this value is omitted.

kmDescription :: Lens' KeyMetadata (Maybe Text) Source #

The description of the CMK.

kmKeyId :: Lens' KeyMetadata Text Source #

The globally unique identifier for the CMK.

ListGrantsResponse

data ListGrantsResponse Source #

See: listGrantsResponse smart constructor.

Instances

Eq ListGrantsResponse Source # 
Data ListGrantsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListGrantsResponse -> c ListGrantsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListGrantsResponse #

toConstr :: ListGrantsResponse -> Constr #

dataTypeOf :: ListGrantsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListGrantsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListGrantsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListGrantsResponse -> ListGrantsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListGrantsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListGrantsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListGrantsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListGrantsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListGrantsResponse -> m ListGrantsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListGrantsResponse -> m ListGrantsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListGrantsResponse -> m ListGrantsResponse #

Read ListGrantsResponse Source # 
Show ListGrantsResponse Source # 
Generic ListGrantsResponse Source # 
Hashable ListGrantsResponse Source # 
NFData ListGrantsResponse Source # 

Methods

rnf :: ListGrantsResponse -> () #

FromJSON ListGrantsResponse Source # 

Methods

parseJSON :: Value -> Parser ListGrantsResponse #

type Rep ListGrantsResponse Source # 
type Rep ListGrantsResponse = D1 (MetaData "ListGrantsResponse" "Network.AWS.KMS.Types.Product" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" False) (C1 (MetaCons "ListGrantsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lgTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_lgGrants") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GrantListEntry]))) (S1 (MetaSel (Just Symbol "_lgNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

listGrantsResponse :: ListGrantsResponse Source #

Creates a value of ListGrantsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lgTruncated :: Lens' ListGrantsResponse (Maybe Bool) Source #

A flag that indicates whether there are more items in the list. If your results were truncated, you can use the Marker parameter to make a subsequent pagination request to retrieve more items in the list.

lgNextMarker :: Lens' ListGrantsResponse (Maybe Text) Source #

When Truncated is true, this value is present and contains the value to use for the Marker parameter in a subsequent pagination request.