Best Python code snippet using localstack_python
client.py
Source:client.py
...28 def delete_custom_key_store(self, CustomKeyStoreId: str) -> Dict:29 pass30 def delete_imported_key_material(self, KeyId: str):31 pass32 def describe_custom_key_stores(self, CustomKeyStoreId: str = None, CustomKeyStoreName: str = None, Limit: int = None, Marker: str = None) -> Dict:33 pass34 def describe_key(self, KeyId: str, GrantTokens: List = None) -> Dict:35 pass36 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:...
__init__.pyi
Source:__init__.pyi
1"""2Main interface for kms service.3Usage::4 ```python5 import boto36 from mypy_boto3_kms import (7 Client,8 DescribeCustomKeyStoresPaginator,9 KMSClient,10 ListAliasesPaginator,11 ListGrantsPaginator,12 ListKeyPoliciesPaginator,13 ListKeysPaginator,14 ListResourceTagsPaginator,15 ListRetirableGrantsPaginator,16 )17 session = boto3.Session()18 client: KMSClient = boto3.client("kms")19 session_client: KMSClient = session.client("kms")20 describe_custom_key_stores_paginator: DescribeCustomKeyStoresPaginator = client.get_paginator("describe_custom_key_stores")21 list_aliases_paginator: ListAliasesPaginator = client.get_paginator("list_aliases")22 list_grants_paginator: ListGrantsPaginator = client.get_paginator("list_grants")23 list_key_policies_paginator: ListKeyPoliciesPaginator = client.get_paginator("list_key_policies")24 list_keys_paginator: ListKeysPaginator = client.get_paginator("list_keys")25 list_resource_tags_paginator: ListResourceTagsPaginator = client.get_paginator("list_resource_tags")26 list_retirable_grants_paginator: ListRetirableGrantsPaginator = client.get_paginator("list_retirable_grants")27 ```28"""29from .client import KMSClient30from .paginator import (31 DescribeCustomKeyStoresPaginator,32 ListAliasesPaginator,33 ListGrantsPaginator,34 ListKeyPoliciesPaginator,35 ListKeysPaginator,36 ListResourceTagsPaginator,37 ListRetirableGrantsPaginator,38)39Client = KMSClient40__all__ = (41 "Client",42 "DescribeCustomKeyStoresPaginator",43 "KMSClient",44 "ListAliasesPaginator",45 "ListGrantsPaginator",46 "ListKeyPoliciesPaginator",47 "ListKeysPaginator",48 "ListResourceTagsPaginator",49 "ListRetirableGrantsPaginator",...
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!!