aws-sdk-iot 1.105.0 → 1.106.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -211,6 +211,7 @@ module Aws::IoT
211
211
  ClientId = Shapes::StringShape.new(name: 'ClientId')
212
212
  ClientProperties = Shapes::MapShape.new(name: 'ClientProperties')
213
213
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
214
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
214
215
  CloudwatchAlarmAction = Shapes::StructureShape.new(name: 'CloudwatchAlarmAction')
215
216
  CloudwatchLogsAction = Shapes::StructureShape.new(name: 'CloudwatchLogsAction')
216
217
  CloudwatchMetricAction = Shapes::StructureShape.new(name: 'CloudwatchMetricAction')
@@ -263,6 +264,10 @@ module Aws::IoT
263
264
  CreateMitigationActionResponse = Shapes::StructureShape.new(name: 'CreateMitigationActionResponse')
264
265
  CreateOTAUpdateRequest = Shapes::StructureShape.new(name: 'CreateOTAUpdateRequest')
265
266
  CreateOTAUpdateResponse = Shapes::StructureShape.new(name: 'CreateOTAUpdateResponse')
267
+ CreatePackageRequest = Shapes::StructureShape.new(name: 'CreatePackageRequest')
268
+ CreatePackageResponse = Shapes::StructureShape.new(name: 'CreatePackageResponse')
269
+ CreatePackageVersionRequest = Shapes::StructureShape.new(name: 'CreatePackageVersionRequest')
270
+ CreatePackageVersionResponse = Shapes::StructureShape.new(name: 'CreatePackageVersionResponse')
266
271
  CreatePolicyRequest = Shapes::StructureShape.new(name: 'CreatePolicyRequest')
267
272
  CreatePolicyResponse = Shapes::StructureShape.new(name: 'CreatePolicyResponse')
268
273
  CreatePolicyVersionRequest = Shapes::StructureShape.new(name: 'CreatePolicyVersionRequest')
@@ -334,6 +339,10 @@ module Aws::IoT
334
339
  DeleteMitigationActionResponse = Shapes::StructureShape.new(name: 'DeleteMitigationActionResponse')
335
340
  DeleteOTAUpdateRequest = Shapes::StructureShape.new(name: 'DeleteOTAUpdateRequest')
336
341
  DeleteOTAUpdateResponse = Shapes::StructureShape.new(name: 'DeleteOTAUpdateResponse')
342
+ DeletePackageRequest = Shapes::StructureShape.new(name: 'DeletePackageRequest')
343
+ DeletePackageResponse = Shapes::StructureShape.new(name: 'DeletePackageResponse')
344
+ DeletePackageVersionRequest = Shapes::StructureShape.new(name: 'DeletePackageVersionRequest')
345
+ DeletePackageVersionResponse = Shapes::StructureShape.new(name: 'DeletePackageVersionResponse')
337
346
  DeletePolicyRequest = Shapes::StructureShape.new(name: 'DeletePolicyRequest')
338
347
  DeletePolicyVersionRequest = Shapes::StructureShape.new(name: 'DeletePolicyVersionRequest')
339
348
  DeleteProvisioningTemplateRequest = Shapes::StructureShape.new(name: 'DeleteProvisioningTemplateRequest')
@@ -435,6 +444,7 @@ module Aws::IoT
435
444
  DescribeThingTypeResponse = Shapes::StructureShape.new(name: 'DescribeThingTypeResponse')
436
445
  Description = Shapes::StringShape.new(name: 'Description')
437
446
  Destination = Shapes::StructureShape.new(name: 'Destination')
447
+ DestinationPackageVersions = Shapes::ListShape.new(name: 'DestinationPackageVersions')
438
448
  DetachPolicyRequest = Shapes::StructureShape.new(name: 'DetachPolicyRequest')
439
449
  DetachPrincipalPolicyRequest = Shapes::StructureShape.new(name: 'DetachPrincipalPolicyRequest')
440
450
  DetachSecurityProfileRequest = Shapes::StructureShape.new(name: 'DetachSecurityProfileRequest')
@@ -494,6 +504,7 @@ module Aws::IoT
494
504
  EnableIoTLoggingParams = Shapes::StructureShape.new(name: 'EnableIoTLoggingParams')
495
505
  EnableTopicRuleRequest = Shapes::StructureShape.new(name: 'EnableTopicRuleRequest')
496
506
  Enabled = Shapes::BooleanShape.new(name: 'Enabled')
507
+ EnabledBoolean = Shapes::BooleanShape.new(name: 'EnabledBoolean')
497
508
  EndpointAddress = Shapes::StringShape.new(name: 'EndpointAddress')
498
509
  EndpointType = Shapes::StringShape.new(name: 'EndpointType')
499
510
  Environment = Shapes::StringShape.new(name: 'Environment')
@@ -558,6 +569,12 @@ module Aws::IoT
558
569
  GetLoggingOptionsResponse = Shapes::StructureShape.new(name: 'GetLoggingOptionsResponse')
559
570
  GetOTAUpdateRequest = Shapes::StructureShape.new(name: 'GetOTAUpdateRequest')
560
571
  GetOTAUpdateResponse = Shapes::StructureShape.new(name: 'GetOTAUpdateResponse')
