├── .github
├── CODEOWNERS
├── PULL_REQUEST_TEMPLATE.md
├── actions
│ ├── install_smithy_dafny_codegen_dependencies
│ │ └── action.yml
│ └── polymorph_codegen
│ │ └── action.yml
├── dependabot.yml
├── not-grep.toml
└── workflows
│ ├── check_only_keyword.yml
│ ├── ci_static-analysis.yaml
│ ├── dafny_format_version.yaml
│ ├── dafny_interop.yml
│ ├── dafny_interop_test_net.yml
│ ├── dafny_interop_test_vector_net.yml
│ ├── dafny_verify_version.yaml
│ ├── dafny_version.yaml
│ ├── daily_ci.yml
│ ├── duvet.yaml
│ ├── library_codegen.yml
│ ├── library_dafny_verification.yml
│ ├── library_format.yml
│ ├── library_go_tests.yml
│ ├── library_interop_keyring_test_vectors.yml
│ ├── library_interop_mkp_test_vectors.yml
│ ├── library_interop_tests.yml
│ ├── library_java_tests.yml
│ ├── library_legacy_interop_test_vectors.yml
│ ├── library_net_tests.yml
│ ├── library_rust_tests.yml
│ ├── manual.yml
│ ├── nighly_dafny.yml
│ ├── pull.yml
│ ├── push.yml
│ ├── sem_ver.yml
│ ├── semantic_release.yml
│ └── smithy-diff.yml
├── .gitignore
├── .gitmodules
├── .pre-commit-config.yaml
├── .prettierignore
├── .releaserc.cjs
├── AwsEncryptionSDK
├── .gitignore
├── Makefile
├── codebuild
│ └── release
│ │ ├── release-prod.yml
│ │ ├── release-staging.yml
│ │ ├── release.yml
│ │ ├── retrieve_api_access_key.py
│ │ ├── retrieve_signed_assembly.py
│ │ ├── sign.yml
│ │ ├── signing_lib.py
│ │ ├── test-prod.yml
│ │ ├── upload_assembly.py
│ │ └── verify.yml
├── codegen-patches
│ └── AwsEncryptionSdk
│ │ ├── dotnet
│ │ ├── dafny-4.2.0.patch
│ │ ├── dafny-4.8.0.patch
│ │ └── dafny-4.9.0.patch
│ │ └── java
│ │ ├── dafny-4.8.1.patch
│ │ └── dafny-4.9.0.patch
├── dafny
│ └── AwsEncryptionSdk
│ │ ├── Model
│ │ ├── AwsCryptographyEncryptionSdkTypes.dfy
│ │ └── esdk.smithy
│ │ ├── src
│ │ ├── AwsEncryptionSdkOperations.dfy
│ │ ├── EncryptDecrypt.dfy
│ │ ├── Index.dfy
│ │ ├── KeyDerivation.dfy
│ │ ├── MessageBody.dfy
│ │ └── Serialize
│ │ │ ├── EncryptedDataKeys.dfy
│ │ │ ├── EncryptionContext.dfy
│ │ │ ├── Frames.dfy
│ │ │ ├── Header.dfy
│ │ │ ├── HeaderAuth.dfy
│ │ │ ├── HeaderTypes.dfy
│ │ │ ├── SerializableTypes.dfy
│ │ │ ├── SerializeFunctions.dfy
│ │ │ ├── SharedHeaderFunctions.dfy
│ │ │ ├── V1HeaderBody.dfy
│ │ │ └── V2HeaderBody.dfy
│ │ └── test
│ │ ├── Fixtures.dfy
│ │ ├── TestCreateEsdkClient.dfy
│ │ ├── TestEncryptDecrypt.dfy
│ │ ├── TestReproducedEncContext.dfy
│ │ └── TestRequiredEncryptionContext.dfy
├── project.properties
└── runtimes
│ ├── go
│ ├── ImplementationFromDafny-go
│ │ ├── WrappedAwsCryptographyEncryptionSdkService
│ │ │ └── shim.go
│ │ ├── awscryptographyencryptionsdksmithygenerated
│ │ │ ├── api_client.go
│ │ │ ├── to_dafny.go
│ │ │ └── to_native.go
│ │ ├── awscryptographyencryptionsdksmithygeneratedtypes
│ │ │ ├── enums.go
│ │ │ ├── errors.go
│ │ │ ├── types.go
│ │ │ └── unmodelled_errors.go
│ │ ├── go.mod
│ │ └── go.sum
│ ├── TestsFromDafny-go
│ │ ├── WrappedAwsCryptographyEncryptionSdkService
│ │ │ └── shim.go
│ │ ├── awscryptographyencryptionsdksmithygenerated
│ │ │ ├── api_client.go
│ │ │ ├── to_dafny.go
│ │ │ └── to_native.go
│ │ ├── awscryptographyencryptionsdksmithygeneratedtypes
│ │ │ ├── enums.go
│ │ │ ├── errors.go
│ │ │ ├── types.go
│ │ │ └── unmodelled_errors.go
│ │ ├── go.mod
│ │ └── go.sum
│ └── examples
│ │ ├── README.md
│ │ ├── clientsupplier
│ │ ├── clientSupplierExample.go
│ │ ├── regionalroleclientsupplier.go
│ │ └── regionalroleclientsupplierconfig.go
│ │ ├── cryptographicmaterialsmanager
│ │ ├── requiredencryptioncontext
│ │ │ └── requiredencryptioncontext.go
│ │ └── restrictalgorithmsuite
│ │ │ ├── signingonlyexample.go
│ │ │ └── signingsuiteonlycmm.go
│ │ ├── go.mod
│ │ ├── go.sum
│ │ ├── keyring
│ │ ├── awskmsdiscoverykeyring
│ │ │ └── awskmsdiscoverykeyring.go
│ │ ├── awskmsdiscoverymultikeyring
│ │ │ └── awskmsdiscoverymultikeyring.go
│ │ ├── awskmshierarchicalkeyring
│ │ │ ├── awskmshierarchicalkeyring.go
│ │ │ ├── branchkeysupplier.go
│ │ │ ├── createbranchkeyid.go
│ │ │ ├── sharedcacheacrosshierarchicalkeyring.go
│ │ │ └── versionbranchkeyid.go
│ │ ├── awskmskeyring
│ │ │ └── awskmskeyring.go
│ │ ├── awskmsmrkdiscoverykeyring
│ │ │ └── awskmsmrkdiscoverykeyring.go
│ │ ├── awskmsmrkdiscoverymultikeyring
│ │ │ └── awskmsmrkdiscoverymultikeyring.go
│ │ ├── awskmsmrkkeyring
│ │ │ └── awskmsmrkkeyring.go
│ │ ├── awskmsmrkmultikeyring
│ │ │ └── awskmsmrkmultikeyring.go
│ │ ├── awskmsmultikeyring
│ │ │ └── awskmsmultikeyring.go
│ │ ├── awskmsrsakeyring
│ │ │ └── awskmsrsakeyring.go
│ │ ├── ecdh
│ │ │ ├── awskmsecdhdiscoverykeyring.go
│ │ │ ├── awskmsecdhkeyring.go
│ │ │ ├── ephemeralrawecdhkeyring.go
│ │ │ ├── publickeyrawdiscoveryecdhkeyring.go
│ │ │ └── rawecdhkeyring.go
│ │ ├── multikeyring
│ │ │ └── multikeyring.go
│ │ ├── rawaeskeyring
│ │ │ └── rawaeskeyring.go
│ │ └── rawrsakeyring
│ │ │ └── rawrasakeyring.go
│ │ ├── main.go
│ │ ├── misc
│ │ ├── commitmentpolicy.go
│ │ ├── limitencrypteddatakeysexample.go
│ │ └── setencryptionalgorithmsuite.go
│ │ ├── multithreading
│ │ └── awskmskeyring.go
│ │ └── utils
│ │ └── exampleUtils.go
│ ├── java
│ ├── .gitattributes
│ ├── .gitignore
│ ├── README.md
│ ├── build.gradle.kts
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ ├── settings.gradle.kts
│ └── src
│ │ └── main
│ │ ├── java
│ │ └── software
│ │ │ └── amazon
│ │ │ └── cryptography
│ │ │ └── encryptionsdk
│ │ │ └── internaldafny
│ │ │ ├── __default.java
│ │ │ └── types
│ │ │ └── __default.java
│ │ └── smithy-generated
│ │ └── software
│ │ └── amazon
│ │ └── cryptography
│ │ └── encryptionsdk
│ │ ├── ESDK.java
│ │ ├── ToDafny.java
│ │ ├── ToNative.java
│ │ └── model
│ │ ├── AwsEncryptionSdkConfig.java
│ │ ├── AwsEncryptionSdkException.java
│ │ ├── CollectionOfErrors.java
│ │ ├── DecryptInput.java
│ │ ├── DecryptOutput.java
│ │ ├── EncryptInput.java
│ │ ├── EncryptOutput.java
│ │ ├── NetV4_0_0_RetryPolicy.java
│ │ ├── OpaqueError.java
│ │ └── OpaqueWithTextError.java
│ ├── net
│ ├── CHANGELOG.md
│ ├── ESDK.csproj
│ ├── Examples
│ │ ├── AWSEncryptionSDKExamples.csproj
│ │ ├── ClientSupplier
│ │ │ ├── ClientSupplierExample.cs
│ │ │ └── RegionalRoleClientSupplier.cs
│ │ ├── CommitmentPolicy.cs
│ │ ├── CryptographicMaterialsManager
│ │ │ ├── RequiredEncryptionContext
│ │ │ │ └── RequiredEncryptionContextExample.cs
│ │ │ └── RestrictAlgorithmSuite
│ │ │ │ ├── SigningOnlyExample.cs
│ │ │ │ └── SigningSuiteOnlyCMM.cs
│ │ ├── DiscoveryFilterExample.cs
│ │ ├── ExampleUtils
│ │ │ ├── ExampleUtils.cs
│ │ │ └── WriteExampleResources.cs
│ │ ├── Keyring
│ │ │ ├── AwsKmsDiscoveryKeyringExample.cs
│ │ │ ├── AwsKmsDiscoveryMultiKeyringExample.cs
│ │ │ ├── AwsKmsHierarchical
│ │ │ │ ├── AwsKmsHierarchicalKeyring.cs
│ │ │ │ ├── CreateBranchKeyId.cs
│ │ │ │ ├── ExampleBranchKeySupplier.cs
│ │ │ │ ├── SharedCacheAcrossHierarchicalKeyrings.cs
│ │ │ │ └── VersionBranchKeyId.cs
│ │ │ ├── AwsKmsKeyringExample.cs
│ │ │ ├── AwsKmsMrkDiscoveryKeyringExample.cs
│ │ │ ├── AwsKmsMrkDiscoveryMultiKeyringExample.cs
│ │ │ ├── AwsKmsMrkKeyringExample.cs
│ │ │ ├── AwsKmsMrkMultiKeyringExample.cs
│ │ │ ├── AwsKmsMultiKeyringExample.cs
│ │ │ ├── AwsKmsRsaKeyringExample.cs
│ │ │ ├── MultiKeyringExample.cs
│ │ │ ├── RawAESKeyringExample.cs
│ │ │ └── RawRSAKeyringExample.cs
│ │ ├── LimitEncryptedDataKeysExample.cs
│ │ ├── NetV4_0_0Example.cs
│ │ ├── NonSigningAlgorithmSuiteExample.cs
│ │ ├── README.md
│ │ └── resources
│ │ │ ├── defaultRegionKmsKey.bin
│ │ │ ├── defaultRegionMrkKey.bin
│ │ │ ├── v4DefaultRegionKmsKey.bin
│ │ │ └── v4DefaultRegionMrkKey.bin
│ ├── Generated
│ │ └── AwsEncryptionSdk
│ │ │ ├── AwsEncryptionSdkConfig.cs
│ │ │ ├── AwsEncryptionSdkException.cs
│ │ │ ├── CollectionOfErrors.cs
│ │ │ ├── DecryptInput.cs
│ │ │ ├── DecryptOutput.cs
│ │ │ ├── ESDK.cs
│ │ │ ├── EncryptInput.cs
│ │ │ ├── EncryptOutput.cs
│ │ │ ├── NetV4_0_0_RetryPolicy.cs
│ │ │ ├── OpaqueError.cs
│ │ │ ├── OpaqueWithTextError.cs
│ │ │ └── TypeConversion.cs
│ ├── README.md
│ ├── TestVectorsNative
│ │ ├── TestVectorGenerator
│ │ │ ├── AWSEncryptionSDKTestVectorGenerator.csproj
│ │ │ ├── Generator.cs
│ │ │ ├── README.md
│ │ │ └── resources
│ │ │ │ ├── 0002-keys.v3.json
│ │ │ │ ├── 0006-awses-message-decryption-generation.v2.json
│ │ │ │ ├── net4x-generate-manifest.json
│ │ │ │ ├── net4x-keys.json
│ │ │ │ └── python-2.3.0_keys.json
│ │ ├── TestVectorLib
│ │ │ ├── AWSEncryptionSDKTestVectorLib.csproj
│ │ │ ├── MaterialProviderFactory.cs
│ │ │ ├── TestVectorTypes.cs
│ │ │ └── Utils.cs
│ │ └── TestVectors
│ │ │ ├── AWSEncryptionSDKTestVectors.csproj
│ │ │ ├── README.md
│ │ │ ├── TestVectors.cs
│ │ │ └── resources
│ │ │ ├── invalid-Net-4.0.0.zip
│ │ │ ├── v4-Net-4.0.1.zip
│ │ │ └── valid-Net-4.0.0.zip
│ ├── icon.png
│ ├── runsettings.xml
│ └── tests
│ │ └── Test-ESDK.csproj
│ ├── python
│ ├── .gitignore
│ ├── README.md
│ ├── pyproject.toml
│ ├── src
│ │ └── aws_encryption_sdk_dafny
│ │ │ ├── __init__.py
│ │ │ ├── internaldafny
│ │ │ ├── __init__.py
│ │ │ └── generated
│ │ │ │ └── dafny_src-py.dtr
│ │ │ └── smithygenerated
│ │ │ └── aws_cryptography_encryptionsdk
│ │ │ ├── __init__.py
│ │ │ ├── client.py
│ │ │ ├── config.py
│ │ │ ├── dafnyImplInterface.py
│ │ │ ├── dafny_protocol.py
│ │ │ ├── dafny_to_smithy.py
│ │ │ ├── deserialize.py
│ │ │ ├── errors.py
│ │ │ ├── models.py
│ │ │ ├── plugin.py
│ │ │ ├── serialize.py
│ │ │ └── smithy_to_dafny.py
│ ├── test
│ │ └── internaldafny
│ │ │ ├── __init__.py
│ │ │ ├── generated
│ │ │ └── dafny_test-py.dtr
│ │ │ └── test_dafny_wrapper.py
│ └── tox.ini
│ └── rust
│ ├── .gitignore
│ ├── CHANGELOG.md
│ ├── Cargo.toml
│ ├── README.md
│ ├── RELEASE.md
│ ├── copy_externs.sh
│ ├── examples
│ ├── README.md
│ ├── client_supplier
│ │ ├── client_supplier_example.rs
│ │ ├── mod.rs
│ │ ├── regional_role_client_supplier.rs
│ │ └── regional_role_client_supplier_config.rs
│ ├── cryptographic_materials_manager
│ │ ├── mod.rs
│ │ ├── required_encryption_context
│ │ │ ├── mod.rs
│ │ │ └── required_encryption_context_example.rs
│ │ └── restrict_algorithm_suite
│ │ │ ├── mod.rs
│ │ │ ├── signing_only_example.rs
│ │ │ └── signing_suite_only_cmm.rs
│ ├── example_utils
│ │ ├── mod.rs
│ │ └── utils.rs
│ ├── keyring
│ │ ├── aws_kms_discovery_keyring_example.rs
│ │ ├── aws_kms_discovery_multi_keyring_example.rs
│ │ ├── aws_kms_hierarchical
│ │ │ ├── aws_kms_hierarchical_keyring_example.rs
│ │ │ ├── create_branch_key_id.rs
│ │ │ ├── example_branch_key_id_supplier.rs
│ │ │ ├── mod.rs
│ │ │ ├── shared_cache_across_hierarchical_keyrings_example.rs
│ │ │ └── version_branch_key_id_example.rs
│ │ ├── aws_kms_keyring_example.rs
│ │ ├── aws_kms_mrk_discovery_keyring_example.rs
│ │ ├── aws_kms_mrk_discovery_multi_keyring_example.rs
│ │ ├── aws_kms_mrk_keyring_example.rs
│ │ ├── aws_kms_mrk_multi_keyring_example.rs
│ │ ├── aws_kms_multi_keyring_example.rs
│ │ ├── aws_kms_rsa_keyring_example.rs
│ │ ├── ecdh
│ │ │ ├── ephemeral_raw_ecdh_keyring_example.rs
│ │ │ ├── kms_ecdh_discovery_keyring_example.rs
│ │ │ ├── kms_ecdh_keyring_example.rs
│ │ │ ├── mod.rs
│ │ │ ├── public_key_discovery_raw_ecdh_keyring_example.rs
│ │ │ └── raw_ecdh_keyring_example.rs
│ │ ├── mod.rs
│ │ ├── multi_keyring_example.rs
│ │ ├── raw_aes_keyring_example.rs
│ │ └── raw_rsa_keyring_example.rs
│ ├── limit_encrypted_data_keys_example.rs
│ ├── main.rs
│ ├── set_commitment_policy_example.rs
│ └── set_encryption_algorithm_suite_example.rs
│ ├── src
│ ├── README.md
│ └── lib.rs
│ ├── start_release.sh
│ ├── test_examples
│ ├── .gitignore
│ └── Cargo.toml
│ ├── test_published.sh
│ └── upgrade_examples.sh
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── LICENSE
├── Makefile
├── NOTICE
├── README.md
├── SUPPORT_POLICY.rst
├── SharedMakefileV2.mk
├── TestVectors
├── .gitignore
├── Makefile
├── README.md
├── codegen-patches
│ ├── TestVectors
│ │ ├── dafny
│ │ │ └── dafny-4.8.1.patch
│ │ ├── dotnet
│ │ │ └── dafny-4.8.1.patch
│ │ └── java
│ │ │ └── dafny-4.8.1.patch
│ └── dotnet
│ │ ├── dafny-4.2.0.patch
│ │ └── dafny-4.8.0.patch
├── dafny
│ └── TestVectors
│ │ ├── Model
│ │ └── AwsCryptographyEncryptionSdkTypesWrapped.dfy
│ │ ├── src
│ │ ├── EsdkManifestOptions.dfy
│ │ ├── EsdkTestManifests.dfy
│ │ ├── EsdkTestVectors.dfy
│ │ ├── Index.dfy
│ │ ├── LibraryIndex.dfy
│ │ ├── ParseEsdkJsonManifest.dfy
│ │ ├── VectorsComposition
│ │ │ ├── AllEsdkV4NoReqEc.dfy
│ │ │ ├── AllEsdkV5NoReqEc.dfy
│ │ │ └── AllEsdkV5WithReqEc.dfy
│ │ ├── WriteEsdkJsonManifests.dfy
│ │ └── WriteVectors.dfy
│ │ └── test
│ │ ├── RunMain.dfy
│ │ ├── ciphertexts
│ │ └── .gitkeep
│ │ ├── encrypt-manifest.json
│ │ ├── invalid-Net-4.0.0.zip
│ │ ├── keys.json
│ │ ├── perf-encrypt-manifest.json
│ │ ├── perf
│ │ └── keys.json
│ │ ├── plaintexts
│ │ └── .gitkeep
│ │ ├── thousand-encrypt-manifest.json
│ │ ├── thousand
│ │ └── keys.json
│ │ ├── v4-Net-4.0.1.zip
│ │ └── valid-Net-4.0.0.zip
└── runtimes
│ ├── go
│ ├── ImplementationFromDafny-go
│ │ ├── WrappedESDK
│ │ │ └── extern.go
│ │ ├── go.mod
│ │ └── go.sum
│ ├── TestsFromDafny-go
│ │ ├── TestWrappedESDKMain
│ │ │ └── extern.go
│ │ ├── go.mod
│ │ └── go.sum
│ └── encrypt-manifest.json
│ ├── java
│ ├── .gitattributes
│ ├── .gitignore
│ ├── build.gradle.kts
│ ├── gradle
│ │ └── wrapper
│ │ │ └── gradle-wrapper.properties
│ ├── settings.gradle.kts
│ └── src
│ │ ├── main
│ │ ├── java
│ │ │ └── software
│ │ │ │ └── amazon
│ │ │ │ └── cryptography
│ │ │ │ └── encryptionsdk
│ │ │ │ └── internaldafny
│ │ │ │ └── wrapped
│ │ │ │ └── __default.java
│ │ └── smithy-generated
│ │ │ └── software
│ │ │ └── amazon
│ │ │ └── cryptography
│ │ │ └── encryptionsdk
│ │ │ └── wrapped
│ │ │ ├── KeyringToMasterKeyProvider.java
│ │ │ └── TestESDK.java
│ │ └── test
│ │ └── java
│ │ └── TestWrappedESDKMain
│ │ └── __default.java
│ ├── java_mkp
│ └── README.md
│ ├── net
│ ├── ESDKTestVectors.csproj
│ ├── Extern
│ │ └── WrappedESDK.cs
│ ├── Generated
│ │ └── TestVectors
│ │ │ ├── AwsEncryptionSdkShim.cs
│ │ │ └── TypeConversion.cs
│ └── tests
│ │ ├── Extern
│ │ └── GetTestDirectoryExtern.cs
│ │ └── TestVectors-Tests.csproj
│ ├── python
│ ├── .gitignore
│ ├── pyproject.toml
│ ├── src
│ │ └── aws_encryption_sdk_test_vectors
│ │ │ ├── __init__.py
│ │ │ ├── internaldafny
│ │ │ ├── extern
│ │ │ │ ├── __init__.py
│ │ │ │ ├── keyring_to_mkp.py
│ │ │ │ ├── replace_dafny_main_method.py
│ │ │ │ └── wrapped_esdk.py
│ │ │ └── generated
│ │ │ │ └── dafny_src-py.dtr
│ │ │ └── smithygenerated
│ │ │ └── aws_cryptography_encryptionsdk
│ │ │ ├── __init__.py
│ │ │ └── shim.py
│ ├── test
│ │ └── internaldafny
│ │ │ ├── __init__.py
│ │ │ ├── extern
│ │ │ ├── TestWrappedESDKMain_extern.py
│ │ │ └── __init__.py
│ │ │ ├── generated
│ │ │ └── dafny_test-py.dtr
│ │ │ └── test_dafny_wrapper.py
│ └── tox.ini
│ ├── python_mkp
│ └── README.md
│ └── rust
│ ├── .gitignore
│ ├── Cargo.toml
│ ├── ciphertexts
│ └── .gitkeep
│ ├── copy_externs.sh
│ ├── plaintexts
│ └── .gitkeep
│ └── src
│ ├── main.rs
│ └── test_vec_dir.rs
├── VERSIONING.rst
├── bin
└── generate-code.sh
├── cfn
├── CI.yaml
└── net
│ ├── CA-Staging.yml
│ └── CB-Release.yml
├── codebuild
├── dafny
│ └── verify.yml
└── dotnet
│ ├── benchmark-windows.yml
│ ├── generate-test-vectors.yml
│ ├── test-vectors.yml
│ ├── tests-windows.yml
│ └── tests.yml
├── compliance_exceptions
├── client.txt
├── decrypt.txt
├── encrypt.txt
├── message-header.txt
├── multi-keyring.txt
└── structures.txt
├── dist
└── aws_encryption_sdk-4.0.0-py2.py3-none-any.whl
├── project.properties
├── releases
├── go
│ └── encryption-sdk
│ │ ├── AwsCryptographyEncryptionSdkTypes
│ │ └── AwsCryptographyEncryptionSdkTypes.go
│ │ ├── AwsEncryptionSdkOperations
│ │ └── AwsEncryptionSdkOperations.go
│ │ ├── CHANGELOG.md
│ │ ├── ESDK
│ │ └── ESDK.go
│ │ ├── EncryptDecryptHelpers
│ │ └── EncryptDecryptHelpers.go
│ │ ├── EncryptedDataKeys
│ │ └── EncryptedDataKeys.go
│ │ ├── EncryptionContext
│ │ └── EncryptionContext.go
│ │ ├── Frames
│ │ └── Frames.go
│ │ ├── Header
│ │ └── Header.go
│ │ ├── HeaderAuth
│ │ └── HeaderAuth.go
│ │ ├── HeaderTypes
│ │ └── HeaderTypes.go
│ │ ├── KeyDerivation
│ │ └── KeyDerivation.go
│ │ ├── LICENSE
│ │ ├── MessageBody
│ │ └── MessageBody.go
│ │ ├── README.md
│ │ ├── SerializableTypes
│ │ └── SerializableTypes.go
│ │ ├── SerializeFunctions
│ │ └── SerializeFunctions.go
│ │ ├── SharedHeaderFunctions
│ │ └── SharedHeaderFunctions.go
│ │ ├── V1HeaderBody
│ │ └── V1HeaderBody.go
│ │ ├── V2HeaderBody
│ │ └── V2HeaderBody.go
│ │ ├── awscryptographyencryptionsdksmithygenerated
│ │ ├── api_client.go
│ │ ├── to_dafny.go
│ │ └── to_native.go
│ │ ├── awscryptographyencryptionsdksmithygeneratedtypes
│ │ ├── enums.go
│ │ ├── errors.go
│ │ ├── types.go
│ │ └── unmodelled_errors.go
│ │ ├── examples
│ │ ├── README.md
│ │ ├── clientsupplier
│ │ │ ├── clientSupplierExample.go
│ │ │ ├── regionalroleclientsupplier.go
│ │ │ └── regionalroleclientsupplierconfig.go
│ │ ├── cryptographicmaterialsmanager
│ │ │ ├── requiredencryptioncontext
│ │ │ │ └── requiredencryptioncontext.go
│ │ │ └── restrictalgorithmsuite
│ │ │ │ ├── signingonlyexample.go
│ │ │ │ └── signingsuiteonlycmm.go
│ │ ├── go.mod
│ │ ├── go.sum
│ │ ├── keyring
│ │ │ ├── awskmsdiscoverykeyring
│ │ │ │ └── awskmsdiscoverykeyring.go
│ │ │ ├── awskmsdiscoverymultikeyring
│ │ │ │ └── awskmsdiscoverymultikeyring.go
│ │ │ ├── awskmshierarchicalkeyring
│ │ │ │ ├── awskmshierarchicalkeyring.go
│ │ │ │ ├── branchkeysupplier.go
│ │ │ │ ├── createbranchkeyid.go
│ │ │ │ ├── sharedcacheacrosshierarchicalkeyring.go
│ │ │ │ └── versionbranchkeyid.go
│ │ │ ├── awskmskeyring
│ │ │ │ └── awskmskeyring.go
│ │ │ ├── awskmsmrkdiscoverykeyring
│ │ │ │ └── awskmsmrkdiscoverykeyring.go
│ │ │ ├── awskmsmrkdiscoverymultikeyring
│ │ │ │ └── awskmsmrkdiscoverymultikeyring.go
│ │ │ ├── awskmsmrkkeyring
│ │ │ │ └── awskmsmrkkeyring.go
│ │ │ ├── awskmsmrkmultikeyring
│ │ │ │ └── awskmsmrkmultikeyring.go
│ │ │ ├── awskmsmultikeyring
│ │ │ │ └── awskmsmultikeyring.go
│ │ │ ├── awskmsrsakeyring
│ │ │ │ └── awskmsrsakeyring.go
│ │ │ ├── ecdh
│ │ │ │ ├── awskmsecdhdiscoverykeyring.go
│ │ │ │ ├── awskmsecdhkeyring.go
│ │ │ │ ├── ephemeralrawecdhkeyring.go
│ │ │ │ ├── publickeyrawdiscoveryecdhkeyring.go
│ │ │ │ └── rawecdhkeyring.go
│ │ │ ├── multikeyring
│ │ │ │ └── multikeyring.go
│ │ │ ├── rawaeskeyring
│ │ │ │ └── rawaeskeyring.go
│ │ │ └── rawrsakeyring
│ │ │ │ └── rawrasakeyring.go
│ │ ├── main.go
│ │ ├── misc
│ │ │ ├── commitmentpolicy.go
│ │ │ ├── limitencrypteddatakeysexample.go
│ │ │ └── setencryptionalgorithmsuite.go
│ │ ├── multithreading
│ │ │ └── awskmskeyring.go
│ │ └── utils
│ │ │ └── exampleUtils.go
│ │ ├── go.mod
│ │ └── go.sum
└── rust
│ └── esdk
│ ├── .gitignore
│ ├── Cargo.toml
│ ├── README.md
│ ├── examples
│ ├── README.md
│ ├── client_supplier
│ │ ├── client_supplier_example.rs
│ │ ├── mod.rs
│ │ ├── regional_role_client_supplier.rs
│ │ └── regional_role_client_supplier_config.rs
│ ├── cryptographic_materials_manager
│ │ ├── mod.rs
│ │ ├── required_encryption_context
│ │ │ ├── mod.rs
│ │ │ └── required_encryption_context_example.rs
│ │ └── restrict_algorithm_suite
│ │ │ ├── mod.rs
│ │ │ ├── signing_only_example.rs
│ │ │ └── signing_suite_only_cmm.rs
│ ├── example_utils
│ │ ├── mod.rs
│ │ └── utils.rs
│ ├── keyring
│ │ ├── aws_kms_discovery_keyring_example.rs
│ │ ├── aws_kms_discovery_multi_keyring_example.rs
│ │ ├── aws_kms_hierarchical
│ │ │ ├── aws_kms_hierarchical_keyring_example.rs
│ │ │ ├── create_branch_key_id.rs
│ │ │ ├── example_branch_key_id_supplier.rs
│ │ │ ├── mod.rs
│ │ │ ├── shared_cache_across_hierarchical_keyrings_example.rs
│ │ │ └── version_branch_key_id_example.rs
│ │ ├── aws_kms_keyring_example.rs
│ │ ├── aws_kms_mrk_discovery_keyring_example.rs
│ │ ├── aws_kms_mrk_discovery_multi_keyring_example.rs
│ │ ├── aws_kms_mrk_keyring_example.rs
│ │ ├── aws_kms_mrk_multi_keyring_example.rs
│ │ ├── aws_kms_multi_keyring_example.rs
│ │ ├── aws_kms_rsa_keyring_example.rs
│ │ ├── ecdh
│ │ │ ├── ephemeral_raw_ecdh_keyring_example.rs
│ │ │ ├── kms_ecdh_discovery_keyring_example.rs
│ │ │ ├── kms_ecdh_keyring_example.rs
│ │ │ ├── mod.rs
│ │ │ ├── public_key_discovery_raw_ecdh_keyring_example.rs
│ │ │ └── raw_ecdh_keyring_example.rs
│ │ ├── mod.rs
│ │ ├── multi_keyring_example.rs
│ │ ├── raw_aes_keyring_example.rs
│ │ └── raw_rsa_keyring_example.rs
│ ├── limit_encrypted_data_keys_example.rs
│ ├── main.rs
│ ├── set_commitment_policy_example.rs
│ └── set_encryption_algorithm_suite_example.rs
│ └── src
│ ├── aes_gcm.rs
│ ├── aes_kdf_ctr.rs
│ ├── client.rs
│ ├── client
│ ├── decrypt.rs
│ └── encrypt.rs
│ ├── concurrent_call.rs
│ ├── conversions.rs
│ ├── conversions
│ ├── aws_encryption_sdk_config.rs
│ ├── aws_encryption_sdk_config
│ │ └── _aws_encryption_sdk_config.rs
│ ├── client.rs
│ ├── decrypt.rs
│ ├── decrypt
│ │ ├── _decrypt_input.rs
│ │ └── _decrypt_output.rs
│ ├── decrypt_input.rs
│ ├── decrypt_output.rs
│ ├── encrypt.rs
│ ├── encrypt
│ │ ├── _encrypt_input.rs
│ │ └── _encrypt_output.rs
│ ├── encrypt_input.rs
│ ├── encrypt_output.rs
│ ├── error.rs
│ └── net_v4_0_0_retry_policy.rs
│ ├── dafny_libraries.rs
│ ├── ddb.rs
│ ├── deps.rs
│ ├── deps
│ ├── aws_cryptography_keyStore.rs
│ ├── aws_cryptography_keyStore
│ │ ├── client.rs
│ │ ├── client
│ │ │ ├── create_key.rs
│ │ │ ├── create_key_store.rs
│ │ │ ├── get_active_branch_key.rs
│ │ │ ├── get_beacon_key.rs
│ │ │ ├── get_branch_key_version.rs
│ │ │ ├── get_key_store_info.rs
│ │ │ └── version_key.rs
│ │ ├── conversions.rs
│ │ ├── conversions
│ │ │ ├── beacon_key_materials.rs
│ │ │ ├── branch_key_materials.rs
│ │ │ ├── client.rs
│ │ │ ├── create_key.rs
│ │ │ ├── create_key
│ │ │ │ ├── _create_key_input.rs
│ │ │ │ └── _create_key_output.rs
│ │ │ ├── create_key_input.rs
│ │ │ ├── create_key_output.rs
│ │ │ ├── create_key_store.rs
│ │ │ ├── create_key_store
│ │ │ │ ├── _create_key_store_input.rs
│ │ │ │ └── _create_key_store_output.rs
│ │ │ ├── create_key_store_input.rs
│ │ │ ├── create_key_store_output.rs
│ │ │ ├── discovery.rs
│ │ │ ├── error.rs
│ │ │ ├── get_active_branch_key.rs
│ │ │ ├── get_active_branch_key
│ │ │ │ ├── _get_active_branch_key_input.rs
│ │ │ │ └── _get_active_branch_key_output.rs
│ │ │ ├── get_active_branch_key_input.rs
│ │ │ ├── get_active_branch_key_output.rs
│ │ │ ├── get_beacon_key.rs
│ │ │ ├── get_beacon_key
│ │ │ │ ├── _get_beacon_key_input.rs
│ │ │ │ └── _get_beacon_key_output.rs
│ │ │ ├── get_beacon_key_input.rs
│ │ │ ├── get_beacon_key_output.rs
│ │ │ ├── get_branch_key_version.rs
│ │ │ ├── get_branch_key_version
│ │ │ │ ├── _get_branch_key_version_input.rs
│ │ │ │ └── _get_branch_key_version_output.rs
│ │ │ ├── get_branch_key_version_input.rs
│ │ │ ├── get_branch_key_version_output.rs
│ │ │ ├── get_key_store_info.rs
│ │ │ ├── get_key_store_info
│ │ │ │ └── _get_key_store_info_output.rs
│ │ │ ├── get_key_store_info_output.rs
│ │ │ ├── key_store_config.rs
│ │ │ ├── key_store_config
│ │ │ │ └── _key_store_config.rs
│ │ │ ├── kms_configuration.rs
│ │ │ ├── mr_discovery.rs
│ │ │ ├── version_key.rs
│ │ │ ├── version_key
│ │ │ │ ├── _version_key_input.rs
│ │ │ │ └── _version_key_output.rs
│ │ │ ├── version_key_input.rs
│ │ │ └── version_key_output.rs
│ │ ├── deps.rs
│ │ ├── error.rs
│ │ ├── error
│ │ │ └── sealed_unhandled.rs
│ │ ├── operation.rs
│ │ ├── operation
│ │ │ ├── create_key.rs
│ │ │ ├── create_key
│ │ │ │ ├── _create_key_input.rs
│ │ │ │ ├── _create_key_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_key_store.rs
│ │ │ ├── create_key_store
│ │ │ │ ├── _create_key_store_input.rs
│ │ │ │ ├── _create_key_store_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── get_active_branch_key.rs
│ │ │ ├── get_active_branch_key
│ │ │ │ ├── _get_active_branch_key_input.rs
│ │ │ │ ├── _get_active_branch_key_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── get_beacon_key.rs
│ │ │ ├── get_beacon_key
│ │ │ │ ├── _get_beacon_key_input.rs
│ │ │ │ ├── _get_beacon_key_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── get_branch_key_version.rs
│ │ │ ├── get_branch_key_version
│ │ │ │ ├── _get_branch_key_version_input.rs
│ │ │ │ ├── _get_branch_key_version_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── get_key_store_info.rs
│ │ │ ├── get_key_store_info
│ │ │ │ ├── _get_key_store_info_output.rs
│ │ │ │ ├── _unit.rs
│ │ │ │ └── builders.rs
│ │ │ ├── version_key.rs
│ │ │ └── version_key
│ │ │ │ ├── _version_key_input.rs
│ │ │ │ ├── _version_key_output.rs
│ │ │ │ └── builders.rs
│ │ ├── types.rs
│ │ ├── types
│ │ │ ├── _beacon_key_materials.rs
│ │ │ ├── _branch_key_materials.rs
│ │ │ ├── _create_key_input.rs
│ │ │ ├── _create_key_output.rs
│ │ │ ├── _create_key_store_input.rs
│ │ │ ├── _create_key_store_output.rs
│ │ │ ├── _discovery.rs
│ │ │ ├── _get_active_branch_key_input.rs
│ │ │ ├── _get_active_branch_key_output.rs
│ │ │ ├── _get_beacon_key_input.rs
│ │ │ ├── _get_beacon_key_output.rs
│ │ │ ├── _get_branch_key_version_input.rs
│ │ │ ├── _get_branch_key_version_output.rs
│ │ │ ├── _get_key_store_info_output.rs
│ │ │ ├── _kms_configuration.rs
│ │ │ ├── _mr_discovery.rs
│ │ │ ├── _version_key_input.rs
│ │ │ ├── _version_key_output.rs
│ │ │ ├── builders.rs
│ │ │ ├── error.rs
│ │ │ └── key_store_config.rs
│ │ └── validation.rs
│ ├── aws_cryptography_materialProviders.rs
│ ├── aws_cryptography_materialProviders
│ │ ├── client.rs
│ │ ├── client
│ │ │ ├── create_aws_kms_discovery_keyring.rs
│ │ │ ├── create_aws_kms_discovery_multi_keyring.rs
│ │ │ ├── create_aws_kms_ecdh_keyring.rs
│ │ │ ├── create_aws_kms_hierarchical_keyring.rs
│ │ │ ├── create_aws_kms_keyring.rs
│ │ │ ├── create_aws_kms_mrk_discovery_keyring.rs
│ │ │ ├── create_aws_kms_mrk_discovery_multi_keyring.rs
│ │ │ ├── create_aws_kms_mrk_keyring.rs
│ │ │ ├── create_aws_kms_mrk_multi_keyring.rs
│ │ │ ├── create_aws_kms_multi_keyring.rs
│ │ │ ├── create_aws_kms_rsa_keyring.rs
│ │ │ ├── create_cryptographic_materials_cache.rs
│ │ │ ├── create_default_client_supplier.rs
│ │ │ ├── create_default_cryptographic_materials_manager.rs
│ │ │ ├── create_multi_keyring.rs
│ │ │ ├── create_raw_aes_keyring.rs
│ │ │ ├── create_raw_ecdh_keyring.rs
│ │ │ ├── create_raw_rsa_keyring.rs
│ │ │ ├── create_required_encryption_context_cmm.rs
│ │ │ ├── decryption_materials_with_plaintext_data_key.rs
│ │ │ ├── encryption_materials_has_plaintext_data_key.rs
│ │ │ ├── get_algorithm_suite_info.rs
│ │ │ ├── initialize_decryption_materials.rs
│ │ │ ├── initialize_encryption_materials.rs
│ │ │ ├── valid_algorithm_suite_info.rs
│ │ │ ├── valid_decryption_materials_transition.rs
│ │ │ ├── valid_encryption_materials_transition.rs
│ │ │ ├── validate_commitment_policy_on_decrypt.rs
│ │ │ └── validate_commitment_policy_on_encrypt.rs
│ │ ├── conversions.rs
│ │ ├── conversions
│ │ │ ├── aes_wrapping_alg.rs
│ │ │ ├── algorithm_suite_id.rs
│ │ │ ├── algorithm_suite_info.rs
│ │ │ ├── branch_key_id_supplier.rs
│ │ │ ├── cache_type.rs
│ │ │ ├── client.rs
│ │ │ ├── client_supplier.rs
│ │ │ ├── commitment_policy.rs
│ │ │ ├── create_aws_kms_discovery_keyring.rs
│ │ │ ├── create_aws_kms_discovery_keyring
│ │ │ │ └── _create_aws_kms_discovery_keyring_input.rs
│ │ │ ├── create_aws_kms_discovery_keyring_input.rs
│ │ │ ├── create_aws_kms_discovery_multi_keyring.rs
│ │ │ ├── create_aws_kms_discovery_multi_keyring
│ │ │ │ └── _create_aws_kms_discovery_multi_keyring_input.rs
│ │ │ ├── create_aws_kms_discovery_multi_keyring_input.rs
│ │ │ ├── create_aws_kms_ecdh_keyring.rs
│ │ │ ├── create_aws_kms_ecdh_keyring
│ │ │ │ └── _create_aws_kms_ecdh_keyring_input.rs
│ │ │ ├── create_aws_kms_ecdh_keyring_input.rs
│ │ │ ├── create_aws_kms_hierarchical_keyring.rs
│ │ │ ├── create_aws_kms_hierarchical_keyring
│ │ │ │ └── _create_aws_kms_hierarchical_keyring_input.rs
│ │ │ ├── create_aws_kms_hierarchical_keyring_input.rs
│ │ │ ├── create_aws_kms_keyring.rs
│ │ │ ├── create_aws_kms_keyring
│ │ │ │ └── _create_aws_kms_keyring_input.rs
│ │ │ ├── create_aws_kms_keyring_input.rs
│ │ │ ├── create_aws_kms_mrk_discovery_keyring.rs
│ │ │ ├── create_aws_kms_mrk_discovery_keyring
│ │ │ │ └── _create_aws_kms_mrk_discovery_keyring_input.rs
│ │ │ ├── create_aws_kms_mrk_discovery_keyring_input.rs
│ │ │ ├── create_aws_kms_mrk_discovery_multi_keyring.rs
│ │ │ ├── create_aws_kms_mrk_discovery_multi_keyring
│ │ │ │ └── _create_aws_kms_mrk_discovery_multi_keyring_input.rs
│ │ │ ├── create_aws_kms_mrk_discovery_multi_keyring_input.rs
│ │ │ ├── create_aws_kms_mrk_keyring.rs
│ │ │ ├── create_aws_kms_mrk_keyring
│ │ │ │ └── _create_aws_kms_mrk_keyring_input.rs
│ │ │ ├── create_aws_kms_mrk_keyring_input.rs
│ │ │ ├── create_aws_kms_mrk_multi_keyring.rs
│ │ │ ├── create_aws_kms_mrk_multi_keyring
│ │ │ │ └── _create_aws_kms_mrk_multi_keyring_input.rs
│ │ │ ├── create_aws_kms_mrk_multi_keyring_input.rs
│ │ │ ├── create_aws_kms_multi_keyring.rs
│ │ │ ├── create_aws_kms_multi_keyring
│ │ │ │ └── _create_aws_kms_multi_keyring_input.rs
│ │ │ ├── create_aws_kms_multi_keyring_input.rs
│ │ │ ├── create_aws_kms_rsa_keyring.rs
│ │ │ ├── create_aws_kms_rsa_keyring
│ │ │ │ └── _create_aws_kms_rsa_keyring_input.rs
│ │ │ ├── create_aws_kms_rsa_keyring_input.rs
│ │ │ ├── create_cryptographic_materials_cache.rs
│ │ │ ├── create_cryptographic_materials_cache
│ │ │ │ └── _create_cryptographic_materials_cache_input.rs
│ │ │ ├── create_cryptographic_materials_cache_input.rs
│ │ │ ├── create_default_client_supplier.rs
│ │ │ ├── create_default_client_supplier
│ │ │ │ └── _create_default_client_supplier_input.rs
│ │ │ ├── create_default_client_supplier_input.rs
│ │ │ ├── create_default_cryptographic_materials_manager.rs
│ │ │ ├── create_default_cryptographic_materials_manager
│ │ │ │ └── _create_default_cryptographic_materials_manager_input.rs
│ │ │ ├── create_default_cryptographic_materials_manager_input.rs
│ │ │ ├── create_multi_keyring.rs
│ │ │ ├── create_multi_keyring
│ │ │ │ └── _create_multi_keyring_input.rs
│ │ │ ├── create_multi_keyring_input.rs
│ │ │ ├── create_raw_aes_keyring.rs
│ │ │ ├── create_raw_aes_keyring
│ │ │ │ └── _create_raw_aes_keyring_input.rs
│ │ │ ├── create_raw_aes_keyring_input.rs
│ │ │ ├── create_raw_ecdh_keyring.rs
│ │ │ ├── create_raw_ecdh_keyring
│ │ │ │ └── _create_raw_ecdh_keyring_input.rs
│ │ │ ├── create_raw_ecdh_keyring_input.rs
│ │ │ ├── create_raw_rsa_keyring.rs
│ │ │ ├── create_raw_rsa_keyring
│ │ │ │ └── _create_raw_rsa_keyring_input.rs
│ │ │ ├── create_raw_rsa_keyring_input.rs
│ │ │ ├── create_required_encryption_context_cmm.rs
│ │ │ ├── create_required_encryption_context_cmm
│ │ │ │ └── _create_required_encryption_context_cmm_input.rs
│ │ │ ├── create_required_encryption_context_cmm_input.rs
│ │ │ ├── cryptographic_materials_cache.rs
│ │ │ ├── cryptographic_materials_manager.rs
│ │ │ ├── dbe_algorithm_suite_id.rs
│ │ │ ├── dbe_commitment_policy.rs
│ │ │ ├── decrypt_materials.rs
│ │ │ ├── decrypt_materials
│ │ │ │ ├── _decrypt_materials_input.rs
│ │ │ │ └── _decrypt_materials_output.rs
│ │ │ ├── decrypt_materials_input.rs
│ │ │ ├── decrypt_materials_output.rs
│ │ │ ├── decryption_materials.rs
│ │ │ ├── decryption_materials_with_plaintext_data_key.rs
│ │ │ ├── decryption_materials_with_plaintext_data_key
│ │ │ │ └── _decryption_materials_with_plaintext_data_key_input.rs
│ │ │ ├── default_cache.rs
│ │ │ ├── delete_cache_entry.rs
│ │ │ ├── delete_cache_entry
│ │ │ │ └── _delete_cache_entry_input.rs
│ │ │ ├── delete_cache_entry_input.rs
│ │ │ ├── derivation_algorithm.rs
│ │ │ ├── direct_key_wrapping.rs
│ │ │ ├── discovery_filter.rs
│ │ │ ├── ecdsa.rs
│ │ │ ├── edk_wrapping_algorithm.rs
│ │ │ ├── encrypt.rs
│ │ │ ├── encrypted_data_key.rs
│ │ │ ├── encryption_materials.rs
│ │ │ ├── encryption_materials_has_plaintext_data_key.rs
│ │ │ ├── encryption_materials_has_plaintext_data_key
│ │ │ │ └── _encryption_materials_has_plaintext_data_key_input.rs
│ │ │ ├── ephemeral_private_key_to_static_public_key_input.rs
│ │ │ ├── error.rs
│ │ │ ├── esdk_algorithm_suite_id.rs
│ │ │ ├── esdk_commitment_policy.rs
│ │ │ ├── get_algorithm_suite_info.rs
│ │ │ ├── get_algorithm_suite_info
│ │ │ │ └── _get_algorithm_suite_info_output.rs
│ │ │ ├── get_branch_key_id.rs
│ │ │ ├── get_branch_key_id
│ │ │ │ ├── _get_branch_key_id_input.rs
│ │ │ │ └── _get_branch_key_id_output.rs
│ │ │ ├── get_branch_key_id_input.rs
│ │ │ ├── get_branch_key_id_output.rs
│ │ │ ├── get_cache_entry.rs
│ │ │ ├── get_cache_entry
│ │ │ │ ├── _get_cache_entry_input.rs
│ │ │ │ └── _get_cache_entry_output.rs
│ │ │ ├── get_cache_entry_input.rs
│ │ │ ├── get_cache_entry_output.rs
│ │ │ ├── get_client.rs
│ │ │ ├── get_client
│ │ │ │ └── _get_client_input.rs
│ │ │ ├── get_client_input.rs
│ │ │ ├── get_encryption_materials.rs
│ │ │ ├── get_encryption_materials
│ │ │ │ ├── _get_encryption_materials_input.rs
│ │ │ │ └── _get_encryption_materials_output.rs
│ │ │ ├── get_encryption_materials_input.rs
│ │ │ ├── get_encryption_materials_output.rs
│ │ │ ├── hkdf.rs
│ │ │ ├── identity.rs
│ │ │ ├── initialize_decryption_materials.rs
│ │ │ ├── initialize_decryption_materials
│ │ │ │ ├── _initialize_decryption_materials_input.rs
│ │ │ │ └── _initialize_decryption_materials_output.rs
│ │ │ ├── initialize_decryption_materials_input.rs
│ │ │ ├── initialize_encryption_materials.rs
│ │ │ ├── initialize_encryption_materials
│ │ │ │ ├── _initialize_encryption_materials_input.rs
│ │ │ │ └── _initialize_encryption_materials_output.rs
│ │ │ ├── initialize_encryption_materials_input.rs
│ │ │ ├── intermediate_key_wrapping.rs
│ │ │ ├── key_agreement_scheme.rs
│ │ │ ├── keyring.rs
│ │ │ ├── kms_ecdh_static_configurations.rs
│ │ │ ├── kms_private_key_to_static_public_key_input.rs
│ │ │ ├── kms_public_key_discovery_input.rs
│ │ │ ├── material_providers_config.rs
│ │ │ ├── material_providers_config
│ │ │ │ └── _material_providers_config.rs
│ │ │ ├── materials.rs
│ │ │ ├── multi_threaded_cache.rs
│ │ │ ├── no_cache.rs
│ │ │ ├── none.rs
│ │ │ ├── on_decrypt.rs
│ │ │ ├── on_decrypt
│ │ │ │ ├── _on_decrypt_input.rs
│ │ │ │ └── _on_decrypt_output.rs
│ │ │ ├── on_decrypt_input.rs
│ │ │ ├── on_decrypt_output.rs
│ │ │ ├── on_encrypt.rs
│ │ │ ├── on_encrypt
│ │ │ │ ├── _on_encrypt_input.rs
│ │ │ │ └── _on_encrypt_output.rs
│ │ │ ├── on_encrypt_input.rs
│ │ │ ├── on_encrypt_output.rs
│ │ │ ├── padding_scheme.rs
│ │ │ ├── public_key_discovery_input.rs
│ │ │ ├── put_cache_entry.rs
│ │ │ ├── put_cache_entry
│ │ │ │ └── _put_cache_entry_input.rs
│ │ │ ├── put_cache_entry_input.rs
│ │ │ ├── raw_ecdh_static_configurations.rs
│ │ │ ├── raw_private_key_to_static_public_key_input.rs
│ │ │ ├── signature_algorithm.rs
│ │ │ ├── single_threaded_cache.rs
│ │ │ ├── static_configurations.rs
│ │ │ ├── storm_tracking_cache.rs
│ │ │ ├── symmetric_signature_algorithm.rs
│ │ │ ├── time_units.rs
│ │ │ ├── update_usage_metadata.rs
│ │ │ ├── update_usage_metadata
│ │ │ │ └── _update_usage_metadata_input.rs
│ │ │ ├── update_usage_metadata_input.rs
│ │ │ ├── valid_algorithm_suite_info.rs
│ │ │ ├── valid_algorithm_suite_info
│ │ │ │ └── _valid_algorithm_suite_info_input.rs
│ │ │ ├── valid_decryption_materials_transition.rs
│ │ │ ├── valid_decryption_materials_transition
│ │ │ │ └── _valid_decryption_materials_transition_input.rs
│ │ │ ├── valid_decryption_materials_transition_input.rs
│ │ │ ├── valid_encryption_materials_transition.rs
│ │ │ ├── valid_encryption_materials_transition
│ │ │ │ └── _valid_encryption_materials_transition_input.rs
│ │ │ ├── valid_encryption_materials_transition_input.rs
│ │ │ ├── validate_commitment_policy_on_decrypt.rs
│ │ │ ├── validate_commitment_policy_on_decrypt
│ │ │ │ └── _validate_commitment_policy_on_decrypt_input.rs
│ │ │ ├── validate_commitment_policy_on_decrypt_input.rs
│ │ │ ├── validate_commitment_policy_on_encrypt.rs
│ │ │ ├── validate_commitment_policy_on_encrypt
│ │ │ │ └── _validate_commitment_policy_on_encrypt_input.rs
│ │ │ └── validate_commitment_policy_on_encrypt_input.rs
│ │ ├── deps.rs
│ │ ├── error.rs
│ │ ├── error
│ │ │ └── sealed_unhandled.rs
│ │ ├── operation.rs
│ │ ├── operation
│ │ │ ├── create_aws_kms_discovery_keyring.rs
│ │ │ ├── create_aws_kms_discovery_keyring
│ │ │ │ ├── _create_aws_kms_discovery_keyring_input.rs
│ │ │ │ ├── _create_keyring_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_aws_kms_discovery_multi_keyring.rs
│ │ │ ├── create_aws_kms_discovery_multi_keyring
│ │ │ │ ├── _create_aws_kms_discovery_multi_keyring_input.rs
│ │ │ │ ├── _create_keyring_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_aws_kms_ecdh_keyring.rs
│ │ │ ├── create_aws_kms_ecdh_keyring
│ │ │ │ ├── _create_aws_kms_ecdh_keyring_input.rs
│ │ │ │ ├── _create_keyring_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_aws_kms_hierarchical_keyring.rs
│ │ │ ├── create_aws_kms_hierarchical_keyring
│ │ │ │ ├── _create_aws_kms_hierarchical_keyring_input.rs
│ │ │ │ ├── _create_keyring_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_aws_kms_keyring.rs
│ │ │ ├── create_aws_kms_keyring
│ │ │ │ ├── _create_aws_kms_keyring_input.rs
│ │ │ │ ├── _create_keyring_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_aws_kms_mrk_discovery_keyring.rs
│ │ │ ├── create_aws_kms_mrk_discovery_keyring
│ │ │ │ ├── _create_aws_kms_mrk_discovery_keyring_input.rs
│ │ │ │ ├── _create_keyring_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_aws_kms_mrk_discovery_multi_keyring.rs
│ │ │ ├── create_aws_kms_mrk_discovery_multi_keyring
│ │ │ │ ├── _create_aws_kms_mrk_discovery_multi_keyring_input.rs
│ │ │ │ ├── _create_keyring_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_aws_kms_mrk_keyring.rs
│ │ │ ├── create_aws_kms_mrk_keyring
│ │ │ │ ├── _create_aws_kms_mrk_keyring_input.rs
│ │ │ │ ├── _create_keyring_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_aws_kms_mrk_multi_keyring.rs
│ │ │ ├── create_aws_kms_mrk_multi_keyring
│ │ │ │ ├── _create_aws_kms_mrk_multi_keyring_input.rs
│ │ │ │ ├── _create_keyring_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_aws_kms_multi_keyring.rs
│ │ │ ├── create_aws_kms_multi_keyring
│ │ │ │ ├── _create_aws_kms_multi_keyring_input.rs
│ │ │ │ ├── _create_keyring_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_aws_kms_rsa_keyring.rs
│ │ │ ├── create_aws_kms_rsa_keyring
│ │ │ │ ├── _create_aws_kms_rsa_keyring_input.rs
│ │ │ │ ├── _create_keyring_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_cryptographic_materials_cache.rs
│ │ │ ├── create_cryptographic_materials_cache
│ │ │ │ ├── _create_cryptographic_materials_cache_input.rs
│ │ │ │ ├── _create_cryptographic_materials_cache_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_default_client_supplier.rs
│ │ │ ├── create_default_client_supplier
│ │ │ │ ├── _create_default_client_supplier_input.rs
│ │ │ │ ├── _create_default_client_supplier_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_default_cryptographic_materials_manager.rs
│ │ │ ├── create_default_cryptographic_materials_manager
│ │ │ │ ├── _create_cryptographic_materials_manager_output.rs
│ │ │ │ ├── _create_default_cryptographic_materials_manager_input.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_multi_keyring.rs
│ │ │ ├── create_multi_keyring
│ │ │ │ ├── _create_keyring_output.rs
│ │ │ │ ├── _create_multi_keyring_input.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_raw_aes_keyring.rs
│ │ │ ├── create_raw_aes_keyring
│ │ │ │ ├── _create_keyring_output.rs
│ │ │ │ ├── _create_raw_aes_keyring_input.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_raw_ecdh_keyring.rs
│ │ │ ├── create_raw_ecdh_keyring
│ │ │ │ ├── _create_keyring_output.rs
│ │ │ │ ├── _create_raw_ecdh_keyring_input.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_raw_rsa_keyring.rs
│ │ │ ├── create_raw_rsa_keyring
│ │ │ │ ├── _create_keyring_output.rs
│ │ │ │ ├── _create_raw_rsa_keyring_input.rs
│ │ │ │ └── builders.rs
│ │ │ ├── create_required_encryption_context_cmm.rs
│ │ │ ├── create_required_encryption_context_cmm
│ │ │ │ ├── _create_required_encryption_context_cmm_input.rs
│ │ │ │ ├── _create_required_encryption_context_cmm_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── decrypt_materials.rs
│ │ │ ├── decrypt_materials
│ │ │ │ ├── _decrypt_materials_input.rs
│ │ │ │ ├── _decrypt_materials_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── decryption_materials_with_plaintext_data_key.rs
│ │ │ ├── decryption_materials_with_plaintext_data_key
│ │ │ │ ├── _decryption_materials.rs
│ │ │ │ ├── _unit.rs
│ │ │ │ └── builders.rs
│ │ │ ├── delete_cache_entry.rs
│ │ │ ├── delete_cache_entry
│ │ │ │ ├── _delete_cache_entry_input.rs
│ │ │ │ ├── _unit.rs
│ │ │ │ └── builders.rs
│ │ │ ├── encryption_materials_has_plaintext_data_key.rs
│ │ │ ├── encryption_materials_has_plaintext_data_key
│ │ │ │ ├── _encryption_materials.rs
│ │ │ │ ├── _unit.rs
│ │ │ │ └── builders.rs
│ │ │ ├── get_algorithm_suite_info.rs
│ │ │ ├── get_algorithm_suite_info
│ │ │ │ ├── _algorithm_suite_info.rs
│ │ │ │ ├── _get_algorithm_suite_info_input.rs
│ │ │ │ └── builders.rs
│ │ │ ├── get_branch_key_id.rs
│ │ │ ├── get_branch_key_id
│ │ │ │ ├── _get_branch_key_id_input.rs
│ │ │ │ ├── _get_branch_key_id_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── get_cache_entry.rs
│ │ │ ├── get_cache_entry
│ │ │ │ ├── _get_cache_entry_input.rs
│ │ │ │ ├── _get_cache_entry_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── get_client.rs
│ │ │ ├── get_client
│ │ │ │ ├── _get_client_input.rs
│ │ │ │ ├── _get_client_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── get_encryption_materials.rs
│ │ │ ├── get_encryption_materials
│ │ │ │ ├── _get_encryption_materials_input.rs
│ │ │ │ ├── _get_encryption_materials_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── initialize_decryption_materials.rs
│ │ │ ├── initialize_decryption_materials
│ │ │ │ ├── _decryption_materials.rs
│ │ │ │ ├── _initialize_decryption_materials_input.rs
│ │ │ │ └── builders.rs
│ │ │ ├── initialize_encryption_materials.rs
│ │ │ ├── initialize_encryption_materials
│ │ │ │ ├── _encryption_materials.rs
│ │ │ │ ├── _initialize_encryption_materials_input.rs
│ │ │ │ └── builders.rs
│ │ │ ├── on_decrypt.rs
│ │ │ ├── on_decrypt
│ │ │ │ ├── _on_decrypt_input.rs
│ │ │ │ ├── _on_decrypt_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── on_encrypt.rs
│ │ │ ├── on_encrypt
│ │ │ │ ├── _on_encrypt_input.rs
│ │ │ │ ├── _on_encrypt_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── put_cache_entry.rs
│ │ │ ├── put_cache_entry
│ │ │ │ ├── _put_cache_entry_input.rs
│ │ │ │ ├── _unit.rs
│ │ │ │ └── builders.rs
│ │ │ ├── update_usage_metadata.rs
│ │ │ ├── update_usage_metadata
│ │ │ │ ├── _unit.rs
│ │ │ │ ├── _update_usage_metadata_input.rs
│ │ │ │ └── builders.rs
│ │ │ ├── valid_algorithm_suite_info.rs
│ │ │ ├── valid_algorithm_suite_info
│ │ │ │ ├── _algorithm_suite_info.rs
│ │ │ │ ├── _unit.rs
│ │ │ │ └── builders.rs
│ │ │ ├── valid_decryption_materials_transition.rs
│ │ │ ├── valid_decryption_materials_transition
│ │ │ │ ├── _unit.rs
│ │ │ │ ├── _valid_decryption_materials_transition_input.rs
│ │ │ │ └── builders.rs
│ │ │ ├── valid_encryption_materials_transition.rs
│ │ │ ├── valid_encryption_materials_transition
│ │ │ │ ├── _unit.rs
│ │ │ │ ├── _valid_encryption_materials_transition_input.rs
│ │ │ │ └── builders.rs
│ │ │ ├── validate_commitment_policy_on_decrypt.rs
│ │ │ ├── validate_commitment_policy_on_decrypt
│ │ │ │ ├── _unit.rs
│ │ │ │ ├── _validate_commitment_policy_on_decrypt_input.rs
│ │ │ │ └── builders.rs
│ │ │ ├── validate_commitment_policy_on_encrypt.rs
│ │ │ └── validate_commitment_policy_on_encrypt
│ │ │ │ ├── _unit.rs
│ │ │ │ ├── _validate_commitment_policy_on_encrypt_input.rs
│ │ │ │ └── builders.rs
│ │ ├── types.rs
│ │ ├── types
│ │ │ ├── _aes_wrapping_alg.rs
│ │ │ ├── _algorithm_suite_id.rs
│ │ │ ├── _algorithm_suite_info.rs
│ │ │ ├── _cache_type.rs
│ │ │ ├── _commitment_policy.rs
│ │ │ ├── _create_aws_kms_discovery_keyring_input.rs
│ │ │ ├── _create_aws_kms_discovery_multi_keyring_input.rs
│ │ │ ├── _create_aws_kms_ecdh_keyring_input.rs
│ │ │ ├── _create_aws_kms_hierarchical_keyring_input.rs
│ │ │ ├── _create_aws_kms_keyring_input.rs
│ │ │ ├── _create_aws_kms_mrk_discovery_keyring_input.rs
│ │ │ ├── _create_aws_kms_mrk_discovery_multi_keyring_input.rs
│ │ │ ├── _create_aws_kms_mrk_keyring_input.rs
│ │ │ ├── _create_aws_kms_mrk_multi_keyring_input.rs
│ │ │ ├── _create_aws_kms_multi_keyring_input.rs
│ │ │ ├── _create_aws_kms_rsa_keyring_input.rs
│ │ │ ├── _create_cryptographic_materials_cache_input.rs
│ │ │ ├── _create_default_client_supplier_input.rs
│ │ │ ├── _create_default_cryptographic_materials_manager_input.rs
│ │ │ ├── _create_multi_keyring_input.rs
│ │ │ ├── _create_raw_aes_keyring_input.rs
│ │ │ ├── _create_raw_ecdh_keyring_input.rs
│ │ │ ├── _create_raw_rsa_keyring_input.rs
│ │ │ ├── _create_required_encryption_context_cmm_input.rs
│ │ │ ├── _dbe_algorithm_suite_id.rs
│ │ │ ├── _dbe_commitment_policy.rs
│ │ │ ├── _decrypt_materials_input.rs
│ │ │ ├── _decrypt_materials_output.rs
│ │ │ ├── _decryption_materials.rs
│ │ │ ├── _default_cache.rs
│ │ │ ├── _delete_cache_entry_input.rs
│ │ │ ├── _derivation_algorithm.rs
│ │ │ ├── _direct_key_wrapping.rs
│ │ │ ├── _discovery_filter.rs
│ │ │ ├── _ecdsa.rs
│ │ │ ├── _edk_wrapping_algorithm.rs
│ │ │ ├── _encrypt.rs
│ │ │ ├── _encrypted_data_key.rs
│ │ │ ├── _encryption_materials.rs
│ │ │ ├── _ephemeral_private_key_to_static_public_key_input.rs
│ │ │ ├── _esdk_algorithm_suite_id.rs
│ │ │ ├── _esdk_commitment_policy.rs
│ │ │ ├── _get_branch_key_id_input.rs
│ │ │ ├── _get_branch_key_id_output.rs
│ │ │ ├── _get_cache_entry_input.rs
│ │ │ ├── _get_cache_entry_output.rs
│ │ │ ├── _get_client_input.rs
│ │ │ ├── _get_encryption_materials_input.rs
│ │ │ ├── _get_encryption_materials_output.rs
│ │ │ ├── _hkdf.rs
│ │ │ ├── _identity.rs
│ │ │ ├── _initialize_decryption_materials_input.rs
│ │ │ ├── _initialize_encryption_materials_input.rs
│ │ │ ├── _intermediate_key_wrapping.rs
│ │ │ ├── _key_agreement_scheme.rs
│ │ │ ├── _kms_ecdh_static_configurations.rs
│ │ │ ├── _kms_private_key_to_static_public_key_input.rs
│ │ │ ├── _kms_public_key_discovery_input.rs
│ │ │ ├── _materials.rs
│ │ │ ├── _multi_threaded_cache.rs
│ │ │ ├── _no_cache.rs
│ │ │ ├── _none.rs
│ │ │ ├── _on_decrypt_input.rs
│ │ │ ├── _on_decrypt_output.rs
│ │ │ ├── _on_encrypt_input.rs
│ │ │ ├── _on_encrypt_output.rs
│ │ │ ├── _padding_scheme.rs
│ │ │ ├── _public_key_discovery_input.rs
│ │ │ ├── _put_cache_entry_input.rs
│ │ │ ├── _raw_ecdh_static_configurations.rs
│ │ │ ├── _raw_private_key_to_static_public_key_input.rs
│ │ │ ├── _signature_algorithm.rs
│ │ │ ├── _single_threaded_cache.rs
│ │ │ ├── _static_configurations.rs
│ │ │ ├── _storm_tracking_cache.rs
│ │ │ ├── _symmetric_signature_algorithm.rs
│ │ │ ├── _time_units.rs
│ │ │ ├── _update_usage_metadata_input.rs
│ │ │ ├── _valid_decryption_materials_transition_input.rs
│ │ │ ├── _valid_encryption_materials_transition_input.rs
│ │ │ ├── _validate_commitment_policy_on_decrypt_input.rs
│ │ │ ├── _validate_commitment_policy_on_encrypt_input.rs
│ │ │ ├── branch_key_id_supplier.rs
│ │ │ ├── branch_key_id_supplier
│ │ │ │ └── get_branch_key_id.rs
│ │ │ ├── builders.rs
│ │ │ ├── client_supplier.rs
│ │ │ ├── client_supplier
│ │ │ │ └── get_client.rs
│ │ │ ├── cryptographic_materials_cache.rs
│ │ │ ├── cryptographic_materials_cache
│ │ │ │ ├── delete_cache_entry.rs
│ │ │ │ ├── get_cache_entry.rs
│ │ │ │ ├── put_cache_entry.rs
│ │ │ │ └── update_usage_metadata.rs
│ │ │ ├── cryptographic_materials_manager.rs
│ │ │ ├── cryptographic_materials_manager
│ │ │ │ ├── decrypt_materials.rs
│ │ │ │ └── get_encryption_materials.rs
│ │ │ ├── error.rs
│ │ │ ├── keyring.rs
│ │ │ ├── keyring
│ │ │ │ ├── on_decrypt.rs
│ │ │ │ └── on_encrypt.rs
│ │ │ └── material_providers_config.rs
│ │ └── validation.rs
│ ├── aws_cryptography_primitives.rs
│ ├── aws_cryptography_primitives
│ │ ├── client.rs
│ │ ├── client
│ │ │ ├── aes_decrypt.rs
│ │ │ ├── aes_encrypt.rs
│ │ │ ├── aes_kdf_counter_mode.rs
│ │ │ ├── compress_public_key.rs
│ │ │ ├── decompress_public_key.rs
│ │ │ ├── derive_shared_secret.rs
│ │ │ ├── digest.rs
│ │ │ ├── ecdsa_sign.rs
│ │ │ ├── ecdsa_verify.rs
│ │ │ ├── generate_ecc_key_pair.rs
│ │ │ ├── generate_ecdsa_signature_key.rs
│ │ │ ├── generate_random_bytes.rs
│ │ │ ├── generate_rsa_key_pair.rs
│ │ │ ├── get_public_key_from_private_key.rs
│ │ │ ├── get_rsa_key_modulus_length.rs
│ │ │ ├── h_mac.rs
│ │ │ ├── hkdf.rs
│ │ │ ├── hkdf_expand.rs
│ │ │ ├── hkdf_extract.rs
│ │ │ ├── kdf_counter_mode.rs
│ │ │ ├── parse_public_key.rs
│ │ │ ├── rsa_decrypt.rs
│ │ │ ├── rsa_encrypt.rs
│ │ │ └── validate_public_key.rs
│ │ ├── conversions.rs
│ │ ├── conversions
│ │ │ ├── aes_ctr.rs
│ │ │ ├── aes_decrypt.rs
│ │ │ ├── aes_decrypt
│ │ │ │ └── _aes_decrypt_input.rs
│ │ │ ├── aes_decrypt_input.rs
│ │ │ ├── aes_encrypt.rs
│ │ │ ├── aes_encrypt
│ │ │ │ ├── _aes_encrypt_input.rs
│ │ │ │ └── _aes_encrypt_output.rs
│ │ │ ├── aes_encrypt_input.rs
│ │ │ ├── aes_encrypt_output.rs
│ │ │ ├── aes_gcm.rs
│ │ │ ├── aes_kdf_counter_mode.rs
│ │ │ ├── aes_kdf_counter_mode
│ │ │ │ └── _aes_kdf_counter_mode_input.rs
│ │ │ ├── aes_kdf_ctr_input.rs
│ │ │ ├── client.rs
│ │ │ ├── compress_public_key.rs
│ │ │ ├── compress_public_key
│ │ │ │ ├── _compress_public_key_input.rs
│ │ │ │ └── _compress_public_key_output.rs
│ │ │ ├── compress_public_key_input.rs
│ │ │ ├── compress_public_key_output.rs
│ │ │ ├── crypto_config.rs
│ │ │ ├── crypto_config
│ │ │ │ └── _crypto_config.rs
│ │ │ ├── decompress_public_key.rs
│ │ │ ├── decompress_public_key
│ │ │ │ ├── _decompress_public_key_input.rs
│ │ │ │ └── _decompress_public_key_output.rs
│ │ │ ├── decompress_public_key_input.rs
│ │ │ ├── decompress_public_key_output.rs
│ │ │ ├── derive_shared_secret.rs
│ │ │ ├── derive_shared_secret
│ │ │ │ ├── _derive_shared_secret_input.rs
│ │ │ │ └── _derive_shared_secret_output.rs
│ │ │ ├── derive_shared_secret_input.rs
│ │ │ ├── derive_shared_secret_output.rs
│ │ │ ├── digest.rs
│ │ │ ├── digest
│ │ │ │ └── _digest_input.rs
│ │ │ ├── digest_algorithm.rs
│ │ │ ├── digest_input.rs
│ │ │ ├── ecc_private_key.rs
│ │ │ ├── ecc_public_key.rs
│ │ │ ├── ecdh_curve_spec.rs
│ │ │ ├── ecdsa_sign.rs
│ │ │ ├── ecdsa_sign
│ │ │ │ └── _ecdsa_sign_input.rs
│ │ │ ├── ecdsa_sign_input.rs
│ │ │ ├── ecdsa_signature_algorithm.rs
│ │ │ ├── ecdsa_verify.rs
│ │ │ ├── ecdsa_verify
│ │ │ │ └── _ecdsa_verify_input.rs
│ │ │ ├── ecdsa_verify_input.rs
│ │ │ ├── error.rs
│ │ │ ├── generate_ecc_key_pair.rs
│ │ │ ├── generate_ecc_key_pair
│ │ │ │ ├── _generate_ecc_key_pair_input.rs
│ │ │ │ └── _generate_ecc_key_pair_output.rs
│ │ │ ├── generate_ecc_key_pair_input.rs
│ │ │ ├── generate_ecc_key_pair_output.rs
│ │ │ ├── generate_ecdsa_signature_key.rs
│ │ │ ├── generate_ecdsa_signature_key
│ │ │ │ ├── _generate_ecdsa_signature_key_input.rs
│ │ │ │ └── _generate_ecdsa_signature_key_output.rs
│ │ │ ├── generate_ecdsa_signature_key_input.rs
│ │ │ ├── generate_ecdsa_signature_key_output.rs
│ │ │ ├── generate_random_bytes.rs
│ │ │ ├── generate_random_bytes
│ │ │ │ └── _generate_random_bytes_input.rs
│ │ │ ├── generate_random_bytes_input.rs
│ │ │ ├── generate_rsa_key_pair.rs
│ │ │ ├── generate_rsa_key_pair
│ │ │ │ ├── _generate_rsa_key_pair_input.rs
│ │ │ │ └── _generate_rsa_key_pair_output.rs
│ │ │ ├── generate_rsa_key_pair_input.rs
│ │ │ ├── generate_rsa_key_pair_output.rs
│ │ │ ├── get_public_key_from_private_key.rs
│ │ │ ├── get_public_key_from_private_key
│ │ │ │ ├── _get_public_key_from_private_key_input.rs
│ │ │ │ └── _get_public_key_from_private_key_output.rs
│ │ │ ├── get_public_key_from_private_key_input.rs
│ │ │ ├── get_public_key_from_private_key_output.rs
│ │ │ ├── get_rsa_key_modulus_length.rs
│ │ │ ├── get_rsa_key_modulus_length
│ │ │ │ ├── _get_rsa_key_modulus_length_input.rs
│ │ │ │ └── _get_rsa_key_modulus_length_output.rs
│ │ │ ├── get_rsa_key_modulus_length_input.rs
│ │ │ ├── get_rsa_key_modulus_length_output.rs
│ │ │ ├── h_mac.rs
│ │ │ ├── h_mac
│ │ │ │ └── _h_mac_input.rs
│ │ │ ├── h_mac_input.rs
│ │ │ ├── hkdf.rs
│ │ │ ├── hkdf
│ │ │ │ └── _hkdf_input.rs
│ │ │ ├── hkdf_expand.rs
│ │ │ ├── hkdf_expand
│ │ │ │ └── _hkdf_expand_input.rs
│ │ │ ├── hkdf_expand_input.rs
│ │ │ ├── hkdf_extract.rs
│ │ │ ├── hkdf_extract
│ │ │ │ └── _hkdf_extract_input.rs
│ │ │ ├── hkdf_extract_input.rs
│ │ │ ├── hkdf_input.rs
│ │ │ ├── kdf_counter_mode.rs
│ │ │ ├── kdf_counter_mode
│ │ │ │ └── _kdf_counter_mode_input.rs
│ │ │ ├── kdf_ctr_input.rs
│ │ │ ├── parse_public_key.rs
│ │ │ ├── parse_public_key
│ │ │ │ ├── _parse_public_key_input.rs
│ │ │ │ └── _parse_public_key_output.rs
│ │ │ ├── parse_public_key_input.rs
│ │ │ ├── parse_public_key_output.rs
│ │ │ ├── rsa_decrypt.rs
│ │ │ ├── rsa_decrypt
│ │ │ │ └── _rsa_decrypt_input.rs
│ │ │ ├── rsa_decrypt_input.rs
│ │ │ ├── rsa_encrypt.rs
│ │ │ ├── rsa_encrypt
│ │ │ │ └── _rsa_encrypt_input.rs
│ │ │ ├── rsa_encrypt_input.rs
│ │ │ ├── rsa_padding_mode.rs
│ │ │ ├── rsa_private_key.rs
│ │ │ ├── rsa_public_key.rs
│ │ │ ├── validate_public_key.rs
│ │ │ ├── validate_public_key
│ │ │ │ ├── _validate_public_key_input.rs
│ │ │ │ └── _validate_public_key_output.rs
│ │ │ ├── validate_public_key_input.rs
│ │ │ └── validate_public_key_output.rs
│ │ ├── deps.rs
│ │ ├── error.rs
│ │ ├── error
│ │ │ └── sealed_unhandled.rs
│ │ ├── operation.rs
│ │ ├── operation
│ │ │ ├── aes_decrypt.rs
│ │ │ ├── aes_decrypt
│ │ │ │ ├── _aes_decrypt_input.rs
│ │ │ │ ├── _aes_decrypt_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── aes_encrypt.rs
│ │ │ ├── aes_encrypt
│ │ │ │ ├── _aes_encrypt_input.rs
│ │ │ │ ├── _aes_encrypt_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── aes_kdf_counter_mode.rs
│ │ │ ├── aes_kdf_counter_mode
│ │ │ │ ├── _aes_kdf_ctr_input.rs
│ │ │ │ ├── _aes_kdf_ctr_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── compress_public_key.rs
│ │ │ ├── compress_public_key
│ │ │ │ ├── _compress_public_key_input.rs
│ │ │ │ ├── _compress_public_key_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── decompress_public_key.rs
│ │ │ ├── decompress_public_key
│ │ │ │ ├── _decompress_public_key_input.rs
│ │ │ │ ├── _decompress_public_key_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── derive_shared_secret.rs
│ │ │ ├── derive_shared_secret
│ │ │ │ ├── _derive_shared_secret_input.rs
│ │ │ │ ├── _derive_shared_secret_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── digest.rs
│ │ │ ├── digest
│ │ │ │ ├── _digest_input.rs
│ │ │ │ ├── _digest_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── ecdsa_sign.rs
│ │ │ ├── ecdsa_sign
│ │ │ │ ├── _ecdsa_sign_input.rs
│ │ │ │ ├── _ecdsa_sign_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── ecdsa_verify.rs
│ │ │ ├── ecdsa_verify
│ │ │ │ ├── _ecdsa_verify_input.rs
│ │ │ │ ├── _ecdsa_verify_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── generate_ecc_key_pair.rs
│ │ │ ├── generate_ecc_key_pair
│ │ │ │ ├── _generate_ecc_key_pair_input.rs
│ │ │ │ ├── _generate_ecc_key_pair_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── generate_ecdsa_signature_key.rs
│ │ │ ├── generate_ecdsa_signature_key
│ │ │ │ ├── _generate_ecdsa_signature_key_input.rs
│ │ │ │ ├── _generate_ecdsa_signature_key_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── generate_random_bytes.rs
│ │ │ ├── generate_random_bytes
│ │ │ │ ├── _generate_random_bytes_input.rs
│ │ │ │ ├── _generate_random_bytes_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── generate_rsa_key_pair.rs
│ │ │ ├── generate_rsa_key_pair
│ │ │ │ ├── _generate_rsa_key_pair_input.rs
│ │ │ │ ├── _generate_rsa_key_pair_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── get_public_key_from_private_key.rs
│ │ │ ├── get_public_key_from_private_key
│ │ │ │ ├── _get_public_key_from_private_key_input.rs
│ │ │ │ ├── _get_public_key_from_private_key_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── get_rsa_key_modulus_length.rs
│ │ │ ├── get_rsa_key_modulus_length
│ │ │ │ ├── _get_rsa_key_modulus_length_input.rs
│ │ │ │ ├── _get_rsa_key_modulus_length_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── h_mac.rs
│ │ │ ├── h_mac
│ │ │ │ ├── _h_mac_input.rs
│ │ │ │ ├── _h_mac_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── hkdf.rs
│ │ │ ├── hkdf
│ │ │ │ ├── _hkdf_input.rs
│ │ │ │ ├── _hkdf_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── hkdf_expand.rs
│ │ │ ├── hkdf_expand
│ │ │ │ ├── _hkdf_expand_input.rs
│ │ │ │ ├── _hkdf_expand_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── hkdf_extract.rs
│ │ │ ├── hkdf_extract
│ │ │ │ ├── _hkdf_extract_input.rs
│ │ │ │ ├── _hkdf_extract_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── kdf_counter_mode.rs
│ │ │ ├── kdf_counter_mode
│ │ │ │ ├── _kdf_ctr_input.rs
│ │ │ │ ├── _kdf_ctr_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── parse_public_key.rs
│ │ │ ├── parse_public_key
│ │ │ │ ├── _parse_public_key_input.rs
│ │ │ │ ├── _parse_public_key_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── rsa_decrypt.rs
│ │ │ ├── rsa_decrypt
│ │ │ │ ├── _rsa_decrypt_input.rs
│ │ │ │ ├── _rsa_decrypt_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── rsa_encrypt.rs
│ │ │ ├── rsa_encrypt
│ │ │ │ ├── _rsa_encrypt_input.rs
│ │ │ │ ├── _rsa_encrypt_output.rs
│ │ │ │ └── builders.rs
│ │ │ ├── validate_public_key.rs
│ │ │ └── validate_public_key
│ │ │ │ ├── _validate_public_key_input.rs
│ │ │ │ ├── _validate_public_key_output.rs
│ │ │ │ └── builders.rs
│ │ ├── types.rs
│ │ ├── types
│ │ │ ├── _aes_ctr.rs
│ │ │ ├── _aes_decrypt_input.rs
│ │ │ ├── _aes_encrypt_input.rs
│ │ │ ├── _aes_encrypt_output.rs
│ │ │ ├── _aes_gcm.rs
│ │ │ ├── _aes_kdf_ctr_input.rs
│ │ │ ├── _compress_public_key_input.rs
│ │ │ ├── _compress_public_key_output.rs
│ │ │ ├── _decompress_public_key_input.rs
│ │ │ ├── _decompress_public_key_output.rs
│ │ │ ├── _derive_shared_secret_input.rs
│ │ │ ├── _derive_shared_secret_output.rs
│ │ │ ├── _digest_algorithm.rs
│ │ │ ├── _digest_input.rs
│ │ │ ├── _ecc_private_key.rs
│ │ │ ├── _ecc_public_key.rs
│ │ │ ├── _ecdh_curve_spec.rs
│ │ │ ├── _ecdsa_sign_input.rs
│ │ │ ├── _ecdsa_signature_algorithm.rs
│ │ │ ├── _ecdsa_verify_input.rs
│ │ │ ├── _generate_ecc_key_pair_input.rs
│ │ │ ├── _generate_ecc_key_pair_output.rs
│ │ │ ├── _generate_ecdsa_signature_key_input.rs
│ │ │ ├── _generate_ecdsa_signature_key_output.rs
│ │ │ ├── _generate_random_bytes_input.rs
│ │ │ ├── _generate_rsa_key_pair_input.rs
│ │ │ ├── _generate_rsa_key_pair_output.rs
│ │ │ ├── _get_public_key_from_private_key_input.rs
│ │ │ ├── _get_public_key_from_private_key_output.rs
│ │ │ ├── _get_rsa_key_modulus_length_input.rs
│ │ │ ├── _get_rsa_key_modulus_length_output.rs
│ │ │ ├── _h_mac_input.rs
│ │ │ ├── _hkdf_expand_input.rs
│ │ │ ├── _hkdf_extract_input.rs
│ │ │ ├── _hkdf_input.rs
│ │ │ ├── _kdf_ctr_input.rs
│ │ │ ├── _parse_public_key_input.rs
│ │ │ ├── _parse_public_key_output.rs
│ │ │ ├── _rsa_decrypt_input.rs
│ │ │ ├── _rsa_encrypt_input.rs
│ │ │ ├── _rsa_padding_mode.rs
│ │ │ ├── _rsa_private_key.rs
│ │ │ ├── _rsa_public_key.rs
│ │ │ ├── _validate_public_key_input.rs
│ │ │ ├── _validate_public_key_output.rs
│ │ │ ├── builders.rs
│ │ │ ├── crypto_config.rs
│ │ │ └── error.rs
│ │ └── validation.rs
│ ├── com_amazonaws_dynamodb.rs
│ ├── com_amazonaws_dynamodb
│ │ ├── client.rs
│ │ ├── conversions.rs
│ │ ├── conversions
│ │ │ ├── approximate_creation_date_time_precision.rs
│ │ │ ├── archival_summary.rs
│ │ │ ├── attribute_action.rs
│ │ │ ├── attribute_definition.rs
│ │ │ ├── attribute_value.rs
│ │ │ ├── attribute_value_update.rs
│ │ │ ├── auto_scaling_policy_description.rs
│ │ │ ├── auto_scaling_policy_update.rs
│ │ │ ├── auto_scaling_settings_description.rs
│ │ │ ├── auto_scaling_settings_update.rs
│ │ │ ├── auto_scaling_target_tracking_scaling_policy_configuration_description.rs
│ │ │ ├── auto_scaling_target_tracking_scaling_policy_configuration_update.rs
│ │ │ ├── backup_description.rs
│ │ │ ├── backup_details.rs
│ │ │ ├── backup_status.rs
│ │ │ ├── backup_summary.rs
│ │ │ ├── backup_type.rs
│ │ │ ├── backup_type_filter.rs
│ │ │ ├── batch_execute_statement.rs
│ │ │ ├── batch_execute_statement
│ │ │ │ ├── _batch_execute_statement_request.rs
│ │ │ │ └── _batch_execute_statement_response.rs
│ │ │ ├── batch_get_item.rs
│ │ │ ├── batch_get_item
│ │ │ │ ├── _batch_get_item_request.rs
│ │ │ │ └── _batch_get_item_response.rs
│ │ │ ├── batch_statement_error.rs
│ │ │ ├── batch_statement_error_code_enum.rs
│ │ │ ├── batch_statement_request.rs
│ │ │ ├── batch_statement_response.rs
│ │ │ ├── batch_write_item.rs
│ │ │ ├── batch_write_item
│ │ │ │ ├── _batch_write_item_request.rs
│ │ │ │ └── _batch_write_item_response.rs
│ │ │ ├── billing_mode.rs
│ │ │ ├── billing_mode_summary.rs
│ │ │ ├── cancellation_reason.rs
│ │ │ ├── capacity.rs
│ │ │ ├── client.rs
│ │ │ ├── comparison_operator.rs
│ │ │ ├── condition.rs
│ │ │ ├── condition_check.rs
│ │ │ ├── conditional_operator.rs
│ │ │ ├── consumed_capacity.rs
│ │ │ ├── continuous_backups_description.rs
│ │ │ ├── continuous_backups_status.rs
│ │ │ ├── contributor_insights_action.rs
│ │ │ ├── contributor_insights_status.rs
│ │ │ ├── contributor_insights_summary.rs
│ │ │ ├── create_backup.rs
│ │ │ ├── create_backup
│ │ │ │ ├── _create_backup_request.rs
│ │ │ │ └── _create_backup_response.rs
│ │ │ ├── create_global_secondary_index_action.rs
│ │ │ ├── create_global_table.rs
│ │ │ ├── create_global_table
│ │ │ │ ├── _create_global_table_request.rs
│ │ │ │ └── _create_global_table_response.rs
│ │ │ ├── create_replica_action.rs
│ │ │ ├── create_replication_group_member_action.rs
│ │ │ ├── create_table.rs
│ │ │ ├── create_table
│ │ │ │ ├── _create_table_request.rs
│ │ │ │ └── _create_table_response.rs
│ │ │ ├── csv_options.rs
│ │ │ ├── delete.rs
│ │ │ ├── delete_backup.rs
│ │ │ ├── delete_backup
│ │ │ │ ├── _delete_backup_request.rs
│ │ │ │ └── _delete_backup_response.rs
│ │ │ ├── delete_global_secondary_index_action.rs
│ │ │ ├── delete_item.rs
│ │ │ ├── delete_item
│ │ │ │ ├── _delete_item_request.rs
│ │ │ │ └── _delete_item_response.rs
│ │ │ ├── delete_replica_action.rs
│ │ │ ├── delete_replication_group_member_action.rs
│ │ │ ├── delete_request.rs
│ │ │ ├── delete_resource_policy.rs
│ │ │ ├── delete_resource_policy
│ │ │ │ ├── _delete_resource_policy_request.rs
│ │ │ │ └── _delete_resource_policy_response.rs
│ │ │ ├── delete_table.rs
│ │ │ ├── delete_table
│ │ │ │ ├── _delete_table_request.rs
│ │ │ │ └── _delete_table_response.rs
│ │ │ ├── describe_backup.rs
│ │ │ ├── describe_backup
│ │ │ │ ├── _describe_backup_request.rs
│ │ │ │ └── _describe_backup_response.rs
│ │ │ ├── describe_continuous_backups.rs
│ │ │ ├── describe_continuous_backups
│ │ │ │ ├── _describe_continuous_backups_request.rs
│ │ │ │ └── _describe_continuous_backups_response.rs
│ │ │ ├── describe_contributor_insights.rs
│ │ │ ├── describe_contributor_insights
│ │ │ │ ├── _describe_contributor_insights_request.rs
│ │ │ │ └── _describe_contributor_insights_response.rs
│ │ │ ├── describe_endpoints.rs
│ │ │ ├── describe_endpoints
│ │ │ │ ├── _describe_endpoints_request.rs
│ │ │ │ └── _describe_endpoints_response.rs
│ │ │ ├── describe_export.rs
│ │ │ ├── describe_export
│ │ │ │ ├── _describe_export_request.rs
│ │ │ │ └── _describe_export_response.rs
│ │ │ ├── describe_global_table.rs
│ │ │ ├── describe_global_table
│ │ │ │ ├── _describe_global_table_request.rs
│ │ │ │ └── _describe_global_table_response.rs
│ │ │ ├── describe_global_table_settings.rs
│ │ │ ├── describe_global_table_settings
│ │ │ │ ├── _describe_global_table_settings_request.rs
│ │ │ │ └── _describe_global_table_settings_response.rs
│ │ │ ├── describe_import.rs
│ │ │ ├── describe_import
│ │ │ │ ├── _describe_import_request.rs
│ │ │ │ └── _describe_import_response.rs
│ │ │ ├── describe_kinesis_streaming_destination.rs
│ │ │ ├── describe_kinesis_streaming_destination
│ │ │ │ ├── _describe_kinesis_streaming_destination_request.rs
│ │ │ │ └── _describe_kinesis_streaming_destination_response.rs
│ │ │ ├── describe_limits.rs
│ │ │ ├── describe_limits
│ │ │ │ ├── _describe_limits_request.rs
│ │ │ │ └── _describe_limits_response.rs
│ │ │ ├── describe_table.rs
│ │ │ ├── describe_table
│ │ │ │ ├── _describe_table_request.rs
│ │ │ │ └── _describe_table_response.rs
│ │ │ ├── describe_table_replica_auto_scaling.rs
│ │ │ ├── describe_table_replica_auto_scaling
│ │ │ │ ├── _describe_table_replica_auto_scaling_request.rs
│ │ │ │ └── _describe_table_replica_auto_scaling_response.rs
│ │ │ ├── describe_time_to_live.rs
│ │ │ ├── describe_time_to_live
│ │ │ │ ├── _describe_time_to_live_request.rs
│ │ │ │ └── _describe_time_to_live_response.rs
│ │ │ ├── destination_status.rs
│ │ │ ├── disable_kinesis_streaming_destination.rs
│ │ │ ├── disable_kinesis_streaming_destination
│ │ │ │ ├── _disable_kinesis_streaming_destination_request.rs
│ │ │ │ └── _disable_kinesis_streaming_destination_response.rs
│ │ │ ├── enable_kinesis_streaming_configuration.rs
│ │ │ ├── enable_kinesis_streaming_destination.rs
│ │ │ ├── enable_kinesis_streaming_destination
│ │ │ │ ├── _enable_kinesis_streaming_destination_request.rs
│ │ │ │ └── _enable_kinesis_streaming_destination_response.rs
│ │ │ ├── endpoint.rs
│ │ │ ├── error.rs
│ │ │ ├── error
│ │ │ │ ├── backup_in_use_exception.rs
│ │ │ │ ├── backup_not_found_exception.rs
│ │ │ │ ├── conditional_check_failed_exception.rs
│ │ │ │ ├── continuous_backups_unavailable_exception.rs
│ │ │ │ ├── duplicate_item_exception.rs
│ │ │ │ ├── export_conflict_exception.rs
│ │ │ │ ├── export_not_found_exception.rs
│ │ │ │ ├── global_table_already_exists_exception.rs
│ │ │ │ ├── global_table_not_found_exception.rs
│ │ │ │ ├── idempotent_parameter_mismatch_exception.rs
│ │ │ │ ├── import_conflict_exception.rs
│ │ │ │ ├── import_not_found_exception.rs
│ │ │ │ ├── index_not_found_exception.rs
│ │ │ │ ├── internal_server_error.rs
│ │ │ │ ├── invalid_endpoint_exception.rs
│ │ │ │ ├── invalid_export_time_exception.rs
│ │ │ │ ├── invalid_restore_time_exception.rs
│ │ │ │ ├── item_collection_size_limit_exceeded_exception.rs
│ │ │ │ ├── limit_exceeded_exception.rs
│ │ │ │ ├── point_in_time_recovery_unavailable_exception.rs
│ │ │ │ ├── policy_not_found_exception.rs
│ │ │ │ ├── provisioned_throughput_exceeded_exception.rs
│ │ │ │ ├── replica_already_exists_exception.rs
│ │ │ │ ├── replica_not_found_exception.rs
│ │ │ │ ├── request_limit_exceeded.rs
│ │ │ │ ├── resource_in_use_exception.rs
│ │ │ │ ├── resource_not_found_exception.rs
│ │ │ │ ├── table_already_exists_exception.rs
│ │ │ │ ├── table_in_use_exception.rs
│ │ │ │ ├── table_not_found_exception.rs
│ │ │ │ ├── transaction_canceled_exception.rs
│ │ │ │ ├── transaction_conflict_exception.rs
│ │ │ │ └── transaction_in_progress_exception.rs
│ │ │ ├── execute_statement.rs
│ │ │ ├── execute_statement
│ │ │ │ ├── _execute_statement_request.rs
│ │ │ │ └── _execute_statement_response.rs
│ │ │ ├── execute_transaction.rs
│ │ │ ├── execute_transaction
│ │ │ │ ├── _execute_transaction_request.rs
│ │ │ │ └── _execute_transaction_response.rs
│ │ │ ├── expected_attribute_value.rs
│ │ │ ├── export_description.rs
│ │ │ ├── export_format.rs
│ │ │ ├── export_status.rs
│ │ │ ├── export_summary.rs
│ │ │ ├── export_table_to_point_in_time.rs
│ │ │ ├── export_table_to_point_in_time
│ │ │ │ ├── _export_table_to_point_in_time_request.rs
│ │ │ │ └── _export_table_to_point_in_time_response.rs
│ │ │ ├── export_type.rs
│ │ │ ├── export_view_type.rs
│ │ │ ├── failure_exception.rs
│ │ │ ├── get.rs
│ │ │ ├── get_item.rs
│ │ │ ├── get_item
│ │ │ │ ├── _get_item_request.rs
│ │ │ │ └── _get_item_response.rs
│ │ │ ├── get_resource_policy.rs
│ │ │ ├── get_resource_policy
│ │ │ │ ├── _get_resource_policy_request.rs
│ │ │ │ └── _get_resource_policy_response.rs
│ │ │ ├── global_secondary_index.rs
│ │ │ ├── global_secondary_index_auto_scaling_update.rs
│ │ │ ├── global_secondary_index_description.rs
│ │ │ ├── global_secondary_index_info.rs
│ │ │ ├── global_secondary_index_update.rs
│ │ │ ├── global_table.rs
│ │ │ ├── global_table_description.rs
│ │ │ ├── global_table_global_secondary_index_settings_update.rs
│ │ │ ├── global_table_status.rs
│ │ │ ├── import_status.rs
│ │ │ ├── import_summary.rs
│ │ │ ├── import_table.rs
│ │ │ ├── import_table
│ │ │ │ ├── _import_table_request.rs
│ │ │ │ └── _import_table_response.rs
│ │ │ ├── import_table_description.rs
│ │ │ ├── incremental_export_specification.rs
│ │ │ ├── index_status.rs
│ │ │ ├── input_compression_type.rs
│ │ │ ├── input_format.rs
│ │ │ ├── input_format_options.rs
│ │ │ ├── item_collection_metrics.rs
│ │ │ ├── item_response.rs
│ │ │ ├── key_schema_element.rs
│ │ │ ├── key_type.rs
│ │ │ ├── keys_and_attributes.rs
│ │ │ ├── kinesis_data_stream_destination.rs
│ │ │ ├── list_backups.rs
│ │ │ ├── list_backups
│ │ │ │ ├── _list_backups_request.rs
│ │ │ │ └── _list_backups_response.rs
│ │ │ ├── list_contributor_insights.rs
│ │ │ ├── list_contributor_insights
│ │ │ │ ├── _list_contributor_insights_request.rs
│ │ │ │ └── _list_contributor_insights_response.rs
│ │ │ ├── list_exports.rs
│ │ │ ├── list_exports
│ │ │ │ ├── _list_exports_request.rs
│ │ │ │ └── _list_exports_response.rs
│ │ │ ├── list_global_tables.rs
│ │ │ ├── list_global_tables
│ │ │ │ ├── _list_global_tables_request.rs
│ │ │ │ └── _list_global_tables_response.rs
│ │ │ ├── list_imports.rs
│ │ │ ├── list_imports
│ │ │ │ ├── _list_imports_request.rs
│ │ │ │ └── _list_imports_response.rs
│ │ │ ├── list_tables.rs
│ │ │ ├── list_tables
│ │ │ │ ├── _list_tables_request.rs
│ │ │ │ └── _list_tables_response.rs
│ │ │ ├── list_tags_of_resource.rs
│ │ │ ├── list_tags_of_resource
│ │ │ │ ├── _list_tags_of_resource_request.rs
│ │ │ │ └── _list_tags_of_resource_response.rs
│ │ │ ├── local_secondary_index.rs
│ │ │ ├── local_secondary_index_description.rs
│ │ │ ├── local_secondary_index_info.rs
│ │ │ ├── on_demand_throughput.rs
│ │ │ ├── on_demand_throughput_override.rs
│ │ │ ├── parameterized_statement.rs
│ │ │ ├── point_in_time_recovery_description.rs
│ │ │ ├── point_in_time_recovery_specification.rs
│ │ │ ├── point_in_time_recovery_status.rs
│ │ │ ├── projection.rs
│ │ │ ├── projection_type.rs
│ │ │ ├── provisioned_throughput.rs
│ │ │ ├── provisioned_throughput_description.rs
│ │ │ ├── provisioned_throughput_override.rs
│ │ │ ├── put.rs
│ │ │ ├── put_item.rs
│ │ │ ├── put_item
│ │ │ │ ├── _put_item_request.rs
│ │ │ │ └── _put_item_response.rs
│ │ │ ├── put_request.rs
│ │ │ ├── put_resource_policy.rs
│ │ │ ├── put_resource_policy
│ │ │ │ ├── _put_resource_policy_request.rs
│ │ │ │ └── _put_resource_policy_response.rs
│ │ │ ├── query.rs
│ │ │ ├── query
│ │ │ │ ├── _query_request.rs
│ │ │ │ └── _query_response.rs
│ │ │ ├── replica.rs
│ │ │ ├── replica_auto_scaling_description.rs
│ │ │ ├── replica_auto_scaling_update.rs
│ │ │ ├── replica_description.rs
│ │ │ ├── replica_global_secondary_index.rs
│ │ │ ├── replica_global_secondary_index_auto_scaling_description.rs
│ │ │ ├── replica_global_secondary_index_auto_scaling_update.rs
│ │ │ ├── replica_global_secondary_index_description.rs
│ │ │ ├── replica_global_secondary_index_settings_description.rs
│ │ │ ├── replica_global_secondary_index_settings_update.rs
│ │ │ ├── replica_settings_description.rs
│ │ │ ├── replica_settings_update.rs
│ │ │ ├── replica_status.rs
│ │ │ ├── replica_update.rs
│ │ │ ├── replication_group_update.rs
│ │ │ ├── restore_summary.rs
│ │ │ ├── restore_table_from_backup.rs
│ │ │ ├── restore_table_from_backup
│ │ │ │ ├── _restore_table_from_backup_request.rs
│ │ │ │ └── _restore_table_from_backup_response.rs
│ │ │ ├── restore_table_to_point_in_time.rs
│ │ │ ├── restore_table_to_point_in_time
│ │ │ │ ├── _restore_table_to_point_in_time_request.rs
│ │ │ │ └── _restore_table_to_point_in_time_response.rs
│ │ │ ├── return_consumed_capacity.rs
│ │ │ ├── return_item_collection_metrics.rs
│ │ │ ├── return_value.rs
│ │ │ ├── return_values_on_condition_check_failure.rs
│ │ │ ├── s3_bucket_source.rs
│ │ │ ├── s3_sse_algorithm.rs
│ │ │ ├── scalar_attribute_type.rs
│ │ │ ├── scan.rs
│ │ │ ├── scan
│ │ │ │ ├── _scan_request.rs
│ │ │ │ └── _scan_response.rs
│ │ │ ├── select.rs
│ │ │ ├── source_table_details.rs
│ │ │ ├── source_table_feature_details.rs
│ │ │ ├── sse_description.rs
│ │ │ ├── sse_specification.rs
│ │ │ ├── sse_status.rs
│ │ │ ├── sse_type.rs
│ │ │ ├── stream_specification.rs
│ │ │ ├── stream_view_type.rs
│ │ │ ├── table_auto_scaling_description.rs
│ │ │ ├── table_class.rs
│ │ │ ├── table_class_summary.rs
│ │ │ ├── table_creation_parameters.rs
│ │ │ ├── table_description.rs
│ │ │ ├── table_status.rs
│ │ │ ├── tag.rs
│ │ │ ├── tag_resource.rs
│ │ │ ├── tag_resource
│ │ │ │ └── _tag_resource_request.rs
│ │ │ ├── time_to_live_description.rs
│ │ │ ├── time_to_live_specification.rs
│ │ │ ├── time_to_live_status.rs
│ │ │ ├── transact_get_item.rs
│ │ │ ├── transact_get_items.rs
│ │ │ ├── transact_get_items
│ │ │ │ ├── _transact_get_items_request.rs
│ │ │ │ └── _transact_get_items_response.rs
│ │ │ ├── transact_write_item.rs
│ │ │ ├── transact_write_items.rs
│ │ │ ├── transact_write_items
│ │ │ │ ├── _transact_write_items_request.rs
│ │ │ │ └── _transact_write_items_response.rs
│ │ │ ├── untag_resource.rs
│ │ │ ├── untag_resource
│ │ │ │ └── _untag_resource_request.rs
│ │ │ ├── update.rs
│ │ │ ├── update_continuous_backups.rs
│ │ │ ├── update_continuous_backups
│ │ │ │ ├── _update_continuous_backups_request.rs
│ │ │ │ └── _update_continuous_backups_response.rs
│ │ │ ├── update_contributor_insights.rs
│ │ │ ├── update_contributor_insights
│ │ │ │ ├── _update_contributor_insights_request.rs
│ │ │ │ └── _update_contributor_insights_response.rs
│ │ │ ├── update_global_secondary_index_action.rs
│ │ │ ├── update_global_table.rs
│ │ │ ├── update_global_table
│ │ │ │ ├── _update_global_table_request.rs
│ │ │ │ └── _update_global_table_response.rs
│ │ │ ├── update_global_table_settings.rs
│ │ │ ├── update_global_table_settings
│ │ │ │ ├── _update_global_table_settings_request.rs
│ │ │ │ └── _update_global_table_settings_response.rs
│ │ │ ├── update_item.rs
│ │ │ ├── update_item
│ │ │ │ ├── _update_item_request.rs
│ │ │ │ └── _update_item_response.rs
│ │ │ ├── update_kinesis_streaming_configuration.rs
│ │ │ ├── update_kinesis_streaming_destination.rs
│ │ │ ├── update_kinesis_streaming_destination
│ │ │ │ ├── _update_kinesis_streaming_destination_request.rs
│ │ │ │ └── _update_kinesis_streaming_destination_response.rs
│ │ │ ├── update_replication_group_member_action.rs
│ │ │ ├── update_table.rs
│ │ │ ├── update_table
│ │ │ │ ├── _update_table_request.rs
│ │ │ │ └── _update_table_response.rs
│ │ │ ├── update_table_replica_auto_scaling.rs
│ │ │ ├── update_table_replica_auto_scaling
│ │ │ │ ├── _update_table_replica_auto_scaling_request.rs
│ │ │ │ └── _update_table_replica_auto_scaling_response.rs
│ │ │ ├── update_time_to_live.rs
│ │ │ ├── update_time_to_live
│ │ │ │ ├── _update_time_to_live_request.rs
│ │ │ │ └── _update_time_to_live_response.rs
│ │ │ └── write_request.rs
│ │ ├── types.rs
│ │ └── types
│ │ │ └── error.rs
│ ├── com_amazonaws_kms.rs
│ └── com_amazonaws_kms
│ │ ├── client.rs
│ │ ├── conversions.rs
│ │ ├── conversions
│ │ ├── algorithm_spec.rs
│ │ ├── alias_list_entry.rs
│ │ ├── cancel_key_deletion.rs
│ │ ├── cancel_key_deletion
│ │ │ ├── _cancel_key_deletion_request.rs
│ │ │ └── _cancel_key_deletion_response.rs
│ │ ├── client.rs
│ │ ├── connect_custom_key_store.rs
│ │ ├── connect_custom_key_store
│ │ │ ├── _connect_custom_key_store_request.rs
│ │ │ └── _connect_custom_key_store_response.rs
│ │ ├── connection_error_code_type.rs
│ │ ├── connection_state_type.rs
│ │ ├── create_alias.rs
│ │ ├── create_alias
│ │ │ └── _create_alias_request.rs
│ │ ├── create_custom_key_store.rs
│ │ ├── create_custom_key_store
│ │ │ ├── _create_custom_key_store_request.rs
│ │ │ └── _create_custom_key_store_response.rs
│ │ ├── create_grant.rs
│ │ ├── create_grant
│ │ │ ├── _create_grant_request.rs
│ │ │ └── _create_grant_response.rs
│ │ ├── create_key.rs
│ │ ├── create_key
│ │ │ ├── _create_key_request.rs
│ │ │ └── _create_key_response.rs
│ │ ├── custom_key_store_type.rs
│ │ ├── custom_key_stores_list_entry.rs
│ │ ├── customer_master_key_spec.rs
│ │ ├── data_key_pair_spec.rs
│ │ ├── data_key_spec.rs
│ │ ├── decrypt.rs
│ │ ├── decrypt
│ │ │ ├── _decrypt_request.rs
│ │ │ └── _decrypt_response.rs
│ │ ├── delete_alias.rs
│ │ ├── delete_alias
│ │ │ └── _delete_alias_request.rs
│ │ ├── delete_custom_key_store.rs
│ │ ├── delete_custom_key_store
│ │ │ ├── _delete_custom_key_store_request.rs
│ │ │ └── _delete_custom_key_store_response.rs
│ │ ├── delete_imported_key_material.rs
│ │ ├── delete_imported_key_material
│ │ │ └── _delete_imported_key_material_request.rs
│ │ ├── derive_shared_secret.rs
│ │ ├── derive_shared_secret
│ │ │ ├── _derive_shared_secret_request.rs
│ │ │ └── _derive_shared_secret_response.rs
│ │ ├── describe_custom_key_stores.rs
│ │ ├── describe_custom_key_stores
│ │ │ ├── _describe_custom_key_stores_request.rs
│ │ │ └── _describe_custom_key_stores_response.rs
│ │ ├── describe_key.rs
│ │ ├── describe_key
│ │ │ ├── _describe_key_request.rs
│ │ │ └── _describe_key_response.rs
│ │ ├── disable_key.rs
│ │ ├── disable_key
│ │ │ └── _disable_key_request.rs
│ │ ├── disable_key_rotation.rs
│ │ ├── disable_key_rotation
│ │ │ └── _disable_key_rotation_request.rs
│ │ ├── disconnect_custom_key_store.rs
│ │ ├── disconnect_custom_key_store
│ │ │ ├── _disconnect_custom_key_store_request.rs
│ │ │ └── _disconnect_custom_key_store_response.rs
│ │ ├── enable_key.rs
│ │ ├── enable_key
│ │ │ └── _enable_key_request.rs
│ │ ├── enable_key_rotation.rs
│ │ ├── enable_key_rotation
│ │ │ └── _enable_key_rotation_request.rs
│ │ ├── encrypt.rs
│ │ ├── encrypt
│ │ │ ├── _encrypt_request.rs
│ │ │ └── _encrypt_response.rs
│ │ ├── encryption_algorithm_spec.rs
│ │ ├── error.rs
│ │ ├── error
│ │ │ ├── already_exists_exception.rs
│ │ │ ├── cloud_hsm_cluster_in_use_exception.rs
│ │ │ ├── cloud_hsm_cluster_invalid_configuration_exception.rs
│ │ │ ├── cloud_hsm_cluster_not_active_exception.rs
│ │ │ ├── cloud_hsm_cluster_not_found_exception.rs
│ │ │ ├── cloud_hsm_cluster_not_related_exception.rs
│ │ │ ├── conflict_exception.rs
│ │ │ ├── custom_key_store_has_cmks_exception.rs
│ │ │ ├── custom_key_store_invalid_state_exception.rs
│ │ │ ├── custom_key_store_name_in_use_exception.rs
│ │ │ ├── custom_key_store_not_found_exception.rs
│ │ │ ├── dependency_timeout_exception.rs
│ │ │ ├── disabled_exception.rs
│ │ │ ├── dry_run_operation_exception.rs
│ │ │ ├── expired_import_token_exception.rs
│ │ │ ├── incorrect_key_exception.rs
│ │ │ ├── incorrect_key_material_exception.rs
│ │ │ ├── incorrect_trust_anchor_exception.rs
│ │ │ ├── invalid_alias_name_exception.rs
│ │ │ ├── invalid_arn_exception.rs
│ │ │ ├── invalid_ciphertext_exception.rs
│ │ │ ├── invalid_grant_id_exception.rs
│ │ │ ├── invalid_grant_token_exception.rs
│ │ │ ├── invalid_import_token_exception.rs
│ │ │ ├── invalid_key_usage_exception.rs
│ │ │ ├── invalid_marker_exception.rs
│ │ │ ├── key_unavailable_exception.rs
│ │ │ ├── kms_internal_exception.rs
│ │ │ ├── kms_invalid_mac_exception.rs
│ │ │ ├── kms_invalid_signature_exception.rs
│ │ │ ├── kms_invalid_state_exception.rs
│ │ │ ├── limit_exceeded_exception.rs
│ │ │ ├── malformed_policy_document_exception.rs
│ │ │ ├── not_found_exception.rs
│ │ │ ├── tag_exception.rs
│ │ │ ├── unsupported_operation_exception.rs
│ │ │ ├── xks_key_already_in_use_exception.rs
│ │ │ ├── xks_key_invalid_configuration_exception.rs
│ │ │ ├── xks_key_not_found_exception.rs
│ │ │ ├── xks_proxy_incorrect_authentication_credential_exception.rs
│ │ │ ├── xks_proxy_invalid_configuration_exception.rs
│ │ │ ├── xks_proxy_invalid_response_exception.rs
│ │ │ ├── xks_proxy_uri_endpoint_in_use_exception.rs
│ │ │ ├── xks_proxy_uri_in_use_exception.rs
│ │ │ ├── xks_proxy_uri_unreachable_exception.rs
│ │ │ ├── xks_proxy_vpc_endpoint_service_in_use_exception.rs
│ │ │ ├── xks_proxy_vpc_endpoint_service_invalid_configuration_exception.rs
│ │ │ └── xks_proxy_vpc_endpoint_service_not_found_exception.rs
│ │ ├── expiration_model_type.rs
│ │ ├── generate_data_key.rs
│ │ ├── generate_data_key
│ │ │ ├── _generate_data_key_request.rs
│ │ │ └── _generate_data_key_response.rs
│ │ ├── generate_data_key_pair.rs
│ │ ├── generate_data_key_pair
│ │ │ ├── _generate_data_key_pair_request.rs
│ │ │ └── _generate_data_key_pair_response.rs
│ │ ├── generate_data_key_pair_without_plaintext.rs
│ │ ├── generate_data_key_pair_without_plaintext
│ │ │ ├── _generate_data_key_pair_without_plaintext_request.rs
│ │ │ └── _generate_data_key_pair_without_plaintext_response.rs
│ │ ├── generate_data_key_without_plaintext.rs
│ │ ├── generate_data_key_without_plaintext
│ │ │ ├── _generate_data_key_without_plaintext_request.rs
│ │ │ └── _generate_data_key_without_plaintext_response.rs
│ │ ├── generate_mac.rs
│ │ ├── generate_mac
│ │ │ ├── _generate_mac_request.rs
│ │ │ └── _generate_mac_response.rs
│ │ ├── generate_random.rs
│ │ ├── generate_random
│ │ │ ├── _generate_random_request.rs
│ │ │ └── _generate_random_response.rs
│ │ ├── get_key_policy.rs
│ │ ├── get_key_policy
│ │ │ ├── _get_key_policy_request.rs
│ │ │ └── _get_key_policy_response.rs
│ │ ├── get_key_rotation_status.rs
│ │ ├── get_key_rotation_status
│ │ │ ├── _get_key_rotation_status_request.rs
│ │ │ └── _get_key_rotation_status_response.rs
│ │ ├── get_parameters_for_import.rs
│ │ ├── get_parameters_for_import
│ │ │ ├── _get_parameters_for_import_request.rs
│ │ │ └── _get_parameters_for_import_response.rs
│ │ ├── get_public_key.rs
│ │ ├── get_public_key
│ │ │ ├── _get_public_key_request.rs
│ │ │ └── _get_public_key_response.rs
│ │ ├── grant_constraints.rs
│ │ ├── grant_list_entry.rs
│ │ ├── grant_operation.rs
│ │ ├── import_key_material.rs
│ │ ├── import_key_material
│ │ │ ├── _import_key_material_request.rs
│ │ │ └── _import_key_material_response.rs
│ │ ├── key_agreement_algorithm_spec.rs
│ │ ├── key_encryption_mechanism.rs
│ │ ├── key_list_entry.rs
│ │ ├── key_manager_type.rs
│ │ ├── key_metadata.rs
│ │ ├── key_spec.rs
│ │ ├── key_state.rs
│ │ ├── key_usage_type.rs
│ │ ├── list_aliases.rs
│ │ ├── list_aliases
│ │ │ ├── _list_aliases_request.rs
│ │ │ └── _list_aliases_response.rs
│ │ ├── list_grants.rs
│ │ ├── list_grants
│ │ │ ├── _list_grants_request.rs
│ │ │ └── _list_grants_response.rs
│ │ ├── list_key_policies.rs
│ │ ├── list_key_policies
│ │ │ ├── _list_key_policies_request.rs
│ │ │ └── _list_key_policies_response.rs
│ │ ├── list_key_rotations.rs
│ │ ├── list_key_rotations
│ │ │ ├── _list_key_rotations_request.rs
│ │ │ └── _list_key_rotations_response.rs
│ │ ├── list_keys.rs
│ │ ├── list_keys
│ │ │ ├── _list_keys_request.rs
│ │ │ └── _list_keys_response.rs
│ │ ├── list_resource_tags.rs
│ │ ├── list_resource_tags
│ │ │ ├── _list_resource_tags_request.rs
│ │ │ └── _list_resource_tags_response.rs
│ │ ├── mac_algorithm_spec.rs
│ │ ├── message_type.rs
│ │ ├── multi_region_configuration.rs
│ │ ├── multi_region_key.rs
│ │ ├── multi_region_key_type.rs
│ │ ├── origin_type.rs
│ │ ├── put_key_policy.rs
│ │ ├── put_key_policy
│ │ │ └── _put_key_policy_request.rs
│ │ ├── re_encrypt.rs
│ │ ├── re_encrypt
│ │ │ ├── _re_encrypt_request.rs
│ │ │ └── _re_encrypt_response.rs
│ │ ├── recipient_info.rs
│ │ ├── replicate_key.rs
│ │ ├── replicate_key
│ │ │ ├── _replicate_key_request.rs
│ │ │ └── _replicate_key_response.rs
│ │ ├── retire_grant.rs
│ │ ├── retire_grant
│ │ │ └── _retire_grant_request.rs
│ │ ├── revoke_grant.rs
│ │ ├── revoke_grant
│ │ │ └── _revoke_grant_request.rs
│ │ ├── rotate_key_on_demand.rs
│ │ ├── rotate_key_on_demand
│ │ │ ├── _rotate_key_on_demand_request.rs
│ │ │ └── _rotate_key_on_demand_response.rs
│ │ ├── rotation_type.rs
│ │ ├── rotations_list_entry.rs
│ │ ├── schedule_key_deletion.rs
│ │ ├── schedule_key_deletion
│ │ │ ├── _schedule_key_deletion_request.rs
│ │ │ └── _schedule_key_deletion_response.rs
│ │ ├── sign.rs
│ │ ├── sign
│ │ │ ├── _sign_request.rs
│ │ │ └── _sign_response.rs
│ │ ├── signing_algorithm_spec.rs
│ │ ├── tag.rs
│ │ ├── tag_resource.rs
│ │ ├── tag_resource
│ │ │ └── _tag_resource_request.rs
│ │ ├── untag_resource.rs
│ │ ├── untag_resource
│ │ │ └── _untag_resource_request.rs
│ │ ├── update_alias.rs
│ │ ├── update_alias
│ │ │ └── _update_alias_request.rs
│ │ ├── update_custom_key_store.rs
│ │ ├── update_custom_key_store
│ │ │ ├── _update_custom_key_store_request.rs
│ │ │ └── _update_custom_key_store_response.rs
│ │ ├── update_key_description.rs
│ │ ├── update_key_description
│ │ │ └── _update_key_description_request.rs
│ │ ├── update_primary_region.rs
│ │ ├── update_primary_region
│ │ │ └── _update_primary_region_request.rs
│ │ ├── verify.rs
│ │ ├── verify
│ │ │ ├── _verify_request.rs
│ │ │ └── _verify_response.rs
│ │ ├── verify_mac.rs
│ │ ├── verify_mac
│ │ │ ├── _verify_mac_request.rs
│ │ │ └── _verify_mac_response.rs
│ │ ├── wrapping_key_spec.rs
│ │ ├── xks_key_configuration_type.rs
│ │ ├── xks_proxy_authentication_credential_type.rs
│ │ ├── xks_proxy_configuration_type.rs
│ │ └── xks_proxy_connectivity_type.rs
│ │ ├── types.rs
│ │ └── types
│ │ └── error.rs
│ ├── digest.rs
│ ├── ecdh.rs
│ ├── ecdsa.rs
│ ├── error.rs
│ ├── error
│ └── sealed_unhandled.rs
│ ├── hmac.rs
│ ├── implementation_from_dafny.rs
│ ├── kms.rs
│ ├── lib.rs
│ ├── local_cmc.rs
│ ├── operation.rs
│ ├── operation
│ ├── decrypt.rs
│ ├── decrypt
│ │ ├── _decrypt_input.rs
│ │ ├── _decrypt_output.rs
│ │ └── builders.rs
│ ├── encrypt.rs
│ └── encrypt
│ │ ├── _encrypt_input.rs
│ │ ├── _encrypt_output.rs
│ │ └── builders.rs
│ ├── oslang.rs
│ ├── random.rs
│ ├── rsa.rs
│ ├── sets.rs
│ ├── software_externs.rs
│ ├── standard_library_conversions.rs
│ ├── standard_library_externs.rs
│ ├── storm_tracker.rs
│ ├── time.rs
│ ├── types.rs
│ ├── types
│ ├── _decrypt_input.rs
│ ├── _decrypt_output.rs
│ ├── _encrypt_input.rs
│ ├── _encrypt_output.rs
│ ├── _net_v4_0_0_retry_policy.rs
│ ├── aws_encryption_sdk_config.rs
│ ├── builders.rs
│ └── error.rs
│ ├── uuid.rs
│ └── validation.rs
└── test
├── .gitignore
├── AWSEncryptionSDKTests.csproj
├── Crypto
└── Digest.dfy
├── SDK
├── Client
│ └── TestCommitmentPolicies.dfy
├── POCEncryptDecrypt.dfy
└── Serialize
│ └── EncryptionContext.dfy
├── StandardLibrary
├── Base64.dfy
├── StandardLibrary.dfy
└── UInt.dfy
├── Util
├── Sets.dfy
├── Streams.dfy
└── TestUtils.dfy
└── hkdf
├── HKDF.dfy
└── HKDFTest7OKM
/.github/CODEOWNERS:
--------------------------------------------------------------------------------
1 | # Each line is a file pattern followed by one or more owners.
2 | # https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
3 |
4 | # Default code owner for everything is our aws-crypto-tools group
5 | * @aws/aws-crypto-tools
6 |
--------------------------------------------------------------------------------
/.github/PULL_REQUEST_TEMPLATE.md:
--------------------------------------------------------------------------------
1 | _Issue #, if available:_
2 |
3 | _Description of changes:_
4 |
5 | _Squash/merge commit message, if applicable:_
6 |
7 | By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
8 |
--------------------------------------------------------------------------------
/.github/actions/install_smithy_dafny_codegen_dependencies/action.yml:
--------------------------------------------------------------------------------
1 | #
2 | # This local action sets up code dependencies
3 | # to run Smithy-Dafny CI in GitHub Actions workflows.
4 | #
5 |
6 | name: "Install Smithy-Dafny codegen dependencies"
7 | description: "Install Java package dependencies required to run Smithy-Dafny codegen"
8 | runs:
9 | using: "composite"
10 | steps:
11 | - name: Install smithy-dafny-codegen Rust dependencies locally
12 | uses: gradle/gradle-build-action@v2
13 | with:
14 | arguments: :codegen-client:pTML :codegen-core:pTML :rust-runtime:pTML
15 | build-root-directory: mpl/smithy-dafny/smithy-dafny-codegen-modules/smithy-rs
16 |
17 | - name: Install smithy-dafny-codegen Python dependencies locally
18 | uses: gradle/gradle-build-action@v2
19 | with:
20 | arguments: :smithy-python-codegen:pTML
21 | build-root-directory: mpl/smithy-dafny/codegen/smithy-dafny-codegen-modules/smithy-python/codegen
22 |
--------------------------------------------------------------------------------
/.github/dependabot.yml:
--------------------------------------------------------------------------------
1 | version: 2
2 | updates:
3 | - package-ecosystem: "github-actions"
4 | directory: ".github/workflows"
5 | schedule:
6 | interval: "daily"
7 | - package-ecosystem: "cargo"
8 | directory: "AwsEncryptionSDK/runtimes/rust"
9 | schedule:
10 | interval: "daily"
11 |
--------------------------------------------------------------------------------
/.github/not-grep.toml:
--------------------------------------------------------------------------------
1 | [prefix]
2 | "**/*.dfy" = """
3 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
4 | // SPDX-License-Identifier: Apache-2.0
5 | """
6 |
--------------------------------------------------------------------------------
/.github/workflows/ci_static-analysis.yaml:
--------------------------------------------------------------------------------
1 | # This workflow performs static analysis checks.
2 | name: static analysis
3 |
4 | on: ["pull_request"]
5 |
6 | jobs:
7 | not-grep:
8 | runs-on: ubuntu-latest
9 | steps:
10 | - uses: actions/checkout@v2
11 | - name: not-grep
12 | uses: mattsb42-meta/not-grep@1.0.0
13 |
--------------------------------------------------------------------------------
/.github/workflows/dafny_format_version.yaml:
--------------------------------------------------------------------------------
1 | # This workflow reads the project.properties
2 | # into the environment variables
3 | # and then creates an output variable for `dafnyFormatVersion `
4 | name: Dafny Format Version
5 |
6 | on:
7 | workflow_call:
8 | outputs:
9 | version:
10 | description: "The dafny version for format"
11 | value: ${{ jobs.getDafnyFormatVersion.outputs.version }}
12 |
13 | jobs:
14 | getDafnyFormatVersion:
15 | runs-on: ubuntu-22.04
16 | outputs:
17 | version: ${{ steps.read_property.outputs.dafnyFormatVersion }}
18 | steps:
19 | - uses: actions/checkout@v4
20 | - name: Read version from Properties-file
21 | id: read_property
22 | uses: christian-draeger/read-properties@1.1.1
23 | with:
24 | path: "./project.properties"
25 | properties: "dafnyFormatVersion"
26 |
--------------------------------------------------------------------------------
/.github/workflows/dafny_verify_version.yaml:
--------------------------------------------------------------------------------
1 | # This workflow reads the project.properties
2 | # into the environment variables
3 | # and then creates an output variable for `dafnyVerifyVersion `
4 | name: Dafny Verify Version
5 |
6 | on:
7 | workflow_call:
8 | outputs:
9 | version:
10 | description: "The dafny version for verify"
11 | value: ${{ jobs.getDafnyVerifyVersion.outputs.version }}
12 |
13 | jobs:
14 | getDafnyVerifyVersion:
15 | runs-on: ubuntu-22.04
16 | outputs:
17 | version: ${{ steps.read_property.outputs.dafnyVerifyVersion }}
18 | steps:
19 | - uses: actions/checkout@v4
20 | - name: Read version from Properties-file
21 | id: read_property
22 | uses: christian-draeger/read-properties@1.1.1
23 | with:
24 | path: "./project.properties"
25 | properties: "dafnyVerifyVersion"
26 |
--------------------------------------------------------------------------------
/.github/workflows/dafny_version.yaml:
--------------------------------------------------------------------------------
1 | # This workflow reads the project.properties
2 | # into the environment variables
3 | # and then creates an output variable for `dafnyVersion`
4 | name: Dafny Version
5 |
6 | on:
7 | workflow_call:
8 | outputs:
9 | version:
10 | description: "The dafny version"
11 | value: ${{ jobs.getDafnyVersion.outputs.version }}
12 |
13 | jobs:
14 | getDafnyVersion:
15 | runs-on: ubuntu-22.04
16 | outputs:
17 | version: ${{ steps.read_property.outputs.dafnyVersion }}
18 | steps:
19 | - uses: actions/checkout@v4
20 | - name: Read version from Properties-file
21 | id: read_property
22 | uses: christian-draeger/read-properties@1.1.1
23 | with:
24 | path: "./project.properties"
25 | properties: "dafnyVersion"
26 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/*
2 | .vscode/*
3 | *.sln?*
4 | **/.DS_Store
5 | build/*
6 | test/**/Output/*
7 | /package-lock.json
8 | **/node_modules
9 | *.log
10 |
11 | # Duvet output
12 | specification_compliance_report.html
13 |
14 | # VS Code local history
15 | /.history
16 |
17 | */**/.idea/
18 | /compliance
19 | /.smithy.lsp.log
20 | */**/Folder.DotSettings.user
--------------------------------------------------------------------------------
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "libraries"]
2 | path = libraries
3 | url = https://github.com/dafny-lang/libraries.git
4 | branch = mutable_map
5 | [submodule "aws-encryption-sdk-specification"]
6 | path = aws-encryption-sdk-specification
7 | url = https://github.com/awslabs/aws-encryption-sdk-specification.git
8 | [submodule "AwsEncryptionSDK/runtimes/net/TestVectorsV3/TestVectors/resources/aws-encryption-sdk-test-vectors"]
9 | path = AwsEncryptionSDK/runtimes/net/TestVectorsV3/TestVectors/resources/aws-encryption-sdk-test-vectors
10 | url = https://github.com/awslabs/aws-encryption-sdk-test-vectors.git
11 | [submodule "TestVectors/aws-encryption-sdk-test-vectors"]
12 | path = TestVectors/aws-encryption-sdk-test-vectors
13 | url = https://github.com/awslabs/aws-encryption-sdk-test-vectors.git
14 | [submodule "mpl"]
15 | path = mpl
16 | url = https://github.com/aws/aws-cryptographic-material-providers-library-dafny.git
--------------------------------------------------------------------------------
/.pre-commit-config.yaml:
--------------------------------------------------------------------------------
1 | repos:
2 | - repo: https://github.com/pre-commit/pre-commit-hooks
3 | rev: v2.2.3 # Use the ref you want to point at
4 | hooks:
5 | - id: trailing-whitespace
6 |
--------------------------------------------------------------------------------
/.prettierignore:
--------------------------------------------------------------------------------
1 | mpl
2 | aws-encryption-sdk-specification
3 | libraries
4 | TestVectors/aws-encryption-sdk-test-vectors
5 | AwsEncryptionSDK/runtimes/net/TestVectorsNative/TestVectorGenerator/resources/**/*.json
6 | TestVectors/dafny/TestVectors/**/*.json
7 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/.gitignore:
--------------------------------------------------------------------------------
1 | TestResults
2 | ImplementationFromDafny.cs
3 | TestsFromDafny.cs
4 | ImplementationFromDafny-cs.dtr
5 | TestsFromDafny-cs.dtr
6 |
7 | bin/
8 | obj/
9 |
10 | # Ignore *-cs.dtr files
11 | *-cs.dtr
12 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/codebuild/release/retrieve_api_access_key.py:
--------------------------------------------------------------------------------
1 | from signing_lib import retrieve_api_access_key
2 |
3 |
4 | if __name__ == '__main__':
5 | key = retrieve_api_access_key()
6 | print(key)
7 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/codebuild/release/retrieve_signed_assembly.py:
--------------------------------------------------------------------------------
1 | from signing_lib import retrieve_signed_assembly, parse_args
2 |
3 |
4 | if __name__ == '__main__':
5 | args = parse_args()
6 | retrieve_signed_assembly(args)
7 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/codebuild/release/upload_assembly.py:
--------------------------------------------------------------------------------
1 | from signing_lib import upload_assembly, parse_args
2 |
3 |
4 | if __name__ == '__main__':
5 | args = parse_args()
6 | upload_assembly(args)
7 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/codebuild/release/verify.yml:
--------------------------------------------------------------------------------
1 | version: 0.2
2 |
3 | env:
4 | variables:
5 | FILE_NAME: "AWS.Cryptography.EncryptionSDK.dll"
6 |
7 | phases:
8 | install:
9 | runtime-versions:
10 | dotnet: 6.0
11 | python: 3.x
12 | build:
13 | commands:
14 | # Check signature on net48 dll
15 | - mkdir net48
16 | - python AwsEncryptionSDK/codebuild/release/retrieve_signed_assembly.py --target net48 --unique-id $Env:UNIQUE_ID --output net48
17 | - $sig = Get-AuthenticodeSignature -FilePath net48/$Env:FILE_NAME
18 | - $sig | Format-List -Property *
19 | # Check signature on net6.0 dll
20 | - mkdir net6.0
21 | - python AwsEncryptionSDK/codebuild/release/retrieve_signed_assembly.py --target net6.0 --unique-id $Env:UNIQUE_ID --output net6.0
22 | - $sig = Get-AuthenticodeSignature -FilePath net6.0/$Env:FILE_NAME
23 | - $sig | Format-List -Property *
24 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/codegen-patches/AwsEncryptionSdk/java/dafny-4.9.0.patch:
--------------------------------------------------------------------------------
1 | diff --git a/AwsEncryptionSDK/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/encryptionsdk/model/EncryptInput.java b/AwsEncryptionSDK/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/encryptionsdk/model/EncryptInput.java
2 | index 67ac1304..7282539c 100644
3 | --- a/AwsEncryptionSDK/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/encryptionsdk/model/EncryptInput.java
4 | +++ b/AwsEncryptionSDK/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/encryptionsdk/model/EncryptInput.java
5 | @@ -192,7 +192,7 @@ public class EncryptInput {
6 | "`frameLength` must be greater than or equal to 1"
7 | );
8 | }
9 | - if (this._frameLengthSet && this.frameLength() > 4294967296) {
10 | + if (this._frameLengthSet && this.frameLength() > 4294967296L) {
11 | throw new IllegalArgumentException(
12 | "`frameLength` must be less than or equal to 4294967296."
13 | );
14 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/project.properties:
--------------------------------------------------------------------------------
1 | # This file stores the top level dafny version information.
2 | # All elements of the project need to agree on this version.
3 | dafnyVersion=4.9.0
4 | dafnyRuntimeJavaVersion=4.9.0
5 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/awscryptographyencryptionsdksmithygeneratedtypes/enums.go:
--------------------------------------------------------------------------------
1 | // Code generated by smithy-go-codegen DO NOT EDIT.
2 |
3 | package awscryptographyencryptionsdksmithygeneratedtypes
4 |
5 | type NetV4_0_0_RetryPolicy string
6 |
7 | const (
8 | NetV4_0_0_RetryPolicyForbidRetry NetV4_0_0_RetryPolicy = "FORBID_RETRY"
9 | NetV4_0_0_RetryPolicyAllowRetry NetV4_0_0_RetryPolicy = "ALLOW_RETRY"
10 | )
11 |
12 | func (NetV4_0_0_RetryPolicy) Values() []NetV4_0_0_RetryPolicy {
13 | return []NetV4_0_0_RetryPolicy{
14 | "FORBID_RETRY",
15 | "ALLOW_RETRY",
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/awscryptographyencryptionsdksmithygeneratedtypes/errors.go:
--------------------------------------------------------------------------------
1 | // Code generated by smithy-go-codegen DO NOT EDIT.
2 |
3 | package awscryptographyencryptionsdksmithygeneratedtypes
4 |
5 | import (
6 | "fmt"
7 | )
8 |
9 | type AwsEncryptionSdkException struct {
10 | AwsEncryptionSdkBaseException
11 | Message string
12 | ErrorCodeOverride *string
13 | }
14 |
15 | func (e AwsEncryptionSdkException) Error() string {
16 | return fmt.Sprintf("%s: %s", e.ErrorCodeOverride, e.Message)
17 | }
18 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/awscryptographyencryptionsdksmithygeneratedtypes/unmodelled_errors.go:
--------------------------------------------------------------------------------
1 | // Code generated by smithy-go-codegen DO NOT EDIT.
2 |
3 | package awscryptographyencryptionsdksmithygeneratedtypes
4 |
5 | import (
6 | "fmt"
7 | )
8 |
9 | type CollectionOfErrors struct {
10 | AwsEncryptionSdkBaseException
11 | ListOfErrors []error
12 | Message string
13 | }
14 |
15 | func (e CollectionOfErrors) Error() string {
16 | return fmt.Sprintf("message: %s\n err %v", e.Message, e.ListOfErrors)
17 | }
18 |
19 | type OpaqueError struct {
20 | AwsEncryptionSdkBaseException
21 | ErrObject interface{}
22 | }
23 |
24 | func (e OpaqueError) Error() string {
25 | return fmt.Sprintf("message: %v", e.ErrObject)
26 | }
27 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/awscryptographyencryptionsdksmithygeneratedtypes/enums.go:
--------------------------------------------------------------------------------
1 | // Code generated by smithy-go-codegen DO NOT EDIT.
2 |
3 | package awscryptographyencryptionsdksmithygeneratedtypes
4 |
5 | type NetV4_0_0_RetryPolicy string
6 |
7 | const (
8 | NetV4_0_0_RetryPolicyForbidRetry NetV4_0_0_RetryPolicy = "FORBID_RETRY"
9 | NetV4_0_0_RetryPolicyAllowRetry NetV4_0_0_RetryPolicy = "ALLOW_RETRY"
10 | )
11 |
12 | func (NetV4_0_0_RetryPolicy) Values() []NetV4_0_0_RetryPolicy {
13 | return []NetV4_0_0_RetryPolicy{
14 | "FORBID_RETRY",
15 | "ALLOW_RETRY",
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/awscryptographyencryptionsdksmithygeneratedtypes/errors.go:
--------------------------------------------------------------------------------
1 | // Code generated by smithy-go-codegen DO NOT EDIT.
2 |
3 | package awscryptographyencryptionsdksmithygeneratedtypes
4 |
5 | import (
6 | "fmt"
7 | )
8 |
9 | type AwsEncryptionSdkException struct {
10 | AwsEncryptionSdkBaseException
11 | Message string
12 | ErrorCodeOverride *string
13 | }
14 |
15 | func (e AwsEncryptionSdkException) Error() string {
16 | return fmt.Sprintf("%s: %s", e.ErrorCodeOverride, e.Message)
17 | }
18 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/awscryptographyencryptionsdksmithygeneratedtypes/unmodelled_errors.go:
--------------------------------------------------------------------------------
1 | // Code generated by smithy-go-codegen DO NOT EDIT.
2 |
3 | package awscryptographyencryptionsdksmithygeneratedtypes
4 |
5 | import (
6 | "fmt"
7 | )
8 |
9 | type CollectionOfErrors struct {
10 | AwsEncryptionSdkBaseException
11 | ListOfErrors []error
12 | Message string
13 | }
14 |
15 | func (e CollectionOfErrors) Error() string {
16 | return fmt.Sprintf("message: %s\n err %v", e.Message, e.ListOfErrors)
17 | }
18 |
19 | type OpaqueError struct {
20 | AwsEncryptionSdkBaseException
21 | ErrObject interface{}
22 | }
23 |
24 | func (e OpaqueError) Error() string {
25 | return fmt.Sprintf("message: %v", e.ErrObject)
26 | }
27 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/go/examples/clientsupplier/regionalroleclientsupplierconfig.go:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package clientsupplier
5 |
6 | /*
7 | File containing config for the RegionalRoleClientSupplier.
8 | In your own code, this might be hardcoded, or reference
9 | an external source, e.g. environment variables or AWS AppConfig.
10 | */
11 |
12 | const (
13 | usEast1IamRole = "arn:aws:iam::370957321024:role/GitHub-CI-Public-ESDK-Dafny-Role-only-us-east-1-KMS-keys"
14 | euWest1IamRole = "arn:aws:iam::370957321024:role/GitHub-CI-Public-ESDK-Dafny-Role-only-eu-west-1-KMS-keys"
15 | )
16 |
17 | func RegionIamRoleMap() map[string]string {
18 | return map[string]string{
19 | "us-east-1": usEast1IamRole,
20 | "eu-west-1": euWest1IamRole,
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/java/.gitattributes:
--------------------------------------------------------------------------------
1 | #
2 | # https://help.github.com/articles/dealing-with-line-endings/
3 | #
4 | # Linux start script should use lf
5 | /gradlew text eol=lf
6 |
7 | # These are Windows script files and should use crlf
8 | *.bat text eol=crlf
9 |
10 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/java/.gitignore:
--------------------------------------------------------------------------------
1 | # Ignore Gradle project-spefic cache dir
2 | .gradle
3 |
4 | # Ignore Gradle build output directory
5 | build
6 |
7 | # JetBranins
8 | .idea/*
9 | *.iml
10 |
11 | # Mac OS X
12 | .DS_Store
13 |
14 | # Dafny Generated Java
15 | src/main/dafny-generated/
16 | src/test/dafny-generated/
17 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/java/README.md:
--------------------------------------------------------------------------------
1 | # Important: Do not use this code. This package is AWS-internal.
2 |
3 | This is NOT the released version of the AWS Encryption SDK for Java.
4 |
5 | You can access the AWS Encryption SDK for Java at:
6 |
7 | - Github: https://github.com/aws/aws-encryption-sdk-java
8 | - Maven: https://mvnrepository.com/artifact/com.amazonaws/aws-encryption-sdk-java
9 |
10 | This is an in-development rewrite of the AWS Encryption SDK for Java and should not be used until development is complete.
11 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/java/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws/aws-encryption-sdk/b321a46a5ecf355445ca06c57c81f9db057fc8f6/AwsEncryptionSDK/runtimes/java/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/java/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
4 | networkTimeout=10000
5 | zipStoreBase=GRADLE_USER_HOME
6 | zipStorePath=wrapper/dists
7 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/java/settings.gradle.kts:
--------------------------------------------------------------------------------
1 | /*
2 | * This file was generated by the Gradle 'init' task.
3 | *
4 | * The settings file is used to specify which projects to include in your build.
5 | *
6 | * Detailed information about configuring a multi-project build in Gradle can be found
7 | * in the user manual at https://docs.gradle.org/8.1.1/userguide/multi_project_builds.html
8 | */
9 |
10 | rootProject.name = "aws-encryption-sdk"
11 | include("java")
12 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/java/src/main/java/software/amazon/cryptography/encryptionsdk/internaldafny/__default.java:
--------------------------------------------------------------------------------
1 | package software.amazon.cryptography.encryptionsdk.internaldafny;
2 |
3 | public class __default
4 | extends software.amazon.cryptography.encryptionsdk.internaldafny._ExternBase___default {}
5 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/java/src/main/java/software/amazon/cryptography/encryptionsdk/internaldafny/types/__default.java:
--------------------------------------------------------------------------------
1 | package software.amazon.cryptography.encryptionsdk.internaldafny.types;
2 |
3 | public class __default
4 | extends software.amazon.cryptography.encryptionsdk.internaldafny.types._ExternBase___default {}
5 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/encryptionsdk/model/NetV4_0_0_RetryPolicy.java:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | package software.amazon.cryptography.encryptionsdk.model;
5 |
6 | /**
7 | * During Decryption, Allow or Forbid ESDK-NET v4.0.0 Behavior if the ESDK Message Header fails the Header Authentication check.
8 | */
9 | public enum NetV4_0_0_RetryPolicy {
10 | FORBID_RETRY("FORBID_RETRY"),
11 |
12 | ALLOW_RETRY("ALLOW_RETRY");
13 |
14 | private final String value;
15 |
16 | private NetV4_0_0_RetryPolicy(String value) {
17 | this.value = value;
18 | }
19 |
20 | public String toString() {
21 | return String.valueOf(value);
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/net/Examples/ExampleUtils/WriteExampleResources.cs:
--------------------------------------------------------------------------------
1 | using System.IO;
2 | using static ExampleUtils.ExampleUtils;
3 |
4 | namespace ExampleUtils
5 | {
6 | public static class WriteExampleResources
7 | {
8 | public static void EncryptAndWrite(MemoryStream plaintext, string kmsKeyArn, string fileName)
9 | {
10 | var ciphertext = EncryptMessageWithKMSKey(plaintext, kmsKeyArn);
11 | WriteMessage(ciphertext, fileName);
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/net/Examples/resources/defaultRegionKmsKey.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws/aws-encryption-sdk/b321a46a5ecf355445ca06c57c81f9db057fc8f6/AwsEncryptionSDK/runtimes/net/Examples/resources/defaultRegionKmsKey.bin
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/net/Examples/resources/defaultRegionMrkKey.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws/aws-encryption-sdk/b321a46a5ecf355445ca06c57c81f9db057fc8f6/AwsEncryptionSDK/runtimes/net/Examples/resources/defaultRegionMrkKey.bin
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/net/Examples/resources/v4DefaultRegionKmsKey.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws/aws-encryption-sdk/b321a46a5ecf355445ca06c57c81f9db057fc8f6/AwsEncryptionSDK/runtimes/net/Examples/resources/v4DefaultRegionKmsKey.bin
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/net/Examples/resources/v4DefaultRegionMrkKey.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws/aws-encryption-sdk/b321a46a5ecf355445ca06c57c81f9db057fc8f6/AwsEncryptionSDK/runtimes/net/Examples/resources/v4DefaultRegionMrkKey.bin
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/net/Generated/AwsEncryptionSdk/AwsEncryptionSdkException.cs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | using System;
5 | using AWS.Cryptography.EncryptionSDK;
6 | namespace AWS.Cryptography.EncryptionSDK
7 | {
8 | public class AwsEncryptionSdkException : Exception
9 | {
10 | public AwsEncryptionSdkException(string message) : base(message) { }
11 | public string getMessage() { return this.Message; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/net/Generated/AwsEncryptionSdk/NetV4_0_0_RetryPolicy.cs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | using System;
5 | using AWS.Cryptography.EncryptionSDK;
6 | namespace AWS.Cryptography.EncryptionSDK
7 | {
8 | using Amazon.Runtime;
9 | public class NetV4_0_0_RetryPolicy : ConstantClass
10 | {
11 |
12 |
13 | public static readonly NetV4_0_0_RetryPolicy FORBID_RETRY = new NetV4_0_0_RetryPolicy("FORBID_RETRY");
14 |
15 | public static readonly NetV4_0_0_RetryPolicy ALLOW_RETRY = new NetV4_0_0_RetryPolicy("ALLOW_RETRY");
16 | public static readonly NetV4_0_0_RetryPolicy[] Values = {
17 | ALLOW_RETRY , FORBID_RETRY
18 | };
19 | public NetV4_0_0_RetryPolicy(string value) : base(value) { }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/net/Generated/AwsEncryptionSdk/OpaqueError.cs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | using System;
5 | using AWS.Cryptography.EncryptionSDK;
6 | namespace AWS.Cryptography.EncryptionSDK
7 | {
8 | public class OpaqueError : Exception
9 | {
10 | public readonly object obj;
11 | public OpaqueError(Exception ex) : base("OpaqueError:", ex) { this.obj = ex; }
12 | public OpaqueError() : base("Unknown Unexpected Error") { }
13 | public OpaqueError(object obj) : base(obj is Exception ? "OpaqueError:" : "Opaque obj is not an Exception.", obj as Exception) { this.obj = obj; }
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/net/Generated/AwsEncryptionSdk/OpaqueWithTextError.cs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | using System;
5 | using AWS.Cryptography.EncryptionSDK;
6 | namespace AWS.Cryptography.EncryptionSDK
7 | {
8 | public class OpaqueWithTextError : Exception
9 | {
10 | public readonly object obj;
11 | public readonly string objMessage;
12 | public OpaqueWithTextError(Exception ex) : base("OpaqueError:", ex) { this.obj = ex; this.objMessage = obj.ToString(); }
13 | public OpaqueWithTextError() : base("Unknown Unexpected Error") { }
14 | public OpaqueWithTextError(object obj, string objMessage) : base(obj is Exception ? "OpaqueWithTextError:" : "Opaque obj is not an Exception.", obj as Exception) { this.obj = obj; this.objMessage = objMessage; }
15 | }
16 |
17 | }
18 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/net/TestVectorsNative/TestVectorGenerator/AWSEncryptionSDKTestVectorGenerator.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net6.0;net48
6 | 10
7 | enable
8 | AWSEncryptionSDKTestVectorGenerator
9 | 0.1.0
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/net/TestVectorsNative/TestVectorGenerator/README.md:
--------------------------------------------------------------------------------
1 | # TestVectorGenerator
2 |
3 | This project generates decryption test vectors,
4 | as described in .
5 |
6 | ## Usage
7 |
8 | Prerequisites:
9 |
10 | - Set up AWS credentials
11 | - Create an empty output directory, e.g. `generated_vectors`
12 |
13 | From this directory, run the following:
14 |
15 | ```bash
16 | $ dotnet run -- \
17 | --encrypt-manifest resources/0006-awses-message-decryption-generation.v2.json \
18 | --output-dir generated_vectors
19 | ```
20 |
21 | Point your decryption test vector runner to `generated_vectors/manifest.json`
22 | in order to decrypt the generated vectors.
23 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/net/TestVectorsNative/TestVectorLib/AWSEncryptionSDKTestVectorLib.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net6.0;net48
5 | 10
6 | enable
7 | enable
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/net/TestVectorsNative/TestVectors/README.md:
--------------------------------------------------------------------------------
1 | This directory holds Dafny and C# code which decrypts the test vectors in
2 |
3 | Download and unzip a set of vectors.
4 |
5 | Set the `DAFNY_AWS_ESDK_TEST_VECTOR_MANIFEST_PATH` environment variable as the absolute path of the `manifest.json` to use.
6 |
7 | ```
8 | export DAFNY_AWS_ESDK_TEST_VECTOR_MANIFEST_PATH=""
9 | ```
10 |
11 | To run the test vectors from this directory, run the following command:
12 |
13 | ```
14 | dotnet test
15 | ```
16 |
17 | To run the test vectors from the base directory, run the following command:
18 |
19 | ```
20 | dotnet test TestVectors
21 | ```
22 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/net/TestVectorsNative/TestVectors/resources/invalid-Net-4.0.0.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws/aws-encryption-sdk/b321a46a5ecf355445ca06c57c81f9db057fc8f6/AwsEncryptionSDK/runtimes/net/TestVectorsNative/TestVectors/resources/invalid-Net-4.0.0.zip
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/net/TestVectorsNative/TestVectors/resources/v4-Net-4.0.1.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws/aws-encryption-sdk/b321a46a5ecf355445ca06c57c81f9db057fc8f6/AwsEncryptionSDK/runtimes/net/TestVectorsNative/TestVectors/resources/v4-Net-4.0.1.zip
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/net/TestVectorsNative/TestVectors/resources/valid-Net-4.0.0.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws/aws-encryption-sdk/b321a46a5ecf355445ca06c57c81f9db057fc8f6/AwsEncryptionSDK/runtimes/net/TestVectorsNative/TestVectors/resources/valid-Net-4.0.0.zip
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/net/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws/aws-encryption-sdk/b321a46a5ecf355445ca06c57c81f9db057fc8f6/AwsEncryptionSDK/runtimes/net/icon.png
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/net/runsettings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | cobertura
9 |
10 | [xunit.*]*,[BouncyCastle.*]*
11 |
12 | true
13 |
14 | true
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/python/.gitignore:
--------------------------------------------------------------------------------
1 | # Python build artifacts
2 | __pycache__
3 | **/__pycache__
4 | *.pyc
5 | src/**.egg-info/
6 | build
7 | poetry.lock
8 | **/poetry.lock
9 | dist
10 |
11 | # Dafny-generated Python
12 | **/internaldafny/generated/*.py
13 |
14 | # Python test artifacts
15 | .tox
16 | .pytest_cache
17 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/python/README.md:
--------------------------------------------------------------------------------
1 | # Important: Do not use this code. This package is AWS-internal.
2 |
3 | This is NOT the released version of the AWS Encryption SDK for Python.
4 |
5 | You can access the AWS Encryption SDK for Python at:
6 |
7 | - Github: https://github.com/aws/aws-encryption-sdk-python
8 | - PyPI: https://pypi.org/project/aws-encryption-sdk/
9 |
10 | This is an in-development rewrite of the AWS Encryption SDK for Python and should not be used until development is complete.
11 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/python/src/aws_encryption_sdk_dafny/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 |
4 | # Initialize generated Dafny
5 | from .internaldafny.generated import module_
6 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/python/src/aws_encryption_sdk_dafny/internaldafny/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/python/src/aws_encryption_sdk_dafny/smithygenerated/aws_cryptography_encryptionsdk/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 | # Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/python/test/internaldafny/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/python/test/internaldafny/generated/dafny_test-py.dtr:
--------------------------------------------------------------------------------
1 | file_format_version = "1.0"
2 | dafny_version = "4.9.0.0"
3 | [options_by_module.Fixtures]
4 | legacy-module-names = false
5 | [options_by_module.TestRequiredEncryptionContext]
6 | legacy-module-names = false
7 | [options_by_module.TestReproducedEncryptionContext]
8 | legacy-module-names = false
9 | [options_by_module.TestEncryptDecrypt]
10 | legacy-module-names = false
11 | [options_by_module.TestCreateEsdkClient]
12 | legacy-module-names = false
13 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/python/test/internaldafny/test_dafny_wrapper.py:
--------------------------------------------------------------------------------
1 | # Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 |
4 | """
5 | Wrapper file for executing Dafny tests from pytest.
6 | This allows us to import modules required by Dafny-generated tests
7 | before executing Dafny-generated tests.
8 | pytest will find and execute the `test_dafny` method below,
9 | which will execute the `internaldafny_test_executor.py` file in the `dafny` directory.
10 | """
11 |
12 | import sys
13 |
14 | internaldafny_dir = '/'.join(__file__.split("/")[:-1])
15 |
16 | sys.path.append(internaldafny_dir + "/extern")
17 | sys.path.append(internaldafny_dir + "/generated")
18 |
19 |
20 | def test_dafny():
21 | from .generated import __main__
22 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/python/tox.ini:
--------------------------------------------------------------------------------
1 | [tox]
2 | isolated_build = True
3 | envlist =
4 | py{311,312}
5 |
6 | [testenv]
7 | skip_install = true
8 | allowlist_externals = poetry
9 | passenv = AWS_*
10 | commands_pre =
11 | poetry lock
12 | poetry install
13 | commands =
14 | poetry run pytest -s -v test/
15 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/rust/.gitignore:
--------------------------------------------------------------------------------
1 | *.pem
2 | Cargo.lock
3 | client.rs
4 | conversions.rs
5 | deps.rs
6 | error.rs
7 | operation.rs
8 | src/aes_gcm.rs
9 | src/aes_kdf_ctr.rs
10 | src/client/
11 | src/concurrent_call.rs
12 | src/conversions/
13 | src/dafny_libraries.rs
14 | src/ddb.rs
15 | src/deps/
16 | src/digest.rs
17 | src/ecdh.rs
18 | src/ecdsa.rs
19 | src/error/
20 | src/hmac.rs
21 | src/implementation_from_dafny.rs
22 | src/kms.rs
23 | src/local_cmc.rs
24 | src/operation/
25 | src/oslang.rs
26 | src/random.rs
27 | src/rsa.rs
28 | src/sets.rs
29 | src/software_externs.rs
30 | src/storm_tracker.rs
31 | src/time.rs
32 | src/types/
33 | src/uuid.rs
34 | src/validation.rs
35 | standard_library_conversions.rs
36 | standard_library_externs.rs
37 | target
38 | types.rs
39 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/rust/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | All notable changes to this project will be documented in this file.
4 |
5 | ## 0.2.0 (2024-12-18)
6 |
7 | ### Fixes
8 |
9 | - Support input validation
10 |
11 | ### Maintenance
12 |
13 | - Add version branch key example
14 |
15 | ## 0.1.0 (2024-12-09)
16 |
17 | Initial launch of the AWS Encryption SDK for Rust.
18 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/rust/RELEASE.md:
--------------------------------------------------------------------------------
1 | To publish a new version of the aws-esdk for version N.N.N
2 |
3 | 1. Acquire the appropriate AWS permissions to run the tests
4 | 1. Ensure that `dafny --version` refers to the appropropriate version for Rust
5 | 1. Ensure git checkout of main is fresh and clean
6 | 1. ./start_release.sh N.N.N
7 | 1. `cd ../../../releases/rust/esdk`
8 | 1. Create a PR with all changed or added files
9 | 1. Within the PR, make sure you also:
10 | 1. Update the `CHANGELOG.md` inside AwsEncryptionSDK/runtimes/rust/ with the changes
11 | 1. If this is a major version bump, update the `SUPPORT_POLICY.rst` for Rust
12 | 1. Get the PR reviewed by a teammate
13 | 1. Before merging the PR, publish the new version of the `aws-esdk` crate and test the published crate (documented in next steps)
14 | 1. Run `cargo publish`
15 | 1. `cd ../../../AwsEncryptionSDK/runtimes/rust/` # i.e. return here
16 | 1. ./test_published.sh N.N.N
17 | 1. Ignore/stash the changes in `AwsEncryptionSDK/runtimes/rust/test_examples/Cargo.toml` which adds the `aws-esdk` crate
18 | 1. Merge the release PR
19 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/rust/copy_externs.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash -eu
2 |
3 | cd $( dirname ${BASH_SOURCE[0]} )
4 |
5 | SRC=../../../mpl/AwsCryptographicMaterialProviders/runtimes/rust/src/
6 |
7 | cp $SRC/aes_gcm.rs src
8 | cp $SRC/aes_kdf_ctr.rs src
9 | cp $SRC/concurrent_call.rs src
10 | cp $SRC/dafny_libraries.rs src
11 | cp $SRC/ddb.rs src
12 | cp $SRC/digest.rs src
13 | cp $SRC/ecdh.rs src
14 | cp $SRC/ecdsa.rs src
15 | cp $SRC/hmac.rs src
16 | cp $SRC/kms.rs src
17 | cp $SRC/local_cmc.rs src
18 | cp $SRC/oslang.rs src
19 | cp $SRC/random.rs src
20 | cp $SRC/rsa.rs src
21 | cp $SRC/sets.rs src
22 | cp $SRC/software_externs.rs src
23 | cp $SRC/storm_tracker.rs src
24 | cp $SRC/time.rs src
25 | cp $SRC/uuid.rs src
26 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/rust/examples/client_supplier/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | pub mod client_supplier_example;
5 | pub mod regional_role_client_supplier;
6 | pub mod regional_role_client_supplier_config;
7 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/rust/examples/client_supplier/regional_role_client_supplier_config.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | use std::collections::HashMap;
5 |
6 | /*
7 | Class containing config for the RegionalRoleClientSupplier.
8 | In your own code, this might be hardcoded, or reference
9 | an external source, e.g. environment variables or AWS AppConfig.
10 | */
11 |
12 | const US_EAST_1_IAM_ROLE: &str =
13 | "arn:aws:iam::370957321024:role/GitHub-CI-Public-ESDK-Dafny-Role-only-us-east-1-KMS-keys";
14 |
15 | const EU_WEST_1_IAM_ROLE: &str =
16 | "arn:aws:iam::370957321024:role/GitHub-CI-Public-ESDK-Dafny-Role-only-eu-west-1-KMS-keys";
17 |
18 | pub fn region_iam_role_map() -> HashMap {
19 | HashMap::from([
20 | ("us-east-1".to_string(), US_EAST_1_IAM_ROLE.to_string()),
21 | ("eu-west-1".to_string(), EU_WEST_1_IAM_ROLE.to_string()),
22 | ])
23 | }
24 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/rust/examples/cryptographic_materials_manager/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | pub mod required_encryption_context;
5 | pub mod restrict_algorithm_suite;
6 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/rust/examples/cryptographic_materials_manager/required_encryption_context/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | pub mod required_encryption_context_example;
5 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/rust/examples/cryptographic_materials_manager/restrict_algorithm_suite/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | pub mod signing_only_example;
5 | pub mod signing_suite_only_cmm;
6 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/rust/examples/example_utils/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | pub mod utils;
5 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/rust/examples/keyring/aws_kms_hierarchical/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | pub mod aws_kms_hierarchical_keyring_example;
5 | pub mod create_branch_key_id;
6 | pub mod version_branch_key_id_example;
7 | pub mod example_branch_key_id_supplier;
8 | pub mod shared_cache_across_hierarchical_keyrings_example;
9 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/rust/examples/keyring/ecdh/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | pub mod raw_ecdh_keyring_example;
5 | pub mod ephemeral_raw_ecdh_keyring_example;
6 | pub mod public_key_discovery_raw_ecdh_keyring_example;
7 | pub mod kms_ecdh_keyring_example;
8 | pub mod kms_ecdh_discovery_keyring_example;
9 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/rust/examples/keyring/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | pub mod aws_kms_discovery_keyring_example;
5 | pub mod aws_kms_discovery_multi_keyring_example;
6 | pub mod aws_kms_keyring_example;
7 | pub mod aws_kms_mrk_discovery_keyring_example;
8 | pub mod aws_kms_mrk_discovery_multi_keyring_example;
9 | pub mod aws_kms_mrk_keyring_example;
10 | pub mod aws_kms_mrk_multi_keyring_example;
11 | pub mod aws_kms_multi_keyring_example;
12 | pub mod aws_kms_rsa_keyring_example;
13 | pub mod multi_keyring_example;
14 | pub mod raw_aes_keyring_example;
15 | pub mod raw_rsa_keyring_example;
16 | pub mod aws_kms_hierarchical;
17 | pub mod ecdh;
18 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/rust/test_examples/.gitignore:
--------------------------------------------------------------------------------
1 | *~
2 | *.pem
3 | src
4 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/rust/test_examples/Cargo.toml:
--------------------------------------------------------------------------------
1 | [package]
2 | name = "aws-esdk-examples"
3 | edition = "2021"
4 | rust-version = "1.81.0"
5 |
6 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7 |
8 | [dependencies]
9 | aws-config = "1.5.15"
10 | aws-lc-rs = "=1.12.2"
11 | aws-lc-sys = "=0.25.1"
12 | aws-sdk-dynamodb = "1.62.0"
13 | aws-sdk-kms = "1.57.0"
14 | aws-smithy-runtime-api = {version = "1.7.3", features = ["client"] }
15 | aws-smithy-types = "1.2.12"
16 | chrono = "0.4.39"
17 | dafny-runtime = "0.1.1"
18 | dashmap = "6.1.0"
19 | pem = "3.0.4"
20 | rand = "0.9.0"
21 | tokio = {version = "1.43.0", features = ["full"] }
22 | uuid = { version = "1.12.1", features = ["v4"] }
23 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/rust/test_published.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash -eu
2 |
3 | # Check if exactly one argument is provided
4 | if [ "$#" -ne 1 ]; then
5 | echo 1>&2 "USAGE: test_published.sh N.N.N"
6 | exit 1
7 | fi
8 |
9 | # Go to the directory of this script
10 | cd $( dirname ${BASH_SOURCE[0]} )
11 |
12 | # Check if the provided argument matches the version pattern
13 | REGEX_VERSION='^\d+\.\d+\.\d+$'
14 | echo "$1" | egrep -q $REGEX_VERSION
15 | if [ $? -ne 0 ]; then
16 | echo 1>&2 "Version \"$1\" must be N.N.N"
17 | exit 1
18 | fi
19 |
20 | VERSION=$1
21 |
22 | # Update examples in test_examples directory
23 | rm -rf test_examples/src
24 | cp -r examples test_examples/src/
25 | cd test_examples
26 |
27 | # Add aws-esdk
28 | cargo add aws-esdk
29 |
30 | # Check if the added version matches the provided version
31 | MATCH=$(fgrep "aws-esdk = \"$VERSION\"" Cargo.toml | wc -l)
32 | if [ $MATCH -eq "0" ]; then
33 | echo Version $VERSION of aws-esdk not the most recent
34 | egrep '^aws-esdk' Cargo.toml
35 | exit 1
36 | fi
37 |
38 | # Run the cargo project
39 | cargo test --release
40 |
--------------------------------------------------------------------------------
/AwsEncryptionSDK/runtimes/rust/upgrade_examples.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash -eu
2 |
3 | rm -rf test_examples/src
4 | cp -r examples test_examples/src/
5 | cd test_examples
6 | cargo upgrade
7 | rm -rf src
8 |
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | ## Code of Conduct
2 |
3 | This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
4 | For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
5 | opensource-codeofconduct@amazon.com with any additional questions or comments.
6 |
--------------------------------------------------------------------------------
/NOTICE:
--------------------------------------------------------------------------------
1 | AWS Encryption SDK Dafny
2 | Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 |
--------------------------------------------------------------------------------
/TestVectors/.gitignore:
--------------------------------------------------------------------------------
1 | TestResults
2 | ImplementationFromDafny.cs
3 | TestsFromDafny.cs
4 | ImplementationFromDafny-cs.dtr
5 | TestsFromDafny-cs.dtr
6 | **/bin
7 | **/obj
8 | runtimes/java/dafny
9 | runtimes/**/encrypt-manifest.json
10 | runtimes/**/decrypt-manifest.json
11 | runtimes/**/keys.json
12 | runtimes/**/ciphertexts/
13 | runtimes/**/plaintexts/
14 |
15 | dafny/TestVectors/test/test.json
16 | dafny/TestVectors/test/decrypt-manifest.json
17 |
18 | # Include some files needed for legacy testing between JS and Go
19 | !runtimes/go/encrypt-manifest.json
20 |
21 | # Include directory structure for Rust TestVectors
22 | !dafny/TestVectors/test/plaintexts/
23 | !dafny/TestVectors/test/ciphertexts/
24 |
25 | dafny/TestVectors/test/plaintexts/*
26 | dafny/TestVectors/test/ciphertexts/*
27 |
28 | !dafny/TestVectors/test/plaintexts/.gitkeep
29 | !dafny/TestVectors/test/ciphertexts/.gitkeep
30 |
31 | !runtimes/rust/ciphertexts/
32 | !runtimes/rust/plaintexts/
33 |
34 | runtimes/rust/ciphertexts/*
35 | runtimes/rust/plaintexts/*
36 |
37 | !runtimes/rust/plaintexts/.gitkeep
38 | !runtimes/rust/ciphertexts/.gitkeep
39 |
--------------------------------------------------------------------------------
/TestVectors/codegen-patches/TestVectors/dafny/dafny-4.8.1.patch:
--------------------------------------------------------------------------------
1 | diff --git a/TestVectors/dafny/TestVectors/Model/AwsCryptographyEncryptionSdkTypesWrapped.dfy b/TestVectors/dafny/TestVectors/Model/AwsCryptographyEncryptionSdkTypesWrapped.dfy
2 | index 6aafd4df..f50dacb9 100644
3 | --- a/TestVectors/dafny/TestVectors/Model/AwsCryptographyEncryptionSdkTypesWrapped.dfy
4 | +++ b/TestVectors/dafny/TestVectors/Model/AwsCryptographyEncryptionSdkTypesWrapped.dfy
5 | @@ -2,6 +2,10 @@
6 | // SPDX-License-Identifier: Apache-2.0
7 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
8 | include "../../../../mpl/StandardLibrary/src/Index.dfy"
9 | + // BEGIN MANUAL EDIT
10 | +include "../../../../AwsEncryptionSDK/dafny/AwsEncryptionSdk/src/Index.dfy"
11 | +include "../../../../mpl/TestVectorsAwsCryptographicMaterialProviders/dafny/KeyVectors/src/Index.dfy"
12 | + // END MANUAL EDIT
13 | include "../src/Index.dfy"
14 | abstract module WrappedAbstractAwsCryptographyEncryptionSdkService {
15 | import opened Wrappers
16 |
--------------------------------------------------------------------------------
/TestVectors/dafny/TestVectors/test/ciphertexts/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws/aws-encryption-sdk/b321a46a5ecf355445ca06c57c81f9db057fc8f6/TestVectors/dafny/TestVectors/test/ciphertexts/.gitkeep
--------------------------------------------------------------------------------
/TestVectors/dafny/TestVectors/test/invalid-Net-4.0.0.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws/aws-encryption-sdk/b321a46a5ecf355445ca06c57c81f9db057fc8f6/TestVectors/dafny/TestVectors/test/invalid-Net-4.0.0.zip
--------------------------------------------------------------------------------
/TestVectors/dafny/TestVectors/test/plaintexts/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws/aws-encryption-sdk/b321a46a5ecf355445ca06c57c81f9db057fc8f6/TestVectors/dafny/TestVectors/test/plaintexts/.gitkeep
--------------------------------------------------------------------------------
/TestVectors/dafny/TestVectors/test/v4-Net-4.0.1.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws/aws-encryption-sdk/b321a46a5ecf355445ca06c57c81f9db057fc8f6/TestVectors/dafny/TestVectors/test/v4-Net-4.0.1.zip
--------------------------------------------------------------------------------
/TestVectors/dafny/TestVectors/test/valid-Net-4.0.0.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws/aws-encryption-sdk/b321a46a5ecf355445ca06c57c81f9db057fc8f6/TestVectors/dafny/TestVectors/test/valid-Net-4.0.0.zip
--------------------------------------------------------------------------------
/TestVectors/runtimes/go/ImplementationFromDafny-go/WrappedESDK/extern.go:
--------------------------------------------------------------------------------
1 | package WrappedESDK
2 |
3 | import (
4 | "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/Wrappers"
5 | "github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk/AwsCryptographyEncryptionSdkTypes"
6 | "github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk/test/WrappedAwsCryptographyEncryptionSdkService"
7 | )
8 |
9 | func (_static CompanionStruct_Default___) WrappedESDK(config AwsCryptographyEncryptionSdkTypes.AwsEncryptionSdkConfig) Wrappers.Result {
10 | return WrappedAwsCryptographyEncryptionSdkService.WrappedESDK(config)
11 | }
12 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/go/TestsFromDafny-go/TestWrappedESDKMain/extern.go:
--------------------------------------------------------------------------------
1 | package TestWrappedESDKMain
2 |
3 | import (
4 | os "os"
5 |
6 | "github.com/dafny-lang/DafnyRuntimeGo/v4/dafny"
7 | )
8 |
9 | // TODO: Remove this once Dafny bug is fixed.
10 | // Dafny bug: https://t.corp.amazon.com/9a9028fd-2711-4843-b8f0-09965f7e61a7/communication#f03694be-7410-47f9-866d-e43093b018f9
11 | var m_TestWrappedESDKMain = CompanionStruct_Default___{}
12 |
13 | func (CompanionStruct_Default___) GetTestVectorExecutionDirectory() dafny.Sequence {
14 | cwd, err := os.Getwd()
15 | if err != nil {
16 | panic(err)
17 | }
18 | return dafny.SeqOfString(cwd + "/../../../")
19 | }
20 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/java/.gitattributes:
--------------------------------------------------------------------------------
1 | #
2 | # https://help.github.com/articles/dealing-with-line-endings/
3 | #
4 | # Linux start script should use lf
5 | /gradlew text eol=lf
6 |
7 | # These are Windows script files and should use crlf
8 | *.bat text eol=crlf
9 |
10 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/java/.gitignore:
--------------------------------------------------------------------------------
1 | # Ignore Gradle project-specific cache directory
2 | .gradle
3 | # For TestMPL, the build.gradle.kts define's the gradle wrapper version.
4 | # This prevents having ANOTHER copy of gradle in the repo
5 | gradlew
6 | gradlew.bat
7 | gradle/wrapper/gradle-wrapper.jar
8 |
9 | # Ignore Gradle build output directory
10 | build
11 |
12 | # JetBrains
13 | .idea/*
14 | *.iml
15 |
16 | # Mac OS X
17 | .DS_Store
18 |
19 | # Dafny Generated Java
20 | src/main/dafny-generated/
21 | src/test/dafny-generated/
22 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/java/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.4-bin.zip
4 | networkTimeout=10000
5 | zipStoreBase=GRADLE_USER_HOME
6 | zipStorePath=wrapper/dists
7 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/java/settings.gradle.kts:
--------------------------------------------------------------------------------
1 | /*
2 | * This file was generated by the Gradle 'init' task.
3 | *
4 | * The settings file is used to specify which projects to include in your build.
5 | *
6 | * Detailed information about configuring a multi-project build in Gradle can be found
7 | * in the user manual at https://docs.gradle.org/7.6.4/userguide/multi_project_builds.html
8 | */
9 |
10 | rootProject.name = "TestVectors"
11 | include("lib")
12 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/java/src/test/java/TestWrappedESDKMain/__default.java:
--------------------------------------------------------------------------------
1 | package TestWrappedESDKMain_Compile;
2 |
3 | import dafny.DafnySequence;
4 |
5 | public class __default extends _ExternBase___default {
6 |
7 | public static dafny.DafnySequence<
8 | ? extends Character
9 | > GetTestVectorExecutionDirectory() {
10 | return DafnySequence.asString("");
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/java_mkp/README.md:
--------------------------------------------------------------------------------
1 | This is where Java MKP file will be saved
2 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/net/Extern/WrappedESDK.cs:
--------------------------------------------------------------------------------
1 | using AwsArnParsing_Compile;
2 | using Wrappers_Compile;
3 |
4 | namespace software.amazon.cryptography.encryptionsdk.internaldafny.wrapped
5 | {
6 | public partial class __default
7 | {
8 | public static
9 | _IResult<
10 | types.IAwsEncryptionSdkClient,
11 | types.Error
12 | >
13 | WrappedESDK(
14 | types._IAwsEncryptionSdkConfig config)
15 | {
16 | var wrappedConfig = AWS.Cryptography.EncryptionSDK.Wrapped.TypeConversion
17 | .FromDafny_N3_aws__N12_cryptography__N13_encryptionSdk__S22_AwsEncryptionSdkConfig(config);
18 | var impl = new AWS.Cryptography.EncryptionSDK.ESDK(wrappedConfig);
19 | var wrappedClient = new AWS.Cryptography.EncryptionSDK.Wrapped.AwsEncryptionSdkShim(impl);
20 |
21 | return Result.create_Success(wrappedClient);
23 | }
24 | }
25 | }
--------------------------------------------------------------------------------
/TestVectors/runtimes/net/tests/Extern/GetTestDirectoryExtern.cs:
--------------------------------------------------------------------------------
1 | using byteseq = Dafny.Sequence;
2 |
3 | namespace TestWrappedESDKMain_Compile {
4 | public partial class __default {
5 | public static Dafny.ISequence GetTestVectorExecutionDirectory() {
6 | return byteseq.FromString("");
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/python/.gitignore:
--------------------------------------------------------------------------------
1 | # Python build artifacts
2 | __pycache__
3 | **/__pycache__
4 | *.pyc
5 | src/**.egg-info/
6 | build
7 | poetry.lock
8 | **/poetry.lock
9 | dist
10 |
11 | # Dafny-generated Python
12 | **/internaldafny/generated/*.py
13 |
14 | # Python test artifacts
15 | .tox
16 | .pytest_cache
17 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/python/src/aws_encryption_sdk_test_vectors/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 | import sys
4 |
5 | """
6 | ESDK's Dafny code parses the TestVectors JSON recursively.
7 | i.e. GetTests(Json) = (Json[0], GetTests(Json[1:]))
8 | The legacy test vectors in TestVectors/aws-encryption-sdk-test-vectors/vectors/awses-decrypt/*.zip
9 | have way more than the default recursion of 1000.
10 | Legacy test vectors exceeds Python's recursion limit when parsing the JSON, which needs >1 call per test vector.
11 | (Other Crypto Tools languages are limited by memory; Python's explicit limit on function calls is unique.)
12 | When using this internal Crypto Tools TestVectors library, set recursion limit to 10,000.
13 | (This value is totally arbitrary and should be increased if this isn't enough.)
14 | """
15 | sys.setrecursionlimit(10000)
16 |
17 | # Initialize generated Dafny
18 | from .internaldafny.generated import module_
19 |
20 | # Initialize externs
21 | from .internaldafny import extern
22 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/python/src/aws_encryption_sdk_test_vectors/internaldafny/extern/__init__.py:
--------------------------------------------------------------------------------
1 | from . import (
2 | replace_dafny_main_method,
3 | wrapped_esdk,
4 | )
5 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/python/src/aws_encryption_sdk_test_vectors/internaldafny/extern/replace_dafny_main_method.py:
--------------------------------------------------------------------------------
1 | # Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 |
4 | # ESDK TestVectors have 2 main methods; one in ESDK TestVectors, another in MPL TestVectors.
5 | # This isn't really supported, and results in running the MPL TestVectors' main method.
6 | # Other languages use sed on Dafny-generated code to replace the generated call to the main method.
7 | # It's (arguably) less hacky to override the function that is called in Python.
8 | import aws_encryption_sdk_test_vectors.internaldafny.generated.module_ as module_
9 | import aws_encryption_sdk_test_vectors.internaldafny.generated.WrappedESDKMain as WrappedESDKMain
10 |
11 |
12 | def new_test_main(args):
13 | WrappedESDKMain.default__.Main2(args)
14 |
15 |
16 | module_.default__.Test____Main____ = new_test_main
17 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/python/src/aws_encryption_sdk_test_vectors/smithygenerated/aws_cryptography_encryptionsdk/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 | # Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/python/test/internaldafny/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/python/test/internaldafny/extern/TestWrappedESDKMain_extern.py:
--------------------------------------------------------------------------------
1 | import TestWrappedESDKMain
2 | import _dafny
3 | import os
4 |
5 | class default__(TestWrappedESDKMain.default__):
6 | @staticmethod
7 | def GetTestVectorExecutionDirectory():
8 | return _dafny.Seq(os.getcwd() + "/../../")
9 |
10 | TestWrappedESDKMain.default__ = default__
--------------------------------------------------------------------------------
/TestVectors/runtimes/python/test/internaldafny/extern/__init__.py:
--------------------------------------------------------------------------------
1 | from . import (
2 | TestWrappedESDKMain_extern,
3 | )
--------------------------------------------------------------------------------
/TestVectors/runtimes/python/test/internaldafny/generated/dafny_test-py.dtr:
--------------------------------------------------------------------------------
1 | file_format_version = "1.0"
2 | dafny_version = "4.9.0.0"
3 | [options_by_module.TestWrappedESDKMain]
4 | legacy-module-names = false
5 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/python/test/internaldafny/test_dafny_wrapper.py:
--------------------------------------------------------------------------------
1 | # Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 |
4 | """
5 | Wrapper file for executing Dafny tests from pytest.
6 | This allows us to import modules required by Dafny-generated tests
7 | before executing Dafny-generated tests.
8 | pytest will find and execute the `test_dafny` method below,
9 | which will execute the `internaldafny_test_executor.py` file in the `dafny` directory.
10 | """
11 |
12 | import sys
13 |
14 | internaldafny_dir = '/'.join(__file__.split("/")[:-1])
15 |
16 | sys.path.append(internaldafny_dir + "/extern")
17 | sys.path.append(internaldafny_dir + "/generated")
18 |
19 | from . import extern
20 |
21 | def test_dafny():
22 | from .generated import __main__
23 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/python/tox.ini:
--------------------------------------------------------------------------------
1 | [tox]
2 | isolated_build = True
3 | envlist =
4 | py{311,312}
5 |
6 | [testenv]
7 | skip_install = true
8 | allowlist_externals = poetry
9 | passenv = AWS_*
10 | commands_pre =
11 | poetry lock
12 | poetry install
13 | commands =
14 | poetry run pytest -s -v test/
15 |
16 | [testenv:cli]
17 | skip_install = true
18 | allowlist_externals = poetry
19 | passenv = AWS_*
20 | setenv = VIRTUALENV_DOWNLOAD=0
21 | PIP_DISABLE_PIP_VERSION_CHECK=1
22 | commands_pre =
23 | poetry lock
24 | poetry install --with test
25 | commands =
26 | poetry run python src/aws_encryption_sdk_test_vectors/internaldafny/generated {posargs}
--------------------------------------------------------------------------------
/TestVectors/runtimes/python_mkp/README.md:
--------------------------------------------------------------------------------
1 | This is where Python MKP file will be saved
2 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/rust/.gitignore:
--------------------------------------------------------------------------------
1 | Cargo.lock
2 | src/aes_gcm.rs
3 | src/aes_kdf_ctr.rs
4 | src/client.rs
5 | src/client/
6 | src/concurrent_call.rs
7 | src/conversions.rs
8 | src/conversions/
9 | src/dafny_libraries.rs
10 | src/ddb.rs
11 | src/deps.rs
12 | src/deps/
13 | src/digest.rs
14 | src/ecdh.rs
15 | src/ecdsa.rs
16 | src/error.rs
17 | src/error/
18 | src/hmac.rs
19 | src/implementation_from_dafny.rs
20 | src/kms.rs
21 | src/local_cmc.rs
22 | src/operation.rs
23 | src/operation/
24 | src/oslang.rs
25 | src/random.rs
26 | src/rsa.rs
27 | src/sets.rs
28 | src/software_externs.rs
29 | src/standard_library_conversions.rs
30 | src/standard_library_externs.rs
31 | src/storm_tracker.rs
32 | src/time.rs
33 | src/types.rs
34 | src/types/
35 | src/uuid.rs
36 | src/wrapped.rs
37 | src/wrapped/
38 | src/validation.rs
39 | target
40 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/rust/ciphertexts/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws/aws-encryption-sdk/b321a46a5ecf355445ca06c57c81f9db057fc8f6/TestVectors/runtimes/rust/ciphertexts/.gitkeep
--------------------------------------------------------------------------------
/TestVectors/runtimes/rust/copy_externs.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash -eu
2 |
3 | cd $( dirname ${BASH_SOURCE[0]} )
4 |
5 | SRC=../../../mpl/AwsCryptographicMaterialProviders/runtimes/rust/src/
6 |
7 | cp $SRC/aes_gcm.rs src
8 | cp $SRC/aes_kdf_ctr.rs src
9 | cp $SRC/concurrent_call.rs src
10 | cp $SRC/dafny_libraries.rs src
11 | cp $SRC/ddb.rs src
12 | cp $SRC/digest.rs src
13 | cp $SRC/ecdh.rs src
14 | cp $SRC/ecdsa.rs src
15 | cp $SRC/hmac.rs src
16 | cp $SRC/kms.rs src
17 | cp $SRC/local_cmc.rs src
18 | cp $SRC/oslang.rs src
19 | cp $SRC/random.rs src
20 | cp $SRC/rsa.rs src
21 | cp $SRC/sets.rs src
22 | cp $SRC/software_externs.rs src
23 | cp $SRC/storm_tracker.rs src
24 | cp $SRC/time.rs src
25 | cp $SRC/uuid.rs src
26 |
--------------------------------------------------------------------------------
/TestVectors/runtimes/rust/plaintexts/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws/aws-encryption-sdk/b321a46a5ecf355445ca06c57c81f9db057fc8f6/TestVectors/runtimes/rust/plaintexts/.gitkeep
--------------------------------------------------------------------------------
/TestVectors/runtimes/rust/src/test_vec_dir.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | #![deny(warnings, unconditional_panic)]
5 | #![deny(nonstandard_style)]
6 | #![deny(clippy::all)]
7 |
8 | use dafny_runtime::Sequence;
9 | use dafny_runtime::dafny_runtime_conversions::DafnyCharUTF16;
10 |
11 | impl crate::r#_TestWrappedESDKMain_Compile::_default {
12 | #[allow(non_snake_case)]
13 | pub fn GetTestVectorExecutionDirectory() -> Sequence
14 | {
15 | dafny_runtime::dafny_runtime_conversions::unicode_chars_false::string_to_dafny_string("../../")
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/cfn/net/CA-Staging.yml:
--------------------------------------------------------------------------------
1 | # Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 | AWSTemplateFormatVersion: 2010-09-09
4 | Description: "Template for CodeArtifact repositories. Creates Domain if CreateDomainFlag is True"
5 | Parameters:
6 | DomainName:
7 | Type: String
8 | Description: The name of the CodeArtifact Domain
9 | Default: crypto-tools-internal
10 | RepositoryName:
11 | Type: String
12 | Description: Base Name for the Repositories
13 | Default: esdk-net
14 | CreateDomainFlag:
15 | Type: String
16 | Description: Attempt to create Domain or not
17 | Default: False
18 | AllowedValues:
19 | - True
20 | - False
21 |
22 | Conditions:
23 | CreateDomain: !Equals
24 | - !Ref CreateDomainFlag
25 | - True
26 |
27 | Resources:
28 | Domain:
29 | Type: AWS::CodeArtifact::Domain
30 | Condition: CreateDomain
31 | Properties:
32 | DomainName: !Ref DomainName
33 |
34 | StagingRepo:
35 | Type: AWS::CodeArtifact::Repository
36 | Properties:
37 | DomainName: !Ref DomainName
38 | RepositoryName: !Sub "${RepositoryName}-staging"
39 |
--------------------------------------------------------------------------------
/codebuild/dafny/verify.yml:
--------------------------------------------------------------------------------
1 | version: 0.2
2 | phases:
3 | install:
4 | commands:
5 | - cd ..
6 | # Get Dafny
7 | - curl https://github.com/dafny-lang/dafny/releases/download/v3.5.0/dafny-3.5.0-x64-ubuntu-16.04.zip -L -o dafny.zip
8 | - unzip -qq dafny.zip && rm dafny.zip
9 | - export PATH="$PWD/dafny:$PATH"
10 | - cd private-aws-encryption-sdk-dafny-staging
11 | build:
12 | commands:
13 | # Currently, test depends on src, so verifying test will also verify src
14 | - dotnet build -t:VerifyDafny -p:TestVerifyOverride="verificationLogger:trx" test
15 | - MAX_VERIFICATION_DURATION_SECONDS=40 python3 verification-times-from-trx.py test/TestResults/*.trx
16 | reports:
17 | Dafny:
18 | file-format: VisualStudioTrx
19 | files:
20 | - "**/*"
21 | base-directory: "test/TestResults"
22 |
--------------------------------------------------------------------------------
/codebuild/dotnet/test-vectors.yml:
--------------------------------------------------------------------------------
1 | version: 0.2
2 |
3 | phases:
4 | install:
5 | runtime-versions:
6 | # TODO update to .NET 6.0
7 | dotnet: 5.0
8 | commands:
9 | - cd ..
10 | # Get Dafny
11 | - curl https://github.com/dafny-lang/dafny/releases/download/v3.5.0/dafny-3.5.0-x64-ubuntu-16.04.zip -L -o dafny.zip
12 | - unzip -qq dafny.zip && rm dafny.zip
13 | - export PATH="$PWD/dafny:$PATH"
14 | # Set up environment for running test vectors
15 | - wget https://github.com/awslabs/aws-encryption-sdk-test-vectors/raw/master/vectors/awses-decrypt/python-2.3.0.zip
16 | - unzip -qq python-2.3.0.zip && rm python-2.3.0.zip
17 | # Explicitly set this (rather than as a codebuild env variable like above) because it depends on the
18 | # current working directory
19 | - export DAFNY_AWS_ESDK_TEST_VECTOR_MANIFEST_PATH="${PWD}/manifest.json"
20 | # Switch back to the main directory
21 | - cd private-aws-encryption-sdk-dafny-staging/aws-encryption-sdk-net
22 | build:
23 | commands:
24 | - dotnet test -f netcoreapp3.1 TestVectors /nowarn:CS0105
25 |
--------------------------------------------------------------------------------
/compliance_exceptions/client.txt:
--------------------------------------------------------------------------------
1 | // Not useful as a general specification.
2 | //= compliance/client-apis/client.txt#2.5.1
3 | //= type=exception
4 | //# The AWS Encryption SDK Client MUST provide an encrypt
5 | //# (./encrypt.md#input) function that adheres to encrypt (./encrypt.md).
6 |
7 | // Not useful as a general specification.
8 | //= compliance/client-apis/client.txt#2.5.2
9 | //= type=exception
10 | //# The AWS Encryption SDK Client MUST provide an decrypt
11 | //# (./decrypt.md#input) function that adheres to decrypt (./decrypt.md).
12 |
13 |
--------------------------------------------------------------------------------
/compliance_exceptions/message-header.txt:
--------------------------------------------------------------------------------
1 | // The Dafny implementation cannot dictate endianness.
2 | //= compliance/data-format/message-header.txt#2.5
3 | //= type=exception
4 | //# The message header is a sequence of bytes that MUST be in big-endian
5 | //# format.
6 |
7 | // Not useful as a specification.
8 | //= compliance/data-format/message-header.txt#2.5.1.6
9 | //= type=exception
10 | //# A Message ID MUST uniquely identify the message (message.md).
11 |
12 | // This can't be tested.
13 | //= compliance/data-format/message-header.txt#2.5.1.6
14 | //= type=test
15 | //# While
16 | //# implementations cannot guarantee complete uniqueness, implementations
17 | //# MUST use a good source of randomness when generating messages IDs in
18 | //# order to make the chance of duplicate IDs negligible.
19 |
20 | //
21 |
--------------------------------------------------------------------------------
/compliance_exceptions/multi-keyring.txt:
--------------------------------------------------------------------------------
1 | //= compliance/framework/multi-keyring.txt#2.8
2 | //= type=exception
3 | //# Users SHOULD examine the keyrings (keyring-interface.md) they include
4 | //# in a multi-keyring to ensure that they understand what set of
5 | //# keyrings will be capable of obtaining the plaintext data key from the
6 | //# returned set of encrypted data keys.
7 | // This is targeted at how customers use the keyring; we cannot provide
8 | // any enforcement here.
9 |
--------------------------------------------------------------------------------
/dist/aws_encryption_sdk-4.0.0-py2.py3-none-any.whl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws/aws-encryption-sdk/b321a46a5ecf355445ca06c57c81f9db057fc8f6/dist/aws_encryption_sdk-4.0.0-py2.py3-none-any.whl
--------------------------------------------------------------------------------
/project.properties:
--------------------------------------------------------------------------------
1 | # This file stores the top level dafny version information.
2 | # All elements of the project need to agree on this version.
3 | dafnyVersion=4.9.0
4 | dafnyVerifyVersion=4.9.0
5 | dafnyFormatVersion=4.9.0
6 | projectJavaVersion=4.1.0
7 | mplDependencyJavaVersion=1.10.1-SNAPSHOT
8 | dafnyRuntimeJavaVersion=4.9.0
9 | smithyDafnyJavaConversionVersion=0.1.1
10 |
--------------------------------------------------------------------------------
/releases/go/encryption-sdk/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | # [0.2.0] (2025-03-21)
4 |
5 | - Breaks compatibility with v0.1.0 (and v0.1.1) when using chars with unicode codepoints > 65535
6 | - utf8-utf16 encoding fix
7 | - support for utf16 surrogate pairs / chars with unicode codepoints > 65535
8 | - fix for replacement char U+FFFD
9 | - empty byte fix to allow custom keyring wrapping
10 | - other operational improvements
11 |
12 | # [0.1.1] (2025-02-14)
13 |
14 | - retraction of all versions due to incompatibility with other esdk implementations
15 |
16 | # [0.1.0] (2025-01-15)
17 |
18 | Semantic version upgrade from v0.0.1 to v0.1.0
19 |
20 | ## 0.0.1 (2025-01-16)
21 |
22 | Initial launch of the AWS Encryption SDK for Go.
23 |
--------------------------------------------------------------------------------
/releases/go/encryption-sdk/awscryptographyencryptionsdksmithygeneratedtypes/enums.go:
--------------------------------------------------------------------------------
1 | // Code generated by smithy-go-codegen DO NOT EDIT.
2 |
3 | package awscryptographyencryptionsdksmithygeneratedtypes
4 |
5 | type NetV4_0_0_RetryPolicy string
6 |
7 | const (
8 | NetV4_0_0_RetryPolicyForbidRetry NetV4_0_0_RetryPolicy = "FORBID_RETRY"
9 | NetV4_0_0_RetryPolicyAllowRetry NetV4_0_0_RetryPolicy = "ALLOW_RETRY"
10 | )
11 |
12 | func (NetV4_0_0_RetryPolicy) Values() []NetV4_0_0_RetryPolicy {
13 | return []NetV4_0_0_RetryPolicy{
14 | "FORBID_RETRY",
15 | "ALLOW_RETRY",
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/releases/go/encryption-sdk/awscryptographyencryptionsdksmithygeneratedtypes/errors.go:
--------------------------------------------------------------------------------
1 | // Code generated by smithy-go-codegen DO NOT EDIT.
2 |
3 | package awscryptographyencryptionsdksmithygeneratedtypes
4 |
5 | import (
6 | "fmt"
7 | )
8 |
9 | type AwsEncryptionSdkException struct {
10 | AwsEncryptionSdkBaseException
11 | Message string
12 | ErrorCodeOverride *string
13 | }
14 |
15 | func (e AwsEncryptionSdkException) Error() string {
16 | return fmt.Sprintf("%s: %s", e.ErrorCodeOverride, e.Message)
17 | }
18 |
--------------------------------------------------------------------------------
/releases/go/encryption-sdk/awscryptographyencryptionsdksmithygeneratedtypes/unmodelled_errors.go:
--------------------------------------------------------------------------------
1 | // Code generated by smithy-go-codegen DO NOT EDIT.
2 |
3 | package awscryptographyencryptionsdksmithygeneratedtypes
4 |
5 | import (
6 | "fmt"
7 | )
8 |
9 | type CollectionOfErrors struct {
10 | AwsEncryptionSdkBaseException
11 | ListOfErrors []error
12 | Message string
13 | }
14 |
15 | func (e CollectionOfErrors) Error() string {
16 | return fmt.Sprintf("message: %s\n err %v", e.Message, e.ListOfErrors)
17 | }
18 |
19 | type OpaqueError struct {
20 | AwsEncryptionSdkBaseException
21 | ErrObject interface{}
22 | }
23 |
24 | func (e OpaqueError) Error() string {
25 | return fmt.Sprintf("message: %v", e.ErrObject)
26 | }
27 |
--------------------------------------------------------------------------------
/releases/go/encryption-sdk/examples/clientsupplier/regionalroleclientsupplierconfig.go:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package clientsupplier
5 |
6 | /*
7 | File containing config for the RegionalRoleClientSupplier.
8 | In your own code, this might be hardcoded, or reference
9 | an external source, e.g. environment variables or AWS AppConfig.
10 | */
11 |
12 | const (
13 | usEast1IamRole = "arn:aws:iam::370957321024:role/GitHub-CI-Public-ESDK-Dafny-Role-only-us-east-1-KMS-keys"
14 | euWest1IamRole = "arn:aws:iam::370957321024:role/GitHub-CI-Public-ESDK-Dafny-Role-only-eu-west-1-KMS-keys"
15 | )
16 |
17 | func RegionIamRoleMap() map[string]string {
18 | return map[string]string{
19 | "us-east-1": usEast1IamRole,
20 | "eu-west-1": euWest1IamRole,
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/releases/rust/esdk/.gitignore:
--------------------------------------------------------------------------------
1 | Cargo.lock
2 | target
3 |
--------------------------------------------------------------------------------
/releases/rust/esdk/examples/client_supplier/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | pub mod client_supplier_example;
5 | pub mod regional_role_client_supplier;
6 | pub mod regional_role_client_supplier_config;
7 |
--------------------------------------------------------------------------------
/releases/rust/esdk/examples/client_supplier/regional_role_client_supplier_config.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | use std::collections::HashMap;
5 |
6 | /*
7 | Class containing config for the RegionalRoleClientSupplier.
8 | In your own code, this might be hardcoded, or reference
9 | an external source, e.g. environment variables or AWS AppConfig.
10 | */
11 |
12 | const US_EAST_1_IAM_ROLE: &str =
13 | "arn:aws:iam::370957321024:role/GitHub-CI-Public-ESDK-Dafny-Role-only-us-east-1-KMS-keys";
14 |
15 | const EU_WEST_1_IAM_ROLE: &str =
16 | "arn:aws:iam::370957321024:role/GitHub-CI-Public-ESDK-Dafny-Role-only-eu-west-1-KMS-keys";
17 |
18 | pub fn region_iam_role_map() -> HashMap {
19 | HashMap::from([
20 | ("us-east-1".to_string(), US_EAST_1_IAM_ROLE.to_string()),
21 | ("eu-west-1".to_string(), EU_WEST_1_IAM_ROLE.to_string()),
22 | ])
23 | }
24 |
--------------------------------------------------------------------------------
/releases/rust/esdk/examples/cryptographic_materials_manager/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | pub mod required_encryption_context;
5 | pub mod restrict_algorithm_suite;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/examples/cryptographic_materials_manager/required_encryption_context/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | pub mod required_encryption_context_example;
5 |
--------------------------------------------------------------------------------
/releases/rust/esdk/examples/cryptographic_materials_manager/restrict_algorithm_suite/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | pub mod signing_only_example;
5 | pub mod signing_suite_only_cmm;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/examples/example_utils/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | pub mod utils;
5 |
--------------------------------------------------------------------------------
/releases/rust/esdk/examples/keyring/aws_kms_hierarchical/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | pub mod aws_kms_hierarchical_keyring_example;
5 | pub mod create_branch_key_id;
6 | pub mod example_branch_key_id_supplier;
7 | pub mod shared_cache_across_hierarchical_keyrings_example;
8 | pub mod version_branch_key_id_example;
9 |
--------------------------------------------------------------------------------
/releases/rust/esdk/examples/keyring/ecdh/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | pub mod ephemeral_raw_ecdh_keyring_example;
5 | pub mod kms_ecdh_discovery_keyring_example;
6 | pub mod kms_ecdh_keyring_example;
7 | pub mod public_key_discovery_raw_ecdh_keyring_example;
8 | pub mod raw_ecdh_keyring_example;
9 |
--------------------------------------------------------------------------------
/releases/rust/esdk/examples/keyring/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | pub mod aws_kms_discovery_keyring_example;
5 | pub mod aws_kms_discovery_multi_keyring_example;
6 | pub mod aws_kms_hierarchical;
7 | pub mod aws_kms_keyring_example;
8 | pub mod aws_kms_mrk_discovery_keyring_example;
9 | pub mod aws_kms_mrk_discovery_multi_keyring_example;
10 | pub mod aws_kms_mrk_keyring_example;
11 | pub mod aws_kms_mrk_multi_keyring_example;
12 | pub mod aws_kms_multi_keyring_example;
13 | pub mod aws_kms_rsa_keyring_example;
14 | pub mod ecdh;
15 | pub mod multi_keyring_example;
16 | pub mod raw_aes_keyring_example;
17 | pub mod raw_rsa_keyring_example;
18 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/conversions.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | pub mod client;
5 |
6 | pub mod decrypt;
7 |
8 | pub mod decrypt_input;
9 |
10 | pub mod decrypt_output;
11 |
12 | pub mod encrypt;
13 |
14 | pub mod encrypt_input;
15 |
16 | pub mod encrypt_output;
17 |
18 | pub mod error;
19 |
20 | pub mod net_v4_0_0_retry_policy;
21 |
22 | pub mod aws_encryption_sdk_config;
23 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/conversions/aws_encryption_sdk_config.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | pub mod _aws_encryption_sdk_config;
5 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/conversions/client.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
5 | // SPDX-License-Identifier: Apache-2.0
6 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
7 | #[allow(dead_code)]
8 |
9 | pub fn to_dafny(
10 | value: &crate::client::Client,
11 | ) ->
12 | ::dafny_runtime::Object
13 | {
14 | value.dafny_client.clone()
15 | }
16 |
17 | #[allow(dead_code)]
18 | pub fn from_dafny(
19 | dafny_value: ::dafny_runtime::Object<
20 | dyn crate::r#software::amazon::cryptography::encryptionsdk::internaldafny::types::IAwsEncryptionSdkClient
21 | >,
22 | ) -> crate::client::Client {
23 | crate::client::Client {
24 | dafny_client: dafny_value,
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/conversions/decrypt.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _decrypt_input;
6 |
7 | pub mod _decrypt_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/conversions/encrypt.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _encrypt_input;
6 |
7 | pub mod _encrypt_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | pub mod aws_cryptography_keyStore;
5 |
6 | pub mod aws_cryptography_materialProviders;
7 |
8 | pub mod aws_cryptography_primitives;
9 |
10 | pub mod com_amazonaws_dynamodb;
11 |
12 | pub mod com_amazonaws_kms;
13 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_keyStore.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | pub mod client;
5 | pub mod conversions;
6 | pub mod deps;
7 | /// Common errors and error handling utilities.
8 | pub mod error;
9 | /// All operations that this crate can perform.
10 | pub mod operation;
11 | pub mod types;
12 | pub mod validation;
13 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_keyStore/conversions/create_key.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_key_input;
6 |
7 | pub mod _create_key_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_keyStore/conversions/create_key_store.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_key_store_input;
6 |
7 | pub mod _create_key_store_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_keyStore/conversions/get_active_branch_key.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _get_active_branch_key_input;
6 |
7 | pub mod _get_active_branch_key_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_keyStore/conversions/get_beacon_key.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _get_beacon_key_input;
6 |
7 | pub mod _get_beacon_key_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_keyStore/conversions/get_branch_key_version.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _get_branch_key_version_input;
6 |
7 | pub mod _get_branch_key_version_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_keyStore/conversions/get_key_store_info.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _get_key_store_info_output;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_keyStore/conversions/key_store_config.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | pub mod _key_store_config;
5 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_keyStore/conversions/version_key.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _version_key_input;
6 |
7 | pub mod _version_key_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_keyStore/deps.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_keyStore/error.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | pub use ::aws_smithy_runtime_api::box_error::BoxError;
5 |
6 | /// Error type returned by the client.
7 | pub type SdkError =
8 | ::aws_smithy_runtime_api::client::result::SdkError;
9 | pub use ::aws_smithy_runtime_api::client::result::ConnectorError;
10 | pub use ::aws_smithy_types::error::operation::BuildError;
11 |
12 | pub use ::aws_smithy_types::error::display::DisplayErrorContext;
13 | pub use ::aws_smithy_types::error::metadata::ErrorMetadata;
14 | pub use ::aws_smithy_types::error::metadata::ProvideErrorMetadata;
15 |
16 | pub(crate) mod sealed_unhandled;
17 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_keyStore/operation.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | /// Types for the `CreateKeyStore` operation.
5 | pub mod create_key_store;
6 |
7 | /// Types for the `CreateKey` operation.
8 | pub mod create_key;
9 |
10 | /// Types for the `GetActiveBranchKey` operation.
11 | pub mod get_active_branch_key;
12 |
13 | /// Types for the `GetBeaconKey` operation.
14 | pub mod get_beacon_key;
15 |
16 | /// Types for the `GetBranchKeyVersion` operation.
17 | pub mod get_branch_key_version;
18 |
19 | /// Types for the `GetKeyStoreInfo` operation.
20 | pub mod get_key_store_info;
21 |
22 | /// Types for the `VersionKey` operation.
23 | pub mod version_key;
24 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | pub mod client;
5 | pub mod conversions;
6 | pub mod deps;
7 | /// Common errors and error handling utilities.
8 | pub mod error;
9 | /// All operations that this crate can perform.
10 | pub mod operation;
11 | pub mod types;
12 | pub mod validation;
13 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_aws_kms_discovery_keyring.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_aws_kms_discovery_keyring_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_aws_kms_discovery_multi_keyring.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_aws_kms_discovery_multi_keyring_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_aws_kms_ecdh_keyring.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_aws_kms_ecdh_keyring_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_aws_kms_hierarchical_keyring.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_aws_kms_hierarchical_keyring_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_aws_kms_keyring.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_aws_kms_keyring_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_aws_kms_mrk_discovery_keyring.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_aws_kms_mrk_discovery_keyring_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_aws_kms_mrk_discovery_multi_keyring.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_aws_kms_mrk_discovery_multi_keyring_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_aws_kms_mrk_keyring.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_aws_kms_mrk_keyring_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_aws_kms_mrk_multi_keyring.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_aws_kms_mrk_multi_keyring_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_aws_kms_multi_keyring.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_aws_kms_multi_keyring_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_aws_kms_rsa_keyring.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_aws_kms_rsa_keyring_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_cryptographic_materials_cache.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_cryptographic_materials_cache_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_default_client_supplier.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_default_client_supplier_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_default_cryptographic_materials_manager.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_default_cryptographic_materials_manager_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_multi_keyring.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_multi_keyring_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_raw_aes_keyring.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_raw_aes_keyring_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_raw_ecdh_keyring.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_raw_ecdh_keyring_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_raw_rsa_keyring.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_raw_rsa_keyring_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/create_required_encryption_context_cmm.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _create_required_encryption_context_cmm_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/decrypt_materials.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _decrypt_materials_input;
6 |
7 | pub mod _decrypt_materials_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/decryption_materials_with_plaintext_data_key.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _decryption_materials_with_plaintext_data_key_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/delete_cache_entry.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _delete_cache_entry_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/encryption_materials_has_plaintext_data_key.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _encryption_materials_has_plaintext_data_key_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/get_algorithm_suite_info.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _get_algorithm_suite_info_output;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/get_branch_key_id.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _get_branch_key_id_input;
6 |
7 | pub mod _get_branch_key_id_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/get_cache_entry.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _get_cache_entry_input;
6 |
7 | pub mod _get_cache_entry_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/get_client.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _get_client_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/get_encryption_materials.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _get_encryption_materials_input;
6 |
7 | pub mod _get_encryption_materials_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/initialize_decryption_materials.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _initialize_decryption_materials_input;
6 |
7 | pub mod _initialize_decryption_materials_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/initialize_encryption_materials.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _initialize_encryption_materials_input;
6 |
7 | pub mod _initialize_encryption_materials_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/material_providers_config.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | pub mod _material_providers_config;
5 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/on_decrypt.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _on_decrypt_input;
6 |
7 | pub mod _on_decrypt_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/on_encrypt.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _on_encrypt_input;
6 |
7 | pub mod _on_encrypt_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/put_cache_entry.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _put_cache_entry_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/update_usage_metadata.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _update_usage_metadata_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/valid_algorithm_suite_info.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _valid_algorithm_suite_info_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/valid_decryption_materials_transition.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _valid_decryption_materials_transition_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/valid_encryption_materials_transition.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _valid_encryption_materials_transition_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/validate_commitment_policy_on_decrypt.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _validate_commitment_policy_on_decrypt_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/conversions/validate_commitment_policy_on_encrypt.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _validate_commitment_policy_on_encrypt_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/deps.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/error.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | pub use ::aws_smithy_runtime_api::box_error::BoxError;
5 |
6 | /// Error type returned by the client.
7 | pub type SdkError =
8 | ::aws_smithy_runtime_api::client::result::SdkError;
9 | pub use ::aws_smithy_runtime_api::client::result::ConnectorError;
10 | pub use ::aws_smithy_types::error::operation::BuildError;
11 |
12 | pub use ::aws_smithy_types::error::display::DisplayErrorContext;
13 | pub use ::aws_smithy_types::error::metadata::ErrorMetadata;
14 | pub use ::aws_smithy_types::error::metadata::ProvideErrorMetadata;
15 |
16 | pub(crate) mod sealed_unhandled;
17 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/types/_aes_wrapping_alg.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[derive(Debug, PartialEq, Copy, Clone)]
5 | #[allow(missing_docs)]
6 | pub enum AesWrappingAlg {
7 | AlgAes128GcmIv12Tag16,
8 | AlgAes192GcmIv12Tag16,
9 | AlgAes256GcmIv12Tag16,
10 | }
11 |
12 | impl ::std::fmt::Display for AesWrappingAlg {
13 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14 | match self {
15 | AesWrappingAlg::AlgAes128GcmIv12Tag16 => write!(f, "ALG_AES128_GCM_IV12_TAG16"),
16 | AesWrappingAlg::AlgAes192GcmIv12Tag16 => write!(f, "ALG_AES192_GCM_IV12_TAG16"),
17 | AesWrappingAlg::AlgAes256GcmIv12Tag16 => write!(f, "ALG_AES256_GCM_IV12_TAG16"),
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/types/_dbe_commitment_policy.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[derive(Debug, PartialEq, Copy, Clone)]
5 | #[allow(missing_docs)]
6 | pub enum DbeCommitmentPolicy {
7 | RequireEncryptRequireDecrypt,
8 | }
9 |
10 | impl ::std::fmt::Display for DbeCommitmentPolicy {
11 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12 | match self {
13 | DbeCommitmentPolicy::RequireEncryptRequireDecrypt => {
14 | write!(f, "REQUIRE_ENCRYPT_REQUIRE_DECRYPT")
15 | }
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/types/_esdk_commitment_policy.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[derive(Debug, PartialEq, Copy, Clone)]
5 | #[allow(missing_docs)]
6 | pub enum EsdkCommitmentPolicy {
7 | ForbidEncryptAllowDecrypt,
8 | RequireEncryptAllowDecrypt,
9 | RequireEncryptRequireDecrypt,
10 | }
11 |
12 | impl ::std::fmt::Display for EsdkCommitmentPolicy {
13 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14 | match self {
15 | EsdkCommitmentPolicy::ForbidEncryptAllowDecrypt => {
16 | write!(f, "FORBID_ENCRYPT_ALLOW_DECRYPT")
17 | }
18 | EsdkCommitmentPolicy::RequireEncryptAllowDecrypt => {
19 | write!(f, "REQUIRE_ENCRYPT_ALLOW_DECRYPT")
20 | }
21 | EsdkCommitmentPolicy::RequireEncryptRequireDecrypt => {
22 | write!(f, "REQUIRE_ENCRYPT_REQUIRE_DECRYPT")
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/types/_padding_scheme.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[derive(Debug, PartialEq, Copy, Clone)]
5 | #[allow(missing_docs)]
6 | pub enum PaddingScheme {
7 | Pkcs1,
8 | OaepSha1Mgf1,
9 | OaepSha256Mgf1,
10 | OaepSha384Mgf1,
11 | OaepSha512Mgf1,
12 | }
13 |
14 | impl ::std::fmt::Display for PaddingScheme {
15 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
16 | match self {
17 | PaddingScheme::Pkcs1 => write!(f, "PKCS1"),
18 | PaddingScheme::OaepSha1Mgf1 => write!(f, "OAEP_SHA1_MGF1"),
19 | PaddingScheme::OaepSha256Mgf1 => write!(f, "OAEP_SHA256_MGF1"),
20 | PaddingScheme::OaepSha384Mgf1 => write!(f, "OAEP_SHA384_MGF1"),
21 | PaddingScheme::OaepSha512Mgf1 => write!(f, "OAEP_SHA512_MGF1"),
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/types/_time_units.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[derive(Debug, PartialEq, Copy, Clone)]
5 | #[allow(missing_docs)]
6 | pub enum TimeUnits {
7 | Seconds,
8 | Milliseconds,
9 | }
10 |
11 | impl ::std::fmt::Display for TimeUnits {
12 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13 | match self {
14 | TimeUnits::Seconds => write!(f, "Seconds"),
15 | TimeUnits::Milliseconds => write!(f, "Milliseconds"),
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | pub mod client;
5 | pub mod conversions;
6 | pub mod deps;
7 | /// Common errors and error handling utilities.
8 | pub mod error;
9 | /// All operations that this crate can perform.
10 | pub mod operation;
11 | pub mod types;
12 | pub mod validation;
13 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/aes_decrypt.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _aes_decrypt_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/aes_encrypt.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _aes_encrypt_input;
6 |
7 | pub mod _aes_encrypt_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/aes_kdf_counter_mode.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _aes_kdf_counter_mode_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/compress_public_key.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _compress_public_key_input;
6 |
7 | pub mod _compress_public_key_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/crypto_config.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | pub mod _crypto_config;
5 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/decompress_public_key.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _decompress_public_key_input;
6 |
7 | pub mod _decompress_public_key_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/derive_shared_secret.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _derive_shared_secret_input;
6 |
7 | pub mod _derive_shared_secret_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/digest.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _digest_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/ecdsa_sign.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _ecdsa_sign_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/ecdsa_verify.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _ecdsa_verify_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/generate_ecc_key_pair.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _generate_ecc_key_pair_input;
6 |
7 | pub mod _generate_ecc_key_pair_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/generate_ecdsa_signature_key.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _generate_ecdsa_signature_key_input;
6 |
7 | pub mod _generate_ecdsa_signature_key_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/generate_random_bytes.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _generate_random_bytes_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/generate_rsa_key_pair.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _generate_rsa_key_pair_input;
6 |
7 | pub mod _generate_rsa_key_pair_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/get_public_key_from_private_key.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _get_public_key_from_private_key_input;
6 |
7 | pub mod _get_public_key_from_private_key_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/get_rsa_key_modulus_length.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _get_rsa_key_modulus_length_input;
6 |
7 | pub mod _get_rsa_key_modulus_length_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/h_mac.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _h_mac_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/hkdf.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _hkdf_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/hkdf_expand.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _hkdf_expand_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/hkdf_extract.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _hkdf_extract_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/kdf_counter_mode.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _kdf_counter_mode_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/parse_public_key.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _parse_public_key_input;
6 |
7 | pub mod _parse_public_key_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/rsa_decrypt.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _rsa_decrypt_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/rsa_encrypt.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _rsa_encrypt_input;
6 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/conversions/validate_public_key.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
5 | pub mod _validate_public_key_input;
6 |
7 | pub mod _validate_public_key_output;
8 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/deps.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/error.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | pub use ::aws_smithy_runtime_api::box_error::BoxError;
5 |
6 | /// Error type returned by the client.
7 | pub type SdkError =
8 | ::aws_smithy_runtime_api::client::result::SdkError;
9 | pub use ::aws_smithy_runtime_api::client::result::ConnectorError;
10 | pub use ::aws_smithy_types::error::operation::BuildError;
11 |
12 | pub use ::aws_smithy_types::error::display::DisplayErrorContext;
13 | pub use ::aws_smithy_types::error::metadata::ErrorMetadata;
14 | pub use ::aws_smithy_types::error::metadata::ProvideErrorMetadata;
15 |
16 | pub(crate) mod sealed_unhandled;
17 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/types/_digest_algorithm.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[derive(Debug, PartialEq, Copy, Clone)]
5 | #[allow(missing_docs)]
6 | pub enum DigestAlgorithm {
7 | Sha512,
8 | Sha384,
9 | Sha256,
10 | }
11 |
12 | impl ::std::fmt::Display for DigestAlgorithm {
13 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14 | match self {
15 | DigestAlgorithm::Sha512 => write!(f, "SHA_512"),
16 | DigestAlgorithm::Sha384 => write!(f, "SHA_384"),
17 | DigestAlgorithm::Sha256 => write!(f, "SHA_256"),
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/types/_ecdh_curve_spec.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[derive(Debug, PartialEq, Copy, Clone)]
5 | #[allow(missing_docs)]
6 | pub enum EcdhCurveSpec {
7 | EccNistP256,
8 | EccNistP384,
9 | EccNistP521,
10 | Sm2,
11 | }
12 |
13 | impl ::std::fmt::Display for EcdhCurveSpec {
14 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
15 | match self {
16 | EcdhCurveSpec::EccNistP256 => write!(f, "ECC_NIST_P256"),
17 | EcdhCurveSpec::EccNistP384 => write!(f, "ECC_NIST_P384"),
18 | EcdhCurveSpec::EccNistP521 => write!(f, "ECC_NIST_P521"),
19 | EcdhCurveSpec::Sm2 => write!(f, "SM2"),
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/types/_ecdsa_signature_algorithm.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[derive(Debug, PartialEq, Copy, Clone)]
5 | #[allow(missing_docs)]
6 | pub enum EcdsaSignatureAlgorithm {
7 | EcdsaP384,
8 | EcdsaP256,
9 | }
10 |
11 | impl ::std::fmt::Display for EcdsaSignatureAlgorithm {
12 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13 | match self {
14 | EcdsaSignatureAlgorithm::EcdsaP384 => write!(f, "ECDSA_P384"),
15 | EcdsaSignatureAlgorithm::EcdsaP256 => write!(f, "ECDSA_P256"),
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/aws_cryptography_primitives/types/_rsa_padding_mode.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[derive(Debug, PartialEq, Copy, Clone)]
5 | #[allow(missing_docs)]
6 | pub enum RsaPaddingMode {
7 | Pkcs1,
8 | OaepSha1,
9 | OaepSha256,
10 | OaepSha384,
11 | OaepSha512,
12 | }
13 |
14 | impl ::std::fmt::Display for RsaPaddingMode {
15 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
16 | match self {
17 | RsaPaddingMode::Pkcs1 => write!(f, "PKCS1"),
18 | RsaPaddingMode::OaepSha1 => write!(f, "OAEP_SHA1"),
19 | RsaPaddingMode::OaepSha256 => write!(f, "OAEP_SHA256"),
20 | RsaPaddingMode::OaepSha384 => write!(f, "OAEP_SHA384"),
21 | RsaPaddingMode::OaepSha512 => write!(f, "OAEP_SHA512"),
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | pub mod client;
5 | pub mod conversions;
6 | pub mod types;
7 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/backup_in_use_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::BackupInUseException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::BackupInUseException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/backup_not_found_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::BackupNotFoundException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::BackupNotFoundException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/continuous_backups_unavailable_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::ContinuousBackupsUnavailableException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::ContinuousBackupsUnavailableException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/duplicate_item_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::DuplicateItemException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::DuplicateItemException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/export_conflict_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::ExportConflictException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::ExportConflictException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/export_not_found_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::ExportNotFoundException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::ExportNotFoundException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/global_table_already_exists_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::GlobalTableAlreadyExistsException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::GlobalTableAlreadyExistsException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/global_table_not_found_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::GlobalTableNotFoundException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::GlobalTableNotFoundException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/idempotent_parameter_mismatch_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::IdempotentParameterMismatchException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::IdempotentParameterMismatchException {
12 | Message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/import_conflict_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::ImportConflictException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::ImportConflictException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/import_not_found_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::ImportNotFoundException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::ImportNotFoundException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/index_not_found_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::IndexNotFoundException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::IndexNotFoundException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/internal_server_error.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::InternalServerError,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::InternalServerError {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/invalid_endpoint_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::InvalidEndpointException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::InvalidEndpointException {
12 | Message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/invalid_export_time_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::InvalidExportTimeException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::InvalidExportTimeException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/invalid_restore_time_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::InvalidRestoreTimeException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::InvalidRestoreTimeException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/item_collection_size_limit_exceeded_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::ItemCollectionSizeLimitExceededException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::ItemCollectionSizeLimitExceededException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/limit_exceeded_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::LimitExceededException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::LimitExceededException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/point_in_time_recovery_unavailable_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::PointInTimeRecoveryUnavailableException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::PointInTimeRecoveryUnavailableException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/policy_not_found_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::PolicyNotFoundException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::PolicyNotFoundException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/provisioned_throughput_exceeded_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::ProvisionedThroughputExceededException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::ProvisionedThroughputExceededException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/replica_already_exists_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::ReplicaAlreadyExistsException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::ReplicaAlreadyExistsException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/replica_not_found_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::ReplicaNotFoundException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::ReplicaNotFoundException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/request_limit_exceeded.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::RequestLimitExceeded,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::RequestLimitExceeded {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/resource_in_use_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::ResourceInUseException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::ResourceInUseException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/resource_not_found_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::ResourceNotFoundException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::ResourceNotFoundException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/table_already_exists_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::TableAlreadyExistsException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::TableAlreadyExistsException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/table_in_use_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::TableInUseException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::TableInUseException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/table_not_found_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::TableNotFoundException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::TableNotFoundException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/transaction_conflict_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::TransactionConflictException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::TransactionConflictException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/conversions/error/transaction_in_progress_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_dynamodb::types::error::TransactionInProgressException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error::TransactionInProgressException {
12 | Message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_dynamodb/types.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | pub mod error;
5 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | pub mod client;
5 | pub mod conversions;
6 | pub mod types;
7 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/already_exists_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::AlreadyExistsException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::AlreadyExistsException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/cloud_hsm_cluster_in_use_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::CloudHsmClusterInUseException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::CloudHsmClusterInUseException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/cloud_hsm_cluster_invalid_configuration_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::CloudHsmClusterInvalidConfigurationException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::CloudHsmClusterInvalidConfigurationException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/cloud_hsm_cluster_not_active_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::CloudHsmClusterNotActiveException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::CloudHsmClusterNotActiveException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/cloud_hsm_cluster_not_found_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::CloudHsmClusterNotFoundException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::CloudHsmClusterNotFoundException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/cloud_hsm_cluster_not_related_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::CloudHsmClusterNotRelatedException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::CloudHsmClusterNotRelatedException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/conflict_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::ConflictException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::ConflictException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/custom_key_store_has_cmks_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::CustomKeyStoreHasCmKsException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::CustomKeyStoreHasCMKsException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/custom_key_store_invalid_state_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::CustomKeyStoreInvalidStateException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::CustomKeyStoreInvalidStateException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/custom_key_store_name_in_use_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::CustomKeyStoreNameInUseException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::CustomKeyStoreNameInUseException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/custom_key_store_not_found_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::CustomKeyStoreNotFoundException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::CustomKeyStoreNotFoundException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/dependency_timeout_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::DependencyTimeoutException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::DependencyTimeoutException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/disabled_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::DisabledException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::DisabledException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/dry_run_operation_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::DryRunOperationException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::DryRunOperationException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/expired_import_token_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::ExpiredImportTokenException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::ExpiredImportTokenException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/incorrect_key_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::IncorrectKeyException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::IncorrectKeyException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/incorrect_key_material_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::IncorrectKeyMaterialException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::IncorrectKeyMaterialException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/incorrect_trust_anchor_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::IncorrectTrustAnchorException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::IncorrectTrustAnchorException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/invalid_alias_name_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::InvalidAliasNameException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::InvalidAliasNameException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/invalid_arn_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::InvalidArnException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::InvalidArnException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/invalid_ciphertext_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::InvalidCiphertextException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::InvalidCiphertextException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/invalid_grant_id_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::InvalidGrantIdException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::InvalidGrantIdException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/invalid_grant_token_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::InvalidGrantTokenException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::InvalidGrantTokenException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/invalid_import_token_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::InvalidImportTokenException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::InvalidImportTokenException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/invalid_key_usage_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::InvalidKeyUsageException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::InvalidKeyUsageException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/invalid_marker_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::InvalidMarkerException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::InvalidMarkerException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/key_unavailable_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::KeyUnavailableException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::KeyUnavailableException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/kms_internal_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::KmsInternalException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::KMSInternalException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/kms_invalid_mac_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::KmsInvalidMacException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::KMSInvalidMacException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/kms_invalid_signature_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::KmsInvalidSignatureException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::KMSInvalidSignatureException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/kms_invalid_state_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::KmsInvalidStateException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::KMSInvalidStateException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/limit_exceeded_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::LimitExceededException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::LimitExceededException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/malformed_policy_document_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::MalformedPolicyDocumentException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::MalformedPolicyDocumentException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/not_found_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::NotFoundException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::NotFoundException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/tag_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::TagException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::TagException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/unsupported_operation_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::UnsupportedOperationException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::UnsupportedOperationException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/xks_key_already_in_use_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::XksKeyAlreadyInUseException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::XksKeyAlreadyInUseException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/xks_key_invalid_configuration_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::XksKeyInvalidConfigurationException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::XksKeyInvalidConfigurationException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/xks_key_not_found_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::XksKeyNotFoundException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::XksKeyNotFoundException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/xks_proxy_incorrect_authentication_credential_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::XksProxyIncorrectAuthenticationCredentialException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::XksProxyIncorrectAuthenticationCredentialException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/xks_proxy_invalid_configuration_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::XksProxyInvalidConfigurationException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::XksProxyInvalidConfigurationException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/xks_proxy_invalid_response_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::XksProxyInvalidResponseException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::XksProxyInvalidResponseException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/xks_proxy_uri_endpoint_in_use_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::XksProxyUriEndpointInUseException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::XksProxyUriEndpointInUseException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/xks_proxy_uri_in_use_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::XksProxyUriInUseException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::XksProxyUriInUseException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/xks_proxy_uri_unreachable_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::XksProxyUriUnreachableException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::XksProxyUriUnreachableException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/xks_proxy_vpc_endpoint_service_in_use_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::XksProxyVpcEndpointServiceInUseException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::XksProxyVpcEndpointServiceInUseException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/xks_proxy_vpc_endpoint_service_invalid_configuration_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::XksProxyVpcEndpointServiceInvalidConfigurationException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::XksProxyVpcEndpointServiceInvalidConfigurationException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/conversions/error/xks_proxy_vpc_endpoint_service_not_found_exception.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[allow(dead_code)]
5 | pub fn to_dafny(
6 | value: aws_sdk_kms::types::error::XksProxyVpcEndpointServiceNotFoundException,
7 | ) -> ::dafny_runtime::Rc<
8 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error,
9 | > {
10 | ::dafny_runtime::Rc::new(
11 | crate::r#software::amazon::cryptography::services::kms::internaldafny::types::Error::XksProxyVpcEndpointServiceNotFoundException {
12 | message: crate::standard_library_conversions::ostring_to_dafny(&value.message),
13 | }
14 | )
15 | }
16 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/deps/com_amazonaws_kms/types.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | pub mod error;
5 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/error.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | pub use ::aws_smithy_runtime_api::box_error::BoxError;
5 |
6 | /// Error type returned by the client.
7 | pub type SdkError =
8 | ::aws_smithy_runtime_api::client::result::SdkError;
9 | pub use ::aws_smithy_runtime_api::client::result::ConnectorError;
10 | pub use ::aws_smithy_types::error::operation::BuildError;
11 |
12 | pub use ::aws_smithy_types::error::display::DisplayErrorContext;
13 | pub use ::aws_smithy_types::error::metadata::ErrorMetadata;
14 | pub use ::aws_smithy_types::error::metadata::ProvideErrorMetadata;
15 |
16 | pub(crate) mod sealed_unhandled;
17 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/operation.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | /// Types for the `Decrypt` operation.
5 | pub mod decrypt;
6 |
7 | /// Types for the `Encrypt` operation.
8 | pub mod encrypt;
9 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/software_externs.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | #![deny(warnings, unconditional_panic)]
5 | #![deny(nonstandard_style)]
6 | #![deny(clippy::all)]
7 | #![allow(non_snake_case)]
8 |
9 | pub mod software {
10 | pub mod amazon {
11 | pub mod cryptography {
12 | pub mod internaldafny {
13 | pub mod StormTrackingCMC {
14 | pub use crate::storm_tracker::internal_StormTrackingCMC::*;
15 | }
16 | pub mod SynchronizedLocalCMC {
17 | pub use crate::local_cmc::internal_SynchronizedLocalCMC::*;
18 | }
19 | }
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/types.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | /// Types for the `AwsEncryptionSdkConfig`
5 | pub mod aws_encryption_sdk_config;
6 | pub use crate::types::aws_encryption_sdk_config::AwsEncryptionSdkConfig;
7 |
8 | pub mod builders;
9 |
10 | mod _decrypt_input;
11 | pub use crate::types::_decrypt_input::DecryptInput;
12 | mod _decrypt_output;
13 | pub use crate::types::_decrypt_output::DecryptOutput;
14 | mod _encrypt_input;
15 | pub use crate::types::_encrypt_input::EncryptInput;
16 | mod _encrypt_output;
17 | pub use crate::types::_encrypt_output::EncryptOutput;
18 |
19 | pub mod error;
20 |
21 | mod _net_v4_0_0_retry_policy;
22 | pub use crate::types::_net_v4_0_0_retry_policy::NetV400RetryPolicy;
23 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/types/_net_v4_0_0_retry_policy.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | #[derive(Debug, PartialEq, Copy, Clone)]
5 | /// During Decryption, Allow or Forbid ESDK-NET v4.0.0 Behavior if the ESDK Message Header fails the Header Authentication check.
6 | pub enum NetV400RetryPolicy {
7 | ForbidRetry,
8 | AllowRetry,
9 | }
10 |
11 | impl ::std::fmt::Display for NetV400RetryPolicy {
12 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13 | match self {
14 | NetV400RetryPolicy::ForbidRetry => write!(f, "FORBID_RETRY"),
15 | NetV400RetryPolicy::AllowRetry => write!(f, "ALLOW_RETRY"),
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/releases/rust/esdk/src/types/builders.rs:
--------------------------------------------------------------------------------
1 | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 | // Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4 | pub use crate::types::_decrypt_input::DecryptInputBuilder;
5 |
6 | pub use crate::types::_decrypt_output::DecryptOutputBuilder;
7 |
8 | pub use crate::types::_encrypt_input::EncryptInputBuilder;
9 |
10 | pub use crate::types::_encrypt_output::EncryptOutputBuilder;
11 |
--------------------------------------------------------------------------------
/test/.gitignore:
--------------------------------------------------------------------------------
1 | obj
2 | TestResults
--------------------------------------------------------------------------------
/test/hkdf/HKDFTest7OKM:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws/aws-encryption-sdk/b321a46a5ecf355445ca06c57c81f9db057fc8f6/test/hkdf/HKDFTest7OKM
--------------------------------------------------------------------------------