Skip to content

Typed dictionaries

Index > GreengrassV2 > Typed dictionaries

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

AssociateClientDeviceWithCoreDeviceEntryTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import AssociateClientDeviceWithCoreDeviceEntryTypeDef

def get_value() -> AssociateClientDeviceWithCoreDeviceEntryTypeDef:
    return {
        "thingName": ...,
    }
Definition
class AssociateClientDeviceWithCoreDeviceEntryTypeDef(TypedDict):
    thingName: str,

AssociateClientDeviceWithCoreDeviceErrorEntryTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import AssociateClientDeviceWithCoreDeviceErrorEntryTypeDef

def get_value() -> AssociateClientDeviceWithCoreDeviceErrorEntryTypeDef:
    return {
        "thingName": ...,
    }
Definition
class AssociateClientDeviceWithCoreDeviceErrorEntryTypeDef(TypedDict):
    thingName: NotRequired[str],
    code: NotRequired[str],
    message: NotRequired[str],

AssociateServiceRoleToAccountRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import AssociateServiceRoleToAccountRequestRequestTypeDef

def get_value() -> AssociateServiceRoleToAccountRequestRequestTypeDef:
    return {
        "roleArn": ...,
    }
Definition
class AssociateServiceRoleToAccountRequestRequestTypeDef(TypedDict):
    roleArn: str,

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

AssociatedClientDeviceTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import AssociatedClientDeviceTypeDef

def get_value() -> AssociatedClientDeviceTypeDef:
    return {
        "thingName": ...,
    }
Definition
class AssociatedClientDeviceTypeDef(TypedDict):
    thingName: NotRequired[str],
    associationTimestamp: NotRequired[datetime],

DisassociateClientDeviceFromCoreDeviceEntryTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import DisassociateClientDeviceFromCoreDeviceEntryTypeDef

def get_value() -> DisassociateClientDeviceFromCoreDeviceEntryTypeDef:
    return {
        "thingName": ...,
    }
Definition
class DisassociateClientDeviceFromCoreDeviceEntryTypeDef(TypedDict):
    thingName: str,

DisassociateClientDeviceFromCoreDeviceErrorEntryTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import DisassociateClientDeviceFromCoreDeviceErrorEntryTypeDef

def get_value() -> DisassociateClientDeviceFromCoreDeviceErrorEntryTypeDef:
    return {
        "thingName": ...,
    }
Definition
class DisassociateClientDeviceFromCoreDeviceErrorEntryTypeDef(TypedDict):
    thingName: NotRequired[str],
    code: NotRequired[str],
    message: NotRequired[str],

CancelDeploymentRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import CancelDeploymentRequestRequestTypeDef

def get_value() -> CancelDeploymentRequestRequestTypeDef:
    return {
        "deploymentId": ...,
    }
Definition
class CancelDeploymentRequestRequestTypeDef(TypedDict):
    deploymentId: str,

CloudComponentStatusTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import CloudComponentStatusTypeDef

def get_value() -> CloudComponentStatusTypeDef:
    return {
        "componentState": ...,
    }
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

Usage Example
from mypy_boto3_greengrassv2.type_defs import ComponentCandidateTypeDef

def get_value() -> ComponentCandidateTypeDef:
    return {
        "componentName": ...,
    }
Definition
class ComponentCandidateTypeDef(TypedDict):
    componentName: NotRequired[str],
    componentVersion: NotRequired[str],
    versionRequirements: NotRequired[Mapping[str, str]],

ComponentConfigurationUpdateTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ComponentConfigurationUpdateTypeDef

def get_value() -> ComponentConfigurationUpdateTypeDef:
    return {
        "merge": ...,
    }
Definition
class ComponentConfigurationUpdateTypeDef(TypedDict):
    merge: NotRequired[str],
    reset: NotRequired[Sequence[str]],

ComponentDependencyRequirementTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ComponentDependencyRequirementTypeDef

def get_value() -> ComponentDependencyRequirementTypeDef:
    return {
        "versionRequirement": ...,
    }
Definition
class ComponentDependencyRequirementTypeDef(TypedDict):
    versionRequirement: NotRequired[str],
    dependencyType: NotRequired[ComponentDependencyTypeType],  # (1)
  1. See ComponentDependencyTypeType

ComponentPlatformTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ComponentPlatformTypeDef

def get_value() -> ComponentPlatformTypeDef:
    return {
        "name": ...,
    }
Definition
class ComponentPlatformTypeDef(TypedDict):
    name: NotRequired[str],
    attributes: NotRequired[Mapping[str, str]],

SystemResourceLimitsTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import SystemResourceLimitsTypeDef

def get_value() -> SystemResourceLimitsTypeDef:
    return {
        "memory": ...,
    }