572
+ GetPackageConfigurationRequest = Shapes::StructureShape.new(name: 'GetPackageConfigurationRequest')
573
+ GetPackageConfigurationResponse = Shapes::StructureShape.new(name: 'GetPackageConfigurationResponse')
574
+ GetPackageRequest = Shapes::StructureShape.new(name: 'GetPackageRequest')
575
+ GetPackageResponse = Shapes::StructureShape.new(name: 'GetPackageResponse')
576
+ GetPackageVersionRequest = Shapes::StructureShape.new(name: 'GetPackageVersionRequest')
577
+ GetPackageVersionResponse = Shapes::StructureShape.new(name: 'GetPackageVersionResponse')
561
578
  GetPercentilesRequest = Shapes::StructureShape.new(name: 'GetPercentilesRequest')
562
579
  GetPercentilesResponse = Shapes::StructureShape.new(name: 'GetPercentilesResponse')
563
580
  GetPolicyRequest = Shapes::StructureShape.new(name: 'GetPolicyRequest')
@@ -719,6 +736,10 @@ module Aws::IoT
719
736
  ListOTAUpdatesResponse = Shapes::StructureShape.new(name: 'ListOTAUpdatesResponse')
720
737
  ListOutgoingCertificatesRequest = Shapes::StructureShape.new(name: 'ListOutgoingCertificatesRequest')
721
738
  ListOutgoingCertificatesResponse = Shapes::StructureShape.new(name: 'ListOutgoingCertificatesResponse')
739
+ ListPackageVersionsRequest = Shapes::StructureShape.new(name: 'ListPackageVersionsRequest')
740
+ ListPackageVersionsResponse = Shapes::StructureShape.new(name: 'ListPackageVersionsResponse')
741
+ ListPackagesRequest = Shapes::StructureShape.new(name: 'ListPackagesRequest')
742
+ ListPackagesResponse = Shapes::StructureShape.new(name: 'ListPackagesResponse')
722
743
  ListPoliciesRequest = Shapes::StructureShape.new(name: 'ListPoliciesRequest')
723
744
  ListPoliciesResponse = Shapes::StructureShape.new(name: 'ListPoliciesResponse')
724
745
  ListPolicyPrincipalsRequest = Shapes::StructureShape.new(name: 'ListPolicyPrincipalsRequest')
@@ -865,6 +886,17 @@ module Aws::IoT
865
886
  OutgoingCertificate = Shapes::StructureShape.new(name: 'OutgoingCertificate')
866
887
  OutgoingCertificates = Shapes::ListShape.new(name: 'OutgoingCertificates')
867
888
  OverrideDynamicGroups = Shapes::BooleanShape.new(name: 'OverrideDynamicGroups')
889
+ PackageArn = Shapes::StringShape.new(name: 'PackageArn')
890
+ PackageCatalogMaxResults = Shapes::IntegerShape.new(name: 'PackageCatalogMaxResults')
891
+ PackageName = Shapes::StringShape.new(name: 'PackageName')
892
+ PackageSummary = Shapes::StructureShape.new(name: 'PackageSummary')
893
+ PackageSummaryList = Shapes::ListShape.new(name: 'PackageSummaryList')
894
+ PackageVersionAction = Shapes::StringShape.new(name: 'PackageVersionAction')
895
+ PackageVersionArn = Shapes::StringShape.new(name: 'PackageVersionArn')
896
+ PackageVersionErrorReason = Shapes::StringShape.new(name: 'PackageVersionErrorReason')
897
+ PackageVersionStatus = Shapes::StringShape.new(name: 'PackageVersionStatus')
898
+ PackageVersionSummary = Shapes::StructureShape.new(name: 'PackageVersionSummary')
899
+ PackageVersionSummaryList = Shapes::ListShape.new(name: 'PackageVersionSummaryList')
868
900
  PageSize = Shapes::IntegerShape.new(name: 'PageSize')
869
901
  Parameter = Shapes::StringShape.new(name: 'Parameter')
870
902
  ParameterKey = Shapes::StringShape.new(name: 'ParameterKey')
@@ -975,6 +1007,10 @@ module Aws::IoT
975
1007
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
976
1008
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
977
1009
  ResourceArns = Shapes::MapShape.new(name: 'ResourceArns')
1010
+ ResourceAttributeKey = Shapes::StringShape.new(name: 'ResourceAttributeKey')
1011
+ ResourceAttributeValue = Shapes::StringShape.new(name: 'ResourceAttributeValue')
1012
+ ResourceAttributes = Shapes::MapShape.new(name: 'ResourceAttributes')
1013
+ ResourceDescription = Shapes::StringShape.new(name: 'ResourceDescription')
978
1014
  ResourceIdentifier = Shapes::StructureShape.new(name: 'ResourceIdentifier')
979
1015
  ResourceLogicalId = Shapes::StringShape.new(name: 'ResourceLogicalId')
980
1016
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -1037,6 +1073,7 @@ module Aws::IoT
1037
1073
  ServerCertificates = Shapes::ListShape.new(name: 'ServerCertificates')
1038
1074
  ServerName = Shapes::StringShape.new(name: 'ServerName')
1039
1075
  ServiceName = Shapes::StringShape.new(name: 'ServiceName')
1076
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
1040
1077
  ServiceType = Shapes::StringShape.new(name: 'ServiceType')
1041
1078
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
1042
1079
  SetAsActive = Shapes::BooleanShape.new(name: 'SetAsActive')
@@ -1110,6 +1147,7 @@ module Aws::IoT
1110
1147
  TagKey = Shapes::StringShape.new(name: 'TagKey')
