Copyright | (c) 2013-2017 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
- LoggerComponent
- LoggerLevel
- LoggerType
- ConnectivityInfo
- Core
- CoreDefinitionVersion
- DefinitionInformation
- Deployment
- Device
- DeviceDefinitionVersion
- ErrorDetail
- Function
- FunctionConfiguration
- FunctionConfigurationEnvironment
- FunctionDefinitionVersion
- GreengrassLogger
- GroupCertificateAuthorityProperties
- GroupInformation
- GroupVersion
- LoggerDefinitionVersion
- Subscription
- SubscriptionDefinitionVersion
- VersionInformation
- greengrass :: Service
- _InternalServerErrorException :: AsError a => Getting (First ServiceError) a ServiceError
- _BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- data DeploymentType
- data LoggerComponent
- data LoggerLevel
- data LoggerType
- 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)
- fcTimeout :: Lens' FunctionConfiguration (Maybe Int)
- data FunctionConfigurationEnvironment
- functionConfigurationEnvironment :: FunctionConfigurationEnvironment
- fceVariables :: Lens' FunctionConfigurationEnvironment (HashMap Text Text)
- 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 GroupVersion
- groupVersion :: GroupVersion
- 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 LoggerDefinitionVersion
- loggerDefinitionVersion :: LoggerDefinitionVersion
- ldvLoggers :: Lens' LoggerDefinitionVersion [GreengrassLogger]
- 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
_BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
General Error
DeploymentType
data DeploymentType Source #
LoggerComponent
data LoggerComponent Source #
LoggerLevel
data LoggerLevel Source #
LoggerType
data LoggerType Source #
ConnectivityInfo
data ConnectivityInfo Source #
Connectivity Info
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
- Port of the GGC. Usually 8883.ciId
- Element Id for this entry in the list.ciMetadata
- Metadata for this endpoint.ciHostAddress
- Endpoint for the GGC. Can be an IP address or DNS.
ciPortNumber :: Lens' ConnectivityInfo (Maybe Int) Source #
Port of the GGC. Usually 8883.
ciMetadata :: Lens' ConnectivityInfo (Maybe Text) Source #
Metadata for this endpoint.
ciHostAddress :: Lens' ConnectivityInfo (Maybe Text) Source #
Endpoint for the GGC. Can be an IP address or DNS.
Core
Information on the 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
- Certificate arn of the core.cThingARN
- Thing arn of the core.cSyncShadow
- If true, the local shadow value automatically syncs with the cloud's shadow state.cId
- Element Id for this entry in the list.
cSyncShadow :: Lens' Core (Maybe Bool) Source #
If true, the local shadow value automatically syncs with the cloud's shadow state.
CoreDefinitionVersion
data CoreDefinitionVersion Source #
Information on 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
- Cores in the definition version.
DefinitionInformation
data DefinitionInformation Source #
Information on the 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
- Latest version arn of the definition.diARN
- Arn of the definition.diName
- Name of the definition.diCreationTimestamp
- Timestamp of when the definition was created.diId
- Id of the definition.diLatestVersion
- Last version of the definition.diLastUpdatedTimestamp
- Last updated timestamp of the definition.
diLatestVersionARN :: Lens' DefinitionInformation (Maybe Text) Source #
Latest version arn of the definition.
diCreationTimestamp :: Lens' DefinitionInformation (Maybe Text) Source #
Timestamp of when the definition was created.
diLatestVersion :: Lens' DefinitionInformation (Maybe Text) Source #
Last version of the definition.
diLastUpdatedTimestamp :: Lens' DefinitionInformation (Maybe Text) Source #
Last updated timestamp of the definition.
Deployment
data Deployment Source #
Information on the 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
- Id of the deployment.dDeploymentARN
- Arn of the deployment.dCreatedAt
- Timestamp when the deployment was created.dDeploymentType
- The type of deployment.dGroupARN
- Arn of the group for this deployment.
dDeploymentId :: Lens' Deployment (Maybe Text) Source #
Id of the deployment.
dDeploymentARN :: Lens' Deployment (Maybe Text) Source #
Arn of the deployment.
dCreatedAt :: Lens' Deployment (Maybe Text) Source #
Timestamp when the deployment was created.
dDeploymentType :: Lens' Deployment (Maybe DeploymentType) Source #
The type of deployment.
Device
Information on 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
- Certificate arn of the device.dThingARN
- Thing arn of the device.dSyncShadow
- If true, the local shadow value automatically syncs with the cloud's shadow state.dId
- Element Id for this entry in the list.
dSyncShadow :: Lens' Device (Maybe Bool) Source #
If true, the local shadow value automatically syncs with the cloud's shadow state.
DeviceDefinitionVersion
data DeviceDefinitionVersion Source #
Information on 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
- Devices in the definition version.
ddvDevices :: Lens' DeviceDefinitionVersion [Device] Source #
Devices in the definition version.
ErrorDetail
data ErrorDetail Source #
ErrorDetail
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
- Detailed Error CodeedDetailedErrorMessage
- Detailed Error Message
edDetailedErrorCode :: Lens' ErrorDetail (Maybe Text) Source #
Detailed Error Code
edDetailedErrorMessage :: Lens' ErrorDetail (Maybe Text) Source #
Detailed Error Message
Function
Information on 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
- Arn of the Lambda function.fFunctionConfiguration
- Configuration of the functionfId
- Id of the function in this version.
fFunctionConfiguration :: Lens' Function (Maybe FunctionConfiguration) Source #
Configuration of the function
FunctionConfiguration
data FunctionConfiguration Source #
Configuration of the 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, you configured for the function.fcExecArgs
- Execution ArgumentsfcEnvironment
- Environment of the function configurationfcExecutable
- ExecutablefcPinned
- Whether the function is pinned or not. Pinned means the function is long-lived and starts when the core starts.fcTimeout
- The function execution time at 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, you configured for the function.
fcExecArgs :: Lens' FunctionConfiguration (Maybe Text) Source #
Execution Arguments
fcEnvironment :: Lens' FunctionConfiguration (Maybe FunctionConfigurationEnvironment) Source #
Environment of the function configuration
fcExecutable :: Lens' FunctionConfiguration (Maybe Text) Source #
Executable
fcPinned :: Lens' FunctionConfiguration (Maybe Bool) Source #
Whether the function is pinned or not. Pinned means the function is long-lived and starts when the core starts.
fcTimeout :: Lens' FunctionConfiguration (Maybe Int) Source #
The function execution time at which Lambda should terminate the function. This timeout still applies to pinned lambdas for each request.
FunctionConfigurationEnvironment
data FunctionConfigurationEnvironment Source #
Environment of the function configuration
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.
fceVariables :: Lens' FunctionConfigurationEnvironment (HashMap Text Text) Source #
Environment variables for the lambda function.
FunctionDefinitionVersion
data FunctionDefinitionVersion Source #
Information on the 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
- Lambda functions in this function definition version.
fdvFunctions :: Lens' FunctionDefinitionVersion [Function] Source #
Lambda functions in this function definition version.
GreengrassLogger
data GreengrassLogger Source #
Information on the 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
- Amount of hardware space, in KB, to use if file system is used for logging purposes.glComponent
- The component that will be subject to logsglId
- Element Id for this entry in the list.glType
- The type which will be use for log outputglLevel
- The level of the logs
glSpace :: Lens' GreengrassLogger (Maybe Int) Source #
Amount of hardware space, in KB, to use if file system is used for logging purposes.
glComponent :: Lens' GreengrassLogger (Maybe LoggerComponent) Source #
The component that will be subject to logs
glType :: Lens' GreengrassLogger (Maybe LoggerType) Source #
The type which will be use for log output
glLevel :: Lens' GreengrassLogger (Maybe LoggerLevel) Source #
The level of the logs
GroupCertificateAuthorityProperties
data GroupCertificateAuthorityProperties Source #
Information on group certificate authority properties
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
- Arn of the certificate authority for the group.gcapGroupCertificateAuthorityId
- Id of the certificate authority for the group.
gcapGroupCertificateAuthorityARN :: Lens' GroupCertificateAuthorityProperties (Maybe Text) Source #
Arn of the certificate authority for the group.
gcapGroupCertificateAuthorityId :: Lens' GroupCertificateAuthorityProperties (Maybe Text) Source #
Id of the certificate authority for the group.
GroupInformation
data GroupInformation Source #
Information on the 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
- Latest version arn of the group.giARN
- Arn of a group.giName
- Name of a group.giCreationTimestamp
- Timestamp of when the group was created.giId
- Id of a group.giLatestVersion
- Last version of the group.giLastUpdatedTimestamp
- Last updated timestamp of the group.
giLatestVersionARN :: Lens' GroupInformation (Maybe Text) Source #
Latest version arn of the group.
giCreationTimestamp :: Lens' GroupInformation (Maybe Text) Source #
Timestamp of when the group was created.
giLatestVersion :: Lens' GroupInformation (Maybe Text) Source #
Last version of the group.
giLastUpdatedTimestamp :: Lens' GroupInformation (Maybe Text) Source #
Last updated timestamp of the group.
GroupVersion
data GroupVersion Source #
Information on 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:
gvSubscriptionDefinitionVersionARN
- Subscription definition version arn for this group.gvCoreDefinitionVersionARN
- Core definition version arn for this group.gvDeviceDefinitionVersionARN
- Device definition version arn for this group.gvFunctionDefinitionVersionARN
- Function definition version arn for this group.gvLoggerDefinitionVersionARN
- Logger definitionv ersion arn for this group.
gvSubscriptionDefinitionVersionARN :: Lens' GroupVersion (Maybe Text) Source #
Subscription definition version arn for this group.
gvCoreDefinitionVersionARN :: Lens' GroupVersion (Maybe Text) Source #
Core definition version arn for this group.
gvDeviceDefinitionVersionARN :: Lens' GroupVersion (Maybe Text) Source #
Device definition version arn for this group.
gvFunctionDefinitionVersionARN :: Lens' GroupVersion (Maybe Text) Source #
Function definition version arn for this group.
gvLoggerDefinitionVersionARN :: Lens' GroupVersion (Maybe Text) Source #
Logger definitionv ersion arn for this group.
LoggerDefinitionVersion
data LoggerDefinitionVersion Source #
Information on 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
- List of loggers.
ldvLoggers :: Lens' LoggerDefinitionVersion [GreengrassLogger] Source #
List of loggers.
Subscription
data Subscription Source #
Information on 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:
sSource :: Lens' Subscription (Maybe Text) Source #
Source of the subscription. Can be a thing arn, lambda arn or word cloud
sTarget :: Lens' Subscription (Maybe Text) Source #
Where the message is sent to. Can be a thing arn, lambda arn or word cloud
.
SubscriptionDefinitionVersion
data SubscriptionDefinitionVersion Source #
Information on 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
- Subscriptions in the version.
sdvSubscriptions :: Lens' SubscriptionDefinitionVersion [Subscription] Source #
Subscriptions in the version.
VersionInformation
data VersionInformation Source #
Information on the 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
- Arn of the version.viCreationTimestamp
- Timestamp of when the version was created.viVersion
- Unique Id of a version.viId
- Id of the resource container.
viCreationTimestamp :: Lens' VersionInformation (Maybe Text) Source #
Timestamp of when the version was created.