Definition
class SystemResourceLimitsTypeDef(TypedDict):
    memory: NotRequired[int],
    cpus: NotRequired[float],

ComponentVersionListItemTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ComponentVersionListItemTypeDef

def get_value() -> ComponentVersionListItemTypeDef:
    return {
        "componentName": ...,
    }
Definition
class ComponentVersionListItemTypeDef(TypedDict):
    componentName: NotRequired[str],
    componentVersion: NotRequired[str],
    arn: NotRequired[str],

ConnectivityInfoTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ConnectivityInfoTypeDef

def get_value() -> ConnectivityInfoTypeDef:
    return {
        "id": ...,
    }
Definition
class ConnectivityInfoTypeDef(TypedDict):
    id: NotRequired[str],
    hostAddress: NotRequired[str],
    portNumber: NotRequired[int],
    metadata: NotRequired[str],

CoreDeviceTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import CoreDeviceTypeDef

def get_value() -> CoreDeviceTypeDef:
    return {
        "coreDeviceThingName": ...,
    }
Definition
class CoreDeviceTypeDef(TypedDict):
    coreDeviceThingName: NotRequired[str],
    status: NotRequired[CoreDeviceStatusType],  # (1)
    lastStatusUpdateTimestamp: NotRequired[datetime],
  1. See CoreDeviceStatusType

DeleteComponentRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import DeleteComponentRequestRequestTypeDef

def get_value() -> DeleteComponentRequestRequestTypeDef:
    return {
        "arn": ...,
    }
Definition
class DeleteComponentRequestRequestTypeDef(TypedDict):
    arn: str,

DeleteCoreDeviceRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import DeleteCoreDeviceRequestRequestTypeDef

def get_value() -> DeleteCoreDeviceRequestRequestTypeDef:
    return {
        "coreDeviceThingName": ...,
    }
Definition
class DeleteCoreDeviceRequestRequestTypeDef(TypedDict):
    coreDeviceThingName: str,

DeleteDeploymentRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import DeleteDeploymentRequestRequestTypeDef

def get_value() -> DeleteDeploymentRequestRequestTypeDef:
    return {
        "deploymentId": ...,
    }
Definition
class DeleteDeploymentRequestRequestTypeDef(TypedDict):
    deploymentId: str,

DeploymentComponentUpdatePolicyTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import DeploymentComponentUpdatePolicyTypeDef

def get_value() -> DeploymentComponentUpdatePolicyTypeDef:
    return {
        "timeoutInSeconds": ...,
    }
Definition
class DeploymentComponentUpdatePolicyTypeDef(TypedDict):
    timeoutInSeconds: NotRequired[int],
    action: NotRequired[DeploymentComponentUpdatePolicyActionType],  # (1)
  1. See DeploymentComponentUpdatePolicyActionType

DeploymentConfigurationValidationPolicyTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import DeploymentConfigurationValidationPolicyTypeDef

def get_value() -> DeploymentConfigurationValidationPolicyTypeDef:
    return {
        "timeoutInSeconds": ...,
    }
Definition
class DeploymentConfigurationValidationPolicyTypeDef(TypedDict):
    timeoutInSeconds: NotRequired[int],

IoTJobTimeoutConfigTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import IoTJobTimeoutConfigTypeDef

def get_value() -> IoTJobTimeoutConfigTypeDef:
    return {
        "inProgressTimeoutInMinutes": ...,
    }
Definition
class IoTJobTimeoutConfigTypeDef(TypedDict):
    inProgressTimeoutInMinutes: NotRequired[int],

DeploymentTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import DeploymentTypeDef

def get_value() -> DeploymentTypeDef:
    return {
        "targetArn": ...,
    }
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],
  1. See DeploymentStatusType

DescribeComponentRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import DescribeComponentRequestRequestTypeDef

def get_value() -> DescribeComponentRequestRequestTypeDef:
    return {
        "arn": ...,
    }
Definition
class DescribeComponentRequestRequestTypeDef(TypedDict):
    arn: str,

EffectiveDeploymentTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import EffectiveDeploymentTypeDef

def get_value() -> EffectiveDeploymentTypeDef:
    return {
        "deploymentId": ...,
        "deploymentName": ...,
        "targetArn": ...,
        "coreDeviceExecutionStatus": ...,
        "creationTimestamp": ...,
        "modifiedTimestamp": ...,
    }
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],
  1. See EffectiveDeploymentExecutionStatusType

GetComponentRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import GetComponentRequestRequestTypeDef

def get_value() -> GetComponentRequestRequestTypeDef:
    return {
        "arn": ...,
    }
Definition
class GetComponentRequestRequestTypeDef(TypedDict):
    arn: str,
    recipeOutputFormat: NotRequired[RecipeOutputFormatType],  # (1)
  1. See RecipeOutputFormatType

GetComponentVersionArtifactRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import GetComponentVersionArtifactRequestRequestTypeDef

def get_value() -> GetComponentVersionArtifactRequestRequestTypeDef:
    return {
        "arn": ...,
        "artifactName": ...,
    }
Definition
class GetComponentVersionArtifactRequestRequestTypeDef(TypedDict):
    arn: str,
    artifactName: str,

GetConnectivityInfoRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import GetConnectivityInfoRequestRequestTypeDef

def get_value() -> GetConnectivityInfoRequestRequestTypeDef:
    return {
        "thingName": ...,
    }
Definition
class GetConnectivityInfoRequestRequestTypeDef(TypedDict):
    thingName: str,

GetCoreDeviceRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import GetCoreDeviceRequestRequestTypeDef

def get_value() -> GetCoreDeviceRequestRequestTypeDef:
    return {
        "coreDeviceThingName": ...,
    }
Definition
class GetCoreDeviceRequestRequestTypeDef(TypedDict):
    coreDeviceThingName: str,

GetDeploymentRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import GetDeploymentRequestRequestTypeDef

def get_value() -> GetDeploymentRequestRequestTypeDef:
    return {
        "deploymentId": ...,
    }
Definition
class GetDeploymentRequestRequestTypeDef(TypedDict):
    deploymentId: str,

InstalledComponentTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import InstalledComponentTypeDef

def get_value() -> InstalledComponentTypeDef:
    return {
        "componentName": ...,
    }
Definition
class InstalledComponentTypeDef(TypedDict):
    componentName: NotRequired[str],
    componentVersion: NotRequired[str],
    lifecycleState: NotRequired[InstalledComponentLifecycleStateType],  # (1)
    lifecycleStateDetails: NotRequired[str],
    isRoot: NotRequired[bool],
    lastStatusChangeTimestamp: NotRequired[datetime],
  1. See InstalledComponentLifecycleStateType

IoTJobAbortCriteriaTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import IoTJobAbortCriteriaTypeDef

def get_value() -> IoTJobAbortCriteriaTypeDef:
    return {
        "failureType": ...,
        "action": ...,
        "thresholdPercentage": ...,
        "minNumberOfExecutedThings": ...,
    }
Definition
class IoTJobAbortCriteriaTypeDef(TypedDict):
    failureType: IoTJobExecutionFailureTypeType,  # (1)
    action: IoTJobAbortActionType,  # (2)
    thresholdPercentage: float,
    minNumberOfExecutedThings: int,
  1. See IoTJobExecutionFailureTypeType
  2. See IoTJobAbortActionType

IoTJobRateIncreaseCriteriaTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import IoTJobRateIncreaseCriteriaTypeDef

def get_value() -> IoTJobRateIncreaseCriteriaTypeDef:
    return {
        "numberOfNotifiedThings": ...,
    }
Definition
class IoTJobRateIncreaseCriteriaTypeDef(TypedDict):
    numberOfNotifiedThings: NotRequired[int],
    numberOfSucceededThings: NotRequired[int],

LambdaDeviceMountTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import LambdaDeviceMountTypeDef

def get_value() -> LambdaDeviceMountTypeDef:
    return {
        "path": ...,
    }
Definition
class LambdaDeviceMountTypeDef(TypedDict):
    path: str,
    permission: NotRequired[LambdaFilesystemPermissionType],  # (1)
    addGroupOwner: NotRequired[bool],
  1. See LambdaFilesystemPermissionType

LambdaVolumeMountTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import LambdaVolumeMountTypeDef

def get_value() -> LambdaVolumeMountTypeDef:
    return {
        "sourcePath": ...,
        "destinationPath": ...,
    }
Definition
class LambdaVolumeMountTypeDef(TypedDict):
    sourcePath: str,
    destinationPath: str,
    permission: NotRequired[LambdaFilesystemPermissionType],  # (1)
    addGroupOwner: NotRequired[bool],
  1. See LambdaFilesystemPermissionType

LambdaEventSourceTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import LambdaEventSourceTypeDef

def get_value() -> LambdaEventSourceTypeDef:
    return {
        "topic": ...,
        "type": ...,
    }
Definition
class LambdaEventSourceTypeDef(TypedDict):
    topic: str,
    type: LambdaEventSourceTypeType,  # (1)
  1. See LambdaEventSourceTypeType

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListClientDevicesAssociatedWithCoreDeviceRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListClientDevicesAssociatedWithCoreDeviceRequestRequestTypeDef

def get_value() -> ListClientDevicesAssociatedWithCoreDeviceRequestRequestTypeDef:
    return {
        "coreDeviceThingName": ...,
    }