1111
1148
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
1112
1149
  TagList = Shapes::ListShape.new(name: 'TagList')
1150
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
1113
1151
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
1114
1152
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
1115
1153
  TagValue = Shapes::StringShape.new(name: 'TagValue')
@@ -1212,6 +1250,7 @@ module Aws::IoT
1212
1250
  TransferData = Shapes::StructureShape.new(name: 'TransferData')
1213
1251
  UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
1214
1252
  UndoDeprecate = Shapes::BooleanShape.new(name: 'UndoDeprecate')
1253
+ UnsetDefaultVersion = Shapes::BooleanShape.new(name: 'UnsetDefaultVersion')
1215
1254
  UnsignedLong = Shapes::IntegerShape.new(name: 'UnsignedLong')
1216
1255
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
1217
1256
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
@@ -1243,6 +1282,12 @@ module Aws::IoT
1243
1282
  UpdateJobRequest = Shapes::StructureShape.new(name: 'UpdateJobRequest')
1244
1283
  UpdateMitigationActionRequest = Shapes::StructureShape.new(name: 'UpdateMitigationActionRequest')
1245
1284
  UpdateMitigationActionResponse = Shapes::StructureShape.new(name: 'UpdateMitigationActionResponse')
1285
+ UpdatePackageConfigurationRequest = Shapes::StructureShape.new(name: 'UpdatePackageConfigurationRequest')
1286
+ UpdatePackageConfigurationResponse = Shapes::StructureShape.new(name: 'UpdatePackageConfigurationResponse')
1287
+ UpdatePackageRequest = Shapes::StructureShape.new(name: 'UpdatePackageRequest')
1288
+ UpdatePackageResponse = Shapes::StructureShape.new(name: 'UpdatePackageResponse')
1289
+ UpdatePackageVersionRequest = Shapes::StructureShape.new(name: 'UpdatePackageVersionRequest')
1290
+ UpdatePackageVersionResponse = Shapes::StructureShape.new(name: 'UpdatePackageVersionResponse')
1246
1291
  UpdateProvisioningTemplateRequest = Shapes::StructureShape.new(name: 'UpdateProvisioningTemplateRequest')
1247
1292
  UpdateProvisioningTemplateResponse = Shapes::StructureShape.new(name: 'UpdateProvisioningTemplateResponse')
1248
1293
  UpdateRoleAliasRequest = Shapes::StructureShape.new(name: 'UpdateRoleAliasRequest')
@@ -1272,13 +1317,16 @@ module Aws::IoT
1272
1317
  ValidateSecurityProfileBehaviorsResponse = Shapes::StructureShape.new(name: 'ValidateSecurityProfileBehaviorsResponse')
1273
1318
  ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
1274
1319
  ValidationErrors = Shapes::ListShape.new(name: 'ValidationErrors')
1320
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
1275
1321
  Value = Shapes::StringShape.new(name: 'Value')
1276
1322
  Variance = Shapes::FloatShape.new(name: 'Variance')
1277
1323
  VerificationState = Shapes::StringShape.new(name: 'VerificationState')
1278
1324
  VerificationStateDescription = Shapes::StringShape.new(name: 'VerificationStateDescription')
1279
1325
  Version = Shapes::IntegerShape.new(name: 'Version')
1280
1326
  VersionConflictException = Shapes::StructureShape.new(name: 'VersionConflictException')
1327
+ VersionName = Shapes::StringShape.new(name: 'VersionName')
1281
1328
  VersionNumber = Shapes::IntegerShape.new(name: 'VersionNumber')
1329
+ VersionUpdateByJobsConfig = Shapes::StructureShape.new(name: 'VersionUpdateByJobsConfig')
1282
1330
  VersionsLimitExceededException = Shapes::StructureShape.new(name: 'VersionsLimitExceededException')
1283
1331
  ViolationEvent = Shapes::StructureShape.new(name: 'ViolationEvent')
1284
1332
  ViolationEventAdditionalInfo = Shapes::StructureShape.new(name: 'ViolationEventAdditionalInfo')
@@ -1803,6 +1851,7 @@ module Aws::IoT
1803
1851
  ConfirmTopicRuleDestinationResponse.struct_class = Types::ConfirmTopicRuleDestinationResponse
1804
1852
 
1805
1853
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
1854
+ ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: resourceId, location_name: "resourceId"))
1806
1855
  ConflictException.struct_class = Types::ConflictException
1807
1856
 
1808
1857
  ConflictingResourceUpdateException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
@@ -1935,6 +1984,7 @@ module Aws::IoT
1935
1984
  CreateJobRequest.add_member(:job_executions_retry_config, Shapes::ShapeRef.new(shape: JobExecutionsRetryConfig, location_name: "jobExecutionsRetryConfig"))
1936
1985
  CreateJobRequest.add_member(:document_parameters, Shapes::ShapeRef.new(shape: ParameterMap, location_name: "documentParameters"))
1937
1986
  CreateJobRequest.add_member(:scheduling_config, Shapes::ShapeRef.new(shape: SchedulingConfig, location_name: "schedulingConfig"))
1987
+ CreateJobRequest.add_member(:destination_package_versions, Shapes::ShapeRef.new(shape: DestinationPackageVersions, location_name: "destinationPackageVersions"))
1938
1988
  CreateJobRequest.struct_class = Types::CreateJobRequest
