Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- Waiters
- Operations
- ListComponentVersions (Paginated)
- GetDeployment
- DescribeComponent
- DeleteCoreDevice
- ListTagsForResource
- GetCoreDevice
- GetComponentVersionArtifact
- CreateDeployment
- BatchAssociateClientDeviceWithCoreDevice
- ListInstalledComponents (Paginated)
- CancelDeployment
- BatchDisassociateClientDeviceFromCoreDevice
- ListCoreDevices (Paginated)
- ResolveComponentCandidates
- ListEffectiveDeployments (Paginated)
- ListDeployments (Paginated)
- TagResource
- UntagResource
- ListComponents (Paginated)
- DeleteComponent
- CreateComponentVersion
- GetComponent
- ListClientDevicesAssociatedWithCoreDevice (Paginated)
- Types
- CloudComponentState
- ComponentDependencyType
- ComponentVisibilityScope
- CoreDeviceStatus
- DeploymentComponentUpdatePolicyAction
- DeploymentFailureHandlingPolicy
- DeploymentHistoryFilter
- DeploymentStatus
- EffectiveDeploymentExecutionStatus
- InstalledComponentLifecycleState
- IoTJobAbortAction
- IoTJobExecutionFailureType
- LambdaEventSourceType
- LambdaFilesystemPermission
- LambdaInputPayloadEncodingType
- LambdaIsolationMode
- RecipeOutputFormat
- AssociateClientDeviceWithCoreDeviceEntry
- AssociateClientDeviceWithCoreDeviceErrorEntry
- AssociatedClientDevice
- CloudComponentStatus
- Component
- ComponentCandidate
- ComponentConfigurationUpdate
- ComponentDependencyRequirement
- ComponentDeploymentSpecification
- ComponentLatestVersion
- ComponentPlatform
- ComponentRunWith
- ComponentVersionListItem
- CoreDevice
- Deployment
- DeploymentComponentUpdatePolicy
- DeploymentConfigurationValidationPolicy
- DeploymentIoTJobConfiguration
- DeploymentPolicies
- DisassociateClientDeviceFromCoreDeviceEntry
- DisassociateClientDeviceFromCoreDeviceErrorEntry
- EffectiveDeployment
- InstalledComponent
- IoTJobAbortConfig
- IoTJobAbortCriteria
- IoTJobExecutionsRolloutConfig
- IoTJobExponentialRolloutRate
- IoTJobRateIncreaseCriteria
- IoTJobTimeoutConfig
- LambdaContainerParams
- LambdaDeviceMount
- LambdaEventSource
- LambdaExecutionParameters
- LambdaFunctionRecipeSource
- LambdaLinuxProcessParams
- LambdaVolumeMount
- ResolvedComponentVersion
- SystemResourceLimits
Derived from API version 2020-11-30
of the AWS service descriptions, licensed under Apache 2.0.
IoT Greengrass brings local compute, messaging, data management, sync, and ML inference capabilities to edge devices. This enables devices to collect and analyze data closer to the source of information, react autonomously to local events, and communicate securely with each other on local networks. Local devices can also communicate securely with Amazon Web Services IoT Core and export IoT data to the Amazon Web Services Cloud. IoT Greengrass developers can use Lambda functions and components to create and deploy applications to fleets of edge devices for local operation.
IoT Greengrass Version 2 provides a new major version of the IoT Greengrass Core software, new APIs, and a new console. Use this API reference to learn how to use the IoT Greengrass V2 API operations to manage components, manage deployments, and core devices.
For more information, see What is IoT Greengrass? in the IoT Greengrass V2 Developer Guide.
Synopsis
- defaultService :: Service
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _RequestAlreadyInProgressException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- data ListComponentVersions = ListComponentVersions' (Maybe Text) (Maybe Natural) Text
- newListComponentVersions :: Text -> ListComponentVersions
- data ListComponentVersionsResponse = ListComponentVersionsResponse' (Maybe Text) (Maybe [ComponentVersionListItem]) Int
- newListComponentVersionsResponse :: Int -> ListComponentVersionsResponse
- data GetDeployment = GetDeployment' Text
- newGetDeployment :: Text -> GetDeployment
- data GetDeploymentResponse = GetDeploymentResponse' (Maybe Text) (Maybe (HashMap Text ComponentDeploymentSpecification)) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe DeploymentPolicies) (Maybe POSIX) (Maybe DeploymentIoTJobConfiguration) (Maybe DeploymentStatus) (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe (HashMap Text Text)) Int
- newGetDeploymentResponse :: Int -> GetDeploymentResponse
- data DescribeComponent = DescribeComponent' Text
- newDescribeComponent :: Text -> DescribeComponent
- data DescribeComponentResponse = DescribeComponentResponse' (Maybe [ComponentPlatform]) (Maybe CloudComponentStatus) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe (HashMap Text Text)) Int
- newDescribeComponentResponse :: Int -> DescribeComponentResponse
- data DeleteCoreDevice = DeleteCoreDevice' Text
- newDeleteCoreDevice :: Text -> DeleteCoreDevice
- data DeleteCoreDeviceResponse = DeleteCoreDeviceResponse' {
- newDeleteCoreDeviceResponse :: DeleteCoreDeviceResponse
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' (Maybe (HashMap Text Text)) Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data GetCoreDevice = GetCoreDevice' Text
- newGetCoreDevice :: Text -> GetCoreDevice
- data GetCoreDeviceResponse = GetCoreDeviceResponse' (Maybe CoreDeviceStatus) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe POSIX) Int
- newGetCoreDeviceResponse :: Int -> GetCoreDeviceResponse
- data GetComponentVersionArtifact = GetComponentVersionArtifact' Text Text
- newGetComponentVersionArtifact :: Text -> Text -> GetComponentVersionArtifact
- data GetComponentVersionArtifactResponse = GetComponentVersionArtifactResponse' Int Text
- newGetComponentVersionArtifactResponse :: Int -> Text -> GetComponentVersionArtifactResponse
- data CreateDeployment = CreateDeployment' (Maybe (HashMap Text ComponentDeploymentSpecification)) (Maybe Text) (Maybe DeploymentPolicies) (Maybe DeploymentIoTJobConfiguration) (Maybe Text) (Maybe (HashMap Text Text)) Text
- newCreateDeployment :: Text -> CreateDeployment
- data CreateDeploymentResponse = CreateDeploymentResponse' (Maybe Text) (Maybe Text) (Maybe Text) Int
- newCreateDeploymentResponse :: Int -> CreateDeploymentResponse
- data BatchAssociateClientDeviceWithCoreDevice = BatchAssociateClientDeviceWithCoreDevice' (Maybe (NonEmpty AssociateClientDeviceWithCoreDeviceEntry)) Text
- newBatchAssociateClientDeviceWithCoreDevice :: Text -> BatchAssociateClientDeviceWithCoreDevice
- data BatchAssociateClientDeviceWithCoreDeviceResponse = BatchAssociateClientDeviceWithCoreDeviceResponse' (Maybe (NonEmpty AssociateClientDeviceWithCoreDeviceErrorEntry)) Int
- newBatchAssociateClientDeviceWithCoreDeviceResponse :: Int -> BatchAssociateClientDeviceWithCoreDeviceResponse
- data ListInstalledComponents = ListInstalledComponents' (Maybe Text) (Maybe Natural) Text
- newListInstalledComponents :: Text -> ListInstalledComponents
- data ListInstalledComponentsResponse = ListInstalledComponentsResponse' (Maybe [InstalledComponent]) (Maybe Text) Int
- newListInstalledComponentsResponse :: Int -> ListInstalledComponentsResponse
- data CancelDeployment = CancelDeployment' Text
- newCancelDeployment :: Text -> CancelDeployment
- data CancelDeploymentResponse = CancelDeploymentResponse' (Maybe Text) Int
- newCancelDeploymentResponse :: Int -> CancelDeploymentResponse
- data BatchDisassociateClientDeviceFromCoreDevice = BatchDisassociateClientDeviceFromCoreDevice' (Maybe (NonEmpty DisassociateClientDeviceFromCoreDeviceEntry)) Text
- newBatchDisassociateClientDeviceFromCoreDevice :: Text -> BatchDisassociateClientDeviceFromCoreDevice
- data BatchDisassociateClientDeviceFromCoreDeviceResponse = BatchDisassociateClientDeviceFromCoreDeviceResponse' (Maybe (NonEmpty DisassociateClientDeviceFromCoreDeviceErrorEntry)) Int
- newBatchDisassociateClientDeviceFromCoreDeviceResponse :: Int -> BatchDisassociateClientDeviceFromCoreDeviceResponse
- data ListCoreDevices = ListCoreDevices' (Maybe CoreDeviceStatus) (Maybe Text) (Maybe Text) (Maybe Natural)
- newListCoreDevices :: ListCoreDevices
- data ListCoreDevicesResponse = ListCoreDevicesResponse' (Maybe Text) (Maybe [CoreDevice]) Int
- newListCoreDevicesResponse :: Int -> ListCoreDevicesResponse
- data ResolveComponentCandidates = ResolveComponentCandidates' ComponentPlatform [ComponentCandidate]
- newResolveComponentCandidates :: ComponentPlatform -> ResolveComponentCandidates
- data ResolveComponentCandidatesResponse = ResolveComponentCandidatesResponse' (Maybe [ResolvedComponentVersion]) Int
- newResolveComponentCandidatesResponse :: Int -> ResolveComponentCandidatesResponse
- data ListEffectiveDeployments = ListEffectiveDeployments' (Maybe Text) (Maybe Natural) Text
- newListEffectiveDeployments :: Text -> ListEffectiveDeployments
- data ListEffectiveDeploymentsResponse = ListEffectiveDeploymentsResponse' (Maybe Text) (Maybe [EffectiveDeployment]) Int
- newListEffectiveDeploymentsResponse :: Int -> ListEffectiveDeploymentsResponse
- data ListDeployments = ListDeployments' (Maybe Text) (Maybe Text) (Maybe DeploymentHistoryFilter) (Maybe Natural)
- newListDeployments :: ListDeployments
- data ListDeploymentsResponse = ListDeploymentsResponse' (Maybe Text) (Maybe [Deployment]) Int
- newListDeploymentsResponse :: Int -> ListDeploymentsResponse
- data TagResource = TagResource' Text (HashMap Text Text)
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' Int
- newTagResourceResponse :: Int -> TagResourceResponse
- data UntagResource = UntagResource' Text (NonEmpty Text)
- newUntagResource :: Text -> NonEmpty Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- data ListComponents = ListComponents' (Maybe Text) (Maybe ComponentVisibilityScope) (Maybe Natural)
- newListComponents :: ListComponents
- data ListComponentsResponse = ListComponentsResponse' (Maybe [Component]) (Maybe Text) Int
- newListComponentsResponse :: Int -> ListComponentsResponse
- data DeleteComponent = DeleteComponent' Text
- newDeleteComponent :: Text -> DeleteComponent
- data DeleteComponentResponse = DeleteComponentResponse' {
- newDeleteComponentResponse :: DeleteComponentResponse
- data CreateComponentVersion = CreateComponentVersion' (Maybe Text) (Maybe Base64) (Maybe LambdaFunctionRecipeSource) (Maybe (HashMap Text Text))
- newCreateComponentVersion :: CreateComponentVersion
- data CreateComponentVersionResponse = CreateComponentVersionResponse' (Maybe Text) Int Text Text POSIX CloudComponentStatus
- newCreateComponentVersionResponse :: Int -> Text -> Text -> UTCTime -> CloudComponentStatus -> CreateComponentVersionResponse
- data GetComponent = GetComponent' (Maybe RecipeOutputFormat) Text
- newGetComponent :: Text -> GetComponent
- data GetComponentResponse = GetComponentResponse' (Maybe (HashMap Text Text)) Int RecipeOutputFormat Base64
- newGetComponentResponse :: Int -> RecipeOutputFormat -> ByteString -> GetComponentResponse
- data ListClientDevicesAssociatedWithCoreDevice = ListClientDevicesAssociatedWithCoreDevice' (Maybe Text) (Maybe Natural) Text
- newListClientDevicesAssociatedWithCoreDevice :: Text -> ListClientDevicesAssociatedWithCoreDevice
- data ListClientDevicesAssociatedWithCoreDeviceResponse = ListClientDevicesAssociatedWithCoreDeviceResponse' (Maybe (NonEmpty AssociatedClientDevice)) (Maybe Text) Int
- newListClientDevicesAssociatedWithCoreDeviceResponse :: Int -> ListClientDevicesAssociatedWithCoreDeviceResponse
- newtype CloudComponentState where
- CloudComponentState' { }
- pattern CloudComponentState_DEPLOYABLE :: CloudComponentState
- pattern CloudComponentState_DEPRECATED :: CloudComponentState
- pattern CloudComponentState_FAILED :: CloudComponentState
- pattern CloudComponentState_INITIATED :: CloudComponentState
- pattern CloudComponentState_REQUESTED :: CloudComponentState
- newtype ComponentDependencyType where
- newtype ComponentVisibilityScope where
- newtype CoreDeviceStatus where
- CoreDeviceStatus' { }
- pattern CoreDeviceStatus_HEALTHY :: CoreDeviceStatus
- pattern CoreDeviceStatus_UNHEALTHY :: CoreDeviceStatus
- newtype DeploymentComponentUpdatePolicyAction where
- newtype DeploymentFailureHandlingPolicy where
- newtype DeploymentHistoryFilter where
- newtype DeploymentStatus where
- DeploymentStatus' { }
- pattern DeploymentStatus_ACTIVE :: DeploymentStatus
- pattern DeploymentStatus_CANCELED :: DeploymentStatus
- pattern DeploymentStatus_COMPLETED :: DeploymentStatus
- pattern DeploymentStatus_FAILED :: DeploymentStatus
- pattern DeploymentStatus_INACTIVE :: DeploymentStatus
- newtype EffectiveDeploymentExecutionStatus where
- EffectiveDeploymentExecutionStatus' { }
- pattern EffectiveDeploymentExecutionStatus_CANCELED :: EffectiveDeploymentExecutionStatus
- pattern EffectiveDeploymentExecutionStatus_COMPLETED :: EffectiveDeploymentExecutionStatus
- pattern EffectiveDeploymentExecutionStatus_FAILED :: EffectiveDeploymentExecutionStatus
- pattern EffectiveDeploymentExecutionStatus_IN_PROGRESS :: EffectiveDeploymentExecutionStatus
- pattern EffectiveDeploymentExecutionStatus_QUEUED :: EffectiveDeploymentExecutionStatus
- pattern EffectiveDeploymentExecutionStatus_REJECTED :: EffectiveDeploymentExecutionStatus
- pattern EffectiveDeploymentExecutionStatus_TIMED_OUT :: EffectiveDeploymentExecutionStatus
- newtype InstalledComponentLifecycleState where
- InstalledComponentLifecycleState' { }
- pattern InstalledComponentLifecycleState_BROKEN :: InstalledComponentLifecycleState
- pattern InstalledComponentLifecycleState_ERRORED :: InstalledComponentLifecycleState
- pattern InstalledComponentLifecycleState_FINISHED :: InstalledComponentLifecycleState
- pattern InstalledComponentLifecycleState_INSTALLED :: InstalledComponentLifecycleState
- pattern InstalledComponentLifecycleState_NEW :: InstalledComponentLifecycleState
- pattern InstalledComponentLifecycleState_RUNNING :: InstalledComponentLifecycleState
- pattern InstalledComponentLifecycleState_STARTING :: InstalledComponentLifecycleState
- pattern InstalledComponentLifecycleState_STOPPING :: InstalledComponentLifecycleState
- newtype IoTJobAbortAction where
- IoTJobAbortAction' { }
- pattern IoTJobAbortAction_CANCEL :: IoTJobAbortAction
- newtype IoTJobExecutionFailureType where
- IoTJobExecutionFailureType' { }
- pattern IoTJobExecutionFailureType_ALL :: IoTJobExecutionFailureType
- pattern IoTJobExecutionFailureType_FAILED :: IoTJobExecutionFailureType
- pattern IoTJobExecutionFailureType_REJECTED :: IoTJobExecutionFailureType
- pattern IoTJobExecutionFailureType_TIMED_OUT :: IoTJobExecutionFailureType
- newtype LambdaEventSourceType where
- newtype LambdaFilesystemPermission where
- newtype LambdaInputPayloadEncodingType where
- newtype LambdaIsolationMode where
- newtype RecipeOutputFormat where
- RecipeOutputFormat' { }
- pattern RecipeOutputFormat_JSON :: RecipeOutputFormat
- pattern RecipeOutputFormat_YAML :: RecipeOutputFormat
- data AssociateClientDeviceWithCoreDeviceEntry = AssociateClientDeviceWithCoreDeviceEntry' Text
- newAssociateClientDeviceWithCoreDeviceEntry :: Text -> AssociateClientDeviceWithCoreDeviceEntry
- data AssociateClientDeviceWithCoreDeviceErrorEntry = AssociateClientDeviceWithCoreDeviceErrorEntry' (Maybe Text) (Maybe Text) (Maybe Text)
- newAssociateClientDeviceWithCoreDeviceErrorEntry :: AssociateClientDeviceWithCoreDeviceErrorEntry
- data AssociatedClientDevice = AssociatedClientDevice' (Maybe POSIX) (Maybe Text)
- newAssociatedClientDevice :: AssociatedClientDevice
- data CloudComponentStatus = CloudComponentStatus' (Maybe CloudComponentState) (Maybe Text) (Maybe (HashMap Text Text))
- newCloudComponentStatus :: CloudComponentStatus
- data Component = Component' (Maybe Text) (Maybe Text) (Maybe ComponentLatestVersion)
- newComponent :: Component
- data ComponentCandidate = ComponentCandidate' (Maybe Text) (Maybe (HashMap Text Text)) (Maybe Text)
- newComponentCandidate :: ComponentCandidate
- data ComponentConfigurationUpdate = ComponentConfigurationUpdate' (Maybe [Text]) (Maybe Text)
- newComponentConfigurationUpdate :: ComponentConfigurationUpdate
- data ComponentDependencyRequirement = ComponentDependencyRequirement' (Maybe ComponentDependencyType) (Maybe Text)
- newComponentDependencyRequirement :: ComponentDependencyRequirement
- data ComponentDeploymentSpecification = ComponentDeploymentSpecification' (Maybe Text) (Maybe ComponentRunWith) (Maybe ComponentConfigurationUpdate)
- newComponentDeploymentSpecification :: ComponentDeploymentSpecification
- data ComponentLatestVersion = ComponentLatestVersion' (Maybe [ComponentPlatform]) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe Text)
- newComponentLatestVersion :: ComponentLatestVersion
- data ComponentPlatform = ComponentPlatform' (Maybe Text) (Maybe (HashMap Text Text))
- newComponentPlatform :: ComponentPlatform
- data ComponentRunWith = ComponentRunWith' (Maybe Text) (Maybe SystemResourceLimits)
- newComponentRunWith :: ComponentRunWith
- data ComponentVersionListItem = ComponentVersionListItem' (Maybe Text) (Maybe Text) (Maybe Text)
- newComponentVersionListItem :: ComponentVersionListItem
- data CoreDevice = CoreDevice' (Maybe CoreDeviceStatus) (Maybe Text) (Maybe POSIX)
- newCoreDevice :: CoreDevice
- data Deployment = Deployment' (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe DeploymentStatus) (Maybe Bool) (Maybe Text) (Maybe Text)
- newDeployment :: Deployment
- data DeploymentComponentUpdatePolicy = DeploymentComponentUpdatePolicy' (Maybe DeploymentComponentUpdatePolicyAction) (Maybe Int)
- newDeploymentComponentUpdatePolicy :: DeploymentComponentUpdatePolicy
- data DeploymentConfigurationValidationPolicy = DeploymentConfigurationValidationPolicy' (Maybe Int)
- newDeploymentConfigurationValidationPolicy :: DeploymentConfigurationValidationPolicy
- data DeploymentIoTJobConfiguration = DeploymentIoTJobConfiguration' (Maybe IoTJobExecutionsRolloutConfig) (Maybe IoTJobAbortConfig) (Maybe IoTJobTimeoutConfig)
- newDeploymentIoTJobConfiguration :: DeploymentIoTJobConfiguration
- data DeploymentPolicies = DeploymentPolicies' (Maybe DeploymentFailureHandlingPolicy) (Maybe DeploymentConfigurationValidationPolicy) (Maybe DeploymentComponentUpdatePolicy)
- newDeploymentPolicies :: DeploymentPolicies
- data DisassociateClientDeviceFromCoreDeviceEntry = DisassociateClientDeviceFromCoreDeviceEntry' Text
- newDisassociateClientDeviceFromCoreDeviceEntry :: Text -> DisassociateClientDeviceFromCoreDeviceEntry
- data DisassociateClientDeviceFromCoreDeviceErrorEntry = DisassociateClientDeviceFromCoreDeviceErrorEntry' (Maybe Text) (Maybe Text) (Maybe Text)
- newDisassociateClientDeviceFromCoreDeviceErrorEntry :: DisassociateClientDeviceFromCoreDeviceErrorEntry
- data EffectiveDeployment = EffectiveDeployment' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text Text EffectiveDeploymentExecutionStatus POSIX POSIX
- newEffectiveDeployment :: Text -> Text -> Text -> EffectiveDeploymentExecutionStatus -> UTCTime -> UTCTime -> EffectiveDeployment
- data InstalledComponent = InstalledComponent' (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe InstalledComponentLifecycleState)
- newInstalledComponent :: InstalledComponent
- data IoTJobAbortConfig = IoTJobAbortConfig' (NonEmpty IoTJobAbortCriteria)
- newIoTJobAbortConfig :: NonEmpty IoTJobAbortCriteria -> IoTJobAbortConfig
- data IoTJobAbortCriteria = IoTJobAbortCriteria' IoTJobExecutionFailureType IoTJobAbortAction Double Natural
- newIoTJobAbortCriteria :: IoTJobExecutionFailureType -> IoTJobAbortAction -> Double -> Natural -> IoTJobAbortCriteria
- data IoTJobExecutionsRolloutConfig = IoTJobExecutionsRolloutConfig' (Maybe IoTJobExponentialRolloutRate) (Maybe Natural)
- newIoTJobExecutionsRolloutConfig :: IoTJobExecutionsRolloutConfig
- data IoTJobExponentialRolloutRate = IoTJobExponentialRolloutRate' Natural Double IoTJobRateIncreaseCriteria
- newIoTJobExponentialRolloutRate :: Natural -> Double -> IoTJobRateIncreaseCriteria -> IoTJobExponentialRolloutRate
- data IoTJobRateIncreaseCriteria = IoTJobRateIncreaseCriteria' (Maybe Natural) (Maybe Natural)
- newIoTJobRateIncreaseCriteria :: IoTJobRateIncreaseCriteria
- data IoTJobTimeoutConfig = IoTJobTimeoutConfig' (Maybe Integer)
- newIoTJobTimeoutConfig :: IoTJobTimeoutConfig
- data LambdaContainerParams = LambdaContainerParams' (Maybe Bool) (Maybe Int) (Maybe [LambdaDeviceMount]) (Maybe [LambdaVolumeMount])
- newLambdaContainerParams :: LambdaContainerParams
- data LambdaDeviceMount = LambdaDeviceMount' (Maybe Bool) (Maybe LambdaFilesystemPermission) Text
- newLambdaDeviceMount :: Text -> LambdaDeviceMount
- data LambdaEventSource = LambdaEventSource' Text LambdaEventSourceType
- newLambdaEventSource :: Text -> LambdaEventSourceType -> LambdaEventSource
- data LambdaExecutionParameters = LambdaExecutionParameters' (Maybe [Text]) (Maybe Int) (Maybe Bool) (Maybe LambdaInputPayloadEncodingType) (Maybe Int) (Maybe Int) (Maybe [LambdaEventSource]) (Maybe Int) (Maybe (HashMap Text Text)) (Maybe Int) (Maybe LambdaLinuxProcessParams)
- newLambdaExecutionParameters :: LambdaExecutionParameters
- data LambdaFunctionRecipeSource = LambdaFunctionRecipeSource' (Maybe LambdaExecutionParameters) (Maybe Text) (Maybe Text) (Maybe [ComponentPlatform]) (Maybe (HashMap Text ComponentDependencyRequirement)) Text
- newLambdaFunctionRecipeSource :: Text -> LambdaFunctionRecipeSource
- data LambdaLinuxProcessParams = LambdaLinuxProcessParams' (Maybe LambdaContainerParams) (Maybe LambdaIsolationMode)
- newLambdaLinuxProcessParams :: LambdaLinuxProcessParams
- data LambdaVolumeMount = LambdaVolumeMount' (Maybe Bool) (Maybe LambdaFilesystemPermission) Text Text
- newLambdaVolumeMount :: Text -> Text -> LambdaVolumeMount
- data ResolvedComponentVersion = ResolvedComponentVersion' (Maybe Text) (Maybe Text) (Maybe Base64) (Maybe Text)
- newResolvedComponentVersion :: ResolvedComponentVersion
- data SystemResourceLimits = SystemResourceLimits' (Maybe Natural) (Maybe Double)
- newSystemResourceLimits :: SystemResourceLimits
Service Configuration
defaultService :: Service Source #
API version 2020-11-30
of the Amazon IoT Greengrass V2 SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by GreengrassV2
.
ValidationException
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.
AccessDeniedException
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You don't have permission to perform the action.
ConflictException
_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.
ServiceQuotaExceededException
_ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request exceeds a service quota. For example, you might have the maximum number of components that you can create.
ThrottlingException
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request exceeded a request rate quota. For example, you might have exceeded the amount of times that you can retrieve device or deployment status per second.
RequestAlreadyInProgressException
_RequestAlreadyInProgressException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request is already in progress. This exception occurs when you use a client token for multiple requests while IoT Greengrass is still processing an earlier request that uses the same client token.
InternalServerException
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
IoT Greengrass can't process your request right now. Try again later.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The requested resource can't be found.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
ListComponentVersions (Paginated)
data ListComponentVersions Source #
See: newListComponentVersions
smart constructor.
Instances
newListComponentVersions Source #
Create a value of ListComponentVersions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListComponentVersions'
, listComponentVersions_nextToken
- The token to be used for the next set of paginated results.
$sel:maxResults:ListComponentVersions'
, listComponentVersions_maxResults
- The maximum number of results to be returned per paginated request.
$sel:arn:ListComponentVersions'
, listComponentVersions_arn
- The
ARN
of the component version.
data ListComponentVersionsResponse Source #
See: newListComponentVersionsResponse
smart constructor.
Instances
newListComponentVersionsResponse Source #
Create a value of ListComponentVersionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListComponentVersions'
, listComponentVersionsResponse_nextToken
- The token for the next set of results, or null if there are no
additional results.
$sel:componentVersions:ListComponentVersionsResponse'
, listComponentVersionsResponse_componentVersions
- A list of versions that exist for the component.
$sel:httpStatus:ListComponentVersionsResponse'
, listComponentVersionsResponse_httpStatus
- The response's http status code.
GetDeployment
data GetDeployment Source #
See: newGetDeployment
smart constructor.
Instances
Create a value of GetDeployment
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:deploymentId:GetDeployment'
, getDeployment_deploymentId
- The ID of the deployment.
data GetDeploymentResponse Source #
See: newGetDeploymentResponse
smart constructor.
GetDeploymentResponse' (Maybe Text) (Maybe (HashMap Text ComponentDeploymentSpecification)) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe DeploymentPolicies) (Maybe POSIX) (Maybe DeploymentIoTJobConfiguration) (Maybe DeploymentStatus) (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe (HashMap Text Text)) Int |
Instances
newGetDeploymentResponse Source #
Create a value of GetDeploymentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:targetArn:GetDeploymentResponse'
, getDeploymentResponse_targetArn
- The
ARN
of the target IoT thing or thing group.
$sel:components:GetDeploymentResponse'
, getDeploymentResponse_components
- The components to deploy. This is a dictionary, where each key is the
name of a component, and each key's value is the version and
configuration to deploy for that component.
$sel:deploymentId:GetDeployment'
, getDeploymentResponse_deploymentId
- The ID of the deployment.
$sel:iotJobId:GetDeploymentResponse'
, getDeploymentResponse_iotJobId
- The ID of the IoT job that applies the deployment to target devices.
$sel:iotJobArn:GetDeploymentResponse'
, getDeploymentResponse_iotJobArn
- The
ARN
of the IoT job that applies the deployment to target devices.
$sel:deploymentPolicies:GetDeploymentResponse'
, getDeploymentResponse_deploymentPolicies
- The deployment policies for the deployment. These policies define how
the deployment updates components and handles failure.
$sel:creationTimestamp:GetDeploymentResponse'
, getDeploymentResponse_creationTimestamp
- The time at which the deployment was created, expressed in ISO 8601
format.
$sel:iotJobConfiguration:GetDeploymentResponse'
, getDeploymentResponse_iotJobConfiguration
- The job configuration for the deployment configuration. The job
configuration specifies the rollout, timeout, and stop configurations
for the deployment configuration.
$sel:deploymentStatus:GetDeploymentResponse'
, getDeploymentResponse_deploymentStatus
- The status of the deployment.
$sel:isLatestForTarget:GetDeploymentResponse'
, getDeploymentResponse_isLatestForTarget
- Whether or not the deployment is the latest revision for its target.
$sel:revisionId:GetDeploymentResponse'
, getDeploymentResponse_revisionId
- The revision number of the deployment.
$sel:deploymentName:GetDeploymentResponse'
, getDeploymentResponse_deploymentName
- The name of the deployment.
$sel:tags:GetDeploymentResponse'
, getDeploymentResponse_tags
- A list of key-value pairs that contain metadata for the resource. For
more information, see
Tag your resources
in the IoT Greengrass V2 Developer Guide.
$sel:httpStatus:GetDeploymentResponse'
, getDeploymentResponse_httpStatus
- The response's http status code.
DescribeComponent
data DescribeComponent Source #
See: newDescribeComponent
smart constructor.
Instances
Create a value of DescribeComponent
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:DescribeComponent'
, describeComponent_arn
- The
ARN
of the component version.
data DescribeComponentResponse Source #
See: newDescribeComponentResponse
smart constructor.
DescribeComponentResponse' (Maybe [ComponentPlatform]) (Maybe CloudComponentStatus) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe (HashMap Text Text)) Int |
Instances
newDescribeComponentResponse Source #
Create a value of DescribeComponentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:platforms:DescribeComponentResponse'
, describeComponentResponse_platforms
- The platforms that the component version supports.
$sel:status:DescribeComponentResponse'
, describeComponentResponse_status
- The status of the component version in IoT Greengrass V2. This status is
different from the status of the component on a core device.
$sel:arn:DescribeComponent'
, describeComponentResponse_arn
- The
ARN
of the component version.
$sel:componentVersion:DescribeComponentResponse'
, describeComponentResponse_componentVersion
- The version of the component.
$sel:creationTimestamp:DescribeComponentResponse'
, describeComponentResponse_creationTimestamp
- The time at which the component was created, expressed in ISO 8601
format.
$sel:componentName:DescribeComponentResponse'
, describeComponentResponse_componentName
- The name of the component.
$sel:publisher:DescribeComponentResponse'
, describeComponentResponse_publisher
- The publisher of the component version.
$sel:description:DescribeComponentResponse'
, describeComponentResponse_description
- The description of the component version.
$sel:tags:DescribeComponentResponse'
, describeComponentResponse_tags
- A list of key-value pairs that contain metadata for the resource. For
more information, see
Tag your resources
in the IoT Greengrass V2 Developer Guide.
$sel:httpStatus:DescribeComponentResponse'
, describeComponentResponse_httpStatus
- The response's http status code.
DeleteCoreDevice
data DeleteCoreDevice Source #
See: newDeleteCoreDevice
smart constructor.
Instances
Create a value of DeleteCoreDevice
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:coreDeviceThingName:DeleteCoreDevice'
, deleteCoreDevice_coreDeviceThingName
- The name of the core device. This is also the name of the IoT thing.
data DeleteCoreDeviceResponse Source #
See: newDeleteCoreDeviceResponse
smart constructor.
Instances
Eq DeleteCoreDeviceResponse Source # | |
Defined in Amazonka.GreengrassV2.DeleteCoreDevice | |
Read DeleteCoreDeviceResponse Source # | |
Show DeleteCoreDeviceResponse Source # | |
Defined in Amazonka.GreengrassV2.DeleteCoreDevice showsPrec :: Int -> DeleteCoreDeviceResponse -> ShowS # show :: DeleteCoreDeviceResponse -> String # showList :: [DeleteCoreDeviceResponse] -> ShowS # | |
Generic DeleteCoreDeviceResponse Source # | |
Defined in Amazonka.GreengrassV2.DeleteCoreDevice type Rep DeleteCoreDeviceResponse :: Type -> Type # | |
NFData DeleteCoreDeviceResponse Source # | |
Defined in Amazonka.GreengrassV2.DeleteCoreDevice rnf :: DeleteCoreDeviceResponse -> () # | |
type Rep DeleteCoreDeviceResponse Source # | |
Defined in Amazonka.GreengrassV2.DeleteCoreDevice |
newDeleteCoreDeviceResponse :: DeleteCoreDeviceResponse Source #
Create a value of DeleteCoreDeviceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
ListTagsForResource
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
Instances
newListTagsForResource Source #
Create a value of ListTagsForResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:ListTagsForResource'
, listTagsForResource_resourceArn
- The
ARN
of the resource.
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse
smart constructor.
Instances
newListTagsForResourceResponse Source #
Create a value of ListTagsForResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tags:ListTagsForResourceResponse'
, listTagsForResourceResponse_tags
- A list of key-value pairs that contain metadata for the resource. For
more information, see
Tag your resources
in the IoT Greengrass V2 Developer Guide.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
GetCoreDevice
data GetCoreDevice Source #
See: newGetCoreDevice
smart constructor.
Instances
Create a value of GetCoreDevice
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:coreDeviceThingName:GetCoreDevice'
, getCoreDevice_coreDeviceThingName
- The name of the core device. This is also the name of the IoT thing.
data GetCoreDeviceResponse Source #
See: newGetCoreDeviceResponse
smart constructor.
GetCoreDeviceResponse' (Maybe CoreDeviceStatus) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe POSIX) Int |
Instances
newGetCoreDeviceResponse Source #
Create a value of GetCoreDeviceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:GetCoreDeviceResponse'
, getCoreDeviceResponse_status
- The status of the core device. The core device status can be:
HEALTHY
– The IoT Greengrass Core software and all components run on the core device without issue.UNHEALTHY
– The IoT Greengrass Core software or a component is in a failed state on the core device.
$sel:platform:GetCoreDeviceResponse'
, getCoreDeviceResponse_platform
- The operating system platform that the core device runs.
$sel:architecture:GetCoreDeviceResponse'
, getCoreDeviceResponse_architecture
- The computer architecture of the core device.
$sel:coreDeviceThingName:GetCoreDevice'
, getCoreDeviceResponse_coreDeviceThingName
- The name of the core device. This is also the name of the IoT thing.
$sel:tags:GetCoreDeviceResponse'
, getCoreDeviceResponse_tags
- A list of key-value pairs that contain metadata for the resource. For
more information, see
Tag your resources
in the IoT Greengrass V2 Developer Guide.
$sel:coreVersion:GetCoreDeviceResponse'
, getCoreDeviceResponse_coreVersion
- The version of the IoT Greengrass Core software that the core device
runs. This version is equivalent to the version of the Greengrass
nucleus component that runs on the core device. For more information,
see the
Greengrass nucleus component
in the IoT Greengrass V2 Developer Guide.
$sel:lastStatusUpdateTimestamp:GetCoreDeviceResponse'
, getCoreDeviceResponse_lastStatusUpdateTimestamp
- The time at which the core device's status last updated, expressed in
ISO 8601 format.
$sel:httpStatus:GetCoreDeviceResponse'
, getCoreDeviceResponse_httpStatus
- The response's http status code.
GetComponentVersionArtifact
data GetComponentVersionArtifact Source #
See: newGetComponentVersionArtifact
smart constructor.
Instances
newGetComponentVersionArtifact Source #
:: Text | |
-> Text | |
-> GetComponentVersionArtifact |
Create a value of GetComponentVersionArtifact
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:GetComponentVersionArtifact'
, getComponentVersionArtifact_arn
- The
ARN
of the component version. Specify the ARN of a public component version.
$sel:artifactName:GetComponentVersionArtifact'
, getComponentVersionArtifact_artifactName
- The name of the artifact.
You can use the
GetComponent
operation to download the component recipe, which includes the URI of
the artifact. The artifact name is the section of the URI after the
scheme. For example, in the artifact URI greengrass:SomeArtifact.zip
,
the artifact name is SomeArtifact.zip
.
data GetComponentVersionArtifactResponse Source #
See: newGetComponentVersionArtifactResponse
smart constructor.
Instances
newGetComponentVersionArtifactResponse Source #
Create a value of GetComponentVersionArtifactResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:GetComponentVersionArtifactResponse'
, getComponentVersionArtifactResponse_httpStatus
- The response's http status code.
$sel:preSignedUrl:GetComponentVersionArtifactResponse'
, getComponentVersionArtifactResponse_preSignedUrl
- The URL of the artifact.
CreateDeployment
data CreateDeployment Source #
See: newCreateDeployment
smart constructor.
CreateDeployment' (Maybe (HashMap Text ComponentDeploymentSpecification)) (Maybe Text) (Maybe DeploymentPolicies) (Maybe DeploymentIoTJobConfiguration) (Maybe Text) (Maybe (HashMap Text Text)) Text |
Instances
Create a value of CreateDeployment
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:components:CreateDeployment'
, createDeployment_components
- The components to deploy. This is a dictionary, where each key is the
name of a component, and each key's value is the version and
configuration to deploy for that component.
$sel:clientToken:CreateDeployment'
, createDeployment_clientToken
- A unique, case-sensitive identifier that you can provide to ensure that
the request is idempotent. Idempotency means that the request is
successfully processed only once, even if you send the request multiple
times. When a request succeeds, and you specify the same client token
for subsequent successful requests, the IoT Greengrass V2 service
returns the successful response that it caches from the previous
request. IoT Greengrass V2 caches successful responses for idempotent
requests for up to 8 hours.
$sel:deploymentPolicies:CreateDeployment'
, createDeployment_deploymentPolicies
- The deployment policies for the deployment. These policies define how
the deployment updates components and handles failure.
$sel:iotJobConfiguration:CreateDeployment'
, createDeployment_iotJobConfiguration
- The job configuration for the deployment configuration. The job
configuration specifies the rollout, timeout, and stop configurations
for the deployment configuration.
$sel:deploymentName:CreateDeployment'
, createDeployment_deploymentName
- The name of the deployment.
$sel:tags:CreateDeployment'
, createDeployment_tags
- A list of key-value pairs that contain metadata for the resource. For
more information, see
Tag your resources
in the IoT Greengrass V2 Developer Guide.
$sel:targetArn:CreateDeployment'
, createDeployment_targetArn
- The
ARN
of the target IoT thing or thing group.
data CreateDeploymentResponse Source #
See: newCreateDeploymentResponse
smart constructor.
Instances
newCreateDeploymentResponse Source #
Create a value of CreateDeploymentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:deploymentId:CreateDeploymentResponse'
, createDeploymentResponse_deploymentId
- The ID of the deployment.
$sel:iotJobId:CreateDeploymentResponse'
, createDeploymentResponse_iotJobId
- The ID of the IoT job that applies the deployment to target devices.
$sel:iotJobArn:CreateDeploymentResponse'
, createDeploymentResponse_iotJobArn
- The
ARN
of the IoT job that applies the deployment to target devices.
$sel:httpStatus:CreateDeploymentResponse'
, createDeploymentResponse_httpStatus
- The response's http status code.
BatchAssociateClientDeviceWithCoreDevice
data BatchAssociateClientDeviceWithCoreDevice Source #
See: newBatchAssociateClientDeviceWithCoreDevice
smart constructor.
BatchAssociateClientDeviceWithCoreDevice' (Maybe (NonEmpty AssociateClientDeviceWithCoreDeviceEntry)) Text |
Instances
newBatchAssociateClientDeviceWithCoreDevice Source #
:: Text |
|
-> BatchAssociateClientDeviceWithCoreDevice |
Create a value of BatchAssociateClientDeviceWithCoreDevice
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:entries:BatchAssociateClientDeviceWithCoreDevice'
, batchAssociateClientDeviceWithCoreDevice_entries
- The list of client devices to associate.
$sel:coreDeviceThingName:BatchAssociateClientDeviceWithCoreDevice'
, batchAssociateClientDeviceWithCoreDevice_coreDeviceThingName
- The name of the core device. This is also the name of the IoT thing.
data BatchAssociateClientDeviceWithCoreDeviceResponse Source #
See: newBatchAssociateClientDeviceWithCoreDeviceResponse
smart constructor.
BatchAssociateClientDeviceWithCoreDeviceResponse' (Maybe (NonEmpty AssociateClientDeviceWithCoreDeviceErrorEntry)) Int |
Instances
newBatchAssociateClientDeviceWithCoreDeviceResponse Source #
:: Int |
|
-> BatchAssociateClientDeviceWithCoreDeviceResponse |
Create a value of BatchAssociateClientDeviceWithCoreDeviceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:errorEntries:BatchAssociateClientDeviceWithCoreDeviceResponse'
, batchAssociateClientDeviceWithCoreDeviceResponse_errorEntries
- The list of any errors for the entries in the request. Each error entry
contains the name of the IoT thing that failed to associate.
$sel:httpStatus:BatchAssociateClientDeviceWithCoreDeviceResponse'
, batchAssociateClientDeviceWithCoreDeviceResponse_httpStatus
- The response's http status code.
ListInstalledComponents (Paginated)
data ListInstalledComponents Source #
See: newListInstalledComponents
smart constructor.
Instances
newListInstalledComponents Source #
Create a value of ListInstalledComponents
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListInstalledComponents'
, listInstalledComponents_nextToken
- The token to be used for the next set of paginated results.
$sel:maxResults:ListInstalledComponents'
, listInstalledComponents_maxResults
- The maximum number of results to be returned per paginated request.
$sel:coreDeviceThingName:ListInstalledComponents'
, listInstalledComponents_coreDeviceThingName
- The name of the core device. This is also the name of the IoT thing.
data ListInstalledComponentsResponse Source #
See: newListInstalledComponentsResponse
smart constructor.
Instances
newListInstalledComponentsResponse Source #
Create a value of ListInstalledComponentsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:installedComponents:ListInstalledComponentsResponse'
, listInstalledComponentsResponse_installedComponents
- A list that summarizes each component on the core device.
$sel:nextToken:ListInstalledComponents'
, listInstalledComponentsResponse_nextToken
- The token for the next set of results, or null if there are no
additional results.
$sel:httpStatus:ListInstalledComponentsResponse'
, listInstalledComponentsResponse_httpStatus
- The response's http status code.
CancelDeployment
data CancelDeployment Source #
See: newCancelDeployment
smart constructor.
Instances
Create a value of CancelDeployment
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:deploymentId:CancelDeployment'
, cancelDeployment_deploymentId
- The ID of the deployment.
data CancelDeploymentResponse Source #
See: newCancelDeploymentResponse
smart constructor.
Instances
newCancelDeploymentResponse Source #
Create a value of CancelDeploymentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:message:CancelDeploymentResponse'
, cancelDeploymentResponse_message
- A message that communicates if the cancel was successful.
$sel:httpStatus:CancelDeploymentResponse'
, cancelDeploymentResponse_httpStatus
- The response's http status code.
BatchDisassociateClientDeviceFromCoreDevice
data BatchDisassociateClientDeviceFromCoreDevice Source #
See: newBatchDisassociateClientDeviceFromCoreDevice
smart constructor.
BatchDisassociateClientDeviceFromCoreDevice' (Maybe (NonEmpty DisassociateClientDeviceFromCoreDeviceEntry)) Text |
Instances
newBatchDisassociateClientDeviceFromCoreDevice Source #
:: Text |
|
-> BatchDisassociateClientDeviceFromCoreDevice |
Create a value of BatchDisassociateClientDeviceFromCoreDevice
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:entries:BatchDisassociateClientDeviceFromCoreDevice'
, batchDisassociateClientDeviceFromCoreDevice_entries
- The list of client devices to disassociate.
$sel:coreDeviceThingName:BatchDisassociateClientDeviceFromCoreDevice'
, batchDisassociateClientDeviceFromCoreDevice_coreDeviceThingName
- The name of the core device. This is also the name of the IoT thing.
data BatchDisassociateClientDeviceFromCoreDeviceResponse Source #
See: newBatchDisassociateClientDeviceFromCoreDeviceResponse
smart constructor.
BatchDisassociateClientDeviceFromCoreDeviceResponse' (Maybe (NonEmpty DisassociateClientDeviceFromCoreDeviceErrorEntry)) Int |
Instances
newBatchDisassociateClientDeviceFromCoreDeviceResponse Source #
:: Int |
|
-> BatchDisassociateClientDeviceFromCoreDeviceResponse |
Create a value of BatchDisassociateClientDeviceFromCoreDeviceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:errorEntries:BatchDisassociateClientDeviceFromCoreDeviceResponse'
, batchDisassociateClientDeviceFromCoreDeviceResponse_errorEntries
- The list of errors (if any) for the entries in the request. Each error
entry contains the name of the IoT thing that failed to disassociate.
$sel:httpStatus:BatchDisassociateClientDeviceFromCoreDeviceResponse'
, batchDisassociateClientDeviceFromCoreDeviceResponse_httpStatus
- The response's http status code.
ListCoreDevices (Paginated)
data ListCoreDevices Source #
See: newListCoreDevices
smart constructor.
Instances
newListCoreDevices :: ListCoreDevices Source #
Create a value of ListCoreDevices
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:ListCoreDevices'
, listCoreDevices_status
- The core device status by which to filter. If you specify this
parameter, the list includes only core devices that have this status.
Choose one of the following options:
HEALTHY
– The IoT Greengrass Core software and all components run on the core device without issue.UNHEALTHY
– The IoT Greengrass Core software or a component is in a failed state on the core device.
$sel:thingGroupArn:ListCoreDevices'
, listCoreDevices_thingGroupArn
- The
ARN
of the IoT thing group by which to filter. If you specify this
parameter, the list includes only core devices that are members of this
thing group.
$sel:nextToken:ListCoreDevices'
, listCoreDevices_nextToken
- The token to be used for the next set of paginated results.
$sel:maxResults:ListCoreDevices'
, listCoreDevices_maxResults
- The maximum number of results to be returned per paginated request.
data ListCoreDevicesResponse Source #
See: newListCoreDevicesResponse
smart constructor.
Instances
newListCoreDevicesResponse Source #
Create a value of ListCoreDevicesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListCoreDevices'
, listCoreDevicesResponse_nextToken
- The token for the next set of results, or null if there are no
additional results.
$sel:coreDevices:ListCoreDevicesResponse'
, listCoreDevicesResponse_coreDevices
- A list that summarizes each core device.
$sel:httpStatus:ListCoreDevicesResponse'
, listCoreDevicesResponse_httpStatus
- The response's http status code.
ResolveComponentCandidates
data ResolveComponentCandidates Source #
See: newResolveComponentCandidates
smart constructor.
Instances
newResolveComponentCandidates Source #
Create a value of ResolveComponentCandidates
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:platform:ResolveComponentCandidates'
, resolveComponentCandidates_platform
- The platform to use to resolve compatible components.
$sel:componentCandidates:ResolveComponentCandidates'
, resolveComponentCandidates_componentCandidates
- The list of components to resolve.
data ResolveComponentCandidatesResponse Source #
See: newResolveComponentCandidatesResponse
smart constructor.
Instances
newResolveComponentCandidatesResponse Source #
Create a value of ResolveComponentCandidatesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resolvedComponentVersions:ResolveComponentCandidatesResponse'
, resolveComponentCandidatesResponse_resolvedComponentVersions
- A list of components that meet the requirements that you specify in the
request. This list includes each component's recipe that you can use to
install the component.
$sel:httpStatus:ResolveComponentCandidatesResponse'
, resolveComponentCandidatesResponse_httpStatus
- The response's http status code.
ListEffectiveDeployments (Paginated)
data ListEffectiveDeployments Source #
See: newListEffectiveDeployments
smart constructor.
Instances
newListEffectiveDeployments Source #
Create a value of ListEffectiveDeployments
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListEffectiveDeployments'
, listEffectiveDeployments_nextToken
- The token to be used for the next set of paginated results.
$sel:maxResults:ListEffectiveDeployments'
, listEffectiveDeployments_maxResults
- The maximum number of results to be returned per paginated request.
$sel:coreDeviceThingName:ListEffectiveDeployments'
, listEffectiveDeployments_coreDeviceThingName
- The name of the core device. This is also the name of the IoT thing.
data ListEffectiveDeploymentsResponse Source #
See: newListEffectiveDeploymentsResponse
smart constructor.
Instances
newListEffectiveDeploymentsResponse Source #
Create a value of ListEffectiveDeploymentsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListEffectiveDeployments'
, listEffectiveDeploymentsResponse_nextToken
- The token for the next set of results, or null if there are no
additional results.
$sel:effectiveDeployments:ListEffectiveDeploymentsResponse'
, listEffectiveDeploymentsResponse_effectiveDeployments
- A list that summarizes each deployment on the core device.
$sel:httpStatus:ListEffectiveDeploymentsResponse'
, listEffectiveDeploymentsResponse_httpStatus
- The response's http status code.
ListDeployments (Paginated)
data ListDeployments Source #
See: newListDeployments
smart constructor.
Instances
newListDeployments :: ListDeployments Source #
Create a value of ListDeployments
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:targetArn:ListDeployments'
, listDeployments_targetArn
- The
ARN
of the target IoT thing or thing group.
$sel:nextToken:ListDeployments'
, listDeployments_nextToken
- The token to be used for the next set of paginated results.
$sel:historyFilter:ListDeployments'
, listDeployments_historyFilter
- The filter for the list of deployments. Choose one of the following
options:
ALL
– The list includes all deployments.LATEST_ONLY
– The list includes only the latest revision of each deployment.
Default: LATEST_ONLY
$sel:maxResults:ListDeployments'
, listDeployments_maxResults
- The maximum number of results to be returned per paginated request.
data ListDeploymentsResponse Source #
See: newListDeploymentsResponse
smart constructor.
Instances
newListDeploymentsResponse Source #
Create a value of ListDeploymentsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListDeployments'
, listDeploymentsResponse_nextToken
- The token for the next set of results, or null if there are no
additional results.
$sel:deployments:ListDeploymentsResponse'
, listDeploymentsResponse_deployments
- A list that summarizes each deployment.
$sel:httpStatus:ListDeploymentsResponse'
, listDeploymentsResponse_httpStatus
- The response's http status code.
TagResource
data TagResource Source #
See: newTagResource
smart constructor.
Instances
Create a value of TagResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:TagResource'
, tagResource_resourceArn
- The
ARN
of the resource to tag.
$sel:tags:TagResource'
, tagResource_tags
- A list of key-value pairs that contain metadata for the resource. For
more information, see
Tag your resources
in the IoT Greengrass V2 Developer Guide.
data TagResourceResponse Source #
See: newTagResourceResponse
smart constructor.
Instances
newTagResourceResponse Source #
Create a value of TagResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:TagResourceResponse'
, tagResourceResponse_httpStatus
- The response's http status code.
UntagResource
data UntagResource Source #
See: newUntagResource
smart constructor.
Instances
Create a value of UntagResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:UntagResource'
, untagResource_resourceArn
- The
ARN
of the resource to untag.
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- A list of keys for tags to remove from the resource.
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
Instances
newUntagResourceResponse Source #
Create a value of UntagResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UntagResourceResponse'
, untagResourceResponse_httpStatus
- The response's http status code.
ListComponents (Paginated)
data ListComponents Source #
See: newListComponents
smart constructor.
Instances
newListComponents :: ListComponents Source #
Create a value of ListComponents
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListComponents'
, listComponents_nextToken
- The token to be used for the next set of paginated results.
$sel:scope:ListComponents'
, listComponents_scope
- The scope of the components to list.
Default: PRIVATE
$sel:maxResults:ListComponents'
, listComponents_maxResults
- The maximum number of results to be returned per paginated request.
data ListComponentsResponse Source #
See: newListComponentsResponse
smart constructor.
Instances
newListComponentsResponse Source #
Create a value of ListComponentsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:components:ListComponentsResponse'
, listComponentsResponse_components
- A list that summarizes each component.
$sel:nextToken:ListComponents'
, listComponentsResponse_nextToken
- The token for the next set of results, or null if there are no
additional results.
$sel:httpStatus:ListComponentsResponse'
, listComponentsResponse_httpStatus
- The response's http status code.
DeleteComponent
data DeleteComponent Source #
See: newDeleteComponent
smart constructor.
Instances
Create a value of DeleteComponent
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:DeleteComponent'
, deleteComponent_arn
- The
ARN
of the component version.
data DeleteComponentResponse Source #
See: newDeleteComponentResponse
smart constructor.
Instances
Eq DeleteComponentResponse Source # | |
Defined in Amazonka.GreengrassV2.DeleteComponent | |
Read DeleteComponentResponse Source # | |
Show DeleteComponentResponse Source # | |
Defined in Amazonka.GreengrassV2.DeleteComponent showsPrec :: Int -> DeleteComponentResponse -> ShowS # show :: DeleteComponentResponse -> String # showList :: [DeleteComponentResponse] -> ShowS # | |
Generic DeleteComponentResponse Source # | |
Defined in Amazonka.GreengrassV2.DeleteComponent type Rep DeleteComponentResponse :: Type -> Type # | |
NFData DeleteComponentResponse Source # | |
Defined in Amazonka.GreengrassV2.DeleteComponent rnf :: DeleteComponentResponse -> () # | |
type Rep DeleteComponentResponse Source # | |
Defined in Amazonka.GreengrassV2.DeleteComponent |
newDeleteComponentResponse :: DeleteComponentResponse Source #
Create a value of DeleteComponentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
CreateComponentVersion
data CreateComponentVersion Source #
See: newCreateComponentVersion
smart constructor.
CreateComponentVersion' (Maybe Text) (Maybe Base64) (Maybe LambdaFunctionRecipeSource) (Maybe (HashMap Text Text)) |
Instances
newCreateComponentVersion :: CreateComponentVersion Source #
Create a value of CreateComponentVersion
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientToken:CreateComponentVersion'
, createComponentVersion_clientToken
- A unique, case-sensitive identifier that you can provide to ensure that
the request is idempotent. Idempotency means that the request is
successfully processed only once, even if you send the request multiple
times. When a request succeeds, and you specify the same client token
for subsequent successful requests, the IoT Greengrass V2 service
returns the successful response that it caches from the previous
request. IoT Greengrass V2 caches successful responses for idempotent
requests for up to 8 hours.
$sel:inlineRecipe:CreateComponentVersion'
, createComponentVersion_inlineRecipe
- The recipe to use to create the component. The recipe defines the
component's metadata, parameters, dependencies, lifecycle, artifacts,
and platform compatibility.
You must specify either inlineRecipe
or lambdaFunction
.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
$sel:lambdaFunction:CreateComponentVersion'
, createComponentVersion_lambdaFunction
- The parameters to create a component from a Lambda function.
You must specify either inlineRecipe
or lambdaFunction
.
$sel:tags:CreateComponentVersion'
, createComponentVersion_tags
- A list of key-value pairs that contain metadata for the resource. For
more information, see
Tag your resources
in the IoT Greengrass V2 Developer Guide.
data CreateComponentVersionResponse Source #
See: newCreateComponentVersionResponse
smart constructor.
Instances
newCreateComponentVersionResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> UTCTime | |
-> CloudComponentStatus | |
-> CreateComponentVersionResponse |
Create a value of CreateComponentVersionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:CreateComponentVersionResponse'
, createComponentVersionResponse_arn
- The
ARN
of the component version.
$sel:httpStatus:CreateComponentVersionResponse'
, createComponentVersionResponse_httpStatus
- The response's http status code.
$sel:componentName:CreateComponentVersionResponse'
, createComponentVersionResponse_componentName
- The name of the component.
$sel:componentVersion:CreateComponentVersionResponse'
, createComponentVersionResponse_componentVersion
- The version of the component.
$sel:creationTimestamp:CreateComponentVersionResponse'
, createComponentVersionResponse_creationTimestamp
- The time at which the component was created, expressed in ISO 8601
format.
$sel:status:CreateComponentVersionResponse'
, createComponentVersionResponse_status
- The status of the component version in IoT Greengrass V2. This status is
different from the status of the component on a core device.
GetComponent
data GetComponent Source #
See: newGetComponent
smart constructor.
Instances
Create a value of GetComponent
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:recipeOutputFormat:GetComponent'
, getComponent_recipeOutputFormat
- The format of the recipe.
$sel:arn:GetComponent'
, getComponent_arn
- The
ARN
of the component version.
data GetComponentResponse Source #
See: newGetComponentResponse
smart constructor.
Instances
newGetComponentResponse Source #
Create a value of GetComponentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tags:GetComponentResponse'
, getComponentResponse_tags
- A list of key-value pairs that contain metadata for the resource. For
more information, see
Tag your resources
in the IoT Greengrass V2 Developer Guide.
$sel:httpStatus:GetComponentResponse'
, getComponentResponse_httpStatus
- The response's http status code.
$sel:recipeOutputFormat:GetComponent'
, getComponentResponse_recipeOutputFormat
- The format of the recipe.
$sel:recipe:GetComponentResponse'
, getComponentResponse_recipe
- The recipe of the component version.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
ListClientDevicesAssociatedWithCoreDevice (Paginated)
data ListClientDevicesAssociatedWithCoreDevice Source #
See: newListClientDevicesAssociatedWithCoreDevice
smart constructor.
Instances
newListClientDevicesAssociatedWithCoreDevice Source #
:: Text |
|
-> ListClientDevicesAssociatedWithCoreDevice |
Create a value of ListClientDevicesAssociatedWithCoreDevice
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListClientDevicesAssociatedWithCoreDevice'
, listClientDevicesAssociatedWithCoreDevice_nextToken
- The token to be used for the next set of paginated results.
$sel:maxResults:ListClientDevicesAssociatedWithCoreDevice'
, listClientDevicesAssociatedWithCoreDevice_maxResults
- The maximum number of results to be returned per paginated request.
$sel:coreDeviceThingName:ListClientDevicesAssociatedWithCoreDevice'
, listClientDevicesAssociatedWithCoreDevice_coreDeviceThingName
- The name of the core device. This is also the name of the IoT thing.
data ListClientDevicesAssociatedWithCoreDeviceResponse Source #
See: newListClientDevicesAssociatedWithCoreDeviceResponse
smart constructor.
ListClientDevicesAssociatedWithCoreDeviceResponse' (Maybe (NonEmpty AssociatedClientDevice)) (Maybe Text) Int |
Instances
newListClientDevicesAssociatedWithCoreDeviceResponse Source #
:: Int |
|
-> ListClientDevicesAssociatedWithCoreDeviceResponse |
Create a value of ListClientDevicesAssociatedWithCoreDeviceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:associatedClientDevices:ListClientDevicesAssociatedWithCoreDeviceResponse'
, listClientDevicesAssociatedWithCoreDeviceResponse_associatedClientDevices
- A list that describes the client devices that are associated with the
core device.
$sel:nextToken:ListClientDevicesAssociatedWithCoreDevice'
, listClientDevicesAssociatedWithCoreDeviceResponse_nextToken
- The token for the next set of results, or null if there are no
additional results.
$sel:httpStatus:ListClientDevicesAssociatedWithCoreDeviceResponse'
, listClientDevicesAssociatedWithCoreDeviceResponse_httpStatus
- The response's http status code.
Types
CloudComponentState
newtype CloudComponentState Source #
pattern CloudComponentState_DEPLOYABLE :: CloudComponentState | |
pattern CloudComponentState_DEPRECATED :: CloudComponentState | |
pattern CloudComponentState_FAILED :: CloudComponentState | |
pattern CloudComponentState_INITIATED :: CloudComponentState | |
pattern CloudComponentState_REQUESTED :: CloudComponentState |
Instances
ComponentDependencyType
newtype ComponentDependencyType Source #
pattern ComponentDependencyType_HARD :: ComponentDependencyType | |
pattern ComponentDependencyType_SOFT :: ComponentDependencyType |
Instances
ComponentVisibilityScope
newtype ComponentVisibilityScope Source #
pattern ComponentVisibilityScope_PRIVATE :: ComponentVisibilityScope | |
pattern ComponentVisibilityScope_PUBLIC :: ComponentVisibilityScope |
Instances
CoreDeviceStatus
newtype CoreDeviceStatus Source #
pattern CoreDeviceStatus_HEALTHY :: CoreDeviceStatus | |
pattern CoreDeviceStatus_UNHEALTHY :: CoreDeviceStatus |
Instances
DeploymentComponentUpdatePolicyAction
newtype DeploymentComponentUpdatePolicyAction Source #
Instances
DeploymentFailureHandlingPolicy
newtype DeploymentFailureHandlingPolicy Source #
pattern DeploymentFailureHandlingPolicy_DO_NOTHING :: DeploymentFailureHandlingPolicy | |
pattern DeploymentFailureHandlingPolicy_ROLLBACK :: DeploymentFailureHandlingPolicy |
Instances
DeploymentHistoryFilter
newtype DeploymentHistoryFilter Source #
pattern DeploymentHistoryFilter_ALL :: DeploymentHistoryFilter | |
pattern DeploymentHistoryFilter_LATEST_ONLY :: DeploymentHistoryFilter |
Instances
DeploymentStatus
newtype DeploymentStatus Source #
pattern DeploymentStatus_ACTIVE :: DeploymentStatus | |
pattern DeploymentStatus_CANCELED :: DeploymentStatus | |
pattern DeploymentStatus_COMPLETED :: DeploymentStatus | |
pattern DeploymentStatus_FAILED :: DeploymentStatus | |
pattern DeploymentStatus_INACTIVE :: DeploymentStatus |
Instances
EffectiveDeploymentExecutionStatus
newtype EffectiveDeploymentExecutionStatus Source #
Instances
InstalledComponentLifecycleState
newtype InstalledComponentLifecycleState Source #
Instances
IoTJobAbortAction
newtype IoTJobAbortAction Source #
pattern IoTJobAbortAction_CANCEL :: IoTJobAbortAction |
Instances
IoTJobExecutionFailureType
newtype IoTJobExecutionFailureType Source #
Instances
LambdaEventSourceType
newtype LambdaEventSourceType Source #
pattern LambdaEventSourceType_IOT_CORE :: LambdaEventSourceType | |
pattern LambdaEventSourceType_PUB_SUB :: LambdaEventSourceType |
Instances
LambdaFilesystemPermission
newtype LambdaFilesystemPermission Source #
pattern LambdaFilesystemPermission_Ro :: LambdaFilesystemPermission | |
pattern LambdaFilesystemPermission_Rw :: LambdaFilesystemPermission |
Instances
LambdaInputPayloadEncodingType
newtype LambdaInputPayloadEncodingType Source #
pattern LambdaInputPayloadEncodingType_Binary :: LambdaInputPayloadEncodingType | |
pattern LambdaInputPayloadEncodingType_Json :: LambdaInputPayloadEncodingType |
Instances
LambdaIsolationMode
newtype LambdaIsolationMode Source #
pattern LambdaIsolationMode_GreengrassContainer :: LambdaIsolationMode | |
pattern LambdaIsolationMode_NoContainer :: LambdaIsolationMode |
Instances
RecipeOutputFormat
newtype RecipeOutputFormat Source #
pattern RecipeOutputFormat_JSON :: RecipeOutputFormat | |
pattern RecipeOutputFormat_YAML :: RecipeOutputFormat |
Instances
AssociateClientDeviceWithCoreDeviceEntry
data AssociateClientDeviceWithCoreDeviceEntry Source #
Contains a request to associate a client device with a core device. The BatchAssociateClientDeviceWithCoreDevice operation consumes a list of these requests.
See: newAssociateClientDeviceWithCoreDeviceEntry
smart constructor.
Instances
Eq AssociateClientDeviceWithCoreDeviceEntry Source # | |
Read AssociateClientDeviceWithCoreDeviceEntry Source # | |
Show AssociateClientDeviceWithCoreDeviceEntry Source # | |
Generic AssociateClientDeviceWithCoreDeviceEntry Source # | |
NFData AssociateClientDeviceWithCoreDeviceEntry Source # | |
Hashable AssociateClientDeviceWithCoreDeviceEntry Source # | |
ToJSON AssociateClientDeviceWithCoreDeviceEntry Source # | |
type Rep AssociateClientDeviceWithCoreDeviceEntry Source # | |
Defined in Amazonka.GreengrassV2.Types.AssociateClientDeviceWithCoreDeviceEntry type Rep AssociateClientDeviceWithCoreDeviceEntry = D1 ('MetaData "AssociateClientDeviceWithCoreDeviceEntry" "Amazonka.GreengrassV2.Types.AssociateClientDeviceWithCoreDeviceEntry" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "AssociateClientDeviceWithCoreDeviceEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "thingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
newAssociateClientDeviceWithCoreDeviceEntry Source #
Create a value of AssociateClientDeviceWithCoreDeviceEntry
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:thingName:AssociateClientDeviceWithCoreDeviceEntry'
, associateClientDeviceWithCoreDeviceEntry_thingName
- The name of the IoT thing that represents the client device to
associate.
AssociateClientDeviceWithCoreDeviceErrorEntry
data AssociateClientDeviceWithCoreDeviceErrorEntry Source #
Contains an error that occurs from a request to associate a client device with a core device. The BatchAssociateClientDeviceWithCoreDevice operation returns a list of these errors.
See: newAssociateClientDeviceWithCoreDeviceErrorEntry
smart constructor.
Instances
newAssociateClientDeviceWithCoreDeviceErrorEntry :: AssociateClientDeviceWithCoreDeviceErrorEntry Source #
Create a value of AssociateClientDeviceWithCoreDeviceErrorEntry
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:AssociateClientDeviceWithCoreDeviceErrorEntry'
, associateClientDeviceWithCoreDeviceErrorEntry_code
- The error code for the request.
$sel:message:AssociateClientDeviceWithCoreDeviceErrorEntry'
, associateClientDeviceWithCoreDeviceErrorEntry_message
- A message that provides additional information about the error.
$sel:thingName:AssociateClientDeviceWithCoreDeviceErrorEntry'
, associateClientDeviceWithCoreDeviceErrorEntry_thingName
- The name of the IoT thing whose associate request failed.
AssociatedClientDevice
data AssociatedClientDevice Source #
Contains information about a client device that is associated to a core device for cloud discovery.
See: newAssociatedClientDevice
smart constructor.
Instances
newAssociatedClientDevice :: AssociatedClientDevice Source #
Create a value of AssociatedClientDevice
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:associationTimestamp:AssociatedClientDevice'
, associatedClientDevice_associationTimestamp
- The time that the client device was associated, expressed in ISO 8601
format.
$sel:thingName:AssociatedClientDevice'
, associatedClientDevice_thingName
- The name of the IoT thing that represents the associated client device.
CloudComponentStatus
data CloudComponentStatus Source #
Contains the status of a component in the IoT Greengrass service.
See: newCloudComponentStatus
smart constructor.
Instances
newCloudComponentStatus :: CloudComponentStatus Source #
Create a value of CloudComponentStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:componentState:CloudComponentStatus'
, cloudComponentStatus_componentState
- The state of the component.
$sel:message:CloudComponentStatus'
, cloudComponentStatus_message
- A message that communicates details, such as errors, about the status of
the component.
$sel:errors:CloudComponentStatus'
, cloudComponentStatus_errors
- A dictionary of errors that communicate why the component is in an error
state. For example, if IoT Greengrass can't access an artifact for the
component, then errors
contains the artifact's URI as a key, and the
error message as the value for that key.
Component
Contains information about a component.
See: newComponent
smart constructor.
Instances
Eq Component Source # | |
Read Component Source # | |
Show Component Source # | |
Generic Component Source # | |
NFData Component Source # | |
Defined in Amazonka.GreengrassV2.Types.Component | |
Hashable Component Source # | |
Defined in Amazonka.GreengrassV2.Types.Component | |
FromJSON Component Source # | |
type Rep Component Source # | |
Defined in Amazonka.GreengrassV2.Types.Component type Rep Component = D1 ('MetaData "Component" "Amazonka.GreengrassV2.Types.Component" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "Component'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "componentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "latestVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComponentLatestVersion))))) |
newComponent :: Component Source #
Create a value of Component
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:Component'
, component_arn
- The
ARN
of the component version.
$sel:componentName:Component'
, component_componentName
- The name of the component.
$sel:latestVersion:Component'
, component_latestVersion
- The latest version of the component and its details.
ComponentCandidate
data ComponentCandidate Source #
Contains information about a component that is a candidate to deploy to a Greengrass core device.
See: newComponentCandidate
smart constructor.
Instances
newComponentCandidate :: ComponentCandidate Source #
Create a value of ComponentCandidate
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:componentVersion:ComponentCandidate'
, componentCandidate_componentVersion
- The version of the component.
$sel:versionRequirements:ComponentCandidate'
, componentCandidate_versionRequirements
- The version requirements for the component's dependencies. Greengrass
core devices get the version requirements from component recipes.
IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
$sel:componentName:ComponentCandidate'
, componentCandidate_componentName
- The name of the component.
ComponentConfigurationUpdate
data ComponentConfigurationUpdate Source #
Contains information about a deployment's update to a component's configuration on Greengrass core devices. For more information, see Update component configurations in the IoT Greengrass V2 Developer Guide.
See: newComponentConfigurationUpdate
smart constructor.
Instances
newComponentConfigurationUpdate :: ComponentConfigurationUpdate Source #
Create a value of ComponentConfigurationUpdate
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reset:ComponentConfigurationUpdate'
, componentConfigurationUpdate_reset
- The list of configuration nodes to reset to default values on target
devices. Use JSON pointers to specify each node to reset. JSON pointers
start with a forward slash (/
) and use forward slashes to separate
the key for each level in the object. For more information, see the
JSON pointer specification and
Reset configuration updates
in the IoT Greengrass V2 Developer Guide.
$sel:merge:ComponentConfigurationUpdate'
, componentConfigurationUpdate_merge
- A serialized JSON string that contains the configuration object to merge
to target devices. The core device merges this configuration with the
component's existing configuration. If this is the first time a
component deploys on a device, the core device merges this configuration
with the component's default configuration. This means that the core
device keeps it's existing configuration for keys and values that you
don't specify in this object. For more information, see
Merge configuration updates
in the IoT Greengrass V2 Developer Guide.
ComponentDependencyRequirement
data ComponentDependencyRequirement Source #
Contains information about a component dependency for a Lambda function component.
See: newComponentDependencyRequirement
smart constructor.
Instances
newComponentDependencyRequirement :: ComponentDependencyRequirement Source #
Create a value of ComponentDependencyRequirement
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dependencyType:ComponentDependencyRequirement'
, componentDependencyRequirement_dependencyType
- The type of this dependency. Choose from the following options:
SOFT
– The component doesn't restart if the dependency changes state.HARD
– The component restarts if the dependency changes state.
Default: HARD
$sel:versionRequirement:ComponentDependencyRequirement'
, componentDependencyRequirement_versionRequirement
- The component version requirement for the component dependency.
IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
ComponentDeploymentSpecification
data ComponentDeploymentSpecification Source #
Contains information about a component to deploy.
See: newComponentDeploymentSpecification
smart constructor.
ComponentDeploymentSpecification' (Maybe Text) (Maybe ComponentRunWith) (Maybe ComponentConfigurationUpdate) |
Instances
newComponentDeploymentSpecification :: ComponentDeploymentSpecification Source #
Create a value of ComponentDeploymentSpecification
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:componentVersion:ComponentDeploymentSpecification'
, componentDeploymentSpecification_componentVersion
- The version of the component.
$sel:runWith:ComponentDeploymentSpecification'
, componentDeploymentSpecification_runWith
- The system user and group that the IoT Greengrass Core software uses to
run component processes on the core device. If you omit this parameter,
the IoT Greengrass Core software uses the system user and group that you
configure for the core device. For more information, see
Configure the user and group that run components
in the IoT Greengrass V2 Developer Guide.
$sel:configurationUpdate:ComponentDeploymentSpecification'
, componentDeploymentSpecification_configurationUpdate
- The configuration updates to deploy for the component. You can define
reset updates and merge updates. A reset updates the keys that you
specify to the default configuration for the component. A merge updates
the core device's component configuration with the keys and values that
you specify. The IoT Greengrass Core software applies reset updates
before it applies merge updates. For more information, see
Update component configurations
in the IoT Greengrass V2 Developer Guide.
ComponentLatestVersion
data ComponentLatestVersion Source #
Contains information about the latest version of a component.
See: newComponentLatestVersion
smart constructor.
ComponentLatestVersion' (Maybe [ComponentPlatform]) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe Text) |
Instances
newComponentLatestVersion :: ComponentLatestVersion Source #
Create a value of ComponentLatestVersion
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:platforms:ComponentLatestVersion'
, componentLatestVersion_platforms
- The platforms that the component version supports.
$sel:arn:ComponentLatestVersion'
, componentLatestVersion_arn
- The
ARN
of the component version.
$sel:componentVersion:ComponentLatestVersion'
, componentLatestVersion_componentVersion
- The version of the component.
$sel:creationTimestamp:ComponentLatestVersion'
, componentLatestVersion_creationTimestamp
- The time at which the component was created, expressed in ISO 8601
format.
$sel:publisher:ComponentLatestVersion'
, componentLatestVersion_publisher
- The publisher of the component version.
$sel:description:ComponentLatestVersion'
, componentLatestVersion_description
- The description of the component version.
ComponentPlatform
data ComponentPlatform Source #
Contains information about a platform that a component supports.
See: newComponentPlatform
smart constructor.
Instances
newComponentPlatform :: ComponentPlatform Source #
Create a value of ComponentPlatform
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:ComponentPlatform'
, componentPlatform_name
- The friendly name of the platform. This name helps you identify the
platform.
If you omit this parameter, IoT Greengrass creates a friendly name from
the os
and architecture
of the platform.
$sel:attributes:ComponentPlatform'
, componentPlatform_attributes
- A dictionary of attributes for the platform. The IoT Greengrass Core
software defines the os
and platform
by default. You can specify
additional platform attributes for a core device when you deploy the
Greengrass nucleus component. For more information, see the
Greengrass nucleus component
in the IoT Greengrass V2 Developer Guide.
ComponentRunWith
data ComponentRunWith Source #
Contains information system user and group that the IoT Greengrass Core software uses to run component processes on the core device. For more information, see Configure the user and group that run components in the IoT Greengrass V2 Developer Guide.
See: newComponentRunWith
smart constructor.
Instances
newComponentRunWith :: ComponentRunWith Source #
Create a value of ComponentRunWith
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:posixUser:ComponentRunWith'
, componentRunWith_posixUser
- The POSIX system user and (optional) group to use to run this component.
Specify the user and group separated by a colon (:
) in the following
format: user:group
. The group is optional. If you don't specify a
group, the IoT Greengrass Core software uses the primary user for the
group.
If you omit this parameter, the IoT Greengrass Core software uses the default system user and group that you configure on the Greengrass nucleus component. For more information, see Configure the user and group that run components.
$sel:systemResourceLimits:ComponentRunWith'
, componentRunWith_systemResourceLimits
- The system resource limits to apply to this component's process on the
core device.
If you omit this parameter, the IoT Greengrass Core software uses the default system resource limits that you configure on the Greengrass nucleus component. For more information, see Configure system resource limits for components.
ComponentVersionListItem
data ComponentVersionListItem Source #
Contains information about a component version in a list.
See: newComponentVersionListItem
smart constructor.
Instances
newComponentVersionListItem :: ComponentVersionListItem Source #
Create a value of ComponentVersionListItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:ComponentVersionListItem'
, componentVersionListItem_arn
- The
ARN
of the component version.
$sel:componentVersion:ComponentVersionListItem'
, componentVersionListItem_componentVersion
- The version of the component.
$sel:componentName:ComponentVersionListItem'
, componentVersionListItem_componentName
- The name of the component.
CoreDevice
data CoreDevice Source #
Contains information about a Greengrass core device, which is an IoT thing that runs the IoT Greengrass Core software.
See: newCoreDevice
smart constructor.
Instances
newCoreDevice :: CoreDevice Source #
Create a value of CoreDevice
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:CoreDevice'
, coreDevice_status
- The status of the core device. Core devices can have the following
statuses:
HEALTHY
– The IoT Greengrass Core software and all components run on the core device without issue.UNHEALTHY
– The IoT Greengrass Core software or a component is in a failed state on the core device.
$sel:coreDeviceThingName:CoreDevice'
, coreDevice_coreDeviceThingName
- The name of the core device. This is also the name of the IoT thing.
$sel:lastStatusUpdateTimestamp:CoreDevice'
, coreDevice_lastStatusUpdateTimestamp
- The time at which the core device's status last updated, expressed in
ISO 8601 format.
Deployment
data Deployment Source #
Contains information about a deployment.
See: newDeployment
smart constructor.
Deployment' (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe DeploymentStatus) (Maybe Bool) (Maybe Text) (Maybe Text) |
Instances
newDeployment :: Deployment Source #
Create a value of Deployment
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:targetArn:Deployment'
, deployment_targetArn
- The
ARN
of the target IoT thing or thing group.
$sel:deploymentId:Deployment'
, deployment_deploymentId
- The ID of the deployment.
$sel:creationTimestamp:Deployment'
, deployment_creationTimestamp
- The time at which the deployment was created, expressed in ISO 8601
format.
$sel:deploymentStatus:Deployment'
, deployment_deploymentStatus
- The status of the deployment.
$sel:isLatestForTarget:Deployment'
, deployment_isLatestForTarget
- Whether or not the deployment is the latest revision for its target.
$sel:revisionId:Deployment'
, deployment_revisionId
- The revision number of the deployment.
$sel:deploymentName:Deployment'
, deployment_deploymentName
- The name of the deployment.
DeploymentComponentUpdatePolicy
data DeploymentComponentUpdatePolicy Source #
Contains information about a deployment's policy that defines when components are safe to update.
Each component on a device can report whether or not it's ready to update. After a component and its dependencies are ready, they can apply the update in the deployment. You can configure whether or not the deployment notifies components of an update and waits for a response. You specify the amount of time each component has to respond to the update notification.
See: newDeploymentComponentUpdatePolicy
smart constructor.
Instances
newDeploymentComponentUpdatePolicy :: DeploymentComponentUpdatePolicy Source #
Create a value of DeploymentComponentUpdatePolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:action:DeploymentComponentUpdatePolicy'
, deploymentComponentUpdatePolicy_action
- Whether or not to notify components and wait for components to become
safe to update. Choose from the following options:
NOTIFY_COMPONENTS
– The deployment notifies each component before it stops and updates that component. Components can use the SubscribeToComponentUpdates IPC operation to receive these notifications. Then, components can respond with the DeferComponentUpdate IPC operation. For more information, see Create deployments in the IoT Greengrass V2 Developer Guide.SKIP_NOTIFY_COMPONENTS
– The deployment doesn't notify components or wait for them to be safe to update.
Default: NOTIFY_COMPONENTS
$sel:timeoutInSeconds:DeploymentComponentUpdatePolicy'
, deploymentComponentUpdatePolicy_timeoutInSeconds
- The amount of time in seconds that each component on a device has to
report that it's safe to update. If the component waits for longer than
this timeout, then the deployment proceeds on the device.
Default: 60
DeploymentConfigurationValidationPolicy
data DeploymentConfigurationValidationPolicy Source #
Contains information about how long a component on a core device can validate its configuration updates before it times out. Components can use the SubscribeToValidateConfigurationUpdates IPC operation to receive notifications when a deployment specifies a configuration update. Then, components can respond with the SendConfigurationValidityReport IPC operation. For more information, see Create deployments in the IoT Greengrass V2 Developer Guide.
See: newDeploymentConfigurationValidationPolicy
smart constructor.
Instances
newDeploymentConfigurationValidationPolicy :: DeploymentConfigurationValidationPolicy Source #
Create a value of DeploymentConfigurationValidationPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:timeoutInSeconds:DeploymentConfigurationValidationPolicy'
, deploymentConfigurationValidationPolicy_timeoutInSeconds
- The amount of time in seconds that a component can validate its
configuration updates. If the validation time exceeds this timeout, then
the deployment proceeds for the device.
Default: 30
DeploymentIoTJobConfiguration
data DeploymentIoTJobConfiguration Source #
Contains information about an IoT job configuration.
See: newDeploymentIoTJobConfiguration
smart constructor.
DeploymentIoTJobConfiguration' (Maybe IoTJobExecutionsRolloutConfig) (Maybe IoTJobAbortConfig) (Maybe IoTJobTimeoutConfig) |
Instances
newDeploymentIoTJobConfiguration :: DeploymentIoTJobConfiguration Source #
Create a value of DeploymentIoTJobConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:jobExecutionsRolloutConfig:DeploymentIoTJobConfiguration'
, deploymentIoTJobConfiguration_jobExecutionsRolloutConfig
- The rollout configuration for the job. This configuration defines the
rate at which the job rolls out to the fleet of target devices.
$sel:abortConfig:DeploymentIoTJobConfiguration'
, deploymentIoTJobConfiguration_abortConfig
- The stop configuration for the job. This configuration defines when and
how to stop a job rollout.
$sel:timeoutConfig:DeploymentIoTJobConfiguration'
, deploymentIoTJobConfiguration_timeoutConfig
- The timeout configuration for the job. This configuration defines the
amount of time each device has to complete the job.
DeploymentPolicies
data DeploymentPolicies Source #
Contains information about policies that define how a deployment updates components and handles failure.
See: newDeploymentPolicies
smart constructor.
DeploymentPolicies' (Maybe DeploymentFailureHandlingPolicy) (Maybe DeploymentConfigurationValidationPolicy) (Maybe DeploymentComponentUpdatePolicy) |
Instances
newDeploymentPolicies :: DeploymentPolicies Source #
Create a value of DeploymentPolicies
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:failureHandlingPolicy:DeploymentPolicies'
, deploymentPolicies_failureHandlingPolicy
- The failure handling policy for the configuration deployment. This
policy defines what to do if the deployment fails.
Default: ROLLBACK
$sel:configurationValidationPolicy:DeploymentPolicies'
, deploymentPolicies_configurationValidationPolicy
- The configuration validation policy for the configuration deployment.
This policy defines how long each component has to validate its
configure updates.
$sel:componentUpdatePolicy:DeploymentPolicies'
, deploymentPolicies_componentUpdatePolicy
- The component update policy for the configuration deployment. This
policy defines when it's safe to deploy the configuration to devices.
DisassociateClientDeviceFromCoreDeviceEntry
data DisassociateClientDeviceFromCoreDeviceEntry Source #
Contains a request to disassociate a client device from a core device. The BatchDisassociateClientDeviceWithCoreDevice operation consumes a list of these requests.
See: newDisassociateClientDeviceFromCoreDeviceEntry
smart constructor.
Instances
newDisassociateClientDeviceFromCoreDeviceEntry Source #
Create a value of DisassociateClientDeviceFromCoreDeviceEntry
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:thingName:DisassociateClientDeviceFromCoreDeviceEntry'
, disassociateClientDeviceFromCoreDeviceEntry_thingName
- The name of the IoT thing that represents the client device to
disassociate.
DisassociateClientDeviceFromCoreDeviceErrorEntry
data DisassociateClientDeviceFromCoreDeviceErrorEntry Source #
Contains an error that occurs from a request to disassociate a client device from a core device. The BatchDisassociateClientDeviceWithCoreDevice operation returns a list of these errors.
See: newDisassociateClientDeviceFromCoreDeviceErrorEntry
smart constructor.
Instances
newDisassociateClientDeviceFromCoreDeviceErrorEntry :: DisassociateClientDeviceFromCoreDeviceErrorEntry Source #
Create a value of DisassociateClientDeviceFromCoreDeviceErrorEntry
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:DisassociateClientDeviceFromCoreDeviceErrorEntry'
, disassociateClientDeviceFromCoreDeviceErrorEntry_code
- The error code for the request.
$sel:message:DisassociateClientDeviceFromCoreDeviceErrorEntry'
, disassociateClientDeviceFromCoreDeviceErrorEntry_message
- A message that provides additional information about the error.
$sel:thingName:DisassociateClientDeviceFromCoreDeviceErrorEntry'
, disassociateClientDeviceFromCoreDeviceErrorEntry_thingName
- The name of the IoT thing whose disassociate request failed.
EffectiveDeployment
data EffectiveDeployment Source #
Contains information about a deployment job that IoT Greengrass sends to a Greengrass core device.
See: newEffectiveDeployment
smart constructor.
EffectiveDeployment' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text Text EffectiveDeploymentExecutionStatus POSIX POSIX |
Instances
newEffectiveDeployment Source #
:: Text | |
-> Text | |
-> Text | |
-> EffectiveDeploymentExecutionStatus | |
-> UTCTime | |
-> UTCTime | |
-> EffectiveDeployment |
Create a value of EffectiveDeployment
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:iotJobId:EffectiveDeployment'
, effectiveDeployment_iotJobId
- The ID of the IoT job that applies the deployment to target devices.
$sel:iotJobArn:EffectiveDeployment'
, effectiveDeployment_iotJobArn
- The
ARN
of the IoT job that applies the deployment to target devices.
$sel:reason:EffectiveDeployment'
, effectiveDeployment_reason
- The reason code for the update, if the job was updated.
$sel:description:EffectiveDeployment'
, effectiveDeployment_description
- The description of the deployment job.
$sel:deploymentId:EffectiveDeployment'
, effectiveDeployment_deploymentId
- The ID of the deployment.
$sel:deploymentName:EffectiveDeployment'
, effectiveDeployment_deploymentName
- The name of the deployment.
$sel:targetArn:EffectiveDeployment'
, effectiveDeployment_targetArn
- The
ARN
of the target IoT thing or thing group.
$sel:coreDeviceExecutionStatus:EffectiveDeployment'
, effectiveDeployment_coreDeviceExecutionStatus
- The status of the deployment job on the Greengrass core device.
$sel:creationTimestamp:EffectiveDeployment'
, effectiveDeployment_creationTimestamp
- The time at which the deployment was created, expressed in ISO 8601
format.
$sel:modifiedTimestamp:EffectiveDeployment'
, effectiveDeployment_modifiedTimestamp
- The time at which the deployment job was last modified, expressed in ISO
8601 format.
InstalledComponent
data InstalledComponent Source #
Contains information about a component on a Greengrass core device.
See: newInstalledComponent
smart constructor.
InstalledComponent' (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe InstalledComponentLifecycleState) |
Instances
newInstalledComponent :: InstalledComponent Source #
Create a value of InstalledComponent
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:isRoot:InstalledComponent'
, installedComponent_isRoot
- Whether or not the component is a root component.
$sel:componentVersion:InstalledComponent'
, installedComponent_componentVersion
- The version of the component.
$sel:componentName:InstalledComponent'
, installedComponent_componentName
- The name of the component.
$sel:lifecycleStateDetails:InstalledComponent'
, installedComponent_lifecycleStateDetails
- The details about the lifecycle state of the component.
$sel:lifecycleState:InstalledComponent'
, installedComponent_lifecycleState
- The lifecycle state of the component.
IoTJobAbortConfig
data IoTJobAbortConfig Source #
Contains a list of criteria that define when and how to cancel a configuration deployment.
See: newIoTJobAbortConfig
smart constructor.
Instances
Create a value of IoTJobAbortConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:criteriaList:IoTJobAbortConfig'
, ioTJobAbortConfig_criteriaList
- The list of criteria that define when and how to cancel the
configuration deployment.
IoTJobAbortCriteria
data IoTJobAbortCriteria Source #
Contains criteria that define when and how to cancel a job.
The deployment stops if the following conditions are true:
- The number of things that receive the deployment exceeds the
minNumberOfExecutedThings
. - The percentage of failures with type
failureType
exceeds thethresholdPercentage
.
See: newIoTJobAbortCriteria
smart constructor.
Instances
newIoTJobAbortCriteria Source #
Create a value of IoTJobAbortCriteria
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:failureType:IoTJobAbortCriteria'
, ioTJobAbortCriteria_failureType
- The type of job deployment failure that can cancel a job.
$sel:action:IoTJobAbortCriteria'
, ioTJobAbortCriteria_action
- The action to perform when the criteria are met.
$sel:thresholdPercentage:IoTJobAbortCriteria'
, ioTJobAbortCriteria_thresholdPercentage
- The minimum percentage of failureType
failures that occur before the
job can cancel.
This parameter supports up to two digits after the decimal (for example,
you can specify 10.9
or 10.99
, but not 10.999
).
$sel:minNumberOfExecutedThings:IoTJobAbortCriteria'
, ioTJobAbortCriteria_minNumberOfExecutedThings
- The minimum number of things that receive the configuration before the
job can cancel.
IoTJobExecutionsRolloutConfig
data IoTJobExecutionsRolloutConfig Source #
Contains information about the rollout configuration for a job. This configuration defines the rate at which the job deploys a configuration to a fleet of target devices.
See: newIoTJobExecutionsRolloutConfig
smart constructor.
Instances
newIoTJobExecutionsRolloutConfig :: IoTJobExecutionsRolloutConfig Source #
Create a value of IoTJobExecutionsRolloutConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:exponentialRate:IoTJobExecutionsRolloutConfig'
, ioTJobExecutionsRolloutConfig_exponentialRate
- The exponential rate to increase the job rollout rate.
$sel:maximumPerMinute:IoTJobExecutionsRolloutConfig'
, ioTJobExecutionsRolloutConfig_maximumPerMinute
- The maximum number of devices that receive a pending job notification,
per minute.
IoTJobExponentialRolloutRate
data IoTJobExponentialRolloutRate Source #
Contains information about an exponential rollout rate for a configuration deployment job.
See: newIoTJobExponentialRolloutRate
smart constructor.
Instances
newIoTJobExponentialRolloutRate Source #
Create a value of IoTJobExponentialRolloutRate
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:baseRatePerMinute:IoTJobExponentialRolloutRate'
, ioTJobExponentialRolloutRate_baseRatePerMinute
- The minimum number of devices that receive a pending job notification,
per minute, when the job starts. This parameter defines the initial
rollout rate of the job.
$sel:incrementFactor:IoTJobExponentialRolloutRate'
, ioTJobExponentialRolloutRate_incrementFactor
- The exponential factor to increase the rollout rate for the job.
This parameter supports up to one digit after the decimal (for example,
you can specify 1.5
, but not 1.55
).
$sel:rateIncreaseCriteria:IoTJobExponentialRolloutRate'
, ioTJobExponentialRolloutRate_rateIncreaseCriteria
- The criteria to increase the rollout rate for the job.
IoTJobRateIncreaseCriteria
data IoTJobRateIncreaseCriteria Source #
Contains information about criteria to meet before a job increases its
rollout rate. Specify either numberOfNotifiedThings
or
numberOfSucceededThings
.
See: newIoTJobRateIncreaseCriteria
smart constructor.
Instances
newIoTJobRateIncreaseCriteria :: IoTJobRateIncreaseCriteria Source #
Create a value of IoTJobRateIncreaseCriteria
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:numberOfNotifiedThings:IoTJobRateIncreaseCriteria'
, ioTJobRateIncreaseCriteria_numberOfNotifiedThings
- The number of devices to receive the job notification before the rollout
rate increases.
$sel:numberOfSucceededThings:IoTJobRateIncreaseCriteria'
, ioTJobRateIncreaseCriteria_numberOfSucceededThings
- The number of devices to successfully run the configuration job before
the rollout rate increases.
IoTJobTimeoutConfig
data IoTJobTimeoutConfig Source #
Contains information about the timeout configuration for a job.
See: newIoTJobTimeoutConfig
smart constructor.
Instances
newIoTJobTimeoutConfig :: IoTJobTimeoutConfig Source #
Create a value of IoTJobTimeoutConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:inProgressTimeoutInMinutes:IoTJobTimeoutConfig'
, ioTJobTimeoutConfig_inProgressTimeoutInMinutes
- The amount of time, in minutes, that devices have to complete the job.
The timer starts when the job status is set to IN_PROGRESS
. If the job
status doesn't change to a terminal state before the time expires, then
the job status is set to TIMED_OUT
.
The timeout interval must be between 1 minute and 7 days (10080 minutes).
LambdaContainerParams
data LambdaContainerParams Source #
Contains information about a container in which Lambda functions run on Greengrass core devices.
See: newLambdaContainerParams
smart constructor.
LambdaContainerParams' (Maybe Bool) (Maybe Int) (Maybe [LambdaDeviceMount]) (Maybe [LambdaVolumeMount]) |
Instances
newLambdaContainerParams :: LambdaContainerParams Source #
Create a value of LambdaContainerParams
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:mountROSysfs:LambdaContainerParams'
, lambdaContainerParams_mountROSysfs
- Whether or not the container can read information from the device's
/sys
folder.
Default: false
$sel:memorySizeInKB:LambdaContainerParams'
, lambdaContainerParams_memorySizeInKB
- The memory size of the container, expressed in kilobytes.
Default: 16384
(16 MB)
$sel:devices:LambdaContainerParams'
, lambdaContainerParams_devices
- The list of system devices that the container can access.
$sel:volumes:LambdaContainerParams'
, lambdaContainerParams_volumes
- The list of volumes that the container can access.
LambdaDeviceMount
data LambdaDeviceMount Source #
Contains information about a device that Linux processes in a container can access.
See: newLambdaDeviceMount
smart constructor.
Instances
Create a value of LambdaDeviceMount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:addGroupOwner:LambdaDeviceMount'
, lambdaDeviceMount_addGroupOwner
- Whether or not to add the component's system user as an owner of the
device.
Default: false
$sel:permission:LambdaDeviceMount'
, lambdaDeviceMount_permission
- The permission to access the device: read/only (ro
) or read/write
(rw
).
Default: ro
$sel:path:LambdaDeviceMount'
, lambdaDeviceMount_path
- The mount path for the device in the file system.
LambdaEventSource
data LambdaEventSource Source #
Contains information about an event source for an Lambda function. The event source defines the topics on which this Lambda function subscribes to receive messages that run the function.
See: newLambdaEventSource
smart constructor.
Instances
Create a value of LambdaEventSource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:topic:LambdaEventSource'
, lambdaEventSource_topic
- The topic to which to subscribe to receive event messages.
$sel:type':LambdaEventSource'
, lambdaEventSource_type
- The type of event source. Choose from the following options:
PUB_SUB
– Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (+
and#
) in the event source topic.IOT_CORE
– Subscribe to Amazon Web Services IoT Core MQTT messages. This event source type supports MQTT wildcards (+
and#
) in the event source topic.
LambdaExecutionParameters
data LambdaExecutionParameters Source #
Contains parameters for a Lambda function that runs on IoT Greengrass.
See: newLambdaExecutionParameters
smart constructor.
LambdaExecutionParameters' (Maybe [Text]) (Maybe Int) (Maybe Bool) (Maybe LambdaInputPayloadEncodingType) (Maybe Int) (Maybe Int) (Maybe [LambdaEventSource]) (Maybe Int) (Maybe (HashMap Text Text)) (Maybe Int) (Maybe LambdaLinuxProcessParams) |
Instances
newLambdaExecutionParameters :: LambdaExecutionParameters Source #
Create a value of LambdaExecutionParameters
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:execArgs:LambdaExecutionParameters'
, lambdaExecutionParameters_execArgs
- The list of arguments to pass to the Lambda function when it runs.
$sel:maxQueueSize:LambdaExecutionParameters'
, lambdaExecutionParameters_maxQueueSize
- The maximum size of the message queue for the Lambda function component.
The IoT Greengrass core stores messages in a FIFO (first-in-first-out)
queue until it can run the Lambda function to consume each message.
$sel:pinned:LambdaExecutionParameters'
, lambdaExecutionParameters_pinned
- Whether or not the Lambda function is pinned, or long-lived.
- A pinned Lambda function starts when IoT Greengrass starts and keeps running in its own container.
- A non-pinned Lambda function starts only when it receives a work
item and exists after it idles for
maxIdleTimeInSeconds
. If the function has multiple work items, the IoT Greengrass Core software creates multiple instances of the function.
Default: true
$sel:inputPayloadEncodingType:LambdaExecutionParameters'
, lambdaExecutionParameters_inputPayloadEncodingType
- The encoding type that the Lambda function supports.
Default: json
$sel:maxIdleTimeInSeconds:LambdaExecutionParameters'
, lambdaExecutionParameters_maxIdleTimeInSeconds
- The maximum amount of time in seconds that a non-pinned Lambda function
can idle before the IoT Greengrass Core software stops its process.
$sel:timeoutInSeconds:LambdaExecutionParameters'
, lambdaExecutionParameters_timeoutInSeconds
- The maximum amount of time in seconds that the Lambda function can
process a work item.
$sel:eventSources:LambdaExecutionParameters'
, lambdaExecutionParameters_eventSources
- The list of event sources to which to subscribe to receive work
messages. The Lambda function runs when it receives a message from an
event source. You can subscribe this function to local
publish/subscribe messages and Amazon Web Services IoT Core MQTT
messages.
$sel:maxInstancesCount:LambdaExecutionParameters'
, lambdaExecutionParameters_maxInstancesCount
- The maximum number of instances that a non-pinned Lambda function can
run at the same time.
$sel:environmentVariables:LambdaExecutionParameters'
, lambdaExecutionParameters_environmentVariables
- The map of environment variables that are available to the Lambda
function when it runs.
$sel:statusTimeoutInSeconds:LambdaExecutionParameters'
, lambdaExecutionParameters_statusTimeoutInSeconds
- The interval in seconds at which a pinned (also known as long-lived)
Lambda function component sends status updates to the Lambda manager
component.
$sel:linuxProcessParams:LambdaExecutionParameters'
, lambdaExecutionParameters_linuxProcessParams
- The parameters for the Linux process that contains the Lambda function.
LambdaFunctionRecipeSource
data LambdaFunctionRecipeSource Source #
Contains information about an Lambda function to import to create a component.
See: newLambdaFunctionRecipeSource
smart constructor.
LambdaFunctionRecipeSource' (Maybe LambdaExecutionParameters) (Maybe Text) (Maybe Text) (Maybe [ComponentPlatform]) (Maybe (HashMap Text ComponentDependencyRequirement)) Text |
Instances
newLambdaFunctionRecipeSource Source #
Create a value of LambdaFunctionRecipeSource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:componentLambdaParameters:LambdaFunctionRecipeSource'
, lambdaFunctionRecipeSource_componentLambdaParameters
- The system and runtime parameters for the Lambda function as it runs on
the Greengrass core device.
$sel:componentVersion:LambdaFunctionRecipeSource'
, lambdaFunctionRecipeSource_componentVersion
- The version of the component.
Defaults to the version of the Lambda function as a semantic version.
For example, if your function version is 3
, the component version
becomes 3.0.0
.
$sel:componentName:LambdaFunctionRecipeSource'
, lambdaFunctionRecipeSource_componentName
- The name of the component.
Defaults to the name of the Lambda function.
$sel:componentPlatforms:LambdaFunctionRecipeSource'
, lambdaFunctionRecipeSource_componentPlatforms
- The platforms that the component version supports.
$sel:componentDependencies:LambdaFunctionRecipeSource'
, lambdaFunctionRecipeSource_componentDependencies
- The component versions on which this Lambda function component depends.
$sel:lambdaArn:LambdaFunctionRecipeSource'
, lambdaFunctionRecipeSource_lambdaArn
- The
ARN
of the Lambda function. The ARN must include the version of the function
to import. You can't use version aliases like $LATEST
.
LambdaLinuxProcessParams
data LambdaLinuxProcessParams Source #
Contains parameters for a Linux process that contains an Lambda function.
See: newLambdaLinuxProcessParams
smart constructor.
Instances
newLambdaLinuxProcessParams :: LambdaLinuxProcessParams Source #
Create a value of LambdaLinuxProcessParams
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:containerParams:LambdaLinuxProcessParams'
, lambdaLinuxProcessParams_containerParams
- The parameters for the container in which the Lambda function runs.
$sel:isolationMode:LambdaLinuxProcessParams'
, lambdaLinuxProcessParams_isolationMode
- The isolation mode for the process that contains the Lambda function.
The process can run in an isolated runtime environment inside the IoT
Greengrass container, or as a regular process outside any container.
Default: GreengrassContainer
LambdaVolumeMount
data LambdaVolumeMount Source #
Contains information about a volume that Linux processes in a container can access. When you define a volume, the IoT Greengrass Core software mounts the source files to the destination inside the container.
See: newLambdaVolumeMount
smart constructor.
Instances
:: Text | |
-> Text | |
-> LambdaVolumeMount |
Create a value of LambdaVolumeMount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:addGroupOwner:LambdaVolumeMount'
, lambdaVolumeMount_addGroupOwner
- Whether or not to add the IoT Greengrass user group as an owner of the
volume.
Default: false
$sel:permission:LambdaVolumeMount'
, lambdaVolumeMount_permission
- The permission to access the volume: read/only (ro
) or read/write
(rw
).
Default: ro
$sel:sourcePath:LambdaVolumeMount'
, lambdaVolumeMount_sourcePath
- The path to the physical volume in the file system.
$sel:destinationPath:LambdaVolumeMount'
, lambdaVolumeMount_destinationPath
- The path to the logical volume in the file system.
ResolvedComponentVersion
data ResolvedComponentVersion Source #
Contains information about a component version that is compatible to run on a Greengrass core device.
See: newResolvedComponentVersion
smart constructor.
Instances
newResolvedComponentVersion :: ResolvedComponentVersion Source #
Create a value of ResolvedComponentVersion
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:ResolvedComponentVersion'
, resolvedComponentVersion_arn
- The
ARN
of the component version.
$sel:componentVersion:ResolvedComponentVersion'
, resolvedComponentVersion_componentVersion
- The version of the component.
$sel:recipe:ResolvedComponentVersion'
, resolvedComponentVersion_recipe
- The recipe of the component version.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
$sel:componentName:ResolvedComponentVersion'
, resolvedComponentVersion_componentName
- The name of the component.
SystemResourceLimits
data SystemResourceLimits Source #
Contains information about system resource limits that the IoT Greengrass Core software applies to a component's processes. For more information, see Configure system resource limits for components.
See: newSystemResourceLimits
smart constructor.
Instances
newSystemResourceLimits :: SystemResourceLimits Source #
Create a value of SystemResourceLimits
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:memory:SystemResourceLimits'
, systemResourceLimits_memory
- The maximum amount of RAM, expressed in kilobytes, that a component's
processes can use on the core device.
$sel:cpus:SystemResourceLimits'
, systemResourceLimits_cpus
- The maximum amount of CPU time that a component's processes can use on
the core device. A core device's total CPU time is equivalent to the
device's number of CPU cores. For example, on a core device with 4 CPU
cores, you can set this value to 2
to limit the component's processes
to 50 percent usage of each CPU core. On a device with 1 CPU core, you
can set this value to 0.25
to limit the component's processes to 25
percent usage of the CPU. If you set this value to a number greater than
the number of CPU cores, the IoT Greengrass Core software doesn't limit
the component's CPU usage.