aws-sdk-iot 1.131.0 → 1.133.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +231 -5
- data/lib/aws-sdk-iot/client_api.rb +116 -0
- data/lib/aws-sdk-iot/endpoints.rb +33 -0
- data/lib/aws-sdk-iot/plugins/endpoints.rb +14 -5
- data/lib/aws-sdk-iot/types.rb +255 -7
- data/lib/aws-sdk-iot.rb +1 -1
- data/sig/client.rbs +73 -2
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +72 -3
- metadata +4 -4
@@ -63,6 +63,8 @@ module Aws::IoT
|
|
63
63
|
AssetPropertyValue = Shapes::StructureShape.new(name: 'AssetPropertyValue')
|
64
64
|
AssetPropertyValueList = Shapes::ListShape.new(name: 'AssetPropertyValueList')
|
65
65
|
AssetPropertyVariant = Shapes::StructureShape.new(name: 'AssetPropertyVariant')
|
66
|
+
AssociateSbomWithPackageVersionRequest = Shapes::StructureShape.new(name: 'AssociateSbomWithPackageVersionRequest')
|
67
|
+
AssociateSbomWithPackageVersionResponse = Shapes::StructureShape.new(name: 'AssociateSbomWithPackageVersionResponse')
|
66
68
|
AssociateTargetsWithJobRequest = Shapes::StructureShape.new(name: 'AssociateTargetsWithJobRequest')
|
67
69
|
AssociateTargetsWithJobResponse = Shapes::StructureShape.new(name: 'AssociateTargetsWithJobResponse')
|
68
70
|
AttachPolicyRequest = Shapes::StructureShape.new(name: 'AttachPolicyRequest')
|
@@ -145,6 +147,7 @@ module Aws::IoT
|
|
145
147
|
AwsJobTimeoutConfig = Shapes::StructureShape.new(name: 'AwsJobTimeoutConfig')
|
146
148
|
AwsJobTimeoutInProgressTimeoutInMinutes = Shapes::IntegerShape.new(name: 'AwsJobTimeoutInProgressTimeoutInMinutes')
|
147
149
|
BatchMode = Shapes::BooleanShape.new(name: 'BatchMode')
|
150
|
+
BeforeSubstitutionFlag = Shapes::BooleanShape.new(name: 'BeforeSubstitutionFlag')
|
148
151
|
Behavior = Shapes::StructureShape.new(name: 'Behavior')
|
149
152
|
BehaviorCriteria = Shapes::StructureShape.new(name: 'BehaviorCriteria')
|
150
153
|
BehaviorCriteriaType = Shapes::StringShape.new(name: 'BehaviorCriteriaType')
|
@@ -490,6 +493,8 @@ module Aws::IoT
|
|
490
493
|
DimensionValueOperator = Shapes::StringShape.new(name: 'DimensionValueOperator')
|
491
494
|
DisableAllLogs = Shapes::BooleanShape.new(name: 'DisableAllLogs')
|
492
495
|
DisableTopicRuleRequest = Shapes::StructureShape.new(name: 'DisableTopicRuleRequest')
|
496
|
+
DisassociateSbomFromPackageVersionRequest = Shapes::StructureShape.new(name: 'DisassociateSbomFromPackageVersionRequest')
|
497
|
+
DisassociateSbomFromPackageVersionResponse = Shapes::StructureShape.new(name: 'DisassociateSbomFromPackageVersionResponse')
|
493
498
|
DisconnectReason = Shapes::StringShape.new(name: 'DisconnectReason')
|
494
499
|
DocumentParameter = Shapes::StructureShape.new(name: 'DocumentParameter')
|
495
500
|
DocumentParameters = Shapes::ListShape.new(name: 'DocumentParameters')
|
@@ -782,6 +787,8 @@ module Aws::IoT
|
|
782
787
|
ListRelatedResourcesForAuditFindingResponse = Shapes::StructureShape.new(name: 'ListRelatedResourcesForAuditFindingResponse')
|
783
788
|
ListRoleAliasesRequest = Shapes::StructureShape.new(name: 'ListRoleAliasesRequest')
|
784
789
|
ListRoleAliasesResponse = Shapes::StructureShape.new(name: 'ListRoleAliasesResponse')
|
790
|
+
ListSbomValidationResultsRequest = Shapes::StructureShape.new(name: 'ListSbomValidationResultsRequest')
|
791
|
+
ListSbomValidationResultsResponse = Shapes::StructureShape.new(name: 'ListSbomValidationResultsResponse')
|
785
792
|
ListScheduledAuditsRequest = Shapes::StructureShape.new(name: 'ListScheduledAuditsRequest')
|
786
793
|
ListScheduledAuditsResponse = Shapes::StructureShape.new(name: 'ListScheduledAuditsResponse')
|
787
794
|
ListSecurityProfilesForTargetRequest = Shapes::StructureShape.new(name: 'ListSecurityProfilesForTargetRequest')
|
@@ -919,7 +926,9 @@ module Aws::IoT
|
|
919
926
|
PackageSummaryList = Shapes::ListShape.new(name: 'PackageSummaryList')
|
920
927
|
PackageVersionAction = Shapes::StringShape.new(name: 'PackageVersionAction')
|
921
928
|
PackageVersionArn = Shapes::StringShape.new(name: 'PackageVersionArn')
|
929
|
+
PackageVersionArtifact = Shapes::StructureShape.new(name: 'PackageVersionArtifact')
|
922
930
|
PackageVersionErrorReason = Shapes::StringShape.new(name: 'PackageVersionErrorReason')
|
931
|
+
PackageVersionRecipe = Shapes::StringShape.new(name: 'PackageVersionRecipe')
|
923
932
|
PackageVersionStatus = Shapes::StringShape.new(name: 'PackageVersionStatus')
|
924
933
|
PackageVersionSummary = Shapes::StructureShape.new(name: 'PackageVersionSummary')
|
925
934
|
PackageVersionSummaryList = Shapes::ListShape.new(name: 'PackageVersionSummaryList')
|
@@ -1068,6 +1077,13 @@ module Aws::IoT
|
|
1068
1077
|
SalesforceAction = Shapes::StructureShape.new(name: 'SalesforceAction')
|
1069
1078
|
SalesforceEndpoint = Shapes::StringShape.new(name: 'SalesforceEndpoint')
|
1070
1079
|
SalesforceToken = Shapes::StringShape.new(name: 'SalesforceToken')
|
1080
|
+
Sbom = Shapes::StructureShape.new(name: 'Sbom')
|
1081
|
+
SbomValidationErrorCode = Shapes::StringShape.new(name: 'SbomValidationErrorCode')
|
1082
|
+
SbomValidationErrorMessage = Shapes::StringShape.new(name: 'SbomValidationErrorMessage')
|
1083
|
+
SbomValidationResult = Shapes::StringShape.new(name: 'SbomValidationResult')
|
1084
|
+
SbomValidationResultSummary = Shapes::StructureShape.new(name: 'SbomValidationResultSummary')
|
1085
|
+
SbomValidationResultSummaryList = Shapes::ListShape.new(name: 'SbomValidationResultSummaryList')
|
1086
|
+
SbomValidationStatus = Shapes::StringShape.new(name: 'SbomValidationStatus')
|
1071
1087
|
ScheduledAuditArn = Shapes::StringShape.new(name: 'ScheduledAuditArn')
|
1072
1088
|
ScheduledAuditMetadata = Shapes::StructureShape.new(name: 'ScheduledAuditMetadata')
|
1073
1089
|
ScheduledAuditMetadataList = Shapes::ListShape.new(name: 'ScheduledAuditMetadataList')
|
@@ -1494,6 +1510,18 @@ module Aws::IoT
|
|
1494
1510
|
AssetPropertyVariant.add_member(:boolean_value, Shapes::ShapeRef.new(shape: AssetPropertyBooleanValue, location_name: "booleanValue"))
|
1495
1511
|
AssetPropertyVariant.struct_class = Types::AssetPropertyVariant
|
1496
1512
|
|
1513
|
+
AssociateSbomWithPackageVersionRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "uri", location_name: "packageName"))
|
1514
|
+
AssociateSbomWithPackageVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
|
1515
|
+
AssociateSbomWithPackageVersionRequest.add_member(:sbom, Shapes::ShapeRef.new(shape: Sbom, required: true, location_name: "sbom"))
|
1516
|
+
AssociateSbomWithPackageVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1517
|
+
AssociateSbomWithPackageVersionRequest.struct_class = Types::AssociateSbomWithPackageVersionRequest
|
1518
|
+
|
1519
|
+
AssociateSbomWithPackageVersionResponse.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, location_name: "packageName"))
|
1520
|
+
AssociateSbomWithPackageVersionResponse.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "versionName"))
|
1521
|
+
AssociateSbomWithPackageVersionResponse.add_member(:sbom, Shapes::ShapeRef.new(shape: Sbom, location_name: "sbom"))
|
1522
|
+
AssociateSbomWithPackageVersionResponse.add_member(:sbom_validation_status, Shapes::ShapeRef.new(shape: SbomValidationStatus, location_name: "sbomValidationStatus"))
|
1523
|
+
AssociateSbomWithPackageVersionResponse.struct_class = Types::AssociateSbomWithPackageVersionResponse
|
1524
|
+
|
1497
1525
|
AssociateTargetsWithJobRequest.add_member(:targets, Shapes::ShapeRef.new(shape: JobTargets, required: true, location_name: "targets"))
|
1498
1526
|
AssociateTargetsWithJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
|
1499
1527
|
AssociateTargetsWithJobRequest.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "comment"))
|
@@ -2120,6 +2148,8 @@ module Aws::IoT
|
|
2120
2148
|
CreatePackageVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
|
2121
2149
|
CreatePackageVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
|
2122
2150
|
CreatePackageVersionRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: ResourceAttributes, location_name: "attributes"))
|
2151
|
+
CreatePackageVersionRequest.add_member(:artifact, Shapes::ShapeRef.new(shape: PackageVersionArtifact, location_name: "artifact"))
|
2152
|
+
CreatePackageVersionRequest.add_member(:recipe, Shapes::ShapeRef.new(shape: PackageVersionRecipe, location_name: "recipe"))
|
2123
2153
|
CreatePackageVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
2124
2154
|
CreatePackageVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
2125
2155
|
CreatePackageVersionRequest.struct_class = Types::CreatePackageVersionRequest
|
@@ -2660,6 +2690,7 @@ module Aws::IoT
|
|
2660
2690
|
DescribeJobExecutionResponse.struct_class = Types::DescribeJobExecutionResponse
|
2661
2691
|
|
2662
2692
|
DescribeJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
|
2693
|
+
DescribeJobRequest.add_member(:before_substitution, Shapes::ShapeRef.new(shape: BeforeSubstitutionFlag, location: "querystring", location_name: "beforeSubstitution"))
|
2663
2694
|
DescribeJobRequest.struct_class = Types::DescribeJobRequest
|
2664
2695
|
|
2665
2696
|
DescribeJobResponse.add_member(:document_source, Shapes::ShapeRef.new(shape: JobDocumentSource, location_name: "documentSource"))
|
@@ -2904,6 +2935,13 @@ module Aws::IoT
|
|
2904
2935
|
DisableTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
|
2905
2936
|
DisableTopicRuleRequest.struct_class = Types::DisableTopicRuleRequest
|
2906
2937
|
|
2938
|
+
DisassociateSbomFromPackageVersionRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "uri", location_name: "packageName"))
|
2939
|
+
DisassociateSbomFromPackageVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
|
2940
|
+
DisassociateSbomFromPackageVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
2941
|
+
DisassociateSbomFromPackageVersionRequest.struct_class = Types::DisassociateSbomFromPackageVersionRequest
|
2942
|
+
|
2943
|
+
DisassociateSbomFromPackageVersionResponse.struct_class = Types::DisassociateSbomFromPackageVersionResponse
|
2944
|
+
|
2907
2945
|
DocumentParameter.add_member(:key, Shapes::ShapeRef.new(shape: ParameterKey, location_name: "key"))
|
2908
2946
|
DocumentParameter.add_member(:description, Shapes::ShapeRef.new(shape: JobDescription, location_name: "description"))
|
2909
2947
|
DocumentParameter.add_member(:regex, Shapes::ShapeRef.new(shape: Regex, location_name: "regex"))
|
@@ -3048,6 +3086,7 @@ module Aws::IoT
|
|
3048
3086
|
GetIndexingConfigurationResponse.struct_class = Types::GetIndexingConfigurationResponse
|
3049
3087
|
|
3050
3088
|
GetJobDocumentRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
|
3089
|
+
GetJobDocumentRequest.add_member(:before_substitution, Shapes::ShapeRef.new(shape: BeforeSubstitutionFlag, location: "querystring", location_name: "beforeSubstitution"))
|
3051
3090
|
GetJobDocumentRequest.struct_class = Types::GetJobDocumentRequest
|
3052
3091
|
|
3053
3092
|
GetJobDocumentResponse.add_member(:document, Shapes::ShapeRef.new(shape: JobDocument, location_name: "document"))
|
@@ -3090,10 +3129,14 @@ module Aws::IoT
|
|
3090
3129
|
GetPackageVersionResponse.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "versionName"))
|
3091
3130
|
GetPackageVersionResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
|
3092
3131
|
GetPackageVersionResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: ResourceAttributes, location_name: "attributes"))
|
3132
|
+
GetPackageVersionResponse.add_member(:artifact, Shapes::ShapeRef.new(shape: PackageVersionArtifact, location_name: "artifact"))
|
3093
3133
|
GetPackageVersionResponse.add_member(:status, Shapes::ShapeRef.new(shape: PackageVersionStatus, location_name: "status"))
|
3094
3134
|
GetPackageVersionResponse.add_member(:error_reason, Shapes::ShapeRef.new(shape: PackageVersionErrorReason, location_name: "errorReason"))
|
3095
3135
|
GetPackageVersionResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
|
3096
3136
|
GetPackageVersionResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
|
3137
|
+
GetPackageVersionResponse.add_member(:sbom, Shapes::ShapeRef.new(shape: Sbom, location_name: "sbom"))
|
3138
|
+
GetPackageVersionResponse.add_member(:sbom_validation_status, Shapes::ShapeRef.new(shape: SbomValidationStatus, location_name: "sbomValidationStatus"))
|
3139
|
+
GetPackageVersionResponse.add_member(:recipe, Shapes::ShapeRef.new(shape: PackageVersionRecipe, location_name: "recipe"))
|
3097
3140
|
GetPackageVersionResponse.struct_class = Types::GetPackageVersionResponse
|
3098
3141
|
|
3099
3142
|
GetPercentilesRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
|
@@ -3785,6 +3828,17 @@ module Aws::IoT
|
|
3785
3828
|
ListRoleAliasesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
|
3786
3829
|
ListRoleAliasesResponse.struct_class = Types::ListRoleAliasesResponse
|
3787
3830
|
|
3831
|
+
ListSbomValidationResultsRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "uri", location_name: "packageName"))
|
3832
|
+
ListSbomValidationResultsRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
|
3833
|
+
ListSbomValidationResultsRequest.add_member(:validation_result, Shapes::ShapeRef.new(shape: SbomValidationResult, location: "querystring", location_name: "validationResult"))
|
3834
|
+
ListSbomValidationResultsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PackageCatalogMaxResults, location: "querystring", location_name: "maxResults"))
|
3835
|
+
ListSbomValidationResultsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
3836
|
+
ListSbomValidationResultsRequest.struct_class = Types::ListSbomValidationResultsRequest
|
3837
|
+
|
3838
|
+
ListSbomValidationResultsResponse.add_member(:validation_result_summaries, Shapes::ShapeRef.new(shape: SbomValidationResultSummaryList, location_name: "validationResultSummaries"))
|
3839
|
+
ListSbomValidationResultsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
3840
|
+
ListSbomValidationResultsResponse.struct_class = Types::ListSbomValidationResultsResponse
|
3841
|
+
|
3788
3842
|
ListScheduledAuditsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
3789
3843
|
ListScheduledAuditsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
3790
3844
|
ListScheduledAuditsRequest.struct_class = Types::ListScheduledAuditsRequest
|
@@ -4167,6 +4221,9 @@ module Aws::IoT
|
|
4167
4221
|
|
4168
4222
|
PackageSummaryList.member = Shapes::ShapeRef.new(shape: PackageSummary)
|
4169
4223
|
|
4224
|
+
PackageVersionArtifact.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
|
4225
|
+
PackageVersionArtifact.struct_class = Types::PackageVersionArtifact
|
4226
|
+
|
4170
4227
|
PackageVersionSummary.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, location_name: "packageName"))
|
4171
4228
|
PackageVersionSummary.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "versionName"))
|
4172
4229
|
PackageVersionSummary.add_member(:status, Shapes::ShapeRef.new(shape: PackageVersionStatus, location_name: "status"))
|
@@ -4436,6 +4493,17 @@ module Aws::IoT
|
|
4436
4493
|
SalesforceAction.add_member(:url, Shapes::ShapeRef.new(shape: SalesforceEndpoint, required: true, location_name: "url"))
|
4437
4494
|
SalesforceAction.struct_class = Types::SalesforceAction
|
4438
4495
|
|
4496
|
+
Sbom.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
|
4497
|
+
Sbom.struct_class = Types::Sbom
|
4498
|
+
|
4499
|
+
SbomValidationResultSummary.add_member(:file_name, Shapes::ShapeRef.new(shape: FileName, location_name: "fileName"))
|
4500
|
+
SbomValidationResultSummary.add_member(:validation_result, Shapes::ShapeRef.new(shape: SbomValidationResult, location_name: "validationResult"))
|
4501
|
+
SbomValidationResultSummary.add_member(:error_code, Shapes::ShapeRef.new(shape: SbomValidationErrorCode, location_name: "errorCode"))
|
4502
|
+
SbomValidationResultSummary.add_member(:error_message, Shapes::ShapeRef.new(shape: SbomValidationErrorMessage, location_name: "errorMessage"))
|
4503
|
+
SbomValidationResultSummary.struct_class = Types::SbomValidationResultSummary
|
4504
|
+
|
4505
|
+
SbomValidationResultSummaryList.member = Shapes::ShapeRef.new(shape: SbomValidationResultSummary)
|
4506
|
+
|
4439
4507
|
ScheduledAuditMetadata.add_member(:scheduled_audit_name, Shapes::ShapeRef.new(shape: ScheduledAuditName, location_name: "scheduledAuditName"))
|
4440
4508
|
ScheduledAuditMetadata.add_member(:scheduled_audit_arn, Shapes::ShapeRef.new(shape: ScheduledAuditArn, location_name: "scheduledAuditArn"))
|
4441
4509
|
ScheduledAuditMetadata.add_member(:frequency, Shapes::ShapeRef.new(shape: AuditFrequency, location_name: "frequency"))
|
@@ -5092,7 +5160,9 @@ module Aws::IoT
|
|
5092
5160
|
UpdatePackageVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
|
5093
5161
|
UpdatePackageVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
|
5094
5162
|
UpdatePackageVersionRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: ResourceAttributes, location_name: "attributes"))
|
5163
|
+
UpdatePackageVersionRequest.add_member(:artifact, Shapes::ShapeRef.new(shape: PackageVersionArtifact, location_name: "artifact"))
|
5095
5164
|
UpdatePackageVersionRequest.add_member(:action, Shapes::ShapeRef.new(shape: PackageVersionAction, location_name: "action"))
|
5165
|
+
UpdatePackageVersionRequest.add_member(:recipe, Shapes::ShapeRef.new(shape: PackageVersionRecipe, location_name: "recipe"))
|
5096
5166
|
UpdatePackageVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
5097
5167
|
UpdatePackageVersionRequest.struct_class = Types::UpdatePackageVersionRequest
|
5098
5168
|
|
@@ -5326,6 +5396,20 @@ module Aws::IoT
|
|
5326
5396
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
5327
5397
|
end)
|
5328
5398
|
|
5399
|
+
api.add_operation(:associate_sbom_with_package_version, Seahorse::Model::Operation.new.tap do |o|
|
5400
|
+
o.name = "AssociateSbomWithPackageVersion"
|
5401
|
+
o.http_method = "PUT"
|
5402
|
+
o.http_request_uri = "/packages/{packageName}/versions/{versionName}/sbom"
|
5403
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateSbomWithPackageVersionRequest)
|
5404
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateSbomWithPackageVersionResponse)
|
5405
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5406
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
5407
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
5408
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
5409
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
5410
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
5411
|
+
end)
|
5412
|
+
|
5329
5413
|
api.add_operation(:associate_targets_with_job, Seahorse::Model::Operation.new.tap do |o|
|
5330
5414
|
o.name = "AssociateTargetsWithJob"
|
5331
5415
|
o.http_method = "POST"
|
@@ -6904,6 +6988,19 @@ module Aws::IoT
|
|
6904
6988
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingResourceUpdateException)
|
6905
6989
|
end)
|
6906
6990
|
|
6991
|
+
api.add_operation(:disassociate_sbom_from_package_version, Seahorse::Model::Operation.new.tap do |o|
|
6992
|
+
o.name = "DisassociateSbomFromPackageVersion"
|
6993
|
+
o.http_method = "DELETE"
|
6994
|
+
o.http_request_uri = "/packages/{packageName}/versions/{versionName}/sbom"
|
6995
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateSbomFromPackageVersionRequest)
|
6996
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateSbomFromPackageVersionResponse)
|
6997
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
6998
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
6999
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
7000
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
7001
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
7002
|
+
end)
|
7003
|
+
|
6907
7004
|
api.add_operation(:enable_topic_rule, Seahorse::Model::Operation.new.tap do |o|
|
6908
7005
|
o.name = "EnableTopicRule"
|
6909
7006
|
o.http_method = "POST"
|
@@ -7899,6 +7996,24 @@ module Aws::IoT
|
|
7899
7996
|
)
|
7900
7997
|
end)
|
7901
7998
|
|
7999
|
+
api.add_operation(:list_sbom_validation_results, Seahorse::Model::Operation.new.tap do |o|
|
8000
|
+
o.name = "ListSbomValidationResults"
|
8001
|
+
o.http_method = "GET"
|
8002
|
+
o.http_request_uri = "/packages/{packageName}/versions/{versionName}/sbom-validation-results"
|
8003
|
+
o.input = Shapes::ShapeRef.new(shape: ListSbomValidationResultsRequest)
|
8004
|
+
o.output = Shapes::ShapeRef.new(shape: ListSbomValidationResultsResponse)
|
8005
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
8006
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
8007
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
8008
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
8009
|
+
o[:pager] = Aws::Pager.new(
|
8010
|
+
limit_key: "max_results",
|
8011
|
+
tokens: {
|
8012
|
+
"next_token" => "next_token"
|
8013
|
+
}
|
8014
|
+
)
|
8015
|
+
end)
|
8016
|
+
|
7902
8017
|
api.add_operation(:list_scheduled_audits, Seahorse::Model::Operation.new.tap do |o|
|
7903
8018
|
o.name = "ListScheduledAudits"
|
7904
8019
|
o.http_method = "GET"
|
@@ -8917,6 +9032,7 @@ module Aws::IoT
|
|
8917
9032
|
o.input = Shapes::ShapeRef.new(shape: UpdateStreamRequest)
|
8918
9033
|
o.output = Shapes::ShapeRef.new(shape: UpdateStreamResponse)
|
8919
9034
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
9035
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
8920
9036
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
8921
9037
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
8922
9038
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
@@ -45,6 +45,17 @@ module Aws::IoT
|
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
+
class AssociateSbomWithPackageVersion
|
49
|
+
def self.build(context)
|
50
|
+
Aws::IoT::EndpointParameters.new(
|
51
|
+
region: context.config.region,
|
52
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
53
|
+
use_fips: context.config.use_fips_endpoint,
|
54
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
55
|
+
)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
48
59
|
class AssociateTargetsWithJob
|
49
60
|
def self.build(context)
|
50
61
|
Aws::IoT::EndpointParameters.new(
|
@@ -1343,6 +1354,17 @@ module Aws::IoT
|
|
1343
1354
|
end
|
1344
1355
|
end
|
1345
1356
|
|
1357
|
+
class DisassociateSbomFromPackageVersion
|
1358
|
+
def self.build(context)
|
1359
|
+
Aws::IoT::EndpointParameters.new(
|
1360
|
+
region: context.config.region,
|
1361
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1362
|
+
use_fips: context.config.use_fips_endpoint,
|
1363
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1364
|
+
)
|
1365
|
+
end
|
1366
|
+
end
|
1367
|
+
|
1346
1368
|
class EnableTopicRule
|
1347
1369
|
def self.build(context)
|
1348
1370
|
Aws::IoT::EndpointParameters.new(
|
@@ -2003,6 +2025,17 @@ module Aws::IoT
|
|
2003
2025
|
end
|
2004
2026
|
end
|
2005
2027
|
|
2028
|
+
class ListSbomValidationResults
|
2029
|
+
def self.build(context)
|
2030
|
+
Aws::IoT::EndpointParameters.new(
|
2031
|
+
region: context.config.region,
|
2032
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
2033
|
+
use_fips: context.config.use_fips_endpoint,
|
2034
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2035
|
+
)
|
2036
|
+
end
|
2037
|
+
end
|
2038
|
+
|
2006
2039
|
class ListScheduledAudits
|
2007
2040
|
def self.build(context)
|
2008
2041
|
Aws::IoT::EndpointParameters.new(
|
@@ -15,11 +15,11 @@ module Aws::IoT
|
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::IoT::EndpointProvider',
|
17
17
|
rbs_type: 'untyped',
|
18
|
-
docstring:
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
18
|
+
docstring: <<~DOCS) do |_cfg|
|
19
|
+
The endpoint provider used to resolve endpoints. Any object that responds to
|
20
|
+
`#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
21
|
+
`Aws::IoT::EndpointParameters`.
|
22
|
+
DOCS
|
23
23
|
Aws::IoT::EndpointProvider.new
|
24
24
|
end
|
25
25
|
|
@@ -51,6 +51,9 @@ module Aws::IoT
|
|
51
51
|
if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
|
52
52
|
metrics << 'SIGV4A_SIGNING'
|
53
53
|
end
|
54
|
+
if context.config.credentials&.credentials&.account_id
|
55
|
+
metrics << 'RESOLVED_ACCOUNT_ID'
|
56
|
+
end
|
54
57
|
Aws::Plugins::UserAgent.metric(*metrics, &block)
|
55
58
|
end
|
56
59
|
|
@@ -73,6 +76,8 @@ module Aws::IoT
|
|
73
76
|
Aws::IoT::Endpoints::AddThingToBillingGroup.build(context)
|
74
77
|
when :add_thing_to_thing_group
|
75
78
|
Aws::IoT::Endpoints::AddThingToThingGroup.build(context)
|
79
|
+
when :associate_sbom_with_package_version
|
80
|
+
Aws::IoT::Endpoints::AssociateSbomWithPackageVersion.build(context)
|
76
81
|
when :associate_targets_with_job
|
77
82
|
Aws::IoT::Endpoints::AssociateTargetsWithJob.build(context)
|
78
83
|
when :attach_policy
|
@@ -309,6 +314,8 @@ module Aws::IoT
|
|
309
314
|
Aws::IoT::Endpoints::DetachThingPrincipal.build(context)
|
310
315
|
when :disable_topic_rule
|
311
316
|
Aws::IoT::Endpoints::DisableTopicRule.build(context)
|
317
|
+
when :disassociate_sbom_from_package_version
|
318
|
+
Aws::IoT::Endpoints::DisassociateSbomFromPackageVersion.build(context)
|
312
319
|
when :enable_topic_rule
|
313
320
|
Aws::IoT::Endpoints::EnableTopicRule.build(context)
|
314
321
|
when :get_behavior_model_training_summaries
|
@@ -429,6 +436,8 @@ module Aws::IoT
|
|
429
436
|
Aws::IoT::Endpoints::ListRelatedResourcesForAuditFinding.build(context)
|
430
437
|
when :list_role_aliases
|
431
438
|
Aws::IoT::Endpoints::ListRoleAliases.build(context)
|
439
|
+
when :list_sbom_validation_results
|
440
|
+
Aws::IoT::Endpoints::ListSbomValidationResults.build(context)
|
432
441
|
when :list_scheduled_audits
|
433
442
|
Aws::IoT::Endpoints::ListScheduledAudits.build(context)
|
434
443
|
when :list_security_profiles
|