aws-sdk-artifact 1.38.0 → 1.39.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-artifact/client.rb +451 -1
- data/lib/aws-sdk-artifact/client_api.rb +292 -0
- data/lib/aws-sdk-artifact/types.rb +504 -0
- data/lib/aws-sdk-artifact.rb +2 -2
- data/sig/client.rbs +100 -0
- data/sig/types.rbs +162 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9bad6abb1273b1392b4bda55c97bbbc44bf006403fc9b05cb660e8339ad8bcc6
|
|
4
|
+
data.tar.gz: 3321d401dc0acfdfec226b399899d872d22ba8d5aaaa82c646dd6b5ea3b291f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c500735a447ae59f9ee577ce4b3227cfcf0cbc629557b67892f6c769160dbdd9206d553fbef757364d55d266b91b8a4f9bd12b4a4bdf40b0e5896a1522d37f90
|
|
7
|
+
data.tar.gz: 81fb5f8ac2f233ec859d504e43c355c23bfe9e6ded860d13669e55b05d0bf09f828544b320c55050387a53ea1ffa2df0b30e397aa771fb688271a5058bdc2c60
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.39.0
|
|
@@ -474,6 +474,157 @@ module Aws::Artifact
|
|
|
474
474
|
|
|
475
475
|
# @!group API Operations
|
|
476
476
|
|
|
477
|
+
# Create a new compliance inquiry.
|
|
478
|
+
#
|
|
479
|
+
# @option params [required, String] :name
|
|
480
|
+
# Title of the inquiry.
|
|
481
|
+
#
|
|
482
|
+
# @option params [required, Types::InquiryContent] :inquiry_content
|
|
483
|
+
# Content for creating a compliance inquiry - either a single query or
|
|
484
|
+
# file content.
|
|
485
|
+
#
|
|
486
|
+
# @option params [String] :client_token
|
|
487
|
+
# Idempotency token for the request.
|
|
488
|
+
#
|
|
489
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
490
|
+
# not need to pass this option.**
|
|
491
|
+
#
|
|
492
|
+
# @option params [String] :support_mode
|
|
493
|
+
# Support mode for inquiry processing. Only supported for file upload
|
|
494
|
+
# mode. Defaults to AI\_ONLY if not specified.
|
|
495
|
+
#
|
|
496
|
+
# @option params [Hash<String,String>] :tags
|
|
497
|
+
# Tags to associate with the compliance inquiry resource.
|
|
498
|
+
#
|
|
499
|
+
# @return [Types::CreateComplianceInquiryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
500
|
+
#
|
|
501
|
+
# * {Types::CreateComplianceInquiryResponse#compliance_inquiry_summary #compliance_inquiry_summary} => Types::InquirySummary
|
|
502
|
+
# * {Types::CreateComplianceInquiryResponse#tags #tags} => Hash<String,String>
|
|
503
|
+
#
|
|
504
|
+
#
|
|
505
|
+
# @example Example: Invoke CreateComplianceInquiry operation
|
|
506
|
+
#
|
|
507
|
+
# # Creates a compliance inquiry with a single text query.
|
|
508
|
+
#
|
|
509
|
+
# resp = client.create_compliance_inquiry({
|
|
510
|
+
# name: "My Compliance Inquiry",
|
|
511
|
+
# client_token: "unique-client-token-1234",
|
|
512
|
+
# inquiry_content: {
|
|
513
|
+
# query: "Is my workload compliant with SOC 2?",
|
|
514
|
+
# },
|
|
515
|
+
# support_mode: "AI_ONLY",
|
|
516
|
+
# })
|
|
517
|
+
#
|
|
518
|
+
# resp.to_h outputs the following:
|
|
519
|
+
# {
|
|
520
|
+
# compliance_inquiry_summary: {
|
|
521
|
+
# name: "My Compliance Inquiry",
|
|
522
|
+
# arn: "arn:aws:artifact:us-east-1:123456789012:compliance-inquiry/compliance-inquiry-abcdef0123456789",
|
|
523
|
+
# created_at: Time.parse("2026-03-24T12:00:00Z"),
|
|
524
|
+
# id: "compliance-inquiry-abcdef0123456789",
|
|
525
|
+
# input_source: "TEXT",
|
|
526
|
+
# status: "PROCESSING",
|
|
527
|
+
# status_message: "Compliance inquiry processing is in-progress.",
|
|
528
|
+
# },
|
|
529
|
+
# }
|
|
530
|
+
#
|
|
531
|
+
# @example Request syntax with placeholder values
|
|
532
|
+
#
|
|
533
|
+
# resp = client.create_compliance_inquiry({
|
|
534
|
+
# name: "String", # required
|
|
535
|
+
# inquiry_content: { # required
|
|
536
|
+
# query: "LongStringAttribute",
|
|
537
|
+
# file_content: {
|
|
538
|
+
# file_sections: ["ShortStringAttribute"],
|
|
539
|
+
# content: "data", # required
|
|
540
|
+
# },
|
|
541
|
+
# },
|
|
542
|
+
# client_token: "IdempotentClientToken",
|
|
543
|
+
# support_mode: "AI_ONLY", # accepts AI_ONLY, FULL_SUPPORT
|
|
544
|
+
# tags: {
|
|
545
|
+
# "TagKey" => "TagValue",
|
|
546
|
+
# },
|
|
547
|
+
# })
|
|
548
|
+
#
|
|
549
|
+
# @example Response structure
|
|
550
|
+
#
|
|
551
|
+
# resp.compliance_inquiry_summary.arn #=> String
|
|
552
|
+
# resp.compliance_inquiry_summary.name #=> String
|
|
553
|
+
# resp.compliance_inquiry_summary.id #=> String
|
|
554
|
+
# resp.compliance_inquiry_summary.status #=> String, one of "PROCESSING", "HUMAN_REVIEW", "COMPLETED", "FAILED"
|
|
555
|
+
# resp.compliance_inquiry_summary.status_message #=> String, one of "Compliance inquiry processing is complete.", "Malware was detected on the file. Provide a new file and try again.", "Compliance inquiry processing is in-progress.", "An internal error occurred while processing the inquiry. Try again at a later time.", "Human review is in progress.", "Compliance inquiry processing is complete. One or more queries encountered errors during processing."
|
|
556
|
+
# resp.compliance_inquiry_summary.input_source #=> String, one of "TEXT", "FILE"
|
|
557
|
+
# resp.compliance_inquiry_summary.created_at #=> Time
|
|
558
|
+
# resp.tags #=> Hash
|
|
559
|
+
# resp.tags["TagKey"] #=> String
|
|
560
|
+
#
|
|
561
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/CreateComplianceInquiry AWS API Documentation
|
|
562
|
+
#
|
|
563
|
+
# @overload create_compliance_inquiry(params = {})
|
|
564
|
+
# @param [Hash] params ({})
|
|
565
|
+
def create_compliance_inquiry(params = {}, options = {})
|
|
566
|
+
req = build_request(:create_compliance_inquiry, params)
|
|
567
|
+
req.send_request(options)
|
|
568
|
+
end
|
|
569
|
+
|
|
570
|
+
# Export a compliance inquiry report.
|
|
571
|
+
#
|
|
572
|
+
# @option params [required, String] :compliance_inquiry_id
|
|
573
|
+
# Unique resource ID for the compliance inquiry.
|
|
574
|
+
#
|
|
575
|
+
# @option params [Array<Integer>] :query_identifiers
|
|
576
|
+
# List of query identifiers to include in the export.
|
|
577
|
+
#
|
|
578
|
+
# @option params [Boolean] :include_citations
|
|
579
|
+
# When true, include citations in the exported document.
|
|
580
|
+
#
|
|
581
|
+
# @return [Types::ExportComplianceInquiryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
582
|
+
#
|
|
583
|
+
# * {Types::ExportComplianceInquiryResponse#document_presigned_url #document_presigned_url} => String
|
|
584
|
+
# * {Types::ExportComplianceInquiryResponse#tags #tags} => Hash<String,String>
|
|
585
|
+
#
|
|
586
|
+
#
|
|
587
|
+
# @example Example: Invoke ExportComplianceInquiry operation
|
|
588
|
+
#
|
|
589
|
+
# # Exports a compliance inquiry report.
|
|
590
|
+
#
|
|
591
|
+
# resp = client.export_compliance_inquiry({
|
|
592
|
+
# compliance_inquiry_id: "compliance-inquiry-abcdef0123456789",
|
|
593
|
+
# include_citations: true,
|
|
594
|
+
# query_identifiers: [
|
|
595
|
+
# 1,
|
|
596
|
+
# 2,
|
|
597
|
+
# ],
|
|
598
|
+
# })
|
|
599
|
+
#
|
|
600
|
+
# resp.to_h outputs the following:
|
|
601
|
+
# {
|
|
602
|
+
# document_presigned_url: "https://s3.us-east-1.amazonaws.com/artifact-bucket/export.pdf?X-Amz-Signature=example",
|
|
603
|
+
# }
|
|
604
|
+
#
|
|
605
|
+
# @example Request syntax with placeholder values
|
|
606
|
+
#
|
|
607
|
+
# resp = client.export_compliance_inquiry({
|
|
608
|
+
# compliance_inquiry_id: "InquiryId", # required
|
|
609
|
+
# query_identifiers: [1],
|
|
610
|
+
# include_citations: false,
|
|
611
|
+
# })
|
|
612
|
+
#
|
|
613
|
+
# @example Response structure
|
|
614
|
+
#
|
|
615
|
+
# resp.document_presigned_url #=> String
|
|
616
|
+
# resp.tags #=> Hash
|
|
617
|
+
# resp.tags["TagKey"] #=> String
|
|
618
|
+
#
|
|
619
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ExportComplianceInquiry AWS API Documentation
|
|
620
|
+
#
|
|
621
|
+
# @overload export_compliance_inquiry(params = {})
|
|
622
|
+
# @param [Hash] params ({})
|
|
623
|
+
def export_compliance_inquiry(params = {}, options = {})
|
|
624
|
+
req = build_request(:export_compliance_inquiry, params)
|
|
625
|
+
req.send_request(options)
|
|
626
|
+
end
|
|
627
|
+
|
|
477
628
|
# Get the account settings for Artifact.
|
|
478
629
|
#
|
|
479
630
|
# @return [Types::GetAccountSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
@@ -508,6 +659,69 @@ module Aws::Artifact
|
|
|
508
659
|
req.send_request(options)
|
|
509
660
|
end
|
|
510
661
|
|
|
662
|
+
# Get the metadata for a single compliance inquiry.
|
|
663
|
+
#
|
|
664
|
+
# @option params [required, String] :compliance_inquiry_id
|
|
665
|
+
# Unique resource ID for the compliance inquiry.
|
|
666
|
+
#
|
|
667
|
+
# @return [Types::GetComplianceInquiryMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
668
|
+
#
|
|
669
|
+
# * {Types::GetComplianceInquiryMetadataResponse#compliance_inquiry_detail #compliance_inquiry_detail} => Types::InquiryDetail
|
|
670
|
+
# * {Types::GetComplianceInquiryMetadataResponse#tags #tags} => Hash<String,String>
|
|
671
|
+
#
|
|
672
|
+
#
|
|
673
|
+
# @example Example: Invoke GetComplianceInquiryMetadata operation
|
|
674
|
+
#
|
|
675
|
+
# # Gets metadata for a compliance inquiry.
|
|
676
|
+
#
|
|
677
|
+
# resp = client.get_compliance_inquiry_metadata({
|
|
678
|
+
# compliance_inquiry_id: "compliance-inquiry-abcdef0123456789",
|
|
679
|
+
# })
|
|
680
|
+
#
|
|
681
|
+
# resp.to_h outputs the following:
|
|
682
|
+
# {
|
|
683
|
+
# compliance_inquiry_detail: {
|
|
684
|
+
# name: "My Compliance Inquiry",
|
|
685
|
+
# arn: "arn:aws:artifact:us-east-1:123456789012:compliance-inquiry/compliance-inquiry-abcdef0123456789",
|
|
686
|
+
# created_at: Time.parse("2026-03-24T12:00:00Z"),
|
|
687
|
+
# id: "compliance-inquiry-abcdef0123456789",
|
|
688
|
+
# input_source: "TEXT",
|
|
689
|
+
# status: "COMPLETED",
|
|
690
|
+
# status_message: "Compliance inquiry processing is complete.",
|
|
691
|
+
# support_mode: "AI_ONLY",
|
|
692
|
+
# updated_at: Time.parse("2026-03-24T12:05:00Z"),
|
|
693
|
+
# },
|
|
694
|
+
# }
|
|
695
|
+
#
|
|
696
|
+
# @example Request syntax with placeholder values
|
|
697
|
+
#
|
|
698
|
+
# resp = client.get_compliance_inquiry_metadata({
|
|
699
|
+
# compliance_inquiry_id: "InquiryId", # required
|
|
700
|
+
# })
|
|
701
|
+
#
|
|
702
|
+
# @example Response structure
|
|
703
|
+
#
|
|
704
|
+
# resp.compliance_inquiry_detail.arn #=> String
|
|
705
|
+
# resp.compliance_inquiry_detail.name #=> String
|
|
706
|
+
# resp.compliance_inquiry_detail.id #=> String
|
|
707
|
+
# resp.compliance_inquiry_detail.status #=> String, one of "PROCESSING", "HUMAN_REVIEW", "COMPLETED", "FAILED"
|
|
708
|
+
# resp.compliance_inquiry_detail.status_message #=> String, one of "Compliance inquiry processing is complete.", "Malware was detected on the file. Provide a new file and try again.", "Compliance inquiry processing is in-progress.", "An internal error occurred while processing the inquiry. Try again at a later time.", "Human review is in progress.", "Compliance inquiry processing is complete. One or more queries encountered errors during processing."
|
|
709
|
+
# resp.compliance_inquiry_detail.input_source #=> String, one of "TEXT", "FILE"
|
|
710
|
+
# resp.compliance_inquiry_detail.created_at #=> Time
|
|
711
|
+
# resp.compliance_inquiry_detail.updated_at #=> Time
|
|
712
|
+
# resp.compliance_inquiry_detail.support_mode #=> String, one of "AI_ONLY", "FULL_SUPPORT"
|
|
713
|
+
# resp.tags #=> Hash
|
|
714
|
+
# resp.tags["TagKey"] #=> String
|
|
715
|
+
#
|
|
716
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetComplianceInquiryMetadata AWS API Documentation
|
|
717
|
+
#
|
|
718
|
+
# @overload get_compliance_inquiry_metadata(params = {})
|
|
719
|
+
# @param [Hash] params ({})
|
|
720
|
+
def get_compliance_inquiry_metadata(params = {}, options = {})
|
|
721
|
+
req = build_request(:get_compliance_inquiry_metadata, params)
|
|
722
|
+
req.send_request(options)
|
|
723
|
+
end
|
|
724
|
+
|
|
511
725
|
# Get the content for a single report.
|
|
512
726
|
#
|
|
513
727
|
# @option params [required, String] :report_id
|
|
@@ -693,6 +907,159 @@ module Aws::Artifact
|
|
|
693
907
|
req.send_request(options)
|
|
694
908
|
end
|
|
695
909
|
|
|
910
|
+
# List available compliance inquiries.
|
|
911
|
+
#
|
|
912
|
+
# @option params [Integer] :max_results
|
|
913
|
+
# Maximum number of resources to return in the paginated response.
|
|
914
|
+
#
|
|
915
|
+
# @option params [String] :next_token
|
|
916
|
+
# Pagination token to request the next page of resources.
|
|
917
|
+
#
|
|
918
|
+
# @return [Types::ListComplianceInquiriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
919
|
+
#
|
|
920
|
+
# * {Types::ListComplianceInquiriesResponse#compliance_inquiries #compliance_inquiries} => Array<Types::InquirySummary>
|
|
921
|
+
# * {Types::ListComplianceInquiriesResponse#next_token #next_token} => String
|
|
922
|
+
#
|
|
923
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
924
|
+
#
|
|
925
|
+
#
|
|
926
|
+
# @example Example: Invoke ListComplianceInquiries operation
|
|
927
|
+
#
|
|
928
|
+
# # Lists all compliance inquiries.
|
|
929
|
+
#
|
|
930
|
+
# resp = client.list_compliance_inquiries({
|
|
931
|
+
# max_results: 10,
|
|
932
|
+
# })
|
|
933
|
+
#
|
|
934
|
+
# resp.to_h outputs the following:
|
|
935
|
+
# {
|
|
936
|
+
# compliance_inquiries: [
|
|
937
|
+
# {
|
|
938
|
+
# name: "My Compliance Inquiry",
|
|
939
|
+
# arn: "arn:aws:artifact:us-east-1:123456789012:compliance-inquiry/compliance-inquiry-abcdef0123456789",
|
|
940
|
+
# created_at: Time.parse("2026-03-24T12:00:00Z"),
|
|
941
|
+
# id: "compliance-inquiry-abcdef0123456789",
|
|
942
|
+
# input_source: "TEXT",
|
|
943
|
+
# status: "COMPLETED",
|
|
944
|
+
# status_message: "Compliance inquiry processing is complete.",
|
|
945
|
+
# },
|
|
946
|
+
# ],
|
|
947
|
+
# }
|
|
948
|
+
#
|
|
949
|
+
# @example Request syntax with placeholder values
|
|
950
|
+
#
|
|
951
|
+
# resp = client.list_compliance_inquiries({
|
|
952
|
+
# max_results: 1,
|
|
953
|
+
# next_token: "NextTokenAttribute",
|
|
954
|
+
# })
|
|
955
|
+
#
|
|
956
|
+
# @example Response structure
|
|
957
|
+
#
|
|
958
|
+
# resp.compliance_inquiries #=> Array
|
|
959
|
+
# resp.compliance_inquiries[0].arn #=> String
|
|
960
|
+
# resp.compliance_inquiries[0].name #=> String
|
|
961
|
+
# resp.compliance_inquiries[0].id #=> String
|
|
962
|
+
# resp.compliance_inquiries[0].status #=> String, one of "PROCESSING", "HUMAN_REVIEW", "COMPLETED", "FAILED"
|
|
963
|
+
# resp.compliance_inquiries[0].status_message #=> String, one of "Compliance inquiry processing is complete.", "Malware was detected on the file. Provide a new file and try again.", "Compliance inquiry processing is in-progress.", "An internal error occurred while processing the inquiry. Try again at a later time.", "Human review is in progress.", "Compliance inquiry processing is complete. One or more queries encountered errors during processing."
|
|
964
|
+
# resp.compliance_inquiries[0].input_source #=> String, one of "TEXT", "FILE"
|
|
965
|
+
# resp.compliance_inquiries[0].created_at #=> Time
|
|
966
|
+
# resp.next_token #=> String
|
|
967
|
+
#
|
|
968
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ListComplianceInquiries AWS API Documentation
|
|
969
|
+
#
|
|
970
|
+
# @overload list_compliance_inquiries(params = {})
|
|
971
|
+
# @param [Hash] params ({})
|
|
972
|
+
def list_compliance_inquiries(params = {}, options = {})
|
|
973
|
+
req = build_request(:list_compliance_inquiries, params)
|
|
974
|
+
req.send_request(options)
|
|
975
|
+
end
|
|
976
|
+
|
|
977
|
+
# List queries within a compliance inquiry.
|
|
978
|
+
#
|
|
979
|
+
# @option params [required, String] :compliance_inquiry_id
|
|
980
|
+
# Unique resource ID for the compliance inquiry.
|
|
981
|
+
#
|
|
982
|
+
# @option params [Integer] :max_results
|
|
983
|
+
# Maximum number of resources to return in the paginated response.
|
|
984
|
+
#
|
|
985
|
+
# @option params [String] :next_token
|
|
986
|
+
# Pagination token to request the next page of resources.
|
|
987
|
+
#
|
|
988
|
+
# @return [Types::ListComplianceInquiryQueriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
989
|
+
#
|
|
990
|
+
# * {Types::ListComplianceInquiryQueriesResponse#queries #queries} => Array<Types::QuerySummary>
|
|
991
|
+
# * {Types::ListComplianceInquiryQueriesResponse#next_token #next_token} => String
|
|
992
|
+
#
|
|
993
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
994
|
+
#
|
|
995
|
+
#
|
|
996
|
+
# @example Example: Invoke ListComplianceInquiryQueries operation
|
|
997
|
+
#
|
|
998
|
+
# # Lists queries within a compliance inquiry.
|
|
999
|
+
#
|
|
1000
|
+
# resp = client.list_compliance_inquiry_queries({
|
|
1001
|
+
# compliance_inquiry_id: "compliance-inquiry-abcdef0123456789",
|
|
1002
|
+
# max_results: 10,
|
|
1003
|
+
# })
|
|
1004
|
+
#
|
|
1005
|
+
# resp.to_h outputs the following:
|
|
1006
|
+
# {
|
|
1007
|
+
# queries: [
|
|
1008
|
+
# {
|
|
1009
|
+
# citations: [
|
|
1010
|
+
# {
|
|
1011
|
+
# source_content: "Relevant compliance content...",
|
|
1012
|
+
# source_label: "SOC 2 Type II Report",
|
|
1013
|
+
# source_link: "https://example.com/soc2",
|
|
1014
|
+
# },
|
|
1015
|
+
# ],
|
|
1016
|
+
# created_at: Time.parse("2026-03-24T12:00:00Z"),
|
|
1017
|
+
# query: "Is my workload compliant with SOC 2?",
|
|
1018
|
+
# query_identifier: 1,
|
|
1019
|
+
# response: "Based on the available compliance documentation...",
|
|
1020
|
+
# review_type: "AI",
|
|
1021
|
+
# status: "COMPLETED",
|
|
1022
|
+
# status_message: "Query processing is complete.",
|
|
1023
|
+
# },
|
|
1024
|
+
# ],
|
|
1025
|
+
# }
|
|
1026
|
+
#
|
|
1027
|
+
# @example Request syntax with placeholder values
|
|
1028
|
+
#
|
|
1029
|
+
# resp = client.list_compliance_inquiry_queries({
|
|
1030
|
+
# compliance_inquiry_id: "InquiryId", # required
|
|
1031
|
+
# max_results: 1,
|
|
1032
|
+
# next_token: "NextTokenAttribute",
|
|
1033
|
+
# })
|
|
1034
|
+
#
|
|
1035
|
+
# @example Response structure
|
|
1036
|
+
#
|
|
1037
|
+
# resp.queries #=> Array
|
|
1038
|
+
# resp.queries[0].query_identifier #=> Integer
|
|
1039
|
+
# resp.queries[0].query #=> String
|
|
1040
|
+
# resp.queries[0].response #=> String
|
|
1041
|
+
# resp.queries[0].review_type #=> String, one of "HUMAN", "AI"
|
|
1042
|
+
# resp.queries[0].citations #=> Array
|
|
1043
|
+
# resp.queries[0].citations[0].source_label #=> String
|
|
1044
|
+
# resp.queries[0].citations[0].source_content #=> String
|
|
1045
|
+
# resp.queries[0].citations[0].source_link #=> String
|
|
1046
|
+
# resp.queries[0].status #=> String, one of "PROCESSING", "COMPLETED", "FAILED"
|
|
1047
|
+
# resp.queries[0].status_message #=> String, one of "Query processing is complete.", "Query processing is in-progress.", "An internal error occurred while processing the query. Try again at a later time.", "Query is pending human review.", "Query contains restricted or unsupported content."
|
|
1048
|
+
# resp.queries[0].created_at #=> Time
|
|
1049
|
+
# resp.queries[0].updated_response_versions #=> Array
|
|
1050
|
+
# resp.queries[0].updated_response_versions[0].response_text #=> String
|
|
1051
|
+
# resp.queries[0].updated_response_versions[0].timestamp #=> Time
|
|
1052
|
+
# resp.next_token #=> String
|
|
1053
|
+
#
|
|
1054
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ListComplianceInquiryQueries AWS API Documentation
|
|
1055
|
+
#
|
|
1056
|
+
# @overload list_compliance_inquiry_queries(params = {})
|
|
1057
|
+
# @param [Hash] params ({})
|
|
1058
|
+
def list_compliance_inquiry_queries(params = {}, options = {})
|
|
1059
|
+
req = build_request(:list_compliance_inquiry_queries, params)
|
|
1060
|
+
req.send_request(options)
|
|
1061
|
+
end
|
|
1062
|
+
|
|
696
1063
|
# List active customer-agreements applicable to calling identity.
|
|
697
1064
|
#
|
|
698
1065
|
# @option params [Integer] :max_results
|
|
@@ -943,6 +1310,35 @@ module Aws::Artifact
|
|
|
943
1310
|
req.send_request(options)
|
|
944
1311
|
end
|
|
945
1312
|
|
|
1313
|
+
# List tags for a resource.
|
|
1314
|
+
#
|
|
1315
|
+
# @option params [required, String] :resource_arn
|
|
1316
|
+
# The Amazon Resource Name (ARN) of the resource.
|
|
1317
|
+
#
|
|
1318
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1319
|
+
#
|
|
1320
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
|
1321
|
+
#
|
|
1322
|
+
# @example Request syntax with placeholder values
|
|
1323
|
+
#
|
|
1324
|
+
# resp = client.list_tags_for_resource({
|
|
1325
|
+
# resource_arn: "LongStringAttribute", # required
|
|
1326
|
+
# })
|
|
1327
|
+
#
|
|
1328
|
+
# @example Response structure
|
|
1329
|
+
#
|
|
1330
|
+
# resp.tags #=> Hash
|
|
1331
|
+
# resp.tags["TagKey"] #=> String
|
|
1332
|
+
#
|
|
1333
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ListTagsForResource AWS API Documentation
|
|
1334
|
+
#
|
|
1335
|
+
# @overload list_tags_for_resource(params = {})
|
|
1336
|
+
# @param [Hash] params ({})
|
|
1337
|
+
def list_tags_for_resource(params = {}, options = {})
|
|
1338
|
+
req = build_request(:list_tags_for_resource, params)
|
|
1339
|
+
req.send_request(options)
|
|
1340
|
+
end
|
|
1341
|
+
|
|
946
1342
|
# Put the account settings for Artifact.
|
|
947
1343
|
#
|
|
948
1344
|
# @option params [String] :notification_subscription_status
|
|
@@ -987,6 +1383,60 @@ module Aws::Artifact
|
|
|
987
1383
|
req.send_request(options)
|
|
988
1384
|
end
|
|
989
1385
|
|
|
1386
|
+
# Add tags to a resource.
|
|
1387
|
+
#
|
|
1388
|
+
# @option params [required, String] :resource_arn
|
|
1389
|
+
# The Amazon Resource Name (ARN) of the resource.
|
|
1390
|
+
#
|
|
1391
|
+
# @option params [required, Hash<String,String>] :tags
|
|
1392
|
+
# Tags to add to the resource.
|
|
1393
|
+
#
|
|
1394
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1395
|
+
#
|
|
1396
|
+
# @example Request syntax with placeholder values
|
|
1397
|
+
#
|
|
1398
|
+
# resp = client.tag_resource({
|
|
1399
|
+
# resource_arn: "LongStringAttribute", # required
|
|
1400
|
+
# tags: { # required
|
|
1401
|
+
# "TagKey" => "TagValue",
|
|
1402
|
+
# },
|
|
1403
|
+
# })
|
|
1404
|
+
#
|
|
1405
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/TagResource AWS API Documentation
|
|
1406
|
+
#
|
|
1407
|
+
# @overload tag_resource(params = {})
|
|
1408
|
+
# @param [Hash] params ({})
|
|
1409
|
+
def tag_resource(params = {}, options = {})
|
|
1410
|
+
req = build_request(:tag_resource, params)
|
|
1411
|
+
req.send_request(options)
|
|
1412
|
+
end
|
|
1413
|
+
|
|
1414
|
+
# Remove tags from a resource.
|
|
1415
|
+
#
|
|
1416
|
+
# @option params [required, String] :resource_arn
|
|
1417
|
+
# The Amazon Resource Name (ARN) of the resource.
|
|
1418
|
+
#
|
|
1419
|
+
# @option params [required, Array<String>] :tag_keys
|
|
1420
|
+
# Tag keys to remove from the resource.
|
|
1421
|
+
#
|
|
1422
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1423
|
+
#
|
|
1424
|
+
# @example Request syntax with placeholder values
|
|
1425
|
+
#
|
|
1426
|
+
# resp = client.untag_resource({
|
|
1427
|
+
# resource_arn: "LongStringAttribute", # required
|
|
1428
|
+
# tag_keys: ["TagKey"], # required
|
|
1429
|
+
# })
|
|
1430
|
+
#
|
|
1431
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/UntagResource AWS API Documentation
|
|
1432
|
+
#
|
|
1433
|
+
# @overload untag_resource(params = {})
|
|
1434
|
+
# @param [Hash] params ({})
|
|
1435
|
+
def untag_resource(params = {}, options = {})
|
|
1436
|
+
req = build_request(:untag_resource, params)
|
|
1437
|
+
req.send_request(options)
|
|
1438
|
+
end
|
|
1439
|
+
|
|
990
1440
|
# @!endgroup
|
|
991
1441
|
|
|
992
1442
|
# @param params ({})
|
|
@@ -1005,7 +1455,7 @@ module Aws::Artifact
|
|
|
1005
1455
|
tracer: tracer
|
|
1006
1456
|
)
|
|
1007
1457
|
context[:gem_name] = 'aws-sdk-artifact'
|
|
1008
|
-
context[:gem_version] = '1.
|
|
1458
|
+
context[:gem_version] = '1.39.0'
|
|
1009
1459
|
Seahorse::Client::Request.new(handlers, context)
|
|
1010
1460
|
end
|
|
1011
1461
|
|