1939
1989
 
1940
1990
  CreateJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
@@ -1954,6 +2004,7 @@ module Aws::IoT
1954
2004
  CreateJobTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
1955
2005
  CreateJobTemplateRequest.add_member(:job_executions_retry_config, Shapes::ShapeRef.new(shape: JobExecutionsRetryConfig, location_name: "jobExecutionsRetryConfig"))
1956
2006
  CreateJobTemplateRequest.add_member(:maintenance_windows, Shapes::ShapeRef.new(shape: MaintenanceWindows, location_name: "maintenanceWindows"))
2007
+ CreateJobTemplateRequest.add_member(:destination_package_versions, Shapes::ShapeRef.new(shape: DestinationPackageVersions, location_name: "destinationPackageVersions"))
1957
2008
  CreateJobTemplateRequest.struct_class = Types::CreateJobTemplateRequest
1958
2009
 
1959
2010
  CreateJobTemplateResponse.add_member(:job_template_arn, Shapes::ShapeRef.new(shape: JobTemplateArn, location_name: "jobTemplateArn"))
@@ -2001,6 +2052,34 @@ module Aws::IoT
2001
2052
  CreateOTAUpdateResponse.add_member(:ota_update_status, Shapes::ShapeRef.new(shape: OTAUpdateStatus, location_name: "otaUpdateStatus"))
2002
2053
  CreateOTAUpdateResponse.struct_class = Types::CreateOTAUpdateResponse
2003
2054
 
2055
+ CreatePackageRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "uri", location_name: "packageName"))
2056
+ CreatePackageRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
2057
+ CreatePackageRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
2058
+ CreatePackageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
2059
+ CreatePackageRequest.struct_class = Types::CreatePackageRequest
2060
+
2061
+ CreatePackageResponse.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, location_name: "packageName"))
2062
+ CreatePackageResponse.add_member(:package_arn, Shapes::ShapeRef.new(shape: PackageArn, location_name: "packageArn"))
2063
+ CreatePackageResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
2064
+ CreatePackageResponse.struct_class = Types::CreatePackageResponse
2065
+
2066
+ CreatePackageVersionRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "uri", location_name: "packageName"))
2067
+ CreatePackageVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
2068
+ CreatePackageVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
2069
+ CreatePackageVersionRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: ResourceAttributes, location_name: "attributes"))
2070
+ CreatePackageVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
2071
+ CreatePackageVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
2072
+ CreatePackageVersionRequest.struct_class = Types::CreatePackageVersionRequest
2073
+
2074
+ CreatePackageVersionResponse.add_member(:package_version_arn, Shapes::ShapeRef.new(shape: PackageVersionArn, location_name: "packageVersionArn"))
2075
+ CreatePackageVersionResponse.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, location_name: "packageName"))
2076
+ CreatePackageVersionResponse.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "versionName"))
2077
+ CreatePackageVersionResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
2078
+ CreatePackageVersionResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: ResourceAttributes, location_name: "attributes"))
2079
+ CreatePackageVersionResponse.add_member(:status, Shapes::ShapeRef.new(shape: PackageVersionStatus, location_name: "status"))
2080
+ CreatePackageVersionResponse.add_member(:error_reason, Shapes::ShapeRef.new(shape: PackageVersionErrorReason, location_name: "errorReason"))
2081
+ CreatePackageVersionResponse.struct_class = Types::CreatePackageVersionResponse
2082
+
2004
2083
  CreatePolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
2005
2084
  CreatePolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "policyDocument"))
2006
2085
  CreatePolicyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
@@ -2242,6 +2321,19 @@ module Aws::IoT
2242
2321
 
2243
2322
  DeleteOTAUpdateResponse.struct_class = Types::DeleteOTAUpdateResponse
2244
2323
 
2324
+ DeletePackageRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "uri", location_name: "packageName"))
2325
+ DeletePackageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
2326
+ DeletePackageRequest.struct_class = Types::DeletePackageRequest
2327
+
2328
+ DeletePackageResponse.struct_class = Types::DeletePackageResponse
2329
+
2330
+ DeletePackageVersionRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "uri", location_name: "packageName"))
2331
+ DeletePackageVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
2332
+ DeletePackageVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
2333
+ DeletePackageVersionRequest.struct_class = Types::DeletePackageVersionRequest
2334
+
2335
+ DeletePackageVersionResponse.struct_class = Types::DeletePackageVersionResponse
2336
+
2245
2337
  DeletePolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
2246
2338
  DeletePolicyRequest.struct_class = Types::DeletePolicyRequest
2247
2339
 
@@ -2518,6 +2610,7 @@ module Aws::IoT
2518
2610
  DescribeJobTemplateResponse.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
2519
2611
  DescribeJobTemplateResponse.add_member(:job_executions_retry_config, Shapes::ShapeRef.new(shape: JobExecutionsRetryConfig, location_name: "jobExecutionsRetryConfig"))
2520
2612
  DescribeJobTemplateResponse.add_member(:maintenance_windows, Shapes::ShapeRef.new(shape: MaintenanceWindows, location_name: "maintenanceWindows"))
2613
+ DescribeJobTemplateResponse.add_member(:destination_package_versions, Shapes::ShapeRef.new(shape: DestinationPackageVersions, location_name: "destinationPackageVersions"))
2521
2614
  DescribeJobTemplateResponse.struct_class = Types::DescribeJobTemplateResponse
