aws-sdk-greengrass 1.23.0 → 1.24.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -278,13 +278,13 @@ module Aws::Greengrass
278
278
  __timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
279
279
 
280
280
  AssociateRoleToGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "GroupId"))
281
- AssociateRoleToGroupRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
281
+ AssociateRoleToGroupRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "RoleArn"))
282
282
  AssociateRoleToGroupRequest.struct_class = Types::AssociateRoleToGroupRequest
283
283
 
284
284
  AssociateRoleToGroupResponse.add_member(:associated_at, Shapes::ShapeRef.new(shape: __string, location_name: "AssociatedAt"))
285
285
  AssociateRoleToGroupResponse.struct_class = Types::AssociateRoleToGroupResponse
286
286
 
287
- AssociateServiceRoleToAccountRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
287
+ AssociateServiceRoleToAccountRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "RoleArn"))
288
288
  AssociateServiceRoleToAccountRequest.struct_class = Types::AssociateServiceRoleToAccountRequest
289
289
 
290
290
  AssociateServiceRoleToAccountResponse.add_member(:associated_at, Shapes::ShapeRef.new(shape: __string, location_name: "AssociatedAt"))
@@ -324,18 +324,18 @@ module Aws::Greengrass
324
324
  ConnectivityInfo.add_member(:port_number, Shapes::ShapeRef.new(shape: __integer, location_name: "PortNumber"))
325
325
  ConnectivityInfo.struct_class = Types::ConnectivityInfo
326
326
 
327
- Connector.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, location_name: "ConnectorArn"))
328
- Connector.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
327
+ Connector.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ConnectorArn"))
328
+ Connector.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
329
329
  Connector.add_member(:parameters, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "Parameters"))
330
330
  Connector.struct_class = Types::Connector
331
331
 
332
332
  ConnectorDefinitionVersion.add_member(:connectors, Shapes::ShapeRef.new(shape: __listOfConnector, location_name: "Connectors"))
333
333
  ConnectorDefinitionVersion.struct_class = Types::ConnectorDefinitionVersion
334
334
 
335
- Core.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: __string, location_name: "CertificateArn"))
336
- Core.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
335
+ Core.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "CertificateArn"))
336
+ Core.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
337
337
  Core.add_member(:sync_shadow, Shapes::ShapeRef.new(shape: __boolean, location_name: "SyncShadow"))
338
- Core.add_member(:thing_arn, Shapes::ShapeRef.new(shape: __string, location_name: "ThingArn"))
338
+ Core.add_member(:thing_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ThingArn"))
339
339
  Core.struct_class = Types::Core
340
340
 
341
341
  CoreDefinitionVersion.add_member(:cores, Shapes::ShapeRef.new(shape: __listOfCore, location_name: "Cores"))
@@ -395,7 +395,7 @@ module Aws::Greengrass
395
395
 
396
396
  CreateDeploymentRequest.add_member(:amzn_client_token, Shapes::ShapeRef.new(shape: __string, location: "header", location_name: "X-Amzn-Client-Token"))
397
397
  CreateDeploymentRequest.add_member(:deployment_id, Shapes::ShapeRef.new(shape: __string, location_name: "DeploymentId"))
398
- CreateDeploymentRequest.add_member(:deployment_type, Shapes::ShapeRef.new(shape: DeploymentType, location_name: "DeploymentType"))
398
+ CreateDeploymentRequest.add_member(:deployment_type, Shapes::ShapeRef.new(shape: DeploymentType, required: true, location_name: "DeploymentType"))
399
399
  CreateDeploymentRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "GroupId"))
400
400
  CreateDeploymentRequest.add_member(:group_version_id, Shapes::ShapeRef.new(shape: __string, location_name: "GroupVersionId"))
401
401
  CreateDeploymentRequest.struct_class = Types::CreateDeploymentRequest
@@ -549,12 +549,12 @@ module Aws::Greengrass
549
549
  CreateResourceDefinitionVersionResponse.struct_class = Types::CreateResourceDefinitionVersionResponse
550
550
 
551
551
  CreateSoftwareUpdateJobRequest.add_member(:amzn_client_token, Shapes::ShapeRef.new(shape: __string, location: "header", location_name: "X-Amzn-Client-Token"))
552
- CreateSoftwareUpdateJobRequest.add_member(:s3_url_signer_role, Shapes::ShapeRef.new(shape: S3UrlSignerRole, location_name: "S3UrlSignerRole"))
553
- CreateSoftwareUpdateJobRequest.add_member(:software_to_update, Shapes::ShapeRef.new(shape: SoftwareToUpdate, location_name: "SoftwareToUpdate"))
552
+ CreateSoftwareUpdateJobRequest.add_member(:s3_url_signer_role, Shapes::ShapeRef.new(shape: S3UrlSignerRole, required: true, location_name: "S3UrlSignerRole"))
553
+ CreateSoftwareUpdateJobRequest.add_member(:software_to_update, Shapes::ShapeRef.new(shape: SoftwareToUpdate, required: true, location_name: "SoftwareToUpdate"))
554
554
  CreateSoftwareUpdateJobRequest.add_member(:update_agent_log_level, Shapes::ShapeRef.new(shape: UpdateAgentLogLevel, location_name: "UpdateAgentLogLevel"))
555
- CreateSoftwareUpdateJobRequest.add_member(:update_targets, Shapes::ShapeRef.new(shape: UpdateTargets, location_name: "UpdateTargets"))
556
- CreateSoftwareUpdateJobRequest.add_member(:update_targets_architecture, Shapes::ShapeRef.new(shape: UpdateTargetsArchitecture, location_name: "UpdateTargetsArchitecture"))
557
- CreateSoftwareUpdateJobRequest.add_member(:update_targets_operating_system, Shapes::ShapeRef.new(shape: UpdateTargetsOperatingSystem, location_name: "UpdateTargetsOperatingSystem"))
555
+ CreateSoftwareUpdateJobRequest.add_member(:update_targets, Shapes::ShapeRef.new(shape: UpdateTargets, required: true, location_name: "UpdateTargets"))
556
+ CreateSoftwareUpdateJobRequest.add_member(:update_targets_architecture, Shapes::ShapeRef.new(shape: UpdateTargetsArchitecture, required: true, location_name: "UpdateTargetsArchitecture"))
557
+ CreateSoftwareUpdateJobRequest.add_member(:update_targets_operating_system, Shapes::ShapeRef.new(shape: UpdateTargetsOperatingSystem, required: true, location_name: "UpdateTargetsOperatingSystem"))
558
558
  CreateSoftwareUpdateJobRequest.struct_class = Types::CreateSoftwareUpdateJobRequest
559
559
 
560
560
  CreateSoftwareUpdateJobResponse.add_member(:iot_job_arn, Shapes::ShapeRef.new(shape: __string, location_name: "IotJobArn"))
