OpenSearchService module#
Index > OpenSearchService
Auto-generated documentation for OpenSearchService type annotations stubs module mypy-boto3-opensearch.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.86' mypy_boto3_builder
- Select
boto3-stubs
AWS SDK. - Add
OpenSearchService
service. - Use provided commands to install generated packages.
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and OpenSearchService
.
From PyPI with pip#
Install boto3-stubs
for OpenSearchService
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[opensearch]'
# 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[opensearch]'
# standalone installation
python -m pip install mypy-boto3-opensearch
How to uninstall#
python -m pip uninstall -y mypy-boto3-opensearch
Usage#
Code samples can be found in Examples.
OpenSearchServiceClient#
Type annotations and code completion for boto3.client("opensearch")
as OpenSearchServiceClient
boto3 documentation
# OpenSearchServiceClient usage example
from boto3.session import Session
from mypy_boto3_opensearch.client import OpenSearchServiceClient
def get_client() -> OpenSearchServiceClient:
return Session().client("opensearch")
Paginators#
Type annotations and code completion for paginators
from boto3.client("opensearch").get_paginator("...")
.
# ListApplicationsPaginator usage example
from boto3.session import Session
from mypy_boto3_opensearch.paginator import ListApplicationsPaginator
def get_list_applications_paginator() -> ListApplicationsPaginator:
return Session().client("opensearch").get_paginator("list_applications"))
Literals#
Type annotations for literals used in methods and schema.
# AWSServicePrincipalType usage example
from mypy_boto3_opensearch.literals import AWSServicePrincipalType
def get_value() -> AWSServicePrincipalType:
return "application.opensearchservice.amazonaws.com"
- AWSServicePrincipalType
- ActionSeverityType
- ActionStatusType
- ActionTypeType
- AppConfigTypeType
- ApplicationStatusType
- AutoTuneDesiredStateType
- AutoTuneStateType
- AutoTuneTypeType
- ConfigChangeStatusType
- ConnectionModeType
- DataSourceStatusType
- DeploymentStatusType
- DescribePackagesFilterNameType
- DomainHealthType
- DomainPackageStatusType
- DomainProcessingStatusTypeType
- DomainStateType
- DryRunModeType
- EngineTypeType
- IPAddressTypeType
- InboundConnectionStatusCodeType
- InitiatedByType
- ListApplicationsPaginatorName
- LogTypeType
- MaintenanceStatusType
- MaintenanceTypeType
- MasterNodeStatusType
- NaturalLanguageQueryGenerationCurrentStateType
- NaturalLanguageQueryGenerationDesiredStateType
- NodeOptionsNodeTypeType
- NodeStatusType
- NodeTypeType
- OpenSearchPartitionInstanceTypeType
- OpenSearchWarmPartitionInstanceTypeType
- OptionStateType
- OutboundConnectionStatusCodeType
- OverallChangeStatusType
- PackageScopeOperationEnumType
- PackageStatusType
- PackageTypeType
- PrincipalTypeType
- PropertyValueTypeType
- RequirementLevelType
- ReservedInstancePaymentOptionType
- RolesKeyIdCOptionType
- RollbackOnDisableType
- ScheduleAtType
- ScheduledAutoTuneActionTypeType
- ScheduledAutoTuneSeverityTypeType
- ScheduledByType
- SkipUnavailableStatusType
- SubjectKeyIdCOptionType
- TLSSecurityPolicyType
- TimeUnitType
- UpgradeStatusType
- UpgradeStepType
- VolumeTypeType
- VpcEndpointErrorCodeType
- VpcEndpointStatusType
- ZoneStatusType
- OpenSearchServiceServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- NaturalLanguageQueryGenerationOptionsInputTypeDef
- NaturalLanguageQueryGenerationOptionsOutputTypeDef
- OptionStatusTypeDef
- AWSDomainInformationTypeDef
- AcceptInboundConnectionRequestRequestTypeDef
- ResponseMetadataTypeDef
- TagTypeDef
- AdditionalLimitTypeDef
- JWTOptionsInputTypeDef
- MasterUserOptionsTypeDef
- JWTOptionsOutputTypeDef
- AppConfigTypeDef
- ApplicationSummaryTypeDef
- AuthorizeVpcEndpointAccessRequestRequestTypeDef
- AuthorizedPrincipalTypeDef
- ScheduledAutoTuneDetailsTypeDef
- DurationTypeDef
- TimestampTypeDef
- AutoTuneOptionsOutputTypeDef
- AutoTuneStatusTypeDef
- AvailabilityZoneInfoTypeDef
- CancelDomainConfigChangeRequestRequestTypeDef
- CancelledChangePropertyTypeDef
- CancelServiceSoftwareUpdateRequestRequestTypeDef
- ServiceSoftwareOptionsTypeDef
- ChangeProgressDetailsTypeDef
- ChangeProgressStageTypeDef
- CloudWatchDirectQueryDataSourceTypeDef
- ColdStorageOptionsTypeDef
- ZoneAwarenessConfigTypeDef
- CognitoOptionsTypeDef
- CompatibleVersionsMapTypeDef
- CrossClusterSearchConnectionPropertiesTypeDef
- DataSourceTypeDef
- IamIdentityCenterOptionsInputTypeDef
- IamIdentityCenterOptionsTypeDef
- DomainEndpointOptionsTypeDef
- EBSOptionsTypeDef
- EncryptionAtRestOptionsTypeDef
- IdentityCenterOptionsInputTypeDef
- LogPublishingOptionTypeDef
- NodeToNodeEncryptionOptionsTypeDef
- SnapshotOptionsTypeDef
- SoftwareUpdateOptionsTypeDef
- VPCOptionsTypeDef
- OutboundConnectionStatusTypeDef
- PackageConfigurationTypeDef
- PackageEncryptionOptionsTypeDef
- PackageSourceTypeDef
- PackageVendingOptionsTypeDef
- S3GlueDataCatalogTypeDef
- DeleteApplicationRequestRequestTypeDef
- DeleteDataSourceRequestRequestTypeDef
- DeleteDirectQueryDataSourceRequestRequestTypeDef
- DeleteDomainRequestRequestTypeDef
- DeleteInboundConnectionRequestRequestTypeDef
- DeleteOutboundConnectionRequestRequestTypeDef
- DeletePackageRequestRequestTypeDef
- DeleteVpcEndpointRequestRequestTypeDef
- VpcEndpointSummaryTypeDef
- DescribeDomainAutoTunesRequestRequestTypeDef
- DescribeDomainChangeProgressRequestRequestTypeDef
- DescribeDomainConfigRequestRequestTypeDef
- DescribeDomainHealthRequestRequestTypeDef
- DescribeDomainNodesRequestRequestTypeDef
- DomainNodesStatusTypeDef
- DescribeDomainRequestRequestTypeDef
- DescribeDomainsRequestRequestTypeDef
- DescribeDryRunProgressRequestRequestTypeDef
- DryRunResultsTypeDef
- FilterTypeDef
- DescribeInstanceTypeLimitsRequestRequestTypeDef
- DescribePackagesFilterTypeDef
- DescribeReservedInstanceOfferingsRequestRequestTypeDef
- DescribeReservedInstancesRequestRequestTypeDef
- DescribeVpcEndpointsRequestRequestTypeDef
- VpcEndpointErrorTypeDef
- SecurityLakeDirectQueryDataSourceTypeDef
- DissociatePackageRequestRequestTypeDef
- DissociatePackagesRequestRequestTypeDef
- ModifyingPropertiesTypeDef
- DomainInfoTypeDef
- DomainMaintenanceDetailsTypeDef
- ErrorDetailsTypeDef
- IdentityCenterOptionsTypeDef
- VPCDerivedInfoTypeDef
- ValidationFailureTypeDef
- GetApplicationRequestRequestTypeDef
- GetCompatibleVersionsRequestRequestTypeDef
- GetDataSourceRequestRequestTypeDef
- GetDirectQueryDataSourceRequestRequestTypeDef
- GetDomainMaintenanceStatusRequestRequestTypeDef
- GetPackageVersionHistoryRequestRequestTypeDef
- GetUpgradeHistoryRequestRequestTypeDef
- GetUpgradeStatusRequestRequestTypeDef
- InboundConnectionStatusTypeDef
- InstanceCountLimitsTypeDef
- InstanceTypeDetailsTypeDef
- KeyStoreAccessOptionTypeDef
- PaginatorConfigTypeDef
- ListApplicationsRequestRequestTypeDef
- ListDataSourcesRequestRequestTypeDef
- ListDirectQueryDataSourcesRequestRequestTypeDef
- ListDomainMaintenancesRequestRequestTypeDef
- ListDomainNamesRequestRequestTypeDef
- ListDomainsForPackageRequestRequestTypeDef
- ListInstanceTypeDetailsRequestRequestTypeDef
- ListPackagesForDomainRequestRequestTypeDef
- ListScheduledActionsRequestRequestTypeDef
- ScheduledActionTypeDef
- ListTagsRequestRequestTypeDef
- ListVersionsRequestRequestTypeDef
- ListVpcEndpointAccessRequestRequestTypeDef
- ListVpcEndpointsForDomainRequestRequestTypeDef
- ListVpcEndpointsRequestRequestTypeDef
- NodeConfigTypeDef
- WindowStartTimeTypeDef
- PluginPropertiesTypeDef
- PurchaseReservedInstanceOfferingRequestRequestTypeDef
- RecurringChargeTypeDef
- RejectInboundConnectionRequestRequestTypeDef
- RemoveTagsRequestRequestTypeDef
- RevokeVpcEndpointAccessRequestRequestTypeDef
- SAMLIdpTypeDef
- StartDomainMaintenanceRequestRequestTypeDef
- StartServiceSoftwareUpdateRequestRequestTypeDef
- StorageTypeLimitTypeDef
- UpdatePackageScopeRequestRequestTypeDef
- UpdateScheduledActionRequestRequestTypeDef
- UpgradeDomainRequestRequestTypeDef
- UpgradeStepItemTypeDef
- AIMLOptionsInputTypeDef
- AIMLOptionsOutputTypeDef
- AccessPoliciesStatusTypeDef
- AdvancedOptionsStatusTypeDef
- IPAddressTypeStatusTypeDef
- VersionStatusTypeDef
- DomainInformationContainerTypeDef
- AddDataSourceResponseTypeDef
- AddDirectQueryDataSourceResponseTypeDef
- DeleteDataSourceResponseTypeDef
- EmptyResponseMetadataTypeDef
- GetDomainMaintenanceStatusResponseTypeDef
- GetUpgradeStatusResponseTypeDef
- ListVersionsResponseTypeDef
- PurchaseReservedInstanceOfferingResponseTypeDef
- StartDomainMaintenanceResponseTypeDef
- UpdateDataSourceResponseTypeDef
- UpdateDirectQueryDataSourceResponseTypeDef
- UpdatePackageScopeResponseTypeDef
- AddTagsRequestRequestTypeDef
- ListTagsResponseTypeDef
- ListApplicationsResponseTypeDef
- AuthorizeVpcEndpointAccessResponseTypeDef
- ListVpcEndpointAccessResponseTypeDef
- AutoTuneDetailsTypeDef
- AutoTuneMaintenanceScheduleOutputTypeDef
- AutoTuneMaintenanceScheduleTypeDef
- EnvironmentInfoTypeDef
- CancelDomainConfigChangeResponseTypeDef
- CancelServiceSoftwareUpdateResponseTypeDef
- StartServiceSoftwareUpdateResponseTypeDef
- UpgradeDomainResponseTypeDef
- ChangeProgressStatusDetailsTypeDef
- CognitoOptionsStatusTypeDef
- GetCompatibleVersionsResponseTypeDef
- ConnectionPropertiesTypeDef
- UpdateApplicationRequestRequestTypeDef
- CreateApplicationRequestRequestTypeDef
- CreateApplicationResponseTypeDef
- GetApplicationResponseTypeDef
- UpdateApplicationResponseTypeDef
- DomainEndpointOptionsStatusTypeDef
- EBSOptionsStatusTypeDef
- EncryptionAtRestOptionsStatusTypeDef
- LogPublishingOptionsStatusTypeDef
- NodeToNodeEncryptionOptionsStatusTypeDef
- SnapshotOptionsStatusTypeDef
- SoftwareUpdateOptionsStatusTypeDef
- CreateVpcEndpointRequestRequestTypeDef
- UpdateVpcEndpointRequestRequestTypeDef
- UpdatePackageRequestRequestTypeDef
- CreatePackageRequestRequestTypeDef
- DataSourceTypeTypeDef
- DeleteVpcEndpointResponseTypeDef
- ListVpcEndpointsForDomainResponseTypeDef
- ListVpcEndpointsResponseTypeDef
- DescribeDomainNodesResponseTypeDef
- DescribeInboundConnectionsRequestRequestTypeDef
- DescribeOutboundConnectionsRequestRequestTypeDef
- DescribePackagesRequestRequestTypeDef
- DirectQueryDataSourceTypeTypeDef
- ListDomainNamesResponseTypeDef
- ListDomainMaintenancesResponseTypeDef
- IdentityCenterOptionsStatusTypeDef
- VPCDerivedInfoStatusTypeDef
- VpcEndpointTypeDef
- DryRunProgressStatusTypeDef
- InstanceLimitsTypeDef
- ListInstanceTypeDetailsResponseTypeDef
- PackageAssociationConfigurationTypeDef
- ListApplicationsRequestPaginateTypeDef
- ListScheduledActionsResponseTypeDef
- UpdateScheduledActionResponseTypeDef
- NodeOptionTypeDef
- OffPeakWindowTypeDef
- PackageDetailsTypeDef
- PackageVersionHistoryTypeDef
- ReservedInstanceOfferingTypeDef
- ReservedInstanceTypeDef
- SAMLOptionsInputTypeDef
- SAMLOptionsOutputTypeDef
- StorageTypeTypeDef
- UpgradeHistoryTypeDef
- AIMLOptionsStatusTypeDef
- InboundConnectionTypeDef
- AutoTuneTypeDef
- AutoTuneOptionsExtraOutputTypeDef
- AutoTuneMaintenanceScheduleUnionTypeDef
- DescribeDomainHealthResponseTypeDef
- DescribeDomainChangeProgressResponseTypeDef
- CreateOutboundConnectionRequestRequestTypeDef
- CreateOutboundConnectionResponseTypeDef
- OutboundConnectionTypeDef
- AddDataSourceRequestRequestTypeDef
- DataSourceDetailsTypeDef
- GetDataSourceResponseTypeDef
- UpdateDataSourceRequestRequestTypeDef
- AddDirectQueryDataSourceRequestRequestTypeDef
- DirectQueryDataSourceTypeDef
- GetDirectQueryDataSourceResponseTypeDef
- UpdateDirectQueryDataSourceRequestRequestTypeDef
- CreateVpcEndpointResponseTypeDef
- DescribeVpcEndpointsResponseTypeDef
- UpdateVpcEndpointResponseTypeDef
- AssociatePackageRequestRequestTypeDef
- DomainPackageDetailsTypeDef
- PackageDetailsForAssociationTypeDef
- ClusterConfigOutputTypeDef
- ClusterConfigTypeDef
- OffPeakWindowOptionsTypeDef
- CreatePackageResponseTypeDef
- DeletePackageResponseTypeDef
- DescribePackagesResponseTypeDef
- UpdatePackageResponseTypeDef
- GetPackageVersionHistoryResponseTypeDef
- DescribeReservedInstanceOfferingsResponseTypeDef
- DescribeReservedInstancesResponseTypeDef
- AdvancedSecurityOptionsInputTypeDef
- AdvancedSecurityOptionsTypeDef
- LimitsTypeDef
- GetUpgradeHistoryResponseTypeDef
- AcceptInboundConnectionResponseTypeDef
- DeleteInboundConnectionResponseTypeDef
- DescribeInboundConnectionsResponseTypeDef
- RejectInboundConnectionResponseTypeDef
- DescribeDomainAutoTunesResponseTypeDef
- AutoTuneOptionsStatusTypeDef
- AutoTuneOptionsInputTypeDef
- AutoTuneOptionsTypeDef
- DeleteOutboundConnectionResponseTypeDef
- DescribeOutboundConnectionsResponseTypeDef
- ListDataSourcesResponseTypeDef
- ListDirectQueryDataSourcesResponseTypeDef
- AssociatePackageResponseTypeDef
- AssociatePackagesResponseTypeDef
- DissociatePackageResponseTypeDef
- DissociatePackagesResponseTypeDef
- ListDomainsForPackageResponseTypeDef
- ListPackagesForDomainResponseTypeDef
- AssociatePackagesRequestRequestTypeDef
- ClusterConfigStatusTypeDef
- OffPeakWindowOptionsStatusTypeDef
- AdvancedSecurityOptionsStatusTypeDef
- DomainStatusTypeDef
- DescribeInstanceTypeLimitsResponseTypeDef
- CreateDomainRequestRequestTypeDef
- UpdateDomainConfigRequestRequestTypeDef
- DomainConfigTypeDef
- CreateDomainResponseTypeDef
- DeleteDomainResponseTypeDef
- DescribeDomainResponseTypeDef
- DescribeDomainsResponseTypeDef
- DescribeDryRunProgressResponseTypeDef
- DescribeDomainConfigResponseTypeDef
- UpdateDomainConfigResponseTypeDef