2522
2615
 
2523
2616
  DescribeManagedJobTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: ManagedJobTemplateName, required: true, location: "uri", location_name: "templateName"))
@@ -2668,6 +2761,8 @@ module Aws::IoT
2668
2761
  Destination.add_member(:s3_destination, Shapes::ShapeRef.new(shape: S3Destination, location_name: "s3Destination"))
2669
2762
  Destination.struct_class = Types::Destination
2670
2763
 
2764
+ DestinationPackageVersions.member = Shapes::ShapeRef.new(shape: PackageVersionArn)
2765
+
2671
2766
  DetachPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
2672
2767
  DetachPolicyRequest.add_member(:target, Shapes::ShapeRef.new(shape: PolicyTarget, required: true, location_name: "target"))
2673
2768
  DetachPolicyRequest.struct_class = Types::DetachPolicyRequest
@@ -2892,6 +2987,37 @@ module Aws::IoT
2892
2987
  GetOTAUpdateResponse.add_member(:ota_update_info, Shapes::ShapeRef.new(shape: OTAUpdateInfo, location_name: "otaUpdateInfo"))
2893
2988
  GetOTAUpdateResponse.struct_class = Types::GetOTAUpdateResponse
2894
2989
 
2990
+ GetPackageConfigurationRequest.struct_class = Types::GetPackageConfigurationRequest
2991
+
2992
+ GetPackageConfigurationResponse.add_member(:version_update_by_jobs_config, Shapes::ShapeRef.new(shape: VersionUpdateByJobsConfig, location_name: "versionUpdateByJobsConfig"))
2993
+ GetPackageConfigurationResponse.struct_class = Types::GetPackageConfigurationResponse
2994
+
2995
+ GetPackageRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "uri", location_name: "packageName"))
2996
+ GetPackageRequest.struct_class = Types::GetPackageRequest
2997
+
2998
+ GetPackageResponse.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, location_name: "packageName"))
2999
+ GetPackageResponse.add_member(:package_arn, Shapes::ShapeRef.new(shape: PackageArn, location_name: "packageArn"))
3000
+ GetPackageResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
3001
+ GetPackageResponse.add_member(:default_version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "defaultVersionName"))
3002
+ GetPackageResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
3003
+ GetPackageResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
3004
+ GetPackageResponse.struct_class = Types::GetPackageResponse
3005
+
3006
+ GetPackageVersionRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "uri", location_name: "packageName"))
3007
+ GetPackageVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
3008
+ GetPackageVersionRequest.struct_class = Types::GetPackageVersionRequest
3009
+
3010
+ GetPackageVersionResponse.add_member(:package_version_arn, Shapes::ShapeRef.new(shape: PackageVersionArn, location_name: "packageVersionArn"))
3011
+ GetPackageVersionResponse.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, location_name: "packageName"))
3012
+ GetPackageVersionResponse.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "versionName"))
3013
+ GetPackageVersionResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
3014
+ GetPackageVersionResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: ResourceAttributes, location_name: "attributes"))
3015
+ GetPackageVersionResponse.add_member(:status, Shapes::ShapeRef.new(shape: PackageVersionStatus, location_name: "status"))
3016
+ GetPackageVersionResponse.add_member(:error_reason, Shapes::ShapeRef.new(shape: PackageVersionErrorReason, location_name: "errorReason"))
3017
+ GetPackageVersionResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
3018
+ GetPackageVersionResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
3019
+ GetPackageVersionResponse.struct_class = Types::GetPackageVersionResponse
3020
+
2895
3021
  GetPercentilesRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
2896
3022
  GetPercentilesRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "queryString"))
2897
3023
  GetPercentilesRequest.add_member(:aggregation_field, Shapes::ShapeRef.new(shape: AggregationField, location_name: "aggregationField"))
@@ -3077,6 +3203,7 @@ module Aws::IoT
3077
3203
  Job.add_member(:is_concurrent, Shapes::ShapeRef.new(shape: BooleanWrapperObject, location_name: "isConcurrent"))
3078
3204
  Job.add_member(:scheduling_config, Shapes::ShapeRef.new(shape: SchedulingConfig, location_name: "schedulingConfig"))
3079
3205
  Job.add_member(:scheduled_job_rollouts, Shapes::ShapeRef.new(shape: ScheduledJobRolloutList, location_name: "scheduledJobRollouts"))
3206
+ Job.add_member(:destination_package_versions, Shapes::ShapeRef.new(shape: DestinationPackageVersions, location_name: "destinationPackageVersions"))
3080
3207
  Job.struct_class = Types::Job
3081
3208
 
3082
3209
  JobExecution.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
@@ -3467,6 +3594,24 @@ module Aws::IoT
3467
3594
  ListOutgoingCertificatesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
3468
3595
  ListOutgoingCertificatesResponse.struct_class = Types::ListOutgoingCertificatesResponse
3469
3596
 
