UNPKG

136 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {ServiceConfigurationOptions} from '../lib/service';
6import {ConfigBase as Config} from '../lib/config';
7interface Blob {}
8declare class Greengrass extends Service {
9 /**
10 * Constructs a service object. This object has one method for each API operation.
11 */
12 constructor(options?: Greengrass.Types.ClientConfiguration)
13 config: Config & Greengrass.Types.ClientConfiguration;
14 /**
15 * Associates a role with a group. Your Greengrass core will use the role to access AWS cloud services. The role's permissions should allow Greengrass core Lambda functions to perform actions against the cloud.
16 */
17 associateRoleToGroup(params: Greengrass.Types.AssociateRoleToGroupRequest, callback?: (err: AWSError, data: Greengrass.Types.AssociateRoleToGroupResponse) => void): Request<Greengrass.Types.AssociateRoleToGroupResponse, AWSError>;
18 /**
19 * Associates a role with a group. Your Greengrass core will use the role to access AWS cloud services. The role's permissions should allow Greengrass core Lambda functions to perform actions against the cloud.
20 */
21 associateRoleToGroup(callback?: (err: AWSError, data: Greengrass.Types.AssociateRoleToGroupResponse) => void): Request<Greengrass.Types.AssociateRoleToGroupResponse, AWSError>;
22 /**
23 * Associates a role with your account. AWS IoT Greengrass will use the role to access your Lambda functions and AWS IoT resources. This is necessary for deployments to succeed. The role must have at least minimum permissions in the policy ''AWSGreengrassResourceAccessRolePolicy''.
24 */
25 associateServiceRoleToAccount(params: Greengrass.Types.AssociateServiceRoleToAccountRequest, callback?: (err: AWSError, data: Greengrass.Types.AssociateServiceRoleToAccountResponse) => void): Request<Greengrass.Types.AssociateServiceRoleToAccountResponse, AWSError>;
26 /**
27 * Associates a role with your account. AWS IoT Greengrass will use the role to access your Lambda functions and AWS IoT resources. This is necessary for deployments to succeed. The role must have at least minimum permissions in the policy ''AWSGreengrassResourceAccessRolePolicy''.
28 */
29 associateServiceRoleToAccount(callback?: (err: AWSError, data: Greengrass.Types.AssociateServiceRoleToAccountResponse) => void): Request<Greengrass.Types.AssociateServiceRoleToAccountResponse, AWSError>;
30 /**
31 * Creates a connector definition. You may provide the initial version of the connector definition now or use ''CreateConnectorDefinitionVersion'' at a later time.
32 */
33 createConnectorDefinition(params: Greengrass.Types.CreateConnectorDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateConnectorDefinitionResponse) => void): Request<Greengrass.Types.CreateConnectorDefinitionResponse, AWSError>;
34 /**
35 * Creates a connector definition. You may provide the initial version of the connector definition now or use ''CreateConnectorDefinitionVersion'' at a later time.
36 */
37 createConnectorDefinition(callback?: (err: AWSError, data: Greengrass.Types.CreateConnectorDefinitionResponse) => void): Request<Greengrass.Types.CreateConnectorDefinitionResponse, AWSError>;
38 /**
39 * Creates a version of a connector definition which has already been defined.
40 */
41 createConnectorDefinitionVersion(params: Greengrass.Types.CreateConnectorDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateConnectorDefinitionVersionResponse) => void): Request<Greengrass.Types.CreateConnectorDefinitionVersionResponse, AWSError>;
42 /**
43 * Creates a version of a connector definition which has already been defined.
44 */
45 createConnectorDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.CreateConnectorDefinitionVersionResponse) => void): Request<Greengrass.Types.CreateConnectorDefinitionVersionResponse, AWSError>;
46 /**
47 * Creates a core definition. You may provide the initial version of the core definition now or use ''CreateCoreDefinitionVersion'' at a later time. Greengrass groups must each contain exactly one Greengrass core.
48 */
49 createCoreDefinition(params: Greengrass.Types.CreateCoreDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateCoreDefinitionResponse) => void): Request<Greengrass.Types.CreateCoreDefinitionResponse, AWSError>;
50 /**
51 * Creates a core definition. You may provide the initial version of the core definition now or use ''CreateCoreDefinitionVersion'' at a later time. Greengrass groups must each contain exactly one Greengrass core.
52 */
53 createCoreDefinition(callback?: (err: AWSError, data: Greengrass.Types.CreateCoreDefinitionResponse) => void): Request<Greengrass.Types.CreateCoreDefinitionResponse, AWSError>;
54 /**
55 * Creates a version of a core definition that has already been defined. Greengrass groups must each contain exactly one Greengrass core.
56 */
57 createCoreDefinitionVersion(params: Greengrass.Types.CreateCoreDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateCoreDefinitionVersionResponse) => void): Request<Greengrass.Types.CreateCoreDefinitionVersionResponse, AWSError>;
58 /**
59 * Creates a version of a core definition that has already been defined. Greengrass groups must each contain exactly one Greengrass core.
60 */
61 createCoreDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.CreateCoreDefinitionVersionResponse) => void): Request<Greengrass.Types.CreateCoreDefinitionVersionResponse, AWSError>;
62 /**
63 * Creates a deployment. ''CreateDeployment'' requests are idempotent with respect to the ''X-Amzn-Client-Token'' token and the request parameters.
64 */
65 createDeployment(params: Greengrass.Types.CreateDeploymentRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateDeploymentResponse) => void): Request<Greengrass.Types.CreateDeploymentResponse, AWSError>;
66 /**
67 * Creates a deployment. ''CreateDeployment'' requests are idempotent with respect to the ''X-Amzn-Client-Token'' token and the request parameters.
68 */
69 createDeployment(callback?: (err: AWSError, data: Greengrass.Types.CreateDeploymentResponse) => void): Request<Greengrass.Types.CreateDeploymentResponse, AWSError>;
70 /**
71 * Creates a device definition. You may provide the initial version of the device definition now or use ''CreateDeviceDefinitionVersion'' at a later time.
72 */
73 createDeviceDefinition(params: Greengrass.Types.CreateDeviceDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateDeviceDefinitionResponse) => void): Request<Greengrass.Types.CreateDeviceDefinitionResponse, AWSError>;
74 /**
75 * Creates a device definition. You may provide the initial version of the device definition now or use ''CreateDeviceDefinitionVersion'' at a later time.
76 */
77 createDeviceDefinition(callback?: (err: AWSError, data: Greengrass.Types.CreateDeviceDefinitionResponse) => void): Request<Greengrass.Types.CreateDeviceDefinitionResponse, AWSError>;
78 /**
79 * Creates a version of a device definition that has already been defined.
80 */
81 createDeviceDefinitionVersion(params: Greengrass.Types.CreateDeviceDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateDeviceDefinitionVersionResponse) => void): Request<Greengrass.Types.CreateDeviceDefinitionVersionResponse, AWSError>;
82 /**
83 * Creates a version of a device definition that has already been defined.
84 */
85 createDeviceDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.CreateDeviceDefinitionVersionResponse) => void): Request<Greengrass.Types.CreateDeviceDefinitionVersionResponse, AWSError>;
86 /**
87 * Creates a Lambda function definition which contains a list of Lambda functions and their configurations to be used in a group. You can create an initial version of the definition by providing a list of Lambda functions and their configurations now, or use ''CreateFunctionDefinitionVersion'' later.
88 */
89 createFunctionDefinition(params: Greengrass.Types.CreateFunctionDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateFunctionDefinitionResponse) => void): Request<Greengrass.Types.CreateFunctionDefinitionResponse, AWSError>;
90 /**
91 * Creates a Lambda function definition which contains a list of Lambda functions and their configurations to be used in a group. You can create an initial version of the definition by providing a list of Lambda functions and their configurations now, or use ''CreateFunctionDefinitionVersion'' later.
92 */
93 createFunctionDefinition(callback?: (err: AWSError, data: Greengrass.Types.CreateFunctionDefinitionResponse) => void): Request<Greengrass.Types.CreateFunctionDefinitionResponse, AWSError>;
94 /**
95 * Creates a version of a Lambda function definition that has already been defined.
96 */
97 createFunctionDefinitionVersion(params: Greengrass.Types.CreateFunctionDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateFunctionDefinitionVersionResponse) => void): Request<Greengrass.Types.CreateFunctionDefinitionVersionResponse, AWSError>;
98 /**
99 * Creates a version of a Lambda function definition that has already been defined.
100 */
101 createFunctionDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.CreateFunctionDefinitionVersionResponse) => void): Request<Greengrass.Types.CreateFunctionDefinitionVersionResponse, AWSError>;
102 /**
103 * Creates a group. You may provide the initial version of the group or use ''CreateGroupVersion'' at a later time. Tip: You can use the ''gg_group_setup'' package (https://github.com/awslabs/aws-greengrass-group-setup) as a library or command-line application to create and deploy Greengrass groups.
104 */
105 createGroup(params: Greengrass.Types.CreateGroupRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateGroupResponse) => void): Request<Greengrass.Types.CreateGroupResponse, AWSError>;
106 /**
107 * Creates a group. You may provide the initial version of the group or use ''CreateGroupVersion'' at a later time. Tip: You can use the ''gg_group_setup'' package (https://github.com/awslabs/aws-greengrass-group-setup) as a library or command-line application to create and deploy Greengrass groups.
108 */
109 createGroup(callback?: (err: AWSError, data: Greengrass.Types.CreateGroupResponse) => void): Request<Greengrass.Types.CreateGroupResponse, AWSError>;
110 /**
111 * Creates a CA for the group. If a CA already exists, it will rotate the existing CA.
112 */
113 createGroupCertificateAuthority(params: Greengrass.Types.CreateGroupCertificateAuthorityRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateGroupCertificateAuthorityResponse) => void): Request<Greengrass.Types.CreateGroupCertificateAuthorityResponse, AWSError>;
114 /**
115 * Creates a CA for the group. If a CA already exists, it will rotate the existing CA.
116 */
117 createGroupCertificateAuthority(callback?: (err: AWSError, data: Greengrass.Types.CreateGroupCertificateAuthorityResponse) => void): Request<Greengrass.Types.CreateGroupCertificateAuthorityResponse, AWSError>;
118 /**
119 * Creates a version of a group which has already been defined.
120 */
121 createGroupVersion(params: Greengrass.Types.CreateGroupVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateGroupVersionResponse) => void): Request<Greengrass.Types.CreateGroupVersionResponse, AWSError>;
122 /**
123 * Creates a version of a group which has already been defined.
124 */
125 createGroupVersion(callback?: (err: AWSError, data: Greengrass.Types.CreateGroupVersionResponse) => void): Request<Greengrass.Types.CreateGroupVersionResponse, AWSError>;
126 /**
127 * Creates a logger definition. You may provide the initial version of the logger definition now or use ''CreateLoggerDefinitionVersion'' at a later time.
128 */
129 createLoggerDefinition(params: Greengrass.Types.CreateLoggerDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateLoggerDefinitionResponse) => void): Request<Greengrass.Types.CreateLoggerDefinitionResponse, AWSError>;
130 /**
131 * Creates a logger definition. You may provide the initial version of the logger definition now or use ''CreateLoggerDefinitionVersion'' at a later time.
132 */
133 createLoggerDefinition(callback?: (err: AWSError, data: Greengrass.Types.CreateLoggerDefinitionResponse) => void): Request<Greengrass.Types.CreateLoggerDefinitionResponse, AWSError>;
134 /**
135 * Creates a version of a logger definition that has already been defined.
136 */
137 createLoggerDefinitionVersion(params: Greengrass.Types.CreateLoggerDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateLoggerDefinitionVersionResponse) => void): Request<Greengrass.Types.CreateLoggerDefinitionVersionResponse, AWSError>;
138 /**
139 * Creates a version of a logger definition that has already been defined.
140 */
141 createLoggerDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.CreateLoggerDefinitionVersionResponse) => void): Request<Greengrass.Types.CreateLoggerDefinitionVersionResponse, AWSError>;
142 /**
143 * Creates a resource definition which contains a list of resources to be used in a group. You can create an initial version of the definition by providing a list of resources now, or use ''CreateResourceDefinitionVersion'' later.
144 */
145 createResourceDefinition(params: Greengrass.Types.CreateResourceDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateResourceDefinitionResponse) => void): Request<Greengrass.Types.CreateResourceDefinitionResponse, AWSError>;
146 /**
147 * Creates a resource definition which contains a list of resources to be used in a group. You can create an initial version of the definition by providing a list of resources now, or use ''CreateResourceDefinitionVersion'' later.
148 */
149 createResourceDefinition(callback?: (err: AWSError, data: Greengrass.Types.CreateResourceDefinitionResponse) => void): Request<Greengrass.Types.CreateResourceDefinitionResponse, AWSError>;
150 /**
151 * Creates a version of a resource definition that has already been defined.
152 */
153 createResourceDefinitionVersion(params: Greengrass.Types.CreateResourceDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateResourceDefinitionVersionResponse) => void): Request<Greengrass.Types.CreateResourceDefinitionVersionResponse, AWSError>;
154 /**
155 * Creates a version of a resource definition that has already been defined.
156 */
157 createResourceDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.CreateResourceDefinitionVersionResponse) => void): Request<Greengrass.Types.CreateResourceDefinitionVersionResponse, AWSError>;
158 /**
159 * Creates a software update for a core or group of cores (specified as an IoT thing group.) Use this to update the OTA Agent as well as the Greengrass core software. It makes use of the IoT Jobs feature which provides additional commands to manage a Greengrass core software update job.
160 */
161 createSoftwareUpdateJob(params: Greengrass.Types.CreateSoftwareUpdateJobRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateSoftwareUpdateJobResponse) => void): Request<Greengrass.Types.CreateSoftwareUpdateJobResponse, AWSError>;
162 /**
163 * Creates a software update for a core or group of cores (specified as an IoT thing group.) Use this to update the OTA Agent as well as the Greengrass core software. It makes use of the IoT Jobs feature which provides additional commands to manage a Greengrass core software update job.
164 */
165 createSoftwareUpdateJob(callback?: (err: AWSError, data: Greengrass.Types.CreateSoftwareUpdateJobResponse) => void): Request<Greengrass.Types.CreateSoftwareUpdateJobResponse, AWSError>;
166 /**
167 * Creates a subscription definition. You may provide the initial version of the subscription definition now or use ''CreateSubscriptionDefinitionVersion'' at a later time.
168 */
169 createSubscriptionDefinition(params: Greengrass.Types.CreateSubscriptionDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateSubscriptionDefinitionResponse) => void): Request<Greengrass.Types.CreateSubscriptionDefinitionResponse, AWSError>;
170 /**
171 * Creates a subscription definition. You may provide the initial version of the subscription definition now or use ''CreateSubscriptionDefinitionVersion'' at a later time.
172 */
173 createSubscriptionDefinition(callback?: (err: AWSError, data: Greengrass.Types.CreateSubscriptionDefinitionResponse) => void): Request<Greengrass.Types.CreateSubscriptionDefinitionResponse, AWSError>;
174 /**
175 * Creates a version of a subscription definition which has already been defined.
176 */
177 createSubscriptionDefinitionVersion(params: Greengrass.Types.CreateSubscriptionDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateSubscriptionDefinitionVersionResponse) => void): Request<Greengrass.Types.CreateSubscriptionDefinitionVersionResponse, AWSError>;
178 /**
179 * Creates a version of a subscription definition which has already been defined.
180 */
181 createSubscriptionDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.CreateSubscriptionDefinitionVersionResponse) => void): Request<Greengrass.Types.CreateSubscriptionDefinitionVersionResponse, AWSError>;
182 /**
183 * Deletes a connector definition.
184 */
185 deleteConnectorDefinition(params: Greengrass.Types.DeleteConnectorDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.DeleteConnectorDefinitionResponse) => void): Request<Greengrass.Types.DeleteConnectorDefinitionResponse, AWSError>;
186 /**
187 * Deletes a connector definition.
188 */
189 deleteConnectorDefinition(callback?: (err: AWSError, data: Greengrass.Types.DeleteConnectorDefinitionResponse) => void): Request<Greengrass.Types.DeleteConnectorDefinitionResponse, AWSError>;
190 /**
191 * Deletes a core definition.
192 */
193 deleteCoreDefinition(params: Greengrass.Types.DeleteCoreDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.DeleteCoreDefinitionResponse) => void): Request<Greengrass.Types.DeleteCoreDefinitionResponse, AWSError>;
194 /**
195 * Deletes a core definition.
196 */
197 deleteCoreDefinition(callback?: (err: AWSError, data: Greengrass.Types.DeleteCoreDefinitionResponse) => void): Request<Greengrass.Types.DeleteCoreDefinitionResponse, AWSError>;
198 /**
199 * Deletes a device definition.
200 */
201 deleteDeviceDefinition(params: Greengrass.Types.DeleteDeviceDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.DeleteDeviceDefinitionResponse) => void): Request<Greengrass.Types.DeleteDeviceDefinitionResponse, AWSError>;
202 /**
203 * Deletes a device definition.
204 */
205 deleteDeviceDefinition(callback?: (err: AWSError, data: Greengrass.Types.DeleteDeviceDefinitionResponse) => void): Request<Greengrass.Types.DeleteDeviceDefinitionResponse, AWSError>;
206 /**
207 * Deletes a Lambda function definition.
208 */
209 deleteFunctionDefinition(params: Greengrass.Types.DeleteFunctionDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.DeleteFunctionDefinitionResponse) => void): Request<Greengrass.Types.DeleteFunctionDefinitionResponse, AWSError>;
210 /**
211 * Deletes a Lambda function definition.
212 */
213 deleteFunctionDefinition(callback?: (err: AWSError, data: Greengrass.Types.DeleteFunctionDefinitionResponse) => void): Request<Greengrass.Types.DeleteFunctionDefinitionResponse, AWSError>;
214 /**
215 * Deletes a group.
216 */
217 deleteGroup(params: Greengrass.Types.DeleteGroupRequest, callback?: (err: AWSError, data: Greengrass.Types.DeleteGroupResponse) => void): Request<Greengrass.Types.DeleteGroupResponse, AWSError>;
218 /**
219 * Deletes a group.
220 */
221 deleteGroup(callback?: (err: AWSError, data: Greengrass.Types.DeleteGroupResponse) => void): Request<Greengrass.Types.DeleteGroupResponse, AWSError>;
222 /**
223 * Deletes a logger definition.
224 */
225 deleteLoggerDefinition(params: Greengrass.Types.DeleteLoggerDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.DeleteLoggerDefinitionResponse) => void): Request<Greengrass.Types.DeleteLoggerDefinitionResponse, AWSError>;
226 /**
227 * Deletes a logger definition.
228 */
229 deleteLoggerDefinition(callback?: (err: AWSError, data: Greengrass.Types.DeleteLoggerDefinitionResponse) => void): Request<Greengrass.Types.DeleteLoggerDefinitionResponse, AWSError>;
230 /**
231 * Deletes a resource definition.
232 */
233 deleteResourceDefinition(params: Greengrass.Types.DeleteResourceDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.DeleteResourceDefinitionResponse) => void): Request<Greengrass.Types.DeleteResourceDefinitionResponse, AWSError>;
234 /**
235 * Deletes a resource definition.
236 */
237 deleteResourceDefinition(callback?: (err: AWSError, data: Greengrass.Types.DeleteResourceDefinitionResponse) => void): Request<Greengrass.Types.DeleteResourceDefinitionResponse, AWSError>;
238 /**
239 * Deletes a subscription definition.
240 */
241 deleteSubscriptionDefinition(params: Greengrass.Types.DeleteSubscriptionDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.DeleteSubscriptionDefinitionResponse) => void): Request<Greengrass.Types.DeleteSubscriptionDefinitionResponse, AWSError>;
242 /**
243 * Deletes a subscription definition.
244 */
245 deleteSubscriptionDefinition(callback?: (err: AWSError, data: Greengrass.Types.DeleteSubscriptionDefinitionResponse) => void): Request<Greengrass.Types.DeleteSubscriptionDefinitionResponse, AWSError>;
246 /**
247 * Disassociates the role from a group.
248 */
249 disassociateRoleFromGroup(params: Greengrass.Types.DisassociateRoleFromGroupRequest, callback?: (err: AWSError, data: Greengrass.Types.DisassociateRoleFromGroupResponse) => void): Request<Greengrass.Types.DisassociateRoleFromGroupResponse, AWSError>;
250 /**
251 * Disassociates the role from a group.
252 */
253 disassociateRoleFromGroup(callback?: (err: AWSError, data: Greengrass.Types.DisassociateRoleFromGroupResponse) => void): Request<Greengrass.Types.DisassociateRoleFromGroupResponse, AWSError>;
254 /**
255 * Disassociates the service role from your account. Without a service role, deployments will not work.
256 */
257 disassociateServiceRoleFromAccount(params: Greengrass.Types.DisassociateServiceRoleFromAccountRequest, callback?: (err: AWSError, data: Greengrass.Types.DisassociateServiceRoleFromAccountResponse) => void): Request<Greengrass.Types.DisassociateServiceRoleFromAccountResponse, AWSError>;
258 /**
259 * Disassociates the service role from your account. Without a service role, deployments will not work.
260 */
261 disassociateServiceRoleFromAccount(callback?: (err: AWSError, data: Greengrass.Types.DisassociateServiceRoleFromAccountResponse) => void): Request<Greengrass.Types.DisassociateServiceRoleFromAccountResponse, AWSError>;
262 /**
263 * Retrieves the role associated with a particular group.
264 */
265 getAssociatedRole(params: Greengrass.Types.GetAssociatedRoleRequest, callback?: (err: AWSError, data: Greengrass.Types.GetAssociatedRoleResponse) => void): Request<Greengrass.Types.GetAssociatedRoleResponse, AWSError>;
266 /**
267 * Retrieves the role associated with a particular group.
268 */
269 getAssociatedRole(callback?: (err: AWSError, data: Greengrass.Types.GetAssociatedRoleResponse) => void): Request<Greengrass.Types.GetAssociatedRoleResponse, AWSError>;
270 /**
271 * Returns the status of a bulk deployment.
272 */
273 getBulkDeploymentStatus(params: Greengrass.Types.GetBulkDeploymentStatusRequest, callback?: (err: AWSError, data: Greengrass.Types.GetBulkDeploymentStatusResponse) => void): Request<Greengrass.Types.GetBulkDeploymentStatusResponse, AWSError>;
274 /**
275 * Returns the status of a bulk deployment.
276 */
277 getBulkDeploymentStatus(callback?: (err: AWSError, data: Greengrass.Types.GetBulkDeploymentStatusResponse) => void): Request<Greengrass.Types.GetBulkDeploymentStatusResponse, AWSError>;
278 /**
279 * Retrieves the connectivity information for a core.
280 */
281 getConnectivityInfo(params: Greengrass.Types.GetConnectivityInfoRequest, callback?: (err: AWSError, data: Greengrass.Types.GetConnectivityInfoResponse) => void): Request<Greengrass.Types.GetConnectivityInfoResponse, AWSError>;
282 /**
283 * Retrieves the connectivity information for a core.
284 */
285 getConnectivityInfo(callback?: (err: AWSError, data: Greengrass.Types.GetConnectivityInfoResponse) => void): Request<Greengrass.Types.GetConnectivityInfoResponse, AWSError>;
286 /**
287 * Retrieves information about a connector definition.
288 */
289 getConnectorDefinition(params: Greengrass.Types.GetConnectorDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetConnectorDefinitionResponse) => void): Request<Greengrass.Types.GetConnectorDefinitionResponse, AWSError>;
290 /**
291 * Retrieves information about a connector definition.
292 */
293 getConnectorDefinition(callback?: (err: AWSError, data: Greengrass.Types.GetConnectorDefinitionResponse) => void): Request<Greengrass.Types.GetConnectorDefinitionResponse, AWSError>;
294 /**
295 * Retrieves information about a connector definition version, including the connectors that the version contains. Connectors are prebuilt modules that interact with local infrastructure, device protocols, AWS, and other cloud services.
296 */
297 getConnectorDefinitionVersion(params: Greengrass.Types.GetConnectorDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetConnectorDefinitionVersionResponse) => void): Request<Greengrass.Types.GetConnectorDefinitionVersionResponse, AWSError>;
298 /**
299 * Retrieves information about a connector definition version, including the connectors that the version contains. Connectors are prebuilt modules that interact with local infrastructure, device protocols, AWS, and other cloud services.
300 */
301 getConnectorDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.GetConnectorDefinitionVersionResponse) => void): Request<Greengrass.Types.GetConnectorDefinitionVersionResponse, AWSError>;
302 /**
303 * Retrieves information about a core definition version.
304 */
305 getCoreDefinition(params: Greengrass.Types.GetCoreDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetCoreDefinitionResponse) => void): Request<Greengrass.Types.GetCoreDefinitionResponse, AWSError>;
306 /**
307 * Retrieves information about a core definition version.
308 */
309 getCoreDefinition(callback?: (err: AWSError, data: Greengrass.Types.GetCoreDefinitionResponse) => void): Request<Greengrass.Types.GetCoreDefinitionResponse, AWSError>;
310 /**
311 * Retrieves information about a core definition version.
312 */
313 getCoreDefinitionVersion(params: Greengrass.Types.GetCoreDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetCoreDefinitionVersionResponse) => void): Request<Greengrass.Types.GetCoreDefinitionVersionResponse, AWSError>;
314 /**
315 * Retrieves information about a core definition version.
316 */
317 getCoreDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.GetCoreDefinitionVersionResponse) => void): Request<Greengrass.Types.GetCoreDefinitionVersionResponse, AWSError>;
318 /**
319 * Returns the status of a deployment.
320 */
321 getDeploymentStatus(params: Greengrass.Types.GetDeploymentStatusRequest, callback?: (err: AWSError, data: Greengrass.Types.GetDeploymentStatusResponse) => void): Request<Greengrass.Types.GetDeploymentStatusResponse, AWSError>;
322 /**
323 * Returns the status of a deployment.
324 */
325 getDeploymentStatus(callback?: (err: AWSError, data: Greengrass.Types.GetDeploymentStatusResponse) => void): Request<Greengrass.Types.GetDeploymentStatusResponse, AWSError>;
326 /**
327 * Retrieves information about a device definition.
328 */
329 getDeviceDefinition(params: Greengrass.Types.GetDeviceDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetDeviceDefinitionResponse) => void): Request<Greengrass.Types.GetDeviceDefinitionResponse, AWSError>;
330 /**
331 * Retrieves information about a device definition.
332 */
333 getDeviceDefinition(callback?: (err: AWSError, data: Greengrass.Types.GetDeviceDefinitionResponse) => void): Request<Greengrass.Types.GetDeviceDefinitionResponse, AWSError>;
334 /**
335 * Retrieves information about a device definition version.
336 */
337 getDeviceDefinitionVersion(params: Greengrass.Types.GetDeviceDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetDeviceDefinitionVersionResponse) => void): Request<Greengrass.Types.GetDeviceDefinitionVersionResponse, AWSError>;
338 /**
339 * Retrieves information about a device definition version.
340 */
341 getDeviceDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.GetDeviceDefinitionVersionResponse) => void): Request<Greengrass.Types.GetDeviceDefinitionVersionResponse, AWSError>;
342 /**
343 * Retrieves information about a Lambda function definition, including its creation time and latest version.
344 */
345 getFunctionDefinition(params: Greengrass.Types.GetFunctionDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetFunctionDefinitionResponse) => void): Request<Greengrass.Types.GetFunctionDefinitionResponse, AWSError>;
346 /**
347 * Retrieves information about a Lambda function definition, including its creation time and latest version.
348 */
349 getFunctionDefinition(callback?: (err: AWSError, data: Greengrass.Types.GetFunctionDefinitionResponse) => void): Request<Greengrass.Types.GetFunctionDefinitionResponse, AWSError>;
350 /**
351 * Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations.
352 */
353 getFunctionDefinitionVersion(params: Greengrass.Types.GetFunctionDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetFunctionDefinitionVersionResponse) => void): Request<Greengrass.Types.GetFunctionDefinitionVersionResponse, AWSError>;
354 /**
355 * Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations.
356 */
357 getFunctionDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.GetFunctionDefinitionVersionResponse) => void): Request<Greengrass.Types.GetFunctionDefinitionVersionResponse, AWSError>;
358 /**
359 * Retrieves information about a group.
360 */
361 getGroup(params: Greengrass.Types.GetGroupRequest, callback?: (err: AWSError, data: Greengrass.Types.GetGroupResponse) => void): Request<Greengrass.Types.GetGroupResponse, AWSError>;
362 /**
363 * Retrieves information about a group.
364 */
365 getGroup(callback?: (err: AWSError, data: Greengrass.Types.GetGroupResponse) => void): Request<Greengrass.Types.GetGroupResponse, AWSError>;
366 /**
367 * Retreives the CA associated with a group. Returns the public key of the CA.
368 */
369 getGroupCertificateAuthority(params: Greengrass.Types.GetGroupCertificateAuthorityRequest, callback?: (err: AWSError, data: Greengrass.Types.GetGroupCertificateAuthorityResponse) => void): Request<Greengrass.Types.GetGroupCertificateAuthorityResponse, AWSError>;
370 /**
371 * Retreives the CA associated with a group. Returns the public key of the CA.
372 */
373 getGroupCertificateAuthority(callback?: (err: AWSError, data: Greengrass.Types.GetGroupCertificateAuthorityResponse) => void): Request<Greengrass.Types.GetGroupCertificateAuthorityResponse, AWSError>;
374 /**
375 * Retrieves the current configuration for the CA used by the group.
376 */
377 getGroupCertificateConfiguration(params: Greengrass.Types.GetGroupCertificateConfigurationRequest, callback?: (err: AWSError, data: Greengrass.Types.GetGroupCertificateConfigurationResponse) => void): Request<Greengrass.Types.GetGroupCertificateConfigurationResponse, AWSError>;
378 /**
379 * Retrieves the current configuration for the CA used by the group.
380 */
381 getGroupCertificateConfiguration(callback?: (err: AWSError, data: Greengrass.Types.GetGroupCertificateConfigurationResponse) => void): Request<Greengrass.Types.GetGroupCertificateConfigurationResponse, AWSError>;
382 /**
383 * Retrieves information about a group version.
384 */
385 getGroupVersion(params: Greengrass.Types.GetGroupVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetGroupVersionResponse) => void): Request<Greengrass.Types.GetGroupVersionResponse, AWSError>;
386 /**
387 * Retrieves information about a group version.
388 */
389 getGroupVersion(callback?: (err: AWSError, data: Greengrass.Types.GetGroupVersionResponse) => void): Request<Greengrass.Types.GetGroupVersionResponse, AWSError>;
390 /**
391 * Retrieves information about a logger definition.
392 */
393 getLoggerDefinition(params: Greengrass.Types.GetLoggerDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetLoggerDefinitionResponse) => void): Request<Greengrass.Types.GetLoggerDefinitionResponse, AWSError>;
394 /**
395 * Retrieves information about a logger definition.
396 */
397 getLoggerDefinition(callback?: (err: AWSError, data: Greengrass.Types.GetLoggerDefinitionResponse) => void): Request<Greengrass.Types.GetLoggerDefinitionResponse, AWSError>;
398 /**
399 * Retrieves information about a logger definition version.
400 */
401 getLoggerDefinitionVersion(params: Greengrass.Types.GetLoggerDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetLoggerDefinitionVersionResponse) => void): Request<Greengrass.Types.GetLoggerDefinitionVersionResponse, AWSError>;
402 /**
403 * Retrieves information about a logger definition version.
404 */
405 getLoggerDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.GetLoggerDefinitionVersionResponse) => void): Request<Greengrass.Types.GetLoggerDefinitionVersionResponse, AWSError>;
406 /**
407 * Retrieves information about a resource definition, including its creation time and latest version.
408 */
409 getResourceDefinition(params: Greengrass.Types.GetResourceDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetResourceDefinitionResponse) => void): Request<Greengrass.Types.GetResourceDefinitionResponse, AWSError>;
410 /**
411 * Retrieves information about a resource definition, including its creation time and latest version.
412 */
413 getResourceDefinition(callback?: (err: AWSError, data: Greengrass.Types.GetResourceDefinitionResponse) => void): Request<Greengrass.Types.GetResourceDefinitionResponse, AWSError>;
414 /**
415 * Retrieves information about a resource definition version, including which resources are included in the version.
416 */
417 getResourceDefinitionVersion(params: Greengrass.Types.GetResourceDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetResourceDefinitionVersionResponse) => void): Request<Greengrass.Types.GetResourceDefinitionVersionResponse, AWSError>;
418 /**
419 * Retrieves information about a resource definition version, including which resources are included in the version.
420 */
421 getResourceDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.GetResourceDefinitionVersionResponse) => void): Request<Greengrass.Types.GetResourceDefinitionVersionResponse, AWSError>;
422 /**
423 * Retrieves the service role that is attached to your account.
424 */
425 getServiceRoleForAccount(params: Greengrass.Types.GetServiceRoleForAccountRequest, callback?: (err: AWSError, data: Greengrass.Types.GetServiceRoleForAccountResponse) => void): Request<Greengrass.Types.GetServiceRoleForAccountResponse, AWSError>;
426 /**
427 * Retrieves the service role that is attached to your account.
428 */
429 getServiceRoleForAccount(callback?: (err: AWSError, data: Greengrass.Types.GetServiceRoleForAccountResponse) => void): Request<Greengrass.Types.GetServiceRoleForAccountResponse, AWSError>;
430 /**
431 * Retrieves information about a subscription definition.
432 */
433 getSubscriptionDefinition(params: Greengrass.Types.GetSubscriptionDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetSubscriptionDefinitionResponse) => void): Request<Greengrass.Types.GetSubscriptionDefinitionResponse, AWSError>;
434 /**
435 * Retrieves information about a subscription definition.
436 */
437 getSubscriptionDefinition(callback?: (err: AWSError, data: Greengrass.Types.GetSubscriptionDefinitionResponse) => void): Request<Greengrass.Types.GetSubscriptionDefinitionResponse, AWSError>;
438 /**
439 * Retrieves information about a subscription definition version.
440 */
441 getSubscriptionDefinitionVersion(params: Greengrass.Types.GetSubscriptionDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetSubscriptionDefinitionVersionResponse) => void): Request<Greengrass.Types.GetSubscriptionDefinitionVersionResponse, AWSError>;
442 /**
443 * Retrieves information about a subscription definition version.
444 */
445 getSubscriptionDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.GetSubscriptionDefinitionVersionResponse) => void): Request<Greengrass.Types.GetSubscriptionDefinitionVersionResponse, AWSError>;
446 /**
447 * Gets a paginated list of the deployments that have been started in a bulk deployment operation, and their current deployment status.
448 */
449 listBulkDeploymentDetailedReports(params: Greengrass.Types.ListBulkDeploymentDetailedReportsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListBulkDeploymentDetailedReportsResponse) => void): Request<Greengrass.Types.ListBulkDeploymentDetailedReportsResponse, AWSError>;
450 /**
451 * Gets a paginated list of the deployments that have been started in a bulk deployment operation, and their current deployment status.
452 */
453 listBulkDeploymentDetailedReports(callback?: (err: AWSError, data: Greengrass.Types.ListBulkDeploymentDetailedReportsResponse) => void): Request<Greengrass.Types.ListBulkDeploymentDetailedReportsResponse, AWSError>;
454 /**
455 * Returns a list of bulk deployments.
456 */
457 listBulkDeployments(params: Greengrass.Types.ListBulkDeploymentsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListBulkDeploymentsResponse) => void): Request<Greengrass.Types.ListBulkDeploymentsResponse, AWSError>;
458 /**
459 * Returns a list of bulk deployments.
460 */
461 listBulkDeployments(callback?: (err: AWSError, data: Greengrass.Types.ListBulkDeploymentsResponse) => void): Request<Greengrass.Types.ListBulkDeploymentsResponse, AWSError>;
462 /**
463 * Lists the versions of a connector definition, which are containers for connectors. Connectors run on the Greengrass core and contain built-in integration with local infrastructure, device protocols, AWS, and other cloud services.
464 */
465 listConnectorDefinitionVersions(params: Greengrass.Types.ListConnectorDefinitionVersionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListConnectorDefinitionVersionsResponse) => void): Request<Greengrass.Types.ListConnectorDefinitionVersionsResponse, AWSError>;
466 /**
467 * Lists the versions of a connector definition, which are containers for connectors. Connectors run on the Greengrass core and contain built-in integration with local infrastructure, device protocols, AWS, and other cloud services.
468 */
469 listConnectorDefinitionVersions(callback?: (err: AWSError, data: Greengrass.Types.ListConnectorDefinitionVersionsResponse) => void): Request<Greengrass.Types.ListConnectorDefinitionVersionsResponse, AWSError>;
470 /**
471 * Retrieves a list of connector definitions.
472 */
473 listConnectorDefinitions(params: Greengrass.Types.ListConnectorDefinitionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListConnectorDefinitionsResponse) => void): Request<Greengrass.Types.ListConnectorDefinitionsResponse, AWSError>;
474 /**
475 * Retrieves a list of connector definitions.
476 */
477 listConnectorDefinitions(callback?: (err: AWSError, data: Greengrass.Types.ListConnectorDefinitionsResponse) => void): Request<Greengrass.Types.ListConnectorDefinitionsResponse, AWSError>;
478 /**
479 * Lists the versions of a core definition.
480 */
481 listCoreDefinitionVersions(params: Greengrass.Types.ListCoreDefinitionVersionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListCoreDefinitionVersionsResponse) => void): Request<Greengrass.Types.ListCoreDefinitionVersionsResponse, AWSError>;
482 /**
483 * Lists the versions of a core definition.
484 */
485 listCoreDefinitionVersions(callback?: (err: AWSError, data: Greengrass.Types.ListCoreDefinitionVersionsResponse) => void): Request<Greengrass.Types.ListCoreDefinitionVersionsResponse, AWSError>;
486 /**
487 * Retrieves a list of core definitions.
488 */
489 listCoreDefinitions(params: Greengrass.Types.ListCoreDefinitionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListCoreDefinitionsResponse) => void): Request<Greengrass.Types.ListCoreDefinitionsResponse, AWSError>;
490 /**
491 * Retrieves a list of core definitions.
492 */
493 listCoreDefinitions(callback?: (err: AWSError, data: Greengrass.Types.ListCoreDefinitionsResponse) => void): Request<Greengrass.Types.ListCoreDefinitionsResponse, AWSError>;
494 /**
495 * Returns a history of deployments for the group.
496 */
497 listDeployments(params: Greengrass.Types.ListDeploymentsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListDeploymentsResponse) => void): Request<Greengrass.Types.ListDeploymentsResponse, AWSError>;
498 /**
499 * Returns a history of deployments for the group.
500 */
501 listDeployments(callback?: (err: AWSError, data: Greengrass.Types.ListDeploymentsResponse) => void): Request<Greengrass.Types.ListDeploymentsResponse, AWSError>;
502 /**
503 * Lists the versions of a device definition.
504 */
505 listDeviceDefinitionVersions(params: Greengrass.Types.ListDeviceDefinitionVersionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListDeviceDefinitionVersionsResponse) => void): Request<Greengrass.Types.ListDeviceDefinitionVersionsResponse, AWSError>;
506 /**
507 * Lists the versions of a device definition.
508 */
509 listDeviceDefinitionVersions(callback?: (err: AWSError, data: Greengrass.Types.ListDeviceDefinitionVersionsResponse) => void): Request<Greengrass.Types.ListDeviceDefinitionVersionsResponse, AWSError>;
510 /**
511 * Retrieves a list of device definitions.
512 */
513 listDeviceDefinitions(params: Greengrass.Types.ListDeviceDefinitionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListDeviceDefinitionsResponse) => void): Request<Greengrass.Types.ListDeviceDefinitionsResponse, AWSError>;
514 /**
515 * Retrieves a list of device definitions.
516 */
517 listDeviceDefinitions(callback?: (err: AWSError, data: Greengrass.Types.ListDeviceDefinitionsResponse) => void): Request<Greengrass.Types.ListDeviceDefinitionsResponse, AWSError>;
518 /**
519 * Lists the versions of a Lambda function definition.
520 */
521 listFunctionDefinitionVersions(params: Greengrass.Types.ListFunctionDefinitionVersionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListFunctionDefinitionVersionsResponse) => void): Request<Greengrass.Types.ListFunctionDefinitionVersionsResponse, AWSError>;
522 /**
523 * Lists the versions of a Lambda function definition.
524 */
525 listFunctionDefinitionVersions(callback?: (err: AWSError, data: Greengrass.Types.ListFunctionDefinitionVersionsResponse) => void): Request<Greengrass.Types.ListFunctionDefinitionVersionsResponse, AWSError>;
526 /**
527 * Retrieves a list of Lambda function definitions.
528 */
529 listFunctionDefinitions(params: Greengrass.Types.ListFunctionDefinitionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListFunctionDefinitionsResponse) => void): Request<Greengrass.Types.ListFunctionDefinitionsResponse, AWSError>;
530 /**
531 * Retrieves a list of Lambda function definitions.
532 */
533 listFunctionDefinitions(callback?: (err: AWSError, data: Greengrass.Types.ListFunctionDefinitionsResponse) => void): Request<Greengrass.Types.ListFunctionDefinitionsResponse, AWSError>;
534 /**
535 * Retrieves the current CAs for a group.
536 */
537 listGroupCertificateAuthorities(params: Greengrass.Types.ListGroupCertificateAuthoritiesRequest, callback?: (err: AWSError, data: Greengrass.Types.ListGroupCertificateAuthoritiesResponse) => void): Request<Greengrass.Types.ListGroupCertificateAuthoritiesResponse, AWSError>;
538 /**
539 * Retrieves the current CAs for a group.
540 */
541 listGroupCertificateAuthorities(callback?: (err: AWSError, data: Greengrass.Types.ListGroupCertificateAuthoritiesResponse) => void): Request<Greengrass.Types.ListGroupCertificateAuthoritiesResponse, AWSError>;
542 /**
543 * Lists the versions of a group.
544 */
545 listGroupVersions(params: Greengrass.Types.ListGroupVersionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListGroupVersionsResponse) => void): Request<Greengrass.Types.ListGroupVersionsResponse, AWSError>;
546 /**
547 * Lists the versions of a group.
548 */
549 listGroupVersions(callback?: (err: AWSError, data: Greengrass.Types.ListGroupVersionsResponse) => void): Request<Greengrass.Types.ListGroupVersionsResponse, AWSError>;
550 /**
551 * Retrieves a list of groups.
552 */
553 listGroups(params: Greengrass.Types.ListGroupsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListGroupsResponse) => void): Request<Greengrass.Types.ListGroupsResponse, AWSError>;
554 /**
555 * Retrieves a list of groups.
556 */
557 listGroups(callback?: (err: AWSError, data: Greengrass.Types.ListGroupsResponse) => void): Request<Greengrass.Types.ListGroupsResponse, AWSError>;
558 /**
559 * Lists the versions of a logger definition.
560 */
561 listLoggerDefinitionVersions(params: Greengrass.Types.ListLoggerDefinitionVersionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListLoggerDefinitionVersionsResponse) => void): Request<Greengrass.Types.ListLoggerDefinitionVersionsResponse, AWSError>;
562 /**
563 * Lists the versions of a logger definition.
564 */
565 listLoggerDefinitionVersions(callback?: (err: AWSError, data: Greengrass.Types.ListLoggerDefinitionVersionsResponse) => void): Request<Greengrass.Types.ListLoggerDefinitionVersionsResponse, AWSError>;
566 /**
567 * Retrieves a list of logger definitions.
568 */
569 listLoggerDefinitions(params: Greengrass.Types.ListLoggerDefinitionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListLoggerDefinitionsResponse) => void): Request<Greengrass.Types.ListLoggerDefinitionsResponse, AWSError>;
570 /**
571 * Retrieves a list of logger definitions.
572 */
573 listLoggerDefinitions(callback?: (err: AWSError, data: Greengrass.Types.ListLoggerDefinitionsResponse) => void): Request<Greengrass.Types.ListLoggerDefinitionsResponse, AWSError>;
574 /**
575 * Lists the versions of a resource definition.
576 */
577 listResourceDefinitionVersions(params: Greengrass.Types.ListResourceDefinitionVersionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListResourceDefinitionVersionsResponse) => void): Request<Greengrass.Types.ListResourceDefinitionVersionsResponse, AWSError>;
578 /**
579 * Lists the versions of a resource definition.
580 */
581 listResourceDefinitionVersions(callback?: (err: AWSError, data: Greengrass.Types.ListResourceDefinitionVersionsResponse) => void): Request<Greengrass.Types.ListResourceDefinitionVersionsResponse, AWSError>;
582 /**
583 * Retrieves a list of resource definitions.
584 */
585 listResourceDefinitions(params: Greengrass.Types.ListResourceDefinitionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListResourceDefinitionsResponse) => void): Request<Greengrass.Types.ListResourceDefinitionsResponse, AWSError>;
586 /**
587 * Retrieves a list of resource definitions.
588 */
589 listResourceDefinitions(callback?: (err: AWSError, data: Greengrass.Types.ListResourceDefinitionsResponse) => void): Request<Greengrass.Types.ListResourceDefinitionsResponse, AWSError>;
590 /**
591 * Lists the versions of a subscription definition.
592 */
593 listSubscriptionDefinitionVersions(params: Greengrass.Types.ListSubscriptionDefinitionVersionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListSubscriptionDefinitionVersionsResponse) => void): Request<Greengrass.Types.ListSubscriptionDefinitionVersionsResponse, AWSError>;
594 /**
595 * Lists the versions of a subscription definition.
596 */
597 listSubscriptionDefinitionVersions(callback?: (err: AWSError, data: Greengrass.Types.ListSubscriptionDefinitionVersionsResponse) => void): Request<Greengrass.Types.ListSubscriptionDefinitionVersionsResponse, AWSError>;
598 /**
599 * Retrieves a list of subscription definitions.
600 */
601 listSubscriptionDefinitions(params: Greengrass.Types.ListSubscriptionDefinitionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListSubscriptionDefinitionsResponse) => void): Request<Greengrass.Types.ListSubscriptionDefinitionsResponse, AWSError>;
602 /**
603 * Retrieves a list of subscription definitions.
604 */
605 listSubscriptionDefinitions(callback?: (err: AWSError, data: Greengrass.Types.ListSubscriptionDefinitionsResponse) => void): Request<Greengrass.Types.ListSubscriptionDefinitionsResponse, AWSError>;
606 /**
607 * Resets a group's deployments.
608 */
609 resetDeployments(params: Greengrass.Types.ResetDeploymentsRequest, callback?: (err: AWSError, data: Greengrass.Types.ResetDeploymentsResponse) => void): Request<Greengrass.Types.ResetDeploymentsResponse, AWSError>;
610 /**
611 * Resets a group's deployments.
612 */
613 resetDeployments(callback?: (err: AWSError, data: Greengrass.Types.ResetDeploymentsResponse) => void): Request<Greengrass.Types.ResetDeploymentsResponse, AWSError>;
614 /**
615 * Deploys multiple groups in one operation. This action starts the bulk deployment of a specified set of group versions. Each group version deployment will be triggered with an adaptive rate that has a fixed upper limit. We recommend that you include an ''X-Amzn-Client-Token'' token in every ''StartBulkDeployment'' request. These requests are idempotent with respect to the token and the request parameters.
616 */
617 startBulkDeployment(params: Greengrass.Types.StartBulkDeploymentRequest, callback?: (err: AWSError, data: Greengrass.Types.StartBulkDeploymentResponse) => void): Request<Greengrass.Types.StartBulkDeploymentResponse, AWSError>;
618 /**
619 * Deploys multiple groups in one operation. This action starts the bulk deployment of a specified set of group versions. Each group version deployment will be triggered with an adaptive rate that has a fixed upper limit. We recommend that you include an ''X-Amzn-Client-Token'' token in every ''StartBulkDeployment'' request. These requests are idempotent with respect to the token and the request parameters.
620 */
621 startBulkDeployment(callback?: (err: AWSError, data: Greengrass.Types.StartBulkDeploymentResponse) => void): Request<Greengrass.Types.StartBulkDeploymentResponse, AWSError>;
622 /**
623 * Stops the execution of a bulk deployment. This action returns a status of ''Stopping'' until the deployment is stopped. You cannot start a new bulk deployment while a previous deployment is in the ''Stopping'' state. This action doesn't rollback completed deployments or cancel pending deployments.
624 */
625 stopBulkDeployment(params: Greengrass.Types.StopBulkDeploymentRequest, callback?: (err: AWSError, data: Greengrass.Types.StopBulkDeploymentResponse) => void): Request<Greengrass.Types.StopBulkDeploymentResponse, AWSError>;
626 /**
627 * Stops the execution of a bulk deployment. This action returns a status of ''Stopping'' until the deployment is stopped. You cannot start a new bulk deployment while a previous deployment is in the ''Stopping'' state. This action doesn't rollback completed deployments or cancel pending deployments.
628 */
629 stopBulkDeployment(callback?: (err: AWSError, data: Greengrass.Types.StopBulkDeploymentResponse) => void): Request<Greengrass.Types.StopBulkDeploymentResponse, AWSError>;
630 /**
631 * Updates the connectivity information for the core. Any devices that belong to the group which has this core will receive this information in order to find the location of the core and connect to it.
632 */
633 updateConnectivityInfo(params: Greengrass.Types.UpdateConnectivityInfoRequest, callback?: (err: AWSError, data: Greengrass.Types.UpdateConnectivityInfoResponse) => void): Request<Greengrass.Types.UpdateConnectivityInfoResponse, AWSError>;
634 /**
635 * Updates the connectivity information for the core. Any devices that belong to the group which has this core will receive this information in order to find the location of the core and connect to it.
636 */
637 updateConnectivityInfo(callback?: (err: AWSError, data: Greengrass.Types.UpdateConnectivityInfoResponse) => void): Request<Greengrass.Types.UpdateConnectivityInfoResponse, AWSError>;
638 /**
639 * Updates a connector definition.
640 */
641 updateConnectorDefinition(params: Greengrass.Types.UpdateConnectorDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.UpdateConnectorDefinitionResponse) => void): Request<Greengrass.Types.UpdateConnectorDefinitionResponse, AWSError>;
642 /**
643 * Updates a connector definition.
644 */
645 updateConnectorDefinition(callback?: (err: AWSError, data: Greengrass.Types.UpdateConnectorDefinitionResponse) => void): Request<Greengrass.Types.UpdateConnectorDefinitionResponse, AWSError>;
646 /**
647 * Updates a core definition.
648 */
649 updateCoreDefinition(params: Greengrass.Types.UpdateCoreDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.UpdateCoreDefinitionResponse) => void): Request<Greengrass.Types.UpdateCoreDefinitionResponse, AWSError>;
650 /**
651 * Updates a core definition.
652 */
653 updateCoreDefinition(callback?: (err: AWSError, data: Greengrass.Types.UpdateCoreDefinitionResponse) => void): Request<Greengrass.Types.UpdateCoreDefinitionResponse, AWSError>;
654 /**
655 * Updates a device definition.
656 */
657 updateDeviceDefinition(params: Greengrass.Types.UpdateDeviceDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.UpdateDeviceDefinitionResponse) => void): Request<Greengrass.Types.UpdateDeviceDefinitionResponse, AWSError>;
658 /**
659 * Updates a device definition.
660 */
661 updateDeviceDefinition(callback?: (err: AWSError, data: Greengrass.Types.UpdateDeviceDefinitionResponse) => void): Request<Greengrass.Types.UpdateDeviceDefinitionResponse, AWSError>;
662 /**
663 * Updates a Lambda function definition.
664 */
665 updateFunctionDefinition(params: Greengrass.Types.UpdateFunctionDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.UpdateFunctionDefinitionResponse) => void): Request<Greengrass.Types.UpdateFunctionDefinitionResponse, AWSError>;
666 /**
667 * Updates a Lambda function definition.
668 */
669 updateFunctionDefinition(callback?: (err: AWSError, data: Greengrass.Types.UpdateFunctionDefinitionResponse) => void): Request<Greengrass.Types.UpdateFunctionDefinitionResponse, AWSError>;
670 /**
671 * Updates a group.
672 */
673 updateGroup(params: Greengrass.Types.UpdateGroupRequest, callback?: (err: AWSError, data: Greengrass.Types.UpdateGroupResponse) => void): Request<Greengrass.Types.UpdateGroupResponse, AWSError>;
674 /**
675 * Updates a group.
676 */
677 updateGroup(callback?: (err: AWSError, data: Greengrass.Types.UpdateGroupResponse) => void): Request<Greengrass.Types.UpdateGroupResponse, AWSError>;
678 /**
679 * Updates the Certificate expiry time for a group.
680 */
681 updateGroupCertificateConfiguration(params: Greengrass.Types.UpdateGroupCertificateConfigurationRequest, callback?: (err: AWSError, data: Greengrass.Types.UpdateGroupCertificateConfigurationResponse) => void): Request<Greengrass.Types.UpdateGroupCertificateConfigurationResponse, AWSError>;
682 /**
683 * Updates the Certificate expiry time for a group.
684 */
685 updateGroupCertificateConfiguration(callback?: (err: AWSError, data: Greengrass.Types.UpdateGroupCertificateConfigurationResponse) => void): Request<Greengrass.Types.UpdateGroupCertificateConfigurationResponse, AWSError>;
686 /**
687 * Updates a logger definition.
688 */
689 updateLoggerDefinition(params: Greengrass.Types.UpdateLoggerDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.UpdateLoggerDefinitionResponse) => void): Request<Greengrass.Types.UpdateLoggerDefinitionResponse, AWSError>;
690 /**
691 * Updates a logger definition.
692 */
693 updateLoggerDefinition(callback?: (err: AWSError, data: Greengrass.Types.UpdateLoggerDefinitionResponse) => void): Request<Greengrass.Types.UpdateLoggerDefinitionResponse, AWSError>;
694 /**
695 * Updates a resource definition.
696 */
697 updateResourceDefinition(params: Greengrass.Types.UpdateResourceDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.UpdateResourceDefinitionResponse) => void): Request<Greengrass.Types.UpdateResourceDefinitionResponse, AWSError>;
698 /**
699 * Updates a resource definition.
700 */
701 updateResourceDefinition(callback?: (err: AWSError, data: Greengrass.Types.UpdateResourceDefinitionResponse) => void): Request<Greengrass.Types.UpdateResourceDefinitionResponse, AWSError>;
702 /**
703 * Updates a subscription definition.
704 */
705 updateSubscriptionDefinition(params: Greengrass.Types.UpdateSubscriptionDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.UpdateSubscriptionDefinitionResponse) => void): Request<Greengrass.Types.UpdateSubscriptionDefinitionResponse, AWSError>;
706 /**
707 * Updates a subscription definition.
708 */
709 updateSubscriptionDefinition(callback?: (err: AWSError, data: Greengrass.Types.UpdateSubscriptionDefinitionResponse) => void): Request<Greengrass.Types.UpdateSubscriptionDefinitionResponse, AWSError>;
710}
711declare namespace Greengrass {
712 export interface AssociateRoleToGroupRequest {
713 /**
714 * The ID of the Greengrass group.
715 */
716 GroupId: __string;
717 /**
718 * The ARN of the role you wish to associate with this group.
719 */
720 RoleArn?: __string;
721 }
722 export interface AssociateRoleToGroupResponse {
723 /**
724 * The time, in milliseconds since the epoch, when the role ARN was associated with the group.
725 */
726 AssociatedAt?: __string;
727 }
728 export interface AssociateServiceRoleToAccountRequest {
729 /**
730 * The ARN of the service role you wish to associate with your account.
731 */
732 RoleArn?: __string;
733 }
734 export interface AssociateServiceRoleToAccountResponse {
735 /**
736 * The time when the service role was associated with the account.
737 */
738 AssociatedAt?: __string;
739 }
740 export interface BulkDeployment {
741 /**
742 * The ARN of the bulk deployment.
743 */
744 BulkDeploymentArn?: __string;
745 /**
746 * The ID of the bulk deployment.
747 */
748 BulkDeploymentId?: __string;
749 /**
750 * The time, in ISO format, when the deployment was created.
751 */
752 CreatedAt?: __string;
753 }
754 export interface BulkDeploymentMetrics {
755 /**
756 * 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.
757 */
758 InvalidInputRecords?: __integer;
759 /**
760 * The total number of group records from the input file that have been processed so far, or attempted.
761 */
762 RecordsProcessed?: __integer;
763 /**
764 * 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.
765 */
766 RetryAttempts?: __integer;
767 }
768 export interface BulkDeploymentResult {
769 /**
770 * The time, in ISO format, when the deployment was created.
771 */
772 CreatedAt?: __string;
773 /**
774 * The ARN of the group deployment.
775 */
776 DeploymentArn?: __string;
777 /**
778 * The ID of the group deployment.
779 */
780 DeploymentId?: __string;
781 /**
782 * The current status of the group deployment: ''InProgress'', ''Building'', ''Success'', or ''Failure''.
783 */
784 DeploymentStatus?: __string;
785 /**
786 * The type of the deployment.
787 */
788 DeploymentType?: DeploymentType;
789 /**
790 * Details about the error.
791 */
792 ErrorDetails?: ErrorDetails;
793 /**
794 * The error message for a failed deployment
795 */
796 ErrorMessage?: __string;
797 /**
798 * The ARN of the Greengrass group.
799 */
800 GroupArn?: __string;
801 }
802 export type BulkDeploymentResults = BulkDeploymentResult[];
803 export type BulkDeploymentStatus = "Initializing"|"Running"|"Completed"|"Stopping"|"Stopped"|"Failed"|string;
804 export type BulkDeployments = BulkDeployment[];
805 export interface ConnectivityInfo {
806 /**
807 * The endpoint for the Greengrass core. Can be an IP address or DNS.
808 */
809 HostAddress?: __string;
810 /**
811 * The ID of the connectivity information.
812 */
813 Id?: __string;
814 /**
815 * Metadata for this endpoint.
816 */
817 Metadata?: __string;
818 /**
819 * The port of the Greengrass core. Usually 8883.
820 */
821 PortNumber?: __integer;
822 }
823 export interface Connector {
824 /**
825 * The ARN of the connector.
826 */
827 ConnectorArn?: __string;
828 /**
829 * 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:_-]+.
830 */
831 Id?: __string;
832 /**
833 * The parameters or configuration that the connector uses.
834 */
835 Parameters?: __mapOf__string;
836 }
837 export interface ConnectorDefinitionVersion {
838 /**
839 * A list of references to connectors in this version, with their corresponding configuration settings.
840 */
841 Connectors?: __listOfConnector;
842 }
843 export interface Core {
844 /**
845 * The ARN of the certificate associated with the core.
846 */
847 CertificateArn?: __string;
848 /**
849 * 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:_-]+''.
850 */
851 Id?: __string;
852 /**
853 * If true, the core's local shadow is automatically synced with the cloud.
854 */
855 SyncShadow?: __boolean;
856 /**
857 * The ARN of the thing which is the core.
858 */
859 ThingArn?: __string;
860 }
861 export interface CoreDefinitionVersion {
862 /**
863 * A list of cores in the core definition version.
864 */
865 Cores?: __listOfCore;
866 }
867 export interface CreateConnectorDefinitionRequest {
868 /**
869 * A client token used to correlate requests and responses.
870 */
871 AmznClientToken?: __string;
872 /**
873 * Information about the initial version of the connector definition.
874 */
875 InitialVersion?: ConnectorDefinitionVersion;
876 /**
877 * The name of the connector definition.
878 */
879 Name?: __string;
880 }
881 export interface CreateConnectorDefinitionResponse {
882 /**
883 * The ARN of the definition.
884 */
885 Arn?: __string;
886 /**
887 * The time, in milliseconds since the epoch, when the definition was created.
888 */
889 CreationTimestamp?: __string;
890 /**
891 * The ID of the definition.
892 */
893 Id?: __string;
894 /**
895 * The time, in milliseconds since the epoch, when the definition was last updated.
896 */
897 LastUpdatedTimestamp?: __string;
898 /**
899 * The latest version of the definition.
900 */
901 LatestVersion?: __string;
902 /**
903 * The ARN of the latest version of the definition.
904 */
905 LatestVersionArn?: __string;
906 /**
907 * The name of the definition.
908 */
909 Name?: __string;
910 }
911 export interface CreateConnectorDefinitionVersionRequest {
912 /**
913 * A client token used to correlate requests and responses.
914 */
915 AmznClientToken?: __string;
916 /**
917 * The ID of the connector definition.
918 */
919 ConnectorDefinitionId: __string;
920 /**
921 * A list of references to connectors in this version, with their corresponding configuration settings.
922 */
923 Connectors?: __listOfConnector;
924 }
925 export interface CreateConnectorDefinitionVersionResponse {
926 /**
927 * The ARN of the version.
928 */
929 Arn?: __string;
930 /**
931 * The time, in milliseconds since the epoch, when the version was created.
932 */
933 CreationTimestamp?: __string;
934 /**
935 * The ID of the version.
936 */
937 Id?: __string;
938 /**
939 * The unique ID of the version.
940 */
941 Version?: __string;
942 }
943 export interface CreateCoreDefinitionRequest {
944 /**
945 * A client token used to correlate requests and responses.
946 */
947 AmznClientToken?: __string;
948 /**
949 * Information about the initial version of the core definition.
950 */
951 InitialVersion?: CoreDefinitionVersion;
952 /**
953 * The name of the core definition.
954 */
955 Name?: __string;
956 }
957 export interface CreateCoreDefinitionResponse {
958 /**
959 * The ARN of the definition.
960 */
961 Arn?: __string;
962 /**
963 * The time, in milliseconds since the epoch, when the definition was created.
964 */
965 CreationTimestamp?: __string;
966 /**
967 * The ID of the definition.
968 */
969 Id?: __string;
970 /**
971 * The time, in milliseconds since the epoch, when the definition was last updated.
972 */
973 LastUpdatedTimestamp?: __string;
974 /**
975 * The latest version of the definition.
976 */
977 LatestVersion?: __string;
978 /**
979 * The ARN of the latest version of the definition.
980 */
981 LatestVersionArn?: __string;
982 /**
983 * The name of the definition.
984 */
985 Name?: __string;
986 }
987 export interface CreateCoreDefinitionVersionRequest {
988 /**
989 * A client token used to correlate requests and responses.
990 */
991 AmznClientToken?: __string;
992 /**
993 * The ID of the core definition.
994 */
995 CoreDefinitionId: __string;
996 /**
997 * A list of cores in the core definition version.
998 */
999 Cores?: __listOfCore;
1000 }
1001 export interface CreateCoreDefinitionVersionResponse {
1002 /**
1003 * The ARN of the version.
1004 */
1005 Arn?: __string;
1006 /**
1007 * The time, in milliseconds since the epoch, when the version was created.
1008 */
1009 CreationTimestamp?: __string;
1010 /**
1011 * The ID of the version.
1012 */
1013 Id?: __string;
1014 /**
1015 * The unique ID of the version.
1016 */
1017 Version?: __string;
1018 }
1019 export interface CreateDeploymentRequest {
1020 /**
1021 * A client token used to correlate requests and responses.
1022 */
1023 AmznClientToken?: __string;
1024 /**
1025 * The ID of the deployment if you wish to redeploy a previous deployment.
1026 */
1027 DeploymentId?: __string;
1028 /**
1029 * The type of deployment. When used for ''CreateDeployment'', only ''NewDeployment'' and ''Redeployment'' are valid.
1030 */
1031 DeploymentType?: DeploymentType;
1032 /**
1033 * The ID of the Greengrass group.
1034 */
1035 GroupId: __string;
1036 /**
1037 * The ID of the group version to be deployed.
1038 */
1039 GroupVersionId?: __string;
1040 }
1041 export interface CreateDeploymentResponse {
1042 /**
1043 * The ARN of the deployment.
1044 */
1045 DeploymentArn?: __string;
1046 /**
1047 * The ID of the deployment.
1048 */
1049 DeploymentId?: __string;
1050 }
1051 export interface CreateDeviceDefinitionRequest {
1052 /**
1053 * A client token used to correlate requests and responses.
1054 */
1055 AmznClientToken?: __string;
1056 /**
1057 * Information about the initial version of the device definition.
1058 */
1059 InitialVersion?: DeviceDefinitionVersion;
1060 /**
1061 * The name of the device definition.
1062 */
1063 Name?: __string;
1064 }
1065 export interface CreateDeviceDefinitionResponse {
1066 /**
1067 * The ARN of the definition.
1068 */
1069 Arn?: __string;
1070 /**
1071 * The time, in milliseconds since the epoch, when the definition was created.
1072 */
1073 CreationTimestamp?: __string;
1074 /**
1075 * The ID of the definition.
1076 */
1077 Id?: __string;
1078 /**
1079 * The time, in milliseconds since the epoch, when the definition was last updated.
1080 */
1081 LastUpdatedTimestamp?: __string;
1082 /**
1083 * The latest version of the definition.
1084 */
1085 LatestVersion?: __string;
1086 /**
1087 * The ARN of the latest version of the definition.
1088 */
1089 LatestVersionArn?: __string;
1090 /**
1091 * The name of the definition.
1092 */
1093 Name?: __string;
1094 }
1095 export interface CreateDeviceDefinitionVersionRequest {
1096 /**
1097 * A client token used to correlate requests and responses.
1098 */
1099 AmznClientToken?: __string;
1100 /**
1101 * The ID of the device definition.
1102 */
1103 DeviceDefinitionId: __string;
1104 /**
1105 * A list of devices in the definition version.
1106 */
1107 Devices?: __listOfDevice;
1108 }
1109 export interface CreateDeviceDefinitionVersionResponse {
1110 /**
1111 * The ARN of the version.
1112 */
1113 Arn?: __string;
1114 /**
1115 * The time, in milliseconds since the epoch, when the version was created.
1116 */
1117 CreationTimestamp?: __string;
1118 /**
1119 * The ID of the version.
1120 */
1121 Id?: __string;
1122 /**
1123 * The unique ID of the version.
1124 */
1125 Version?: __string;
1126 }
1127 export interface CreateFunctionDefinitionRequest {
1128 /**
1129 * A client token used to correlate requests and responses.
1130 */
1131 AmznClientToken?: __string;
1132 /**
1133 * Information about the initial version of the function definition.
1134 */
1135 InitialVersion?: FunctionDefinitionVersion;
1136 /**
1137 * The name of the function definition.
1138 */
1139 Name?: __string;
1140 }
1141 export interface CreateFunctionDefinitionResponse {
1142 /**
1143 * The ARN of the definition.
1144 */
1145 Arn?: __string;
1146 /**
1147 * The time, in milliseconds since the epoch, when the definition was created.
1148 */
1149 CreationTimestamp?: __string;
1150 /**
1151 * The ID of the definition.
1152 */
1153 Id?: __string;
1154 /**
1155 * The time, in milliseconds since the epoch, when the definition was last updated.
1156 */
1157 LastUpdatedTimestamp?: __string;
1158 /**
1159 * The latest version of the definition.
1160 */
1161 LatestVersion?: __string;
1162 /**
1163 * The ARN of the latest version of the definition.
1164 */
1165 LatestVersionArn?: __string;
1166 /**
1167 * The name of the definition.
1168 */
1169 Name?: __string;
1170 }
1171 export interface CreateFunctionDefinitionVersionRequest {
1172 /**
1173 * A client token used to correlate requests and responses.
1174 */
1175 AmznClientToken?: __string;
1176 /**
1177 * The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.
1178 */
1179 DefaultConfig?: FunctionDefaultConfig;
1180 /**
1181 * The ID of the Lambda function definition.
1182 */
1183 FunctionDefinitionId: __string;
1184 /**
1185 * A list of Lambda functions in this function definition version.
1186 */
1187 Functions?: __listOfFunction;
1188 }
1189 export interface CreateFunctionDefinitionVersionResponse {
1190 /**
1191 * The ARN of the version.
1192 */
1193 Arn?: __string;
1194 /**
1195 * The time, in milliseconds since the epoch, when the version was created.
1196 */
1197 CreationTimestamp?: __string;
1198 /**
1199 * The ID of the version.
1200 */
1201 Id?: __string;
1202 /**
1203 * The unique ID of the version.
1204 */
1205 Version?: __string;
1206 }
1207 export interface CreateGroupCertificateAuthorityRequest {
1208 /**
1209 * A client token used to correlate requests and responses.
1210 */
1211 AmznClientToken?: __string;
1212 /**
1213 * The ID of the Greengrass group.
1214 */
1215 GroupId: __string;
1216 }
1217 export interface CreateGroupCertificateAuthorityResponse {
1218 /**
1219 * The ARN of the group certificate authority.
1220 */
1221 GroupCertificateAuthorityArn?: __string;
1222 }
1223 export interface CreateGroupRequest {
1224 /**
1225 * A client token used to correlate requests and responses.
1226 */
1227 AmznClientToken?: __string;
1228 /**
1229 * Information about the initial version of the group.
1230 */
1231 InitialVersion?: GroupVersion;
1232 /**
1233 * The name of the group.
1234 */
1235 Name?: __string;
1236 }
1237 export interface CreateGroupResponse {
1238 /**
1239 * The ARN of the definition.
1240 */
1241 Arn?: __string;
1242 /**
1243 * The time, in milliseconds since the epoch, when the definition was created.
1244 */
1245 CreationTimestamp?: __string;
1246 /**
1247 * The ID of the definition.
1248 */
1249 Id?: __string;
1250 /**
1251 * The time, in milliseconds since the epoch, when the definition was last updated.
1252 */
1253 LastUpdatedTimestamp?: __string;
1254 /**
1255 * The latest version of the definition.
1256 */
1257 LatestVersion?: __string;
1258 /**
1259 * The ARN of the latest version of the definition.
1260 */
1261 LatestVersionArn?: __string;
1262 /**
1263 * The name of the definition.
1264 */
1265 Name?: __string;
1266 }
1267 export interface CreateGroupVersionRequest {
1268 /**
1269 * A client token used to correlate requests and responses.
1270 */
1271 AmznClientToken?: __string;
1272 /**
1273 * The ARN of the connector definition version for this group.
1274 */
1275 ConnectorDefinitionVersionArn?: __string;
1276 /**
1277 * The ARN of the core definition version for this group.
1278 */
1279 CoreDefinitionVersionArn?: __string;
1280 /**
1281 * The ARN of the device definition version for this group.
1282 */
1283 DeviceDefinitionVersionArn?: __string;
1284 /**
1285 * The ARN of the function definition version for this group.
1286 */
1287 FunctionDefinitionVersionArn?: __string;
1288 /**
1289 * The ID of the Greengrass group.
1290 */
1291 GroupId: __string;
1292 /**
1293 * The ARN of the logger definition version for this group.
1294 */
1295 LoggerDefinitionVersionArn?: __string;
1296 /**
1297 * The ARN of the resource definition version for this group.
1298 */
1299 ResourceDefinitionVersionArn?: __string;
1300 /**
1301 * The ARN of the subscription definition version for this group.
1302 */
1303 SubscriptionDefinitionVersionArn?: __string;
1304 }
1305 export interface CreateGroupVersionResponse {
1306 /**
1307 * The ARN of the version.
1308 */
1309 Arn?: __string;
1310 /**
1311 * The time, in milliseconds since the epoch, when the version was created.
1312 */
1313 CreationTimestamp?: __string;
1314 /**
1315 * The ID of the version.
1316 */
1317 Id?: __string;
1318 /**
1319 * The unique ID of the version.
1320 */
1321 Version?: __string;
1322 }
1323 export interface CreateLoggerDefinitionRequest {
1324 /**
1325 * A client token used to correlate requests and responses.
1326 */
1327 AmznClientToken?: __string;
1328 /**
1329 * Information about the initial version of the logger definition.
1330 */
1331 InitialVersion?: LoggerDefinitionVersion;
1332 /**
1333 * The name of the logger definition.
1334 */
1335 Name?: __string;
1336 }
1337 export interface CreateLoggerDefinitionResponse {
1338 /**
1339 * The ARN of the definition.
1340 */
1341 Arn?: __string;
1342 /**
1343 * The time, in milliseconds since the epoch, when the definition was created.
1344 */
1345 CreationTimestamp?: __string;
1346 /**
1347 * The ID of the definition.
1348 */
1349 Id?: __string;
1350 /**
1351 * The time, in milliseconds since the epoch, when the definition was last updated.
1352 */
1353 LastUpdatedTimestamp?: __string;
1354 /**
1355 * The latest version of the definition.
1356 */
1357 LatestVersion?: __string;
1358 /**
1359 * The ARN of the latest version of the definition.
1360 */
1361 LatestVersionArn?: __string;
1362 /**
1363 * The name of the definition.
1364 */
1365 Name?: __string;
1366 }
1367 export interface CreateLoggerDefinitionVersionRequest {
1368 /**
1369 * A client token used to correlate requests and responses.
1370 */
1371 AmznClientToken?: __string;
1372 /**
1373 * The ID of the logger definition.
1374 */
1375 LoggerDefinitionId: __string;
1376 /**
1377 * A list of loggers.
1378 */
1379 Loggers?: __listOfLogger;
1380 }
1381 export interface CreateLoggerDefinitionVersionResponse {
1382 /**
1383 * The ARN of the version.
1384 */
1385 Arn?: __string;
1386 /**
1387 * The time, in milliseconds since the epoch, when the version was created.
1388 */
1389 CreationTimestamp?: __string;
1390 /**
1391 * The ID of the version.
1392 */
1393 Id?: __string;
1394 /**
1395 * The unique ID of the version.
1396 */
1397 Version?: __string;
1398 }
1399 export interface CreateResourceDefinitionRequest {
1400 /**
1401 * A client token used to correlate requests and responses.
1402 */
1403 AmznClientToken?: __string;
1404 /**
1405 * Information about the initial version of the resource definition.
1406 */
1407 InitialVersion?: ResourceDefinitionVersion;
1408 /**
1409 * The name of the resource definition.
1410 */
1411 Name?: __string;
1412 }
1413 export interface CreateResourceDefinitionResponse {
1414 /**
1415 * The ARN of the definition.
1416 */
1417 Arn?: __string;
1418 /**
1419 * The time, in milliseconds since the epoch, when the definition was created.
1420 */
1421 CreationTimestamp?: __string;
1422 /**
1423 * The ID of the definition.
1424 */
1425 Id?: __string;
1426 /**
1427 * The time, in milliseconds since the epoch, when the definition was last updated.
1428 */
1429 LastUpdatedTimestamp?: __string;
1430 /**
1431 * The latest version of the definition.
1432 */
1433 LatestVersion?: __string;
1434 /**
1435 * The ARN of the latest version of the definition.
1436 */
1437 LatestVersionArn?: __string;
1438 /**
1439 * The name of the definition.
1440 */
1441 Name?: __string;
1442 }
1443 export interface CreateResourceDefinitionVersionRequest {
1444 /**
1445 * A client token used to correlate requests and responses.
1446 */
1447 AmznClientToken?: __string;
1448 /**
1449 * The ID of the resource definition.
1450 */
1451 ResourceDefinitionId: __string;
1452 /**
1453 * A list of resources.
1454 */
1455 Resources?: __listOfResource;
1456 }
1457 export interface CreateResourceDefinitionVersionResponse {
1458 /**
1459 * The ARN of the version.
1460 */
1461 Arn?: __string;
1462 /**
1463 * The time, in milliseconds since the epoch, when the version was created.
1464 */
1465 CreationTimestamp?: __string;
1466 /**
1467 * The ID of the version.
1468 */
1469 Id?: __string;
1470 /**
1471 * The unique ID of the version.
1472 */
1473 Version?: __string;
1474 }
1475 export interface CreateSoftwareUpdateJobRequest {
1476 /**
1477 * A client token used to correlate requests and responses.
1478 */
1479 AmznClientToken?: __string;
1480 S3UrlSignerRole?: S3UrlSignerRole;
1481 SoftwareToUpdate?: SoftwareToUpdate;
1482 UpdateAgentLogLevel?: UpdateAgentLogLevel;
1483 UpdateTargets?: UpdateTargets;
1484 UpdateTargetsArchitecture?: UpdateTargetsArchitecture;
1485 UpdateTargetsOperatingSystem?: UpdateTargetsOperatingSystem;
1486 }
1487 export interface CreateSoftwareUpdateJobResponse {
1488 /**
1489 * The IoT Job ARN corresponding to this update.
1490 */
1491 IotJobArn?: __string;
1492 /**
1493 * The IoT Job Id corresponding to this update.
1494 */
1495 IotJobId?: __string;
1496 }
1497 export interface CreateSubscriptionDefinitionRequest {
1498 /**
1499 * A client token used to correlate requests and responses.
1500 */
1501 AmznClientToken?: __string;
1502 /**
1503 * Information about the initial version of the subscription definition.
1504 */
1505 InitialVersion?: SubscriptionDefinitionVersion;
1506 /**
1507 * The name of the subscription definition.
1508 */
1509 Name?: __string;
1510 }
1511 export interface CreateSubscriptionDefinitionResponse {
1512 /**
1513 * The ARN of the definition.
1514 */
1515 Arn?: __string;
1516 /**
1517 * The time, in milliseconds since the epoch, when the definition was created.
1518 */
1519 CreationTimestamp?: __string;
1520 /**
1521 * The ID of the definition.
1522 */
1523 Id?: __string;
1524 /**
1525 * The time, in milliseconds since the epoch, when the definition was last updated.
1526 */
1527 LastUpdatedTimestamp?: __string;
1528 /**
1529 * The latest version of the definition.
1530 */
1531 LatestVersion?: __string;
1532 /**
1533 * The ARN of the latest version of the definition.
1534 */
1535 LatestVersionArn?: __string;
1536 /**
1537 * The name of the definition.
1538 */
1539 Name?: __string;
1540 }
1541 export interface CreateSubscriptionDefinitionVersionRequest {
1542 /**
1543 * A client token used to correlate requests and responses.
1544 */
1545 AmznClientToken?: __string;
1546 /**
1547 * The ID of the subscription definition.
1548 */
1549 SubscriptionDefinitionId: __string;
1550 /**
1551 * A list of subscriptions.
1552 */
1553 Subscriptions?: __listOfSubscription;
1554 }
1555 export interface CreateSubscriptionDefinitionVersionResponse {
1556 /**
1557 * The ARN of the version.
1558 */
1559 Arn?: __string;
1560 /**
1561 * The time, in milliseconds since the epoch, when the version was created.
1562 */
1563 CreationTimestamp?: __string;
1564 /**
1565 * The ID of the version.
1566 */
1567 Id?: __string;
1568 /**
1569 * The unique ID of the version.
1570 */
1571 Version?: __string;
1572 }
1573 export interface DefinitionInformation {
1574 /**
1575 * The ARN of the definition.
1576 */
1577 Arn?: __string;
1578 /**
1579 * The time, in milliseconds since the epoch, when the definition was created.
1580 */
1581 CreationTimestamp?: __string;
1582 /**
1583 * The ID of the definition.
1584 */
1585 Id?: __string;
1586 /**
1587 * The time, in milliseconds since the epoch, when the definition was last updated.
1588 */
1589 LastUpdatedTimestamp?: __string;
1590 /**
1591 * The latest version of the definition.
1592 */
1593 LatestVersion?: __string;
1594 /**
1595 * The ARN of the latest version of the definition.
1596 */
1597 LatestVersionArn?: __string;
1598 /**
1599 * The name of the definition.
1600 */
1601 Name?: __string;
1602 }
1603 export interface DeleteConnectorDefinitionRequest {
1604 /**
1605 * The ID of the connector definition.
1606 */
1607 ConnectorDefinitionId: __string;
1608 }
1609 export interface DeleteConnectorDefinitionResponse {
1610 }
1611 export interface DeleteCoreDefinitionRequest {
1612 /**
1613 * The ID of the core definition.
1614 */
1615 CoreDefinitionId: __string;
1616 }
1617 export interface DeleteCoreDefinitionResponse {
1618 }
1619 export interface DeleteDeviceDefinitionRequest {
1620 /**
1621 * The ID of the device definition.
1622 */
1623 DeviceDefinitionId: __string;
1624 }
1625 export interface DeleteDeviceDefinitionResponse {
1626 }
1627 export interface DeleteFunctionDefinitionRequest {
1628 /**
1629 * The ID of the Lambda function definition.
1630 */
1631 FunctionDefinitionId: __string;
1632 }
1633 export interface DeleteFunctionDefinitionResponse {
1634 }
1635 export interface DeleteGroupRequest {
1636 /**
1637 * The ID of the Greengrass group.
1638 */
1639 GroupId: __string;
1640 }
1641 export interface DeleteGroupResponse {
1642 }
1643 export interface DeleteLoggerDefinitionRequest {
1644 /**
1645 * The ID of the logger definition.
1646 */
1647 LoggerDefinitionId: __string;
1648 }
1649 export interface DeleteLoggerDefinitionResponse {
1650 }
1651 export interface DeleteResourceDefinitionRequest {
1652 /**
1653 * The ID of the resource definition.
1654 */
1655 ResourceDefinitionId: __string;
1656 }
1657 export interface DeleteResourceDefinitionResponse {
1658 }
1659 export interface DeleteSubscriptionDefinitionRequest {
1660 /**
1661 * The ID of the subscription definition.
1662 */
1663 SubscriptionDefinitionId: __string;
1664 }
1665 export interface DeleteSubscriptionDefinitionResponse {
1666 }
1667 export interface Deployment {
1668 /**
1669 * The time, in milliseconds since the epoch, when the deployment was created.
1670 */
1671 CreatedAt?: __string;
1672 /**
1673 * The ARN of the deployment.
1674 */
1675 DeploymentArn?: __string;
1676 /**
1677 * The ID of the deployment.
1678 */
1679 DeploymentId?: __string;
1680 /**
1681 * The type of the deployment.
1682 */
1683 DeploymentType?: DeploymentType;
1684 /**
1685 * The ARN of the group for this deployment.
1686 */
1687 GroupArn?: __string;
1688 }
1689 export type DeploymentType = "NewDeployment"|"Redeployment"|"ResetDeployment"|"ForceResetDeployment"|string;
1690 export type Deployments = Deployment[];
1691 export interface Device {
1692 /**
1693 * The ARN of the certificate associated with the device.
1694 */
1695 CertificateArn?: __string;
1696 /**
1697 * 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:_-]+''.
1698 */
1699 Id?: __string;
1700 /**
1701 * If true, the device's local shadow will be automatically synced with the cloud.
1702 */
1703 SyncShadow?: __boolean;
1704 /**
1705 * The thing ARN of the device.
1706 */
1707 ThingArn?: __string;
1708 }
1709 export interface DeviceDefinitionVersion {
1710 /**
1711 * A list of devices in the definition version.
1712 */
1713 Devices?: __listOfDevice;
1714 }
1715 export interface DisassociateRoleFromGroupRequest {
1716 /**
1717 * The ID of the Greengrass group.
1718 */
1719 GroupId: __string;
1720 }
1721 export interface DisassociateRoleFromGroupResponse {
1722 /**
1723 * The time, in milliseconds since the epoch, when the role was disassociated from the group.
1724 */
1725 DisassociatedAt?: __string;
1726 }
1727 export interface DisassociateServiceRoleFromAccountRequest {
1728 }
1729 export interface DisassociateServiceRoleFromAccountResponse {
1730 /**
1731 * The time when the service role was disassociated from the account.
1732 */
1733 DisassociatedAt?: __string;
1734 }
1735 export type EncodingType = "binary"|"json"|string;
1736 export interface ErrorDetail {
1737 /**
1738 * A detailed error code.
1739 */
1740 DetailedErrorCode?: __string;
1741 /**
1742 * A detailed error message.
1743 */
1744 DetailedErrorMessage?: __string;
1745 }
1746 export type ErrorDetails = ErrorDetail[];
1747 export interface Function {
1748 /**
1749 * The ARN of the Lambda function.
1750 */
1751 FunctionArn?: __string;
1752 /**
1753 * The configuration of the Lambda function.
1754 */
1755 FunctionConfiguration?: FunctionConfiguration;
1756 /**
1757 * 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:_-]+''.
1758 */
1759 Id?: __string;
1760 }
1761 export interface FunctionConfiguration {
1762 /**
1763 * The expected encoding type of the input payload for the function. The default is ''json''.
1764 */
1765 EncodingType?: EncodingType;
1766 /**
1767 * The environment configuration of the function.
1768 */
1769 Environment?: FunctionConfigurationEnvironment;
1770 /**
1771 * The execution arguments.
1772 */
1773 ExecArgs?: __string;
1774 /**
1775 * The name of the function executable.
1776 */
1777 Executable?: __string;
1778 /**
1779 * 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.
1780 */
1781 MemorySize?: __integer;
1782 /**
1783 * True if the function is pinned. Pinned means the function is long-lived and starts when the core starts.
1784 */
1785 Pinned?: __boolean;
1786 /**
1787 * The allowed function execution time, after which Lambda should terminate the function. This timeout still applies to pinned Lambda functions for each request.
1788 */
1789 Timeout?: __integer;
1790 }
1791 export interface FunctionConfigurationEnvironment {
1792 /**
1793 * 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.
1794 */
1795 AccessSysfs?: __boolean;
1796 /**
1797 * Configuration related to executing the Lambda function
1798 */
1799 Execution?: FunctionExecutionConfig;
1800 /**
1801 * 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.
1802 */
1803 ResourceAccessPolicies?: __listOfResourceAccessPolicy;
1804 /**
1805 * Environment variables for the Lambda function's configuration.
1806 */
1807 Variables?: __mapOf__string;
1808 }
1809 export interface FunctionDefaultConfig {
1810 Execution?: FunctionDefaultExecutionConfig;
1811 }
1812 export interface FunctionDefaultExecutionConfig {
1813 IsolationMode?: FunctionIsolationMode;
1814 RunAs?: FunctionRunAsConfig;
1815 }
1816 export interface FunctionDefinitionVersion {
1817 /**
1818 * The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.
1819 */
1820 DefaultConfig?: FunctionDefaultConfig;
1821 /**
1822 * A list of Lambda functions in this function definition version.
1823 */
1824 Functions?: __listOfFunction;
1825 }
1826 export interface FunctionExecutionConfig {
1827 IsolationMode?: FunctionIsolationMode;
1828 RunAs?: FunctionRunAsConfig;
1829 }
1830 export type FunctionIsolationMode = "GreengrassContainer"|"NoContainer"|string;
1831 export interface FunctionRunAsConfig {
1832 /**
1833 * The group ID whose permissions are used to run a Lambda function.
1834 */
1835 Gid?: __integer;
1836 /**
1837 * The user ID whose permissions are used to run a Lambda function.
1838 */
1839 Uid?: __integer;
1840 }
1841 export interface GetAssociatedRoleRequest {
1842 /**
1843 * The ID of the Greengrass group.
1844 */
1845 GroupId: __string;
1846 }
1847 export interface GetAssociatedRoleResponse {
1848 /**
1849 * The time when the role was associated with the group.
1850 */
1851 AssociatedAt?: __string;
1852 /**
1853 * The ARN of the role that is associated with the group.
1854 */
1855 RoleArn?: __string;
1856 }
1857 export interface GetBulkDeploymentStatusRequest {
1858 /**
1859 * The ID of the bulk deployment.
1860 */
1861 BulkDeploymentId: __string;
1862 }
1863 export interface GetBulkDeploymentStatusResponse {
1864 /**
1865 * Relevant metrics on input records processed during bulk deployment.
1866 */
1867 BulkDeploymentMetrics?: BulkDeploymentMetrics;
1868 /**
1869 * The status of the bulk deployment.
1870 */
1871 BulkDeploymentStatus?: BulkDeploymentStatus;
1872 /**
1873 * The time, in ISO format, when the deployment was created.
1874 */
1875 CreatedAt?: __string;
1876 /**
1877 * Error details
1878 */
1879 ErrorDetails?: ErrorDetails;
1880 /**
1881 * Error message
1882 */
1883 ErrorMessage?: __string;
1884 }
1885 export interface GetConnectivityInfoRequest {
1886 /**
1887 * The thing name.
1888 */
1889 ThingName: __string;
1890 }
1891 export interface GetConnectivityInfoResponse {
1892 /**
1893 * Connectivity info list.
1894 */
1895 ConnectivityInfo?: __listOfConnectivityInfo;
1896 /**
1897 * A message about the connectivity info request.
1898 */
1899 Message?: __string;
1900 }
1901 export interface GetConnectorDefinitionRequest {
1902 /**
1903 * The ID of the connector definition.
1904 */
1905 ConnectorDefinitionId: __string;
1906 }
1907 export interface GetConnectorDefinitionResponse {
1908 /**
1909 * The ARN of the definition.
1910 */
1911 Arn?: __string;
1912 /**
1913 * The time, in milliseconds since the epoch, when the definition was created.
1914 */
1915 CreationTimestamp?: __string;
1916 /**
1917 * The ID of the definition.
1918 */
1919 Id?: __string;
1920 /**
1921 * The time, in milliseconds since the epoch, when the definition was last updated.
1922 */
1923 LastUpdatedTimestamp?: __string;
1924 /**
1925 * The latest version of the definition.
1926 */
1927 LatestVersion?: __string;
1928 /**
1929 * The ARN of the latest version of the definition.
1930 */
1931 LatestVersionArn?: __string;
1932 /**
1933 * The name of the definition.
1934 */
1935 Name?: __string;
1936 }
1937 export interface GetConnectorDefinitionVersionRequest {
1938 /**
1939 * The ID of the connector definition.
1940 */
1941 ConnectorDefinitionId: __string;
1942 /**
1943 * The ID of the connector definition version.
1944 */
1945 ConnectorDefinitionVersionId: __string;
1946 /**
1947 * The token for the next set of results, or ''null'' if there are no additional results.
1948 */
1949 NextToken?: __string;
1950 }
1951 export interface GetConnectorDefinitionVersionResponse {
1952 /**
1953 * The ARN of the connector definition version.
1954 */
1955 Arn?: __string;
1956 /**
1957 * The time, in milliseconds since the epoch, when the connector definition version was created.
1958 */
1959 CreationTimestamp?: __string;
1960 /**
1961 * Information about the connector definition version.
1962 */
1963 Definition?: ConnectorDefinitionVersion;
1964 /**
1965 * The ID of the connector definition version.
1966 */
1967 Id?: __string;
1968 /**
1969 * The token for the next set of results, or ''null'' if there are no additional results.
1970 */
1971 NextToken?: __string;
1972 /**
1973 * The version of the connector definition version.
1974 */
1975 Version?: __string;
1976 }
1977 export interface GetCoreDefinitionRequest {
1978 /**
1979 * The ID of the core definition.
1980 */
1981 CoreDefinitionId: __string;
1982 }
1983 export interface GetCoreDefinitionResponse {
1984 /**
1985 * The ARN of the definition.
1986 */
1987 Arn?: __string;
1988 /**
1989 * The time, in milliseconds since the epoch, when the definition was created.
1990 */
1991 CreationTimestamp?: __string;
1992 /**
1993 * The ID of the definition.
1994 */
1995 Id?: __string;
1996 /**
1997 * The time, in milliseconds since the epoch, when the definition was last updated.
1998 */
1999 LastUpdatedTimestamp?: __string;
2000 /**
2001 * The latest version of the definition.
2002 */
2003 LatestVersion?: __string;
2004 /**
2005 * The ARN of the latest version of the definition.
2006 */
2007 LatestVersionArn?: __string;
2008 /**
2009 * The name of the definition.
2010 */
2011 Name?: __string;
2012 }
2013 export interface GetCoreDefinitionVersionRequest {
2014 /**
2015 * The ID of the core definition.
2016 */
2017 CoreDefinitionId: __string;
2018 /**
2019 * The ID of the core definition version.
2020 */
2021 CoreDefinitionVersionId: __string;
2022 }
2023 export interface GetCoreDefinitionVersionResponse {
2024 /**
2025 * The ARN of the core definition version.
2026 */
2027 Arn?: __string;
2028 /**
2029 * The time, in milliseconds since the epoch, when the core definition version was created.
2030 */
2031 CreationTimestamp?: __string;
2032 /**
2033 * Information about the core definition version.
2034 */
2035 Definition?: CoreDefinitionVersion;
2036 /**
2037 * The ID of the core definition version.
2038 */
2039 Id?: __string;
2040 /**
2041 * The token for the next set of results, or ''null'' if there are no additional results.
2042 */
2043 NextToken?: __string;
2044 /**
2045 * The version of the core definition version.
2046 */
2047 Version?: __string;
2048 }
2049 export interface GetDeploymentStatusRequest {
2050 /**
2051 * The ID of the deployment.
2052 */
2053 DeploymentId: __string;
2054 /**
2055 * The ID of the Greengrass group.
2056 */
2057 GroupId: __string;
2058 }
2059 export interface GetDeploymentStatusResponse {
2060 /**
2061 * The status of the deployment: ''InProgress'', ''Building'', ''Success'', or ''Failure''.
2062 */
2063 DeploymentStatus?: __string;
2064 /**
2065 * The type of the deployment.
2066 */
2067 DeploymentType?: DeploymentType;
2068 /**
2069 * Error details
2070 */
2071 ErrorDetails?: ErrorDetails;
2072 /**
2073 * Error message
2074 */
2075 ErrorMessage?: __string;
2076 /**
2077 * The time, in milliseconds since the epoch, when the deployment status was updated.
2078 */
2079 UpdatedAt?: __string;
2080 }
2081 export interface GetDeviceDefinitionRequest {
2082 /**
2083 * The ID of the device definition.
2084 */
2085 DeviceDefinitionId: __string;
2086 }
2087 export interface GetDeviceDefinitionResponse {
2088 /**
2089 * The ARN of the definition.
2090 */
2091 Arn?: __string;
2092 /**
2093 * The time, in milliseconds since the epoch, when the definition was created.
2094 */
2095 CreationTimestamp?: __string;
2096 /**
2097 * The ID of the definition.
2098 */
2099 Id?: __string;
2100 /**
2101 * The time, in milliseconds since the epoch, when the definition was last updated.
2102 */
2103 LastUpdatedTimestamp?: __string;
2104 /**
2105 * The latest version of the definition.
2106 */
2107 LatestVersion?: __string;
2108 /**
2109 * The ARN of the latest version of the definition.
2110 */
2111 LatestVersionArn?: __string;
2112 /**
2113 * The name of the definition.
2114 */
2115 Name?: __string;
2116 }
2117 export interface GetDeviceDefinitionVersionRequest {
2118 /**
2119 * The ID of the device definition.
2120 */
2121 DeviceDefinitionId: __string;
2122 /**
2123 * The ID of the device definition version.
2124 */
2125 DeviceDefinitionVersionId: __string;
2126 /**
2127 * The token for the next set of results, or ''null'' if there are no additional results.
2128 */
2129 NextToken?: __string;
2130 }
2131 export interface GetDeviceDefinitionVersionResponse {
2132 /**
2133 * The ARN of the device definition version.
2134 */
2135 Arn?: __string;
2136 /**
2137 * The time, in milliseconds since the epoch, when the device definition version was created.
2138 */
2139 CreationTimestamp?: __string;
2140 /**
2141 * Information about the device definition version.
2142 */
2143 Definition?: DeviceDefinitionVersion;
2144 /**
2145 * The ID of the device definition version.
2146 */
2147 Id?: __string;
2148 /**
2149 * The token for the next set of results, or ''null'' if there are no additional results.
2150 */
2151 NextToken?: __string;
2152 /**
2153 * The version of the device definition version.
2154 */
2155 Version?: __string;
2156 }
2157 export interface GetFunctionDefinitionRequest {
2158 /**
2159 * The ID of the Lambda function definition.
2160 */
2161 FunctionDefinitionId: __string;
2162 }
2163 export interface GetFunctionDefinitionResponse {
2164 /**
2165 * The ARN of the definition.
2166 */
2167 Arn?: __string;
2168 /**
2169 * The time, in milliseconds since the epoch, when the definition was created.
2170 */
2171 CreationTimestamp?: __string;
2172 /**
2173 * The ID of the definition.
2174 */
2175 Id?: __string;
2176 /**
2177 * The time, in milliseconds since the epoch, when the definition was last updated.
2178 */
2179 LastUpdatedTimestamp?: __string;
2180 /**
2181 * The latest version of the definition.
2182 */
2183 LatestVersion?: __string;
2184 /**
2185 * The ARN of the latest version of the definition.
2186 */
2187 LatestVersionArn?: __string;
2188 /**
2189 * The name of the definition.
2190 */
2191 Name?: __string;
2192 }
2193 export interface GetFunctionDefinitionVersionRequest {
2194 /**
2195 * The ID of the Lambda function definition.
2196 */
2197 FunctionDefinitionId: __string;
2198 /**
2199 * The ID of the function definition version.
2200 */
2201 FunctionDefinitionVersionId: __string;
2202 /**
2203 * The token for the next set of results, or ''null'' if there are no additional results.
2204 */
2205 NextToken?: __string;
2206 }
2207 export interface GetFunctionDefinitionVersionResponse {
2208 /**
2209 * The ARN of the function definition version.
2210 */
2211 Arn?: __string;
2212 /**
2213 * The time, in milliseconds since the epoch, when the function definition version was created.
2214 */
2215 CreationTimestamp?: __string;
2216 /**
2217 * Information on the definition.
2218 */
2219 Definition?: FunctionDefinitionVersion;
2220 /**
2221 * The ID of the function definition version.
2222 */
2223 Id?: __string;
2224 /**
2225 * The token for the next set of results, or ''null'' if there are no additional results.
2226 */
2227 NextToken?: __string;
2228 /**
2229 * The version of the function definition version.
2230 */
2231 Version?: __string;
2232 }
2233 export interface GetGroupCertificateAuthorityRequest {
2234 /**
2235 * The ID of the certificate authority.
2236 */
2237 CertificateAuthorityId: __string;
2238 /**
2239 * The ID of the Greengrass group.
2240 */
2241 GroupId: __string;
2242 }
2243 export interface GetGroupCertificateAuthorityResponse {
2244 /**
2245 * The ARN of the certificate authority for the group.
2246 */
2247 GroupCertificateAuthorityArn?: __string;
2248 /**
2249 * The ID of the certificate authority for the group.
2250 */
2251 GroupCertificateAuthorityId?: __string;
2252 /**
2253 * The PEM encoded certificate for the group.
2254 */
2255 PemEncodedCertificate?: __string;
2256 }
2257 export interface GetGroupCertificateConfigurationRequest {
2258 /**
2259 * The ID of the Greengrass group.
2260 */
2261 GroupId: __string;
2262 }
2263 export interface GetGroupCertificateConfigurationResponse {
2264 /**
2265 * The amount of time remaining before the certificate authority expires, in milliseconds.
2266 */
2267 CertificateAuthorityExpiryInMilliseconds?: __string;
2268 /**
2269 * The amount of time remaining before the certificate expires, in milliseconds.
2270 */
2271 CertificateExpiryInMilliseconds?: __string;
2272 /**
2273 * The ID of the group certificate configuration.
2274 */
2275 GroupId?: __string;
2276 }
2277 export interface GetGroupRequest {
2278 /**
2279 * The ID of the Greengrass group.
2280 */
2281 GroupId: __string;
2282 }
2283 export interface GetGroupResponse {
2284 /**
2285 * The ARN of the definition.
2286 */
2287 Arn?: __string;
2288 /**
2289 * The time, in milliseconds since the epoch, when the definition was created.
2290 */
2291 CreationTimestamp?: __string;
2292 /**
2293 * The ID of the definition.
2294 */
2295 Id?: __string;
2296 /**
2297 * The time, in milliseconds since the epoch, when the definition was last updated.
2298 */
2299 LastUpdatedTimestamp?: __string;
2300 /**
2301 * The latest version of the definition.
2302 */
2303 LatestVersion?: __string;
2304 /**
2305 * The ARN of the latest version of the definition.
2306 */
2307 LatestVersionArn?: __string;
2308 /**
2309 * The name of the definition.
2310 */
2311 Name?: __string;
2312 }
2313 export interface GetGroupVersionRequest {
2314 /**
2315 * The ID of the Greengrass group.
2316 */
2317 GroupId: __string;
2318 /**
2319 * The ID of the group version.
2320 */
2321 GroupVersionId: __string;
2322 }
2323 export interface GetGroupVersionResponse {
2324 /**
2325 * The ARN of the group version.
2326 */
2327 Arn?: __string;
2328 /**
2329 * The time, in milliseconds since the epoch, when the group version was created.
2330 */
2331 CreationTimestamp?: __string;
2332 /**
2333 * Information about the group version definition.
2334 */
2335 Definition?: GroupVersion;
2336 /**
2337 * The ID of the group version.
2338 */
2339 Id?: __string;
2340 /**
2341 * The unique ID for the version of the group.
2342 */
2343 Version?: __string;
2344 }
2345 export interface GetLoggerDefinitionRequest {
2346 /**
2347 * The ID of the logger definition.
2348 */
2349 LoggerDefinitionId: __string;
2350 }
2351 export interface GetLoggerDefinitionResponse {
2352 /**
2353 * The ARN of the definition.
2354 */
2355 Arn?: __string;
2356 /**
2357 * The time, in milliseconds since the epoch, when the definition was created.
2358 */
2359 CreationTimestamp?: __string;
2360 /**
2361 * The ID of the definition.
2362 */
2363 Id?: __string;
2364 /**
2365 * The time, in milliseconds since the epoch, when the definition was last updated.
2366 */
2367 LastUpdatedTimestamp?: __string;
2368 /**
2369 * The latest version of the definition.
2370 */
2371 LatestVersion?: __string;
2372 /**
2373 * The ARN of the latest version of the definition.
2374 */
2375 LatestVersionArn?: __string;
2376 /**
2377 * The name of the definition.
2378 */
2379 Name?: __string;
2380 }
2381 export interface GetLoggerDefinitionVersionRequest {
2382 /**
2383 * The ID of the logger definition.
2384 */
2385 LoggerDefinitionId: __string;
2386 /**
2387 * The ID of the logger definition version.
2388 */
2389 LoggerDefinitionVersionId: __string;
2390 /**
2391 * The token for the next set of results, or ''null'' if there are no additional results.
2392 */
2393 NextToken?: __string;
2394 }
2395 export interface GetLoggerDefinitionVersionResponse {
2396 /**
2397 * The ARN of the logger definition version.
2398 */
2399 Arn?: __string;
2400 /**
2401 * The time, in milliseconds since the epoch, when the logger definition version was created.
2402 */
2403 CreationTimestamp?: __string;
2404 /**
2405 * Information about the logger definition version.
2406 */
2407 Definition?: LoggerDefinitionVersion;
2408 /**
2409 * The ID of the logger definition version.
2410 */
2411 Id?: __string;
2412 /**
2413 * The version of the logger definition version.
2414 */
2415 Version?: __string;
2416 }
2417 export interface GetResourceDefinitionRequest {
2418 /**
2419 * The ID of the resource definition.
2420 */
2421 ResourceDefinitionId: __string;
2422 }
2423 export interface GetResourceDefinitionResponse {
2424 /**
2425 * The ARN of the definition.
2426 */
2427 Arn?: __string;
2428 /**
2429 * The time, in milliseconds since the epoch, when the definition was created.
2430 */
2431 CreationTimestamp?: __string;
2432 /**
2433 * The ID of the definition.
2434 */
2435 Id?: __string;
2436 /**
2437 * The time, in milliseconds since the epoch, when the definition was last updated.
2438 */
2439 LastUpdatedTimestamp?: __string;
2440 /**
2441 * The latest version of the definition.
2442 */
2443 LatestVersion?: __string;
2444 /**
2445 * The ARN of the latest version of the definition.
2446 */
2447 LatestVersionArn?: __string;
2448 /**
2449 * The name of the definition.
2450 */
2451 Name?: __string;
2452 }
2453 export interface GetResourceDefinitionVersionRequest {
2454 /**
2455 * The ID of the resource definition.
2456 */
2457 ResourceDefinitionId: __string;
2458 /**
2459 * The ID of the resource definition version.
2460 */
2461 ResourceDefinitionVersionId: __string;
2462 }
2463 export interface GetResourceDefinitionVersionResponse {
2464 /**
2465 * Arn of the resource definition version.
2466 */
2467 Arn?: __string;
2468 /**
2469 * The time, in milliseconds since the epoch, when the resource definition version was created.
2470 */
2471 CreationTimestamp?: __string;
2472 /**
2473 * Information about the definition.
2474 */
2475 Definition?: ResourceDefinitionVersion;
2476 /**
2477 * The ID of the resource definition version.
2478 */
2479 Id?: __string;
2480 /**
2481 * The version of the resource definition version.
2482 */
2483 Version?: __string;
2484 }
2485 export interface GetServiceRoleForAccountRequest {
2486 }
2487 export interface GetServiceRoleForAccountResponse {
2488 /**
2489 * The time when the service role was associated with the account.
2490 */
2491 AssociatedAt?: __string;
2492 /**
2493 * The ARN of the role which is associated with the account.
2494 */
2495 RoleArn?: __string;
2496 }
2497 export interface GetSubscriptionDefinitionRequest {
2498 /**
2499 * The ID of the subscription definition.
2500 */
2501 SubscriptionDefinitionId: __string;
2502 }
2503 export interface GetSubscriptionDefinitionResponse {
2504 /**
2505 * The ARN of the definition.
2506 */
2507 Arn?: __string;
2508 /**
2509 * The time, in milliseconds since the epoch, when the definition was created.
2510 */
2511 CreationTimestamp?: __string;
2512 /**
2513 * The ID of the definition.
2514 */
2515 Id?: __string;
2516 /**
2517 * The time, in milliseconds since the epoch, when the definition was last updated.
2518 */
2519 LastUpdatedTimestamp?: __string;
2520 /**
2521 * The latest version of the definition.
2522 */
2523 LatestVersion?: __string;
2524 /**
2525 * The ARN of the latest version of the definition.
2526 */
2527 LatestVersionArn?: __string;
2528 /**
2529 * The name of the definition.
2530 */
2531 Name?: __string;
2532 }
2533 export interface GetSubscriptionDefinitionVersionRequest {
2534 /**
2535 * The token for the next set of results, or ''null'' if there are no additional results.
2536 */
2537 NextToken?: __string;
2538 /**
2539 * The ID of the subscription definition.
2540 */
2541 SubscriptionDefinitionId: __string;
2542 /**
2543 * The ID of the subscription definition version.
2544 */
2545 SubscriptionDefinitionVersionId: __string;
2546 }
2547 export interface GetSubscriptionDefinitionVersionResponse {
2548 /**
2549 * The ARN of the subscription definition version.
2550 */
2551 Arn?: __string;
2552 /**
2553 * The time, in milliseconds since the epoch, when the subscription definition version was created.
2554 */
2555 CreationTimestamp?: __string;
2556 /**
2557 * Information about the subscription definition version.
2558 */
2559 Definition?: SubscriptionDefinitionVersion;
2560 /**
2561 * The ID of the subscription definition version.
2562 */
2563 Id?: __string;
2564 /**
2565 * The token for the next set of results, or ''null'' if there are no additional results.
2566 */
2567 NextToken?: __string;
2568 /**
2569 * The version of the subscription definition version.
2570 */
2571 Version?: __string;
2572 }
2573 export interface GroupCertificateAuthorityProperties {
2574 /**
2575 * The ARN of the certificate authority for the group.
2576 */
2577 GroupCertificateAuthorityArn?: __string;
2578 /**
2579 * The ID of the certificate authority for the group.
2580 */
2581 GroupCertificateAuthorityId?: __string;
2582 }
2583 export interface GroupInformation {
2584 /**
2585 * The ARN of the group.
2586 */
2587 Arn?: __string;
2588 /**
2589 * The time, in milliseconds since the epoch, when the group was created.
2590 */
2591 CreationTimestamp?: __string;
2592 /**
2593 * The ID of the group.
2594 */
2595 Id?: __string;
2596 /**
2597 * The time, in milliseconds since the epoch, when the group was last updated.
2598 */
2599 LastUpdatedTimestamp?: __string;
2600 /**
2601 * The latest version of the group.
2602 */
2603 LatestVersion?: __string;
2604 /**
2605 * The ARN of the latest version of the group.
2606 */
2607 LatestVersionArn?: __string;
2608 /**
2609 * The name of the group.
2610 */
2611 Name?: __string;
2612 }
2613 export interface GroupOwnerSetting {
2614 /**
2615 * 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.
2616 */
2617 AutoAddGroupOwner?: __boolean;
2618 /**
2619 * The name of the Linux OS group whose privileges will be added to the Lambda process. This field is optional.
2620 */
2621 GroupOwner?: __string;
2622 }
2623 export interface GroupVersion {
2624 /**
2625 * The ARN of the connector definition version for this group.
2626 */
2627 ConnectorDefinitionVersionArn?: __string;
2628 /**
2629 * The ARN of the core definition version for this group.
2630 */
2631 CoreDefinitionVersionArn?: __string;
2632 /**
2633 * The ARN of the device definition version for this group.
2634 */
2635 DeviceDefinitionVersionArn?: __string;
2636 /**
2637 * The ARN of the function definition version for this group.
2638 */
2639 FunctionDefinitionVersionArn?: __string;
2640 /**
2641 * The ARN of the logger definition version for this group.
2642 */
2643 LoggerDefinitionVersionArn?: __string;
2644 /**
2645 * The ARN of the resource definition version for this group.
2646 */
2647 ResourceDefinitionVersionArn?: __string;
2648 /**
2649 * The ARN of the subscription definition version for this group.
2650 */
2651 SubscriptionDefinitionVersionArn?: __string;
2652 }
2653 export interface ListBulkDeploymentDetailedReportsRequest {
2654 /**
2655 * The ID of the bulk deployment.
2656 */
2657 BulkDeploymentId: __string;
2658 /**
2659 * The maximum number of results to be returned per request.
2660 */
2661 MaxResults?: __string;
2662 /**
2663 * The token for the next set of results, or ''null'' if there are no additional results.
2664 */
2665 NextToken?: __string;
2666 }
2667 export interface ListBulkDeploymentDetailedReportsResponse {
2668 /**
2669 * A list of the individual group deployments in the bulk deployment operation.
2670 */
2671 Deployments?: BulkDeploymentResults;
2672 /**
2673 * The token for the next set of results, or ''null'' if there are no additional results.
2674 */
2675 NextToken?: __string;
2676 }
2677 export interface ListBulkDeploymentsRequest {
2678 /**
2679 * The maximum number of results to be returned per request.
2680 */
2681 MaxResults?: __string;
2682 /**
2683 * The token for the next set of results, or ''null'' if there are no additional results.
2684 */
2685 NextToken?: __string;
2686 }
2687 export interface ListBulkDeploymentsResponse {
2688 /**
2689 * A list of bulk deployments.
2690 */
2691 BulkDeployments?: BulkDeployments;
2692 /**
2693 * The token for the next set of results, or ''null'' if there are no additional results.
2694 */
2695 NextToken?: __string;
2696 }
2697 export interface ListConnectorDefinitionVersionsRequest {
2698 /**
2699 * The ID of the connector definition.
2700 */
2701 ConnectorDefinitionId: __string;
2702 /**
2703 * The maximum number of results to be returned per request.
2704 */
2705 MaxResults?: __string;
2706 /**
2707 * The token for the next set of results, or ''null'' if there are no additional results.
2708 */
2709 NextToken?: __string;
2710 }
2711 export interface ListConnectorDefinitionVersionsResponse {
2712 /**
2713 * The token for the next set of results, or ''null'' if there are no additional results.
2714 */
2715 NextToken?: __string;
2716 /**
2717 * Information about a version.
2718 */
2719 Versions?: __listOfVersionInformation;
2720 }
2721 export interface ListConnectorDefinitionsRequest {
2722 /**
2723 * The maximum number of results to be returned per request.
2724 */
2725 MaxResults?: __string;
2726 /**
2727 * The token for the next set of results, or ''null'' if there are no additional results.
2728 */
2729 NextToken?: __string;
2730 }
2731 export interface ListConnectorDefinitionsResponse {
2732 /**
2733 * Information about a definition.
2734 */
2735 Definitions?: __listOfDefinitionInformation;
2736 /**
2737 * The token for the next set of results, or ''null'' if there are no additional results.
2738 */
2739 NextToken?: __string;
2740 }
2741 export interface ListCoreDefinitionVersionsRequest {
2742 /**
2743 * The ID of the core definition.
2744 */
2745 CoreDefinitionId: __string;
2746 /**
2747 * The maximum number of results to be returned per request.
2748 */
2749 MaxResults?: __string;
2750 /**
2751 * The token for the next set of results, or ''null'' if there are no additional results.
2752 */
2753 NextToken?: __string;
2754 }
2755 export interface ListCoreDefinitionVersionsResponse {
2756 /**
2757 * The token for the next set of results, or ''null'' if there are no additional results.
2758 */
2759 NextToken?: __string;
2760 /**
2761 * Information about a version.
2762 */
2763 Versions?: __listOfVersionInformation;
2764 }
2765 export interface ListCoreDefinitionsRequest {
2766 /**
2767 * The maximum number of results to be returned per request.
2768 */
2769 MaxResults?: __string;
2770 /**
2771 * The token for the next set of results, or ''null'' if there are no additional results.
2772 */
2773 NextToken?: __string;
2774 }
2775 export interface ListCoreDefinitionsResponse {
2776 /**
2777 * Information about a definition.
2778 */
2779 Definitions?: __listOfDefinitionInformation;
2780 /**
2781 * The token for the next set of results, or ''null'' if there are no additional results.
2782 */
2783 NextToken?: __string;
2784 }
2785 export interface ListDeploymentsRequest {
2786 /**
2787 * The ID of the Greengrass group.
2788 */
2789 GroupId: __string;
2790 /**
2791 * The maximum number of results to be returned per request.
2792 */
2793 MaxResults?: __string;
2794 /**
2795 * The token for the next set of results, or ''null'' if there are no additional results.
2796 */
2797 NextToken?: __string;
2798 }
2799 export interface ListDeploymentsResponse {
2800 /**
2801 * A list of deployments for the requested groups.
2802 */
2803 Deployments?: Deployments;
2804 /**
2805 * The token for the next set of results, or ''null'' if there are no additional results.
2806 */
2807 NextToken?: __string;
2808 }
2809 export interface ListDeviceDefinitionVersionsRequest {
2810 /**
2811 * The ID of the device definition.
2812 */
2813 DeviceDefinitionId: __string;
2814 /**
2815 * The maximum number of results to be returned per request.
2816 */
2817 MaxResults?: __string;
2818 /**
2819 * The token for the next set of results, or ''null'' if there are no additional results.
2820 */
2821 NextToken?: __string;
2822 }
2823 export interface ListDeviceDefinitionVersionsResponse {
2824 /**
2825 * The token for the next set of results, or ''null'' if there are no additional results.
2826 */
2827 NextToken?: __string;
2828 /**
2829 * Information about a version.
2830 */
2831 Versions?: __listOfVersionInformation;
2832 }
2833 export interface ListDeviceDefinitionsRequest {
2834 /**
2835 * The maximum number of results to be returned per request.
2836 */
2837 MaxResults?: __string;
2838 /**
2839 * The token for the next set of results, or ''null'' if there are no additional results.
2840 */
2841 NextToken?: __string;
2842 }
2843 export interface ListDeviceDefinitionsResponse {
2844 /**
2845 * Information about a definition.
2846 */
2847 Definitions?: __listOfDefinitionInformation;
2848 /**
2849 * The token for the next set of results, or ''null'' if there are no additional results.
2850 */
2851 NextToken?: __string;
2852 }
2853 export interface ListFunctionDefinitionVersionsRequest {
2854 /**
2855 * The ID of the Lambda function definition.
2856 */
2857 FunctionDefinitionId: __string;
2858 /**
2859 * The maximum number of results to be returned per request.
2860 */
2861 MaxResults?: __string;
2862 /**
2863 * The token for the next set of results, or ''null'' if there are no additional results.
2864 */
2865 NextToken?: __string;
2866 }
2867 export interface ListFunctionDefinitionVersionsResponse {
2868 /**
2869 * The token for the next set of results, or ''null'' if there are no additional results.
2870 */
2871 NextToken?: __string;
2872 /**
2873 * Information about a version.
2874 */
2875 Versions?: __listOfVersionInformation;
2876 }
2877 export interface ListFunctionDefinitionsRequest {
2878 /**
2879 * The maximum number of results to be returned per request.
2880 */
2881 MaxResults?: __string;
2882 /**
2883 * The token for the next set of results, or ''null'' if there are no additional results.
2884 */
2885 NextToken?: __string;
2886 }
2887 export interface ListFunctionDefinitionsResponse {
2888 /**
2889 * Information about a definition.
2890 */
2891 Definitions?: __listOfDefinitionInformation;
2892 /**
2893 * The token for the next set of results, or ''null'' if there are no additional results.
2894 */
2895 NextToken?: __string;
2896 }
2897 export interface ListGroupCertificateAuthoritiesRequest {
2898 /**
2899 * The ID of the Greengrass group.
2900 */
2901 GroupId: __string;
2902 }
2903 export interface ListGroupCertificateAuthoritiesResponse {
2904 /**
2905 * A list of certificate authorities associated with the group.
2906 */
2907 GroupCertificateAuthorities?: __listOfGroupCertificateAuthorityProperties;
2908 }
2909 export interface ListGroupVersionsRequest {
2910 /**
2911 * The ID of the Greengrass group.
2912 */
2913 GroupId: __string;
2914 /**
2915 * The maximum number of results to be returned per request.
2916 */
2917 MaxResults?: __string;
2918 /**
2919 * The token for the next set of results, or ''null'' if there are no additional results.
2920 */
2921 NextToken?: __string;
2922 }
2923 export interface ListGroupVersionsResponse {
2924 /**
2925 * The token for the next set of results, or ''null'' if there are no additional results.
2926 */
2927 NextToken?: __string;
2928 /**
2929 * Information about a version.
2930 */
2931 Versions?: __listOfVersionInformation;
2932 }
2933 export interface ListGroupsRequest {
2934 /**
2935 * The maximum number of results to be returned per request.
2936 */
2937 MaxResults?: __string;
2938 /**
2939 * The token for the next set of results, or ''null'' if there are no additional results.
2940 */
2941 NextToken?: __string;
2942 }
2943 export interface ListGroupsResponse {
2944 /**
2945 * Information about a group.
2946 */
2947 Groups?: __listOfGroupInformation;
2948 /**
2949 * The token for the next set of results, or ''null'' if there are no additional results.
2950 */
2951 NextToken?: __string;
2952 }
2953 export interface ListLoggerDefinitionVersionsRequest {
2954 /**
2955 * The ID of the logger definition.
2956 */
2957 LoggerDefinitionId: __string;
2958 /**
2959 * The maximum number of results to be returned per request.
2960 */
2961 MaxResults?: __string;
2962 /**
2963 * The token for the next set of results, or ''null'' if there are no additional results.
2964 */
2965 NextToken?: __string;
2966 }
2967 export interface ListLoggerDefinitionVersionsResponse {
2968 /**
2969 * The token for the next set of results, or ''null'' if there are no additional results.
2970 */
2971 NextToken?: __string;
2972 /**
2973 * Information about a version.
2974 */
2975 Versions?: __listOfVersionInformation;
2976 }
2977 export interface ListLoggerDefinitionsRequest {
2978 /**
2979 * The maximum number of results to be returned per request.
2980 */
2981 MaxResults?: __string;
2982 /**
2983 * The token for the next set of results, or ''null'' if there are no additional results.
2984 */
2985 NextToken?: __string;
2986 }
2987 export interface ListLoggerDefinitionsResponse {
2988 /**
2989 * Information about a definition.
2990 */
2991 Definitions?: __listOfDefinitionInformation;
2992 /**
2993 * The token for the next set of results, or ''null'' if there are no additional results.
2994 */
2995 NextToken?: __string;
2996 }
2997 export interface ListResourceDefinitionVersionsRequest {
2998 /**
2999 * The maximum number of results to be returned per request.
3000 */
3001 MaxResults?: __string;
3002 /**
3003 * The token for the next set of results, or ''null'' if there are no additional results.
3004 */
3005 NextToken?: __string;
3006 /**
3007 * The ID of the resource definition.
3008 */
3009 ResourceDefinitionId: __string;
3010 }
3011 export interface ListResourceDefinitionVersionsResponse {
3012 /**
3013 * The token for the next set of results, or ''null'' if there are no additional results.
3014 */
3015 NextToken?: __string;
3016 /**
3017 * Information about a version.
3018 */
3019 Versions?: __listOfVersionInformation;
3020 }
3021 export interface ListResourceDefinitionsRequest {
3022 /**
3023 * The maximum number of results to be returned per request.
3024 */
3025 MaxResults?: __string;
3026 /**
3027 * The token for the next set of results, or ''null'' if there are no additional results.
3028 */
3029 NextToken?: __string;
3030 }
3031 export interface ListResourceDefinitionsResponse {
3032 /**
3033 * Information about a definition.
3034 */
3035 Definitions?: __listOfDefinitionInformation;
3036 /**
3037 * The token for the next set of results, or ''null'' if there are no additional results.
3038 */
3039 NextToken?: __string;
3040 }
3041 export interface ListSubscriptionDefinitionVersionsRequest {
3042 /**
3043 * The maximum number of results to be returned per request.
3044 */
3045 MaxResults?: __string;
3046 /**
3047 * The token for the next set of results, or ''null'' if there are no additional results.
3048 */
3049 NextToken?: __string;
3050 /**
3051 * The ID of the subscription definition.
3052 */
3053 SubscriptionDefinitionId: __string;
3054 }
3055 export interface ListSubscriptionDefinitionVersionsResponse {
3056 /**
3057 * The token for the next set of results, or ''null'' if there are no additional results.
3058 */
3059 NextToken?: __string;
3060 /**
3061 * Information about a version.
3062 */
3063 Versions?: __listOfVersionInformation;
3064 }
3065 export interface ListSubscriptionDefinitionsRequest {
3066 /**
3067 * The maximum number of results to be returned per request.
3068 */
3069 MaxResults?: __string;
3070 /**
3071 * The token for the next set of results, or ''null'' if there are no additional results.
3072 */
3073 NextToken?: __string;
3074 }
3075 export interface ListSubscriptionDefinitionsResponse {
3076 /**
3077 * Information about a definition.
3078 */
3079 Definitions?: __listOfDefinitionInformation;
3080 /**
3081 * The token for the next set of results, or ''null'' if there are no additional results.
3082 */
3083 NextToken?: __string;
3084 }
3085 export interface LocalDeviceResourceData {
3086 /**
3087 * Group/owner related settings for local resources.
3088 */
3089 GroupOwnerSetting?: GroupOwnerSetting;
3090 /**
3091 * 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''.
3092 */
3093 SourcePath?: __string;
3094 }
3095 export interface LocalVolumeResourceData {
3096 /**
3097 * The absolute local path of the resource inside the Lambda environment.
3098 */
3099 DestinationPath?: __string;
3100 /**
3101 * Allows you to configure additional group privileges for the Lambda process. This field is optional.
3102 */
3103 GroupOwnerSetting?: GroupOwnerSetting;
3104 /**
3105 * The local absolute path of the volume resource on the host. The source path for a volume resource type cannot start with ''/sys''.
3106 */
3107 SourcePath?: __string;
3108 }
3109 export interface Logger {
3110 /**
3111 * The component that will be subject to logging.
3112 */
3113 Component?: LoggerComponent;
3114 /**
3115 * 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:_-]+''.
3116 */
3117 Id?: __string;
3118 /**
3119 * The level of the logs.
3120 */
3121 Level?: LoggerLevel;
3122 /**
3123 * The amount of file space, in KB, to use if the local file system is used for logging purposes.
3124 */
3125 Space?: __integer;
3126 /**
3127 * The type of log output which will be used.
3128 */
3129 Type?: LoggerType;
3130 }
3131 export type LoggerComponent = "GreengrassSystem"|"Lambda"|string;
3132 export interface LoggerDefinitionVersion {
3133 /**
3134 * A list of loggers.
3135 */
3136 Loggers?: __listOfLogger;
3137 }
3138 export type LoggerLevel = "DEBUG"|"INFO"|"WARN"|"ERROR"|"FATAL"|string;
3139 export type LoggerType = "FileSystem"|"AWSCloudWatch"|string;
3140 export type Permission = "ro"|"rw"|string;
3141 export interface ResetDeploymentsRequest {
3142 /**
3143 * A client token used to correlate requests and responses.
3144 */
3145 AmznClientToken?: __string;
3146 /**
3147 * If true, performs a best-effort only core reset.
3148 */
3149 Force?: __boolean;
3150 /**
3151 * The ID of the Greengrass group.
3152 */
3153 GroupId: __string;
3154 }
3155 export interface ResetDeploymentsResponse {
3156 /**
3157 * The ARN of the deployment.
3158 */
3159 DeploymentArn?: __string;
3160 /**
3161 * The ID of the deployment.
3162 */
3163 DeploymentId?: __string;
3164 }
3165 export interface Resource {
3166 /**
3167 * 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.
3168 */
3169 Id?: __string;
3170 /**
3171 * 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.
3172 */
3173 Name?: __string;
3174 /**
3175 * A container of data for all resource types.
3176 */
3177 ResourceDataContainer?: ResourceDataContainer;
3178 }
3179 export interface ResourceAccessPolicy {
3180 /**
3181 * The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).
3182 */
3183 Permission?: Permission;
3184 /**
3185 * The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)
3186 */
3187 ResourceId?: __string;
3188 }
3189 export interface ResourceDataContainer {
3190 /**
3191 * Attributes that define the local device resource.
3192 */
3193 LocalDeviceResourceData?: LocalDeviceResourceData;
3194 /**
3195 * Attributes that define the local volume resource.
3196 */
3197 LocalVolumeResourceData?: LocalVolumeResourceData;
3198 /**
3199 * Attributes that define an Amazon S3 machine learning resource.
3200 */
3201 S3MachineLearningModelResourceData?: S3MachineLearningModelResourceData;
3202 /**
3203 * Attributes that define an Amazon SageMaker machine learning resource.
3204 */
3205 SageMakerMachineLearningModelResourceData?: SageMakerMachineLearningModelResourceData;
3206 /**
3207 * Attributes that define a secret resource, which references a secret from AWS Secrets Manager.
3208 */
3209 SecretsManagerSecretResourceData?: SecretsManagerSecretResourceData;
3210 }
3211 export interface ResourceDefinitionVersion {
3212 /**
3213 * A list of resources.
3214 */
3215 Resources?: __listOfResource;
3216 }
3217 export interface S3MachineLearningModelResourceData {
3218 /**
3219 * The absolute local path of the resource inside the Lambda environment.
3220 */
3221 DestinationPath?: __string;
3222 /**
3223 * The URI of the source model in an S3 bucket. The model package must be in tar.gz or .zip format.
3224 */
3225 S3Uri?: __string;
3226 }
3227 export type S3UrlSignerRole = string;
3228 export interface SageMakerMachineLearningModelResourceData {
3229 /**
3230 * The absolute local path of the resource inside the Lambda environment.
3231 */
3232 DestinationPath?: __string;
3233 /**
3234 * The ARN of the Amazon SageMaker training job that represents the source model.
3235 */
3236 SageMakerJobArn?: __string;
3237 }
3238 export interface SecretsManagerSecretResourceData {
3239 /**
3240 * 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.
3241 */
3242 ARN?: __string;
3243 /**
3244 * Optional. The staging labels whose values you want to make available on the core, in addition to ''AWSCURRENT''.
3245 */
3246 AdditionalStagingLabelsToDownload?: __listOf__string;
3247 }
3248 export type SoftwareToUpdate = "core"|"ota_agent"|string;
3249 export interface StartBulkDeploymentRequest {
3250 /**
3251 * A client token used to correlate requests and responses.
3252 */
3253 AmznClientToken?: __string;
3254 /**
3255 * The ARN of the execution role to associate with the bulk deployment operation. This IAM role must allow the ''greengrass:CreateDeployment'' action for all group versions that are listed in the input file. This IAM role must have access to the S3 bucket containing the input file.
3256 */
3257 ExecutionRoleArn?: __string;
3258 /**
3259 * The URI of the input file contained in the S3 bucket. The execution role must have ''getObject'' permissions on this bucket to access the input file. The input file is a JSON-serialized, line delimited file with UTF-8 encoding that provides a list of group and version IDs and the deployment type. This file must be less than 100 MB. Currently, AWS IoT Greengrass supports only ''NewDeployment'' deployment types.
3260 */
3261 InputFileUri?: __string;
3262 }
3263 export interface StartBulkDeploymentResponse {
3264 /**
3265 * The ARN of the bulk deployment.
3266 */
3267 BulkDeploymentArn?: __string;
3268 /**
3269 * The ID of the bulk deployment.
3270 */
3271 BulkDeploymentId?: __string;
3272 }
3273 export interface StopBulkDeploymentRequest {
3274 /**
3275 * The ID of the bulk deployment.
3276 */
3277 BulkDeploymentId: __string;
3278 }
3279 export interface StopBulkDeploymentResponse {
3280 }
3281 export interface Subscription {
3282 /**
3283 * 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:_-]+''.
3284 */
3285 Id?: __string;
3286 /**
3287 * 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'.
3288 */
3289 Source?: __string;
3290 /**
3291 * The MQTT topic used to route the message.
3292 */
3293 Subject?: __string;
3294 /**
3295 * 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'.
3296 */
3297 Target?: __string;
3298 }
3299 export interface SubscriptionDefinitionVersion {
3300 /**
3301 * A list of subscriptions.
3302 */
3303 Subscriptions?: __listOfSubscription;
3304 }
3305 export type UpdateAgentLogLevel = "NONE"|"TRACE"|"DEBUG"|"VERBOSE"|"INFO"|"WARN"|"ERROR"|"FATAL"|string;
3306 export interface UpdateConnectivityInfoRequest {
3307 /**
3308 * A list of connectivity info.
3309 */
3310 ConnectivityInfo?: __listOfConnectivityInfo;
3311 /**
3312 * The thing name.
3313 */
3314 ThingName: __string;
3315 }
3316 export interface UpdateConnectivityInfoResponse {
3317 /**
3318 * A message about the connectivity info update request.
3319 */
3320 Message?: __string;
3321 /**
3322 * The new version of the connectivity info.
3323 */
3324 Version?: __string;
3325 }
3326 export interface UpdateConnectorDefinitionRequest {
3327 /**
3328 * The ID of the connector definition.
3329 */
3330 ConnectorDefinitionId: __string;
3331 /**
3332 * The name of the definition.
3333 */
3334 Name?: __string;
3335 }
3336 export interface UpdateConnectorDefinitionResponse {
3337 }
3338 export interface UpdateCoreDefinitionRequest {
3339 /**
3340 * The ID of the core definition.
3341 */
3342 CoreDefinitionId: __string;
3343 /**
3344 * The name of the definition.
3345 */
3346 Name?: __string;
3347 }
3348 export interface UpdateCoreDefinitionResponse {
3349 }
3350 export interface UpdateDeviceDefinitionRequest {
3351 /**
3352 * The ID of the device definition.
3353 */
3354 DeviceDefinitionId: __string;
3355 /**
3356 * The name of the definition.
3357 */
3358 Name?: __string;
3359 }
3360 export interface UpdateDeviceDefinitionResponse {
3361 }
3362 export interface UpdateFunctionDefinitionRequest {
3363 /**
3364 * The ID of the Lambda function definition.
3365 */
3366 FunctionDefinitionId: __string;
3367 /**
3368 * The name of the definition.
3369 */
3370 Name?: __string;
3371 }
3372 export interface UpdateFunctionDefinitionResponse {
3373 }
3374 export interface UpdateGroupCertificateConfigurationRequest {
3375 /**
3376 * The amount of time remaining before the certificate expires, in milliseconds.
3377 */
3378 CertificateExpiryInMilliseconds?: __string;
3379 /**
3380 * The ID of the Greengrass group.
3381 */
3382 GroupId: __string;
3383 }
3384 export interface UpdateGroupCertificateConfigurationResponse {
3385 /**
3386 * The amount of time remaining before the certificate authority expires, in milliseconds.
3387 */
3388 CertificateAuthorityExpiryInMilliseconds?: __string;
3389 /**
3390 * The amount of time remaining before the certificate expires, in milliseconds.
3391 */
3392 CertificateExpiryInMilliseconds?: __string;
3393 /**
3394 * The ID of the group certificate configuration.
3395 */
3396 GroupId?: __string;
3397 }
3398 export interface UpdateGroupRequest {
3399 /**
3400 * The ID of the Greengrass group.
3401 */
3402 GroupId: __string;
3403 /**
3404 * The name of the definition.
3405 */
3406 Name?: __string;
3407 }
3408 export interface UpdateGroupResponse {
3409 }
3410 export interface UpdateLoggerDefinitionRequest {
3411 /**
3412 * The ID of the logger definition.
3413 */
3414 LoggerDefinitionId: __string;
3415 /**
3416 * The name of the definition.
3417 */
3418 Name?: __string;
3419 }
3420 export interface UpdateLoggerDefinitionResponse {
3421 }
3422 export interface UpdateResourceDefinitionRequest {
3423 /**
3424 * The name of the definition.
3425 */
3426 Name?: __string;
3427 /**
3428 * The ID of the resource definition.
3429 */
3430 ResourceDefinitionId: __string;
3431 }
3432 export interface UpdateResourceDefinitionResponse {
3433 }
3434 export interface UpdateSubscriptionDefinitionRequest {
3435 /**
3436 * The name of the definition.
3437 */
3438 Name?: __string;
3439 /**
3440 * The ID of the subscription definition.
3441 */
3442 SubscriptionDefinitionId: __string;
3443 }
3444 export interface UpdateSubscriptionDefinitionResponse {
3445 }
3446 export type UpdateTargets = __string[];
3447 export type UpdateTargetsArchitecture = "armv7l"|"x86_64"|"aarch64"|string;
3448 export type UpdateTargetsOperatingSystem = "ubuntu"|"raspbian"|"amazon_linux"|string;
3449 export interface VersionInformation {
3450 /**
3451 * The ARN of the version.
3452 */
3453 Arn?: __string;
3454 /**
3455 * The time, in milliseconds since the epoch, when the version was created.
3456 */
3457 CreationTimestamp?: __string;
3458 /**
3459 * The ID of the version.
3460 */
3461 Id?: __string;
3462 /**
3463 * The unique ID of the version.
3464 */
3465 Version?: __string;
3466 }
3467 export type __boolean = boolean;
3468 export type __integer = number;
3469 export type __listOfConnectivityInfo = ConnectivityInfo[];
3470 export type __listOfConnector = Connector[];
3471 export type __listOfCore = Core[];
3472 export type __listOfDefinitionInformation = DefinitionInformation[];
3473 export type __listOfDevice = Device[];
3474 export type __listOfFunction = Function[];
3475 export type __listOfGroupCertificateAuthorityProperties = GroupCertificateAuthorityProperties[];
3476 export type __listOfGroupInformation = GroupInformation[];
3477 export type __listOfLogger = Logger[];
3478 export type __listOfResource = Resource[];
3479 export type __listOfResourceAccessPolicy = ResourceAccessPolicy[];
3480 export type __listOfSubscription = Subscription[];
3481 export type __listOfVersionInformation = VersionInformation[];
3482 export type __listOf__string = __string[];
3483 export type __mapOf__string = {[key: string]: __string};
3484 export type __string = string;
3485 /**
3486 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
3487 */
3488 export type apiVersion = "2017-06-07"|"latest"|string;
3489 export interface ClientApiVersions {
3490 /**
3491 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
3492 */
3493 apiVersion?: apiVersion;
3494 }
3495 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
3496 /**
3497 * Contains interfaces for use with the Greengrass client.
3498 */
3499 export import Types = Greengrass;
3500}
3501export = Greengrass;
3502
\No newline at end of file