amazonka-dms-1.6.0: Amazon Database Migration Service 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.DMS.ImportCertificate

Contents

Description

Uploads the specified certificate.

Synopsis

Creating a Request

importCertificate #

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

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

  • icCertificatePem - The contents of the .pem X.509 certificate file for the certificate.
  • icCertificateWallet - The location of the imported Oracle Wallet certificate for use with SSL.-- Note: This Lens automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.
  • icTags - The tags associated with the certificate.
  • icCertificateIdentifier - The customer-assigned name of the certificate. Valid characters are A-z and 0-9.

data ImportCertificate #

See: importCertificate smart constructor.

Instances
Eq ImportCertificate # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

Data ImportCertificate # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

Methods

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

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

toConstr :: ImportCertificate -> Constr #

dataTypeOf :: ImportCertificate -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ImportCertificate # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

Show ImportCertificate # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

Generic ImportCertificate # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

Associated Types

type Rep ImportCertificate :: * -> * #

Hashable ImportCertificate # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

ToJSON ImportCertificate # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

AWSRequest ImportCertificate # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

Associated Types

type Rs ImportCertificate :: * #

ToHeaders ImportCertificate # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

ToPath ImportCertificate # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

ToQuery ImportCertificate # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

NFData ImportCertificate # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

Methods

rnf :: ImportCertificate -> () #

type Rep ImportCertificate # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

type Rep ImportCertificate = D1 (MetaData "ImportCertificate" "Network.AWS.DMS.ImportCertificate" "amazonka-dms-1.6.0-4Gi0lHT2mXm2tQ4v6k2g3I" False) (C1 (MetaCons "ImportCertificate'" PrefixI True) ((S1 (MetaSel (Just "_icCertificatePem") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_icCertificateWallet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Base64))) :*: (S1 (MetaSel (Just "_icTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 (MetaSel (Just "_icCertificateIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ImportCertificate # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

Request Lenses

icCertificatePem :: Lens' ImportCertificate (Maybe Text) #

The contents of the .pem X.509 certificate file for the certificate.

icCertificateWallet :: Lens' ImportCertificate (Maybe ByteString) #

The location of the imported Oracle Wallet certificate for use with SSL.-- Note: This Lens automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.

icTags :: Lens' ImportCertificate [Tag] #

The tags associated with the certificate.

icCertificateIdentifier :: Lens' ImportCertificate Text #

The customer-assigned name of the certificate. Valid characters are A-z and 0-9.

Destructuring the Response

importCertificateResponse #

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

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

data ImportCertificateResponse #

See: importCertificateResponse smart constructor.

Instances
Eq ImportCertificateResponse # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

Data ImportCertificateResponse # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

Methods

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

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

toConstr :: ImportCertificateResponse -> Constr #

dataTypeOf :: ImportCertificateResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ImportCertificateResponse # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

Show ImportCertificateResponse # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

Generic ImportCertificateResponse # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

Associated Types

type Rep ImportCertificateResponse :: * -> * #

NFData ImportCertificateResponse # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

type Rep ImportCertificateResponse # 
Instance details

Defined in Network.AWS.DMS.ImportCertificate

type Rep ImportCertificateResponse = D1 (MetaData "ImportCertificateResponse" "Network.AWS.DMS.ImportCertificate" "amazonka-dms-1.6.0-4Gi0lHT2mXm2tQ4v6k2g3I" False) (C1 (MetaCons "ImportCertificateResponse'" PrefixI True) (S1 (MetaSel (Just "_icrsCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Certificate)) :*: S1 (MetaSel (Just "_icrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

icrsResponseStatus :: Lens' ImportCertificateResponse Int #

  • - | The response status code.