Definition
class ListClientDevicesAssociatedWithCoreDeviceRequestRequestTypeDef(TypedDict):
    coreDeviceThingName: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListComponentVersionsRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListComponentVersionsRequestRequestTypeDef

def get_value() -> ListComponentVersionsRequestRequestTypeDef:
    return {
        "arn": ...,
    }
Definition
class ListComponentVersionsRequestRequestTypeDef(TypedDict):
    arn: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListComponentsRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListComponentsRequestRequestTypeDef

def get_value() -> ListComponentsRequestRequestTypeDef:
    return {
        "scope": ...,
    }
Definition
class ListComponentsRequestRequestTypeDef(TypedDict):
    scope: NotRequired[ComponentVisibilityScopeType],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See ComponentVisibilityScopeType

ListCoreDevicesRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListCoreDevicesRequestRequestTypeDef

def get_value() -> ListCoreDevicesRequestRequestTypeDef:
    return {
        "thingGroupArn": ...,
    }
Definition
class ListCoreDevicesRequestRequestTypeDef(TypedDict):
    thingGroupArn: NotRequired[str],
    status: NotRequired[CoreDeviceStatusType],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See CoreDeviceStatusType

ListDeploymentsRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListDeploymentsRequestRequestTypeDef

def get_value() -> ListDeploymentsRequestRequestTypeDef:
    return {
        "targetArn": ...,
    }
Definition
class ListDeploymentsRequestRequestTypeDef(TypedDict):
    targetArn: NotRequired[str],
    historyFilter: NotRequired[DeploymentHistoryFilterType],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See DeploymentHistoryFilterType

ListEffectiveDeploymentsRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListEffectiveDeploymentsRequestRequestTypeDef

def get_value() -> ListEffectiveDeploymentsRequestRequestTypeDef:
    return {
        "coreDeviceThingName": ...,
    }
Definition
class ListEffectiveDeploymentsRequestRequestTypeDef(TypedDict):
    coreDeviceThingName: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListInstalledComponentsRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListInstalledComponentsRequestRequestTypeDef

def get_value() -> ListInstalledComponentsRequestRequestTypeDef:
    return {
        "coreDeviceThingName": ...,
    }
Definition
class ListInstalledComponentsRequestRequestTypeDef(TypedDict):
    coreDeviceThingName: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    topologyFilter: NotRequired[InstalledComponentTopologyFilterType],  # (1)
  1. See InstalledComponentTopologyFilterType

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
    }
Definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

ResolvedComponentVersionTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ResolvedComponentVersionTypeDef

def get_value() -> ResolvedComponentVersionTypeDef:
    return {
        "arn": ...,
    }
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

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

BatchAssociateClientDeviceWithCoreDeviceRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import BatchAssociateClientDeviceWithCoreDeviceRequestRequestTypeDef

def get_value() -> BatchAssociateClientDeviceWithCoreDeviceRequestRequestTypeDef:
    return {
        "coreDeviceThingName": ...,
    }
Definition
class BatchAssociateClientDeviceWithCoreDeviceRequestRequestTypeDef(TypedDict):
    coreDeviceThingName: str,
    entries: NotRequired[Sequence[AssociateClientDeviceWithCoreDeviceEntryTypeDef]],  # (1)
  1. See AssociateClientDeviceWithCoreDeviceEntryTypeDef

AssociateServiceRoleToAccountResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import AssociateServiceRoleToAccountResponseTypeDef

