Skip to content

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)
  1. See ResponseMetadataTypeDef

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)
  1. See ResponseMetadataTypeDef

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],
  1. See CloudComponentStateType
  2. See VendorGuidanceType

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)
  1. See ComponentDependencyTypeType

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],
  1. See CoreDeviceStatusType

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)
  1. See ResponseMetadataTypeDef

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)
  1. See DeploymentComponentUpdatePolicyActionType

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],
  1. See DeploymentStatusType

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)
  1. See ResponseMetadataTypeDef

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)
  1. See ResponseMetadataTypeDef

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)
  1. See RecipeOutputFormatType

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)
  1. See RecipeOutputFormatType
  2. See ResponseMetadataTypeDef

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)
  1. See ResponseMetadataTypeDef

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)
  1. See CoreDeviceStatusType
  2. See ResponseMetadataTypeDef

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)
  1. See ResponseMetadataTypeDef

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]],
  1. See InstalledComponentLifecycleStateType

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,
  1. See IoTJobExecutionFailureTypeType
  2. See IoTJobAbortActionType

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],
  1. See LambdaFilesystemPermissionType

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],
  1. See LambdaFilesystemPermissionType

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)
  1. See LambdaEventSourceTypeType

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)
  1. See PaginatorConfigTypeDef

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)
  1. See PaginatorConfigTypeDef

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)
  1. See ComponentVisibilityScopeType
  2. See PaginatorConfigTypeDef

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],
  1. See ComponentVisibilityScopeType

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)
  1. See CoreDeviceStatusType
  2. See PaginatorConfigTypeDef

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],
  1. See CoreDeviceStatusType

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)
  1. See DeploymentHistoryFilterType
  2. See PaginatorConfigTypeDef

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],
  1. See DeploymentHistoryFilterType

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)
  1. See PaginatorConfigTypeDef

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)
  1. See InstalledComponentTopologyFilterType
  2. See PaginatorConfigTypeDef

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)
  1. See InstalledComponentTopologyFilterType

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)
  1. See ResponseMetadataTypeDef

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],
  1. See VendorGuidanceType

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)
  1. See ResponseMetadataTypeDef

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)
  1. See AssociateClientDeviceWithCoreDeviceEntryTypeDef

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)
  1. See AssociateClientDeviceWithCoreDeviceErrorEntryTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See AssociatedClientDeviceTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See DisassociateClientDeviceFromCoreDeviceEntryTypeDef

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)
  1. See DisassociateClientDeviceFromCoreDeviceErrorEntryTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See CloudComponentStatusTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See ComponentPlatformTypeDef

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)
  1. See CloudComponentStatusTypeDef
  2. See ComponentPlatformTypeDef
  3. See ResponseMetadataTypeDef

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)
  1. See ComponentPlatformTypeDef
  2. See ComponentCandidateTypeDef

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],
  1. See SystemResourceLimitsTypeDef

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)
  1. See ComponentVersionListItemTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See ConnectivityInfoTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See ConnectivityInfoTypeDef

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)
  1. See CoreDeviceTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See DeploymentFailureHandlingPolicyType
  2. See DeploymentComponentUpdatePolicyTypeDef
  3. 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)
  1. See DeploymentTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See EffectiveDeploymentExecutionStatusType
  2. See EffectiveDeploymentStatusDetailsTypeDef

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)
  1. See InstalledComponentTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See IoTJobAbortCriteriaTypeDef

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)
  1. See IoTJobRateIncreaseCriteriaTypeDef

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)
  1. See LambdaVolumeMountTypeDef
  2. See LambdaDeviceMountTypeDef

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)
  1. See ResolvedComponentVersionTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See ComponentLatestVersionTypeDef

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)
  1. See ComponentConfigurationUpdateTypeDef
  2. See ComponentRunWithTypeDef

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)
  1. See EffectiveDeploymentTypeDef
  2. See ResponseMetadataTypeDef

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],
  1. See IoTJobExponentialRolloutRateTypeDef

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)
  1. See LambdaIsolationModeType
  2. See LambdaContainerParamsTypeDef

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)
  1. See ComponentTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See IoTJobExecutionsRolloutConfigTypeDef
  2. See IoTJobAbortConfigTypeDef
  3. 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)
  1. See LambdaEventSourceTypeDef
  2. See LambdaInputPayloadEncodingTypeType
  3. 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],
  1. See ComponentDeploymentSpecificationTypeDef
  2. See DeploymentIoTJobConfigurationTypeDef
  3. 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)
  1. See DeploymentStatusType
  2. See ComponentDeploymentSpecificationTypeDef
  3. See DeploymentPoliciesTypeDef
  4. See DeploymentIoTJobConfigurationTypeDef
  5. 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)
  1. See ComponentPlatformTypeDef
  2. See ComponentDependencyRequirementTypeDef
  3. 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],
  1. See LambdaFunctionRecipeSourceTypeDef