pub struct Client { /* private fields */ }Implementations§
Source§impl Client
impl Client
Sourcepub fn generate_random_bytes(&self) -> GenerateRandomBytesFluentBuilder
pub fn generate_random_bytes(&self) -> GenerateRandomBytesFluentBuilder
Constructs a fluent builder for the GenerateRandomBytes operation.
- The fluent builder is configurable:
- On success, responds with
GenerateRandomBytesOutputwith field(s):data(Option<::aws_smithy_types::Blob>): (undocumented)
- On failure, responds with
SdkError<GenerateRandomBytesError>
Source§impl Client
impl Client
Sourcepub fn digest(&self) -> DigestFluentBuilder
pub fn digest(&self) -> DigestFluentBuilder
Constructs a fluent builder for the Digest operation.
- The fluent builder is configurable:
digest_algorithm(impl Into<Option<crate::deps::aws_cryptography_primitives::types::DigestAlgorithm>>)/set_digest_algorithm(Option<crate::deps::aws_cryptography_primitives::types::DigestAlgorithm>): (undocumented)message(impl Into<Option<::aws_smithy_types::Blob>>)/set_message(Option<::aws_smithy_types::Blob>): (undocumented)
- On success, responds with
DigestOutputwith field(s):digest(Option<::aws_smithy_types::Blob>): (undocumented)
- On failure, responds with
SdkError<DigestError>
Source§impl Client
impl Client
Sourcepub fn h_mac(&self) -> HMacFluentBuilder
pub fn h_mac(&self) -> HMacFluentBuilder
Constructs a fluent builder for the HMac operation.
- The fluent builder is configurable:
digest_algorithm(impl Into<Option<crate::deps::aws_cryptography_primitives::types::DigestAlgorithm>>)/set_digest_algorithm(Option<crate::deps::aws_cryptography_primitives::types::DigestAlgorithm>): (undocumented)key(impl Into<Option<::aws_smithy_types::Blob>>)/set_key(Option<::aws_smithy_types::Blob>): (undocumented)message(impl Into<Option<::aws_smithy_types::Blob>>)/set_message(Option<::aws_smithy_types::Blob>): (undocumented)
- On success, responds with
HMacOutputwith field(s):digest(Option<::aws_smithy_types::Blob>): (undocumented)
- On failure, responds with
SdkError<HMacError>
Source§impl Client
impl Client
Sourcepub fn hkdf_extract(&self) -> HkdfExtractFluentBuilder
pub fn hkdf_extract(&self) -> HkdfExtractFluentBuilder
Constructs a fluent builder for the HkdfExtract operation.
- The fluent builder is configurable:
digest_algorithm(impl Into<Option<crate::deps::aws_cryptography_primitives::types::DigestAlgorithm>>)/set_digest_algorithm(Option<crate::deps::aws_cryptography_primitives::types::DigestAlgorithm>): (undocumented)ikm(impl Into<Option<::aws_smithy_types::Blob>>)/set_ikm(Option<::aws_smithy_types::Blob>): (undocumented)salt(impl Into<Option<::aws_smithy_types::Blob>>)/set_salt(Option<::aws_smithy_types::Blob>): (undocumented)
- On success, responds with
HkdfExtractOutputwith field(s):prk(Option<::aws_smithy_types::Blob>): (undocumented)
- On failure, responds with
SdkError<HkdfExtractError>
Source§impl Client
impl Client
Sourcepub fn hkdf_expand(&self) -> HkdfExpandFluentBuilder
pub fn hkdf_expand(&self) -> HkdfExpandFluentBuilder
Constructs a fluent builder for the HkdfExpand operation.
- The fluent builder is configurable:
digest_algorithm(impl Into<Option<crate::deps::aws_cryptography_primitives::types::DigestAlgorithm>>)/set_digest_algorithm(Option<crate::deps::aws_cryptography_primitives::types::DigestAlgorithm>): (undocumented)expected_length(impl Into<Option<::std::primitive::i32>>)/set_expected_length(Option<::std::primitive::i32>): (undocumented)info(impl Into<Option<::aws_smithy_types::Blob>>)/set_info(Option<::aws_smithy_types::Blob>): (undocumented)prk(impl Into<Option<::aws_smithy_types::Blob>>)/set_prk(Option<::aws_smithy_types::Blob>): (undocumented)
- On success, responds with
HkdfExpandOutputwith field(s):okm(Option<::aws_smithy_types::Blob>): (undocumented)
- On failure, responds with
SdkError<HkdfExpandError>
Source§impl Client
impl Client
Sourcepub fn hkdf(&self) -> HkdfFluentBuilder
pub fn hkdf(&self) -> HkdfFluentBuilder
Constructs a fluent builder for the Hkdf operation.
- The fluent builder is configurable:
digest_algorithm(impl Into<Option<crate::deps::aws_cryptography_primitives::types::DigestAlgorithm>>)/set_digest_algorithm(Option<crate::deps::aws_cryptography_primitives::types::DigestAlgorithm>): (undocumented)expected_length(impl Into<Option<::std::primitive::i32>>)/set_expected_length(Option<::std::primitive::i32>): (undocumented)ikm(impl Into<Option<::aws_smithy_types::Blob>>)/set_ikm(Option<::aws_smithy_types::Blob>): (undocumented)info(impl Into<Option<::aws_smithy_types::Blob>>)/set_info(Option<::aws_smithy_types::Blob>): (undocumented)salt(impl Into<Option<::aws_smithy_types::Blob>>)/set_salt(Option<::aws_smithy_types::Blob>): (undocumented)
- On success, responds with
HkdfOutputwith field(s):okm(Option<::aws_smithy_types::Blob>): (undocumented)
- On failure, responds with
SdkError<HkdfError>
Source§impl Client
impl Client
Sourcepub fn kdf_counter_mode(&self) -> KdfCounterModeFluentBuilder
pub fn kdf_counter_mode(&self) -> KdfCounterModeFluentBuilder
Constructs a fluent builder for the KdfCounterMode operation.
- The fluent builder is configurable:
digest_algorithm(impl Into<Option<crate::deps::aws_cryptography_primitives::types::DigestAlgorithm>>)/set_digest_algorithm(Option<crate::deps::aws_cryptography_primitives::types::DigestAlgorithm>): (undocumented)expected_length(impl Into<Option<::std::primitive::i32>>)/set_expected_length(Option<::std::primitive::i32>): (undocumented)ikm(impl Into<Option<::aws_smithy_types::Blob>>)/set_ikm(Option<::aws_smithy_types::Blob>): (undocumented)nonce(impl Into<Option<::aws_smithy_types::Blob>>)/set_nonce(Option<::aws_smithy_types::Blob>): (undocumented)purpose(impl Into<Option<::aws_smithy_types::Blob>>)/set_purpose(Option<::aws_smithy_types::Blob>): (undocumented)
- On success, responds with
KdfCtrOutputwith field(s):okm(Option<::aws_smithy_types::Blob>): (undocumented)
- On failure, responds with
SdkError<KdfCounterModeError>
Source§impl Client
impl Client
Sourcepub fn aes_kdf_counter_mode(&self) -> AesKdfCounterModeFluentBuilder
pub fn aes_kdf_counter_mode(&self) -> AesKdfCounterModeFluentBuilder
Constructs a fluent builder for the AesKdfCounterMode operation.
- The fluent builder is configurable:
expected_length(impl Into<Option<::std::primitive::i32>>)/set_expected_length(Option<::std::primitive::i32>): (undocumented)ikm(impl Into<Option<::aws_smithy_types::Blob>>)/set_ikm(Option<::aws_smithy_types::Blob>): (undocumented)nonce(impl Into<Option<::aws_smithy_types::Blob>>)/set_nonce(Option<::aws_smithy_types::Blob>): (undocumented)
- On success, responds with
AesKdfCtrOutputwith field(s):okm(Option<::aws_smithy_types::Blob>): (undocumented)
- On failure, responds with
SdkError<AesKdfCounterModeError>
Source§impl Client
impl Client
Sourcepub fn aes_encrypt(&self) -> AesEncryptFluentBuilder
pub fn aes_encrypt(&self) -> AesEncryptFluentBuilder
Constructs a fluent builder for the AESEncrypt operation.
- The fluent builder is configurable:
aad(impl Into<Option<::aws_smithy_types::Blob>>)/set_aad(Option<::aws_smithy_types::Blob>): (undocumented)enc_alg(impl Into<Option<crate::deps::aws_cryptography_primitives::types::AesGcm>>)/set_enc_alg(Option<crate::deps::aws_cryptography_primitives::types::AesGcm>): (undocumented)iv(impl Into<Option<::aws_smithy_types::Blob>>)/set_iv(Option<::aws_smithy_types::Blob>): (undocumented)key(impl Into<Option<::aws_smithy_types::Blob>>)/set_key(Option<::aws_smithy_types::Blob>): (undocumented)msg(impl Into<Option<::aws_smithy_types::Blob>>)/set_msg(Option<::aws_smithy_types::Blob>): (undocumented)
- On success, responds with
AesEncryptOutputwith field(s):auth_tag(Option<::aws_smithy_types::Blob>): (undocumented)cipher_text(Option<::aws_smithy_types::Blob>): (undocumented)
- On failure, responds with
SdkError<AesEncryptError>
Source§impl Client
impl Client
Sourcepub fn aes_decrypt(&self) -> AesDecryptFluentBuilder
pub fn aes_decrypt(&self) -> AesDecryptFluentBuilder
Constructs a fluent builder for the AESDecrypt operation.
- The fluent builder is configurable:
aad(impl Into<Option<::aws_smithy_types::Blob>>)/set_aad(Option<::aws_smithy_types::Blob>): (undocumented)auth_tag(impl Into<Option<::aws_smithy_types::Blob>>)/set_auth_tag(Option<::aws_smithy_types::Blob>): (undocumented)cipher_txt(impl Into<Option<::aws_smithy_types::Blob>>)/set_cipher_txt(Option<::aws_smithy_types::Blob>): (undocumented)enc_alg(impl Into<Option<crate::deps::aws_cryptography_primitives::types::AesGcm>>)/set_enc_alg(Option<crate::deps::aws_cryptography_primitives::types::AesGcm>): (undocumented)iv(impl Into<Option<::aws_smithy_types::Blob>>)/set_iv(Option<::aws_smithy_types::Blob>): (undocumented)key(impl Into<Option<::aws_smithy_types::Blob>>)/set_key(Option<::aws_smithy_types::Blob>): (undocumented)
- On success, responds with
AesDecryptOutputwith field(s):plaintext(Option<::aws_smithy_types::Blob>): (undocumented)
- On failure, responds with
SdkError<AesDecryptError>
Source§impl Client
impl Client
Sourcepub fn generate_rsa_key_pair(&self) -> GenerateRsaKeyPairFluentBuilder
pub fn generate_rsa_key_pair(&self) -> GenerateRsaKeyPairFluentBuilder
Constructs a fluent builder for the GenerateRSAKeyPair operation.
- The fluent builder is configurable:
- On success, responds with
GenerateRsaKeyPairOutputwith field(s): - On failure, responds with
SdkError<GenerateRsaKeyPairError>
Source§impl Client
impl Client
Sourcepub fn get_rsa_key_modulus_length(&self) -> GetRsaKeyModulusLengthFluentBuilder
pub fn get_rsa_key_modulus_length(&self) -> GetRsaKeyModulusLengthFluentBuilder
Constructs a fluent builder for the GetRSAKeyModulusLength operation.
- The fluent builder is configurable:
- On success, responds with
GetRsaKeyModulusLengthOutputwith field(s):length(Option<::std::primitive::i32>): (undocumented)
- On failure, responds with
SdkError<GetRsaKeyModulusLengthError>
Source§impl Client
impl Client
Sourcepub fn rsa_decrypt(&self) -> RsaDecryptFluentBuilder
pub fn rsa_decrypt(&self) -> RsaDecryptFluentBuilder
Constructs a fluent builder for the RSADecrypt operation.
- The fluent builder is configurable:
cipher_text(impl Into<Option<::aws_smithy_types::Blob>>)/set_cipher_text(Option<::aws_smithy_types::Blob>): (undocumented)padding(impl Into<Option<crate::deps::aws_cryptography_primitives::types::RsaPaddingMode>>)/set_padding(Option<crate::deps::aws_cryptography_primitives::types::RsaPaddingMode>): (undocumented)private_key(impl Into<Option<::aws_smithy_types::Blob>>)/set_private_key(Option<::aws_smithy_types::Blob>): (undocumented)
- On success, responds with
RsaDecryptOutputwith field(s):plaintext(Option<::aws_smithy_types::Blob>): (undocumented)
- On failure, responds with
SdkError<RsaDecryptError>
Source§impl Client
impl Client
Sourcepub fn rsa_encrypt(&self) -> RsaEncryptFluentBuilder
pub fn rsa_encrypt(&self) -> RsaEncryptFluentBuilder
Constructs a fluent builder for the RSAEncrypt operation.
- The fluent builder is configurable:
padding(impl Into<Option<crate::deps::aws_cryptography_primitives::types::RsaPaddingMode>>)/set_padding(Option<crate::deps::aws_cryptography_primitives::types::RsaPaddingMode>): (undocumented)plaintext(impl Into<Option<::aws_smithy_types::Blob>>)/set_plaintext(Option<::aws_smithy_types::Blob>): (undocumented)public_key(impl Into<Option<::aws_smithy_types::Blob>>)/set_public_key(Option<::aws_smithy_types::Blob>): (undocumented)
- On success, responds with
RsaEncryptOutputwith field(s):cipher_text(Option<::aws_smithy_types::Blob>): (undocumented)
- On failure, responds with
SdkError<RsaEncryptError>
Source§impl Client
impl Client
Sourcepub fn generate_ecdsa_signature_key(
&self,
) -> GenerateEcdsaSignatureKeyFluentBuilder
pub fn generate_ecdsa_signature_key( &self, ) -> GenerateEcdsaSignatureKeyFluentBuilder
Constructs a fluent builder for the GenerateECDSASignatureKey operation.
- The fluent builder is configurable:
- On success, responds with
GenerateEcdsaSignatureKeyOutputwith field(s):signature_algorithm(Option<crate::deps::aws_cryptography_primitives::types::EcdsaSignatureAlgorithm>): (undocumented)signing_key(Option<::aws_smithy_types::Blob>): (undocumented)verification_key(Option<::aws_smithy_types::Blob>): (undocumented)
- On failure, responds with
SdkError<GenerateEcdsaSignatureKeyError>
Source§impl Client
impl Client
Sourcepub fn ecdsa_sign(&self) -> EcdsaSignFluentBuilder
pub fn ecdsa_sign(&self) -> EcdsaSignFluentBuilder
Constructs a fluent builder for the ECDSASign operation.
- The fluent builder is configurable:
message(impl Into<Option<::aws_smithy_types::Blob>>)/set_message(Option<::aws_smithy_types::Blob>): (undocumented)signature_algorithm(impl Into<Option<crate::deps::aws_cryptography_primitives::types::EcdsaSignatureAlgorithm>>)/set_signature_algorithm(Option<crate::deps::aws_cryptography_primitives::types::EcdsaSignatureAlgorithm>): (undocumented)signing_key(impl Into<Option<::aws_smithy_types::Blob>>)/set_signing_key(Option<::aws_smithy_types::Blob>): (undocumented)
- On success, responds with
EcdsaSignOutputwith field(s):signature(Option<::aws_smithy_types::Blob>): (undocumented)
- On failure, responds with
SdkError<EcdsaSignError>
Source§impl Client
impl Client
Sourcepub fn ecdsa_verify(&self) -> EcdsaVerifyFluentBuilder
pub fn ecdsa_verify(&self) -> EcdsaVerifyFluentBuilder
Constructs a fluent builder for the ECDSAVerify operation.
- The fluent builder is configurable:
message(impl Into<Option<::aws_smithy_types::Blob>>)/set_message(Option<::aws_smithy_types::Blob>): (undocumented)signature(impl Into<Option<::aws_smithy_types::Blob>>)/set_signature(Option<::aws_smithy_types::Blob>): (undocumented)signature_algorithm(impl Into<Option<crate::deps::aws_cryptography_primitives::types::EcdsaSignatureAlgorithm>>)/set_signature_algorithm(Option<crate::deps::aws_cryptography_primitives::types::EcdsaSignatureAlgorithm>): (undocumented)verification_key(impl Into<Option<::aws_smithy_types::Blob>>)/set_verification_key(Option<::aws_smithy_types::Blob>): (undocumented)
- On success, responds with
EcdsaVerifyOutputwith field(s):success(Option<::std::primitive::bool>): (undocumented)
- On failure, responds with
SdkError<EcdsaVerifyError>
Source§impl Client
impl Client
Sourcepub fn generate_ecc_key_pair(&self) -> GenerateEccKeyPairFluentBuilder
pub fn generate_ecc_key_pair(&self) -> GenerateEccKeyPairFluentBuilder
Constructs a fluent builder for the GenerateECCKeyPair operation.
- The fluent builder is configurable:
- On success, responds with
GenerateEccKeyPairOutputwith field(s): - On failure, responds with
SdkError<GenerateEccKeyPairError>
Source§impl Client
impl Client
Sourcepub fn get_public_key_from_private_key(
&self,
) -> GetPublicKeyFromPrivateKeyFluentBuilder
pub fn get_public_key_from_private_key( &self, ) -> GetPublicKeyFromPrivateKeyFluentBuilder
Constructs a fluent builder for the GetPublicKeyFromPrivateKey operation.
- The fluent builder is configurable:
ecc_curve(impl Into<Option<crate::deps::aws_cryptography_primitives::types::EcdhCurveSpec>>)/set_ecc_curve(Option<crate::deps::aws_cryptography_primitives::types::EcdhCurveSpec>): (undocumented)private_key(impl Into<Option<crate::deps::aws_cryptography_primitives::types::EccPrivateKey>>)/set_private_key(Option<crate::deps::aws_cryptography_primitives::types::EccPrivateKey>): (undocumented)
- On success, responds with
GetPublicKeyFromPrivateKeyOutputwith field(s): - On failure, responds with
SdkError<GetPublicKeyFromPrivateKeyError>
Source§impl Client
impl Client
Sourcepub fn validate_public_key(&self) -> ValidatePublicKeyFluentBuilder
pub fn validate_public_key(&self) -> ValidatePublicKeyFluentBuilder
Constructs a fluent builder for the ValidatePublicKey operation.
- The fluent builder is configurable:
ecc_curve(impl Into<Option<crate::deps::aws_cryptography_primitives::types::EcdhCurveSpec>>)/set_ecc_curve(Option<crate::deps::aws_cryptography_primitives::types::EcdhCurveSpec>): (undocumented)public_key(impl Into<Option<::aws_smithy_types::Blob>>)/set_public_key(Option<::aws_smithy_types::Blob>): (undocumented)
- On success, responds with
ValidatePublicKeyOutputwith field(s):success(Option<::std::primitive::bool>): (undocumented)
- On failure, responds with
SdkError<ValidatePublicKeyError>
Source§impl Client
impl Client
Constructs a fluent builder for the DeriveSharedSecret operation.
- The fluent builder is configurable:
ecc_curve(impl Into<Option<crate::deps::aws_cryptography_primitives::types::EcdhCurveSpec>>)/set_ecc_curve(Option<crate::deps::aws_cryptography_primitives::types::EcdhCurveSpec>): (undocumented)private_key(impl Into<Option<crate::deps::aws_cryptography_primitives::types::EccPrivateKey>>)/set_private_key(Option<crate::deps::aws_cryptography_primitives::types::EccPrivateKey>): (undocumented)public_key(impl Into<Option<crate::deps::aws_cryptography_primitives::types::EccPublicKey>>)/set_public_key(Option<crate::deps::aws_cryptography_primitives::types::EccPublicKey>): (undocumented)
- On success, responds with
DeriveSharedSecretOutputwith field(s):shared_secret(Option<::aws_smithy_types::Blob>): (undocumented)
- On failure, responds with
SdkError<DeriveSharedSecretError>
Source§impl Client
impl Client
Sourcepub fn compress_public_key(&self) -> CompressPublicKeyFluentBuilder
pub fn compress_public_key(&self) -> CompressPublicKeyFluentBuilder
Constructs a fluent builder for the CompressPublicKey operation.
- The fluent builder is configurable:
ecc_curve(impl Into<Option<crate::deps::aws_cryptography_primitives::types::EcdhCurveSpec>>)/set_ecc_curve(Option<crate::deps::aws_cryptography_primitives::types::EcdhCurveSpec>): (undocumented)public_key(impl Into<Option<crate::deps::aws_cryptography_primitives::types::EccPublicKey>>)/set_public_key(Option<crate::deps::aws_cryptography_primitives::types::EccPublicKey>): (undocumented)
- On success, responds with
CompressPublicKeyOutputwith field(s):compressed_public_key(Option<::aws_smithy_types::Blob>): (undocumented)
- On failure, responds with
SdkError<CompressPublicKeyError>
Source§impl Client
impl Client
Sourcepub fn decompress_public_key(&self) -> DecompressPublicKeyFluentBuilder
pub fn decompress_public_key(&self) -> DecompressPublicKeyFluentBuilder
Constructs a fluent builder for the DecompressPublicKey operation.
- The fluent builder is configurable:
compressed_public_key(impl Into<Option<::aws_smithy_types::Blob>>)/set_compressed_public_key(Option<::aws_smithy_types::Blob>): (undocumented)ecc_curve(impl Into<Option<crate::deps::aws_cryptography_primitives::types::EcdhCurveSpec>>)/set_ecc_curve(Option<crate::deps::aws_cryptography_primitives::types::EcdhCurveSpec>): (undocumented)
- On success, responds with
DecompressPublicKeyOutputwith field(s): - On failure, responds with
SdkError<DecompressPublicKeyError>
Source§impl Client
impl Client
Sourcepub fn parse_public_key(&self) -> ParsePublicKeyFluentBuilder
pub fn parse_public_key(&self) -> ParsePublicKeyFluentBuilder
Constructs a fluent builder for the ParsePublicKey operation.
- The fluent builder is configurable:
- On success, responds with
ParsePublicKeyOutputwith field(s): - On failure, responds with
SdkError<ParsePublicKeyError>
Trait Implementations§
impl StructuralPartialEq for Client
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more