def get_value() -> AssociateServiceRoleToAccountResponseTypeDef:
    return {
        "associatedAt": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateServiceRoleToAccountResponseTypeDef(TypedDict):
    associatedAt: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

BatchAssociateClientDeviceWithCoreDeviceResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import BatchAssociateClientDeviceWithCoreDeviceResponseTypeDef

def get_value() -> BatchAssociateClientDeviceWithCoreDeviceResponseTypeDef:
    return {
        "errorEntries": ...,
        "ResponseMetadata": ...,
    }
Definition
class BatchAssociateClientDeviceWithCoreDeviceResponseTypeDef(TypedDict):
    errorEntries: List[AssociateClientDeviceWithCoreDeviceErrorEntryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AssociateClientDeviceWithCoreDeviceErrorEntryTypeDef
  2. See ResponseMetadataTypeDef

CancelDeploymentResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import CancelDeploymentResponseTypeDef

def get_value() -> CancelDeploymentResponseTypeDef:
    return {
        "message": ...,
        "ResponseMetadata": ...,
    }
Definition
class CancelDeploymentResponseTypeDef(TypedDict):
    message: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateDeploymentResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import CreateDeploymentResponseTypeDef

def get_value() -> CreateDeploymentResponseTypeDef:
    return {
        "deploymentId": ...,
        "iotJobId": ...,
        "iotJobArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateDeploymentResponseTypeDef(TypedDict):
    deploymentId: str,
    iotJobId: str,
    iotJobArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DisassociateServiceRoleFromAccountResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import DisassociateServiceRoleFromAccountResponseTypeDef

def get_value() -> DisassociateServiceRoleFromAccountResponseTypeDef:
    return {
        "disassociatedAt": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociateServiceRoleFromAccountResponseTypeDef(TypedDict):
    disassociatedAt: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetComponentResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import GetComponentResponseTypeDef

def get_value() -> GetComponentResponseTypeDef:
    return {
        "recipeOutputFormat": ...,
        "recipe": ...,
        "tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetComponentResponseTypeDef(TypedDict):
    recipeOutputFormat: RecipeOutputFormatType,  # (1)
    recipe: bytes,
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RecipeOutputFormatType
  2. See ResponseMetadataTypeDef

GetComponentVersionArtifactResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import GetComponentVersionArtifactResponseTypeDef

def get_value() -> GetComponentVersionArtifactResponseTypeDef:
    return {
        "preSignedUrl": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetComponentVersionArtifactResponseTypeDef(TypedDict):
    preSignedUrl: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetCoreDeviceResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import GetCoreDeviceResponseTypeDef

def get_value() -> GetCoreDeviceResponseTypeDef:
    return {
        "coreDeviceThingName": ...,
        "coreVersion": ...,
        "platform": ...,
        "architecture": ...,
        "status": ...,
        "lastStatusUpdateTimestamp": ...,
        "tags": ...,
        "ResponseMetadata": ...,
    }
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

GetServiceRoleForAccountResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import GetServiceRoleForAccountResponseTypeDef

def get_value() -> GetServiceRoleForAccountResponseTypeDef:
    return {
        "associatedAt": ...,
        "roleArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetServiceRoleForAccountResponseTypeDef(TypedDict):
    associatedAt: str,
    roleArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateConnectivityInfoResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import UpdateConnectivityInfoResponseTypeDef

def get_value() -> UpdateConnectivityInfoResponseTypeDef:
    return {
        "version": ...,
        "message": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateConnectivityInfoResponseTypeDef(TypedDict):
    version: str,
    message: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListClientDevicesAssociatedWithCoreDeviceResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListClientDevicesAssociatedWithCoreDeviceResponseTypeDef

def get_value() -> ListClientDevicesAssociatedWithCoreDeviceResponseTypeDef:
    return {
        "associatedClientDevices": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListClientDevicesAssociatedWithCoreDeviceResponseTypeDef(TypedDict):
    associatedClientDevices: List[AssociatedClientDeviceTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AssociatedClientDeviceTypeDef
  2. See ResponseMetadataTypeDef

BatchDisassociateClientDeviceFromCoreDeviceRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import BatchDisassociateClientDeviceFromCoreDeviceRequestRequestTypeDef

def get_value() -> BatchDisassociateClientDeviceFromCoreDeviceRequestRequestTypeDef:
    return {
        "coreDeviceThingName": ...,
    }
Definition
class BatchDisassociateClientDeviceFromCoreDeviceRequestRequestTypeDef(TypedDict):
    coreDeviceThingName: str,
    entries: NotRequired[Sequence[DisassociateClientDeviceFromCoreDeviceEntryTypeDef]],  # (1)
  1. See DisassociateClientDeviceFromCoreDeviceEntryTypeDef

BatchDisassociateClientDeviceFromCoreDeviceResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import BatchDisassociateClientDeviceFromCoreDeviceResponseTypeDef

def get_value() -> BatchDisassociateClientDeviceFromCoreDeviceResponseTypeDef:
    return {
        "errorEntries": ...,
        "ResponseMetadata": ...,
    }
Definition
class BatchDisassociateClientDeviceFromCoreDeviceResponseTypeDef(TypedDict):
    errorEntries: List[DisassociateClientDeviceFromCoreDeviceErrorEntryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DisassociateClientDeviceFromCoreDeviceErrorEntryTypeDef
  2. See ResponseMetadataTypeDef

CreateComponentVersionResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import CreateComponentVersionResponseTypeDef

def get_value() -> CreateComponentVersionResponseTypeDef:
    return {
        "arn": ...,
        "componentName": ...,
        "componentVersion": ...,
        "creationTimestamp": ...,
        "status": ...,
        "ResponseMetadata": ...,
    }
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

Usage Example
from mypy_boto3_greengrassv2.type_defs import ComponentLatestVersionTypeDef

def get_value() -> ComponentLatestVersionTypeDef:
    return {
        "arn": ...,
    }
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

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": ...,
    }
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

Usage Example
from mypy_boto3_greengrassv2.type_defs import ResolveComponentCandidatesRequestRequestTypeDef

def get_value() -> ResolveComponentCandidatesRequestRequestTypeDef:
    return {
        "platform": ...,
    }
Definition
class ResolveComponentCandidatesRequestRequestTypeDef(TypedDict):
    platform: NotRequired[ComponentPlatformTypeDef],  # (1)
    componentCandidates: NotRequired[Sequence[ComponentCandidateTypeDef]],  # (2)
  1. See ComponentPlatformTypeDef
  2. See ComponentCandidateTypeDef

ComponentRunWithTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ComponentRunWithTypeDef

def get_value() -> ComponentRunWithTypeDef:
    return {
        "posixUser": ...,
    }
Definition
class ComponentRunWithTypeDef(TypedDict):
    posixUser: NotRequired[str],
    systemResourceLimits: NotRequired[SystemResourceLimitsTypeDef],  # (1)
    windowsUser: NotRequired[str],
  1. See SystemResourceLimitsTypeDef

ListComponentVersionsResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListComponentVersionsResponseTypeDef

def get_value() -> ListComponentVersionsResponseTypeDef:
    return {
        "componentVersions": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListComponentVersionsResponseTypeDef(TypedDict):
    componentVersions: List[ComponentVersionListItemTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ComponentVersionListItemTypeDef
  2. See ResponseMetadataTypeDef

GetConnectivityInfoResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import GetConnectivityInfoResponseTypeDef

def get_value() -> GetConnectivityInfoResponseTypeDef:
    return {
        "connectivityInfo": ...,
        "message": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetConnectivityInfoResponseTypeDef(TypedDict):
    connectivityInfo: List[ConnectivityInfoTypeDef],  # (1)
    message: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ConnectivityInfoTypeDef
  2. See ResponseMetadataTypeDef

UpdateConnectivityInfoRequestRequestTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import UpdateConnectivityInfoRequestRequestTypeDef

def get_value() -> UpdateConnectivityInfoRequestRequestTypeDef:
    return {
        "thingName": ...,
        "connectivityInfo": ...,
    }
Definition
class UpdateConnectivityInfoRequestRequestTypeDef(TypedDict):
    thingName: str,
    connectivityInfo: Sequence[ConnectivityInfoTypeDef],  # (1)
  1. See ConnectivityInfoTypeDef

ListCoreDevicesResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListCoreDevicesResponseTypeDef

def get_value() -> ListCoreDevicesResponseTypeDef:
    return {
        "coreDevices": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListCoreDevicesResponseTypeDef(TypedDict):
    coreDevices: List[CoreDeviceTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CoreDeviceTypeDef
  2. See ResponseMetadataTypeDef

DeploymentPoliciesTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import DeploymentPoliciesTypeDef

def get_value() -> DeploymentPoliciesTypeDef:
    return {
        "failureHandlingPolicy": ...,
    }
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

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListDeploymentsResponseTypeDef

def get_value() -> ListDeploymentsResponseTypeDef:
    return {
        "deployments": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListDeploymentsResponseTypeDef(TypedDict):
    deployments: List[DeploymentTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DeploymentTypeDef
  2. See ResponseMetadataTypeDef

ListEffectiveDeploymentsResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListEffectiveDeploymentsResponseTypeDef

def get_value() -> ListEffectiveDeploymentsResponseTypeDef:
    return {
        "effectiveDeployments": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListEffectiveDeploymentsResponseTypeDef(TypedDict):
    effectiveDeployments: List[EffectiveDeploymentTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EffectiveDeploymentTypeDef
  2. See ResponseMetadataTypeDef

ListInstalledComponentsResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListInstalledComponentsResponseTypeDef

def get_value() -> ListInstalledComponentsResponseTypeDef:
    return {
        "installedComponents": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListInstalledComponentsResponseTypeDef(TypedDict):
    installedComponents: List[InstalledComponentTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstalledComponentTypeDef
  2. See ResponseMetadataTypeDef

IoTJobAbortConfigTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import IoTJobAbortConfigTypeDef

def get_value() -> IoTJobAbortConfigTypeDef:
    return {
        "criteriaList": ...,
    }
Definition
class IoTJobAbortConfigTypeDef(TypedDict):
    criteriaList: Sequence[IoTJobAbortCriteriaTypeDef],  # (1)
  1. See IoTJobAbortCriteriaTypeDef

IoTJobExponentialRolloutRateTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import IoTJobExponentialRolloutRateTypeDef

def get_value() -> IoTJobExponentialRolloutRateTypeDef:
    return {
        "baseRatePerMinute": ...,
        "incrementFactor": ...,
        "rateIncreaseCriteria": ...,
    }
Definition
class IoTJobExponentialRolloutRateTypeDef(TypedDict):
    baseRatePerMinute: int,
    incrementFactor: float,
    rateIncreaseCriteria: IoTJobRateIncreaseCriteriaTypeDef,  # (1)
  1. See IoTJobRateIncreaseCriteriaTypeDef

LambdaContainerParamsTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import LambdaContainerParamsTypeDef

def get_value() -> LambdaContainerParamsTypeDef:
    return {
        "memorySizeInKB": ...,
    }
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

ListClientDevicesAssociatedWithCoreDeviceRequestListClientDevicesAssociatedWithCoreDevicePaginateTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListClientDevicesAssociatedWithCoreDeviceRequestListClientDevicesAssociatedWithCoreDevicePaginateTypeDef

def get_value() -> ListClientDevicesAssociatedWithCoreDeviceRequestListClientDevicesAssociatedWithCoreDevicePaginateTypeDef:
    return {
        "coreDeviceThingName": ...,
    }
Definition
class ListClientDevicesAssociatedWithCoreDeviceRequestListClientDevicesAssociatedWithCoreDevicePaginateTypeDef(TypedDict):
    coreDeviceThingName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListComponentVersionsRequestListComponentVersionsPaginateTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListComponentVersionsRequestListComponentVersionsPaginateTypeDef

def get_value() -> ListComponentVersionsRequestListComponentVersionsPaginateTypeDef:
    return {
        "arn": ...,
    }
Definition
class ListComponentVersionsRequestListComponentVersionsPaginateTypeDef(TypedDict):
    arn: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListComponentsRequestListComponentsPaginateTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListComponentsRequestListComponentsPaginateTypeDef

def get_value() -> ListComponentsRequestListComponentsPaginateTypeDef:
    return {
        "scope": ...,
    }
Definition
class ListComponentsRequestListComponentsPaginateTypeDef(TypedDict):
    scope: NotRequired[ComponentVisibilityScopeType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ComponentVisibilityScopeType
  2. See PaginatorConfigTypeDef

ListCoreDevicesRequestListCoreDevicesPaginateTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListCoreDevicesRequestListCoreDevicesPaginateTypeDef

def get_value() -> ListCoreDevicesRequestListCoreDevicesPaginateTypeDef:
    return {
        "thingGroupArn": ...,
    }
Definition
class ListCoreDevicesRequestListCoreDevicesPaginateTypeDef(TypedDict):
    thingGroupArn: NotRequired[str],
    status: NotRequired[CoreDeviceStatusType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See CoreDeviceStatusType
  2. See PaginatorConfigTypeDef

ListDeploymentsRequestListDeploymentsPaginateTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListDeploymentsRequestListDeploymentsPaginateTypeDef

def get_value() -> ListDeploymentsRequestListDeploymentsPaginateTypeDef:
    return {
        "targetArn": ...,
    }
Definition
class ListDeploymentsRequestListDeploymentsPaginateTypeDef(TypedDict):
    targetArn: NotRequired[str],
    historyFilter: NotRequired[DeploymentHistoryFilterType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See DeploymentHistoryFilterType
  2. See PaginatorConfigTypeDef

ListEffectiveDeploymentsRequestListEffectiveDeploymentsPaginateTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListEffectiveDeploymentsRequestListEffectiveDeploymentsPaginateTypeDef

def get_value() -> ListEffectiveDeploymentsRequestListEffectiveDeploymentsPaginateTypeDef:
    return {
        "coreDeviceThingName": ...,
    }
Definition
class ListEffectiveDeploymentsRequestListEffectiveDeploymentsPaginateTypeDef(TypedDict):
    coreDeviceThingName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListInstalledComponentsRequestListInstalledComponentsPaginateTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListInstalledComponentsRequestListInstalledComponentsPaginateTypeDef

def get_value() -> ListInstalledComponentsRequestListInstalledComponentsPaginateTypeDef:
    return {
        "coreDeviceThingName": ...,
    }
Definition
class ListInstalledComponentsRequestListInstalledComponentsPaginateTypeDef(TypedDict):
    coreDeviceThingName: str,
    topologyFilter: NotRequired[InstalledComponentTopologyFilterType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See InstalledComponentTopologyFilterType
  2. See PaginatorConfigTypeDef

ResolveComponentCandidatesResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ResolveComponentCandidatesResponseTypeDef

def get_value() -> ResolveComponentCandidatesResponseTypeDef:
    return {
        "resolvedComponentVersions": ...,
        "ResponseMetadata": ...,
    }
Definition
class ResolveComponentCandidatesResponseTypeDef(TypedDict):
    resolvedComponentVersions: List[ResolvedComponentVersionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResolvedComponentVersionTypeDef
  2. See ResponseMetadataTypeDef

ComponentTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ComponentTypeDef

def get_value() -> ComponentTypeDef:
    return {
        "arn": ...,
    }
Definition
class ComponentTypeDef(TypedDict):
    arn: NotRequired[str],
    componentName: NotRequired[str],
    latestVersion: NotRequired[ComponentLatestVersionTypeDef],  # (1)
  1. See ComponentLatestVersionTypeDef

ComponentDeploymentSpecificationTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ComponentDeploymentSpecificationTypeDef

def get_value() -> ComponentDeploymentSpecificationTypeDef:
    return {
        "componentVersion": ...,
    }
Definition
class ComponentDeploymentSpecificationTypeDef(TypedDict):
    componentVersion: NotRequired[str],
    configurationUpdate: NotRequired[ComponentConfigurationUpdateTypeDef],  # (1)
    runWith: NotRequired[ComponentRunWithTypeDef],  # (2)
  1. See ComponentConfigurationUpdateTypeDef
  2. See ComponentRunWithTypeDef

IoTJobExecutionsRolloutConfigTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import IoTJobExecutionsRolloutConfigTypeDef

def get_value() -> IoTJobExecutionsRolloutConfigTypeDef:
    return {
        "exponentialRate": ...,
    }
Definition
class IoTJobExecutionsRolloutConfigTypeDef(TypedDict):
    exponentialRate: NotRequired[IoTJobExponentialRolloutRateTypeDef],  # (1)
    maximumPerMinute: NotRequired[int],
  1. See IoTJobExponentialRolloutRateTypeDef

LambdaLinuxProcessParamsTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import LambdaLinuxProcessParamsTypeDef

def get_value() -> LambdaLinuxProcessParamsTypeDef:
    return {
        "isolationMode": ...,
    }
Definition
class LambdaLinuxProcessParamsTypeDef(TypedDict):
    isolationMode: NotRequired[LambdaIsolationModeType],  # (1)
    containerParams: NotRequired[LambdaContainerParamsTypeDef],  # (2)
  1. See LambdaIsolationModeType
  2. See LambdaContainerParamsTypeDef

ListComponentsResponseTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import ListComponentsResponseTypeDef

def get_value() -> ListComponentsResponseTypeDef:
    return {
        "components": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListComponentsResponseTypeDef(TypedDict):
    components: List[ComponentTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ComponentTypeDef
  2. See ResponseMetadataTypeDef

DeploymentIoTJobConfigurationTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import DeploymentIoTJobConfigurationTypeDef

def get_value() -> DeploymentIoTJobConfigurationTypeDef:
    return {
        "jobExecutionsRolloutConfig": ...,
    }
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

Usage Example
from mypy_boto3_greengrassv2.type_defs import LambdaExecutionParametersTypeDef

def get_value() -> LambdaExecutionParametersTypeDef:
    return {
        "eventSources": ...,
    }
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

Usage Example
from mypy_boto3_greengrassv2.type_defs import CreateDeploymentRequestRequestTypeDef

def get_value() -> CreateDeploymentRequestRequestTypeDef:
    return {
        "targetArn": ...,
    }
Definition
class CreateDeploymentRequestRequestTypeDef(TypedDict):
    targetArn: str,
    deploymentName: NotRequired[str],
    components: NotRequired[Mapping[str, ComponentDeploymentSpecificationTypeDef]],  # (1)
    iotJobConfiguration: NotRequired[DeploymentIoTJobConfigurationTypeDef],  # (2)
    deploymentPolicies: NotRequired[DeploymentPoliciesTypeDef],  # (3)
    tags: NotRequired[Mapping[str, str]],
    clientToken: NotRequired[str],
  1. See ComponentDeploymentSpecificationTypeDef
  2. See DeploymentIoTJobConfigurationTypeDef
  3. See DeploymentPoliciesTypeDef

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": ...,
        "tags": ...,
        "ResponseMetadata": ...,
    }
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,
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See DeploymentStatusType
  2. See ComponentDeploymentSpecificationTypeDef
  3. See DeploymentPoliciesTypeDef
  4. See DeploymentIoTJobConfigurationTypeDef
  5. See ResponseMetadataTypeDef

LambdaFunctionRecipeSourceTypeDef

Usage Example
from mypy_boto3_greengrassv2.type_defs import LambdaFunctionRecipeSourceTypeDef

def get_value() -> LambdaFunctionRecipeSourceTypeDef:
    return {
        "lambdaArn": ...,
    }
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

Usage Example
from mypy_boto3_greengrassv2.type_defs import CreateComponentVersionRequestRequestTypeDef

def get_value() -> CreateComponentVersionRequestRequestTypeDef:
    return {
        "inlineRecipe": ...,
    }
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