aws-sdk-greengrass 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-greengrass.rb +1 -1
- data/lib/aws-sdk-greengrass/client.rb +386 -14
- data/lib/aws-sdk-greengrass/client_api.rb +211 -0
- data/lib/aws-sdk-greengrass/types.rb +754 -36
- metadata +2 -2
@@ -23,8 +23,14 @@ module Aws::Greengrass
|
|
23
23
|
BulkDeploymentStatus = Shapes::StringShape.new(name: 'BulkDeploymentStatus')
|
24
24
|
BulkDeployments = Shapes::ListShape.new(name: 'BulkDeployments')
|
25
25
|
ConnectivityInfo = Shapes::StructureShape.new(name: 'ConnectivityInfo')
|
26
|
+
Connector = Shapes::StructureShape.new(name: 'Connector')
|
27
|
+
ConnectorDefinitionVersion = Shapes::StructureShape.new(name: 'ConnectorDefinitionVersion')
|
26
28
|
Core = Shapes::StructureShape.new(name: 'Core')
|
27
29
|
CoreDefinitionVersion = Shapes::StructureShape.new(name: 'CoreDefinitionVersion')
|
30
|
+
CreateConnectorDefinitionRequest = Shapes::StructureShape.new(name: 'CreateConnectorDefinitionRequest')
|
31
|
+
CreateConnectorDefinitionResponse = Shapes::StructureShape.new(name: 'CreateConnectorDefinitionResponse')
|
32
|
+
CreateConnectorDefinitionVersionRequest = Shapes::StructureShape.new(name: 'CreateConnectorDefinitionVersionRequest')
|
33
|
+
CreateConnectorDefinitionVersionResponse = Shapes::StructureShape.new(name: 'CreateConnectorDefinitionVersionResponse')
|
28
34
|
CreateCoreDefinitionRequest = Shapes::StructureShape.new(name: 'CreateCoreDefinitionRequest')
|
29
35
|
CreateCoreDefinitionResponse = Shapes::StructureShape.new(name: 'CreateCoreDefinitionResponse')
|
30
36
|
CreateCoreDefinitionVersionRequest = Shapes::StructureShape.new(name: 'CreateCoreDefinitionVersionRequest')
|
@@ -60,6 +66,8 @@ module Aws::Greengrass
|
|
60
66
|
CreateSubscriptionDefinitionVersionRequest = Shapes::StructureShape.new(name: 'CreateSubscriptionDefinitionVersionRequest')
|
61
67
|
CreateSubscriptionDefinitionVersionResponse = Shapes::StructureShape.new(name: 'CreateSubscriptionDefinitionVersionResponse')
|
62
68
|
DefinitionInformation = Shapes::StructureShape.new(name: 'DefinitionInformation')
|
69
|
+
DeleteConnectorDefinitionRequest = Shapes::StructureShape.new(name: 'DeleteConnectorDefinitionRequest')
|
70
|
+
DeleteConnectorDefinitionResponse = Shapes::StructureShape.new(name: 'DeleteConnectorDefinitionResponse')
|
63
71
|
DeleteCoreDefinitionRequest = Shapes::StructureShape.new(name: 'DeleteCoreDefinitionRequest')
|
64
72
|
DeleteCoreDefinitionResponse = Shapes::StructureShape.new(name: 'DeleteCoreDefinitionResponse')
|
65
73
|
DeleteDeviceDefinitionRequest = Shapes::StructureShape.new(name: 'DeleteDeviceDefinitionRequest')
|
@@ -90,7 +98,12 @@ module Aws::Greengrass
|
|
90
98
|
Function = Shapes::StructureShape.new(name: 'Function')
|
91
99
|
FunctionConfiguration = Shapes::StructureShape.new(name: 'FunctionConfiguration')
|
92
100
|
FunctionConfigurationEnvironment = Shapes::StructureShape.new(name: 'FunctionConfigurationEnvironment')
|
101
|
+
FunctionDefaultConfig = Shapes::StructureShape.new(name: 'FunctionDefaultConfig')
|
102
|
+
FunctionDefaultExecutionConfig = Shapes::StructureShape.new(name: 'FunctionDefaultExecutionConfig')
|
93
103
|
FunctionDefinitionVersion = Shapes::StructureShape.new(name: 'FunctionDefinitionVersion')
|
104
|
+
FunctionExecutionConfig = Shapes::StructureShape.new(name: 'FunctionExecutionConfig')
|
105
|
+
FunctionIsolationMode = Shapes::StringShape.new(name: 'FunctionIsolationMode')
|
106
|
+
FunctionRunAsConfig = Shapes::StructureShape.new(name: 'FunctionRunAsConfig')
|
94
107
|
GeneralError = Shapes::StructureShape.new(name: 'GeneralError')
|
95
108
|
GetAssociatedRoleRequest = Shapes::StructureShape.new(name: 'GetAssociatedRoleRequest')
|
96
109
|
GetAssociatedRoleResponse = Shapes::StructureShape.new(name: 'GetAssociatedRoleResponse')
|
@@ -98,6 +111,10 @@ module Aws::Greengrass
|
|
98
111
|
GetBulkDeploymentStatusResponse = Shapes::StructureShape.new(name: 'GetBulkDeploymentStatusResponse')
|
99
112
|
GetConnectivityInfoRequest = Shapes::StructureShape.new(name: 'GetConnectivityInfoRequest')
|
100
113
|
GetConnectivityInfoResponse = Shapes::StructureShape.new(name: 'GetConnectivityInfoResponse')
|
114
|
+
GetConnectorDefinitionRequest = Shapes::StructureShape.new(name: 'GetConnectorDefinitionRequest')
|
115
|
+
GetConnectorDefinitionResponse = Shapes::StructureShape.new(name: 'GetConnectorDefinitionResponse')
|
116
|
+
GetConnectorDefinitionVersionRequest = Shapes::StructureShape.new(name: 'GetConnectorDefinitionVersionRequest')
|
117
|
+
GetConnectorDefinitionVersionResponse = Shapes::StructureShape.new(name: 'GetConnectorDefinitionVersionResponse')
|
101
118
|
GetCoreDefinitionRequest = Shapes::StructureShape.new(name: 'GetCoreDefinitionRequest')
|
102
119
|
GetCoreDefinitionResponse = Shapes::StructureShape.new(name: 'GetCoreDefinitionResponse')
|
103
120
|
GetCoreDefinitionVersionRequest = Shapes::StructureShape.new(name: 'GetCoreDefinitionVersionRequest')
|
@@ -144,6 +161,10 @@ module Aws::Greengrass
|
|
144
161
|
ListBulkDeploymentDetailedReportsResponse = Shapes::StructureShape.new(name: 'ListBulkDeploymentDetailedReportsResponse')
|
145
162
|
ListBulkDeploymentsRequest = Shapes::StructureShape.new(name: 'ListBulkDeploymentsRequest')
|
146
163
|
ListBulkDeploymentsResponse = Shapes::StructureShape.new(name: 'ListBulkDeploymentsResponse')
|
164
|
+
ListConnectorDefinitionVersionsRequest = Shapes::StructureShape.new(name: 'ListConnectorDefinitionVersionsRequest')
|
165
|
+
ListConnectorDefinitionVersionsResponse = Shapes::StructureShape.new(name: 'ListConnectorDefinitionVersionsResponse')
|
166
|
+
ListConnectorDefinitionsRequest = Shapes::StructureShape.new(name: 'ListConnectorDefinitionsRequest')
|
167
|
+
ListConnectorDefinitionsResponse = Shapes::StructureShape.new(name: 'ListConnectorDefinitionsResponse')
|
147
168
|
ListCoreDefinitionVersionsRequest = Shapes::StructureShape.new(name: 'ListCoreDefinitionVersionsRequest')
|
148
169
|
ListCoreDefinitionVersionsResponse = Shapes::StructureShape.new(name: 'ListCoreDefinitionVersionsResponse')
|
149
170
|
ListCoreDefinitionsRequest = Shapes::StructureShape.new(name: 'ListCoreDefinitionsRequest')
|
@@ -195,6 +216,7 @@ module Aws::Greengrass
|
|
195
216
|
S3MachineLearningModelResourceData = Shapes::StructureShape.new(name: 'S3MachineLearningModelResourceData')
|
196
217
|
S3UrlSignerRole = Shapes::StringShape.new(name: 'S3UrlSignerRole')
|
197
218
|
SageMakerMachineLearningModelResourceData = Shapes::StructureShape.new(name: 'SageMakerMachineLearningModelResourceData')
|
219
|
+
SecretsManagerSecretResourceData = Shapes::StructureShape.new(name: 'SecretsManagerSecretResourceData')
|
198
220
|
SoftwareToUpdate = Shapes::StringShape.new(name: 'SoftwareToUpdate')
|
199
221
|
StartBulkDeploymentRequest = Shapes::StructureShape.new(name: 'StartBulkDeploymentRequest')
|
200
222
|
StartBulkDeploymentResponse = Shapes::StructureShape.new(name: 'StartBulkDeploymentResponse')
|
@@ -205,6 +227,8 @@ module Aws::Greengrass
|
|
205
227
|
UpdateAgentLogLevel = Shapes::StringShape.new(name: 'UpdateAgentLogLevel')
|
206
228
|
UpdateConnectivityInfoRequest = Shapes::StructureShape.new(name: 'UpdateConnectivityInfoRequest')
|
207
229
|
UpdateConnectivityInfoResponse = Shapes::StructureShape.new(name: 'UpdateConnectivityInfoResponse')
|
230
|
+
UpdateConnectorDefinitionRequest = Shapes::StructureShape.new(name: 'UpdateConnectorDefinitionRequest')
|
231
|
+
UpdateConnectorDefinitionResponse = Shapes::StructureShape.new(name: 'UpdateConnectorDefinitionResponse')
|
208
232
|
UpdateCoreDefinitionRequest = Shapes::StructureShape.new(name: 'UpdateCoreDefinitionRequest')
|
209
233
|
UpdateCoreDefinitionResponse = Shapes::StructureShape.new(name: 'UpdateCoreDefinitionResponse')
|
210
234
|
UpdateDeviceDefinitionRequest = Shapes::StructureShape.new(name: 'UpdateDeviceDefinitionRequest')
|
@@ -229,6 +253,7 @@ module Aws::Greengrass
|
|
229
253
|
__double = Shapes::FloatShape.new(name: '__double')
|
230
254
|
__integer = Shapes::IntegerShape.new(name: '__integer')
|
231
255
|
__listOfConnectivityInfo = Shapes::ListShape.new(name: '__listOfConnectivityInfo')
|
256
|
+
__listOfConnector = Shapes::ListShape.new(name: '__listOfConnector')
|
232
257
|
__listOfCore = Shapes::ListShape.new(name: '__listOfCore')
|
233
258
|
__listOfDefinitionInformation = Shapes::ListShape.new(name: '__listOfDefinitionInformation')
|
234
259
|
__listOfDevice = Shapes::ListShape.new(name: '__listOfDevice')
|
@@ -240,6 +265,7 @@ module Aws::Greengrass
|
|
240
265
|
__listOfResourceAccessPolicy = Shapes::ListShape.new(name: '__listOfResourceAccessPolicy')
|
241
266
|
__listOfSubscription = Shapes::ListShape.new(name: '__listOfSubscription')
|
242
267
|
__listOfVersionInformation = Shapes::ListShape.new(name: '__listOfVersionInformation')
|
268
|
+
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
243
269
|
__long = Shapes::IntegerShape.new(name: '__long')
|
244
270
|
__mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
|
245
271
|
__string = Shapes::StringShape.new(name: '__string')
|
@@ -289,6 +315,14 @@ module Aws::Greengrass
|
|
289
315
|
ConnectivityInfo.add_member(:port_number, Shapes::ShapeRef.new(shape: __integer, location_name: "PortNumber"))
|
290
316
|
ConnectivityInfo.struct_class = Types::ConnectivityInfo
|
291
317
|
|
318
|
+
Connector.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, location_name: "ConnectorArn"))
|
319
|
+
Connector.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
320
|
+
Connector.add_member(:parameters, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "Parameters"))
|
321
|
+
Connector.struct_class = Types::Connector
|
322
|
+
|
323
|
+
ConnectorDefinitionVersion.add_member(:connectors, Shapes::ShapeRef.new(shape: __listOfConnector, location_name: "Connectors"))
|
324
|
+
ConnectorDefinitionVersion.struct_class = Types::ConnectorDefinitionVersion
|
325
|
+
|
292
326
|
Core.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: __string, location_name: "CertificateArn"))
|
293
327
|
Core.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
294
328
|
Core.add_member(:sync_shadow, Shapes::ShapeRef.new(shape: __boolean, location_name: "SyncShadow"))
|
@@ -298,6 +332,31 @@ module Aws::Greengrass
|
|
298
332
|
CoreDefinitionVersion.add_member(:cores, Shapes::ShapeRef.new(shape: __listOfCore, location_name: "Cores"))
|
299
333
|
CoreDefinitionVersion.struct_class = Types::CoreDefinitionVersion
|
300
334
|
|
335
|
+
CreateConnectorDefinitionRequest.add_member(:amzn_client_token, Shapes::ShapeRef.new(shape: __string, location: "header", location_name: "X-Amzn-Client-Token"))
|
336
|
+
CreateConnectorDefinitionRequest.add_member(:initial_version, Shapes::ShapeRef.new(shape: ConnectorDefinitionVersion, location_name: "InitialVersion"))
|
337
|
+
CreateConnectorDefinitionRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
338
|
+
CreateConnectorDefinitionRequest.struct_class = Types::CreateConnectorDefinitionRequest
|
339
|
+
|
340
|
+
CreateConnectorDefinitionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
341
|
+
CreateConnectorDefinitionResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: __string, location_name: "CreationTimestamp"))
|
342
|
+
CreateConnectorDefinitionResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
343
|
+
CreateConnectorDefinitionResponse.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: __string, location_name: "LastUpdatedTimestamp"))
|
344
|
+
CreateConnectorDefinitionResponse.add_member(:latest_version, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersion"))
|
345
|
+
CreateConnectorDefinitionResponse.add_member(:latest_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersionArn"))
|
346
|
+
CreateConnectorDefinitionResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
347
|
+
CreateConnectorDefinitionResponse.struct_class = Types::CreateConnectorDefinitionResponse
|
348
|
+
|
349
|
+
CreateConnectorDefinitionVersionRequest.add_member(:amzn_client_token, Shapes::ShapeRef.new(shape: __string, location: "header", location_name: "X-Amzn-Client-Token"))
|
350
|
+
CreateConnectorDefinitionVersionRequest.add_member(:connector_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ConnectorDefinitionId"))
|
351
|
+
CreateConnectorDefinitionVersionRequest.add_member(:connectors, Shapes::ShapeRef.new(shape: __listOfConnector, location_name: "Connectors"))
|
352
|
+
CreateConnectorDefinitionVersionRequest.struct_class = Types::CreateConnectorDefinitionVersionRequest
|
353
|
+
|
354
|
+
CreateConnectorDefinitionVersionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
355
|
+
CreateConnectorDefinitionVersionResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: __string, location_name: "CreationTimestamp"))
|
356
|
+
CreateConnectorDefinitionVersionResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
357
|
+
CreateConnectorDefinitionVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: __string, location_name: "Version"))
|
358
|
+
CreateConnectorDefinitionVersionResponse.struct_class = Types::CreateConnectorDefinitionVersionResponse
|
359
|
+
|
301
360
|
CreateCoreDefinitionRequest.add_member(:amzn_client_token, Shapes::ShapeRef.new(shape: __string, location: "header", location_name: "X-Amzn-Client-Token"))
|
302
361
|
CreateCoreDefinitionRequest.add_member(:initial_version, Shapes::ShapeRef.new(shape: CoreDefinitionVersion, location_name: "InitialVersion"))
|
303
362
|
CreateCoreDefinitionRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
@@ -374,6 +433,7 @@ module Aws::Greengrass
|
|
374
433
|
CreateFunctionDefinitionResponse.struct_class = Types::CreateFunctionDefinitionResponse
|
375
434
|
|
376
435
|
CreateFunctionDefinitionVersionRequest.add_member(:amzn_client_token, Shapes::ShapeRef.new(shape: __string, location: "header", location_name: "X-Amzn-Client-Token"))
|
436
|
+
CreateFunctionDefinitionVersionRequest.add_member(:default_config, Shapes::ShapeRef.new(shape: FunctionDefaultConfig, location_name: "DefaultConfig"))
|
377
437
|
CreateFunctionDefinitionVersionRequest.add_member(:function_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "FunctionDefinitionId"))
|
378
438
|
CreateFunctionDefinitionVersionRequest.add_member(:functions, Shapes::ShapeRef.new(shape: __listOfFunction, location_name: "Functions"))
|
379
439
|
CreateFunctionDefinitionVersionRequest.struct_class = Types::CreateFunctionDefinitionVersionRequest
|
@@ -406,6 +466,7 @@ module Aws::Greengrass
|
|
406
466
|
CreateGroupResponse.struct_class = Types::CreateGroupResponse
|
407
467
|
|
408
468
|
CreateGroupVersionRequest.add_member(:amzn_client_token, Shapes::ShapeRef.new(shape: __string, location: "header", location_name: "X-Amzn-Client-Token"))
|
469
|
+
CreateGroupVersionRequest.add_member(:connector_definition_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "ConnectorDefinitionVersionArn"))
|
409
470
|
CreateGroupVersionRequest.add_member(:core_definition_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "CoreDefinitionVersionArn"))
|
410
471
|
CreateGroupVersionRequest.add_member(:device_definition_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "DeviceDefinitionVersionArn"))
|
411
472
|
CreateGroupVersionRequest.add_member(:function_definition_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "FunctionDefinitionVersionArn"))
|
@@ -518,6 +579,11 @@ module Aws::Greengrass
|
|
518
579
|
DefinitionInformation.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
519
580
|
DefinitionInformation.struct_class = Types::DefinitionInformation
|
520
581
|
|
582
|
+
DeleteConnectorDefinitionRequest.add_member(:connector_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ConnectorDefinitionId"))
|
583
|
+
DeleteConnectorDefinitionRequest.struct_class = Types::DeleteConnectorDefinitionRequest
|
584
|
+
|
585
|
+
DeleteConnectorDefinitionResponse.struct_class = Types::DeleteConnectorDefinitionResponse
|
586
|
+
|
521
587
|
DeleteCoreDefinitionRequest.add_member(:core_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "CoreDefinitionId"))
|
522
588
|
DeleteCoreDefinitionRequest.struct_class = Types::DeleteCoreDefinitionRequest
|
523
589
|
|
@@ -605,13 +671,29 @@ module Aws::Greengrass
|
|
605
671
|
FunctionConfiguration.struct_class = Types::FunctionConfiguration
|
606
672
|
|
607
673
|
FunctionConfigurationEnvironment.add_member(:access_sysfs, Shapes::ShapeRef.new(shape: __boolean, location_name: "AccessSysfs"))
|
674
|
+
FunctionConfigurationEnvironment.add_member(:execution, Shapes::ShapeRef.new(shape: FunctionExecutionConfig, location_name: "Execution"))
|
608
675
|
FunctionConfigurationEnvironment.add_member(:resource_access_policies, Shapes::ShapeRef.new(shape: __listOfResourceAccessPolicy, location_name: "ResourceAccessPolicies"))
|
609
676
|
FunctionConfigurationEnvironment.add_member(:variables, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "Variables"))
|
610
677
|
FunctionConfigurationEnvironment.struct_class = Types::FunctionConfigurationEnvironment
|
611
678
|
|
679
|
+
FunctionDefaultConfig.add_member(:execution, Shapes::ShapeRef.new(shape: FunctionDefaultExecutionConfig, location_name: "Execution"))
|
680
|
+
FunctionDefaultConfig.struct_class = Types::FunctionDefaultConfig
|
681
|
+
|
682
|
+
FunctionDefaultExecutionConfig.add_member(:isolation_mode, Shapes::ShapeRef.new(shape: FunctionIsolationMode, location_name: "IsolationMode"))
|
683
|
+
FunctionDefaultExecutionConfig.struct_class = Types::FunctionDefaultExecutionConfig
|
684
|
+
|
685
|
+
FunctionDefinitionVersion.add_member(:default_config, Shapes::ShapeRef.new(shape: FunctionDefaultConfig, location_name: "DefaultConfig"))
|
612
686
|
FunctionDefinitionVersion.add_member(:functions, Shapes::ShapeRef.new(shape: __listOfFunction, location_name: "Functions"))
|
613
687
|
FunctionDefinitionVersion.struct_class = Types::FunctionDefinitionVersion
|
614
688
|
|
689
|
+
FunctionExecutionConfig.add_member(:isolation_mode, Shapes::ShapeRef.new(shape: FunctionIsolationMode, location_name: "IsolationMode"))
|
690
|
+
FunctionExecutionConfig.add_member(:run_as, Shapes::ShapeRef.new(shape: FunctionRunAsConfig, location_name: "RunAs"))
|
691
|
+
FunctionExecutionConfig.struct_class = Types::FunctionExecutionConfig
|
692
|
+
|
693
|
+
FunctionRunAsConfig.add_member(:gid, Shapes::ShapeRef.new(shape: __integer, location_name: "Gid"))
|
694
|
+
FunctionRunAsConfig.add_member(:uid, Shapes::ShapeRef.new(shape: __integer, location_name: "Uid"))
|
695
|
+
FunctionRunAsConfig.struct_class = Types::FunctionRunAsConfig
|
696
|
+
|
615
697
|
GeneralError.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "ErrorDetails"))
|
616
698
|
GeneralError.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
|
617
699
|
GeneralError.struct_class = Types::GeneralError
|
@@ -640,6 +722,31 @@ module Aws::Greengrass
|
|
640
722
|
GetConnectivityInfoResponse.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
641
723
|
GetConnectivityInfoResponse.struct_class = Types::GetConnectivityInfoResponse
|
642
724
|
|
725
|
+
GetConnectorDefinitionRequest.add_member(:connector_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ConnectorDefinitionId"))
|
726
|
+
GetConnectorDefinitionRequest.struct_class = Types::GetConnectorDefinitionRequest
|
727
|
+
|
728
|
+
GetConnectorDefinitionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
729
|
+
GetConnectorDefinitionResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: __string, location_name: "CreationTimestamp"))
|
730
|
+
GetConnectorDefinitionResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
731
|
+
GetConnectorDefinitionResponse.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: __string, location_name: "LastUpdatedTimestamp"))
|
732
|
+
GetConnectorDefinitionResponse.add_member(:latest_version, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersion"))
|
733
|
+
GetConnectorDefinitionResponse.add_member(:latest_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersionArn"))
|
734
|
+
GetConnectorDefinitionResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
735
|
+
GetConnectorDefinitionResponse.struct_class = Types::GetConnectorDefinitionResponse
|
736
|
+
|
737
|
+
GetConnectorDefinitionVersionRequest.add_member(:connector_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ConnectorDefinitionId"))
|
738
|
+
GetConnectorDefinitionVersionRequest.add_member(:connector_definition_version_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ConnectorDefinitionVersionId"))
|
739
|
+
GetConnectorDefinitionVersionRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "NextToken"))
|
740
|
+
GetConnectorDefinitionVersionRequest.struct_class = Types::GetConnectorDefinitionVersionRequest
|
741
|
+
|
742
|
+
GetConnectorDefinitionVersionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
743
|
+
GetConnectorDefinitionVersionResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: __string, location_name: "CreationTimestamp"))
|
744
|
+
GetConnectorDefinitionVersionResponse.add_member(:definition, Shapes::ShapeRef.new(shape: ConnectorDefinitionVersion, location_name: "Definition"))
|
745
|
+
GetConnectorDefinitionVersionResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
746
|
+
GetConnectorDefinitionVersionResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
747
|
+
GetConnectorDefinitionVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: __string, location_name: "Version"))
|
748
|
+
GetConnectorDefinitionVersionResponse.struct_class = Types::GetConnectorDefinitionVersionResponse
|
749
|
+
|
643
750
|
GetCoreDefinitionRequest.add_member(:core_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "CoreDefinitionId"))
|
644
751
|
GetCoreDefinitionRequest.struct_class = Types::GetCoreDefinitionRequest
|
645
752
|
|
@@ -865,6 +972,7 @@ module Aws::Greengrass
|
|
865
972
|
GroupOwnerSetting.add_member(:group_owner, Shapes::ShapeRef.new(shape: __string, location_name: "GroupOwner"))
|
866
973
|
GroupOwnerSetting.struct_class = Types::GroupOwnerSetting
|
867
974
|
|
975
|
+
GroupVersion.add_member(:connector_definition_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "ConnectorDefinitionVersionArn"))
|
868
976
|
GroupVersion.add_member(:core_definition_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "CoreDefinitionVersionArn"))
|
869
977
|
GroupVersion.add_member(:device_definition_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "DeviceDefinitionVersionArn"))
|
870
978
|
GroupVersion.add_member(:function_definition_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "FunctionDefinitionVersionArn"))
|
@@ -890,6 +998,23 @@ module Aws::Greengrass
|
|
890
998
|
ListBulkDeploymentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
891
999
|
ListBulkDeploymentsResponse.struct_class = Types::ListBulkDeploymentsResponse
|
892
1000
|
|
1001
|
+
ListConnectorDefinitionVersionsRequest.add_member(:connector_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ConnectorDefinitionId"))
|
1002
|
+
ListConnectorDefinitionVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "MaxResults"))
|
1003
|
+
ListConnectorDefinitionVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "NextToken"))
|
1004
|
+
ListConnectorDefinitionVersionsRequest.struct_class = Types::ListConnectorDefinitionVersionsRequest
|
1005
|
+
|
1006
|
+
ListConnectorDefinitionVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
1007
|
+
ListConnectorDefinitionVersionsResponse.add_member(:versions, Shapes::ShapeRef.new(shape: __listOfVersionInformation, location_name: "Versions"))
|
1008
|
+
ListConnectorDefinitionVersionsResponse.struct_class = Types::ListConnectorDefinitionVersionsResponse
|
1009
|
+
|
1010
|
+
ListConnectorDefinitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "MaxResults"))
|
1011
|
+
ListConnectorDefinitionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "NextToken"))
|
1012
|
+
ListConnectorDefinitionsRequest.struct_class = Types::ListConnectorDefinitionsRequest
|
1013
|
+
|
1014
|
+
ListConnectorDefinitionsResponse.add_member(:definitions, Shapes::ShapeRef.new(shape: __listOfDefinitionInformation, location_name: "Definitions"))
|
1015
|
+
ListConnectorDefinitionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
1016
|
+
ListConnectorDefinitionsResponse.struct_class = Types::ListConnectorDefinitionsResponse
|
1017
|
+
|
893
1018
|
ListCoreDefinitionVersionsRequest.add_member(:core_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "CoreDefinitionId"))
|
894
1019
|
ListCoreDefinitionVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "MaxResults"))
|
895
1020
|
ListCoreDefinitionVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "NextToken"))
|
@@ -1073,6 +1198,7 @@ module Aws::Greengrass
|
|
1073
1198
|
ResourceDataContainer.add_member(:local_volume_resource_data, Shapes::ShapeRef.new(shape: LocalVolumeResourceData, location_name: "LocalVolumeResourceData"))
|
1074
1199
|
ResourceDataContainer.add_member(:s3_machine_learning_model_resource_data, Shapes::ShapeRef.new(shape: S3MachineLearningModelResourceData, location_name: "S3MachineLearningModelResourceData"))
|
1075
1200
|
ResourceDataContainer.add_member(:sage_maker_machine_learning_model_resource_data, Shapes::ShapeRef.new(shape: SageMakerMachineLearningModelResourceData, location_name: "SageMakerMachineLearningModelResourceData"))
|
1201
|
+
ResourceDataContainer.add_member(:secrets_manager_secret_resource_data, Shapes::ShapeRef.new(shape: SecretsManagerSecretResourceData, location_name: "SecretsManagerSecretResourceData"))
|
1076
1202
|
ResourceDataContainer.struct_class = Types::ResourceDataContainer
|
1077
1203
|
|
1078
1204
|
ResourceDefinitionVersion.add_member(:resources, Shapes::ShapeRef.new(shape: __listOfResource, location_name: "Resources"))
|
@@ -1086,6 +1212,10 @@ module Aws::Greengrass
|
|
1086
1212
|
SageMakerMachineLearningModelResourceData.add_member(:sage_maker_job_arn, Shapes::ShapeRef.new(shape: __string, location_name: "SageMakerJobArn"))
|
1087
1213
|
SageMakerMachineLearningModelResourceData.struct_class = Types::SageMakerMachineLearningModelResourceData
|
1088
1214
|
|
1215
|
+
SecretsManagerSecretResourceData.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "ARN"))
|
1216
|
+
SecretsManagerSecretResourceData.add_member(:additional_staging_labels_to_download, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "AdditionalStagingLabelsToDownload"))
|
1217
|
+
SecretsManagerSecretResourceData.struct_class = Types::SecretsManagerSecretResourceData
|
1218
|
+
|
1089
1219
|
StartBulkDeploymentRequest.add_member(:amzn_client_token, Shapes::ShapeRef.new(shape: __string, location: "header", location_name: "X-Amzn-Client-Token"))
|
1090
1220
|
StartBulkDeploymentRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "ExecutionRoleArn"))
|
1091
1221
|
StartBulkDeploymentRequest.add_member(:input_file_uri, Shapes::ShapeRef.new(shape: __string, location_name: "InputFileUri"))
|
@@ -1117,6 +1247,12 @@ module Aws::Greengrass
|
|
1117
1247
|
UpdateConnectivityInfoResponse.add_member(:version, Shapes::ShapeRef.new(shape: __string, location_name: "Version"))
|
1118
1248
|
UpdateConnectivityInfoResponse.struct_class = Types::UpdateConnectivityInfoResponse
|
1119
1249
|
|
1250
|
+
UpdateConnectorDefinitionRequest.add_member(:connector_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ConnectorDefinitionId"))
|
1251
|
+
UpdateConnectorDefinitionRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
1252
|
+
UpdateConnectorDefinitionRequest.struct_class = Types::UpdateConnectorDefinitionRequest
|
1253
|
+
|
1254
|
+
UpdateConnectorDefinitionResponse.struct_class = Types::UpdateConnectorDefinitionResponse
|
1255
|
+
|
1120
1256
|
UpdateCoreDefinitionRequest.add_member(:core_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "CoreDefinitionId"))
|
1121
1257
|
UpdateCoreDefinitionRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
1122
1258
|
UpdateCoreDefinitionRequest.struct_class = Types::UpdateCoreDefinitionRequest
|
@@ -1178,6 +1314,8 @@ module Aws::Greengrass
|
|
1178
1314
|
|
1179
1315
|
__listOfConnectivityInfo.member = Shapes::ShapeRef.new(shape: ConnectivityInfo)
|
1180
1316
|
|
1317
|
+
__listOfConnector.member = Shapes::ShapeRef.new(shape: Connector)
|
1318
|
+
|
1181
1319
|
__listOfCore.member = Shapes::ShapeRef.new(shape: Core)
|
1182
1320
|
|
1183
1321
|
__listOfDefinitionInformation.member = Shapes::ShapeRef.new(shape: DefinitionInformation)
|
@@ -1200,6 +1338,8 @@ module Aws::Greengrass
|
|
1200
1338
|
|
1201
1339
|
__listOfVersionInformation.member = Shapes::ShapeRef.new(shape: VersionInformation)
|
1202
1340
|
|
1341
|
+
__listOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
1342
|
+
|
1203
1343
|
__mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
|
1204
1344
|
__mapOf__string.value = Shapes::ShapeRef.new(shape: __string)
|
1205
1345
|
|
@@ -1241,6 +1381,24 @@ module Aws::Greengrass
|
|
1241
1381
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1242
1382
|
end)
|
1243
1383
|
|
1384
|
+
api.add_operation(:create_connector_definition, Seahorse::Model::Operation.new.tap do |o|
|
1385
|
+
o.name = "CreateConnectorDefinition"
|
1386
|
+
o.http_method = "POST"
|
1387
|
+
o.http_request_uri = "/greengrass/definition/connectors"
|
1388
|
+
o.input = Shapes::ShapeRef.new(shape: CreateConnectorDefinitionRequest)
|
1389
|
+
o.output = Shapes::ShapeRef.new(shape: CreateConnectorDefinitionResponse)
|
1390
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1391
|
+
end)
|
1392
|
+
|
1393
|
+
api.add_operation(:create_connector_definition_version, Seahorse::Model::Operation.new.tap do |o|
|
1394
|
+
o.name = "CreateConnectorDefinitionVersion"
|
1395
|
+
o.http_method = "POST"
|
1396
|
+
o.http_request_uri = "/greengrass/definition/connectors/{ConnectorDefinitionId}/versions"
|
1397
|
+
o.input = Shapes::ShapeRef.new(shape: CreateConnectorDefinitionVersionRequest)
|
1398
|
+
o.output = Shapes::ShapeRef.new(shape: CreateConnectorDefinitionVersionResponse)
|
1399
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1400
|
+
end)
|
1401
|
+
|
1244
1402
|
api.add_operation(:create_core_definition, Seahorse::Model::Operation.new.tap do |o|
|
1245
1403
|
o.name = "CreateCoreDefinition"
|
1246
1404
|
o.http_method = "POST"
|
@@ -1396,6 +1554,15 @@ module Aws::Greengrass
|
|
1396
1554
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1397
1555
|
end)
|
1398
1556
|
|
1557
|
+
api.add_operation(:delete_connector_definition, Seahorse::Model::Operation.new.tap do |o|
|
1558
|
+
o.name = "DeleteConnectorDefinition"
|
1559
|
+
o.http_method = "DELETE"
|
1560
|
+
o.http_request_uri = "/greengrass/definition/connectors/{ConnectorDefinitionId}"
|
1561
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteConnectorDefinitionRequest)
|
1562
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteConnectorDefinitionResponse)
|
1563
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1564
|
+
end)
|
1565
|
+
|
1399
1566
|
api.add_operation(:delete_core_definition, Seahorse::Model::Operation.new.tap do |o|
|
1400
1567
|
o.name = "DeleteCoreDefinition"
|
1401
1568
|
o.http_method = "DELETE"
|
@@ -1507,6 +1674,24 @@ module Aws::Greengrass
|
|
1507
1674
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1508
1675
|
end)
|
1509
1676
|
|
1677
|
+
api.add_operation(:get_connector_definition, Seahorse::Model::Operation.new.tap do |o|
|
1678
|
+
o.name = "GetConnectorDefinition"
|
1679
|
+
o.http_method = "GET"
|
1680
|
+
o.http_request_uri = "/greengrass/definition/connectors/{ConnectorDefinitionId}"
|
1681
|
+
o.input = Shapes::ShapeRef.new(shape: GetConnectorDefinitionRequest)
|
1682
|
+
o.output = Shapes::ShapeRef.new(shape: GetConnectorDefinitionResponse)
|
1683
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1684
|
+
end)
|
1685
|
+
|
1686
|
+
api.add_operation(:get_connector_definition_version, Seahorse::Model::Operation.new.tap do |o|
|
1687
|
+
o.name = "GetConnectorDefinitionVersion"
|
1688
|
+
o.http_method = "GET"
|
1689
|
+
o.http_request_uri = "/greengrass/definition/connectors/{ConnectorDefinitionId}/versions/{ConnectorDefinitionVersionId}"
|
1690
|
+
o.input = Shapes::ShapeRef.new(shape: GetConnectorDefinitionVersionRequest)
|
1691
|
+
o.output = Shapes::ShapeRef.new(shape: GetConnectorDefinitionVersionResponse)
|
1692
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1693
|
+
end)
|
1694
|
+
|
1510
1695
|
api.add_operation(:get_core_definition, Seahorse::Model::Operation.new.tap do |o|
|
1511
1696
|
o.name = "GetCoreDefinition"
|
1512
1697
|
o.http_method = "GET"
|
@@ -1689,6 +1874,23 @@ module Aws::Greengrass
|
|
1689
1874
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1690
1875
|
end)
|
1691
1876
|
|
1877
|
+
api.add_operation(:list_connector_definition_versions, Seahorse::Model::Operation.new.tap do |o|
|
1878
|
+
o.name = "ListConnectorDefinitionVersions"
|
1879
|
+
o.http_method = "GET"
|
1880
|
+
o.http_request_uri = "/greengrass/definition/connectors/{ConnectorDefinitionId}/versions"
|
1881
|
+
o.input = Shapes::ShapeRef.new(shape: ListConnectorDefinitionVersionsRequest)
|
1882
|
+
o.output = Shapes::ShapeRef.new(shape: ListConnectorDefinitionVersionsResponse)
|
1883
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1884
|
+
end)
|
1885
|
+
|
1886
|
+
api.add_operation(:list_connector_definitions, Seahorse::Model::Operation.new.tap do |o|
|
1887
|
+
o.name = "ListConnectorDefinitions"
|
1888
|
+
o.http_method = "GET"
|
1889
|
+
o.http_request_uri = "/greengrass/definition/connectors"
|
1890
|
+
o.input = Shapes::ShapeRef.new(shape: ListConnectorDefinitionsRequest)
|
1891
|
+
o.output = Shapes::ShapeRef.new(shape: ListConnectorDefinitionsResponse)
|
1892
|
+
end)
|
1893
|
+
|
1692
1894
|
api.add_operation(:list_core_definition_versions, Seahorse::Model::Operation.new.tap do |o|
|
1693
1895
|
o.name = "ListCoreDefinitionVersions"
|
1694
1896
|
o.http_method = "GET"
|
@@ -1864,6 +2066,15 @@ module Aws::Greengrass
|
|
1864
2066
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1865
2067
|
end)
|
1866
2068
|
|
2069
|
+
api.add_operation(:update_connector_definition, Seahorse::Model::Operation.new.tap do |o|
|
2070
|
+
o.name = "UpdateConnectorDefinition"
|
2071
|
+
o.http_method = "PUT"
|
2072
|
+
o.http_request_uri = "/greengrass/definition/connectors/{ConnectorDefinitionId}"
|
2073
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateConnectorDefinitionRequest)
|
2074
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateConnectorDefinitionResponse)
|
2075
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2076
|
+
end)
|
2077
|
+
|
1867
2078
|
api.add_operation(:update_core_definition, Seahorse::Model::Operation.new.tap do |o|
|
1868
2079
|
o.name = "UpdateCoreDefinition"
|
1869
2080
|
o.http_method = "PUT"
|
@@ -72,7 +72,9 @@ module Aws::Greengrass
|
|
72
72
|
include Aws::Structure
|
73
73
|
end
|
74
74
|
|
75
|
-
# Information about a bulk deployment.
|
75
|
+
# Information about a bulk deployment. You cannot start a new bulk
|
76
|
+
# deployment while another one is still running or in a non-terminal
|
77
|
+
# state.
|
76
78
|
#
|
77
79
|
# @!attribute [rw] bulk_deployment_arn
|
78
80
|
# The ARN of the bulk deployment.
|
@@ -111,7 +113,10 @@ module Aws::Greengrass
|
|
111
113
|
# @return [Integer]
|
112
114
|
#
|
113
115
|
# @!attribute [rw] retry_attempts
|
114
|
-
# The total number of
|
116
|
+
# The total number of deployment attempts that returned a retryable
|
117
|
+
# error. For example, a retry is triggered if the attempt to deploy a
|
118
|
+
# group returns a throttling error. ''StartBulkDeployment''
|
119
|
+
# retries a group deployment up to five times.
|
115
120
|
# @return [Integer]
|
116
121
|
#
|
117
122
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/BulkDeploymentMetrics AWS API Documentation
|
@@ -211,6 +216,74 @@ module Aws::Greengrass
|
|
211
216
|
include Aws::Structure
|
212
217
|
end
|
213
218
|
|
219
|
+
# Information about a connector. Connectors run on the Greengrass core
|
220
|
+
# and contain built-in integration with local infrastructure, device
|
221
|
+
# protocols, AWS, and other cloud services.
|
222
|
+
#
|
223
|
+
# @note When making an API call, you may pass Connector
|
224
|
+
# data as a hash:
|
225
|
+
#
|
226
|
+
# {
|
227
|
+
# connector_arn: "__string",
|
228
|
+
# id: "__string",
|
229
|
+
# parameters: {
|
230
|
+
# "__string" => "__string",
|
231
|
+
# },
|
232
|
+
# }
|
233
|
+
#
|
234
|
+
# @!attribute [rw] connector_arn
|
235
|
+
# The ARN of the connector.
|
236
|
+
# @return [String]
|
237
|
+
#
|
238
|
+
# @!attribute [rw] id
|
239
|
+
# A descriptive or arbitrary ID for the connector. This value must be
|
240
|
+
# unique within the connector definition version. Max length is 128
|
241
|
+
# characters with pattern \[a-zA-Z0-9:\_-\]+.
|
242
|
+
# @return [String]
|
243
|
+
#
|
244
|
+
# @!attribute [rw] parameters
|
245
|
+
# The parameters or configuration that the connector uses.
|
246
|
+
# @return [Hash<String,String>]
|
247
|
+
#
|
248
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/Connector AWS API Documentation
|
249
|
+
#
|
250
|
+
class Connector < Struct.new(
|
251
|
+
:connector_arn,
|
252
|
+
:id,
|
253
|
+
:parameters)
|
254
|
+
include Aws::Structure
|
255
|
+
end
|
256
|
+
|
257
|
+
# Information about the connector definition version, which is a
|
258
|
+
# container for connectors.
|
259
|
+
#
|
260
|
+
# @note When making an API call, you may pass ConnectorDefinitionVersion
|
261
|
+
# data as a hash:
|
262
|
+
#
|
263
|
+
# {
|
264
|
+
# connectors: [
|
265
|
+
# {
|
266
|
+
# connector_arn: "__string",
|
267
|
+
# id: "__string",
|
268
|
+
# parameters: {
|
269
|
+
# "__string" => "__string",
|
270
|
+
# },
|
271
|
+
# },
|
272
|
+
# ],
|
273
|
+
# }
|
274
|
+
#
|
275
|
+
# @!attribute [rw] connectors
|
276
|
+
# A list of references to connectors in this version, with their
|
277
|
+
# corresponding configuration settings.
|
278
|
+
# @return [Array<Types::Connector>]
|
279
|
+
#
|
280
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ConnectorDefinitionVersion AWS API Documentation
|
281
|
+
#
|
282
|
+
class ConnectorDefinitionVersion < Struct.new(
|
283
|
+
:connectors)
|
284
|
+
include Aws::Structure
|
285
|
+
end
|
286
|
+
|
214
287
|
# Information about a core.
|
215
288
|
#
|
216
289
|
# @note When making an API call, you may pass Core
|
@@ -230,7 +303,7 @@ module Aws::Greengrass
|
|
230
303
|
# @!attribute [rw] id
|
231
304
|
# A descriptive or arbitrary ID for the core. This value must be
|
232
305
|
# unique within the core definition version. Max length is 128
|
233
|
-
# characters with pattern ''\[a
|
306
|
+
# characters with pattern ''\[a-zA-Z0-9:\_-\]+''.
|
234
307
|
# @return [String]
|
235
308
|
#
|
236
309
|
# @!attribute [rw] sync_shadow
|
@@ -279,6 +352,136 @@ module Aws::Greengrass
|
|
279
352
|
include Aws::Structure
|
280
353
|
end
|
281
354
|
|
355
|
+
# @note When making an API call, you may pass CreateConnectorDefinitionRequest
|
356
|
+
# data as a hash:
|
357
|
+
#
|
358
|
+
# {
|
359
|
+
# amzn_client_token: "__string",
|
360
|
+
# initial_version: {
|
361
|
+
# connectors: [
|
362
|
+
# {
|
363
|
+
# connector_arn: "__string",
|
364
|
+
# id: "__string",
|
365
|
+
# parameters: {
|
366
|
+
# "__string" => "__string",
|
367
|
+
# },
|
368
|
+
# },
|
369
|
+
# ],
|
370
|
+
# },
|
371
|
+
# name: "__string",
|
372
|
+
# }
|
373
|
+
#
|
374
|
+
# @!attribute [rw] amzn_client_token
|
375
|
+
# @return [String]
|
376
|
+
#
|
377
|
+
# @!attribute [rw] initial_version
|
378
|
+
# Information about the connector definition version, which is a
|
379
|
+
# container for connectors.
|
380
|
+
# @return [Types::ConnectorDefinitionVersion]
|
381
|
+
#
|
382
|
+
# @!attribute [rw] name
|
383
|
+
# @return [String]
|
384
|
+
#
|
385
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateConnectorDefinitionRequest AWS API Documentation
|
386
|
+
#
|
387
|
+
class CreateConnectorDefinitionRequest < Struct.new(
|
388
|
+
:amzn_client_token,
|
389
|
+
:initial_version,
|
390
|
+
:name)
|
391
|
+
include Aws::Structure
|
392
|
+
end
|
393
|
+
|
394
|
+
# @!attribute [rw] arn
|
395
|
+
# @return [String]
|
396
|
+
#
|
397
|
+
# @!attribute [rw] creation_timestamp
|
398
|
+
# @return [String]
|
399
|
+
#
|
400
|
+
# @!attribute [rw] id
|
401
|
+
# @return [String]
|
402
|
+
#
|
403
|
+
# @!attribute [rw] last_updated_timestamp
|
404
|
+
# @return [String]
|
405
|
+
#
|
406
|
+
# @!attribute [rw] latest_version
|
407
|
+
# @return [String]
|
408
|
+
#
|
409
|
+
# @!attribute [rw] latest_version_arn
|
410
|
+
# @return [String]
|
411
|
+
#
|
412
|
+
# @!attribute [rw] name
|
413
|
+
# @return [String]
|
414
|
+
#
|
415
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateConnectorDefinitionResponse AWS API Documentation
|
416
|
+
#
|
417
|
+
class CreateConnectorDefinitionResponse < Struct.new(
|
418
|
+
:arn,
|
419
|
+
:creation_timestamp,
|
420
|
+
:id,
|
421
|
+
:last_updated_timestamp,
|
422
|
+
:latest_version,
|
423
|
+
:latest_version_arn,
|
424
|
+
:name)
|
425
|
+
include Aws::Structure
|
426
|
+
end
|
427
|
+
|
428
|
+
# @note When making an API call, you may pass CreateConnectorDefinitionVersionRequest
|
429
|
+
# data as a hash:
|
430
|
+
#
|
431
|
+
# {
|
432
|
+
# amzn_client_token: "__string",
|
433
|
+
# connector_definition_id: "__string", # required
|
434
|
+
# connectors: [
|
435
|
+
# {
|
436
|
+
# connector_arn: "__string",
|
437
|
+
# id: "__string",
|
438
|
+
# parameters: {
|
439
|
+
# "__string" => "__string",
|
440
|
+
# },
|
441
|
+
# },
|
442
|
+
# ],
|
443
|
+
# }
|
444
|
+
#
|
445
|
+
# @!attribute [rw] amzn_client_token
|
446
|
+
# @return [String]
|
447
|
+
#
|
448
|
+
# @!attribute [rw] connector_definition_id
|
449
|
+
# @return [String]
|
450
|
+
#
|
451
|
+
# @!attribute [rw] connectors
|
452
|
+
# @return [Array<Types::Connector>]
|
453
|
+
#
|
454
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateConnectorDefinitionVersionRequest AWS API Documentation
|
455
|
+
#
|
456
|
+
class CreateConnectorDefinitionVersionRequest < Struct.new(
|
457
|
+
:amzn_client_token,
|
458
|
+
:connector_definition_id,
|
459
|
+
:connectors)
|
460
|
+
include Aws::Structure
|
461
|
+
end
|
462
|
+
|
463
|
+
# @!attribute [rw] arn
|
464
|
+
# @return [String]
|
465
|
+
#
|
466
|
+
# @!attribute [rw] creation_timestamp
|
467
|
+
# @return [String]
|
468
|
+
#
|
469
|
+
# @!attribute [rw] id
|
470
|
+
# @return [String]
|
471
|
+
#
|
472
|
+
# @!attribute [rw] version
|
473
|
+
# @return [String]
|
474
|
+
#
|
475
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateConnectorDefinitionVersionResponse AWS API Documentation
|
476
|
+
#
|
477
|
+
class CreateConnectorDefinitionVersionResponse < Struct.new(
|
478
|
+
:arn,
|
479
|
+
:creation_timestamp,
|
480
|
+
:id,
|
481
|
+
:version)
|
482
|
+
include Aws::Structure
|
483
|
+
end
|
484
|
+
|
282
485
|
# @note When making an API call, you may pass CreateCoreDefinitionRequest
|
283
486
|
# data as a hash:
|
284
487
|
#
|
@@ -599,6 +802,11 @@ module Aws::Greengrass
|
|
599
802
|
# {
|
600
803
|
# amzn_client_token: "__string",
|
601
804
|
# initial_version: {
|
805
|
+
# default_config: {
|
806
|
+
# execution: {
|
807
|
+
# isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
|
808
|
+
# },
|
809
|
+
# },
|
602
810
|
# functions: [
|
603
811
|
# {
|
604
812
|
# function_arn: "__string",
|
@@ -606,6 +814,13 @@ module Aws::Greengrass
|
|
606
814
|
# encoding_type: "binary", # accepts binary, json
|
607
815
|
# environment: {
|
608
816
|
# access_sysfs: false,
|
817
|
+
# execution: {
|
818
|
+
# isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
|
819
|
+
# run_as: {
|
820
|
+
# gid: 1,
|
821
|
+
# uid: 1,
|
822
|
+
# },
|
823
|
+
# },
|
609
824
|
# resource_access_policies: [
|
610
825
|
# {
|
611
826
|
# permission: "ro", # accepts ro, rw
|
@@ -687,6 +902,11 @@ module Aws::Greengrass
|
|
687
902
|
#
|
688
903
|
# {
|
689
904
|
# amzn_client_token: "__string",
|
905
|
+
# default_config: {
|
906
|
+
# execution: {
|
907
|
+
# isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
|
908
|
+
# },
|
909
|
+
# },
|
690
910
|
# function_definition_id: "__string", # required
|
691
911
|
# functions: [
|
692
912
|
# {
|
@@ -695,6 +915,13 @@ module Aws::Greengrass
|
|
695
915
|
# encoding_type: "binary", # accepts binary, json
|
696
916
|
# environment: {
|
697
917
|
# access_sysfs: false,
|
918
|
+
# execution: {
|
919
|
+
# isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
|
920
|
+
# run_as: {
|
921
|
+
# gid: 1,
|
922
|
+
# uid: 1,
|
923
|
+
# },
|
924
|
+
# },
|
698
925
|
# resource_access_policies: [
|
699
926
|
# {
|
700
927
|
# permission: "ro", # accepts ro, rw
|
@@ -719,6 +946,11 @@ module Aws::Greengrass
|
|
719
946
|
# @!attribute [rw] amzn_client_token
|
720
947
|
# @return [String]
|
721
948
|
#
|
949
|
+
# @!attribute [rw] default_config
|
950
|
+
# Default configuration that will apply to all Lambda functions in the
|
951
|
+
# group.
|
952
|
+
# @return [Types::FunctionDefaultConfig]
|
953
|
+
#
|
722
954
|
# @!attribute [rw] function_definition_id
|
723
955
|
# @return [String]
|
724
956
|
#
|
@@ -729,6 +961,7 @@ module Aws::Greengrass
|
|
729
961
|
#
|
730
962
|
class CreateFunctionDefinitionVersionRequest < Struct.new(
|
731
963
|
:amzn_client_token,
|
964
|
+
:default_config,
|
732
965
|
:function_definition_id,
|
733
966
|
:functions)
|
734
967
|
include Aws::Structure
|
@@ -795,6 +1028,7 @@ module Aws::Greengrass
|
|
795
1028
|
# {
|
796
1029
|
# amzn_client_token: "__string",
|
797
1030
|
# initial_version: {
|
1031
|
+
# connector_definition_version_arn: "__string",
|
798
1032
|
# core_definition_version_arn: "__string",
|
799
1033
|
# device_definition_version_arn: "__string",
|
800
1034
|
# function_definition_version_arn: "__string",
|
@@ -863,6 +1097,7 @@ module Aws::Greengrass
|
|
863
1097
|
#
|
864
1098
|
# {
|
865
1099
|
# amzn_client_token: "__string",
|
1100
|
+
# connector_definition_version_arn: "__string",
|
866
1101
|
# core_definition_version_arn: "__string",
|
867
1102
|
# device_definition_version_arn: "__string",
|
868
1103
|
# function_definition_version_arn: "__string",
|
@@ -875,6 +1110,9 @@ module Aws::Greengrass
|
|
875
1110
|
# @!attribute [rw] amzn_client_token
|
876
1111
|
# @return [String]
|
877
1112
|
#
|
1113
|
+
# @!attribute [rw] connector_definition_version_arn
|
1114
|
+
# @return [String]
|
1115
|
+
#
|
878
1116
|
# @!attribute [rw] core_definition_version_arn
|
879
1117
|
# @return [String]
|
880
1118
|
#
|
@@ -900,6 +1138,7 @@ module Aws::Greengrass
|
|
900
1138
|
#
|
901
1139
|
class CreateGroupVersionRequest < Struct.new(
|
902
1140
|
:amzn_client_token,
|
1141
|
+
:connector_definition_version_arn,
|
903
1142
|
:core_definition_version_arn,
|
904
1143
|
:device_definition_version_arn,
|
905
1144
|
:function_definition_version_arn,
|
@@ -1095,6 +1334,10 @@ module Aws::Greengrass
|
|
1095
1334
|
# destination_path: "__string",
|
1096
1335
|
# sage_maker_job_arn: "__string",
|
1097
1336
|
# },
|
1337
|
+
# secrets_manager_secret_resource_data: {
|
1338
|
+
# arn: "__string",
|
1339
|
+
# additional_staging_labels_to_download: ["__string"],
|
1340
|
+
# },
|
1098
1341
|
# },
|
1099
1342
|
# },
|
1100
1343
|
# ],
|
@@ -1189,6 +1432,10 @@ module Aws::Greengrass
|
|
1189
1432
|
# destination_path: "__string",
|
1190
1433
|
# sage_maker_job_arn: "__string",
|
1191
1434
|
# },
|
1435
|
+
# secrets_manager_secret_resource_data: {
|
1436
|
+
# arn: "__string",
|
1437
|
+
# additional_staging_labels_to_download: ["__string"],
|
1438
|
+
# },
|
1192
1439
|
# },
|
1193
1440
|
# },
|
1194
1441
|
# ],
|
@@ -1481,6 +1728,27 @@ module Aws::Greengrass
|
|
1481
1728
|
include Aws::Structure
|
1482
1729
|
end
|
1483
1730
|
|
1731
|
+
# @note When making an API call, you may pass DeleteConnectorDefinitionRequest
|
1732
|
+
# data as a hash:
|
1733
|
+
#
|
1734
|
+
# {
|
1735
|
+
# connector_definition_id: "__string", # required
|
1736
|
+
# }
|
1737
|
+
#
|
1738
|
+
# @!attribute [rw] connector_definition_id
|
1739
|
+
# @return [String]
|
1740
|
+
#
|
1741
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteConnectorDefinitionRequest AWS API Documentation
|
1742
|
+
#
|
1743
|
+
class DeleteConnectorDefinitionRequest < Struct.new(
|
1744
|
+
:connector_definition_id)
|
1745
|
+
include Aws::Structure
|
1746
|
+
end
|
1747
|
+
|
1748
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteConnectorDefinitionResponse AWS API Documentation
|
1749
|
+
#
|
1750
|
+
class DeleteConnectorDefinitionResponse < Aws::EmptyStructure; end
|
1751
|
+
|
1484
1752
|
# @note When making an API call, you may pass DeleteCoreDefinitionRequest
|
1485
1753
|
# data as a hash:
|
1486
1754
|
#
|
@@ -1681,7 +1949,7 @@ module Aws::Greengrass
|
|
1681
1949
|
# @!attribute [rw] id
|
1682
1950
|
# A descriptive or arbitrary ID for the device. This value must be
|
1683
1951
|
# unique within the device definition version. Max length is 128
|
1684
|
-
# characters with pattern ''\[a
|
1952
|
+
# characters with pattern ''\[a-zA-Z0-9:\_-\]+''.
|
1685
1953
|
# @return [String]
|
1686
1954
|
#
|
1687
1955
|
# @!attribute [rw] sync_shadow
|
@@ -1811,6 +2079,13 @@ module Aws::Greengrass
|
|
1811
2079
|
# encoding_type: "binary", # accepts binary, json
|
1812
2080
|
# environment: {
|
1813
2081
|
# access_sysfs: false,
|
2082
|
+
# execution: {
|
2083
|
+
# isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
|
2084
|
+
# run_as: {
|
2085
|
+
# gid: 1,
|
2086
|
+
# uid: 1,
|
2087
|
+
# },
|
2088
|
+
# },
|
1814
2089
|
# resource_access_policies: [
|
1815
2090
|
# {
|
1816
2091
|
# permission: "ro", # accepts ro, rw
|
@@ -1841,7 +2116,7 @@ module Aws::Greengrass
|
|
1841
2116
|
# @!attribute [rw] id
|
1842
2117
|
# A descriptive or arbitrary ID for the function. This value must be
|
1843
2118
|
# unique within the function definition version. Max length is 128
|
1844
|
-
# characters with pattern ''\[a
|
2119
|
+
# characters with pattern ''\[a-zA-Z0-9:\_-\]+''.
|
1845
2120
|
# @return [String]
|
1846
2121
|
#
|
1847
2122
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/Function AWS API Documentation
|
@@ -1862,6 +2137,13 @@ module Aws::Greengrass
|
|
1862
2137
|
# encoding_type: "binary", # accepts binary, json
|
1863
2138
|
# environment: {
|
1864
2139
|
# access_sysfs: false,
|
2140
|
+
# execution: {
|
2141
|
+
# isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
|
2142
|
+
# run_as: {
|
2143
|
+
# gid: 1,
|
2144
|
+
# uid: 1,
|
2145
|
+
# },
|
2146
|
+
# },
|
1865
2147
|
# resource_access_policies: [
|
1866
2148
|
# {
|
1867
2149
|
# permission: "ro", # accepts ro, rw
|
@@ -1897,7 +2179,9 @@ module Aws::Greengrass
|
|
1897
2179
|
# @return [String]
|
1898
2180
|
#
|
1899
2181
|
# @!attribute [rw] memory_size
|
1900
|
-
# The memory size, in KB, which the function requires.
|
2182
|
+
# The memory size, in KB, which the function requires. This setting is
|
2183
|
+
# not applicable and should be cleared when you run the Lambda
|
2184
|
+
# function without containerization.
|
1901
2185
|
# @return [Integer]
|
1902
2186
|
#
|
1903
2187
|
# @!attribute [rw] pinned
|
@@ -1907,8 +2191,8 @@ module Aws::Greengrass
|
|
1907
2191
|
#
|
1908
2192
|
# @!attribute [rw] timeout
|
1909
2193
|
# The allowed function execution time, after which Lambda should
|
1910
|
-
# terminate the function. This timeout still applies to pinned
|
1911
|
-
# for each request.
|
2194
|
+
# terminate the function. This timeout still applies to pinned Lambda
|
2195
|
+
# functions for each request.
|
1912
2196
|
# @return [Integer]
|
1913
2197
|
#
|
1914
2198
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/FunctionConfiguration AWS API Documentation
|
@@ -1931,6 +2215,13 @@ module Aws::Greengrass
|
|
1931
2215
|
#
|
1932
2216
|
# {
|
1933
2217
|
# access_sysfs: false,
|
2218
|
+
# execution: {
|
2219
|
+
# isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
|
2220
|
+
# run_as: {
|
2221
|
+
# gid: 1,
|
2222
|
+
# uid: 1,
|
2223
|
+
# },
|
2224
|
+
# },
|
1934
2225
|
# resource_access_policies: [
|
1935
2226
|
# {
|
1936
2227
|
# permission: "ro", # accepts ro, rw
|
@@ -1945,13 +2236,19 @@ module Aws::Greengrass
|
|
1945
2236
|
# @!attribute [rw] access_sysfs
|
1946
2237
|
# If true, the Lambda function is allowed to access the host's /sys
|
1947
2238
|
# folder. Use this when the Lambda function needs to read device
|
1948
|
-
# information from /sys.
|
2239
|
+
# information from /sys. This setting applies only when you run the
|
2240
|
+
# Lambda function in a Greengrass container.
|
1949
2241
|
# @return [Boolean]
|
1950
2242
|
#
|
2243
|
+
# @!attribute [rw] execution
|
2244
|
+
# Configuration related to executing the Lambda function
|
2245
|
+
# @return [Types::FunctionExecutionConfig]
|
2246
|
+
#
|
1951
2247
|
# @!attribute [rw] resource_access_policies
|
1952
2248
|
# A list of the resources, with their permissions, to which the Lambda
|
1953
2249
|
# function will be granted access. A Lambda function can have at most
|
1954
|
-
# 10 resources.
|
2250
|
+
# 10 resources. ResourceAccessPolicies apply only when you run the
|
2251
|
+
# Lambda function in a Greengrass container.
|
1955
2252
|
# @return [Array<Types::ResourceAccessPolicy>]
|
1956
2253
|
#
|
1957
2254
|
# @!attribute [rw] variables
|
@@ -1962,17 +2259,74 @@ module Aws::Greengrass
|
|
1962
2259
|
#
|
1963
2260
|
class FunctionConfigurationEnvironment < Struct.new(
|
1964
2261
|
:access_sysfs,
|
2262
|
+
:execution,
|
1965
2263
|
:resource_access_policies,
|
1966
2264
|
:variables)
|
1967
2265
|
include Aws::Structure
|
1968
2266
|
end
|
1969
2267
|
|
2268
|
+
# Default configuration that will apply to all Lambda functions in the
|
2269
|
+
# group.
|
2270
|
+
#
|
2271
|
+
# @note When making an API call, you may pass FunctionDefaultConfig
|
2272
|
+
# data as a hash:
|
2273
|
+
#
|
2274
|
+
# {
|
2275
|
+
# execution: {
|
2276
|
+
# isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
|
2277
|
+
# },
|
2278
|
+
# }
|
2279
|
+
#
|
2280
|
+
# @!attribute [rw] execution
|
2281
|
+
# Configuration that defines the default containerization used for
|
2282
|
+
# when running Lambda functions in the group. Individual Lambda
|
2283
|
+
# functions can be override this setting.
|
2284
|
+
# @return [Types::FunctionDefaultExecutionConfig]
|
2285
|
+
#
|
2286
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/FunctionDefaultConfig AWS API Documentation
|
2287
|
+
#
|
2288
|
+
class FunctionDefaultConfig < Struct.new(
|
2289
|
+
:execution)
|
2290
|
+
include Aws::Structure
|
2291
|
+
end
|
2292
|
+
|
2293
|
+
# Configuration that defines the default containerization used for when
|
2294
|
+
# running Lambda functions in the group. Individual Lambda functions can
|
2295
|
+
# be override this setting.
|
2296
|
+
#
|
2297
|
+
# @note When making an API call, you may pass FunctionDefaultExecutionConfig
|
2298
|
+
# data as a hash:
|
2299
|
+
#
|
2300
|
+
# {
|
2301
|
+
# isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
|
2302
|
+
# }
|
2303
|
+
#
|
2304
|
+
# @!attribute [rw] isolation_mode
|
2305
|
+
# Specifies whether the Lambda function runs in a Greengrass container
|
2306
|
+
# (default) or without containerization. Unless your scenario requires
|
2307
|
+
# that you run without containerization, we recommend that you run in
|
2308
|
+
# a Greengrass container. Omit this value to run the Lambda function
|
2309
|
+
# with the default containerization for the group.
|
2310
|
+
# @return [String]
|
2311
|
+
#
|
2312
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/FunctionDefaultExecutionConfig AWS API Documentation
|
2313
|
+
#
|
2314
|
+
class FunctionDefaultExecutionConfig < Struct.new(
|
2315
|
+
:isolation_mode)
|
2316
|
+
include Aws::Structure
|
2317
|
+
end
|
2318
|
+
|
1970
2319
|
# Information about a function definition version.
|
1971
2320
|
#
|
1972
2321
|
# @note When making an API call, you may pass FunctionDefinitionVersion
|
1973
2322
|
# data as a hash:
|
1974
2323
|
#
|
1975
2324
|
# {
|
2325
|
+
# default_config: {
|
2326
|
+
# execution: {
|
2327
|
+
# isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
|
2328
|
+
# },
|
2329
|
+
# },
|
1976
2330
|
# functions: [
|
1977
2331
|
# {
|
1978
2332
|
# function_arn: "__string",
|
@@ -1980,6 +2334,13 @@ module Aws::Greengrass
|
|
1980
2334
|
# encoding_type: "binary", # accepts binary, json
|
1981
2335
|
# environment: {
|
1982
2336
|
# access_sysfs: false,
|
2337
|
+
# execution: {
|
2338
|
+
# isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
|
2339
|
+
# run_as: {
|
2340
|
+
# gid: 1,
|
2341
|
+
# uid: 1,
|
2342
|
+
# },
|
2343
|
+
# },
|
1983
2344
|
# resource_access_policies: [
|
1984
2345
|
# {
|
1985
2346
|
# permission: "ro", # accepts ro, rw
|
@@ -2001,6 +2362,11 @@ module Aws::Greengrass
|
|
2001
2362
|
# ],
|
2002
2363
|
# }
|
2003
2364
|
#
|
2365
|
+
# @!attribute [rw] default_config
|
2366
|
+
# Default configuration that will apply to all Lambda functions in
|
2367
|
+
# this function definition version
|
2368
|
+
# @return [Types::FunctionDefaultConfig]
|
2369
|
+
#
|
2004
2370
|
# @!attribute [rw] functions
|
2005
2371
|
# A list of Lambda functions in this function definition version.
|
2006
2372
|
# @return [Array<Types::Function>]
|
@@ -2008,10 +2374,83 @@ module Aws::Greengrass
|
|
2008
2374
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/FunctionDefinitionVersion AWS API Documentation
|
2009
2375
|
#
|
2010
2376
|
class FunctionDefinitionVersion < Struct.new(
|
2377
|
+
:default_config,
|
2011
2378
|
:functions)
|
2012
2379
|
include Aws::Structure
|
2013
2380
|
end
|
2014
2381
|
|
2382
|
+
# Configuration information that specifies how the Lambda function runs.
|
2383
|
+
#
|
2384
|
+
# @note When making an API call, you may pass FunctionExecutionConfig
|
2385
|
+
# data as a hash:
|
2386
|
+
#
|
2387
|
+
# {
|
2388
|
+
# isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
|
2389
|
+
# run_as: {
|
2390
|
+
# gid: 1,
|
2391
|
+
# uid: 1,
|
2392
|
+
# },
|
2393
|
+
# }
|
2394
|
+
#
|
2395
|
+
# @!attribute [rw] isolation_mode
|
2396
|
+
# Specifies whether the Lambda function runs in a Greengrass container
|
2397
|
+
# (default) or without containerization. Unless your scenario requires
|
2398
|
+
# that you run without containerization, we recommend that you run in
|
2399
|
+
# a Greengrass container. Omit this value to run the Lambda function
|
2400
|
+
# with the default containerization for the group.
|
2401
|
+
# @return [String]
|
2402
|
+
#
|
2403
|
+
# @!attribute [rw] run_as
|
2404
|
+
# Specifies the user and/or group whose permissions are used when
|
2405
|
+
# running the Lambda function. You can specify one or both values to
|
2406
|
+
# override the default values (ggc\_user/ggc\_group). We recommend
|
2407
|
+
# that you avoid running as root unless absolutely necessary to
|
2408
|
+
# minimize the risk of unintended changes or malicious attacks. To run
|
2409
|
+
# as root, you must set IsolationMode to NoContainer and you must
|
2410
|
+
# update config.json in greengrass-root/config to set
|
2411
|
+
# allowFunctionsToRunAsRoot to yes.
|
2412
|
+
# @return [Types::FunctionRunAsConfig]
|
2413
|
+
#
|
2414
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/FunctionExecutionConfig AWS API Documentation
|
2415
|
+
#
|
2416
|
+
class FunctionExecutionConfig < Struct.new(
|
2417
|
+
:isolation_mode,
|
2418
|
+
:run_as)
|
2419
|
+
include Aws::Structure
|
2420
|
+
end
|
2421
|
+
|
2422
|
+
# Specifies the user and/or group whose permissions are used when
|
2423
|
+
# running the Lambda function. You can specify one or both values to
|
2424
|
+
# override the default values (ggc\_user/ggc\_group). We recommend that
|
2425
|
+
# you avoid running as root unless absolutely necessary to minimize the
|
2426
|
+
# risk of unintended changes or malicious attacks. To run as root, you
|
2427
|
+
# must set IsolationMode to NoContainer and you must update config.json
|
2428
|
+
# in greengrass-root/config to set allowFunctionsToRunAsRoot to yes.
|
2429
|
+
#
|
2430
|
+
# @note When making an API call, you may pass FunctionRunAsConfig
|
2431
|
+
# data as a hash:
|
2432
|
+
#
|
2433
|
+
# {
|
2434
|
+
# gid: 1,
|
2435
|
+
# uid: 1,
|
2436
|
+
# }
|
2437
|
+
#
|
2438
|
+
# @!attribute [rw] gid
|
2439
|
+
# The Group ID whose permissions are used to run a Lambda function.
|
2440
|
+
# @return [Integer]
|
2441
|
+
#
|
2442
|
+
# @!attribute [rw] uid
|
2443
|
+
# The User ID whose permissions are used to run a Lambda function.
|
2444
|
+
# @return [Integer]
|
2445
|
+
#
|
2446
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/FunctionRunAsConfig AWS API Documentation
|
2447
|
+
#
|
2448
|
+
class FunctionRunAsConfig < Struct.new(
|
2449
|
+
:gid,
|
2450
|
+
:uid)
|
2451
|
+
include Aws::Structure
|
2452
|
+
end
|
2453
|
+
|
2015
2454
|
# General error information.
|
2016
2455
|
#
|
2017
2456
|
# @!attribute [rw] error_details
|
@@ -2149,6 +2588,124 @@ module Aws::Greengrass
|
|
2149
2588
|
include Aws::Structure
|
2150
2589
|
end
|
2151
2590
|
|
2591
|
+
# @note When making an API call, you may pass GetConnectorDefinitionRequest
|
2592
|
+
# data as a hash:
|
2593
|
+
#
|
2594
|
+
# {
|
2595
|
+
# connector_definition_id: "__string", # required
|
2596
|
+
# }
|
2597
|
+
#
|
2598
|
+
# @!attribute [rw] connector_definition_id
|
2599
|
+
# @return [String]
|
2600
|
+
#
|
2601
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectorDefinitionRequest AWS API Documentation
|
2602
|
+
#
|
2603
|
+
class GetConnectorDefinitionRequest < Struct.new(
|
2604
|
+
:connector_definition_id)
|
2605
|
+
include Aws::Structure
|
2606
|
+
end
|
2607
|
+
|
2608
|
+
# @!attribute [rw] arn
|
2609
|
+
# @return [String]
|
2610
|
+
#
|
2611
|
+
# @!attribute [rw] creation_timestamp
|
2612
|
+
# @return [String]
|
2613
|
+
#
|
2614
|
+
# @!attribute [rw] id
|
2615
|
+
# @return [String]
|
2616
|
+
#
|
2617
|
+
# @!attribute [rw] last_updated_timestamp
|
2618
|
+
# @return [String]
|
2619
|
+
#
|
2620
|
+
# @!attribute [rw] latest_version
|
2621
|
+
# @return [String]
|
2622
|
+
#
|
2623
|
+
# @!attribute [rw] latest_version_arn
|
2624
|
+
# @return [String]
|
2625
|
+
#
|
2626
|
+
# @!attribute [rw] name
|
2627
|
+
# @return [String]
|
2628
|
+
#
|
2629
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectorDefinitionResponse AWS API Documentation
|
2630
|
+
#
|
2631
|
+
class GetConnectorDefinitionResponse < Struct.new(
|
2632
|
+
:arn,
|
2633
|
+
:creation_timestamp,
|
2634
|
+
:id,
|
2635
|
+
:last_updated_timestamp,
|
2636
|
+
:latest_version,
|
2637
|
+
:latest_version_arn,
|
2638
|
+
:name)
|
2639
|
+
include Aws::Structure
|
2640
|
+
end
|
2641
|
+
|
2642
|
+
# @note When making an API call, you may pass GetConnectorDefinitionVersionRequest
|
2643
|
+
# data as a hash:
|
2644
|
+
#
|
2645
|
+
# {
|
2646
|
+
# connector_definition_id: "__string", # required
|
2647
|
+
# connector_definition_version_id: "__string", # required
|
2648
|
+
# next_token: "__string",
|
2649
|
+
# }
|
2650
|
+
#
|
2651
|
+
# @!attribute [rw] connector_definition_id
|
2652
|
+
# @return [String]
|
2653
|
+
#
|
2654
|
+
# @!attribute [rw] connector_definition_version_id
|
2655
|
+
# @return [String]
|
2656
|
+
#
|
2657
|
+
# @!attribute [rw] next_token
|
2658
|
+
# @return [String]
|
2659
|
+
#
|
2660
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectorDefinitionVersionRequest AWS API Documentation
|
2661
|
+
#
|
2662
|
+
class GetConnectorDefinitionVersionRequest < Struct.new(
|
2663
|
+
:connector_definition_id,
|
2664
|
+
:connector_definition_version_id,
|
2665
|
+
:next_token)
|
2666
|
+
include Aws::Structure
|
2667
|
+
end
|
2668
|
+
|
2669
|
+
# Information about a connector definition version.
|
2670
|
+
#
|
2671
|
+
# @!attribute [rw] arn
|
2672
|
+
# The ARN of the connector definition version.
|
2673
|
+
# @return [String]
|
2674
|
+
#
|
2675
|
+
# @!attribute [rw] creation_timestamp
|
2676
|
+
# The time, in milliseconds since the epoch, when the connector
|
2677
|
+
# definition version was created.
|
2678
|
+
# @return [String]
|
2679
|
+
#
|
2680
|
+
# @!attribute [rw] definition
|
2681
|
+
# Information about the connector definition version.
|
2682
|
+
# @return [Types::ConnectorDefinitionVersion]
|
2683
|
+
#
|
2684
|
+
# @!attribute [rw] id
|
2685
|
+
# The ID of the connector definition version.
|
2686
|
+
# @return [String]
|
2687
|
+
#
|
2688
|
+
# @!attribute [rw] next_token
|
2689
|
+
# The token for the next set of results, or ''null'' if there are
|
2690
|
+
# no additional results.
|
2691
|
+
# @return [String]
|
2692
|
+
#
|
2693
|
+
# @!attribute [rw] version
|
2694
|
+
# The version of the connector definition version.
|
2695
|
+
# @return [String]
|
2696
|
+
#
|
2697
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectorDefinitionVersionResponse AWS API Documentation
|
2698
|
+
#
|
2699
|
+
class GetConnectorDefinitionVersionResponse < Struct.new(
|
2700
|
+
:arn,
|
2701
|
+
:creation_timestamp,
|
2702
|
+
:definition,
|
2703
|
+
:id,
|
2704
|
+
:next_token,
|
2705
|
+
:version)
|
2706
|
+
include Aws::Structure
|
2707
|
+
end
|
2708
|
+
|
2152
2709
|
# @note When making an API call, you may pass GetCoreDefinitionRequest
|
2153
2710
|
# data as a hash:
|
2154
2711
|
#
|
@@ -3196,10 +3753,10 @@ module Aws::Greengrass
|
|
3196
3753
|
# }
|
3197
3754
|
#
|
3198
3755
|
# @!attribute [rw] auto_add_group_owner
|
3199
|
-
# If true,
|
3200
|
-
# owner of the resource to the Lambda process privileges.
|
3201
|
-
# Lambda process will have the file access permissions of the
|
3202
|
-
# Linux group.
|
3756
|
+
# If true, AWS IoT Greengrass automatically adds the specified Linux
|
3757
|
+
# OS group owner of the resource to the Lambda process privileges.
|
3758
|
+
# Thus the Lambda process will have the file access permissions of the
|
3759
|
+
# added Linux group.
|
3203
3760
|
# @return [Boolean]
|
3204
3761
|
#
|
3205
3762
|
# @!attribute [rw] group_owner
|
@@ -3221,6 +3778,7 @@ module Aws::Greengrass
|
|
3221
3778
|
# data as a hash:
|
3222
3779
|
#
|
3223
3780
|
# {
|
3781
|
+
# connector_definition_version_arn: "__string",
|
3224
3782
|
# core_definition_version_arn: "__string",
|
3225
3783
|
# device_definition_version_arn: "__string",
|
3226
3784
|
# function_definition_version_arn: "__string",
|
@@ -3229,6 +3787,10 @@ module Aws::Greengrass
|
|
3229
3787
|
# subscription_definition_version_arn: "__string",
|
3230
3788
|
# }
|
3231
3789
|
#
|
3790
|
+
# @!attribute [rw] connector_definition_version_arn
|
3791
|
+
# The ARN of the connector definition version for this group.
|
3792
|
+
# @return [String]
|
3793
|
+
#
|
3232
3794
|
# @!attribute [rw] core_definition_version_arn
|
3233
3795
|
# The ARN of the core definition version for this group.
|
3234
3796
|
# @return [String]
|
@@ -3246,7 +3808,7 @@ module Aws::Greengrass
|
|
3246
3808
|
# @return [String]
|
3247
3809
|
#
|
3248
3810
|
# @!attribute [rw] resource_definition_version_arn
|
3249
|
-
# The resource definition version
|
3811
|
+
# The ARN of the resource definition version for this group.
|
3250
3812
|
# @return [String]
|
3251
3813
|
#
|
3252
3814
|
# @!attribute [rw] subscription_definition_version_arn
|
@@ -3256,6 +3818,7 @@ module Aws::Greengrass
|
|
3256
3818
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GroupVersion AWS API Documentation
|
3257
3819
|
#
|
3258
3820
|
class GroupVersion < Struct.new(
|
3821
|
+
:connector_definition_version_arn,
|
3259
3822
|
:core_definition_version_arn,
|
3260
3823
|
:device_definition_version_arn,
|
3261
3824
|
:function_definition_version_arn,
|
@@ -3349,6 +3912,83 @@ module Aws::Greengrass
|
|
3349
3912
|
include Aws::Structure
|
3350
3913
|
end
|
3351
3914
|
|
3915
|
+
# @note When making an API call, you may pass ListConnectorDefinitionVersionsRequest
|
3916
|
+
# data as a hash:
|
3917
|
+
#
|
3918
|
+
# {
|
3919
|
+
# connector_definition_id: "__string", # required
|
3920
|
+
# max_results: "__string",
|
3921
|
+
# next_token: "__string",
|
3922
|
+
# }
|
3923
|
+
#
|
3924
|
+
# @!attribute [rw] connector_definition_id
|
3925
|
+
# @return [String]
|
3926
|
+
#
|
3927
|
+
# @!attribute [rw] max_results
|
3928
|
+
# @return [String]
|
3929
|
+
#
|
3930
|
+
# @!attribute [rw] next_token
|
3931
|
+
# @return [String]
|
3932
|
+
#
|
3933
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListConnectorDefinitionVersionsRequest AWS API Documentation
|
3934
|
+
#
|
3935
|
+
class ListConnectorDefinitionVersionsRequest < Struct.new(
|
3936
|
+
:connector_definition_id,
|
3937
|
+
:max_results,
|
3938
|
+
:next_token)
|
3939
|
+
include Aws::Structure
|
3940
|
+
end
|
3941
|
+
|
3942
|
+
# @!attribute [rw] next_token
|
3943
|
+
# @return [String]
|
3944
|
+
#
|
3945
|
+
# @!attribute [rw] versions
|
3946
|
+
# @return [Array<Types::VersionInformation>]
|
3947
|
+
#
|
3948
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListConnectorDefinitionVersionsResponse AWS API Documentation
|
3949
|
+
#
|
3950
|
+
class ListConnectorDefinitionVersionsResponse < Struct.new(
|
3951
|
+
:next_token,
|
3952
|
+
:versions)
|
3953
|
+
include Aws::Structure
|
3954
|
+
end
|
3955
|
+
|
3956
|
+
# @note When making an API call, you may pass ListConnectorDefinitionsRequest
|
3957
|
+
# data as a hash:
|
3958
|
+
#
|
3959
|
+
# {
|
3960
|
+
# max_results: "__string",
|
3961
|
+
# next_token: "__string",
|
3962
|
+
# }
|
3963
|
+
#
|
3964
|
+
# @!attribute [rw] max_results
|
3965
|
+
# @return [String]
|
3966
|
+
#
|
3967
|
+
# @!attribute [rw] next_token
|
3968
|
+
# @return [String]
|
3969
|
+
#
|
3970
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListConnectorDefinitionsRequest AWS API Documentation
|
3971
|
+
#
|
3972
|
+
class ListConnectorDefinitionsRequest < Struct.new(
|
3973
|
+
:max_results,
|
3974
|
+
:next_token)
|
3975
|
+
include Aws::Structure
|
3976
|
+
end
|
3977
|
+
|
3978
|
+
# @!attribute [rw] definitions
|
3979
|
+
# @return [Array<Types::DefinitionInformation>]
|
3980
|
+
#
|
3981
|
+
# @!attribute [rw] next_token
|
3982
|
+
# @return [String]
|
3983
|
+
#
|
3984
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListConnectorDefinitionsResponse AWS API Documentation
|
3985
|
+
#
|
3986
|
+
class ListConnectorDefinitionsResponse < Struct.new(
|
3987
|
+
:definitions,
|
3988
|
+
:next_token)
|
3989
|
+
include Aws::Structure
|
3990
|
+
end
|
3991
|
+
|
3352
3992
|
# @note When making an API call, you may pass ListCoreDefinitionVersionsRequest
|
3353
3993
|
# data as a hash:
|
3354
3994
|
#
|
@@ -4047,7 +4687,7 @@ module Aws::Greengrass
|
|
4047
4687
|
# }
|
4048
4688
|
#
|
4049
4689
|
# @!attribute [rw] destination_path
|
4050
|
-
# The absolute local path of the resource inside the
|
4690
|
+
# The absolute local path of the resource inside the Lambda
|
4051
4691
|
# environment.
|
4052
4692
|
# @return [String]
|
4053
4693
|
#
|
@@ -4059,7 +4699,7 @@ module Aws::Greengrass
|
|
4059
4699
|
# @!attribute [rw] source_path
|
4060
4700
|
# The local absolute path of the volume resource on the host. The
|
4061
4701
|
# source path for a volume resource type cannot start with
|
4062
|
-
# ''/
|
4702
|
+
# ''/sys''.
|
4063
4703
|
# @return [String]
|
4064
4704
|
#
|
4065
4705
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/LocalVolumeResourceData AWS API Documentation
|
@@ -4091,7 +4731,7 @@ module Aws::Greengrass
|
|
4091
4731
|
# @!attribute [rw] id
|
4092
4732
|
# A descriptive or arbitrary ID for the logger. This value must be
|
4093
4733
|
# unique within the logger definition version. Max length is 128
|
4094
|
-
# characters with pattern ''\[a
|
4734
|
+
# characters with pattern ''\[a-zA-Z0-9:\_-\]+''.
|
4095
4735
|
# @return [String]
|
4096
4736
|
#
|
4097
4737
|
# @!attribute [rw] level
|
@@ -4224,6 +4864,10 @@ module Aws::Greengrass
|
|
4224
4864
|
# destination_path: "__string",
|
4225
4865
|
# sage_maker_job_arn: "__string",
|
4226
4866
|
# },
|
4867
|
+
# secrets_manager_secret_resource_data: {
|
4868
|
+
# arn: "__string",
|
4869
|
+
# additional_staging_labels_to_download: ["__string"],
|
4870
|
+
# },
|
4227
4871
|
# },
|
4228
4872
|
# }
|
4229
4873
|
#
|
@@ -4235,8 +4879,8 @@ module Aws::Greengrass
|
|
4235
4879
|
# @return [String]
|
4236
4880
|
#
|
4237
4881
|
# @!attribute [rw] name
|
4238
|
-
# The descriptive resource name, which is displayed on the
|
4239
|
-
# console. Max length 128 characters with pattern
|
4882
|
+
# The descriptive resource name, which is displayed on the AWS IoT
|
4883
|
+
# Greengrass console. Max length 128 characters with pattern
|
4240
4884
|
# ''\[a-zA-Z0-9:\_-\]+''. This must be unique within a Greengrass
|
4241
4885
|
# group.
|
4242
4886
|
# @return [String]
|
@@ -4286,7 +4930,8 @@ module Aws::Greengrass
|
|
4286
4930
|
# following supported resource data types:
|
4287
4931
|
# ''LocalDeviceResourceData'', ''LocalVolumeResourceData'',
|
4288
4932
|
# ''SageMakerMachineLearningModelResourceData'',
|
4289
|
-
# ''S3MachineLearningModelResourceData''
|
4933
|
+
# ''S3MachineLearningModelResourceData'',
|
4934
|
+
# ''SecretsManagerSecretResourceData''.
|
4290
4935
|
#
|
4291
4936
|
# @note When making an API call, you may pass ResourceDataContainer
|
4292
4937
|
# data as a hash:
|
@@ -4315,6 +4960,10 @@ module Aws::Greengrass
|
|
4315
4960
|
# destination_path: "__string",
|
4316
4961
|
# sage_maker_job_arn: "__string",
|
4317
4962
|
# },
|
4963
|
+
# secrets_manager_secret_resource_data: {
|
4964
|
+
# arn: "__string",
|
4965
|
+
# additional_staging_labels_to_download: ["__string"],
|
4966
|
+
# },
|
4318
4967
|
# }
|
4319
4968
|
#
|
4320
4969
|
# @!attribute [rw] local_device_resource_data
|
@@ -4326,20 +4975,27 @@ module Aws::Greengrass
|
|
4326
4975
|
# @return [Types::LocalVolumeResourceData]
|
4327
4976
|
#
|
4328
4977
|
# @!attribute [rw] s3_machine_learning_model_resource_data
|
4329
|
-
# Attributes that define an S3 machine learning resource.
|
4978
|
+
# Attributes that define an Amazon S3 machine learning resource.
|
4330
4979
|
# @return [Types::S3MachineLearningModelResourceData]
|
4331
4980
|
#
|
4332
4981
|
# @!attribute [rw] sage_maker_machine_learning_model_resource_data
|
4333
|
-
# Attributes that define an SageMaker machine learning
|
4982
|
+
# Attributes that define an Amazon SageMaker machine learning
|
4983
|
+
# resource.
|
4334
4984
|
# @return [Types::SageMakerMachineLearningModelResourceData]
|
4335
4985
|
#
|
4986
|
+
# @!attribute [rw] secrets_manager_secret_resource_data
|
4987
|
+
# Attributes that define a secret resource, which references a secret
|
4988
|
+
# from AWS Secrets Manager.
|
4989
|
+
# @return [Types::SecretsManagerSecretResourceData]
|
4990
|
+
#
|
4336
4991
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ResourceDataContainer AWS API Documentation
|
4337
4992
|
#
|
4338
4993
|
class ResourceDataContainer < Struct.new(
|
4339
4994
|
:local_device_resource_data,
|
4340
4995
|
:local_volume_resource_data,
|
4341
4996
|
:s3_machine_learning_model_resource_data,
|
4342
|
-
:sage_maker_machine_learning_model_resource_data
|
4997
|
+
:sage_maker_machine_learning_model_resource_data,
|
4998
|
+
:secrets_manager_secret_resource_data)
|
4343
4999
|
include Aws::Structure
|
4344
5000
|
end
|
4345
5001
|
|
@@ -4377,6 +5033,10 @@ module Aws::Greengrass
|
|
4377
5033
|
# destination_path: "__string",
|
4378
5034
|
# sage_maker_job_arn: "__string",
|
4379
5035
|
# },
|
5036
|
+
# secrets_manager_secret_resource_data: {
|
5037
|
+
# arn: "__string",
|
5038
|
+
# additional_staging_labels_to_download: ["__string"],
|
5039
|
+
# },
|
4380
5040
|
# },
|
4381
5041
|
# },
|
4382
5042
|
# ],
|
@@ -4393,7 +5053,7 @@ module Aws::Greengrass
|
|
4393
5053
|
include Aws::Structure
|
4394
5054
|
end
|
4395
5055
|
|
4396
|
-
# Attributes that define an S3 machine learning resource.
|
5056
|
+
# Attributes that define an Amazon S3 machine learning resource.
|
4397
5057
|
#
|
4398
5058
|
# @note When making an API call, you may pass S3MachineLearningModelResourceData
|
4399
5059
|
# data as a hash:
|
@@ -4421,7 +5081,7 @@ module Aws::Greengrass
|
|
4421
5081
|
include Aws::Structure
|
4422
5082
|
end
|
4423
5083
|
|
4424
|
-
# Attributes that define an SageMaker machine learning resource.
|
5084
|
+
# Attributes that define an Amazon SageMaker machine learning resource.
|
4425
5085
|
#
|
4426
5086
|
# @note When making an API call, you may pass SageMakerMachineLearningModelResourceData
|
4427
5087
|
# data as a hash:
|
@@ -4437,8 +5097,8 @@ module Aws::Greengrass
|
|
4437
5097
|
# @return [String]
|
4438
5098
|
#
|
4439
5099
|
# @!attribute [rw] sage_maker_job_arn
|
4440
|
-
# The ARN of the SageMaker training job that represents the
|
4441
|
-
# model.
|
5100
|
+
# The ARN of the Amazon SageMaker training job that represents the
|
5101
|
+
# source model.
|
4442
5102
|
# @return [String]
|
4443
5103
|
#
|
4444
5104
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/SageMakerMachineLearningModelResourceData AWS API Documentation
|
@@ -4449,6 +5109,38 @@ module Aws::Greengrass
|
|
4449
5109
|
include Aws::Structure
|
4450
5110
|
end
|
4451
5111
|
|
5112
|
+
# Attributes that define a secret resource, which references a secret
|
5113
|
+
# from AWS Secrets Manager. AWS IoT Greengrass stores a local, encrypted
|
5114
|
+
# copy of the secret on the Greengrass core, where it can be securely
|
5115
|
+
# accessed by connectors and Lambda functions.
|
5116
|
+
#
|
5117
|
+
# @note When making an API call, you may pass SecretsManagerSecretResourceData
|
5118
|
+
# data as a hash:
|
5119
|
+
#
|
5120
|
+
# {
|
5121
|
+
# arn: "__string",
|
5122
|
+
# additional_staging_labels_to_download: ["__string"],
|
5123
|
+
# }
|
5124
|
+
#
|
5125
|
+
# @!attribute [rw] arn
|
5126
|
+
# The ARN of the Secrets Manager secret to make available on the core.
|
5127
|
+
# The value of the secret's latest version (represented by the
|
5128
|
+
# ''AWSCURRENT'' staging label) is included by default.
|
5129
|
+
# @return [String]
|
5130
|
+
#
|
5131
|
+
# @!attribute [rw] additional_staging_labels_to_download
|
5132
|
+
# Optional. The staging labels whose values you want to make available
|
5133
|
+
# on the core, in addition to ''AWSCURRENT''.
|
5134
|
+
# @return [Array<String>]
|
5135
|
+
#
|
5136
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/SecretsManagerSecretResourceData AWS API Documentation
|
5137
|
+
#
|
5138
|
+
class SecretsManagerSecretResourceData < Struct.new(
|
5139
|
+
:arn,
|
5140
|
+
:additional_staging_labels_to_download)
|
5141
|
+
include Aws::Structure
|
5142
|
+
end
|
5143
|
+
|
4452
5144
|
# Information about a bulk deployment. You cannot start a new bulk
|
4453
5145
|
# deployment while another one is still running or in a non-terminal
|
4454
5146
|
# state.
|
@@ -4478,9 +5170,9 @@ module Aws::Greengrass
|
|
4478
5170
|
# role must have ''getObject'' permissions on this bucket to
|
4479
5171
|
# access the input file. The input file is a JSON-serialized, line
|
4480
5172
|
# delimited file with UTF-8 encoding that provides a list of group and
|
4481
|
-
# version IDs and the deployment type. This file must be less than
|
4482
|
-
#
|
4483
|
-
# deployment types.
|
5173
|
+
# version IDs and the deployment type. This file must be less than 100
|
5174
|
+
# MB. Currently, AWS IoT Greengrass supports only
|
5175
|
+
# ''NewDeployment'' deployment types.
|
4484
5176
|
# @return [String]
|
4485
5177
|
#
|
4486
5178
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/StartBulkDeploymentRequest AWS API Documentation
|
@@ -4544,13 +5236,13 @@ module Aws::Greengrass
|
|
4544
5236
|
# @!attribute [rw] id
|
4545
5237
|
# A descriptive or arbitrary ID for the subscription. This value must
|
4546
5238
|
# be unique within the subscription definition version. Max length is
|
4547
|
-
# 128 characters with pattern ''\[a
|
5239
|
+
# 128 characters with pattern ''\[a-zA-Z0-9:\_-\]+''.
|
4548
5240
|
# @return [String]
|
4549
5241
|
#
|
4550
5242
|
# @!attribute [rw] source
|
4551
5243
|
# The source of the subscription. Can be a thing ARN, a Lambda
|
4552
|
-
# function ARN, 'cloud' (which represents the
|
4553
|
-
# 'GGShadowService'.
|
5244
|
+
# function ARN, a connector ARN, 'cloud' (which represents the AWS
|
5245
|
+
# IoT cloud), or 'GGShadowService'.
|
4554
5246
|
# @return [String]
|
4555
5247
|
#
|
4556
5248
|
# @!attribute [rw] subject
|
@@ -4559,8 +5251,8 @@ module Aws::Greengrass
|
|
4559
5251
|
#
|
4560
5252
|
# @!attribute [rw] target
|
4561
5253
|
# Where the message is sent to. Can be a thing ARN, a Lambda function
|
4562
|
-
# ARN, 'cloud' (which represents the IoT
|
4563
|
-
# 'GGShadowService'.
|
5254
|
+
# ARN, a connector ARN, 'cloud' (which represents the AWS IoT
|
5255
|
+
# cloud), or 'GGShadowService'.
|
4564
5256
|
# @return [String]
|
4565
5257
|
#
|
4566
5258
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/Subscription AWS API Documentation
|
@@ -4648,6 +5340,32 @@ module Aws::Greengrass
|
|
4648
5340
|
include Aws::Structure
|
4649
5341
|
end
|
4650
5342
|
|
5343
|
+
# @note When making an API call, you may pass UpdateConnectorDefinitionRequest
|
5344
|
+
# data as a hash:
|
5345
|
+
#
|
5346
|
+
# {
|
5347
|
+
# connector_definition_id: "__string", # required
|
5348
|
+
# name: "__string",
|
5349
|
+
# }
|
5350
|
+
#
|
5351
|
+
# @!attribute [rw] connector_definition_id
|
5352
|
+
# @return [String]
|
5353
|
+
#
|
5354
|
+
# @!attribute [rw] name
|
5355
|
+
# @return [String]
|
5356
|
+
#
|
5357
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateConnectorDefinitionRequest AWS API Documentation
|
5358
|
+
#
|
5359
|
+
class UpdateConnectorDefinitionRequest < Struct.new(
|
5360
|
+
:connector_definition_id,
|
5361
|
+
:name)
|
5362
|
+
include Aws::Structure
|
5363
|
+
end
|
5364
|
+
|
5365
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateConnectorDefinitionResponse AWS API Documentation
|
5366
|
+
#
|
5367
|
+
class UpdateConnectorDefinitionResponse < Aws::EmptyStructure; end
|
5368
|
+
|
4651
5369
|
# @note When making an API call, you may pass UpdateCoreDefinitionRequest
|
4652
5370
|
# data as a hash:
|
4653
5371
|
#
|