aws-sdk-artifact 1.40.0 → 1.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43e451c1962aa451ae7c316e510689af920709e418259251479067f014ce2602
4
- data.tar.gz: 559bfb015d23f24f88b684d6b163f20593bc5b1711b1362ba4d7079771749ae1
3
+ metadata.gz: 4b2002617927044ea84e00596f476c2175c7defdacc7577eec70f75d040929d3
4
+ data.tar.gz: 9ef63baaf4a5f7319b082f41eef3b100f6c41774d8227911c9fcc50f713b0b1f
5
5
  SHA512:
6
- metadata.gz: 9cdf4d1b9774cd4e6e3d79d70b3a52d0be4498e683bca312045e4bad6b588d1ad2f8f7a293747416e262e67898d718463ffe7926395ff8aa7a9fb209fea14432
7
- data.tar.gz: 7bd64661d5e455236b426b63dcb0f0a005395f66bb5b7a41da1df691b302eb875d7054af77fcf3c2c7ac5a2645222fc2636a2e491e9e8f4a521cd911a3a0c144
6
+ metadata.gz: d4c060dc93519cf9cbfdc5629a855986e5e11eddfc5c1cb1dd228d0cb14592a58ca9a88e51706268f2f913509ba05b2b464c6139cd6f918cbdcdb08b56db0802
7
+ data.tar.gz: 004baea9cb77bb27afa7bf136492f3f87a8e39d1241f561f0f7155692dbe708c7072b478988b8fe742c173b07239805edaab275bf8fc10bb1bec0fc719c2ff77
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.41.0 (2026-07-24)
5
+ ------------------
6
+
7
+ * Feature - Added the PutComplianceInquiryFeedback API, enabling customers to submit feedback on compliance inquiry responses. Customers can rate responses as helpful or not helpful and provide optional reason codes and comments.
8
+
4
9
  1.40.0 (2026-07-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.40.0
1
+ 1.41.0
@@ -531,7 +531,7 @@ module Aws::Artifact
531
531
  # @example Request syntax with placeholder values
532
532
  #
533
533
  # resp = client.create_compliance_inquiry({
534
- # name: "String", # required
534
+ # name: "InquiryName", # required
535
535
  # inquiry_content: { # required
536
536
  # query: "LongStringAttribute",
537
537
  # file_content: {
@@ -1383,6 +1383,67 @@ module Aws::Artifact
1383
1383
  req.send_request(options)
1384
1384
  end
1385
1385
 
1386
+ # Submits feedback on a compliance inquiry response.
1387
+ #
1388
+ # @option params [required, String] :compliance_inquiry_id
1389
+ # The unique identifier for the compliance inquiry.
1390
+ #
1391
+ # @option params [Integer] :query_identifier
1392
+ # The sequential identifier of the query to provide feedback on.
1393
+ #
1394
+ # @option params [required, String] :rating
1395
+ # The rating for the feedback. Valid values are THUMBS\_UP and
1396
+ # THUMBS\_DOWN.
1397
+ #
1398
+ # @option params [Integer] :response_revision_id
1399
+ # The response revision ID. Use this value to prevent submitting
1400
+ # feedback on a stale response.
1401
+ #
1402
+ # @option params [Array<String>] :reason_codes
1403
+ # The reason codes that describe why you rated the response. Valid
1404
+ # values are OTHER, PARTIAL\_RESPONSE, and IRRELEVANT\_RESPONSE.
1405
+ #
1406
+ # @option params [String] :comment
1407
+ # An optional comment for the feedback.
1408
+ #
1409
+ # @option params [String] :client_token
1410
+ # A unique, case-sensitive identifier to ensure that the operation
1411
+ # completes no more than one time. If this token matches a previous
1412
+ # request, the service ignores the request, but does not return an
1413
+ # error.
1414
+ #
1415
+ # **A suitable default value is auto-generated.** You should normally
1416
+ # not need to pass this option.**
1417
+ #
1418
+ # @return [Types::PutComplianceInquiryFeedbackResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1419
+ #
1420
+ # * {Types::PutComplianceInquiryFeedbackResponse#submitted_at #submitted_at} => Time
1421
+ #
1422
+ # @example Request syntax with placeholder values
1423
+ #
1424
+ # resp = client.put_compliance_inquiry_feedback({
1425
+ # compliance_inquiry_id: "InquiryId", # required
1426
+ # query_identifier: 1,
1427
+ # rating: "THUMBS_UP", # required, accepts THUMBS_UP, THUMBS_DOWN
1428
+ # response_revision_id: 1,
1429
+ # reason_codes: ["OTHER"], # accepts OTHER, PARTIAL_RESPONSE, IRRELEVANT_RESPONSE
1430
+ # comment: "FeedbackCommentAttribute",
1431
+ # client_token: "IdempotentClientToken",
1432
+ # })
1433
+ #
1434
+ # @example Response structure
1435
+ #
1436
+ # resp.submitted_at #=> Time
1437
+ #
1438
+ # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/PutComplianceInquiryFeedback AWS API Documentation
1439
+ #
1440
+ # @overload put_compliance_inquiry_feedback(params = {})
1441
+ # @param [Hash] params ({})
1442
+ def put_compliance_inquiry_feedback(params = {}, options = {})
1443
+ req = build_request(:put_compliance_inquiry_feedback, params)
1444
+ req.send_request(options)
1445
+ end
1446
+
1386
1447
  # Add tags to a resource.
1387
1448
  #
1388
1449
  # @option params [required, String] :resource_arn
@@ -1455,7 +1516,7 @@ module Aws::Artifact
1455
1516
  tracer: tracer
1456
1517
  )
