Typed dictionaries#
Index > GreengrassV2 > Typed dictionaries
Auto-generated documentation for GreengrassV2 type annotations stubs module mypy-boto3-greengrassv2.
AssociateClientDeviceWithCoreDeviceEntryTypeDef#
# AssociateClientDeviceWithCoreDeviceEntryTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import AssociateClientDeviceWithCoreDeviceEntryTypeDef
def get_value() -> AssociateClientDeviceWithCoreDeviceEntryTypeDef:
return {
"thingName": ...,
}
# AssociateClientDeviceWithCoreDeviceEntryTypeDef definition
class AssociateClientDeviceWithCoreDeviceEntryTypeDef(TypedDict):
thingName: str,
AssociateClientDeviceWithCoreDeviceErrorEntryTypeDef#
# AssociateClientDeviceWithCoreDeviceErrorEntryTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import AssociateClientDeviceWithCoreDeviceErrorEntryTypeDef
def get_value() -> AssociateClientDeviceWithCoreDeviceErrorEntryTypeDef:
return {
"thingName": ...,
}
# AssociateClientDeviceWithCoreDeviceErrorEntryTypeDef definition
class AssociateClientDeviceWithCoreDeviceErrorEntryTypeDef(TypedDict):
thingName: NotRequired[str],
code: NotRequired[str],
message: NotRequired[str],
AssociateServiceRoleToAccountRequestRequestTypeDef#
# AssociateServiceRoleToAccountRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import AssociateServiceRoleToAccountRequestRequestTypeDef
def get_value() -> AssociateServiceRoleToAccountRequestRequestTypeDef:
return {
"roleArn": ...,
}
# AssociateServiceRoleToAccountRequestRequestTypeDef definition
class AssociateServiceRoleToAccountRequestRequestTypeDef(TypedDict):
roleArn: str,
AssociateServiceRoleToAccountResponseTypeDef#
# AssociateServiceRoleToAccountResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import AssociateServiceRoleToAccountResponseTypeDef
def get_value() -> AssociateServiceRoleToAccountResponseTypeDef:
return {
"associatedAt": ...,
"ResponseMetadata": ...,
}
# AssociateServiceRoleToAccountResponseTypeDef definition
class AssociateServiceRoleToAccountResponseTypeDef(TypedDict):
associatedAt: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
AssociatedClientDeviceTypeDef#
# AssociatedClientDeviceTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import AssociatedClientDeviceTypeDef
def get_value() -> AssociatedClientDeviceTypeDef:
return {
"thingName": ...,
}
# AssociatedClientDeviceTypeDef definition
class AssociatedClientDeviceTypeDef(TypedDict):
thingName: NotRequired[str],
associationTimestamp: NotRequired[datetime],
DisassociateClientDeviceFromCoreDeviceEntryTypeDef#
# DisassociateClientDeviceFromCoreDeviceEntryTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import DisassociateClientDeviceFromCoreDeviceEntryTypeDef
def get_value() -> DisassociateClientDeviceFromCoreDeviceEntryTypeDef:
return {
"thingName": ...,
}
# DisassociateClientDeviceFromCoreDeviceEntryTypeDef definition
class DisassociateClientDeviceFromCoreDeviceEntryTypeDef(TypedDict):
thingName: str,
DisassociateClientDeviceFromCoreDeviceErrorEntryTypeDef#
# DisassociateClientDeviceFromCoreDeviceErrorEntryTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import DisassociateClientDeviceFromCoreDeviceErrorEntryTypeDef
def get_value() -> DisassociateClientDeviceFromCoreDeviceErrorEntryTypeDef:
return {
"thingName": ...,
}
# DisassociateClientDeviceFromCoreDeviceErrorEntryTypeDef definition
class DisassociateClientDeviceFromCoreDeviceErrorEntryTypeDef(TypedDict):
thingName: NotRequired[str],
code: NotRequired[str],
message: NotRequired[str],
CancelDeploymentRequestRequestTypeDef#
# CancelDeploymentRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import CancelDeploymentRequestRequestTypeDef
def get_value() -> CancelDeploymentRequestRequestTypeDef:
return {
"deploymentId": ...,
}
# CancelDeploymentRequestRequestTypeDef definition
class CancelDeploymentRequestRequestTypeDef(TypedDict):
deploymentId: str,
CancelDeploymentResponseTypeDef#
# CancelDeploymentResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import CancelDeploymentResponseTypeDef
def get_value() -> CancelDeploymentResponseTypeDef:
return {
"message": ...,
"ResponseMetadata": ...,
}
# CancelDeploymentResponseTypeDef definition
class CancelDeploymentResponseTypeDef(TypedDict):
message: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CloudComponentStatusTypeDef#
# CloudComponentStatusTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import CloudComponentStatusTypeDef
def get_value() -> CloudComponentStatusTypeDef:
return {
"componentState": ...,
}
# CloudComponentStatusTypeDef definition
class CloudComponentStatusTypeDef(TypedDict):
componentState: NotRequired[CloudComponentStateType], # (1)
message: NotRequired[str],
errors: NotRequired[Dict[str, str]],
vendorGuidance: NotRequired[VendorGuidanceType], # (2)
vendorGuidanceMessage: NotRequired[str],
ComponentCandidateTypeDef#
# ComponentCandidateTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ComponentCandidateTypeDef
def get_value() -> ComponentCandidateTypeDef:
return {
"componentName": ...,
}
# ComponentCandidateTypeDef definition
class ComponentCandidateTypeDef(TypedDict):
componentName: NotRequired[str],
componentVersion: NotRequired[str],
versionRequirements: NotRequired[Mapping[str, str]],
ComponentConfigurationUpdateTypeDef#
# ComponentConfigurationUpdateTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ComponentConfigurationUpdateTypeDef
def get_value() -> ComponentConfigurationUpdateTypeDef:
return {
"merge": ...,
}
# ComponentConfigurationUpdateTypeDef definition
class ComponentConfigurationUpdateTypeDef(TypedDict):
merge: NotRequired[str],
reset: NotRequired[Sequence[str]],
ComponentDependencyRequirementTypeDef#
# ComponentDependencyRequirementTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ComponentDependencyRequirementTypeDef
def get_value() -> ComponentDependencyRequirementTypeDef:
return {
"versionRequirement": ...,
}
# ComponentDependencyRequirementTypeDef definition
class ComponentDependencyRequirementTypeDef(TypedDict):
versionRequirement: NotRequired[str],
dependencyType: NotRequired[ComponentDependencyTypeType], # (1)
ComponentPlatformTypeDef#
# ComponentPlatformTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ComponentPlatformTypeDef
def get_value() -> ComponentPlatformTypeDef:
return {
"name": ...,
}
# ComponentPlatformTypeDef definition
class ComponentPlatformTypeDef(TypedDict):
name: NotRequired[str],
attributes: NotRequired[Mapping[str, str]],
SystemResourceLimitsTypeDef#
# SystemResourceLimitsTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import SystemResourceLimitsTypeDef
def get_value() -> SystemResourceLimitsTypeDef:
return {
"memory": ...,
}
# SystemResourceLimitsTypeDef definition
class SystemResourceLimitsTypeDef(TypedDict):
memory: NotRequired[int],
cpus: NotRequired[float],
ComponentVersionListItemTypeDef#
# ComponentVersionListItemTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ComponentVersionListItemTypeDef
def get_value() -> ComponentVersionListItemTypeDef:
return {
"componentName": ...,
}
# ComponentVersionListItemTypeDef definition
class ComponentVersionListItemTypeDef(TypedDict):
componentName: NotRequired[str],
componentVersion: NotRequired[str],
arn: NotRequired[str],
ConnectivityInfoTypeDef#
# ConnectivityInfoTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ConnectivityInfoTypeDef
def get_value() -> ConnectivityInfoTypeDef:
return {
"id": ...,
}
# ConnectivityInfoTypeDef definition
class ConnectivityInfoTypeDef(TypedDict):
id: NotRequired[str],
hostAddress: NotRequired[str],
portNumber: NotRequired[int],
metadata: NotRequired[str],
CoreDeviceTypeDef#
# CoreDeviceTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import CoreDeviceTypeDef
def get_value() -> CoreDeviceTypeDef:
return {
"coreDeviceThingName": ...,
}
# CoreDeviceTypeDef definition
class CoreDeviceTypeDef(TypedDict):
coreDeviceThingName: NotRequired[str],
status: NotRequired[CoreDeviceStatusType], # (1)
lastStatusUpdateTimestamp: NotRequired[datetime],
CreateDeploymentResponseTypeDef#
# CreateDeploymentResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import CreateDeploymentResponseTypeDef
def get_value() -> CreateDeploymentResponseTypeDef:
return {
"deploymentId": ...,
"iotJobId": ...,
"iotJobArn": ...,
"ResponseMetadata": ...,
}
# CreateDeploymentResponseTypeDef definition
class CreateDeploymentResponseTypeDef(TypedDict):
deploymentId: str,
iotJobId: str,
iotJobArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteComponentRequestRequestTypeDef#
# DeleteComponentRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import DeleteComponentRequestRequestTypeDef
def get_value() -> DeleteComponentRequestRequestTypeDef:
return {
"arn": ...,
}
# DeleteComponentRequestRequestTypeDef definition
class DeleteComponentRequestRequestTypeDef(TypedDict):
arn: str,
DeleteCoreDeviceRequestRequestTypeDef#
# DeleteCoreDeviceRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import DeleteCoreDeviceRequestRequestTypeDef
def get_value() -> DeleteCoreDeviceRequestRequestTypeDef:
return {
"coreDeviceThingName": ...,
}
# DeleteCoreDeviceRequestRequestTypeDef definition
class DeleteCoreDeviceRequestRequestTypeDef(TypedDict):
coreDeviceThingName: str,
DeleteDeploymentRequestRequestTypeDef#
# DeleteDeploymentRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import DeleteDeploymentRequestRequestTypeDef
def get_value() -> DeleteDeploymentRequestRequestTypeDef:
return {
"deploymentId": ...,
}
# DeleteDeploymentRequestRequestTypeDef definition
class DeleteDeploymentRequestRequestTypeDef(TypedDict):
deploymentId: str,
DeploymentComponentUpdatePolicyTypeDef#
# DeploymentComponentUpdatePolicyTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import DeploymentComponentUpdatePolicyTypeDef
def get_value() -> DeploymentComponentUpdatePolicyTypeDef:
return {
"timeoutInSeconds": ...,
}
# DeploymentComponentUpdatePolicyTypeDef definition
class DeploymentComponentUpdatePolicyTypeDef(TypedDict):
timeoutInSeconds: NotRequired[int],
action: NotRequired[DeploymentComponentUpdatePolicyActionType], # (1)
DeploymentConfigurationValidationPolicyTypeDef#
# DeploymentConfigurationValidationPolicyTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import DeploymentConfigurationValidationPolicyTypeDef
def get_value() -> DeploymentConfigurationValidationPolicyTypeDef:
return {
"timeoutInSeconds": ...,
}
# DeploymentConfigurationValidationPolicyTypeDef definition
class DeploymentConfigurationValidationPolicyTypeDef(TypedDict):
timeoutInSeconds: NotRequired[int],
IoTJobTimeoutConfigTypeDef#
# IoTJobTimeoutConfigTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import IoTJobTimeoutConfigTypeDef
def get_value() -> IoTJobTimeoutConfigTypeDef:
return {
"inProgressTimeoutInMinutes": ...,
}
# IoTJobTimeoutConfigTypeDef definition
class IoTJobTimeoutConfigTypeDef(TypedDict):
inProgressTimeoutInMinutes: NotRequired[int],
DeploymentTypeDef#
# DeploymentTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import DeploymentTypeDef
def get_value() -> DeploymentTypeDef:
return {
"targetArn": ...,
}
# DeploymentTypeDef definition
class DeploymentTypeDef(TypedDict):
targetArn: NotRequired[str],
revisionId: NotRequired[str],
deploymentId: NotRequired[str],
deploymentName: NotRequired[str],
creationTimestamp: NotRequired[datetime],
deploymentStatus: NotRequired[DeploymentStatusType], # (1)
isLatestForTarget: NotRequired[bool],
parentTargetArn: NotRequired[str],
DescribeComponentRequestRequestTypeDef#
# DescribeComponentRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import DescribeComponentRequestRequestTypeDef
def get_value() -> DescribeComponentRequestRequestTypeDef:
return {
"arn": ...,
}
# DescribeComponentRequestRequestTypeDef definition
class DescribeComponentRequestRequestTypeDef(TypedDict):
arn: str,
DisassociateServiceRoleFromAccountResponseTypeDef#
# DisassociateServiceRoleFromAccountResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import DisassociateServiceRoleFromAccountResponseTypeDef
def get_value() -> DisassociateServiceRoleFromAccountResponseTypeDef:
return {
"disassociatedAt": ...,
"ResponseMetadata": ...,
}
# DisassociateServiceRoleFromAccountResponseTypeDef definition
class DisassociateServiceRoleFromAccountResponseTypeDef(TypedDict):
disassociatedAt: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
EffectiveDeploymentStatusDetailsTypeDef#
# EffectiveDeploymentStatusDetailsTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import EffectiveDeploymentStatusDetailsTypeDef
def get_value() -> EffectiveDeploymentStatusDetailsTypeDef:
return {
"errorStack": ...,
}
# EffectiveDeploymentStatusDetailsTypeDef definition
class EffectiveDeploymentStatusDetailsTypeDef(TypedDict):
errorStack: NotRequired[List[str]],
errorTypes: NotRequired[List[str]],
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import EmptyResponseMetadataTypeDef
def get_value() -> EmptyResponseMetadataTypeDef:
return {
"ResponseMetadata": ...,
}
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetComponentRequestRequestTypeDef#
# GetComponentRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import GetComponentRequestRequestTypeDef
def get_value() -> GetComponentRequestRequestTypeDef:
return {
"arn": ...,
}
# GetComponentRequestRequestTypeDef definition
class GetComponentRequestRequestTypeDef(TypedDict):
arn: str,
recipeOutputFormat: NotRequired[RecipeOutputFormatType], # (1)
GetComponentResponseTypeDef#
# GetComponentResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import GetComponentResponseTypeDef
def get_value() -> GetComponentResponseTypeDef:
return {
"recipeOutputFormat": ...,
"recipe": ...,
"tags": ...,
"ResponseMetadata": ...,
}
# GetComponentResponseTypeDef definition
class GetComponentResponseTypeDef(TypedDict):
recipeOutputFormat: RecipeOutputFormatType, # (1)
recipe: bytes,
tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetComponentVersionArtifactRequestRequestTypeDef#
# GetComponentVersionArtifactRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import GetComponentVersionArtifactRequestRequestTypeDef
def get_value() -> GetComponentVersionArtifactRequestRequestTypeDef:
return {
"arn": ...,
"artifactName": ...,
}
# GetComponentVersionArtifactRequestRequestTypeDef definition
class GetComponentVersionArtifactRequestRequestTypeDef(TypedDict):
arn: str,
artifactName: str,
GetComponentVersionArtifactResponseTypeDef#
# GetComponentVersionArtifactResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import GetComponentVersionArtifactResponseTypeDef
def get_value() -> GetComponentVersionArtifactResponseTypeDef:
return {
"preSignedUrl": ...,
"ResponseMetadata": ...,
}
# GetComponentVersionArtifactResponseTypeDef definition
class GetComponentVersionArtifactResponseTypeDef(TypedDict):
preSignedUrl: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetConnectivityInfoRequestRequestTypeDef#
# GetConnectivityInfoRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import GetConnectivityInfoRequestRequestTypeDef
def get_value() -> GetConnectivityInfoRequestRequestTypeDef:
return {
"thingName": ...,
}
# GetConnectivityInfoRequestRequestTypeDef definition
class GetConnectivityInfoRequestRequestTypeDef(TypedDict):
thingName: str,
GetCoreDeviceRequestRequestTypeDef#
# GetCoreDeviceRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import GetCoreDeviceRequestRequestTypeDef
def get_value() -> GetCoreDeviceRequestRequestTypeDef:
return {
"coreDeviceThingName": ...,
}
# GetCoreDeviceRequestRequestTypeDef definition
class GetCoreDeviceRequestRequestTypeDef(TypedDict):
coreDeviceThingName: str,
GetCoreDeviceResponseTypeDef#
# GetCoreDeviceResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import GetCoreDeviceResponseTypeDef
def get_value() -> GetCoreDeviceResponseTypeDef:
return {
"coreDeviceThingName": ...,
"coreVersion": ...,
"platform": ...,
"architecture": ...,
"status": ...,
"lastStatusUpdateTimestamp": ...,
"tags": ...,
"ResponseMetadata": ...,
}
# GetCoreDeviceResponseTypeDef definition
class GetCoreDeviceResponseTypeDef(TypedDict):
coreDeviceThingName: str,
coreVersion: str,
platform: str,
architecture: str,
status: CoreDeviceStatusType, # (1)
lastStatusUpdateTimestamp: datetime,
tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetDeploymentRequestRequestTypeDef#
# GetDeploymentRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import GetDeploymentRequestRequestTypeDef
def get_value() -> GetDeploymentRequestRequestTypeDef:
return {
"deploymentId": ...,
}
# GetDeploymentRequestRequestTypeDef definition
class GetDeploymentRequestRequestTypeDef(TypedDict):
deploymentId: str,
GetServiceRoleForAccountResponseTypeDef#
# GetServiceRoleForAccountResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import GetServiceRoleForAccountResponseTypeDef
def get_value() -> GetServiceRoleForAccountResponseTypeDef:
return {
"associatedAt": ...,
"roleArn": ...,
"ResponseMetadata": ...,
}
# GetServiceRoleForAccountResponseTypeDef definition
class GetServiceRoleForAccountResponseTypeDef(TypedDict):
associatedAt: str,
roleArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
InstalledComponentTypeDef#
# InstalledComponentTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import InstalledComponentTypeDef
def get_value() -> InstalledComponentTypeDef:
return {
"componentName": ...,
}
# InstalledComponentTypeDef definition
class InstalledComponentTypeDef(TypedDict):
componentName: NotRequired[str],
componentVersion: NotRequired[str],
lifecycleState: NotRequired[InstalledComponentLifecycleStateType], # (1)
lifecycleStateDetails: NotRequired[str],
isRoot: NotRequired[bool],
lastStatusChangeTimestamp: NotRequired[datetime],
lastReportedTimestamp: NotRequired[datetime],
lastInstallationSource: NotRequired[str],
lifecycleStatusCodes: NotRequired[List[str]],
IoTJobAbortCriteriaTypeDef#
# IoTJobAbortCriteriaTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import IoTJobAbortCriteriaTypeDef
def get_value() -> IoTJobAbortCriteriaTypeDef:
return {
"failureType": ...,
"action": ...,
"thresholdPercentage": ...,
"minNumberOfExecutedThings": ...,
}
# IoTJobAbortCriteriaTypeDef definition
class IoTJobAbortCriteriaTypeDef(TypedDict):
failureType: IoTJobExecutionFailureTypeType, # (1)
action: IoTJobAbortActionType, # (2)
thresholdPercentage: float,
minNumberOfExecutedThings: int,
IoTJobRateIncreaseCriteriaTypeDef#
# IoTJobRateIncreaseCriteriaTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import IoTJobRateIncreaseCriteriaTypeDef
def get_value() -> IoTJobRateIncreaseCriteriaTypeDef:
return {
"numberOfNotifiedThings": ...,
}
# IoTJobRateIncreaseCriteriaTypeDef definition
class IoTJobRateIncreaseCriteriaTypeDef(TypedDict):
numberOfNotifiedThings: NotRequired[int],
numberOfSucceededThings: NotRequired[int],
LambdaDeviceMountTypeDef#
# LambdaDeviceMountTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import LambdaDeviceMountTypeDef
def get_value() -> LambdaDeviceMountTypeDef:
return {
"path": ...,
}
# LambdaDeviceMountTypeDef definition
class LambdaDeviceMountTypeDef(TypedDict):
path: str,
permission: NotRequired[LambdaFilesystemPermissionType], # (1)
addGroupOwner: NotRequired[bool],
LambdaVolumeMountTypeDef#
# LambdaVolumeMountTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import LambdaVolumeMountTypeDef
def get_value() -> LambdaVolumeMountTypeDef:
return {
"sourcePath": ...,
"destinationPath": ...,
}
# LambdaVolumeMountTypeDef definition
class LambdaVolumeMountTypeDef(TypedDict):
sourcePath: str,
destinationPath: str,
permission: NotRequired[LambdaFilesystemPermissionType], # (1)
addGroupOwner: NotRequired[bool],
LambdaEventSourceTypeDef#
# LambdaEventSourceTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import LambdaEventSourceTypeDef
def get_value() -> LambdaEventSourceTypeDef:
return {
"topic": ...,
"type": ...,
}
# LambdaEventSourceTypeDef definition
class LambdaEventSourceTypeDef(TypedDict):
topic: str,
type: LambdaEventSourceTypeType, # (1)
ListClientDevicesAssociatedWithCoreDeviceRequestListClientDevicesAssociatedWithCoreDevicePaginateTypeDef#
# ListClientDevicesAssociatedWithCoreDeviceRequestListClientDevicesAssociatedWithCoreDevicePaginateTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListClientDevicesAssociatedWithCoreDeviceRequestListClientDevicesAssociatedWithCoreDevicePaginateTypeDef
def get_value() -> ListClientDevicesAssociatedWithCoreDeviceRequestListClientDevicesAssociatedWithCoreDevicePaginateTypeDef:
return {
"coreDeviceThingName": ...,
}
# ListClientDevicesAssociatedWithCoreDeviceRequestListClientDevicesAssociatedWithCoreDevicePaginateTypeDef definition
class ListClientDevicesAssociatedWithCoreDeviceRequestListClientDevicesAssociatedWithCoreDevicePaginateTypeDef(TypedDict):
coreDeviceThingName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListClientDevicesAssociatedWithCoreDeviceRequestRequestTypeDef#
# ListClientDevicesAssociatedWithCoreDeviceRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListClientDevicesAssociatedWithCoreDeviceRequestRequestTypeDef
def get_value() -> ListClientDevicesAssociatedWithCoreDeviceRequestRequestTypeDef:
return {
"coreDeviceThingName": ...,
}
# ListClientDevicesAssociatedWithCoreDeviceRequestRequestTypeDef definition
class ListClientDevicesAssociatedWithCoreDeviceRequestRequestTypeDef(TypedDict):
coreDeviceThingName: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListComponentVersionsRequestListComponentVersionsPaginateTypeDef#
# ListComponentVersionsRequestListComponentVersionsPaginateTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListComponentVersionsRequestListComponentVersionsPaginateTypeDef
def get_value() -> ListComponentVersionsRequestListComponentVersionsPaginateTypeDef:
return {
"arn": ...,
}
# ListComponentVersionsRequestListComponentVersionsPaginateTypeDef definition
class ListComponentVersionsRequestListComponentVersionsPaginateTypeDef(TypedDict):
arn: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListComponentVersionsRequestRequestTypeDef#
# ListComponentVersionsRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListComponentVersionsRequestRequestTypeDef
def get_value() -> ListComponentVersionsRequestRequestTypeDef:
return {
"arn": ...,
}
# ListComponentVersionsRequestRequestTypeDef definition
class ListComponentVersionsRequestRequestTypeDef(TypedDict):
arn: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListComponentsRequestListComponentsPaginateTypeDef#
# ListComponentsRequestListComponentsPaginateTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListComponentsRequestListComponentsPaginateTypeDef
def get_value() -> ListComponentsRequestListComponentsPaginateTypeDef:
return {
"scope": ...,
}
# ListComponentsRequestListComponentsPaginateTypeDef definition
class ListComponentsRequestListComponentsPaginateTypeDef(TypedDict):
scope: NotRequired[ComponentVisibilityScopeType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListComponentsRequestRequestTypeDef#
# ListComponentsRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListComponentsRequestRequestTypeDef
def get_value() -> ListComponentsRequestRequestTypeDef:
return {
"scope": ...,
}
# ListComponentsRequestRequestTypeDef definition
class ListComponentsRequestRequestTypeDef(TypedDict):
scope: NotRequired[ComponentVisibilityScopeType], # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListCoreDevicesRequestListCoreDevicesPaginateTypeDef#
# ListCoreDevicesRequestListCoreDevicesPaginateTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListCoreDevicesRequestListCoreDevicesPaginateTypeDef
def get_value() -> ListCoreDevicesRequestListCoreDevicesPaginateTypeDef:
return {
"thingGroupArn": ...,
}
# ListCoreDevicesRequestListCoreDevicesPaginateTypeDef definition
class ListCoreDevicesRequestListCoreDevicesPaginateTypeDef(TypedDict):
thingGroupArn: NotRequired[str],
status: NotRequired[CoreDeviceStatusType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListCoreDevicesRequestRequestTypeDef#
# ListCoreDevicesRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListCoreDevicesRequestRequestTypeDef
def get_value() -> ListCoreDevicesRequestRequestTypeDef:
return {
"thingGroupArn": ...,
}
# ListCoreDevicesRequestRequestTypeDef definition
class ListCoreDevicesRequestRequestTypeDef(TypedDict):
thingGroupArn: NotRequired[str],
status: NotRequired[CoreDeviceStatusType], # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListDeploymentsRequestListDeploymentsPaginateTypeDef#
# ListDeploymentsRequestListDeploymentsPaginateTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListDeploymentsRequestListDeploymentsPaginateTypeDef
def get_value() -> ListDeploymentsRequestListDeploymentsPaginateTypeDef:
return {
"targetArn": ...,
}
# ListDeploymentsRequestListDeploymentsPaginateTypeDef definition
class ListDeploymentsRequestListDeploymentsPaginateTypeDef(TypedDict):
targetArn: NotRequired[str],
historyFilter: NotRequired[DeploymentHistoryFilterType], # (1)
parentTargetArn: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListDeploymentsRequestRequestTypeDef#
# ListDeploymentsRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListDeploymentsRequestRequestTypeDef
def get_value() -> ListDeploymentsRequestRequestTypeDef:
return {
"targetArn": ...,
}
# ListDeploymentsRequestRequestTypeDef definition
class ListDeploymentsRequestRequestTypeDef(TypedDict):
targetArn: NotRequired[str],
historyFilter: NotRequired[DeploymentHistoryFilterType], # (1)
parentTargetArn: NotRequired[str],
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListEffectiveDeploymentsRequestListEffectiveDeploymentsPaginateTypeDef#
# ListEffectiveDeploymentsRequestListEffectiveDeploymentsPaginateTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListEffectiveDeploymentsRequestListEffectiveDeploymentsPaginateTypeDef
def get_value() -> ListEffectiveDeploymentsRequestListEffectiveDeploymentsPaginateTypeDef:
return {
"coreDeviceThingName": ...,
}
# ListEffectiveDeploymentsRequestListEffectiveDeploymentsPaginateTypeDef definition
class ListEffectiveDeploymentsRequestListEffectiveDeploymentsPaginateTypeDef(TypedDict):
coreDeviceThingName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListEffectiveDeploymentsRequestRequestTypeDef#
# ListEffectiveDeploymentsRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListEffectiveDeploymentsRequestRequestTypeDef
def get_value() -> ListEffectiveDeploymentsRequestRequestTypeDef:
return {
"coreDeviceThingName": ...,
}
# ListEffectiveDeploymentsRequestRequestTypeDef definition
class ListEffectiveDeploymentsRequestRequestTypeDef(TypedDict):
coreDeviceThingName: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListInstalledComponentsRequestListInstalledComponentsPaginateTypeDef#
# ListInstalledComponentsRequestListInstalledComponentsPaginateTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListInstalledComponentsRequestListInstalledComponentsPaginateTypeDef
def get_value() -> ListInstalledComponentsRequestListInstalledComponentsPaginateTypeDef:
return {
"coreDeviceThingName": ...,
}
# ListInstalledComponentsRequestListInstalledComponentsPaginateTypeDef definition
class ListInstalledComponentsRequestListInstalledComponentsPaginateTypeDef(TypedDict):
coreDeviceThingName: str,
topologyFilter: NotRequired[InstalledComponentTopologyFilterType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListInstalledComponentsRequestRequestTypeDef#
# ListInstalledComponentsRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListInstalledComponentsRequestRequestTypeDef
def get_value() -> ListInstalledComponentsRequestRequestTypeDef:
return {
"coreDeviceThingName": ...,
}
# ListInstalledComponentsRequestRequestTypeDef definition
class ListInstalledComponentsRequestRequestTypeDef(TypedDict):
coreDeviceThingName: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
topologyFilter: NotRequired[InstalledComponentTopologyFilterType], # (1)
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListTagsForResourceRequestRequestTypeDef
def get_value() -> ListTagsForResourceRequestRequestTypeDef:
return {
"resourceArn": ...,
}
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListTagsForResourceResponseTypeDef
def get_value() -> ListTagsForResourceResponseTypeDef:
return {
"tags": ...,
"ResponseMetadata": ...,
}
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ResolvedComponentVersionTypeDef#
# ResolvedComponentVersionTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ResolvedComponentVersionTypeDef
def get_value() -> ResolvedComponentVersionTypeDef:
return {
"arn": ...,
}
# ResolvedComponentVersionTypeDef definition
class ResolvedComponentVersionTypeDef(TypedDict):
arn: NotRequired[str],
componentName: NotRequired[str],
componentVersion: NotRequired[str],
recipe: NotRequired[bytes],
vendorGuidance: NotRequired[VendorGuidanceType], # (1)
message: NotRequired[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import TagResourceRequestRequestTypeDef
def get_value() -> TagResourceRequestRequestTypeDef:
return {
"resourceArn": ...,
"tags": ...,
}
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tags: Mapping[str, str],
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import UntagResourceRequestRequestTypeDef
def get_value() -> UntagResourceRequestRequestTypeDef:
return {
"resourceArn": ...,
"tagKeys": ...,
}
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tagKeys: Sequence[str],
UpdateConnectivityInfoResponseTypeDef#
# UpdateConnectivityInfoResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import UpdateConnectivityInfoResponseTypeDef
def get_value() -> UpdateConnectivityInfoResponseTypeDef:
return {
"version": ...,
"message": ...,
"ResponseMetadata": ...,
}
# UpdateConnectivityInfoResponseTypeDef definition
class UpdateConnectivityInfoResponseTypeDef(TypedDict):
version: str,
message: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
BatchAssociateClientDeviceWithCoreDeviceRequestRequestTypeDef#
# BatchAssociateClientDeviceWithCoreDeviceRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import BatchAssociateClientDeviceWithCoreDeviceRequestRequestTypeDef
def get_value() -> BatchAssociateClientDeviceWithCoreDeviceRequestRequestTypeDef:
return {
"coreDeviceThingName": ...,
}
# BatchAssociateClientDeviceWithCoreDeviceRequestRequestTypeDef definition
class BatchAssociateClientDeviceWithCoreDeviceRequestRequestTypeDef(TypedDict):
coreDeviceThingName: str,
entries: NotRequired[Sequence[AssociateClientDeviceWithCoreDeviceEntryTypeDef]], # (1)
BatchAssociateClientDeviceWithCoreDeviceResponseTypeDef#
# BatchAssociateClientDeviceWithCoreDeviceResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import BatchAssociateClientDeviceWithCoreDeviceResponseTypeDef
def get_value() -> BatchAssociateClientDeviceWithCoreDeviceResponseTypeDef:
return {
"errorEntries": ...,
"ResponseMetadata": ...,
}
# BatchAssociateClientDeviceWithCoreDeviceResponseTypeDef definition
class BatchAssociateClientDeviceWithCoreDeviceResponseTypeDef(TypedDict):
errorEntries: List[AssociateClientDeviceWithCoreDeviceErrorEntryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListClientDevicesAssociatedWithCoreDeviceResponseTypeDef#
# ListClientDevicesAssociatedWithCoreDeviceResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListClientDevicesAssociatedWithCoreDeviceResponseTypeDef
def get_value() -> ListClientDevicesAssociatedWithCoreDeviceResponseTypeDef:
return {
"associatedClientDevices": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListClientDevicesAssociatedWithCoreDeviceResponseTypeDef definition
class ListClientDevicesAssociatedWithCoreDeviceResponseTypeDef(TypedDict):
associatedClientDevices: List[AssociatedClientDeviceTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchDisassociateClientDeviceFromCoreDeviceRequestRequestTypeDef#
# BatchDisassociateClientDeviceFromCoreDeviceRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import BatchDisassociateClientDeviceFromCoreDeviceRequestRequestTypeDef
def get_value() -> BatchDisassociateClientDeviceFromCoreDeviceRequestRequestTypeDef:
return {
"coreDeviceThingName": ...,
}
# BatchDisassociateClientDeviceFromCoreDeviceRequestRequestTypeDef definition
class BatchDisassociateClientDeviceFromCoreDeviceRequestRequestTypeDef(TypedDict):
coreDeviceThingName: str,
entries: NotRequired[Sequence[DisassociateClientDeviceFromCoreDeviceEntryTypeDef]], # (1)
BatchDisassociateClientDeviceFromCoreDeviceResponseTypeDef#
# BatchDisassociateClientDeviceFromCoreDeviceResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import BatchDisassociateClientDeviceFromCoreDeviceResponseTypeDef
def get_value() -> BatchDisassociateClientDeviceFromCoreDeviceResponseTypeDef:
return {
"errorEntries": ...,
"ResponseMetadata": ...,
}
# BatchDisassociateClientDeviceFromCoreDeviceResponseTypeDef definition
class BatchDisassociateClientDeviceFromCoreDeviceResponseTypeDef(TypedDict):
errorEntries: List[DisassociateClientDeviceFromCoreDeviceErrorEntryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateComponentVersionResponseTypeDef#
# CreateComponentVersionResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import CreateComponentVersionResponseTypeDef
def get_value() -> CreateComponentVersionResponseTypeDef:
return {
"arn": ...,
"componentName": ...,
"componentVersion": ...,
"creationTimestamp": ...,
"status": ...,
"ResponseMetadata": ...,
}
# CreateComponentVersionResponseTypeDef definition
class CreateComponentVersionResponseTypeDef(TypedDict):
arn: str,
componentName: str,
componentVersion: str,
creationTimestamp: datetime,
status: CloudComponentStatusTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ComponentLatestVersionTypeDef#
# ComponentLatestVersionTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ComponentLatestVersionTypeDef
def get_value() -> ComponentLatestVersionTypeDef:
return {
"arn": ...,
}
# ComponentLatestVersionTypeDef definition
class ComponentLatestVersionTypeDef(TypedDict):
arn: NotRequired[str],
componentVersion: NotRequired[str],
creationTimestamp: NotRequired[datetime],
description: NotRequired[str],
publisher: NotRequired[str],
platforms: NotRequired[List[ComponentPlatformTypeDef]], # (1)
DescribeComponentResponseTypeDef#
# DescribeComponentResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import DescribeComponentResponseTypeDef
def get_value() -> DescribeComponentResponseTypeDef:
return {
"arn": ...,
"componentName": ...,
"componentVersion": ...,
"creationTimestamp": ...,
"publisher": ...,
"description": ...,
"status": ...,
"platforms": ...,
"tags": ...,
"ResponseMetadata": ...,
}
# DescribeComponentResponseTypeDef definition
class DescribeComponentResponseTypeDef(TypedDict):
arn: str,
componentName: str,
componentVersion: str,
creationTimestamp: datetime,
publisher: str,
description: str,
status: CloudComponentStatusTypeDef, # (1)
platforms: List[ComponentPlatformTypeDef], # (2)
tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (3)
ResolveComponentCandidatesRequestRequestTypeDef#
# ResolveComponentCandidatesRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ResolveComponentCandidatesRequestRequestTypeDef
def get_value() -> ResolveComponentCandidatesRequestRequestTypeDef:
return {
"platform": ...,
}
# ResolveComponentCandidatesRequestRequestTypeDef definition
class ResolveComponentCandidatesRequestRequestTypeDef(TypedDict):
platform: NotRequired[ComponentPlatformTypeDef], # (1)
componentCandidates: NotRequired[Sequence[ComponentCandidateTypeDef]], # (2)
ComponentRunWithTypeDef#
# ComponentRunWithTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ComponentRunWithTypeDef
def get_value() -> ComponentRunWithTypeDef:
return {
"posixUser": ...,
}
# ComponentRunWithTypeDef definition
class ComponentRunWithTypeDef(TypedDict):
posixUser: NotRequired[str],
systemResourceLimits: NotRequired[SystemResourceLimitsTypeDef], # (1)
windowsUser: NotRequired[str],
ListComponentVersionsResponseTypeDef#
# ListComponentVersionsResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListComponentVersionsResponseTypeDef
def get_value() -> ListComponentVersionsResponseTypeDef:
return {
"componentVersions": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListComponentVersionsResponseTypeDef definition
class ListComponentVersionsResponseTypeDef(TypedDict):
componentVersions: List[ComponentVersionListItemTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetConnectivityInfoResponseTypeDef#
# GetConnectivityInfoResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import GetConnectivityInfoResponseTypeDef
def get_value() -> GetConnectivityInfoResponseTypeDef:
return {
"connectivityInfo": ...,
"message": ...,
"ResponseMetadata": ...,
}
# GetConnectivityInfoResponseTypeDef definition
class GetConnectivityInfoResponseTypeDef(TypedDict):
connectivityInfo: List[ConnectivityInfoTypeDef], # (1)
message: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateConnectivityInfoRequestRequestTypeDef#
# UpdateConnectivityInfoRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import UpdateConnectivityInfoRequestRequestTypeDef
def get_value() -> UpdateConnectivityInfoRequestRequestTypeDef:
return {
"thingName": ...,
"connectivityInfo": ...,
}
# UpdateConnectivityInfoRequestRequestTypeDef definition
class UpdateConnectivityInfoRequestRequestTypeDef(TypedDict):
thingName: str,
connectivityInfo: Sequence[ConnectivityInfoTypeDef], # (1)
ListCoreDevicesResponseTypeDef#
# ListCoreDevicesResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListCoreDevicesResponseTypeDef
def get_value() -> ListCoreDevicesResponseTypeDef:
return {
"coreDevices": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListCoreDevicesResponseTypeDef definition
class ListCoreDevicesResponseTypeDef(TypedDict):
coreDevices: List[CoreDeviceTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeploymentPoliciesTypeDef#
# DeploymentPoliciesTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import DeploymentPoliciesTypeDef
def get_value() -> DeploymentPoliciesTypeDef:
return {
"failureHandlingPolicy": ...,
}
# DeploymentPoliciesTypeDef definition
class DeploymentPoliciesTypeDef(TypedDict):
failureHandlingPolicy: NotRequired[DeploymentFailureHandlingPolicyType], # (1)
componentUpdatePolicy: NotRequired[DeploymentComponentUpdatePolicyTypeDef], # (2)
configurationValidationPolicy: NotRequired[DeploymentConfigurationValidationPolicyTypeDef], # (3)
- See DeploymentFailureHandlingPolicyType
- See DeploymentComponentUpdatePolicyTypeDef
- See DeploymentConfigurationValidationPolicyTypeDef
ListDeploymentsResponseTypeDef#
# ListDeploymentsResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListDeploymentsResponseTypeDef
def get_value() -> ListDeploymentsResponseTypeDef:
return {
"deployments": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListDeploymentsResponseTypeDef definition
class ListDeploymentsResponseTypeDef(TypedDict):
deployments: List[DeploymentTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
EffectiveDeploymentTypeDef#
# EffectiveDeploymentTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import EffectiveDeploymentTypeDef
def get_value() -> EffectiveDeploymentTypeDef:
return {
"deploymentId": ...,
"deploymentName": ...,
"targetArn": ...,
"coreDeviceExecutionStatus": ...,
"creationTimestamp": ...,
"modifiedTimestamp": ...,
}
# EffectiveDeploymentTypeDef definition
class EffectiveDeploymentTypeDef(TypedDict):
deploymentId: str,
deploymentName: str,
targetArn: str,
coreDeviceExecutionStatus: EffectiveDeploymentExecutionStatusType, # (1)
creationTimestamp: datetime,
modifiedTimestamp: datetime,
iotJobId: NotRequired[str],
iotJobArn: NotRequired[str],
description: NotRequired[str],
reason: NotRequired[str],
statusDetails: NotRequired[EffectiveDeploymentStatusDetailsTypeDef], # (2)
ListInstalledComponentsResponseTypeDef#
# ListInstalledComponentsResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListInstalledComponentsResponseTypeDef
def get_value() -> ListInstalledComponentsResponseTypeDef:
return {
"installedComponents": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListInstalledComponentsResponseTypeDef definition
class ListInstalledComponentsResponseTypeDef(TypedDict):
installedComponents: List[InstalledComponentTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
IoTJobAbortConfigTypeDef#
# IoTJobAbortConfigTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import IoTJobAbortConfigTypeDef
def get_value() -> IoTJobAbortConfigTypeDef:
return {
"criteriaList": ...,
}
# IoTJobAbortConfigTypeDef definition
class IoTJobAbortConfigTypeDef(TypedDict):
criteriaList: Sequence[IoTJobAbortCriteriaTypeDef], # (1)
IoTJobExponentialRolloutRateTypeDef#
# IoTJobExponentialRolloutRateTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import IoTJobExponentialRolloutRateTypeDef
def get_value() -> IoTJobExponentialRolloutRateTypeDef:
return {
"baseRatePerMinute": ...,
"incrementFactor": ...,
"rateIncreaseCriteria": ...,
}
# IoTJobExponentialRolloutRateTypeDef definition
class IoTJobExponentialRolloutRateTypeDef(TypedDict):
baseRatePerMinute: int,
incrementFactor: float,
rateIncreaseCriteria: IoTJobRateIncreaseCriteriaTypeDef, # (1)
LambdaContainerParamsTypeDef#
# LambdaContainerParamsTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import LambdaContainerParamsTypeDef
def get_value() -> LambdaContainerParamsTypeDef:
return {
"memorySizeInKB": ...,
}
# LambdaContainerParamsTypeDef definition
class LambdaContainerParamsTypeDef(TypedDict):
memorySizeInKB: NotRequired[int],
mountROSysfs: NotRequired[bool],
volumes: NotRequired[Sequence[LambdaVolumeMountTypeDef]], # (1)
devices: NotRequired[Sequence[LambdaDeviceMountTypeDef]], # (2)
ResolveComponentCandidatesResponseTypeDef#
# ResolveComponentCandidatesResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ResolveComponentCandidatesResponseTypeDef
def get_value() -> ResolveComponentCandidatesResponseTypeDef:
return {
"resolvedComponentVersions": ...,
"ResponseMetadata": ...,
}
# ResolveComponentCandidatesResponseTypeDef definition
class ResolveComponentCandidatesResponseTypeDef(TypedDict):
resolvedComponentVersions: List[ResolvedComponentVersionTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ComponentTypeDef#
# ComponentTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ComponentTypeDef
def get_value() -> ComponentTypeDef:
return {
"arn": ...,
}
# ComponentTypeDef definition
class ComponentTypeDef(TypedDict):
arn: NotRequired[str],
componentName: NotRequired[str],
latestVersion: NotRequired[ComponentLatestVersionTypeDef], # (1)
ComponentDeploymentSpecificationTypeDef#
# ComponentDeploymentSpecificationTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ComponentDeploymentSpecificationTypeDef
def get_value() -> ComponentDeploymentSpecificationTypeDef:
return {
"componentVersion": ...,
}
# ComponentDeploymentSpecificationTypeDef definition
class ComponentDeploymentSpecificationTypeDef(TypedDict):
componentVersion: NotRequired[str],
configurationUpdate: NotRequired[ComponentConfigurationUpdateTypeDef], # (1)
runWith: NotRequired[ComponentRunWithTypeDef], # (2)
ListEffectiveDeploymentsResponseTypeDef#
# ListEffectiveDeploymentsResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListEffectiveDeploymentsResponseTypeDef
def get_value() -> ListEffectiveDeploymentsResponseTypeDef:
return {
"effectiveDeployments": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListEffectiveDeploymentsResponseTypeDef definition
class ListEffectiveDeploymentsResponseTypeDef(TypedDict):
effectiveDeployments: List[EffectiveDeploymentTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
IoTJobExecutionsRolloutConfigTypeDef#
# IoTJobExecutionsRolloutConfigTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import IoTJobExecutionsRolloutConfigTypeDef
def get_value() -> IoTJobExecutionsRolloutConfigTypeDef:
return {
"exponentialRate": ...,
}
# IoTJobExecutionsRolloutConfigTypeDef definition
class IoTJobExecutionsRolloutConfigTypeDef(TypedDict):
exponentialRate: NotRequired[IoTJobExponentialRolloutRateTypeDef], # (1)
maximumPerMinute: NotRequired[int],
LambdaLinuxProcessParamsTypeDef#
# LambdaLinuxProcessParamsTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import LambdaLinuxProcessParamsTypeDef
def get_value() -> LambdaLinuxProcessParamsTypeDef:
return {
"isolationMode": ...,
}
# LambdaLinuxProcessParamsTypeDef definition
class LambdaLinuxProcessParamsTypeDef(TypedDict):
isolationMode: NotRequired[LambdaIsolationModeType], # (1)
containerParams: NotRequired[LambdaContainerParamsTypeDef], # (2)
ListComponentsResponseTypeDef#
# ListComponentsResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import ListComponentsResponseTypeDef
def get_value() -> ListComponentsResponseTypeDef:
return {
"components": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListComponentsResponseTypeDef definition
class ListComponentsResponseTypeDef(TypedDict):
components: List[ComponentTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeploymentIoTJobConfigurationTypeDef#
# DeploymentIoTJobConfigurationTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import DeploymentIoTJobConfigurationTypeDef
def get_value() -> DeploymentIoTJobConfigurationTypeDef:
return {
"jobExecutionsRolloutConfig": ...,
}
# DeploymentIoTJobConfigurationTypeDef definition
class DeploymentIoTJobConfigurationTypeDef(TypedDict):
jobExecutionsRolloutConfig: NotRequired[IoTJobExecutionsRolloutConfigTypeDef], # (1)
abortConfig: NotRequired[IoTJobAbortConfigTypeDef], # (2)
timeoutConfig: NotRequired[IoTJobTimeoutConfigTypeDef], # (3)
- See IoTJobExecutionsRolloutConfigTypeDef
- See IoTJobAbortConfigTypeDef
- See IoTJobTimeoutConfigTypeDef
LambdaExecutionParametersTypeDef#
# LambdaExecutionParametersTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import LambdaExecutionParametersTypeDef
def get_value() -> LambdaExecutionParametersTypeDef:
return {
"eventSources": ...,
}
# LambdaExecutionParametersTypeDef definition
class LambdaExecutionParametersTypeDef(TypedDict):
eventSources: NotRequired[Sequence[LambdaEventSourceTypeDef]], # (1)
maxQueueSize: NotRequired[int],
maxInstancesCount: NotRequired[int],
maxIdleTimeInSeconds: NotRequired[int],
timeoutInSeconds: NotRequired[int],
statusTimeoutInSeconds: NotRequired[int],
pinned: NotRequired[bool],
inputPayloadEncodingType: NotRequired[LambdaInputPayloadEncodingTypeType], # (2)
execArgs: NotRequired[Sequence[str]],
environmentVariables: NotRequired[Mapping[str, str]],
linuxProcessParams: NotRequired[LambdaLinuxProcessParamsTypeDef], # (3)
- See LambdaEventSourceTypeDef
- See LambdaInputPayloadEncodingTypeType
- See LambdaLinuxProcessParamsTypeDef
CreateDeploymentRequestRequestTypeDef#
# CreateDeploymentRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import CreateDeploymentRequestRequestTypeDef
def get_value() -> CreateDeploymentRequestRequestTypeDef:
return {
"targetArn": ...,
}
# CreateDeploymentRequestRequestTypeDef definition
class CreateDeploymentRequestRequestTypeDef(TypedDict):
targetArn: str,
deploymentName: NotRequired[str],
components: NotRequired[Mapping[str, ComponentDeploymentSpecificationTypeDef]], # (1)
iotJobConfiguration: NotRequired[DeploymentIoTJobConfigurationTypeDef], # (2)
deploymentPolicies: NotRequired[DeploymentPoliciesTypeDef], # (3)
parentTargetArn: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
clientToken: NotRequired[str],
- See ComponentDeploymentSpecificationTypeDef
- See DeploymentIoTJobConfigurationTypeDef
- See DeploymentPoliciesTypeDef
GetDeploymentResponseTypeDef#
# GetDeploymentResponseTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import GetDeploymentResponseTypeDef
def get_value() -> GetDeploymentResponseTypeDef:
return {
"targetArn": ...,
"revisionId": ...,
"deploymentId": ...,
"deploymentName": ...,
"deploymentStatus": ...,
"iotJobId": ...,
"iotJobArn": ...,
"components": ...,
"deploymentPolicies": ...,
"iotJobConfiguration": ...,
"creationTimestamp": ...,
"isLatestForTarget": ...,
"parentTargetArn": ...,
"tags": ...,
"ResponseMetadata": ...,
}
# GetDeploymentResponseTypeDef definition
class GetDeploymentResponseTypeDef(TypedDict):
targetArn: str,
revisionId: str,
deploymentId: str,
deploymentName: str,
deploymentStatus: DeploymentStatusType, # (1)
iotJobId: str,
iotJobArn: str,
components: Dict[str, ComponentDeploymentSpecificationTypeDef], # (2)
deploymentPolicies: DeploymentPoliciesTypeDef, # (3)
iotJobConfiguration: DeploymentIoTJobConfigurationTypeDef, # (4)
creationTimestamp: datetime,
isLatestForTarget: bool,
parentTargetArn: str,
tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See DeploymentStatusType
- See ComponentDeploymentSpecificationTypeDef
- See DeploymentPoliciesTypeDef
- See DeploymentIoTJobConfigurationTypeDef
- See ResponseMetadataTypeDef
LambdaFunctionRecipeSourceTypeDef#
# LambdaFunctionRecipeSourceTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import LambdaFunctionRecipeSourceTypeDef
def get_value() -> LambdaFunctionRecipeSourceTypeDef:
return {
"lambdaArn": ...,
}
# LambdaFunctionRecipeSourceTypeDef definition
class LambdaFunctionRecipeSourceTypeDef(TypedDict):
lambdaArn: str,
componentName: NotRequired[str],
componentVersion: NotRequired[str],
componentPlatforms: NotRequired[Sequence[ComponentPlatformTypeDef]], # (1)
componentDependencies: NotRequired[Mapping[str, ComponentDependencyRequirementTypeDef]], # (2)
componentLambdaParameters: NotRequired[LambdaExecutionParametersTypeDef], # (3)
- See ComponentPlatformTypeDef
- See ComponentDependencyRequirementTypeDef
- See LambdaExecutionParametersTypeDef
CreateComponentVersionRequestRequestTypeDef#
# CreateComponentVersionRequestRequestTypeDef usage example
from mypy_boto3_greengrassv2.type_defs import CreateComponentVersionRequestRequestTypeDef
def get_value() -> CreateComponentVersionRequestRequestTypeDef:
return {
"inlineRecipe": ...,
}
# CreateComponentVersionRequestRequestTypeDef definition
class CreateComponentVersionRequestRequestTypeDef(TypedDict):
inlineRecipe: NotRequired[Union[str, bytes, IO[Any], StreamingBody]],
lambdaFunction: NotRequired[LambdaFunctionRecipeSourceTypeDef], # (1)
tags: NotRequired[Mapping[str, str]],
clientToken: NotRequired[str],