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
- BulkDeploymentStatus
- ConfigurationSyncStatus
- DeploymentType
- EncodingType
- FunctionIsolationMode
- LoggerComponent
- LoggerLevel
- LoggerType
- Permission
- SoftwareToUpdate
- Telemetry
- UpdateAgentLogLevel
- UpdateTargetsArchitecture
- UpdateTargetsOperatingSystem
- BulkDeployment
- BulkDeploymentMetrics
- BulkDeploymentResult
- ConnectivityInfo
- Connector
- ConnectorDefinitionVersion
- Core
- CoreDefinitionVersion
- DefinitionInformation
- Deployment
- Device
- DeviceDefinitionVersion
- ErrorDetail
- Function
- FunctionConfiguration
- FunctionConfigurationEnvironment
- FunctionDefaultConfig
- FunctionDefaultExecutionConfig
- FunctionDefinitionVersion
- FunctionExecutionConfig
- FunctionRunAsConfig
- GreengrassLogger
- GroupCertificateAuthorityProperties
- GroupInformation
- GroupOwnerSetting
- GroupVersion
- LocalDeviceResourceData
- LocalVolumeResourceData
- LoggerDefinitionVersion
- Resource
- ResourceAccessPolicy
- ResourceDataContainer
- ResourceDefinitionVersion
- ResourceDownloadOwnerSetting
- RuntimeConfiguration
- S3MachineLearningModelResourceData
- SageMakerMachineLearningModelResourceData
- SecretsManagerSecretResourceData
- Subscription
- SubscriptionDefinitionVersion
- TelemetryConfiguration
- TelemetryConfigurationUpdate
- VersionInformation
Synopsis
- defaultService :: Service
- _InternalServerErrorException :: AsError a => Getting (First ServiceError) a ServiceError
- _BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype BulkDeploymentStatus where
- BulkDeploymentStatus' { }
- pattern BulkDeploymentStatus_Completed :: BulkDeploymentStatus
- pattern BulkDeploymentStatus_Failed :: BulkDeploymentStatus
- pattern BulkDeploymentStatus_Initializing :: BulkDeploymentStatus
- pattern BulkDeploymentStatus_Running :: BulkDeploymentStatus
- pattern BulkDeploymentStatus_Stopped :: BulkDeploymentStatus
- pattern BulkDeploymentStatus_Stopping :: BulkDeploymentStatus
- newtype ConfigurationSyncStatus where
- newtype DeploymentType where
- DeploymentType' { }
- pattern DeploymentType_ForceResetDeployment :: DeploymentType
- pattern DeploymentType_NewDeployment :: DeploymentType
- pattern DeploymentType_Redeployment :: DeploymentType
- pattern DeploymentType_ResetDeployment :: DeploymentType
- newtype EncodingType where
- EncodingType' { }
- pattern EncodingType_Binary :: EncodingType
- pattern EncodingType_Json :: EncodingType
- newtype FunctionIsolationMode where
- newtype LoggerComponent where
- LoggerComponent' { }
- pattern LoggerComponent_GreengrassSystem :: LoggerComponent
- pattern LoggerComponent_Lambda :: LoggerComponent
- newtype LoggerLevel where
- LoggerLevel' { }
- pattern LoggerLevel_DEBUG :: LoggerLevel
- pattern LoggerLevel_ERROR :: LoggerLevel
- pattern LoggerLevel_FATAL :: LoggerLevel
- pattern LoggerLevel_INFO :: LoggerLevel
- pattern LoggerLevel_WARN :: LoggerLevel
- newtype LoggerType where
- LoggerType' { }
- pattern LoggerType_AWSCloudWatch :: LoggerType
- pattern LoggerType_FileSystem :: LoggerType
- newtype Permission where
- Permission' { }
- pattern Permission_Ro :: Permission
- pattern Permission_Rw :: Permission
- newtype SoftwareToUpdate where
- SoftwareToUpdate' { }
- pattern SoftwareToUpdate_Core :: SoftwareToUpdate
- pattern SoftwareToUpdate_Ota_agent :: SoftwareToUpdate
- newtype Telemetry where
- Telemetry' { }
- pattern Telemetry_Off :: Telemetry
- pattern Telemetry_On :: Telemetry
- newtype UpdateAgentLogLevel where
- UpdateAgentLogLevel' { }
- pattern UpdateAgentLogLevel_DEBUG :: UpdateAgentLogLevel
- pattern UpdateAgentLogLevel_ERROR :: UpdateAgentLogLevel
- pattern UpdateAgentLogLevel_FATAL :: UpdateAgentLogLevel
- pattern UpdateAgentLogLevel_INFO :: UpdateAgentLogLevel
- pattern UpdateAgentLogLevel_NONE :: UpdateAgentLogLevel
- pattern UpdateAgentLogLevel_TRACE :: UpdateAgentLogLevel
- pattern UpdateAgentLogLevel_VERBOSE :: UpdateAgentLogLevel
- pattern UpdateAgentLogLevel_WARN :: UpdateAgentLogLevel
- newtype UpdateTargetsArchitecture where
- UpdateTargetsArchitecture' { }
- pattern UpdateTargetsArchitecture_Aarch64 :: UpdateTargetsArchitecture
- pattern UpdateTargetsArchitecture_Armv6l :: UpdateTargetsArchitecture
- pattern UpdateTargetsArchitecture_Armv7l :: UpdateTargetsArchitecture
- pattern UpdateTargetsArchitecture_X86_64 :: UpdateTargetsArchitecture
- newtype UpdateTargetsOperatingSystem where
- UpdateTargetsOperatingSystem' { }
- pattern UpdateTargetsOperatingSystem_Amazon_linux :: UpdateTargetsOperatingSystem
- pattern UpdateTargetsOperatingSystem_Openwrt :: UpdateTargetsOperatingSystem
- pattern UpdateTargetsOperatingSystem_Raspbian :: UpdateTargetsOperatingSystem
- pattern UpdateTargetsOperatingSystem_Ubuntu :: UpdateTargetsOperatingSystem
- data BulkDeployment = BulkDeployment' {}
- newBulkDeployment :: BulkDeployment
- bulkDeployment_bulkDeploymentArn :: Lens' BulkDeployment (Maybe Text)
- bulkDeployment_bulkDeploymentId :: Lens' BulkDeployment (Maybe Text)
- bulkDeployment_createdAt :: Lens' BulkDeployment (Maybe Text)
- data BulkDeploymentMetrics = BulkDeploymentMetrics' {}
- newBulkDeploymentMetrics :: BulkDeploymentMetrics
- bulkDeploymentMetrics_recordsProcessed :: Lens' BulkDeploymentMetrics (Maybe Int)
- bulkDeploymentMetrics_retryAttempts :: Lens' BulkDeploymentMetrics (Maybe Int)
- bulkDeploymentMetrics_invalidInputRecords :: Lens' BulkDeploymentMetrics (Maybe Int)
- data BulkDeploymentResult = BulkDeploymentResult' {}
- newBulkDeploymentResult :: BulkDeploymentResult
- bulkDeploymentResult_deploymentId :: Lens' BulkDeploymentResult (Maybe Text)
- bulkDeploymentResult_deploymentArn :: Lens' BulkDeploymentResult (Maybe Text)
- bulkDeploymentResult_createdAt :: Lens' BulkDeploymentResult (Maybe Text)
- bulkDeploymentResult_deploymentType :: Lens' BulkDeploymentResult (Maybe DeploymentType)
- bulkDeploymentResult_errorDetails :: Lens' BulkDeploymentResult (Maybe [ErrorDetail])
- bulkDeploymentResult_groupArn :: Lens' BulkDeploymentResult (Maybe Text)
- bulkDeploymentResult_deploymentStatus :: Lens' BulkDeploymentResult (Maybe Text)
- bulkDeploymentResult_errorMessage :: Lens' BulkDeploymentResult (Maybe Text)
- data ConnectivityInfo = ConnectivityInfo' {}
- newConnectivityInfo :: ConnectivityInfo
- connectivityInfo_portNumber :: Lens' ConnectivityInfo (Maybe Int)
- connectivityInfo_id :: Lens' ConnectivityInfo (Maybe Text)
- connectivityInfo_metadata :: Lens' ConnectivityInfo (Maybe Text)
- connectivityInfo_hostAddress :: Lens' ConnectivityInfo (Maybe Text)
- data Connector = Connector' {
- parameters :: Maybe (HashMap Text Text)
- connectorArn :: Text
- id :: Text
- newConnector :: Text -> Text -> Connector
- connector_parameters :: Lens' Connector (Maybe (HashMap Text Text))
- connector_connectorArn :: Lens' Connector Text
- connector_id :: Lens' Connector Text
- data ConnectorDefinitionVersion = ConnectorDefinitionVersion' {
- connectors :: Maybe [Connector]
- newConnectorDefinitionVersion :: ConnectorDefinitionVersion
- connectorDefinitionVersion_connectors :: Lens' ConnectorDefinitionVersion (Maybe [Connector])
- data Core = Core' {
- syncShadow :: Maybe Bool
- thingArn :: Text
- id :: Text
- certificateArn :: Text
- newCore :: Text -> Text -> Text -> Core
- core_syncShadow :: Lens' Core (Maybe Bool)
- core_thingArn :: Lens' Core Text
- core_id :: Lens' Core Text
- core_certificateArn :: Lens' Core Text
- data CoreDefinitionVersion = CoreDefinitionVersion' {}
- newCoreDefinitionVersion :: CoreDefinitionVersion
- coreDefinitionVersion_cores :: Lens' CoreDefinitionVersion (Maybe [Core])
- data DefinitionInformation = DefinitionInformation' {}
- newDefinitionInformation :: DefinitionInformation
- definitionInformation_latestVersionArn :: Lens' DefinitionInformation (Maybe Text)
- definitionInformation_arn :: Lens' DefinitionInformation (Maybe Text)
- definitionInformation_name :: Lens' DefinitionInformation (Maybe Text)
- definitionInformation_creationTimestamp :: Lens' DefinitionInformation (Maybe Text)
- definitionInformation_id :: Lens' DefinitionInformation (Maybe Text)
- definitionInformation_tags :: Lens' DefinitionInformation (Maybe (HashMap Text Text))
- definitionInformation_latestVersion :: Lens' DefinitionInformation (Maybe Text)
- definitionInformation_lastUpdatedTimestamp :: Lens' DefinitionInformation (Maybe Text)
- data Deployment = Deployment' {}
- newDeployment :: Deployment
- deployment_deploymentId :: Lens' Deployment (Maybe Text)
- deployment_deploymentArn :: Lens' Deployment (Maybe Text)
- deployment_createdAt :: Lens' Deployment (Maybe Text)
- deployment_deploymentType :: Lens' Deployment (Maybe DeploymentType)
- deployment_groupArn :: Lens' Deployment (Maybe Text)
- data Device = Device' {
- syncShadow :: Maybe Bool
- thingArn :: Text
- id :: Text
- certificateArn :: Text
- newDevice :: Text -> Text -> Text -> Device
- device_syncShadow :: Lens' Device (Maybe Bool)
- device_thingArn :: Lens' Device Text
- device_id :: Lens' Device Text
- device_certificateArn :: Lens' Device Text
- data DeviceDefinitionVersion = DeviceDefinitionVersion' {}
- newDeviceDefinitionVersion :: DeviceDefinitionVersion
- deviceDefinitionVersion_devices :: Lens' DeviceDefinitionVersion (Maybe [Device])
- data ErrorDetail = ErrorDetail' {}
- newErrorDetail :: ErrorDetail
- errorDetail_detailedErrorCode :: Lens' ErrorDetail (Maybe Text)
- errorDetail_detailedErrorMessage :: Lens' ErrorDetail (Maybe Text)
- data Function = Function' {}
- newFunction :: Text -> Function
- function_functionArn :: Lens' Function (Maybe Text)
- function_functionConfiguration :: Lens' Function (Maybe FunctionConfiguration)
- function_id :: Lens' Function Text
- data FunctionConfiguration = FunctionConfiguration' {}
- newFunctionConfiguration :: FunctionConfiguration
- functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Int)
- functionConfiguration_execArgs :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe FunctionConfigurationEnvironment)
- functionConfiguration_executable :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_pinned :: Lens' FunctionConfiguration (Maybe Bool)
- functionConfiguration_encodingType :: Lens' FunctionConfiguration (Maybe EncodingType)
- functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Int)
- data FunctionConfigurationEnvironment = FunctionConfigurationEnvironment' {}
- newFunctionConfigurationEnvironment :: FunctionConfigurationEnvironment
- functionConfigurationEnvironment_variables :: Lens' FunctionConfigurationEnvironment (Maybe (HashMap Text Text))
- functionConfigurationEnvironment_execution :: Lens' FunctionConfigurationEnvironment (Maybe FunctionExecutionConfig)
- functionConfigurationEnvironment_resourceAccessPolicies :: Lens' FunctionConfigurationEnvironment (Maybe [ResourceAccessPolicy])
- functionConfigurationEnvironment_accessSysfs :: Lens' FunctionConfigurationEnvironment (Maybe Bool)
- data FunctionDefaultConfig = FunctionDefaultConfig' {}
- newFunctionDefaultConfig :: FunctionDefaultConfig
- functionDefaultConfig_execution :: Lens' FunctionDefaultConfig (Maybe FunctionDefaultExecutionConfig)
- data FunctionDefaultExecutionConfig = FunctionDefaultExecutionConfig' {}
- newFunctionDefaultExecutionConfig :: FunctionDefaultExecutionConfig
- functionDefaultExecutionConfig_runAs :: Lens' FunctionDefaultExecutionConfig (Maybe FunctionRunAsConfig)
- functionDefaultExecutionConfig_isolationMode :: Lens' FunctionDefaultExecutionConfig (Maybe FunctionIsolationMode)
- data FunctionDefinitionVersion = FunctionDefinitionVersion' {}
- newFunctionDefinitionVersion :: FunctionDefinitionVersion
- functionDefinitionVersion_defaultConfig :: Lens' FunctionDefinitionVersion (Maybe FunctionDefaultConfig)
- functionDefinitionVersion_functions :: Lens' FunctionDefinitionVersion (Maybe [Function])
- data FunctionExecutionConfig = FunctionExecutionConfig' {}
- newFunctionExecutionConfig :: FunctionExecutionConfig
- functionExecutionConfig_runAs :: Lens' FunctionExecutionConfig (Maybe FunctionRunAsConfig)
- functionExecutionConfig_isolationMode :: Lens' FunctionExecutionConfig (Maybe FunctionIsolationMode)
- data FunctionRunAsConfig = FunctionRunAsConfig' {}
- newFunctionRunAsConfig :: FunctionRunAsConfig
- functionRunAsConfig_uid :: Lens' FunctionRunAsConfig (Maybe Int)
- functionRunAsConfig_gid :: Lens' FunctionRunAsConfig (Maybe Int)
- data GreengrassLogger = GreengrassLogger' {
- space :: Maybe Int
- type' :: LoggerType
- level :: LoggerLevel
- id :: Text
- component :: LoggerComponent
- newGreengrassLogger :: LoggerType -> LoggerLevel -> Text -> LoggerComponent -> GreengrassLogger
- greengrassLogger_space :: Lens' GreengrassLogger (Maybe Int)
- greengrassLogger_type :: Lens' GreengrassLogger LoggerType
- greengrassLogger_level :: Lens' GreengrassLogger LoggerLevel
- greengrassLogger_id :: Lens' GreengrassLogger Text
- greengrassLogger_component :: Lens' GreengrassLogger LoggerComponent
- data GroupCertificateAuthorityProperties = GroupCertificateAuthorityProperties' {}
- newGroupCertificateAuthorityProperties :: GroupCertificateAuthorityProperties
- groupCertificateAuthorityProperties_groupCertificateAuthorityArn :: Lens' GroupCertificateAuthorityProperties (Maybe Text)
- groupCertificateAuthorityProperties_groupCertificateAuthorityId :: Lens' GroupCertificateAuthorityProperties (Maybe Text)
- data GroupInformation = GroupInformation' {}
- newGroupInformation :: GroupInformation
- groupInformation_latestVersionArn :: Lens' GroupInformation (Maybe Text)
- groupInformation_arn :: Lens' GroupInformation (Maybe Text)
- groupInformation_name :: Lens' GroupInformation (Maybe Text)
- groupInformation_creationTimestamp :: Lens' GroupInformation (Maybe Text)
- groupInformation_id :: Lens' GroupInformation (Maybe Text)
- groupInformation_latestVersion :: Lens' GroupInformation (Maybe Text)
- groupInformation_lastUpdatedTimestamp :: Lens' GroupInformation (Maybe Text)
- data GroupOwnerSetting = GroupOwnerSetting' {}
- newGroupOwnerSetting :: GroupOwnerSetting
- groupOwnerSetting_autoAddGroupOwner :: Lens' GroupOwnerSetting (Maybe Bool)
- groupOwnerSetting_groupOwner :: Lens' GroupOwnerSetting (Maybe Text)
- data GroupVersion = GroupVersion' {}
- newGroupVersion :: GroupVersion
- groupVersion_resourceDefinitionVersionArn :: Lens' GroupVersion (Maybe Text)
- groupVersion_subscriptionDefinitionVersionArn :: Lens' GroupVersion (Maybe Text)
- groupVersion_coreDefinitionVersionArn :: Lens' GroupVersion (Maybe Text)
- groupVersion_deviceDefinitionVersionArn :: Lens' GroupVersion (Maybe Text)
- groupVersion_functionDefinitionVersionArn :: Lens' GroupVersion (Maybe Text)
- groupVersion_loggerDefinitionVersionArn :: Lens' GroupVersion (Maybe Text)
- groupVersion_connectorDefinitionVersionArn :: Lens' GroupVersion (Maybe Text)
- data LocalDeviceResourceData = LocalDeviceResourceData' {}
- newLocalDeviceResourceData :: LocalDeviceResourceData
- localDeviceResourceData_groupOwnerSetting :: Lens' LocalDeviceResourceData (Maybe GroupOwnerSetting)
- localDeviceResourceData_sourcePath :: Lens' LocalDeviceResourceData (Maybe Text)
- data LocalVolumeResourceData = LocalVolumeResourceData' {}
- newLocalVolumeResourceData :: LocalVolumeResourceData
- localVolumeResourceData_groupOwnerSetting :: Lens' LocalVolumeResourceData (Maybe GroupOwnerSetting)
- localVolumeResourceData_destinationPath :: Lens' LocalVolumeResourceData (Maybe Text)
- localVolumeResourceData_sourcePath :: Lens' LocalVolumeResourceData (Maybe Text)
- data LoggerDefinitionVersion = LoggerDefinitionVersion' {
- loggers :: Maybe [GreengrassLogger]
- newLoggerDefinitionVersion :: LoggerDefinitionVersion
- loggerDefinitionVersion_loggers :: Lens' LoggerDefinitionVersion (Maybe [GreengrassLogger])
- data Resource = Resource' {}
- newResource :: ResourceDataContainer -> Text -> Text -> Resource
- resource_resourceDataContainer :: Lens' Resource ResourceDataContainer
- resource_id :: Lens' Resource Text
- resource_name :: Lens' Resource Text
- data ResourceAccessPolicy = ResourceAccessPolicy' {}
- newResourceAccessPolicy :: Text -> ResourceAccessPolicy
- resourceAccessPolicy_permission :: Lens' ResourceAccessPolicy (Maybe Permission)
- resourceAccessPolicy_resourceId :: Lens' ResourceAccessPolicy Text
- data ResourceDataContainer = ResourceDataContainer' {
- s3MachineLearningModelResourceData :: Maybe S3MachineLearningModelResourceData
- sageMakerMachineLearningModelResourceData :: Maybe SageMakerMachineLearningModelResourceData
- localVolumeResourceData :: Maybe LocalVolumeResourceData
- localDeviceResourceData :: Maybe LocalDeviceResourceData
- secretsManagerSecretResourceData :: Maybe SecretsManagerSecretResourceData
- newResourceDataContainer :: ResourceDataContainer
- resourceDataContainer_s3MachineLearningModelResourceData :: Lens' ResourceDataContainer (Maybe S3MachineLearningModelResourceData)
- resourceDataContainer_sageMakerMachineLearningModelResourceData :: Lens' ResourceDataContainer (Maybe SageMakerMachineLearningModelResourceData)
- resourceDataContainer_localVolumeResourceData :: Lens' ResourceDataContainer (Maybe LocalVolumeResourceData)
- resourceDataContainer_localDeviceResourceData :: Lens' ResourceDataContainer (Maybe LocalDeviceResourceData)
- resourceDataContainer_secretsManagerSecretResourceData :: Lens' ResourceDataContainer (Maybe SecretsManagerSecretResourceData)
- data ResourceDefinitionVersion = ResourceDefinitionVersion' {}
- newResourceDefinitionVersion :: ResourceDefinitionVersion
- resourceDefinitionVersion_resources :: Lens' ResourceDefinitionVersion (Maybe [Resource])
- data ResourceDownloadOwnerSetting = ResourceDownloadOwnerSetting' {}
- newResourceDownloadOwnerSetting :: Text -> Permission -> ResourceDownloadOwnerSetting
- resourceDownloadOwnerSetting_groupOwner :: Lens' ResourceDownloadOwnerSetting Text
- resourceDownloadOwnerSetting_groupPermission :: Lens' ResourceDownloadOwnerSetting Permission
- data RuntimeConfiguration = RuntimeConfiguration' {}
- newRuntimeConfiguration :: RuntimeConfiguration
- runtimeConfiguration_telemetryConfiguration :: Lens' RuntimeConfiguration (Maybe TelemetryConfiguration)
- data S3MachineLearningModelResourceData = S3MachineLearningModelResourceData' {}
- newS3MachineLearningModelResourceData :: S3MachineLearningModelResourceData
- s3MachineLearningModelResourceData_ownerSetting :: Lens' S3MachineLearningModelResourceData (Maybe ResourceDownloadOwnerSetting)
- s3MachineLearningModelResourceData_destinationPath :: Lens' S3MachineLearningModelResourceData (Maybe Text)
- s3MachineLearningModelResourceData_s3Uri :: Lens' S3MachineLearningModelResourceData (Maybe Text)
- data SageMakerMachineLearningModelResourceData = SageMakerMachineLearningModelResourceData' {}
- newSageMakerMachineLearningModelResourceData :: SageMakerMachineLearningModelResourceData
- sageMakerMachineLearningModelResourceData_ownerSetting :: Lens' SageMakerMachineLearningModelResourceData (Maybe ResourceDownloadOwnerSetting)
- sageMakerMachineLearningModelResourceData_sageMakerJobArn :: Lens' SageMakerMachineLearningModelResourceData (Maybe Text)
- sageMakerMachineLearningModelResourceData_destinationPath :: Lens' SageMakerMachineLearningModelResourceData (Maybe Text)
- data SecretsManagerSecretResourceData = SecretsManagerSecretResourceData' {}
- newSecretsManagerSecretResourceData :: SecretsManagerSecretResourceData
- secretsManagerSecretResourceData_additionalStagingLabelsToDownload :: Lens' SecretsManagerSecretResourceData (Maybe [Text])
- secretsManagerSecretResourceData_arn :: Lens' SecretsManagerSecretResourceData (Maybe Text)
- data Subscription = Subscription' {}
- newSubscription :: Text -> Text -> Text -> Text -> Subscription
- subscription_target :: Lens' Subscription Text
- subscription_id :: Lens' Subscription Text
- subscription_subject :: Lens' Subscription Text
- subscription_source :: Lens' Subscription Text
- data SubscriptionDefinitionVersion = SubscriptionDefinitionVersion' {}
- newSubscriptionDefinitionVersion :: SubscriptionDefinitionVersion
- subscriptionDefinitionVersion_subscriptions :: Lens' SubscriptionDefinitionVersion (Maybe [Subscription])
- data TelemetryConfiguration = TelemetryConfiguration' {}
- newTelemetryConfiguration :: Telemetry -> TelemetryConfiguration
- telemetryConfiguration_configurationSyncStatus :: Lens' TelemetryConfiguration (Maybe ConfigurationSyncStatus)
- telemetryConfiguration_telemetry :: Lens' TelemetryConfiguration Telemetry
- data TelemetryConfigurationUpdate = TelemetryConfigurationUpdate' {}
- newTelemetryConfigurationUpdate :: Telemetry -> TelemetryConfigurationUpdate
- telemetryConfigurationUpdate_telemetry :: Lens' TelemetryConfigurationUpdate Telemetry
- data VersionInformation = VersionInformation' {}
- newVersionInformation :: VersionInformation
- versionInformation_arn :: Lens' VersionInformation (Maybe Text)
- versionInformation_creationTimestamp :: Lens' VersionInformation (Maybe Text)
- versionInformation_version :: Lens' VersionInformation (Maybe Text)
- versionInformation_id :: Lens' VersionInformation (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2017-06-07
of the Amazon Greengrass SDK configuration.
Errors
_InternalServerErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #
General error information.
_BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
General error information.
BulkDeploymentStatus
newtype BulkDeploymentStatus Source #
The current status of the bulk deployment.
pattern BulkDeploymentStatus_Completed :: BulkDeploymentStatus | |
pattern BulkDeploymentStatus_Failed :: BulkDeploymentStatus | |
pattern BulkDeploymentStatus_Initializing :: BulkDeploymentStatus | |
pattern BulkDeploymentStatus_Running :: BulkDeploymentStatus | |
pattern BulkDeploymentStatus_Stopped :: BulkDeploymentStatus | |
pattern BulkDeploymentStatus_Stopping :: BulkDeploymentStatus |
Instances
ConfigurationSyncStatus
newtype ConfigurationSyncStatus Source #
pattern ConfigurationSyncStatus_InSync :: ConfigurationSyncStatus | |
pattern ConfigurationSyncStatus_OutOfSync :: ConfigurationSyncStatus |
Instances
DeploymentType
newtype DeploymentType Source #
The type of deployment. When used for ''CreateDeployment'', only ''NewDeployment'' and ''Redeployment'' are valid.
pattern DeploymentType_ForceResetDeployment :: DeploymentType | |
pattern DeploymentType_NewDeployment :: DeploymentType | |
pattern DeploymentType_Redeployment :: DeploymentType | |
pattern DeploymentType_ResetDeployment :: DeploymentType |
Instances
EncodingType
newtype EncodingType Source #
pattern EncodingType_Binary :: EncodingType | |
pattern EncodingType_Json :: EncodingType |
Instances
FunctionIsolationMode
newtype FunctionIsolationMode Source #
Specifies whether the Lambda function runs in a Greengrass container (default) or without containerization. Unless your scenario requires that you run without containerization, we recommend that you run in a Greengrass container. Omit this value to run the Lambda function with the default containerization for the group.
pattern FunctionIsolationMode_GreengrassContainer :: FunctionIsolationMode | |
pattern FunctionIsolationMode_NoContainer :: FunctionIsolationMode |
Instances
LoggerComponent
newtype LoggerComponent Source #
pattern LoggerComponent_GreengrassSystem :: LoggerComponent | |
pattern LoggerComponent_Lambda :: LoggerComponent |
Instances
LoggerLevel
newtype LoggerLevel Source #
pattern LoggerLevel_DEBUG :: LoggerLevel | |
pattern LoggerLevel_ERROR :: LoggerLevel | |
pattern LoggerLevel_FATAL :: LoggerLevel | |
pattern LoggerLevel_INFO :: LoggerLevel | |
pattern LoggerLevel_WARN :: LoggerLevel |
Instances
LoggerType
newtype LoggerType Source #
pattern LoggerType_AWSCloudWatch :: LoggerType | |
pattern LoggerType_FileSystem :: LoggerType |
Instances
Permission
newtype Permission Source #
The type of permission a function has to access a resource.
pattern Permission_Ro :: Permission | |
pattern Permission_Rw :: Permission |
Instances
SoftwareToUpdate
newtype SoftwareToUpdate Source #
The piece of software on the Greengrass core that will be updated.
pattern SoftwareToUpdate_Core :: SoftwareToUpdate | |
pattern SoftwareToUpdate_Ota_agent :: SoftwareToUpdate |
Instances
Telemetry
pattern Telemetry_Off :: Telemetry | |
pattern Telemetry_On :: Telemetry |
Instances
UpdateAgentLogLevel
newtype UpdateAgentLogLevel Source #
The minimum level of log statements that should be logged by the OTA Agent during an update.
pattern UpdateAgentLogLevel_DEBUG :: UpdateAgentLogLevel | |
pattern UpdateAgentLogLevel_ERROR :: UpdateAgentLogLevel | |
pattern UpdateAgentLogLevel_FATAL :: UpdateAgentLogLevel | |
pattern UpdateAgentLogLevel_INFO :: UpdateAgentLogLevel | |
pattern UpdateAgentLogLevel_NONE :: UpdateAgentLogLevel | |
pattern UpdateAgentLogLevel_TRACE :: UpdateAgentLogLevel | |
pattern UpdateAgentLogLevel_VERBOSE :: UpdateAgentLogLevel | |
pattern UpdateAgentLogLevel_WARN :: UpdateAgentLogLevel |
Instances
UpdateTargetsArchitecture
newtype UpdateTargetsArchitecture Source #
The architecture of the cores which are the targets of an update.
Instances
UpdateTargetsOperatingSystem
newtype UpdateTargetsOperatingSystem Source #
The operating system of the cores which are the targets of an update.
Instances
BulkDeployment
data BulkDeployment Source #
Information about a bulk deployment. You cannot start a new bulk deployment while another one is still running or in a non-terminal state.
See: newBulkDeployment
smart constructor.
BulkDeployment' | |
|
Instances
newBulkDeployment :: BulkDeployment Source #
Create a value of BulkDeployment
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:bulkDeploymentArn:BulkDeployment'
, bulkDeployment_bulkDeploymentArn
- The ARN of the bulk deployment.
$sel:bulkDeploymentId:BulkDeployment'
, bulkDeployment_bulkDeploymentId
- The ID of the bulk deployment.
$sel:createdAt:BulkDeployment'
, bulkDeployment_createdAt
- The time, in ISO format, when the deployment was created.
bulkDeployment_bulkDeploymentArn :: Lens' BulkDeployment (Maybe Text) Source #
The ARN of the bulk deployment.
bulkDeployment_bulkDeploymentId :: Lens' BulkDeployment (Maybe Text) Source #
The ID of the bulk deployment.
bulkDeployment_createdAt :: Lens' BulkDeployment (Maybe Text) Source #
The time, in ISO format, when the deployment was created.
BulkDeploymentMetrics
data BulkDeploymentMetrics Source #
Relevant metrics on input records processed during bulk deployment.
See: newBulkDeploymentMetrics
smart constructor.
BulkDeploymentMetrics' | |
|
Instances
newBulkDeploymentMetrics :: BulkDeploymentMetrics Source #
Create a value of BulkDeploymentMetrics
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:recordsProcessed:BulkDeploymentMetrics'
, bulkDeploymentMetrics_recordsProcessed
- The total number of group records from the input file that have been
processed so far, or attempted.
$sel:retryAttempts:BulkDeploymentMetrics'
, bulkDeploymentMetrics_retryAttempts
- The total number of deployment attempts that returned a retryable error.
For example, a retry is triggered if the attempt to deploy a group
returns a throttling error. ''StartBulkDeployment'' retries a group
deployment up to five times.
$sel:invalidInputRecords:BulkDeploymentMetrics'
, bulkDeploymentMetrics_invalidInputRecords
- The total number of records that returned a non-retryable error. For
example, this can occur if a group record from the input file uses an
invalid format or specifies a nonexistent group version, or if the
execution role doesn't grant permission to deploy a group or group
version.
bulkDeploymentMetrics_recordsProcessed :: Lens' BulkDeploymentMetrics (Maybe Int) Source #
The total number of group records from the input file that have been processed so far, or attempted.
bulkDeploymentMetrics_retryAttempts :: Lens' BulkDeploymentMetrics (Maybe Int) Source #
The total number of deployment attempts that returned a retryable error. For example, a retry is triggered if the attempt to deploy a group returns a throttling error. ''StartBulkDeployment'' retries a group deployment up to five times.
bulkDeploymentMetrics_invalidInputRecords :: Lens' BulkDeploymentMetrics (Maybe Int) Source #
The total number of records that returned a non-retryable error. For example, this can occur if a group record from the input file uses an invalid format or specifies a nonexistent group version, or if the execution role doesn't grant permission to deploy a group or group version.
BulkDeploymentResult
data BulkDeploymentResult Source #
Information about an individual group deployment in a bulk deployment operation.
See: newBulkDeploymentResult
smart constructor.
BulkDeploymentResult' | |
|
Instances
newBulkDeploymentResult :: BulkDeploymentResult Source #
Create a value of BulkDeploymentResult
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:BulkDeploymentResult'
, bulkDeploymentResult_deploymentId
- The ID of the group deployment.
$sel:deploymentArn:BulkDeploymentResult'
, bulkDeploymentResult_deploymentArn
- The ARN of the group deployment.
$sel:createdAt:BulkDeploymentResult'
, bulkDeploymentResult_createdAt
- The time, in ISO format, when the deployment was created.
$sel:deploymentType:BulkDeploymentResult'
, bulkDeploymentResult_deploymentType
- The type of the deployment.
$sel:errorDetails:BulkDeploymentResult'
, bulkDeploymentResult_errorDetails
- Details about the error.
$sel:groupArn:BulkDeploymentResult'
, bulkDeploymentResult_groupArn
- The ARN of the Greengrass group.
$sel:deploymentStatus:BulkDeploymentResult'
, bulkDeploymentResult_deploymentStatus
- The current status of the group deployment: ''InProgress'',
''Building'', ''Success'', or ''Failure''.
$sel:errorMessage:BulkDeploymentResult'
, bulkDeploymentResult_errorMessage
- The error message for a failed deployment
bulkDeploymentResult_deploymentId :: Lens' BulkDeploymentResult (Maybe Text) Source #
The ID of the group deployment.
bulkDeploymentResult_deploymentArn :: Lens' BulkDeploymentResult (Maybe Text) Source #
The ARN of the group deployment.
bulkDeploymentResult_createdAt :: Lens' BulkDeploymentResult (Maybe Text) Source #
The time, in ISO format, when the deployment was created.
bulkDeploymentResult_deploymentType :: Lens' BulkDeploymentResult (Maybe DeploymentType) Source #
The type of the deployment.
bulkDeploymentResult_errorDetails :: Lens' BulkDeploymentResult (Maybe [ErrorDetail]) Source #
Details about the error.
bulkDeploymentResult_groupArn :: Lens' BulkDeploymentResult (Maybe Text) Source #
The ARN of the Greengrass group.
bulkDeploymentResult_deploymentStatus :: Lens' BulkDeploymentResult (Maybe Text) Source #
The current status of the group deployment: ''InProgress'', ''Building'', ''Success'', or ''Failure''.
bulkDeploymentResult_errorMessage :: Lens' BulkDeploymentResult (Maybe Text) Source #
The error message for a failed deployment
ConnectivityInfo
data ConnectivityInfo Source #
Information about a Greengrass core's connectivity.
See: newConnectivityInfo
smart constructor.
Instances
newConnectivityInfo :: ConnectivityInfo Source #
Create a value of ConnectivityInfo
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:portNumber:ConnectivityInfo'
, connectivityInfo_portNumber
- The port of the Greengrass core. Usually 8883.
$sel:id:ConnectivityInfo'
, connectivityInfo_id
- The ID of the connectivity information.
$sel:metadata:ConnectivityInfo'
, connectivityInfo_metadata
- Metadata for this endpoint.
$sel:hostAddress:ConnectivityInfo'
, connectivityInfo_hostAddress
- The endpoint for the Greengrass core. Can be an IP address or DNS.
connectivityInfo_portNumber :: Lens' ConnectivityInfo (Maybe Int) Source #
The port of the Greengrass core. Usually 8883.
connectivityInfo_id :: Lens' ConnectivityInfo (Maybe Text) Source #
The ID of the connectivity information.
connectivityInfo_metadata :: Lens' ConnectivityInfo (Maybe Text) Source #
Metadata for this endpoint.
connectivityInfo_hostAddress :: Lens' ConnectivityInfo (Maybe Text) Source #
The endpoint for the Greengrass core. Can be an IP address or DNS.
Connector
Information about a connector. Connectors run on the Greengrass core and contain built-in integration with local infrastructure, device protocols, AWS, and other cloud services.
See: newConnector
smart constructor.
Connector' | |
|
Instances
Eq Connector Source # | |
Read Connector Source # | |
Show Connector Source # | |
Generic Connector Source # | |
NFData Connector Source # | |
Defined in Amazonka.Greengrass.Types.Connector | |
Hashable Connector Source # | |
Defined in Amazonka.Greengrass.Types.Connector | |
ToJSON Connector Source # | |
Defined in Amazonka.Greengrass.Types.Connector | |
FromJSON Connector Source # | |
type Rep Connector Source # | |
Defined in Amazonka.Greengrass.Types.Connector type Rep Connector = D1 ('MetaData "Connector" "Amazonka.Greengrass.Types.Connector" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "Connector'" 'PrefixI 'True) (S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "connectorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of Connector
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:parameters:Connector'
, connector_parameters
- The parameters or configuration that the connector uses.
$sel:connectorArn:Connector'
, connector_connectorArn
- The ARN of the connector.
$sel:id:Connector'
, connector_id
- A descriptive or arbitrary ID for the connector. This value must be
unique within the connector definition version. Max length is 128
characters with pattern [a-zA-Z0-9:_-]+.
connector_parameters :: Lens' Connector (Maybe (HashMap Text Text)) Source #
The parameters or configuration that the connector uses.
connector_id :: Lens' Connector Text Source #
A descriptive or arbitrary ID for the connector. This value must be unique within the connector definition version. Max length is 128 characters with pattern [a-zA-Z0-9:_-]+.
ConnectorDefinitionVersion
data ConnectorDefinitionVersion Source #
Information about the connector definition version, which is a container for connectors.
See: newConnectorDefinitionVersion
smart constructor.
ConnectorDefinitionVersion' | |
|
Instances
newConnectorDefinitionVersion :: ConnectorDefinitionVersion Source #
Create a value of ConnectorDefinitionVersion
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:connectors:ConnectorDefinitionVersion'
, connectorDefinitionVersion_connectors
- A list of references to connectors in this version, with their
corresponding configuration settings.
connectorDefinitionVersion_connectors :: Lens' ConnectorDefinitionVersion (Maybe [Connector]) Source #
A list of references to connectors in this version, with their corresponding configuration settings.
Core
Information about a core.
See: newCore
smart constructor.
Core' | |
|
Instances
Eq Core Source # | |
Read Core Source # | |
Show Core Source # | |
Generic Core Source # | |
NFData Core Source # | |
Defined in Amazonka.Greengrass.Types.Core | |
Hashable Core Source # | |
Defined in Amazonka.Greengrass.Types.Core | |
ToJSON Core Source # | |
Defined in Amazonka.Greengrass.Types.Core | |
FromJSON Core Source # | |
type Rep Core Source # | |
Defined in Amazonka.Greengrass.Types.Core type Rep Core = D1 ('MetaData "Core" "Amazonka.Greengrass.Types.Core" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "Core'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "syncShadow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "thingArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of Core
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:syncShadow:Core'
, core_syncShadow
- If true, the core's local shadow is automatically synced with the
cloud.
$sel:thingArn:Core'
, core_thingArn
- The ARN of the thing which is the core.
$sel:id:Core'
, core_id
- A descriptive or arbitrary ID for the core. This value must be unique
within the core definition version. Max length is 128 characters with
pattern ''[a-zA-Z0-9:_-]+''.
$sel:certificateArn:Core'
, core_certificateArn
- The ARN of the certificate associated with the core.
core_syncShadow :: Lens' Core (Maybe Bool) Source #
If true, the core's local shadow is automatically synced with the cloud.
core_id :: Lens' Core Text Source #
A descriptive or arbitrary ID for the core. This value must be unique within the core definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.
CoreDefinitionVersion
data CoreDefinitionVersion Source #
Information about a core definition version.
See: newCoreDefinitionVersion
smart constructor.
Instances
newCoreDefinitionVersion :: CoreDefinitionVersion Source #
Create a value of CoreDefinitionVersion
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:cores:CoreDefinitionVersion'
, coreDefinitionVersion_cores
- A list of cores in the core definition version.
coreDefinitionVersion_cores :: Lens' CoreDefinitionVersion (Maybe [Core]) Source #
A list of cores in the core definition version.
DefinitionInformation
data DefinitionInformation Source #
Information about a definition.
See: newDefinitionInformation
smart constructor.
DefinitionInformation' | |
|
Instances
newDefinitionInformation :: DefinitionInformation Source #
Create a value of DefinitionInformation
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:latestVersionArn:DefinitionInformation'
, definitionInformation_latestVersionArn
- The ARN of the latest version associated with the definition.
$sel:arn:DefinitionInformation'
, definitionInformation_arn
- The ARN of the definition.
$sel:name:DefinitionInformation'
, definitionInformation_name
- The name of the definition.
$sel:creationTimestamp:DefinitionInformation'
, definitionInformation_creationTimestamp
- The time, in milliseconds since the epoch, when the definition was
created.
$sel:id:DefinitionInformation'
, definitionInformation_id
- The ID of the definition.
$sel:tags:DefinitionInformation'
, definitionInformation_tags
- Tag(s) attached to the resource arn.
$sel:latestVersion:DefinitionInformation'
, definitionInformation_latestVersion
- The ID of the latest version associated with the definition.
$sel:lastUpdatedTimestamp:DefinitionInformation'
, definitionInformation_lastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last
updated.
definitionInformation_latestVersionArn :: Lens' DefinitionInformation (Maybe Text) Source #
The ARN of the latest version associated with the definition.
definitionInformation_arn :: Lens' DefinitionInformation (Maybe Text) Source #
The ARN of the definition.
definitionInformation_name :: Lens' DefinitionInformation (Maybe Text) Source #
The name of the definition.
definitionInformation_creationTimestamp :: Lens' DefinitionInformation (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was created.
definitionInformation_id :: Lens' DefinitionInformation (Maybe Text) Source #
The ID of the definition.
definitionInformation_tags :: Lens' DefinitionInformation (Maybe (HashMap Text Text)) Source #
Tag(s) attached to the resource arn.
definitionInformation_latestVersion :: Lens' DefinitionInformation (Maybe Text) Source #
The ID of the latest version associated with the definition.
definitionInformation_lastUpdatedTimestamp :: Lens' DefinitionInformation (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
Deployment
data Deployment Source #
Information about a deployment.
See: newDeployment
smart constructor.
Deployment' | |
|
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:deploymentId:Deployment'
, deployment_deploymentId
- The ID of the deployment.
$sel:deploymentArn:Deployment'
, deployment_deploymentArn
- The ARN of the deployment.
$sel:createdAt:Deployment'
, deployment_createdAt
- The time, in milliseconds since the epoch, when the deployment was
created.
$sel:deploymentType:Deployment'
, deployment_deploymentType
- The type of the deployment.
$sel:groupArn:Deployment'
, deployment_groupArn
- The ARN of the group for this deployment.
deployment_deploymentId :: Lens' Deployment (Maybe Text) Source #
The ID of the deployment.
deployment_deploymentArn :: Lens' Deployment (Maybe Text) Source #
The ARN of the deployment.
deployment_createdAt :: Lens' Deployment (Maybe Text) Source #
The time, in milliseconds since the epoch, when the deployment was created.
deployment_deploymentType :: Lens' Deployment (Maybe DeploymentType) Source #
The type of the deployment.
deployment_groupArn :: Lens' Deployment (Maybe Text) Source #
The ARN of the group for this deployment.
Device
Information about a device.
See: newDevice
smart constructor.
Device' | |
|
Instances
Create a value of Device
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:syncShadow:Device'
, device_syncShadow
- If true, the device's local shadow will be automatically synced with
the cloud.
$sel:thingArn:Device'
, device_thingArn
- The thing ARN of the device.
$sel:id:Device'
, device_id
- A descriptive or arbitrary ID for the device. This value must be unique
within the device definition version. Max length is 128 characters with
pattern ''[a-zA-Z0-9:_-]+''.
$sel:certificateArn:Device'
, device_certificateArn
- The ARN of the certificate associated with the device.
device_syncShadow :: Lens' Device (Maybe Bool) Source #
If true, the device's local shadow will be automatically synced with the cloud.
device_id :: Lens' Device Text Source #
A descriptive or arbitrary ID for the device. This value must be unique within the device definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.
device_certificateArn :: Lens' Device Text Source #
The ARN of the certificate associated with the device.
DeviceDefinitionVersion
data DeviceDefinitionVersion Source #
Information about a device definition version.
See: newDeviceDefinitionVersion
smart constructor.
Instances
newDeviceDefinitionVersion :: DeviceDefinitionVersion Source #
Create a value of DeviceDefinitionVersion
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:devices:DeviceDefinitionVersion'
, deviceDefinitionVersion_devices
- A list of devices in the definition version.
deviceDefinitionVersion_devices :: Lens' DeviceDefinitionVersion (Maybe [Device]) Source #
A list of devices in the definition version.
ErrorDetail
data ErrorDetail Source #
Details about the error.
See: newErrorDetail
smart constructor.
ErrorDetail' | |
|
Instances
newErrorDetail :: ErrorDetail Source #
Create a value of ErrorDetail
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:detailedErrorCode:ErrorDetail'
, errorDetail_detailedErrorCode
- A detailed error code.
$sel:detailedErrorMessage:ErrorDetail'
, errorDetail_detailedErrorMessage
- A detailed error message.
errorDetail_detailedErrorCode :: Lens' ErrorDetail (Maybe Text) Source #
A detailed error code.
errorDetail_detailedErrorMessage :: Lens' ErrorDetail (Maybe Text) Source #
A detailed error message.
Function
Information about a Lambda function.
See: newFunction
smart constructor.
Function' | |
|
Instances
Eq Function Source # | |
Read Function Source # | |
Show Function Source # | |
Generic Function Source # | |
NFData Function Source # | |
Defined in Amazonka.Greengrass.Types.Function | |
Hashable Function Source # | |
Defined in Amazonka.Greengrass.Types.Function | |
ToJSON Function Source # | |
Defined in Amazonka.Greengrass.Types.Function | |
FromJSON Function Source # | |
type Rep Function Source # | |
Defined in Amazonka.Greengrass.Types.Function type Rep Function = D1 ('MetaData "Function" "Amazonka.Greengrass.Types.Function" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "Function'" 'PrefixI 'True) (S1 ('MetaSel ('Just "functionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "functionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionConfiguration)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of Function
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:functionArn:Function'
, function_functionArn
- The ARN of the Lambda function.
$sel:functionConfiguration:Function'
, function_functionConfiguration
- The configuration of the Lambda function.
$sel:id:Function'
, function_id
- A descriptive or arbitrary ID for the function. This value must be
unique within the function definition version. Max length is 128
characters with pattern ''[a-zA-Z0-9:_-]+''.
function_functionConfiguration :: Lens' Function (Maybe FunctionConfiguration) Source #
The configuration of the Lambda function.
function_id :: Lens' Function Text Source #
A descriptive or arbitrary ID for the function. This value must be unique within the function definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.
FunctionConfiguration
data FunctionConfiguration Source #
The configuration of the Lambda function.
See: newFunctionConfiguration
smart constructor.
FunctionConfiguration' | |
|
Instances
newFunctionConfiguration :: FunctionConfiguration Source #
Create a value of FunctionConfiguration
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:memorySize:FunctionConfiguration'
, functionConfiguration_memorySize
- The memory size, in KB, which the function requires. This setting is not
applicable and should be cleared when you run the Lambda function
without containerization.
$sel:execArgs:FunctionConfiguration'
, functionConfiguration_execArgs
- The execution arguments.
$sel:environment:FunctionConfiguration'
, functionConfiguration_environment
- The environment configuration of the function.
$sel:executable:FunctionConfiguration'
, functionConfiguration_executable
- The name of the function executable.
$sel:pinned:FunctionConfiguration'
, functionConfiguration_pinned
- True if the function is pinned. Pinned means the function is long-lived
and starts when the core starts.
$sel:encodingType:FunctionConfiguration'
, functionConfiguration_encodingType
- The expected encoding type of the input payload for the function. The
default is ''json''.
$sel:timeout:FunctionConfiguration'
, functionConfiguration_timeout
- The allowed function execution time, after which Lambda should terminate
the function. This timeout still applies to pinned Lambda functions for
each request.
functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Int) Source #
The memory size, in KB, which the function requires. This setting is not applicable and should be cleared when you run the Lambda function without containerization.
functionConfiguration_execArgs :: Lens' FunctionConfiguration (Maybe Text) Source #
The execution arguments.
functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe FunctionConfigurationEnvironment) Source #
The environment configuration of the function.
functionConfiguration_executable :: Lens' FunctionConfiguration (Maybe Text) Source #
The name of the function executable.
functionConfiguration_pinned :: Lens' FunctionConfiguration (Maybe Bool) Source #
True if the function is pinned. Pinned means the function is long-lived and starts when the core starts.
functionConfiguration_encodingType :: Lens' FunctionConfiguration (Maybe EncodingType) Source #
The expected encoding type of the input payload for the function. The default is ''json''.
functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Int) Source #
The allowed function execution time, after which Lambda should terminate the function. This timeout still applies to pinned Lambda functions for each request.
FunctionConfigurationEnvironment
data FunctionConfigurationEnvironment Source #
The environment configuration of the function.
See: newFunctionConfigurationEnvironment
smart constructor.
FunctionConfigurationEnvironment' | |
|
Instances
newFunctionConfigurationEnvironment :: FunctionConfigurationEnvironment Source #
Create a value of FunctionConfigurationEnvironment
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:variables:FunctionConfigurationEnvironment'
, functionConfigurationEnvironment_variables
- Environment variables for the Lambda function's configuration.
$sel:execution:FunctionConfigurationEnvironment'
, functionConfigurationEnvironment_execution
- Configuration related to executing the Lambda function
$sel:resourceAccessPolicies:FunctionConfigurationEnvironment'
, functionConfigurationEnvironment_resourceAccessPolicies
- A list of the resources, with their permissions, to which the Lambda
function will be granted access. A Lambda function can have at most 10
resources. ResourceAccessPolicies apply only when you run the Lambda
function in a Greengrass container.
$sel:accessSysfs:FunctionConfigurationEnvironment'
, functionConfigurationEnvironment_accessSysfs
- If true, the Lambda function is allowed to access the host's /sys
folder. Use this when the Lambda function needs to read device
information from /sys. This setting applies only when you run the
Lambda function in a Greengrass container.
functionConfigurationEnvironment_variables :: Lens' FunctionConfigurationEnvironment (Maybe (HashMap Text Text)) Source #
Environment variables for the Lambda function's configuration.
functionConfigurationEnvironment_execution :: Lens' FunctionConfigurationEnvironment (Maybe FunctionExecutionConfig) Source #
Configuration related to executing the Lambda function
functionConfigurationEnvironment_resourceAccessPolicies :: Lens' FunctionConfigurationEnvironment (Maybe [ResourceAccessPolicy]) Source #
A list of the resources, with their permissions, to which the Lambda function will be granted access. A Lambda function can have at most 10 resources. ResourceAccessPolicies apply only when you run the Lambda function in a Greengrass container.
functionConfigurationEnvironment_accessSysfs :: Lens' FunctionConfigurationEnvironment (Maybe Bool) Source #
If true, the Lambda function is allowed to access the host's /sys folder. Use this when the Lambda function needs to read device information from /sys. This setting applies only when you run the Lambda function in a Greengrass container.
FunctionDefaultConfig
data FunctionDefaultConfig Source #
The default configuration that applies to all Lambda functions in the group. Individual Lambda functions can override these settings.
See: newFunctionDefaultConfig
smart constructor.
Instances
newFunctionDefaultConfig :: FunctionDefaultConfig Source #
Create a value of FunctionDefaultConfig
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:execution:FunctionDefaultConfig'
, functionDefaultConfig_execution
- Undocumented member.
functionDefaultConfig_execution :: Lens' FunctionDefaultConfig (Maybe FunctionDefaultExecutionConfig) Source #
Undocumented member.
FunctionDefaultExecutionConfig
data FunctionDefaultExecutionConfig Source #
Configuration information that specifies how a Lambda function runs.
See: newFunctionDefaultExecutionConfig
smart constructor.
Instances
newFunctionDefaultExecutionConfig :: FunctionDefaultExecutionConfig Source #
Create a value of FunctionDefaultExecutionConfig
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:runAs:FunctionDefaultExecutionConfig'
, functionDefaultExecutionConfig_runAs
- Undocumented member.
$sel:isolationMode:FunctionDefaultExecutionConfig'
, functionDefaultExecutionConfig_isolationMode
- Undocumented member.
functionDefaultExecutionConfig_runAs :: Lens' FunctionDefaultExecutionConfig (Maybe FunctionRunAsConfig) Source #
Undocumented member.
functionDefaultExecutionConfig_isolationMode :: Lens' FunctionDefaultExecutionConfig (Maybe FunctionIsolationMode) Source #
Undocumented member.
FunctionDefinitionVersion
data FunctionDefinitionVersion Source #
Information about a function definition version.
See: newFunctionDefinitionVersion
smart constructor.
FunctionDefinitionVersion' | |
|
Instances
newFunctionDefinitionVersion :: FunctionDefinitionVersion Source #
Create a value of FunctionDefinitionVersion
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:defaultConfig:FunctionDefinitionVersion'
, functionDefinitionVersion_defaultConfig
- The default configuration that applies to all Lambda functions in this
function definition version. Individual Lambda functions can override
these settings.
$sel:functions:FunctionDefinitionVersion'
, functionDefinitionVersion_functions
- A list of Lambda functions in this function definition version.
functionDefinitionVersion_defaultConfig :: Lens' FunctionDefinitionVersion (Maybe FunctionDefaultConfig) Source #
The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.
functionDefinitionVersion_functions :: Lens' FunctionDefinitionVersion (Maybe [Function]) Source #
A list of Lambda functions in this function definition version.
FunctionExecutionConfig
data FunctionExecutionConfig Source #
Configuration information that specifies how a Lambda function runs.
See: newFunctionExecutionConfig
smart constructor.
Instances
newFunctionExecutionConfig :: FunctionExecutionConfig Source #
Create a value of FunctionExecutionConfig
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:runAs:FunctionExecutionConfig'
, functionExecutionConfig_runAs
- Undocumented member.
$sel:isolationMode:FunctionExecutionConfig'
, functionExecutionConfig_isolationMode
- Undocumented member.
functionExecutionConfig_runAs :: Lens' FunctionExecutionConfig (Maybe FunctionRunAsConfig) Source #
Undocumented member.
functionExecutionConfig_isolationMode :: Lens' FunctionExecutionConfig (Maybe FunctionIsolationMode) Source #
Undocumented member.
FunctionRunAsConfig
data FunctionRunAsConfig Source #
Specifies the user and group whose permissions are used when running the Lambda function. You can specify one or both values to override the default values. We recommend that you avoid running as root unless absolutely necessary to minimize the risk of unintended changes or malicious attacks. To run as root, you must set ''IsolationMode'' to ''NoContainer'' and update config.json in ''greengrass-root/config'' to set ''allowFunctionsToRunAsRoot'' to ''yes''.
See: newFunctionRunAsConfig
smart constructor.
Instances
newFunctionRunAsConfig :: FunctionRunAsConfig Source #
Create a value of FunctionRunAsConfig
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:uid:FunctionRunAsConfig'
, functionRunAsConfig_uid
- The user ID whose permissions are used to run a Lambda function.
$sel:gid:FunctionRunAsConfig'
, functionRunAsConfig_gid
- The group ID whose permissions are used to run a Lambda function.
functionRunAsConfig_uid :: Lens' FunctionRunAsConfig (Maybe Int) Source #
The user ID whose permissions are used to run a Lambda function.
functionRunAsConfig_gid :: Lens' FunctionRunAsConfig (Maybe Int) Source #
The group ID whose permissions are used to run a Lambda function.
GreengrassLogger
data GreengrassLogger Source #
Information about a logger
See: newGreengrassLogger
smart constructor.
GreengrassLogger' | |
|
Instances
:: LoggerType | |
-> LoggerLevel | |
-> Text | |
-> LoggerComponent | |
-> GreengrassLogger |
Create a value of GreengrassLogger
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:space:GreengrassLogger'
, greengrassLogger_space
- The amount of file space, in KB, to use if the local file system is used
for logging purposes.
$sel:type':GreengrassLogger'
, greengrassLogger_type
- The type of log output which will be used.
$sel:level:GreengrassLogger'
, greengrassLogger_level
- The level of the logs.
$sel:id:GreengrassLogger'
, greengrassLogger_id
- A descriptive or arbitrary ID for the logger. This value must be unique
within the logger definition version. Max length is 128 characters with
pattern ''[a-zA-Z0-9:_-]+''.
$sel:component:GreengrassLogger'
, greengrassLogger_component
- The component that will be subject to logging.
greengrassLogger_space :: Lens' GreengrassLogger (Maybe Int) Source #
The amount of file space, in KB, to use if the local file system is used for logging purposes.
greengrassLogger_type :: Lens' GreengrassLogger LoggerType Source #
The type of log output which will be used.
greengrassLogger_level :: Lens' GreengrassLogger LoggerLevel Source #
The level of the logs.
greengrassLogger_id :: Lens' GreengrassLogger Text Source #
A descriptive or arbitrary ID for the logger. This value must be unique within the logger definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.
greengrassLogger_component :: Lens' GreengrassLogger LoggerComponent Source #
The component that will be subject to logging.
GroupCertificateAuthorityProperties
data GroupCertificateAuthorityProperties Source #
Information about a certificate authority for a group.
See: newGroupCertificateAuthorityProperties
smart constructor.
GroupCertificateAuthorityProperties' | |
|
Instances
newGroupCertificateAuthorityProperties :: GroupCertificateAuthorityProperties Source #
Create a value of GroupCertificateAuthorityProperties
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:groupCertificateAuthorityArn:GroupCertificateAuthorityProperties'
, groupCertificateAuthorityProperties_groupCertificateAuthorityArn
- The ARN of the certificate authority for the group.
$sel:groupCertificateAuthorityId:GroupCertificateAuthorityProperties'
, groupCertificateAuthorityProperties_groupCertificateAuthorityId
- The ID of the certificate authority for the group.
groupCertificateAuthorityProperties_groupCertificateAuthorityArn :: Lens' GroupCertificateAuthorityProperties (Maybe Text) Source #
The ARN of the certificate authority for the group.
groupCertificateAuthorityProperties_groupCertificateAuthorityId :: Lens' GroupCertificateAuthorityProperties (Maybe Text) Source #
The ID of the certificate authority for the group.
GroupInformation
data GroupInformation Source #
Information about a group.
See: newGroupInformation
smart constructor.
GroupInformation' | |
|
Instances
newGroupInformation :: GroupInformation Source #
Create a value of GroupInformation
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:latestVersionArn:GroupInformation'
, groupInformation_latestVersionArn
- The ARN of the latest version associated with the group.
$sel:arn:GroupInformation'
, groupInformation_arn
- The ARN of the group.
$sel:name:GroupInformation'
, groupInformation_name
- The name of the group.
$sel:creationTimestamp:GroupInformation'
, groupInformation_creationTimestamp
- The time, in milliseconds since the epoch, when the group was created.
$sel:id:GroupInformation'
, groupInformation_id
- The ID of the group.
$sel:latestVersion:GroupInformation'
, groupInformation_latestVersion
- The ID of the latest version associated with the group.
$sel:lastUpdatedTimestamp:GroupInformation'
, groupInformation_lastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the group was last
updated.
groupInformation_latestVersionArn :: Lens' GroupInformation (Maybe Text) Source #
The ARN of the latest version associated with the group.
groupInformation_arn :: Lens' GroupInformation (Maybe Text) Source #
The ARN of the group.
groupInformation_name :: Lens' GroupInformation (Maybe Text) Source #
The name of the group.
groupInformation_creationTimestamp :: Lens' GroupInformation (Maybe Text) Source #
The time, in milliseconds since the epoch, when the group was created.
groupInformation_id :: Lens' GroupInformation (Maybe Text) Source #
The ID of the group.
groupInformation_latestVersion :: Lens' GroupInformation (Maybe Text) Source #
The ID of the latest version associated with the group.
groupInformation_lastUpdatedTimestamp :: Lens' GroupInformation (Maybe Text) Source #
The time, in milliseconds since the epoch, when the group was last updated.
GroupOwnerSetting
data GroupOwnerSetting Source #
Group owner related settings for local resources.
See: newGroupOwnerSetting
smart constructor.
GroupOwnerSetting' | |
|
Instances
newGroupOwnerSetting :: GroupOwnerSetting Source #
Create a value of GroupOwnerSetting
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:autoAddGroupOwner:GroupOwnerSetting'
, groupOwnerSetting_autoAddGroupOwner
- If true, AWS IoT Greengrass automatically adds the specified Linux OS
group owner of the resource to the Lambda process privileges. Thus the
Lambda process will have the file access permissions of the added Linux
group.
$sel:groupOwner:GroupOwnerSetting'
, groupOwnerSetting_groupOwner
- The name of the Linux OS group whose privileges will be added to the
Lambda process. This field is optional.
groupOwnerSetting_autoAddGroupOwner :: Lens' GroupOwnerSetting (Maybe Bool) Source #
If true, AWS IoT Greengrass automatically adds the specified Linux OS group owner of the resource to the Lambda process privileges. Thus the Lambda process will have the file access permissions of the added Linux group.
groupOwnerSetting_groupOwner :: Lens' GroupOwnerSetting (Maybe Text) Source #
The name of the Linux OS group whose privileges will be added to the Lambda process. This field is optional.
GroupVersion
data GroupVersion Source #
Information about a group version.
See: newGroupVersion
smart constructor.
GroupVersion' | |
|
Instances
newGroupVersion :: GroupVersion Source #
Create a value of GroupVersion
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:resourceDefinitionVersionArn:GroupVersion'
, groupVersion_resourceDefinitionVersionArn
- The ARN of the resource definition version for this group.
$sel:subscriptionDefinitionVersionArn:GroupVersion'
, groupVersion_subscriptionDefinitionVersionArn
- The ARN of the subscription definition version for this group.
$sel:coreDefinitionVersionArn:GroupVersion'
, groupVersion_coreDefinitionVersionArn
- The ARN of the core definition version for this group.
$sel:deviceDefinitionVersionArn:GroupVersion'
, groupVersion_deviceDefinitionVersionArn
- The ARN of the device definition version for this group.
$sel:functionDefinitionVersionArn:GroupVersion'
, groupVersion_functionDefinitionVersionArn
- The ARN of the function definition version for this group.
$sel:loggerDefinitionVersionArn:GroupVersion'
, groupVersion_loggerDefinitionVersionArn
- The ARN of the logger definition version for this group.
$sel:connectorDefinitionVersionArn:GroupVersion'
, groupVersion_connectorDefinitionVersionArn
- The ARN of the connector definition version for this group.
groupVersion_resourceDefinitionVersionArn :: Lens' GroupVersion (Maybe Text) Source #
The ARN of the resource definition version for this group.
groupVersion_subscriptionDefinitionVersionArn :: Lens' GroupVersion (Maybe Text) Source #
The ARN of the subscription definition version for this group.
groupVersion_coreDefinitionVersionArn :: Lens' GroupVersion (Maybe Text) Source #
The ARN of the core definition version for this group.
groupVersion_deviceDefinitionVersionArn :: Lens' GroupVersion (Maybe Text) Source #
The ARN of the device definition version for this group.
groupVersion_functionDefinitionVersionArn :: Lens' GroupVersion (Maybe Text) Source #
The ARN of the function definition version for this group.
groupVersion_loggerDefinitionVersionArn :: Lens' GroupVersion (Maybe Text) Source #
The ARN of the logger definition version for this group.
groupVersion_connectorDefinitionVersionArn :: Lens' GroupVersion (Maybe Text) Source #
The ARN of the connector definition version for this group.
LocalDeviceResourceData
data LocalDeviceResourceData Source #
Attributes that define a local device resource.
See: newLocalDeviceResourceData
smart constructor.
LocalDeviceResourceData' | |
|
Instances
newLocalDeviceResourceData :: LocalDeviceResourceData Source #
Create a value of LocalDeviceResourceData
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:groupOwnerSetting:LocalDeviceResourceData'
, localDeviceResourceData_groupOwnerSetting
- Group/owner related settings for local resources.
$sel:sourcePath:LocalDeviceResourceData'
, localDeviceResourceData_sourcePath
- The local absolute path of the device resource. The source path for a
device resource can refer only to a character device or block device
under ''/dev''.
localDeviceResourceData_groupOwnerSetting :: Lens' LocalDeviceResourceData (Maybe GroupOwnerSetting) Source #
Group/owner related settings for local resources.
localDeviceResourceData_sourcePath :: Lens' LocalDeviceResourceData (Maybe Text) Source #
The local absolute path of the device resource. The source path for a device resource can refer only to a character device or block device under ''/dev''.
LocalVolumeResourceData
data LocalVolumeResourceData Source #
Attributes that define a local volume resource.
See: newLocalVolumeResourceData
smart constructor.
LocalVolumeResourceData' | |
|
Instances
newLocalVolumeResourceData :: LocalVolumeResourceData Source #
Create a value of LocalVolumeResourceData
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:groupOwnerSetting:LocalVolumeResourceData'
, localVolumeResourceData_groupOwnerSetting
- Allows you to configure additional group privileges for the Lambda
process. This field is optional.
$sel:destinationPath:LocalVolumeResourceData'
, localVolumeResourceData_destinationPath
- The absolute local path of the resource inside the Lambda environment.
$sel:sourcePath:LocalVolumeResourceData'
, localVolumeResourceData_sourcePath
- The local absolute path of the volume resource on the host. The source
path for a volume resource type cannot start with ''/sys''.
localVolumeResourceData_groupOwnerSetting :: Lens' LocalVolumeResourceData (Maybe GroupOwnerSetting) Source #
Allows you to configure additional group privileges for the Lambda process. This field is optional.
localVolumeResourceData_destinationPath :: Lens' LocalVolumeResourceData (Maybe Text) Source #
The absolute local path of the resource inside the Lambda environment.
localVolumeResourceData_sourcePath :: Lens' LocalVolumeResourceData (Maybe Text) Source #
The local absolute path of the volume resource on the host. The source path for a volume resource type cannot start with ''/sys''.
LoggerDefinitionVersion
data LoggerDefinitionVersion Source #
Information about a logger definition version.
See: newLoggerDefinitionVersion
smart constructor.
LoggerDefinitionVersion' | |
|
Instances
newLoggerDefinitionVersion :: LoggerDefinitionVersion Source #
Create a value of LoggerDefinitionVersion
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:loggers:LoggerDefinitionVersion'
, loggerDefinitionVersion_loggers
- A list of loggers.
loggerDefinitionVersion_loggers :: Lens' LoggerDefinitionVersion (Maybe [GreengrassLogger]) Source #
A list of loggers.
Resource
Information about a resource.
See: newResource
smart constructor.
Resource' | |
|
Instances
Eq Resource Source # | |
Read Resource Source # | |
Show Resource Source # | |
Generic Resource Source # | |
NFData Resource Source # | |
Defined in Amazonka.Greengrass.Types.Resource | |
Hashable Resource Source # | |
Defined in Amazonka.Greengrass.Types.Resource | |
ToJSON Resource Source # | |
Defined in Amazonka.Greengrass.Types.Resource | |
FromJSON Resource Source # | |
type Rep Resource Source # | |
Defined in Amazonka.Greengrass.Types.Resource type Rep Resource = D1 ('MetaData "Resource" "Amazonka.Greengrass.Types.Resource" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "Resource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceDataContainer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceDataContainer) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
:: ResourceDataContainer | |
-> Text | |
-> Text | |
-> Resource |
Create a value of Resource
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:resourceDataContainer:Resource'
, resource_resourceDataContainer
- A container of data for all resource types.
$sel:id:Resource'
, resource_id
- The resource ID, used to refer to a resource in the Lambda function
configuration. Max length is 128 characters with pattern
''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group.
$sel:name:Resource'
, resource_name
- The descriptive resource name, which is displayed on the AWS IoT
Greengrass console. Max length 128 characters with pattern
''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group.
resource_resourceDataContainer :: Lens' Resource ResourceDataContainer Source #
A container of data for all resource types.
resource_id :: Lens' Resource Text Source #
The resource ID, used to refer to a resource in the Lambda function configuration. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group.
resource_name :: Lens' Resource Text Source #
The descriptive resource name, which is displayed on the AWS IoT Greengrass console. Max length 128 characters with pattern ''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group.
ResourceAccessPolicy
data ResourceAccessPolicy Source #
A policy used by the function to access a resource.
See: newResourceAccessPolicy
smart constructor.
ResourceAccessPolicy' | |
|
Instances
newResourceAccessPolicy Source #
Create a value of ResourceAccessPolicy
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:permission:ResourceAccessPolicy'
, resourceAccessPolicy_permission
- The permissions that the Lambda function has to the resource. Can be one
of ''rw'' (read/write) or ''ro'' (read-only).
$sel:resourceId:ResourceAccessPolicy'
, resourceAccessPolicy_resourceId
- The ID of the resource. (This ID is assigned to the resource when you
create the resource definiton.)
resourceAccessPolicy_permission :: Lens' ResourceAccessPolicy (Maybe Permission) Source #
The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).
resourceAccessPolicy_resourceId :: Lens' ResourceAccessPolicy Text Source #
The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)
ResourceDataContainer
data ResourceDataContainer Source #
A container for resource data. The container takes only one of the following supported resource data types: ''LocalDeviceResourceData'', ''LocalVolumeResourceData'', ''SageMakerMachineLearningModelResourceData'', ''S3MachineLearningModelResourceData'', ''SecretsManagerSecretResourceData''.
See: newResourceDataContainer
smart constructor.
ResourceDataContainer' | |
|
Instances
newResourceDataContainer :: ResourceDataContainer Source #
Create a value of ResourceDataContainer
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:s3MachineLearningModelResourceData:ResourceDataContainer'
, resourceDataContainer_s3MachineLearningModelResourceData
- Attributes that define an Amazon S3 machine learning resource.
$sel:sageMakerMachineLearningModelResourceData:ResourceDataContainer'
, resourceDataContainer_sageMakerMachineLearningModelResourceData
- Attributes that define an Amazon SageMaker machine learning resource.
$sel:localVolumeResourceData:ResourceDataContainer'
, resourceDataContainer_localVolumeResourceData
- Attributes that define the local volume resource.
$sel:localDeviceResourceData:ResourceDataContainer'
, resourceDataContainer_localDeviceResourceData
- Attributes that define the local device resource.
$sel:secretsManagerSecretResourceData:ResourceDataContainer'
, resourceDataContainer_secretsManagerSecretResourceData
- Attributes that define a secret resource, which references a secret from
AWS Secrets Manager.
resourceDataContainer_s3MachineLearningModelResourceData :: Lens' ResourceDataContainer (Maybe S3MachineLearningModelResourceData) Source #
Attributes that define an Amazon S3 machine learning resource.
resourceDataContainer_sageMakerMachineLearningModelResourceData :: Lens' ResourceDataContainer (Maybe SageMakerMachineLearningModelResourceData) Source #
Attributes that define an Amazon SageMaker machine learning resource.
resourceDataContainer_localVolumeResourceData :: Lens' ResourceDataContainer (Maybe LocalVolumeResourceData) Source #
Attributes that define the local volume resource.
resourceDataContainer_localDeviceResourceData :: Lens' ResourceDataContainer (Maybe LocalDeviceResourceData) Source #
Attributes that define the local device resource.
resourceDataContainer_secretsManagerSecretResourceData :: Lens' ResourceDataContainer (Maybe SecretsManagerSecretResourceData) Source #
Attributes that define a secret resource, which references a secret from AWS Secrets Manager.
ResourceDefinitionVersion
data ResourceDefinitionVersion Source #
Information about a resource definition version.
See: newResourceDefinitionVersion
smart constructor.
Instances
newResourceDefinitionVersion :: ResourceDefinitionVersion Source #
Create a value of ResourceDefinitionVersion
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:resources:ResourceDefinitionVersion'
, resourceDefinitionVersion_resources
- A list of resources.
resourceDefinitionVersion_resources :: Lens' ResourceDefinitionVersion (Maybe [Resource]) Source #
A list of resources.
ResourceDownloadOwnerSetting
data ResourceDownloadOwnerSetting Source #
The owner setting for downloaded machine learning resources.
See: newResourceDownloadOwnerSetting
smart constructor.
ResourceDownloadOwnerSetting' | |
|
Instances
newResourceDownloadOwnerSetting Source #
Create a value of ResourceDownloadOwnerSetting
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:groupOwner:ResourceDownloadOwnerSetting'
, resourceDownloadOwnerSetting_groupOwner
- The group owner of the resource. This is the name of an existing Linux
OS group on the system or a GID. The group's permissions are added to
the Lambda process.
$sel:groupPermission:ResourceDownloadOwnerSetting'
, resourceDownloadOwnerSetting_groupPermission
- The permissions that the group owner has to the resource. Valid values
are ''rw'' (read/write) or ''ro'' (read-only).
resourceDownloadOwnerSetting_groupOwner :: Lens' ResourceDownloadOwnerSetting Text Source #
The group owner of the resource. This is the name of an existing Linux OS group on the system or a GID. The group's permissions are added to the Lambda process.
resourceDownloadOwnerSetting_groupPermission :: Lens' ResourceDownloadOwnerSetting Permission Source #
The permissions that the group owner has to the resource. Valid values are ''rw'' (read/write) or ''ro'' (read-only).
RuntimeConfiguration
data RuntimeConfiguration Source #
Runtime configuration for a thing.
See: newRuntimeConfiguration
smart constructor.
RuntimeConfiguration' | |
|
Instances
newRuntimeConfiguration :: RuntimeConfiguration Source #
Create a value of RuntimeConfiguration
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:telemetryConfiguration:RuntimeConfiguration'
, runtimeConfiguration_telemetryConfiguration
- Configuration for telemetry service.
runtimeConfiguration_telemetryConfiguration :: Lens' RuntimeConfiguration (Maybe TelemetryConfiguration) Source #
Configuration for telemetry service.
S3MachineLearningModelResourceData
data S3MachineLearningModelResourceData Source #
Attributes that define an Amazon S3 machine learning resource.
See: newS3MachineLearningModelResourceData
smart constructor.
S3MachineLearningModelResourceData' | |
|
Instances
newS3MachineLearningModelResourceData :: S3MachineLearningModelResourceData Source #
Create a value of S3MachineLearningModelResourceData
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:ownerSetting:S3MachineLearningModelResourceData'
, s3MachineLearningModelResourceData_ownerSetting
- Undocumented member.
$sel:destinationPath:S3MachineLearningModelResourceData'
, s3MachineLearningModelResourceData_destinationPath
- The absolute local path of the resource inside the Lambda environment.
$sel:s3Uri:S3MachineLearningModelResourceData'
, s3MachineLearningModelResourceData_s3Uri
- The URI of the source model in an S3 bucket. The model package must be
in tar.gz or .zip format.
s3MachineLearningModelResourceData_ownerSetting :: Lens' S3MachineLearningModelResourceData (Maybe ResourceDownloadOwnerSetting) Source #
Undocumented member.
s3MachineLearningModelResourceData_destinationPath :: Lens' S3MachineLearningModelResourceData (Maybe Text) Source #
The absolute local path of the resource inside the Lambda environment.
s3MachineLearningModelResourceData_s3Uri :: Lens' S3MachineLearningModelResourceData (Maybe Text) Source #
The URI of the source model in an S3 bucket. The model package must be in tar.gz or .zip format.
SageMakerMachineLearningModelResourceData
data SageMakerMachineLearningModelResourceData Source #
Attributes that define an Amazon SageMaker machine learning resource.
See: newSageMakerMachineLearningModelResourceData
smart constructor.
SageMakerMachineLearningModelResourceData' | |
|
Instances
newSageMakerMachineLearningModelResourceData :: SageMakerMachineLearningModelResourceData Source #
Create a value of SageMakerMachineLearningModelResourceData
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:ownerSetting:SageMakerMachineLearningModelResourceData'
, sageMakerMachineLearningModelResourceData_ownerSetting
- Undocumented member.
$sel:sageMakerJobArn:SageMakerMachineLearningModelResourceData'
, sageMakerMachineLearningModelResourceData_sageMakerJobArn
- The ARN of the Amazon SageMaker training job that represents the source
model.
$sel:destinationPath:SageMakerMachineLearningModelResourceData'
, sageMakerMachineLearningModelResourceData_destinationPath
- The absolute local path of the resource inside the Lambda environment.
sageMakerMachineLearningModelResourceData_ownerSetting :: Lens' SageMakerMachineLearningModelResourceData (Maybe ResourceDownloadOwnerSetting) Source #
Undocumented member.
sageMakerMachineLearningModelResourceData_sageMakerJobArn :: Lens' SageMakerMachineLearningModelResourceData (Maybe Text) Source #
The ARN of the Amazon SageMaker training job that represents the source model.
sageMakerMachineLearningModelResourceData_destinationPath :: Lens' SageMakerMachineLearningModelResourceData (Maybe Text) Source #
The absolute local path of the resource inside the Lambda environment.
SecretsManagerSecretResourceData
data SecretsManagerSecretResourceData Source #
Attributes that define a secret resource, which references a secret from AWS Secrets Manager. AWS IoT Greengrass stores a local, encrypted copy of the secret on the Greengrass core, where it can be securely accessed by connectors and Lambda functions.
See: newSecretsManagerSecretResourceData
smart constructor.
SecretsManagerSecretResourceData' | |
|
Instances
newSecretsManagerSecretResourceData :: SecretsManagerSecretResourceData Source #
Create a value of SecretsManagerSecretResourceData
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:additionalStagingLabelsToDownload:SecretsManagerSecretResourceData'
, secretsManagerSecretResourceData_additionalStagingLabelsToDownload
- Optional. The staging labels whose values you want to make available on
the core, in addition to ''AWSCURRENT''.
$sel:arn:SecretsManagerSecretResourceData'
, secretsManagerSecretResourceData_arn
- The ARN of the Secrets Manager secret to make available on the core. The
value of the secret's latest version (represented by the
''AWSCURRENT'' staging label) is included by default.
secretsManagerSecretResourceData_additionalStagingLabelsToDownload :: Lens' SecretsManagerSecretResourceData (Maybe [Text]) Source #
Optional. The staging labels whose values you want to make available on the core, in addition to ''AWSCURRENT''.
secretsManagerSecretResourceData_arn :: Lens' SecretsManagerSecretResourceData (Maybe Text) Source #
The ARN of the Secrets Manager secret to make available on the core. The value of the secret's latest version (represented by the ''AWSCURRENT'' staging label) is included by default.
Subscription
data Subscription Source #
Information about a subscription.
See: newSubscription
smart constructor.
Subscription' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> Subscription |
Create a value of Subscription
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:target:Subscription'
, subscription_target
- Where the message is sent to. Can be a thing ARN, a Lambda function ARN,
a connector ARN, 'cloud' (which represents the AWS IoT cloud), or
'GGShadowService'.
$sel:id:Subscription'
, subscription_id
- A descriptive or arbitrary ID for the subscription. This value must be
unique within the subscription definition version. Max length is 128
characters with pattern ''[a-zA-Z0-9:_-]+''.
$sel:subject:Subscription'
, subscription_subject
- The MQTT topic used to route the message.
$sel:source:Subscription'
, subscription_source
- The source of the subscription. Can be a thing ARN, a Lambda function
ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or
'GGShadowService'.
subscription_target :: Lens' Subscription Text Source #
Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.
subscription_id :: Lens' Subscription Text Source #
A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.
subscription_subject :: Lens' Subscription Text Source #
The MQTT topic used to route the message.
subscription_source :: Lens' Subscription Text Source #
The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.
SubscriptionDefinitionVersion
data SubscriptionDefinitionVersion Source #
Information about a subscription definition version.
See: newSubscriptionDefinitionVersion
smart constructor.
SubscriptionDefinitionVersion' | |
|
Instances
Eq SubscriptionDefinitionVersion Source # | |
Read SubscriptionDefinitionVersion Source # | |
Show SubscriptionDefinitionVersion Source # | |
Generic SubscriptionDefinitionVersion Source # | |
NFData SubscriptionDefinitionVersion Source # | |
Defined in Amazonka.Greengrass.Types.SubscriptionDefinitionVersion rnf :: SubscriptionDefinitionVersion -> () # | |
Hashable SubscriptionDefinitionVersion Source # | |
ToJSON SubscriptionDefinitionVersion Source # | |
FromJSON SubscriptionDefinitionVersion Source # | |
type Rep SubscriptionDefinitionVersion Source # | |
Defined in Amazonka.Greengrass.Types.SubscriptionDefinitionVersion type Rep SubscriptionDefinitionVersion = D1 ('MetaData "SubscriptionDefinitionVersion" "Amazonka.Greengrass.Types.SubscriptionDefinitionVersion" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "SubscriptionDefinitionVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subscriptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Subscription])))) |
newSubscriptionDefinitionVersion :: SubscriptionDefinitionVersion Source #
Create a value of SubscriptionDefinitionVersion
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:subscriptions:SubscriptionDefinitionVersion'
, subscriptionDefinitionVersion_subscriptions
- A list of subscriptions.
subscriptionDefinitionVersion_subscriptions :: Lens' SubscriptionDefinitionVersion (Maybe [Subscription]) Source #
A list of subscriptions.
TelemetryConfiguration
data TelemetryConfiguration Source #
Configuration settings for running telemetry.
See: newTelemetryConfiguration
smart constructor.
TelemetryConfiguration' | |
|
Instances
newTelemetryConfiguration Source #
Create a value of TelemetryConfiguration
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:configurationSyncStatus:TelemetryConfiguration'
, telemetryConfiguration_configurationSyncStatus
- Synchronization status of the device reported configuration with the
desired configuration.
$sel:telemetry:TelemetryConfiguration'
, telemetryConfiguration_telemetry
- Configure telemetry to be on or off.
telemetryConfiguration_configurationSyncStatus :: Lens' TelemetryConfiguration (Maybe ConfigurationSyncStatus) Source #
Synchronization status of the device reported configuration with the desired configuration.
telemetryConfiguration_telemetry :: Lens' TelemetryConfiguration Telemetry Source #
Configure telemetry to be on or off.
TelemetryConfigurationUpdate
data TelemetryConfigurationUpdate Source #
Configuration settings for running telemetry.
See: newTelemetryConfigurationUpdate
smart constructor.
Instances
Eq TelemetryConfigurationUpdate Source # | |
Read TelemetryConfigurationUpdate Source # | |
Show TelemetryConfigurationUpdate Source # | |
Generic TelemetryConfigurationUpdate Source # | |
NFData TelemetryConfigurationUpdate Source # | |
Defined in Amazonka.Greengrass.Types.TelemetryConfigurationUpdate rnf :: TelemetryConfigurationUpdate -> () # | |
Hashable TelemetryConfigurationUpdate Source # | |
ToJSON TelemetryConfigurationUpdate Source # | |
type Rep TelemetryConfigurationUpdate Source # | |
Defined in Amazonka.Greengrass.Types.TelemetryConfigurationUpdate type Rep TelemetryConfigurationUpdate = D1 ('MetaData "TelemetryConfigurationUpdate" "Amazonka.Greengrass.Types.TelemetryConfigurationUpdate" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "TelemetryConfigurationUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "telemetry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Telemetry))) |
newTelemetryConfigurationUpdate Source #
Create a value of TelemetryConfigurationUpdate
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:telemetry:TelemetryConfigurationUpdate'
, telemetryConfigurationUpdate_telemetry
- Configure telemetry to be on or off.
telemetryConfigurationUpdate_telemetry :: Lens' TelemetryConfigurationUpdate Telemetry Source #
Configure telemetry to be on or off.
VersionInformation
data VersionInformation Source #
Information about a version.
See: newVersionInformation
smart constructor.
Instances
newVersionInformation :: VersionInformation Source #
Create a value of VersionInformation
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:VersionInformation'
, versionInformation_arn
- The ARN of the version.
$sel:creationTimestamp:VersionInformation'
, versionInformation_creationTimestamp
- The time, in milliseconds since the epoch, when the version was created.
$sel:version:VersionInformation'
, versionInformation_version
- The ID of the version.
$sel:id:VersionInformation'
, versionInformation_id
- The ID of the parent definition that the version is associated with.
versionInformation_arn :: Lens' VersionInformation (Maybe Text) Source #
The ARN of the version.
versionInformation_creationTimestamp :: Lens' VersionInformation (Maybe Text) Source #
The time, in milliseconds since the epoch, when the version was created.
versionInformation_version :: Lens' VersionInformation (Maybe Text) Source #
The ID of the version.
versionInformation_id :: Lens' VersionInformation (Maybe Text) Source #
The ID of the parent definition that the version is associated with.