3597
+ ListPackageVersionsRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "uri", location_name: "packageName"))
3598
+ ListPackageVersionsRequest.add_member(:status, Shapes::ShapeRef.new(shape: PackageVersionStatus, location: "querystring", location_name: "status"))
3599
+ ListPackageVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PackageCatalogMaxResults, location: "querystring", location_name: "maxResults"))
3600
+ ListPackageVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3601
+ ListPackageVersionsRequest.struct_class = Types::ListPackageVersionsRequest
3602
+
3603
+ ListPackageVersionsResponse.add_member(:package_version_summaries, Shapes::ShapeRef.new(shape: PackageVersionSummaryList, location_name: "packageVersionSummaries"))
3604
+ ListPackageVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
3605
+ ListPackageVersionsResponse.struct_class = Types::ListPackageVersionsResponse
3606
+
3607
+ ListPackagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PackageCatalogMaxResults, location: "querystring", location_name: "maxResults"))
3608
+ ListPackagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3609
+ ListPackagesRequest.struct_class = Types::ListPackagesRequest
3610
+
3611
+ ListPackagesResponse.add_member(:package_summaries, Shapes::ShapeRef.new(shape: PackageSummaryList, location_name: "packageSummaries"))
3612
+ ListPackagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
3613
+ ListPackagesResponse.struct_class = Types::ListPackagesResponse
3614
+
3470
3615
  ListPoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
3471
3616
  ListPoliciesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
3472
3617
  ListPoliciesRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
@@ -3915,6 +4060,23 @@ module Aws::IoT
3915
4060
 
3916
4061
  OutgoingCertificates.member = Shapes::ShapeRef.new(shape: OutgoingCertificate)
3917
4062
 
4063
+ PackageSummary.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, location_name: "packageName"))
4064
+ PackageSummary.add_member(:default_version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "defaultVersionName"))
4065
+ PackageSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
4066
+ PackageSummary.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
4067
+ PackageSummary.struct_class = Types::PackageSummary
4068
+
4069
+ PackageSummaryList.member = Shapes::ShapeRef.new(shape: PackageSummary)
4070
+
4071
+ PackageVersionSummary.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, location_name: "packageName"))
4072
+ PackageVersionSummary.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "versionName"))
4073
+ PackageVersionSummary.add_member(:status, Shapes::ShapeRef.new(shape: PackageVersionStatus, location_name: "status"))
4074
+ PackageVersionSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
4075
+ PackageVersionSummary.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
4076
+ PackageVersionSummary.struct_class = Types::PackageVersionSummary
4077
+
4078
+ PackageVersionSummaryList.member = Shapes::ShapeRef.new(shape: PackageVersionSummary)
4079
+
3918
4080
  ParameterMap.key = Shapes::ShapeRef.new(shape: ParameterKey)
3919
4081
  ParameterMap.value = Shapes::ShapeRef.new(shape: ParameterValue)
3920
4082
 
@@ -4114,6 +4276,9 @@ module Aws::IoT
4114
4276
  ResourceArns.key = Shapes::ShapeRef.new(shape: ResourceLogicalId)
4115
4277
  ResourceArns.value = Shapes::ShapeRef.new(shape: ResourceArn)
4116
4278
 
4279
+ ResourceAttributes.key = Shapes::ShapeRef.new(shape: ResourceAttributeKey)
4280
+ ResourceAttributes.value = Shapes::ShapeRef.new(shape: ResourceAttributeValue)
4281
+
4117
4282
  ResourceIdentifier.add_member(:device_certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "deviceCertificateId"))
4118
4283
  ResourceIdentifier.add_member(:ca_certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "caCertificateId"))
4119
4284
  ResourceIdentifier.add_member(:cognito_identity_pool_id, Shapes::ShapeRef.new(shape: CognitoIdentityPoolId, location_name: "cognitoIdentityPoolId"))
@@ -4234,6 +4399,9 @@ module Aws::IoT
4234
4399
 
4235
4400
  ServerCertificates.member = Shapes::ShapeRef.new(shape: ServerCertificateSummary)
4236
4401
 
4402
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
4403
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
4404
+
4237
4405
  ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
4238
4406
  ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
4239
4407
 
@@ -4392,6 +4560,9 @@ module Aws::IoT
4392
4560
 
4393
4561
  TagList.member = Shapes::ShapeRef.new(shape: Tag)
4394
4562
 
4563
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
4564
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
4565
+
4395
4566
  TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
4396
4567
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "tags"))
4397
4568
  TagResourceRequest.struct_class = Types::TagResourceRequest
@@ -4790,6 +4961,31 @@ module Aws::IoT
4790
4961
  UpdateMitigationActionResponse.add_member(:action_id, Shapes::ShapeRef.new(shape: MitigationActionId, location_name: "actionId"))
4791
4962
  UpdateMitigationActionResponse.struct_class = Types::UpdateMitigationActionResponse
4792
4963
 
