Skip to content

Type definitions#

Index > GreengrassV2 > Type definitions

Auto-generated documentation for GreengrassV2 type annotations stubs module mypy-boto3-greengrassv2.

BlobTypeDef#

# BlobTypeDef definition

BlobTypeDef = Union[
    str,
    bytes,
    IO[Any],
    StreamingBody,
]

ComponentPlatformUnionTypeDef#

# ComponentPlatformUnionTypeDef definition

ComponentPlatformUnionTypeDef = Union[
    ComponentPlatformTypeDef,  # (1)
    ComponentPlatformExtraOutputTypeDef,  # (2)
]
  1. See ComponentPlatformTypeDef
  2. See ComponentPlatformExtraOutputTypeDef

ComponentDeploymentSpecificationUnionTypeDef#

# ComponentDeploymentSpecificationUnionTypeDef definition

ComponentDeploymentSpecificationUnionTypeDef = Union[
    ComponentDeploymentSpecificationTypeDef,  # (1)
    ComponentDeploymentSpecificationOutputTypeDef,  # (2)
]
  1. See ComponentDeploymentSpecificationTypeDef
  2. See ComponentDeploymentSpecificationOutputTypeDef

DeploymentIoTJobConfigurationUnionTypeDef#

# DeploymentIoTJobConfigurationUnionTypeDef definition

DeploymentIoTJobConfigurationUnionTypeDef = Union[
    DeploymentIoTJobConfigurationTypeDef,  # (1)
    DeploymentIoTJobConfigurationOutputTypeDef,  # (2)
]
  1. See DeploymentIoTJobConfigurationTypeDef
  2. See DeploymentIoTJobConfigurationOutputTypeDef

AssociateClientDeviceWithCoreDeviceEntryTypeDef#

# AssociateClientDeviceWithCoreDeviceEntryTypeDef definition

class AssociateClientDeviceWithCoreDeviceEntryTypeDef(TypedDict):
    thingName: str,

AssociateClientDeviceWithCoreDeviceErrorEntryTypeDef#

# AssociateClientDeviceWithCoreDeviceErrorEntryTypeDef definition

class AssociateClientDeviceWithCoreDeviceErrorEntryTypeDef(TypedDict):
    thingName: NotRequired[str],
    code: NotRequired[str],
    message: NotRequired[str],

AssociateServiceRoleToAccountRequestRequestTypeDef#

# AssociateServiceRoleToAccountRequestRequestTypeDef definition

class AssociateServiceRoleToAccountRequestRequestTypeDef(TypedDict):
    roleArn: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

AssociatedClientDeviceTypeDef#

# AssociatedClientDeviceTypeDef definition

class AssociatedClientDeviceTypeDef(TypedDict):
    thingName: NotRequired[str],
    associationTimestamp: NotRequired[datetime],

DisassociateClientDeviceFromCoreDeviceEntryTypeDef#

# DisassociateClientDeviceFromCoreDeviceEntryTypeDef definition

class DisassociateClientDeviceFromCoreDeviceEntryTypeDef(TypedDict):
    thingName: str,

DisassociateClientDeviceFromCoreDeviceErrorEntryTypeDef#

# DisassociateClientDeviceFromCoreDeviceErrorEntryTypeDef definition

class DisassociateClientDeviceFromCoreDeviceErrorEntryTypeDef(TypedDict):
    thingName: NotRequired[str],
    code: NotRequired[str],
    message: NotRequired[str],

CancelDeploymentRequestRequestTypeDef#

# CancelDeploymentRequestRequestTypeDef definition

class CancelDeploymentRequestRequestTypeDef(TypedDict):
    deploymentId: str,

CloudComponentStatusTypeDef#

# 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 definition

class ComponentCandidateTypeDef(TypedDict):
    componentName: NotRequired[str],
    componentVersion: NotRequired[str],
    versionRequirements: NotRequired[Mapping[str, str]],

ComponentConfigurationUpdateOutputTypeDef#

# ComponentConfigurationUpdateOutputTypeDef definition

class ComponentConfigurationUpdateOutputTypeDef(TypedDict):
    merge: NotRequired[str],
    reset: NotRequired[List[str]],

ComponentConfigurationUpdateTypeDef#

# ComponentConfigurationUpdateTypeDef definition

class ComponentConfigurationUpdateTypeDef(TypedDict):
    merge: NotRequired[str],
    reset: NotRequired[Sequence[str]],

ComponentDependencyRequirementTypeDef#

# ComponentDependencyRequirementTypeDef definition

class ComponentDependencyRequirementTypeDef(TypedDict):
    versionRequirement: NotRequired[str],
    dependencyType: NotRequired[ComponentDependencyTypeType],  # (1)
  1. See ComponentDependencyTypeType

ComponentPlatformOutputTypeDef#

# ComponentPlatformOutputTypeDef definition

class ComponentPlatformOutputTypeDef(TypedDict):
    name: NotRequired[str],
    attributes: NotRequired[Dict[str, str]],

ComponentPlatformExtraOutputTypeDef#

# ComponentPlatformExtraOutputTypeDef definition

class ComponentPlatformExtraOutputTypeDef(TypedDict):
    name: NotRequired[str],
    attributes: NotRequired[Dict[str, str]],

ComponentPlatformTypeDef#

# ComponentPlatformTypeDef definition

class ComponentPlatformTypeDef(TypedDict):
    name: NotRequired[str],
    attributes: NotRequired[Mapping[str, str]],

