Best Python code snippet using localstack_python
client.pyi
Source:client.pyi
...286 the specified symmetric encryption KMS key.287 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/kms.html#KMS.Client.disable_key_rotation)288 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_kms/client.html#disable_key_rotation)289 """290 def disconnect_custom_key_store(self, *, CustomKeyStoreId: str) -> Dict[str, Any]:291 """292 Disconnects the `custom key store293 <https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-294 overview.html>`__ from its associated CloudHSM cluster.295 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/kms.html#KMS.Client.disconnect_custom_key_store)296 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_kms/client.html#disconnect_custom_key_store)297 """298 def enable_key(self, *, KeyId: str) -> None:299 """300 Sets the key state of a KMS key to enabled.301 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/kms.html#KMS.Client.enable_key)302 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_kms/client.html#enable_key)303 """304 def enable_key_rotation(self, *, KeyId: str) -> None:...
client.py
Source:client.py
...36 def disable_key(self, KeyId: str):37 pass38 def disable_key_rotation(self, KeyId: str):39 pass40 def disconnect_custom_key_store(self, CustomKeyStoreId: str) -> Dict:41 pass42 def enable_key(self, KeyId: str):43 pass44 def enable_key_rotation(self, KeyId: str):45 pass46 def encrypt(self, KeyId: str, Plaintext: bytes, EncryptionContext: Dict = None, GrantTokens: List = None) -> Dict:47 pass48 def generate_data_key(self, KeyId: str, EncryptionContext: Dict = None, NumberOfBytes: int = None, KeySpec: str = None, GrantTokens: List = None) -> Dict:49 pass50 def generate_data_key_without_plaintext(self, KeyId: str, EncryptionContext: Dict = None, KeySpec: str = None, NumberOfBytes: int = None, GrantTokens: List = None) -> Dict:51 pass52 def generate_presigned_url(self, ClientMethod: str = None, Params: Dict = None, ExpiresIn: int = None, HttpMethod: str = None):53 pass54 def generate_random(self, NumberOfBytes: int = None, CustomKeyStoreId: str = None) -> Dict:...
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!