Greengrass module#
Index > Greengrass
Auto-generated documentation for Greengrass type annotations stubs module mypy-boto3-greengrass.
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
Greengrass
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 Greengrass
.
From PyPI with pip#
Install boto3-stubs
for Greengrass
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[greengrass]'
# 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[greengrass]'
# standalone installation
python -m pip install mypy-boto3-greengrass
How to uninstall#
python -m pip uninstall -y mypy-boto3-greengrass
Usage#
Code samples can be found in Examples.
GreengrassClient#
Type annotations and code completion for boto3.client("greengrass")
as GreengrassClient
boto3 documentation
# GreengrassClient usage example
from boto3.session import Session
from mypy_boto3_greengrass.client import GreengrassClient
def get_client() -> GreengrassClient:
return Session().client("greengrass")
Paginators#
Type annotations and code completion for paginators
from boto3.client("greengrass").get_paginator("...")
.
# ListBulkDeploymentDetailedReportsPaginator usage example
from boto3.session import Session
from mypy_boto3_greengrass.paginator import ListBulkDeploymentDetailedReportsPaginator
def get_list_bulk_deployment_detailed_reports_paginator() -> ListBulkDeploymentDetailedReportsPaginator:
return Session().client("greengrass").get_paginator("list_bulk_deployment_detailed_reports"))
- ListBulkDeploymentDetailedReportsPaginator
- ListBulkDeploymentsPaginator
- ListConnectorDefinitionVersionsPaginator
- ListConnectorDefinitionsPaginator
- ListCoreDefinitionVersionsPaginator
- ListCoreDefinitionsPaginator
- ListDeploymentsPaginator
- ListDeviceDefinitionVersionsPaginator
- ListDeviceDefinitionsPaginator
- ListFunctionDefinitionVersionsPaginator
- ListFunctionDefinitionsPaginator
- ListGroupVersionsPaginator
- ListGroupsPaginator
- ListLoggerDefinitionVersionsPaginator
- ListLoggerDefinitionsPaginator
- ListResourceDefinitionVersionsPaginator
- ListResourceDefinitionsPaginator
- ListSubscriptionDefinitionVersionsPaginator
- ListSubscriptionDefinitionsPaginator
Literals#
Type annotations for literals used in methods and schema.
# BulkDeploymentStatusType usage example
from mypy_boto3_greengrass.literals import BulkDeploymentStatusType
def get_value() -> BulkDeploymentStatusType:
return "Completed"
- BulkDeploymentStatusType
- ConfigurationSyncStatusType
- DeploymentTypeType
- EncodingTypeType
- FunctionIsolationModeType
- ListBulkDeploymentDetailedReportsPaginatorName
- ListBulkDeploymentsPaginatorName
- ListConnectorDefinitionVersionsPaginatorName
- ListConnectorDefinitionsPaginatorName
- ListCoreDefinitionVersionsPaginatorName
- ListCoreDefinitionsPaginatorName
- ListDeploymentsPaginatorName
- ListDeviceDefinitionVersionsPaginatorName
- ListDeviceDefinitionsPaginatorName
- ListFunctionDefinitionVersionsPaginatorName
- ListFunctionDefinitionsPaginatorName
- ListGroupVersionsPaginatorName
- ListGroupsPaginatorName
- ListLoggerDefinitionVersionsPaginatorName
- ListLoggerDefinitionsPaginatorName
- ListResourceDefinitionVersionsPaginatorName
- ListResourceDefinitionsPaginatorName
- ListSubscriptionDefinitionVersionsPaginatorName
- ListSubscriptionDefinitionsPaginatorName
- LoggerComponentType
- LoggerLevelType
- LoggerTypeType
- PermissionType
- SoftwareToUpdateType
- TelemetryType
- UpdateAgentLogLevelType
- UpdateTargetsArchitectureType
- UpdateTargetsOperatingSystemType
- GreengrassServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- AssociateRoleToGroupRequestRequestTypeDef
- ResponseMetadataTypeDef
- AssociateServiceRoleToAccountRequestRequestTypeDef
- BulkDeploymentMetricsTypeDef
- ErrorDetailTypeDef
- BulkDeploymentTypeDef
- ConnectivityInfoTypeDef
- ConnectorOutputTypeDef
- ConnectorTypeDef
- CoreTypeDef
- CreateDeploymentRequestRequestTypeDef
- DeviceTypeDef
- CreateGroupCertificateAuthorityRequestRequestTypeDef
- GroupVersionTypeDef
- CreateGroupVersionRequestRequestTypeDef
- LoggerTypeDef
- CreateSoftwareUpdateJobRequestRequestTypeDef
- SubscriptionTypeDef
- DefinitionInformationTypeDef
- DeleteConnectorDefinitionRequestRequestTypeDef
- DeleteCoreDefinitionRequestRequestTypeDef
- DeleteDeviceDefinitionRequestRequestTypeDef
- DeleteFunctionDefinitionRequestRequestTypeDef
- DeleteGroupRequestRequestTypeDef
- DeleteLoggerDefinitionRequestRequestTypeDef
- DeleteResourceDefinitionRequestRequestTypeDef
- DeleteSubscriptionDefinitionRequestRequestTypeDef
- DeploymentTypeDef
- DisassociateRoleFromGroupRequestRequestTypeDef
- ResourceAccessPolicyTypeDef
- FunctionRunAsConfigTypeDef
- GetAssociatedRoleRequestRequestTypeDef
- GetBulkDeploymentStatusRequestRequestTypeDef
- GetConnectivityInfoRequestRequestTypeDef
- GetConnectorDefinitionRequestRequestTypeDef
- GetConnectorDefinitionVersionRequestRequestTypeDef
- GetCoreDefinitionRequestRequestTypeDef
- GetCoreDefinitionVersionRequestRequestTypeDef
- GetDeploymentStatusRequestRequestTypeDef
- GetDeviceDefinitionRequestRequestTypeDef
- GetDeviceDefinitionVersionRequestRequestTypeDef
- GetFunctionDefinitionRequestRequestTypeDef
- GetFunctionDefinitionVersionRequestRequestTypeDef
- GetGroupCertificateAuthorityRequestRequestTypeDef
- GetGroupCertificateConfigurationRequestRequestTypeDef
- GetGroupRequestRequestTypeDef
- GetGroupVersionRequestRequestTypeDef
- GetLoggerDefinitionRequestRequestTypeDef
- GetLoggerDefinitionVersionRequestRequestTypeDef
- GetResourceDefinitionRequestRequestTypeDef
- GetResourceDefinitionVersionRequestRequestTypeDef
- GetSubscriptionDefinitionRequestRequestTypeDef
- GetSubscriptionDefinitionVersionRequestRequestTypeDef
- GetThingRuntimeConfigurationRequestRequestTypeDef
- GroupCertificateAuthorityPropertiesTypeDef
- GroupInformationTypeDef
- GroupOwnerSettingTypeDef
- PaginatorConfigTypeDef
- ListBulkDeploymentDetailedReportsRequestRequestTypeDef
- ListBulkDeploymentsRequestRequestTypeDef
- ListConnectorDefinitionVersionsRequestRequestTypeDef
- VersionInformationTypeDef
- ListConnectorDefinitionsRequestRequestTypeDef
- ListCoreDefinitionVersionsRequestRequestTypeDef
- ListCoreDefinitionsRequestRequestTypeDef
- ListDeploymentsRequestRequestTypeDef
- ListDeviceDefinitionVersionsRequestRequestTypeDef
- ListDeviceDefinitionsRequestRequestTypeDef
- ListFunctionDefinitionVersionsRequestRequestTypeDef
- ListFunctionDefinitionsRequestRequestTypeDef
- ListGroupCertificateAuthoritiesRequestRequestTypeDef
- ListGroupVersionsRequestRequestTypeDef
- ListGroupsRequestRequestTypeDef
- ListLoggerDefinitionVersionsRequestRequestTypeDef
- ListLoggerDefinitionsRequestRequestTypeDef
- ListResourceDefinitionVersionsRequestRequestTypeDef
- ListResourceDefinitionsRequestRequestTypeDef
- ListSubscriptionDefinitionVersionsRequestRequestTypeDef
- ListSubscriptionDefinitionsRequestRequestTypeDef
- ListTagsForResourceRequestRequestTypeDef
- ResetDeploymentsRequestRequestTypeDef
- SecretsManagerSecretResourceDataOutputTypeDef
- ResourceDownloadOwnerSettingTypeDef
- TelemetryConfigurationTypeDef
- SecretsManagerSecretResourceDataTypeDef
- StartBulkDeploymentRequestRequestTypeDef
- StopBulkDeploymentRequestRequestTypeDef
- TagResourceRequestRequestTypeDef
- TelemetryConfigurationUpdateTypeDef
- UntagResourceRequestRequestTypeDef
- UpdateConnectorDefinitionRequestRequestTypeDef
- UpdateCoreDefinitionRequestRequestTypeDef
- UpdateDeviceDefinitionRequestRequestTypeDef
- UpdateFunctionDefinitionRequestRequestTypeDef
- UpdateGroupCertificateConfigurationRequestRequestTypeDef
- UpdateGroupRequestRequestTypeDef
- UpdateLoggerDefinitionRequestRequestTypeDef
- UpdateResourceDefinitionRequestRequestTypeDef
- UpdateSubscriptionDefinitionRequestRequestTypeDef
- AssociateRoleToGroupResponseTypeDef
- AssociateServiceRoleToAccountResponseTypeDef
- CreateConnectorDefinitionResponseTypeDef
- CreateConnectorDefinitionVersionResponseTypeDef
- CreateCoreDefinitionResponseTypeDef
- CreateCoreDefinitionVersionResponseTypeDef
- CreateDeploymentResponseTypeDef
- CreateDeviceDefinitionResponseTypeDef
- CreateDeviceDefinitionVersionResponseTypeDef
- CreateFunctionDefinitionResponseTypeDef
- CreateFunctionDefinitionVersionResponseTypeDef
- CreateGroupCertificateAuthorityResponseTypeDef
- CreateGroupResponseTypeDef
- CreateGroupVersionResponseTypeDef
- CreateLoggerDefinitionResponseTypeDef
- CreateLoggerDefinitionVersionResponseTypeDef
- CreateResourceDefinitionResponseTypeDef
- CreateResourceDefinitionVersionResponseTypeDef
- CreateSoftwareUpdateJobResponseTypeDef
- CreateSubscriptionDefinitionResponseTypeDef
- CreateSubscriptionDefinitionVersionResponseTypeDef
- DisassociateRoleFromGroupResponseTypeDef
- DisassociateServiceRoleFromAccountResponseTypeDef
- EmptyResponseMetadataTypeDef
- GetAssociatedRoleResponseTypeDef
- GetConnectorDefinitionResponseTypeDef
- GetCoreDefinitionResponseTypeDef
- GetDeviceDefinitionResponseTypeDef
- GetFunctionDefinitionResponseTypeDef
- GetGroupCertificateAuthorityResponseTypeDef
- GetGroupCertificateConfigurationResponseTypeDef
- GetGroupResponseTypeDef
- GetLoggerDefinitionResponseTypeDef
- GetResourceDefinitionResponseTypeDef
- GetServiceRoleForAccountResponseTypeDef
- GetSubscriptionDefinitionResponseTypeDef
- ListTagsForResourceResponseTypeDef
- ResetDeploymentsResponseTypeDef
- StartBulkDeploymentResponseTypeDef
- UpdateConnectivityInfoResponseTypeDef
- UpdateGroupCertificateConfigurationResponseTypeDef
- BulkDeploymentResultTypeDef
- GetBulkDeploymentStatusResponseTypeDef
- GetDeploymentStatusResponseTypeDef
- ListBulkDeploymentsResponseTypeDef
- GetConnectivityInfoResponseTypeDef
- UpdateConnectivityInfoRequestRequestTypeDef
- ConnectorDefinitionVersionOutputTypeDef
- ConnectorUnionTypeDef
- CoreDefinitionVersionOutputTypeDef
- CoreDefinitionVersionTypeDef
- CreateCoreDefinitionVersionRequestRequestTypeDef
- CreateDeviceDefinitionVersionRequestRequestTypeDef
- DeviceDefinitionVersionOutputTypeDef
- DeviceDefinitionVersionTypeDef
- CreateGroupRequestRequestTypeDef
- GetGroupVersionResponseTypeDef
- CreateLoggerDefinitionVersionRequestRequestTypeDef
- LoggerDefinitionVersionOutputTypeDef
- LoggerDefinitionVersionTypeDef
- CreateSubscriptionDefinitionVersionRequestRequestTypeDef
- SubscriptionDefinitionVersionOutputTypeDef
- SubscriptionDefinitionVersionTypeDef
- ListConnectorDefinitionsResponseTypeDef
- ListCoreDefinitionsResponseTypeDef
- ListDeviceDefinitionsResponseTypeDef
- ListFunctionDefinitionsResponseTypeDef
- ListLoggerDefinitionsResponseTypeDef
- ListResourceDefinitionsResponseTypeDef
- ListSubscriptionDefinitionsResponseTypeDef
- ListDeploymentsResponseTypeDef
- FunctionDefaultExecutionConfigTypeDef
- FunctionExecutionConfigTypeDef
- ListGroupCertificateAuthoritiesResponseTypeDef
- ListGroupsResponseTypeDef
- LocalDeviceResourceDataTypeDef
- LocalVolumeResourceDataTypeDef
- ListBulkDeploymentDetailedReportsRequestPaginateTypeDef
- ListBulkDeploymentsRequestPaginateTypeDef
- ListConnectorDefinitionVersionsRequestPaginateTypeDef
- ListConnectorDefinitionsRequestPaginateTypeDef
- ListCoreDefinitionVersionsRequestPaginateTypeDef
- ListCoreDefinitionsRequestPaginateTypeDef
- ListDeploymentsRequestPaginateTypeDef
- ListDeviceDefinitionVersionsRequestPaginateTypeDef
- ListDeviceDefinitionsRequestPaginateTypeDef
- ListFunctionDefinitionVersionsRequestPaginateTypeDef
- ListFunctionDefinitionsRequestPaginateTypeDef
- ListGroupVersionsRequestPaginateTypeDef
- ListGroupsRequestPaginateTypeDef
- ListLoggerDefinitionVersionsRequestPaginateTypeDef
- ListLoggerDefinitionsRequestPaginateTypeDef
- ListResourceDefinitionVersionsRequestPaginateTypeDef
- ListResourceDefinitionsRequestPaginateTypeDef
- ListSubscriptionDefinitionVersionsRequestPaginateTypeDef
- ListSubscriptionDefinitionsRequestPaginateTypeDef
- ListConnectorDefinitionVersionsResponseTypeDef
- ListCoreDefinitionVersionsResponseTypeDef
- ListDeviceDefinitionVersionsResponseTypeDef
- ListFunctionDefinitionVersionsResponseTypeDef
- ListGroupVersionsResponseTypeDef
- ListLoggerDefinitionVersionsResponseTypeDef
- ListResourceDefinitionVersionsResponseTypeDef
- ListSubscriptionDefinitionVersionsResponseTypeDef
- S3MachineLearningModelResourceDataTypeDef
- SageMakerMachineLearningModelResourceDataTypeDef
- RuntimeConfigurationTypeDef
- SecretsManagerSecretResourceDataUnionTypeDef
- UpdateThingRuntimeConfigurationRequestRequestTypeDef
- ListBulkDeploymentDetailedReportsResponseTypeDef
- GetConnectorDefinitionVersionResponseTypeDef
- ConnectorDefinitionVersionTypeDef
- CreateConnectorDefinitionVersionRequestRequestTypeDef
- GetCoreDefinitionVersionResponseTypeDef
- CreateCoreDefinitionRequestRequestTypeDef
- GetDeviceDefinitionVersionResponseTypeDef
- CreateDeviceDefinitionRequestRequestTypeDef
- GetLoggerDefinitionVersionResponseTypeDef
- CreateLoggerDefinitionRequestRequestTypeDef
- GetSubscriptionDefinitionVersionResponseTypeDef
- CreateSubscriptionDefinitionRequestRequestTypeDef
- FunctionDefaultConfigTypeDef
- FunctionConfigurationEnvironmentOutputTypeDef
- FunctionConfigurationEnvironmentTypeDef
- ResourceDataContainerOutputTypeDef
- GetThingRuntimeConfigurationResponseTypeDef
- ResourceDataContainerTypeDef
- CreateConnectorDefinitionRequestRequestTypeDef
- FunctionConfigurationOutputTypeDef
- FunctionConfigurationEnvironmentUnionTypeDef
- ResourceOutputTypeDef
- ResourceDataContainerUnionTypeDef
- FunctionOutputTypeDef
- FunctionConfigurationTypeDef
- ResourceDefinitionVersionOutputTypeDef
- ResourceTypeDef
- FunctionDefinitionVersionOutputTypeDef
- FunctionConfigurationUnionTypeDef
- GetResourceDefinitionVersionResponseTypeDef
- ResourceUnionTypeDef
- GetFunctionDefinitionVersionResponseTypeDef
- FunctionTypeDef
- CreateResourceDefinitionVersionRequestRequestTypeDef
- ResourceDefinitionVersionTypeDef
- FunctionUnionTypeDef
- CreateResourceDefinitionRequestRequestTypeDef
- CreateFunctionDefinitionVersionRequestRequestTypeDef
- FunctionDefinitionVersionTypeDef
- CreateFunctionDefinitionRequestRequestTypeDef