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": ...,
}
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": ...,
}
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": ...,
}
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": ...,
}
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],
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)
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],
DeleteComponentRequestRequestTypeDef
Usage Example
from mypy_boto3_greengrassv2.type_defs import DeleteComponentRequestRequestTypeDef
def get_value() -> DeleteComponentRequestRequestTypeDef:
return {
"arn": ...,
}
DeleteCoreDeviceRequestRequestTypeDef
Usage Example
from mypy_boto3_greengrassv2.type_defs import DeleteCoreDeviceRequestRequestTypeDef
def get_value() -> DeleteCoreDeviceRequestRequestTypeDef:
return {
"coreDeviceThingName": ...,
}
DeleteDeploymentRequestRequestTypeDef
Usage Example
from mypy_boto3_greengrassv2.type_defs import DeleteDeploymentRequestRequestTypeDef
def get_value() -> DeleteDeploymentRequestRequestTypeDef:
return {
"deploymentId": ...,
}
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)
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],
parentTargetArn: NotRequired[str],
DescribeComponentRequestRequestTypeDef
Usage Example
from mypy_boto3_greengrassv2.type_defs import DescribeComponentRequestRequestTypeDef
def get_value() -> DescribeComponentRequestRequestTypeDef:
return {
"arn": ...,
}
EffectiveDeploymentStatusDetailsTypeDef
Usage Example
from mypy_boto3_greengrassv2.type_defs import EffectiveDeploymentStatusDetailsTypeDef
def get_value() -> EffectiveDeploymentStatusDetailsTypeDef:
return {
"errorStack": ...,
}
Definition
class EffectiveDeploymentStatusDetailsTypeDef(TypedDict):
errorStack: NotRequired[List[str]],
errorTypes: NotRequired[List[str]],
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)
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": ...,
}
GetCoreDeviceRequestRequestTypeDef
Usage Example
from mypy_boto3_greengrassv2.type_defs import GetCoreDeviceRequestRequestTypeDef
def get_value() -> GetCoreDeviceRequestRequestTypeDef:
return {
"coreDeviceThingName": ...,
}
GetDeploymentRequestRequestTypeDef
Usage Example
from mypy_boto3_greengrassv2.type_defs import GetDeploymentRequestRequestTypeDef
def get_value() -> GetDeploymentRequestRequestTypeDef:
return {
"deploymentId": ...,
}
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],
lastReportedTimestamp: NotRequired[datetime],
lastInstallationSource: NotRequired[str],
lifecycleStatusCodes: NotRequired[List[str]],
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,
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],
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],
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)
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],
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],
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)
parentTargetArn: NotRequired[str],
maxResults: NotRequired[int],
nextToken: NotRequired[str],
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)
ListTagsForResourceRequestRequestTypeDef
Usage Example
from mypy_boto3_greengrassv2.type_defs import ListTagsForResourceRequestRequestTypeDef
def get_value() -> ListTagsForResourceRequestRequestTypeDef:
return {
"resourceArn": ...,
}
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],
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)
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)
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)
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)
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)
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)
EmptyResponseMetadataTypeDef
Usage Example
from mypy_boto3_greengrassv2.type_defs import EmptyResponseMetadataTypeDef
def get_value() -> EmptyResponseMetadataTypeDef:
return {
"ResponseMetadata": ...,
}
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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],
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)
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)
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)
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)
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)
- See DeploymentFailureHandlingPolicyType
- See DeploymentComponentUpdatePolicyTypeDef
- 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)
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],
statusDetails: NotRequired[EffectiveDeploymentStatusDetailsTypeDef], # (2)
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)
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)
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)
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)
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)
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)
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)
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)
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)
parentTargetArn: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
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)
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)
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)
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)
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)
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)
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],
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)
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)
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)
- See IoTJobExecutionsRolloutConfigTypeDef
- See IoTJobAbortConfigTypeDef
- 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)
- See LambdaEventSourceTypeDef
- See LambdaInputPayloadEncodingTypeType
- 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)
parentTargetArn: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
clientToken: NotRequired[str],
- See ComponentDeploymentSpecificationTypeDef
- See DeploymentIoTJobConfigurationTypeDef
- 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": ...,
"parentTargetArn": ...,
"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,
parentTargetArn: str,
tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See DeploymentStatusType
- See ComponentDeploymentSpecificationTypeDef
- See DeploymentPoliciesTypeDef
- See DeploymentIoTJobConfigurationTypeDef
- 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)
- See ComponentPlatformTypeDef
- See ComponentDependencyRequirementTypeDef
- See LambdaExecutionParametersTypeDef
CreateComponentVersionRequestRequestTypeDef
Usage Example
from mypy_boto3_greengrassv2.type_defs import CreateComponentVersionRequestRequestTypeDef
def get_value() -> CreateComponentVersionRequestRequestTypeDef:
return {
"inlineRecipe": ...,
}