1457
1518
  context[:gem_name] = 'aws-sdk-artifact'
1458
- context[:gem_version] = '1.40.0'
1519
+ context[:gem_version] = '1.41.0'
1459
1520
  Seahorse::Client::Request.new(handlers, context)
1460
1521
  end
1461
1522
 
@@ -32,6 +32,10 @@ module Aws::Artifact
32
32
  CustomerAgreementSummary = Shapes::StructureShape.new(name: 'CustomerAgreementSummary')
33
33
  ExportComplianceInquiryRequest = Shapes::StructureShape.new(name: 'ExportComplianceInquiryRequest')
34
34
  ExportComplianceInquiryResponse = Shapes::StructureShape.new(name: 'ExportComplianceInquiryResponse')
35
+ FeedbackCommentAttribute = Shapes::StringShape.new(name: 'FeedbackCommentAttribute')
36
+ FeedbackRating = Shapes::StringShape.new(name: 'FeedbackRating')
37
+ FeedbackReasonCode = Shapes::StringShape.new(name: 'FeedbackReasonCode')
38
+ FeedbackReasonCodeList = Shapes::ListShape.new(name: 'FeedbackReasonCodeList')
35
39
  GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
36
40
  GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
37
41
  GetComplianceInquiryMetadataRequest = Shapes::StructureShape.new(name: 'GetComplianceInquiryMetadataRequest')
@@ -52,6 +56,7 @@ module Aws::Artifact
52
56
  InquiryFileContent = Shapes::StructureShape.new(name: 'InquiryFileContent')
53
57
  InquiryFileContentFileSectionsList = Shapes::ListShape.new(name: 'InquiryFileContentFileSectionsList')
54
58
  InquiryId = Shapes::StringShape.new(name: 'InquiryId')
59
+ InquiryName = Shapes::StringShape.new(name: 'InquiryName')
55
60
  InquiryStatus = Shapes::StringShape.new(name: 'InquiryStatus')
56
61
  InquiryStatusMessage = Shapes::StringShape.new(name: 'InquiryStatusMessage')
57
62
  InquirySummary = Shapes::StructureShape.new(name: 'InquirySummary')