4964
+ UpdatePackageConfigurationRequest.add_member(:version_update_by_jobs_config, Shapes::ShapeRef.new(shape: VersionUpdateByJobsConfig, location_name: "versionUpdateByJobsConfig"))
4965
+ UpdatePackageConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
4966
+ UpdatePackageConfigurationRequest.struct_class = Types::UpdatePackageConfigurationRequest
4967
+
4968
+ UpdatePackageConfigurationResponse.struct_class = Types::UpdatePackageConfigurationResponse
4969
+
4970
+ UpdatePackageRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "uri", location_name: "packageName"))
4971
+ UpdatePackageRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
4972
+ UpdatePackageRequest.add_member(:default_version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "defaultVersionName"))
4973
+ UpdatePackageRequest.add_member(:unset_default_version, Shapes::ShapeRef.new(shape: UnsetDefaultVersion, location_name: "unsetDefaultVersion"))
4974
+ UpdatePackageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
4975
+ UpdatePackageRequest.struct_class = Types::UpdatePackageRequest
4976
+
4977
+ UpdatePackageResponse.struct_class = Types::UpdatePackageResponse
4978
+
4979
+ UpdatePackageVersionRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "uri", location_name: "packageName"))
4980
+ UpdatePackageVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
4981
+ UpdatePackageVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
4982
+ UpdatePackageVersionRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: ResourceAttributes, location_name: "attributes"))
4983
+ UpdatePackageVersionRequest.add_member(:action, Shapes::ShapeRef.new(shape: PackageVersionAction, location_name: "action"))
4984
+ UpdatePackageVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
4985
+ UpdatePackageVersionRequest.struct_class = Types::UpdatePackageVersionRequest
4986
+
4987
+ UpdatePackageVersionResponse.struct_class = Types::UpdatePackageVersionResponse
4988
+
4793
4989
  UpdateProvisioningTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, required: true, location: "uri", location_name: "templateName"))
4794
4990
  UpdateProvisioningTemplateRequest.add_member(:description, Shapes::ShapeRef.new(shape: TemplateDescription, location_name: "description"))
4795
4991
  UpdateProvisioningTemplateRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "enabled"))
@@ -4905,9 +5101,16 @@ module Aws::IoT
4905
5101
 
4906
5102
  ValidationErrors.member = Shapes::ShapeRef.new(shape: ValidationError)
4907
5103
 
5104
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
5105
+ ValidationException.struct_class = Types::ValidationException
5106
+
4908
5107
  VersionConflictException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
4909
5108
  VersionConflictException.struct_class = Types::VersionConflictException
4910
5109
 
5110
+ VersionUpdateByJobsConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: EnabledBoolean, location_name: "enabled"))
5111
+ VersionUpdateByJobsConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
5112
+ VersionUpdateByJobsConfig.struct_class = Types::VersionUpdateByJobsConfig
5113
+
4911
5114
  VersionsLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
4912
5115
  VersionsLimitExceededException.struct_class = Types::VersionsLimitExceededException
4913
5116
 
@@ -5382,6 +5585,32 @@ module Aws::IoT
5382
5585
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5383
5586
  end)
5384
5587
 
5588
+ api.add_operation(:create_package, Seahorse::Model::Operation.new.tap do |o|
5589
+ o.name = "CreatePackage"
5590
+ o.http_method = "PUT"
5591
+ o.http_request_uri = "/packages/{packageName}"
5592
+ o.input = Shapes::ShapeRef.new(shape: CreatePackageRequest)
5593
+ o.output = Shapes::ShapeRef.new(shape: CreatePackageResponse)
5594
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5595
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
5596
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
5597
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
5598
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
5599
+ end)
5600
+
5601
+ api.add_operation(:create_package_version, Seahorse::Model::Operation.new.tap do |o|
5602
+ o.name = "CreatePackageVersion"
5603
+ o.http_method = "PUT"
5604
+ o.http_request_uri = "/packages/{packageName}/versions/{versionName}"
5605
+ o.input = Shapes::ShapeRef.new(shape: CreatePackageVersionRequest)
5606
+ o.output = Shapes::ShapeRef.new(shape: CreatePackageVersionResponse)
5607
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5608
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
5609
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
5610
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
5611
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
5612
+ end)
5613
+
5385
5614
  api.add_operation(:create_policy, Seahorse::Model::Operation.new.tap do |o|
5386
5615
  o.name = "CreatePolicy"
5387
5616
  o.http_method = "POST"
@@ -5788,6 +6017,28 @@ module Aws::IoT
5788
6017
  o.errors << Shapes::ShapeRef.new(shape: VersionConflictException)
5789
6018
  end)
5790
6019
 
6020
+ api.add_operation(:delete_package, Seahorse::Model::Operation.new.tap do |o|
6021
+ o.name = "DeletePackage"
6022
+ o.http_method = "DELETE"
6023
+ o.http_request_uri = "/packages/{packageName}"
6024
+ o.input = Shapes::ShapeRef.new(shape: DeletePackageRequest)
6025
+ o.output = Shapes::ShapeRef.new(shape: DeletePackageResponse)
6026
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6027
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
6028
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
6029
+ end)
6030
+
6031
+ api.add_operation(:delete_package_version, Seahorse::Model::Operation.new.tap do |o|
6032
+ o.name = "DeletePackageVersion"
6033
+ o.http_method = "DELETE"
6034
+ o.http_request_uri = "/packages/{packageName}/versions/{versionName}"
6035
+ o.input = Shapes::ShapeRef.new(shape: DeletePackageVersionRequest)
6036
+ o.output = Shapes::ShapeRef.new(shape: DeletePackageVersionResponse)
6037
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6038
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
6039
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
6040
+ end)
6041
+
5791
6042
  api.add_operation(:delete_policy, Seahorse::Model::Operation.new.tap do |o|
5792
6043
  o.name = "DeletePolicy"
5793
6044
  o.http_method = "DELETE"
@@ -6622,6 +6873,40 @@ module Aws::IoT
6622
6873
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6623
6874
  end)
6624
6875
 