@@ -646,10 +646,10 @@ module Aws::Greengrass
646
646
 
647
647
  Deployments.member = Shapes::ShapeRef.new(shape: Deployment)
648
648
 
649
- Device.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: __string, location_name: "CertificateArn"))
650
- Device.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
649
+ Device.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "CertificateArn"))
650
+ Device.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
651
651
  Device.add_member(:sync_shadow, Shapes::ShapeRef.new(shape: __boolean, location_name: "SyncShadow"))
652
- Device.add_member(:thing_arn, Shapes::ShapeRef.new(shape: __string, location_name: "ThingArn"))
652
+ Device.add_member(:thing_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ThingArn"))
653
653
  Device.struct_class = Types::Device
654
654
 
655
655
  DeviceDefinitionVersion.add_member(:devices, Shapes::ShapeRef.new(shape: __listOfDevice, location_name: "Devices"))
@@ -676,7 +676,7 @@ module Aws::Greengrass
676
676
 
677
677
  Function.add_member(:function_arn, Shapes::ShapeRef.new(shape: __string, location_name: "FunctionArn"))
678
678
  Function.add_member(:function_configuration, Shapes::ShapeRef.new(shape: FunctionConfiguration, location_name: "FunctionConfiguration"))
679
- Function.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
679
+ Function.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
680
680
  Function.struct_class = Types::Function
681
681
 
682
682
  FunctionConfiguration.add_member(:encoding_type, Shapes::ShapeRef.new(shape: EncodingType, location_name: "EncodingType"))
@@ -732,7 +732,7 @@ module Aws::Greengrass
732
732
  GetBulkDeploymentStatusResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: __string, location_name: "CreatedAt"))
733
733
  GetBulkDeploymentStatusResponse.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "ErrorDetails"))
734
734
  GetBulkDeploymentStatusResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "ErrorMessage"))
735
- GetBulkDeploymentStatusResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
735
+ GetBulkDeploymentStatusResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
736
736
  GetBulkDeploymentStatusResponse.struct_class = Types::GetBulkDeploymentStatusResponse
737
737
 
738
738
  GetConnectivityInfoRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ThingName"))