@@ -78,6 +83,8 @@ module Aws::Artifact
78
83
  PublishedState = Shapes::StringShape.new(name: 'PublishedState')
79
84
  PutAccountSettingsRequest = Shapes::StructureShape.new(name: 'PutAccountSettingsRequest')
80
85
  PutAccountSettingsResponse = Shapes::StructureShape.new(name: 'PutAccountSettingsResponse')
86
+ PutComplianceInquiryFeedbackRequest = Shapes::StructureShape.new(name: 'PutComplianceInquiryFeedbackRequest')
87
+ PutComplianceInquiryFeedbackResponse = Shapes::StructureShape.new(name: 'PutComplianceInquiryFeedbackResponse')
81
88
  QueriesList = Shapes::ListShape.new(name: 'QueriesList')
82
89
  QueryIdentifiersList = Shapes::ListShape.new(name: 'QueryIdentifiersList')
83
90
  QueryStatus = Shapes::StringShape.new(name: 'QueryStatus')
@@ -133,7 +140,7 @@ module Aws::Artifact
133
140
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
134
141
  ConflictException.struct_class = Types::ConflictException
135
142
 
136
- CreateComplianceInquiryRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
143
+ CreateComplianceInquiryRequest.add_member(:name, Shapes::ShapeRef.new(shape: InquiryName, required: true, location_name: "name"))
137
144
  CreateComplianceInquiryRequest.add_member(:inquiry_content, Shapes::ShapeRef.new(shape: InquiryContent, required: true, location_name: "inquiryContent"))
138
145
  CreateComplianceInquiryRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotentClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
139
146
  CreateComplianceInquiryRequest.add_member(:support_mode, Shapes::ShapeRef.new(shape: InquirySupportMode, location_name: "supportMode"))
@@ -170,6 +177,8 @@ module Aws::Artifact
170
177
  ExportComplianceInquiryResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
171
178
  ExportComplianceInquiryResponse.struct_class = Types::ExportComplianceInquiryResponse
172
179
 
180
+ FeedbackReasonCodeList.member = Shapes::ShapeRef.new(shape: FeedbackReasonCode)
181
+
173
182
  GetAccountSettingsRequest.struct_class = Types::GetAccountSettingsRequest
174
183
 
175
184
  GetAccountSettingsResponse.add_member(:account_settings, Shapes::ShapeRef.new(shape: AccountSettings, location_name: "accountSettings"))
@@ -299,6 +308,18 @@ module Aws::Artifact
299
308
  PutAccountSettingsResponse.add_member(:account_settings, Shapes::ShapeRef.new(shape: AccountSettings, location_name: "accountSettings"))
300
309
  PutAccountSettingsResponse.struct_class = Types::PutAccountSettingsResponse
301
310
 
311
+ PutComplianceInquiryFeedbackRequest.add_member(:compliance_inquiry_id, Shapes::ShapeRef.new(shape: InquiryId, required: true, location_name: "complianceInquiryId"))
312
+ PutComplianceInquiryFeedbackRequest.add_member(:query_identifier, Shapes::ShapeRef.new(shape: Integer, location_name: "queryIdentifier"))
313
+ PutComplianceInquiryFeedbackRequest.add_member(:rating, Shapes::ShapeRef.new(shape: FeedbackRating, required: true, location_name: "rating"))
314
+ PutComplianceInquiryFeedbackRequest.add_member(:response_revision_id, Shapes::ShapeRef.new(shape: Integer, location_name: "responseRevisionId"))
315
+ PutComplianceInquiryFeedbackRequest.add_member(:reason_codes, Shapes::ShapeRef.new(shape: FeedbackReasonCodeList, location_name: "reasonCodes"))
316
+ PutComplianceInquiryFeedbackRequest.add_member(:comment, Shapes::ShapeRef.new(shape: FeedbackCommentAttribute, location_name: "comment"))
317
+ PutComplianceInquiryFeedbackRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotentClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
318
+ PutComplianceInquiryFeedbackRequest.struct_class = Types::PutComplianceInquiryFeedbackRequest
319
+
320
+ PutComplianceInquiryFeedbackResponse.add_member(:submitted_at, Shapes::ShapeRef.new(shape: TimestampAttribute, required: true, location_name: "submittedAt"))
321
+ PutComplianceInquiryFeedbackResponse.struct_class = Types::PutComplianceInquiryFeedbackResponse
322
+
302
323
  QueriesList.member = Shapes::ShapeRef.new(shape: QuerySummary)