6876
+ api.add_operation(:get_package, Seahorse::Model::Operation.new.tap do |o|
6877
+ o.name = "GetPackage"
6878
+ o.http_method = "GET"
6879
+ o.http_request_uri = "/packages/{packageName}"
6880
+ o.input = Shapes::ShapeRef.new(shape: GetPackageRequest)
6881
+ o.output = Shapes::ShapeRef.new(shape: GetPackageResponse)
6882
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6883
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
6884
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
6885
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6886
+ end)
6887
+
6888
+ api.add_operation(:get_package_configuration, Seahorse::Model::Operation.new.tap do |o|
6889
+ o.name = "GetPackageConfiguration"
6890
+ o.http_method = "GET"
6891
+ o.http_request_uri = "/package-configuration"
6892
+ o.input = Shapes::ShapeRef.new(shape: GetPackageConfigurationRequest)
6893
+ o.output = Shapes::ShapeRef.new(shape: GetPackageConfigurationResponse)
6894
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6895
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
6896
+ end)
6897
+
6898
+ api.add_operation(:get_package_version, Seahorse::Model::Operation.new.tap do |o|
6899
+ o.name = "GetPackageVersion"
6900
+ o.http_method = "GET"
6901
+ o.http_request_uri = "/packages/{packageName}/versions/{versionName}"
6902
+ o.input = Shapes::ShapeRef.new(shape: GetPackageVersionRequest)
6903
+ o.output = Shapes::ShapeRef.new(shape: GetPackageVersionResponse)
6904
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6905
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
6906
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
6907
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6908
+ end)
6909
+
6625
6910
  api.add_operation(:get_percentiles, Seahorse::Model::Operation.new.tap do |o|
6626
6911
  o.name = "GetPercentiles"
6627
6912
  o.http_method = "POST"
@@ -7237,6 +7522,40 @@ module Aws::IoT
7237
7522
  )
7238
7523
  end)
7239
7524
 
7525
+ api.add_operation(:list_package_versions, Seahorse::Model::Operation.new.tap do |o|
7526
+ o.name = "ListPackageVersions"
7527
+ o.http_method = "GET"
7528
+ o.http_request_uri = "/packages/{packageName}/versions"
7529
+ o.input = Shapes::ShapeRef.new(shape: ListPackageVersionsRequest)
7530
+ o.output = Shapes::ShapeRef.new(shape: ListPackageVersionsResponse)
7531
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7532
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
7533
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
7534
+ o[:pager] = Aws::Pager.new(
7535
+ limit_key: "max_results",
7536
+ tokens: {
7537
+ "next_token" => "next_token"
7538
+ }
7539
+ )
7540
+ end)
7541
+
7542
+ api.add_operation(:list_packages, Seahorse::Model::Operation.new.tap do |o|
7543
+ o.name = "ListPackages"
7544
+ o.http_method = "GET"
7545
+ o.http_request_uri = "/packages"
7546
+ o.input = Shapes::ShapeRef.new(shape: ListPackagesRequest)
7547
+ o.output = Shapes::ShapeRef.new(shape: ListPackagesResponse)
7548
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7549
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
7550
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
7551
+ o[:pager] = Aws::Pager.new(
7552
+ limit_key: "max_results",
7553
+ tokens: {
7554
+ "next_token" => "next_token"
7555
+ }
7556
+ )
7557
+ end)
7558
+
7240
7559
  api.add_operation(:list_policies, Seahorse::Model::Operation.new.tap do |o|
7241
7560
  o.name = "ListPolicies"
7242
7561
  o.http_method = "GET"
@@ -8313,6 +8632,41 @@ module Aws::IoT
8313
8632
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
8314
8633
  end)
8315
8634
 
8635
+ api.add_operation(:update_package, Seahorse::Model::Operation.new.tap do |o|
8636
+ o.name = "UpdatePackage"
8637
+ o.http_method = "PATCH"
8638
+ o.http_request_uri = "/packages/{packageName}"
8639
+ o.input = Shapes::ShapeRef.new(shape: UpdatePackageRequest)
8640
+ o.output = Shapes::ShapeRef.new(shape: UpdatePackageResponse)
8641
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
8642
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
8643
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
8644
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
8645
+ end)
8646
+
8647
+ api.add_operation(:update_package_configuration, Seahorse::Model::Operation.new.tap do |o|
8648
+ o.name = "UpdatePackageConfiguration"
8649
+ o.http_method = "PATCH"
8650
+ o.http_request_uri = "/package-configuration"
8651
+ o.input = Shapes::ShapeRef.new(shape: UpdatePackageConfigurationRequest)
8652
+ o.output = Shapes::ShapeRef.new(shape: UpdatePackageConfigurationResponse)
8653
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
8654
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
8655
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
8656
+ end)
8657
+
8658
+ api.add_operation(:update_package_version, Seahorse::Model::Operation.new.tap do |o|
8659
+ o.name = "UpdatePackageVersion"
8660
+ o.http_method = "PATCH"
8661
+ o.http_request_uri = "/packages/{packageName}/versions/{versionName}"
8662
+ o.input = Shapes::ShapeRef.new(shape: UpdatePackageVersionRequest)
8663
+ o.output = Shapes::ShapeRef.new(shape: UpdatePackageVersionResponse)
8664
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
8665
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
8666
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
8667
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
8668
+ end)
8669
+
8316
8670
  api.add_operation(:update_provisioning_template, Seahorse::Model::Operation.new.tap do |o|
8317
8671
  o.name = "UpdateProvisioningTemplate"
8318
8672
  o.http_method = "PATCH"