SystemResourceLimitsTypeDef#

# SystemResourceLimitsTypeDef definition

class SystemResourceLimitsTypeDef(TypedDict):
    memory: NotRequired[int],
    cpus: NotRequired[float],

ComponentVersionListItemTypeDef#

# ComponentVersionListItemTypeDef definition

class ComponentVersionListItemTypeDef(TypedDict):
    componentName: NotRequired[str],
    componentVersion: NotRequired[str],
    arn: NotRequired[str],

ConnectivityInfoTypeDef#

# ConnectivityInfoTypeDef definition

class ConnectivityInfoTypeDef(TypedDict):
    id: NotRequired[str],
    hostAddress: NotRequired[str],
    portNumber: NotRequired[int],
    metadata: NotRequired[str],

CoreDeviceTypeDef#

# CoreDeviceTypeDef definition

class CoreDeviceTypeDef(TypedDict):
    coreDeviceThingName: NotRequired[str],
    status: NotRequired[CoreDeviceStatusType],  # (1)
    lastStatusUpdateTimestamp: NotRequired[datetime],
  1. See CoreDeviceStatusType

DeleteComponentRequestRequestTypeDef#

# DeleteComponentRequestRequestTypeDef definition

class DeleteComponentRequestRequestTypeDef(TypedDict):
    arn: str,

DeleteCoreDeviceRequestRequestTypeDef#

# DeleteCoreDeviceRequestRequestTypeDef definition

class DeleteCoreDeviceRequestRequestTypeDef(TypedDict):
    coreDeviceThingName: str,

DeleteDeploymentRequestRequestTypeDef#

# DeleteDeploymentRequestRequestTypeDef definition

class DeleteDeploymentRequestRequestTypeDef(TypedDict):
    deploymentId: str,

DeploymentComponentUpdatePolicyTypeDef#

# DeploymentComponentUpdatePolicyTypeDef definition

class DeploymentComponentUpdatePolicyTypeDef(TypedDict):
    timeoutInSeconds: NotRequired[int],
    action: NotRequired[DeploymentComponentUpdatePolicyActionType],  # (1)
  1. See DeploymentComponentUpdatePolicyActionType

DeploymentConfigurationValidationPolicyTypeDef#

# DeploymentConfigurationValidationPolicyTypeDef definition

class DeploymentConfigurationValidationPolicyTypeDef(TypedDict):
    timeoutInSeconds: NotRequired[int],

IoTJobTimeoutConfigTypeDef#

# IoTJobTimeoutConfigTypeDef definition

class IoTJobTimeoutConfigTypeDef(TypedDict):
    inProgressTimeoutInMinutes: NotRequired[int],

DeploymentTypeDef#

# 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 definition

class DescribeComponentRequestRequestTypeDef(TypedDict):
    arn: str,

EffectiveDeploymentStatusDetailsTypeDef#

# EffectiveDeploymentStatusDetailsTypeDef definition

class EffectiveDeploymentStatusDetailsTypeDef(TypedDict):
    errorStack: NotRequired[List[str]],
    errorTypes: NotRequired[List[str]],

GetComponentRequestRequestTypeDef#

# GetComponentRequestRequestTypeDef definition

class GetComponentRequestRequestTypeDef(TypedDict):
    arn: str,
    recipeOutputFormat: NotRequired[RecipeOutputFormatType],  # (1)
  1. See RecipeOutputFormatType

GetComponentVersionArtifactRequestRequestTypeDef#

# GetComponentVersionArtifactRequestRequestTypeDef definition

class GetComponentVersionArtifactRequestRequestTypeDef(TypedDict):
    arn: str,
    artifactName: str,
    s3EndpointType: NotRequired[S3EndpointTypeType],  # (1)
    iotEndpointType: NotRequired[IotEndpointTypeType],  # (2)
  1. See S3EndpointTypeType
  2. See IotEndpointTypeType

GetConnectivityInfoRequestRequestTypeDef#

# GetConnectivityInfoRequestRequestTypeDef definition

class GetConnectivityInfoRequestRequestTypeDef(TypedDict):
    thingName: str,

GetCoreDeviceRequestRequestTypeDef#

# GetCoreDeviceRequestRequestTypeDef definition

class GetCoreDeviceRequestRequestTypeDef(TypedDict):
    coreDeviceThingName: str,

GetDeploymentRequestRequestTypeDef#

# GetDeploymentRequestRequestTypeDef definition

class GetDeploymentRequestRequestTypeDef(TypedDict):
    deploymentId: str,

InstalledComponentTypeDef#

# 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 definition

class IoTJobAbortCriteriaTypeDef(TypedDict):
    failureType: IoTJobExecutionFailureTypeType,  # (1)
    action: IoTJobAbortActionType,  # (2)
    thresholdPercentage: float,
    minNumberOfExecutedThings: int,
  1. See IoTJobExecutionFailureTypeType
  2. See IoTJobAbortActionType

IoTJobRateIncreaseCriteriaTypeDef#

# IoTJobRateIncreaseCriteriaTypeDef definition

class IoTJobRateIncreaseCriteriaTypeDef(TypedDict):
    numberOfNotifiedThings: NotRequired[int],
    numberOfSucceededThings: NotRequired[int],

LambdaDeviceMountTypeDef#

# LambdaDeviceMountTypeDef definition

class LambdaDeviceMountTypeDef(TypedDict):
    path: str,