303
324
 
304
325
  QueryIdentifiersList.member = Shapes::ShapeRef.new(shape: Integer)
@@ -648,6 +669,20 @@ module Aws::Artifact
648
669
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
649
670
  end)
650
671
 
672
+ api.add_operation(:put_compliance_inquiry_feedback, Seahorse::Model::Operation.new.tap do |o|
673
+ o.name = "PutComplianceInquiryFeedback"
674
+ o.http_method = "PUT"
675
+ o.http_request_uri = "/v1/compliance-inquiry/putFeedback"
676
+ o.input = Shapes::ShapeRef.new(shape: PutComplianceInquiryFeedbackRequest)
677
+ o.output = Shapes::ShapeRef.new(shape: PutComplianceInquiryFeedbackResponse)
678
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
679
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
680
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
681
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
682
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
683
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
684
+ end)
685
+
651
686
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
652
687
  o.name = "TagResource"
653
688
  o.http_method = "POST"
@@ -117,7 +117,7 @@ module Aws::Artifact
117
117
  :client_token,
118
118
  :support_mode,
119
119
  :tags)
120
- SENSITIVE = [:inquiry_content]
120
+ SENSITIVE = [:name, :inquiry_content]
121
121
  include Aws::Structure
122
122
  end
123
123
 
@@ -788,6 +788,69 @@ module Aws::Artifact
788
788
  include Aws::Structure
789
789
  end
790
790
 
791
+ # @!attribute [rw] compliance_inquiry_id
792
+ # The unique identifier for the compliance inquiry.
793
+ # @return [String]
794
+ #
795
+ # @!attribute [rw] query_identifier
796
+ # The sequential identifier of the query to provide feedback on.
797
+ # @return [Integer]
798
+ #
799
+ # @!attribute [rw] rating
800
+ # The rating for the feedback. Valid values are THUMBS\_UP and
801
+ # THUMBS\_DOWN.
802
+ # @return [String]
803
+ #
804
+ # @!attribute [rw] response_revision_id
805
+ # The response revision ID. Use this value to prevent submitting
806
+ # feedback on a stale response.
807
+ # @return [Integer]
808
+ #
809
+ # @!attribute [rw] reason_codes
810
+ # The reason codes that describe why you rated the response. Valid
811
+ # values are OTHER, PARTIAL\_RESPONSE, and IRRELEVANT\_RESPONSE.
812
+ # @return [Array<String>]
813
+ #
814
+ # @!attribute [rw] comment
815
+ # An optional comment for the feedback.
816
+ # @return [String]
817
+ #
818
+ # @!attribute [rw] client_token
819
+ # A unique, case-sensitive identifier to ensure that the operation
820
+ # completes no more than one time. If this token matches a previous
821
+ # request, the service ignores the request, but does not return an
822
+ # error.
823
+ #
824
+ # **A suitable default value is auto-generated.** You should normally
825
+ # not need to pass this option.
826
+ # @return [String]
827
+ #
828
+ # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/PutComplianceInquiryFeedbackRequest AWS API Documentation
829
+ #
830
+ class PutComplianceInquiryFeedbackRequest < Struct.new(
831
+ :compliance_inquiry_id,
832
+ :query_identifier,
833
+ :rating,
834
+ :response_revision_id,
835
+ :reason_codes,
836
+ :comment,
837
+ :client_token)
838
+ SENSITIVE = [:comment]
839
+ include Aws::Structure
840
+ end
841
+
842
+ # @!attribute [rw] submitted_at
843
+ # The timestamp when the feedback was submitted.
844
+ # @return [Time]
845
+ #
846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/PutComplianceInquiryFeedbackResponse AWS API Documentation
847
+ #
848
+ class PutComplianceInquiryFeedbackResponse < Struct.new(
849
+ :submitted_at)
850
+ SENSITIVE = []
851
+ include Aws::Structure
852
+ end
853
+
791
854
  # Summary information about a single query within a compliance inquiry.
792
855
  #
793
856
  # @!attribute [rw] query_identifier
@@ -55,7 +55,7 @@ module Aws::Artifact
55
55
  autoload :EndpointProvider, 'aws-sdk-artifact/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-artifact/endpoints'
57
57
 
58
- GEM_VERSION = '1.40.0'
58
+ GEM_VERSION = '1.41.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -249,6 +249,22 @@ module Aws
249
249
  ) -> _PutAccountSettingsResponseSuccess
250
250
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountSettingsResponseSuccess
251
251
 
252
+ interface _PutComplianceInquiryFeedbackResponseSuccess
253
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutComplianceInquiryFeedbackResponse]
254
+ def submitted_at: () -> ::Time
255
+ end
256
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Artifact/Client.html#put_compliance_inquiry_feedback-instance_method
257
+ def put_compliance_inquiry_feedback: (
258
+ compliance_inquiry_id: ::String,
259
+ ?query_identifier: ::Integer,
260
+ rating: ("THUMBS_UP" | "THUMBS_DOWN"),
261
+ ?response_revision_id: ::Integer,
262
+ ?reason_codes: Array[("OTHER" | "PARTIAL_RESPONSE" | "IRRELEVANT_RESPONSE")],
263
+ ?comment: ::String,
264
+ ?client_token: ::String
265
+ ) -> _PutComplianceInquiryFeedbackResponseSuccess
266
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutComplianceInquiryFeedbackResponseSuccess
267
+
252
268
  interface _TagResourceResponseSuccess
253
269
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
254
270
  end
data/sig/types.rbs CHANGED
@@ -38,7 +38,7 @@ module Aws::Artifact
38
38
  attr_accessor client_token: ::String
39
39
  attr_accessor support_mode: ("AI_ONLY" | "FULL_SUPPORT")
40
40
  attr_accessor tags: ::Hash[::String, ::String]
41
- SENSITIVE: [:inquiry_content]
41
+ SENSITIVE: [:name, :inquiry_content]
42
42
  end
43
43
 
44
44
  class CreateComplianceInquiryResponse
@@ -263,6 +263,22 @@ module Aws::Artifact
263
263
  SENSITIVE: []
264
264
  end
265
265
 
266
+ class PutComplianceInquiryFeedbackRequest
267
+ attr_accessor compliance_inquiry_id: ::String
268
+ attr_accessor query_identifier: ::Integer
269
+ attr_accessor rating: ("THUMBS_UP" | "THUMBS_DOWN")
270
+ attr_accessor response_revision_id: ::Integer
271
+ attr_accessor reason_codes: ::Array[("OTHER" | "PARTIAL_RESPONSE" | "IRRELEVANT_RESPONSE")]
272
+ attr_accessor comment: ::String
273
+ attr_accessor client_token: ::String
274
+ SENSITIVE: [:comment]
275
+ end
276
+
277
+ class PutComplianceInquiryFeedbackResponse
278
+ attr_accessor submitted_at: ::Time
279
+ SENSITIVE: []
280
+ end
281
+
266
282
  class QuerySummary
267
283
  attr_accessor query_identifier: ::Integer
268
284
  attr_accessor query: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-artifact
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.40.0
4
+ version: 1.41.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services