amazonka-xray-1.6.1: Amazon X-Ray SDK.

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

Network.AWS.XRay.PutEncryptionConfig

Contents

Description

Updates the encryption configuration for X-Ray data.

Synopsis

Creating a Request

putEncryptionConfig Source #

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

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

  • pecKeyId - An AWS KMS customer master key (CMK) in one of the following formats: * Alias - The name of the key. For example, alias/MyKey . * Key ID - The KMS key ID of the key. For example, ae4aa6d49-a4d8-9df9-a475-4ff6d7898456 . * ARN - The full Amazon Resource Name of the key ID or alias. For example, arn:aws:kms:us-east-2:123456789012:key/ae4aa6d49-a4d8-9df9-a475-4ff6d7898456 . Use this format to specify a key in a different account. Omit this key if you set Type to NONE .
  • pecType - The type of encryption. Set to KMS to use your own key for encryption. Set to NONE for default encryption.

data PutEncryptionConfig Source #

See: putEncryptionConfig smart constructor.

Instances
Eq PutEncryptionConfig Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

Data PutEncryptionConfig Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

Methods

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

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

toConstr :: PutEncryptionConfig -> Constr #

dataTypeOf :: PutEncryptionConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutEncryptionConfig Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

Show PutEncryptionConfig Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

Generic PutEncryptionConfig Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

Associated Types

type Rep PutEncryptionConfig :: Type -> Type #

Hashable PutEncryptionConfig Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

ToJSON PutEncryptionConfig Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

AWSRequest PutEncryptionConfig Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

Associated Types

type Rs PutEncryptionConfig :: Type #

ToHeaders PutEncryptionConfig Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

ToPath PutEncryptionConfig Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

ToQuery PutEncryptionConfig Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

NFData PutEncryptionConfig Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

Methods

rnf :: PutEncryptionConfig -> () #

type Rep PutEncryptionConfig Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

type Rep PutEncryptionConfig = D1 (MetaData "PutEncryptionConfig" "Network.AWS.XRay.PutEncryptionConfig" "amazonka-xray-1.6.1-6uyA4HRXo0kJ9ryfmHEerX" False) (C1 (MetaCons "PutEncryptionConfig'" PrefixI True) (S1 (MetaSel (Just "_pecKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pecType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 EncryptionType)))
type Rs PutEncryptionConfig Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

Request Lenses

pecKeyId :: Lens' PutEncryptionConfig (Maybe Text) Source #

An AWS KMS customer master key (CMK) in one of the following formats: * Alias - The name of the key. For example, alias/MyKey . * Key ID - The KMS key ID of the key. For example, ae4aa6d49-a4d8-9df9-a475-4ff6d7898456 . * ARN - The full Amazon Resource Name of the key ID or alias. For example, arn:aws:kms:us-east-2:123456789012:key/ae4aa6d49-a4d8-9df9-a475-4ff6d7898456 . Use this format to specify a key in a different account. Omit this key if you set Type to NONE .

pecType :: Lens' PutEncryptionConfig EncryptionType Source #

The type of encryption. Set to KMS to use your own key for encryption. Set to NONE for default encryption.

Destructuring the Response

putEncryptionConfigResponse Source #

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

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

data PutEncryptionConfigResponse Source #

See: putEncryptionConfigResponse smart constructor.

Instances
Eq PutEncryptionConfigResponse Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

Data PutEncryptionConfigResponse Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

Methods

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

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

toConstr :: PutEncryptionConfigResponse -> Constr #

dataTypeOf :: PutEncryptionConfigResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutEncryptionConfigResponse Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

Show PutEncryptionConfigResponse Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

Generic PutEncryptionConfigResponse Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

Associated Types

type Rep PutEncryptionConfigResponse :: Type -> Type #

NFData PutEncryptionConfigResponse Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

type Rep PutEncryptionConfigResponse Source # 
Instance details

Defined in Network.AWS.XRay.PutEncryptionConfig

type Rep PutEncryptionConfigResponse = D1 (MetaData "PutEncryptionConfigResponse" "Network.AWS.XRay.PutEncryptionConfig" "amazonka-xray-1.6.1-6uyA4HRXo0kJ9ryfmHEerX" False) (C1 (MetaCons "PutEncryptionConfigResponse'" PrefixI True) (S1 (MetaSel (Just "_pecrsEncryptionConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EncryptionConfig)) :*: S1 (MetaSel (Just "_pecrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses