Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
- Service Configuration
- Errors
- DeploymentType
- EncodingType
- LoggerComponent
- LoggerLevel
- LoggerType
- Permission
- SoftwareToUpdate
- UpdateAgentLogLevel
- UpdateTargetsArchitecture
- UpdateTargetsOperatingSystem
- ConnectivityInfo
- Core
- CoreDefinitionVersion
- DefinitionInformation
- Deployment
- Device
- DeviceDefinitionVersion
- ErrorDetail
- Function
- FunctionConfiguration
- FunctionConfigurationEnvironment
- FunctionDefinitionVersion
- GreengrassLogger
- GroupCertificateAuthorityProperties
- GroupInformation
- GroupOwnerSetting
- GroupVersion
- LocalDeviceResourceData
- LocalVolumeResourceData
- LoggerDefinitionVersion
- Resource
- ResourceAccessPolicy
- ResourceDataContainer
- ResourceDefinitionVersion
- S3MachineLearningModelResourceData
- SageMakerMachineLearningModelResourceData
- Subscription
- SubscriptionDefinitionVersion
- VersionInformation
- greengrass :: Service
- _InternalServerErrorException :: AsError a => Getting (First ServiceError) a ServiceError
- _BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- data DeploymentType
- data EncodingType
- data LoggerComponent
- data LoggerLevel
- data LoggerType
- data Permission
- data SoftwareToUpdate
- data UpdateAgentLogLevel
- data UpdateTargetsArchitecture
- data UpdateTargetsOperatingSystem
- data ConnectivityInfo
- connectivityInfo :: ConnectivityInfo
- ciPortNumber :: Lens' ConnectivityInfo (Maybe Int)
- ciId :: Lens' ConnectivityInfo (Maybe Text)
- ciMetadata :: Lens' ConnectivityInfo (Maybe Text)
- ciHostAddress :: Lens' ConnectivityInfo (Maybe Text)
- data Core
- core :: Core
- cCertificateARN :: Lens' Core (Maybe Text)
- cThingARN :: Lens' Core (Maybe Text)
- cSyncShadow :: Lens' Core (Maybe Bool)
- cId :: Lens' Core (Maybe Text)
- data CoreDefinitionVersion
- coreDefinitionVersion :: CoreDefinitionVersion
- cdvCores :: Lens' CoreDefinitionVersion [Core]
- data DefinitionInformation
- definitionInformation :: DefinitionInformation
- diLatestVersionARN :: Lens' DefinitionInformation (Maybe Text)
- diARN :: Lens' DefinitionInformation (Maybe Text)
- diName :: Lens' DefinitionInformation (Maybe Text)
- diCreationTimestamp :: Lens' DefinitionInformation (Maybe Text)
- diId :: Lens' DefinitionInformation (Maybe Text)
- diLatestVersion :: Lens' DefinitionInformation (Maybe Text)
- diLastUpdatedTimestamp :: Lens' DefinitionInformation (Maybe Text)
- data Deployment
- deployment :: Deployment
- dDeploymentId :: Lens' Deployment (Maybe Text)
- dDeploymentARN :: Lens' Deployment (Maybe Text)
- dCreatedAt :: Lens' Deployment (Maybe Text)
- dDeploymentType :: Lens' Deployment (Maybe DeploymentType)
- dGroupARN :: Lens' Deployment (Maybe Text)
- data Device
- device :: Device
- dCertificateARN :: Lens' Device (Maybe Text)
- dThingARN :: Lens' Device (Maybe Text)
- dSyncShadow :: Lens' Device (Maybe Bool)
- dId :: Lens' Device (Maybe Text)
- data DeviceDefinitionVersion
- deviceDefinitionVersion :: DeviceDefinitionVersion
- ddvDevices :: Lens' DeviceDefinitionVersion [Device]
- data ErrorDetail
- errorDetail :: ErrorDetail
- edDetailedErrorCode :: Lens' ErrorDetail (Maybe Text)
- edDetailedErrorMessage :: Lens' ErrorDetail (Maybe Text)
- data Function
- function :: Function
- fFunctionARN :: Lens' Function (Maybe Text)
- fFunctionConfiguration :: Lens' Function (Maybe FunctionConfiguration)
- fId :: Lens' Function (Maybe Text)
- data FunctionConfiguration
- functionConfiguration :: FunctionConfiguration
- fcMemorySize :: Lens' FunctionConfiguration (Maybe Int)
- fcExecArgs :: Lens' FunctionConfiguration (Maybe Text)
- fcEnvironment :: Lens' FunctionConfiguration (Maybe FunctionConfigurationEnvironment)
- fcExecutable :: Lens' FunctionConfiguration (Maybe Text)
- fcPinned :: Lens' FunctionConfiguration (Maybe Bool)
- fcEncodingType :: Lens' FunctionConfiguration (Maybe EncodingType)
- fcTimeout :: Lens' FunctionConfiguration (Maybe Int)
- data FunctionConfigurationEnvironment
- functionConfigurationEnvironment :: FunctionConfigurationEnvironment
- fceVariables :: Lens' FunctionConfigurationEnvironment (HashMap Text Text)
- fceResourceAccessPolicies :: Lens' FunctionConfigurationEnvironment [ResourceAccessPolicy]
- fceAccessSysfs :: Lens' FunctionConfigurationEnvironment (Maybe Bool)
- data FunctionDefinitionVersion
- functionDefinitionVersion :: FunctionDefinitionVersion
- fdvFunctions :: Lens' FunctionDefinitionVersion [Function]
- data GreengrassLogger
- greengrassLogger :: GreengrassLogger
- glSpace :: Lens' GreengrassLogger (Maybe Int)
- glComponent :: Lens' GreengrassLogger (Maybe LoggerComponent)
- glId :: Lens' GreengrassLogger (Maybe Text)
- glType :: Lens' GreengrassLogger (Maybe LoggerType)
- glLevel :: Lens' GreengrassLogger (Maybe LoggerLevel)
- data GroupCertificateAuthorityProperties
- groupCertificateAuthorityProperties :: GroupCertificateAuthorityProperties
- gcapGroupCertificateAuthorityARN :: Lens' GroupCertificateAuthorityProperties (Maybe Text)
- gcapGroupCertificateAuthorityId :: Lens' GroupCertificateAuthorityProperties (Maybe Text)
- data GroupInformation
- groupInformation :: GroupInformation
- giLatestVersionARN :: Lens' GroupInformation (Maybe Text)
- giARN :: Lens' GroupInformation (Maybe Text)
- giName :: Lens' GroupInformation (Maybe Text)
- giCreationTimestamp :: Lens' GroupInformation (Maybe Text)
- giId :: Lens' GroupInformation (Maybe Text)
- giLatestVersion :: Lens' GroupInformation (Maybe Text)
- giLastUpdatedTimestamp :: Lens' GroupInformation (Maybe Text)
- data GroupOwnerSetting
- groupOwnerSetting :: GroupOwnerSetting
- gosAutoAddGroupOwner :: Lens' GroupOwnerSetting (Maybe Bool)
- gosGroupOwner :: Lens' GroupOwnerSetting (Maybe Text)
- data GroupVersion
- groupVersion :: GroupVersion
- gvResourceDefinitionVersionARN :: Lens' GroupVersion (Maybe Text)
- gvSubscriptionDefinitionVersionARN :: Lens' GroupVersion (Maybe Text)
- gvCoreDefinitionVersionARN :: Lens' GroupVersion (Maybe Text)
- gvDeviceDefinitionVersionARN :: Lens' GroupVersion (Maybe Text)
- gvFunctionDefinitionVersionARN :: Lens' GroupVersion (Maybe Text)
- gvLoggerDefinitionVersionARN :: Lens' GroupVersion (Maybe Text)
- data LocalDeviceResourceData
- localDeviceResourceData :: LocalDeviceResourceData
- ldrdGroupOwnerSetting :: Lens' LocalDeviceResourceData (Maybe GroupOwnerSetting)
- ldrdSourcePath :: Lens' LocalDeviceResourceData (Maybe Text)
- data LocalVolumeResourceData
- localVolumeResourceData :: LocalVolumeResourceData
- lvrdGroupOwnerSetting :: Lens' LocalVolumeResourceData (Maybe GroupOwnerSetting)
- lvrdDestinationPath :: Lens' LocalVolumeResourceData (Maybe Text)
- lvrdSourcePath :: Lens' LocalVolumeResourceData (Maybe Text)
- data LoggerDefinitionVersion
- loggerDefinitionVersion :: LoggerDefinitionVersion
- ldvLoggers :: Lens' LoggerDefinitionVersion [GreengrassLogger]
- data Resource
- resource :: Resource
- rResourceDataContainer :: Lens' Resource (Maybe ResourceDataContainer)
- rName :: Lens' Resource (Maybe Text)
- rId :: Lens' Resource (Maybe Text)
- data ResourceAccessPolicy
- resourceAccessPolicy :: ResourceAccessPolicy
- rapResourceId :: Lens' ResourceAccessPolicy (Maybe Text)
- rapPermission :: Lens' ResourceAccessPolicy (Maybe Permission)
- data ResourceDataContainer
- resourceDataContainer :: ResourceDataContainer
- rdcS3MachineLearningModelResourceData :: Lens' ResourceDataContainer (Maybe S3MachineLearningModelResourceData)
- rdcSageMakerMachineLearningModelResourceData :: Lens' ResourceDataContainer (Maybe SageMakerMachineLearningModelResourceData)
- rdcLocalVolumeResourceData :: Lens' ResourceDataContainer (Maybe LocalVolumeResourceData)
- rdcLocalDeviceResourceData :: Lens' ResourceDataContainer (Maybe LocalDeviceResourceData)
- data ResourceDefinitionVersion
- resourceDefinitionVersion :: ResourceDefinitionVersion
- rdvResources :: Lens' ResourceDefinitionVersion [Resource]
- data S3MachineLearningModelResourceData
- s3MachineLearningModelResourceData :: S3MachineLearningModelResourceData
- smlmrdDestinationPath :: Lens' S3MachineLearningModelResourceData (Maybe Text)
- smlmrdS3URI :: Lens' S3MachineLearningModelResourceData (Maybe Text)
- data SageMakerMachineLearningModelResourceData
- sageMakerMachineLearningModelResourceData :: SageMakerMachineLearningModelResourceData
- smmlmrdSageMakerJobARN :: Lens' SageMakerMachineLearningModelResourceData (Maybe Text)
- smmlmrdDestinationPath :: Lens' SageMakerMachineLearningModelResourceData (Maybe Text)
- data Subscription
- subscription :: Subscription
- sSubject :: Lens' Subscription (Maybe Text)
- sSource :: Lens' Subscription (Maybe Text)
- sId :: Lens' Subscription (Maybe Text)
- sTarget :: Lens' Subscription (Maybe Text)
- data SubscriptionDefinitionVersion
- subscriptionDefinitionVersion :: SubscriptionDefinitionVersion
- sdvSubscriptions :: Lens' SubscriptionDefinitionVersion [Subscription]
- data VersionInformation
- versionInformation :: VersionInformation
- viARN :: Lens' VersionInformation (Maybe Text)
- viCreationTimestamp :: Lens' VersionInformation (Maybe Text)
- viVersion :: Lens' VersionInformation (Maybe Text)
- viId :: Lens' VersionInformation (Maybe Text)
Service Configuration
greengrass :: 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.
DeploymentType
data DeploymentType Source #
EncodingType
data EncodingType Source #
LoggerComponent
data LoggerComponent Source #
LoggerLevel
data LoggerLevel Source #
LoggerType
data LoggerType Source #
Permission
data Permission Source #
The type of permission a function has to access a resource.
SoftwareToUpdate
data SoftwareToUpdate Source #
The piece of software on the Greengrass core that will be updated.
UpdateAgentLogLevel
data UpdateAgentLogLevel Source #
The minimum level of log statements that should be logged by the OTA Agent during an update.
UpdateTargetsArchitecture
data UpdateTargetsArchitecture Source #
The architecture of the cores which are the targets of an update.
UpdateTargetsOperatingSystem
data UpdateTargetsOperatingSystem Source #
The operating system of the cores which are the targets of an update.
ConnectivityInfo
data ConnectivityInfo Source #
Information about a Greengrass core's connectivity.
See: connectivityInfo
smart constructor.
connectivityInfo :: ConnectivityInfo Source #
Creates a value of ConnectivityInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ciPortNumber
- The port of the Greengrass core. Usually 8883.ciId
- The ID of the connectivity information.ciMetadata
- Metadata for this endpoint.ciHostAddress
- The endpoint for the Greengrass core. Can be an IP address or DNS.
ciPortNumber :: Lens' ConnectivityInfo (Maybe Int) Source #
The port of the Greengrass core. Usually 8883.
ciMetadata :: Lens' ConnectivityInfo (Maybe Text) Source #
Metadata for this endpoint.
ciHostAddress :: Lens' ConnectivityInfo (Maybe Text) Source #
The endpoint for the Greengrass core. Can be an IP address or DNS.
Core
Information about a core.
See: core
smart constructor.
Creates a value of Core
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cCertificateARN
- The ARN of the certificate associated with the core.cThingARN
- The ARN of the thing which is the core.cSyncShadow
- If true, the core's local shadow is automatically synced with the cloud.cId
- The ID of the core.
cCertificateARN :: Lens' Core (Maybe Text) Source #
The ARN of the certificate associated with the core.
cSyncShadow :: Lens' Core (Maybe Bool) Source #
If true, the core's local shadow is automatically synced with the cloud.
CoreDefinitionVersion
data CoreDefinitionVersion Source #
Information about a core definition version.
See: coreDefinitionVersion
smart constructor.
coreDefinitionVersion :: CoreDefinitionVersion Source #
Creates a value of CoreDefinitionVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdvCores
- A list of cores in the core definition version.
cdvCores :: Lens' CoreDefinitionVersion [Core] Source #
A list of cores in the core definition version.
DefinitionInformation
data DefinitionInformation Source #
Information about a definition.
See: definitionInformation
smart constructor.
definitionInformation :: DefinitionInformation Source #
Creates a value of DefinitionInformation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
diLatestVersionARN
- The ARN of the latest version of the definition.diARN
- The ARN of the definition.diName
- The name of the definition.diCreationTimestamp
- The time, in milliseconds since the epoch, when the definition was created.diId
- The ID of the definition.diLatestVersion
- The latest version of the definition.diLastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last updated.
diLatestVersionARN :: Lens' DefinitionInformation (Maybe Text) Source #
The ARN of the latest version of the definition.
diCreationTimestamp :: Lens' DefinitionInformation (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was created.
diLatestVersion :: Lens' DefinitionInformation (Maybe Text) Source #
The latest version of the definition.
diLastUpdatedTimestamp :: 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: deployment
smart constructor.
deployment :: Deployment Source #
Creates a value of Deployment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dDeploymentId
- The ID of the deployment.dDeploymentARN
- The ARN of the deployment.dCreatedAt
- The time, in milliseconds since the epoch, when the deployment was created.dDeploymentType
- The type of the deployment.dGroupARN
- The ARN of the group for this deployment.
dDeploymentId :: Lens' Deployment (Maybe Text) Source #
The ID of the deployment.
dDeploymentARN :: Lens' Deployment (Maybe Text) Source #
The ARN of the deployment.
dCreatedAt :: Lens' Deployment (Maybe Text) Source #
The time, in milliseconds since the epoch, when the deployment was created.
dDeploymentType :: Lens' Deployment (Maybe DeploymentType) Source #
The type of the deployment.
Device
Information about a device.
See: device
smart constructor.
Creates a value of Device
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dCertificateARN
- The ARN of the certificate associated with the device.dThingARN
- The thing ARN of the device.dSyncShadow
- If true, the device's local shadow will be automatically synced with the cloud.dId
- The ID of the device.
dCertificateARN :: Lens' Device (Maybe Text) Source #
The ARN of the certificate associated with the device.
dSyncShadow :: Lens' Device (Maybe Bool) Source #
If true, the device's local shadow will be automatically synced with the cloud.
DeviceDefinitionVersion
data DeviceDefinitionVersion Source #
Information about a device definition version.
See: deviceDefinitionVersion
smart constructor.
deviceDefinitionVersion :: DeviceDefinitionVersion Source #
Creates a value of DeviceDefinitionVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddvDevices
- A list of devices in the definition version.
ddvDevices :: Lens' DeviceDefinitionVersion [Device] Source #
A list of devices in the definition version.
ErrorDetail
data ErrorDetail Source #
Details about the error.
See: errorDetail
smart constructor.
errorDetail :: ErrorDetail Source #
Creates a value of ErrorDetail
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
edDetailedErrorCode
- A detailed error code.edDetailedErrorMessage
- A detailed error message.
edDetailedErrorCode :: Lens' ErrorDetail (Maybe Text) Source #
A detailed error code.
edDetailedErrorMessage :: Lens' ErrorDetail (Maybe Text) Source #
A detailed error message.
Function
Information about a Lambda function.
See: function
smart constructor.
Creates a value of Function
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fFunctionARN
- The ARN of the Lambda function.fFunctionConfiguration
- The configuration of the Lambda function.fId
- The ID of the Lambda function.
fFunctionConfiguration :: Lens' Function (Maybe FunctionConfiguration) Source #
The configuration of the Lambda function.
FunctionConfiguration
data FunctionConfiguration Source #
The configuration of the Lambda function.
See: functionConfiguration
smart constructor.
functionConfiguration :: FunctionConfiguration Source #
Creates a value of FunctionConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fcMemorySize
- The memory size, in KB, which the function requires.fcExecArgs
- The execution arguments.fcEnvironment
- The environment configuration of the function.fcExecutable
- The name of the function executable.fcPinned
- True if the function is pinned. Pinned means the function is long-lived and starts when the core starts.fcEncodingType
- The expected encoding type of the input payload for the function. The default is 'json'
.fcTimeout
- The allowed function execution time, after which Lambda should terminate the function. This timeout still applies to pinned lambdas for each request.
fcMemorySize :: Lens' FunctionConfiguration (Maybe Int) Source #
The memory size, in KB, which the function requires.
fcExecArgs :: Lens' FunctionConfiguration (Maybe Text) Source #
The execution arguments.
fcEnvironment :: Lens' FunctionConfiguration (Maybe FunctionConfigurationEnvironment) Source #
The environment configuration of the function.
fcExecutable :: Lens' FunctionConfiguration (Maybe Text) Source #
The name of the function executable.
fcPinned :: Lens' FunctionConfiguration (Maybe Bool) Source #
True if the function is pinned. Pinned means the function is long-lived and starts when the core starts.
fcEncodingType :: Lens' FunctionConfiguration (Maybe EncodingType) Source #
The expected encoding type of the input payload for the function. The default is 'json'
.
fcTimeout :: Lens' FunctionConfiguration (Maybe Int) Source #
The allowed function execution time, after which Lambda should terminate the function. This timeout still applies to pinned lambdas for each request.
FunctionConfigurationEnvironment
data FunctionConfigurationEnvironment Source #
The environment configuration of the function.
See: functionConfigurationEnvironment
smart constructor.
functionConfigurationEnvironment :: FunctionConfigurationEnvironment Source #
Creates a value of FunctionConfigurationEnvironment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fceVariables
- Environment variables for the Lambda function's configuration.fceResourceAccessPolicies
- 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.fceAccessSysfs
- 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.
fceVariables :: Lens' FunctionConfigurationEnvironment (HashMap Text Text) Source #
Environment variables for the Lambda function's configuration.
fceResourceAccessPolicies :: Lens' FunctionConfigurationEnvironment [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.
fceAccessSysfs :: 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.
FunctionDefinitionVersion
data FunctionDefinitionVersion Source #
Information about a function definition version.
See: functionDefinitionVersion
smart constructor.
functionDefinitionVersion :: FunctionDefinitionVersion Source #
Creates a value of FunctionDefinitionVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fdvFunctions
- A list of Lambda functions in this function definition version.
fdvFunctions :: Lens' FunctionDefinitionVersion [Function] Source #
A list of Lambda functions in this function definition version.
GreengrassLogger
data GreengrassLogger Source #
Information about a logger
See: greengrassLogger
smart constructor.
greengrassLogger :: GreengrassLogger Source #
Creates a value of GreengrassLogger
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
glSpace
- The amount of file space, in KB, to use if the local file system is used for logging purposes.glComponent
- The component that will be subject to logging.glId
- The id of the logger.glType
- The type of log output which will be used.glLevel
- The level of the logs.
glSpace :: Lens' GreengrassLogger (Maybe Int) Source #
The amount of file space, in KB, to use if the local file system is used for logging purposes.
glComponent :: Lens' GreengrassLogger (Maybe LoggerComponent) Source #
The component that will be subject to logging.
glType :: Lens' GreengrassLogger (Maybe LoggerType) Source #
The type of log output which will be used.
glLevel :: Lens' GreengrassLogger (Maybe LoggerLevel) Source #
The level of the logs.
GroupCertificateAuthorityProperties
data GroupCertificateAuthorityProperties Source #
Information about a certificate authority for a group.
See: groupCertificateAuthorityProperties
smart constructor.
groupCertificateAuthorityProperties :: GroupCertificateAuthorityProperties Source #
Creates a value of GroupCertificateAuthorityProperties
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcapGroupCertificateAuthorityARN
- The ARN of the certificate authority for the group.gcapGroupCertificateAuthorityId
- The ID of the certificate authority for the group.
gcapGroupCertificateAuthorityARN :: Lens' GroupCertificateAuthorityProperties (Maybe Text) Source #
The ARN of the certificate authority for the group.
gcapGroupCertificateAuthorityId :: Lens' GroupCertificateAuthorityProperties (Maybe Text) Source #
The ID of the certificate authority for the group.
GroupInformation
data GroupInformation Source #
Information about a group.
See: groupInformation
smart constructor.
groupInformation :: GroupInformation Source #
Creates a value of GroupInformation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
giLatestVersionARN
- The ARN of the latest version of the group.giARN
- The ARN of the group.giName
- The name of the group.giCreationTimestamp
- The time, in milliseconds since the epoch, when the group was created.giId
- The ID of the group.giLatestVersion
- The latest version of the group.giLastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the group was last updated.
giLatestVersionARN :: Lens' GroupInformation (Maybe Text) Source #
The ARN of the latest version of the group.
giCreationTimestamp :: Lens' GroupInformation (Maybe Text) Source #
The time, in milliseconds since the epoch, when the group was created.
giLatestVersion :: Lens' GroupInformation (Maybe Text) Source #
The latest version of the group.
giLastUpdatedTimestamp :: 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: groupOwnerSetting
smart constructor.
groupOwnerSetting :: GroupOwnerSetting Source #
Creates a value of GroupOwnerSetting
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gosAutoAddGroupOwner
- If true, 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.gosGroupOwner
- The name of the Linux OS group whose privileges will be added to the Lambda process. This field is optional.
gosAutoAddGroupOwner :: Lens' GroupOwnerSetting (Maybe Bool) Source #
If true, 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.
gosGroupOwner :: 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: groupVersion
smart constructor.
groupVersion :: GroupVersion Source #
Creates a value of GroupVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gvResourceDefinitionVersionARN
- The resource definition version ARN for this group.gvSubscriptionDefinitionVersionARN
- The ARN of the subscription definition version for this group.gvCoreDefinitionVersionARN
- The ARN of the core definition version for this group.gvDeviceDefinitionVersionARN
- The ARN of the device definition version for this group.gvFunctionDefinitionVersionARN
- The ARN of the function definition version for this group.gvLoggerDefinitionVersionARN
- The ARN of the logger definition version for this group.
gvResourceDefinitionVersionARN :: Lens' GroupVersion (Maybe Text) Source #
The resource definition version ARN for this group.
gvSubscriptionDefinitionVersionARN :: Lens' GroupVersion (Maybe Text) Source #
The ARN of the subscription definition version for this group.
gvCoreDefinitionVersionARN :: Lens' GroupVersion (Maybe Text) Source #
The ARN of the core definition version for this group.
gvDeviceDefinitionVersionARN :: Lens' GroupVersion (Maybe Text) Source #
The ARN of the device definition version for this group.
gvFunctionDefinitionVersionARN :: Lens' GroupVersion (Maybe Text) Source #
The ARN of the function definition version for this group.
gvLoggerDefinitionVersionARN :: Lens' GroupVersion (Maybe Text) Source #
The ARN of the logger definition version for this group.
LocalDeviceResourceData
data LocalDeviceResourceData Source #
Attributes that define a local device resource.
See: localDeviceResourceData
smart constructor.
localDeviceResourceData :: LocalDeviceResourceData Source #
Creates a value of LocalDeviceResourceData
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldrdGroupOwnerSetting
- Group/owner related settings for local resources.ldrdSourcePath
- 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''.
ldrdGroupOwnerSetting :: Lens' LocalDeviceResourceData (Maybe GroupOwnerSetting) Source #
Group/owner related settings for local resources.
ldrdSourcePath :: 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: localVolumeResourceData
smart constructor.
localVolumeResourceData :: LocalVolumeResourceData Source #
Creates a value of LocalVolumeResourceData
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lvrdGroupOwnerSetting
- Allows you to configure additional group privileges for the Lambda process. This field is optional.lvrdDestinationPath
- The absolute local path of the resource inside the lambda environment.lvrdSourcePath
- The local absolute path of the volume resource on the host. The source path for a volume resource type cannot start with ''/proc'' or ''/sys''.
lvrdGroupOwnerSetting :: Lens' LocalVolumeResourceData (Maybe GroupOwnerSetting) Source #
Allows you to configure additional group privileges for the Lambda process. This field is optional.
lvrdDestinationPath :: Lens' LocalVolumeResourceData (Maybe Text) Source #
The absolute local path of the resource inside the lambda environment.
lvrdSourcePath :: 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 ''/proc'' or ''/sys''.
LoggerDefinitionVersion
data LoggerDefinitionVersion Source #
Information about a logger definition version.
See: loggerDefinitionVersion
smart constructor.
loggerDefinitionVersion :: LoggerDefinitionVersion Source #
Creates a value of LoggerDefinitionVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldvLoggers
- A list of loggers.
ldvLoggers :: Lens' LoggerDefinitionVersion [GreengrassLogger] Source #
A list of loggers.
Resource
Information about a resource.
See: resource
smart constructor.
Creates a value of Resource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rResourceDataContainer
- A container of data for all resource types.rName
- The descriptive resource name, which is displayed on the Greengrass console. Max length 128 characters with pattern ''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group.rId
- 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.
rResourceDataContainer :: Lens' Resource (Maybe ResourceDataContainer) Source #
A container of data for all resource types.
rName :: Lens' Resource (Maybe Text) Source #
The descriptive resource name, which is displayed on the Greengrass console. Max length 128 characters with pattern ''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group.
rId :: Lens' Resource (Maybe 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.
ResourceAccessPolicy
data ResourceAccessPolicy Source #
A policy used by the function to access a resource.
See: resourceAccessPolicy
smart constructor.
resourceAccessPolicy :: ResourceAccessPolicy Source #
Creates a value of ResourceAccessPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rapResourceId
- The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)rapPermission
- The permissions that the Lambda function has to the resource. Can be one of 'rw'
(read/write) or 'ro'
(read-only).
rapResourceId :: Lens' ResourceAccessPolicy (Maybe Text) Source #
The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)
rapPermission :: 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).
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'
.
See: resourceDataContainer
smart constructor.
resourceDataContainer :: ResourceDataContainer Source #
Creates a value of ResourceDataContainer
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rdcS3MachineLearningModelResourceData
- Attributes that define an S3 machine learning resource.rdcSageMakerMachineLearningModelResourceData
- Attributes that define an SageMaker machine learning resource.rdcLocalVolumeResourceData
- Attributes that define the local volume resource.rdcLocalDeviceResourceData
- Attributes that define the local device resource.
rdcS3MachineLearningModelResourceData :: Lens' ResourceDataContainer (Maybe S3MachineLearningModelResourceData) Source #
Attributes that define an S3 machine learning resource.
rdcSageMakerMachineLearningModelResourceData :: Lens' ResourceDataContainer (Maybe SageMakerMachineLearningModelResourceData) Source #
Attributes that define an SageMaker machine learning resource.
rdcLocalVolumeResourceData :: Lens' ResourceDataContainer (Maybe LocalVolumeResourceData) Source #
Attributes that define the local volume resource.
rdcLocalDeviceResourceData :: Lens' ResourceDataContainer (Maybe LocalDeviceResourceData) Source #
Attributes that define the local device resource.
ResourceDefinitionVersion
data ResourceDefinitionVersion Source #
Information about a resource definition version.
See: resourceDefinitionVersion
smart constructor.
resourceDefinitionVersion :: ResourceDefinitionVersion Source #
Creates a value of ResourceDefinitionVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rdvResources
- A list of resources.
rdvResources :: Lens' ResourceDefinitionVersion [Resource] Source #
A list of resources.
S3MachineLearningModelResourceData
data S3MachineLearningModelResourceData Source #
Attributes that define an S3 machine learning resource.
See: s3MachineLearningModelResourceData
smart constructor.
s3MachineLearningModelResourceData :: S3MachineLearningModelResourceData Source #
Creates a value of S3MachineLearningModelResourceData
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
smlmrdDestinationPath
- The absolute local path of the resource inside the Lambda environment.smlmrdS3URI
- The URI of the source model in an S3 bucket. The model package must be in tar.gz or .zip format.
smlmrdDestinationPath :: Lens' S3MachineLearningModelResourceData (Maybe Text) Source #
The absolute local path of the resource inside the Lambda environment.
smlmrdS3URI :: 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 SageMaker machine learning resource.
See: sageMakerMachineLearningModelResourceData
smart constructor.
sageMakerMachineLearningModelResourceData :: SageMakerMachineLearningModelResourceData Source #
Creates a value of SageMakerMachineLearningModelResourceData
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
smmlmrdSageMakerJobARN
- The ARN of the SageMaker training job that represents the source model.smmlmrdDestinationPath
- The absolute local path of the resource inside the Lambda environment.
smmlmrdSageMakerJobARN :: Lens' SageMakerMachineLearningModelResourceData (Maybe Text) Source #
The ARN of the SageMaker training job that represents the source model.
smmlmrdDestinationPath :: Lens' SageMakerMachineLearningModelResourceData (Maybe Text) Source #
The absolute local path of the resource inside the Lambda environment.
Subscription
data Subscription Source #
Information about a subscription.
See: subscription
smart constructor.
subscription :: Subscription Source #
Creates a value of Subscription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sSubject
- The subject of the message.sSource
- The source of the subscription. Can be a thing ARN, a Lambda function ARN,cloud
(which represents the IoT cloud), orGGShadowService
.sId
- The id of the subscription.sTarget
- Where the message is sent to. Can be a thing ARN, a Lambda function ARN,cloud
(which represents the IoT cloud), orGGShadowService
.
sSource :: Lens' Subscription (Maybe Text) Source #
The source of the subscription. Can be a thing ARN, a Lambda function ARN, cloud
(which represents the IoT cloud), or GGShadowService
.
sTarget :: Lens' Subscription (Maybe Text) Source #
Where the message is sent to. Can be a thing ARN, a Lambda function ARN, cloud
(which represents the IoT cloud), or GGShadowService
.
SubscriptionDefinitionVersion
data SubscriptionDefinitionVersion Source #
Information about a subscription definition version.
See: subscriptionDefinitionVersion
smart constructor.
subscriptionDefinitionVersion :: SubscriptionDefinitionVersion Source #
Creates a value of SubscriptionDefinitionVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdvSubscriptions
- A list of subscriptions.
sdvSubscriptions :: Lens' SubscriptionDefinitionVersion [Subscription] Source #
A list of subscriptions.
VersionInformation
data VersionInformation Source #
Information about a version.
See: versionInformation
smart constructor.
versionInformation :: VersionInformation Source #
Creates a value of VersionInformation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
viARN
- The ARN of the version.viCreationTimestamp
- The time, in milliseconds since the epoch, when the version was created.viVersion
- The unique ID of the version.viId
- The ID of the version.
viCreationTimestamp :: Lens' VersionInformation (Maybe Text) Source #
The time, in milliseconds since the epoch, when the version was created.