CloudSearchDomain module#
Index > CloudSearchDomain
Auto-generated documentation for CloudSearchDomain type annotations stubs module types-aiobotocore-cloudsearchdomain.
How to install#
Generate locally (recommended)#
You can generate type annotations for aiobotocore
package locally with mypy-boto3-builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'aiobotocore==2.23.0' mypy-boto3-builder
- Select
aiobotocore
AWS SDK. - Add
CloudSearchDomain
service. - Use provided commands to install generated packages.
From PyPI with pip#
Install types-aiobotocore
for CloudSearchDomain
service.
# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[cloudsearchdomain]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aiobotocore-lite[cloudsearchdomain]'
# standalone installation
python -m pip install types-aiobotocore-cloudsearchdomain
How to uninstall#
python -m pip uninstall -y types-aiobotocore-cloudsearchdomain
Usage#
Code samples can be found in Examples.
CloudSearchDomainClient#
Type annotations and code completion for session.create_client("cloudsearchdomain")
as CloudSearchDomainClient
boto3 documentation
# CloudSearchDomainClient usage example
from aiobotocore.session import get_session
from types_aiobotocore_cloudsearchdomain.client import CloudSearchDomainClient
session = get_session()
async with session.create_client("cloudsearchdomain") as client:
client: CloudSearchDomainClient
Literals#
Type annotations for literals used in methods and schema.
# ContentTypeType usage example
from types_aiobotocore_cloudsearchdomain.literals import ContentTypeType
def get_value() -> ContentTypeType:
return "application/json"
Type definitions#
Type annotations for type definitions used in methods and schema.
- BlobTypeDef
- BucketTypeDef
- DocumentServiceWarningTypeDef
- FieldStatsTypeDef
- HitTypeDef
- ResponseMetadataTypeDef
- SearchRequestTypeDef
- SearchStatusTypeDef
- SuggestionMatchTypeDef
- SuggestRequestTypeDef
- SuggestStatusTypeDef
- UploadDocumentsRequestTypeDef
- BucketInfoTypeDef
- HitsTypeDef
- UploadDocumentsResponseTypeDef
- SuggestModelTypeDef
- SearchResponseTypeDef
- SuggestResponseTypeDef