CloudFrontKeyValueStore module#
Index > CloudFrontKeyValueStore
Auto-generated documentation for CloudFrontKeyValueStore type annotations stubs module mypy-boto3-cloudfront-keyvaluestore.
How to install#
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and CloudFrontKeyValueStore
.
From PyPI with pip#
Install boto3-stubs
for CloudFrontKeyValueStore
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[cloudfront-keyvaluestore]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[cloudfront-keyvaluestore]'
# standalone installation
python -m pip install mypy-boto3-cloudfront-keyvaluestore
How to uninstall#
python -m pip uninstall -y mypy-boto3-cloudfront-keyvaluestore
Usage#
Code samples can be found in Examples.
CloudFrontKeyValueStoreClient#
Type annotations and code completion for boto3.client("cloudfront-keyvaluestore")
as CloudFrontKeyValueStoreClient
boto3 documentation
# CloudFrontKeyValueStoreClient usage example
from boto3.session import Session
from mypy_boto3_cloudfront_keyvaluestore.client import CloudFrontKeyValueStoreClient
def get_client() -> CloudFrontKeyValueStoreClient:
return Session().client("cloudfront-keyvaluestore")
Paginators#
Type annotations and code completion for paginators
from boto3.client("cloudfront-keyvaluestore").get_paginator("...")
.
# ListKeysPaginator usage example
from boto3.session import Session
from mypy_boto3_cloudfront_keyvaluestore.paginator import ListKeysPaginator
def get_list_keys_paginator() -> ListKeysPaginator:
return Session().client("cloudfront-keyvaluestore").get_paginator("list_keys"))
Literals#
Type annotations for literals used in methods and schema.
# ListKeysPaginatorName usage example
from mypy_boto3_cloudfront_keyvaluestore.literals import ListKeysPaginatorName
def get_value() -> ListKeysPaginatorName:
return "list_keys"
- ListKeysPaginatorName
- CloudFrontKeyValueStoreServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
Type definitions#
Type annotations for type definitions used in methods and schema.
- DeleteKeyRequestListItemTypeDef
- DeleteKeyRequestRequestTypeDef
- ResponseMetadataTypeDef
- DescribeKeyValueStoreRequestRequestTypeDef
- GetKeyRequestRequestTypeDef
- PaginatorConfigTypeDef
- ListKeysRequestRequestTypeDef
- ListKeysResponseListItemTypeDef
- PutKeyRequestListItemTypeDef
- PutKeyRequestRequestTypeDef
- DeleteKeyResponseTypeDef
- DescribeKeyValueStoreResponseTypeDef
- GetKeyResponseTypeDef
- PutKeyResponseTypeDef
- UpdateKeysResponseTypeDef
- ListKeysRequestListKeysPaginateTypeDef
- ListKeysResponseTypeDef
- UpdateKeysRequestRequestTypeDef