@@ -752,7 +752,7 @@ module Aws::Greengrass
752
752
  GetConnectorDefinitionResponse.add_member(:latest_version, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersion"))
753
753
  GetConnectorDefinitionResponse.add_member(:latest_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersionArn"))
754
754
  GetConnectorDefinitionResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
755
- GetConnectorDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
755
+ GetConnectorDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
756
756
  GetConnectorDefinitionResponse.struct_class = Types::GetConnectorDefinitionResponse
757
757
 
758
758
  GetConnectorDefinitionVersionRequest.add_member(:connector_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ConnectorDefinitionId"))
@@ -778,7 +778,7 @@ module Aws::Greengrass
778
778
  GetCoreDefinitionResponse.add_member(:latest_version, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersion"))
779
779
  GetCoreDefinitionResponse.add_member(:latest_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersionArn"))
780
780
  GetCoreDefinitionResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
781
- GetCoreDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
781
+ GetCoreDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
782
782
  GetCoreDefinitionResponse.struct_class = Types::GetCoreDefinitionResponse
783
783
 
784
784
  GetCoreDefinitionVersionRequest.add_member(:core_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "CoreDefinitionId"))
@@ -814,7 +814,7 @@ module Aws::Greengrass
814
814
  GetDeviceDefinitionResponse.add_member(:latest_version, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersion"))
815
815
  GetDeviceDefinitionResponse.add_member(:latest_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersionArn"))
816
816
  GetDeviceDefinitionResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
817
- GetDeviceDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
817
+ GetDeviceDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
818
818
  GetDeviceDefinitionResponse.struct_class = Types::GetDeviceDefinitionResponse
819
819
 
820
820
  GetDeviceDefinitionVersionRequest.add_member(:device_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DeviceDefinitionId"))
@@ -840,7 +840,7 @@ module Aws::Greengrass
840
840
  GetFunctionDefinitionResponse.add_member(:latest_version, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersion"))
841
841
  GetFunctionDefinitionResponse.add_member(:latest_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersionArn"))
842
842
  GetFunctionDefinitionResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
843
- GetFunctionDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
843
+ GetFunctionDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
844
844
  GetFunctionDefinitionResponse.struct_class = Types::GetFunctionDefinitionResponse
845
845
 
846
846
  GetFunctionDefinitionVersionRequest.add_member(:function_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "FunctionDefinitionId"))
@@ -883,7 +883,7 @@ module Aws::Greengrass
883
883
  GetGroupResponse.add_member(:latest_version, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersion"))
884
884
  GetGroupResponse.add_member(:latest_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersionArn"))
885
885
  GetGroupResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
886
- GetGroupResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
886
+ GetGroupResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
887
887
  GetGroupResponse.struct_class = Types::GetGroupResponse
888
888
 
889
889
  GetGroupVersionRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "GroupId"))
@@ -907,7 +907,7 @@ module Aws::Greengrass
907
907
  GetLoggerDefinitionResponse.add_member(:latest_version, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersion"))
908
908
  GetLoggerDefinitionResponse.add_member(:latest_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersionArn"))
909
909
  GetLoggerDefinitionResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
910
- GetLoggerDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
910
+ GetLoggerDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
911
911
  GetLoggerDefinitionResponse.struct_class = Types::GetLoggerDefinitionResponse
912
912
 
913
913
  GetLoggerDefinitionVersionRequest.add_member(:logger_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "LoggerDefinitionId"))
@@ -932,7 +932,7 @@ module Aws::Greengrass
932
932
  GetResourceDefinitionResponse.add_member(:latest_version, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersion"))
933
933
  GetResourceDefinitionResponse.add_member(:latest_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersionArn"))
934
934
  GetResourceDefinitionResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
935
- GetResourceDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
935
+ GetResourceDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
936
936
  GetResourceDefinitionResponse.struct_class = Types::GetResourceDefinitionResponse
937
937
 
938
938
  GetResourceDefinitionVersionRequest.add_member(:resource_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ResourceDefinitionId"))
@@ -962,7 +962,7 @@ module Aws::Greengrass
962
962
  GetSubscriptionDefinitionResponse.add_member(:latest_version, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersion"))
963
963
  GetSubscriptionDefinitionResponse.add_member(:latest_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "LatestVersionArn"))
964
964
  GetSubscriptionDefinitionResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
965
- GetSubscriptionDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
965
+ GetSubscriptionDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
966
966
  GetSubscriptionDefinitionResponse.struct_class = Types::GetSubscriptionDefinitionResponse
967
967
 
968
968
  GetSubscriptionDefinitionVersionRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "NextToken"))
@@ -1188,7 +1188,7 @@ module Aws::Greengrass
1188
1188
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
1189
1189
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
1190
1190
 
1191
- ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "Tags"))
1191
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1192
1192
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
1193
1193
 
1194
1194
  ListVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
@@ -1204,11 +1204,11 @@ module Aws::Greengrass
1204
1204
  LocalVolumeResourceData.add_member(:source_path, Shapes::ShapeRef.new(shape: __string, location_name: "SourcePath"))
1205
1205
  LocalVolumeResourceData.struct_class = Types::LocalVolumeResourceData
1206
1206
 
1207
- Logger.add_member(:component, Shapes::ShapeRef.new(shape: LoggerComponent, location_name: "Component"))
1208
- Logger.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
1209
- Logger.add_member(:level, Shapes::ShapeRef.new(shape: LoggerLevel, location_name: "Level"))
1207
+ Logger.add_member(:component, Shapes::ShapeRef.new(shape: LoggerComponent, required: true, location_name: "Component"))
1208
+ Logger.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
1209
+ Logger.add_member(:level, Shapes::ShapeRef.new(shape: LoggerLevel, required: true, location_name: "Level"))
1210
1210
  Logger.add_member(:space, Shapes::ShapeRef.new(shape: __integer, location_name: "Space"))
1211
- Logger.add_member(:type, Shapes::ShapeRef.new(shape: LoggerType, location_name: "Type"))
1211
+ Logger.add_member(:type, Shapes::ShapeRef.new(shape: LoggerType, required: true, location_name: "Type"))
1212
1212
  Logger.struct_class = Types::Logger
1213
1213
 
1214
1214
  LoggerDefinitionVersion.add_member(:loggers, Shapes::ShapeRef.new(shape: __listOfLogger, location_name: "Loggers"))
@@ -1223,13 +1223,13 @@ module Aws::Greengrass
1223
1223
  ResetDeploymentsResponse.add_member(:deployment_id, Shapes::ShapeRef.new(shape: __string, location_name: "DeploymentId"))
1224
1224
  ResetDeploymentsResponse.struct_class = Types::ResetDeploymentsResponse
1225
1225
 
1226
- Resource.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
1227
- Resource.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
1228
- Resource.add_member(:resource_data_container, Shapes::ShapeRef.new(shape: ResourceDataContainer, location_name: "ResourceDataContainer"))
1226
+ Resource.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
1227
+ Resource.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Name"))
1228
+ Resource.add_member(:resource_data_container, Shapes::ShapeRef.new(shape: ResourceDataContainer, required: true, location_name: "ResourceDataContainer"))
1229
1229
  Resource.struct_class = Types::Resource
1230
1230
 
1231
1231
  ResourceAccessPolicy.add_member(:permission, Shapes::ShapeRef.new(shape: Permission, location_name: "Permission"))
1232
- ResourceAccessPolicy.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, location_name: "ResourceId"))
1232
+ ResourceAccessPolicy.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ResourceId"))
1233
1233
  ResourceAccessPolicy.struct_class = Types::ResourceAccessPolicy
1234
1234
 
1235
1235
  ResourceDataContainer.add_member(:local_device_resource_data, Shapes::ShapeRef.new(shape: LocalDeviceResourceData, location_name: "LocalDeviceResourceData"))
@@ -1255,8 +1255,8 @@ module Aws::Greengrass
1255
1255
  SecretsManagerSecretResourceData.struct_class = Types::SecretsManagerSecretResourceData
1256
1256
 
1257
1257
  StartBulkDeploymentRequest.add_member(:amzn_client_token, Shapes::ShapeRef.new(shape: __string, location: "header", location_name: "X-Amzn-Client-Token"))
1258
- StartBulkDeploymentRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "ExecutionRoleArn"))
1259
- StartBulkDeploymentRequest.add_member(:input_file_uri, Shapes::ShapeRef.new(shape: __string, location_name: "InputFileUri"))
1258
+ StartBulkDeploymentRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ExecutionRoleArn"))
1259
+ StartBulkDeploymentRequest.add_member(:input_file_uri, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "InputFileUri"))
1260
1260
  StartBulkDeploymentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1261
1261
  StartBulkDeploymentRequest.struct_class = Types::StartBulkDeploymentRequest
1262
1262
 
@@ -1269,17 +1269,17 @@ module Aws::Greengrass
1269
1269
 
1270
1270
  StopBulkDeploymentResponse.struct_class = Types::StopBulkDeploymentResponse
1271
1271
 
1272
- Subscription.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
1273
- Subscription.add_member(:source, Shapes::ShapeRef.new(shape: __string, location_name: "Source"))
1274
- Subscription.add_member(:subject, Shapes::ShapeRef.new(shape: __string, location_name: "Subject"))
1275
- Subscription.add_member(:target, Shapes::ShapeRef.new(shape: __string, location_name: "Target"))
1272
+ Subscription.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
1273
+ Subscription.add_member(:source, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Source"))
1274
+ Subscription.add_member(:subject, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Subject"))
1275
+ Subscription.add_member(:target, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Target"))
1276
1276
  Subscription.struct_class = Types::Subscription
1277
1277
 
1278
1278
  SubscriptionDefinitionVersion.add_member(:subscriptions, Shapes::ShapeRef.new(shape: __listOfSubscription, location_name: "Subscriptions"))
1279
1279
  SubscriptionDefinitionVersion.struct_class = Types::SubscriptionDefinitionVersion
1280
1280
 
1281
1281
  TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
1282
- TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, required: true, location_name: "tags"))
1282
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1283
1283
  TagResourceRequest.struct_class = Types::TagResourceRequest
1284
1284
 
1285
1285
  Tags.key = Shapes::ShapeRef.new(shape: __string)
@@ -1604,15 +1604,6 @@ module Aws::Greengrass
1604
1604
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1605
1605
  end)
1606
1606
 
1607
- api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1608
- o.name = "TagResource"
1609
- o.http_method = "POST"
1610
- o.http_request_uri = "/tags/{resource-arn}"
1611
- o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1612
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1613
- o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1614
- end)
1615
-
1616
1607
  api.add_operation(:delete_connector_definition, Seahorse::Model::Operation.new.tap do |o|
1617
1608
  o.name = "DeleteConnectorDefinition"
1618
1609
  o.http_method = "DELETE"
@@ -1685,15 +1676,6 @@ module Aws::Greengrass
1685
1676
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1686
1677
  end)
1687
1678
 
1688
- api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1689
- o.name = "UntagResource"
1690
- o.http_method = "DELETE"
1691
- o.http_request_uri = "/tags/{resource-arn}"
1692
- o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1693
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1694
- o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1695
- end)
1696
-
1697
1679
  api.add_operation(:disassociate_role_from_group, Seahorse::Model::Operation.new.tap do |o|
1698
1680
  o.name = "DisassociateRoleFromGroup"
1699
1681
  o.http_method = "DELETE"
@@ -2133,6 +2115,24 @@ module Aws::Greengrass
2133
2115
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2134
2116
  end)
2135
2117
 
2118
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
2119
+ o.name = "TagResource"
2120
+ o.http_method = "POST"
2121
+ o.http_request_uri = "/tags/{resource-arn}"
2122
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
2123
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2124
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2125
+ end)
2126
+
2127
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
2128
+ o.name = "UntagResource"
2129
+ o.http_method = "DELETE"
2130
+ o.http_request_uri = "/tags/{resource-arn}"
2131
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
2132
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2133
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2134
+ end)
2135
+
2136
2136
  api.add_operation(:update_connectivity_info, Seahorse::Model::Operation.new.tap do |o|
2137
2137
  o.name = "UpdateConnectivityInfo"
2138
2138
  o.http_method = "PUT"
@@ -13,14 +13,15 @@ module Aws::Greengrass
13
13
  #
14
14
  # {
15
15
  # group_id: "__string", # required
16
- # role_arn: "__string",
16
+ # role_arn: "__string", # required
17
17
  # }
18
18
  #
19
19
  # @!attribute [rw] group_id
20
20
  # @return [String]
21
21
  #
22
22
  # @!attribute [rw] role_arn
23
- # The ARN of the role you wish to associate with this group.
23
+ # The ARN of the role you wish to associate with this group. The
24
+ # existence of the role is not validated.
24
25
  # @return [String]
25
26
  #
26
27
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/AssociateRoleToGroupRequest AWS API Documentation
@@ -47,7 +48,7 @@ module Aws::Greengrass
47
48
  # data as a hash:
48
49
  #
49
50
  # {
50
- # role_arn: "__string",
51
+ # role_arn: "__string", # required
51
52
  # }
52
53
  #
53
54
  # @!attribute [rw] role_arn
@@ -241,8 +242,8 @@ module Aws::Greengrass
241
242
  # data as a hash:
242
243
  #
243
244
  # {
244
- # connector_arn: "__string",
245
- # id: "__string",
245
+ # connector_arn: "__string", # required
246
+ # id: "__string", # required
246
247
  # parameters: {
247
248
  # "__string" => "__string",
248
249
  # },
@@ -280,8 +281,8 @@ module Aws::Greengrass
280
281
  # {
281
282
  # connectors: [
282
283
  # {
283
- # connector_arn: "__string",
284
- # id: "__string",
284
+ # connector_arn: "__string", # required
285
+ # id: "__string", # required
285
286
  # parameters: {
286
287
  # "__string" => "__string",
287
288
  # },
@@ -307,10 +308,10 @@ module Aws::Greengrass
307
308
  # data as a hash:
308
309
  #
309
310
  # {
310
- # certificate_arn: "__string",
311
- # id: "__string",
311
+ # certificate_arn: "__string", # required
312
+ # id: "__string", # required
312
313
  # sync_shadow: false,
313
- # thing_arn: "__string",
314
+ # thing_arn: "__string", # required
314
315
  # }
315
316
  #
316
317
  # @!attribute [rw] certificate_arn
@@ -350,10 +351,10 @@ module Aws::Greengrass
350
351
  # {
351
352
  # cores: [
352
353
  # {
353
- # certificate_arn: "__string",
354
- # id: "__string",
354
+ # certificate_arn: "__string", # required
355
+ # id: "__string", # required
355
356
  # sync_shadow: false,
356
- # thing_arn: "__string",
357
+ # thing_arn: "__string", # required
357
358
  # },
358
359
  # ],
359
360
  # }
@@ -377,8 +378,8 @@ module Aws::Greengrass
377
378
  # initial_version: {
378
379
  # connectors: [
379
380
  # {
380
- # connector_arn: "__string",
381
- # id: "__string",
381
+ # connector_arn: "__string", # required
382
+ # id: "__string", # required
382
383
  # parameters: {
383
384
  # "__string" => "__string",
384
385
  # },
@@ -403,6 +404,7 @@ module Aws::Greengrass
403
404
  # @return [String]
404
405
  #
405
406
  # @!attribute [rw] tags
407
+ # The key-value pair for the resource tag.
406
408
  # @return [Hash<String,String>]
407
409
  #
408
410
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateConnectorDefinitionRequest AWS API Documentation
@@ -457,8 +459,8 @@ module Aws::Greengrass
457
459
  # connector_definition_id: "__string", # required
458
460
  # connectors: [
459
461
  # {
460
- # connector_arn: "__string",
461
- # id: "__string",
462
+ # connector_arn: "__string", # required
463
+ # id: "__string", # required
462
464
  # parameters: {
463
465
  # "__string" => "__string",
464
466
  # },
@@ -514,10 +516,10 @@ module Aws::Greengrass
514
516
  # initial_version: {
515
517
  # cores: [
516
518
  # {
517
- # certificate_arn: "__string",
518
- # id: "__string",
519
+ # certificate_arn: "__string", # required
520
+ # id: "__string", # required
519
521
  # sync_shadow: false,
520
- # thing_arn: "__string",
522
+ # thing_arn: "__string", # required
521
523
  # },
522
524
  # ],
523
525
  # },
@@ -538,6 +540,7 @@ module Aws::Greengrass
538
540
  # @return [String]
539
541
  #
540
542
  # @!attribute [rw] tags
543
+ # The key-value pair for the resource tag.
541
544
  # @return [Hash<String,String>]
542
545
  #
543
546
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateCoreDefinitionRequest AWS API Documentation
@@ -592,10 +595,10 @@ module Aws::Greengrass
592
595
  # core_definition_id: "__string", # required
593
596
  # cores: [
594
597
  # {
595
- # certificate_arn: "__string",
596
- # id: "__string",
598
+ # certificate_arn: "__string", # required
599
+ # id: "__string", # required
597
600
  # sync_shadow: false,
598
- # thing_arn: "__string",
601
+ # thing_arn: "__string", # required
599
602
  # },
600
603
  # ],
601
604
  # }
@@ -648,7 +651,7 @@ module Aws::Greengrass
648
651
  # {
649
652
  # amzn_client_token: "__string",
650
653
  # deployment_id: "__string",
651
- # deployment_type: "NewDeployment", # accepts NewDeployment, Redeployment, ResetDeployment, ForceResetDeployment
654
+ # deployment_type: "NewDeployment", # required, accepts NewDeployment, Redeployment, ResetDeployment, ForceResetDeployment
652
655
  # group_id: "__string", # required
653
656
  # group_version_id: "__string",
654
657
  # }
@@ -708,10 +711,10 @@ module Aws::Greengrass
708
711
  # initial_version: {
709
712
  # devices: [
710
713
  # {
711
- # certificate_arn: "__string",
712
- # id: "__string",
714
+ # certificate_arn: "__string", # required
715
+ # id: "__string", # required
713
716
  # sync_shadow: false,
714
- # thing_arn: "__string",
717
+ # thing_arn: "__string", # required
715
718
  # },
716
719
  # ],
717
720
  # },
@@ -732,6 +735,7 @@ module Aws::Greengrass
732
735
  # @return [String]
733
736
  #
734
737
  # @!attribute [rw] tags
738
+ # The key-value pair for the resource tag.
735
739
  # @return [Hash<String,String>]
736
740
  #
737
741
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeviceDefinitionRequest AWS API Documentation
@@ -786,10 +790,10 @@ module Aws::Greengrass
786
790
  # device_definition_id: "__string", # required
787
791
  # devices: [
788
792
  # {
789
- # certificate_arn: "__string",
790
- # id: "__string",
793
+ # certificate_arn: "__string", # required
794
+ # id: "__string", # required
791
795
  # sync_shadow: false,
792
- # thing_arn: "__string",
796
+ # thing_arn: "__string", # required
793
797
  # },
794
798
  # ],
795
799
  # }
@@ -866,7 +870,7 @@ module Aws::Greengrass
866
870
  # resource_access_policies: [
867
871
  # {
868
872
  # permission: "ro", # accepts ro, rw
869
- # resource_id: "__string",
873
+ # resource_id: "__string", # required
870
874
  # },
871
875
  # ],
872
876
  # variables: {
@@ -879,7 +883,7 @@ module Aws::Greengrass
879
883
  # pinned: false,
880
884
  # timeout: 1,
881
885
  # },
882
- # id: "__string",
886
+ # id: "__string", # required
883
887
  # },
884
888
  # ],
885
889
  # },
@@ -900,6 +904,7 @@ module Aws::Greengrass
900
904
  # @return [String]
901
905
  #
902
906
  # @!attribute [rw] tags
907
+ # The key-value pair for the resource tag.
903
908
  # @return [Hash<String,String>]
904
909
  #
905
910
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateFunctionDefinitionRequest AWS API Documentation
@@ -978,7 +983,7 @@ module Aws::Greengrass
978
983
  # resource_access_policies: [
979
984
  # {
980
985
  # permission: "ro", # accepts ro, rw
981
- # resource_id: "__string",
986
+ # resource_id: "__string", # required
982
987
  # },
983
988
  # ],
984
989
  # variables: {
@@ -991,7 +996,7 @@ module Aws::Greengrass
991
996
  # pinned: false,
992
997
  # timeout: 1,
993
998
  # },
994
- # id: "__string",
999
+ # id: "__string", # required
995
1000
  # },
996
1001
  # ],
997
1002
  # }
@@ -1106,6 +1111,7 @@ module Aws::Greengrass
1106
1111
  # @return [String]
1107
1112
  #
1108
1113
  # @!attribute [rw] tags
1114
+ # The key-value pair for the resource tag.
1109
1115
  # @return [Hash<String,String>]
1110
1116
  #
1111
1117
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroupRequest AWS API Documentation
@@ -1239,11 +1245,11 @@ module Aws::Greengrass
1239
1245
  # initial_version: {
1240
1246
  # loggers: [
1241
1247
  # {
1242
- # component: "GreengrassSystem", # accepts GreengrassSystem, Lambda
1243
- # id: "__string",
1244
- # level: "DEBUG", # accepts DEBUG, INFO, WARN, ERROR, FATAL
1248
+ # component: "GreengrassSystem", # required, accepts GreengrassSystem, Lambda
1249
+ # id: "__string", # required
1250
+ # level: "DEBUG", # required, accepts DEBUG, INFO, WARN, ERROR, FATAL
1245
1251
  # space: 1,
1246
- # type: "FileSystem", # accepts FileSystem, AWSCloudWatch
1252
+ # type: "FileSystem", # required, accepts FileSystem, AWSCloudWatch
1247
1253
  # },
1248
1254
  # ],
1249
1255
  # },
@@ -1264,6 +1270,7 @@ module Aws::Greengrass
1264
1270
  # @return [String]
1265
1271
  #
1266
1272
  # @!attribute [rw] tags
1273
+ # The key-value pair for the resource tag.
1267
1274
  # @return [Hash<String,String>]
1268
1275
  #
1269
1276
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateLoggerDefinitionRequest AWS API Documentation
@@ -1318,11 +1325,11 @@ module Aws::Greengrass
1318
1325
  # logger_definition_id: "__string", # required
1319
1326
  # loggers: [
1320
1327
  # {
1321
- # component: "GreengrassSystem", # accepts GreengrassSystem, Lambda
1322
- # id: "__string",
1323
- # level: "DEBUG", # accepts DEBUG, INFO, WARN, ERROR, FATAL
1328
+ # component: "GreengrassSystem", # required, accepts GreengrassSystem, Lambda
1329
+ # id: "__string", # required
1330
+ # level: "DEBUG", # required, accepts DEBUG, INFO, WARN, ERROR, FATAL
1324
1331
  # space: 1,
1325
- # type: "FileSystem", # accepts FileSystem, AWSCloudWatch
1332
+ # type: "FileSystem", # required, accepts FileSystem, AWSCloudWatch
1326
1333
  # },
1327
1334
  # ],
1328
1335
  # }
@@ -1375,9 +1382,9 @@ module Aws::Greengrass
1375
1382
  # initial_version: {
1376
1383
  # resources: [
1377
1384
  # {
1378
- # id: "__string",
1379
- # name: "__string",
1380
- # resource_data_container: {
1385
+ # id: "__string", # required
1386
+ # name: "__string", # required
1387
+ # resource_data_container: { # required
1381
1388
  # local_device_resource_data: {
1382
1389
  # group_owner_setting: {
1383
1390
  # auto_add_group_owner: false,
@@ -1426,6 +1433,7 @@ module Aws::Greengrass
1426
1433
  # @return [String]
1427
1434
  #
1428
1435
  # @!attribute [rw] tags
1436
+ # The key-value pair for the resource tag.
1429
1437
  # @return [Hash<String,String>]
1430
1438
  #
1431
1439
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateResourceDefinitionRequest AWS API Documentation
@@ -1480,9 +1488,9 @@ module Aws::Greengrass
1480
1488
  # resource_definition_id: "__string", # required
1481
1489
  # resources: [
1482
1490
  # {
1483
- # id: "__string",
1484
- # name: "__string",
1485
- # resource_data_container: {
1491
+ # id: "__string", # required
1492
+ # name: "__string", # required
1493
+ # resource_data_container: { # required
1486
1494
  # local_device_resource_data: {
1487
1495
  # group_owner_setting: {
1488
1496
  # auto_add_group_owner: false,
@@ -1562,12 +1570,12 @@ module Aws::Greengrass
1562
1570
  #
1563
1571
  # {
1564
1572
  # amzn_client_token: "__string",
1565
- # s3_url_signer_role: "S3UrlSignerRole",
1566
- # software_to_update: "core", # accepts core, ota_agent
1573
+ # s3_url_signer_role: "S3UrlSignerRole", # required
1574
+ # software_to_update: "core", # required, accepts core, ota_agent
1567
1575
  # update_agent_log_level: "NONE", # accepts NONE, TRACE, DEBUG, VERBOSE, INFO, WARN, ERROR, FATAL
1568
- # update_targets: ["__string"],
1569
- # update_targets_architecture: "armv7l", # accepts armv7l, x86_64, aarch64
1570
- # update_targets_operating_system: "ubuntu", # accepts ubuntu, raspbian, amazon_linux
1576
+ # update_targets: ["__string"], # required
1577
+ # update_targets_architecture: "armv7l", # required, accepts armv7l, x86_64, aarch64, openwrt
1578
+ # update_targets_operating_system: "ubuntu", # required, accepts ubuntu, raspbian, amazon_linux
1571
1579
  # }
1572
1580
  #
1573
1581
  # @!attribute [rw] amzn_client_token
@@ -1638,10 +1646,10 @@ module Aws::Greengrass
1638
1646
  # initial_version: {
1639
1647
  # subscriptions: [
1640
1648
  # {
1641
- # id: "__string",
1642
- # source: "__string",
1643
- # subject: "__string",
1644
- # target: "__string",
1649
+ # id: "__string", # required
1650
+ # source: "__string", # required
1651
+ # subject: "__string", # required
1652
+ # target: "__string", # required
1645
1653
  # },
1646
1654
  # ],
1647
1655
  # },
@@ -1662,6 +1670,7 @@ module Aws::Greengrass
1662
1670
  # @return [String]
1663
1671
  #
1664
1672
  # @!attribute [rw] tags
1673
+ # The key-value pair for the resource tag.
1665
1674
  # @return [Hash<String,String>]
1666
1675
  #
1667
1676
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateSubscriptionDefinitionRequest AWS API Documentation
@@ -1716,10 +1725,10 @@ module Aws::Greengrass
1716
1725
  # subscription_definition_id: "__string", # required
1717
1726
  # subscriptions: [
1718
1727
  # {
1719
- # id: "__string",
1720
- # source: "__string",
1721
- # subject: "__string",
1722
- # target: "__string",
1728
+ # id: "__string", # required
1729
+ # source: "__string", # required
1730
+ # subject: "__string", # required
1731
+ # target: "__string", # required
1723
1732
  # },
1724
1733
  # ],
1725
1734
  # }
@@ -1764,30 +1773,6 @@ module Aws::Greengrass
1764
1773
  include Aws::Structure
1765
1774
  end
1766
1775
 
1767
- # @note When making an API call, you may pass TagResourceRequest
1768
- # data as a hash:
1769
- #
1770
- # {
1771
- # resource_arn: "__string", # required
1772
- # tags: { # required
1773
- # "__string" => "__string",
1774
- # },
1775
- # }
1776
- #
1777
- # @!attribute [rw] resource_arn
1778
- # @return [String]
1779
- #
1780
- # @!attribute [rw] tags
1781
- # @return [Hash<String,String>]
1782
- #
1783
- # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/TagResourceRequest AWS API Documentation
1784
- #
1785
- class TagResourceRequest < Struct.new(
1786
- :resource_arn,
1787
- :tags)
1788
- include Aws::Structure
1789
- end
1790
-
1791
1776
  # Information about a definition.
1792
1777
  #
1793
1778
  # @!attribute [rw] arn
@@ -1809,11 +1794,11 @@ module Aws::Greengrass
1809
1794
  # @return [String]
1810
1795
  #
1811
1796
  # @!attribute [rw] latest_version
1812
- # The latest version of the definition.
1797
+ # The ID of the latest version associated with the definition.
1813
1798
  # @return [String]
1814
1799
  #
1815
1800
  # @!attribute [rw] latest_version_arn
1816
- # The ARN of the latest version of the definition.
1801
+ # The ARN of the latest version associated with the definition.
1817
1802
  # @return [String]
1818
1803
  #
1819
1804
  # @!attribute [rw] name
@@ -1821,6 +1806,7 @@ module Aws::Greengrass
1821
1806
  # @return [String]
1822
1807
  #
1823
1808
  # @!attribute [rw] tags
1809
+ # Tag(s) attached to the resource arn.
1824
1810
  # @return [Hash<String,String>]
1825
1811
  #
1826
1812
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DefinitionInformation AWS API Documentation
@@ -2005,28 +1991,6 @@ module Aws::Greengrass
2005
1991
  #
2006
1992
  class DeleteSubscriptionDefinitionResponse < Aws::EmptyStructure; end
2007
1993
 
2008
- # @note When making an API call, you may pass UntagResourceRequest
2009
- # data as a hash:
2010
- #
2011
- # {
2012
- # resource_arn: "__string", # required
2013
- # tag_keys: ["__string"], # required
2014
- # }
2015
- #
2016
- # @!attribute [rw] resource_arn
2017
- # @return [String]
2018
- #
2019
- # @!attribute [rw] tag_keys
2020
- # @return [Array<String>]
2021
- #
2022
- # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UntagResourceRequest AWS API Documentation
2023
- #
2024
- class UntagResourceRequest < Struct.new(
2025
- :resource_arn,
2026
- :tag_keys)
2027
- include Aws::Structure
2028
- end
2029
-
2030
1994
  # Information about a deployment.
2031
1995
  #
2032
1996
  # @!attribute [rw] created_at
@@ -2067,10 +2031,10 @@ module Aws::Greengrass
2067
2031
  # data as a hash:
2068
2032
  #
2069
2033
  # {
2070
- # certificate_arn: "__string",
2071
- # id: "__string",
2034
+ # certificate_arn: "__string", # required
2035
+ # id: "__string", # required
2072
2036
  # sync_shadow: false,
2073
- # thing_arn: "__string",
2037
+ # thing_arn: "__string", # required
2074
2038
  # }
2075
2039
  #
2076
2040
  # @!attribute [rw] certificate_arn
@@ -2110,10 +2074,10 @@ module Aws::Greengrass
2110
2074
  # {
2111
2075
  # devices: [
2112
2076
  # {
2113
- # certificate_arn: "__string",
2114
- # id: "__string",
2077
+ # certificate_arn: "__string", # required
2078
+ # id: "__string", # required
2115
2079
  # sync_shadow: false,
2116
- # thing_arn: "__string",
2080
+ # thing_arn: "__string", # required
2117
2081
  # },
2118
2082
  # ],
2119
2083
  # }
@@ -2220,7 +2184,7 @@ module Aws::Greengrass
2220
2184
  # resource_access_policies: [
2221
2185
  # {
2222
2186
  # permission: "ro", # accepts ro, rw
2223
- # resource_id: "__string",
2187
+ # resource_id: "__string", # required
2224
2188
  # },
2225
2189
  # ],
2226
2190
  # variables: {
@@ -2233,7 +2197,7 @@ module Aws::Greengrass
2233
2197
  # pinned: false,
2234
2198
  # timeout: 1,
2235
2199
  # },
2236
- # id: "__string",
2200
+ # id: "__string", # required
2237
2201
  # }
2238
2202
  #
2239
2203
  # @!attribute [rw] function_arn
@@ -2278,7 +2242,7 @@ module Aws::Greengrass
2278
2242
  # resource_access_policies: [
2279
2243
  # {
2280
2244
  # permission: "ro", # accepts ro, rw
2281
- # resource_id: "__string",
2245
+ # resource_id: "__string", # required
2282
2246
  # },
2283
2247
  # ],
2284
2248
  # variables: {
@@ -2356,7 +2320,7 @@ module Aws::Greengrass
2356
2320
  # resource_access_policies: [
2357
2321
  # {
2358
2322
  # permission: "ro", # accepts ro, rw
2359
- # resource_id: "__string",
2323
+ # resource_id: "__string", # required
2360
2324
  # },
2361
2325
  # ],
2362
2326
  # variables: {
@@ -2495,7 +2459,7 @@ module Aws::Greengrass
2495
2459
  # resource_access_policies: [
2496
2460
  # {
2497
2461
  # permission: "ro", # accepts ro, rw
2498
- # resource_id: "__string",
2462
+ # resource_id: "__string", # required
2499
2463
  # },
2500
2464
  # ],
2501
2465
  # variables: {
@@ -2508,7 +2472,7 @@ module Aws::Greengrass
2508
2472
  # pinned: false,
2509
2473
  # timeout: 1,
2510
2474
  # },
2511
- # id: "__string",
2475
+ # id: "__string", # required
2512
2476
  # },
2513
2477
  # ],
2514
2478
  # }
@@ -2696,6 +2660,7 @@ module Aws::Greengrass
2696
2660
  # @return [String]
2697
2661
  #
2698
2662
  # @!attribute [rw] tags
2663
+ # The key-value pair for the resource tag.
2699
2664
  # @return [Hash<String,String>]
2700
2665
  #
2701
2666
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetBulkDeploymentStatusResponse AWS API Documentation
@@ -2784,6 +2749,7 @@ module Aws::Greengrass
2784
2749
  # @return [String]
2785
2750
  #
2786
2751
  # @!attribute [rw] tags
2752
+ # The key-value pair for the resource tag.
2787
2753
  # @return [Hash<String,String>]
2788
2754
  #
2789
2755
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectorDefinitionResponse AWS API Documentation
@@ -2906,6 +2872,7 @@ module Aws::Greengrass
2906
2872
  # @return [String]
2907
2873
  #
2908
2874
  # @!attribute [rw] tags
2875
+ # The key-value pair for the resource tag.
2909
2876
  # @return [Hash<String,String>]
2910
2877
  #
2911
2878
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetCoreDefinitionResponse AWS API Documentation
@@ -3078,6 +3045,7 @@ module Aws::Greengrass
3078
3045
  # @return [String]
3079
3046
  #
3080
3047
  # @!attribute [rw] tags
3048
+ # The key-value pair for the resource tag.
3081
3049
  # @return [Hash<String,String>]
3082
3050
  #
3083
3051
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeviceDefinitionResponse AWS API Documentation
@@ -3198,6 +3166,7 @@ module Aws::Greengrass
3198
3166
  # @return [String]
3199
3167
  #
3200
3168
  # @!attribute [rw] tags
3169
+ # The key-value pair for the resource tag.
3201
3170
  # @return [Hash<String,String>]
3202
3171
  #
3203
3172
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetFunctionDefinitionResponse AWS API Documentation
@@ -3400,6 +3369,7 @@ module Aws::Greengrass
3400
3369
  # @return [String]
3401
3370
  #
3402
3371
  # @!attribute [rw] tags
3372
+ # The key-value pair for the resource tag.
3403
3373
  # @return [Hash<String,String>]
3404
3374
  #
3405
3375
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupResponse AWS API Documentation
@@ -3511,6 +3481,7 @@ module Aws::Greengrass
3511
3481
  # @return [String]
3512
3482
  #
3513
3483
  # @!attribute [rw] tags
3484
+ # The key-value pair for the resource tag.
3514
3485
  # @return [Hash<String,String>]
3515
3486
  #
3516
3487
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetLoggerDefinitionResponse AWS API Documentation
@@ -3627,6 +3598,7 @@ module Aws::Greengrass
3627
3598
  # @return [String]
3628
3599
  #
3629
3600
  # @!attribute [rw] tags
3601
+ # The key-value pair for the resource tag.
3630
3602
  # @return [Hash<String,String>]
3631
3603
  #
3632
3604
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetResourceDefinitionResponse AWS API Documentation
@@ -3760,6 +3732,7 @@ module Aws::Greengrass
3760
3732
  # @return [String]
3761
3733
  #
3762
3734
  # @!attribute [rw] tags
3735
+ # The key-value pair for the resource tag.
3763
3736
  # @return [Hash<String,String>]
3764
3737
  #
3765
3738
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetSubscriptionDefinitionResponse AWS API Documentation
@@ -3907,11 +3880,11 @@ module Aws::Greengrass
3907
3880
  # @return [String]
3908
3881
  #
3909
3882
  # @!attribute [rw] latest_version
3910
- # The latest version of the group.
3883
+ # The ID of the latest version associated with the group.
3911
3884
  # @return [String]
3912
3885
  #
3913
3886
  # @!attribute [rw] latest_version_arn
3914
- # The ARN of the latest version of the group.
3887
+ # The ARN of the latest version associated with the group.
3915
3888
  # @return [String]
3916
3889
  #
3917
3890
  # @!attribute [rw] name
@@ -4846,6 +4819,7 @@ module Aws::Greengrass
4846
4819
  end
4847
4820
 
4848
4821
  # @!attribute [rw] tags
4822
+ # The key-value pair for the resource tag.
4849
4823
  # @return [Hash<String,String>]
4850
4824
  #
4851
4825
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListTagsForResourceResponse AWS API Documentation
@@ -4950,11 +4924,11 @@ module Aws::Greengrass
4950
4924
  # data as a hash:
4951
4925
  #
4952
4926
  # {
4953
- # component: "GreengrassSystem", # accepts GreengrassSystem, Lambda
4954
- # id: "__string",
4955
- # level: "DEBUG", # accepts DEBUG, INFO, WARN, ERROR, FATAL
4927
+ # component: "GreengrassSystem", # required, accepts GreengrassSystem, Lambda
4928
+ # id: "__string", # required
4929
+ # level: "DEBUG", # required, accepts DEBUG, INFO, WARN, ERROR, FATAL
4956
4930
  # space: 1,
4957
- # type: "FileSystem", # accepts FileSystem, AWSCloudWatch
4931
+ # type: "FileSystem", # required, accepts FileSystem, AWSCloudWatch
4958
4932
  # }
4959
4933
  #
4960
4934
  # @!attribute [rw] component
@@ -4999,11 +4973,11 @@ module Aws::Greengrass
4999
4973
  # {
5000
4974
  # loggers: [
5001
4975
  # {
5002
- # component: "GreengrassSystem", # accepts GreengrassSystem, Lambda
5003
- # id: "__string",
5004
- # level: "DEBUG", # accepts DEBUG, INFO, WARN, ERROR, FATAL
4976
+ # component: "GreengrassSystem", # required, accepts GreengrassSystem, Lambda
4977
+ # id: "__string", # required
4978
+ # level: "DEBUG", # required, accepts DEBUG, INFO, WARN, ERROR, FATAL
5005
4979
  # space: 1,
5006
- # type: "FileSystem", # accepts FileSystem, AWSCloudWatch
4980
+ # type: "FileSystem", # required, accepts FileSystem, AWSCloudWatch
5007
4981
  # },
5008
4982
  # ],
5009
4983
  # }
@@ -5071,9 +5045,9 @@ module Aws::Greengrass
5071
5045
  # data as a hash:
5072
5046
  #
5073
5047
  # {
5074
- # id: "__string",
5075
- # name: "__string",
5076
- # resource_data_container: {
5048
+ # id: "__string", # required
5049
+ # name: "__string", # required
5050
+ # resource_data_container: { # required
5077
5051
  # local_device_resource_data: {
5078
5052
  # group_owner_setting: {
5079
5053
  # auto_add_group_owner: false,
@@ -5138,7 +5112,7 @@ module Aws::Greengrass
5138
5112
  #
5139
5113
  # {
5140
5114
  # permission: "ro", # accepts ro, rw
5141
- # resource_id: "__string",
5115
+ # resource_id: "__string", # required
5142
5116
  # }
5143
5117
  #
5144
5118
  # @!attribute [rw] permission
@@ -5240,9 +5214,9 @@ module Aws::Greengrass
5240
5214
  # {
5241
5215
  # resources: [
5242
5216
  # {
5243
- # id: "__string",
5244
- # name: "__string",
5245
- # resource_data_container: {
5217
+ # id: "__string", # required
5218
+ # name: "__string", # required
5219
+ # resource_data_container: { # required
5246
5220
  # local_device_resource_data: {
5247
5221
  # group_owner_setting: {
5248
5222
  # auto_add_group_owner: false,
@@ -5383,8 +5357,8 @@ module Aws::Greengrass
5383
5357
  #
5384
5358
  # {
5385
5359
  # amzn_client_token: "__string",
5386
- # execution_role_arn: "__string",
5387
- # input_file_uri: "__string",
5360
+ # execution_role_arn: "__string", # required
5361
+ # input_file_uri: "__string", # required
5388
5362
  # tags: {
5389
5363
  # "__string" => "__string",
5390
5364
  # },
@@ -5412,6 +5386,7 @@ module Aws::Greengrass
5412
5386
  # @return [String]
5413
5387
  #
5414
5388
  # @!attribute [rw] tags
5389
+ # The key-value pair for the resource tag.
5415
5390
  # @return [Hash<String,String>]
5416
5391
  #
5417
5392
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/StartBulkDeploymentRequest AWS API Documentation
@@ -5467,10 +5442,10 @@ module Aws::Greengrass
5467
5442
  # data as a hash:
5468
5443
  #
5469
5444
  # {
5470
- # id: "__string",
5471
- # source: "__string",
5472
- # subject: "__string",
5473
- # target: "__string",
5445
+ # id: "__string", # required
5446
+ # source: "__string", # required
5447
+ # subject: "__string", # required
5448
+ # target: "__string", # required
5474
5449
  # }
5475
5450
  #
5476
5451
  # @!attribute [rw] id
@@ -5513,10 +5488,10 @@ module Aws::Greengrass
5513
5488
  # {
5514
5489
  # subscriptions: [
5515
5490
  # {
5516
- # id: "__string",
5517
- # source: "__string",
5518
- # subject: "__string",
5519
- # target: "__string",
5491
+ # id: "__string", # required
5492
+ # source: "__string", # required
5493
+ # subject: "__string", # required
5494
+ # target: "__string", # required
5520
5495
  # },
5521
5496
  # ],
5522
5497
  # }
@@ -5532,6 +5507,53 @@ module Aws::Greengrass
5532
5507
  include Aws::Structure
5533
5508
  end
5534
5509
 
5510
+ # @note When making an API call, you may pass TagResourceRequest
5511
+ # data as a hash:
5512
+ #
5513
+ # {
5514
+ # resource_arn: "__string", # required
5515
+ # tags: {
5516
+ # "__string" => "__string",
5517
+ # },
5518
+ # }
5519
+ #
5520
+ # @!attribute [rw] resource_arn
5521
+ # @return [String]
5522
+ #
5523
+ # @!attribute [rw] tags
5524
+ # The key-value pair for the resource tag.
5525
+ # @return [Hash<String,String>]
5526
+ #
5527
+ # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/TagResourceRequest AWS API Documentation
5528
+ #
5529
+ class TagResourceRequest < Struct.new(
5530
+ :resource_arn,
5531
+ :tags)
5532
+ include Aws::Structure
5533
+ end
5534
+
5535
+ # @note When making an API call, you may pass UntagResourceRequest
5536
+ # data as a hash:
5537
+ #
5538
+ # {
5539
+ # resource_arn: "__string", # required
5540
+ # tag_keys: ["__string"], # required
5541
+ # }
5542
+ #
5543
+ # @!attribute [rw] resource_arn
5544
+ # @return [String]
5545
+ #
5546
+ # @!attribute [rw] tag_keys
5547
+ # @return [Array<String>]
5548
+ #
5549
+ # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UntagResourceRequest AWS API Documentation
5550
+ #
5551
+ class UntagResourceRequest < Struct.new(
5552
+ :resource_arn,
5553
+ :tag_keys)
5554
+ include Aws::Structure
5555
+ end
5556
+
5535
5557
  # Information required to update a Greengrass core's connectivity.
5536
5558
  #
5537
5559
  # @note When making an API call, you may pass UpdateConnectivityInfoRequest