Skip to content

Commit 6ae52af

Browse files
author
AWS
committed
AWS Greengrass Update: This release includes the ability to set run-time configuration for a Greengrass core. The Telemetry feature, also included in this release, can be configured via run-time configuration per core.
1 parent e34e061 commit 6ae52af

File tree

2 files changed

+146
-0
lines changed

2 files changed

+146
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Greengrass",
4+
"description": "This release includes the ability to set run-time configuration for a Greengrass core. The Telemetry feature, also included in this release, can be configured via run-time configuration per core."
5+
}

services/greengrass/src/main/resources/codegen-resources/service-2.json

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,6 +1096,29 @@
10961096
} ],
10971097
"documentation" : "Retrieves information about a subscription definition version."
10981098
},
1099+
"GetThingRuntimeConfiguration" : {
1100+
"name" : "GetThingRuntimeConfiguration",
1101+
"http" : {
1102+
"method" : "GET",
1103+
"requestUri" : "/greengrass/things/{ThingName}/runtimeconfig",
1104+
"responseCode" : 200
1105+
},
1106+
"input" : {
1107+
"shape" : "GetThingRuntimeConfigurationRequest"
1108+
},
1109+
"output" : {
1110+
"shape" : "GetThingRuntimeConfigurationResponse",
1111+
"documentation" : "Success. The response contains the runtime configuration for the given thing."
1112+
},
1113+
"errors" : [ {
1114+
"shape" : "BadRequestException",
1115+
"documentation" : "invalid request"
1116+
}, {
1117+
"shape" : "InternalServerErrorException",
1118+
"documentation" : "server error"
1119+
} ],
1120+
"documentation" : "Get the runtime configuration of a thing."
1121+
},
10991122
"ListBulkDeploymentDetailedReports" : {
11001123
"name" : "ListBulkDeploymentDetailedReports",
11011124
"http" : {
@@ -1781,6 +1804,29 @@
17811804
"documentation" : "invalid request"
17821805
} ],
17831806
"documentation" : "Updates a subscription definition."
1807+
},
1808+
"UpdateThingRuntimeConfiguration" : {
1809+
"name" : "UpdateThingRuntimeConfiguration",
1810+
"http" : {
1811+
"method" : "PUT",
1812+
"requestUri" : "/greengrass/things/{ThingName}/runtimeconfig",
1813+
"responseCode" : 200
1814+
},
1815+
"input" : {
1816+
"shape" : "UpdateThingRuntimeConfigurationRequest"
1817+
},
1818+
"output" : {
1819+
"shape" : "UpdateThingRuntimeConfigurationResponse",
1820+
"documentation" : "success"
1821+
},
1822+
"errors" : [ {
1823+
"shape" : "BadRequestException",
1824+
"documentation" : "invalid request"
1825+
}, {
1826+
"shape" : "InternalServerErrorException",
1827+
"documentation" : "server error"
1828+
} ],
1829+
"documentation" : "Updates the runtime configuration of a thing."
17841830
}
17851831
},
17861832
"shapes" : {
@@ -1937,6 +1983,10 @@
19371983
"shape" : "BulkDeployment"
19381984
}
19391985
},
1986+
"ConfigurationSyncStatus" : {
1987+
"type" : "string",
1988+
"enum" : [ "InSync", "OutOfSync" ]
1989+
},
19401990
"ConnectivityInfo" : {
19411991
"type" : "structure",
19421992
"members" : {
@@ -4418,6 +4468,27 @@
44184468
}
44194469
}
44204470
},
4471+
"GetThingRuntimeConfigurationRequest" : {
4472+
"type" : "structure",
4473+
"members" : {
4474+
"ThingName" : {
4475+
"shape" : "__string",
4476+
"location" : "uri",
4477+
"locationName" : "ThingName",
4478+
"documentation" : "The thing name."
4479+
}
4480+
},
4481+
"required" : [ "ThingName" ]
4482+
},
4483+
"GetThingRuntimeConfigurationResponse" : {
4484+
"type" : "structure",
4485+
"members" : {
4486+
"RuntimeConfiguration" : {
4487+
"shape" : "RuntimeConfiguration",
4488+
"documentation" : "Runtime configuration for a thing."
4489+
}
4490+
}
4491+
},
44214492
"GroupCertificateAuthorityProperties" : {
44224493
"type" : "structure",
44234494
"members" : {
@@ -5466,6 +5537,26 @@
54665537
"documentation" : "The owner setting for downloaded machine learning resources.",
54675538
"required" : [ "GroupOwner", "GroupPermission" ]
54685539
},
5540+
"RuntimeConfiguration" : {
5541+
"type" : "structure",
5542+
"members" : {
5543+
"TelemetryConfiguration" : {
5544+
"shape" : "TelemetryConfiguration",
5545+
"documentation" : "Configuration for telemetry service."
5546+
}
5547+
},
5548+
"documentation" : "Runtime configuration for a thing."
5549+
},
5550+
"RuntimeConfigurationUpdate" : {
5551+
"type" : "structure",
5552+
"members" : {
5553+
"TelemetryConfiguration" : {
5554+
"shape" : "TelemetryConfigurationUpdate",
5555+
"documentation" : "Configuration for telemetry service."
5556+
}
5557+
},
5558+
"documentation" : "Runtime configuration for a thing."
5559+
},
54695560
"S3MachineLearningModelResourceData" : {
54705561
"type" : "structure",
54715562
"members" : {
@@ -5635,6 +5726,36 @@
56355726
"shape" : "__string"
56365727
}
56375728
},
5729+
"Telemetry" : {
5730+
"type" : "string",
5731+
"enum" : [ "On", "Off" ]
5732+
},
5733+
"TelemetryConfiguration" : {
5734+
"type" : "structure",
5735+
"members" : {
5736+
"ConfigurationSyncStatus" : {
5737+
"shape" : "ConfigurationSyncStatus",
5738+
"documentation" : "Synchronization status of the device reported configuration with the desired configuration."
5739+
},
5740+
"Telemetry" : {
5741+
"shape" : "Telemetry",
5742+
"documentation" : "Configure telemetry to be on or off."
5743+
}
5744+
},
5745+
"documentation" : "Configuration settings for running telemetry.",
5746+
"required" : [ "Telemetry" ]
5747+
},
5748+
"TelemetryConfigurationUpdate" : {
5749+
"type" : "structure",
5750+
"members" : {
5751+
"Telemetry" : {
5752+
"shape" : "Telemetry",
5753+
"documentation" : "Configure telemetry to be on or off."
5754+
}
5755+
},
5756+
"documentation" : "Configuration settings for running telemetry.",
5757+
"required" : [ "Telemetry" ]
5758+
},
56385759
"UntagResourceRequest" : {
56395760
"type" : "structure",
56405761
"members" : {
@@ -5899,6 +6020,26 @@
58996020
"documentation" : "The operating system of the cores which are the targets of an update.",
59006021
"enum" : [ "ubuntu", "raspbian", "amazon_linux", "openwrt" ]
59016022
},
6023+
"UpdateThingRuntimeConfigurationRequest" : {
6024+
"type" : "structure",
6025+
"members" : {
6026+
"TelemetryConfiguration" : {
6027+
"shape" : "TelemetryConfigurationUpdate",
6028+
"documentation" : "Configuration for telemetry service."
6029+
},
6030+
"ThingName" : {
6031+
"shape" : "__string",
6032+
"location" : "uri",
6033+
"locationName" : "ThingName",
6034+
"documentation" : "The thing name."
6035+
}
6036+
},
6037+
"required" : [ "ThingName" ]
6038+
},
6039+
"UpdateThingRuntimeConfigurationResponse" : {
6040+
"type" : "structure",
6041+
"members" : { }
6042+
},
59026043
"VersionInformation" : {
59036044
"type" : "structure",
59046045
"members" : {

0 commit comments

Comments
 (0)